diff --git a/static/js/main.a19a3eb0.js b/static/js/main.a19a3eb0.js deleted file mode 100644 index 83cbf1a..0000000 --- a/static/js/main.a19a3eb0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";/*! For license information please see main.a19a3eb0.js.LICENSE.txt */(()=>{var a={694:(a,e)=>{var n;!function(){"use strict";var l={}.hasOwnProperty;function c(){for(var a=[],e=0;e{"use strict";n.r(e),n.d(e,{geoAlbers:()=>yl,geoAlbersUsa:()=>zl,geoArea:()=>ca,geoAzimuthalEqualArea:()=>Sl,geoAzimuthalEqualAreaRaw:()=>xl,geoAzimuthalEquidistant:()=>Rl,geoAzimuthalEquidistantRaw:()=>Al,geoBounds:()=>Oa,geoCentroid:()=>Qa,geoCircle:()=>re,geoClipAntimeridian:()=>ve,geoClipCircle:()=>ye,geoClipExtent:()=>Ee,geoClipRectangle:()=>Re,geoConicConformal:()=>Ll,geoConicConformalRaw:()=>Tl,geoConicEqualArea:()=>vl,geoConicEqualAreaRaw:()=>kl,geoConicEquidistant:()=>Gl,geoConicEquidistantRaw:()=>jl,geoContains:()=>We,geoDistance:()=>je,geoEqualEarth:()=>Vl,geoEqualEarthRaw:()=>Ul,geoEquirectangular:()=>Il,geoEquirectangularRaw:()=>Pl,geoGnomonic:()=>Zl,geoGnomonicRaw:()=>Wl,geoGraticule:()=>Ye,geoGraticule10:()=>Qe,geoIdentity:()=>ql,geoInterpolate:()=>Xe,geoLength:()=>Le,geoMercator:()=>Nl,geoMercatorRaw:()=>El,geoNaturalEarth1:()=>Yl,geoNaturalEarth1Raw:()=>Jl,geoOrthographic:()=>Xl,geoOrthographicRaw:()=>Ql,geoPath:()=>nl,geoProjection:()=>_l,geoProjectionMutator:()=>gl,geoRotation:()=>oe,geoStereographic:()=>ac,geoStereographicRaw:()=>$l,geoStream:()=>L,geoTransform:()=>ll,geoTransverseMercator:()=>nc,geoTransverseMercatorRaw:()=>ec});class l{constructor(){this._partials=new Float64Array(32),this._n=0;}add(a){const e=this._partials;let n=0;for(let l=0;l0){for(o=a[--c];c>0&&(e=o,n=a[--c],o=e+n,l=n-(o-e),!l););c>0&&(l<0&&a[c-1]<0||l>0&&a[c-1]>0)&&(n=2*l,e=o+n,n==e-o&&(o=e));}return o;}}var c=1e-6,o=1e-12,i=Math.PI,t=i/2,r=i/4,s=2*i,m=180/i,f=i/180,d=Math.abs,u=Math.atan,p=Math.atan2,h=Math.cos,_=Math.ceil,g=Math.exp,b=(Math.floor,Math.hypot),k=Math.log,v=Math.pow,y=Math.sin,z=Math.sign||function(a){return a>0?1:a<0?-1:0;},w=Math.sqrt,M=Math.tan;function x(a){return a>1?0:a<-1?i:Math.acos(a);}function S(a){return a>1?t:a<-1?-t:Math.asin(a);}function A(a){return(a=y(a/2))*a;}function R(){}function E(a,e){a&&C.hasOwnProperty(a.type)&&C[a.type](a,e);}var N={Feature:function(a,e){E(a.geometry,e);},FeatureCollection:function(a,e){for(var n=a.features,l=-1,c=n.length;++l=0?1:-1,c=l*n,o=h(e=(e*=f)/2+r),i=y(e),t=O*i,s=G*o+t*h(c),m=t*l*y(c);Q.add(p(m,s)),j=a,G=o,O=i;}function ca(a){return X=new l(),L(a,$),2*X;}function oa(a){return[p(a[1],a[0]),S(a[2])];}function ia(a){var e=a[0],n=a[1],l=h(n);return[l*h(e),l*y(e),y(n)];}function ta(a,e){return a[0]*e[0]+a[1]*e[1]+a[2]*e[2];}function ra(a,e){return[a[1]*e[2]-a[2]*e[1],a[2]*e[0]-a[0]*e[2],a[0]*e[1]-a[1]*e[0]];}function sa(a,e){a[0]+=e[0],a[1]+=e[1],a[2]+=e[2];}function ma(a,e){return[a[0]*e,a[1]*e,a[2]*e];}function fa(a){var e=w(a[0]*a[0]+a[1]*a[1]+a[2]*a[2]);a[0]/=e,a[1]/=e,a[2]/=e;}var da,ua,pa,ha,_a,ga,ba,ka,va,ya,za,wa,Ma,xa,Sa,Aa,Ra={point:Ea,lineStart:Ca,lineEnd:Ba,polygonStart:function(){Ra.point=Ta,Ra.lineStart=La,Ra.lineEnd=Pa,q=new l(),$.polygonStart();},polygonEnd:function(){$.polygonEnd(),Ra.point=Ea,Ra.lineStart=Ca,Ra.lineEnd=Ba,Q<0?(D=-(K=180),F=-(H=90)):q>c?H=90:q<-c&&(F=-90),Y[0]=D,Y[1]=K;},sphere:function(){D=-(K=180),F=-(H=90);}};function Ea(a,e){J.push(Y=[D=a,K=a]),eH&&(H=e);}function Na(a,e){var n=ia([a*f,e*f]);if(Z){var l=ra(Z,n),c=ra([l[1],-l[0],0],l);fa(c),c=oa(c);var o,i=a-U,t=i>0?1:-1,r=c[0]*m*t,s=d(i)>180;s^(t*UH&&(H=o):s^(t*U<(r=(r+360)%360-180)&&rH&&(H=e)),s?aIa(D,K)&&(K=a):Ia(a,K)>Ia(D,K)&&(D=a):K>=D?(aK&&(K=a)):a>U?Ia(D,a)>Ia(D,K)&&(K=a):Ia(a,K)>Ia(D,K)&&(D=a);}else J.push(Y=[D=a,K=a]);eH&&(H=e),Z=n,U=a;}function Ca(){Ra.point=Na;}function Ba(){Y[0]=D,Y[1]=K,Ra.point=Ea,Z=null;}function Ta(a,e){if(Z){var n=a-U;q.add(d(n)>180?n+(n>0?360:-360):n);}else V=a,W=e;$.point(a,e),Na(a,e);}function La(){$.lineStart();}function Pa(){Ta(V,W),$.lineEnd(),d(q)>c&&(D=-(K=180)),Y[0]=D,Y[1]=K,Z=null;}function Ia(a,e){return(e-=a)<0?e+360:e;}function ja(a,e){return a[0]-e[0];}function Ga(a,e){return a[0]<=a[1]?a[0]<=e&&e<=a[1]:eIa(l[0],l[1])&&(l[1]=c[1]),Ia(c[0],l[1])>Ia(l[0],l[1])&&(l[0]=c[0])):o.push(l=c);for(i=-1/0,e=0,l=o[n=o.length-1];e<=n;l=c,++e)c=o[e],(t=Ia(l[1],c[0]))>i&&(i=t,D=c[0],K=l[1]);}return J=Y=null,D===1/0||F===1/0?[[NaN,NaN],[NaN,NaN]]:[[D,F],[K,H]];}var Da={sphere:R,point:Fa,lineStart:Ha,lineEnd:Wa,polygonStart:function(){Da.lineStart=Za,Da.lineEnd=qa;},polygonEnd:function(){Da.lineStart=Ha,Da.lineEnd=Wa;}};function Fa(a,e){a*=f;var n=h(e*=f);Ka(n*h(a),n*y(a),y(e));}function Ka(a,e,n){++da,pa+=(a-pa)/da,ha+=(e-ha)/da,_a+=(n-_a)/da;}function Ha(){Da.point=Ua;}function Ua(a,e){a*=f;var n=h(e*=f);xa=n*h(a),Sa=n*y(a),Aa=y(e),Da.point=Va,Ka(xa,Sa,Aa);}function Va(a,e){a*=f;var n=h(e*=f),l=n*h(a),c=n*y(a),o=y(e),i=p(w((i=Sa*o-Aa*c)*i+(i=Aa*l-xa*o)*i+(i=xa*c-Sa*l)*i),xa*l+Sa*c+Aa*o);ua+=i,ga+=i*(xa+(xa=l)),ba+=i*(Sa+(Sa=c)),ka+=i*(Aa+(Aa=o)),Ka(xa,Sa,Aa);}function Wa(){Da.point=Fa;}function Za(){Da.point=Ja;}function qa(){Ya(wa,Ma),Da.point=Fa;}function Ja(a,e){wa=a,Ma=e,a*=f,e*=f,Da.point=Ya;var n=h(e);xa=n*h(a),Sa=n*y(a),Aa=y(e),Ka(xa,Sa,Aa);}function Ya(a,e){a*=f;var n=h(e*=f),l=n*h(a),c=n*y(a),o=y(e),i=Sa*o-Aa*c,t=Aa*l-xa*o,r=xa*c-Sa*l,s=b(i,t,r),m=S(s),d=s&&-m/s;va.add(d*i),ya.add(d*t),za.add(d*r),ua+=m,ga+=m*(xa+(xa=l)),ba+=m*(Sa+(Sa=c)),ka+=m*(Aa+(Aa=o)),Ka(xa,Sa,Aa);}function Qa(a){da=ua=pa=ha=_a=ga=ba=ka=0,va=new l(),ya=new l(),za=new l(),L(a,Da);var e=+va,n=+ya,i=+za,t=b(e,n,i);return ti?a+Math.round(-a/s)*s:a,e];}function ee(a,e,n){return(a%=s)?e||n?$a(le(a),ce(e,n)):le(a):e||n?ce(e,n):ae;}function ne(a){return function(e,n){return[(e+=a)>i?e-s:e<-i?e+s:e,n];};}function le(a){var e=ne(a);return e.invert=ne(-a),e;}function ce(a,e){var n=h(a),l=y(a),c=h(e),o=y(e);function i(a,e){var i=h(e),t=h(a)*i,r=y(a)*i,s=y(e),m=s*n+t*l;return[p(r*c-m*o,t*n-s*l),S(m*c+r*o)];}return i.invert=function(a,e){var i=h(e),t=h(a)*i,r=y(a)*i,s=y(e),m=s*c-r*o;return[p(r*c+s*o,t*n+m*l),S(m*n-t*l)];},i;}function oe(a){function e(e){return(e=a(e[0]*f,e[1]*f))[0]*=m,e[1]*=m,e;}return a=ee(a[0]*f,a[1]*f,a.length>2?a[2]*f:0),e.invert=function(e){return(e=a.invert(e[0]*f,e[1]*f))[0]*=m,e[1]*=m,e;},e;}function ie(a,e,n,l,c,o){if(n){var i=h(e),t=y(e),r=l*n;null==c?(c=e+l*s,o=e-r/2):(c=te(i,c),o=te(i,o),(l>0?co)&&(c+=l*s));for(var m,f=c;l>0?f>o:f1&&e.push(e.pop().concat(e.shift()));},result:function(){var n=e;return e=[],a=null,n;}};}function me(a,e){return d(a[0]-e[0])=0;--i)o.point((f=m[i])[0],f[1]);else l(u.x,u.p.x,-1,o);u=u.p;}m=(u=u.o).z,p=!p;}while(!u.v);o.lineEnd();}}}function ue(a){if(e=a.length){for(var e,n,l=0,c=a[0];++l=0?1:-1,j=I*P,G=j>i,O=A*T;if(g.add(p(O*I*y(j),R*L+O*h(j))),u+=G?P+I*s:P,G^M>=n^C>=n){var D=ra(ia(w),ia(N));fa(D);var F=ra(d,D);fa(F);var K=(G^P>=0?-1:1)*S(F[2]);(m>K||m===K&&(D[0]||D[1]))&&(_+=G^P>=0?1:-1);}}return(u<-c||u0){for(f||(c.polygonStart(),f=!0),c.lineStart(),a=0;a1&&2&r&&d.push(d.pop().concat(d.shift())),i.push(d.filter(be));}return d;};}function be(a){return a.length>1;}function ke(a,e){return((a=a.x)[0]<0?a[1]-t-c:t-a[1])-((e=e.x)[0]<0?e[1]-t-c:t-e[1]);}ae.invert=ae;const ve=ge(function(){return!0;},function(a){var e,n=NaN,l=NaN,o=NaN;return{lineStart:function(){a.lineStart(),e=1;},point:function(r,s){var m=r>0?i:-i,f=d(r-n);d(f-i)0?t:-t),a.point(o,l),a.lineEnd(),a.lineStart(),a.point(m,l),a.point(r,l),e=0):o!==m&&f>=i&&(d(n-o)c?u((y(e)*(i=h(l))*y(n)-y(l)*(o=h(e))*y(a))/(o*i*t)):(e+l)/2;}(n,l,r,s),a.point(o,l),a.lineEnd(),a.lineStart(),a.point(m,l),e=0),a.point(n=r,l=s),o=m;},lineEnd:function(){a.lineEnd(),n=l=NaN;},clean:function(){return 2-e;}};},function(a,e,n,l){var o;if(null==a)o=n*t,l.point(-i,o),l.point(0,o),l.point(i,o),l.point(i,0),l.point(i,-o),l.point(0,-o),l.point(-i,-o),l.point(-i,0),l.point(-i,o);else if(d(a[0]-e[0])>c){var r=a[0]0,o=d(e)>c;function t(a,n){return h(a)*h(n)>e;}function r(a,n,l){var o=[1,0,0],t=ra(ia(a),ia(n)),r=ta(t,t),s=t[0],m=r-s*s;if(!m)return!l&&a;var f=e*r/m,u=-e*s/m,p=ra(o,t),h=ma(o,f);sa(h,ma(t,u));var _=p,g=ta(h,_),b=ta(_,_),k=g*g-b*(ta(h,h)-1);if(!(k<0)){var v=w(k),y=ma(_,(-g-v)/b);if(sa(y,h),y=oa(y),!l)return y;var z,M=a[0],x=n[0],S=a[1],A=n[1];x0^y[1]<(d(y[0]-M)i^(M<=y[0]&&y[0]<=x)){var N=ma(_,(-g+v)/b);return sa(N,h),[y,oa(N)];}}}function s(e,n){var c=l?a:i-a,o=0;return e<-c?o|=1:e>c&&(o|=2),n<-c?o|=4:n>c&&(o|=8),o;}return ge(t,function(a){var e,n,c,m,f;return{lineStart:function(){m=c=!1,f=1;},point:function(d,u){var p,h=[d,u],_=t(d,u),g=l?_?0:s(d,u):_?s(d+(d<0?i:-i),u):0;if(!e&&(m=c=_)&&a.lineStart(),_!==c&&(!(p=r(e,h))||me(e,p)||me(h,p))&&(h[2]=1),_!==c)f=0,_?(a.lineStart(),p=r(h,e),a.point(p[0],p[1])):(p=r(e,h),a.point(p[0],p[1],2),a.lineEnd()),e=p;else if(o&&e&&l^_){var b;g&n||!(b=r(h,e,!0))||(f=0,l?(a.lineStart(),a.point(b[0][0],b[0][1]),a.point(b[1][0],b[1][1]),a.lineEnd()):(a.point(b[1][0],b[1][1]),a.lineEnd(),a.lineStart(),a.point(b[0][0],b[0][1],3)));}!_||e&&me(e,h)||a.point(h[0],h[1]),e=h,c=_,n=g;},lineEnd:function(){c&&a.lineEnd(),e=null;},clean:function(){return f|(m&&c)<<1;}};},function(e,l,c,o){ie(o,a,n,c,e,l);},l?[0,-a]:[-i,a-i]);}var ze,we,Me,xe,Se=1e9,Ae=-Se;function Re(a,e,n,l){function o(c,o){return a<=c&&c<=n&&e<=o&&o<=l;}function i(c,o,i,r){var m=0,f=0;if(null==c||(m=t(c,i))!==(f=t(o,i))||s(c,o)<0^i>0)do{r.point(0===m||3===m?a:n,m>1?l:e);}while((m=(m+i+4)%4)!==f);else r.point(o[0],o[1]);}function t(l,o){return d(l[0]-a)0?0:3:d(l[0]-n)0?2:1:d(l[1]-e)0?1:0:o>0?3:2;}function r(a,e){return s(a.x,e.x);}function s(a,e){var n=t(a,1),l=t(e,1);return n!==l?n-l:0===n?e[1]-a[1]:1===n?a[0]-e[0]:2===n?a[1]-e[1]:e[0]-a[0];}return function(c){var t,s,m,f,d,u,p,h,_,g,b,k=c,v=se(),y={point:z,lineStart:function(){y.point=w,s&&s.push(m=[]);g=!0,_=!1,p=h=NaN;},lineEnd:function(){t&&(w(f,d),u&&_&&v.rejoin(),t.push(v.result()));y.point=z,_&&k.lineEnd();},polygonStart:function(){k=v,t=[],s=[],b=!0;},polygonEnd:function(){var e=function(){for(var e=0,n=0,c=s.length;nl&&(d-o)*(l-i)>(u-i)*(a-o)&&++e:u<=l&&(d-o)*(l-i)<(u-i)*(a-o)&&--e;return e;}(),n=b&&e,o=(t=_e(t)).length;(n||o)&&(c.polygonStart(),n&&(c.lineStart(),i(null,null,1,c),c.lineEnd()),o&&de(t,r,e,i,c),c.polygonEnd());k=c,t=s=m=null;}};function z(a,e){o(a,e)&&k.point(a,e);}function w(c,i){var t=o(c,i);if(s&&m.push([c,i]),g)f=c,d=i,u=t,g=!1,t&&(k.lineStart(),k.point(c,i));else if(t&&_)k.point(c,i);else{var r=[p=Math.max(Ae,Math.min(Se,p)),h=Math.max(Ae,Math.min(Se,h))],v=[c=Math.max(Ae,Math.min(Se,c)),i=Math.max(Ae,Math.min(Se,i))];!function(a,e,n,l,c,o){var i,t=a[0],r=a[1],s=0,m=1,f=e[0]-t,d=e[1]-r;if(i=n-t,f||!(i>0)){if(i/=f,f<0){if(i0){if(i>m)return;i>s&&(s=i);}if(i=c-t,f||!(i<0)){if(i/=f,f<0){if(i>m)return;i>s&&(s=i);}else if(f>0){if(i0)){if(i/=d,d<0){if(i0){if(i>m)return;i>s&&(s=i);}if(i=o-r,d||!(i<0)){if(i/=d,d<0){if(i>m)return;i>s&&(s=i);}else if(d>0){if(i0&&(a[0]=t+s*f,a[1]=r+s*d),m<1&&(e[0]=t+m*f,e[1]=r+m*d),!0;}}}}}(r,v,a,e,n,l)?t&&(k.lineStart(),k.point(c,i),b=!1):(_||(k.lineStart(),k.point(r[0],r[1])),k.point(v[0],v[1]),t||k.lineEnd(),b=!1);}p=c,h=i,_=t;}return y;};}function Ee(){var a,e,n,l=0,c=0,o=960,i=500;return n={stream:function(n){return a&&e===n?a:a=Re(l,c,o,i)(e=n);},extent:function(t){return arguments.length?(l=+t[0][0],c=+t[0][1],o=+t[1][0],i=+t[1][1],a=e=null,n):[[l,c],[o,i]];}};}var Ne={sphere:R,point:R,lineStart:function(){Ne.point=Be,Ne.lineEnd=Ce;},lineEnd:R,polygonStart:R,polygonEnd:R};function Ce(){Ne.point=Ne.lineEnd=R;}function Be(a,e){we=a*=f,Me=y(e*=f),xe=h(e),Ne.point=Te;}function Te(a,e){a*=f;var n=y(e*=f),l=h(e),c=d(a-we),o=h(c),i=l*y(c),t=xe*n-Me*l*o,r=Me*n+xe*l*o;ze.add(p(w(i*i+t*t),r)),we=a,Me=n,xe=l;}function Le(a){return ze=new l(),L(a,Ne),+ze;}var Pe=[null,null],Ie={type:"LineString",coordinates:Pe};function je(a,e){return Pe[0]=a,Pe[1]=e,Le(Ie);}var Ge={Feature:function(a,e){return De(a.geometry,e);},FeatureCollection:function(a,e){for(var n=a.features,l=-1,c=n.length;++l0&&(c=je(a[i],a[i-1]))>0&&n<=c&&l<=c&&(n+l-c)*(1-Math.pow((n-l)/c,2))c;}).map(s)).concat(Ze(_(i/h)*h,o,h).filter(function(a){return d(a%b)>c;}).map(m));}return v.lines=function(){return y().map(function(a){return{type:"LineString",coordinates:a};});},v.outline=function(){return{type:"Polygon",coordinates:[f(l).concat(u(t).slice(1),f(n).reverse().slice(1),u(r).reverse().slice(1))]};},v.extent=function(a){return arguments.length?v.extentMajor(a).extentMinor(a):v.extentMinor();},v.extentMajor=function(a){return arguments.length?(l=+a[0][0],n=+a[1][0],r=+a[0][1],t=+a[1][1],l>n&&(a=l,l=n,n=a),r>t&&(a=r,r=t,t=a),v.precision(k)):[[l,r],[n,t]];},v.extentMinor=function(n){return arguments.length?(e=+n[0][0],a=+n[1][0],i=+n[0][1],o=+n[1][1],e>a&&(n=e,e=a,a=n),i>o&&(n=i,i=o,o=n),v.precision(k)):[[e,i],[a,o]];},v.step=function(a){return arguments.length?v.stepMajor(a).stepMinor(a):v.stepMinor();},v.stepMajor=function(a){return arguments.length?(g=+a[0],b=+a[1],v):[g,b];},v.stepMinor=function(a){return arguments.length?(p=+a[0],h=+a[1],v):[p,h];},v.precision=function(c){return arguments.length?(k=+c,s=qe(i,o,90),m=Je(e,a,k),f=qe(r,t,90),u=Je(l,n,k),v):k;},v.extentMajor([[-180,-90+c],[180,90-c]]).extentMinor([[-180,-80-c],[180,80+c]]);}function Qe(){return Ye()();}function Xe(a,e){var n=a[0]*f,l=a[1]*f,c=e[0]*f,o=e[1]*f,i=h(l),t=y(l),r=h(o),s=y(o),d=i*h(n),u=i*y(n),_=r*h(c),g=r*y(c),b=2*S(w(A(o-l)+i*r*A(c-n))),k=y(b),v=b?function(a){var e=y(a*=b)/k,n=y(b-a)/k,l=n*d+e*_,c=n*u+e*g,o=n*t+e*s;return[p(c,l)*m,p(o,w(l*l+c*c))*m];}:function(){return[n*m,l*m];};return v.distance=b,v;}const $e=a=>a;var an,en,nn,ln,cn=new l(),on=new l(),tn={point:R,lineStart:R,lineEnd:R,polygonStart:function(){tn.lineStart=rn,tn.lineEnd=fn;},polygonEnd:function(){tn.lineStart=tn.lineEnd=tn.point=R,cn.add(d(on)),on=new l();},result:function(){var a=cn/2;return cn=new l(),a;}};function rn(){tn.point=sn;}function sn(a,e){tn.point=mn,an=nn=a,en=ln=e;}function mn(a,e){on.add(ln*a-nn*e),nn=a,ln=e;}function fn(){mn(an,en);}const dn=tn;var un=1/0,pn=un,hn=-un,_n=hn,gn={point:function(a,e){ahn&&(hn=a);e_n&&(_n=e);},lineStart:R,lineEnd:R,polygonStart:R,polygonEnd:R,result:function(){var a=[[un,pn],[hn,_n]];return hn=_n=-(pn=un=1/0),a;}};const bn=gn;var kn,vn,yn,zn,wn=0,Mn=0,xn=0,Sn=0,An=0,Rn=0,En=0,Nn=0,Cn=0,Bn={point:Tn,lineStart:Ln,lineEnd:jn,polygonStart:function(){Bn.lineStart=Gn,Bn.lineEnd=On;},polygonEnd:function(){Bn.point=Tn,Bn.lineStart=Ln,Bn.lineEnd=jn;},result:function(){var a=Cn?[En/Cn,Nn/Cn]:Rn?[Sn/Rn,An/Rn]:xn?[wn/xn,Mn/xn]:[NaN,NaN];return wn=Mn=xn=Sn=An=Rn=En=Nn=Cn=0,a;}};function Tn(a,e){wn+=a,Mn+=e,++xn;}function Ln(){Bn.point=Pn;}function Pn(a,e){Bn.point=In,Tn(yn=a,zn=e);}function In(a,e){var n=a-yn,l=e-zn,c=w(n*n+l*l);Sn+=c*(yn+a)/2,An+=c*(zn+e)/2,Rn+=c,Tn(yn=a,zn=e);}function jn(){Bn.point=Tn;}function Gn(){Bn.point=Dn;}function On(){Fn(kn,vn);}function Dn(a,e){Bn.point=Fn,Tn(kn=yn=a,vn=zn=e);}function Fn(a,e){var n=a-yn,l=e-zn,c=w(n*n+l*l);Sn+=c*(yn+a)/2,An+=c*(zn+e)/2,Rn+=c,En+=(c=zn*a-yn*e)*(yn+a),Nn+=c*(zn+e),Cn+=3*c,Tn(yn=a,zn=e);}const Kn=Bn;function Hn(a){this._context=a;}Hn.prototype={_radius:4.5,pointRadius:function(a){return this._radius=a,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(a,e){switch(this._point){case 0:this._context.moveTo(a,e),this._point=1;break;case 1:this._context.lineTo(a,e);break;default:this._context.moveTo(a+this._radius,e),this._context.arc(a,e,this._radius,0,s);}},result:R};var Un,Vn,Wn,Zn,qn,Jn=new l(),Yn={point:R,lineStart:function(){Yn.point=Qn;},lineEnd:function(){Un&&Xn(Vn,Wn),Yn.point=R;},polygonStart:function(){Un=!0;},polygonEnd:function(){Un=null;},result:function(){var a=+Jn;return Jn=new l(),a;}};function Qn(a,e){Yn.point=Xn,Vn=Zn=a,Wn=qn=e;}function Xn(a,e){Zn-=a,qn-=e,Jn.add(w(Zn*Zn+qn*qn)),Zn=a,qn=e;}const $n=Yn;function al(){this._string=[];}function el(a){return"m0,"+a+"a"+a+","+a+" 0 1,1 0,"+-2*a+"a"+a+","+a+" 0 1,1 0,"+2*a+"z";}function nl(a,e){var n,l,c=4.5;function o(a){return a&&("function"===typeof c&&l.pointRadius(+c.apply(this,arguments)),L(a,n(l))),l.result();}return o.area=function(a){return L(a,n(dn)),dn.result();},o.measure=function(a){return L(a,n($n)),$n.result();},o.bounds=function(a){return L(a,n(bn)),bn.result();},o.centroid=function(a){return L(a,n(Kn)),Kn.result();},o.projection=function(e){return arguments.length?(n=null==e?(a=null,$e):(a=e).stream,o):a;},o.context=function(a){return arguments.length?(l=null==a?(e=null,new al()):new Hn(e=a),"function"!==typeof c&&l.pointRadius(c),o):e;},o.pointRadius=function(a){return arguments.length?(c="function"===typeof a?a:(l.pointRadius(+a),+a),o):c;},o.projection(a).context(e);}function ll(a){return{stream:cl(a)};}function cl(a){return function(e){var n=new ol();for(var l in a)n[l]=a[l];return n.stream=e,n;};}function ol(){}function il(a,e,n){var l=a.clipExtent&&a.clipExtent();return a.scale(150).translate([0,0]),null!=l&&a.clipExtent(null),L(n,a.stream(bn)),e(bn.result()),null!=l&&a.clipExtent(l),a;}function tl(a,e,n){return il(a,function(n){var l=e[1][0]-e[0][0],c=e[1][1]-e[0][1],o=Math.min(l/(n[1][0]-n[0][0]),c/(n[1][1]-n[0][1])),i=+e[0][0]+(l-o*(n[1][0]+n[0][0]))/2,t=+e[0][1]+(c-o*(n[1][1]+n[0][1]))/2;a.scale(150*o).translate([i,t]);},n);}function rl(a,e,n){return tl(a,[[0,0],e],n);}function sl(a,e,n){return il(a,function(n){var l=+e,c=l/(n[1][0]-n[0][0]),o=(l-c*(n[1][0]+n[0][0]))/2,i=-c*n[0][1];a.scale(150*c).translate([o,i]);},n);}function ml(a,e,n){return il(a,function(n){var l=+e,c=l/(n[1][1]-n[0][1]),o=-c*n[0][0],i=(l-c*(n[1][1]+n[0][1]))/2;a.scale(150*c).translate([o,i]);},n);}al.prototype={_radius:4.5,_circle:el(4.5),pointRadius:function(a){return(a=+a)!==this._radius&&(this._radius=a,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(a,e){switch(this._point){case 0:this._string.push("M",a,",",e),this._point=1;break;case 1:this._string.push("L",a,",",e);break;default:null==this._circle&&(this._circle=el(this._radius)),this._string.push("M",a,",",e,this._circle);}},result:function(){if(this._string.length){var a=this._string.join("");return this._string=[],a;}return null;}},ol.prototype={constructor:ol,point:function(a,e){this.stream.point(a,e);},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 fl=16,dl=h(30*f);function ul(a,e){return+e?function(a,e){function n(l,o,i,t,r,s,m,f,u,h,_,g,b,k){var v=m-l,y=f-o,z=v*v+y*y;if(z>4*e&&b--){var M=t+h,x=r+_,A=s+g,R=w(M*M+x*x+A*A),E=S(A/=R),N=d(d(A)-1)e||d((v*L+y*P)/z-.5)>.3||t*h+r*_+s*g2?a[2]%360*f:0,B()):[b*m,k*m,v*m];},N.angle=function(a){return arguments.length?(y=a%360*f,B()):y*m;},N.reflectX=function(a){return arguments.length?(z=a?-1:1,B()):z<0;},N.reflectY=function(a){return arguments.length?(M=a?-1:1,B()):M<0;},N.precision=function(a){return arguments.length?(i=ul(t,E=a*a),T()):w(E);},N.fitExtent=function(a,e){return tl(N,a,e);},N.fitSize=function(a,e){return rl(N,a,e);},N.fitWidth=function(a,e){return sl(N,a,e);},N.fitHeight=function(a,e){return ml(N,a,e);},function(){return e=a.apply(this,arguments),N.invert=e.invert&&C,B();};}function bl(a){var e=0,n=i/3,l=gl(a),c=l(e,n);return c.parallels=function(a){return arguments.length?l(e=a[0]*f,n=a[1]*f):[e*m,n*m];},c;}function kl(a,e){var n=y(a),l=(n+y(e))/2;if(d(l)=.12&&c<.234&&l>=-.425&&l<-.214?r:c>=.166&&c<.234&&l>=-.214&&l<-.115?s:t).invert(a);},f.stream=function(n){return a&&e===n?a:a=function(a){var e=a.length;return{point:function(n,l){for(var c=-1;++c0?e<-t+c&&(e=-t+c):e>t-c&&(e=t-c);var n=o/v(Bl(e),l);return[n*y(l*a),o-n*h(l*a)];}return r.invert=function(a,e){var n=o-e,c=z(l)*w(a*a+n*n),r=p(a,d(n))*z(n);return n*l<0&&(r-=i*z(a)*z(n)),[r/l,2*u(v(o/c,1/l))-t];},r;}function Ll(){return bl(Tl).scale(109.5).parallels([30,30]);}function Pl(a,e){return[a,e];}function Il(){return _l(Pl).scale(152.63);}function jl(a,e){var n=h(a),l=a===e?y(a):(n-h(e))/(e-a),o=n/l+a;if(d(l)2?a[2]+90:90]):[(a=n())[0],a[1],a[2]-90];},n([0,0,90]).scale(159.155);}Ul.invert=function(a,e){for(var n,l=e,c=l*l,i=c*c*c,t=0;t<12&&(i=(c=(l-=n=(l*(Ol+Dl*c+i*(Fl+Kl*c))-e)/(Ol+3*Dl*c+i*(7*Fl+9*Kl*c)))*l)*c*c,!(d(n)c&&--o>0);return[a/(.8707+(i=l*l)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),l];},Ql.invert=Ml(S),$l.invert=Ml(function(a){return 2*u(a);}),ec.invert=function(a,e){return[-e,2*u(g(a))-t];};},491:(a,e,n)=>{"use strict";function l(a){return"object"===typeof a&&"length"in a?a:Array.from(a);}n.d(e,{Z:()=>l});},413:(a,e,n)=>{"use strict";n.d(e,{Z:()=>t});var l=n(229),c=n(94);function o(a){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===c.P&&e.documentElement.namespaceURI===c.P?e.createElement(a):e.createElementNS(n,a);};}function i(a){return function(){return this.ownerDocument.createElementNS(a.space,a.local);};}function t(a){var e=(0,l.Z)(a);return(e.local?i:o)(e);}},320:(a,e,n)=>{"use strict";n.r(e),n.d(e,{create:()=>o,creator:()=>l.Z,local:()=>t,matcher:()=>s.Z,namespace:()=>m.Z,namespaces:()=>f.Z,pointer:()=>d.Z,pointers:()=>p,select:()=>c.Z,selectAll:()=>g,selection:()=>_.ZP,selector:()=>b.Z,selectorAll:()=>k.Z,style:()=>v.S,window:()=>y.Z});var l=n(413),c=n(261);function o(a){return(0,c.Z)((0,l.Z)(a).call(document.documentElement));}var i=0;function t(){return new r();}function r(){this._="@"+(++i).toString(36);}r.prototype=t.prototype={constructor:r,get:function(a){for(var e=this._;!(e in a);)if(!(a=a.parentNode))return;return a[e];},set:function(a,e){return a[this._]=e;},remove:function(a){return this._ in a&&delete a[this._];},toString:function(){return this._;}};var s=n(761),m=n(229),f=n(94),d=n(439),u=n(252);function p(a,e){return a.target&&(a=(0,u.Z)(a),void 0===e&&(e=a.currentTarget),a=a.touches||[a]),Array.from(a,a=>(0,d.Z)(a,e));}var h=n(491),_=n(426);function g(a){return"string"===typeof a?new _.Y1([document.querySelectorAll(a)],[document.documentElement]):new _.Y1([null==a?[]:(0,h.Z)(a)],_.Jz);}var b=n(538),k=n(265),v=n(946),y=n(795);},761:(a,e,n)=>{"use strict";function l(a){return function(){return this.matches(a);};}function c(a){return function(e){return e.matches(a);};}n.d(e,{P:()=>c,Z:()=>l});},229:(a,e,n)=>{"use strict";n.d(e,{Z:()=>c});var l=n(94);function c(a){var e=a+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=a.slice(0,n))&&(a=a.slice(n+1)),l.Z.hasOwnProperty(e)?{space:l.Z[e],local:a}:a;}},94:(a,e,n)=>{"use strict";n.d(e,{P:()=>l,Z:()=>c});var l="http://www.w3.org/1999/xhtml";const c={svg:"http://www.w3.org/2000/svg",xhtml:l,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};},439:(a,e,n)=>{"use strict";n.d(e,{Z:()=>c});var l=n(252);function c(a,e){if(a=(0,l.Z)(a),void 0===e&&(e=a.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var c=n.createSVGPoint();return c.x=a.clientX,c.y=a.clientY,[(c=c.matrixTransform(e.getScreenCTM().inverse())).x,c.y];}if(e.getBoundingClientRect){var o=e.getBoundingClientRect();return[a.clientX-o.left-e.clientLeft,a.clientY-o.top-e.clientTop];}}return[a.pageX,a.pageY];}},261:(a,e,n)=>{"use strict";n.d(e,{Z:()=>c});var l=n(426);function c(a){return"string"===typeof a?new l.Y1([[document.querySelector(a)]],[document.documentElement]):new l.Y1([[a]],l.Jz);}},426:(a,e,n)=>{"use strict";n.d(e,{Y1:()=>na,ZP:()=>ca,Jz:()=>ea});var l=n(538);var c=n(491),o=n(265);var i=n(761),t=Array.prototype.find;function r(){return this.firstElementChild;}var s=Array.prototype.filter;function m(){return this.children;}function f(a){return new Array(a.length);}function d(a,e){this.ownerDocument=a.ownerDocument,this.namespaceURI=a.namespaceURI,this._next=null,this._parent=a,this.__data__=e;}function u(a,e,n,l,c,o){for(var i,t=0,r=e.length,s=o.length;te?1:a>=e?0:NaN;}d.prototype={constructor:d,appendChild:function(a){return this._parent.insertBefore(a,this._next);},insertBefore:function(a,e){return this._parent.insertBefore(a,e);},querySelector:function(a){return this._parent.querySelector(a);},querySelectorAll:function(a){return this._parent.querySelectorAll(a);}};var g=n(229);function b(a){return function(){this.removeAttribute(a);};}function k(a){return function(){this.removeAttributeNS(a.space,a.local);};}function v(a,e){return function(){this.setAttribute(a,e);};}function y(a,e){return function(){this.setAttributeNS(a.space,a.local,e);};}function z(a,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(a):this.setAttribute(a,n);};}function w(a,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(a.space,a.local):this.setAttributeNS(a.space,a.local,n);};}var M=n(946);function x(a){return function(){delete this[a];};}function S(a,e){return function(){this[a]=e;};}function A(a,e){return function(){var n=e.apply(this,arguments);null==n?delete this[a]:this[a]=n;};}function R(a){return a.trim().split(/^|\s+/);}function E(a){return a.classList||new N(a);}function N(a){this._node=a,this._names=R(a.getAttribute("class")||"");}function C(a,e){for(var n=E(a),l=-1,c=e.length;++l=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")));},contains:function(a){return this._names.indexOf(a)>=0;}};var U=n(413);function V(){return null;}function W(){var a=this.parentNode;a&&a.removeChild(this);}function Z(){var a=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(a,this.nextSibling):a;}function q(){var a=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(a,this.nextSibling):a;}function J(a){return function(){var e=this.__on;if(e){for(var n,l=0,c=-1,o=e.length;l=x&&(x=M+1);!(w=y[x])&&++x=0;)(l=c[o])&&(i&&4^l.compareDocumentPosition(i)&&i.parentNode.insertBefore(l,i),i=l);return this;},sort:function(a){function e(e,n){return e&&n?a(e.__data__,n.__data__):!e-!n;}a||(a=_);for(var n=this._groups,l=n.length,c=new Array(l),o=0;o1?this.each((null==e?x:"function"===typeof e?A:S)(a,e)):this.node()[a];},classed:function(a,e){var n=R(a+"");if(arguments.length<2){for(var l=E(this.node()),c=-1,o=n.length;++c=0&&(e=a.slice(n+1),a=a.slice(0,n)),{type:a,name:e};});}(a+""),i=o.length;if(!(arguments.length<2)){for(t=e?Y:J,l=0;l{"use strict";n.d(e,{S:()=>r,Z:()=>t});var l=n(795);function c(a){return function(){this.style.removeProperty(a);};}function o(a,e,n){return function(){this.style.setProperty(a,e,n);};}function i(a,e,n){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(a):this.style.setProperty(a,l,n);};}function t(a,e,n){return arguments.length>1?this.each((null==e?c:"function"===typeof e?i:o)(a,e,null==n?"":n)):r(this.node(),a);}function r(a,e){return a.style.getPropertyValue(e)||(0,l.Z)(a).getComputedStyle(a,null).getPropertyValue(e);}},538:(a,e,n)=>{"use strict";function l(){}function c(a){return null==a?l:function(){return this.querySelector(a);};}n.d(e,{Z:()=>c});},265:(a,e,n)=>{"use strict";function l(){return[];}function c(a){return null==a?l:function(){return this.querySelectorAll(a);};}n.d(e,{Z:()=>c});},252:(a,e,n)=>{"use strict";function l(a){let e;for(;e=a.sourceEvent;)a=e;return a;}n.d(e,{Z:()=>l});},795:(a,e,n)=>{"use strict";function l(a){return a.ownerDocument&&a.ownerDocument.defaultView||a.document&&a||a.defaultView;}n.d(e,{Z:()=>l});},839:(a,e,n)=>{"use strict";n.r(e),n.d(e,{zoom:()=>Ne,zoomIdentity:()=>ve,zoomTransform:()=>ye});var l={value:()=>{}};function c(){for(var a,e=0,n=arguments.length,l={};e=0&&(e=a.slice(n+1),a=a.slice(0,n)),a&&!l.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:e};})),r=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++r0)for(var n,l,c=new Array(n),o=0;o=0&&e._call.call(null,a),e=e._next;--g;}();}finally{g=0,function(){var a,e,n=u,l=1/0;for(;n;)n._call?(l>n._time&&(l=n._time),a=n,n=n._next):(e=n._next,n._next=null,n=a?a._next=e:u=e);p=a,B(l);}(),z=0;}}function C(){var a=M.now(),e=a-y;e>v&&(w-=e,y=a);}function B(a){g||(b&&(b=clearTimeout(b)),a-z>24?(a<1/0&&(b=setTimeout(N,a-M.now()-w)),k&&(k=clearInterval(k))):(k||(y=M.now(),k=setInterval(C,v)),g=1,x(N)));}function T(a,e,n){var l=new R();return e=null==e?0:+e,l.restart(n=>{l.stop(),a(n+e);},e,n),l;}R.prototype=E.prototype={constructor:R,restart:function(a,e,n){if("function"!==typeof a)throw new TypeError("callback is not a function");n=(null==n?S():+n)+(null==e?0:+e),this._next||p===this||(p?p._next=this:u=this,p=this),this._call=a,this._time=n,B();},stop:function(){this._call&&(this._call=null,this._time=1/0,B());}};var L=r("start","end","cancel","interrupt"),P=[],I=0,j=1,G=2,O=3,D=4,F=5,K=6;function H(a,e,n,l,c,o){var i=a.__transition;if(i){if(n in i)return;}else a.__transition={};!function(a,e,n){var l,c=a.__transition;function o(a){n.state=j,n.timer.restart(i,n.delay,n.time),n.delay<=a&&i(a-n.delay);}function i(o){var s,m,f,d;if(n.state!==j)return r();for(s in c)if((d=c[s]).name===n.name){if(d.state===O)return T(i);d.state===D?(d.state=K,d.timer.stop(),d.on.call("interrupt",a,a.__data__,d.index,d.group),delete c[s]):+sI)throw new Error("too late; already scheduled");return n;}function V(a,e){var n=W(a,e);if(n.state>O)throw new Error("too late; already running");return n;}function W(a,e){var n=a.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n;}function Z(a,e){var n,l,c,o=a.__transition,i=!0;if(o){for(c in e=null==e?null:e+"",o)(n=o[c]).name===e?(l=n.state>G&&n.state180?e+=360:e-a>180&&(a+=360),o.push({i:n.push(c(n)+"rotate(",null,l)-2,x:q(a,e)})):e&&n.push(c(n)+"rotate("+e+l);}(o.rotate,i.rotate,t,r),function(a,e,n,o){a!==e?o.push({i:n.push(c(n)+"skewX(",null,l)-2,x:q(a,e)}):e&&n.push(c(n)+"skewX("+e+l);}(o.skewX,i.skewX,t,r),function(a,e,n,l,o,i){if(a!==n||e!==l){var t=o.push(c(o)+"scale(",null,",",null,")");i.push({i:t-4,x:q(a,n)},{i:t-2,x:q(e,l)});}else 1===n&&1===l||o.push(c(o)+"scale("+n+","+l+")");}(o.scaleX,o.scaleY,i.scaleX,i.scaleY,t,r),o=i=null,function(a){for(var e,n=-1,l=r.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Sa(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Sa(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=ha.exec(a))?new Ra(e[1],e[2],e[3],1):(e=_a.exec(a))?new Ra(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ga.exec(a))?Sa(e[1],e[2],e[3],e[4]):(e=ba.exec(a))?Sa(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ka.exec(a))?Ba(e[1],e[2]/100,e[3]/100,1):(e=va.exec(a))?Ba(e[1],e[2]/100,e[3]/100,e[4]):ya.hasOwnProperty(a)?xa(ya[a]):"transparent"===a?new Ra(NaN,NaN,NaN,0):null;}function xa(a){return new Ra(a>>16&255,a>>8&255,255&a,1);}function Sa(a,e,n,l){return l<=0&&(a=e=n=NaN),new Ra(a,e,n,l);}function Aa(a,e,n,l){return 1===arguments.length?function(a){return a instanceof ra||(a=Ma(a)),a?new Ra((a=a.rgb()).r,a.g,a.b,a.opacity):new Ra();}(a):new Ra(a,e,n,null==l?1:l);}function Ra(a,e,n,l){this.r=+a,this.g=+e,this.b=+n,this.opacity=+l;}function Ea(){return"#"+Ca(this.r)+Ca(this.g)+Ca(this.b);}function Na(){var a=this.opacity;return(1===(a=isNaN(a)?1:Math.max(0,Math.min(1,a)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===a?")":", "+a+")");}function Ca(a){return((a=Math.max(0,Math.min(255,Math.round(a)||0)))<16?"0":"")+a.toString(16);}function Ba(a,e,n,l){return l<=0?a=e=n=NaN:n<=0||n>=1?a=e=NaN:e<=0&&(a=NaN),new La(a,e,n,l);}function Ta(a){if(a instanceof La)return new La(a.h,a.s,a.l,a.opacity);if(a instanceof ra||(a=Ma(a)),!a)return new La();if(a instanceof La)return a;var e=(a=a.rgb()).r/255,n=a.g/255,l=a.b/255,c=Math.min(e,n,l),o=Math.max(e,n,l),i=NaN,t=o-c,r=(o+c)/2;return t?(i=e===o?(n-l)/t+6*(n0&&r<1?0:i,new La(i,t,r,a.opacity);}function La(a,e,n,l){this.h=+a,this.s=+e,this.l=+n,this.opacity=+l;}function Pa(a,e,n){return 255*(a<60?e+(n-e)*a/60:a<180?n:a<240?e+(n-e)*(240-a)/60:e);}function Ia(a,e,n,l,c){var o=a*a,i=o*a;return((1-3*a+3*o-i)*e+(4-6*o+3*i)*n+(1+3*a+3*o-3*i)*l+i*c)/6;}ia(ra,Ma,{copy:function(a){return Object.assign(new this.constructor(),this,a);},displayable:function(){return this.rgb().displayable();},hex:za,formatHex:za,formatHsl:function(){return Ta(this).formatHsl();},formatRgb:wa,toString:wa}),ia(Ra,Aa,ta(ra,{brighter:function(a){return a=null==a?ma:Math.pow(ma,a),new Ra(this.r*a,this.g*a,this.b*a,this.opacity);},darker:function(a){return a=null==a?sa:Math.pow(sa,a),new Ra(this.r*a,this.g*a,this.b*a,this.opacity);},rgb:function(){return this;},displayable:function(){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:Ea,formatHex:Ea,formatRgb:Na,toString:Na})),ia(La,function(a,e,n,l){return 1===arguments.length?Ta(a):new La(a,e,n,null==l?1:l);},ta(ra,{brighter:function(a){return a=null==a?ma:Math.pow(ma,a),new La(this.h,this.s,this.l*a,this.opacity);},darker:function(a){return a=null==a?sa:Math.pow(sa,a),new La(this.h,this.s,this.l*a,this.opacity);},rgb:function(){var a=this.h%360+360*(this.h<0),e=isNaN(a)||isNaN(this.s)?0:this.s,n=this.l,l=n+(n<.5?n:1-n)*e,c=2*n-l;return new Ra(Pa(a>=240?a-240:a+120,c,l),Pa(a,c,l),Pa(a<120?a+240:a-120,c,l),this.opacity);},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1;},formatHsl:function(){var a=this.opacity;return(1===(a=isNaN(a)?1:Math.max(0,Math.min(1,a)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===a?")":", "+a+")");}}));const ja=a=>()=>a;function Ga(a,e){return function(n){return a+n*e;};}function Oa(a){return 1===(a=+a)?Da:function(e,n){return n-e?function(a,e,n){return a=Math.pow(a,n),e=Math.pow(e,n)-a,n=1/n,function(l){return Math.pow(a+l*e,n);};}(e,n,a):ja(isNaN(e)?n:e);};}function Da(a,e){var n=e-a;return n?Ga(a,n):ja(isNaN(a)?e:a);}const Fa=function a(e){var n=Oa(e);function l(a,e){var l=n((a=Aa(a)).r,(e=Aa(e)).r),c=n(a.g,e.g),o=n(a.b,e.b),i=Da(a.opacity,e.opacity);return function(e){return a.r=l(e),a.g=c(e),a.b=o(e),a.opacity=i(e),a+"";};}return l.gamma=a,l;}(1);function Ka(a){return function(e){var n,l,c=e.length,o=new Array(c),i=new Array(c),t=new Array(c);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),c=a[l],o=a[l+1],i=l>0?a[l-1]:2*c-o,t=lo&&(c=e.slice(o,c),t[i]?t[i]+=c:t[++i]=c),(n=n[0])===(l=l[0])?t[i]?t[i]+=l:t[++i]=l:(t[++i]=null,r.push({i:i,x:q(n,l)})),o=Ua.lastIndex;return o=0&&(a=a.slice(0,e)),!a||"start"===a;});}(e)?U:V;return function(){var i=o(this,a),t=i.on;t!==l&&(c=(l=t).copy()).on(e,n),i.on=c;};}(n,a,e));},attr:function(a,e){var n=(0,na.Z)(a),l="transform"===n?ea:Wa;return this.attrTween(a,"function"===typeof e?(n.local?Xa:Qa)(n,l,oa(this,"attr."+a,e)):null==e?(n.local?qa:Za)(n):(n.local?Ya:Ja)(n,l,e));},attrTween:function(a,e){var n="attr."+a;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error();var l=(0,na.Z)(a);return this.tween(n,(l.local?$a:ae)(l,e));},style:function(a,e,n){var l="transform"===(a+="")?aa:Wa;return null==e?this.styleTween(a,function(a,e){var n,l,c;return function(){var o=(0,se.S)(this,a),i=(this.style.removeProperty(a),(0,se.S)(this,a));return o===i?null:o===n&&i===l?c:c=e(n=o,l=i);};}(a,l)).on("end.style."+a,me(a)):"function"===typeof e?this.styleTween(a,function(a,e,n){var l,c,o;return function(){var i=(0,se.S)(this,a),t=n(this),r=t+"";return null==t&&(this.style.removeProperty(a),r=t=(0,se.S)(this,a)),i===r?null:i===l&&r===c?o:(c=r,o=e(l=i,t));};}(a,l,oa(this,"style."+a,e))).each(function(a,e){var n,l,c,o,i="style."+e,t="end."+i;return function(){var r=V(this,a),s=r.on,m=null==r.value[i]?o||(o=me(e)):void 0;s===n&&c===m||(l=(n=s).copy()).on(t,c=m),r.on=l;};}(this._id,a)):this.styleTween(a,function(a,e,n){var l,c,o=n+"";return function(){var i=(0,se.S)(this,a);return i===o?null:i===l?c:c=e(l=i,n);};}(a,l,e),n).on("end.style."+a,null);},styleTween:function(a,e,n){var l="style."+(a+="");if(arguments.length<2)return(l=this.tween(l))&&l._value;if(null==e)return this.tween(l,null);if("function"!==typeof e)throw new Error();return this.tween(l,function(a,e,n){var l,c;function o(){var o=e.apply(this,arguments);return o!==c&&(l=(c=o)&&function(a,e,n){return function(l){this.style.setProperty(a,e.call(this,l),n);};}(a,o,n)),l;}return o._value=e,o;}(a,e,null==n?"":n));},text:function(a){return this.tween("text","function"===typeof a?function(a){return function(){var e=a(this);this.textContent=null==e?"":e;};}(oa(this,"text",a)):function(a){return function(){this.textContent=a;};}(null==a?"":a+""));},textTween:function(a){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==a)return this.tween(e,null);if("function"!==typeof a)throw new Error();return this.tween(e,function(a){var e,n;function l(){var l=a.apply(this,arguments);return l!==n&&(e=(n=l)&&function(a){return function(e){this.textContent=a.call(this,e);};}(l)),e;}return l._value=a,l;}(a));},remove:function(){return this.on("end.remove",function(a){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==a)return;e&&e.removeChild(this);};}(this._id));},tween:function(a,e){var n=this._id;if(a+="",arguments.length<2){for(var l,c=W(this.node(),n).tween,o=0,i=c.length;o()=>a;function be(a,e){let{sourceEvent:n,target:l,transform:c,dispatch:o}=e;Object.defineProperties(this,{type:{value:a,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:l,enumerable:!0,configurable:!0},transform:{value:c,enumerable:!0,configurable:!0},_:{value:o}});}function ke(a,e,n){this.k=a,this.x=e,this.y=n;}ke.prototype={constructor:ke,scale:function(a){return 1===a?this:new ke(this.k*a,this.x,this.y);},translate:function(a,e){return 0===a&0===e?this:new ke(this.k,this.x+this.k*a,this.y+this.k*e);},apply:function(a){return[a[0]*this.k+this.x,a[1]*this.k+this.y];},applyX:function(a){return a*this.k+this.x;},applyY:function(a){return a*this.k+this.y;},invert:function(a){return[(a[0]-this.x)/this.k,(a[1]-this.y)/this.k];},invertX:function(a){return(a-this.x)/this.k;},invertY:function(a){return(a-this.y)/this.k;},rescaleX:function(a){return a.copy().domain(a.range().map(this.invertX,this).map(a.invert,a));},rescaleY:function(a){return a.copy().domain(a.range().map(this.invertY,this).map(a.invert,a));},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")";}};var ve=new ke(1,0,0);function ye(a){for(;!a.__zoom;)if(!(a=a.parentNode))return ve;return a.__zoom;}function ze(a){a.stopImmediatePropagation();}function we(a){a.preventDefault(),a.stopImmediatePropagation();}function Me(a){return(!a.ctrlKey||"wheel"===a.type)&&!a.button;}function xe(){var a=this;return a instanceof SVGElement?(a=a.ownerSVGElement||a).hasAttribute("viewBox")?[[(a=a.viewBox.baseVal).x,a.y],[a.x+a.width,a.y+a.height]]:[[0,0],[a.width.baseVal.value,a.height.baseVal.value]]:[[0,0],[a.clientWidth,a.clientHeight]];}function Se(){return this.__zoom||ve;}function Ae(a){return-a.deltaY*(1===a.deltaMode?.05:a.deltaMode?1:.002)*(a.ctrlKey?10:1);}function Re(){return navigator.maxTouchPoints||"ontouchstart"in this;}function Ee(a,e,n){var l=a.invertX(e[0][0])-n[0][0],c=a.invertX(e[1][0])-n[1][0],o=a.invertY(e[0][1])-n[0][1],i=a.invertY(e[1][1])-n[1][1];return a.translate(c>l?(l+c)/2:Math.min(0,l)||Math.max(0,c),i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i));}function Ne(){var a,e,n,l=Me,c=xe,o=Ee,i=Ae,t=Re,f=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],p=250,_=d,g=r("start","zoom","end"),b=500,k=150,v=0,y=10;function z(a){a.property("__zoom",Se).on("wheel.zoom",E).on("mousedown.zoom",N).on("dblclick.zoom",C).filter(t).on("touchstart.zoom",B).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",L).style("-webkit-tap-highlight-color","rgba(0,0,0,0)");}function w(a,e){return(e=Math.max(f[0],Math.min(f[1],e)))===a.k?a:new ke(e,a.x,a.y);}function M(a,e,n){var l=e[0]-n[0]*a.k,c=e[1]-n[1]*a.k;return l===a.x&&c===a.y?a:new ke(a.k,l,c);}function x(a){return[(+a[0][0]+ +a[1][0])/2,(+a[0][1]+ +a[1][1])/2];}function S(a,e,n,l){a.on("start.zoom",function(){A(this,arguments).event(l).start();}).on("interrupt.zoom end.zoom",function(){A(this,arguments).event(l).end();}).tween("zoom",function(){var a=this,o=arguments,i=A(a,o).event(l),t=c.apply(a,o),r=null==n?x(t):"function"===typeof n?n.apply(a,o):n,s=Math.max(t[1][0]-t[0][0],t[1][1]-t[0][1]),m=a.__zoom,f="function"===typeof e?e.apply(a,o):e,d=_(m.invert(r).concat(s/m.k),f.invert(r).concat(s/f.k));return function(a){if(1===a)a=f;else{var e=d(a),n=s/e[2];a=new ke(n,r[0]-e[0]*n,r[1]-e[1]*n);}i.zoom(null,a);};});}function A(a,e,n){return!n&&a.__zooming||new R(a,e);}function R(a,e){this.that=a,this.args=e,this.active=0,this.sourceEvent=null,this.extent=c.apply(a,e),this.taps=0;}function E(a){for(var e=arguments.length,n=new Array(e>1?e-1:0),c=1;c1?e-1:0),i=1;iv;}t.event(a).zoom("mouse",o(M(t.that.__zoom,t.mouse[0]=(0,h.Z)(a,d),t.mouse[1]),t.extent,u));},!0).on("mouseup.zoom",function(a){r.on("mousemove.zoom mouseup.zoom",null),function(a,e){var n=a.document.documentElement,l=(0,s.Z)(a).on("dragstart.drag",null);e&&(l.on("click.drag",m,!0),setTimeout(function(){l.on("click.drag",null);},0)),"onselectstart"in n?l.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect);}(a.view,t.moved),we(a),t.event(a).end();},!0),f=(0,h.Z)(a,d),d=a.currentTarget,p=a.clientX,_=a.clientY;!function(a){var e=a.document.documentElement,n=(0,s.Z)(a).on("dragstart.drag",m,!0);"onselectstart"in e?n.on("selectstart.drag",m,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none");}(a.view),ze(a),t.mouse=[f,this.__zoom.invert(f)],Z(this),t.start();}}function C(a){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0?(0,s.Z)(this).transition().duration(p).call(S,d,r,a):(0,s.Z)(this).call(z.transform,d,r,a);}}function B(n){for(var c=arguments.length,o=new Array(c>1?c-1:0),i=1;i1?e-1:0),l=1;l1?l-1:0),o=1;o{"use strict";var e=function(a){return function(a){return!!a&&"object"===typeof a;}(a)&&!function(a){var e=Object.prototype.toString.call(a);return"[object RegExp]"===e||"[object Date]"===e||function(a){return a.$$typeof===n;}(a);}(a);};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(a,e){return!1!==e.clone&&e.isMergeableObject(a)?r((n=a,Array.isArray(n)?[]:{}),a,e):a;var n;}function c(a,e,n){return a.concat(e).map(function(a){return l(a,n);});}function o(a){return Object.keys(a).concat(function(a){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(a).filter(function(e){return Object.propertyIsEnumerable.call(a,e);}):[];}(a));}function i(a,e){try{return e in a;}catch(n){return!1;}}function t(a,e,n){var c={};return n.isMergeableObject(a)&&o(a).forEach(function(e){c[e]=l(a[e],n);}),o(e).forEach(function(o){(function(a,e){return i(a,e)&&!(Object.hasOwnProperty.call(a,e)&&Object.propertyIsEnumerable.call(a,e));})(a,o)||(i(a,o)&&n.isMergeableObject(e[o])?c[o]=function(a,e){if(!e.customMerge)return r;var n=e.customMerge(a);return"function"===typeof n?n:r;}(o,n)(a[o],e[o],n):c[o]=l(e[o],n));}),c;}function r(a,n,o){(o=o||{}).arrayMerge=o.arrayMerge||c,o.isMergeableObject=o.isMergeableObject||e,o.cloneUnlessOtherwiseSpecified=l;var i=Array.isArray(n);return i===Array.isArray(a)?i?o.arrayMerge(a,n,o):t(a,n,o):l(n,o);}r.all=function(a,e){if(!Array.isArray(a))throw new Error("first argument should be an array");return a.reduce(function(a,n){return r(a,n,e);},{});};var s=r;a.exports=s;},110:(a,e,n)=>{"use strict";var l=n(309),c={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},t={};function r(a){return l.isMemo(a)?i:t[a.$$typeof]||c;}t[l.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},t[l.Memo]=i;var s=Object.defineProperty,m=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,p=Object.prototype;a.exports=function a(e,n,l){if("string"!==typeof n){if(p){var c=u(n);c&&c!==p&&a(e,c,l);}var i=m(n);f&&(i=i.concat(f(n)));for(var t=r(e),h=r(n),_=0;_{"use strict";var n="function"===typeof Symbol&&Symbol.for,l=n?Symbol.for("react.element"):60103,c=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,t=n?Symbol.for("react.profiler"):60114,r=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,m=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,u=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,_=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,k=n?Symbol.for("react.responder"):60118,v=n?Symbol.for("react.scope"):60119;function y(a){if("object"===typeof a&&null!==a){var e=a.$$typeof;switch(e){case l:switch(a=a.type){case m:case f:case o:case t:case i:case u:return a;default:switch(a=a&&a.$$typeof){case s:case d:case _:case h:case r:return a;default:return e;}}case c:return e;}}}function z(a){return y(a)===f;}e.AsyncMode=m,e.ConcurrentMode=f,e.ContextConsumer=s,e.ContextProvider=r,e.Element=l,e.ForwardRef=d,e.Fragment=o,e.Lazy=_,e.Memo=h,e.Portal=c,e.Profiler=t,e.StrictMode=i,e.Suspense=u,e.isAsyncMode=function(a){return z(a)||y(a)===m;},e.isConcurrentMode=z,e.isContextConsumer=function(a){return y(a)===s;},e.isContextProvider=function(a){return y(a)===r;},e.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===l;},e.isForwardRef=function(a){return y(a)===d;},e.isFragment=function(a){return y(a)===o;},e.isLazy=function(a){return y(a)===_;},e.isMemo=function(a){return y(a)===h;},e.isPortal=function(a){return y(a)===c;},e.isProfiler=function(a){return y(a)===t;},e.isStrictMode=function(a){return y(a)===i;},e.isSuspense=function(a){return y(a)===u;},e.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===o||a===f||a===t||a===i||a===u||a===p||"object"===typeof a&&null!==a&&(a.$$typeof===_||a.$$typeof===h||a.$$typeof===r||a.$$typeof===s||a.$$typeof===d||a.$$typeof===b||a.$$typeof===k||a.$$typeof===v||a.$$typeof===g);},e.typeOf=y;},309:(a,e,n)=>{"use strict";a.exports=n(746);},25:function(a,e){var n,l,c;l=[],n=function a(){"use strict";var e="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{},n=!e.document&&!!e.postMessage,l=e.IS_PAPA_WORKER||!1,c={},o=0,i={parse:function(n,l){var t=(l=l||{}).dynamicTyping||!1;if(y(t)&&(l.dynamicTypingFunction=t,t={}),l.dynamicTyping=t,l.transform=!!y(l.transform)&&l.transform,l.worker&&i.WORKERS_SUPPORTED){var r=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,l,t=(n=e.URL||e.webkitURL||null,l=a.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",l,")();"],{type:"text/javascript"})))),r=new e.Worker(t);return r.onmessage=_,r.id=o++,c[r.id]=r;}();return r.userStep=l.step,r.userChunk=l.chunk,r.userComplete=l.complete,r.userError=l.error,l.step=y(l.step),l.chunk=y(l.chunk),l.complete=y(l.complete),l.error=y(l.error),delete l.worker,void r.postMessage({input:n,config:l,workerId:r.id});}var u=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(a){return 65279===a.charCodeAt(0)?a.slice(1):a;}(n),u=l.download?new s(l):new f(l)):!0===n.readable&&y(n.read)&&y(n.on)?u=new d(l):(e.File&&n instanceof File||n instanceof Object)&&(u=new m(l)),u.stream(n);},unparse:function(a,e){var n=!1,l=!0,c=",",o="\r\n",t='"',r=t+t,s=!1,m=null,f=!1;!function(){if("object"==typeof e){if("string"!=typeof e.delimiter||i.BAD_DELIMITERS.filter(function(a){return-1!==e.delimiter.indexOf(a);}).length||(c=e.delimiter),("boolean"==typeof e.quotes||"function"==typeof e.quotes||Array.isArray(e.quotes))&&(n=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(s=e.skipEmptyLines),"string"==typeof e.newline&&(o=e.newline),"string"==typeof e.quoteChar&&(t=e.quoteChar),"boolean"==typeof e.header&&(l=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");m=e.columns;}void 0!==e.escapeChar&&(r=e.escapeChar+t),("boolean"==typeof e.escapeFormulae||e.escapeFormulae instanceof RegExp)&&(f=e.escapeFormulae instanceof RegExp?e.escapeFormulae:/^[=+\-@\t\r].*$/);}}();var d=new RegExp(p(t),"g");if("string"==typeof a&&(a=JSON.parse(a)),Array.isArray(a)){if(!a.length||Array.isArray(a[0]))return u(null,a,s);if("object"==typeof a[0])return u(m||Object.keys(a[0]),a,s);}else if("object"==typeof a)return"string"==typeof a.data&&(a.data=JSON.parse(a.data)),Array.isArray(a.data)&&(a.fields||(a.fields=a.meta&&a.meta.fields||m),a.fields||(a.fields=Array.isArray(a.data[0])?a.fields:"object"==typeof a.data[0]?Object.keys(a.data[0]):[]),Array.isArray(a.data[0])||"object"==typeof a.data[0]||(a.data=[a.data])),u(a.fields||[],a.data||[],s);throw new Error("Unable to serialize unrecognized input");function u(a,e,n){var i="";"string"==typeof a&&(a=JSON.parse(a)),"string"==typeof e&&(e=JSON.parse(e));var t=Array.isArray(a)&&0=this._config.preview;if(l)e.postMessage({results:t,workerId:i.WORKER_ID,finished:s});else if(y(this._config.chunk)&&!n){if(this._config.chunk(t,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);t=void 0,this._completeResults=void 0;}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(t.data),this._completeResults.errors=this._completeResults.errors.concat(t.errors),this._completeResults.meta=t.meta),this._completed||!s||!y(this._config.complete)||t&&t.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),s||t&&t.meta.paused||this._nextChunk(),t;}this._halted=!0;},this._sendError=function(a){y(this._config.error)?this._config.error(a):l&&this._config.error&&e.postMessage({workerId:i.WORKER_ID,error:a,finished:!1});};}function s(a){var e;(a=a||{}).chunkSize||(a.chunkSize=i.RemoteChunkSize),r.call(this,a),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded();}:function(){this._readChunk();},this.stream=function(a){this._input=a,this._nextChunk();},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest(),this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),n||(e.onload=v(this._chunkLoaded,this),e.onerror=v(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var a=this._config.downloadRequestHeaders;for(var l in a)e.setRequestHeader(l,a[l]);}if(this._config.chunkSize){var c=this._start+this._config.chunkSize-1;e.setRequestHeader("Range","bytes="+this._start+"-"+c);}try{e.send(this._config.downloadRequestBody);}catch(a){this._chunkError(a.message);}n&&0===e.status&&this._chunkError();}},this._chunkLoaded=function(){4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:e.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(a){var e=a.getResponseHeader("Content-Range");return null===e?-1:parseInt(e.substring(e.lastIndexOf("/")+1));}(e),this.parseChunk(e.responseText)));},this._chunkError=function(a){var n=e.statusText||a;this._sendError(new Error(n));};}function m(a){var e,n;(a=a||{}).chunkSize||(a.chunkSize=i.LocalChunkSize),r.call(this,a);var l="undefined"!=typeof FileReader;this.stream=function(a){this._input=a,n=a.slice||a.webkitSlice||a.mozSlice,l?((e=new FileReader()).onload=v(this._chunkLoaded,this),e.onerror=v(this._chunkError,this)):e=new FileReaderSync(),this._nextChunk();},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(a.target.result);},this._chunkError=function(){this._sendError(e.error);};}function f(a){var e;r.call(this,a=a||{}),this.stream=function(a){return e=a,this._nextChunk();},this._nextChunk=function(){if(!this._finished){var a,n=this._config.chunkSize;return n?(a=e.substring(0,n),e=e.substring(n)):(a=e,e=""),this._finished=!e,this.parseChunk(a);}};}function d(a){r.call(this,a=a||{});var e=[],n=!0,l=!1;this.pause=function(){r.prototype.pause.apply(this,arguments),this._input.pause();},this.resume=function(){r.prototype.resume.apply(this,arguments),this._input.resume();},this.stream=function(a){this._input=a,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError);},this._checkIsFinished=function(){l&&1===e.length&&(this._finished=!0);},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):n=!0;},this._streamData=v(function(a){try{e.push("string"==typeof a?a:a.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(e.shift()));}catch(a){this._streamError(a);}},this),this._streamError=v(function(a){this._streamCleanUp(),this._sendError(a);},this),this._streamEnd=v(function(){this._streamCleanUp(),l=!0,this._streamData("");},this),this._streamCleanUp=v(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError);},this);}function u(a){var e,n,l,c=Math.pow(2,53),o=-c,t=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,r=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,s=this,m=0,f=0,d=!1,u=!1,_=[],g={data:[],errors:[],meta:{}};if(y(a.step)){var b=a.step;a.step=function(e){if(g=e,w())z();else{if(z(),0===g.data.length)return;m+=e.data.length,a.preview&&m>a.preview?n.abort():(g.data=g.data[0],b(g,s));}};}function v(e){return"greedy"===a.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length;}function z(){return g&&l&&(x("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),l=!1),a.skipEmptyLines&&(g.data=g.data.filter(function(a){return!v(a);})),w()&&function(){if(g)if(Array.isArray(g.data[0])){for(var e=0;w()&&e=_.length?"__parsed_extra":_[l]),a.transform&&(i=a.transform(i,o)),i=M(o,i),"__parsed_extra"===o?(c[o]=c[o]||[],c[o].push(i)):c[o]=i;}return a.header&&(l>_.length?x("FieldMismatch","TooManyFields","Too many fields: expected "+_.length+" fields but parsed "+l,f+n):l<_.length&&x("FieldMismatch","TooFewFields","Too few fields: expected "+_.length+" fields but parsed "+l,f+n)),c;}var n=1;return!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(e),n=g.data.length):g.data=e(g.data,0),a.header&&g.meta&&(g.meta.fields=_),f+=n,g;}();}function w(){return a.header&&0===_.length;}function M(e,n){return l=e,a.dynamicTypingFunction&&void 0===a.dynamicTyping[l]&&(a.dynamicTyping[l]=a.dynamicTypingFunction(l)),!0===(a.dynamicTyping[l]||a.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(a){if(t.test(a)){var e=parseFloat(a);if(o=l.length/2?"\r\n":"\r";}(c,r)),l=!1,a.delimiter)y(a.delimiter)&&(a.delimiter=a.delimiter(c),g.meta.delimiter=a.delimiter);else{var s=function(e,n,l,c,o){var t,r,s,m;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var f=0;f=t)return W(!0);}}else for(O=m,m++;;){if(-1===(O=i.indexOf(e,O+1)))return u||z.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:v.length,index:m}),U();if(O===h-1)return U(i.substring(m,O).replace(G,e));if(e!==s||i[O+1]!==s){if(e===s||0===O||i[O-1]!==s){-1!==I&&I=t)return W(!0);break;}z.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:v.length,index:m}),O++;}}else O++;}return U();function K(a){v.push(a),M=m;}function H(a){var e=0;if(-1!==a){var n=i.substring(O+1,a);n&&""===n.trim()&&(e=n.length);}return e;}function U(a){return u||(void 0===a&&(a=i.substring(m)),w.push(a),m=h,K(w),k&&Z()),W();}function V(a){m=a,K(w),w=[],j=i.indexOf(l,m);}function W(a){return{data:v,errors:z,meta:{delimiter:n,linebreak:l,aborted:f,truncated:!!a,cursor:M+(d||0)}};}function Z(){o(W()),v=[],z=[];}},this.abort=function(){f=!0;},this.getCharIndex=function(){return m;};}function _(a){var e=a.data,n=c[e.workerId],l=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var o={abort:function(){l=!0,g(e.workerId,{data:[],errors:[],meta:{aborted:!0}});},pause:b,resume:b};if(y(n.userStep)){for(var i=0;i{"use strict";var l=n(47);function c(){}function o(){}o.resetWarningCache=c,a.exports=function(){function a(a,e,n,c,o,i){if(i!==l){var t=new 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 t.name="Invariant Violation",t;}}function e(){return a;}a.isRequired=a;var n={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:e,element:a,elementType:a,instanceOf:e,node:a,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:c};return n.PropTypes=n,n;};},7:(a,e,n)=>{a.exports=n(888)();},47:a=>{"use strict";a.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},463:(a,e,n)=>{"use strict";var l=n(791),c=n(296);function o(a){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+a,n=1;n