You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
81 KiB
1 line
81 KiB
"use strict";(self.webpackChunkjupyter_web=self.webpackChunkjupyter_web||[]).push([[1083],{31083:(jl,Hr,Yt)=>{function Wr(t,n){let e;if(void 0===n)for(const i of t)null!=i&&(e<i||void 0===e&&i>=i)&&(e=i);else{let i=-1;for(let r of t)null!=(r=n(r,++i,t))&&(e<r||void 0===e&&r>=r)&&(e=r)}return e}function Xr(t,n){let e;if(void 0===n)for(const i of t)null!=i&&(e>i||void 0===e&&i>=i)&&(e=i);else{let i=-1;for(let r of t)null!=(r=n(r,++i,t))&&(e>r||void 0===e&&r>=r)&&(e=r)}return e}function Vr(t){return t}Yt.d(Hr,{Nb1:()=>vl,LLu:()=>Jr,F5q:()=>Gr,$0Z:()=>Cl,Dts:()=>Sl,WQY:()=>Al,qpX:()=>Dl,u93:()=>El,tFB:()=>Ul,YY7:()=>zl,OvA:()=>Fl,dCK:()=>Yl,zgE:()=>Rl,fGX:()=>Il,$m7:()=>Pl,c_6:()=>kr,fxm:()=>Ll,FdL:()=>Ol,ak_:()=>$l,SxZ:()=>Hl,eA_:()=>Wl,jsv:()=>Vl,iJ:()=>Xl,JHv:()=>ga,jvg:()=>Tl,Fp7:()=>Wr,VV$:()=>Xr,ve8:()=>kl,tiA:()=>ge,BYU:()=>Zi,PKp:()=>ye,Xf:()=>rl,K2I:()=>sl,Ys:()=>ul,rr1:()=>Wt,i$Z:()=>Ee,y2j:()=>tr,WQD:()=>Yn,U8T:()=>en,Z_i:()=>Fn,Ox9:()=>on,F0B:()=>In,LqH:()=>nr,S1K:()=>Nt,Zyz:()=>rn,Igq:()=>Et,YDX:()=>Ji,EFj:()=>ji});function Br(t){return"translate("+t+",0)"}function Zr(t){return"translate(0,"+t+")"}function qr(t){return n=>+t(n)}function Kr(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function Qr(){return!this.__axis}function _n(t,n){var e=[],i=null,r=null,o=6,s=6,u=3,c=typeof window<"u"&&window.devicePixelRatio>1?0:.5,a=1===t||4===t?-1:1,l=4===t||2===t?"x":"y",_=1===t||3===t?Br:Zr;function h(p){var S=i??(n.ticks?n.ticks.apply(n,e):n.domain()),U=r??(n.tickFormat?n.tickFormat.apply(n,e):Vr),g=Math.max(o,0)+u,m=n.range(),T=+m[0]+c,d=+m[m.length-1]+c,M=(n.bandwidth?Kr:qr)(n.copy(),c),A=p.selection?p.selection():p,w=A.selectAll(".domain").data([null]),R=A.selectAll(".tick").data(S,n).order(),O=R.exit(),V=R.enter().append("g").attr("class","tick"),P=R.select("line"),L=R.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),R=R.merge(V),P=P.merge(V.append("line").attr("stroke","currentColor").attr(l+"2",a*o)),L=L.merge(V.append("text").attr("fill","currentColor").attr(l,a*g).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),p!==A&&(w=w.transition(p),R=R.transition(p),P=P.transition(p),L=L.transition(p),O=O.transition(p).attr("opacity",1e-6).attr("transform",function(H){return isFinite(H=M(H))?_(H+c):this.getAttribute("transform")}),V.attr("opacity",1e-6).attr("transform",function(H){var C=this.parentNode.__axis;return _((C&&isFinite(C=C(H))?C:M(H))+c)})),O.remove(),w.attr("d",4===t||2===t?s?"M"+a*s+","+T+"H"+c+"V"+d+"H"+a*s:"M"+c+","+T+"V"+d:s?"M"+T+","+a*s+"V"+c+"H"+d+"V"+a*s:"M"+T+","+c+"H"+d),R.attr("opacity",1).attr("transform",function(H){return _(M(H)+c)}),P.attr(l+"2",a*o),L.attr(l,a*g).text(U),A.filter(Qr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),A.each(function(){this.__axis=M})}return h.scale=function(p){return arguments.length?(n=p,h):n},h.ticks=function(){return e=Array.from(arguments),h},h.tickArguments=function(p){return arguments.length?(e=null==p?[]:Array.from(p),h):e.slice()},h.tickValues=function(p){return arguments.length?(i=null==p?null:Array.from(p),h):i&&i.slice()},h.tickFormat=function(p){return arguments.length?(r=p,h):r},h.tickSize=function(p){return arguments.length?(o=s=+p,h):o},h.tickSizeInner=function(p){return arguments.length?(o=+p,h):o},h.tickSizeOuter=function(p){return arguments.length?(s=+p,h):s},h.tickPadding=function(p){return arguments.length?(u=+p,h):u},h.offset=function(p){return arguments.length?(c=+p,h):c},h}function Gr(t){return _n(1,t)}function Jr(t){return _n(3,t)}function jr(){}function qn(t){return null==t?jr:function(){return this.querySelector(t)}}function no(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function eo(){return[]}function $e(t){return null==t?eo:function(){return this.querySelectorAll(t)}}function He(t){return function(){return this.matches(t)}}function We(t){return function(n){return n.matches(t)}}var oo=Array.prototype.find;function uo(){return this.firstElementChild}var co=Array.prototype.filter;function lo(){return Array.from(this.children)}function Xe(t){return new Array(t.length)}function pn(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function mo(t){return function(){return t}}function yo(t,n,e,i,r,o){for(var u,s=0,c=n.length,a=o.length;s<a;++s)(u=n[s])?(u.__data__=o[s],i[s]=u):e[s]=new pn(t,o[s]);for(;s<c;++s)(u=n[s])&&(r[s]=u)}function go(t,n,e,i,r,o,s){var u,c,p,a=new Map,l=n.length,_=o.length,h=new Array(l);for(u=0;u<l;++u)(c=n[u])&&(h[u]=p=s.call(c,c.__data__,u,n)+"",a.has(p)?r[u]=c:a.set(p,c));for(u=0;u<_;++u)p=s.call(t,o[u],u,o)+"",(c=a.get(p))?(i[u]=c,c.__data__=o[u],a.delete(p)):e[u]=new pn(t,o[u]);for(u=0;u<l;++u)(c=n[u])&&a.get(h[u])===c&&(r[u]=c)}function vo(t){return t.__data__}function xo(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function So(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}pn.prototype={constructor:pn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Kn="http://www.w3.org/1999/xhtml";const Ve={svg:"http://www.w3.org/2000/svg",xhtml:Kn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function mn(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ve.hasOwnProperty(n)?{space:Ve[n],local:t}:t}function Fo(t){return function(){this.removeAttribute(t)}}function Yo(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ro(t,n){return function(){this.setAttribute(t,n)}}function Io(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Po(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Lo(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function Be(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $o(t){return function(){this.style.removeProperty(t)}}function Ho(t,n,e){return function(){this.style.setProperty(t,n,e)}}function Wo(t,n,e){return function(){var i=n.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,e)}}function Rt(t,n){return t.style.getPropertyValue(n)||Be(t).getComputedStyle(t,null).getPropertyValue(n)}function Vo(t){return function(){delete this[t]}}function Bo(t,n){return function(){this[t]=n}}function Zo(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Ze(t){return t.trim().split(/^|\s+/)}function Qn(t){return t.classList||new qe(t)}function qe(t){this._node=t,this._names=Ze(t.getAttribute("class")||"")}function Ke(t,n){for(var e=Qn(t),i=-1,r=n.length;++i<r;)e.add(n[i])}function Qe(t,n){for(var e=Qn(t),i=-1,r=n.length;++i<r;)e.remove(n[i])}function Ko(t){return function(){Ke(this,t)}}function Qo(t){return function(){Qe(this,t)}}function Go(t,n){return function(){(n.apply(this,arguments)?Ke:Qe)(this,t)}}function jo(){this.textContent=""}function ts(t){return function(){this.textContent=t}}function ns(t){return function(){var n=t.apply(this,arguments);this.textContent=n??""}}function is(){this.innerHTML=""}function rs(t){return function(){this.innerHTML=t}}function os(t){return function(){var n=t.apply(this,arguments);this.innerHTML=n??""}}function us(){this.nextSibling&&this.parentNode.appendChild(this)}function cs(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function hs(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===Kn&&n.documentElement.namespaceURI===Kn?n.createElement(t):n.createElementNS(e,t)}}function fs(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ge(t){var n=mn(t);return(n.local?fs:hs)(n)}function ps(){return null}function ys(){var t=this.parentNode;t&&t.removeChild(this)}function ds(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function vs(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Ms(t){return t.trim().split(/^|\s+/).map(function(n){var e="",i=n.indexOf(".");return i>=0&&(e=n.slice(i+1),n=n.slice(0,i)),{type:n,name:e}})}function bs(t){return function(){var n=this.__on;if(n){for(var o,e=0,i=-1,r=n.length;e<r;++e)o=n[e],t.type&&o.type!==t.type||o.name!==t.name?n[++i]=o:this.removeEventListener(o.type,o.listener,o.options);++i?n.length=i:delete this.__on}}}function ks(t,n,e){return function(){var r,i=this.__on,o=function Ts(t){return function(n){t.call(this,n,this.__data__)}}(n);if(i)for(var s=0,u=i.length;s<u;++s)if((r=i[s]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),void(r.value=n);this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}function Je(t,n,e){var i=Be(t),r=i.CustomEvent;"function"==typeof r?r=new r(n,e):(r=i.document.createEvent("Event"),e?(r.initEvent(n,e.bubbles,e.cancelable),r.detail=e.detail):r.initEvent(n,!1,!1)),t.dispatchEvent(r)}function Ss(t,n){return function(){return Je(this,t,n)}}function As(t,n){return function(){return Je(this,t,n.apply(this,arguments))}}qe.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var je=[null];function ct(t,n){this._groups=t,this._parents=n}function ti(){return new ct([[document.documentElement]],je)}ct.prototype=ti.prototype={constructor:ct,select:function to(t){"function"!=typeof t&&(t=qn(t));for(var n=this._groups,e=n.length,i=new Array(e),r=0;r<e;++r)for(var c,a,o=n[r],s=o.length,u=i[r]=new Array(s),l=0;l<s;++l)(c=o[l])&&(a=t.call(c,c.__data__,l,o))&&("__data__"in c&&(a.__data__=c.__data__),u[l]=a);return new ct(i,this._parents)},selectAll:function ro(t){t="function"==typeof t?function io(t){return function(){return no(t.apply(this,arguments))}}(t):$e(t);for(var n=this._groups,e=n.length,i=[],r=[],o=0;o<e;++o)for(var c,s=n[o],u=s.length,a=0;a<u;++a)(c=s[a])&&(i.push(t.call(c,c.__data__,a,s)),r.push(c));return new ct(i,r)},selectChild:function ao(t){return this.select(null==t?uo:function so(t){return function(){return oo.call(this.children,t)}}("function"==typeof t?t:We(t)))},selectChildren:function fo(t){return this.selectAll(null==t?lo:function ho(t){return function(){return co.call(this.children,t)}}("function"==typeof t?t:We(t)))},filter:function _o(t){"function"!=typeof t&&(t=He(t));for(var n=this._groups,e=n.length,i=new Array(e),r=0;r<e;++r)for(var c,o=n[r],s=o.length,u=i[r]=[],a=0;a<s;++a)(c=o[a])&&t.call(c,c.__data__,a,o)&&u.push(c);return new ct(i,this._parents)},data:function wo(t,n){if(!arguments.length)return Array.from(this,vo);var e=n?go:yo,i=this._parents,r=this._groups;"function"!=typeof t&&(t=mo(t));for(var o=r.length,s=new Array(o),u=new Array(o),c=new Array(o),a=0;a<o;++a){var l=i[a],_=r[a],h=_.length,p=xo(t.call(l,l&&l.__data__,a,i)),S=p.length,U=u[a]=new Array(S),g=s[a]=new Array(S),m=c[a]=new Array(h);e(l,_,U,g,m,p,n);for(var M,A,T=0,d=0;T<S;++T)if(M=U[T]){for(T>=d&&(d=T+1);!(A=g[d])&&++d<S;);M._next=A||null}}return(s=new ct(s,i))._enter=u,s._exit=c,s},enter:function po(){return new ct(this._enter||this._groups.map(Xe),this._parents)},exit:function To(){return new ct(this._exit||this._groups.map(Xe),this._parents)},join:function Mo(t,n,e){var i=this.enter(),r=this,o=this.exit();return"function"==typeof t?(i=t(i))&&(i=i.selection()):i=i.append(t+""),null!=n&&((r=n(r))&&(r=r.selection())),null==e?o.remove():e(o),i&&r?i.merge(r).order():r},merge:function bo(t){for(var n=t.selection?t.selection():t,e=this._groups,i=n._groups,r=e.length,o=i.length,s=Math.min(r,o),u=new Array(r),c=0;c<s;++c)for(var p,a=e[c],l=i[c],_=a.length,h=u[c]=new Array(_),S=0;S<_;++S)(p=a[S]||l[S])&&(h[S]=p);for(;c<r;++c)u[c]=e[c];return new ct(u,this._parents)},selection:function Es(){return this},order:function ko(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var s,i=t[n],r=i.length-1,o=i[r];--r>=0;)(s=i[r])&&(o&&4^s.compareDocumentPosition(o)&&o.parentNode.insertBefore(s,o),o=s);return this},sort:function Co(t){function n(_,h){return _&&h?t(_.__data__,h.__data__):!_-!h}t||(t=So);for(var e=this._groups,i=e.length,r=new Array(i),o=0;o<i;++o){for(var a,s=e[o],u=s.length,c=r[o]=new Array(u),l=0;l<u;++l)(a=s[l])&&(c[l]=a);c.sort(n)}return new ct(r,this._parents).order()},call:function Ao(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function No(){return Array.from(this)},node:function Do(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var i=t[n],r=0,o=i.length;r<o;++r){var s=i[r];if(s)return s}return null},size:function Eo(){let t=0;for(const n of this)++t;return t},empty:function Uo(){return!this.node()},each:function zo(t){for(var n=this._groups,e=0,i=n.length;e<i;++e)for(var u,r=n[e],o=0,s=r.length;o<s;++o)(u=r[o])&&t.call(u,u.__data__,o,r);return this},attr:function Oo(t,n){var e=mn(t);if(arguments.length<2){var i=this.node();return e.local?i.getAttributeNS(e.space,e.local):i.getAttribute(e)}return this.each((null==n?e.local?Yo:Fo:"function"==typeof n?e.local?Lo:Po:e.local?Io:Ro)(e,n))},style:function Xo(t,n,e){return arguments.length>1?this.each((null==n?$o:"function"==typeof n?Wo:Ho)(t,n,e??"")):Rt(this.node(),t)},property:function qo(t,n){return arguments.length>1?this.each((null==n?Vo:"function"==typeof n?Zo:Bo)(t,n)):this.node()[t]},classed:function Jo(t,n){var e=Ze(t+"");if(arguments.length<2){for(var i=Qn(this.node()),r=-1,o=e.length;++r<o;)if(!i.contains(e[r]))return!1;return!0}return this.each(("function"==typeof n?Go:n?Ko:Qo)(e,n))},text:function es(t){return arguments.length?this.each(null==t?jo:("function"==typeof t?ns:ts)(t)):this.node().textContent},html:function ss(t){return arguments.length?this.each(null==t?is:("function"==typeof t?os:rs)(t)):this.node().innerHTML},raise:function as(){return this.each(us)},lower:function ls(){return this.each(cs)},append:function _s(t){var n="function"==typeof t?t:Ge(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function ms(t,n){var e="function"==typeof t?t:Ge(t),i=null==n?ps:"function"==typeof n?n:qn(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function gs(){return this.each(ys)},clone:function ws(t){return this.select(t?vs:ds)},datum:function xs(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function Cs(t,n,e){var r,s,i=Ms(t+""),o=i.length;if(!(arguments.length<2)){for(u=n?ks:bs,r=0;r<o;++r)this.each(u(i[r],n,e));return this}var u=this.node().__on;if(u)for(var l,c=0,a=u.length;c<a;++c)for(r=0,l=u[c];r<o;++r)if((s=i[r]).type===l.type&&s.name===l.name)return l.value},dispatch:function Ns(t,n){return this.each(("function"==typeof n?As:Ss)(t,n))},[Symbol.iterator]:function*Ds(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var s,i=t[n],r=0,o=i.length;r<o;++r)(s=i[r])&&(yield s)}};const Kt=ti;var Us={value:()=>{}};function ni(){for(var i,t=0,n=arguments.length,e={};t<n;++t){if(!(i=arguments[t]+"")||i in e||/[\s.]/.test(i))throw new Error("illegal type: "+i);e[i]=[]}return new yn(e)}function yn(t){this._=t}function zs(t,n){return t.trim().split(/^|\s+/).map(function(e){var i="",r=e.indexOf(".");if(r>=0&&(i=e.slice(r+1),e=e.slice(0,r)),e&&!n.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:i}})}function Fs(t,n){for(var r,e=0,i=t.length;e<i;++e)if((r=t[e]).name===n)return r.value}function ei(t,n,e){for(var i=0,r=t.length;i<r;++i)if(t[i].name===n){t[i]=Us,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=e&&t.push({name:n,value:e}),t}yn.prototype=ni.prototype={constructor:yn,on:function(t,n){var r,e=this._,i=zs(t+"",e),o=-1,s=i.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<s;)if(r=(t=i[o]).type)e[r]=ei(e[r],t.name,n);else if(null==n)for(r in e)e[r]=ei(e[r],t.name,null);return this}for(;++o<s;)if((r=(t=i[o]).type)&&(r=Fs(e[r],t.name)))return r},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new yn(t)},call:function(t,n){if((r=arguments.length-2)>0)for(var r,o,e=new Array(r),i=0;i<r;++i)e[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(i=0,r=(o=this._[t]).length;i<r;++i)o[i].value.apply(n,e)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(n,e)}};const Ys=ni;var gn,Jt,It=0,Qt=0,Gt=0,dn=0,At=0,vn=0,jt="object"==typeof performance&&performance.now?performance:Date,ri="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gn(){return At||(ri(Rs),At=jt.now()+vn)}function Rs(){At=0}function wn(){this._call=this._time=this._next=null}function oi(t,n,e){var i=new wn;return i.restart(t,n,e),i}function si(){At=(dn=jt.now())+vn,It=Qt=0;try{!function Is(){Gn(),++It;for(var n,t=gn;t;)(n=At-t._time)>=0&&t._call.call(void 0,n),t=t._next;--It}()}finally{It=0,function Ls(){for(var t,e,n=gn,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:gn=e);Jt=t,Jn(i)}(),At=0}}function Ps(){var t=jt.now(),n=t-dn;n>1e3&&(vn-=n,dn=t)}function Jn(t){It||(Qt&&(Qt=clearTimeout(Qt)),t-At>24?(t<1/0&&(Qt=setTimeout(si,t-jt.now()-vn)),Gt&&(Gt=clearInterval(Gt))):(Gt||(dn=jt.now(),Gt=setInterval(Ps,1e3)),It=1,ri(si)))}function ui(t,n,e){var i=new wn;return n=null==n?0:+n,i.restart(r=>{i.stop(),t(r+n)},n,e),i}wn.prototype=oi.prototype={constructor:wn,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Gn():+e)+(null==n?0:+n),!this._next&&Jt!==this&&(Jt?Jt._next=this:gn=this,Jt=this),this._call=t,this._time=e,Jn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Jn())}};var Os=Ys("start","end","cancel","interrupt"),$s=[];function Mn(t,n,e,i,r,o){var s=t.__transition;if(s){if(e in s)return}else t.__transition={};!function Hs(t,n,e){var r,i=t.__transition;function o(a){e.state=1,e.timer.restart(s,e.delay,e.time),e.delay<=a&&s(a-e.delay)}function s(a){var l,_,h,p;if(1!==e.state)return c();for(l in i)if((p=i[l]).name===e.name){if(3===p.state)return ui(s);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete i[l]):+l<n&&(p.state=6,p.timer.stop(),p.on.call("cancel",t,t.__data__,p.index,p.group),delete i[l])}if(ui(function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(a))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(e.state=3,r=new Array(h=e.tween.length),l=0,_=-1;l<h;++l)(p=e.tween[l].value.call(t,t.__data__,e.index,e.group))&&(r[++_]=p);r.length=_+1}}function u(a){for(var l=a<e.duration?e.ease.call(null,a/e.duration):(e.timer.restart(c),e.state=5,1),_=-1,h=r.length;++_<h;)r[_].call(t,l);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),c())}function c(){for(var a in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=oi(o,0,e.time)}(t,e,{name:n,index:i,group:r,on:Os,tween:$s,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function ne(t,n){var e=ft(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function mt(t,n){var e=ft(t,n);if(e.state>3)throw new Error("too late; already running");return e}function ft(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function _t(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var bn,hi=180/Math.PI,ee={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function fi(t,n,e,i,r,o){var s,u,c;return(s=Math.sqrt(t*t+n*n))&&(t/=s,n/=s),(c=t*e+n*i)&&(e-=t*c,i-=n*c),(u=Math.sqrt(e*e+i*i))&&(e/=u,i/=u,c/=u),t*i<n*e&&(t=-t,n=-n,c=-c,s=-s),{translateX:r,translateY:o,rotate:Math.atan2(n,t)*hi,skewX:Math.atan(c)*hi,scaleX:s,scaleY:u}}function _i(t,n,e,i){function r(a){return a.length?a.pop()+" ":""}return function(a,l){var _=[],h=[];return a=t(a),l=t(l),function o(a,l,_,h,p,S){if(a!==_||l!==h){var U=p.push("translate(",null,n,null,e);S.push({i:U-4,x:_t(a,_)},{i:U-2,x:_t(l,h)})}else(_||h)&&p.push("translate("+_+n+h+e)}(a.translateX,a.translateY,l.translateX,l.translateY,_,h),function s(a,l,_,h){a!==l?(a-l>180?l+=360:l-a>180&&(a+=360),h.push({i:_.push(r(_)+"rotate(",null,i)-2,x:_t(a,l)})):l&&_.push(r(_)+"rotate("+l+i)}(a.rotate,l.rotate,_,h),function u(a,l,_,h){a!==l?h.push({i:_.push(r(_)+"skewX(",null,i)-2,x:_t(a,l)}):l&&_.push(r(_)+"skewX("+l+i)}(a.skewX,l.skewX,_,h),function c(a,l,_,h,p,S){if(a!==_||l!==h){var U=p.push(r(p)+"scale(",null,",",null,")");S.push({i:U-4,x:_t(a,_)},{i:U-2,x:_t(l,h)})}else(1!==_||1!==h)&&p.push(r(p)+"scale("+_+","+h+")")}(a.scaleX,a.scaleY,l.scaleX,l.scaleY,_,h),a=l=null,function(p){for(var g,S=-1,U=h.length;++S<U;)_[(g=h[S]).i]=g.x(p);return _.join("")}}}var Zs=_i(function Vs(t){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?ee:fi(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),qs=_i(function Bs(t){return null!=t&&(bn||(bn=document.createElementNS("http://www.w3.org/2000/svg","g")),bn.setAttribute("transform",t),t=bn.transform.baseVal.consolidate())?fi((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):ee},", ",")",")");function Ks(t,n){var e,i;return function(){var r=mt(this,t),o=r.tween;if(o!==e)for(var s=0,u=(i=e=o).length;s<u;++s)if(i[s].name===n){(i=i.slice()).splice(s,1);break}r.tween=i}}function Qs(t,n,e){var i,r;if("function"!=typeof e)throw new Error;return function(){var o=mt(this,t),s=o.tween;if(s!==i){r=(i=s).slice();for(var u={name:n,value:e},c=0,a=r.length;c<a;++c)if(r[c].name===n){r[c]=u;break}c===a&&r.push(u)}o.tween=r}}function ie(t,n,e){var i=t._id;return t.each(function(){var r=mt(this,i);(r.value||(r.value={}))[n]=e.apply(this,arguments)}),function(r){return ft(r,i).value[n]}}var lt=Yt(74844);function pi(t,n,e,i,r){var o=t*t,s=o*t;return((1-3*t+3*o-s)*n+(4-6*o+3*s)*e+(1+3*t+3*o-3*s)*i+s*r)/6}const kn=t=>()=>t;function mi(t,n){return function(e){return t+e*n}}function eu(t){return 1==(t=+t)?Pt:function(n,e){return e-n?function tu(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(i){return Math.pow(t+i*n,e)}}(n,e,t):kn(isNaN(n)?e:n)}}function Pt(t,n){var e=n-t;return e?mi(t,e):kn(isNaN(t)?n:t)}const Cn=function t(n){var e=eu(n);function i(r,o){var s=e((r=(0,lt.B8)(r)).r,(o=(0,lt.B8)(o)).r),u=e(r.g,o.g),c=e(r.b,o.b),a=Pt(r.opacity,o.opacity);return function(l){return r.r=s(l),r.g=u(l),r.b=c(l),r.opacity=a(l),r+""}}return i.gamma=t,i}(1);function yi(t){return function(n){var s,u,e=n.length,i=new Array(e),r=new Array(e),o=new Array(e);for(s=0;s<e;++s)u=(0,lt.B8)(n[s]),i[s]=u.r||0,r[s]=u.g||0,o[s]=u.b||0;return i=t(i),r=t(r),o=t(o),u.opacity=1,function(c){return u.r=i(c),u.g=r(c),u.b=o(c),u+""}}}yi(function Js(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),r=t[i],o=t[i+1],s=i>0?t[i-1]:2*r-o,u=i<n-1?t[i+2]:2*o-r;return pi((e-i/n)*n,s,r,o,u)}}),yi(function js(t){var n=t.length;return function(e){var i=Math.floor(((e%=1)<0?++e:e)*n),r=t[(i+n-1)%n],o=t[i%n],s=t[(i+1)%n],u=t[(i+2)%n];return pi((e-i/n)*n,r,o,s,u)}});var re=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,oe=new RegExp(re.source,"g");function gi(t,n){var i,r,o,e=re.lastIndex=oe.lastIndex=0,s=-1,u=[],c=[];for(t+="",n+="";(i=re.exec(t))&&(r=oe.exec(n));)(o=r.index)>e&&(o=n.slice(e,o),u[s]?u[s]+=o:u[++s]=o),(i=i[0])===(r=r[0])?u[s]?u[s]+=r:u[++s]=r:(u[++s]=null,c.push({i:s,x:_t(i,r)})),e=oe.lastIndex;return e<n.length&&(o=n.slice(e),u[s]?u[s]+=o:u[++s]=o),u.length<2?c[0]?function ru(t){return function(n){return t(n)+""}}(c[0].x):function iu(t){return function(){return t}}(n):(n=c.length,function(a){for(var _,l=0;l<n;++l)u[(_=c[l]).i]=_.x(a);return u.join("")})}function di(t,n){var e;return("number"==typeof n?_t:n instanceof lt.ZP?Cn:(e=(0,lt.ZP)(n))?(n=e,Cn):gi)(t,n)}function ou(t){return function(){this.removeAttribute(t)}}function su(t){return function(){this.removeAttributeNS(t.space,t.local)}}function uu(t,n,e){var i,o,r=e+"";return function(){var s=this.getAttribute(t);return s===r?null:s===i?o:o=n(i=s,e)}}function au(t,n,e){var i,o,r=e+"";return function(){var s=this.getAttributeNS(t.space,t.local);return s===r?null:s===i?o:o=n(i=s,e)}}function cu(t,n,e){var i,r,o;return function(){var s,c,u=e(this);return null==u?void this.removeAttribute(t):(s=this.getAttribute(t))===(c=u+"")?null:s===i&&c===r?o:(r=c,o=n(i=s,u))}}function lu(t,n,e){var i,r,o;return function(){var s,c,u=e(this);return null==u?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local))===(c=u+"")?null:s===i&&c===r?o:(r=c,o=n(i=s,u))}}function fu(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}function _u(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}function pu(t,n){var e,i;function r(){var o=n.apply(this,arguments);return o!==i&&(e=(i=o)&&_u(t,o)),e}return r._value=n,r}function mu(t,n){var e,i;function r(){var o=n.apply(this,arguments);return o!==i&&(e=(i=o)&&fu(t,o)),e}return r._value=n,r}function gu(t,n){return function(){ne(this,t).delay=+n.apply(this,arguments)}}function du(t,n){return n=+n,function(){ne(this,t).delay=n}}function wu(t,n){return function(){mt(this,t).duration=+n.apply(this,arguments)}}function xu(t,n){return n=+n,function(){mt(this,t).duration=n}}function Mu(t,n){if("function"!=typeof n)throw new Error;return function(){mt(this,t).ease=n}}function Du(t,n,e){var i,r,o=function Nu(t){return(t+"").trim().split(/^|\s+/).every(function(n){var e=n.indexOf(".");return e>=0&&(n=n.slice(0,e)),!n||"start"===n})}(n)?ne:mt;return function(){var s=o(this,t),u=s.on;u!==i&&(r=(i=u).copy()).on(n,e),s.on=r}}var Ru=Kt.prototype.constructor;function vi(t){return function(){this.style.removeProperty(t)}}function Wu(t,n,e){return function(i){this.style.setProperty(t,n.call(this,i),e)}}function Xu(t,n,e){var i,r;function o(){var s=n.apply(this,arguments);return s!==r&&(i=(r=s)&&Wu(t,s,e)),i}return o._value=n,o}function Ku(t){return function(n){this.textContent=t.call(this,n)}}function Qu(t){var n,e;function i(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&Ku(r)),n}return i._value=t,i}var ta=0;function dt(t,n,e,i){this._groups=t,this._parents=n,this._name=e,this._id=i}function wi(){return++ta}var vt=Kt.prototype;dt.prototype=function na(t){return Kt().transition(t)}.prototype={constructor:dt,select:function Fu(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=qn(t));for(var i=this._groups,r=i.length,o=new Array(r),s=0;s<r;++s)for(var l,_,u=i[s],c=u.length,a=o[s]=new Array(c),h=0;h<c;++h)(l=u[h])&&(_=t.call(l,l.__data__,h,u))&&("__data__"in l&&(_.__data__=l.__data__),a[h]=_,Mn(a[h],n,e,h,a,ft(l,e)));return new dt(o,this._parents,n,e)},selectAll:function Yu(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=$e(t));for(var i=this._groups,r=i.length,o=[],s=[],u=0;u<r;++u)for(var l,c=i[u],a=c.length,_=0;_<a;++_)if(l=c[_]){for(var p,h=t.call(l,l.__data__,_,c),S=ft(l,e),U=0,g=h.length;U<g;++U)(p=h[U])&&Mn(p,n,e,U,h,S);o.push(h),s.push(l)}return new dt(o,s,n,e)},selectChild:vt.selectChild,selectChildren:vt.selectChildren,filter:function Su(t){"function"!=typeof t&&(t=He(t));for(var n=this._groups,e=n.length,i=new Array(e),r=0;r<e;++r)for(var c,o=n[r],s=o.length,u=i[r]=[],a=0;a<s;++a)(c=o[a])&&t.call(c,c.__data__,a,o)&&u.push(c);return new dt(i,this._parents,this._name,this._id)},merge:function Au(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,i=n.length,r=e.length,o=Math.min(i,r),s=new Array(i),u=0;u<o;++u)for(var h,c=n[u],a=e[u],l=c.length,_=s[u]=new Array(l),p=0;p<l;++p)(h=c[p]||a[p])&&(_[p]=h);for(;u<i;++u)s[u]=n[u];return new dt(s,this._parents,this._name,this._id)},selection:function Iu(){return new Ru(this._groups,this._parents)},transition:function Ju(){for(var t=this._name,n=this._id,e=wi(),i=this._groups,r=i.length,o=0;o<r;++o)for(var c,s=i[o],u=s.length,a=0;a<u;++a)if(c=s[a]){var l=ft(c,n);Mn(c,t,e,a,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new dt(i,this._parents,t,e)},call:vt.call,nodes:vt.nodes,node:vt.node,size:vt.size,empty:vt.empty,each:vt.each,on:function Eu(t,n){var e=this._id;return arguments.length<2?ft(this.node(),e).on.on(t):this.each(Du(e,t,n))},attr:function hu(t,n){var e=mn(t),i="transform"===e?qs:di;return this.attrTween(t,"function"==typeof n?(e.local?lu:cu)(e,i,ie(this,"attr."+t,n)):null==n?(e.local?su:ou)(e):(e.local?au:uu)(e,i,n))},attrTween:function yu(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var i=mn(t);return this.tween(e,(i.local?pu:mu)(i,n))},style:function Hu(t,n,e){var i="transform"==(t+="")?Zs:di;return null==n?this.styleTween(t,function Pu(t,n){var e,i,r;return function(){var o=Rt(this,t),s=(this.style.removeProperty(t),Rt(this,t));return o===s?null:o===e&&s===i?r:r=n(e=o,i=s)}}(t,i)).on("end.style."+t,vi(t)):"function"==typeof n?this.styleTween(t,function Ou(t,n,e){var i,r,o;return function(){var s=Rt(this,t),u=e(this),c=u+"";return null==u&&(this.style.removeProperty(t),c=u=Rt(this,t)),s===c?null:s===i&&c===r?o:(r=c,o=n(i=s,u))}}(t,i,ie(this,"style."+t,n))).each(function $u(t,n){var e,i,r,u,o="style."+n,s="end."+o;return function(){var c=mt(this,t),a=c.on,l=null==c.value[o]?u||(u=vi(n)):void 0;(a!==e||r!==l)&&(i=(e=a).copy()).on(s,r=l),c.on=i}}(this._id,t)):this.styleTween(t,function Lu(t,n,e){var i,o,r=e+"";return function(){var s=Rt(this,t);return s===r?null:s===i?o:o=n(i=s,e)}}(t,i,n),e).on("end.style."+t,null)},styleTween:function Vu(t,n,e){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==n)return this.tween(i,null);if("function"!=typeof n)throw new Error;return this.tween(i,Xu(t,n,e??""))},text:function qu(t){return this.tween("text","function"==typeof t?function Zu(t){return function(){var n=t(this);this.textContent=n??""}}(ie(this,"text",t)):function Bu(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function Gu(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,Qu(t))},remove:function zu(){return this.on("end.remove",function Uu(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function Gs(t,n){var e=this._id;if(t+="",arguments.length<2){for(var s,i=ft(this.node(),e).tween,r=0,o=i.length;r<o;++r)if((s=i[r]).name===t)return s.value;return null}return this.each((null==n?Ks:Qs)(e,t,n))},delay:function vu(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?gu:du)(n,t)):ft(this.node(),n).delay},duration:function Tu(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?wu:xu)(n,t)):ft(this.node(),n).duration},ease:function bu(t){var n=this._id;return arguments.length?this.each(Mu(n,t)):ft(this.node(),n).ease},easeVarying:function Cu(t){if("function"!=typeof t)throw new Error;return this.each(function ku(t,n){return function(){var e=n.apply(this,arguments);if("function"!=typeof e)throw new Error;mt(this,t).ease=e}}(this._id,t))},end:function ju(){var t,n,e=this,i=e._id,r=e.size();return new Promise(function(o,s){var u={value:s},c={value:function(){0==--r&&o()}};e.each(function(){var a=mt(this,i),l=a.on;l!==t&&((n=(t=l).copy())._.cancel.push(u),n._.interrupt.push(u),n._.end.push(c)),a.on=n}),0===r&&o()})},[Symbol.iterator]:vt[Symbol.iterator]};var ia={time:null,delay:0,duration:250,ease:function ea(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function ra(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error(`transition ${n} not found`);return e}Kt.prototype.interrupt=function Xs(t){return this.each(function(){!function Ws(t,n){var i,r,s,e=t.__transition,o=!0;if(e){for(s in n=null==n?null:n+"",e)(i=e[s]).name===n?(r=i.state>2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete e[s]):o=!1;o&&delete t.__transition}}(this,t)})},Kt.prototype.transition=function oa(t){var n,e;t instanceof dt?(n=t._id,t=t._name):(n=wi(),(e=ia).time=Gn(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var c,s=i[o],u=s.length,a=0;a<u;++a)(c=s[a])&&Mn(c,t,n,a,s,e||ra(c,n));return new dt(i,this._parents,t,n)};const{abs:Ti,max:it,min:rt}=Math;function Mi(t){return[+t[0],+t[1]]}function ue(t){return[Mi(t[0]),Mi(t[1])]}["w","e"].map(tn),["n","s"].map(tn),["n","w","e","s","nw","ne","sw","se"].map(tn);function tn(t){return{type:t}}var Nn=Yt(22580);const _a=Math.PI/180,pa=180/Math.PI,Ni=4/29,$t=6/29,Di=3*$t*$t;function Ei(t){if(t instanceof pt)return new pt(t.l,t.a,t.b,t.opacity);if(t instanceof yt)return zi(t);t instanceof lt.Ss||(t=(0,lt.SU)(t));var o,s,n=_e(t.r),e=_e(t.g),i=_e(t.b),r=le((.2225045*n+.7168786*e+.0606169*i)/1);return n===e&&e===i?o=s=r:(o=le((.4360747*n+.3850649*e+.1430804*i)/.96422),s=le((.0139322*n+.0971045*e+.7141733*i)/.82521)),new pt(116*r-16,500*(o-r),200*(r-s),t.opacity)}function pt(t,n,e,i){this.l=+t,this.a=+n,this.b=+e,this.opacity=+i}function le(t){return t>.008856451679035631?Math.pow(t,1/3):t/Di+Ni}function he(t){return t>$t?t*t*t:Di*(t-Ni)}function fe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function _e(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ui(t){if(t instanceof yt)return new yt(t.h,t.c,t.l,t.opacity);if(t instanceof pt||(t=Ei(t)),0===t.a&&0===t.b)return new yt(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*pa;return new yt(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function pe(t,n,e,i){return 1===arguments.length?Ui(t):new yt(t,n,e,i??1)}function yt(t,n,e,i){this.h=+t,this.c=+n,this.l=+e,this.opacity=+i}function zi(t){if(isNaN(t.h))return new pt(t.l,0,0,t.opacity);var n=t.h*_a;return new pt(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}function Fi(t){return function(n,e){var i=t((n=pe(n)).h,(e=pe(e)).h),r=Pt(n.c,e.c),o=Pt(n.l,e.l),s=Pt(n.opacity,e.opacity);return function(u){return n.h=i(u),n.c=r(u),n.l=o(u),n.opacity=s(u),n+""}}}(0,Nn.Z)(pt,function ya(t,n,e,i){return 1===arguments.length?Ei(t):new pt(t,n,e,i??1)},(0,Nn.l)(lt.Il,{brighter(t){return new pt(this.l+18*(t??1),this.a,this.b,this.opacity)},darker(t){return new pt(this.l-18*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return n=.96422*he(n),t=1*he(t),e=.82521*he(e),new lt.Ss(fe(3.1338561*n-1.6168667*t-.4906146*e),fe(-.9787684*n+1.9161415*t+.033454*e),fe(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),(0,Nn.Z)(yt,pe,(0,Nn.l)(lt.Il,{brighter(t){return new yt(this.h,this.c,this.l+18*(t??1),this.opacity)},darker(t){return new yt(this.h,this.c,this.l-18*(t??1),this.opacity)},rgb(){return zi(this).rgb()}}));const ga=Fi(function nu(t,n){var e=n-t;return e?mi(t,e>180||e<-180?e-360*Math.round(e/360):e):kn(isNaN(t)?n:t)});Fi(Pt);function da(t,n,e){t=+t,n=+n,e=(r=arguments.length)<2?(n=t,t=0,1):r<3?1:+e;for(var i=-1,r=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(r);++i<r;)o[i]=t+i*e;return o}function En(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}class Yi extends Map{constructor(n,e=Pi){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=n)for(const[i,r]of n)this.set(i,r)}get(n){return super.get(me(this,n))}has(n){return super.has(me(this,n))}set(n,e){return super.set(Ri(this,n),e)}delete(n){return super.delete(Ii(this,n))}}Set;function me({_intern:t,_key:n},e){const i=n(e);return t.has(i)?t.get(i):e}function Ri({_intern:t,_key:n},e){const i=n(e);return t.has(i)?t.get(i):(t.set(i,e),e)}function Ii({_intern:t,_key:n},e){const i=n(e);return t.has(i)&&(e=t.get(i),t.delete(i)),e}function Pi(t){return null!==t&&"object"==typeof t?t.valueOf():t}const Li=Symbol("implicit");function ye(){var t=new Yi,n=[],e=[],i=Li;function r(o){let s=t.get(o);if(void 0===s){if(i!==Li)return i;t.set(o,s=n.push(o)-1)}return e[s%e.length]}return r.domain=function(o){if(!arguments.length)return n.slice();n=[],t=new Yi;for(const s of o)t.has(s)||t.set(s,n.push(s)-1);return r},r.range=function(o){return arguments.length?(e=Array.from(o),r):e.slice()},r.unknown=function(o){return arguments.length?(i=o,r):i},r.copy=function(){return ye(n,e).unknown(i)},En.apply(r,arguments),r}function ge(){var o,s,t=ye().unknown(void 0),n=t.domain,e=t.range,i=0,r=1,u=!1,c=0,a=0,l=.5;function _(){var h=n().length,p=r<i,S=p?r:i,U=p?i:r;o=(U-S)/Math.max(1,h-c+2*a),u&&(o=Math.floor(o)),S+=(U-S-o*(h-c))*l,s=o*(1-c),u&&(S=Math.round(S),s=Math.round(s));var g=da(h).map(function(m){return S+o*m});return e(p?g.reverse():g)}return delete t.unknown,t.domain=function(h){return arguments.length?(n(h),_()):n()},t.range=function(h){return arguments.length?([i,r]=h,i=+i,r=+r,_()):[i,r]},t.rangeRound=function(h){return[i,r]=h,i=+i,r=+r,u=!0,_()},t.bandwidth=function(){return s},t.step=function(){return o},t.round=function(h){return arguments.length?(u=!!h,_()):u},t.padding=function(h){return arguments.length?(c=Math.min(1,a=+h),_()):c},t.paddingInner=function(h){return arguments.length?(c=Math.min(1,h),_()):c},t.paddingOuter=function(h){return arguments.length?(a=+h,_()):a},t.align=function(h){return arguments.length?(l=Math.max(0,Math.min(1,h)),_()):l},t.copy=function(){return ge(n(),[i,r]).round(u).paddingInner(c).paddingOuter(a).align(l)},En.apply(_(),arguments)}const va=Math.sqrt(50),wa=Math.sqrt(10),xa=Math.sqrt(2);function Un(t,n,e){const i=(n-t)/Math.max(0,e),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),s=o>=va?10:o>=wa?5:o>=xa?2:1;let u,c,a;return r<0?(a=Math.pow(10,-r)/s,u=Math.round(t*a),c=Math.round(n*a),u/a<t&&++u,c/a>n&&--c,a=-a):(a=Math.pow(10,r)*s,u=Math.round(t/a),c=Math.round(n/a),u*a<t&&++u,c*a>n&&--c),c<u&&.5<=e&&e<2?Un(t,n,2*e):[u,c,a]}function de(t,n,e){return Un(t=+t,n=+n,e=+e)[2]}function ve(t,n,e){e=+e;const i=(n=+n)<(t=+t),r=i?de(n,t,e):de(t,n,e);return(i?-1:1)*(r<0?1/-r:r)}function zn(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function Ma(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function we(t){let n,e,i;function r(u,c,a=0,l=u.length){if(a<l){if(0!==n(c,c))return l;do{const _=a+l>>>1;e(u[_],c)<0?a=_+1:l=_}while(a<l)}return a}return 2!==t.length?(n=zn,e=(u,c)=>zn(t(u),c),i=(u,c)=>t(u)-c):(n=t===zn||t===Ma?t:ba,e=t,i=t),{left:r,center:function s(u,c,a=0,l=u.length){const _=r(u,c,a,l-1);return _>a&&i(u[_-1],c)>-i(u[_],c)?_-1:_},right:function o(u,c,a=0,l=u.length){if(a<l){if(0!==n(c,c))return l;do{const _=a+l>>>1;e(u[_],c)<=0?a=_+1:l=_}while(a<l)}return a}}}function ba(){return 0}const $i=we(zn),Ca=$i.right,Sa=($i.left,we(function ka(t){return null===t?NaN:+t}).center,Ca);function Hi(t,n){var s,e=n?n.length:0,i=t?Math.min(e,t.length):0,r=new Array(i),o=new Array(e);for(s=0;s<i;++s)r[s]=xe(t[s],n[s]);for(;s<e;++s)o[s]=n[s];return function(u){for(s=0;s<i;++s)o[s]=r[s](u);return o}}function Aa(t,n){var e=new Date;return t=+t,n=+n,function(i){return e.setTime(t*(1-i)+n*i),e}}function Na(t,n){var r,e={},i={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===n||"object"!=typeof n)&&(n={}),n)r in t?e[r]=xe(t[r],n[r]):i[r]=n[r];return function(o){for(r in e)i[r]=e[r](o);return i}}function Da(t,n){n||(n=[]);var r,e=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(r=0;r<e;++r)i[r]=t[r]*(1-o)+n[r]*o;return i}}function xe(t,n){var i,e=typeof n;return null==n||"boolean"===e?kn(n):("number"===e?_t:"string"===e?(i=(0,lt.ZP)(n))?(n=i,Cn):gi:n instanceof lt.ZP?Cn:n instanceof Date?Aa:function Ea(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(n)?Da:Array.isArray(n)?Hi:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Na:_t)(t,n)}function Ua(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Fa(t){return+t}var Wi=[0,1];function Ht(t){return t}function Te(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:function za(t){return function(){return t}}(isNaN(n)?NaN:.5)}function Ra(t,n,e){var i=t[0],r=t[1],o=n[0],s=n[1];return r<i?(i=Te(r,i),o=e(s,o)):(i=Te(i,r),o=e(o,s)),function(u){return o(i(u))}}function Ia(t,n,e){var i=Math.min(t.length,n.length)-1,r=new Array(i),o=new Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++s<i;)r[s]=Te(t[s],t[s+1]),o[s]=e(n[s],n[s+1]);return function(u){var c=Sa(t,u,1,i)-1;return o[c](r[c](u))}}function Xi(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Pa(){var i,r,o,u,c,a,t=Wi,n=Wi,e=xe,s=Ht;function l(){var h=Math.min(t.length,n.length);return s!==Ht&&(s=function Ya(t,n){var e;return t>n&&(e=t,t=n,n=e),function(i){return Math.max(t,Math.min(n,i))}}(t[0],t[h-1])),u=h>2?Ia:Ra,c=a=null,_}function _(h){return null==h||isNaN(h=+h)?o:(c||(c=u(t.map(i),n,e)))(i(s(h)))}return _.invert=function(h){return s(r((a||(a=u(n,t.map(i),_t)))(h)))},_.domain=function(h){return arguments.length?(t=Array.from(h,Fa),l()):t.slice()},_.range=function(h){return arguments.length?(n=Array.from(h),l()):n.slice()},_.rangeRound=function(h){return n=Array.from(h),e=Ua,l()},_.clamp=function(h){return arguments.length?(s=!!h||Ht,l()):s!==Ht},_.interpolate=function(h){return arguments.length?(e=h,l()):e},_.unknown=function(h){return arguments.length?(o=h,_):o},function(h,p){return i=h,r=p,l()}}function Vi(){return Pa()(Ht,Ht)}var La=Yt(38631),nn=Yt(1077);var Bi=Yt(47209);function Wa(t,n,e,i){var o,r=ve(t,n,e);switch((i=(0,La.Z)(i??",f")).type){case"s":var s=Math.max(Math.abs(t),Math.abs(n));return null==i.precision&&!isNaN(o=function Oa(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,nn.Z)(n)/3)))-(0,nn.Z)(Math.abs(t)))}(r,s))&&(i.precision=o),(0,Bi.jH)(i,s);case"":case"e":case"g":case"p":case"r":null==i.precision&&!isNaN(o=function $a(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,(0,nn.Z)(n)-(0,nn.Z)(t))+1}(r,Math.max(Math.abs(t),Math.abs(n))))&&(i.precision=o-("e"===i.type));break;case"f":case"%":null==i.precision&&!isNaN(o=function Ha(t){return Math.max(0,-(0,nn.Z)(Math.abs(t)))}(r))&&(i.precision=o-2*("%"===i.type))}return(0,Bi.WU)(i)}function Xa(t){var n=t.domain;return t.ticks=function(e){var i=n();return function Ta(t,n,e){if(!((e=+e)>0))return[];if((t=+t)==(n=+n))return[t];const i=n<t,[r,o,s]=i?Un(n,t,e):Un(t,n,e);if(!(o>=r))return[];const u=o-r+1,c=new Array(u);if(i)if(s<0)for(let a=0;a<u;++a)c[a]=(o-a)/-s;else for(let a=0;a<u;++a)c[a]=(o-a)*s;else if(s<0)for(let a=0;a<u;++a)c[a]=(r+a)/-s;else for(let a=0;a<u;++a)c[a]=(r+a)*s;return c}(i[0],i[i.length-1],e??10)},t.tickFormat=function(e,i){var r=n();return Wa(r[0],r[r.length-1],e??10,i)},t.nice=function(e){null==e&&(e=10);var c,a,i=n(),r=0,o=i.length-1,s=i[r],u=i[o],l=10;for(u<s&&(a=s,s=u,u=a,a=r,r=o,o=a);l-- >0;){if((a=de(s,u,e))===c)return i[r]=s,i[o]=u,n(i);if(a>0)s=Math.floor(s/a)*a,u=Math.ceil(u/a)*a;else{if(!(a<0))break;s=Math.ceil(s*a)/a,u=Math.floor(u*a)/a}c=a}return t},t}function Zi(){var t=Vi();return t.copy=function(){return Xi(t,Zi())},En.apply(t,arguments),Xa(t)}const xt=1e3,ht=6e4,Tt=60*ht,Mt=24*Tt,Me=7*Mt,qi=30*Mt,be=365*Mt,ke=new Date,Ce=new Date;function nt(t,n,e,i){function r(o){return t(o=0===arguments.length?new Date:new Date(+o)),o}return r.floor=o=>(t(o=new Date(+o)),o),r.ceil=o=>(t(o=new Date(o-1)),n(o,1),t(o),o),r.round=o=>{const s=r(o),u=r.ceil(o);return o-s<u-o?s:u},r.offset=(o,s)=>(n(o=new Date(+o),null==s?1:Math.floor(s)),o),r.range=(o,s,u)=>{const c=[];if(o=r.ceil(o),u=null==u?1:Math.floor(u),!(o<s&&u>0))return c;let a;do{c.push(a=new Date(+o)),n(o,u),t(o)}while(a<o&&o<s);return c},r.filter=o=>nt(s=>{if(s>=s)for(;t(s),!o(s);)s.setTime(s-1)},(s,u)=>{if(s>=s)if(u<0)for(;++u<=0;)for(;n(s,-1),!o(s););else for(;--u>=0;)for(;n(s,1),!o(s););}),e&&(r.count=(o,s)=>(ke.setTime(+o),Ce.setTime(+s),t(ke),t(Ce),Math.floor(e(ke,Ce))),r.every=o=>(o=Math.floor(o),isFinite(o)&&o>0?o>1?r.filter(i?s=>i(s)%o==0:s=>r.count(0,s)%o==0):r:null)),r}const en=nt(()=>{},(t,n)=>{t.setTime(+t+n)},(t,n)=>n-t);en.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?nt(n=>{n.setTime(Math.floor(n/t)*t)},(n,e)=>{n.setTime(+n+e*t)},(n,e)=>(e-n)/t):en:null);en.range;const Nt=nt(t=>{t.setTime(t-t.getMilliseconds())},(t,n)=>{t.setTime(+t+n*xt)},(t,n)=>(n-t)/xt,t=>t.getUTCSeconds()),Fn=(Nt.range,nt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*xt)},(t,n)=>{t.setTime(+t+n*ht)},(t,n)=>(n-t)/ht,t=>t.getMinutes())),Ki=(Fn.range,nt(t=>{t.setUTCSeconds(0,0)},(t,n)=>{t.setTime(+t+n*ht)},(t,n)=>(n-t)/ht,t=>t.getUTCMinutes())),Yn=(Ki.range,nt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*xt-t.getMinutes()*ht)},(t,n)=>{t.setTime(+t+n*Tt)},(t,n)=>(n-t)/Tt,t=>t.getHours())),Qi=(Yn.range,nt(t=>{t.setUTCMinutes(0,0,0)},(t,n)=>{t.setTime(+t+n*Tt)},(t,n)=>(n-t)/Tt,t=>t.getUTCHours())),Wt=(Qi.range,nt(t=>t.setHours(0,0,0,0),(t,n)=>t.setDate(t.getDate()+n),(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ht)/Mt,t=>t.getDate()-1)),Se=(Wt.range,nt(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/Mt,t=>t.getUTCDate()-1)),Gi=(Se.range,nt(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/Mt,t=>Math.floor(t/Mt)));Gi.range;function Dt(t){return nt(n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},(n,e)=>{n.setDate(n.getDate()+7*e)},(n,e)=>(e-n-(e.getTimezoneOffset()-n.getTimezoneOffset())*ht)/Me)}const rn=Dt(0),on=Dt(1),Ji=Dt(2),ji=Dt(3),Et=Dt(4),tr=Dt(5),nr=Dt(6);rn.range,on.range,Ji.range,ji.range,Et.range,tr.range,nr.range;function Ut(t){return nt(n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},(n,e)=>{n.setUTCDate(n.getUTCDate()+7*e)},(n,e)=>(e-n)/Me)}const Ae=Ut(0),Rn=Ut(1),Va=Ut(2),Ba=Ut(3),Xt=Ut(4),Za=Ut(5),qa=Ut(6),In=(Ae.range,Rn.range,Va.range,Ba.range,Xt.range,Za.range,qa.range,nt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,n)=>{t.setMonth(t.getMonth()+n)},(t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear()),t=>t.getMonth())),er=(In.range,nt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)},(t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear()),t=>t.getUTCMonth())),bt=(er.range,nt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n)},(t,n)=>n.getFullYear()-t.getFullYear(),t=>t.getFullYear()));bt.every=t=>isFinite(t=Math.floor(t))&&t>0?nt(n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},(n,e)=>{n.setFullYear(n.getFullYear()+e*t)}):null;bt.range;const kt=nt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)},(t,n)=>n.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());kt.every=t=>isFinite(t=Math.floor(t))&&t>0?nt(n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},(n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null;kt.range;function ir(t,n,e,i,r,o){const s=[[Nt,1,xt],[Nt,5,5e3],[Nt,15,15e3],[Nt,30,3e4],[o,1,ht],[o,5,5*ht],[o,15,15*ht],[o,30,30*ht],[r,1,Tt],[r,3,3*Tt],[r,6,6*Tt],[r,12,12*Tt],[i,1,Mt],[i,2,2*Mt],[e,1,Me],[n,1,qi],[n,3,3*qi],[t,1,be]];function c(a,l,_){const h=Math.abs(l-a)/_,p=we(([,,g])=>g).right(s,h);if(p===s.length)return t.every(ve(a/be,l/be,_));if(0===p)return en.every(Math.max(ve(a,l,_),1));const[S,U]=s[h/s[p-1][2]<s[p][2]/h?p-1:p];return S.every(U)}return[function u(a,l,_){const h=l<a;h&&([a,l]=[l,a]);const p=_&&"function"==typeof _.range?_:c(a,l,_),S=p?p.range(a,+l+1):[];return h?S.reverse():S},c]}const[Zh,qh]=ir(kt,er,Ae,Gi,Qi,Ki),[Ka,Qa]=ir(bt,In,rn,Wt,Yn,Fn);function Ne(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function De(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function sn(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var Vt,Ee,rr={"-":"",_:" ",0:"0"},et=/^\s*\d+/,Ja=/^%/,ja=/[\\^$*+?|[\]().{}]/g;function W(t,n,e){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o<e?new Array(e-o+1).join(n)+r:r)}function tc(t){return t.replace(ja,"\\$&")}function un(t){return new RegExp("^(?:"+t.map(tc).join("|")+")","i")}function an(t){return new Map(t.map((n,e)=>[n.toLowerCase(),e]))}function nc(t,n,e){var i=et.exec(n.slice(e,e+1));return i?(t.w=+i[0],e+i[0].length):-1}function ec(t,n,e){var i=et.exec(n.slice(e,e+1));return i?(t.u=+i[0],e+i[0].length):-1}function ic(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.U=+i[0],e+i[0].length):-1}function rc(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.V=+i[0],e+i[0].length):-1}function oc(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.W=+i[0],e+i[0].length):-1}function or(t,n,e){var i=et.exec(n.slice(e,e+4));return i?(t.y=+i[0],e+i[0].length):-1}function sr(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),e+i[0].length):-1}function sc(t,n,e){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function uc(t,n,e){var i=et.exec(n.slice(e,e+1));return i?(t.q=3*i[0]-3,e+i[0].length):-1}function ac(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.m=i[0]-1,e+i[0].length):-1}function ur(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.d=+i[0],e+i[0].length):-1}function cc(t,n,e){var i=et.exec(n.slice(e,e+3));return i?(t.m=0,t.d=+i[0],e+i[0].length):-1}function ar(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.H=+i[0],e+i[0].length):-1}function lc(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.M=+i[0],e+i[0].length):-1}function hc(t,n,e){var i=et.exec(n.slice(e,e+2));return i?(t.S=+i[0],e+i[0].length):-1}function fc(t,n,e){var i=et.exec(n.slice(e,e+3));return i?(t.L=+i[0],e+i[0].length):-1}function _c(t,n,e){var i=et.exec(n.slice(e,e+6));return i?(t.L=Math.floor(i[0]/1e3),e+i[0].length):-1}function pc(t,n,e){var i=Ja.exec(n.slice(e,e+1));return i?e+i[0].length:-1}function mc(t,n,e){var i=et.exec(n.slice(e));return i?(t.Q=+i[0],e+i[0].length):-1}function yc(t,n,e){var i=et.exec(n.slice(e));return i?(t.s=+i[0],e+i[0].length):-1}function cr(t,n){return W(t.getDate(),n,2)}function gc(t,n){return W(t.getHours(),n,2)}function dc(t,n){return W(t.getHours()%12||12,n,2)}function vc(t,n){return W(1+Wt.count(bt(t),t),n,3)}function lr(t,n){return W(t.getMilliseconds(),n,3)}function wc(t,n){return lr(t,n)+"000"}function xc(t,n){return W(t.getMonth()+1,n,2)}function Tc(t,n){return W(t.getMinutes(),n,2)}function Mc(t,n){return W(t.getSeconds(),n,2)}function bc(t){var n=t.getDay();return 0===n?7:n}function kc(t,n){return W(rn.count(bt(t)-1,t),n,2)}function hr(t){var n=t.getDay();return n>=4||0===n?Et(t):Et.ceil(t)}function Cc(t,n){return t=hr(t),W(Et.count(bt(t),t)+(4===bt(t).getDay()),n,2)}function Sc(t){return t.getDay()}function Ac(t,n){return W(on.count(bt(t)-1,t),n,2)}function Nc(t,n){return W(t.getFullYear()%100,n,2)}function Dc(t,n){return W((t=hr(t)).getFullYear()%100,n,2)}function Ec(t,n){return W(t.getFullYear()%1e4,n,4)}function Uc(t,n){var e=t.getDay();return W((t=e>=4||0===e?Et(t):Et.ceil(t)).getFullYear()%1e4,n,4)}function zc(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+W(n/60|0,"0",2)+W(n%60,"0",2)}function fr(t,n){return W(t.getUTCDate(),n,2)}function Fc(t,n){return W(t.getUTCHours(),n,2)}function Yc(t,n){return W(t.getUTCHours()%12||12,n,2)}function Rc(t,n){return W(1+Se.count(kt(t),t),n,3)}function _r(t,n){return W(t.getUTCMilliseconds(),n,3)}function Ic(t,n){return _r(t,n)+"000"}function Pc(t,n){return W(t.getUTCMonth()+1,n,2)}function Lc(t,n){return W(t.getUTCMinutes(),n,2)}function Oc(t,n){return W(t.getUTCSeconds(),n,2)}function $c(t){var n=t.getUTCDay();return 0===n?7:n}function Hc(t,n){return W(Ae.count(kt(t)-1,t),n,2)}function pr(t){var n=t.getUTCDay();return n>=4||0===n?Xt(t):Xt.ceil(t)}function Wc(t,n){return t=pr(t),W(Xt.count(kt(t),t)+(4===kt(t).getUTCDay()),n,2)}function Xc(t){return t.getUTCDay()}function Vc(t,n){return W(Rn.count(kt(t)-1,t),n,2)}function Bc(t,n){return W(t.getUTCFullYear()%100,n,2)}function Zc(t,n){return W((t=pr(t)).getUTCFullYear()%100,n,2)}function qc(t,n){return W(t.getUTCFullYear()%1e4,n,4)}function Kc(t,n){var e=t.getUTCDay();return W((t=e>=4||0===e?Xt(t):Xt.ceil(t)).getUTCFullYear()%1e4,n,4)}function Qc(){return"+0000"}function mr(){return"%"}function yr(t){return+t}function gr(t){return Math.floor(+t/1e3)}function el(t){return new Date(t)}function il(t){return t instanceof Date?+t:+new Date(+t)}function dr(t,n,e,i,r,o,s,u,c,a){var l=Vi(),_=l.invert,h=l.domain,p=a(".%L"),S=a(":%S"),U=a("%I:%M"),g=a("%I %p"),m=a("%a %d"),T=a("%b %d"),d=a("%B"),M=a("%Y");function A(w){return(c(w)<w?p:u(w)<w?S:s(w)<w?U:o(w)<w?g:i(w)<w?r(w)<w?m:T:e(w)<w?d:M)(w)}return l.invert=function(w){return new Date(_(w))},l.domain=function(w){return arguments.length?h(Array.from(w,il)):h().map(el)},l.ticks=function(w){var R=h();return t(R[0],R[R.length-1],w??10)},l.tickFormat=function(w,R){return null==R?A:a(R)},l.nice=function(w){var R=h();return(!w||"function"!=typeof w.range)&&(w=n(R[0],R[R.length-1],w??10)),w?h(function nl(t,n){var s,e=0,i=(t=t.slice()).length-1,r=t[e],o=t[i];return o<r&&(s=e,e=i,i=s,s=r,r=o,o=s),t[e]=n.floor(r),t[i]=n.ceil(o),t}(R,w)):l},l.copy=function(){return Xi(l,dr(t,n,e,i,r,o,s,u,c,a))},l}function rl(){return En.apply(dr(Ka,Qa,bt,In,rn,Wt,Yn,Fn,Nt,Ee).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}!function tl(t){return Vt=function Ga(t){var n=t.dateTime,e=t.date,i=t.time,r=t.periods,o=t.days,s=t.shortDays,u=t.months,c=t.shortMonths,a=un(r),l=an(r),_=un(o),h=an(o),p=un(s),S=an(s),U=un(u),g=an(u),m=un(c),T=an(c),d={a:function x(k){return s[k.getDay()]},A:function E(k){return o[k.getDay()]},b:function N(k){return c[k.getMonth()]},B:function D(k){return u[k.getMonth()]},c:null,d:cr,e:cr,f:wc,g:Dc,G:Uc,H:gc,I:dc,j:vc,L:lr,m:xc,M:Tc,p:function z(k){return r[+(k.getHours()>=12)]},q:function Y(k){return 1+~~(k.getMonth()/3)},Q:yr,s:gr,S:Mc,u:bc,U:kc,V:Cc,w:Sc,W:Ac,x:null,X:null,y:Nc,Y:Ec,Z:zc,"%":mr},M={a:function j(k){return s[k.getUTCDay()]},A:function Z(k){return o[k.getUTCDay()]},b:function q(k){return c[k.getUTCMonth()]},B:function tt(k){return u[k.getUTCMonth()]},c:null,d:fr,e:fr,f:Ic,g:Zc,G:Kc,H:Fc,I:Yc,j:Rc,L:_r,m:Pc,M:Lc,p:function X(k){return r[+(k.getUTCHours()>=12)]},q:function J(k){return 1+~~(k.getUTCMonth()/3)},Q:yr,s:gr,S:Oc,u:$c,U:Hc,V:Wc,w:Xc,W:Vc,x:null,X:null,y:Bc,Y:qc,Z:Qc,"%":mr},A={a:function P(k,I,$){var v=p.exec(I.slice($));return v?(k.w=S.get(v[0].toLowerCase()),$+v[0].length):-1},A:function L(k,I,$){var v=_.exec(I.slice($));return v?(k.w=h.get(v[0].toLowerCase()),$+v[0].length):-1},b:function H(k,I,$){var v=m.exec(I.slice($));return v?(k.m=T.get(v[0].toLowerCase()),$+v[0].length):-1},B:function C(k,I,$){var v=U.exec(I.slice($));return v?(k.m=g.get(v[0].toLowerCase()),$+v[0].length):-1},c:function f(k,I,$){return O(k,n,I,$)},d:ur,e:ur,f:_c,g:sr,G:or,H:ar,I:ar,j:cc,L:fc,m:ac,M:lc,p:function V(k,I,$){var v=a.exec(I.slice($));return v?(k.p=l.get(v[0].toLowerCase()),$+v[0].length):-1},q:uc,Q:mc,s:yc,S:hc,u:ec,U:ic,V:rc,w:nc,W:oc,x:function b(k,I,$){return O(k,e,I,$)},X:function y(k,I,$){return O(k,i,I,$)},y:sr,Y:or,Z:sc,"%":pc};function w(k,I){return function($){var at,F,Q,v=[],K=-1,B=0,ut=k.length;for($ instanceof Date||($=new Date(+$));++K<ut;)37===k.charCodeAt(K)&&(v.push(k.slice(B,K)),null!=(F=rr[at=k.charAt(++K)])?at=k.charAt(++K):F="e"===at?" ":"0",(Q=I[at])&&(at=Q($,F)),v.push(at),B=K+1);return v.push(k.slice(B,K)),v.join("")}}function R(k,I){return function($){var B,ut,v=sn(1900,void 0,1);if(O(v,k,$+="",0)!=$.length)return null;if("Q"in v)return new Date(v.Q);if("s"in v)return new Date(1e3*v.s+("L"in v?v.L:0));if(I&&!("Z"in v)&&(v.Z=0),"p"in v&&(v.H=v.H%12+12*v.p),void 0===v.m&&(v.m="q"in v?v.q:0),"V"in v){if(v.V<1||v.V>53)return null;"w"in v||(v.w=1),"Z"in v?(ut=(B=De(sn(v.y,0,1))).getUTCDay(),B=ut>4||0===ut?Rn.ceil(B):Rn(B),B=Se.offset(B,7*(v.V-1)),v.y=B.getUTCFullYear(),v.m=B.getUTCMonth(),v.d=B.getUTCDate()+(v.w+6)%7):(ut=(B=Ne(sn(v.y,0,1))).getDay(),B=ut>4||0===ut?on.ceil(B):on(B),B=Wt.offset(B,7*(v.V-1)),v.y=B.getFullYear(),v.m=B.getMonth(),v.d=B.getDate()+(v.w+6)%7)}else("W"in v||"U"in v)&&("w"in v||(v.w="u"in v?v.u%7:"W"in v?1:0),ut="Z"in v?De(sn(v.y,0,1)).getUTCDay():Ne(sn(v.y,0,1)).getDay(),v.m=0,v.d="W"in v?(v.w+6)%7+7*v.W-(ut+5)%7:v.w+7*v.U-(ut+6)%7);return"Z"in v?(v.H+=v.Z/100|0,v.M+=v.Z%100,De(v)):Ne(v)}}function O(k,I,$,v){for(var at,F,K=0,B=I.length,ut=$.length;K<B;){if(v>=ut)return-1;if(37===(at=I.charCodeAt(K++))){if(at=I.charAt(K++),!(F=A[at in rr?I.charAt(K++):at])||(v=F(k,$,v))<0)return-1}else if(at!=$.charCodeAt(v++))return-1}return v}return d.x=w(e,d),d.X=w(i,d),d.c=w(n,d),M.x=w(e,M),M.X=w(i,M),M.c=w(n,M),{format:function(k){var I=w(k+="",d);return I.toString=function(){return k},I},parse:function(k){var I=R(k+="",!1);return I.toString=function(){return k},I},utcFormat:function(k){var I=w(k+="",M);return I.toString=function(){return k},I},utcParse:function(k){var I=R(k+="",!0);return I.toString=function(){return k},I}}}(t),Ee=Vt.format,Vt.parse,Vt.utcFormat,Vt.utcParse,Vt}({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"]});const sl=function ol(t){for(var n=t.length/6|0,e=new Array(n),i=0;i<n;)e[i]="#"+t.slice(6*i,6*++i);return e}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function ul(t){return"string"==typeof t?new ct([[document.querySelector(t)]],[document.documentElement]):new ct([[t]],je)}function G(t){return function(){return t}}const vr=Math.abs,ot=Math.atan2,zt=Math.cos,al=Math.max,Ue=Math.min,gt=Math.sin,Bt=Math.sqrt,st=1e-12,cn=Math.PI,Pn=cn/2,Ln=2*cn;function cl(t){return t>1?0:t<-1?cn:Math.acos(t)}function wr(t){return t>=1?Pn:t<=-1?-Pn:Math.asin(t)}const ze=Math.PI,Fe=2*ze,Ft=1e-6,ll=Fe-Ft;function xr(t){this._+=t[0];for(let n=1,e=t.length;n<e;++n)this._+=arguments[n]+t[n]}class On{constructor(n){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==n?xr:function hl(t){let n=Math.floor(t);if(!(n>=0))throw new Error(`invalid digits: ${t}`);if(n>15)return xr;const e=10**n;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*e)/e+i[r]}}(n)}moveTo(n,e){this._append`M${this._x0=this._x1=+n},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(n,e){this._append`L${this._x1=+n},${this._y1=+e}`}quadraticCurveTo(n,e,i,r){this._append`Q${+n},${+e},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(n,e,i,r,o,s){this._append`C${+n},${+e},${+i},${+r},${this._x1=+o},${this._y1=+s}`}arcTo(n,e,i,r,o){if(n=+n,e=+e,i=+i,r=+r,(o=+o)<0)throw new Error(`negative radius: ${o}`);let s=this._x1,u=this._y1,c=i-n,a=r-e,l=s-n,_=u-e,h=l*l+_*_;if(null===this._x1)this._append`M${this._x1=n},${this._y1=e}`;else if(h>Ft)if(Math.abs(_*c-a*l)>Ft&&o){let p=i-s,S=r-u,U=c*c+a*a,g=p*p+S*S,m=Math.sqrt(U),T=Math.sqrt(h),d=o*Math.tan((ze-Math.acos((U+h-g)/(2*m*T)))/2),M=d/T,A=d/m;Math.abs(M-1)>Ft&&this._append`L${n+M*l},${e+M*_}`,this._append`A${o},${o},0,0,${+(_*p>l*S)},${this._x1=n+A*c},${this._y1=e+A*a}`}else this._append`L${this._x1=n},${this._y1=e}`}arc(n,e,i,r,o,s){if(n=+n,e=+e,s=!!s,(i=+i)<0)throw new Error(`negative radius: ${i}`);let u=i*Math.cos(r),c=i*Math.sin(r),a=n+u,l=e+c,_=1^s,h=s?r-o:o-r;null===this._x1?this._append`M${a},${l}`:(Math.abs(this._x1-a)>Ft||Math.abs(this._y1-l)>Ft)&&this._append`L${a},${l}`,i&&(h<0&&(h=h%Fe+Fe),h>ll?this._append`A${i},${i},0,1,${_},${n-u},${e-c}A${i},${i},0,1,${_},${this._x1=a},${this._y1=l}`:h>Ft&&this._append`A${i},${i},0,${+(h>=ze)},${_},${this._x1=n+i*Math.cos(o)},${this._y1=e+i*Math.sin(o)}`)}rect(n,e,i,r){this._append`M${this._x0=this._x1=+n},${this._y0=this._y1=+e}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function Tr(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const i=Math.floor(e);if(!(i>=0))throw new RangeError(`invalid digits: ${e}`);n=i}return t},()=>new On(n)}function _l(t){return t.innerRadius}function pl(t){return t.outerRadius}function ml(t){return t.startAngle}function yl(t){return t.endAngle}function gl(t){return t&&t.padAngle}function dl(t,n,e,i,r,o,s,u){var c=e-t,a=i-n,l=s-r,_=u-o,h=_*c-l*a;if(!(h*h<st))return[t+(h=(l*(n-o)-_*(t-r))/h)*c,n+h*a]}function $n(t,n,e,i,r,o,s){var u=t-e,c=n-i,a=(s?o:-o)/Bt(u*u+c*c),l=a*c,_=-a*u,h=t+l,p=n+_,S=e+l,U=i+_,g=(h+S)/2,m=(p+U)/2,T=S-h,d=U-p,M=T*T+d*d,A=r-o,w=h*U-S*p,R=(d<0?-1:1)*Bt(al(0,A*A*M-w*w)),O=(w*d-T*R)/M,V=(-w*T-d*R)/M,P=(w*d+T*R)/M,L=(-w*T+d*R)/M,H=O-g,C=V-m,f=P-g,b=L-m;return H*H+C*C>f*f+b*b&&(O=P,V=L),{cx:O,cy:V,x01:-l,y01:-_,x11:O*(r/A-1),y11:V*(r/A-1)}}function vl(){var t=_l,n=pl,e=G(0),i=null,r=ml,o=yl,s=gl,u=null,c=Tr(a);function a(){var l,_,h=+t.apply(this,arguments),p=+n.apply(this,arguments),S=r.apply(this,arguments)-Pn,U=o.apply(this,arguments)-Pn,g=vr(U-S),m=U>S;if(u||(u=l=c()),p<h&&(_=p,p=h,h=_),p>st)if(g>Ln-st)u.moveTo(p*zt(S),p*gt(S)),u.arc(0,0,p,S,U,!m),h>st&&(u.moveTo(h*zt(U),h*gt(U)),u.arc(0,0,h,U,S,m));else{var C,f,T=S,d=U,M=S,A=U,w=g,R=g,O=s.apply(this,arguments)/2,V=O>st&&(i?+i.apply(this,arguments):Bt(h*h+p*p)),P=Ue(vr(p-h)/2,+e.apply(this,arguments)),L=P,H=P;if(V>st){var b=wr(V/h*gt(O)),y=wr(V/p*gt(O));(w-=2*b)>st?(M+=b*=m?1:-1,A-=b):(w=0,M=A=(S+U)/2),(R-=2*y)>st?(T+=y*=m?1:-1,d-=y):(R=0,T=d=(S+U)/2)}var x=p*zt(T),E=p*gt(T),N=h*zt(A),D=h*gt(A);if(P>st){var q,z=p*zt(d),Y=p*gt(d),j=h*zt(M),Z=h*gt(M);if(g<cn)if(q=dl(x,E,j,Z,z,Y,N,D)){var tt=x-q[0],X=E-q[1],J=z-q[0],k=Y-q[1],I=1/gt(cl((tt*J+X*k)/(Bt(tt*tt+X*X)*Bt(J*J+k*k)))/2),$=Bt(q[0]*q[0]+q[1]*q[1]);L=Ue(P,(h-$)/(I-1)),H=Ue(P,(p-$)/(I+1))}else L=H=0}R>st?H>st?(C=$n(j,Z,x,E,p,H,m),f=$n(z,Y,N,D,p,H,m),u.moveTo(C.cx+C.x01,C.cy+C.y01),H<P?u.arc(C.cx,C.cy,H,ot(C.y01,C.x01),ot(f.y01,f.x01),!m):(u.arc(C.cx,C.cy,H,ot(C.y01,C.x01),ot(C.y11,C.x11),!m),u.arc(0,0,p,ot(C.cy+C.y11,C.cx+C.x11),ot(f.cy+f.y11,f.cx+f.x11),!m),u.arc(f.cx,f.cy,H,ot(f.y11,f.x11),ot(f.y01,f.x01),!m))):(u.moveTo(x,E),u.arc(0,0,p,T,d,!m)):u.moveTo(x,E),h>st&&w>st?L>st?(C=$n(N,D,z,Y,h,-L,m),f=$n(x,E,j,Z,h,-L,m),u.lineTo(C.cx+C.x01,C.cy+C.y01),L<P?u.arc(C.cx,C.cy,L,ot(C.y01,C.x01),ot(f.y01,f.x01),!m):(u.arc(C.cx,C.cy,L,ot(C.y01,C.x01),ot(C.y11,C.x11),!m),u.arc(0,0,h,ot(C.cy+C.y11,C.cx+C.x11),ot(f.cy+f.y11,f.cx+f.x11),m),u.arc(f.cx,f.cy,L,ot(f.y11,f.x11),ot(f.y01,f.x01),!m))):u.arc(0,0,h,A,M,m):u.lineTo(N,D)}else u.moveTo(0,0);if(u.closePath(),l)return u=null,l+""||null}return a.centroid=function(){var l=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,_=(+r.apply(this,arguments)+ +o.apply(this,arguments))/2-cn/2;return[zt(_)*l,gt(_)*l]},a.innerRadius=function(l){return arguments.length?(t="function"==typeof l?l:G(+l),a):t},a.outerRadius=function(l){return arguments.length?(n="function"==typeof l?l:G(+l),a):n},a.cornerRadius=function(l){return arguments.length?(e="function"==typeof l?l:G(+l),a):e},a.padRadius=function(l){return arguments.length?(i=null==l?null:"function"==typeof l?l:G(+l),a):i},a.startAngle=function(l){return arguments.length?(r="function"==typeof l?l:G(+l),a):r},a.endAngle=function(l){return arguments.length?(o="function"==typeof l?l:G(+l),a):o},a.padAngle=function(l){return arguments.length?(s="function"==typeof l?l:G(+l),a):s},a.context=function(l){return arguments.length?(u=l??null,a):u},a}(function fl(){return new On}).prototype=On.prototype;Array.prototype.slice;function Mr(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function br(t){this._context=t}function kr(t){return new br(t)}function wl(t){return t[0]}function xl(t){return t[1]}function Tl(t,n){var e=G(!0),i=null,r=kr,o=null,s=Tr(u);function u(c){var a,_,p,l=(c=Mr(c)).length,h=!1;for(null==i&&(o=r(p=s())),a=0;a<=l;++a)!(a<l&&e(_=c[a],a,c))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(_,a,c),+n(_,a,c));if(p)return o=null,p+""||null}return t="function"==typeof t?t:void 0===t?wl:G(t),n="function"==typeof n?n:void 0===n?xl:G(n),u.x=function(c){return arguments.length?(t="function"==typeof c?c:G(+c),u):t},u.y=function(c){return arguments.length?(n="function"==typeof c?c:G(+c),u):n},u.defined=function(c){return arguments.length?(e="function"==typeof c?c:G(!!c),u):e},u.curve=function(c){return arguments.length?(r=c,null!=i&&(o=r(i)),u):r},u.context=function(c){return arguments.length?(null==c?i=o=null:o=r(i=c),u):i},u}function Ml(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function bl(t){return t}function kl(){var t=bl,n=Ml,e=null,i=G(0),r=G(Ln),o=G(0);function s(u){var c,l,_,m,M,a=(u=Mr(u)).length,h=0,p=new Array(a),S=new Array(a),U=+i.apply(this,arguments),g=Math.min(Ln,Math.max(-Ln,r.apply(this,arguments)-U)),T=Math.min(Math.abs(g)/a,o.apply(this,arguments)),d=T*(g<0?-1:1);for(c=0;c<a;++c)(M=S[p[c]=c]=+t(u[c],c,u))>0&&(h+=M);for(null!=n?p.sort(function(A,w){return n(S[A],S[w])}):null!=e&&p.sort(function(A,w){return e(u[A],u[w])}),c=0,_=h?(g-a*d)/h:0;c<a;++c,U=m)l=p[c],m=U+((M=S[l])>0?M*_:0)+d,S[l]={data:u[l],index:c,value:M,startAngle:U,endAngle:m,padAngle:T};return S}return s.value=function(u){return arguments.length?(t="function"==typeof u?u:G(+u),s):t},s.sortValues=function(u){return arguments.length?(n=u,e=null,s):n},s.sort=function(u){return arguments.length?(e=u,n=null,s):e},s.startAngle=function(u){return arguments.length?(i="function"==typeof u?u:G(+u),s):i},s.endAngle=function(u){return arguments.length?(r="function"==typeof u?u:G(+u),s):r},s.padAngle=function(u){return arguments.length?(o="function"==typeof u?u:G(+u),s):o},s}function Ct(){}function Hn(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Wn(t){this._context=t}function Cl(t){return new Wn(t)}function Cr(t){this._context=t}function Sl(t){return new Cr(t)}function Sr(t){this._context=t}function Al(t){return new Sr(t)}br.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}},Wn.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:Hn(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Hn(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Cr.prototype={areaStart:Ct,areaEnd:Ct,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)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Hn(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Sr.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||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Hn(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};class Ar{constructor(n,e){this._context=n,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+n)/2,this._y0,this._x0,e,n,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,n,this._y0,n,e)}this._x0=n,this._y0=e}}function Dl(t){return new Ar(t,!0)}function El(t){return new Ar(t,!1)}function Nr(t,n){this._basis=new Wn(t),this._beta=n}Nr.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var c,i=t[0],r=n[0],o=t[e]-i,s=n[e]-r,u=-1;++u<=e;)c=u/e,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+c*o),this._beta*n[u]+(1-this._beta)*(r+c*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};const Ul=function t(n){function e(i){return 1===n?new Wn(i):new Nr(i,n)}return e.beta=function(i){return t(+i)},e}(.85);function Xn(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Ye(t,n){this._context=t,this._k=(1-n)/6}Ye.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Xn(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Xn(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const zl=function t(n){function e(i){return new Ye(i,n)}return e.tension=function(i){return t(+i)},e}(0);function Re(t,n){this._context=t,this._k=(1-n)/6}Re.prototype={areaStart:Ct,areaEnd:Ct,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Xn(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Fl=function t(n){function e(i){return new Re(i,n)}return e.tension=function(i){return t(+i)},e}(0);function Ie(t,n){this._context=t,this._k=(1-n)/6}Ie.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Xn(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Yl=function t(n){function e(i){return new Ie(i,n)}return e.tension=function(i){return t(+i)},e}(0);function Pe(t,n,e){var i=t._x1,r=t._y1,o=t._x2,s=t._y2;if(t._l01_a>st){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,r=(r*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>st){var a=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*a+t._x1*t._l23_2a-n*t._l12_2a)/l,s=(s*a+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,r,o,s,t._x2,t._y2)}function Dr(t,n){this._context=t,this._alpha=n}Dr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Pe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Rl=function t(n){function e(i){return n?new Dr(i,n):new Ye(i,0)}return e.alpha=function(i){return t(+i)},e}(.5);function Er(t,n){this._context=t,this._alpha=n}Er.prototype={areaStart:Ct,areaEnd:Ct,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Pe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Il=function t(n){function e(i){return n?new Er(i,n):new Re(i,0)}return e.alpha=function(i){return t(+i)},e}(.5);function Ur(t,n){this._context=t,this._alpha=n}Ur.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Pe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Pl=function t(n){function e(i){return n?new Ur(i,n):new Ie(i,0)}return e.alpha=function(i){return t(+i)},e}(.5);function zr(t){this._context=t}function Ll(t){return new zr(t)}function Fr(t){return t<0?-1:1}function Yr(t,n,e){var i=t._x1-t._x0,r=n-t._x1,o=(t._y1-t._y0)/(i||r<0&&-0),s=(e-t._y1)/(r||i<0&&-0),u=(o*r+s*i)/(i+r);return(Fr(o)+Fr(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(u))||0}function Rr(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Le(t,n,e){var i=t._x0,r=t._y0,o=t._x1,s=t._y1,u=(o-i)/3;t._context.bezierCurveTo(i+u,r+u*n,o-u,s-u*e,o,s)}function Vn(t){this._context=t}function Ir(t){this._context=new Pr(t)}function Pr(t){this._context=t}function Ol(t){return new Vn(t)}function $l(t){return new Ir(t)}function Lr(t){this._context=t}function Or(t){var n,i,e=t.length-1,r=new Array(e),o=new Array(e),s=new Array(e);for(r[0]=0,o[0]=2,s[0]=t[0]+2*t[1],n=1;n<e-1;++n)r[n]=1,o[n]=4,s[n]=4*t[n]+2*t[n+1];for(r[e-1]=2,o[e-1]=7,s[e-1]=8*t[e-1]+t[e],n=1;n<e;++n)i=r[n]/o[n-1],o[n]-=i,s[n]-=i*s[n-1];for(r[e-1]=s[e-1]/o[e-1],n=e-2;n>=0;--n)r[n]=(s[n]-r[n+1])/o[n];for(o[e-1]=(t[e]+r[e-1])/2,n=0;n<e-1;++n)o[n]=2*t[n+1]-r[n+1];return[r,o]}function Hl(t){return new Lr(t)}function Bn(t,n){this._context=t,this._t=n}function Wl(t){return new Bn(t,.5)}function Xl(t){return new Bn(t,0)}function Vl(t){return new Bn(t,1)}function Zt(t,n,e){this.k=t,this.x=n,this.y=e}zr.prototype={areaStart:Ct,areaEnd:Ct,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Vn.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:Le(this,this._t0,Rr(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Le(this,Rr(this,e=Yr(this,t,n)),e);break;default:Le(this,this._t0,e=Yr(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Ir.prototype=Object.create(Vn.prototype)).point=function(t,n){Vn.prototype.point.call(this,n,t)},Pr.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,i,r,o){this._context.bezierCurveTo(n,t,i,e,o,r)}},Lr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var i=Or(t),r=Or(n),o=0,s=1;s<e;++o,++s)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[s],n[s]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},Bn.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&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},Zt.prototype={constructor:Zt,scale:function(t){return 1===t?this:new Zt(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Zt(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Bl=new Zt(1,0,0);(function Zl(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Bl;return t.__zoom}).prototype=Zt.prototype}}]); |