1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9021],{47126:function(t,n,e){e.d(n,{Z:function(){return r}});let r=(0,e(78695).Z)("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]])},59487:function(t,n,e){e.d(n,{Z:function(){return r}});let r=(0,e(78695).Z)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},71612:function(t,n,e){e.d(n,{Z:function(){return r}});let r=(0,e(78695).Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},42705:function(t,n,e){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}function o(){}e.d(n,{ZP:function(){return m},B8:function(){return b}});var u="\\s*([+-]?\\d+)\\s*",a="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,c=RegExp(`^rgb\\(${u},${u},${u}\\)$`),h=RegExp(`^rgb\\(${s},${s},${s}\\)$`),f=RegExp(`^rgba\\(${u},${u},${u},${a}\\)$`),p=RegExp(`^rgba\\(${s},${s},${s},${a}\\)$`),v=RegExp(`^hsl\\(${a},${s},${s}\\)$`),y=RegExp(`^hsla\\(${a},${s},${s},${a}\\)$`),d={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 g(){return this.rgb().formatHex()}function _(){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 k(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=c.exec(t))?new k(n[1],n[2],n[3],1):(n=h.exec(t))?new k(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=f.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=v.exec(t))?E(n[1],n[2]/100,n[3]/100,1):(n=y.exec(t))?E(n[1],n[2]/100,n[3]/100,n[4]):d.hasOwnProperty(t)?x(d[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function x(t){return new k(t>>16&255,t>>8&255,255&t,1)}function w(t,n,e,r){return r<=0&&(t=n=e=NaN),new k(t,n,e,r)}function b(t,n,e,r){var i;return 1==arguments.length?((i=t)instanceof o||(i=m(i)),i)?new k((i=i.rgb()).r,i.g,i.b,i.opacity):new k:new k(t,
1n,e,null==r?1:r)}function k(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function N(){return`#${z(this.r)}${z(this.g)}${z(this.b)}`}function Z(){let t=M(this.opacity);return`${1===t?"rgb(":"rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${1===t?")":`, ${t})`}`}function M(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function A(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function z(t){return((t=A(t))<16?"0":"")+t.toString(16)}function E(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new $(t,n,e,r)}function S(t){if(t instanceof $)return new $(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=m(t)),!t)return new $;if(t instanceof $)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),u=Math.max(n,e,r),a=NaN,s=u-i,l=(u+i)/2;return s?(a=n===u?(e-r)/s+(e<r)*6:e===u?(r-n)/s+2:(n-e)/s+4,s/=l<.5?u+i:2-u-i,a*=60):s=l>0&&l<1?0:a,new $(a,s,l,t.opacity)}function $(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function P(t){return(t=(t||0)%360)<0?t+360:t}function T(t){return Math.max(0,Math.min(1,t||0))}function q(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}r(o,m,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:g,formatHex:g,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return S(this).formatHsl()},formatRgb:_,toString:_}),r(k,b,i(o,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new k(A(this.r),A(this.g),A(this.b),M(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:N,formatHex:N,formatHex8:function(){return`#${z(this.r)}${z(this.g)}${z(this.b)}${z((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:Z,toString:Z})),r($,function(t,n,e,r){return 1==arguments.length?S(t):new $(t,n,e,null==r?1:r)},i(o,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new $(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new $(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,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 k(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 $(P(this.h),T(this.s),T(this.l),M(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=M(this.opacity);return`${1===t?"hsl(":"hsla("}${P(this.h)}, ${100*T(this.s)}%, ${100*T(this.l)}%${1===t?")":`, ${t})`}`}}))},20344:function(t,n){var e={value:()=>{}};function r(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new i(r)}function i(t){this._=t}function o(t,n,r){for(var i=0,o=t.length;i<o;++i)if(t[i].name===n){t[i]=e,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=r&&t.push({name:n,value:r}),t}i.prototype=r.prototype={constructor:i,on:function(t,n){var e,r=this._,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 Error("unknown type: "+t);return{type:t,name:n}}),u=-1,a=i.length;if(arguments.length<2){for(;++u<a;)if((e=(t=i[u]).type)&&(e=function(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}(r[e],t.name)))return e;return}if(null!=n&&"function"!=typeof n)throw Error("invalid callback: "+n);for(;++u<a;)if(e=(t=i[u]).type)r[e]=o(r[e],t.name,n);else if(null==n)for(e in r)r[e]=o(r[e],t.name,null);return this},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new i(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],o=0,e=r.length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}},n.Z=r},14071:function(t,n,e){e.d(n,{Z:function(){return r}});function r(t,n){var e,r=1;function i(){var i,o,u=e.length,a=0,s=0;for(i=0;i<u;++i)a+=(o=e[i]).x,s+=o.y;for(a=(a/u-t)*r,s=(s/u-n)*r,i=0;i<u;++i)o=e[i],o.x-=a,o.y-=s}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}},40699:function(t,n,e){e.d(n,{Z:function(){return r}});function r(t){return function(){return t}}},96195:function(t,n,e){e.d(n,{Z:function(){return r}});function r(t){return(t()-.5)*1e-6}},72908:function(t,n,e){e.d(n,{Z:function(){return a}});var r=e(40699),i=e(96195);function o(t){return t.index}function u(t,n){var e=t.get(n);if(!e)throw Error("node not found: "+n);return e}function a(t){var n,e,a,s,l,c,h=o,f=function(t){return 1/Math.min(s[t.source.index],s[t.target.index])},p=(0,r.Z)(30),v=1;function y(r){for(var o=0,u=t.length;o<v;++o)for(var a,s,h,f,p,y,d,g=0;g<u;++g)s=(a=t[g]).source,y=((y=Math.sqrt((f=(h=a.target).x+h.vx-s.x-s.vx||(0,i.Z)(c))*f+(p=h.y+h.vy-s.y-s.vy||(0,i.Z)(c))*p))-e[g])/y*r*n[g],f*=y,p*=y,h.vx-=f*(d=l[g]),h.vy-=p*d,s.vx+=f*(d=1-d),s.vy+=p*d}function d(){if(a){var r,i,o=a.length,c=t.length,f=new Map(a.map((t,n)=>[h(t,n,a),t]));for(r=0,s=Array(o);r<c;++r)(i=t[r]).index=r,"object"!=typeof i.source&&(i.source=u(f,i.source)),"object"!=typeof i.target&&(i.target=u(f,i.target)),s[i.source.index]=(s[i.source.index]||0)+1,s[i.target.index]=(s[i.target.index]||0)+1;for(r=0,l=Array(c);r<c;++r)i=t[r],l[r]=s[i.source.index]/(s[i.source.index]+s[i.target.index]);n=Array(c),g(),e=Array(c),_()}}function g(){if(a)for(var e=0,r=t.length;e<r;++e)n[e]=+f(t[e],e,t)}function _(){if(a)for(var n=0,r=t.length;n<r;++n)e[n]=+p(t[n],n,t)}return null==t&&(t=[]),y.initialize=function(t,n){a=t,c=n,d()},y.links=function(n){return arguments.length?(t=n,d(),y):t},y.id=function(t){return arguments.length?(h=t,y):h},y.iterations=function(t){return arguments.length?(v=+t,y):v},y.strength=function(t){return arguments.length?(f="function"==typeof t?t:(0,r.Z)(+t),g(),y):f},y.distance=function(t){return arguments.length?(p="function"==typeof t?t:(0,r.Z)(+t),_(),y):p},y}},68416:function(t,n,e){function r(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,u,a,s,l,c,h,f,p=t._root,v={data:r},y=t._x0,d=t._y0,g=t._x1,_=t._y1;if(!p)return t._root=v,t;for(;p.length;
1)if((l=n>=(o=(y+g)/2))?y=o:g=o,(c=e>=(u=(d+_)/2))?d=u:_=u,i=p,!(p=p[h=c<<1|l]))return i[h]=v,t;if(a=+t._x.call(null,p.data),s=+t._y.call(null,p.data),n===a&&e===s)return v.next=p,i?i[h]=v:t._root=v,t;do i=i?i[h]=[,,,,]:t._root=[,,,,],(l=n>=(o=(y+g)/2))?y=o:g=o,(c=e>=(u=(d+_)/2))?d=u:_=u;while((h=c<<1|l)==(f=(s>=u)<<1|a>=o));return i[f]=p,i[h]=v,t}function i(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function o(t){return t[0]}function u(t){return t[1]}function a(t,n,e){var r=new s(null==n?o:n,null==e?u:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function s(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 l(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}e.d(n,{Z:function(){return v}});var c=a.prototype=s.prototype;c.copy=function(){var t,n,e=new s(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=l(r),e;for(t=[{source:r,target:e._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=[,,,,]}):r.target[i]=l(n));return e},c.add=function(t){let n=+this._x.call(null,t),e=+this._y.call(null,t);return r(this.cover(n,e),n,e,t)},c.addAll=function(t){var n,e,i,o,u=t.length,a=Array(u),s=Array(u),l=1/0,c=1/0,h=-1/0,f=-1/0;for(e=0;e<u;++e)!(isNaN(i=+this._x.call(null,n=t[e]))||isNaN(o=+this._y.call(null,n)))&&(a[e]=i,s[e]=o,i<l&&(l=i),i>h&&(h=i),o<c&&(c=o),o>f&&(f=o));if(l>h||c>f)return this;for(this.cover(l,c).cover(h,f),e=0;e<u;++e)r(this,a[e],s[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,s=i-e||1,l=this._root;e>t||t>=i||r>n||n>=o;)switch(a=(n<r)<<1|t<e,(u=[,,,,])[a]=l,l=u,s*=2,a){case 0:i=e+s,o=r+s;break;case 1:e=i-s,o=r+s;break;case 2:i=e+s,r=o-s;break;case 3:e=i-s,r=o-s}this._root&&this._root.length&&(this._root=l)}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,o,u,a,s,l,c,h=this._x0,f=this._y0,p=this._x1,v=this._y1,y=[],d=this._root;for(d&&y.push(new i(d,h,f,p,v)),null==e?e=1/0:(h=t-e,f=n-e,p=t+e,v=n+e,e*=e);l=y.pop();)if((d=l.node)&&!((o=l.x0)>p)&&!((u=l.y0)>v)&&!((a=l.x1)<h)&&!((s=l.y1)<f)){if(d.length){var g=(o+a)/2,_=(u+s)/2;y.push(new i(d[3],g,_,a,s),new i(d[2],o,_,g,s),new i(d[1],g,u,a,_),new i(d[0],o,u,g,_)),(c=(n>=_)<<1|t>=g)&&(l=y[y.length-1],y[y.length-1]=y[y.length-1-c],y[y.length-1-c]=l)}else{var m=t-+this._x.call(null,d.data),x=n-+this._y.call(null,d.data),w=m*m+x*x;if(w<e){var b=Math.sqrt(e=w);h=t-b,f=n-b,p=t+b,v=n+b,r=d.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,s,l,c,h,f,p=this._root,v=this._x0,y=this._y0,d=this._x1,g=this._y1;if(!p)return this;if(p.length)for(;;){if((l=o>=(a=(v+d)/2))?v=a:d=a,(c=u>=(s=(y+g)/2))?y=s:g=s,n=p,!(p=p[h=c<<1|l]))return this;if(!p.length)break;(n[h+1&3]||n[h+2&3]||n[h+3&3])&&(e=n,f=h)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return((i=p.next)&&delete p.next,r)?i?r.next=i:delete r.next:n?(i?n[h]=i:delete n[h],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[f]=p:this._root=p)):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,o,u,a,s=[],l=this._root;for(l&&s.push(new i(l,this._x0,this._y0,this._x1,this._y1));n=s.pop();)if(!t(l=n.node,r=n.x0,o=n.y0,u=n.x1,a=n.y1)&&l.length){var c=(r+u)/2,h=(o+a)/2;(e=l[3])&&s.push(new i(e,c,h,u,a)),(e=l[2])&&s.push(new i(e,r,h,c,a)),(e=l[1])&&s.push(new i(e,c,o,u,h)),(e=l[0])&&s.push(new i(e,r,o,c,h))}return this},c.visitAfter=function(t){var n,e=[],r=[];for(this._root&&e.push(new i(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var o=n.node;if(o.length){var u,a=n.x0,s=n.y0,l=n.x1,c=n.y1,h=(a+l)/2,f=(s+c)/2;(u=o[0])&&e.push(new i(u,a,s,h,f)),(u=o[1])&&e.push(new i(u,h,s,l,f)),(u=o[2])&&e.push(new i(u,a,f,h,c)),(u=o[3])&&e.push(new i(u,h,f,l,c))}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};var h=e(40699),f=e(96195),p=e(10676);function v(){var t,n,e,r,i,o=(0,h.Z)(-30),u=1,s=1/0,l=.81;function c(e){var i,o=t.length,u=a(t,p.x,p.y).visitAfter(y);for(r=e,i=0;i<o;++i)n=t[i],u.visit(d)}function v(){if(t){var n,e,r=t.length;for(n=0,i=Array(r);n<r;++n)i[(e=t[n]).index]=+o(e,n,t)}}function y(t){var n,e,r,o,u,a=0,s=0;if(t.length){for(r=o=u=0;u<4;++u)(n=t[u])&&(e=Math.abs(n.value))&&(a+=n.value,s+=e,r+=e*n.x,o+=e*n.y);t.x=r/s,t.y=o/s}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 d(t,o,a,c){if(!t.value)return!0;var h=t.x-n.x,p=t.y-n.y,v=c-o,y=h*h+p*p;if(v*v/l<y)return y<s&&(0===h&&(y+=(h=(0,f.Z)(e))*h),0===p&&(y+=(p=(0,f.Z)(e))*p),y<u&&(y=Math.sqrt(u*y)),n.vx+=h*t.value*r/y,n.vy+=p*t.value*r/y),!0;if(!t.length&&!(y>=s)){(t.data!==n||t.next)&&(0===h&&(y+=(h=(0,f.Z)(e))*h),0===p&&(y+=(p=(0,f.Z)(e))*p),y<u&&(y=Math.sqrt(u*y)));do t.data!==n&&(v=i[t.data.index]*r/y,n.vx+=h*v,n.vy+=p*v);while(t=t.next)}}return c.initialize=function(n,r){t=n,e=r,v()},c.strength=function(t){return arguments.length?(o="function"==typeof t?t:(0,h.Z)(+t),v(),c):o},c.distanceMin=function(t){return arguments.length?(u=t*t,c):Math.sqrt(u)},c.distanceMax=function(t){return arguments.length?(s=t*t,c):Math.sqrt(s)},c.theta=function(t){return arguments.length?(l=t*t,c):Math.sqrt(l)},c}},10676:function(t,n,e){e.d(n,{Z:function(){return s},x:function(){return o},y:function(){return u}});var r=e(20344),i=e(10701);function o(t){return t.x}function u(t){return t.y}var a=Math.PI*(3-Math.sqrt(5));function s(t){let n;var e,o=1,u=.001,s=1-Math.pow(.001,1/300),l=0,c=.6,h=new Map,f=(0,i.HT)(y),p=(0,r.Z)("tick","end"),v=(n=1,()=>(n=(1664525*n+1013904223)%4294967296)/4294967296);function y(){d(),p.call("tick",e),o<u&&(f.stop(),p.call("end",e))}function d(n){var r,i,u=t.length;void 0===n&&(n=1);for(var a=0;a<n;++a)for(o+=(l-o)*s,h.forEach(function(t){t(o)}),r=0;r<u;++r)null==(i=t[r]).fx?i.x+=i.vx*=c:(i.x=i.fx,i.vx=0),null==i.fy?i.y+=i.vy*=c:(i.y=i.fy,i.vy=0);return e}function g(){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)
1){var i=10*Math.sqrt(.5+e),o=e*a;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function _(n){return n.initialize&&n.initialize(t,v),n}return null==t&&(t=[]),g(),e={tick:d,restart:function(){return f.restart(y),e},stop:function(){return f.stop(),e},nodes:function(n){return arguments.length?(t=n,g(),h.forEach(_),e):t},alpha:function(t){return arguments.length?(o=+t,e):o},alphaMin:function(t){return arguments.length?(u=+t,e):u},alphaDecay:function(t){return arguments.length?(s=+t,e):+s},alphaTarget:function(t){return arguments.length?(l=+t,e):l},velocityDecay:function(t){return arguments.length?(c=1-t,e):1-c},randomSource:function(t){return arguments.length?(v=t,h.forEach(_),e):v},force:function(t,n){return arguments.length>1?(null==n?h.delete(t):h.set(t,_(n)),e):h.get(t)},find:function(n,e,r){var i,o,u,a,s,l=0,c=t.length;for(null==r?r=1/0:r*=r,l=0;l<c;++l)(u=(i=n-(a=t[l]).x)*i+(o=e-a.y)*o)<r&&(s=a,r=u);return s},on:function(t,n){return arguments.length>1?(p.on(t,n),e):p.on(t)}}}},64273:function(t,n,e){e.d(n,{Z:function(){return i}});var r=e(40699);function i(t){var n,e,i,o=(0,r.Z)(.1);function u(t){for(var r,o=0,u=n.length;o<u;++o)r=n[o],r.vx+=(i[o]-r.x)*e[o]*t}function a(){if(n){var r,u=n.length;for(r=0,e=Array(u),i=Array(u);r<u;++r)e[r]=isNaN(i[r]=+t(n[r],r,n))?0:+o(n[r],r,n)}}return"function"!=typeof t&&(t=(0,r.Z)(null==t?0:+t)),u.initialize=function(t){n=t,a()},u.strength=function(t){return arguments.length?(o="function"==typeof t?t:(0,r.Z)(+t),a(),u):o},u.x=function(n){return arguments.length?(t="function"==typeof n?n:(0,r.Z)(+n),a(),u):t},u}},89825:function(t,n,e){e.d(n,{Z:function(){return i}});var r=e(40699);function i(t){var n,e,i,o=(0,r.Z)(.1);function u(t){for(var r,o=0,u=n.length;o<u;++o)r=n[o],r.vy+=(i[o]-r.y)*e[o]*t}function a(){if(n){var r,u=n.length;for(r=0,e=Array(u),i=Array(u);r<u;++r)e[r]=isNaN(i[r]=+t(n[r],r,n))?0:+o(n[r],r,n)}}return"function"!=typeof t&&(t=(0,r.Z)(null==t?0:+t)),u.initialize=function(t){n=t,a()},u.strength=function(t){return arguments.length?(o="function"==typeof t?t:(0,r.Z)(+t),a(),u):o},u.y=function(n){return arguments.length?(t="function"==typeof n?n:(0,r.Z)(+n),a(),u):t},u}},37502:function(t,n){n.Z=t=>()=>t},87180:function(t,n,e){e.d(n,{Z:function(){return r}});function r(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}},34116:function(t,n,e){e.d(n,{ZP:function(){return a}});var r=e(42705);function i(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}var o=e(37502);function u(t,n){var e=n-t;return e?function(n){return t+n*e}:(0,o.Z)(isNaN(t)?n:t)}var a=function t(n){var e,i=1==(e=+(e=n))?u:function(t,n){var r,i,u;return n-t?(r=t,i=n,r=Math.pow(r,u=e),i=Math.pow(i,u)-r,u=1/u,function(t){return Math.pow(r+t*i,u)}):(0,o.Z)(isNaN(t)?n:t)};function a(t,n){var e=i((t=(0,r.B8)(t)).r,(n=(0,r.B8)(n)).r),o=i(t.g,n.g),a=i(t.b,n.b),s=u(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=o(n),t.b=a(n),t.opacity=s(n),t+""}}return a.gamma=t,a}(1);function s(t){return function(n){var e,i,o=n.length,u=Array(o),a=Array(o),s=Array(o);for(e=0;e<o;++e)i=(0,r.B8)(n[e]),u[e]=i.r||0,a[e]=i.g||0,s[e]=i.b||0;return u=t(u),a=t(a),s=t(s),i.opacity=1,function(t){return i.r=u(t),i.g=a(t),i.b=s(t),i+""}}}s(function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],u=t[r+1],a=r>0?t[r-1]:2*o-u,s=r<n-1?t[r+2]:2*u-o;return i((e-r/n)*n,a,o,u,s)}}),s(function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],u=t[r%n],a=t[(r+1)%n],s=t[(r+2)%n];return i((e-r/n)*n,o,u,a,s)}})},30342:function(t,n,e){e.d(n,{Z:function(){return u}});var r=e(87180),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=RegExp(i.source,"g");function u(t,n){var e,u,a,s,l,c=i.lastIndex=o.lastIndex=0,h=-1,f=[],p=[];for(t+="",n+="";(a=i.exec(t))&&(s=o.exec(n));)(l=s.index)>c&&(l=n.slice(c,l),f[h]?f[h]+=l:f[++h]=l),(a=a[0])===(s=s[0])?f[h]?f[h]+=s:f[++h]=s:(f[++h]=null,p.push({i:h,x:(0,r.Z)(a,s)})),c=o.lastIndex;return c<n.length&&(l=n.slice(c),f[h]?f[h]+=l:f[++h]=l),f.length<2?p[0]?(e=p[0].x,function(t){return e(t)+""}):(u=n,function(){return u}):(n=p.length,function(t){for(var e,r=0;r<n;++r)f[(e=p[r]).i]=e.x(t);return f.join("")})}},93969:function(t,n,e){function r(t){return function(){return this.matches(t)}}function i(t){return function(n){return n.matches(t)}}e.d(n,{P:function(){return i},Z:function(){return r}})},74125:function(t,n,e){e.d(n,{Z:function(){return i}});var r=e(35175);function i(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.Z.hasOwnProperty(n)?{space:r.Z[n],local:t}:t}},35175:function(t,n,e){e.d(n,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";n.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},16676:function(t,n,e){e.d(n,{Z:function(){return i}});var r=e(20659);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},20659:function(t,n,e){e.d(n,{Y1:function(){return B},ZP:function(){return R},Jz:function(){return Y}});var r=e(17562),i=e(77772),o=e(93969),u=Array.prototype.find;function a(){return this.firstElementChild}var s=Array.prototype.filter;function l(){return Array.from(this.children)}function c(t){return Array(t.length)}function h(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function f(t,n,e,r,i,o){for(var u,a=0,s=n.length,l=o.length;a<l;
1++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new h(t,o[a]);for(;a<s;++a)(u=n[a])&&(i[a]=u)}function p(t,n,e,r,i,o,u){var a,s,l,c=new Map,f=n.length,p=o.length,v=Array(f);for(a=0;a<f;++a)(s=n[a])&&(v[a]=l=u.call(s,s.__data__,a,n)+"",c.has(l)?i[a]=s:c.set(l,s));for(a=0;a<p;++a)l=u.call(t,o[a],a,o)+"",(s=c.get(l))?(r[a]=s,s.__data__=o[a],c.delete(l)):e[a]=new h(t,o[a]);for(a=0;a<f;++a)(s=n[a])&&c.get(v[a])===s&&(i[a]=s)}function v(t){return t.__data__}function y(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}h.prototype={constructor:h,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 d=e(74125),g=e(48587);function _(t){return t.trim().split(/^|\s+/)}function m(t){return t.classList||new x(t)}function x(t){this._node=t,this._names=_(t.getAttribute("class")||"")}function w(t,n){for(var e=m(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function b(t,n){for(var e=m(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function k(){this.textContent=""}function N(){this.innerHTML=""}function Z(){this.nextSibling&&this.parentNode.appendChild(this)}function M(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}x.prototype={add:function(t){0>this._names.indexOf(t)&&(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 A=e(35175);function z(t){var n=(0,d.Z)(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===A.P&&n.documentElement.namespaceURI===A.P?n.createElement(t):n.createElementNS(e,t)}})(n)}function E(){return null}function S(){var t=this.parentNode;t&&t.removeChild(this)}function $(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function P(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function T(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 q(t,n,e){return function(){var r,i=this.__on,o=function(t){n.call(this,t,this.__data__)};if(i){for(var u=0,a=i.length;u<a;++u)if((r=i[u]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),r.value=n;return}}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]}}var C=e(98896);function X(t,n,e){var r=(0,C.Z)(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)}var Y=[null];function B(t,n){this._groups=t,this._parents=n}function O(){return new B([[document.documentElement]],Y)}B.prototype=O.prototype={constructor:B,select:function(t){"function"!=typeof t&&(t=(0,r.Z)(t));for(var n=this._groups,e=n.length,i=Array(e),o=0;o<e;++o)for(var u,a,s=n[o],l=s.length,c=i[o]=Array(l),h=0;h<l;++h)(u=s[h])&&(a=t.call(u,u.__data__,h,s))&&("__data__"in u&&(a.__data__=u.__data__),c[h]=a);return new B(i,this._parents)},selectAll:function(t){if("function"==typeof t){var n;n=t,t=function(){var t;return t=n.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=(0,i.Z)(t);for(var e=this._groups,r=e.length,o=[],u=[],a=0;a<r;++a)for(var s,l=e[a],c=l.length,h=0;h<c;++h)(s=l[h])&&(o.push(t.call(s,s.__data__,h,l)),u.push(s));return new B(o,u)},selectChild:function(t){var n;return this.select(null==t?a:(n="function"==typeof t?t:(0,o.P)(t),function(){return u.call(this.children,n)}))},selectChildren:function(t){var n;return this.selectAll(null==t?l:(n="function"==typeof t?t:(0,o.P)(t),function(){return s.call(this.children,n)}))},filter:function(t){"function"!=typeof t&&(t=(0,o.Z)(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var u,a=n[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(u=a[c])&&t.call(u,u.__data__,c,a)&&l.push(u);return new B(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,v);var e=n?p:f,r=this._parents,i=this._groups;"function"!=typeof t&&(w=t,t=function(){return w});for(var o=i.length,u=Array(o),a=Array(o),s=Array(o),l=0;l<o;++l){var c=r[l],h=i[l],y=h.length,d="object"==typeof(x=t.call(c,c&&c.__data__,l,r))&&"length"in x?x:Array.from(x),g=d.length,_=a[l]=Array(g),m=u[l]=Array(g);e(c,h,_,m,s[l]=Array(y),d,n);for(var x,w,b,k,N=0,Z=0;N<g;++N)if(b=_[N]){for(N>=Z&&(Z=N+1);!(k=m[Z])&&++Z<g;);b._next=k||null}}return(u=new B(u,r))._enter=a,u._exit=s,u},enter:function(){return new B(this._enter||this._groups.map(c),this._parents)},exit:function(){return new B(this._exit||this._groups.map(c),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=Array(i),s=0;s<u;++s)for(var l,c=e[s],h=r[s],f=c.length,p=a[s]=Array(f),v=0;v<f;++v)(l=c[v]||h[v])&&(p[v]=l);for(;s<i;++s)a[s]=e[s];return new B(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=y);for(var e=this._groups,r=e.length,i=Array(r),o=0;o<r;++o){for(var u,a=e[o],s=a.length,l=i[o]=Array(s),c=0;c<s;++c)(u=a[c])&&(l[c]=u);l.sort(n)}return new B(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(let 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=(0,d.Z)(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?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(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(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))},style:g.Z,property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=_(t+"");
1if(arguments.length<2){for(var r=m(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?w:b)(this,t)}}:n?function(t){return function(){w(this,t)}}:function(t){return function(){b(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?k:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?N:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(Z)},lower:function(){return this.each(M)},append:function(t){var n="function"==typeof t?t:z(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:z(t),i=null==n?E:"function"==typeof n?n:(0,r.Z)(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(S)},clone:function(t){return this.select(t?P:$)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=(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}}),u=o.length;if(arguments.length<2){var a=this.node().__on;if(a){for(var s,l=0,c=a.length;l<c;++l)for(r=0,s=a[l];r<u;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value}return}for(r=0,a=n?q:T;r<u;++r)this.each(a(o[r],n,e));return this},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return X(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return X(this,t,n)}})(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 R=O},48587:function(t,n,e){e.d(n,{S:function(){return o},Z:function(){return i}});var r=e(98896);function i(t,n,e){return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):o(this.node(),t)}function o(t,n){return t.style.getPropertyValue(n)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(n)}},17562:function(t,n,e){function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}e.d(n,{Z:function(){return i}})},77772:function(t,n,e){function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}e.d(n,{Z:function(){return i}})},98896:function(t,n,e){e.d(n,{Z:function(){return r}});function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},10701:function(t,n,e){e.d(n,{B7:function(){return y},HT:function(){return d},zO:function(){return p}});var r,i,o=0,u=0,a=0,s=0,l=0,c=0,h="object"==typeof performance&&performance.now?performance:Date,f="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return l||(f(v),l=h.now()+c)}function v(){l=0}function y(){this._call=this._time=this._next=null}function d(t,n,e){var r=new y;return r.restart(t,n,e),r}function g(){l=(s=h.now())+c,o=u=0;try{!function(){p(),++o;for(var t,n=r;n;)(t=l-n._time)>=0&&n._call.call(void 0,t),n=n._next;--o}()}finally{o=0,function(){for(var t,n,e=r,o=1/0;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,m(o)}(),l=0}}function _(){var t=h.now(),n=t-s;n>1e3&&(c-=n,s=t)}function m(t){!o&&(u&&(u=clearTimeout(u)),t-l>24?(t<1/0&&(u=setTimeout(g,t-h.now()-c)),a&&(a=clearInterval(a))):(a||(s=h.now(),a=setInterval(_,1e3)),o=1,f(g)))}y.prototype=d.prototype={constructor:y,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,m()},stop:function(){this._call&&(this._call=null,this._time=1/0,m())}}},39794:function(t,n,e){e.d(n,{sP:function(){return te},CR:function(){return U}});var r,i=e(20344),o=e(16676);let u={capture:!0,passive:!1};function a(t){t.preventDefault(),t.stopImmediatePropagation()}function s(t){return((t=Math.exp(t))+1/t)/2}var l=function t(n,e,r){function i(t,i){var o,u,a=t[0],l=t[1],c=t[2],h=i[0],f=i[1],p=i[2],v=h-a,y=f-l,d=v*v+y*y;if(d<1e-12)u=Math.log(p/c)/n,o=function(t){return[a+t*v,l+t*y,c*Math.exp(n*t*u)]};else{var g=Math.sqrt(d),_=(p*p-c*c+r*d)/(2*c*e*g),m=(p*p-c*c-r*d)/(2*p*e*g),x=Math.log(Math.sqrt(_*_+1)-_);u=(Math.log(Math.sqrt(m*m+1)-m)-x)/n,o=function(t){var r,i,o=t*u,h=s(x),f=c/(e*g)*(((r=Math.exp(2*(r=n*o+x)))-1)/(r+1)*h-((i=Math.exp(i=x))-1/i)/2);return[a+f*v,l+f*y,c*h/s(n*o+x)]}}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 c(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(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 h=e(20659),f=e(10701);function p(t,n,e){var r=new f.B7;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}var v=(0,i.Z)("start","end","cancel","interrupt"),y=[];function d(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(s){var l,c,h,f;if(1!==e.state)return a();for(l in i)if((f=i[l]).name===e.name){if(3===f.state)return p(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<n&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(p(function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(s))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(l=0,e.state=3,r=Array(h=e.tween.length),c=-1;l<h;++l)(f=e.tween[l].value.call(t,t.__data__,e.index,e.group))&&(r[++c]=f);r.length=c+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=5,1
1),o=-1,u=r.length;++o<u;)r[o].call(t,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=(0,f.HT)(function(t){e.state=1,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:i,on:v,tween:y,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function g(t,n){var e=m(t,n);if(e.state>0)throw Error("too late; already scheduled");return e}function _(t,n){var e=m(t,n);if(e.state>3)throw Error("too late; already running");return e}function m(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function x(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o){if((e=o[i]).name!==n){u=!1;continue}r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]}u&&delete t.__transition}}var w=e(87180),b=180/Math.PI,k={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function N(t,n,e,r,i,o){var u,a,s;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(s=t*e+n*r)&&(e-=t*s,r-=n*s),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,s/=a),t*r<n*e&&(t=-t,n=-n,s=-s,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*b,skewX:Math.atan(s)*b,scaleX:u,scaleY:a}}function Z(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a,s,l,c,h=[],f=[];return o=t(o),u=t(u),!function(t,r,i,o,u,a){if(t!==i||r!==o){var s=u.push("translate(",null,n,null,e);a.push({i:s-4,x:(0,w.Z)(t,i)},{i:s-2,x:(0,w.Z)(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,h,f),(a=o.rotate)!==(s=u.rotate)?(a-s>180?s+=360:s-a>180&&(a+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:(0,w.Z)(a,s)})):s&&h.push(i(h)+"rotate("+s+r),(l=o.skewX)!==(c=u.skewX)?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:(0,w.Z)(l,c)}):c&&h.push(i(h)+"skewX("+c+r),!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,w.Z)(t,e)},{i:a-2,x:(0,w.Z)(n,r)})}else(1!==e||1!==r)&&o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,h,f),o=u=null,function(t){for(var n,e=-1,r=f.length;++e<r;)h[(n=f[e]).i]=n.x(t);return h.join("")}}}var M=Z(function(t){let n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?k:N(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),A=Z(function(t){return null==t?k:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",t),t=r.transform.baseVal.consolidate())?N((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):k},", ",")",")"),z=e(74125);function E(t,n,e){var r=t._id;return t.each(function(){var t=_(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return m(t,r).value[n]}}var S=e(42705),$=e(34116),P=e(30342);function T(t,n){var e;return("number"==typeof n?w.Z:n instanceof S.ZP?$.ZP:(e=(0,S.ZP)(n))?(n=e,$.ZP):P.Z)(t,n)}var q=e(93969),C=e(17562),X=e(77772),Y=h.ZP.prototype.constructor,B=e(48587);function O(t){return function(){this.style.removeProperty(t)}}var R=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}var D=h.ZP.prototype;j.prototype=(function(t){return(0,h.ZP)().transition(t)}).prototype={constructor:j,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,C.Z)(t));for(var r=this._groups,i=r.length,o=Array(i),u=0;u<i;++u)for(var a,s,l=r[u],c=l.length,h=o[u]=Array(c),f=0;f<c;++f)(a=l[f])&&(s=t.call(a,a.__data__,f,l))&&("__data__"in a&&(s.__data__=a.__data__),h[f]=s,d(h[f],n,e,f,h,m(a,e)));return new j(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,X.Z)(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var s,l=r[a],c=l.length,h=0;h<c;++h)if(s=l[h]){for(var f,p=t.call(s,s.__data__,h,l),v=m(s,e),y=0,g=p.length;y<g;++y)(f=p[y])&&d(f,n,e,y,p,v);o.push(p),u.push(s)}return new j(o,u,n,e)},selectChild:D.selectChild,selectChildren:D.selectChildren,filter:function(t){"function"!=typeof t&&(t=(0,q.Z)(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,s=r[i]=[],l=0;l<a;++l)(o=u[l])&&t.call(o,o.__data__,l,u)&&s.push(o);return new j(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=Array(r),a=0;a<o;++a)for(var s,l=n[a],c=e[a],h=l.length,f=u[a]=Array(h),p=0;p<h;
1++p)(s=l[p]||c[p])&&(f[p]=s);for(;a<r;++a)u[a]=n[a];return new j(u,this._parents,this._name,this._id)},selection:function(){return new Y(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=++R,r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],s=a.length,l=0;l<s;++l)if(u=a[l]){var c=m(u,n);d(u,t,e,l,a,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new j(r,this._parents,t,e)},call:D.call,nodes:D.nodes,node:D.node,size:D.size,empty:D.empty,each:D.each,on:function(t,n){var e,r,i,o=this._id;return arguments.length<2?m(this.node(),o).on.on(t):this.each((i=(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})?g:_,function(){var u=i(this,o),a=u.on;a!==e&&(r=(e=a).copy()).on(t,n),u.on=r}))},attr:function(t,n){var e=(0,z.Z)(t),r="transform"===e?A:T;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,i,o;return function(){var u,a,s=e(this);return null==s?void this.removeAttributeNS(t.space,t.local):(u=this.getAttributeNS(t.space,t.local))===(a=s+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,s))}}:function(t,n,e){var r,i,o;return function(){var u,a,s=e(this);return null==s?void this.removeAttribute(t):(u=this.getAttribute(t))===(a=s+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,s))}})(e,r,E(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(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(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)}})(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 Error();var r=(0,z.Z)(t);return this.tween(e,(r.local?function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttributeNS(t.space,t.local,i.call(this,n))}),e}return i._value=n,i}:function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttribute(t,i.call(this,n))}),e}return i._value=n,i})(r,n))},style:function(t,n,e){var r,i,o,u,a,s,l,c,h,f,p,v,y,d,g,m,x,w,b,k,N,Z="transform"==(t+="")?M:T;return null==n?this.styleTween(t,(r=t,function(){var t=(0,B.S)(this,r),n=(this.style.removeProperty(r),(0,B.S)(this,r));return t===n?null:t===i&&n===o?u:u=Z(i=t,o=n)})).on("end.style."+t,O(t)):"function"==typeof n?this.styleTween(t,(a=t,s=E(this,"style."+t,n),function(){var t=(0,B.S)(this,a),n=s(this),e=n+"";return null==n&&(this.style.removeProperty(a),e=n=(0,B.S)(this,a)),t===e?null:t===l&&e===c?h:(c=e,h=Z(l=t,n))})).each((f=this._id,x="end."+(m="style."+(p=t)),function(){var t=_(this,f),n=t.on,e=null==t.value[m]?g||(g=O(p)):void 0;(n!==v||d!==e)&&(y=(v=n).copy()).on(x,d=e),t.on=y})):this.styleTween(t,(w=t,N=n+"",function(){var t=(0,B.S)(this,w);return t===N?null:t===b?k:k=Z(b=t,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 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(n){this.style.setProperty(t,o.call(this,n),e)}),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=E(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},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 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){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=m(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?function(t,n){var e,r;return function(){var i=_(this,t),o=i.tween;if(o!==e){r=e=o;for(var u=0,a=r.length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}}i.tween=r}}:function(t,n,e){var r,i;if("function"!=typeof e)throw Error();return function(){var o=_(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},s=0,l=i.length;s<l;++s)if(i[s].name===n){i[s]=a;break}s===l&&i.push(a)}o.tween=i}})(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){g(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){g(this,t).delay=n}})(n,t)):m(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){_(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){_(this,t).duration=n}})(n,t)):m(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw Error();return function(){_(this,t).ease=n}}(n,t)):m(this.node(),n).ease},easeVarying:function(t){var n;if("function"!=typeof t)throw Error();return this.each((n=this._id,function(){var e=t.apply(this,arguments);if("function"!=typeof e)throw Error();_(this,n).ease=e}))},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,u){var a={value:u},s={value:function(){0==--i&&o()}};e.each(function(){var e=_(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(s)),e.on=n}),0===i&&o()})},[Symbol.iterator]:D[Symbol.iterator]};var H={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};h.ZP.prototype.interrupt=function(t){return this.each(function(){x(this,t)})},h.ZP.prototype.transition=function(t){var n,e;t instanceof j?(n=t._id,t=t._name):(n=++R,(e=H).time=(0,f.zO)(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],s=a.length,l=0;l<s;++l)(u=a[l])&&d(u,t,n,l,a,e||function(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw Error(`transition ${n} not found`);return e}(u,n));return new j(r,this._parents,t,n)};var I=t=>()=>t;function V(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 L(t,n,e){this.k=t,this.x=n,this.y=e}L.prototype={constructor:L,scale:function(t){return 1===t?this:new L(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new L(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 U=new L(1,0,0);function G(t){t.stopImmediatePropagation()}function K(t){t.preventDefault(),t.stopImmediatePropagation()}function F(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function J(){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 Q(){return this.__zoom||U}
vendor: 6,362 bytes, line 1
1function W(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function tt(){return navigator.maxTouchPoints||"ontouchstart"in this}function tn(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 te(){var t,n,e,r=F,s=J,h=tn,f=W,p=tt,v=[0,1/0],y=[[-1/0,-1/0],[1/0,1/0]],d=250,g=l,_=(0,i.Z)("start","zoom","end"),m=0,w=10;function b(t){t.property("__zoom",Q).on("wheel.zoom",E,{passive:!1}).on("mousedown.zoom",S).on("dblclick.zoom",$).filter(p).on("touchstart.zoom",P).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",q).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function k(t,n){return(n=Math.max(v[0],Math.min(v[1],n)))===t.k?t:new L(n,t.x,t.y)}function N(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 L(t.k,r,i)}function Z(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function M(t,n,e,r){t.on("start.zoom",function(){A(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){A(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,i=A(this,t).event(r),o=s.apply(this,t),u=null==e?Z(o):"function"==typeof e?e.apply(this,t):e,a=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),l=this.__zoom,c="function"==typeof n?n.apply(this,t):n,h=g(l.invert(u).concat(a/l.k),c.invert(u).concat(a/c.k));return function(t){if(1===t)t=c;else{var n=h(t),e=a/n[2];t=new L(e,u[0]-n[0]*e,u[1]-n[1]*e)}i.zoom(null,t)}})}function A(t,n,e){return!e&&t.__zooming||new z(t,n)}function z(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=s.apply(t,n),this.taps=0}function E(t,...n){if(r.apply(this,arguments)){var e=A(this,n).event(t),i=this.__zoom,o=Math.max(v[0],Math.min(v[1],i.k*Math.pow(2,f.apply(this,arguments)))),u=c(t);if(e.wheel)(e.mouse[0][0]!==u[0]||e.mouse[0][1]!==u[1])&&(e.mouse[1]=i.invert(e.mouse[0]=u)),clearTimeout(e.wheel);else{if(i.k===o)return;e.mouse=[u,i.invert(u)],x(this),e.start()}K(t),e.wheel=setTimeout(function(){e.wheel=null,e.end()},150),e.zoom("mouse",h(N(k(i,o),e.mouse[0],e.mouse[1]),e.extent,y))}}function S(t,...n){if(!e&&r.apply(this,arguments)){var i,s,l,f=t.currentTarget,p=A(this,n,!0).event(t),v=(0,o.Z)(t.view).on("mousemove.zoom",function(t){if(K(t),!p.moved){var n=t.clientX-g,e=t.clientY-_;p.moved=n*n+e*e>m}p.event(t).zoom("mouse",h(N(p.that.__zoom,p.mouse[0]=c(t,f),p.mouse[1]),p.extent,y))},!0).on("mouseup.zoom",function(t){var n,e,r,i;v.on("mousemove.zoom mouseup.zoom",null),n=t.view,e=p.moved,r=n.document.documentElement,i=(0,o.Z)(n).on("dragstart.drag",null),e&&(i.on("click.drag",a,u),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in r?i.on("selectstart.drag",null):(r.style.MozUserSelect=r.__noselect,delete r.__noselect),K(t),p.event(t).end()},!0),d=c(t,f),g=t.clientX,_=t.clientY;s=(i=t.view).document.documentElement,l=(0,o.Z)(i).on("dragstart.drag",a,u),"onselectstart"in s?l.on("selectstart.drag",a,u):(s.__noselect=s.style.MozUserSelect,s.style.MozUserSelect="none"),G(t),p.mouse=[d,this.__zoom.invert(d)],x(this),p.start()}}function $(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,i=c(t.changedTouches?t.changedTouches[0]:t,this),u=e.invert(i),a=e.k*(t.shiftKey?.5:2),l=h(N(k(e,a),i,u),s.apply(this,n),y);K(t),d>0?(0,o.Z)(this).transition().duration(d).call(M,l,i,t):(0,o.Z)(this).call(b.transform,l,i,t)}}function P(e,...i){if(r.apply(this,arguments)){var o,u,a,s,l=e.touches,h=l.length,f=A(this,i,e.changedTouches.length===h).event(e);for(G(e),u=0;u<h;++u)s=[s=c(a=l[u],this),this.__zoom.invert(s),a.identifier],f.touch0?f.touch1||f.touch0[2]===s[2]||(f.touch1=s,f.taps=0):(f.touch0=s,o=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(f.taps<2&&(n=s[0],t=setTimeout(function(){t=null},500)),x(this),f.start())}}function T(t,...n){if(this.__zooming){var e,r,i,o,u=A(this,n).event(t),a=t.changedTouches,s=a.length;for(K(t),e=0;e<s;++e)i=c(r=a[e],this),u.touch0&&u.touch0[2]===r.identifier?u.touch0[0]=i:u.touch1&&u.touch1[2]===r.identifier&&(u.touch1[0]=i);if(r=u.that.__zoom,u.touch1){var l=u.touch0[0],f=u.touch0[1],p=u.touch1[0],v=u.touch1[1],d=(d=p[0]-l[0])*d+(d=p[1]-l[1])*d,g=(g=v[0]-f[0])*g+(g=v[1]-f[1])*g;r=k(r,Math.sqrt(d/g)),i=[(l[0]+p[0])/2,(l[1]+p[1])/2],o=[(f[0]+v[0])/2,(f[1]+v[1])/2]}else{if(!u.touch0)return;i=u.touch0[0],o=u.touch0[1]}u.zoom("touch",h(N(r,i,o),u.extent,y))}}function q(t,...r){if(this.__zooming){var i,u,a=A(this,r).event(t),s=t.changedTouches,l=s.length;for(G(t),e&&clearTimeout(e),e=setTimeout(function(){e=null},500),i=0;i<l;++i)u=s[i],a.touch0&&a.touch0[2]===u.identifier?delete a.touch0:a.touch1&&a.touch1[2]===u.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(u=c(u,this),Math.hypot(n[0]-u[0],n[1]-u[1])<w)){var h=(0,o.Z)(this).on("dblclick.zoom");h&&h.apply(this,arguments)}}}return b.transform=function(t,n,e,r){var i=t.selection?t.selection():t;i.property("__zoom",Q),t!==i?M(t,n,e,r):i.interrupt().each(function(){A(this,arguments).event(r).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},b.scaleBy=function(t,n,e,r){b.scaleTo(t,function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e},e,r)},b.scaleTo=function(t,n,e,r){b.transform(t,function(){var t=s.apply(this,arguments),r=this.__zoom,i=null==e?Z(t):"function"==typeof e?e.apply(this,arguments):e,o=r.invert(i),u="function"==typeof n?n.apply(this,arguments):n;return h(N(k(r,u),i,o),t,y)},e,r)},b.translateBy=function(t,n,e,r){b.transform(t,function(){return h(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),s.apply(this,arguments),y)},null,r)},b.translateTo=function(t,n,e,r,i){b.transform(t,function(){var t=s.apply(this,arguments),i=this.__zoom,o=null==r?Z(t):"function"==typeof r?r.apply(this,arguments):r;return h(U.translate(o[0],o[1]).scale(i.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,y)},r,i)},z.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
vendor: 1,585 bytes, line 1
1("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=(0,o.Z)(this.that).datum();_.call(t,this.that,new V(t,{sourceEvent:this.sourceEvent,target:b,type:t,transform:this.that.__zoom,dispatch:_}),n)}},b.wheelDelta=function(t){return arguments.length?(f="function"==typeof t?t:I(+t),b):f},b.filter=function(t){return arguments.length?(r="function"==typeof t?t:I(!!t),b):r},b.touchable=function(t){return arguments.length?(p="function"==typeof t?t:I(!!t),b):p},b.extent=function(t){return arguments.length?(s="function"==typeof t?t:I([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),b):s},b.scaleExtent=function(t){return arguments.length?(v[0]=+t[0],v[1]=+t[1],b):[v[0],v[1]]},b.translateExtent=function(t){return arguments.length?(y[0][0]=+t[0][0],y[1][0]=+t[1][0],y[0][1]=+t[0][1],y[1][1]=+t[1][1],b):[[y[0][0],y[0][1]],[y[1][0],y[1][1]]]},b.constrain=function(t){return arguments.length?(h=t,b):h},b.duration=function(t){return arguments.length?(d=+t,b):d},b.interpolate=function(t){return arguments.length?(g=t,b):g},b.on=function(){var t=_.on.apply(_,arguments);return t===_?b:t},b.clickDistance=function(t){return arguments.length?(m=(t=+t)*t,b):Math.sqrt(m)},b.tapDistance=function(t){return arguments.length?(w=+t,b):w},b}L.prototype}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.