PageSourceSearch

https://ldai.vercel.app/_next/static/chunks/923-a35db95e76c2af33.js

js ldai.vercel.app collected 2026-10-03 07:13:32 UTC 85,195 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[923],{17922:function(t,n,e){e.d(n,{Co:function(){return ey}});var r=e(27378),i=e(11993),o=e(75659),u=e(23615),a=e.n(u),l=e(63475),s=e(99729),c=e.n(s),f=e(28338),h=e.n(f),p=e(76683),d=Math.PI,g=d/2,v=d/4,y=2*d,m=180/d,_=d/180,b=Math.abs,w=Math.atan,x=Math.atan2,k=Math.cos,M=Math.ceil,E=Math.exp,S=Math.log,C=Math.sin,N=Math.sign||function(t){return t>0?1:t<0?-1:0},j=Math.sqrt,R=Math.tan;function $(t){return t>1?0:t<-1?d:Math.acos(t)}function q(t){return t>1?g:t<-1?-g:Math.asin(t)}function A(t){return function(n,e){var r=k(n),i=k(e),o=t(r*i);return[o*i*C(n),o*C(e)]}}function T(t){return function(n,e){var r=j(n*n+e*e),i=t(r),o=C(i);return[x(n*o,r*k(i)),q(r&&e*o/r)]}}function P(){}function O(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:P,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function L(t,n){return 1e-6>b(t[0]-n[0])&&1e-6>b(t[1]-n[1])}function W(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 F(t,n,e,r,i){var o,u,a=[],l=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(L(r,u)){if(!r[2]&&!u[2]){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);i.lineEnd();return}u[0]+=2e-6}a.push(e=new W(r,t,null,!0)),l.push(e.o=new W(r,null,e,!1)),a.push(e=new W(u,t,null,!1)),l.push(e.o=new W(u,null,e,!0))}}),a.length){for(l.sort(n),H(a),H(l),o=0,u=l.length;o<u;++o)l[o].e=e=!e;for(var s,c,f=a[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;s=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,u=s.length;o<u;++o)i.point((c=s[o])[0],c[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(o=(s=h.p.z).length-1;o>=0;--o)i.point((c=s[o])[0],c[1]);else r(h.x,h.p.x,-1,i);h=h.p}s=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}}function H(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function B(){return new I}function I(){this.reset()}I.prototype={constructor:I,reset:function(){this.s=this.t=0},add:function(t){G(X,t,this.t),G(this,X.s,this.s),this.s?this.t+=X.t:this.s=X.t},valueOf:function(){return this.s}};var X=new I;function G(t,n,e){var r=t.s=n+e,i=r-n;t.t=n-(r-i)+(e-i)}function z(t){return[x(t[1],t[0]),q(t[2])]}function D(t){var n=t[0],e=t[1],r=k(e);return[r*k(n),r*C(n),C(e)]}function Y(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function V(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 U(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 Z(t){var n=j(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var J=B();function Q(t){return b(t[0])<=d?t[0]:N(t[0])*((b(t[0])+d)%y-d)}function tt(t,n){var e=Q(n),r=n[1],i=C(r),o=[C(e),-k(e),0],u=0,a=0;J.reset(),1===i?r=g+1e-6:-1===i&&(r=-g-1e-6);for(var l=0,s=t.length;l<s;++l)if(f=(c=t[l]).length)for(var c,f,h=c[f-1],p=Q(h),m=h[1]/2+v,_=C(m),b=k(m),w=0;w<f;++w,p=E,_=N,b=j,h=M){var M=c[w],E=Q(M),S=M[1]/2+v,N=C(S),j=k(S),R=E-p,$=R>=0?1:-1,A=$*R,T=A>d,P=_*N;if(J.add(x(P*$*C(A),b*j+P*k(A))),u+=T?R+$*y:R,T^p>=e^E>=e){var O=V(D(h),D(M));Z(O);var L=V(o,O);Z(L);var W=(T^R>=0?-1:1)*q(L[2]);(r>W||r===W&&(O[0]||O[1]))&&(a+=T^R>=0?1:-1)}}return(u<-.000001||u<1e-6&&J<-.000001)^1&a}function tn(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}var te=(1===(tZ=tn).length&&(tK=tZ,tZ=function(t,n){return tn(tK(t),n)}),{left:function(t,n,e,r){for(null==e&&(e=0),null==r&&(r=t.length);e<r;){var i=e+r>>>1;0>tZ(t[i],n)?e=i+1:r=i}return e},right:function(t,n,e,r){for(null==e&&(e=0),null==r&&(r=t.length);e<r;){var i=e+r>>>1;tZ(t[i],n)>0?r=i:e=i+1}return e}});te.right,te.left;var tr=Array.prototype;function ti(t){for(var n,e,r,i=t.length,o=-1,u=0;++o<i;)u+=t[o].length;for(e=Array(u);--i>=0;)for(n=(r=t[i]).length;--n>=0;)e[--u]=r[n];return e}function to(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=Array(i);++r<i;)o[r]=t+r*e;return o}function tu(t,n,e,r){return function(i){var o,u,a,l=n(i),s=O(),c=n(s),f=!1,h={point:p,lineStart:g,lineEnd:v,polygonStart:function(){h.point=y,h.lineStart=m,h.lineEnd=_,u=[],o=[]},polygonEnd:function(){h.point=p,h.lineStart=g,h.lineEnd=v,u=ti(u);var t=tt(o,r);u.length?(f||(i.polygonStart(),f=!0),F(u,tl,t,e,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),u=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(n,e){t(n,e)&&i.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 y(t,n){a.push([t,n]),c.point(t,n)}function m(){c.lineStart(),a=[]}function _(){y(a[0][0],a[0][1]),c.lineEnd();var t,n,e,r,l=c.clean(),h=s.result(),p=h.length;if(a.pop(),o.push(a),a=null,p){if(1&l){if((n=(e=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}return}p>1&&2&l&&h.push(h.pop().concat(h.shift())),u.push(h.filter(ta))}}return h}}function ta(t){return t.length>1}function tl(t,n){return((t=t.x)[0]<0?t[1]-g-1e-6:g-t[1])-((n=n.x)[0]<0?n[1]-g-1e-6:g-n[1])}tr.slice,tr.map;var ts=tu(function(){return!0},function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a,l,s,c,f,h,p=o>0?d:-d,v=b(o-e);1e-6>b(v-d)?(t.point(e,r=(r+u)/2>0?g:-g),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),t.point(o,r),n=0):i!==p&&v>=d&&(1e-6>b(e-i)&&(e-=1e-6*i),1e-6>b(o-p)&&(o-=1e-6*p),a=e,l=r,r=b(h=C(a-(s=o)))>1e-6?w((C(l)*(f=k(u))*C(s)-C(u)*(c=k(l))*C(a))/(c*f*h)):(l+u)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),n=0),t.point(e=o,r=u),i=p},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*g,r.point(-d,i),r.point(0,i),r.point(d,i),r.point(d,0),r.point(d,-i),r.point(0,-i),r.point(-d,-i),r.point(-d,0),r.point(-d,i);else if(b(t[0]-n[0])>1e-6){var o=t[0]<n[0]?d:-d;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])},[-d,-g]);function tc(t,n){n=D(n),n[0]-=t,Z(n);
vendor: 4,226 bytes, line 1
1var e=$(-n[1]);return((0>-n[2]?-e:e)+y-1e-6)%y}function tf(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 th(t){return t}function tp(t,n){return[b(t)>d?t+Math.round(-t/y)*y:t,n]}function td(t,n,e){return(t%=y)?n||e?tf(tv(t),ty(n,e)):tv(t):n||e?ty(n,e):tp}function tg(t){return function(n,e){return[(n+=t)>d?n-y:n<-d?n+y:n,e]}}function tv(t){var n=tg(t);return n.invert=tg(-t),n}function ty(t,n){var e=k(t),r=C(t),i=k(n),o=C(n);function u(t,n){var u=k(n),a=k(t)*u,l=C(t)*u,s=C(n),c=s*e+a*r;return[x(l*i-c*o,a*e-s*r),q(c*i+l*o)]}return u.invert=function(t,n){var u=k(n),a=k(t)*u,l=C(t)*u,s=C(n),c=s*i-l*o;return[x(l*i+s*o,a*e+c*r),q(c*e-a*r)]},u}function tm(t){return function(n){var e=new t_;for(var r in t)e[r]=t[r];return e.stream=n,e}}function t_(){}function tb(t,n){t&&tx.hasOwnProperty(t.type)&&tx[t.type](t,n)}tp.invert=tp,t_.prototype={constructor:t_,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 tw={Feature:function(t,n){tb(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)tb(e[r].geometry,n)}},tx={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){tk(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)tk(e[r],n,0)},Polygon:function(t,n){tM(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)tM(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)tb(e[r],n)}};function tk(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function tM(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)tk(t[e],n,1);n.polygonEnd()}function tE(t,n){t&&tw.hasOwnProperty(t.type)?tw[t.type](t,n):tb(t,n)}var tS=1/0,tC=1/0,tN=-1/0,tj=tN,tR={point:function(t,n){t<tS&&(tS=t),t>tN&&(tN=t),n<tC&&(tC=n),n>tj&&(tj=n)},lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P,result:function(){var t=[[tS,tC],[tN,tj]];return tN=tj=-(tC=tS=1/0),t}};function t$(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),tE(e,t.stream(tR)),n(tR.result()),null!=r&&t.clipExtent(r),t}function tq(t,n,e){return t$(t,function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),u=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([u,a])},e)}var tA=k(30*_);function tT(t,n){return+n?function(t,n){function e(r,i,o,u,a,l,s,c,f,h,p,d,g,v){var y=s-r,m=c-i,_=y*y+m*m;if(_>4*n&&g--){var w=u+h,k=a+p,M=l+d,E=j(w*w+k*k+M*M),S=q(M/=E),C=1e-6>b(b(M)-1)||1e-6>b(o-f)?(o+f)/2:x(k,w),N=t(C,S),R=N[0],$=N[1],A=R-r,T=$-i,P=m*A-y*T;(P*P/_>n||b((y*A+m*T)/_-.5)>.3||u*h+a*p+l*d<tA)&&(e(r,i,o,u,a,l,R,$,C,w/=E,k/=E,M,g,v),v.point(R,$),e(R,$,C,w,k,M,s,c,f,h,p,d,g,v))}}return function(n){var r,i,o,u,a,l,s,c,f,h,p,d,g={point:v,lineStart:y,lineEnd:_,polygonStart:function(){n.polygonStart(),g.lineStart=b},polygonEnd:function(){n.polygonEnd(),g.lineStart=y}};function v(e,r){e=t(e,r),n.point(e[0],e[1])}function y(){c=NaN,g.point=m,n.lineStart()}function m(r,i){var o=D([r,i]),u=t(r,i);e(c,f,s,h,p,d,c=u[0],f=u[1],s=r,h=o[0],p=o[1],d=o[2],16,n),n.point(c,f)}function _(){g.point=v,n.lineEnd()}function b(){y(),g.point=w,g.lineEnd=x}function w(t,n){m(r=t,n),i=c,o=f,u=h,a=p,l=d,g.point=m}function x(){e(c,f,s,h,p,d,i,o,r,u,a,l,16,n),g.lineEnd=_,_()}return g}}(t,n):tm({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}var tP=tm({point:function(t,n){this.stream.point(t*_,n*_)}});function tO(t,n,e,r,i,o){var u=k(o),a=C(o),l=u*t,s=a*t,c=u/t,f=a/t,h=(a*e-u*n)/t,p=(a*n+u*e)/t;function d(t,o){return[l*(t*=r)-s*(o*=i)+n,e-s*t-l*o]}return d.invert=function(t,n){return[r*(c*t-f*n+h),i*(p-f*t-c*n)]},d}
1function tL(t){return(function(t){var n,e,r,i,o,u,a,l,s,c,f=150,h=480,p=250,g=0,v=0,w=0,x=0,M=0,E=0,S=1,N=1,R=null,$=ts,q=null,A=th,T=.5;function P(t){return l(t[0]*_,t[1]*_)}function W(t){return(t=l.invert(t[0],t[1]))&&[t[0]*m,t[1]*m]}function H(){var t=tO(f,0,0,S,N,E).apply(null,n(g,v)),r=(E?tO:function(t,n,e,r,i){function o(o,u){return[n+t*(o*=r),e-t*(u*=i)]}return o.invert=function(o,u){return[(o-n)/t*r,(e-u)/t*i]},o})(f,h-t[0],p-t[1],S,N,E);return e=td(w,x,M),a=tf(n,r),l=tf(e,a),u=tT(a,T),B()}function B(){return s=c=null,P}return P.stream=function(t){var n;return s&&c===t?s:s=tP((n=e,tm({point:function(t,e){var r=n(t,e);return this.stream.point(r[0],r[1])}}))($(u(A(c=t)))))},P.preclip=function(t){return arguments.length?($=t,R=void 0,B()):$},P.postclip=function(t){return arguments.length?(A=t,q=r=i=o=null,B()):A},P.clipAngle=function(t){return arguments.length?($=+t?function(t){var n=k(t),e=6*_,r=n>0,i=b(n)>1e-6;function o(t,e){return k(t)*k(e)>n}function u(t,e,r){var i=D(t),o=D(e),u=[1,0,0],a=V(i,o),l=Y(a,a),s=a[0],c=l-s*s;if(!c)return!r&&t;var f=V(u,a),h=K(u,n*l/c);U(h,K(a,-n*s/c));var p=Y(h,f),g=Y(f,f),v=p*p-g*(Y(h,h)-1);if(!(v<0)){var y=j(v),m=K(f,(-p-y)/g);if(U(m,h),m=z(m),!r)return m;var _,w=t[0],x=e[0],k=t[1],M=e[1];x<w&&(_=w,w=x,x=_);var E=x-w,S=1e-6>b(E-d);if(!S&&M<k&&(_=k,k=M,M=_),S||E<1e-6?S?k+M>0^m[1]<(1e-6>b(m[0]-w)?k:M):k<=m[1]&&m[1]<=M:E>d^(w<=m[0]&&m[0]<=x)){var C=K(f,(-p+y)/g);return U(C,h),[m,z(C)]}}}function a(n,e){var i=r?t:d-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return tu(o,function(t){var n,e,l,s,c;return{lineStart:function(){s=l=!1,c=1},point:function(f,h){var p,g,v=[f,h],y=o(f,h),m=r?y?0:a(f,h):y?a(f+(f<0?d:-d),h):0;!n&&(s=l=y)&&t.lineStart(),y!==l&&(!(g=u(n,v))||L(n,g)||L(v,g))&&(v[2]=1),y!==l?(c=0,y?(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):i&&n&&r^y&&!(m&e)&&(p=u(v,n,!0))&&(c=0,r?(t.lineStart(),t.point(p[0][0],p[0][1]),t.point(p[1][0],p[1][1]),t.lineEnd()):(t.point(p[1][0],p[1][1]),t.lineEnd(),t.lineStart(),t.point(p[0][0],p[0][1],3))),!y||n&&L(n,v)||t.point(v[0],v[1]),n=v,l=y,e=m},lineEnd:function(){l&&t.lineEnd(),n=null},clean:function(){return c|(s&&l)<<1}}},function(n,r,i,o){!function(t,n,e,r,i,o){if(e){var u=k(n),a=C(n),l=r*e;null==i?(i=n+r*y,o=n-l/2):(i=tc(u,i),o=tc(u,o),(r>0?i<o:i>o)&&(i+=r*y));for(var s,c=i;r>0?c>o:c<o;c-=l)s=z([u,-a*k(c),-a*C(c)]),t.point(s[0],s[1])}}(o,t,e,i,n,r)},r?[0,-t]:[-d,t-d])}(R=t*_):(R=null,ts),B()):R*m},P.clipExtent=function(t){return arguments.length?(A=null==t?(q=r=i=o=null,th):function(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,s){var c=0,f=0;if(null==i||(c=u(i,a))!==(f=u(o,a))||0>l(i,o)^a>0)do s.point(0===c||3===c?t:e,c>1?r:n);while((c=(c+a+4)%4)!==f);else s.point(o[0],o[1])}function u(r,i){return 1e-6>b(r[0]-t)?i>0?0:3:1e-6>b(r[0]-e)?i>0?2:1:1e-6>b(r[1]-n)?i>0?1:0:i>0?3:2}function a(t,n){return l(t.x,n.x)}function l(t,n){var e=u(t,1),r=u(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(u){var l,s,c,f,h,p,d,g,v,y,m,_=u,b=O(),w={point:x,lineStart:function(){w.point=k,s&&s.push(c=[]),y=!0,v=!1,d=g=NaN},lineEnd:function(){l&&(k(f,h),p&&v&&b.rejoin(),l.push(b.result())),w.point=x,v&&_.lineEnd()},polygonStart:function(){_=b,l=[],s=[],m=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=s.length;e<i;++e)for(var o,u,a=s[e],l=1,c=a.length,f=a[0],h=f[0],p=f[1];l<c;++l)o=h,u=p,h=(f=a[l])[0],p=f[1],u<=r?p>r&&(h-o)*(r-u)>(p-u)*(t-o)&&++n:p<=r&&(h-o)*(r-u)<(p-u)*(t-o)&&--n;return n}(),e=m&&n,i=(l=ti(l)).length;(e||i)&&(u.polygonStart(),e&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),i&&F(l,a,n,o,u),u.polygonEnd()),_=u,l=s=c=null}};function x(t,n){i(t,n)&&_.point(t,n)}function k(o,u){var a=i(o,u);if(s&&c.push([o,u]),y)f=o,h=u,p=a,y=!1,a&&(_.lineStart(),_.point(o,u));else if(a&&v)_.point(o,u);else{var l=[d=Math.max(-1e9,Math.min(1e9,d)),g=Math.max(-1e9,Math.min(1e9,g))],b=[o=Math.max(-1e9,Math.min(1e9,o)),u=Math.max(-1e9,Math.min(1e9,u))];(function(t,n,e,r,i,o){var u,a=t[0],l=t[1],s=n[0],c=n[1],f=0,h=1,p=s-a,d=c-l;if(u=e-a,p||!(u>
10)){if(u/=p,p<0){if(u<f)return;u<h&&(h=u)}else if(p>0){if(u>h)return;u>f&&(f=u)}if(u=i-a,p||!(u<0)){if(u/=p,p<0){if(u>h)return;u>f&&(f=u)}else if(p>0){if(u<f)return;u<h&&(h=u)}if(u=r-l,d||!(u>0)){if(u/=d,d<0){if(u<f)return;u<h&&(h=u)}else if(d>0){if(u>h)return;u>f&&(f=u)}if(u=o-l,d||!(u<0)){if(u/=d,d<0){if(u>h)return;u>f&&(f=u)}else if(d>0){if(u<f)return;u<h&&(h=u)}return f>0&&(t[0]=a+f*p,t[1]=l+f*d),h<1&&(n[0]=a+h*p,n[1]=l+h*d),!0}}}}})(l,b,t,n,e,r)?(v||(_.lineStart(),_.point(l[0],l[1])),_.point(b[0],b[1]),a||_.lineEnd(),m=!1):a&&(_.lineStart(),_.point(o,u),m=!1)}d=o,g=u,v=a}return w}}(q=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),B()):null==q?null:[[q,r],[i,o]]},P.scale=function(t){return arguments.length?(f=+t,H()):f},P.translate=function(t){return arguments.length?(h=+t[0],p=+t[1],H()):[h,p]},P.center=function(t){return arguments.length?(g=t[0]%360*_,v=t[1]%360*_,H()):[g*m,v*m]},P.rotate=function(t){return arguments.length?(w=t[0]%360*_,x=t[1]%360*_,M=t.length>2?t[2]%360*_:0,H()):[w*m,x*m,M*m]},P.angle=function(t){return arguments.length?(E=t%360*_,H()):E*m},P.reflectX=function(t){return arguments.length?(S=t?-1:1,H()):S<0},P.reflectY=function(t){return arguments.length?(N=t?-1:1,H()):N<0},P.precision=function(t){return arguments.length?(u=tT(a,T=t*t),B()):j(T)},P.fitExtent=function(t,n){return tq(P,t,n)},P.fitSize=function(t,n){return tq(P,[[0,0],t],n)},P.fitWidth=function(t,n){return t$(P,function(n){var e=+t,r=e/(n[1][0]-n[0][0]),i=(e-r*(n[1][0]+n[0][0]))/2,o=-r*n[0][1];P.scale(150*r).translate([i,o])},n)},P.fitHeight=function(t,n){return t$(P,function(n){var e=+t,r=e/(n[1][1]-n[0][1]),i=-r*n[0][0],o=(e-r*(n[1][1]+n[0][1]))/2;P.scale(150*r).translate([i,o])},n)},function(){return n=t.apply(this,arguments),P.invert=n.invert&&W,H()}})(function(){return t})()}var tW=A(function(t){return j(2/(1+t))});tW.invert=T(function(t){return 2*q(t/2)});var tF=A(function(t){return(t=$(t))&&t/C(t)});function tH(t,n){var e=k(n),r=k(t)*e;return[e*C(t)/r,C(n)/r]}function tB(t,n){return[k(n)*C(t),C(n)]}function tI(t,n){var e=k(n),r=1+k(t)*e;return[e*C(t)/r,C(n)/r]}tF.invert=T(function(t){return t}),tH.invert=T(w),tB.invert=T(q),tI.invert=T(function(t){return 2*w(t)});var tX=j(3)/2;function tG(t,n){var e=q(tX*C(n)),r=e*e,i=r*r*r;return[t*k(e)/(tX*(1.340264+-.24331799999999998*r+i*(.0062510000000000005+.034164*r))),e*(1.340264+-.081106*r+i*(893e-6+.003796*r))]}function tz(t,n){return[t,n]}function tD(t,n){return[t,S(R((g+n)/2))]}function tY(t){var n,e,r,i=tL(t),o=i.center,u=i.scale,a=i.translate,l=i.clipExtent,s=null;function c(){var o=d*u(),a=i((function(t){function n(n){return n=t(n[0]*_,n[1]*_),n[0]*=m,n[1]*=m,n}return t=td(t[0]*_,t[1]*_,t.length>2?t[2]*_:0),n.invert=function(n){return n=t.invert(n[0]*_,n[1]*_),n[0]*=m,n[1]*=m,n},n})(i.rotate()).invert([0,0]));return l(null==s?[[a[0]-o,a[1]-o],[a[0]+o,a[1]+o]]:t===tD?[[Math.max(a[0]-o,s),n],[Math.min(a[0]+o,e),r]]:[[s,Math.max(a[1]-o,n)],[e,Math.min(a[1]+o,r)]])}return i.scale=function(t){return arguments.length?(u(t),c()):u()},i.translate=function(t){return arguments.length?(a(t),c()):a()},i.center=function(t){return arguments.length?(o(t),c()):o()},i.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]),c()):null==s?null:[[s,n],[e,r]]},c()}function tV(t,n){return[S(R((g+n)/2)),-t]}function tU(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)))]}tG.invert=function(t,n){for(var e,r,i=n,o=i*i,u=o*o*o,a=0;a<12&&(r=i*(1.340264+-.081106*o+u*(893e-6+.003796*o))-n,i-=e=r/(1.340264+-.24331799999999998*o+u*(.0062510000000000005+.034164*o)),u=(o=i*i)*o*o,!(1e-12>b(e)));++a);return[tX*t*(1.340264+-.24331799999999998*o+u*(.0062510000000000005+.034164*o))/k(i),q(C(i)/tX)]},tz.invert=tz,tD.invert=function(t,n){return[t,2*w(E(n))-g]},tV.invert=function(t,n){return[-n,2*w(E(t))-g]},tU.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,u=o*o;r-=e=(r*(1.007226+o*(.015085+u*(-.044475+.028874*o-.005916*u)))-n)/(1.007226+o*(.045255+u*(-.311325+.259866*o-.005916*11*u)))}while(b(e)>1e-6&&--i>0);return[t/(.8707+(o=r*r)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),r]};var tK,tZ,tJ,tQ,t0,t1,t2=B(),t5=B(),t6={point:P,lineStart:P,lineEnd:P,polygonStart:function(){t6.lineStart=t4,t6.lineEnd=t9},polygonEnd:function(){t6.lineStart=t6.lineEnd=t6.point=P,t2.add(b(t5)),t5.reset()},result:function(){return t2.reset(),t2/2}};function t4(){t6.point=t3}function t3(t,n){t6.point=t7,tJ=t0=t,tQ=t1=n}function t7(t,n){t5.add(t1*t-t0*n),t0=t,t1=n}function t9(){t7(tJ,tQ)}var t8,nt,nn,ne,nr=0,ni=0,no=0,nu=0,na=0,nl=0,ns=0,nc=0,nf=0,nh={point:np,lineStart:nd,lineEnd:ny,polygonStart:function(){nh.lineStart=nm,nh.lineEnd=n_},polygonEnd:function(){nh.point=np,nh.lineStart=nd,nh.lineEnd=ny},result:function(){var t=nf?[ns/nf,nc/nf]:nl?[nu/nl,na/nl]:no?[nr/no,ni/no]:[NaN,NaN];return nr=ni=no=nu=na=nl=ns=nc=nf=0,t}};function np(t,n){nr+=t,ni+=n,++no}
1function nd(){nh.point=ng}function ng(t,n){nh.point=nv,np(nn=t,ne=n)}function nv(t,n){var e=t-nn,r=n-ne,i=j(e*e+r*r);nu+=i*(nn+t)/2,na+=i*(ne+n)/2,nl+=i,np(nn=t,ne=n)}function ny(){nh.point=np}function nm(){nh.point=nb}function n_(){nw(t8,nt)}function nb(t,n){nh.point=nw,np(t8=nn=t,nt=ne=n)}function nw(t,n){var e=t-nn,r=n-ne,i=j(e*e+r*r);nu+=i*(nn+t)/2,na+=i*(ne+n)/2,nl+=i,ns+=(i=ne*t-nn*n)*(nn+t),nc+=i*(ne+n),nf+=3*i,np(nn=t,ne=n)}function nx(t){this._context=t}nx.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,y)}},result:P};var nk,nM,nE,nS,nC,nN=B(),nj={point:P,lineStart:function(){nj.point=nR},lineEnd:function(){nk&&n$(nM,nE),nj.point=P},polygonStart:function(){nk=!0},polygonEnd:function(){nk=null},result:function(){return nN.reset(),+nN}};function nR(t,n){nj.point=n$,nM=nS=t,nE=nC=n}function n$(t,n){nS-=t,nC-=n,nN.add(j(nS*nS+nC*nC)),nS=t,nC=n}function nq(){this._string=[]}function nA(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function nT(t,n,e){var r=to(t,n-1e-6,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function nP(t,n,e){var r=to(t,n-1e-6,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}nq.prototype={_radius:4.5,_circle:nA(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=nA(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(!this._string.length)return null;var t=this._string.join("");return this._string=[],t}};var nO,nL,nW,nF=B(),nH={sphere:P,point:P,lineStart:function(){nH.point=nI,nH.lineEnd=nB},lineEnd:P,polygonStart:P,polygonEnd:P};function nB(){nH.point=nH.lineEnd=P}function nI(t,n){t*=_,n*=_,nO=t,nL=C(n),nW=k(n),nH.point=nX}function nX(t,n){t*=_;var e=C(n*=_),r=k(n),i=b(t-nO),o=k(i),u=r*C(i),a=nW*e-nL*r*o,l=nL*e+nW*r*o;nF.add(x(j(u*u+a*a),l)),nO=t,nL=e,nW=r}var nG=[null,null],nz={type:"LineString",coordinates:nG};function nD(t,n){return nG[0]=t,nG[1]=n,nF.reset(),tE(nz,nH),+nF}var nY={Feature:function(t,n){return nU(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(nU(e[r].geometry,n))return!0;return!1}},nV={Sphere:function(){return!0},Point:function(t,n){return 0===nD(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(0===nD(e[r],n))return!0;return!1},LineString:function(t,n){return nK(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(nK(e[r],n))return!0;return!1},Polygon:function(t,n){return nZ(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(nZ(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(nU(e[r],n))return!0;return!1}};function nU(t,n){return!!(t&&nV.hasOwnProperty(t.type))&&nV[t.type](t,n)}function nK(t,n){for(var e,r,i,o=0,u=t.length;o<u;o++){if(0===(r=nD(t[o],n))||o>0&&(i=nD(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<1e-12*i)return!0;e=r}return!1}function nZ(t,n){return!!tt(t.map(nJ),nQ(n))}function nJ(t){return(t=t.map(nQ)).pop(),t}function nQ(t){return[t[0]*_,t[1]*_]}function n0(t,n){return(t&&nY.hasOwnProperty(t.type)?nY[t.type]:nU)(t,n)}var n1=e(65969),n2=e(24246);function n5(){return(n5=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}var n6={azimuthalEqualArea:function(){return tL(tW).scale(124.75).clipAngle(179.999)},azimuthalEquidistant:function(){return tL(tF).scale(79.4188).clipAngle(179.999)},gnomonic:function(){return tL(tH).scale(144.049).clipAngle(60)},orthographic:function(){return tL(tB).scale(249.5).clipAngle(90.000001)},stereographic:function(){return tL(tI).scale(250).clipAngle(142)},equalEarth:function(){return tL(tG).scale(177.158)},equirectangular:function(){return tL(tz).scale(152.63)},mercator:function(){return tY(tD).scale(961/y)},transverseMercator:function(){var t=tY(tV),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)},naturalEarth1:function(){return tL(tU).scale(175.295)}}
1,n4=function(t){var n=t.width,e=t.height,o=t.projectionType,u=t.projectionScale,a=t.projectionTranslation,s=t.projectionRotation,c=t.fillColor,f=t.borderWidth,h=t.borderColor,p=(0,r.useMemo)(function(){return n6[o]().scale(u).translate([n*a[0],e*a[1]]).rotate(s)},[n,e,o,u,a[0],a[1],s[0],s[1],s[2]]),d=(0,r.useMemo)(function(){return function(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),tE(t,e(r))),r.result()}return o.area=function(t){return tE(t,e(t6)),t6.result()},o.measure=function(t){return tE(t,e(nj)),nj.result()},o.bounds=function(t){return tE(t,e(tR)),tR.result()},o.centroid=function(t){return tE(t,e(nh)),nh.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,th):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new nq):new nx(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)}(p)},[p]),g=(0,r.useMemo)(function(){return function(){var t,n,e,r,i,o,u,a,l,s,c,f,h=10,p=10,d=90,g=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:m()}}function m(){return to(M(r/d)*d,e,d).map(c).concat(to(M(a/g)*g,u,g).map(f)).concat(to(M(n/h)*h,t,h).filter(function(t){return b(t%d)>1e-6}).map(l)).concat(to(M(o/p)*p,i,p).filter(function(t){return b(t%g)>1e-6}).map(s))}return y.lines=function(){return m().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[c(r).concat(f(u).slice(1),c(e).reverse().slice(1),f(a).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],u=+t[1][1],r>e&&(t=r,r=e,e=t),a>u&&(t=a,a=u,u=t),y.precision(v)):[[r,a],[e,u]]},y.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),y.precision(v)):[[n,o],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(d=+t[0],g=+t[1],y):[d,g]},y.stepMinor=function(t){return arguments.length?(h=+t[0],p=+t[1],y):[h,p]},y.precision=function(h){return arguments.length?(v=+h,l=nT(o,i,90),s=nP(n,t,v),c=nT(a,u,90),f=nP(r,e,v),y):v},y.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}()}),v=(0,i.Fg)();return{projection:p,path:d,graticule:g,getBorderWidth:(0,r.useMemo)(function(){return"function"==typeof f?f:function(){return f}},[f]),getBorderColor:(0,l.Bf)(h,v),getFillColor:(0,r.useMemo)(function(){return"function"==typeof c?c:function(){return c}},[c])}},n3=function(t){var n=t.features,e=t.data,o=t.match,u=t.label,a=t.value,l=t.valueFormat,s=t.colors,f=t.unknownColor,d=t.domain,g=(0,r.useMemo)(function(){return h()(o)?o:function(t,n){var e=c()(t,o),r=c()(n,o);return e&&e===r}},[o]),v=(0,r.useMemo)(function(){return h()(u)?u:function(t){return c()(t,u)}},[u]),y=(0,r.useMemo)(function(){return h()(a)?a:function(t){return c()(t,a)}},[a]),m=(0,r.useMemo)(function(){return void 0===l?function(t){return t}:h()(l)?l:(0,p.WU)(l)},[l]),_=(0,r.useMemo)(function(){return(0,i.om)(s).domain(d)},[s,d]),b=(0,r.useMemo)(function(){return function(t){return void 0===t.value?f:_(t.value)}},[_,f]),w=(0,r.useMemo)(function(){return n.map(function(t){var n=e.find(function(n){return g(t,n)}),r=y(n);if(n){var i=n5({},t,{data:n,value:r,formattedValue:m(r)});return i.color=b(i),i.label=v(i),i}return t})},[n,e,g,y,m,b]),x=(0,n1._i)({scale:_,valueFormat:m});return{colorScale:_,getFillColor:b,boundFeatures:w,valueFormatter:m,legendData:x}},n7=(0,r.memo)(function(t){var n=t.feature;return void 0===n.data?null:(0,n2.jsx)(o._5,{id:n.label,color:n.color,enableChip:!0,value:n.formattedValue})});n7.propTypes={feature:a().object.isRequired},n7.displayName="ChoroplethTooltip";var n9={features:a().arrayOf(a().shape({id:a().string.isRequired,type:a().oneOf(["Feature"]).isRequired,properties:a().object,geometry:a().object.isRequired})).isRequired,projectionType:a().oneOf(Object.keys(n6)).isRequired,projectionScale:a().number.isRequired,projectionTranslation:a().arrayOf(a().number).isRequired,projectionRotation:a().arrayOf(a().number).isRequired,fillColor:a().oneOfType([a().string,a().func]).isRequired,borderWidth:a().oneOfType([a().number,a().func]).isRequired,borderColor:l.UO.isRequired,enableGraticule:a().bool.isRequired,graticuleLineWidth:a().number.isRequired,graticuleLineColor:a().string.isRequired,isInteractive:a().bool.isRequired,onMouseEnter:a().func.isRequired,onMouseMove:a().func.isRequired,onMouseLeave:a().func.isRequired,onClick:a().func.isRequired,tooltip:a().any,layers:a().arrayOf(a().oneOfType([a().oneOf(["graticule","features"]),a().func])).isRequired},n8=n5({},n9,{role:a().string.isRequired}),et=n5({pixelRatio:a().number.isRequired},n9),en={data:a().arrayOf(a().object).isRequired,match:a().oneOfType([a().string,a().func]).isRequired,label:a().oneOfType([a().string,a().func]).isRequired,value:a().oneOfType([a().string,a().func]).isRequired,valueFormat:a().oneOfType([a().string,a().func]),colors:i.Dd.isRequired,domain:a().arrayOf(a().number).isRequired,unknownColor:a().string.isRequired,layers:a().arrayOf(a().oneOfType([a().oneOf(["graticule","features","legends"]),a().func])).isRequired},ee=n5({},n8,en,{role:a().string.isRequired}),er=n5({},et,en),ei={projectionType:"mercator",projectionScale:100,projectionTranslation:[.5,.5],projectionRotation:[0,0,0],enableGraticule:!1,graticuleLineWidth:.5,graticuleLineColor:"#999999",fillColor:"#dddddd",borderWidth:0,borderColor:"#000000",isInteractive:!0,onMouseEnter:function(){},onMouseLeave:function(){},onMouseMove:function(){},onClick:function(){},layers:["graticule","features"],legends:[],fill:[],defs:[]},eo=n5({},ei,{role:"img"}),eu=n5({},ei,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),ea={match:"id",label:"id",value:"value",colors:"PuBuGn",unknownColor:"#999",tooltip:n7,layers:["graticule","features","legends"]},el=n5({},eo,ea,{role:"img"}),es=n5({},eu,ea),ec=(0,r.memo)(function(t){var n=t.path,e=t.graticule,r=t.lineWidth,i=t.lineColor;return(0,n2.jsx)("path",{fill:"none",strokeWidth:r,stroke:i,d:n(e())})});ec.propTypes={path:a().func.isRequired,graticule:a().func.isRequired,lineWidth:a().number.isRequired,lineColor:a().string.isRequired},ec.displayName="GeoGraticule";var ef=(0,r.memo)(function(t){var n,e=t.feature,r=t.path,i=t.fillColor,o=t.borderWidth,u=t.borderColor,a=t.onClick,l=t.onMouseEnter,s=t.onMouseMove,c=t.onMouseLeave;return(0,n2.jsx)("path",{fill:null!=(n=null==e?void 0:e.fill)?n:i,strokeWidth:o,stroke:u,strokeLinejoin:"bevel",d:r(e),onMouseEnter:function(t){return l(e,t)},onMouseMove:function(t){return s(e,t)},onMouseLeave:function(t){return c(e,t)},onClick:function(t){return a(e,t)}},e.id)});
1ef.propTypes={feature:a().shape({id:a().string.isRequired,type:a().oneOf(["Feature"]).isRequired,properties:a().object,geometry:a().object.isRequired}).isRequired,path:a().func.isRequired,fillColor:a().string.isRequired,borderWidth:a().number.isRequired,borderColor:a().string.isRequired,onMouseEnter:a().func.isRequired,onMouseMove:a().func.isRequired,onMouseLeave:a().func.isRequired,onClick:a().func.isRequired},ef.displayName="GeoMapFeature";var eh=(0,r.memo)(function(t){var n=t.width,e=t.height,u=t.margin,a=t.features,l=t.layers,s=t.projectionType,c=t.projectionScale,f=t.projectionTranslation,h=t.projectionRotation,p=t.fillColor,d=t.borderWidth,g=t.borderColor,v=t.enableGraticule,y=t.graticuleLineWidth,m=t.graticuleLineColor,_=t.isInteractive,b=t.onClick,w=t.tooltip,x=t.role,k=(0,i.Bs)(n,e,u),M=k.margin,E=k.outerWidth,S=k.outerHeight,C=n4({width:n,height:e,projectionType:s,projectionScale:c,projectionTranslation:f,projectionRotation:h,fillColor:p,borderWidth:d,borderColor:g}),N=C.graticule,j=C.path,R=C.getFillColor,$=C.getBorderWidth,q=C.getBorderColor,A=(0,i.Fg)(),T=(0,o.lL)(),P=T.showTooltipFromEvent,O=T.hideTooltip,L=(0,r.useCallback)(function(t,n){return _&&b&&b(t,n)},[_,b]),W=(0,r.useCallback)(function(t,n){return _&&w&&P((0,n2.jsx)(w,{feature:t}),n)},[_,P,w]),F=(0,r.useCallback)(function(t,n){return _&&w&&P((0,n2.jsx)(w,{feature:t}),n)},[_,P,w]),H=(0,r.useCallback)(function(){return _&&O()},[_,O]);return(0,n2.jsx)(i.tM,{width:E,height:S,margin:M,theme:A,role:x,children:l.map(function(n,e){return"graticule"===n?!0!==v?null:(0,n2.jsx)(ec,{path:j,graticule:N,lineWidth:y,lineColor:m},"graticule"):"features"===n?(0,n2.jsx)(r.Fragment,{children:a.map(function(t){return(0,n2.jsx)(ef,{feature:t,path:j,fillColor:R(t),borderWidth:$(t),borderColor:q(t),onMouseEnter:W,onMouseMove:F,onMouseLeave:H,onClick:L},t.id)})},"features"):(0,n2.jsx)(r.Fragment,{children:n(t)},e)})})});eh.displayName="GeoMap",eh.propTypes=n8,eh.defaultProps=eo,(0,i.li)(eh);var ep=function(t,n,e,r){var o=(0,i.P6)(n,t),u=o[0],a=o[1];return e.find(function(t){return n0(t,r.invert([u,a]))})},ed=(0,r.memo)(function(t){var n=t.width,e=t.height,u=t.margin,a=t.pixelRatio,l=t.features,s=t.layers,c=t.projectionType,f=t.projectionScale,h=t.projectionTranslation,p=t.projectionRotation,d=t.fillColor,g=t.borderWidth,v=t.borderColor,y=t.enableGraticule,m=t.graticuleLineWidth,_=t.graticuleLineColor,b=t.isInteractive,w=t.onClick,x=t.onMouseMove,k=t.tooltip,M=(0,r.useRef)(null),E=(0,i.Fg)(),S=(0,i.Bs)(n,e,u),C=S.margin,N=S.outerWidth,j=S.outerHeight,R=n4({width:n,height:e,projectionType:c,projectionScale:f,projectionTranslation:h,projectionRotation:p,fillColor:d,borderWidth:g,borderColor:v}),$=R.projection,q=R.graticule,A=R.path,T=R.getFillColor,P=R.getBorderWidth,O=R.getBorderColor;(0,r.useEffect)(function(){if(M){M.current.width=N*a,M.current.height=j*a;var n=M.current.getContext("2d");n.scale(a,a),n.fillStyle=E.background,n.fillRect(0,0,N,j),n.translate(C.left,C.top),A.context(n),s.forEach(function(e){"graticule"===e?!0===y&&(n.lineWidth=m,n.strokeStyle=_,n.beginPath(),A(q()),n.stroke()):"features"===e?l.forEach(function(t){n.beginPath(),A(t),n.fillStyle=T(t),n.fill();var e=P(t);e>0&&(n.strokeStyle=O(t),n.lineWidth=e,n.stroke())}):e(n,t)})}},[M,N,j,C,a,E,A,q,T,P,O,l,s]);var L=(0,o.lL)(),W=L.showTooltipFromEvent,F=L.hideTooltip,H=(0,r.useCallback)(function(t){if(b&&k){var n=ep(t,M.current,l,$);n?W((0,n2.jsx)(k,{feature:n}),t):F(),x&&x(n||null,t)}},[W,F,b,k,M,l,$]),B=(0,r.useCallback)(function(){return b&&F()},[b,F]),I=(0,r.useCallback)(function(t){if(b&&w){var n=ep(t,M.current,l,$);n&&w(n,t)}},[b,M,l,$,w]);return(0,n2.jsx)("canvas",{ref:M,width:N*a,height:j*a,style:{width:N,height:j,cursor:b?"auto":"normal"},onMouseMove:H,onMouseLeave:B,onClick:I})});ed.displatName="GeoMapCanvas",ed.propTypes=et,ed.defaultProps=eu,(0,i.li)(ed);var eg=(0,r.memo)(function(t){var n=t.width,e=t.height,u=t.margin,a=t.features,l=t.data,s=t.match,c=t.label,f=t.value,h=t.valueFormat,p=t.projectionType,d=t.projectionScale,g=t.projectionTranslation,v=t.projectionRotation,y=t.colors,m=t.domain,_=t.unknownColor,b=t.borderWidth,w=t.borderColor,x=t.enableGraticule,k=t.graticuleLineWidth,M=t.graticuleLineColor,E=t.layers,S=t.legends,C=t.isInteractive,N=t.onClick,j=t.tooltip,R=t.role,$=t.defs,q=void 0===$?el.defs:$,A=t.fill,T=void 0===A?el.fill:A,P=(0,i.Bs)(n,e,u),O=P.margin,L=P.outerWidth,W=P.outerHeight,F=n4({width:n,height:e,projectionType:p,projectionScale:d,projectionTranslation:g,projectionRotation:v,fillColor:function(){},borderWidth:b,borderColor:w}),H=F.graticule,B=F.path,I=F.getBorderWidth,X=F.getBorderColor,G=n3({features:a,data:l,match:s,label:c,value:f,valueFormat:h,colors:y,unknownColor:_,domain:m}),z=G.getFillColor,D=G.boundFeatures,Y=G.legendData,V=(0,i.Fg)(),U=(0,i.yU)(q,D,T,{dataKey:"data",targetKey:"fill"}),K=(0,o.lL)(),Z=K.showTooltipFromEvent,J=K.hideTooltip,Q=(0,r.useCallback)(function(t,n){return C&&N&&N(t,n)},[C,N]),tt=(0,r.useCallback)(function(t,n){return C&&j&&Z((0,n2.jsx)(j,{feature:t}),n)},[C,Z,j]),tn=(0,r.useCallback)(function(t,n){return C&&j&&Z((0,n2.jsx)(j,{feature:t}),n)},[C,Z,j]),te=(0,r.useCallback)(function(){return C&&J()},[C,J]);return(0,n2.jsx)(i.tM,{width:L,height:W,margin:O,theme:V,defs:U,role:R,children:E.map(function(t,i){return"graticule"===t?!0!==x?null:(0,n2.jsx)(ec,{path:B,graticule:H,lineWidth:k,lineColor:M}
1,"graticule"):"features"===t?(0,n2.jsx)(r.Fragment,{children:D.map(function(t){return(0,n2.jsx)(ef,{feature:t,path:B,fillColor:z(t),borderWidth:I(t),borderColor:X(t),onMouseEnter:tt,onMouseMove:tn,onMouseLeave:te,onClick:Q},t.id)})},"features"):"legends"===t?S.map(function(t,r){return(0,n2.jsx)(n1.$6,n5({containerWidth:n,containerHeight:e,data:Y},t),r)}):(0,n2.jsx)(r.Fragment,{children:t({})},i)})})});eg.displayName="Choropleth",eg.propTypes=ee,eg.defaultProps=el;var ev=(0,i.li)(eg),ey=function(t){return(0,n2.jsx)(i.d,{children:function(n){var e=n.width,r=n.height;return(0,n2.jsx)(ev,n5({width:e,height:r},t))}})},em=function(t,n,e,r){var o=(0,i.P6)(n,t),u=o[0],a=o[1];return e.find(function(t){return n0(t,r.invert([u,a]))})},e_=(0,r.memo)(function(t){var n=t.width,e=t.height,u=t.margin,a=t.pixelRatio,l=t.features,s=t.data,c=t.match,f=t.label,h=t.value,p=t.valueFormat,d=t.projectionType,g=t.projectionScale,v=t.projectionTranslation,y=t.projectionRotation,m=t.colors,_=t.domain,b=t.unknownColor,w=t.borderWidth,x=t.borderColor,k=t.enableGraticule,M=t.graticuleLineWidth,E=t.graticuleLineColor,S=t.layers,C=t.legends,N=t.isInteractive,j=t.onClick,R=t.onMouseMove,$=t.tooltip,q=(0,r.useRef)(null),A=(0,i.Fg)(),T=(0,i.Bs)(n,e,u),P=T.margin,O=T.outerWidth,L=T.outerHeight,W=n4({width:n,height:e,projectionType:d,projectionScale:g,projectionTranslation:v,projectionRotation:y,fillColor:function(){},borderWidth:w,borderColor:x}),F=W.projection,H=W.graticule,B=W.path,I=W.getBorderWidth,X=W.getBorderColor,G=n3({features:l,data:s,match:c,label:f,value:h,valueFormat:p,colors:m,unknownColor:b,domain:_}),z=G.getFillColor,D=G.boundFeatures,Y=G.legendData;(0,r.useEffect)(function(){if(q){q.current.width=O*a,q.current.height=L*a;var t=q.current.getContext("2d");t.scale(a,a),t.fillStyle=A.background,t.fillRect(0,0,O,L),t.translate(P.left,P.top),B.context(t),S.forEach(function(r){"graticule"===r?!0===k&&(t.lineWidth=M,t.strokeStyle=E,t.beginPath(),B(H()),t.stroke()):"features"===r?D.forEach(function(n){t.beginPath(),B(n),t.fillStyle=z(n),t.fill();var e=I(n);e>0&&(t.strokeStyle=X(n),t.lineWidth=e,t.stroke())}):"legends"===r&&C.forEach(function(r){(0,n1.as)(t,n5({},r,{data:Y,containerWidth:n,containerHeight:e,theme:A}))})})}},[q,O,L,P,a,A,B,H,z,I,X,D,C,S]);var V=(0,o.lL)(),U=V.showTooltipFromEvent,K=V.hideTooltip,Z=(0,r.useCallback)(function(t){if(N&&$){var n=em(t,q.current,D,F);n?U((0,n2.jsx)($,{feature:n}),t):K(),R&&R(n||null,t)}},[U,K,N,$,q,D,F]),J=(0,r.useCallback)(function(){return N&&K()},[N,K]),Q=(0,r.useCallback)(function(t){if(N&&j){var n=em(t,q.current,D,F);n&&j(n,t)}},[N,q,D,F,j]);return(0,n2.jsx)("canvas",{ref:q,width:O*a,height:L*a,style:{width:O,height:L,cursor:N?"auto":"normal"},onMouseMove:Z,onMouseLeave:J,onClick:Q})});e_.displayName="ChoroplethCanvas",e_.propTypes=er,e_.defaultProps=es,(0,i.li)(e_)},60721:function(t,n,e){function r(t){return t}function i(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)}function o(t,n){var e=n.id,i=n.bbox,o=null==n.properties?{}:n.properties,u=function(t,n){var e=function(t){if(null==t)return r;var n,e,i=t.scale[0],o=t.scale[1],u=t.translate[0],a=t.translate[1];return function(t,r){r||(n=e=0);var l=2,s=t.length,c=Array(s);for(c[0]=(n+=t[0])*i+u,c[1]=(e+=t[1])*o+a;l<s;)c[l]=t[l],++l;return c}}(t.transform),i=t.arcs;function o(t){return e(t)}function u(t){for(var n=[],r=0,o=t.length;r<o;++r)!function(t,n){n.length&&n.pop();for(var r=i[t<0?~t:t],o=0,u=r.length;o<u;++o)n.push(e(r[o],o));t<0&&function(t,n){for(var e,r=t.length,i=r-n;i<--r;)e=t[i],t[i++]=t[r],t[r]=e}(n,u)}(t[r],n);return n.length<2&&n.push(n[0]),n}function a(t){for(var n=u(t);n.length<4;)n.push(n[0]);return n}function l(t){return t.map(a)}return function t(n){var e,r=n.type;switch(r){case"GeometryCollection":return{type:r,geometries:n.geometries.map(t)};case"Point":e=o(n.coordinates);break;case"MultiPoint":e=n.coordinates.map(o);break;case"LineString":e=u(n.arcs);break;case"MultiLineString":e=n.arcs.map(u);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)}(t,n);return null==e&&null==i?{type:"Feature",properties:o,geometry:u}:null==i?{type:"Feature",id:e,properties:o,geometry:u}:{type:"Feature",id:e,bbox:i,properties:o,geometry:u}}e.d(n,{Z:function(){return i}})},15379:function(t,n,e){function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}function o(){return[]}function u(t){return null==t?o:function(){return this.querySelectorAll(t)}}function a(t){return function(){return this.matches(t)}}function l(t){return function(n){return n.matches(t)}}e.d(n,{AVB:function(){return nz}});var s,c=Array.prototype.find;function f(){return this.firstElementChild}var h=Array.prototype.filter;function p(){return Array.from(this.children)}function d(t){return Array(t.length)}function g(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function v(t,n,e,r,i,o){for(var u,a=0,l=n.length,s=o.length;a<s;
1++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new g(t,o[a]);for(;a<l;++a)(u=n[a])&&(i[a]=u)}function y(t,n,e,r,i,o,u){var a,l,s,c=new Map,f=n.length,h=o.length,p=Array(f);for(a=0;a<f;++a)(l=n[a])&&(p[a]=s=u.call(l,l.__data__,a,n)+"",c.has(s)?i[a]=l:c.set(s,l));for(a=0;a<h;++a)s=u.call(t,o[a],a,o)+"",(l=c.get(s))?(r[a]=l,l.__data__=o[a],c.delete(s)):e[a]=new g(t,o[a]);for(a=0;a<f;++a)(l=n[a])&&c.get(p[a])===l&&(i[a]=l)}function m(t){return t.__data__}function _(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}g.prototype={constructor:g,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 b="http://www.w3.org/1999/xhtml",w={svg:"http://www.w3.org/2000/svg",xhtml:b,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function x(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),w.hasOwnProperty(n)?{space:w[n],local:t}:t}function k(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function M(t,n){return t.style.getPropertyValue(n)||k(t).getComputedStyle(t,null).getPropertyValue(n)}function E(t){return t.trim().split(/^|\s+/)}function S(t){return t.classList||new C(t)}function C(t){this._node=t,this._names=E(t.getAttribute("class")||"")}function N(t,n){for(var e=S(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function j(t,n){for(var e=S(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function R(){this.textContent=""}function $(){this.innerHTML=""}function q(){this.nextSibling&&this.parentNode.appendChild(this)}function A(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function T(t){var n=x(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===b&&n.documentElement.namespaceURI===b?n.createElement(t):n.createElementNS(e,t)}})(n)}function P(){return null}function O(){var t=this.parentNode;t&&t.removeChild(this)}function L(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function W(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function F(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)(e=n[r],t.type&&e.type!==t.type||e.name!==t.name)?n[++i]=e:this.removeEventListener(e.type,e.listener,e.options);++i?n.length=i:delete this.__on}}}function H(t,n,e){return function(){var r,i=this.__on,o=function(t){n.call(this,t,this.__data__)};if(i){for(var u=0,a=i.length;u<a;++u)if((r=i[u]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),r.value=n;return}}this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}function B(t,n,e){var r=k(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}C.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var I=[null];function X(t,n){this._groups=t,this._parents=n}function G(){return new X([[document.documentElement]],I)}X.prototype=G.prototype={constructor:X,select:function(t){"function"!=typeof t&&(t=i(t));for(var n=this._groups,e=n.length,r=Array(e),o=0;o<e;++o)for(var u,a,l=n[o],s=l.length,c=r[o]=Array(s),f=0;f<s;++f)(u=l[f])&&(a=t.call(u,u.__data__,f,l))&&("__data__"in u&&(a.__data__=u.__data__),c[f]=a);return new X(r,this._parents)},selectAll:function(t){if("function"==typeof t){var n;n=t,t=function(){var t;return t=n.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=u(t);for(var e=this._groups,r=e.length,i=[],o=[],a=0;a<r;++a)for(var l,s=e[a],c=s.length,f=0;f<c;++f)(l=s[f])&&(i.push(t.call(l,l.__data__,f,s)),o.push(l));return new X(i,o)},selectChild:function(t){var n;return this.select(null==t?f:(n="function"==typeof t?t:l(t),function(){return c.call(this.children,n)}))},selectChildren:function(t){var n;return this.selectAll(null==t?p:(n="function"==typeof t?t:l(t),function(){return h.call(this.children,n)}))},filter:function(t){"function"!=typeof t&&(t=a(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,u=n[i],l=u.length,s=r[i]=[],c=0;c<l;++c)(o=u[c])&&t.call(o,o.__data__,c,u)&&s.push(o);return new X(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,m);var e=n?y:v,r=this._parents,i=this._groups;"function"!=typeof t&&(w=t,t=function(){return w});for(var o=i.length,u=Array(o),a=Array(o),l=Array(o),s=0;s<o;++s){var c=r[s],f=i[s],h=f.length,p="object"==typeof(b=t.call(c,c&&c.__data__,s,r))&&"length"in b?b:Array.from(b),d=p.length,g=a[s]=Array(d),_=u[s]=Array(d);e(c,f,g,_,l[s]=Array(h),p,n);for(var b,w,x,k,M=0,E=0;M<d;++M)if(x=g[M]){for(M>=E&&(E=M+1);!(k=_[E])&&++E<d;);x._next=k||null}}return(u=new X(u,r))._enter=a,u._exit=l,u},enter:function(){return new X(this._enter||this._groups.map(d),this._parents)},exit:function(){return new X(this._exit||this._groups.map(d),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(i=n(i))&&(i=i.selection()),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,i=e.length,o=r.length,u=Math.min(i,o),a=Array(i),l=0;l<u;++l)for(var s,c=e[l],f=r[l],h=c.length,p=a[l]=Array(h),d=0;d<h;++d)(s=c[d]||f[d])&&(p[d]=s);for(;l<i;++l)a[l]=e[l];return new X(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=_);for(var e=this._groups,r=e.length,i=Array(r),o=0;o<r;++o){for(var u,a=e[o],l=a.length,s=i[o]=Array(l),c=0;c<l;++c)(u=a[c])&&(s[c]=u);s.sort(n)}return new X(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){let t=0;for(let n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=x(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:function(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)):M(this.node(),t)},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=E(t+"");
1if(arguments.length<2){for(var r=S(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?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?R:("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?$:("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(q)},lower:function(){return this.each(A)},append:function(t){var n="function"==typeof t?t:T(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:T(t),r=null==n?P:"function"==typeof n?n:i(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(O)},clone:function(t){return this.select(t?W:L)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}),u=o.length;if(arguments.length<2){var a=this.node().__on;if(a){for(var l,s=0,c=a.length;s<c;++s)for(r=0,l=a[s];r<u;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}return}for(r=0,a=n?H:F;r<u;++r)this.each(a(o[r],n,e));return this},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return B(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return B(this,t,n)}})(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,i=t[n],o=0,u=i.length;o<u;++o)(r=i[o])&&(yield r)}};var z={value:()=>{}};function D(){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 Y(r)}function Y(t){this._=t}function V(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=z,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}Y.prototype=D.prototype={constructor:Y,on:function(t,n){var e,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:n}}),o=-1,u=i.length;if(arguments.length<2){for(;++o<u;)if((e=(t=i[o]).type)&&(e=function(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}(r[e],t.name)))return e;return}if(null!=n&&"function"!=typeof n)throw Error("invalid callback: "+n);for(;++o<u;)if(e=(t=i[o]).type)r[e]=V(r[e],t.name,n);else if(null==n)for(e in r)r[e]=V(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 Y(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],o=0,e=r.length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var U,K,Z=0,J=0,Q=0,tt=0,tn=0,te=0,tr="object"==typeof performance&&performance.now?performance:Date,ti="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function to(){return tn||(ti(tu),tn=tr.now()+te)}function tu(){tn=0}function ta(){this._call=this._time=this._next=null}function tl(t,n,e){var r=new ta;return r.restart(t,n,e),r}function ts(){tn=(tt=tr.now())+te,Z=J=0;try{!function(){to(),++Z;for(var t,n=U;n;)(t=tn-n._time)>=0&&n._call.call(void 0,t),n=n._next;--Z}()}finally{Z=0,function(){for(var t,n,e=U,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:U=n);K=t,tf(r)}(),tn=0}}function tc(){var t=tr.now(),n=t-tt;n>1e3&&(te-=n,tt=t)}function tf(t){!Z&&(J&&(J=clearTimeout(J)),t-tn>24?(t<1/0&&(J=setTimeout(ts,t-tr.now()-te)),Q&&(Q=clearInterval(Q))):(Q||(tt=tr.now(),Q=setInterval(tc,1e3)),Z=1,ti(ts)))}function th(t,n,e){var r=new ta;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}ta.prototype=tl.prototype={constructor:ta,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?to():+e)+(null==n?0:+n),this._next||K===this||(K?K._next=this:U=this,K=this),this._call=t,this._time=e,tf()},stop:function(){this._call&&(this._call=null,this._time=1/0,tf())}};var tp=D("start","end","cancel","interrupt"),td=[];function tg(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(l){var s,c,f,h;if(1!==e.state)return a();for(s in i)if((h=i[s]).name===e.name){if(3===h.state)return th(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[s]):+s<n&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[s])}if(th(function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(l))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(s=0,e.state=3,r=Array(f=e.tween.length),c=-1;s<f;++s)(h=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(r[++c]=h
1);r.length=c+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=5,1),o=-1,u=r.length;++o<u;)r[o].call(t,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=tl(function(t){e.state=1,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:i,on:tp,tween:td,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function tv(t,n){var e=tm(t,n);if(e.state>0)throw Error("too late; already scheduled");return e}function ty(t,n){var e=tm(t,n);if(e.state>3)throw Error("too late; already running");return e}function tm(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function t_(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var tb=180/Math.PI,tw={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tx(t,n,e,r,i,o){var u,a,l;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(l=t*e+n*r)&&(e-=t*l,r-=n*l),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,l/=a),t*r<n*e&&(t=-t,n=-n,l=-l,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*tb,skewX:Math.atan(l)*tb,scaleX:u,scaleY:a}}function tk(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a,l,s,c,f=[],h=[];return o=t(o),u=t(u),!function(t,r,i,o,u,a){if(t!==i||r!==o){var l=u.push("translate(",null,n,null,e);a.push({i:l-4,x:t_(t,i)},{i:l-2,x:t_(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,f,h),(a=o.rotate)!==(l=u.rotate)?(a-l>180?l+=360:l-a>180&&(a+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:t_(a,l)})):l&&f.push(i(f)+"rotate("+l+r),(s=o.skewX)!==(c=u.skewX)?h.push({i:f.push(i(f)+"skewX(",
vendor: 5,624 bytes, line 1
1null,r)-2,x:t_(s,c)}):c&&f.push(i(f)+"skewX("+c+r),!function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:t_(t,e)},{i:a-2,x:t_(n,r)})}else(1!==e||1!==r)&&o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,f,h),o=u=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 tM=tk(function(t){let n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?tw:tx(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),tE=tk(function(t){return null==t?tw:(s||(s=document.createElementNS("http://www.w3.org/2000/svg","g")),s.setAttribute("transform",t),t=s.transform.baseVal.consolidate())?tx((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tw},", ",")",")");function tS(t,n,e){var r=t._id;return t.each(function(){var t=ty(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return tm(t,r).value[n]}}function tC(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function tN(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function tj(){}var tR="\\s*([+-]?\\d+)\\s*",t$="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",tq="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tA=/^#([0-9a-f]{3,8})$/,tT=RegExp(`^rgb\\(${tR},${tR},${tR}\\)$`),tP=RegExp(`^rgb\\(${tq},${tq},${tq}\\)$`),tO=RegExp(`^rgba\\(${tR},${tR},${tR},${t$}\\)$`),tL=RegExp(`^rgba\\(${tq},${tq},${tq},${t$}\\)$`),tW=RegExp(`^hsl\\(${t$},${tq},${tq}\\)$`),tF=RegExp(`^hsla\\(${t$},${tq},${tq},${t$}\\)$`),tH={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function tB(){return this.rgb().formatHex()}function tI(){return this.rgb().formatRgb()}function tX(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=tA.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?tG(n):3===e?new tD(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?tz(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?tz(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 tD(n[1],n[2],n[3],1):(n=tP.exec(t))?new tD(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=tO.exec(t))?tz(n[1],n[2],n[3],n[4]):(n=tL.exec(t))?tz(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=tW.exec(t))?tJ(n[1],n[2]/100,n[3]/100,1):(n=tF.exec(t))?tJ(n[1],n[2]/100,n[3]/100,n[4]):tH.hasOwnProperty(t)?tG(tH[t]):"transparent"===t?new tD(NaN,NaN,NaN,0):null}function tG(t){return new tD(t>>16&255,t>>8&255,255&t,1)}function tz(t,n,e,r){return r<=0&&(t=n=e=NaN),new tD(t,n,e,r)}function tD(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function tY(){return`#${tZ(this.r)}${tZ(this.g)}${tZ(this.b)}`}function tV(){let t=tU(this.opacity);return`${1===t?"rgb(":"rgba("}${tK(this.r)}, ${tK(this.g)}, ${tK(this.b)}${1===t?")":`, ${t})`}`}function tU(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function tK(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function tZ(t){return((t=tK(t))<16?"0":"")+t.toString(16)}function tJ(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>
1=1?t=n=NaN:n<=0&&(t=NaN),new t0(t,n,e,r)}function tQ(t){if(t instanceof t0)return new t0(t.h,t.s,t.l,t.opacity);if(t instanceof tj||(t=tX(t)),!t)return new t0;if(t instanceof t0)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,l=(o+i)/2;return a?(u=n===o?(e-r)/a+(e<r)*6:e===o?(r-n)/a+2:(n-e)/a+4,a/=l<.5?o+i:2-o-i,u*=60):a=l>0&&l<1?0:u,new t0(u,a,l,t.opacity)}function t0(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function t1(t){return(t=(t||0)%360)<0?t+360:t}function t2(t){return Math.max(0,Math.min(1,t||0))}function t5(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 t6(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function t4(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function t3(){}tC(tj,tX,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:tB,formatHex:tB,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return tQ(this).formatHsl()},formatRgb:tI,toString:tI}),tC(tD,function(t,n,e,r){var i;return 1==arguments.length?((i=t)instanceof tj||(i=tX(i)),i)?new tD((i=i.rgb()).r,i.g,i.b,i.opacity):new tD:new tD(t,n,e,null==r?1:r)},tN(tj,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tD(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new tD(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new tD(tK(this.r),tK(this.g),tK(this.b),tU(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:tY,formatHex:tY,formatHex8:function(){return`#${tZ(this.r)}${tZ(this.g)}${tZ(this.b)}${tZ((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:tV,toString:tV})),tC(t0,function(t,n,e,r){return 1==arguments.length?tQ(t):new t0(t,n,e,null==r?1:r)},tN(tj,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new t0(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new t0(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new tD(t5(t>=240?t-240:t+120,i,r),t5(t,i,r),t5(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new t0(t1(this.h),t2(this.s),t2(this.l),tU(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=tU(this.opacity);return`${1===t?"hsl(":"hsla("}${t1(this.h)}, ${100*t2(this.s)}%, ${100*t2(this.l)}%${1===t?")":`, ${t})`}`}}));var t7="\\s*([+-]?\\d+)\\s*",t9="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",t8="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",nt=/^#([0-9a-f]{3,8})$/,nn=RegExp(`^rgb\\(${t7},${t7},${t7}\\)$`),ne=RegExp(`^rgb\\(${t8},${t8},${t8}\\)$`),nr=RegExp(`^rgba\\(${t7},${t7},${t7},${t9}\\)$`),ni=RegExp(`^rgba\\(${t8},${t8},${t8},${t9}\\)$`),no=RegExp(`^hsl\\(${t9},${t8},${t8}\\)$`),nu=RegExp(`^hsla\\(${t9},${t8},${t8},${t9}\\)$`),na={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function nl(){return this.rgb().formatHex()}function ns(){return this.rgb().formatRgb()}function nc(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=nt.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?nf(n):3===e?new nd(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?nh(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?nh(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=nn.exec(t))?new nd(n[1],n[2],n[3],1):(n=ne.exec(t))?new nd(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=nr.exec(t))?nh(n[1],n[2],n[3],n[4]):(n=ni.exec(t))?nh(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=no.exec(t))?nb(n[1],n[2]/100,n[3]/100,1):(n=nu.exec(t))?nb(n[1],n[2]/100,n[3]/100,n[4]):na.hasOwnProperty(t)?nf
1(na[t]):"transparent"===t?new nd(NaN,NaN,NaN,0):null}function nf(t){return new nd(t>>16&255,t>>8&255,255&t,1)}function nh(t,n,e,r){return r<=0&&(t=n=e=NaN),new nd(t,n,e,r)}function np(t,n,e,r){var i;return 1==arguments.length?((i=t)instanceof t3||(i=nc(i)),i)?new nd((i=i.rgb()).r,i.g,i.b,i.opacity):new nd:new nd(t,n,e,null==r?1:r)}function nd(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function ng(){return`#${n_(this.r)}${n_(this.g)}${n_(this.b)}`}function nv(){let t=ny(this.opacity);return`${1===t?"rgb(":"rgba("}${nm(this.r)}, ${nm(this.g)}, ${nm(this.b)}${1===t?")":`, ${t})`}`}function ny(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function nm(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function n_(t){return((t=nm(t))<16?"0":"")+t.toString(16)}function nb(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new nx(t,n,e,r)}function nw(t){if(t instanceof nx)return new nx(t.h,t.s,t.l,t.opacity);if(t instanceof t3||(t=nc(t)),!t)return new nx;if(t instanceof nx)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,l=(o+i)/2;return a?(u=n===o?(e-r)/a+(e<r)*6:e===o?(r-n)/a+2:(n-e)/a+4,a/=l<.5?o+i:2-o-i,u*=60):a=l>0&&l<1?0:u,new nx(u,a,l,t.opacity)}function nx(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function nk(t){return(t=(t||0)%360)<0?t+360:t}function nM(t){return Math.max(0,Math.min(1,t||0))}function nE(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 nS(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}t6(t3,nc,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:nl,formatHex:nl,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return nw(this).formatHsl()},formatRgb:ns,toString:ns}),t6(nd,np,t4(t3,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nd(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nd(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new nd(nm(this.r),nm(this.g),nm(this.b),ny(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:ng,formatHex:ng,formatHex8:function(){return`#${n_(this.r)}${n_(this.g)}${n_(this.b)}${n_((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:nv,toString:nv})),t6(nx,function(t,n,e,r){return 1==arguments.length?nw(t):new nx(t,n,e,null==r?1:r)},t4(t3,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nx(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nx(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new nd(nE(t>=240?t-240:t+120,i,r),nE(t,i,r),nE(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new nx(nk(this.h),nM(this.s),nM(this.l),ny(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=ny(this.opacity);return`${1===t?"hsl(":"hsla("}${nk(this.h)}, ${100*nM(this.s)}%, ${100*nM(this.l)}%${1===t?")":`, ${t})`}`}}));var nC=t=>()=>t;function nN(t,n){var e=n-t;return e?function(n){return t+n*e}:nC(isNaN(t)?n:t)}var nj=function t(n){var e,r=1==(e=+(e=n))?nN:function(t,n){var r,i,o;return n-t?(r=t,i=n,r=Math.pow(r,o=e),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):nC(isNaN(t)?n:t)};function i(t,n){var e=r((t=np(t)).r,(n=np(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),u=nN(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return i.gamma=t,i}(1);function nR(t){return function(n){var e,r,i=n.length,o=Array(i),u=Array(i),a=Array(i);for(e=0;e<i;++e)r=np(n[e]),o[e]=r.r||0,u[e]=r.g||0,a[e]=r.b||0;return o=t(o),u=t(u),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=a(t),r+""}}}nR(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),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=r<n-1?t[r+2]:2*o-i;return nS((e-r/n)*n,u,i,o,a)}}),nR(function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],u=t[(r+1)%n],a=t[(r+2)%n];return nS((e-r/n)*n,i,o,u,a)}});var n$=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nq=RegExp(n$.source,"g");function nA(t,n){var e;return("number"==typeof n?t_:n instanceof tX?nj:(e=tX(n))?(n=e,nj):function(t,n){var e,r,i,o,u,a=n$.lastIndex=nq.lastIndex=0,l=-1,s=[],c=[];for(t+="",n+="";(i=n$.exec(t))&&(o=nq.exec(n));)(u=o.index)>a&&(u=n.slice(a,u),s[l]?s[l]+=u:s[++l]=u),(i=i[0])===(o=o[0])?s[l]?s[l]+=o:s[++l]=o:(s[++l]=null,c.push({i:l,x:t_(i,o)})),a=nq.lastIndex;return a<n.length&&(u=n.slice(a),s[l]?s[l]+=u:s[++l]=u),s.length<2?c[0]?(e=c[0].x,function(t){return e(t)+""}):(r=n,function(){return r}):(n=c.length,function(t){for(var e,r=0;r<n;++r)s[(e=c[r]).i]=e.x(t);return s.join("")})})(t,n)}var nT=G.prototype.constructor;function nP(t){return function(){this.style.removeProperty(t)}}var nO=0;function nL(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}var nW=G.prototype;nL.prototype=(function(t){return G().transition(t)}).prototype={constructor:nL,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=i(t));for(var r=this._groups,o=r.length,u=Array(o),a=0;a<o;++a)for(var l,s,c=r[a],f=c.length,h=u[a]=Array(f),p=0;p<f;++p)(l=c[p])&&(s=t.call(l,l.__data__,p,c))&&("__data__"in l&&(s.__data__=l.__data__),h[p]=s,tg(h[p],n,e,p,h,tm(l,e)));return new nL(u,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=u(t));for(var r=this._groups,i=r.length,o=[],a=[],l=0;l<i;++l)for(var s,c=r[l],f=c.length,h=0;h<f;++h)if(s=c[h]){for(var p,d=t.call(s,s.__data__,h,c),g=tm(s,e),v=0,y=d.length;v<y;++v)(p=d[v])&&tg(p,n,e,v,d,g);o.push(d),a.push(s)}return new nL(o,a,n,e)},selectChild:nW.selectChild,selectChildren:nW.selectChildren,filter:function(t){"function"!=typeof t&&(t=a(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,u=n[i],l=u.length,s=r[i]=[],c=0;c<l;++c)(o=u[c])&&t.call(o,o.__data__,c,u)&&s.push(o);return new nL(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=Array(r),a=0;a<o;++a)for(var l,s=n[a],c=e[a],f=s.length,h=u[a]=Array(f),p=0;p<f;
1++p)(l=s[p]||c[p])&&(h[p]=l);for(;a<r;++a)u[a]=n[a];return new nL(u,this._parents,this._name,this._id)},selection:function(){return new nT(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=++nO,r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],l=a.length,s=0;s<l;++s)if(u=a[s]){var c=tm(u,n);tg(u,t,e,s,a,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new nL(r,this._parents,t,e)},call:nW.call,nodes:nW.nodes,node:nW.node,size:nW.size,empty:nW.empty,each:nW.each,on:function(t,n){var e,r,i,o=this._id;return arguments.length<2?tm(this.node(),o).on.on(t):this.each((i=(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})?tv:ty,function(){var u=i(this,o),a=u.on;a!==e&&(r=(e=a).copy()).on(t,n),u.on=r}))},attr:function(t,n){var e=x(t),r="transform"===e?tE:nA;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,i,o;return function(){var u,a,l=e(this);return null==l?void this.removeAttributeNS(t.space,t.local):(u=this.getAttributeNS(t.space,t.local))===(a=l+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,l))}}:function(t,n,e){var r,i,o;return function(){var u,a,l=e(this);return null==l?void this.removeAttribute(t):(u=this.getAttribute(t))===(a=l+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,l))}})(e,r,tS(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===o?null:u===r?i:i=n(r=u,e)}}:function(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttribute(t);return u===o?null:u===r?i:i=n(r=u,e)}})(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw Error();var r=x(t);return this.tween(e,(r.local?function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttributeNS(t.space,t.local,i.call(this,n))}),e}return i._value=n,i}:function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttribute(t,i.call(this,n))}),e}return i._value=n,i})(r,n))},style:function(t,n,e){var r,i,o,u,a,l,s,c,f,h,p,d,g,v,y,m,_,b,w,x,k,E="transform"==(t+="")?tM:nA;return null==n?this.styleTween(t,(r=t,function(){var t=M(this,r),n=(this.style.removeProperty(r),M(this,r));return t===n?null:t===i&&n===o?u:u=E(i=t,o=n)})).on("end.style."+t,nP(t)):"function"==typeof n?this.styleTween(t,(a=t,l=tS(this,"style."+t,n),function(){var t=M(this,a),n=l(this),e=n+"";return null==n&&(this.style.removeProperty(a),e=n=M(this,a)),t===e?null:t===s&&e===c?f:(c=e,f=E(s=t,n))})).each((h=this._id,_="end."+(m="style."+(p=t)),function(){var t=ty(this,h),n=t.on,e=null==t.value[m]?y||(y=nP(p)):void 0;(n!==d||v!==e)&&(g=(d=n).copy()).on(_,v=e),t.on=g})):this.styleTween(t,(b=t,k=n+"",function(){var t=M(this,b);return t===k?null:t===w?x:x=E(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,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(n){this.style.setProperty(t,o.call(this,n),e)}),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=tS(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=tm(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?function(t,n){var e,r;return function(){var i=ty(this,t),o=i.tween;if(o!==e){r=e=o;for(var u=0,a=r.length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}}i.tween=r}}:function(t,n,e){var r,i;if("function"!=typeof e)throw Error();return function(){var o=ty(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},l=0,s=i.length;l<s;++l)if(i[l].name===n){i[l]=a;break}l===s&&i.push(a)}o.tween=i}})(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){tv(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){tv(this,t).delay=n}})(n,t)):tm(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){ty(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){ty(this,t).duration=n}})(n,t)):tm(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(){ty(this,t).ease=n}}(n,t)):tm(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();ty(this,n).ease=e}))},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,u){var a={value:u},l={value:function(){0==--i&&o()}};e.each(function(){var e=ty(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(l)),e.on=n}),0===i&&o()})},[Symbol.iterator]:nW[Symbol.iterator]};var nF={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};G.prototype.interrupt=function(t){return this.each(function(){!function(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o){if((e=o[i]).name!==n){u=!1;continue}r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]}u&&delete t.__transition}}(this,t)})},G.prototype.transition=function(t){var n,e;t instanceof nL?(n=t._id,t=t._name):(n=++nO,(e=nF).time=to(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],l=a.length,s=0;s<l;++s)(u=a[s])&&tg(u,t,n,s,a,e||function(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw Error(`transition ${n} not found`);return e}(u,n));return new nL(r,this._parents,t,n)};let{abs:nH,max:nB,min:nI}=Math;function nX(t){return{type:t}}function nG(t){if(!t.ok)throw Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function nz(t,n){return fetch(t,n).then(nG)}function nD(t,n,e){this.k=t,this.x=n,this.y=e}["w","e"].map(nX),["n","s"].map(nX),["n","w","e","s","nw","ne","sw","se"].map(nX),nD.prototype={constructor:nD,scale:function(t){return 1===t?this:new nD(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new nD(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+")"}},new nD(1,0,0),nD.prototype}}]);

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