1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[634],{1342:(t,n,e)=>{"use strict";function r(t){var n=Object.create(null);return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}e.d(n,{A:()=>r})},26362:(t,n,e)=>{"use strict";function r(t,n,e){t*=1,n*=1,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=Array(i);++r<i;)o[r]=t+r*e;return o}e.d(n,{A:()=>r})},46234:(t,n,e)=>{var r=e(14343),i=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(r);!function(t){if(!t||"undefined"==typeof window)return;let n=document.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=t,document.head.appendChild(n)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}'),n.A=r.forwardRef(function({style:t={},className:n="",autoFill:e=!1,play:o=!0,pauseOnHover:a=!1,pauseOnClick:u=!1,direction:l="left",speed:s=50,delay:c=0,loop:f=0,gradient:h=!1,gradientColor:p="white",gradientWidth:d=200,onFinish:g,onCycleComplete:v,onMount:m,children:y},_){let[w,x]=r.useState(0),[b,E]=r.useState(0),[S,k]=r.useState(1),[M,A]=r.useState(!1),N=r.useRef(null),C=_||N,R=r.useRef(null),$=r.useCallback(()=>{if(R.current&&C.current){let t=C.current.getBoundingClientRect(),n=R.current.getBoundingClientRect(),r=t.width,i=n.width;("up"===l||"down"===l)&&(r=t.height,i=n.height),e&&r&&i?k(i<r?Math.ceil(r/i):1):k(1),x(r),E(i)}},[e,C,l]);r.useEffect(()=>{if(M&&($(),R.current&&C.current)){let t=new ResizeObserver(()=>$());return t.observe(C.current),t.observe(R.current),()=>{t&&t.disconnect()}}},[$,C,M]),r.useEffect(()=>{$()},[$,y]),r.useEffect(()=>{A(!0)},[]),r.useEffect(()=>{"function"==typeof m&&m()},[]);let z=r.useMemo(()=>e?b*S/s:b<w?w/s:b/s,[e,w,b,S,s]),P=r.useMemo(()=>Object.assign(Object.assign({},t),{"--pause-on-hover":!o||a?"paused":"running","--pause-on-click":!o||a&&!u||u?"paused":"running","--width":"up"===l||"down"===l?"100vh":"100%","--transform":"up"===l?"rotate(-90deg)":"down"===l?"rotate(90deg)":"none"}),[t,o,a,u,l]),T=r.useMemo(()=>({"--gradient-color":p,"--gradient-width":"number"==typeof d?`${d}px`:d}),[p,d]),j=r.useMemo(()=>({"--play":o?"running":"paused","--direction":"left"===l?"normal":"reverse","--duration":`${z}s`,"--delay":`${c}s`,"--iteration-count":f?`${f}`:"infinite","--min-width":e?"auto":"100%"}),[o,l,z,c,f,e]),q=r.useMemo(()=>({"--transform":"up"===l?"rotate(90deg)":"down"===l?"rotate(-90deg)":"none"}),[l]),O=r.useCallback(t=>[...Array(Number.isFinite(t)&&t>=0?t:0)].map((t,n)=>i.default.createElement(r.Fragment,{key:n},r.Children.map(y,t=>i.default.createElement("div",{style:q,className:"rfm-child"},t)))),[q,y]);return M?i.default.createElement("div",{ref:C,style:P,className:"rfm-marquee-container "+n},h&&i.default.createElement("div",{style:T,className:"rfm-overlay"}),i.default.createElement("div",{className:"rfm-marquee",style:j,onAnimationIteration:v,onAnimationEnd:g},i.default.createElement("div",{className:"rfm-initial-child-container",ref:R},r.Children.map(y,t=>i.default.createElement("div",{style:q,className:"rfm-child"},t))),O(S-1)),i.default.createElement("div",{className:"rfm-marquee",style:j},O(S))):null})},53764:(t,n,e)=>{"use strict";e.d(n,{I:()=>c});var r=e(1342),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(0,r.A)(function(t){return i.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),a=e(14343),u=e(52282),l=(t,n)=>{let e={};return Object.keys(t).filter(t=>-1===n.indexOf(t)).forEach(n=>{e[n]=t[n]}),e},s=(t,n)=>{},c=function(t){return n=>{let e=(e,r)=>{let i,{as:c=t,class:f=""}=e,h=function(t,n,e){let r=l(n,e);if(!t){let t="function"==typeof o?{default:o}:o;Object.keys(r).forEach(n=>{t.default(n)||delete r[n]})}return r}(void 0===n.propsAsIs?"string"!=typeof c||-1!==c.indexOf("-")||(i=c[0]).toUpperCase()===i:n.propsAsIs,e,["as","class"]);h.ref=r,h.className=n.atomic?(0,u.cx)(n.class,h.className||f):(0,u.cx)(h.className||f,n.class);let{vars:p}=n;if(p){let t={};for(let r in p){let i=p[r],o=i[0],a=i[1]||"",u="function"==typeof o?o(e):o;s(u,n.name),t[`--${r}`]=`${u}${a}`}let r=h.style||{},i=Object.keys(r);i.length>0&&i.forEach(n=>{t[n]=r[n]}),h.style=t}return t.__wyw_meta&&t!==c?(h.as=c,(0,a.createElement)(t,h)):(0,a.createElement)(c,h)},r=a.forwardRef?(0,a.forwardRef)(e):t=>e(l(t,["innerRef"]),t.innerRef);return r.displayName=n.name,r.__wyw_meta={className:n.class||"",extends:t},r}}},63840:(t,n,e)=>{"use strict";let r,i,o,a;e.d(n,{Sp:()=>rN,RU:()=>rz,By:()=>rT,pH:()=>rO});var u,l={};e.r(l),e.d(l,{geoAlbers:()=>eK,geoAlbersUsa:()=>eZ,geoArea:()=>Z,geoAzimuthalEqualArea:()=>e1,geoAzimuthalEqualAreaRaw:()=>e0,geoAzimuthalEquidistant:()=>e5,geoAzimuthalEquidistantRaw:()=>e2,geoBounds:()=>tv,geoCentroid:()=>tN,geoCircle:()=>tI,geoClipAntimeridian:()=>tZ,geoClipCircle:()=>tQ,geoClipExtent:()=>t0,geoClipRectangle:()=>tJ,geoConicConformal:()=>e7,geoConicConformalRaw:()=>e8,geoConicEqualArea:()=>eW,geoConicEqualAreaRaw:()=>eF,geoConicEquidistant:()=>rr,geoConicEquidistantRaw:()=>re,geoContains:()=>na,geoDistance:()=>t8,geoEqualEarth:()=>ra,geoEqualEarthRaw:()=>ro,geoEquirectangular:()=>rn,geoEquirectangularRaw:()=>rt,geoGnomonic:()=>rl,geoGnomonicRaw:()=>ru,geoGraticule:()=>nc,geoGraticule10:()=>nf,geoIdentity:()=>rs,geoInterpolate:()=>nh,geoLength:()=>t9,geoMercator:()=>e9,geoMercatorRaw:()=>e6,geoNaturalEarth1:()=>rf,geoNaturalEarth1Raw:()=>rc,geoOrthographic:()=>rp,geoOrthographicRaw:()=>rh,geoPath:()=>ez,geoProjection:()=>eU,geoProjectionMutator:()=>eV,geoRotation:()=>tq,geoStereographic:()=>rg,geoStereographicRaw:()=>rd,geoStream:()=>L,geoTransform:()=>eP,geoTransverseMercator:()=>rm,geoTransverseMercatorRaw:()=>rv});var s=e(14343);class c{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){let n=this._partials,e=0;for(let r=0;r<this._n&&r<32;r++){let i=n[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(n[e++]=a),t=o}return n[e]=t,this._n=e+1,this}valueOf(){let t=this._partials,n=this._n,e,r,i,o=0;if(n>0){for(o=t[--n];n>0&&(o=(e=o)+(r=t[--n]),!(i=r-(o-e))););n>0&&(i<0&&t[n-1]<0||i>0&&t[n-1]>0)&&(e=o+(r=2*i),r==e-o&&(o=e))}return o}}var f=Math.PI,h=f/2,p=f/4,d=2*f,g=180/f,v=f/180,m=Math.abs,y=Math.atan,_=Math.atan2,w=Math.cos,x=Math.ceil,b=Math.exp,E=Math.hypot,S=Math.log,k=Math.pow,M=Math.sin,A=Math.sign||function(t){return t>0?1:t<0?-1:0},N=Math.sqrt,C=Math.tan;function R(t){return t>
vendor: 7,292 bytes, line 1
11?0:t<-1?f:Math.acos(t)}function $(t){return t>1?h:t<-1?-h:Math.asin(t)}function z(){}function P(t,n){t&&j.hasOwnProperty(t.type)&&j[t.type](t,n)}var T={Feature:function(t,n){P(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)P(e[r].geometry,n)}},j={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){q(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)q(e[r],n,0)},Polygon:function(t,n){O(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)O(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)P(e[r],n)}};function q(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function O(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)q(t[e],n,1);n.polygonEnd()}function L(t,n){t&&T.hasOwnProperty(t.type)?T[t.type](t,n):P(t,n)}var I,X,H,B,D,Y=new c,U=new c,V={point:z,lineStart:z,lineEnd:z,polygonStart:function(){Y=new c,V.lineStart=G,V.lineEnd=F},polygonEnd:function(){var t=+Y;U.add(t<0?d+t:t),this.lineStart=this.lineEnd=this.point=z},sphere:function(){U.add(d)}};function G(){V.point=W}function F(){K(I,X)}function W(t,n){V.point=K,I=t,X=n,t*=v,n*=v,H=t,B=w(n=n/2+p),D=M(n)}function K(t,n){t*=v,n*=v;var e=t-H,r=e>=0?1:-1,i=r*e,o=w(n=n/2+p),a=M(n),u=D*a,l=B*o+u*w(i),s=u*r*M(i);Y.add(_(s,l)),H=t,B=o,D=a}function Z(t){return U=new c,L(t,V),2*U}function Q(t){return[_(t[1],t[0]),$(t[2])]}function J(t){var n=t[0],e=t[1],r=w(e);return[r*w(n),r*M(n),M(e)]}function tt(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function tn(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function te(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function tr(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function ti(t){var n=N(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var to={point:ta,lineStart:tl,lineEnd:ts,polygonStart:function(){to.point=tc,to.lineStart=tf,to.lineEnd=th,nb=new c,V.polygonStart()},polygonEnd:function(){V.polygonEnd(),to.point=ta,to.lineStart=tl,to.lineEnd=ts,Y<0?(nd=-(nv=180),ng=-(nm=90)):nb>1e-6?nm=90:nb<-1e-6&&(ng=-90),nS[0]=nd,nS[1]=nv},sphere:function(){nd=-(nv=180),ng=-(nm=90)}};function ta(t,n){nE.push(nS=[nd=t,nv=t]),n<ng&&(ng=n),n>nm&&(nm=n)}function tu(t,n){var e=J([t*v,n*v]);if(nx){var r=tn(nx,e),i=tn([r[1],-r[0],0],r);ti(i),i=Q(i);var o,a=t-ny,u=a>0?1:-1,l=i[0]*g*u,s=m(a)>180;s^(u*ny<l&&l<u*t)?(o=i[1]*g)>nm&&(nm=o):s^(u*ny<(l=(l+360)%360-180)&&l<u*t)?(o=-i[1]*g)<ng&&(ng=o):(n<ng&&(ng=n),n>nm&&(nm=n)),s?t<ny?tp(nd,t)>tp(nd,nv)&&(nv=t):tp(t,nv)>tp(nd,nv)&&(nd=t):nv>=nd?(t<nd&&(nd=t),t>nv&&(nv=t)):t>ny?tp(nd,t)>tp(nd,nv)&&(nv=t):tp(t,nv)>tp(nd,nv)&&(nd=t)}else nE.push(nS=[nd=t,nv=t]);n<ng&&(ng=n),n>nm&&(nm=n),nx=e,ny=t}function tl(){to.point=tu}function ts(){nS[0]=nd,nS[1]=nv,to.point=ta,nx=null}function tc(t,n){if(nx){var e=t-ny;nb.add(m(e)>180?e+(e>0?360:-360):e)}else n_=t,nw=n;V.point(t,n),tu(t,n)}function tf(){V.lineStart()}function th(){tc(n_,nw),V.lineEnd(),m(nb)>1e-6&&(nd=-(nv=180)),nS[0]=nd,nS[1]=nv,nx=null}function tp(t,n){return(n-=t)<0?n+360:n}function td(t,n){return t[0]-n[0]}function tg(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function tv(t){var n,e,r,i,o,a,u;if(nm=nv=-(nd=ng=1/0),nE=[],L(t,to),e=nE.length){for(nE.sort(td),n=1,o=[r=nE[0]];n<e;++n)tg(r,(i=nE[n])[0])||tg(r,i[1])?(tp(r[0],i[1])>tp(r[0],r[1])&&(r[1]=i[1]),tp(i[0],r[1])>tp(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=o.length-1,n=0,r=o[e];n<=e;r=i,++n)i=o[n],(u=tp(r[1],i[0]))>a&&(a=u,nd=i[0],nv=r[1])}return nE=nS=null,nd===1/0||ng===1/0?[[NaN,NaN],[NaN,NaN]]:[[nd,ng],[nv,nm]]}var tm={sphere:z,point:ty,lineStart:tw,lineEnd:tE,polygonStart:function(){tm.lineStart=tS,tm.lineEnd=tk},polygonEnd:function(){tm.lineStart=tw,tm.lineEnd=tE}};function ty(t,n){t*=v;var e=w(n*=v);t_(e*w(t),e*M(t),M(n))}function t_(t,n,e){++nk,nA+=(t-nA)/nk,nN+=(n-nN)/nk,nC+=(e-nC)/nk}function tw(){tm.point=tx}function tx(t,n){t*=v;var e=w(n*=v);nL=e*w(t),nI=e*M(t),nX=M(n),tm.point=tb,t_(nL,nI,nX)}function tb(t,n){t*=v;var e=w(n*=v),r=e*w(t),i=e*M(t),o=M(n),a=_(N((a=nI*o-nX*i)*a+(a=nX*r-nL*o)*a+(a=nL*i-nI*r)*a),nL*r+nI*i+nX*o);nM+=a,nR+=a*(nL+(nL=r)),n$+=a*(nI+(nI=i)),nz+=a*(nX+(nX=o)),t_(nL,nI,nX)}function tE(){tm.point=ty}function tS(){tm.point=tM}function tk(){tA(nq,nO),tm.point=ty}function tM(t,n){nq=t,nO=n,t*=v,n*=v,tm.point=tA;var e=w(n);nL=e*w(t),nI=e*M(t),nX=M(n),t_(nL,nI,nX)}function tA(t,n){t*=v;var e=w(n*=v),r=e*w(t),i=e*M(t),o=M(n),a=nI*o-nX*i,u=nX*r-nL*o,l=nL*i-nI*r,s=E(a,u,l),c=$(s),f=s&&-c/s;nP.add(f*a),nT.add(f*u),nj.add(f*l),nM+=c,nR+=c*(nL+(nL=r)),n$+=c*(nI+(nI=i)),nz+=c*(nX+(nX=o)),t_(nL,nI,nX)}function tN(t){nk=nM=nA=nN=nC=nR=n$=nz=0,nP=new c,nT=new c,nj=new c,L(t,tm);var n=+nP,e=+nT,r=+nj,i=E(n,e,r);return i<1e-12&&(n=nR,e=n$,r=nz,nM<1e-6&&(n=nA,e=nN,r=nC),(i=E(n,e,r))<1e-12)?[NaN,NaN]:[_(e,n)*g,$(r/i)*g]}function tC(t){return function(){return t}}function tR(t,n){function e(e,r){return n((e=t(e,r))[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e}function t$(t,n){return m(t)>f&&(t-=Math.round(t/d)*d),[t,n]}function tz(t,n,e){return(t%=d)?n||e?tR(tT(t),tj(n,e)):tT(t):n||e?tj(n,e):t$}function tP(t){return function(n,e){return m(n+=t)>f&&(n-=Math.round(n/d)*d),[n,e]}}function tT(t){var n=tP(t);return n.invert=tP(-t),n}function tj(t,n){var e=w(t),r=M(t),i=w(n),o=M(n);function a(t,n){var a=w(n),u=w(t)*a,l=M(t)*a,s=M(n),c=s*e+u*r;return[_(l*i-c*o,u*e-s*r),$(c*i+l*o)]}return a.invert=function(t,n){var a=w(n),u=w(t)*a,l=M(t)*a,s=M(n),c=s*i-l*o;return[_(l*i+s*o,u*e+c*r),$(c*e-u*r)]},a}function tq(t){function n(n){return n=t(n[0]*v,n[1]*v),n[0]*=g,n[1]*=g,n}return t=tz(t[0]*v,t[1]*v,t.length>2?t[2]*v:0),n.invert=function(n){return n=t.invert(n[0]*v,n[1]*v),n[0]*=g,n[1]*=g,n},n}function tO(t,n,e,r,i,o){if(e){var a=w(n),u=M(n),l=r*e;null==i?(i=n+r*d,o=n-l/2):(i=tL(a,i),o=tL(a,o),(r>0?i<o:i>o)&&(i+=r*d));for(var s,c=i;r>0?c>o:c<o;c-=l)s=Q([a,-u*w(c),-u*M(c)]),t.point(s[0],s[1])}}function tL(t,n){n=J(n),n[0]-=t,ti(n);var e=R(-n[1]);return((0>-n[2]?-e:e)+d-1e-6)%d}function tI(){var t,n,e=tC([0,0]),r=tC(90),i=tC(2),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=g,e[1]*=g}};function a(){var a=e.apply(this,arguments),u=r.apply(this,arguments)*v,l=i.apply(this,arguments)*v;return t=[],n=tz(-a[0]*v,-a[1]*v,0).invert,tO(o,u,l,1),a={type:"Polygon",coordinates:[t]},t=n=null,a}return a.center=function(t){return arguments.length?(e="function"==typeof t?t:tC([+t[0],+t[1]]),a):e},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:tC(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:tC(+t),a):i},a}function tX(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:z,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function tH(t,n){return 1e-6>m(t[0]-n[0])&&1e-6>m(t[1]-n[1])}function tB(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function tD(t,n,e,r,i){var o,a,u=[],l=[];
1if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(tH(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);i.lineEnd();return}a[0]+=2e-6}u.push(e=new tB(r,t,null,!0)),l.push(e.o=new tB(r,null,e,!1)),u.push(e=new tB(a,t,null,!1)),l.push(e.o=new tB(a,null,e,!0))}}),u.length){for(l.sort(n),tY(u),tY(l),o=0,a=l.length;o<a;++o)l[o].e=e=!e;for(var s,c,f=u[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;s=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,a=s.length;o<a;++o)i.point((c=s[o])[0],c[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(o=(s=h.p.z).length-1;o>=0;--o)i.point((c=s[o])[0],c[1]);else r(h.x,h.p.x,-1,i);h=h.p}s=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}}function tY(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function tU(t){return m(t[0])<=f?t[0]:A(t[0])*((m(t[0])+f)%d-f)}function tV(t,n){var e=tU(n),r=n[1],i=M(r),o=[M(e),-w(e),0],a=0,u=0,l=new c;1===i?r=h+1e-6:-1===i&&(r=-h-1e-6);for(var s=0,g=t.length;s<g;++s)if(m=(v=t[s]).length)for(var v,m,y=v[m-1],x=tU(y),b=y[1]/2+p,E=M(b),S=w(b),k=0;k<m;++k,x=N,E=R,S=z,y=A){var A=v[k],N=tU(A),C=A[1]/2+p,R=M(C),z=w(C),P=N-x,T=P>=0?1:-1,j=T*P,q=j>f,O=E*R;if(l.add(_(O*T*M(j),S*z+O*w(j))),a+=q?P+T*d:P,q^x>=e^N>=e){var L=tn(J(y),J(A));ti(L);var I=tn(o,L);ti(I);var X=(q^P>=0?-1:1)*$(I[2]);(r>X||r===X&&(L[0]||L[1]))&&(u+=q^P>=0?1:-1)}}return(a<-1e-6||a<1e-6&&l<-1e-12)^1&u}function tG(t){return Array.from(function*(t){for(let n of t)yield*n}(t))}function tF(t,n,e,r){return function(i){var o,a,u,l=n(i),s=tX(),c=n(s),f=!1,h={point:p,lineStart:g,lineEnd:v,polygonStart:function(){h.point=m,h.lineStart=y,h.lineEnd=_,a=[],o=[]},polygonEnd:function(){h.point=p,h.lineStart=g,h.lineEnd=v,a=tG(a);var t=tV(o,r);a.length?(f||(i.polygonStart(),f=!0),tD(a,tK,t,e,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(n,e){t(n,e)&&i.point(n,e)}function d(t,n){l.point(t,n)}function g(){h.point=d,l.lineStart()}function v(){h.point=p,l.lineEnd()}function m(t,n){u.push([t,n]),c.point(t,n)}function y(){c.lineStart(),u=[]}function _(){m(u[0][0],u[0][1]),c.lineEnd();var t,n,e,r,l=c.clean(),h=s.result(),p=h.length;if(u.pop(),o.push(u),u=null,p){if(1&l){if((n=(e=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}return}p>1&&2&l&&h.push(h.pop().concat(h.shift())),a.push(h.filter(tW))}}return h}}function tW(t){return t.length>1}function tK(t,n){return((t=t.x)[0]<0?t[1]-h-1e-6:h-t[1])-((n=n.x)[0]<0?n[1]-h-1e-6:h-n[1])}t$.invert=t$;let tZ=tF(function(){return!0},function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u,l,s,c,p,d,g,v=o>0?f:-f,_=m(o-e);1e-6>m(_-f)?(t.point(e,r=(r+a)/2>0?h:-h),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(v,r),t.point(o,r),n=0):i!==v&&_>=f&&(1e-6>m(e-i)&&(e-=1e-6*i),1e-6>m(o-v)&&(o-=1e-6*v),u=e,l=r,s=o,c=a,r=m(g=M(u-s))>1e-6?y((M(l)*(d=w(c))*M(s)-M(c)*(p=w(l))*M(u))/(p*d*g)):(l+c)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(v,r),n=0),t.point(e=o,r=a),i=v},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*h,r.point(-f,i),r.point(0,i),r.point(f,i),r.point(f,0),r.point(f,-i),r.point(0,-i),r.point(-f,-i),r.point(-f,0),r.point(-f,i);else if(m(t[0]-n[0])>1e-6){var o=t[0]<n[0]?f:-f;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])},[-f,-h]);function tQ(t){var n=w(t),e=2*v,r=n>0,i=m(n)>1e-6;function o(t,e){return w(t)*w(e)>n}function a(t,e,r){var i=J(t),o=J(e),a=[1,0,0],u=tn(i,o),l=tt(u,u),s=u[0],c=l-s*s;if(!c)return!r&&t;var h=tn(a,u),p=tr(a,n*l/c);te(p,tr(u,-n*s/c));var d=tt(p,h),g=tt(h,h),v=d*d-g*(tt(p,p)-1);if(!(v<0)){var y=N(v),_=tr(h,(-d-y)/g);if(te(_,p),_=Q(_),!r)return _;var w,x=t[0],b=e[0],E=t[1],S=e[1];b<x&&(w=x,x=b,b=w);var k=b-x,M=1e-6>m(k-f);if(!M&&S<E&&(w=E,E=S,S=w),M||k<1e-6?M?E+S>0^_[1]<(1e-6>m(_[0]-x)?E:S):E<=_[1]&&_[1]<=S:k>f^(x<=_[0]&&_[0]<=b)){var A=tr(h,(-d+y)/g);return te(A,p),[_,Q(A)]}}}function u(n,e){var i=r?t:f-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return tF(o,function(t){var n,e,l,s,c;return{lineStart:function(){s=l=!1,c=1},point:function(h,p){var d,g,v=[h,p],m=o(h,p),y=r?m?0:u(h,p):m?u(h+(h<0?f:-f),p):0;!n&&(s=l=m)&&t.lineStart(),m!==l&&(!(g=a(n,v))||tH(n,g)||tH(v,g))&&(v[2]=1),m!==l?(c=0,m?(t.lineStart(),g=a(v,n),t.point(g[0],g[1])):(g=a(n,v),t.point(g[0],g[1],2),t.lineEnd()),n=g):i&&n&&r^m&&!(y&e)&&(d=a(v,n,!0))&&(c=0,r?(t.lineStart(),t.point(d[0][0],d[0][1]),t.point(d[1][0],d[1][1]),t.lineEnd()):(t.point(d[1][0],d[1][1]),t.lineEnd(),t.lineStart(),t.point(d[0][0],d[0][1],3))),!m||n&&tH(n,v)||t.point(v[0],v[1]),n=v,l=m,e=y},lineEnd:function(){l&&t.lineEnd(),n=null},clean:function(){return c|(s&&l)<<1}}},function(n,r,i,o){tO(o,t,e,i,n,r)},r?[0,-t]:[-f,t-f])}function tJ(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,s){var c=0,f=0;if(null==i||(c=a(i,u))!==(f=a(o,u))||0>l(i,o)^u>0)do s.point(0===c||3===c?t:e,c>1?r:n);while((c=(c+u+4)%4)!==f);else s.point(o[0],o[1])}function a(r,i){return 1e-6>m(r[0]-t)?i>0?0:3:1e-6>m(r[0]-e)?i>0?2:1:1e-6>m(r[1]-n)?+(i>0):i>0?3:2}function u(t,n){return l(t.x,n.x)}function l(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var l,s,c,f,h,p,d,g,v,m,y,_=a,w=tX(),x={point:b,lineStart:function(){x.point=E,s&&s.push(c=[]),m=!0,v=!1,d=g=NaN},lineEnd:function(){l&&(E(f,h),p&&v&&w.rejoin(),l.push(w.result())),x.point=b,v&&_.lineEnd()},polygonStart:function(){_=w,l=[],s=[],y=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=s.length;e<i;++e)for(var o,a,u=s[e],l=1,c=u.length,f=u[0],h=f[0],p=f[1];l<c;++l)o=h,a=p,h=(f=u[l])[0],p=f[1],a<=r?p>r&&(h-o)*(r-a)>(p-a)*(t-o)&&++n:p<=r&&(h-o)*(r-a)<(p-a)*(t-o)&&--n;return n}(),e=y&&n,i=(l=tG(l)).length;
1(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&tD(l,u,n,o,a),a.polygonEnd()),_=a,l=s=c=null}};function b(t,n){i(t,n)&&_.point(t,n)}function E(o,a){var u=i(o,a);if(s&&c.push([o,a]),m)f=o,h=a,p=u,m=!1,u&&(_.lineStart(),_.point(o,a));else if(u&&v)_.point(o,a);else{var l=[d=Math.max(-1e9,Math.min(1e9,d)),g=Math.max(-1e9,Math.min(1e9,g))],w=[o=Math.max(-1e9,Math.min(1e9,o)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,n,e,r,i,o){var a,u=t[0],l=t[1],s=n[0],c=n[1],f=0,h=1,p=s-u,d=c-l;if(a=e-u,!p&&a>0)return;if(a/=p,p<0){if(a<f)return;a<h&&(h=a)}else if(p>0){if(a>h)return;a>f&&(f=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>f&&(f=a)}else if(p>0){if(a<f)return;a<h&&(h=a)}if(a=r-l,d||!(a>0)){if(a/=d,d<0){if(a<f)return;a<h&&(h=a)}else if(d>0){if(a>h)return;a>f&&(f=a)}if(a=o-l,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>f&&(f=a)}else if(d>0){if(a<f)return;a<h&&(h=a)}return f>0&&(t[0]=u+f*p,t[1]=l+f*d),h<1&&(n[0]=u+h*p,n[1]=l+h*d),!0}}}}(l,w,t,n,e,r)?u&&(_.lineStart(),_.point(o,a),y=!1):(v||(_.lineStart(),_.point(l[0],l[1])),_.point(w[0],w[1]),u||_.lineEnd(),y=!1)}d=o,g=a,v=u}return x}}function t0(){var t,n,e,r=0,i=0,o=960,a=500;
1return e={stream:function(e){return t&&n===e?t:t=tJ(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}}var t1={sphere:z,point:z,lineStart:function(){t1.point=t5,t1.lineEnd=t2},lineEnd:z,polygonStart:z,polygonEnd:z};function t2(){t1.point=t1.lineEnd=z}function t5(t,n){t*=v,n*=v,nB=t,nD=M(n),nY=w(n),t1.point=t6}function t6(t,n){t*=v;var e=M(n*=v),r=w(n),i=m(t-nB),o=w(i),a=r*M(i),u=nY*e-nD*r*o,l=nD*e+nY*r*o;nH.add(_(N(a*a+u*u),l)),nB=t,nD=e,nY=r}function t9(t){return nH=new c,L(t,t1),+nH}var t3=[null,null],t4={type:"LineString",coordinates:t3};function t8(t,n){return t3[0]=t,t3[1]=n,t9(t4)}var t7={Feature:function(t,n){return nn(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(nn(e[r].geometry,n))return!0;return!1}},nt={Sphere:function(){return!0},Point:function(t,n){var e;return e=t.coordinates,0===t8(e,n)},MultiPoint:function(t,n){for(var e,r=t.coordinates,i=-1,o=r.length;++i<o;){if(e=r[i],0===t8(e,n))return!0}return!1},LineString:function(t,n){return ne(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(ne(e[r],n))return!0;return!1},Polygon:function(t,n){return nr(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(nr(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(nn(e[r],n))return!0;return!1}};function nn(t,n){return!!(t&&nt.hasOwnProperty(t.type))&&nt[t.type](t,n)}function ne(t,n){for(var e,r,i,o=0,a=t.length;o<a;o++){if(0===(r=t8(t[o],n))||o>0&&(i=t8(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<1e-12*i)return!0;e=r}return!1}function nr(t,n){return!!tV(t.map(ni),no(n))}function ni(t){return(t=t.map(no)).pop(),t}function no(t){return[t[0]*v,t[1]*v]}function na(t,n){return(t&&t7.hasOwnProperty(t.type)?t7[t.type]:nn)(t,
1n)}var nu=e(26362);function nl(t,n,e){var r=(0,nu.A)(t,n-1e-6,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function ns(t,n,e){var r=(0,nu.A)(t,n-1e-6,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function nc(){var t,n,e,r,i,o,a,u,l,s,c,f,h=10,p=10,d=90,g=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:_()}}function _(){return(0,nu.A)(x(r/d)*d,e,d).map(c).concat((0,nu.A)(x(u/g)*g,a,g).map(f)).concat((0,nu.A)(x(n/h)*h,t,h).filter(function(t){return m(t%d)>1e-6}).map(l)).concat((0,nu.A)(x(o/p)*p,i,p).filter(function(t){return m(t%g)>1e-6}).map(s))}return y.lines=function(){return _().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[c(r).concat(f(a).slice(1),c(e).reverse().slice(1),f(u).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],u=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),u>a&&(t=u,u=a,a=t),y.precision(v)):[[r,u],[e,a]]},y.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),y.precision(v)):[[n,o],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(d=+t[0],g=+t[1],y):[d,g]},y.stepMinor=function(t){return arguments.length?(h=+t[0],p=+t[1],y):[h,p]},y.precision=function(h){return arguments.length?(v=+h,l=nl(o,i,90),s=ns(n,t,v),c=nl(u,a,90),f=ns(r,e,v),y):v},y.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function nf(){return nc()()}function nh(t,n){var e,r,i=t[0]*v,o=t[1]*v,a=n[0]*v,u=n[1]*v,l=w(o),s=M(o),c=w(u),f=M(u),h=l*w(i),p=l*M(i),d=c*w(a),m=c*M(a),y=2*$(N((e=M((e=u-o)/2))*e+l*c*((r=M((r=a-i)/2))*r))),x=M(y),b=y?function(t){var n=M(t*=y)/x,e=M(y-t)/x,r=e*h+n*d,i=e*p+n*m;return[_(i,r)*g,_(e*s+n*f,N(r*r+i*i))*g]}:function(){return[i*g,o*g]};return b.distance=y,b}let np=t=>t;var nd,ng,nv,nm,ny,n_,nw,nx,nb,nE,nS,nk,nM,nA,nN,nC,nR,n$,nz,nP,nT,nj,nq,nO,nL,nI,nX,nH,nB,nD,nY,nU,nV,nG,nF,nW=new c,nK=new c,nZ={point:z,lineStart:z,lineEnd:z,polygonStart:function(){nZ.lineStart=nQ,nZ.lineEnd=n1},polygonEnd:function(){nZ.lineStart=nZ.lineEnd=nZ.point=z,nW.add(m(nK)),nK=new c},result:function(){var t=nW/2;return nW=new c,t}};function nQ(){nZ.point=nJ}function nJ(t,n){nZ.point=n0,nU=nG=t,nV=nF=n}function n0(t,n){nK.add(nF*t-nG*n),nG=t,nF=n}function n1(){n0(nU,nV)}var n2=1/0,n5=1/0,n6=-1/0,n9=n6;let n3={point:function(t,n){t<n2&&(n2=t),t>n6&&(n6=t),n<n5&&(n5=n),n>n9&&(n9=n)},lineStart:z,lineEnd:z,polygonStart:z,polygonEnd:z,result:function(){var t=[[n2,n5],[n6,n9]];return n6=n9=-(n5=n2=1/0),t}};var n4,n8,n7,et,en=0,ee=0,er=0,ei=0,eo=0,ea=0,eu=0,el=0,es=0,ec={point:ef,lineStart:eh,lineEnd:eg,polygonStart:function(){ec.lineStart=ev,ec.lineEnd=em},polygonEnd:function(){ec.point=ef,ec.lineStart=eh,ec.lineEnd=eg},result:function(){var t=es?[eu/es,el/es]:ea?[ei/ea,eo/ea]:er?[en/er,ee/er]:[NaN,NaN];return en=ee=er=ei=eo=ea=eu=el=es=0,t}};function ef(t,n){en+=t,ee+=n,++er}function eh(){ec.point=ep}function ep(t,n){ec.point=ed,ef(n7=t,et=n)}function ed(t,n){var e=t-n7,r=n-et,i=N(e*e+r*r);ei+=i*(n7+t)/2,eo+=i*(et+n)/2,ea+=i,ef(n7=t,et=n)}function eg(){ec.point=ef}function ev(){ec.point=ey}function em(){e_(n4,n8)}function ey(t,n){ec.point=e_,ef(n4=n7=t,n8=et=n)}function e_(t,n){var e=t-n7,r=n-et,i=N(e*e+r*r);ei+=i*(n7+t)/2,eo+=i*(et+n)/2,ea+=i,eu+=(i=et*t-n7*n)*(n7+t),el+=i*(et+n),es+=3*i,ef(n7=t,et=n)}function ew(t){this._context=t}ew.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,d)}},result:z};var ex,eb,eE,eS,ek,eM=new c,eA={point:z,lineStart:function(){eA.point=eN},lineEnd:function(){ex&&eC(eb,eE),eA.point=z},polygonStart:function(){ex=!0},polygonEnd:function(){ex=null},result:function(){var t=+eM;return eM=new c,t}};function eN(t,n){eA.point=eC,eb=eS=t,eE=ek=n}function eC(t,n){eS-=t,ek-=n,eM.add(N(eS*eS+ek*ek)),eS=t,ek=n}class eR{constructor(t){this._append=null==t?e$:function(t){let n=Math.floor(t);if(!(n>=0))throw RangeError(`invalid digits: ${t}`);if(n>15)return e$;if(n!==r){let t=10**n;r=n,i=function(n){let e=1;this._+=n[0];for(let r=n.length;e<r;++e)this._+=Math.round(arguments[e]*t)/t+n[e]}}return i}(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}
vendor: 8,011 bytes, line 1
1point(t,n){switch(this._point){case 0:this._append`M${t},${n}`,this._point=1;break;case 1:this._append`L${t},${n}`;break;default:if(this._append`M${t},${n}`,this._radius!==o||this._append!==i){let t=this._radius,n=this._;this._="",this._append`m0,${t}a${t},${t} 0 1,1 0,${-2*t}a${t},${t} 0 1,1 0,${2*t}z`,o=t,i=this._append,a=this._,this._=n}this._+=a}}result(){let t=this._;return this._="",t.length?t:null}}function e$(t){let n=1;this._+=t[0];for(let e=t.length;n<e;++n)this._+=arguments[n]+t[n]}function ez(t,n){let e=3,r=4.5,i,o;function a(t){return t&&("function"==typeof r&&o.pointRadius(+r.apply(this,arguments)),L(t,i(o))),o.result()}return a.area=function(t){return L(t,i(nZ)),nZ.result()},a.measure=function(t){return L(t,i(eA)),eA.result()},a.bounds=function(t){return L(t,i(n3)),n3.result()},a.centroid=function(t){return L(t,i(ec)),ec.result()},a.projection=function(n){return arguments.length?(i=null==n?(t=null,np):(t=n).stream,a):t},a.context=function(t){return arguments.length?(o=null==t?(n=null,new eR(e)):new ew(n=t),"function"!=typeof r&&o.pointRadius(r),a):n},a.pointRadius=function(t){return arguments.length?(r="function"==typeof t?t:(o.pointRadius(+t),+t),a):r},a.digits=function(t){if(!arguments.length)return e;if(null==t)e=null;else{let n=Math.floor(t);if(!(n>=0))throw RangeError(`invalid digits: ${t}`);e=n}return null===n&&(o=new eR(e)),a},a.projection(t).digits(e).context(n)}function eP(t){return{stream:eT(t)}}function eT(t){return function(n){var e=new ej;for(var r in t)e[r]=t[r];return e.stream=n,e}}function ej(){}function eq(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),L(e,t.stream(n3)),n(n3.result()),null!=r&&t.clipExtent(r),t}function eO(t,n,e){return eq(t,function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),a=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([a,u])},e)}function eL(t,n,e){return eO(t,[[0,0],n],e)}function eI(t,n,e){return eq(t,function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,a=-i*e[0][1];t.scale(150*i).translate([o,a])},e)}function eX(t,n,e){return eq(t,function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],a=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,a])},e)}ej.prototype={constructor:ej,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var eH=w(30*v);function eB(t,n){var e;return+n?function(t,n){function e(r,i,o,a,u,l,s,c,f,h,p,d,g,v){var y=s-r,w=c-i,x=y*y+w*w;if(x>4*n&&g--){var b=a+h,E=u+p,S=l+d,k=N(b*b+E*E+S*S),M=$(S/=k),A=1e-6>m(m(S)-1)||1e-6>m(o-f)?(o+f)/2:_(E,b),C=t(A,M),R=C[0],z=C[1],P=R-r,T=z-i,j=w*P-y*T;(j*j/x>n||m((y*P+w*T)/x-.5)>.3||a*h+u*p+l*d<eH)&&(e(r,i,o,a,u,l,R,z,A,b/=k,E/=k,S,g,v),v.point(R,z),e(R,z,A,b,E,S,s,c,f,h,p,d,g,v))}}return function(n){var r,i,o,a,u,l,s,c,f,h,p,d,g={point:v,lineStart:m,lineEnd:_,polygonStart:function(){n.polygonStart(),g.lineStart=w},polygonEnd:function(){n.polygonEnd(),g.lineStart=m}};function v(e,r){e=t(e,r),n.point(e[0],e[1])}function m(){c=NaN,g.point=y,n.lineStart()}function y(r,i){var o=J([r,i]),a=t(r,i);e(c,f,s,h,p,d,c=a[0],f=a[1],s=r,h=o[0],p=o[1],d=o[2],16,n),n.point(c,f)}function _(){g.point=v,n.lineEnd()}function w(){m(),g.point=x,g.lineEnd=b}function x(t,n){y(r=t,n),i=c,o=f,a=h,u=p,l=d,g.point=y}function b(){e(c,f,s,h,p,d,i,o,r,a,u,l,16,n),g.lineEnd=_,_()}return g}}(t,n):(e=t,eT({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}}))}var eD=eT({point:function(t,n){this.stream.point(t*v,n*v)}});function eY(t,n,e,r,i,o){if(!o){function a(o,a){return[n+t*(o*=r),e-t*(a*=i)]}return a.invert=function(o,a){return[(o-n)/t*r,(e-a)/t*i]},a}var u=w(o),l=M(o),s=u*t,c=l*t,f=u/t,h=l/t,p=(l*e-u*n)/t,d=(l*n+u*e)/t;function g(t,o){return[s*(t*=r)-c*(o*=i)+n,e-c*t-s*o]}return g.invert=function(t,n){return[r*(f*t-h*n+p),i*(d-h*t-f*n)]},g}function eU(t){return eV(function(){return t})()}function eV(t){var n,e,r,i,o,a,u,l,s,c,f=150,h=480,p=250,d=0,m=0,y=0,_=0,w=0,x=0,b=1,E=1,S=null,k=tZ,M=null,A=np,C=.5;function R(t){return l(t[0]*v,t[1]*v)}function $(t){return(t=l.invert(t[0],t[1]))&&[t[0]*g,t[1]*g]}function z(){var t=eY(f,0,0,b,E,x).apply(null,n(d,m)),r=eY(f,h-t[0],p-t[1],b,E,x);return e=tz(y,_,w),u=tR(n,r),l=tR(e,u),a=eB(u,C),P()}function P(){return s=c=null,R}return R.stream=function(t){var n;return s&&c===t?s:s=eD((n=e,eT({point:function(t,e){var r=n(t,e);return this.stream.point(r[0],r[1])}}))(k(a(A(c=t)))))},R.preclip=function(t){return arguments.length?(k=t,S=void 0,P()):k},R.postclip=function(t){return arguments.length?(A=t,M=r=i=o=null,P()):A},R.clipAngle=function(t){return arguments.length?(k=+t?tQ(S=t*v):(S=null,tZ),P()):S*g},R.clipExtent=function(t){return arguments.length?(A=null==t?(M=r=i=o=null,np):tJ(M=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),P()):null==M?null:[[M,r],[i,o]]},R.scale=function(t){return arguments.length?(f=+t,z()):f},R.translate=function(t){return arguments.length?(h=+t[0],p=+t[1],z()):[h,p]},R.center=function(t){return arguments.length?(d=t[0]%360*v,m=t[1]%360*v,z()):[d*g,m*g]},R.rotate=function(t){return arguments.length?(y=t[0]%360*v,_=t[1]%360*v,w=t.length>2?t[2]%360*v:0,z()):[y*g,_*g,w*g]},R.angle=function(t){return arguments.length?(x=t%360*v,z()):x*g},R.reflectX=function(t){return arguments.length?(b=t?-1:1,z()):b<0},R.reflectY=function(t){return arguments.length?(E=t?-1:1,z()):E<0},R.precision=function(t){return arguments.length?(a=eB(u,C=t*t),P()):N(C)},R.fitExtent=function(t,n){return eO(R,t,n)},R.fitSize=function(t,n){return eL(R,t,n)},R.fitWidth=function(t,n){return eI(R,t,n)},R.fitHeight=function(t,n){return eX(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&$,z()}}function eG(t){var n=0,e=f/3,r=eV(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*v,e=t[1]*v):[n*g,e*g]},i}function eF(t,n){var e=M(t),r=(e+M(n))/2;if(1e-6>m(r)){var i=w(t);function o(t,n){return[t*i,M(n)/i]}return o.invert=function(t,n){return[t/i,$(n*i)]},o}var a=1+e*(2*r-e),u=N(a)/r;function l(t,n){var e=N(a-2*r*M(n))/r;return[e*M(t*=r),u-e*w(t)]}return l.invert=function(t,n){var e=u-n,i=_(t,m(e))*A(e);return e*r<0&&(i-=f*A(t)*A(e)),[i/r,$((a-(t*t+e*e)*r*r)/(2*r))]},l}function eW(){return eG(eF).scale(155.424).center([0,33.6442])}function eK(){return eW().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function eZ(){var t,n,e,r,i,o,a=eK(),u=eW().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=eW().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,n){o=[t,n]}};function c(t){var n=t[0],a=t[1];return o=null,e.point(n,a),o||(r.point(n,a),o)||(i.point(n,a),o)}function f(){return t=n=null,c}return c.invert=function(t){var n=a.scale(),e=a.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:a).invert(t)},c.stream=function(e){var r,i;return t&&n===e?t:(i=(r=[a.stream(n=e),u.stream(e),l.stream(e)]).length,t={point:function(t,n){for(var e=-1;++e<i;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}})},c.precision=function(t){return arguments.length?(a.precision(t),u.precision(t),l.precision(t),f()):a.precision()},c.scale=function(t){return arguments.length?(a.scale(t),u.scale(.35*t),l.scale(t),c.translate(a.translate())):a.scale()},c.translate=function(t){if(!arguments.length)return a.translate();var n=a.scale(),o=+t[0],c=+t[1];return e=a.translate(t).clipExtent([[o-.455*n,c-.238*n],[o+.455*n,c+.238*n]]).stream(s),r=u.translate([o-.307
vendor: 4,097 bytes, line 1
1*n,c+.201*n]).clipExtent([[o-.425*n+1e-6,c+.12*n+1e-6],[o-.214*n-1e-6,c+.234*n-1e-6]]).stream(s),i=l.translate([o-.205*n,c+.212*n]).clipExtent([[o-.214*n+1e-6,c+.166*n+1e-6],[o-.115*n-1e-6,c+.234*n-1e-6]]).stream(s),f()},c.fitExtent=function(t,n){return eO(c,t,n)},c.fitSize=function(t,n){return eL(c,t,n)},c.fitWidth=function(t,n){return eI(c,t,n)},c.fitHeight=function(t,n){return eX(c,t,n)},c.scale(1070)}function eQ(t){return function(n,e){var r=w(n),i=w(e),o=t(r*i);return o===1/0?[2,0]:[o*i*M(n),o*M(e)]}}function eJ(t){return function(n,e){var r=N(n*n+e*e),i=t(r),o=M(i);return[_(n*o,r*w(i)),$(r&&e*o/r)]}}var e0=eQ(function(t){return N(2/(1+t))});function e1(){return eU(e0).scale(124.75).clipAngle(179.999)}e0.invert=eJ(function(t){return 2*$(t/2)});var e2=eQ(function(t){return(t=R(t))&&t/M(t)});function e5(){return eU(e2).scale(79.4188).clipAngle(179.999)}function e6(t,n){return[t,S(C((h+n)/2))]}function e9(){return e3(e6).scale(961/d)}function e3(t){var n,e,r,i=eU(t),o=i.center,a=i.scale,u=i.translate,l=i.clipExtent,s=null;function c(){var o=f*a(),u=i(tq(i.rotate()).invert([0,0]));return l(null==s?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===e6?[[Math.max(u[0]-o,s),n],[Math.min(u[0]+o,e),r]]:[[s,Math.max(u[1]-o,n)],[e,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),c()):a()},i.translate=function(t){return arguments.length?(u(t),c()):u()},i.center=function(t){return arguments.length?(o(t),c()):o()},i.clipExtent=function(t){return arguments.length?(null==t?s=n=e=r=null:(s=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),c()):null==s?null:[[s,n],[e,r]]},c()}function e4(t){return C((h+t)/2)}function e8(t,n){var e=w(t),r=t===n?M(t):S(e/w(n))/S(e4(n)/e4(t)),i=e*k(e4(t),r)/r;if(!r)return e6;function o(t,n){i>0?n<-h+1e-6&&(n=-h+1e-6):n>h-1e-6&&(n=h-1e-6);var e=i/k(e4(n),r);return[e*M(r*t),i-e*w(r*t)]}return o.invert=function(t,n){var e=i-n,o=A(r)*N(t*t+e*e),a=_(t,m(e))*A(e);return e*r<0&&(a-=f*A(t)*A(e)),[a/r,2*y(k(i/o,1/r))-h]},o}function e7(){return eG(e8).scale(109.5).parallels([30,30])}function rt(t,n){return[t,n]}function rn(){return eU(rt).scale(152.63)}function re(t,n){var e=w(t),r=t===n?M(t):(e-w(n))/(n-t),i=e/r+t;if(1e-6>m(r))return rt;function o(t,n){var e=i-n,o=r*t;return[e*M(o),i-e*w(o)]}return o.invert=function(t,n){var e=i-n,o=_(t,m(e))*A(e);return e*r<0&&(o-=f*A(t)*A(e)),[o/r,i-A(r)*N(t*t+e*e)]},o}function rr(){return eG(re).scale(131.154).center([0,13.9389])}e2.invert=eJ(function(t){return t}),e6.invert=function(t,n){return[t,2*y(b(n))-h]},rt.invert=rt;var ri=N(3)/2;function ro(t,n){var e=$(ri*M(n)),r=e*e,i=r*r*r;return[t*w(e)/(ri*(1.340264+-.24331799999999998*r+i*(.0062510000000000005+.034164*r))),e*(1.340264+-.081106*r+i*(893e-6+.003796*r))]}function ra(){return eU(ro).scale(177.158)}function ru(t,n){var e=w(n),r=w(t)*e;return[e*M(t)/r,M(n)/r]}function rl(){return eU(ru).scale(144.049).clipAngle(60)}function rs(){var t,n,e,r,i,o,a,u=1,l=0,s=0,c=1,f=1,h=0,p=null,d=1,m=1,y=eT({point:function(t,n){var e=b([t,n]);this.stream.point(e[0],e[1])}}),_=np;function x(){return d=u*c,m=u*f,o=a=null,b}function b(e){var r=e[0]*d,i=e[1]*m;if(h){var o=i*t-r*n;r=r*t+i*n,i=o}return[r+l,i+s]}return b.invert=function(e){var r=e[0]-l,i=e[1]-s;if(h){var o=i*t+r*n;r=r*t-i*n,i=o}return[r/d,i/m]},b.stream=function(t){return o&&a===t?o:o=y(_(a=t))},b.postclip=function(t){return arguments.length?(_=t,p=e=r=i=null,x()):_},b.clipExtent=function(t){return arguments.length?(_=null==t?(p=e=r=i=null,np):tJ(p=+t[0][0],e=+t[0][1],r=+t[1][0],i=+t[1][1]),x()):null==p?null:[[p,e],[r,i]]},b.scale=function(t){return arguments.length?(u=+t,x()):u},b.translate=function(t){return arguments.length?(l=+t[0],s=+t[1],x()):[l,s]},b.angle=function(e){return arguments.length?(n=M(h=e%360*v),t=w(h),x()):h*g},b.reflectX=function(t){return arguments.length?(c=t?-1:1,x()):c<0},b.reflectY=function(t){return arguments.length?(f=t?-1:1,x()):f<0},b.fitExtent=function(t,n){return eO(b,t,n)},b.fitSize=function(t,n){return eL(b,t,n)},b.fitWidth=function(t,n){return eI(b,t,n)},b.fitHeight=function(t,n){return eX(b,t,n)},b}function rc(t,n){var e=n*n,r=e*e;
1return[t*(.8707-.131979*e+r*(-.013791+r*(.003971*e-.001529*r))),n*(1.007226+e*(.015085+r*(-.044475+.028874*e-.005916*r)))]}function rf(){return eU(rc).scale(175.295)}function rh(t,n){return[w(n)*M(t),M(n)]}function rp(){return eU(rh).scale(249.5).clipAngle(90.000001)}function rd(t,n){var e=w(n),r=1+w(t)*e;return[e*M(t)/r,M(n)/r]}function rg(){return eU(rd).scale(250).clipAngle(142)}function rv(t,n){return[S(C((h+n)/2)),-t]}function rm(){var t=e3(rv),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function ry(t){return t}function r_(t,n){var e=n.id,r=n.bbox,i=null==n.properties?{}:n.properties,o=rw(t,n);return null==e&&null==r?{type:"Feature",properties:i,geometry:o}:null==r?{type:"Feature",id:e,properties:i,geometry:o}:{type:"Feature",id:e,bbox:r,properties:i,geometry:o}}function rw(t,n){var e=function(t){if(null==t)return ry;var n,e,r=t.scale[0],i=t.scale[1],o=t.translate[0],a=t.translate[1];return function(t,u){u||(n=e=0);var l=2,s=t.length,c=Array(s);for(c[0]=(n+=t[0])*r+o,c[1]=(e+=t[1])*i+a;l<s;)c[l]=t[l],++l;return c}}(t.transform),r=t.arcs;function i(t){return e(t)}function o(t){for(var n=[],i=0,o=t.length;i<o;++i)!function(t,n){n.length&&n.pop();for(var i=r[t<0?~t:t],o=0,a=i.length;o<a;++o)n.push(e(i[o],o));t<0&&function(t,n){for(var e,r=t.length,i=r-n;i<--r;)e=t[i],t[i++]=t[r],t[r]=e}(n,a)}(t[i],n);return n.length<2&&n.push(n[0]),n}function a(t){for(var n=o(t);n.length<4;)n.push(n[0]);return n}function u(t){return t.map(a)}return function t(n){var e,r=n.type;switch(r){case"GeometryCollection":return{type:r,geometries:n.geometries.map(t)};case"Point":e=i(n.coordinates);break;case"MultiPoint":e=n.coordinates.map(i);break;case"LineString":e=o(n.arcs);break;case"MultiLineString":e=n.arcs.map(o);break;case"Polygon":e=u(n.arcs);break;case"MultiPolygon":e=n.arcs.map(u);break;default:return null}return{type:r,coordinates:e}}(n)}function rx(t){return rw(t,rb.apply(this,arguments))}function rb(t,n,e){var r,i,o;if(arguments.length>1)r=function(t,n,e){var r,i=[],o=[];function a(t){var n=t<0?~t:t;(o[n]||(o[n]=[])).push({i:t,g:r})}function u(t){t.forEach(a)}function l(t){t.forEach(u)}return!function t(n){switch(r=n,n.type){case"GeometryCollection":n.geometries.forEach(t);break;case"LineString":u(n.arcs);break;case"MultiLineString":case"Polygon":l(n.arcs);break;case"MultiPolygon":n.arcs.forEach(l)}}(n),o.forEach(null==e?function(t){i.push(t[0].i)}:function(t){e(t[0].g,t[t.length-1].g)&&i.push(t[0].i)}),i}(0,n,e);else for(i=0,r=Array(o=t.arcs.length);i<o;++i)r[i]=i;return{type:"MultiLineString",arcs:function(t,n){var e={},r={},i={},o=[],a=-1;function u(t,n){for(var r in t){var i=t[r];
1delete n[i.start],delete i.start,delete i.end,i.forEach(function(t){e[t<0?~t:t]=1}),o.push(i)}}return n.forEach(function(e,r){var i,o=t.arcs[e<0?~e:e];!(o.length<3)||o[1][0]||o[1][1]||(i=n[++a],n[a]=e,n[r]=i)}),n.forEach(function(n){var e,o,a,u,l,s,c=(e=n,u=(a=t.arcs[e<0?~e:e])[0],t.transform?(o=[0,0],a.forEach(function(t){o[0]+=t[0],o[1]+=t[1]})):o=a[a.length-1],e<0?[o,u]:[u,o]),f=c[0],h=c[1];if(l=i[f])if(delete i[l.end],l.push(n),l.end=h,s=r[h]){delete r[s.start];var p=s===l?l:l.concat(s);r[p.start=l.start]=i[p.end=s.end]=p}else r[l.start]=i[l.end]=l;else if(l=r[h])if(delete r[l.start],l.unshift(n),l.start=f,s=i[f]){delete i[s.end];var d=s===l?l:s.concat(l);r[d.start=s.start]=i[d.end=l.end]=d}else r[l.start]=i[l.end]=l;else r[(l=[n]).start=f]=i[l.end=h]=l}),u(i,r),u(r,i),n.forEach(function(t){e[t<0?~t:t]||o.push([t])}),o}(t,r)}}ro.invert=function(t,n){for(var e,r,i=n,o=i*i,a=o*o*o,u=0;u<12&&(r=i*(1.340264+-.081106*o+a*(893e-6+.003796*o))-n,i-=e=r/(1.340264+-.24331799999999998*o+a*(.0062510000000000005+.034164*o)),a=(o=i*i)*o*o,!(1e-12>m(e)));++u);return[ri*t*(1.340264+-.24331799999999998*o+a*(.0062510000000000005+.034164*o))/w(i),$(M(i)/ri)]},ru.invert=eJ(y),rc.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,a=o*o;r-=e=(r*(1.007226+o*(.015085+a*(-.044475+.028874*o-.005916*a)))-n)/(1.007226+o*(.045255+a*(-.311325+.259866*o-.005916*11*a)))}while(m(e)>1e-6&&--i>0);return[t/(.8707+(o=r*r)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),r]},rh.invert=eJ($),rd.invert=eJ(function(t){return 2*y(t)}),rv.invert=function(t,n){return[-n,2*y(b(t))-h]};let{geoPath:rE,...rS}=l,rk=(0,s.createContext)(void 0),rM=({width:t=800,height:n=600,projection:e="geoEqualEarth",projectionConfig:r={},children:i})=>{let[o,a]=r.center||[],[u,l,c]=r.rotate||[],[f,h]=r.parallels||[],p=r.scale||null,d=(0,s.useMemo)(()=>(({projectionConfig:t={},projection:n="geoEqualEarth",width:e=800,height:r=600})=>{if("function"==typeof n)return n;let i=rS[n]().translate([e/2,r/2]);if(t.center&&i.center(t.center),t.rotate){let[n,e,r]=t.rotate;i.rotate(void 0===r?[n,e]:[n,e,r])}return t.scale&&i.scale(t.scale),t.parallels&&"parallels"in i&&i.parallels(t.parallels),i})({projectionConfig:{center:"number"==typeof o&&"number"==typeof a?[o,a]:void 0,rotate:"number"==typeof u&&"number"==typeof l?[u,l,c]:void 0,parallels:"number"==typeof f&&"number"==typeof h?[f,h]:void 0,scale:p||void 0},projection:e,width:t,height:n}),[t,n,e,o,a,u,l,c,f,h,p]),g=(0,s.useCallback)(d,[d]),v=(0,s.useMemo)(()=>({width:t,height:n,projection:g,path:rE().projection(g)}),[t,n,g]);return s.createElement(rk.Provider,{value:v},i)},rA=()=>{let t=(0,s.useContext)(rk);if(!t)throw Error("useMapContext must be used within MapProvider");return t},rN=(0,s.forwardRef)(({width:t=800,height:n=600,projection:e="geoEqualEarth",projectionConfig:r={},className:i="",children:o,...a},u)=>s.createElement(rM,{width:t,height:n,projection:e,projectionConfig:r},s.createElement("svg",{ref:u,width:t,height:n,viewBox:`0 0 ${t} ${n}`,className:`rsm-svg ${i}`,...a,children:o})));function rC(t,n){if(!Array.isArray(t)&&"type"in t&&"Topology"===t.type){var e;let r=t.objects[Object.keys(t.objects)[0]],i=("string"==typeof(e=r)&&(e=t.objects[e]),"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map(function(n){return r_(t,n)})}:r_(t,e)).features;return n?n(i):i}let r=!Array.isArray(t)&&"features"in t?t.features:t;return n?n(r):r}function rR(t){if(Array.isArray(t)||!("type"in t)||"Topology"!==t.type)return null;let n=t.objects[Object.keys(t.objects)[0]];return{outline:rx(t,n,(t,n)=>t===n),borders:rx(t,n,(t,n)=>t!==n)}}function r$(t){return"string"==typeof t}rN.displayName="ComposableMap";let rz=(0,s.forwardRef)(({geography:t,children:n,parseGeographies:e,className:r="",...i},o)=>{let{path:a,projection:u}=rA(),{geographies:l,outline:c,borders:f}=function({geography:t,parseGeographies:n}){let{path:e}=rA(),[r,i]=(0,s.useState)({}),o=r$(t)?t:JSON.stringify(t);(0,s.useEffect)(()=>{"undefined"!=typeof window&&t&&(r$(t)?fetch(t).then(t=>{if(!t.ok)throw Error(t.statusText);return t.json()}).catch(t=>{console.log("There was a problem when fetching the data: ",t)}).then(t=>{t&&i({geographies:rC(t,n),mesh:rR(t)})}):i({geographies:rC(t,n),mesh:rR(t)}))},[o,n]);let{geographies:a,outline:u,borders:l}=(0,s.useMemo)(()=>{var t,n,i;let o=(t=r.mesh?.outline,n=r.mesh?.borders,t&&n?{outline:{...t,rsmKey:"outline",svgPath:e(t)},borders:{...n,rsmKey:"borders",svgPath:e(n)}}:{});return{geographies:(i=r.geographies,i?i.map((t,n)=>({...t,rsmKey:`geo-${n}`,svgPath:e(t)})):[]),outline:o.outline,borders:o.borders}},[r,e]);return{geographies:a,outline:u,borders:l}}({geography:t,parseGeographies:e});return s.createElement("g",{ref:o,className:`rsm-geographies ${r}`,...i},l&&l.length>0&&n({geographies:l,outline:c,borders:f,path:a,projection:u}))});rz.displayName="Geographies";let rP=(0,s.forwardRef)(({geography:t,className:n="",...e},r)=>s.createElement("path",{ref:r,tabIndex:0,className:`rsm-geography ${n}`,d:t.svgPath,...e}));rP.displayName="Geography";var rT=(0,s.memo)(rP);let rj=(0,s.forwardRef)(({fill:t="transparent",stroke:n="currentcolor",step:e=[10,10],className:r="",...i},o)=>{let{path:a}=rA();return s.createElement("path",{ref:o,d:a(nc().step(e)()),fill:t,stroke:n,className:`rsm-graticule ${r}`,...i})});rj.displayName="Graticule",(0,s.memo)(rj);let rq=(0,s.forwardRef)(({id:t="rsm-sphere",fill:n="transparent",stroke:e="currentcolor",strokeWidth:r=.5,className:i="",...o},a)=>{let{path:u}=rA(),l=(0,s.useMemo)(()=>u({type:"Sphere"}),[u]);return s.createElement(s.Fragment,null,s.createElement("defs",null,s.createElement("clipPath",{id:t},s.createElement("path",{d:l}))),s.createElement("path",{ref:a,d:l,fill:n,stroke:e,strokeWidth:r,style:{pointerEvents:"none"},className:`rsm-sphere ${i}`,...o}))});rq.displayName="Sphere",(0,s.memo)(rq);let rO=(0,s.forwardRef)(({coordinates:t,children:n,className:e="",...r},i)=>{let{projection:o}=rA(),a=o(t);if(!a)return null;let[u,l]=a;return s.createElement("g",{ref:i,transform:`translate(${u}, ${l})`,className:`rsm-marker ${e}`,...r},n)});rO.displayName="Marker",(0,s.forwardRef)(({from:t=[0,0],to:n=[0,0],coordinates:e,stroke:r="currentcolor",strokeWidth:i=3,fill:o="transparent",className:a="",...u},l)=>{let{path:c}=rA();return s.createElement("path",{ref:l,d:c({type:"LineString",coordinates:e||[t,n]}),className:`rsm-line ${a}`,stroke:r,strokeWidth:i,fill:o,...u})}).displayName="Line",(0,s.forwardRef)(({subject:t,children:n,connectorProps:e,dx:r=30,dy:i=30,curve:o=0,className:a="",...u},l)=>{let{projection:c}=rA(),f=c(t),h=function(t=30,n=30,e=.5){let r=Array.isArray(e)?e:[e,e];return`M0,0 Q${-t/2-t/2*r[0]},${-n/2+n/2*r[1]} ${-t},${-n}`}(r,i,o);if(!f)return null;let[p,d]=f;return s.createElement("g",{ref:l,transform:`translate(${p+r}, ${d+i})`,className:`rsm-annotation ${a}`,...u},s.createElement("path",{d:h,fill:"transparent",stroke:"#000",...e}),n)}).displayName="Annotation";var rL={value:()=>{}};function rI(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new rX(r)}function rX(t){this._=t}function rH(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=rL,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}function rB(){}function rD(t){return null==t?rB:function(){return this.querySelector(t)}}function rY(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function rU(){return[]}function rV(t){return function(n){return n.matches(t)}}rX.prototype=rI.prototype={constructor:rX,on:function(t,n){var e,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:n}}),o=-1,a=i.length;if(arguments.length<2){for(;++o<a;
1)if((e=(t=i[o]).type)&&(e=function(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}(r[e],t.name)))return e;return}if(null!=n&&"function"!=typeof n)throw Error("invalid callback: "+n);for(;++o<a;)if(e=(t=i[o]).type)r[e]=rH(r[e],t.name,n);else if(null==n)for(e in r)r[e]=rH(r[e],t.name,null);return this},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new rX(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],o=0,e=r.length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var rG=Array.prototype.find;function rF(){return this.firstElementChild}var rW=Array.prototype.filter;function rK(){return this.children}function rZ(t){return Array(t.length)}function rQ(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function rJ(t,n,e,r,i,o){for(var a,u=0,l=n.length,s=o.length;u<s;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new rQ(t,o[u]);for(;u<l;++u)(a=n[u])&&(i[u]=a)}function r0(t,n,e,r,i,o,a){var u,l,s,c=new Map,f=n.length,h=o.length,p=Array(f);for(u=0;u<f;++u)(l=n[u])&&(p[u]=s=a.call(l,l.__data__,u,n)+"",c.has(s)?i[u]=l:c.set(s,l));for(u=0;u<h;++u)s=a.call(t,o[u],u,o)+"",(l=c.get(s))?(r[u]=l,l.__data__=o[u],c.delete(s)):e[u]=new rQ(t,o[u]);for(u=0;u<f;++u)(l=n[u])&&c.get(p[u])===l&&(i[u]=l)}function r1(t){return t.__data__}function r2(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}rQ.prototype={constructor:rQ,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var r5="http://www.w3.org/1999/xhtml";let r6={svg:"http://www.w3.org/2000/svg",xhtml:r5,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function r9(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r6.hasOwnProperty(n)?{space:r6[n],local:t}:t}function r3(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function r4(t){return t.trim().split(/^|\s+/)}function r8(t){return t.classList||new r7(t)}function r7(t){this._node=t,this._names=r4(t.getAttribute("class")||"")}function it(t,n){for(var e=r8(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function ie(t,n){for(var e=r8(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function ir(){this.textContent=""}function ii(){this.innerHTML=""}function io(){this.nextSibling&&this.parentNode.appendChild(this)}function ia(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function iu(t){var n=r9(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===r5&&n.documentElement.namespaceURI===r5?n.createElement(t):n.createElementNS(e,t)}})(n)}function il(){return null}function is(){var t=this.parentNode;t&&t.removeChild(this)}function ic(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function ih(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function ip(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)(e=n[r],t.type&&e.type!==t.type||e.name!==t.name)?n[++i]=e:this.removeEventListener(e.type,e.listener,e.options);++i?n.length=i:delete this.__on}}}function id(t,n,e){return function(){var r,i=this.__on,o=function(t){n.call(this,t,this.__data__)};if(i){for(var a=0,u=i.length;a<u;++a)if((r=i[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),r.value=n;return}}this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}function ig(t,n,e){var r=r3(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dis
1patchEvent(i)}r7.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var iv=[null];function im(t,n){this._groups=t,this._parents=n}function iy(t){return"string"==typeof t?new im([[document.querySelector(t)]],[document.documentElement]):new im([[t]],iv)}function i_(t){t.preventDefault(),t.stopImmediatePropagation()}function iw(t){return((t=Math.exp(t))+1/t)/2}im.prototype=(function(){return new im([[document.documentElement]],iv)}).prototype={constructor:im,select:function(t){"function"!=typeof t&&(t=rD(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,a,u=n[i],l=u.length,s=r[i]=Array(l),c=0;c<l;++c)(o=u[c])&&(a=t.call(o,o.__data__,c,u))&&("__data__"in o&&(a.__data__=o.__data__),s[c]=a);return new im(r,this._parents)},selectAll:function(t){"function"==typeof t?(a=t,t=function(){var t=a.apply(this,arguments);return null==t?[]:rY(t)}):t=null==(u=t)?rU:function(){return this.querySelectorAll(u)};for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var a,u,l,s=n[o],c=s.length,f=0;f<c;++f)(l=s[f])&&(r.push(t.call(l,l.__data__,f,s)),i.push(l));return new im(r,i)},selectChild:function(t){var n;return this.select(null==t?rF:(n="function"==typeof t?t:rV(t),function(){return rG.call(this.children,n)}))},selectChildren:function(t){var n;return this.selectAll(null==t?rK:(n="function"==typeof t?t:rV(t),function(){return rW.call(this.children,n)}))},filter:function(t){var n;"function"!=typeof t&&(n=t,t=function(){return this.matches(n)});for(var e=this._groups,r=e.length,i=Array(r),o=0;o<r;++o)for(var a,u=e[o],l=u.length,s=i[o]=[],c=0;c<l;++c)(a=u[c])&&t.call(a,a.__data__,c,u)&&s.push(a);return new im(i,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,r1);var e=n?r0:rJ,r=this._parents,i=this._groups;"function"!=typeof t&&(m=t,t=function(){return m});for(var o=i.length,a=Array(o),u=Array(o),l=Array(o),s=0;s<o;++s){var c=r[s],f=i[s],h=f.length,p=rY(t.call(c,c&&c.__data__,s,r)),d=p.length,g=u[s]=Array(d),v=a[s]=Array(d);e(c,f,g,v,l[s]=Array(h),p,n);for(var m,y,_,w=0,x=0;w<d;++w)if(y=g[w]){for(w>=x&&(x=w+1);!(_=v[x])&&++x<d;);y._next=_||null}}return(a=new im(a,r))._enter=u,a._exit=l,a},enter:function(){return new im(this._enter||this._groups.map(rZ),this._parents)},exit:function(){return new im(this._exit||this._groups.map(rZ),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){if(!(t instanceof im))throw Error("invalid merge");for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=Array(r),u=0;u<o;++u)for(var l,s=n[u],c=e[u],f=s.length,h=a[u]=Array(f),p=0;p<f;
1++p)(l=s[p]||c[p])&&(h[p]=l);for(;u<r;++u)a[u]=n[u];return new im(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=r2);for(var e=this._groups,r=e.length,i=Array(r),o=0;o<r;++o){for(var a,u=e[o],l=u.length,s=i[o]=Array(l),c=0;c<l;++c)(a=u[c])&&(s[c]=a);s.sort(n)}return new im(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(let n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,n){var e=r9(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}:function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))},style:function(t,n,e){var r,i;return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):(r=this.node(),i=t,r.style.getPropertyValue(i)||r3(r).getComputedStyle(r,null).getPropertyValue(i))},property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=r4(t+"");if(arguments.length<2){for(var r=r8(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?it:ie)(this,t)}}:n?function(t){return function(){it(this,t)}}:function(t){return function(){ie(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?ir:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ii:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(io)},lower:function(){return this.each(ia)},append:function(t){var n="function"==typeof t?t:iu(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:iu(t),r=null==n?il:"function"==typeof n?n:rD(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(is)},clone:function(t){return this.select(t?ih:ic)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__}
1,on:function(t,n,e){var r,i,o=(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}),a=o.length;if(arguments.length<2){var u=this.node().__on;if(u){for(var l,s=0,c=u.length;s<c;++s)for(r=0,l=u[s];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}return}for(r=0,u=n?id:ip;r<a;++r)this.each(u(o[r],n,e));return this},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return ig(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return ig(this,t,n)}})(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,i=t[n],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};let ix=function t(n,e,r){function i(t,i){var o,a,u=t[0],l=t[1],s=t[2],c=i[0],f=i[1],h=i[2],p=c-u,d=f-l,g=p*p+d*d;if(g<1e-12)a=Math.log(h/s)/n,o=function(t){return[u+t*p,l+t*d,s*Math.exp(n*t*a)]};else{var v=Math.sqrt(g),m=(h*h-s*s+r*g)/(2*s*e*v),y=(h*h-s*s-r*g)/(2*h*e*v),_=Math.log(Math.sqrt(m*m+1)-m);a=(Math.log(Math.sqrt(y*y+1)-y)-_)/n,o=function(t){var r,i,o=t*a,c=iw(_),f=s/(e*v)*(c*(((r=Math.exp(2*(r=n*o+_)))-1)/(r+1))-((i=Math.exp(i=_))-1/i)/2);return[u+f*p,l+f*d,s*c/iw(n*o+_)]}}return o.duration=1e3*a*n/Math.SQRT2,o}return i.rho=function(n){var e=Math.max(.001,+n),r=e*e;return t(e,r,r*r)},i}(Math.SQRT2,2,4);function ib(){}function iE(t){return null==t?ib:function(){return this.querySelector(t)}}function iS(){return[]}function ik(t){return null==t?iS:function(){return this.querySelectorAll(t)}}function iM(t){return function(){return this.matches(t)}}function iA(t){return function(n){return n.matches(t)}}var iN=Array.prototype.find;function iC(){return this.firstElementChild}var iR=Array.prototype.filter;function i$(){return Array.from(this.children)}function iz(t){return Array(t.length)}function iP(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function iT(t,n,e,r,i,o){for(var a,u=0,l=n.length,s=o.length;u<s;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new iP(t,o[u]);for(;u<l;++u)(a=n[u])&&(i[u]=a)}function ij(t,n,e,r,i,o,a){var u,l,s,c=new Map,f=n.length,h=o.length,p=Array(f);for(u=0;u<f;++u)(l=n[u])&&(p[u]=s=a.call(l,l.__data__,u,n)+"",c.has(s)?i[u]=l:c.set(s,l));for(u=0;u<h;++u)s=a.call(t,o[u],u,o)+"",(l=c.get(s))?(r[u]=l,l.__data__=o[u],c.delete(s)):e[u]=new iP(t,o[u]);for(u=0;u<f;++u)(l=n[u])&&c.get(p[u])===l&&(i[u]=l)}function iq(t){return t.__data__}function iO(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}iP.prototype={constructor:iP,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var iL="http://www.w3.org/1999/xhtml";let iI={svg:"http://www.w3.org/2000/svg",xhtml:iL,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function iX(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),iI.hasOwnProperty(n)?{space:iI[n],local:t}:t}function iH(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function iB(t,n){return t.style.getPropertyValue(n)||iH(t).getComputedStyle(t,null).getPropertyValue(n)}function iD(t){return t.trim().split(/^|\s+/)}function iY(t){return t.classList||new iU(t)}function iU(t){this._node=t,this._names=iD(t.getAttribute("class")||"")}function iV(t,n){for(var e=iY(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function iG(t,n){for(var e=iY(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function iF(){this.textContent=""}function iW(){this.innerHTML=""}function iK(){this.nextSibling&&this.parentNode.appendChild(this)}function iZ(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function iQ(t){var n=iX(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===iL&&n.documentElement.namespaceURI===iL?n.createElement(t):n.createElementNS(e,t)}})(n)}function iJ(){return null}function i0(){var t=this.parentNode;t&&t.removeChild(this)}function i1(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function i2(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function i5(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)(e=n[r],t.type&&e.type!==t.type||e.name!==t.name)?n[++i]=e:this.removeEventListener(e.type,e.listener,e.options);++i?n.length=i:delete this.__on}}}function i6(t,n,e){return function(){var r,i=this.__on,o=function(t){n.call(this,t,this.__data__)};if(i){for(var a=0,u=i.length;a<u;++a)if((r=i[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),r.value=n;return}}this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}function i9(t,n,e){var r=iH(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dis
1patchEvent(i)}iU.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var i3=[null];function i4(t,n){this._groups=t,this._parents=n}function i8(){return new i4([[document.documentElement]],i3)}function i7(t){return"string"==typeof t?new i4([[document.querySelector(t)]],[document.documentElement]):new i4([[t]],i3)}function ot(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}i4.prototype=i8.prototype={constructor:i4,select:function(t){"function"!=typeof t&&(t=iE(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,a,u=n[i],l=u.length,s=r[i]=Array(l),c=0;c<l;++c)(o=u[c])&&(a=t.call(o,o.__data__,c,u))&&("__data__"in o&&(a.__data__=o.__data__),s[c]=a);return new i4(r,this._parents)},selectAll:function(t){if("function"==typeof t){var n;n=t,t=function(){var t;return t=n.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=ik(t);for(var e=this._groups,r=e.length,i=[],o=[],a=0;a<r;++a)for(var u,l=e[a],s=l.length,c=0;c<s;++c)(u=l[c])&&(i.push(t.call(u,u.__data__,c,l)),o.push(u));return new i4(i,o)},selectChild:function(t){var n;return this.select(null==t?iC:(n="function"==typeof t?t:iA(t),function(){return iN.call(this.children,n)}))},selectChildren:function(t){var n;return this.selectAll(null==t?i$:(n="function"==typeof t?t:iA(t),function(){return iR.call(this.children,n)}))},filter:function(t){"function"!=typeof t&&(t=iM(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,l=r[i]=[],s=0;s<u;++s)(o=a[s])&&t.call(o,o.__data__,s,a)&&l.push(o);return new i4(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,iq);var e=n?ij:iT,r=this._parents,i=this._groups;"function"!=typeof t&&(y=t,t=function(){return y});for(var o=i.length,a=Array(o),u=Array(o),l=Array(o),s=0;s<o;++s){var c=r[s],f=i[s],h=f.length,p="object"==typeof(m=t.call(c,c&&c.__data__,s,r))&&"length"in m?m:Array.from(m),d=p.length,g=u[s]=Array(d),v=a[s]=Array(d);e(c,f,g,v,l[s]=Array(h),p,n);for(var m,y,_,w,x=0,b=0;x<d;++x)if(_=g[x]){for(x>=b&&(b=x+1);!(w=v[b])&&++b<d;);_._next=w||null}}return(a=new i4(a,r))._enter=u,a._exit=l,a},enter:function(){return new i4(this._enter||this._groups.map(iz),this._parents)},exit:function(){return new i4(this._exit||this._groups.map(iz),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(i=n(i))&&(i=i.selection()),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,i=e.length,o=r.length,a=Math.min(i,o),u=Array(i),l=0;l<a;++l)for(var s,c=e[l],f=r[l],h=c.length,p=u[l]=Array(h),d=0;d<h;++d)(s=c[d]||f[d])&&(p[d]=s);for(;l<i;++l)u[l]=e[l];return new i4(u,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=iO);for(var e=this._groups,r=e.length,i=Array(r),o=0;o<r;++o){for(var a,u=e[o],l=u.length,s=i[o]=Array(l),c=0;c<l;++c)(a=u[c])&&(s[c]=a);s.sort(n)}return new i4(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(let n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,n){var e=iX(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}:function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):iB(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=iD(t+"");
1if(arguments.length<2){for(var r=iY(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?iV:iG)(this,t)}}:n?function(t){return function(){iV(this,t)}}:function(t){return function(){iG(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?iF:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?iW:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(iK)},lower:function(){return this.each(iZ)},append:function(t){var n="function"==typeof t?t:iQ(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:iQ(t),r=null==n?iJ:"function"==typeof n?n:iE(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(i0)},clone:function(t){return this.select(t?i2:i1)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}),a=o.length;if(arguments.length<2){var u=this.node().__on;if(u){for(var l,s=0,c=u.length;s<c;++s)for(r=0,l=u[s];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}return}for(r=0,u=n?i6:i5;r<a;++r)this.each(u(o[r],n,e));return this},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return i9(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return i9(this,t,n)}})(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,i=t[n],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};var on,oe,or=0,oi=0,oo=0,oa=0,ou=0,ol=0,os="object"==typeof performance&&performance.now?performance:Date,oc="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function of(){return ou||(oc(oh),ou=os.now()+ol)}function oh(){ou=0}function op(){this._call=this._time=this._next=null}function od(t,n,e){var r=new op;return r.restart(t,n,e),r}function og(){ou=(oa=os.now())+ol,or=oi=0;try{of(),++or;for(var t,n=on;n;)(t=ou-n._time)>=0&&n._call.call(null,t),n=n._next;--or}finally{or=0,function(){for(var t,n,e=on,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:on=n);oe=t,om(r)}(),ou=0}}function ov(){var t=os.now(),n=t-oa;n>1e3&&(ol-=n,oa=t)}function om(t){!or&&(oi&&(oi=clearTimeout(oi)),t-ou>24?(t<1/0&&(oi=setTimeout(og,t-os.now()-ol)),oo&&(oo=clearInterval(oo))):(oo||(oa=os.now(),oo=setInterval(ov,1e3)),or=1,oc(og)))}function oy(t,n,e){var r=new op;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}op.prototype=od.prototype={constructor:op,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?of():+e)+(null==n?0:+n),this._next||oe===this||(oe?oe._next=this:on=this,oe=this),this._call=t,this._time=e,om()},stop:function(){this._call&&(this._call=null,this._time=1/0,om())}};var o_=rI("start","end","cancel","interrupt"),ow=[];function ox(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(l){var s,c,f,h;if(1!==e.state)return u();for(s in i)if((h=i[s]).name===e.name){if(3===h.state)return oy(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[s]):+s<n&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[s])}if(oy(function(){3===e.state&&(e.state=4,e.timer.restart(a,e.delay,e.time),a(l))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(s=0,e.state=3,r=Array(f=e.tween.length),c=-1;s<f;++s)(h=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(r[++c]=h
1);r.length=c+1}}function a(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(u),e.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),u())}function u(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=od(function(t){e.state=1,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:i,on:o_,tween:ow,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function ob(t,n){var e=oS(t,n);if(e.state>0)throw Error("too late; already scheduled");return e}function oE(t,n){var e=oS(t,n);if(e.state>3)throw Error("too late; already running");return e}function oS(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function ok(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o){if((e=o[i]).name!==n){a=!1;continue}r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]}a&&delete t.__transition}}function oM(t,n){return t*=1,n*=1,function(e){return t*(1-e)+n*e}}var oA=180/Math.PI,oN={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function oC(t,n,e,r,i,o){var a,u,l;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(l=t*e+n*r)&&(e-=t*l,r-=n*l),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,l/=u),t*r<n*e&&(t=-t,n=-n,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*oA,skewX:Math.atan(l)*oA,scaleX:a,scaleY:u}}function oR(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var u,l,s,c,f=[],h=[];return o=t(o),a=t(a),!function(t,r,i,o,a,u){if(t!==i||r!==o){var l=a.push("translate(",null,n,null,e);u.push({i:l-4,x:oM(t,i)},{i:l-2,x:oM(r,o)})}else(i||o)&&a.push("translate("+i+n+o+e)}(o.translateX,o.translateY,a.translateX,a.translateY,f,h),u=o.rotate,l=a.rotate,u!==l?(u-l>180?l+=360:l-u>180&&(u+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:oM(u,l)})):l&&f.push(i(f)+"rotate("+l+r),s=o.skewX,c=a.skewX,s!==c?h.push({i:f.push(i(f)+"skewX(",
1null,r)-2,x:oM(s,c)}):c&&f.push(i(f)+"skewX("+c+r),!function(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:oM(t,e)},{i:u-2,x:oM(n,r)})}else(1!==e||1!==r)&&o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,f,h),o=a=null,function(t){for(var n,e=-1,r=h.length;++e<r;)f[(n=h[e]).i]=n.x(t);return f.join("")}}}var o$=oR(function(t){let n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?oN:oC(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),oz=oR(function(t){return null==t?oN:(u||(u=document.createElementNS("http://www.w3.org/2000/svg","g")),u.setAttribute("transform",t),t=u.transform.baseVal.consolidate())?oC((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):oN},", ",")",")");function oP(t,n,e){var r=t._id;return t.each(function(){var t=oE(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return oS(t,r).value[n]}}var oT=e(86270);function oj(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}let oq=t=>()=>t;function oO(t,n){var e=n-t;return e?function(n){return t+n*e}:oq(isNaN(t)?n:t)}let oL=function t(n){var e,r=1==(e=+n)?oO:function(t,n){var r,i,o;return n-t?(r=t,i=n,r=Math.pow(r,o=e),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):oq(isNaN(t)?n:t)};function i(t,n){var e=r((t=(0,oT.Qh)(t)).r,(n=(0,oT.Qh)(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),a=oO(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return i.gamma=t,i}(1);function oI(t){return function(n){var e,r,i=n.length,o=Array(i),a=Array(i),u=Array(i);for(e=0;e<i;++e)r=(0,oT.Qh)(n[e]),o[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}oI(function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r<n-1?t[r+2]:2*o-i;return oj((e-r/n)*n,a,i,o,u)}}),oI(function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return oj((e-r/n)*n,i,o,a,u)}});var oX=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,oH=RegExp(oX.source,"g");function oB(t,n){var e;return("number"==typeof n?oM:n instanceof oT.Ay?oL:(e=(0,oT.Ay)(n))?(n=e,oL):function(t,n){var e,r,i,o,a,u=oX.lastIndex=oH.lastIndex=0,l=-1,s=[],c=[];for(t+="",n+="";(i=oX.exec(t))&&(o=oH.exec(n));)(a=o.index)>u&&(a=n.slice(u,a),s[l]?s[l]+=a:s[++l]=a),(i=i[0])===(o=o[0])?s[l]?s[l]+=o:s[++l]=o:(s[++l]=null,c.push({i:l,x:oM(i,o)})),u=oH.lastIndex;return u<n.length&&(a=n.slice(u),s[l]?s[l]+=a:s[++l]=a),s.length<2?c[0]?(e=c[0].x,function(t){return e(t)+""}):(r=n,function(){return r}):(n=c.length,function(t){for(var e,r=0;r<n;++r)s[(e=c[r]).i]=e.x(t);return s.join("")})})(t,n)}var oD=i8.prototype.constructor;function oY(t){return function(){this.style.removeProperty(t)}}var oU=0;function oV(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}var oG=i8.prototype;oV.prototype=(function(t){return i8().transition(t)}).prototype={constructor:oV,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=iE(t));for(var r=this._groups,i=r.length,o=Array(i),a=0;a<i;++a)for(var u,l,s=r[a],c=s.length,f=o[a]=Array(c),h=0;h<c;++h)(u=s[h])&&(l=t.call(u,u.__data__,h,s))&&("__data__"in u&&(l.__data__=u.__data__),f[h]=l,ox(f[h],n,e,h,f,oS(u,e)));return new oV(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=ik(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var l,s=r[u],c=s.length,f=0;f<c;++f)if(l=s[f]){for(var h,p=t.call(l,l.__data__,f,s),d=oS(l,e),g=0,v=p.length;g<v;++g)(h=p[g])&&ox(h,n,e,g,p,d);o.push(p),a.push(l)}return new oV(o,a,n,e)},filter:function(t){"function"!=typeof t&&(t=iM(t));for(var n=this._groups,e=n.length,r=Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,l=r[i]=[],s=0;s<u;++s)(o=a[s])&&t.call(o,o.__data__,s,a)&&l.push(o);return new oV(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=Array(r),u=0;u<o;++u)for(var l,s=n[u],c=e[u],f=s.length,h=a[u]=Array(f),p=0;p<f;
1++p)(l=s[p]||c[p])&&(h[p]=l);for(;u<r;++u)a[u]=n[u];return new oV(a,this._parents,this._name,this._id)},selection:function(){return new oD(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=++oU,r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],l=u.length,s=0;s<l;++s)if(a=u[s]){var c=oS(a,n);ox(a,t,e,s,u,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new oV(r,this._parents,t,e)},call:oG.call,nodes:oG.nodes,node:oG.node,size:oG.size,empty:oG.empty,each:oG.each,on:function(t,n){var e,r,i,o,a,u,l=this._id;return arguments.length<2?oS(this.node(),l).on.on(t):this.each((e=l,r=t,i=n,u=(r+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})?ob:oE,function(){var t=u(this,e),n=t.on;n!==o&&(a=(o=n).copy()).on(r,i),t.on=a}))},attr:function(t,n){var e=iX(t),r="transform"===e?oz:oB;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,i,o;return function(){var a,u,l=e(this);return null==l?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(u=l+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,l))}}:function(t,n,e){var r,i,o;return function(){var a,u,l=e(this);return null==l?void this.removeAttribute(t):(a=this.getAttribute(t))===(u=l+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,l))}})(e,r,oP(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=n(r=a,e)}}:function(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=n(r=a,e)}})(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw Error();var r=iX(t);return this.tween(e,(r.local?function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttributeNS(t.space,t.local,i.call(this,n))}),e}return i._value=n,i}:function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(n){this.setAttribute(t,i.call(this,n))}),e}return i._value=n,i})(r,n))},style:function(t,n,e){var r,i,o,a,u,l,s,c,f,h,p,d,g,v,m,y,_,w,x,b,E,S="transform"==(t+="")?o$:oB;return null==n?this.styleTween(t,(r=t,function(){var t=iB(this,r),n=(this.style.removeProperty(r),iB(this,r));return t===n?null:t===i&&n===o?a:a=S(i=t,o=n)})).on("end.style."+t,oY(t)):"function"==typeof n?this.styleTween(t,(u=t,l=oP(this,"style."+t,n),function(){var t=iB(this,u),n=l(this),e=n+"";return null==n&&(this.style.removeProperty(u),e=n=iB(this,u)),t===e?null:t===s&&e===c?f:(c=e,f=S(s=t,n))})).each((h=this._id,_="end."+(y="style."+(p=t)),function(){var t=oE(this,h),n=t.on,e=null==t.value[y]?m||(m=oY(p)):void 0;(n!==d||v!==e)&&(g=(d=n).copy()).on(_,v=e),t.on=g})):this.styleTween(t,(w=t,E=n+"",function(){var t=iB(this,w);return t===E?null:t===x?b:b=S(x=t,n)}),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw Error();return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(n){this.style.setProperty(t,o.call(this,n),e)}),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=oP(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=oS(this.node(),e).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?function(t,n){var e,r;return function(){var i=oE(this,t),o=i.tween;if(o!==e){r=e=o;for(var a=0,u=r.length;a<u;++a)if(r[a].name===n){(r=r.slice()).splice(a,1);break}}i.tween=r}}:function(t,n,e){var r,i;if("function"!=typeof e)throw Error();return function(){var o=oE(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:n,value:e},l=0,s=i.length;l<s;++l)if(i[l].name===n){i[l]=u;break}l===s&&i.push(u)}o.tween=i}})(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){ob(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n*=1,function(){ob(this,t).delay=n}})(n,t)):oS(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){oE(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n*=1,function(){oE(this,t).duration=n}})(n,t)):oS(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw Error();return function(){oE(this,t).ease=n}}(n,t)):oS(this.node(),n).ease},easeVarying:function(t){var n;if("function"!=typeof t)throw Error();return this.each((n=this._id,function(){var e=t.apply(this,arguments);if("function"!=typeof e)throw Error();oE(this,n).ease=e}))},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,a){var u={value:a},l={value:function(){0==--i&&o()}};e.each(function(){var e=oE(this,r),i=e.on;
1i!==t&&((n=(t=i).copy())._.cancel.push(u),n._.interrupt.push(u),n._.end.push(l)),e.on=n}),0===i&&o()})},[Symbol.iterator]:oG[Symbol.iterator]};var oF={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};i8.prototype.interrupt=function(t){return this.each(function(){ok(this,t)})},i8.prototype.transition=function(t){var n,e;t instanceof oV?(n=t._id,t=t._name):(n=++oU,(e=oF).time=of(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],l=u.length,s=0;s<l;++s)(a=u[s])&&ox(a,t,n,s,u,e||function(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw Error(`transition ${n} not found`);return e}(a,n));return new oV(r,this._parents,t,n)};let oW=t=>()=>t;function oK(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function oZ(t,n,e){this.k=t,this.x=n,this.y=e}oZ.prototype={constructor:oZ,scale:function(t){return 1===t?this:new oZ(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new oZ(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var oQ=new oZ(1,0,0);function oJ(t){t.stopImmediatePropagation()}function o0(t){t.preventDefault(),t.stopImmediatePropagation()}function o1(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function o2(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function o5(){return this.__zoom||oQ}function o6(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function o9(){return navigator.maxTouchPoints||"ontouchstart"in this}function o3(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[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))}oZ.prototype;let o4=(0,s.createContext)(void 0),o8={x:0,y:0,k:1,transformString:"translate(0 0) scale(1)"},o7=({value:t=o8,children:n})=>s.createElement(o4.Provider,{value:t},n);function at(t,n,e){let r=(t*e.k-t)/2,i=(n*e.k-n)/2;return[t/2-(r+e.x)/e.k,n/2-(i+e.y)/e.k]}(0,s.forwardRef)(({center:t=[0,0],zoom:n=1,minZoom:e=1,maxZoom:r=8,translateExtent:i,filterZoomEvent:o,onMoveStart:a,onMove:u,onMoveEnd:l,className:c="",children:f,...h},p)=>{let{width:d,height:g}=rA(),{mapRef:v,transformString:m,position:y}=function({center:t=[0,0],filterZoomEvent:n,onMoveStart:e,onMoveEnd:r,onMove:i,translateExtent:o=[[-1/0,-1/0],[1/0,1/0]],scaleExtent:a=[1,8],zoom:u=1}){let{width:l,height:c,projection:f}=rA(),[h,p]=t,[d,g]=(0,s.useState)({x:0,y:0,k:1}),v=(0,s.useRef)({x:0,y:0,k:1}),m=(0,s.useRef)(null),y=(0,s.useRef)(null),_=(0,s.useRef)(!1),[w,x]=o,[b,E]=w,[S,k]=x,[M,A]=a,N=(0,s.useRef)(e),C=(0,s.useRef)(i),R=(0,s.useRef)(r),$=(0,s.useRef)(n);return(0,s.useEffect)(()=>{N.current=e,C.current=i,R.current=r,$.current=n}),(0,s.useEffect)(()=>{let t=m.current;if(!t)return;let n=i7(t),e=(function(){var t,n,e,r=o1,i=o2,o=o3,a=o6,u=o9,l=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],c=250,f=ix,h=rI("start","zoom","end"),p=0,d=10;function g(t){t.property("__zoom",o5).on("wheel.zoom",b,{passive:!1}).on("mousedown.zoom",E).on("dblclick.zoom",S).filter(u).on("touchstart.zoom",k).on("touchmove.zoom",M).on("touchend.zoom touchcancel.zoom",A).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(t,n){return(n=Math.max(l[0],Math.min(l[1],n)))===t.k?t:new oZ(n,t.x,t.y)}function m(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new oZ(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function _(t,n,e,r){t.on("start.zoom",function(){w(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,o=w(this,t).event(r),a=i.apply(this,t),u=null==e?y(a):"function"==typeof e?e.apply(this,t):e,l=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),s=this.__zoom,c="function"==typeof n?n.apply(this,t):n,h=f(s.invert(u).concat(l/s.k),c.invert(u).concat(l/c.k));return function(t){if(1===t)t=c;else{var n=h(t),e=l/n[2];t=new oZ(e,u[0]-n[0]*e,u[1]-n[1]*e)}o.zoom(null,t)}})}function w(t,n,e){return!e&&t.__zooming||new x(t,n)}function x(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function b(t,...n){if(r.apply(this,arguments)){var e=w(this,n).event(t),i=this.__zoom,u=Math.max(l[0],Math.min(l[1],i.k*Math.pow(2,a.apply(this,arguments)))),c=ot(t);if(e.wheel)(e.mouse[0][0]!==c[0]||e.mouse[0][1]!==c[1])&&(e.mouse[1]=i.invert(e.mouse[0]=c)),clearTimeout(e.wheel);else{if(i.k===u)return;e.mouse=[c,i.invert(c)],ok(this),e.start()}o0(t),e.wheel=setTimeout(function(){e.wheel=null,e.end()}
vendor: 4,189 bytes, line 1
1,150),e.zoom("mouse",o(m(v(i,u),e.mouse[0],e.mouse[1]),e.extent,s))}}function E(t,...n){if(!e&&r.apply(this,arguments)){var i,a,u,l=t.currentTarget,c=w(this,n,!0).event(t),f=i7(t.view).on("mousemove.zoom",function(t){if(o0(t),!c.moved){var n=t.clientX-d,e=t.clientY-g;c.moved=n*n+e*e>p}c.event(t).zoom("mouse",o(m(c.that.__zoom,c.mouse[0]=ot(t,l),c.mouse[1]),c.extent,s))},!0).on("mouseup.zoom",function(t){var n,e,r,i;f.on("mousemove.zoom mouseup.zoom",null),n=t.view,e=c.moved,r=n.document.documentElement,i=iy(n).on("dragstart.drag",null),e&&(i.on("click.drag",i_,!0),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in r?i.on("selectstart.drag",null):(r.style.MozUserSelect=r.__noselect,delete r.__noselect),o0(t),c.event(t).end()},!0),h=ot(t,l),d=t.clientX,g=t.clientY;a=(i=t.view).document.documentElement,u=iy(i).on("dragstart.drag",i_,!0),"onselectstart"in a?u.on("selectstart.drag",i_,!0):(a.__noselect=a.style.MozUserSelect,a.style.MozUserSelect="none"),oJ(t),c.mouse=[h,this.__zoom.invert(h)],ok(this),c.start()}}function S(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,a=ot(t.changedTouches?t.changedTouches[0]:t,this),u=e.invert(a),l=e.k*(t.shiftKey?.5:2),f=o(m(v(e,l),a,u),i.apply(this,n),s);o0(t),c>0?i7(this).transition().duration(c).call(_,f,a,t):i7(this).call(g.transform,f,a,t)}}function k(e,...i){if(r.apply(this,arguments)){var o,a,u,l,s=e.touches,c=s.length,f=w(this,i,e.changedTouches.length===c).event(e);for(oJ(e),a=0;a<c;++a)l=[l=ot(u=s[a],this),this.__zoom.invert(l),u.identifier],f.touch0?f.touch1||f.touch0[2]===l[2]||(f.touch1=l,f.taps=0):(f.touch0=l,o=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(f.taps<2&&(n=l[0],t=setTimeout(function(){t=null},500)),ok(this),f.start())}}function M(t,...n){if(this.__zooming){var e,r,i,a,u=w(this,n).event(t),l=t.changedTouches,c=l.length;for(o0(t),e=0;e<c;++e)i=ot(r=l[e],this),u.touch0&&u.touch0[2]===r.identifier?u.touch0[0]=i:u.touch1&&u.touch1[2]===r.identifier&&(u.touch1[0]=i);if(r=u.that.__zoom,u.touch1){var f=u.touch0[0],h=u.touch0[1],p=u.touch1[0],d=u.touch1[1],g=(g=p[0]-f[0])*g+(g=p[1]-f[1])*g,y=(y=d[0]-h[0])*y+(y=d[1]-h[1])*y;r=v(r,Math.sqrt(g/y)),i=[(f[0]+p[0])/2,(f[1]+p[1])/2],a=[(h[0]+d[0])/2,(h[1]+d[1])/2]}else{if(!u.touch0)return;i=u.touch0[0],a=u.touch0[1]}u.zoom("touch",o(m(r,i,a),u.extent,s))}}function A(t,...r){if(this.__zooming){var i,o,a=w(this,r).event(t),u=t.changedTouches,l=u.length;for(oJ(t),e&&clearTimeout(e),e=setTimeout(function(){e=null},500),i=0;i<l;++i)o=u[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=ot(o,this),Math.hypot(n[0]-o[0],n[1]-o[1])<d)){var s=i7(this).on("dblclick.zoom");s&&s.apply(this,arguments)}}}return g.transform=function(t,n,e,r){var i=t.selection?t.selection():t;i.property("__zoom",o5),t!==i?_(t,n,e,r):i.interrupt().each(function(){w(this,arguments).event(r).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},g.scaleBy=function(t,n,e,r){g.scaleTo(t,function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e},e,r)},g.scaleTo=function(t,n,e,r){g.transform(t,function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==e?y(t):"function"==typeof e?e.apply(this,arguments):e,u=r.invert(a),l="function"==typeof n?n.apply(this,arguments):n;return o(m(v(r,l),a,u),t,s)},e,r)},g.translateBy=function(t,n,e,r){g.transform(t,function(){return o(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),i.apply(this,arguments),s)},null,r)},g.translateTo=function(t,n,e,r,a){g.transform(t,function(){var t=i.apply(this,arguments),a=this.__zoom,u=null==r?y(t):"function"==typeof r?r.apply(this,arguments):r;return o(oQ.translate(u[0],u[1]).scale(a.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,s)},r,a)},x.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
1("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var n=i7(this.that).datum();h.call(t,this.that,new oK(t,{sourceEvent:this.sourceEvent,target:g,type:t,transform:this.that.__zoom,dispatch:h}),n)}},g.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:oW(+t),g):a},g.filter=function(t){return arguments.length?(r="function"==typeof t?t:oW(!!t),g):r},g.touchable=function(t){return arguments.length?(u="function"==typeof t?t:oW(!!t),g):u},g.extent=function(t){return arguments.length?(i="function"==typeof t?t:oW([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),g):i},g.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],g):[l[0],l[1]]},g.translateExtent=function(t){return arguments.length?(s[0][0]=+t[0][0],s[1][0]=+t[1][0],s[0][1]=+t[0][1],s[1][1]=+t[1][1],g):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},g.constrain=function(t){return arguments.length?(o=t,g):o},g.duration=function(t){return arguments.length?(c=+t,g):c},g.interpolate=function(t){return arguments.length?(f=t,g):f},g.on=function(){var t=h.on.apply(h,arguments);return t===h?g:t},g.clickDistance=function(t){return arguments.length?(p=(t*=1)*t,g):Math.sqrt(p)},g.tapDistance=function(t){return arguments.length?(d=+t,g):d},g})().extent([[0,0],[l,c]]).filter(t=>$.current?$.current(t):!!t&&!t.ctrlKey&&!t.button).scaleExtent([M,A]).translateExtent([[b,E],[S,k]]).on("start",t=>{if(!N.current||_.current)return;let n=f.invert?.(at(l,c,t.transform));N.current({coordinates:n??void 0,zoom:t.transform.k},t)}).on("zoom",t=>{if(_.current)return;let{transform:n,sourceEvent:e}=t;g({x:n.x,y:n.y,k:n.k,dragging:e}),C.current&&C.current({x:n.x,y:n.y,zoom:n.k,dragging:e},t)}).on("end",t=>{if(_.current)return void(_.current=!1);let n=f.invert?.(at(l,c,t.transform));if(n){let[e,r]=n;v.current={x:e,y:r,k:t.transform.k}}R.current&&R.current({coordinates:n??void 0,zoom:t.transform.k},t)});y.current=e,n.call(e)},[l,c,b,E,S,k,M,A,f]),(0,s.useEffect)(()=>{if(h===v.current.x&&p===v.current.y&&u===v.current.k)return;let t=f([h,p]);if(!t)return;let n=t[0]*u,e=t[1]*u;if(!m.current||!y.current)return;let r=i7(m.current);_.current=!0,r.call(y.current.transform,oQ.translate(l/2-n,c/2-e).scale(u)),g({x:l/2-n,y:c/2-e,k:u}),v.current={x:h,y:p,k:u}},[h,p,u,l,c,f]),{mapRef:m,position:d,transformString:`translate(${d.x} ${d.y}) scale(${d.k})`}}({center:t,filterZoomEvent:o,onMoveStart:a,onMove:u,onMoveEnd:l,scaleExtent:[e,r],translateExtent:i,zoom:n});return s.createElement(o7,{value:{x:y.x,y:y.y,k:y.k,transformString:m}},s.createElement("g",{ref:v},s.createElement("rect",{width:d,height:g,fill:"transparent"}),s.createElement("g",{ref:p,transform:m,className:`rsm-zoomable-group ${c}`,...h},f)))}).displayName="ZoomableGroup"},86270:(t,n,e)=>{"use strict";function r(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function i(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function o(){}e.d(n,{Ay:()=>_,Qh:()=>b});var a="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",s=/^#([0-9a-f]{3,8})$/,c=RegExp(`^rgb\\(${a},${a},${a}\\)$`),f=RegExp(`^rgb\\(${l},${l},${l}\\)$`),h=RegExp(`^rgba\\(${a},${a},${a},${u}\\)$`),p=RegExp(`^rgba\\(${l},${l},${l},${u}\\)$`),d=RegExp(`^hsl\\(${u},${l},${l}\\)$`),g=RegExp(`^hsla\\(${u},${l},${l},${u}\\)$`),v={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function m(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function _(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=s.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?w(n):3===e?new E(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?x(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?x(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=c.exec(t))?new E(n[1],n[2],n[3],1):(n=f.exec(t))?new E(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=h.exec(t))?x(n[1],n[2],n[3],n[4]):(n=p.exec(t))?x(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=d.exec(t))?C(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?C(n[1],n[2]/100,n[3]/100,n[4]):v.hasOwnProperty(t)?w(v[t]):"transparent"===t?new E(NaN,NaN,NaN,0):null}function w(t){return new E(t>>16&255,t>>8&255,255&t,1)}function x(t,n,e,r){return r<=0&&(t=n=e=NaN),new E(t,n,e,r)}function b(t,n,e,r){var i;return 1==arguments.length?((i=t)instanceof o||(i=_(i)),i)?new E((i=i.rgb()).r,i.g,i.b,i.opacity):new E:new E(t,n,e,null==r?1:r)}function E(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function S(){return`#${N(this.r)}${N(this.g)}${N(this.b)}`}function k(){let t=M(this.opacity);return`${1===t?"rgb(":"rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${1===t?")":`, ${t})`}`}function M(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function A(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function N(t){return((t=A(t))<16?"0":"")+t.toString(16)}function C(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new $(t,n,e,r)}function R(t){if(t instanceof $)return new $(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=_(t)),!t)return new $;if(t instanceof $)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),a=Math.max(n,e,r),u=NaN,l=a-i,s=(a+i)/2;return l?(u=n===a?(e-r)/l+(e<r)*6:e===a?(r-n)/l+2:(n-e)/l+4,l/=s<.5?a+i:2-a-i,u*=60):l=s>0&&s<1?0:u,new $(u,l,s,t.opacity)}function $(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function z(t){return(t=(t||0)%360)<0?t+360:t}
1function P(t){return Math.max(0,Math.min(1,t||0))}function T(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}r(o,_,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return R(this).formatHsl()},formatRgb:y,toString:y}),r(E,b,i(o,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new E(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new E(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new E(A(this.r),A(this.g),A(this.b),M(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatHex8:function(){return`#${N(this.r)}${N(this.g)}${N(this.b)}${N((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:k,toString:k})),r($,function(t,n,e,r){return 1==arguments.length?R(t):new $(t,n,e,null==r?1:r)},i(o,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new $(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new $(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new E(T(t>=240?t-240:t+120,i,r),T(t,i,r),T(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new $(z(this.h),P(this.s),P(this.l),M(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=M(this.opacity);return`${1===t?"hsl(":"hsla("}${z(this.h)}, ${100*P(this.s)}%, ${100*P(this.l)}%${1===t?")":`, ${t})`}`}}))}}]);
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.