PageSourceSearch

https://www.grattaevinci.com/_next/static/chunks/1moanpsu6njh8.js

js grattaevinci.com collected 2026-10-02 22:49:10 UTC 114,644 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,32189,(t,n,e)=>{"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(t,n,e)=>{"use strict";var r=t.r(32189);function o(){}function i(){}i.resetWarningCache=o,n.exports=function(){function t(t,n,e,o,i,a){if(a!==r){var u=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},45009,(t,n,e)=>{n.exports=t.r(65156)()},56623,t=>{"use strict";let n,e,r,o;t.s([],29133),t.i(29133);class i{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){let n=this._partials,e=0;for(let r=0;r<this._n&&r<32;r++){let o=n[r],i=t+o,a=Math.abs(t)<Math.abs(o)?t-(i-o):o-(i-t);a&&(n[e++]=a),t=i}return n[e]=t,this._n=e+1,this}valueOf(){let t=this._partials,n=this._n,e,r,o,i=0;if(n>0){for(i=t[--n];n>0&&(i=(e=i)+(r=t[--n]),!(o=r-(i-e))););n>0&&(o<0&&t[n-1]<0||o>0&&t[n-1]>0)&&(e=i+(r=2*o),r==e-i&&(i=e))}return i}}var a=Math.PI,u=a/2,l=a/4,c=2*a,s=180/a,f=a/180,h=Math.abs,p=Math.atan,d=Math.atan2,g=Math.cos,v=Math.ceil,m=Math.exp,y=Math.hypot,x=Math.log,_=Math.pow,w=Math.sin,b=Math.sign||function(t){return t>0?1:t<0?-1:0},E=Math.sqrt,M=Math.tan;function S(t){return t>1?0:t<-1?a:Math.acos(t)}function k(t){return t>1?u:t<-1?-u:Math.asin(t)}function N(){}function j(t,n){t&&C.hasOwnProperty(t.type)&&C[t.type](t,n)}var A={Feature:function(t,n){j(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,o=e.length;++r<o;)j(e[r].geometry,n)}},C={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){P(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)P(e[r],n,0)},Polygon:function(t,n){T(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)T(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,o=e.length;++r<o;)j(e[r],n)}};function P(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 T(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)P(t[e],n,1);n.polygonEnd()}function z(t,n){t&&A.hasOwnProperty(t.type)?A[t.type](t,n):j(t,n)}var O,$,R,L,q,G=new i,I=new i,D={point:N,lineStart:N,lineEnd:N,polygonStart:function(){G=new i,D.lineStart=B,D.lineEnd=F},polygonEnd:function(){var t=+G;I.add(t<0?c+t:t),this.lineStart=this.lineEnd=this.point=N},sphere:function(){I.add(c)}};function B(){D.point=X}function F(){V(O,$)}function X(t,n){D.point=V,O=t,$=n,t*=f,n*=f,R=t,L=g(n=n/2+l),q=w(n)}function V(t,n){t*=f,n*=f;var e=t-R,r=e>=0?1:-1,o=r*e,i=g(n=n/2+l),a=w(n),u=q*a,c=L*i+u*g(o),s=u*r*w(o);G.add(d(s,c)),R=t,L=i,q=a}function Y(t){return[d(t[1],t[0]),k(t[2])]}function U(t){var n=t[0],e=t[1],r=g(e);return[r*g(n),r*w(n),w(e)]}function H(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function W(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 Z(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function K(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function Q(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 J={point:tt,lineStart:te,lineEnd:tr,polygonStart:function(){J.point=to,J.lineStart=ti,J.lineEnd=ta,nc=new i,D.polygonStart()},polygonEnd:function(){D.polygonEnd(),J.point=tt,J.lineStart=te,J.lineEnd=tr,G<0?(nn=-(nr=180),ne=-(no=90)):nc>1e-6?no=90:nc<-1e-6&&(ne=-90),nf[0]=nn,nf[1]=nr},sphere:function(){nn=-(nr=180),ne=-(no=90)}};function tt(t,n){ns.push(nf=[nn=t,nr=t]),n<ne&&(ne=n),n>no&&(no=n)}function tn(t,n){var e=U([t*f,n*f]);if(nl){var r=W(nl,e),o=W([r[1],-r[0],0],r);Q(o),o=Y(o);var i,a=t-ni,u=a>0?1:-1,l=o[0]*s*u,c=h(a)>180;c^(u*ni<l&&l<u*t)?(i=o[1]*s)>no&&(no=i):c^(u*ni<(l=(l+360)%360-180)&&l<u*t)?(i=-o[1]*s)<ne&&(ne=i):(n<ne&&(ne=n),n>no&&(no=n)),c?t<ni?tu(nn,t)>tu(nn,nr)&&(nr=t):tu(t,nr)>tu(nn,nr)&&(nn=t):nr>=nn?(t<nn&&(nn=t),t>nr&&(nr=t)):t>ni?tu(nn,t)>tu(nn,nr)&&(nr=t):tu(t,nr)>tu(nn,nr)&&(nn=t)}else ns.push(nf=[nn=t,nr=t]);n<ne&&(ne=n),n>no&&(no=n),nl=e,ni=t}function te(){J.point=tn}function tr(){nf[0]=nn,nf[1]=nr,J.point=tt,nl=null}function to(t,n){if(nl){var e=t-ni;nc.add(h(e)>180?e+(e>0?360:-360):e)}else na=t,nu=n;D.point(t,n),tn(t,n)}function ti(){D.lineStart()}function ta(){to(na,nu),D.lineEnd(),h(nc)>1e-6&&(nn=-(nr=180)),nf[0]=nn,nf[1]=nr,nl=null}function tu(t,n){return(n-=t)<0?n+360:n}function tl(t,n){return t[0]-n[0]}function tc(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}var ts={sphere:N,point:tf,lineStart:tp,lineEnd:tv,polygonStart:function(){ts.lineStart=tm,ts.lineEnd=ty}
1,polygonEnd:function(){ts.lineStart=tp,ts.lineEnd=tv}};function tf(t,n){t*=f;var e=g(n*=f);th(e*g(t),e*w(t),w(n))}function th(t,n,e){++nh,nd+=(t-nd)/nh,ng+=(n-ng)/nh,nv+=(e-nv)/nh}function tp(){ts.point=td}function td(t,n){t*=f;var e=g(n*=f);nS=e*g(t),nk=e*w(t),nN=w(n),ts.point=tg,th(nS,nk,nN)}function tg(t,n){t*=f;var e=g(n*=f),r=e*g(t),o=e*w(t),i=w(n),a=d(E((a=nk*i-nN*o)*a+(a=nN*r-nS*i)*a+(a=nS*o-nk*r)*a),nS*r+nk*o+nN*i);np+=a,nm+=a*(nS+(nS=r)),ny+=a*(nk+(nk=o)),nx+=a*(nN+(nN=i)),th(nS,nk,nN)}function tv(){ts.point=tf}function tm(){ts.point=tx}function ty(){t_(nE,nM),ts.point=tf}function tx(t,n){nE=t,nM=n,t*=f,n*=f,ts.point=t_;var e=g(n);nS=e*g(t),nk=e*w(t),nN=w(n),th(nS,nk,nN)}function t_(t,n){t*=f;var e=g(n*=f),r=e*g(t),o=e*w(t),i=w(n),a=nk*i-nN*o,u=nN*r-nS*i,l=nS*o-nk*r,c=y(a,u,l),s=k(c),h=c&&-s/c;n_.add(h*a),nw.add(h*u),nb.add(h*l),np+=s,nm+=s*(nS+(nS=r)),ny+=s*(nk+(nk=o)),nx+=s*(nN+(nN=i)),th(nS,nk,nN)}function tw(t){return function(){return t}}function tb(t,n){function e(e,r){return n((e=t(e,r))[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 tE(t,n){return h(t)>a&&(t-=Math.round(t/c)*c),[t,n]}function tM(t,n,e){return(t%=c)?n||e?tb(tk(t),tN(n,e)):tk(t):n||e?tN(n,e):tE}function tS(t){return function(n,e){return h(n+=t)>a&&(n-=Math.round(n/c)*c),[n,e]}}function tk(t){var n=tS(t);return n.invert=tS(-t),n}function tN(t,n){var e=g(t),r=w(t),o=g(n),i=w(n);function a(t,n){var a=g(n),u=g(t)*a,l=w(t)*a,c=w(n),s=c*e+u*r;return[d(l*o-s*i,u*e-c*r),k(s*o+l*i)]}return a.invert=function(t,n){var a=g(n),u=g(t)*a,l=w(t)*a,c=w(n),s=c*o-l*i;return[d(l*o+c*i,u*e+s*r),k(s*e-u*r)]},a}function tj(t){function n(n){return n=t(n[0]*f,n[1]*f),n[0]*=s,n[1]*=s,n}return t=tM(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),n[0]*=s,n[1]*=s,n},n}function tA(t,n,e,r,o,i){if(e){var a=g(n),u=w(n),l=r*e;null==o?(o=n+r*c,i=n-l/2):(o=tC(a,o),i=tC(a,i),(r>0?o<i:o>i)&&(o+=r*c));for(var s,f=o;r>0?f>i:f<i;f-=l)s=Y([a,-u*g(f),-u*w(f)]),t.point(s[0],s[1])}}function tC(t,n){n=U(n),n[0]-=t,Q(n);var e=S(-n[1]);return((0>-n[2]?-e:e)+c-1e-6)%c}function tP(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:N,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function tT(t,n){return 1e-6>h(t[0]-n[0])&&1e-6>h(t[1]-n[1])}function tz(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 tO(t,n,e,r,o){var i,a,u=[],l=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(tT(r,a)){if(!r[2]&&!a[2]){for(o.lineStart(),i=0;i<n;++i)o.point((r=t[i])[0],r[1]);o.lineEnd();return}a[0]+=2e-6}u.push(e=new tz(r,t,null,!0)),l.push(e.o=new tz(r,null,e,!1)),u.push(e=new tz(a,t,null,!1)),l.push(e.o=new tz(a,null,e,!0))}}),u.length){for(l.sort(n),t$(u),t$(l),i=0,a=l.length;i<a;++i)l[i].e=e=!e;for(var c,s,f=u[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;c=h.z,o.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(i=0,a=c.length;i<a;++i)o.point((s=c[i])[0],s[1]);else r(h.x,h.n.x,1,o);h=h.n}else{if(p)for(i=(c=h.p.z).length-1;i>=0;--i)o.point((s=c[i])[0],s[1]);else r(h.x,h.p.x,-1,o);h=h.p}c=(h=h.o).z,p=!p}while(!h.v)o.lineEnd()}}}function t$(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 tR(t){return h(t[0])<=a?t[0]:b(t[0])*((h(t[0])+a)%c-a)}function tL(t,n){var e=tR(n),r=n[1],o=w(r),s=[w(e),-g(e),0],f=0,h=0,p=new i;1===o?r=u+1e-6:-1===o&&(r=-u-1e-6);for(var v=0,m=t.length;v<m;++v)if(x=(y=t[v]).length)for(var y,x,_=y[x-1],b=tR(_),E=_[1]/2+l,M=w(E),S=g(E),N=0;N<x;++N,b=A,M=P,S=T,_=j){var j=y[N],A=tR(j),C=j[1]/2+l,P=w(C),T=g(C),z=A-b,O=z>=0?1:-1,$=O*z,R=$>a,L=M*P;if(p.add(d(L*O*w($),S*T+L*g($))),f+=R?z+O*c:z,R^b>=e^A>=e){var q=W(U(_),U(j));Q(q);var G=W(s,q);Q(G);var I=(R^z>=0?-1:1)*k(G[2]);(r>I||r===I&&(q[0]||q[1]))&&(h+=R^z>=0?1:-1)}}return(f<-1e-6||f<1e-6&&p<-1e-12)^1&h}function tq(t){return Array.from(function*(t){for(let n of t)yield*n}(t))}function tG(t,n,e,r){return function(o){var i,a,u,l=n(o),c=tP(),s=n(c),f=!1,h={point:p,lineStart:g,lineEnd:v,polygonStart:function(){h.point=m,h.lineStart=y,h.lineEnd=x,a=[],i=[]},polygonEnd:function(){h.point=p,h.lineStart=g,h.lineEnd=v,a=tq(a);var t=tL(i,r);a.length?(f||(o.polygonStart(),f=!0),tO(a,tD,t,e,o)):t&&(f||(o.polygonStart(),f=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),f&&(o.polygonEnd(),f=!1),a=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 d(t,n){l.point(t,n)}function g(){h.point=d,l.lineStart()}function v(){h.point=p,l.lineEnd()}function m(t,n){u.push([t,n]),s.point(t,n)}function y(){s.lineStart(),u=[]}function x(){m(u[0][0],u[0][1]),s.lineEnd();var t,n,e,r,l=s.clean(),h=c.result(),p=h.length;if(u.pop(),i.push(u),u=null,p){if(1&l){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()}return}p>1&&2&l&&h.push(h.pop().concat(h.shift())),a.push(h.filter(tI))}}return h}}function tI(t){return t.length>1}function tD(t,n){return((t=t.x)[0]<0?t[1]-u-1e-6:u-t[1])-((n=n.x)[0]<0?n[1]-u-1e-6:u-n[1])}tE.invert=tE;let tB=tG(function(){return!0},function(t){var n,e=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(i,l){var c,s,f,d,v,m,y,x=i>0?a:-a,_=h(i-e);1e-6>h(_-a)?(t.point(e,r=(r+l)/2>0?u:-u),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(x,r),t.point(i,r),n=0):o!==x&&_>=a&&(1e-6>
1h(e-o)&&(e-=1e-6*o),1e-6>h(i-x)&&(i-=1e-6*x),c=e,s=r,f=i,d=l,r=h(y=w(c-f))>1e-6?p((w(s)*(m=g(d))*w(f)-w(d)*(v=g(s))*w(c))/(v*m*y)):(s+d)/2,t.point(o,r),t.lineEnd(),t.lineStart(),t.point(x,r),n=0),t.point(e=i,r=l),o=x},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var o;if(null==t)o=e*u,r.point(-a,o),r.point(0,o),r.point(a,o),r.point(a,0),r.point(a,-o),r.point(0,-o),r.point(-a,-o),r.point(-a,0),r.point(-a,o);else if(h(t[0]-n[0])>1e-6){var i=t[0]<n[0]?a:-a;o=e*i/2,r.point(-i,o),r.point(0,o),r.point(i,o)}else r.point(n[0],n[1])},[-a,-u]);function tF(t){var n=g(t),e=2*f,r=n>0,o=h(n)>1e-6;function i(t,e){return g(t)*g(e)>n}function u(t,e,r){var o=U(t),i=U(e),u=[1,0,0],l=W(o,i),c=H(l,l),s=l[0],f=c-s*s;if(!f)return!r&&t;var p=W(u,l),d=K(u,n*c/f);Z(d,K(l,-n*s/f));var g=H(d,p),v=H(p,p),m=g*g-v*(H(d,d)-1);if(!(m<0)){var y=E(m),x=K(p,(-g-y)/v);if(Z(x,d),x=Y(x),!r)return x;var _,w=t[0],b=e[0],M=t[1],S=e[1];b<w&&(_=w,w=b,b=_);var k=b-w,N=1e-6>h(k-a);if(!N&&S<M&&(_=M,M=S,S=_),N||k<1e-6?N?M+S>0^x[1]<(1e-6>h(x[0]-w)?M:S):M<=x[1]&&x[1]<=S:k>a^(w<=x[0]&&x[0]<=b)){var j=K(p,(-g+y)/v);return Z(j,d),[x,Y(j)]}}}function l(n,e){var o=r?t:a-t,i=0;return n<-o?i|=1:n>o&&(i|=2),e<-o?i|=4:e>o&&(i|=8),i}return tG(i,function(t){var n,e,c,s,f;return{lineStart:function(){s=c=!1,f=1},point:function(h,p){var d,g,v=[h,p],m=i(h,p),y=r?m?0:l(h,p):m?l(h+(h<0?a:-a),p):0;!n&&(s=c=m)&&t.lineStart(),m!==c&&(!(g=u(n,v))||tT(n,g)||tT(v,g))&&(v[2]=1),m!==c?(f=0,m?(t.lineStart(),g=u(v,n),t.point(g[0],g[1])):(g=u(n,v),t.point(g[0],g[1],2),t.lineEnd()),n=g):o&&n&&r^m&&!(y&e)&&(d=u(v,n,!0))&&(f=0,r?(t.lineStart(),t.point(d[0][0],d[0][1]),t.point(d[1][0],d[1][1]),t.lineEnd()):(t.point(d[1][0],d[1][1]),t.lineEnd(),t.lineStart(),t.point(d[0][0],d[0][1],3))),!m||n&&tT(n,v)||t.point(v[0],v[1]),n=v,c=m,e=y},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return f|(s&&c)<<1}}},function(n,r,o,i){tA(i,t,e,o,n,r)},r?[0,-t]:[-a,t-a])}function tX(t,n,e,r){function o(o,i){return t<=o&&o<=e&&n<=i&&i<=r}function i(o,i,u,c){var s=0,f=0;if(null==o||(s=a(o,u))!==(f=a(i,u))||0>l(o,i)^u>0)do c.point(0===s||3===s?t:e,s>1?r:n);while((s=(s+u+4)%4)!==f)else c.point(i[0],i[1])}function a(r,o){return 1e-6>h(r[0]-t)?o>0?0:3:1e-6>h(r[0]-e)?o>0?2:1:1e-6>h(r[1]-n)?+(o>0):o>0?3:2}function u(t,n){return l(t.x,n.x)}function l(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(a){var l,c,s,f,h,p,d,g,v,m,y,x=a,_=tP(),w={point:b,lineStart:function(){w.point=E,c&&c.push(s=[]),m=!0,v=!1,d=g=NaN},lineEnd:function(){l&&(E(f,h),p&&v&&_.rejoin(),l.push(_.result())),w.point=b,v&&x.lineEnd()},polygonStart:function(){x=_,l=[],c=[],y=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,o=c.length;e<o;++e)for(var i,a,u=c[e],l=1,s=u.length,f=u[0],h=f[0],p=f[1];l<s;++l)i=h,a=p,h=(f=u[l])[0],p=f[1],a<=r?p>r&&(h-i)*(r-a)>(p-a)*(t-i)&&++n:p<=r&&(h-i)*(r-a)<(p-a)*(t-i)&&--n;return n}(),e=y&&n,o=(l=tq(l)).length;
1(e||o)&&(a.polygonStart(),e&&(a.lineStart(),i(null,null,1,a),a.lineEnd()),o&&tO(l,u,n,i,a),a.polygonEnd()),x=a,l=c=s=null}};function b(t,n){o(t,n)&&x.point(t,n)}function E(i,a){var u=o(i,a);if(c&&s.push([i,a]),m)f=i,h=a,p=u,m=!1,u&&(x.lineStart(),x.point(i,a));else if(u&&v)x.point(i,a);else{var l=[d=Math.max(-1e9,Math.min(1e9,d)),g=Math.max(-1e9,Math.min(1e9,g))],_=[i=Math.max(-1e9,Math.min(1e9,i)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,n,e,r,o,i){var a,u=t[0],l=t[1],c=n[0],s=n[1],f=0,h=1,p=c-u,d=s-l;if(a=e-u,!p&&a>0)return;if(a/=p,p<0){if(a<f)return;a<h&&(h=a)}else if(p>0){if(a>h)return;a>f&&(f=a)}if(a=o-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>f&&(f=a)}else if(p>0){if(a<f)return;a<h&&(h=a)}if(a=r-l,d||!(a>0)){if(a/=d,d<0){if(a<f)return;a<h&&(h=a)}else if(d>0){if(a>h)return;a>f&&(f=a)}if(a=i-l,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>f&&(f=a)}else if(d>0){if(a<f)return;a<h&&(h=a)}return f>0&&(t[0]=u+f*p,t[1]=l+f*d),h<1&&(n[0]=u+h*p,n[1]=l+h*d),!0}}}}(l,_,t,n,e,r)?u&&(x.lineStart(),x.point(i,a),y=!1):(v||(x.lineStart(),x.point(l[0],l[1])),x.point(_[0],_[1]),u||x.lineEnd(),y=!1)}d=i,g=a,v=u}return w}}var tV={sphere:N,point:N,lineStart:function(){tV.point=tU,tV.lineEnd=tY},lineEnd:N,polygonStart:N,polygonEnd:N};function tY(){tV.point=tV.lineEnd=N}function tU(t,n){t*=f,n*=f,nA=t,nC=w(n),nP=g(n),tV.point=tH}function tH(t,n){t*=f;var e=w(n*=f),r=g(n),o=h(t-nA),i=g(o),a=r*w(o),u=nP*e-nC*r*i,l=nC*e+nP*r*i;nj.add(d(E(a*a+u*u),l)),nA=t,nC=e,nP=r}function tW(t){return nj=new i,z(t,tV),+nj}var tZ=[null,null],tK={type:"LineString",coordinates:tZ};function tQ(t,n){return tZ[0]=t,tZ[1]=n,tW(tK)}var tJ={Feature:function(t,n){return t1(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,o=e.length;++r<o;)if(t1(e[r].geometry,n))return!0;return!1}},t0={Sphere:function(){return!0},Point:function(t,n){var e;return e=t.coordinates,0===tQ(e,n)},MultiPoint:function(t,n){for(var e,r=t.coordinates,o=-1,i=r.length;++o<i;){if(e=r[o],0===tQ(e,n))return!0}return!1},LineString:function(t,n){return t2(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)if(t2(e[r],n))return!0;return!1},Polygon:function(t,n){return t5(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,o=e.length;++r<o;)if(t5(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,o=e.length;++r<o;)if(t1(e[r],n))return!0;return!1}};function t1(t,n){return!!(t&&t0.hasOwnProperty(t.type))&&t0[t.type](t,n)}function t2(t,n){for(var e,r,o,i=0,a=t.length;i<a;i++){if(0===(r=tQ(t[i],n))||i>0&&(o=tQ(t[i],t[i-1]))>0&&e<=o&&r<=o&&(e+r-o)*(1-Math.pow((e-r)/o,2))<1e-12*o)return!0;e=r}return!1}function t5(t,n){return!!tL(t.map(t6),t3(n))}function t6(t){return(t=t.map(t3)).pop(),t}function t3(t){return[t[0]*f,t[1]*f]}function t9(t,n,e){t*=1,n*=1,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=Array(o);++r<o;)i[r]=t+r*e;return i}function t4(t,n,e){var r=t9(t,n-1e-6,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function t8(t,n,e){var r=t9(t,n-1e-6,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function t7(){var t,n,e,r,o,i,a,u,l,c,s,f,p=10,d=10,g=90,m=360,y=2.5;function x(){return{type:"MultiLineString",coordinates:_()}}function _(){return t9(v(r/g)*g,e,g).map(s).concat(t9(v(u/m)*m,a,m).map(f)).concat(t9(v(n/p)*p,t,p).filter(function(t){return h(t%g)>1e-6}).map(l)).concat(t9(v(i/d)*d,o,d).filter(function(t){return h(t%m)>1e-6}).map(c))}return x.lines=function(){return _().map(function(t){return{type:"LineString",coordinates:t}})},x.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(f(a).slice(1),s(e).reverse().slice(1),f(u).reverse().slice(1))]}},x.extent=function(t){return arguments.length?x.extentMajor(t).extentMinor(t):x.extentMinor()},x.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],u=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),u>a&&(t=u,u=a,a=t),x.precision(y)):[[r,u],[e,a]]},x.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],i=+e[0][1],o=+e[1][1],n>t&&(e=n,n=t,t=e),i>o&&(e=i,i=o,o=e),x.precision(y)):[[n,i],[t,o]]},x.step=function(t){return arguments.length?x.stepMajor(t).stepMinor(t):x.stepMinor()},x.stepMajor=function(t){return arguments.length?(g=+t[0],m=+t[1],x):[g,m]},x.stepMinor=function(t){return arguments.length?(p=+t[0],d=+t[1],x):[p,d]},x.precision=function(h){return arguments.length?(y=+h,l=t4(i,o,90),c=t8(n,t,y),s=t4(u,a,90),f=t8(r,e,y),x):y},x.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}let nt=t=>t;var nn,ne,nr,no,ni,na,nu,nl,nc,ns,nf,nh,np,nd,ng,nv,nm,ny,nx,n_,nw,nb,nE,nM,nS,nk,nN,nj,nA,nC,nP,nT,nz,nO,n$,nR=new i,nL=new i,nq={point:N,lineStart:N,lineEnd:N,polygonStart:function(){nq.lineStart=nG,nq.lineEnd=nB}
vendor: 10,326 bytes, line 1
1,polygonEnd:function(){nq.lineStart=nq.lineEnd=nq.point=N,nR.add(h(nL)),nL=new i},result:function(){var t=nR/2;return nR=new i,t}};function nG(){nq.point=nI}function nI(t,n){nq.point=nD,nT=nO=t,nz=n$=n}function nD(t,n){nL.add(n$*t-nO*n),nO=t,n$=n}function nB(){nD(nT,nz)}var nF=1/0,nX=1/0,nV=-1/0,nY=nV;let nU={point:function(t,n){t<nF&&(nF=t),t>nV&&(nV=t),n<nX&&(nX=n),n>nY&&(nY=n)},lineStart:N,lineEnd:N,polygonStart:N,polygonEnd:N,result:function(){var t=[[nF,nX],[nV,nY]];return nV=nY=-(nX=nF=1/0),t}};var nH,nW,nZ,nK,nQ=0,nJ=0,n0=0,n1=0,n2=0,n5=0,n6=0,n3=0,n9=0,n4={point:n8,lineStart:n7,lineEnd:ee,polygonStart:function(){n4.lineStart=er,n4.lineEnd=eo},polygonEnd:function(){n4.point=n8,n4.lineStart=n7,n4.lineEnd=ee},result:function(){var t=n9?[n6/n9,n3/n9]:n5?[n1/n5,n2/n5]:n0?[nQ/n0,nJ/n0]:[NaN,NaN];return nQ=nJ=n0=n1=n2=n5=n6=n3=n9=0,t}};function n8(t,n){nQ+=t,nJ+=n,++n0}function n7(){n4.point=et}function et(t,n){n4.point=en,n8(nZ=t,nK=n)}function en(t,n){var e=t-nZ,r=n-nK,o=E(e*e+r*r);n1+=o*(nZ+t)/2,n2+=o*(nK+n)/2,n5+=o,n8(nZ=t,nK=n)}function ee(){n4.point=n8}function er(){n4.point=ei}function eo(){ea(nH,nW)}function ei(t,n){n4.point=ea,n8(nH=nZ=t,nW=nK=n)}function ea(t,n){var e=t-nZ,r=n-nK,o=E(e*e+r*r);n1+=o*(nZ+t)/2,n2+=o*(nK+n)/2,n5+=o,n6+=(o=nK*t-nZ*n)*(nZ+t),n3+=o*(nK+n),n9+=3*o,n8(nZ=t,nK=n)}function eu(t){this._context=t}eu.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,c)}},result:N};var el,ec,es,ef,eh,ep=new i,ed={point:N,lineStart:function(){ed.point=eg},lineEnd:function(){el&&ev(ec,es),ed.point=N},polygonStart:function(){el=!0},polygonEnd:function(){el=null},result:function(){var t=+ep;return ep=new i,t}};function eg(t,n){ed.point=ev,ec=ef=t,es=eh=n}function ev(t,n){ef-=t,eh-=n,ep.add(E(ef*ef+eh*eh)),ef=t,eh=n}class em{constructor(t){this._append=null==t?ey:function(t){let r=Math.floor(t);if(!(r>=0))throw RangeError(`invalid digits: ${t}`);if(r>15)return ey;if(r!==n){let t=10**r;n=r,e=function(n){let e=1;this._+=n[0];for(let r=n.length;e<r;++e)this._+=Math.round(arguments[e]*t)/t+n[e]}}return e}(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(t,n){switch(this._point){case 0:this._append`M${t},${n}`,this._point=1;break;case 1:this._append`L${t},${n}`;break;default:if(this._append`M${t},${n}`,this._radius!==r||this._append!==e){let t=this._radius,n=this._;this._="",this._append`m0,${t}a${t},${t} 0 1,1 0,${-2*t}a${t},${t} 0 1,1 0,${2*t}z`,r=t,e=this._append,o=this._,this._=n}this._+=o}}result(){let t=this._;return this._="",t.length?t:null}}function ey(t){let n=1;this._+=t[0];for(let e=t.length;n<e;++n)this._+=arguments[n]+t[n]}function ex(t){return function(n){var e=new e_;for(var r in t)e[r]=t[r];return e.stream=n,e}}function e_(){}function ew(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),z(e,t.stream(nU)),n(nU.result()),null!=r&&t.clipExtent(r),t}function eb(t,n,e){return ew(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])),a=+n[0][0]+(r-i*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(o-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([a,u])},e)}function eE(t,n,e){return eb(t,[[0,0],n],e)}function eM(t,n,e){return ew(t,function(e){var r=+n,o=r/(e[1][0]-e[0][0]),i=(r-o*(e[1][0]+e[0][0]))/2,a=-o*e[0][1];t.scale(150*o).translate([i,a])},e)}function eS(t,n,e){return ew(t,function(e){var r=+n,o=r/(e[1][1]-e[0][1]),i=-o*e[0][0],a=(r-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([i,a])},e)}e_.prototype={constructor:e_,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 ek=g(30*f);function eN(t,n){var e;return+n?function(t,n){function e(r,o,i,a,u,l,c,s,f,p,g,v,m,y){var x=c-r,_=s-o,w=x*x+_*_;if(w>4*n&&m--){var b=a+p,M=u+g,S=l+v,N=E(b*b+M*M+S*S),j=k(S/=N),A=1e-6>h(h(S)-1)||1e-6>h(i-f)?(i+f)/2:d(M,b),C=t(A,j),P=C[0],T=C[1],z=P-r,O=T-o,$=_*z-x*O;($*$/w>n||h((x*z+_*O)/w-.5)>.3||a*p+u*g+l*v<ek)&&(e(r,o,i,a,u,l,P,T,A,b/=N,M/=N,S,m,y),y.point(P,T),e(P,T,A,b,M,S,c,s,f,p,g,v,m,y))}}return function(n){var r,o,i,a,u,l,c,s,f,h,p,d,g={point:v,lineStart:m,lineEnd:x,polygonStart:function(){n.polygonStart(),g.lineStart=_},polygonEnd:function(){n.polygonEnd(),g.lineStart=m}};function v(e,r){e=t(e,r),n.point(e[0],e[1])}function m(){s=NaN,g.point=y,n.lineStart()}function y(r,o){var i=U([r,o]),a=t(r,o);e(s,f,c,h,p,d,s=a[0],f=a[1],c=r,h=i[0],p=i[1],d=i[2],16,n),n.point(s,f)}function x(){g.point=v,n.lineEnd()}function _(){m(),g.point=w,g.lineEnd=b}function w(t,n){y(r=t,n),o=s,i=f,a=h,u=p,l=d,g.point=y}function b(){e(s,f,c,h,p,d,o,i,r,a,u,l,16,n),g.lineEnd=x,x()}return g}}(t,n):(e=t,ex({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}}))}var ej=ex({point:function(t,n){this.stream.point(t*f,n*f)}});function eA(t,n,e,r,o,i){if(!i){function a(i,a){return[n+t*(i*=r),e-t*(a*=o)]}return a.invert=function(i,a){return[(i-n)/t*r,(e-a)/t*o]},a}var u=g(i),l=w(i),c=u*t,s=l*t,f=u/t,h=l/t,p=(l*e-u*n)/t,d=(l*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*(f*t-h*n+p),o*(d-h*t-f*n)]},v}function eC(t){return eP(function(){return t})()}function eP(t){var n,e,r,o,i,a,u,l,c,h,p=150,d=480,g=250,v=0,m=0,y=0,x=0,_=0,w=0,b=1,M=1,S=null,k=tB,N=null,j=nt,A=.5;function C(t){return l(t[0]*f,t[1]*f)}function P(t){return(t=l.invert(t[0],t[1]))&&[t[0]*s,t[1]*s]}function T(){var t=eA(p,0,0,b,M,w).apply(null,n(v,m)),r=eA(p,d-t[0],g-t[1],b,M,w);return e=tM(y,x,_),u=tb(n,r),l=tb(e,u),a=eN(u,A),z()}function z(){return c=h=null,C}return C.stream=function(t){var n;return c&&h===t?c:c=ej((n=e,ex({point:function(t,e){var r=n(t,e);return this.stream.point(r[0],r[1])}}))(k(a(j(h=t)))))},C.preclip=function(t){return arguments.length?(k=t,S=void 0,z()):k},C.postclip=function(t){return arguments.length?(j=t,N=r=o=i=null,z()):j},C.clipAngle=function(t){return arguments.length?(k=+t?tF(S=t*f):(S=null,tB),z()):S*s},C.clipExtent=function(t){return arguments.length?(j=null==t?(N=r=o=i=null,nt):tX(N=+t[0][0],r=+t[0][1],o=+t[1][0],i=+t[1][1]),z()):null==N?null:[[N,r],[o,i]]},C.scale=function(t){return arguments.length?(p=+t,T()):p},C.translate=function(t){return arguments.length?(d=+t[0],g=+t[1],T()):[d,g]},C.center=function(t){return arguments.length?(v=t[0]%360*f,m=t[1]%360*f,T()):[v*s,m*s]},C.rotate=function(t){return arguments.length?(y=t[0]%360*f,x=t[1]%360*f,_=t.length>2?t[2]%360*f:0,T()):[y*s,x*s,_*s]},C.angle=function(t){return arguments.length?(w=t%360*f,T()):w*s},C.reflectX=function(t){return arguments.length?(b=t?-1:1,T()):b<0},C.reflectY=function(t){return arguments.length?(M=t?-1:1,T()):M<0},C.precision=function(t){return arguments.length?(a=eN(u,A=t*t),z()):E(A)},C.fitExtent=function(t,n){return eb(C,t,n)},C.fitSize=function(t,n){return eE(C,t,n)},C.fitWidth=function(t,n){return eM(C,t,n)},C.fitHeight=function(t,n){return eS(C,t,n)},function(){return n=t.apply(this,arguments),C.invert=n.invert&&P,T()}}function eT(t){var n=0,e=a/3,r=eP(t),o=r(n,e);return o.parallels=function(t){return arguments.length?r(n=t[0]*f,e=t[1]*f):[n*s,e*s]},o}function ez(t,n){var e=w(t),r=(e+w(n))/2;if(1e-6>h(r)){var o=g(t);function i(t,n){return[t*o,w(n)/o]}return i.invert=function(t,n){return[t/o,k(n*o)]},i}var u=1+e*(2*r-e),l=E(u)/r;function c(t,n){var e=E(u-2*r*w(n))/r;return[e*w(t*=r),l-e*g(t)]}return c.invert=function(t,n){var e=l-n,o=d(t,h(e))*b(e);return e*r<0&&(o-=a*b(t)*b(e)),[o/r,k((u-(t*t+e*e)*r*r)/(2*r))]},c}function eO(){return eT(ez).scale(155.424).center([0,33.6442])}function e$(){return eO().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function eR(t){return function(n,e){var r=g(n),o=g(e),i=t(r*o);return i===1/0?[2,0]:[i*o*w(n),i*w(e)]}}function eL(t){return function(n,e){var r=E(n*n+e*e),o=t(r),i=w(o);return[d(n*i,r*g(o)),k(r&&e*i/r)]}}var eq=eR(function(t){return E(2/(1+t))});eq.invert=eL(function(t){return 2*k(t/2)});var eG=eR(function(t){return(t=S(t))&&t/w(t)});function eI(t,n){return[t,x(M((u+n)/2))]}function eD(t){var n,e,r,o=eC(t),i=o.center,u=o.scale,l=o.translate,c=o.clipExtent,s=null;function f(){var i=a*u(),l=o(tj(o.rotate()).invert([0,0]));return c(null==s?[[l[0]-i,l[1]-i],[l[0]+i,l[1]+i]]:t===eI?[[Math.max(l[0]-i,s),n],[Math.min(l[0]+i,e),r]]:[[s,Math.max(l[1]-i,n)],[e,Math.min(l[1]+i,r)]])}return o.scale=function(t){return arguments.length?(u(t),f()):u()},o.translate=function(t){return arguments.length?(l(t),f()):l()},o.center=function(t){return arguments.length?(i(t),f()):i()},o.clipExtent=function(t){return arguments.length?(null==t?s=n=e=r=null:(s=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),f()):null==s?null:[[s,n],[e,r]]},f()}function eB(t){return M((u+t)/2)}function eF(t,n){var e=g(t),r=t===n?w(t):x(e/g(n))/x(eB(n)/eB(t)),o=e*_(eB(t),r)/r;if(!r)return eI;function i(t,n){o>0?n<-u+1e-6&&(n=-u+1e-6):n>u-1e-6&&(n=u-1e-6);var e=o/_(eB(n),r);return[e*w(r*t),o-e*g(r*t)]}return i.invert=function(t,n){var e=o-n,i=b(r)*E(t*t+e*e),l=d(t,h(e))*b(e);return e*r<0&&(l-=a*b(t)*b(e)),[l/r,2*p(_(o/i,1/r))-u]},i}function eX(t,n){return[t,n]}function eV(t,n){var e=g(t),r=t===n?w(t):(e-g(n))/(n-t),o=e/r+t;if(1e-6>h(r))return eX;function i(t,n){var e=o-n,i=r*t;return[e*w(i),o-e*g(i)]}return i.invert=function(t,n){var e=o-n,i=d(t,h(e))*b(e);return e*r<0&&(i-=a*b(t)*b(e)),[i/r,o-b(r)*E(t*t+e*e)]},i}eG.invert=eL(function(t){return t}),eI.invert=function(t,n){return[t,2*p(m(n))-u]},eX.invert=eX;var eY=E(3)/2;function eU(t,n){var e=k(eY*w(n)),r=e*e,o=r*r*r;return[t*g(e)/(eY*(1.340264+-.24331799999999998*r+o*(.0062510000000000005+.034164*r))),e*(1.340264+-.081106*r+o*(893e-6+.003796
1*r))]}function eH(t,n){var e=g(n),r=g(t)*e;return[e*w(t)/r,w(n)/r]}function eW(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(-.013791+r*(.003971*e-.001529*r))),n*(1.007226+e*(.015085+r*(-.044475+.028874*e-.005916*r)))]}function eZ(t,n){return[g(n)*w(t),w(n)]}function eK(t,n){var e=g(n),r=1+g(t)*e;return[e*w(t)/r,w(n)/r]}function eQ(t,n){return[x(M((u+n)/2)),-t]}eU.invert=function(t,n){for(var e,r,o=n,i=o*o,a=i*i*i,u=0;u<12&&(r=o*(1.340264+-.081106*i+a*(893e-6+.003796*i))-n,o-=e=r/(1.340264+-.24331799999999998*i+a*(.0062510000000000005+.034164*i)),a=(i=o*o)*i*i,!(1e-12>h(e)));++u);return[eY*t*(1.340264+-.24331799999999998*i+a*(.0062510000000000005+.034164*i))/g(o),k(w(o)/eY)]},eH.invert=eL(p),eW.invert=function(t,n){var e,r=n,o=25;do{var i=r*r,a=i*i;r-=e=(r*(1.007226+i*(.015085+a*(-.044475+.028874*i-.005916*a)))-n)/(1.007226+i*(.045255+a*(-.311325+.259866*i-.005916*11*a)))}while(h(e)>1e-6&&--o>0)return[t/(.8707+(i=r*r)*(-.131979+i*(-.013791+i*i*i*(.003971-.001529*i)))),r]},eZ.invert=eL(k),eK.invert=eL(function(t){return 2*p(t)}),eQ.invert=function(t,n){return[-n,2*p(m(t))-u]},t.s(["geoAlbers",0,e$,"geoAlbersUsa",0,function(){var t,n,e,r,o,i,a=e$(),u=eO().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=eO().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,n){i=[t,n]}};function s(t){var n=t[0],a=t[1];return i=null,e.point(n,a),i||(r.point(n,a),i)||(o.point(n,a),i)}function f(){return t=n=null,s}return s.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?u:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:a).invert(t)},s.stream=function(e){var r,o;return t&&n===e?t:(o=(r=[a.stream(n=e),u.stream(e),l.stream(e)]).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()}})},s.precision=function(t){return arguments.length?(a.precision(t),u.precision(t),l.precision(t),f()):a.precision()},s.scale=function(t){return arguments.length?(a.scale(t),u.scale(.35*t),l.scale(t),s.translate(a.translate())):a.scale()},s.translate=function(t){if(!arguments.length)return a.translate();var n=a.scale(),i=+t[0],s=+t[1];return e=a.translate(t).clipExtent([[i-.455*n,s-.238*n],[i+.455*n,s+.238*n]]).stream(c),r=u.translate([i-.307*n,s+.201*n]).clipExtent([[i-.425*n+1e-6,s+.12*n+1e-6],[i-.214*n-1e-6,s+.234*n-1e-6]]).stream(c),o=l.translate([i-.205*n,s+.212*n]).clipExtent([[i-.214*n+1e-6,s+.166*n+1e-6],[i-.115*n-1e-6,s+.234*n-1e-6]]).stream(c),f()},s.fitExtent=function(t,n){return eb(s,t,n)},s.fitSize=function(t,n){return eE(s,t,n)},s.fitWidth=function(t,n){return eM(s,t,n)},s.fitHeight=function(t,n){return eS(s,t,n)},s.scale(1070)},"geoArea",0,function(t){return I=new i,z(t,D),2*I},"geoAzimuthalEqualArea",0,function(){return eC(eq).scale(124.75).clipAngle(179.999)},"geoAzimuthalEqualAreaRaw",0,eq,"geoAzimuthalEquidistant",0,function(){return eC(eG).scale(79.4188).clipAngle(179.999)},"geoAzimuthalEquidistantRaw",0,eG,"geoBounds",0,function(t){var n,e,r,o,i,a,u;if(no=nr=-(nn=ne=1/0),ns=[],z(t,J),e=ns.length){for(ns.sort(tl),n=1,i=[r=ns[0]];n<e;++n)tc(r,(o=ns[n])[0])||tc(r,o[1])?(tu(r[0],o[1])>tu(r[0],r[1])&&(r[1]=o[1]),tu(o[0],r[1])>tu(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,e=i.length-1,n=0,r=i[e];n<=e;r=o,++n)o=i[n],(u=tu(r[1],o[0]))>a&&(a=u,nn=o[0],nr=r[1])}return ns=nf=null,nn===1/0||ne===1/0?[[NaN,NaN],[NaN,NaN]]:[[nn,ne],[nr,no]]},"geoCentroid",0,function(t){nh=np=nd=ng=nv=nm=ny=nx=0,n_=new i,nw=new i,nb=new i,z(t,ts);var n=+n_,e=+nw,r=+nb,o=y(n,e,r);return o<1e-12&&(n=nm,e=ny,r=nx,np<1e-6&&(n=nd,e=ng,r=nv),(o=y(n,e,r))<1e-12)?[NaN,NaN]:[d(e,n)*s,k(r/o)*s]},"geoCircle",0,function(){var t,n,e=tw([0,0]),r=tw(90),o=tw(2),i={point:function(e,r){t.push(e=n(e,r)),e[0]*=s,e[1]*=s}};function a(){var a=e.apply(this,arguments),u=r.apply(this,arguments)*f,l=o.apply(this,arguments)*f;return t=[],n=tM(-a[0]*f,-a[1]*f,0).invert,tA(i,u,l,1),a={type:"Polygon",coordinates:[t]},t=n=null,a}return a.center=function(t){return arguments.length?(e="function"==typeof t?t:tw([+t[0],+t[1]]),a):e},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:tw(+t),a):r},a.precision=function(t){return arguments.length?(o="function"==typeof t?t:tw(+t),a):o},a},"geoClipAntimeridian",0,tB,"geoClipCircle",0,tF,"geoClipExtent",0,function(){var t,n,e,r=0,o=0,i=960,a=500;
1return e={stream:function(e){return t&&n===e?t:t=tX(r,o,i,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],t=n=null,e):[[r,o],[i,a]]}}},"geoClipRectangle",0,tX,"geoConicConformal",0,function(){return eT(eF).scale(109.5).parallels([30,30])},"geoConicConformalRaw",0,eF,"geoConicEqualArea",0,eO,"geoConicEqualAreaRaw",0,ez,"geoConicEquidistant",0,function(){return eT(eV).scale(131.154).center([0,13.9389])},"geoConicEquidistantRaw",0,eV,"geoContains",0,function(t,n){return(t&&tJ.hasOwnProperty(t.type)?tJ[t.type]:t1)(t,n)},"geoDistance",0,tQ,"geoEqualEarth",0,function(){return eC(eU).scale(177.158)},"geoEqualEarthRaw",0,eU,"geoEquirectangular",0,function(){return eC(eX).scale(152.63)},"geoEquirectangularRaw",0,eX,"geoGnomonic",0,function(){return eC(eH).scale(144.049).clipAngle(60)},"geoGnomonicRaw",0,eH,"geoGraticule",0,t7,"geoGraticule10",0,function(){return t7()()},"geoIdentity",0,function(){var t,n,e,r,o,i,a,u=1,l=0,c=0,h=1,p=1,d=0,v=null,m=1,y=1,x=ex({point:function(t,n){var e=E([t,n]);this.stream.point(e[0],e[1])}}),_=nt;function b(){return m=u*h,y=u*p,i=a=null,E}function E(e){var r=e[0]*m,o=e[1]*y;if(d){var i=o*t-r*n;r=r*t+o*n,o=i}return[r+l,o+c]}return E.invert=function(e){var r=e[0]-l,o=e[1]-c;if(d){var i=o*t+r*n;r=r*t-o*n,o=i}return[r/m,o/y]},E.stream=function(t){return i&&a===t?i:i=x(_(a=t))},E.postclip=function(t){return arguments.length?(_=t,v=e=r=o=null,b()):_},E.clipExtent=function(t){return arguments.length?(_=null==t?(v=e=r=o=null,nt):tX(v=+t[0][0],e=+t[0][1],r=+t[1][0],o=+t[1][1]),b()):null==v?null:[[v,e],[r,o]]},E.scale=function(t){return arguments.length?(u=+t,b()):u},E.translate=function(t){return arguments.length?(l=+t[0],c=+t[1],b()):[l,c]},E.angle=function(e){return arguments.length?(n=w(d=e%360*f),t=g(d),b()):d*s},E.reflectX=function(t){return arguments.length?(h=t?-1:1,b()):h<0},E.reflectY=function(t){return arguments.length?(p=t?-1:1,b()):p<0},E.fitExtent=function(t,n){return eb(E,t,n)},E.fitSize=function(t,n){return eE(E,t,n)},E.fitWidth=function(t,n){return eM(E,t,n)},E.fitHeight=function(t,n){return eS(E,t,n)},E},"geoInterpolate",0,function(t,n){var e,r,o=t[0]*f,i=t[1]*f,a=n[0]*f,u=n[1]*f,l=g(i),c=w(i),h=g(u),p=w(u),v=l*g(o),m=l*w(o),y=h*g(a),x=h*w(a),_=2*k(E((e=w((e=u-i)/2))*e+l*h*((r=w((r=a-o)/2))*r))),b=w(_),M=_?function(t){var n=w(t*=_)/b,e=w(_-t)/b,r=e*v+n*y,o=e*m+n*x;return[d(o,r)*s,d(e*c+n*p,E(r*r+o*o))*s]}:function(){return[o*s,i*s]};return M.distance=_,M},"geoLength",0,tW,"geoMercator",0,function(){return eD(eI).scale(961/c)},"geoMercatorRaw",0,eI,"geoNaturalEarth1",0,function(){return eC(eW).scale(175.295)},"geoNaturalEarth1Raw",0,eW,"geoOrthographic",0,function(){return eC(eZ).scale(249.5).clipAngle(90.000001)},"geoOrthographicRaw",0,eZ,"geoPath",0,function(t,n){let e=3,r=4.5,o,i;function a(t){return t&&("function"==typeof r&&i.pointRadius(+r.apply(this,arguments)),z(t,o(i))),i.result()}return a.area=function(t){return z(t,o(nq)),nq.result()},a.measure=function(t){return z(t,o(ed)),ed.result()},a.bounds=function(t){return z(t,o(nU)),nU.result()},a.centroid=function(t){return z(t,o(n4)),n4.result()},a.projection=function(n){return arguments.length?(o=null==n?(t=null,nt):(t=n).stream,a):t},a.context=function(t){return arguments.length?(i=null==t?(n=null,new em(e)):new eu(n=t),"function"!=typeof r&&i.pointRadius(r),a):n},a.pointRadius=function(t){return arguments.length?(r="function"==typeof t?t:(i.pointRadius(+t),+t),a):r},a.digits=function(t){if(!arguments.length)return e;if(null==t)e=null;else{let n=Math.floor(t);if(!(n>=0))throw RangeError(`invalid digits: ${t}`);e=n}return null===n&&(i=new em(e)),a},a.projection(t).digits(e).context(n)},"geoProjection",0,eC,"geoProjectionMutator",0,eP,"geoRotation",0,tj,"geoStereographic",0,function(){return eC(eK).scale(250).clipAngle(142)},"geoStereographicRaw",0,eK,"geoStream",0,z,"geoTransform",0,function(t){return{stream:ex(t)}},"geoTransverseMercator",0,function(){var t=eD(eQ),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)},"geoTransverseMercatorRaw",0,eQ],56623)},74583,t=>{"use strict";function n(t){return t}function e(t){if(null==t)return n;var e,r,o=t.scale[0],i=t.scale[1],a=t.translate[0],u=t.translate[1];return function(t,n){n||(e=r=0);var l=2,c=t.length,s=Array(c);for(s[0]=(e+=t[0])*o+a,s[1]=(r+=t[1])*i+u;l<c;)s[l]=t[l],++l;return s}}function r(t){var n,r=e(t.transform),o=1/0,i=1/0,a=-1/0,u=-1/0;function l(t){(t=r(t))[0]<o&&(o=t[0]),t[0]>a&&(a=t[0]),t[1]<i&&(i=t[1]),t[1]>u&&(u=t[1])}for(n in t.arcs.forEach(function(t){for(var n,e=-1,l=t.length;++e<l;)(n=r(t[e],e))[0]<o&&(o=n[0]),n[0]>a&&(a=n[0]),n[1]<i&&(i=n[1]),n[1]>u&&(u=n[1])}),t.objects)!function t(n){switch(n.type){case"GeometryCollection":n.geometries.forEac
1h(t);break;case"Point":l(n.coordinates);break;case"MultiPoint":n.coordinates.forEach(l)}}(t.objects[n]);return[o,i,a,u]}function o(t,n){var e=n.id,r=n.bbox,o=null==n.properties?{}:n.properties,a=i(t,n);return null==e&&null==r?{type:"Feature",properties:o,geometry:a}:null==r?{type:"Feature",id:e,properties:o,geometry:a}:{type:"Feature",id:e,bbox:r,properties:o,geometry:a}}function i(t,n){var r=e(t.transform),o=t.arcs;function i(t){return r(t)}function a(t){for(var n=[],e=0,i=t.length;e<i;++e)!function(t,n){n.length&&n.pop();for(var e=o[t<0?~t:t],i=0,a=e.length;i<a;++i)n.push(r(e[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,a)}(t[e],n);return n.length<2&&n.push(n[0]),n}function u(t){for(var n=a(t);n.length<4;)n.push(n[0]);return n}function l(t){return t.map(u)}return function t(n){var e,r=n.type;switch(r){case"GeometryCollection":return{type:r,geometries:n.geometries.map(t)};case"Point":e=i(n.coordinates);break;case"MultiPoint":e=n.coordinates.map(i);break;case"LineString":e=a(n.arcs);break;case"MultiLineString":e=n.arcs.map(a);break;case"Polygon":e=l(n.arcs);break;case"MultiPolygon":e=n.arcs.map(l);break;default:return null}return{type:r,coordinates:e}}(n)}function a(t,n){var e={},r={},o={},i=[],a=-1;function u(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[++a],n[a]=e,n[r]=o)}),n.forEach(function(n){var e,i,a,u,l,c,s=(e=n,u=(a=t.arcs[e<0?~e:e])[0],t.transform?(i=[0,0],a.forEach(function(t){i[0]+=t[0],i[1]+=t[1]})):i=a[a.length-1],e<0?[i,u]:[u,i]),f=s[0],h=s[1];if(l=o[f])if(delete o[l.end],l.push(n),l.end=h,c=r[h]){delete r[c.start];var p=c===l?l:l.concat(c);r[p.start=l.start]=o[p.end=c.end]=p}else r[l.start]=o[l.end]=l;else if(l=r[h])if(delete r[l.start],l.unshift(n),l.start=f,c=o[f]){delete o[c.end];var d=c===l?l:c.concat(l);r[d.start=c.start]=o[d.end=l.end]=d}else r[l.start]=o[l.end]=l;else r[(l=[n]).start=f]=o[l.end=h]=l}
vendor: 1,691 bytes, line 1
1),u(o,r),u(r,o),n.forEach(function(t){e[t<0?~t:t]||i.push([t])}),i}function u(t,n,e){var r,o,i;if(arguments.length>1)r=function(t,n){var e,r=[],o=[];function i(t){var n=t<0?~t:t;(o[n]||(o[n]=[])).push({i:t,g:e})}function a(t){t.forEach(i)}function u(t){t.forEach(a)}return!function t(n){switch(e=n,n.type){case"GeometryCollection":n.geometries.forEach(t);break;case"LineString":a(n.arcs);break;case"MultiLineString":case"Polygon":u(n.arcs);break;case"MultiPolygon":n.arcs.forEach(u)}}(t),o.forEach(null==n?function(t){r.push(t[0].i)}:function(t){n(t[0].g,t[t.length-1].g)&&r.push(t[0].i)}),r}(n,e);else for(o=0,r=Array(i=t.arcs.length);o<i;++o)r[o]=o;return{type:"MultiLineString",arcs:a(t,r)}}function l(t,n){var e={},r=[],o=[];function u(t){t.forEach(function(n){n.forEach(function(n){(e[n=n<0?~n:n]||(e[n]=[])).push(t)})}),r.push(t)}function l(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)}(i(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":u(n.arcs);break;case"MultiPolygon":n.arcs.forEach(u)}}),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=a(t,o)).length)>1)for(var i,u,c=1,s=l(o[0]);c<r;++c)(i=l(o[c]))>s&&(u=o[0],o[0]=o[c],o[c]=u,s=i);return o}
1).filter(function(t){return t.length>0})}}function c(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 s(t){if(null==t)return n;var e,r,o=t.scale[0],i=t.scale[1],a=t.translate[0],u=t.translate[1];return function(t,n){n||(e=r=0);var l=2,c=t.length,s=Array(c),f=Math.round((t[0]-a)/o),h=Math.round((t[1]-u)/i);for(s[0]=f-e,e=f,s[1]=h-r,r=h;l<c;)s[l]=t[l],++l;return s}}t.s([],7358),t.i(7358),t.s(["bbox",0,r,"feature",0,function(t,n){return"string"==typeof n&&(n=t.objects[n]),"GeometryCollection"===n.type?{type:"FeatureCollection",features:n.geometries.map(function(n){return o(t,n)})}:o(t,n)},"merge",0,function(t){return i(t,l.apply(this,arguments))},"mergeArcs",0,l,"mesh",0,function(t){return i(t,u.apply(this,arguments))},"meshArcs",0,u,"neighbors",0,function(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 a 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 u=n[a],l=u.length,s=0;s<l;++s)for(var f=s+1;f<l;++f){var h,p=u[s],d=u[f];(h=e[p])[a=c(h,d)]!==d&&h.splice(a,0,d),(h=e[d])[a=c(h,p)]!==p&&h.splice(a,0,p)}return e},"quantize",0,function(t,n){if(t.transform)throw Error("already quantized");if(n&&n.scale)l=t.bbox;else{if(!((e=Math.floor(n))>=2))throw Error("n must be ≥2");var e,o=(l=t.bbox||r(t))[0],i=l[1],a=l[2],u=l[3];n={scale:[a-o?(a-o)/(e-1):1,u-i?(u-i)/(e-1):1],translate:[o,i]}}var l,c,f=s(n),h=t.objects,p={};function d(t){return f(t)}for(c in h)p[c]=function t(n){var e;switch(n.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:n.geometries.map(t)};break;case"Point":e={type:"Point",coordinates:d(n.coordinates)};break;case"MultiPoint":e={type:"MultiPoint",coordinates:n.coordinates.map(d)};break;default:return n}return null!=n.id&&(e.id=n.id),null!=n.bbox&&(e.bbox=n.bbox),null!=n.properties&&(e.properties=n.properties),e}(h[c]);return{type:"Topology",bbox:l,transform:n,objects:p,arcs:t.arcs.map(function(t){var n,e=0,r=1,o=t.length,i=Array(o);for(i[0]=f(t[0],0);++e<o;)((n=f(t[e],e))[0]||n[1])&&(i[r++]=n);return 1===r&&(i[r++]=[0,0]),i.length=r,i})}},"transform",0,e,"untransform",0,s],74583)},5969,75264,57161,7027,78280,34449,76089,66068,9765,13154,48708,23243,32846,t=>{"use strict";function n(){}function e(t){return null==t?n:function(){return this.querySelector(t)}}function r(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function o(){return[]}function i(t){return null==t?o:function(){return this.querySelectorAll(t)}}function a(t){return function(){return this.matches(t)}}function u(t){return function(n){return n.matches(t)}}t.s(["Selection",()=>B,"default",()=>X,"root",()=>D],48708),t.s(["default",0,e],75264),t.s(["default",0,r],57161),t.s(["default",0,i],7027),t.s(["childMatcher",0,u,"default",0,a],78280);var l=Array.prototype.find;function c(){return this.firstElementChild}var s=Array.prototype.filter;function f(){return Array.from(this.children)}function h(t){return Array(t.length)}function p(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function d(t,n,e,r,o,i){for(var a,u=0,l=n.length,c=i.length;u<c;++u)(a=n[u])?(a.__data__=i[u],r[u]=a):e[u]=new p(t,i[u]);for(;u<l;++u)(a=n[u])&&(o[u]=a)}function g(t,n,e,r,o,i,a){var u,l,c,s=new Map,f=n.length,h=i.length,d=Array(f);for(u=0;u<f;++u)(l=n[u])&&(d[u]=c=a.call(l,l.__data__,u,n)+"",s.has(c)?o[u]=l:s.set(c,l));for(u=0;u<h;++u)c=a.call(t,i[u],u,i)+"",(l=s.get(c))?(r[u]=l,l.__data__=i[u],s.delete(c)):e[u]=new p(t,i[u]);for(u=0;u<f;++u)(l=n[u])&&s.get(d[u])===l&&(o[u]=l)}function v(t){return t.__data__}function m(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}p.prototype={constructor:p,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="http://www.w3.org/1999/xhtml";let x={svg:"http://www.w3.org/2000/svg",xhtml:y,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function _(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),x.hasOwnProperty(n)?{space:x[n],local:t}:t}function w(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function b(t,n,e){return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):E(this.node(),t)}function E(t,n){return t.style.getPropertyValue(n)||w(t).getComputedStyle(t,null).getPropertyValue(n)}function M(t){return t.trim().split(/^|\s+/)}function S(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=M(t.getAttribute("class")||"")}function N(t,n){for(var e=S(t),r=-1,o=n.length;++r<o;)e.add(n[r])}function j(t,n){for(var e=S(t),r=-1,o=n.length;++r<o;)e.remove(n[r])}function A(){this.textContent=""}function C(){this.innerHTML=""}function P(){this.nextSibling&&this.parentNode.appendChild(this)}function T(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function z(t){var n=_(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===y&&n.documentElement.namespaceURI===y?n.createElement(t):n.createElementNS(e,t)}})(n)}function O(){return null}function $(){var t=this.parentNode;t&&t.removeChild(this)}function R(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function L(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function q(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 G(t,n,e){return function(){var r,o=this.__on,i=function(t){n.call(this,t,this.__data__)};if(o){for(var a=0,u=o.length;a<u;++a)if((r=o[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=e),r.value=n;return}}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]}}function I(t,n,e){var r=w(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.dis
1patchEvent(o)}t.s(["default",0,x,"xhtml",0,y],34449),t.s(["default",0,_],76089),t.s(["default",0,w],66068),t.s(["default",0,b,"styleValue",0,E],9765),k.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},t.s(["default",0,z],13154);var D=[null];function B(t,n){this._groups=t,this._parents=n}function F(){return new B([[document.documentElement]],D)}B.prototype=F.prototype={constructor:B,select:function(t){"function"!=typeof t&&(t=e(t));for(var n=this._groups,r=n.length,o=Array(r),i=0;i<r;++i)for(var a,u,l=n[i],c=l.length,s=o[i]=Array(c),f=0;f<c;++f)(a=l[f])&&(u=t.call(a,a.__data__,f,l))&&("__data__"in a&&(u.__data__=a.__data__),s[f]=u);return new B(o,this._parents)},selectAll:function(t){if("function"==typeof t){var n;n=t,t=function(){return r(n.apply(this,arguments))}}else t=i(t);for(var e=this._groups,o=e.length,a=[],u=[],l=0;l<o;++l)for(var c,s=e[l],f=s.length,h=0;h<f;++h)(c=s[h])&&(a.push(t.call(c,c.__data__,h,s)),u.push(c));return new B(a,u)},selectChild:function(t){var n;return this.select(null==t?c:(n="function"==typeof t?t:u(t),function(){return l.call(this.children,n)}))},selectChildren:function(t){var n;return this.selectAll(null==t?f:(n="function"==typeof t?t:u(t),function(){return s.call(this.children,n)}))},filter:function(t){"function"!=typeof t&&(t=a(t));for(var n=this._groups,e=n.length,r=Array(e),o=0;o<e;++o)for(var i,u=n[o],l=u.length,c=r[o]=[],s=0;s<l;++s)(i=u[s])&&t.call(i,i.__data__,s,u)&&c.push(i);return new B(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,v);var e=n?g:d,r=this._parents,o=this._groups;"function"!=typeof t&&(w=t,t=function(){return w});for(var i=o.length,a=Array(i),u=Array(i),l=Array(i),c=0;c<i;++c){var s=r[c],f=o[c],h=f.length,p="object"==typeof(_=t.call(s,s&&s.__data__,c,r))&&"length"in _?_:Array.from(_),m=p.length,y=u[c]=Array(m),x=a[c]=Array(m);e(s,f,y,x,l[c]=Array(h),p,n);for(var _,w,b,E,M=0,S=0;M<m;++M)if(b=y[M]){for(M>=S&&(S=M+1);!(E=x[S])&&++S<m;);b._next=E||null}}return(a=new B(a,r))._enter=u,a._exit=l,a},enter:function(){return new B(this._enter||this._groups.map(h),this._parents)},exit:function(){return new B(this._exit||this._groups.map(h),this._parents)},join:function(t,n,e){var r=this.enter(),o=this,i=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(o=n(o))&&(o=o.selection()),null==e?i.remove():e(i),r&&o?r.merge(o).order():o},merge:function(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,o=e.length,i=r.length,a=Math.min(o,i),u=Array(o),l=0;l<a;++l)for(var c,s=e[l],f=r[l],h=s.length,p=u[l]=Array(h),d=0;d<h;++d)(c=s[d]||f[d])&&(p[d]=c);for(;l<o;++l)u[l]=e[l];return new B(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,a=o[i];--i>=0;)(r=o[i])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=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=Array(r),i=0;i<r;++i){for(var a,u=e[i],l=u.length,c=o[i]=Array(l),s=0;s<l;++s)(a=u[s])&&(c[s]=a);c.sort(n)}return new B(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 a=r[o];if(a)return a}return null},size:function(){let t=0;for(let n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var o,i=n[e],a=0,u=i.length;a<u;++a)(o=i[a])&&t.call(o,o.__data__,a,i);return this},attr:function(t,n){var e=_(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}:function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))},style:b,property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=M(t+"");
1if(arguments.length<2){for(var r=S(this.node()),o=-1,i=e.length;++o<i;)if(!r.contains(e[o]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?N:j)(this,t)}}:n?function(t){return function(){N(this,t)}}:function(t){return function(){j(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?A:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?C:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(P)},lower:function(){return this.each(T)},append:function(t){var n="function"==typeof t?t:z(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var r="function"==typeof t?t:z(t),o=null==n?O:"function"==typeof n?n:e(n);return this.select(function(){return this.insertBefore(r.apply(this,arguments),o.apply(this,arguments)||null)})},remove:function(){return this.each($)},clone:function(t){return this.select(t?L:R)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,o,i=(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}}),a=i.length;if(arguments.length<2){var u=this.node().__on;if(u){for(var l,c=0,s=u.length;c<s;++c)for(r=0,l=u[c];r<a;++r)if((o=i[r]).type===l.type&&o.name===l.name)return l.value}return}for(r=0,u=n?G:q;r<a;++r)this.each(u(i[r],n,e));return this},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return I(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return I(this,t,n)}})(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,a=o.length;i<a;++i)(r=o[i])&&(yield r)}};let X=F;function V(t){let n;for(;n=t.sourceEvent;)t=n;return t}t.s(["default",0,function(t){return"string"==typeof t?new B([[document.querySelector(t)]],[document.documentElement]):new B([[t]],D)}],5969),t.s(["default",0,V],23243),t.s(["default",0,function(t,n){if(t=V(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var o=n.getBoundingClientRect();return[t.clientX-o.left-n.clientLeft,t.clientY-o.top-n.clientTop]}}return[t.pageX,t.pageY]}],32846)},32525,t=>{"use strict";var n,e={value:()=>{}};function r(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new o(r)}function o(t){this._=t}function i(t,n,r){for(var o=0,i=t.length;o<i;++o)if(t[o].name===n){t[o]=e,t=t.slice(0,o).concat(t.slice(o+1));break}return null!=r&&t.push({name:n,value:r}),t}o.prototype=r.prototype={constructor:o,on:function(t,n){var e,r=this._,o=(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:n}}),a=-1,u=o.length;if(arguments.length<2){for(;++a<u;)if((e=(t=o[a]).type)&&(e=function(t,n){for(var e,r=0,o=t.length;r<o;++r)if((e=t[r]).name===n)return e.value}(r[e],t.name)))return e;return}if(null!=n&&"function"!=typeof n)throw Error("invalid callback: "+n);for(;++a<u;)if(e=(t=o[a]).type)r[e]=i(r[e],t.name,n);else if(null==n)for(e in r)r[e]=i(r[e],t.name,null);return this},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,o=Array(e),i=0;i<e;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],i=0,e=r.length;i<e;++i)r[i].value.apply(n,o)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],o=0,i=r.length;o<i;++o)r[o].value.apply(n,e)}};var a=t.i(5969),a=a;let u={capture:!0,passive:!1};function l(t){t.preventDefault(),t.stopImmediatePropagation()}function c(t){return((t=Math.exp(t))+1/t)/2}let s=function t(n,e,r){function o(t,o){var i,a,u=t[0],l=t[1],s=t[2],f=o[0],h=o[1],p=o[2],d=f-u,g=h-l,v=d*d+g*g;
1if(v<1e-12)a=Math.log(p/s)/n,i=function(t){return[u+t*d,l+t*g,s*Math.exp(n*t*a)]};else{var m=Math.sqrt(v),y=(p*p-s*s+r*v)/(2*s*e*m),x=(p*p-s*s-r*v)/(2*p*e*m),_=Math.log(Math.sqrt(y*y+1)-y);a=(Math.log(Math.sqrt(x*x+1)-x)-_)/n,i=function(t){var r,o,i=t*a,f=c(_),h=s/(e*m)*(f*(((r=Math.exp(2*(r=n*i+_)))-1)/(r+1))-((o=Math.exp(o=_))-1/o)/2);return[u+h*d,l+h*g,s*f/c(n*i+_)]}}return i.duration=1e3*a*n/Math.SQRT2,i}return o.rho=function(n){var e=Math.max(.001,+n),r=e*e;return t(e,r,r*r)},o}(Math.SQRT2,2,4);var f,h,a=a,p=t.i(32846),p=p,d=t.i(48708),d=d,g=0,v=0,m=0,y=0,x=0,_=0,w="object"==typeof performance&&performance.now?performance:Date,b="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function E(){return x||(b(M),x=w.now()+_)}function M(){x=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(){x=(y=w.now())+_,g=v=0;try{E(),++g;for(var t,n=f;n;)(t=x-n._time)>=0&&n._call.call(void 0,t),n=n._next;--g}finally{g=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,A(r)}(),x=0}}function j(){var t=w.now(),n=t-y;n>1e3&&(_-=n,y=t)}function A(t){!g&&(v&&(v=clearTimeout(v)),t-x>24?(t<1/0&&(v=setTimeout(N,t-w.now()-_)),m&&(m=clearInterval(m))):(m||(y=w.now(),m=setInterval(j,1e3)),g=1,b(N)))}function C(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 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,A()},stop:function(){this._call&&(this._call=null,this._time=1/0,A())}};var P=r("start","end","cancel","interrupt"),T=[];function z(t,n,e,r,o,i){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,o=t.__transition;function i(l){var c,s,f,h;if(1!==e.state)return u();for(c in o)if((h=o[c]).name===e.name){if(3===h.state)return C(i);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete o[c]):+c<n&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete o[c])}if(C(function(){3===e.state&&(e.state=4,e.timer.restart(a,e.delay,e.time),a(l))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(c=0,e.state=3,r=Array(f=e.tween.length),s=-1;c<f;++c)(h=e.tween[c].value.call(t,t.__data__,e.index,e.group))&&(r[++s]=h);r.length=s+1}}function a(n){for(var o=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(u),e.state=5,1),i=-1,a=r.length;++i<a;)r[i].call(t,o);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),u())}function u(){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)}
1(t,e,{name:n,index:r,group:o,on:P,tween:T,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})}function O(t,n){var e=R(t,n);if(e.state>0)throw Error("too late; already scheduled");return e}function $(t,n){var e=R(t,n);if(e.state>3)throw Error("too late; already running");return e}function R(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function L(t,n){var e,r,o,i=t.__transition,a=!0;if(i){for(o in n=null==n?null:n+"",i){if((e=i[o]).name!==n){a=!1;continue}r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete i[o]}a&&delete t.__transition}}var d=d;function q(t,n){return t*=1,n*=1,function(e){return t*(1-e)+n*e}}var G=180/Math.PI,I={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function D(t,n,e,r,o,i){var a,u,l;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(l=t*e+n*r)&&(e-=t*l,r-=n*l),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,l/=u),t*r<n*e&&(t=-t,n=-n,l=-l,a=-a),{translateX:o,translateY:i,rotate:Math.atan2(n,t)*G,skewX:Math.atan(l)*G,scaleX:a,scaleY:u}}function B(t,n,e,r){function o(t){return t.length?t.pop()+" ":""}return function(i,a){var u,l,c,s,f=[],h=[];return i=t(i),a=t(a),!function(t,r,o,i,a,u){if(t!==o||r!==i){var l=a.push("translate(",null,n,null,e);u.push({i:l-4,x:q(t,o)},{i:l-2,x:q(r,i)})}else(o||i)&&a.push("translate("+o+n+i+e)}(i.translateX,i.translateY,a.translateX,a.translateY,f,h),u=i.rotate,l=a.rotate,u!==l?(u-l>180?l+=360:l-u>180&&(u+=360),h.push({i:f.push(o(f)+"rotate(",null,r)-2,x:q(u,l)})):l&&f.push(o(f)+"rotate("+l+r),c=i.skewX,s=a.skewX,c!==s?h.push({i:f.push(o(f)+"skewX(",
1null,r)-2,x:q(c,s)}):s&&f.push(o(f)+"skewX("+s+r),!function(t,n,e,r,i,a){if(t!==e||n!==r){var u=i.push(o(i)+"scale(",null,",",null,")");a.push({i:u-4,x:q(t,e)},{i:u-2,x:q(n,r)})}else(1!==e||1!==r)&&i.push(o(i)+"scale("+e+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,f,h),i=a=null,function(t){for(var n,e=-1,r=h.length;++e<r;)f[(n=h[e]).i]=n.x(t);return f.join("")}}}var F=B(function(t){let n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?I:D(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),X=B(function(t){return null==t?I:(n||(n=document.createElementNS("http://www.w3.org/2000/svg","g")),n.setAttribute("transform",t),t=n.transform.baseVal.consolidate())?D((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):I},", ",")",")"),V=t.i(76089),V=V;function Y(t,n,e){var r=t._id;return t.each(function(){var t=$(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return R(t,r).value[n]}}function U(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function H(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function W(){}var Z="\\s*([+-]?\\d+)\\s*",K="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Q="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",J=/^#([0-9a-f]{3,8})$/,tt=RegExp(`^rgb\\(${Z},${Z},${Z}\\)$`),tn=RegExp(`^rgb\\(${Q},${Q},${Q}\\)$`),te=RegExp(`^rgba\\(${Z},${Z},${Z},${K}\\)$`),tr=RegExp(`^rgba\\(${Q},${Q},${Q},${K}\\)$`),to=RegExp(`^hsl\\(${K},${Q},${Q}\\)$`),ti=RegExp(`^hsla\\(${K},${Q},${Q},${K}\\)$`),ta={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function tu(){return this.rgb().formatHex()}function tl(){return this.rgb().formatRgb()}function tc(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=J.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?ts(n):3===e?new tp(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?tf(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?tf(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=tt.exec(t))?new tp(n[1],n[2],n[3],1):(n=tn.exec(t))?new tp(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=te.exec(t))?tf(n[1],n[2],n[3],n[4]):(n=tr.exec(t))?tf(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=to.exec(t))?tx(n[1],n[2]/100,n[3]/100,1):(n=ti.exec(t))?tx(n[1],n[2]/100,n[3]/100,n[4]):ta.hasOwnProperty(t)?ts(ta[t]):"transparent"===t?new tp(NaN,NaN,NaN,0):null}function ts(t){return new tp(t>>16&255,t>>8&255,255&t,1)}function tf(t,n,e,r){return r<=0&&(t=n=e=NaN),new tp(t,n,e,r)}function th(t,n,e,r){var o;return 1==arguments.length?((o=t)instanceof W||(o=tc(o)),o)?new tp((o=o.rgb()).r,o.g,o.b,o.opacity):new tp:new tp(t,n,e,null==r?1:r)}function tp(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function td(){return`#${ty(this.r)}${ty(this.g)}${ty(this.b)}`}function tg(){let t=tv(this.opacity);return`${1===t?"rgb(":"rgba("}${tm(this.r)}
1, ${tm(this.g)}, ${tm(this.b)}${1===t?")":`, ${t})`}`}function tv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function tm(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ty(t){return((t=tm(t))<16?"0":"")+t.toString(16)}function tx(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new tw(t,n,e,r)}function t_(t){if(t instanceof tw)return new tw(t.h,t.s,t.l,t.opacity);if(t instanceof W||(t=tc(t)),!t)return new tw;if(t instanceof tw)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,l=(i+o)/2;return u?(a=n===i?(e-r)/u+(e<r)*6:e===i?(r-n)/u+2:(n-e)/u+4,u/=l<.5?i+o:2-i-o,a*=60):u=l>0&&l<1?0:a,new tw(a,u,l,t.opacity)}function tw(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function tb(t){return(t=(t||0)%360)<0?t+360:t}function tE(t){return Math.max(0,Math.min(1,t||0))}function tM(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}function tS(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}U(W,tc,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:tu,formatHex:tu,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return t_(this).formatHsl()},formatRgb:tl,toString:tl}),U(tp,th,H(W,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tp(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new tp(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new tp(tm(this.r),tm(this.g),tm(this.b),tv(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:td,formatHex:td,formatHex8:function(){return`#${ty(this.r)}${ty(this.g)}${ty(this.b)}${ty((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:tg,toString:tg})),U(tw,function(t,n,e,r){return 1==arguments.length?t_(t):new tw(t,n,e,null==r?1:r)},H(W,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tw(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new tw(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,o=2*e-r;return new tp(tM(t>=240?t-240:t+120,o,r),tM(t,o,r),tM(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new tw(tb(this.h),tE(this.s),tE(this.l),tv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=tv(this.opacity);return`${1===t?"hsl(":"hsla("}${tb(this.h)}, ${100*tE(this.s)}%, ${100*tE(this.l)}%${1===t?")":`, ${t})`}`}}));let tk=t=>()=>t;function tN(t,n){var e=n-t;return e?function(n){return t+n*e}:tk(isNaN(t)?n:t)}let tj=function t(n){var e,r=1==(e=+n)?tN:function(t,n){var r,o,i;return n-t?(r=t,o=n,r=Math.pow(r,i=e),o=Math.pow(o,i)-r,i=1/i,function(t){return Math.pow(r+t*o,i)}):tk(isNaN(t)?n:t)};function o(t,n){var e=r((t=th(t)).r,(n=th(n)).r),o=r(t.g,n.g),i=r(t.b,n.b),a=tN(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return o.gamma=t,o}(1);function tA(t){return function(n){var e,r,o=n.length,i=Array(o),a=Array(o),u=Array(o);for(e=0;e<o;++e)r=th(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}tA(function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return tS((e-r/n)*n,a,o,i,u)}}),tA(function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return tS((e-r/n)*n,o,i,a,u)}});var tC=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tP=RegExp(tC.source,"g");function tT(t,n){var e;return("number"==typeof n?q:n instanceof tc?tj:(e=tc(n))?(n=e,tj):function(t,n){var e,r,o,i,a,u=tC.lastIndex=tP.lastIndex=0,l=-1,c=[],s=[];for(t+="",n+="";(o=tC.exec(t))&&(i=tP.exec(n));)(a=i.index)>u&&(a=n.slice(u,a),c[l]?c[l]+=a:c[++l]=a),(o=o[0])===(i=i[0])?c[l]?c[l]+=i:c[++l]=i:(c[++l]=null,s.push({i:l,x:q(o,i)})),u=tP.lastIndex;return u<n.length&&(a=n.slice(u),c[l]?c[l]+=a:c[++l]=a),c.length<2?s[0]?(e=s[0].x,function(t){return e(t)+""}):(r=n,function(){return r}):(n=s.length,function(t){for(var e,r=0;r<n;++r)c[(e=s[r]).i]=e.x(t);return c.join("")})})(t,n)}var V=V,tz=t.i(78280),tz=tz,tO=t.i(75264),tO=tO,t$=t.i(7027),t$=t$,d=d,tR=d.default.prototype.constructor,tL=t.i(9765),tL=tL;function tq(t){return function(){this.style.removeProperty(t)}}var tG=0;function tI(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}var tD=d.default.prototype;tI.prototype=(function(t){return(0,d.default)().transition(t)}).prototype={constructor:tI,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,tO.default)(t));for(var r=this._groups,o=r.length,i=Array(o),a=0;a<o;++a)for(var u,l,c=r[a],s=c.length,f=i[a]=Array(s),h=0;h<s;++h)(u=c[h])&&(l=t.call(u,u.__data__,h,c))&&("__data__"in u&&(l.__data__=u.__data__),f[h]=l,z(f[h],n,e,h,f,R(u,e)));return new tI(i,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,t$.default)(t));for(var r=this._groups,o=r.length,i=[],a=[],u=0;u<o;++u)for(var l,c=r[u],s=c.length,f=0;f<s;++f)if(l=c[f]){for(var h,p=t.call(l,l.__data__,f,c),d=R(l,e),g=0,v=p.length;g<v;++g)(h=p[g])&&z(h,n,e,g,p,d);i.push(p),a.push(l)}return new tI(i,a,n,e)},selectChild:tD.selectChild,selectChildren:tD.selectChildren,filter:function(t){"function"!=typeof t&&(t=(0,tz.default)(t));for(var n=this._groups,e=n.length,r=Array(e),o=0;o<e;++o)for(var i,a=n[o],u=a.length,l=r[o]=[],c=0;c<u;++c)(i=a[c])&&t.call(i,i.__data__,c,a)&&l.push(i);return new tI(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var n=this._groups,e=t._groups,r=n.length,o=e.length,i=Math.min(r,o),a=Array(r),u=0;u<i;++u)for(var l,c=n[u],s=e[u],f=c.length,h=a[u]=Array(f),p=0;p<f;++p)(l=c[p]||s[p])&&(h[p]=l);for(;u<r;++u)a[u]=n[u];return new tI(a,this._parents,this._name,this._id)},selection:function(){return new tR(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=++tG,r=this._groups,o=r.length,i=0;i<o;++i)for(var a,u=r[i],l=u.length,c=0;c<l;++c)if(a=u[c]){var s=R(a,n);z(a,t,e,c,u,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new tI(r,this._parents,t,e)},call:tD.call,nodes:tD.nodes,node:tD.node,size:tD.size,empty:tD.empty,each:tD.each,on:function(t,n){var e,r,o,i,a,u,l=this._id;return arguments.length<2?R(this.node(),l).on.on(t):this.each((e=l,r=t,o=n,u=(r+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>
1=0&&(t=t.slice(0,n)),!t||"start"===t})?O:$,function(){var t=u(this,e),n=t.on;n!==i&&(a=(i=n).copy()).on(r,o),t.on=a}))},attr:function(t,n){var e=(0,V.default)(t),r="transform"===e?X:tT;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,o,i;return function(){var a,u,l=e(this);return null==l?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(u=l+"")?null:a===r&&u===o?i:(o=u,i=n(r=a,l))}}:function(t,n,e){var r,o,i;return function(){var a,u,l=e(this);return null==l?void this.removeAttribute(t):(a=this.getAttribute(t))===(u=l+"")?null:a===r&&u===o?i:(o=u,i=n(r=a,l))}})(e,r,Y(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var r,o,i=e+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===i?null:a===r?o:o=n(r=a,e)}}:function(t,n,e){var r,o,i=e+"";return function(){var a=this.getAttribute(t);return a===i?null:a===r?o:o=n(r=a,e)}})(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw Error();var r=(0,V.default)(t);return this.tween(e,(r.local?function(t,n){var e,r;function o(){var o=n.apply(this,arguments);return o!==r&&(e=(r=o)&&function(n){this.setAttributeNS(t.space,t.local,o.call(this,n))}),e}return o._value=n,o}:function(t,n){var e,r;function o(){var o=n.apply(this,arguments);return o!==r&&(e=(r=o)&&function(n){this.setAttribute(t,o.call(this,n))}),e}return o._value=n,o})(r,n))},style:function(t,n,e){var r,o,i,a,u,l,c,s,f,h,p,d,g,v,m,y,x,_,w,b,E,M="transform"==(t+="")?F:tT;return null==n?this.styleTween(t,(r=t,function(){var t=(0,tL.styleValue)(this,r),n=(this.style.removeProperty(r),(0,tL.styleValue)(this,r));return t===n?null:t===o&&n===i?a:a=M(o=t,i=n)})).on("end.style."+t,tq(t)):"function"==typeof n?this.styleTween(t,(u=t,l=Y(this,"style."+t,n),function(){var t=(0,tL.styleValue)(this,u),n=l(this),e=n+"";return null==n&&(this.style.removeProperty(u),e=n=(0,tL.styleValue)(this,u)),t===e?null:t===c&&e===s?f:(s=e,f=M(c=t,n))})).each((h=this._id,x="end."+(y="style."+(p=t)),function(){var t=$(this,h),n=t.on,e=null==t.value[y]?m||(m=tq(p)):void 0;(n!==d||v!==e)&&(g=(d=n).copy()).on(x,v=e),t.on=g})):this.styleTween(t,(_=t,E=n+"",function(){var t=(0,tL.styleValue)(this,_);return t===E?null:t===w?b:b=M(w=t,n)}),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw Error();return this.tween(r,function(t,n,e){var r,o;function i(){var i=n.apply(this,arguments);return i!==o&&(r=(o=i)&&function(n){this.style.setProperty(t,i.call(this,n),e)}),r}return i._value=n,i}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=Y(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,o=R(this.node(),e).tween,i=0,a=o.length;i<a;++i)if((r=o[i]).name===t)return r.value;return null}return this.each((null==n?function(t,n){var e,r;return function(){var o=$(this,t),i=o.tween;if(i!==e){r=e=i;for(var a=0,u=r.length;a<u;++a)if(r[a].name===n){(r=r.slice()).splice(a,1);break}}o.tween=r}}:function(t,n,e){var r,o;if("function"!=typeof e)throw Error();return function(){var i=$(this,t),a=i.tween;if(a!==r){o=(r=a).slice();for(var u={name:n,value:e},l=0,c=o.length;l<c;++l)if(o[l].name===n){o[l]=u;break}l===c&&o.push(u)}i.tween=o}})(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){O(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n*=1,function(){O(this,t).delay=n}})(n,t)):R(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){$(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n*=1,function(){$(this,t).duration=n}})(n,t)):R(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw Error();return function(){$(this,t).ease=n}}(n,t)):R(this.node(),n).ease},easeVarying:function(t){var n;if("function"!=typeof t)throw Error();return this.each((n=this._id,function(){var e=t.apply(this,arguments);if("function"!=typeof e)throw Error();$(this,n).ease=e}))},end:function(){var t,n,e=this,r=e._id,o=e.size();return new Promise(function(i,a){var u={value:a},l={value:function(){0==--o&&i()}};
1e.each(function(){var e=$(this,r),o=e.on;o!==t&&((n=(t=o).copy())._.cancel.push(u),n._.interrupt.push(u),n._.end.push(l)),e.on=n}),0===o&&i()})},[Symbol.iterator]:tD[Symbol.iterator]};var tB={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};d.default.prototype.interrupt=function(t){return this.each(function(){L(this,t)})},d.default.prototype.transition=function(t){var n,e;t instanceof tI?(n=t._id,t=t._name):(n=++tG,(e=tB).time=E(),t=null==t?null:t+"");for(var r=this._groups,o=r.length,i=0;i<o;++i)for(var a,u=r[i],l=u.length,c=0;c<l;++c)(a=u[c])&&z(a,t,n,c,u,e||function(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw Error(`transition ${n} not found`);return e}(a,n));return new tI(r,this._parents,t,n)};let tF=t=>()=>t;function tX(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 tV(t,n,e){this.k=t,this.x=n,this.y=e}tV.prototype={constructor:tV,scale:function(t){return 1===t?this:new tV(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new tV(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 tY=new tV(1,0,0);function tU(t){for(;!t.__zoom;)if(!(t=t.parentNode))return tY;return t.__zoom}function tH(t){t.stopImmediatePropagation()}function tW(t){t.preventDefault(),t.stopImmediatePropagation()}function tZ(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function tK(){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 tQ(){return this.__zoom||tY}function tJ(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function t0(){return navigator.maxTouchPoints||"ontouchstart"in this}function t1(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],a=t.invertY(n[1][1])-e[1][1];return t.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),a>i?(i+a)/2:Math.min(0,i)||Math.max(0,a))}tU.prototype=tV.prototype,t.s([],85664),t.i(85664),t.s(["ZoomTransform",0,tV,"zoom",0,function(){var t,n,e,o=tZ,i=tK,c=t1,f=tJ,h=t0,d=[0,1/0],g=[[-1/0,-1/0],[1/0,1/0]],v=250,m=s,y=r("start","zoom","end"),x=0,_=10;function w(t){t.property("__zoom",tQ).on("wheel.zoom",j,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",C).filter(h).on("touchstart.zoom",P).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",z).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(t,n){return(n=Math.max(d[0],Math.min(d[1],n)))===t.k?t:new tV(n,t.x,t.y)}function E(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 tV(t.k,r,o)}function M(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function S(t,n,e,r){t.on("start.zoom",function(){k(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){k(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,o=k(this,t).event(r),a=i.apply(this,t),u=null==e?M(a):"function"==typeof e?e.apply(this,t):e,l=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),c=this.__zoom,s="function"==typeof n?n.apply(this,t):n,f=m(c.invert(u).concat(l/c.k),s.invert(u).concat(l/s.k));return function(t){if(1===t)t=s;else{var n=f(t),e=l/n[2];t=new tV(e,u[0]-n[0]*e,u[1]-n[1]*e)}o.zoom(null,t)}})}function k(t,n,e){return!e&&t.__zooming||new N(t,n)}function N(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function j(t,...n){if(o.apply(this,arguments)){var e=k(this,n).event(t),r=this.__zoom,i=Math.max(d[0],Math.min(d[1],r.k*Math.pow(2,f.apply(this,arguments)))),a=(0,p.default)(t);if(e.wheel)(e.mouse[0][0]!==a[0]||e.mouse[0][1]!==a[1])&&(e.mouse[1]=r.invert(e.mouse[0]=a)),clearTimeout(e.wheel);else{if(r.k===i)return;e.mouse=[a,r.invert(a)],L(this),e.start()}tW(t),e.wheel=setTimeout(function(){e.wheel=null,e.end()}
1,150),e.zoom("mouse",c(E(b(r,i),e.mouse[0],e.mouse[1]),e.extent,g))}}function A(t,...n){if(!e&&o.apply(this,arguments)){var r,i,s,f=t.currentTarget,h=k(this,n,!0).event(t),d=(0,a.default)(t.view).on("mousemove.zoom",function(t){if(tW(t),!h.moved){var n=t.clientX-m,e=t.clientY-y;h.moved=n*n+e*e>x}h.event(t).zoom("mouse",c(E(h.that.__zoom,h.mouse[0]=(0,p.default)(t,f),h.mouse[1]),h.extent,g))},!0).on("mouseup.zoom",function(t){var n,e,r,o;d.on("mousemove.zoom mouseup.zoom",null),n=t.view,e=h.moved,r=n.document.documentElement,o=(0,a.default)(n).on("dragstart.drag",null),e&&(o.on("click.drag",l,u),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in r?o.on("selectstart.drag",null):(r.style.MozUserSelect=r.__noselect,delete r.__noselect),tW(t),h.event(t).end()},!0),v=(0,p.default)(t,f),m=t.clientX,y=t.clientY;i=(r=t.view).document.documentElement,s=(0,a.default)(r).on("dragstart.drag",l,u),"onselectstart"in i?s.on("selectstart.drag",l,u):(i.__noselect=i.style.MozUserSelect,i.style.MozUserSelect="none"),tH(t),h.mouse=[v,this.__zoom.invert(v)],L(this),h.start()}}function C(t,...n){if(o.apply(this,arguments)){var e=this.__zoom,r=(0,p.default)(t.changedTouches?t.changedTouches[0]:t,this),u=e.invert(r),l=e.k*(t.shiftKey?.5:2),s=c(E(b(e,l),r,u),i.apply(this,n),g);tW(t),v>0?(0,a.default)(this).transition().duration(v).call(S,s,r,t):(0,a.default)(this).call(w.transform,s,r,t)}}function P(e,...r){if(o.apply(this,arguments)){var i,a,u,l,c=e.touches,s=c.length,f=k(this,r,e.changedTouches.length===s).event(e);for(tH(e),a=0;a<s;++a)u=c[a],l=[l=(0,p.default)(u,this),this.__zoom.invert(l),u.identifier],f.touch0?f.touch1||f.touch0[2]===l[2]||(f.touch1=l,f.taps=0):(f.touch0=l,i=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),i&&(f.taps<2&&(n=l[0],t=setTimeout(function(){t=null},500)),L(this),f.start())}}function T(t,...n){if(this.__zooming){var e,r,o,i,a=k(this,n).event(t),u=t.changedTouches,l=u.length;for(tW(t),e=0;e<l;++e)r=u[e],o=(0,p.default)(r,this),a.touch0&&a.touch0[2]===r.identifier?a.touch0[0]=o:a.touch1&&a.touch1[2]===r.identifier&&(a.touch1[0]=o);if(r=a.that.__zoom,a.touch1){var s=a.touch0[0],f=a.touch0[1],h=a.touch1[0],d=a.touch1[1],v=(v=h[0]-s[0])*v+(v=h[1]-s[1])*v,m=(m=d[0]-f[0])*m+(m=d[1]-f[1])*m;r=b(r,Math.sqrt(v/m)),o=[(s[0]+h[0])/2,(s[1]+h[1])/2],i=[(f[0]+d[0])/2,(f[1]+d[1])/2]}else{if(!a.touch0)return;o=a.touch0[0],i=a.touch0[1]}a.zoom("touch",c(E(r,o,i),a.extent,g))}}function z(t,...r){if(this.__zooming){var o,i,u=k(this,r).event(t),l=t.changedTouches,c=l.length;for(tH(t),e&&clearTimeout(e),e=setTimeout(function(){e=null},500),o=0;o<c;++o)i=l[o],u.touch0&&u.touch0[2]===i.identifier?delete u.touch0:u.touch1&&u.touch1[2]===i.identifier&&delete u.touch1;if(u.touch1&&!u.touch0&&(u.touch0=u.touch1,delete u.touch1),u.touch0)u.touch0[1]=this.__zoom.invert(u.touch0[0]);else if(u.end(),2===u.taps&&(i=(0,p.default)(i,this),Math.hypot(n[0]-i[0],n[1]-i[1])<_)){var s=(0,a.default)(this).on("dblclick.zoom");s&&s.apply(this,arguments)}}}return w.transform=function(t,n,e,r){var o=t.selection?t.selection():t;o.property("__zoom",tQ),t!==o?S(t,n,e,r):o.interrupt().each(function(){k(this,arguments).event(r).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},w.scaleBy=function(t,n,e,r){w.scaleTo(t,function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e},e,r)},w.scaleTo=function(t,n,e,r){w.transform(t,function(){var t=i.apply(this,arguments),r=this.__zoom,o=null==e?M(t):"function"==typeof e?e.apply(this,arguments):e,a=r.invert(o),u="function"==typeof n?n.apply(this,arguments):n;return c(E(b(r,u),o,a),t,g)},e,r)},w.translateBy=function(t,n,e,r){w.transform(t,function(){return c(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),i.apply(this,arguments),g)},null,r)},w.translateTo=function(t,n,e,r,o){w.transform(t,function(){var t=i.apply(this,arguments),o=this.__zoom,a=null==r?M(t):"function"==typeof r?r.apply(this,arguments):r;return c(tY.translate(a[0],a[1]).scale(o.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,g)},r,o)},N.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
1("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var n=(0,a.default)(this.that).datum();y.call(t,this.that,new tX(t,{sourceEvent:this.sourceEvent,target:w,type:t,transform:this.that.__zoom,dispatch:y}),n)}},w.wheelDelta=function(t){return arguments.length?(f="function"==typeof t?t:tF(+t),w):f},w.filter=function(t){return arguments.length?(o="function"==typeof t?t:tF(!!t),w):o},w.touchable=function(t){return arguments.length?(h="function"==typeof t?t:tF(!!t),w):h},w.extent=function(t){return arguments.length?(i="function"==typeof t?t:tF([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),w):i},w.scaleExtent=function(t){return arguments.length?(d[0]=+t[0],d[1]=+t[1],w):[d[0],d[1]]},w.translateExtent=function(t){return arguments.length?(g[0][0]=+t[0][0],g[1][0]=+t[1][0],g[0][1]=+t[0][1],g[1][1]=+t[1][1],w):[[g[0][0],g[0][1]],[g[1][0],g[1][1]]]},w.constrain=function(t){return arguments.length?(c=t,w):c},w.duration=function(t){return arguments.length?(v=+t,w):v},w.interpolate=function(t){return arguments.length?(m=t,w):m},w.on=function(){var t=y.on.apply(y,arguments);return t===y?w:t},w.clickDistance=function(t){return arguments.length?(x=(t*=1)*t,w):Math.sqrt(x)},w.tapDistance=function(t){return arguments.length?(_=+t,w):_},w},"zoomIdentity",0,tY,"zoomTransform",0,tU],32525)},36115,t=>{"use strict";t.s([],68665),t.i(68665);var n=t.i(13154),e=t.i(5969),r=0;function o(){return new i}function i(){this._="@"+(++r).toString(36)}i.prototype=o.prototype={constructor:i,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 a=t.i(78280),u=t.i(76089),l=t.i(34449),c=t.i(32846),s=t.i(23243),f=t.i(57161),h=t.i(48708),p=t.i(75264),d=t.i(
17027),g=t.i(9765),v=t.i(66068);t.s(["create",0,function(t){return(0,e.default)((0,n.default)(t).call(document.documentElement))},"creator",()=>n.default,"local",0,o,"matcher",()=>a.default,"namespace",()=>u.default,"namespaces",()=>l.default,"pointer",()=>c.default,"pointers",0,function(t,n){return t.target&&(t=(0,s.default)(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,t=>(0,c.default)(t,n))},"select",()=>e.default,"selectAll",0,function(t){return"string"==typeof t?new h.Selection([document.querySelectorAll(t)],[document.documentElement]):new h.Selection([(0,f.default)(t)],h.root)},"selection",()=>h.default,"selector",()=>p.default,"selectorAll",()=>d.default,"style",()=>g.styleValue,"window",()=>v.default],36115)},48623,(t,n,e)=>{t.e,function(t,n,e,r,o,i,a){"use strict";function u(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=u(n),c=u(e),s=function(t){if(t&&t.__esModule)return t;var n=Object.create(null);return t&&Object.keys(t).forEach(function(e){if("default"!==e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}}),n.default=t,Object.freeze(n)}(r);function f(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function h(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?f(Object(e),!0).forEach(function(n){var r,o,i;r=t,o=n,i=e[n],o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEac
1h(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(){return(d=Object.assign.bind()).apply(this,arguments)}function g(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function v(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return m(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return m(t,n)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var y=["width","height","projection","projectionConfig"],x=s.geoPath,_=g(s,["geoPath"]),w=n.createContext(),b=function(t){var e=t.width,r=t.height,o=t.projection,i=t.projectionConfig,a=g(t,y),u=v(i.center||[],2),c=u[0],s=u[1],f=v(i.rotate||[],3),h=f[0],p=f[1],m=f[2],b=v(i.parallels||[],2),E=b[0],M=b[1],S=i.scale||null,k=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,a=t.height;if("function"==typeof o)return o;var u=_[o]().translate([(void 0===i?800:i)/2,(void 0===a?600:a)/2]);return[u.center?"center":null,u.rotate?"rotate":null,u.scale?"scale":null,u.parallels?"parallels":null].forEach(function(t){t&&(u=u[t](e[t]||u[t]()))}),u}({projectionConfig:{center:c||0===c||s||0===s?[c,s]:null,rotate:h||0===h||p||0===p?[h,p,m]:null,parallels:E||0===E||M||0===M?[E,M]:null,scale:S},projection:o,width:e,height:r})},[e,r,o,c,s,h,p,m,E,M,S]),N=n.useCallback(k,[k]),j=n.useMemo(function(){return{width:e,height:r,projection:N,path:x().projection(N)}},[e,r,N]);return l.default.createElement(w.Provider,d({value:j},a))};b.propTypes={width:c.default.number,height:c.default.number,projection:c.default.oneOfType([c.default.string,c.default.func]),projectionConfig:c.default.object};var E=["width","height","projection","projectionConfig","className"],M=n.forwardRef(function(t,n){var e=t.width,r=void 0===e?800:e,o=t.height,i=void 0===o?600:o,a=t.projection,u=t.projectionConfig,c=t.className,s=g(t,E);return l.default.createElement(b,{width:r,height:i,projection:void 0===a?"geoEqualEarth":a,projectionConfig:void 0===u?{}:u},l.default.createElement("svg",d({ref:n,viewBox:"0 0 ".concat(r," ").concat(i),className:"rsm-svg ".concat(void 0===c?"":c)},s)))});function S(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 k(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 N(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 j(t){var e=t.geography,r=t.parseGeographies,o=n.useContext(w).path,i=v(n.useState({}),2),a=i[0],u=i[1];n.useEffect(function(){"undefined"!==("u"<typeof window?"undefined":p(window))&&e&&("string"==typeof e?fetch(e).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&&u({geographies:k(t,r),mesh:N(t)})}):u({geographies:k(e,r),mesh:N(e)}))},[e,r]);var l=n.useMemo(function(){var t,n,e,r=a.mesh||{},i=(t=r.outline,n=r.borders,t&&n?{outline:h(h({},t),{},{rsmKey:"outline",svgPath:o(t)}),borders:h(h({},n),{},{rsmKey:"borders",svgPath:o(n)})}:{});return{geographies:(e=a.geographies,e?e.map(function(t,n){return h(h({},t),{},{rsmKey:"geo-".concat(n),svgPath:o(t)})}):[]),outline:i.outline,borders:i.borders}},[a,o]);return{geographies:l.geographies,outline:l.outline,borders:l.borders}}M.displayName="ComposableMap",M.propTypes={width:c.default.number,height:c.default.number,projection:c.default.oneOfType([c.default.string,c.default.func]),projectionConfig:c.default.object,className:c.default.string};var A=["geography","children","parseGeographies","className"],C=n.forwardRef(function(t,e){var r=t.geography,o=t.children,i=t.parseGeographies,a=t.className,u=g(t,A),c=n.useContext(w),s=c.path,f=c.projection,h=j({geography:r,parseGeographies:i}),p=h.geographies,v=h.outline,m=h.borders;return l.default.createElement("g",d({ref:e,className:"rsm-geographies ".concat(void 0===a?"":a)},u),p&&p.length>0&&o({geographies:p,outline:v,borders:m,path:s,projection:f}))});C.displayName="Geographies",C.propTypes={geography:c.default.oneOfType([c.default.string,c.default.object,c.default.array]),children:c.default.func,parseGeographies:c.default.func,className:c.default.string};var P=["geography","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],T=n.forwardRef(function(t,e){var r=t.geography,o=t.onMouseEnter,i=t.onMouseLeave,a=t.onMouseDown,u=t.onMouseUp,c=t.onF
1ocus,s=t.onBlur,f=t.style,h=t.className,p=g(t,P),m=v(n.useState(!1),2),y=m[0],x=m[1],_=v(n.useState(!1),2),w=_[0],b=_[1];return l.default.createElement("path",d({ref:e,tabIndex:"0",className:"rsm-geography ".concat(void 0===h?"":h),d:r.svgPath,onMouseEnter:function(t){b(!0),o&&o(t)},onMouseLeave:function(t){b(!1),y&&x(!1),i&&i(t)},onFocus:function(t){b(!0),c&&c(t)},onBlur:function(t){b(!1),y&&x(!1),s&&s(t)},onMouseDown:function(t){x(!0),a&&a(t)},onMouseUp:function(t){x(!1),u&&u(t)},style:(void 0===f?{}:f)[y||w?y?"pressed":"hover":"default"]},p))});T.displayName="Geography",T.propTypes={geography:c.default.object,onMouseEnter:c.default.func,onMouseLeave:c.default.func,onMouseDown:c.default.func,onMouseUp:c.default.func,onFocus:c.default.func,onBlur:c.default.func,style:c.default.object,className:c.default.string};var z=n.memo(T),O=["fill","stroke","step","className"],$=n.forwardRef(function(t,e){var o=t.fill,i=t.stroke,a=t.step,u=t.className,c=g(t,O),s=n.useContext(w).path;return l.default.createElement("path",d({ref:e,d:s(r.geoGraticule().step(void 0===a?[10,10]:a)()),fill:void 0===o?"transparent":o,stroke:void 0===i?"currentcolor":i,className:"rsm-graticule ".concat(void 0===u?"":u)},c))});$.displayName="Graticule",$.propTypes={fill:c.default.string,stroke:c.default.string,step:c.default.array,className:c.default.string};var R=n.memo($),L=["value"],q=n.createContext(),G={x:0,y:0,k:1,transformString:"translate(0 0) scale(1)"},I=function(t){var n=t.value,e=g(t,L);return l.default.createElement(q.Provider,d({value:void 0===n?G:n},e))};function D(t){var e=t.center,r=t.filterZoomEvent,o=t.onMoveStart,u=t.onMoveEnd,l=t.onMove,c=t.translateExtent,s=t.scaleExtent,f=t.zoom,h=void 0===f?1:f,p=n.useContext(w),d=p.width,g=p.height,m=p.projection,y=v(e,2),x=y[0],_=y[1],b=v(n.useState({x:0,y:0,k:1}),2),E=b[0],M=b[1],k=n.useRef({x:0,y:0,k:1}),N=n.useRef(),j=n.useRef(),A=n.useRef(!1),C=v(void 0===c?[[-1/0,-1/0],[1/0,1/0]]:c,2),P=C[0],T=C[1],z=v(P,2),O=z[0],$=z[1],R=v(T,2),L=R[0],q=R[1],G=v(void 0===s?[1,8]:s,2),I=G[0],D=G[1];return n.useEffect(function(){var t=a.select(N.current),n=i.zoom().filter(function(t){return r?r(t):!!t&&!t.ctrlKey&&!t.button}).scaleExtent([I,D]).translateExtent([[O,$],[L,q]]).on("start",function(t){o&&!A.current&&o({coordinates:m.invert(S(d,g,t.transform)),zoom:t.transform.k},t)}).on("zoom",function(t){if(!A.current){var n=t.transform,e=t.sourceEvent;M({x:n.x,y:n.y,k:n.k,dragging:e}),l&&l({x:n.x,y:n.y,zoom:n.k,dragging:e},t)}}).on("end",function(t){if(A.current)A.current=!1;else{var n=v(m.invert(S(d,g,t.transform)),2),e=n[0],r=n[1];k.current={x:e,y:r,k:t.transform.k},u&&u({coordinates:[e,r],zoom:t.transform.k},t)}});j.current=n,t.call(n)},[d,g,O,$,L,q,I,D,m,o,l,u,r]),n.useEffect(function(){if(x!==k.current.x||_!==k.current.y||h!==k.current.k){var t=m([x,_]),n=t[0]*h,e=t[1]*h,r=a.select(N.current);A.current=!0,r.call(j.current.transform,i.zoomIdentity.translate(d/2-n,g/2-e).scale(h)),M({x:d/2-n,y:g/2-e,k:h}),k.current={x:x,y:_,k:h}}},[x,_,h,d,g,m]),{mapRef:N,position:E,transformString:"translate(".concat(E.x," ").concat(E.y,") scale(").concat(E.k,")")}}I.propTypes={x:c.default.number,y:c.default.number,k:c.default.number,transformString:c.default.string};var B=["center","zoom","minZoom","maxZoom","translateExtent","filterZoomEvent","onMoveStart","onMove","onMoveEnd","className"],F=n.forwardRef(function(t,e){var r=t.center,o=t.zoom,i=t.minZoom,a=t.maxZoom,u=t.translateExtent,c=t.filterZoomEvent,s=t.onMoveStart,f=t.onMove,h=t.onMoveEnd,p=t.className,v=g(t,B),m=n.useContext(w),y=m.width,x=m.height,_=D({center:void 0===r?[0,0]:r,filterZoomEvent:c,onMoveStart:s,onMove:f,onMoveEnd:h,scaleExtent:[void 0===i?1:i,void 0===a?8:a],translateExtent:u,zoom:void 0===o?1:o}),b=_.mapRef,E=_.transformString,M=_.position;return l.default.createElement(I,{value:{x:M.x,y:M.y,k:M.k,transformString:E}},l.default.createElement("g",{ref:b},l.default.createElement("rect",{width:y,height:x,fill:"transparent"}),l.default.createElement("g",d({ref:e,transform:E,className:"rsm-zoomable-group ".concat(p)},v))))});F.displayName="ZoomableGroup",F.propTypes={center:c.default.array,zoom:c.default.number,minZoom:c.default.number,maxZoom:c.default.number,translateExtent:c.default.arrayOf(c.default.array),onMoveStart:c.default.func,onMove:c.default.func,onMoveEnd:c.default.func,className:c.default.string};var X=["id","fill","stroke","strokeWidth","className"],V=n.forwardRef(function(t,e){var r=t.id,o=t.fill,i=t.stroke,a=t.strokeWidth,u=t.className,c=g(t,X),s=n.useContext(w).path,f=n.useMemo(function(){return s({type:"Sphere"})},[s]);return l.default.createElement(n.Fragment,null,l.default.createElement("defs",null,l.default.createElement("clipPath",{id:void 0===r?"rsm-sphere":r},l.default.createElement("path",{d:f}
1))),l.default.createElement("path",d({ref:e,d:f,fill:void 0===o?"transparent":o,stroke:void 0===i?"currentcolor":i,strokeWidth:void 0===a?.5:a,style:{pointerEvents:"none"},className:"rsm-sphere ".concat(void 0===u?"":u)},c)))});V.displayName="Sphere",V.propTypes={id:c.default.string,fill:c.default.string,stroke:c.default.string,strokeWidth:c.default.number,className:c.default.string};var Y=n.memo(V),U=["coordinates","children","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],H=n.forwardRef(function(t,e){var r=t.coordinates,o=t.children,i=t.onMouseEnter,a=t.onMouseLeave,u=t.onMouseDown,c=t.onMouseUp,s=t.onFocus,f=t.onBlur,h=t.style,p=t.className,m=g(t,U),y=n.useContext(w).projection,x=v(n.useState(!1),2),_=x[0],b=x[1],E=v(n.useState(!1),2),M=E[0],S=E[1],k=v(y(r),2),N=k[0],j=k[1];return l.default.createElement("g",d({ref:e,transform:"translate(".concat(N,", ").concat(j,")"),className:"rsm-marker ".concat(void 0===p?"":p),onMouseEnter:function(t){S(!0),i&&i(t)},onMouseLeave:function(t){S(!1),_&&b(!1),a&&a(t)},onFocus:function(t){S(!0),s&&s(t)},onBlur:function(t){S(!1),_&&b(!1),f&&f(t)},onMouseDown:function(t){b(!0),u&&u(t)},onMouseUp:function(t){b(!1),c&&c(t)},style:(void 0===h?{}:h)[_||M?_?"pressed":"hover":"default"]},m),o)});H.displayName="Marker",H.propTypes={coordinates:c.default.array,children:c.default.oneOfType([c.default.node,c.default.arrayOf(c.default.node)]),onMouseEnter:c.default.func,onMouseLeave:c.default.func,onMouseDown:c.default.func,onMouseUp:c.default.func,onFocus:c.default.func,onBlur:c.default.func,style:c.default.object,className:c.default.string};var W=["from","to","coordinates","stroke","strokeWidth","fill","className"],Z=n.forwardRef(function(t,e){var r=t.from,o=t.to,i=t.coordinates,a=t.stroke,u=t.strokeWidth,c=t.fill,s=t.className,f=g(t,W),h=n.useContext(w).path,p={type:"LineString",coordinates:i||[void 0===r?[0,0]:r,void 0===o?[0,0]:o]};return l.default.createElement("path",d({ref:e,d:h(p),className:"rsm-line ".concat(void 0===s?"":s),stroke:void 0===a?"currentcolor":a,strokeWidth:void 0===u?3:u,fill:void 0===c?"transparent":c},f))});Z.displayName="Line",Z.propTypes={from:c.default.array,to:c.default.array,coordinates:c.default.array,stroke:c.default.string,strokeWidth:c.default.number,fill:c.default.string,className:c.default.string};var K=["subject","children","connectorProps","dx","dy","curve","className"],Q=n.forwardRef(function(t,e){var r=t.subject,o=t.children,i=t.connectorProps,a=t.dx,u=void 0===a?30:a,c=t.dy,s=void 0===c?30:c,f=t.curve,h=t.className,p=g(t,K),m=v((0,n.useContext(w).projection)(r),2),y=m[0],x=m[1],_=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],o=t/2*r[0],i=n/2*r[1];return"M".concat(0,",",0," Q",-t/2-o,",").concat(-n/2+i," ").concat(-t,",").concat(-n)}(u,s,void 0===f?0:f);return l.default.createElement("g",d({ref:e,transform:"translate(".concat(y+u,", ").concat(x+s,")"),className:"rsm-annotation ".concat(void 0===h?"":h)},p),l.default.createElement("path",d({d:_,fill:"transparent",stroke:"#000"},i)),o)});Q.displayName="Annotation",Q.propTypes={subject:c.default.array,children:c.default.oneOfType([c.default.node,c.default.arrayOf(c.default.node)]),dx:c.default.number,dy:c.default.number,curve:c.default.number,connectorProps:c.default.object,className:c.default.string},t.Annotation=Q,t.ComposableMap=M,t.Geographies=C,t.Geography=z,t.Graticule=R,t.Line=Z,t.MapContext=w,t.MapProvider=b,t.Marker=H,t.Sphere=Y,t.ZoomPanContext=q,t.ZoomPanProvider=I,t.ZoomableGroup=F,t.useGeographies=j,t.useMapContext=function(){return n.useContext(w)},t.useZoomPan=D,t.useZoomPanContext=function(){return n.useContext(q)},Object.defineProperty(t,"__esModule",{value:!0})}(e,t.r(71645),t.r(45009),t.r(56623),t.r(74583),t.r(32525),t.r(36115))},85170,t=>{"use strict";var n=t.i(43476),e=t.i(95451),r=t.i(71645),o=t.i(48623),i=t.i(71497),a=t.i(19900),u=t.i(82819),l=t.i(12866);let c=({imageCollapsed:t,imageExpanded:e,winAmount:o,region:c,description:s,button:f,onClose:h,isExpanded:p=!0,hasOpacity:d=!1,className:g=""})=>{let[v,m]=(0,r.useState)(p),[y,x]=(0,r.useState)(!1);(0,r.useEffect)(()=>
1{if(p!==v){x(!0);let t=setTimeout(()=>{m(p),x(!1)},50);return()=>clearTimeout(t)}},[p,v]);let _=v||y&&p;return(0,n.jsx)("div",{className:`relative flex rounded-2xl bg-white p-2.5 shadow-light transition-all duration-300 ${d?"opacity-50":""} ${g}`,children:_?e?.src&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.default,{...e,preload:!0,width:116,height:158,placeholder:(0,l.shimmer)(),className:"rounded-md"},`expanded-${e.src}`),(0,n.jsxs)("div",{className:"px-5",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2 text-primary",children:[(0,n.jsxs)("h6",{className:"text-lg font-bold",children:["Vincita di ",o.toLocaleString()," €"]}),(0,n.jsx)("span",{className:"flex flex-col text-sm leading-normal",dangerouslySetInnerHTML:{__html:s}})]}),f&&f.href&&(0,n.jsx)(u.default,{...f,className:"mb-1.5 mt-6",children:f.text})]}),(0,n.jsx)(i.CloseIco,{className:"absolute right-2.5 cursor-pointer fill-primary",width:16,height:16,onClick:h})]}):t?.src&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.default,{...t,preload:!0,width:93,height:80,placeholder:(0,l.shimmer)(),className:"rounded-md"},`collapsed-${t.src}`),(0,n.jsxs)("div",{className:"flex flex-col gap-2 pl-5 text-primary",children:[(0,n.jsxs)("h6",{className:"text-xl font-bold",children:["Vincita di ",o.toLocaleString()," €"]}),(0,n.jsxs)("p",{className:"text-sm capitalize",children:["in ",c]})]})]})})},s=({cards:t,selected:e,onClose:o})=>{let i=(0,r.useRef)([]);(0,r.useEffect)(()=>{e&&setTimeout(()=>{let n=t.findIndex(t=>t.region===e.region&&t.province===e.province);if(-1!==n){let t=i.current[n];if(t){let n=t.getBoundingClientRect(),e=t.closest(".overflow-scroll");if(e){let r=e.getBoundingClientRect();n.top>=r.top&&n.bottom<=r.height||t.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}}}},100)},[e]);let a=t=>e?.region===t.region&&e?.province===t.province;return(0,n.jsx)("div",{className:"flex max-h-[700px] shrink-0 flex-col items-center gap-2.5 px-4 py-4",children:t?.length?t.map((t,r)=>(0,n.jsx)("div",{className:`relative w-[360px] ${a(t)?"h-auto desktop:w-[374px]":""}`,ref:t=>{i.current[r]=t},children:(0,n.jsx)(c,{...t,className:`${a(t)?"animate-in fade-in relative z-10 shadow-light duration-200":""}`,onClose:o,isExpanded:a(t),hasOpacity:null!==e&&!a(t)})},`${t.gameName}_${r}`)):(0,n.jsx)(n.Fragment,{})})};t.s(["default",0,function({title:t,range:i,wins:a=[]}){let[u,f]=(0,r.useState)(null),[h,p]=(0,r.useState)(),[d,g]=(0,r.useState)([]),[v,m]=(0,r.useState)([]),[y,x]=(0,r.useState)(!1),{isMobileBreakpoint:_}=(0,e.useDeviceType)();function w(t){t.stopPropagation(),f(null)}return(0,r.useEffect)(()=>{x(!0)},[]),(0,r.useEffect)(()=>{(async()=>{try{var t;let n,e,r=await fetch("/regions-province-centroid.json"),o=await fetch("/limits_IT_regions.topo.json"),i=await r.json(),u=await o.json(),l=(t=i,n=new Map,a.forEach(t=>{let e=n.get(t.province);(!e||t.winAmount>e.winAmount)&&n.set(t.province,t)}),e=[],n.forEach(n=>{let r=t[n.province];r&&e.push({...n,coordinates:r.coordinates})}),e);p(u),g(l),m(l)}catch(t){console.error("Errore nel caricamento dati:",t)}})()},[]),(0,n.jsxs)("div",{className:"bg-white px-hb py-v",children:[(0,n.jsxs)("div",{className:"flex w-full flex-col gap-5 pb-10 text-primary desktop:flex-row desktop:items-center desktop:justify-between",children:[(0,n.jsx)("h1",{className:"text-2xl font-bold",children:t}),(0,n.jsx)("span",{className:"font-bold",children:i})]}),y&&void 0!==h?(0,n.jsxs)("div",{className:"relative mx-auto w-full desktop:flex",children:[(0,n.jsx)("div",{className:"w-full",children:(0,n.jsxs)(o.ComposableMap,{width:358,height:431,projection:"geoMercator",projectionConfig:{scale:1600,center:[12.5,42.5]},style:{width:"100%",height:"100%",maxWidth:"576px",maxHeight:"693px",margin:"0 auto",opacity:y&&_&&u?.5:1,pointerEvents:y&&_&&u?"none":"auto",transition:"opacity 0.3s ease"},children:[(0,n.jsx)(o.Geographies,{geography:h,children:({geographies:t})=>t.map(t=>(0,n.jsx)(o.Geography,{geography:t,style:{default:{fill:"transparent",stroke:"#E1E9F0",strokeWidth:1,outline:"none",strokeLinejoin:"round",strokeLinecap:"round"},hover:{fill:"transparent",stroke:"#E1E9F0",strokeLinejoin:"round",strokeLinecap:"round"},pressed:{fill:"transparent",stroke:"#E1E9F0",strokeLinejoin:"round",strokeLinecap:"round"}}},`border-${t.rsmKey}`))}),(0,n.jsx)(o.Geographies,{geography:h,children:({geographies:t})=>t.map(t=>{let e;return(0,n.jsx)(o.Geography,{geography:t,className:(e=v.some(n=>n.region===t?.properties?.reg_name),`${e?"fill-[#0C51A1]":"fill-[#002E60]"} outline-none`),style:{default:{stroke:"#002E60",outline:"none"},hover:{stroke:"#002E60",outline:"none"},pressed:{stroke:"#002E60",outline:"none"}}},t.rsmKey)})}),d?.length&&d?.map(t=>(0,n.jsxs)(o.Marker,{coordinates:t.coordinates,onClick:()=>f(t),children:[(0,n.jsx)("circle",{r:_?13:5,fill:"transparent",className:"cursor-pointer"}),(0,n.jsx)("circle",{r:_?7:5,fill:"#FECE1D",strokeWidth:t.region===u?.region&&t.province===u?.province?10:1,className:"pointer-events-none cursor-pointer",style:{stroke:t.region===u?.region&&t.province===u?.province?"rgba(254, 206, 29, 0.30)":"",filter:"drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3))"}})]},`${t.region}
1-${t.coordinates.join(",")}`))]})}),y&&_?null!==u&&(0,n.jsx)("div",{className:"absolute left-1/2 top-1/2 w-dvw max-w-[374px] -translate-x-1/2 -translate-y-1/2",children:(0,n.jsx)(c,{...u,onClose:w})}):(0,n.jsx)(s,{cards:v,selected:u,onClose:w})]}):(0,n.jsx)(l.default,{className:"h-96"})]})}],85170)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.