PageSourceSearch

https://ontheroofs.com/assets/MissionsPage-CXWfVBWo.js

js ontheroofs.com collected 2026-10-02 11:49:16 UTC 134,223 bytes, 2 lines download raw bytes

1import{g as ka,r as L,R as rt,u as Ra,a as Pa,j as _,H as qa,m as pt,P as Ta,A as li,X as co,C as za}from"./index-BXBmDczd.js";import{C as Oa}from"./chevron-left-5xwpZ-0f.js";import{M as Ia}from"./map-pin-CyrBUsLE.js";import{A as La}from"./arrow-right-DV7mRgXV.js";import{E as Da}from"./external-link-eLsBXoC1.js";var Ln={exports:{}},Dn,ci;function $a(){if(ci)return Dn;ci=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Dn=t,Dn}var $n,fi;function Fa(){if(fi)return $n;fi=1;var t=$a();function e(){}function n(){}return n.resetWarningCache=e,$n=function(){function r(a,s,l,c,u,f){if(f!==t){var h=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 h.name="Invariant Violation",h}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:e};return o.PropTypes=o,o},$n}var hi;function Ua(){return hi||(hi=1,Ln.exports=Fa()()),Ln.exports}var Ha=Ua();const N=ka(Ha);class at{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const n=this._partials;let r=0;for(let i=0;i<this._n&&i<32;i++){const o=n[i],a=e+o,s=Math.abs(e)<Math.abs(o)?e-(a-o):o-(a-e);s&&(n[r++]=s),e=a}return n[r]=e,this._n=r+1,this}valueOf(){const e=this._partials;let n=this._n,r,i,o,a=0;if(n>0){for(a=e[--n];n>0&&(r=a,i=e[--n],a=r+i,o=i-(a-r),!o););n>0&&(o<0&&e[n-1]<0||o>0&&e[n-1]>0)&&(i=o*2,r=a+i,i==r-a&&(a=r))}return a}}function*Ba(t){for(const e of t)yield*e}function fo(t){return Array.from(Ba(t))}function Jt(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(i);++r<i;)o[r]=t+r*n;return o}var T=1e-6,Ce=1e-12,H=Math.PI,et=H/2,rn=H/4,ct=H*2,W=180/H,O=H/180,B=Math.abs,le=Math.atan,ft=Math.atan2,q=Math.cos,Fe=Math.ceil,ho=Math.exp,Yn=Math.hypot,on=Math.log,Fn=Math.pow,j=Math.sin,St=Math.sign||function(t){return t>0?1:t<0?-1:0},it=Math.sqrt,kr=Math.tan;function po(t){return t>1?0:t<-1?H:Math.acos(t)}function ht(t){return t>1?et:t<-1?-et:Math.asin(t)}function pi(t){return(t=j(t/2))*t}function J(){}function an(t,e){t&&gi.hasOwnProperty(t.type)&&gi[t.type](t,e)}var di={Feature:function(t,e){an(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)an(n[r].geometry,e)}},gi={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){Vn(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Vn(n[r],e,0)},Polygon:function(t,e){mi(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)mi(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)an(n[r],e)}};function Vn(t,e,n){var r=-1,i=t.length-n,o;for(e.lineStart();++r<i;)o=t[r],e.point(o[0],o[1],o[2]);e.lineEnd()}function mi(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Vn(t[n],e,1);e.polygonEnd()}function Ct(t,e){t&&di.hasOwnProperty(t.type)?di[t.type](t,e):an(t,e)}var sn=new at,un=new at,go,mo,Jn,tr,er,qt={point:J,lineStart:J,lineEnd:J,polygonStart:function(){sn=new at,qt.lineStart=Ga,qt.lineEnd=Ka},polygonEnd:function(){var t=+sn;un.add(t<0?ct+t:t),this.lineStart=this.lineEnd=this.point=J},sphere:function(){un.add(ct)}};function Ga(){qt.point=Za}function Ka(){vo(go,mo)}function Za(t,e){qt.point=vo,go=t,mo=e,t*=O,e*=O,Jn=t,tr=q(e=e/2+rn),er=j(e)}function vo(t,e){t*=O,e*=O,e=e/2+rn;var n=t-Jn,r=n>=0?1:-1,i=r*n,o=q(e),a=j(e),s=er*a,l=tr*o+s*q(i),c=s*r*j(i);sn.add(ft(c,l)),Jn=t,tr=o,er=a}function Qa(t){return un=new at,Ct(t,qt),un*2}function ln(t){return[ft(t[1],t[0]),ht(t[2])]}function Wt(t){var e=t[0],n=t[1],r=q(n);return[r*q(e),r*j(e),j(n)]}function Ue(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function ie(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Un(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}
vendor: 5,974 bytes, line 1
1function He(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function cn(t){var e=it(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var V,dt,tt,xt,Qt,yo,wo,ne,Ae,Bt,Ft,It={point:nr,lineStart:vi,lineEnd:yi,polygonStart:function(){It.point=Ao,It.lineStart=Wa,It.lineEnd=Xa,Ae=new at,qt.polygonStart()},polygonEnd:function(){qt.polygonEnd(),It.point=nr,It.lineStart=vi,It.lineEnd=yi,sn<0?(V=-(tt=180),dt=-(xt=90)):Ae>T?xt=90:Ae<-T&&(dt=-90),Ft[0]=V,Ft[1]=tt},sphere:function(){V=-(tt=180),dt=-(xt=90)}};function nr(t,e){Bt.push(Ft=[V=t,tt=t]),e<dt&&(dt=e),e>xt&&(xt=e)}function xo(t,e){var n=Wt([t*O,e*O]);if(ne){var r=ie(ne,n),i=[r[1],-r[0],0],o=ie(i,r);cn(o),o=ln(o);var a=t-Qt,s=a>0?1:-1,l=o[0]*W*s,c,u=B(a)>180;u^(s*Qt<l&&l<s*t)?(c=o[1]*W,c>xt&&(xt=c)):(l=(l+360)%360-180,u^(s*Qt<l&&l<s*t)?(c=-o[1]*W,c<dt&&(dt=c)):(e<dt&&(dt=e),e>xt&&(xt=e))),u?t<Qt?wt(V,t)>wt(V,tt)&&(tt=t):wt(t,tt)>wt(V,tt)&&(V=t):tt>=V?(t<V&&(V=t),t>tt&&(tt=t)):t>Qt?wt(V,t)>wt(V,tt)&&(tt=t):wt(t,tt)>wt(V,tt)&&(V=t)}else Bt.push(Ft=[V=t,tt=t]);e<dt&&(dt=e),e>xt&&(xt=e),ne=n,Qt=t}function vi(){It.point=xo}function yi(){Ft[0]=V,Ft[1]=tt,It.point=nr,ne=null}function Ao(t,e){if(ne){var n=t-Qt;Ae.add(B(n)>180?n+(n>0?360:-360):n)}else yo=t,wo=e;qt.point(t,e),xo(t,e)}function Wa(){qt.lineStart()}function Xa(){Ao(yo,wo),qt.lineEnd(),B(Ae)>T&&(V=-(tt=180)),Ft[0]=V,Ft[1]=tt,ne=null}function wt(t,e){return(e-=t)<0?e+360:e}function Ya(t,e){return t[0]-e[0]}function wi(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}function Va(t){var e,n,r,i,o,a,s;if(xt=tt=-(V=dt=1/0),Bt=[],Ct(t,It),n=Bt.length){for(Bt.sort(Ya),e=1,r=Bt[0],o=[r];e<n;++e)i=Bt[e],wi(r,i[0])||wi(r,i[1])?(wt(r[0],i[1])>wt(r[0],r[1])&&(r[1]=i[1]),wt(i[0],r[1])>wt(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=o.length-1,e=0,r=o[n];e<=n;r=i,++e)i=o[e],(s=wt(r[1],i[0]))>a&&(a=s,V=i[0],tt=r[1])}return Bt=Ft=null,V===1/0||dt===1/0?[[NaN,NaN],[NaN,NaN]]:[[V,dt],[tt,xt]]}var pe,fn,hn,pn,dn,gn,mn,vn,rr,ir,or,Eo,bo,st,ut,lt,Nt={sphere:J,point:Rr,lineStart:xi,lineEnd:Ai,polygonStart:function(){Nt.lineStart=es,Nt.lineEnd=ns},polygonEnd:function(){Nt.lineStart=xi,Nt.lineEnd=Ai}};function Rr(t,e){t*=O,e*=O;var n=q(e);ze(n*q(t),n*j(t),j(e))}function ze(t,e,n){++pe,hn+=(t-hn)/pe,pn+=(e-pn)/pe,dn+=(n-dn)/pe}function xi(){Nt.point=Ja}function Ja(t,e){t*=O,e*=O;var n=q(e);st=n*q(t),ut=n*j(t),lt=j(e),Nt.point=ts,ze(st,ut,lt)}function ts(t,e){t*=O,e*=O;var n=q(e),r=n*q(t),i=n*j(t),o=j(e),a=ft(it((a=ut*o-lt*i)*a+(a=lt*r-st*o)*a+(a=st*i-ut*r)*a),st*r+ut*i+lt*o);fn+=a,gn+=a*(st+(st=r)),mn+=a*(ut+(ut=i)),vn+=a*(lt+(lt=o)),ze(st,ut,lt)}function Ai(){Nt.point=Rr}function es(){Nt.point=rs}function ns(){So(Eo,bo),Nt.point=Rr}function rs(t,e){Eo=t,bo=e,t*=O,e*=O,Nt.point=So;var n=q(e);st=n*q(t),ut=n*j(t),lt=j(e),ze(st,ut,lt)}function So(t,e){t*=O,e*=O;var n=q(e),r=n*q(t),i=n*j(t),o=j(e),a=ut*o-lt*i,s=lt*r-st*o,l=st*i-ut*r,c=Yn(a,s,l),u=ht(c),f=c&&-u/c;rr.add(f*a),ir.add(f*s),or.add(f*l),fn+=u,gn+=u*(st+(st=r)),mn+=u*(ut+(ut=i)),vn+=u*(lt+(lt=o)),ze(st,ut,lt)}function is(t){pe=fn=hn=pn=dn=gn=mn=vn=0,rr=new at,ir=new at,or=new at,Ct(t,Nt);var e=+rr,n=+ir,r=+or,i=Yn(e,n,r);return i<Ce&&(e=gn,n=mn,r=vn,fn<T&&(e=hn,n=pn,r=dn),i=Yn(e,n,r),i<Ce)?[NaN,NaN]:[ft(n,e)*W,ht(r/i)*W]}function Vt(t){return function(){return t}}function ar(t,e){function n(r,i){return r=t(r,i),e(r[0],r[1])}return t.invert&&e.invert&&(n.invert=function(r,i){return r=e.invert(r,i),r&&t.invert(r[0],r[1])}),n}function sr(t,e){return[B(t)>H?t+Math.round(-t/ct)*ct:t,e]}sr.invert=sr;function Pr(t,e,n){return(t%=ct)?e||n?ar(bi(t),Si(e,n)):bi(t):e||n?Si(e,n):sr}function Ei(t){return function(e,n){return e+=t,[e>H?e-ct:e<-H?e+ct:e,n]}}function bi(t){var e=Ei(t);return e.invert=Ei(-t),e}function Si(t,e){var n=q(t),r=j(t),i=q(e),o=j(e);function a(s,l){var c=q(l),u=q(s)*c,f=j(s)*c,h=j(l),p=h*n+u*r;return[ft(f*i-p*o,u*n-h*r),ht(p*i+f*o)]}return a.invert=function(s,l){var c=q(l),u=q(s)*c,f=j(s)*c,h=j(l),p=h*i-f*o;return[ft(f*i+h*o,u*n+p*r),ht(p*n-u*r)]},a}function _o(t){t=Pr(t[0]*O,t[1]*O,t.length>2?t[2]*O:0);function e(n){return n=t(n[0]*O,n[1]*O),n[0]*=W,n[1]*=W,n}return e.invert=function(n){return n=t.invert(n[0]*O,n[1]*O),n[0]*=W,n[1]*=W,n},e}function Co(t,e,n,r,i,o){if(n){var a=q(e),s=j(e),l=r*n;i==null?(i=e+r*ct,o=e-l/2):(i=_i(a,i),o=_i(a,o),(r>0?i<o:i>o)&&(i+=r*ct));for(var c,u=i;r>0?u>o:u<o;u-=l)c=ln([a,-s*q(u),-s*j(u)]),t.point(c[0],c[1])}}function _i(t,e){e=Wt(e),e[0]-=t,cn(e);var n=po(-e[1]);return((-e[2]<0?-n:n)+ct-T)%ct}function os(){var t=Vt([0,0]),e=Vt(90),n=Vt(6),r,i,o={point:a};function a(l,c){r.push(l=i(l,c)),l[0]*=W,l[1]*=W}function s(){var l=t.apply(this,arguments),c=e.apply(this,arguments)*O,u=n.apply(this,arguments)*O;return r=[],i=Pr(-l[0]*O,-l[1]*O,0).invert,Co(o,c,u,1),l={type:"Polygon",coordinates:[r]},r=i=null,l}return s.center=function(l){return arguments.length?(t=typeof l=="function"?l:Vt([+l[0],+l[1]]),s):t},s.radius=function(l){return arguments.length?(e=typeof l=="function"?l:Vt(+l),s):e},s.precision=function(l){return arguments.length?(n=typeof l=="function"?l:Vt(+l),s):n},s}function No(){var t=[],e;return{point:function(n,r,i){e.push([n,r,i])},lineStart:function(){t.push(e=[])},lineEnd:J,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function Xe(t,e){return B(t[0]-e[0])<T&&B(t[1]-e[1])<T}function Be(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Mo(t,e,n,r,i){var o=[],a=[],s,l;if(t.forEach(function(d){if(!((A=d.length-1)<=0)){var A,b=d[0],x=d[A],S;if(Xe(b,x)){if(!b[2]&&!x[2]){for(i.lineStart(),s=0;s<A;++s)i.point((b=d[s])[0],b[1]);i.lineEnd();return}x[0]+=2*T}o.push(S=new Be(b,d,null,!0)),a.push(S.o=new Be(b,null,S,!1)),o.push(S=new Be(x,d,null,!1)),a.push(S.o=new Be(x,null,S,!0))}}),!!o.length){for(a.sort(e),Ci(o),Ci(a),s=0,l=a.length;s<l;++s)a[s].e=n=!n;for(var c=o[0],u,f;;){for(var h=c,p=!0;h.v;)if((h=h.n)===c)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(s=0,l=u.length;s<l;
vendor: 3,894 bytes, line 1
1++s)i.point((f=u[s])[0],f[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(u=h.p.z,s=u.length-1;s>=0;--s)i.point((f=u[s])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,u=h.z,p=!p}while(!h.v);i.lineEnd()}}}function Ci(t){if(e=t.length){for(var e,n=0,r=t[0],i;++n<e;)r.n=i=t[n],i.p=r,r=i;r.n=i=t[0],i.p=r}}function Hn(t){return B(t[0])<=H?t[0]:St(t[0])*((B(t[0])+H)%ct-H)}function jo(t,e){var n=Hn(e),r=e[1],i=j(r),o=[j(n),-q(n),0],a=0,s=0,l=new at;i===1?r=et+T:i===-1&&(r=-et-T);for(var c=0,u=t.length;c<u;++c)if(h=(f=t[c]).length)for(var f,h,p=f[h-1],d=Hn(p),A=p[1]/2+rn,b=j(A),x=q(A),S=0;S<h;++S,d=g,b=C,x=R,p=y){var y=f[S],g=Hn(y),E=y[1]/2+rn,C=j(E),R=q(E),z=g-d,$=z>=0?1:-1,F=$*z,I=F>H,G=b*C;if(l.add(ft(G*$*j(F),x*R+G*q(F))),a+=I?z+$*ct:z,I^d>=n^g>=n){var Z=ie(Wt(p),Wt(y));cn(Z);var m=ie(o,Z);cn(m);var v=(I^z>=0?-1:1)*ht(m[2]);(r>v||r===v&&(Z[0]||Z[1]))&&(s+=I^z>=0?1:-1)}}return(a<-T||a<T&&l<-Ce)^s&1}function ko(t,e,n,r){return function(i){var o=e(i),a=No(),s=e(a),l=!1,c,u,f,h={point:p,lineStart:A,lineEnd:b,polygonStart:function(){h.point=x,h.lineStart=S,h.lineEnd=y,u=[],c=[]},polygonEnd:function(){h.point=p,h.lineStart=A,h.lineEnd=b,u=fo(u);var g=jo(c,r);u.length?(l||(i.polygonStart(),l=!0),Mo(u,ss,g,n,i)):g&&(l||(i.polygonStart(),l=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),u=c=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(g,E){t(g,E)&&i.point(g,E)}function d(g,E){o.point(g,E)}function A(){h.point=d,o.lineStart()}function b(){h.point=p,o.lineEnd()}function x(g,E){f.push([g,E]),s.point(g,E)}function S(){s.lineStart(),f=[]}function y(){x(f[0][0],f[0][1]),s.lineEnd();var g=s.clean(),E=a.result(),C,R=E.length,z,$,F;if(f.pop(),c.push(f),f=null,!!R){if(g&1){if($=E[0],(z=$.length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),C=0;C<z;++C)i.point((F=$[C])[0],F[1]);i.lineEnd()}return}R>1&&g&2&&E.push(E.pop().concat(E.shift())),u.push(E.filter(as))}}return h}}function as(t){return t.length>1}function ss(t,e){return((t=t.x)[0]<0?t[1]-et-T:et-t[1])-((e=e.x)[0]<0?e[1]-et-T:et-e[1])}const ur=ko(function(){return!0},us,cs,[-H,-et]);function us(t){var e=NaN,n=NaN,r=NaN,i;return{lineStart:function(){t.lineStart(),i=1},point:function(o,a){var s=o>0?H:-H,l=B(o-e);B(l-H)<T?(t.point(e,n=(n+a)/2>0?et:-et),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(s,n),t.point(o,n),i=0):r!==s&&l>=H&&(B(e-r)<T&&(e-=r*T),B(o-s)<T&&(o-=s*T),n=ls(e,n,o,a),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(s,n),i=0),t.point(e=o,n=a),r=s},lineEnd:function(){t.lineEnd(),e=n=NaN},clean:function(){return 2-i}}}function ls(t,e,n,r){var i,o,a=j(t-n);return B(a)>T?le((j(e)*(o=q(r))*j(n)-j(r)*(i=q(e))*j(t))/(i*o*a)):(e+r)/2}function cs(t,e,n,r){var i;if(t==null)i=n*et,r.point(-H,i),r.point(0,i),r.point(H,i),r.point(H,0),r.point(H,-i),r.point(0,-i),r.point(-H,-i),r.point(-H,0),r.point(-H,i);else if(B(t[0]-e[0])>T){var o=t[0]<e[0]?H:-H;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}function Ro(t){var e=q(t),n=6*O,r=e>0,i=B(e)>T;function o(u,f,h,p){Co(p,t,n,h,u,f)}function a(u,f){return q(u)*q(f)>e}function s(u){var f,h,p,d,A;return{lineStart:function(){d=p=!1,A=1},point:function(b,x){var S=[b,x],y,g=a(b,x),E=r?g?0:c(b,x):g?c(b+(b<0?H:-H),x):0;if(!f&&(d=p=g)&&u.lineStart(),g!==p&&(y=l(f,S),(!y||Xe(f,y)||Xe(S,y))&&(S[2]=1)),g!==p)A=0,g?(u.lineStart(),y=l(S,f),u.point(y[0],y[1])):(y=l(f,S),u.point(y[0],y[1],2),u.lineEnd()),f=y;else if(i&&f&&r^g){var C;!(E&h)&&(C=l(S,f,!0))&&(A=0,r?(u.lineStart(),u.point(C[0][0],C[0][1]),u.point(C[1][0],C[1][1]),u.lineEnd()):(u.point(C[1][0],C[1][1]),u.lineEnd(),u.lineStart(),u.point(C[0][0],C[0][1],3)))}g&&(!f||!Xe(f,S))&&u.point(S[0],S[1]),f=S,p=g,h=E},lineEnd:function(){p&&u.lineEnd(),f=null},clean:function(){return A|(d&&p)<<1}}}function l(u,f,h){var p=Wt(u),d=Wt(f),A=[1,0,0],b=ie(p,d),x=Ue(b,b),S=b[0],y=x-S*S;if(!y)return!h&&u;
vendor: 6,465 bytes, line 1
1var g=e*x/y,E=-e*S/y,C=ie(A,b),R=He(A,g),z=He(b,E);Un(R,z);var $=C,F=Ue(R,$),I=Ue($,$),G=F*F-I*(Ue(R,R)-1);if(!(G<0)){var Z=it(G),m=He($,(-F-Z)/I);if(Un(m,R),m=ln(m),!h)return m;var v=u[0],w=f[0],M=u[1],P=f[1],k;w<v&&(k=v,v=w,w=k);var D=w-v,U=B(D-H)<T,K=U||D<T;if(!U&&P<M&&(k=M,M=P,P=k),K?U?M+P>0^m[1]<(B(m[0]-v)<T?M:P):M<=m[1]&&m[1]<=P:D>H^(v<=m[0]&&m[0]<=w)){var X=He($,(-F+Z)/I);return Un(X,R),[m,ln(X)]}}}function c(u,f){var h=r?t:H-t,p=0;return u<-h?p|=1:u>h&&(p|=2),f<-h?p|=4:f>h&&(p|=8),p}return ko(a,s,o,r?[0,-t]:[-H,t-H])}function fs(t,e,n,r,i,o){var a=t[0],s=t[1],l=e[0],c=e[1],u=0,f=1,h=l-a,p=c-s,d;if(d=n-a,!(!h&&d>0)){if(d/=h,h<0){if(d<u)return;d<f&&(f=d)}else if(h>0){if(d>f)return;d>u&&(u=d)}if(d=i-a,!(!h&&d<0)){if(d/=h,h<0){if(d>f)return;d>u&&(u=d)}else if(h>0){if(d<u)return;d<f&&(f=d)}if(d=r-s,!(!p&&d>0)){if(d/=p,p<0){if(d<u)return;d<f&&(f=d)}else if(p>0){if(d>f)return;d>u&&(u=d)}if(d=o-s,!(!p&&d<0)){if(d/=p,p<0){if(d>f)return;d>u&&(u=d)}else if(p>0){if(d<u)return;d<f&&(f=d)}return u>0&&(t[0]=a+u*h,t[1]=s+u*p),f<1&&(e[0]=a+f*h,e[1]=s+f*p),!0}}}}}var de=1e9,Ge=-de;function qn(t,e,n,r){function i(c,u){return t<=c&&c<=n&&e<=u&&u<=r}function o(c,u,f,h){var p=0,d=0;if(c==null||(p=a(c,f))!==(d=a(u,f))||l(c,u)<0^f>0)do h.point(p===0||p===3?t:n,p>1?r:e);while((p=(p+f+4)%4)!==d);else h.point(u[0],u[1])}function a(c,u){return B(c[0]-t)<T?u>0?0:3:B(c[0]-n)<T?u>0?2:1:B(c[1]-e)<T?u>0?1:0:u>0?3:2}function s(c,u){return l(c.x,u.x)}function l(c,u){var f=a(c,1),h=a(u,1);return f!==h?f-h:f===0?u[1]-c[1]:f===1?c[0]-u[0]:f===2?c[1]-u[1]:u[0]-c[0]}return function(c){var u=c,f=No(),h,p,d,A,b,x,S,y,g,E,C,R={point:z,lineStart:G,lineEnd:Z,polygonStart:F,polygonEnd:I};function z(v,w){i(v,w)&&u.point(v,w)}function $(){for(var v=0,w=0,M=p.length;w<M;++w)for(var P=p[w],k=1,D=P.length,U=P[0],K,X,Q=U[0],Y=U[1];k<D;++k)K=Q,X=Y,U=P[k],Q=U[0],Y=U[1],X<=r?Y>r&&(Q-K)*(r-X)>(Y-X)*(t-K)&&++v:Y<=r&&(Q-K)*(r-X)<(Y-X)*(t-K)&&--v;return v}function F(){u=f,h=[],p=[],C=!0}function I(){var v=$(),w=C&&v,M=(h=fo(h)).length;(w||M)&&(c.polygonStart(),w&&(c.lineStart(),o(null,null,1,c),c.lineEnd()),M&&Mo(h,s,v,o,c),c.polygonEnd()),u=c,h=p=d=null}function G(){R.point=m,p&&p.push(d=[]),E=!0,g=!1,S=y=NaN}function Z(){h&&(m(A,b),x&&g&&f.rejoin(),h.push(f.result())),R.point=z,g&&u.lineEnd()}function m(v,w){var M=i(v,w);if(p&&d.push([v,w]),E)A=v,b=w,x=M,E=!1,M&&(u.lineStart(),u.point(v,w));else if(M&&g)u.point(v,w);else{var P=[S=Math.max(Ge,Math.min(de,S)),y=Math.max(Ge,Math.min(de,y))],k=[v=Math.max(Ge,Math.min(de,v)),w=Math.max(Ge,Math.min(de,w))];fs(P,k,t,e,n,r)?(g||(u.lineStart(),u.point(P[0],P[1])),u.point(k[0],k[1]),M||u.lineEnd(),C=!1):M&&(u.lineStart(),u.point(v,w),C=!1)}S=v,y=w,g=M}return R}}function hs(){var t=0,e=0,n=960,r=500,i,o,a;return a={stream:function(s){return i&&o===s?i:i=qn(t,e,n,r)(o=s)},extent:function(s){return arguments.length?(t=+s[0][0],e=+s[0][1],n=+s[1][0],r=+s[1][1],i=o=null,a):[[t,e],[n,r]]}}}var lr,cr,Ye,Ve,oe={sphere:J,point:J,lineStart:ps,lineEnd:J,polygonStart:J,polygonEnd:J};function ps(){oe.point=gs,oe.lineEnd=ds}function ds(){oe.point=oe.lineEnd=J}function gs(t,e){t*=O,e*=O,cr=t,Ye=j(e),Ve=q(e),oe.point=ms}function ms(t,e){t*=O,e*=O;var n=j(e),r=q(e),i=B(t-cr),o=q(i),a=j(i),s=r*a,l=Ve*n-Ye*r*o,c=Ye*n+Ve*r*o;lr.add(ft(it(s*s+l*l),c)),cr=t,Ye=n,Ve=r}function Po(t){return lr=new at,Ct(t,oe),+lr}var fr=[null,null],vs={type:"LineString",coordinates:fr};function yn(t,e){return fr[0]=t,fr[1]=e,Po(vs)}var Ni={Feature:function(t,e){return wn(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(wn(n[r].geometry,e))return!0;return!1}},Mi={Sphere:function(){return!0},Point:function(t,e){return ji(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(ji(n[r],e))return!0;return!1},LineString:function(t,e){return ki(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(ki(n[r],e))return!0;return!1},Polygon:function(t,e){return Ri(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Ri(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(wn(n[r],e))return!0;return!1}};function wn(t,e){return t&&Mi.hasOwnProperty(t.type)?Mi[t.type](t,e):!1}function ji(t,e){return yn(t,e)===0}function ki(t,e){for(var n,r,i,o=0,a=t.length;o<a;o++){if(r=yn(t[o],e),r===0||o>0&&(i=yn(t[o],t[o-1]),i>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<Ce*i))return!0;n=r}return!1}function Ri(t,e){return!!jo(t.map(ys),qo(e))}function ys(t){return t=t.map(qo),t.pop(),t}function qo(t){return[t[0]*O,t[1]*O]}function ws(t,e){return(t&&Ni.hasOwnProperty(t.type)?Ni[t.type]:wn)(t,e)}function Pi(t,e,n){var r=Jt(t,e-T,n).concat(e);return function(i){return r.map(function(o){return[i,o]})}}function qi(t,e,n){var r=Jt(t,e-T,n).concat(e);return function(i){return r.map(function(o){return[o,i]})}}function qr(){var t,e,n,r,i,o,a,s,l=10,c=l,u=90,f=360,h,p,d,A,b=2.5;function x(){return{type:"MultiLineString",coordinates:S()}}function S(){return Jt(Fe(r/u)*u,n,u).map(d).concat(Jt(Fe(s/f)*f,a,f).map(A)).concat(Jt(Fe(e/l)*l,t,l).filter(function(y){return B(y%u)>T}).map(h)).concat(Jt(Fe(o/c)*c,i,c).filter(function(y){return B(y%f)>T}).map(p))}return x.lines=function(){return S().map(function(y){return{type:"LineString",coordinates:y}})},x.outline=function(){return{type:"Polygon",coordinates:[d(r).concat(A(a).slice(1),d(n).reverse().slice(1),A(s).reverse().slice(1))]}},x.extent=function(y){return arguments.length?x.extentMajor(y).extentMinor(y):x.extentMinor()},x.extentMajor=function(y){return arguments.length?(r=+y[0][0],n=+y[1][0],s=+y[0][1],a=+y[1][1],r>n&&(y=r,r=n,n=y),s>a&&(y=s,s=a,a=y),x.precision(b)):[[r,s],[n,a]]},x.extentMinor=function(y){return arguments.length?(e=+y[0][0],t=+y[1][0],o=+y[0][1],i=+y[1][1],e>t&&(y=e,e=t,t=y),o>i&&(y=o,o=i,i=y),x.precision(b)):[[e,o],[t,i]]},x.step=function(y){return arguments.length?x.stepMajor(y).stepMinor(y):x.stepMinor()},x.stepMajor=function(y){return arguments.length?(u=+y[0],f=+y[1],x):[u,f]},x.stepMinor=function(y){return arguments.length?(l=+y[0],c=+y[1],x):[l,c]},x.precision=function(y){return arguments.length?(b=+y,h=Pi(o,i,90),p=qi(e,t,b),d=Pi(s,a,90),A=qi(r,n,b),x):b},x.extentMajor([[-180,-90+T],[180,90-T]]).extentMinor([[-180,-80-T],[180,80+T]])}function xs(){return qr()()}function As(t,e){var n=t[0]*O,r=t[1]*O,i=e[0]*O,o=e[1]*O,a=q(r),s=j(r),l=q(o
vendor: 4,115 bytes, line 1
1),c=j(o),u=a*q(n),f=a*j(n),h=l*q(i),p=l*j(i),d=2*ht(it(pi(o-r)+a*l*pi(i-n))),A=j(d),b=d?function(x){var S=j(x*=d)/A,y=j(d-x)/A,g=y*u+S*h,E=y*f+S*p,C=y*s+S*c;return[ft(E,g)*W,ft(C,it(g*g+E*E))*W]}:function(){return[n*W,r*W]};return b.distance=d,b}const Ne=t=>t;var Bn=new at,hr=new at,To,zo,pr,dr,Lt={point:J,lineStart:J,lineEnd:J,polygonStart:function(){Lt.lineStart=Es,Lt.lineEnd=Ss},polygonEnd:function(){Lt.lineStart=Lt.lineEnd=Lt.point=J,Bn.add(B(hr)),hr=new at},result:function(){var t=Bn/2;return Bn=new at,t}};function Es(){Lt.point=bs}function bs(t,e){Lt.point=Oo,To=pr=t,zo=dr=e}function Oo(t,e){hr.add(dr*t-pr*e),pr=t,dr=e}function Ss(){Oo(To,zo)}var ae=1/0,xn=ae,Me=-ae,An=Me,En={point:_s,lineStart:J,lineEnd:J,polygonStart:J,polygonEnd:J,result:function(){var t=[[ae,xn],[Me,An]];return Me=An=-(xn=ae=1/0),t}};function _s(t,e){t<ae&&(ae=t),t>Me&&(Me=t),e<xn&&(xn=e),e>An&&(An=e)}var gr=0,mr=0,ge=0,bn=0,Sn=0,te=0,vr=0,yr=0,me=0,Io,Lo,jt,kt,bt={point:Xt,lineStart:Ti,lineEnd:zi,polygonStart:function(){bt.lineStart=Ms,bt.lineEnd=js},polygonEnd:function(){bt.point=Xt,bt.lineStart=Ti,bt.lineEnd=zi},result:function(){var t=me?[vr/me,yr/me]:te?[bn/te,Sn/te]:ge?[gr/ge,mr/ge]:[NaN,NaN];return gr=mr=ge=bn=Sn=te=vr=yr=me=0,t}};function Xt(t,e){gr+=t,mr+=e,++ge}function Ti(){bt.point=Cs}function Cs(t,e){bt.point=Ns,Xt(jt=t,kt=e)}function Ns(t,e){var n=t-jt,r=e-kt,i=it(n*n+r*r);bn+=i*(jt+t)/2,Sn+=i*(kt+e)/2,te+=i,Xt(jt=t,kt=e)}function zi(){bt.point=Xt}function Ms(){bt.point=ks}function js(){Do(Io,Lo)}function ks(t,e){bt.point=Do,Xt(Io=jt=t,Lo=kt=e)}function Do(t,e){var n=t-jt,r=e-kt,i=it(n*n+r*r);bn+=i*(jt+t)/2,Sn+=i*(kt+e)/2,te+=i,i=kt*t-jt*e,vr+=i*(jt+t),yr+=i*(kt+e),me+=i*3,Xt(jt=t,kt=e)}function $o(t){this._context=t}$o.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(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:{this._context.moveTo(t,e),this._point=1;break}case 1:{this._context.lineTo(t,e);break}default:{this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,ct);break}}},result:J};var wr=new at,Gn,Fo,Uo,ve,ye,je={point:J,lineStart:function(){je.point=Rs},lineEnd:function(){Gn&&Ho(Fo,Uo),je.point=J},polygonStart:function(){Gn=!0},polygonEnd:function(){Gn=null},result:function(){var t=+wr;return wr=new at,t}};function Rs(t,e){je.point=Ho,Fo=ve=t,Uo=ye=e}function Ho(t,e){ve-=t,ye-=e,wr.add(it(ve*ve+ye*ye)),ve=t,ye=e}function Bo(){this._string=[]}Bo.prototype={_radius:4.5,_circle:Oi(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(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:{this._string.push("M",t,",",e),this._point=1;break}case 1:{this._string.push("L",t,",",e);break}default:{this._circle==null&&(this._circle=Oi(this._radius)),this._string.push("M",t,",",e,this._circle);break}}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}else return null}};function Oi(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Go(t,e){var n=4.5,r,i;function o(a){return a&&(typeof n=="function"&&i.pointRadius(+n.apply(this,arguments)),Ct(a,r(i))),i.result()}return o.area=function(a){return Ct(a,r(Lt)),Lt.result()},o.measure=function(a){return Ct(a,r(je)),je.result()},o.bounds=function(a){return Ct(a,r(En)),En.result()},o.centroid=function(a){return Ct(a,r(bt)),bt.result()},o.projection=function(a){return arguments.length?(r=a==null?(t=null,Ne):(t=a).stream,o):t},o.context=function(a){return arguments.length?(i=a==null?(e=null,new Bo):new $o(e=a),typeof n!="function"&&i.pointRadius(n),o):e},o.pointRadius=function(a){return arguments.length?(n=typeof a=="function"?a:(i.pointRadius(+a),+a),o):n},o.projection(t).context(e)}
vendor: 4,725 bytes, line 1
1function Ps(t){return{stream:Oe(t)}}function Oe(t){return function(e){var n=new xr;for(var r in t)n[r]=t[r];return n.stream=e,n}}function xr(){}xr.prototype={constructor:xr,point:function(t,e){this.stream.point(t,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()}};function Tr(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),r!=null&&t.clipExtent(null),Ct(n,t.stream(En)),e(En.result()),r!=null&&t.clipExtent(r),t}function Tn(t,e,n){return Tr(t,function(r){var i=e[1][0]-e[0][0],o=e[1][1]-e[0][1],a=Math.min(i/(r[1][0]-r[0][0]),o/(r[1][1]-r[0][1])),s=+e[0][0]+(i-a*(r[1][0]+r[0][0]))/2,l=+e[0][1]+(o-a*(r[1][1]+r[0][1]))/2;t.scale(150*a).translate([s,l])},n)}function zr(t,e,n){return Tn(t,[[0,0],e],n)}function Or(t,e,n){return Tr(t,function(r){var i=+e,o=i/(r[1][0]-r[0][0]),a=(i-o*(r[1][0]+r[0][0]))/2,s=-o*r[0][1];t.scale(150*o).translate([a,s])},n)}function Ir(t,e,n){return Tr(t,function(r){var i=+e,o=i/(r[1][1]-r[0][1]),a=-o*r[0][0],s=(i-o*(r[1][1]+r[0][1]))/2;t.scale(150*o).translate([a,s])},n)}var Ii=16,qs=q(30*O);function Li(t,e){return+e?zs(t,e):Ts(t)}function Ts(t){return Oe({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function zs(t,e){function n(r,i,o,a,s,l,c,u,f,h,p,d,A,b){var x=c-r,S=u-i,y=x*x+S*S;if(y>4*e&&A--){var g=a+h,E=s+p,C=l+d,R=it(g*g+E*E+C*C),z=ht(C/=R),$=B(B(C)-1)<T||B(o-f)<T?(o+f)/2:ft(E,g),F=t($,z),I=F[0],G=F[1],Z=I-r,m=G-i,v=S*Z-x*m;(v*v/y>e||B((x*Z+S*m)/y-.5)>.3||a*h+s*p+l*d<qs)&&(n(r,i,o,a,s,l,I,G,$,g/=R,E/=R,C,A,b),b.point(I,G),n(I,G,$,g,E,C,c,u,f,h,p,d,A,b))}}return function(r){var i,o,a,s,l,c,u,f,h,p,d,A,b={point:x,lineStart:S,lineEnd:g,polygonStart:function(){r.polygonStart(),b.lineStart=E},polygonEnd:function(){r.polygonEnd(),b.lineStart=S}};function x(z,$){z=t(z,$),r.point(z[0],z[1])}function S(){f=NaN,b.point=y,r.lineStart()}function y(z,$){var F=Wt([z,$]),I=t(z,$);n(f,h,u,p,d,A,f=I[0],h=I[1],u=z,p=F[0],d=F[1],A=F[2],Ii,r),r.point(f,h)}function g(){b.point=x,r.lineEnd()}function E(){S(),b.point=C,b.lineEnd=R}function C(z,$){y(i=z,$),o=f,a=h,s=p,l=d,c=A,b.point=y}function R(){n(f,h,u,p,d,A,o,a,i,s,l,c,Ii,r),b.lineEnd=g,g()}return b}}var Os=Oe({point:function(t,e){this.stream.point(t*O,e*O)}});function Is(t){return Oe({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}function Ls(t,e,n,r,i){function o(a,s){return a*=r,s*=i,[e+t*a,n-t*s]}return o.invert=function(a,s){return[(a-e)/t*r,(n-s)/t*i]},o}function Di(t,e,n,r,i,o){if(!o)return Ls(t,e,n,r,i);var a=q(o),s=j(o),l=a*t,c=s*t,u=a/t,f=s/t,h=(s*n-a*e)/t,p=(s*e+a*n)/t;function d(A,b){return A*=r,b*=i,[l*A-c*b+e,n-c*A-l*b]}return d.invert=function(A,b){return[r*(u*A-f*b+h),i*(p-f*A-u*b)]},d}function Tt(t){return Lr(function(){return t})()}function Lr(t){var e,n=150,r=480,i=250,o=0,a=0,s=0,l=0,c=0,u,f=0,h=1,p=1,d=null,A=ur,b=null,x,S,y,g=Ne,E=.5,C,R,z,$,F;function I(v){return z(v[0]*O,v[1]*O)}function G(v){return v=z.invert(v[0],v[1]),v&&[v[0]*W,v[1]*W]}I.stream=function(v){return $&&F===v?$:$=Os(Is(u)(A(C(g(F=v)))))},I.preclip=function(v){return arguments.length?(A=v,d=void 0,m()):A},I.postclip=function(v){return arguments.length?(g=v,b=x=S=y=null,m()):g},I.clipAngle=function(v){return arguments.length?(A=+v?Ro(d=v*O):(d=null,ur),m()):d*W},I.clipExtent=function(v){return arguments.length?(g=v==null?(b=x=S=y=null,Ne):qn(b=+v[0][0],x=+v[0][1],S=+v[1][0],y=+v[1][1]),m()):b==null?null:[[b,x],[S,y]]},I.scale=function(v){return arguments.length?(n=+v,Z()):n},I.translate=function(v){return arguments.length?(r=+v[0],i=+v[1],Z()):[r,i]},I.center=function(v){return arguments.length?(o=v[0]%360*O,a=v[1]%360*O,Z()):[o*W,a*W]},I.rotate=function(v){return arguments.length?(s=v[0]%360*O,l=v[1]%360*O,c=v.length>2?v[2]%360*O:0,Z()):[s*W,l*W,c*W]},I.angle=function(v){return arguments.length?(f=v%360*O,Z()):f*W},I.reflectX=function(v){return arguments.length?(h=v?-1:1,Z()):h<0},I.reflectY=function(v){return arguments.length?(p=v?-1:1,Z()):p<0},I.precision=function(v){return arguments.length?(C=Li(R,E=v*v),m()):it(E)},I.fitExtent=function(v,w){return Tn(I,v,w)},I.fitSize=function(v,w){return zr(I,v,w)},I.fitWidth=function(v,w){return Or(I,v,w)},I.fitHeight=function(v,w){return Ir(I,v,w)};function Z(){var v=Di(n,0,0,h,p,f).apply(null,e(o,a)),w=Di(n,r-v[0],i-v[1],h,p,f);return u=Pr(s,l,c),R=ar(e,w),z=ar(u,R),C=Li(R,E),m()}function m(){return $=F=null,I}return function(){return e=t.apply(this,arguments),I.invert=e.invert&&G,Z()}}function Dr(t){var e=0,n=H/3,r=Lr(t),i=r(e,n);return i.parallels=function(o){return arguments.length?r(e=o[0]*O,n=o[1]
vendor: 1,978 bytes, line 1
1*O):[e*W,n*W]},i}function Ds(t){var e=q(t);function n(r,i){return[r*e,j(i)/e]}return n.invert=function(r,i){return[r/e,ht(i*e)]},n}function Ko(t,e){var n=j(t),r=(n+j(e))/2;if(B(r)<T)return Ds(t);var i=1+n*(2*r-n),o=it(i)/r;function a(s,l){var c=it(i-2*r*j(l))/r;return[c*j(s*=r),o-c*q(s)]}return a.invert=function(s,l){var c=o-l,u=ft(s,B(c))*St(c);return c*r<0&&(u-=H*St(s)*St(c)),[u/r,ht((i-(s*s+c*c)*r*r)/(2*r))]},a}function _n(){return Dr(Ko).scale(155.424).center([0,33.6442])}function Zo(){return _n().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function $s(t){var e=t.length;return{point:function(n,r){for(var i=-1;++i<e;)t[i].point(n,r)},sphere:function(){for(var n=-1;++n<e;)t[n].sphere()},lineStart:function(){for(var n=-1;++n<e;)t[n].lineStart()},lineEnd:function(){for(var n=-1;++n<e;)t[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<e;)t[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<e;)t[n].polygonEnd()}}}function Fs(){var t,e,n=Zo(),r,i=_n().rotate([154,0]).center([-2,58.5]).parallels([55,65]),o,a=_n().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s,l,c={point:function(h,p){l=[h,p]}};function u(h){var p=h[0],d=h[1];return l=null,r.point(p,d),l||(o.point(p,d),l)||(s.point(p,d),l)}u.invert=function(h){var p=n.scale(),d=n.translate(),A=(h[0]-d[0])/p,b=(h[1]-d[1])/p;return(b>=.12&&b<.234&&A>=-.425&&A<-.214?i:b>=.166&&b<.234&&A>=-.214&&A<-.115?a:n).invert(h)},u.stream=function(h){return t&&e===h?t:t=$s([n.stream(e=h),i.stream(h),a.stream(h)])},u.precision=function(h){return arguments.length?(n.precision(h),i.precision(h),a.precision(h),f()):n.precision()},u.scale=function(h){return arguments.length?(n.scale(h),i.scale(h*.35),a.scale(h),u.translate(n.translate())):n.scale()},u.translate=function(h){if(!arguments.length)return n.translate();var p=n.scale(),d=+h[0],A=+h[1];return r=n.translate(h).clipExtent([[d-.455*p,A-.238*p],[d+.455*p,A+.238*p]]).stream(c),o=i.translate([d-.307
vendor: 8,916 bytes, line 1
1*p,A+.201*p]).clipExtent([[d-.425*p+T,A+.12*p+T],[d-.214*p-T,A+.234*p-T]]).stream(c),s=a.translate([d-.205*p,A+.212*p]).clipExtent([[d-.214*p+T,A+.166*p+T],[d-.115*p-T,A+.234*p-T]]).stream(c),f()},u.fitExtent=function(h,p){return Tn(u,h,p)},u.fitSize=function(h,p){return zr(u,h,p)},u.fitWidth=function(h,p){return Or(u,h,p)},u.fitHeight=function(h,p){return Ir(u,h,p)};function f(){return t=e=null,u}return u.scale(1070)}function Qo(t){return function(e,n){var r=q(e),i=q(n),o=t(r*i);return o===1/0?[2,0]:[o*i*j(e),o*j(n)]}}function Ie(t){return function(e,n){var r=it(e*e+n*n),i=t(r),o=j(i),a=q(i);return[ft(e*o,r*a),ht(r&&n*o/r)]}}var $r=Qo(function(t){return it(2/(1+t))});$r.invert=Ie(function(t){return 2*ht(t/2)});function Us(){return Tt($r).scale(124.75).clipAngle(180-.001)}var Fr=Qo(function(t){return(t=po(t))&&t/j(t)});Fr.invert=Ie(function(t){return t});function Hs(){return Tt(Fr).scale(79.4188).clipAngle(180-.001)}function Le(t,e){return[t,on(kr((et+e)/2))]}Le.invert=function(t,e){return[t,2*le(ho(e))-et]};function Bs(){return Wo(Le).scale(961/ct)}function Wo(t){var e=Tt(t),n=e.center,r=e.scale,i=e.translate,o=e.clipExtent,a=null,s,l,c;e.scale=function(f){return arguments.length?(r(f),u()):r()},e.translate=function(f){return arguments.length?(i(f),u()):i()},e.center=function(f){return arguments.length?(n(f),u()):n()},e.clipExtent=function(f){return arguments.length?(f==null?a=s=l=c=null:(a=+f[0][0],s=+f[0][1],l=+f[1][0],c=+f[1][1]),u()):a==null?null:[[a,s],[l,c]]};function u(){var f=H*r(),h=e(_o(e.rotate()).invert([0,0]));return o(a==null?[[h[0]-f,h[1]-f],[h[0]+f,h[1]+f]]:t===Le?[[Math.max(h[0]-f,a),s],[Math.min(h[0]+f,l),c]]:[[a,Math.max(h[1]-f,s)],[l,Math.min(h[1]+f,c)]])}return u()}function Ke(t){return kr((et+t)/2)}function Xo(t,e){var n=q(t),r=t===e?j(t):on(n/q(e))/on(Ke(e)/Ke(t)),i=n*Fn(Ke(t),r)/r;if(!r)return Le;function o(a,s){i>0?s<-et+T&&(s=-et+T):s>et-T&&(s=et-T);var l=i/Fn(Ke(s),r);return[l*j(r*a),i-l*q(r*a)]}return o.invert=function(a,s){var l=i-s,c=St(r)*it(a*a+l*l),u=ft(a,B(l))*St(l);return l*r<0&&(u-=H*St(a)*St(l)),[u/r,2*le(Fn(i/c,1/r))-et]},o}function Gs(){return Dr(Xo).scale(109.5).parallels([30,30])}function ke(t,e){return[t,e]}ke.invert=ke;function Ks(){return Tt(ke).scale(152.63)}function Yo(t,e){var n=q(t),r=t===e?j(t):(n-q(e))/(e-t),i=n/r+t;if(B(r)<T)return ke;function o(a,s){var l=i-s,c=r*a;return[l*j(c),i-l*q(c)]}return o.invert=function(a,s){var l=i-s,c=ft(a,B(l))*St(l);return l*r<0&&(c-=H*St(a)*St(l)),[c/r,i-St(r)*it(a*a+l*l)]},o}function Zs(){return Dr(Yo).scale(131.154).center([0,13.9389])}var Ee=1.340264,be=-.081106,Se=893e-6,_e=.003796,Cn=it(3)/2,Qs=12;function Ur(t,e){var n=ht(Cn*j(e)),r=n*n,i=r*r*r;return[t*q(n)/(Cn*(Ee+3*be*r+i*(7*Se+9*_e*r))),n*(Ee+be*r+i*(Se+_e*r))]}Ur.invert=function(t,e){for(var n=e,r=n*n,i=r*r*r,o=0,a,s,l;o<Qs&&(s=n*(Ee+be*r+i*(Se+_e*r))-e,l=Ee+3*be*r+i*(7*Se+9*_e*r),n-=a=s/l,r=n*n,i=r*r*r,!(B(a)<Ce));++o);return[Cn*t*(Ee+3*be*r+i*(7*Se+9*_e*r))/q(n),ht(j(n)/Cn)]};function Ws(){return Tt(Ur).scale(177.158)}function Hr(t,e){var n=q(e),r=q(t)*n;return[n*j(t)/r,j(e)/r]}Hr.invert=Ie(le);function Xs(){return Tt(Hr).scale(144.049).clipAngle(60)}function Ys(){var t=1,e=0,n=0,r=1,i=1,o=0,a,s,l=null,c,u,f,h=1,p=1,d=Oe({point:function(g,E){var C=y([g,E]);this.stream.point(C[0],C[1])}}),A=Ne,b,x;function S(){return h=t*r,p=t*i,b=x=null,y}function y(g){var E=g[0]*h,C=g[1]*p;if(o){var R=C*a-E*s;E=E*a+C*s,C=R}return[E+e,C+n]}return y.invert=function(g){var E=g[0]-e,C=g[1]-n;if(o){var R=C*a+E*s;E=E*a-C*s,C=R}return[E/h,C/p]},y.stream=function(g){return b&&x===g?b:b=d(A(x=g))},y.postclip=function(g){return arguments.length?(A=g,l=c=u=f=null,S()):A},y.clipExtent=function(g){return arguments.length?(A=g==null?(l=c=u=f=null,Ne):qn(l=+g[0][0],c=+g[0][1],u=+g[1][0],f=+g[1][1]),S()):l==null?null:[[l,c],[u,f]]},y.scale=function(g){return arguments.length?(t=+g,S()):t},y.translate=function(g){return arguments.length?(e=+g[0],n=+g[1],S()):[e,n]},y.angle=function(g){return arguments.length?(o=g%360*O,s=j(o),a=q(o),S()):o*W},y.reflectX=function(g){return arguments.length?(r=g?-1:1,S()):r<0},y.reflectY=function(g){return arguments.length?(i=g?-1:1,S()):i<0},y.fitExtent=function(g,E){return Tn(y,g,E)},y.fitSize=function(g,E){return zr(y,g,E)},y.fitWidth=function(g,E){return Or(y,g,E)},y.fitHeight=function(g,E){return Ir(y,g,E)},y}function Br(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),e*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}Br.invert=function(t,e){var n=e,r=25,i;do{var o=n*n,a=o*o;n-=i=(n*(1.007226+o*(.015085+a*(-.044475+.028874*o-.005916*a)))-e)/(1.007226+o*(.015085*3+a*(-.044475*7+.028874*9*o-.005916*11*a)))}while(B(i)>T&&--r>0);return[t/(.8707+(o=n*n)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),n]};function Vs(){return Tt(Br).scale(175.295)}function Gr(t,e){return[q(e)*j(t),j(e)]}Gr.invert=Ie(ht);function Js(){return Tt(Gr).scale(249.5).clipAngle(90+T)}function Kr(t,e){var n=q(e),r=1+q(t)*n;return[n*j(t)/r,j(e)/r]}Kr.invert=Ie(function(t){return 2*le(t)});function tu(){return Tt(Kr).scale(250).clipAngle(142)}function Zr(t,e){return[on(kr((et+e)/2)),-t]}Zr.invert=function(t,e){return[-e,2*le(ho(t))-et]};function eu(){var t=Wo(Zr),e=t.center,n=t.rotate;return t.center=function(r){return arguments.length?e([-r[1],r[0]]):(r=e(),[r[1],-r[0]])},t.rotate=function(r){return arguments.length?n([r[0],r[1],r.length>2?r[2]+90:90]):(r=n(),[r[0],r[1],r[2]-90])},n([0,0,90]).scale(159.155)}const nu=Object.freeze(Object.defineProperty({__proto__:null,geoAlbers:Zo,geoAlbersUsa:Fs,geoArea:Qa,geoAzimuthalEqualArea:Us,geoAzimuthalEqualAreaRaw:$r,geoAzimuthalEquidistant:Hs,geoAzimuthalEquidistantRaw:Fr,geoBounds:Va,geoCentroid:is,geoCircle:os,geoClipAntimeridian:ur,geoClipCircle:Ro,geoClipExtent:hs,geoClipRectangle:qn,geoConicConformal:Gs,geoConicConformalRaw:Xo,geoConicEqualArea:_n,geoConicEqualAreaRaw:Ko,geoConicEquidistant:Zs,geoConicEquidistantRaw:Yo,geoContains:ws,geoDistance:yn,geoEqualEarth:Ws,geoEqualEarthRaw:Ur,geoEquirectangular:Ks,geoEquirectangularRaw:ke,geoGnomonic:Xs,geoGnomonicRaw:Hr,geoGraticule:qr,geoGraticule10:xs,geoIdentity:Ys,geoInterpolate:As,geoLength:Po,geoMercator:Bs,geoMercatorRaw:Le,geoNaturalEarth1:Vs,geoNaturalEarth1Raw:Br,geoOrthographic:Js,geoOrthographicRaw:Gr,geoPath:Go,geoProjection:Tt,geoProjectionMutator:Lr,geoRotation:_o,geoStereographic:tu,geoStereographicRaw:Kr,geoStream:Ct,geoTransform:Ps,geoTransverseMercator:eu,geoTransverseMercatorRaw:Zr},Symbol.toStringTag,{value:"Module"}));function ru(t){return t}function iu(t){if(t==null)return ru;var e,n,r=t.scale[0],i=t.scale[1],o=t.translate[0],a=t.translate[1];return function(s,l){l||(e=n=0);var c=2,u=s.length,f=new Array(u);for(f[0]=(e+=s[0])*r+o,f[1]=(n+=s[1])*i+a;c<u;)f[c]=s[c],++c;return f}}function ou(t,e){for(var n,r=t.length,i=r-e;i<--r;)n=t[i],t[i++]=t[r],t[r]=n}function au(t,e){return typeof e=="string"&&(e=t.objects[e]),e.type==="GeometryCollection"?{type:"FeatureCollection",features:e.geometries.map(function(n){return $i(t,n)})}:$i(t,e)}function $i(t,e){var n=e.id,r=e.bbox,i=e.properties==null?{}:e.properties,o=Vo(t,e);return n==null&&r==null?{type:"Feature",properties:i,geometry:o}:r==null?{type:"Feature",id:n,properties:i,geometry:o}:{type:"Feature",id:n,bbox:r,properties:i,geometry:o}}function Vo(t,e){var n=iu(t.transform),r=t.arcs;function i(u,f){f.length&&f.pop();for(var h=r[u<0?~u:u],p=0,d=h.length;p<d;++p)f.push(n(h[p],p));u<0&&ou(f,d)}function o(u){return n(u)}function a(u){for(var f=[],h=0,p=u.length;h<p;++h)i(u[h],f);return f.length<2&&f.push(f[0]),f}function s(u){for(var f=a(u);f.length<4;)f.push(f[0]);return f}function l(u){return u.map(s)}function c(u){var f=u.type,h;switch(f){case"GeometryCollection":return{type:f,geometries:u.geometries.map(c)};case"Point":h=o(u.coordinates);break;case"MultiPoint":h=u.coordinates.map(o);break;case"LineString":h=a(u.arcs);break;case"MultiLineString":h=u.arcs.map(a);break;case"Polygon":h=l(u.arcs);break;case"MultiPolygon":h=u.arcs.map(l);break;default:return null}return{type:f,coordinates:h}}return c(e)}function su(t,e){var n={},r={},i={},o=[],a=-1;e.forEach(function(c,u){var f=t.arcs[c<0?~c:c],h;f.length<3&&!f[1][0]&&!f[1][1]&&(h=e[++a],e[a]=c,e[u]=h)}),e.forEach(function(c){var u=s(c),f=u[0],h=u[1],p,d;if(p=i[f])if(delete i[p.end],p.push(c),p.end=h,d=r[h]){delete r[d.start];var A=d===p?p:p.concat(d);r[A.start=p.start]=i[A.end=d.end]=A}else r[p.start]=i[p.end]=p;else if(p=r[h])if(delete r[p.start],p.unshift(c),p.start=f,d=i[f]){delete i[d.end];var b=d===p?p:d.concat(p);r[b.start=d.start]=i[b.end=p.end]=b}else r[p.start]=i[p.end]=p;else p=[c],r[p.start=f]=i[p.end=h]=p});function s(c){var u=t.arcs[c<0?~c:c],f=u[0],h;return t.transform?(h=[0,0],u.forEach(function(p){h[0]+=p[0],h[1]+=p[1]})):h=u[u.length-1],c<0?[h,f]:[f,h]}function l(c,u){for(var f in c){var h=c[f];delete u[h.start],delete h.start,delete h.end,h.forEach(function(p){
1n[p<0?~p:p]=1}),o.push(h)}}return l(i,r),l(r,i),e.forEach(function(c){n[c<0?~c:c]||o.push([c])}),o}function Fi(t){return Vo(t,uu.apply(this,arguments))}function uu(t,e,n){var r,i,o;if(arguments.length>1)r=lu(t,e,n);else for(i=0,r=new Array(o=t.arcs.length);i<o;++i)r[i]=i;return{type:"MultiLineString",arcs:su(t,r)}}function lu(t,e,n){var r=[],i=[],o;function a(f){var h=f<0?~f:f;(i[h]||(i[h]=[])).push({i:f,g:o})}function s(f){f.forEach(a)}function l(f){f.forEach(s)}function c(f){f.forEach(l)}function u(f){switch(o=f,f.type){case"GeometryCollection":f.geometries.forEach(u);break;case"LineString":s(f.arcs);break;case"MultiLineString":case"Polygon":l(f.arcs);break;case"MultiPolygon":c(f.arcs);break}}return u(e),i.forEach(n==null?function(f){r.push(f[0].i)}:function(f){n(f[0].g,f[f.length-1].g)&&r.push(f[0].i)}),r}var cu={value:()=>{}};function Qr(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Je(n)}function Je(t){this._=t}function fu(t,e){return t.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Je.prototype=Qr.prototype={constructor:Je,on:function(t,e){var n=this._,r=fu(t+"",n),i,o=-1,a=r.length;if(arguments.length<2){for(;++o<a;)if((i=(t=r[o]).type)&&(i=hu(n[i],t.name)))return i;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<a;)if(i=(t=r[o]).type)n[i]=Ui(n[i],t.name,e);else if(e==null)for(i in n)n[i]=Ui(n[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Je(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,o;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],r=0,i=o.length;r<i;++r)o[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};function hu(t,e){for(var n=0,r=t.length,i;n<r;++n)if((i=t[n]).name===e)return i.value}function Ui(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=cu,t=t.slice(0,r).concat(t.slice(r+1));break}return n!=null&&t.push({name:e,value:n}),t}var Ar="http://www.w3.org/1999/xhtml";const Hi={svg:"http://www.w3.org/2000/svg",xhtml:Ar,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function zn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Hi.hasOwnProperty(e)?{space:Hi[e],local:t}:t}function pu(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Ar&&e.documentElement.namespaceURI===Ar?e.createElement(t):e.createElementNS(n,t)}}function du(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Jo(t){var e=zn(t);return(e.local?du:pu)(e)}function gu(){}function Wr(t){return t==null?gu:function(){return this.querySelector(t)}}function mu(t){typeof t!="function"&&(t=Wr(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],a=o.length,s=r[i]=new Array(a),l,c,u=0;u<a;++u)(l=o[u])&&(c=t.call(l,l.__data__,u,o))&&("__data__"in l&&(c.__data__=l.__data__),s[u]=c);return new gt(r,this._parents)}function ta(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function vu(){return[]}function ea(t){return t==null?vu:function(){return this.querySelectorAll(t)}}function yu(t){return function(){var e=t.apply(this,arguments);return e==null?[]:ta(e)}}function wu(t){typeof t=="function"?t=yu(t):t=ea(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a=e[o],s=a.length,l,c=0;c<s;++c)(l=a[c])&&(r.push(t.call(l,l.__data__,c,a)),i.push(l));return new gt(r,i)}function na(t){return function(){return this.matches(t)}}function ra(t){return function(e){return e.matches(t)}}var xu=Array.prototype.find;function Au(t){return function(){return xu.call(this.children,t)}}function Eu(){return this.firstElementChild}function bu(t){return this.select(t==null?Eu:Au(typeof t=="function"?t:ra(t)))}var Su=Array.prototype.filter;function _u(){return this.children}function Cu(t){return function(){return Su.call(this.children,t)}}function Nu(t){return this.selectAll(t==null?_u:Cu(typeof t=="function"?t:ra(t)))}function Mu(t){typeof t!="function"&&(t=na(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],a=o.length,s=r[i]=[],l,c=0;c<a;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&s.push(l);return new gt(r,this._parents)}function ia(t){return new Array(t.length)}function ju(){return new gt(this._enter||this._groups.map(ia),this._parents)}function Nn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Nn.prototype={constructor:Nn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function ku(t){return function(){return t}}function Ru(t,e,n,r,i,o){for(var a=0,s,l=e.length,c=o.length;a<c;++a)(s=e[a])?(s.__data__=o[a],r[a]=s):n[a]=new Nn(t,o[a]);for(;a<l;++a)(s=e[a])&&(i[a]=s)}function Pu(t,e,n,r,i,o,a){var s,l,c=new Map,u=e.length,f=o.length,h=new Array(u),p;for(s=0;s<u;
vendor: 19,279 bytes, line 1
1++s)(l=e[s])&&(h[s]=p=a.call(l,l.__data__,s,e)+"",c.has(p)?i[s]=l:c.set(p,l));for(s=0;s<f;++s)p=a.call(t,o[s],s,o)+"",(l=c.get(p))?(r[s]=l,l.__data__=o[s],c.delete(p)):n[s]=new Nn(t,o[s]);for(s=0;s<u;++s)(l=e[s])&&c.get(h[s])===l&&(i[s]=l)}function qu(t){return t.__data__}function Tu(t,e){if(!arguments.length)return Array.from(this,qu);var n=e?Pu:Ru,r=this._parents,i=this._groups;typeof t!="function"&&(t=ku(t));for(var o=i.length,a=new Array(o),s=new Array(o),l=new Array(o),c=0;c<o;++c){var u=r[c],f=i[c],h=f.length,p=ta(t.call(u,u&&u.__data__,c,r)),d=p.length,A=s[c]=new Array(d),b=a[c]=new Array(d),x=l[c]=new Array(h);n(u,f,A,b,x,p,e);for(var S=0,y=0,g,E;S<d;++S)if(g=A[S]){for(S>=y&&(y=S+1);!(E=b[y])&&++y<d;);g._next=E||null}}return a=new gt(a,r),a._enter=s,a._exit=l,a}function zu(){return new gt(this._exit||this._groups.map(ia),this._parents)}function Ou(t,e,n){var r=this.enter(),i=this,o=this.exit();return r=typeof t=="function"?t(r):r.append(t+""),e!=null&&(i=e(i)),n==null?o.remove():n(o),r&&i?r.merge(i).order():i}function Iu(t){if(!(t instanceof gt))throw new Error("invalid merge");for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l=e[s],c=n[s],u=l.length,f=a[s]=new Array(u),h,p=0;p<u;++p)(h=l[p]||c[p])&&(f[p]=h);for(;s<r;++s)a[s]=e[s];return new gt(a,this._parents)}function Lu(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,o=r[i],a;--i>=0;)(a=r[i])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function Du(t){t||(t=$u);function e(f,h){return f&&h?t(f.__data__,h.__data__):!f-!h}for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a=n[o],s=a.length,l=i[o]=new Array(s),c,u=0;u<s;++u)(c=a[u])&&(l[u]=c);l.sort(e)}return new gt(i,this._parents).order()}function $u(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Fu(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Uu(){return Array.from(this)}function Hu(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null}function Bu(){let t=0;for(const e of this)++t;return t}function Gu(){return!this.node()}function Ku(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],o=0,a=i.length,s;o<a;++o)(s=i[o])&&t.call(s,s.__data__,o,i);return this}function Zu(t){return function(){this.removeAttribute(t)}}function Qu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Wu(t,e){return function(){this.setAttribute(t,e)}}function Xu(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Yu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Vu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Ju(t,e){var n=zn(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?Qu:Zu:typeof e=="function"?n.local?Vu:Yu:n.local?Xu:Wu)(n,e))}function oa(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function tl(t){return function(){this.style.removeProperty(t)}}function el(t,e,n){return function(){this.style.setProperty(t,e,n)}}function nl(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function rl(t,e,n){return arguments.length>1?this.each((e==null?tl:typeof e=="function"?nl:el)(t,e,n??"")):se(this.node(),t)}function se(t,e){return t.style.getPropertyValue(e)||oa(t).getComputedStyle(t,null).getPropertyValue(e)}function il(t){return function(){delete this[t]}}function ol(t,e){return function(){this[t]=e}}function al(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function sl(t,e){return arguments.length>1?this.each((e==null?il:typeof e=="function"?al:ol)(t,e)):this.node()[t]}function aa(t){return t.trim().split(/^|\s+/)}function Xr(t){return t.classList||new sa(t)}function sa(t){this._node=t,this._names=aa(t.getAttribute("class")||"")}sa.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ua(t,e){for(var n=Xr(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function la(t,e){for(var n=Xr(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function ul(t){return function(){ua(this,t)}}function ll(t){return function(){la(this,t)}}function cl(t,e){return function(){(e.apply(this,arguments)?ua:la)(this,t)}}function fl(t,e){var n=aa(t+"");if(arguments.length<2){for(var r=Xr(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?cl:e?ul:ll)(n,e))}function hl(){this.textContent=""}function pl(t){return function(){this.textContent=t}}function dl(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function gl(t){return arguments.length?this.each(t==null?hl:(typeof t=="function"?dl:pl)(t)):this.node().textContent}function ml(){this.innerHTML=""}function vl(t){return function(){this.innerHTML=t}}function yl(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function wl(t){return arguments.length?this.each(t==null?ml:(typeof t=="function"?yl:vl)(t)):this.node().innerHTML}function xl(){this.nextSibling&&this.parentNode.appendChild(this)}function Al(){return this.each(xl)}function El(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function bl(){return this.each(El)}function Sl(t){var e=typeof t=="function"?t:Jo(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function _l(){return null}function Cl(t,e){var n=typeof t=="function"?t:Jo(t),r=e==null?_l:typeof e=="function"?e:Wr(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Nl(){var t=this.parentNode;t&&t.removeChild(this)}function Ml(){return this.each(Nl)}function jl(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function kl(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Rl(t){return this.select(t?kl:jl)}function Pl(t){return arguments.length?this.property("__data__",t):this.node().__data__}function ql(t){return function(e){t.call(this,e,this.__data__)}}function Tl(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function zl(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,o;n<i;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++r]=o;++r?e.length=r:delete this.__on}}}function Ol(t,e,n){return function(){var r=this.__on,i,o=ql(e);if(r){for(var a=0,s=r.length;a<s;++a)if((i=r[a]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=n),i.value=e;return}}this.addEventListener(t.type,o,n),i={type:t.type,name:t.name,value:e,listener:o,options:n},r?r.push(i):this.__on=[i]}}function Il(t,e,n){var r=Tl(t+""),i,o=r.length,a;if(arguments.length<2){var s=this.node().__on;if(s){for(var l=0,c=s.length,u;l<c;++l)for(i=0,u=s[l];i<o;++i)if((a=r[i]).type===u.type&&a.name===u.name)return u.value}return}for(s=e?Ol:zl,i=0;i<o;++i)this.each(s(r[i],e,n));return this}function ca(t,e,n){var r=oa(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Ll(t,e){return function(){return ca(this,t,e)}}function Dl(t,e){return function(){return ca(this,t,e.apply(this,arguments))}}function $l(t,e){return this.each((typeof e=="function"?Dl:Ll)(t,e))}function*Fl(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length,a;i<o;++i)(a=r[i])&&(yield a)}var fa=[null];function gt(t,e){this._groups=t,this._parents=e}function De(){return new gt([[document.documentElement]],fa)}function Ul(){return this}gt.prototype=De.prototype={constructor:gt,select:mu,selectAll:wu,selectChild:bu,selectChildren:Nu,filter:Mu,data:Tu,enter:ju,exit:zu,join:Ou,merge:Iu,selection:Ul,order:Lu,sort:Du,call:Fu,nodes:Uu,node:Hu,size:Bu,empty:Gu,each:Ku,attr:Ju,style:rl,property:sl,classed:fl,text:gl,html:wl,raise:Al,lower:bl,append:Sl,insert:Cl,remove:Ml,clone:Rl,datum:Pl,on:Il,dispatch:$l,[Symbol.iterator]:Fl};function Dt(t){return typeof t=="string"?new gt([[document.querySelector(t)]],[document.documentElement]):new gt([[t]],fa)}function Hl(t){let e;for(;e=t.sourceEvent;)t=e;return t}function Kt(t,e){if(t=Hl(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}function Er(t){t.preventDefault(),t.stopImmediatePropagation()}function Bl(t){var e=t.document.documentElement,n=Dt(t).on("dragstart.drag",Er,!0);"onselectstart"in e?n.on("selectstart.drag",Er,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function Gl(t,e){var n=t.document.documentElement,r=Dt(t).on("dragstart.drag",null);e&&(r.on("click.drag",Er,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Yr(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function ha(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function $e(){}var Re=.7,Mn=1/Re,re="\\s*([+-]?\\d+)\\s*",Pe="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Pt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Kl=/^#([0-9a-f]{3,8})$/,Zl=new RegExp("^rgb\\("+[re,re,re]+"\\)$"),Ql=new RegExp("^rgb\\("+[Pt,Pt,Pt]+"\\)$"),Wl=new RegExp("^rgba\\("+[re,re,re,Pe]+"\\)$"),Xl=new RegExp("^rgba\\("+[Pt,Pt,Pt,Pe]+"\\)$"),Yl=new RegExp("^hsl\\("+[Pe,Pt,Pt]+"\\)$"),Vl=new RegExp("^hsla\\("+[Pe,Pt,Pt,Pe]+"\\)$"),Bi={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};Yr($e,qe,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Gi,formatHex:Gi,formatHsl:Jl,formatRgb:Ki,toString:Ki});function Gi(){return this.rgb().formatHex()}function Jl(){return pa(this).formatHsl()}function Ki(){return this.rgb().formatRgb()}function qe(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Kl.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Zi(e):n===3?new At(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?Ze(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?Ze(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Zl.exec(t))?new At(e[1],e[2],e[3],1):(e=Ql.exec(t))?new At(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Wl.exec(t))?Ze(e[1],e[2],e[3],e[4]):(e=Xl.exec(t))?Ze(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Yl.exec(t))?Xi(e[1],e[2]/100,e[3]/100,1):(e=Vl.exec(t))?Xi(e[1],e[2]/100,e[3]/100,e[4]):Bi.hasOwnProperty(t)?Zi(Bi[t]):t==="transparent"?new At(NaN,NaN,NaN,0):null}function Zi(t){return new At(t>>16&255,t>>8&255,t&255,1)}function Ze(t,e,n,r){return r<=0&&(t=e=n=NaN),new At(t,e,n,r)}function tc(t){return t instanceof $e||(t=qe(t)),t?(t=t.rgb(),new At(t.r,t.g,t.b,t.opacity)):new At}function br(t,e,n,r){return arguments.length===1?tc(t):new At(t,e,n,r??1)}function At(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}Yr(At,br,ha($e,{brighter:function(t){return t=t==null?Mn:Math.pow(Mn,t),new At(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Re:Math.pow(Re,t),new At(this.r*t,this.g*t,this.b*t,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:Qi,formatHex:Qi,formatRgb:Wi,toString:Wi}));function Qi(){return"#"+Kn(this.r)+Kn(this.g)+Kn(this.b)}function Wi(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"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))+(t===1?")":", "+t+")")}function Kn(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function Xi(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Rt(t,e,n,r)}function pa(t){if(t instanceof Rt)return new Rt(t.h,t.s,t.l,t.opacity);if(t instanceof $e||(t=qe(t)),!t)return new Rt;if(t instanceof Rt)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(e===o?a=(n-r)/s+(n<r)*6:n===o?a=(r-e)/s+2:a=(e-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new Rt(a,s,l,t.opacity)}function ec(t,e,n,r){return arguments.length===1?pa(t):new Rt(t,e,n,r??1)}function Rt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Yr(Rt,ec,ha($e,{brighter:function(t){return t=t==null?Mn:Math.pow(Mn,t),new Rt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Re:Math.pow(Re,t),new Rt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new At(Zn(t>=240?t-240:t+120,i,r),Zn(t,i,r),Zn(t<120?t+240:t-120,i,r),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 t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(t===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(t===1?")":", "+t+")")}}));function Zn(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const da=t=>()=>t;function nc(t,e){return function(n){return t+n*e}}function rc(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function ic(t){return(t=+t)==1?ga:function(e,n){return n-e?rc(e,n,t):da(isNaN(e)?n:e)}}function ga(t,e){var n=e-t;return n?nc(t,n):da(isNaN(t)?e:t)}const Yi=(function t(e){var n=ic(e);function r(i,o){var a=n((i=br(i)).r,(o=br(o)).r),s=n(i.g,o.g),l=n(i.b,o.b),c=ga(i.opacity,o.opacity);return function(u){return i.r=a(u),i.g=s(u),i.b=l(u),i.opacity=c(u),i+""}}return r.gamma=t,r})(1);function Gt(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var Sr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Qn=new RegExp(Sr.source,"g");function oc(t){return function(){return t}}function ac(t){return function(e){return t(e)+""}}function sc(t,e){var n=Sr.lastIndex=Qn.lastIndex=0,r,i,o,a=-1,s=[],l=[];for(t=t+"",e=e+"";(r=Sr.exec(t))&&(i=Qn.exec(e));)(o=i.index)>n&&(o=e.slice(n,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:Gt(r,i)})),n=Qn.lastIndex;return n<e.length&&(o=e.slice(n),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?ac(l[0].x):oc(e):(e=l.length,function(c){for(var u=0,f;u<e;++u)s[(f=l[u]).i]=f.x(c);return s.join("")})}var Vi=180/Math.PI,_r={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ma(t,e,n,r,i,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Vi,skewX:Math.atan(l)*Vi,scaleX:a,scaleY:s}}var Qe;function uc(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?_r:ma(e.a,e.b,e.c,e.d,e.e,e.f)}function lc(t){return t==null||(Qe||(Qe=document.createElementNS("http://www.w3.org/2000/svg","g")),Qe.setAttribute("transform",t),!(t=Qe.transform.baseVal.consolidate()))?_r:(t=t.matrix,ma(t.a,t.b,t.c,t.d,t.e,t.f))}function va(t,e,n,r){function i(c){return c.length?c.pop()+" ":""}function o(c,u,f,h,p,d){if(c!==f||u!==h){var A=p.push("translate(",null,e,null,n);d.push({i:A-4,x:Gt(c,f)},{i:A-2,x:Gt(u,h)})}else(f||h)&&p.push("translate("+f+e+h+n)}function a(c,u,f,h){c!==u?(c-u>180?u+=360:u-c>180&&(c+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:Gt(c,u)})):u&&f.push(i(f)+"rotate("+u+r)}
vendor: 4,146 bytes, line 1
1function s(c,u,f,h){c!==u?h.push({i:f.push(i(f)+"skewX(",null,r)-2,x:Gt(c,u)}):u&&f.push(i(f)+"skewX("+u+r)}function l(c,u,f,h,p,d){if(c!==f||u!==h){var A=p.push(i(p)+"scale(",null,",",null,")");d.push({i:A-4,x:Gt(c,f)},{i:A-2,x:Gt(u,h)})}else(f!==1||h!==1)&&p.push(i(p)+"scale("+f+","+h+")")}return function(c,u){var f=[],h=[];return c=t(c),u=t(u),o(c.translateX,c.translateY,u.translateX,u.translateY,f,h),a(c.rotate,u.rotate,f,h),s(c.skewX,u.skewX,f,h),l(c.scaleX,c.scaleY,u.scaleX,u.scaleY,f,h),c=u=null,function(p){for(var d=-1,A=h.length,b;++d<A;)f[(b=h[d]).i]=b.x(p);return f.join("")}}}var cc=va(uc,"px, ","px)","deg)"),fc=va(lc,", ",")",")"),hc=1e-12;function Ji(t){return((t=Math.exp(t))+1/t)/2}function pc(t){return((t=Math.exp(t))-1/t)/2}function dc(t){return((t=Math.exp(2*t))-1)/(t+1)}const gc=(function t(e,n,r){function i(o,a){var s=o[0],l=o[1],c=o[2],u=a[0],f=a[1],h=a[2],p=u-s,d=f-l,A=p*p+d*d,b,x;if(A<hc)x=Math.log(h/c)/e,b=function(R){return[s+R*p,l+R*d,c*Math.exp(e*R*x)]};else{var S=Math.sqrt(A),y=(h*h-c*c+r*A)/(2*c*n*S),g=(h*h-c*c-r*A)/(2*h*n*S),E=Math.log(Math.sqrt(y*y+1)-y),C=Math.log(Math.sqrt(g*g+1)-g);x=(C-E)/e,b=function(R){var z=R*x,$=Ji(E),F=c/(n*S)*($*dc(e*z+E)-pc(E));return[s+F*p,l+F*d,c*$/Ji(e*z+E)]}}return b.duration=x*1e3*e/Math.SQRT2,b}return i.rho=function(o){var a=Math.max(.001,+o),s=a*a,l=s*s;return t(a,s,l)},i})(Math.SQRT2,2,4);var ue=0,we=0,fe=0,ya=1e3,jn,xe,kn=0,Yt=0,On=0,Te=typeof performance=="object"&&performance.now?performance:Date,wa=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Vr(){return Yt||(wa(mc),Yt=Te.now()+On)}function mc(){Yt=0}function Rn(){this._call=this._time=this._next=null}Rn.prototype=xa.prototype={constructor:Rn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Vr():+n)+(e==null?0:+e),!this._next&&xe!==this&&(xe?xe._next=this:jn=this,xe=this),this._call=t,this._time=n,Cr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Cr())}};function xa(t,e,n){var r=new Rn;return r.restart(t,e,n),r}function vc(){Vr(),++ue;for(var t=jn,e;t;)(e=Yt-t._time)>=0&&t._call.call(null,e),t=t._next;--ue}function to(){Yt=(kn=Te.now())+On,ue=we=0;try{vc()}finally{ue=0,wc(),Yt=0}}function yc(){var t=Te.now(),e=t-kn;e>ya&&(On-=e,kn=t)}function wc(){for(var t,e=jn,n,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:jn=n);xe=t,Cr(r)}function Cr(t){if(!ue){we&&(we=clearTimeout(we));var e=t-Yt;e>24?(t<1/0&&(we=setTimeout(to,t-Te.now()-On)),fe&&(fe=clearInterval(fe))):(fe||(kn=Te.now(),fe=setInterval(yc,ya)),ue=1,wa(to))}}function eo(t,e,n){var r=new Rn;return e=e==null?0:+e,r.restart(i=>{r.stop(),t(i+e)},e,n),r}var xc=Qr("start","end","cancel","interrupt"),Ac=[],Aa=0,no=1,Nr=2,tn=3,ro=4,Mr=5,en=6;function In(t,e,n,r,i,o){var a=t.__transition;if(!a)t.__transition={};else if(n in a)return;Ec(t,n,{name:e,index:r,group:i,on:xc,tween:Ac,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Aa})}function Jr(t,e){var n=Mt(t,e);if(n.state>Aa)throw new Error("too late; already scheduled");return n}function zt(t,e){var n=Mt(t,e);if(n.state>tn)throw new Error("too late; already running");return n}function Mt(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Ec(t,e,n){var r=t.__transition,i;r[e]=n,n.timer=xa(o,0,n.time);function o(c){n.state=no,n.timer.restart(a,n.delay,n.time),n.delay<=c&&a(c-n.delay)}function a(c){var u,f,h,p;if(n.state!==no)return l();for(u in r)if(p=r[u],p.name===n.name){if(p.state===tn)return eo(a);p.state===ro?(p.state=en,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete r[u]):+u<e&&(p.state=en,p.timer.stop(),p.on.call("cancel",t,t.__data__,p.index,p.group),delete r[u])}if(eo(function(){n.state===tn&&(n.state=ro,n.timer.restart(s,n.delay,n.time),s(c))}),n.state=Nr,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Nr){for(n.state=tn,i=new Array(h=n.tween.length),u=0,f=-1;u<h;++u)(p=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(i[
vendor: 8,632 bytes, line 1
1++f]=p);i.length=f+1}}function s(c){for(var u=c<n.duration?n.ease.call(null,c/n.duration):(n.timer.restart(l),n.state=Mr,1),f=-1,h=i.length;++f<h;)i[f].call(t,u);n.state===Mr&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){n.state=en,n.timer.stop(),delete r[e];for(var c in r)return;delete t.__transition}}function nn(t,e){var n=t.__transition,r,i,o=!0,a;if(n){e=e==null?null:e+"";for(a in n){if((r=n[a]).name!==e){o=!1;continue}i=r.state>Nr&&r.state<Mr,r.state=en,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[a]}o&&delete t.__transition}}function bc(t){return this.each(function(){nn(this,t)})}function Sc(t,e){var n,r;return function(){var i=zt(this,t),o=i.tween;if(o!==n){r=n=o;for(var a=0,s=r.length;a<s;++a)if(r[a].name===e){r=r.slice(),r.splice(a,1);break}}i.tween=r}}function _c(t,e,n){var r,i;if(typeof n!="function")throw new Error;return function(){var o=zt(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===e){i[l]=s;break}l===c&&i.push(s)}o.tween=i}}function Cc(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=Mt(this.node(),n).tween,i=0,o=r.length,a;i<o;++i)if((a=r[i]).name===t)return a.value;return null}return this.each((e==null?Sc:_c)(n,t,e))}function ti(t,e,n){var r=t._id;return t.each(function(){var i=zt(this,r);(i.value||(i.value={}))[e]=n.apply(this,arguments)}),function(i){return Mt(i,r).value[e]}}function Ea(t,e){var n;return(typeof e=="number"?Gt:e instanceof qe?Yi:(n=qe(e))?(e=n,Yi):sc)(t,e)}function Nc(t){return function(){this.removeAttribute(t)}}function Mc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function jc(t,e,n){var r,i=n+"",o;return function(){var a=this.getAttribute(t);return a===i?null:a===r?o:o=e(r=a,n)}}function kc(t,e,n){var r,i=n+"",o;return function(){var a=this.getAttributeNS(t.space,t.local);return a===i?null:a===r?o:o=e(r=a,n)}}function Rc(t,e,n){var r,i,o;return function(){var a,s=n(this),l;return s==null?void this.removeAttribute(t):(a=this.getAttribute(t),l=s+"",a===l?null:a===r&&l===i?o:(i=l,o=e(r=a,s)))}}function Pc(t,e,n){var r,i,o;return function(){var a,s=n(this),l;return s==null?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),l=s+"",a===l?null:a===r&&l===i?o:(i=l,o=e(r=a,s)))}}function qc(t,e){var n=zn(t),r=n==="transform"?fc:Ea;return this.attrTween(t,typeof e=="function"?(n.local?Pc:Rc)(n,r,ti(this,"attr."+t,e)):e==null?(n.local?Mc:Nc)(n):(n.local?kc:jc)(n,r,e))}function Tc(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function zc(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Oc(t,e){var n,r;function i(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&zc(t,o)),n}return i._value=e,i}function Ic(t,e){var n,r;function i(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&Tc(t,o)),n}return i._value=e,i}function Lc(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var r=zn(t);return this.tween(n,(r.local?Oc:Ic)(r,e))}function Dc(t,e){return function(){Jr(this,t).delay=+e.apply(this,arguments)}}function $c(t,e){return e=+e,function(){Jr(this,t).delay=e}}function Fc(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Dc:$c)(e,t)):Mt(this.node(),e).delay}function Uc(t,e){return function(){zt(this,t).duration=+e.apply(this,arguments)}}function Hc(t,e){return e=+e,function(){zt(this,t).duration=e}}function Bc(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Uc:Hc)(e,t)):Mt(this.node(),e).duration}function Gc(t,e){if(typeof e!="function")throw new Error;return function(){zt(this,t).ease=e}}function Kc(t){var e=this._id;return arguments.length?this.each(Gc(e,t)):Mt(this.node(),e).ease}function Zc(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;zt(this,t).ease=n}}function Qc(t){if(typeof t!="function")throw new Error;return this.each(Zc(this._id,t))}function Wc(t){typeof t!="function"&&(t=na(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],a=o.length,s=r[i]=[],l,c=0;c<a;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&s.push(l);return new Ut(r,this._parents,this._name,this._id)}function Xc(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l=e[s],c=n[s],u=l.length,f=a[s]=new Array(u),h,p=0;p<u;++p)(h=l[p]||c[p])&&(f[p]=h);for(;s<r;++s)a[s]=e[s];return new Ut(a,this._parents,this._name,this._id)}function Yc(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function Vc(t,e,n){var r,i,o=Yc(e)?Jr:zt;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}function Jc(t,e){var n=this._id;return arguments.length<2?Mt(this.node(),n).on.on(t):this.each(Vc(n,t,e))}function tf(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function ef(){return this.on("end.remove",tf(this._id))}function nf(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Wr(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s=r[a],l=s.length,c=o[a]=new Array(l),u,f,h=0;h<l;++h)(u=s[h])&&(f=t.call(u,u.__data__,h,s))&&("__data__"in u&&(f.__data__=u.__data__),c[h]=f,In(c[h],e,n,h,c,Mt(u,n)));return new Ut(o,this._parents,e,n)}function rf(t){var e=this._name,n=this._id;typeof t!="function"&&(t=ea(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l=r[s],c=l.length,u,f=0;f<c;++f)if(u=l[f]){for(var h=t.call(u,u.__data__,f,l),p,d=Mt(u,n),A=0,b=h.length;A<b;++A)(p=h[A])&&In(p,e,n,A,h,d);o.push(h),a.push(u)}return new Ut(o,a,e,n)}var of=De.prototype.constructor;function af(){return new of(this._groups,this._parents)}function sf(t,e){var n,r,i;return function(){var o=se(this,t),a=(this.style.removeProperty(t),se(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}function ba(t){return function(){this.style.removeProperty(t)}}function uf(t,e,n){var r,i=n+"",o;return function(){var a=se(this,t);return a===i?null:a===r?o:o=e(r=a,n)}}function lf(t,e,n){var r,i,o;return function(){var a=se(this,t),s=n(this),l=s+"";return s==null&&(l=s=(this.style.removeProperty(t),se(this,t))),a===l?null:a===r&&l===i?o:(i=l,o=e(r=a,s))}}function cf(t,e){var n,r,i,o="style."+e,a="end."+o,s;return function(){var l=zt(this,t),c=l.on,u=l.value[o]==null?s||(s=ba(e)):void 0;(c!==n||i!==u)&&(r=(n=c).copy()).on(a,i=u),l.on=r}}function ff(t,e,n){var r=(t+="")=="transform"?cc:Ea;return e==null?this.styleTween(t,sf(t,r)).on("end.style."+t,ba(t)):typeof e=="function"?this.styleTween(t,lf(t,r,ti(this,"style."+t,e))).each(cf(this._id,t)):this.styleTween(t,uf(t,r,e),n).on("end.style."+t,null)}function hf(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function pf(t,e,n){var r,i;function o(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&hf(t,a,n)),r}return o._value=e,o}function df(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,pf(t,e,n??""))}function gf(t){return function(){this.textContent=t}}function mf(t){return function(){var e=t(this);this.textContent=e??""}}function vf(t){return this.tween("text",typeof t=="function"?mf(ti(this,"text",t)):gf(t==null?"":t+""))}function yf(t){return function(e){this.textContent=t.call(this,e)}}function wf(t){var e,n;function r(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&yf(i)),e}return r._value=t,r}function xf(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,wf(t))}function Af(){for(var t=this._name,e=this._id,n=Sa(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a=r[o],s=a.length,l,c=0;c<s;++c)if(l=a[c]){var u=Mt(l,e);In(l,t,n,c,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ut(r,this._parents,t,n)}function Ef(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var s={value:a},l={value:function(){--i===0&&o()}};n.each(function(){var c=zt(this,r),u=c.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),c.on=e}),i===0&&o()})}var bf=0;function Ut(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Sa(){return++bf}var Zt=De.prototype;
vendor: 10,398 bytes, line 1
1Ut.prototype={constructor:Ut,select:nf,selectAll:rf,filter:Wc,merge:Xc,selection:af,transition:Af,call:Zt.call,nodes:Zt.nodes,node:Zt.node,size:Zt.size,empty:Zt.empty,each:Zt.each,on:Jc,attr:qc,attrTween:Lc,style:ff,styleTween:df,text:vf,textTween:xf,remove:ef,tween:Cc,delay:Fc,duration:Bc,ease:Kc,easeVarying:Qc,end:Ef,[Symbol.iterator]:Zt[Symbol.iterator]};function Sf(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var _f={time:null,delay:0,duration:250,ease:Sf};function Cf(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function Nf(t){var e,n;t instanceof Ut?(e=t._id,t=t._name):(e=Sa(),(n=_f).time=Vr(),t=t==null?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a=r[o],s=a.length,l,c=0;c<s;++c)(l=a[c])&&In(l,t,e,c,a,n||Cf(l,e));return new Ut(r,this._parents,t,e)}De.prototype.interrupt=bc;De.prototype.transition=Nf;const We=t=>()=>t;function Mf(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function $t(t,e,n){this.k=t,this.x=e,this.y=n}$t.prototype={constructor:$t,scale:function(t){return t===1?this:new $t(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new $t(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ei=new $t(1,0,0);$t.prototype;function Wn(t){t.stopImmediatePropagation()}function he(t){t.preventDefault(),t.stopImmediatePropagation()}function jf(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function kf(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function io(){return this.__zoom||ei}function Rf(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Pf(){return navigator.maxTouchPoints||"ontouchstart"in this}function qf(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function Tf(){var t=jf,e=kf,n=qf,r=Rf,i=Pf,o=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],s=250,l=gc,c=Qr("start","zoom","end"),u,f,h,p=500,d=150,A=0,b=10;function x(m){m.property("__zoom",io).on("wheel.zoom",z).on("mousedown.zoom",$).on("dblclick.zoom",F).filter(i).on("touchstart.zoom",I).on("touchmove.zoom",G).on("touchend.zoom touchcancel.zoom",Z).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}x.transform=function(m,v,w,M){var P=m.selection?m.selection():m;P.property("__zoom",io),m!==P?E(m,v,w,M):P.interrupt().each(function(){C(this,arguments).event(M).start().zoom(null,typeof v=="function"?v.apply(this,arguments):v).end()})},x.scaleBy=function(m,v,w,M){x.scaleTo(m,function(){var P=this.__zoom.k,k=typeof v=="function"?v.apply(this,arguments):v;return P*k},w,M)},x.scaleTo=function(m,v,w,M){x.transform(m,function(){var P=e.apply(this,arguments),k=this.__zoom,D=w==null?g(P):typeof w=="function"?w.apply(this,arguments):w,U=k.invert(D),K=typeof v=="function"?v.apply(this,arguments):v;return n(y(S(k,K),D,U),P,a)},w,M)},x.translateBy=function(m,v,w,M){x.transform(m,function(){return n(this.__zoom.translate(typeof v=="function"?v.apply(this,arguments):v,typeof w=="function"?w.apply(this,arguments):w),e.apply(this,arguments),a)},null,M)},x.translateTo=function(m,v,w,M,P){x.transform(m,function(){var k=e.apply(this,arguments),D=this.__zoom,U=M==null?g(k):typeof M=="function"?M.apply(this,arguments):M;return n(ei.translate(U[0],U[1]).scale(D.k).translate(typeof v=="function"?-v.apply(this,arguments):-v,typeof w=="function"?-w.apply(this,arguments):-w),k,a)},M,P)};function S(m,v){return v=Math.max(o[0],Math.min(o[1],v)),v===m.k?m:new $t(v,m.x,m.y)}function y(m,v,w){var M=v[0]-w[0]*m.k,P=v[1]-w[1]*m.k;return M===m.x&&P===m.y?m:new $t(m.k,M,P)}function g(m){return[(+m[0][0]+ +m[1][0])/2,(+m[0][1]+ +m[1][1])/2]}function E(m,v,w,M){m.on("start.zoom",function(){C(this,arguments).event(M).start()}).on("interrupt.zoom end.zoom",function(){C(this,arguments).event(M).end()}).tween("zoom",function(){var P=this,k=arguments,D=C(P,k).event(M),U=e.apply(P,k),K=w==null?g(U):typeof w=="function"?w.apply(P,k):w,X=Math.max(U[1][0]-U[0][0],U[1][1]-U[0][1]),Q=P.__zoom,Y=typeof v=="function"?v.apply(P,k):v,vt=l(Q.invert(K).concat(X/Q.k),Y.invert(K).concat(X/Y.k));return function(yt){if(yt===1)yt=Y;else{var Et=vt(yt),nt=X/Et[2];yt=new $t(nt,K[0]-Et[0]*nt,K[1]-Et[1]*nt)}D.zoom(null,yt)}})}function C(m,v,w){return!w&&m.__zooming||new R(m,v)}function R(m,v){this.that=m,this.args=v,this.active=0,this.sourceEvent=null,this.extent=e.apply(m,v),this.taps=0}R.prototype={event:function(m){return m&&(this.sourceEvent=m),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(m,v){return this.mouse&&m!=="mouse"&&(this.mouse[1]=v.invert(this.mouse[0])),this.touch0&&m!=="touch"&&(this.touch0[1]=v.invert(this.touch0[0])),this.touch1&&m!=="touch"&&(this.touch1[1]=v.invert(this.touch1[0])),this.that.__zoom=v,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(m){var v=Dt(this.that).datum();c.call(m,this.that,new Mf(m,{sourceEvent:this.sourceEvent,target:x,transform:this.that.__zoom,dispatch:c}),v)}};function z(m,...v){if(!t.apply(this,arguments))return;var w=C(this,v).event(m),M=this.__zoom,P=Math.max(o[0],Math.min(o[1],M.k*Math.pow(2,r.apply(this,arguments)))),k=Kt(m);if(w.wheel)(w.mouse[0][0]!==k[0]||w.mouse[0][1]!==k[1])&&(w.mouse[1]=M.invert(w.mouse[0]=k)),clearTimeout(w.wheel);else{if(M.k===P)return;w.mouse=[k,M.invert(k)],nn(this),w.start()}he(m),w.wheel=setTimeout(D,d),w.zoom("mouse",n(y(S(M,P),w.mouse[0],w.mouse[1]),w.extent,a));function D(){w.wheel=null,w.end()}}function $(m,...v){if(h||!t.apply(this,arguments))return;var w=C(this,v,!0).event(m),M=Dt(m.view).on("mousemove.zoom",K,!0).on("mouseup.zoom",X,!0),P=Kt(m,k),k=m.currentTarget,D=m.clientX,U=m.clientY;Bl(m.view),Wn(m),w.mouse=[P,this.__zoom.invert(P)],nn(this),w.start();function K(Q){if(he(Q),!w.moved){var Y=Q.clientX-D,vt=Q.clientY-U;w.moved=Y*Y+vt*vt>A}w.event(Q).zoom("mouse",n(y(w.that.__zoom,w.mouse[0]=Kt(Q,k),w.mouse[1]),w.extent,a))}function X(Q){M.on("mousemove.zoom mouseup.zoom",null),Gl(Q.view,w.moved),he(Q),w.event(Q).end()}}function F(m,...v){if(t.apply(this,arguments)){var w=this.__zoom,M=Kt(m.changedTouches?m.changedTouches[0]:m,this),P=w.invert(M),k=w.k*(m.shiftKey?.5:2),D=n(y(S(w,k),M,P),e.apply(this,v),a);he(m),s>0?Dt(this).transition().duration(s).call(E,D,M,m):Dt(this).call(x.transform,D,M,m)}}function I(m,...v){if(t.apply(this,arguments)){var w=m.touches,M=w.length,P=C(this,v,m.changedTouches.length===M).event(m),k,D,U,K;for(Wn(m),D=0;D<M;++D)U=w[D],K=Kt(U,this),K=[K,this.__zoom.invert(K),U.identifier],P.touch0?!P.touch1&&P.touch0[2]!==K[2]&&(P.touch1=K,P.taps=0):(P.touch0=K,k=!0,P.taps=1+!!u);u&&(u=clearTimeout(u)),k&&(P.taps<2&&(f=K[0],u=setTimeout(function(){u=null},p)),nn(this),P.start())}}function G(m,...v){if(this.__zooming){var w=C(this,v).event(m),M=m.changedTouches,P=M.length,k,D,U,K;for(he(m),k=0;k<P;++k)D=M[k],U=Kt(D,this),w.touch0&&w.touch0[2]===D.identifier?w.touch0[0]=U:w.touch1&&w.touch1[2]===D.identifier&&(w.touch1[0]=U);if(D=w.that.__zoom,w.touch1){var X=w.touch0[0],Q=w.touch0[1],Y=w.touch1[0],vt=w.touch1[1],yt=(yt=Y[0]-X[0])*yt+(yt=Y[1]-X[1])*yt,Et=(Et=vt[0]-Q[0])*Et+(Et=vt[1]-Q[1])*Et;D=S(D,Math.sqrt(yt/Et)),U=[(X[0]+Y[0])/2,(X[1]+Y[1])/2],K=[(Q[0]+vt[0])/2,(Q[1]+vt[1])/2]}else if(w.touch0)U=w.touch0[0],K=w.touch0[1];else return;w.zoom("touch",n(y(D,U,K),w.extent,a))}}function Z(m,...v){if(this.__zooming){var w=C(this,v).event(m),M=m.changedTouches,P=M.length,k,D;for(Wn(m),h&&clearTimeout(h),h=setTimeout(function(){h=null},p),k=0;k<P;++k)D=M[k],w.touch0&&w.touch0[2]===D.identifier?delete w.touch0:w.touch1&&w.touch1[2]===D.identifier&&delete w.touch1;if(w.touch1&&!w.touch0&&(w.touch0=w.touch1,delete w.touch1),w.touch0)w.touch0[1]=this.__zoom.invert(w.touch0[0]);else if(w.end(),w.taps===2&&(D=Kt(D,this),Math.hypot(f[0]-D[0],f[1]-D[1])<b)){var U=Dt(this).on("dblclick.zoom");U&&U.apply(this,arguments)}}}return x.wheelDelta=function(m){return arguments.length?(r=typeof m=="function"?m:We(+m),x):r},x.filter=function(m){return arguments.length?(t=typeof m=="function"?m:We(!!m),x):t},x.touchable=function(m){return arguments.length?(i=typeof m=="function"?m:We(!!m),x):i},x.extent=function(m){return arguments.length?(e=typeof m=="function"?m:We([[+m[0][0],+m[0][1]],[+m[1][0],+m[1][1]]]),x):e},x.scaleExtent=function(m){return arguments.length?(o[0]=+m[0],o[1]=+m[1],x):[o[0],o[1]]},x.translateExtent=function(m){return arguments.length?(a[0][0]=+m[0][0],a[1][0]=+m[1][0],a[0][1]=+m[0][1],a[1][1]=+m[1][1],x):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},x.constrain=function(m){return arguments.length?(n=m,x):n},x.duration=function(m){return arguments.length?(s=+m,x):s},x.interpolate=function(m){return arguments.length?(l=m,x):l},x.on=function(){var m=c.on.apply(c,arguments);return m===c?x:m},x.clickDistance=function(m){return arguments.length?(A=(m=+m)*m,x):Math.sqrt(A)},x.tapDistance=function(m){return arguments.length?(b=+m,x):b},x}function oo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ee(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};
1e%2?oo(Object(n),!0).forEach(function(r){zf(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function jr(t){"@babel/helpers - typeof";return jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jr(t)}function zf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mt(){return mt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},mt.apply(this,arguments)}function Of(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function _t(t,e){if(t==null)return{};var n=Of(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ot(t,e){return If(t)||Lf(t,e)||Df(t,e)||$f()}function If(t){if(Array.isArray(t))return t}function Lf(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(t);!(i=(a=n.next()).done)&&(r.push(a.value),!(e&&r.length===e));i=!0);}catch(l){o=!0,s=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Df(t,e){if(t){if(typeof t=="string")return ao(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ao(t,e)}}function ao(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function $f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ff=["width","height","projection","projectionConfig"],Uf=Go,Hf=_t(nu,["geoPath"]),Ot=L.createContext(),Bf=function(e){var n=e.projectionConfig,r=n===void 0?{}:n,i=e.projection,o=i===void 0?"geoEqualEarth":i,a=e.width,s=a===void 0?800:a,l=e.height,c=l===void 0?600:l,u=typeof o=="function";if(u)return o;var f=Hf[o]().translate([s/2,c/2]),h=[f.center?"center":null,f.rotate?"rotate":null,f.scale?"scale":null,f.parallels?"parallels":null];return h.forEach(function(p){p&&(f=f[p](r[p]||f[p]()))}),f},_a=function(e){var n=e.width,r=e.height,i=e.projection,o=e.projectionConfig,a=_t(e,Ff),s=o.center||[],l=ot(s,2),c=l[0],u=l[1],f=o.rotate||[],h=ot(f,3),p=h[0],d=h[1],A=h[2],b=o.parallels||[],x=ot(b,2),S=x[0],y=x[1],g=o.scale||null,E=L.useMemo(function(){return Bf({projectionConfig:{center:c||c===0||u||u===0?[c,u]:null,rotate:p||p===0||d||d===0?[p,d,A]:null,parallels:S||S===0||y||y===0?[S,y]:null,scale:g},projection:i,width:n,height:r})},[n,r,i,c,u,p,d,A,S,y,g]),C=L.useCallback(E,[E]),R=L.useMemo(function(){return{width:n,height:r,projection:C,path:Uf().projection(C)}},[n,r,C]);return rt.createElement(Ot.Provider,mt({value:R},a))};_a.propTypes={width:N.number,height:N.number,projection:N.oneOfType([N.string,N.func]),projectionConfig:N.object};var Gf=["width","height","projection","projectionConfig","className"],ni=L.forwardRef(function(t,e){var n=t.width,r=n===void 0?800:n,i=t.height,o=i===void 0?600:i,a=t.projection,s=a===void 0?"geoEqualEarth":a,l=t.projectionConfig,c=l===void 0?{}:l,u=t.className,f=u===void 0?"":u,h=_t(t,Gf);return rt.createElement(_a,{width:r,height:o,projection:s,projectionConfig:c},rt.createElement("svg",mt({ref:e,viewBox:"0 0 ".concat(r," ").concat(o),className:"rsm-svg ".concat(f)},h)))});ni.displayName="ComposableMap";ni.propTypes={width:N.number,height:N.number,projection:N.oneOfType([N.string,N.func]),projectionConfig:N.object,className:N.string};function so(t,e,n){var r=(t*n.k-t)/2,i=(e*n.k-e)/2;return[t/2-(r+n.x)/n.k,e/2-(i+n.y)/n.k]}function Kf(t){return fetch(t).then(function(e){if(!e.ok)throw Error(e.statusText);return e.json()}).catch(function(e){console.log("There was a problem when fetching the data: ",e)})}function uo(t,e){var n=t.type==="Topology";if(!n)return e?e(t.features||t):t.features||t;var r=au(t,t.objects[Object.keys(t.objects)[0]]).features;return e?e(r):r}function lo(t){var e=t.type==="Topology";if(!e)return null;var n=Fi(t,t.objects[Object.keys(t.objects)[0]],function(i,o){return i===o}
2),r=Fi(t,t.objects[Object.keys(t.objects)[0]],function(i,o){return i!==o});return{outline:n,borders:r}}function Zf(t,e,n){return t&&e?{outline:ee(ee({},t),{},{rsmKey:"outline",svgPath:n(t)}),borders:ee(ee({},e),{},{rsmKey:"borders",svgPath:n(e)})}:{}}function Qf(t,e){return t?t.map(function(n,r){return ee(ee({},n),{},{rsmKey:"geo-".concat(r),svgPath:e(n)})}):[]}function Wf(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:30,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:30,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,r=Array.isArray(n)?n:[n,n],i=t/2*r[0],o=e/2*r[1];return"M".concat(0,",",0," Q",-t/2-i,",").concat(-e/2+o," ").concat(-t,",").concat(-e)}function Xf(t){return typeof t=="string"}function Yf(t){var e=t.geography,n=t.parseGeographies,r=L.useContext(Ot),i=r.path,o=L.useState({}),a=ot(o,2),s=a[0],l=a[1];L.useEffect(function(){(typeof window>"u"?"undefined":jr(window))!=="undefined"&&e&&(Xf(e)?Kf(e).then(function(p){p&&l({geographies:uo(p,n),mesh:lo(p)})}):l({geographies:uo(e,n),mesh:lo(e)}))},[e,n]);var c=L.useMemo(function(){var p=s.mesh||{},d=Zf(p.outline,p.borders,i);return{geographies:Qf(s.geographies,i),outline:d.outline,borders:d.borders}},[s,i]),u=c.geographies,f=c.outline,h=c.borders;return{geographies:u,outline:f,borders:h}}var Vf=["geography","children","parseGeographies","className"],ri=L.forwardRef(function(t,e){var n=t.geography,r=t.children,i=t.parseGeographies,o=t.className,a=o===void 0?"":o,s=_t(t,Vf),l=L.useContext(Ot),c=l.path,u=l.projection,f=Yf({geography:n,parseGeographies:i}),h=f.geographies,p=f.outline,d=f.borders;return rt.createElement("g",mt({ref:e,className:"rsm-geographies ".concat(a)},s),h&&h.length>0&&r({geographies:h,outline:p,borders:d,path:c,projection:u}))});ri.displayName="Geographies";ri.propTypes={geography:N.oneOfType([N.string,N.object,N.array]),children:N.func,parseGeographies:N.func,className:N.string};var Jf=["geography","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],ii=L.forwardRef(function(t,e){var n=t.geography,r=t.onMouseEnter,i=t.onMouseLeave,o=t.onMouseDown,a=t.onMouseUp,s=t.onFocus,l=t.onBlur,c=t.style,u=c===void 0?{}:c,f=t.className,h=f===void 0?"":f,p=_t(t,Jf),d=L.useState(!1),A=ot(d,2),b=A[0],x=A[1],S=L.useState(!1),y=ot(S,2),g=y[0],E=y[1];function C(G){E(!0),r&&r(G)}function R(G){E(!1),b&&x(!1),i&&i(G)}function z(G){E(!0),s&&s(G)}function $(G){E(!1),b&&x(!1),l&&l(G)}function F(G){x(!0),o&&o(G)}function I(G){x(!1),a&&a(G)}return rt.createElement("path",mt({ref:e,tabIndex:"0",className:"rsm-geography ".concat(h),d:n.svgPath,onMouseEnter:C,onMouseLeave:R,onFocus:z,onBlur:$,onMouseDown:F,onMouseUp:I,style:u[b||g?b?"pressed":"hover":"default"]},p))});ii.displayName="Geography";ii.propTypes={geography:N.object,onMouseEnter:N.func,onMouseLeave:N.func,onMouseDown:N.func,onMouseUp:N.func,onFocus:N.func,onBlur:N.func,style:N.object,className:N.string};var th=L.memo(ii),eh=["fill","stroke","step","className"],oi=L.forwardRef(function(t,e){var n=t.fill,r=n===void 0?"transparent":n,i=t.stroke,o=i===void 0?"currentcolor":i,a=t.step,s=a===void 0?[10,10]:a,l=t.className,c=l===void 0?"":l,u=_t(t,eh),f=L.useContext(Ot),h=f.path;return rt.createElement("path",mt({ref:e,d:h(qr().step(s)()),fill:r,stroke:o,className:"rsm-graticule ".concat(c)},u))});oi.displayName="Graticule";oi.propTypes={fill:N.string,stroke:N.string,step:N.array,className:N.string};L.memo(oi);var nh=["value"],rh=L.createContext(),ih={x:0,y:0,k:1,transformString:"translate(0 0) scale(1)"},Ca=function(e){var n=e.value,r=n===void 0?ih:n,i=_t(e,nh);return rt.createElement(rh.Provider,mt({value:r},i))};Ca.propTypes={x:N.number,y:N.number,k:N.number,transformString:N.string};function oh(t){var e=t.center,n=t.filterZoomEvent,r=t.onMoveStart,i=t.onMoveEnd,o=t.onMove,a=t.translateExtent,s=a===void 0?[[-1/0,-1/0],[1/0,1/0]]:a,l=t.scaleExtent,c=l===void 0?[1,8]:l,u=t.zoom,f=u===void 0?1:u,h=L.useContext(Ot),p=h.width,d=h.height,A=h.projection,b=ot(e,2),x=b[0],S=b[1],y=L.useState({x:0,y:0,k:1}),g=ot(y,2),E=g[0],C=g[1],R=L.useRef({x:0,y:0,k:1}),z=L.useRef(),$=L.useRef(),F=L.useRef(!1),I=ot(s,2),G=I[0],Z=I[1],m=ot(G,2),v=m[0],w=m[1],M=ot
2(Z,2),P=M[0],k=M[1],D=ot(c,2),U=D[0],K=D[1];return L.useEffect(function(){var X=Dt(z.current);function Q(nt){!r||F.current||r({coordinates:A.invert(so(p,d,nt.transform)),zoom:nt.transform.k},nt)}function Y(nt){if(!F.current){var Ht=nt.transform,ce=nt.sourceEvent;C({x:Ht.x,y:Ht.y,k:Ht.k,dragging:ce}),o&&o({x:Ht.x,y:Ht.y,zoom:Ht.k,dragging:ce},nt)}}function vt(nt){if(F.current){F.current=!1;return}var Ht=A.invert(so(p,d,nt.transform)),ce=ot(Ht,2),si=ce[0],ui=ce[1];R.current={x:si,y:ui,k:nt.transform.k},i&&i({coordinates:[si,ui],zoom:nt.transform.k},nt)}function yt(nt){return n?n(nt):nt?!nt.ctrlKey&&!nt.button:!1}var Et=Tf().filter(yt).scaleExtent([U,K]).translateExtent([[v,w],[P,k]]).on("start",Q).on("zoom",Y).on("end",vt);$.current=Et,X.call(Et)},[p,d,v,w,P,k,U,K,A,r,o,i,n]),L.useEffect(function(){if(!(x===R.current.x&&S===R.current.y&&f===R.current.k)){var X=A([x,S]),Q=X[0]*f,Y=X[1]*f,vt=Dt(z.current);F.current=!0,vt.call($.current.transform,ei.translate(p/2-Q,d/2-Y).scale(f)),C({x:p/2-Q,y:d/2-Y,k:f}),R.current={x,y:S,k:f}}},[x,S,f,p,d,A]),{mapRef:z,position:E,transformString:"translate(".concat(E.x," ").concat(E.y,") scale(").concat(E.k,")")}}var ah=["center","zoom","minZoom","maxZoom","translateExtent","filterZoomEvent","onMoveStart","onMove","onMoveEnd","className"],Na=L.forwardRef(function(t,e){var n=t.center,r=n===void 0?[0,0]:n,i=t.zoom,o=i===void 0?1:i,a=t.minZoom,s=a===void 0?1:a,l=t.maxZoom,c=l===void 0?8:l,u=t.translateExtent,f=t.filterZoomEvent,h=t.onMoveStart,p=t.onMove,d=t.onMoveEnd,A=t.className,b=_t(t,ah),x=L.useContext(Ot),S=x.width,y=x.height,g=oh({center:r,filterZoomEvent:f,onMoveStart:h,onMove:p,onMoveEnd:d,scaleExtent:[s,c],translateExtent:u,zoom:o}),E=g.mapRef,C=g.transformString,R=g.position;return rt.createElement(Ca,{value:{x:R.x,y:R.y,k:R.k,transformString:C}},rt.createElement("g",{ref:E},rt.createElement("rect",{width:S,height:y,fill:"transparent"}),rt.createElement("g",mt({ref:e,transform:C,className:"rsm-zoomable-group ".concat(A)},b))))});Na.displayName="ZoomableGroup";Na.propTypes={center:N.array,zoom:N.number,minZoom:N.number,maxZoom:N.number,translateExtent:N.arrayOf(N.array),onMoveStart:N.func,onMove:N.func,onMoveEnd:N.func,className:N.string};var sh=["id","fill","stroke","strokeWidth","className"],ai=L.forwardRef(function(t,e){var n=t.id,r=n===void 0?"rsm-sphere":n,i=t.fill,o=i===void 0?"transparent":i,a=t.stroke,s=a===void 0?"currentcolor":a,l=t.strokeWidth,c=l===void 0?.5:l,u=t.className,f=u===void 0?"":u,h=_t(t,sh),p=L.useContext(Ot),d=p.path,A=L.useMemo(function(){return d({type:"Sphere"})},[d]);return rt.createElement(L.Fragment,null,rt.createElement("defs",null,rt.createElement("clipPath",{id:r},rt.createElement("path",{d:A}))),rt.createElement("path",mt({ref:e,d:A,fill:o,stroke:s,strokeWidth:c,style:{pointerEvents:"none"},className:"rsm-sphere ".concat(f)},h)))});ai.displayName="Sphere";ai.propTypes={id:N.string,fill:N.string,stroke:N.string,strokeWidth:N.number,className:N.string};L.memo(ai);var uh=["coordinates","children","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],Pn=L.forwardRef(function(t,e){var n=t.coordinates,r=t.children,i=t.onMouseEnter,o=t.onMouseLeave,a=t.onMouseDown,s=t.onMouseUp,l=t.onFocus,c=t.onBlur,u=t.style,f=u===void 0?{}:u,h=t.className,p=h===void 0?"":h,d=_t(t,uh),A=L.useContext(Ot),b=A.projection,x=L.useState(!1),S=ot(x,2),y=S[0],g=S[1],E=L.useState(!1),C=ot(E,2),R=C[0],z=C[1],$=b(n),F=ot($,2),I=F[0],G=F[1];function Z(k){z(!0),i&&i(k)}function m(k){z(!1),y&&g(!1),o&&o(k)}function v(k){z(!0),l&&l(k)}function w(k){z(!1),y&&g(!1),c&&c(k)}function M(k){g(!0),a&&a(k)}function P(k){g(!1),s&&s(k)}return rt.createElement("g",mt({ref:e,transform:"translate(".concat(I,", ").concat(G,")"),className:"rsm-marker ".concat(p),onMouseEnter:Z,onMouseLeave:m,onFocus:v,onBlur:w,onMouseDown:M,onMouseUp:P,style:f[y||R?y?"pressed":"hover":"default"]},d),r)});Pn.displayName="Marker";Pn.propTypes={coordinates:N.array,children:N.oneOfType([N.node,N.arrayOf(N.node)]),onMouseEnter:N.func,onMouseLeave:N.func,onMouseDown:N.func,onMouseUp:N.func,onFocus:N.func,onBlur:N.func,style:N.object,className:N.string};var lh=["from","to","coordinates","stroke","strokeWidth","fill","className"],Ma=L.forwardRef(function(t,e){var n=t.from,r=n===void 0?[0,0]:n,i=t.to,o=i===void 0?[0,0]:i,a=t.coordinates,s=t.stroke,l=s===void 0?"currentcolor":s,c=t.strokeWidth,u=c===void 0?3:c,f=t.fill,h=f===void 0?"transparent":f,p=t.className,d=p===void 0?"":p,A=_t(t,lh),b=L.useContext(Ot),x=b.path,S={type:"LineString",coordinates:a||[r,o]};return rt.createElement("path",mt({ref:e,d:x(S),className:"rsm-line ".concat(d),stroke:l,strokeWidth:u,fill:h},A))});Ma.displayName="Line";Ma.propTypes={from:N.array,to:N.array,coordinates:N.array,stroke:N.string,
2strokeWidth:N.number,fill:N.string,className:N.string};var ch=["subject","children","connectorProps","dx","dy","curve","className"],ja=L.forwardRef(function(t,e){var n=t.subject,r=t.children,i=t.connectorProps,o=t.dx,a=o===void 0?30:o,s=t.dy,l=s===void 0?30:s,c=t.curve,u=c===void 0?0:c,f=t.className,h=f===void 0?"":f,p=_t(t,ch),d=L.useContext(Ot),A=d.projection,b=A(n),x=ot(b,2),S=x[0],y=x[1],g=Wf(a,l,u);return rt.createElement("g",mt({ref:e,transform:"translate(".concat(S+a,", ").concat(y+l,")"),className:"rsm-annotation ".concat(h)},p),rt.createElement("path",mt({d:g,fill:"transparent",stroke:"#000"},i)),r)});ja.displayName="Annotation";ja.propTypes={subject:N.array,children:N.oneOfType([N.node,N.arrayOf(N.node)]),dx:N.number,dy:N.number,curve:N.number,connectorProps:N.object,className:N.string};const fh=JSON.parse(`[{"id":"gLDYtH1RH-U","title":"Shanghai Tower (650 meters)","thumbnail":"https://i.ytimg.com/vi/gLDYtH1RH-U/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLB50relD4lQh5dQOqfwm28q8qq4UQ","views":"97,008,222 views","duration":"5:20","published":"12 years ago"},{"id":"71MAFmlZzi0","title":"Shenzhen Centre (660 meters)","thumbnail":"https://i.ytimg.com/vi/71MAFmlZzi0/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBdDN-1jfbt9DklRI_EijhwXn0jZw","views":"9,370,261 views","duration":"4:15","published":"10 years ago"},{"id":"diDLgFvq7bo","title":"The bridge on the Island Russkiy","thumbnail":"https://i.ytimg.com/vi/diDLgFvq7bo/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAv71rKApKW7NMvh0qDLTHsoBUj4w","views":"5,327,686 views","duration":"3:05","published":"13 years ago"},{"id":"x_0k_KW6Xbk","title":"Lotte World Tower (555 meters)","thumbnail":"https://i.ytimg.com/vi/x_0k_KW6Xbk/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBDEBbzBHCn9GDTi8rtgULIAsMNXQ","views":"4,926,131 views","duration":"7:00","published":"9 years ago"},{"id":"MiPSZGfUMJw","title":"Shun Hing Tower in Shenzhen","thumbnail":"https://i.ytimg.com/vi/MiPSZGfUMJw/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCQpDbHKafMblJI2XRua3v76T1Mhw","views":"3,977,250 views","duration":"2:36","published":"10 years ago"},{"id":"jJkuCzgg7fo","title":"What's up Hong Kong?","thumbnail":"https://i.ytimg.com/vi/jJkuCzgg7fo/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCWDo2XV_GXnQs8fomBRR0SuENZww","customThumbnail":"/hk.jpg","views":"3,891,361 views","duration":"4:16","published":"11 years ago"},{"id":"VOaDuwkGWbg","title":"Christ the Redeemer","thumbnail":"https://i.ytimg.com/vi/VOaDuwkGWbg/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBuWFC3j6lRVoeugc7MxiVQBpKhgw","customThumbnail":"/RIO.jpeg","views":"2,795,231 views","duration":"4:14","published":"10 years ago"},{"id":"JRuIUhK1vcc","title":"Sahara Freight","thumbnail":"https://i.ytimg.com/vi/JRuIUhK1vcc/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDAyffM8a7jPGKu6aCqpzgWkxTDHA","views":"2,637,264 views","duration":"18:18","published":"7 years ago"},{"id":"iigHLNY9UxA","title":"Two Spires (333 meters)","thumbnail":"https://i.ytimg.com/vi/iigHLNY9UxA/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBNamNpBWoa1wvzZ5g2GA0pixHxtw","views":"1,581,054 views","duration":"2:18","published":"10 years ago"},{"id":"zaC9ej30WJs","title":"The climb down (Shanghai Tower)","thumbnail":"https://i.ytimg.com/vi/zaC9ej30WJs/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAMhxM6EsZB43hvZSSBBLzWQqWX4g","views":"1,500,375 views","duration":"0:49","published":"12 years ago"},{"id":"A7j33i8mTIw","title":"South Tower, New-York","thumbnail":"https://i.ytimg.com/vi/A7j33i8mTIw/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDCRyGrZMR6ZtFT8_ZKASd3NmuctA","views":"1,468,227 views","duration":"3:31","published":"8 years ago"},{"id":"wF3gjvdgv1w","title":"Shukhov Tower","thumbnail":"https://i.ytimg.com/vi/wF3gjvdgv1w/hqdefault.jpg?sqp=-oaymwE9CNACELwBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4AdQGgALgA4oCDAgAEAEYZSBYKEgwDw==&rs=AOn4CLDh41FP3PSCyYbLHgxOGpgrCvHyyg","customThumbnail":"/shukhov.jpg","views":"1,452,354 views","duration":"1:51","published":"13 years ago"},{"id":"RbkTvfOz3CY","title":"China Resources Tower","thumbnail":"https://i.ytimg.com/vi/RbkTvfOz3CY/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAvMOXQO5TgGMS0v8bjBYH-wwQamQ","views":"1,438,048 views","duration":"6:22","published":"8 years ago"},{"id":"o3u6m6cSRT4","title":"Moscow-City (Mercury City Tower)","thumbnail":"https://i.ytimg.com/vi/o3u6m6cSRT4/hqdefault.jpg","views":"1,211,749 views","duration":"2:14","published":"11 years ago"}
2,{"id":"wf0tQr2e6cg","title":"Votivkirche, Vienna","thumbnail":"https://i.ytimg.com/vi/wf0tQr2e6cg/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDWRN3Ctm9w0aFF8PagT9zFytJnUg","views":"1,203,352 views","duration":"3:47","published":"9 years ago"},{"id":"eofiWi9hqkA","title":"Abandoned Space Complex | Baikonur","thumbnail":"https://i.ytimg.com/vi/eofiWi9hqkA/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDK0_1PeXmvA1u7EFKvbtvljHGfPg","views":"900,435 views","duration":"14:14","published":"6 years ago"},{"id":"xpp0RkXtHes","title":"Mumbai Central (320 meters)","thumbnail":"https://i.ytimg.com/vi/xpp0RkXtHes/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLD-L2IDlBL5chcxGbJmsIGiEjmemQ","views":"520,884 views","duration":"3:12","published":"6 years ago"},{"id":"eLsiuxbZJ6Y","title":"Abandoned Shpitzbergen","thumbnail":"https://i.ytimg.com/vi/eLsiuxbZJ6Y/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCw6bmYA_Mrs3ScRaMDWdkrsDT1Rw","views":"511,339 views","duration":"22:01","published":"6 years ago"},{"id":"LSZdGo5dPOg","title":"Above Manhattan","thumbnail":"https://i.ytimg.com/vi/LSZdGo5dPOg/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAoAsxQj5HKZtEzke9ZRO7q-z_Edw","views":"444,731 views","duration":"3:09","published":"8 years ago"},{"id":"EUKCws9oU_4","title":"Aniva Lighthouse","thumbnail":"https://i.ytimg.com/vi/EUKCws9oU_4/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAkB3EkS-q_FO
2VTB2MHjpXxO2C--A","views":"347,596 views","duration":"1:16","published":"7 years ago"},{"id":"7r8Kl3r3k_4","title":"Ontheroofs | New York vol. 2","thumbnail":"https://i.ytimg.com/vi/7r8Kl3r3k_4/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDO_QoxKF81J7Kc79iWTz0fprbHPw","views":"330,958 views","duration":"4:21","published":"5 years ago"},{"id":"uWEmigEli2g","title":"Ekranoplan Lun and Dagdiesel Plant","thumbnail":"https://i.ytimg.com/vi/uWEmigEli2g/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLALAYM_-ZukTvG5Zp4CnRWjhZ29dg","views":"278,867 views","duration":"15:51","published":"5 years ago"},{"id":"JdV6H3gTd3E","title":"New York High Times","thumbnail":"https://i.ytimg.com/vi/JdV6H3gTd3E/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDFMNzz6nO3n2FjfzPWcPII65bStQ","views":"259,019 views","duration":"8:54","published":"2 years ago"},{"id":"kpMbBn4FNoQ","title":"Ontheroofs | New-York vol.1","thumbnail":"https://i.ytimg.com/vi/kpMbBn4FNoQ/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLA-T-BwKouGTwpY3qd8uvP1nxbiJQ","views":"252,267 views","duration":"1:51","published":"5 years ago"},{"id":"nXMSDrZGK4I","title":"Bank of America Tower","thumbnail":"https://i.ytimg.com/vi/nXMSDrZGK4I/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLB6A7RY7REohi2haB5U66-vK9T9lg","views":"245,907 views","duration":"7:38","published":"1 year ago"},{"id":"AwgV_ugpoc8","title":"Chernobyl Exclusion Zone | Pripyat","thumbnail":"https://i.ytimg.com/vi/AwgV_ugpoc8/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCKYF1ukz0qd492AhCre9OmXz6swQ","views":"189,197 views","duration":"14:49","published":"5 years ago"},{"id":"6d9wzI3mbmQ","title":"Varso Tower | The tallest building in EU","thumbnail":"https://i.ytimg.com/vi/6d9wzI3mbmQ/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLA5VztR7f6SVVSESnesnD9mDbDU7w","views":"119,263 views","duration":"3:03","published":"3 years ago"},{"id":"FvQdefZXHjQ","title":"On The Roofs: Monterrey","thumbnail":"https://i.ytimg.com/vi/FvQdefZXHjQ/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDN_DhAAQiiydZGh2fp2PEC97NeIQ","views":"104,555 views","duration":"9:24","published":"2 years ago"},{"id":"tSTZOc8MvSc","title":"On The Roofs: Mexico City vol. 2","thumbnail":"https://i.ytimg.com/vi/tSTZOc8MvSc/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDiTA9gCaAzTPJQGwQFDkIBRKqIzw","views":"96,333 views","duration":"4:26","published":"3 years ago"},{"id":"ARnfW4AsRRE","title":"On The Roofs: Strasbourg Cathedral","thumbnail":"https://i.ytimg.com/vi/ARnfW4AsRRE/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCTTpzCBU92Jrlnipjhue0CQwW1gA","views":"66,701 views","duration":"3:36","published":"2 years ago"},{"id":"kzE7Uty98hk","title":"On The Roofs: Mexico City vol. 1","thumbnail":"https://i.ytimg.com/vi/kzE7Uty98hk/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLA85BuL12mKmdSldbHG12o5u0xrng","views":"65,527 views","duration":"3:14","published":"3 years ago"}]`),Xn=JSON.parse(`[{"id":"hong-kong","name":"Hong Kong","coordinates":[114.1694,22.3193],"title":"The Billboard Hack","description":"Hacked a prominent digital billboard atop a skyscraper, cementing the On The Roofs legacy in Asia's vertical metropolis.","thumbnail":"/hk.jpg","stats":{"height":"230m","security":"High","timeOnSite":"6 Hours","temperature":"28°C"}},{"id":"shanghai","name":"Shanghai","coordinates":[121.4737,31.2304],"title":"Shanghai Tower","description":"Scaled the world's second tallest building (650m) while it was still under construction, creating a global viral sensation.","thumbnail":"/shanghai.jpeg","stats":{"height":"650m","security":"Extreme","timeOnSite":"14 Hours","temperature":"-15°C"}},{"id":"paris","name":"Paris","coordinates":[2.3522,48.8566],"title":"Eiffel & Notre Dame","description":"Silent shadows across Paris discovering unseen angles from structural icons of France.","thumbnail":"/hero-crane.jpg","stats":{"height":"324m","security":"High","timeOnSite":"8 Hours","temperature":"12°C"}},{"id":"chernobyl","name":"Chernobyl","coordinates":[30.2219,51.2763],"title":"Exclusion Zone","description":"Exploring and documenting the hauntingly abandoned city of Pripyat and the Duga radar.","thumbnail":"https://i.ytimg.com/vi/AwgV_ugpoc8/hqdefault.jpg","stats":{"height":"150m","security":"Extreme","t
2imeOnSite":"48 Hours","temperature":"-2°C"}},{"id":"seoul","name":"Seoul","coordinates":[126.978,37.5665],"title":"Lotte World Tower","description":"Climbed the 555-meter skyscraper taking on extreme security details.","thumbnail":"https://i.ytimg.com/vi/x_0k_KW6Xbk/hqdefault.jpg","stats":{"height":"555m","security":"Extreme","timeOnSite":"12 Hours","temperature":"5°C"}},{"id":"dubai","name":"Dubai","coordinates":[55.2708,25.2048],"title":"Above the Clouds","description":"Conquering the gleaming towers of the Middle East amidst a thick morning fog.","thumbnail":"/Photos/dubai.jpg","stats":{"height":"400m","security":"Medium","timeOnSite":"5 Hours","temperature":"35°C"}},{"id":"cairo","name":"Cairo","coordinates":[31.2357,30.0444],"title":"The Great Pyramid","description":"Touched history by scaling the Great Pyramid of Giza under the cover of night.","thumbnail":"/previews/Cairo.jpg","stats":{"height":"138m","security":"Extreme","timeOnSite":"7 Hours","temperature":"18°C"}},{"id":"shenzhen","name":"Shenzhen","coordinates":[114.0579,22.5431],"title":"Shun Hing Square","description":"Penetrating one of Shenzhen's most recognizable and tallest steel monoliths.","thumbnail":"https://i.ytimg.com/vi/MiPSZGfUMJw/hqdefault.jpg","stats":{"height":"384m","security":"High","timeOnSite":"9 Hours","temperature":"25°C"}},{"id":"mumbai","name":"Mumbai","coordinates":[72.8777,19.076],"title":"Mumbai Highrises","description":"A dense urban jungle yielding some of the most vibrant perspectives.","thumbnail":"https://i.ytimg.com/vi/xpp0RkXtHes/hqdefault.jpg","stats":{"height":"320m","security":"Medium","timeOnSite":"4 Hours","temperature":"32°C"}},{"id":"rio","name":"Rio de Janeiro","coordinates":[-43.1729,-22.9068],"title":"Christ the Redeemer","description":"Capturing epic heights across the legendary Brazilian coastline.","thumbnail":"/RIO.jpeg","stats":{"height":"38m","security":"High","timeOnSite":"6 Hours","temperature":"22°C"}},{"id":"new-york","name":"New York City","coordinates":[-74.006,40.7128],"title":"Times Square Edge","description":"Looking vertically down at the crossroads of the world.","thumbnail":"https://i.ytimg.com/vi/LSZdGo5dPOg/hqdefault.jpg","stats":{"height":"472m","security":"High","timeOnSite":"10 Hours","temperature":"4°C"}},{"id":"island-russkiy","name":"Vladivostok","coordinates":[131.88,43.05],"title":"The bridge on the Island Russkiy","description":"Exploration of the Russkiy Island Bridge.","thumbnail":"https://i.ytimg.com/vi/diDLgFvq7bo/hqdefault.jpg","stats":{"height":"324m","security":"High","timeOnSite":"5 Hours","temperature":"-5°C"}},{"id":"sahara-freight","name":"Mauritania","coordinates":[-9,21],"title":"Sahara Freight","description":"Riding the iron ore train across the Sahara Desert.","thumbnail":"https://i.ytimg.com/vi/JRuIUhK1vcc/hqdefault.jpg","stats":{"height":"Train","security":"High","timeOnSite":"15 Hours","temperature":"40°C"}},{"id":"shukhov-tower","name":"Moscow","coordinates":[37.61,55.71],"title":"Shukhov Tower","description":"Ascending the iconic Shukhov radio tower.","thumbnail":"/shukhov.jpg","stats":{"height":"160m","security":"High","timeOnSite":"4 Hours","temperature":"5°C"}},{"id":"votivkirche-vienna","name":"Vienna","coordinates":[16.36,48.21],"title":"Votivkirche, Vienna","description":"Scaling the spires of the Votivkirche in Vienna.","thumbnail":"https://i.ytimg.com/vi/wf0tQr2e6cg/hqdefault.jpg","stats":{"height":"99m","security":"Medium","timeOnSite":"3 Hours","temperature":"12°C"}},{"id":"baikonur","name":"Baikonur","coordinates":[63.3,45.96],"title":"Abandoned Space Complex","description":"Infiltrating the abandoned Buran space shuttles in Baikonur.","thumbnail":"https://i.ytimg.com/vi/eofiWi9hqkA/hqdefault.jpg","stats":{"height":"Ground","security":"Extreme","timeOnSite":"24 Hours","temperature":"35°C"}},{"id":"shpitzbergen","name":"Svalbard","coordinates":[15.64,78.22],"title":"Abandoned Shpitzbergen","description":"Exploring ghost towns in the frozen archipelago of Svalbard.","thumbnail":"https://i.ytimg.com/vi/eLsiuxbZJ6Y/hqdefault.jpg","stats":{"height":"Varies","security":"Low","timeOnSite":"48 Hours","temperature":"-20°C"}},{"id":"aniva","name":"Sakhalin","coordinates":[143.41,46.01],"title":"Aniva Lighthouse","description":"The abandoned nuclear Aniva lighthouse on the edge of Russia.","thumbnail":"https://i.ytimg.com/vi/EUKCws9oU_4/hqdefault.jpg","stats":{"height":"31m","security":"Medium","timeOnSite":"8 Hours","temperature":"5°C"}},{"id":"lun","name":"Dagestan","coordinates":[47.64,42.88],"title":"Ekranoplan Lun","description":"The Caspian Sea Monster and the abandoned Dagdiesel Plant.","thumbnail":"https://i.ytimg.com/vi/uWEmigEli2g/hqdefault.jpg","stats":{"height":"19m","security":"High","timeOnSite":"6 Hours","temperature":"25°C"}},{"id":"varso","name":"Warsaw","coordinates":[21,52.22],"title":"Varso Tower","description":"The tallest building in the EU.","thumbnail":"https://i.ytimg.com/vi/6d9wzI3mbmQ/hqdefault.jpg","stats":{"height":"310m","security":"Extreme","t
2imeOnSite":"8 Hours","temperature":"10°C"}},{"id":"monterrey","name":"Monterrey","coordinates":[-100.31,25.68],"title":"On The Roofs: Monterrey","description":"Reaching the summits of Mexico's industrial capital.","thumbnail":"https://i.ytimg.com/vi/FvQdefZXHjQ/hqdefault.jpg","stats":{"height":"280m","security":"High","timeOnSite":"6 Hours","temperature":"30°C"}},{"id":"mexico-city","name":"Mexico City","coordinates":[-99.13,19.43],"title":"On The Roofs: Mexico City","description":"Ascending the highrises of CDMX.","thumbnail":"https://i.ytimg.com/vi/kzE7Uty98hk/hqdefault.jpg","stats":{"height":"246m","security":"High","timeOnSite":"5 Hours","temperature":"22°C"}},{"id":"strasbourg","name":"Strasbourg","coordinates":[7.75,48.58],"title":"Strasbourg Cathedral","description":"On The Roofs: Strasbourg Cathedral.","thumbnail":"https://i.ytimg.com/vi/ARnfW4AsRRE/hqdefault.jpg","stats":{"height":"142m","security":"High","timeOnSite":"4 Hours","temperature":"15°C"}},{"id":"barcelona","name":"Barcelona","coordinates":[2.1744,41.4036],"title":"Sagrada Família","description":"Navigating the cranes and scaffolding of Antoni Gaudí's masterpiece.","thumbnail":"/hero-crane.jpg","stats":{"height":"170m","security":"Extreme","timeOnSite":"6 Hours","temperature":"18°C"}},{"id":"ping-an","name":"Shenzhen (Ping An)","coordinates":[114.0559,22.5333],"title":"Ping An Finance Centre","description":"Scaling the 600m mega-tall skyscraper in Shenzhen.","thumbnail":"/previews/shenzhen.jpeg","stats":{"height":"600m","security":"Extreme","timeOnSite":"10 Hours","temperature":"28°C"}},{"id":"cairo","name":"Cairo","coordinates":[31.1342,29.9792],"title":"Great Pyramid of Giza","description":"Scaling the 4,500-year-old blocks of the Cheops Pyramid at night.","thumbnail":"/previews/Cairo.jpg","stats":{"height":"138m","security":"High","timeOnSite":"8 Hours","temperature":"25°C"}},{"id":"mercury-tower","name":"Moscow","coordinates":[37.5372,55.7505],"title":"Mercury City Tower","description":"Ascending the then-tallest building in Europe (339m) in the heart of the Moscow International Business Center.","thumbnail":"https://i.ytimg.com/vi/o3u6m6cSRT4/hqdefault.jpg","stats":{"height":"339m","security":"High","timeOnSite":"5 Hours","temperature":"10°C"}}]`),hh="https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json";function ph({videoId:t,title:e,onClose:n}){return L.useEffect(()=>{document.body.style.overflow="hidden";const r=i=>{i.key==="Escape"&&n()};return window.addEventListener("keydown",r),()=>{document.body.style.overflow="unset",window.removeEventListener("keydown",r)}},[n]),_.jsxs(pt.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"fixed inset-0 z-[100] bg-black/97 backdrop-blur-xl flex flex-col items-center justify-center",onClick:n,children:[_.jsxs("div",{className:"absolute top-0 left-0 right-0 flex items-center justify-between px-6 md:px-10 py-6 z-10",children:[_.jsxs("div",{className:"flex flex-col",children:[_.jsx("p",{className:"font-sans text-[10px] text-white/30 tracking-[0.3em] uppercase mb-1",children:"Now Playing"}),_.jsx("h2",{className:"font-display text-base md:text-xl font-bold text-white/90 tracking-tight line-clamp-1 max-w-xl",children:e})]}),_.jsxs("div",{className:"flex items-center gap-4",children:[_.jsxs("a",{href:`https://www.youtube.com/watch?v=${t}`,target:"_blank",rel:"noopener noreferrer",onClick:r=>r.stopPropagation(),className:"flex items-center gap-2 font-sans text-xs font-bold tracking-widest text-white/40 hover:text-white transition-colors uppercase",children:[_.jsx(Da,{size:14}),"YouTube"]}),_.jsx("button",{onClick:n,className:"w-10 h-10 flex items-center justify-center text-white/40 hover:text-white hover:bg-white/10 rounded-full transition-all duration-200",children:_.jsx(co,{size:20})})]})]}),_.jsx(pt.div,{initial:{opacity:0,scale:.96,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.96,y:20},transition:{duration:.4,ease:[.16,1,.3,1]},className:"w-full max-w-6xl px-4 md:px-10",onClick:r=>r.stopPropagation(),children:_.jsx("div",{className:"relative w-full",style:{paddingBottom:"56.25%"},children:_.jsx("iframe",{className:"absolute inset-0 w-full h-full rounded-xl shadow-[0_0_80px_rgba(0,0,0,0.8)] border border-white/5",src:`https://www.youtube.com/embed/${t}?autoplay=1&rel=0&modestbranding=1&color=red`,title:e,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowFullScreen:!0})})}),_.jsx("p",{className:"absolute bottom-8 font-sans text-[10px] text-white/20 tracking-[0.3em] uppercase",children:"Press ESC to close"})]})}function wh(){var A,b,x,S,y;const[t,e]=L.useState(null),[n,r]=L.useState(""),[i,o]=L.useState(null),[a,s]=L.useState(0),[l,c]=L.useState(null),{dict:u}=Ra(),f=Pa(),h=g=>Xn.filter(E=>E.name===g),p=g=>({varso:"/missions/varso","ready-for-more":"/missions/ready-for-more","new-york":"/missions/new-york","hong-kong":"/missions/hong-kong","votivkirche-vienna":"/missions/vienna","shun-hing":"/missions/shun-hing","sahara-freight":"/missions/sahara"})[g],d=g=>{o(g),s(0)};return _.jsxs(_.Fragment,{children:[_.jsxs(qa,{children:[_.jsx("title",{children:"Missions — OnTheRoofs | 150+ Structures Across 42 Countries"}),_.jsx("meta",{name:"description",content:"Missions — OnTheRoofs | 150+ Structures Across 42 Countries"})]}),_.jsxs("div",{className:"bg-[#050505] min-h-screen pt-32 pb-24 px-6 md:px-12 text-white relative overflow-x-hidden",children:[_.jsxs("div",{className:"max-w-[1800px] mx-auto",children:[_.jsxs("div",{className:"mb-32 md:mb-48 relative min-h-[60vh] md:min-h-[80vh] flex flex-col items-center justify-center border-b border-white/10 pb-20",children:[_.jsxs("div",{className:"absolute top-0 left-0 z-10 pointer-events-none w-full",children:[_.jsx(pt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"font-display text-5xl md:text-7xl lg:text-8xl font-bold tracking-tighter leading-none mb-4",children:u.missions.title}),_.jsx(pt.div,{initial:{opacity:0,scaleX:0},animate:{opacity:1,scaleX:1},transition:{duration:1,delay:.4},className:"w-16 h-1 bg-red-600 mb-4 origin-left"}),_.jsx(pt.p,{initial:{opacity:0}
2,animate:{opacity:1},transition:{duration:.8,delay:.2},className:"text-gray-400 font-sans text-xs md:text-sm tracking-[0.2em] uppercase font-bold max-w-xl",children:"Global scale of exploration. Select a mission point to view details."})]}),_.jsx(pt.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.8,delay:.6},className:"absolute bottom-8 left-0 z-10 pointer-events-none flex flex-col gap-4 md:gap-6 font-mono text-xs md:text-sm",children:[{label:((A=u.missions.stats)==null?void 0:A.continents)||"CONTINENTS",value:"6"},{label:((b=u.missions.stats)==null?void 0:b.countries)||"COUNTRIES VISITED",value:"42"},{label:((x=u.missions.stats)==null?void 0:x.structures)||"STRUCTURES CLIMBED",value:"150+"},{label:((S=u.missions.stats)==null?void 0:S.highest)||"HIGHEST ASCENT",value:"660m"},{label:((y=u.missions.stats)==null?void 0:y.years)||"YEARS ACTIVE",value:"SINCE 2011"}].map((g,E)=>_.jsxs("div",{className:"flex flex-col border-l border-red-600 pl-4 backdrop-blur-sm bg-black/20 py-1 pr-6 rounded-r",children:[_.jsx("span",{className:"text-gray-500 font-bold tracking-[0.2em] text-[10px] uppercase leading-none mb-1",children:g.label}),_.jsx("span",{className:"text-white text-lg md:text-xl font-bold tracking-tighter leading-none",children:g.value})]},E))}),_.jsx(pt.div,{initial:{opacity:0}
2,animate:{opacity:1},transition:{duration:1.5,delay:.2},className:"w-full absolute inset-0 top-32 lg:top-16 pt-8 z-0 flex items-center justify-center pointer-events-auto",children:_.jsxs(ni,{projection:"geoMercator",projectionConfig:{scale:140,center:[0,20]},className:"w-full h-full max-h-[70vh] outline-none",children:[_.jsx(ri,{geography:hh,children:({geographies:g})=>g.map(E=>_.jsx(th,{geography:E,fill:"#111114",stroke:"#ffffff",strokeWidth:.2,strokeOpacity:.1,style:{default:{outline:"none"},hover:{fill:"#16161b",outline:"none"},pressed:{fill:"#111114",outline:"none"}}},E.rsmKey))}),Xn.map(g=>_.jsx(Pn,{coordinates:g.coordinates,children:_.jsxs("g",{className:"cursor-pointer",onMouseEnter:()=>c(g.id),onMouseLeave:()=>c(null),onClick:()=>d(g),children:[_.jsx("circle",{r:l===g.id||(i==null?void 0:i.id)===g.id?6:4,fill:"#dc2626",className:"transition-all duration-300"}),_.jsx("circle",{r:l===g.id||(i==null?void 0:i.id)===g.id?14:4,fill:"transparent",stroke:"#dc2626",strokeWidth:1,className:`transition-all duration-300 ${l===g.id||(i==null?void 0:i.id)===g.id?"opacity-100 animate-pulse":"opacity-0"}`})]})},g.id)),Xn.map(g=>{if(l===g.id||(i==null?void 0:i.id)===g.id){const C=g.id==="shpitzbergen"?10:-90;return _.jsx(Pn,{coordinates:g.coordinates,className:"pointer-events-none",children:_.jsxs("g",{transform:`translate(0, ${C})`,children:[_.jsx("rect",{x:-80,y:-22,width:160,height:44,rx:4,fill:"black",fillOpacity:.4,transform:"translate(2, 2)"}),_.jsx("rect",{x:-80,y:-22,width:160,height:44,rx:4,fill:"#0a0a0c",stroke:"rgba(255,255,255,0.1)",strokeWidth:1}),_.jsx("rect",{x:-80,y:-22,width:160,height:20,rx:4,fill:"#dc2626"}),_.jsx("text",{y:-9,textAnchor:"middle",fill:"white",style:{fontSize:"9px",fontWeight:"900",fontFamily:"system-ui, -apple-system, sans-serif",textTransform:"uppercase",letterSpacing:"0.1em"},children:g.name}),_.jsxs("text",{y:11,textAnchor:"middle",fill:"rgba(255,255,255,0.7)",style:{fontSize:"8px",fontFamily:"ui-monospace, monospace",letterSpacing:"0.05em"},children:[Math.abs(g.coordinates[1]).toFixed(4),"°",g.coordinates[1]>=0?"N":"S",", ",Math.abs(g.coordinates[0]).toFixed(4),"°",g.coordinates[0]>=0?"E":"W"]})]})},`tooltip-${g.id}`)}return null})]})})]}),_.jsxs("div",{className:"mb-16 md:mb-24 flex flex-col items-start relative z-10",children:[_.jsx(pt.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"font-display text-4xl md:text-5xl lg:text-6xl font-bold tracking-tighter leading-none mb-4",children:"Video Archive"}),_.jsx(pt.div,{initial:{opacity:0,scaleX:0},whileInView:{opacity:1,scaleX:1},viewport:{once:!0},transition:{duration:1,delay:.2},className:"w-16 h-1 bg-red-600 mb-4 origin-left"})]}),_.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 gap-y-16 relative z-10",children:fh.map((g,E)=>_.jsxs(pt.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:E%4*.1},className:"group flex flex-col cursor-pointer",onClick:()=>{e(g.id),r(g.title)},children:[_.jsxs("div",{className:"relative aspect-video rounded-xl overflow-hidden mb-5 bg-gray-900 border border-white/10 shadow-2xl",children:[_.jsx("img",{src:g.customThumbnail||`https://img.youtube.com/vi/${g.id}/maxresdefault.jpg`,alt:g.title,loading:"lazy",onError:C=>{const R=C.currentTarget;!g.customThumbnail&&!R.src.includes("hqdefault")&&(R.src=`https://img.youtube.com/vi/${g.id}/hqdefault.jpg`)},className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-out"}),_.jsx("div",{className:"absolute bottom-3 right-3 bg-black/80 backdrop-blur-sm text-white text-xs font-sans font-bold px-2 py-1 rounded",children:g.duration}),_.jsx("div",{className:"absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center",children:_.jsx("div",{className:"bg-red-600 rounded-full p-4 transform scale-75 group-hover:scale-100 transition-transform duration-300 shadow-[0_0_30px_rgba(220,38,38,0.5)]",children:_.jsx(Ta,{fill:"white",size:24,className:"ml-1"})})})]}),_.jsxs("div",{className:"flex flex-col flex-grow",children:[_.jsx("h3",{className:"font-display text-xl md:text-2xl font-bold tracking-tight mb-2 group-hover:text-red-500 transition-colors line-clamp-2",children:g.title}),_.jsxs("div",{className:"flex items-center gap-3 text-sm font-sans text-gray-400 mt-1 font-semibold",children:[_.jsx("span",{children:g.views}),_.jsx("span",{className:"w-1 h-1 rounded-full bg-gray-600"}),_.jsx("span",{children:g.published})]})]})]},g.id))})]}),_.jsx(li,{children:t&&_.jsx(ph,{videoId:t,title:n,onClose:()=>{e(null),r("")}})}),_.jsx(li,{children:i&&_.jsx(pt.div,{initial:{opacity:0,x:20}
2,animate:{opacity:1,x:0},exit:{opacity:0,x:20},transition:{type:"spring",stiffness:200,damping:25},className:"fixed bottom-6 right-6 md:right-12 md:bottom-12 w-full max-w-[340px] md:max-w-sm bg-[#0a0a0c] border border-white/10 p-1 shadow-2xl z-50 pointer-events-auto",children:(()=>{const g=h(i.name),E=g[a]||i,C=g.length>1;return _.jsxs("div",{className:"relative group overflow-hidden bg-black pb-6",children:[_.jsx("button",{onClick:()=>o(null),className:"absolute top-4 right-4 z-20 w-8 h-8 flex items-center justify-center bg-black/60 hover:bg-red-600 text-white rounded-full transition-colors backdrop-blur-sm",children:_.jsx(co,{size:16})}),C&&_.jsxs("div",{className:"absolute top-4 left-4 z-20 flex items-center gap-2 bg-black/60 backdrop-blur-sm px-3 py-1.5 rounded-full border border-white/10",children:[_.jsx("button",{onClick:R=>{R.stopPropagation(),s(z=>z>0?z-1:g.length-1)},className:"text-white/40 hover:text-white transition-colors",children:_.jsx(Oa,{size:16})}),_.jsxs("span",{className:"font-mono text-[10px] text-white/90 font-bold tracking-widest whitespace-nowrap",children:[a+1," / ",g.length]}),_.jsx("button",{onClick:R=>{R.stopPropagation(),s(z=>z<g.length-1?z+1:0)},className:"text-white/40 hover:text-white transition-colors",children:_.jsx(za,{size:16})})]}),_.jsxs("div",{className:"w-full h-48 md:h-56 bg-[#111114] relative overflow-hidden mb-6",children:[_.jsx(pt.img,{initial:{opacity:0}
2,animate:{opacity:.8},src:E.thumbnail,alt:E.title,className:"w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-105"},E.id),_.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0a0a0c] via-transparent to-transparent"})]}),_.jsxs("div",{className:"px-6 flex flex-col gap-3",children:[_.jsxs("div",{className:"flex justify-between items-center w-full",children:[_.jsxs("div",{className:"flex items-center gap-2 text-red-500",children:[_.jsx(Ia,{size:12}),_.jsx("span",{className:"font-sans text-[9px] font-black tracking-[0.3em] uppercase",children:E.name})]}),_.jsxs("span",{className:"font-mono text-[9px] text-white/40 tracking-widest",children:[Math.abs(E.coordinates[1]).toFixed(4),"°",E.coordinates[1]>=0?"N":"S",", ",Math.abs(E.coordinates[0]).toFixed(4),"°",E.coordinates[0]>=0?"E":"W"]})]}),_.jsx(pt.h3,{initial:{opacity:0,y:5},animate:{opacity:1,y:0},className:"font-display text-2xl font-bold tracking-tight text-white leading-tight",children:E.title},`title-${E.id}`),_.jsx(pt.p,{initial:{opacity:0}
2,animate:{opacity:1},className:"font-sans text-xs text-white/50 leading-relaxed mt-1",children:E.description},`desc-${E.id}`),E.stats&&_.jsxs("div",{className:"grid grid-cols-2 gap-y-3 gap-x-4 mt-4 pt-4 border-t border-white/10",children:[_.jsxs("div",{className:"flex flex-col",children:[_.jsx("span",{className:"font-sans text-[8px] text-white/40 tracking-[0.2em] uppercase mb-1",children:"Height"}),_.jsx("span",{className:"font-display text-sm tracking-widest text-red-500 font-bold uppercase",children:E.stats.height})]}),_.jsxs("div",{className:"flex flex-col",children:[_.jsx("span",{className:"font-sans text-[8px] text-white/40 tracking-[0.2em] uppercase mb-1",children:"Security Level"}),_.jsx("span",{className:"font-display text-sm tracking-widest text-white font-bold uppercase",children:E.stats.security})]})]}),p(E.id)&&_.jsxs("button",{onClick:()=>f(p(E.id)),className:"mt-6 w-full py-4 bg-white text-black font-sans text-[10px] font-black tracking-[0.3em] uppercase flex items-center justify-center gap-3 hover:bg-red-600 hover:text-white transition-all shadow-xl group/btn",children:["Explore Case Study",_.jsx(La,{size:14,className:"group-hover/btn:translate-x-1 transition-transform"})]})]})]})})()})})]})]})}export{wh as default};

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.