"use strict";(self.webpackChunkvt_ui_main=self.webpackChunkvt_ui_main||[]).push([[87347],{87347:(t,n,e)=>{function r(t,n){return null==t||null==n?NaN:tn?1:t>=n?0:NaN}function i(t,n){return null==t||null==n?NaN:nt?1:n>=t?0:NaN}function o(t){let n,e,o;function a(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i>>1;e(t[n],r)<0?i=n+1:o=n}while(ir(t(n),e),o=(n,e)=>t(n)-e):(n=t===r||t===i?t:u,e=t,o=t),{left:a,center:function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=a(t,n,e,(arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length)-1);return r>e&&o(t[r-1],n)>-o(t[r],n)?r-1:r},right:function(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i>>1;e(t[n],r)<=0?i=n+1:o=n}while(iOa,l78:()=>Z,V4s:()=>W,eH3:()=>B,tlR:()=>R,WD2:()=>s,ahM:()=>c,Jjl:()=>l,n55:()=>ti,Xxv:()=>y,n8j:()=>Ha,pqs:()=>Va,T9B:()=>v,jkA:()=>_,WH:()=>ci,m4Y:()=>zi,w7C:()=>xa,Pps:()=>Ma,Ltv:()=>mn,UAC:()=>lo,DCK:()=>Qo,Ui6:()=>wo,Kgo:()=>so,hed:()=>bo,KCZ:()=>$,dAM:()=>ko,aLc:()=>tu,R6t:()=>Fo,GYh:()=>nu});const a=o(r),l=a.right,c=a.left,s=o((function(t){return null===t?NaN:+t})).center;var f=l;function h(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return p(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?p(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function p(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e=t&&(e=r=t):(e>t&&(e=t),r=o&&(e=r=o):(e>o&&(e=o),r=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function d(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e=t)&&(e=t)}}catch(t){i.e(t)}finally{i.f()}}else{let r=-1;var o,u=g(t);try{for(u.s();!(o=u.n()).done;){let i=o.value;null!=(i=n(i,++r,t))&&(e=i)&&(e=i)}}catch(t){u.e(t)}finally{u.f()}}return e}function m(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return w(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?w(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function w(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);et||void 0===e&&t>=t)&&(e=t)}}catch(t){i.e(t)}finally{i.f()}}else{let r=-1;var o,u=m(t);try{for(u.s();!(o=u.n()).done;){let i=o.value;null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}}catch(t){u.e(t)}finally{u.f()}}return e}function b(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,u,a=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(a.push(r.value),a.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(c)throw i}}return a}}(t,n)||M(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=M(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function M(t,n){if(t){if("string"==typeof t)return A(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?A(t,n):void 0}}function A(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e1&&void 0!==arguments[1]?arguments[1]:U;if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t){var e,r=x(t);try{for(r.s();!(e=r.n()).done;){const t=b(e.value,2),n=t[0],r=t[1];this.set(n,r)}}catch(t){r.e(t)}finally{r.f()}}}get(t){return super.get(k(this,t))}has(t){return super.has(k(this,t))}set(t,n){return super.set(C(this,t),n)}delete(t){return super.delete(N(this,t))}}class T extends Set{constructor(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U;if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t){var e,r=x(t);try{for(r.s();!(e=r.n()).done;){const t=e.value;this.add(t)}}catch(t){r.e(t)}finally{r.f()}}}has(t){return super.has(k(this,t))}add(t){return super.add(C(this,t))}delete(t){return super.delete(N(this,t))}}function k(t,n){let e=t._intern;const r=(0,t._key)(n);return e.has(r)?e.get(r):n}function C(t,n){let e=t._intern;const r=(0,t._key)(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function N(t,n){let e=t._intern;const r=(0,t._key)(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function U(t){return null!==t&&"object"==typeof t?t.valueOf():t}function D(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return E(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function E(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e+t(n)}function q(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function X(){return!this.__axis}function V(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,l="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=t===Y||t===H?-1:1,s=t===H||t===I?"x":"y",f=t===Y||t===F?L:P;function h(h){var p=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,y=null==i?n.tickFormat?n.tickFormat.apply(n,e):j:i,g=Math.max(o,0)+a,d=n.range(),v=+d[0]+l,m=+d[d.length-1]+l,w=(n.bandwidth?q:z)(n.copy(),l),_=h.selection?h.selection():h,b=_.selectAll(".domain").data([null]),x=_.selectAll(".tick").data(p,n).order(),M=x.exit(),A=x.enter().append("g").attr("class","tick"),S=x.select("line"),T=x.select("text");b=b.merge(b.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(A),S=S.merge(A.append("line").attr("stroke","currentColor").attr(s+"2",c*o)),T=T.merge(A.append("text").attr("fill","currentColor").attr(s,c*g).attr("dy",t===Y?"0em":t===F?"0.71em":"0.32em")),h!==_&&(b=b.transition(h),x=x.transition(h),S=S.transition(h),T=T.transition(h),M=M.transition(h).attr("opacity",O).attr("transform",(function(t){return isFinite(t=w(t))?f(t+l):this.getAttribute("transform")})),A.attr("opacity",O).attr("transform",(function(t){var n=this.parentNode.__axis;return f((n&&isFinite(n=n(t))?n:w(t))+l)}))),M.remove(),b.attr("d",t===H||t===I?u?"M"+c*u+","+v+"H"+l+"V"+m+"H"+c*u:"M"+l+","+v+"V"+m:u?"M"+v+","+c*u+"V"+l+"H"+m+"V"+c*u:"M"+v+","+l+"H"+m),x.attr("opacity",1).attr("transform",(function(t){return f(w(t)+l)})),S.attr(s+"2",c*o),T.attr(s,c*g).text(y),_.filter(X).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===I?"start":t===H?"end":"middle"),_.each((function(){this.__axis=w}))}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return e=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),h):e.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=u=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(u=+t,h):u},h.tickPadding=function(t){return arguments.length?(a=+t,h):a},h.offset=function(t){return arguments.length?(l=+t,h):l},h}function R(t){return V(Y,t)}function B(t){return V(I,t)}function Z(t){return V(F,t)}function W(t){return V(H,t)}var G={value:()=>{}};function K(){for(var t,n=0,e=arguments.length,r={};n=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),u=-1,a=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++u0)for(var e,r,i=new Array(e),o=0;on?1:t>=n?0:NaN}function _t(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return bt(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?bt(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function bt(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Mt.hasOwnProperty(n)?{space:Mt[n],local:t}:t}function St(t){return function(){this.removeAttribute(t)}}function Tt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function kt(t,n){return function(){this.setAttribute(t,n)}}function Ct(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Nt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Ut(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 Dt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Et(t){return function(){this.style.removeProperty(t)}}function $t(t,n,e){return function(){this.style.setProperty(t,n,e)}}function jt(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function Yt(t,n){return t.style.getPropertyValue(n)||Dt(t).getComputedStyle(t,null).getPropertyValue(n)}function It(t){return function(){delete this[t]}}function Ft(t,n){return function(){this[t]=n}}function Ht(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Ot(t){return t.trim().split(/^|\s+/)}function Lt(t){return t.classList||new Pt(t)}function Pt(t){this._node=t,this._names=Ot(t.getAttribute("class")||"")}function zt(t,n){for(var e=Lt(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var yn=[null];function gn(t,n){this._groups=t,this._parents=n}function dn(){return new gn([[document.documentElement]],yn)}gn.prototype=dn.prototype={constructor:gn,select:function(t){"function"!=typeof t&&(t=rt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i=b&&(b=_+1);!(w=v[b])&&++b=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=wt);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?Et:"function"==typeof n?jt:$t)(t,n,null==e?"":e)):Yt(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?It:"function"==typeof n?Ht:Ft)(t,n)):this.node()[t]},classed:function(t,n){var e=Ot(t+"");if(arguments.length<2){for(var r=Lt(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?sn:cn,r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Pn(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Pn(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Un.exec(t))?new qn(n[1],n[2],n[3],1):(n=Dn.exec(t))?new qn(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=En.exec(t))?Pn(n[1],n[2],n[3],n[4]):(n=$n.exec(t))?Pn(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=jn.exec(t))?Wn(n[1],n[2]/100,n[3]/100,1):(n=Yn.exec(t))?Wn(n[1],n[2]/100,n[3]/100,n[4]):In.hasOwnProperty(t)?Ln(In[t]):"transparent"===t?new qn(NaN,NaN,NaN,0):null}function Ln(t){return new qn(t>>16&255,t>>8&255,255&t,1)}function Pn(t,n,e,r){return r<=0&&(t=n=e=NaN),new qn(t,n,e,r)}function zn(t,n,e,r){return 1===arguments.length?((i=t)instanceof Mn||(i=On(i)),i?new qn((i=i.rgb()).r,i.g,i.b,i.opacity):new qn):new qn(t,n,e,null==r?1:r);var i}function qn(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Xn(){return`#${Zn(this.r)}${Zn(this.g)}${Zn(this.b)}`}function Vn(){const t=Rn(this.opacity);return`${1===t?"rgb(":"rgba("}${Bn(this.r)}, ${Bn(this.g)}, ${Bn(this.b)}${1===t?")":`, ${t})`}`}function Rn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Bn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Zn(t){return((t=Bn(t))<16?"0":"")+t.toString(16)}function Wn(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Kn(t,n,e,r)}function Gn(t){if(t instanceof Kn)return new Kn(t.h,t.s,t.l,t.opacity);if(t instanceof Mn||(t=On(t)),!t)return new Kn;if(t instanceof Kn)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,l=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e0&&l<1?0:u,new Kn(u,a,l,t.opacity)}function Kn(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Jn(t){return(t=(t||0)%360)<0?t+360:t}function Qn(t){return Math.max(0,Math.min(1,t||0))}function te(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function ne(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}bn(Mn,On,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Fn,formatHex:Fn,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Gn(this).formatHsl()},formatRgb:Hn,toString:Hn}),bn(qn,zn,xn(Mn,{brighter(t){return t=null==t?Sn:Math.pow(Sn,t),new qn(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?An:Math.pow(An,t),new qn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new qn(Bn(this.r),Bn(this.g),Bn(this.b),Rn(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:Xn,formatHex:Xn,formatHex8:function(){return`#${Zn(this.r)}${Zn(this.g)}${Zn(this.b)}${Zn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Vn,toString:Vn})),bn(Kn,(function(t,n,e,r){return 1===arguments.length?Gn(t):new Kn(t,n,e,null==r?1:r)}),xn(Mn,{brighter(t){return t=null==t?Sn:Math.pow(Sn,t),new Kn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?An:Math.pow(An,t),new Kn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new qn(te(t>=240?t-240:t+120,i,r),te(t,i,r),te(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Kn(Jn(this.h),Qn(this.s),Qn(this.l),Rn(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 t=Rn(this.opacity);return`${1===t?"hsl(":"hsla("}${Jn(this.h)}, ${100*Qn(this.s)}%, ${100*Qn(this.l)}%${1===t?")":`, ${t})`}`}}));var ee=t=>()=>t;function re(t,n){return function(e){return t+e*n}}function ie(t){return 1==(t=+t)?oe:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):ee(isNaN(n)?e:n)}}function oe(t,n){var e=n-t;return e?re(t,e):ee(isNaN(t)?n:t)}var ue=function t(n){var e=ie(n);function r(t,n){var r=e((t=zn(t)).r,(n=zn(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),u=oe(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function ae(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=ro&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,l.push({i:u,x:se(e,r)})),o=pe.lastIndex;return o=0&&n._call.call(void 0,t),n=n._next;--_e}()}finally{_e=0,function(){var t,n,e=me,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:me=n);we=t,Ye(r)}(),Se=0}}function je(){var t=ke.now(),n=t-Ae;n>Me&&(Te-=n,Ae=t)}function Ye(t){_e||(be&&(be=clearTimeout(be)),t-Se>24?(t<1/0&&(be=setTimeout($e,t-ke.now()-Te)),xe&&(xe=clearInterval(xe))):(xe||(Ae=ke.now(),xe=setInterval(je,Me)),_e=1,Ce($e)))}function Ie(t,n,e){var r=new De;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}De.prototype=Ee.prototype={constructor:De,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Ne():+e)+(null==n?0:+n),this._next||we===this||(we?we._next=this:me=this,we=this),this._call=t,this._time=e,Ye()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ye())}};var Fe=nt("start","end","cancel","interrupt"),He=[],Oe=0,Le=1,Pe=2,ze=3,qe=4,Xe=5,Ve=6;function Re(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=Le,e.timer.restart(u,e.delay,e.time),e.delay<=t&&u(t-e.delay)}function u(o){var c,s,f,h;if(e.state!==Le)return l();for(c in i)if((h=i[c]).name===e.name){if(h.state===ze)return Ie(u);h.state===qe?(h.state=Ve,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[c]):+cOe)throw new Error("too late; already scheduled");return e}function Ze(t,n){var e=We(t,n);if(e.state>ze)throw new Error("too late; already running");return e}function We(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Ge(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>Pe&&e.state180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:se(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,l),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:se(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,l),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:se(t,e)},{i:a-2,x:se(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,l),o=u=null,function(t){for(var n,e=-1,r=l.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?Be:Ze;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}(e,t,n))},attr:function(t,n){var e=At(t),r="transform"===e?rr:ar;return this.attrTween(t,"function"==typeof n?(e.local?pr:hr)(e,r,ur(this,"attr."+t,n)):null==n?(e.local?cr:lr)(e):(e.local?fr:sr)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=At(t);return this.tween(e,(r.local?yr:gr)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?er:ar;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=Yt(this,t),u=(this.style.removeProperty(t),Yt(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,br(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var u=Yt(this,t),a=e(this),l=a+"";return null==a&&(this.style.removeProperty(t),l=a=Yt(this,t)),u===l?null:u===r&&l===i?o:(i=l,o=n(r=u,a))}}(t,r,ur(this,"style."+t,n))).each(function(t,n){var e,r,i,o,u="style."+n,a="end."+u;return function(){var l=Ze(this,t),c=l.on,s=null==l.value[u]?o||(o=br(n)):void 0;c===e&&i===s||(r=(e=c).copy()).on(a,i=s),l.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var u=Yt(this,t);return u===o?null:u===r?i:i=n(r=u,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(ur(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(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(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=We(this.node(),e).tween,o=0,u=i.length;o()=>t;function Nr(t,n){let e=n.sourceEvent,r=n.target,i=n.selection,o=n.mode,u=n.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:u}})}function Ur(t){t.preventDefault(),t.stopImmediatePropagation()}function Dr(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return Er(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Er(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function Er(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e{const n=t.identifier;return(t=ve(t,m)).point0=t.slice(),t.identifier=n,t}));Ge(m);var j=s(m,arguments,!0).beforestart();if("overlay"===w){S&&(g=!0);const n=[$[0],$[1]||$[0]];M.selection=S=[[i=t===qr?T:Or(n[0][0],n[1][0]),a=t===zr?k:Or(n[0][1],n[1][1])],[f=t===qr?C:Hr(n[0][0],n[1][0]),p=t===zr?N:Hr(n[0][1],n[1][1])]],$.length>1&&O(e)}else i=S[0][0],a=S[0][1],f=S[1][0],p=S[1][1];u=i,l=a,h=f,y=p;var Y=mn(m).attr("pointer-events","none"),I=Y.selectAll(".overlay").attr("cursor",Xr[w]);if(e.touches)j.moved=H,j.ended=L;else{var F=mn(e.view).on("mousemove.brush",H,!0).on("mouseup.brush",L,!0);o&&F.on("keydown.brush",(function(t){switch(t.keyCode){case 16:E=b&&x;break;case 18:_===Yr&&(b&&(f=h-U*b,i=u+U*b),x&&(p=y-D*x,a=l+D*x),_=Ir,O(t));break;case 32:_!==Yr&&_!==Ir||(b<0?f=h-U:b>0&&(i=u-U),x<0?p=y-D:x>0&&(a=l-D),_=jr,I.attr("cursor",Xr.selection),O(t));break;default:return}Ur(t)}),!0).on("keyup.brush",(function(t){switch(t.keyCode){case 16:E&&(d=v=E=!1,O(t));break;case 18:_===Ir&&(b<0?f=h:b>0&&(i=u),x<0?p=y:x>0&&(a=l),_=Yr,O(t));break;case 32:_===jr&&(t.altKey?(b&&(f=h-U*b,i=u+U*b),x&&(p=y-D*x,a=l+D*x),_=Ir):(b<0?f=h:b>0&&(i=u),x<0?p=y:x>0&&(a=l),_=Yr),I.attr("cursor",Xr[w]),O(t));break;default:return}Ur(t)}),!0),function(t){var n=t.document.documentElement,e=mn(t).on("dragstart.drag",_n,wn);"onselectstart"in n?e.on("selectstart.drag",_n,wn):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}(e.view)}c.call(m),j.start(e,_.name)}function H(t){var n,e=Dr(t.changedTouches||[t]);try{for(e.s();!(n=e.n()).done;){const t=n.value;var r,i=Dr($);try{for(i.s();!(r=i.n()).done;){const n=r.value;n.identifier===t.identifier&&(n.cur=ve(t,m))}}catch(t){i.e(t)}finally{i.f()}}}catch(t){e.e(t)}finally{e.f()}if(E&&!d&&!v&&1===$.length){const t=$[0];Fr(t.cur[0]-t[0])>Fr(t.cur[1]-t[1])?v=!0:d=!0}var o,u=Dr($);try{for(u.s();!(o=u.n()).done;){const t=o.value;t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1])}}catch(t){u.e(t)}finally{u.f()}g=!0,Ur(t),O(t)}function O(t){const n=$[0],e=n.point0;var r;switch(U=n[0]-e[0],D=n[1]-e[1],_){case jr:case $r:b&&(U=Hr(T-i,Or(C-f,U)),u=i+U,h=f+U),x&&(D=Hr(k-a,Or(N-p,D)),l=a+D,y=p+D);break;case Yr:$[1]?(b&&(u=Hr(T,Or(C,$[0][0])),h=Hr(T,Or(C,$[1][0])),b=1),x&&(l=Hr(k,Or(N,$[0][1])),y=Hr(k,Or(N,$[1][1])),x=1)):(b<0?(U=Hr(T-i,Or(C-i,U)),u=i+U,h=f):b>0&&(U=Hr(T-f,Or(C-f,U)),u=i,h=f+U),x<0?(D=Hr(k-a,Or(N-a,D)),l=a+D,y=p):x>0&&(D=Hr(k-p,Or(N-p,D)),l=a,y=p+D));break;case Ir:b&&(u=Hr(T,Or(C,i-U*b)),h=Hr(T,Or(C,f+U*b))),x&&(l=Hr(k,Or(N,a-D*x)),y=Hr(k,Or(N,p+D*x)))}h=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function ii(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);et.length)&&(n=t.length);for(var e=0,r=Array(n);e=0?(o>=si?10:o>=fi?5:o>=hi?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=si?10:o>=fi?5:o>=hi?2:1)}function yi(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=si?i*=10:o>=fi?i*=5:o>=hi&&(i*=2),nn&&(e=t,t=n,n=e),c=function(e){return Math.max(t,Math.min(n,e))}),r=l>2?bi:_i,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(u.map(t),a,l)))(t(c(n)))}return f.invert=function(e){return c(n((o||(o=r(a,u.map(t),se)))(e)))},f.domain=function(t){return arguments.length?(u=Array.from(t,di),s()):u.slice()},f.range=function(t){return arguments.length?(a=Array.from(t),s()):a.slice()},f.rangeRound=function(t){return a=Array.from(t),l=gi,s()},f.clamp=function(t){return arguments.length?(c=!!t||mi,s()):c!==mi},f.interpolate=function(t){return arguments.length?(l=t,s()):l},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,s()}}function Ai(){return Mi()(mi,mi)}var Si,Ti=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ki(t){if(!(n=Ti.exec(t)))throw new Error("invalid format: "+t);var n;return new Ci({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Ci(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Ni(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Ui(t){return(t=Ni(Math.abs(t)))?t[1]:NaN}function Di(t,n){var e=Ni(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}ki.prototype=Ci.prototype,Ci.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Ei={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>Di(100*t,n),r:Di,s:function(t,n){var e=Ni(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Si=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Ni(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function $i(t){return t}var ji,Yi,Ii,Fi=Array.prototype.map,Hi=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Oi(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?$i:(n=Fi.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],u=0,a=n[0],l=0;i>0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),o.push(t.substring(i-=a,i+a)),!((l+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?$i:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Fi.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=ki(t)).fill,e=t.align,f=t.sign,h=t.symbol,p=t.zero,y=t.width,g=t.comma,d=t.precision,v=t.trim,m=t.type;"n"===m?(g=!0,m="g"):Ei[m]||(void 0===d&&(d=12),v=!0,m="g"),(p||"0"===n&&"="===e)&&(p=!0,n="0",e="=");var w="$"===h?i:"#"===h&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",_="$"===h?o:/[%p]/.test(m)?l:"",b=Ei[m],x=/[defgprs%]/.test(m);function M(t){var i,o,l,h=w,M=_;if("c"===m)M=b(t)+M,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:b(Math.abs(t),d),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),A&&0==+t&&"+"!==f&&(A=!1),h=(A?"("===f?f:c:"-"===f||"("===f?"":f)+h,M=("s"===m?Hi[8+Si/3]:"")+M+(A&&"("===f?")":""),x)for(i=-1,o=t.length;++i(l=t.charCodeAt(i))||l>57){M=(46===l?u+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}g&&!p&&(t=r(t,1/0));var S=h.length+t.length+M.length,T=S>1)+h+t+M+T.slice(S);break;default:t=T+h+t+M}return a(t)}return d=void 0===d?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,n){var e=f(((t=ki(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Ui(n)/3))),i=Math.pow(10,-r),o=Hi[8+r/3];return function(t){return e(i*t)+o}}}}function Li(t,n,e,r){var i,o=yi(t,n,e);switch((r=ki(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ui(n)/3)))-Ui(Math.abs(t)))}(o,u))||(r.precision=i),Ii(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Ui(n)-Ui(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-Ui(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return Yi(r)}function Pi(t){var n=t.domain;return t.ticks=function(t){var e=n();return function(t,n,e){var r,i,o,u,a=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n0){let e=Math.round(t/u),r=Math.round(n/u);for(e*un&&--r,o=new Array(i=r-e+1);++an&&--r,o=new Array(i=r-e+1);++a0;){if((i=pi(l,c,e))===r)return o[u]=l,o[a]=c,n(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function zi(){var t=Ai();return t.copy=function(){return xi(t,zi())},ei.apply(t,arguments),Pi(t)}ji=Oi({thousands:",",grouping:[3],currency:["$",""]}),Yi=ji.format,Ii=ji.formatPrefix;const qi=1e3,Xi=6e4,Vi=36e5,Ri=864e5,Bi=6048e5,Zi=2592e6,Wi=31536e6;var Gi=new Date,Ki=new Date;function Ji(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n0))return a;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(u=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return Gi.setTime(+n),Ki.setTime(+r),t(Gi),t(Ki),Math.floor(e(Gi,Ki))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var Qi=Ji((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Qi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ji((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Qi:null};var to=Qi,no=(Qi.range,Ji((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*qi)}),(function(t,n){return(n-t)/qi}),(function(t){return t.getUTCSeconds()}))),eo=no,ro=(no.range,Ji((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qi)}),(function(t,n){t.setTime(+t+n*Xi)}),(function(t,n){return(n-t)/Xi}),(function(t){return t.getMinutes()}))),io=ro,oo=(ro.range,Ji((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qi-t.getMinutes()*Xi)}),(function(t,n){t.setTime(+t+n*Vi)}),(function(t,n){return(n-t)/Vi}),(function(t){return t.getHours()}))),uo=oo,ao=(oo.range,Ji((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Xi)/Ri),(t=>t.getDate()-1))),lo=ao;ao.range;function co(t){return Ji((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Xi)/Bi}))}var so=co(0),fo=co(1),ho=co(2),po=co(3),yo=co(4),go=co(5),vo=co(6),mo=(so.range,fo.range,ho.range,po.range,yo.range,go.range,vo.range,Ji((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),wo=mo,_o=(mo.range,Ji((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));_o.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ji((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var bo=_o,xo=(_o.range,Ji((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Xi)}),(function(t,n){return(n-t)/Xi}),(function(t){return t.getUTCMinutes()}))),Mo=xo,Ao=(xo.range,Ji((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Vi)}),(function(t,n){return(n-t)/Vi}),(function(t){return t.getUTCHours()}))),So=Ao,To=(Ao.range,Ji((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ri}),(function(t){return t.getUTCDate()-1}))),ko=To;To.range;function Co(t){return Ji((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Bi}))}var No=Co(0),Uo=Co(1),Do=Co(2),Eo=Co(3),$o=Co(4),jo=Co(5),Yo=Co(6),Io=(No.range,Uo.range,Do.range,Eo.range,$o.range,jo.range,Yo.range,Ji((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),Fo=Io,Ho=(Io.range,Ji((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Ho.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ji((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Oo=Ho;Ho.range;function Lo(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,u,a=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(a.push(r.value),a.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(c)throw i}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return Po(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Po(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Po(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);eLo(t,3)[2])).right(a,i);if(u===a.length)return t.every(yi(n/Wi,e/Wi,r));if(0===u)return to.every(Math.max(yi(n,e,r),1));const l=Lo(a[i/a[u-1][2][t.toLowerCase(),n])))}function su(t,n,e){var r=ru.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function fu(t,n,e){var r=ru.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function hu(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function pu(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function yu(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function gu(t,n,e){var r=ru.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function du(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function vu(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function mu(t,n,e){var r=ru.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function wu(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function _u(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function bu(t,n,e){var r=ru.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function xu(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Mu(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Au(t,n,e){var r=ru.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Su(t,n,e){var r=ru.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Tu(t,n,e){var r=ru.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function ku(t,n,e){var r=iu.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Cu(t,n,e){var r=ru.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Nu(t,n,e){var r=ru.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Uu(t,n){return uu(t.getDate(),n,2)}function Du(t,n){return uu(t.getHours(),n,2)}function Eu(t,n){return uu(t.getHours()%12||12,n,2)}function $u(t,n){return uu(1+lo.count(bo(t),t),n,3)}function ju(t,n){return uu(t.getMilliseconds(),n,3)}function Yu(t,n){return ju(t,n)+"000"}function Iu(t,n){return uu(t.getMonth()+1,n,2)}function Fu(t,n){return uu(t.getMinutes(),n,2)}function Hu(t,n){return uu(t.getSeconds(),n,2)}function Ou(t){var n=t.getDay();return 0===n?7:n}function Lu(t,n){return uu(so.count(bo(t)-1,t),n,2)}function Pu(t){var n=t.getDay();return n>=4||0===n?yo(t):yo.ceil(t)}function zu(t,n){return t=Pu(t),uu(yo.count(bo(t),t)+(4===bo(t).getDay()),n,2)}function qu(t){return t.getDay()}function Xu(t,n){return uu(fo.count(bo(t)-1,t),n,2)}function Vu(t,n){return uu(t.getFullYear()%100,n,2)}function Ru(t,n){return uu((t=Pu(t)).getFullYear()%100,n,2)}function Bu(t,n){return uu(t.getFullYear()%1e4,n,4)}function Zu(t,n){var e=t.getDay();return uu((t=e>=4||0===e?yo(t):yo.ceil(t)).getFullYear()%1e4,n,4)}function Wu(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+uu(n/60|0,"0",2)+uu(n%60,"0",2)}function Gu(t,n){return uu(t.getUTCDate(),n,2)}function Ku(t,n){return uu(t.getUTCHours(),n,2)}function Ju(t,n){return uu(t.getUTCHours()%12||12,n,2)}function Qu(t,n){return uu(1+ko.count(Oo(t),t),n,3)}function ta(t,n){return uu(t.getUTCMilliseconds(),n,3)}function na(t,n){return ta(t,n)+"000"}function ea(t,n){return uu(t.getUTCMonth()+1,n,2)}function ra(t,n){return uu(t.getUTCMinutes(),n,2)}function ia(t,n){return uu(t.getUTCSeconds(),n,2)}function oa(t){var n=t.getUTCDay();return 0===n?7:n}function ua(t,n){return uu(No.count(Oo(t)-1,t),n,2)}function aa(t){var n=t.getUTCDay();return n>=4||0===n?$o(t):$o.ceil(t)}function la(t,n){return t=aa(t),uu($o.count(Oo(t),t)+(4===Oo(t).getUTCDay()),n,2)}function ca(t){return t.getUTCDay()}function sa(t,n){return uu(Uo.count(Oo(t)-1,t),n,2)}function fa(t,n){return uu(t.getUTCFullYear()%100,n,2)}function ha(t,n){return uu((t=aa(t)).getUTCFullYear()%100,n,2)}function pa(t,n){return uu(t.getUTCFullYear()%1e4,n,4)}function ya(t,n){var e=t.getUTCDay();return uu((t=e>=4||0===e?$o(t):$o.ceil(t)).getUTCFullYear()%1e4,n,4)}function ga(){return"+0000"}function da(){return"%"}function va(t){return+t}function ma(t){return Math.floor(+t/1e3)}function wa(t){return new Date(t)}function _a(t){return t instanceof Date?+t:+new Date(+t)}function ba(t,n,e,r,i,o,u,a,l,c){var s=Ai(),f=s.invert,h=s.domain,p=c(".%L"),y=c(":%S"),g=c("%I:%M"),d=c("%I %p"),v=c("%a %d"),m=c("%b %d"),w=c("%B"),_=c("%Y");function b(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:va,s:ma,S:Hu,u:Ou,U:Lu,V:zu,w:qu,W:Xu,x:null,X:null,y:Vu,Y:Bu,Z:Wu,"%":da},_={a:function(t){return u[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Gu,e:Gu,f:na,g:ha,G:ya,H:Ku,I:Ju,j:Qu,L:ta,m:ea,M:ra,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:va,s:ma,S:ia,u:oa,U:ua,V:la,w:ca,W:sa,x:null,X:null,y:fa,Y:pa,Z:ga,"%":da},b={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=y.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=d.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return A(t,n,e,r)},d:_u,e:_u,f:Tu,g:du,G:gu,H:xu,I:xu,j:bu,L:Su,m:wu,M:Mu,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:mu,Q:Cu,s:Nu,S:Au,u:fu,U:hu,V:pu,w:su,W:yu,x:function(t,n,r){return A(t,e,n,r)},X:function(t,n,e){return A(t,r,n,e)},y:du,Y:gu,Z:vu,"%":ku};function x(t,n){return function(e){var r,i,o,u=[],a=-1,l=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Go(Ko(o.y,0,1))).getUTCDay(),r=i>4||0===i?Uo.ceil(r):Uo(r),r=ko.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Wo(Ko(o.y,0,1))).getDay(),r=i>4||0===i?fo.ceil(r):fo(r),r=lo.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Go(Ko(o.y,0,1)).getUTCDay():Wo(Ko(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Go(o)):Wo(o)}}function A(t,n,e,r){for(var i,o,u=0,a=n.length,l=e.length;u=l)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=b[i in eu?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return w.x=x(e,w),w.X=x(r,w),w.c=x(n,w),_.x=x(e,_),_.X=x(r,_),_.c=x(n,_),{format:function(t){var n=x(t+="",w);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=x(t+="",_);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}(t),Qo=Jo.format,Jo.parse,tu=Jo.utcFormat,nu=Jo.utcParse}({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 Aa=Math.PI,Sa=2*Aa,Ta=1e-6,ka=Sa-Ta;function Ca(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Na(){return new Ca}Ca.prototype=Na.prototype={constructor:Ca,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,u=this._y1,a=e-t,l=r-n,c=o-t,s=u-n,f=c*c+s*s;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>Ta)if(Math.abs(s*a-l*c)>Ta&&i){var h=e-o,p=r-u,y=a*a+l*l,g=h*h+p*p,d=Math.sqrt(y),v=Math.sqrt(f),m=i*Math.tan((Aa-Math.acos((y+f-g)/(2*d*v)))/2),w=m/v,_=m/d;Math.abs(w-1)>Ta&&(this._+="L"+(t+w*c)+","+(n+w*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>c*p)+","+(this._x1=t+_*a)+","+(this._y1=n+_*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),l=t+u,c=n+a,s=1^o,f=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>Ta||Math.abs(this._y1-c)>Ta)&&(this._+="L"+l+","+c),e&&(f<0&&(f=f%Sa+Sa),f>ka?this._+="A"+e+","+e+",0,1,"+s+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+s+","+(this._x1=l)+","+(this._y1=c):f>Ta&&(this._+="A"+e+","+e+",0,"+ +(f>=Aa)+","+s+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Ua=Na,Da=Array.prototype.slice;function Ea(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function $a(t){return function(){return t}}function ja(t){this._context=t}function Ya(t){return new ja(t)}function Ia(t){return t[0]}function Fa(t){return t[1]}function Ha(t,n){var e=$a(!0),r=null,i=Ya,o=null;function u(u){var a,l,c,s=(u=Ea(u)).length,f=!1;for(null==r&&(o=i(c=Ua())),a=0;a<=s;++a)!(a=s;--f)a.point(d[f],v[f]);a.lineEnd(),a.areaEnd()}g&&(d[c]=+t(h,c,l),v[c]=+n(h,c,l),a.point(r?+r(h,c,l):d[c],e?+e(h,c,l):v[c]))}if(p)return a=null,p+""||null}function c(){return Ha().defined(i).curve(u).context(o)}return t="function"==typeof t?t:void 0===t?Ia:$a(+t),n="function"==typeof n?n:$a(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?Fa:$a(+e),l.x=function(n){return arguments.length?(t="function"==typeof n?n:$a(+n),r=null,l):t},l.x0=function(n){return arguments.length?(t="function"==typeof n?n:$a(+n),l):t},l.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:$a(+t),l):r},l.y=function(t){return arguments.length?(n="function"==typeof t?t:$a(+t),e=null,l):n},l.y0=function(t){return arguments.length?(n="function"==typeof t?t:$a(+t),l):n},l.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:$a(+t),l):e},l.lineX0=l.lineY0=function(){return c().x(t).y(n)},l.lineY1=function(){return c().x(t).y(e)},l.lineX1=function(){return c().x(r).y(n)},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:$a(!!t),l):i},l.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),l):u},l.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),l):o},l}ja.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)}}};class La{constructor(t,n){this._context=t,this._x=n}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(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._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}function Pa(t){return new La(t,!0)}function za(t){return t.source}function qa(t){return t.target}function Xa(t){let n=za,e=qa,r=Ia,i=Fa,o=null,u=null;function a(){let a;const l=Da.call(arguments),c=n.apply(this,l),s=e.apply(this,l);if(null==o&&(u=t(a=Ua())),u.lineStart(),l[0]=c,u.point(+r.apply(this,l),+i.apply(this,l)),l[0]=s,u.point(+r.apply(this,l),+i.apply(this,l)),u.lineEnd(),a)return u=null,a+""||null}return a.source=function(t){return arguments.length?(n=t,a):n},a.target=function(t){return arguments.length?(e=t,a):e},a.x=function(t){return arguments.length?(r="function"==typeof t?t:$a(+t),a):r},a.y=function(t){return arguments.length?(i="function"==typeof t?t:$a(+t),a):i},a.context=function(n){return arguments.length?(null==n?o=u=null:u=t(o=n),a):o},a}function Va(){return Xa(Pa)}function Ra(t,n,e){this.k=t,this.x=n,this.y=e}Ra.prototype={constructor:Ra,scale:function(t){return 1===t?this:new Ra(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Ra(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new Ra(1,0,0);Ra.prototype}}]); //# sourceMappingURL=87347.c002f57d03220f54c084.js.map