@mndw/cli 0.0.0-stage → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +12 -2
- package/dist/meta.json +1821 -0
- package/dist/mndw.js +4011 -0
- package/host-dev/assets/_virtual_sandbox-manifest-DbTeSIus.js +1 -0
- package/host-dev/assets/_virtual_sandbox-plugin-Cg-1CvkF.js +1 -0
- package/host-dev/assets/index-Bks-EVsE.js +94 -0
- package/host-dev/assets/index-TmL5gfki.css +1 -0
- package/host-dev/assets/sandbox-url-0nkeUf58.js +1 -0
- package/host-dev/assets/sprite-DIkKar2y.svg +189 -0
- package/host-dev/assets/ticker-pool.worker-DJA1ERT2.js +1 -0
- package/host-dev/index.html +33 -0
- package/host-dev/shared/angular-common@21.2.18.js +30 -0
- package/host-dev/shared/angular-compiler@21.2.18.js +84 -0
- package/host-dev/shared/angular-core@21.2.18.js +122 -0
- package/host-dev/shared/angular-platform-browser@21.2.18.js +34 -0
- package/host-dev/shared/d3@7.9.0.js +5 -0
- package/host-dev/shared/hash-wasm@4.12.0.js +10 -0
- package/host-dev/shared/mndw-ui@0.1.2.js +1656 -0
- package/host-dev/shared/rci-tools-core@0.6.0.js +15 -0
- package/host-dev/shared/rxjs-operators@7.8.2.js +3 -0
- package/host-dev/shared/rxjs@7.8.2.js +3 -0
- package/host-dev/shared/vue@3.5.39.js +56 -0
- package/host-dev/shared/zone@0.15.1.js +11 -0
- package/package.json +77 -3
- package/templates/angular/i18n/en.json +13 -0
- package/templates/angular/i18n/ru.json +13 -0
- package/templates/angular/src/app.component.ts +57 -0
- package/templates/angular/src/index.ts +21 -0
- package/templates/angular/src/l10n.test.ts +50 -0
- package/templates/angular/src/table.test.ts +59 -0
- package/templates/angular/tsconfig.json +18 -0
- package/templates/backend/main.sh +7 -0
- package/templates/go/backend/cmd/__MNDW_NAME__d/main.go +20 -0
- package/templates/go/backend/go.mod +6 -0
- package/templates/go/backend/integration_test.go +174 -0
- package/templates/go/backend/internal/httpapi/server.go +87 -0
- package/templates/go/backend/internal/httpapi/server_test.go +63 -0
- package/templates/go/gitignore +6 -0
- package/templates/go/i18n/en.json +8 -0
- package/templates/go/i18n/ru.json +8 -0
- package/templates/go/manifest.json +25 -0
- package/templates/go/package.json +20 -0
- package/templates/go/src/index.css +31 -0
- package/templates/go/src/index.test.ts +59 -0
- package/templates/go/src/index.ts +92 -0
- package/templates/go/src/l10n.test.ts +66 -0
- package/templates/go/src/test-helpers.ts +6 -0
- package/templates/svelte/i18n/en.json +13 -0
- package/templates/svelte/i18n/ru.json +13 -0
- package/templates/svelte/src/App.svelte +102 -0
- package/templates/svelte/src/TableNameCell.svelte +10 -0
- package/templates/svelte/src/index.ts +14 -0
- package/templates/svelte/src/l10n.test.ts +45 -0
- package/templates/svelte/src/table.test.ts +53 -0
- package/templates/svelte/vitest.config.ts +9 -0
- package/templates/vanilla/i18n/en.json +7 -0
- package/templates/vanilla/i18n/ru.json +7 -0
- package/templates/vanilla/src/index.css +31 -0
- package/templates/vanilla/src/index.ts +65 -0
- package/templates/vanilla/src/l10n.test.ts +44 -0
- package/templates/vue/i18n/en.json +13 -0
- package/templates/vue/i18n/ru.json +13 -0
- package/templates/vue/src/App.vue +80 -0
- package/templates/vue/src/TableNameCell.vue +12 -0
- package/templates/vue/src/env.d.ts +6 -0
- package/templates/vue/src/index.ts +16 -0
- package/templates/vue/src/l10n.test.ts +45 -0
- package/templates/vue/src/table.test.ts +53 -0
- package/templates/vue/vitest.config.ts +6 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
function nt(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function ha(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Hn(t){let e,n,r;t.length!==2?(e=nt,n=(f,s)=>nt(t(f),s),r=(f,s)=>t(f)-s):(e=t===nt||t===ha?t:ux,n=t,r=t);function o(f,s,u=0,c=f.length){if(u<c){if(e(s,s)!==0)return c;do{let h=u+c>>>1;n(f[h],s)<0?u=h+1:c=h}while(u<c)}return u}function i(f,s,u=0,c=f.length){if(u<c){if(e(s,s)!==0)return c;do{let h=u+c>>>1;n(f[h],s)<=0?u=h+1:c=h}while(u<c)}return u}function a(f,s,u=0,c=f.length){let h=o(f,s,u,c-1);return h>u&&r(f[h-1],s)>-r(f[h],s)?h-1:h}return{left:o,center:a,right:i}}function ux(){return 0}function Xn(t){return t===null?NaN:+t}function*Hl(t,e){if(e===void 0)for(let n of t)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)(r=e(r,++n,t))!=null&&(r=+r)>=r&&(yield r)}}var Xl=Hn(nt),Wl=Xl.right,sx=Xl.left,cx=Hn(Xn).center,ae=Wl;function lx(t,e){if(!((e=+e)>=0))throw new RangeError("invalid r");let n=t.length;if(!((n=Math.floor(n))>=0))throw new RangeError("invalid length");if(!n||!e)return t;let r=Au(e),o=t.slice();return r(t,o,0,n,1),r(o,t,0,n,1),r(t,o,0,n,1),t}var Tu=Vl(Au),hx=Vl(px);function Vl(t){return function(e,n,r=n){if(!((n=+n)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:o,width:i,height:a}=e;if(!((i=Math.floor(i))>=0))throw new RangeError("invalid width");if(!((a=Math.floor(a!==void 0?a:o.length/i))>=0))throw new RangeError("invalid height");if(!i||!a||!n&&!r)return e;let f=n&&t(n),s=r&&t(r),u=o.slice();return f&&s?(Dr(f,u,o,i,a),Dr(f,o,u,i,a),Dr(f,u,o,i,a),qr(s,o,u,i,a),qr(s,u,o,i,a),qr(s,o,u,i,a)):f?(Dr(f,o,u,i,a),Dr(f,u,o,i,a),Dr(f,o,u,i,a)):s&&(qr(s,o,u,i,a),qr(s,u,o,i,a),qr(s,o,u,i,a)),e}}function Dr(t,e,n,r,o){for(let i=0,a=r*o;i<a;)t(e,n,i,i+=r,1)}function qr(t,e,n,r,o){for(let i=0,a=r*o;i<r;++i)t(e,n,i,i+a,r)}function px(t){let e=Au(t);return(n,r,o,i,a)=>{o<<=2,i<<=2,a<<=2,e(n,r,o+0,i+0,a),e(n,r,o+1,i+1,a),e(n,r,o+2,i+2,a),e(n,r,o+3,i+3,a)}}function Au(t){let e=Math.floor(t);if(e===t)return dx(t);let n=t-e,r=2*t+1;return(o,i,a,f,s)=>{if(!((f-=s)>=a))return;let u=e*i[a],c=s*e,h=c+s;for(let l=a,p=a+c;l<p;l+=s)u+=i[Math.min(f,l)];for(let l=a,p=f;l<=p;l+=s)u+=i[Math.min(f,l+c)],o[l]=(u+n*(i[Math.max(a,l-h)]+i[Math.min(f,l+h)]))/r,u-=i[Math.max(a,l-c)]}}function dx(t){let e=2*t+1;return(n,r,o,i,a)=>{if(!((i-=a)>=o))return;let f=t*r[o],s=a*t;for(let u=o,c=o+s;u<c;u+=a)f+=r[Math.min(i,u)];for(let u=o,c=i;u<=c;u+=a)f+=r[Math.min(i,u+s)],n[u]=f/e,f-=r[Math.max(o,u-s)]}}function vn(t,e){let n=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&++n;else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(o=+o)>=o&&++n}return n}function mx(t){return t.length|0}function gx(t){return!(t>0)}function xx(t){return typeof t!="object"||"length"in t?t:Array.from(t)}function bx(t){return e=>t(...e)}function Gl(...t){let e=typeof t[t.length-1]=="function"&&bx(t.pop());t=t.map(xx);let n=t.map(mx),r=t.length-1,o=new Array(r+1).fill(0),i=[];if(r<0||n.some(gx))return i;for(;;){i.push(o.map((f,s)=>t[s][f]));let a=r;for(;++o[a]===n[a];){if(a===0)return e?i.map(e):i;o[a--]=0}}}function Zl(t,e){var n=0,r=0;return Float64Array.from(t,e===void 0?o=>n+=+o||0:o=>n+=+e(o,r++,t)||0)}function pa(t,e){let n=0,r,o=0,i=0;if(e===void 0)for(let a of t)a!=null&&(a=+a)>=a&&(r=a-o,o+=r/++n,i+=r*(a-o));else{let a=-1;for(let f of t)(f=e(f,++a,t))!=null&&(f=+f)>=f&&(r=f-o,o+=r/++n,i+=r*(f-o))}if(n>1)return i/(n-1)}function da(t,e){let n=pa(t,e);return n&&Math.sqrt(n)}function wn(t,e){let n,r;if(e===void 0)for(let o of t)o!=null&&(n===void 0?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)));else{let o=-1;for(let i of t)(i=e(i,++o,t))!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)))}return[n,r]}var pt=class{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){let n=this._partials,r=0;for(let o=0;o<this._n&&o<32;o++){let i=n[o],a=e+i,f=Math.abs(e)<Math.abs(i)?e-(a-i):i-(a-e);f&&(n[r++]=f),e=a}return n[r]=e,this._n=r+1,this}valueOf(){let e=this._partials,n=this._n,r,o,i,a=0;if(n>0){for(a=e[--n];n>0&&(r=a,o=e[--n],a=r+o,i=o-(a-r),!i););n>0&&(i<0&&e[n-1]<0||i>0&&e[n-1]>0)&&(o=i*2,r=a+o,o==r-a&&(a=r))}return a}};function yx(t,e){let n=new pt;if(e===void 0)for(let r of t)(r=+r)&&n.add(r);else{let r=-1;for(let o of t)(o=+e(o,++r,t))&&n.add(o)}return+n}function _x(t,e){let n=new pt,r=-1;return Float64Array.from(t,e===void 0?o=>n.add(+o||0):o=>n.add(+e(o,++r,t)||0))}var De=class extends Map{constructor(e,n=Kl){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(let[r,o]of e)this.set(r,o)}get(e){return super.get(Eu(this,e))}has(e){return super.has(Eu(this,e))}set(e,n){return super.set(Ql(this,e),n)}delete(e){return super.delete(jl(this,e))}},fe=class extends Set{constructor(e,n=Kl){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(let r of e)this.add(r)}has(e){return super.has(Eu(this,e))}add(e){return super.add(Ql(this,e))}delete(e){return super.delete(jl(this,e))}};function Eu({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function Ql({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function jl({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function Kl(t){return t!==null&&typeof t=="object"?t.valueOf():t}function Je(t){return t}function ma(t,...e){return Or(t,Je,Je,e)}function Jl(t,...e){return Or(t,Array.from,Je,e)}function th(t,e){for(let n=1,r=e.length;n<r;++n)t=t.flatMap(o=>o.pop().map(([i,a])=>[...o,i,a]));return t}function vx(t,...e){return th(Jl(t,...e),e)}function wx(t,e,...n){return th(eh(t,e,...n),n)}function ku(t,e,...n){return Or(t,Je,e,n)}function eh(t,e,...n){return Or(t,Array.from,e,n)}function Mx(t,...e){return Or(t,Je,nh,e)}function Sx(t,...e){return Or(t,Array.from,nh,e)}function nh(t){if(t.length!==1)throw new Error("duplicate key");return t[0]}function Or(t,e,n,r){return(function o(i,a){if(a>=r.length)return n(i);let f=new De,s=r[a++],u=-1;for(let c of i){let h=s(c,++u,i),l=f.get(h);l?l.push(c):f.set(h,[c])}for(let[c,h]of f)f.set(c,o(h,a));return e(f)})(t,0)}function ga(t,e){return Array.from(e,n=>t[n])}function Vo(t,...e){if(typeof t[Symbol.iterator]!="function")throw new TypeError("values is not iterable");t=Array.from(t);let[n]=e;if(n&&n.length!==2||e.length>1){let r=Uint32Array.from(t,(o,i)=>i);return e.length>1?(e=e.map(o=>t.map(o)),r.sort((o,i)=>{for(let a of e){let f=tn(a[o],a[i]);if(f)return f}})):(n=t.map(n),r.sort((o,i)=>tn(n[o],n[i]))),ga(t,r)}return t.sort(Go(n))}function Go(t=nt){if(t===nt)return tn;if(typeof t!="function")throw new TypeError("compare is not a function");return(e,n)=>{let r=t(e,n);return r||r===0?r:(t(n,n)===0)-(t(e,e)===0)}}function tn(t,e){return(t==null||!(t>=t))-(e==null||!(e>=e))||(t<e?-1:t>e?1:0)}function rh(t,e,n){return(e.length!==2?Vo(ku(t,e,n),(([r,o],[i,a])=>nt(o,a)||nt(r,i))):Vo(ma(t,n),(([r,o],[i,a])=>e(o,a)||nt(r,i)))).map(([r])=>r)}var oh=Array.prototype,ih=oh.slice,p7=oh.map;function Zo(t){return()=>t}var Tx=Math.sqrt(50),Ax=Math.sqrt(10),Ex=Math.sqrt(2);function xa(t,e,n){let r=(e-t)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),a=i>=Tx?10:i>=Ax?5:i>=Ex?2:1,f,s,u;return o<0?(u=Math.pow(10,-o)/a,f=Math.round(t*u),s=Math.round(e*u),f/u<t&&++f,s/u>e&&--s,u=-u):(u=Math.pow(10,o)*a,f=Math.round(t/u),s=Math.round(e/u),f*u<t&&++f,s*u>e&&--s),s<f&&.5<=n&&n<2?xa(t,e,n*2):[f,s,u]}function ue(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];let r=e<t,[o,i,a]=r?xa(e,t,n):xa(t,e,n);if(!(i>=o))return[];let f=i-o+1,s=new Array(f);if(r)if(a<0)for(let u=0;u<f;++u)s[u]=(i-u)/-a;else for(let u=0;u<f;++u)s[u]=(i-u)*a;else if(a<0)for(let u=0;u<f;++u)s[u]=(o+u)/-a;else for(let u=0;u<f;++u)s[u]=(o+u)*a;return s}function qe(t,e,n){return e=+e,t=+t,n=+n,xa(t,e,n)[2]}function Fr(t,e,n){e=+e,t=+t,n=+n;let r=e<t,o=r?qe(e,t,n):qe(t,e,n);return(r?-1:1)*(o<0?1/-o:o)}function zr(t,e,n){let r;for(;;){let o=qe(t,e,n);if(o===r||o===0||!isFinite(o))return[t,e];o>0?(t=Math.floor(t/o)*o,e=Math.ceil(e/o)*o):o<0&&(t=Math.ceil(t*o)/o,e=Math.floor(e*o)/o),r=o}}function Lr(t){return Math.max(1,Math.ceil(Math.log(vn(t))/Math.LN2)+1)}function Nu(){var t=Je,e=wn,n=Lr;function r(o){Array.isArray(o)||(o=Array.from(o));var i,a=o.length,f,s,u=new Array(a);for(i=0;i<a;++i)u[i]=t(o[i],i,o);var c=e(u),h=c[0],l=c[1],p=n(u,h,l);if(!Array.isArray(p)){let y=l,b=+p;if(e===wn&&([h,l]=zr(h,l,b)),p=ue(h,l,b),p[0]<=h&&(s=qe(h,l,b)),p[p.length-1]>=l)if(y>=l&&e===wn){let v=qe(h,l,b);isFinite(v)&&(v>0?l=(Math.floor(l/v)+1)*v:v<0&&(l=(Math.ceil(l*-v)+1)/-v))}else p.pop()}for(var g=p.length,m=0,d=g;p[m]<=h;)++m;for(;p[d-1]>l;)--d;(m||d<g)&&(p=p.slice(m,d),g=d-m);var x=new Array(g+1),_;for(i=0;i<=g;++i)_=x[i]=[],_.x0=i>0?p[i-1]:h,_.x1=i<g?p[i]:l;if(isFinite(s)){if(s>0)for(i=0;i<a;++i)(f=u[i])!=null&&h<=f&&f<=l&&x[Math.min(g,Math.floor((f-h)/s))].push(o[i]);else if(s<0){for(i=0;i<a;++i)if((f=u[i])!=null&&h<=f&&f<=l){let y=Math.floor((h-f)*s);x[Math.min(g,y+(p[y]<=f))].push(o[i])}}}else for(i=0;i<a;++i)(f=u[i])!=null&&h<=f&&f<=l&&x[ae(p,f,0,g)].push(o[i]);return x}return r.value=function(o){return arguments.length?(t=typeof o=="function"?o:Zo(o),r):t},r.domain=function(o){return arguments.length?(e=typeof o=="function"?o:Zo([o[0],o[1]]),r):e},r.thresholds=function(o){return arguments.length?(n=typeof o=="function"?o:Zo(Array.isArray(o)?ih.call(o):o),r):n},r}function Mn(t,e){let n;if(e===void 0)for(let r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(n<o||n===void 0&&o>=o)&&(n=o)}return n}function Yr(t,e){let n,r=-1,o=-1;if(e===void 0)for(let i of t)++o,i!=null&&(n<i||n===void 0&&i>=i)&&(n=i,r=o);else for(let i of t)(i=e(i,++o,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i,r=o);return r}function Wn(t,e){let n;if(e===void 0)for(let r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(n>o||n===void 0&&o>=o)&&(n=o)}return n}function Ur(t,e){let n,r=-1,o=-1;if(e===void 0)for(let i of t)++o,i!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=o);else for(let i of t)(i=e(i,++o,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=o);return r}function $r(t,e,n=0,r=1/0,o){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(o=o===void 0?tn:Go(o);r>n;){if(r-n>600){let s=r-n+1,u=e-n+1,c=Math.log(s),h=.5*Math.exp(2*c/3),l=.5*Math.sqrt(c*h*(s-h)/s)*(u-s/2<0?-1:1),p=Math.max(n,Math.floor(e-u*h/s+l)),g=Math.min(r,Math.floor(e+(s-u)*h/s+l));$r(t,e,p,g,o)}let i=t[e],a=n,f=r;for(Qo(t,n,e),o(t[r],i)>0&&Qo(t,n,r);a<f;){for(Qo(t,a,f),++a,--f;o(t[a],i)<0;)++a;for(;o(t[f],i)>0;)--f}o(t[n],i)===0?Qo(t,n,f):(++f,Qo(t,f,r)),f<=e&&(n=f+1),e<=f&&(r=f-1)}return t}function Qo(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}function ba(t,e=nt){let n,r=!1;if(e.length===1){let o;for(let i of t){let a=e(i);(r?nt(a,o)>0:nt(a,a)===0)&&(n=i,o=a,r=!0)}}else for(let o of t)(r?e(o,n)>0:e(o,o)===0)&&(n=o,r=!0);return n}function en(t,e,n){if(t=Float64Array.from(Hl(t,n)),!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return Wn(t);if(e>=1)return Mn(t);var r,o=(r-1)*e,i=Math.floor(o),a=Mn($r(t,i).subarray(0,i+1)),f=Wn(t.subarray(i+1));return a+(f-a)*(o-i)}}function Ru(t,e,n=Xn){if(!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,o=(r-1)*e,i=Math.floor(o),a=+n(t[i],i,t),f=+n(t[i+1],i+1,t);return a+(f-a)*(o-i)}}function Cu(t,e,n=Xn){if(!isNaN(e=+e)){if(r=Float64Array.from(t,(f,s)=>Xn(n(t[s],s,t))),e<=0)return Ur(r);if(e>=1)return Yr(r);var r,o=Uint32Array.from(t,(f,s)=>s),i=r.length-1,a=Math.floor(i*e);return $r(o,a,0,i,(f,s)=>tn(r[f],r[s])),a=ba(o.subarray(0,a+1),f=>r[f]),a>=0?a:-1}}function ah(t,e,n){let r=vn(t),o=en(t,.75)-en(t,.25);return r&&o?Math.ceil((n-e)/(2*o*Math.pow(r,-1/3))):1}function fh(t,e,n){let r=vn(t),o=da(t);return r&&o?Math.ceil((n-e)*Math.cbrt(r)/(3.49*o)):1}function uh(t,e){let n=0,r=0;if(e===void 0)for(let o of t)o!=null&&(o=+o)>=o&&(++n,r+=o);else{let o=-1;for(let i of t)(i=e(i,++o,t))!=null&&(i=+i)>=i&&(++n,r+=i)}if(n)return r/n}function sh(t,e){return en(t,.5,e)}function kx(t,e){return Cu(t,.5,e)}function*Nx(t){for(let e of t)yield*e}function Br(t){return Array.from(Nx(t))}function ch(t,e){let n=new De;if(e===void 0)for(let i of t)i!=null&&i>=i&&n.set(i,(n.get(i)||0)+1);else{let i=-1;for(let a of t)(a=e(a,++i,t))!=null&&a>=a&&n.set(a,(n.get(a)||0)+1)}let r,o=0;for(let[i,a]of n)a>o&&(o=a,r=i);return r}function lh(t,e=Rx){let n=[],r,o=!1;for(let i of t)o&&n.push(e(r,i)),r=i,o=!0;return n}function Rx(t,e){return[t,e]}function we(t,e,n){t=+t,e=+e,n=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+n;for(var r=-1,o=Math.max(0,Math.ceil((e-t)/n))|0,i=new Array(o);++r<o;)i[r]=t+r*n;return i}function hh(t,e=nt){if(typeof t[Symbol.iterator]!="function")throw new TypeError("values is not iterable");let n=Array.from(t),r=new Float64Array(n.length);e.length!==2&&(n=n.map(e),e=nt);let o=(f,s)=>e(n[f],n[s]),i,a;return t=Uint32Array.from(n,(f,s)=>s),t.sort(e===nt?(f,s)=>tn(n[f],n[s]):Go(o)),t.forEach((f,s)=>{let u=o(f,i===void 0?f:i);u>=0?((i===void 0||u>0)&&(i=f,a=s),r[f]=a):r[f]=NaN}),r}function ph(t,e=nt){let n,r=!1;if(e.length===1){let o;for(let i of t){let a=e(i);(r?nt(a,o)<0:nt(a,a)===0)&&(n=i,o=a,r=!0)}}else for(let o of t)(r?e(o,n)<0:e(o,o)===0)&&(n=o,r=!0);return n}function ya(t,e=nt){if(e.length===1)return Ur(t,e);let n,r=-1,o=-1;for(let i of t)++o,(r<0?e(i,i)===0:e(i,n)<0)&&(n=i,r=o);return r}function dh(t,e=nt){if(e.length===1)return Yr(t,e);let n,r=-1,o=-1;for(let i of t)++o,(r<0?e(i,i)===0:e(i,n)>0)&&(n=i,r=o);return r}function mh(t,e){let n=ya(t,e);return n<0?void 0:n}var Cx=gh(Math.random);function gh(t){return function(n,r=0,o=n.length){let i=o-(r=+r);for(;i;){let a=t()*i--|0,f=n[i+r];n[i+r]=n[a+r],n[a+r]=f}return n}}function xh(t,e){let n=0;if(e===void 0)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let o of t)(o=+e(o,++r,t))&&(n+=o)}return n}function _a(t){if(!(i=t.length))return[];for(var e=-1,n=Wn(t,Ix),r=new Array(n);++e<n;)for(var o=-1,i,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function Ix(t){return t.length}function bh(){return _a(arguments)}function yh(t,e){if(typeof e!="function")throw new TypeError("test is not a function");let n=-1;for(let r of t)if(!e(r,++n,t))return!1;return!0}function _h(t,e){if(typeof e!="function")throw new TypeError("test is not a function");let n=-1;for(let r of t)if(e(r,++n,t))return!0;return!1}function vh(t,e){if(typeof e!="function")throw new TypeError("test is not a function");let n=[],r=-1;for(let o of t)e(o,++r,t)&&n.push(o);return n}function wh(t,e){if(typeof t[Symbol.iterator]!="function")throw new TypeError("values is not iterable");if(typeof e!="function")throw new TypeError("mapper is not a function");return Array.from(t,(n,r)=>e(n,r,t))}function Mh(t,e,n){if(typeof e!="function")throw new TypeError("reducer is not a function");let r=t[Symbol.iterator](),o,i,a=-1;if(arguments.length<3){if({done:o,value:n}=r.next(),o)return;++a}for(;{done:o,value:i}=r.next(),!o;)n=e(n,i,++a,t);return n}function Sh(t){if(typeof t[Symbol.iterator]!="function")throw new TypeError("values is not iterable");return Array.from(t).reverse()}function Th(t,...e){t=new fe(t);for(let n of e)for(let r of n)t.delete(r);return t}function Ah(t,e){let n=e[Symbol.iterator](),r=new fe;for(let o of t){if(r.has(o))return!1;let i,a;for(;({value:i,done:a}=n.next())&&!a;){if(Object.is(o,i))return!1;r.add(i)}}return!0}function Eh(t,...e){t=new fe(t),e=e.map(Px);t:for(let n of t)for(let r of e)if(!r.has(n)){t.delete(n);continue t}return t}function Px(t){return t instanceof fe?t:new fe(t)}function va(t,e){let n=t[Symbol.iterator](),r=new Set;for(let o of e){let i=kh(o);if(r.has(i))continue;let a,f;for(;{value:a,done:f}=n.next();){if(f)return!1;let s=kh(a);if(r.add(s),Object.is(i,s))break}}return!0}function kh(t){return t!==null&&typeof t=="object"?t.valueOf():t}function Nh(t,e){return va(e,t)}function Rh(...t){let e=new fe;for(let n of t)for(let r of n)e.add(r);return e}function Ch(t){return t}var wa=1,Ma=2,Iu=3,jo=4,Ih=1e-6;function Dx(t){return"translate("+t+",0)"}function qx(t){return"translate(0,"+t+")"}function Ox(t){return e=>+t(e)}function Fx(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function zx(){return!this.__axis}function Sa(t,e){var n=[],r=null,o=null,i=6,a=6,f=3,s=typeof window<"u"&&window.devicePixelRatio>1?0:.5,u=t===wa||t===jo?-1:1,c=t===jo||t===Ma?"x":"y",h=t===wa||t===Iu?Dx:qx;function l(p){var g=r??(e.ticks?e.ticks.apply(e,n):e.domain()),m=o??(e.tickFormat?e.tickFormat.apply(e,n):Ch),d=Math.max(i,0)+f,x=e.range(),_=+x[0]+s,y=+x[x.length-1]+s,b=(e.bandwidth?Fx:Ox)(e.copy(),s),v=p.selection?p.selection():p,w=v.selectAll(".domain").data([null]),A=v.selectAll(".tick").data(g,e).order(),R=A.exit(),N=A.enter().append("g").attr("class","tick"),E=A.select("line"),k=A.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(N),E=E.merge(N.append("line").attr("stroke","currentColor").attr(c+"2",u*i)),k=k.merge(N.append("text").attr("fill","currentColor").attr(c,u*d).attr("dy",t===wa?"0em":t===Iu?"0.71em":"0.32em")),p!==v&&(w=w.transition(p),A=A.transition(p),E=E.transition(p),k=k.transition(p),R=R.transition(p).attr("opacity",Ih).attr("transform",function(I){return isFinite(I=b(I))?h(I+s):this.getAttribute("transform")}),N.attr("opacity",Ih).attr("transform",function(I){var C=this.parentNode.__axis;return h((C&&isFinite(C=C(I))?C:b(I))+s)})),R.remove(),w.attr("d",t===jo||t===Ma?a?"M"+u*a+","+_+"H"+s+"V"+y+"H"+u*a:"M"+s+","+_+"V"+y:a?"M"+_+","+u*a+"V"+s+"H"+y+"V"+u*a:"M"+_+","+s+"H"+y),A.attr("opacity",1).attr("transform",function(I){return h(b(I)+s)}),E.attr(c+"2",u*i),k.attr(c,u*d).text(m),v.filter(zx).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Ma?"start":t===jo?"end":"middle"),v.each(function(){this.__axis=b})}return l.scale=function(p){return arguments.length?(e=p,l):e},l.ticks=function(){return n=Array.from(arguments),l},l.tickArguments=function(p){return arguments.length?(n=p==null?[]:Array.from(p),l):n.slice()},l.tickValues=function(p){return arguments.length?(r=p==null?null:Array.from(p),l):r&&r.slice()},l.tickFormat=function(p){return arguments.length?(o=p,l):o},l.tickSize=function(p){return arguments.length?(i=a=+p,l):i},l.tickSizeInner=function(p){return arguments.length?(i=+p,l):i},l.tickSizeOuter=function(p){return arguments.length?(a=+p,l):a},l.tickPadding=function(p){return arguments.length?(f=+p,l):f},l.offset=function(p){return arguments.length?(s=+p,l):s},l}function Lx(t){return Sa(wa,t)}function Yx(t){return Sa(Ma,t)}function Ux(t){return Sa(Iu,t)}function $x(t){return Sa(jo,t)}var Bx={value:()=>{}};function Dh(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Ta(n)}function Ta(t){this._=t}function Hx(t,e){return t.trim().split(/^|\s+/).map(function(n){var r="",o=n.indexOf(".");if(o>=0&&(r=n.slice(o+1),n=n.slice(0,o)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Ta.prototype=Dh.prototype={constructor:Ta,on:function(t,e){var n=this._,r=Hx(t+"",n),o,i=-1,a=r.length;if(arguments.length<2){for(;++i<a;)if((o=(t=r[i]).type)&&(o=Xx(n[o],t.name)))return o;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++i<a;)if(o=(t=r[i]).type)n[o]=Ph(n[o],t.name,e);else if(e==null)for(o in n)n[o]=Ph(n[o],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Ta(t)},call:function(t,e){if((o=arguments.length-2)>0)for(var n=new Array(o),r=0,o,i;r<o;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],o=0,i=r.length;o<i;++o)r[o].value.apply(e,n)}};function Xx(t,e){for(var n=0,r=t.length,o;n<r;++n)if((o=t[n]).name===e)return o.value}function Ph(t,e,n){for(var r=0,o=t.length;r<o;++r)if(t[r].name===e){t[r]=Bx,t=t.slice(0,r).concat(t.slice(r+1));break}return n!=null&&t.push({name:e,value:n}),t}var Me=Dh;var Aa="http://www.w3.org/1999/xhtml",Ea={svg:"http://www.w3.org/2000/svg",xhtml:Aa,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function nn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ea.hasOwnProperty(e)?{space:Ea[e],local:t}:t}function Wx(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Aa&&e.documentElement.namespaceURI===Aa?e.createElement(t):e.createElementNS(n,t)}}function Vx(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Vn(t){var e=nn(t);return(e.local?Vx:Wx)(e)}function Gx(){}function Gn(t){return t==null?Gx:function(){return this.querySelector(t)}}function qh(t){typeof t!="function"&&(t=Gn(t));for(var e=this._groups,n=e.length,r=new Array(n),o=0;o<n;++o)for(var i=e[o],a=i.length,f=r[o]=new Array(a),s,u,c=0;c<a;++c)(s=i[c])&&(u=t.call(s,s.__data__,c,i))&&("__data__"in s&&(u.__data__=s.__data__),f[c]=u);return new bt(r,this._parents)}function Ko(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Zx(){return[]}function Jo(t){return t==null?Zx:function(){return this.querySelectorAll(t)}}function Qx(t){return function(){return Ko(t.apply(this,arguments))}}function Oh(t){typeof t=="function"?t=Qx(t):t=Jo(t);for(var e=this._groups,n=e.length,r=[],o=[],i=0;i<n;++i)for(var a=e[i],f=a.length,s,u=0;u<f;++u)(s=a[u])&&(r.push(t.call(s,s.__data__,u,a)),o.push(s));return new bt(r,o)}function ti(t){return function(){return this.matches(t)}}function ka(t){return function(e){return e.matches(t)}}var jx=Array.prototype.find;function Kx(t){return function(){return jx.call(this.children,t)}}function Jx(){return this.firstElementChild}function Fh(t){return this.select(t==null?Jx:Kx(typeof t=="function"?t:ka(t)))}var t2=Array.prototype.filter;function e2(){return Array.from(this.children)}function n2(t){return function(){return t2.call(this.children,t)}}function zh(t){return this.selectAll(t==null?e2:n2(typeof t=="function"?t:ka(t)))}function Lh(t){typeof t!="function"&&(t=ti(t));for(var e=this._groups,n=e.length,r=new Array(n),o=0;o<n;++o)for(var i=e[o],a=i.length,f=r[o]=[],s,u=0;u<a;++u)(s=i[u])&&t.call(s,s.__data__,u,i)&&f.push(s);return new bt(r,this._parents)}function Na(t){return new Array(t.length)}function Yh(){return new bt(this._enter||this._groups.map(Na),this._parents)}function ei(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}ei.prototype={constructor:ei,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function Uh(t){return function(){return t}}function r2(t,e,n,r,o,i){for(var a=0,f,s=e.length,u=i.length;a<u;++a)(f=e[a])?(f.__data__=i[a],r[a]=f):n[a]=new ei(t,i[a]);for(;a<s;++a)(f=e[a])&&(o[a]=f)}function o2(t,e,n,r,o,i,a){var f,s,u=new Map,c=e.length,h=i.length,l=new Array(c),p;for(f=0;f<c;++f)(s=e[f])&&(l[f]=p=a.call(s,s.__data__,f,e)+"",u.has(p)?o[f]=s:u.set(p,s));for(f=0;f<h;++f)p=a.call(t,i[f],f,i)+"",(s=u.get(p))?(r[f]=s,s.__data__=i[f],u.delete(p)):n[f]=new ei(t,i[f]);for(f=0;f<c;++f)(s=e[f])&&u.get(l[f])===s&&(o[f]=s)}function i2(t){return t.__data__}function $h(t,e){if(!arguments.length)return Array.from(this,i2);var n=e?o2:r2,r=this._parents,o=this._groups;typeof t!="function"&&(t=Uh(t));for(var i=o.length,a=new Array(i),f=new Array(i),s=new Array(i),u=0;u<i;++u){var c=r[u],h=o[u],l=h.length,p=a2(t.call(c,c&&c.__data__,u,r)),g=p.length,m=f[u]=new Array(g),d=a[u]=new Array(g),x=s[u]=new Array(l);n(c,h,m,d,x,p,e);for(var _=0,y=0,b,v;_<g;++_)if(b=m[_]){for(_>=y&&(y=_+1);!(v=d[y])&&++y<g;);b._next=v||null}}return a=new bt(a,r),a._enter=f,a._exit=s,a}function a2(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Bh(){return new bt(this._exit||this._groups.map(Na),this._parents)}function Hh(t,e,n){var r=this.enter(),o=this,i=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(o=e(o),o&&(o=o.selection())),n==null?i.remove():n(i),r&&o?r.merge(o).order():o}function Xh(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,o=n.length,i=r.length,a=Math.min(o,i),f=new Array(o),s=0;s<a;++s)for(var u=n[s],c=r[s],h=u.length,l=f[s]=new Array(h),p,g=0;g<h;++g)(p=u[g]||c[g])&&(l[g]=p);for(;s<o;++s)f[s]=n[s];return new bt(f,this._parents)}function Wh(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],o=r.length-1,i=r[o],a;--o>=0;)(a=r[o])&&(i&&a.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(a,i),i=a);return this}function Vh(t){t||(t=f2);function e(h,l){return h&&l?t(h.__data__,l.__data__):!h-!l}for(var n=this._groups,r=n.length,o=new Array(r),i=0;i<r;++i){for(var a=n[i],f=a.length,s=o[i]=new Array(f),u,c=0;c<f;++c)(u=a[c])&&(s[c]=u);s.sort(e)}return new bt(o,this._parents).order()}function f2(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Gh(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Zh(){return Array.from(this)}function Qh(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],o=0,i=r.length;o<i;++o){var a=r[o];if(a)return a}return null}function jh(){let t=0;for(let e of this)++t;return t}function Kh(){return!this.node()}function Jh(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var o=e[n],i=0,a=o.length,f;i<a;++i)(f=o[i])&&t.call(f,f.__data__,i,o);return this}function u2(t){return function(){this.removeAttribute(t)}}function s2(t){return function(){this.removeAttributeNS(t.space,t.local)}}function c2(t,e){return function(){this.setAttribute(t,e)}}function l2(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function h2(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function p2(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function tp(t,e){var n=nn(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?s2:u2:typeof e=="function"?n.local?p2:h2:n.local?l2:c2)(n,e))}function ni(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function d2(t){return function(){this.style.removeProperty(t)}}function m2(t,e,n){return function(){this.style.setProperty(t,e,n)}}function g2(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function ep(t,e,n){return arguments.length>1?this.each((e==null?d2:typeof e=="function"?g2:m2)(t,e,n??"")):Sn(this.node(),t)}function Sn(t,e){return t.style.getPropertyValue(e)||ni(t).getComputedStyle(t,null).getPropertyValue(e)}function x2(t){return function(){delete this[t]}}function b2(t,e){return function(){this[t]=e}}function y2(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function np(t,e){return arguments.length>1?this.each((e==null?x2:typeof e=="function"?y2:b2)(t,e)):this.node()[t]}function rp(t){return t.trim().split(/^|\s+/)}function Pu(t){return t.classList||new op(t)}function op(t){this._node=t,this._names=rp(t.getAttribute("class")||"")}op.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ip(t,e){for(var n=Pu(t),r=-1,o=e.length;++r<o;)n.add(e[r])}function ap(t,e){for(var n=Pu(t),r=-1,o=e.length;++r<o;)n.remove(e[r])}function _2(t){return function(){ip(this,t)}}function v2(t){return function(){ap(this,t)}}function w2(t,e){return function(){(e.apply(this,arguments)?ip:ap)(this,t)}}function fp(t,e){var n=rp(t+"");if(arguments.length<2){for(var r=Pu(this.node()),o=-1,i=n.length;++o<i;)if(!r.contains(n[o]))return!1;return!0}return this.each((typeof e=="function"?w2:e?_2:v2)(n,e))}function M2(){this.textContent=""}function S2(t){return function(){this.textContent=t}}function T2(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function up(t){return arguments.length?this.each(t==null?M2:(typeof t=="function"?T2:S2)(t)):this.node().textContent}function A2(){this.innerHTML=""}function E2(t){return function(){this.innerHTML=t}}function k2(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function sp(t){return arguments.length?this.each(t==null?A2:(typeof t=="function"?k2:E2)(t)):this.node().innerHTML}function N2(){this.nextSibling&&this.parentNode.appendChild(this)}function cp(){return this.each(N2)}function R2(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function lp(){return this.each(R2)}function hp(t){var e=typeof t=="function"?t:Vn(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function C2(){return null}function pp(t,e){var n=typeof t=="function"?t:Vn(t),r=e==null?C2:typeof e=="function"?e:Gn(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function I2(){var t=this.parentNode;t&&t.removeChild(this)}function dp(){return this.each(I2)}function P2(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function D2(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function mp(t){return this.select(t?D2:P2)}function gp(t){return arguments.length?this.property("__data__",t):this.node().__data__}function q2(t){return function(e){t.call(this,e,this.__data__)}}function O2(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function F2(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,o=e.length,i;n<o;++n)i=e[n],(!t.type||i.type===t.type)&&i.name===t.name?this.removeEventListener(i.type,i.listener,i.options):e[++r]=i;++r?e.length=r:delete this.__on}}}function z2(t,e,n){return function(){var r=this.__on,o,i=q2(e);if(r){for(var a=0,f=r.length;a<f;++a)if((o=r[a]).type===t.type&&o.name===t.name){this.removeEventListener(o.type,o.listener,o.options),this.addEventListener(o.type,o.listener=i,o.options=n),o.value=e;return}}this.addEventListener(t.type,i,n),o={type:t.type,name:t.name,value:e,listener:i,options:n},r?r.push(o):this.__on=[o]}}function xp(t,e,n){var r=O2(t+""),o,i=r.length,a;if(arguments.length<2){var f=this.node().__on;if(f){for(var s=0,u=f.length,c;s<u;++s)for(o=0,c=f[s];o<i;++o)if((a=r[o]).type===c.type&&a.name===c.name)return c.value}return}for(f=e?z2:F2,o=0;o<i;++o)this.each(f(r[o],e,n));return this}function bp(t,e,n){var r=ni(t),o=r.CustomEvent;typeof o=="function"?o=new o(e,n):(o=r.document.createEvent("Event"),n?(o.initEvent(e,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(e,!1,!1)),t.dispatchEvent(o)}function L2(t,e){return function(){return bp(this,t,e)}}function Y2(t,e){return function(){return bp(this,t,e.apply(this,arguments))}}function yp(t,e){return this.each((typeof e=="function"?Y2:L2)(t,e))}function*_p(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],o=0,i=r.length,a;o<i;++o)(a=r[o])&&(yield a)}var ri=[null];function bt(t,e){this._groups=t,this._parents=e}function vp(){return new bt([[document.documentElement]],ri)}function U2(){return this}bt.prototype=vp.prototype={constructor:bt,select:qh,selectAll:Oh,selectChild:Fh,selectChildren:zh,filter:Lh,data:$h,enter:Yh,exit:Bh,join:Hh,merge:Xh,selection:U2,order:Wh,sort:Vh,call:Gh,nodes:Zh,node:Qh,size:jh,empty:Kh,each:Jh,attr:tp,style:ep,property:np,classed:fp,text:up,html:sp,raise:cp,lower:lp,append:hp,insert:pp,remove:dp,clone:mp,datum:gp,on:xp,dispatch:yp,[Symbol.iterator]:_p};var rn=vp;function Et(t){return typeof t=="string"?new bt([[document.querySelector(t)]],[document.documentElement]):new bt([[t]],ri)}function $2(t){return Et(Vn(t).call(document.documentElement))}var B2=0;function qu(){return new Du}function Du(){this._="@"+(++B2).toString(36)}Du.prototype=qu.prototype={constructor:Du,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};function Ra(t){let e;for(;e=t.sourceEvent;)t=e;return t}function zt(t,e){if(t=Ra(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}if(e.getBoundingClientRect){var o=e.getBoundingClientRect();return[t.clientX-o.left-e.clientLeft,t.clientY-o.top-e.clientTop]}}return[t.pageX,t.pageY]}function H2(t,e){return t.target&&(t=Ra(t),e===void 0&&(e=t.currentTarget),t=t.touches||[t]),Array.from(t,n=>zt(n,e))}function X2(t){return typeof t=="string"?new bt([document.querySelectorAll(t)],[document.documentElement]):new bt([Ko(t)],ri)}var wp={passive:!1},Zn={capture:!0,passive:!1};function Ca(t){t.stopImmediatePropagation()}function Tn(t){t.preventDefault(),t.stopImmediatePropagation()}function Qn(t){var e=t.document.documentElement,n=Et(t).on("dragstart.drag",Tn,Zn);"onselectstart"in e?n.on("selectstart.drag",Tn,Zn):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function jn(t,e){var n=t.document.documentElement,r=Et(t).on("dragstart.drag",null);e&&(r.on("click.drag",Tn,Zn),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var oi=t=>()=>t;function ii(t,{sourceEvent:e,subject:n,target:r,identifier:o,active:i,x:a,y:f,dx:s,dy:u,dispatch:c}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:f,enumerable:!0,configurable:!0},dx:{value:s,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:c}})}ii.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};function W2(t){return!t.ctrlKey&&!t.button}function V2(){return this.parentNode}function G2(t,e){return e??{x:t.x,y:t.y}}function Z2(){return navigator.maxTouchPoints||"ontouchstart"in this}function Q2(){var t=W2,e=V2,n=G2,r=Z2,o={},i=Me("start","drag","end"),a=0,f,s,u,c,h=0;function l(b){b.on("mousedown.drag",p).filter(r).on("touchstart.drag",d).on("touchmove.drag",x,wp).on("touchend.drag touchcancel.drag",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(b,v){if(!(c||!t.call(this,b,v))){var w=y(this,e.call(this,b,v),b,v,"mouse");w&&(Et(b.view).on("mousemove.drag",g,Zn).on("mouseup.drag",m,Zn),Qn(b.view),Ca(b),u=!1,f=b.clientX,s=b.clientY,w("start",b))}}function g(b){if(Tn(b),!u){var v=b.clientX-f,w=b.clientY-s;u=v*v+w*w>h}o.mouse("drag",b)}function m(b){Et(b.view).on("mousemove.drag mouseup.drag",null),jn(b.view,u),Tn(b),o.mouse("end",b)}function d(b,v){if(t.call(this,b,v)){var w=b.changedTouches,A=e.call(this,b,v),R=w.length,N,E;for(N=0;N<R;++N)(E=y(this,A,b,v,w[N].identifier,w[N]))&&(Ca(b),E("start",b,w[N]))}}function x(b){var v=b.changedTouches,w=v.length,A,R;for(A=0;A<w;++A)(R=o[v[A].identifier])&&(Tn(b),R("drag",b,v[A]))}function _(b){var v=b.changedTouches,w=v.length,A,R;for(c&&clearTimeout(c),c=setTimeout(function(){c=null},500),A=0;A<w;++A)(R=o[v[A].identifier])&&(Ca(b),R("end",b,v[A]))}function y(b,v,w,A,R,N){var E=i.copy(),k=zt(N||w,v),I,C,M;if((M=n.call(b,new ii("beforestart",{sourceEvent:w,target:l,identifier:R,active:a,x:k[0],y:k[1],dx:0,dy:0,dispatch:E}),A))!=null)return I=M.x-k[0]||0,C=M.y-k[1]||0,function S(T,P,O){var q=k,L;switch(T){case"start":o[R]=S,L=a++;break;case"end":delete o[R],--a;case"drag":k=zt(O||P,v),L=a;break}E.call(T,b,new ii(T,{sourceEvent:P,subject:M,target:l,identifier:R,active:L,x:k[0]+I,y:k[1]+C,dx:k[0]-q[0],dy:k[1]-q[1],dispatch:E}),A)}}return l.filter=function(b){return arguments.length?(t=typeof b=="function"?b:oi(!!b),l):t},l.container=function(b){return arguments.length?(e=typeof b=="function"?b:oi(b),l):e},l.subject=function(b){return arguments.length?(n=typeof b=="function"?b:oi(b),l):n},l.touchable=function(b){return arguments.length?(r=typeof b=="function"?b:oi(!!b),l):r},l.on=function(){var b=i.on.apply(i,arguments);return b===i?l:b},l.clickDistance=function(b){return arguments.length?(h=(b=+b)*b,l):Math.sqrt(h)},l}function on(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function An(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Fe(){}var En=.7,tr=1/En,Hr="\\s*([+-]?\\d+)\\s*",ai="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Oe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",j2=/^#([0-9a-f]{3,8})$/,K2=new RegExp(`^rgb\\(${Hr},${Hr},${Hr}\\)$`),J2=new RegExp(`^rgb\\(${Oe},${Oe},${Oe}\\)$`),tb=new RegExp(`^rgba\\(${Hr},${Hr},${Hr},${ai}\\)$`),eb=new RegExp(`^rgba\\(${Oe},${Oe},${Oe},${ai}\\)$`),nb=new RegExp(`^hsl\\(${ai},${Oe},${Oe}\\)$`),rb=new RegExp(`^hsla\\(${ai},${Oe},${Oe},${ai}\\)$`),Mp={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};on(Fe,Te,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Sp,formatHex:Sp,formatHex8:ob,formatHsl:ib,formatRgb:Tp,toString:Tp});function Sp(){return this.rgb().formatHex()}function ob(){return this.rgb().formatHex8()}function ib(){return Cp(this).formatHsl()}function Tp(){return this.rgb().formatRgb()}function Te(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=j2.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Ap(e):n===3?new Rt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?Ia(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?Ia(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=K2.exec(t))?new Rt(e[1],e[2],e[3],1):(e=J2.exec(t))?new Rt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=tb.exec(t))?Ia(e[1],e[2],e[3],e[4]):(e=eb.exec(t))?Ia(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=nb.exec(t))?Np(e[1],e[2]/100,e[3]/100,1):(e=rb.exec(t))?Np(e[1],e[2]/100,e[3]/100,e[4]):Mp.hasOwnProperty(t)?Ap(Mp[t]):t==="transparent"?new Rt(NaN,NaN,NaN,0):null}function Ap(t){return new Rt(t>>16&255,t>>8&255,t&255,1)}function Ia(t,e,n,r){return r<=0&&(t=e=n=NaN),new Rt(t,e,n,r)}function fi(t){return t instanceof Fe||(t=Te(t)),t?(t=t.rgb(),new Rt(t.r,t.g,t.b,t.opacity)):new Rt}function kn(t,e,n,r){return arguments.length===1?fi(t):new Rt(t,e,n,r??1)}function Rt(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}on(Rt,kn,An(Fe,{brighter(t){return t=t==null?tr:Math.pow(tr,t),new Rt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?En:Math.pow(En,t),new Rt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Rt(Jn(this.r),Jn(this.g),Jn(this.b),Da(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:Ep,formatHex:Ep,formatHex8:ab,formatRgb:kp,toString:kp}));function Ep(){return`#${Kn(this.r)}${Kn(this.g)}${Kn(this.b)}`}function ab(){return`#${Kn(this.r)}${Kn(this.g)}${Kn(this.b)}${Kn((isNaN(this.opacity)?1:this.opacity)*255)}`}function kp(){let t=Da(this.opacity);return`${t===1?"rgb(":"rgba("}${Jn(this.r)}, ${Jn(this.g)}, ${Jn(this.b)}${t===1?")":`, ${t})`}`}function Da(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Jn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Kn(t){return t=Jn(t),(t<16?"0":"")+t.toString(16)}function Np(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Se(t,e,n,r)}function Cp(t){if(t instanceof Se)return new Se(t.h,t.s,t.l,t.opacity);if(t instanceof Fe||(t=Te(t)),!t)return new Se;if(t instanceof Se)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),a=NaN,f=i-o,s=(i+o)/2;return f?(e===i?a=(n-r)/f+(n<r)*6:n===i?a=(r-e)/f+2:a=(e-n)/f+4,f/=s<.5?i+o:2-i-o,a*=60):f=s>0&&s<1?0:a,new Se(a,f,s,t.opacity)}function ui(t,e,n,r){return arguments.length===1?Cp(t):new Se(t,e,n,r??1)}function Se(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}on(Se,ui,An(Fe,{brighter(t){return t=t==null?tr:Math.pow(tr,t),new Se(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?En:Math.pow(En,t),new Se(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new Rt(Ou(t>=240?t-240:t+120,o,r),Ou(t,o,r),Ou(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new Se(Rp(this.h),Pa(this.s),Pa(this.l),Da(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=Da(this.opacity);return`${t===1?"hsl(":"hsla("}${Rp(this.h)}, ${Pa(this.s)*100}%, ${Pa(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Rp(t){return t=(t||0)%360,t<0?t+360:t}function Pa(t){return Math.max(0,Math.min(1,t||0))}function Ou(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}var qa=Math.PI/180,Oa=180/Math.PI;var Fa=18,Ip=.96422,Pp=1,Dp=.82521,qp=4/29,Xr=6/29,Op=3*Xr*Xr,fb=Xr*Xr*Xr;function Fp(t){if(t instanceof Ae)return new Ae(t.l,t.a,t.b,t.opacity);if(t instanceof ze)return Lp(t);t instanceof Rt||(t=fi(t));var e=Yu(t.r),n=Yu(t.g),r=Yu(t.b),o=Fu((.2225045*e+.7168786*n+.0606169*r)/Pp),i,a;return e===n&&n===r?i=a=o:(i=Fu((.4360747*e+.3850649*n+.1430804*r)/Ip),a=Fu((.0139322*e+.0971045*n+.7141733*r)/Dp)),new Ae(116*o-16,500*(i-o),200*(o-a),t.opacity)}function ub(t,e){return new Ae(t,0,0,e??1)}function Wr(t,e,n,r){return arguments.length===1?Fp(t):new Ae(t,e,n,r??1)}function Ae(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}on(Ae,Wr,An(Fe,{brighter(t){return new Ae(this.l+Fa*(t??1),this.a,this.b,this.opacity)},darker(t){return new Ae(this.l-Fa*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=Ip*zu(e),t=Pp*zu(t),n=Dp*zu(n),new Rt(Lu(3.1338561*e-1.6168667*t-.4906146*n),Lu(-.9787684*e+1.9161415*t+.033454*n),Lu(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Fu(t){return t>fb?Math.pow(t,1/3):t/Op+qp}function zu(t){return t>Xr?t*t*t:Op*(t-qp)}function Lu(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Yu(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function zp(t){if(t instanceof ze)return new ze(t.h,t.c,t.l,t.opacity);if(t instanceof Ae||(t=Fp(t)),t.a===0&&t.b===0)return new ze(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Oa;return new ze(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function sb(t,e,n,r){return arguments.length===1?zp(t):new ze(n,e,t,r??1)}function si(t,e,n,r){return arguments.length===1?zp(t):new ze(t,e,n,r??1)}function ze(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function Lp(t){if(isNaN(t.h))return new Ae(t.l,0,0,t.opacity);var e=t.h*qa;return new Ae(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}on(ze,si,An(Fe,{brighter(t){return new ze(this.h,this.c,this.l+Fa*(t??1),this.opacity)},darker(t){return new ze(this.h,this.c,this.l-Fa*(t??1),this.opacity)},rgb(){return Lp(this).rgb()}}));var Bp=-.14861,Uu=1.78277,$u=-.29227,za=-.90649,ci=1.97294,Yp=ci*za,Up=ci*Uu,$p=Uu*$u-za*Bp;function cb(t){if(t instanceof er)return new er(t.h,t.s,t.l,t.opacity);t instanceof Rt||(t=fi(t));var e=t.r/255,n=t.g/255,r=t.b/255,o=($p*r+Yp*e-Up*n)/($p+Yp-Up),i=r-o,a=(ci*(n-o)-$u*i)/za,f=Math.sqrt(a*a+i*i)/(ci*o*(1-o)),s=f?Math.atan2(a,i)*Oa-120:NaN;return new er(s<0?s+360:s,f,o,t.opacity)}function Qt(t,e,n,r){return arguments.length===1?cb(t):new er(t,e,n,r??1)}function er(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}on(er,Qt,An(Fe,{brighter(t){return t=t==null?tr:Math.pow(tr,t),new er(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?En:Math.pow(En,t),new er(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*qa,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),o=Math.sin(t);return new Rt(255*(e+n*(Bp*r+Uu*o)),255*(e+n*($u*r+za*o)),255*(e+n*(ci*r)),this.opacity)}}));function Bu(t,e,n,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*n+(1+3*t+3*i-3*a)*r+a*o)/6}function Hu(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,f=r<e-1?t[r+2]:2*i-o;return Bu((n-r/e)*e,a,o,i,f)}}function Xu(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],i=t[r%e],a=t[(r+1)%e],f=t[(r+2)%e];return Bu((n-r/e)*e,o,i,a,f)}}var Vr=t=>()=>t;function Hp(t,e){return function(n){return t+n*e}}function lb(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function Nn(t,e){var n=e-t;return n?Hp(t,n>180||n<-180?n-360*Math.round(n/360):n):Vr(isNaN(t)?e:t)}function Xp(t){return(t=+t)==1?_t:function(e,n){return n-e?lb(e,n,t):Vr(isNaN(e)?n:e)}}function _t(t,e){var n=e-t;return n?Hp(t,n):Vr(isNaN(t)?e:t)}var nr=(function t(e){var n=Xp(e);function r(o,i){var a=n((o=kn(o)).r,(i=kn(i)).r),f=n(o.g,i.g),s=n(o.b,i.b),u=_t(o.opacity,i.opacity);return function(c){return o.r=a(c),o.g=f(c),o.b=s(c),o.opacity=u(c),o+""}}return r.gamma=t,r})(1);function Wp(t){return function(e){var n=e.length,r=new Array(n),o=new Array(n),i=new Array(n),a,f;for(a=0;a<n;++a)f=kn(e[a]),r[a]=f.r||0,o[a]=f.g||0,i[a]=f.b||0;return r=t(r),o=t(o),i=t(i),f.opacity=1,function(s){return f.r=r(s),f.g=o(s),f.b=i(s),f+""}}}var Wu=Wp(Hu),hb=Wp(Xu);function li(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),o;return function(i){for(o=0;o<n;++o)r[o]=t[o]*(1-i)+e[o]*i;return r}}function La(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function pb(t,e){return(La(e)?li:Vu)(t,e)}function Vu(t,e){var n=e?e.length:0,r=t?Math.min(n,t.length):0,o=new Array(r),i=new Array(n),a;for(a=0;a<r;++a)o[a]=jt(t[a],e[a]);for(;a<n;++a)i[a]=e[a];return function(f){for(a=0;a<r;++a)i[a]=o[a](f);return i}}function Gu(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Lt(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Zu(t,e){var n={},r={},o;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(o in e)o in t?n[o]=jt(t[o],e[o]):r[o]=e[o];return function(i){for(o in n)r[o]=n[o](i);return r}}var ju=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Qu=new RegExp(ju.source,"g");function db(t){return function(){return t}}function mb(t){return function(e){return t(e)+""}}function hi(t,e){var n=ju.lastIndex=Qu.lastIndex=0,r,o,i,a=-1,f=[],s=[];for(t=t+"",e=e+"";(r=ju.exec(t))&&(o=Qu.exec(e));)(i=o.index)>n&&(i=e.slice(n,i),f[a]?f[a]+=i:f[++a]=i),(r=r[0])===(o=o[0])?f[a]?f[a]+=o:f[++a]=o:(f[++a]=null,s.push({i:a,x:Lt(r,o)})),n=Qu.lastIndex;return n<e.length&&(i=e.slice(n),f[a]?f[a]+=i:f[++a]=i),f.length<2?s[0]?mb(s[0].x):db(e):(e=s.length,function(u){for(var c=0,h;c<e;++c)f[(h=s[c]).i]=h.x(u);return f.join("")})}function jt(t,e){var n=typeof e,r;return e==null||n==="boolean"?Vr(e):(n==="number"?Lt:n==="string"?(r=Te(e))?(e=r,nr):hi:e instanceof Te?nr:e instanceof Date?Gu:La(e)?li:Array.isArray(e)?Vu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?Zu:Lt)(t,e)}function gb(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}function xb(t,e){var n=Nn(+t,+e);return function(r){var o=n(r);return o-360*Math.floor(o/360)}}function rr(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Vp=180/Math.PI,Ya={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ku(t,e,n,r,o,i){var a,f,s;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(s=t*n+e*r)&&(n-=t*s,r-=e*s),(f=Math.sqrt(n*n+r*r))&&(n/=f,r/=f,s/=f),t*r<e*n&&(t=-t,e=-e,s=-s,a=-a),{translateX:o,translateY:i,rotate:Math.atan2(e,t)*Vp,skewX:Math.atan(s)*Vp,scaleX:a,scaleY:f}}var Ua;function Gp(t){let e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Ya:Ku(e.a,e.b,e.c,e.d,e.e,e.f)}function Zp(t){return t==null?Ya:(Ua||(Ua=document.createElementNS("http://www.w3.org/2000/svg","g")),Ua.setAttribute("transform",t),(t=Ua.transform.baseVal.consolidate())?(t=t.matrix,Ku(t.a,t.b,t.c,t.d,t.e,t.f)):Ya)}function Qp(t,e,n,r){function o(u){return u.length?u.pop()+" ":""}function i(u,c,h,l,p,g){if(u!==h||c!==l){var m=p.push("translate(",null,e,null,n);g.push({i:m-4,x:Lt(u,h)},{i:m-2,x:Lt(c,l)})}else(h||l)&&p.push("translate("+h+e+l+n)}function a(u,c,h,l){u!==c?(u-c>180?c+=360:c-u>180&&(u+=360),l.push({i:h.push(o(h)+"rotate(",null,r)-2,x:Lt(u,c)})):c&&h.push(o(h)+"rotate("+c+r)}function f(u,c,h,l){u!==c?l.push({i:h.push(o(h)+"skewX(",null,r)-2,x:Lt(u,c)}):c&&h.push(o(h)+"skewX("+c+r)}function s(u,c,h,l,p,g){if(u!==h||c!==l){var m=p.push(o(p)+"scale(",null,",",null,")");g.push({i:m-4,x:Lt(u,h)},{i:m-2,x:Lt(c,l)})}else(h!==1||l!==1)&&p.push(o(p)+"scale("+h+","+l+")")}return function(u,c){var h=[],l=[];return u=t(u),c=t(c),i(u.translateX,u.translateY,c.translateX,c.translateY,h,l),a(u.rotate,c.rotate,h,l),f(u.skewX,c.skewX,h,l),s(u.scaleX,u.scaleY,c.scaleX,c.scaleY,h,l),u=c=null,function(p){for(var g=-1,m=l.length,d;++g<m;)h[(d=l[g]).i]=d.x(p);return h.join("")}}}var Ju=Qp(Gp,"px, ","px)","deg)"),ts=Qp(Zp,", ",")",")");var bb=1e-12;function jp(t){return((t=Math.exp(t))+1/t)/2}function yb(t){return((t=Math.exp(t))-1/t)/2}function _b(t){return((t=Math.exp(2*t))-1)/(t+1)}var es=(function t(e,n,r){function o(i,a){var f=i[0],s=i[1],u=i[2],c=a[0],h=a[1],l=a[2],p=c-f,g=h-s,m=p*p+g*g,d,x;if(m<bb)x=Math.log(l/u)/e,d=function(A){return[f+A*p,s+A*g,u*Math.exp(e*A*x)]};else{var _=Math.sqrt(m),y=(l*l-u*u+r*m)/(2*u*n*_),b=(l*l-u*u-r*m)/(2*l*n*_),v=Math.log(Math.sqrt(y*y+1)-y),w=Math.log(Math.sqrt(b*b+1)-b);x=(w-v)/e,d=function(A){var R=A*x,N=jp(v),E=u/(n*_)*(N*_b(e*R+v)-yb(v));return[f+E*p,s+E*g,u*N/jp(e*R+v)]}}return d.duration=x*1e3*e/Math.SQRT2,d}return o.rho=function(i){var a=Math.max(.001,+i),f=a*a,s=f*f;return t(a,f,s)},o})(Math.SQRT2,2,4);function Kp(t){return function(e,n){var r=t((e=ui(e)).h,(n=ui(n)).h),o=_t(e.s,n.s),i=_t(e.l,n.l),a=_t(e.opacity,n.opacity);return function(f){return e.h=r(f),e.s=o(f),e.l=i(f),e.opacity=a(f),e+""}}}var vb=Kp(Nn),wb=Kp(_t);function Jp(t,e){var n=_t((t=Wr(t)).l,(e=Wr(e)).l),r=_t(t.a,e.a),o=_t(t.b,e.b),i=_t(t.opacity,e.opacity);return function(a){return t.l=n(a),t.a=r(a),t.b=o(a),t.opacity=i(a),t+""}}function t0(t){return function(e,n){var r=t((e=si(e)).h,(n=si(n)).h),o=_t(e.c,n.c),i=_t(e.l,n.l),a=_t(e.opacity,n.opacity);return function(f){return e.h=r(f),e.c=o(f),e.l=i(f),e.opacity=a(f),e+""}}}var Mb=t0(Nn),Sb=t0(_t);function e0(t){return(function e(n){n=+n;function r(o,i){var a=t((o=Qt(o)).h,(i=Qt(i)).h),f=_t(o.s,i.s),s=_t(o.l,i.l),u=_t(o.opacity,i.opacity);return function(c){return o.h=a(c),o.s=f(c),o.l=s(Math.pow(c,n)),o.opacity=u(c),o+""}}return r.gamma=e,r})(1)}var Tb=e0(Nn),Gr=e0(_t);function $a(t,e){e===void 0&&(e=t,t=jt);for(var n=0,r=e.length-1,o=e[0],i=new Array(r<0?0:r);n<r;)i[n]=t(o,o=e[++n]);return function(a){var f=Math.max(0,Math.min(r-1,Math.floor(a*=r)));return i[f](a-f)}}function Ab(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n}var Zr=0,di=0,pi=0,r0=1e3,Ba,mi,Ha=0,or=0,Xa=0,gi=typeof performance=="object"&&performance.now?performance:Date,o0=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ar(){return or||(o0(Eb),or=gi.now()+Xa)}function Eb(){or=0}function ir(){this._call=this._time=this._next=null}ir.prototype=Qr.prototype={constructor:ir,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?ar():+n)+(e==null?0:+e),!this._next&&mi!==this&&(mi?mi._next=this:Ba=this,mi=this),this._call=t,this._time=n,ns()},stop:function(){this._call&&(this._call=null,this._time=1/0,ns())}};function Qr(t,e,n){var r=new ir;return r.restart(t,e,n),r}function i0(){ar(),++Zr;for(var t=Ba,e;t;)(e=or-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Zr}function n0(){or=(Ha=gi.now())+Xa,Zr=di=0;try{i0()}finally{Zr=0,Nb(),or=0}}function kb(){var t=gi.now(),e=t-Ha;e>r0&&(Xa-=e,Ha=t)}function Nb(){for(var t,e=Ba,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Ba=n);mi=t,ns(r)}function ns(t){if(!Zr){di&&(di=clearTimeout(di));var e=t-or;e>24?(t<1/0&&(di=setTimeout(n0,t-gi.now()-Xa)),pi&&(pi=clearInterval(pi))):(pi||(Ha=gi.now(),pi=setInterval(kb,r0)),Zr=1,o0(n0))}}function Wa(t,e,n){var r=new ir;return e=e==null?0:+e,r.restart(o=>{r.stop(),t(o+e)},e,n),r}function Rb(t,e,n){var r=new ir,o=e;return e==null?(r.restart(t,e,n),r):(r._restart=r.restart,r.restart=function(i,a,f){a=+a,f=f==null?ar():+f,r._restart(function s(u){u+=o,r._restart(s,o+=a,f),i(u)},a,f)},r.restart(t,e,n),r)}var Cb=Me("start","end","cancel","interrupt"),Ib=[],f0=0,Ga=1,Za=2,Va=3,a0=4,Qa=5,xi=6;function Rn(t,e,n,r,o,i){var a=t.__transition;if(!a)t.__transition={};else if(n in a)return;Pb(t,n,{name:e,index:r,group:o,on:Cb,tween:Ib,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:f0})}function bi(t,e){var n=Pt(t,e);if(n.state>f0)throw new Error("too late; already scheduled");return n}function Yt(t,e){var n=Pt(t,e);if(n.state>Va)throw new Error("too late; already running");return n}function Pt(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Pb(t,e,n){var r=t.__transition,o;r[e]=n,n.timer=Qr(i,0,n.time);function i(u){n.state=Ga,n.timer.restart(a,n.delay,n.time),n.delay<=u&&a(u-n.delay)}function a(u){var c,h,l,p;if(n.state!==Ga)return s();for(c in r)if(p=r[c],p.name===n.name){if(p.state===Va)return Wa(a);p.state===a0?(p.state=xi,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete r[c]):+c<e&&(p.state=xi,p.timer.stop(),p.on.call("cancel",t,t.__data__,p.index,p.group),delete r[c])}if(Wa(function(){n.state===Va&&(n.state=a0,n.timer.restart(f,n.delay,n.time),f(u))}),n.state=Za,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Za){for(n.state=Va,o=new Array(l=n.tween.length),c=0,h=-1;c<l;++c)(p=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(o[++h]=p);o.length=h+1}}function f(u){for(var c=u<n.duration?n.ease.call(null,u/n.duration):(n.timer.restart(s),n.state=Qa,1),h=-1,l=o.length;++h<l;)o[h].call(t,c);n.state===Qa&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){n.state=xi,n.timer.stop(),delete r[e];for(var u in r)return;delete t.__transition}}function Le(t,e){var n=t.__transition,r,o,i=!0,a;if(n){e=e==null?null:e+"";for(a in n){if((r=n[a]).name!==e){i=!1;continue}o=r.state>Za&&r.state<Qa,r.state=xi,r.timer.stop(),r.on.call(o?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[a]}i&&delete t.__transition}}function u0(t){return this.each(function(){Le(this,t)})}function Db(t,e){var n,r;return function(){var o=Yt(this,t),i=o.tween;if(i!==n){r=n=i;for(var a=0,f=r.length;a<f;++a)if(r[a].name===e){r=r.slice(),r.splice(a,1);break}}o.tween=r}}function qb(t,e,n){var r,o;if(typeof n!="function")throw new Error;return function(){var i=Yt(this,t),a=i.tween;if(a!==r){o=(r=a).slice();for(var f={name:e,value:n},s=0,u=o.length;s<u;++s)if(o[s].name===e){o[s]=f;break}s===u&&o.push(f)}i.tween=o}}function s0(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=Pt(this.node(),n).tween,o=0,i=r.length,a;o<i;++o)if((a=r[o]).name===t)return a.value;return null}return this.each((e==null?Db:qb)(n,t,e))}function jr(t,e,n){var r=t._id;return t.each(function(){var o=Yt(this,r);(o.value||(o.value={}))[e]=n.apply(this,arguments)}),function(o){return Pt(o,r).value[e]}}function ja(t,e){var n;return(typeof e=="number"?Lt:e instanceof Te?nr:(n=Te(e))?(e=n,nr):hi)(t,e)}function Ob(t){return function(){this.removeAttribute(t)}}function Fb(t){return function(){this.removeAttributeNS(t.space,t.local)}}function zb(t,e,n){var r,o=n+"",i;return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function Lb(t,e,n){var r,o=n+"",i;return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function Yb(t,e,n){var r,o,i;return function(){var a,f=n(this),s;return f==null?void this.removeAttribute(t):(a=this.getAttribute(t),s=f+"",a===s?null:a===r&&s===o?i:(o=s,i=e(r=a,f)))}}function Ub(t,e,n){var r,o,i;return function(){var a,f=n(this),s;return f==null?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),s=f+"",a===s?null:a===r&&s===o?i:(o=s,i=e(r=a,f)))}}function c0(t,e){var n=nn(t),r=n==="transform"?ts:ja;return this.attrTween(t,typeof e=="function"?(n.local?Ub:Yb)(n,r,jr(this,"attr."+t,e)):e==null?(n.local?Fb:Ob)(n):(n.local?Lb:zb)(n,r,e))}function $b(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Bb(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Hb(t,e){var n,r;function o(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Bb(t,i)),n}return o._value=e,o}function Xb(t,e){var n,r;function o(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&$b(t,i)),n}return o._value=e,o}function l0(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var r=nn(t);return this.tween(n,(r.local?Hb:Xb)(r,e))}function Wb(t,e){return function(){bi(this,t).delay=+e.apply(this,arguments)}}function Vb(t,e){return e=+e,function(){bi(this,t).delay=e}}function h0(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Wb:Vb)(e,t)):Pt(this.node(),e).delay}function Gb(t,e){return function(){Yt(this,t).duration=+e.apply(this,arguments)}}function Zb(t,e){return e=+e,function(){Yt(this,t).duration=e}}function p0(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Gb:Zb)(e,t)):Pt(this.node(),e).duration}function Qb(t,e){if(typeof e!="function")throw new Error;return function(){Yt(this,t).ease=e}}function d0(t){var e=this._id;return arguments.length?this.each(Qb(e,t)):Pt(this.node(),e).ease}function jb(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;Yt(this,t).ease=n}}function m0(t){if(typeof t!="function")throw new Error;return this.each(jb(this._id,t))}function g0(t){typeof t!="function"&&(t=ti(t));for(var e=this._groups,n=e.length,r=new Array(n),o=0;o<n;++o)for(var i=e[o],a=i.length,f=r[o]=[],s,u=0;u<a;++u)(s=i[u])&&t.call(s,s.__data__,u,i)&&f.push(s);return new Ut(r,this._parents,this._name,this._id)}function x0(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,o=n.length,i=Math.min(r,o),a=new Array(r),f=0;f<i;++f)for(var s=e[f],u=n[f],c=s.length,h=a[f]=new Array(c),l,p=0;p<c;++p)(l=s[p]||u[p])&&(h[p]=l);for(;f<r;++f)a[f]=e[f];return new Ut(a,this._parents,this._name,this._id)}function Kb(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function Jb(t,e,n){var r,o,i=Kb(e)?bi:Yt;return function(){var a=i(this,t),f=a.on;f!==r&&(o=(r=f).copy()).on(e,n),a.on=o}}function b0(t,e){var n=this._id;return arguments.length<2?Pt(this.node(),n).on.on(t):this.each(Jb(n,t,e))}function ty(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function y0(){return this.on("end.remove",ty(this._id))}function _0(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Gn(t));for(var r=this._groups,o=r.length,i=new Array(o),a=0;a<o;++a)for(var f=r[a],s=f.length,u=i[a]=new Array(s),c,h,l=0;l<s;++l)(c=f[l])&&(h=t.call(c,c.__data__,l,f))&&("__data__"in c&&(h.__data__=c.__data__),u[l]=h,Rn(u[l],e,n,l,u,Pt(c,n)));return new Ut(i,this._parents,e,n)}function v0(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Jo(t));for(var r=this._groups,o=r.length,i=[],a=[],f=0;f<o;++f)for(var s=r[f],u=s.length,c,h=0;h<u;++h)if(c=s[h]){for(var l=t.call(c,c.__data__,h,s),p,g=Pt(c,n),m=0,d=l.length;m<d;++m)(p=l[m])&&Rn(p,e,n,m,l,g);i.push(l),a.push(c)}return new Ut(i,a,e,n)}var ey=rn.prototype.constructor;function w0(){return new ey(this._groups,this._parents)}function ny(t,e){var n,r,o;return function(){var i=Sn(this,t),a=(this.style.removeProperty(t),Sn(this,t));return i===a?null:i===n&&a===r?o:o=e(n=i,r=a)}}function M0(t){return function(){this.style.removeProperty(t)}}function ry(t,e,n){var r,o=n+"",i;return function(){var a=Sn(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}function oy(t,e,n){var r,o,i;return function(){var a=Sn(this,t),f=n(this),s=f+"";return f==null&&(s=f=(this.style.removeProperty(t),Sn(this,t))),a===s?null:a===r&&s===o?i:(o=s,i=e(r=a,f))}}function iy(t,e){var n,r,o,i="style."+e,a="end."+i,f;return function(){var s=Yt(this,t),u=s.on,c=s.value[i]==null?f||(f=M0(e)):void 0;(u!==n||o!==c)&&(r=(n=u).copy()).on(a,o=c),s.on=r}}function S0(t,e,n){var r=(t+="")=="transform"?Ju:ja;return e==null?this.styleTween(t,ny(t,r)).on("end.style."+t,M0(t)):typeof e=="function"?this.styleTween(t,oy(t,r,jr(this,"style."+t,e))).each(iy(this._id,t)):this.styleTween(t,ry(t,r,e),n).on("end.style."+t,null)}function ay(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function fy(t,e,n){var r,o;function i(){var a=e.apply(this,arguments);return a!==o&&(r=(o=a)&&ay(t,a,n)),r}return i._value=e,i}function T0(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,fy(t,e,n??""))}function uy(t){return function(){this.textContent=t}}function sy(t){return function(){var e=t(this);this.textContent=e??""}}function A0(t){return this.tween("text",typeof t=="function"?sy(jr(this,"text",t)):uy(t==null?"":t+""))}function cy(t){return function(e){this.textContent=t.call(this,e)}}function ly(t){var e,n;function r(){var o=t.apply(this,arguments);return o!==n&&(e=(n=o)&&cy(o)),e}return r._value=t,r}function E0(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,ly(t))}function k0(){for(var t=this._name,e=this._id,n=Ka(),r=this._groups,o=r.length,i=0;i<o;++i)for(var a=r[i],f=a.length,s,u=0;u<f;++u)if(s=a[u]){var c=Pt(s,e);Rn(s,t,n,u,a,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new Ut(r,this._parents,t,n)}function N0(){var t,e,n=this,r=n._id,o=n.size();return new Promise(function(i,a){var f={value:a},s={value:function(){--o===0&&i()}};n.each(function(){var u=Yt(this,r),c=u.on;c!==t&&(e=(t=c).copy(),e._.cancel.push(f),e._.interrupt.push(f),e._.end.push(s)),u.on=e}),o===0&&i()})}var hy=0;function Ut(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function rs(t){return rn().transition(t)}function Ka(){return++hy}var an=rn.prototype;Ut.prototype=rs.prototype={constructor:Ut,select:_0,selectAll:v0,selectChild:an.selectChild,selectChildren:an.selectChildren,filter:g0,merge:x0,selection:w0,transition:k0,call:an.call,nodes:an.nodes,node:an.node,size:an.size,empty:an.empty,each:an.each,on:b0,attr:c0,attrTween:l0,style:S0,styleTween:T0,text:A0,textTween:E0,remove:y0,tween:s0,delay:h0,duration:p0,ease:d0,easeVarying:m0,end:N0,[Symbol.iterator]:an[Symbol.iterator]};var py=t=>+t;function dy(t){return t*t}function my(t){return t*(2-t)}function R0(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function gy(t){return t*t*t}function xy(t){return--t*t*t+1}function Ja(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var os=3,by=(function t(e){e=+e;function n(r){return Math.pow(r,e)}return n.exponent=t,n})(os),yy=(function t(e){e=+e;function n(r){return 1-Math.pow(1-r,e)}return n.exponent=t,n})(os),C0=(function t(e){e=+e;function n(r){return((r*=2)<=1?Math.pow(r,e):2-Math.pow(2-r,e))/2}return n.exponent=t,n})(os);var I0=Math.PI,P0=I0/2;function _y(t){return+t==1?1:1-Math.cos(t*P0)}function vy(t){return Math.sin(t*P0)}function D0(t){return(1-Math.cos(I0*t))/2}function Ye(t){return(Math.pow(2,-10*t)-.0009765625)*1.0009775171065494}function wy(t){return Ye(1-+t)}function My(t){return 1-Ye(t)}function q0(t){return((t*=2)<=1?Ye(1-t):2-Ye(t-1))/2}function Sy(t){return 1-Math.sqrt(1-t*t)}function Ty(t){return Math.sqrt(1- --t*t)}function O0(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var is=.36363636363636365,Ay=6/11,Ey=8/11,ky=3/4,Ny=9/11,Ry=10/11,Cy=15/16,Iy=21/22,Py=63/64,tf=1/is/is;function Dy(t){return 1-yi(1-t)}function yi(t){return(t=+t)<is?tf*t*t:t<Ey?tf*(t-=Ay)*t+ky:t<Ry?tf*(t-=Ny)*t+Cy:tf*(t-=Iy)*t+Py}function qy(t){return((t*=2)<=1?1-yi(1-t):yi(t-1)+1)/2}var as=1.70158,Oy=(function t(e){e=+e;function n(r){return(r=+r)*r*(e*(r-1)+r)}return n.overshoot=t,n})(as),Fy=(function t(e){e=+e;function n(r){return--r*r*((r+1)*e+r)+1}return n.overshoot=t,n})(as),F0=(function t(e){e=+e;function n(r){return((r*=2)<1?r*r*((e+1)*r-e):(r-=2)*r*((e+1)*r+e)+2)/2}return n.overshoot=t,n})(as);var Kr=2*Math.PI,fs=1,us=.3,zy=(function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Kr);function o(i){return e*Ye(- --i)*Math.sin((r-i)/n)}return o.amplitude=function(i){return t(i,n*Kr)},o.period=function(i){return t(e,i)},o})(fs,us),z0=(function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Kr);function o(i){return 1-e*Ye(i=+i)*Math.sin((i+r)/n)}return o.amplitude=function(i){return t(i,n*Kr)},o.period=function(i){return t(e,i)},o})(fs,us),Ly=(function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Kr);function o(i){return((i=i*2-1)<0?e*Ye(-i)*Math.sin((r-i)/n):2-e*Ye(i)*Math.sin((r+i)/n))/2}return o.amplitude=function(i){return t(i,n*Kr)},o.period=function(i){return t(e,i)},o})(fs,us);var Yy={time:null,delay:0,duration:250,ease:Ja};function Uy(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function L0(t){var e,n;t instanceof Ut?(e=t._id,t=t._name):(e=Ka(),(n=Yy).time=ar(),t=t==null?null:t+"");for(var r=this._groups,o=r.length,i=0;i<o;++i)for(var a=r[i],f=a.length,s,u=0;u<f;++u)(s=a[u])&&Rn(s,t,e,u,a,n||Uy(s,e));return new Ut(r,this._parents,t,e)}rn.prototype.interrupt=u0;rn.prototype.transition=L0;var $y=[null];function By(t,e){var n=t.__transition,r,o;if(n){e=e==null?null:e+"";for(o in n)if((r=n[o]).state>Ga&&r.name===e)return new Ut([[t]],$y,e,+o)}return null}var ef=t=>()=>t;function ss(t,{sourceEvent:e,target:n,selection:r,mode:o,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function Y0(t){t.stopImmediatePropagation()}function nf(t){t.preventDefault(),t.stopImmediatePropagation()}var U0={name:"drag"},cs={name:"space"},Jr={name:"handle"},to={name:"center"},{abs:$0,max:Ht,min:Xt}=Math;function B0(t){return[+t[0],+t[1]]}function hs(t){return[B0(t[0]),B0(t[1])]}var rf={name:"x",handles:["w","e"].map(_i),input:function(t,e){return t==null?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},of={name:"y",handles:["n","s"].map(_i),input:function(t,e){return t==null?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Hy={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(_i),input:function(t){return t==null?null:hs(t)},output:function(t){return t}},fn={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},H0={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},X0={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Xy={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Wy={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function _i(t){return{type:t}}function Vy(t){return!t.ctrlKey&&!t.button}function Gy(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Zy(){return navigator.maxTouchPoints||"ontouchstart"in this}function ls(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Qy(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function jy(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Ky(){return ps(rf)}function Jy(){return ps(of)}function t_(){return ps(Hy)}function ps(t){var e=Gy,n=Vy,r=Zy,o=!0,i=Me("start","brush","end"),a=6,f;function s(d){var x=d.property("__brush",m).selectAll(".overlay").data([_i("overlay")]);x.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",fn.overlay).merge(x).each(function(){var y=ls(this).extent;Et(this).attr("x",y[0][0]).attr("y",y[0][1]).attr("width",y[1][0]-y[0][0]).attr("height",y[1][1]-y[0][1])}),d.selectAll(".selection").data([_i("selection")]).enter().append("rect").attr("class","selection").attr("cursor",fn.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var _=d.selectAll(".handle").data(t.handles,function(y){return y.type});_.exit().remove(),_.enter().append("rect").attr("class",function(y){return"handle handle--"+y.type}).attr("cursor",function(y){return fn[y.type]}),d.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",l).filter(r).on("touchstart.brush",l).on("touchmove.brush",p).on("touchend.brush touchcancel.brush",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}s.move=function(d,x,_){d.tween?d.on("start.brush",function(y){c(this,arguments).beforestart().start(y)}).on("interrupt.brush end.brush",function(y){c(this,arguments).end(y)}).tween("brush",function(){var y=this,b=y.__brush,v=c(y,arguments),w=b.selection,A=t.input(typeof x=="function"?x.apply(this,arguments):x,b.extent),R=jt(w,A);function N(E){b.selection=E===1&&A===null?null:R(E),u.call(y),v.brush()}return w!==null&&A!==null?N:N(1)}):d.each(function(){var y=this,b=arguments,v=y.__brush,w=t.input(typeof x=="function"?x.apply(y,b):x,v.extent),A=c(y,b).beforestart();Le(y),v.selection=w===null?null:w,u.call(y),A.start(_).brush(_).end(_)})},s.clear=function(d,x){s.move(d,null,x)};function u(){var d=Et(this),x=ls(this).selection;x?(d.selectAll(".selection").style("display",null).attr("x",x[0][0]).attr("y",x[0][1]).attr("width",x[1][0]-x[0][0]).attr("height",x[1][1]-x[0][1]),d.selectAll(".handle").style("display",null).attr("x",function(_){return _.type[_.type.length-1]==="e"?x[1][0]-a/2:x[0][0]-a/2}).attr("y",function(_){return _.type[0]==="s"?x[1][1]-a/2:x[0][1]-a/2}).attr("width",function(_){return _.type==="n"||_.type==="s"?x[1][0]-x[0][0]+a:a}).attr("height",function(_){return _.type==="e"||_.type==="w"?x[1][1]-x[0][1]+a:a})):d.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function c(d,x,_){var y=d.__brush.emitter;return y&&(!_||!y.clean)?y:new h(d,x,_)}function h(d,x,_){this.that=d,this.args=x,this.state=d.__brush,this.active=0,this.clean=_}h.prototype={beforestart:function(){return++this.active===1&&(this.state.emitter=this,this.starting=!0),this},start:function(d,x){return this.starting?(this.starting=!1,this.emit("start",d,x)):this.emit("brush",d),this},brush:function(d,x){return this.emit("brush",d,x),this},end:function(d,x){return--this.active===0&&(delete this.state.emitter,this.emit("end",d,x)),this},emit:function(d,x,_){var y=Et(this.that).datum();i.call(d,this.that,new ss(d,{sourceEvent:x,target:s,selection:t.output(this.state.selection),mode:_,dispatch:i}),y)}};function l(d){if(f&&!d.touches||!n.apply(this,arguments))return;var x=this,_=d.target.__data__.type,y=(o&&d.metaKey?_="overlay":_)==="selection"?U0:o&&d.altKey?to:Jr,b=t===of?null:Xy[_],v=t===rf?null:Wy[_],w=ls(x),A=w.extent,R=w.selection,N=A[0][0],E,k,I=A[0][1],C,M,S=A[1][0],T,P,O=A[1][1],q,L,X=0,W=0,lt,at=b&&v&&o&&d.shiftKey,et,Nt,ut=Array.from(d.touches||[d],Q=>{let St=Q.identifier;return Q=zt(Q,x),Q.point0=Q.slice(),Q.identifier=St,Q});Le(x);var At=c(x,arguments,!0).beforestart();if(_==="overlay"){R&&(lt=!0);let Q=[ut[0],ut[1]||ut[0]];w.selection=R=[[E=t===of?N:Xt(Q[0][0],Q[1][0]),C=t===rf?I:Xt(Q[0][1],Q[1][1])],[T=t===of?S:Ht(Q[0][0],Q[1][0]),q=t===rf?O:Ht(Q[0][1],Q[1][1])]],ut.length>1&&Mt(d)}else E=R[0][0],C=R[0][1],T=R[1][0],q=R[1][1];k=E,M=C,P=T,L=q;var $=Et(x).attr("pointer-events","none"),K=$.selectAll(".overlay").attr("cursor",fn[_]);if(d.touches)At.moved=F,At.ended=ht;else{var tt=Et(d.view).on("mousemove.brush",F,!0).on("mouseup.brush",ht,!0);o&&tt.on("keydown.brush",Gt,!0).on("keyup.brush",Zt,!0),Qn(d.view)}u.call(x),At.start(d,y.name);function F(Q){for(let St of Q.changedTouches||[Q])for(let Wo of ut)Wo.identifier===St.identifier&&(Wo.cur=zt(St,x));if(at&&!et&&!Nt&&ut.length===1){let St=ut[0];$0(St.cur[0]-St[0])>$0(St.cur[1]-St[1])?Nt=!0:et=!0}for(let St of ut)St.cur&&(St[0]=St.cur[0],St[1]=St.cur[1]);lt=!0,nf(Q),Mt(Q)}function Mt(Q){let St=ut[0],Wo=St.point0;var _n;switch(X=St[0]-Wo[0],W=St[1]-Wo[1],y){case cs:case U0:{b&&(X=Ht(N-E,Xt(S-T,X)),k=E+X,P=T+X),v&&(W=Ht(I-C,Xt(O-q,W)),M=C+W,L=q+W);break}case Jr:{ut[1]?(b&&(k=Ht(N,Xt(S,ut[0][0])),P=Ht(N,Xt(S,ut[1][0])),b=1),v&&(M=Ht(I,Xt(O,ut[0][1])),L=Ht(I,Xt(O,ut[1][1])),v=1)):(b<0?(X=Ht(N-E,Xt(S-E,X)),k=E+X,P=T):b>0&&(X=Ht(N-T,Xt(S-T,X)),k=E,P=T+X),v<0?(W=Ht(I-C,Xt(O-C,W)),M=C+W,L=q):v>0&&(W=Ht(I-q,Xt(O-q,W)),M=C,L=q+W));break}case to:{b&&(k=Ht(N,Xt(S,E-X*b)),P=Ht(N,Xt(S,T+X*b))),v&&(M=Ht(I,Xt(O,C-W*v)),L=Ht(I,Xt(O,q+W*v)));break}}P<k&&(b*=-1,_n=E,E=T,T=_n,_n=k,k=P,P=_n,_ in H0&&K.attr("cursor",fn[_=H0[_]])),L<M&&(v*=-1,_n=C,C=q,q=_n,_n=M,M=L,L=_n,_ in X0&&K.attr("cursor",fn[_=X0[_]])),w.selection&&(R=w.selection),et&&(k=R[0][0],P=R[1][0]),Nt&&(M=R[0][1],L=R[1][1]),(R[0][0]!==k||R[0][1]!==M||R[1][0]!==P||R[1][1]!==L)&&(w.selection=[[k,M],[P,L]],u.call(x),At.brush(Q,y.name))}function ht(Q){if(Y0(Q),Q.touches){if(Q.touches.length)return;f&&clearTimeout(f),f=setTimeout(function(){f=null},500)}else jn(Q.view,lt),tt.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);$.attr("pointer-events","all"),K.attr("cursor",fn.overlay),w.selection&&(R=w.selection),Qy(R)&&(w.selection=null,u.call(x)),At.end(Q,y.name)}function Gt(Q){switch(Q.keyCode){case 16:{at=b&&v;break}case 18:{y===Jr&&(b&&(T=P-X*b,E=k+X*b),v&&(q=L-W*v,C=M+W*v),y=to,Mt(Q));break}case 32:{(y===Jr||y===to)&&(b<0?T=P-X:b>0&&(E=k-X),v<0?q=L-W:v>0&&(C=M-W),y=cs,K.attr("cursor",fn.selection),Mt(Q));break}default:return}nf(Q)}function Zt(Q){switch(Q.keyCode){case 16:{at&&(et=Nt=at=!1,Mt(Q));break}case 18:{y===to&&(b<0?T=P:b>0&&(E=k),v<0?q=L:v>0&&(C=M),y=Jr,Mt(Q));break}case 32:{y===cs&&(Q.altKey?(b&&(T=P-X*b,E=k+X*b),v&&(q=L-W*v,C=M+W*v),y=to):(b<0?T=P:b>0&&(E=k),v<0?q=L:v>0&&(C=M),y=Jr),K.attr("cursor",fn[_]),Mt(Q));break}default:return}nf(Q)}}function p(d){c(this,arguments).moved(d)}function g(d){c(this,arguments).ended(d)}function m(){var d=this.__brush||{selection:null};return d.extent=hs(e.apply(this,arguments)),d.dim=t,d}return s.extent=function(d){return arguments.length?(e=typeof d=="function"?d:ef(hs(d)),s):e},s.filter=function(d){return arguments.length?(n=typeof d=="function"?d:ef(!!d),s):n},s.touchable=function(d){return arguments.length?(r=typeof d=="function"?d:ef(!!d),s):r},s.handleSize=function(d){return arguments.length?(a=+d,s):a},s.keyModifiers=function(d){return arguments.length?(o=!!d,s):o},s.on=function(){var d=i.on.apply(i,arguments);return d===i?s:d},s}var ds=Math.abs,fr=Math.cos,ur=Math.sin,W0=Math.PI,vi=W0/2,ms=W0*2,gs=Math.max,af=1e-12;function xs(t,e){return Array.from({length:e-t},(n,r)=>t+r)}function e_(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}function n_(){return bs(!1,!1)}function r_(){return bs(!1,!0)}function o_(){return bs(!0,!1)}function bs(t,e){var n=0,r=null,o=null,i=null;function a(f){var s=f.length,u=new Array(s),c=xs(0,s),h=new Array(s*s),l=new Array(s),p=0,g;f=Float64Array.from({length:s*s},e?(m,d)=>f[d%s][d/s|0]:(m,d)=>f[d/s|0][d%s]);for(let m=0;m<s;++m){let d=0;for(let x=0;x<s;++x)d+=f[m*s+x]+t*f[x*s+m];p+=u[m]=d}p=gs(0,ms-n*s)/p,g=p?n:ms/s;{let m=0;r&&c.sort((d,x)=>r(u[d],u[x]));for(let d of c){let x=m;if(t){let _=xs(~s+1,s).filter(y=>y<0?f[~y*s+d]:f[d*s+y]);o&&_.sort((y,b)=>o(y<0?-f[~y*s+d]:f[d*s+y],b<0?-f[~b*s+d]:f[d*s+b]));for(let y of _)if(y<0){let b=h[~y*s+d]||(h[~y*s+d]={source:null,target:null});b.target={index:d,startAngle:m,endAngle:m+=f[~y*s+d]*p,value:f[~y*s+d]}}else{let b=h[d*s+y]||(h[d*s+y]={source:null,target:null});b.source={index:d,startAngle:m,endAngle:m+=f[d*s+y]*p,value:f[d*s+y]}}l[d]={index:d,startAngle:x,endAngle:m,value:u[d]}}else{let _=xs(0,s).filter(y=>f[d*s+y]||f[y*s+d]);o&&_.sort((y,b)=>o(f[d*s+y],f[d*s+b]));for(let y of _){let b;if(d<y?(b=h[d*s+y]||(h[d*s+y]={source:null,target:null}),b.source={index:d,startAngle:m,endAngle:m+=f[d*s+y]*p,value:f[d*s+y]}):(b=h[y*s+d]||(h[y*s+d]={source:null,target:null}),b.target={index:d,startAngle:m,endAngle:m+=f[d*s+y]*p,value:f[d*s+y]},d===y&&(b.source=b.target)),b.source&&b.target&&b.source.value<b.target.value){let v=b.source;b.source=b.target,b.target=v}}l[d]={index:d,startAngle:x,endAngle:m,value:u[d]}}m+=g}}return h=Object.values(h),h.groups=l,i?h.sort(i):h}return a.padAngle=function(f){return arguments.length?(n=gs(0,f),a):n},a.sortGroups=function(f){return arguments.length?(r=f,a):r},a.sortSubgroups=function(f){return arguments.length?(o=f,a):o},a.sortChords=function(f){return arguments.length?(f==null?i=null:(i=e_(f))._=f,a):i&&i._},a}var ys=Math.PI,_s=2*ys,sr=1e-6,i_=_s-sr;function V0(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function a_(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return V0;let n=10**e;return function(r){this._+=r[0];for(let o=1,i=r.length;o<i;++o)this._+=Math.round(arguments[o]*n)/n+r[o]}}var Cn=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?V0:a_(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,r,o){this._append`Q${+e},${+n},${this._x1=+r},${this._y1=+o}`}bezierCurveTo(e,n,r,o,i,a){this._append`C${+e},${+n},${+r},${+o},${this._x1=+i},${this._y1=+a}`}arcTo(e,n,r,o,i){if(e=+e,n=+n,r=+r,o=+o,i=+i,i<0)throw new Error(`negative radius: ${i}`);let a=this._x1,f=this._y1,s=r-e,u=o-n,c=a-e,h=f-n,l=c*c+h*h;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(l>sr)if(!(Math.abs(h*s-u*c)>sr)||!i)this._append`L${this._x1=e},${this._y1=n}`;else{let p=r-a,g=o-f,m=s*s+u*u,d=p*p+g*g,x=Math.sqrt(m),_=Math.sqrt(l),y=i*Math.tan((ys-Math.acos((m+l-d)/(2*x*_)))/2),b=y/_,v=y/x;Math.abs(b-1)>sr&&this._append`L${e+b*c},${n+b*h}`,this._append`A${i},${i},0,0,${+(h*p>c*g)},${this._x1=e+v*s},${this._y1=n+v*u}`}}arc(e,n,r,o,i,a){if(e=+e,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let f=r*Math.cos(o),s=r*Math.sin(o),u=e+f,c=n+s,h=1^a,l=a?o-i:i-o;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>sr||Math.abs(this._y1-c)>sr)&&this._append`L${u},${c}`,r&&(l<0&&(l=l%_s+_s),l>i_?this._append`A${r},${r},0,1,${h},${e-f},${n-s}A${r},${r},0,1,${h},${this._x1=u},${this._y1=c}`:l>sr&&this._append`A${r},${r},0,${+(l>=ys)},${h},${this._x1=e+r*Math.cos(i)},${this._y1=n+r*Math.sin(i)}`)}rect(e,n,r,o){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+o}h${-r}Z`}toString(){return this._}};function ff(){return new Cn}ff.prototype=Cn.prototype;function f_(t=3){return new Cn(+t)}var G0=Array.prototype.slice;function In(t){return function(){return t}}function u_(t){return t.source}function s_(t){return t.target}function Z0(t){return t.radius}function c_(t){return t.startAngle}function l_(t){return t.endAngle}function h_(){return 0}function p_(){return 10}function Q0(t){var e=u_,n=s_,r=Z0,o=Z0,i=c_,a=l_,f=h_,s=null;function u(){var c,h=e.apply(this,arguments),l=n.apply(this,arguments),p=f.apply(this,arguments)/2,g=G0.call(arguments),m=+r.apply(this,(g[0]=h,g)),d=i.apply(this,g)-vi,x=a.apply(this,g)-vi,_=+o.apply(this,(g[0]=l,g)),y=i.apply(this,g)-vi,b=a.apply(this,g)-vi;if(s||(s=c=ff()),p>af&&(ds(x-d)>p*2+af?x>d?(d+=p,x-=p):(d-=p,x+=p):d=x=(d+x)/2,ds(b-y)>p*2+af?b>y?(y+=p,b-=p):(y-=p,b+=p):y=b=(y+b)/2),s.moveTo(m*fr(d),m*ur(d)),s.arc(0,0,m,d,x),d!==y||x!==b)if(t){var v=+t.apply(this,arguments),w=_-v,A=(y+b)/2;s.quadraticCurveTo(0,0,w*fr(y),w*ur(y)),s.lineTo(_*fr(A),_*ur(A)),s.lineTo(w*fr(b),w*ur(b))}else s.quadraticCurveTo(0,0,_*fr(y),_*ur(y)),s.arc(0,0,_,y,b);if(s.quadraticCurveTo(0,0,m*fr(d),m*ur(d)),s.closePath(),c)return s=null,c+""||null}return t&&(u.headRadius=function(c){return arguments.length?(t=typeof c=="function"?c:In(+c),u):t}),u.radius=function(c){return arguments.length?(r=o=typeof c=="function"?c:In(+c),u):r},u.sourceRadius=function(c){return arguments.length?(r=typeof c=="function"?c:In(+c),u):r},u.targetRadius=function(c){return arguments.length?(o=typeof c=="function"?c:In(+c),u):o},u.startAngle=function(c){return arguments.length?(i=typeof c=="function"?c:In(+c),u):i},u.endAngle=function(c){return arguments.length?(a=typeof c=="function"?c:In(+c),u):a},u.padAngle=function(c){return arguments.length?(f=typeof c=="function"?c:In(+c),u):f},u.source=function(c){return arguments.length?(e=c,u):e},u.target=function(c){return arguments.length?(n=c,u):n},u.context=function(c){return arguments.length?(s=c??null,u):s},u}function d_(){return Q0()}function m_(){return Q0(p_)}var g_=Array.prototype,uf=g_.slice;function j0(t,e){return t-e}function K0(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return r}var Ue=t=>()=>t;function J0(t,e){for(var n=-1,r=e.length,o;++n<r;)if(o=x_(t,e[n]))return o;return 0}function x_(t,e){for(var n=e[0],r=e[1],o=-1,i=0,a=t.length,f=a-1;i<a;f=i++){var s=t[i],u=s[0],c=s[1],h=t[f],l=h[0],p=h[1];if(b_(s,h,e))return 0;c>r!=p>r&&n<(l-u)*(r-c)/(p-c)+u&&(o=-o)}return o}function b_(t,e,n){var r;return y_(t,e,n)&&__(t[r=+(t[0]===e[0])],n[r],e[r])}function y_(t,e,n){return(e[0]-t[0])*(n[1]-t[1])===(n[0]-t[0])*(e[1]-t[1])}function __(t,e,n){return t<=e&&e<=n||n<=e&&e<=t}function td(){}var un=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function sf(){var t=1,e=1,n=Lr,r=s;function o(u){var c=n(u);if(Array.isArray(c))c=c.slice().sort(j0);else{let h=wn(u,v_);for(c=ue(...zr(h[0],h[1],c),c);c[c.length-1]>=h[1];)c.pop();for(;c[1]<h[0];)c.shift()}return c.map(h=>i(u,h))}function i(u,c){let h=c==null?NaN:+c;if(isNaN(h))throw new Error(`invalid value: ${c}`);var l=[],p=[];return a(u,h,function(g){r(g,u,h),K0(g)>0?l.push([g]):p.push(g)}),p.forEach(function(g){for(var m=0,d=l.length,x;m<d;++m)if(J0((x=l[m])[0],g)!==-1){x.push(g);return}}),{type:"MultiPolygon",value:c,coordinates:l}}function a(u,c,h){var l=new Array,p=new Array,g,m,d,x,_,y;for(g=m=-1,x=cr(u[0],c),un[x<<1].forEach(b);++g<t-1;)d=x,x=cr(u[g+1],c),un[d|x<<1].forEach(b);for(un[x<<0].forEach(b);++m<e-1;){for(g=-1,x=cr(u[m*t+t],c),_=cr(u[m*t],c),un[x<<1|_<<2].forEach(b);++g<t-1;)d=x,x=cr(u[m*t+t+g+1],c),y=_,_=cr(u[m*t+g+1],c),un[d|x<<1|_<<2|y<<3].forEach(b);un[x|_<<3].forEach(b)}for(g=-1,_=u[m*t]>=c,un[_<<2].forEach(b);++g<t-1;)y=_,_=cr(u[m*t+g+1],c),un[_<<2|y<<3].forEach(b);un[_<<3].forEach(b);function b(v){var w=[v[0][0]+g,v[0][1]+m],A=[v[1][0]+g,v[1][1]+m],R=f(w),N=f(A),E,k;(E=p[R])?(k=l[N])?(delete p[E.end],delete l[k.start],E===k?(E.ring.push(A),h(E.ring)):l[E.start]=p[k.end]={start:E.start,end:k.end,ring:E.ring.concat(k.ring)}):(delete p[E.end],E.ring.push(A),p[E.end=N]=E):(E=l[N])?(k=p[R])?(delete l[E.start],delete p[k.end],E===k?(E.ring.push(A),h(E.ring)):l[k.start]=p[E.end]={start:k.start,end:E.end,ring:k.ring.concat(E.ring)}):(delete l[E.start],E.ring.unshift(w),l[E.start=R]=E):l[R]=p[N]={start:R,end:N,ring:[w,A]}}}function f(u){return u[0]*2+u[1]*(t+1)*4}function s(u,c,h){u.forEach(function(l){var p=l[0],g=l[1],m=p|0,d=g|0,x=vs(c[d*t+m]);p>0&&p<t&&m===p&&(l[0]=ed(p,vs(c[d*t+m-1]),x,h)),g>0&&g<e&&d===g&&(l[1]=ed(g,vs(c[(d-1)*t+m]),x,h))})}return o.contour=i,o.size=function(u){if(!arguments.length)return[t,e];var c=Math.floor(u[0]),h=Math.floor(u[1]);if(!(c>=0&&h>=0))throw new Error("invalid size");return t=c,e=h,o},o.thresholds=function(u){return arguments.length?(n=typeof u=="function"?u:Array.isArray(u)?Ue(uf.call(u)):Ue(u),o):n},o.smooth=function(u){return arguments.length?(r=u?s:td,o):r===s},o}function v_(t){return isFinite(t)?t:NaN}function cr(t,e){return t==null?!1:+t>=e}function vs(t){return t==null||isNaN(t=+t)?-1/0:t}function ed(t,e,n,r){let o=r-e,i=n-e,a=isFinite(o)||isFinite(i)?o/i:Math.sign(o)/Math.sign(i);return isNaN(a)?t:t+a-.5}function w_(t){return t[0]}function M_(t){return t[1]}function S_(){return 1}function T_(){var t=w_,e=M_,n=S_,r=960,o=500,i=20,a=2,f=i*3,s=r+f*2>>a,u=o+f*2>>a,c=Ue(20);function h(_){var y=new Float32Array(s*u),b=Math.pow(2,-a),v=-1;for(let C of _){var w=(t(C,++v,_)+f)*b,A=(e(C,v,_)+f)*b,R=+n(C,v,_);if(R&&w>=0&&w<s&&A>=0&&A<u){var N=Math.floor(w),E=Math.floor(A),k=w-N-.5,I=A-E-.5;y[N+E*s]+=(1-k)*(1-I)*R,y[N+1+E*s]+=k*(1-I)*R,y[N+1+(E+1)*s]+=k*I*R,y[N+(E+1)*s]+=(1-k)*I*R}}return Tu({data:y,width:s,height:u},i*b),y}function l(_){var y=h(_),b=c(y),v=Math.pow(2,2*a);return Array.isArray(b)||(b=ue(Number.MIN_VALUE,Mn(y)/v,b)),sf().size([s,u]).thresholds(b.map(w=>w*v))(y).map((w,A)=>(w.value=+b[A],p(w)))}l.contours=function(_){var y=h(_),b=sf().size([s,u]),v=Math.pow(2,2*a),w=A=>{A=+A;var R=p(b.contour(y,A*v));return R.value=A,R};return Object.defineProperty(w,"max",{get:()=>Mn(y)/v}),w};function p(_){return _.coordinates.forEach(g),_}function g(_){_.forEach(m)}function m(_){_.forEach(d)}function d(_){_[0]=_[0]*Math.pow(2,a)-f,_[1]=_[1]*Math.pow(2,a)-f}function x(){return f=i*3,s=r+f*2>>a,u=o+f*2>>a,l}return l.x=function(_){return arguments.length?(t=typeof _=="function"?_:Ue(+_),l):t},l.y=function(_){return arguments.length?(e=typeof _=="function"?_:Ue(+_),l):e},l.weight=function(_){return arguments.length?(n=typeof _=="function"?_:Ue(+_),l):n},l.size=function(_){if(!arguments.length)return[r,o];var y=+_[0],b=+_[1];if(!(y>=0&&b>=0))throw new Error("invalid size");return r=y,o=b,x()},l.cellSize=function(_){if(!arguments.length)return 1<<a;if(!((_=+_)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(_)/Math.LN2),x()},l.thresholds=function(_){return arguments.length?(c=typeof _=="function"?_:Array.isArray(_)?Ue(uf.call(_)):Ue(_),l):c},l.bandwidth=function(_){if(!arguments.length)return Math.sqrt(i*(i+1));if(!((_=+_)>=0))throw new Error("invalid bandwidth");return i=(Math.sqrt(4*_*_+1)-1)/2,x()},l}var ot=11102230246251565e-32,Ct=134217729,wi=(3+8*ot)*ot;function lr(t,e,n,r,o){let i,a,f,s,u=e[0],c=r[0],h=0,l=0;c>u==c>-u?(i=u,u=e[++h]):(i=c,c=r[++l]);let p=0;if(h<t&&l<n)for(c>u==c>-u?(a=u+i,f=i-(a-u),u=e[++h]):(a=c+i,f=i-(a-c),c=r[++l]),i=a,f!==0&&(o[p++]=f);h<t&&l<n;)c>u==c>-u?(a=i+u,s=a-i,f=i-(a-s)+(u-s),u=e[++h]):(a=i+c,s=a-i,f=i-(a-s)+(c-s),c=r[++l]),i=a,f!==0&&(o[p++]=f);for(;h<t;)a=i+u,s=a-i,f=i-(a-s)+(u-s),u=e[++h],i=a,f!==0&&(o[p++]=f);for(;l<n;)a=i+c,s=a-i,f=i-(a-s)+(c-s),c=r[++l],i=a,f!==0&&(o[p++]=f);return(i!==0||p===0)&&(o[p++]=i),p}function Mi(t,e){let n=e[0];for(let r=1;r<t;r++)n+=e[r];return n}function D(t){return new Float64Array(t)}var A_=(3+16*ot)*ot,E_=(2+12*ot)*ot,k_=(9+64*ot)*ot*ot,eo=D(4),nd=D(8),rd=D(12),od=D(16),Kt=D(4);function N_(t,e,n,r,o,i,a){let f,s,u,c,h,l,p,g,m,d,x,_,y,b,v,w,A,R,N=t-o,E=n-o,k=e-i,I=r-i;b=N*I,l=Ct*N,p=l-(l-N),g=N-p,l=Ct*I,m=l-(l-I),d=I-m,v=g*d-(b-p*m-g*m-p*d),w=k*E,l=Ct*k,p=l-(l-k),g=k-p,l=Ct*E,m=l-(l-E),d=E-m,A=g*d-(w-p*m-g*m-p*d),x=v-A,h=v-x,eo[0]=v-(x+h)+(h-A),_=b+x,h=_-b,y=b-(_-h)+(x-h),x=y-w,h=y-x,eo[1]=y-(x+h)+(h-w),R=_+x,h=R-_,eo[2]=_-(R-h)+(x-h),eo[3]=R;let C=Mi(4,eo),M=E_*a;if(C>=M||-C>=M||(h=t-N,f=t-(N+h)+(h-o),h=n-E,u=n-(E+h)+(h-o),h=e-k,s=e-(k+h)+(h-i),h=r-I,c=r-(I+h)+(h-i),f===0&&s===0&&u===0&&c===0)||(M=k_*a+wi*Math.abs(C),C+=N*c+I*f-(k*u+E*s),C>=M||-C>=M))return C;b=f*I,l=Ct*f,p=l-(l-f),g=f-p,l=Ct*I,m=l-(l-I),d=I-m,v=g*d-(b-p*m-g*m-p*d),w=s*E,l=Ct*s,p=l-(l-s),g=s-p,l=Ct*E,m=l-(l-E),d=E-m,A=g*d-(w-p*m-g*m-p*d),x=v-A,h=v-x,Kt[0]=v-(x+h)+(h-A),_=b+x,h=_-b,y=b-(_-h)+(x-h),x=y-w,h=y-x,Kt[1]=y-(x+h)+(h-w),R=_+x,h=R-_,Kt[2]=_-(R-h)+(x-h),Kt[3]=R;let S=lr(4,eo,4,Kt,nd);b=N*c,l=Ct*N,p=l-(l-N),g=N-p,l=Ct*c,m=l-(l-c),d=c-m,v=g*d-(b-p*m-g*m-p*d),w=k*u,l=Ct*k,p=l-(l-k),g=k-p,l=Ct*u,m=l-(l-u),d=u-m,A=g*d-(w-p*m-g*m-p*d),x=v-A,h=v-x,Kt[0]=v-(x+h)+(h-A),_=b+x,h=_-b,y=b-(_-h)+(x-h),x=y-w,h=y-x,Kt[1]=y-(x+h)+(h-w),R=_+x,h=R-_,Kt[2]=_-(R-h)+(x-h),Kt[3]=R;let T=lr(S,nd,4,Kt,rd);b=f*c,l=Ct*f,p=l-(l-f),g=f-p,l=Ct*c,m=l-(l-c),d=c-m,v=g*d-(b-p*m-g*m-p*d),w=s*u,l=Ct*s,p=l-(l-s),g=s-p,l=Ct*u,m=l-(l-u),d=u-m,A=g*d-(w-p*m-g*m-p*d),x=v-A,h=v-x,Kt[0]=v-(x+h)+(h-A),_=b+x,h=_-b,y=b-(_-h)+(x-h),x=y-w,h=y-x,Kt[1]=y-(x+h)+(h-w),R=_+x,h=R-_,Kt[2]=_-(R-h)+(x-h),Kt[3]=R;let P=lr(T,rd,4,Kt,od);return od[P-1]}function no(t,e,n,r,o,i){let a=(e-i)*(n-o),f=(t-o)*(r-i),s=a-f,u=Math.abs(a+f);return Math.abs(s)>=A_*u?s:-N_(t,e,n,r,o,i,u)}var oI=(7+56*ot)*ot,iI=(3+28*ot)*ot,aI=(26+288*ot)*ot*ot,fI=D(4),uI=D(4),sI=D(4),cI=D(4),lI=D(4),hI=D(4),pI=D(4),dI=D(4),mI=D(4),gI=D(8),xI=D(8),bI=D(8),yI=D(4),_I=D(8),vI=D(8),wI=D(16),MI=D(12),SI=D(192),TI=D(192);var kI=(10+96*ot)*ot,NI=(4+48*ot)*ot,RI=(44+576*ot)*ot*ot,CI=D(4),II=D(4),PI=D(4),DI=D(4),qI=D(4),OI=D(4),FI=D(4),zI=D(4),LI=D(8),YI=D(8),UI=D(8),$I=D(8),BI=D(8),HI=D(8),XI=D(8),WI=D(8),VI=D(8),GI=D(4),ZI=D(4),QI=D(4),jI=D(8),KI=D(16),JI=D(16),tP=D(16),eP=D(32),nP=D(32),rP=D(48),oP=D(64),iP=D(1152),aP=D(1152);var cP=(16+224*ot)*ot,lP=(5+72*ot)*ot,hP=(71+1408*ot)*ot*ot,pP=D(4),dP=D(4),mP=D(4),gP=D(4),xP=D(4),bP=D(4),yP=D(4),_P=D(4),vP=D(4),wP=D(4),MP=D(24),SP=D(24),TP=D(24),AP=D(24),EP=D(24),kP=D(24),NP=D(24),RP=D(24),CP=D(24),IP=D(24),PP=D(1152),DP=D(1152),qP=D(1152),OP=D(1152),FP=D(1152),zP=D(2304),LP=D(2304),YP=D(3456),UP=D(5760),$P=D(8),BP=D(8),HP=D(8),XP=D(16),WP=D(24),VP=D(48),GP=D(48),ZP=D(96),QP=D(192),jP=D(384),KP=D(384),JP=D(384),tD=D(768);var eD=D(96),nD=D(96),rD=D(96),oD=D(1152);var ad=Math.pow(2,-52),cf=new Uint32Array(512),oo=class t{static from(e,n=q_,r=O_){let o=e.length,i=new Float64Array(o*2);for(let a=0;a<o;a++){let f=e[a];i[2*a]=n(f),i[2*a+1]=r(f)}return new t(i)}constructor(e){let n=e.length>>1;if(n>0&&typeof e[0]!="number")throw new Error("Expected coords to contain numbers.");this.coords=e;let r=Math.max(2*n-5,0);this._triangles=new Uint32Array(r*3),this._halfedges=new Int32Array(r*3),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.trianglesLen=0,this._cx=0,this._cy=0,this._hullStart=0,this.hull=this._triangles,this.triangles=this._triangles,this.halfedges=this._halfedges,this.update()}update(){let{coords:e,_hullPrev:n,_hullNext:r,_hullTri:o,_hullHash:i}=this,a=e.length>>1,f=1/0,s=1/0,u=-1/0,c=-1/0;for(let N=0;N<a;N++){let E=e[2*N],k=e[2*N+1];E<f&&(f=E),k<s&&(s=k),E>u&&(u=E),k>c&&(c=k),this._ids[N]=N}let h=(f+u)/2,l=(s+c)/2,p=0,g=0,m=0;for(let N=0,E=1/0;N<a;N++){let k=ws(h,l,e[2*N],e[2*N+1]);k<E&&(p=N,E=k)}let d=e[2*p],x=e[2*p+1];for(let N=0,E=1/0;N<a;N++){if(N===p)continue;let k=ws(d,x,e[2*N],e[2*N+1]);k<E&&k>0&&(g=N,E=k)}let _=e[2*g],y=e[2*g+1],b=1/0;for(let N=0;N<a;N++){if(N===p||N===g)continue;let E=P_(d,x,_,y,e[2*N],e[2*N+1]);E<b&&(m=N,b=E)}let v=e[2*m],w=e[2*m+1];if(b===1/0){for(let k=0;k<a;k++)this._dists[k]=e[2*k]-e[0]||e[2*k+1]-e[1];ro(this._ids,this._dists,0,a-1);let N=new Uint32Array(a),E=0;for(let k=0,I=-1/0;k<a;k++){let C=this._ids[k],M=this._dists[C];M>I&&(N[E++]=C,I=M)}this.hull=N.subarray(0,E),this.triangles=new Uint32Array(0),this.halfedges=new Int32Array(0);return}if(no(d,x,_,y,v,w)<0){let N=g,E=_,k=y;g=m,_=v,y=w,m=N,v=E,w=k}let A=D_(d,x,_,y,v,w);this._cx=A.x,this._cy=A.y;for(let N=0;N<a;N++)this._dists[N]=ws(e[2*N],e[2*N+1],A.x,A.y);ro(this._ids,this._dists,0,a-1),this._hullStart=p;let R=3;r[p]=n[m]=g,r[g]=n[p]=m,r[m]=n[g]=p,o[p]=0,o[g]=1,o[m]=2,i.fill(-1),i[this._hashKey(d,x)]=p,i[this._hashKey(_,y)]=g,i[this._hashKey(v,w)]=m,this.trianglesLen=0,this._addTriangle(p,g,m,-1,-1,-1);for(let N=0,E=0,k=0;N<this._ids.length;N++){let I=this._ids[N],C=e[2*I],M=e[2*I+1];if(N>0&&Math.abs(C-E)<=ad&&Math.abs(M-k)<=ad||(E=C,k=M,I===p||I===g||I===m))continue;let S=0;for(let L=0,X=this._hashKey(C,M);L<this._hashSize&&(S=i[(X+L)%this._hashSize],!(S!==-1&&S!==r[S]));L++);S=n[S];let T=S,P;for(;P=r[T],no(C,M,e[2*T],e[2*T+1],e[2*P],e[2*P+1])>=0;)if(T=P,T===S){T=-1;break}if(T===-1)continue;let O=this._addTriangle(T,I,r[T],-1,-1,o[T]);o[I]=this._legalize(O+2),o[T]=O,R++;let q=r[T];for(;P=r[q],no(C,M,e[2*q],e[2*q+1],e[2*P],e[2*P+1])<0;)O=this._addTriangle(q,I,P,o[I],-1,o[q]),o[I]=this._legalize(O+2),r[q]=q,R--,q=P;if(T===S)for(;P=n[T],no(C,M,e[2*P],e[2*P+1],e[2*T],e[2*T+1])<0;)O=this._addTriangle(P,I,T,-1,o[T],o[P]),this._legalize(O+2),o[P]=O,r[T]=T,R--,T=P;this._hullStart=n[I]=T,r[T]=n[q]=I,r[I]=q,i[this._hashKey(C,M)]=I,i[this._hashKey(e[2*T],e[2*T+1])]=T}this.hull=new Uint32Array(R);for(let N=0,E=this._hullStart;N<R;N++)this.hull[N]=E,E=r[E];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,n){return Math.floor(C_(e-this._cx,n-this._cy)*this._hashSize)%this._hashSize}_legalize(e){let{_triangles:n,_halfedges:r,coords:o}=this,i=0,a=0;for(;;){let f=r[e],s=e-e%3;if(a=s+(e+2)%3,f===-1){if(i===0)break;e=cf[--i];continue}let u=f-f%3,c=s+(e+1)%3,h=u+(f+2)%3,l=n[a],p=n[e],g=n[c],m=n[h];if(I_(o[2*l],o[2*l+1],o[2*p],o[2*p+1],o[2*g],o[2*g+1],o[2*m],o[2*m+1])){n[e]=m,n[f]=l;let x=r[h];if(x===-1){let y=this._hullStart;do{if(this._hullTri[y]===h){this._hullTri[y]=e;break}y=this._hullPrev[y]}while(y!==this._hullStart)}this._link(e,x),this._link(f,r[a]),this._link(a,h);let _=u+(f+1)%3;i<cf.length&&(cf[i++]=_)}else{if(i===0)break;e=cf[--i]}}return a}_link(e,n){this._halfedges[e]=n,n!==-1&&(this._halfedges[n]=e)}_addTriangle(e,n,r,o,i,a){let f=this.trianglesLen;return this._triangles[f]=e,this._triangles[f+1]=n,this._triangles[f+2]=r,this._link(f,o),this._link(f+1,i),this._link(f+2,a),this.trianglesLen+=3,f}};function C_(t,e){let n=t/(Math.abs(t)+Math.abs(e));return(e>0?3-n:1+n)/4}function ws(t,e,n,r){let o=t-n,i=e-r;return o*o+i*i}function I_(t,e,n,r,o,i,a,f){let s=t-a,u=e-f,c=n-a,h=r-f,l=o-a,p=i-f,g=s*s+u*u,m=c*c+h*h,d=l*l+p*p;return s*(h*d-m*p)-u*(c*d-m*l)+g*(c*p-h*l)<0}function P_(t,e,n,r,o,i){let a=n-t,f=r-e,s=o-t,u=i-e,c=a*a+f*f,h=s*s+u*u,l=.5/(a*u-f*s),p=(u*c-f*h)*l,g=(a*h-s*c)*l;return p*p+g*g}function D_(t,e,n,r,o,i){let a=n-t,f=r-e,s=o-t,u=i-e,c=a*a+f*f,h=s*s+u*u,l=.5/(a*u-f*s),p=t+(u*c-f*h)*l,g=e+(a*h-s*c)*l;return{x:p,y:g}}function ro(t,e,n,r){if(r-n<=20)for(let o=n+1;o<=r;o++){let i=t[o],a=e[i],f=o-1;for(;f>=n&&e[t[f]]>a;)t[f+1]=t[f--];t[f+1]=i}else{let o=n+r>>1,i=n+1,a=r;Si(t,o,i),e[t[n]]>e[t[r]]&&Si(t,n,r),e[t[i]]>e[t[r]]&&Si(t,i,r),e[t[n]]>e[t[i]]&&Si(t,n,i);let f=t[i],s=e[f];for(;;){do i++;while(e[t[i]]<s);do a--;while(e[t[a]]>s);if(a<i)break;Si(t,i,a)}t[n+1]=t[a],t[a]=f,r-i+1>=a-n?(ro(t,e,i,r),ro(t,e,n,a-1)):(ro(t,e,n,a-1),ro(t,e,i,r))}}function Si(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}function q_(t){return t[0]}function O_(t){return t[1]}var pe=class{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,n){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,n){this._+=`L${this._x1=+e},${this._y1=+n}`}arc(e,n,r){e=+e,n=+n,r=+r;let o=e+r,i=n;if(r<0)throw new Error("negative radius");this._x1===null?this._+=`M${o},${i}`:(Math.abs(this._x1-o)>1e-6||Math.abs(this._y1-i)>1e-6)&&(this._+="L"+o+","+i),r&&(this._+=`A${r},${r},0,1,1,${e-r},${n}A${r},${r},0,1,1,${this._x1=o},${this._y1=i}`)}rect(e,n,r,o){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${+r}v${+o}h${-r}Z`}value(){return this._||null}};var Pn=class{constructor(){this._=[]}moveTo(e,n){this._.push([e,n])}closePath(){this._.push(this._[0].slice())}lineTo(e,n){this._.push([e,n])}value(){return this._.length?this._:null}};var io=class{constructor(e,[n,r,o,i]=[0,0,960,500]){if(!((o=+o)>=(n=+n))||!((i=+i)>=(r=+r)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(e.points.length*2),this.vectors=new Float64Array(e.points.length*2),this.xmax=o,this.xmin=n,this.ymax=i,this.ymin=r,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){let{delaunay:{points:e,hull:n,triangles:r},vectors:o}=this,i,a,f=this.circumcenters=this._circumcenters.subarray(0,r.length/3*2);for(let m=0,d=0,x=r.length,_,y;m<x;m+=3,d+=2){let b=r[m]*2,v=r[m+1]*2,w=r[m+2]*2,A=e[b],R=e[b+1],N=e[v],E=e[v+1],k=e[w],I=e[w+1],C=N-A,M=E-R,S=k-A,T=I-R,P=(C*T-M*S)*2;if(Math.abs(P)<1e-9){if(i===void 0){i=a=0;for(let q of n)i+=e[q*2],a+=e[q*2+1];i/=n.length,a/=n.length}let O=1e9*Math.sign((i-A)*T-(a-R)*S);_=(A+k)/2-O*T,y=(R+I)/2+O*S}else{let O=1/P,q=C*C+M*M,L=S*S+T*T;_=A+(T*q-M*L)*O,y=R+(C*L-S*q)*O}f[d]=_,f[d+1]=y}let s=n[n.length-1],u,c=s*4,h,l=e[2*s],p,g=e[2*s+1];o.fill(0);for(let m=0;m<n.length;++m)s=n[m],u=c,h=l,p=g,c=s*4,l=e[2*s],g=e[2*s+1],o[u+2]=o[c]=p-g,o[u+3]=o[c+1]=l-h}render(e){let n=e==null?e=new pe:void 0,{delaunay:{halfedges:r,inedges:o,hull:i},circumcenters:a,vectors:f}=this;if(i.length<=1)return null;for(let c=0,h=r.length;c<h;++c){let l=r[c];if(l<c)continue;let p=Math.floor(c/3)*2,g=Math.floor(l/3)*2,m=a[p],d=a[p+1],x=a[g],_=a[g+1];this._renderSegment(m,d,x,_,e)}let s,u=i[i.length-1];for(let c=0;c<i.length;++c){s=u,u=i[c];let h=Math.floor(o[u]/3)*2,l=a[h],p=a[h+1],g=s*4,m=this._project(l,p,f[g+2],f[g+3]);m&&this._renderSegment(l,p,m[0],m[1],e)}return n&&n.value()}renderBounds(e){let n=e==null?e=new pe:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),n&&n.value()}renderCell(e,n){let r=n==null?n=new pe:void 0,o=this._clip(e);if(o===null||!o.length)return;n.moveTo(o[0],o[1]);let i=o.length;for(;o[0]===o[i-2]&&o[1]===o[i-1]&&i>1;)i-=2;for(let a=2;a<i;a+=2)(o[a]!==o[a-2]||o[a+1]!==o[a-1])&&n.lineTo(o[a],o[a+1]);return n.closePath(),r&&r.value()}*cellPolygons(){let{delaunay:{points:e}}=this;for(let n=0,r=e.length/2;n<r;++n){let o=this.cellPolygon(n);o&&(o.index=n,yield o)}}cellPolygon(e){let n=new Pn;return this.renderCell(e,n),n.value()}_renderSegment(e,n,r,o,i){let a,f=this._regioncode(e,n),s=this._regioncode(r,o);f===0&&s===0?(i.moveTo(e,n),i.lineTo(r,o)):(a=this._clipSegment(e,n,r,o,f,s))&&(i.moveTo(a[0],a[1]),i.lineTo(a[2],a[3]))}contains(e,n,r){return n=+n,n!==n||(r=+r,r!==r)?!1:this.delaunay._step(e,n,r)===e}*neighbors(e){let n=this._clip(e);if(n)for(let r of this.delaunay.neighbors(e)){let o=this._clip(r);if(o){t:for(let i=0,a=n.length;i<a;i+=2)for(let f=0,s=o.length;f<s;f+=2)if(n[i]===o[f]&&n[i+1]===o[f+1]&&n[(i+2)%a]===o[(f+s-2)%s]&&n[(i+3)%a]===o[(f+s-1)%s]){yield r;break t}}}}_cell(e){let{circumcenters:n,delaunay:{inedges:r,halfedges:o,triangles:i}}=this,a=r[e];if(a===-1)return null;let f=[],s=a;do{let u=Math.floor(s/3);if(f.push(n[u*2],n[u*2+1]),s=s%3===2?s-2:s+1,i[s]!==e)break;s=o[s]}while(s!==a&&s!==-1);return f}_clip(e){if(e===0&&this.delaunay.hull.length===1)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];let n=this._cell(e);if(n===null)return null;let{vectors:r}=this,o=e*4;return this._simplify(r[o]||r[o+1]?this._clipInfinite(e,n,r[o],r[o+1],r[o+2],r[o+3]):this._clipFinite(e,n))}_clipFinite(e,n){let r=n.length,o=null,i,a,f=n[r-2],s=n[r-1],u,c=this._regioncode(f,s),h,l=0;for(let p=0;p<r;p+=2)if(i=f,a=s,f=n[p],s=n[p+1],u=c,c=this._regioncode(f,s),u===0&&c===0)h=l,l=0,o?o.push(f,s):o=[f,s];else{let g,m,d,x,_;if(u===0){if((g=this._clipSegment(i,a,f,s,u,c))===null)continue;[m,d,x,_]=g}else{if((g=this._clipSegment(f,s,i,a,c,u))===null)continue;[x,_,m,d]=g,h=l,l=this._edgecode(m,d),h&&l&&this._edge(e,h,l,o,o.length),o?o.push(m,d):o=[m,d]}h=l,l=this._edgecode(x,_),h&&l&&this._edge(e,h,l,o,o.length),o?o.push(x,_):o=[x,_]}if(o)h=l,l=this._edgecode(o[0],o[1]),h&&l&&this._edge(e,h,l,o,o.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return o}_clipSegment(e,n,r,o,i,a){let f=i<a;for(f&&([e,n,r,o,i,a]=[r,o,e,n,a,i]);;){if(i===0&&a===0)return f?[r,o,e,n]:[e,n,r,o];if(i&a)return null;let s,u,c=i||a;c&8?(s=e+(r-e)*(this.ymax-n)/(o-n),u=this.ymax):c&4?(s=e+(r-e)*(this.ymin-n)/(o-n),u=this.ymin):c&2?(u=n+(o-n)*(this.xmax-e)/(r-e),s=this.xmax):(u=n+(o-n)*(this.xmin-e)/(r-e),s=this.xmin),i?(e=s,n=u,i=this._regioncode(e,n)):(r=s,o=u,a=this._regioncode(r,o))}}_clipInfinite(e,n,r,o,i,a){let f=Array.from(n),s;if((s=this._project(f[0],f[1],r,o))&&f.unshift(s[0],s[1]),(s=this._project(f[f.length-2],f[f.length-1],i,a))&&f.push(s[0],s[1]),f=this._clipFinite(e,f))for(let u=0,c=f.length,h,l=this._edgecode(f[c-2],f[c-1]);u<c;u+=2)h=l,l=this._edgecode(f[u],f[u+1]),h&&l&&(u=this._edge(e,h,l,f,u),c=f.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(f=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return f}_edge(e,n,r,o,i){for(;n!==r;){let a,f;switch(n){case 5:n=4;continue;case 4:n=6,a=this.xmax,f=this.ymin;break;case 6:n=2;continue;case 2:n=10,a=this.xmax,f=this.ymax;break;case 10:n=8;continue;case 8:n=9,a=this.xmin,f=this.ymax;break;case 9:n=1;continue;case 1:n=5,a=this.xmin,f=this.ymin;break}(o[i]!==a||o[i+1]!==f)&&this.contains(e,a,f)&&(o.splice(i,0,a,f),i+=2)}return i}_project(e,n,r,o){let i=1/0,a,f,s;if(o<0){if(n<=this.ymin)return null;(a=(this.ymin-n)/o)<i&&(s=this.ymin,f=e+(i=a)*r)}else if(o>0){if(n>=this.ymax)return null;(a=(this.ymax-n)/o)<i&&(s=this.ymax,f=e+(i=a)*r)}if(r>0){if(e>=this.xmax)return null;(a=(this.xmax-e)/r)<i&&(f=this.xmax,s=n+(i=a)*o)}else if(r<0){if(e<=this.xmin)return null;(a=(this.xmin-e)/r)<i&&(f=this.xmin,s=n+(i=a)*o)}return[f,s]}_edgecode(e,n){return(e===this.xmin?1:e===this.xmax?2:0)|(n===this.ymin?4:n===this.ymax?8:0)}_regioncode(e,n){return(e<this.xmin?1:e>this.xmax?2:0)|(n<this.ymin?4:n>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let n=0;n<e.length;n+=2){let r=(n+2)%e.length,o=(n+4)%e.length;(e[n]===e[r]&&e[r]===e[o]||e[n+1]===e[r+1]&&e[r+1]===e[o+1])&&(e.splice(r,2),n-=2)}e.length||(e=null)}return e}};var F_=2*Math.PI,ao=Math.pow;function z_(t){return t[0]}function L_(t){return t[1]}function Y_(t){let{triangles:e,coords:n}=t;for(let r=0;r<e.length;r+=3){let o=2*e[r],i=2*e[r+1],a=2*e[r+2];if((n[a]-n[o])*(n[i+1]-n[o+1])-(n[i]-n[o])*(n[a+1]-n[o+1])>1e-10)return!1}return!0}function U_(t,e,n){return[t+Math.sin(t+e)*n,e+Math.cos(t-e)*n]}var lf=class t{static from(e,n=z_,r=L_,o){return new t("length"in e?$_(e,n,r,o):Float64Array.from(B_(e,n,r,o)))}constructor(e){this._delaunator=new oo(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){let e=this._delaunator,n=this.points;if(e.hull&&e.hull.length>2&&Y_(e)){this.collinear=Int32Array.from({length:n.length/2},(l,p)=>p).sort((l,p)=>n[2*l]-n[2*p]||n[2*l+1]-n[2*p+1]);let s=this.collinear[0],u=this.collinear[this.collinear.length-1],c=[n[2*s],n[2*s+1],n[2*u],n[2*u+1]],h=1e-8*Math.hypot(c[3]-c[1],c[2]-c[0]);for(let l=0,p=n.length/2;l<p;++l){let g=U_(n[2*l],n[2*l+1],h);n[2*l]=g[0],n[2*l+1]=g[1]}this._delaunator=new oo(n)}else delete this.collinear;let r=this.halfedges=this._delaunator.halfedges,o=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,a=this.inedges.fill(-1),f=this._hullIndex.fill(-1);for(let s=0,u=r.length;s<u;++s){let c=i[s%3===2?s-2:s+1];(r[s]===-1||a[c]===-1)&&(a[c]=s)}for(let s=0,u=o.length;s<u;++s)f[o[s]]=s;o.length<=2&&o.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=o[0],a[o[0]]=1,o.length===2&&(a[o[1]]=0,this.triangles[1]=o[1],this.triangles[2]=o[1]))}voronoi(e){return new io(this,e)}*neighbors(e){let{inedges:n,hull:r,_hullIndex:o,halfedges:i,triangles:a,collinear:f}=this;if(f){let h=f.indexOf(e);h>0&&(yield f[h-1]),h<f.length-1&&(yield f[h+1]);return}let s=n[e];if(s===-1)return;let u=s,c=-1;do{if(yield c=a[u],u=u%3===2?u-2:u+1,a[u]!==e)return;if(u=i[u],u===-1){let h=r[(o[e]+1)%r.length];h!==c&&(yield h);return}}while(u!==s)}find(e,n,r=0){if(e=+e,e!==e||(n=+n,n!==n))return-1;let o=r,i;for(;(i=this._step(r,e,n))>=0&&i!==r&&i!==o;)r=i;return i}_step(e,n,r){let{inedges:o,hull:i,_hullIndex:a,halfedges:f,triangles:s,points:u}=this;if(o[e]===-1||!u.length)return(e+1)%(u.length>>1);let c=e,h=ao(n-u[e*2],2)+ao(r-u[e*2+1],2),l=o[e],p=l;do{let g=s[p],m=ao(n-u[g*2],2)+ao(r-u[g*2+1],2);if(m<h&&(h=m,c=g),p=p%3===2?p-2:p+1,s[p]!==e)break;if(p=f[p],p===-1){if(p=i[(a[e]+1)%i.length],p!==g&&ao(n-u[p*2],2)+ao(r-u[p*2+1],2)<h)return p;break}}while(p!==l);return c}render(e){let n=e==null?e=new pe:void 0,{points:r,halfedges:o,triangles:i}=this;for(let a=0,f=o.length;a<f;++a){let s=o[a];if(s<a)continue;let u=i[a]*2,c=i[s]*2;e.moveTo(r[u],r[u+1]),e.lineTo(r[c],r[c+1])}return this.renderHull(e),n&&n.value()}renderPoints(e,n){n===void 0&&(!e||typeof e.moveTo!="function")&&(n=e,e=null),n=n==null?2:+n;let r=e==null?e=new pe:void 0,{points:o}=this;for(let i=0,a=o.length;i<a;i+=2){let f=o[i],s=o[i+1];e.moveTo(f+n,s),e.arc(f,s,n,0,F_)}return r&&r.value()}renderHull(e){let n=e==null?e=new pe:void 0,{hull:r,points:o}=this,i=r[0]*2,a=r.length;e.moveTo(o[i],o[i+1]);for(let f=1;f<a;++f){let s=2*r[f];e.lineTo(o[s],o[s+1])}return e.closePath(),n&&n.value()}hullPolygon(){let e=new Pn;return this.renderHull(e),e.value()}renderTriangle(e,n){let r=n==null?n=new pe:void 0,{points:o,triangles:i}=this,a=i[e*=3]*2,f=i[e+1]*2,s=i[e+2]*2;return n.moveTo(o[a],o[a+1]),n.lineTo(o[f],o[f+1]),n.lineTo(o[s],o[s+1]),n.closePath(),r&&r.value()}*trianglePolygons(){let{triangles:e}=this;for(let n=0,r=e.length/3;n<r;++n)yield this.trianglePolygon(n)}trianglePolygon(e){let n=new Pn;return this.renderTriangle(e,n),n.value()}};function $_(t,e,n,r){let o=t.length,i=new Float64Array(o*2);for(let a=0;a<o;++a){let f=t[a];i[a*2]=e.call(r,f,a,t),i[a*2+1]=n.call(r,f,a,t)}return i}function*B_(t,e,n,r){let o=0;for(let i of t)yield e.call(r,i,o,t),yield n.call(r,i,o,t),++o}var fd={},Ms={},Ss=34,Ti=10,Ts=13;function sd(t){return new Function("d","return {"+t.map(function(e,n){return JSON.stringify(e)+": d["+n+'] || ""'}).join(",")+"}")}function H_(t,e){var n=sd(t);return function(r,o){return e(n(r),o,t)}}function ud(t){var e=Object.create(null),n=[];return t.forEach(function(r){for(var o in r)o in e||n.push(e[o]=o)}),n}function oe(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function X_(t){return t<0?"-"+oe(-t,6):t>9999?"+"+oe(t,6):oe(t,4)}function W_(t){var e=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":X_(t.getUTCFullYear(),4)+"-"+oe(t.getUTCMonth()+1,2)+"-"+oe(t.getUTCDate(),2)+(o?"T"+oe(e,2)+":"+oe(n,2)+":"+oe(r,2)+"."+oe(o,3)+"Z":r?"T"+oe(e,2)+":"+oe(n,2)+":"+oe(r,2)+"Z":n||e?"T"+oe(e,2)+":"+oe(n,2)+"Z":"")}function hr(t){var e=new RegExp('["'+t+`
|
|
2
|
+
\r]`),n=t.charCodeAt(0);function r(h,l){var p,g,m=o(h,function(d,x){if(p)return p(d,x-1);g=d,p=l?H_(d,l):sd(d)});return m.columns=g||[],m}function o(h,l){var p=[],g=h.length,m=0,d=0,x,_=g<=0,y=!1;h.charCodeAt(g-1)===Ti&&--g,h.charCodeAt(g-1)===Ts&&--g;function b(){if(_)return Ms;if(y)return y=!1,fd;var w,A=m,R;if(h.charCodeAt(A)===Ss){for(;m++<g&&h.charCodeAt(m)!==Ss||h.charCodeAt(++m)===Ss;);return(w=m)>=g?_=!0:(R=h.charCodeAt(m++))===Ti?y=!0:R===Ts&&(y=!0,h.charCodeAt(m)===Ti&&++m),h.slice(A+1,w-1).replace(/""/g,'"')}for(;m<g;){if((R=h.charCodeAt(w=m++))===Ti)y=!0;else if(R===Ts)y=!0,h.charCodeAt(m)===Ti&&++m;else if(R!==n)continue;return h.slice(A,w)}return _=!0,h.slice(A,g)}for(;(x=b())!==Ms;){for(var v=[];x!==fd&&x!==Ms;)v.push(x),x=b();l&&(v=l(v,d++))==null||p.push(v)}return p}function i(h,l){return h.map(function(p){return l.map(function(g){return c(p[g])}).join(t)})}function a(h,l){return l==null&&(l=ud(h)),[l.map(c).join(t)].concat(i(h,l)).join(`
|
|
3
|
+
`)}function f(h,l){return l==null&&(l=ud(h)),i(h,l).join(`
|
|
4
|
+
`)}function s(h){return h.map(u).join(`
|
|
5
|
+
`)}function u(h){return h.map(c).join(t)}function c(h){return h==null?"":h instanceof Date?W_(h):e.test(h+="")?'"'+h.replace(/"/g,'""')+'"':h}return{parse:r,parseRows:o,format:a,formatBody:f,formatRows:s,formatRow:u,formatValue:c}}var pr=hr(","),As=pr.parse,V_=pr.parseRows,G_=pr.format,Z_=pr.formatBody,Q_=pr.formatRows,j_=pr.formatRow,K_=pr.formatValue;var dr=hr(" "),Es=dr.parse,J_=dr.parseRows,tv=dr.format,ev=dr.formatBody,nv=dr.formatRows,rv=dr.formatRow,ov=dr.formatValue;function cd(t){for(var e in t){var n=t[e].trim(),r,o;if(!n)n=null;else if(n==="true")n=!0;else if(n==="false")n=!1;else if(n==="NaN")n=NaN;else if(!isNaN(r=+n))n=r;else if(o=n.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/))iv&&o[4]&&!o[7]&&(n=n.replace(/-/g,"/").replace(/T/," ")),n=new Date(n);else continue;t[e]=n}return t}var iv=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function av(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function fv(t,e){return fetch(t,e).then(av)}function uv(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function sv(t,e){return fetch(t,e).then(uv)}function cv(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function fo(t,e){return fetch(t,e).then(cv)}function ld(t){return function(e,n,r){return arguments.length===2&&typeof n=="function"&&(r=n,n=void 0),fo(e,n).then(function(o){return t(o,r)})}}function hd(t,e,n,r){arguments.length===3&&typeof n=="function"&&(r=n,n=void 0);var o=hr(t);return fo(e,n).then(function(i){return o.parse(i,r)})}var lv=ld(As),hv=ld(Es);function pv(t,e){return new Promise(function(n,r){var o=new Image;for(var i in e)o[i]=e[i];o.onerror=r,o.onload=function(){n(o)},o.src=t})}function dv(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(!(t.status===204||t.status===205))return t.json()}function mv(t,e){return fetch(t,e).then(dv)}function ks(t){return(e,n)=>fo(e,n).then(r=>new DOMParser().parseFromString(r,t))}var gv=ks("application/xml"),xv=ks("text/html"),bv=ks("image/svg+xml");function yv(t,e){var n,r=1;t==null&&(t=0),e==null&&(e=0);function o(){var i,a=n.length,f,s=0,u=0;for(i=0;i<a;++i)f=n[i],s+=f.x,u+=f.y;for(s=(s/a-t)*r,u=(u/a-e)*r,i=0;i<a;++i)f=n[i],f.x-=s,f.y-=u}return o.initialize=function(i){n=i},o.x=function(i){return arguments.length?(t=+i,o):t},o.y=function(i){return arguments.length?(e=+i,o):e},o.strength=function(i){return arguments.length?(r=+i,o):r},o}function pd(t){let e=+this._x.call(null,t),n=+this._y.call(null,t);return dd(this.cover(e,n),e,n,t)}function dd(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var o,i=t._root,a={data:r},f=t._x0,s=t._y0,u=t._x1,c=t._y1,h,l,p,g,m,d,x,_;if(!i)return t._root=a,t;for(;i.length;)if((m=e>=(h=(f+u)/2))?f=h:u=h,(d=n>=(l=(s+c)/2))?s=l:c=l,o=i,!(i=i[x=d<<1|m]))return o[x]=a,t;if(p=+t._x.call(null,i.data),g=+t._y.call(null,i.data),e===p&&n===g)return a.next=i,o?o[x]=a:t._root=a,t;do o=o?o[x]=new Array(4):t._root=new Array(4),(m=e>=(h=(f+u)/2))?f=h:u=h,(d=n>=(l=(s+c)/2))?s=l:c=l;while((x=d<<1|m)===(_=(g>=l)<<1|p>=h));return o[_]=i,o[x]=a,t}function md(t){var e,n,r=t.length,o,i,a=new Array(r),f=new Array(r),s=1/0,u=1/0,c=-1/0,h=-1/0;for(n=0;n<r;++n)isNaN(o=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(a[n]=o,f[n]=i,o<s&&(s=o),o>c&&(c=o),i<u&&(u=i),i>h&&(h=i));if(s>c||u>h)return this;for(this.cover(s,u).cover(c,h),n=0;n<r;++n)dd(this,a[n],f[n],t[n]);return this}function gd(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,o=this._x1,i=this._y1;if(isNaN(n))o=(n=Math.floor(t))+1,i=(r=Math.floor(e))+1;else{for(var a=o-n||1,f=this._root,s,u;n>t||t>=o||r>e||e>=i;)switch(u=(e<r)<<1|t<n,s=new Array(4),s[u]=f,f=s,a*=2,u){case 0:o=n+a,i=r+a;break;case 1:n=o-a,i=r+a;break;case 2:o=n+a,r=i-a;break;case 3:n=o-a,r=i-a;break}this._root&&this._root.length&&(this._root=f)}return this._x0=n,this._y0=r,this._x1=o,this._y1=i,this}function xd(){var t=[];return this.visit(function(e){if(!e.length)do t.push(e.data);while(e=e.next)}),t}function bd(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function qt(t,e,n,r,o){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=o}function yd(t,e,n){var r,o=this._x0,i=this._y0,a,f,s,u,c=this._x1,h=this._y1,l=[],p=this._root,g,m;for(p&&l.push(new qt(p,o,i,c,h)),n==null?n=1/0:(o=t-n,i=e-n,c=t+n,h=e+n,n*=n);g=l.pop();)if(!(!(p=g.node)||(a=g.x0)>c||(f=g.y0)>h||(s=g.x1)<o||(u=g.y1)<i))if(p.length){var d=(a+s)/2,x=(f+u)/2;l.push(new qt(p[3],d,x,s,u),new qt(p[2],a,x,d,u),new qt(p[1],d,f,s,x),new qt(p[0],a,f,d,x)),(m=(e>=x)<<1|t>=d)&&(g=l[l.length-1],l[l.length-1]=l[l.length-1-m],l[l.length-1-m]=g)}else{var _=t-+this._x.call(null,p.data),y=e-+this._y.call(null,p.data),b=_*_+y*y;if(b<n){var v=Math.sqrt(n=b);o=t-v,i=e-v,c=t+v,h=e+v,r=p.data}}return r}function _d(t){if(isNaN(c=+this._x.call(null,t))||isNaN(h=+this._y.call(null,t)))return this;var e,n=this._root,r,o,i,a=this._x0,f=this._y0,s=this._x1,u=this._y1,c,h,l,p,g,m,d,x;if(!n)return this;if(n.length)for(;;){if((g=c>=(l=(a+s)/2))?a=l:s=l,(m=h>=(p=(f+u)/2))?f=p:u=p,e=n,!(n=n[d=m<<1|g]))return this;if(!n.length)break;(e[d+1&3]||e[d+2&3]||e[d+3&3])&&(r=e,x=d)}for(;n.data!==t;)if(o=n,!(n=n.next))return this;return(i=n.next)&&delete n.next,o?(i?o.next=i:delete o.next,this):e?(i?e[d]=i:delete e[d],(n=e[0]||e[1]||e[2]||e[3])&&n===(e[3]||e[2]||e[1]||e[0])&&!n.length&&(r?r[x]=n:this._root=n),this):(this._root=i,this)}function vd(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this}function wd(){return this._root}function Md(){var t=0;return this.visit(function(e){if(!e.length)do++t;while(e=e.next)}),t}function Sd(t){var e=[],n,r=this._root,o,i,a,f,s;for(r&&e.push(new qt(r,this._x0,this._y0,this._x1,this._y1));n=e.pop();)if(!t(r=n.node,i=n.x0,a=n.y0,f=n.x1,s=n.y1)&&r.length){var u=(i+f)/2,c=(a+s)/2;(o=r[3])&&e.push(new qt(o,u,c,f,s)),(o=r[2])&&e.push(new qt(o,i,c,u,s)),(o=r[1])&&e.push(new qt(o,u,a,f,c)),(o=r[0])&&e.push(new qt(o,i,a,u,c))}return this}function Td(t){var e=[],n=[],r;for(this._root&&e.push(new qt(this._root,this._x0,this._y0,this._x1,this._y1));r=e.pop();){var o=r.node;if(o.length){var i,a=r.x0,f=r.y0,s=r.x1,u=r.y1,c=(a+s)/2,h=(f+u)/2;(i=o[0])&&e.push(new qt(i,a,f,c,h)),(i=o[1])&&e.push(new qt(i,c,f,s,h)),(i=o[2])&&e.push(new qt(i,a,h,c,u)),(i=o[3])&&e.push(new qt(i,c,h,s,u))}n.push(r)}for(;r=n.pop();)t(r.node,r.x0,r.y0,r.x1,r.y1);return this}function Ad(t){return t[0]}function Ed(t){return arguments.length?(this._x=t,this):this._x}function kd(t){return t[1]}function Nd(t){return arguments.length?(this._y=t,this):this._y}function mr(t,e,n){var r=new Ns(e??Ad,n??kd,NaN,NaN,NaN,NaN);return t==null?r:r.addAll(t)}function Ns(t,e,n,r,o,i){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=o,this._y1=i,this._root=void 0}function Rd(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Jt=mr.prototype=Ns.prototype;Jt.copy=function(){var t=new Ns(this._x,this._y,this._x0,this._y0,this._x1,this._y1),e=this._root,n,r;if(!e)return t;if(!e.length)return t._root=Rd(e),t;for(n=[{source:e,target:t._root=new Array(4)}];e=n.pop();)for(var o=0;o<4;++o)(r=e.source[o])&&(r.length?n.push({source:r,target:e.target[o]=new Array(4)}):e.target[o]=Rd(r));return t};Jt.add=pd;Jt.addAll=md;Jt.cover=gd;Jt.data=xd;Jt.extent=bd;Jt.find=yd;Jt.remove=_d;Jt.removeAll=vd;Jt.root=wd;Jt.size=Md;Jt.visit=Sd;Jt.visitAfter=Td;Jt.x=Ed;Jt.y=Nd;function yt(t){return function(){return t}}function Ee(t){return(t()-.5)*1e-6}function _v(t){return t.x+t.vx}function vv(t){return t.y+t.vy}function wv(t){var e,n,r,o=1,i=1;typeof t!="function"&&(t=yt(t==null?1:+t));function a(){for(var u,c=e.length,h,l,p,g,m,d,x=0;x<i;++x)for(h=mr(e,_v,vv).visitAfter(f),u=0;u<c;++u)l=e[u],m=n[l.index],d=m*m,p=l.x+l.vx,g=l.y+l.vy,h.visit(_);function _(y,b,v,w,A){var R=y.data,N=y.r,E=m+N;if(R){if(R.index>l.index){var k=p-R.x-R.vx,I=g-R.y-R.vy,C=k*k+I*I;C<E*E&&(k===0&&(k=Ee(r),C+=k*k),I===0&&(I=Ee(r),C+=I*I),C=(E-(C=Math.sqrt(C)))/C*o,l.vx+=(k*=C)*(E=(N*=N)/(d+N)),l.vy+=(I*=C)*E,R.vx-=k*(E=1-E),R.vy-=I*E)}return}return b>p+E||w<p-E||v>g+E||A<g-E}}function f(u){if(u.data)return u.r=n[u.data.index];for(var c=u.r=0;c<4;++c)u[c]&&u[c].r>u.r&&(u.r=u[c].r)}function s(){if(e){var u,c=e.length,h;for(n=new Array(c),u=0;u<c;++u)h=e[u],n[h.index]=+t(h,u,e)}}return a.initialize=function(u,c){e=u,r=c,s()},a.iterations=function(u){return arguments.length?(i=+u,a):i},a.strength=function(u){return arguments.length?(o=+u,a):o},a.radius=function(u){return arguments.length?(t=typeof u=="function"?u:yt(+u),s(),a):t},a}function Mv(t){return t.index}function Cd(t,e){var n=t.get(e);if(!n)throw new Error("node not found: "+e);return n}function Sv(t){var e=Mv,n=h,r,o=yt(30),i,a,f,s,u,c=1;t==null&&(t=[]);function h(d){return 1/Math.min(f[d.source.index],f[d.target.index])}function l(d){for(var x=0,_=t.length;x<c;++x)for(var y=0,b,v,w,A,R,N,E;y<_;++y)b=t[y],v=b.source,w=b.target,A=w.x+w.vx-v.x-v.vx||Ee(u),R=w.y+w.vy-v.y-v.vy||Ee(u),N=Math.sqrt(A*A+R*R),N=(N-i[y])/N*d*r[y],A*=N,R*=N,w.vx-=A*(E=s[y]),w.vy-=R*E,v.vx+=A*(E=1-E),v.vy+=R*E}function p(){if(a){var d,x=a.length,_=t.length,y=new Map(a.map((v,w)=>[e(v,w,a),v])),b;for(d=0,f=new Array(x);d<_;++d)b=t[d],b.index=d,typeof b.source!="object"&&(b.source=Cd(y,b.source)),typeof b.target!="object"&&(b.target=Cd(y,b.target)),f[b.source.index]=(f[b.source.index]||0)+1,f[b.target.index]=(f[b.target.index]||0)+1;for(d=0,s=new Array(_);d<_;++d)b=t[d],s[d]=f[b.source.index]/(f[b.source.index]+f[b.target.index]);r=new Array(_),g(),i=new Array(_),m()}}function g(){if(a)for(var d=0,x=t.length;d<x;++d)r[d]=+n(t[d],d,t)}function m(){if(a)for(var d=0,x=t.length;d<x;++d)i[d]=+o(t[d],d,t)}return l.initialize=function(d,x){a=d,u=x,p()},l.links=function(d){return arguments.length?(t=d,p(),l):t},l.id=function(d){return arguments.length?(e=d,l):e},l.iterations=function(d){return arguments.length?(c=+d,l):c},l.strength=function(d){return arguments.length?(n=typeof d=="function"?d:yt(+d),g(),l):n},l.distance=function(d){return arguments.length?(o=typeof d=="function"?d:yt(+d),m(),l):o},l}function Id(){let t=1;return()=>(t=(1664525*t+1013904223)%4294967296)/4294967296}function Pd(t){return t.x}function Dd(t){return t.y}var Tv=10,Av=Math.PI*(3-Math.sqrt(5));function Ev(t){var e,n=1,r=.001,o=1-Math.pow(r,1/300),i=0,a=.6,f=new Map,s=Qr(h),u=Me("tick","end"),c=Id();t==null&&(t=[]);function h(){l(),u.call("tick",e),n<r&&(s.stop(),u.call("end",e))}function l(m){var d,x=t.length,_;m===void 0&&(m=1);for(var y=0;y<m;++y)for(n+=(i-n)*o,f.forEach(function(b){b(n)}),d=0;d<x;++d)_=t[d],_.fx==null?_.x+=_.vx*=a:(_.x=_.fx,_.vx=0),_.fy==null?_.y+=_.vy*=a:(_.y=_.fy,_.vy=0);return e}function p(){for(var m=0,d=t.length,x;m<d;++m){if(x=t[m],x.index=m,x.fx!=null&&(x.x=x.fx),x.fy!=null&&(x.y=x.fy),isNaN(x.x)||isNaN(x.y)){var _=Tv*Math.sqrt(.5+m),y=m*Av;x.x=_*Math.cos(y),x.y=_*Math.sin(y)}(isNaN(x.vx)||isNaN(x.vy))&&(x.vx=x.vy=0)}}function g(m){return m.initialize&&m.initialize(t,c),m}return p(),e={tick:l,restart:function(){return s.restart(h),e},stop:function(){return s.stop(),e},nodes:function(m){return arguments.length?(t=m,p(),f.forEach(g),e):t},alpha:function(m){return arguments.length?(n=+m,e):n},alphaMin:function(m){return arguments.length?(r=+m,e):r},alphaDecay:function(m){return arguments.length?(o=+m,e):+o},alphaTarget:function(m){return arguments.length?(i=+m,e):i},velocityDecay:function(m){return arguments.length?(a=1-m,e):1-a},randomSource:function(m){return arguments.length?(c=m,f.forEach(g),e):c},force:function(m,d){return arguments.length>1?(d==null?f.delete(m):f.set(m,g(d)),e):f.get(m)},find:function(m,d,x){var _=0,y=t.length,b,v,w,A,R;for(x==null?x=1/0:x*=x,_=0;_<y;++_)A=t[_],b=m-A.x,v=d-A.y,w=b*b+v*v,w<x&&(R=A,x=w);return R},on:function(m,d){return arguments.length>1?(u.on(m,d),e):u.on(m)}}}function kv(){var t,e,n,r,o=yt(-30),i,a=1,f=1/0,s=.81;function u(p){var g,m=t.length,d=mr(t,Pd,Dd).visitAfter(h);for(r=p,g=0;g<m;++g)e=t[g],d.visit(l)}function c(){if(t){var p,g=t.length,m;for(i=new Array(g),p=0;p<g;++p)m=t[p],i[m.index]=+o(m,p,t)}}function h(p){var g=0,m,d,x=0,_,y,b;if(p.length){for(_=y=b=0;b<4;++b)(m=p[b])&&(d=Math.abs(m.value))&&(g+=m.value,x+=d,_+=d*m.x,y+=d*m.y);p.x=_/x,p.y=y/x}else{m=p,m.x=m.data.x,m.y=m.data.y;do g+=i[m.data.index];while(m=m.next)}p.value=g}function l(p,g,m,d){if(!p.value)return!0;var x=p.x-e.x,_=p.y-e.y,y=d-g,b=x*x+_*_;if(y*y/s<b)return b<f&&(x===0&&(x=Ee(n),b+=x*x),_===0&&(_=Ee(n),b+=_*_),b<a&&(b=Math.sqrt(a*b)),e.vx+=x*p.value*r/b,e.vy+=_*p.value*r/b),!0;if(p.length||b>=f)return;(p.data!==e||p.next)&&(x===0&&(x=Ee(n),b+=x*x),_===0&&(_=Ee(n),b+=_*_),b<a&&(b=Math.sqrt(a*b)));do p.data!==e&&(y=i[p.data.index]*r/b,e.vx+=x*y,e.vy+=_*y);while(p=p.next)}return u.initialize=function(p,g){t=p,n=g,c()},u.strength=function(p){return arguments.length?(o=typeof p=="function"?p:yt(+p),c(),u):o},u.distanceMin=function(p){return arguments.length?(a=p*p,u):Math.sqrt(a)},u.distanceMax=function(p){return arguments.length?(f=p*p,u):Math.sqrt(f)},u.theta=function(p){return arguments.length?(s=p*p,u):Math.sqrt(s)},u}function Nv(t,e,n){var r,o=yt(.1),i,a;typeof t!="function"&&(t=yt(+t)),e==null&&(e=0),n==null&&(n=0);function f(u){for(var c=0,h=r.length;c<h;++c){var l=r[c],p=l.x-e||1e-6,g=l.y-n||1e-6,m=Math.sqrt(p*p+g*g),d=(a[c]-m)*i[c]*u/m;l.vx+=p*d,l.vy+=g*d}}function s(){if(r){var u,c=r.length;for(i=new Array(c),a=new Array(c),u=0;u<c;++u)a[u]=+t(r[u],u,r),i[u]=isNaN(a[u])?0:+o(r[u],u,r)}}return f.initialize=function(u){r=u,s()},f.strength=function(u){return arguments.length?(o=typeof u=="function"?u:yt(+u),s(),f):o},f.radius=function(u){return arguments.length?(t=typeof u=="function"?u:yt(+u),s(),f):t},f.x=function(u){return arguments.length?(e=+u,f):e},f.y=function(u){return arguments.length?(n=+u,f):n},f}function Rv(t){var e=yt(.1),n,r,o;typeof t!="function"&&(t=yt(t==null?0:+t));function i(f){for(var s=0,u=n.length,c;s<u;++s)c=n[s],c.vx+=(o[s]-c.x)*r[s]*f}function a(){if(n){var f,s=n.length;for(r=new Array(s),o=new Array(s),f=0;f<s;++f)r[f]=isNaN(o[f]=+t(n[f],f,n))?0:+e(n[f],f,n)}}return i.initialize=function(f){n=f,a()},i.strength=function(f){return arguments.length?(e=typeof f=="function"?f:yt(+f),a(),i):e},i.x=function(f){return arguments.length?(t=typeof f=="function"?f:yt(+f),a(),i):t},i}function Cv(t){var e=yt(.1),n,r,o;typeof t!="function"&&(t=yt(t==null?0:+t));function i(f){for(var s=0,u=n.length,c;s<u;++s)c=n[s],c.vy+=(o[s]-c.y)*r[s]*f}function a(){if(n){var f,s=n.length;for(r=new Array(s),o=new Array(s),f=0;f<s;++f)r[f]=isNaN(o[f]=+t(n[f],f,n))?0:+e(n[f],f,n)}}return i.initialize=function(f){n=f,a()},i.strength=function(f){return arguments.length?(e=typeof f=="function"?f:yt(+f),a(),i):e},i.y=function(f){return arguments.length?(t=typeof f=="function"?f:yt(+f),a(),i):t},i}function qd(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function gr(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function $e(t){return t=gr(Math.abs(t)),t?t[1]:NaN}function Od(t,e){return function(n,r){for(var o=n.length,i=[],a=0,f=t[0],s=0;o>0&&f>0&&(s+f+1>r&&(f=Math.max(1,r-s)),i.push(n.substring(o-=f,o+f)),!((s+=f+1)>r));)f=t[a=(a+1)%t.length];return i.reverse().join(e)}}function Fd(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var Iv=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Be(t){if(!(e=Iv.exec(t)))throw new Error("invalid format: "+t);var e;return new hf({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}Be.prototype=hf.prototype;function hf(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}hf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function zd(t){t:for(var e=t.length,n=1,r=-1,o;n<e;++n)switch(t[n]){case".":r=o=n;break;case"0":r===0&&(r=n),o=n;break;default:if(!+t[n])break t;r>0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(o+1):t}var Ai;function Ld(t,e){var n=gr(t,e);if(!n)return Ai=void 0,t.toPrecision(e);var r=n[0],o=n[1],i=o-(Ai=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+gr(t,Math.max(0,e+i-1))[0]}function Rs(t,e){var n=gr(t,e);if(!n)return t+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}var Cs={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:qd,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Rs(t*100,e),r:Rs,s:Ld,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Is(t){return t}var Yd=Array.prototype.map,Ud=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Ps(t){var e=t.grouping===void 0||t.thousands===void 0?Is:Od(Yd.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",o=t.decimal===void 0?".":t.decimal+"",i=t.numerals===void 0?Is:Fd(Yd.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",f=t.minus===void 0?"\u2212":t.minus+"",s=t.nan===void 0?"NaN":t.nan+"";function u(h,l){h=Be(h);var p=h.fill,g=h.align,m=h.sign,d=h.symbol,x=h.zero,_=h.width,y=h.comma,b=h.precision,v=h.trim,w=h.type;w==="n"?(y=!0,w="g"):Cs[w]||(b===void 0&&(b=12),v=!0,w="g"),(x||p==="0"&&g==="=")&&(x=!0,p="0",g="=");var A=(l&&l.prefix!==void 0?l.prefix:"")+(d==="$"?n:d==="#"&&/[boxX]/.test(w)?"0"+w.toLowerCase():""),R=(d==="$"?r:/[%p]/.test(w)?a:"")+(l&&l.suffix!==void 0?l.suffix:""),N=Cs[w],E=/[defgprs%]/.test(w);b=b===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b));function k(I){var C=A,M=R,S,T,P;if(w==="c")M=N(I)+M,I="";else{I=+I;var O=I<0||1/I<0;if(I=isNaN(I)?s:N(Math.abs(I),b),v&&(I=zd(I)),O&&+I==0&&m!=="+"&&(O=!1),C=(O?m==="("?m:f:m==="-"||m==="("?"":m)+C,M=(w==="s"&&!isNaN(I)&&Ai!==void 0?Ud[8+Ai/3]:"")+M+(O&&m==="("?")":""),E){for(S=-1,T=I.length;++S<T;)if(P=I.charCodeAt(S),48>P||P>57){M=(P===46?o+I.slice(S+1):I.slice(S))+M,I=I.slice(0,S);break}}}y&&!x&&(I=e(I,1/0));var q=C.length+I.length+M.length,L=q<_?new Array(_-q+1).join(p):"";switch(y&&x&&(I=e(L+I,L.length?_-M.length:1/0),L=""),g){case"<":I=C+I+M+L;break;case"=":I=C+L+I+M;break;case"^":I=L.slice(0,q=L.length>>1)+C+I+M+L.slice(q);break;default:I=L+C+I+M;break}return i(I)}return k.toString=function(){return h+""},k}function c(h,l){var p=Math.max(-8,Math.min(8,Math.floor($e(l)/3)))*3,g=Math.pow(10,-p),m=u((h=Be(h),h.type="f",h),{suffix:Ud[8+p/3]});return function(d){return m(g*d)}}return{format:u,formatPrefix:c}}var pf,uo,df;Ds({thousands:",",grouping:[3],currency:["$",""]});function Ds(t){return pf=Ps(t),uo=pf.format,df=pf.formatPrefix,pf}function qs(t){return Math.max(0,-$e(Math.abs(t)))}function Os(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor($e(e)/3)))*3-$e(Math.abs(t)))}function Fs(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,$e(e)-$e(t))+1}var B=1e-6,sn=1e-12,j=Math.PI,dt=j/2,so=j/4,kt=j*2,rt=180/j,H=j/180,G=Math.abs,de=Math.atan,gt=Math.atan2,Y=Math.cos,Ei=Math.ceil,mf=Math.exp;var gf=Math.hypot,xr=Math.log,xf=Math.pow,z=Math.sin,Wt=Math.sign||function(t){return t>0?1:t<0?-1:0},ft=Math.sqrt,co=Math.tan;function bf(t){return t>1?0:t<-1?j:Math.acos(t)}function xt(t){return t>1?dt:t<-1?-dt:Math.asin(t)}function zs(t){return(t=z(t/2))*t}function st(){}function yf(t,e){t&&Bd.hasOwnProperty(t.type)&&Bd[t.type](t,e)}var $d={Feature:function(t,e){yf(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++r<o;)yf(n[r].geometry,e)}},Bd={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){Ls(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)Ls(n[r],e,0)},Polygon:function(t,e){Hd(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)Hd(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,o=n.length;++r<o;)yf(n[r],e)}};function Ls(t,e,n){var r=-1,o=t.length-n,i;for(e.lineStart();++r<o;)i=t[r],e.point(i[0],i[1],i[2]);e.lineEnd()}function Hd(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Ls(t[n],e,1);e.polygonEnd()}function $t(t,e){t&&$d.hasOwnProperty(t.type)?$d[t.type](t,e):yf(t,e)}var ki=new pt,_f=new pt,Xd,Wd,Ys,Us,$s,ke={point:st,lineStart:st,lineEnd:st,polygonStart:function(){ki=new pt,ke.lineStart=Pv,ke.lineEnd=Dv},polygonEnd:function(){var t=+ki;_f.add(t<0?kt+t:t),this.lineStart=this.lineEnd=this.point=st},sphere:function(){_f.add(kt)}};function Pv(){ke.point=qv}function Dv(){Vd(Xd,Wd)}function qv(t,e){ke.point=Vd,Xd=t,Wd=e,t*=H,e*=H,Ys=t,Us=Y(e=e/2+so),$s=z(e)}function Vd(t,e){t*=H,e*=H,e=e/2+so;var n=t-Ys,r=n>=0?1:-1,o=r*n,i=Y(e),a=z(e),f=$s*a,s=Us*i+f*Y(o),u=f*r*z(o);ki.add(gt(u,s)),Ys=t,Us=i,$s=a}function Ov(t){return _f=new pt,$t(t,ke),_f*2}function br(t){return[gt(t[1],t[0]),xt(t[2])]}function me(t){var e=t[0],n=t[1],r=Y(n);return[r*Y(e),r*z(e),z(n)]}function Ni(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function cn(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function vf(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Ri(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function yr(t){var e=ft(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var wt,ie,Tt,ce,_r,jd,Kd,lo,Ci,Dn,hn,ln={point:Bs,lineStart:Gd,lineEnd:Zd,polygonStart:function(){ln.point=tm,ln.lineStart=Fv,ln.lineEnd=zv,Ci=new pt,ke.polygonStart()},polygonEnd:function(){ke.polygonEnd(),ln.point=Bs,ln.lineStart=Gd,ln.lineEnd=Zd,ki<0?(wt=-(Tt=180),ie=-(ce=90)):Ci>B?ce=90:Ci<-B&&(ie=-90),hn[0]=wt,hn[1]=Tt},sphere:function(){wt=-(Tt=180),ie=-(ce=90)}};function Bs(t,e){Dn.push(hn=[wt=t,Tt=t]),e<ie&&(ie=e),e>ce&&(ce=e)}function Jd(t,e){var n=me([t*H,e*H]);if(lo){var r=cn(lo,n),o=[r[1],-r[0],0],i=cn(o,r);yr(i),i=br(i);var a=t-_r,f=a>0?1:-1,s=i[0]*rt*f,u,c=G(a)>180;c^(f*_r<s&&s<f*t)?(u=i[1]*rt,u>ce&&(ce=u)):(s=(s+360)%360-180,c^(f*_r<s&&s<f*t)?(u=-i[1]*rt,u<ie&&(ie=u)):(e<ie&&(ie=e),e>ce&&(ce=e))),c?t<_r?se(wt,t)>se(wt,Tt)&&(Tt=t):se(t,Tt)>se(wt,Tt)&&(wt=t):Tt>=wt?(t<wt&&(wt=t),t>Tt&&(Tt=t)):t>_r?se(wt,t)>se(wt,Tt)&&(Tt=t):se(t,Tt)>se(wt,Tt)&&(wt=t)}else Dn.push(hn=[wt=t,Tt=t]);e<ie&&(ie=e),e>ce&&(ce=e),lo=n,_r=t}function Gd(){ln.point=Jd}function Zd(){hn[0]=wt,hn[1]=Tt,ln.point=Bs,lo=null}function tm(t,e){if(lo){var n=t-_r;Ci.add(G(n)>180?n+(n>0?360:-360):n)}else jd=t,Kd=e;ke.point(t,e),Jd(t,e)}function Fv(){ke.lineStart()}function zv(){tm(jd,Kd),ke.lineEnd(),G(Ci)>B&&(wt=-(Tt=180)),hn[0]=wt,hn[1]=Tt,lo=null}function se(t,e){return(e-=t)<0?e+360:e}function Lv(t,e){return t[0]-e[0]}function Qd(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}function Yv(t){var e,n,r,o,i,a,f;if(ce=Tt=-(wt=ie=1/0),Dn=[],$t(t,ln),n=Dn.length){for(Dn.sort(Lv),e=1,r=Dn[0],i=[r];e<n;++e)o=Dn[e],Qd(r,o[0])||Qd(r,o[1])?(se(r[0],o[1])>se(r[0],r[1])&&(r[1]=o[1]),se(o[0],r[1])>se(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,n=i.length-1,e=0,r=i[n];e<=n;r=o,++e)o=i[e],(f=se(r[1],o[0]))>a&&(a=f,wt=o[0],Tt=r[1])}return Dn=hn=null,wt===1/0||ie===1/0?[[NaN,NaN],[NaN,NaN]]:[[wt,ie],[Tt,ce]]}var Ii,wf,Mf,Sf,Tf,Af,Ef,kf,Hs,Xs,Ws,rm,om,te,ee,ne,Ne={sphere:st,point:Vs,lineStart:em,lineEnd:nm,polygonStart:function(){Ne.lineStart=Bv,Ne.lineEnd=Hv},polygonEnd:function(){Ne.lineStart=em,Ne.lineEnd=nm}};function Vs(t,e){t*=H,e*=H;var n=Y(e);Pi(n*Y(t),n*z(t),z(e))}function Pi(t,e,n){++Ii,Mf+=(t-Mf)/Ii,Sf+=(e-Sf)/Ii,Tf+=(n-Tf)/Ii}function em(){Ne.point=Uv}function Uv(t,e){t*=H,e*=H;var n=Y(e);te=n*Y(t),ee=n*z(t),ne=z(e),Ne.point=$v,Pi(te,ee,ne)}function $v(t,e){t*=H,e*=H;var n=Y(e),r=n*Y(t),o=n*z(t),i=z(e),a=gt(ft((a=ee*i-ne*o)*a+(a=ne*r-te*i)*a+(a=te*o-ee*r)*a),te*r+ee*o+ne*i);wf+=a,Af+=a*(te+(te=r)),Ef+=a*(ee+(ee=o)),kf+=a*(ne+(ne=i)),Pi(te,ee,ne)}function nm(){Ne.point=Vs}function Bv(){Ne.point=Xv}function Hv(){im(rm,om),Ne.point=Vs}function Xv(t,e){rm=t,om=e,t*=H,e*=H,Ne.point=im;var n=Y(e);te=n*Y(t),ee=n*z(t),ne=z(e),Pi(te,ee,ne)}function im(t,e){t*=H,e*=H;var n=Y(e),r=n*Y(t),o=n*z(t),i=z(e),a=ee*i-ne*o,f=ne*r-te*i,s=te*o-ee*r,u=gf(a,f,s),c=xt(u),h=u&&-c/u;Hs.add(h*a),Xs.add(h*f),Ws.add(h*s),wf+=c,Af+=c*(te+(te=r)),Ef+=c*(ee+(ee=o)),kf+=c*(ne+(ne=i)),Pi(te,ee,ne)}function Wv(t){Ii=wf=Mf=Sf=Tf=Af=Ef=kf=0,Hs=new pt,Xs=new pt,Ws=new pt,$t(t,Ne);var e=+Hs,n=+Xs,r=+Ws,o=gf(e,n,r);return o<sn&&(e=Af,n=Ef,r=kf,wf<B&&(e=Mf,n=Sf,r=Tf),o=gf(e,n,r),o<sn)?[NaN,NaN]:[gt(n,e)*rt,xt(r/o)*rt]}function vr(t){return function(){return t}}function Di(t,e){function n(r,o){return r=t(r,o),e(r[0],r[1])}return t.invert&&e.invert&&(n.invert=function(r,o){return r=e.invert(r,o),r&&t.invert(r[0],r[1])}),n}function Gs(t,e){return G(t)>j&&(t-=Math.round(t/kt)*kt),[t,e]}Gs.invert=Gs;function qi(t,e,n){return(t%=kt)?e||n?Di(fm(t),um(e,n)):fm(t):e||n?um(e,n):Gs}function am(t){return function(e,n){return e+=t,G(e)>j&&(e-=Math.round(e/kt)*kt),[e,n]}}function fm(t){var e=am(t);return e.invert=am(-t),e}function um(t,e){var n=Y(t),r=z(t),o=Y(e),i=z(e);function a(f,s){var u=Y(s),c=Y(f)*u,h=z(f)*u,l=z(s),p=l*n+c*r;return[gt(h*o-p*i,c*n-l*r),xt(p*o+h*i)]}return a.invert=function(f,s){var u=Y(s),c=Y(f)*u,h=z(f)*u,l=z(s),p=l*o-h*i;return[gt(h*o+l*i,c*n+p*r),xt(p*n-c*r)]},a}function Zs(t){t=qi(t[0]*H,t[1]*H,t.length>2?t[2]*H:0);function e(n){return n=t(n[0]*H,n[1]*H),n[0]*=rt,n[1]*=rt,n}return e.invert=function(n){return n=t.invert(n[0]*H,n[1]*H),n[0]*=rt,n[1]*=rt,n},e}function Qs(t,e,n,r,o,i){if(n){var a=Y(e),f=z(e),s=r*n;o==null?(o=e+r*kt,i=e-s/2):(o=sm(a,o),i=sm(a,i),(r>0?o<i:o>i)&&(o+=r*kt));for(var u,c=o;r>0?c>i:c<i;c-=s)u=br([a,-f*Y(c),-f*z(c)]),t.point(u[0],u[1])}}function sm(t,e){e=me(e),e[0]-=t,yr(e);var n=bf(-e[1]);return((-e[2]<0?-n:n)+kt-B)%kt}function Vv(){var t=vr([0,0]),e=vr(90),n=vr(2),r,o,i={point:a};function a(s,u){r.push(s=o(s,u)),s[0]*=rt,s[1]*=rt}function f(){var s=t.apply(this,arguments),u=e.apply(this,arguments)*H,c=n.apply(this,arguments)*H;return r=[],o=qi(-s[0]*H,-s[1]*H,0).invert,Qs(i,u,c,1),s={type:"Polygon",coordinates:[r]},r=o=null,s}return f.center=function(s){return arguments.length?(t=typeof s=="function"?s:vr([+s[0],+s[1]]),f):t},f.radius=function(s){return arguments.length?(e=typeof s=="function"?s:vr(+s),f):e},f.precision=function(s){return arguments.length?(n=typeof s=="function"?s:vr(+s),f):n},f}function Nf(){var t=[],e;return{point:function(n,r,o){e.push([n,r,o])},lineStart:function(){t.push(e=[])},lineEnd:st,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function ho(t,e){return G(t[0]-e[0])<B&&G(t[1]-e[1])<B}function Rf(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Cf(t,e,n,r,o){var i=[],a=[],f,s;if(t.forEach(function(g){if(!((m=g.length-1)<=0)){var m,d=g[0],x=g[m],_;if(ho(d,x)){if(!d[2]&&!x[2]){for(o.lineStart(),f=0;f<m;++f)o.point((d=g[f])[0],d[1]);o.lineEnd();return}x[0]+=2*B}i.push(_=new Rf(d,g,null,!0)),a.push(_.o=new Rf(d,null,_,!1)),i.push(_=new Rf(x,g,null,!1)),a.push(_.o=new Rf(x,null,_,!0))}}),!!i.length){for(a.sort(e),cm(i),cm(a),f=0,s=a.length;f<s;++f)a[f].e=n=!n;for(var u=i[0],c,h;;){for(var l=u,p=!0;l.v;)if((l=l.n)===u)return;c=l.z,o.lineStart();do{if(l.v=l.o.v=!0,l.e){if(p)for(f=0,s=c.length;f<s;++f)o.point((h=c[f])[0],h[1]);else r(l.x,l.n.x,1,o);l=l.n}else{if(p)for(c=l.p.z,f=c.length-1;f>=0;--f)o.point((h=c[f])[0],h[1]);else r(l.x,l.p.x,-1,o);l=l.p}l=l.o,c=l.z,p=!p}while(!l.v);o.lineEnd()}}}function cm(t){if(e=t.length){for(var e,n=0,r=t[0],o;++n<e;)r.n=o=t[n],o.p=r,r=o;r.n=o=t[0],o.p=r}}function js(t){return G(t[0])<=j?t[0]:Wt(t[0])*((G(t[0])+j)%kt-j)}function If(t,e){var n=js(e),r=e[1],o=z(r),i=[z(n),-Y(n),0],a=0,f=0,s=new pt;o===1?r=dt+B:o===-1&&(r=-dt-B);for(var u=0,c=t.length;u<c;++u)if(l=(h=t[u]).length)for(var h,l,p=h[l-1],g=js(p),m=p[1]/2+so,d=z(m),x=Y(m),_=0;_<l;++_,g=b,d=w,x=A,p=y){var y=h[_],b=js(y),v=y[1]/2+so,w=z(v),A=Y(v),R=b-g,N=R>=0?1:-1,E=N*R,k=E>j,I=d*w;if(s.add(gt(I*N*z(E),x*A+I*Y(E))),a+=k?R+N*kt:R,k^g>=n^b>=n){var C=cn(me(p),me(y));yr(C);var M=cn(i,C);yr(M);var S=(k^R>=0?-1:1)*xt(M[2]);(r>S||r===S&&(C[0]||C[1]))&&(f+=k^R>=0?1:-1)}}return(a<-B||a<B&&s<-sn)^f&1}function Pf(t,e,n,r){return function(o){var i=e(o),a=Nf(),f=e(a),s=!1,u,c,h,l={point:p,lineStart:m,lineEnd:d,polygonStart:function(){l.point=x,l.lineStart=_,l.lineEnd=y,c=[],u=[]},polygonEnd:function(){l.point=p,l.lineStart=m,l.lineEnd=d,c=Br(c);var b=If(u,r);c.length?(s||(o.polygonStart(),s=!0),Cf(c,Zv,b,n,o)):b&&(s||(o.polygonStart(),s=!0),o.lineStart(),n(null,null,1,o),o.lineEnd()),s&&(o.polygonEnd(),s=!1),c=u=null},sphere:function(){o.polygonStart(),o.lineStart(),n(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function p(b,v){t(b,v)&&o.point(b,v)}function g(b,v){i.point(b,v)}function m(){l.point=g,i.lineStart()}function d(){l.point=p,i.lineEnd()}function x(b,v){h.push([b,v]),f.point(b,v)}function _(){f.lineStart(),h=[]}function y(){x(h[0][0],h[0][1]),f.lineEnd();var b=f.clean(),v=a.result(),w,A=v.length,R,N,E;if(h.pop(),u.push(h),h=null,!!A){if(b&1){if(N=v[0],(R=N.length-1)>0){for(s||(o.polygonStart(),s=!0),o.lineStart(),w=0;w<R;++w)o.point((E=N[w])[0],E[1]);o.lineEnd()}return}A>1&&b&2&&v.push(v.pop().concat(v.shift())),c.push(v.filter(Gv))}}return l}}function Gv(t){return t.length>1}function Zv(t,e){return((t=t.x)[0]<0?t[1]-dt-B:dt-t[1])-((e=e.x)[0]<0?e[1]-dt-B:dt-e[1])}var Df=Pf(function(){return!0},Qv,Kv,[-j,-dt]);function Qv(t){var e=NaN,n=NaN,r=NaN,o;return{lineStart:function(){t.lineStart(),o=1},point:function(i,a){var f=i>0?j:-j,s=G(i-e);G(s-j)<B?(t.point(e,n=(n+a)/2>0?dt:-dt),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(f,n),t.point(i,n),o=0):r!==f&&s>=j&&(G(e-r)<B&&(e-=r*B),G(i-f)<B&&(i-=f*B),n=jv(e,n,i,a),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(f,n),o=0),t.point(e=i,n=a),r=f},lineEnd:function(){t.lineEnd(),e=n=NaN},clean:function(){return 2-o}}}function jv(t,e,n,r){var o,i,a=z(t-n);return G(a)>B?de((z(e)*(i=Y(r))*z(n)-z(r)*(o=Y(e))*z(t))/(o*i*a)):(e+r)/2}function Kv(t,e,n,r){var o;if(t==null)o=n*dt,r.point(-j,o),r.point(0,o),r.point(j,o),r.point(j,0),r.point(j,-o),r.point(0,-o),r.point(-j,-o),r.point(-j,0),r.point(-j,o);else if(G(t[0]-e[0])>B){var i=t[0]<e[0]?j:-j;o=n*i/2,r.point(-i,o),r.point(0,o),r.point(i,o)}else r.point(e[0],e[1])}function Ks(t){var e=Y(t),n=2*H,r=e>0,o=G(e)>B;function i(c,h,l,p){Qs(p,t,n,l,c,h)}function a(c,h){return Y(c)*Y(h)>e}function f(c){var h,l,p,g,m;return{lineStart:function(){g=p=!1,m=1},point:function(d,x){var _=[d,x],y,b=a(d,x),v=r?b?0:u(d,x):b?u(d+(d<0?j:-j),x):0;if(!h&&(g=p=b)&&c.lineStart(),b!==p&&(y=s(h,_),(!y||ho(h,y)||ho(_,y))&&(_[2]=1)),b!==p)m=0,b?(c.lineStart(),y=s(_,h),c.point(y[0],y[1])):(y=s(h,_),c.point(y[0],y[1],2),c.lineEnd()),h=y;else if(o&&h&&r^b){var w;!(v&l)&&(w=s(_,h,!0))&&(m=0,r?(c.lineStart(),c.point(w[0][0],w[0][1]),c.point(w[1][0],w[1][1]),c.lineEnd()):(c.point(w[1][0],w[1][1]),c.lineEnd(),c.lineStart(),c.point(w[0][0],w[0][1],3)))}b&&(!h||!ho(h,_))&&c.point(_[0],_[1]),h=_,p=b,l=v},lineEnd:function(){p&&c.lineEnd(),h=null},clean:function(){return m|(g&&p)<<1}}}function s(c,h,l){var p=me(c),g=me(h),m=[1,0,0],d=cn(p,g),x=Ni(d,d),_=d[0],y=x-_*_;if(!y)return!l&&c;var b=e*x/y,v=-e*_/y,w=cn(m,d),A=Ri(m,b),R=Ri(d,v);vf(A,R);var N=w,E=Ni(A,N),k=Ni(N,N),I=E*E-k*(Ni(A,A)-1);if(!(I<0)){var C=ft(I),M=Ri(N,(-E-C)/k);if(vf(M,A),M=br(M),!l)return M;var S=c[0],T=h[0],P=c[1],O=h[1],q;T<S&&(q=S,S=T,T=q);var L=T-S,X=G(L-j)<B,W=X||L<B;if(!X&&O<P&&(q=P,P=O,O=q),W?X?P+O>0^M[1]<(G(M[0]-S)<B?P:O):P<=M[1]&&M[1]<=O:L>j^(S<=M[0]&&M[0]<=T)){var lt=Ri(N,(-E+C)/k);return vf(lt,A),[M,br(lt)]}}}function u(c,h){var l=r?t:j-t,p=0;return c<-l?p|=1:c>l&&(p|=2),h<-l?p|=4:h>l&&(p|=8),p}return Pf(a,f,i,r?[0,-t]:[-j,t-j])}function lm(t,e,n,r,o,i){var a=t[0],f=t[1],s=e[0],u=e[1],c=0,h=1,l=s-a,p=u-f,g;if(g=n-a,!(!l&&g>0)){if(g/=l,l<0){if(g<c)return;g<h&&(h=g)}else if(l>0){if(g>h)return;g>c&&(c=g)}if(g=o-a,!(!l&&g<0)){if(g/=l,l<0){if(g>h)return;g>c&&(c=g)}else if(l>0){if(g<c)return;g<h&&(h=g)}if(g=r-f,!(!p&&g>0)){if(g/=p,p<0){if(g<c)return;g<h&&(h=g)}else if(p>0){if(g>h)return;g>c&&(c=g)}if(g=i-f,!(!p&&g<0)){if(g/=p,p<0){if(g>h)return;g>c&&(c=g)}else if(p>0){if(g<c)return;g<h&&(h=g)}return c>0&&(t[0]=a+c*l,t[1]=f+c*p),h<1&&(e[0]=a+h*l,e[1]=f+h*p),!0}}}}}var Oi=1e9,qf=-Oi;function qn(t,e,n,r){function o(u,c){return t<=u&&u<=n&&e<=c&&c<=r}function i(u,c,h,l){var p=0,g=0;if(u==null||(p=a(u,h))!==(g=a(c,h))||s(u,c)<0^h>0)do l.point(p===0||p===3?t:n,p>1?r:e);while((p=(p+h+4)%4)!==g);else l.point(c[0],c[1])}function a(u,c){return G(u[0]-t)<B?c>0?0:3:G(u[0]-n)<B?c>0?2:1:G(u[1]-e)<B?c>0?1:0:c>0?3:2}function f(u,c){return s(u.x,c.x)}function s(u,c){var h=a(u,1),l=a(c,1);return h!==l?h-l:h===0?c[1]-u[1]:h===1?u[0]-c[0]:h===2?u[1]-c[1]:c[0]-u[0]}return function(u){var c=u,h=Nf(),l,p,g,m,d,x,_,y,b,v,w,A={point:R,lineStart:I,lineEnd:C,polygonStart:E,polygonEnd:k};function R(S,T){o(S,T)&&c.point(S,T)}function N(){for(var S=0,T=0,P=p.length;T<P;++T)for(var O=p[T],q=1,L=O.length,X=O[0],W,lt,at=X[0],et=X[1];q<L;++q)W=at,lt=et,X=O[q],at=X[0],et=X[1],lt<=r?et>r&&(at-W)*(r-lt)>(et-lt)*(t-W)&&++S:et<=r&&(at-W)*(r-lt)<(et-lt)*(t-W)&&--S;return S}function E(){c=h,l=[],p=[],w=!0}function k(){var S=N(),T=w&&S,P=(l=Br(l)).length;(T||P)&&(u.polygonStart(),T&&(u.lineStart(),i(null,null,1,u),u.lineEnd()),P&&Cf(l,f,S,i,u),u.polygonEnd()),c=u,l=p=g=null}function I(){A.point=M,p&&p.push(g=[]),v=!0,b=!1,_=y=NaN}function C(){l&&(M(m,d),x&&b&&h.rejoin(),l.push(h.result())),A.point=R,b&&c.lineEnd()}function M(S,T){var P=o(S,T);if(p&&g.push([S,T]),v)m=S,d=T,x=P,v=!1,P&&(c.lineStart(),c.point(S,T));else if(P&&b)c.point(S,T);else{var O=[_=Math.max(qf,Math.min(Oi,_)),y=Math.max(qf,Math.min(Oi,y))],q=[S=Math.max(qf,Math.min(Oi,S)),T=Math.max(qf,Math.min(Oi,T))];lm(O,q,t,e,n,r)?(b||(c.lineStart(),c.point(O[0],O[1])),c.point(q[0],q[1]),P||c.lineEnd(),w=!1):P&&(c.lineStart(),c.point(S,T),w=!1)}_=S,y=T,b=P}return A}}function Jv(){var t=0,e=0,n=960,r=500,o,i,a;return a={stream:function(f){return o&&i===f?o:o=qn(t,e,n,r)(i=f)},extent:function(f){return arguments.length?(t=+f[0][0],e=+f[0][1],n=+f[1][0],r=+f[1][1],o=i=null,a):[[t,e],[n,r]]}}}var Js,tc,Of,Ff,po={sphere:st,point:st,lineStart:t3,lineEnd:st,polygonStart:st,polygonEnd:st};function t3(){po.point=n3,po.lineEnd=e3}function e3(){po.point=po.lineEnd=st}function n3(t,e){t*=H,e*=H,tc=t,Of=z(e),Ff=Y(e),po.point=r3}function r3(t,e){t*=H,e*=H;var n=z(e),r=Y(e),o=G(t-tc),i=Y(o),a=z(o),f=r*a,s=Ff*n-Of*r*i,u=Of*n+Ff*r*i;Js.add(gt(ft(f*f+s*s),u)),tc=t,Of=n,Ff=r}function ec(t){return Js=new pt,$t(t,po),+Js}var nc=[null,null],o3={type:"LineString",coordinates:nc};function Fi(t,e){return nc[0]=t,nc[1]=e,ec(o3)}var hm={Feature:function(t,e){return zf(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++r<o;)if(zf(n[r].geometry,e))return!0;return!1}},pm={Sphere:function(){return!0},Point:function(t,e){return dm(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(dm(n[r],e))return!0;return!1},LineString:function(t,e){return mm(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(mm(n[r],e))return!0;return!1},Polygon:function(t,e){return gm(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(gm(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,o=n.length;++r<o;)if(zf(n[r],e))return!0;return!1}};function zf(t,e){return t&&pm.hasOwnProperty(t.type)?pm[t.type](t,e):!1}function dm(t,e){return Fi(t,e)===0}function mm(t,e){for(var n,r,o,i=0,a=t.length;i<a;i++){if(r=Fi(t[i],e),r===0||i>0&&(o=Fi(t[i],t[i-1]),o>0&&n<=o&&r<=o&&(n+r-o)*(1-Math.pow((n-r)/o,2))<sn*o))return!0;n=r}return!1}function gm(t,e){return!!If(t.map(i3),xm(e))}function i3(t){return t=t.map(xm),t.pop(),t}function xm(t){return[t[0]*H,t[1]*H]}function a3(t,e){return(t&&hm.hasOwnProperty(t.type)?hm[t.type]:zf)(t,e)}function bm(t,e,n){var r=we(t,e-B,n).concat(e);return function(o){return r.map(function(i){return[o,i]})}}function ym(t,e,n){var r=we(t,e-B,n).concat(e);return function(o){return r.map(function(i){return[i,o]})}}function rc(){var t,e,n,r,o,i,a,f,s=10,u=s,c=90,h=360,l,p,g,m,d=2.5;function x(){return{type:"MultiLineString",coordinates:_()}}function _(){return we(Ei(r/c)*c,n,c).map(g).concat(we(Ei(f/h)*h,a,h).map(m)).concat(we(Ei(e/s)*s,t,s).filter(function(y){return G(y%c)>B}).map(l)).concat(we(Ei(i/u)*u,o,u).filter(function(y){return G(y%h)>B}).map(p))}return x.lines=function(){return _().map(function(y){return{type:"LineString",coordinates:y}})},x.outline=function(){return{type:"Polygon",coordinates:[g(r).concat(m(a).slice(1),g(n).reverse().slice(1),m(f).reverse().slice(1))]}},x.extent=function(y){return arguments.length?x.extentMajor(y).extentMinor(y):x.extentMinor()},x.extentMajor=function(y){return arguments.length?(r=+y[0][0],n=+y[1][0],f=+y[0][1],a=+y[1][1],r>n&&(y=r,r=n,n=y),f>a&&(y=f,f=a,a=y),x.precision(d)):[[r,f],[n,a]]},x.extentMinor=function(y){return arguments.length?(e=+y[0][0],t=+y[1][0],i=+y[0][1],o=+y[1][1],e>t&&(y=e,e=t,t=y),i>o&&(y=i,i=o,o=y),x.precision(d)):[[e,i],[t,o]]},x.step=function(y){return arguments.length?x.stepMajor(y).stepMinor(y):x.stepMinor()},x.stepMajor=function(y){return arguments.length?(c=+y[0],h=+y[1],x):[c,h]},x.stepMinor=function(y){return arguments.length?(s=+y[0],u=+y[1],x):[s,u]},x.precision=function(y){return arguments.length?(d=+y,l=bm(i,o,90),p=ym(e,t,d),g=bm(f,a,90),m=ym(r,n,d),x):d},x.extentMajor([[-180,-90+B],[180,90-B]]).extentMinor([[-180,-80-B],[180,80+B]])}function f3(){return rc()()}function u3(t,e){var n=t[0]*H,r=t[1]*H,o=e[0]*H,i=e[1]*H,a=Y(r),f=z(r),s=Y(i),u=z(i),c=a*Y(n),h=a*z(n),l=s*Y(o),p=s*z(o),g=2*xt(ft(zs(i-r)+a*s*zs(o-n))),m=z(g),d=g?function(x){var _=z(x*=g)/m,y=z(g-x)/m,b=y*c+_*l,v=y*h+_*p,w=y*f+_*u;return[gt(v,b)*rt,gt(w,ft(b*b+v*v))*rt]}:function(){return[n*rt,r*rt]};return d.distance=g,d}var On=t=>t;var oc=new pt,ic=new pt,_m,vm,ac,fc,Fn={point:st,lineStart:st,lineEnd:st,polygonStart:function(){Fn.lineStart=s3,Fn.lineEnd=l3},polygonEnd:function(){Fn.lineStart=Fn.lineEnd=Fn.point=st,oc.add(G(ic)),ic=new pt},result:function(){var t=oc/2;return oc=new pt,t}};function s3(){Fn.point=c3}function c3(t,e){Fn.point=wm,_m=ac=t,vm=fc=e}function wm(t,e){ic.add(fc*t-ac*e),ac=t,fc=e}function l3(){wm(_m,vm)}var uc=Fn;var mo=1/0,Lf=mo,zi=-mo,Yf=zi,h3={point:p3,lineStart:st,lineEnd:st,polygonStart:st,polygonEnd:st,result:function(){var t=[[mo,Lf],[zi,Yf]];return zi=Yf=-(Lf=mo=1/0),t}};function p3(t,e){t<mo&&(mo=t),t>zi&&(zi=t),e<Lf&&(Lf=e),e>Yf&&(Yf=e)}var go=h3;var sc=0,cc=0,Li=0,Uf=0,$f=0,xo=0,lc=0,hc=0,Yi=0,Tm,Am,He,Xe,Re={point:wr,lineStart:Mm,lineEnd:Sm,polygonStart:function(){Re.lineStart=g3,Re.lineEnd=x3},polygonEnd:function(){Re.point=wr,Re.lineStart=Mm,Re.lineEnd=Sm},result:function(){var t=Yi?[lc/Yi,hc/Yi]:xo?[Uf/xo,$f/xo]:Li?[sc/Li,cc/Li]:[NaN,NaN];return sc=cc=Li=Uf=$f=xo=lc=hc=Yi=0,t}};function wr(t,e){sc+=t,cc+=e,++Li}function Mm(){Re.point=d3}function d3(t,e){Re.point=m3,wr(He=t,Xe=e)}function m3(t,e){var n=t-He,r=e-Xe,o=ft(n*n+r*r);Uf+=o*(He+t)/2,$f+=o*(Xe+e)/2,xo+=o,wr(He=t,Xe=e)}function Sm(){Re.point=wr}function g3(){Re.point=b3}function x3(){Em(Tm,Am)}function b3(t,e){Re.point=Em,wr(Tm=He=t,Am=Xe=e)}function Em(t,e){var n=t-He,r=e-Xe,o=ft(n*n+r*r);Uf+=o*(He+t)/2,$f+=o*(Xe+e)/2,xo+=o,o=Xe*t-He*e,lc+=o*(He+t),hc+=o*(Xe+e),Yi+=o*3,wr(He=t,Xe=e)}var pc=Re;function Bf(t){this._context=t}Bf.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:{this._context.moveTo(t,e),this._point=1;break}case 1:{this._context.lineTo(t,e);break}default:{this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,kt);break}}},result:st};var mc=new pt,dc,km,Nm,Ui,$i,Hf={point:st,lineStart:function(){Hf.point=y3},lineEnd:function(){dc&&Rm(km,Nm),Hf.point=st},polygonStart:function(){dc=!0},polygonEnd:function(){dc=null},result:function(){var t=+mc;return mc=new pt,t}};function y3(t,e){Hf.point=Rm,km=Ui=t,Nm=$i=e}function Rm(t,e){Ui-=t,$i-=e,mc.add(ft(Ui*Ui+$i*$i)),Ui=t,$i=e}var gc=Hf;var Cm,Xf,Im,Pm,bo=class{constructor(e){this._append=e==null?Dm:_3(e),this._radius=4.5,this._=""}pointRadius(e){return this._radius=+e,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){this._line===0&&(this._+="Z"),this._point=NaN}point(e,n){switch(this._point){case 0:{this._append`M${e},${n}`,this._point=1;break}case 1:{this._append`L${e},${n}`;break}default:{if(this._append`M${e},${n}`,this._radius!==Im||this._append!==Xf){let r=this._radius,o=this._;this._="",this._append`m0,${r}a${r},${r} 0 1,1 0,${-2*r}a${r},${r} 0 1,1 0,${2*r}z`,Im=r,Xf=this._append,Pm=this._,this._=o}this._+=Pm;break}}}result(){let e=this._;return this._="",e.length?e:null}};function Dm(t){let e=1;this._+=t[0];for(let n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function _3(t){let e=Math.floor(t);if(!(e>=0))throw new RangeError(`invalid digits: ${t}`);if(e>15)return Dm;if(e!==Cm){let n=10**e;Cm=e,Xf=function(o){let i=1;this._+=o[0];for(let a=o.length;i<a;++i)this._+=Math.round(arguments[i]*n)/n+o[i]}}return Xf}function v3(t,e){let n=3,r=4.5,o,i;function a(f){return f&&(typeof r=="function"&&i.pointRadius(+r.apply(this,arguments)),$t(f,o(i))),i.result()}return a.area=function(f){return $t(f,o(uc)),uc.result()},a.measure=function(f){return $t(f,o(gc)),gc.result()},a.bounds=function(f){return $t(f,o(go)),go.result()},a.centroid=function(f){return $t(f,o(pc)),pc.result()},a.projection=function(f){return arguments.length?(o=f==null?(t=null,On):(t=f).stream,a):t},a.context=function(f){return arguments.length?(i=f==null?(e=null,new bo(n)):new Bf(e=f),typeof r!="function"&&i.pointRadius(r),a):e},a.pointRadius=function(f){return arguments.length?(r=typeof f=="function"?f:(i.pointRadius(+f),+f),a):r},a.digits=function(f){if(!arguments.length)return n;if(f==null)n=null;else{let s=Math.floor(f);if(!(s>=0))throw new RangeError(`invalid digits: ${f}`);n=s}return e===null&&(i=new bo(n)),a},a.projection(t).digits(n).context(e)}function w3(t){return{stream:zn(t)}}function zn(t){return function(e){var n=new xc;for(var r in t)n[r]=t[r];return n.stream=e,n}}function xc(){}xc.prototype={constructor:xc,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function bc(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),r!=null&&t.clipExtent(null),$t(n,t.stream(go)),e(go.result()),r!=null&&t.clipExtent(r),t}function Mr(t,e,n){return bc(t,function(r){var o=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(o/(r[1][0]-r[0][0]),i/(r[1][1]-r[0][1])),f=+e[0][0]+(o-a*(r[1][0]+r[0][0]))/2,s=+e[0][1]+(i-a*(r[1][1]+r[0][1]))/2;t.scale(150*a).translate([f,s])},n)}function yo(t,e,n){return Mr(t,[[0,0],e],n)}function _o(t,e,n){return bc(t,function(r){var o=+e,i=o/(r[1][0]-r[0][0]),a=(o-i*(r[1][0]+r[0][0]))/2,f=-i*r[0][1];t.scale(150*i).translate([a,f])},n)}function vo(t,e,n){return bc(t,function(r){var o=+e,i=o/(r[1][1]-r[0][1]),a=-i*r[0][0],f=(o-i*(r[1][1]+r[0][1]))/2;t.scale(150*i).translate([a,f])},n)}var qm=16,M3=Y(30*H);function yc(t,e){return+e?T3(t,e):S3(t)}function S3(t){return zn({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function T3(t,e){function n(r,o,i,a,f,s,u,c,h,l,p,g,m,d){var x=u-r,_=c-o,y=x*x+_*_;if(y>4*e&&m--){var b=a+l,v=f+p,w=s+g,A=ft(b*b+v*v+w*w),R=xt(w/=A),N=G(G(w)-1)<B||G(i-h)<B?(i+h)/2:gt(v,b),E=t(N,R),k=E[0],I=E[1],C=k-r,M=I-o,S=_*C-x*M;(S*S/y>e||G((x*C+_*M)/y-.5)>.3||a*l+f*p+s*g<M3)&&(n(r,o,i,a,f,s,k,I,N,b/=A,v/=A,w,m,d),d.point(k,I),n(k,I,N,b,v,w,u,c,h,l,p,g,m,d))}}return function(r){var o,i,a,f,s,u,c,h,l,p,g,m,d={point:x,lineStart:_,lineEnd:b,polygonStart:function(){r.polygonStart(),d.lineStart=v},polygonEnd:function(){r.polygonEnd(),d.lineStart=_}};function x(R,N){R=t(R,N),r.point(R[0],R[1])}function _(){h=NaN,d.point=y,r.lineStart()}function y(R,N){var E=me([R,N]),k=t(R,N);n(h,l,c,p,g,m,h=k[0],l=k[1],c=R,p=E[0],g=E[1],m=E[2],qm,r),r.point(h,l)}function b(){d.point=x,r.lineEnd()}function v(){_(),d.point=w,d.lineEnd=A}function w(R,N){y(o=R,N),i=h,a=l,f=p,s=g,u=m,d.point=y}function A(){n(h,l,c,p,g,m,i,a,o,f,s,u,qm,r),d.lineEnd=b,b()}return d}}var A3=zn({point:function(t,e){this.stream.point(t*H,e*H)}});function E3(t){return zn({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}function k3(t,e,n,r,o){function i(a,f){return a*=r,f*=o,[e+t*a,n-t*f]}return i.invert=function(a,f){return[(a-e)/t*r,(n-f)/t*o]},i}function Om(t,e,n,r,o,i){if(!i)return k3(t,e,n,r,o);var a=Y(i),f=z(i),s=a*t,u=f*t,c=a/t,h=f/t,l=(f*n-a*e)/t,p=(f*e+a*n)/t;function g(m,d){return m*=r,d*=o,[s*m-u*d+e,n-u*m-s*d]}return g.invert=function(m,d){return[r*(c*m-h*d+l),o*(p-h*m-c*d)]},g}function It(t){return Wf(function(){return t})()}function Wf(t){var e,n=150,r=480,o=250,i=0,a=0,f=0,s=0,u=0,c,h=0,l=1,p=1,g=null,m=Df,d=null,x,_,y,b=On,v=.5,w,A,R,N,E;function k(S){return R(S[0]*H,S[1]*H)}function I(S){return S=R.invert(S[0],S[1]),S&&[S[0]*rt,S[1]*rt]}k.stream=function(S){return N&&E===S?N:N=A3(E3(c)(m(w(b(E=S)))))},k.preclip=function(S){return arguments.length?(m=S,g=void 0,M()):m},k.postclip=function(S){return arguments.length?(b=S,d=x=_=y=null,M()):b},k.clipAngle=function(S){return arguments.length?(m=+S?Ks(g=S*H):(g=null,Df),M()):g*rt},k.clipExtent=function(S){return arguments.length?(b=S==null?(d=x=_=y=null,On):qn(d=+S[0][0],x=+S[0][1],_=+S[1][0],y=+S[1][1]),M()):d==null?null:[[d,x],[_,y]]},k.scale=function(S){return arguments.length?(n=+S,C()):n},k.translate=function(S){return arguments.length?(r=+S[0],o=+S[1],C()):[r,o]},k.center=function(S){return arguments.length?(i=S[0]%360*H,a=S[1]%360*H,C()):[i*rt,a*rt]},k.rotate=function(S){return arguments.length?(f=S[0]%360*H,s=S[1]%360*H,u=S.length>2?S[2]%360*H:0,C()):[f*rt,s*rt,u*rt]},k.angle=function(S){return arguments.length?(h=S%360*H,C()):h*rt},k.reflectX=function(S){return arguments.length?(l=S?-1:1,C()):l<0},k.reflectY=function(S){return arguments.length?(p=S?-1:1,C()):p<0},k.precision=function(S){return arguments.length?(w=yc(A,v=S*S),M()):ft(v)},k.fitExtent=function(S,T){return Mr(k,S,T)},k.fitSize=function(S,T){return yo(k,S,T)},k.fitWidth=function(S,T){return _o(k,S,T)},k.fitHeight=function(S,T){return vo(k,S,T)};function C(){var S=Om(n,0,0,l,p,h).apply(null,e(i,a)),T=Om(n,r-S[0],o-S[1],l,p,h);return c=qi(f,s,u),A=Di(e,T),R=Di(c,A),w=yc(A,v),M()}function M(){return N=E=null,k}return function(){return e=t.apply(this,arguments),k.invert=e.invert&&I,C()}}function wo(t){var e=0,n=j/3,r=Wf(t),o=r(e,n);return o.parallels=function(i){return arguments.length?r(e=i[0]*H,n=i[1]*H):[e*rt,n*rt]},o}function Fm(t){var e=Y(t);function n(r,o){return[r*e,z(o)/e]}return n.invert=function(r,o){return[r/e,xt(o*e)]},n}function zm(t,e){var n=z(t),r=(n+z(e))/2;if(G(r)<B)return Fm(t);var o=1+n*(2*r-n),i=ft(o)/r;function a(f,s){var u=ft(o-2*r*z(s))/r;return[u*z(f*=r),i-u*Y(f)]}return a.invert=function(f,s){var u=i-s,c=gt(f,G(u))*Wt(u);return u*r<0&&(c-=j*Wt(f)*Wt(u)),[c/r,xt((o-(f*f+u*u)*r*r)/(2*r))]},a}function Mo(){return wo(zm).scale(155.424).center([0,33.6442])}function _c(){return Mo().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function N3(t){var e=t.length;return{point:function(n,r){for(var o=-1;++o<e;)t[o].point(n,r)},sphere:function(){for(var n=-1;++n<e;)t[n].sphere()},lineStart:function(){for(var n=-1;++n<e;)t[n].lineStart()},lineEnd:function(){for(var n=-1;++n<e;)t[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<e;)t[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<e;)t[n].polygonEnd()}}}function R3(){var t,e,n=_c(),r,o=Mo().rotate([154,0]).center([-2,58.5]).parallels([55,65]),i,a=Mo().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f,s,u={point:function(l,p){s=[l,p]}};function c(l){var p=l[0],g=l[1];return s=null,r.point(p,g),s||(i.point(p,g),s)||(f.point(p,g),s)}c.invert=function(l){var p=n.scale(),g=n.translate(),m=(l[0]-g[0])/p,d=(l[1]-g[1])/p;return(d>=.12&&d<.234&&m>=-.425&&m<-.214?o:d>=.166&&d<.234&&m>=-.214&&m<-.115?a:n).invert(l)},c.stream=function(l){return t&&e===l?t:t=N3([n.stream(e=l),o.stream(l),a.stream(l)])},c.precision=function(l){return arguments.length?(n.precision(l),o.precision(l),a.precision(l),h()):n.precision()},c.scale=function(l){return arguments.length?(n.scale(l),o.scale(l*.35),a.scale(l),c.translate(n.translate())):n.scale()},c.translate=function(l){if(!arguments.length)return n.translate();var p=n.scale(),g=+l[0],m=+l[1];return r=n.translate(l).clipExtent([[g-.455*p,m-.238*p],[g+.455*p,m+.238*p]]).stream(u),i=o.translate([g-.307*p,m+.201*p]).clipExtent([[g-.425*p+B,m+.12*p+B],[g-.214*p-B,m+.234*p-B]]).stream(u),f=a.translate([g-.205*p,m+.212*p]).clipExtent([[g-.214*p+B,m+.166*p+B],[g-.115*p-B,m+.234*p-B]]).stream(u),h()},c.fitExtent=function(l,p){return Mr(c,l,p)},c.fitSize=function(l,p){return yo(c,l,p)},c.fitWidth=function(l,p){return _o(c,l,p)},c.fitHeight=function(l,p){return vo(c,l,p)};function h(){return t=e=null,c}return c.scale(1070)}function Vf(t){return function(e,n){var r=Y(e),o=Y(n),i=t(r*o);return i===1/0?[2,0]:[i*o*z(e),i*z(n)]}}function We(t){return function(e,n){var r=ft(e*e+n*n),o=t(r),i=z(o),a=Y(o);return[gt(e*i,r*a),xt(r&&n*i/r)]}}var vc=Vf(function(t){return ft(2/(1+t))});vc.invert=We(function(t){return 2*xt(t/2)});function C3(){return It(vc).scale(124.75).clipAngle(180-.001)}var wc=Vf(function(t){return(t=bf(t))&&t/z(t)});wc.invert=We(function(t){return t});function I3(){return It(wc).scale(79.4188).clipAngle(180-.001)}function So(t,e){return[t,xr(co((dt+e)/2))]}So.invert=function(t,e){return[t,2*de(mf(e))-dt]};function P3(){return Mc(So).scale(961/kt)}function Mc(t){var e=It(t),n=e.center,r=e.scale,o=e.translate,i=e.clipExtent,a=null,f,s,u;e.scale=function(h){return arguments.length?(r(h),c()):r()},e.translate=function(h){return arguments.length?(o(h),c()):o()},e.center=function(h){return arguments.length?(n(h),c()):n()},e.clipExtent=function(h){return arguments.length?(h==null?a=f=s=u=null:(a=+h[0][0],f=+h[0][1],s=+h[1][0],u=+h[1][1]),c()):a==null?null:[[a,f],[s,u]]};function c(){var h=j*r(),l=e(Zs(e.rotate()).invert([0,0]));return i(a==null?[[l[0]-h,l[1]-h],[l[0]+h,l[1]+h]]:t===So?[[Math.max(l[0]-h,a),f],[Math.min(l[0]+h,s),u]]:[[a,Math.max(l[1]-h,f)],[s,Math.min(l[1]+h,u)]])}return c()}function Gf(t){return co((dt+t)/2)}function Lm(t,e){var n=Y(t),r=t===e?z(t):xr(n/Y(e))/xr(Gf(e)/Gf(t)),o=n*xf(Gf(t),r)/r;if(!r)return So;function i(a,f){o>0?f<-dt+B&&(f=-dt+B):f>dt-B&&(f=dt-B);var s=o/xf(Gf(f),r);return[s*z(r*a),o-s*Y(r*a)]}return i.invert=function(a,f){var s=o-f,u=Wt(r)*ft(a*a+s*s),c=gt(a,G(s))*Wt(s);return s*r<0&&(c-=j*Wt(a)*Wt(s)),[c/r,2*de(xf(o/u,1/r))-dt]},i}function D3(){return wo(Lm).scale(109.5).parallels([30,30])}function To(t,e){return[t,e]}To.invert=To;function q3(){return It(To).scale(152.63)}function Ym(t,e){var n=Y(t),r=t===e?z(t):(n-Y(e))/(e-t),o=n/r+t;if(G(r)<B)return To;function i(a,f){var s=o-f,u=r*a;return[s*z(u),o-s*Y(u)]}return i.invert=function(a,f){var s=o-f,u=gt(a,G(s))*Wt(s);return s*r<0&&(u-=j*Wt(a)*Wt(s)),[u/r,o-Wt(r)*ft(a*a+s*s)]},i}function O3(){return wo(Ym).scale(131.154).center([0,13.9389])}var Bi=1.340264,Hi=-.081106,Xi=893e-6,Wi=.003796,Zf=ft(3)/2,F3=12;function Sc(t,e){var n=xt(Zf*z(e)),r=n*n,o=r*r*r;return[t*Y(n)/(Zf*(Bi+3*Hi*r+o*(7*Xi+9*Wi*r))),n*(Bi+Hi*r+o*(Xi+Wi*r))]}Sc.invert=function(t,e){for(var n=e,r=n*n,o=r*r*r,i=0,a,f,s;i<F3&&(f=n*(Bi+Hi*r+o*(Xi+Wi*r))-e,s=Bi+3*Hi*r+o*(7*Xi+9*Wi*r),n-=a=f/s,r=n*n,o=r*r*r,!(G(a)<sn));++i);return[Zf*t*(Bi+3*Hi*r+o*(7*Xi+9*Wi*r))/Y(n),xt(z(n)/Zf)]};function z3(){return It(Sc).scale(177.158)}function Tc(t,e){var n=Y(e),r=Y(t)*n;return[n*z(t)/r,z(e)/r]}Tc.invert=We(de);function L3(){return It(Tc).scale(144.049).clipAngle(60)}function Y3(){var t=1,e=0,n=0,r=1,o=1,i=0,a,f,s=null,u,c,h,l=1,p=1,g=zn({point:function(b,v){var w=y([b,v]);this.stream.point(w[0],w[1])}}),m=On,d,x;function _(){return l=t*r,p=t*o,d=x=null,y}function y(b){var v=b[0]*l,w=b[1]*p;if(i){var A=w*a-v*f;v=v*a+w*f,w=A}return[v+e,w+n]}return y.invert=function(b){var v=b[0]-e,w=b[1]-n;if(i){var A=w*a+v*f;v=v*a-w*f,w=A}return[v/l,w/p]},y.stream=function(b){return d&&x===b?d:d=g(m(x=b))},y.postclip=function(b){return arguments.length?(m=b,s=u=c=h=null,_()):m},y.clipExtent=function(b){return arguments.length?(m=b==null?(s=u=c=h=null,On):qn(s=+b[0][0],u=+b[0][1],c=+b[1][0],h=+b[1][1]),_()):s==null?null:[[s,u],[c,h]]},y.scale=function(b){return arguments.length?(t=+b,_()):t},y.translate=function(b){return arguments.length?(e=+b[0],n=+b[1],_()):[e,n]},y.angle=function(b){return arguments.length?(i=b%360*H,f=z(i),a=Y(i),_()):i*rt},y.reflectX=function(b){return arguments.length?(r=b?-1:1,_()):r<0},y.reflectY=function(b){return arguments.length?(o=b?-1:1,_()):o<0},y.fitExtent=function(b,v){return Mr(y,b,v)},y.fitSize=function(b,v){return yo(y,b,v)},y.fitWidth=function(b,v){return _o(y,b,v)},y.fitHeight=function(b,v){return vo(y,b,v)},y}function Ac(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),e*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}Ac.invert=function(t,e){var n=e,r=25,o;do{var i=n*n,a=i*i;n-=o=(n*(1.007226+i*(.015085+a*(-.044475+.028874*i-.005916*a)))-e)/(1.007226+i*(.015085*3+a*(-.044475*7+.028874*9*i-.005916*11*a)))}while(G(o)>B&&--r>0);return[t/(.8707+(i=n*n)*(-.131979+i*(-.013791+i*i*i*(.003971-.001529*i)))),n]};function U3(){return It(Ac).scale(175.295)}function Ec(t,e){return[Y(e)*z(t),z(e)]}Ec.invert=We(xt);function $3(){return It(Ec).scale(249.5).clipAngle(90+B)}function kc(t,e){var n=Y(e),r=1+Y(t)*n;return[n*z(t)/r,z(e)/r]}kc.invert=We(function(t){return 2*de(t)});function B3(){return It(kc).scale(250).clipAngle(142)}function Nc(t,e){return[xr(co((dt+e)/2)),-t]}Nc.invert=function(t,e){return[-e,2*de(mf(t))-dt]};function H3(){var t=Mc(Nc),e=t.center,n=t.rotate;return t.center=function(r){return arguments.length?e([-r[1],r[0]]):(r=e(),[r[1],-r[0]])},t.rotate=function(r){return arguments.length?n([r[0],r[1],r.length>2?r[2]+90:90]):(r=n(),[r[0],r[1],r[2]-90])},n([0,0,90]).scale(159.155)}function X3(t,e){return t.parent===e.parent?1:2}function W3(t){return t.reduce(V3,0)/t.length}function V3(t,e){return t+e.x}function G3(t){return 1+t.reduce(Z3,0)}function Z3(t,e){return Math.max(t,e.y)}function Q3(t){for(var e;e=t.children;)t=e[0];return t}function j3(t){for(var e;e=t.children;)t=e[e.length-1];return t}function K3(){var t=X3,e=1,n=1,r=!1;function o(i){var a,f=0;i.eachAfter(function(l){var p=l.children;p?(l.x=W3(p),l.y=G3(p)):(l.x=a?f+=t(l,a):0,l.y=0,a=l)});var s=Q3(i),u=j3(i),c=s.x-t(s,u)/2,h=u.x+t(u,s)/2;return i.eachAfter(r?function(l){l.x=(l.x-i.x)*e,l.y=(i.y-l.y)*n}:function(l){l.x=(l.x-c)/(h-c)*e,l.y=(1-(i.y?l.y/i.y:1))*n})}return o.separation=function(i){return arguments.length?(t=i,o):t},o.size=function(i){return arguments.length?(r=!1,e=+i[0],n=+i[1],o):r?null:[e,n]},o.nodeSize=function(i){return arguments.length?(r=!0,e=+i[0],n=+i[1],o):r?[e,n]:null},o}function J3(t){var e=0,n=t.children,r=n&&n.length;if(!r)e=1;else for(;--r>=0;)e+=n[r].value;t.value=e}function Um(){return this.eachAfter(J3)}function $m(t,e){let n=-1;for(let r of this)t.call(e,r,++n,this);return this}function Bm(t,e){for(var n=this,r=[n],o,i,a=-1;n=r.pop();)if(t.call(e,n,++a,this),o=n.children)for(i=o.length-1;i>=0;--i)r.push(o[i]);return this}function Hm(t,e){for(var n=this,r=[n],o=[],i,a,f,s=-1;n=r.pop();)if(o.push(n),i=n.children)for(a=0,f=i.length;a<f;++a)r.push(i[a]);for(;n=o.pop();)t.call(e,n,++s,this);return this}function Xm(t,e){let n=-1;for(let r of this)if(t.call(e,r,++n,this))return r}function Wm(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,o=r&&r.length;--o>=0;)n+=r[o].value;e.value=n})}function Vm(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}function Gm(t){for(var e=this,n=tw(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var o=r.length;t!==n;)r.splice(o,0,t),t=t.parent;return r}function tw(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),o=null;for(t=n.pop(),e=r.pop();t===e;)o=t,t=n.pop(),e=r.pop();return o}function Zm(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}function Qm(){return Array.from(this)}function jm(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}function Km(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}function*Jm(){var t=this,e,n=[t],r,o,i;do for(e=n.reverse(),n=[];t=e.pop();)if(yield t,r=t.children)for(o=0,i=r.length;o<i;++o)n.push(r[o]);while(n.length)}function Qf(t,e){t instanceof Map?(t=[void 0,t],e===void 0&&(e=rw)):e===void 0&&(e=nw);for(var n=new pn(t),r,o=[n],i,a,f,s;r=o.pop();)if((a=e(r.data))&&(s=(a=Array.from(a)).length))for(r.children=a,f=s-1;f>=0;--f)o.push(i=a[f]=new pn(a[f])),i.parent=r,i.depth=r.depth+1;return n.eachBefore(Rc)}function ew(){return Qf(this).eachBefore(ow)}function nw(t){return t.children}function rw(t){return Array.isArray(t)?t[1]:null}function ow(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Rc(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function pn(t){this.data=t,this.depth=this.height=0,this.parent=null}pn.prototype=Qf.prototype={constructor:pn,count:Um,each:$m,eachAfter:Hm,eachBefore:Bm,find:Xm,sum:Wm,sort:Vm,path:Gm,ancestors:Zm,descendants:Qm,leaves:jm,links:Km,copy:ew,[Symbol.iterator]:Jm};function Ao(t){return t==null?null:Cc(t)}function Cc(t){if(typeof t!="function")throw new Error;return t}function dn(){return 0}function Ln(t){return function(){return t}}function Eo(){let t=1;return()=>(t=(1664525*t+1013904223)%4294967296)/4294967296}function t1(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function e1(t,e){let n=t.length,r,o;for(;n;)o=e()*n--|0,r=t[n],t[n]=t[o],t[o]=r;return t}function iw(t){return Pc(t,Eo())}function Pc(t,e){for(var n=0,r=(t=e1(Array.from(t),e)).length,o=[],i,a;n<r;)i=t[n],a&&n1(a,i)?++n:(a=fw(o=aw(o,i)),n=0);return a}function aw(t,e){var n,r;if(Ic(e,t))return[e];for(n=0;n<t.length;++n)if(jf(e,t[n])&&Ic(Vi(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(jf(Vi(t[n],t[r]),e)&&jf(Vi(t[n],e),t[r])&&jf(Vi(t[r],e),t[n])&&Ic(r1(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function jf(t,e){var n=t.r-e.r,r=e.x-t.x,o=e.y-t.y;return n<0||n*n<r*r+o*o}function n1(t,e){var n=t.r-e.r+Math.max(t.r,e.r,1)*1e-9,r=e.x-t.x,o=e.y-t.y;return n>0&&n*n>r*r+o*o}function Ic(t,e){for(var n=0;n<e.length;++n)if(!n1(t,e[n]))return!1;return!0}function fw(t){switch(t.length){case 1:return uw(t[0]);case 2:return Vi(t[0],t[1]);case 3:return r1(t[0],t[1],t[2])}}function uw(t){return{x:t.x,y:t.y,r:t.r}}function Vi(t,e){var n=t.x,r=t.y,o=t.r,i=e.x,a=e.y,f=e.r,s=i-n,u=a-r,c=f-o,h=Math.sqrt(s*s+u*u);return{x:(n+i+s/h*c)/2,y:(r+a+u/h*c)/2,r:(h+o+f)/2}}function r1(t,e,n){var r=t.x,o=t.y,i=t.r,a=e.x,f=e.y,s=e.r,u=n.x,c=n.y,h=n.r,l=r-a,p=r-u,g=o-f,m=o-c,d=s-i,x=h-i,_=r*r+o*o-i*i,y=_-a*a-f*f+s*s,b=_-u*u-c*c+h*h,v=p*g-l*m,w=(g*b-m*y)/(v*2)-r,A=(m*d-g*x)/v,R=(p*y-l*b)/(v*2)-o,N=(l*x-p*d)/v,E=A*A+N*N-1,k=2*(i+w*A+R*N),I=w*w+R*R-i*i,C=-(Math.abs(E)>1e-6?(k+Math.sqrt(k*k-4*E*I))/(2*E):I/k);return{x:r+w+A*C,y:o+R+N*C,r:C}}function o1(t,e,n){var r=t.x-e.x,o,i,a=t.y-e.y,f,s,u=r*r+a*a;u?(i=e.r+n.r,i*=i,s=t.r+n.r,s*=s,i>s?(o=(u+s-i)/(2*u),f=Math.sqrt(Math.max(0,s/u-o*o)),n.x=t.x-o*r-f*a,n.y=t.y-o*a+f*r):(o=(u+i-s)/(2*u),f=Math.sqrt(Math.max(0,i/u-o*o)),n.x=e.x+o*r-f*a,n.y=e.y+o*a+f*r)):(n.x=e.x+n.r,n.y=e.y)}function i1(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,o=e.y-t.y;return n>0&&n*n>r*r+o*o}function a1(t){var e=t._,n=t.next._,r=e.r+n.r,o=(e.x*n.r+n.x*e.r)/r,i=(e.y*n.r+n.y*e.r)/r;return o*o+i*i}function Kf(t){this._=t,this.next=null,this.previous=null}function Dc(t,e){if(!(i=(t=t1(t)).length))return 0;var n,r,o,i,a,f,s,u,c,h,l;if(n=t[0],n.x=0,n.y=0,!(i>1))return n.r;if(r=t[1],n.x=-r.r,r.x=n.r,r.y=0,!(i>2))return n.r+r.r;o1(r,n,o=t[2]),n=new Kf(n),r=new Kf(r),o=new Kf(o),n.next=o.previous=r,r.next=n.previous=o,o.next=r.previous=n;t:for(s=3;s<i;++s){o1(n._,r._,o=t[s]),o=new Kf(o),u=r.next,c=n.previous,h=r._.r,l=n._.r;do if(h<=l){if(i1(u._,o._)){r=u,n.next=r,r.previous=n,--s;continue t}h+=u._.r,u=u.next}else{if(i1(c._,o._)){n=c,n.next=r,r.previous=n,--s;continue t}l+=c._.r,c=c.previous}while(u!==c.next);for(o.previous=n,o.next=r,n.next=r.previous=r=o,a=a1(n);(o=o.next)!==r;)(f=a1(o))<a&&(n=o,a=f);r=n.next}for(n=[r._],o=r;(o=o.next)!==r;)n.push(o._);for(o=Pc(n,e),s=0;s<i;++s)n=t[s],n.x-=o.x,n.y-=o.y;return o.r}function sw(t){return Dc(t,Eo()),t}function cw(t){return Math.sqrt(t.value)}function lw(){var t=null,e=1,n=1,r=dn;function o(i){let a=Eo();return i.x=e/2,i.y=n/2,t?i.eachBefore(f1(t)).eachAfter(qc(r,.5,a)).eachBefore(u1(1)):i.eachBefore(f1(cw)).eachAfter(qc(dn,1,a)).eachAfter(qc(r,i.r/Math.min(e,n),a)).eachBefore(u1(Math.min(e,n)/(2*i.r))),i}return o.radius=function(i){return arguments.length?(t=Ao(i),o):t},o.size=function(i){return arguments.length?(e=+i[0],n=+i[1],o):[e,n]},o.padding=function(i){return arguments.length?(r=typeof i=="function"?i:Ln(+i),o):r},o}function f1(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function qc(t,e,n){return function(r){if(o=r.children){var o,i,a=o.length,f=t(r)*e||0,s;if(f)for(i=0;i<a;++i)o[i].r+=f;if(s=Dc(o,n),f)for(i=0;i<a;++i)o[i].r-=f;r.r=s+f}}}function u1(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function Jf(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function mn(t,e,n,r,o){for(var i=t.children,a,f=-1,s=i.length,u=t.value&&(r-e)/t.value;++f<s;)a=i[f],a.y0=n,a.y1=o,a.x0=e,a.x1=e+=a.value*u}function hw(){var t=1,e=1,n=0,r=!1;function o(a){var f=a.height+1;return a.x0=a.y0=n,a.x1=t,a.y1=e/f,a.eachBefore(i(e,f)),r&&a.eachBefore(Jf),a}function i(a,f){return function(s){s.children&&mn(s,s.x0,a*(s.depth+1)/f,s.x1,a*(s.depth+2)/f);var u=s.x0,c=s.y0,h=s.x1-n,l=s.y1-n;h<u&&(u=h=(u+h)/2),l<c&&(c=l=(c+l)/2),s.x0=u,s.y0=c,s.x1=h,s.y1=l}}return o.round=function(a){return arguments.length?(r=!!a,o):r},o.size=function(a){return arguments.length?(t=+a[0],e=+a[1],o):[t,e]},o.padding=function(a){return arguments.length?(n=+a,o):n},o}var pw={depth:-1},s1={},Oc={};function dw(t){return t.id}function mw(t){return t.parentId}function gw(){var t=dw,e=mw,n;function r(o){var i=Array.from(o),a=t,f=e,s,u,c,h,l,p,g,m,d=new Map;if(n!=null){let x=i.map((b,v)=>xw(n(b,v,o))),_=x.map(c1),y=new Set(x).add("");for(let b of _)y.has(b)||(y.add(b),x.push(b),_.push(c1(b)),i.push(Oc));a=(b,v)=>x[v],f=(b,v)=>_[v]}for(c=0,s=i.length;c<s;++c)u=i[c],p=i[c]=new pn(u),(g=a(u,c,o))!=null&&(g+="")&&(m=p.id=g,d.set(m,d.has(m)?s1:p)),(g=f(u,c,o))!=null&&(g+="")&&(p.parent=g);for(c=0;c<s;++c)if(p=i[c],g=p.parent){if(l=d.get(g),!l)throw new Error("missing: "+g);if(l===s1)throw new Error("ambiguous: "+g);l.children?l.children.push(p):l.children=[p],p.parent=l}else{if(h)throw new Error("multiple roots");h=p}if(!h)throw new Error("no root");if(n!=null){for(;h.data===Oc&&h.children.length===1;)h=h.children[0],--s;for(let x=i.length-1;x>=0&&(p=i[x],p.data===Oc);--x)p.data=null}if(h.parent=pw,h.eachBefore(function(x){x.depth=x.parent.depth+1,--s}).eachBefore(Rc),h.parent=null,s>0)throw new Error("cycle");return h}return r.id=function(o){return arguments.length?(t=Ao(o),r):t},r.parentId=function(o){return arguments.length?(e=Ao(o),r):e},r.path=function(o){return arguments.length?(n=Ao(o),r):n},r}function xw(t){t=`${t}`;let e=t.length;return Fc(t,e-1)&&!Fc(t,e-2)&&(t=t.slice(0,-1)),t[0]==="/"?t:`/${t}`}function c1(t){let e=t.length;if(e<2)return"";for(;--e>1&&!Fc(t,e););return t.slice(0,e)}function Fc(t,e){if(t[e]==="/"){let n=0;for(;e>0&&t[--e]==="\\";)++n;if((n&1)===0)return!0}return!1}function bw(t,e){return t.parent===e.parent?1:2}function zc(t){var e=t.children;return e?e[0]:t.t}function Lc(t){var e=t.children;return e?e[e.length-1]:t.t}function yw(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function _w(t){for(var e=0,n=0,r=t.children,o=r.length,i;--o>=0;)i=r[o],i.z+=e,i.m+=e,e+=i.s+(n+=i.c)}function vw(t,e,n){return t.a.parent===e.parent?t.a:n}function tu(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}tu.prototype=Object.create(pn.prototype);function ww(t){for(var e=new tu(t,0),n,r=[e],o,i,a,f;n=r.pop();)if(i=n._.children)for(n.children=new Array(f=i.length),a=f-1;a>=0;--a)r.push(o=n.children[a]=new tu(i[a],a)),o.parent=n;return(e.parent=new tu(null,0)).children=[e],e}function Mw(){var t=bw,e=1,n=1,r=null;function o(u){var c=ww(u);if(c.eachAfter(i),c.parent.m=-c.z,c.eachBefore(a),r)u.eachBefore(s);else{var h=u,l=u,p=u;u.eachBefore(function(_){_.x<h.x&&(h=_),_.x>l.x&&(l=_),_.depth>p.depth&&(p=_)});var g=h===l?1:t(h,l)/2,m=g-h.x,d=e/(l.x+g+m),x=n/(p.depth||1);u.eachBefore(function(_){_.x=(_.x+m)*d,_.y=_.depth*x})}return u}function i(u){var c=u.children,h=u.parent.children,l=u.i?h[u.i-1]:null;if(c){_w(u);var p=(c[0].z+c[c.length-1].z)/2;l?(u.z=l.z+t(u._,l._),u.m=u.z-p):u.z=p}else l&&(u.z=l.z+t(u._,l._));u.parent.A=f(u,l,u.parent.A||h[0])}function a(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function f(u,c,h){if(c){for(var l=u,p=u,g=c,m=l.parent.children[0],d=l.m,x=p.m,_=g.m,y=m.m,b;g=Lc(g),l=zc(l),g&&l;)m=zc(m),p=Lc(p),p.a=u,b=g.z+_-l.z-d+t(g._,l._),b>0&&(yw(vw(g,u,h),u,b),d+=b,x+=b),_+=g.m,d+=l.m,y+=m.m,x+=p.m;g&&!Lc(p)&&(p.t=g,p.m+=_-x),l&&!zc(m)&&(m.t=l,m.m+=d-y,h=u)}return h}function s(u){u.x*=e,u.y=u.depth*n}return o.separation=function(u){return arguments.length?(t=u,o):t},o.size=function(u){return arguments.length?(r=!1,e=+u[0],n=+u[1],o):r?null:[e,n]},o.nodeSize=function(u){return arguments.length?(r=!0,e=+u[0],n=+u[1],o):r?[e,n]:null},o}function Sr(t,e,n,r,o){for(var i=t.children,a,f=-1,s=i.length,u=t.value&&(o-n)/t.value;++f<s;)a=i[f],a.x0=e,a.x1=r,a.y0=n,a.y1=n+=a.value*u}var Yc=(1+Math.sqrt(5))/2;function Uc(t,e,n,r,o,i){for(var a=[],f=e.children,s,u,c=0,h=0,l=f.length,p,g,m=e.value,d,x,_,y,b,v,w;c<l;){p=o-n,g=i-r;do d=f[h++].value;while(!d&&h<l);for(x=_=d,v=Math.max(g/p,p/g)/(m*t),w=d*d*v,b=Math.max(_/w,w/x);h<l;++h){if(d+=u=f[h].value,u<x&&(x=u),u>_&&(_=u),w=d*d*v,y=Math.max(_/w,w/x),y>b){d-=u;break}b=y}a.push(s={value:d,dice:p<g,children:f.slice(c,h)}),s.dice?mn(s,n,r,o,m?r+=g*d/m:i):Sr(s,n,r,m?n+=p*d/m:o,i),m-=d,c=h}return a}var $c=(function t(e){function n(r,o,i,a,f){Uc(e,r,o,i,a,f)}return n.ratio=function(r){return t((r=+r)>1?r:1)},n})(Yc);function Sw(){var t=$c,e=!1,n=1,r=1,o=[0],i=dn,a=dn,f=dn,s=dn,u=dn;function c(l){return l.x0=l.y0=0,l.x1=n,l.y1=r,l.eachBefore(h),o=[0],e&&l.eachBefore(Jf),l}function h(l){var p=o[l.depth],g=l.x0+p,m=l.y0+p,d=l.x1-p,x=l.y1-p;d<g&&(g=d=(g+d)/2),x<m&&(m=x=(m+x)/2),l.x0=g,l.y0=m,l.x1=d,l.y1=x,l.children&&(p=o[l.depth+1]=i(l)/2,g+=u(l)-p,m+=a(l)-p,d-=f(l)-p,x-=s(l)-p,d<g&&(g=d=(g+d)/2),x<m&&(m=x=(m+x)/2),t(l,g,m,d,x))}return c.round=function(l){return arguments.length?(e=!!l,c):e},c.size=function(l){return arguments.length?(n=+l[0],r=+l[1],c):[n,r]},c.tile=function(l){return arguments.length?(t=Cc(l),c):t},c.padding=function(l){return arguments.length?c.paddingInner(l).paddingOuter(l):c.paddingInner()},c.paddingInner=function(l){return arguments.length?(i=typeof l=="function"?l:Ln(+l),c):i},c.paddingOuter=function(l){return arguments.length?c.paddingTop(l).paddingRight(l).paddingBottom(l).paddingLeft(l):c.paddingTop()},c.paddingTop=function(l){return arguments.length?(a=typeof l=="function"?l:Ln(+l),c):a},c.paddingRight=function(l){return arguments.length?(f=typeof l=="function"?l:Ln(+l),c):f},c.paddingBottom=function(l){return arguments.length?(s=typeof l=="function"?l:Ln(+l),c):s},c.paddingLeft=function(l){return arguments.length?(u=typeof l=="function"?l:Ln(+l),c):u},c}function Tw(t,e,n,r,o){var i=t.children,a,f=i.length,s,u=new Array(f+1);for(u[0]=s=a=0;a<f;++a)u[a+1]=s+=i[a].value;c(0,f,t.value,e,n,r,o);function c(h,l,p,g,m,d,x){if(h>=l-1){var _=i[h];_.x0=g,_.y0=m,_.x1=d,_.y1=x;return}for(var y=u[h],b=p/2+y,v=h+1,w=l-1;v<w;){var A=v+w>>>1;u[A]<b?v=A+1:w=A}b-u[v-1]<u[v]-b&&h+1<v&&--v;var R=u[v]-y,N=p-R;if(d-g>x-m){var E=p?(g*N+d*R)/p:d;c(h,v,R,g,m,E,x),c(v,l,N,E,m,d,x)}else{var k=p?(m*N+x*R)/p:x;c(h,v,R,g,m,d,k),c(v,l,N,g,k,d,x)}}}function Aw(t,e,n,r,o){(t.depth&1?Sr:mn)(t,e,n,r,o)}var Ew=(function t(e){function n(r,o,i,a,f){if((s=r._squarify)&&s.ratio===e)for(var s,u,c,h,l=-1,p,g=s.length,m=r.value;++l<g;){for(u=s[l],c=u.children,h=u.value=0,p=c.length;h<p;++h)u.value+=c[h].value;u.dice?mn(u,o,i,a,m?i+=(f-i)*u.value/m:f):Sr(u,o,i,m?o+=(a-o)*u.value/m:a,f),m-=u.value}else r._squarify=s=Uc(e,r,o,i,a,f),s.ratio=e}return n.ratio=function(r){return t((r=+r)>1?r:1)},n})(Yc);function kw(t){for(var e=-1,n=t.length,r,o=t[n-1],i=0;++e<n;)r=o,o=t[e],i+=r[1]*o[0]-r[0]*o[1];return i/2}function Nw(t){for(var e=-1,n=t.length,r=0,o=0,i,a=t[n-1],f,s=0;++e<n;)i=a,a=t[e],s+=f=i[0]*a[1]-a[0]*i[1],r+=(i[0]+a[0])*f,o+=(i[1]+a[1])*f;return s*=3,[r/s,o/s]}function l1(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function Rw(t,e){return t[0]-e[0]||t[1]-e[1]}function h1(t){let e=t.length,n=[0,1],r=2,o;for(o=2;o<e;++o){for(;r>1&&l1(t[n[r-2]],t[n[r-1]],t[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function Cw(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),o=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(Rw),e=0;e<n;++e)o[e]=[r[e][0],-r[e][1]];var i=h1(r),a=h1(o),f=a[0]===i[0],s=a[a.length-1]===i[i.length-1],u=[];for(e=i.length-1;e>=0;--e)u.push(t[r[i[e]][2]]);for(e=+f;e<a.length-s;++e)u.push(t[r[a[e]][2]]);return u}function Iw(t,e){for(var n=t.length,r=t[n-1],o=e[0],i=e[1],a=r[0],f=r[1],s,u,c=!1,h=0;h<n;++h)r=t[h],s=r[0],u=r[1],u>i!=f>i&&o<(a-s)*(i-u)/(f-u)+s&&(c=!c),a=s,f=u;return c}function Pw(t){for(var e=-1,n=t.length,r=t[n-1],o,i,a=r[0],f=r[1],s=0;++e<n;)o=a,i=f,r=t[e],a=r[0],f=r[1],o-=a,i-=f,s+=Math.hypot(o,i);return s}var it=Math.random;var Dw=(function t(e){function n(r,o){return r=r==null?0:+r,o=o==null?1:+o,arguments.length===1?(o=r,r=0):o-=r,function(){return e()*o+r}}return n.source=t,n})(it);var qw=(function t(e){function n(r,o){return arguments.length<2&&(o=r,r=0),r=Math.floor(r),o=Math.floor(o)-r,function(){return Math.floor(e()*o+r)}}return n.source=t,n})(it);var Gi=(function t(e){function n(r,o){var i,a;return r=r==null?0:+r,o=o==null?1:+o,function(){var f;if(i!=null)f=i,i=null;else do i=e()*2-1,f=e()*2-1,a=i*i+f*f;while(!a||a>1);return r+o*f*Math.sqrt(-2*Math.log(a)/a)}}return n.source=t,n})(it);var Ow=(function t(e){var n=Gi.source(e);function r(){var o=n.apply(this,arguments);return function(){return Math.exp(o())}}return r.source=t,r})(it);var Bc=(function t(e){function n(r){return(r=+r)<=0?()=>0:function(){for(var o=0,i=r;i>1;--i)o+=e();return o+i*e()}}return n.source=t,n})(it);var Fw=(function t(e){var n=Bc.source(e);function r(o){if((o=+o)==0)return e;var i=n(o);return function(){return i()/o}}return r.source=t,r})(it);var zw=(function t(e){function n(r){return function(){return-Math.log1p(-e())/r}}return n.source=t,n})(it);var Lw=(function t(e){function n(r){if((r=+r)<0)throw new RangeError("invalid alpha");return r=1/-r,function(){return Math.pow(1-e(),r)}}return n.source=t,n})(it);var Yw=(function t(e){function n(r){if((r=+r)<0||r>1)throw new RangeError("invalid p");return function(){return Math.floor(e()+r)}}return n.source=t,n})(it);var Hc=(function t(e){function n(r){if((r=+r)<0||r>1)throw new RangeError("invalid p");return r===0?()=>1/0:r===1?()=>1:(r=Math.log1p(-r),function(){return 1+Math.floor(Math.log1p(-e())/r)})}return n.source=t,n})(it);var Zi=(function t(e){var n=Gi.source(e)();function r(o,i){if((o=+o)<0)throw new RangeError("invalid k");if(o===0)return()=>0;if(i=i==null?1:+i,o===1)return()=>-Math.log1p(-e())*i;var a=(o<1?o+1:o)-1/3,f=1/(3*Math.sqrt(a)),s=o<1?()=>Math.pow(e(),1/o):()=>1;return function(){do{do var u=n(),c=1+f*u;while(c<=0);c*=c*c;var h=1-e()}while(h>=1-.0331*u*u*u*u&&Math.log(h)>=.5*u*u+a*(1-c+Math.log(c)));return a*c*s()*i}}return r.source=t,r})(it);var Xc=(function t(e){var n=Zi.source(e);function r(o,i){var a=n(o),f=n(i);return function(){var s=a();return s===0?0:s/(s+f())}}return r.source=t,r})(it);var Wc=(function t(e){var n=Hc.source(e),r=Xc.source(e);function o(i,a){return i=+i,(a=+a)>=1?()=>i:a<=0?()=>0:function(){for(var f=0,s=i,u=a;s*u>16&&s*(1-u)>16;){var c=Math.floor((s+1)*u),h=r(c,s-c+1)();h<=u?(f+=c,s-=c,u=(u-h)/(1-h)):(s=c-1,u/=h)}for(var l=u<.5,p=l?u:1-u,g=n(p),m=g(),d=0;m<=s;++d)m+=g();return f+(l?d:s-d)}}return o.source=t,o})(it);var Uw=(function t(e){function n(r,o,i){var a;return(r=+r)==0?a=f=>-Math.log(f):(r=1/r,a=f=>Math.pow(f,r)),o=o==null?0:+o,i=i==null?1:+i,function(){return o+i*a(-Math.log1p(-e()))}}return n.source=t,n})(it);var $w=(function t(e){function n(r,o){return r=r==null?0:+r,o=o==null?1:+o,function(){return r+o*Math.tan(Math.PI*e())}}return n.source=t,n})(it);var Bw=(function t(e){function n(r,o){return r=r==null?0:+r,o=o==null?1:+o,function(){var i=e();return r+o*Math.log(i/(1-i))}}return n.source=t,n})(it);var Hw=(function t(e){var n=Zi.source(e),r=Wc.source(e);function o(i){return function(){for(var a=0,f=i;f>16;){var s=Math.floor(.875*f),u=n(s)();if(u>f)return a+r(s-1,f/u)();a+=s,f-=u}for(var c=-Math.log1p(-e()),h=0;c<=f;++h)c-=Math.log1p(-e());return a+h}}return o.source=t,o})(it);var p1=23283064365386963e-26;function d1(t=Math.random()){let e=(0<=t&&t<1?t/p1:Math.abs(t))|0;return()=>(e=1664525*e+1013904223|0,p1*(e>>>0))}function vt(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function ge(t,e){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof e=="function"?this.interpolator(e):this.range(e);break}}return this}var Vc=Symbol("implicit");function Qi(){var t=new De,e=[],n=[],r=Vc;function o(i){let a=t.get(i);if(a===void 0){if(r!==Vc)return r;t.set(i,a=e.push(i)-1)}return n[a%n.length]}return o.domain=function(i){if(!arguments.length)return e.slice();e=[],t=new De;for(let a of i)t.has(a)||t.set(a,e.push(a)-1);return o},o.range=function(i){return arguments.length?(n=Array.from(i),o):n.slice()},o.unknown=function(i){return arguments.length?(r=i,o):r},o.copy=function(){return Qi(e,n).unknown(r)},vt.apply(o,arguments),o}function eu(){var t=Qi().unknown(void 0),e=t.domain,n=t.range,r=0,o=1,i,a,f=!1,s=0,u=0,c=.5;delete t.unknown;function h(){var l=e().length,p=o<r,g=p?o:r,m=p?r:o;i=(m-g)/Math.max(1,l-s+u*2),f&&(i=Math.floor(i)),g+=(m-g-i*(l-s))*c,a=i*(1-s),f&&(g=Math.round(g),a=Math.round(a));var d=we(l).map(function(x){return g+i*x});return n(p?d.reverse():d)}return t.domain=function(l){return arguments.length?(e(l),h()):e()},t.range=function(l){return arguments.length?([r,o]=l,r=+r,o=+o,h()):[r,o]},t.rangeRound=function(l){return[r,o]=l,r=+r,o=+o,f=!0,h()},t.bandwidth=function(){return a},t.step=function(){return i},t.round=function(l){return arguments.length?(f=!!l,h()):f},t.padding=function(l){return arguments.length?(s=Math.min(1,u=+l),h()):s},t.paddingInner=function(l){return arguments.length?(s=Math.min(1,l),h()):s},t.paddingOuter=function(l){return arguments.length?(u=+l,h()):u},t.align=function(l){return arguments.length?(c=Math.max(0,Math.min(1,l)),h()):c},t.copy=function(){return eu(e(),[r,o]).round(f).paddingInner(s).paddingOuter(u).align(c)},vt.apply(h(),arguments)}function m1(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return m1(e())},t}function Xw(){return m1(eu.apply(null,arguments).paddingInner(1))}function Gc(t){return function(){return t}}function Yn(t){return+t}var g1=[0,1];function Dt(t){return t}function Zc(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Gc(isNaN(e)?NaN:.5)}function Ww(t,e){var n;return t>e&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function Vw(t,e,n){var r=t[0],o=t[1],i=e[0],a=e[1];return o<r?(r=Zc(o,r),i=n(a,i)):(r=Zc(r,o),i=n(i,a)),function(f){return i(r(f))}}function Gw(t,e,n){var r=Math.min(t.length,e.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)o[a]=Zc(t[a],t[a+1]),i[a]=n(e[a],e[a+1]);return function(f){var s=ae(t,f,1,r)-1;return i[s](o[s](f))}}function Ve(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Tr(){var t=g1,e=g1,n=jt,r,o,i,a=Dt,f,s,u;function c(){var l=Math.min(t.length,e.length);return a!==Dt&&(a=Ww(t[0],t[l-1])),f=l>2?Gw:Vw,s=u=null,h}function h(l){return l==null||isNaN(l=+l)?i:(s||(s=f(t.map(r),e,n)))(r(a(l)))}return h.invert=function(l){return a(o((u||(u=f(e,t.map(r),Lt)))(l)))},h.domain=function(l){return arguments.length?(t=Array.from(l,Yn),c()):t.slice()},h.range=function(l){return arguments.length?(e=Array.from(l),c()):e.slice()},h.rangeRound=function(l){return e=Array.from(l),n=rr,c()},h.clamp=function(l){return arguments.length?(a=l?!0:Dt,c()):a!==Dt},h.interpolate=function(l){return arguments.length?(n=l,c()):n},h.unknown=function(l){return arguments.length?(i=l,h):i},function(l,p){return r=l,o=p,c()}}function Ar(){return Tr()(Dt,Dt)}function nu(t,e,n,r){var o=Fr(t,e,n),i;switch(r=Be(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(i=Os(o,a))&&(r.precision=i),df(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(i=Fs(o,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=i-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(i=qs(o))&&(r.precision=i-(r.type==="%")*2);break}}return uo(r)}function re(t){var e=t.domain;return t.ticks=function(n){var r=e();return ue(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var o=e();return nu(o[0],o[o.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),o=0,i=r.length-1,a=r[o],f=r[i],s,u,c=10;for(f<a&&(u=a,a=f,f=u,u=o,o=i,i=u);c-- >0;){if(u=qe(a,f,n),u===s)return r[o]=a,r[i]=f,e(r);if(u>0)a=Math.floor(a/u)*u,f=Math.ceil(f/u)*u;else if(u<0)a=Math.ceil(a*u)/u,f=Math.floor(f*u)/u;else break;s=u}return t},t}function Qc(){var t=Ar();return t.copy=function(){return Ve(t,Qc())},vt.apply(t,arguments),re(t)}function jc(t){var e;function n(r){return r==null||isNaN(r=+r)?e:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(t=Array.from(r,Yn),n):t.slice()},n.unknown=function(r){return arguments.length?(e=r,n):e},n.copy=function(){return jc(t).unknown(e)},t=arguments.length?Array.from(t,Yn):[0,1],re(n)}function ji(t,e){t=t.slice();var n=0,r=t.length-1,o=t[n],i=t[r],a;return i<o&&(a=n,n=r,r=a,a=o,o=i,i=a),t[n]=e.floor(o),t[r]=e.ceil(i),t}function x1(t){return Math.log(t)}function b1(t){return Math.exp(t)}function Zw(t){return-Math.log(-t)}function Qw(t){return-Math.exp(-t)}function jw(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Kw(t){return t===10?jw:t===Math.E?Math.exp:e=>Math.pow(t,e)}function Jw(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function y1(t){return(e,n)=>-t(-e,n)}function Ki(t){let e=t(x1,b1),n=e.domain,r=10,o,i;function a(){return o=Jw(r),i=Kw(r),n()[0]<0?(o=y1(o),i=y1(i),t(Zw,Qw)):t(x1,b1),e}return e.base=function(f){return arguments.length?(r=+f,a()):r},e.domain=function(f){return arguments.length?(n(f),a()):n()},e.ticks=f=>{let s=n(),u=s[0],c=s[s.length-1],h=c<u;h&&([u,c]=[c,u]);let l=o(u),p=o(c),g,m,d=f==null?10:+f,x=[];if(!(r%1)&&p-l<d){if(l=Math.floor(l),p=Math.ceil(p),u>0){for(;l<=p;++l)for(g=1;g<r;++g)if(m=l<0?g/i(-l):g*i(l),!(m<u)){if(m>c)break;x.push(m)}}else for(;l<=p;++l)for(g=r-1;g>=1;--g)if(m=l>0?g/i(-l):g*i(l),!(m<u)){if(m>c)break;x.push(m)}x.length*2<d&&(x=ue(u,c,d))}else x=ue(l,p,Math.min(p-l,d)).map(i);return h?x.reverse():x},e.tickFormat=(f,s)=>{if(f==null&&(f=10),s==null&&(s=r===10?"s":","),typeof s!="function"&&(!(r%1)&&(s=Be(s)).precision==null&&(s.trim=!0),s=uo(s)),f===1/0)return s;let u=Math.max(1,r*f/e.ticks().length);return c=>{let h=c/i(Math.round(o(c)));return h*r<r-.5&&(h*=r),h<=u?s(c):""}},e.nice=()=>n(ji(n(),{floor:f=>i(Math.floor(o(f))),ceil:f=>i(Math.ceil(o(f)))})),e}function Kc(){let t=Ki(Tr()).domain([1,10]);return t.copy=()=>Ve(t,Kc()).base(t.base()),vt.apply(t,arguments),t}function _1(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function v1(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function Ji(t){var e=1,n=t(_1(e),v1(e));return n.constant=function(r){return arguments.length?t(_1(e=+r),v1(e)):e},re(n)}function Jc(){var t=Ji(Tr());return t.copy=function(){return Ve(t,Jc()).constant(t.constant())},vt.apply(t,arguments)}function w1(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function t6(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function e6(t){return t<0?-t*t:t*t}function ta(t){var e=t(Dt,Dt),n=1;function r(){return n===1?t(Dt,Dt):n===.5?t(t6,e6):t(w1(n),w1(1/n))}return e.exponent=function(o){return arguments.length?(n=+o,r()):n},re(e)}function ru(){var t=ta(Tr());return t.copy=function(){return Ve(t,ru()).exponent(t.exponent())},vt.apply(t,arguments),t}function n6(){return ru.apply(null,arguments).exponent(.5)}function M1(t){return Math.sign(t)*t*t}function r6(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function tl(){var t=Ar(),e=[0,1],n=!1,r;function o(i){var a=r6(t(i));return isNaN(a)?r:n?Math.round(a):a}return o.invert=function(i){return t.invert(M1(i))},o.domain=function(i){return arguments.length?(t.domain(i),o):t.domain()},o.range=function(i){return arguments.length?(t.range((e=Array.from(i,Yn)).map(M1)),o):e.slice()},o.rangeRound=function(i){return o.range(i).round(!0)},o.round=function(i){return arguments.length?(n=!!i,o):n},o.clamp=function(i){return arguments.length?(t.clamp(i),o):t.clamp()},o.unknown=function(i){return arguments.length?(r=i,o):r},o.copy=function(){return tl(t.domain(),e).round(n).clamp(t.clamp()).unknown(r)},vt.apply(o,arguments),re(o)}function el(){var t=[],e=[],n=[],r;function o(){var a=0,f=Math.max(1,e.length);for(n=new Array(f-1);++a<f;)n[a-1]=Ru(t,a/f);return i}function i(a){return a==null||isNaN(a=+a)?r:e[ae(n,a)]}return i.invertExtent=function(a){var f=e.indexOf(a);return f<0?[NaN,NaN]:[f>0?n[f-1]:t[0],f<n.length?n[f]:t[t.length-1]]},i.domain=function(a){if(!arguments.length)return t.slice();t=[];for(let f of a)f!=null&&!isNaN(f=+f)&&t.push(f);return t.sort(nt),o()},i.range=function(a){return arguments.length?(e=Array.from(a),o()):e.slice()},i.unknown=function(a){return arguments.length?(r=a,i):r},i.quantiles=function(){return n.slice()},i.copy=function(){return el().domain(t).range(e).unknown(r)},vt.apply(i,arguments)}function nl(){var t=0,e=1,n=1,r=[.5],o=[0,1],i;function a(s){return s!=null&&s<=s?o[ae(r,s,0,n)]:i}function f(){var s=-1;for(r=new Array(n);++s<n;)r[s]=((s+1)*e-(s-n)*t)/(n+1);return a}return a.domain=function(s){return arguments.length?([t,e]=s,t=+t,e=+e,f()):[t,e]},a.range=function(s){return arguments.length?(n=(o=Array.from(s)).length-1,f()):o.slice()},a.invertExtent=function(s){var u=o.indexOf(s);return u<0?[NaN,NaN]:u<1?[t,r[0]]:u>=n?[r[n-1],e]:[r[u-1],r[u]]},a.unknown=function(s){return arguments.length&&(i=s),a},a.thresholds=function(){return r.slice()},a.copy=function(){return nl().domain([t,e]).range(o).unknown(i)},vt.apply(re(a),arguments)}function rl(){var t=[.5],e=[0,1],n,r=1;function o(i){return i!=null&&i<=i?e[ae(t,i,0,r)]:n}return o.domain=function(i){return arguments.length?(t=Array.from(i),r=Math.min(t.length,e.length-1),o):t.slice()},o.range=function(i){return arguments.length?(e=Array.from(i),r=Math.min(t.length,e.length-1),o):e.slice()},o.invertExtent=function(i){var a=e.indexOf(i);return[t[a-1],t[a]]},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return rl().domain(t).range(e).unknown(n)},vt.apply(o,arguments)}var ol=new Date,il=new Date;function mt(t,e,n,r){function o(i){return t(i=arguments.length===0?new Date:new Date(+i)),i}return o.floor=i=>(t(i=new Date(+i)),i),o.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),o.round=i=>{let a=o(i),f=o.ceil(i);return i-a<f-i?a:f},o.offset=(i,a)=>(e(i=new Date(+i),a==null?1:Math.floor(a)),i),o.range=(i,a,f)=>{let s=[];if(i=o.ceil(i),f=f==null?1:Math.floor(f),!(i<a)||!(f>0))return s;let u;do s.push(u=new Date(+i)),e(i,f),t(i);while(u<i&&i<a);return s},o.filter=i=>mt(a=>{if(a>=a)for(;t(a),!i(a);)a.setTime(a-1)},(a,f)=>{if(a>=a)if(f<0)for(;++f<=0;)for(;e(a,-1),!i(a););else for(;--f>=0;)for(;e(a,1),!i(a););}),n&&(o.count=(i,a)=>(ol.setTime(+i),il.setTime(+a),t(ol),t(il),Math.floor(n(ol,il))),o.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?o.filter(r?a=>r(a)%i===0:a=>o.count(0,a)%i===0):o)),o}var Er=mt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Er.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?mt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Er);var S1=Er.range;var xe=mt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*1e3)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds()),T1=xe.range;var ko=mt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getMinutes()),o6=ko.range,No=mt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes()),i6=No.range;var Ro=mt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3-t.getMinutes()*6e4)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getHours()),a6=Ro.range,Co=mt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours()),f6=Co.range;var gn=mt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1),u6=gn.range,Rr=mt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1),s6=Rr.range,ou=mt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5)),c6=ou.range;function Cr(t){return mt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}var xn=Cr(0),Io=Cr(1),E1=Cr(2),k1=Cr(3),Un=Cr(4),N1=Cr(5),R1=Cr(6),C1=xn.range,l6=Io.range,h6=E1.range,p6=k1.range,d6=Un.range,m6=N1.range,g6=R1.range;function Ir(t){return mt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/6048e5)}var bn=Ir(0),Po=Ir(1),I1=Ir(2),P1=Ir(3),$n=Ir(4),D1=Ir(5),q1=Ir(6),O1=bn.range,x6=Po.range,b6=I1.range,y6=P1.range,_6=$n.range,v6=D1.range,w6=q1.range;var Do=mt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth()),M6=Do.range,qo=mt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth()),S6=qo.range;var le=mt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());le.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:mt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});var T6=le.range,he=mt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());he.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:mt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});var A6=he.range;function z1(t,e,n,r,o,i){let a=[[xe,1,1e3],[xe,5,5*1e3],[xe,15,15*1e3],[xe,30,30*1e3],[i,1,6e4],[i,5,5*6e4],[i,15,15*6e4],[i,30,30*6e4],[o,1,36e5],[o,3,3*36e5],[o,6,6*36e5],[o,12,12*36e5],[r,1,864e5],[r,2,2*864e5],[n,1,6048e5],[e,1,2592e6],[e,3,3*2592e6],[t,1,31536e6]];function f(u,c,h){let l=c<u;l&&([u,c]=[c,u]);let p=h&&typeof h.range=="function"?h:s(u,c,h),g=p?p.range(u,+c+1):[];return l?g.reverse():g}function s(u,c,h){let l=Math.abs(c-u)/h,p=Hn(([,,d])=>d).right(a,l);if(p===a.length)return t.every(Fr(u/31536e6,c/31536e6,h));if(p===0)return Er.every(Math.max(Fr(u,c,h),1));let[g,m]=a[l/a[p-1][2]<a[p][2]/l?p-1:p];return g.every(m)}return[f,s]}var[al,fl]=z1(he,qo,bn,ou,Co,No),[ul,sl]=z1(le,Do,xn,gn,Ro,ko);function cl(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ll(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function na(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function iu(t){var e=t.dateTime,n=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,f=t.months,s=t.shortMonths,u=ra(o),c=oa(o),h=ra(i),l=oa(i),p=ra(a),g=oa(a),m=ra(f),d=oa(f),x=ra(s),_=oa(s),y={a:P,A:O,b:q,B:L,c:null,d:H1,e:H1,f:Q6,g:a4,G:u4,H:V6,I:G6,j:Z6,L:Z1,m:j6,M:K6,p:X,q:W,Q:V1,s:G1,S:J6,u:t4,U:e4,V:n4,w:r4,W:o4,x:null,X:null,y:i4,Y:f4,Z:s4,"%":W1},b={a:lt,A:at,b:et,B:Nt,c:null,d:X1,e:X1,f:p4,g:M4,G:T4,H:c4,I:l4,j:h4,L:j1,m:d4,M:m4,p:ut,q:At,Q:V1,s:G1,S:g4,u:x4,U:b4,V:y4,w:_4,W:v4,x:null,X:null,y:w4,Y:S4,Z:A4,"%":W1},v={a:E,A:k,b:I,B:C,c:M,d:$1,e:$1,f:B6,g:U1,G:Y1,H:B1,I:B1,j:L6,L:$6,m:z6,M:Y6,p:N,q:F6,Q:X6,s:W6,S:U6,u:I6,U:P6,V:D6,w:C6,W:q6,x:S,X:T,y:U1,Y:Y1,Z:O6,"%":H6};y.x=w(n,y),y.X=w(r,y),y.c=w(e,y),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b);function w($,K){return function(tt){var F=[],Mt=-1,ht=0,Gt=$.length,Zt,Q,St;for(tt instanceof Date||(tt=new Date(+tt));++Mt<Gt;)$.charCodeAt(Mt)===37&&(F.push($.slice(ht,Mt)),(Q=L1[Zt=$.charAt(++Mt)])!=null?Zt=$.charAt(++Mt):Q=Zt==="e"?" ":"0",(St=K[Zt])&&(Zt=St(tt,Q)),F.push(Zt),ht=Mt+1);return F.push($.slice(ht,Mt)),F.join("")}}function A($,K){return function(tt){var F=na(1900,void 0,1),Mt=R(F,$,tt+="",0),ht,Gt;if(Mt!=tt.length)return null;if("Q"in F)return new Date(F.Q);if("s"in F)return new Date(F.s*1e3+("L"in F?F.L:0));if(K&&!("Z"in F)&&(F.Z=0),"p"in F&&(F.H=F.H%12+F.p*12),F.m===void 0&&(F.m="q"in F?F.q:0),"V"in F){if(F.V<1||F.V>53)return null;"w"in F||(F.w=1),"Z"in F?(ht=ll(na(F.y,0,1)),Gt=ht.getUTCDay(),ht=Gt>4||Gt===0?Po.ceil(ht):Po(ht),ht=Rr.offset(ht,(F.V-1)*7),F.y=ht.getUTCFullYear(),F.m=ht.getUTCMonth(),F.d=ht.getUTCDate()+(F.w+6)%7):(ht=cl(na(F.y,0,1)),Gt=ht.getDay(),ht=Gt>4||Gt===0?Io.ceil(ht):Io(ht),ht=gn.offset(ht,(F.V-1)*7),F.y=ht.getFullYear(),F.m=ht.getMonth(),F.d=ht.getDate()+(F.w+6)%7)}else("W"in F||"U"in F)&&("w"in F||(F.w="u"in F?F.u%7:"W"in F?1:0),Gt="Z"in F?ll(na(F.y,0,1)).getUTCDay():cl(na(F.y,0,1)).getDay(),F.m=0,F.d="W"in F?(F.w+6)%7+F.W*7-(Gt+5)%7:F.w+F.U*7-(Gt+6)%7);return"Z"in F?(F.H+=F.Z/100|0,F.M+=F.Z%100,ll(F)):cl(F)}}function R($,K,tt,F){for(var Mt=0,ht=K.length,Gt=tt.length,Zt,Q;Mt<ht;){if(F>=Gt)return-1;if(Zt=K.charCodeAt(Mt++),Zt===37){if(Zt=K.charAt(Mt++),Q=v[Zt in L1?K.charAt(Mt++):Zt],!Q||(F=Q($,tt,F))<0)return-1}else if(Zt!=tt.charCodeAt(F++))return-1}return F}function N($,K,tt){var F=u.exec(K.slice(tt));return F?($.p=c.get(F[0].toLowerCase()),tt+F[0].length):-1}function E($,K,tt){var F=p.exec(K.slice(tt));return F?($.w=g.get(F[0].toLowerCase()),tt+F[0].length):-1}function k($,K,tt){var F=h.exec(K.slice(tt));return F?($.w=l.get(F[0].toLowerCase()),tt+F[0].length):-1}function I($,K,tt){var F=x.exec(K.slice(tt));return F?($.m=_.get(F[0].toLowerCase()),tt+F[0].length):-1}function C($,K,tt){var F=m.exec(K.slice(tt));return F?($.m=d.get(F[0].toLowerCase()),tt+F[0].length):-1}function M($,K,tt){return R($,e,K,tt)}function S($,K,tt){return R($,n,K,tt)}function T($,K,tt){return R($,r,K,tt)}function P($){return a[$.getDay()]}function O($){return i[$.getDay()]}function q($){return s[$.getMonth()]}function L($){return f[$.getMonth()]}function X($){return o[+($.getHours()>=12)]}function W($){return 1+~~($.getMonth()/3)}function lt($){return a[$.getUTCDay()]}function at($){return i[$.getUTCDay()]}function et($){return s[$.getUTCMonth()]}function Nt($){return f[$.getUTCMonth()]}function ut($){return o[+($.getUTCHours()>=12)]}function At($){return 1+~~($.getUTCMonth()/3)}return{format:function($){var K=w($+="",y);return K.toString=function(){return $},K},parse:function($){var K=A($+="",!1);return K.toString=function(){return $},K},utcFormat:function($){var K=w($+="",b);return K.toString=function(){return $},K},utcParse:function($){var K=A($+="",!0);return K.toString=function(){return $},K}}}var L1={"-":"",_:" ",0:"0"},Ot=/^\s*\d+/,k6=/^%/,N6=/[\\^$*+?|[\]().{}]/g;function ct(t,e,n){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(e)+o:o)}function R6(t){return t.replace(N6,"\\$&")}function ra(t){return new RegExp("^(?:"+t.map(R6).join("|")+")","i")}function oa(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function C6(t,e,n){var r=Ot.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function I6(t,e,n){var r=Ot.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function P6(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function D6(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function q6(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Y1(t,e,n){var r=Ot.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function U1(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function O6(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function F6(t,e,n){var r=Ot.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function z6(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function $1(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function L6(t,e,n){var r=Ot.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function B1(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Y6(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function U6(t,e,n){var r=Ot.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function $6(t,e,n){var r=Ot.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function B6(t,e,n){var r=Ot.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function H6(t,e,n){var r=k6.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function X6(t,e,n){var r=Ot.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function W6(t,e,n){var r=Ot.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function H1(t,e){return ct(t.getDate(),e,2)}function V6(t,e){return ct(t.getHours(),e,2)}function G6(t,e){return ct(t.getHours()%12||12,e,2)}function Z6(t,e){return ct(1+gn.count(le(t),t),e,3)}function Z1(t,e){return ct(t.getMilliseconds(),e,3)}function Q6(t,e){return Z1(t,e)+"000"}function j6(t,e){return ct(t.getMonth()+1,e,2)}function K6(t,e){return ct(t.getMinutes(),e,2)}function J6(t,e){return ct(t.getSeconds(),e,2)}function t4(t){var e=t.getDay();return e===0?7:e}function e4(t,e){return ct(xn.count(le(t)-1,t),e,2)}function Q1(t){var e=t.getDay();return e>=4||e===0?Un(t):Un.ceil(t)}function n4(t,e){return t=Q1(t),ct(Un.count(le(t),t)+(le(t).getDay()===4),e,2)}function r4(t){return t.getDay()}function o4(t,e){return ct(Io.count(le(t)-1,t),e,2)}function i4(t,e){return ct(t.getFullYear()%100,e,2)}function a4(t,e){return t=Q1(t),ct(t.getFullYear()%100,e,2)}function f4(t,e){return ct(t.getFullYear()%1e4,e,4)}function u4(t,e){var n=t.getDay();return t=n>=4||n===0?Un(t):Un.ceil(t),ct(t.getFullYear()%1e4,e,4)}function s4(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ct(e/60|0,"0",2)+ct(e%60,"0",2)}function X1(t,e){return ct(t.getUTCDate(),e,2)}function c4(t,e){return ct(t.getUTCHours(),e,2)}function l4(t,e){return ct(t.getUTCHours()%12||12,e,2)}function h4(t,e){return ct(1+Rr.count(he(t),t),e,3)}function j1(t,e){return ct(t.getUTCMilliseconds(),e,3)}function p4(t,e){return j1(t,e)+"000"}function d4(t,e){return ct(t.getUTCMonth()+1,e,2)}function m4(t,e){return ct(t.getUTCMinutes(),e,2)}function g4(t,e){return ct(t.getUTCSeconds(),e,2)}function x4(t){var e=t.getUTCDay();return e===0?7:e}function b4(t,e){return ct(bn.count(he(t)-1,t),e,2)}function K1(t){var e=t.getUTCDay();return e>=4||e===0?$n(t):$n.ceil(t)}function y4(t,e){return t=K1(t),ct($n.count(he(t),t)+(he(t).getUTCDay()===4),e,2)}function _4(t){return t.getUTCDay()}function v4(t,e){return ct(Po.count(he(t)-1,t),e,2)}function w4(t,e){return ct(t.getUTCFullYear()%100,e,2)}function M4(t,e){return t=K1(t),ct(t.getUTCFullYear()%100,e,2)}function S4(t,e){return ct(t.getUTCFullYear()%1e4,e,4)}function T4(t,e){var n=t.getUTCDay();return t=n>=4||n===0?$n(t):$n.ceil(t),ct(t.getUTCFullYear()%1e4,e,4)}function A4(){return"+0000"}function W1(){return"%"}function V1(t){return+t}function G1(t){return Math.floor(+t/1e3)}var Oo,au,J1,Fo,fu;hl({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function hl(t){return Oo=iu(t),au=Oo.format,J1=Oo.parse,Fo=Oo.utcFormat,fu=Oo.utcParse,Oo}var pl="%Y-%m-%dT%H:%M:%S.%LZ";function E4(t){return t.toISOString()}var k4=Date.prototype.toISOString?E4:Fo(pl),N4=k4;function R4(t){var e=new Date(t);return isNaN(e)?null:e}var C4=+new Date("2000-01-01T00:00:00.000Z")?R4:fu(pl),I4=C4;function P4(t){return new Date(t)}function D4(t){return t instanceof Date?+t:+new Date(+t)}function uu(t,e,n,r,o,i,a,f,s,u){var c=Ar(),h=c.invert,l=c.domain,p=u(".%L"),g=u(":%S"),m=u("%I:%M"),d=u("%I %p"),x=u("%a %d"),_=u("%b %d"),y=u("%B"),b=u("%Y");function v(w){return(s(w)<w?p:f(w)<w?g:a(w)<w?m:i(w)<w?d:r(w)<w?o(w)<w?x:_:n(w)<w?y:b)(w)}return c.invert=function(w){return new Date(h(w))},c.domain=function(w){return arguments.length?l(Array.from(w,D4)):l().map(P4)},c.ticks=function(w){var A=l();return t(A[0],A[A.length-1],w??10)},c.tickFormat=function(w,A){return A==null?v:u(A)},c.nice=function(w){var A=l();return(!w||typeof w.range!="function")&&(w=e(A[0],A[A.length-1],w??10)),w?l(ji(A,w)):c},c.copy=function(){return Ve(c,uu(t,e,n,r,o,i,a,f,s,u))},c}function tg(){return vt.apply(uu(ul,sl,le,Do,xn,gn,Ro,ko,xe,au).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function eg(){return vt.apply(uu(al,fl,he,qo,bn,Rr,Co,No,xe,Fo).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function su(){var t=0,e=1,n,r,o,i,a=Dt,f=!1,s;function u(h){return h==null||isNaN(h=+h)?s:a(o===0?.5:(h=(i(h)-n)*o,f?Math.max(0,Math.min(1,h)):h))}u.domain=function(h){return arguments.length?([t,e]=h,n=i(t=+t),r=i(e=+e),o=n===r?0:1/(r-n),u):[t,e]},u.clamp=function(h){return arguments.length?(f=!!h,u):f},u.interpolator=function(h){return arguments.length?(a=h,u):a};function c(h){return function(l){var p,g;return arguments.length?([p,g]=l,a=h(p,g),u):[a(0),a(1)]}}return u.range=c(jt),u.rangeRound=c(rr),u.unknown=function(h){return arguments.length?(s=h,u):s},function(h){return i=h,n=h(t),r=h(e),o=n===r?0:1/(r-n),u}}function yn(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function dl(){var t=re(su()(Dt));return t.copy=function(){return yn(t,dl())},ge.apply(t,arguments)}function ng(){var t=Ki(su()).domain([1,10]);return t.copy=function(){return yn(t,ng()).base(t.base())},ge.apply(t,arguments)}function rg(){var t=Ji(su());return t.copy=function(){return yn(t,rg()).constant(t.constant())},ge.apply(t,arguments)}function ml(){var t=ta(su());return t.copy=function(){return yn(t,ml()).exponent(t.exponent())},ge.apply(t,arguments)}function q4(){return ml.apply(null,arguments).exponent(.5)}function gl(){var t=[],e=Dt;function n(r){if(r!=null&&!isNaN(r=+r))return e((ae(t,r,1)-1)/(t.length-1))}return n.domain=function(r){if(!arguments.length)return t.slice();t=[];for(let o of r)o!=null&&!isNaN(o=+o)&&t.push(o);return t.sort(nt),n},n.interpolator=function(r){return arguments.length?(e=r,n):e},n.range=function(){return t.map((r,o)=>e(o/(t.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(o,i)=>en(t,i/r))},n.copy=function(){return gl(e).domain(t)},ge.apply(n,arguments)}function cu(){var t=0,e=.5,n=1,r=1,o,i,a,f,s,u=Dt,c,h=!1,l;function p(m){return isNaN(m=+m)?l:(m=.5+((m=+c(m))-i)*(r*m<r*i?f:s),u(h?Math.max(0,Math.min(1,m)):m))}p.domain=function(m){return arguments.length?([t,e,n]=m,o=c(t=+t),i=c(e=+e),a=c(n=+n),f=o===i?0:.5/(i-o),s=i===a?0:.5/(a-i),r=i<o?-1:1,p):[t,e,n]},p.clamp=function(m){return arguments.length?(h=!!m,p):h},p.interpolator=function(m){return arguments.length?(u=m,p):u};function g(m){return function(d){var x,_,y;return arguments.length?([x,_,y]=d,u=$a(m,[x,_,y]),p):[u(0),u(.5),u(1)]}}return p.range=g(jt),p.rangeRound=g(rr),p.unknown=function(m){return arguments.length?(l=m,p):l},function(m){return c=m,o=m(t),i=m(e),a=m(n),f=o===i?0:.5/(i-o),s=i===a?0:.5/(a-i),r=i<o?-1:1,p}}function xl(){var t=re(cu()(Dt));return t.copy=function(){return yn(t,xl())},ge.apply(t,arguments)}function og(){var t=Ki(cu()).domain([.1,1,10]);return t.copy=function(){return yn(t,og()).base(t.base())},ge.apply(t,arguments)}function ig(){var t=Ji(cu());return t.copy=function(){return yn(t,ig()).constant(t.constant())},ge.apply(t,arguments)}function bl(){var t=ta(cu());return t.copy=function(){return yn(t,bl()).exponent(t.exponent())},ge.apply(t,arguments)}function O4(){return bl.apply(null,arguments).exponent(.5)}function U(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(r*6,++r*6);return n}var F4=U("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");var z4=U("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666");var L4=U("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666");var Y4=U("4269d0efb118ff725c6cc5b03ca951ff8ab7a463f297bbf59c6b4e9498a0");var U4=U("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928");var $4=U("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2");var B4=U("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc");var H4=U("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");var X4=U("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3");var W4=U("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");var V4=U("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");var V=t=>Wu(t[t.length-1]);var ag=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(U),G4=V(ag);var fg=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(U),Z4=V(fg);var ug=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(U),Q4=V(ug);var sg=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(U),j4=V(sg);var cg=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(U),K4=V(cg);var lg=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(U),J4=V(lg);var hg=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(U),t8=V(hg);var pg=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(U),e8=V(pg);var dg=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(U),n8=V(dg);var mg=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(U),r8=V(mg);var gg=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(U),o8=V(gg);var xg=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(U),i8=V(xg);var bg=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(U),a8=V(bg);var yg=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(U),f8=V(yg);var _g=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(U),u8=V(_g);var vg=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(U),s8=V(vg);var wg=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(U),c8=V(wg);var Mg=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(U),l8=V(Mg);var Sg=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(U),h8=V(Sg);var Tg=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(U),p8=V(Tg);var Ag=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(U),d8=V(Ag);var Eg=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(U),m8=V(Eg);var kg=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(U),g8=V(kg);var Ng=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(U),x8=V(Ng);var Rg=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(U),b8=V(Rg);var Cg=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(U),y8=V(Cg);var Ig=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(U),_8=V(Ig);function v8(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-t*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-t*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-t*2475.67)))))))+")"}var w8=Gr(Qt(300,.5,0),Qt(-240,.5,1));var M8=Gr(Qt(-100,.75,.35),Qt(80,1.5,.8)),S8=Gr(Qt(260,.75,.35),Qt(80,1.5,.8)),lu=Qt();function T8(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return lu.h=360*t-100,lu.s=1.5-1.5*e,lu.l=.8-.9*e,lu+""}var hu=kn(),A8=Math.PI/3,E8=Math.PI*2/3;function k8(t){var e;return t=(.5-t)*Math.PI,hu.r=255*(e=Math.sin(t))*e,hu.g=255*(e=Math.sin(t+A8))*e,hu.b=255*(e=Math.sin(t+E8))*e,hu+""}function N8(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-t*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+t*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-t*6838.66)))))))+")"}function pu(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var R8=pu(U("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),C8=pu(U("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),I8=pu(U("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),P8=pu(U("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function Z(t){return function(){return t}}var yl=Math.abs,Bt=Math.atan2,Ce=Math.cos,Pg=Math.max,Ze=Math.min,Vt=Math.sin,J=Math.sqrt,Ft=1e-12,Ie=Math.PI,ia=Ie/2,be=2*Ie;function Dg(t){return t>1?0:t<-1?Ie:Math.acos(t)}function _l(t){return t>=1?ia:t<=-1?-ia:Math.asin(t)}function Qe(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{let r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new Cn(e)}function D8(t){return t.innerRadius}function q8(t){return t.outerRadius}function O8(t){return t.startAngle}function F8(t){return t.endAngle}function z8(t){return t&&t.padAngle}function L8(t,e,n,r,o,i,a,f){var s=n-t,u=r-e,c=a-o,h=f-i,l=h*s-c*u;if(!(l*l<Ft))return l=(c*(e-i)-h*(t-o))/l,[t+l*s,e+l*u]}function du(t,e,n,r,o,i,a){var f=t-n,s=e-r,u=(a?i:-i)/J(f*f+s*s),c=u*s,h=-u*f,l=t+c,p=e+h,g=n+c,m=r+h,d=(l+g)/2,x=(p+m)/2,_=g-l,y=m-p,b=_*_+y*y,v=o-i,w=l*m-g*p,A=(y<0?-1:1)*J(Pg(0,v*v*b-w*w)),R=(w*y-_*A)/b,N=(-w*_-y*A)/b,E=(w*y+_*A)/b,k=(-w*_+y*A)/b,I=R-d,C=N-x,M=E-d,S=k-x;return I*I+C*C>M*M+S*S&&(R=E,N=k),{cx:R,cy:N,x01:-c,y01:-h,x11:R*(o/v-1),y11:N*(o/v-1)}}function Y8(){var t=D8,e=q8,n=Z(0),r=null,o=O8,i=F8,a=z8,f=null,s=Qe(u);function u(){var c,h,l=+t.apply(this,arguments),p=+e.apply(this,arguments),g=o.apply(this,arguments)-ia,m=i.apply(this,arguments)-ia,d=yl(m-g),x=m>g;if(f||(f=c=s()),p<l&&(h=p,p=l,l=h),!(p>Ft))f.moveTo(0,0);else if(d>be-Ft)f.moveTo(p*Ce(g),p*Vt(g)),f.arc(0,0,p,g,m,!x),l>Ft&&(f.moveTo(l*Ce(m),l*Vt(m)),f.arc(0,0,l,m,g,x));else{var _=g,y=m,b=g,v=m,w=d,A=d,R=a.apply(this,arguments)/2,N=R>Ft&&(r?+r.apply(this,arguments):J(l*l+p*p)),E=Ze(yl(p-l)/2,+n.apply(this,arguments)),k=E,I=E,C,M;if(N>Ft){var S=_l(N/l*Vt(R)),T=_l(N/p*Vt(R));(w-=S*2)>Ft?(S*=x?1:-1,b+=S,v-=S):(w=0,b=v=(g+m)/2),(A-=T*2)>Ft?(T*=x?1:-1,_+=T,y-=T):(A=0,_=y=(g+m)/2)}var P=p*Ce(_),O=p*Vt(_),q=l*Ce(v),L=l*Vt(v);if(E>Ft){var X=p*Ce(y),W=p*Vt(y),lt=l*Ce(b),at=l*Vt(b),et;if(d<Ie)if(et=L8(P,O,lt,at,X,W,q,L)){var Nt=P-et[0],ut=O-et[1],At=X-et[0],$=W-et[1],K=1/Vt(Dg((Nt*At+ut*$)/(J(Nt*Nt+ut*ut)*J(At*At+$*$)))/2),tt=J(et[0]*et[0]+et[1]*et[1]);k=Ze(E,(l-tt)/(K-1)),I=Ze(E,(p-tt)/(K+1))}else k=I=0}A>Ft?I>Ft?(C=du(lt,at,P,O,p,I,x),M=du(X,W,q,L,p,I,x),f.moveTo(C.cx+C.x01,C.cy+C.y01),I<E?f.arc(C.cx,C.cy,I,Bt(C.y01,C.x01),Bt(M.y01,M.x01),!x):(f.arc(C.cx,C.cy,I,Bt(C.y01,C.x01),Bt(C.y11,C.x11),!x),f.arc(0,0,p,Bt(C.cy+C.y11,C.cx+C.x11),Bt(M.cy+M.y11,M.cx+M.x11),!x),f.arc(M.cx,M.cy,I,Bt(M.y11,M.x11),Bt(M.y01,M.x01),!x))):(f.moveTo(P,O),f.arc(0,0,p,_,y,!x)):f.moveTo(P,O),!(l>Ft)||!(w>Ft)?f.lineTo(q,L):k>Ft?(C=du(q,L,X,W,l,-k,x),M=du(P,O,lt,at,l,-k,x),f.lineTo(C.cx+C.x01,C.cy+C.y01),k<E?f.arc(C.cx,C.cy,k,Bt(C.y01,C.x01),Bt(M.y01,M.x01),!x):(f.arc(C.cx,C.cy,k,Bt(C.y01,C.x01),Bt(C.y11,C.x11),!x),f.arc(0,0,l,Bt(C.cy+C.y11,C.cx+C.x11),Bt(M.cy+M.y11,M.cx+M.x11),x),f.arc(M.cx,M.cy,k,Bt(M.y11,M.x11),Bt(M.y01,M.x01),!x))):f.arc(0,0,l,v,b,x)}if(f.closePath(),c)return f=null,c+""||null}return u.centroid=function(){var c=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,h=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-Ie/2;return[Ce(h)*c,Vt(h)*c]},u.innerRadius=function(c){return arguments.length?(t=typeof c=="function"?c:Z(+c),u):t},u.outerRadius=function(c){return arguments.length?(e=typeof c=="function"?c:Z(+c),u):e},u.cornerRadius=function(c){return arguments.length?(n=typeof c=="function"?c:Z(+c),u):n},u.padRadius=function(c){return arguments.length?(r=c==null?null:typeof c=="function"?c:Z(+c),u):r},u.startAngle=function(c){return arguments.length?(o=typeof c=="function"?c:Z(+c),u):o},u.endAngle=function(c){return arguments.length?(i=typeof c=="function"?c:Z(+c),u):i},u.padAngle=function(c){return arguments.length?(a=typeof c=="function"?c:Z(+c),u):a},u.context=function(c){return arguments.length?(f=c??null,u):f},u}var qg=Array.prototype.slice;function Bn(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Og(t){this._context=t}Og.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Pr(t){return new Og(t)}function zo(t){return t[0]}function Lo(t){return t[1]}function aa(t,e){var n=Z(!0),r=null,o=Pr,i=null,a=Qe(f);t=typeof t=="function"?t:t===void 0?zo:Z(t),e=typeof e=="function"?e:e===void 0?Lo:Z(e);function f(s){var u,c=(s=Bn(s)).length,h,l=!1,p;for(r==null&&(i=o(p=a())),u=0;u<=c;++u)!(u<c&&n(h=s[u],u,s))===l&&((l=!l)?i.lineStart():i.lineEnd()),l&&i.point(+t(h,u,s),+e(h,u,s));if(p)return i=null,p+""||null}return f.x=function(s){return arguments.length?(t=typeof s=="function"?s:Z(+s),f):t},f.y=function(s){return arguments.length?(e=typeof s=="function"?s:Z(+s),f):e},f.defined=function(s){return arguments.length?(n=typeof s=="function"?s:Z(!!s),f):n},f.curve=function(s){return arguments.length?(o=s,r!=null&&(i=o(r)),f):o},f.context=function(s){return arguments.length?(s==null?r=i=null:i=o(r=s),f):r},f}function vl(t,e,n){var r=null,o=Z(!0),i=null,a=Pr,f=null,s=Qe(u);t=typeof t=="function"?t:t===void 0?zo:Z(+t),e=typeof e=="function"?e:e===void 0?Z(0):Z(+e),n=typeof n=="function"?n:n===void 0?Lo:Z(+n);function u(h){var l,p,g,m=(h=Bn(h)).length,d,x=!1,_,y=new Array(m),b=new Array(m);for(i==null&&(f=a(_=s())),l=0;l<=m;++l){if(!(l<m&&o(d=h[l],l,h))===x)if(x=!x)p=l,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),g=l-1;g>=p;--g)f.point(y[g],b[g]);f.lineEnd(),f.areaEnd()}x&&(y[l]=+t(d,l,h),b[l]=+e(d,l,h),f.point(r?+r(d,l,h):y[l],n?+n(d,l,h):b[l]))}if(_)return f=null,_+""||null}function c(){return aa().defined(o).curve(a).context(i)}return u.x=function(h){return arguments.length?(t=typeof h=="function"?h:Z(+h),r=null,u):t},u.x0=function(h){return arguments.length?(t=typeof h=="function"?h:Z(+h),u):t},u.x1=function(h){return arguments.length?(r=h==null?null:typeof h=="function"?h:Z(+h),u):r},u.y=function(h){return arguments.length?(e=typeof h=="function"?h:Z(+h),n=null,u):e},u.y0=function(h){return arguments.length?(e=typeof h=="function"?h:Z(+h),u):e},u.y1=function(h){return arguments.length?(n=h==null?null:typeof h=="function"?h:Z(+h),u):n},u.lineX0=u.lineY0=function(){return c().x(t).y(e)},u.lineY1=function(){return c().x(t).y(n)},u.lineX1=function(){return c().x(r).y(e)},u.defined=function(h){return arguments.length?(o=typeof h=="function"?h:Z(!!h),u):o},u.curve=function(h){return arguments.length?(a=h,i!=null&&(f=a(i)),u):a},u.context=function(h){return arguments.length?(h==null?i=f=null:f=a(i=h),u):i},u}function Fg(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function zg(t){return t}function U8(){var t=zg,e=Fg,n=null,r=Z(0),o=Z(be),i=Z(0);function a(f){var s,u=(f=Bn(f)).length,c,h,l=0,p=new Array(u),g=new Array(u),m=+r.apply(this,arguments),d=Math.min(be,Math.max(-be,o.apply(this,arguments)-m)),x,_=Math.min(Math.abs(d)/u,i.apply(this,arguments)),y=_*(d<0?-1:1),b;for(s=0;s<u;++s)(b=g[p[s]=s]=+t(f[s],s,f))>0&&(l+=b);for(e!=null?p.sort(function(v,w){return e(g[v],g[w])}):n!=null&&p.sort(function(v,w){return n(f[v],f[w])}),s=0,h=l?(d-u*y)/l:0;s<u;++s,m=x)c=p[s],b=g[c],x=m+(b>0?b*h:0)+y,g[c]={data:f[c],index:s,value:b,startAngle:m,endAngle:x,padAngle:_};return g}return a.value=function(f){return arguments.length?(t=typeof f=="function"?f:Z(+f),a):t},a.sortValues=function(f){return arguments.length?(e=f,n=null,a):e},a.sort=function(f){return arguments.length?(n=f,e=null,a):n},a.startAngle=function(f){return arguments.length?(r=typeof f=="function"?f:Z(+f),a):r},a.endAngle=function(f){return arguments.length?(o=typeof f=="function"?f:Z(+f),a):o},a.padAngle=function(f){return arguments.length?(i=typeof f=="function"?f:Z(+f),a):i},a}var mu=Yo(Pr);function Lg(t){this._curve=t}Lg.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};function Yo(t){function e(n){return new Lg(t(n))}return e._curve=t,e}function Uo(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(n){return arguments.length?e(Yo(n)):e()._curve},t}function Yg(){return Uo(aa().curve(mu))}function Ug(){var t=vl().curve(mu),e=t.curve,n=t.lineX0,r=t.lineX1,o=t.lineY0,i=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Uo(n())},delete t.lineX0,t.lineEndAngle=function(){return Uo(r())},delete t.lineX1,t.lineInnerRadius=function(){return Uo(o())},delete t.lineY0,t.lineOuterRadius=function(){return Uo(i())},delete t.lineY1,t.curve=function(a){return arguments.length?e(Yo(a)):e()._curve},t}function $o(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}var gu=class{constructor(e,n){this._context=e,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,n){switch(e=+e,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,n,e,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,e,this._y0,e,n);break}}this._x0=e,this._y0=n}},wl=class{constructor(e){this._context=e}lineStart(){this._point=0}lineEnd(){}point(e,n){if(e=+e,n=+n,this._point===0)this._point=1;else{let r=$o(this._x0,this._y0),o=$o(this._x0,this._y0=(this._y0+n)/2),i=$o(e,this._y0),a=$o(e,n);this._context.moveTo(...r),this._context.bezierCurveTo(...o,...i,...a)}this._x0=e,this._y0=n}};function Ml(t){return new gu(t,!0)}function Sl(t){return new gu(t,!1)}function $g(t){return new wl(t)}function $8(t){return t.source}function B8(t){return t.target}function xu(t){let e=$8,n=B8,r=zo,o=Lo,i=null,a=null,f=Qe(s);function s(){let u,c=qg.call(arguments),h=e.apply(this,c),l=n.apply(this,c);if(i==null&&(a=t(u=f())),a.lineStart(),c[0]=h,a.point(+r.apply(this,c),+o.apply(this,c)),c[0]=l,a.point(+r.apply(this,c),+o.apply(this,c)),a.lineEnd(),u)return a=null,u+""||null}return s.source=function(u){return arguments.length?(e=u,s):e},s.target=function(u){return arguments.length?(n=u,s):n},s.x=function(u){return arguments.length?(r=typeof u=="function"?u:Z(+u),s):r},s.y=function(u){return arguments.length?(o=typeof u=="function"?u:Z(+u),s):o},s.context=function(u){return arguments.length?(u==null?i=a=null:a=t(i=u),s):i},s}function H8(){return xu(Ml)}function X8(){return xu(Sl)}function W8(){let t=xu($g);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var V8=J(3),Tl={draw(t,e){let n=J(e+Ze(e/28,.75))*.59436,r=n/2,o=r*V8;t.moveTo(0,n),t.lineTo(0,-n),t.moveTo(-o,-r),t.lineTo(o,r),t.moveTo(-o,r),t.lineTo(o,-r)}};var fa={draw(t,e){let n=J(e/Ie);t.moveTo(n,0),t.arc(0,0,n,0,be)}};var Al={draw(t,e){let n=J(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}};var Bg=J(1/3),G8=Bg*2,El={draw(t,e){let n=J(e/G8),r=n*Bg;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}};var kl={draw(t,e){let n=J(e)*.62625;t.moveTo(0,-n),t.lineTo(n,0),t.lineTo(0,n),t.lineTo(-n,0),t.closePath()}};var Nl={draw(t,e){let n=J(e-Ze(e/7,2))*.87559;t.moveTo(-n,0),t.lineTo(n,0),t.moveTo(0,n),t.lineTo(0,-n)}};var Rl={draw(t,e){let n=J(e),r=-n/2;t.rect(r,r,n,n)}};var Cl={draw(t,e){let n=J(e)*.4431;t.moveTo(n,n),t.lineTo(n,-n),t.lineTo(-n,-n),t.lineTo(-n,n),t.closePath()}};var Z8=.8908130915292852,Hg=Vt(Ie/10)/Vt(7*Ie/10),Q8=Vt(be/10)*Hg,j8=-Ce(be/10)*Hg,Il={draw(t,e){let n=J(e*Z8),r=Q8*n,o=j8*n;t.moveTo(0,-n),t.lineTo(r,o);for(let i=1;i<5;++i){let a=be*i/5,f=Ce(a),s=Vt(a);t.lineTo(s*n,-f*n),t.lineTo(f*r-s*o,s*r+f*o)}t.closePath()}};var Pl=J(3),Dl={draw(t,e){let n=-J(e/(Pl*3));t.moveTo(0,n*2),t.lineTo(-Pl*n,-n),t.lineTo(Pl*n,-n),t.closePath()}};var K8=J(3),ql={draw(t,e){let n=J(e)*.6824,r=n/2,o=n*K8/2;t.moveTo(0,-n),t.lineTo(o,r),t.lineTo(-o,r),t.closePath()}};var ye=-.5,_e=J(3)/2,Ol=1/J(12),J8=(Ol/2+1)*3,Fl={draw(t,e){let n=J(e/J8),r=n/2,o=n*Ol,i=r,a=n*Ol+n,f=-i,s=a;t.moveTo(r,o),t.lineTo(i,a),t.lineTo(f,s),t.lineTo(ye*r-_e*o,_e*r+ye*o),t.lineTo(ye*i-_e*a,_e*i+ye*a),t.lineTo(ye*f-_e*s,_e*f+ye*s),t.lineTo(ye*r+_e*o,ye*o-_e*r),t.lineTo(ye*i+_e*a,ye*a-_e*i),t.lineTo(ye*f+_e*s,ye*s-_e*f),t.closePath()}};var bu={draw(t,e){let n=J(e-Ze(e/6,1.7))*.6189;t.moveTo(-n,-n),t.lineTo(n,n),t.moveTo(-n,n),t.lineTo(n,-n)}};var Xg=[fa,Al,El,Rl,Il,Dl,Fl],t5=[fa,Nl,bu,ql,Tl,Cl,kl];function Wg(t,e){let n=null,r=Qe(o);t=typeof t=="function"?t:Z(t||fa),e=typeof e=="function"?e:Z(e===void 0?64:+e);function o(){let i;if(n||(n=i=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),i)return n=null,i+""||null}return o.type=function(i){return arguments.length?(t=typeof i=="function"?i:Z(i),o):t},o.size=function(i){return arguments.length?(e=typeof i=="function"?i:Z(+i),o):e},o.context=function(i){return arguments.length?(n=i??null,o):n},o}function ve(){}function Bo(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function ua(t){this._context=t}ua.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Bo(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Bo(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function e5(t){return new ua(t)}function Vg(t){this._context=t}Vg.prototype={areaStart:ve,areaEnd:ve,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Bo(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function n5(t){return new Vg(t)}function Gg(t){this._context=t}Gg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Bo(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function r5(t){return new Gg(t)}function Zg(t,e){this._basis=new ua(t),this._beta=e}Zg.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r=t[0],o=e[0],i=t[n]-r,a=e[n]-o,f=-1,s;++f<=n;)s=f/n,this._basis.point(this._beta*t[f]+(1-this._beta)*(r+s*i),this._beta*e[f]+(1-this._beta)*(o+s*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var o5=(function t(e){function n(r){return e===1?new ua(r):new Zg(r,e)}return n.beta=function(r){return t(+r)},n})(.85);function Ho(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function yu(t,e){this._context=t,this._k=(1-e)/6}yu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ho(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Ho(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var i5=(function t(e){function n(r){return new yu(r,e)}return n.tension=function(r){return t(+r)},n})(0);function _u(t,e){this._context=t,this._k=(1-e)/6}_u.prototype={areaStart:ve,areaEnd:ve,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ho(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var a5=(function t(e){function n(r){return new _u(r,e)}return n.tension=function(r){return t(+r)},n})(0);function vu(t,e){this._context=t,this._k=(1-e)/6}vu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ho(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var f5=(function t(e){function n(r){return new vu(r,e)}return n.tension=function(r){return t(+r)},n})(0);function sa(t,e,n){var r=t._x1,o=t._y1,i=t._x2,a=t._y2;if(t._l01_a>Ft){var f=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*f-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,o=(o*f-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>Ft){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*u+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*u+t._y1*t._l23_2a-n*t._l12_2a)/c}t._context.bezierCurveTo(r,o,i,a,t._x2,t._y2)}function Qg(t,e){this._context=t,this._alpha=e}Qg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:sa(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var u5=(function t(e){function n(r){return e?new Qg(r,e):new yu(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function jg(t,e){this._context=t,this._alpha=e}jg.prototype={areaStart:ve,areaEnd:ve,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:sa(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var s5=(function t(e){function n(r){return e?new jg(r,e):new _u(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function Kg(t,e){this._context=t,this._alpha=e}Kg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:sa(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var c5=(function t(e){function n(r){return e?new Kg(r,e):new vu(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function Jg(t){this._context=t}Jg.prototype={areaStart:ve,areaEnd:ve,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function l5(t){return new Jg(t)}function tx(t){return t<0?-1:1}function ex(t,e,n){var r=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(r||o<0&&-0),a=(n-t._y1)/(o||r<0&&-0),f=(i*o+a*r)/(r+o);return(tx(i)+tx(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(f))||0}function nx(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function zl(t,e,n){var r=t._x0,o=t._y0,i=t._x1,a=t._y1,f=(i-r)/3;t._context.bezierCurveTo(r+f,o+f*e,i-f,a-f*n,i,a)}function wu(t){this._context=t}wu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:zl(this,this._t0,nx(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,zl(this,nx(this,n=ex(this,t,e)),n);break;default:zl(this,this._t0,n=ex(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function rx(t){this._context=new ox(t)}(rx.prototype=Object.create(wu.prototype)).point=function(t,e){wu.prototype.point.call(this,e,t)};function ox(t){this._context=t}ox.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,o,i){this._context.bezierCurveTo(e,t,r,n,i,o)}};function h5(t){return new wu(t)}function p5(t){return new rx(t)}function ax(t){this._context=t}ax.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var r=ix(t),o=ix(e),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],t[a],e[a]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function ix(t){var e,n=t.length-1,r,o=new Array(n),i=new Array(n),a=new Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[n-1]=(t[n]+o[n-1])/2,e=0;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function d5(t){return new ax(t)}function Mu(t,e){this._context=t,this._t=e}Mu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function m5(t){return new Mu(t,.5)}function g5(t){return new Mu(t,0)}function x5(t){return new Mu(t,1)}function je(t,e){if((a=t.length)>1)for(var n=1,r,o,i=t[e[0]],a,f=i.length;n<a;++n)for(o=i,i=t[e[n]],r=0;r<f;++r)i[r][1]+=i[r][0]=isNaN(o[r][1])?o[r][0]:o[r][1]}function Ke(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function b5(t,e){return t[e]}function y5(t){let e=[];return e.key=t,e}function _5(){var t=Z([]),e=Ke,n=je,r=b5;function o(i){var a=Array.from(t.apply(this,arguments),y5),f,s=a.length,u=-1,c;for(let h of i)for(f=0,++u;f<s;++f)(a[f][u]=[0,+r(h,a[f].key,u,i)]).data=h;for(f=0,c=Bn(e(a));f<s;++f)a[c[f]].index=f;return n(a,c),a}return o.keys=function(i){return arguments.length?(t=typeof i=="function"?i:Z(Array.from(i)),o):t},o.value=function(i){return arguments.length?(r=typeof i=="function"?i:Z(+i),o):r},o.order=function(i){return arguments.length?(e=i==null?Ke:typeof i=="function"?i:Z(Array.from(i)),o):e},o.offset=function(i){return arguments.length?(n=i??je,o):n},o}function v5(t,e){if((r=t.length)>0){for(var n,r,o=0,i=t[0].length,a;o<i;++o){for(a=n=0;n<r;++n)a+=t[n][o][1]||0;if(a)for(n=0;n<r;++n)t[n][o][1]/=a}je(t,e)}}function w5(t,e){if((s=t.length)>0)for(var n,r=0,o,i,a,f,s,u=t[e[0]].length;r<u;++r)for(a=f=0,n=0;n<s;++n)(i=(o=t[e[n]][r])[1]-o[0])>0?(o[0]=a,o[1]=a+=i):i<0?(o[1]=f,o[0]=f+=i):(o[0]=0,o[1]=i)}function M5(t,e){if((o=t.length)>0){for(var n=0,r=t[e[0]],o,i=r.length;n<i;++n){for(var a=0,f=0;a<o;++a)f+=t[a][n][1]||0;r[n][1]+=r[n][0]=-f/2}je(t,e)}}function S5(t,e){if(!(!((a=t.length)>0)||!((i=(o=t[e[0]]).length)>0))){for(var n=0,r=1,o,i,a;r<i;++r){for(var f=0,s=0,u=0;f<a;++f){for(var c=t[e[f]],h=c[r][1]||0,l=c[r-1][1]||0,p=(h-l)/2,g=0;g<f;++g){var m=t[e[g]],d=m[r][1]||0,x=m[r-1][1]||0;p+=d-x}s+=h,u+=p*h}o[r-1][1]+=o[r-1][0]=n,s&&(n-=u/s)}o[r-1][1]+=o[r-1][0]=n,je(t,e)}}function Ll(t){var e=t.map(T5);return Ke(t).sort(function(n,r){return e[n]-e[r]})}function T5(t){for(var e=-1,n=0,r=t.length,o,i=-1/0;++e<r;)(o=+t[e][1])>i&&(i=o,n=e);return n}function Yl(t){var e=t.map(Ul);return Ke(t).sort(function(n,r){return e[n]-e[r]})}function Ul(t){for(var e=0,n=-1,r=t.length,o;++n<r;)(o=+t[n][1])&&(e+=o);return e}function A5(t){return Yl(t).reverse()}function E5(t){var e=t.length,n,r,o=t.map(Ul),i=Ll(t),a=0,f=0,s=[],u=[];for(n=0;n<e;++n)r=i[n],a<f?(a+=o[r],s.push(r)):(f+=o[r],u.push(r));return u.reverse().concat(s)}function k5(t){return Ke(t).reverse()}var ca=t=>()=>t;function $l(t,{sourceEvent:e,target:n,transform:r,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:o}})}function Pe(t,e,n){this.k=t,this.x=e,this.y=n}Pe.prototype={constructor:Pe,scale:function(t){return t===1?this:new Pe(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new Pe(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var la=new Pe(1,0,0);Bl.prototype=Pe.prototype;function Bl(t){for(;!t.__zoom;)if(!(t=t.parentNode))return la;return t.__zoom}function Su(t){t.stopImmediatePropagation()}function Xo(t){t.preventDefault(),t.stopImmediatePropagation()}function N5(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function R5(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function fx(){return this.__zoom||la}function C5(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function I5(){return navigator.maxTouchPoints||"ontouchstart"in this}function P5(t,e,n){var r=t.invertX(e[0][0])-n[0][0],o=t.invertX(e[1][0])-n[1][0],i=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),a>i?(i+a)/2:Math.min(0,i)||Math.max(0,a))}function D5(){var t=N5,e=R5,n=P5,r=C5,o=I5,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],f=250,s=es,u=Me("start","zoom","end"),c,h,l,p=500,g=150,m=0,d=10;function x(M){M.property("__zoom",fx).on("wheel.zoom",R,{passive:!1}).on("mousedown.zoom",N).on("dblclick.zoom",E).filter(o).on("touchstart.zoom",k).on("touchmove.zoom",I).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}x.transform=function(M,S,T,P){var O=M.selection?M.selection():M;O.property("__zoom",fx),M!==O?v(M,S,T,P):O.interrupt().each(function(){w(this,arguments).event(P).start().zoom(null,typeof S=="function"?S.apply(this,arguments):S).end()})},x.scaleBy=function(M,S,T,P){x.scaleTo(M,function(){var O=this.__zoom.k,q=typeof S=="function"?S.apply(this,arguments):S;return O*q},T,P)},x.scaleTo=function(M,S,T,P){x.transform(M,function(){var O=e.apply(this,arguments),q=this.__zoom,L=T==null?b(O):typeof T=="function"?T.apply(this,arguments):T,X=q.invert(L),W=typeof S=="function"?S.apply(this,arguments):S;return n(y(_(q,W),L,X),O,a)},T,P)},x.translateBy=function(M,S,T,P){x.transform(M,function(){return n(this.__zoom.translate(typeof S=="function"?S.apply(this,arguments):S,typeof T=="function"?T.apply(this,arguments):T),e.apply(this,arguments),a)},null,P)},x.translateTo=function(M,S,T,P,O){x.transform(M,function(){var q=e.apply(this,arguments),L=this.__zoom,X=P==null?b(q):typeof P=="function"?P.apply(this,arguments):P;return n(la.translate(X[0],X[1]).scale(L.k).translate(typeof S=="function"?-S.apply(this,arguments):-S,typeof T=="function"?-T.apply(this,arguments):-T),q,a)},P,O)};function _(M,S){return S=Math.max(i[0],Math.min(i[1],S)),S===M.k?M:new Pe(S,M.x,M.y)}function y(M,S,T){var P=S[0]-T[0]*M.k,O=S[1]-T[1]*M.k;return P===M.x&&O===M.y?M:new Pe(M.k,P,O)}function b(M){return[(+M[0][0]+ +M[1][0])/2,(+M[0][1]+ +M[1][1])/2]}function v(M,S,T,P){M.on("start.zoom",function(){w(this,arguments).event(P).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).event(P).end()}).tween("zoom",function(){var O=this,q=arguments,L=w(O,q).event(P),X=e.apply(O,q),W=T==null?b(X):typeof T=="function"?T.apply(O,q):T,lt=Math.max(X[1][0]-X[0][0],X[1][1]-X[0][1]),at=O.__zoom,et=typeof S=="function"?S.apply(O,q):S,Nt=s(at.invert(W).concat(lt/at.k),et.invert(W).concat(lt/et.k));return function(ut){if(ut===1)ut=et;else{var At=Nt(ut),$=lt/At[2];ut=new Pe($,W[0]-At[0]*$,W[1]-At[1]*$)}L.zoom(null,ut)}})}function w(M,S,T){return!T&&M.__zooming||new A(M,S)}function A(M,S){this.that=M,this.args=S,this.active=0,this.sourceEvent=null,this.extent=e.apply(M,S),this.taps=0}A.prototype={event:function(M){return M&&(this.sourceEvent=M),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(M,S){return this.mouse&&M!=="mouse"&&(this.mouse[1]=S.invert(this.mouse[0])),this.touch0&&M!=="touch"&&(this.touch0[1]=S.invert(this.touch0[0])),this.touch1&&M!=="touch"&&(this.touch1[1]=S.invert(this.touch1[0])),this.that.__zoom=S,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(M){var S=Et(this.that).datum();u.call(M,this.that,new $l(M,{sourceEvent:this.sourceEvent,target:x,type:M,transform:this.that.__zoom,dispatch:u}),S)}};function R(M,...S){if(!t.apply(this,arguments))return;var T=w(this,S).event(M),P=this.__zoom,O=Math.max(i[0],Math.min(i[1],P.k*Math.pow(2,r.apply(this,arguments)))),q=zt(M);if(T.wheel)(T.mouse[0][0]!==q[0]||T.mouse[0][1]!==q[1])&&(T.mouse[1]=P.invert(T.mouse[0]=q)),clearTimeout(T.wheel);else{if(P.k===O)return;T.mouse=[q,P.invert(q)],Le(this),T.start()}Xo(M),T.wheel=setTimeout(L,g),T.zoom("mouse",n(y(_(P,O),T.mouse[0],T.mouse[1]),T.extent,a));function L(){T.wheel=null,T.end()}}function N(M,...S){if(l||!t.apply(this,arguments))return;var T=M.currentTarget,P=w(this,S,!0).event(M),O=Et(M.view).on("mousemove.zoom",W,!0).on("mouseup.zoom",lt,!0),q=zt(M,T),L=M.clientX,X=M.clientY;Qn(M.view),Su(M),P.mouse=[q,this.__zoom.invert(q)],Le(this),P.start();function W(at){if(Xo(at),!P.moved){var et=at.clientX-L,Nt=at.clientY-X;P.moved=et*et+Nt*Nt>m}P.event(at).zoom("mouse",n(y(P.that.__zoom,P.mouse[0]=zt(at,T),P.mouse[1]),P.extent,a))}function lt(at){O.on("mousemove.zoom mouseup.zoom",null),jn(at.view,P.moved),Xo(at),P.event(at).end()}}function E(M,...S){if(t.apply(this,arguments)){var T=this.__zoom,P=zt(M.changedTouches?M.changedTouches[0]:M,this),O=T.invert(P),q=T.k*(M.shiftKey?.5:2),L=n(y(_(T,q),P,O),e.apply(this,S),a);Xo(M),f>0?Et(this).transition().duration(f).call(v,L,P,M):Et(this).call(x.transform,L,P,M)}}function k(M,...S){if(t.apply(this,arguments)){var T=M.touches,P=T.length,O=w(this,S,M.changedTouches.length===P).event(M),q,L,X,W;for(Su(M),L=0;L<P;++L)X=T[L],W=zt(X,this),W=[W,this.__zoom.invert(W),X.identifier],O.touch0?!O.touch1&&O.touch0[2]!==W[2]&&(O.touch1=W,O.taps=0):(O.touch0=W,q=!0,O.taps=1+!!c);c&&(c=clearTimeout(c)),q&&(O.taps<2&&(h=W[0],c=setTimeout(function(){c=null},p)),Le(this),O.start())}}function I(M,...S){if(this.__zooming){var T=w(this,S).event(M),P=M.changedTouches,O=P.length,q,L,X,W;for(Xo(M),q=0;q<O;++q)L=P[q],X=zt(L,this),T.touch0&&T.touch0[2]===L.identifier?T.touch0[0]=X:T.touch1&&T.touch1[2]===L.identifier&&(T.touch1[0]=X);if(L=T.that.__zoom,T.touch1){var lt=T.touch0[0],at=T.touch0[1],et=T.touch1[0],Nt=T.touch1[1],ut=(ut=et[0]-lt[0])*ut+(ut=et[1]-lt[1])*ut,At=(At=Nt[0]-at[0])*At+(At=Nt[1]-at[1])*At;L=_(L,Math.sqrt(ut/At)),X=[(lt[0]+et[0])/2,(lt[1]+et[1])/2],W=[(at[0]+Nt[0])/2,(at[1]+Nt[1])/2]}else if(T.touch0)X=T.touch0[0],W=T.touch0[1];else return;T.zoom("touch",n(y(L,X,W),T.extent,a))}}function C(M,...S){if(this.__zooming){var T=w(this,S).event(M),P=M.changedTouches,O=P.length,q,L;for(Su(M),l&&clearTimeout(l),l=setTimeout(function(){l=null},p),q=0;q<O;++q)L=P[q],T.touch0&&T.touch0[2]===L.identifier?delete T.touch0:T.touch1&&T.touch1[2]===L.identifier&&delete T.touch1;if(T.touch1&&!T.touch0&&(T.touch0=T.touch1,delete T.touch1),T.touch0)T.touch0[1]=this.__zoom.invert(T.touch0[0]);else if(T.end(),T.taps===2&&(L=zt(L,this),Math.hypot(h[0]-L[0],h[1]-L[1])<d)){var X=Et(this).on("dblclick.zoom");X&&X.apply(this,arguments)}}}return x.wheelDelta=function(M){return arguments.length?(r=typeof M=="function"?M:ca(+M),x):r},x.filter=function(M){return arguments.length?(t=typeof M=="function"?M:ca(!!M),x):t},x.touchable=function(M){return arguments.length?(o=typeof M=="function"?M:ca(!!M),x):o},x.extent=function(M){return arguments.length?(e=typeof M=="function"?M:ca([[+M[0][0],+M[0][1]],[+M[1][0],+M[1][1]]]),x):e},x.scaleExtent=function(M){return arguments.length?(i[0]=+M[0],i[1]=+M[1],x):[i[0],i[1]]},x.translateExtent=function(M){return arguments.length?(a[0][0]=+M[0][0],a[1][0]=+M[1][0],a[0][1]=+M[0][1],a[1][1]=+M[1][1],x):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},x.constrain=function(M){return arguments.length?(n=M,x):n},x.duration=function(M){return arguments.length?(f=+M,x):f},x.interpolate=function(M){return arguments.length?(s=M,x):s},x.on=function(){var M=u.on.apply(u,arguments);return M===u?x:M},x.clickDistance=function(M){return arguments.length?(m=(M=+M)*M,x):Math.sqrt(m)},x.tapDistance=function(M){return arguments.length?(d=+M,x):d},x}export{pt as Adder,lf as Delaunay,hf as FormatSpecifier,De as InternMap,fe as InternSet,pn as Node,Cn as Path,io as Voronoi,Pe as ZoomTransform,By as active,Y8 as arc,vl as area,Ug as areaRadial,nt as ascending,cd as autoType,Ux as axisBottom,$x as axisLeft,Yx as axisRight,Lx as axisTop,Nu as bin,ae as bisect,cx as bisectCenter,sx as bisectLeft,Wl as bisectRight,Hn as bisector,fv as blob,lx as blur,Tu as blur2,hx as blurImage,t_ as brush,jy as brushSelection,Ky as brushX,Jy as brushY,sv as buffer,n_ as chord,o_ as chordDirected,r_ as chordTranspose,K3 as cluster,Te as color,T_ as contourDensity,sf as contours,vn as count,$2 as create,Vn as creator,Gl as cross,lv as csv,G_ as csvFormat,Z_ as csvFormatBody,j_ as csvFormatRow,Q_ as csvFormatRows,K_ as csvFormatValue,As as csvParse,V_ as csvParseRows,Qt as cubehelix,Zl as cumsum,e5 as curveBasis,n5 as curveBasisClosed,r5 as curveBasisOpen,Ml as curveBumpX,Sl as curveBumpY,o5 as curveBundle,i5 as curveCardinal,a5 as curveCardinalClosed,f5 as curveCardinalOpen,u5 as curveCatmullRom,s5 as curveCatmullRomClosed,c5 as curveCatmullRomOpen,Pr as curveLinear,l5 as curveLinearClosed,h5 as curveMonotoneX,p5 as curveMonotoneY,d5 as curveNatural,m5 as curveStep,x5 as curveStepAfter,g5 as curveStepBefore,ha as descending,da as deviation,Th as difference,Ah as disjoint,Me as dispatch,Q2 as drag,Qn as dragDisable,jn as dragEnable,hd as dsv,hr as dsvFormat,F0 as easeBack,Oy as easeBackIn,F0 as easeBackInOut,Fy as easeBackOut,yi as easeBounce,Dy as easeBounceIn,qy as easeBounceInOut,yi as easeBounceOut,O0 as easeCircle,Sy as easeCircleIn,O0 as easeCircleInOut,Ty as easeCircleOut,Ja as easeCubic,gy as easeCubicIn,Ja as easeCubicInOut,xy as easeCubicOut,z0 as easeElastic,zy as easeElasticIn,Ly as easeElasticInOut,z0 as easeElasticOut,q0 as easeExp,wy as easeExpIn,q0 as easeExpInOut,My as easeExpOut,py as easeLinear,C0 as easePoly,by as easePolyIn,C0 as easePolyInOut,yy as easePolyOut,R0 as easeQuad,dy as easeQuadIn,R0 as easeQuadInOut,my as easeQuadOut,D0 as easeSin,_y as easeSinIn,D0 as easeSinInOut,vy as easeSinOut,yh as every,wn as extent,_x as fcumsum,vh as filter,vx as flatGroup,wx as flatRollup,yv as forceCenter,wv as forceCollide,Sv as forceLink,kv as forceManyBody,Nv as forceRadial,Ev as forceSimulation,Rv as forceX,Cv as forceY,uo as format,Ds as formatDefaultLocale,Ps as formatLocale,df as formatPrefix,Be as formatSpecifier,yx as fsum,_c as geoAlbers,R3 as geoAlbersUsa,Ov as geoArea,C3 as geoAzimuthalEqualArea,vc as geoAzimuthalEqualAreaRaw,I3 as geoAzimuthalEquidistant,wc as geoAzimuthalEquidistantRaw,Yv as geoBounds,Wv as geoCentroid,Vv as geoCircle,Df as geoClipAntimeridian,Ks as geoClipCircle,Jv as geoClipExtent,qn as geoClipRectangle,D3 as geoConicConformal,Lm as geoConicConformalRaw,Mo as geoConicEqualArea,zm as geoConicEqualAreaRaw,O3 as geoConicEquidistant,Ym as geoConicEquidistantRaw,a3 as geoContains,Fi as geoDistance,z3 as geoEqualEarth,Sc as geoEqualEarthRaw,q3 as geoEquirectangular,To as geoEquirectangularRaw,L3 as geoGnomonic,Tc as geoGnomonicRaw,rc as geoGraticule,f3 as geoGraticule10,Y3 as geoIdentity,u3 as geoInterpolate,ec as geoLength,P3 as geoMercator,So as geoMercatorRaw,U3 as geoNaturalEarth1,Ac as geoNaturalEarth1Raw,$3 as geoOrthographic,Ec as geoOrthographicRaw,v3 as geoPath,It as geoProjection,Wf as geoProjectionMutator,Zs as geoRotation,B3 as geoStereographic,kc as geoStereographicRaw,$t as geoStream,w3 as geoTransform,H3 as geoTransverseMercator,Nc as geoTransverseMercatorRaw,ub as gray,ba as greatest,dh as greatestIndex,ma as group,rh as groupSort,Jl as groups,si as hcl,Qf as hierarchy,Nu as histogram,ui as hsl,xv as html,pv as image,Mx as index,Sx as indexes,jt as interpolate,pb as interpolateArray,Hu as interpolateBasis,Xu as interpolateBasisClosed,m8 as interpolateBlues,G4 as interpolateBrBG,r8 as interpolateBuGn,o8 as interpolateBuPu,v8 as interpolateCividis,S8 as interpolateCool,Tb as interpolateCubehelix,w8 as interpolateCubehelixDefault,Gr as interpolateCubehelixLong,Gu as interpolateDate,gb as interpolateDiscrete,i8 as interpolateGnBu,g8 as interpolateGreens,x8 as interpolateGreys,Mb as interpolateHcl,Sb as interpolateHclLong,vb as interpolateHsl,wb as interpolateHslLong,xb as interpolateHue,I8 as interpolateInferno,Jp as interpolateLab,C8 as interpolateMagma,Lt as interpolateNumber,li as interpolateNumberArray,Zu as interpolateObject,a8 as interpolateOrRd,_8 as interpolateOranges,Z4 as interpolatePRGn,Q4 as interpolatePiYG,P8 as interpolatePlasma,u8 as interpolatePuBu,f8 as interpolatePuBuGn,j4 as interpolatePuOr,s8 as interpolatePuRd,b8 as interpolatePurples,T8 as interpolateRainbow,K4 as interpolateRdBu,J4 as interpolateRdGy,c8 as interpolateRdPu,t8 as interpolateRdYlBu,e8 as interpolateRdYlGn,y8 as interpolateReds,nr as interpolateRgb,Wu as interpolateRgbBasis,hb as interpolateRgbBasisClosed,rr as interpolateRound,k8 as interpolateSinebow,n8 as interpolateSpectral,hi as interpolateString,Ju as interpolateTransformCss,ts as interpolateTransformSvg,N8 as interpolateTurbo,R8 as interpolateViridis,M8 as interpolateWarm,h8 as interpolateYlGn,l8 as interpolateYlGnBu,p8 as interpolateYlOrBr,d8 as interpolateYlOrRd,es as interpolateZoom,Le as interrupt,Eh as intersection,Rb as interval,N4 as isoFormat,I4 as isoParse,mv as json,Wr as lab,sb as lch,ph as least,ya as leastIndex,aa as line,Yg as lineRadial,xu as link,H8 as linkHorizontal,W8 as linkRadial,X8 as linkVertical,qu as local,wh as map,ti as matcher,Mn as max,Yr as maxIndex,uh as mean,sh as median,kx as medianIndex,Br as merge,Wn as min,Ur as minIndex,ch as mode,nn as namespace,Ea as namespaces,zr as nice,ar as now,lw as pack,iw as packEnclose,sw as packSiblings,lh as pairs,hw as partition,ff as path,f_ as pathRound,ga as permute,U8 as pie,$a as piecewise,$o as pointRadial,zt as pointer,H2 as pointers,kw as polygonArea,Nw as polygonCentroid,Iw as polygonContains,Cw as polygonHull,Pw as polygonLength,qs as precisionFixed,Os as precisionPrefix,Fs as precisionRound,mr as quadtree,en as quantile,Cu as quantileIndex,Ru as quantileSorted,Ab as quantize,$r as quickselect,Ug as radialArea,Yg as radialLine,Fw as randomBates,Yw as randomBernoulli,Xc as randomBeta,Wc as randomBinomial,$w as randomCauchy,zw as randomExponential,Zi as randomGamma,Hc as randomGeometric,qw as randomInt,Bc as randomIrwinHall,d1 as randomLcg,Ow as randomLogNormal,Bw as randomLogistic,Gi as randomNormal,Lw as randomPareto,Hw as randomPoisson,Dw as randomUniform,Uw as randomWeibull,we as range,hh as rank,Mh as reduce,Sh as reverse,kn as rgb,d_ as ribbon,m_ as ribbonArrow,ku as rollup,eh as rollups,eu as scaleBand,xl as scaleDiverging,og as scaleDivergingLog,bl as scaleDivergingPow,O4 as scaleDivergingSqrt,ig as scaleDivergingSymlog,jc as scaleIdentity,Vc as scaleImplicit,Qc as scaleLinear,Kc as scaleLog,Qi as scaleOrdinal,Xw as scalePoint,ru as scalePow,el as scaleQuantile,nl as scaleQuantize,tl as scaleRadial,dl as scaleSequential,ng as scaleSequentialLog,ml as scaleSequentialPow,gl as scaleSequentialQuantile,q4 as scaleSequentialSqrt,rg as scaleSequentialSymlog,n6 as scaleSqrt,Jc as scaleSymlog,rl as scaleThreshold,tg as scaleTime,eg as scaleUtc,mh as scan,z4 as schemeAccent,Eg as schemeBlues,ag as schemeBrBG,mg as schemeBuGn,gg as schemeBuPu,F4 as schemeCategory10,L4 as schemeDark2,xg as schemeGnBu,kg as schemeGreens,Ng as schemeGreys,Y4 as schemeObservable10,bg as schemeOrRd,Ig as schemeOranges,fg as schemePRGn,U4 as schemePaired,$4 as schemePastel1,B4 as schemePastel2,ug as schemePiYG,_g as schemePuBu,yg as schemePuBuGn,sg as schemePuOr,vg as schemePuRd,Rg as schemePurples,cg as schemeRdBu,lg as schemeRdGy,wg as schemeRdPu,hg as schemeRdYlBu,pg as schemeRdYlGn,Cg as schemeReds,H4 as schemeSet1,X4 as schemeSet2,W4 as schemeSet3,dg as schemeSpectral,V4 as schemeTableau10,Sg as schemeYlGn,Mg as schemeYlGnBu,Tg as schemeYlOrBr,Ag as schemeYlOrRd,Et as select,X2 as selectAll,rn as selection,Gn as selector,Jo as selectorAll,Cx as shuffle,gh as shuffler,_h as some,Vo as sort,_5 as stack,w5 as stackOffsetDiverging,v5 as stackOffsetExpand,je as stackOffsetNone,M5 as stackOffsetSilhouette,S5 as stackOffsetWiggle,Ll as stackOrderAppearance,Yl as stackOrderAscending,A5 as stackOrderDescending,E5 as stackOrderInsideOut,Ke as stackOrderNone,k5 as stackOrderReverse,gw as stratify,Sn as style,Nh as subset,xh as sum,va as superset,bv as svg,Wg as symbol,Tl as symbolAsterisk,fa as symbolCircle,Al as symbolCross,El as symbolDiamond,kl as symbolDiamond2,Nl as symbolPlus,Rl as symbolSquare,Cl as symbolSquare2,Il as symbolStar,bu as symbolTimes,Dl as symbolTriangle,ql as symbolTriangle2,Fl as symbolWye,bu as symbolX,Xg as symbols,Xg as symbolsFill,t5 as symbolsStroke,fo as text,ah as thresholdFreedmanDiaconis,fh as thresholdScott,Lr as thresholdSturges,nu as tickFormat,qe as tickIncrement,Fr as tickStep,ue as ticks,gn as timeDay,u6 as timeDays,au as timeFormat,hl as timeFormatDefaultLocale,iu as timeFormatLocale,N1 as timeFriday,m6 as timeFridays,Ro as timeHour,a6 as timeHours,mt as timeInterval,Er as timeMillisecond,S1 as timeMilliseconds,ko as timeMinute,o6 as timeMinutes,Io as timeMonday,l6 as timeMondays,Do as timeMonth,M6 as timeMonths,J1 as timeParse,R1 as timeSaturday,g6 as timeSaturdays,xe as timeSecond,T1 as timeSeconds,xn as timeSunday,C1 as timeSundays,Un as timeThursday,d6 as timeThursdays,sl as timeTickInterval,ul as timeTicks,E1 as timeTuesday,h6 as timeTuesdays,k1 as timeWednesday,p6 as timeWednesdays,xn as timeWeek,C1 as timeWeeks,le as timeYear,T6 as timeYears,Wa as timeout,Qr as timer,i0 as timerFlush,rs as transition,_a as transpose,Mw as tree,Sw as treemap,Tw as treemapBinary,mn as treemapDice,Ew as treemapResquarify,Sr as treemapSlice,Aw as treemapSliceDice,$c as treemapSquarify,hv as tsv,tv as tsvFormat,ev as tsvFormatBody,rv as tsvFormatRow,nv as tsvFormatRows,ov as tsvFormatValue,Es as tsvParse,J_ as tsvParseRows,Rh as union,ou as unixDay,c6 as unixDays,Rr as utcDay,s6 as utcDays,Fo as utcFormat,D1 as utcFriday,v6 as utcFridays,Co as utcHour,f6 as utcHours,Er as utcMillisecond,S1 as utcMilliseconds,No as utcMinute,i6 as utcMinutes,Po as utcMonday,x6 as utcMondays,qo as utcMonth,S6 as utcMonths,fu as utcParse,q1 as utcSaturday,w6 as utcSaturdays,xe as utcSecond,T1 as utcSeconds,bn as utcSunday,O1 as utcSundays,$n as utcThursday,_6 as utcThursdays,fl as utcTickInterval,al as utcTicks,I1 as utcTuesday,b6 as utcTuesdays,P1 as utcWednesday,y6 as utcWednesdays,bn as utcWeek,O1 as utcWeeks,he as utcYear,A6 as utcYears,pa as variance,ni as window,gv as xml,bh as zip,D5 as zoom,la as zoomIdentity,Bl as zoomTransform};
|