summaryrefslogtreecommitdiffstats
path: root/web/gui/v2/6152.d7e1e2bfdb9cb0ae978f.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
commitbe1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /web/gui/v2/6152.d7e1e2bfdb9cb0ae978f.js
parentInitial commit. (diff)
downloadnetdata-upstream.tar.xz
netdata-upstream.zip
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/gui/v2/6152.d7e1e2bfdb9cb0ae978f.js')
-rw-r--r--web/gui/v2/6152.d7e1e2bfdb9cb0ae978f.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/gui/v2/6152.d7e1e2bfdb9cb0ae978f.js b/web/gui/v2/6152.d7e1e2bfdb9cb0ae978f.js
new file mode 100644
index 00000000..c3b8b926
--- /dev/null
+++ b/web/gui/v2/6152.d7e1e2bfdb9cb0ae978f.js
@@ -0,0 +1 @@
+!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="aa9dacff-c995-4bad-a1d3-779ebd1bf655",t._sentryDebugIdIdentifier="sentry-dbid-aa9dacff-c995-4bad-a1d3-779ebd1bf655")}catch(t){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"8b7b01b6c705cf50f8050ce0fb8fc6b58fe68567"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6152],{71012:function(t){!function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(t,n){return t<<n|t>>>32-n},rotr:function(t,n){return t<<32-n|t>>>n},endian:function(t){if(t.constructor==Number)return 16711935&e.rotl(t,8)|4278255360&e.rotl(t,24);for(var n=0;n<t.length;n++)t[n]=e.endian(t[n]);return t},randomBytes:function(t){for(var n=[];t>0;t--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(t){for(var n=[],e=0,r=0;e<t.length;e++,r+=8)n[r>>>5]|=t[e]<<24-r%32;return n},wordsToBytes:function(t){for(var n=[],e=0;e<32*t.length;e+=8)n.push(t[e>>>5]>>>24-e%32&255);return n},bytesToHex:function(t){for(var n=[],e=0;e<t.length;e++)n.push((t[e]>>>4).toString(16)),n.push((15&t[e]).toString(16));return n.join("")},hexToBytes:function(t){for(var n=[],e=0;e<t.length;e+=2)n.push(parseInt(t.substr(e,2),16));return n},bytesToBase64:function(t){for(var e=[],r=0;r<t.length;r+=3)for(var i=t[r]<<16|t[r+1]<<8|t[r+2],o=0;o<4;o++)8*r+6*o<=8*t.length?e.push(n.charAt(i>>>6*(3-o)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&e.push((n.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|n.indexOf(t.charAt(r))>>>6-2*i);return e}};t.exports=e}()},4447:function(t,n,e){"use strict";e.d(n,{B8:function(){return T},Il:function(){return i},J5:function(){return u},SU:function(){return M},Ss:function(){return A},Ym:function(){return D},ZP:function(){return m},xV:function(){return o}});var r=e(49531);function i(){}var o=.7,u=1/o,a="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",f="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,s=new RegExp(`^rgb\\(${a},${a},${a}\\)$`),h=new RegExp(`^rgb\\(${f},${f},${f}\\)$`),d=new RegExp(`^rgba\\(${a},${a},${a},${c}\\)$`),p=new RegExp(`^rgba\\(${f},${f},${f},${c}\\)$`),g=new RegExp(`^hsl\\(${c},${f},${f}\\)$`),y=new RegExp(`^hsla\\(${c},${f},${f},${c}\\)$`),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function _(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function m(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=l.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?x(n):3===e?new A(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?w(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?w(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=s.exec(t))?new A(n[1],n[2],n[3],1):(n=h.exec(t))?new A(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=d.exec(t))?w(n[1],n[2],n[3],n[4]):(n=p.exec(t))?w(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=g.exec(t))?P(n[1],n[2]/100,n[3]/100,1):(n=y.exec(t))?P(n[1],n[2]/100,n[3]/100,n[4]):v.hasOwnProperty(t)?x(v[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function x(t){return new A(t>>16&255,t>>8&255,255&t,1)}function w(t,n,e,r){return r<=0&&(t=n=e=NaN),new A(t,n,e,r)}function M(t){return t instanceof i||(t=m(t)),t?new A((t=t.rgb()).r,t.g,t.b,t.opacity):new A}function T(t,n,e,r){return 1===arguments.length?M(t):new A(t,n,e,null==r?1:r)}function A(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function S(){return`#${C(this.r)}${C(this.g)}${C(this.b)}`}function N(){const t=E(this.opacity);return`${1===t?"rgb(":"rgba("}${k(this.r)}, ${k(this.g)}, ${k(this.b)}${1===t?")":`, ${t})`}`}function E(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function k(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function C(t){return((t=k(t))<16?"0":"")+t.toString(16)}function P(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new z(t,n,e,r)}function Z(t){if(t instanceof z)return new z(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=m(t)),!t)return new z;if(t instanceof z)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),u=Math.max(n,e,r),a=NaN,c=u-o,f=(u+o)/2;return c?(a=n===u?(e-r)/c+6*(e<r):e===u?(r-n)/c+2:(n-e)/c+4,c/=f<.5?u+o:2-u-o,a*=60):c=f>0&&f<1?0:a,new z(a,c,f,t.opacity)}function D(t,n,e,r){return 1===arguments.length?Z(t):new z(t,n,e,null==r?1:r)}function z(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function U(t){return(t=(t||0)%360)<0?t+360:t}function $(t){return Math.max(0,Math.min(1,t||0))}function q(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}(0,r.Z)(i,m,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:_,formatHex:_,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Z(this).formatHsl()},formatRgb:b,toString:b}),(0,r.Z)(A,T,(0,r.l)(i,{brighter(t){return t=null==t?u:Math.pow(u,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new A(k(this.r),k(this.g),k(this.b),E(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:S,formatHex:S,formatHex8:function(){return`#${C(this.r)}${C(this.g)}${C(this.b)}${C(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:N,toString:N})),(0,r.Z)(z,D,(0,r.l)(i,{brighter(t){return t=null==t?u:Math.pow(u,t),new z(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new z(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new A(q(t>=240?t-240:t+120,i,r),q(t,i,r),q(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new z(U(this.h),$(this.s),$(this.l),E(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(){const t=E(this.opacity);return`${1===t?"hsl(":"hsla("}${U(this.h)}, ${100*$(this.s)}%, ${100*$(this.l)}%${1===t?")":`, ${t})`}`}}))},49531:function(t,n,e){"use strict";function r(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function i(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}e.d(n,{Z:function(){return r},l:function(){return i}})},65386:function(t,n,e){"use strict";e.d(n,{WU:function(){return i},ZP:function(){return a},jH:function(){return o}});var r,i,o,u=e(80028);function a(t){return r=(0,u.Z)(t),i=r.format,o=r.formatPrefix,r}a({thousands:",",grouping:[3],currency:["$",""]})},65368:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(78613);function i(t){return(t=(0,r.V)(Math.abs(t)))?t[1]:NaN}},78613:function(t,n,e){"use strict";function r(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function i(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}e.d(n,{V:function(){return i},Z:function(){return r}})},42035:function(t,n,e){"use strict";e.d(n,{Z:function(){return i},v:function(){return o}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(n=r.exec(t)))throw new Error("invalid format: "+t);var n;return new o({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function o(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=o.prototype,o.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}},80028:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(65368);var i=e(42035);var o,u=e(78613);function a(t,n){var e=(0,u.V)(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var c={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:u.Z,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>a(100*t,n),r:a,s:function(t,n){var e=(0,u.V)(t,n);if(!e)return t+"";var r=e[0],i=e[1],a=i-(o=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=r.length;return a===c?r:a>c?r+new Array(a-c+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+(0,u.V)(t,Math.max(0,n+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function f(t){return t}var l=Array.prototype.map,s=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function h(t){var n,e,u=void 0===t.grouping||void 0===t.thousands?f:(n=l.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}),a=void 0===t.currency?"":t.currency[0]+"",h=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?f:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(l.call(t.numerals,String)),g=void 0===t.percent?"%":t.percent+"",y=void 0===t.minus?"\u2212":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function _(t){var n=(t=(0,i.Z)(t)).fill,e=t.align,r=t.sign,f=t.symbol,l=t.zero,_=t.width,b=t.comma,m=t.precision,x=t.trim,w=t.type;"n"===w?(b=!0,w="g"):c[w]||(void 0===m&&(m=12),x=!0,w="g"),(l||"0"===n&&"="===e)&&(l=!0,n="0",e="=");var M="$"===f?a:"#"===f&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",T="$"===f?h:/[%p]/.test(w)?g:"",A=c[w],S=/[defgprs%]/.test(w);function N(t){var i,a,c,f=M,h=T;if("c"===w)h=A(t)+h,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:A(Math.abs(t),m),x&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),g&&0===+t&&"+"!==r&&(g=!1),f=(g?"("===r?r:y:"-"===r||"("===r?"":r)+f,h=("s"===w?s[8+o/3]:"")+h+(g&&"("===r?")":""),S)for(i=-1,a=t.length;++i<a;)if(48>(c=t.charCodeAt(i))||c>57){h=(46===c?d+t.slice(i+1):t.slice(i))+h,t=t.slice(0,i);break}}b&&!l&&(t=u(t,1/0));var N=f.length+t.length+h.length,E=N<_?new Array(_-N+1).join(n):"";switch(b&&l&&(t=u(E+t,E.length?_-h.length:1/0),E=""),e){case"<":t=f+t+h+E;break;case"=":t=f+E+t+h;break;case"^":t=E.slice(0,N=E.length>>1)+f+t+h+E.slice(N);break;default:t=E+f+t+h}return p(t)}return m=void 0===m?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),N.toString=function(){return t+""},N}return{format:_,formatPrefix:function(t,n){var e=_(((t=(0,i.Z)(t)).type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(n)/3))),u=Math.pow(10,-o),a=s[8+o/3];return function(t){return e(u*t)+a}}}}},96909:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(65368);function i(t){return Math.max(0,-(0,r.Z)(Math.abs(t)))}},87017:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(65368);function i(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(n)/3)))-(0,r.Z)(Math.abs(t)))}},63482:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(65368);function i(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,(0,r.Z)(n)-(0,r.Z)(t))+1}},51606:function(t,n,e){"use strict";e.d(n,{M:function(){return u},Z:function(){return o}});var r=e(45326),i=e(45401);function o(t,n){return((0,i.v)(n)?i.Z:u)(t,n)}function u(t,n){var e,i=n?n.length:0,o=t?Math.min(i,t.length):0,u=new Array(o),a=new Array(i);for(e=0;e<o;++e)u[e]=(0,r.Z)(t[e],n[e]);for(;e<i;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=u[e](t);return a}}},27265:function(t,n,e){"use strict";function r(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}function i(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],u=t[i+1],a=i>0?t[i-1]:2*o-u,c=i<n-1?t[i+2]:2*u-o;return r((e-i/n)*n,a,o,u,c)}}e.d(n,{Z:function(){return i},t:function(){return r}})},76068:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(27265);function i(t){var n=t.length;return function(e){var i=Math.floor(((e%=1)<0?++e:e)*n),o=t[(i+n-1)%n],u=t[i%n],a=t[(i+1)%n],c=t[(i+2)%n];return(0,r.t)((e-i/n)*n,o,u,a,c)}}},98280:function(t,n,e){"use strict";e.d(n,{ZP:function(){return a},wx:function(){return o},yi:function(){return u}});var r=e(22954);function i(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):(0,r.Z)(isNaN(t)?n:t)}function u(t){return 1===(t=+t)?a:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):(0,r.Z)(isNaN(n)?e:n)}}function a(t,n){var e=n-t;return e?i(t,e):(0,r.Z)(isNaN(t)?n:t)}},22954:function(t,n){"use strict";n.Z=t=>()=>t},56246:function(t,n,e){"use strict";function r(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}e.d(n,{Z:function(){return r}})},68063:function(t,n,e){"use strict";function r(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}e.d(n,{Z:function(){return r}})},45401:function(t,n,e){"use strict";function r(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function i(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}e.d(n,{Z:function(){return r},v:function(){return i}})},58296:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(45326);function i(t,n){var e,i={},o={};for(e in null!==t&&"object"===typeof t||(t={}),null!==n&&"object"===typeof n||(n={}),n)e in t?i[e]=(0,r.Z)(t[e],n[e]):o[e]=n[e];return function(t){for(e in i)o[e]=i[e](t);return o}}},19640:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(45326);function i(t,n){void 0===n&&(n=t,t=r.Z);for(var e=0,i=n.length-1,o=n[0],u=new Array(i<0?0:i);e<i;)u[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(i-1,Math.floor(t*=i)));return u[n](t-n)}}},6354:function(t,n,e){"use strict";e.d(n,{YD:function(){return f},hD:function(){return c}});var r=e(4447),i=e(27265),o=e(76068),u=e(98280);function a(t){return function(n){var e,i,o=n.length,u=new Array(o),a=new Array(o),c=new Array(o);for(e=0;e<o;++e)i=(0,r.B8)(n[e]),u[e]=i.r||0,a[e]=i.g||0,c[e]=i.b||0;return u=t(u),a=t(a),c=t(c),i.opacity=1,function(t){return i.r=u(t),i.g=a(t),i.b=c(t),i+""}}}n.ZP=function t(n){var e=(0,u.yi)(n);function i(t,n){var i=e((t=(0,r.B8)(t)).r,(n=(0,r.B8)(n)).r),o=e(t.g,n.g),a=e(t.b,n.b),c=(0,u.ZP)(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=o(n),t.b=a(n),t.opacity=c(n),t+""}}return i.gamma=t,i}(1);var c=a(i.Z),f=a(o.Z)},64635:function(t,n,e){"use strict";function r(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}e.d(n,{Z:function(){return r}})},16773:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(68063),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function u(t,n){var e,u,a,c=i.lastIndex=o.lastIndex=0,f=-1,l=[],s=[];for(t+="",n+="";(e=i.exec(t))&&(u=o.exec(n));)(a=u.index)>c&&(a=n.slice(c,a),l[f]?l[f]+=a:l[++f]=a),(e=e[0])===(u=u[0])?l[f]?l[f]+=u:l[++f]=u:(l[++f]=null,s.push({i:f,x:(0,r.Z)(e,u)})),c=o.lastIndex;return c<n.length&&(a=n.slice(c),l[f]?l[f]+=a:l[++f]=a),l.length<2?s[0]?function(t){return function(n){return t(n)+""}}(s[0].x):function(t){return function(){return t}}(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)l[(e=s[r]).i]=e.x(t);return l.join("")})}},45326:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(4447),i=e(6354),o=e(51606),u=e(56246),a=e(68063),c=e(58296),f=e(16773),l=e(22954),s=e(45401);function h(t,n){var e,h=typeof n;return null==n||"boolean"===h?(0,l.Z)(n):("number"===h?a.Z:"string"===h?(e=(0,r.ZP)(n))?(n=e,i.ZP):f.Z:n instanceof r.ZP?i.ZP:n instanceof Date?u.Z:(0,s.v)(n)?s.Z:Array.isArray(n)?o.M:"function"!==typeof n.valueOf&&"function"!==typeof n.toString||isNaN(n)?c.Z:a.Z)(t,n)}},69032:function(t,n,e){"use strict";function r(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function i(t,n){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof n?this.interpolator(n):this.range(n)}return this}e.r(n),e.d(n,{scaleBand:function(){return c},scaleDiverging:function(){return yn},scaleDivergingLog:function(){return vn},scaleDivergingPow:function(){return bn},scaleDivergingSqrt:function(){return mn},scaleDivergingSymlog:function(){return _n},scaleIdentity:function(){return H},scaleImplicit:function(){return u},scaleLinear:function(){return L},scaleLog:function(){return tt},scaleOrdinal:function(){return a},scalePoint:function(){return l},scalePow:function(){return ft},scaleQuantile:function(){return xt},scaleQuantize:function(){return wt},scaleRadial:function(){return ht},scaleSequential:function(){return cn},scaleSequentialLog:function(){return fn},scaleSequentialPow:function(){return sn},scaleSequentialQuantile:function(){return dn},scaleSequentialSqrt:function(){return hn},scaleSequentialSymlog:function(){return ln},scaleSqrt:function(){return lt},scaleSymlog:function(){return it},scaleThreshold:function(){return Mt},scaleTime:function(){return rn},scaleUtc:function(){return on},tickFormat:function(){return O}});var o=e(909);const u=Symbol("implicit");function a(){var t=new o.L,n=[],e=[],i=u;function c(r){let o=t.get(r);if(void 0===o){if(i!==u)return i;t.set(r,o=n.push(r)-1)}return e[o%e.length]}return c.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new o.L;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return c},c.range=function(t){return arguments.length?(e=Array.from(t),c):e.slice()},c.unknown=function(t){return arguments.length?(i=t,c):i},c.copy=function(){return a(n,e).unknown(i)},r.apply(c,arguments),c}function c(){var t,n,e=a().unknown(void 0),i=e.domain,o=e.range,u=0,f=1,l=!1,s=0,h=0,d=.5;function p(){var e=i().length,r=f<u,a=r?f:u,c=r?u:f;t=(c-a)/Math.max(1,e-s+2*h),l&&(t=Math.floor(t)),a+=(c-a-t*(e-s))*d,n=t*(1-s),l&&(a=Math.round(a),n=Math.round(n));var p=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}(e).map((function(n){return a+t*n}));return o(r?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(i(t),p()):i()},e.range=function(t){return arguments.length?([u,f]=t,u=+u,f=+f,p()):[u,f]},e.rangeRound=function(t){return[u,f]=t,u=+u,f=+f,l=!0,p()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(l=!!t,p()):l},e.padding=function(t){return arguments.length?(s=Math.min(1,h=+t),p()):s},e.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),p()):s},e.paddingOuter=function(t){return arguments.length?(h=+t,p()):h},e.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),p()):d},e.copy=function(){return c(i(),[u,f]).round(l).paddingInner(s).paddingOuter(h).align(d)},r.apply(p(),arguments)}function f(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return f(n())},t}function l(){return f(c.apply(null,arguments).paddingInner(1))}var s=Math.sqrt(50),h=Math.sqrt(10),d=Math.sqrt(2);function p(t,n,e){var r,i,o,u,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=g(t,n,e))||!isFinite(u))return[];if(u>0){let e=Math.round(t/u),r=Math.round(n/u);for(e*u<t&&++e,r*u>n&&--r,o=new Array(i=r-e+1);++a<i;)o[a]=(e+a)*u}else{u=-u;let e=Math.round(t*u),r=Math.round(n*u);for(e/u<t&&++e,r/u>n&&--r,o=new Array(i=r-e+1);++a<i;)o[a]=(e+a)/u}return r&&o.reverse(),o}function g(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=s?10:o>=h?5:o>=d?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=s?10:o>=h?5:o>=d?2:1)}function y(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=s?i*=10:o>=h?i*=5:o>=d&&(i*=2),n<t?-i:i}function v(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function _(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function b(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=v,e=(n,e)=>v(t(n),e),r=(n,e)=>t(n)-e):(n=t===v||t===_?t:m,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const u=i(t,n,e,o-1);return u>e&&r(t[u-1],n)>-r(t[u],n)?u-1:u},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function m(){return 0}function x(t){return null===t?NaN:+t}const w=b(v),M=w.right;w.left,b(x).center;var T=M,A=e(45326),S=e(68063),N=e(64635);function E(t){return+t}var k=[0,1];function C(t){return t}function P(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function Z(t,n,e){var r=t[0],i=t[1],o=n[0],u=n[1];return i<r?(r=P(i,r),o=e(u,o)):(r=P(r,i),o=e(o,u)),function(t){return o(r(t))}}function D(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),u=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<r;)i[u]=P(t[u],t[u+1]),o[u]=e(n[u],n[u+1]);return function(n){var e=T(t,n,1,r)-1;return o[e](i[e](n))}}function z(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function U(){var t,n,e,r,i,o,u=k,a=k,c=A.Z,f=C;function l(){var t=Math.min(u.length,a.length);return f!==C&&(f=function(t,n){var e;return t>n&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(u[0],u[t-1])),r=t>2?D:Z,i=o=null,s}function s(n){return null==n||isNaN(n=+n)?e:(i||(i=r(u.map(t),a,c)))(t(f(n)))}return s.invert=function(e){return f(n((o||(o=r(a,u.map(t),S.Z)))(e)))},s.domain=function(t){return arguments.length?(u=Array.from(t,E),l()):u.slice()},s.range=function(t){return arguments.length?(a=Array.from(t),l()):a.slice()},s.rangeRound=function(t){return a=Array.from(t),c=N.Z,l()},s.clamp=function(t){return arguments.length?(f=!!t||C,l()):f!==C},s.interpolate=function(t){return arguments.length?(c=t,l()):c},s.unknown=function(t){return arguments.length?(e=t,s):e},function(e,r){return t=e,n=r,l()}}function $(){return U()(C,C)}var q=e(42035),F=e(87017),Y=e(65386),R=e(63482),B=e(96909);function O(t,n,e,r){var i,o=y(t,n,e);switch((r=(0,q.Z)(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=(0,F.Z)(o,u))||(r.precision=i),(0,Y.jH)(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=(0,R.Z)(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=(0,B.Z)(o))||(r.precision=i-2*("%"===r.type))}return(0,Y.WU)(r)}function I(t){var n=t.domain;return t.ticks=function(t){var e=n();return p(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return O(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),u=0,a=o.length-1,c=o[u],f=o[a],l=10;for(f<c&&(i=c,c=f,f=i,i=u,u=a,a=i);l-- >0;){if((i=g(c,f,e))===r)return o[u]=c,o[a]=f,n(o);if(i>0)c=Math.floor(c/i)*i,f=Math.ceil(f/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,f=Math.floor(f*i)/i}r=i}return t},t}function L(){var t=$();return t.copy=function(){return z(t,L())},r.apply(t,arguments),I(t)}function H(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,E),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return H(t).unknown(n)},t=arguments.length?Array.from(t,E):[0,1],I(e)}function j(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t}function V(t){return Math.log(t)}function X(t){return Math.exp(t)}function G(t){return-Math.log(-t)}function W(t){return-Math.exp(-t)}function Q(t){return isFinite(t)?+("1e"+t):t<0?0:t}function J(t){return(n,e)=>-t(-n,e)}function K(t){const n=t(V,X),e=n.domain;let r,i,o=10;function u(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(o),i=function(t){return 10===t?Q:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=J(r),i=J(i),t(G,W)):t(V,X),n}return n.base=function(t){return arguments.length?(o=+t,u()):o},n.domain=function(t){return arguments.length?(e(t),u()):e()},n.ticks=t=>{const n=e();let u=n[0],a=n[n.length-1];const c=a<u;c&&([u,a]=[a,u]);let f,l,s=r(u),h=r(a);const d=null==t?10:+t;let g=[];if(!(o%1)&&h-s<d){if(s=Math.floor(s),h=Math.ceil(h),u>0){for(;s<=h;++s)for(f=1;f<o;++f)if(l=s<0?f/i(-s):f*i(s),!(l<u)){if(l>a)break;g.push(l)}}else for(;s<=h;++s)for(f=o-1;f>=1;--f)if(l=s>0?f/i(-s):f*i(s),!(l<u)){if(l>a)break;g.push(l)}2*g.length<d&&(g=p(u,a,d))}else g=p(s,h,Math.min(h-s,d)).map(i);return c?g.reverse():g},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!==typeof e&&(o%1||null!=(e=(0,q.Z)(e)).precision||(e.trim=!0),e=(0,Y.WU)(e)),t===1/0)return e;const u=Math.max(1,o*t/n.ticks().length);return t=>{let n=t/i(Math.round(r(t)));return n*o<o-.5&&(n*=o),n<=u?e(t):""}},n.nice=()=>e(j(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function tt(){const t=K(U()).domain([1,10]);return t.copy=()=>z(t,tt()).base(t.base()),r.apply(t,arguments),t}function nt(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function et(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function rt(t){var n=1,e=t(nt(n),et(n));return e.constant=function(e){return arguments.length?t(nt(n=+e),et(n)):n},I(e)}function it(){var t=rt(U());return t.copy=function(){return z(t,it()).constant(t.constant())},r.apply(t,arguments)}function ot(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function ut(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function at(t){return t<0?-t*t:t*t}function ct(t){var n=t(C,C),e=1;return n.exponent=function(n){return arguments.length?1===(e=+n)?t(C,C):.5===e?t(ut,at):t(ot(e),ot(1/e)):e},I(n)}function ft(){var t=ct(U());return t.copy=function(){return z(t,ft()).exponent(t.exponent())},r.apply(t,arguments),t}function lt(){return ft.apply(null,arguments).exponent(.5)}function st(t){return Math.sign(t)*t*t}function ht(){var t,n=$(),e=[0,1],i=!1;function o(e){var r=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(n(e));return isNaN(r)?t:i?Math.round(r):r}return o.invert=function(t){return n.invert(st(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,E)).map(st)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return ht(n.domain(),e).round(i).clamp(n.clamp()).unknown(t)},r.apply(o,arguments),I(o)}function dt(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function pt(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e>r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function gt(t=v){if(t===v)return yt;if("function"!==typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function yt(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function vt(t,n,e=0,r=t.length-1,i){for(i=void 0===i?yt:gt(i);r>e;){if(r-e>600){const o=r-e+1,u=n-e+1,a=Math.log(o),c=.5*Math.exp(2*a/3),f=.5*Math.sqrt(a*c*(o-c)/o)*(u-o/2<0?-1:1);vt(t,n,Math.max(e,Math.floor(n-u*c/o+f)),Math.min(r,Math.floor(n+(o-u)*c/o+f)),i)}const o=t[n];let u=e,a=r;for(_t(t,e,n),i(t[r],o)>0&&_t(t,e,r);u<a;){for(_t(t,u,a),++u,--a;i(t[u],o)<0;)++u;for(;i(t[a],o)>0;)--a}0===i(t[e],o)?_t(t,e,a):(++a,_t(t,a,r)),a<=n&&(e=a+1),n<=a&&(r=a-1)}return t}function _t(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function bt(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return pt(t);if(n>=1)return dt(t);var r,i=(r-1)*n,o=Math.floor(i),u=dt(vt(t,o).subarray(0,o+1));return u+(pt(t.subarray(o+1))-u)*(i-o)}}function mt(t,n,e=x){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}function xt(){var t,n=[],e=[],i=[];function o(){var t=0,r=Math.max(1,e.length);for(i=new Array(r-1);++t<r;)i[t-1]=mt(n,t/r);return u}function u(n){return null==n||isNaN(n=+n)?t:e[T(i,n)]}return u.invertExtent=function(t){var r=e.indexOf(t);return r<0?[NaN,NaN]:[r>0?i[r-1]:n[0],r<i.length?i[r]:n[n.length-1]]},u.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(v),o()},u.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},u.unknown=function(n){return arguments.length?(t=n,u):t},u.quantiles=function(){return i.slice()},u.copy=function(){return xt().domain(n).range(e).unknown(t)},r.apply(u,arguments)}function wt(){var t,n=0,e=1,i=1,o=[.5],u=[0,1];function a(n){return null!=n&&n<=n?u[T(o,n,0,i)]:t}function c(){var t=-1;for(o=new Array(i);++t<i;)o[t]=((t+1)*e-(t-i)*n)/(i+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,c()):[n,e]},a.range=function(t){return arguments.length?(i=(u=Array.from(t)).length-1,c()):u.slice()},a.invertExtent=function(t){var r=u.indexOf(t);return r<0?[NaN,NaN]:r<1?[n,o[0]]:r>=i?[o[i-1],e]:[o[r-1],o[r]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return wt().domain([n,e]).range(u).unknown(t)},r.apply(I(a),arguments)}function Mt(){var t,n=[.5],e=[0,1],i=1;function o(r){return null!=r&&r<=r?e[T(n,r,0,i)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),i=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),i=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return Mt().domain(n).range(e).unknown(t)},r.apply(o,arguments)}var Tt=e(11262),At=e(52576),St=(0,At.Z)((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));St.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,At.Z)((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):St:null};var Nt=St,Et=(St.range,(0,At.Z)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*Tt.Ym)}),(function(t,n){return(n-t)/Tt.Ym}),(function(t){return t.getUTCSeconds()}))),kt=Et,Ct=(Et.range,(0,At.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Tt.Ym)}),(function(t,n){t.setTime(+t+n*Tt.yB)}),(function(t,n){return(n-t)/Tt.yB}),(function(t){return t.getMinutes()}))),Pt=Ct,Zt=(Ct.range,(0,At.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Tt.Ym-t.getMinutes()*Tt.yB)}),(function(t,n){t.setTime(+t+n*Tt.Y2)}),(function(t,n){return(n-t)/Tt.Y2}),(function(t){return t.getHours()}))),Dt=Zt,zt=(Zt.range,e(96199)),Ut=e(85235),$t=(0,At.Z)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),qt=$t,Ft=($t.range,e(38887)),Yt=(0,At.Z)((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Tt.yB)}),(function(t,n){return(n-t)/Tt.yB}),(function(t){return t.getUTCMinutes()})),Rt=Yt,Bt=(Yt.range,(0,At.Z)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Tt.Y2)}),(function(t,n){return(n-t)/Tt.Y2}),(function(t){return t.getUTCHours()}))),Ot=Bt,It=(Bt.range,e(74834)),Lt=e(81416),Ht=(0,At.Z)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),jt=Ht,Vt=(Ht.range,e(69935));function Xt(t,n,e,r,i,o){const u=[[kt,1,Tt.Ym],[kt,5,5*Tt.Ym],[kt,15,15*Tt.Ym],[kt,30,30*Tt.Ym],[o,1,Tt.yB],[o,5,5*Tt.yB],[o,15,15*Tt.yB],[o,30,30*Tt.yB],[i,1,Tt.Y2],[i,3,3*Tt.Y2],[i,6,6*Tt.Y2],[i,12,12*Tt.Y2],[r,1,Tt.UD],[r,2,2*Tt.UD],[e,1,Tt.iM],[n,1,Tt.jz],[n,3,3*Tt.jz],[t,1,Tt.qz]];function a(n,e,r){const i=Math.abs(e-n)/r,o=b((([,,t])=>t)).right(u,i);if(o===u.length)return t.every(y(n/Tt.qz,e/Tt.qz,r));if(0===o)return Nt.every(Math.max(y(n,e,r),1));const[a,c]=u[i/u[o-1][2]<u[o][2]/i?o-1:o];return a.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"===typeof e.range?e:a(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},a]}const[Gt,Wt]=Xt(Vt.Z,jt,Lt.Ox,It.Z,Ot,Rt),[Qt,Jt]=Xt(Ft.Z,qt,Ut.OM,zt.Z,Dt,Pt);var Kt=e(82138);function tn(t){return new Date(t)}function nn(t){return t instanceof Date?+t:+new Date(+t)}function en(t,n,e,r,i,o,u,a,c,f){var l=$(),s=l.invert,h=l.domain,d=f(".%L"),p=f(":%S"),g=f("%I:%M"),y=f("%I %p"),v=f("%a %d"),_=f("%b %d"),b=f("%B"),m=f("%Y");function x(t){return(c(t)<t?d:a(t)<t?p:u(t)<t?g:o(t)<t?y:r(t)<t?i(t)<t?v:_:e(t)<t?b:m)(t)}return l.invert=function(t){return new Date(s(t))},l.domain=function(t){return arguments.length?h(Array.from(t,nn)):h().map(tn)},l.ticks=function(n){var e=h();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?x:f(n)},l.nice=function(t){var e=h();return t&&"function"===typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?h(j(e,t)):l},l.copy=function(){return z(l,en(t,n,e,r,i,o,u,a,c,f))},l}function rn(){return r.apply(en(Qt,Jt,Ft.Z,qt,Ut.OM,zt.Z,Dt,Pt,kt,Kt.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function on(){return r.apply(en(Gt,Wt,Vt.Z,jt,Lt.Ox,It.Z,Ot,Rt,kt,Kt.g0).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function un(){var t,n,e,r,i,o=0,u=1,a=C,c=!1;function f(n){return null==n||isNaN(n=+n)?i:a(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,a=t(e,r),f):[a(0),a(1)]}}return f.domain=function(i){return arguments.length?([o,u]=i,t=r(o=+o),n=r(u=+u),e=t===n?0:1/(n-t),f):[o,u]},f.clamp=function(t){return arguments.length?(c=!!t,f):c},f.interpolator=function(t){return arguments.length?(a=t,f):a},f.range=l(A.Z),f.rangeRound=l(N.Z),f.unknown=function(t){return arguments.length?(i=t,f):i},function(i){return r=i,t=i(o),n=i(u),e=t===n?0:1/(n-t),f}}function an(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function cn(){var t=I(un()(C));return t.copy=function(){return an(t,cn())},i.apply(t,arguments)}function fn(){var t=K(un()).domain([1,10]);return t.copy=function(){return an(t,fn()).base(t.base())},i.apply(t,arguments)}function ln(){var t=rt(un());return t.copy=function(){return an(t,ln()).constant(t.constant())},i.apply(t,arguments)}function sn(){var t=ct(un());return t.copy=function(){return an(t,sn()).exponent(t.exponent())},i.apply(t,arguments)}function hn(){return sn.apply(null,arguments).exponent(.5)}function dn(){var t=[],n=C;function e(e){if(null!=e&&!isNaN(e=+e))return n((T(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(v),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>bt(t,r/n)))},e.copy=function(){return dn(n).domain(t)},i.apply(e,arguments)}var pn=e(19640);function gn(){var t,n,e,r,i,o,u,a=0,c=.5,f=1,l=1,s=C,h=!1;function d(t){return isNaN(t=+t)?u:(t=.5+((t=+o(t))-n)*(l*t<l*n?r:i),s(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,s=(0,pn.Z)(t,[e,r,i]),d):[s(0),s(.5),s(1)]}}return d.domain=function(u){return arguments.length?([a,c,f]=u,t=o(a=+a),n=o(c=+c),e=o(f=+f),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,d):[a,c,f]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(s=t,d):s},d.range=p(A.Z),d.rangeRound=p(N.Z),d.unknown=function(t){return arguments.length?(u=t,d):u},function(u){return o=u,t=u(a),n=u(c),e=u(f),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,d}}function yn(){var t=I(gn()(C));return t.copy=function(){return an(t,yn())},i.apply(t,arguments)}function vn(){var t=K(gn()).domain([.1,1,10]);return t.copy=function(){return an(t,vn()).base(t.base())},i.apply(t,arguments)}function _n(){var t=rt(gn());return t.copy=function(){return an(t,_n()).constant(t.constant())},i.apply(t,arguments)}function bn(){var t=ct(gn());return t.copy=function(){return an(t,bn()).exponent(t.exponent())},i.apply(t,arguments)}function mn(){return bn.apply(null,arguments).exponent(.5)}},82138:function(t,n,e){"use strict";e.d(n,{Z1:function(){return o},ZP:function(){return f},g0:function(){return u},i$:function(){return i},wp:function(){return a}});var r,i,o,u,a,c=e(47238);function f(t){return r=(0,c.Z)(t),i=r.format,o=r.parse,u=r.utcFormat,a=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},47238:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(81416),i=e(74834),o=e(85235),u=e(96199),a=e(38887),c=e(69935);function f(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function l(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function s(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function h(t){var n=t.dateTime,e=t.date,a=t.time,c=t.periods,h=t.days,p=t.shortDays,g=t.months,y=t.shortMonths,v=b(c),_=m(c),J=b(h),_t=m(h),Ct=b(p),Pt=m(p),Zt=b(g),Dt=m(g),zt=b(y),Ut=m(y),$t={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return y[t.getMonth()]},B:function(t){return g[t.getMonth()]},c:null,d:B,e:B,f:j,g:rt,G:ot,H:O,I:I,j:L,L:H,m:V,M:X,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Et,s:kt,S:G,u:W,U:Q,V:K,w:tt,W:nt,x:null,X:null,y:et,Y:it,Z:ut,"%":Nt},qt={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return y[t.getUTCMonth()]},B:function(t){return g[t.getUTCMonth()]},c:null,d:at,e:at,f:ht,g:Mt,G:At,H:ct,I:ft,j:lt,L:st,m:dt,M:pt,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Et,s:kt,S:gt,u:yt,U:vt,V:bt,w:mt,W:xt,x:null,X:null,y:wt,Y:Tt,Z:St,"%":Nt},Ft={a:function(t,n,e){var r=Ct.exec(n.slice(e));return r?(t.w=Pt.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=J.exec(n.slice(e));return r?(t.w=_t.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=zt.exec(n.slice(e));return r?(t.m=Ut.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=Zt.exec(n.slice(e));return r?(t.m=Dt.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return Bt(t,n,e,r)},d:P,e:P,f:q,g:N,G:S,H:D,I:D,j:Z,L:$,m:C,M:z,p:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.p=_.get(r[0].toLowerCase()),e+r[0].length):-1},q:k,Q:Y,s:R,S:U,u:w,U:M,V:T,w:x,W:A,x:function(t,n,r){return Bt(t,e,n,r)},X:function(t,n,e){return Bt(t,a,n,e)},y:N,Y:S,Z:E,"%":F};function Yt(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++a<f;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=d[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function Rt(t,n){return function(e){var a,c,h=s(1900,void 0,1);if(Bt(h,t,e+="",0)!=e.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(n&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(a=l(s(h.y,0,1))).getUTCDay(),a=c>4||0===c?r.l6.ceil(a):(0,r.l6)(a),a=i.Z.offset(a,7*(h.V-1)),h.y=a.getUTCFullYear(),h.m=a.getUTCMonth(),h.d=a.getUTCDate()+(h.w+6)%7):(c=(a=f(s(h.y,0,1))).getDay(),a=c>4||0===c?o.wA.ceil(a):(0,o.wA)(a),a=u.Z.offset(a,7*(h.V-1)),h.y=a.getFullYear(),h.m=a.getMonth(),h.d=a.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?l(s(h.y,0,1)).getUTCDay():f(s(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,l(h)):f(h)}}function Bt(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=Ft[i in d?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return $t.x=Yt(e,$t),$t.X=Yt(a,$t),$t.c=Yt(n,$t),qt.x=Yt(e,qt),qt.X=Yt(a,qt),qt.c=Yt(n,qt),{format:function(t){var n=Yt(t+="",$t);return n.toString=function(){return t},n},parse:function(t){var n=Rt(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=Yt(t+="",qt);return n.toString=function(){return t},n},utcParse:function(t){var n=Rt(t+="",!0);return n.toString=function(){return t},n}}}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,g=/^%/,y=/[\\^$*+?|[\]().{}]/g;function v(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function _(t){return t.replace(y,"\\$&")}function b(t){return new RegExp("^(?:"+t.map(_).join("|")+")","i")}function m(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function x(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function w(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function M(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function T(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function A(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function S(t,n,e){var r=p.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function N(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function E(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function k(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function C(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function P(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Z(t,n,e){var r=p.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function D(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function z(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function U(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function $(t,n,e){var r=p.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function q(t,n,e){var r=p.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function F(t,n,e){var r=g.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Y(t,n,e){var r=p.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function R(t,n,e){var r=p.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function B(t,n){return v(t.getDate(),n,2)}function O(t,n){return v(t.getHours(),n,2)}function I(t,n){return v(t.getHours()%12||12,n,2)}function L(t,n){return v(1+u.Z.count((0,a.Z)(t),t),n,3)}function H(t,n){return v(t.getMilliseconds(),n,3)}function j(t,n){return H(t,n)+"000"}function V(t,n){return v(t.getMonth()+1,n,2)}function X(t,n){return v(t.getMinutes(),n,2)}function G(t,n){return v(t.getSeconds(),n,2)}function W(t){var n=t.getDay();return 0===n?7:n}function Q(t,n){return v(o.OM.count((0,a.Z)(t)-1,t),n,2)}function J(t){var n=t.getDay();return n>=4||0===n?(0,o.bL)(t):o.bL.ceil(t)}function K(t,n){return t=J(t),v(o.bL.count((0,a.Z)(t),t)+(4===(0,a.Z)(t).getDay()),n,2)}function tt(t){return t.getDay()}function nt(t,n){return v(o.wA.count((0,a.Z)(t)-1,t),n,2)}function et(t,n){return v(t.getFullYear()%100,n,2)}function rt(t,n){return v((t=J(t)).getFullYear()%100,n,2)}function it(t,n){return v(t.getFullYear()%1e4,n,4)}function ot(t,n){var e=t.getDay();return v((t=e>=4||0===e?(0,o.bL)(t):o.bL.ceil(t)).getFullYear()%1e4,n,4)}function ut(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+v(n/60|0,"0",2)+v(n%60,"0",2)}function at(t,n){return v(t.getUTCDate(),n,2)}function ct(t,n){return v(t.getUTCHours(),n,2)}function ft(t,n){return v(t.getUTCHours()%12||12,n,2)}function lt(t,n){return v(1+i.Z.count((0,c.Z)(t),t),n,3)}function st(t,n){return v(t.getUTCMilliseconds(),n,3)}function ht(t,n){return st(t,n)+"000"}function dt(t,n){return v(t.getUTCMonth()+1,n,2)}function pt(t,n){return v(t.getUTCMinutes(),n,2)}function gt(t,n){return v(t.getUTCSeconds(),n,2)}function yt(t){var n=t.getUTCDay();return 0===n?7:n}function vt(t,n){return v(r.Ox.count((0,c.Z)(t)-1,t),n,2)}function _t(t){var n=t.getUTCDay();return n>=4||0===n?(0,r.hB)(t):r.hB.ceil(t)}function bt(t,n){return t=_t(t),v(r.hB.count((0,c.Z)(t),t)+(4===(0,c.Z)(t).getUTCDay()),n,2)}function mt(t){return t.getUTCDay()}function xt(t,n){return v(r.l6.count((0,c.Z)(t)-1,t),n,2)}function wt(t,n){return v(t.getUTCFullYear()%100,n,2)}function Mt(t,n){return v((t=_t(t)).getUTCFullYear()%100,n,2)}function Tt(t,n){return v(t.getUTCFullYear()%1e4,n,4)}function At(t,n){var e=t.getUTCDay();return v((t=e>=4||0===e?(0,r.hB)(t):r.hB.ceil(t)).getUTCFullYear()%1e4,n,4)}function St(){return"+0000"}function Nt(){return"%"}function Et(t){return+t}function kt(t){return Math.floor(+t/1e3)}},96199:function(t,n,e){"use strict";var r=e(52576),i=e(11262),o=(0,r.Z)((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.UD),(t=>t.getDate()-1));n.Z=o;o.range},11262:function(t,n,e){"use strict";e.d(n,{UD:function(){return u},Y2:function(){return o},Ym:function(){return r},iM:function(){return a},jz:function(){return c},qz:function(){return f},yB:function(){return i}});const r=1e3,i=60*r,o=60*i,u=24*o,a=7*u,c=30*u,f=365*u},52576:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=new Date,i=new Date;function o(t,n,e,u){function a(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return a.floor=function(n){return t(n=new Date(+n)),n},a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},a.round=function(t){var n=a(t),e=a.ceil(t);return t-n<e-t?n:e},a.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},a.range=function(e,r,i){var o,u=[];if(e=a.ceil(e),i=null==i?1:Math.floor(i),!(e<r)||!(i>0))return u;do{u.push(o=new Date(+e)),n(e,i),t(e)}while(o<e&&e<r);return u},a.filter=function(e){return o((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(a.count=function(n,o){return r.setTime(+n),i.setTime(+o),t(r),t(i),Math.floor(e(r,i))},a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(u?function(n){return u(n)%t===0}:function(n){return a.count(0,n)%t===0}):a:null}),a}},74834:function(t,n,e){"use strict";var r=e(52576),i=e(11262),o=(0,r.Z)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/i.UD}),(function(t){return t.getUTCDate()-1}));n.Z=o;o.range},81416:function(t,n,e){"use strict";e.d(n,{Ox:function(){return u},hB:function(){return l},l6:function(){return a}});var r=e(52576),i=e(11262);function o(t){return(0,r.Z)((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/i.iM}))}var u=o(0),a=o(1),c=o(2),f=o(3),l=o(4),s=o(5),h=o(6);u.range,a.range,c.range,f.range,l.range,s.range,h.range},69935:function(t,n,e){"use strict";var r=e(52576),i=(0,r.Z)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null},n.Z=i;i.range},85235:function(t,n,e){"use strict";e.d(n,{OM:function(){return u},bL:function(){return l},wA:function(){return a}});var r=e(52576),i=e(11262);function o(t){return(0,r.Z)((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.iM}))}var u=o(0),a=o(1),c=o(2),f=o(3),l=o(4),s=o(5),h=o(6);u.range,a.range,c.range,f.range,l.range,s.range,h.range},38887:function(t,n,e){"use strict";var r=e(52576),i=(0,r.Z)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null},n.Z=i;i.range},62557:function(t,n,e){"use strict";function r(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function i(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function o(t){let n,e,o;function a(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=r,e=(n,e)=>r(t(n),e),o=(n,e)=>t(n)-e):(n=t===r||t===i?t:u,e=t,o=t),{left:a,center:function(t,n,e=0,r=t.length){const i=a(t,n,e,r-1);return i>e&&o(t[i-1],n)>-o(t[i],n)?i-1:i},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function u(){return 0}function a(t){return null===t?NaN:+t}function*c(t,n){if(void 0===n)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}e.r(n),e.d(n,{Adder:function(){return C},Delaunay:function(){return Iu},FormatSpecifier:function(){return uf.v},InternMap:function(){return D.L},InternSet:function(){return D.H},Node:function(){return Mp},Path:function(){return co},Voronoi:function(){return qu},ZoomTransform:function(){return dw},active:function(){return di},arc:function(){return A_},area:function(){return D_},areaRadial:function(){return O_},ascending:function(){return r},autoType:function(){return Ma},axisBottom:function(){return yn},axisLeft:function(){return vn},axisRight:function(){return gn},axisTop:function(){return pn},bin:function(){return ft},bisect:function(){return d},bisectCenter:function(){return h},bisectLeft:function(){return s},bisectRight:function(){return l},bisector:function(){return o},blob:function(){return hc},blur:function(){return p},blur2:function(){return g},blurImage:function(){return y},brush:function(){return Oi},brushSelection:function(){return Yi},brushX:function(){return Ri},brushY:function(){return Bi},buffer:function(){return pc},chord:function(){return Ki},chordDirected:function(){return no},chordTranspose:function(){return to},cluster:function(){return yp},color:function(){return Fr.ZP},contourDensity:function(){return Zu},contours:function(){return _u},count:function(){return x},create:function(){return Kv},creator:function(){return Me},cross:function(){return A},csv:function(){return bc},csvFormat:function(){return la},csvFormatBody:function(){return sa},csvFormatRow:function(){return da},csvFormatRows:function(){return ha},csvFormatValue:function(){return pa},csvParse:function(){return ca},csvParseRows:function(){return fa},cubehelix:function(){return nu},cumsum:function(){return S},curveBasis:function(){return Zb},curveBasisClosed:function(){return zb},curveBasisOpen:function(){return $b},curveBumpX:function(){return j_},curveBumpY:function(){return V_},curveBundle:function(){return Fb},curveCardinal:function(){return Bb},curveCardinalClosed:function(){return Ib},curveCardinalOpen:function(){return Hb},curveCatmullRom:function(){return Xb},curveCatmullRomClosed:function(){return Wb},curveCatmullRomOpen:function(){return Jb},curveLinear:function(){return k_},curveLinearClosed:function(){return tm},curveMonotoneX:function(){return cm},curveMonotoneY:function(){return fm},curveNatural:function(){return hm},curveStep:function(){return pm},curveStepAfter:function(){return ym},curveStepBefore:function(){return gm},descending:function(){return i},deviation:function(){return E},difference:function(){return Vt},disjoint:function(){return Xt},dispatch:function(){return Mn},drag:function(){return Wu},dragDisable:function(){return Oe},dragEnable:function(){return Ie},dsv:function(){return _c},dsvFormat:function(){return ua},easeBack:function(){return uc},easeBackIn:function(){return ic},easeBackInOut:function(){return uc},easeBackOut:function(){return oc},easeBounce:function(){return nc},easeBounceIn:function(){return tc},easeBounceInOut:function(){return ec},easeBounceOut:function(){return nc},easeCircle:function(){return Ia},easeCircleIn:function(){return Ba},easeCircleInOut:function(){return Ia},easeCircleOut:function(){return Oa},easeCubic:function(){return fi},easeCubicIn:function(){return ai},easeCubicInOut:function(){return fi},easeCubicOut:function(){return ci},easeElastic:function(){return fc},easeElasticIn:function(){return cc},easeElasticInOut:function(){return lc},easeElasticOut:function(){return fc},easeExp:function(){return Ra},easeExpIn:function(){return Fa},easeExpInOut:function(){return Ra},easeExpOut:function(){return Ya},easeLinear:function(){return Aa},easePoly:function(){return Pa},easePolyIn:function(){return ka},easePolyInOut:function(){return Pa},easePolyOut:function(){return Ca},easeQuad:function(){return Ea},easeQuadIn:function(){return Sa},easeQuadInOut:function(){return Ea},easeQuadOut:function(){return Na},easeSin:function(){return $a},easeSinIn:function(){return za},easeSinInOut:function(){return $a},easeSinOut:function(){return Ua},every:function(){return Bt},extent:function(){return k},fcumsum:function(){return Z},filter:function(){return It},flatGroup:function(){return F},flatRollup:function(){return Y},forceCenter:function(){return Ec},forceCollide:function(){return Bc},forceLink:function(){return Lc},forceManyBody:function(){return Kc},forceRadial:function(){return tf},forceSimulation:function(){return Jc},forceX:function(){return nf},forceY:function(){return ef},format:function(){return rf.WU},formatDefaultLocale:function(){return rf.ZP},formatLocale:function(){return of.Z},formatPrefix:function(){return rf.jH},formatSpecifier:function(){return uf.Z},fsum:function(){return P},geoAlbers:function(){return Pd},geoAlbersUsa:function(){return Zd},geoArea:function(){return sl},geoAzimuthalEqualArea:function(){return $d},geoAzimuthalEqualAreaRaw:function(){return Ud},geoAzimuthalEquidistant:function(){return Fd},geoAzimuthalEquidistantRaw:function(){return qd},geoBounds:function(){return jl},geoCentroid:function(){return is},geoCircle:function(){return gs},geoClipAntimeridian:function(){return Ns},geoClipCircle:function(){return Es},geoClipExtent:function(){return $s},geoClipRectangle:function(){return Us},geoConicConformal:function(){return Ld},geoConicConformalRaw:function(){return Id},geoConicEqualArea:function(){return Cd},geoConicEqualAreaRaw:function(){return kd},geoConicEquidistant:function(){return Xd},geoConicEquidistantRaw:function(){return Vd},geoContains:function(){return Ks},geoDistance:function(){return Ls},geoEqualEarth:function(){return np},geoEqualEarthRaw:function(){return tp},geoEquirectangular:function(){return jd},geoEquirectangularRaw:function(){return Hd},geoGnomonic:function(){return rp},geoGnomonicRaw:function(){return ep},geoGraticule:function(){return rh},geoGraticule10:function(){return ih},geoIdentity:function(){return ip},geoInterpolate:function(){return oh},geoLength:function(){return Bs},geoMercator:function(){return Rd},geoMercatorRaw:function(){return Yd},geoNaturalEarth1:function(){return up},geoNaturalEarth1Raw:function(){return op},geoOrthographic:function(){return cp},geoOrthographicRaw:function(){return ap},geoPath:function(){return hd},geoProjection:function(){return Sd},geoProjectionMutator:function(){return Nd},geoRotation:function(){return hs},geoStereographic:function(){return lp},geoStereographicRaw:function(){return fp},geoStream:function(){return Bf},geoTransform:function(){return dd},geoTransverseMercator:function(){return hp},geoTransverseMercatorRaw:function(){return sp},gray:function(){return Uo},greatest:function(){return yt},greatestIndex:function(){return Dt},group:function(){return U},groupSort:function(){return W},groups:function(){return $},hcl:function(){return Lo},hierarchy:function(){return _p},histogram:function(){return ft},hsl:function(){return Fr.Ym},html:function(){return Sc},image:function(){return xc},index:function(){return O},indexes:function(){return I},interpolate:function(){return Le.Z},interpolateArray:function(){return Tg.Z},interpolateBasis:function(){return Ag.Z},interpolateBasisClosed:function(){return Sg.Z},interpolateBlues:function(){return Sv},interpolateBrBG:function(){return Fy},interpolateBuGn:function(){return ev},interpolateBuPu:function(){return iv},interpolateCividis:function(){return qv},interpolateCool:function(){return Rv},interpolateCubehelix:function(){return Lg},interpolateCubehelixDefault:function(){return Fv},interpolateCubehelixLong:function(){return Hg},interpolateDate:function(){return Ng.Z},interpolateDiscrete:function(){return Eg},interpolateGnBu:function(){return uv},interpolateGreens:function(){return Ev},interpolateGreys:function(){return Cv},interpolateHcl:function(){return Bg},interpolateHclLong:function(){return Og},interpolateHsl:function(){return qg},interpolateHslLong:function(){return Fg},interpolateHue:function(){return Cg},interpolateInferno:function(){return Qv},interpolateLab:function(){return Yg},interpolateMagma:function(){return Wv},interpolateNumber:function(){return Er.Z},interpolateNumberArray:function(){return Pg.Z},interpolateObject:function(){return Zg.Z},interpolateOrRd:function(){return cv},interpolateOranges:function(){return $v},interpolatePRGn:function(){return Ry},interpolatePiYG:function(){return Oy},interpolatePlasma:function(){return Jv},interpolatePuBu:function(){return hv},interpolatePuBuGn:function(){return lv},interpolatePuOr:function(){return Ly},interpolatePuRd:function(){return pv},interpolatePurples:function(){return Zv},interpolateRainbow:function(){return Ov},interpolateRdBu:function(){return jy},interpolateRdGy:function(){return Xy},interpolateRdPu:function(){return yv},interpolateRdYlBu:function(){return Wy},interpolateRdYlGn:function(){return Jy},interpolateReds:function(){return zv},interpolateRgb:function(){return Yr.ZP},interpolateRgbBasis:function(){return Yr.hD},interpolateRgbBasisClosed:function(){return Yr.YD},interpolateRound:function(){return Dg.Z},interpolateSinebow:function(){return jv},interpolateSpectral:function(){return tv},interpolateString:function(){return Rr.Z},interpolateTransformCss:function(){return Dr},interpolateTransformSvg:function(){return zr},interpolateTurbo:function(){return Vv},interpolateViridis:function(){return Gv},interpolateWarm:function(){return Yv},interpolateYlGn:function(){return mv},interpolateYlGnBu:function(){return _v},interpolateYlOrBr:function(){return wv},interpolateYlOrRd:function(){return Tv},interpolateZoom:function(){return Ug},interrupt:function(){return Sr},intersection:function(){return Gt},interval:function(){return lw},isoFormat:function(){return aw},isoParse:function(){return fw},json:function(){return Mc},lab:function(){return $o},lch:function(){return Io},least:function(){return Pt},leastIndex:function(){return Zt},line:function(){return Z_},lineRadial:function(){return B_},link:function(){return Q_},linkHorizontal:function(){return J_},linkRadial:function(){return tb},linkVertical:function(){return K_},local:function(){return n_},map:function(){return Lt},matcher:function(){return kn},max:function(){return lt},maxIndex:function(){return st},mean:function(){return wt},median:function(){return Mt},medianIndex:function(){return Tt},merge:function(){return At},min:function(){return ht},minIndex:function(){return dt},mode:function(){return St},namespace:function(){return Ln},namespaces:function(){return In},nice:function(){return at},now:function(){return ir},pack:function(){return Xp},packEnclose:function(){return Zp},packSiblings:function(){return jp},pairs:function(){return Nt},partition:function(){return tg},path:function(){return fo},pathRound:function(){return lo},permute:function(){return j},pie:function(){return $_},piecewise:function(){return jg.Z},pointRadial:function(){return I_},pointer:function(){return je},pointers:function(){return r_},polygonArea:function(){return Xg},polygonCentroid:function(){return Gg},polygonContains:function(){return ty},polygonHull:function(){return Kg},polygonLength:function(){return ny},precisionFixed:function(){return af.Z},precisionPrefix:function(){return cf.Z},precisionRound:function(){return ff.Z},quadtree:function(){return Dc},quantile:function(){return vt},quantileIndex:function(){return bt},quantileSorted:function(){return _t},quantize:function(){return Vg},quickselect:function(){return pt},radialArea:function(){return O_},radialLine:function(){return B_},randomBates:function(){return cy},randomBernoulli:function(){return sy},randomBeta:function(){return py},randomBinomial:function(){return gy},randomCauchy:function(){return vy},randomExponential:function(){return fy},randomGamma:function(){return dy},randomGeometric:function(){return hy},randomInt:function(){return iy},randomIrwinHall:function(){return ay},randomLcg:function(){return My},randomLogNormal:function(){return uy},randomLogistic:function(){return _y},randomNormal:function(){return oy},randomPareto:function(){return ly},randomPoisson:function(){return by},randomUniform:function(){return ry},randomWeibull:function(){return yy},range:function(){return kt},rank:function(){return Ct},reduce:function(){return Ht},reverse:function(){return jt},rgb:function(){return Fr.B8},ribbon:function(){return wo},ribbonArrow:function(){return Mo},rollup:function(){return R},rollups:function(){return B},scaleBand:function(){return Ty.scaleBand},scaleDiverging:function(){return Ty.scaleDiverging},scaleDivergingLog:function(){return Ty.scaleDivergingLog},scaleDivergingPow:function(){return Ty.scaleDivergingPow},scaleDivergingSqrt:function(){return Ty.scaleDivergingSqrt},scaleDivergingSymlog:function(){return Ty.scaleDivergingSymlog},scaleIdentity:function(){return Ty.scaleIdentity},scaleImplicit:function(){return Ty.scaleImplicit},scaleLinear:function(){return Ty.scaleLinear},scaleLog:function(){return Ty.scaleLog},scaleOrdinal:function(){return Ty.scaleOrdinal},scalePoint:function(){return Ty.scalePoint},scalePow:function(){return Ty.scalePow},scaleQuantile:function(){return Ty.scaleQuantile},scaleQuantize:function(){return Ty.scaleQuantize},scaleRadial:function(){return Ty.scaleRadial},scaleSequential:function(){return Ty.scaleSequential},scaleSequentialLog:function(){return Ty.scaleSequentialLog},scaleSequentialPow:function(){return Ty.scaleSequentialPow},scaleSequentialQuantile:function(){return Ty.scaleSequentialQuantile},scaleSequentialSqrt:function(){return Ty.scaleSequentialSqrt},scaleSequentialSymlog:function(){return Ty.scaleSequentialSymlog},scaleSqrt:function(){return Ty.scaleSqrt},scaleSymlog:function(){return Ty.scaleSymlog},scaleThreshold:function(){return Ty.scaleThreshold},scaleTime:function(){return Ty.scaleTime},scaleUtc:function(){return Ty.scaleUtc},scan:function(){return zt},schemeAccent:function(){return Ny},schemeBlues:function(){return Av},schemeBrBG:function(){return qy},schemeBuGn:function(){return nv},schemeBuPu:function(){return rv},schemeCategory10:function(){return Sy},schemeDark2:function(){return Ey},schemeGnBu:function(){return ov},schemeGreens:function(){return Nv},schemeGreys:function(){return kv},schemeOrRd:function(){return av},schemeOranges:function(){return Uv},schemePRGn:function(){return Yy},schemePaired:function(){return ky},schemePastel1:function(){return Cy},schemePastel2:function(){return Py},schemePiYG:function(){return By},schemePuBu:function(){return sv},schemePuBuGn:function(){return fv},schemePuOr:function(){return Iy},schemePuRd:function(){return dv},schemePurples:function(){return Pv},schemeRdBu:function(){return Hy},schemeRdGy:function(){return Vy},schemeRdPu:function(){return gv},schemeRdYlBu:function(){return Gy},schemeRdYlGn:function(){return Qy},schemeReds:function(){return Dv},schemeSet1:function(){return Zy},schemeSet2:function(){return Dy},schemeSet3:function(){return zy},schemeSpectral:function(){return Ky},schemeTableau10:function(){return Uy},schemeYlGn:function(){return bv},schemeYlGnBu:function(){return vv},schemeYlOrBr:function(){return xv},schemeYlOrRd:function(){return Mv},select:function(){return qe},selectAll:function(){return i_},selection:function(){return $e},selector:function(){return An},selectorAll:function(){return En},shuffle:function(){return Ut},shuffler:function(){return $t},some:function(){return Ot},sort:function(){return V},stack:function(){return xm},stackOffsetDiverging:function(){return Mm},stackOffsetExpand:function(){return wm},stackOffsetNone:function(){return vm},stackOffsetSilhouette:function(){return Tm},stackOffsetWiggle:function(){return Am},stackOrderAppearance:function(){return Sm},stackOrderAscending:function(){return Em},stackOrderDescending:function(){return Cm},stackOrderInsideOut:function(){return Pm},stackOrderNone:function(){return _m},stackOrderReverse:function(){return Zm},stratify:function(){return ug},style:function(){return ne},subset:function(){return Kt},sum:function(){return qt},superset:function(){return Qt},svg:function(){return Nc},symbol:function(){return Eb},symbolAsterisk:function(){return eb},symbolCircle:function(){return rb},symbolCross:function(){return ib},symbolDiamond:function(){return ab},symbolDiamond2:function(){return cb},symbolPlus:function(){return fb},symbolSquare:function(){return lb},symbolSquare2:function(){return sb},symbolStar:function(){return gb},symbolTimes:function(){return Ab},symbolTriangle:function(){return vb},symbolTriangle2:function(){return bb},symbolWye:function(){return Tb},symbolX:function(){return Ab},symbols:function(){return Sb},symbolsFill:function(){return Sb},symbolsStroke:function(){return Nb},text:function(){return yc},thresholdFreedmanDiaconis:function(){return mt},thresholdScott:function(){return xt},thresholdSturges:function(){return ct},tickFormat:function(){return Ty.tickFormat},tickIncrement:function(){return ot},tickStep:function(){return ut},ticks:function(){return it},timeDay:function(){return nx},timeDays:function(){return ex},timeFormat:function(){return rw.i$},timeFormatDefaultLocale:function(){return rw.ZP},timeFormatLocale:function(){return iw.Z},timeFriday:function(){return dx},timeFridays:function(){return mx},timeHour:function(){return Qm},timeHours:function(){return Jm},timeInterval:function(){return Um},timeMillisecond:function(){return $m},timeMilliseconds:function(){return qm},timeMinute:function(){return Vm},timeMinutes:function(){return Xm},timeMonday:function(){return fx},timeMondays:function(){return yx},timeMonth:function(){return qx},timeMonths:function(){return Fx},timeParse:function(){return rw.Z1},timeSaturday:function(){return px},timeSaturdays:function(){return xx},timeSecond:function(){return Hm},timeSeconds:function(){return jm},timeSunday:function(){return cx},timeSundays:function(){return gx},timeThursday:function(){return hx},timeThursdays:function(){return bx},timeTickInterval:function(){return ew},timeTicks:function(){return nw},timeTuesday:function(){return lx},timeTuesdays:function(){return vx},timeWednesday:function(){return sx},timeWednesdays:function(){return _x},timeWeek:function(){return cx},timeWeeks:function(){return gx},timeYear:function(){return Bx},timeYears:function(){return Ox},timeout:function(){return hr},timer:function(){return ar},timerFlush:function(){return cr},transition:function(){return ii},transpose:function(){return Ft},tree:function(){return gg},treemap:function(){return mg},treemapBinary:function(){return xg},treemapDice:function(){return Kp},treemapResquarify:function(){return Mg},treemapSlice:function(){return yg},treemapSliceDice:function(){return wg},treemapSquarify:function(){return bg},tsv:function(){return mc},tsvFormat:function(){return _a},tsvFormatBody:function(){return ba},tsvFormatRow:function(){return xa},tsvFormatRows:function(){return ma},tsvFormatValue:function(){return wa},tsvParse:function(){return ya},tsvParseRows:function(){return va},union:function(){return tn},unixDay:function(){return ox},unixDays:function(){return ux},utcDay:function(){return rx},utcDays:function(){return ix},utcFormat:function(){return rw.g0},utcFriday:function(){return Ex},utcFridays:function(){return Ux},utcHour:function(){return Km},utcHours:function(){return tx},utcMillisecond:function(){return $m},utcMilliseconds:function(){return qm},utcMinute:function(){return Gm},utcMinutes:function(){return Wm},utcMonday:function(){return Tx},utcMondays:function(){return Px},utcMonth:function(){return Yx},utcMonths:function(){return Rx},utcParse:function(){return rw.wp},utcSaturday:function(){return kx},utcSaturdays:function(){return $x},utcSecond:function(){return Hm},utcSeconds:function(){return jm},utcSunday:function(){return Mx},utcSundays:function(){return Cx},utcThursday:function(){return Nx},utcThursdays:function(){return zx},utcTickInterval:function(){return tw},utcTicks:function(){return Kx},utcTuesday:function(){return Ax},utcTuesdays:function(){return Zx},utcWednesday:function(){return Sx},utcWednesdays:function(){return Dx},utcWeek:function(){return Mx},utcWeeks:function(){return Cx},utcYear:function(){return Ix},utcYears:function(){return Lx},variance:function(){return N},window:function(){return Qn},xml:function(){return Ac},zip:function(){return Rt},zoom:function(){return Tw},zoomIdentity:function(){return pw},zoomTransform:function(){return gw}});const f=o(r),l=f.right,s=f.left,h=o(a).center;var d=l;function p(t,n){if(!((n=+n)>=0))throw new RangeError("invalid r");let e=t.length;if(!((e=Math.floor(e))>=0))throw new RangeError("invalid length");if(!e||!n)return t;const r=m(n),i=t.slice();return r(t,i,0,e,1),r(i,t,0,e,1),r(t,i,0,e,1),t}const g=v(m),y=v((function(t){const n=m(t);return(t,e,r,i,o)=>{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}}));function v(t){return function(n,e,r=e){if(!((e=+e)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:u}=n;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((u=Math.floor(void 0!==u?u:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!u||!e&&!r)return n;const a=e&&t(e),c=r&&t(r),f=i.slice();return a&&c?(_(a,f,i,o,u),_(a,i,f,o,u),_(a,f,i,o,u),b(c,i,f,o,u),b(c,f,i,o,u),b(c,i,f,o,u)):a?(_(a,i,f,o,u),_(a,f,i,o,u),_(a,i,f,o,u)):c&&(b(c,i,f,o,u),b(c,f,i,o,u),b(c,i,f,o,u)),n}}function _(t,n,e,r,i){for(let o=0,u=r*i;o<u;)t(n,e,o,o+=r,1)}function b(t,n,e,r,i){for(let o=0,u=r*i;o<r;++o)t(n,e,o,o+u,r)}function m(t){const n=Math.floor(t);if(n===t)return function(t){const n=2*t+1;return(e,r,i,o,u)=>{if(!((o-=u)>=i))return;let a=t*r[i];const c=u*t;for(let t=i,n=i+c;t<n;t+=u)a+=r[Math.min(o,t)];for(let t=i,f=o;t<=f;t+=u)a+=r[Math.min(o,t+c)],e[t]=a/n,a-=r[Math.max(i,t-c)]}}(t);const e=t-n,r=2*t+1;return(t,i,o,u,a)=>{if(!((u-=a)>=o))return;let c=n*i[o];const f=a*n,l=f+a;for(let n=o,e=o+f;n<e;n+=a)c+=i[Math.min(u,n)];for(let n=o,s=u;n<=s;n+=a)c+=i[Math.min(u,n+f)],t[n]=(c+e*(i[Math.max(o,n-l)]+i[Math.min(u,n+l)]))/r,c-=i[Math.max(o,n-f)]}}function x(t,n){let e=0;if(void 0===n)for(let r of t)null!=r&&(r=+r)>=r&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function w(t){return 0|t.length}function M(t){return!(t>0)}function T(t){return"object"!==typeof t||"length"in t?t:Array.from(t)}function A(...t){const n="function"===typeof t[t.length-1]&&function(t){return n=>t(...n)}(t.pop()),e=(t=t.map(T)).map(w),r=t.length-1,i=new Array(r+1).fill(0),o=[];if(r<0||e.some(M))return o;for(;;){o.push(i.map(((n,e)=>t[e][n])));let u=r;for(;++i[u]===e[u];){if(0===u)return n?o.map(n):o;i[u--]=0}}}function S(t,n){var e=0,r=0;return Float64Array.from(t,void 0===n?t=>e+=+t||0:i=>e+=+n(i,r++,t)||0)}function N(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let u of t)null!=u&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i));else{let u=-1;for(let a of t)null!=(a=n(a,++u,t))&&(a=+a)>=a&&(e=a-i,i+=e/++r,o+=e*(a-i))}if(r>1)return o/(r-1)}function E(t,n){const e=N(t,n);return e?Math.sqrt(e):e}function k(t,n){let e,r;if(void 0===n)for(const i of t)null!=i&&(void 0===e?i>=i&&(e=r=i):(e>i&&(e=i),r<i&&(r=i)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}class C{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,u=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);u&&(n[e++]=u),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}function P(t,n){const e=new C;if(void 0===n)for(let r of t)(r=+r)&&e.add(r);else{let r=-1;for(let i of t)(i=+n(i,++r,t))&&e.add(i)}return+e}function Z(t,n){const e=new C;let r=-1;return Float64Array.from(t,void 0===n?t=>e.add(+t||0):i=>e.add(+n(i,++r,t)||0))}var D=e(909);function z(t){return t}function U(t,...n){return H(t,z,z,n)}function $(t,...n){return H(t,Array.from,z,n)}function q(t,n){for(let e=1,r=n.length;e<r;++e)t=t.flatMap((t=>t.pop().map((([n,e])=>[...t,n,e]))));return t}function F(t,...n){return q($(t,...n),n)}function Y(t,n,...e){return q(B(t,n,...e),e)}function R(t,n,...e){return H(t,z,n,e)}function B(t,n,...e){return H(t,Array.from,n,e)}function O(t,...n){return H(t,z,L,n)}function I(t,...n){return H(t,Array.from,L,n)}function L(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function H(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const u=new D.L,a=r[o++];let c=-1;for(const n of i){const t=a(n,++c,i),e=u.get(t);e?e.push(n):u.set(t,[n])}for(const[n,e]of u)u.set(n,t(e,o));return n(u)}(t,0)}function j(t,n){return Array.from(n,(n=>t[n]))}function V(t,...n){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=G(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>G(e[t],e[n])))),j(t,r)}return t.sort(X(e))}function X(t=r){if(t===r)return G;if("function"!==typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function G(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function W(t,n,e){return(2!==n.length?V(R(t,n,e),(([t,n],[e,i])=>r(n,i)||r(t,e))):V(U(t,e),(([t,e],[i,o])=>n(e,o)||r(t,i)))).map((([t])=>t))}var Q=Array.prototype,J=Q.slice;Q.map;function K(t){return()=>t}const tt=Math.sqrt(50),nt=Math.sqrt(10),et=Math.sqrt(2);function rt(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),u=o>=tt?10:o>=nt?5:o>=et?2:1;let a,c,f;return i<0?(f=Math.pow(10,-i)/u,a=Math.round(t*f),c=Math.round(n*f),a/f<t&&++a,c/f>n&&--c,f=-f):(f=Math.pow(10,i)*u,a=Math.round(t/f),c=Math.round(n/f),a*f<t&&++a,c*f>n&&--c),c<a&&.5<=e&&e<2?rt(t,n,2*e):[a,c,f]}function it(t,n,e){if(!((e=+e)>0))return[];if((t=+t)===(n=+n))return[t];const r=n<t,[i,o,u]=r?rt(n,t,e):rt(t,n,e);if(!(o>=i))return[];const a=o-i+1,c=new Array(a);if(r)if(u<0)for(let f=0;f<a;++f)c[f]=(o-f)/-u;else for(let f=0;f<a;++f)c[f]=(o-f)*u;else if(u<0)for(let f=0;f<a;++f)c[f]=(i+f)/-u;else for(let f=0;f<a;++f)c[f]=(i+f)*u;return c}function ot(t,n,e){return rt(t=+t,n=+n,e=+e)[2]}function ut(t,n,e){e=+e;const r=(n=+n)<(t=+t),i=r?ot(n,t,e):ot(t,n,e);return(r?-1:1)*(i<0?1/-i:i)}function at(t,n,e){let r;for(;;){const i=ot(t,n,e);if(i===r||0===i||!isFinite(i))return[t,n];i>0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}function ct(t){return Math.max(1,Math.ceil(Math.log(x(t))/Math.LN2)+1)}function ft(){var t=z,n=k,e=ct;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,u,a=r.length,c=new Array(a);for(i=0;i<a;++i)c[i]=t(r[i],i,r);var f=n(c),l=f[0],s=f[1],h=e(c,l,s);if(!Array.isArray(h)){const t=s,e=+h;if(n===k&&([l,s]=at(l,s,e)),(h=it(l,s,e))[0]<=l&&(u=ot(l,s,e)),h[h.length-1]>=s)if(t>=s&&n===k){const t=ot(l,s,e);isFinite(t)&&(t>0?s=(Math.floor(s/t)+1)*t:t<0&&(s=(Math.ceil(s*-t)+1)/-t))}else h.pop()}for(var p=h.length,g=0,y=p;h[g]<=l;)++g;for(;h[y-1]>s;)--y;(g||y<p)&&(h=h.slice(g,y),p=y-g);var v,_=new Array(p+1);for(i=0;i<=p;++i)(v=_[i]=[]).x0=i>0?h[i-1]:l,v.x1=i<p?h[i]:s;if(isFinite(u)){if(u>0)for(i=0;i<a;++i)null!=(o=c[i])&&l<=o&&o<=s&&_[Math.min(p,Math.floor((o-l)/u))].push(r[i]);else if(u<0)for(i=0;i<a;++i)if(null!=(o=c[i])&&l<=o&&o<=s){const t=Math.floor((l-o)*u);_[Math.min(p,t+(h[t]<=o))].push(r[i])}}else for(i=0;i<a;++i)null!=(o=c[i])&&l<=o&&o<=s&&_[d(h,o,0,p)].push(r[i]);return _}return r.value=function(n){return arguments.length?(t="function"===typeof n?n:K(n),r):t},r.domain=function(t){return arguments.length?(n="function"===typeof t?t:K([t[0],t[1]]),r):n},r.thresholds=function(t){return arguments.length?(e="function"===typeof t?t:K(Array.isArray(t)?J.call(t):t),r):e},r}function lt(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function st(t,n){let e,r=-1,i=-1;if(void 0===n)for(const o of t)++i,null!=o&&(e<o||void 0===e&&o>=o)&&(e=o,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e<o||void 0===e&&o>=o)&&(e=o,r=i);return r}function ht(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e>r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function dt(t,n){let e,r=-1,i=-1;if(void 0===n)for(const o of t)++i,null!=o&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function pt(t,n,e=0,r=1/0,i){if(n=Math.floor(n),e=Math.floor(Math.max(0,e)),r=Math.floor(Math.min(t.length-1,r)),!(e<=n&&n<=r))return t;for(i=void 0===i?G:X(i);r>e;){if(r-e>600){const o=r-e+1,u=n-e+1,a=Math.log(o),c=.5*Math.exp(2*a/3),f=.5*Math.sqrt(a*c*(o-c)/o)*(u-o/2<0?-1:1);pt(t,n,Math.max(e,Math.floor(n-u*c/o+f)),Math.min(r,Math.floor(n+(o-u)*c/o+f)),i)}const o=t[n];let u=e,a=r;for(gt(t,e,n),i(t[r],o)>0&&gt(t,e,r);u<a;){for(gt(t,u,a),++u,--a;i(t[u],o)<0;)++u;for(;i(t[a],o)>0;)--a}0===i(t[e],o)?gt(t,e,a):(++a,gt(t,a,r)),a<=n&&(e=a+1),n<=a&&(r=a-1)}return t}function gt(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function yt(t,n=r){let e,i=!1;if(1===n.length){let o;for(const u of t){const t=n(u);(i?r(t,o)>0:0===r(t,t))&&(e=u,o=t,i=!0)}}else for(const r of t)(i?n(r,e)>0:0===n(r,r))&&(e=r,i=!0);return e}function vt(t,n,e){if((r=(t=Float64Array.from(c(t,e))).length)&&!isNaN(n=+n)){if(n<=0||r<2)return ht(t);if(n>=1)return lt(t);var r,i=(r-1)*n,o=Math.floor(i),u=lt(pt(t,o).subarray(0,o+1));return u+(ht(t.subarray(o+1))-u)*(i-o)}}function _t(t,n,e=a){if((r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}function bt(t,n,e){if((r=(t=Float64Array.from(c(t,e))).length)&&!isNaN(n=+n)){if(n<=0||r<2)return dt(t);if(n>=1)return st(t);var r,i=Math.floor((r-1)*n),o=pt(Uint32Array.from(t,((t,n)=>n)),i,0,r-1,((n,e)=>G(t[n],t[e])));return yt(o.subarray(0,i+1),(n=>t[n]))}}function mt(t,n,e){const r=x(t),i=vt(t,.75)-vt(t,.25);return r&&i?Math.ceil((e-n)/(2*i*Math.pow(r,-1/3))):1}function xt(t,n,e){const r=x(t),i=E(t);return r&&i?Math.ceil((e-n)*Math.cbrt(r)/(3.49*i)):1}function wt(t,n){let e=0,r=0;if(void 0===n)for(let i of t)null!=i&&(i=+i)>=i&&(++e,r+=i);else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(o=+o)>=o&&(++e,r+=o)}if(e)return r/e}function Mt(t,n){return vt(t,.5,n)}function Tt(t,n){return bt(t,.5,n)}function At(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function St(t,n){const e=new D.L;if(void 0===n)for(let o of t)null!=o&&o>=o&&e.set(o,(e.get(o)||0)+1);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&i>=i&&e.set(i,(e.get(i)||0)+1)}let r,i=0;for(const[o,u]of e)u>i&&(i=u,r=o);return r}function Nt(t,n=Et){const e=[];let r,i=!1;for(const o of t)i&&e.push(n(r,o)),r=o,i=!0;return e}function Et(t,n){return[t,n]}function kt(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function Ct(t,n=r){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let e=Array.from(t);const i=new Float64Array(e.length);2!==n.length&&(e=e.map(n),n=r);const o=(t,r)=>n(e[t],e[r]);let u,a;return(t=Uint32Array.from(e,((t,n)=>n))).sort(n===r?(t,n)=>G(e[t],e[n]):X(o)),t.forEach(((t,n)=>{const e=o(t,void 0===u?t:u);e>=0?((void 0===u||e>0)&&(u=t,a=n),i[t]=a):i[t]=NaN})),i}function Pt(t,n=r){let e,i=!1;if(1===n.length){let o;for(const u of t){const t=n(u);(i?r(t,o)<0:0===r(t,t))&&(e=u,o=t,i=!0)}}else for(const r of t)(i?n(r,e)<0:0===n(r,r))&&(e=r,i=!0);return e}function Zt(t,n=r){if(1===n.length)return dt(t,n);let e,i=-1,o=-1;for(const r of t)++o,(i<0?0===n(r,r):n(r,e)<0)&&(e=r,i=o);return i}function Dt(t,n=r){if(1===n.length)return st(t,n);let e,i=-1,o=-1;for(const r of t)++o,(i<0?0===n(r,r):n(r,e)>0)&&(e=r,i=o);return i}function zt(t,n){const e=Zt(t,n);return e<0?void 0:e}var Ut=$t(Math.random);function $t(t){return function(n,e=0,r=n.length){let i=r-(e=+e);for(;i;){const r=t()*i--|0,o=n[i+e];n[i+e]=n[r+e],n[r+e]=o}return n}}function qt(t,n){let e=0;if(void 0===n)for(let r of t)(r=+r)&&(e+=r);else{let r=-1;for(let i of t)(i=+n(i,++r,t))&&(e+=i)}return e}function Ft(t){if(!(i=t.length))return[];for(var n=-1,e=ht(t,Yt),r=new Array(e);++n<e;)for(var i,o=-1,u=r[n]=new Array(i);++o<i;)u[o]=t[o][n];return r}function Yt(t){return t.length}function Rt(){return Ft(arguments)}function Bt(t,n){if("function"!==typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(!n(r,++e,t))return!1;return!0}function Ot(t,n){if("function"!==typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(n(r,++e,t))return!0;return!1}function It(t,n){if("function"!==typeof n)throw new TypeError("test is not a function");const e=[];let r=-1;for(const i of t)n(i,++r,t)&&e.push(i);return e}function Lt(t,n){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!==typeof n)throw new TypeError("mapper is not a function");return Array.from(t,((e,r)=>n(e,r,t)))}function Ht(t,n,e){if("function"!==typeof n)throw new TypeError("reducer is not a function");const r=t[Symbol.iterator]();let i,o,u=-1;if(arguments.length<3){if(({done:i,value:e}=r.next()),i)return;++u}for(;({done:i,value:o}=r.next()),!i;)e=n(e,o,++u,t);return e}function jt(t){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()}function Vt(t,...n){t=new D.H(t);for(const e of n)for(const n of e)t.delete(n);return t}function Xt(t,n){const e=n[Symbol.iterator](),r=new D.H;for(const i of t){if(r.has(i))return!1;let t,n;for(;({value:t,done:n}=e.next())&&!n;){if(Object.is(i,t))return!1;r.add(t)}}return!0}function Gt(t,...n){t=new D.H(t),n=n.map(Wt);t:for(const e of t)for(const r of n)if(!r.has(e)){t.delete(e);continue t}return t}function Wt(t){return t instanceof D.H?t:new D.H(t)}function Qt(t,n){const e=t[Symbol.iterator](),r=new Set;for(const i of n){const t=Jt(i);if(r.has(t))continue;let n,o;for(;({value:n,done:o}=e.next());){if(o)return!1;const e=Jt(n);if(r.add(e),Object.is(t,e))break}}return!0}function Jt(t){return null!==t&&"object"===typeof t?t.valueOf():t}function Kt(t,n){return Qt(n,t)}function tn(...t){const n=new D.H;for(const e of t)for(const t of e)n.add(t);return n}function nn(t){return t}var en=1,rn=2,on=3,un=4,an=1e-6;function cn(t){return"translate("+t+",0)"}function fn(t){return"translate(0,"+t+")"}function ln(t){return n=>+t(n)}function sn(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function hn(){return!this.__axis}function dn(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,c="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,f=t===en||t===un?-1:1,l=t===un||t===rn?"x":"y",s=t===en||t===on?cn:fn;function h(h){var d=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):nn:i,g=Math.max(o,0)+a,y=n.range(),v=+y[0]+c,_=+y[y.length-1]+c,b=(n.bandwidth?sn:ln)(n.copy(),c),m=h.selection?h.selection():h,x=m.selectAll(".domain").data([null]),w=m.selectAll(".tick").data(d,n).order(),M=w.exit(),T=w.enter().append("g").attr("class","tick"),A=w.select("line"),S=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(T),A=A.merge(T.append("line").attr("stroke","currentColor").attr(l+"2",f*o)),S=S.merge(T.append("text").attr("fill","currentColor").attr(l,f*g).attr("dy",t===en?"0em":t===on?"0.71em":"0.32em")),h!==m&&(x=x.transition(h),w=w.transition(h),A=A.transition(h),S=S.transition(h),M=M.transition(h).attr("opacity",an).attr("transform",(function(t){return isFinite(t=b(t))?s(t+c):this.getAttribute("transform")})),T.attr("opacity",an).attr("transform",(function(t){var n=this.parentNode.__axis;return s((n&&isFinite(n=n(t))?n:b(t))+c)}))),M.remove(),x.attr("d",t===un||t===rn?u?"M"+f*u+","+v+"H"+c+"V"+_+"H"+f*u:"M"+c+","+v+"V"+_:u?"M"+v+","+f*u+"V"+c+"H"+_+"V"+f*u:"M"+v+","+c+"H"+_),w.attr("opacity",1).attr("transform",(function(t){return s(b(t)+c)})),A.attr(l+"2",f*o),S.attr(l,f*g).text(p),m.filter(hn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===rn?"start":t===un?"end":"middle"),m.each((function(){this.__axis=b}))}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return e=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),h):e.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=u=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(u=+t,h):u},h.tickPadding=function(t){return arguments.length?(a=+t,h):a},h.offset=function(t){return arguments.length?(c=+t,h):c},h}function pn(t){return dn(en,t)}function gn(t){return dn(rn,t)}function yn(t){return dn(on,t)}function vn(t){return dn(un,t)}var _n={value:()=>{}};function bn(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new mn(r)}function mn(t){this._=t}function xn(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function wn(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=_n,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}mn.prototype=bn.prototype={constructor:mn,on:function(t,n){var e,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),u=-1,a=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!==typeof n)throw new Error("invalid callback: "+n);for(;++u<a;)if(e=(t=o[u]).type)i[e]=wn(i[e],t.name,n);else if(null==n)for(e in i)i[e]=wn(i[e],t.name,null);return this}for(;++u<a;)if((e=(t=o[u]).type)&&(e=xn(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new mn(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var Mn=bn;function Tn(){}function An(t){return null==t?Tn:function(){return this.querySelector(t)}}function Sn(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function Nn(){return[]}function En(t){return null==t?Nn:function(){return this.querySelectorAll(t)}}function kn(t){return function(){return this.matches(t)}}function Cn(t){return function(n){return n.matches(t)}}var Pn=Array.prototype.find;function Zn(){return this.firstElementChild}var Dn=Array.prototype.filter;function zn(){return Array.from(this.children)}function Un(t){return new Array(t.length)}function $n(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function qn(t,n,e,r,i,o){for(var u,a=0,c=n.length,f=o.length;a<f;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new $n(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function Fn(t,n,e,r,i,o,u){var a,c,f,l=new Map,s=n.length,h=o.length,d=new Array(s);for(a=0;a<s;++a)(c=n[a])&&(d[a]=f=u.call(c,c.__data__,a,n)+"",l.has(f)?i[a]=c:l.set(f,c));for(a=0;a<h;++a)f=u.call(t,o[a],a,o)+"",(c=l.get(f))?(r[a]=c,c.__data__=o[a],l.delete(f)):e[a]=new $n(t,o[a]);for(a=0;a<s;++a)(c=n[a])&&l.get(d[a])===c&&(i[a]=c)}function Yn(t){return t.__data__}function Rn(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}function Bn(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}$n.prototype={constructor:$n,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var On="http://www.w3.org/1999/xhtml",In={svg:"http://www.w3.org/2000/svg",xhtml:On,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ln(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),In.hasOwnProperty(n)?{space:In[n],local:t}:t}function Hn(t){return function(){this.removeAttribute(t)}}function jn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Vn(t,n){return function(){this.setAttribute(t,n)}}function Xn(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Gn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Wn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function Qn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Jn(t){return function(){this.style.removeProperty(t)}}function Kn(t,n,e){return function(){this.style.setProperty(t,n,e)}}function te(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function ne(t,n){return t.style.getPropertyValue(n)||Qn(t).getComputedStyle(t,null).getPropertyValue(n)}function ee(t){return function(){delete this[t]}}function re(t,n){return function(){this[t]=n}}function ie(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function oe(t){return t.trim().split(/^|\s+/)}function ue(t){return t.classList||new ae(t)}function ae(t){this._node=t,this._names=oe(t.getAttribute("class")||"")}function ce(t,n){for(var e=ue(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function fe(t,n){for(var e=ue(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function le(t){return function(){ce(this,t)}}function se(t){return function(){fe(this,t)}}function he(t,n){return function(){(n.apply(this,arguments)?ce:fe)(this,t)}}function de(){this.textContent=""}function pe(t){return function(){this.textContent=t}}function ge(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function ye(){this.innerHTML=""}function ve(t){return function(){this.innerHTML=t}}function _e(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function be(){this.nextSibling&&this.parentNode.appendChild(this)}function me(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function xe(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===On&&n.documentElement.namespaceURI===On?n.createElement(t):n.createElementNS(e,t)}}function we(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Me(t){var n=Ln(t);return(n.local?we:xe)(n)}function Te(){return null}function Ae(){var t=this.parentNode;t&&t.removeChild(this)}function Se(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Ne(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Ee(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.options);++i?n.length=i:delete this.__on}}}function ke(t,n,e){return function(){var r,i=this.__on,o=function(t){return function(n){t.call(this,n,this.__data__)}}(n);if(i)for(var u=0,a=i.length;u<a;++u)if((r=i[u]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),void(r.value=n);this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}function Ce(t,n,e){var r=Qn(t),i=r.CustomEvent;"function"===typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function Pe(t,n){return function(){return Ce(this,t,n)}}function Ze(t,n){return function(){return Ce(this,t,n.apply(this,arguments))}}ae.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var De=[null];function ze(t,n){this._groups=t,this._parents=n}function Ue(){return new ze([[document.documentElement]],De)}ze.prototype=Ue.prototype={constructor:ze,select:function(t){"function"!==typeof t&&(t=An(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,f=r[i]=new Array(c),l=0;l<c;++l)(o=a[l])&&(u=t.call(o,o.__data__,l,a))&&("__data__"in o&&(u.__data__=o.__data__),f[l]=u);return new ze(r,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){return Sn(t.apply(this,arguments))}}(t):En(t);for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,f=0;f<c;++f)(u=a[f])&&(r.push(t.call(u,u.__data__,f,a)),i.push(u));return new ze(r,i)},selectChild:function(t){return this.select(null==t?Zn:function(t){return function(){return Pn.call(this.children,t)}}("function"===typeof t?t:Cn(t)))},selectChildren:function(t){return this.selectAll(null==t?zn:function(t){return function(){return Dn.call(this.children,t)}}("function"===typeof t?t:Cn(t)))},filter:function(t){"function"!==typeof t&&(t=kn(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new ze(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,Yn);var e=n?Fn:qn,r=this._parents,i=this._groups;"function"!==typeof t&&(t=function(t){return function(){return t}}(t));for(var o=i.length,u=new Array(o),a=new Array(o),c=new Array(o),f=0;f<o;++f){var l=r[f],s=i[f],h=s.length,d=Rn(t.call(l,l&&l.__data__,f,r)),p=d.length,g=a[f]=new Array(p),y=u[f]=new Array(p);e(l,s,g,y,c[f]=new Array(h),d,n);for(var v,_,b=0,m=0;b<p;++b)if(v=g[b]){for(b>=m&&(m=b+1);!(_=y[m])&&++m<p;);v._next=_||null}}return(u=new ze(u,r))._enter=a,u._exit=c,u},enter:function(){return new ze(this._enter||this._groups.map(Un),this._parents)},exit:function(){return new ze(this._exit||this._groups.map(Un),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return"function"===typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(i=n(i))&&(i=i.selection()),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,i=e.length,o=r.length,u=Math.min(i,o),a=new Array(i),c=0;c<u;++c)for(var f,l=e[c],s=r[c],h=l.length,d=a[c]=new Array(h),p=0;p<h;++p)(f=l[p]||s[p])&&(d[p]=f);for(;c<i;++c)a[c]=e[c];return new ze(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=Bn);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,f=i[o]=new Array(c),l=0;l<c;++l)(u=a[l])&&(f[l]=u);f.sort(n)}return new ze(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){let t=0;for(const n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=Ln(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?jn:Hn:"function"===typeof n?e.local?Wn:Gn:e.local?Xn:Vn)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?Jn:"function"===typeof n?te:Kn)(t,n,null==e?"":e)):ne(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?ee:"function"===typeof n?ie:re)(t,n)):this.node()[t]},classed:function(t,n){var e=oe(t+"");if(arguments.length<2){for(var r=ue(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"===typeof n?he:n?le:se)(e,n))},text:function(t){return arguments.length?this.each(null==t?de:("function"===typeof t?ge:pe)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ye:("function"===typeof t?_e:ve)(t)):this.node().innerHTML},raise:function(){return this.each(be)},lower:function(){return this.each(me)},append:function(t){var n="function"===typeof t?t:Me(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"===typeof t?t:Me(t),r=null==n?Te:"function"===typeof n?n:An(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Ae)},clone:function(t){return this.select(t?Ne:Se)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?ke:Ee,r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,f=0,l=a.length;f<l;++f)for(r=0,c=a[f];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,n){return this.each(("function"===typeof n?Ze:Pe)(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,i=t[n],o=0,u=i.length;o<u;++o)(r=i[o])&&(yield r)}};var $e=Ue;function qe(t){return"string"===typeof t?new ze([[document.querySelector(t)]],[document.documentElement]):new ze([[t]],De)}const Fe={passive:!1},Ye={capture:!0,passive:!1};function Re(t){t.stopImmediatePropagation()}function Be(t){t.preventDefault(),t.stopImmediatePropagation()}function Oe(t){var n=t.document.documentElement,e=qe(t).on("dragstart.drag",Be,Ye);"onselectstart"in n?e.on("selectstart.drag",Be,Ye):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}function Ie(t,n){var e=t.document.documentElement,r=qe(t).on("dragstart.drag",null);n&&(r.on("click.drag",Be,Ye),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}var Le=e(45326);function He(t){let n;for(;n=t.sourceEvent;)t=n;return t}function je(t,n){if(t=He(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}var Ve,Xe,Ge=0,We=0,Qe=0,Je=1e3,Ke=0,tr=0,nr=0,er="object"===typeof performance&&performance.now?performance:Date,rr="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ir(){return tr||(rr(or),tr=er.now()+nr)}function or(){tr=0}function ur(){this._call=this._time=this._next=null}function ar(t,n,e){var r=new ur;return r.restart(t,n,e),r}function cr(){ir(),++Ge;for(var t,n=Ve;n;)(t=tr-n._time)>=0&&n._call.call(void 0,t),n=n._next;--Ge}function fr(){tr=(Ke=er.now())+nr,Ge=We=0;try{cr()}finally{Ge=0,function(){var t,n,e=Ve,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Ve=n);Xe=t,sr(r)}(),tr=0}}function lr(){var t=er.now(),n=t-Ke;n>Je&&(nr-=n,Ke=t)}function sr(t){Ge||(We&&(We=clearTimeout(We)),t-tr>24?(t<1/0&&(We=setTimeout(fr,t-er.now()-nr)),Qe&&(Qe=clearInterval(Qe))):(Qe||(Ke=er.now(),Qe=setInterval(lr,Je)),Ge=1,rr(fr)))}function hr(t,n,e){var r=new ur;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}ur.prototype=ar.prototype={constructor:ur,restart:function(t,n,e){if("function"!==typeof t)throw new TypeError("callback is not a function");e=(null==e?ir():+e)+(null==n?0:+n),this._next||Xe===this||(Xe?Xe._next=this:Ve=this,Xe=this),this._call=t,this._time=e,sr()},stop:function(){this._call&&(this._call=null,this._time=1/0,sr())}};var dr=Mn("start","end","cancel","interrupt"),pr=[],gr=0,yr=1,vr=2,_r=3,br=4,mr=5,xr=6;function wr(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=yr,e.timer.restart(u,e.delay,e.time),e.delay<=t&&u(t-e.delay)}function u(o){var f,l,s,h;if(e.state!==yr)return c();for(f in i)if((h=i[f]).name===e.name){if(h.state===_r)return hr(u);h.state===br?(h.state=xr,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+f<n&&(h.state=xr,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[f])}if(hr((function(){e.state===_r&&(e.state=br,e.timer.restart(a,e.delay,e.time),a(o))})),e.state=vr,e.on.call("start",t,t.__data__,e.index,e.group),e.state===vr){for(e.state=_r,r=new Array(s=e.tween.length),f=0,l=-1;f<s;++f)(h=e.tween[f].value.call(t,t.__data__,e.index,e.group))&&(r[++l]=h);r.length=l+1}}function a(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(c),e.state=mr,1),o=-1,u=r.length;++o<u;)r[o].call(t,i);e.state===mr&&(e.on.call("end",t,t.__data__,e.index,e.group),c())}function c(){for(var r in e.state=xr,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=ar(o,0,e.time)}(t,e,{name:n,index:r,group:i,on:dr,tween:pr,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:gr})}function Mr(t,n){var e=Ar(t,n);if(e.state>gr)throw new Error("too late; already scheduled");return e}function Tr(t,n){var e=Ar(t,n);if(e.state>_r)throw new Error("too late; already running");return e}function Ar(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Sr(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>vr&&e.state<mr,e.state=xr,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}}var Nr,Er=e(68063),kr=180/Math.PI,Cr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Pr(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*kr,skewX:Math.atan(c)*kr,scaleX:u,scaleY:a}}function Zr(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:(0,Er.Z)(t,i)},{i:c-2,x:(0,Er.Z)(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:(0,Er.Z)(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:(0,Er.Z)(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:(0,Er.Z)(t,e)},{i:a-2,x:(0,Er.Z)(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var Dr=Zr((function(t){const n=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?Cr:Pr(n.a,n.b,n.c,n.d,n.e,n.f)}),"px, ","px)","deg)"),zr=Zr((function(t){return null==t?Cr:(Nr||(Nr=document.createElementNS("http://www.w3.org/2000/svg","g")),Nr.setAttribute("transform",t),(t=Nr.transform.baseVal.consolidate())?Pr((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Cr)}),", ",")",")");function Ur(t,n){var e,r;return function(){var i=Tr(this,t),o=i.tween;if(o!==e)for(var u=0,a=(r=e=o).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}i.tween=r}}function $r(t,n,e){var r,i;if("function"!==typeof e)throw new Error;return function(){var o=Tr(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,f=i.length;c<f;++c)if(i[c].name===n){i[c]=a;break}c===f&&i.push(a)}o.tween=i}}function qr(t,n,e){var r=t._id;return t.each((function(){var t=Tr(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return Ar(t,r).value[n]}}var Fr=e(4447),Yr=e(6354),Rr=e(16773);function Br(t,n){var e;return("number"===typeof n?Er.Z:n instanceof Fr.ZP?Yr.ZP:(e=(0,Fr.ZP)(n))?(n=e,Yr.ZP):Rr.Z)(t,n)}function Or(t){return function(){this.removeAttribute(t)}}function Ir(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Lr(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttribute(t);return u===o?null:u===r?i:i=n(r=u,e)}}function Hr(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===o?null:u===r?i:i=n(r=u,e)}}function jr(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttribute(t))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttribute(t)}}function Vr(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttributeNS(t.space,t.local))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttributeNS(t.space,t.local)}}function Xr(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}(t,i)),e}return i._value=n,i}function Gr(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}(t,i)),e}return i._value=n,i}function Wr(t,n){return function(){Mr(this,t).delay=+n.apply(this,arguments)}}function Qr(t,n){return n=+n,function(){Mr(this,t).delay=n}}function Jr(t,n){return function(){Tr(this,t).duration=+n.apply(this,arguments)}}function Kr(t,n){return n=+n,function(){Tr(this,t).duration=n}}var ti=$e.prototype.constructor;function ni(t){return function(){this.style.removeProperty(t)}}var ei=0;function ri(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function ii(t){return $e().transition(t)}function oi(){return++ei}var ui=$e.prototype;function ai(t){return t*t*t}function ci(t){return--t*t*t+1}function fi(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}ri.prototype=ii.prototype={constructor:ri,select:function(t){var n=this._name,e=this._id;"function"!==typeof t&&(t=An(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,f=r[u],l=f.length,s=o[u]=new Array(l),h=0;h<l;++h)(a=f[h])&&(c=t.call(a,a.__data__,h,f))&&("__data__"in a&&(c.__data__=a.__data__),s[h]=c,wr(s[h],n,e,h,s,Ar(a,e)));return new ri(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!==typeof t&&(t=En(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,f=r[a],l=f.length,s=0;s<l;++s)if(c=f[s]){for(var h,d=t.call(c,c.__data__,s,f),p=Ar(c,e),g=0,y=d.length;g<y;++g)(h=d[g])&&wr(h,n,e,g,d,p);o.push(d),u.push(c)}return new ri(o,u,n,e)},selectChild:ui.selectChild,selectChildren:ui.selectChildren,filter:function(t){"function"!==typeof t&&(t=kn(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new ri(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],l=e[a],s=f.length,h=u[a]=new Array(s),d=0;d<s;++d)(c=f[d]||l[d])&&(h[d]=c);for(;a<r;++a)u[a]=n[a];return new ri(u,this._parents,this._name,this._id)},selection:function(){return new ti(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=oi(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)if(u=a[f]){var l=Ar(u,n);wr(u,t,e,f,a,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new ri(r,this._parents,t,e)},call:ui.call,nodes:ui.nodes,node:ui.node,size:ui.size,empty:ui.empty,each:ui.each,on:function(t,n){var e=this._id;return arguments.length<2?Ar(this.node(),e).on.on(t):this.each(function(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?Mr:Tr;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}(e,t,n))},attr:function(t,n){var e=Ln(t),r="transform"===e?zr:Br;return this.attrTween(t,"function"===typeof n?(e.local?Vr:jr)(e,r,qr(this,"attr."+t,n)):null==n?(e.local?Ir:Or)(e):(e.local?Hr:Lr)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!==typeof n)throw new Error;var r=Ln(t);return this.tween(e,(r.local?Xr:Gr)(r,n))},style:function(t,n,e){var r="transform"===(t+="")?Dr:Br;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=ne(this,t),u=(this.style.removeProperty(t),ne(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,ni(t)):"function"===typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var u=ne(this,t),a=e(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=ne(this,t)),u===c?null:u===r&&c===i?o:(i=c,o=n(r=u,a))}}(t,r,qr(this,"style."+t,n))).each(function(t,n){var e,r,i,o,u="style."+n,a="end."+u;return function(){var c=Tr(this,t),f=c.on,l=null==c.value[u]?o||(o=ni(n)):void 0;f===e&&i===l||(r=(e=f).copy()).on(a,i=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var u=ne(this,t);return u===o?null:u===r?i:i=n(r=u,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!==typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(qr(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!==typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=Ar(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?Ur:$r)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"===typeof t?Wr:Qr)(n,t)):Ar(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"===typeof t?Jr:Kr)(n,t)):Ar(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!==typeof n)throw new Error;return function(){Tr(this,t).ease=n}}(n,t)):Ar(this.node(),n).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,n){return function(){var e=n.apply(this,arguments);if("function"!==typeof e)throw new Error;Tr(this,t).ease=e}}(this._id,t))},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise((function(o,u){var a={value:u},c={value:function(){0===--i&&o()}};e.each((function(){var e=Tr(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(c)),e.on=n})),0===i&&o()}))},[Symbol.iterator]:ui[Symbol.iterator]};var li={time:null,delay:0,duration:250,ease:fi};function si(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error(`transition ${n} not found`);return e}$e.prototype.interrupt=function(t){return this.each((function(){Sr(this,t)}))},$e.prototype.transition=function(t){var n,e;t instanceof ri?(n=t._id,t=t._name):(n=oi(),(e=li).time=ir(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)(u=a[f])&&wr(u,t,n,f,a,e||si(u,n));return new ri(r,this._parents,t,n)};var hi=[null];function di(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>yr&&e.name===n)return new ri([[t]],hi,n,+r);return null}var pi=t=>()=>t;function gi(t,{sourceEvent:n,target:e,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function yi(t){t.preventDefault(),t.stopImmediatePropagation()}var vi={name:"drag"},_i={name:"space"},bi={name:"handle"},mi={name:"center"};const{abs:xi,max:wi,min:Mi}=Math;function Ti(t){return[+t[0],+t[1]]}function Ai(t){return[Ti(t[0]),Ti(t[1])]}var Si={name:"x",handles:["w","e"].map(zi),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Ni={name:"y",handles:["n","s"].map(zi),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Ei={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(zi),input:function(t){return null==t?null:Ai(t)},output:function(t){return t}},ki={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ci={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Pi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Zi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Di={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function zi(t){return{type:t}}function Ui(t){return!t.ctrlKey&&!t.button}function $i(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function qi(){return navigator.maxTouchPoints||"ontouchstart"in this}function Fi(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Yi(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Ri(){return Ii(Si)}function Bi(){return Ii(Ni)}function Oi(){return Ii(Ei)}function Ii(t){var n,e=$i,r=Ui,i=qi,o=!0,u=Mn("start","brush","end"),a=6;function c(n){var e=n.property("__brush",g).selectAll(".overlay").data([zi("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ki.overlay).merge(e).each((function(){var t=Fi(this).extent;qe(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([zi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ki.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return ki[t.type]})),n.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=qe(this),n=Fi(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-a/2:n[0][0]-a/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-a/2:n[0][1]-a/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+a:a})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+a:a}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new s(t,n,e):r}function s(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function h(e){if((!n||e.touches)&&r.apply(this,arguments)){var i,u,a,c,s,h,d,p,g,y,v,_=this,b=e.target.__data__.type,m="selection"===(o&&e.metaKey?b="overlay":b)?vi:o&&e.altKey?mi:bi,x=t===Ni?null:Zi[b],w=t===Si?null:Di[b],M=Fi(_),T=M.extent,A=M.selection,S=T[0][0],N=T[0][1],E=T[1][0],k=T[1][1],C=0,P=0,Z=x&&w&&o&&e.shiftKey,D=Array.from(e.touches||[e],(t=>{const n=t.identifier;return(t=je(t,_)).point0=t.slice(),t.identifier=n,t}));Sr(_);var z=l(_,arguments,!0).beforestart();if("overlay"===b){A&&(g=!0);const n=[D[0],D[1]||D[0]];M.selection=A=[[i=t===Ni?S:Mi(n[0][0],n[1][0]),a=t===Si?N:Mi(n[0][1],n[1][1])],[s=t===Ni?E:wi(n[0][0],n[1][0]),d=t===Si?k:wi(n[0][1],n[1][1])]],D.length>1&&Y(e)}else i=A[0][0],a=A[0][1],s=A[1][0],d=A[1][1];u=i,c=a,h=s,p=d;var U=qe(_).attr("pointer-events","none"),$=U.selectAll(".overlay").attr("cursor",ki[b]);if(e.touches)z.moved=F,z.ended=R;else{var q=qe(e.view).on("mousemove.brush",F,!0).on("mouseup.brush",R,!0);o&&q.on("keydown.brush",(function(t){switch(t.keyCode){case 16:Z=x&&w;break;case 18:m===bi&&(x&&(s=h-C*x,i=u+C*x),w&&(d=p-P*w,a=c+P*w),m=mi,Y(t));break;case 32:m!==bi&&m!==mi||(x<0?s=h-C:x>0&&(i=u-C),w<0?d=p-P:w>0&&(a=c-P),m=_i,$.attr("cursor",ki.selection),Y(t));break;default:return}yi(t)}),!0).on("keyup.brush",(function(t){switch(t.keyCode){case 16:Z&&(y=v=Z=!1,Y(t));break;case 18:m===mi&&(x<0?s=h:x>0&&(i=u),w<0?d=p:w>0&&(a=c),m=bi,Y(t));break;case 32:m===_i&&(t.altKey?(x&&(s=h-C*x,i=u+C*x),w&&(d=p-P*w,a=c+P*w),m=mi):(x<0?s=h:x>0&&(i=u),w<0?d=p:w>0&&(a=c),m=bi),$.attr("cursor",ki[b]),Y(t));break;default:return}yi(t)}),!0),Oe(e.view)}f.call(_),z.start(e,m.name)}function F(t){for(const n of t.changedTouches||[t])for(const t of D)t.identifier===n.identifier&&(t.cur=je(n,_));if(Z&&!y&&!v&&1===D.length){const t=D[0];xi(t.cur[0]-t[0])>xi(t.cur[1]-t[1])?v=!0:y=!0}for(const n of D)n.cur&&(n[0]=n.cur[0],n[1]=n.cur[1]);g=!0,yi(t),Y(t)}function Y(t){const n=D[0],e=n.point0;var r;switch(C=n[0]-e[0],P=n[1]-e[1],m){case _i:case vi:x&&(C=wi(S-i,Mi(E-s,C)),u=i+C,h=s+C),w&&(P=wi(N-a,Mi(k-d,P)),c=a+P,p=d+P);break;case bi:D[1]?(x&&(u=wi(S,Mi(E,D[0][0])),h=wi(S,Mi(E,D[1][0])),x=1),w&&(c=wi(N,Mi(k,D[0][1])),p=wi(N,Mi(k,D[1][1])),w=1)):(x<0?(C=wi(S-i,Mi(E-i,C)),u=i+C,h=s):x>0&&(C=wi(S-s,Mi(E-s,C)),u=i,h=s+C),w<0?(P=wi(N-a,Mi(k-a,P)),c=a+P,p=d):w>0&&(P=wi(N-d,Mi(k-d,P)),c=a,p=d+P));break;case mi:x&&(u=wi(S,Mi(E,i-C*x)),h=wi(S,Mi(E,s+C*x))),w&&(c=wi(N,Mi(k,a-P*w)),p=wi(N,Mi(k,d+P*w)))}h<u&&(x*=-1,r=i,i=s,s=r,r=u,u=h,h=r,b in Ci&&$.attr("cursor",ki[b=Ci[b]])),p<c&&(w*=-1,r=a,a=d,d=r,r=c,c=p,p=r,b in Pi&&$.attr("cursor",ki[b=Pi[b]])),M.selection&&(A=M.selection),y&&(u=A[0][0],h=A[1][0]),v&&(c=A[0][1],p=A[1][1]),A[0][0]===u&&A[0][1]===c&&A[1][0]===h&&A[1][1]===p||(M.selection=[[u,c],[h,p]],f.call(_),z.brush(t,m.name))}function R(t){if(function(t){t.stopImmediatePropagation()}(t),t.touches){if(t.touches.length)return;n&&clearTimeout(n),n=setTimeout((function(){n=null}),500)}else Ie(t.view,g),q.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);U.attr("pointer-events","all"),$.attr("cursor",ki.overlay),M.selection&&(A=M.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}(A)&&(M.selection=null,f.call(_)),z.end(t,m.name)}}function d(t){l(this,arguments).moved(t)}function p(t){l(this,arguments).ended(t)}function g(){var n=this.__brush||{selection:null};return n.extent=Ai(e.apply(this,arguments)),n.dim=t,n}return c.move=function(n,e,r){n.tween?n.on("start.brush",(function(t){l(this,arguments).beforestart().start(t)})).on("interrupt.brush end.brush",(function(t){l(this,arguments).end(t)})).tween("brush",(function(){var n=this,r=n.__brush,i=l(n,arguments),o=r.selection,u=t.input("function"===typeof e?e.apply(this,arguments):e,r.extent),a=(0,Le.Z)(o,u);function c(t){r.selection=1===t&&null===u?null:a(t),f.call(n),i.brush()}return null!==o&&null!==u?c:c(1)})):n.each((function(){var n=this,i=arguments,o=n.__brush,u=t.input("function"===typeof e?e.apply(n,i):e,o.extent),a=l(n,i).beforestart();Sr(n),o.selection=null===u?null:u,f.call(n),a.start(r).brush(r).end(r)}))},c.clear=function(t,n){c.move(t,null,n)},s.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,n){return this.starting?(this.starting=!1,this.emit("start",t,n)):this.emit("brush",t),this},brush:function(t,n){return this.emit("brush",t,n),this},end:function(t,n){return 0===--this.active&&(delete this.state.emitter,this.emit("end",t,n)),this},emit:function(n,e,r){var i=qe(this.that).datum();u.call(n,this.that,new gi(n,{sourceEvent:e,target:c,selection:t.output(this.state.selection),mode:r,dispatch:u}),i)}},c.extent=function(t){return arguments.length?(e="function"===typeof t?t:pi(Ai(t)),c):e},c.filter=function(t){return arguments.length?(r="function"===typeof t?t:pi(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"===typeof t?t:pi(!!t),c):i},c.handleSize=function(t){return arguments.length?(a=+t,c):a},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=u.on.apply(u,arguments);return t===u?c:t},c}var Li=Math.abs,Hi=Math.cos,ji=Math.sin,Vi=Math.PI,Xi=Vi/2,Gi=2*Vi,Wi=Math.max,Qi=1e-12;function Ji(t,n){return Array.from({length:n-t},((n,e)=>t+e))}function Ki(){return eo(!1,!1)}function to(){return eo(!1,!0)}function no(){return eo(!0,!1)}function eo(t,n){var e=0,r=null,i=null,o=null;function u(u){var a,c=u.length,f=new Array(c),l=Ji(0,c),s=new Array(c*c),h=new Array(c),d=0;u=Float64Array.from({length:c*c},n?(t,n)=>u[n%c][n/c|0]:(t,n)=>u[n/c|0][n%c]);for(let n=0;n<c;++n){let e=0;for(let r=0;r<c;++r)e+=u[n*c+r]+t*u[r*c+n];d+=f[n]=e}a=(d=Wi(0,Gi-e*c)/d)?e:Gi/c;{let n=0;r&&l.sort(((t,n)=>r(f[t],f[n])));for(const e of l){const r=n;if(t){const t=Ji(1+~c,c).filter((t=>t<0?u[~t*c+e]:u[e*c+t]));i&&t.sort(((t,n)=>i(t<0?-u[~t*c+e]:u[e*c+t],n<0?-u[~n*c+e]:u[e*c+n])));for(const r of t)if(r<0){(s[~r*c+e]||(s[~r*c+e]={source:null,target:null})).target={index:e,startAngle:n,endAngle:n+=u[~r*c+e]*d,value:u[~r*c+e]}}else{(s[e*c+r]||(s[e*c+r]={source:null,target:null})).source={index:e,startAngle:n,endAngle:n+=u[e*c+r]*d,value:u[e*c+r]}}h[e]={index:e,startAngle:r,endAngle:n,value:f[e]}}else{const t=Ji(0,c).filter((t=>u[e*c+t]||u[t*c+e]));i&&t.sort(((t,n)=>i(u[e*c+t],u[e*c+n])));for(const r of t){let t;if(e<r?(t=s[e*c+r]||(s[e*c+r]={source:null,target:null}),t.source={index:e,startAngle:n,endAngle:n+=u[e*c+r]*d,value:u[e*c+r]}):(t=s[r*c+e]||(s[r*c+e]={source:null,target:null}),t.target={index:e,startAngle:n,endAngle:n+=u[e*c+r]*d,value:u[e*c+r]},e===r&&(t.source=t.target)),t.source&&t.target&&t.source.value<t.target.value){const n=t.source;t.source=t.target,t.target=n}}h[e]={index:e,startAngle:r,endAngle:n,value:f[e]}}n+=a}}return(s=Object.values(s)).groups=h,o?s.sort(o):s}return u.padAngle=function(t){return arguments.length?(e=Wi(0,t),u):e},u.sortGroups=function(t){return arguments.length?(r=t,u):r},u.sortSubgroups=function(t){return arguments.length?(i=t,u):i},u.sortChords=function(t){return arguments.length?(null==t?o=null:(n=t,o=function(t,e){return n(t.source.value+t.target.value,e.source.value+e.target.value)})._=t,u):o&&o._;var n},u}const ro=Math.PI,io=2*ro,oo=1e-6,uo=io-oo;function ao(t){this._+=t[0];for(let n=1,e=t.length;n<e;++n)this._+=arguments[n]+t[n]}class co{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?ao:function(t){let n=Math.floor(t);if(!(n>=0))throw new Error(`invalid digits: ${t}`);if(n>15)return ao;const e=10**n;return function(t){this._+=t[0];for(let n=1,r=t.length;n<r;++n)this._+=Math.round(arguments[n]*e)/e+t[n]}}(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,e,r){this._append`Q${+t},${+n},${this._x1=+e},${this._y1=+r}`}bezierCurveTo(t,n,e,r,i,o){this._append`C${+t},${+n},${+e},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,n,e,r,i){if(t=+t,n=+n,e=+e,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,u=this._y1,a=e-t,c=r-n,f=o-t,l=u-n,s=f*f+l*l;if(null===this._x1)this._append`M${this._x1=t},${this._y1=n}`;else if(s>oo)if(Math.abs(l*a-c*f)>oo&&i){let h=e-o,d=r-u,p=a*a+c*c,g=h*h+d*d,y=Math.sqrt(p),v=Math.sqrt(s),_=i*Math.tan((ro-Math.acos((p+s-g)/(2*y*v)))/2),b=_/v,m=_/y;Math.abs(b-1)>oo&&this._append`L${t+b*f},${n+b*l}`,this._append`A${i},${i},0,0,${+(l*h>f*d)},${this._x1=t+m*a},${this._y1=n+m*c}`}else this._append`L${this._x1=t},${this._y1=n}`;else;}arc(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw new Error(`negative radius: ${e}`);let u=e*Math.cos(r),a=e*Math.sin(r),c=t+u,f=n+a,l=1^o,s=o?r-i:i-r;null===this._x1?this._append`M${c},${f}`:(Math.abs(this._x1-c)>oo||Math.abs(this._y1-f)>oo)&&this._append`L${c},${f}`,e&&(s<0&&(s=s%io+io),s>uo?this._append`A${e},${e},0,1,${l},${t-u},${n-a}A${e},${e},0,1,${l},${this._x1=c},${this._y1=f}`:s>oo&&this._append`A${e},${e},0,${+(s>=ro)},${l},${this._x1=t+e*Math.cos(i)},${this._y1=n+e*Math.sin(i)}`)}rect(t,n,e,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+r}h${-e}Z`}toString(){return this._}}function fo(){return new co}function lo(t=3){return new co(+t)}fo.prototype=co.prototype;var so=Array.prototype.slice;function ho(t){return function(){return t}}function po(t){return t.source}function go(t){return t.target}function yo(t){return t.radius}function vo(t){return t.startAngle}function _o(t){return t.endAngle}function bo(){return 0}function mo(){return 10}function xo(t){var n=po,e=go,r=yo,i=yo,o=vo,u=_o,a=bo,c=null;function f(){var f,l=n.apply(this,arguments),s=e.apply(this,arguments),h=a.apply(this,arguments)/2,d=so.call(arguments),p=+r.apply(this,(d[0]=l,d)),g=o.apply(this,d)-Xi,y=u.apply(this,d)-Xi,v=+i.apply(this,(d[0]=s,d)),_=o.apply(this,d)-Xi,b=u.apply(this,d)-Xi;if(c||(c=f=fo()),h>Qi&&(Li(y-g)>2*h+Qi?y>g?(g+=h,y-=h):(g-=h,y+=h):g=y=(g+y)/2,Li(b-_)>2*h+Qi?b>_?(_+=h,b-=h):(_-=h,b+=h):_=b=(_+b)/2),c.moveTo(p*Hi(g),p*ji(g)),c.arc(0,0,p,g,y),g!==_||y!==b)if(t){var m=v-+t.apply(this,arguments),x=(_+b)/2;c.quadraticCurveTo(0,0,m*Hi(_),m*ji(_)),c.lineTo(v*Hi(x),v*ji(x)),c.lineTo(m*Hi(b),m*ji(b))}else c.quadraticCurveTo(0,0,v*Hi(_),v*ji(_)),c.arc(0,0,v,_,b);if(c.quadraticCurveTo(0,0,p*Hi(g),p*ji(g)),c.closePath(),f)return c=null,f+""||null}return t&&(f.headRadius=function(n){return arguments.length?(t="function"===typeof n?n:ho(+n),f):t}),f.radius=function(t){return arguments.length?(r=i="function"===typeof t?t:ho(+t),f):r},f.sourceRadius=function(t){return arguments.length?(r="function"===typeof t?t:ho(+t),f):r},f.targetRadius=function(t){return arguments.length?(i="function"===typeof t?t:ho(+t),f):i},f.startAngle=function(t){return arguments.length?(o="function"===typeof t?t:ho(+t),f):o},f.endAngle=function(t){return arguments.length?(u="function"===typeof t?t:ho(+t),f):u},f.padAngle=function(t){return arguments.length?(a="function"===typeof t?t:ho(+t),f):a},f.source=function(t){return arguments.length?(n=t,f):n},f.target=function(t){return arguments.length?(e=t,f):e},f.context=function(t){return arguments.length?(c=null==t?null:t,f):c},f}function wo(){return xo()}function Mo(){return xo(mo)}var To=e(49531);const Ao=Math.PI/180,So=180/Math.PI,No=.96422,Eo=1,ko=.82521,Co=4/29,Po=6/29,Zo=3*Po*Po,Do=Po*Po*Po;function zo(t){if(t instanceof qo)return new qo(t.l,t.a,t.b,t.opacity);if(t instanceof Ho)return jo(t);t instanceof Fr.Ss||(t=(0,Fr.SU)(t));var n,e,r=Bo(t.r),i=Bo(t.g),o=Bo(t.b),u=Fo((.2225045*r+.7168786*i+.0606169*o)/Eo);return r===i&&i===o?n=e=u:(n=Fo((.4360747*r+.3850649*i+.1430804*o)/No),e=Fo((.0139322*r+.0971045*i+.7141733*o)/ko)),new qo(116*u-16,500*(n-u),200*(u-e),t.opacity)}function Uo(t,n){return new qo(t,0,0,null==n?1:n)}function $o(t,n,e,r){return 1===arguments.length?zo(t):new qo(t,n,e,null==r?1:r)}function qo(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function Fo(t){return t>Do?Math.pow(t,1/3):t/Zo+Co}function Yo(t){return t>Po?t*t*t:Zo*(t-Co)}function Ro(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Bo(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Oo(t){if(t instanceof Ho)return new Ho(t.h,t.c,t.l,t.opacity);if(t instanceof qo||(t=zo(t)),0===t.a&&0===t.b)return new Ho(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*So;return new Ho(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Io(t,n,e,r){return 1===arguments.length?Oo(t):new Ho(e,n,t,null==r?1:r)}function Lo(t,n,e,r){return 1===arguments.length?Oo(t):new Ho(t,n,e,null==r?1:r)}function Ho(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function jo(t){if(isNaN(t.h))return new qo(t.l,0,0,t.opacity);var n=t.h*Ao;return new qo(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}(0,To.Z)(qo,$o,(0,To.l)(Fr.Il,{brighter(t){return new qo(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new qo(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return n=No*Yo(n),t=Eo*Yo(t),e=ko*Yo(e),new Fr.Ss(Ro(3.1338561*n-1.6168667*t-.4906146*e),Ro(-.9787684*n+1.9161415*t+.033454*e),Ro(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),(0,To.Z)(Ho,Lo,(0,To.l)(Fr.Il,{brighter(t){return new Ho(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new Ho(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return jo(this).rgb()}}));var Vo=-.14861,Xo=1.78277,Go=-.29227,Wo=-.90649,Qo=1.97294,Jo=Qo*Wo,Ko=Qo*Xo,tu=Xo*Go-Wo*Vo;function nu(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);t instanceof Fr.Ss||(t=(0,Fr.SU)(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(tu*r+Jo*n-Ko*e)/(tu+Jo-Ko),o=r-i,u=(Qo*(e-i)-Go*o)/Wo,a=Math.sqrt(u*u+o*o)/(Qo*i*(1-i)),c=a?Math.atan2(u,o)*So-120:NaN;return new eu(c<0?c+360:c,a,i,t.opacity)}(t):new eu(t,n,e,null==r?1:r)}function eu(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function ru(t){return Math.max(1,Math.ceil(Math.log(function(t,n){let e=0;if(void 0===n)for(let r of t)null!=r&&(r=+r)>=r&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}(t))/Math.LN2)+1)}(0,To.Z)(eu,nu,(0,To.l)(Fr.Il,{brighter(t){return t=null==t?Fr.J5:Math.pow(Fr.J5,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Fr.xV:Math.pow(Fr.xV,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*Ao,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Fr.Ss(255*(n+e*(Vo*r+Xo*i)),255*(n+e*(Go*r+Wo*i)),255*(n+e*(Qo*r)),this.opacity)}}));const iu=Math.sqrt(50),ou=Math.sqrt(10),uu=Math.sqrt(2);function au(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),u=o>=iu?10:o>=ou?5:o>=uu?2:1;let a,c,f;return i<0?(f=Math.pow(10,-i)/u,a=Math.round(t*f),c=Math.round(n*f),a/f<t&&++a,c/f>n&&--c,f=-f):(f=Math.pow(10,i)*u,a=Math.round(t/f),c=Math.round(n/f),a*f<t&&++a,c*f>n&&--c),c<a&&.5<=e&&e<2?au(t,n,2*e):[a,c,f]}function cu(t,n,e){if(!((e=+e)>0))return[];if((t=+t)===(n=+n))return[t];const r=n<t,[i,o,u]=r?au(n,t,e):au(t,n,e);if(!(o>=i))return[];const a=o-i+1,c=new Array(a);if(r)if(u<0)for(let f=0;f<a;++f)c[f]=(o-f)/-u;else for(let f=0;f<a;++f)c[f]=(o-f)*u;else if(u<0)for(let f=0;f<a;++f)c[f]=(i+f)/-u;else for(let f=0;f<a;++f)c[f]=(i+f)*u;return c}function fu(t,n,e){return au(t=+t,n=+n,e=+e)[2]}var lu=Array.prototype.slice;function su(t,n){return t-n}var hu=t=>()=>t;function du(t,n){for(var e,r=-1,i=n.length;++r<i;)if(e=pu(t,n[r]))return e;return 0}function pu(t,n){for(var e=n[0],r=n[1],i=-1,o=0,u=t.length,a=u-1;o<u;a=o++){var c=t[o],f=c[0],l=c[1],s=t[a],h=s[0],d=s[1];if(gu(c,s,n))return 0;l>r!==d>r&&e<(h-f)*(r-l)/(d-l)+f&&(i=-i)}return i}function gu(t,n,e){var r,i,o,u;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])===(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],u=n[r],i<=o&&o<=u||u<=o&&o<=i)}function yu(){}var vu=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function _u(){var t=1,n=1,e=ru,r=a;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(su);else{const e=function(t,n){let e,r;if(void 0===n)for(const i of t)null!=i&&(void 0===e?i>=i&&(e=r=i):(e>i&&(e=i),r<i&&(r=i)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}(t,bu);for(n=cu(...function(t,n,e){let r;for(;;){const i=fu(t,n,e);if(i===r||0===i||!isFinite(i))return[t,n];i>0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}(e[0],e[1],n),n);n[n.length-1]>=e[1];)n.pop();for(;n[1]<e[0];)n.shift()}return n.map((n=>o(t,n)))}function o(e,i){const o=null==i?NaN:+i;if(isNaN(o))throw new Error(`invalid value: ${i}`);var a=[],c=[];return function(e,r,i){var o,a,c,f,l,s,h=new Array,d=new Array;o=a=-1,f=mu(e[0],r),vu[f<<1].forEach(p);for(;++o<t-1;)c=f,f=mu(e[o+1],r),vu[c|f<<1].forEach(p);vu[f<<0].forEach(p);for(;++a<n-1;){for(o=-1,f=mu(e[a*t+t],r),l=mu(e[a*t],r),vu[f<<1|l<<2].forEach(p);++o<t-1;)c=f,f=mu(e[a*t+t+o+1],r),s=l,l=mu(e[a*t+o+1],r),vu[c|f<<1|l<<2|s<<3].forEach(p);vu[f|l<<3].forEach(p)}o=-1,l=e[a*t]>=r,vu[l<<2].forEach(p);for(;++o<t-1;)s=l,l=mu(e[a*t+o+1],r),vu[l<<2|s<<3].forEach(p);function p(t){var n,e,r=[t[0][0]+o,t[0][1]+a],c=[t[1][0]+o,t[1][1]+a],f=u(r),l=u(c);(n=d[f])?(e=h[l])?(delete d[n.end],delete h[e.start],n===e?(n.ring.push(c),i(n.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(c),d[n.end=l]=n):(n=h[l])?(e=d[f])?(delete h[n.start],delete d[e.end],n===e?(n.ring.push(c),i(n.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete h[n.start],n.ring.unshift(r),h[n.start=f]=n):h[f]=d[l]={start:f,end:l,ring:[r,c]}}vu[l<<3].forEach(p)}(e,o,(function(t){r(t,e,o),function(t){for(var n=0,e=t.length,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n<e;)r+=t[n-1][1]*t[n][0]-t[n-1][0]*t[n][1];return r}(t)>0?a.push([t]):c.push(t)})),c.forEach((function(t){for(var n,e=0,r=a.length;e<r;++e)if(-1!==du((n=a[e])[0],t))return void n.push(t)})),{type:"MultiPolygon",value:i,coordinates:a}}function u(n){return 2*n[0]+n[1]*(t+1)*4}function a(e,r,i){e.forEach((function(e){var o=e[0],u=e[1],a=0|o,c=0|u,f=xu(r[c*t+a]);o>0&&o<t&&a===o&&(e[0]=wu(o,xu(r[c*t+a-1]),f,i)),u>0&&u<n&&c===u&&(e[1]=wu(u,xu(r[(c-1)*t+a]),f,i))}))}return i.contour=o,i.size=function(e){if(!arguments.length)return[t,n];var r=Math.floor(e[0]),o=Math.floor(e[1]);if(!(r>=0&&o>=0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"===typeof t?t:Array.isArray(t)?hu(lu.call(t)):hu(t),i):e},i.smooth=function(t){return arguments.length?(r=t?a:yu,i):r===a},i}function bu(t){return isFinite(t)?t:NaN}function mu(t,n){return null!=t&&+t>=n}function xu(t){return null==t||isNaN(t=+t)?-1/0:t}function wu(t,n,e,r){const i=r-n,o=e-n,u=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(u)?t:t+u-.5}const Mu=Tu(Nu);Tu((function(t){const n=Nu(t);return(t,e,r,i,o)=>{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}}));function Tu(t){return function(n,e,r=e){if(!((e=+e)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:u}=n;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((u=Math.floor(void 0!==u?u:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!u||!e&&!r)return n;const a=e&&t(e),c=r&&t(r),f=i.slice();return a&&c?(Au(a,f,i,o,u),Au(a,i,f,o,u),Au(a,f,i,o,u),Su(c,i,f,o,u),Su(c,f,i,o,u),Su(c,i,f,o,u)):a?(Au(a,i,f,o,u),Au(a,f,i,o,u),Au(a,i,f,o,u)):c&&(Su(c,i,f,o,u),Su(c,f,i,o,u),Su(c,i,f,o,u)),n}}function Au(t,n,e,r,i){for(let o=0,u=r*i;o<u;)t(n,e,o,o+=r,1)}function Su(t,n,e,r,i){for(let o=0,u=r*i;o<r;++o)t(n,e,o,o+u,r)}function Nu(t){const n=Math.floor(t);if(n===t)return function(t){const n=2*t+1;return(e,r,i,o,u)=>{if(!((o-=u)>=i))return;let a=t*r[i];const c=u*t;for(let t=i,n=i+c;t<n;t+=u)a+=r[Math.min(o,t)];for(let t=i,f=o;t<=f;t+=u)a+=r[Math.min(o,t+c)],e[t]=a/n,a-=r[Math.max(i,t-c)]}}(t);const e=t-n,r=2*t+1;return(t,i,o,u,a)=>{if(!((u-=a)>=o))return;let c=n*i[o];const f=a*n,l=f+a;for(let n=o,e=o+f;n<e;n+=a)c+=i[Math.min(u,n)];for(let n=o,s=u;n<=s;n+=a)c+=i[Math.min(u,n+f)],t[n]=(c+e*(i[Math.max(o,n-l)]+i[Math.min(u,n+l)]))/r,c-=i[Math.max(o,n-f)]}}function Eu(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function ku(t){return t[0]}function Cu(t){return t[1]}function Pu(){return 1}function Zu(){var t=ku,n=Cu,e=Pu,r=960,i=500,o=20,u=2,a=3*o,c=r+2*a>>u,f=i+2*a>>u,l=hu(20);function s(r){var i=new Float32Array(c*f),l=Math.pow(2,-u),s=-1;for(const o of r){var h=(t(o,++s,r)+a)*l,d=(n(o,s,r)+a)*l,p=+e(o,s,r);if(p&&h>=0&&h<c&&d>=0&&d<f){var g=Math.floor(h),y=Math.floor(d),v=h-g-.5,_=d-y-.5;i[g+y*c]+=(1-v)*(1-_)*p,i[g+1+y*c]+=v*(1-_)*p,i[g+1+(y+1)*c]+=v*_*p,i[g+(y+1)*c]+=(1-v)*_*p}}return Mu({data:i,width:c,height:f},o*l),i}function h(t){var n=s(t),e=l(n),r=Math.pow(2,2*u);return Array.isArray(e)||(e=cu(Number.MIN_VALUE,Eu(n)/r,e)),_u().size([c,f]).thresholds(e.map((t=>t*r)))(n).map(((t,n)=>(t.value=+e[n],d(t))))}function d(t){return t.coordinates.forEach(p),t}function p(t){t.forEach(g)}function g(t){t.forEach(y)}function y(t){t[0]=t[0]*Math.pow(2,u)-a,t[1]=t[1]*Math.pow(2,u)-a}function v(){return c=r+2*(a=3*o)>>u,f=i+2*a>>u,h}return h.contours=function(t){var n=s(t),e=_u().size([c,f]),r=Math.pow(2,2*u),i=t=>{t=+t;var i=d(e.contour(n,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>Eu(n)/r}),i},h.x=function(n){return arguments.length?(t="function"===typeof n?n:hu(+n),h):t},h.y=function(t){return arguments.length?(n="function"===typeof t?t:hu(+t),h):n},h.weight=function(t){return arguments.length?(e="function"===typeof t?t:hu(+t),h):e},h.size=function(t){if(!arguments.length)return[r,i];var n=+t[0],e=+t[1];if(!(n>=0&&e>=0))throw new Error("invalid size");return r=n,i=e,v()},h.cellSize=function(t){if(!arguments.length)return 1<<u;if(!((t=+t)>=1))throw new Error("invalid cell size");return u=Math.floor(Math.log(t)/Math.LN2),v()},h.thresholds=function(t){return arguments.length?(l="function"===typeof t?t:Array.isArray(t)?hu(lu.call(t)):hu(t),h):l},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,v()},h}var Du=e(50667);const zu=1e-6;class Uu{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){const r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>zu||Math.abs(this._y1-i)>zu)&&(this._+="L"+r+","+i),e&&(this._+=`A${e},${e},0,1,1,${t-e},${n}A${e},${e},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,n,e,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+e}v${+r}h${-e}Z`}value(){return this._||null}}class $u{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class qu{constructor(t,[n,e,r,i]=[0,0,960,500]){if(!((r=+r)>=(n=+n))||!((i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:e},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,e.length/3*2);for(let h,d,p=0,g=0,y=e.length;p<y;p+=3,g+=2){const n=2*e[p],r=2*e[p+1],o=2*e[p+2],u=t[n],a=t[n+1],c=t[r],f=t[r+1],l=t[o],s=t[o+1],y=c-u,v=f-a,_=l-u,b=s-a,m=2*(y*b-v*_);if(Math.abs(m)<1e-9){let n=1e9;const r=2*e[0];n*=Math.sign((t[r]-u)*b-(t[r+1]-a)*_),h=(u+l)/2-n*b,d=(a+s)/2+n*_}else{const t=1/m,n=y*y+v*v,e=_*_+b*b;h=u+(b*n-v*e)*t,d=a+(y*e-_*n)*t}i[g]=h,i[g+1]=d}let o,u,a,c=n[n.length-1],f=4*c,l=t[2*c],s=t[2*c+1];r.fill(0);for(let h=0;h<n.length;++h)c=n[h],o=f,u=l,a=s,f=4*c,l=t[2*c],s=t[2*c+1],r[o+2]=r[f]=a-s,r[o+3]=r[f+1]=l-u}render(t){const n=null==t?t=new Uu:void 0,{delaunay:{halfedges:e,inedges:r,hull:i},circumcenters:o,vectors:u}=this;if(i.length<=1)return null;for(let f=0,l=e.length;f<l;++f){const n=e[f];if(n<f)continue;const r=2*Math.floor(f/3),i=2*Math.floor(n/3),u=o[r],a=o[r+1],c=o[i],l=o[i+1];this._renderSegment(u,a,c,l,t)}let a,c=i[i.length-1];for(let f=0;f<i.length;++f){a=c,c=i[f];const n=2*Math.floor(r[c]/3),e=o[n],l=o[n+1],s=4*a,h=this._project(e,l,u[s+2],u[s+3]);h&&this._renderSegment(e,l,h[0],h[1],t)}return n&&n.value()}renderBounds(t){const n=null==t?t=new Uu:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),n&&n.value()}renderCell(t,n){const e=null==n?n=new Uu:void 0,r=this._clip(t);if(null===r||!r.length)return;n.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let o=2;o<i;o+=2)r[o]===r[o-2]&&r[o+1]===r[o-1]||n.lineTo(r[o],r[o+1]);return n.closePath(),e&&e.value()}*cellPolygons(){const{delaunay:{points:t}}=this;for(let n=0,e=t.length/2;n<e;++n){const t=this.cellPolygon(n);t&&(t.index=n,yield t)}}cellPolygon(t){const n=new $u;return this.renderCell(t,n),n.value()}_renderSegment(t,n,e,r,i){let o;const u=this._regioncode(t,n),a=this._regioncode(e,r);0===u&&0===a?(i.moveTo(t,n),i.lineTo(e,r)):(o=this._clipSegment(t,n,e,r,u,a))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(t,n,e){return(n=+n)===n&&(e=+e)===e&&this.delaunay._step(t,n,e)===t}*neighbors(t){const n=this._clip(t);if(n)for(const e of this.delaunay.neighbors(t)){const t=this._clip(e);if(t)t:for(let r=0,i=n.length;r<i;r+=2)for(let o=0,u=t.length;o<u;o+=2)if(n[r]===t[o]&&n[r+1]===t[o+1]&&n[(r+2)%i]===t[(o+u-2)%u]&&n[(r+3)%i]===t[(o+u-1)%u]){yield e;break t}}}_cell(t){const{circumcenters:n,delaunay:{inedges:e,halfedges:r,triangles:i}}=this,o=e[t];if(-1===o)return null;const u=[];let a=o;do{const e=Math.floor(a/3);if(u.push(n[2*e],n[2*e+1]),a=a%3===2?a-2:a+1,i[a]!==t)break;a=r[a]}while(a!==o&&-1!==a);return u}_clip(t){if(0===t&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const n=this._cell(t);if(null===n)return null;const{vectors:e}=this,r=4*t;return this._simplify(e[r]||e[r+1]?this._clipInfinite(t,n,e[r],e[r+1],e[r+2],e[r+3]):this._clipFinite(t,n))}_clipFinite(t,n){const e=n.length;let r,i,o,u,a=null,c=n[e-2],f=n[e-1],l=this._regioncode(c,f),s=0;for(let h=0;h<e;h+=2)if(r=c,i=f,c=n[h],f=n[h+1],o=l,l=this._regioncode(c,f),0===o&&0===l)u=s,s=0,a?a.push(c,f):a=[c,f];else{let n,e,h,d,p;if(0===o){if(null===(n=this._clipSegment(r,i,c,f,o,l)))continue;[e,h,d,p]=n}else{if(null===(n=this._clipSegment(c,f,r,i,l,o)))continue;[d,p,e,h]=n,u=s,s=this._edgecode(e,h),u&&s&&this._edge(t,u,s,a,a.length),a?a.push(e,h):a=[e,h]}u=s,s=this._edgecode(d,p),u&&s&&this._edge(t,u,s,a,a.length),a?a.push(d,p):a=[d,p]}if(a)u=s,s=this._edgecode(a[0],a[1]),u&&s&&this._edge(t,u,s,a,a.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return a}_clipSegment(t,n,e,r,i,o){const u=i<o;for(u&&([t,n,e,r,i,o]=[e,r,t,n,o,i]);;){if(0===i&&0===o)return u?[e,r,t,n]:[t,n,e,r];if(i&o)return null;let a,c,f=i||o;8&f?(a=t+(e-t)*(this.ymax-n)/(r-n),c=this.ymax):4&f?(a=t+(e-t)*(this.ymin-n)/(r-n),c=this.ymin):2&f?(c=n+(r-n)*(this.xmax-t)/(e-t),a=this.xmax):(c=n+(r-n)*(this.xmin-t)/(e-t),a=this.xmin),i?(t=a,n=c,i=this._regioncode(t,n)):(e=a,r=c,o=this._regioncode(e,r))}}_clipInfinite(t,n,e,r,i,o){let u,a=Array.from(n);if((u=this._project(a[0],a[1],e,r))&&a.unshift(u[0],u[1]),(u=this._project(a[a.length-2],a[a.length-1],i,o))&&a.push(u[0],u[1]),a=this._clipFinite(t,a))for(let c,f=0,l=a.length,s=this._edgecode(a[l-2],a[l-1]);f<l;f+=2)c=s,s=this._edgecode(a[f],a[f+1]),c&&s&&(f=this._edge(t,c,s,a,f),l=a.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(a=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return a}_edge(t,n,e,r,i){for(;n!==e;){let e,o;switch(n){case 5:n=4;continue;case 4:n=6,e=this.xmax,o=this.ymin;break;case 6:n=2;continue;case 2:n=10,e=this.xmax,o=this.ymax;break;case 10:n=8;continue;case 8:n=9,e=this.xmin,o=this.ymax;break;case 9:n=1;continue;case 1:n=5,e=this.xmin,o=this.ymin}r[i]===e&&r[i+1]===o||!this.contains(t,e,o)||(r.splice(i,0,e,o),i+=2)}return i}_project(t,n,e,r){let i,o,u,a=1/0;if(r<0){if(n<=this.ymin)return null;(i=(this.ymin-n)/r)<a&&(u=this.ymin,o=t+(a=i)*e)}else if(r>0){if(n>=this.ymax)return null;(i=(this.ymax-n)/r)<a&&(u=this.ymax,o=t+(a=i)*e)}if(e>0){if(t>=this.xmax)return null;(i=(this.xmax-t)/e)<a&&(o=this.xmax,u=n+(a=i)*r)}else if(e<0){if(t<=this.xmin)return null;(i=(this.xmin-t)/e)<a&&(o=this.xmin,u=n+(a=i)*r)}return[o,u]}_edgecode(t,n){return(t===this.xmin?1:t===this.xmax?2:0)|(n===this.ymin?4:n===this.ymax?8:0)}_regioncode(t,n){return(t<this.xmin?1:t>this.xmax?2:0)|(n<this.ymin?4:n>this.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let n=0;n<t.length;n+=2){const e=(n+2)%t.length,r=(n+4)%t.length;(t[n]===t[e]&&t[e]===t[r]||t[n+1]===t[e+1]&&t[e+1]===t[r+1])&&(t.splice(e,2),n-=2)}t.length||(t=null)}return t}}const Fu=2*Math.PI,Yu=Math.pow;function Ru(t){return t[0]}function Bu(t){return t[1]}function Ou(t,n,e){return[t+Math.sin(t+n)*e,n+Math.cos(t-n)*e]}class Iu{static from(t,n=Ru,e=Bu,r){return new Iu("length"in t?function(t,n,e,r){const i=t.length,o=new Float64Array(2*i);for(let u=0;u<i;++u){const i=t[u];o[2*u]=n.call(r,i,u,t),o[2*u+1]=e.call(r,i,u,t)}return o}(t,n,e,r):Float64Array.from(function*(t,n,e,r){let i=0;for(const o of t)yield n.call(r,o,i,t),yield e.call(r,o,i,t),++i}(t,n,e,r)))}constructor(t){this._delaunator=new Du.Z(t),this.inedges=new Int32Array(t.length/2),this._hullIndex=new Int32Array(t.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const t=this._delaunator,n=this.points;if(t.hull&&t.hull.length>2&&function(t){const{triangles:n,coords:e}=t;for(let r=0;r<n.length;r+=3){const t=2*n[r],i=2*n[r+1],o=2*n[r+2];if((e[o]-e[t])*(e[i+1]-e[t+1])-(e[i]-e[t])*(e[o+1]-e[t+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},((t,n)=>n)).sort(((t,e)=>n[2*t]-n[2*e]||n[2*t+1]-n[2*e+1]));const t=this.collinear[0],e=this.collinear[this.collinear.length-1],r=[n[2*t],n[2*t+1],n[2*e],n[2*e+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let o=0,u=n.length/2;o<u;++o){const t=Ou(n[2*o],n[2*o+1],i);n[2*o]=t[0],n[2*o+1]=t[1]}this._delaunator=new Du.Z(n)}else delete this.collinear;const e=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),u=this._hullIndex.fill(-1);for(let a=0,c=e.length;a<c;++a){const t=i[a%3===2?a-2:a+1];-1!==e[a]&&-1!==o[t]||(o[t]=a)}for(let a=0,c=r.length;a<c;++a)u[r[a]]=a;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new qu(this,t)}*neighbors(t){const{inedges:n,hull:e,_hullIndex:r,halfedges:i,triangles:o,collinear:u}=this;if(u){const n=u.indexOf(t);return n>0&&(yield u[n-1]),void(n<u.length-1&&(yield u[n+1]))}const a=n[t];if(-1===a)return;let c=a,f=-1;do{if(yield f=o[c],c=c%3===2?c-2:c+1,o[c]!==t)return;if(c=i[c],-1===c){const n=e[(r[t]+1)%e.length];return void(n!==f&&(yield n))}}while(c!==a)}find(t,n,e=0){if((t=+t)!==t||(n=+n)!==n)return-1;const r=e;let i;for(;(i=this._step(e,t,n))>=0&&i!==e&&i!==r;)e=i;return i}_step(t,n,e){const{inedges:r,hull:i,_hullIndex:o,halfedges:u,triangles:a,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let f=t,l=Yu(n-c[2*t],2)+Yu(e-c[2*t+1],2);const s=r[t];let h=s;do{let r=a[h];const s=Yu(n-c[2*r],2)+Yu(e-c[2*r+1],2);if(s<l&&(l=s,f=r),h=h%3===2?h-2:h+1,a[h]!==t)break;if(h=u[h],-1===h){if(h=i[(o[t]+1)%i.length],h!==r&&Yu(n-c[2*h],2)+Yu(e-c[2*h+1],2)<l)return h;break}}while(h!==s);return f}render(t){const n=null==t?t=new Uu:void 0,{points:e,halfedges:r,triangles:i}=this;for(let o=0,u=r.length;o<u;++o){const n=r[o];if(n<o)continue;const u=2*i[o],a=2*i[n];t.moveTo(e[u],e[u+1]),t.lineTo(e[a],e[a+1])}return this.renderHull(t),n&&n.value()}renderPoints(t,n){void 0!==n||t&&"function"===typeof t.moveTo||(n=t,t=null),n=void 0==n?2:+n;const e=null==t?t=new Uu:void 0,{points:r}=this;for(let i=0,o=r.length;i<o;i+=2){const e=r[i],o=r[i+1];t.moveTo(e+n,o),t.arc(e,o,n,0,Fu)}return e&&e.value()}renderHull(t){const n=null==t?t=new Uu:void 0,{hull:e,points:r}=this,i=2*e[0],o=e.length;t.moveTo(r[i],r[i+1]);for(let u=1;u<o;++u){const n=2*e[u];t.lineTo(r[n],r[n+1])}return t.closePath(),n&&n.value()}hullPolygon(){const t=new $u;return this.renderHull(t),t.value()}renderTriangle(t,n){const e=null==n?n=new Uu:void 0,{points:r,triangles:i}=this,o=2*i[t*=3],u=2*i[t+1],a=2*i[t+2];return n.moveTo(r[o],r[o+1]),n.lineTo(r[u],r[u+1]),n.lineTo(r[a],r[a+1]),n.closePath(),e&&e.value()}*trianglePolygons(){const{triangles:t}=this;for(let n=0,e=t.length/3;n<e;++n)yield this.trianglePolygon(n)}trianglePolygon(t){const n=new $u;return this.renderTriangle(t,n),n.value()}}var Lu=t=>()=>t;function Hu(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:u,y:a,dx:c,dy:f,dispatch:l}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:u,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:l}})}function ju(t){return!t.ctrlKey&&!t.button}function Vu(){return this.parentNode}function Xu(t,n){return null==n?{x:t.x,y:t.y}:n}function Gu(){return navigator.maxTouchPoints||"ontouchstart"in this}function Wu(){var t,n,e,r,i=ju,o=Vu,u=Xu,a=Gu,c={},f=Mn("start","drag","end"),l=0,s=0;function h(t){t.on("mousedown.drag",d).filter(a).on("touchstart.drag",y).on("touchmove.drag",v,Fe).on("touchend.drag touchcancel.drag",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(u,a){if(!r&&i.call(this,u,a)){var c=b(this,o.call(this,u,a),u,a,"mouse");c&&(qe(u.view).on("mousemove.drag",p,Ye).on("mouseup.drag",g,Ye),Oe(u.view),Re(u),e=!1,t=u.clientX,n=u.clientY,c("start",u))}}function p(r){if(Be(r),!e){var i=r.clientX-t,o=r.clientY-n;e=i*i+o*o>s}c.mouse("drag",r)}function g(t){qe(t.view).on("mousemove.drag mouseup.drag",null),Ie(t.view,e),Be(t),c.mouse("end",t)}function y(t,n){if(i.call(this,t,n)){var e,r,u=t.changedTouches,a=o.call(this,t,n),c=u.length;for(e=0;e<c;++e)(r=b(this,a,t,n,u[e].identifier,u[e]))&&(Re(t),r("start",t,u[e]))}}function v(t){var n,e,r=t.changedTouches,i=r.length;for(n=0;n<i;++n)(e=c[r[n].identifier])&&(Be(t),e("drag",t,r[n]))}function _(t){var n,e,i=t.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),n=0;n<o;++n)(e=c[i[n].identifier])&&(Re(t),e("end",t,i[n]))}function b(t,n,e,r,i,o){var a,s,d,p=f.copy(),g=je(o||e,n);if(null!=(d=u.call(t,new Hu("beforestart",{sourceEvent:e,target:h,identifier:i,active:l,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return a=d.x-g[0]||0,s=d.y-g[1]||0,function e(o,u,f){var y,v=g;switch(o){case"start":c[i]=e,y=l++;break;case"end":delete c[i],--l;case"drag":g=je(f||u,n),y=l}p.call(o,t,new Hu(o,{sourceEvent:u,subject:d,target:h,identifier:i,active:y,x:g[0]+a,y:g[1]+s,dx:g[0]-v[0],dy:g[1]-v[1],dispatch:p}),r)}}return h.filter=function(t){return arguments.length?(i="function"===typeof t?t:Lu(!!t),h):i},h.container=function(t){return arguments.length?(o="function"===typeof t?t:Lu(t),h):o},h.subject=function(t){return arguments.length?(u="function"===typeof t?t:Lu(t),h):u},h.touchable=function(t){return arguments.length?(a="function"===typeof t?t:Lu(!!t),h):a},h.on=function(){var t=f.on.apply(f,arguments);return t===f?h:t},h.clickDistance=function(t){return arguments.length?(s=(t=+t)*t,h):Math.sqrt(s)},h}Hu.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Qu={},Ju={},Ku=34,ta=10,na=13;function ea(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'})).join(",")+"}")}function ra(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}function ia(t,n){var e=t+"",r=e.length;return r<n?new Array(n-r+1).join(0)+e:e}function oa(t){var n,e=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((n=t.getUTCFullYear())<0?"-"+ia(-n,6):n>9999?"+"+ia(n,6):ia(n,4))+"-"+ia(t.getUTCMonth()+1,2)+"-"+ia(t.getUTCDate(),2)+(o?"T"+ia(e,2)+":"+ia(r,2)+":"+ia(i,2)+"."+ia(o,3)+"Z":i?"T"+ia(e,2)+":"+ia(r,2)+":"+ia(i,2)+"Z":r||e?"T"+ia(e,2)+":"+ia(r,2)+"Z":"")}function ua(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,c=o<=0,f=!1;function l(){if(c)return Ju;if(f)return f=!1,Qu;var n,r,i=u;if(t.charCodeAt(i)===Ku){for(;u++<o&&t.charCodeAt(u)!==Ku||t.charCodeAt(++u)===Ku;);return(n=u)>=o?c=!0:(r=t.charCodeAt(u++))===ta?f=!0:r===na&&(f=!0,t.charCodeAt(u)===ta&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u<o;){if((r=t.charCodeAt(n=u++))===ta)f=!0;else if(r===na)f=!0,t.charCodeAt(u)===ta&&++u;else if(r!==e)continue;return t.slice(i,n)}return c=!0,t.slice(i,o)}for(t.charCodeAt(o-1)===ta&&--o,t.charCodeAt(o-1)===na&&--o;(r=l())!==Ju;){for(var s=[];r!==Qu&&r!==Ju;)s.push(r),r=l();n&&null==(s=n(s,a++))||i.push(s)}return i}function i(n,e){return n.map((function(n){return e.map((function(t){return u(n[t])})).join(t)}))}function o(n){return n.map(u).join(t)}function u(t){return null==t?"":t instanceof Date?oa(t):n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=ea(t);return function(r,i){return n(e(r),i,t)}}(t,n):ea(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=ra(n)),[e.map(u).join(t)].concat(i(n,e)).join("\n")},formatBody:function(t,n){return null==n&&(n=ra(t)),i(t,n).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:u}}var aa=ua(","),ca=aa.parse,fa=aa.parseRows,la=aa.format,sa=aa.formatBody,ha=aa.formatRows,da=aa.formatRow,pa=aa.formatValue,ga=ua("\t"),ya=ga.parse,va=ga.parseRows,_a=ga.format,ba=ga.formatBody,ma=ga.formatRows,xa=ga.formatRow,wa=ga.formatValue;function Ma(t){for(var n in t){var e,r,i=t[n].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(e=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Ta&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=e;else i=null;t[n]=i}return t}const Ta=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),Aa=t=>+t;function Sa(t){return t*t}function Na(t){return t*(2-t)}function Ea(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var ka=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Ca=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Pa=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Za=Math.PI,Da=Za/2;function za(t){return 1===+t?1:1-Math.cos(t*Da)}function Ua(t){return Math.sin(t*Da)}function $a(t){return(1-Math.cos(Za*t))/2}function qa(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Fa(t){return qa(1-+t)}function Ya(t){return 1-qa(t)}function Ra(t){return((t*=2)<=1?qa(1-t):2-qa(t-1))/2}function Ba(t){return 1-Math.sqrt(1-t*t)}function Oa(t){return Math.sqrt(1- --t*t)}function Ia(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var La=4/11,Ha=6/11,ja=8/11,Va=3/4,Xa=9/11,Ga=10/11,Wa=15/16,Qa=21/22,Ja=63/64,Ka=1/La/La;function tc(t){return 1-nc(1-t)}function nc(t){return(t=+t)<La?Ka*t*t:t<ja?Ka*(t-=Ha)*t+Va:t<Ga?Ka*(t-=Xa)*t+Wa:Ka*(t-=Qa)*t+Ja}function ec(t){return((t*=2)<=1?1-nc(1-t):nc(t-1)+1)/2}var rc=1.70158,ic=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(rc),oc=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(rc),uc=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(rc),ac=2*Math.PI,cc=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=ac);function i(t){return n*qa(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*ac)},i.period=function(e){return t(n,e)},i}(1,.3),fc=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=ac);function i(t){return 1-n*qa(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*ac)},i.period=function(e){return t(n,e)},i}(1,.3),lc=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=ac);function i(t){return((t=2*t-1)<0?n*qa(-t)*Math.sin((r-t)/e):2-n*qa(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*ac)},i.period=function(e){return t(n,e)},i}(1,.3);function sc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function hc(t,n){return fetch(t,n).then(sc)}function dc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function pc(t,n){return fetch(t,n).then(dc)}function gc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function yc(t,n){return fetch(t,n).then(gc)}function vc(t){return function(n,e,r){return 2===arguments.length&&"function"===typeof e&&(r=e,e=void 0),yc(n,e).then((function(n){return t(n,r)}))}}function _c(t,n,e,r){3===arguments.length&&"function"===typeof e&&(r=e,e=void 0);var i=ua(t);return yc(n,e).then((function(t){return i.parse(t,r)}))}var bc=vc(ca),mc=vc(ya);function xc(t,n){return new Promise((function(e,r){var i=new Image;for(var o in n)i[o]=n[o];i.onerror=r,i.onload=function(){e(i)},i.src=t}))}function wc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function Mc(t,n){return fetch(t,n).then(wc)}function Tc(t){return(n,e)=>yc(n,e).then((n=>(new DOMParser).parseFromString(n,t)))}var Ac=Tc("application/xml"),Sc=Tc("text/html"),Nc=Tc("image/svg+xml");function Ec(t,n){var e,r=1;function i(){var i,o,u=e.length,a=0,c=0;for(i=0;i<u;++i)a+=(o=e[i]).x,c+=o.y;for(a=(a/u-t)*r,c=(c/u-n)*r,i=0;i<u;++i)(o=e[i]).x-=a,o.y-=c}return null==t&&(t=0),null==n&&(n=0),i.initialize=function(t){e=t},i.x=function(n){return arguments.length?(t=+n,i):t},i.y=function(t){return arguments.length?(n=+t,i):n},i.strength=function(t){return arguments.length?(r=+t,i):r},i}function kc(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,u,a,c,f,l,s,h,d=t._root,p={data:r},g=t._x0,y=t._y0,v=t._x1,_=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+v)/2))?g=o:v=o,(l=e>=(u=(y+_)/2))?y=u:_=u,i=d,!(d=d[s=l<<1|f]))return i[s]=p,t;if(a=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===a&&e===c)return p.next=d,i?i[s]=p:t._root=p,t;do{i=i?i[s]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+v)/2))?g=o:v=o,(l=e>=(u=(y+_)/2))?y=u:_=u}while((s=l<<1|f)===(h=(c>=u)<<1|a>=o));return i[h]=d,i[s]=p,t}function Cc(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Pc(t){return t[0]}function Zc(t){return t[1]}function Dc(t,n,e){var r=new zc(null==n?Pc:n,null==e?Zc:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function zc(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Uc(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var $c=Dc.prototype=zc.prototype;function qc(t){return function(){return t}}function Fc(t){return 1e-6*(t()-.5)}function Yc(t){return t.x+t.vx}function Rc(t){return t.y+t.vy}function Bc(t){var n,e,r,i=1,o=1;function u(){for(var t,u,c,f,l,s,h,d=n.length,p=0;p<o;++p)for(u=Dc(n,Yc,Rc).visitAfter(a),t=0;t<d;++t)c=n[t],s=e[c.index],h=s*s,f=c.x+c.vx,l=c.y+c.vy,u.visit(g);function g(t,n,e,o,u){var a=t.data,d=t.r,p=s+d;if(!a)return n>f+p||o<f-p||e>l+p||u<l-p;if(a.index>c.index){var g=f-a.x-a.vx,y=l-a.y-a.vy,v=g*g+y*y;v<p*p&&(0===g&&(v+=(g=Fc(r))*g),0===y&&(v+=(y=Fc(r))*y),v=(p-(v=Math.sqrt(v)))/v*i,c.vx+=(g*=v)*(p=(d*=d)/(h+d)),c.vy+=(y*=v)*p,a.vx-=g*(p=1-p),a.vy-=y*p)}}}function a(t){if(t.data)return t.r=e[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function c(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r<o;++r)i=n[r],e[i.index]=+t(i,r,n)}}return"function"!==typeof t&&(t=qc(null==t?1:+t)),u.initialize=function(t,e){n=t,r=e,c()},u.iterations=function(t){return arguments.length?(o=+t,u):o},u.strength=function(t){return arguments.length?(i=+t,u):i},u.radius=function(n){return arguments.length?(t="function"===typeof n?n:qc(+n),c(),u):t},u}function Oc(t){return t.index}function Ic(t,n){var e=t.get(n);if(!e)throw new Error("node not found: "+n);return e}function Lc(t){var n,e,r,i,o,u,a=Oc,c=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},f=qc(30),l=1;function s(r){for(var i=0,a=t.length;i<l;++i)for(var c,f,s,h,d,p,g,y=0;y<a;++y)f=(c=t[y]).source,h=(s=c.target).x+s.vx-f.x-f.vx||Fc(u),d=s.y+s.vy-f.y-f.vy||Fc(u),h*=p=((p=Math.sqrt(h*h+d*d))-e[y])/p*r*n[y],d*=p,s.vx-=h*(g=o[y]),s.vy-=d*g,f.vx+=h*(g=1-g),f.vy+=d*g}function h(){if(r){var u,c,f=r.length,l=t.length,s=new Map(r.map(((t,n)=>[a(t,n,r),t])));for(u=0,i=new Array(f);u<l;++u)(c=t[u]).index=u,"object"!==typeof c.source&&(c.source=Ic(s,c.source)),"object"!==typeof c.target&&(c.target=Ic(s,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(u=0,o=new Array(l);u<l;++u)c=t[u],o[u]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);n=new Array(l),d(),e=new Array(l),p()}}function d(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+c(t[e],e,t)}function p(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+f(t[n],n,t)}return null==t&&(t=[]),s.initialize=function(t,n){r=t,u=n,h()},s.links=function(n){return arguments.length?(t=n,h(),s):t},s.id=function(t){return arguments.length?(a=t,s):a},s.iterations=function(t){return arguments.length?(l=+t,s):l},s.strength=function(t){return arguments.length?(c="function"===typeof t?t:qc(+t),d(),s):c},s.distance=function(t){return arguments.length?(f="function"===typeof t?t:qc(+t),p(),s):f},s}$c.copy=function(){var t,n,e=new zc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Uc(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=Uc(n));return e},$c.add=function(t){const n=+this._x.call(null,t),e=+this._y.call(null,t);return kc(this.cover(n,e),n,e,t)},$c.addAll=function(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),c=1/0,f=1/0,l=-1/0,s=-1/0;for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(u[e]=r,a[e]=i,r<c&&(c=r),r>l&&(l=r),i<f&&(f=i),i>s&&(s=i));if(c>l||f>s)return this;for(this.cover(c,f).cover(l,s),e=0;e<o;++e)kc(this,u[e],a[e],t[e]);return this},$c.cover=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{for(var u,a,c=i-e||1,f=this._root;e>t||t>=i||r>n||n>=o;)switch(a=(n<r)<<1|t<e,(u=new Array(4))[a]=f,f=u,c*=2,a){case 0:i=e+c,o=r+c;break;case 1:e=i-c,o=r+c;break;case 2:i=e+c,r=o-c;break;case 3:e=i-c,r=o-c}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},$c.data=function(){var t=[];return this.visit((function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)})),t},$c.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},$c.find=function(t,n,e){var r,i,o,u,a,c,f,l=this._x0,s=this._y0,h=this._x1,d=this._y1,p=[],g=this._root;for(g&&p.push(new Cc(g,l,s,h,d)),null==e?e=1/0:(l=t-e,s=n-e,h=t+e,d=n+e,e*=e);c=p.pop();)if(!(!(g=c.node)||(i=c.x0)>h||(o=c.y0)>d||(u=c.x1)<l||(a=c.y1)<s))if(g.length){var y=(i+u)/2,v=(o+a)/2;p.push(new Cc(g[3],y,v,u,a),new Cc(g[2],i,v,y,a),new Cc(g[1],y,o,u,v),new Cc(g[0],i,o,y,v)),(f=(n>=v)<<1|t>=y)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-f],p[p.length-1-f]=c)}else{var _=t-+this._x.call(null,g.data),b=n-+this._y.call(null,g.data),m=_*_+b*b;if(m<e){var x=Math.sqrt(e=m);l=t-x,s=n-x,h=t+x,d=n+x,r=g.data}}return r},$c.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(u=+this._y.call(null,t)))return this;var n,e,r,i,o,u,a,c,f,l,s,h,d=this._root,p=this._x0,g=this._y0,y=this._x1,v=this._y1;if(!d)return this;if(d.length)for(;;){if((f=o>=(a=(p+y)/2))?p=a:y=a,(l=u>=(c=(g+v)/2))?g=c:v=c,n=d,!(d=d[s=l<<1|f]))return this;if(!d.length)break;(n[s+1&3]||n[s+2&3]||n[s+3&3])&&(e=n,h=s)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[s]=i:delete n[s],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},$c.removeAll=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},$c.root=function(){return this._root},$c.size=function(){var t=0;return this.visit((function(n){if(!n.length)do{++t}while(n=n.next)})),t},$c.visit=function(t){var n,e,r,i,o,u,a=[],c=this._root;for(c&&a.push(new Cc(c,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,u=n.y1)&&c.length){var f=(r+o)/2,l=(i+u)/2;(e=c[3])&&a.push(new Cc(e,f,l,o,u)),(e=c[2])&&a.push(new Cc(e,r,l,f,u)),(e=c[1])&&a.push(new Cc(e,f,i,o,l)),(e=c[0])&&a.push(new Cc(e,r,i,f,l))}return this},$c.visitAfter=function(t){var n,e=[],r=[];for(this._root&&e.push(new Cc(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,u=n.x0,a=n.y0,c=n.x1,f=n.y1,l=(u+c)/2,s=(a+f)/2;(o=i[0])&&e.push(new Cc(o,u,a,l,s)),(o=i[1])&&e.push(new Cc(o,l,a,c,s)),(o=i[2])&&e.push(new Cc(o,u,s,l,f)),(o=i[3])&&e.push(new Cc(o,l,s,c,f))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},$c.x=function(t){return arguments.length?(this._x=t,this):this._x},$c.y=function(t){return arguments.length?(this._y=t,this):this._y};const Hc=1664525,jc=1013904223,Vc=4294967296;function Xc(t){return t.x}function Gc(t){return t.y}var Wc=10,Qc=Math.PI*(3-Math.sqrt(5));function Jc(t){var n,e=1,r=.001,i=1-Math.pow(r,1/300),o=0,u=.6,a=new Map,c=ar(s),f=Mn("tick","end"),l=function(){let t=1;return()=>(t=(Hc*t+jc)%Vc)/Vc}();function s(){h(),f.call("tick",n),e<r&&(c.stop(),f.call("end",n))}function h(r){var c,f,l=t.length;void 0===r&&(r=1);for(var s=0;s<r;++s)for(e+=(o-e)*i,a.forEach((function(t){t(e)})),c=0;c<l;++c)null==(f=t[c]).fx?f.x+=f.vx*=u:(f.x=f.fx,f.vx=0),null==f.fy?f.y+=f.vy*=u:(f.y=f.fy,f.vy=0);return n}function d(){for(var n,e=0,r=t.length;e<r;++e){if((n=t[e]).index=e,null!=n.fx&&(n.x=n.fx),null!=n.fy&&(n.y=n.fy),isNaN(n.x)||isNaN(n.y)){var i=Wc*Math.sqrt(.5+e),o=e*Qc;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function p(n){return n.initialize&&n.initialize(t,l),n}return null==t&&(t=[]),d(),n={tick:h,restart:function(){return c.restart(s),n},stop:function(){return c.stop(),n},nodes:function(e){return arguments.length?(t=e,d(),a.forEach(p),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(r=+t,n):r},alphaDecay:function(t){return arguments.length?(i=+t,n):+i},alphaTarget:function(t){return arguments.length?(o=+t,n):o},velocityDecay:function(t){return arguments.length?(u=1-t,n):1-u},randomSource:function(t){return arguments.length?(l=t,a.forEach(p),n):l},force:function(t,e){return arguments.length>1?(null==e?a.delete(t):a.set(t,p(e)),n):a.get(t)},find:function(n,e,r){var i,o,u,a,c,f=0,l=t.length;for(null==r?r=1/0:r*=r,f=0;f<l;++f)(u=(i=n-(a=t[f]).x)*i+(o=e-a.y)*o)<r&&(c=a,r=u);return c},on:function(t,e){return arguments.length>1?(f.on(t,e),n):f.on(t)}}}function Kc(){var t,n,e,r,i,o=qc(-30),u=1,a=1/0,c=.81;function f(e){var i,o=t.length,u=Dc(t,Xc,Gc).visitAfter(s);for(r=e,i=0;i<o;++i)n=t[i],u.visit(h)}function l(){if(t){var n,e,r=t.length;for(i=new Array(r),n=0;n<r;++n)e=t[n],i[e.index]=+o(e,n,t)}}function s(t){var n,e,r,o,u,a=0,c=0;if(t.length){for(r=o=u=0;u<4;++u)(n=t[u])&&(e=Math.abs(n.value))&&(a+=n.value,c+=e,r+=e*n.x,o+=e*n.y);t.x=r/c,t.y=o/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{a+=i[n.data.index]}while(n=n.next)}t.value=a}function h(t,o,f,l){if(!t.value)return!0;var s=t.x-n.x,h=t.y-n.y,d=l-o,p=s*s+h*h;if(d*d/c<p)return p<a&&(0===s&&(p+=(s=Fc(e))*s),0===h&&(p+=(h=Fc(e))*h),p<u&&(p=Math.sqrt(u*p)),n.vx+=s*t.value*r/p,n.vy+=h*t.value*r/p),!0;if(!(t.length||p>=a)){(t.data!==n||t.next)&&(0===s&&(p+=(s=Fc(e))*s),0===h&&(p+=(h=Fc(e))*h),p<u&&(p=Math.sqrt(u*p)));do{t.data!==n&&(d=i[t.data.index]*r/p,n.vx+=s*d,n.vy+=h*d)}while(t=t.next)}}return f.initialize=function(n,r){t=n,e=r,l()},f.strength=function(t){return arguments.length?(o="function"===typeof t?t:qc(+t),l(),f):o},f.distanceMin=function(t){return arguments.length?(u=t*t,f):Math.sqrt(u)},f.distanceMax=function(t){return arguments.length?(a=t*t,f):Math.sqrt(a)},f.theta=function(t){return arguments.length?(c=t*t,f):Math.sqrt(c)},f}function tf(t,n,e){var r,i,o,u=qc(.1);function a(t){for(var u=0,a=r.length;u<a;++u){var c=r[u],f=c.x-n||1e-6,l=c.y-e||1e-6,s=Math.sqrt(f*f+l*l),h=(o[u]-s)*i[u]*t/s;c.vx+=f*h,c.vy+=l*h}}function c(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)o[n]=+t(r[n],n,r),i[n]=isNaN(o[n])?0:+u(r[n],n,r)}}return"function"!==typeof t&&(t=qc(+t)),null==n&&(n=0),null==e&&(e=0),a.initialize=function(t){r=t,c()},a.strength=function(t){return arguments.length?(u="function"===typeof t?t:qc(+t),c(),a):u},a.radius=function(n){return arguments.length?(t="function"===typeof n?n:qc(+n),c(),a):t},a.x=function(t){return arguments.length?(n=+t,a):n},a.y=function(t){return arguments.length?(e=+t,a):e},a}function nf(t){var n,e,r,i=qc(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vx+=(r[o]-i.x)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!==typeof t&&(t=qc(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:qc(+t),u(),o):i},o.x=function(n){return arguments.length?(t="function"===typeof n?n:qc(+n),u(),o):t},o}function ef(t){var n,e,r,i=qc(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vy+=(r[o]-i.y)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!==typeof t&&(t=qc(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:qc(+t),u(),o):i},o.y=function(n){return arguments.length?(t="function"===typeof n?n:qc(+n),u(),o):t},o}var rf=e(65386),of=e(80028),uf=e(42035),af=e(96909),cf=e(87017),ff=e(63482);class lf{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,u=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);u&&(n[e++]=u),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}var sf=1e-6,hf=1e-12,df=Math.PI,pf=df/2,gf=df/4,yf=2*df,vf=180/df,_f=df/180,bf=Math.abs,mf=Math.atan,xf=Math.atan2,wf=Math.cos,Mf=Math.ceil,Tf=Math.exp,Af=(Math.floor,Math.hypot),Sf=Math.log,Nf=Math.pow,Ef=Math.sin,kf=Math.sign||function(t){return t>0?1:t<0?-1:0},Cf=Math.sqrt,Pf=Math.tan;function Zf(t){return t>1?0:t<-1?df:Math.acos(t)}function Df(t){return t>1?pf:t<-1?-pf:Math.asin(t)}function zf(t){return(t=Ef(t/2))*t}function Uf(){}function $f(t,n){t&&Ff.hasOwnProperty(t.type)&&Ff[t.type](t,n)}var qf={Feature:function(t,n){$f(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)$f(e[r].geometry,n)}},Ff={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){Yf(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Yf(e[r],n,0)},Polygon:function(t,n){Rf(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Rf(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)$f(e[r],n)}};function Yf(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function Rf(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)Yf(t[e],n,1);n.polygonEnd()}function Bf(t,n){t&&qf.hasOwnProperty(t.type)?qf[t.type](t,n):$f(t,n)}var Of,If,Lf,Hf,jf,Vf,Xf,Gf,Wf,Qf,Jf,Kf,tl,nl,el,rl,il=new lf,ol=new lf,ul={point:Uf,lineStart:Uf,lineEnd:Uf,polygonStart:function(){il=new lf,ul.lineStart=al,ul.lineEnd=cl},polygonEnd:function(){var t=+il;ol.add(t<0?yf+t:t),this.lineStart=this.lineEnd=this.point=Uf},sphere:function(){ol.add(yf)}};function al(){ul.point=fl}function cl(){ll(Of,If)}function fl(t,n){ul.point=ll,Of=t,If=n,Lf=t*=_f,Hf=wf(n=(n*=_f)/2+gf),jf=Ef(n)}function ll(t,n){var e=(t*=_f)-Lf,r=e>=0?1:-1,i=r*e,o=wf(n=(n*=_f)/2+gf),u=Ef(n),a=jf*u,c=Hf*o+a*wf(i),f=a*r*Ef(i);il.add(xf(f,c)),Lf=t,Hf=o,jf=u}function sl(t){return ol=new lf,Bf(t,ul),2*ol}function hl(t){return[xf(t[1],t[0]),Df(t[2])]}function dl(t){var n=t[0],e=t[1],r=wf(e);return[r*wf(n),r*Ef(n),Ef(e)]}function pl(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function gl(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function yl(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function vl(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function _l(t){var n=Cf(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var bl,ml,xl,wl,Ml,Tl,Al,Sl,Nl,El,kl,Cl,Pl,Zl,Dl,zl,Ul={point:$l,lineStart:Fl,lineEnd:Yl,polygonStart:function(){Ul.point=Rl,Ul.lineStart=Bl,Ul.lineEnd=Ol,nl=new lf,ul.polygonStart()},polygonEnd:function(){ul.polygonEnd(),Ul.point=$l,Ul.lineStart=Fl,Ul.lineEnd=Yl,il<0?(Vf=-(Gf=180),Xf=-(Wf=90)):nl>sf?Wf=90:nl<-sf&&(Xf=-90),rl[0]=Vf,rl[1]=Gf},sphere:function(){Vf=-(Gf=180),Xf=-(Wf=90)}};function $l(t,n){el.push(rl=[Vf=t,Gf=t]),n<Xf&&(Xf=n),n>Wf&&(Wf=n)}function ql(t,n){var e=dl([t*_f,n*_f]);if(tl){var r=gl(tl,e),i=gl([r[1],-r[0],0],r);_l(i),i=hl(i);var o,u=t-Qf,a=u>0?1:-1,c=i[0]*vf*a,f=bf(u)>180;f^(a*Qf<c&&c<a*t)?(o=i[1]*vf)>Wf&&(Wf=o):f^(a*Qf<(c=(c+360)%360-180)&&c<a*t)?(o=-i[1]*vf)<Xf&&(Xf=o):(n<Xf&&(Xf=n),n>Wf&&(Wf=n)),f?t<Qf?Il(Vf,t)>Il(Vf,Gf)&&(Gf=t):Il(t,Gf)>Il(Vf,Gf)&&(Vf=t):Gf>=Vf?(t<Vf&&(Vf=t),t>Gf&&(Gf=t)):t>Qf?Il(Vf,t)>Il(Vf,Gf)&&(Gf=t):Il(t,Gf)>Il(Vf,Gf)&&(Vf=t)}else el.push(rl=[Vf=t,Gf=t]);n<Xf&&(Xf=n),n>Wf&&(Wf=n),tl=e,Qf=t}function Fl(){Ul.point=ql}function Yl(){rl[0]=Vf,rl[1]=Gf,Ul.point=$l,tl=null}function Rl(t,n){if(tl){var e=t-Qf;nl.add(bf(e)>180?e+(e>0?360:-360):e)}else Jf=t,Kf=n;ul.point(t,n),ql(t,n)}function Bl(){ul.lineStart()}function Ol(){Rl(Jf,Kf),ul.lineEnd(),bf(nl)>sf&&(Vf=-(Gf=180)),rl[0]=Vf,rl[1]=Gf,tl=null}function Il(t,n){return(n-=t)<0?n+360:n}function Ll(t,n){return t[0]-n[0]}function Hl(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function jl(t){var n,e,r,i,o,u,a;if(Wf=Gf=-(Vf=Xf=1/0),el=[],Bf(t,Ul),e=el.length){for(el.sort(Ll),n=1,o=[r=el[0]];n<e;++n)Hl(r,(i=el[n])[0])||Hl(r,i[1])?(Il(r[0],i[1])>Il(r[0],r[1])&&(r[1]=i[1]),Il(i[0],r[1])>Il(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=Il(r[1],i[0]))>u&&(u=a,Vf=i[0],Gf=r[1])}return el=rl=null,Vf===1/0||Xf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Vf,Xf],[Gf,Wf]]}var Vl={sphere:Uf,point:Xl,lineStart:Wl,lineEnd:Kl,polygonStart:function(){Vl.lineStart=ts,Vl.lineEnd=ns},polygonEnd:function(){Vl.lineStart=Wl,Vl.lineEnd=Kl}};function Xl(t,n){t*=_f;var e=wf(n*=_f);Gl(e*wf(t),e*Ef(t),Ef(n))}function Gl(t,n,e){++bl,xl+=(t-xl)/bl,wl+=(n-wl)/bl,Ml+=(e-Ml)/bl}function Wl(){Vl.point=Ql}function Ql(t,n){t*=_f;var e=wf(n*=_f);Zl=e*wf(t),Dl=e*Ef(t),zl=Ef(n),Vl.point=Jl,Gl(Zl,Dl,zl)}function Jl(t,n){t*=_f;var e=wf(n*=_f),r=e*wf(t),i=e*Ef(t),o=Ef(n),u=xf(Cf((u=Dl*o-zl*i)*u+(u=zl*r-Zl*o)*u+(u=Zl*i-Dl*r)*u),Zl*r+Dl*i+zl*o);ml+=u,Tl+=u*(Zl+(Zl=r)),Al+=u*(Dl+(Dl=i)),Sl+=u*(zl+(zl=o)),Gl(Zl,Dl,zl)}function Kl(){Vl.point=Xl}function ts(){Vl.point=es}function ns(){rs(Cl,Pl),Vl.point=Xl}function es(t,n){Cl=t,Pl=n,t*=_f,n*=_f,Vl.point=rs;var e=wf(n);Zl=e*wf(t),Dl=e*Ef(t),zl=Ef(n),Gl(Zl,Dl,zl)}function rs(t,n){t*=_f;var e=wf(n*=_f),r=e*wf(t),i=e*Ef(t),o=Ef(n),u=Dl*o-zl*i,a=zl*r-Zl*o,c=Zl*i-Dl*r,f=Af(u,a,c),l=Df(f),s=f&&-l/f;Nl.add(s*u),El.add(s*a),kl.add(s*c),ml+=l,Tl+=l*(Zl+(Zl=r)),Al+=l*(Dl+(Dl=i)),Sl+=l*(zl+(zl=o)),Gl(Zl,Dl,zl)}function is(t){bl=ml=xl=wl=Ml=Tl=Al=Sl=0,Nl=new lf,El=new lf,kl=new lf,Bf(t,Vl);var n=+Nl,e=+El,r=+kl,i=Af(n,e,r);return i<hf&&(n=Tl,e=Al,r=Sl,ml<sf&&(n=xl,e=wl,r=Ml),(i=Af(n,e,r))<hf)?[NaN,NaN]:[xf(e,n)*vf,Df(r/i)*vf]}function os(t){return function(){return t}}function us(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e}function as(t,n){return bf(t)>df&&(t-=Math.round(t/yf)*yf),[t,n]}function cs(t,n,e){return(t%=yf)?n||e?us(ls(t),ss(n,e)):ls(t):n||e?ss(n,e):as}function fs(t){return function(n,e){return bf(n+=t)>df&&(n-=Math.round(n/yf)*yf),[n,e]}}function ls(t){var n=fs(t);return n.invert=fs(-t),n}function ss(t,n){var e=wf(t),r=Ef(t),i=wf(n),o=Ef(n);function u(t,n){var u=wf(n),a=wf(t)*u,c=Ef(t)*u,f=Ef(n),l=f*e+a*r;return[xf(c*i-l*o,a*e-f*r),Df(l*i+c*o)]}return u.invert=function(t,n){var u=wf(n),a=wf(t)*u,c=Ef(t)*u,f=Ef(n),l=f*i-c*o;return[xf(c*i+f*o,a*e+l*r),Df(l*e-a*r)]},u}function hs(t){function n(n){return(n=t(n[0]*_f,n[1]*_f))[0]*=vf,n[1]*=vf,n}return t=cs(t[0]*_f,t[1]*_f,t.length>2?t[2]*_f:0),n.invert=function(n){return(n=t.invert(n[0]*_f,n[1]*_f))[0]*=vf,n[1]*=vf,n},n}function ds(t,n,e,r,i,o){if(e){var u=wf(n),a=Ef(n),c=r*e;null==i?(i=n+r*yf,o=n-c/2):(i=ps(u,i),o=ps(u,o),(r>0?i<o:i>o)&&(i+=r*yf));for(var f,l=i;r>0?l>o:l<o;l-=c)f=hl([u,-a*wf(l),-a*Ef(l)]),t.point(f[0],f[1])}}function ps(t,n){(n=dl(n))[0]-=t,_l(n);var e=Zf(-n[1]);return((-n[2]<0?-e:e)+yf-sf)%yf}function gs(){var t,n,e=os([0,0]),r=os(90),i=os(6),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=vf,e[1]*=vf}};function u(){var u=e.apply(this,arguments),a=r.apply(this,arguments)*_f,c=i.apply(this,arguments)*_f;return t=[],n=cs(-u[0]*_f,-u[1]*_f,0).invert,ds(o,a,c,1),u={type:"Polygon",coordinates:[t]},t=n=null,u}return u.center=function(t){return arguments.length?(e="function"===typeof t?t:os([+t[0],+t[1]]),u):e},u.radius=function(t){return arguments.length?(r="function"===typeof t?t:os(+t),u):r},u.precision=function(t){return arguments.length?(i="function"===typeof t?t:os(+t),u):i},u}function ys(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:Uf,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function vs(t,n){return bf(t[0]-n[0])<sf&&bf(t[1]-n[1])<sf}function _s(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function bs(t,n,e,r,i){var o,u,a=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(vs(r,u)){if(!r[2]&&!u[2]){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}u[0]+=2*sf}a.push(e=new _s(r,t,null,!0)),c.push(e.o=new _s(r,null,e,!1)),a.push(e=new _s(u,t,null,!1)),c.push(e.o=new _s(u,null,e,!0))}})),a.length){for(c.sort(n),ms(a),ms(c),o=0,u=c.length;o<u;++o)c[o].e=e=!e;for(var f,l,s=a[0];;){for(var h=s,d=!0;h.v;)if((h=h.n)===s)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,u=f.length;o<u;++o)i.point((l=f[o])[0],l[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(f=h.p.z,o=f.length-1;o>=0;--o)i.point((l=f[o])[0],l[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function ms(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function xs(t){return bf(t[0])<=df?t[0]:kf(t[0])*((bf(t[0])+df)%yf-df)}function ws(t,n){var e=xs(n),r=n[1],i=Ef(r),o=[Ef(e),-wf(e),0],u=0,a=0,c=new lf;1===i?r=pf+sf:-1===i&&(r=-pf-sf);for(var f=0,l=t.length;f<l;++f)if(h=(s=t[f]).length)for(var s,h,d=s[h-1],p=xs(d),g=d[1]/2+gf,y=Ef(g),v=wf(g),_=0;_<h;++_,p=m,y=w,v=M,d=b){var b=s[_],m=xs(b),x=b[1]/2+gf,w=Ef(x),M=wf(x),T=m-p,A=T>=0?1:-1,S=A*T,N=S>df,E=y*w;if(c.add(xf(E*A*Ef(S),v*M+E*wf(S))),u+=N?T+A*yf:T,N^p>=e^m>=e){var k=gl(dl(d),dl(b));_l(k);var C=gl(o,k);_l(C);var P=(N^T>=0?-1:1)*Df(C[2]);(r>P||r===P&&(k[0]||k[1]))&&(a+=N^T>=0?1:-1)}}return(u<-sf||u<sf&&c<-hf)^1&a}function Ms(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function Ts(t,n,e,r){return function(i){var o,u,a,c=n(i),f=ys(),l=n(f),s=!1,h={point:d,lineStart:g,lineEnd:y,polygonStart:function(){h.point=v,h.lineStart=_,h.lineEnd=b,u=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=g,h.lineEnd=y,u=Ms(u);var t=ws(o,r);u.length?(s||(i.polygonStart(),s=!0),bs(u,Ss,t,e,i)):t&&(s||(i.polygonStart(),s=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),s&&(i.polygonEnd(),s=!1),u=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(n,e){t(n,e)&&i.point(n,e)}function p(t,n){c.point(t,n)}function g(){h.point=p,c.lineStart()}function y(){h.point=d,c.lineEnd()}function v(t,n){a.push([t,n]),l.point(t,n)}function _(){l.lineStart(),a=[]}function b(){v(a[0][0],a[0][1]),l.lineEnd();var t,n,e,r,c=l.clean(),h=f.result(),d=h.length;if(a.pop(),o.push(a),a=null,d)if(1&c){if((n=(e=h[0]).length-1)>0){for(s||(i.polygonStart(),s=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),u.push(h.filter(As))}return h}}function As(t){return t.length>1}function Ss(t,n){return((t=t.x)[0]<0?t[1]-pf-sf:pf-t[1])-((n=n.x)[0]<0?n[1]-pf-sf:pf-n[1])}as.invert=as;var Ns=Ts((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?df:-df,c=bf(o-e);bf(c-df)<sf?(t.point(e,r=(r+u)/2>0?pf:-pf),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&c>=df&&(bf(e-i)<sf&&(e-=i*sf),bf(o-a)<sf&&(o-=a*sf),r=function(t,n,e,r){var i,o,u=Ef(t-e);return bf(u)>sf?mf((Ef(n)*(o=wf(r))*Ef(e)-Ef(r)*(i=wf(n))*Ef(t))/(i*o*u)):(n+r)/2}(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*pf,r.point(-df,i),r.point(0,i),r.point(df,i),r.point(df,0),r.point(df,-i),r.point(0,-i),r.point(-df,-i),r.point(-df,0),r.point(-df,i);else if(bf(t[0]-n[0])>sf){var o=t[0]<n[0]?df:-df;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}),[-df,-pf]);function Es(t){var n=wf(t),e=6*_f,r=n>0,i=bf(n)>sf;function o(t,e){return wf(t)*wf(e)>n}function u(t,e,r){var i=[1,0,0],o=gl(dl(t),dl(e)),u=pl(o,o),a=o[0],c=u-a*a;if(!c)return!r&&t;var f=n*u/c,l=-n*a/c,s=gl(i,o),h=vl(i,f);yl(h,vl(o,l));var d=s,p=pl(h,d),g=pl(d,d),y=p*p-g*(pl(h,h)-1);if(!(y<0)){var v=Cf(y),_=vl(d,(-p-v)/g);if(yl(_,h),_=hl(_),!r)return _;var b,m=t[0],x=e[0],w=t[1],M=e[1];x<m&&(b=m,m=x,x=b);var T=x-m,A=bf(T-df)<sf;if(!A&&M<w&&(b=w,w=M,M=b),A||T<sf?A?w+M>0^_[1]<(bf(_[0]-m)<sf?w:M):w<=_[1]&&_[1]<=M:T>df^(m<=_[0]&&_[0]<=x)){var S=vl(d,(-p+v)/g);return yl(S,h),[_,hl(S)]}}}function a(n,e){var i=r?t:df-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return Ts(o,(function(t){var n,e,c,f,l;return{lineStart:function(){f=c=!1,l=1},point:function(s,h){var d,p=[s,h],g=o(s,h),y=r?g?0:a(s,h):g?a(s+(s<0?df:-df),h):0;if(!n&&(f=c=g)&&t.lineStart(),g!==c&&(!(d=u(n,p))||vs(n,d)||vs(p,d))&&(p[2]=1),g!==c)l=0,g?(t.lineStart(),d=u(p,n),t.point(d[0],d[1])):(d=u(n,p),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^g){var v;y&e||!(v=u(p,n,!0))||(l=0,r?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1],3)))}!g||n&&vs(n,p)||t.point(p[0],p[1]),n=p,c=g,e=y},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return l|(f&&c)<<1}}}),(function(n,r,i,o){ds(o,t,e,i,n,r)}),r?[0,-t]:[-df,t-df])}var ks,Cs,Ps,Zs,Ds=1e9,zs=-Ds;function Us(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,f){var l=0,s=0;if(null==i||(l=u(i,a))!==(s=u(o,a))||c(i,o)<0^a>0)do{f.point(0===l||3===l?t:e,l>1?r:n)}while((l=(l+a+4)%4)!==s);else f.point(o[0],o[1])}function u(r,i){return bf(r[0]-t)<sf?i>0?0:3:bf(r[0]-e)<sf?i>0?2:1:bf(r[1]-n)<sf?i>0?1:0:i>0?3:2}function a(t,n){return c(t.x,n.x)}function c(t,n){var e=u(t,1),r=u(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(u){var c,f,l,s,h,d,p,g,y,v,_,b=u,m=ys(),x={point:w,lineStart:function(){x.point=M,f&&f.push(l=[]);v=!0,y=!1,p=g=NaN},lineEnd:function(){c&&(M(s,h),d&&y&&m.rejoin(),c.push(m.result()));x.point=w,y&&b.lineEnd()},polygonStart:function(){b=m,c=[],f=[],_=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;e<i;++e)for(var o,u,a=f[e],c=1,l=a.length,s=a[0],h=s[0],d=s[1];c<l;++c)o=h,u=d,h=(s=a[c])[0],d=s[1],u<=r?d>r&&(h-o)*(r-u)>(d-u)*(t-o)&&++n:d<=r&&(h-o)*(r-u)<(d-u)*(t-o)&&--n;return n}(),e=_&&n,i=(c=Ms(c)).length;(e||i)&&(u.polygonStart(),e&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),i&&bs(c,a,n,o,u),u.polygonEnd());b=u,c=f=l=null}};function w(t,n){i(t,n)&&b.point(t,n)}function M(o,u){var a=i(o,u);if(f&&l.push([o,u]),v)s=o,h=u,d=a,v=!1,a&&(b.lineStart(),b.point(o,u));else if(a&&y)b.point(o,u);else{var c=[p=Math.max(zs,Math.min(Ds,p)),g=Math.max(zs,Math.min(Ds,g))],m=[o=Math.max(zs,Math.min(Ds,o)),u=Math.max(zs,Math.min(Ds,u))];!function(t,n,e,r,i,o){var u,a=t[0],c=t[1],f=0,l=1,s=n[0]-a,h=n[1]-c;if(u=e-a,s||!(u>0)){if(u/=s,s<0){if(u<f)return;u<l&&(l=u)}else if(s>0){if(u>l)return;u>f&&(f=u)}if(u=i-a,s||!(u<0)){if(u/=s,s<0){if(u>l)return;u>f&&(f=u)}else if(s>0){if(u<f)return;u<l&&(l=u)}if(u=r-c,h||!(u>0)){if(u/=h,h<0){if(u<f)return;u<l&&(l=u)}else if(h>0){if(u>l)return;u>f&&(f=u)}if(u=o-c,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>f&&(f=u)}else if(h>0){if(u<f)return;u<l&&(l=u)}return f>0&&(t[0]=a+f*s,t[1]=c+f*h),l<1&&(n[0]=a+l*s,n[1]=c+l*h),!0}}}}}(c,m,t,n,e,r)?a&&(b.lineStart(),b.point(o,u),_=!1):(y||(b.lineStart(),b.point(c[0],c[1])),b.point(m[0],m[1]),a||b.lineEnd(),_=!1)}p=o,g=u,y=a}return x}}function $s(){var t,n,e,r=0,i=0,o=960,u=500;return e={stream:function(e){return t&&n===e?t:t=Us(r,i,o,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],u=+a[1][1],t=n=null,e):[[r,i],[o,u]]}}}var qs={sphere:Uf,point:Uf,lineStart:function(){qs.point=Ys,qs.lineEnd=Fs},lineEnd:Uf,polygonStart:Uf,polygonEnd:Uf};function Fs(){qs.point=qs.lineEnd=Uf}function Ys(t,n){Cs=t*=_f,Ps=Ef(n*=_f),Zs=wf(n),qs.point=Rs}function Rs(t,n){t*=_f;var e=Ef(n*=_f),r=wf(n),i=bf(t-Cs),o=wf(i),u=r*Ef(i),a=Zs*e-Ps*r*o,c=Ps*e+Zs*r*o;ks.add(xf(Cf(u*u+a*a),c)),Cs=t,Ps=e,Zs=r}function Bs(t){return ks=new lf,Bf(t,qs),+ks}var Os=[null,null],Is={type:"LineString",coordinates:Os};function Ls(t,n){return Os[0]=t,Os[1]=n,Bs(Is)}var Hs={Feature:function(t,n){return Vs(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(Vs(e[r].geometry,n))return!0;return!1}},js={Sphere:function(){return!0},Point:function(t,n){return Xs(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Xs(e[r],n))return!0;return!1},LineString:function(t,n){return Gs(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Gs(e[r],n))return!0;return!1},Polygon:function(t,n){return Ws(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Ws(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(Vs(e[r],n))return!0;return!1}};function Vs(t,n){return!(!t||!js.hasOwnProperty(t.type))&&js[t.type](t,n)}function Xs(t,n){return 0===Ls(t,n)}function Gs(t,n){for(var e,r,i,o=0,u=t.length;o<u;o++){if(0===(r=Ls(t[o],n)))return!0;if(o>0&&(i=Ls(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<hf*i)return!0;e=r}return!1}function Ws(t,n){return!!ws(t.map(Qs),Js(n))}function Qs(t){return(t=t.map(Js)).pop(),t}function Js(t){return[t[0]*_f,t[1]*_f]}function Ks(t,n){return(t&&Hs.hasOwnProperty(t.type)?Hs[t.type]:Vs)(t,n)}function th(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function nh(t,n,e){var r=th(t,n-sf,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function eh(t,n,e){var r=th(t,n-sf,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function rh(){var t,n,e,r,i,o,u,a,c,f,l,s,h=10,d=h,p=90,g=360,y=2.5;function v(){return{type:"MultiLineString",coordinates:_()}}function _(){return th(Mf(r/p)*p,e,p).map(l).concat(th(Mf(a/g)*g,u,g).map(s)).concat(th(Mf(n/h)*h,t,h).filter((function(t){return bf(t%p)>sf})).map(c)).concat(th(Mf(o/d)*d,i,d).filter((function(t){return bf(t%g)>sf})).map(f))}return v.lines=function(){return _().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(s(u).slice(1),l(e).reverse().slice(1),s(a).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],u=+t[1][1],r>e&&(t=r,r=e,e=t),a>u&&(t=a,a=u,u=t),v.precision(y)):[[r,a],[e,u]]},v.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),v.precision(y)):[[n,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],v):[p,g]},v.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],v):[h,d]},v.precision=function(h){return arguments.length?(y=+h,c=nh(o,i,90),f=eh(n,t,y),l=nh(a,u,90),s=eh(r,e,y),v):y},v.extentMajor([[-180,-90+sf],[180,90-sf]]).extentMinor([[-180,-80-sf],[180,80+sf]])}function ih(){return rh()()}function oh(t,n){var e=t[0]*_f,r=t[1]*_f,i=n[0]*_f,o=n[1]*_f,u=wf(r),a=Ef(r),c=wf(o),f=Ef(o),l=u*wf(e),s=u*Ef(e),h=c*wf(i),d=c*Ef(i),p=2*Df(Cf(zf(o-r)+u*c*zf(i-e))),g=Ef(p),y=p?function(t){var n=Ef(t*=p)/g,e=Ef(p-t)/g,r=e*l+n*h,i=e*s+n*d,o=e*a+n*f;return[xf(i,r)*vf,xf(o,Cf(r*r+i*i))*vf]}:function(){return[e*vf,r*vf]};return y.distance=p,y}var uh,ah,ch,fh,lh=t=>t,sh=new lf,hh=new lf,dh={point:Uf,lineStart:Uf,lineEnd:Uf,polygonStart:function(){dh.lineStart=ph,dh.lineEnd=vh},polygonEnd:function(){dh.lineStart=dh.lineEnd=dh.point=Uf,sh.add(bf(hh)),hh=new lf},result:function(){var t=sh/2;return sh=new lf,t}};function ph(){dh.point=gh}function gh(t,n){dh.point=yh,uh=ch=t,ah=fh=n}function yh(t,n){hh.add(fh*t-ch*n),ch=t,fh=n}function vh(){yh(uh,ah)}var _h=dh,bh=1/0,mh=bh,xh=-bh,wh=xh,Mh={point:function(t,n){t<bh&&(bh=t);t>xh&&(xh=t);n<mh&&(mh=n);n>wh&&(wh=n)},lineStart:Uf,lineEnd:Uf,polygonStart:Uf,polygonEnd:Uf,result:function(){var t=[[bh,mh],[xh,wh]];return xh=wh=-(mh=bh=1/0),t}};var Th,Ah,Sh,Nh,Eh=Mh,kh=0,Ch=0,Ph=0,Zh=0,Dh=0,zh=0,Uh=0,$h=0,qh=0,Fh={point:Yh,lineStart:Rh,lineEnd:Ih,polygonStart:function(){Fh.lineStart=Lh,Fh.lineEnd=Hh},polygonEnd:function(){Fh.point=Yh,Fh.lineStart=Rh,Fh.lineEnd=Ih},result:function(){var t=qh?[Uh/qh,$h/qh]:zh?[Zh/zh,Dh/zh]:Ph?[kh/Ph,Ch/Ph]:[NaN,NaN];return kh=Ch=Ph=Zh=Dh=zh=Uh=$h=qh=0,t}};function Yh(t,n){kh+=t,Ch+=n,++Ph}function Rh(){Fh.point=Bh}function Bh(t,n){Fh.point=Oh,Yh(Sh=t,Nh=n)}function Oh(t,n){var e=t-Sh,r=n-Nh,i=Cf(e*e+r*r);Zh+=i*(Sh+t)/2,Dh+=i*(Nh+n)/2,zh+=i,Yh(Sh=t,Nh=n)}function Ih(){Fh.point=Yh}function Lh(){Fh.point=jh}function Hh(){Vh(Th,Ah)}function jh(t,n){Fh.point=Vh,Yh(Th=Sh=t,Ah=Nh=n)}function Vh(t,n){var e=t-Sh,r=n-Nh,i=Cf(e*e+r*r);Zh+=i*(Sh+t)/2,Dh+=i*(Nh+n)/2,zh+=i,Uh+=(i=Nh*t-Sh*n)*(Sh+t),$h+=i*(Nh+n),qh+=3*i,Yh(Sh=t,Nh=n)}var Xh=Fh;function Gh(t){this._context=t}Gh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,yf)}},result:Uf};var Wh,Qh,Jh,Kh,td,nd=new lf,ed={point:Uf,lineStart:function(){ed.point=rd},lineEnd:function(){Wh&&id(Qh,Jh),ed.point=Uf},polygonStart:function(){Wh=!0},polygonEnd:function(){Wh=null},result:function(){var t=+nd;return nd=new lf,t}};function rd(t,n){ed.point=id,Qh=Kh=t,Jh=td=n}function id(t,n){Kh-=t,td-=n,nd.add(Cf(Kh*Kh+td*td)),Kh=t,td=n}var od=ed;let ud,ad,cd,fd;class ld{constructor(t){this._append=null==t?sd:function(t){const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);if(n>15)return sd;if(n!==ud){const t=10**n;ud=n,ad=function(n){let e=1;this._+=n[0];for(const r=n.length;e<r;++e)this._+=Math.round(arguments[e]*t)/t+n[e]}}return ad}(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(t,n){switch(this._point){case 0:this._append`M${t},${n}`,this._point=1;break;case 1:this._append`L${t},${n}`;break;default:if(this._append`M${t},${n}`,this._radius!==cd||this._append!==ad){const t=this._radius,n=this._;this._="",this._append`m0,${t}a${t},${t} 0 1,1 0,${-2*t}a${t},${t} 0 1,1 0,${2*t}z`,cd=t,ad=this._append,fd=this._,this._=n}this._+=fd}}result(){const t=this._;return this._="",t.length?t:null}}function sd(t){let n=1;this._+=t[0];for(const e=t.length;n<e;++n)this._+=arguments[n]+t[n]}function hd(t,n){let e,r,i=3,o=4.5;function u(t){return t&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),Bf(t,e(r))),r.result()}return u.area=function(t){return Bf(t,e(_h)),_h.result()},u.measure=function(t){return Bf(t,e(od)),od.result()},u.bounds=function(t){return Bf(t,e(Eh)),Eh.result()},u.centroid=function(t){return Bf(t,e(Xh)),Xh.result()},u.projection=function(n){return arguments.length?(e=null==n?(t=null,lh):(t=n).stream,u):t},u.context=function(t){return arguments.length?(r=null==t?(n=null,new ld(i)):new Gh(n=t),"function"!==typeof o&&r.pointRadius(o),u):n},u.pointRadius=function(t){return arguments.length?(o="function"===typeof t?t:(r.pointRadius(+t),+t),u):o},u.digits=function(t){if(!arguments.length)return i;if(null==t)i=null;else{const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);i=n}return null===n&&(r=new ld(i)),u},u.projection(t).digits(i).context(n)}function dd(t){return{stream:pd(t)}}function pd(t){return function(n){var e=new gd;for(var r in t)e[r]=t[r];return e.stream=n,e}}function gd(){}function yd(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),Bf(e,t.stream(Eh)),n(Eh.result()),null!=r&&t.clipExtent(r),t}function vd(t,n,e){return yd(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),u=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([u,a])}),e)}function _d(t,n,e){return vd(t,[[0,0],n],e)}function bd(t,n,e){return yd(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,u=-i*e[0][1];t.scale(150*i).translate([o,u])}),e)}function md(t,n,e){return yd(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],u=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,u])}),e)}gd.prototype={constructor:gd,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var xd=16,wd=wf(30*_f);function Md(t,n){return+n?function(t,n){function e(r,i,o,u,a,c,f,l,s,h,d,p,g,y){var v=f-r,_=l-i,b=v*v+_*_;if(b>4*n&&g--){var m=u+h,x=a+d,w=c+p,M=Cf(m*m+x*x+w*w),T=Df(w/=M),A=bf(bf(w)-1)<sf||bf(o-s)<sf?(o+s)/2:xf(x,m),S=t(A,T),N=S[0],E=S[1],k=N-r,C=E-i,P=_*k-v*C;(P*P/b>n||bf((v*k+_*C)/b-.5)>.3||u*h+a*d+c*p<wd)&&(e(r,i,o,u,a,c,N,E,A,m/=M,x/=M,w,g,y),y.point(N,E),e(N,E,A,m,x,w,f,l,s,h,d,p,g,y))}}return function(n){var r,i,o,u,a,c,f,l,s,h,d,p,g={point:y,lineStart:v,lineEnd:b,polygonStart:function(){n.polygonStart(),g.lineStart=m},polygonEnd:function(){n.polygonEnd(),g.lineStart=v}};function y(e,r){e=t(e,r),n.point(e[0],e[1])}function v(){l=NaN,g.point=_,n.lineStart()}function _(r,i){var o=dl([r,i]),u=t(r,i);e(l,s,f,h,d,p,l=u[0],s=u[1],f=r,h=o[0],d=o[1],p=o[2],xd,n),n.point(l,s)}function b(){g.point=y,n.lineEnd()}function m(){v(),g.point=x,g.lineEnd=w}function x(t,n){_(r=t,n),i=l,o=s,u=h,a=d,c=p,g.point=_}function w(){e(l,s,f,h,d,p,i,o,r,u,a,c,xd,n),g.lineEnd=b,b()}return g}}(t,n):function(t){return pd({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)}var Td=pd({point:function(t,n){this.stream.point(t*_f,n*_f)}});function Ad(t,n,e,r,i,o){if(!o)return function(t,n,e,r,i){function o(o,u){return[n+t*(o*=r),e-t*(u*=i)]}return o.invert=function(o,u){return[(o-n)/t*r,(e-u)/t*i]},o}(t,n,e,r,i);var u=wf(o),a=Ef(o),c=u*t,f=a*t,l=u/t,s=a/t,h=(a*e-u*n)/t,d=(a*n+u*e)/t;function p(t,o){return[c*(t*=r)-f*(o*=i)+n,e-f*t-c*o]}return p.invert=function(t,n){return[r*(l*t-s*n+h),i*(d-s*t-l*n)]},p}function Sd(t){return Nd((function(){return t}))()}function Nd(t){var n,e,r,i,o,u,a,c,f,l,s=150,h=480,d=250,p=0,g=0,y=0,v=0,_=0,b=0,m=1,x=1,w=null,M=Ns,T=null,A=lh,S=.5;function N(t){return c(t[0]*_f,t[1]*_f)}function E(t){return(t=c.invert(t[0],t[1]))&&[t[0]*vf,t[1]*vf]}function k(){var t=Ad(s,0,0,m,x,b).apply(null,n(p,g)),r=Ad(s,h-t[0],d-t[1],m,x,b);return e=cs(y,v,_),a=us(n,r),c=us(e,a),u=Md(a,S),C()}function C(){return f=l=null,N}return N.stream=function(t){return f&&l===t?f:f=Td(function(t){return pd({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(e)(M(u(A(l=t)))))},N.preclip=function(t){return arguments.length?(M=t,w=void 0,C()):M},N.postclip=function(t){return arguments.length?(A=t,T=r=i=o=null,C()):A},N.clipAngle=function(t){return arguments.length?(M=+t?Es(w=t*_f):(w=null,Ns),C()):w*vf},N.clipExtent=function(t){return arguments.length?(A=null==t?(T=r=i=o=null,lh):Us(T=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),C()):null==T?null:[[T,r],[i,o]]},N.scale=function(t){return arguments.length?(s=+t,k()):s},N.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],k()):[h,d]},N.center=function(t){return arguments.length?(p=t[0]%360*_f,g=t[1]%360*_f,k()):[p*vf,g*vf]},N.rotate=function(t){return arguments.length?(y=t[0]%360*_f,v=t[1]%360*_f,_=t.length>2?t[2]%360*_f:0,k()):[y*vf,v*vf,_*vf]},N.angle=function(t){return arguments.length?(b=t%360*_f,k()):b*vf},N.reflectX=function(t){return arguments.length?(m=t?-1:1,k()):m<0},N.reflectY=function(t){return arguments.length?(x=t?-1:1,k()):x<0},N.precision=function(t){return arguments.length?(u=Md(a,S=t*t),C()):Cf(S)},N.fitExtent=function(t,n){return vd(N,t,n)},N.fitSize=function(t,n){return _d(N,t,n)},N.fitWidth=function(t,n){return bd(N,t,n)},N.fitHeight=function(t,n){return md(N,t,n)},function(){return n=t.apply(this,arguments),N.invert=n.invert&&E,k()}}function Ed(t){var n=0,e=df/3,r=Nd(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*_f,e=t[1]*_f):[n*vf,e*vf]},i}function kd(t,n){var e=Ef(t),r=(e+Ef(n))/2;if(bf(r)<sf)return function(t){var n=wf(t);function e(t,e){return[t*n,Ef(e)/n]}return e.invert=function(t,e){return[t/n,Df(e*n)]},e}(t);var i=1+e*(2*r-e),o=Cf(i)/r;function u(t,n){var e=Cf(i-2*r*Ef(n))/r;return[e*Ef(t*=r),o-e*wf(t)]}return u.invert=function(t,n){var e=o-n,u=xf(t,bf(e))*kf(e);return e*r<0&&(u-=df*kf(t)*kf(e)),[u/r,Df((i-(t*t+e*e)*r*r)/(2*r))]},u}function Cd(){return Ed(kd).scale(155.424).center([0,33.6442])}function Pd(){return Cd().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function Zd(){var t,n,e,r,i,o,u=Pd(),a=Cd().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=Cd().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(t,n){o=[t,n]}};function l(t){var n=t[0],u=t[1];return o=null,e.point(n,u),o||(r.point(n,u),o)||(i.point(n,u),o)}function s(){return t=n=null,l}return l.invert=function(t){var n=u.scale(),e=u.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:u).invert(t)},l.stream=function(e){return t&&n===e?t:t=function(t){var n=t.length;return{point:function(e,r){for(var i=-1;++i<n;)t[i].point(e,r)},sphere:function(){for(var e=-1;++e<n;)t[e].sphere()},lineStart:function(){for(var e=-1;++e<n;)t[e].lineStart()},lineEnd:function(){for(var e=-1;++e<n;)t[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<n;)t[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e<n;)t[e].polygonEnd()}}}([u.stream(n=e),a.stream(e),c.stream(e)])},l.precision=function(t){return arguments.length?(u.precision(t),a.precision(t),c.precision(t),s()):u.precision()},l.scale=function(t){return arguments.length?(u.scale(t),a.scale(.35*t),c.scale(t),l.translate(u.translate())):u.scale()},l.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),o=+t[0],l=+t[1];return e=u.translate(t).clipExtent([[o-.455*n,l-.238*n],[o+.455*n,l+.238*n]]).stream(f),r=a.translate([o-.307*n,l+.201*n]).clipExtent([[o-.425*n+sf,l+.12*n+sf],[o-.214*n-sf,l+.234*n-sf]]).stream(f),i=c.translate([o-.205*n,l+.212*n]).clipExtent([[o-.214*n+sf,l+.166*n+sf],[o-.115*n-sf,l+.234*n-sf]]).stream(f),s()},l.fitExtent=function(t,n){return vd(l,t,n)},l.fitSize=function(t,n){return _d(l,t,n)},l.fitWidth=function(t,n){return bd(l,t,n)},l.fitHeight=function(t,n){return md(l,t,n)},l.scale(1070)}function Dd(t){return function(n,e){var r=wf(n),i=wf(e),o=t(r*i);return o===1/0?[2,0]:[o*i*Ef(n),o*Ef(e)]}}function zd(t){return function(n,e){var r=Cf(n*n+e*e),i=t(r),o=Ef(i),u=wf(i);return[xf(n*o,r*u),Df(r&&e*o/r)]}}var Ud=Dd((function(t){return Cf(2/(1+t))}));function $d(){return Sd(Ud).scale(124.75).clipAngle(179.999)}Ud.invert=zd((function(t){return 2*Df(t/2)}));var qd=Dd((function(t){return(t=Zf(t))&&t/Ef(t)}));function Fd(){return Sd(qd).scale(79.4188).clipAngle(179.999)}function Yd(t,n){return[t,Sf(Pf((pf+n)/2))]}function Rd(){return Bd(Yd).scale(961/yf)}function Bd(t){var n,e,r,i=Sd(t),o=i.center,u=i.scale,a=i.translate,c=i.clipExtent,f=null;function l(){var o=df*u(),a=i(hs(i.rotate()).invert([0,0]));return c(null==f?[[a[0]-o,a[1]-o],[a[0]+o,a[1]+o]]:t===Yd?[[Math.max(a[0]-o,f),n],[Math.min(a[0]+o,e),r]]:[[f,Math.max(a[1]-o,n)],[e,Math.min(a[1]+o,r)]])}return i.scale=function(t){return arguments.length?(u(t),l()):u()},i.translate=function(t){return arguments.length?(a(t),l()):a()},i.center=function(t){return arguments.length?(o(t),l()):o()},i.clipExtent=function(t){return arguments.length?(null==t?f=n=e=r=null:(f=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),l()):null==f?null:[[f,n],[e,r]]},l()}function Od(t){return Pf((pf+t)/2)}function Id(t,n){var e=wf(t),r=t===n?Ef(t):Sf(e/wf(n))/Sf(Od(n)/Od(t)),i=e*Nf(Od(t),r)/r;if(!r)return Yd;function o(t,n){i>0?n<-pf+sf&&(n=-pf+sf):n>pf-sf&&(n=pf-sf);var e=i/Nf(Od(n),r);return[e*Ef(r*t),i-e*wf(r*t)]}return o.invert=function(t,n){var e=i-n,o=kf(r)*Cf(t*t+e*e),u=xf(t,bf(e))*kf(e);return e*r<0&&(u-=df*kf(t)*kf(e)),[u/r,2*mf(Nf(i/o,1/r))-pf]},o}function Ld(){return Ed(Id).scale(109.5).parallels([30,30])}function Hd(t,n){return[t,n]}function jd(){return Sd(Hd).scale(152.63)}function Vd(t,n){var e=wf(t),r=t===n?Ef(t):(e-wf(n))/(n-t),i=e/r+t;if(bf(r)<sf)return Hd;function o(t,n){var e=i-n,o=r*t;return[e*Ef(o),i-e*wf(o)]}return o.invert=function(t,n){var e=i-n,o=xf(t,bf(e))*kf(e);return e*r<0&&(o-=df*kf(t)*kf(e)),[o/r,i-kf(r)*Cf(t*t+e*e)]},o}function Xd(){return Ed(Vd).scale(131.154).center([0,13.9389])}qd.invert=zd((function(t){return t})),Yd.invert=function(t,n){return[t,2*mf(Tf(n))-pf]},Hd.invert=Hd;var Gd=1.340264,Wd=-.081106,Qd=893e-6,Jd=.003796,Kd=Cf(3)/2;function tp(t,n){var e=Df(Kd*Ef(n)),r=e*e,i=r*r*r;return[t*wf(e)/(Kd*(Gd+3*Wd*r+i*(7*Qd+9*Jd*r))),e*(Gd+Wd*r+i*(Qd+Jd*r))]}function np(){return Sd(tp).scale(177.158)}function ep(t,n){var e=wf(n),r=wf(t)*e;return[e*Ef(t)/r,Ef(n)/r]}function rp(){return Sd(ep).scale(144.049).clipAngle(60)}function ip(){var t,n,e,r,i,o,u,a=1,c=0,f=0,l=1,s=1,h=0,d=null,p=1,g=1,y=pd({point:function(t,n){var e=b([t,n]);this.stream.point(e[0],e[1])}}),v=lh;function _(){return p=a*l,g=a*s,o=u=null,b}function b(e){var r=e[0]*p,i=e[1]*g;if(h){var o=i*t-r*n;r=r*t+i*n,i=o}return[r+c,i+f]}return b.invert=function(e){var r=e[0]-c,i=e[1]-f;if(h){var o=i*t+r*n;r=r*t-i*n,i=o}return[r/p,i/g]},b.stream=function(t){return o&&u===t?o:o=y(v(u=t))},b.postclip=function(t){return arguments.length?(v=t,d=e=r=i=null,_()):v},b.clipExtent=function(t){return arguments.length?(v=null==t?(d=e=r=i=null,lh):Us(d=+t[0][0],e=+t[0][1],r=+t[1][0],i=+t[1][1]),_()):null==d?null:[[d,e],[r,i]]},b.scale=function(t){return arguments.length?(a=+t,_()):a},b.translate=function(t){return arguments.length?(c=+t[0],f=+t[1],_()):[c,f]},b.angle=function(e){return arguments.length?(n=Ef(h=e%360*_f),t=wf(h),_()):h*vf},b.reflectX=function(t){return arguments.length?(l=t?-1:1,_()):l<0},b.reflectY=function(t){return arguments.length?(s=t?-1:1,_()):s<0},b.fitExtent=function(t,n){return vd(b,t,n)},b.fitSize=function(t,n){return _d(b,t,n)},b.fitWidth=function(t,n){return bd(b,t,n)},b.fitHeight=function(t,n){return md(b,t,n)},b}function op(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}function up(){return Sd(op).scale(175.295)}function ap(t,n){return[wf(n)*Ef(t),Ef(n)]}function cp(){return Sd(ap).scale(249.5).clipAngle(90+sf)}function fp(t,n){var e=wf(n),r=1+wf(t)*e;return[e*Ef(t)/r,Ef(n)/r]}function lp(){return Sd(fp).scale(250).clipAngle(142)}function sp(t,n){return[Sf(Pf((pf+n)/2)),-t]}function hp(){var t=Bd(sp),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function dp(t,n){return t.parent===n.parent?1:2}function pp(t,n){return t+n.x}function gp(t,n){return Math.max(t,n.y)}function yp(){var t=dp,n=1,e=1,r=!1;function i(i){var o,u=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(pp,0)/t.length}(e),n.y=function(t){return 1+t.reduce(gp,0)}(e)):(n.x=o?u+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=a.x-t(a,c)/2,l=c.x+t(c,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(l-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function vp(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function _p(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=mp)):void 0===n&&(n=bp);for(var e,r,i,o,u,a=new Mp(t),c=[a];e=c.pop();)if((i=n(e.data))&&(u=(i=Array.from(i)).length))for(e.children=i,o=u-1;o>=0;--o)c.push(r=i[o]=new Mp(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(wp)}function bp(t){return t.children}function mp(t){return Array.isArray(t)?t[1]:null}function xp(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function wp(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Mp(t){this.data=t,this.depth=this.height=0,this.parent=null}function Tp(t){return null==t?null:Ap(t)}function Ap(t){if("function"!==typeof t)throw new Error;return t}function Sp(){return 0}function Np(t){return function(){return t}}tp.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,u=0;u<12&&(o=(i=(r-=e=(r*(Gd+Wd*i+o*(Qd+Jd*i))-n)/(Gd+3*Wd*i+o*(7*Qd+9*Jd*i)))*r)*i*i,!(bf(e)<hf));++u);return[Kd*t*(Gd+3*Wd*i+o*(7*Qd+9*Jd*i))/wf(r),Df(Ef(r)/Kd)]},ep.invert=zd(mf),op.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,u=o*o;r-=e=(r*(1.007226+o*(.015085+u*(.028874*o-.044475-.005916*u)))-n)/(1.007226+o*(.045255+u*(.259866*o-.311325-.005916*11*u)))}while(bf(e)>sf&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},ap.invert=zd(Df),fp.invert=zd((function(t){return 2*mf(t)})),sp.invert=function(t,n){return[-n,2*mf(Tf(t))-pf]},Mp.prototype=_p.prototype={constructor:Mp,count:function(){return this.eachAfter(vp)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,u=[o],a=[],c=-1;o=u.pop();)if(a.push(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r]);for(;o=a.pop();)t.call(n,o,++c,this);return this},eachBefore:function(t,n){for(var e,r,i=this,o=[i],u=-1;i=o.pop();)if(t.call(n,i,++u,this),e=i.children)for(r=e.length-1;r>=0;--r)o.push(e[r]);return this},find:function(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return _p(this).eachBefore(xp)},[Symbol.iterator]:function*(){var t,n,e,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e])}while(o.length)}};const Ep=1664525,kp=1013904223,Cp=4294967296;function Pp(){let t=1;return()=>(t=(Ep*t+kp)%Cp)/Cp}function Zp(t){return Dp(t,Pp())}function Dp(t,n){for(var e,r,i=0,o=(t=function(t,n){let e,r,i=t.length;for(;i;)r=n()*i--|0,e=t[i],t[i]=t[r],t[r]=e;return t}(Array.from(t),n)).length,u=[];i<o;)e=t[i],r&&$p(r,e)?++i:(r=Fp(u=zp(u,e)),i=0);return r}function zp(t,n){var e,r;if(qp(n,t))return[n];for(e=0;e<t.length;++e)if(Up(n,t[e])&&qp(Yp(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(Up(Yp(t[e],t[r]),n)&&Up(Yp(t[e],n),t[r])&&Up(Yp(t[r],n),t[e])&&qp(Rp(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function Up(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function $p(t,n){var e=t.r-n.r+1e-9*Math.max(t.r,n.r,1),r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function qp(t,n){for(var e=0;e<n.length;++e)if(!$p(t,n[e]))return!1;return!0}function Fp(t){switch(t.length){case 1:return function(t){return{x:t.x,y:t.y,r:t.r}}(t[0]);case 2:return Yp(t[0],t[1]);case 3:return Rp(t[0],t[1],t[2])}}function Yp(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,c=o-e,f=u-r,l=a-i,s=Math.sqrt(c*c+f*f);return{x:(e+o+c/s*l)/2,y:(r+u+f/s*l)/2,r:(s+i+a)/2}}function Rp(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,c=n.r,f=e.x,l=e.y,s=e.r,h=r-u,d=r-f,p=i-a,g=i-l,y=c-o,v=s-o,_=r*r+i*i-o*o,b=_-u*u-a*a+c*c,m=_-f*f-l*l+s*s,x=d*p-h*g,w=(p*m-g*b)/(2*x)-r,M=(g*y-p*v)/x,T=(d*b-h*m)/(2*x)-i,A=(h*v-d*y)/x,S=M*M+A*A-1,N=2*(o+w*M+T*A),E=w*w+T*T-o*o,k=-(Math.abs(S)>1e-6?(N+Math.sqrt(N*N-4*S*E))/(2*S):E/N);return{x:r+w+M*k,y:i+T+A*k,r:k}}function Bp(t,n,e){var r,i,o,u,a=t.x-n.x,c=t.y-n.y,f=a*a+c*c;f?(i=n.r+e.r,i*=i,u=t.r+e.r,i>(u*=u)?(r=(f+u-i)/(2*f),o=Math.sqrt(Math.max(0,u/f-r*r)),e.x=t.x-r*a-o*c,e.y=t.y-r*c+o*a):(r=(f+i-u)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*a-o*c,e.y=n.y+r*c+o*a)):(e.x=n.x+e.r,e.y=n.y)}function Op(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function Ip(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function Lp(t){this._=t,this.next=null,this.previous=null}function Hp(t,n){if(!(o=(t=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}(t)).length))return 0;var e,r,i,o,u,a,c,f,l,s,h;if((e=t[0]).x=0,e.y=0,!(o>1))return e.r;if(r=t[1],e.x=-r.r,r.x=e.r,r.y=0,!(o>2))return e.r+r.r;Bp(r,e,i=t[2]),e=new Lp(e),r=new Lp(r),i=new Lp(i),e.next=i.previous=r,r.next=e.previous=i,i.next=r.previous=e;t:for(c=3;c<o;++c){Bp(e._,r._,i=t[c]),i=new Lp(i),f=r.next,l=e.previous,s=r._.r,h=e._.r;do{if(s<=h){if(Op(f._,i._)){r=f,e.next=r,r.previous=e,--c;continue t}s+=f._.r,f=f.next}else{if(Op(l._,i._)){(e=l).next=r,r.previous=e,--c;continue t}h+=l._.r,l=l.previous}}while(f!==l.next);for(i.previous=e,i.next=r,e.next=r.previous=r=i,u=Ip(e);(i=i.next)!==r;)(a=Ip(i))<u&&(e=i,u=a);r=e.next}for(e=[r._],i=r;(i=i.next)!==r;)e.push(i._);for(i=Dp(e,n),c=0;c<o;++c)(e=t[c]).x-=i.x,e.y-=i.y;return i.r}function jp(t){return Hp(t,Pp()),t}function Vp(t){return Math.sqrt(t.value)}function Xp(){var t=null,n=1,e=1,r=Sp;function i(i){const o=Pp();return i.x=n/2,i.y=e/2,t?i.eachBefore(Gp(t)).eachAfter(Wp(r,.5,o)).eachBefore(Qp(1)):i.eachBefore(Gp(Vp)).eachAfter(Wp(Sp,1,o)).eachAfter(Wp(r,i.r/Math.min(n,e),o)).eachBefore(Qp(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=Tp(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"===typeof t?t:Np(+t),i):r},i}function Gp(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Wp(t,n,e){return function(r){if(i=r.children){var i,o,u,a=i.length,c=t(r)*n||0;if(c)for(o=0;o<a;++o)i[o].r+=c;if(u=Hp(i,e),c)for(o=0;o<a;++o)i[o].r-=c;r.r=u+c}}}function Qp(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function Jp(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Kp(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(r-n)/t.value;++a<c;)(o=u[a]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*f}function tg(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&Kp(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,u=r.x1-e,a=r.y1-e;u<i&&(i=u=(i+u)/2),a<o&&(o=a=(o+a)/2),r.x0=i,r.y0=o,r.x1=u,r.y1=a}}(n,o)),r&&i.eachBefore(Jp),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(t){return arguments.length?(e=+t,i):e},i}var ng={depth:-1},eg={},rg={};function ig(t){return t.id}function og(t){return t.parentId}function ug(){var t,n=ig,e=og;function r(r){var i,o,u,a,c,f,l,s,h=Array.from(r),d=n,p=e,g=new Map;if(null!=t){const n=h.map(((n,e)=>function(t){t=`${t}`;let n=t.length;cg(t,n-1)&&!cg(t,n-2)&&(t=t.slice(0,-1));return"/"===t[0]?t:`/${t}`}(t(n,e,r)))),e=n.map(ag),i=new Set(n).add("");for(const t of e)i.has(t)||(i.add(t),n.push(t),e.push(ag(t)),h.push(rg));d=(t,e)=>n[e],p=(t,n)=>e[n]}for(u=0,i=h.length;u<i;++u)o=h[u],f=h[u]=new Mp(o),null!=(l=d(o,u,r))&&(l+="")&&(s=f.id=l,g.set(s,g.has(s)?eg:f)),null!=(l=p(o,u,r))&&(l+="")&&(f.parent=l);for(u=0;u<i;++u)if(l=(f=h[u]).parent){if(!(c=g.get(l)))throw new Error("missing: "+l);if(c===eg)throw new Error("ambiguous: "+l);c.children?c.children.push(f):c.children=[f],f.parent=c}else{if(a)throw new Error("multiple roots");a=f}if(!a)throw new Error("no root");if(null!=t){for(;a.data===rg&&1===a.children.length;)a=a.children[0],--i;for(let t=h.length-1;t>=0&&(f=h[t]).data===rg;--t)f.data=null}if(a.parent=ng,a.eachBefore((function(t){t.depth=t.parent.depth+1,--i})).eachBefore(wp),a.parent=null,i>0)throw new Error("cycle");return a}return r.id=function(t){return arguments.length?(n=Tp(t),r):n},r.parentId=function(t){return arguments.length?(e=Tp(t),r):e},r.path=function(n){return arguments.length?(t=Tp(n),r):t},r}function ag(t){let n=t.length;if(n<2)return"";for(;--n>1&&!cg(t,n););return t.slice(0,n)}function cg(t,n){if("/"===t[n]){let e=0;for(;n>0&&"\\"===t[--n];)++e;if(0===(1&e))return!0}return!1}function fg(t,n){return t.parent===n.parent?1:2}function lg(t){var n=t.children;return n?n[0]:t.t}function sg(t){var n=t.children;return n?n[n.length-1]:t.t}function hg(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function dg(t,n,e){return t.a.parent===n.parent?t.a:e}function pg(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function gg(){var t=fg,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,u=new pg(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new pg(r[i],i)),e.parent=n;return(u.parent=new pg(null,0)).children=[u],u}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(u),r)i.eachBefore(a);else{var f=i,l=i,s=i;i.eachBefore((function(t){t.x<f.x&&(f=t),t.x>l.x&&(l=t),t.depth>s.depth&&(s=t)}));var h=f===l?1:t(f,l)/2,d=h-f.x,p=n/(l.x+h+d),g=e/(s.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,u=n,a=e,c=o.parent.children[0],f=o.m,l=u.m,s=a.m,h=c.m;a=sg(a),o=lg(o),a&&o;)c=lg(c),(u=sg(u)).a=n,(i=a.z+s-o.z-f+t(a._,o._))>0&&(hg(dg(a,n,r),n,i),f+=i,l+=i),s+=a.m,f+=o.m,h+=c.m,l+=u.m;a&&!sg(u)&&(u.t=a,u.m+=s-l),o&&!lg(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function yg(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(i-e)/t.value;++a<c;)(o=u[a]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*f}pg.prototype=Object.create(Mp.prototype);var vg=(1+Math.sqrt(5))/2;function _g(t,n,e,r,i,o){for(var u,a,c,f,l,s,h,d,p,g,y,v=[],_=n.children,b=0,m=0,x=_.length,w=n.value;b<x;){c=i-e,f=o-r;do{l=_[m++].value}while(!l&&m<x);for(s=h=l,y=l*l*(g=Math.max(f/c,c/f)/(w*t)),p=Math.max(h/y,y/s);m<x;++m){if(l+=a=_[m].value,a<s&&(s=a),a>h&&(h=a),y=l*l*g,(d=Math.max(h/y,y/s))>p){l-=a;break}p=d}v.push(u={value:l,dice:c<f,children:_.slice(b,m)}),u.dice?Kp(u,e,r,i,w?r+=f*l/w:o):yg(u,e,r,w?e+=c*l/w:i,o),w-=l,b=m}return v}var bg=function t(n){function e(t,e,r,i,o){_g(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(vg);function mg(){var t=bg,n=!1,e=1,r=1,i=[0],o=Sp,u=Sp,a=Sp,c=Sp,f=Sp;function l(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(s),i=[0],n&&t.eachBefore(Jp),t}function s(n){var e=i[n.depth],r=n.x0+e,l=n.y0+e,s=n.x1-e,h=n.y1-e;s<r&&(r=s=(r+s)/2),h<l&&(l=h=(l+h)/2),n.x0=r,n.y0=l,n.x1=s,n.y1=h,n.children&&(e=i[n.depth+1]=o(n)/2,r+=f(n)-e,l+=u(n)-e,(s-=a(n)-e)<r&&(r=s=(r+s)/2),(h-=c(n)-e)<l&&(l=h=(l+h)/2),t(n,r,l,s,h))}return l.round=function(t){return arguments.length?(n=!!t,l):n},l.size=function(t){return arguments.length?(e=+t[0],r=+t[1],l):[e,r]},l.tile=function(n){return arguments.length?(t=Ap(n),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"===typeof t?t:Np(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(u="function"===typeof t?t:Np(+t),l):u},l.paddingRight=function(t){return arguments.length?(a="function"===typeof t?t:Np(+t),l):a},l.paddingBottom=function(t){return arguments.length?(c="function"===typeof t?t:Np(+t),l):c},l.paddingLeft=function(t){return arguments.length?(f="function"===typeof t?t:Np(+t),l):f},l}function xg(t,n,e,r,i){var o,u,a=t.children,c=a.length,f=new Array(c+1);for(f[0]=u=o=0;o<c;++o)f[o+1]=u+=a[o].value;!function t(n,e,r,i,o,u,c){if(n>=e-1){var l=a[n];return l.x0=i,l.y0=o,l.x1=u,void(l.y1=c)}var s=f[n],h=r/2+s,d=n+1,p=e-1;for(;d<p;){var g=d+p>>>1;f[g]<h?d=g+1:p=g}h-f[d-1]<f[d]-h&&n+1<d&&--d;var y=f[d]-s,v=r-y;if(u-i>c-o){var _=r?(i*v+u*y)/r:u;t(n,d,y,i,o,_,c),t(d,e,v,_,o,u,c)}else{var b=r?(o*v+c*y)/r:c;t(n,d,y,i,o,u,b),t(d,e,v,i,b,u,c)}}(0,c,t.value,n,e,r,i)}function wg(t,n,e,r,i){(1&t.depth?yg:Kp)(t,n,e,r,i)}var Mg=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,f,l,s=-1,h=u.length,d=t.value;++s<h;){for(c=(a=u[s]).children,f=a.value=0,l=c.length;f<l;++f)a.value+=c[f].value;a.dice?Kp(a,e,r,i,d?r+=(o-r)*a.value/d:o):yg(a,e,r,d?e+=(i-e)*a.value/d:i,o),d-=a.value}else t._squarify=u=_g(n,t,e,r,i,o),u.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(vg),Tg=e(51606),Ag=e(27265),Sg=e(76068),Ng=e(56246);function Eg(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var kg=e(98280);function Cg(t,n){var e=(0,kg.wx)(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}}var Pg=e(45401),Zg=e(58296),Dg=e(64635);function zg(t){return((t=Math.exp(t))+1/t)/2}var Ug=function t(n,e,r){function i(t,i){var o,u,a=t[0],c=t[1],f=t[2],l=i[0],s=i[1],h=i[2],d=l-a,p=s-c,g=d*d+p*p;if(g<1e-12)u=Math.log(h/f)/n,o=function(t){return[a+t*d,c+t*p,f*Math.exp(n*t*u)]};else{var y=Math.sqrt(g),v=(h*h-f*f+r*g)/(2*f*e*y),_=(h*h-f*f-r*g)/(2*h*e*y),b=Math.log(Math.sqrt(v*v+1)-v),m=Math.log(Math.sqrt(_*_+1)-_);u=(m-b)/n,o=function(t){var r=t*u,i=zg(b),o=f/(e*y)*(i*function(t){return((t=Math.exp(2*t))-1)/(t+1)}(n*r+b)-function(t){return((t=Math.exp(t))-1/t)/2}(b));return[a+o*d,c+o*p,f*i/zg(n*r+b)]}}return o.duration=1e3*u*n/Math.SQRT2,o}return i.rho=function(n){var e=Math.max(.001,+n),r=e*e;return t(e,r,r*r)},i}(Math.SQRT2,2,4);function $g(t){return function(n,e){var r=t((n=(0,Fr.Ym)(n)).h,(e=(0,Fr.Ym)(e)).h),i=(0,kg.ZP)(n.s,e.s),o=(0,kg.ZP)(n.l,e.l),u=(0,kg.ZP)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var qg=$g(kg.wx),Fg=$g(kg.ZP);function Yg(t,n){var e=(0,kg.ZP)((t=$o(t)).l,(n=$o(n)).l),r=(0,kg.ZP)(t.a,n.a),i=(0,kg.ZP)(t.b,n.b),o=(0,kg.ZP)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function Rg(t){return function(n,e){var r=t((n=Lo(n)).h,(e=Lo(e)).h),i=(0,kg.ZP)(n.c,e.c),o=(0,kg.ZP)(n.l,e.l),u=(0,kg.ZP)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var Bg=Rg(kg.wx),Og=Rg(kg.ZP);function Ig(t){return function n(e){function r(n,r){var i=t((n=nu(n)).h,(r=nu(r)).h),o=(0,kg.ZP)(n.s,r.s),u=(0,kg.ZP)(n.l,r.l),a=(0,kg.ZP)(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}var Lg=Ig(kg.wx),Hg=Ig(kg.ZP),jg=e(19640);function Vg(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e}function Xg(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2}function Gg(t){for(var n,e,r=-1,i=t.length,o=0,u=0,a=t[i-1],c=0;++r<i;)n=a,a=t[r],c+=e=n[0]*a[1]-a[0]*n[1],o+=(n[0]+a[0])*e,u+=(n[1]+a[1])*e;return[o/(c*=3),u/c]}function Wg(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function Qg(t,n){return t[0]-n[0]||t[1]-n[1]}function Jg(t){const n=t.length,e=[0,1];let r,i=2;for(r=2;r<n;++r){for(;i>1&&Wg(t[e[i-2]],t[e[i-1]],t[r])<=0;)--i;e[i++]=r}return e.slice(0,i)}function Kg(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(Qg),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=Jg(r),u=Jg(i),a=u[0]===o[0],c=u[u.length-1]===o[o.length-1],f=[];for(n=o.length-1;n>=0;--n)f.push(t[r[o[n]][2]]);for(n=+a;n<u.length-c;++n)f.push(t[r[u[n]][2]]);return f}function ty(t,n){for(var e,r,i=t.length,o=t[i-1],u=n[0],a=n[1],c=o[0],f=o[1],l=!1,s=0;s<i;++s)e=(o=t[s])[0],(r=o[1])>a!==f>a&&u<(c-e)*(a-r)/(f-r)+e&&(l=!l),c=e,f=r;return l}function ny(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r<i;)n=u,e=a,n-=u=(o=t[r])[0],e-=a=o[1],c+=Math.hypot(n,e);return c}var ey=Math.random,ry=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(ey),iy=function t(n){function e(t,e){return arguments.length<2&&(e=t,t=0),t=Math.floor(t),e=Math.floor(e)-t,function(){return Math.floor(n()*e+t)}}return e.source=t,e}(ey),oy=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(ey),uy=function t(n){var e=oy.source(n);function r(){var t=e.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(ey),ay=function t(n){function e(t){return(t=+t)<=0?()=>0:function(){for(var e=0,r=t;r>1;--r)e+=n();return e+r*n()}}return e.source=t,e}(ey),cy=function t(n){var e=ay.source(n);function r(t){if(0===(t=+t))return n;var r=e(t);return function(){return r()/t}}return r.source=t,r}(ey),fy=function t(n){function e(t){return function(){return-Math.log1p(-n())/t}}return e.source=t,e}(ey),ly=function t(n){function e(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-n(),t)}}return e.source=t,e}(ey),sy=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(n()+t)}}return e.source=t,e}(ey),hy=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?()=>1/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-n())/t)})}return e.source=t,e}(ey),dy=function t(n){var e=oy.source(n)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-n())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),u=t<1?()=>Math.pow(n(),1/t):()=>1;return function(){do{do{var t=e(),a=1+o*t}while(a<=0);a*=a*a;var c=1-n()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-a+Math.log(a)));return i*a*u()*r}}return r.source=t,r}(ey),py=function t(n){var e=dy.source(n);function r(t,n){var r=e(t),i=e(n);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(ey),gy=function t(n){var e=hy.source(n),r=py.source(n);function i(t,n){return t=+t,(n=+n)>=1?()=>t:n<=0?()=>0:function(){for(var i=0,o=t,u=n;o*u>16&&o*(1-u)>16;){var a=Math.floor((o+1)*u),c=r(a,o-a+1)();c<=u?(i+=a,o-=a,u=(u-c)/(1-c)):(o=a-1,u/=c)}for(var f=u<.5,l=e(f?u:1-u),s=l(),h=0;s<=o;++h)s+=l();return i+(f?h:o-h)}}return i.source=t,i}(ey),yy=function t(n){function e(t,e,r){var i;return 0===(t=+t)?i=t=>-Math.log(t):(t=1/t,i=n=>Math.pow(n,t)),e=null==e?0:+e,r=null==r?1:+r,function(){return e+r*i(-Math.log1p(-n()))}}return e.source=t,e}(ey),vy=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){return t+e*Math.tan(Math.PI*n())}}return e.source=t,e}(ey),_y=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){var r=n();return t+e*Math.log(r/(1-r))}}return e.source=t,e}(ey),by=function t(n){var e=dy.source(n),r=gy.source(n);function i(t){return function(){for(var i=0,o=t;o>16;){var u=Math.floor(.875*o),a=e(u)();if(a>o)return i+r(u-1,o/a)();i+=u,o-=a}for(var c=-Math.log1p(-n()),f=0;c<=o;++f)c-=Math.log1p(-n());return i+f}}return i.source=t,i}(ey);const my=1664525,xy=1013904223,wy=1/4294967296;function My(t=Math.random()){let n=0|(0<=t&&t<1?t/wy:Math.abs(t));return()=>(n=my*n+xy|0,wy*(n>>>0))}var Ty=e(69032);function Ay(t){for(var n=t.length/6|0,e=new Array(n),r=0;r<n;)e[r]="#"+t.slice(6*r,6*++r);return e}var Sy=Ay("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Ny=Ay("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Ey=Ay("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),ky=Ay("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Cy=Ay("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Py=Ay("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Zy=Ay("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Dy=Ay("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),zy=Ay("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Uy=Ay("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),$y=t=>(0,Yr.hD)(t[t.length-1]),qy=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Ay),Fy=$y(qy),Yy=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Ay),Ry=$y(Yy),By=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Ay),Oy=$y(By),Iy=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Ay),Ly=$y(Iy),Hy=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Ay),jy=$y(Hy),Vy=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Ay),Xy=$y(Vy),Gy=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Ay),Wy=$y(Gy),Qy=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Ay),Jy=$y(Qy),Ky=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Ay),tv=$y(Ky),nv=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Ay),ev=$y(nv),rv=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Ay),iv=$y(rv),ov=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Ay),uv=$y(ov),av=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Ay),cv=$y(av),fv=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Ay),lv=$y(fv),sv=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Ay),hv=$y(sv),dv=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Ay),pv=$y(dv),gv=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Ay),yv=$y(gv),vv=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Ay),_v=$y(vv),bv=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Ay),mv=$y(bv),xv=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Ay),wv=$y(xv),Mv=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Ay),Tv=$y(Mv),Av=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Ay),Sv=$y(Av),Nv=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Ay),Ev=$y(Nv),kv=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Ay),Cv=$y(kv),Pv=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Ay),Zv=$y(Pv),Dv=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Ay),zv=$y(Dv),Uv=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Ay),$v=$y(Uv);function qv(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var Fv=Hg(nu(300,.5,0),nu(-240,.5,1)),Yv=Hg(nu(-100,.75,.35),nu(80,1.5,.8)),Rv=Hg(nu(260,.75,.35),nu(80,1.5,.8)),Bv=nu();function Ov(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return Bv.h=360*t-100,Bv.s=1.5-1.5*n,Bv.l=.8-.9*n,Bv+""}var Iv=(0,Fr.B8)(),Lv=Math.PI/3,Hv=2*Math.PI/3;function jv(t){var n;return t=(.5-t)*Math.PI,Iv.r=255*(n=Math.sin(t))*n,Iv.g=255*(n=Math.sin(t+Lv))*n,Iv.b=255*(n=Math.sin(t+Hv))*n,Iv+""}function Vv(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function Xv(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var Gv=Xv(Ay("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Wv=Xv(Ay("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Qv=Xv(Ay("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Jv=Xv(Ay("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function Kv(t){return qe(Me(t).call(document.documentElement))}var t_=0;function n_(){return new e_}function e_(){this._="@"+(++t_).toString(36)}function r_(t,n){return t.target&&(t=He(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>je(t,n)))}function i_(t){return"string"===typeof t?new ze([document.querySelectorAll(t)],[document.documentElement]):new ze([Sn(t)],De)}function o_(t){return function(){return t}}e_.prototype=n_.prototype={constructor:e_,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};const u_=Math.abs,a_=Math.atan2,c_=Math.cos,f_=Math.max,l_=Math.min,s_=Math.sin,h_=Math.sqrt,d_=1e-12,p_=Math.PI,g_=p_/2,y_=2*p_;function v_(t){return t>=1?g_:t<=-1?-g_:Math.asin(t)}function __(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);n=t}return t},()=>new co(n)}function b_(t){return t.innerRadius}function m_(t){return t.outerRadius}function x_(t){return t.startAngle}function w_(t){return t.endAngle}function M_(t){return t&&t.padAngle}function T_(t,n,e,r,i,o,u){var a=t-e,c=n-r,f=(u?o:-o)/h_(a*a+c*c),l=f*c,s=-f*a,h=t+l,d=n+s,p=e+l,g=r+s,y=(h+p)/2,v=(d+g)/2,_=p-h,b=g-d,m=_*_+b*b,x=i-o,w=h*g-p*d,M=(b<0?-1:1)*h_(f_(0,x*x*m-w*w)),T=(w*b-_*M)/m,A=(-w*_-b*M)/m,S=(w*b+_*M)/m,N=(-w*_+b*M)/m,E=T-y,k=A-v,C=S-y,P=N-v;return E*E+k*k>C*C+P*P&&(T=S,A=N),{cx:T,cy:A,x01:-l,y01:-s,x11:T*(i/x-1),y11:A*(i/x-1)}}function A_(){var t=b_,n=m_,e=o_(0),r=null,i=x_,o=w_,u=M_,a=null,c=__(f);function f(){var f,l,s=+t.apply(this,arguments),h=+n.apply(this,arguments),d=i.apply(this,arguments)-g_,p=o.apply(this,arguments)-g_,g=u_(p-d),y=p>d;if(a||(a=f=c()),h<s&&(l=h,h=s,s=l),h>d_)if(g>y_-d_)a.moveTo(h*c_(d),h*s_(d)),a.arc(0,0,h,d,p,!y),s>d_&&(a.moveTo(s*c_(p),s*s_(p)),a.arc(0,0,s,p,d,y));else{var v,_,b=d,m=p,x=d,w=p,M=g,T=g,A=u.apply(this,arguments)/2,S=A>d_&&(r?+r.apply(this,arguments):h_(s*s+h*h)),N=l_(u_(h-s)/2,+e.apply(this,arguments)),E=N,k=N;if(S>d_){var C=v_(S/s*s_(A)),P=v_(S/h*s_(A));(M-=2*C)>d_?(x+=C*=y?1:-1,w-=C):(M=0,x=w=(d+p)/2),(T-=2*P)>d_?(b+=P*=y?1:-1,m-=P):(T=0,b=m=(d+p)/2)}var Z=h*c_(b),D=h*s_(b),z=s*c_(w),U=s*s_(w);if(N>d_){var $,q=h*c_(m),F=h*s_(m),Y=s*c_(x),R=s*s_(x);if(g<p_)if($=function(t,n,e,r,i,o,u,a){var c=e-t,f=r-n,l=u-i,s=a-o,h=s*c-l*f;if(!(h*h<d_))return[t+(h=(l*(n-o)-s*(t-i))/h)*c,n+h*f]}(Z,D,Y,R,q,F,z,U)){var B=Z-$[0],O=D-$[1],I=q-$[0],L=F-$[1],H=1/s_(function(t){return t>1?0:t<-1?p_:Math.acos(t)}((B*I+O*L)/(h_(B*B+O*O)*h_(I*I+L*L)))/2),j=h_($[0]*$[0]+$[1]*$[1]);E=l_(N,(s-j)/(H-1)),k=l_(N,(h-j)/(H+1))}else E=k=0}T>d_?k>d_?(v=T_(Y,R,Z,D,h,k,y),_=T_(q,F,z,U,h,k,y),a.moveTo(v.cx+v.x01,v.cy+v.y01),k<N?a.arc(v.cx,v.cy,k,a_(v.y01,v.x01),a_(_.y01,_.x01),!y):(a.arc(v.cx,v.cy,k,a_(v.y01,v.x01),a_(v.y11,v.x11),!y),a.arc(0,0,h,a_(v.cy+v.y11,v.cx+v.x11),a_(_.cy+_.y11,_.cx+_.x11),!y),a.arc(_.cx,_.cy,k,a_(_.y11,_.x11),a_(_.y01,_.x01),!y))):(a.moveTo(Z,D),a.arc(0,0,h,b,m,!y)):a.moveTo(Z,D),s>d_&&M>d_?E>d_?(v=T_(z,U,q,F,s,-E,y),_=T_(Z,D,Y,R,s,-E,y),a.lineTo(v.cx+v.x01,v.cy+v.y01),E<N?a.arc(v.cx,v.cy,E,a_(v.y01,v.x01),a_(_.y01,_.x01),!y):(a.arc(v.cx,v.cy,E,a_(v.y01,v.x01),a_(v.y11,v.x11),!y),a.arc(0,0,s,a_(v.cy+v.y11,v.cx+v.x11),a_(_.cy+_.y11,_.cx+_.x11),y),a.arc(_.cx,_.cy,E,a_(_.y11,_.x11),a_(_.y01,_.x01),!y))):a.arc(0,0,s,w,x,y):a.lineTo(z,U)}else a.moveTo(0,0);if(a.closePath(),f)return a=null,f+""||null}return f.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-p_/2;return[c_(r)*e,s_(r)*e]},f.innerRadius=function(n){return arguments.length?(t="function"===typeof n?n:o_(+n),f):t},f.outerRadius=function(t){return arguments.length?(n="function"===typeof t?t:o_(+t),f):n},f.cornerRadius=function(t){return arguments.length?(e="function"===typeof t?t:o_(+t),f):e},f.padRadius=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:o_(+t),f):r},f.startAngle=function(t){return arguments.length?(i="function"===typeof t?t:o_(+t),f):i},f.endAngle=function(t){return arguments.length?(o="function"===typeof t?t:o_(+t),f):o},f.padAngle=function(t){return arguments.length?(u="function"===typeof t?t:o_(+t),f):u},f.context=function(t){return arguments.length?(a=null==t?null:t,f):a},f}var S_=Array.prototype.slice;function N_(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}function E_(t){this._context=t}function k_(t){return new E_(t)}function C_(t){return t[0]}function P_(t){return t[1]}function Z_(t,n){var e=o_(!0),r=null,i=k_,o=null,u=__(a);function a(a){var c,f,l,s=(a=N_(a)).length,h=!1;for(null==r&&(o=i(l=u())),c=0;c<=s;++c)!(c<s&&e(f=a[c],c,a))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(f,c,a),+n(f,c,a));if(l)return o=null,l+""||null}return t="function"===typeof t?t:void 0===t?C_:o_(t),n="function"===typeof n?n:void 0===n?P_:o_(n),a.x=function(n){return arguments.length?(t="function"===typeof n?n:o_(+n),a):t},a.y=function(t){return arguments.length?(n="function"===typeof t?t:o_(+t),a):n},a.defined=function(t){return arguments.length?(e="function"===typeof t?t:o_(!!t),a):e},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function D_(t,n,e){var r=null,i=o_(!0),o=null,u=k_,a=null,c=__(f);function f(f){var l,s,h,d,p,g=(f=N_(f)).length,y=!1,v=new Array(g),_=new Array(g);for(null==o&&(a=u(p=c())),l=0;l<=g;++l){if(!(l<g&&i(d=f[l],l,f))===y)if(y=!y)s=l,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),h=l-1;h>=s;--h)a.point(v[h],_[h]);a.lineEnd(),a.areaEnd()}y&&(v[l]=+t(d,l,f),_[l]=+n(d,l,f),a.point(r?+r(d,l,f):v[l],e?+e(d,l,f):_[l]))}if(p)return a=null,p+""||null}function l(){return Z_().defined(i).curve(u).context(o)}return t="function"===typeof t?t:void 0===t?C_:o_(+t),n="function"===typeof n?n:o_(void 0===n?0:+n),e="function"===typeof e?e:void 0===e?P_:o_(+e),f.x=function(n){return arguments.length?(t="function"===typeof n?n:o_(+n),r=null,f):t},f.x0=function(n){return arguments.length?(t="function"===typeof n?n:o_(+n),f):t},f.x1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:o_(+t),f):r},f.y=function(t){return arguments.length?(n="function"===typeof t?t:o_(+t),e=null,f):n},f.y0=function(t){return arguments.length?(n="function"===typeof t?t:o_(+t),f):n},f.y1=function(t){return arguments.length?(e=null==t?null:"function"===typeof t?t:o_(+t),f):e},f.lineX0=f.lineY0=function(){return l().x(t).y(n)},f.lineY1=function(){return l().x(t).y(e)},f.lineX1=function(){return l().x(r).y(n)},f.defined=function(t){return arguments.length?(i="function"===typeof t?t:o_(!!t),f):i},f.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),f):u},f.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),f):o},f}function z_(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function U_(t){return t}function $_(){var t=U_,n=z_,e=null,r=o_(0),i=o_(y_),o=o_(0);function u(u){var a,c,f,l,s,h=(u=N_(u)).length,d=0,p=new Array(h),g=new Array(h),y=+r.apply(this,arguments),v=Math.min(y_,Math.max(-y_,i.apply(this,arguments)-y)),_=Math.min(Math.abs(v)/h,o.apply(this,arguments)),b=_*(v<0?-1:1);for(a=0;a<h;++a)(s=g[p[a]=a]=+t(u[a],a,u))>0&&(d+=s);for(null!=n?p.sort((function(t,e){return n(g[t],g[e])})):null!=e&&p.sort((function(t,n){return e(u[t],u[n])})),a=0,f=d?(v-h*b)/d:0;a<h;++a,y=l)c=p[a],l=y+((s=g[c])>0?s*f:0)+b,g[c]={data:u[c],index:a,value:s,startAngle:y,endAngle:l,padAngle:_};return g}return u.value=function(n){return arguments.length?(t="function"===typeof n?n:o_(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"===typeof t?t:o_(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"===typeof t?t:o_(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:o_(+t),u):o},u}E_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var q_=Y_(k_);function F_(t){this._curve=t}function Y_(t){function n(n){return new F_(t(n))}return n._curve=t,n}function R_(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Y_(t)):n()._curve},t}function B_(){return R_(Z_().curve(q_))}function O_(){var t=D_().curve(q_),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return R_(e())},delete t.lineX0,t.lineEndAngle=function(){return R_(r())},delete t.lineX1,t.lineInnerRadius=function(){return R_(i())},delete t.lineY0,t.lineOuterRadius=function(){return R_(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Y_(t)):n()._curve},t}function I_(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}F_.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};class L_{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}class H_{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,0===this._point)this._point=1;else{const e=I_(this._x0,this._y0),r=I_(this._x0,this._y0=(this._y0+n)/2),i=I_(t,this._y0),o=I_(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}this._x0=t,this._y0=n}}function j_(t){return new L_(t,!0)}function V_(t){return new L_(t,!1)}function X_(t){return new H_(t)}function G_(t){return t.source}function W_(t){return t.target}function Q_(t){let n=G_,e=W_,r=C_,i=P_,o=null,u=null,a=__(c);function c(){let c;const f=S_.call(arguments),l=n.apply(this,f),s=e.apply(this,f);if(null==o&&(u=t(c=a())),u.lineStart(),f[0]=l,u.point(+r.apply(this,f),+i.apply(this,f)),f[0]=s,u.point(+r.apply(this,f),+i.apply(this,f)),u.lineEnd(),c)return u=null,c+""||null}return c.source=function(t){return arguments.length?(n=t,c):n},c.target=function(t){return arguments.length?(e=t,c):e},c.x=function(t){return arguments.length?(r="function"===typeof t?t:o_(+t),c):r},c.y=function(t){return arguments.length?(i="function"===typeof t?t:o_(+t),c):i},c.context=function(n){return arguments.length?(null==n?o=u=null:u=t(o=n),c):o},c}function J_(){return Q_(j_)}function K_(){return Q_(V_)}function tb(){const t=Q_(X_);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const nb=h_(3);var eb={draw(t,n){const e=.59436*h_(n+l_(n/28,.75)),r=e/2,i=r*nb;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},rb={draw(t,n){const e=h_(n/p_);t.moveTo(e,0),t.arc(0,0,e,0,y_)}},ib={draw(t,n){const e=h_(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};const ob=h_(1/3),ub=2*ob;var ab={draw(t,n){const e=h_(n/ub),r=e*ob;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},cb={draw(t,n){const e=.62625*h_(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},fb={draw(t,n){const e=.87559*h_(n-l_(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},lb={draw(t,n){const e=h_(n),r=-e/2;t.rect(r,r,e,e)}},sb={draw(t,n){const e=.4431*h_(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const hb=s_(p_/10)/s_(7*p_/10),db=s_(y_/10)*hb,pb=-c_(y_/10)*hb;var gb={draw(t,n){const e=h_(.8908130915292852*n),r=db*e,i=pb*e;t.moveTo(0,-e),t.lineTo(r,i);for(let o=1;o<5;++o){const n=y_*o/5,u=c_(n),a=s_(n);t.lineTo(a*e,-u*e),t.lineTo(u*r-a*i,a*r+u*i)}t.closePath()}};const yb=h_(3);var vb={draw(t,n){const e=-h_(n/(3*yb));t.moveTo(0,2*e),t.lineTo(-yb*e,-e),t.lineTo(yb*e,-e),t.closePath()}};const _b=h_(3);var bb={draw(t,n){const e=.6824*h_(n),r=e/2,i=e*_b/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const mb=-.5,xb=h_(3)/2,wb=1/h_(12),Mb=3*(wb/2+1);var Tb={draw(t,n){const e=h_(n/Mb),r=e/2,i=e*wb,o=r,u=e*wb+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(mb*r-xb*i,xb*r+mb*i),t.lineTo(mb*o-xb*u,xb*o+mb*u),t.lineTo(mb*a-xb*c,xb*a+mb*c),t.lineTo(mb*r+xb*i,mb*i-xb*r),t.lineTo(mb*o+xb*u,mb*u-xb*o),t.lineTo(mb*a+xb*c,mb*c-xb*a),t.closePath()}},Ab={draw(t,n){const e=.6189*h_(n-l_(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const Sb=[rb,ib,ab,lb,gb,vb,Tb],Nb=[rb,fb,Ab,bb,eb,sb,cb];function Eb(t,n){let e=null,r=__(i);function i(){let i;if(e||(e=i=r()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return t="function"===typeof t?t:o_(t||rb),n="function"===typeof n?n:o_(void 0===n?64:+n),i.type=function(n){return arguments.length?(t="function"===typeof n?n:o_(n),i):t},i.size=function(t){return arguments.length?(n="function"===typeof t?t:o_(+t),i):n},i.context=function(t){return arguments.length?(e=null==t?null:t,i):e},i}function kb(){}function Cb(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Pb(t){this._context=t}function Zb(t){return new Pb(t)}function Db(t){this._context=t}function zb(t){return new Db(t)}function Ub(t){this._context=t}function $b(t){return new Ub(t)}function qb(t,n){this._basis=new Pb(t),this._beta=n}Pb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Cb(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Cb(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Db.prototype={areaStart:kb,areaEnd:kb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Cb(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ub.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Cb(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},qb.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Fb=function t(n){function e(t){return 1===n?new Pb(t):new qb(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Yb(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Rb(t,n){this._context=t,this._k=(1-n)/6}Rb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Yb(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Yb(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Bb=function t(n){function e(t){return new Rb(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ob(t,n){this._context=t,this._k=(1-n)/6}Ob.prototype={areaStart:kb,areaEnd:kb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Yb(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ib=function t(n){function e(t){return new Ob(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Lb(t,n){this._context=t,this._k=(1-n)/6}Lb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Yb(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Hb=function t(n){function e(t){return new Lb(t,n)}return e.tension=function(n){return t(+n)},e}(0);function jb(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>d_){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>d_){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/l,u=(u*f+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function Vb(t,n){this._context=t,this._alpha=n}Vb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:jb(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Xb=function t(n){function e(t){return n?new Vb(t,n):new Rb(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Gb(t,n){this._context=t,this._alpha=n}Gb.prototype={areaStart:kb,areaEnd:kb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:jb(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Wb=function t(n){function e(t){return n?new Gb(t,n):new Ob(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Qb(t,n){this._context=t,this._alpha=n}Qb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:jb(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Jb=function t(n){function e(t){return n?new Qb(t,n):new Lb(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Kb(t){this._context=t}function tm(t){return new Kb(t)}function nm(t){return t<0?-1:1}function em(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(nm(o)+nm(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a))||0}function rm(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function im(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function om(t){this._context=t}function um(t){this._context=new am(t)}function am(t){this._context=t}function cm(t){return new om(t)}function fm(t){return new um(t)}function lm(t){this._context=t}function sm(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,u[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,u[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,u[n]-=e*u[n-1];for(i[r-1]=u[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function hm(t){return new lm(t)}function dm(t,n){this._context=t,this._t=n}function pm(t){return new dm(t,.5)}function gm(t){return new dm(t,0)}function ym(t){return new dm(t,1)}function vm(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o<i;++o)for(r=u,u=t[n[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function _m(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function bm(t,n){return t[n]}function mm(t){const n=[];return n.key=t,n}function xm(){var t=o_([]),n=_m,e=vm,r=bm;function i(i){var o,u,a=Array.from(t.apply(this,arguments),mm),c=a.length,f=-1;for(const t of i)for(o=0,++f;o<c;++o)(a[o][f]=[0,+r(t,a[o].key,f,i)]).data=t;for(o=0,u=N_(n(a));o<c;++o)a[u[o]].index=o;return e(a,u),a}return i.keys=function(n){return arguments.length?(t="function"===typeof n?n:o_(Array.from(n)),i):t},i.value=function(t){return arguments.length?(r="function"===typeof t?t:o_(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?_m:"function"===typeof t?t:o_(Array.from(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?vm:t,i):e},i}function wm(t,n){if((r=t.length)>0){for(var e,r,i,o=0,u=t[0].length;o<u;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}vm(t,n)}}function Mm(t,n){if((a=t.length)>0)for(var e,r,i,o,u,a,c=0,f=t[n[0]].length;c<f;++c)for(o=u=0,e=0;e<a;++e)(i=(r=t[n[e]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)}function Tm(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var u=0,a=0;u<e;++u)a+=t[u][r][1]||0;i[r][1]+=i[r][0]=-a/2}vm(t,n)}}function Am(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;u<r;++u){for(var a=0,c=0,f=0;a<i;++a){for(var l=t[n[a]],s=l[u][1]||0,h=(s-(l[u-1][1]||0))/2,d=0;d<a;++d){var p=t[n[d]];h+=(p[u][1]||0)-(p[u-1][1]||0)}c+=s,f+=h*s}e[u-1][1]+=e[u-1][0]=o,c&&(o-=f/c)}e[u-1][1]+=e[u-1][0]=o,vm(t,n)}}function Sm(t){var n=t.map(Nm);return _m(t).sort((function(t,e){return n[t]-n[e]}))}function Nm(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++e<i;)(n=+t[e][1])>o&&(o=n,r=e);return r}function Em(t){var n=t.map(km);return _m(t).sort((function(t,e){return n[t]-n[e]}))}function km(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function Cm(t){return Em(t).reverse()}function Pm(t){var n,e,r=t.length,i=t.map(km),o=Sm(t),u=0,a=0,c=[],f=[];for(n=0;n<r;++n)e=o[n],u<a?(u+=i[e],c.push(e)):(a+=i[e],f.push(e));return f.reverse().concat(c)}function Zm(t){return _m(t).reverse()}Kb.prototype={areaStart:kb,areaEnd:kb,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},om.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:im(this,this._t0,rm(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,im(this,rm(this,e=em(this,t,n)),e);break;default:im(this,this._t0,e=em(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(um.prototype=Object.create(om.prototype)).point=function(t,n){om.prototype.point.call(this,n,t)},am.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},lm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=sm(t),i=sm(n),o=0,u=1;u<e;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},dm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};const Dm=new Date,zm=new Date;function Um(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=n=>(t(n=new Date(+n)),n),i.ceil=e=>(t(e=new Date(e-1)),n(e,1),t(e),e),i.round=t=>{const n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=(t,e)=>(n(t=new Date(+t),null==e?1:Math.floor(e)),t),i.range=(e,r,o)=>{const u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r)||!(o>0))return u;let a;do{u.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return u},i.filter=e=>Um((n=>{if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})),e&&(i.count=(n,r)=>(Dm.setTime(+n),zm.setTime(+r),t(Dm),t(zm),Math.floor(e(Dm,zm))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?n=>r(n)%t===0:n=>i.count(0,n)%t===0):i:null)),i}const $m=Um((()=>{}),((t,n)=>{t.setTime(+t+n)}),((t,n)=>n-t));$m.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Um((n=>{n.setTime(Math.floor(n/t)*t)}),((n,e)=>{n.setTime(+n+e*t)}),((n,e)=>(e-n)/t)):$m:null);const qm=$m.range,Fm=1e3,Ym=6e4,Rm=60*Ym,Bm=24*Rm,Om=7*Bm,Im=30*Bm,Lm=365*Bm,Hm=Um((t=>{t.setTime(t-t.getMilliseconds())}),((t,n)=>{t.setTime(+t+n*Fm)}),((t,n)=>(n-t)/Fm),(t=>t.getUTCSeconds())),jm=Hm.range,Vm=Um((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Fm)}),((t,n)=>{t.setTime(+t+n*Ym)}),((t,n)=>(n-t)/Ym),(t=>t.getMinutes())),Xm=Vm.range,Gm=Um((t=>{t.setUTCSeconds(0,0)}),((t,n)=>{t.setTime(+t+n*Ym)}),((t,n)=>(n-t)/Ym),(t=>t.getUTCMinutes())),Wm=Gm.range,Qm=Um((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Fm-t.getMinutes()*Ym)}),((t,n)=>{t.setTime(+t+n*Rm)}),((t,n)=>(n-t)/Rm),(t=>t.getHours())),Jm=Qm.range,Km=Um((t=>{t.setUTCMinutes(0,0,0)}),((t,n)=>{t.setTime(+t+n*Rm)}),((t,n)=>(n-t)/Rm),(t=>t.getUTCHours())),tx=Km.range,nx=Um((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ym)/Bm),(t=>t.getDate()-1)),ex=nx.range,rx=Um((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/Bm),(t=>t.getUTCDate()-1)),ix=rx.range,ox=Um((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/Bm),(t=>Math.floor(t/Bm))),ux=ox.range;function ax(t){return Um((n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),((t,n)=>{t.setDate(t.getDate()+7*n)}),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ym)/Om))}const cx=ax(0),fx=ax(1),lx=ax(2),sx=ax(3),hx=ax(4),dx=ax(5),px=ax(6),gx=cx.range,yx=fx.range,vx=lx.range,_x=sx.range,bx=hx.range,mx=dx.range,xx=px.range;function wx(t){return Um((n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)}),((t,n)=>(n-t)/Om))}const Mx=wx(0),Tx=wx(1),Ax=wx(2),Sx=wx(3),Nx=wx(4),Ex=wx(5),kx=wx(6),Cx=Mx.range,Px=Tx.range,Zx=Ax.range,Dx=Sx.range,zx=Nx.range,Ux=Ex.range,$x=kx.range,qx=Um((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,n)=>{t.setMonth(t.getMonth()+n)}),((t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())),(t=>t.getMonth())),Fx=qx.range,Yx=Um((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)}),((t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth())),Rx=Yx.range,Bx=Um((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n)}),((t,n)=>n.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));Bx.every=t=>isFinite(t=Math.floor(t))&&t>0?Um((n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),((n,e)=>{n.setFullYear(n.getFullYear()+e*t)})):null;const Ox=Bx.range,Ix=Um((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)}),((t,n)=>n.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));Ix.every=t=>isFinite(t=Math.floor(t))&&t>0?Um((n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),((n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null;const Lx=Ix.range;function Hx(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function jx(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function Vx(){return 0}var Xx=Math.sqrt(50),Gx=Math.sqrt(10),Wx=Math.sqrt(2);function Qx(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Xx?i*=10:o>=Gx?i*=5:o>=Wx&&(i*=2),n<t?-i:i}function Jx(t,n,e,r,i,o){const u=[[Hm,1,Fm],[Hm,5,5e3],[Hm,15,15e3],[Hm,30,3e4],[o,1,Ym],[o,5,5*Ym],[o,15,15*Ym],[o,30,30*Ym],[i,1,Rm],[i,3,3*Rm],[i,6,6*Rm],[i,12,12*Rm],[r,1,Bm],[r,2,2*Bm],[e,1,Om],[n,1,Im],[n,3,3*Im],[t,1,Lm]];function a(n,e,r){const i=Math.abs(e-n)/r,o=function(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=Hx,e=(n,e)=>Hx(t(n),e),r=(n,e)=>t(n)-e):(n=t===Hx||t===jx?t:Vx,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const u=i(t,n,e,o-1);return u>e&&r(t[u-1],n)>-r(t[u],n)?u-1:u},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}((([,,t])=>t)).right(u,i);if(o===u.length)return t.every(Qx(n/Lm,e/Lm,r));if(0===o)return $m.every(Math.max(Qx(n,e,r),1));const[a,c]=u[i/u[o-1][2]<u[o][2]/i?o-1:o];return a.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"===typeof e.range?e:a(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},a]}const[Kx,tw]=Jx(Ix,Yx,Mx,ox,Km,Gm),[nw,ew]=Jx(Bx,qx,cx,nx,Qm,Vm);var rw=e(82138),iw=e(47238),ow="%Y-%m-%dT%H:%M:%S.%LZ";var uw=Date.prototype.toISOString?function(t){return t.toISOString()}:(0,rw.g0)(ow),aw=uw;var cw=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:(0,rw.wp)(ow),fw=cw;function lw(t,n,e){var r=new ur,i=n;return null==n?(r.restart(t,n,e),r):(r._restart=r.restart,r.restart=function(t,n,e){n=+n,e=null==e?ir():+e,r._restart((function o(u){u+=i,r._restart(o,i+=n,e),t(u)}),n,e)},r.restart(t,n,e),r)}var sw=t=>()=>t;function hw(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function dw(t,n,e){this.k=t,this.x=n,this.y=e}dw.prototype={constructor:dw,scale:function(t){return 1===t?this:new dw(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new dw(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var pw=new dw(1,0,0);function gw(t){for(;!t.__zoom;)if(!(t=t.parentNode))return pw;return t.__zoom}function yw(t){t.stopImmediatePropagation()}function vw(t){t.preventDefault(),t.stopImmediatePropagation()}function _w(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function bw(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function mw(){return this.__zoom||pw}function xw(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function ww(){return navigator.maxTouchPoints||"ontouchstart"in this}function Mw(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function Tw(){var t,n,e,r=_w,i=bw,o=Mw,u=xw,a=ww,c=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],l=250,s=Ug,h=Mn("start","zoom","end"),d=500,p=150,g=0,y=10;function v(t){t.property("__zoom",mw).on("wheel.zoom",T,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",S).filter(a).on("touchstart.zoom",N).on("touchmove.zoom",E).on("touchend.zoom touchcancel.zoom",k).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function _(t,n){return(n=Math.max(c[0],Math.min(c[1],n)))===t.k?t:new dw(n,t.x,t.y)}function b(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new dw(t.k,r,i)}function m(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,n,e,r){t.on("start.zoom",(function(){w(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,u=w(t,o).event(r),a=i.apply(t,o),c=null==e?m(a):"function"===typeof e?e.apply(t,o):e,f=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),l=t.__zoom,h="function"===typeof n?n.apply(t,o):n,d=s(l.invert(c).concat(f/l.k),h.invert(c).concat(f/h.k));return function(t){if(1===t)t=h;else{var n=d(t),e=f/n[2];t=new dw(e,c[0]-n[0]*e,c[1]-n[1]*e)}u.zoom(null,t)}}))}function w(t,n,e){return!e&&t.__zooming||new M(t,n)}function M(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function T(t,...n){if(r.apply(this,arguments)){var e=w(this,n).event(t),i=this.__zoom,a=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,u.apply(this,arguments)))),l=je(t);if(e.wheel)e.mouse[0][0]===l[0]&&e.mouse[0][1]===l[1]||(e.mouse[1]=i.invert(e.mouse[0]=l)),clearTimeout(e.wheel);else{if(i.k===a)return;e.mouse=[l,i.invert(l)],Sr(this),e.start()}vw(t),e.wheel=setTimeout((function(){e.wheel=null,e.end()}),p),e.zoom("mouse",o(b(_(i,a),e.mouse[0],e.mouse[1]),e.extent,f))}}function A(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,u=w(this,n,!0).event(t),a=qe(t.view).on("mousemove.zoom",(function(t){if(vw(t),!u.moved){var n=t.clientX-l,e=t.clientY-s;u.moved=n*n+e*e>g}u.event(t).zoom("mouse",o(b(u.that.__zoom,u.mouse[0]=je(t,i),u.mouse[1]),u.extent,f))}),!0).on("mouseup.zoom",(function(t){a.on("mousemove.zoom mouseup.zoom",null),Ie(t.view,u.moved),vw(t),u.event(t).end()}),!0),c=je(t,i),l=t.clientX,s=t.clientY;Oe(t.view),yw(t),u.mouse=[c,this.__zoom.invert(c)],Sr(this),u.start()}}function S(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,u=je(t.changedTouches?t.changedTouches[0]:t,this),a=e.invert(u),c=e.k*(t.shiftKey?.5:2),s=o(b(_(e,c),u,a),i.apply(this,n),f);vw(t),l>0?qe(this).transition().duration(l).call(x,s,u,t):qe(this).call(v.transform,s,u,t)}}function N(e,...i){if(r.apply(this,arguments)){var o,u,a,c,f=e.touches,l=f.length,s=w(this,i,e.changedTouches.length===l).event(e);for(yw(e),u=0;u<l;++u)c=[c=je(a=f[u],this),this.__zoom.invert(c),a.identifier],s.touch0?s.touch1||s.touch0[2]===c[2]||(s.touch1=c,s.taps=0):(s.touch0=c,o=!0,s.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(s.taps<2&&(n=c[0],t=setTimeout((function(){t=null}),d)),Sr(this),s.start())}}function E(t,...n){if(this.__zooming){var e,r,i,u,a=w(this,n).event(t),c=t.changedTouches,l=c.length;for(vw(t),e=0;e<l;++e)i=je(r=c[e],this),a.touch0&&a.touch0[2]===r.identifier?a.touch0[0]=i:a.touch1&&a.touch1[2]===r.identifier&&(a.touch1[0]=i);if(r=a.that.__zoom,a.touch1){var s=a.touch0[0],h=a.touch0[1],d=a.touch1[0],p=a.touch1[1],g=(g=d[0]-s[0])*g+(g=d[1]-s[1])*g,y=(y=p[0]-h[0])*y+(y=p[1]-h[1])*y;r=_(r,Math.sqrt(g/y)),i=[(s[0]+d[0])/2,(s[1]+d[1])/2],u=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!a.touch0)return;i=a.touch0[0],u=a.touch0[1]}a.zoom("touch",o(b(r,i,u),a.extent,f))}}function k(t,...r){if(this.__zooming){var i,o,u=w(this,r).event(t),a=t.changedTouches,c=a.length;for(yw(t),e&&clearTimeout(e),e=setTimeout((function(){e=null}),d),i=0;i<c;++i)o=a[i],u.touch0&&u.touch0[2]===o.identifier?delete u.touch0:u.touch1&&u.touch1[2]===o.identifier&&delete u.touch1;if(u.touch1&&!u.touch0&&(u.touch0=u.touch1,delete u.touch1),u.touch0)u.touch0[1]=this.__zoom.invert(u.touch0[0]);else if(u.end(),2===u.taps&&(o=je(o,this),Math.hypot(n[0]-o[0],n[1]-o[1])<y)){var f=qe(this).on("dblclick.zoom");f&&f.apply(this,arguments)}}}return v.transform=function(t,n,e,r){var i=t.selection?t.selection():t;i.property("__zoom",mw),t!==i?x(t,n,e,r):i.interrupt().each((function(){w(this,arguments).event(r).start().zoom(null,"function"===typeof n?n.apply(this,arguments):n).end()}))},v.scaleBy=function(t,n,e,r){v.scaleTo(t,(function(){return this.__zoom.k*("function"===typeof n?n.apply(this,arguments):n)}),e,r)},v.scaleTo=function(t,n,e,r){v.transform(t,(function(){var t=i.apply(this,arguments),r=this.__zoom,u=null==e?m(t):"function"===typeof e?e.apply(this,arguments):e,a=r.invert(u),c="function"===typeof n?n.apply(this,arguments):n;return o(b(_(r,c),u,a),t,f)}),e,r)},v.translateBy=function(t,n,e,r){v.transform(t,(function(){return o(this.__zoom.translate("function"===typeof n?n.apply(this,arguments):n,"function"===typeof e?e.apply(this,arguments):e),i.apply(this,arguments),f)}),null,r)},v.translateTo=function(t,n,e,r,u){v.transform(t,(function(){var t=i.apply(this,arguments),u=this.__zoom,a=null==r?m(t):"function"===typeof r?r.apply(this,arguments):r;return o(pw.translate(a[0],a[1]).scale(u.k).translate("function"===typeof n?-n.apply(this,arguments):-n,"function"===typeof e?-e.apply(this,arguments):-e),t,f)}),r,u)},M.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var n=qe(this.that).datum();h.call(t,this.that,new hw(t,{sourceEvent:this.sourceEvent,target:v,type:t,transform:this.that.__zoom,dispatch:h}),n)}},v.wheelDelta=function(t){return arguments.length?(u="function"===typeof t?t:sw(+t),v):u},v.filter=function(t){return arguments.length?(r="function"===typeof t?t:sw(!!t),v):r},v.touchable=function(t){return arguments.length?(a="function"===typeof t?t:sw(!!t),v):a},v.extent=function(t){return arguments.length?(i="function"===typeof t?t:sw([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):i},v.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],v):[c[0],c[1]]},v.translateExtent=function(t){return arguments.length?(f[0][0]=+t[0][0],f[1][0]=+t[1][0],f[0][1]=+t[0][1],f[1][1]=+t[1][1],v):[[f[0][0],f[0][1]],[f[1][0],f[1][1]]]},v.constrain=function(t){return arguments.length?(o=t,v):o},v.duration=function(t){return arguments.length?(l=+t,v):l},v.interpolate=function(t){return arguments.length?(s=t,v):s},v.on=function(){var t=h.on.apply(h,arguments);return t===h?v:t},v.clickDistance=function(t){return arguments.length?(g=(t=+t)*t,v):Math.sqrt(g)},v.tapDistance=function(t){return arguments.length?(y=+t,v):y},v}gw.prototype=dw.prototype}}]); \ No newline at end of file