1let t,n,e,r,i;function o(t,n,e,r){Object.defineProperty(t,n,{get:e,set:r,enumerable:!0,configurable:!0})}var a,u,l,s,c=globalThis,f={},h={},p=c.parcelRequire94c2;null==p&&((p=function(t){if(t in f)return f[t].exports;if(t in h){var n=h[t];delete h[t];var e={id:t,exports:{}};return f[t]=e,n.call(e.exports,e,e.exports),e.exports}var r=Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}).register=function(t,n){h[t]=n},c.parcelRequire94c2=p);var d=p.register;d("bYoiY",function(t,n){o(t.exports,"Color",()=>r),o(t.exports,"darker",()=>i),o(t.exports,"brighter",()=>a),o(t.exports,"default",()=>x),o(t.exports,"hslConvert",()=>R),o(t.exports,"Rgb",()=>S),o(t.exports,"rgbConvert",()=>$),o(t.exports,"rgb",()=>E),o(t.exports,"hsl",()=>q);var e=p("bfWFq");function r(){}var i=.7,a=1.4285714285714286,u="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,f=RegExp(`^rgb\\(${u},${u},${u}\\)$`),h=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgba\\(${u},${u},${u},${l}\\)$`),g=RegExp(`^rgba\\(${s},${s},${s},${l}\\)$`),v=RegExp(`^hsl\\(${l},${s},${s}\\)$`),y=RegExp(`^hsla\\(${l},${s},${s},${l}\\)$`),m={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function _(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function x(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=c.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?b(n):3===e?new S(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?M(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?M(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=f.exec(t))?new S(n[1],n[2],n[3],1):(n=h.exec(t))?new S(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=d.exec(t))?M(n[1],n[2],n[3],n[4]):(n=g.exec(t))?M(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=v.exec(t))?j(n[1],n[2]/100,n[3]/100,1):(n=y.exec(t))?j(n[1],n[2]/100,n[3]/100,n[4]):m.hasOwnProperty(t)?b(m[t]):"transparent"===t?new S(NaN,NaN,NaN,0):null}function b(t){return new S(t>>16&255,t>>8&255,255&t,1)}function M(t,n,e,r){return r<=0&&(t=n=e=NaN),new S(t,n,e,r)}function $(t){return(t instanceof r||(t=x(t)),t)?new S((t=t.rgb()).r,t.g,t.b,t.opacity):new S}function E(t,n,e,r){return 1==arguments.length?$(t):new S(t,n,e,null==r?1:r)}function S(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function N(){return`#${P(this.r)}${P(this.g)}${P(this.b)}`}function k(){let t=A(this.opacity);return`${1===t?"rgb(":"rgba("}${C(this.r)}, ${C(this.g)}, ${C(this.b)}${1===t?")":`, ${t})`}`}function A(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function C(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function P(t){return((t=C(t))<16?"0":"")+t.toString(16)}function j(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function R(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=x(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,i=t.b/255,o=Math.min(n,e,i),a=Math.max(n,e,i),u=NaN,l=a-o,s=(a+o)/2;return l?(u=n===a?(e-i)/l+(e<i)*6:e===a?(i-n)/l+2:(n-e)/l+4,l/=s<.5?a+o:2-a-o,u*=60):l=s>0&&s<1?0:u,new T(u,l,s,t.opacity)}function q(t,n,e,r){return 1==arguments.length?R(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function L(t){return(t=(t||0)%360)<0?t+360:t}
1function O(t){return Math.max(0,Math.min(1,t||0))}function Y(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}(0,e.default)(r,x,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:_,formatHex:_,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return R(this).formatHsl()},formatRgb:w,toString:w}),(0,e.default)(S,E,(0,e.extend)(r,{brighter(t){return t=null==t?a:Math.pow(a,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?i:Math.pow(i,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new S(C(this.r),C(this.g),C(this.b),A(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:N,formatHex:N,formatHex8:function(){return`#${P(this.r)}${P(this.g)}${P(this.b)}${P((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:k,toString:k})),(0,e.default)(T,q,(0,e.extend)(r,{brighter(t){return t=null==t?a:Math.pow(a,t),new T(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?i:Math.pow(i,t),new T(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 S(Y(t>=240?t-240:t+120,i,r),Y(t,i,r),Y(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new T(L(this.h),O(this.s),O(this.l),A(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=A(this.opacity);return`${1===t?"hsl(":"hsla("}${L(this.h)}, ${100*O(this.s)}%, ${100*O(this.l)}%${1===t?")":`, ${t})`}`}}))}),d("bfWFq",function(t,n){function e(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function r(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}o(t.exports,"default",()=>e),o(t.exports,"extend",()=>r)}),document.getElementById("copyright-year").innerText=new Date().getFullYear().toString();let g=document.querySelector(".home header");if(null!==g){let t,n,e;let r=(tm=g.offsetHeight,t_=g.classList,t=window.innerHeight-tm,n=null,()=>{let r=null===n;e=window.scrollY,(r||n<t)&&e>=t?(t_.remove("header-dark"),t_.add("header-light")):(r||n>=t)&&e<t&&(t_.remove("header-light"),t_.add("header-dark")),n=e});r(),window.addEventListener("scroll",r)}var v={value:()=>{}};function y(){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 m(r)}function m(t){this._=t}function _(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=v,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}function w(){}function x(t){return null==t?w:function(){return this.querySelector(t)}}function b(){return[]}function M(t){return null==t?b:function(){return this.querySelectorAll(t)}}function $(t){return function(){return this.matches(t)}}function E(t){return function(n){return n.matches(t)}}m.prototype=y.prototype={constructor:m,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;)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]=_(r[e],t.name,n);else if(null==n)for(e in r)r[e]=_(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 m(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 S=Array.prototype.find;function N(){return this.firstElementChild}var k=Array.prototype.filter;function A(){return Array.from(this.children)}function C(t){return Array(t.length)}function P(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function j(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 P(t,o[u]);for(;u<l;++u)(a=n[u])&&(i[u]=a)}function R(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;
1u<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 P(t,o[u]);for(u=0;u<f;++u)(l=n[u])&&c.get(p[u])===l&&(i[u]=l)}function q(t){return t.__data__}function T(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}P.prototype={constructor:P,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var L="http://www.w3.org/1999/xhtml",O={svg:"http://www.w3.org/2000/svg",xhtml:L,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Y(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),O.hasOwnProperty(n)?{space:O[n],local:t}:t}function I(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function B(t,n){return t.style.getPropertyValue(n)||I(t).getComputedStyle(t,null).getPropertyValue(n)}function F(t){return t.trim().split(/^|\s+/)}function X(t){return t.classList||new z(t)}function z(t){this._node=t,this._names=F(t.getAttribute("class")||"")}function D(t,n){for(var e=X(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function H(t,n){for(var e=X(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function V(){this.textContent=""}function U(){this.innerHTML=""}function G(){this.nextSibling&&this.parentNode.appendChild(this)}function W(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Z(t){var n=Y(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===L&&n.documentElement.namespaceURI===L?n.createElement(t):n.createElementNS(e,t)}})(n)}function Q(){return null}function K(){var t=this.parentNode;t&&t.removeChild(this)}function J(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function tt(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function tn(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 te(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 tr(t,n,e){var r=I(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}z.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 ti=[null];function to(t,n){this._groups=t,this._parents=n}function ta(){return new to([[document.documentElement]],ti)}to.prototype=ta.prototype={constructor:to,select:function(t){"function"!=typeof t&&(t=x(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 to(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=M(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 to(i,o)},selectChild:function(t){var n;return this.select(null==t?N:(n="function"==typeof t?t:E(t),function(){return S.call(this.children,n)}))},selectChildren:function(t){var n;return this.selectAll(null==t?A:(n="function"==typeof t?t:E(t),function(){return k.call(this.children,n)}))},filter:function(t){"function"!=typeof t&&(t=$(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 to(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,q);var e=n?R:j,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="object"==typeof(y=t.call(c,c&&c.__data__,s,r))&&"length"in y?y:Array.from(y),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 y,m,_,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 to(a,r))._enter=u,a._exit=l,a},enter:function(){return new to(this._enter||this._groups.map(C),this._parents)},exit:function(){return new to(this._exit||this._groups.map(C),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 to(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=T);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 to(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=Y(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)):B(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=F(t+"");
1if(arguments.length<2){for(var r=X(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)?D:H)(this,t)}}:n?function(t){return function(){D(this,t)}}:function(t){return function(){H(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?V:("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?U:("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(G)},lower:function(){return this.each(W)},append:function(t){var n="function"==typeof t?t:Z(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:Z(t),r=null==n?Q:"function"==typeof n?n:x(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(K)},clone:function(t){return this.select(t?tt:J)},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?te:tn;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 tr(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return tr(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 tu=(p("bYoiY"),p("bYoiY"));function tl(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}var ts=t=>()=>t;function tc(t,n){var e=n-t;return e?function(n){return t+n*e}:ts(isNaN(t)?n:t)}var tf=function t(n){var e,r=1==(e=+(e=n))?tc: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)}):ts(isNaN(t)?n:t)};function i(t,n){var e=r((t=(0,tu.rgb)(t)).r,(n=(0,tu.rgb)(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),a=tc(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 th(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,tu.rgb)(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+""}}}var tp=th(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 tl((e-r/n)*n,a,i,o,u)}});function td(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}th(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 tl((e-r/n)*n,i,o,a,u)}});var tg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tv=RegExp(tg.source,"g");function ty(t,n){var e,r,i,o,a,u=tg.lastIndex=tv.lastIndex=0,l=-1,s=[],c=[];for(t+="",n+="";(i=tg.exec(t))&&(o=tv.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:td(i,o)})),u=tv.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("")})}var tm,t_,tw,tx,tb=0,tM=0,t$=0,tE=0,tS=0,tN=0,tk="object"==typeof performance&&performance.now?performance:Date,tA="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tC(){return tS||(tA(tP),tS=tk.now()+tN)}function tP(){tS=0}function tj(){this._call=this._time=this._next=null}function tR(t,n,e){var r=new tj;return r.restart(t,n,e),r}function tq(){tS=(tE=tk.now())+tN,tb=tM=0;try{!function(){tC(),++tb;for(var t,n=tw;n;)(t=tS-n._time)>=0&&n._call.call(void 0,t),n=n._next;--tb}()}finally{tb=0,function(){for(var t,n,e=tw,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:tw=n);tx=t,tL(r)}(),tS=0}}function tT(){var t=tk.now(),n=t-tE;n>1e3&&(tN-=n,tE=t)}function tL(t){!tb&&(tM&&(tM=clearTimeout(tM)),t-tS>24?(t<1/0&&(tM=setTimeout(tq,t-tk.now()-tN)),t$&&(t$=clearInterval(t$))):(t$||(tE=tk.now(),t$=setInterval(tT,1e3)),tb=1,tA(tq)))}function tO(t,n,e){var r=new tj;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}tj.prototype=tR.prototype={constructor:tj,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?tC():+e)+(null==n?0:+n),this._next||tx===this||(tx?tx._next=this:tw=this,tx=this),this._call=t,this._time=e,tL()},stop:function(){this._call&&(this._call=null,this._time=1/0,tL())}};var tY=y("start","end","cancel","interrupt"),tI=[];function tB(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 tO(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(tO(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=tR(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:tY,tween:tI,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function tF(t,n){var e=tz(t,n);if(e.state>0)throw Error("too late; already scheduled");return e}function tX(t,n){var e=tz(t,n);if(e.state>3)throw Error("too late; already running");return e}function tz(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}var tD=180/Math.PI,tH={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tV(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)*tD,skewX:Math.atan(l)*tD,scaleX:a,scaleY:u}}function tU(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:td(t,i)},{i:l-2,x:td(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>180?l+=360:l-u>180&&(u+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:td(u,l)})):l&&f.push(i(f)+"rotate("+l+r),(s=o.skewX)!==(c=a.skewX)?h.push({i:f.push(i(f)+"skewX(",
1null,r)-2,x:td(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:td(t,e)},{i:u-2,x:td(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 tG=tU(function(t){let n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?tH:tV(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),tW=tU(function(t){return null==t?tH:(n3||(n3=document.createElementNS("http://www.w3.org/2000/svg","g")),n3.setAttribute("transform",t),t=n3.transform.baseVal.consolidate())?tV((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tH},", ",")",")");function tZ(t,n,e){var r=t._id;return t.each(function(){var t=tX(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return tz(t,r).value[n]}}var tu=p("bYoiY");function tQ(t,n){var e;return("number"==typeof n?td:n instanceof(0,tu.default)?tf:(e=(0,tu.default)(n))?(n=e,tf):ty)(t,n)}var tK=ta.prototype.constructor;function tJ(t){return function(){this.style.removeProperty(t)}}var t0=0;function t1(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}var t2=ta.prototype;t1.prototype=(function(t){return ta().transition(t)}).prototype={constructor:t1,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=x(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,tB(f[h],n,e,h,f,tz(u,e)));return new t1(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=M(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=tz(l,e),g=0,v=p.length;g<v;++g)(h=p[g])&&tB(h,n,e,g,p,d);o.push(p),a.push(l)}return new t1(o,a,n,e)},selectChild:t2.selectChild,selectChildren:t2.selectChildren,filter:function(t){"function"!=typeof t&&(t=$(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 t1(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 t1(a,this._parents,this._name,this._id)},selection:function(){return new tK(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=++t0,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=tz(a,n);tB(a,t,e,s,u,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new t1(r,this._parents,t,e)},call:t2.call,nodes:t2.nodes,node:t2.node,size:t2.size,empty:t2.empty,each:t2.each,on:function(t,n){var e,r,i,o=this._id;return arguments.length<2?tz(this.node(),o).on.on(t):this.each((i=(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})?tF:tX,function(){var a=i(this,o),u=a.on;u!==e&&(r=(e=u).copy()).on(t,n),a.on=r}))},attr:function(t,n){var e=Y(t),r="transform"===e?tW:tQ;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,tZ(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=Y(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,y,m,_,w,x,b,M,$="transform"==(t+="")?tG:tQ;return null==n?this.styleTween(t,(r=t,function(){var t=B(this,r),n=(this.style.removeProperty(r),B(this,r));return t===n?null:t===i&&n===o?a:a=$(i=t,o=n)})).on("end.style."+t,tJ(t)):"function"==typeof n?this.styleTween(t,(u=t,l=tZ(this,"style."+t,n),function(){var t=B(this,u),n=l(this),e=n+"";return null==n&&(this.style.removeProperty(u),e=n=B(this,u)),t===e?null:t===s&&e===c?f:(c=e,f=$(s=t,n))})).each((h=this._id,_="end."+(m="style."+(p=t)),function(){var t=tX(this,h),n=t.on,e=null==t.value[m]?y||(y=tJ(p)):void 0;(n!==d||v!==e)&&(g=(d=n).copy()).on(_,v=e),t.on=g})):this.styleTween(t,(w=t,M=n+"",function(){var t=B(this,w);return t===M?null:t===x?b:b=$(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=tZ(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=tz(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=tX(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=tX(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(){tF(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){tF(this,t).delay=n}})(n,t)):tz(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){tX(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){tX(this,t).duration=n}})(n,t)):tz(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(){tX(this,t).ease=n}}(n,t)):tz(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();tX(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=tX(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]:t2[Symbol.iterator]};var t5={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};ta.prototype.interrupt=function(t){return this.each(function(){!function(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}}(this,t)})},ta.prototype.transition=function(t){var n,e;t instanceof t1?(n=t._id,t=t._name):(n=++t0,(e=t5).time=tC(),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])&&tB(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 t1(r,this._parents,t,n)};const{abs:t6,max:t3,min:t7}=Math;function t4(t){return{type:t}}function t9(){}function t8(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:t9,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}["w","e"].map(t4),["n","s"].map(t4),["n","w","e","s","nw","ne","sw","se"].map(t4);var nt=Math.PI,nn=nt/2,ne=nt/4,nr=2*nt,ni=180/nt,no=nt/180,na=Math.abs,nu=Math.atan,nl=Math.atan2,ns=Math.cos,nc=Math.sin,nf=Math.sign||function(t){return t>0?1:t<0?-1:0},nh=Math.sqrt;function np(t){return t>1?nn:t<-1?-nn:Math.asin(t)}function nd(t,n){return 1e-6>na(t[0]-n[0])&&1e-6>na(t[1]-n[1])}function ng(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 nv(t,n,e,r,i){var o,a,u=[],l=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(nd(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 ng(r,t,null,!0)),l.push(e.o=new ng(r,null,e,!1)),u.push(e=new ng(a,t,null,!1)),l.push(e.o=new ng(a,null,e,!0))}}),u.length){for(l.sort(n),ny(u),ny(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 ny(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}}class nm{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}}function n_(t){return[nl(t[1],t[0]),np(t[2])]}function nw(t){var n=t[0],e=t[1],r=ns(e);return[r*ns(n),r*nc(n),nc(e)]}function nx(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function nb(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 nM(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function n$(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function nE(t){var n=nh(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function nS(t){return na(t[0])<=nt?t[0]:nf(t[0])*((na(t[0])+nt)%nr-nt)}function nN(t){return Array.from(function*(t){for(let n of t)yield*n}(t))}function nk(t,n,e,r){return function(i){var o,a,u,l=n(i),s=t8(),c=n(s),f=!1,h={point:p,lineStart:g,lineEnd:v,polygonStart:function(){h.point=y,h.lineStart=m,h.lineEnd=_,a=[],o=[]},polygonEnd:function(){h.point=p,h.lineStart=g,h.lineEnd=v,a=nN(a);var t=function(t,n){var e=nS(n),r=n[1],i=nc(r),o=[nc(e),-ns(e),0],a=0,u=0,l=new nm;1===i?r=nn+1e-6:-1===i&&(r=-nn-1e-6);for(var s=0,c=t.length;s<c;++s)if(h=(f=t[s]).length)for(var f,h,p=f[h-1],d=nS(p),g=p[1]/2+ne,v=nc(g),y=ns(g),m=0;m<h;++m,d=w,v=b,y=M,p=_){var _=f[m],w=nS(_),x=_[1]/2+ne,b=nc(x),M=ns(x),$=w-d,E=$>=0?1:-1,S=E*$,N=S>nt,k=v*b;if(l.add(nl(k*E*nc(S),y*M+k*ns(S))),a+=N?$+E*nr:$,N^d>=e^w>=e){var A=nb(nw(p),nw(_));nE(A);var C=nb(o,A);nE(C);var P=(N^$>=0?-1:1)*np(C[2]);(r>P||r===P&&(A[0]||A[1]))&&(u+=N^$>=0?1:-1)}}return(a<-.000001||a<1e-6&&l<-.000000000001)^1&u}(o,r);a.length?(f||(i.polygonStart(),f=!0),nv(a,nC,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 y(t,n){u.push([t,n]),c.point(t,n)}function m(){c.lineStart(),u=[]}function _(){y(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(nA))}}return h}}function nA(t){return t.length>1}function nC(t,n){return((t=t.x)[0]<0?t[1]-nn-1e-6:nn-t[1])-((n=n.x)[0]<0?n[1]-nn-1e-6:nn-n[1])}var nP=nk(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,f,h,p=o>0?nt:-nt,d=na(o-e);1e-6>na(d-nt)?(t.point(e,r=(r+a)/2>0?nn:-nn),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),t.point(o,r),n=0):i!==p&&d>=nt&&(1e-6>na(e-i)&&(e-=1e-6*i),1e-6>na(o-p)&&(o-=1e-6*p),u=e,l=r,r=na(h=nc(u-(s=o)))>1e-6?nu((nc(l)*(f=ns(a))*nc(s)-nc(a)*(c=ns(l))*nc(u))/(c*f*h)):(l+a)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),n=0),t.point(e=o,r=a),i=p},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*nn,r.point(-nt,i),r.point(0,i),r.point(nt,i),r.point(nt,0),r.point(nt,-i),r.point(0,-i),r.point(-nt,-i),r.point(-nt,0),r.point(-nt,i);else if(na(t[0]-n[0])>1e-6){var o=t[0]<n[0]?nt:-nt;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])},[-nt,-nn]);function nj(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 nR(t,n){return na(t)>nt&&(t-=Math.round(t/nr)*nr),[t,n]}function nq(t){return function(n,e){return na(n+=t)>nt&&(n-=Math.round(n/nr)*nr),[n,e]}}function nT(t){var n=nq(t);return n.invert=nq(-t),n}function nL(t,n){var e=ns(t),r=nc(t),i=ns(n),o=nc(n);function a(t,n){var a=ns(n),u=ns(t)*a,l=nc(t)*a,s=nc(n),c=s*e+u*r;return[nl(l*i-c*o,u*e-s*r),np(c*i+l*o)]}return a.invert=function(t,n){var a=ns(n),u=ns(t)*a,l=nc(t)*a,s=nc(n),c=s*i-l*o;return[nl(l*i+s*o,u*e+c*r),np(c*e-u*r)]},a}function nO(t,n){n=nw(n),n[0]-=t,nE(n);var e,r=(e=-n[1])>1?0:e<-1?nt:Math.acos(e);return((0>-n[2]?-r:r)+nr-1e-6)%nr}nR.invert=nR;var nY=t=>t;function nI(t){return function(n){var e=new nB;for(var r in t)e[r]=t[r];return e.stream=n,e}}function nB(){}function nF(t,n){t&&nz.hasOwnProperty(t.type)&&nz[t.type](t,n)}nB.prototype={constructor:nB,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 nX={Feature:function(t,n){nF(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)nF(e[r].geometry,n)}},nz={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){nD(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)nD(e[r],n,0)},Polygon:function(t,n){nH(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)nH(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)nF(e[r],n)}};function nD(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 nH(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)nD(t[e],n,1);n.polygonEnd()}function nV(t,n){t&&nX.hasOwnProperty(t.type)?nX[t.type](t,n):nF(t,n)}var nU=1/0,nG=1/0,nW=-1/0,nZ=nW,nQ={point:function(t,n){t<nU&&(nU=t),t>nW&&(nW=t),n<nG&&(nG=n),n>nZ&&(nZ=n)},lineStart:t9,lineEnd:t9,polygonStart:t9,polygonEnd:t9,result:function(){var t=[[nU,nG],[nW,nZ]];return nW=nZ=-(nG=nU=1/0),t}};function nK(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),nV(e,t.stream(nQ)),n(nQ.result()),null!=r&&t.clipExtent(r),t}function nJ(t,n,e){return nK(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)}var n0=ns(30*no);function n1(t,n){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,m=c-i,_=y*y+m*m;if(_>4*n&&g--){var w=a+h,x=u+p,b=l+d,M=nh(w*w+x*x+b*b),$=np(b/=M),E=1e-6>na(na(b)-1)||1e-6>na(o-f)?(o+f)/2:nl(x,w),S=t(E,$),N=S[0],k=S[1],A=N-r,C=k-i,P=m*A-y*C;(P*P/_>n||na((y*A+m*C)/_-.5)>.3||a*h+u*p+l*d<n0)&&(e(r,i,o,a,u,l,N,k,E,w/=M,x/=M,b,g,v),v.point(N,k),e(N,k,E,w,x,b,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:y,lineEnd:_,polygonStart:function(){n.pol
1ygonStart(),g.lineStart=w},polygonEnd:function(){n.polygonEnd(),g.lineStart=y}};function v(e,r){e=t(e,r),n.point(e[0],e[1])}function y(){c=NaN,g.point=m,n.lineStart()}function m(r,i){var o=nw([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(){y(),g.point=x,g.lineEnd=b}function x(t,n){m(r=t,n),i=c,o=f,a=h,u=p,l=d,g.point=m}function b(){e(c,f,s,h,p,d,i,o,r,a,u,l,16,n),g.lineEnd=_,_()}return g}}(t,n):nI({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}var n2=nI({point:function(t,n){this.stream.point(t*no,n*no)}});function n5(t,n,e,r,i,o){if(!o)return function(t,n,e,r,i){function o(o,a){return[n+t*(o*=r),e-t*(a*=i)]}return o.invert=function(o,a){return[(o-n)/t*r,(e-a)/t*i]},o}(t,n,e,r,i);var a=ns(o),u=nc(o),l=a*t,s=u*t,c=a/t,f=u/t,h=(u*e-a*n)/t,p=(u*n+a*e)/t;function d(t,o){return[l*(t*=r)-s*(o*=i)+n,e-s*t-l*o]}return d.invert=function(t,n){return[r*(c*t-f*n+h),i*(p-f*t-c*n)]},d}function n6(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(-.013791+r*(.003971*e-.001529*r))),n*(1.007226+e*(.015085+r*(-.044475+.028874*e-.005916*r)))]}n6.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(na(e)>1e-6&&--i>0)return[t/(.8707+(o=r*r)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),r]};var n3,n7,n4,n9,n8,et=new nm,en=new nm,ee={point:t9,lineStart:t9,lineEnd:t9,polygonStart:function(){ee.lineStart=er,ee.lineEnd=ea},polygonEnd:function(){ee.lineStart=ee.lineEnd=ee.point=t9,et.add(na(en)),en=new nm},result:function(){var t=et/2;return et=new nm,t}};function er(){ee.point=ei}function ei(t,n){ee.point=eo,n7=n9=t,n4=n8=n}function eo(t,n){en.add(n8*t-n9*n),n9=t,n8=n}function ea(){eo(n7,n4)}var eu,el,es,ec,ef=0,eh=0,ep=0,ed=0,eg=0,ev=0,ey=0,em=0,e_=0,ew={point:ex,lineStart:eb,lineEnd:eE,polygonStart:function(){ew.lineStart=eS,ew.lineEnd=eN},polygonEnd:function(){ew.point=ex,ew.lineStart=eb,ew.lineEnd=eE},result:function(){var t=e_?[ey/e_,em/e_]:ev?[ed/ev,eg/ev]:ep?[ef/ep,eh/ep]:[NaN,NaN];return ef=eh=ep=ed=eg=ev=ey=em=e_=0,t}};function ex(t,n){ef+=t,eh+=n,++ep}function eb(){ew.point=eM}function eM(t,n){ew.point=e$,ex(es=t,ec=n)}function e$(t,n){var e=t-es,r=n-ec,i=nh(e*e+r*r);ed+=i*(es+t)/2,eg+=i*(ec+n)/2,ev+=i,ex(es=t,ec=n)}function eE(){ew.point=ex}function eS(){ew.point=ek}function eN(){eA(eu,el)}function ek(t,n){ew.point=eA,ex(eu=es=t,el=ec=n)}function eA(t,n){var e=t-es,r=n-ec,i=nh(e*e+r*r);ed+=i*(es+t)/2,eg+=i*(ec+n)/2,ev+=i,ey+=(i=ec*t-es*n)*(es+t),em+=i*(ec+n),e_+=3*i,ex(es=t,ec=n)}function eC(t){this._context=t}eC.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,nr)}},result:t9};var eP,ej,eR,eq,eT,eL=new nm,eO={point:t9,lineStart:function(){eO.point=eY},lineEnd:function(){eP&&eI(ej,eR),eO.point=t9},polygonStart:function(){eP=!0},polygonEnd:function(){eP=null},result:function(){var t=+eL;return eL=new nm,t}};function eY(t,n){eO.point=eI,ej=eq=t,eR=eT=n}function eI(t,n){eq-=t,eT-=n,eL.add(nh(eq*eq+eT*eT)),eq=t,eT=n}class eB{constructor(e){this._append=null==e?eF:function(e){let r=Math.floor(e);if(!(r>=0))throw RangeError(`invalid digits: ${e}`);if(r>15)return eF;if(r!==t){let e=10**r;t=r,n=function(t){let n=1;this._+=t[0];for(let r=t.length;n<r;++n)this._+=Math.round(arguments[n]*e)/e+t[n]}}return n}(e),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(t,i){switch(this._point){case 0:this._append`M${t},${i}`,this._point=1;break;case 1:this._append`L${t},${i}`;break;default:if(this._append`M${t},${i}`,this._radius!==e||this._append!==n){let t=this._radius,i=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`,e=t,n=this._append,r=this._,this._=i}this._+=r}}result(){let t=this._;return this._="",t.length?t:null}}function eF(t){let n=1;this._+=t[0];for(let e=t.length;n<e;++n)this._+=arguments[n]+t[n]}const eX=Math.sqrt(50),ez=Math.sqrt(10),eD=Math.sqrt(2);function eH(t,n,e){let r,i,o;let a=(n-t)/Math.max(0,e),u=Math.floor(Math.log10(a)),l=a/Math.pow(10,u),s=l>=eX?10:l>=ez?5:l>=eD?2:1;return(u<0?(r=Math.round(t*(o=Math.pow(10,-u)/s)),i=Math.round(n*o),r/o<t&&++r,i/o>n&&--i,o=-o):(r=Math.round(t/(o=Math.pow(10,u)*s)),i=Math.round(n/o),r*o<t&&++r,i*o>n&&--i),i<r&&.5<=e&&e<2)?eH(t,n,2*e):[r,i,o]}function eV(t,n,e){return eH(t=+t,n=+n,e=+e)[2]}function eU(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function eG(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function eW(t){let n,e,r;
1function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{let n=i+o>>>1;0>e(t[n],r)?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=eU,e=(n,e)=>eU(t(n),e),r=(n,e)=>t(n)-e):(n=t===eU||t===eG?t:eZ,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){let a=i(t,n,e,o-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{let n=i+o>>>1;0>=e(t[n],r)?i=n+1:o=n}while(i<o)}return i}}}function eZ(){return 0}const eQ=eW(eU),eK=eQ.right;function eJ(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function e0(t){return+t}eQ.left,eW(function(t){return null===t?NaN:+t}).center;var e1=[0,1];function e2(t){return t}function e5(t,n){var e;return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e})}function e6(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=e5(i,r),o=e(a,o)):(r=e5(r,i),o=e(o,a)),function(t){return o(r(t))}}function e3(t,n,e){var r=Math.min(t.length,n.length)-1,i=Array(r),o=Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)i[a]=e5(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=eK(t,n,1,r)-1;return o[e](i[e](n))}}function e7(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function e4(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function e9(t){return(t=e4(Math.abs(t)))?t[1]:NaN}var e8=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function rt(t){var n;if(!(n=e8.exec(t)))throw Error("invalid format: "+t);return new rn({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function rn(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function re(t,n){var e=e4(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}rt.prototype=rn.prototype,rn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var rr={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>re(100*t,n),r:re,s:function(t,n){var e=e4(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(a=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+e4(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function ri(t){return t}var ro=Array.prototype.map,ra=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];l=(u=function(t){var n,e,r,i=void 0===t.grouping||void 0===t.thousands?ri:(n=ro.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],l=0;i>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),o.push(t.substring(i-=u,i+u)),!((l+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",l=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?ri:(r=ro.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),c=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"â":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function p(t){var n=(t=rt(t)).fill,e=t.align,r=t.sign,p=t.symbol,d=t.zero,g=t.width,v=t.comma,y=t.precision,m=t.trim,_=t.type;"n"===_?(v=!0,_="g"):rr[_]||(void 0===y&&(y=12),m=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var w="$"===p?o:"#"===p&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",x="$"===p?u:/[%p]/.test(_)?c:"",b=rr[_],M=/[defgprs%]/.test(_);function $(t){var o,u,c,p=w,$=x;if("c"===_)$=b(t)+$,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:b(Math.abs(t),y),m&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),E&&0==+t&&"+"!==r&&(E=!1),p=(E?"("===r?r:f:"-"===r||"("===r?"":r)+p,$=("s"===_?ra[8+a/3]:"")+$+(E&&"("===r?")":""),M){for(o=-1,u=t.length;++o<u;)if(48>(c=t.charCodeAt(o))||c>57){$=(46===c?l+t.slice(o+1):t.slice(o))+$,t=t.slice(0,o);break}}}v&&!d&&(t=i(t,1/0));var S=p.length+t.length+$.length,N=S<g?Array(g-S+1).join(n):"";switch(v&&d&&(t=i(N+t,N.length?g-$.length:1/0),N=""),e){case"<":t=p+t+$+N;break;case"=":t=p+N+t+$;break;case"^":t=N.slice(0,S=N.length>>1)+p+t+$+N.slice(S);break;default:t=N+p+t+$}return s(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),$.toString=function(){return t+""},$}return{format:p,formatPrefix:function(t,n){var e=p(((t=rt(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(e9(n)/3))),i=Math.pow(10,-r),o=ra[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,s=u.formatPrefix;var ru=tp((i=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(function(t){for(var n=t.length/6|0,e=Array(n),r=0;r<n;)e[r]="#"+t.slice(6*r,6*++r);return e}))[i.length-1]);function rl(t){var n;
1return"string"==typeof(n=Z(t).call(document.documentElement))?new to([[document.querySelector(n)]],[document.documentElement]):new to([[n]],ti)}function rs(t){return function(){return t}}function rc(t){this._context=t}function rf(t){return new rc(t)}Array.prototype.slice,rc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};const rh=Math.PI,rp=2*rh,rd=rp-1e-6;function rg(t){this._+=t[0];for(let n=1,e=t.length;n<e;++n)this._+=arguments[n]+t[n]}class rv{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?rg:function(t){let n=Math.floor(t);if(!(n>=0))throw Error(`invalid digits: ${t}`);if(n>15)return rg;let e=10**n;return function(t){this._+=t[0];for(let n=1,r=t.length;n<r;++n)this._+=Math.round(arguments[n]*e)/e+t[n]}}(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,e,r){this._append`Q${+t},${+n},${this._x1=+e},${this._y1=+r}`}bezierCurveTo(t,n,e,r,i,o){this._append`C${+t},${+n},${+e},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,n,e,r,i){if(t=+t,n=+n,e=+e,r=+r,(i=+i)<0)throw Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,u=e-t,l=r-n,s=o-t,c=a-n,f=s*s+c*c;if(null===this._x1)this._append`M${this._x1=t},${this._y1=n}`;else if(f>1e-6){if(Math.abs(c*u-l*s)>1e-6&&i){let h=e-o,p=r-a,d=u*u+l*l,g=Math.sqrt(d),v=Math.sqrt(f),y=i*Math.tan((rh-Math.acos((d+f-(h*h+p*p))/(2*g*v)))/2),m=y/v,_=y/g;Math.abs(m-1)>1e-6&&this._append`L${t+m*s},${n+m*c}`,this._append`A${i},${i},0,0,${+(c*h>s*p)},${this._x1=t+_*u},${this._y1=n+_*l}`}else this._append`L${this._x1=t},${this._y1=n}`}}arc(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw Error(`negative radius: ${e}`);let a=e*Math.cos(r),u=e*Math.sin(r),l=t+a,s=n+u,c=1^o,f=o?r-i:i-r;null===this._x1?this._append`M${l},${s}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-s)>1e-6)&&this._append`L${l},${s}`,e&&(f<0&&(f=f%rp+rp),f>rd?this._append`A${e},${e},0,1,${c},${t-a},${n-u}A${e},${e},0,1,${c},${this._x1=l},${this._y1=s}`:f>1e-6&&this._append`A${e},${e},0,${+(f>=rh)},${c},${this._x1=t+e*Math.cos(i)},${this._y1=n+e*Math.sin(i)}`)}rect(t,n,e,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+r}h${-e}Z`}toString(){return this._}}function ry(t){return t[0]}function rm(t){return t[1]}function r_(t){return((t=Math.exp(t))+1/t)/2}function rw(t,n,e){this.k=t,this.x=n,this.y=e}function rx(t){return t}function rb(t,n){var e=n.id,r=n.bbox,i=null==n.properties?{}:n.properties,o=function(t,n){var e=function(t){if(null==t)return rx;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)}(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}}rv.prototype,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),y=(h*h-s*s+r*g)/(2*s*e*v),m=(h*h-s*s-r*g)/(2*h*e*v),_=Math.log(Math.sqrt(y*y+1)-y);a=(Math.log(Math.sqrt(m*m+1)-m)-_)/n,o=function(t){var r,i,o=t*a,c=r_(_),f=s/(e*v)*(((r=Math.exp(2*(r=n*o+_)))-1)/(r+1)*c-((i=Math.exp(i=_))-1/i)/2);return[u+f*p,l+f*d,s*c/r_(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),rw.prototype={constructor:rw,scale:function(t){return 1===t?this:new rw(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new rw(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new rw(1,0,0),rw.prototype;let rM=document.getElementById("company-map-canvas");null!==rM&&(async()=>{var t;let n=await fetch("https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json"),e=await n.json(),r=e.objects.countries;r.geometries=r.geometries.filter(t=>10!=t.id);let i=("string"==typeof(t=e.objects.countries)&&(t=e.objects[t]),"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return rb(e,t)})}:rb(e,t)),o=[{name:"Palo Alto, CA",location:{lat:37.468319,lon:-122.143936}},{name:"Stuttgart, Germany",location:{lat:48.783333,lon:9.183333}}],a=(function(t){var n,e,r,i,o,a,u,l,s,c,f=150,h=480,p=250,d=0,g=0,v=0,y=0,m=0,_=0,w=1,x=1,b=null,M=nP,$=null,E=nY,S=.5;function N(t){return l(t[0]*no,t[1]*no)}function k(t){return(t=l.invert(t[0],t[1]))&&[t[0]*ni,t[1]*ni]}function A(){var t,r,i,o=n5(f,0,0,w,x,_).apply(null,n(d,g)),s=n5(f,h-o[0],p-o[1],w,x,_);return t=v,r=y,i=m,e=(t%=nr)?r||i?nj(nT(t),nL(r,i)):nT(t):r||i?nL(r,i):nR,u=nj(n,s),l=nj(e,u),a=n1(u,S),
1C()}function C(){return s=c=null,N}return N.stream=function(t){var n;return s&&c===t?s:s=n2((n=e,nI({point:function(t,e){var r=n(t,e);return this.stream.point(r[0],r[1])}}))(M(a(E(c=t)))))},N.preclip=function(t){return arguments.length?(M=t,b=void 0,C()):M},N.postclip=function(t){return arguments.length?(E=t,$=r=i=o=null,C()):E},N.clipAngle=function(t){return arguments.length?(M=+t?function(t){var n=ns(t),e=6*no,r=n>0,i=na(n)>1e-6;function o(t,e){return ns(t)*ns(e)>n}function a(t,e,r){var i=nw(t),o=nw(e),a=[1,0,0],u=nb(i,o),l=nx(u,u),s=u[0],c=l-s*s;if(!c)return!r&&t;var f=nb(a,u),h=n$(a,n*l/c);nM(h,n$(u,-n*s/c));var p=nx(h,f),d=nx(f,f),g=p*p-d*(nx(h,h)-1);if(!(g<0)){var v=nh(g),y=n$(f,(-p-v)/d);if(nM(y,h),y=n_(y),!r)return y;var m,_=t[0],w=e[0],x=t[1],b=e[1];w<_&&(m=_,_=w,w=m);var M=w-_,$=1e-6>na(M-nt);if(!$&&b<x&&(m=x,x=b,b=m),$||M<1e-6?$?x+b>0^y[1]<(1e-6>na(y[0]-_)?x:b):x<=y[1]&&y[1]<=b:M>nt^(_<=y[0]&&y[0]<=w)){var E=n$(f,(-p+v)/d);return nM(E,h),[y,n_(E)]}}}function u(n,e){var i=r?t:nt-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return nk(o,function(t){var n,e,l,s,c;return{lineStart:function(){s=l=!1,c=1},point:function(f,h){var p,d,g=[f,h],v=o(f,h),y=r?v?0:u(f,h):v?u(f+(f<0?nt:-nt),h):0;!n&&(s=l=v)&&t.lineStart(),v!==l&&(!(d=a(n,g))||nd(n,d)||nd(g,d))&&(g[2]=1),v!==l?(c=0,v?(t.lineStart(),d=a(g,n),t.point(d[0],d[1])):(d=a(n,g),t.point(d[0],d[1],2),t.lineEnd()),n=d):i&&n&&r^v&&!(y&e)&&(p=a(g,n,!0))&&(c=0,r?(t.lineStart(),t.point(p[0][0],p[0][1]),t.point(p[1][0],p[1][1]),t.lineEnd()):(t.point(p[1][0],p[1][1]),t.lineEnd(),t.lineStart(),t.point(p[0][0],p[0][1],3))),!v||n&&nd(n,g)||t.point(g[0],g[1]),n=g,l=v,e=y},lineEnd:function(){l&&t.lineEnd(),n=null},clean:function(){return c|(s&&l)<<1}}},function(n,r,i,o){!function(t,n,e,r,i,o){if(e){var a=ns(n),u=nc(n),l=r*e;null==i?(i=n+r*nr,o=n-l/2):(i=nO(a,i),o=nO(a,o),(r>0?i<o:i>o)&&(i+=r*nr));for(var s,c=i;r>0?c>o:c<o;c-=l)s=n_([a,-u*ns(c),-u*nc(c)]),t.point(s[0],s[1])}}(o,t,e,i,n,r)},r?[0,-t]:[-nt,t-nt])}(b=t*no):(b=null,nP),C()):b*ni},N.clipExtent=function(t){return arguments.length?(E=null==t?($=r=i=o=null,nY):function(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>na(r[0]-t)?i>0?0:3:1e-6>na(r[0]-e)?i>0?2:1:1e-6>na(r[1]-n)?i>0?1: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,y,m,_=a,w=t8(),x={point:b,lineStart:function(){x.point=M,s&&s.push(c=[]),y=!0,v=!1,d=g=NaN},lineEnd:function(){l&&(M(f,h),p&&v&&w.rejoin(),l.push(w.result())),x.point=b,v&&_.lineEnd()},polygonStart:function(){_=w,l=[],s=[],m=!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=m&&n,i=(l=nN(l)).length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&nv(l,u,n,o,a),a.polygonEnd()),_=a,l=s=c=null}};function b(t,n){i(t,n)&&_.point(t,n)}function M(o,a){var u=i(o,a);if(s&&c.push([o,a]),y)f=o,h=a,p=u,y=!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)){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)?(v||(_.lineStart(),_.point(l[0],l[1])),_.point(w[0],w[1]),u||_.lineEnd(),m=!1):u&&(_.lineStart(),_.point(o,a),m=!1)}d=o,g=a,v=u}return x}}($=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),C()):null==$?null:[[$,r],[i,o]]},N.scale=function(t){return arguments.length?(f=+t,A()):f},N.translate=function(t){return arguments.length?(h=+t[0],p=+t[1],A()):[h,p]},N.center=function(t){return arguments.length?(d=t[0]%360*no,g=t[1]%360*no,A()):[d*ni,g*ni]},N.rotate=function(t){return arguments.length?(v=t[0]%360*no,y=t[1]%360*no,m=t.length>2?t[2]%360*no:0,A()):[v*ni,y*ni,m*ni]},N.angle=function(t){return arguments.length?(_=t%360*no,A()):_*ni},N.reflectX=function(t){return arguments.length?(w=t?-1:1,A()):w<0},N.reflectY=function(t){return arguments.length?(x=t?-1:1,A()):x<0},N.precision=function(t){return arguments.length?(a=n1(u,S=t*t),C()):nh(S)},N.fitExtent=function(t,n){return nJ(N,t,n)},N.fitSize=function(t,n){return nJ(N,[[0,0],t],n)},N.fitWidth=function(t,n){return nK(N,function(n){var e=+t,r=e/(n[1][0]-n[0][0]),i=(e-r*(n[1][0]+n[0][0]))/2,o=-r*n[0][1];N.scale(150*r).translate([i,o])},n)},N.fitHeight=function(t,n){return nK(N,function(n){var e=+t,r=e/(n[1][1]-n[0][1]),i=-r*n[0][0],o=(e-r*(n[1][1]+n[0][1]))/2;N.scale(150*r).translate([i,o])},n)},function(){return n=t.apply(this,arguments),N.invert=n.invert&&k,A()}})(function(){return n6})().scale(175.295).fitSize([960,500],{type:"Sphere"}
1).center([0,5]).rotate([5,-5,0]),u=function(t,n){let e=3,r=4.5,i,o;function a(t){return t&&("function"==typeof r&&o.pointRadius(+r.apply(this,arguments)),nV(t,i(o))),o.result()}return a.area=function(t){return nV(t,i(ee)),ee.result()},a.measure=function(t){return nV(t,i(eO)),eO.result()},a.bounds=function(t){return nV(t,i(nQ)),nQ.result()},a.centroid=function(t){return nV(t,i(ew)),ew.result()},a.projection=function(n){return arguments.length?(i=null==n?(t=null,nY):(t=n).stream,a):t},a.context=function(t){return arguments.length?(o=null==t?(n=null,new eB(e)):new eC(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 eB(e)),a},a.projection(t).digits(e).context(n)}(a),l=rl("svg").attr("preserveAspectRatio","xMinYMin meet").attr("viewBox",[0,0,960,500]).attr("class","mx-auto");l.append("g").selectAll("path").data(i.features).join("path").attr("d",u).attr("fill","rgb(232, 239, 248)");let s=l.append("g").attr("class","pins");s.selectAll(".pin").data(o).join("circle").attr("class","pin").datum(t=>a([t.location.lon,t.location.lat])).attr("r",3).attr("cx",t=>t[0]).attr("cy",t=>t[1]),rM.appendChild(l.node()),s.selectAll(".label").data(o).join("text").attr("class","label").text(t=>t.name).datum(t=>a([t.location.lon,t.location.lat])).attr("x",t=>t[0]).attr("y",t=>t[1]).attr("dy",-30).attr("text-anchor","middle").style("font-family","sans-serif").style("font-size","0.6em").style("font-weight","bolder"),s.selectAll(".label").each(function(){let t=this.getBBox(),n=rl("svg:rect").attr("class","label-bg").attr("x",t.x-5).attr("y",t.y-5).attr("rx",5).attr("width",t.width+10).attr("height",t.height+10);this.parentNode.insertBefore(n.node(),this)})})();let r$=document.getElementById("solution-radar-chart-canvas");if(null!==r$){let t=(function t(){var n,e=(function(){var t,n,e,r,i,o,a=e1,u=e1,l=function t(n,e){var r,i,o=typeof e;return null==e||"boolean"===o?ts(e):("number"===o?td:"string"===o?(i=(0,tu.default)(e))?(e=i,tf):ty:e instanceof(0,tu.default)?tf:e instanceof Date?function(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(n,e){var r,i=e?e.length:0,o=n?Math.min(i,n.length):0,a=Array(o),u=Array(i);for(r=0;r<o;++r)a[r]=t(n[r],e[r]);for(;r<i;++r)u[r]=e[r];return function(t){for(r=0;r<o;++r)u[r]=a[r](t);return u}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(n,e){var r,i={},o={};for(r in(null===n||"object"!=typeof n)&&(n={}),(null===e||"object"!=typeof e)&&(e={}),e)r in n?i[r]=t(n[r],e[r]):o[r]=e[r];return function(t){for(r in i)o[r]=i[r](t);return o}}:td:function(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}})(n,e)},s=e2;function c(){var t,n,e,l=Math.min(a.length,u.length);return s!==e2&&(t=a[0],n=a[l-1],t>n&&(e=t,t=n,n=e),s=function(e){return Math.max(t,Math.min(n,e))}),r=l>2?e3:e6,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,l)))(t(s(n)))}return f.invert=function(e){return s(n((o||(o=r(u,a.map(t),td)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,e0),c()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),c()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),l=eJ,c()},f.clamp=function(t){return arguments.length?(s=!!t||e2,c()):s!==e2},f.interpolate=function(t){return arguments.length?(l=t,c()):l},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,c()}})()(e2,e2);return e.copy=function(){return t().domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())},e7.apply(e,arguments),n=e.domain,e.ticks=function(t){var e=n();return function(t,n,e){if(n=+n,t=+t,!((e=+e)>0))return[];if(t===n)return[t];let r=n<t,[i,o,a]=r?eH(n,t,e):eH(t,n,e);if(!(o>=i))return[];let u=o-i+1,l=Array(u);if(r){if(a<0)for(let t=0;t<u;++t)l[t]=-((o-t)/a);else for(let t=0;t<u;++t)l[t]=(o-t)*a}else if(a<0)for(let t=0;t<u;++t)l[t]=-((i+t)/a);else for(let t=0;t<u;++t)l[t]=(i+t)*a;return l}(e[0],e[e.length-1],null==t?10:t)},e.tickFormat=function(t,e){var r=n();return function(t,n,e,r){var i,o,a=function(t,n,e){n=+n,t=+t,e=+e;let r=n<t,i=r?eV(n,t,e):eV(t,n,e);return(r?-1:1)*(i<0?-(1/i):i)}(t,n,e);switch((r=rt(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(e9(u)/3)))-e9(Math.abs(a)
1)))||(r.precision=o),s(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Math.max(0,e9(Math.abs(Math.max(Math.abs(t),Math.abs(n)))-(i=Math.abs(i=a)))-e9(i))+1)||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Math.max(0,-e9(Math.abs(a))))||(r.precision=o-("%"===r.type)*2)}return l(r)}(r[0],r[r.length-1],null==t?10:t,e)},e.nice=function(t){null==t&&(t=10);var r,i,o=n(),a=0,u=o.length-1,l=o[a],s=o[u],c=10;for(s<l&&(i=l,l=s,s=i,i=a,a=u,u=i);c-- >0;){if((i=eV(l,s,t))===r)return o[a]=l,o[u]=s,n(o);if(i>0)l=Math.floor(l/i)*i,s=Math.ceil(s/i)*i;else if(i<0)l=Math.ceil(l*i)/i,s=Math.floor(s*i)/i;else break;r=i}return e},e})().domain([0,10]).range([0,325.5]);function rE(t,n){return{x:t*Math.cos(n),y:t*Math.sin(n)}}let n=[{title:"FOV"},{title:"Angular resolution"},{title:"Classification"},{title:"Color detection"},{title:"Interference robustness"},{title:"Low-cost",key:"cost"},{title:"Lighting robustness"},{title:"Velocity resolution"},{title:"Range resolution"},{title:"Weather robustness"},{title:"Range"}],e=[{key:"camera-strengths",duration:1500},{key:"lidar-strengths",duration:1500},{key:"radar-strengths",duration:1500},{key:"lir-boost-imaging",duration:3e3,enter(){let t=rj(rS(o.data_lir));rC(y,_,g,c.node(),2e3,"LIR",t,m),p.transition().duration(2e3).attr("d",t=>rN(t.data_lir))}},{key:"lir-with-camera",enter(){rC(y,_,g,c.node(),2e3,"Multi-modal LIR and vision",{x:0,y:0},m),p.transition().duration(2e3).attr("d",t=>rN(t.data_lir))}}],r=[{key:"lidar",title:"LIDAR",color:"#FFBF00",data:{color_detection:1,interference_robustness:8,cost:1,lighting_robustness:8,velocity_resolution:0,range_resolution:5,weather_robustness:3,range:5,fov:10,angular_resolution:8,classification:6}},{key:"camera",title:"Camera",color:"#009D3A",data:{color_detection:10,interference_robustness:10,cost:8,lighting_robustness:3,velocity_resolution:1,range_resolution:0,weather_robustness:3,range:4,fov:7,angular_resolution:10,classification:10}},{key:"radar",title:"Radar",color:"#0039A2",data:{color_detection:0,interference_robustness:3,cost:10,lighting_robustness:10,velocity_resolution:10,range_resolution:9,weather_robustness:10,range:9,fov:4,angular_resolution:2,classification:2},data_lir:{color_detection:0,interference_robustness:6,cost:8,lighting_robustness:10,velocity_resolution:10,range_resolution:10,weather_robustness:10,range:9,fov:7,angular_resolution:8,classification:6}}],i=t=>"radar"===t.key,o=r.filter(i)[0],a=2*Math.PI/n.length;for(let[e,i]of n.entries()){let o=i.theta=e*a-Math.PI/2;Object.assign(n,rE(t(10),o)),i.key||=rA(i,"_"),i.flip=o>0&&o<Math.PI,i.winner=r.map((t,n)=>[t.data[i.key],t]).reduce((t,n)=>n[0]>t[0]?n:t)[1]}let u=(function(t,n){let e;var r=rs(!0),i=null,o=rf,a=null,u=(e=3,l.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 l},()=>new rv(e));function l(e){var l,s,c,f,h=(e="object"==typeof(l=e)&&"length"in l?l:Array.from(l)).length,p=!1;for(null==i&&(a=o(f=u())),s=0;s<=h;++s)!(s<h&&r(c=e[s],s,e))===p&&((p=!p)?a.lineStart():a.lineEnd()),p&&a.point(+t(c,s,e),+n(c,s,e));if(f)return a=null,f+""||null}return t="function"==typeof t?t:void 0===t?ry:rs(t),n="function"==typeof n?n:void 0===n?rm:rs(n),l.x=function(n){return arguments.length?(t="function"==typeof n?n:rs(+n),l):t},l.y=function(t){return arguments.length?(n="function"==typeof t?t:rs(+t),l):n},l.defined=function(t){return arguments.length?(r="function"==typeof t?t:rs(!!t),l):r},l.curve=function(t){return arguments.length?(o=t,null!=i&&(a=o(i)),l):o},l.context=function(t){return arguments.length?(null==t?i=a=null:a=o(i=t),l):i},l})().x(t=>t.x).y(t=>t.y);function rS(e){return n.map(n=>rE(t(e[n.key]),n.theta))}function rN(t){let n=rS(t);return n.push(n[0]),u(n)}let c=rl("svg").attr("preserveAspectRatio","xMidYMid meet").attr("viewBox",[-350,-350,700,700]).attr("class","mx-auto"),f=t.ticks(5).reverse();c.append("g").selectAll("circle").data(f).join("circle").attr("r",t).attr("fill",(t,n)=>ru((n+1)/f.length/2)),c.append("g").selectAll("line").data(n).join("line").attr("x2",t=>t.x).attr("y2",t=>t.y);let h=c.append("g").selectAll("path").data(r).join("path").attr("class",t=>`series series-${rA(t)}`).attr("d",t=>rN(t.data)).attr("fill",t=>t.color).attr("stroke","none"),p=h.filter(i);c.append("defs").selectAll("path").data(n).join("path").attr("id",(t,n)=>`feature-${n}-path`).attr("d",t=>{let n=rE(341.5,t.theta-a/2*1.5),e=rE(341.5,t.theta+a/2*1.5),r=1;return t.flip&&([n,e]=[e,n],r=0),`M ${n.x} ${n.y} A 341.5 341.5 0 0 ${r} ${e.x} ${e.y}`}),c.append("g").selectAll("text").data(n).join("text").attr("class",t=>`label label-${rA(t)} label-winner-${rA(t.winner)}`).style("fill",t=>t.winner.color).append("textPath").attr("xlink:href",(t,n)=>`#feature-${n}-path`).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("startOffset","50%").text(t=>t.title),r$.appendChild(c.node());let d=h.datum(function(t){return{...rj(rS(t.data)),...t}}).select(function(){return this.parentNode.appendChild(rP("g"))}).attr("class",t=>`series-label series-label-${rA(t)}`).attr("transform",t=>`translate(${t.x}, ${t.y})`),g=d.filter(i),v=d.filter(t=>void 0!==t.title).append("text").attr("dominant-baseline","middle").attr("text-anchor","middle").text(t=>t.title).attr("fill","white").style("font-family","sans-serif"),y=v.filter(i),m={x:10,y:8},_=v.datum(function(t){let{x:n,y:e,width:r,height:i}=this.getBBox();return{...t,x:n,y:e,width:r,height:i}}).select(function(){return this.parentNode.insertBefore(rP("rect"),this)}).attr("x",t=>-t.width/2-m.x).attr("y",t=>-t.height/2-m.y).attr("width",t=>t.width+2*m.x).attr("height",t=>t.height+2*m.y).attr("rx",Math.max(m.x,m.y)).attr("fill",t=>t.color).attr("stroke","none").filter(i);
1function rk(t,n=!0){let r=e[t];c.classed(`state state-${r.key}`,n),n?r.enter&&r.enter():r.exit&&r.exit()}!function t(n){if(n>=e.length)return;let r=e[n];rk(n,!0),void 0!==r.duration&&setTimeout(()=>{rk(n,!1),t(n+1)},r.duration)}(0)}function rA(t,n="-",e="title"){return t.key||t[e].toLowerCase().replaceAll(" ",n)}function rC(t,n,e,r,i,o,a,u){let{width:l,height:s}=function(t,n,e="sans-serif"){let r=rP("text");r.style.visibility="hidden",r.style.fontFamily=e,r.innerHTML=n,t.appendChild(r);let i=r.getBBox();return t.removeChild(r),{width:i.width,height:i.height}}(r,o);t.transition().duration(i/2).style("opacity",0).transition().duration(0).text(o).transition().duration(i/2).style("opacity",1),n.transition().duration(i).attr("x",-l/2-u.x).attr("y",-s/2-u.y).attr("width",l+2*u.x).attr("height",s+2*u.y),e.transition().duration(i).attr("transform",`translate(${a.x}, ${a.y})`)}function rP(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function rj(t){let n=t.length,e=t[0],r=0,i=0,o=0;for(let a=1;a<n;++a){let u=t[a],l=t[(a+1)%n],s=(u.x-e.x)*(l.y-e.y)-(l.x-e.x)*(u.y-e.y);r+=s*(e.x+u.x+l.x)/3,i+=s*(e.y+u.y+l.y)/3,o+=s}return{x:r/o,y:i/o}}let rR=document.getElementById("contact");null!==rR&&rR.addEventListener("submit",function(t){t.preventDefault();let n=t.target;fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(new FormData(n)).toString()}).then(()=>{let t=n.querySelector("button[type=submit]");t.disabled=!0,t.classList.add("hidden"),n.querySelector("#success-message").classList.remove("hidden")})}); 2//# sourceMappingURL=index.230816aa.js.map
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.