@object-ui/runner 2.0.0 → 3.0.0
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/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +22 -0
- package/dist/assets/{AdvancedChartImpl-Bulsv-Qr.js → AdvancedChartImpl-C2RUFqxO.js} +2 -2
- package/dist/assets/{BarChart-Bkgse49g.js → BarChart-BIxHwnDw.js} +1 -1
- package/dist/assets/ChartImpl-DTGEGono.js +1 -0
- package/dist/assets/{KanbanEnhanced-Dimuaz_r.js → KanbanEnhanced-QvmDfB6a.js} +2 -2
- package/dist/assets/KanbanImpl-LemNieQQ.js +1 -0
- package/dist/assets/index-hTFnVBMw.css +1 -0
- package/dist/assets/{index-CVtA56x5.js → index-taqjqZHy.js} +1721 -1712
- package/dist/assets/{sortable.esm-Cpqc3Ogp.js → sortable.esm-gzhkDKye.js} +2 -2
- package/dist/index.html +2 -2
- package/package.json +18 -18
- package/dist/assets/ChartImpl-CURgGMsP.js +0 -1
- package/dist/assets/KanbanImpl-eH6ewaz-.js +0 -1
- package/dist/assets/index-DgVi_K5Z.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var gg=Object.defineProperty;var bg=(e,t,r)=>t in e?gg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ao=(e,t,r)=>bg(e,typeof t!="symbol"?t+"":t,r);import{r as p,i as J,k as Vt,s as wg,e as ju,l as xg,m as Og}from"./index-CVtA56x5.js";function Q(e){return function(){return e}}const Vd=Math.cos,mi=Math.sin,ct=Math.sqrt,yi=Math.PI,fa=2*yi,Co=Math.PI,ko=2*Co,rr=1e-6,Pg=ko-rr;function Xd(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function Sg(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Xd;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class Ag{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Xd:Sg(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,u=this._y1,l=n-t,s=i-r,c=o-t,f=u-r,d=c*c+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(d>rr)if(!(Math.abs(f*l-s*c)>rr)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let v=n-o,h=i-u,y=l*l+s*s,m=v*v+h*h,g=Math.sqrt(y),b=Math.sqrt(d),O=a*Math.tan((Co-Math.acos((y+d-m)/(2*g*b)))/2),w=O/b,P=O/g;Math.abs(w-1)>rr&&this._append`L${t+w*c},${r+w*f}`,this._append`A${a},${a},0,0,${+(f*v>c*h)},${this._x1=t+P*l},${this._y1=r+P*s}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(i),l=n*Math.sin(i),s=t+u,c=r+l,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${s},${c}`:(Math.abs(this._x1-s)>rr||Math.abs(this._y1-c)>rr)&&this._append`L${s},${c}`,n&&(d<0&&(d=d%ko+ko),d>Pg?this._append`A${n},${n},0,1,${f},${t-u},${r-l}A${n},${n},0,1,${f},${this._x1=s},${this._y1=c}`:d>rr&&this._append`A${n},${n},0,${+(d>=Co)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Cu(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new Ag(t)}function ku(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Zd(e){this._context=e}Zd.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function da(e){return new Zd(e)}function Qd(e){return e[0]}function Jd(e){return e[1]}function ev(e,t){var r=Q(!0),n=null,i=da,a=null,o=Cu(u);e=typeof e=="function"?e:e===void 0?Qd:Q(e),t=typeof t=="function"?t:t===void 0?Jd:Q(t);function u(l){var s,c=(l=ku(l)).length,f,d=!1,v;for(n==null&&(a=i(v=o())),s=0;s<=c;++s)!(s<c&&r(f=l[s],s,l))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,s,l),+t(f,s,l));if(v)return a=null,v+""||null}return u.x=function(l){return arguments.length?(e=typeof l=="function"?l:Q(+l),u):e},u.y=function(l){return arguments.length?(t=typeof l=="function"?l:Q(+l),u):t},u.defined=function(l){return arguments.length?(r=typeof l=="function"?l:Q(!!l),u):r},u.curve=function(l){return arguments.length?(i=l,n!=null&&(a=i(n)),u):i},u.context=function(l){return arguments.length?(l==null?n=a=null:a=i(n=l),u):n},u}function Yn(e,t,r){var n=null,i=Q(!0),a=null,o=da,u=null,l=Cu(s);e=typeof e=="function"?e:e===void 0?Qd:Q(+e),t=typeof t=="function"?t:Q(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?Jd:Q(+r);function s(f){var d,v,h,y=(f=ku(f)).length,m,g=!1,b,O=new Array(y),w=new Array(y);for(a==null&&(u=o(b=l())),d=0;d<=y;++d){if(!(d<y&&i(m=f[d],d,f))===g)if(g=!g)v=d,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),h=d-1;h>=v;--h)u.point(O[h],w[h]);u.lineEnd(),u.areaEnd()}g&&(O[d]=+e(m,d,f),w[d]=+t(m,d,f),u.point(n?+n(m,d,f):O[d],r?+r(m,d,f):w[d]))}if(b)return u=null,b+""||null}function c(){return ev().defined(i).curve(o).context(a)}return s.x=function(f){return arguments.length?(e=typeof f=="function"?f:Q(+f),n=null,s):e},s.x0=function(f){return arguments.length?(e=typeof f=="function"?f:Q(+f),s):e},s.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Q(+f),s):n},s.y=function(f){return arguments.length?(t=typeof f=="function"?f:Q(+f),r=null,s):t},s.y0=function(f){return arguments.length?(t=typeof f=="function"?f:Q(+f),s):t},s.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Q(+f),s):r},s.lineX0=s.lineY0=function(){return c().x(e).y(t)},s.lineY1=function(){return c().x(e).y(r)},s.lineX1=function(){return c().x(n).y(t)},s.defined=function(f){return arguments.length?(i=typeof f=="function"?f:Q(!!f),s):i},s.curve=function(f){return arguments.length?(o=f,a!=null&&(u=o(a)),s):o},s.context=function(f){return arguments.length?(f==null?a=u=null:u=o(a=f),s):a},s}class tv{constructor(t,r){this._context=t,this._x=r}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(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function _g(e){return new tv(e,!0)}function Eg(e){return new tv(e,!1)}const Mu={draw(e,t){const r=ct(t/yi);e.moveTo(r,0),e.arc(0,0,r,0,fa)}},jg={draw(e,t){const r=ct(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},rv=ct(1/3),Cg=rv*2,kg={draw(e,t){const r=ct(t/Cg),n=r*rv;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Mg={draw(e,t){const r=ct(t),n=-r/2;e.rect(n,n,r,r)}},Ig=.8908130915292852,nv=mi(yi/10)/mi(7*yi/10),Tg=mi(fa/10)*nv,Dg=-Vd(fa/10)*nv,Ng={draw(e,t){const r=ct(t*Ig),n=Tg*r,i=Dg*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=fa*a/5,u=Vd(o),l=mi(o);e.lineTo(l*r,-u*r),e.lineTo(u*n-l*i,l*n+u*i)}e.closePath()}},oo=ct(3),$g={draw(e,t){const r=-ct(t/(oo*3));e.moveTo(0,r*2),e.lineTo(-oo*r,-r),e.lineTo(oo*r,-r),e.closePath()}},Ge=-.5,Ve=ct(3)/2,Mo=1/ct(12),Lg=(Mo/2+1)*3,Rg={draw(e,t){const r=ct(t/Lg),n=r/2,i=r*Mo,a=n,o=r*Mo+r,u=-a,l=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(u,l),e.lineTo(Ge*n-Ve*i,Ve*n+Ge*i),e.lineTo(Ge*a-Ve*o,Ve*a+Ge*o),e.lineTo(Ge*u-Ve*l,Ve*u+Ge*l),e.lineTo(Ge*n+Ve*i,Ge*i-Ve*n),e.lineTo(Ge*a+Ve*o,Ge*o-Ve*a),e.lineTo(Ge*u+Ve*l,Ge*l-Ve*u),e.closePath()}};function zg(e,t){let r=null,n=Cu(i);e=typeof e=="function"?e:Q(e||Mu),t=typeof t=="function"?t:Q(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:Q(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:Q(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function gi(){}function bi(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function iv(e){this._context=e}iv.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:bi(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:bi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Bg(e){return new iv(e)}function av(e){this._context=e}av.prototype={areaStart:gi,areaEnd:gi,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:bi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Fg(e){return new av(e)}function ov(e){this._context=e}ov.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:bi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Wg(e){return new ov(e)}function uv(e){this._context=e}uv.prototype={areaStart:gi,areaEnd:gi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Kg(e){return new uv(e)}function yc(e){return e<0?-1:1}function gc(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),u=(a*i+o*n)/(n+i);return(yc(a)+yc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function bc(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function uo(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,u=(a-n)/3;e._context.bezierCurveTo(n+u,i+u*t,a-u,o-u*r,a,o)}function wi(e){this._context=e}wi.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:uo(this,this._t0,bc(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,uo(this,bc(this,r=gc(this,e,t)),r);break;default:uo(this,this._t0,r=gc(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function lv(e){this._context=new cv(e)}(lv.prototype=Object.create(wi.prototype)).point=function(e,t){wi.prototype.point.call(this,t,e)};function cv(e){this._context=e}cv.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function Ug(e){return new wi(e)}function Hg(e){return new lv(e)}function sv(e){this._context=e}sv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=wc(e),i=wc(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function wc(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function qg(e){return new sv(e)}function va(e,t){this._context=e,this._t=t}va.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function Yg(e){return new va(e,.5)}function Gg(e){return new va(e,0)}function Vg(e){return new va(e,1)}function dr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,u=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function Io(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function Xg(e,t){return e[t]}function Zg(e){const t=[];return t.key=e,t}function Qg(){var e=Q([]),t=Io,r=dr,n=Xg;function i(a){var o=Array.from(e.apply(this,arguments),Zg),u,l=o.length,s=-1,c;for(const f of a)for(u=0,++s;u<l;++u)(o[u][s]=[0,+n(f,o[u].key,s,a)]).data=f;for(u=0,c=ku(t(o));u<l;++u)o[c[u]].index=u;return r(o,c),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:Q(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:Q(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?Io:typeof a=="function"?a:Q(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??dr,i):r},i}function Jg(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}dr(e,t)}}function e0(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,u=0;o<i;++o)u+=e[o][r][1]||0;n[r][1]+=n[r][0]=-u/2}dr(e,t)}}function t0(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var u=0,l=0,s=0;u<o;++u){for(var c=e[t[u]],f=c[n][1]||0,d=c[n-1][1]||0,v=(f-d)/2,h=0;h<u;++h){var y=e[t[h]],m=y[n][1]||0,g=y[n-1][1]||0;v+=m-g}l+=f,s+=v*f}i[n-1][1]+=i[n-1][0]=r,l&&(r-=s/l)}i[n-1][1]+=i[n-1][0]=r,dr(e,t)}}function Yt(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function r0(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Iu(e){let t,r,n;e.length!==2?(t=Yt,r=(u,l)=>Yt(e(u),l),n=(u,l)=>e(u)-l):(t=e===Yt||e===r0?e:n0,r=e,n=e);function i(u,l,s=0,c=u.length){if(s<c){if(t(l,l)!==0)return c;do{const f=s+c>>>1;r(u[f],l)<0?s=f+1:c=f}while(s<c)}return s}function a(u,l,s=0,c=u.length){if(s<c){if(t(l,l)!==0)return c;do{const f=s+c>>>1;r(u[f],l)<=0?s=f+1:c=f}while(s<c)}return s}function o(u,l,s=0,c=u.length){const f=i(u,l,s,c-1);return f>s&&n(u[f-1],l)>-n(u[f],l)?f-1:f}return{left:i,center:o,right:a}}function n0(){return 0}function fv(e){return e===null?NaN:+e}function*i0(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const a0=Iu(Yt),Cn=a0.right;Iu(fv).center;class xc extends Map{constructor(t,r=l0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(Oc(this,t))}has(t){return super.has(Oc(this,t))}set(t,r){return super.set(o0(this,t),r)}delete(t){return super.delete(u0(this,t))}}function Oc({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function o0({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function u0({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function l0(e){return e!==null&&typeof e=="object"?e.valueOf():e}function c0(e=Yt){if(e===Yt)return dv;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function dv(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const s0=Math.sqrt(50),f0=Math.sqrt(10),d0=Math.sqrt(2);function xi(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=s0?10:a>=f0?5:a>=d0?2:1;let u,l,s;return i<0?(s=Math.pow(10,-i)/o,u=Math.round(e*s),l=Math.round(t*s),u/s<e&&++u,l/s>t&&--l,s=-s):(s=Math.pow(10,i)*o,u=Math.round(e/s),l=Math.round(t/s),u*s<e&&++u,l*s>t&&--l),l<u&&.5<=r&&r<2?xi(e,t,r*2):[u,l,s]}function To(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,a,o]=n?xi(t,e,r):xi(e,t,r);if(!(a>=i))return[];const u=a-i+1,l=new Array(u);if(n)if(o<0)for(let s=0;s<u;++s)l[s]=(a-s)/-o;else for(let s=0;s<u;++s)l[s]=(a-s)*o;else if(o<0)for(let s=0;s<u;++s)l[s]=(i+s)/-o;else for(let s=0;s<u;++s)l[s]=(i+s)*o;return l}function Do(e,t,r){return t=+t,e=+e,r=+r,xi(e,t,r)[2]}function No(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?Do(t,e,r):Do(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function Pc(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function Sc(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function vv(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?dv:c0(i);n>r;){if(n-r>600){const l=n-r+1,s=t-r+1,c=Math.log(l),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(l-f)/l)*(s-l/2<0?-1:1),v=Math.max(r,Math.floor(t-s*f/l+d)),h=Math.min(n,Math.floor(t+(l-s)*f/l+d));vv(e,t,v,h,i)}const a=e[t];let o=r,u=n;for(en(e,r,t),i(e[n],a)>0&&en(e,r,n);o<u;){for(en(e,o,u),++o,--u;i(e[o],a)<0;)++o;for(;i(e[u],a)>0;)--u}i(e[r],a)===0?en(e,r,u):(++u,en(e,u,n)),u<=t&&(r=u+1),t<=u&&(n=u-1)}return e}function en(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function v0(e,t,r){if(e=Float64Array.from(i0(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return Sc(e);if(t>=1)return Pc(e);var n,i=(n-1)*t,a=Math.floor(i),o=Pc(vv(e,a).subarray(0,a+1)),u=Sc(e.subarray(a+1));return o+(u-o)*(i-a)}}function h0(e,t,r=fv){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),u=+r(e[a+1],a+1,e);return o+(u-o)*(i-a)}}function p0(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n<i;)a[n]=e+n*r;return a}function tt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Nt(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const $o=Symbol("implicit");function Tu(){var e=new xc,t=[],r=[],n=$o;function i(a){let o=e.get(a);if(o===void 0){if(n!==$o)return n;e.set(a,o=t.push(a)-1)}return r[o%r.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new xc;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Tu(t,r).unknown(n)},tt.apply(i,arguments),i}function Du(){var e=Tu().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,a,o,u=!1,l=0,s=0,c=.5;delete e.unknown;function f(){var d=t().length,v=i<n,h=v?i:n,y=v?n:i;a=(y-h)/Math.max(1,d-l+s*2),u&&(a=Math.floor(a)),h+=(y-h-a*(d-l))*c,o=a*(1-l),u&&(h=Math.round(h),o=Math.round(o));var m=p0(d).map(function(g){return h+a*g});return r(v?m.reverse():m)}return e.domain=function(d){return arguments.length?(t(d),f()):t()},e.range=function(d){return arguments.length?([n,i]=d,n=+n,i=+i,f()):[n,i]},e.rangeRound=function(d){return[n,i]=d,n=+n,i=+i,u=!0,f()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(d){return arguments.length?(u=!!d,f()):u},e.padding=function(d){return arguments.length?(l=Math.min(1,s=+d),f()):l},e.paddingInner=function(d){return arguments.length?(l=Math.min(1,d),f()):l},e.paddingOuter=function(d){return arguments.length?(s=+d,f()):s},e.align=function(d){return arguments.length?(c=Math.max(0,Math.min(1,d)),f()):c},e.copy=function(){return Du(t(),[n,i]).round(u).paddingInner(l).paddingOuter(s).align(c)},tt.apply(f(),arguments)}function hv(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return hv(t())},e}function m0(){return hv(Du.apply(null,arguments).paddingInner(1))}function Nu(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function pv(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function kn(){}var hn=.7,Oi=1/hn,kr="\\s*([+-]?\\d+)\\s*",pn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",pt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",y0=/^#([0-9a-f]{3,8})$/,g0=new RegExp(`^rgb\\(${kr},${kr},${kr}\\)$`),b0=new RegExp(`^rgb\\(${pt},${pt},${pt}\\)$`),w0=new RegExp(`^rgba\\(${kr},${kr},${kr},${pn}\\)$`),x0=new RegExp(`^rgba\\(${pt},${pt},${pt},${pn}\\)$`),O0=new RegExp(`^hsl\\(${pn},${pt},${pt}\\)$`),P0=new RegExp(`^hsla\\(${pn},${pt},${pt},${pn}\\)$`),Ac={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};Nu(kn,mn,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:_c,formatHex:_c,formatHex8:S0,formatHsl:A0,formatRgb:Ec,toString:Ec});function _c(){return this.rgb().formatHex()}function S0(){return this.rgb().formatHex8()}function A0(){return mv(this).formatHsl()}function Ec(){return this.rgb().formatRgb()}function mn(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=y0.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?jc(t):r===3?new $e(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Gn(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Gn(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=g0.exec(e))?new $e(t[1],t[2],t[3],1):(t=b0.exec(e))?new $e(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=w0.exec(e))?Gn(t[1],t[2],t[3],t[4]):(t=x0.exec(e))?Gn(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=O0.exec(e))?Mc(t[1],t[2]/100,t[3]/100,1):(t=P0.exec(e))?Mc(t[1],t[2]/100,t[3]/100,t[4]):Ac.hasOwnProperty(e)?jc(Ac[e]):e==="transparent"?new $e(NaN,NaN,NaN,0):null}function jc(e){return new $e(e>>16&255,e>>8&255,e&255,1)}function Gn(e,t,r,n){return n<=0&&(e=t=r=NaN),new $e(e,t,r,n)}function _0(e){return e instanceof kn||(e=mn(e)),e?(e=e.rgb(),new $e(e.r,e.g,e.b,e.opacity)):new $e}function Lo(e,t,r,n){return arguments.length===1?_0(e):new $e(e,t,r,n??1)}function $e(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Nu($e,Lo,pv(kn,{brighter(e){return e=e==null?Oi:Math.pow(Oi,e),new $e(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?hn:Math.pow(hn,e),new $e(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new $e(cr(this.r),cr(this.g),cr(this.b),Pi(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:Cc,formatHex:Cc,formatHex8:E0,formatRgb:kc,toString:kc}));function Cc(){return`#${ar(this.r)}${ar(this.g)}${ar(this.b)}`}function E0(){return`#${ar(this.r)}${ar(this.g)}${ar(this.b)}${ar((isNaN(this.opacity)?1:this.opacity)*255)}`}function kc(){const e=Pi(this.opacity);return`${e===1?"rgb(":"rgba("}${cr(this.r)}, ${cr(this.g)}, ${cr(this.b)}${e===1?")":`, ${e})`}`}function Pi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function cr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ar(e){return e=cr(e),(e<16?"0":"")+e.toString(16)}function Mc(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new nt(e,t,r,n)}function mv(e){if(e instanceof nt)return new nt(e.h,e.s,e.l,e.opacity);if(e instanceof kn||(e=mn(e)),!e)return new nt;if(e instanceof nt)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,u=a-i,l=(a+i)/2;return u?(t===a?o=(r-n)/u+(r<n)*6:r===a?o=(n-t)/u+2:o=(t-r)/u+4,u/=l<.5?a+i:2-a-i,o*=60):u=l>0&&l<1?0:o,new nt(o,u,l,e.opacity)}function j0(e,t,r,n){return arguments.length===1?mv(e):new nt(e,t,r,n??1)}function nt(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Nu(nt,j0,pv(kn,{brighter(e){return e=e==null?Oi:Math.pow(Oi,e),new nt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?hn:Math.pow(hn,e),new nt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new $e(lo(e>=240?e-240:e+120,i,n),lo(e,i,n),lo(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new nt(Ic(this.h),Vn(this.s),Vn(this.l),Pi(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(){const e=Pi(this.opacity);return`${e===1?"hsl(":"hsla("}${Ic(this.h)}, ${Vn(this.s)*100}%, ${Vn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Ic(e){return e=(e||0)%360,e<0?e+360:e}function Vn(e){return Math.max(0,Math.min(1,e||0))}function lo(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const $u=e=>()=>e;function C0(e,t){return function(r){return e+r*t}}function k0(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function M0(e){return(e=+e)==1?yv:function(t,r){return r-t?k0(t,r,e):$u(isNaN(t)?r:t)}}function yv(e,t){var r=t-e;return r?C0(e,r):$u(isNaN(e)?t:e)}const Tc=function e(t){var r=M0(t);function n(i,a){var o=r((i=Lo(i)).r,(a=Lo(a)).r),u=r(i.g,a.g),l=r(i.b,a.b),s=yv(i.opacity,a.opacity);return function(c){return i.r=o(c),i.g=u(c),i.b=l(c),i.opacity=s(c),i+""}}return n.gamma=e,n}(1);function I0(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function T0(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function D0(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=Wr(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function N0(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Si(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function $0(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=Wr(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var Ro=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,co=new RegExp(Ro.source,"g");function L0(e){return function(){return e}}function R0(e){return function(t){return e(t)+""}}function z0(e,t){var r=Ro.lastIndex=co.lastIndex=0,n,i,a,o=-1,u=[],l=[];for(e=e+"",t=t+"";(n=Ro.exec(e))&&(i=co.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,l.push({i:o,x:Si(n,i)})),r=co.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?l[0]?R0(l[0].x):L0(t):(t=l.length,function(s){for(var c=0,f;c<t;++c)u[(f=l[c]).i]=f.x(s);return u.join("")})}function Wr(e,t){var r=typeof t,n;return t==null||r==="boolean"?$u(t):(r==="number"?Si:r==="string"?(n=mn(t))?(t=n,Tc):z0:t instanceof mn?Tc:t instanceof Date?N0:T0(t)?I0:Array.isArray(t)?D0:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?$0:Si)(e,t)}function Lu(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function B0(e,t){t===void 0&&(t=e,e=Wr);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function F0(e){return function(){return e}}function Ai(e){return+e}var Dc=[0,1];function Ce(e){return e}function zo(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:F0(isNaN(t)?NaN:.5)}function W0(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function K0(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=zo(i,n),a=r(o,a)):(n=zo(n,i),a=r(a,o)),function(u){return a(n(u))}}function U0(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),a=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=zo(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(u){var l=Cn(e,u,1,n)-1;return a[l](i[l](u))}}function Mn(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ha(){var e=Dc,t=Dc,r=Wr,n,i,a,o=Ce,u,l,s;function c(){var d=Math.min(e.length,t.length);return o!==Ce&&(o=W0(e[0],e[d-1])),u=d>2?U0:K0,l=s=null,f}function f(d){return d==null||isNaN(d=+d)?a:(l||(l=u(e.map(n),t,r)))(n(o(d)))}return f.invert=function(d){return o(i((s||(s=u(t,e.map(n),Si)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,Ai),c()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),c()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),r=Lu,c()},f.clamp=function(d){return arguments.length?(o=d?!0:Ce,c()):o!==Ce},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,v){return n=d,i=v,c()}}function Ru(){return ha()(Ce,Ce)}function H0(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function _i(e,t){if(!isFinite(e)||e===0)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Ir(e){return e=_i(Math.abs(e)),e?e[1]:NaN}function q0(e,t){return function(r,n){for(var i=r.length,a=[],o=0,u=e[0],l=0;i>0&&u>0&&(l+u+1>n&&(u=Math.max(1,n-l)),a.push(r.substring(i-=u,i+u)),!((l+=u+1)>n));)u=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Y0(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var G0=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yn(e){if(!(t=G0.exec(e)))throw new Error("invalid format: "+e);var t;return new zu({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}yn.prototype=zu.prototype;function zu(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}zu.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 V0(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var Ei;function X0(e,t){var r=_i(e,t);if(!r)return Ei=void 0,e.toPrecision(t);var n=r[0],i=r[1],a=i-(Ei=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+_i(e,Math.max(0,t+a-1))[0]}function Nc(e,t){var r=_i(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const $c={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:H0,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Nc(e*100,t),r:Nc,s:X0,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Lc(e){return e}var Rc=Array.prototype.map,zc=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Z0(e){var t=e.grouping===void 0||e.thousands===void 0?Lc:q0(Rc.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?Lc:Y0(Rc.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function s(f,d){f=yn(f);var v=f.fill,h=f.align,y=f.sign,m=f.symbol,g=f.zero,b=f.width,O=f.comma,w=f.precision,P=f.trim,x=f.type;x==="n"?(O=!0,x="g"):$c[x]||(w===void 0&&(w=12),P=!0,x="g"),(g||v==="0"&&h==="=")&&(g=!0,v="0",h="=");var A=(d&&d.prefix!==void 0?d.prefix:"")+(m==="$"?r:m==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():""),j=(m==="$"?n:/[%p]/.test(x)?o:"")+(d&&d.suffix!==void 0?d.suffix:""),k=$c[x],T=/[defgprs%]/.test(x);w=w===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function M(_){var L=A,$=j,F,H,z;if(x==="c")$=k(_)+$,_="";else{_=+_;var Y=_<0||1/_<0;if(_=isNaN(_)?l:k(Math.abs(_),w),P&&(_=V0(_)),Y&&+_==0&&y!=="+"&&(Y=!1),L=(Y?y==="("?y:u:y==="-"||y==="("?"":y)+L,$=(x==="s"&&!isNaN(_)&&Ei!==void 0?zc[8+Ei/3]:"")+$+(Y&&y==="("?")":""),T){for(F=-1,H=_.length;++F<H;)if(z=_.charCodeAt(F),48>z||z>57){$=(z===46?i+_.slice(F+1):_.slice(F))+$,_=_.slice(0,F);break}}}O&&!g&&(_=t(_,1/0));var U=L.length+_.length+$.length,V=U<b?new Array(b-U+1).join(v):"";switch(O&&g&&(_=t(V+_,V.length?b-$.length:1/0),V=""),h){case"<":_=L+_+$+V;break;case"=":_=L+V+_+$;break;case"^":_=V.slice(0,U=V.length>>1)+L+_+$+V.slice(U);break;default:_=V+L+_+$;break}return a(_)}return M.toString=function(){return f+""},M}function c(f,d){var v=Math.max(-8,Math.min(8,Math.floor(Ir(d)/3)))*3,h=Math.pow(10,-v),y=s((f=yn(f),f.type="f",f),{suffix:zc[8+v/3]});return function(m){return y(h*m)}}return{format:s,formatPrefix:c}}var Xn,Bu,gv;Q0({thousands:",",grouping:[3],currency:["$",""]});function Q0(e){return Xn=Z0(e),Bu=Xn.format,gv=Xn.formatPrefix,Xn}function J0(e){return Math.max(0,-Ir(Math.abs(e)))}function eb(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ir(t)/3)))*3-Ir(Math.abs(e)))}function tb(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ir(t)-Ir(e))+1}function bv(e,t,r,n){var i=No(e,t,r),a;switch(n=yn(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=eb(i,o))&&(n.precision=a),gv(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=tb(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=J0(i))&&(n.precision=a-(n.type==="%")*2);break}}return Bu(n)}function Xt(e){var t=e.domain;return e.ticks=function(r){var n=t();return To(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return bv(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],u=n[a],l,s,c=10;for(u<o&&(s=o,o=u,u=s,s=i,i=a,a=s);c-- >0;){if(s=Do(o,u,r),s===l)return n[i]=o,n[a]=u,t(n);if(s>0)o=Math.floor(o/s)*s,u=Math.ceil(u/s)*s;else if(s<0)o=Math.ceil(o*s)/s,u=Math.floor(u*s)/s;else break;l=s}return e},e}function wv(){var e=Ru();return e.copy=function(){return Mn(e,wv())},tt.apply(e,arguments),Xt(e)}function xv(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,Ai),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return xv(e).unknown(t)},e=arguments.length?Array.from(e,Ai):[0,1],Xt(r)}function Ov(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return a<i&&(o=r,r=n,n=o,o=i,i=a,a=o),e[r]=t.floor(i),e[n]=t.ceil(a),e}function Bc(e){return Math.log(e)}function Fc(e){return Math.exp(e)}function rb(e){return-Math.log(-e)}function nb(e){return-Math.exp(-e)}function ib(e){return isFinite(e)?+("1e"+e):e<0?0:e}function ab(e){return e===10?ib:e===Math.E?Math.exp:t=>Math.pow(e,t)}function ob(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function Wc(e){return(t,r)=>-e(-t,r)}function Fu(e){const t=e(Bc,Fc),r=t.domain;let n=10,i,a;function o(){return i=ob(n),a=ab(n),r()[0]<0?(i=Wc(i),a=Wc(a),e(rb,nb)):e(Bc,Fc),t}return t.base=function(u){return arguments.length?(n=+u,o()):n},t.domain=function(u){return arguments.length?(r(u),o()):r()},t.ticks=u=>{const l=r();let s=l[0],c=l[l.length-1];const f=c<s;f&&([s,c]=[c,s]);let d=i(s),v=i(c),h,y;const m=u==null?10:+u;let g=[];if(!(n%1)&&v-d<m){if(d=Math.floor(d),v=Math.ceil(v),s>0){for(;d<=v;++d)for(h=1;h<n;++h)if(y=d<0?h/a(-d):h*a(d),!(y<s)){if(y>c)break;g.push(y)}}else for(;d<=v;++d)for(h=n-1;h>=1;--h)if(y=d>0?h/a(-d):h*a(d),!(y<s)){if(y>c)break;g.push(y)}g.length*2<m&&(g=To(s,c,m))}else g=To(d,v,Math.min(v-d,m)).map(a);return f?g.reverse():g},t.tickFormat=(u,l)=>{if(u==null&&(u=10),l==null&&(l=n===10?"s":","),typeof l!="function"&&(!(n%1)&&(l=yn(l)).precision==null&&(l.trim=!0),l=Bu(l)),u===1/0)return l;const s=Math.max(1,n*u/t.ticks().length);return c=>{let f=c/a(Math.round(i(c)));return f*n<n-.5&&(f*=n),f<=s?l(c):""}},t.nice=()=>r(Ov(r(),{floor:u=>a(Math.floor(i(u))),ceil:u=>a(Math.ceil(i(u)))})),t}function Pv(){const e=Fu(ha()).domain([1,10]);return e.copy=()=>Mn(e,Pv()).base(e.base()),tt.apply(e,arguments),e}function Kc(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Uc(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Wu(e){var t=1,r=e(Kc(t),Uc(t));return r.constant=function(n){return arguments.length?e(Kc(t=+n),Uc(t)):t},Xt(r)}function Sv(){var e=Wu(ha());return e.copy=function(){return Mn(e,Sv()).constant(e.constant())},tt.apply(e,arguments)}function Hc(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function ub(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function lb(e){return e<0?-e*e:e*e}function Ku(e){var t=e(Ce,Ce),r=1;function n(){return r===1?e(Ce,Ce):r===.5?e(ub,lb):e(Hc(r),Hc(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},Xt(t)}function Uu(){var e=Ku(ha());return e.copy=function(){return Mn(e,Uu()).exponent(e.exponent())},tt.apply(e,arguments),e}function cb(){return Uu.apply(null,arguments).exponent(.5)}function qc(e){return Math.sign(e)*e*e}function sb(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Av(){var e=Ru(),t=[0,1],r=!1,n;function i(a){var o=sb(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(qc(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,Ai)).map(qc)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Av(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},tt.apply(i,arguments),Xt(i)}function _v(){var e=[],t=[],r=[],n;function i(){var o=0,u=Math.max(1,t.length);for(r=new Array(u-1);++o<u;)r[o-1]=h0(e,o/u);return a}function a(o){return o==null||isNaN(o=+o)?n:t[Cn(r,o)]}return a.invertExtent=function(o){var u=t.indexOf(o);return u<0?[NaN,NaN]:[u>0?r[u-1]:e[0],u<r.length?r[u]:e[e.length-1]]},a.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let u of o)u!=null&&!isNaN(u=+u)&&e.push(u);return e.sort(Yt),i()},a.range=function(o){return arguments.length?(t=Array.from(o),i()):t.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.quantiles=function(){return r.slice()},a.copy=function(){return _v().domain(e).range(t).unknown(n)},tt.apply(a,arguments)}function Ev(){var e=0,t=1,r=1,n=[.5],i=[0,1],a;function o(l){return l!=null&&l<=l?i[Cn(n,l,0,r)]:a}function u(){var l=-1;for(n=new Array(r);++l<r;)n[l]=((l+1)*t-(l-r)*e)/(r+1);return o}return o.domain=function(l){return arguments.length?([e,t]=l,e=+e,t=+t,u()):[e,t]},o.range=function(l){return arguments.length?(r=(i=Array.from(l)).length-1,u()):i.slice()},o.invertExtent=function(l){var s=i.indexOf(l);return s<0?[NaN,NaN]:s<1?[e,n[0]]:s>=r?[n[r-1],t]:[n[s-1],n[s]]},o.unknown=function(l){return arguments.length&&(a=l),o},o.thresholds=function(){return n.slice()},o.copy=function(){return Ev().domain([e,t]).range(i).unknown(a)},tt.apply(Xt(o),arguments)}function jv(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[Cn(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return jv().domain(e).range(t).unknown(r)},tt.apply(i,arguments)}const so=new Date,fo=new Date;function ce(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),u=i.ceil(a);return a-o<u-a?o:u},i.offset=(a,o)=>(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,u)=>{const l=[];if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return l;let s;do l.push(s=new Date(+a)),t(a,u),e(a);while(s<a&&a<o);return l},i.filter=a=>ce(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,u)=>{if(o>=o)if(u<0)for(;++u<=0;)for(;t(o,-1),!a(o););else for(;--u>=0;)for(;t(o,1),!a(o););}),r&&(i.count=(a,o)=>(so.setTime(+a),fo.setTime(+o),e(so),e(fo),Math.floor(r(so,fo))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const ji=ce(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);ji.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?ce(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):ji);ji.range;const Ot=1e3,Qe=Ot*60,Pt=Qe*60,_t=Pt*24,Hu=_t*7,Yc=_t*30,vo=_t*365,or=ce(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getUTCSeconds());or.range;const qu=ce(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ot)},(e,t)=>{e.setTime(+e+t*Qe)},(e,t)=>(t-e)/Qe,e=>e.getMinutes());qu.range;const Yu=ce(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Qe)},(e,t)=>(t-e)/Qe,e=>e.getUTCMinutes());Yu.range;const Gu=ce(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ot-e.getMinutes()*Qe)},(e,t)=>{e.setTime(+e+t*Pt)},(e,t)=>(t-e)/Pt,e=>e.getHours());Gu.range;const Vu=ce(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Pt)},(e,t)=>(t-e)/Pt,e=>e.getUTCHours());Vu.range;const In=ce(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Qe)/_t,e=>e.getDate()-1);In.range;const pa=ce(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_t,e=>e.getUTCDate()-1);pa.range;const Cv=ce(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_t,e=>Math.floor(e/_t));Cv.range;function br(e){return ce(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Qe)/Hu)}const ma=br(0),Ci=br(1),fb=br(2),db=br(3),Tr=br(4),vb=br(5),hb=br(6);ma.range;Ci.range;fb.range;db.range;Tr.range;vb.range;hb.range;function wr(e){return ce(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/Hu)}const ya=wr(0),ki=wr(1),pb=wr(2),mb=wr(3),Dr=wr(4),yb=wr(5),gb=wr(6);ya.range;ki.range;pb.range;mb.range;Dr.range;yb.range;gb.range;const Xu=ce(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Xu.range;const Zu=ce(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Zu.range;const Et=ce(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Et.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ce(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});Et.range;const jt=ce(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());jt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ce(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});jt.range;function kv(e,t,r,n,i,a){const o=[[or,1,Ot],[or,5,5*Ot],[or,15,15*Ot],[or,30,30*Ot],[a,1,Qe],[a,5,5*Qe],[a,15,15*Qe],[a,30,30*Qe],[i,1,Pt],[i,3,3*Pt],[i,6,6*Pt],[i,12,12*Pt],[n,1,_t],[n,2,2*_t],[r,1,Hu],[t,1,Yc],[t,3,3*Yc],[e,1,vo]];function u(s,c,f){const d=c<s;d&&([s,c]=[c,s]);const v=f&&typeof f.range=="function"?f:l(s,c,f),h=v?v.range(s,+c+1):[];return d?h.reverse():h}function l(s,c,f){const d=Math.abs(c-s)/f,v=Iu(([,,m])=>m).right(o,d);if(v===o.length)return e.every(No(s/vo,c/vo,f));if(v===0)return ji.every(Math.max(No(s,c,f),1));const[h,y]=o[d/o[v-1][2]<o[v][2]/d?v-1:v];return h.every(y)}return[u,l]}const[bb,wb]=kv(jt,Zu,ya,Cv,Vu,Yu),[xb,Ob]=kv(Et,Xu,ma,In,Gu,qu);function ho(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function po(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function tn(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function Pb(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,u=e.months,l=e.shortMonths,s=rn(i),c=nn(i),f=rn(a),d=nn(a),v=rn(o),h=nn(o),y=rn(u),m=nn(u),g=rn(l),b=nn(l),O={a:z,A:Y,b:U,B:V,c:null,d:Jc,e:Jc,f:qb,g:rw,G:iw,H:Kb,I:Ub,j:Hb,L:Mv,m:Yb,M:Gb,p:fe,q:Ee,Q:rs,s:ns,S:Vb,u:Xb,U:Zb,V:Qb,w:Jb,W:ew,x:null,X:null,y:tw,Y:nw,Z:aw,"%":ts},w={a:rt,A:Te,b:Jt,B:Jr,c:null,d:es,e:es,f:cw,g:bw,G:xw,H:ow,I:uw,j:lw,L:Tv,m:sw,M:fw,p:De,q:io,Q:rs,s:ns,S:dw,u:vw,U:hw,V:pw,w:mw,W:yw,x:null,X:null,y:gw,Y:ww,Z:Ow,"%":ts},P={a:T,A:M,b:_,B:L,c:$,d:Zc,e:Zc,f:zb,g:Xc,G:Vc,H:Qc,I:Qc,j:Nb,L:Rb,m:Db,M:$b,p:k,q:Tb,Q:Fb,s:Wb,S:Lb,u:jb,U:Cb,V:kb,w:Eb,W:Mb,x:F,X:H,y:Xc,Y:Vc,Z:Ib,"%":Bb};O.x=x(r,O),O.X=x(n,O),O.c=x(t,O),w.x=x(r,w),w.X=x(n,w),w.c=x(t,w);function x(E,R){return function(W){var C=[],Ne=-1,Z=0,We=E.length,Ke,er,mc;for(W instanceof Date||(W=new Date(+W));++Ne<We;)E.charCodeAt(Ne)===37&&(C.push(E.slice(Z,Ne)),(er=Gc[Ke=E.charAt(++Ne)])!=null?Ke=E.charAt(++Ne):er=Ke==="e"?" ":"0",(mc=R[Ke])&&(Ke=mc(W,er)),C.push(Ke),Z=Ne+1);return C.push(E.slice(Z,Ne)),C.join("")}}function A(E,R){return function(W){var C=tn(1900,void 0,1),Ne=j(C,E,W+="",0),Z,We;if(Ne!=W.length)return null;if("Q"in C)return new Date(C.Q);if("s"in C)return new Date(C.s*1e3+("L"in C?C.L:0));if(R&&!("Z"in C)&&(C.Z=0),"p"in C&&(C.H=C.H%12+C.p*12),C.m===void 0&&(C.m="q"in C?C.q:0),"V"in C){if(C.V<1||C.V>53)return null;"w"in C||(C.w=1),"Z"in C?(Z=po(tn(C.y,0,1)),We=Z.getUTCDay(),Z=We>4||We===0?ki.ceil(Z):ki(Z),Z=pa.offset(Z,(C.V-1)*7),C.y=Z.getUTCFullYear(),C.m=Z.getUTCMonth(),C.d=Z.getUTCDate()+(C.w+6)%7):(Z=ho(tn(C.y,0,1)),We=Z.getDay(),Z=We>4||We===0?Ci.ceil(Z):Ci(Z),Z=In.offset(Z,(C.V-1)*7),C.y=Z.getFullYear(),C.m=Z.getMonth(),C.d=Z.getDate()+(C.w+6)%7)}else("W"in C||"U"in C)&&("w"in C||(C.w="u"in C?C.u%7:"W"in C?1:0),We="Z"in C?po(tn(C.y,0,1)).getUTCDay():ho(tn(C.y,0,1)).getDay(),C.m=0,C.d="W"in C?(C.w+6)%7+C.W*7-(We+5)%7:C.w+C.U*7-(We+6)%7);return"Z"in C?(C.H+=C.Z/100|0,C.M+=C.Z%100,po(C)):ho(C)}}function j(E,R,W,C){for(var Ne=0,Z=R.length,We=W.length,Ke,er;Ne<Z;){if(C>=We)return-1;if(Ke=R.charCodeAt(Ne++),Ke===37){if(Ke=R.charAt(Ne++),er=P[Ke in Gc?R.charAt(Ne++):Ke],!er||(C=er(E,W,C))<0)return-1}else if(Ke!=W.charCodeAt(C++))return-1}return C}function k(E,R,W){var C=s.exec(R.slice(W));return C?(E.p=c.get(C[0].toLowerCase()),W+C[0].length):-1}function T(E,R,W){var C=v.exec(R.slice(W));return C?(E.w=h.get(C[0].toLowerCase()),W+C[0].length):-1}function M(E,R,W){var C=f.exec(R.slice(W));return C?(E.w=d.get(C[0].toLowerCase()),W+C[0].length):-1}function _(E,R,W){var C=g.exec(R.slice(W));return C?(E.m=b.get(C[0].toLowerCase()),W+C[0].length):-1}function L(E,R,W){var C=y.exec(R.slice(W));return C?(E.m=m.get(C[0].toLowerCase()),W+C[0].length):-1}function $(E,R,W){return j(E,t,R,W)}function F(E,R,W){return j(E,r,R,W)}function H(E,R,W){return j(E,n,R,W)}function z(E){return o[E.getDay()]}function Y(E){return a[E.getDay()]}function U(E){return l[E.getMonth()]}function V(E){return u[E.getMonth()]}function fe(E){return i[+(E.getHours()>=12)]}function Ee(E){return 1+~~(E.getMonth()/3)}function rt(E){return o[E.getUTCDay()]}function Te(E){return a[E.getUTCDay()]}function Jt(E){return l[E.getUTCMonth()]}function Jr(E){return u[E.getUTCMonth()]}function De(E){return i[+(E.getUTCHours()>=12)]}function io(E){return 1+~~(E.getUTCMonth()/3)}return{format:function(E){var R=x(E+="",O);return R.toString=function(){return E},R},parse:function(E){var R=A(E+="",!1);return R.toString=function(){return E},R},utcFormat:function(E){var R=x(E+="",w);return R.toString=function(){return E},R},utcParse:function(E){var R=A(E+="",!0);return R.toString=function(){return E},R}}}var Gc={"-":"",_:" ",0:"0"},me=/^\s*\d+/,Sb=/^%/,Ab=/[\\^$*+?|[\]().{}]/g;function K(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function _b(e){return e.replace(Ab,"\\$&")}function rn(e){return new RegExp("^(?:"+e.map(_b).join("|")+")","i")}function nn(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function Eb(e,t,r){var n=me.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function jb(e,t,r){var n=me.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Cb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function kb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Mb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function Vc(e,t,r){var n=me.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function Xc(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Ib(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Tb(e,t,r){var n=me.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function Db(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Zc(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Nb(e,t,r){var n=me.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Qc(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function $b(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Lb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Rb(e,t,r){var n=me.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function zb(e,t,r){var n=me.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Bb(e,t,r){var n=Sb.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Fb(e,t,r){var n=me.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Wb(e,t,r){var n=me.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Jc(e,t){return K(e.getDate(),t,2)}function Kb(e,t){return K(e.getHours(),t,2)}function Ub(e,t){return K(e.getHours()%12||12,t,2)}function Hb(e,t){return K(1+In.count(Et(e),e),t,3)}function Mv(e,t){return K(e.getMilliseconds(),t,3)}function qb(e,t){return Mv(e,t)+"000"}function Yb(e,t){return K(e.getMonth()+1,t,2)}function Gb(e,t){return K(e.getMinutes(),t,2)}function Vb(e,t){return K(e.getSeconds(),t,2)}function Xb(e){var t=e.getDay();return t===0?7:t}function Zb(e,t){return K(ma.count(Et(e)-1,e),t,2)}function Iv(e){var t=e.getDay();return t>=4||t===0?Tr(e):Tr.ceil(e)}function Qb(e,t){return e=Iv(e),K(Tr.count(Et(e),e)+(Et(e).getDay()===4),t,2)}function Jb(e){return e.getDay()}function ew(e,t){return K(Ci.count(Et(e)-1,e),t,2)}function tw(e,t){return K(e.getFullYear()%100,t,2)}function rw(e,t){return e=Iv(e),K(e.getFullYear()%100,t,2)}function nw(e,t){return K(e.getFullYear()%1e4,t,4)}function iw(e,t){var r=e.getDay();return e=r>=4||r===0?Tr(e):Tr.ceil(e),K(e.getFullYear()%1e4,t,4)}function aw(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+K(t/60|0,"0",2)+K(t%60,"0",2)}function es(e,t){return K(e.getUTCDate(),t,2)}function ow(e,t){return K(e.getUTCHours(),t,2)}function uw(e,t){return K(e.getUTCHours()%12||12,t,2)}function lw(e,t){return K(1+pa.count(jt(e),e),t,3)}function Tv(e,t){return K(e.getUTCMilliseconds(),t,3)}function cw(e,t){return Tv(e,t)+"000"}function sw(e,t){return K(e.getUTCMonth()+1,t,2)}function fw(e,t){return K(e.getUTCMinutes(),t,2)}function dw(e,t){return K(e.getUTCSeconds(),t,2)}function vw(e){var t=e.getUTCDay();return t===0?7:t}function hw(e,t){return K(ya.count(jt(e)-1,e),t,2)}function Dv(e){var t=e.getUTCDay();return t>=4||t===0?Dr(e):Dr.ceil(e)}function pw(e,t){return e=Dv(e),K(Dr.count(jt(e),e)+(jt(e).getUTCDay()===4),t,2)}function mw(e){return e.getUTCDay()}function yw(e,t){return K(ki.count(jt(e)-1,e),t,2)}function gw(e,t){return K(e.getUTCFullYear()%100,t,2)}function bw(e,t){return e=Dv(e),K(e.getUTCFullYear()%100,t,2)}function ww(e,t){return K(e.getUTCFullYear()%1e4,t,4)}function xw(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Dr(e):Dr.ceil(e),K(e.getUTCFullYear()%1e4,t,4)}function Ow(){return"+0000"}function ts(){return"%"}function rs(e){return+e}function ns(e){return Math.floor(+e/1e3)}var Pr,Nv,$v;Pw({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 Pw(e){return Pr=Pb(e),Nv=Pr.format,Pr.parse,$v=Pr.utcFormat,Pr.utcParse,Pr}function Sw(e){return new Date(e)}function Aw(e){return e instanceof Date?+e:+new Date(+e)}function Qu(e,t,r,n,i,a,o,u,l,s){var c=Ru(),f=c.invert,d=c.domain,v=s(".%L"),h=s(":%S"),y=s("%I:%M"),m=s("%I %p"),g=s("%a %d"),b=s("%b %d"),O=s("%B"),w=s("%Y");function P(x){return(l(x)<x?v:u(x)<x?h:o(x)<x?y:a(x)<x?m:n(x)<x?i(x)<x?g:b:r(x)<x?O:w)(x)}return c.invert=function(x){return new Date(f(x))},c.domain=function(x){return arguments.length?d(Array.from(x,Aw)):d().map(Sw)},c.ticks=function(x){var A=d();return e(A[0],A[A.length-1],x??10)},c.tickFormat=function(x,A){return A==null?P:s(A)},c.nice=function(x){var A=d();return(!x||typeof x.range!="function")&&(x=t(A[0],A[A.length-1],x??10)),x?d(Ov(A,x)):c},c.copy=function(){return Mn(c,Qu(e,t,r,n,i,a,o,u,l,s))},c}function _w(){return tt.apply(Qu(xb,Ob,Et,Xu,ma,In,Gu,qu,or,Nv).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Ew(){return tt.apply(Qu(bb,wb,jt,Zu,ya,pa,Vu,Yu,or,$v).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ga(){var e=0,t=1,r,n,i,a,o=Ce,u=!1,l;function s(f){return f==null||isNaN(f=+f)?l:o(i===0?.5:(f=(a(f)-r)*i,u?Math.max(0,Math.min(1,f)):f))}s.domain=function(f){return arguments.length?([e,t]=f,r=a(e=+e),n=a(t=+t),i=r===n?0:1/(n-r),s):[e,t]},s.clamp=function(f){return arguments.length?(u=!!f,s):u},s.interpolator=function(f){return arguments.length?(o=f,s):o};function c(f){return function(d){var v,h;return arguments.length?([v,h]=d,o=f(v,h),s):[o(0),o(1)]}}return s.range=c(Wr),s.rangeRound=c(Lu),s.unknown=function(f){return arguments.length?(l=f,s):l},function(f){return a=f,r=f(e),n=f(t),i=r===n?0:1/(n-r),s}}function Zt(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Lv(){var e=Xt(ga()(Ce));return e.copy=function(){return Zt(e,Lv())},Nt.apply(e,arguments)}function Rv(){var e=Fu(ga()).domain([1,10]);return e.copy=function(){return Zt(e,Rv()).base(e.base())},Nt.apply(e,arguments)}function zv(){var e=Wu(ga());return e.copy=function(){return Zt(e,zv()).constant(e.constant())},Nt.apply(e,arguments)}function Ju(){var e=Ku(ga());return e.copy=function(){return Zt(e,Ju()).exponent(e.exponent())},Nt.apply(e,arguments)}function jw(){return Ju.apply(null,arguments).exponent(.5)}function Bv(){var e=[],t=Ce;function r(n){if(n!=null&&!isNaN(n=+n))return t((Cn(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let i of n)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(Yt),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,i)=>t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>v0(e,a/n))},r.copy=function(){return Bv(t).domain(e)},Nt.apply(r,arguments)}function ba(){var e=0,t=.5,r=1,n=1,i,a,o,u,l,s=Ce,c,f=!1,d;function v(y){return isNaN(y=+y)?d:(y=.5+((y=+c(y))-a)*(n*y<n*a?u:l),s(f?Math.max(0,Math.min(1,y)):y))}v.domain=function(y){return arguments.length?([e,t,r]=y,i=c(e=+e),a=c(t=+t),o=c(r=+r),u=i===a?0:.5/(a-i),l=a===o?0:.5/(o-a),n=a<i?-1:1,v):[e,t,r]},v.clamp=function(y){return arguments.length?(f=!!y,v):f},v.interpolator=function(y){return arguments.length?(s=y,v):s};function h(y){return function(m){var g,b,O;return arguments.length?([g,b,O]=m,s=B0(y,[g,b,O]),v):[s(0),s(.5),s(1)]}}return v.range=h(Wr),v.rangeRound=h(Lu),v.unknown=function(y){return arguments.length?(d=y,v):d},function(y){return c=y,i=y(e),a=y(t),o=y(r),u=i===a?0:.5/(a-i),l=a===o?0:.5/(o-a),n=a<i?-1:1,v}}function Fv(){var e=Xt(ba()(Ce));return e.copy=function(){return Zt(e,Fv())},Nt.apply(e,arguments)}function Wv(){var e=Fu(ba()).domain([.1,1,10]);return e.copy=function(){return Zt(e,Wv()).base(e.base())},Nt.apply(e,arguments)}function Kv(){var e=Wu(ba());return e.copy=function(){return Zt(e,Kv()).constant(e.constant())},Nt.apply(e,arguments)}function el(){var e=Ku(ba());return e.copy=function(){return Zt(e,el()).exponent(e.exponent())},Nt.apply(e,arguments)}function Cw(){return el.apply(null,arguments).exponent(.5)}var Kr=1e9,kw={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},rl,ne=!0,Je="[DecimalError] ",sr=Je+"Invalid argument: ",tl=Je+"Exponent out of range: ",Ur=Math.floor,nr=Math.pow,Mw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ue,he=1e7,ee=7,Uv=9007199254740991,Mi=Ur(Uv/ee),I={};I.absoluteValue=I.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};I.comparedTo=I.cmp=function(e){var t,r,n,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=n<i?n:i;t<r;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};I.decimalPlaces=I.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ee;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};I.dividedBy=I.div=function(e){return St(this,new this.constructor(e))};I.dividedToIntegerBy=I.idiv=function(e){var t=this,r=t.constructor;return X(St(t,new r(e),0,1),r.precision)};I.equals=I.eq=function(e){return!this.cmp(e)};I.exponent=function(){return oe(this)};I.greaterThan=I.gt=function(e){return this.cmp(e)>0};I.greaterThanOrEqualTo=I.gte=function(e){return this.cmp(e)>=0};I.isInteger=I.isint=function(){return this.e>this.d.length-2};I.isNegative=I.isneg=function(){return this.s<0};I.isPositive=I.ispos=function(){return this.s>0};I.isZero=function(){return this.s===0};I.lessThan=I.lt=function(e){return this.cmp(e)<0};I.lessThanOrEqualTo=I.lte=function(e){return this.cmp(e)<1};I.logarithm=I.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Ue))throw Error(Je+"NaN");if(r.s<1)throw Error(Je+(r.s?"NaN":"-Infinity"));return r.eq(Ue)?new n(0):(ne=!1,t=St(gn(r,a),gn(e,a),a),ne=!0,X(t,i))};I.minus=I.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Yv(t,e):Hv(t,(e.s=-e.s,e))};I.modulo=I.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(Je+"NaN");return r.s?(ne=!1,t=St(r,e,0,1).times(e),ne=!0,r.minus(t)):X(new n(r),i)};I.naturalExponential=I.exp=function(){return qv(this)};I.naturalLogarithm=I.ln=function(){return gn(this)};I.negated=I.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};I.plus=I.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Hv(t,e):Yv(t,(e.s=-e.s,e))};I.precision=I.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(sr+e);if(t=oe(i)+1,n=i.d.length-1,r=n*ee+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};I.squareRoot=I.sqrt=function(){var e,t,r,n,i,a,o,u=this,l=u.constructor;if(u.s<1){if(!u.s)return new l(0);throw Error(Je+"NaN")}for(e=oe(u),ne=!1,i=Math.sqrt(+u),i==0||i==1/0?(t=vt(u.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=Ur((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new l(t)):n=new l(i.toString()),r=l.precision,i=o=r+3;;)if(a=n,n=a.plus(St(u,a,o+2)).times(.5),vt(a.d).slice(0,o)===(t=vt(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(X(a,r+1,0),a.times(a).eq(u)){n=a;break}}else if(t!="9999")break;o+=4}return ne=!0,X(n,r)};I.times=I.mul=function(e){var t,r,n,i,a,o,u,l,s,c=this,f=c.constructor,d=c.d,v=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,r=c.e+e.e,l=d.length,s=v.length,l<s&&(a=d,d=v,v=a,o=l,l=s,s=o),a=[],o=l+s,n=o;n--;)a.push(0);for(n=s;--n>=0;){for(t=0,i=l+n;i>n;)u=a[i]+v[n]*d[i-n-1]+t,a[i--]=u%he|0,t=u/he|0;a[i]=(a[i]+t)%he|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,ne?X(e,f.precision):e};I.toDecimalPlaces=I.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(mt(e,0,Kr),t===void 0?t=n.rounding:mt(t,0,8),X(r,e+oe(r)+1,t))};I.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=vr(n,!0):(mt(e,0,Kr),t===void 0?t=i.rounding:mt(t,0,8),n=X(new i(n),e+1,t),r=vr(n,!0,e+1)),r};I.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?vr(i):(mt(e,0,Kr),t===void 0?t=a.rounding:mt(t,0,8),n=X(new a(i),e+oe(i)+1,t),r=vr(n.abs(),!1,e+oe(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};I.toInteger=I.toint=function(){var e=this,t=e.constructor;return X(new t(e),oe(e)+1,t.rounding)};I.toNumber=function(){return+this};I.toPower=I.pow=function(e){var t,r,n,i,a,o,u=this,l=u.constructor,s=12,c=+(e=new l(e));if(!e.s)return new l(Ue);if(u=new l(u),!u.s){if(e.s<1)throw Error(Je+"Infinity");return u}if(u.eq(Ue))return u;if(n=l.precision,e.eq(Ue))return X(u,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=u.s,o){if((r=c<0?-c:c)<=Uv){for(i=new l(Ue),t=Math.ceil(n/ee+4),ne=!1;r%2&&(i=i.times(u),as(i.d,t)),r=Ur(r/2),r!==0;)u=u.times(u),as(u.d,t);return ne=!0,e.s<0?new l(Ue).div(i):X(i,n)}}else if(a<0)throw Error(Je+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,u.s=1,ne=!1,i=e.times(gn(u,n+s)),ne=!0,i=qv(i),i.s=a,i};I.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=oe(i),n=vr(i,r<=a.toExpNeg||r>=a.toExpPos)):(mt(e,1,Kr),t===void 0?t=a.rounding:mt(t,0,8),i=X(new a(i),e,t),r=oe(i),n=vr(i,e<=r||r<=a.toExpNeg,e)),n};I.toSignificantDigits=I.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(mt(e,1,Kr),t===void 0?t=n.rounding:mt(t,0,8)),X(new n(r),e,t)};I.toString=I.valueOf=I.val=I.toJSON=I[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=oe(e),r=e.constructor;return vr(e,t<=r.toExpNeg||t>=r.toExpPos)};function Hv(e,t){var r,n,i,a,o,u,l,s,c=e.constructor,f=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),ne?X(t,f):t;if(l=e.d,s=t.d,o=e.e,i=t.e,l=l.slice(),a=o-i,a){for(a<0?(n=l,a=-a,u=s.length):(n=s,i=o,u=l.length),o=Math.ceil(f/ee),u=o>u?o+1:u+1,a>u&&(a=u,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(u=l.length,a=s.length,u-a<0&&(a=u,n=s,s=l,l=n),r=0;a;)r=(l[--a]=l[a]+s[a]+r)/he|0,l[a]%=he;for(r&&(l.unshift(r),++i),u=l.length;l[--u]==0;)l.pop();return t.d=l,t.e=i,ne?X(t,f):t}function mt(e,t,r){if(e!==~~e||e<t||e>r)throw Error(sr+e)}function vt(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)n=e[t]+"",r=ee-n.length,r&&(a+=Kt(r)),a+=n;o=e[t],n=o+"",r=ee-n.length,r&&(a+=Kt(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}var St=function(){function e(n,i){var a,o=0,u=n.length;for(n=n.slice();u--;)a=n[u]*i+o,n[u]=a%he|0,o=a/he|0;return o&&n.unshift(o),n}function t(n,i,a,o){var u,l;if(a!=o)l=a>o?1:-1;else for(u=l=0;u<a;u++)if(n[u]!=i[u]){l=n[u]>i[u]?1:-1;break}return l}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]<i[a]?1:0,n[a]=o*he+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o){var u,l,s,c,f,d,v,h,y,m,g,b,O,w,P,x,A,j,k=n.constructor,T=n.s==i.s?1:-1,M=n.d,_=i.d;if(!n.s)return new k(n);if(!i.s)throw Error(Je+"Division by zero");for(l=n.e-i.e,A=_.length,P=M.length,v=new k(T),h=v.d=[],s=0;_[s]==(M[s]||0);)++s;if(_[s]>(M[s]||0)&&--l,a==null?b=a=k.precision:o?b=a+(oe(n)-oe(i))+1:b=a,b<0)return new k(0);if(b=b/ee+2|0,s=0,A==1)for(c=0,_=_[0],b++;(s<P||c)&&b--;s++)O=c*he+(M[s]||0),h[s]=O/_|0,c=O%_|0;else{for(c=he/(_[0]+1)|0,c>1&&(_=e(_,c),M=e(M,c),A=_.length,P=M.length),w=A,y=M.slice(0,A),m=y.length;m<A;)y[m++]=0;j=_.slice(),j.unshift(0),x=_[0],_[1]>=he/2&&++x;do c=0,u=t(_,y,A,m),u<0?(g=y[0],A!=m&&(g=g*he+(y[1]||0)),c=g/x|0,c>1?(c>=he&&(c=he-1),f=e(_,c),d=f.length,m=y.length,u=t(f,y,d,m),u==1&&(c--,r(f,A<d?j:_,d))):(c==0&&(u=c=1),f=_.slice()),d=f.length,d<m&&f.unshift(0),r(y,f,m),u==-1&&(m=y.length,u=t(_,y,A,m),u<1&&(c++,r(y,A<m?j:_,m))),m=y.length):u===0&&(c++,y=[0]),h[s++]=c,u&&y[0]?y[m++]=M[w]||0:(y=[M[w]],m=1);while((w++<P||y[0]!==void 0)&&b--)}return h[0]||h.shift(),v.e=l,X(v,o?a+oe(v)+1:a)}}();function qv(e,t){var r,n,i,a,o,u,l=0,s=0,c=e.constructor,f=c.precision;if(oe(e)>16)throw Error(tl+oe(e));if(!e.s)return new c(Ue);for(ne=!1,u=f,o=new c(.03125);e.abs().gte(.1);)e=e.times(o),s+=5;for(n=Math.log(nr(2,s))/Math.LN10*2+5|0,u+=n,r=i=a=new c(Ue),c.precision=u;;){if(i=X(i.times(e),u),r=r.times(++l),o=a.plus(St(i,r,u)),vt(o.d).slice(0,u)===vt(a.d).slice(0,u)){for(;s--;)a=X(a.times(a),u);return c.precision=f,t==null?(ne=!0,X(a,f)):a}a=o}}function oe(e){for(var t=e.e*ee,r=e.d[0];r>=10;r/=10)t++;return t}function mo(e,t,r){if(t>e.LN10.sd())throw ne=!0,r&&(e.precision=r),Error(Je+"LN10 precision limit exceeded");return X(new e(e.LN10),t)}function Kt(e){for(var t="";e--;)t+="0";return t}function gn(e,t){var r,n,i,a,o,u,l,s,c,f=1,d=10,v=e,h=v.d,y=v.constructor,m=y.precision;if(v.s<1)throw Error(Je+(v.s?"NaN":"-Infinity"));if(v.eq(Ue))return new y(0);if(t==null?(ne=!1,s=m):s=t,v.eq(10))return t==null&&(ne=!0),mo(y,s);if(s+=d,y.precision=s,r=vt(h),n=r.charAt(0),a=oe(v),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)v=v.times(e),r=vt(v.d),n=r.charAt(0),f++;a=oe(v),n>1?(v=new y("0."+r),a++):v=new y(n+"."+r.slice(1))}else return l=mo(y,s+2,m).times(a+""),v=gn(new y(n+"."+r.slice(1)),s-d).plus(l),y.precision=m,t==null?(ne=!0,X(v,m)):v;for(u=o=v=St(v.minus(Ue),v.plus(Ue),s),c=X(v.times(v),s),i=3;;){if(o=X(o.times(c),s),l=u.plus(St(o,new y(i),s)),vt(l.d).slice(0,s)===vt(u.d).slice(0,s))return u=u.times(2),a!==0&&(u=u.plus(mo(y,s+2,m).times(a+""))),u=St(u,new y(f),s),y.precision=m,t==null?(ne=!0,X(u,m)):u;u=l,i+=2}}function is(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=Ur(r/ee),e.d=[],n=(r+1)%ee,r<0&&(n+=ee),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=ee;n<i;)e.d.push(+t.slice(n,n+=ee));t=t.slice(n),n=ee-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),ne&&(e.e>Mi||e.e<-Mi))throw Error(tl+r)}else e.s=0,e.e=0,e.d=[0];return e}function X(e,t,r){var n,i,a,o,u,l,s,c,f=e.d;for(o=1,a=f[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=ee,i=t,s=f[c=0];else{if(c=Math.ceil((n+1)/ee),a=f.length,c>=a)return e;for(s=a=f[c],o=1;a>=10;a/=10)o++;n%=ee,i=n-ee+o}if(r!==void 0&&(a=nr(10,o-i-1),u=s/a%10|0,l=t<0||f[c+1]!==void 0||s%a,l=r<4?(u||l)&&(r==0||r==(e.s<0?3:2)):u>5||u==5&&(r==4||l||r==6&&(n>0?i>0?s/nr(10,o-i):0:f[c-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return l?(a=oe(e),f.length=1,t=t-a-1,f[0]=nr(10,(ee-t%ee)%ee),e.e=Ur(-t/ee)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=c,a=1,c--):(f.length=c+1,a=nr(10,ee-n),f[c]=i>0?(s/nr(10,o-i)%nr(10,i)|0)*a:0),l)for(;;)if(c==0){(f[0]+=a)==he&&(f[0]=1,++e.e);break}else{if(f[c]+=a,f[c]!=he)break;f[c--]=0,a=1}for(n=f.length;f[--n]===0;)f.pop();if(ne&&(e.e>Mi||e.e<-Mi))throw Error(tl+oe(e));return e}function Yv(e,t){var r,n,i,a,o,u,l,s,c,f,d=e.constructor,v=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),ne?X(t,v):t;if(l=e.d,f=t.d,n=t.e,s=e.e,l=l.slice(),o=s-n,o){for(c=o<0,c?(r=l,o=-o,u=f.length):(r=f,n=s,u=l.length),i=Math.max(Math.ceil(v/ee),u)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=l.length,u=f.length,c=i<u,c&&(u=i),i=0;i<u;i++)if(l[i]!=f[i]){c=l[i]<f[i];break}o=0}for(c&&(r=l,l=f,f=r,t.s=-t.s),u=l.length,i=f.length-u;i>0;--i)l[u++]=0;for(i=f.length;i>o;){if(l[--i]<f[i]){for(a=i;a&&l[--a]===0;)l[a]=he-1;--l[a],l[i]+=he}l[i]-=f[i]}for(;l[--u]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(t.d=l,t.e=n,ne?X(t,v):t):new d(0)}function vr(e,t,r){var n,i=oe(e),a=vt(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+Kt(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+Kt(-i-1)+a,r&&(n=r-o)>0&&(a+=Kt(n))):i>=o?(a+=Kt(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+Kt(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=Kt(n))),e.s<0?"-"+a:a}function as(e,t){if(e.length>t)return e.length=t,!0}function Gv(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(sr+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return is(o,a.toString())}else if(typeof a!="string")throw Error(sr+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,Mw.test(a))is(o,a);else throw Error(sr+a)}if(i.prototype=I,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=Gv,i.config=i.set=Iw,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function Iw(e){if(!e||typeof e!="object")throw Error(Je+"Object expected");var t,r,n,i=["precision",1,Kr,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((n=e[r=i[t]])!==void 0)if(Ur(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(sr+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(sr+r+": "+n);return this}var rl=Gv(kw);Ue=new rl(1);const q=rl;var Tw="Invariant failed";function Dw(e,t){throw new Error(Tw)}var Nw=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function nl(e){if(typeof e!="string")return!1;var t=Nw;return t.includes(e)}var $w=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Lw=new Set($w);function Vv(e){return typeof e!="string"?!1:Lw.has(e)}function Xv(e){return typeof e=="string"&&e.startsWith("data-")}function Ct(e){if(typeof e!="object"||e===null)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Vv(r)||Xv(r))&&(t[r]=e[r]);return t}function il(e){if(e==null)return null;if(p.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return Ct(t)}return typeof e=="object"&&!Array.isArray(e)?Ct(e):null}function ze(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Vv(r)||Xv(r)||nl(r))&&(t[r]=e[r]);return t}function VT(e){return e==null?null:p.isValidElement(e)?ze(e.props):typeof e=="object"&&!Array.isArray(e)?ze(e):null}var Rw=["children","width","height","viewBox","className","style","title","desc"];function Bo(){return Bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bo.apply(null,arguments)}function zw(e,t){if(e==null)return{};var r,n,i=Bw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Bw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var al=p.forwardRef((e,t)=>{var{children:r,width:n,height:i,viewBox:a,className:o,style:u,title:l,desc:s}=e,c=zw(e,Rw),f=a||{width:n,height:i,x:0,y:0},d=J("recharts-surface",o);return p.createElement("svg",Bo({},ze(c),{className:d,width:n,height:i,style:u,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:t}),p.createElement("title",null,l),p.createElement("desc",null,s),r)}),Fw=["children","className"];function Fo(){return Fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fo.apply(null,arguments)}function Ww(e,t){if(e==null)return{};var r,n,i=Kw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Kw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var kt=p.forwardRef((e,t)=>{var{children:r,className:n}=e,i=Ww(e,Fw),a=J("recharts-layer",n);return p.createElement("g",Fo({className:a},ze(i),{ref:t}),r)}),Zv=p.createContext(null),Uw=()=>p.useContext(Zv),wa={},Qv={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==="__proto__"}e.isUnsafeProperty=t})(Qv);var ol={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){switch(typeof r){case"number":case"symbol":return!1;case"string":return r.includes(".")||r.includes("[")||r.includes("]")}}e.isDeepKey=t})(ol);var xa={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){var n;return typeof r=="string"||typeof r=="symbol"?r:Object.is((n=r==null?void 0:r.valueOf)==null?void 0:n.call(r),-0)?"-0":String(r)}e.toKey=t})(xa);var Oa={},Jv={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){if(r==null)return"";if(typeof r=="string")return r;if(Array.isArray(r))return r.map(t).join(",");const n=String(r);return n==="0"&&Object.is(Number(r),-0)?"-0":n}e.toString=t})(Jv);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Jv,r=xa;function n(i){if(Array.isArray(i))return i.map(r.toKey);if(typeof i=="symbol")return[i];i=t.toString(i);const a=[],o=i.length;if(o===0)return a;let u=0,l="",s="",c=!1;for(i.charCodeAt(0)===46&&(a.push(""),u++);u<o;){const f=i[u];s?f==="\\"&&u+1<o?(u++,l+=i[u]):f===s?s="":l+=f:c?f==='"'||f==="'"?s=f:f==="]"?(c=!1,a.push(l),l=""):l+=f:f==="["?(c=!0,l&&(a.push(l),l="")):f==="."?l&&(a.push(l),l=""):l+=f,u++}return l&&a.push(l),a}e.toPath=n})(Oa);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Qv,r=ol,n=xa,i=Oa;function a(u,l,s){if(u==null)return s;switch(typeof l){case"string":{if(t.isUnsafeProperty(l))return s;const c=u[l];return c===void 0?r.isDeepKey(l)?a(u,i.toPath(l),s):s:c}case"number":case"symbol":{typeof l=="number"&&(l=n.toKey(l));const c=u[l];return c===void 0?s:c}default:{if(Array.isArray(l))return o(u,l,s);if(Object.is(l==null?void 0:l.valueOf(),-0)?l="-0":l=String(l),t.isUnsafeProperty(l))return s;const c=u[l];return c===void 0?s:c}}}function o(u,l,s){if(l.length===0)return s;let c=u;for(let f=0;f<l.length;f++){if(c==null||t.isUnsafeProperty(l[f]))return s;c=c[l[f]]}return c===void 0?s:c}e.get=a})(wa);var Hw=wa.get;const Nr=Vt(Hw);var qw=4;function qt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qw,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function ae(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.reduce((i,a,o)=>{var u=r[o-1];return typeof u=="string"?i+u+a:u!==void 0?i+qt(u)+a:i+a},"")}var Le=e=>e===0?0:e>0?1:-1,yt=e=>typeof e=="number"&&e!=+e,hr=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,D=e=>(typeof e=="number"||e instanceof Number)&&!yt(e),gt=e=>D(e)||typeof e=="string",Yw=0,bn=e=>{var t=++Yw;return"".concat(e||"").concat(t)},ut=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!D(t)&&typeof t!="string")return n;var a;if(hr(t)){if(r==null)return n;var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return yt(a)&&(a=n),i&&r!=null&&a>r&&(a=r),a},eh=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++)if(!r[String(e[n])])r[String(e[n])]=!0;else return!0;return!1};function Oe(e,t,r){return D(e)&&D(t)?qt(e+r*(t-e)):t}function th(e,t,r){if(!(!e||!e.length))return e.find(n=>n&&(typeof t=="function"?t(n):Nr(n,t))===r)}var XT=e=>{for(var t=e.length,r=0,n=0,i=0,a=0,o=1/0,u=-1/0,l=0,s=0,c=0;c<t;c++){var f,d;l=((f=e[c])===null||f===void 0?void 0:f.cx)||0,s=((d=e[c])===null||d===void 0?void 0:d.cy)||0,r+=l,n+=s,i+=l*s,a+=l*l,o=Math.min(o,l),u=Math.max(u,l)}var v=t*a!==r*r?(t*i-r*n)/(t*a-r*r):0;return{xmin:o,xmax:u,a:v,b:(n-v*r)/t}},ue=e=>e===null||typeof e>"u",Tn=e=>ue(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function Re(e){return e!=null}function Hr(){}var Gw=["type","size","sizeType"];function Wo(){return Wo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wo.apply(null,arguments)}function os(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function us(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?os(Object(r),!0).forEach(function(n){Vw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):os(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Vw(e,t,r){return(t=Xw(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xw(e){var t=Zw(e,"string");return typeof t=="symbol"?t:t+""}function Zw(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qw(e,t){if(e==null)return{};var r,n,i=Jw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var rh={symbolCircle:Mu,symbolCross:jg,symbolDiamond:kg,symbolSquare:Mg,symbolStar:Ng,symbolTriangle:$g,symbolWye:Rg},ex=Math.PI/180,tx=e=>{var t="symbol".concat(Tn(e));return rh[t]||Mu},rx=(e,t,r)=>{if(t==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var n=18*ex;return 1.25*e*e*(Math.tan(n)-Math.tan(n*2)*Math.tan(n)**2)}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},nx=(e,t)=>{rh["symbol".concat(Tn(e))]=t},ul=e=>{var{type:t="circle",size:r=64,sizeType:n="area"}=e,i=Qw(e,Gw),a=us(us({},i),{},{type:t,size:r,sizeType:n}),o="circle";typeof t=="string"&&(o=t);var u=()=>{var d=tx(o),v=zg().type(d).size(rx(r,n,o)),h=v();if(h!==null)return h},{className:l,cx:s,cy:c}=a,f=ze(a);return D(s)&&D(c)&&D(r)?p.createElement("path",Wo({},f,{className:J("recharts-symbols",l),transform:"translate(".concat(s,", ").concat(c,")"),d:u()})):null};ul.registerSymbol=nx;var nh=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,ix=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(p.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(i=>{nl(i)&&(n[i]=a=>r[i](r,a))}),n},ax=(e,t,r)=>n=>(e(t,r,n),null),Pa=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(i=>{var a=e[i];nl(i)&&typeof a=="function"&&(n||(n={}),n[i]=ax(a,t,r))}),n},ZT=e=>Array.isArray(e)&&e.length>0;function ls(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ox(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ls(Object(r),!0).forEach(function(n){ux(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ls(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ux(e,t,r){return(t=lx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lx(e){var t=cx(e,"string");return typeof t=="symbol"?t:t+""}function cx(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Me(e,t){var r=ox({},e),n=t,i=Object.keys(t),a=i.reduce((o,u)=>(o[u]===void 0&&n[u]!==void 0&&(o[u]=n[u]),o),r);return a}function Ii(){return Ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ii.apply(null,arguments)}function cs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function sx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cs(Object(r),!0).forEach(function(n){fx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cs(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fx(e,t,r){return(t=dx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dx(e){var t=vx(e,"string");return typeof t=="symbol"?t:t+""}function vx(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ze=32,hx={align:"center",iconSize:14,inactiveColor:"#ccc",layout:"horizontal",verticalAlign:"middle"};function px(e){var{data:t,iconType:r,inactiveColor:n}=e,i=Ze/2,a=Ze/6,o=Ze/3,u=t.inactive?n:t.color,l=r??t.type;if(l==="none")return null;if(l==="plainline"){var s;return p.createElement("line",{strokeWidth:4,fill:"none",stroke:u,strokeDasharray:(s=t.payload)===null||s===void 0?void 0:s.strokeDasharray,x1:0,y1:i,x2:Ze,y2:i,className:"recharts-legend-icon"})}if(l==="line")return p.createElement("path",{strokeWidth:4,fill:"none",stroke:u,d:"M0,".concat(i,"h").concat(o,`
|
|
1
|
+
var gg=Object.defineProperty;var bg=(e,t,r)=>t in e?gg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ao=(e,t,r)=>bg(e,typeof t!="symbol"?t+"":t,r);import{r as p,k as J,l as Vt,s as wg,f as ju,m as xg,n as Og}from"./index-taqjqZHy.js";function Q(e){return function(){return e}}const Vd=Math.cos,mi=Math.sin,ct=Math.sqrt,yi=Math.PI,fa=2*yi,Co=Math.PI,ko=2*Co,rr=1e-6,Pg=ko-rr;function Xd(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function Sg(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Xd;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class Ag{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Xd:Sg(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,u=this._y1,l=n-t,s=i-r,c=o-t,f=u-r,d=c*c+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(d>rr)if(!(Math.abs(f*l-s*c)>rr)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let v=n-o,h=i-u,y=l*l+s*s,m=v*v+h*h,g=Math.sqrt(y),b=Math.sqrt(d),O=a*Math.tan((Co-Math.acos((y+d-m)/(2*g*b)))/2),w=O/b,P=O/g;Math.abs(w-1)>rr&&this._append`L${t+w*c},${r+w*f}`,this._append`A${a},${a},0,0,${+(f*v>c*h)},${this._x1=t+P*l},${this._y1=r+P*s}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(i),l=n*Math.sin(i),s=t+u,c=r+l,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${s},${c}`:(Math.abs(this._x1-s)>rr||Math.abs(this._y1-c)>rr)&&this._append`L${s},${c}`,n&&(d<0&&(d=d%ko+ko),d>Pg?this._append`A${n},${n},0,1,${f},${t-u},${r-l}A${n},${n},0,1,${f},${this._x1=s},${this._y1=c}`:d>rr&&this._append`A${n},${n},0,${+(d>=Co)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Cu(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new Ag(t)}function ku(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Zd(e){this._context=e}Zd.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function da(e){return new Zd(e)}function Qd(e){return e[0]}function Jd(e){return e[1]}function ev(e,t){var r=Q(!0),n=null,i=da,a=null,o=Cu(u);e=typeof e=="function"?e:e===void 0?Qd:Q(e),t=typeof t=="function"?t:t===void 0?Jd:Q(t);function u(l){var s,c=(l=ku(l)).length,f,d=!1,v;for(n==null&&(a=i(v=o())),s=0;s<=c;++s)!(s<c&&r(f=l[s],s,l))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,s,l),+t(f,s,l));if(v)return a=null,v+""||null}return u.x=function(l){return arguments.length?(e=typeof l=="function"?l:Q(+l),u):e},u.y=function(l){return arguments.length?(t=typeof l=="function"?l:Q(+l),u):t},u.defined=function(l){return arguments.length?(r=typeof l=="function"?l:Q(!!l),u):r},u.curve=function(l){return arguments.length?(i=l,n!=null&&(a=i(n)),u):i},u.context=function(l){return arguments.length?(l==null?n=a=null:a=i(n=l),u):n},u}function Yn(e,t,r){var n=null,i=Q(!0),a=null,o=da,u=null,l=Cu(s);e=typeof e=="function"?e:e===void 0?Qd:Q(+e),t=typeof t=="function"?t:Q(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?Jd:Q(+r);function s(f){var d,v,h,y=(f=ku(f)).length,m,g=!1,b,O=new Array(y),w=new Array(y);for(a==null&&(u=o(b=l())),d=0;d<=y;++d){if(!(d<y&&i(m=f[d],d,f))===g)if(g=!g)v=d,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),h=d-1;h>=v;--h)u.point(O[h],w[h]);u.lineEnd(),u.areaEnd()}g&&(O[d]=+e(m,d,f),w[d]=+t(m,d,f),u.point(n?+n(m,d,f):O[d],r?+r(m,d,f):w[d]))}if(b)return u=null,b+""||null}function c(){return ev().defined(i).curve(o).context(a)}return s.x=function(f){return arguments.length?(e=typeof f=="function"?f:Q(+f),n=null,s):e},s.x0=function(f){return arguments.length?(e=typeof f=="function"?f:Q(+f),s):e},s.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Q(+f),s):n},s.y=function(f){return arguments.length?(t=typeof f=="function"?f:Q(+f),r=null,s):t},s.y0=function(f){return arguments.length?(t=typeof f=="function"?f:Q(+f),s):t},s.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Q(+f),s):r},s.lineX0=s.lineY0=function(){return c().x(e).y(t)},s.lineY1=function(){return c().x(e).y(r)},s.lineX1=function(){return c().x(n).y(t)},s.defined=function(f){return arguments.length?(i=typeof f=="function"?f:Q(!!f),s):i},s.curve=function(f){return arguments.length?(o=f,a!=null&&(u=o(a)),s):o},s.context=function(f){return arguments.length?(f==null?a=u=null:u=o(a=f),s):a},s}class tv{constructor(t,r){this._context=t,this._x=r}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(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function _g(e){return new tv(e,!0)}function Eg(e){return new tv(e,!1)}const Mu={draw(e,t){const r=ct(t/yi);e.moveTo(r,0),e.arc(0,0,r,0,fa)}},jg={draw(e,t){const r=ct(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},rv=ct(1/3),Cg=rv*2,kg={draw(e,t){const r=ct(t/Cg),n=r*rv;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Mg={draw(e,t){const r=ct(t),n=-r/2;e.rect(n,n,r,r)}},Ig=.8908130915292852,nv=mi(yi/10)/mi(7*yi/10),Tg=mi(fa/10)*nv,Dg=-Vd(fa/10)*nv,Ng={draw(e,t){const r=ct(t*Ig),n=Tg*r,i=Dg*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=fa*a/5,u=Vd(o),l=mi(o);e.lineTo(l*r,-u*r),e.lineTo(u*n-l*i,l*n+u*i)}e.closePath()}},oo=ct(3),$g={draw(e,t){const r=-ct(t/(oo*3));e.moveTo(0,r*2),e.lineTo(-oo*r,-r),e.lineTo(oo*r,-r),e.closePath()}},Ge=-.5,Ve=ct(3)/2,Mo=1/ct(12),Lg=(Mo/2+1)*3,Rg={draw(e,t){const r=ct(t/Lg),n=r/2,i=r*Mo,a=n,o=r*Mo+r,u=-a,l=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(u,l),e.lineTo(Ge*n-Ve*i,Ve*n+Ge*i),e.lineTo(Ge*a-Ve*o,Ve*a+Ge*o),e.lineTo(Ge*u-Ve*l,Ve*u+Ge*l),e.lineTo(Ge*n+Ve*i,Ge*i-Ve*n),e.lineTo(Ge*a+Ve*o,Ge*o-Ve*a),e.lineTo(Ge*u+Ve*l,Ge*l-Ve*u),e.closePath()}};function zg(e,t){let r=null,n=Cu(i);e=typeof e=="function"?e:Q(e||Mu),t=typeof t=="function"?t:Q(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:Q(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:Q(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function gi(){}function bi(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function iv(e){this._context=e}iv.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:bi(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:bi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Bg(e){return new iv(e)}function av(e){this._context=e}av.prototype={areaStart:gi,areaEnd:gi,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:bi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Fg(e){return new av(e)}function ov(e){this._context=e}ov.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:bi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Wg(e){return new ov(e)}function uv(e){this._context=e}uv.prototype={areaStart:gi,areaEnd:gi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Kg(e){return new uv(e)}function yc(e){return e<0?-1:1}function gc(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),u=(a*i+o*n)/(n+i);return(yc(a)+yc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function bc(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function uo(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,u=(a-n)/3;e._context.bezierCurveTo(n+u,i+u*t,a-u,o-u*r,a,o)}function wi(e){this._context=e}wi.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:uo(this,this._t0,bc(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,uo(this,bc(this,r=gc(this,e,t)),r);break;default:uo(this,this._t0,r=gc(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function lv(e){this._context=new cv(e)}(lv.prototype=Object.create(wi.prototype)).point=function(e,t){wi.prototype.point.call(this,t,e)};function cv(e){this._context=e}cv.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function Ug(e){return new wi(e)}function Hg(e){return new lv(e)}function sv(e){this._context=e}sv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=wc(e),i=wc(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function wc(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function qg(e){return new sv(e)}function va(e,t){this._context=e,this._t=t}va.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function Yg(e){return new va(e,.5)}function Gg(e){return new va(e,0)}function Vg(e){return new va(e,1)}function dr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,u=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function Io(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function Xg(e,t){return e[t]}function Zg(e){const t=[];return t.key=e,t}function Qg(){var e=Q([]),t=Io,r=dr,n=Xg;function i(a){var o=Array.from(e.apply(this,arguments),Zg),u,l=o.length,s=-1,c;for(const f of a)for(u=0,++s;u<l;++u)(o[u][s]=[0,+n(f,o[u].key,s,a)]).data=f;for(u=0,c=ku(t(o));u<l;++u)o[c[u]].index=u;return r(o,c),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:Q(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:Q(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?Io:typeof a=="function"?a:Q(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??dr,i):r},i}function Jg(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}dr(e,t)}}function e0(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,u=0;o<i;++o)u+=e[o][r][1]||0;n[r][1]+=n[r][0]=-u/2}dr(e,t)}}function t0(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var u=0,l=0,s=0;u<o;++u){for(var c=e[t[u]],f=c[n][1]||0,d=c[n-1][1]||0,v=(f-d)/2,h=0;h<u;++h){var y=e[t[h]],m=y[n][1]||0,g=y[n-1][1]||0;v+=m-g}l+=f,s+=v*f}i[n-1][1]+=i[n-1][0]=r,l&&(r-=s/l)}i[n-1][1]+=i[n-1][0]=r,dr(e,t)}}function Yt(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function r0(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Iu(e){let t,r,n;e.length!==2?(t=Yt,r=(u,l)=>Yt(e(u),l),n=(u,l)=>e(u)-l):(t=e===Yt||e===r0?e:n0,r=e,n=e);function i(u,l,s=0,c=u.length){if(s<c){if(t(l,l)!==0)return c;do{const f=s+c>>>1;r(u[f],l)<0?s=f+1:c=f}while(s<c)}return s}function a(u,l,s=0,c=u.length){if(s<c){if(t(l,l)!==0)return c;do{const f=s+c>>>1;r(u[f],l)<=0?s=f+1:c=f}while(s<c)}return s}function o(u,l,s=0,c=u.length){const f=i(u,l,s,c-1);return f>s&&n(u[f-1],l)>-n(u[f],l)?f-1:f}return{left:i,center:o,right:a}}function n0(){return 0}function fv(e){return e===null?NaN:+e}function*i0(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const a0=Iu(Yt),Cn=a0.right;Iu(fv).center;class xc extends Map{constructor(t,r=l0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(Oc(this,t))}has(t){return super.has(Oc(this,t))}set(t,r){return super.set(o0(this,t),r)}delete(t){return super.delete(u0(this,t))}}function Oc({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function o0({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function u0({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function l0(e){return e!==null&&typeof e=="object"?e.valueOf():e}function c0(e=Yt){if(e===Yt)return dv;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function dv(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const s0=Math.sqrt(50),f0=Math.sqrt(10),d0=Math.sqrt(2);function xi(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=s0?10:a>=f0?5:a>=d0?2:1;let u,l,s;return i<0?(s=Math.pow(10,-i)/o,u=Math.round(e*s),l=Math.round(t*s),u/s<e&&++u,l/s>t&&--l,s=-s):(s=Math.pow(10,i)*o,u=Math.round(e/s),l=Math.round(t/s),u*s<e&&++u,l*s>t&&--l),l<u&&.5<=r&&r<2?xi(e,t,r*2):[u,l,s]}function To(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,a,o]=n?xi(t,e,r):xi(e,t,r);if(!(a>=i))return[];const u=a-i+1,l=new Array(u);if(n)if(o<0)for(let s=0;s<u;++s)l[s]=(a-s)/-o;else for(let s=0;s<u;++s)l[s]=(a-s)*o;else if(o<0)for(let s=0;s<u;++s)l[s]=(i+s)/-o;else for(let s=0;s<u;++s)l[s]=(i+s)*o;return l}function Do(e,t,r){return t=+t,e=+e,r=+r,xi(e,t,r)[2]}function No(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?Do(t,e,r):Do(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function Pc(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function Sc(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function vv(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?dv:c0(i);n>r;){if(n-r>600){const l=n-r+1,s=t-r+1,c=Math.log(l),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(l-f)/l)*(s-l/2<0?-1:1),v=Math.max(r,Math.floor(t-s*f/l+d)),h=Math.min(n,Math.floor(t+(l-s)*f/l+d));vv(e,t,v,h,i)}const a=e[t];let o=r,u=n;for(en(e,r,t),i(e[n],a)>0&&en(e,r,n);o<u;){for(en(e,o,u),++o,--u;i(e[o],a)<0;)++o;for(;i(e[u],a)>0;)--u}i(e[r],a)===0?en(e,r,u):(++u,en(e,u,n)),u<=t&&(r=u+1),t<=u&&(n=u-1)}return e}function en(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function v0(e,t,r){if(e=Float64Array.from(i0(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return Sc(e);if(t>=1)return Pc(e);var n,i=(n-1)*t,a=Math.floor(i),o=Pc(vv(e,a).subarray(0,a+1)),u=Sc(e.subarray(a+1));return o+(u-o)*(i-a)}}function h0(e,t,r=fv){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),u=+r(e[a+1],a+1,e);return o+(u-o)*(i-a)}}function p0(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n<i;)a[n]=e+n*r;return a}function tt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Nt(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const $o=Symbol("implicit");function Tu(){var e=new xc,t=[],r=[],n=$o;function i(a){let o=e.get(a);if(o===void 0){if(n!==$o)return n;e.set(a,o=t.push(a)-1)}return r[o%r.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new xc;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Tu(t,r).unknown(n)},tt.apply(i,arguments),i}function Du(){var e=Tu().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,a,o,u=!1,l=0,s=0,c=.5;delete e.unknown;function f(){var d=t().length,v=i<n,h=v?i:n,y=v?n:i;a=(y-h)/Math.max(1,d-l+s*2),u&&(a=Math.floor(a)),h+=(y-h-a*(d-l))*c,o=a*(1-l),u&&(h=Math.round(h),o=Math.round(o));var m=p0(d).map(function(g){return h+a*g});return r(v?m.reverse():m)}return e.domain=function(d){return arguments.length?(t(d),f()):t()},e.range=function(d){return arguments.length?([n,i]=d,n=+n,i=+i,f()):[n,i]},e.rangeRound=function(d){return[n,i]=d,n=+n,i=+i,u=!0,f()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(d){return arguments.length?(u=!!d,f()):u},e.padding=function(d){return arguments.length?(l=Math.min(1,s=+d),f()):l},e.paddingInner=function(d){return arguments.length?(l=Math.min(1,d),f()):l},e.paddingOuter=function(d){return arguments.length?(s=+d,f()):s},e.align=function(d){return arguments.length?(c=Math.max(0,Math.min(1,d)),f()):c},e.copy=function(){return Du(t(),[n,i]).round(u).paddingInner(l).paddingOuter(s).align(c)},tt.apply(f(),arguments)}function hv(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return hv(t())},e}function m0(){return hv(Du.apply(null,arguments).paddingInner(1))}function Nu(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function pv(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function kn(){}var hn=.7,Oi=1/hn,kr="\\s*([+-]?\\d+)\\s*",pn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",pt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",y0=/^#([0-9a-f]{3,8})$/,g0=new RegExp(`^rgb\\(${kr},${kr},${kr}\\)$`),b0=new RegExp(`^rgb\\(${pt},${pt},${pt}\\)$`),w0=new RegExp(`^rgba\\(${kr},${kr},${kr},${pn}\\)$`),x0=new RegExp(`^rgba\\(${pt},${pt},${pt},${pn}\\)$`),O0=new RegExp(`^hsl\\(${pn},${pt},${pt}\\)$`),P0=new RegExp(`^hsla\\(${pn},${pt},${pt},${pn}\\)$`),Ac={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};Nu(kn,mn,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:_c,formatHex:_c,formatHex8:S0,formatHsl:A0,formatRgb:Ec,toString:Ec});function _c(){return this.rgb().formatHex()}function S0(){return this.rgb().formatHex8()}function A0(){return mv(this).formatHsl()}function Ec(){return this.rgb().formatRgb()}function mn(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=y0.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?jc(t):r===3?new $e(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Gn(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Gn(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=g0.exec(e))?new $e(t[1],t[2],t[3],1):(t=b0.exec(e))?new $e(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=w0.exec(e))?Gn(t[1],t[2],t[3],t[4]):(t=x0.exec(e))?Gn(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=O0.exec(e))?Mc(t[1],t[2]/100,t[3]/100,1):(t=P0.exec(e))?Mc(t[1],t[2]/100,t[3]/100,t[4]):Ac.hasOwnProperty(e)?jc(Ac[e]):e==="transparent"?new $e(NaN,NaN,NaN,0):null}function jc(e){return new $e(e>>16&255,e>>8&255,e&255,1)}function Gn(e,t,r,n){return n<=0&&(e=t=r=NaN),new $e(e,t,r,n)}function _0(e){return e instanceof kn||(e=mn(e)),e?(e=e.rgb(),new $e(e.r,e.g,e.b,e.opacity)):new $e}function Lo(e,t,r,n){return arguments.length===1?_0(e):new $e(e,t,r,n??1)}function $e(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Nu($e,Lo,pv(kn,{brighter(e){return e=e==null?Oi:Math.pow(Oi,e),new $e(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?hn:Math.pow(hn,e),new $e(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new $e(cr(this.r),cr(this.g),cr(this.b),Pi(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:Cc,formatHex:Cc,formatHex8:E0,formatRgb:kc,toString:kc}));function Cc(){return`#${ar(this.r)}${ar(this.g)}${ar(this.b)}`}function E0(){return`#${ar(this.r)}${ar(this.g)}${ar(this.b)}${ar((isNaN(this.opacity)?1:this.opacity)*255)}`}function kc(){const e=Pi(this.opacity);return`${e===1?"rgb(":"rgba("}${cr(this.r)}, ${cr(this.g)}, ${cr(this.b)}${e===1?")":`, ${e})`}`}function Pi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function cr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ar(e){return e=cr(e),(e<16?"0":"")+e.toString(16)}function Mc(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new nt(e,t,r,n)}function mv(e){if(e instanceof nt)return new nt(e.h,e.s,e.l,e.opacity);if(e instanceof kn||(e=mn(e)),!e)return new nt;if(e instanceof nt)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,u=a-i,l=(a+i)/2;return u?(t===a?o=(r-n)/u+(r<n)*6:r===a?o=(n-t)/u+2:o=(t-r)/u+4,u/=l<.5?a+i:2-a-i,o*=60):u=l>0&&l<1?0:o,new nt(o,u,l,e.opacity)}function j0(e,t,r,n){return arguments.length===1?mv(e):new nt(e,t,r,n??1)}function nt(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Nu(nt,j0,pv(kn,{brighter(e){return e=e==null?Oi:Math.pow(Oi,e),new nt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?hn:Math.pow(hn,e),new nt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new $e(lo(e>=240?e-240:e+120,i,n),lo(e,i,n),lo(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new nt(Ic(this.h),Vn(this.s),Vn(this.l),Pi(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(){const e=Pi(this.opacity);return`${e===1?"hsl(":"hsla("}${Ic(this.h)}, ${Vn(this.s)*100}%, ${Vn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Ic(e){return e=(e||0)%360,e<0?e+360:e}function Vn(e){return Math.max(0,Math.min(1,e||0))}function lo(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const $u=e=>()=>e;function C0(e,t){return function(r){return e+r*t}}function k0(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function M0(e){return(e=+e)==1?yv:function(t,r){return r-t?k0(t,r,e):$u(isNaN(t)?r:t)}}function yv(e,t){var r=t-e;return r?C0(e,r):$u(isNaN(e)?t:e)}const Tc=function e(t){var r=M0(t);function n(i,a){var o=r((i=Lo(i)).r,(a=Lo(a)).r),u=r(i.g,a.g),l=r(i.b,a.b),s=yv(i.opacity,a.opacity);return function(c){return i.r=o(c),i.g=u(c),i.b=l(c),i.opacity=s(c),i+""}}return n.gamma=e,n}(1);function I0(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function T0(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function D0(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=Wr(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function N0(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Si(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function $0(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=Wr(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var Ro=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,co=new RegExp(Ro.source,"g");function L0(e){return function(){return e}}function R0(e){return function(t){return e(t)+""}}function z0(e,t){var r=Ro.lastIndex=co.lastIndex=0,n,i,a,o=-1,u=[],l=[];for(e=e+"",t=t+"";(n=Ro.exec(e))&&(i=co.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,l.push({i:o,x:Si(n,i)})),r=co.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?l[0]?R0(l[0].x):L0(t):(t=l.length,function(s){for(var c=0,f;c<t;++c)u[(f=l[c]).i]=f.x(s);return u.join("")})}function Wr(e,t){var r=typeof t,n;return t==null||r==="boolean"?$u(t):(r==="number"?Si:r==="string"?(n=mn(t))?(t=n,Tc):z0:t instanceof mn?Tc:t instanceof Date?N0:T0(t)?I0:Array.isArray(t)?D0:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?$0:Si)(e,t)}function Lu(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function B0(e,t){t===void 0&&(t=e,e=Wr);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function F0(e){return function(){return e}}function Ai(e){return+e}var Dc=[0,1];function Ce(e){return e}function zo(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:F0(isNaN(t)?NaN:.5)}function W0(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function K0(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=zo(i,n),a=r(o,a)):(n=zo(n,i),a=r(a,o)),function(u){return a(n(u))}}function U0(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),a=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=zo(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(u){var l=Cn(e,u,1,n)-1;return a[l](i[l](u))}}function Mn(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ha(){var e=Dc,t=Dc,r=Wr,n,i,a,o=Ce,u,l,s;function c(){var d=Math.min(e.length,t.length);return o!==Ce&&(o=W0(e[0],e[d-1])),u=d>2?U0:K0,l=s=null,f}function f(d){return d==null||isNaN(d=+d)?a:(l||(l=u(e.map(n),t,r)))(n(o(d)))}return f.invert=function(d){return o(i((s||(s=u(t,e.map(n),Si)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,Ai),c()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),c()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),r=Lu,c()},f.clamp=function(d){return arguments.length?(o=d?!0:Ce,c()):o!==Ce},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,v){return n=d,i=v,c()}}function Ru(){return ha()(Ce,Ce)}function H0(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function _i(e,t){if(!isFinite(e)||e===0)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Ir(e){return e=_i(Math.abs(e)),e?e[1]:NaN}function q0(e,t){return function(r,n){for(var i=r.length,a=[],o=0,u=e[0],l=0;i>0&&u>0&&(l+u+1>n&&(u=Math.max(1,n-l)),a.push(r.substring(i-=u,i+u)),!((l+=u+1)>n));)u=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Y0(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var G0=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yn(e){if(!(t=G0.exec(e)))throw new Error("invalid format: "+e);var t;return new zu({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}yn.prototype=zu.prototype;function zu(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}zu.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 V0(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var Ei;function X0(e,t){var r=_i(e,t);if(!r)return Ei=void 0,e.toPrecision(t);var n=r[0],i=r[1],a=i-(Ei=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+_i(e,Math.max(0,t+a-1))[0]}function Nc(e,t){var r=_i(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const $c={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:H0,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Nc(e*100,t),r:Nc,s:X0,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Lc(e){return e}var Rc=Array.prototype.map,zc=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Z0(e){var t=e.grouping===void 0||e.thousands===void 0?Lc:q0(Rc.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?Lc:Y0(Rc.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function s(f,d){f=yn(f);var v=f.fill,h=f.align,y=f.sign,m=f.symbol,g=f.zero,b=f.width,O=f.comma,w=f.precision,P=f.trim,x=f.type;x==="n"?(O=!0,x="g"):$c[x]||(w===void 0&&(w=12),P=!0,x="g"),(g||v==="0"&&h==="=")&&(g=!0,v="0",h="=");var A=(d&&d.prefix!==void 0?d.prefix:"")+(m==="$"?r:m==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():""),j=(m==="$"?n:/[%p]/.test(x)?o:"")+(d&&d.suffix!==void 0?d.suffix:""),k=$c[x],T=/[defgprs%]/.test(x);w=w===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function M(_){var L=A,$=j,F,H,z;if(x==="c")$=k(_)+$,_="";else{_=+_;var Y=_<0||1/_<0;if(_=isNaN(_)?l:k(Math.abs(_),w),P&&(_=V0(_)),Y&&+_==0&&y!=="+"&&(Y=!1),L=(Y?y==="("?y:u:y==="-"||y==="("?"":y)+L,$=(x==="s"&&!isNaN(_)&&Ei!==void 0?zc[8+Ei/3]:"")+$+(Y&&y==="("?")":""),T){for(F=-1,H=_.length;++F<H;)if(z=_.charCodeAt(F),48>z||z>57){$=(z===46?i+_.slice(F+1):_.slice(F))+$,_=_.slice(0,F);break}}}O&&!g&&(_=t(_,1/0));var U=L.length+_.length+$.length,V=U<b?new Array(b-U+1).join(v):"";switch(O&&g&&(_=t(V+_,V.length?b-$.length:1/0),V=""),h){case"<":_=L+_+$+V;break;case"=":_=L+V+_+$;break;case"^":_=V.slice(0,U=V.length>>1)+L+_+$+V.slice(U);break;default:_=V+L+_+$;break}return a(_)}return M.toString=function(){return f+""},M}function c(f,d){var v=Math.max(-8,Math.min(8,Math.floor(Ir(d)/3)))*3,h=Math.pow(10,-v),y=s((f=yn(f),f.type="f",f),{suffix:zc[8+v/3]});return function(m){return y(h*m)}}return{format:s,formatPrefix:c}}var Xn,Bu,gv;Q0({thousands:",",grouping:[3],currency:["$",""]});function Q0(e){return Xn=Z0(e),Bu=Xn.format,gv=Xn.formatPrefix,Xn}function J0(e){return Math.max(0,-Ir(Math.abs(e)))}function eb(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ir(t)/3)))*3-Ir(Math.abs(e)))}function tb(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ir(t)-Ir(e))+1}function bv(e,t,r,n){var i=No(e,t,r),a;switch(n=yn(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=eb(i,o))&&(n.precision=a),gv(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=tb(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=J0(i))&&(n.precision=a-(n.type==="%")*2);break}}return Bu(n)}function Xt(e){var t=e.domain;return e.ticks=function(r){var n=t();return To(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return bv(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],u=n[a],l,s,c=10;for(u<o&&(s=o,o=u,u=s,s=i,i=a,a=s);c-- >0;){if(s=Do(o,u,r),s===l)return n[i]=o,n[a]=u,t(n);if(s>0)o=Math.floor(o/s)*s,u=Math.ceil(u/s)*s;else if(s<0)o=Math.ceil(o*s)/s,u=Math.floor(u*s)/s;else break;l=s}return e},e}function wv(){var e=Ru();return e.copy=function(){return Mn(e,wv())},tt.apply(e,arguments),Xt(e)}function xv(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,Ai),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return xv(e).unknown(t)},e=arguments.length?Array.from(e,Ai):[0,1],Xt(r)}function Ov(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return a<i&&(o=r,r=n,n=o,o=i,i=a,a=o),e[r]=t.floor(i),e[n]=t.ceil(a),e}function Bc(e){return Math.log(e)}function Fc(e){return Math.exp(e)}function rb(e){return-Math.log(-e)}function nb(e){return-Math.exp(-e)}function ib(e){return isFinite(e)?+("1e"+e):e<0?0:e}function ab(e){return e===10?ib:e===Math.E?Math.exp:t=>Math.pow(e,t)}function ob(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function Wc(e){return(t,r)=>-e(-t,r)}function Fu(e){const t=e(Bc,Fc),r=t.domain;let n=10,i,a;function o(){return i=ob(n),a=ab(n),r()[0]<0?(i=Wc(i),a=Wc(a),e(rb,nb)):e(Bc,Fc),t}return t.base=function(u){return arguments.length?(n=+u,o()):n},t.domain=function(u){return arguments.length?(r(u),o()):r()},t.ticks=u=>{const l=r();let s=l[0],c=l[l.length-1];const f=c<s;f&&([s,c]=[c,s]);let d=i(s),v=i(c),h,y;const m=u==null?10:+u;let g=[];if(!(n%1)&&v-d<m){if(d=Math.floor(d),v=Math.ceil(v),s>0){for(;d<=v;++d)for(h=1;h<n;++h)if(y=d<0?h/a(-d):h*a(d),!(y<s)){if(y>c)break;g.push(y)}}else for(;d<=v;++d)for(h=n-1;h>=1;--h)if(y=d>0?h/a(-d):h*a(d),!(y<s)){if(y>c)break;g.push(y)}g.length*2<m&&(g=To(s,c,m))}else g=To(d,v,Math.min(v-d,m)).map(a);return f?g.reverse():g},t.tickFormat=(u,l)=>{if(u==null&&(u=10),l==null&&(l=n===10?"s":","),typeof l!="function"&&(!(n%1)&&(l=yn(l)).precision==null&&(l.trim=!0),l=Bu(l)),u===1/0)return l;const s=Math.max(1,n*u/t.ticks().length);return c=>{let f=c/a(Math.round(i(c)));return f*n<n-.5&&(f*=n),f<=s?l(c):""}},t.nice=()=>r(Ov(r(),{floor:u=>a(Math.floor(i(u))),ceil:u=>a(Math.ceil(i(u)))})),t}function Pv(){const e=Fu(ha()).domain([1,10]);return e.copy=()=>Mn(e,Pv()).base(e.base()),tt.apply(e,arguments),e}function Kc(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Uc(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Wu(e){var t=1,r=e(Kc(t),Uc(t));return r.constant=function(n){return arguments.length?e(Kc(t=+n),Uc(t)):t},Xt(r)}function Sv(){var e=Wu(ha());return e.copy=function(){return Mn(e,Sv()).constant(e.constant())},tt.apply(e,arguments)}function Hc(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function ub(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function lb(e){return e<0?-e*e:e*e}function Ku(e){var t=e(Ce,Ce),r=1;function n(){return r===1?e(Ce,Ce):r===.5?e(ub,lb):e(Hc(r),Hc(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},Xt(t)}function Uu(){var e=Ku(ha());return e.copy=function(){return Mn(e,Uu()).exponent(e.exponent())},tt.apply(e,arguments),e}function cb(){return Uu.apply(null,arguments).exponent(.5)}function qc(e){return Math.sign(e)*e*e}function sb(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Av(){var e=Ru(),t=[0,1],r=!1,n;function i(a){var o=sb(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(qc(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,Ai)).map(qc)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Av(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},tt.apply(i,arguments),Xt(i)}function _v(){var e=[],t=[],r=[],n;function i(){var o=0,u=Math.max(1,t.length);for(r=new Array(u-1);++o<u;)r[o-1]=h0(e,o/u);return a}function a(o){return o==null||isNaN(o=+o)?n:t[Cn(r,o)]}return a.invertExtent=function(o){var u=t.indexOf(o);return u<0?[NaN,NaN]:[u>0?r[u-1]:e[0],u<r.length?r[u]:e[e.length-1]]},a.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let u of o)u!=null&&!isNaN(u=+u)&&e.push(u);return e.sort(Yt),i()},a.range=function(o){return arguments.length?(t=Array.from(o),i()):t.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.quantiles=function(){return r.slice()},a.copy=function(){return _v().domain(e).range(t).unknown(n)},tt.apply(a,arguments)}function Ev(){var e=0,t=1,r=1,n=[.5],i=[0,1],a;function o(l){return l!=null&&l<=l?i[Cn(n,l,0,r)]:a}function u(){var l=-1;for(n=new Array(r);++l<r;)n[l]=((l+1)*t-(l-r)*e)/(r+1);return o}return o.domain=function(l){return arguments.length?([e,t]=l,e=+e,t=+t,u()):[e,t]},o.range=function(l){return arguments.length?(r=(i=Array.from(l)).length-1,u()):i.slice()},o.invertExtent=function(l){var s=i.indexOf(l);return s<0?[NaN,NaN]:s<1?[e,n[0]]:s>=r?[n[r-1],t]:[n[s-1],n[s]]},o.unknown=function(l){return arguments.length&&(a=l),o},o.thresholds=function(){return n.slice()},o.copy=function(){return Ev().domain([e,t]).range(i).unknown(a)},tt.apply(Xt(o),arguments)}function jv(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[Cn(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return jv().domain(e).range(t).unknown(r)},tt.apply(i,arguments)}const so=new Date,fo=new Date;function ce(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),u=i.ceil(a);return a-o<u-a?o:u},i.offset=(a,o)=>(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,u)=>{const l=[];if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return l;let s;do l.push(s=new Date(+a)),t(a,u),e(a);while(s<a&&a<o);return l},i.filter=a=>ce(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,u)=>{if(o>=o)if(u<0)for(;++u<=0;)for(;t(o,-1),!a(o););else for(;--u>=0;)for(;t(o,1),!a(o););}),r&&(i.count=(a,o)=>(so.setTime(+a),fo.setTime(+o),e(so),e(fo),Math.floor(r(so,fo))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const ji=ce(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);ji.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?ce(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):ji);ji.range;const Ot=1e3,Qe=Ot*60,Pt=Qe*60,_t=Pt*24,Hu=_t*7,Yc=_t*30,vo=_t*365,or=ce(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getUTCSeconds());or.range;const qu=ce(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ot)},(e,t)=>{e.setTime(+e+t*Qe)},(e,t)=>(t-e)/Qe,e=>e.getMinutes());qu.range;const Yu=ce(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Qe)},(e,t)=>(t-e)/Qe,e=>e.getUTCMinutes());Yu.range;const Gu=ce(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ot-e.getMinutes()*Qe)},(e,t)=>{e.setTime(+e+t*Pt)},(e,t)=>(t-e)/Pt,e=>e.getHours());Gu.range;const Vu=ce(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Pt)},(e,t)=>(t-e)/Pt,e=>e.getUTCHours());Vu.range;const In=ce(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Qe)/_t,e=>e.getDate()-1);In.range;const pa=ce(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_t,e=>e.getUTCDate()-1);pa.range;const Cv=ce(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_t,e=>Math.floor(e/_t));Cv.range;function br(e){return ce(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Qe)/Hu)}const ma=br(0),Ci=br(1),fb=br(2),db=br(3),Tr=br(4),vb=br(5),hb=br(6);ma.range;Ci.range;fb.range;db.range;Tr.range;vb.range;hb.range;function wr(e){return ce(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/Hu)}const ya=wr(0),ki=wr(1),pb=wr(2),mb=wr(3),Dr=wr(4),yb=wr(5),gb=wr(6);ya.range;ki.range;pb.range;mb.range;Dr.range;yb.range;gb.range;const Xu=ce(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Xu.range;const Zu=ce(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Zu.range;const Et=ce(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Et.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ce(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});Et.range;const jt=ce(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());jt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ce(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});jt.range;function kv(e,t,r,n,i,a){const o=[[or,1,Ot],[or,5,5*Ot],[or,15,15*Ot],[or,30,30*Ot],[a,1,Qe],[a,5,5*Qe],[a,15,15*Qe],[a,30,30*Qe],[i,1,Pt],[i,3,3*Pt],[i,6,6*Pt],[i,12,12*Pt],[n,1,_t],[n,2,2*_t],[r,1,Hu],[t,1,Yc],[t,3,3*Yc],[e,1,vo]];function u(s,c,f){const d=c<s;d&&([s,c]=[c,s]);const v=f&&typeof f.range=="function"?f:l(s,c,f),h=v?v.range(s,+c+1):[];return d?h.reverse():h}function l(s,c,f){const d=Math.abs(c-s)/f,v=Iu(([,,m])=>m).right(o,d);if(v===o.length)return e.every(No(s/vo,c/vo,f));if(v===0)return ji.every(Math.max(No(s,c,f),1));const[h,y]=o[d/o[v-1][2]<o[v][2]/d?v-1:v];return h.every(y)}return[u,l]}const[bb,wb]=kv(jt,Zu,ya,Cv,Vu,Yu),[xb,Ob]=kv(Et,Xu,ma,In,Gu,qu);function ho(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function po(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function tn(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function Pb(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,u=e.months,l=e.shortMonths,s=rn(i),c=nn(i),f=rn(a),d=nn(a),v=rn(o),h=nn(o),y=rn(u),m=nn(u),g=rn(l),b=nn(l),O={a:z,A:Y,b:U,B:V,c:null,d:Jc,e:Jc,f:qb,g:rw,G:iw,H:Kb,I:Ub,j:Hb,L:Mv,m:Yb,M:Gb,p:fe,q:Ee,Q:rs,s:ns,S:Vb,u:Xb,U:Zb,V:Qb,w:Jb,W:ew,x:null,X:null,y:tw,Y:nw,Z:aw,"%":ts},w={a:rt,A:Te,b:Jt,B:Jr,c:null,d:es,e:es,f:cw,g:bw,G:xw,H:ow,I:uw,j:lw,L:Tv,m:sw,M:fw,p:De,q:io,Q:rs,s:ns,S:dw,u:vw,U:hw,V:pw,w:mw,W:yw,x:null,X:null,y:gw,Y:ww,Z:Ow,"%":ts},P={a:T,A:M,b:_,B:L,c:$,d:Zc,e:Zc,f:zb,g:Xc,G:Vc,H:Qc,I:Qc,j:Nb,L:Rb,m:Db,M:$b,p:k,q:Tb,Q:Fb,s:Wb,S:Lb,u:jb,U:Cb,V:kb,w:Eb,W:Mb,x:F,X:H,y:Xc,Y:Vc,Z:Ib,"%":Bb};O.x=x(r,O),O.X=x(n,O),O.c=x(t,O),w.x=x(r,w),w.X=x(n,w),w.c=x(t,w);function x(E,R){return function(W){var C=[],Ne=-1,Z=0,We=E.length,Ke,er,mc;for(W instanceof Date||(W=new Date(+W));++Ne<We;)E.charCodeAt(Ne)===37&&(C.push(E.slice(Z,Ne)),(er=Gc[Ke=E.charAt(++Ne)])!=null?Ke=E.charAt(++Ne):er=Ke==="e"?" ":"0",(mc=R[Ke])&&(Ke=mc(W,er)),C.push(Ke),Z=Ne+1);return C.push(E.slice(Z,Ne)),C.join("")}}function A(E,R){return function(W){var C=tn(1900,void 0,1),Ne=j(C,E,W+="",0),Z,We;if(Ne!=W.length)return null;if("Q"in C)return new Date(C.Q);if("s"in C)return new Date(C.s*1e3+("L"in C?C.L:0));if(R&&!("Z"in C)&&(C.Z=0),"p"in C&&(C.H=C.H%12+C.p*12),C.m===void 0&&(C.m="q"in C?C.q:0),"V"in C){if(C.V<1||C.V>53)return null;"w"in C||(C.w=1),"Z"in C?(Z=po(tn(C.y,0,1)),We=Z.getUTCDay(),Z=We>4||We===0?ki.ceil(Z):ki(Z),Z=pa.offset(Z,(C.V-1)*7),C.y=Z.getUTCFullYear(),C.m=Z.getUTCMonth(),C.d=Z.getUTCDate()+(C.w+6)%7):(Z=ho(tn(C.y,0,1)),We=Z.getDay(),Z=We>4||We===0?Ci.ceil(Z):Ci(Z),Z=In.offset(Z,(C.V-1)*7),C.y=Z.getFullYear(),C.m=Z.getMonth(),C.d=Z.getDate()+(C.w+6)%7)}else("W"in C||"U"in C)&&("w"in C||(C.w="u"in C?C.u%7:"W"in C?1:0),We="Z"in C?po(tn(C.y,0,1)).getUTCDay():ho(tn(C.y,0,1)).getDay(),C.m=0,C.d="W"in C?(C.w+6)%7+C.W*7-(We+5)%7:C.w+C.U*7-(We+6)%7);return"Z"in C?(C.H+=C.Z/100|0,C.M+=C.Z%100,po(C)):ho(C)}}function j(E,R,W,C){for(var Ne=0,Z=R.length,We=W.length,Ke,er;Ne<Z;){if(C>=We)return-1;if(Ke=R.charCodeAt(Ne++),Ke===37){if(Ke=R.charAt(Ne++),er=P[Ke in Gc?R.charAt(Ne++):Ke],!er||(C=er(E,W,C))<0)return-1}else if(Ke!=W.charCodeAt(C++))return-1}return C}function k(E,R,W){var C=s.exec(R.slice(W));return C?(E.p=c.get(C[0].toLowerCase()),W+C[0].length):-1}function T(E,R,W){var C=v.exec(R.slice(W));return C?(E.w=h.get(C[0].toLowerCase()),W+C[0].length):-1}function M(E,R,W){var C=f.exec(R.slice(W));return C?(E.w=d.get(C[0].toLowerCase()),W+C[0].length):-1}function _(E,R,W){var C=g.exec(R.slice(W));return C?(E.m=b.get(C[0].toLowerCase()),W+C[0].length):-1}function L(E,R,W){var C=y.exec(R.slice(W));return C?(E.m=m.get(C[0].toLowerCase()),W+C[0].length):-1}function $(E,R,W){return j(E,t,R,W)}function F(E,R,W){return j(E,r,R,W)}function H(E,R,W){return j(E,n,R,W)}function z(E){return o[E.getDay()]}function Y(E){return a[E.getDay()]}function U(E){return l[E.getMonth()]}function V(E){return u[E.getMonth()]}function fe(E){return i[+(E.getHours()>=12)]}function Ee(E){return 1+~~(E.getMonth()/3)}function rt(E){return o[E.getUTCDay()]}function Te(E){return a[E.getUTCDay()]}function Jt(E){return l[E.getUTCMonth()]}function Jr(E){return u[E.getUTCMonth()]}function De(E){return i[+(E.getUTCHours()>=12)]}function io(E){return 1+~~(E.getUTCMonth()/3)}return{format:function(E){var R=x(E+="",O);return R.toString=function(){return E},R},parse:function(E){var R=A(E+="",!1);return R.toString=function(){return E},R},utcFormat:function(E){var R=x(E+="",w);return R.toString=function(){return E},R},utcParse:function(E){var R=A(E+="",!0);return R.toString=function(){return E},R}}}var Gc={"-":"",_:" ",0:"0"},me=/^\s*\d+/,Sb=/^%/,Ab=/[\\^$*+?|[\]().{}]/g;function K(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function _b(e){return e.replace(Ab,"\\$&")}function rn(e){return new RegExp("^(?:"+e.map(_b).join("|")+")","i")}function nn(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function Eb(e,t,r){var n=me.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function jb(e,t,r){var n=me.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Cb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function kb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Mb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function Vc(e,t,r){var n=me.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function Xc(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Ib(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Tb(e,t,r){var n=me.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function Db(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Zc(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Nb(e,t,r){var n=me.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Qc(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function $b(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Lb(e,t,r){var n=me.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Rb(e,t,r){var n=me.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function zb(e,t,r){var n=me.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Bb(e,t,r){var n=Sb.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Fb(e,t,r){var n=me.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Wb(e,t,r){var n=me.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Jc(e,t){return K(e.getDate(),t,2)}function Kb(e,t){return K(e.getHours(),t,2)}function Ub(e,t){return K(e.getHours()%12||12,t,2)}function Hb(e,t){return K(1+In.count(Et(e),e),t,3)}function Mv(e,t){return K(e.getMilliseconds(),t,3)}function qb(e,t){return Mv(e,t)+"000"}function Yb(e,t){return K(e.getMonth()+1,t,2)}function Gb(e,t){return K(e.getMinutes(),t,2)}function Vb(e,t){return K(e.getSeconds(),t,2)}function Xb(e){var t=e.getDay();return t===0?7:t}function Zb(e,t){return K(ma.count(Et(e)-1,e),t,2)}function Iv(e){var t=e.getDay();return t>=4||t===0?Tr(e):Tr.ceil(e)}function Qb(e,t){return e=Iv(e),K(Tr.count(Et(e),e)+(Et(e).getDay()===4),t,2)}function Jb(e){return e.getDay()}function ew(e,t){return K(Ci.count(Et(e)-1,e),t,2)}function tw(e,t){return K(e.getFullYear()%100,t,2)}function rw(e,t){return e=Iv(e),K(e.getFullYear()%100,t,2)}function nw(e,t){return K(e.getFullYear()%1e4,t,4)}function iw(e,t){var r=e.getDay();return e=r>=4||r===0?Tr(e):Tr.ceil(e),K(e.getFullYear()%1e4,t,4)}function aw(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+K(t/60|0,"0",2)+K(t%60,"0",2)}function es(e,t){return K(e.getUTCDate(),t,2)}function ow(e,t){return K(e.getUTCHours(),t,2)}function uw(e,t){return K(e.getUTCHours()%12||12,t,2)}function lw(e,t){return K(1+pa.count(jt(e),e),t,3)}function Tv(e,t){return K(e.getUTCMilliseconds(),t,3)}function cw(e,t){return Tv(e,t)+"000"}function sw(e,t){return K(e.getUTCMonth()+1,t,2)}function fw(e,t){return K(e.getUTCMinutes(),t,2)}function dw(e,t){return K(e.getUTCSeconds(),t,2)}function vw(e){var t=e.getUTCDay();return t===0?7:t}function hw(e,t){return K(ya.count(jt(e)-1,e),t,2)}function Dv(e){var t=e.getUTCDay();return t>=4||t===0?Dr(e):Dr.ceil(e)}function pw(e,t){return e=Dv(e),K(Dr.count(jt(e),e)+(jt(e).getUTCDay()===4),t,2)}function mw(e){return e.getUTCDay()}function yw(e,t){return K(ki.count(jt(e)-1,e),t,2)}function gw(e,t){return K(e.getUTCFullYear()%100,t,2)}function bw(e,t){return e=Dv(e),K(e.getUTCFullYear()%100,t,2)}function ww(e,t){return K(e.getUTCFullYear()%1e4,t,4)}function xw(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Dr(e):Dr.ceil(e),K(e.getUTCFullYear()%1e4,t,4)}function Ow(){return"+0000"}function ts(){return"%"}function rs(e){return+e}function ns(e){return Math.floor(+e/1e3)}var Pr,Nv,$v;Pw({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 Pw(e){return Pr=Pb(e),Nv=Pr.format,Pr.parse,$v=Pr.utcFormat,Pr.utcParse,Pr}function Sw(e){return new Date(e)}function Aw(e){return e instanceof Date?+e:+new Date(+e)}function Qu(e,t,r,n,i,a,o,u,l,s){var c=Ru(),f=c.invert,d=c.domain,v=s(".%L"),h=s(":%S"),y=s("%I:%M"),m=s("%I %p"),g=s("%a %d"),b=s("%b %d"),O=s("%B"),w=s("%Y");function P(x){return(l(x)<x?v:u(x)<x?h:o(x)<x?y:a(x)<x?m:n(x)<x?i(x)<x?g:b:r(x)<x?O:w)(x)}return c.invert=function(x){return new Date(f(x))},c.domain=function(x){return arguments.length?d(Array.from(x,Aw)):d().map(Sw)},c.ticks=function(x){var A=d();return e(A[0],A[A.length-1],x??10)},c.tickFormat=function(x,A){return A==null?P:s(A)},c.nice=function(x){var A=d();return(!x||typeof x.range!="function")&&(x=t(A[0],A[A.length-1],x??10)),x?d(Ov(A,x)):c},c.copy=function(){return Mn(c,Qu(e,t,r,n,i,a,o,u,l,s))},c}function _w(){return tt.apply(Qu(xb,Ob,Et,Xu,ma,In,Gu,qu,or,Nv).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Ew(){return tt.apply(Qu(bb,wb,jt,Zu,ya,pa,Vu,Yu,or,$v).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ga(){var e=0,t=1,r,n,i,a,o=Ce,u=!1,l;function s(f){return f==null||isNaN(f=+f)?l:o(i===0?.5:(f=(a(f)-r)*i,u?Math.max(0,Math.min(1,f)):f))}s.domain=function(f){return arguments.length?([e,t]=f,r=a(e=+e),n=a(t=+t),i=r===n?0:1/(n-r),s):[e,t]},s.clamp=function(f){return arguments.length?(u=!!f,s):u},s.interpolator=function(f){return arguments.length?(o=f,s):o};function c(f){return function(d){var v,h;return arguments.length?([v,h]=d,o=f(v,h),s):[o(0),o(1)]}}return s.range=c(Wr),s.rangeRound=c(Lu),s.unknown=function(f){return arguments.length?(l=f,s):l},function(f){return a=f,r=f(e),n=f(t),i=r===n?0:1/(n-r),s}}function Zt(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Lv(){var e=Xt(ga()(Ce));return e.copy=function(){return Zt(e,Lv())},Nt.apply(e,arguments)}function Rv(){var e=Fu(ga()).domain([1,10]);return e.copy=function(){return Zt(e,Rv()).base(e.base())},Nt.apply(e,arguments)}function zv(){var e=Wu(ga());return e.copy=function(){return Zt(e,zv()).constant(e.constant())},Nt.apply(e,arguments)}function Ju(){var e=Ku(ga());return e.copy=function(){return Zt(e,Ju()).exponent(e.exponent())},Nt.apply(e,arguments)}function jw(){return Ju.apply(null,arguments).exponent(.5)}function Bv(){var e=[],t=Ce;function r(n){if(n!=null&&!isNaN(n=+n))return t((Cn(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let i of n)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(Yt),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,i)=>t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>v0(e,a/n))},r.copy=function(){return Bv(t).domain(e)},Nt.apply(r,arguments)}function ba(){var e=0,t=.5,r=1,n=1,i,a,o,u,l,s=Ce,c,f=!1,d;function v(y){return isNaN(y=+y)?d:(y=.5+((y=+c(y))-a)*(n*y<n*a?u:l),s(f?Math.max(0,Math.min(1,y)):y))}v.domain=function(y){return arguments.length?([e,t,r]=y,i=c(e=+e),a=c(t=+t),o=c(r=+r),u=i===a?0:.5/(a-i),l=a===o?0:.5/(o-a),n=a<i?-1:1,v):[e,t,r]},v.clamp=function(y){return arguments.length?(f=!!y,v):f},v.interpolator=function(y){return arguments.length?(s=y,v):s};function h(y){return function(m){var g,b,O;return arguments.length?([g,b,O]=m,s=B0(y,[g,b,O]),v):[s(0),s(.5),s(1)]}}return v.range=h(Wr),v.rangeRound=h(Lu),v.unknown=function(y){return arguments.length?(d=y,v):d},function(y){return c=y,i=y(e),a=y(t),o=y(r),u=i===a?0:.5/(a-i),l=a===o?0:.5/(o-a),n=a<i?-1:1,v}}function Fv(){var e=Xt(ba()(Ce));return e.copy=function(){return Zt(e,Fv())},Nt.apply(e,arguments)}function Wv(){var e=Fu(ba()).domain([.1,1,10]);return e.copy=function(){return Zt(e,Wv()).base(e.base())},Nt.apply(e,arguments)}function Kv(){var e=Wu(ba());return e.copy=function(){return Zt(e,Kv()).constant(e.constant())},Nt.apply(e,arguments)}function el(){var e=Ku(ba());return e.copy=function(){return Zt(e,el()).exponent(e.exponent())},Nt.apply(e,arguments)}function Cw(){return el.apply(null,arguments).exponent(.5)}var Kr=1e9,kw={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},rl,ne=!0,Je="[DecimalError] ",sr=Je+"Invalid argument: ",tl=Je+"Exponent out of range: ",Ur=Math.floor,nr=Math.pow,Mw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ue,he=1e7,ee=7,Uv=9007199254740991,Mi=Ur(Uv/ee),I={};I.absoluteValue=I.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};I.comparedTo=I.cmp=function(e){var t,r,n,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=n<i?n:i;t<r;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};I.decimalPlaces=I.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ee;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};I.dividedBy=I.div=function(e){return St(this,new this.constructor(e))};I.dividedToIntegerBy=I.idiv=function(e){var t=this,r=t.constructor;return X(St(t,new r(e),0,1),r.precision)};I.equals=I.eq=function(e){return!this.cmp(e)};I.exponent=function(){return oe(this)};I.greaterThan=I.gt=function(e){return this.cmp(e)>0};I.greaterThanOrEqualTo=I.gte=function(e){return this.cmp(e)>=0};I.isInteger=I.isint=function(){return this.e>this.d.length-2};I.isNegative=I.isneg=function(){return this.s<0};I.isPositive=I.ispos=function(){return this.s>0};I.isZero=function(){return this.s===0};I.lessThan=I.lt=function(e){return this.cmp(e)<0};I.lessThanOrEqualTo=I.lte=function(e){return this.cmp(e)<1};I.logarithm=I.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Ue))throw Error(Je+"NaN");if(r.s<1)throw Error(Je+(r.s?"NaN":"-Infinity"));return r.eq(Ue)?new n(0):(ne=!1,t=St(gn(r,a),gn(e,a),a),ne=!0,X(t,i))};I.minus=I.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Yv(t,e):Hv(t,(e.s=-e.s,e))};I.modulo=I.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(Je+"NaN");return r.s?(ne=!1,t=St(r,e,0,1).times(e),ne=!0,r.minus(t)):X(new n(r),i)};I.naturalExponential=I.exp=function(){return qv(this)};I.naturalLogarithm=I.ln=function(){return gn(this)};I.negated=I.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};I.plus=I.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Hv(t,e):Yv(t,(e.s=-e.s,e))};I.precision=I.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(sr+e);if(t=oe(i)+1,n=i.d.length-1,r=n*ee+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};I.squareRoot=I.sqrt=function(){var e,t,r,n,i,a,o,u=this,l=u.constructor;if(u.s<1){if(!u.s)return new l(0);throw Error(Je+"NaN")}for(e=oe(u),ne=!1,i=Math.sqrt(+u),i==0||i==1/0?(t=vt(u.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=Ur((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new l(t)):n=new l(i.toString()),r=l.precision,i=o=r+3;;)if(a=n,n=a.plus(St(u,a,o+2)).times(.5),vt(a.d).slice(0,o)===(t=vt(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(X(a,r+1,0),a.times(a).eq(u)){n=a;break}}else if(t!="9999")break;o+=4}return ne=!0,X(n,r)};I.times=I.mul=function(e){var t,r,n,i,a,o,u,l,s,c=this,f=c.constructor,d=c.d,v=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,r=c.e+e.e,l=d.length,s=v.length,l<s&&(a=d,d=v,v=a,o=l,l=s,s=o),a=[],o=l+s,n=o;n--;)a.push(0);for(n=s;--n>=0;){for(t=0,i=l+n;i>n;)u=a[i]+v[n]*d[i-n-1]+t,a[i--]=u%he|0,t=u/he|0;a[i]=(a[i]+t)%he|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,ne?X(e,f.precision):e};I.toDecimalPlaces=I.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(mt(e,0,Kr),t===void 0?t=n.rounding:mt(t,0,8),X(r,e+oe(r)+1,t))};I.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=vr(n,!0):(mt(e,0,Kr),t===void 0?t=i.rounding:mt(t,0,8),n=X(new i(n),e+1,t),r=vr(n,!0,e+1)),r};I.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?vr(i):(mt(e,0,Kr),t===void 0?t=a.rounding:mt(t,0,8),n=X(new a(i),e+oe(i)+1,t),r=vr(n.abs(),!1,e+oe(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};I.toInteger=I.toint=function(){var e=this,t=e.constructor;return X(new t(e),oe(e)+1,t.rounding)};I.toNumber=function(){return+this};I.toPower=I.pow=function(e){var t,r,n,i,a,o,u=this,l=u.constructor,s=12,c=+(e=new l(e));if(!e.s)return new l(Ue);if(u=new l(u),!u.s){if(e.s<1)throw Error(Je+"Infinity");return u}if(u.eq(Ue))return u;if(n=l.precision,e.eq(Ue))return X(u,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=u.s,o){if((r=c<0?-c:c)<=Uv){for(i=new l(Ue),t=Math.ceil(n/ee+4),ne=!1;r%2&&(i=i.times(u),as(i.d,t)),r=Ur(r/2),r!==0;)u=u.times(u),as(u.d,t);return ne=!0,e.s<0?new l(Ue).div(i):X(i,n)}}else if(a<0)throw Error(Je+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,u.s=1,ne=!1,i=e.times(gn(u,n+s)),ne=!0,i=qv(i),i.s=a,i};I.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=oe(i),n=vr(i,r<=a.toExpNeg||r>=a.toExpPos)):(mt(e,1,Kr),t===void 0?t=a.rounding:mt(t,0,8),i=X(new a(i),e,t),r=oe(i),n=vr(i,e<=r||r<=a.toExpNeg,e)),n};I.toSignificantDigits=I.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(mt(e,1,Kr),t===void 0?t=n.rounding:mt(t,0,8)),X(new n(r),e,t)};I.toString=I.valueOf=I.val=I.toJSON=I[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=oe(e),r=e.constructor;return vr(e,t<=r.toExpNeg||t>=r.toExpPos)};function Hv(e,t){var r,n,i,a,o,u,l,s,c=e.constructor,f=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),ne?X(t,f):t;if(l=e.d,s=t.d,o=e.e,i=t.e,l=l.slice(),a=o-i,a){for(a<0?(n=l,a=-a,u=s.length):(n=s,i=o,u=l.length),o=Math.ceil(f/ee),u=o>u?o+1:u+1,a>u&&(a=u,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(u=l.length,a=s.length,u-a<0&&(a=u,n=s,s=l,l=n),r=0;a;)r=(l[--a]=l[a]+s[a]+r)/he|0,l[a]%=he;for(r&&(l.unshift(r),++i),u=l.length;l[--u]==0;)l.pop();return t.d=l,t.e=i,ne?X(t,f):t}function mt(e,t,r){if(e!==~~e||e<t||e>r)throw Error(sr+e)}function vt(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)n=e[t]+"",r=ee-n.length,r&&(a+=Kt(r)),a+=n;o=e[t],n=o+"",r=ee-n.length,r&&(a+=Kt(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}var St=function(){function e(n,i){var a,o=0,u=n.length;for(n=n.slice();u--;)a=n[u]*i+o,n[u]=a%he|0,o=a/he|0;return o&&n.unshift(o),n}function t(n,i,a,o){var u,l;if(a!=o)l=a>o?1:-1;else for(u=l=0;u<a;u++)if(n[u]!=i[u]){l=n[u]>i[u]?1:-1;break}return l}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]<i[a]?1:0,n[a]=o*he+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o){var u,l,s,c,f,d,v,h,y,m,g,b,O,w,P,x,A,j,k=n.constructor,T=n.s==i.s?1:-1,M=n.d,_=i.d;if(!n.s)return new k(n);if(!i.s)throw Error(Je+"Division by zero");for(l=n.e-i.e,A=_.length,P=M.length,v=new k(T),h=v.d=[],s=0;_[s]==(M[s]||0);)++s;if(_[s]>(M[s]||0)&&--l,a==null?b=a=k.precision:o?b=a+(oe(n)-oe(i))+1:b=a,b<0)return new k(0);if(b=b/ee+2|0,s=0,A==1)for(c=0,_=_[0],b++;(s<P||c)&&b--;s++)O=c*he+(M[s]||0),h[s]=O/_|0,c=O%_|0;else{for(c=he/(_[0]+1)|0,c>1&&(_=e(_,c),M=e(M,c),A=_.length,P=M.length),w=A,y=M.slice(0,A),m=y.length;m<A;)y[m++]=0;j=_.slice(),j.unshift(0),x=_[0],_[1]>=he/2&&++x;do c=0,u=t(_,y,A,m),u<0?(g=y[0],A!=m&&(g=g*he+(y[1]||0)),c=g/x|0,c>1?(c>=he&&(c=he-1),f=e(_,c),d=f.length,m=y.length,u=t(f,y,d,m),u==1&&(c--,r(f,A<d?j:_,d))):(c==0&&(u=c=1),f=_.slice()),d=f.length,d<m&&f.unshift(0),r(y,f,m),u==-1&&(m=y.length,u=t(_,y,A,m),u<1&&(c++,r(y,A<m?j:_,m))),m=y.length):u===0&&(c++,y=[0]),h[s++]=c,u&&y[0]?y[m++]=M[w]||0:(y=[M[w]],m=1);while((w++<P||y[0]!==void 0)&&b--)}return h[0]||h.shift(),v.e=l,X(v,o?a+oe(v)+1:a)}}();function qv(e,t){var r,n,i,a,o,u,l=0,s=0,c=e.constructor,f=c.precision;if(oe(e)>16)throw Error(tl+oe(e));if(!e.s)return new c(Ue);for(ne=!1,u=f,o=new c(.03125);e.abs().gte(.1);)e=e.times(o),s+=5;for(n=Math.log(nr(2,s))/Math.LN10*2+5|0,u+=n,r=i=a=new c(Ue),c.precision=u;;){if(i=X(i.times(e),u),r=r.times(++l),o=a.plus(St(i,r,u)),vt(o.d).slice(0,u)===vt(a.d).slice(0,u)){for(;s--;)a=X(a.times(a),u);return c.precision=f,t==null?(ne=!0,X(a,f)):a}a=o}}function oe(e){for(var t=e.e*ee,r=e.d[0];r>=10;r/=10)t++;return t}function mo(e,t,r){if(t>e.LN10.sd())throw ne=!0,r&&(e.precision=r),Error(Je+"LN10 precision limit exceeded");return X(new e(e.LN10),t)}function Kt(e){for(var t="";e--;)t+="0";return t}function gn(e,t){var r,n,i,a,o,u,l,s,c,f=1,d=10,v=e,h=v.d,y=v.constructor,m=y.precision;if(v.s<1)throw Error(Je+(v.s?"NaN":"-Infinity"));if(v.eq(Ue))return new y(0);if(t==null?(ne=!1,s=m):s=t,v.eq(10))return t==null&&(ne=!0),mo(y,s);if(s+=d,y.precision=s,r=vt(h),n=r.charAt(0),a=oe(v),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)v=v.times(e),r=vt(v.d),n=r.charAt(0),f++;a=oe(v),n>1?(v=new y("0."+r),a++):v=new y(n+"."+r.slice(1))}else return l=mo(y,s+2,m).times(a+""),v=gn(new y(n+"."+r.slice(1)),s-d).plus(l),y.precision=m,t==null?(ne=!0,X(v,m)):v;for(u=o=v=St(v.minus(Ue),v.plus(Ue),s),c=X(v.times(v),s),i=3;;){if(o=X(o.times(c),s),l=u.plus(St(o,new y(i),s)),vt(l.d).slice(0,s)===vt(u.d).slice(0,s))return u=u.times(2),a!==0&&(u=u.plus(mo(y,s+2,m).times(a+""))),u=St(u,new y(f),s),y.precision=m,t==null?(ne=!0,X(u,m)):u;u=l,i+=2}}function is(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=Ur(r/ee),e.d=[],n=(r+1)%ee,r<0&&(n+=ee),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=ee;n<i;)e.d.push(+t.slice(n,n+=ee));t=t.slice(n),n=ee-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),ne&&(e.e>Mi||e.e<-Mi))throw Error(tl+r)}else e.s=0,e.e=0,e.d=[0];return e}function X(e,t,r){var n,i,a,o,u,l,s,c,f=e.d;for(o=1,a=f[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=ee,i=t,s=f[c=0];else{if(c=Math.ceil((n+1)/ee),a=f.length,c>=a)return e;for(s=a=f[c],o=1;a>=10;a/=10)o++;n%=ee,i=n-ee+o}if(r!==void 0&&(a=nr(10,o-i-1),u=s/a%10|0,l=t<0||f[c+1]!==void 0||s%a,l=r<4?(u||l)&&(r==0||r==(e.s<0?3:2)):u>5||u==5&&(r==4||l||r==6&&(n>0?i>0?s/nr(10,o-i):0:f[c-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return l?(a=oe(e),f.length=1,t=t-a-1,f[0]=nr(10,(ee-t%ee)%ee),e.e=Ur(-t/ee)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=c,a=1,c--):(f.length=c+1,a=nr(10,ee-n),f[c]=i>0?(s/nr(10,o-i)%nr(10,i)|0)*a:0),l)for(;;)if(c==0){(f[0]+=a)==he&&(f[0]=1,++e.e);break}else{if(f[c]+=a,f[c]!=he)break;f[c--]=0,a=1}for(n=f.length;f[--n]===0;)f.pop();if(ne&&(e.e>Mi||e.e<-Mi))throw Error(tl+oe(e));return e}function Yv(e,t){var r,n,i,a,o,u,l,s,c,f,d=e.constructor,v=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),ne?X(t,v):t;if(l=e.d,f=t.d,n=t.e,s=e.e,l=l.slice(),o=s-n,o){for(c=o<0,c?(r=l,o=-o,u=f.length):(r=f,n=s,u=l.length),i=Math.max(Math.ceil(v/ee),u)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=l.length,u=f.length,c=i<u,c&&(u=i),i=0;i<u;i++)if(l[i]!=f[i]){c=l[i]<f[i];break}o=0}for(c&&(r=l,l=f,f=r,t.s=-t.s),u=l.length,i=f.length-u;i>0;--i)l[u++]=0;for(i=f.length;i>o;){if(l[--i]<f[i]){for(a=i;a&&l[--a]===0;)l[a]=he-1;--l[a],l[i]+=he}l[i]-=f[i]}for(;l[--u]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(t.d=l,t.e=n,ne?X(t,v):t):new d(0)}function vr(e,t,r){var n,i=oe(e),a=vt(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+Kt(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+Kt(-i-1)+a,r&&(n=r-o)>0&&(a+=Kt(n))):i>=o?(a+=Kt(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+Kt(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=Kt(n))),e.s<0?"-"+a:a}function as(e,t){if(e.length>t)return e.length=t,!0}function Gv(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(sr+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return is(o,a.toString())}else if(typeof a!="string")throw Error(sr+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,Mw.test(a))is(o,a);else throw Error(sr+a)}if(i.prototype=I,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=Gv,i.config=i.set=Iw,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function Iw(e){if(!e||typeof e!="object")throw Error(Je+"Object expected");var t,r,n,i=["precision",1,Kr,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((n=e[r=i[t]])!==void 0)if(Ur(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(sr+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(sr+r+": "+n);return this}var rl=Gv(kw);Ue=new rl(1);const q=rl;var Tw="Invariant failed";function Dw(e,t){throw new Error(Tw)}var Nw=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function nl(e){if(typeof e!="string")return!1;var t=Nw;return t.includes(e)}var $w=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Lw=new Set($w);function Vv(e){return typeof e!="string"?!1:Lw.has(e)}function Xv(e){return typeof e=="string"&&e.startsWith("data-")}function Ct(e){if(typeof e!="object"||e===null)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Vv(r)||Xv(r))&&(t[r]=e[r]);return t}function il(e){if(e==null)return null;if(p.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return Ct(t)}return typeof e=="object"&&!Array.isArray(e)?Ct(e):null}function ze(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Vv(r)||Xv(r)||nl(r))&&(t[r]=e[r]);return t}function VT(e){return e==null?null:p.isValidElement(e)?ze(e.props):typeof e=="object"&&!Array.isArray(e)?ze(e):null}var Rw=["children","width","height","viewBox","className","style","title","desc"];function Bo(){return Bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bo.apply(null,arguments)}function zw(e,t){if(e==null)return{};var r,n,i=Bw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Bw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var al=p.forwardRef((e,t)=>{var{children:r,width:n,height:i,viewBox:a,className:o,style:u,title:l,desc:s}=e,c=zw(e,Rw),f=a||{width:n,height:i,x:0,y:0},d=J("recharts-surface",o);return p.createElement("svg",Bo({},ze(c),{className:d,width:n,height:i,style:u,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:t}),p.createElement("title",null,l),p.createElement("desc",null,s),r)}),Fw=["children","className"];function Fo(){return Fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fo.apply(null,arguments)}function Ww(e,t){if(e==null)return{};var r,n,i=Kw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Kw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var kt=p.forwardRef((e,t)=>{var{children:r,className:n}=e,i=Ww(e,Fw),a=J("recharts-layer",n);return p.createElement("g",Fo({className:a},ze(i),{ref:t}),r)}),Zv=p.createContext(null),Uw=()=>p.useContext(Zv),wa={},Qv={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==="__proto__"}e.isUnsafeProperty=t})(Qv);var ol={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){switch(typeof r){case"number":case"symbol":return!1;case"string":return r.includes(".")||r.includes("[")||r.includes("]")}}e.isDeepKey=t})(ol);var xa={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){var n;return typeof r=="string"||typeof r=="symbol"?r:Object.is((n=r==null?void 0:r.valueOf)==null?void 0:n.call(r),-0)?"-0":String(r)}e.toKey=t})(xa);var Oa={},Jv={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){if(r==null)return"";if(typeof r=="string")return r;if(Array.isArray(r))return r.map(t).join(",");const n=String(r);return n==="0"&&Object.is(Number(r),-0)?"-0":n}e.toString=t})(Jv);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Jv,r=xa;function n(i){if(Array.isArray(i))return i.map(r.toKey);if(typeof i=="symbol")return[i];i=t.toString(i);const a=[],o=i.length;if(o===0)return a;let u=0,l="",s="",c=!1;for(i.charCodeAt(0)===46&&(a.push(""),u++);u<o;){const f=i[u];s?f==="\\"&&u+1<o?(u++,l+=i[u]):f===s?s="":l+=f:c?f==='"'||f==="'"?s=f:f==="]"?(c=!1,a.push(l),l=""):l+=f:f==="["?(c=!0,l&&(a.push(l),l="")):f==="."?l&&(a.push(l),l=""):l+=f,u++}return l&&a.push(l),a}e.toPath=n})(Oa);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Qv,r=ol,n=xa,i=Oa;function a(u,l,s){if(u==null)return s;switch(typeof l){case"string":{if(t.isUnsafeProperty(l))return s;const c=u[l];return c===void 0?r.isDeepKey(l)?a(u,i.toPath(l),s):s:c}case"number":case"symbol":{typeof l=="number"&&(l=n.toKey(l));const c=u[l];return c===void 0?s:c}default:{if(Array.isArray(l))return o(u,l,s);if(Object.is(l==null?void 0:l.valueOf(),-0)?l="-0":l=String(l),t.isUnsafeProperty(l))return s;const c=u[l];return c===void 0?s:c}}}function o(u,l,s){if(l.length===0)return s;let c=u;for(let f=0;f<l.length;f++){if(c==null||t.isUnsafeProperty(l[f]))return s;c=c[l[f]]}return c===void 0?s:c}e.get=a})(wa);var Hw=wa.get;const Nr=Vt(Hw);var qw=4;function qt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qw,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function ae(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.reduce((i,a,o)=>{var u=r[o-1];return typeof u=="string"?i+u+a:u!==void 0?i+qt(u)+a:i+a},"")}var Le=e=>e===0?0:e>0?1:-1,yt=e=>typeof e=="number"&&e!=+e,hr=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,D=e=>(typeof e=="number"||e instanceof Number)&&!yt(e),gt=e=>D(e)||typeof e=="string",Yw=0,bn=e=>{var t=++Yw;return"".concat(e||"").concat(t)},ut=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!D(t)&&typeof t!="string")return n;var a;if(hr(t)){if(r==null)return n;var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return yt(a)&&(a=n),i&&r!=null&&a>r&&(a=r),a},eh=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++)if(!r[String(e[n])])r[String(e[n])]=!0;else return!0;return!1};function Oe(e,t,r){return D(e)&&D(t)?qt(e+r*(t-e)):t}function th(e,t,r){if(!(!e||!e.length))return e.find(n=>n&&(typeof t=="function"?t(n):Nr(n,t))===r)}var XT=e=>{for(var t=e.length,r=0,n=0,i=0,a=0,o=1/0,u=-1/0,l=0,s=0,c=0;c<t;c++){var f,d;l=((f=e[c])===null||f===void 0?void 0:f.cx)||0,s=((d=e[c])===null||d===void 0?void 0:d.cy)||0,r+=l,n+=s,i+=l*s,a+=l*l,o=Math.min(o,l),u=Math.max(u,l)}var v=t*a!==r*r?(t*i-r*n)/(t*a-r*r):0;return{xmin:o,xmax:u,a:v,b:(n-v*r)/t}},ue=e=>e===null||typeof e>"u",Tn=e=>ue(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function Re(e){return e!=null}function Hr(){}var Gw=["type","size","sizeType"];function Wo(){return Wo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wo.apply(null,arguments)}function os(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function us(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?os(Object(r),!0).forEach(function(n){Vw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):os(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Vw(e,t,r){return(t=Xw(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xw(e){var t=Zw(e,"string");return typeof t=="symbol"?t:t+""}function Zw(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qw(e,t){if(e==null)return{};var r,n,i=Jw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var rh={symbolCircle:Mu,symbolCross:jg,symbolDiamond:kg,symbolSquare:Mg,symbolStar:Ng,symbolTriangle:$g,symbolWye:Rg},ex=Math.PI/180,tx=e=>{var t="symbol".concat(Tn(e));return rh[t]||Mu},rx=(e,t,r)=>{if(t==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var n=18*ex;return 1.25*e*e*(Math.tan(n)-Math.tan(n*2)*Math.tan(n)**2)}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},nx=(e,t)=>{rh["symbol".concat(Tn(e))]=t},ul=e=>{var{type:t="circle",size:r=64,sizeType:n="area"}=e,i=Qw(e,Gw),a=us(us({},i),{},{type:t,size:r,sizeType:n}),o="circle";typeof t=="string"&&(o=t);var u=()=>{var d=tx(o),v=zg().type(d).size(rx(r,n,o)),h=v();if(h!==null)return h},{className:l,cx:s,cy:c}=a,f=ze(a);return D(s)&&D(c)&&D(r)?p.createElement("path",Wo({},f,{className:J("recharts-symbols",l),transform:"translate(".concat(s,", ").concat(c,")"),d:u()})):null};ul.registerSymbol=nx;var nh=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,ix=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(p.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(i=>{nl(i)&&(n[i]=a=>r[i](r,a))}),n},ax=(e,t,r)=>n=>(e(t,r,n),null),Pa=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(i=>{var a=e[i];nl(i)&&typeof a=="function"&&(n||(n={}),n[i]=ax(a,t,r))}),n},ZT=e=>Array.isArray(e)&&e.length>0;function ls(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ox(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ls(Object(r),!0).forEach(function(n){ux(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ls(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ux(e,t,r){return(t=lx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lx(e){var t=cx(e,"string");return typeof t=="symbol"?t:t+""}function cx(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Me(e,t){var r=ox({},e),n=t,i=Object.keys(t),a=i.reduce((o,u)=>(o[u]===void 0&&n[u]!==void 0&&(o[u]=n[u]),o),r);return a}function Ii(){return Ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ii.apply(null,arguments)}function cs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function sx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cs(Object(r),!0).forEach(function(n){fx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cs(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fx(e,t,r){return(t=dx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dx(e){var t=vx(e,"string");return typeof t=="symbol"?t:t+""}function vx(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ze=32,hx={align:"center",iconSize:14,inactiveColor:"#ccc",layout:"horizontal",verticalAlign:"middle"};function px(e){var{data:t,iconType:r,inactiveColor:n}=e,i=Ze/2,a=Ze/6,o=Ze/3,u=t.inactive?n:t.color,l=r??t.type;if(l==="none")return null;if(l==="plainline"){var s;return p.createElement("line",{strokeWidth:4,fill:"none",stroke:u,strokeDasharray:(s=t.payload)===null||s===void 0?void 0:s.strokeDasharray,x1:0,y1:i,x2:Ze,y2:i,className:"recharts-legend-icon"})}if(l==="line")return p.createElement("path",{strokeWidth:4,fill:"none",stroke:u,d:"M0,".concat(i,"h").concat(o,`
|
|
2
2
|
A`).concat(a,",").concat(a,",0,1,1,").concat(2*o,",").concat(i,`
|
|
3
3
|
H`).concat(Ze,"M").concat(2*o,",").concat(i,`
|
|
4
4
|
A`).concat(a,",").concat(a,",0,1,1,").concat(o,",").concat(i),className:"recharts-legend-icon"});if(l==="rect")return p.createElement("path",{stroke:"none",fill:u,d:"M0,".concat(Ze/8,"h").concat(Ze,"v").concat(Ze*3/4,"h").concat(-Ze,"z"),className:"recharts-legend-icon"});if(p.isValidElement(t.legendIcon)){var c=sx({},t);return delete c.legendIcon,p.cloneElement(t.legendIcon,c)}return p.createElement(ul,{fill:u,cx:i,cy:i,size:Ze,sizeType:"diameter",type:l})}function mx(e){var{payload:t,iconSize:r,layout:n,formatter:i,inactiveColor:a,iconType:o}=e,u={x:0,y:0,width:Ze,height:Ze},l={display:n==="horizontal"?"inline-block":"block",marginRight:10},s={display:"inline-block",verticalAlign:"middle",marginRight:4};return t.map((c,f)=>{var d=c.formatter||i,v=J({"recharts-legend-item":!0,["legend-item-".concat(f)]:!0,inactive:c.inactive});if(c.type==="none")return null;var h=c.inactive?a:c.color,y=d?d(c.value,c,f):c.value;return p.createElement("li",Ii({className:v,style:l,key:"legend-item-".concat(f)},Pa(e,c,f)),p.createElement(al,{width:r,height:r,viewBox:u,style:s,"aria-label":"".concat(y," legend icon")},p.createElement(px,{data:c,iconType:o,inactiveColor:a})),p.createElement("span",{className:"recharts-legend-item-text",style:{color:h}},y))})}var yx=e=>{var t=Me(e,hx),{payload:r,layout:n,align:i}=t;if(!r||!r.length)return null;var a={padding:0,margin:0,textAlign:n==="horizontal"?i:"left"};return p.createElement("ul",{className:"recharts-default-legend",style:a},p.createElement(mx,Ii({},t,{payload:r})))},ih={},ah={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){const i=new Map;for(let a=0;a<r.length;a++){const o=r[a],u=n(o,a,r);i.has(u)||i.set(u,o)}return Array.from(i.values())}e.uniqBy=t})(ah);var oh={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){return function(...i){return r.apply(this,i.slice(0,n))}}e.ary=t})(oh);var ll={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r}e.identity=t})(ll);var uh={},Sa={},lh={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Number.isSafeInteger(r)&&r>=0}e.isLength=t})(lh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=lh;function r(n){return n!=null&&typeof n!="function"&&t.isLength(n.length)}e.isArrayLike=r})(Sa);var ch={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="object"&&r!==null}e.isObjectLike=t})(ch);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Sa,r=ch;function n(i){return r.isObjectLike(i)&&t.isArrayLike(i)}e.isArrayLikeObject=n})(uh);var sh={},fh={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=wa;function r(n){return function(i){return t.get(i,n)}}e.property=r})(fh);var dh={},cl={},vh={},sl={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r!==null&&(typeof r=="object"||typeof r=="function")}e.isObject=t})(sl);var fl={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==null||typeof r!="object"&&typeof r!="function"}e.isPrimitive=t})(fl);var dl={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){return r===n||Number.isNaN(r)&&Number.isNaN(n)}e.isEqualsSameValueZero=t})(dl);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=sl,r=fl,n=dl;function i(c,f,d){return typeof d!="function"?i(c,f,()=>{}):a(c,f,function v(h,y,m,g,b,O){const w=d(h,y,m,g,b,O);return w!==void 0?!!w:a(h,y,v,O)},new Map)}function a(c,f,d,v){if(f===c)return!0;switch(typeof f){case"object":return o(c,f,d,v);case"function":return Object.keys(f).length>0?a(c,{...f},d,v):n.isEqualsSameValueZero(c,f);default:return t.isObject(c)?typeof f=="string"?f==="":!0:n.isEqualsSameValueZero(c,f)}}function o(c,f,d,v){if(f==null)return!0;if(Array.isArray(f))return l(c,f,d,v);if(f instanceof Map)return u(c,f,d,v);if(f instanceof Set)return s(c,f,d,v);const h=Object.keys(f);if(c==null||r.isPrimitive(c))return h.length===0;if(h.length===0)return!0;if(v!=null&&v.has(f))return v.get(f)===c;v==null||v.set(f,c);try{for(let y=0;y<h.length;y++){const m=h[y];if(!r.isPrimitive(c)&&!(m in c)||f[m]===void 0&&c[m]!==void 0||f[m]===null&&c[m]!==null||!d(c[m],f[m],m,c,f,v))return!1}return!0}finally{v==null||v.delete(f)}}function u(c,f,d,v){if(f.size===0)return!0;if(!(c instanceof Map))return!1;for(const[h,y]of f.entries()){const m=c.get(h);if(d(m,y,h,c,f,v)===!1)return!1}return!0}function l(c,f,d,v){if(f.length===0)return!0;if(!Array.isArray(c))return!1;const h=new Set;for(let y=0;y<f.length;y++){const m=f[y];let g=!1;for(let b=0;b<c.length;b++){if(h.has(b))continue;const O=c[b];let w=!1;if(d(O,m,y,c,f,v)&&(w=!0),w){h.add(b),g=!0;break}}if(!g)return!1}return!0}function s(c,f,d,v){return f.size===0?!0:c instanceof Set?l([...c],[...f],d,v):!1}e.isMatchWith=i,e.isSetMatch=s})(vh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=vh;function r(n,i){return t.isMatchWith(n,i,()=>{})}e.isMatch=r})(cl);var hh={},vl={},ph={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Object.getOwnPropertySymbols(r).filter(n=>Object.prototype.propertyIsEnumerable.call(r,n))}e.getSymbols=t})(ph);var Aa={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==null?r===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(r)}e.getTag=t})(Aa);var hl={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",r="[object String]",n="[object Number]",i="[object Boolean]",a="[object Arguments]",o="[object Symbol]",u="[object Date]",l="[object Map]",s="[object Set]",c="[object Array]",f="[object Function]",d="[object ArrayBuffer]",v="[object Object]",h="[object Error]",y="[object DataView]",m="[object Uint8Array]",g="[object Uint8ClampedArray]",b="[object Uint16Array]",O="[object Uint32Array]",w="[object BigUint64Array]",P="[object Int8Array]",x="[object Int16Array]",A="[object Int32Array]",j="[object BigInt64Array]",k="[object Float32Array]",T="[object Float64Array]";e.argumentsTag=a,e.arrayBufferTag=d,e.arrayTag=c,e.bigInt64ArrayTag=j,e.bigUint64ArrayTag=w,e.booleanTag=i,e.dataViewTag=y,e.dateTag=u,e.errorTag=h,e.float32ArrayTag=k,e.float64ArrayTag=T,e.functionTag=f,e.int16ArrayTag=x,e.int32ArrayTag=A,e.int8ArrayTag=P,e.mapTag=l,e.numberTag=n,e.objectTag=v,e.regexpTag=t,e.setTag=s,e.stringTag=r,e.symbolTag=o,e.uint16ArrayTag=b,e.uint32ArrayTag=O,e.uint8ArrayTag=m,e.uint8ClampedArrayTag=g})(hl);var mh={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}e.isTypedArray=t})(mh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ph,r=Aa,n=hl,i=fl,a=mh;function o(c,f){return u(c,void 0,c,new Map,f)}function u(c,f,d,v=new Map,h=void 0){const y=h==null?void 0:h(c,f,d,v);if(y!==void 0)return y;if(i.isPrimitive(c))return c;if(v.has(c))return v.get(c);if(Array.isArray(c)){const m=new Array(c.length);v.set(c,m);for(let g=0;g<c.length;g++)m[g]=u(c[g],g,d,v,h);return Object.hasOwn(c,"index")&&(m.index=c.index),Object.hasOwn(c,"input")&&(m.input=c.input),m}if(c instanceof Date)return new Date(c.getTime());if(c instanceof RegExp){const m=new RegExp(c.source,c.flags);return m.lastIndex=c.lastIndex,m}if(c instanceof Map){const m=new Map;v.set(c,m);for(const[g,b]of c)m.set(g,u(b,g,d,v,h));return m}if(c instanceof Set){const m=new Set;v.set(c,m);for(const g of c)m.add(u(g,void 0,d,v,h));return m}if(typeof Buffer<"u"&&Buffer.isBuffer(c))return c.subarray();if(a.isTypedArray(c)){const m=new(Object.getPrototypeOf(c)).constructor(c.length);v.set(c,m);for(let g=0;g<c.length;g++)m[g]=u(c[g],g,d,v,h);return m}if(c instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&c instanceof SharedArrayBuffer)return c.slice(0);if(c instanceof DataView){const m=new DataView(c.buffer.slice(0),c.byteOffset,c.byteLength);return v.set(c,m),l(m,c,d,v,h),m}if(typeof File<"u"&&c instanceof File){const m=new File([c],c.name,{type:c.type});return v.set(c,m),l(m,c,d,v,h),m}if(typeof Blob<"u"&&c instanceof Blob){const m=new Blob([c],{type:c.type});return v.set(c,m),l(m,c,d,v,h),m}if(c instanceof Error){const m=new c.constructor;return v.set(c,m),m.message=c.message,m.name=c.name,m.stack=c.stack,m.cause=c.cause,l(m,c,d,v,h),m}if(c instanceof Boolean){const m=new Boolean(c.valueOf());return v.set(c,m),l(m,c,d,v,h),m}if(c instanceof Number){const m=new Number(c.valueOf());return v.set(c,m),l(m,c,d,v,h),m}if(c instanceof String){const m=new String(c.valueOf());return v.set(c,m),l(m,c,d,v,h),m}if(typeof c=="object"&&s(c)){const m=Object.create(Object.getPrototypeOf(c));return v.set(c,m),l(m,c,d,v,h),m}return c}function l(c,f,d=c,v,h){const y=[...Object.keys(f),...t.getSymbols(f)];for(let m=0;m<y.length;m++){const g=y[m],b=Object.getOwnPropertyDescriptor(c,g);(b==null||b.writable)&&(c[g]=u(f[g],g,d,v,h))}}function s(c){switch(r.getTag(c)){case n.argumentsTag:case n.arrayTag:case n.arrayBufferTag:case n.dataViewTag:case n.booleanTag:case n.dateTag:case n.float32ArrayTag:case n.float64ArrayTag:case n.int8ArrayTag:case n.int16ArrayTag:case n.int32ArrayTag:case n.mapTag:case n.numberTag:case n.objectTag:case n.regexpTag:case n.setTag:case n.stringTag:case n.symbolTag:case n.uint8ArrayTag:case n.uint8ClampedArrayTag:case n.uint16ArrayTag:case n.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=o,e.cloneDeepWithImpl=u,e.copyProperties=l})(vl);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=vl;function r(n){return t.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=r})(hh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cl,r=hh;function n(i){return i=r.cloneDeep(i),a=>t.isMatch(a,i)}e.matches=n})(dh);var yh={},gh={},bh={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=vl,r=Aa,n=hl;function i(a,o){return t.cloneDeepWith(a,(u,l,s,c)=>{const f=o==null?void 0:o(u,l,s,c);if(f!==void 0)return f;if(typeof a=="object"){if(r.getTag(a)===n.objectTag&&typeof a.constructor!="function"){const d={};return c.set(a,d),t.copyProperties(d,a,s,c),d}switch(Object.prototype.toString.call(a)){case n.numberTag:case n.stringTag:case n.booleanTag:{const d=new a.constructor(a==null?void 0:a.valueOf());return t.copyProperties(d,a),d}case n.argumentsTag:{const d={};return t.copyProperties(d,a),d.length=a.length,d[Symbol.iterator]=a[Symbol.iterator],d}default:return}}})}e.cloneDeepWith=i})(bh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=bh;function r(n){return t.cloneDeepWith(n)}e.cloneDeep=r})(gh);var wh={},pl={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function r(n,i=Number.MAX_SAFE_INTEGER){switch(typeof n){case"number":return Number.isInteger(n)&&n>=0&&n<i;case"symbol":return!1;case"string":return t.test(n)}}e.isIndex=r})(pl);var xh={};(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Aa;function r(n){return n!==null&&typeof n=="object"&&t.getTag(n)==="[object Arguments]"}e.isArguments=r})(xh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ol,r=pl,n=xh,i=Oa;function a(o,u){let l;if(Array.isArray(u)?l=u:typeof u=="string"&&t.isDeepKey(u)&&(o==null?void 0:o[u])==null?l=i.toPath(u):l=[u],l.length===0)return!1;let s=o;for(let c=0;c<l.length;c++){const f=l[c];if((s==null||!Object.hasOwn(s,f))&&!((Array.isArray(s)||n.isArguments(s))&&r.isIndex(f)&&f<s.length))return!1;s=s[f]}return!0}e.has=a})(wh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cl,r=xa,n=gh,i=wa,a=wh;function o(u,l){switch(typeof u){case"object":{Object.is(u==null?void 0:u.valueOf(),-0)&&(u="-0");break}case"number":{u=r.toKey(u);break}}return l=n.cloneDeep(l),function(s){const c=i.get(s,u);return c===void 0?a.has(s,u):l===void 0?c===void 0:t.isMatch(c,l)}}e.matchesProperty=o})(yh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ll,r=fh,n=dh,i=yh;function a(o){if(o==null)return t.identity;switch(typeof o){case"function":return o;case"object":return Array.isArray(o)&&o.length===2?i.matchesProperty(o[0],o[1]):n.matches(o);case"string":case"symbol":case"number":return r.property(o)}}e.iteratee=a})(sh);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ah,r=oh,n=ll,i=uh,a=sh;function o(u,l=n.identity){return i.isArrayLikeObject(u)?t.uniqBy(Array.from(u),r.ary(a.iteratee(l),1)):[]}e.uniqBy=o})(ih);var gx=ih.uniqBy;const ss=Vt(gx);function Oh(e,t,r){return t===!0?ss(e,r):typeof t=="function"?ss(e,t):e}var Ph={exports:{}},Sh={};/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./index-taqjqZHy.js";import{R as l,B as n,C as d,X as f,Y as p,T as x,L as u,a as c}from"./BarChart-BIxHwnDw.js";function j({data:e=[],dataKey:s="value",xAxisKey:a="name",height:t=400,className:i="",color:o="hsl(var(--primary))"}){return r.jsx("div",{className:`p-2 sm:p-3 md:p-4 rounded-xl border border-border bg-card/40 backdrop-blur-sm shadow-lg shadow-background/5 ${i}`,children:r.jsx(l,{width:"100%",height:t,children:r.jsxs(n,{data:e,margin:{top:10,right:10,left:10,bottom:5},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"barGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"0%",stopColor:o,stopOpacity:1}),r.jsx("stop",{offset:"90%",stopColor:o,stopOpacity:.6}),r.jsx("stop",{offset:"100%",stopColor:o,stopOpacity:.3})]}),r.jsxs("filter",{id:"glow",height:"130%",children:[r.jsx("feGaussianBlur",{in:"SourceAlpha",stdDeviation:"3",result:"blur"}),r.jsx("feOffset",{in:"blur",dx:"0",dy:"0",result:"offsetBlur"}),r.jsx("feFlood",{floodColor:o,floodOpacity:"0.5",result:"offsetColor"}),r.jsx("feComposite",{in:"offsetColor",in2:"offsetBlur",operator:"in",result:"offsetBlur"}),r.jsxs("feMerge",{children:[r.jsx("feMergeNode",{in:"offsetBlur"}),r.jsx("feMergeNode",{in:"SourceGraphic"})]})]})]}),r.jsx(d,{strokeDasharray:"3 3",stroke:"hsl(var(--border))",vertical:!1}),r.jsx(f,{dataKey:a,tick:{fill:"hsl(var(--muted-foreground))",fontSize:12,fontFamily:"monospace"},tickLine:!1,axisLine:{stroke:"hsl(var(--border))"},dy:10}),r.jsx(p,{tick:{fill:"hsl(var(--muted-foreground))",fontSize:12,fontFamily:"monospace"},tickLine:!1,axisLine:!1}),r.jsx(x,{cursor:{fill:"hsl(var(--muted))",opacity:.2},contentStyle:{backgroundColor:"hsl(var(--popover))",borderColor:"hsl(var(--border))",color:"hsl(var(--popover-foreground))",borderRadius:"8px",fontFamily:"monospace",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1)"},itemStyle:{color:"hsl(var(--primary))"}}),r.jsx(u,{wrapperStyle:{paddingTop:"20px",fontFamily:"monospace"}}),r.jsx(c,{dataKey:s,fill:"url(#barGradient)",radius:[4,4,0,0],filter:"url(#glow)",animationDuration:1500})]})})})}export{j as default};
|