@reltio/remotes 1.4.964 → 1.4.968

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/357.js ADDED
@@ -0,0 +1 @@
1
+ (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[357],{27597:(t,n,e)=>{"use strict";var r=e(14859);n.Z=void 0;var o=r(e(24328)),i=(0,r(e(50175)).default)(o.default.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");n.Z=i},12147:(t,n,e)=>{"use strict";var r=e(14859);n.Z=void 0;var o=r(e(24328)),i=(0,r(e(50175)).default)(o.default.createElement("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"}),"CalendarToday");n.Z=i},73272:(t,n,e)=>{"use strict";var r=e(14859);n.Z=void 0;var o=r(e(24328)),i=(0,r(e(50175)).default)(o.default.createElement("path",{d:"M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"}),"Flag");n.Z=i},28113:(t,n,e)=>{"use strict";var r=e(14859);n.Z=void 0;var o=r(e(24328)),i=(0,r(e(50175)).default)(o.default.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}),"GetApp");n.Z=i},42668:(t,n,e)=>{"use strict";var r=e(14859);n.Z=void 0;var o=r(e(24328)),i=(0,r(e(50175)).default)(o.default.createElement("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}),"Restore");n.Z=i},71641:(t,n,e)=>{var r=e(10961).W,o=Math.PI/180,i=2048;function u(t){return t.text}function a(){return"serif"}function c(){return"normal"}function s(t){return Math.sqrt(t.value)}function l(){return 30*(~~(6*Math.random())-3)}function f(){return 1}function h(t,n,e,r){if(!n.sprite){var u=t.context,a=t.ratio;u.clearRect(0,0,2048/a,i/a);var c=0,s=0,l=0,f=e.length;for(--r;++r<f;){n=e[r],u.save(),u.font=n.style+" "+n.weight+" "+~~((n.size+1)/a)+"px "+n.font;var h=u.measureText(n.text+"m").width*a,p=n.size<<1;if(n.rotate){var v=Math.sin(n.rotate*o),d=Math.cos(n.rotate*o),g=h*d,m=h*v,y=p*d,_=p*v;h=Math.max(Math.abs(g+_),Math.abs(g-_))+31>>5<<5,p=~~Math.max(Math.abs(m+y),Math.abs(m-y))}else h=h+31>>5<<5;if(p>l&&(l=p),c+h>=2048&&(c=0,s+=l,l=0),s+p>=i)break;u.translate((c+(h>>1))/a,(s+(p>>1))/a),n.rotate&&u.rotate(n.rotate*o),u.fillText(n.text,0,0),n.padding&&(u.lineWidth=2*n.padding,u.strokeText(n.text,0,0)),u.restore(),n.width=h,n.height=p,n.xoff=c,n.yoff=s,n.x1=h>>1,n.y1=p>>1,n.x0=-n.x1,n.y0=-n.y1,n.hasText=!0,c+=h}for(var w=u.getImageData(0,0,2048/a,i/a).data,x=[];--r>=0;)if((n=e[r]).hasText){for(var M=(h=n.width)>>5,E=(p=n.y1-n.y0,0);E<p*M;E++)x[E]=0;if(null==(c=n.xoff))return;s=n.yoff;for(var b=0,S=-1,k=0;k<p;k++){for(E=0;E<h;E++){var N=M*k+(E>>5),A=w[2048*(s+k)+(c+E)<<2]?1<<31-E%32:0;x[N]|=A,b|=A}b?S=k:(n.y0++,p--,k--,s++)}n.y1=n.y0+S,n.sprite=x.slice(0,(n.y1-n.y0)*M)}}}function p(t,n,e){e>>=5;for(var r,o=t.sprite,i=t.width>>5,u=t.x-(i<<4),a=127&u,c=32-a,s=t.y1-t.y0,l=(t.y+t.y0)*e+(u>>5),f=0;f<s;f++){r=0;for(var h=0;h<=i;h++)if((r<<c|(h<i?(r=o[f*i+h])>>>a:0))&n[l+h])return!0;l+=e}return!1}function v(t,n){var e=t[0],r=t[1];n.x+n.x0<e.x&&(e.x=n.x+n.x0),n.y+n.y0<e.y&&(e.y=n.y+n.y0),n.x+n.x1>r.x&&(r.x=n.x+n.x1),n.y+n.y1>r.y&&(r.y=n.y+n.y1)}function d(t){var n=t[0]/t[1];return function(t){return[n*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function g(){return document.createElement("canvas")}function m(t){return"function"==typeof t?t:function(){return t}}t.exports=function(){var t=[256,256],n=u,e=a,o=s,_=c,w=c,x=l,M=f,E=d,b=[],S=1/0,k=r("word","end"),N=null,A=Math.random,Z={},z=g;function P(n,e,r){t[0],t[1];for(var o,i,u,a,c,s=e.x,l=e.y,f=Math.sqrt(t[0]*t[0]+t[1]*t[1]),h=E(t),v=A()<.5?1:-1,d=-v;(o=h(d+=v))&&(i=~~o[0],u=~~o[1],!(Math.min(Math.abs(i),Math.abs(u))>=f));)if(e.x=s+i,e.y=l+u,!(e.x+e.x0<0||e.y+e.y0<0||e.x+e.x1>t[0]||e.y+e.y1>t[1]||r&&p(e,n,t[0])||r&&(c=r,!((a=e).x+a.x1>c[0].x&&a.x+a.x0<c[1].x&&a.y+a.y1>c[0].y&&a.y+a.y0<c[1].y)))){for(var g,m=e.sprite,y=e.width>>5,_=t[0]>>5,w=e.x-(y<<4),x=127&w,M=32-x,b=e.y1-e.y0,S=(e.y+e.y0)*_+(w>>5),k=0;k<b;k++){g=0;for(var N=0;N<=y;N++)n[S+N]|=g<<M|(N<y?(g=m[k*y+N])>>>x:0);S+=_}return delete e.sprite,!0}return!1}return Z.canvas=function(t){return arguments.length?(z=m(t),Z):z},Z.start=function(){var r=function(t){t.width=t.height=1;var n=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/n,t.height=i/n;var e=t.getContext("2d");return e.fillStyle=e.strokeStyle="red",e.textAlign="center",{context:e,ratio:n}}(z()),u=function(t){for(var n=[],e=-1;++e<t;)n[e]=0;return n}((t[0]>>5)*t[1]),a=null,c=b.length,s=-1,l=[],f=b.map((function(t,r){return t.text=n.call(this,t,r),t.font=e.call(this,t,r),t.style=_.call(this,t,r),t.weight=w.call(this,t,r),t.rotate=x.call(this,t,r),t.size=~~o.call(this,t,r),t.padding=M.call(this,t,r),t})).sort((function(t,n){return n.size-t.size}));return N&&clearInterval(N),N=setInterval(p,0),p(),Z;function p(){for(var n=Date.now();Date.now()-n<S&&++s<c&&N;){var e=f[s];e.x=t[0]*(A()+.5)>>1,e.y=t[1]*(A()+.5)>>1,h(r,e,f,s),e.hasText&&P(u,e,a)&&(l.push(e),k.call("word",Z,e),a?v(a,e):a=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}s>=c&&(Z.stop(),k.call("end",Z,l,a))}},Z.stop=function(){return N&&(clearInterval(N),N=null),Z},Z.timeInterval=function(t){return arguments.length?(S=null==t?1/0:t,Z):S},Z.words=function(t){return arguments.length?(b=t,Z):b},Z.size=function(n){return arguments.length?(t=[+n[0],+n[1]],Z):t},Z.font=function(t){return arguments.length?(e=m(t),Z):e},Z.fontStyle=function(t){return arguments.length?(_=m(t),Z):_},Z.fontWeight=function(t){return arguments.length?(w=m(t),Z):w},Z.rotate=function(t){return arguments.length?(x=m(t),Z):x},Z.text=function(t){return arguments.length?(n=m(t),Z):n},Z.spiral=function(t){return arguments.length?(E=y[t]||t,Z):E},Z.fontSize=function(t){return arguments.length?(o=m(t),Z):o},Z.padding=function(t){return arguments.length?(M=m(t),Z):M},Z.random=function(t){return arguments.length?(A=t,Z):A},Z.on=function(){var t=k.on.apply(k,arguments);return t===k?Z:t},Z};var y={archimedean:d,rectangular:function(t){var n=4*t[0]/t[1],e=0,r=0;return function(t){var o=t<0?-1:1;switch(Math.sqrt(1+4*o*t)-o&3){case 0:e+=n;break;case 1:r+=4;break;case 2:e-=n;break;default:r-=4}return[e,r]}}}},65264:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s});var r={value:function(){}};function o(){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 i(r)}function i(t){this._=t}function u(t,n){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function a(t,n){for(var e,r=0,o=t.length;r<o;++r)if((e=t[r]).name===n)return e.value}function c(t,n,e){for(var o=0,i=t.length;o<i;++o)if(t[o].name===n){t[o]=r,t=t.slice(0,o).concat(t.slice(o+1));break}return null!=e&&t.push({name:n,value:e}),t}i.prototype=o.prototype={constructor:i,on:function(t,n){var e,r=this._,o=u(t+"",r),i=-1,s=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++i<s;)if(e=(t=o[i]).type)r[e]=c(r[e],t.name,n);else if(null==n)for(e in r)r[e]=c(r[e],t.name,null);return this}for(;++i<s;)if((e=(t=o[i]).type)&&(e=a(r[e],t.name)))return e},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,o=new Array(e),i=0;i<e;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(i=0,e=(r=this._[t]).length;i<e;++i)r[i].value.apply(n,o)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],o=0,i=r.length;o<i;++o)r[o].value.apply(n,e)}};const s=o},10961:(t,n,e)=>{"use strict";e.d(n,{W:()=>r.Z});var r=e(65264)},98842:(t,n,e)=>{"use strict";e.r(n),e.d(n,{geoAlbers:()=>wr,geoAlbersUsa:()=>xr,geoArea:()=>ot,geoAzimuthalEqualArea:()=>Sr,geoAzimuthalEqualAreaRaw:()=>br,geoAzimuthalEquidistant:()=>Nr,geoAzimuthalEquidistantRaw:()=>kr,geoBounds:()=>Bt,geoCentroid:()=>$t,geoCircle:()=>sn,geoClipAntimeridian:()=>xn,geoClipCircle:()=>Mn,geoClipExtent:()=>zn,geoClipRectangle:()=>Zn,geoConicConformal:()=>jr,geoConicConformalRaw:()=>Cr,geoConicEqualArea:()=>_r,geoConicEqualAreaRaw:()=>yr,geoConicEquidistant:()=>Or,geoConicEquidistantRaw:()=>Lr,geoContains:()=>Hn,geoDistance:()=>Rn,geoEqualEarth:()=>Fr,geoEqualEarthRaw:()=>Dr,geoEquirectangular:()=>qr,geoEquirectangularRaw:()=>Tr,geoGnomonic:()=>Vr,geoGnomonicRaw:()=>Ir,geoGraticule:()=>$n,geoGraticule10:()=>Jn,geoIdentity:()=>Hr,geoInterpolate:()=>Qn,geoLength:()=>qn,geoMercator:()=>Zr,geoMercatorRaw:()=>Ar,geoNaturalEarth1:()=>Wr,geoNaturalEarth1Raw:()=>Ur,geoOrthographic:()=>$r,geoOrthographicRaw:()=>Kr,geoPath:()=>er,geoProjection:()=>dr,geoProjectionMutator:()=>gr,geoRotation:()=>un,geoStereographic:()=>Qr,geoStereographicRaw:()=>Jr,geoStream:()=>T,geoTransform:()=>rr,geoTransverseMercator:()=>no,geoTransverseMercatorRaw:()=>to});class r{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 o=n[r],i=t+o,u=Math.abs(t)<Math.abs(o)?t-(i-o):o-(i-t);u&&(n[e++]=u),t=i}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,o=this._n,i=0;if(o>0){for(i=t[--o];o>0&&(n=i,e=t[--o],i=n+e,r=e-(i-n),!r););o>0&&(r<0&&t[o-1]<0||r>0&&t[o-1]>0)&&(e=2*r,n=i+e,e==n-i&&(i=n))}return i}}var o=1e-6,i=1e-12,u=Math.PI,a=u/2,c=u/4,s=2*u,l=180/u,f=u/180,h=Math.abs,p=Math.atan,v=Math.atan2,d=Math.cos,g=Math.ceil,m=Math.exp,y=(Math.floor,Math.hypot),_=Math.log,w=Math.pow,x=Math.sin,M=Math.sign||function(t){return t>0?1:t<0?-1:0},E=Math.sqrt,b=Math.tan;function S(t){return t>1?0:t<-1?u:Math.acos(t)}function k(t){return t>1?a:t<-1?-a:Math.asin(t)}function N(t){return(t=x(t/2))*t}function A(){}function Z(t,n){t&&P.hasOwnProperty(t.type)&&P[t.type](t,n)}var z={Feature:function(t,n){Z(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,o=e.length;++r<o;)Z(e[r].geometry,n)}},P={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,o=e.length;++r<o;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){C(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)C(e[r],n,0)},Polygon:function(t,n){j(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)j(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,o=e.length;++r<o;)Z(e[r],n)}};function C(t,n,e){var r,o=-1,i=t.length-e;for(n.lineStart();++o<i;)r=t[o],n.point(r[0],r[1],r[2]);n.lineEnd()}function j(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)C(t[e],n,1);n.polygonEnd()}function T(t,n){t&&z.hasOwnProperty(t.type)?z[t.type](t,n):Z(t,n)}var q,L,O,R,B,G,X,Y,D,F,I,V,H,U,W,K,$=new r,J=new r,Q={point:A,lineStart:A,lineEnd:A,polygonStart:function(){$=new r,Q.lineStart=tt,Q.lineEnd=nt},polygonEnd:function(){var t=+$;J.add(t<0?s+t:t),this.lineStart=this.lineEnd=this.point=A},sphere:function(){J.add(s)}};function tt(){Q.point=et}function nt(){rt(q,L)}function et(t,n){Q.point=rt,q=t,L=n,O=t*=f,R=d(n=(n*=f)/2+c),B=x(n)}function rt(t,n){var e=(t*=f)-O,r=e>=0?1:-1,o=r*e,i=d(n=(n*=f)/2+c),u=x(n),a=B*u,s=R*i+a*d(o),l=a*r*x(o);$.add(v(l,s)),O=t,R=i,B=u}function ot(t){return J=new r,T(t,Q),2*J}function it(t){return[v(t[1],t[0]),k(t[2])]}function ut(t){var n=t[0],e=t[1],r=d(e);return[r*d(n),r*x(n),x(e)]}function at(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function ct(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 st(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function lt(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function ft(t){var n=E(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var ht,pt,vt,dt,gt,mt,yt,_t,wt,xt,Mt,Et,bt,St,kt,Nt,At={point:Zt,lineStart:Pt,lineEnd:Ct,polygonStart:function(){At.point=jt,At.lineStart=Tt,At.lineEnd=qt,U=new r,Q.polygonStart()},polygonEnd:function(){Q.polygonEnd(),At.point=Zt,At.lineStart=Pt,At.lineEnd=Ct,$<0?(G=-(Y=180),X=-(D=90)):U>o?D=90:U<-o&&(X=-90),K[0]=G,K[1]=Y},sphere:function(){G=-(Y=180),X=-(D=90)}};function Zt(t,n){W.push(K=[G=t,Y=t]),n<X&&(X=n),n>D&&(D=n)}function zt(t,n){var e=ut([t*f,n*f]);if(H){var r=ct(H,e),o=ct([r[1],-r[0],0],r);ft(o),o=it(o);var i,u=t-F,a=u>0?1:-1,c=o[0]*l*a,s=h(u)>180;s^(a*F<c&&c<a*t)?(i=o[1]*l)>D&&(D=i):s^(a*F<(c=(c+360)%360-180)&&c<a*t)?(i=-o[1]*l)<X&&(X=i):(n<X&&(X=n),n>D&&(D=n)),s?t<F?Lt(G,t)>Lt(G,Y)&&(Y=t):Lt(t,Y)>Lt(G,Y)&&(G=t):Y>=G?(t<G&&(G=t),t>Y&&(Y=t)):t>F?Lt(G,t)>Lt(G,Y)&&(Y=t):Lt(t,Y)>Lt(G,Y)&&(G=t)}else W.push(K=[G=t,Y=t]);n<X&&(X=n),n>D&&(D=n),H=e,F=t}function Pt(){At.point=zt}function Ct(){K[0]=G,K[1]=Y,At.point=Zt,H=null}function jt(t,n){if(H){var e=t-F;U.add(h(e)>180?e+(e>0?360:-360):e)}else I=t,V=n;Q.point(t,n),zt(t,n)}function Tt(){Q.lineStart()}function qt(){jt(I,V),Q.lineEnd(),h(U)>o&&(G=-(Y=180)),K[0]=G,K[1]=Y,H=null}function Lt(t,n){return(n-=t)<0?n+360:n}function Ot(t,n){return t[0]-n[0]}function Rt(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function Bt(t){var n,e,r,o,i,u,a;if(D=Y=-(G=X=1/0),W=[],T(t,At),e=W.length){for(W.sort(Ot),n=1,i=[r=W[0]];n<e;++n)Rt(r,(o=W[n])[0])||Rt(r,o[1])?(Lt(r[0],o[1])>Lt(r[0],r[1])&&(r[1]=o[1]),Lt(o[0],r[1])>Lt(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(u=-1/0,n=0,r=i[e=i.length-1];n<=e;r=o,++n)o=i[n],(a=Lt(r[1],o[0]))>u&&(u=a,G=o[0],Y=r[1])}return W=K=null,G===1/0||X===1/0?[[NaN,NaN],[NaN,NaN]]:[[G,X],[Y,D]]}var Gt={sphere:A,point:Xt,lineStart:Dt,lineEnd:Vt,polygonStart:function(){Gt.lineStart=Ht,Gt.lineEnd=Ut},polygonEnd:function(){Gt.lineStart=Dt,Gt.lineEnd=Vt}};function Xt(t,n){t*=f;var e=d(n*=f);Yt(e*d(t),e*x(t),x(n))}function Yt(t,n,e){++ht,vt+=(t-vt)/ht,dt+=(n-dt)/ht,gt+=(e-gt)/ht}function Dt(){Gt.point=Ft}function Ft(t,n){t*=f;var e=d(n*=f);St=e*d(t),kt=e*x(t),Nt=x(n),Gt.point=It,Yt(St,kt,Nt)}function It(t,n){t*=f;var e=d(n*=f),r=e*d(t),o=e*x(t),i=x(n),u=v(E((u=kt*i-Nt*o)*u+(u=Nt*r-St*i)*u+(u=St*o-kt*r)*u),St*r+kt*o+Nt*i);pt+=u,mt+=u*(St+(St=r)),yt+=u*(kt+(kt=o)),_t+=u*(Nt+(Nt=i)),Yt(St,kt,Nt)}function Vt(){Gt.point=Xt}function Ht(){Gt.point=Wt}function Ut(){Kt(Et,bt),Gt.point=Xt}function Wt(t,n){Et=t,bt=n,t*=f,n*=f,Gt.point=Kt;var e=d(n);St=e*d(t),kt=e*x(t),Nt=x(n),Yt(St,kt,Nt)}function Kt(t,n){t*=f;var e=d(n*=f),r=e*d(t),o=e*x(t),i=x(n),u=kt*i-Nt*o,a=Nt*r-St*i,c=St*o-kt*r,s=y(u,a,c),l=k(s),h=s&&-l/s;wt.add(h*u),xt.add(h*a),Mt.add(h*c),pt+=l,mt+=l*(St+(St=r)),yt+=l*(kt+(kt=o)),_t+=l*(Nt+(Nt=i)),Yt(St,kt,Nt)}function $t(t){ht=pt=vt=dt=gt=mt=yt=_t=0,wt=new r,xt=new r,Mt=new r,T(t,Gt);var n=+wt,e=+xt,u=+Mt,a=y(n,e,u);return a<i&&(n=mt,e=yt,u=_t,pt<o&&(n=vt,e=dt,u=gt),(a=y(n,e,u))<i)?[NaN,NaN]:[v(e,n)*l,k(u/a)*l]}function Jt(t){return function(){return t}}function Qt(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 tn(t,n){return[h(t)>u?t+Math.round(-t/s)*s:t,n]}function nn(t,n,e){return(t%=s)?n||e?Qt(rn(t),on(n,e)):rn(t):n||e?on(n,e):tn}function en(t){return function(n,e){return[(n+=t)>u?n-s:n<-u?n+s:n,e]}}function rn(t){var n=en(t);return n.invert=en(-t),n}function on(t,n){var e=d(t),r=x(t),o=d(n),i=x(n);function u(t,n){var u=d(n),a=d(t)*u,c=x(t)*u,s=x(n),l=s*e+a*r;return[v(c*o-l*i,a*e-s*r),k(l*o+c*i)]}return u.invert=function(t,n){var u=d(n),a=d(t)*u,c=x(t)*u,s=x(n),l=s*o-c*i;return[v(c*o+s*i,a*e+l*r),k(l*e-a*r)]},u}function un(t){function n(n){return(n=t(n[0]*f,n[1]*f))[0]*=l,n[1]*=l,n}return t=nn(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]*=l,n[1]*=l,n},n}function an(t,n,e,r,o,i){if(e){var u=d(n),a=x(n),c=r*e;null==o?(o=n+r*s,i=n-c/2):(o=cn(u,o),i=cn(u,i),(r>0?o<i:o>i)&&(o+=r*s));for(var l,f=o;r>0?f>i:f<i;f-=c)l=it([u,-a*d(f),-a*x(f)]),t.point(l[0],l[1])}}function cn(t,n){(n=ut(n))[0]-=t,ft(n);var e=S(-n[1]);return((-n[2]<0?-e:e)+s-o)%s}function sn(){var t,n,e=Jt([0,0]),r=Jt(90),o=Jt(6),i={point:function(e,r){t.push(e=n(e,r)),e[0]*=l,e[1]*=l}};function u(){var u=e.apply(this,arguments),a=r.apply(this,arguments)*f,c=o.apply(this,arguments)*f;return t=[],n=nn(-u[0]*f,-u[1]*f,0).invert,an(i,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:Jt([+t[0],+t[1]]),u):e},u.radius=function(t){return arguments.length?(r="function"==typeof t?t:Jt(+t),u):r},u.precision=function(t){return arguments.length?(o="function"==typeof t?t:Jt(+t),u):o},u}function ln(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:A,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function fn(t,n){return h(t[0]-n[0])<o&&h(t[1]-n[1])<o}function hn(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 pn(t,n,e,r,o){var i,u,a=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(fn(r,u)){if(!r[2]&&!u[2]){for(o.lineStart(),i=0;i<n;++i)o.point((r=t[i])[0],r[1]);return void o.lineEnd()}u[0]+=2e-6}a.push(e=new hn(r,t,null,!0)),c.push(e.o=new hn(r,null,e,!1)),a.push(e=new hn(u,t,null,!1)),c.push(e.o=new hn(u,null,e,!0))}})),a.length){for(c.sort(n),vn(a),vn(c),i=0,u=c.length;i<u;++i)c[i].e=e=!e;for(var s,l,f=a[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;s=h.z,o.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(i=0,u=s.length;i<u;++i)o.point((l=s[i])[0],l[1]);else r(h.x,h.n.x,1,o);h=h.n}else{if(p)for(s=h.p.z,i=s.length-1;i>=0;--i)o.point((l=s[i])[0],l[1]);else r(h.x,h.p.x,-1,o);h=h.p}s=(h=h.o).z,p=!p}while(!h.v);o.lineEnd()}}}function vn(t){if(n=t.length){for(var n,e,r=0,o=t[0];++r<n;)o.n=e=t[r],e.p=o,o=e;o.n=e=t[0],e.p=o}}function dn(t){return h(t[0])<=u?t[0]:M(t[0])*((h(t[0])+u)%s-u)}function gn(t,n){var e=dn(n),i=n[1],l=x(i),f=[x(e),-d(e),0],h=0,p=0,g=new r;1===l?i=a+o:-1===l&&(i=-a-o);for(var m=0,y=t.length;m<y;++m)if(w=(_=t[m]).length)for(var _,w,M=_[w-1],E=dn(M),b=M[1]/2+c,S=x(b),N=d(b),A=0;A<w;++A,E=z,S=C,N=j,M=Z){var Z=_[A],z=dn(Z),P=Z[1]/2+c,C=x(P),j=d(P),T=z-E,q=T>=0?1:-1,L=q*T,O=L>u,R=S*C;if(g.add(v(R*q*x(L),N*j+R*d(L))),h+=O?T+q*s:T,O^E>=e^z>=e){var B=ct(ut(M),ut(Z));ft(B);var G=ct(f,B);ft(G);var X=(O^T>=0?-1:1)*k(G[2]);(i>X||i===X&&(B[0]||B[1]))&&(p+=O^T>=0?1:-1)}}return(h<-o||h<o&&g<-1e-12)^1&p}function mn(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function yn(t,n,e,r){return function(o){var i,u,a,c=n(o),s=ln(),l=n(s),f=!1,h={point:p,lineStart:d,lineEnd:g,polygonStart:function(){h.point=m,h.lineStart=y,h.lineEnd=_,u=[],i=[]},polygonEnd:function(){h.point=p,h.lineStart=d,h.lineEnd=g,u=mn(u);var t=gn(i,r);u.length?(f||(o.polygonStart(),f=!0),pn(u,wn,t,e,o)):t&&(f||(o.polygonStart(),f=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),f&&(o.polygonEnd(),f=!1),u=i=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function p(n,e){t(n,e)&&o.point(n,e)}function v(t,n){c.point(t,n)}function d(){h.point=v,c.lineStart()}function g(){h.point=p,c.lineEnd()}function m(t,n){a.push([t,n]),l.point(t,n)}function y(){l.lineStart(),a=[]}function _(){m(a[0][0],a[0][1]),l.lineEnd();var t,n,e,r,c=l.clean(),h=s.result(),p=h.length;if(a.pop(),i.push(a),a=null,p)if(1&c){if((n=(e=h[0]).length-1)>0){for(f||(o.polygonStart(),f=!0),o.lineStart(),t=0;t<n;++t)o.point((r=e[t])[0],r[1]);o.lineEnd()}}else p>1&&2&c&&h.push(h.pop().concat(h.shift())),u.push(h.filter(_n))}return h}}function _n(t){return t.length>1}function wn(t,n){return((t=t.x)[0]<0?t[1]-a-o:a-t[1])-((n=n.x)[0]<0?n[1]-a-o:a-n[1])}tn.invert=tn;const xn=yn((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(c,s){var l=c>0?u:-u,f=h(c-e);h(f-u)<o?(t.point(e,r=(r+s)/2>0?a:-a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(l,r),t.point(c,r),n=0):i!==l&&f>=u&&(h(e-i)<o&&(e-=i*o),h(c-l)<o&&(c-=l*o),r=function(t,n,e,r){var i,u,a=x(t-e);return h(a)>o?p((x(n)*(u=d(r))*x(e)-x(r)*(i=d(n))*x(t))/(i*u*a)):(n+r)/2}(e,r,c,s),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(l,r),n=0),t.point(e=c,r=s),i=l},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*a,r.point(-u,i),r.point(0,i),r.point(u,i),r.point(u,0),r.point(u,-i),r.point(0,-i),r.point(-u,-i),r.point(-u,0),r.point(-u,i);else if(h(t[0]-n[0])>o){var c=t[0]<n[0]?u:-u;i=e*c/2,r.point(-c,i),r.point(0,i),r.point(c,i)}else r.point(n[0],n[1])}),[-u,-a]);function Mn(t){var n=d(t),e=6*f,r=n>0,i=h(n)>o;function a(t,e){return d(t)*d(e)>n}function c(t,e,r){var i=[1,0,0],a=ct(ut(t),ut(e)),c=at(a,a),s=a[0],l=c-s*s;if(!l)return!r&&t;var f=n*c/l,p=-n*s/l,v=ct(i,a),d=lt(i,f);st(d,lt(a,p));var g=v,m=at(d,g),y=at(g,g),_=m*m-y*(at(d,d)-1);if(!(_<0)){var w=E(_),x=lt(g,(-m-w)/y);if(st(x,d),x=it(x),!r)return x;var M,b=t[0],S=e[0],k=t[1],N=e[1];S<b&&(M=b,b=S,S=M);var A=S-b,Z=h(A-u)<o;if(!Z&&N<k&&(M=k,k=N,N=M),Z||A<o?Z?k+N>0^x[1]<(h(x[0]-b)<o?k:N):k<=x[1]&&x[1]<=N:A>u^(b<=x[0]&&x[0]<=S)){var z=lt(g,(-m+w)/y);return st(z,d),[x,it(z)]}}}function s(n,e){var o=r?t:u-t,i=0;return n<-o?i|=1:n>o&&(i|=2),e<-o?i|=4:e>o&&(i|=8),i}return yn(a,(function(t){var n,e,o,l,f;return{lineStart:function(){l=o=!1,f=1},point:function(h,p){var v,d=[h,p],g=a(h,p),m=r?g?0:s(h,p):g?s(h+(h<0?u:-u),p):0;if(!n&&(l=o=g)&&t.lineStart(),g!==o&&(!(v=c(n,d))||fn(n,v)||fn(d,v))&&(d[2]=1),g!==o)f=0,g?(t.lineStart(),v=c(d,n),t.point(v[0],v[1])):(v=c(n,d),t.point(v[0],v[1],2),t.lineEnd()),n=v;else if(i&&n&&r^g){var y;m&e||!(y=c(d,n,!0))||(f=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!g||n&&fn(n,d)||t.point(d[0],d[1]),n=d,o=g,e=m},lineEnd:function(){o&&t.lineEnd(),n=null},clean:function(){return f|(l&&o)<<1}}}),(function(n,r,o,i){an(i,t,e,o,n,r)}),r?[0,-t]:[-u,t-u])}var En,bn,Sn,kn,Nn=1e9,An=-Nn;function Zn(t,n,e,r){function i(o,i){return t<=o&&o<=e&&n<=i&&i<=r}function u(o,i,u,c){var l=0,f=0;if(null==o||(l=a(o,u))!==(f=a(i,u))||s(o,i)<0^u>0)do{c.point(0===l||3===l?t:e,l>1?r:n)}while((l=(l+u+4)%4)!==f);else c.point(i[0],i[1])}function a(r,i){return h(r[0]-t)<o?i>0?0:3:h(r[0]-e)<o?i>0?2:1:h(r[1]-n)<o?i>0?1:0:i>0?3:2}function c(t,n){return s(t.x,n.x)}function s(t,n){var e=a(t,1),r=a(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(o){var a,s,l,f,h,p,v,d,g,m,y,_=o,w=ln(),x={point:M,lineStart:function(){x.point=E,s&&s.push(l=[]),m=!0,g=!1,v=d=NaN},lineEnd:function(){a&&(E(f,h),p&&g&&w.rejoin(),a.push(w.result())),x.point=M,g&&_.lineEnd()},polygonStart:function(){_=w,a=[],s=[],y=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,o=s.length;e<o;++e)for(var i,u,a=s[e],c=1,l=a.length,f=a[0],h=f[0],p=f[1];c<l;++c)i=h,u=p,h=(f=a[c])[0],p=f[1],u<=r?p>r&&(h-i)*(r-u)>(p-u)*(t-i)&&++n:p<=r&&(h-i)*(r-u)<(p-u)*(t-i)&&--n;return n}(),e=y&&n,i=(a=mn(a)).length;(e||i)&&(o.polygonStart(),e&&(o.lineStart(),u(null,null,1,o),o.lineEnd()),i&&pn(a,c,n,u,o),o.polygonEnd()),_=o,a=s=l=null}};function M(t,n){i(t,n)&&_.point(t,n)}function E(o,u){var a=i(o,u);if(s&&l.push([o,u]),m)f=o,h=u,p=a,m=!1,a&&(_.lineStart(),_.point(o,u));else if(a&&g)_.point(o,u);else{var c=[v=Math.max(An,Math.min(Nn,v)),d=Math.max(An,Math.min(Nn,d))],w=[o=Math.max(An,Math.min(Nn,o)),u=Math.max(An,Math.min(Nn,u))];!function(t,n,e,r,o,i){var u,a=t[0],c=t[1],s=0,l=1,f=n[0]-a,h=n[1]-c;if(u=e-a,f||!(u>0)){if(u/=f,f<0){if(u<s)return;u<l&&(l=u)}else if(f>0){if(u>l)return;u>s&&(s=u)}if(u=o-a,f||!(u<0)){if(u/=f,f<0){if(u>l)return;u>s&&(s=u)}else if(f>0){if(u<s)return;u<l&&(l=u)}if(u=r-c,h||!(u>0)){if(u/=h,h<0){if(u<s)return;u<l&&(l=u)}else if(h>0){if(u>l)return;u>s&&(s=u)}if(u=i-c,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u<s)return;u<l&&(l=u)}return s>0&&(t[0]=a+s*f,t[1]=c+s*h),l<1&&(n[0]=a+l*f,n[1]=c+l*h),!0}}}}}(c,w,t,n,e,r)?a&&(_.lineStart(),_.point(o,u),y=!1):(g||(_.lineStart(),_.point(c[0],c[1])),_.point(w[0],w[1]),a||_.lineEnd(),y=!1)}v=o,d=u,g=a}return x}}function zn(){var t,n,e,r=0,o=0,i=960,u=500;return e={stream:function(e){return t&&n===e?t:t=Zn(r,o,i,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],o=+a[0][1],i=+a[1][0],u=+a[1][1],t=n=null,e):[[r,o],[i,u]]}}}var Pn={sphere:A,point:A,lineStart:function(){Pn.point=jn,Pn.lineEnd=Cn},lineEnd:A,polygonStart:A,polygonEnd:A};function Cn(){Pn.point=Pn.lineEnd=A}function jn(t,n){bn=t*=f,Sn=x(n*=f),kn=d(n),Pn.point=Tn}function Tn(t,n){t*=f;var e=x(n*=f),r=d(n),o=h(t-bn),i=d(o),u=r*x(o),a=kn*e-Sn*r*i,c=Sn*e+kn*r*i;En.add(v(E(u*u+a*a),c)),bn=t,Sn=e,kn=r}function qn(t){return En=new r,T(t,Pn),+En}var Ln=[null,null],On={type:"LineString",coordinates:Ln};function Rn(t,n){return Ln[0]=t,Ln[1]=n,qn(On)}var Bn={Feature:function(t,n){return Xn(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,o=e.length;++r<o;)if(Xn(e[r].geometry,n))return!0;return!1}},Gn={Sphere:function(){return!0},Point:function(t,n){return Yn(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)if(Yn(e[r],n))return!0;return!1},LineString:function(t,n){return Dn(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)if(Dn(e[r],n))return!0;return!1},Polygon:function(t,n){return Fn(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)if(Fn(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,o=e.length;++r<o;)if(Xn(e[r],n))return!0;return!1}};function Xn(t,n){return!(!t||!Gn.hasOwnProperty(t.type))&&Gn[t.type](t,n)}function Yn(t,n){return 0===Rn(t,n)}function Dn(t,n){for(var e,r,o,u=0,a=t.length;u<a;u++){if(0===(r=Rn(t[u],n)))return!0;if(u>0&&(o=Rn(t[u],t[u-1]))>0&&e<=o&&r<=o&&(e+r-o)*(1-Math.pow((e-r)/o,2))<i*o)return!0;e=r}return!1}function Fn(t,n){return!!gn(t.map(In),Vn(n))}function In(t){return(t=t.map(Vn)).pop(),t}function Vn(t){return[t[0]*f,t[1]*f]}function Hn(t,n){return(t&&Bn.hasOwnProperty(t.type)?Bn[t.type]:Xn)(t,n)}function Un(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function Wn(t,n,e){var r=Un(t,n-o,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function Kn(t,n,e){var r=Un(t,n-o,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function $n(){var t,n,e,r,i,u,a,c,s,l,f,p,v=10,d=v,m=90,y=360,_=2.5;function w(){return{type:"MultiLineString",coordinates:x()}}function x(){return Un(g(r/m)*m,e,m).map(f).concat(Un(g(c/y)*y,a,y).map(p)).concat(Un(g(n/v)*v,t,v).filter((function(t){return h(t%m)>o})).map(s)).concat(Un(g(u/d)*d,i,d).filter((function(t){return h(t%y)>o})).map(l))}return w.lines=function(){return x().map((function(t){return{type:"LineString",coordinates:t}}))},w.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(p(a).slice(1),f(e).reverse().slice(1),p(c).reverse().slice(1))]}},w.extent=function(t){return arguments.length?w.extentMajor(t).extentMinor(t):w.extentMinor()},w.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],c=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),c>a&&(t=c,c=a,a=t),w.precision(_)):[[r,c],[e,a]]},w.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],u=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),u>i&&(e=u,u=i,i=e),w.precision(_)):[[n,u],[t,i]]},w.step=function(t){return arguments.length?w.stepMajor(t).stepMinor(t):w.stepMinor()},w.stepMajor=function(t){return arguments.length?(m=+t[0],y=+t[1],w):[m,y]},w.stepMinor=function(t){return arguments.length?(v=+t[0],d=+t[1],w):[v,d]},w.precision=function(o){return arguments.length?(_=+o,s=Wn(u,i,90),l=Kn(n,t,_),f=Wn(c,a,90),p=Kn(r,e,_),w):_},w.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Jn(){return $n()()}function Qn(t,n){var e=t[0]*f,r=t[1]*f,o=n[0]*f,i=n[1]*f,u=d(r),a=x(r),c=d(i),s=x(i),h=u*d(e),p=u*x(e),g=c*d(o),m=c*x(o),y=2*k(E(N(i-r)+u*c*N(o-e))),_=x(y),w=y?function(t){var n=x(t*=y)/_,e=x(y-t)/_,r=e*h+n*g,o=e*p+n*m,i=e*a+n*s;return[v(o,r)*l,v(i,E(r*r+o*o))*l]}:function(){return[e*l,r*l]};return w.distance=y,w}const te=t=>t;var ne,ee,re,oe,ie=new r,ue=new r,ae={point:A,lineStart:A,lineEnd:A,polygonStart:function(){ae.lineStart=ce,ae.lineEnd=fe},polygonEnd:function(){ae.lineStart=ae.lineEnd=ae.point=A,ie.add(h(ue)),ue=new r},result:function(){var t=ie/2;return ie=new r,t}};function ce(){ae.point=se}function se(t,n){ae.point=le,ne=re=t,ee=oe=n}function le(t,n){ue.add(oe*t-re*n),re=t,oe=n}function fe(){le(ne,ee)}const he=ae;var pe=1/0,ve=pe,de=-pe,ge=de,me={point:function(t,n){t<pe&&(pe=t),t>de&&(de=t),n<ve&&(ve=n),n>ge&&(ge=n)},lineStart:A,lineEnd:A,polygonStart:A,polygonEnd:A,result:function(){var t=[[pe,ve],[de,ge]];return de=ge=-(ve=pe=1/0),t}};const ye=me;var _e,we,xe,Me,Ee=0,be=0,Se=0,ke=0,Ne=0,Ae=0,Ze=0,ze=0,Pe=0,Ce={point:je,lineStart:Te,lineEnd:Oe,polygonStart:function(){Ce.lineStart=Re,Ce.lineEnd=Be},polygonEnd:function(){Ce.point=je,Ce.lineStart=Te,Ce.lineEnd=Oe},result:function(){var t=Pe?[Ze/Pe,ze/Pe]:Ae?[ke/Ae,Ne/Ae]:Se?[Ee/Se,be/Se]:[NaN,NaN];return Ee=be=Se=ke=Ne=Ae=Ze=ze=Pe=0,t}};function je(t,n){Ee+=t,be+=n,++Se}function Te(){Ce.point=qe}function qe(t,n){Ce.point=Le,je(xe=t,Me=n)}function Le(t,n){var e=t-xe,r=n-Me,o=E(e*e+r*r);ke+=o*(xe+t)/2,Ne+=o*(Me+n)/2,Ae+=o,je(xe=t,Me=n)}function Oe(){Ce.point=je}function Re(){Ce.point=Ge}function Be(){Xe(_e,we)}function Ge(t,n){Ce.point=Xe,je(_e=xe=t,we=Me=n)}function Xe(t,n){var e=t-xe,r=n-Me,o=E(e*e+r*r);ke+=o*(xe+t)/2,Ne+=o*(Me+n)/2,Ae+=o,Ze+=(o=Me*t-xe*n)*(xe+t),ze+=o*(Me+n),Pe+=3*o,je(xe=t,Me=n)}const Ye=Ce;function De(t){this._context=t}De.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,s)}},result:A};var Fe,Ie,Ve,He,Ue,We=new r,Ke={point:A,lineStart:function(){Ke.point=$e},lineEnd:function(){Fe&&Je(Ie,Ve),Ke.point=A},polygonStart:function(){Fe=!0},polygonEnd:function(){Fe=null},result:function(){var t=+We;return We=new r,t}};function $e(t,n){Ke.point=Je,Ie=He=t,Ve=Ue=n}function Je(t,n){He-=t,Ue-=n,We.add(E(He*He+Ue*Ue)),He=t,Ue=n}const Qe=Ke;function tr(){this._string=[]}function nr(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function er(t,n){var e,r,o=4.5;function i(t){return t&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),T(t,e(r))),r.result()}return i.area=function(t){return T(t,e(he)),he.result()},i.measure=function(t){return T(t,e(Qe)),Qe.result()},i.bounds=function(t){return T(t,e(ye)),ye.result()},i.centroid=function(t){return T(t,e(Ye)),Ye.result()},i.projection=function(n){return arguments.length?(e=null==n?(t=null,te):(t=n).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(n=null,new tr):new De(n=t),"function"!=typeof o&&r.pointRadius(o),i):n},i.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(n)}function rr(t){return{stream:or(t)}}function or(t){return function(n){var e=new ir;for(var r in t)e[r]=t[r];return e.stream=n,e}}function ir(){}function ur(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),T(e,t.stream(ye)),n(ye.result()),null!=r&&t.clipExtent(r),t}function ar(t,n,e){return ur(t,(function(e){var r=n[1][0]-n[0][0],o=n[1][1]-n[0][1],i=Math.min(r/(e[1][0]-e[0][0]),o/(e[1][1]-e[0][1])),u=+n[0][0]+(r-i*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(o-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([u,a])}),e)}function cr(t,n,e){return ar(t,[[0,0],n],e)}function sr(t,n,e){return ur(t,(function(e){var r=+n,o=r/(e[1][0]-e[0][0]),i=(r-o*(e[1][0]+e[0][0]))/2,u=-o*e[0][1];t.scale(150*o).translate([i,u])}),e)}function lr(t,n,e){return ur(t,(function(e){var r=+n,o=r/(e[1][1]-e[0][1]),i=-o*e[0][0],u=(r-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([i,u])}),e)}tr.prototype={_radius:4.5,_circle:nr(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=nr(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},ir.prototype={constructor:ir,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 fr=d(30*f);function hr(t,n){return+n?function(t,n){function e(r,i,u,a,c,s,l,f,p,d,g,m,y,_){var w=l-r,x=f-i,M=w*w+x*x;if(M>4*n&&y--){var b=a+d,S=c+g,N=s+m,A=E(b*b+S*S+N*N),Z=k(N/=A),z=h(h(N)-1)<o||h(u-p)<o?(u+p)/2:v(S,b),P=t(z,Z),C=P[0],j=P[1],T=C-r,q=j-i,L=x*T-w*q;(L*L/M>n||h((w*T+x*q)/M-.5)>.3||a*d+c*g+s*m<fr)&&(e(r,i,u,a,c,s,C,j,z,b/=A,S/=A,N,y,_),_.point(C,j),e(C,j,z,b,S,N,l,f,p,d,g,m,y,_))}}return function(n){var r,o,i,u,a,c,s,l,f,h,p,v,d={point:g,lineStart:m,lineEnd:_,polygonStart:function(){n.polygonStart(),d.lineStart=w},polygonEnd:function(){n.polygonEnd(),d.lineStart=m}};function g(e,r){e=t(e,r),n.point(e[0],e[1])}function m(){l=NaN,d.point=y,n.lineStart()}function y(r,o){var i=ut([r,o]),u=t(r,o);e(l,f,s,h,p,v,l=u[0],f=u[1],s=r,h=i[0],p=i[1],v=i[2],16,n),n.point(l,f)}function _(){d.point=g,n.lineEnd()}function w(){m(),d.point=x,d.lineEnd=M}function x(t,n){y(r=t,n),o=l,i=f,u=h,a=p,c=v,d.point=y}function M(){e(l,f,s,h,p,v,o,i,r,u,a,c,16,n),d.lineEnd=_,_()}return d}}(t,n):function(t){return or({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)}var pr=or({point:function(t,n){this.stream.point(t*f,n*f)}});function vr(t,n,e,r,o,i){if(!i)return function(t,n,e,r,o){function i(i,u){return[n+t*(i*=r),e-t*(u*=o)]}return i.invert=function(i,u){return[(i-n)/t*r,(e-u)/t*o]},i}(t,n,e,r,o);var u=d(i),a=x(i),c=u*t,s=a*t,l=u/t,f=a/t,h=(a*e-u*n)/t,p=(a*n+u*e)/t;function v(t,i){return[c*(t*=r)-s*(i*=o)+n,e-s*t-c*i]}return v.invert=function(t,n){return[r*(l*t-f*n+h),o*(p-f*t-l*n)]},v}function dr(t){return gr((function(){return t}))()}function gr(t){var n,e,r,o,i,u,a,c,s,h,p=150,v=480,d=250,g=0,m=0,y=0,_=0,w=0,x=0,M=1,b=1,S=null,k=xn,N=null,A=te,Z=.5;function z(t){return c(t[0]*f,t[1]*f)}function P(t){return(t=c.invert(t[0],t[1]))&&[t[0]*l,t[1]*l]}function C(){var t=vr(p,0,0,M,b,x).apply(null,n(g,m)),r=vr(p,v-t[0],d-t[1],M,b,x);return e=nn(y,_,w),a=Qt(n,r),c=Qt(e,a),u=hr(a,Z),j()}function j(){return s=h=null,z}return z.stream=function(t){return s&&h===t?s:s=pr(function(t){return or({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(e)(k(u(A(h=t)))))},z.preclip=function(t){return arguments.length?(k=t,S=void 0,j()):k},z.postclip=function(t){return arguments.length?(A=t,N=r=o=i=null,j()):A},z.clipAngle=function(t){return arguments.length?(k=+t?Mn(S=t*f):(S=null,xn),j()):S*l},z.clipExtent=function(t){return arguments.length?(A=null==t?(N=r=o=i=null,te):Zn(N=+t[0][0],r=+t[0][1],o=+t[1][0],i=+t[1][1]),j()):null==N?null:[[N,r],[o,i]]},z.scale=function(t){return arguments.length?(p=+t,C()):p},z.translate=function(t){return arguments.length?(v=+t[0],d=+t[1],C()):[v,d]},z.center=function(t){return arguments.length?(g=t[0]%360*f,m=t[1]%360*f,C()):[g*l,m*l]},z.rotate=function(t){return arguments.length?(y=t[0]%360*f,_=t[1]%360*f,w=t.length>2?t[2]%360*f:0,C()):[y*l,_*l,w*l]},z.angle=function(t){return arguments.length?(x=t%360*f,C()):x*l},z.reflectX=function(t){return arguments.length?(M=t?-1:1,C()):M<0},z.reflectY=function(t){return arguments.length?(b=t?-1:1,C()):b<0},z.precision=function(t){return arguments.length?(u=hr(a,Z=t*t),j()):E(Z)},z.fitExtent=function(t,n){return ar(z,t,n)},z.fitSize=function(t,n){return cr(z,t,n)},z.fitWidth=function(t,n){return sr(z,t,n)},z.fitHeight=function(t,n){return lr(z,t,n)},function(){return n=t.apply(this,arguments),z.invert=n.invert&&P,C()}}function mr(t){var n=0,e=u/3,r=gr(t),o=r(n,e);return o.parallels=function(t){return arguments.length?r(n=t[0]*f,e=t[1]*f):[n*l,e*l]},o}function yr(t,n){var e=x(t),r=(e+x(n))/2;if(h(r)<o)return function(t){var n=d(t);function e(t,e){return[t*n,x(e)/n]}return e.invert=function(t,e){return[t/n,k(e*n)]},e}(t);var i=1+e*(2*r-e),a=E(i)/r;function c(t,n){var e=E(i-2*r*x(n))/r;return[e*x(t*=r),a-e*d(t)]}return c.invert=function(t,n){var e=a-n,o=v(t,h(e))*M(e);return e*r<0&&(o-=u*M(t)*M(e)),[o/r,k((i-(t*t+e*e)*r*r)/(2*r))]},c}function _r(){return mr(yr).scale(155.424).center([0,33.6442])}function wr(){return _r().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function xr(){var t,n,e,r,i,u,a=wr(),c=_r().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=_r().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){u=[t,n]}};function f(t){var n=t[0],o=t[1];return u=null,e.point(n,o),u||(r.point(n,o),u)||(i.point(n,o),u)}function h(){return t=n=null,f}return f.invert=function(t){var n=a.scale(),e=a.translate(),r=(t[0]-e[0])/n,o=(t[1]-e[1])/n;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?c:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:a).invert(t)},f.stream=function(e){return t&&n===e?t:(r=[a.stream(n=e),c.stream(e),s.stream(e)],o=r.length,t={point:function(t,n){for(var e=-1;++e<o;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<o;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<o;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<o;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<o;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<o;)r[t].polygonEnd()}});var r,o},f.precision=function(t){return arguments.length?(a.precision(t),c.precision(t),s.precision(t),h()):a.precision()},f.scale=function(t){return arguments.length?(a.scale(t),c.scale(.35*t),s.scale(t),f.translate(a.translate())):a.scale()},f.translate=function(t){if(!arguments.length)return a.translate();var n=a.scale(),u=+t[0],f=+t[1];return e=a.translate(t).clipExtent([[u-.455*n,f-.238*n],[u+.455*n,f+.238*n]]).stream(l),r=c.translate([u-.307*n,f+.201*n]).clipExtent([[u-.425*n+o,f+.12*n+o],[u-.214*n-o,f+.234*n-o]]).stream(l),i=s.translate([u-.205*n,f+.212*n]).clipExtent([[u-.214*n+o,f+.166*n+o],[u-.115*n-o,f+.234*n-o]]).stream(l),h()},f.fitExtent=function(t,n){return ar(f,t,n)},f.fitSize=function(t,n){return cr(f,t,n)},f.fitWidth=function(t,n){return sr(f,t,n)},f.fitHeight=function(t,n){return lr(f,t,n)},f.scale(1070)}function Mr(t){return function(n,e){var r=d(n),o=d(e),i=t(r*o);return i===1/0?[2,0]:[i*o*x(n),i*x(e)]}}function Er(t){return function(n,e){var r=E(n*n+e*e),o=t(r),i=x(o),u=d(o);return[v(n*i,r*u),k(r&&e*i/r)]}}var br=Mr((function(t){return E(2/(1+t))}));function Sr(){return dr(br).scale(124.75).clipAngle(179.999)}br.invert=Er((function(t){return 2*k(t/2)}));var kr=Mr((function(t){return(t=S(t))&&t/x(t)}));function Nr(){return dr(kr).scale(79.4188).clipAngle(179.999)}function Ar(t,n){return[t,_(b((a+n)/2))]}function Zr(){return zr(Ar).scale(961/s)}function zr(t){var n,e,r,o=dr(t),i=o.center,a=o.scale,c=o.translate,s=o.clipExtent,l=null;function f(){var i=u*a(),c=o(un(o.rotate()).invert([0,0]));return s(null==l?[[c[0]-i,c[1]-i],[c[0]+i,c[1]+i]]:t===Ar?[[Math.max(c[0]-i,l),n],[Math.min(c[0]+i,e),r]]:[[l,Math.max(c[1]-i,n)],[e,Math.min(c[1]+i,r)]])}return o.scale=function(t){return arguments.length?(a(t),f()):a()},o.translate=function(t){return arguments.length?(c(t),f()):c()},o.center=function(t){return arguments.length?(i(t),f()):i()},o.clipExtent=function(t){return arguments.length?(null==t?l=n=e=r=null:(l=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),f()):null==l?null:[[l,n],[e,r]]},f()}function Pr(t){return b((a+t)/2)}function Cr(t,n){var e=d(t),r=t===n?x(t):_(e/d(n))/_(Pr(n)/Pr(t)),i=e*w(Pr(t),r)/r;if(!r)return Ar;function c(t,n){i>0?n<-a+o&&(n=-a+o):n>a-o&&(n=a-o);var e=i/w(Pr(n),r);return[e*x(r*t),i-e*d(r*t)]}return c.invert=function(t,n){var e=i-n,o=M(r)*E(t*t+e*e),c=v(t,h(e))*M(e);return e*r<0&&(c-=u*M(t)*M(e)),[c/r,2*p(w(i/o,1/r))-a]},c}function jr(){return mr(Cr).scale(109.5).parallels([30,30])}function Tr(t,n){return[t,n]}function qr(){return dr(Tr).scale(152.63)}function Lr(t,n){var e=d(t),r=t===n?x(t):(e-d(n))/(n-t),i=e/r+t;if(h(r)<o)return Tr;function a(t,n){var e=i-n,o=r*t;return[e*x(o),i-e*d(o)]}return a.invert=function(t,n){var e=i-n,o=v(t,h(e))*M(e);return e*r<0&&(o-=u*M(t)*M(e)),[o/r,i-M(r)*E(t*t+e*e)]},a}function Or(){return mr(Lr).scale(131.154).center([0,13.9389])}kr.invert=Er((function(t){return t})),Ar.invert=function(t,n){return[t,2*p(m(n))-a]},Tr.invert=Tr;var Rr=1.340264,Br=-.081106,Gr=893e-6,Xr=.003796,Yr=E(3)/2;function Dr(t,n){var e=k(Yr*x(n)),r=e*e,o=r*r*r;return[t*d(e)/(Yr*(Rr+3*Br*r+o*(7*Gr+9*Xr*r))),e*(Rr+Br*r+o*(Gr+Xr*r))]}function Fr(){return dr(Dr).scale(177.158)}function Ir(t,n){var e=d(n),r=d(t)*e;return[e*x(t)/r,x(n)/r]}function Vr(){return dr(Ir).scale(144.049).clipAngle(60)}function Hr(){var t,n,e,r,o,i,u,a=1,c=0,s=0,h=1,p=1,v=0,g=null,m=1,y=1,_=or({point:function(t,n){var e=E([t,n]);this.stream.point(e[0],e[1])}}),w=te;function M(){return m=a*h,y=a*p,i=u=null,E}function E(e){var r=e[0]*m,o=e[1]*y;if(v){var i=o*t-r*n;r=r*t+o*n,o=i}return[r+c,o+s]}return E.invert=function(e){var r=e[0]-c,o=e[1]-s;if(v){var i=o*t+r*n;r=r*t-o*n,o=i}return[r/m,o/y]},E.stream=function(t){return i&&u===t?i:i=_(w(u=t))},E.postclip=function(t){return arguments.length?(w=t,g=e=r=o=null,M()):w},E.clipExtent=function(t){return arguments.length?(w=null==t?(g=e=r=o=null,te):Zn(g=+t[0][0],e=+t[0][1],r=+t[1][0],o=+t[1][1]),M()):null==g?null:[[g,e],[r,o]]},E.scale=function(t){return arguments.length?(a=+t,M()):a},E.translate=function(t){return arguments.length?(c=+t[0],s=+t[1],M()):[c,s]},E.angle=function(e){return arguments.length?(n=x(v=e%360*f),t=d(v),M()):v*l},E.reflectX=function(t){return arguments.length?(h=t?-1:1,M()):h<0},E.reflectY=function(t){return arguments.length?(p=t?-1:1,M()):p<0},E.fitExtent=function(t,n){return ar(E,t,n)},E.fitSize=function(t,n){return cr(E,t,n)},E.fitWidth=function(t,n){return sr(E,t,n)},E.fitHeight=function(t,n){return lr(E,t,n)},E}function Ur(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 Wr(){return dr(Ur).scale(175.295)}function Kr(t,n){return[d(n)*x(t),x(n)]}function $r(){return dr(Kr).scale(249.5).clipAngle(90.000001)}function Jr(t,n){var e=d(n),r=1+d(t)*e;return[e*x(t)/r,x(n)/r]}function Qr(){return dr(Jr).scale(250).clipAngle(142)}function to(t,n){return[_(b((a+n)/2)),-t]}function no(){var t=zr(to),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)}Dr.invert=function(t,n){for(var e,r=n,o=r*r,u=o*o*o,a=0;a<12&&(u=(o=(r-=e=(r*(Rr+Br*o+u*(Gr+Xr*o))-n)/(Rr+3*Br*o+u*(7*Gr+9*Xr*o)))*r)*o*o,!(h(e)<i));++a);return[Yr*t*(Rr+3*Br*o+u*(7*Gr+9*Xr*o))/d(r),k(x(r)/Yr)]},Ir.invert=Er(p),Ur.invert=function(t,n){var e,r=n,i=25;do{var u=r*r,a=u*u;r-=e=(r*(1.007226+u*(.015085+a*(.028874*u-.044475-.005916*a)))-n)/(1.007226+u*(.045255+a*(.259866*u-.311325-.005916*11*a)))}while(h(e)>o&&--i>0);return[t/(.8707+(u=r*r)*(u*(u*u*u*(.003971-.001529*u)-.013791)-.131979)),r]},Kr.invert=Er(k),Jr.invert=Er((function(t){return 2*p(t)})),to.invert=function(t,n){return[-n,2*p(m(t))-a]}},84123:(t,n,e)=>{"use strict";function r(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 o(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=u)):void 0===n&&(n=i);for(var e,r,o,a,l,f=new s(t),h=[f];e=h.pop();)if((o=n(e.data))&&(l=(o=Array.from(o)).length))for(e.children=o,a=l-1;a>=0;--a)h.push(r=o[a]=new s(o[a])),r.parent=e,r.depth=e.depth+1;return f.eachBefore(c)}function i(t){return t.children}function u(t){return Array.isArray(t)?t[1]:null}function a(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function c(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function s(t){this.data=t,this.depth=this.height=0,this.parent=null}e.d(n,{ZP:()=>o}),s.prototype=o.prototype={constructor:s,count:function(){return this.eachAfter(r)},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,o,i=this,u=[i],a=[],c=-1;i=u.pop();)if(a.push(i),e=i.children)for(r=0,o=e.length;r<o;++r)u.push(e[r]);for(;i=a.pop();)t.call(n,i,++c,this);return this},eachBefore:function(t,n){for(var e,r,o=this,i=[o],u=-1;o=i.pop();)if(t.call(n,o,++u,this),e=o.children)for(r=e.length-1;r>=0;--r)i.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,o=r&&r.length;--o>=0;)e+=r[o].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(),o=null;for(t=e.pop(),n=r.pop();t===n;)o=t,t=e.pop(),n=r.pop();return o}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var o=r.length;t!==e;)r.splice(o,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 o(this).eachBefore(a)},[Symbol.iterator]:function*(){var t,n,e,r,o=this,i=[o];do{for(t=i.reverse(),i=[];o=t.pop();)if(yield o,n=o.children)for(e=0,r=n.length;e<r;++e)i.push(n[e])}while(i.length)}}},62097:(t,n,e)=>{"use strict";function r(t,n){var e,r;if(u(n,t))return[n];for(e=0;e<t.length;++e)if(o(n,t[e])&&u(c(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(o(c(t[e],t[r]),n)&&o(c(t[e],n),t[r])&&o(c(t[r],n),t[e])&&u(s(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function o(t,n){var e=t.r-n.r,r=n.x-t.x,o=n.y-t.y;return e<0||e*e<r*r+o*o}function i(t,n){var e=t.r-n.r+1e-9*Math.max(t.r,n.r,1),r=n.x-t.x,o=n.y-t.y;return e>0&&e*e>r*r+o*o}function u(t,n){for(var e=0;e<n.length;++e)if(!i(t,n[e]))return!1;return!0}function a(t){switch(t.length){case 1:return{x:(n=t[0]).x,y:n.y,r:n.r};case 2:return c(t[0],t[1]);case 3:return s(t[0],t[1],t[2])}var n}function c(t,n){var e=t.x,r=t.y,o=t.r,i=n.x,u=n.y,a=n.r,c=i-e,s=u-r,l=a-o,f=Math.sqrt(c*c+s*s);return{x:(e+i+c/f*l)/2,y:(r+u+s/f*l)/2,r:(f+o+a)/2}}function s(t,n,e){var r=t.x,o=t.y,i=t.r,u=n.x,a=n.y,c=n.r,s=e.x,l=e.y,f=e.r,h=r-u,p=r-s,v=o-a,d=o-l,g=c-i,m=f-i,y=r*r+o*o-i*i,_=y-u*u-a*a+c*c,w=y-s*s-l*l+f*f,x=p*v-h*d,M=(v*w-d*_)/(2*x)-r,E=(d*g-v*m)/x,b=(p*_-h*w)/(2*x)-o,S=(h*m-p*g)/x,k=E*E+S*S-1,N=2*(i+M*E+b*S),A=M*M+b*b-i*i,Z=-(k?(N+Math.sqrt(N*N-4*k*A))/(2*k):A/N);return{x:r+M+E*Z,y:o+b+S*Z,r:Z}}function l(t,n,e){var r,o,i,u,a=t.x-n.x,c=t.y-n.y,s=a*a+c*c;s?(o=n.r+e.r,o*=o,u=t.r+e.r,o>(u*=u)?(r=(s+u-o)/(2*s),i=Math.sqrt(Math.max(0,u/s-r*r)),e.x=t.x-r*a-i*c,e.y=t.y-r*c+i*a):(r=(s+o-u)/(2*s),i=Math.sqrt(Math.max(0,o/s-r*r)),e.x=n.x+r*a-i*c,e.y=n.y+r*c+i*a)):(e.x=n.x+e.r,e.y=n.y)}function f(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,o=n.y-t.y;return e>0&&e*e>r*r+o*o}function h(t){var n=t._,e=t.next._,r=n.r+e.r,o=(n.x*e.r+e.x*n.r)/r,i=(n.y*e.r+e.y*n.r)/r;return o*o+i*i}function p(t){this._=t,this.next=null,this.previous=null}function v(t){if(!(c=(n=t,t="object"==typeof n&&"length"in n?n:Array.from(n)).length))return 0;var n,e,o,u,c,s,v,d,g,m,y,_;if((e=t[0]).x=0,e.y=0,!(c>1))return e.r;if(o=t[1],e.x=-o.r,o.x=e.r,o.y=0,!(c>2))return e.r+o.r;l(o,e,u=t[2]),e=new p(e),o=new p(o),u=new p(u),e.next=u.previous=o,o.next=e.previous=u,u.next=o.previous=e;t:for(d=3;d<c;++d){l(e._,o._,u=t[d]),u=new p(u),g=o.next,m=e.previous,y=o._.r,_=e._.r;do{if(y<=_){if(f(g._,u._)){o=g,e.next=o,o.previous=e,--d;continue t}y+=g._.r,g=g.next}else{if(f(m._,u._)){(e=m).next=o,o.previous=e,--d;continue t}_+=m._.r,m=m.previous}}while(g!==m.next);for(u.previous=e,u.next=o,e.next=o.previous=o=u,s=h(e);(u=u.next)!==o;)(v=h(u))<s&&(e=u,s=v);o=e.next}for(e=[o._],u=o;(u=u.next)!==o;)e.push(u._);for(u=function(t){for(var n,e,o=0,u=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(Array.from(t))).length,c=[];o<u;)n=t[o],e&&i(e,n)?++o:(e=a(c=r(c,n)),o=0);return e}(e),d=0;d<c;++d)(e=t[d]).x-=u.x,e.y-=u.y;return u.r}function d(t){return null==t?null:function(t){if("function"!=typeof t)throw new Error;return t}(t)}function g(){return 0}function m(t){return function(){return t}}function y(t){return Math.sqrt(t.value)}function _(){var t=null,n=1,e=1,r=g;function o(o){return o.x=n/2,o.y=e/2,t?o.eachBefore(w(t)).eachAfter(x(r,.5)).eachBefore(M(1)):o.eachBefore(w(y)).eachAfter(x(g,1)).eachAfter(x(r,o.r/Math.min(n,e))).eachBefore(M(Math.min(n,e)/(2*o.r))),o}return o.radius=function(n){return arguments.length?(t=d(n),o):t},o.size=function(t){return arguments.length?(n=+t[0],e=+t[1],o):[n,e]},o.padding=function(t){return arguments.length?(r="function"==typeof t?t:m(+t),o):r},o}function w(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function x(t,n){return function(e){if(r=e.children){var r,o,i,u=r.length,a=t(e)*n||0;if(a)for(o=0;o<u;++o)r[o].r+=a;if(i=v(r),a)for(o=0;o<u;++o)r[o].r-=a;e.r=i+a}}}function M(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)}}e.d(n,{Z:()=>_})},89987:(t,n,e)=>{"use strict";function r(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function o(t){let n=t,e=t;function o(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){const i=r+o>>>1;e(t[i],n)<0?r=i+1:o=i}return r}return 1===t.length&&(n=(n,e)=>t(n)-e,e=function(t){return(n,e)=>r(t(n),e)}(t)),{left:o,center:function(t,e,r,i){null==r&&(r=0),null==i&&(i=t.length);const u=o(t,e,r,i-1);return u>r&&n(t[u-1],e)>-n(t[u],e)?u-1:u},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){const i=r+o>>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}e.d(n,{Z:()=>A});const i=o(r),u=i.right,a=(i.left,o((function(t){return null===t?NaN:+t})).center,u);var c=Math.sqrt(50),s=Math.sqrt(10),l=Math.sqrt(2);function f(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=c?10:i>=s?5:i>=l?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=c?10:i>=s?5:i>=l?2:1)}var h,p=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function v(t){if(!(n=p.exec(t)))throw new Error("invalid format: "+t);var n;return new d({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 d(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function g(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)]}function m(t){return(t=g(Math.abs(t)))?t[1]:NaN}function y(t,n){var e=g(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}v.prototype=d.prototype,d.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};const _={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,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)=>y(100*t,n),r:y,s:function(t,n){var e=g(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(h=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=r.length;return i===u?r:i>u?r+new Array(i-u+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+g(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function w(t){return t}var x,M,E,b=Array.prototype.map,S=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function k(t){var n=t.domain;return t.ticks=function(t){var e=n();return function(t,n,e){var r,o,i,u,a=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(u=f(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,i=new Array(o=r-e+1);++a<o;)i[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,i=new Array(o=r-e+1);++a<o;)i[a]=(e+a)/u}return r&&i.reverse(),i}(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return function(t,n,e,r){var o,i=function(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=c?o*=10:i>=s?o*=5:i>=l&&(o*=2),n<t?-o:o}(t,n,e);switch((r=v(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(m(n)/3)))-m(Math.abs(t)))}(i,u))||(r.precision=o),E(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,m(n)-m(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-m(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return M(r)}(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),u=0,a=i.length-1,c=i[u],s=i[a],l=10;for(s<c&&(o=c,c=s,s=o,o=u,u=a,a=o);l-- >0;){if((o=f(c,s,e))===r)return i[u]=c,i[a]=s,n(i);if(o>0)c=Math.floor(c/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,s=Math.floor(s*o)/o}r=o}return t},t}function N(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function A(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function u(n){return null!=n&&n<=n?i[a(o,n,0,r)]:t}function c(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*e-(t-r)*n)/(r+1);return u}return u.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,c()):[n,e]},u.range=function(t){return arguments.length?(r=(i=Array.from(t)).length-1,c()):i.slice()},u.invertExtent=function(t){var u=i.indexOf(t);return u<0?[NaN,NaN]:u<1?[n,o[0]]:u>=r?[o[r-1],e]:[o[u-1],o[u]]},u.unknown=function(n){return arguments.length?(t=n,u):u},u.thresholds=function(){return o.slice()},u.copy=function(){return A().domain([n,e]).range(i).unknown(t)},N.apply(k(u),arguments)}x=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?w:(n=b.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],u=0,a=n[0],c=0;o>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),i.push(t.substring(o-=a,o+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?w:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(b.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=v(t)).fill,e=t.align,f=t.sign,p=t.symbol,d=t.zero,g=t.width,m=t.comma,y=t.precision,w=t.trim,x=t.type;"n"===x?(m=!0,x="g"):_[x]||(void 0===y&&(y=12),w=!0,x="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var M="$"===p?o:"#"===p&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",E="$"===p?i:/[%p]/.test(x)?c:"",b=_[x],k=/[defgprs%]/.test(x);function N(t){var o,i,c,p=M,v=E;if("c"===x)v=b(t)+v,t="";else{var _=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:b(Math.abs(t),y),w&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),_&&0==+t&&"+"!==f&&(_=!1),p=(_?"("===f?f:s:"-"===f||"("===f?"":f)+p,v=("s"===x?S[8+h/3]:"")+v+(_&&"("===f?")":""),k)for(o=-1,i=t.length;++o<i;)if(48>(c=t.charCodeAt(o))||c>57){v=(46===c?u+t.slice(o+1):t.slice(o))+v,t=t.slice(0,o);break}}m&&!d&&(t=r(t,1/0));var N=p.length+t.length+v.length,A=N<g?new Array(g-N+1).join(n):"";switch(m&&d&&(t=r(A+t,A.length?g-v.length:1/0),A=""),e){case"<":t=p+t+v+A;break;case"=":t=p+A+t+v;break;case"^":t=A.slice(0,N=A.length>>1)+p+t+v+A.slice(N);break;default:t=A+p+t+v}return a(t)}return y=void 0===y?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),N.toString=function(){return t+""},N}return{format:f,formatPrefix:function(t,n){var e=f(((t=v(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(m(n)/3))),o=Math.pow(10,-r),i=S[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),M=x.format,E=x.formatPrefix},8044:(t,n,e)=>{"use strict";function r(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}e.d(n,{Z:()=>r})},15515:(t,n,e)=>{"use strict";e.d(n,{Z:()=>a});var r=e(69998),o=e(70378);function i(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===o.P&&n.documentElement.namespaceURI===o.P?n.createElement(t):n.createElementNS(e,t)}}function u(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function a(t){var n=(0,r.Z)(t);return(n.local?u:i)(n)}},11539:(t,n,e)=>{"use strict";e.r(n),e.d(n,{create:()=>i,creator:()=>r.Z,local:()=>a,matcher:()=>s.Z,namespace:()=>l.Z,namespaces:()=>f.Z,pointer:()=>h.Z,pointers:()=>v,select:()=>o.Z,selectAll:()=>m,selection:()=>g.ZP,selector:()=>y.Z,selectorAll:()=>_.Z,style:()=>w.S,window:()=>x.Z});var r=e(15515),o=e(23475);function i(t){return(0,o.Z)((0,r.Z)(t).call(document.documentElement))}var u=0;function a(){return new c}function c(){this._="@"+(++u).toString(36)}c.prototype=a.prototype={constructor:c,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._}};var s=e(73151),l=e(69998),f=e(70378),h=e(65238),p=e(45778);function v(t,n){return t.target&&(t=(0,p.Z)(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>(0,h.Z)(t,n)))}var d=e(8044),g=e(89385);function m(t){return"string"==typeof t?new g.Y1([document.querySelectorAll(t)],[document.documentElement]):new g.Y1([null==t?[]:(0,d.Z)(t)],g.Jz)}var y=e(61566),_=e(87393),w=e(34675),x=e(42044)},73151:(t,n,e)=>{"use strict";function r(t){return function(){return this.matches(t)}}function o(t){return function(n){return n.matches(t)}}e.d(n,{Z:()=>r,P:()=>o})},69998:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(70378);function o(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}},70378:(t,n,e)=>{"use strict";e.d(n,{P:()=>r,Z:()=>o});var r="http://www.w3.org/1999/xhtml";const o={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/"}},65238:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(45778);function o(t,n){if(t=(0,r.Z)(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var o=e.createSVGPoint();return o.x=t.clientX,o.y=t.clientY,[(o=o.matrixTransform(n.getScreenCTM().inverse())).x,o.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]}},23475:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(89385);function o(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},89385:(t,n,e)=>{"use strict";e.d(n,{Y1:()=>ot,ZP:()=>ut,Jz:()=>rt});var r=e(61566),o=e(8044),i=e(87393),u=e(73151),a=Array.prototype.find;function c(){return this.firstElementChild}var s=Array.prototype.filter;function l(){return this.children}function f(t){return new 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 p(t){return function(){return t}}function v(t,n,e,r,o,i){for(var u,a=0,c=n.length,s=i.length;a<s;++a)(u=n[a])?(u.__data__=i[a],r[a]=u):e[a]=new h(t,i[a]);for(;a<c;++a)(u=n[a])&&(o[a]=u)}function d(t,n,e,r,o,i,u){var a,c,s,l=new Map,f=n.length,p=i.length,v=new Array(f);for(a=0;a<f;++a)(c=n[a])&&(v[a]=s=u.call(c,c.__data__,a,n)+"",l.has(s)?o[a]=c:l.set(s,c));for(a=0;a<p;++a)s=u.call(t,i[a],a,i)+"",(c=l.get(s))?(r[a]=c,c.__data__=i[a],l.delete(s)):e[a]=new h(t,i[a]);for(a=0;a<f;++a)(c=n[a])&&l.get(v[a])===c&&(o[a]=c)}function g(t){return t.__data__}function m(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 y=e(69998);function _(t){return function(){this.removeAttribute(t)}}function w(t){return function(){this.removeAttributeNS(t.space,t.local)}}function x(t,n){return function(){this.setAttribute(t,n)}}function M(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function E(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function b(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)}}var S=e(34675);function k(t){return function(){delete this[t]}}function N(t,n){return function(){this[t]=n}}function A(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Z(t){return t.trim().split(/^|\s+/)}function z(t){return t.classList||new P(t)}function P(t){this._node=t,this._names=Z(t.getAttribute("class")||"")}function C(t,n){for(var e=z(t),r=-1,o=n.length;++r<o;)e.add(n[r])}function j(t,n){for(var e=z(t),r=-1,o=n.length;++r<o;)e.remove(n[r])}function T(t){return function(){C(this,t)}}function q(t){return function(){j(this,t)}}function L(t,n){return function(){(n.apply(this,arguments)?C:j)(this,t)}}function O(){this.textContent=""}function R(t){return function(){this.textContent=t}}function B(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function G(){this.innerHTML=""}function X(t){return function(){this.innerHTML=t}}function Y(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function D(){this.nextSibling&&this.parentNode.appendChild(this)}function F(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}P.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 I=e(15515);function V(){return null}function H(){var t=this.parentNode;t&&t.removeChild(this)}function U(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function W(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function K(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}}))}function $(t){return function(){var n=this.__on;if(n){for(var e,r=0,o=-1,i=n.length;r<i;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++o]=e:this.removeEventListener(e.type,e.listener,e.options);++o?n.length=o:delete this.__on}}}function J(t,n,e){return function(){var r,o=this.__on,i=function(t){return function(n){t.call(this,n,this.__data__)}}(n);if(o)for(var u=0,a=o.length;u<a;++u)if((r=o[u]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=e),void(r.value=n);this.addEventListener(t.type,i,e),r={type:t.type,name:t.name,value:n,listener:i,options:e},o?o.push(r):this.__on=[r]}}var Q=e(42044);function tt(t,n,e){var r=(0,Q.Z)(t),o=r.CustomEvent;"function"==typeof o?o=new o(n,e):(o=r.document.createEvent("Event"),e?(o.initEvent(n,e.bubbles,e.cancelable),o.detail=e.detail):o.initEvent(n,!1,!1)),t.dispatchEvent(o)}function nt(t,n){return function(){return tt(this,t,n)}}function et(t,n){return function(){return tt(this,t,n.apply(this,arguments))}}var rt=[null];function ot(t,n){this._groups=t,this._parents=n}function it(){return new ot([[document.documentElement]],rt)}ot.prototype=it.prototype={constructor:ot,select:function(t){"function"!=typeof t&&(t=(0,r.Z)(t));for(var n=this._groups,e=n.length,o=new Array(e),i=0;i<e;++i)for(var u,a,c=n[i],s=c.length,l=o[i]=new Array(s),f=0;f<s;++f)(u=c[f])&&(a=t.call(u,u.__data__,f,c))&&("__data__"in u&&(a.__data__=u.__data__),l[f]=a);return new ot(o,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);return null==n?[]:(0,o.Z)(n)}}(t):(0,i.Z)(t);for(var n=this._groups,e=n.length,r=[],u=[],a=0;a<e;++a)for(var c,s=n[a],l=s.length,f=0;f<l;++f)(c=s[f])&&(r.push(t.call(c,c.__data__,f,s)),u.push(c));return new ot(r,u)},selectChild:function(t){return this.select(null==t?c:function(t){return function(){return a.call(this.children,t)}}("function"==typeof t?t:(0,u.P)(t)))},selectChildren:function(t){return this.selectAll(null==t?l:function(t){return function(){return s.call(this.children,t)}}("function"==typeof t?t:(0,u.P)(t)))},filter:function(t){"function"!=typeof t&&(t=(0,u.Z)(t));for(var n=this._groups,e=n.length,r=new Array(e),o=0;o<e;++o)for(var i,a=n[o],c=a.length,s=r[o]=[],l=0;l<c;++l)(i=a[l])&&t.call(i,i.__data__,l,a)&&s.push(i);return new ot(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,g);var e=n?d:v,r=this._parents,i=this._groups;"function"!=typeof t&&(t=p(t));for(var u=i.length,a=new Array(u),c=new Array(u),s=new Array(u),l=0;l<u;++l){var f=r[l],h=i[l],m=h.length,y=(0,o.Z)(t.call(f,f&&f.__data__,l,r)),_=y.length,w=c[l]=new Array(_),x=a[l]=new Array(_),M=s[l]=new Array(m);e(f,h,w,x,M,y,n);for(var E,b,S=0,k=0;S<_;++S)if(E=w[S]){for(S>=k&&(k=S+1);!(b=x[k])&&++k<_;);E._next=b||null}}return(a=new ot(a,r))._enter=c,a._exit=s,a},enter:function(){return new ot(this._enter||this._groups.map(f),this._parents)},exit:function(){return new ot(this._exit||this._groups.map(f),this._parents)},join:function(t,n,e){var r=this.enter(),o=this,i=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(o=n(o)),null==e?i.remove():e(i),r&&o?r.merge(o).order():o},merge:function(t){if(!(t instanceof ot))throw new Error("invalid merge");for(var n=this._groups,e=t._groups,r=n.length,o=e.length,i=Math.min(r,o),u=new Array(r),a=0;a<i;++a)for(var c,s=n[a],l=e[a],f=s.length,h=u[a]=new Array(f),p=0;p<f;++p)(c=s[p]||l[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new ot(u,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,o=t[n],i=o.length-1,u=o[i];--i>=0;)(r=o[i])&&(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=m);for(var e=this._groups,r=e.length,o=new Array(r),i=0;i<r;++i){for(var u,a=e[i],c=a.length,s=o[i]=new Array(c),l=0;l<c;++l)(u=a[l])&&(s[l]=u);s.sort(n)}return new ot(o,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],o=0,i=r.length;o<i;++o){var u=r[o];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 o,i=n[e],u=0,a=i.length;u<a;++u)(o=i[u])&&t.call(o,o.__data__,u,i);return this},attr:function(t,n){var e=(0,y.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?w:_:"function"==typeof n?e.local?b:E:e.local?M:x)(e,n))},style:S.Z,property:function(t,n){return arguments.length>1?this.each((null==n?k:"function"==typeof n?A:N)(t,n)):this.node()[t]},classed:function(t,n){var e=Z(t+"");if(arguments.length<2){for(var r=z(this.node()),o=-1,i=e.length;++o<i;)if(!r.contains(e[o]))return!1;return!0}return this.each(("function"==typeof n?L:n?T:q)(e,n))},text:function(t){return arguments.length?this.each(null==t?O:("function"==typeof t?B:R)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?G:("function"==typeof t?Y:X)(t)):this.node().innerHTML},raise:function(){return this.each(D)},lower:function(){return this.each(F)},append:function(t){var n="function"==typeof t?t:(0,I.Z)(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"==typeof t?t:(0,I.Z)(t),o=null==n?V:"function"==typeof n?n:(0,r.Z)(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),o.apply(this,arguments)||null)}))},remove:function(){return this.each(H)},clone:function(t){return this.select(t?W:U)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,o,i=K(t+""),u=i.length;if(!(arguments.length<2)){for(a=n?J:$,r=0;r<u;++r)this.each(a(i[r],n,e));return this}var a=this.node().__on;if(a)for(var c,s=0,l=a.length;s<l;++s)for(r=0,c=a[s];r<u;++r)if((o=i[r]).type===c.type&&o.name===c.name)return c.value},dispatch:function(t,n){return this.each(("function"==typeof n?et:nt)(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,o=t[n],i=0,u=o.length;i<u;++i)(r=o[i])&&(yield r)}};const ut=it},34675:(t,n,e)=>{"use strict";e.d(n,{Z:()=>a,S:()=>c});var r=e(42044);function o(t){return function(){this.style.removeProperty(t)}}function i(t,n,e){return function(){this.style.setProperty(t,n,e)}}function u(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function a(t,n,e){return arguments.length>1?this.each((null==n?o:"function"==typeof n?u:i)(t,n,null==e?"":e)):c(this.node(),t)}function c(t,n){return t.style.getPropertyValue(n)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(n)}},61566:(t,n,e)=>{"use strict";function r(){}function o(t){return null==t?r:function(){return this.querySelector(t)}}e.d(n,{Z:()=>o})},87393:(t,n,e)=>{"use strict";function r(){return[]}function o(t){return null==t?r:function(){return this.querySelectorAll(t)}}e.d(n,{Z:()=>o})},45778:(t,n,e)=>{"use strict";function r(t){let n;for(;n=t.sourceEvent;)t=n;return t}e.d(n,{Z:()=>r})},42044:(t,n,e)=>{"use strict";function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}e.d(n,{Z:()=>r})},89627:(t,n,e)=>{"use strict";e.r(n),e.d(n,{zoom:()=>Ut,zoomIdentity:()=>Rt,zoomTransform:()=>Bt});var r=e(65264),o=e(23475);function i(t){t.preventDefault(),t.stopImmediatePropagation()}function u(t){var n=t.document.documentElement,e=(0,o.Z)(t).on("dragstart.drag",i,!0);"onselectstart"in n?e.on("selectstart.drag",i,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}function a(t,n){var e=t.document.documentElement,r=(0,o.Z)(t).on("dragstart.drag",null);n&&(r.on("click.drag",i,!0),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 c=Math.SQRT2;function s(t){return((t=Math.exp(t))+1/t)/2}function l(t,n){var e,r,o=t[0],i=t[1],u=t[2],a=n[0],l=n[1],f=n[2],h=a-o,p=l-i,v=h*h+p*p;if(v<1e-12)r=Math.log(f/u)/c,e=function(t){return[o+t*h,i+t*p,u*Math.exp(c*t*r)]};else{var d=Math.sqrt(v),g=(f*f-u*u+4*v)/(2*u*2*d),m=(f*f-u*u-4*v)/(2*f*2*d),y=Math.log(Math.sqrt(g*g+1)-g),_=Math.log(Math.sqrt(m*m+1)-m);r=(_-y)/c,e=function(t){var n,e=t*r,a=s(y),l=u/(2*d)*(a*(n=c*e+y,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[o+l*h,i+l*p,u*a/s(c*e+y)]}}return e.duration=1e3*r,e}var f,h,p=e(65238),v=e(89385),d=0,g=0,m=0,y=0,_=0,w=0,x="object"==typeof performance&&performance.now?performance:Date,M="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function E(){return _||(M(b),_=x.now()+w)}function b(){_=0}function S(){this._call=this._time=this._next=null}function k(t,n,e){var r=new S;return r.restart(t,n,e),r}function N(){_=(y=x.now())+w,d=g=0;try{!function(){E(),++d;for(var t,n=f;n;)(t=_-n._time)>=0&&n._call.call(null,t),n=n._next;--d}()}finally{d=0,function(){for(var t,n,e=f,r=1/0;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:f=n);h=t,Z(r)}(),_=0}}function A(){var t=x.now(),n=t-y;n>1e3&&(w-=n,y=t)}function Z(t){d||(g&&(g=clearTimeout(g)),t-_>24?(t<1/0&&(g=setTimeout(N,t-x.now()-w)),m&&(m=clearInterval(m))):(m||(y=x.now(),m=setInterval(A,1e3)),d=1,M(N)))}function z(t,n,e){var r=new S;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}S.prototype=k.prototype={constructor:S,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?E():+e)+(null==n?0:+n),this._next||h===this||(h?h._next=this:f=this,h=this),this._call=t,this._time=e,Z()},stop:function(){this._call&&(this._call=null,this._time=1/0,Z())}};var P=(0,r.Z)("start","end","cancel","interrupt"),C=[];function j(t,n,e,r,o,i){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,o=t.__transition;function i(c){var s,l,f,h;if(1!==e.state)return a();for(s in o)if((h=o[s]).name===e.name){if(3===h.state)return z(i);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete o[s]):+s<n&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete o[s])}if(z((function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(c))})),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(e.state=3,r=new Array(f=e.tween.length),s=0,l=-1;s<f;++s)(h=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(r[++l]=h);r.length=l+1}}function u(n){for(var o=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=5,1),i=-1,u=r.length;++i<u;)r[i].call(t,o);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 o[n],o)return;delete t.__transition}o[n]=e,e.timer=k((function(t){e.state=1,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}),0,e.time)}(t,e,{name:n,index:r,group:o,on:P,tween:C,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})}function T(t,n){var e=L(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function q(t,n){var e=L(t,n);if(e.state>3)throw new Error("too late; already running");return e}function L(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function O(t,n){var e,r,o,i=t.__transition,u=!0;if(i){for(o in n=null==n?null:n+"",i)(e=i[o]).name===n?(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 i[o]):u=!1;u&&delete t.__transition}}var R,B,G,X,Y=e(98876),D=180/Math.PI,F={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function I(t,n,e,r,o,i){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:o,translateY:i,rotate:Math.atan2(n,t)*D,skewX:Math.atan(c)*D,scaleX:u,scaleY:a}}function V(t,n,e,r){function o(t){return t.length?t.pop()+" ":""}return function(i,u){var a=[],c=[];return i=t(i),u=t(u),function(t,r,o,i,u,a){if(t!==o||r!==i){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:(0,Y.Z)(t,o)},{i:c-2,x:(0,Y.Z)(r,i)})}else(o||i)&&u.push("translate("+o+n+i+e)}(i.translateX,i.translateY,u.translateX,u.translateY,a,c),function(t,n,e,i){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),i.push({i:e.push(o(e)+"rotate(",null,r)-2,x:(0,Y.Z)(t,n)})):n&&e.push(o(e)+"rotate("+n+r)}(i.rotate,u.rotate,a,c),function(t,n,e,i){t!==n?i.push({i:e.push(o(e)+"skewX(",null,r)-2,x:(0,Y.Z)(t,n)}):n&&e.push(o(e)+"skewX("+n+r)}(i.skewX,u.skewX,a,c),function(t,n,e,r,i,u){if(t!==e||n!==r){var a=i.push(o(i)+"scale(",null,",",null,")");u.push({i:a-4,x:(0,Y.Z)(t,e)},{i:a-2,x:(0,Y.Z)(n,r)})}else 1===e&&1===r||i.push(o(i)+"scale("+e+","+r+")")}(i.scaleX,i.scaleY,u.scaleX,u.scaleY,a,c),i=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 H=V((function(t){return"none"===t?F:(R||(R=document.createElement("DIV"),B=document.documentElement,G=document.defaultView),R.style.transform=t,t=G.getComputedStyle(B.appendChild(R),null).getPropertyValue("transform"),B.removeChild(R),I(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),U=V((function(t){return null==t?F:(X||(X=document.createElementNS("http://www.w3.org/2000/svg","g")),X.setAttribute("transform",t),(t=X.transform.baseVal.consolidate())?I((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):F)}),", ",")",")"),W=e(69998);function K(t,n){var e,r;return function(){var o=q(this,t),i=o.tween;if(i!==e)for(var u=0,a=(r=e=i).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}o.tween=r}}function $(t,n,e){var r,o;if("function"!=typeof e)throw new Error;return function(){var i=q(this,t),u=i.tween;if(u!==r){o=(r=u).slice();for(var a={name:n,value:e},c=0,s=o.length;c<s;++c)if(o[c].name===n){o[c]=a;break}c===s&&o.push(a)}i.tween=o}}function J(t,n,e){var r=t._id;return t.each((function(){var t=q(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return L(t,r).value[n]}}var Q=e(95450),tt=e(26577),nt=e(76060);function et(t,n){var e;return("number"==typeof n?Y.Z:n instanceof Q.ZP?tt.ZP:(e=(0,Q.ZP)(n))?(n=e,tt.ZP):nt.Z)(t,n)}function rt(t){return function(){this.removeAttribute(t)}}function ot(t){return function(){this.removeAttributeNS(t.space,t.local)}}function it(t,n,e){var r,o,i=e+"";return function(){var u=this.getAttribute(t);return u===i?null:u===r?o:o=n(r=u,e)}}function ut(t,n,e){var r,o,i=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===i?null:u===r?o:o=n(r=u,e)}}function at(t,n,e){var r,o,i;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttribute(t))===(a=c+"")?null:u===r&&a===o?i:(o=a,i=n(r=u,c));this.removeAttribute(t)}}function ct(t,n,e){var r,o,i;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===o?i:(o=a,i=n(r=u,c));this.removeAttributeNS(t.space,t.local)}}function st(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}function lt(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}function ft(t,n){var e,r;function o(){var o=n.apply(this,arguments);return o!==r&&(e=(r=o)&&lt(t,o)),e}return o._value=n,o}function ht(t,n){var e,r;function o(){var o=n.apply(this,arguments);return o!==r&&(e=(r=o)&&st(t,o)),e}return o._value=n,o}function pt(t,n){return function(){T(this,t).delay=+n.apply(this,arguments)}}function vt(t,n){return n=+n,function(){T(this,t).delay=n}}function dt(t,n){return function(){q(this,t).duration=+n.apply(this,arguments)}}function gt(t,n){return n=+n,function(){q(this,t).duration=n}}function mt(t,n){if("function"!=typeof n)throw new Error;return function(){q(this,t).ease=n}}var yt=e(73151);function _t(t,n,e){var r,o,i=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)?T:q;return function(){var u=i(this,t),a=u.on;a!==r&&(o=(r=a).copy()).on(n,e),u.on=o}}var wt=e(61566),xt=e(87393),Mt=v.ZP.prototype.constructor,Et=e(34675);function bt(t){return function(){this.style.removeProperty(t)}}function St(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}function kt(t,n,e){var r,o;function i(){var i=n.apply(this,arguments);return i!==o&&(r=(o=i)&&St(t,i,e)),r}return i._value=n,i}function Nt(t){return function(n){this.textContent=t.call(this,n)}}function At(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&Nt(r)),n}return r._value=t,r}var Zt=0;function zt(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Pt(){return++Zt}var Ct=v.ZP.prototype;zt.prototype=function(t){return(0,v.ZP)().transition(t)}.prototype={constructor:zt,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,wt.Z)(t));for(var r=this._groups,o=r.length,i=new Array(o),u=0;u<o;++u)for(var a,c,s=r[u],l=s.length,f=i[u]=new Array(l),h=0;h<l;++h)(a=s[h])&&(c=t.call(a,a.__data__,h,s))&&("__data__"in a&&(c.__data__=a.__data__),f[h]=c,j(f[h],n,e,h,f,L(a,e)));return new zt(i,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,xt.Z)(t));for(var r=this._groups,o=r.length,i=[],u=[],a=0;a<o;++a)for(var c,s=r[a],l=s.length,f=0;f<l;++f)if(c=s[f]){for(var h,p=t.call(c,c.__data__,f,s),v=L(c,e),d=0,g=p.length;d<g;++d)(h=p[d])&&j(h,n,e,d,p,v);i.push(p),u.push(c)}return new zt(i,u,n,e)},filter:function(t){"function"!=typeof t&&(t=(0,yt.Z)(t));for(var n=this._groups,e=n.length,r=new Array(e),o=0;o<e;++o)for(var i,u=n[o],a=u.length,c=r[o]=[],s=0;s<a;++s)(i=u[s])&&t.call(i,i.__data__,s,u)&&c.push(i);return new zt(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,o=e.length,i=Math.min(r,o),u=new Array(r),a=0;a<i;++a)for(var c,s=n[a],l=e[a],f=s.length,h=u[a]=new Array(f),p=0;p<f;++p)(c=s[p]||l[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new zt(u,this._parents,this._name,this._id)},selection:function(){return new Mt(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=Pt(),r=this._groups,o=r.length,i=0;i<o;++i)for(var u,a=r[i],c=a.length,s=0;s<c;++s)if(u=a[s]){var l=L(u,n);j(u,t,e,s,a,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new zt(r,this._parents,t,e)},call:Ct.call,nodes:Ct.nodes,node:Ct.node,size:Ct.size,empty:Ct.empty,each:Ct.each,on:function(t,n){var e=this._id;return arguments.length<2?L(this.node(),e).on.on(t):this.each(_t(e,t,n))},attr:function(t,n){var e=(0,W.Z)(t),r="transform"===e?U:et;return this.attrTween(t,"function"==typeof n?(e.local?ct:at)(e,r,J(this,"attr."+t,n)):null==n?(e.local?ot:rt)(e):(e.local?ut:it)(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=(0,W.Z)(t);return this.tween(e,(r.local?ft:ht)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?H:et;return null==n?this.styleTween(t,function(t,n){var e,r,o;return function(){var i=(0,Et.S)(this,t),u=(this.style.removeProperty(t),(0,Et.S)(this,t));return i===u?null:i===e&&u===r?o:o=n(e=i,r=u)}}(t,r)).on("end.style."+t,bt(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,o,i;return function(){var u=(0,Et.S)(this,t),a=e(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=(0,Et.S)(this,t)),u===c?null:u===r&&c===o?i:(o=c,i=n(r=u,a))}}(t,r,J(this,"style."+t,n))).each(function(t,n){var e,r,o,i,u="style."+n,a="end."+u;return function(){var c=q(this,t),s=c.on,l=null==c.value[u]?i||(i=bt(n)):void 0;s===e&&o===l||(r=(e=s).copy()).on(a,o=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,o,i=e+"";return function(){var u=(0,Et.S)(this,t);return u===i?null:u===r?o:o=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,kt(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}}(J(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,At(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,o=L(this.node(),e).tween,i=0,u=o.length;i<u;++i)if((r=o[i]).name===t)return r.value;return null}return this.each((null==n?K:$)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?pt:vt)(n,t)):L(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?dt:gt)(n,t)):L(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(mt(n,t)):L(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;q(this,t).ease=e}}(this._id,t))},end:function(){var t,n,e=this,r=e._id,o=e.size();return new Promise((function(i,u){var a={value:u},c={value:function(){0==--o&&i()}};e.each((function(){var e=q(this,r),o=e.on;o!==t&&((n=(t=o).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(c)),e.on=n})),0===o&&i()}))},[Symbol.iterator]:Ct[Symbol.iterator]};var jt={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Tt(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error(`transition ${n} not found`);return e}v.ZP.prototype.interrupt=function(t){return this.each((function(){O(this,t)}))},v.ZP.prototype.transition=function(t){var n,e;t instanceof zt?(n=t._id,t=t._name):(n=Pt(),(e=jt).time=E(),t=null==t?null:t+"");for(var r=this._groups,o=r.length,i=0;i<o;++i)for(var u,a=r[i],c=a.length,s=0;s<c;++s)(u=a[s])&&j(u,t,n,s,a,e||Tt(u,n));return new zt(r,this._parents,t,n)};const qt=t=>()=>t;function Lt(t,{sourceEvent:n,target:e,transform:r,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},transform:{value:r,enumerable:!0,configurable:!0},_:{value:o}})}function Ot(t,n,e){this.k=t,this.x=n,this.y=e}Ot.prototype={constructor:Ot,scale:function(t){return 1===t?this:new Ot(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Ot(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 Rt=new Ot(1,0,0);function Bt(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Rt;return t.__zoom}function Gt(t){t.stopImmediatePropagation()}function Xt(t){t.preventDefault(),t.stopImmediatePropagation()}function Yt(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function Dt(){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 Ft(){return this.__zoom||Rt}function It(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Vt(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ht(t,n,e){var r=t.invertX(n[0][0])-e[0][0],o=t.invertX(n[1][0])-e[1][0],i=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),u>i?(i+u)/2:Math.min(0,i)||Math.max(0,u))}function Ut(){var t,n,e,i=Yt,c=Dt,s=Ht,f=It,h=Vt,v=[0,1/0],d=[[-1/0,-1/0],[1/0,1/0]],g=250,m=l,y=(0,r.Z)("start","zoom","end"),_=500,w=0,x=10;function M(t){t.property("__zoom",Ft).on("wheel.zoom",Z).on("mousedown.zoom",z).on("dblclick.zoom",P).filter(h).on("touchstart.zoom",C).on("touchmove.zoom",j).on("touchend.zoom touchcancel.zoom",T).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,n){return(n=Math.max(v[0],Math.min(v[1],n)))===t.k?t:new Ot(n,t.x,t.y)}function b(t,n,e){var r=n[0]-e[0]*t.k,o=n[1]-e[1]*t.k;return r===t.x&&o===t.y?t:new Ot(t.k,r,o)}function S(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function k(t,n,e,r){t.on("start.zoom",(function(){N(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){N(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,i=N(t,o).event(r),u=c.apply(t,o),a=null==e?S(u):"function"==typeof e?e.apply(t,o):e,s=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),l=t.__zoom,f="function"==typeof n?n.apply(t,o):n,h=m(l.invert(a).concat(s/l.k),f.invert(a).concat(s/f.k));return function(t){if(1===t)t=f;else{var n=h(t),e=s/n[2];t=new Ot(e,a[0]-n[0]*e,a[1]-n[1]*e)}i.zoom(null,t)}}))}function N(t,n,e){return!e&&t.__zooming||new A(t,n)}function A(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=c.apply(t,n),this.taps=0}function Z(t,...n){if(i.apply(this,arguments)){var e=N(this,n).event(t),r=this.__zoom,o=Math.max(v[0],Math.min(v[1],r.k*Math.pow(2,f.apply(this,arguments)))),u=(0,p.Z)(t);if(e.wheel)e.mouse[0][0]===u[0]&&e.mouse[0][1]===u[1]||(e.mouse[1]=r.invert(e.mouse[0]=u)),clearTimeout(e.wheel);else{if(r.k===o)return;e.mouse=[u,r.invert(u)],O(this),e.start()}Xt(t),e.wheel=setTimeout(a,150),e.zoom("mouse",s(b(E(r,o),e.mouse[0],e.mouse[1]),e.extent,d))}function a(){e.wheel=null,e.end()}}function z(t,...n){if(!e&&i.apply(this,arguments)){var r=N(this,n,!0).event(t),c=(0,o.Z)(t.view).on("mousemove.zoom",g,!0).on("mouseup.zoom",m,!0),l=(0,p.Z)(t,f),f=t.currentTarget,h=t.clientX,v=t.clientY;u(t.view),Gt(t),r.mouse=[l,this.__zoom.invert(l)],O(this),r.start()}function g(t){if(Xt(t),!r.moved){var n=t.clientX-h,e=t.clientY-v;r.moved=n*n+e*e>w}r.event(t).zoom("mouse",s(b(r.that.__zoom,r.mouse[0]=(0,p.Z)(t,f),r.mouse[1]),r.extent,d))}function m(t){c.on("mousemove.zoom mouseup.zoom",null),a(t.view,r.moved),Xt(t),r.event(t).end()}}function P(t,...n){if(i.apply(this,arguments)){var e=this.__zoom,r=(0,p.Z)(t.changedTouches?t.changedTouches[0]:t,this),u=e.invert(r),a=e.k*(t.shiftKey?.5:2),l=s(b(E(e,a),r,u),c.apply(this,n),d);Xt(t),g>0?(0,o.Z)(this).transition().duration(g).call(k,l,r,t):(0,o.Z)(this).call(M.transform,l,r,t)}}function C(e,...r){if(i.apply(this,arguments)){var o,u,a,c,s=e.touches,l=s.length,f=N(this,r,e.changedTouches.length===l).event(e);for(Gt(e),u=0;u<l;++u)a=s[u],c=[c=(0,p.Z)(a,this),this.__zoom.invert(c),a.identifier],f.touch0?f.touch1||f.touch0[2]===c[2]||(f.touch1=c,f.taps=0):(f.touch0=c,o=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(f.taps<2&&(n=c[0],t=setTimeout((function(){t=null}),_)),O(this),f.start())}}function j(t,...n){if(this.__zooming){var e,r,o,i,u=N(this,n).event(t),a=t.changedTouches,c=a.length;for(Xt(t),e=0;e<c;++e)r=a[e],o=(0,p.Z)(r,this),u.touch0&&u.touch0[2]===r.identifier?u.touch0[0]=o:u.touch1&&u.touch1[2]===r.identifier&&(u.touch1[0]=o);if(r=u.that.__zoom,u.touch1){var l=u.touch0[0],f=u.touch0[1],h=u.touch1[0],v=u.touch1[1],g=(g=h[0]-l[0])*g+(g=h[1]-l[1])*g,m=(m=v[0]-f[0])*m+(m=v[1]-f[1])*m;r=E(r,Math.sqrt(g/m)),o=[(l[0]+h[0])/2,(l[1]+h[1])/2],i=[(f[0]+v[0])/2,(f[1]+v[1])/2]}else{if(!u.touch0)return;o=u.touch0[0],i=u.touch0[1]}u.zoom("touch",s(b(r,o,i),u.extent,d))}}function T(t,...r){if(this.__zooming){var i,u,a=N(this,r).event(t),c=t.changedTouches,s=c.length;for(Gt(t),e&&clearTimeout(e),e=setTimeout((function(){e=null}),_),i=0;i<s;++i)u=c[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=(0,p.Z)(u,this),Math.hypot(n[0]-u[0],n[1]-u[1])<x)){var l=(0,o.Z)(this).on("dblclick.zoom");l&&l.apply(this,arguments)}}}return M.transform=function(t,n,e,r){var o=t.selection?t.selection():t;o.property("__zoom",Ft),t!==o?k(t,n,e,r):o.interrupt().each((function(){N(this,arguments).event(r).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},M.scaleBy=function(t,n,e,r){M.scaleTo(t,(function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e}),e,r)},M.scaleTo=function(t,n,e,r){M.transform(t,(function(){var t=c.apply(this,arguments),r=this.__zoom,o=null==e?S(t):"function"==typeof e?e.apply(this,arguments):e,i=r.invert(o),u="function"==typeof n?n.apply(this,arguments):n;return s(b(E(r,u),o,i),t,d)}),e,r)},M.translateBy=function(t,n,e,r){M.transform(t,(function(){return s(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),c.apply(this,arguments),d)}),null,r)},M.translateTo=function(t,n,e,r,o){M.transform(t,(function(){var t=c.apply(this,arguments),o=this.__zoom,i=null==r?S(t):"function"==typeof r?r.apply(this,arguments):r;return s(Rt.translate(i[0],i[1]).scale(o.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,d)}),r,o)},A.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=(0,o.Z)(this.that).datum();y.call(t,this.that,new Lt(t,{sourceEvent:this.sourceEvent,target:M,type:t,transform:this.that.__zoom,dispatch:y}),n)}},M.wheelDelta=function(t){return arguments.length?(f="function"==typeof t?t:qt(+t),M):f},M.filter=function(t){return arguments.length?(i="function"==typeof t?t:qt(!!t),M):i},M.touchable=function(t){return arguments.length?(h="function"==typeof t?t:qt(!!t),M):h},M.extent=function(t){return arguments.length?(c="function"==typeof t?t:qt([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),M):c},M.scaleExtent=function(t){return arguments.length?(v[0]=+t[0],v[1]=+t[1],M):[v[0],v[1]]},M.translateExtent=function(t){return arguments.length?(d[0][0]=+t[0][0],d[1][0]=+t[1][0],d[0][1]=+t[0][1],d[1][1]=+t[1][1],M):[[d[0][0],d[0][1]],[d[1][0],d[1][1]]]},M.constrain=function(t){return arguments.length?(s=t,M):s},M.duration=function(t){return arguments.length?(g=+t,M):g},M.interpolate=function(t){return arguments.length?(m=t,M):m},M.on=function(){var t=y.on.apply(y,arguments);return t===y?M:t},M.clickDistance=function(t){return arguments.length?(w=(t=+t)*t,M):Math.sqrt(w)},M.tapDistance=function(t){return arguments.length?(x=+t,M):x},M}Bt.prototype=Ot.prototype},27865:function(t,n,e){!function(t,n,e,r,o,i,u){"use strict";var a="default"in n?n.default:n;e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var c=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},s=function(t,n){var e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},l=function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(e.push(u.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return e}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")},f=r.geoPath,h=s(r,["geoPath"]),p=n.createContext(),v=function(t){var e=t.width,r=t.height,o=t.projection,i=t.projectionConfig,u=s(t,["width","height","projection","projectionConfig"]),v=i.center||[],d=l(v,2),g=d[0],m=d[1],y=i.rotate||[],_=l(y,3),w=_[0],x=_[1],M=_[2],E=i.parallels||[],b=l(E,2),S=b[0],k=b[1],N=i.scale||null,A=n.useMemo((function(){return function(t){var n=t.projectionConfig,e=void 0===n?{}:n,r=t.projection,o=void 0===r?"geoEqualEarth":r,i=t.width,u=void 0===i?800:i,a=t.height,c=void 0===a?600:a;if("function"==typeof o)return o;var s=h[o]().translate([u/2,c/2]);return[s.center?"center":null,s.rotate?"rotate":null,s.scale?"scale":null,s.parallels?"parallels":null].forEach((function(t){t&&(s=s[t](e[t]||s[t]()))})),s}({projectionConfig:{center:g||0===g||m||0===m?[g,m]:null,rotate:w||0===w||x||0===x?[w,x,M]:null,parallels:S||0===S||k||0===k?[S,k]:null,scale:N},projection:o,width:e,height:r})}),[e,r,o,g,m,w,x,M,S,k,N]),Z=n.useCallback(A,[A]),z=n.useMemo((function(){return{width:e,height:r,projection:Z,path:f().projection(Z)}}),[e,r,Z]);return a.createElement(p.Provider,c({value:z},u))};v.propTypes={width:e.number,height:e.number,projection:e.oneOfType([e.string,e.func]),projectionConfig:e.object};var d=function(t){var n=t.width,e=void 0===n?800:n,r=t.height,o=void 0===r?600:r,i=t.projection,u=void 0===i?"geoEqualEarth":i,l=t.projectionConfig,f=void 0===l?{}:l,h=t.className,p=void 0===h?"":h,d=s(t,["width","height","projection","projectionConfig","className"]);return a.createElement(v,{width:e,height:o,projection:u,projectionConfig:f},a.createElement("svg",c({viewBox:"0 0 "+e+" "+o,className:"rsm-svg "+p},d)))};function g(t,n,e){var r=(t*e.k-t)/2,o=(n*e.k-n)/2;return[t/2-(r+e.x)/e.k,n/2-(o+e.y)/e.k]}function m(t,n){if("Topology"!==t.type)return n?n(t.features||t):t.features||t;var e=o.feature(t,t.objects[Object.keys(t.objects)[0]]).features;return n?n(e):e}function y(t){return"Topology"===t.type?{outline:o.mesh(t,t.objects[Object.keys(t.objects)[0]],(function(t,n){return t===n})),borders:o.mesh(t,t.objects[Object.keys(t.objects)[0]],(function(t,n){return t!==n}))}:null}function _(t,n){return t?t.map((function(t,e){return c({},t,{rsmKey:"geo-"+e,svgPath:n(t)})})):[]}function w(t){var e=t.geography,r=t.parseGeographies,o=n.useContext(p).path,i=n.useState({}),u=l(i,2),a=u[0],s=u[1];n.useEffect((function(){var t;"undefined"!=typeof window&&e&&("string"==typeof e?(t=e,fetch(t).then((function(t){if(!t.ok)throw Error(t.statusText);return t.json()})).catch((function(t){console.log("There was a problem when fetching the data: ",t)}))).then((function(t){t&&s({geographies:m(t,r),mesh:y(t)})})):s({geographies:m(e,r),mesh:y(e)}))}),[e,r]);var f=n.useMemo((function(){var t=a.mesh||{},n=function(t,n,e){return t&&n?{outline:c({},t,{rsmKey:"outline",svgPath:e(t)}),borders:c({},n,{rsmKey:"borders",svgPath:e(n)})}:{}}(t.outline,t.borders,o);return{geographies:_(a.geographies,o),outline:n.outline,borders:n.borders}}),[a,o]);return{geographies:f.geographies,outline:f.outline,borders:f.borders}}d.propTypes={width:e.number,height:e.number,projection:e.oneOfType([e.string,e.func]),projectionConfig:e.object,className:e.string};var x=function(t){var e=t.geography,r=t.children,o=t.parseGeographies,i=t.className,u=void 0===i?"":i,l=s(t,["geography","children","parseGeographies","className"]),f=n.useContext(p),h=f.path,v=f.projection,d=w({geography:e,parseGeographies:o}),g=d.geographies,m=d.outline,y=d.borders;return a.createElement("g",c({className:"rsm-geographies "+u},l),g&&g.length>0&&r({geographies:g,outline:m,borders:y,path:h,projection:v}))};x.propTypes={geography:e.oneOfType([e.string,e.object,e.array]),children:e.func,parseGeographies:e.func,className:e.string};var M=function(t){var e=t.geography,r=t.onMouseEnter,o=t.onMouseLeave,i=t.onMouseDown,u=t.onMouseUp,f=t.onFocus,h=t.onBlur,p=t.style,v=void 0===p?{}:p,d=t.className,g=void 0===d?"":d,m=s(t,["geography","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"]),y=n.useState(!1),_=l(y,2),w=_[0],x=_[1],M=n.useState(!1),E=l(M,2),b=E[0],S=E[1];return a.createElement("path",c({tabIndex:"0",className:"rsm-geography "+g,d:e.svgPath,onMouseEnter:function(t){S(!0),r&&r(t)},onMouseLeave:function(t){S(!1),w&&x(!1),o&&o(t)},onFocus:function(t){S(!0),f&&f(t)},onBlur:function(t){S(!1),w&&x(!1),h&&h(t)},onMouseDown:function(t){x(!0),i&&i(t)},onMouseUp:function(t){x(!1),u&&u(t)},style:v[w||b?w?"pressed":"hover":"default"]},m))};M.propTypes={geography:e.object,onMouseEnter:e.func,onMouseLeave:e.func,onMouseDown:e.func,onMouseUp:e.func,onFocus:e.func,onBlur:e.func,style:e.object,className:e.string};var E=n.memo(M),b=function(t){var e=t.fill,o=void 0===e?"transparent":e,i=t.stroke,u=void 0===i?"currentcolor":i,l=t.step,f=void 0===l?[10,10]:l,h=t.className,v=void 0===h?"":h,d=s(t,["fill","stroke","step","className"]),g=n.useContext(p).path;return a.createElement("path",c({d:g(r.geoGraticule().step(f)()),fill:o,stroke:u,className:"rsm-graticule "+v},d))};b.propTypes={fill:e.string,stroke:e.string,step:e.array,className:e.string};var S=n.memo(b);function k(t){var e=t.center,r=t.filterZoomEvent,o=t.onMoveStart,a=t.onMoveEnd,c=t.onMove,s=t.translateExtent,f=void 0===s?[[-1/0,-1/0],[1/0,1/0]]:s,h=t.scaleExtent,v=void 0===h?[1,8]:h,d=t.zoom,m=void 0===d?1:d,y=n.useContext(p),_=y.width,w=y.height,x=y.projection,M=l(e,2),E=M[0],b=M[1],S=n.useState({x:0,y:0,k:1}),k=l(S,2),N=k[0],A=k[1],Z=n.useRef({x:0,y:0,k:1}),z=n.useRef(),P=n.useRef(),C=n.useRef(!1),j=l(f,2),T=j[0],q=j[1],L=l(T,2),O=L[0],R=L[1],B=l(q,2),G=B[0],X=B[1],Y=l(v,2),D=Y[0],F=Y[1];return n.useEffect((function(){var t=u.select(z.current),n=i.zoom().filter((function(t){return r?r(t):!!t&&!t.ctrlKey&&!t.button})).scaleExtent([D,F]).translateExtent([[O,R],[G,X]]).on("start",(function(t){o&&!C.current&&o({coordinates:x.invert(g(_,w,t.transform)),zoom:t.transform.k},t)})).on("zoom",(function(t){if(!C.current){var n=t.transform,e=t.sourceEvent;A({x:n.x,y:n.y,k:n.k,dragging:e}),c&&c({x:n.x,y:n.y,k:n.k,dragging:e},t)}})).on("end",(function(t){if(C.current)C.current=!1;else{var n=x.invert(g(_,w,t.transform)),e=l(n,2),r=e[0],o=e[1];Z.current={x:r,y:o,k:t.transform.k},a&&a({coordinates:[r,o],zoom:t.transform.k},t)}}));P.current=n,t.call(n)}),[_,w,O,R,G,X,D,F,x,o,c,a,r]),n.useEffect((function(){if(E!==Z.current.x||b!==Z.current.y||m!==Z.current.k){var t=x([E,b]),n=t[0]*m,e=t[1]*m,r=u.select(z.current);C.current=!0,r.call(P.current.transform,i.zoomIdentity.translate(_/2-n,w/2-e).scale(m)),A({x:_/2-n,y:w/2-e,k:m}),Z.current={x:E,y:b,k:m}}}),[E,b,m,_,w,x]),{mapRef:z,position:N,transformString:"translate("+N.x+" "+N.y+") scale("+N.k+")"}}var N=function(t){var e=t.center,r=void 0===e?[0,0]:e,o=t.zoom,i=void 0===o?1:o,u=t.minZoom,l=void 0===u?1:u,f=t.maxZoom,h=void 0===f?8:f,v=t.translateExtent,d=t.filterZoomEvent,g=t.onMoveStart,m=t.onMove,y=t.onMoveEnd,_=t.className,w=s(t,["center","zoom","minZoom","maxZoom","translateExtent","filterZoomEvent","onMoveStart","onMove","onMoveEnd","className"]),x=n.useContext(p),M=x.width,E=x.height,b=k({center:r,filterZoomEvent:d,onMoveStart:g,onMove:m,onMoveEnd:y,scaleExtent:[l,h],translateExtent:v,zoom:i}),S=b.mapRef,N=b.transformString;return a.createElement("g",{ref:S},a.createElement("rect",{width:M,height:E,fill:"transparent"}),a.createElement("g",c({transform:N,className:"rsm-zoomable-group "+_},w)))};N.propTypes={center:e.array,zoom:e.number,minZoom:e.number,maxZoom:e.number,translateExtent:e.arrayOf(e.array),onMoveStart:e.func,onMove:e.func,onMoveEnd:e.func,className:e.string};var A=function(t){var e=t.id,r=void 0===e?"rsm-sphere":e,o=t.fill,i=void 0===o?"transparent":o,u=t.stroke,l=void 0===u?"currentcolor":u,f=t.strokeWidth,h=void 0===f?.5:f,v=t.className,d=void 0===v?"":v,g=s(t,["id","fill","stroke","strokeWidth","className"]),m=n.useContext(p).path,y=n.useMemo((function(){return m({type:"Sphere"})}),[m]);return a.createElement(n.Fragment,null,a.createElement("defs",null,a.createElement("clipPath",{id:r},a.createElement("path",{d:y}))),a.createElement("path",c({d:y,fill:i,stroke:l,strokeWidth:h,style:{pointerEvents:"none"},className:"rsm-sphere "+d},g)))};A.propTypes={id:e.string,fill:e.string,stroke:e.string,strokeWidth:e.number,className:e.string};var Z=n.memo(A),z=function(t){var e=t.coordinates,r=t.children,o=t.onMouseEnter,i=t.onMouseLeave,u=t.onMouseDown,f=t.onMouseUp,h=t.onFocus,v=t.onBlur,d=t.style,g=void 0===d?{}:d,m=t.className,y=void 0===m?"":m,_=s(t,["coordinates","children","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"]),w=n.useContext(p).projection,x=n.useState(!1),M=l(x,2),E=M[0],b=M[1],S=n.useState(!1),k=l(S,2),N=k[0],A=k[1],Z=w(e),z=l(Z,2),P=z[0],C=z[1];return a.createElement("g",c({transform:"translate("+P+", "+C+")",className:"rsm-marker "+y,onMouseEnter:function(t){A(!0),o&&o(t)},onMouseLeave:function(t){A(!1),E&&b(!1),i&&i(t)},onFocus:function(t){A(!0),h&&h(t)},onBlur:function(t){A(!1),E&&b(!1),v&&v(t)},onMouseDown:function(t){b(!0),u&&u(t)},onMouseUp:function(t){b(!1),f&&f(t)},style:g[E||N?E?"pressed":"hover":"default"]},_),r)};z.propTypes={coordinates:e.array,children:e.oneOfType([e.node,e.arrayOf(e.node)]),onMouseEnter:e.func,onMouseLeave:e.func,onMouseDown:e.func,onMouseUp:e.func,onFocus:e.func,onBlur:e.func,style:e.object,className:e.string};var P=function(t){var e=t.from,r=void 0===e?[0,0]:e,o=t.to,i=void 0===o?[0,0]:o,u=t.coordinates,l=t.stroke,f=void 0===l?"currentcolor":l,h=t.strokeWidth,v=void 0===h?3:h,d=t.fill,g=void 0===d?"transparent":d,m=t.className,y=void 0===m?"":m,_=s(t,["from","to","coordinates","stroke","strokeWidth","fill","className"]),w=n.useContext(p).path,x={type:"LineString",coordinates:u||[r,i]};return a.createElement("path",c({d:w(x),className:"rsm-line "+y,stroke:f,strokeWidth:v,fill:g},_))};P.propTypes={from:e.array,to:e.array,coordinates:e.array,stroke:e.string,strokeWidth:e.number,fill:e.string,className:e.string};var C=function(t){var e=t.subject,r=t.children,o=t.connectorProps,i=t.dx,u=void 0===i?30:i,f=t.dy,h=void 0===f?30:f,v=t.curve,d=void 0===v?0:v,g=t.className,m=void 0===g?"":g,y=s(t,["subject","children","connectorProps","dx","dy","curve","className"]),_=(0,n.useContext(p).projection)(e),w=l(_,2),x=w[0],M=w[1],E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,r=Array.isArray(e)?e:[e,e];return"M0,0 Q"+(-t/2-t/2*r[0])+","+(-n/2+n/2*r[1])+" "+-t+","+-n}(u,h,d);return a.createElement("g",c({transform:"translate("+(x+u)+", "+(M+h)+")",className:"rsm-annotation "+m},y),a.createElement("path",c({d:E,fill:"transparent",stroke:"#000"},o)),r)};C.propTypes={subject:e.array,children:e.oneOfType([e.node,e.arrayOf(e.node)]),dx:e.number,dy:e.number,curve:e.number,connectorProps:e.object,className:e.string},t.Annotation=C,t.ComposableMap=d,t.Geographies=x,t.Geography=E,t.Graticule=S,t.Line=P,t.MapContext=p,t.MapProvider=v,t.Marker=z,t.Sphere=Z,t.ZoomableGroup=N,t.useGeographies=w,t.useZoomPan=k,Object.defineProperty(t,"__esModule",{value:!0})}(n,e(24328),e(13980),e(98842),e(58035),e(89627),e(11539))},78854:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o,R:()=>u});var r=e(68215);function o(t,n){return"string"==typeof n&&(n=t.objects[n]),"GeometryCollection"===n.type?{type:"FeatureCollection",features:n.geometries.map((function(n){return i(t,n)}))}:i(t,n)}function i(t,n){var e=n.id,r=n.bbox,o=null==n.properties?{}:n.properties,i=u(t,n);return null==e&&null==r?{type:"Feature",properties:o,geometry:i}:null==r?{type:"Feature",id:e,properties:o,geometry:i}:{type:"Feature",id:e,bbox:r,properties:o,geometry:i}}function u(t,n){var e=(0,r.Z)(t.transform),o=t.arcs;function i(t,n){n.length&&n.pop();for(var r=o[t<0?~t:t],i=0,u=r.length;i<u;++i)n.push(e(r[i],i));t<0&&function(t,n){for(var e,r=t.length,o=r-n;o<--r;)e=t[o],t[o++]=t[r],t[r]=e}(n,u)}function u(t){return e(t)}function a(t){for(var n=[],e=0,r=t.length;e<r;++e)i(t[e],n);return n.length<2&&n.push(n[0]),n}function c(t){for(var n=a(t);n.length<4;)n.push(n[0]);return n}function s(t){return t.map(c)}return function t(n){var e,r=n.type;switch(r){case"GeometryCollection":return{type:r,geometries:n.geometries.map(t)};case"Point":e=u(n.coordinates);break;case"MultiPoint":e=n.coordinates.map(u);break;case"LineString":e=a(n.arcs);break;case"MultiLineString":e=n.arcs.map(a);break;case"Polygon":e=s(n.arcs);break;case"MultiPolygon":e=n.arcs.map(s);break;default:return null}return{type:r,coordinates:e}}(n)}},27670:(t,n,e)=>{"use strict";function r(t){return t}e.d(n,{Z:()=>r})},58035:(t,n,e)=>{"use strict";e.r(n),e.d(n,{bbox:()=>o,feature:()=>i.Z,merge:()=>l,mergeArcs:()=>f,mesh:()=>a,meshArcs:()=>c,neighbors:()=>p,quantize:()=>g,transform:()=>r.Z,untransform:()=>d});var r=e(68215);function o(t){var n,e=(0,r.Z)(t.transform),o=1/0,i=o,u=-o,a=-o;function c(t){(t=e(t))[0]<o&&(o=t[0]),t[0]>u&&(u=t[0]),t[1]<i&&(i=t[1]),t[1]>a&&(a=t[1])}function s(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(s);break;case"Point":c(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(c)}}for(n in t.arcs.forEach((function(t){for(var n,r=-1,c=t.length;++r<c;)(n=e(t[r],r))[0]<o&&(o=n[0]),n[0]>u&&(u=n[0]),n[1]<i&&(i=n[1]),n[1]>a&&(a=n[1])})),t.objects)s(t.objects[n]);return[o,i,u,a]}var i=e(78854);function u(t,n){var e={},r={},o={},i=[],u=-1;function a(t,n){for(var r in t){var o=t[r];delete n[o.start],delete o.start,delete o.end,o.forEach((function(t){e[t<0?~t:t]=1})),i.push(o)}}return n.forEach((function(e,r){var o,i=t.arcs[e<0?~e:e];i.length<3&&!i[1][0]&&!i[1][1]&&(o=n[++u],n[u]=e,n[r]=o)})),n.forEach((function(n){var e,i,u=function(n){var e,r=t.arcs[n<0?~n:n],o=r[0];return t.transform?(e=[0,0],r.forEach((function(t){e[0]+=t[0],e[1]+=t[1]}))):e=r[r.length-1],n<0?[e,o]:[o,e]}(n),a=u[0],c=u[1];if(e=o[a])if(delete o[e.end],e.push(n),e.end=c,i=r[c]){delete r[i.start];var s=i===e?e:e.concat(i);r[s.start=e.start]=o[s.end=i.end]=s}else r[e.start]=o[e.end]=e;else if(e=r[c])if(delete r[e.start],e.unshift(n),e.start=a,i=o[a]){delete o[i.end];var l=i===e?e:i.concat(e);r[l.start=i.start]=o[l.end=e.end]=l}else r[e.start]=o[e.end]=e;else r[(e=[n]).start=a]=o[e.end=c]=e})),a(o,r),a(r,o),n.forEach((function(t){e[t<0?~t:t]||i.push([t])})),i}function a(t){return(0,i.R)(t,c.apply(this,arguments))}function c(t,n,e){var r,o,i;if(arguments.length>1)r=s(0,n,e);else for(o=0,r=new Array(i=t.arcs.length);o<i;++o)r[o]=o;return{type:"MultiLineString",arcs:u(t,r)}}function s(t,n,e){var r,o=[],i=[];function u(t){var n=t<0?~t:t;(i[n]||(i[n]=[])).push({i:t,g:r})}function a(t){t.forEach(u)}function c(t){t.forEach(a)}return function t(n){switch(r=n,n.type){case"GeometryCollection":n.geometries.forEach(t);break;case"LineString":a(n.arcs);break;case"MultiLineString":case"Polygon":c(n.arcs);break;case"MultiPolygon":!function(t){t.forEach(c)}(n.arcs)}}(n),i.forEach(null==e?function(t){o.push(t[0].i)}:function(t){e(t[0].g,t[t.length-1].g)&&o.push(t[0].i)}),o}function l(t){return(0,i.R)(t,f.apply(this,arguments))}function f(t,n){var e={},r=[],o=[];function a(t){t.forEach((function(n){n.forEach((function(n){(e[n=n<0?~n:n]||(e[n]=[])).push(t)}))})),r.push(t)}function c(n){return function(t){for(var n,e=-1,r=t.length,o=t[r-1],i=0;++e<r;)n=o,o=t[e],i+=n[0]*o[1]-n[1]*o[0];return Math.abs(i)}((0,i.R)(t,{type:"Polygon",arcs:[n]}).coordinates[0])}return n.forEach((function t(n){switch(n.type){case"GeometryCollection":n.geometries.forEach(t);break;case"Polygon":a(n.arcs);break;case"MultiPolygon":n.arcs.forEach(a)}})),r.forEach((function(t){if(!t._){var n=[],r=[t];for(t._=1,o.push(n);t=r.pop();)n.push(t),t.forEach((function(t){t.forEach((function(t){e[t<0?~t:t].forEach((function(t){t._||(t._=1,r.push(t))}))}))}))}})),r.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:o.map((function(n){var r,o=[];if(n.forEach((function(t){t.forEach((function(t){t.forEach((function(t){e[t<0?~t:t].length<2&&o.push(t)}))}))})),(r=(o=u(t,o)).length)>1)for(var i,a,s=1,l=c(o[0]);s<r;++s)(i=c(o[s]))>l&&(a=o[0],o[0]=o[s],o[s]=a,l=i);return o})).filter((function(t){return t.length>0}))}}function h(t,n){for(var e=0,r=t.length;e<r;){var o=e+r>>>1;t[o]<n?e=o+1:r=o}return e}function p(t){var n={},e=t.map((function(){return[]}));function r(t,e){t.forEach((function(t){t<0&&(t=~t);var r=n[t];r?r.push(e):n[t]=[e]}))}function o(t,n){t.forEach((function(t){r(t,n)}))}var i={LineString:r,MultiLineString:o,Polygon:o,MultiPolygon:function(t,n){t.forEach((function(t){o(t,n)}))}};for(var u in t.forEach((function t(n,e){"GeometryCollection"===n.type?n.geometries.forEach((function(n){t(n,e)})):n.type in i&&i[n.type](n.arcs,e)})),n)for(var a=n[u],c=a.length,s=0;s<c;++s)for(var l=s+1;l<c;++l){var f,p=a[s],v=a[l];(f=e[p])[u=h(f,v)]!==v&&f.splice(u,0,v),(f=e[v])[u=h(f,p)]!==p&&f.splice(u,0,p)}return e}var v=e(27670);function d(t){if(null==t)return v.Z;var n,e,r=t.scale[0],o=t.scale[1],i=t.translate[0],u=t.translate[1];return function(t,a){a||(n=e=0);var c=2,s=t.length,l=new Array(s),f=Math.round((t[0]-i)/r),h=Math.round((t[1]-u)/o);for(l[0]=f-n,n=f,l[1]=h-e,e=h;c<s;)l[c]=t[c],++c;return l}}function g(t,n){if(t.transform)throw new Error("already quantized");if(n&&n.scale)c=t.bbox;else{if(!((e=Math.floor(n))>=2))throw new Error("n must be ≥2");var e,r=(c=t.bbox||o(t))[0],i=c[1],u=c[2],a=c[3];n={scale:[u-r?(u-r)/(e-1):1,a-i?(a-i)/(e-1):1],translate:[r,i]}}var c,s,l=d(n),f=t.objects,h={};function p(t){return l(t)}function v(t){var n;switch(t.type){case"GeometryCollection":n={type:"GeometryCollection",geometries:t.geometries.map(v)};break;case"Point":n={type:"Point",coordinates:p(t.coordinates)};break;case"MultiPoint":n={type:"MultiPoint",coordinates:t.coordinates.map(p)};break;default:return t}return null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),null!=t.properties&&(n.properties=t.properties),n}for(s in f)h[s]=v(f[s]);return{type:"Topology",bbox:c,transform:n,objects:h,arcs:t.arcs.map((function(t){var n,e=0,r=1,o=t.length,i=new Array(o);for(i[0]=l(t[0],0);++e<o;)((n=l(t[e],e))[0]||n[1])&&(i[r++]=n);return 1===r&&(i[r++]=[0,0]),i.length=r,i}))}}},68215:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(27670);function o(t){if(null==t)return r.Z;var n,e,o=t.scale[0],i=t.scale[1],u=t.translate[0],a=t.translate[1];return function(t,r){r||(n=e=0);var c=2,s=t.length,l=new Array(s);for(l[0]=(n+=t[0])*o+u,l[1]=(e+=t[1])*i+a;c<s;)l[c]=t[c],++c;return l}}}}]);
package/394.js CHANGED
@@ -1 +1 @@
1
- (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[394],{51095:function(e,t,n){!function(e,t){"use strict";function n(e){return"string"==typeof e||"number"==typeof e}var r=function(){function e(){this._cache={}}var t=e.prototype;return t.set=function(e,t){this._cache[e]=t},t.get=function(e){return this._cache[e]},t.remove=function(e){delete this._cache[e]},t.clear=function(){this._cache={}},t.isValidCacheKey=function(e){return n(e)},e}(),c=r,i=function(){return!0};function o(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,r){if("function"==typeof r)throw new Error('[re-reselect] Second argument "options" must be an object. Please use "options.selectorCreator" to provide a custom selectorCreator.');var o={};"function"==typeof e?Object.assign(o,r,{keySelector:e}):Object.assign(o,e);var a=0,u=n.pop(),f=Array.isArray(n[0])?n[0]:[].concat(n);n.push((function(){return a++,u.apply(void 0,arguments)}));var h=o.cacheObject||new c,s=o.selectorCreator||t.createSelector,l=h.isValidCacheKey||i;o.keySelectorCreator&&(o.keySelector=o.keySelectorCreator({keySelector:o.keySelector,inputSelectors:f,resultFunc:u}));var v=function(){var e=o.keySelector.apply(o,arguments);if(l(e)){var t=h.get(e);return void 0===t&&(t=s.apply(void 0,n),h.set(e,t)),t.apply(void 0,arguments)}console.warn('[re-reselect] Invalid cache key "'+e+'" has been returned by keySelector function.')};return v.getMatchingSelector=function(){var e=o.keySelector.apply(o,arguments);return h.get(e)},v.removeMatchingSelector=function(){var e=o.keySelector.apply(o,arguments);h.remove(e)},v.clearCache=function(){h.clear()},v.resultFunc=u,v.dependencies=f,v.cache=h,v.recomputations=function(){return a},v.resetRecomputations=function(){return a=0},v.keySelector=o.keySelector,v}}function a(e){if(void 0===e)throw new Error('Missing the required property "cacheSize".');if(!Number.isInteger(e)||e<=0)throw new Error('The "cacheSize" property must be a positive integer value.')}var u=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache={},this._cacheOrdering=[],this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache[e]=t,this._cacheOrdering.push(e),this._cacheOrdering.length>this._cacheSize){var n=this._cacheOrdering[0];this.remove(n)}},t.get=function(e){return this._cache[e]},t.remove=function(e){var t=this._cacheOrdering.indexOf(e);t>-1&&this._cacheOrdering.splice(t,1),delete this._cache[e]},t.clear=function(){this._cache={},this._cacheOrdering=[]},t.isValidCacheKey=function(e){return n(e)},e}(),f=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache={},this._cacheOrdering=[],this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache[e]=t,this._registerCacheHit(e),this._cacheOrdering.length>this._cacheSize){var n=this._cacheOrdering[0];this.remove(n)}},t.get=function(e){return this._registerCacheHit(e),this._cache[e]},t.remove=function(e){this._deleteCacheHit(e),delete this._cache[e]},t.clear=function(){this._cache={},this._cacheOrdering=[]},t._registerCacheHit=function(e){this._deleteCacheHit(e),this._cacheOrdering.push(e)},t._deleteCacheHit=function(e){var t=this._cacheOrdering.indexOf(e);t>-1&&this._cacheOrdering.splice(t,1)},t.isValidCacheKey=function(e){return n(e)},e}(),h=function(){function e(){this._cache=new Map}var t=e.prototype;return t.set=function(e,t){this._cache.set(e,t)},t.get=function(e){return this._cache.get(e)},t.remove=function(e){this._cache.delete(e)},t.clear=function(){this._cache.clear()},e}(),s=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache=new Map,this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache.set(e,t),this._cache.size>this._cacheSize){var n=this._cache.keys().next().value;this.remove(n)}},t.get=function(e){return this._cache.get(e)},t.remove=function(e){this._cache.delete(e)},t.clear=function(){this._cache.clear()},e}(),l=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache=new Map,this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache.set(e,t),this._cache.size>this._cacheSize){var n=this._cache.keys().next().value;this.remove(n)}},t.get=function(e){var t=this._cache.get(e);return this._cache.has(e)&&(this.remove(e),this._cache.set(e,t)),t},t.remove=function(e){this._cache.delete(e)},t.clear=function(){this._cache.clear()},e}();e.FifoCacheObject=u,e.FifoMapCache=s,e.FifoObjectCache=u,e.FlatCacheObject=r,e.FlatMapCache=h,e.FlatObjectCache=r,e.LruCacheObject=l,e.LruMapCache=l,e.LruObjectCache=f,e.createStructuredCachedSelector=function(e){return t.createStructuredSelector(e,o)},e.default=o,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(97698))},90371:(e,t,n)=>{"use strict";n.d(t,{$6:()=>w,RE:()=>k,rM:()=>A,gz:()=>b,Ys:()=>x,qn:()=>C,ib:()=>U,Fm:()=>T,A7:()=>H});var r=function(e){return"@@redux-saga/"+e},c=r("IO"),i=r("MULTICAST"),o=r("SELF_CANCELLATION"),a=function(e){return"function"==typeof e},u=function(e){return"string"==typeof e},f=Array.isArray,h=function e(t){return t&&(u(t)||l(t)||a(t)||f(t)&&t.every(e))},s=function(e){return e&&a(e.take)&&a(e.close)},l=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},v=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var p=function(e){throw e},y=function(e){return{value:e,done:!0}},d="TAKE",g="CALL",_="FORK",S="SELECT",m=function(e,t){var n;return(n={})[c]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function C(e,t){return void 0===e&&(e="*"),h(e)?m(d,{pattern:e}):s(n=e)&&n[i]&&null!=t&&h(t)?m(d,{channel:e,pattern:t}):s(e)?m(d,{channel:e}):void 0;var n}function b(e,t){return null==t&&(t=e,e=void 0),m("PUT",{channel:e,action:t})}function w(e){var t=m("ALL",e);return t.combinator=!0,t}function O(e,t){var n,r=null;return a(e)?n=e:(f(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&u(n)&&a(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return m(g,O(e,n))}function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return m(_,O(e,n))}function q(e){return void 0===e&&(e=o),m("CANCEL",e)}function x(e){void 0===e&&(e=v);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return m(S,{selector:e,args:n})}var z=function(e){return{done:!0,value:e}},E={};function j(e){return s(e)?"channel":a(t=e)&&t.hasOwnProperty("toString")?String(e):a(e)?e.name:String(e);var t}function L(e,t,n){var r,c,i,o=t;function a(t,n){if(o===E)return z(t);if(n&&!c)throw o=E,n;r&&r(t);var a=n?e[c](n):e[o]();return o=a.nextState,i=a.effect,r=a.stateUpdater,c=a.errorState,o===E?z(t):i}return function(e,t,n){void 0===t&&(t=p),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:y,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}(a,(function(e){return a(null,e)}),n)}function F(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var i,o={done:!1,value:C(e)},a=function(e){return{done:!1,value:A.apply(void 0,[t].concat(r,[e]))}},u=function(e){return i=e};return L({q1:function(){return{nextState:"q2",effect:o,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:a(i)}}},"q1","takeEvery("+j(e)+", "+t.name+")")}function M(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var i,o,a={done:!1,value:C(e)},u=function(e){return{done:!1,value:A.apply(void 0,[t].concat(r,[e]))}},f=function(e){return{done:!1,value:q(e)}},h=function(e){return i=e},s=function(e){return o=e};return L({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return i?{nextState:"q3",effect:f(i)}:{nextState:"q1",effect:u(o),stateUpdater:h}},q3:function(){return{nextState:"q1",effect:u(o),stateUpdater:h}}},"q1","takeLatest("+j(e)+", "+t.name+")")}function I(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var i,o={done:!1,value:C(e)},a=function(e){return{done:!1,value:k.apply(void 0,[t].concat(r,[e]))}},u=function(e){return i=e};return L({q1:function(){return{nextState:"q2",effect:o,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:a(i)}}},"q1","takeLeading("+j(e)+", "+t.name+")")}function U(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];return A.apply(void 0,[F,e,t].concat(r))}function T(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];return A.apply(void 0,[M,e,t].concat(r))}function H(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];return A.apply(void 0,[I,e,t].concat(r))}},97698:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createSelector:()=>u,createSelectorCreator:()=>a,createStructuredSelector:()=>f,defaultEqualityCheck:()=>c,defaultMemoize:()=>i});var r="NOT_FOUND",c=function(e,t){return e===t};function i(e,t){var n,i,o="object"==typeof t?t:{equalityCheck:t},a=o.equalityCheck,u=void 0===a?c:a,f=o.maxSize,h=void 0===f?1:f,s=o.resultEqualityCheck,l=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,c=0;c<r;c++)if(!e(t[c],n[c]))return!1;return!0}}(u),v=1===h?(n=l,{get:function(e){return i&&n(i.key,e)?i.value:r},put:function(e,t){i={key:e,value:t}},getEntries:function(){return i?[i]:[]},clear:function(){i=void 0}}):function(e,t){var n=[];function c(e){var c=n.findIndex((function(n){return t(e,n.key)}));if(c>-1){var i=n[c];return c>0&&(n.splice(c,1),n.unshift(i)),i.value}return r}return{get:c,put:function(t,i){c(t)===r&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(h,l);function p(){var t=v.get(arguments);if(t===r){if(t=e.apply(null,arguments),s){var n=v.getEntries(),c=n.find((function(e){return s(e.value,t)}));c&&(t=c.value)}v.put(arguments,t)}return t}return p.clearCache=function(){return v.clear()},p}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var c=function(){for(var t=arguments.length,r=new Array(t),c=0;c<t;c++)r[c]=arguments[c];var i,a=0,u={memoizeOptions:void 0},f=r.pop();if("object"==typeof f&&(u=f,f=r.pop()),"function"!=typeof f)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof f+"]");var h=u,s=h.memoizeOptions,l=void 0===s?n:s,v=Array.isArray(l)?l:[l],p=o(r),y=e.apply(void 0,[function(){return a++,f.apply(null,arguments)}].concat(v)),d=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return i=y.apply(null,e)}));return Object.assign(d,{resultFunc:f,memoizedResultFunc:y,dependencies:p,lastResult:function(){return i},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),d};return c}var u=a(i),f=function(e,t){if(void 0===t&&(t=u),"object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e),r=t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}));return r}}}]);
1
+ (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[394],{51095:function(e,t,n){!function(e,t){"use strict";function n(e){return"string"==typeof e||"number"==typeof e}var r=function(){function e(){this._cache={}}var t=e.prototype;return t.set=function(e,t){this._cache[e]=t},t.get=function(e){return this._cache[e]},t.remove=function(e){delete this._cache[e]},t.clear=function(){this._cache={}},t.isValidCacheKey=function(e){return n(e)},e}(),c=r,i=function(){return!0};function o(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,r){if("function"==typeof r)throw new Error('[re-reselect] Second argument "options" must be an object. Please use "options.selectorCreator" to provide a custom selectorCreator.');var o={};"function"==typeof e?Object.assign(o,r,{keySelector:e}):Object.assign(o,e);var a=0,u=n.pop(),f=Array.isArray(n[0])?n[0]:[].concat(n);n.push((function(){return a++,u.apply(void 0,arguments)}));var h=o.cacheObject||new c,s=o.selectorCreator||t.createSelector,l=h.isValidCacheKey||i;o.keySelectorCreator&&(o.keySelector=o.keySelectorCreator({keySelector:o.keySelector,inputSelectors:f,resultFunc:u}));var v=function(){var e=o.keySelector.apply(o,arguments);if(l(e)){var t=h.get(e);return void 0===t&&(t=s.apply(void 0,n),h.set(e,t)),t.apply(void 0,arguments)}console.warn('[re-reselect] Invalid cache key "'+e+'" has been returned by keySelector function.')};return v.getMatchingSelector=function(){var e=o.keySelector.apply(o,arguments);return h.get(e)},v.removeMatchingSelector=function(){var e=o.keySelector.apply(o,arguments);h.remove(e)},v.clearCache=function(){h.clear()},v.resultFunc=u,v.dependencies=f,v.cache=h,v.recomputations=function(){return a},v.resetRecomputations=function(){return a=0},v.keySelector=o.keySelector,v}}function a(e){if(void 0===e)throw new Error('Missing the required property "cacheSize".');if(!Number.isInteger(e)||e<=0)throw new Error('The "cacheSize" property must be a positive integer value.')}var u=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache={},this._cacheOrdering=[],this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache[e]=t,this._cacheOrdering.push(e),this._cacheOrdering.length>this._cacheSize){var n=this._cacheOrdering[0];this.remove(n)}},t.get=function(e){return this._cache[e]},t.remove=function(e){var t=this._cacheOrdering.indexOf(e);t>-1&&this._cacheOrdering.splice(t,1),delete this._cache[e]},t.clear=function(){this._cache={},this._cacheOrdering=[]},t.isValidCacheKey=function(e){return n(e)},e}(),f=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache={},this._cacheOrdering=[],this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache[e]=t,this._registerCacheHit(e),this._cacheOrdering.length>this._cacheSize){var n=this._cacheOrdering[0];this.remove(n)}},t.get=function(e){return this._registerCacheHit(e),this._cache[e]},t.remove=function(e){this._deleteCacheHit(e),delete this._cache[e]},t.clear=function(){this._cache={},this._cacheOrdering=[]},t._registerCacheHit=function(e){this._deleteCacheHit(e),this._cacheOrdering.push(e)},t._deleteCacheHit=function(e){var t=this._cacheOrdering.indexOf(e);t>-1&&this._cacheOrdering.splice(t,1)},t.isValidCacheKey=function(e){return n(e)},e}(),h=function(){function e(){this._cache=new Map}var t=e.prototype;return t.set=function(e,t){this._cache.set(e,t)},t.get=function(e){return this._cache.get(e)},t.remove=function(e){this._cache.delete(e)},t.clear=function(){this._cache.clear()},e}(),s=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache=new Map,this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache.set(e,t),this._cache.size>this._cacheSize){var n=this._cache.keys().next().value;this.remove(n)}},t.get=function(e){return this._cache.get(e)},t.remove=function(e){this._cache.delete(e)},t.clear=function(){this._cache.clear()},e}(),l=function(){function e(e){var t=(void 0===e?{}:e).cacheSize;a(t),this._cache=new Map,this._cacheSize=t}var t=e.prototype;return t.set=function(e,t){if(this._cache.set(e,t),this._cache.size>this._cacheSize){var n=this._cache.keys().next().value;this.remove(n)}},t.get=function(e){var t=this._cache.get(e);return this._cache.has(e)&&(this.remove(e),this._cache.set(e,t)),t},t.remove=function(e){this._cache.delete(e)},t.clear=function(){this._cache.clear()},e}();e.FifoCacheObject=u,e.FifoMapCache=s,e.FifoObjectCache=u,e.FlatCacheObject=r,e.FlatMapCache=h,e.FlatObjectCache=r,e.LruCacheObject=l,e.LruMapCache=l,e.LruObjectCache=f,e.createStructuredCachedSelector=function(e){return t.createStructuredSelector(e,o)},e.default=o,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(97698))},90371:(e,t,n)=>{"use strict";n.d(t,{ZO:()=>L,$6:()=>k,RE:()=>q,gw:()=>F,rM:()=>x,v_:()=>z,gz:()=>O,Ys:()=>j,qn:()=>w,ib:()=>K,Fm:()=>P,A7:()=>V});var r=function(e){return"@@redux-saga/"+e},c=r("CANCEL_PROMISE"),i=r("IO"),o=r("MULTICAST"),a=r("SELF_CANCELLATION"),u=function(e){return"function"==typeof e},f=function(e){return"string"==typeof e},h=Array.isArray,s=function e(t){return t&&(f(t)||v(t)||u(t)||h(t)&&t.every(e))},l=function(e){return e&&u(e.take)&&u(e.close)},v=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};const p=function(e,t){var n;void 0===t&&(t=!0);var r=new Promise((function(r){n=setTimeout(r,e,t)}));return r[c]=function(){clearTimeout(n)},r};var y=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var d=function(e){throw e},g=function(e){return{value:e,done:!0}},_="TAKE",S="CALL",m="FORK",C="SELECT",b=function(e,t){var n;return(n={})[i]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function w(e,t){return void 0===e&&(e="*"),s(e)?b(_,{pattern:e}):l(n=e)&&n[o]&&null!=t&&s(t)?b(_,{channel:e,pattern:t}):l(e)?b(_,{channel:e}):void 0;var n}function O(e,t){return null==t&&(t=e,e=void 0),b("PUT",{channel:e,action:t})}function k(e){var t=b("ALL",e);return t.combinator=!0,t}function A(e,t){var n,r=null;return u(e)?n=e:(h(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&f(n)&&u(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function q(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(S,A(e,n))}function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(m,A(e,n))}function z(e){return b("JOIN",e)}function E(e){return void 0===e&&(e=a),b("CANCEL",e)}function j(e){void 0===e&&(e=y);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(C,{selector:e,args:n})}function L(e,t){return b("ACTION_CHANNEL",{pattern:e,buffer:t})}var F=q.bind(null,p),M=function(e){return{done:!0,value:e}},I={};function N(e){return l(e)?"channel":u(t=e)&&t.hasOwnProperty("toString")?String(e):u(e)?e.name:String(e);var t}function T(e,t,n){var r,c,i,o=t;function a(t,n){if(o===I)return M(t);if(n&&!c)throw o=I,n;r&&r(t);var a=n?e[c](n):e[o]();return o=a.nextState,i=a.effect,r=a.stateUpdater,c=a.errorState,o===I?M(t):i}return function(e,t,n){void 0===t&&(t=d),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:g,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}(a,(function(e){return a(null,e)}),n)}function U(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var i,o={done:!1,value:w(e)},a=function(e){return{done:!1,value:x.apply(void 0,[t].concat(r,[e]))}},u=function(e){return i=e};return T({q1:function(){return{nextState:"q2",effect:o,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:a(i)}}},"q1","takeEvery("+N(e)+", "+t.name+")")}function H(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var i,o,a={done:!1,value:w(e)},u=function(e){return{done:!1,value:x.apply(void 0,[t].concat(r,[e]))}},f=function(e){return{done:!1,value:E(e)}},h=function(e){return i=e},s=function(e){return o=e};return T({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return i?{nextState:"q3",effect:f(i)}:{nextState:"q1",effect:u(o),stateUpdater:h}},q3:function(){return{nextState:"q1",effect:u(o),stateUpdater:h}}},"q1","takeLatest("+N(e)+", "+t.name+")")}function R(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];var i,o={done:!1,value:w(e)},a=function(e){return{done:!1,value:q.apply(void 0,[t].concat(r,[e]))}},u=function(e){return i=e};return T({q1:function(){return{nextState:"q2",effect:o,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:a(i)}}},"q1","takeLeading("+N(e)+", "+t.name+")")}function K(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];return x.apply(void 0,[U,e,t].concat(r))}function P(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];return x.apply(void 0,[H,e,t].concat(r))}function V(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];return x.apply(void 0,[R,e,t].concat(r))}},97698:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createSelector:()=>u,createSelectorCreator:()=>a,createStructuredSelector:()=>f,defaultEqualityCheck:()=>c,defaultMemoize:()=>i});var r="NOT_FOUND",c=function(e,t){return e===t};function i(e,t){var n,i,o="object"==typeof t?t:{equalityCheck:t},a=o.equalityCheck,u=void 0===a?c:a,f=o.maxSize,h=void 0===f?1:f,s=o.resultEqualityCheck,l=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,c=0;c<r;c++)if(!e(t[c],n[c]))return!1;return!0}}(u),v=1===h?(n=l,{get:function(e){return i&&n(i.key,e)?i.value:r},put:function(e,t){i={key:e,value:t}},getEntries:function(){return i?[i]:[]},clear:function(){i=void 0}}):function(e,t){var n=[];function c(e){var c=n.findIndex((function(n){return t(e,n.key)}));if(c>-1){var i=n[c];return c>0&&(n.splice(c,1),n.unshift(i)),i.value}return r}return{get:c,put:function(t,i){c(t)===r&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(h,l);function p(){var t=v.get(arguments);if(t===r){if(t=e.apply(null,arguments),s){var n=v.getEntries(),c=n.find((function(e){return s(e.value,t)}));c&&(t=c.value)}v.put(arguments,t)}return t}return p.clearCache=function(){return v.clear()},p}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var c=function(){for(var t=arguments.length,r=new Array(t),c=0;c<t;c++)r[c]=arguments[c];var i,a=0,u={memoizeOptions:void 0},f=r.pop();if("object"==typeof f&&(u=f,f=r.pop()),"function"!=typeof f)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof f+"]");var h=u,s=h.memoizeOptions,l=void 0===s?n:s,v=Array.isArray(l)?l:[l],p=o(r),y=e.apply(void 0,[function(){return a++,f.apply(null,arguments)}].concat(v)),d=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return i=y.apply(null,e)}));return Object.assign(d,{resultFunc:f,memoizedResultFunc:y,dependencies:p,lastResult:function(){return i},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),d};return c}var u=a(i),f=function(e,t){if(void 0===t&&(t=u),"object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e),r=t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}));return r}}}]);