diff --git a/dist/ccdb5.js b/dist/ccdb5.js index 35759518..0cbcfaf4 100644 --- a/dist/ccdb5.js +++ b/dist/ccdb5.js @@ -1,4 +1,4 @@ -var BV=Object.defineProperty,jV=Object.defineProperties;var zV=Object.getOwnPropertyDescriptors;var eM=Object.getOwnPropertySymbols;var o6=Object.prototype.hasOwnProperty,a6=Object.prototype.propertyIsEnumerable;var s6=Math.pow,h5=(xa,ha,Tn)=>ha in xa?BV(xa,ha,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):xa[ha]=Tn,oo=(xa,ha)=>{for(var Tn in ha||(ha={}))o6.call(ha,Tn)&&h5(xa,Tn,ha[Tn]);if(eM)for(var Tn of eM(ha))a6.call(ha,Tn)&&h5(xa,Tn,ha[Tn]);return xa},al=(xa,ha)=>jV(xa,zV(ha));var Eo=(xa,ha)=>{var Tn={};for(var tc in xa)o6.call(xa,tc)&&ha.indexOf(tc)<0&&(Tn[tc]=xa[tc]);if(xa!=null&&eM)for(var tc of eM(xa))ha.indexOf(tc)<0&&a6.call(xa,tc)&&(Tn[tc]=xa[tc]);return Tn};var Vc=(xa,ha,Tn)=>h5(xa,typeof ha!="symbol"?ha+"":ha,Tn);var So=(xa,ha,Tn)=>new Promise((tc,lr)=>{var pe=Mt=>{try{ft(Tn.next(Mt))}catch(W){lr(W)}},xt=Mt=>{try{ft(Tn.throw(Mt))}catch(W){lr(W)}},ft=Mt=>Mt.done?tc(Mt.value):Promise.resolve(Mt.value).then(pe,xt);ft((Tn=Tn.apply(xa,ha)).next())});(()=>{var xa={3861:(lr,pe,xt)=>{(function(ft,Mt){lr.exports=Mt(xt(3224))})(window,function(ft){return function(Mt){var W={};function u(T){if(W[T])return W[T].exports;var I=W[T]={i:T,l:!1,exports:{}};return Mt[T].call(I.exports,I,I.exports,u),I.l=!0,I.exports}return u.m=Mt,u.c=W,u.d=function(T,I,Y){u.o(T,I)||Object.defineProperty(T,I,{enumerable:!0,get:Y})},u.r=function(T){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(T,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(T,"__esModule",{value:!0})},u.t=function(T,I){if(1&I&&(T=u(T)),8&I||4&I&&typeof T=="object"&&T&&T.__esModule)return T;var Y=Object.create(null);if(u.r(Y),Object.defineProperty(Y,"default",{enumerable:!0,value:T}),2&I&&typeof T!="string")for(var X in T)u.d(Y,X,function(Z){return T[Z]}.bind(null,X));return Y},u.n=function(T){var I=T&&T.__esModule?function(){return T.default}:function(){return T};return u.d(I,"a",I),I},u.o=function(T,I){return Object.prototype.hasOwnProperty.call(T,I)},u.p="",u(u.s=88)}([function(Mt,W,u){"use strict";u.r(W);var T=function(J,K){return JK?1:J>=K?0:NaN},I=function(J){var K;return J.length===1&&(K=J,J=function(q,at){return T(K(q),at)}),{left:function(q,at,bt,mt){for(bt==null&&(bt=0),mt==null&&(mt=q.length);bt>>1;J(q[Ct],at)<0?bt=Ct+1:mt=Ct}return bt},right:function(q,at,bt,mt){for(bt==null&&(bt=0),mt==null&&(mt=q.length);bt>>1;J(q[Ct],at)>0?mt=Ct:bt=Ct+1}return bt}}},Y=I(T),X=Y.right,Z=Y.left,H=X,_=function(J,K){K==null&&(K=j);for(var q=0,at=J.length-1,bt=J[0],mt=new Array(at<0?0:at);qJ?1:K>=J?0:NaN},C=function(J){return J===null?NaN:+J},d=function(J,K){var q,at,bt=J.length,mt=0,Ct=-1,vt=0,Nt=0;if(K==null)for(;++Ct1)return Nt/(mt-1)},o=function(J,K){var q=d(J,K);return q&&Math.sqrt(q)},k=function(J,K){var q,at,bt,mt=J.length,Ct=-1;if(K==null){for(;++Ct=q)for(at=bt=q;++Ctq&&(at=q),bt=q)for(at=bt=q;++Ctq&&(at=q),bt0)return[J];if((at=K0)for(J=Math.ceil(J/Ct),K=Math.floor(K/Ct),mt=new Array(bt=Math.ceil(K-J+1));++vt=0?(mt>=y?10:mt>=P?5:mt>=m?2:1)*Math.pow(10,bt):-Math.pow(10,-bt)/(mt>=y?10:mt>=P?5:mt>=m?2:1)}function s(J,K,q){var at=Math.abs(K-J)/Math.max(0,q),bt=Math.pow(10,Math.floor(Math.log(at)/Math.LN10)),mt=at/bt;return mt>=y?bt*=10:mt>=P?bt*=5:mt>=m&&(bt*=2),KAt;)St.pop(),--pt;var Pt,Wt=new Array(pt+1);for(mt=0;mt<=pt;++mt)(Pt=Wt[mt]=[]).x0=mt>0?St[mt-1]:Ot,Pt.x1=mt=1)return+q(J[at-1],at-1,J);var at,bt=(at-1)*K,mt=Math.floor(bt),Ct=+q(J[mt],mt,J);return Ct+(+q(J[mt+1],mt+1,J)-Ct)*(bt-mt)}},E=function(J,K,q){return J=w.call(J,C).sort(T),Math.ceil((q-K)/(2*(c(J,.75)-c(J,.25))*Math.pow(J.length,-1/3)))},L=function(J,K,q){return Math.ceil((q-K)/(3.5*o(J)*Math.pow(J.length,-1/3)))},et=function(J,K){var q,at,bt=J.length,mt=-1;if(K==null){for(;++mt=q)for(at=q;++mtat&&(at=q)}else for(;++mt=q)for(at=q;++mtat&&(at=q);return at},nt=function(J,K){var q,at=J.length,bt=at,mt=-1,Ct=0;if(K==null)for(;++mt=0;)for(K=(at=J[bt]).length;--K>=0;)q[--Ct]=at[K];return q},ut=function(J,K){var q,at,bt=J.length,mt=-1;if(K==null){for(;++mt=q)for(at=q;++mtq&&(at=q)}else for(;++mt=q)for(at=q;++mtq&&(at=q);return at},F=function(J,K){for(var q=K.length,at=new Array(q);q--;)at[q]=J[K[q]];return at},B=function(J,K){if(q=J.length){var q,at,bt=0,mt=0,Ct=J[mt];for(K==null&&(K=T);++bt0))return o;do o.push(d=new Date(+A)),Z(A,C),X(A);while(d=D)for(;X(D),!A(D);)D.setTime(D-1)},function(D,C){if(D>=D)if(C<0)for(;++C<=0;)for(;Z(D,-1),!A(D););else for(;--C>=0;)for(;Z(D,1),!A(D););})},H&&(j.count=function(A,D){return T.setTime(+A),I.setTime(+D),X(T),X(I),Math.floor(H(T,I))},j.every=function(A){return A=Math.floor(A),isFinite(A)&&A>0?A>1?j.filter(_?function(D){return _(D)%A==0}:function(D){return j.count(0,D)%A==0}):j:null}),j}},function(Mt,W,u){"use strict";u.r(W);var T=u(29),I=u(64),Y=function(P){return Object(I.a)(Object(T.a)(P).call(document.documentElement))},X=0;function Z(){return new H}function H(){this._="@"+(++X).toString(36)}H.prototype=Z.prototype={constructor:H,get:function(P){for(var m=this._;!(m in P);)if(!(P=P.parentNode))return;return P[m]},set:function(P,m){return P[this._]=m},remove:function(P){return this._ in P&&delete P[this._]},toString:function(){return this._}};var _=u(66),j=u(84),A=u(44),D=u(32),C=u(30),d=u(23),o=function(P){return typeof P=="string"?new d.a([document.querySelectorAll(P)],[document.documentElement]):new d.a([P==null?[]:P],d.c)},k=u(43),S=u(65),h=u(67),w=u(85),b=u(46),g=function(P,m){m==null&&(m=Object(b.a)().touches);for(var x=0,l=m?m.length:0,s=new Array(l);x180||j<-180?j-360*Math.round(j/360):j):Object(T.a)(isNaN(H)?_:H)}function X(H){return(H=+H)==1?Z:function(_,j){return j-_?function(A,D,C){return A=Math.pow(A,C),D=Math.pow(D,C)-A,C=1/C,function(d){return Math.pow(A+d*D,C)}}(_,j,H):Object(T.a)(isNaN(_)?j:_)}}function Z(H,_){var j=_-H;return j?I(H,j):Object(T.a)(isNaN(H)?_:H)}},function(Mt,W,u){"use strict";u.d(W,"g",function(){return X}),u.d(W,"c",function(){return Z}),u.d(W,"k",function(){return H}),u.d(W,"m",function(){return _}),u.d(W,"i",function(){return j}),u.d(W,"a",function(){return A}),u.d(W,"e",function(){return D}),u.d(W,"h",function(){return C}),u.d(W,"d",function(){return d}),u.d(W,"l",function(){return o}),u.d(W,"n",function(){return k}),u.d(W,"j",function(){return S}),u.d(W,"b",function(){return h}),u.d(W,"f",function(){return w});var T=u(1),I=u(3);function Y(b){return Object(T.a)(function(g){g.setDate(g.getDate()-(g.getDay()+7-b)%7),g.setHours(0,0,0,0)},function(g,p){g.setDate(g.getDate()+7*p)},function(g,p){return(p-g-(p.getTimezoneOffset()-g.getTimezoneOffset())*I.c)/I.e})}var X=Y(0),Z=Y(1),H=Y(2),_=Y(3),j=Y(4),A=Y(5),D=Y(6),C=X.range,d=Z.range,o=H.range,k=_.range,S=j.range,h=A.range,w=D.range},function(Mt,W,u){"use strict";u.d(W,"g",function(){return X}),u.d(W,"c",function(){return Z}),u.d(W,"k",function(){return H}),u.d(W,"m",function(){return _}),u.d(W,"i",function(){return j}),u.d(W,"a",function(){return A}),u.d(W,"e",function(){return D}),u.d(W,"h",function(){return C}),u.d(W,"d",function(){return d}),u.d(W,"l",function(){return o}),u.d(W,"n",function(){return k}),u.d(W,"j",function(){return S}),u.d(W,"b",function(){return h}),u.d(W,"f",function(){return w});var T=u(1),I=u(3);function Y(b){return Object(T.a)(function(g){g.setUTCDate(g.getUTCDate()-(g.getUTCDay()+7-b)%7),g.setUTCHours(0,0,0,0)},function(g,p){g.setUTCDate(g.getUTCDate()+7*p)},function(g,p){return(p-g)/I.e})}var X=Y(0),Z=Y(1),H=Y(2),_=Y(3),j=Y(4),A=Y(5),D=Y(6),C=X.range,d=Z.range,o=H.range,k=_.range,S=j.range,h=A.range,w=D.range},function(Mt,W,u){"use strict";u.d(W,"a",function(){return I}),u.d(W,"d",function(){return Y}),u.d(W,"c",function(){return X}),u.d(W,"e",function(){return b}),u.d(W,"h",function(){return y}),u.d(W,"g",function(){return P}),u.d(W,"b",function(){return m}),u.d(W,"f",function(){return c});var T=u(15);function I(){}var Y=.7,X=1/Y,Z="\\s*([+-]?\\d+)\\s*",H="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",j=/^#([0-9a-f]{3,8})$/,A=new RegExp("^rgb\\("+[Z,Z,Z]+"\\)$"),D=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),C=new RegExp("^rgba\\("+[Z,Z,Z,H]+"\\)$"),d=new RegExp("^rgba\\("+[_,_,_,H]+"\\)$"),o=new RegExp("^hsl\\("+[H,_,_]+"\\)$"),k=new RegExp("^hsla\\("+[H,_,_,H]+"\\)$"),S={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function h(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function b(et){var nt,rt;return et=(et+"").trim().toLowerCase(),(nt=j.exec(et))?(rt=nt[1].length,nt=parseInt(nt[1],16),rt===6?g(nt):rt===3?new m(nt>>8&15|nt>>4&240,nt>>4&15|240&nt,(15&nt)<<4|15&nt,1):rt===8?new m(nt>>24&255,nt>>16&255,nt>>8&255,(255&nt)/255):rt===4?new m(nt>>12&15|nt>>8&240,nt>>8&15|nt>>4&240,nt>>4&15|240&nt,((15&nt)<<4|15&nt)/255):null):(nt=A.exec(et))?new m(nt[1],nt[2],nt[3],1):(nt=D.exec(et))?new m(255*nt[1]/100,255*nt[2]/100,255*nt[3]/100,1):(nt=C.exec(et))?p(nt[1],nt[2],nt[3],nt[4]):(nt=d.exec(et))?p(255*nt[1]/100,255*nt[2]/100,255*nt[3]/100,nt[4]):(nt=o.exec(et))?N(nt[1],nt[2]/100,nt[3]/100,1):(nt=k.exec(et))?N(nt[1],nt[2]/100,nt[3]/100,nt[4]):S.hasOwnProperty(et)?g(S[et]):et==="transparent"?new m(NaN,NaN,NaN,0):null}function g(et){return new m(et>>16&255,et>>8&255,255&et,1)}function p(et,nt,rt,G){return G<=0&&(et=nt=rt=NaN),new m(et,nt,rt,G)}function y(et){return et instanceof I||(et=b(et)),et?new m((et=et.rgb()).r,et.g,et.b,et.opacity):new m}function P(et,nt,rt,G){return arguments.length===1?y(et):new m(et,nt,rt,G==null?1:G)}function m(et,nt,rt,G){this.r=+et,this.g=+nt,this.b=+rt,this.opacity=+G}function x(){return"#"+s(this.r)+s(this.g)+s(this.b)}function l(){var et=this.opacity;return((et=isNaN(et)?1:Math.max(0,Math.min(1,et)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(et===1?")":", "+et+")")}function s(et){return((et=Math.max(0,Math.min(255,Math.round(et)||0)))<16?"0":"")+et.toString(16)}function N(et,nt,rt,G){return G<=0?et=nt=rt=NaN:rt<=0||rt>=1?et=nt=NaN:nt<=0&&(et=NaN),new E(et,nt,rt,G)}function R(et){if(et instanceof E)return new E(et.h,et.s,et.l,et.opacity);if(et instanceof I||(et=b(et)),!et)return new E;if(et instanceof E)return et;var nt=(et=et.rgb()).r/255,rt=et.g/255,G=et.b/255,ut=Math.min(nt,rt,G),F=Math.max(nt,rt,G),B=NaN,st=F-ut,ht=(F+ut)/2;return st?(B=nt===F?(rt-G)/st+6*(rt0&&ht<1?0:B,new E(B,st,ht,et.opacity)}function c(et,nt,rt,G){return arguments.length===1?R(et):new E(et,nt,rt,G==null?1:G)}function E(et,nt,rt,G){this.h=+et,this.s=+nt,this.l=+rt,this.opacity=+G}function L(et,nt,rt){return 255*(et<60?nt+(rt-nt)*et/60:et<180?rt:et<240?nt+(rt-nt)*(240-et)/60:nt)}Object(T.a)(I,b,{copy:function(et){return Object.assign(new this.constructor,this,et)},displayable:function(){return this.rgb().displayable()},hex:h,formatHex:h,formatHsl:function(){return R(this).formatHsl()},formatRgb:w,toString:w}),Object(T.a)(m,P,Object(T.b)(I,{brighter:function(et){return et=et==null?X:Math.pow(X,et),new m(this.r*et,this.g*et,this.b*et,this.opacity)},darker:function(et){return et=et==null?Y:Math.pow(Y,et),new m(this.r*et,this.g*et,this.b*et,this.opacity)},rgb:function(){return this},displayable:function(){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:x,formatHex:x,formatRgb:l,toString:l})),Object(T.a)(E,c,Object(T.b)(I,{brighter:function(et){return et=et==null?X:Math.pow(X,et),new E(this.h,this.s,this.l*et,this.opacity)},darker:function(et){return et=et==null?Y:Math.pow(Y,et),new E(this.h,this.s,this.l*et,this.opacity)},rgb:function(){var et=this.h%360+360*(this.h<0),nt=isNaN(et)||isNaN(this.s)?0:this.s,rt=this.l,G=rt+(rt<.5?rt:1-rt)*nt,ut=2*rt-G;return new m(L(et>=240?et-240:et+120,ut,G),L(et,ut,G),L(et<120?et+240:et-120,ut,G),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var et=this.opacity;return((et=isNaN(et)?1:Math.max(0,Math.min(1,et)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(et===1?")":", "+et+")")}}))},function(Mt,W,u){"use strict";u.r(W);var T,I,Y=u(23),X=u(79),Z=0,H=0,_=0,j=0,A=0,D=0,C=typeof performance=="object"&&performance.now?performance:Date,d=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(Rt){setTimeout(Rt,17)};function o(){return A||(d(k),A=C.now()+D)}function k(){A=0}function S(){this._call=this._time=this._next=null}function h(Rt,Bt,Ht){var zt=new S;return zt.restart(Rt,Bt,Ht),zt}function w(){A=(j=C.now())+D,Z=H=0;try{(function(){o(),++Z;for(var Rt,Bt=T;Bt;)(Rt=A-Bt._time)>=0&&Bt._call.call(null,Rt),Bt=Bt._next;--Z})()}finally{Z=0,function(){for(var Rt,Bt,Ht=T,zt=1/0;Ht;)Ht._call?(zt>Ht._time&&(zt=Ht._time),Rt=Ht,Ht=Ht._next):(Bt=Ht._next,Ht._next=null,Ht=Rt?Rt._next=Bt:T=Bt);I=Rt,g(zt)}(),A=0}}function b(){var Rt=C.now(),Bt=Rt-j;Bt>1e3&&(D-=Bt,j=Rt)}function g(Rt){Z||(H&&(H=clearTimeout(H)),Rt-A>24?(Rt<1/0&&(H=setTimeout(w,Rt-C.now()-D)),_&&(_=clearInterval(_))):(_||(j=C.now(),_=setInterval(b,1e3)),Z=1,d(w)))}S.prototype=h.prototype={constructor:S,restart:function(Rt,Bt,Ht){if(typeof Rt!="function")throw new TypeError("callback is not a function");Ht=(Ht==null?o():+Ht)+(Bt==null?0:+Bt),this._next||I===this||(I?I._next=this:T=this,I=this),this._call=Rt,this._time=Ht,g()},stop:function(){this._call&&(this._call=null,this._time=1/0,g())}};var p=function(Rt,Bt,Ht){var zt=new S;return Bt=Bt==null?0:+Bt,zt.restart(function(re){zt.stop(),Rt(re+Bt)},Bt,Ht),zt},y=Object(X.a)("start","end","cancel","interrupt"),P=[],m=function(Rt,Bt,Ht,zt,re,ve){var he=Rt.__transition;if(he){if(Ht in he)return}else Rt.__transition={};(function(Ge,cn,yn){var Vn,fn=Ge.__transition;function Mn(de){var Ne,Be,fe,ke;if(yn.state!==1)return Cr();for(Ne in fn)if((ke=fn[Ne]).name===yn.name){if(ke.state===3)return p(Mn);ke.state===4?(ke.state=6,ke.timer.stop(),ke.on.call("interrupt",Ge,Ge.__data__,ke.index,ke.group),delete fn[Ne]):+Ne0)throw new Error("too late; already scheduled");return Ht}function l(Rt,Bt){var Ht=s(Rt,Bt);if(Ht.state>3)throw new Error("too late; already running");return Ht}function s(Rt,Bt){var Ht=Rt.__transition;if(!Ht||!(Ht=Ht[Bt]))throw new Error("transition not found");return Ht}var N=function(Rt,Bt){var Ht,zt,re,ve=Rt.__transition,he=!0;if(ve){for(re in Bt=Bt==null?null:Bt+"",ve)(Ht=ve[re]).name===Bt?(zt=Ht.state>2&&Ht.state<5,Ht.state=6,Ht.timer.stop(),Ht.on.call(zt?"interrupt":"cancel",Rt,Rt.__data__,Ht.index,Ht.group),delete ve[re]):he=!1;he&&delete Rt.__transition}},R=u(77),c=u(44);function E(Rt,Bt){var Ht,zt;return function(){var re=l(this,Rt),ve=re.tween;if(ve!==Ht){for(var he=0,Ge=(zt=Ht=ve).length;he=0&&(Ge=Ge.slice(0,cn)),!Ge||Ge==="start"})}(Bt)?x:l;return function(){var he=ve(this,Rt),Ge=he.on;Ge!==zt&&(re=(zt=Ge).copy()).on(Bt,Ht),he.on=re}}var At=u(43),St=u(65),pt=Y.b.prototype.constructor,Pt=u(67);function Wt(Rt){return function(){this.style.removeProperty(Rt)}}function Xt(Rt,Bt,Ht){return function(zt){this.style.setProperty(Rt,Bt.call(this,zt),Ht)}}function ae(Rt,Bt,Ht){var zt,re;function ve(){var he=Bt.apply(this,arguments);return he!==re&&(zt=(re=he)&&Xt(Rt,he,Ht)),zt}return ve._value=Bt,ve}function le(Rt){return function(Bt){this.textContent=Rt.call(this,Bt)}}function Ae(Rt){var Bt,Ht;function zt(){var re=Rt.apply(this,arguments);return re!==Ht&&(Bt=(Ht=re)&&le(re)),Bt}return zt._value=Rt,zt}var ze=0;function nn(Rt,Bt,Ht,zt){this._groups=Rt,this._parents=Bt,this._name=Ht,this._id=zt}function an(Rt){return Object(Y.b)().transition(Rt)}function tn(){return++ze}var xn=Y.b.prototype;nn.prototype=an.prototype={constructor:nn,select:function(Rt){var Bt=this._name,Ht=this._id;typeof Rt!="function"&&(Rt=Object(At.a)(Rt));for(var zt=this._groups,re=zt.length,ve=new Array(re),he=0;he1&&Ht.name===Bt)return new nn([[Rt]],ne,Bt,+zt)}return null};u.d(W,"transition",function(){return an}),u.d(W,"active",function(){return te}),u.d(W,"interrupt",function(){return N})},function(Mt,W,u){"use strict";u.r(W);var T=u(56);u.d(W,"formatDefaultLocale",function(){return T.a}),u.d(W,"format",function(){return T.b}),u.d(W,"formatPrefix",function(){return T.c});var I=u(68);u.d(W,"formatLocale",function(){return I.a});var Y=u(40);u.d(W,"formatSpecifier",function(){return Y.b}),u.d(W,"FormatSpecifier",function(){return Y.a});var X=u(80);u.d(W,"precisionFixed",function(){return X.a});var Z=u(81);u.d(W,"precisionPrefix",function(){return Z.a});var H=u(82);u.d(W,"precisionRound",function(){return H.a})},function(Mt,W,u){"use strict";var T;(T=function(){return{colorSchemas:{britecharts:["#6aedc7","#39c2c9","#ffce00","#ffa71a","#f866b9","#998ce3"],grey:["#F8F8FA","#EFF2F5","#D2D6DF","#C3C6CF","#ADB0B6","#666A73","#45494E","#363A43","#282C35"],orange:["#fcc870","#ffa71a","#fb8825","#f6682f","#db5a2c","#bf4c28","#a43b1c","#892a10","#f9e9c5"],blueGreen:["#ccf7f6","#70e4e0","#00d8d2","#00acaf","#007f8c","#005e66","#003c3f","#002d2f","#0d2223"],teal:["#ccfffe","#94f7f4","#00fff8","#1de1e1","#39c2c9","#2e9a9d","#227270","#1a5957","#133f3e"],green:["#edfff7","#d7ffef","#c0ffe7","#95f5d7","#6aedc7","#59c3a3","#479980","#34816a","#206953"],yellow:["#f9f2b3","#fbe986","#fce05a","#fed72d","#ffce00","#fcc11c","#f9b438","#eda629","#e09819"],pink:["#fdd1ea","#fb9cd2","#f866b9","#fc40b6","#ff1ab3","#e3239d","#c62c86","#a62073","#85135f"],purple:["#ddd6fc","#bbb1f0","#998ce3","#8e6bc1","#824a9e","#77337f","#6b1c60","#591650","#470f3f"],red:["#ffd8d4","#ffb5b0","#ff938c","#ff766c","#ff584c","#f04b42","#e03d38","#be2e29","#9c1e19"]},colorSchemasHuman:{britecharts:"Britecharts Default",grey:"Britecharts Grey",orange:"Orange",blueGreen:"Blue",teal:"Light Blue",green:"Green",yellow:"Yellow",pink:"Pink",purple:"Purple",red:"Red"},colorGradients:{greenBlue:["#39C7EA","#4CDCBA"],orangePink:["#FBC670","#F766B8"],bluePurple:["#3DC3C9","#824a9e"]},colorGradientsHuman:{greenBlue:"Green to Blue",orangePink:"Orange to Pink",bluePurple:"Blue to Purple"},singleColors:{aloeGreen:["#7bdcc0"],greenColor:["#6aedc7"],blueColor:["#39c2c9"],yellowColor:["#ffce00"],orangeColor:["#ffa71a"],pinkColor:["#f866b9"],purpleColor:["#998ce3"]},singleColorsHuman:{aloeGreen:"Aloe Green",greenColor:"Green",blueColor:"Blue",yellowColor:"Yellow",orangeColor:"Orange",pinkColor:"Pink",purpleColor:"Purple"}}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";function T(L){return+L}function I(L){return L*L}function Y(L){return L*(2-L)}function X(L){return((L*=2)<=1?L*L:--L*(2-L)+1)/2}u.r(W);var Z=u(49),H=function L(et){function nt(rt){return Math.pow(rt,et)}return et=+et,nt.exponent=L,nt}(3),_=function L(et){function nt(rt){return 1-Math.pow(1-rt,et)}return et=+et,nt.exponent=L,nt}(3),j=function L(et){function nt(rt){return((rt*=2)<=1?Math.pow(rt,et):2-Math.pow(2-rt,et))/2}return et=+et,nt.exponent=L,nt}(3),A=Math.PI,D=A/2;function C(L){return 1-Math.cos(L*D)}function d(L){return Math.sin(L*D)}function o(L){return(1-Math.cos(A*L))/2}function k(L){return Math.pow(2,10*L-10)}function S(L){return 1-Math.pow(2,-10*L)}function h(L){return((L*=2)<=1?Math.pow(2,10*L-10):2-Math.pow(2,10-10*L))/2}function w(L){return 1-Math.sqrt(1-L*L)}function b(L){return Math.sqrt(1- --L*L)}function g(L){return((L*=2)<=1?1-Math.sqrt(1-L*L):Math.sqrt(1-(L-=2)*L)+1)/2}var p=7.5625;function y(L){return 1-P(1-L)}function P(L){return(L=+L)<.36363636363636365?p*L*L:L<.7272727272727273?p*(L-=.5454545454545454)*L+.75:L<.9090909090909091?p*(L-=.8181818181818182)*L+.9375:p*(L-=.9545454545454546)*L+.984375}function m(L){return((L*=2)<=1?1-P(1-L):P(L-1)+1)/2}var x=function L(et){function nt(rt){return rt*rt*((et+1)*rt-et)}return et=+et,nt.overshoot=L,nt}(1.70158),l=function L(et){function nt(rt){return--rt*rt*((et+1)*rt+et)+1}return et=+et,nt.overshoot=L,nt}(1.70158),s=function L(et){function nt(rt){return((rt*=2)<1?rt*rt*((et+1)*rt-et):(rt-=2)*rt*((et+1)*rt+et)+2)/2}return et=+et,nt.overshoot=L,nt}(1.70158),N=2*Math.PI,R=function L(et,nt){var rt=Math.asin(1/(et=Math.max(1,et)))*(nt/=N);function G(ut){return et*Math.pow(2,10*--ut)*Math.sin((rt-ut)/nt)}return G.amplitude=function(ut){return L(ut,nt*N)},G.period=function(ut){return L(et,ut)},G}(1,.3),c=function L(et,nt){var rt=Math.asin(1/(et=Math.max(1,et)))*(nt/=N);function G(ut){return 1-et*Math.pow(2,-10*(ut=+ut))*Math.sin((ut+rt)/nt)}return G.amplitude=function(ut){return L(ut,nt*N)},G.period=function(ut){return L(et,ut)},G}(1,.3),E=function L(et,nt){var rt=Math.asin(1/(et=Math.max(1,et)))*(nt/=N);function G(ut){return((ut=2*ut-1)<0?et*Math.pow(2,10*ut)*Math.sin((rt-ut)/nt):2-et*Math.pow(2,-10*ut)*Math.sin((rt+ut)/nt))/2}return G.amplitude=function(ut){return L(ut,nt*N)},G.period=function(ut){return L(et,ut)},G}(1,.3);u.d(W,"easeLinear",function(){return T}),u.d(W,"easeQuad",function(){return X}),u.d(W,"easeQuadIn",function(){return I}),u.d(W,"easeQuadOut",function(){return Y}),u.d(W,"easeQuadInOut",function(){return X}),u.d(W,"easeCubic",function(){return Z.b}),u.d(W,"easeCubicIn",function(){return Z.a}),u.d(W,"easeCubicOut",function(){return Z.c}),u.d(W,"easeCubicInOut",function(){return Z.b}),u.d(W,"easePoly",function(){return j}),u.d(W,"easePolyIn",function(){return H}),u.d(W,"easePolyOut",function(){return _}),u.d(W,"easePolyInOut",function(){return j}),u.d(W,"easeSin",function(){return o}),u.d(W,"easeSinIn",function(){return C}),u.d(W,"easeSinOut",function(){return d}),u.d(W,"easeSinInOut",function(){return o}),u.d(W,"easeExp",function(){return h}),u.d(W,"easeExpIn",function(){return k}),u.d(W,"easeExpOut",function(){return S}),u.d(W,"easeExpInOut",function(){return h}),u.d(W,"easeCircle",function(){return g}),u.d(W,"easeCircleIn",function(){return w}),u.d(W,"easeCircleOut",function(){return b}),u.d(W,"easeCircleInOut",function(){return g}),u.d(W,"easeBounce",function(){return P}),u.d(W,"easeBounceIn",function(){return y}),u.d(W,"easeBounceOut",function(){return P}),u.d(W,"easeBounceInOut",function(){return m}),u.d(W,"easeBack",function(){return s}),u.d(W,"easeBackIn",function(){return x}),u.d(W,"easeBackOut",function(){return l}),u.d(W,"easeBackInOut",function(){return s}),u.d(W,"easeElastic",function(){return c}),u.d(W,"easeElasticIn",function(){return R}),u.d(W,"easeElasticOut",function(){return c}),u.d(W,"easeElasticInOut",function(){return E})},function(Mt,W,u){"use strict";u.r(W);var T=u(0);function I(fe,ke){switch(arguments.length){case 0:break;case 1:this.range(fe);break;default:this.range(ke).domain(fe)}return this}function Y(fe,ke){switch(arguments.length){case 0:break;case 1:this.interpolator(fe);break;default:this.interpolator(ke).domain(fe)}return this}var X=u(25),Z=Array.prototype,H=Z.map,_=Z.slice,j={name:"implicit"};function A(){var fe=Object(X.map)(),ke=[],De=[],Te=j;function Me(Xe){var vn=Xe+"",xe=fe.get(vn);if(!xe){if(Te!==j)return Te;fe.set(vn,xe=ke.push(Xe))}return De[(xe-1)%De.length]}return Me.domain=function(Xe){if(!arguments.length)return ke.slice();ke=[],fe=Object(X.map)();for(var vn,xe,$e=-1,pn=Xe.length;++$eTe&&(ke=De,De=Te,Te=ke),function(Me){return Math.max(De,Math.min(Te,Me))}}function y(fe,ke,De){var Te=fe[0],Me=fe[1],Xe=ke[0],vn=ke[1];return Me2?P:y,Me=Xe=null,gn}function gn(Ke){return isNaN(Ke=+Ke)?De:(Me||(Me=Te(vn.map(fe),xe,$e)))(fe(pn(Ke)))}return gn.invert=function(Ke){return pn(ke((Xe||(Xe=Te(xe,vn.map(fe),k.a)))(Ke)))},gn.domain=function(Ke){return arguments.length?(vn=H.call(Ke,h),pn===b||(pn=p(vn)),we()):vn.slice()},gn.range=function(Ke){return arguments.length?(xe=_.call(Ke),we()):xe.slice()},gn.rangeRound=function(Ke){return xe=_.call(Ke),$e=S.a,we()},gn.clamp=function(Ke){return arguments.length?(pn=Ke?p(vn):b,gn):pn!==b},gn.interpolate=function(Ke){return arguments.length?($e=Ke,we()):$e},gn.unknown=function(Ke){return arguments.length?(De=Ke,gn):De},function(Ke,hn){return fe=Ke,ke=hn,we()}}function l(fe,ke){return x()(fe,ke)}var s=u(40),N=u(81),R=u(56),c=u(82),E=u(80),L=function(fe,ke,De,Te){var Me,Xe=Object(T.tickStep)(fe,ke,De);switch((Te=Object(s.b)(Te==null?",f":Te)).type){case"s":var vn=Math.max(Math.abs(fe),Math.abs(ke));return Te.precision!=null||isNaN(Me=Object(N.a)(Xe,vn))||(Te.precision=Me),Object(R.c)(Te,vn);case"":case"e":case"g":case"p":case"r":Te.precision!=null||isNaN(Me=Object(c.a)(Xe,Math.max(Math.abs(fe),Math.abs(ke))))||(Te.precision=Me-(Te.type==="e"));break;case"f":case"%":Te.precision!=null||isNaN(Me=Object(E.a)(Xe))||(Te.precision=Me-2*(Te.type==="%"))}return Object(R.b)(Te)};function et(fe){var ke=fe.domain;return fe.ticks=function(De){var Te=ke();return Object(T.ticks)(Te[0],Te[Te.length-1],De==null?10:De)},fe.tickFormat=function(De,Te){var Me=ke();return L(Me[0],Me[Me.length-1],De==null?10:De,Te)},fe.nice=function(De){De==null&&(De=10);var Te,Me=ke(),Xe=0,vn=Me.length-1,xe=Me[Xe],$e=Me[vn];return $e0?(xe=Math.floor(xe/Te)*Te,$e=Math.ceil($e/Te)*Te,Te=Object(T.tickIncrement)(xe,$e,De)):Te<0&&(xe=Math.ceil(xe*Te)/Te,$e=Math.floor($e*Te)/Te,Te=Object(T.tickIncrement)(xe,$e,De)),Te>0?(Me[Xe]=Math.floor(xe/Te)*Te,Me[vn]=Math.ceil($e/Te)*Te,ke(Me)):Te<0&&(Me[Xe]=Math.ceil(xe*Te)/Te,Me[vn]=Math.floor($e*Te)/Te,ke(Me)),fe},fe}function nt(){var fe=l(b,b);return fe.copy=function(){return m(fe,nt())},I.apply(fe,arguments),et(fe)}function rt(fe){var ke;function De(Te){return isNaN(Te=+Te)?ke:Te}return De.invert=De,De.domain=De.range=function(Te){return arguments.length?(fe=H.call(Te,h),De):fe.slice()},De.unknown=function(Te){return arguments.length?(ke=Te,De):ke},De.copy=function(){return rt(fe).unknown(ke)},fe=arguments.length?H.call(fe,h):[0,1],et(De)}var G=function(fe,ke){var De,Te=0,Me=(fe=fe.slice()).length-1,Xe=fe[Te],vn=fe[Me];return vn0){for(;dngn)break;fr.push(mn)}}else for(;dn=1;--hn)if(!((mn=Ke*hn)gn)break;fr.push(mn)}}else fr=Object(T.ticks)(dn,cr,Math.min(cr-dn,rr)).map(De);return $e?fr.reverse():fr},Te.tickFormat=function(xe,$e){if($e==null&&($e=Xe===10?".0e":","),typeof $e!="function"&&($e=Object(R.b)($e)),xe===1/0)return $e;xe==null&&(xe=10);var pn=Math.max(1,Xe*xe/Te.ticks().length);return function(we){var gn=we/De(Math.round(ke(we)));return gn*Xe0?Te[xe-1]:ke[0],xe=Te?[Me[Te-1],De]:[Me[pn-1],Me[pn]]},vn.unknown=function($e){return arguments.length&&(fe=$e),vn},vn.thresholds=function(){return Me.slice()},vn.copy=function(){return At().domain([ke,De]).range(Xe).unknown(fe)},I.apply(et(vn),arguments)}function St(){var fe,ke=[.5],De=[0,1],Te=1;function Me(Xe){return Xe<=Xe?De[Object(T.bisect)(ke,Xe,0,Te)]:fe}return Me.domain=function(Xe){return arguments.length?(ke=_.call(Xe),Te=Math.min(ke.length,De.length-1),Me):ke.slice()},Me.range=function(Xe){return arguments.length?(De=_.call(Xe),Te=Math.min(ke.length,De.length-1),Me):De.slice()},Me.invertExtent=function(Xe){var vn=De.indexOf(Xe);return[ke[vn-1],ke[vn]]},Me.unknown=function(Xe){return arguments.length?(fe=Xe,Me):fe},Me.copy=function(){return St().domain(ke).range(De).unknown(fe)},I.apply(Me,arguments)}var pt=u(33),Pt=u(69),Wt=u(5),Xt=u(53),ae=u(70),le=u(71),Ae=u(51),ze=u(52),nn=u(21);function an(fe){return new Date(fe)}function tn(fe){return fe instanceof Date?+fe:+new Date(+fe)}function xn(fe,ke,De,Te,Me,Xe,vn,xe,$e){var pn=l(b,b),we=pn.invert,gn=pn.domain,Ke=$e(".%L"),hn=$e(":%S"),mn=$e("%I:%M"),dn=$e("%I %p"),cr=$e("%a %d"),rr=$e("%b %d"),fr=$e("%B"),dr=$e("%Y"),Zn=[[vn,1,1e3],[vn,5,5e3],[vn,15,15e3],[vn,30,3e4],[Xe,1,6e4],[Xe,5,3e5],[Xe,15,9e5],[Xe,30,18e5],[Me,1,36e5],[Me,3,108e5],[Me,6,216e5],[Me,12,432e5],[Te,1,864e5],[Te,2,1728e5],[De,1,6048e5],[ke,1,2592e6],[ke,3,7776e6],[fe,1,31536e6]];function Or(pr){return(vn(pr)svg{background:"+this.chartBackground+";padding: 20px;}"}};function j(o,k){if(o){o.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg");var S=Z.initializeSerializer()(o.node());return S=function(h){return navigator.userAgent.search("FireFox")>-1?h.replace(/url.*"\)/,'url("linearGradient[id*="-gradient-"]");'):h}(S),S=function(h){return h.replace(">",">"+_.styleBackgroundString)}(S=d.call(this,S,k,parseInt(o.attr("width"),10)))}}function A(o){var k=new Image;return k.src=""+_.imageSourceBase+H(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,function(S,h){return String.fromCharCode("0x"+h)})),k}function D(o,k){return k.getContext("2d").drawImage(o,0,0),k}function C(o,k,S){S.preventDefault(),function(h){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_.defaultFilename,b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"image/png",g=h.toDataURL(b),p=document.createElement("a");p.href=g,p.download=w,document.body.appendChild(p),p.click(),document.body.removeChild(p)}(D(this,o),k)}function d(o,k,S){if(!k||!S)return o;var h=X.grey;return o=o.replace(/ '+k+" ma in va?yG(va,ma,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):va[ma]=Ln,ui=(va,ma)=>{for(var Ln in ma||(ma={}))aR.call(ma,Ln)&&V5(va,Ln,ma[Ln]);if(TT)for(var Ln of TT(ma))sR.call(ma,Ln)&&V5(va,Ln,ma[Ln]);return va},pa=(va,ma)=>vG(va,xG(ma));var yo=(va,ma)=>{var Ln={};for(var ic in va)aR.call(va,ic)&&ma.indexOf(ic)<0&&(Ln[ic]=va[ic]);if(va!=null&&TT)for(var ic of TT(va))ma.indexOf(ic)<0&&sR.call(va,ic)&&(Ln[ic]=va[ic]);return Ln};var Tl=(va,ma,Ln)=>V5(va,typeof ma!="symbol"?ma+"":ma,Ln);var lo=(va,ma,Ln)=>new Promise((ic,yr)=>{var we=At=>{try{Z(Ln.next(At))}catch(W){yr(W)}},wt=At=>{try{Z(Ln.throw(At))}catch(W){yr(W)}},Z=At=>At.done?ic(At.value):Promise.resolve(At.value).then(we,wt);Z((Ln=Ln.apply(va,ma)).next())});(()=>{var va={3861:(yr,we,wt)=>{(function(Z,At){yr.exports=At(wt(3224))})(window,function(Z){return function(At){var W={};function c(C){if(W[C])return W[C].exports;var I=W[C]={i:C,l:!1,exports:{}};return At[C].call(I.exports,I,I.exports,c),I.l=!0,I.exports}return c.m=At,c.c=W,c.d=function(C,I,G){c.o(C,I)||Object.defineProperty(C,I,{enumerable:!0,get:G})},c.r=function(C){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},c.t=function(C,I){if(1&I&&(C=c(C)),8&I||4&I&&typeof C=="object"&&C&&C.__esModule)return C;var G=Object.create(null);if(c.r(G),Object.defineProperty(G,"default",{enumerable:!0,value:C}),2&I&&typeof C!="string")for(var q in C)c.d(G,q,function(J){return C[J]}.bind(null,q));return G},c.n=function(C){var I=C&&C.__esModule?function(){return C.default}:function(){return C};return c.d(I,"a",I),I},c.o=function(C,I){return Object.prototype.hasOwnProperty.call(C,I)},c.p="",c(c.s=88)}([function(At,W,c){"use strict";c.r(W);var C=function(tt,Q){return ttQ?1:tt>=Q?0:NaN},I=function(tt){var Q;return tt.length===1&&(Q=tt,tt=function(K,st){return C(Q(K),st)}),{left:function(K,st,xt,gt){for(xt==null&&(xt=0),gt==null&&(gt=K.length);xt>>1;tt(K[Tt],st)<0?xt=Tt+1:gt=Tt}return xt},right:function(K,st,xt,gt){for(xt==null&&(xt=0),gt==null&&(gt=K.length);xt>>1;tt(K[Tt],st)>0?gt=Tt:xt=Tt+1}return xt}}},G=I(C),q=G.right,J=G.left,U=q,V=function(tt,Q){Q==null&&(Q=j);for(var K=0,st=tt.length-1,xt=tt[0],gt=new Array(st<0?0:st);Ktt?1:Q>=tt?0:NaN},E=function(tt){return tt===null?NaN:+tt},p=function(tt,Q){var K,st,xt=tt.length,gt=0,Tt=-1,vt=0,Dt=0;if(Q==null)for(;++Tt1)return Dt/(gt-1)},o=function(tt,Q){var K=p(tt,Q);return K&&Math.sqrt(K)},T=function(tt,Q){var K,st,xt,gt=tt.length,Tt=-1;if(Q==null){for(;++Tt=K)for(st=xt=K;++TtK&&(st=K),xt=K)for(st=xt=K;++TtK&&(st=K),xt0)return[tt];if((st=Q0)for(tt=Math.ceil(tt/Tt),Q=Math.floor(Q/Tt),gt=new Array(xt=Math.ceil(Q-tt+1));++vt=0?(gt>=x?10:gt>=R?5:gt>=y?2:1)*Math.pow(10,xt):-Math.pow(10,-xt)/(gt>=x?10:gt>=R?5:gt>=y?2:1)}function l(tt,Q,K){var st=Math.abs(Q-tt)/Math.max(0,K),xt=Math.pow(10,Math.floor(Math.log(st)/Math.LN10)),gt=st/xt;return gt>=x?xt*=10:gt>=R?xt*=5:gt>=y&&(xt*=2),QPt;)Mt.pop(),--mt;var Ot,Yt=new Array(mt+1);for(gt=0;gt<=mt;++gt)(Ot=Yt[gt]=[]).x0=gt>0?Mt[gt-1]:Nt,Ot.x1=gt=1)return+K(tt[st-1],st-1,tt);var st,xt=(st-1)*Q,gt=Math.floor(xt),Tt=+K(tt[gt],gt,tt);return Tt+(+K(tt[gt+1],gt+1,tt)-Tt)*(xt-gt)}},_=function(tt,Q,K){return tt=S.call(tt,E).sort(C),Math.ceil((K-Q)/(2*(u(tt,.75)-u(tt,.25))*Math.pow(tt.length,-1/3)))},L=function(tt,Q,K){return Math.ceil((K-Q)/(3.5*o(tt)*Math.pow(tt.length,-1/3)))},nt=function(tt,Q){var K,st,xt=tt.length,gt=-1;if(Q==null){for(;++gt=K)for(st=K;++gtst&&(st=K)}else for(;++gt=K)for(st=K;++gtst&&(st=K);return st},rt=function(tt,Q){var K,st=tt.length,xt=st,gt=-1,Tt=0;if(Q==null)for(;++gt=0;)for(Q=(st=tt[xt]).length;--Q>=0;)K[--Tt]=st[Q];return K},ct=function(tt,Q){var K,st,xt=tt.length,gt=-1;if(Q==null){for(;++gt=K)for(st=K;++gtK&&(st=K)}else for(;++gt=K)for(st=K;++gtK&&(st=K);return st},B=function(tt,Q){for(var K=Q.length,st=new Array(K);K--;)st[K]=tt[Q[K]];return st},F=function(tt,Q){if(K=tt.length){var K,st,xt=0,gt=0,Tt=tt[gt];for(Q==null&&(Q=C);++xt0))return o;do o.push(p=new Date(+A)),J(A,E),q(A);while(p=P)for(;q(P),!A(P);)P.setTime(P-1)},function(P,E){if(P>=P)if(E<0)for(;++E<=0;)for(;J(P,-1),!A(P););else for(;--E>=0;)for(;J(P,1),!A(P););})},U&&(j.count=function(A,P){return C.setTime(+A),I.setTime(+P),q(C),q(I),Math.floor(U(C,I))},j.every=function(A){return A=Math.floor(A),isFinite(A)&&A>0?A>1?j.filter(V?function(P){return V(P)%A==0}:function(P){return j.count(0,P)%A==0}):j:null}),j}},function(At,W,c){"use strict";c.r(W);var C=c(29),I=c(64),G=function(R){return Object(I.a)(Object(C.a)(R).call(document.documentElement))},q=0;function J(){return new U}function U(){this._="@"+(++q).toString(36)}U.prototype=J.prototype={constructor:U,get:function(R){for(var y=this._;!(y in R);)if(!(R=R.parentNode))return;return R[y]},set:function(R,y){return R[this._]=y},remove:function(R){return this._ in R&&delete R[this._]},toString:function(){return this._}};var V=c(66),j=c(84),A=c(44),P=c(32),E=c(30),p=c(23),o=function(R){return typeof R=="string"?new p.a([document.querySelectorAll(R)],[document.documentElement]):new p.a([R==null?[]:R],p.c)},T=c(43),w=c(65),f=c(67),S=c(85),v=c(46),m=function(R,y){y==null&&(y=Object(v.a)().touches);for(var b=0,s=y?y.length:0,l=new Array(s);b180||j<-180?j-360*Math.round(j/360):j):Object(C.a)(isNaN(U)?V:U)}function q(U){return(U=+U)==1?J:function(V,j){return j-V?function(A,P,E){return A=Math.pow(A,E),P=Math.pow(P,E)-A,E=1/E,function(p){return Math.pow(A+p*P,E)}}(V,j,U):Object(C.a)(isNaN(V)?j:V)}}function J(U,V){var j=V-U;return j?I(U,j):Object(C.a)(isNaN(U)?V:U)}},function(At,W,c){"use strict";c.d(W,"g",function(){return q}),c.d(W,"c",function(){return J}),c.d(W,"k",function(){return U}),c.d(W,"m",function(){return V}),c.d(W,"i",function(){return j}),c.d(W,"a",function(){return A}),c.d(W,"e",function(){return P}),c.d(W,"h",function(){return E}),c.d(W,"d",function(){return p}),c.d(W,"l",function(){return o}),c.d(W,"n",function(){return T}),c.d(W,"j",function(){return w}),c.d(W,"b",function(){return f}),c.d(W,"f",function(){return S});var C=c(1),I=c(3);function G(v){return Object(C.a)(function(m){m.setDate(m.getDate()-(m.getDay()+7-v)%7),m.setHours(0,0,0,0)},function(m,g){m.setDate(m.getDate()+7*g)},function(m,g){return(g-m-(g.getTimezoneOffset()-m.getTimezoneOffset())*I.c)/I.e})}var q=G(0),J=G(1),U=G(2),V=G(3),j=G(4),A=G(5),P=G(6),E=q.range,p=J.range,o=U.range,T=V.range,w=j.range,f=A.range,S=P.range},function(At,W,c){"use strict";c.d(W,"g",function(){return q}),c.d(W,"c",function(){return J}),c.d(W,"k",function(){return U}),c.d(W,"m",function(){return V}),c.d(W,"i",function(){return j}),c.d(W,"a",function(){return A}),c.d(W,"e",function(){return P}),c.d(W,"h",function(){return E}),c.d(W,"d",function(){return p}),c.d(W,"l",function(){return o}),c.d(W,"n",function(){return T}),c.d(W,"j",function(){return w}),c.d(W,"b",function(){return f}),c.d(W,"f",function(){return S});var C=c(1),I=c(3);function G(v){return Object(C.a)(function(m){m.setUTCDate(m.getUTCDate()-(m.getUTCDay()+7-v)%7),m.setUTCHours(0,0,0,0)},function(m,g){m.setUTCDate(m.getUTCDate()+7*g)},function(m,g){return(g-m)/I.e})}var q=G(0),J=G(1),U=G(2),V=G(3),j=G(4),A=G(5),P=G(6),E=q.range,p=J.range,o=U.range,T=V.range,w=j.range,f=A.range,S=P.range},function(At,W,c){"use strict";c.d(W,"a",function(){return I}),c.d(W,"d",function(){return G}),c.d(W,"c",function(){return q}),c.d(W,"e",function(){return v}),c.d(W,"h",function(){return x}),c.d(W,"g",function(){return R}),c.d(W,"b",function(){return y}),c.d(W,"f",function(){return u});var C=c(15);function I(){}var G=.7,q=1/G,J="\\s*([+-]?\\d+)\\s*",U="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",V="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",j=/^#([0-9a-f]{3,8})$/,A=new RegExp("^rgb\\("+[J,J,J]+"\\)$"),P=new RegExp("^rgb\\("+[V,V,V]+"\\)$"),E=new RegExp("^rgba\\("+[J,J,J,U]+"\\)$"),p=new RegExp("^rgba\\("+[V,V,V,U]+"\\)$"),o=new RegExp("^hsl\\("+[U,V,V]+"\\)$"),T=new RegExp("^hsla\\("+[U,V,V,U]+"\\)$"),w={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function f(){return this.rgb().formatHex()}function S(){return this.rgb().formatRgb()}function v(nt){var rt,it;return nt=(nt+"").trim().toLowerCase(),(rt=j.exec(nt))?(it=rt[1].length,rt=parseInt(rt[1],16),it===6?m(rt):it===3?new y(rt>>8&15|rt>>4&240,rt>>4&15|240&rt,(15&rt)<<4|15&rt,1):it===8?new y(rt>>24&255,rt>>16&255,rt>>8&255,(255&rt)/255):it===4?new y(rt>>12&15|rt>>8&240,rt>>8&15|rt>>4&240,rt>>4&15|240&rt,((15&rt)<<4|15&rt)/255):null):(rt=A.exec(nt))?new y(rt[1],rt[2],rt[3],1):(rt=P.exec(nt))?new y(255*rt[1]/100,255*rt[2]/100,255*rt[3]/100,1):(rt=E.exec(nt))?g(rt[1],rt[2],rt[3],rt[4]):(rt=p.exec(nt))?g(255*rt[1]/100,255*rt[2]/100,255*rt[3]/100,rt[4]):(rt=o.exec(nt))?O(rt[1],rt[2]/100,rt[3]/100,1):(rt=T.exec(nt))?O(rt[1],rt[2]/100,rt[3]/100,rt[4]):w.hasOwnProperty(nt)?m(w[nt]):nt==="transparent"?new y(NaN,NaN,NaN,0):null}function m(nt){return new y(nt>>16&255,nt>>8&255,255&nt,1)}function g(nt,rt,it,X){return X<=0&&(nt=rt=it=NaN),new y(nt,rt,it,X)}function x(nt){return nt instanceof I||(nt=v(nt)),nt?new y((nt=nt.rgb()).r,nt.g,nt.b,nt.opacity):new y}function R(nt,rt,it,X){return arguments.length===1?x(nt):new y(nt,rt,it,X==null?1:X)}function y(nt,rt,it,X){this.r=+nt,this.g=+rt,this.b=+it,this.opacity=+X}function b(){return"#"+l(this.r)+l(this.g)+l(this.b)}function s(){var nt=this.opacity;return((nt=isNaN(nt)?1:Math.max(0,Math.min(1,nt)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(nt===1?")":", "+nt+")")}function l(nt){return((nt=Math.max(0,Math.min(255,Math.round(nt)||0)))<16?"0":"")+nt.toString(16)}function O(nt,rt,it,X){return X<=0?nt=rt=it=NaN:it<=0||it>=1?nt=rt=NaN:rt<=0&&(nt=NaN),new _(nt,rt,it,X)}function D(nt){if(nt instanceof _)return new _(nt.h,nt.s,nt.l,nt.opacity);if(nt instanceof I||(nt=v(nt)),!nt)return new _;if(nt instanceof _)return nt;var rt=(nt=nt.rgb()).r/255,it=nt.g/255,X=nt.b/255,ct=Math.min(rt,it,X),B=Math.max(rt,it,X),F=NaN,ut=B-ct,ft=(B+ct)/2;return ut?(F=rt===B?(it-X)/ut+6*(it0&&ft<1?0:F,new _(F,ut,ft,nt.opacity)}function u(nt,rt,it,X){return arguments.length===1?D(nt):new _(nt,rt,it,X==null?1:X)}function _(nt,rt,it,X){this.h=+nt,this.s=+rt,this.l=+it,this.opacity=+X}function L(nt,rt,it){return 255*(nt<60?rt+(it-rt)*nt/60:nt<180?it:nt<240?rt+(it-rt)*(240-nt)/60:rt)}Object(C.a)(I,v,{copy:function(nt){return Object.assign(new this.constructor,this,nt)},displayable:function(){return this.rgb().displayable()},hex:f,formatHex:f,formatHsl:function(){return D(this).formatHsl()},formatRgb:S,toString:S}),Object(C.a)(y,R,Object(C.b)(I,{brighter:function(nt){return nt=nt==null?q:Math.pow(q,nt),new y(this.r*nt,this.g*nt,this.b*nt,this.opacity)},darker:function(nt){return nt=nt==null?G:Math.pow(G,nt),new y(this.r*nt,this.g*nt,this.b*nt,this.opacity)},rgb:function(){return this},displayable:function(){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:b,formatHex:b,formatRgb:s,toString:s})),Object(C.a)(_,u,Object(C.b)(I,{brighter:function(nt){return nt=nt==null?q:Math.pow(q,nt),new _(this.h,this.s,this.l*nt,this.opacity)},darker:function(nt){return nt=nt==null?G:Math.pow(G,nt),new _(this.h,this.s,this.l*nt,this.opacity)},rgb:function(){var nt=this.h%360+360*(this.h<0),rt=isNaN(nt)||isNaN(this.s)?0:this.s,it=this.l,X=it+(it<.5?it:1-it)*rt,ct=2*it-X;return new y(L(nt>=240?nt-240:nt+120,ct,X),L(nt,ct,X),L(nt<120?nt+240:nt-120,ct,X),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var nt=this.opacity;return((nt=isNaN(nt)?1:Math.max(0,Math.min(1,nt)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(nt===1?")":", "+nt+")")}}))},function(At,W,c){"use strict";c.r(W);var C,I,G=c(23),q=c(79),J=0,U=0,V=0,j=0,A=0,P=0,E=typeof performance=="object"&&performance.now?performance:Date,p=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(Lt){setTimeout(Lt,17)};function o(){return A||(p(T),A=E.now()+P)}function T(){A=0}function w(){this._call=this._time=this._next=null}function f(Lt,jt,Ut){var Ft=new w;return Ft.restart(Lt,jt,Ut),Ft}function S(){A=(j=E.now())+P,J=U=0;try{(function(){o(),++J;for(var Lt,jt=C;jt;)(Lt=A-jt._time)>=0&&jt._call.call(null,Lt),jt=jt._next;--J})()}finally{J=0,function(){for(var Lt,jt,Ut=C,Ft=1/0;Ut;)Ut._call?(Ft>Ut._time&&(Ft=Ut._time),Lt=Ut,Ut=Ut._next):(jt=Ut._next,Ut._next=null,Ut=Lt?Lt._next=jt:C=jt);I=Lt,m(Ft)}(),A=0}}function v(){var Lt=E.now(),jt=Lt-j;jt>1e3&&(P-=jt,j=Lt)}function m(Lt){J||(U&&(U=clearTimeout(U)),Lt-A>24?(Lt<1/0&&(U=setTimeout(S,Lt-E.now()-P)),V&&(V=clearInterval(V))):(V||(j=E.now(),V=setInterval(v,1e3)),J=1,p(S)))}w.prototype=f.prototype={constructor:w,restart:function(Lt,jt,Ut){if(typeof Lt!="function")throw new TypeError("callback is not a function");Ut=(Ut==null?o():+Ut)+(jt==null?0:+jt),this._next||I===this||(I?I._next=this:C=this,I=this),this._call=Lt,this._time=Ut,m()},stop:function(){this._call&&(this._call=null,this._time=1/0,m())}};var g=function(Lt,jt,Ut){var Ft=new w;return jt=jt==null?0:+jt,Ft.restart(function(oe){Ft.stop(),Lt(oe+jt)},jt,Ut),Ft},x=Object(q.a)("start","end","cancel","interrupt"),R=[],y=function(Lt,jt,Ut,Ft,oe,xe){var fe=Lt.__transition;if(fe){if(Ut in fe)return}else Lt.__transition={};(function($e,cn,xn){var Wn,fn=$e.__transition;function Mn(me){var Le,Ue,pe,Pe;if(xn.state!==1)return Sr();for(Le in fn)if((Pe=fn[Le]).name===xn.name){if(Pe.state===3)return g(Mn);Pe.state===4?(Pe.state=6,Pe.timer.stop(),Pe.on.call("interrupt",$e,$e.__data__,Pe.index,Pe.group),delete fn[Le]):+Le0)throw new Error("too late; already scheduled");return Ut}function s(Lt,jt){var Ut=l(Lt,jt);if(Ut.state>3)throw new Error("too late; already running");return Ut}function l(Lt,jt){var Ut=Lt.__transition;if(!Ut||!(Ut=Ut[jt]))throw new Error("transition not found");return Ut}var O=function(Lt,jt){var Ut,Ft,oe,xe=Lt.__transition,fe=!0;if(xe){for(oe in jt=jt==null?null:jt+"",xe)(Ut=xe[oe]).name===jt?(Ft=Ut.state>2&&Ut.state<5,Ut.state=6,Ut.timer.stop(),Ut.on.call(Ft?"interrupt":"cancel",Lt,Lt.__data__,Ut.index,Ut.group),delete xe[oe]):fe=!1;fe&&delete Lt.__transition}},D=c(77),u=c(44);function _(Lt,jt){var Ut,Ft;return function(){var oe=s(this,Lt),xe=oe.tween;if(xe!==Ut){for(var fe=0,$e=(Ft=Ut=xe).length;fe<$e;++fe)if(Ft[fe].name===jt){(Ft=Ft.slice()).splice(fe,1);break}}oe.tween=Ft}}function L(Lt,jt,Ut){var Ft,oe;if(typeof Ut!="function")throw new Error;return function(){var xe=s(this,Lt),fe=xe.tween;if(fe!==Ft){oe=(Ft=fe).slice();for(var $e={name:jt,value:Ut},cn=0,xn=oe.length;cn=0&&($e=$e.slice(0,cn)),!$e||$e==="start"})}(jt)?b:s;return function(){var fe=xe(this,Lt),$e=fe.on;$e!==Ft&&(oe=(Ft=$e).copy()).on(jt,Ut),fe.on=oe}}var Pt=c(43),Mt=c(65),mt=G.b.prototype.constructor,Ot=c(67);function Yt(Lt){return function(){this.style.removeProperty(Lt)}}function $t(Lt,jt,Ut){return function(Ft){this.style.setProperty(Lt,jt.call(this,Ft),Ut)}}function ae(Lt,jt,Ut){var Ft,oe;function xe(){var fe=jt.apply(this,arguments);return fe!==oe&&(Ft=(oe=fe)&&$t(Lt,fe,Ut)),Ft}return xe._value=jt,xe}function le(Lt){return function(jt){this.textContent=Lt.call(this,jt)}}function Oe(Lt){var jt,Ut;function Ft(){var oe=Lt.apply(this,arguments);return oe!==Ut&&(jt=(Ut=oe)&&le(oe)),jt}return Ft._value=Lt,Ft}var Ve=0;function rn(Lt,jt,Ut,Ft){this._groups=Lt,this._parents=jt,this._name=Ut,this._id=Ft}function ln(Lt){return Object(G.b)().transition(Lt)}function nn(){return++Ve}var bn=G.b.prototype;rn.prototype=ln.prototype={constructor:rn,select:function(Lt){var jt=this._name,Ut=this._id;typeof Lt!="function"&&(Lt=Object(Pt.a)(Lt));for(var Ft=this._groups,oe=Ft.length,xe=new Array(oe),fe=0;fe1&&Ut.name===jt)return new rn([[Lt]],ie,jt,+Ft)}return null};c.d(W,"transition",function(){return ln}),c.d(W,"active",function(){return ne}),c.d(W,"interrupt",function(){return O})},function(At,W,c){"use strict";c.r(W);var C=c(56);c.d(W,"formatDefaultLocale",function(){return C.a}),c.d(W,"format",function(){return C.b}),c.d(W,"formatPrefix",function(){return C.c});var I=c(68);c.d(W,"formatLocale",function(){return I.a});var G=c(40);c.d(W,"formatSpecifier",function(){return G.b}),c.d(W,"FormatSpecifier",function(){return G.a});var q=c(80);c.d(W,"precisionFixed",function(){return q.a});var J=c(81);c.d(W,"precisionPrefix",function(){return J.a});var U=c(82);c.d(W,"precisionRound",function(){return U.a})},function(At,W,c){"use strict";var C;(C=function(){return{colorSchemas:{britecharts:["#6aedc7","#39c2c9","#ffce00","#ffa71a","#f866b9","#998ce3"],grey:["#F8F8FA","#EFF2F5","#D2D6DF","#C3C6CF","#ADB0B6","#666A73","#45494E","#363A43","#282C35"],orange:["#fcc870","#ffa71a","#fb8825","#f6682f","#db5a2c","#bf4c28","#a43b1c","#892a10","#f9e9c5"],blueGreen:["#ccf7f6","#70e4e0","#00d8d2","#00acaf","#007f8c","#005e66","#003c3f","#002d2f","#0d2223"],teal:["#ccfffe","#94f7f4","#00fff8","#1de1e1","#39c2c9","#2e9a9d","#227270","#1a5957","#133f3e"],green:["#edfff7","#d7ffef","#c0ffe7","#95f5d7","#6aedc7","#59c3a3","#479980","#34816a","#206953"],yellow:["#f9f2b3","#fbe986","#fce05a","#fed72d","#ffce00","#fcc11c","#f9b438","#eda629","#e09819"],pink:["#fdd1ea","#fb9cd2","#f866b9","#fc40b6","#ff1ab3","#e3239d","#c62c86","#a62073","#85135f"],purple:["#ddd6fc","#bbb1f0","#998ce3","#8e6bc1","#824a9e","#77337f","#6b1c60","#591650","#470f3f"],red:["#ffd8d4","#ffb5b0","#ff938c","#ff766c","#ff584c","#f04b42","#e03d38","#be2e29","#9c1e19"]},colorSchemasHuman:{britecharts:"Britecharts Default",grey:"Britecharts Grey",orange:"Orange",blueGreen:"Blue",teal:"Light Blue",green:"Green",yellow:"Yellow",pink:"Pink",purple:"Purple",red:"Red"},colorGradients:{greenBlue:["#39C7EA","#4CDCBA"],orangePink:["#FBC670","#F766B8"],bluePurple:["#3DC3C9","#824a9e"]},colorGradientsHuman:{greenBlue:"Green to Blue",orangePink:"Orange to Pink",bluePurple:"Blue to Purple"},singleColors:{aloeGreen:["#7bdcc0"],greenColor:["#6aedc7"],blueColor:["#39c2c9"],yellowColor:["#ffce00"],orangeColor:["#ffa71a"],pinkColor:["#f866b9"],purpleColor:["#998ce3"]},singleColorsHuman:{aloeGreen:"Aloe Green",greenColor:"Green",blueColor:"Blue",yellowColor:"Yellow",orangeColor:"Orange",pinkColor:"Pink",purpleColor:"Purple"}}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";function C(L){return+L}function I(L){return L*L}function G(L){return L*(2-L)}function q(L){return((L*=2)<=1?L*L:--L*(2-L)+1)/2}c.r(W);var J=c(49),U=function L(nt){function rt(it){return Math.pow(it,nt)}return nt=+nt,rt.exponent=L,rt}(3),V=function L(nt){function rt(it){return 1-Math.pow(1-it,nt)}return nt=+nt,rt.exponent=L,rt}(3),j=function L(nt){function rt(it){return((it*=2)<=1?Math.pow(it,nt):2-Math.pow(2-it,nt))/2}return nt=+nt,rt.exponent=L,rt}(3),A=Math.PI,P=A/2;function E(L){return 1-Math.cos(L*P)}function p(L){return Math.sin(L*P)}function o(L){return(1-Math.cos(A*L))/2}function T(L){return Math.pow(2,10*L-10)}function w(L){return 1-Math.pow(2,-10*L)}function f(L){return((L*=2)<=1?Math.pow(2,10*L-10):2-Math.pow(2,10-10*L))/2}function S(L){return 1-Math.sqrt(1-L*L)}function v(L){return Math.sqrt(1- --L*L)}function m(L){return((L*=2)<=1?1-Math.sqrt(1-L*L):Math.sqrt(1-(L-=2)*L)+1)/2}var g=7.5625;function x(L){return 1-R(1-L)}function R(L){return(L=+L)<.36363636363636365?g*L*L:L<.7272727272727273?g*(L-=.5454545454545454)*L+.75:L<.9090909090909091?g*(L-=.8181818181818182)*L+.9375:g*(L-=.9545454545454546)*L+.984375}function y(L){return((L*=2)<=1?1-R(1-L):R(L-1)+1)/2}var b=function L(nt){function rt(it){return it*it*((nt+1)*it-nt)}return nt=+nt,rt.overshoot=L,rt}(1.70158),s=function L(nt){function rt(it){return--it*it*((nt+1)*it+nt)+1}return nt=+nt,rt.overshoot=L,rt}(1.70158),l=function L(nt){function rt(it){return((it*=2)<1?it*it*((nt+1)*it-nt):(it-=2)*it*((nt+1)*it+nt)+2)/2}return nt=+nt,rt.overshoot=L,rt}(1.70158),O=2*Math.PI,D=function L(nt,rt){var it=Math.asin(1/(nt=Math.max(1,nt)))*(rt/=O);function X(ct){return nt*Math.pow(2,10*--ct)*Math.sin((it-ct)/rt)}return X.amplitude=function(ct){return L(ct,rt*O)},X.period=function(ct){return L(nt,ct)},X}(1,.3),u=function L(nt,rt){var it=Math.asin(1/(nt=Math.max(1,nt)))*(rt/=O);function X(ct){return 1-nt*Math.pow(2,-10*(ct=+ct))*Math.sin((ct+it)/rt)}return X.amplitude=function(ct){return L(ct,rt*O)},X.period=function(ct){return L(nt,ct)},X}(1,.3),_=function L(nt,rt){var it=Math.asin(1/(nt=Math.max(1,nt)))*(rt/=O);function X(ct){return((ct=2*ct-1)<0?nt*Math.pow(2,10*ct)*Math.sin((it-ct)/rt):2-nt*Math.pow(2,-10*ct)*Math.sin((it+ct)/rt))/2}return X.amplitude=function(ct){return L(ct,rt*O)},X.period=function(ct){return L(nt,ct)},X}(1,.3);c.d(W,"easeLinear",function(){return C}),c.d(W,"easeQuad",function(){return q}),c.d(W,"easeQuadIn",function(){return I}),c.d(W,"easeQuadOut",function(){return G}),c.d(W,"easeQuadInOut",function(){return q}),c.d(W,"easeCubic",function(){return J.b}),c.d(W,"easeCubicIn",function(){return J.a}),c.d(W,"easeCubicOut",function(){return J.c}),c.d(W,"easeCubicInOut",function(){return J.b}),c.d(W,"easePoly",function(){return j}),c.d(W,"easePolyIn",function(){return U}),c.d(W,"easePolyOut",function(){return V}),c.d(W,"easePolyInOut",function(){return j}),c.d(W,"easeSin",function(){return o}),c.d(W,"easeSinIn",function(){return E}),c.d(W,"easeSinOut",function(){return p}),c.d(W,"easeSinInOut",function(){return o}),c.d(W,"easeExp",function(){return f}),c.d(W,"easeExpIn",function(){return T}),c.d(W,"easeExpOut",function(){return w}),c.d(W,"easeExpInOut",function(){return f}),c.d(W,"easeCircle",function(){return m}),c.d(W,"easeCircleIn",function(){return S}),c.d(W,"easeCircleOut",function(){return v}),c.d(W,"easeCircleInOut",function(){return m}),c.d(W,"easeBounce",function(){return R}),c.d(W,"easeBounceIn",function(){return x}),c.d(W,"easeBounceOut",function(){return R}),c.d(W,"easeBounceInOut",function(){return y}),c.d(W,"easeBack",function(){return l}),c.d(W,"easeBackIn",function(){return b}),c.d(W,"easeBackOut",function(){return s}),c.d(W,"easeBackInOut",function(){return l}),c.d(W,"easeElastic",function(){return u}),c.d(W,"easeElasticIn",function(){return D}),c.d(W,"easeElasticOut",function(){return u}),c.d(W,"easeElasticInOut",function(){return _})},function(At,W,c){"use strict";c.r(W);var C=c(0);function I(pe,Pe){switch(arguments.length){case 0:break;case 1:this.range(pe);break;default:this.range(Pe).domain(pe)}return this}function G(pe,Pe){switch(arguments.length){case 0:break;case 1:this.interpolator(pe);break;default:this.interpolator(Pe).domain(pe)}return this}var q=c(25),J=Array.prototype,U=J.map,V=J.slice,j={name:"implicit"};function A(){var pe=Object(q.map)(),Pe=[],Ie=[],Te=j;function ke(Ke){var wn=Ke+"",be=pe.get(wn);if(!be){if(Te!==j)return Te;pe.set(wn,be=Pe.push(Ke))}return Ie[(be-1)%Ie.length]}return ke.domain=function(Ke){if(!arguments.length)return Pe.slice();Pe=[],pe=Object(q.map)();for(var wn,be,Qe=-1,gn=Ke.length;++QeTe&&(Pe=Ie,Ie=Te,Te=Pe),function(ke){return Math.max(Ie,Math.min(Te,ke))}}function x(pe,Pe,Ie){var Te=pe[0],ke=pe[1],Ke=Pe[0],wn=Pe[1];return ke2?R:x,ke=Ke=null,yn}function yn(Je){return isNaN(Je=+Je)?Ie:(ke||(ke=Te(wn.map(pe),be,Qe)))(pe(gn(Je)))}return yn.invert=function(Je){return gn(Pe((Ke||(Ke=Te(be,wn.map(pe),T.a)))(Je)))},yn.domain=function(Je){return arguments.length?(wn=U.call(Je,f),gn===v||(gn=g(wn)),Se()):wn.slice()},yn.range=function(Je){return arguments.length?(be=V.call(Je),Se()):be.slice()},yn.rangeRound=function(Je){return be=V.call(Je),Qe=w.a,Se()},yn.clamp=function(Je){return arguments.length?(gn=Je?g(wn):v,yn):gn!==v},yn.interpolate=function(Je){return arguments.length?(Qe=Je,Se()):Qe},yn.unknown=function(Je){return arguments.length?(Ie=Je,yn):Ie},function(Je,hn){return pe=Je,Pe=hn,Se()}}function s(pe,Pe){return b()(pe,Pe)}var l=c(40),O=c(81),D=c(56),u=c(82),_=c(80),L=function(pe,Pe,Ie,Te){var ke,Ke=Object(C.tickStep)(pe,Pe,Ie);switch((Te=Object(l.b)(Te==null?",f":Te)).type){case"s":var wn=Math.max(Math.abs(pe),Math.abs(Pe));return Te.precision!=null||isNaN(ke=Object(O.a)(Ke,wn))||(Te.precision=ke),Object(D.c)(Te,wn);case"":case"e":case"g":case"p":case"r":Te.precision!=null||isNaN(ke=Object(u.a)(Ke,Math.max(Math.abs(pe),Math.abs(Pe))))||(Te.precision=ke-(Te.type==="e"));break;case"f":case"%":Te.precision!=null||isNaN(ke=Object(_.a)(Ke))||(Te.precision=ke-2*(Te.type==="%"))}return Object(D.b)(Te)};function nt(pe){var Pe=pe.domain;return pe.ticks=function(Ie){var Te=Pe();return Object(C.ticks)(Te[0],Te[Te.length-1],Ie==null?10:Ie)},pe.tickFormat=function(Ie,Te){var ke=Pe();return L(ke[0],ke[ke.length-1],Ie==null?10:Ie,Te)},pe.nice=function(Ie){Ie==null&&(Ie=10);var Te,ke=Pe(),Ke=0,wn=ke.length-1,be=ke[Ke],Qe=ke[wn];return Qe0?(be=Math.floor(be/Te)*Te,Qe=Math.ceil(Qe/Te)*Te,Te=Object(C.tickIncrement)(be,Qe,Ie)):Te<0&&(be=Math.ceil(be*Te)/Te,Qe=Math.floor(Qe*Te)/Te,Te=Object(C.tickIncrement)(be,Qe,Ie)),Te>0?(ke[Ke]=Math.floor(be/Te)*Te,ke[wn]=Math.ceil(Qe/Te)*Te,Pe(ke)):Te<0&&(ke[Ke]=Math.ceil(be*Te)/Te,ke[wn]=Math.floor(Qe*Te)/Te,Pe(ke)),pe},pe}function rt(){var pe=s(v,v);return pe.copy=function(){return y(pe,rt())},I.apply(pe,arguments),nt(pe)}function it(pe){var Pe;function Ie(Te){return isNaN(Te=+Te)?Pe:Te}return Ie.invert=Ie,Ie.domain=Ie.range=function(Te){return arguments.length?(pe=U.call(Te,f),Ie):pe.slice()},Ie.unknown=function(Te){return arguments.length?(Pe=Te,Ie):Pe},Ie.copy=function(){return it(pe).unknown(Pe)},pe=arguments.length?U.call(pe,f):[0,1],nt(Ie)}var X=function(pe,Pe){var Ie,Te=0,ke=(pe=pe.slice()).length-1,Ke=pe[Te],wn=pe[ke];return wn0){for(;pnyn)break;dr.push(mn)}}else for(;pn=1;--hn)if(!((mn=Je*hn)yn)break;dr.push(mn)}}else dr=Object(C.ticks)(pn,Zn,Math.min(Zn-pn,or)).map(Ie);return Qe?dr.reverse():dr},Te.tickFormat=function(be,Qe){if(Qe==null&&(Qe=Ke===10?".0e":","),typeof Qe!="function"&&(Qe=Object(D.b)(Qe)),be===1/0)return Qe;be==null&&(be=10);var gn=Math.max(1,Ke*be/Te.ticks().length);return function(Se){var yn=Se/Ie(Math.round(Pe(Se)));return yn*Ke0?Te[be-1]:Pe[0],be=Te?[ke[Te-1],Ie]:[ke[gn-1],ke[gn]]},wn.unknown=function(Qe){return arguments.length&&(pe=Qe),wn},wn.thresholds=function(){return ke.slice()},wn.copy=function(){return Pt().domain([Pe,Ie]).range(Ke).unknown(pe)},I.apply(nt(wn),arguments)}function Mt(){var pe,Pe=[.5],Ie=[0,1],Te=1;function ke(Ke){return Ke<=Ke?Ie[Object(C.bisect)(Pe,Ke,0,Te)]:pe}return ke.domain=function(Ke){return arguments.length?(Pe=V.call(Ke),Te=Math.min(Pe.length,Ie.length-1),ke):Pe.slice()},ke.range=function(Ke){return arguments.length?(Ie=V.call(Ke),Te=Math.min(Pe.length,Ie.length-1),ke):Ie.slice()},ke.invertExtent=function(Ke){var wn=Ie.indexOf(Ke);return[Pe[wn-1],Pe[wn]]},ke.unknown=function(Ke){return arguments.length?(pe=Ke,ke):pe},ke.copy=function(){return Mt().domain(Pe).range(Ie).unknown(pe)},I.apply(ke,arguments)}var mt=c(33),Ot=c(69),Yt=c(5),$t=c(53),ae=c(70),le=c(71),Oe=c(51),Ve=c(52),rn=c(21);function ln(pe){return new Date(pe)}function nn(pe){return pe instanceof Date?+pe:+new Date(+pe)}function bn(pe,Pe,Ie,Te,ke,Ke,wn,be,Qe){var gn=s(v,v),Se=gn.invert,yn=gn.domain,Je=Qe(".%L"),hn=Qe(":%S"),mn=Qe("%I:%M"),pn=Qe("%I %p"),Zn=Qe("%a %d"),or=Qe("%b %d"),dr=Qe("%B"),mr=Qe("%Y"),Jn=[[wn,1,1e3],[wn,5,5e3],[wn,15,15e3],[wn,30,3e4],[Ke,1,6e4],[Ke,5,3e5],[Ke,15,9e5],[Ke,30,18e5],[ke,1,36e5],[ke,3,108e5],[ke,6,216e5],[ke,12,432e5],[Te,1,864e5],[Te,2,1728e5],[Ie,1,6048e5],[Pe,1,2592e6],[Pe,3,7776e6],[pe,1,31536e6]];function Dr(ar){return(wn(ar)svg{background:"+this.chartBackground+";padding: 20px;}"}};function j(o,T){if(o){o.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg");var w=J.initializeSerializer()(o.node());return w=function(f){return navigator.userAgent.search("FireFox")>-1?f.replace(/url.*"\)/,'url("linearGradient[id*="-gradient-"]");'):f}(w),w=function(f){return f.replace(">",">"+V.styleBackgroundString)}(w=p.call(this,w,T,parseInt(o.attr("width"),10)))}}function A(o){var T=new Image;return T.src=""+V.imageSourceBase+U(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,function(w,f){return String.fromCharCode("0x"+f)})),T}function P(o,T){return T.getContext("2d").drawImage(o,0,0),T}function E(o,T,w){w.preventDefault(),function(f){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.defaultFilename,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"image/png",m=f.toDataURL(v),g=document.createElement("a");g.href=m,g.download=S,document.body.appendChild(g),g.click(),document.body.removeChild(g)}(P(this,o),T)}function p(o,T,w){if(!T||!w)return o;var f=q.grey;return o=o.replace(/ '+T+" @@ -159,9 +159,9 @@ var BV=Object.defineProperty,jV=Object.defineProperties;var zV=Object.getOwnProp - `}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";u.r(W);var T=Array.prototype.slice,I=function(o){return o};function Y(o){return"translate("+(o+.5)+",0)"}function X(o){return"translate(0,"+(o+.5)+")"}function Z(o){return function(k){return+o(k)}}function H(o){var k=Math.max(0,o.bandwidth()-1)/2;return o.round()&&(k=Math.round(k)),function(S){return+o(S)+k}}function _(){return!this.__axis}function j(o,k){var S=[],h=null,w=null,b=6,g=6,p=3,y=o===1||o===4?-1:1,P=o===4||o===2?"x":"y",m=o===1||o===3?Y:X;function x(l){var s=h==null?k.ticks?k.ticks.apply(k,S):k.domain():h,N=w==null?k.tickFormat?k.tickFormat.apply(k,S):I:w,R=Math.max(b,0)+p,c=k.range(),E=+c[0]+.5,L=+c[c.length-1]+.5,et=(k.bandwidth?H:Z)(k.copy()),nt=l.selection?l.selection():l,rt=nt.selectAll(".domain").data([null]),G=nt.selectAll(".tick").data(s,k).order(),ut=G.exit(),F=G.enter().append("g").attr("class","tick"),B=G.select("line"),st=G.select("text");rt=rt.merge(rt.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),G=G.merge(F),B=B.merge(F.append("line").attr("stroke","currentColor").attr(P+"2",y*b)),st=st.merge(F.append("text").attr("fill","currentColor").attr(P,y*R).attr("dy",o===1?"0em":o===3?"0.71em":"0.32em")),l!==nt&&(rt=rt.transition(l),G=G.transition(l),B=B.transition(l),st=st.transition(l),ut=ut.transition(l).attr("opacity",1e-6).attr("transform",function(ht){return isFinite(ht=et(ht))?m(ht):this.getAttribute("transform")}),F.attr("opacity",1e-6).attr("transform",function(ht){var tt=this.parentNode.__axis;return m(tt&&isFinite(tt=tt(ht))?tt:et(ht))})),ut.remove(),rt.attr("d",o===4||o==2?g?"M"+y*g+","+E+"H0.5V"+L+"H"+y*g:"M0.5,"+E+"V"+L:g?"M"+E+","+y*g+"V0.5H"+L+"V"+y*g:"M"+E+",0.5H"+L),G.attr("opacity",1).attr("transform",function(ht){return m(et(ht))}),B.attr(P+"2",y*b),st.attr(P,y*R).text(N),nt.filter(_).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",o===2?"start":o===4?"end":"middle"),nt.each(function(){this.__axis=et})}return x.scale=function(l){return arguments.length?(k=l,x):k},x.ticks=function(){return S=T.call(arguments),x},x.tickArguments=function(l){return arguments.length?(S=l==null?[]:T.call(l),x):S.slice()},x.tickValues=function(l){return arguments.length?(h=l==null?null:T.call(l),x):h&&h.slice()},x.tickFormat=function(l){return arguments.length?(w=l,x):w},x.tickSize=function(l){return arguments.length?(b=g=+l,x):b},x.tickSizeInner=function(l){return arguments.length?(b=+l,x):b},x.tickSizeOuter=function(l){return arguments.length?(g=+l,x):g},x.tickPadding=function(l){return arguments.length?(p=+l,x):p},x}function A(o){return j(1,o)}function D(o){return j(2,o)}function C(o){return j(3,o)}function d(o){return j(4,o)}u.d(W,"axisTop",function(){return A}),u.d(W,"axisRight",function(){return D}),u.d(W,"axisBottom",function(){return C}),u.d(W,"axisLeft",function(){return d})},function(Mt,W,u){"use strict";u.r(W);var T=u(41),I=u(61),Y=u(42),X=u(58),Z=u(60),H=function(rt){var G=rt.length;return function(ut){return rt[Math.max(0,Math.min(G-1,Math.floor(ut*G)))]}},_=u(4),j=function(rt,G){var ut=Object(_.c)(+rt,+G);return function(F){var B=ut(F);return B-360*Math.floor(B/360)}},A=u(14),D=u(31),C=u(62),d=u(83),o=u(59),k=u(77),S=Math.SQRT2;function h(rt){return((rt=Math.exp(rt))+1/rt)/2}var w=function(rt,G){var ut,F,B=rt[0],st=rt[1],ht=rt[2],tt=G[0],ct=G[1],U=G[2],J=tt-B,K=ct-st,q=J*J+K*K;if(q<1e-12)F=Math.log(U/ht)/S,ut=function(Nt){return[B+Nt*J,st+Nt*K,ht*Math.exp(S*Nt*F)]};else{var at=Math.sqrt(q),bt=(U*U-ht*ht+4*q)/(2*ht*2*at),mt=(U*U-ht*ht-4*q)/(2*U*2*at),Ct=Math.log(Math.sqrt(bt*bt+1)-bt),vt=Math.log(Math.sqrt(mt*mt+1)-mt);F=(vt-Ct)/S,ut=function(Nt){var Ft,Ot=Nt*F,At=h(Ct),St=ht/(2*at)*(At*(Ft=S*Ot+Ct,((Ft=Math.exp(2*Ft))-1)/(Ft+1))-function(pt){return((pt=Math.exp(pt))-1/pt)/2}(Ct));return[B+St*J,st+St*K,ht*At/h(S*Ot+Ct)]}}return ut.duration=1e3*F,ut},b=u(36),g=u(7);function p(rt){return function(G,ut){var F=rt((G=Object(g.f)(G)).h,(ut=Object(g.f)(ut)).h),B=Object(_.a)(G.s,ut.s),st=Object(_.a)(G.l,ut.l),ht=Object(_.a)(G.opacity,ut.opacity);return function(tt){return G.h=F(tt),G.s=B(tt),G.l=st(tt),G.opacity=ht(tt),G+""}}}var y=p(_.c),P=p(_.a),m=u(50);function x(rt,G){var ut=Object(_.a)((rt=Object(m.a)(rt)).l,(G=Object(m.a)(G)).l),F=Object(_.a)(rt.a,G.a),B=Object(_.a)(rt.b,G.b),st=Object(_.a)(rt.opacity,G.opacity);return function(ht){return rt.l=ut(ht),rt.a=F(ht),rt.b=B(ht),rt.opacity=st(ht),rt+""}}function l(rt){return function(G,ut){var F=rt((G=Object(m.c)(G)).h,(ut=Object(m.c)(ut)).h),B=Object(_.a)(G.c,ut.c),st=Object(_.a)(G.l,ut.l),ht=Object(_.a)(G.opacity,ut.opacity);return function(tt){return G.h=F(tt),G.c=B(tt),G.l=st(tt),G.opacity=ht(tt),G+""}}}var s=l(_.c),N=l(_.a),R=u(78);function c(rt){return function G(ut){function F(B,st){var ht=rt((B=Object(R.a)(B)).h,(st=Object(R.a)(st)).h),tt=Object(_.a)(B.s,st.s),ct=Object(_.a)(B.l,st.l),U=Object(_.a)(B.opacity,st.opacity);return function(J){return B.h=ht(J),B.s=tt(J),B.l=ct(Math.pow(J,ut)),B.opacity=U(J),B+""}}return ut=+ut,F.gamma=G,F}(1)}var E=c(_.c),L=c(_.a);function et(rt,G){for(var ut=0,F=G.length-1,B=G[0],st=new Array(F<0?0:F);utCt?1:mt>=Ct?0:NaN}var A=u(44);function D(mt){return function(){this.removeAttribute(mt)}}function C(mt){return function(){this.removeAttributeNS(mt.space,mt.local)}}function d(mt,Ct){return function(){this.setAttribute(mt,Ct)}}function o(mt,Ct){return function(){this.setAttributeNS(mt.space,mt.local,Ct)}}function k(mt,Ct){return function(){var vt=Ct.apply(this,arguments);vt==null?this.removeAttribute(mt):this.setAttribute(mt,vt)}}function S(mt,Ct){return function(){var vt=Ct.apply(this,arguments);vt==null?this.removeAttributeNS(mt.space,mt.local):this.setAttributeNS(mt.space,mt.local,vt)}}var h=u(67);function w(mt){return function(){delete this[mt]}}function b(mt,Ct){return function(){this[mt]=Ct}}function g(mt,Ct){return function(){var vt=Ct.apply(this,arguments);vt==null?delete this[mt]:this[mt]=vt}}function p(mt){return mt.trim().split(/^|\s+/)}function y(mt){return mt.classList||new P(mt)}function P(mt){this._node=mt,this._names=p(mt.getAttribute("class")||"")}function m(mt,Ct){for(var vt=y(mt),Nt=-1,Ft=Ct.length;++Nt=0&&(this._names.splice(Ct,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(mt){return this._names.indexOf(mt)>=0}};function R(){this.textContent=""}function c(mt){return function(){this.textContent=mt}}function E(mt){return function(){var Ct=mt.apply(this,arguments);this.textContent=Ct==null?"":Ct}}function L(){this.innerHTML=""}function et(mt){return function(){this.innerHTML=mt}}function nt(mt){return function(){var Ct=mt.apply(this,arguments);this.innerHTML=Ct==null?"":Ct}}function rt(){this.nextSibling&&this.parentNode.appendChild(this)}function G(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var ut=u(29);function F(){return null}function B(){var mt=this.parentNode;mt&&mt.removeChild(this)}function st(){var mt=this.cloneNode(!1),Ct=this.parentNode;return Ct?Ct.insertBefore(mt,this.nextSibling):mt}function ht(){var mt=this.cloneNode(!0),Ct=this.parentNode;return Ct?Ct.insertBefore(mt,this.nextSibling):mt}var tt=u(37),ct=u(45);function U(mt,Ct,vt){var Nt=Object(ct.a)(mt),Ft=Nt.CustomEvent;typeof Ft=="function"?Ft=new Ft(Ct,vt):(Ft=Nt.document.createEvent("Event"),vt?(Ft.initEvent(Ct,vt.bubbles,vt.cancelable),Ft.detail=vt.detail):Ft.initEvent(Ct,!1,!1)),mt.dispatchEvent(Ft)}function J(mt,Ct){return function(){return U(this,mt,Ct)}}function K(mt,Ct){return function(){return U(this,mt,Ct.apply(this,arguments))}}u.d(W,"c",function(){return q}),u.d(W,"a",function(){return at});var q=[null];function at(mt,Ct){this._groups=mt,this._parents=Ct}function bt(){return new at([[document.documentElement]],q)}at.prototype=bt.prototype={constructor:at,select:function(mt){typeof mt!="function"&&(mt=Object(T.a)(mt));for(var Ct=this._groups,vt=Ct.length,Nt=new Array(vt),Ft=0;Ft=se&&(se=un+1);!(xn=an[se])&&++se=0;)(Nt=Ft[Ot])&&(At&&4^Nt.compareDocumentPosition(At)&&At.parentNode.insertBefore(Nt,At),At=Nt);return this},sort:function(mt){function Ct(Xt,ae){return Xt&&ae?mt(Xt.__data__,ae.__data__):!Xt-!ae}mt||(mt=j);for(var vt=this._groups,Nt=vt.length,Ft=new Array(Nt),Ot=0;Ot1?this.each((Ct==null?w:typeof Ct=="function"?g:b)(mt,Ct)):this.node()[mt]},classed:function(mt,Ct){var vt=p(mt+"");if(arguments.length<2){for(var Nt=y(this.node()),Ft=-1,Ot=vt.length;++Ft=g.length)return h!=null&&P.sort(h),w!=null?w(P):P;for(var s,N,R,c=-1,E=P.length,L=g[m++],et=Y(),nt=x();++cg.length)return x;var s,N=p[l-1];return w!=null&&l>=g.length?s=x.entries():(s=[],x.each(function(R,c){s.push({key:c,values:m(R,l)})})),N!=null?s.sort(function(R,c){return N(R.key,c.key)}):s}(y(P,0,_,j),0)},key:function(P){return g.push(P),b},sortKeys:function(P){return p[g.length-1]=P,b},sortValues:function(P){return h=P,b},rollup:function(P){return w=P,b}}};function Z(){return{}}function H(h,w,b){h[w]=b}function _(){return Y()}function j(h,w,b){h.set(w,b)}function A(){}var D=Y.prototype;function C(h,w){var b=new A;if(h instanceof A)h.each(function(y){b.add(y)});else if(h){var g=-1,p=h.length;if(w==null)for(;++g1&&arguments[1]!==void 0?arguments[1]:12,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Arial",o=document.createElement("canvas"),k=o.getContext("2d");return k.font=C+"px "+d,k.measureText(D).width},wrapText:function(D,C,d,o){var k=Y.select(o),S=k.text().split(/\s+/).reverse(),h=void 0,w=[],b=0,g=X*H,p=k.attr("y"),y=parseFloat(k.attr("dy")),P=C*_,m=k.text(null).append("tspan").attr("x",D).attr("y",p-5).attr("dy",y+"em").classed(j,!0).style("font-size",C+"px");for(m.text(S.pop()),m=k.append("tspan").classed(A,!0).attr("x",D).attr("y",p+Z).attr("dy",++b*g+y+"em").style("font-size",P+"px");h=S.pop();)w.push(h),m.text(w.join(" ")),m.node()&&m.node().getComputedTextLength()>d-50&&(w.pop(),m.text(w.join(" ")),w=[h],m=k.append("tspan").classed(A,!0).attr("x",D).attr("y",p+Z).attr("dy",++b*g+y+"em").text(h).style("font-size",P+"px"))},wrapTextWithEllipses:function(D,C){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,k=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1.2;D.each(function(){var S,h,w,b,g,p,y;for(S=(D=Y.select(this)).text().split(/\s+/).reverse(),w=[],b=0,g=D.attr("y"),p=parseFloat(D.attr("dy")),y=D.text(null).append("tspan").attr("x",d).attr("y",g).attr("dy",p+"em");h=S.pop();)if(w.push(h),y.text(w.join(" ")),y.node()&&y.node().getComputedTextLength()>C){if(w.pop(),y.text(w.join(" ")),!(b1e-6)if(Math.abs(Pn*Re-qe*wn)>1e-6&&ce){var hr=Jt-be,ar=ue-Ue,Wn=Re*Re+qe*qe,ir=hr*hr+ar*ar,Ar=Math.sqrt(Wn),xr=Math.sqrt(Gn),Lr=ce*Math.tan((T-Math.acos((Wn+Gn-ir)/(2*Ar*xr)))/2),qr=Lr/xr,oi=Lr/Ar;Math.abs(qr-1)>1e-6&&(this._+="L"+(_t+qr*wn)+","+(Ut+qr*Pn)),this._+="A"+ce+","+ce+",0,0,"+ +(Pn*hr>wn*ar)+","+(this._x1=_t+oi*Re)+","+(this._y1=Ut+oi*qe)}else this._+="L"+(this._x1=_t)+","+(this._y1=Ut)},arc:function(_t,Ut,Jt,ue,ce,be){_t=+_t,Ut=+Ut,be=!!be;var Ue=(Jt=+Jt)*Math.cos(ue),Re=Jt*Math.sin(ue),qe=_t+Ue,wn=Ut+Re,Pn=1^be,Gn=be?ue-ce:ce-ue;if(Jt<0)throw new Error("negative radius: "+Jt);this._x1===null?this._+="M"+qe+","+wn:(Math.abs(this._x1-qe)>1e-6||Math.abs(this._y1-wn)>1e-6)&&(this._+="L"+qe+","+wn),Jt&&(Gn<0&&(Gn=Gn%I+I),Gn>Y?this._+="A"+Jt+","+Jt+",0,1,"+Pn+","+(_t-Ue)+","+(Ut-Re)+"A"+Jt+","+Jt+",0,1,"+Pn+","+(this._x1=qe)+","+(this._y1=wn):Gn>1e-6&&(this._+="A"+Jt+","+Jt+",0,"+ +(Gn>=T)+","+Pn+","+(this._x1=_t+Jt*Math.cos(ce))+","+(this._y1=Ut+Jt*Math.sin(ce))))},rect:function(_t,Ut,Jt,ue){this._+="M"+(this._x0=this._x1=+_t)+","+(this._y0=this._y1=+Ut)+"h"+ +Jt+"v"+ +ue+"h"+-Jt+"Z"},toString:function(){return this._}};var H=Z,_=function(_t){return function(){return _t}},j=Math.abs,A=Math.atan2,D=Math.cos,C=Math.max,d=Math.min,o=Math.sin,k=Math.sqrt,S=Math.PI,h=S/2,w=2*S;function b(_t){return _t>1?0:_t<-1?S:Math.acos(_t)}function g(_t){return _t>=1?h:_t<=-1?-h:Math.asin(_t)}function p(_t){return _t.innerRadius}function y(_t){return _t.outerRadius}function P(_t){return _t.startAngle}function m(_t){return _t.endAngle}function x(_t){return _t&&_t.padAngle}function l(_t,Ut,Jt,ue,ce,be,Ue,Re){var qe=Jt-_t,wn=ue-Ut,Pn=Ue-ce,Gn=Re-be,hr=Gn*qe-Pn*wn;if(!(hr*hr<1e-12))return[_t+(hr=(Pn*(Ut-be)-Gn*(_t-ce))/hr)*qe,Ut+hr*wn]}function s(_t,Ut,Jt,ue,ce,be,Ue){var Re=_t-Jt,qe=Ut-ue,wn=(Ue?be:-be)/k(Re*Re+qe*qe),Pn=wn*qe,Gn=-wn*Re,hr=_t+Pn,ar=Ut+Gn,Wn=Jt+Pn,ir=ue+Gn,Ar=(hr+Wn)/2,xr=(ar+ir)/2,Lr=Wn-hr,qr=ir-ar,oi=Lr*Lr+qr*qr,wi=ce-be,ki=hr*ir-Wn*ar,ai=(qr<0?-1:1)*k(C(0,wi*wi*oi-ki*ki)),Oi=(ki*qr-Lr*ai)/oi,Ni=(-ki*Lr-qr*ai)/oi,_i=(ki*qr+Lr*ai)/oi,Pi=(-ki*Lr+qr*ai)/oi,ao=Oi-Ar,Ji=Ni-xr,Ao=_i-Ar,Co=Pi-xr;return ao*ao+Ji*Ji>Ao*Ao+Co*Co&&(Oi=_i,Ni=Pi),{cx:Oi,cy:Ni,x01:-Pn,y01:-Gn,x11:Oi*(ce/wi-1),y11:Ni*(ce/wi-1)}}var N=function(){var _t=p,Ut=y,Jt=_(0),ue=null,ce=P,be=m,Ue=x,Re=null;function qe(){var wn,Pn,Gn=+_t.apply(this,arguments),hr=+Ut.apply(this,arguments),ar=ce.apply(this,arguments)-h,Wn=be.apply(this,arguments)-h,ir=j(Wn-ar),Ar=Wn>ar;if(Re||(Re=wn=H()),hr1e-12)if(ir>w-1e-12)Re.moveTo(hr*D(ar),hr*o(ar)),Re.arc(0,0,hr,ar,Wn,!Ar),Gn>1e-12&&(Re.moveTo(Gn*D(Wn),Gn*o(Wn)),Re.arc(0,0,Gn,Wn,ar,Ar));else{var xr,Lr,qr=ar,oi=Wn,wi=ar,ki=Wn,ai=ir,Oi=ir,Ni=Ue.apply(this,arguments)/2,_i=Ni>1e-12&&(ue?+ue.apply(this,arguments):k(Gn*Gn+hr*hr)),Pi=d(j(hr-Gn)/2,+Jt.apply(this,arguments)),ao=Pi,Ji=Pi;if(_i>1e-12){var Ao=g(_i/Gn*o(Ni)),Co=g(_i/hr*o(Ni));(ai-=2*Ao)>1e-12?(wi+=Ao*=Ar?1:-1,ki-=Ao):(ai=0,wi=ki=(ar+Wn)/2),(Oi-=2*Co)>1e-12?(qr+=Co*=Ar?1:-1,oi-=Co):(Oi=0,qr=oi=(ar+Wn)/2)}var so=hr*D(qr),no=hr*o(qr),po=Gn*D(ki),Jo=Gn*o(ki);if(Pi>1e-12){var bo,ro=hr*D(oi),Yo=hr*o(oi),fa=Gn*D(wi),ta=Gn*o(wi);if(ir1e-12?Ji>1e-12?(xr=s(fa,ta,so,no,hr,Ji,Ar),Lr=s(ro,Yo,po,Jo,hr,Ji,Ar),Re.moveTo(xr.cx+xr.x01,xr.cy+xr.y01),Ji1e-12&&ai>1e-12?ao>1e-12?(xr=s(po,Jo,ro,Yo,Gn,-ao,Ar),Lr=s(so,no,fa,ta,Gn,-ao,Ar),Re.lineTo(xr.cx+xr.x01,xr.cy+xr.y01),ao=hr;--ar)Re.point(Lr[ar],qr[ar]);Re.lineEnd(),Re.areaEnd()}xr&&(Lr[Gn]=+_t(Wn,Gn,Pn),qr[Gn]=+Jt(Wn,Gn,Pn),Re.point(Ut?+Ut(Wn,Gn,Pn):Lr[Gn],ue?+ue(Wn,Gn,Pn):qr[Gn]))}if(ir)return Re=null,ir+""||null}function wn(){return et().defined(ce).curve(Ue).context(be)}return qe.x=function(Pn){return arguments.length?(_t=typeof Pn=="function"?Pn:_(+Pn),Ut=null,qe):_t},qe.x0=function(Pn){return arguments.length?(_t=typeof Pn=="function"?Pn:_(+Pn),qe):_t},qe.x1=function(Pn){return arguments.length?(Ut=Pn==null?null:typeof Pn=="function"?Pn:_(+Pn),qe):Ut},qe.y=function(Pn){return arguments.length?(Jt=typeof Pn=="function"?Pn:_(+Pn),ue=null,qe):Jt},qe.y0=function(Pn){return arguments.length?(Jt=typeof Pn=="function"?Pn:_(+Pn),qe):Jt},qe.y1=function(Pn){return arguments.length?(ue=Pn==null?null:typeof Pn=="function"?Pn:_(+Pn),qe):ue},qe.lineX0=qe.lineY0=function(){return wn().x(_t).y(Jt)},qe.lineY1=function(){return wn().x(_t).y(ue)},qe.lineX1=function(){return wn().x(Ut).y(Jt)},qe.defined=function(Pn){return arguments.length?(ce=typeof Pn=="function"?Pn:_(!!Pn),qe):ce},qe.curve=function(Pn){return arguments.length?(Ue=Pn,be!=null&&(Re=Ue(be)),qe):Ue},qe.context=function(Pn){return arguments.length?(Pn==null?be=Re=null:Re=Ue(be=Pn),qe):be},qe},rt=function(_t,Ut){return Ut<_t?-1:Ut>_t?1:Ut>=_t?0:NaN},G=function(_t){return _t},ut=function(){var _t=G,Ut=rt,Jt=null,ue=_(0),ce=_(w),be=_(0);function Ue(Re){var qe,wn,Pn,Gn,hr,ar=Re.length,Wn=0,ir=new Array(ar),Ar=new Array(ar),xr=+ue.apply(this,arguments),Lr=Math.min(w,Math.max(-w,ce.apply(this,arguments)-xr)),qr=Math.min(Math.abs(Lr)/ar,be.apply(this,arguments)),oi=qr*(Lr<0?-1:1);for(qe=0;qe0&&(Wn+=hr);for(Ut!=null?ir.sort(function(wi,ki){return Ut(Ar[wi],Ar[ki])}):Jt!=null&&ir.sort(function(wi,ki){return Jt(Re[wi],Re[ki])}),qe=0,Pn=Wn?(Lr-ar*oi)/Wn:0;qe0?hr*Pn:0)+oi,Ar[wn]={data:Re[wn],index:qe,value:hr,startAngle:xr,endAngle:Gn,padAngle:qr};return Ar}return Ue.value=function(Re){return arguments.length?(_t=typeof Re=="function"?Re:_(+Re),Ue):_t},Ue.sortValues=function(Re){return arguments.length?(Ut=Re,Jt=null,Ue):Ut},Ue.sort=function(Re){return arguments.length?(Jt=Re,Ut=null,Ue):Jt},Ue.startAngle=function(Re){return arguments.length?(ue=typeof Re=="function"?Re:_(+Re),Ue):ue},Ue.endAngle=function(Re){return arguments.length?(ce=typeof Re=="function"?Re:_(+Re),Ue):ce},Ue.padAngle=function(Re){return arguments.length?(be=typeof Re=="function"?Re:_(+Re),Ue):be},Ue},F=st(c);function B(_t){this._curve=_t}function st(_t){function Ut(Jt){return new B(_t(Jt))}return Ut._curve=_t,Ut}function ht(_t){var Ut=_t.curve;return _t.angle=_t.x,delete _t.x,_t.radius=_t.y,delete _t.y,_t.curve=function(Jt){return arguments.length?Ut(st(Jt)):Ut()._curve},_t}B.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(_t,Ut){this._curve.point(Ut*Math.sin(_t),Ut*-Math.cos(_t))}};var tt=function(){return ht(et().curve(F))},ct=function(){var _t=nt().curve(F),Ut=_t.curve,Jt=_t.lineX0,ue=_t.lineX1,ce=_t.lineY0,be=_t.lineY1;return _t.angle=_t.x,delete _t.x,_t.startAngle=_t.x0,delete _t.x0,_t.endAngle=_t.x1,delete _t.x1,_t.radius=_t.y,delete _t.y,_t.innerRadius=_t.y0,delete _t.y0,_t.outerRadius=_t.y1,delete _t.y1,_t.lineStartAngle=function(){return ht(Jt())},delete _t.lineX0,_t.lineEndAngle=function(){return ht(ue())},delete _t.lineX1,_t.lineInnerRadius=function(){return ht(ce())},delete _t.lineY0,_t.lineOuterRadius=function(){return ht(be())},delete _t.lineY1,_t.curve=function(Ue){return arguments.length?Ut(st(Ue)):Ut()._curve},_t},U=function(_t,Ut){return[(Ut=+Ut)*Math.cos(_t-=Math.PI/2),Ut*Math.sin(_t)]},J=Array.prototype.slice;function K(_t){return _t.source}function q(_t){return _t.target}function at(_t){var Ut=K,Jt=q,ue=E,ce=L,be=null;function Ue(){var Re,qe=J.call(arguments),wn=Ut.apply(this,qe),Pn=Jt.apply(this,qe);if(be||(be=Re=H()),_t(be,+ue.apply(this,(qe[0]=wn,qe)),+ce.apply(this,qe),+ue.apply(this,(qe[0]=Pn,qe)),+ce.apply(this,qe)),Re)return be=null,Re+""||null}return Ue.source=function(Re){return arguments.length?(Ut=Re,Ue):Ut},Ue.target=function(Re){return arguments.length?(Jt=Re,Ue):Jt},Ue.x=function(Re){return arguments.length?(ue=typeof Re=="function"?Re:_(+Re),Ue):ue},Ue.y=function(Re){return arguments.length?(ce=typeof Re=="function"?Re:_(+Re),Ue):ce},Ue.context=function(Re){return arguments.length?(be=Re==null?null:Re,Ue):be},Ue}function bt(_t,Ut,Jt,ue,ce){_t.moveTo(Ut,Jt),_t.bezierCurveTo(Ut=(Ut+ue)/2,Jt,Ut,ce,ue,ce)}function mt(_t,Ut,Jt,ue,ce){_t.moveTo(Ut,Jt),_t.bezierCurveTo(Ut,Jt=(Jt+ce)/2,ue,Jt,ue,ce)}function Ct(_t,Ut,Jt,ue,ce){var be=U(Ut,Jt),Ue=U(Ut,Jt=(Jt+ce)/2),Re=U(ue,Jt),qe=U(ue,ce);_t.moveTo(be[0],be[1]),_t.bezierCurveTo(Ue[0],Ue[1],Re[0],Re[1],qe[0],qe[1])}function vt(){return at(bt)}function Nt(){return at(mt)}function Ft(){var _t=at(Ct);return _t.angle=_t.x,delete _t.x,_t.radius=_t.y,delete _t.y,_t}var Ot={draw:function(_t,Ut){var Jt=Math.sqrt(Ut/S);_t.moveTo(Jt,0),_t.arc(0,0,Jt,0,w)}},At={draw:function(_t,Ut){var Jt=Math.sqrt(Ut/5)/2;_t.moveTo(-3*Jt,-Jt),_t.lineTo(-Jt,-Jt),_t.lineTo(-Jt,-3*Jt),_t.lineTo(Jt,-3*Jt),_t.lineTo(Jt,-Jt),_t.lineTo(3*Jt,-Jt),_t.lineTo(3*Jt,Jt),_t.lineTo(Jt,Jt),_t.lineTo(Jt,3*Jt),_t.lineTo(-Jt,3*Jt),_t.lineTo(-Jt,Jt),_t.lineTo(-3*Jt,Jt),_t.closePath()}},St=Math.sqrt(1/3),pt=2*St,Pt={draw:function(_t,Ut){var Jt=Math.sqrt(Ut/pt),ue=Jt*St;_t.moveTo(0,-Jt),_t.lineTo(ue,0),_t.lineTo(0,Jt),_t.lineTo(-ue,0),_t.closePath()}},Wt=Math.sin(S/10)/Math.sin(7*S/10),Xt=Math.sin(w/10)*Wt,ae=-Math.cos(w/10)*Wt,le={draw:function(_t,Ut){var Jt=Math.sqrt(.8908130915292852*Ut),ue=Xt*Jt,ce=ae*Jt;_t.moveTo(0,-Jt),_t.lineTo(ue,ce);for(var be=1;be<5;++be){var Ue=w*be/5,Re=Math.cos(Ue),qe=Math.sin(Ue);_t.lineTo(qe*Jt,-Re*Jt),_t.lineTo(Re*ue-qe*ce,qe*ue+Re*ce)}_t.closePath()}},Ae={draw:function(_t,Ut){var Jt=Math.sqrt(Ut),ue=-Jt/2;_t.rect(ue,ue,Jt,Jt)}},ze=Math.sqrt(3),nn={draw:function(_t,Ut){var Jt=-Math.sqrt(Ut/(3*ze));_t.moveTo(0,2*Jt),_t.lineTo(-ze*Jt,-Jt),_t.lineTo(ze*Jt,-Jt),_t.closePath()}},an=Math.sqrt(3)/2,tn=1/Math.sqrt(12),xn=3*(tn/2+1),un={draw:function(_t,Ut){var Jt=Math.sqrt(Ut/xn),ue=Jt/2,ce=Jt*tn,be=ue,Ue=Jt*tn+Jt,Re=-be,qe=Ue;_t.moveTo(ue,ce),_t.lineTo(be,Ue),_t.lineTo(Re,qe),_t.lineTo(-.5*ue-an*ce,an*ue+-.5*ce),_t.lineTo(-.5*be-an*Ue,an*be+-.5*Ue),_t.lineTo(-.5*Re-an*qe,an*Re+-.5*qe),_t.lineTo(-.5*ue+an*ce,-.5*ce-an*ue),_t.lineTo(-.5*be+an*Ue,-.5*Ue-an*be),_t.lineTo(-.5*Re+an*qe,-.5*qe-an*Re),_t.closePath()}},se=[Ot,At,Pt,Ae,le,nn,un],ne=function(){var _t=_(Ot),Ut=_(64),Jt=null;function ue(){var ce;if(Jt||(Jt=ce=H()),_t.apply(this,arguments).draw(Jt,+Ut.apply(this,arguments)),ce)return Jt=null,ce+""||null}return ue.type=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:_(ce),ue):_t},ue.size=function(ce){return arguments.length?(Ut=typeof ce=="function"?ce:_(+ce),ue):Ut},ue.context=function(ce){return arguments.length?(Jt=ce==null?null:ce,ue):Jt},ue},te=function(){};function Rt(_t,Ut,Jt){_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+Ut)/6,(_t._y0+4*_t._y1+Jt)/6)}function Bt(_t){this._context=_t}Bt.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:Rt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Ut){switch(_t=+_t,Ut=+Ut,this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Ut):this._context.moveTo(_t,Ut);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:Rt(this,_t,Ut)}this._x0=this._x1,this._x1=_t,this._y0=this._y1,this._y1=Ut}};var Ht=function(_t){return new Bt(_t)};function zt(_t){this._context=_t}zt.prototype={areaStart:te,areaEnd:te,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,Ut){switch(_t=+_t,Ut=+Ut,this._point){case 0:this._point=1,this._x2=_t,this._y2=Ut;break;case 1:this._point=2,this._x3=_t,this._y3=Ut;break;case 2:this._point=3,this._x4=_t,this._y4=Ut,this._context.moveTo((this._x0+4*this._x1+_t)/6,(this._y0+4*this._y1+Ut)/6);break;default:Rt(this,_t,Ut)}this._x0=this._x1,this._x1=_t,this._y0=this._y1,this._y1=Ut}};var re=function(_t){return new zt(_t)};function ve(_t){this._context=_t}ve.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Ut){switch(_t=+_t,Ut=+Ut,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var Jt=(this._x0+4*this._x1+_t)/6,ue=(this._y0+4*this._y1+Ut)/6;this._line?this._context.lineTo(Jt,ue):this._context.moveTo(Jt,ue);break;case 3:this._point=4;default:Rt(this,_t,Ut)}this._x0=this._x1,this._x1=_t,this._y0=this._y1,this._y1=Ut}};var he=function(_t){return new ve(_t)};function Ge(_t,Ut){this._basis=new Bt(_t),this._beta=Ut}Ge.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var _t=this._x,Ut=this._y,Jt=_t.length-1;if(Jt>0)for(var ue,ce=_t[0],be=Ut[0],Ue=_t[Jt]-ce,Re=Ut[Jt]-be,qe=-1;++qe<=Jt;)ue=qe/Jt,this._basis.point(this._beta*_t[qe]+(1-this._beta)*(ce+ue*Ue),this._beta*Ut[qe]+(1-this._beta)*(be+ue*Re));this._x=this._y=null,this._basis.lineEnd()},point:function(_t,Ut){this._x.push(+_t),this._y.push(+Ut)}};var cn=function _t(Ut){function Jt(ue){return Ut===1?new Bt(ue):new Ge(ue,Ut)}return Jt.beta=function(ue){return _t(+ue)},Jt}(.85);function yn(_t,Ut,Jt){_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-Ut),_t._y2+_t._k*(_t._y1-Jt),_t._x2,_t._y2)}function Vn(_t,Ut){this._context=_t,this._k=(1-Ut)/6}Vn.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:yn(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Ut){switch(_t=+_t,Ut=+Ut,this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Ut):this._context.moveTo(_t,Ut);break;case 1:this._point=2,this._x1=_t,this._y1=Ut;break;case 2:this._point=3;default:yn(this,_t,Ut)}this._x0=this._x1,this._x1=this._x2,this._x2=_t,this._y0=this._y1,this._y1=this._y2,this._y2=Ut}};var fn=function _t(Ut){function Jt(ue){return new Vn(ue,Ut)}return Jt.tension=function(ue){return _t(+ue)},Jt}(0);function Mn(_t,Ut){this._context=_t,this._k=(1-Ut)/6}Mn.prototype={areaStart:te,areaEnd:te,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,Ut){switch(_t=+_t,Ut=+Ut,this._point){case 0:this._point=1,this._x3=_t,this._y3=Ut;break;case 1:this._point=2,this._context.moveTo(this._x4=_t,this._y4=Ut);break;case 2:this._point=3,this._x5=_t,this._y5=Ut;break;default:yn(this,_t,Ut)}this._x0=this._x1,this._x1=this._x2,this._x2=_t,this._y0=this._y1,this._y1=this._y2,this._y2=Ut}};var Qn=function _t(Ut){function Jt(ue){return new Mn(ue,Ut)}return Jt.tension=function(ue){return _t(+ue)},Jt}(0);function Cr(_t,Ut){this._context=_t,this._k=(1-Ut)/6}Cr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Ut){switch(_t=+_t,Ut=+Ut,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:yn(this,_t,Ut)}this._x0=this._x1,this._x1=this._x2,this._x2=_t,this._y0=this._y1,this._y1=this._y2,this._y2=Ut}};var de=function _t(Ut){function Jt(ue){return new Cr(ue,Ut)}return Jt.tension=function(ue){return _t(+ue)},Jt}(0);function Ne(_t,Ut,Jt){var ue=_t._x1,ce=_t._y1,be=_t._x2,Ue=_t._y2;if(_t._l01_a>1e-12){var Re=2*_t._l01_2a+3*_t._l01_a*_t._l12_a+_t._l12_2a,qe=3*_t._l01_a*(_t._l01_a+_t._l12_a);ue=(ue*Re-_t._x0*_t._l12_2a+_t._x2*_t._l01_2a)/qe,ce=(ce*Re-_t._y0*_t._l12_2a+_t._y2*_t._l01_2a)/qe}if(_t._l23_a>1e-12){var wn=2*_t._l23_2a+3*_t._l23_a*_t._l12_a+_t._l12_2a,Pn=3*_t._l23_a*(_t._l23_a+_t._l12_a);be=(be*wn+_t._x1*_t._l23_2a-Ut*_t._l12_2a)/Pn,Ue=(Ue*wn+_t._y1*_t._l23_2a-Jt*_t._l12_2a)/Pn}_t._context.bezierCurveTo(ue,ce,be,Ue,_t._x2,_t._y2)}function Be(_t,Ut){this._context=_t,this._alpha=Ut}Be.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Ut){if(_t=+_t,Ut=+Ut,this._point){var Jt=this._x2-_t,ue=this._y2-Ut;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Jt*Jt+ue*ue,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Ut):this._context.moveTo(_t,Ut);break;case 1:this._point=2;break;case 2:this._point=3;default:Ne(this,_t,Ut)}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=Ut}};var fe=function _t(Ut){function Jt(ue){return Ut?new Be(ue,Ut):new Vn(ue,0)}return Jt.alpha=function(ue){return _t(+ue)},Jt}(.5);function ke(_t,Ut){this._context=_t,this._alpha=Ut}ke.prototype={areaStart:te,areaEnd:te,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,Ut){if(_t=+_t,Ut=+Ut,this._point){var Jt=this._x2-_t,ue=this._y2-Ut;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Jt*Jt+ue*ue,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=_t,this._y3=Ut;break;case 1:this._point=2,this._context.moveTo(this._x4=_t,this._y4=Ut);break;case 2:this._point=3,this._x5=_t,this._y5=Ut;break;default:Ne(this,_t,Ut)}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=Ut}};var De=function _t(Ut){function Jt(ue){return Ut?new ke(ue,Ut):new Mn(ue,0)}return Jt.alpha=function(ue){return _t(+ue)},Jt}(.5);function Te(_t,Ut){this._context=_t,this._alpha=Ut}Te.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Ut){if(_t=+_t,Ut=+Ut,this._point){var Jt=this._x2-_t,ue=this._y2-Ut;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Jt*Jt+ue*ue,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:Ne(this,_t,Ut)}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=Ut}};var Me=function _t(Ut){function Jt(ue){return Ut?new Te(ue,Ut):new Cr(ue,0)}return Jt.alpha=function(ue){return _t(+ue)},Jt}(.5);function Xe(_t){this._context=_t}Xe.prototype={areaStart:te,areaEnd:te,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(_t,Ut){_t=+_t,Ut=+Ut,this._point?this._context.lineTo(_t,Ut):(this._point=1,this._context.moveTo(_t,Ut))}};var vn=function(_t){return new Xe(_t)};function xe(_t){return _t<0?-1:1}function $e(_t,Ut,Jt){var ue=_t._x1-_t._x0,ce=Ut-_t._x1,be=(_t._y1-_t._y0)/(ue||ce<0&&-0),Ue=(Jt-_t._y1)/(ce||ue<0&&-0),Re=(be*ce+Ue*ue)/(ue+ce);return(xe(be)+xe(Ue))*Math.min(Math.abs(be),Math.abs(Ue),.5*Math.abs(Re))||0}function pn(_t,Ut){var Jt=_t._x1-_t._x0;return Jt?(3*(_t._y1-_t._y0)/Jt-Ut)/2:Ut}function we(_t,Ut,Jt){var ue=_t._x0,ce=_t._y0,be=_t._x1,Ue=_t._y1,Re=(be-ue)/3;_t._context.bezierCurveTo(ue+Re,ce+Re*Ut,be-Re,Ue-Re*Jt,be,Ue)}function gn(_t){this._context=_t}function Ke(_t){this._context=new hn(_t)}function hn(_t){this._context=_t}function mn(_t){return new gn(_t)}function dn(_t){return new Ke(_t)}function cr(_t){this._context=_t}function rr(_t){var Ut,Jt,ue=_t.length-1,ce=new Array(ue),be=new Array(ue),Ue=new Array(ue);for(ce[0]=0,be[0]=2,Ue[0]=_t[0]+2*_t[1],Ut=1;Ut=0;--Ut)ce[Ut]=(Ue[Ut]-ce[Ut+1])/be[Ut];for(be[ue-1]=(_t[ue]+ce[ue-1])/2,Ut=0;Ut=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(_t,Ut){switch(_t=+_t,Ut=+Ut,this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Ut):this._context.moveTo(_t,Ut);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Ut),this._context.lineTo(_t,Ut);else{var Jt=this._x*(1-this._t)+_t*this._t;this._context.lineTo(Jt,this._y),this._context.lineTo(Jt,Ut)}}this._x=_t,this._y=Ut}};var Zn=function(_t){return new dr(_t,.5)};function Or(_t){return new dr(_t,0)}function Rr(_t){return new dr(_t,1)}var pr=function(_t,Ut){if((ce=_t.length)>1)for(var Jt,ue,ce,be=1,Ue=_t[Ut[0]],Re=Ue.length;be=0;)Jt[Ut]=Ut;return Jt};function Ir(_t,Ut){return _t[Ut]}var Ur=function(){var _t=_([]),Ut=Nn,Jt=pr,ue=Ir;function ce(be){var Ue,Re,qe=_t.apply(this,arguments),wn=be.length,Pn=qe.length,Gn=new Array(Pn);for(Ue=0;Ue0){for(var Jt,ue,ce,be=0,Ue=_t[0].length;be0)for(var Jt,ue,ce,be,Ue,Re,qe=0,wn=_t[Ut[0]].length;qe0?(ue[0]=be,ue[1]=be+=ce):ce<0?(ue[1]=Ue,ue[0]=Ue+=ce):(ue[0]=0,ue[1]=ce)},br=function(_t,Ut){if((Jt=_t.length)>0){for(var Jt,ue=0,ce=_t[Ut[0]],be=ce.length;ue0&&(ue=(Jt=_t[Ut[0]]).length)>0){for(var Jt,ue,ce,be=0,Ue=1;Uebe&&(be=Ut,ue=Jt);return ue}var Fe=function(_t){var Ut=_t.map(He);return Nn(_t).sort(function(Jt,ue){return Ut[Jt]-Ut[ue]})};function He(_t){for(var Ut,Jt=0,ue=-1,ce=_t.length;++ue0?Object(T.a)(function(Z){Z.setFullYear(Math.floor(Z.getFullYear()/X)*X),Z.setMonth(0,1),Z.setHours(0,0,0,0)},function(Z,H){Z.setFullYear(Z.getFullYear()+H*X)}):null},W.a=I;var Y=I.range},function(Mt,W,u){"use strict";u.d(W,"b",function(){return Y});var T=u(1),I=Object(T.a)(function(X){X.setUTCMonth(0,1),X.setUTCHours(0,0,0,0)},function(X,Z){X.setUTCFullYear(X.getUTCFullYear()+Z)},function(X,Z){return Z.getUTCFullYear()-X.getUTCFullYear()},function(X){return X.getUTCFullYear()});I.every=function(X){return isFinite(X=Math.floor(X))&&X>0?Object(T.a)(function(Z){Z.setUTCFullYear(Math.floor(Z.getUTCFullYear()/X)*X),Z.setUTCMonth(0,1),Z.setUTCHours(0,0,0,0)},function(Z,H){Z.setUTCFullYear(Z.getUTCFullYear()+H*X)}):null},W.a=I;var Y=I.range},function(Mt,W,u){"use strict";var T;(T=function(){var I=u(27),Y=u(39);return{axisTimeCombinations:{MINUTE_HOUR:"minute-hour",HOUR_DAY:"hour-daymonth",DAY_MONTH:"day-month",MONTH_YEAR:"month-year",CUSTOM:"custom"},curveMap:{linear:I.curveLinear,basis:I.curveBasis,cardinal:I.curveCardinal,catmullRom:I.curveCatmullRom,monotoneX:I.curveMonotoneX,monotoneY:I.curveMonotoneY,natural:I.curveNatural,step:I.curveStep,stepAfter:I.curveStepAfter,stepBefore:I.curveStepBefore},emptyDonutData:[{quantity:1,percentage:100}],timeBenchmarks:{ONE_AND_A_HALF_YEARS:47304e6,ONE_YEAR:31536000365,ONE_DAY:86400001},lineGradientId:"lineGradientId",timeIntervals:{timeMillisecond:Y.timeMillisecond,utcMillisecond:Y.utcMillisecond,timeSecond:Y.timeSecond,utcSecond:Y.utcSecond,timeMinute:Y.timeMinute,utcMinute:Y.utcMinute,timeHour:Y.timeHour,utcHour:Y.utcHour,timeDay:Y.timeDay,utcDay:Y.utcDay,timeWeek:Y.timeWeek,utcWeek:Y.utcWeek,timeSunday:Y.timeSunday,utcSunday:Y.utcSunday,timeMonday:Y.timeMonday,utcMonday:Y.utcMonday,timeTuesday:Y.timeTuesday,utcTuesday:Y.utcTuesday,timeWednesday:Y.timeWednesday,utcWednesday:Y.utcWednesday,timeThursday:Y.timeThursday,utcThursday:Y.utcThursday,timeFriday:Y.timeFriday,utcFriday:Y.utcFriday,timeSaturday:Y.timeSaturday,utcSaturday:Y.utcSaturday,timeMonth:Y.timeMonth,utcMonth:Y.utcMonth,timeYear:Y.timeYear,utcYear:Y.utcYear},FORMAT_LOCALE_URL:"https://cdn.jsdelivr.net/npm/d3-format/locale"}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";u.d(W,"b",function(){return H}),u.d(W,"c",function(){return _});var T=u(7),I=u(42),Y=u(58),X=u(4);function Z(j){return function(A){var D,C,d=A.length,o=new Array(d),k=new Array(d),S=new Array(d);for(D=0;D=0&&(C=D.slice(d+1),D=D.slice(0,d)),{type:D,name:C}})}function H(A){return function(){var D=this.__on;if(D){for(var C,d=0,o=-1,k=D.length;d1?X[0]+X.slice(2):X,+T.slice(Y+1)]}},function(Mt,W,u){"use strict";u.r(W);var T=u(1);u.d(W,"timeInterval",function(){return T.a});var I=u(52);u.d(W,"timeMillisecond",function(){return I.a}),u.d(W,"timeMilliseconds",function(){return I.b}),u.d(W,"utcMillisecond",function(){return I.a}),u.d(W,"utcMilliseconds",function(){return I.b});var Y=u(51);u.d(W,"timeSecond",function(){return Y.a}),u.d(W,"timeSeconds",function(){return Y.b}),u.d(W,"utcSecond",function(){return Y.a}),u.d(W,"utcSeconds",function(){return Y.b});var X=u(71);u.d(W,"timeMinute",function(){return X.a}),u.d(W,"timeMinutes",function(){return X.b});var Z=u(70);u.d(W,"timeHour",function(){return Z.a}),u.d(W,"timeHours",function(){return Z.b});var H=u(53);u.d(W,"timeDay",function(){return H.b}),u.d(W,"timeDays",function(){return H.a});var _=u(5);u.d(W,"timeWeek",function(){return _.g}),u.d(W,"timeWeeks",function(){return _.h}),u.d(W,"timeSunday",function(){return _.g}),u.d(W,"timeSundays",function(){return _.h}),u.d(W,"timeMonday",function(){return _.c}),u.d(W,"timeMondays",function(){return _.d}),u.d(W,"timeTuesday",function(){return _.k}),u.d(W,"timeTuesdays",function(){return _.l}),u.d(W,"timeWednesday",function(){return _.m}),u.d(W,"timeWednesdays",function(){return _.n}),u.d(W,"timeThursday",function(){return _.i}),u.d(W,"timeThursdays",function(){return _.j}),u.d(W,"timeFriday",function(){return _.a}),u.d(W,"timeFridays",function(){return _.b}),u.d(W,"timeSaturday",function(){return _.e}),u.d(W,"timeSaturdays",function(){return _.f});var j=u(69);u.d(W,"timeMonth",function(){return j.a}),u.d(W,"timeMonths",function(){return j.b});var A=u(33);u.d(W,"timeYear",function(){return A.a}),u.d(W,"timeYears",function(){return A.b});var D=u(74);u.d(W,"utcMinute",function(){return D.a}),u.d(W,"utcMinutes",function(){return D.b});var C=u(73);u.d(W,"utcHour",function(){return C.a}),u.d(W,"utcHours",function(){return C.b});var d=u(54);u.d(W,"utcDay",function(){return d.a}),u.d(W,"utcDays",function(){return d.b});var o=u(6);u.d(W,"utcWeek",function(){return o.g}),u.d(W,"utcWeeks",function(){return o.h}),u.d(W,"utcSunday",function(){return o.g}),u.d(W,"utcSundays",function(){return o.h}),u.d(W,"utcMonday",function(){return o.c}),u.d(W,"utcMondays",function(){return o.d}),u.d(W,"utcTuesday",function(){return o.k}),u.d(W,"utcTuesdays",function(){return o.l}),u.d(W,"utcWednesday",function(){return o.m}),u.d(W,"utcWednesdays",function(){return o.n}),u.d(W,"utcThursday",function(){return o.i}),u.d(W,"utcThursdays",function(){return o.j}),u.d(W,"utcFriday",function(){return o.a}),u.d(W,"utcFridays",function(){return o.b}),u.d(W,"utcSaturday",function(){return o.e}),u.d(W,"utcSaturdays",function(){return o.f});var k=u(72);u.d(W,"utcMonth",function(){return k.a}),u.d(W,"utcMonths",function(){return k.b});var S=u(34);u.d(W,"utcYear",function(){return S.a}),u.d(W,"utcYears",function(){return S.b})},function(Mt,W,u){"use strict";u.d(W,"b",function(){return I}),u.d(W,"a",function(){return Y});var T=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function I(X){if(!(Z=T.exec(X)))throw new Error("invalid format: "+X);var Z;return new Y({fill:Z[1],align:Z[2],sign:Z[3],symbol:Z[4],zero:Z[5],width:Z[6],comma:Z[7],precision:Z[8]&&Z[8].slice(1),trim:Z[9],type:Z[10]})}function Y(X){this.fill=X.fill===void 0?" ":X.fill+"",this.align=X.align===void 0?">":X.align+"",this.sign=X.sign===void 0?"-":X.sign+"",this.symbol=X.symbol===void 0?"":X.symbol+"",this.zero=!!X.zero,this.width=X.width===void 0?void 0:+X.width,this.comma=!!X.comma,this.precision=X.precision===void 0?void 0:+X.precision,this.trim=!!X.trim,this.type=X.type===void 0?"":X.type+""}I.prototype=Y.prototype,Y.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(Mt,W,u){"use strict";var T=u(7),I=u(36),Y=u(61),X=u(60),Z=u(14),H=u(62),_=u(59),j=u(48),A=u(31);W.a=function(D,C){var d,o=typeof C;return C==null||o==="boolean"?Object(j.a)(C):(o==="number"?Z.a:o==="string"?(d=Object(T.e)(C))?(C=d,I.a):_.a:C instanceof T.e?I.a:C instanceof Date?X.a:Object(A.b)(C)?A.a:Array.isArray(C)?Y.b:typeof C.valueOf!="function"&&typeof C.toString!="function"||isNaN(C)?H.a:Z.a)(D,C)}},function(Mt,W,u){"use strict";function T(I,Y,X,Z,H){var _=I*I,j=_*I;return((1-3*I+3*_-j)*Y+(4-6*_+3*j)*X+(1+3*I+3*_-3*j)*Z+j*H)/6}u.d(W,"a",function(){return T}),W.b=function(I){var Y=I.length-1;return function(X){var Z=X<=0?X=0:X>=1?(X=1,Y-1):Math.floor(X*Y),H=I[Z],_=I[Z+1],j=Z>0?I[Z-1]:2*H-_,A=Z=0&&(Y=I.slice(0,X))!=="xmlns"&&(I=I.slice(X+1)),T.a.hasOwnProperty(Y)?{space:T.a[Y],local:I}:I}},function(Mt,W,u){"use strict";W.a=function(T){return T.ownerDocument&&T.ownerDocument.defaultView||T.document&&T||T.defaultView}},function(Mt,W,u){"use strict";var T=u(37);W.a=function(){for(var I,Y=T.c;I=Y.sourceEvent;)Y=I;return Y}},function(Mt,W,u){"use strict";u.d(W,"a",function(){return T}),u.d(W,"b",function(){return I});var T=Math.PI/180,I=180/Math.PI},function(Mt,W,u){"use strict";W.a=function(T){return function(){return T}}},function(Mt,W,u){"use strict";function T(X){return X*X*X}function I(X){return--X*X*X+1}function Y(X){return((X*=2)<=1?X*X*X:(X-=2)*X*X+2)/2}u.d(W,"a",function(){return T}),u.d(W,"c",function(){return I}),u.d(W,"b",function(){return Y})},function(Mt,W,u){"use strict";u.d(W,"b",function(){return _}),u.d(W,"a",function(){return j}),u.d(W,"d",function(){return S}),u.d(W,"c",function(){return h});var T=u(15),I=u(7),Y=u(47),X=6/29,Z=3*X*X;function H(g){if(g instanceof A)return new A(g.l,g.a,g.b,g.opacity);if(g instanceof w)return b(g);g instanceof I.b||(g=Object(I.h)(g));var p,y,P=o(g.r),m=o(g.g),x=o(g.b),l=D((.2225045*P+.7168786*m+.0606169*x)/1);return P===m&&m===x?p=y=l:(p=D((.4360747*P+.3850649*m+.1430804*x)/.96422),y=D((.0139322*P+.0971045*m+.7141733*x)/.82521)),new A(116*l-16,500*(p-l),200*(l-y),g.opacity)}function _(g,p){return new A(g,0,0,p==null?1:p)}function j(g,p,y,P){return arguments.length===1?H(g):new A(g,p,y,P==null?1:P)}function A(g,p,y,P){this.l=+g,this.a=+p,this.b=+y,this.opacity=+P}function D(g){return g>.008856451679035631?Math.pow(g,.3333333333333333):g/Z+.13793103448275862}function C(g){return g>X?g*g*g:Z*(g-.13793103448275862)}function d(g){return 255*(g<=.0031308?12.92*g:1.055*Math.pow(g,.4166666666666667)-.055)}function o(g){return(g/=255)<=.04045?g/12.92:Math.pow((g+.055)/1.055,2.4)}function k(g){if(g instanceof w)return new w(g.h,g.c,g.l,g.opacity);if(g instanceof A||(g=H(g)),g.a===0&&g.b===0)return new w(NaN,00?X>1?Object(T.a)(function(Z){Z.setTime(Math.floor(Z/X)*X)},function(Z,H){Z.setTime(+Z+H*X)},function(Z,H){return(H-Z)/X}):I:null},W.a=I;var Y=I.range},function(Mt,W,u){"use strict";u.d(W,"a",function(){return X});var T=u(1),I=u(3),Y=Object(T.a)(function(Z){Z.setHours(0,0,0,0)},function(Z,H){Z.setDate(Z.getDate()+H)},function(Z,H){return(H-Z-(H.getTimezoneOffset()-Z.getTimezoneOffset())*I.c)/I.a},function(Z){return Z.getDate()-1});W.b=Y;var X=Y.range},function(Mt,W,u){"use strict";u.d(W,"b",function(){return X});var T=u(1),I=u(3),Y=Object(T.a)(function(Z){Z.setUTCHours(0,0,0,0)},function(Z,H){Z.setUTCDate(Z.getUTCDate()+H)},function(Z,H){return(H-Z)/I.a},function(Z){return Z.getUTCDate()-1});W.a=Y;var X=Y.range},,function(Mt,W,u){"use strict";u.d(W,"b",function(){return I}),u.d(W,"c",function(){return Y}),u.d(W,"a",function(){return Z});var T,I,Y,X=u(68);function Z(H){return T=Object(X.a)(H),I=T.format,Y=T.formatPrefix,T}Z({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(Mt,W){var u=/^(?:0|[1-9]\d*)$/;function T(y,P,m){switch(m.length){case 0:return y.call(P);case 1:return y.call(P,m[0]);case 2:return y.call(P,m[0],m[1]);case 3:return y.call(P,m[0],m[1],m[2])}return y.apply(P,m)}var I,Y,X=Object.prototype,Z=X.hasOwnProperty,H=X.toString,_=X.propertyIsEnumerable,j=(I=Object.keys,Y=Object,function(y){return I(Y(y))}),A=Math.max,D=!_.call({valueOf:1},"valueOf");function C(y,P){var m=h(y)||function(N){return function(R){return function(c){return!!c&&typeof c=="object"}(R)&&w(R)}(N)&&Z.call(N,"callee")&&(!_.call(N,"callee")||H.call(N)=="[object Arguments]")}(y)?function(N,R){for(var c=-1,E=Array(N);++c-1&&y%1==0&&y-1&&P%1==0&&P<=9007199254740991}(y.length)&&!function(P){var m=b(P)?H.call(P):"";return m=="[object Function]"||m=="[object GeneratorFunction]"}(y)}function b(y){var P=typeof y;return!!y&&(P=="object"||P=="function")}var g,p=(g=function(y,P){if(D||k(P)||w(P))(function(x,l,s,N){s||(s={});for(var R=-1,c=l.length;++R1?P[x-1]:void 0,s=x>2?P[2]:void 0;for(l=g.length>3&&typeof l=="function"?(x--,l):void 0,s&&function(R,c,E){if(!b(E))return!1;var L=typeof c;return!!(L=="number"?w(E)&&o(c,E.length):L=="string"&&c in E)&&S(E[c],R)}(P[0],P[1],s)&&(l=x<3?void 0:l,x=1),y=Object(y);++mA&&(j=Z.slice(A,j),C[D]?C[D]+=j:C[++D]=j),(H=H[0])===(_=_[0])?C[D]?C[D]+=_:C[++D]=_:(C[++D]=null,d.push({i:D,x:Object(T.a)(H,_)})),A=Y.lastIndex;return A=12)]},q:function(we){return 1+~~(we.getMonth()/3)},Q:Bt,s:Ht,S:at,u:bt,U:mt,V:Ct,w:vt,W:Nt,x:null,X:null,y:Ft,Y:Ot,Z:At,"%":Rt},Xe={a:function(we){return yn[we.getUTCDay()]},A:function(we){return cn[we.getUTCDay()]},b:function(we){return fn[we.getUTCMonth()]},B:function(we){return Vn[we.getUTCMonth()]},c:null,d:St,e:St,f:ae,H:pt,I:Pt,j:Wt,L:Xt,m:le,M:Ae,p:function(we){return Ge[+(we.getUTCHours()>=12)]},q:function(we){return 1+~~(we.getUTCMonth()/3)},Q:Bt,s:Ht,S:ze,u:nn,U:an,V:tn,w:xn,W:un,x:null,X:null,y:se,Y:ne,Z:te,"%":Rt},vn={a:function(we,gn,Ke){var hn=Ne.exec(gn.slice(Ke));return hn?(we.w=Be[hn[0].toLowerCase()],Ke+hn[0].length):-1},A:function(we,gn,Ke){var hn=Cr.exec(gn.slice(Ke));return hn?(we.w=de[hn[0].toLowerCase()],Ke+hn[0].length):-1},b:function(we,gn,Ke){var hn=De.exec(gn.slice(Ke));return hn?(we.m=Te[hn[0].toLowerCase()],Ke+hn[0].length):-1},B:function(we,gn,Ke){var hn=fe.exec(gn.slice(Ke));return hn?(we.m=ke[hn[0].toLowerCase()],Ke+hn[0].length):-1},c:function(we,gn,Ke){return pn(we,re,gn,Ke)},d:c,e:c,f:G,H:L,I:L,j:E,L:rt,m:R,M:et,p:function(we,gn,Ke){var hn=Mn.exec(gn.slice(Ke));return hn?(we.p=Qn[hn[0].toLowerCase()],Ke+hn[0].length):-1},q:N,Q:F,s:B,S:nt,u:p,U:y,V:P,w:g,W:m,x:function(we,gn,Ke){return pn(we,ve,gn,Ke)},X:function(we,gn,Ke){return pn(we,he,gn,Ke)},y:l,Y:x,Z:s,"%":ut};function xe(we,gn){return function(Ke){var hn,mn,dn,cr=[],rr=-1,fr=0,dr=we.length;for(Ke instanceof Date||(Ke=new Date(+Ke));++rr53)return null;"w"in dn||(dn.w=1),"Z"in dn?(mn=(hn=j(A(dn.y,0,1))).getUTCDay(),hn=mn>4||mn===0?T.c.ceil(hn):Object(T.c)(hn),hn=I.a.offset(hn,7*(dn.V-1)),dn.y=hn.getUTCFullYear(),dn.m=hn.getUTCMonth(),dn.d=hn.getUTCDate()+(dn.w+6)%7):(mn=(hn=_(A(dn.y,0,1))).getDay(),hn=mn>4||mn===0?Y.c.ceil(hn):Object(Y.c)(hn),hn=X.b.offset(hn,7*(dn.V-1)),dn.y=hn.getFullYear(),dn.m=hn.getMonth(),dn.d=hn.getDate()+(dn.w+6)%7)}else("W"in dn||"U"in dn)&&("w"in dn||(dn.w="u"in dn?dn.u%7:"W"in dn?1:0),mn="Z"in dn?j(A(dn.y,0,1)).getUTCDay():_(A(dn.y,0,1)).getDay(),dn.m=0,dn.d="W"in dn?(dn.w+6)%7+7*dn.W-(mn+5)%7:dn.w+7*dn.U-(mn+6)%7);return"Z"in dn?(dn.H+=dn.Z/100|0,dn.M+=dn.Z%100,j(dn)):_(dn)}}function pn(we,gn,Ke,hn){for(var mn,dn,cr=0,rr=gn.length,fr=Ke.length;cr=fr)return-1;if((mn=gn.charCodeAt(cr++))===37){if(mn=gn.charAt(cr++),!(dn=vn[mn in C?gn.charAt(cr++):mn])||(hn=dn(we,Ke,hn))<0)return-1}else if(mn!=Ke.charCodeAt(hn++))return-1}return hn}return Me.x=xe(ve,Me),Me.X=xe(he,Me),Me.c=xe(re,Me),Xe.x=xe(ve,Xe),Xe.X=xe(he,Xe),Xe.c=xe(re,Xe),{format:function(we){var gn=xe(we+="",Me);return gn.toString=function(){return we},gn},parse:function(we){var gn=$e(we+="",!1);return gn.toString=function(){return we},gn},utcFormat:function(we){var gn=xe(we+="",Xe);return gn.toString=function(){return we},gn},utcParse:function(we){var gn=$e(we+="",!0);return gn.toString=function(){return we},gn}}}var C={"-":"",_:" ",0:"0"},d=/^\s*\d+/,o=/^%/,k=/[\\^$*+?|[\]().{}]/g;function S(zt,re,ve){var he=zt<0?"-":"",Ge=(he?-zt:zt)+"",cn=Ge.length;return he+(cn68?1900:2e3),ve+he[0].length):-1}function s(zt,re,ve){var he=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(re.slice(ve,ve+6));return he?(zt.Z=he[1]?0:-(he[2]+(he[3]||"00")),ve+he[0].length):-1}function N(zt,re,ve){var he=d.exec(re.slice(ve,ve+1));return he?(zt.q=3*he[0]-3,ve+he[0].length):-1}function R(zt,re,ve){var he=d.exec(re.slice(ve,ve+2));return he?(zt.m=he[0]-1,ve+he[0].length):-1}function c(zt,re,ve){var he=d.exec(re.slice(ve,ve+2));return he?(zt.d=+he[0],ve+he[0].length):-1}function E(zt,re,ve){var he=d.exec(re.slice(ve,ve+3));return he?(zt.m=0,zt.d=+he[0],ve+he[0].length):-1}function L(zt,re,ve){var he=d.exec(re.slice(ve,ve+2));return he?(zt.H=+he[0],ve+he[0].length):-1}function et(zt,re,ve){var he=d.exec(re.slice(ve,ve+2));return he?(zt.M=+he[0],ve+he[0].length):-1}function nt(zt,re,ve){var he=d.exec(re.slice(ve,ve+2));return he?(zt.S=+he[0],ve+he[0].length):-1}function rt(zt,re,ve){var he=d.exec(re.slice(ve,ve+3));return he?(zt.L=+he[0],ve+he[0].length):-1}function G(zt,re,ve){var he=d.exec(re.slice(ve,ve+6));return he?(zt.L=Math.floor(he[0]/1e3),ve+he[0].length):-1}function ut(zt,re,ve){var he=o.exec(re.slice(ve,ve+1));return he?ve+he[0].length:-1}function F(zt,re,ve){var he=d.exec(re.slice(ve));return he?(zt.Q=+he[0],ve+he[0].length):-1}function B(zt,re,ve){var he=d.exec(re.slice(ve));return he?(zt.s=+he[0],ve+he[0].length):-1}function st(zt,re){return S(zt.getDate(),re,2)}function ht(zt,re){return S(zt.getHours(),re,2)}function tt(zt,re){return S(zt.getHours()%12||12,re,2)}function ct(zt,re){return S(1+X.b.count(Object(Z.a)(zt),zt),re,3)}function U(zt,re){return S(zt.getMilliseconds(),re,3)}function J(zt,re){return U(zt,re)+"000"}function K(zt,re){return S(zt.getMonth()+1,re,2)}function q(zt,re){return S(zt.getMinutes(),re,2)}function at(zt,re){return S(zt.getSeconds(),re,2)}function bt(zt){var re=zt.getDay();return re===0?7:re}function mt(zt,re){return S(Y.g.count(Object(Z.a)(zt)-1,zt),re,2)}function Ct(zt,re){var ve=zt.getDay();return zt=ve>=4||ve===0?Object(Y.i)(zt):Y.i.ceil(zt),S(Y.i.count(Object(Z.a)(zt),zt)+(Object(Z.a)(zt).getDay()===4),re,2)}function vt(zt){return zt.getDay()}function Nt(zt,re){return S(Y.c.count(Object(Z.a)(zt)-1,zt),re,2)}function Ft(zt,re){return S(zt.getFullYear()%100,re,2)}function Ot(zt,re){return S(zt.getFullYear()%1e4,re,4)}function At(zt){var re=zt.getTimezoneOffset();return(re>0?"-":(re*=-1,"+"))+S(re/60|0,"0",2)+S(re%60,"0",2)}function St(zt,re){return S(zt.getUTCDate(),re,2)}function pt(zt,re){return S(zt.getUTCHours(),re,2)}function Pt(zt,re){return S(zt.getUTCHours()%12||12,re,2)}function Wt(zt,re){return S(1+I.a.count(Object(H.a)(zt),zt),re,3)}function Xt(zt,re){return S(zt.getUTCMilliseconds(),re,3)}function ae(zt,re){return Xt(zt,re)+"000"}function le(zt,re){return S(zt.getUTCMonth()+1,re,2)}function Ae(zt,re){return S(zt.getUTCMinutes(),re,2)}function ze(zt,re){return S(zt.getUTCSeconds(),re,2)}function nn(zt){var re=zt.getUTCDay();return re===0?7:re}function an(zt,re){return S(T.g.count(Object(H.a)(zt)-1,zt),re,2)}function tn(zt,re){var ve=zt.getUTCDay();return zt=ve>=4||ve===0?Object(T.i)(zt):T.i.ceil(zt),S(T.i.count(Object(H.a)(zt),zt)+(Object(H.a)(zt).getUTCDay()===4),re,2)}function xn(zt){return zt.getUTCDay()}function un(zt,re){return S(T.c.count(Object(H.a)(zt)-1,zt),re,2)}function se(zt,re){return S(zt.getUTCFullYear()%100,re,2)}function ne(zt,re){return S(zt.getUTCFullYear()%1e4,re,4)}function te(){return"+0000"}function Rt(){return"%"}function Bt(zt){return+zt}function Ht(zt){return Math.floor(+zt/1e3)}},function(Mt,W,u){"use strict";var T=u(23);W.a=function(I){return typeof I=="string"?new T.a([[document.querySelector(I)]],[document.documentElement]):new T.a([[I]],T.c)}},function(Mt,W,u){"use strict";function T(){return[]}W.a=function(I){return I==null?T:function(){return this.querySelectorAll(I)}}},function(Mt,W,u){"use strict";W.a=function(T){return function(){return this.matches(T)}}},function(Mt,W,u){"use strict";u.d(W,"b",function(){return Z});var T=u(45);function I(H){return function(){this.style.removeProperty(H)}}function Y(H,_,j){return function(){this.style.setProperty(H,_,j)}}function X(H,_,j){return function(){var A=_.apply(this,arguments);A==null?this.style.removeProperty(H):this.style.setProperty(H,A,j)}}function Z(H,_){return H.style.getPropertyValue(_)||Object(T.a)(H).getComputedStyle(H,null).getPropertyValue(_)}W.a=function(H,_,j){return arguments.length>1?this.each((_==null?I:typeof _=="function"?X:Y)(H,_,j==null?"":j)):Z(this.node(),H)}},function(Mt,W,u){"use strict";var T,I=u(22),Y=u(40),X=u(38),Z=function(D,C){var d=Object(X.a)(D,C);if(!d)return D+"";var o=d[0],k=d[1];return k<0?"0."+new Array(-k).join("0")+o:o.length>k+1?o.slice(0,k+1)+"."+o.slice(k+1):o+new Array(k-o.length+2).join("0")},H={"%":function(D,C){return(100*D).toFixed(C)},b:function(D){return Math.round(D).toString(2)},c:function(D){return D+""},d:function(D){return Math.round(D).toString(10)},e:function(D,C){return D.toExponential(C)},f:function(D,C){return D.toFixed(C)},g:function(D,C){return D.toPrecision(C)},o:function(D){return Math.round(D).toString(8)},p:function(D,C){return Z(100*D,C)},r:Z,s:function(D,C){var d=Object(X.a)(D,C);if(!d)return D+"";var o=d[0],k=d[1],S=k-(T=3*Math.max(-8,Math.min(8,Math.floor(k/3))))+1,h=o.length;return S===h?o:S>h?o+new Array(S-h+1).join("0"):S>0?o.slice(0,S)+"."+o.slice(S):"0."+new Array(1-S).join("0")+Object(X.a)(D,Math.max(0,C+S-1))[0]},X:function(D){return Math.round(D).toString(16).toUpperCase()},x:function(D){return Math.round(D).toString(16)}},_=function(D){return D},j=Array.prototype.map,A=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];W.a=function(D){var C,d,o=D.grouping===void 0||D.thousands===void 0?_:(C=j.call(D.grouping,Number),d=D.thousands+"",function(P,m){for(var x=P.length,l=[],s=0,N=C[0],R=0;x>0&&N>0&&(R+N+1>m&&(N=Math.max(1,m-R)),l.push(P.substring(x-=N,x+N)),!((R+=N+1)>m));)N=C[s=(s+1)%C.length];return l.reverse().join(d)}),k=D.currency===void 0?"":D.currency[0]+"",S=D.currency===void 0?"":D.currency[1]+"",h=D.decimal===void 0?".":D.decimal+"",w=D.numerals===void 0?_:function(P){return function(m){return m.replace(/[0-9]/g,function(x){return P[+x]})}}(j.call(D.numerals,String)),b=D.percent===void 0?"%":D.percent+"",g=D.minus===void 0?"-":D.minus+"",p=D.nan===void 0?"NaN":D.nan+"";function y(P){var m=(P=Object(Y.b)(P)).fill,x=P.align,l=P.sign,s=P.symbol,N=P.zero,R=P.width,c=P.comma,E=P.precision,L=P.trim,et=P.type;et==="n"?(c=!0,et="g"):H[et]||(E===void 0&&(E=12),L=!0,et="g"),(N||m==="0"&&x==="=")&&(N=!0,m="0",x="=");var nt=s==="$"?k:s==="#"&&/[boxX]/.test(et)?"0"+et.toLowerCase():"",rt=s==="$"?S:/[%p]/.test(et)?b:"",G=H[et],ut=/[defgprs%]/.test(et);function F(B){var st,ht,tt,ct=nt,U=rt;if(et==="c")U=G(B)+U,B="";else{var J=(B=+B)<0;if(B=isNaN(B)?p:G(Math.abs(B),E),L&&(B=function(at){t:for(var bt,mt=at.length,Ct=1,vt=-1;Ct0&&(vt=0)}return vt>0?at.slice(0,vt)+at.slice(bt+1):at}(B)),J&&+B==0&&(J=!1),ct=(J?l==="("?l:g:l==="-"||l==="("?"":l)+ct,U=(et==="s"?A[8+T/3]:"")+U+(J&&l==="("?")":""),ut){for(st=-1,ht=B.length;++st(tt=B.charCodeAt(st))||tt>57){U=(tt===46?h+B.slice(st+1):B.slice(st))+U,B=B.slice(0,st);break}}}c&&!N&&(B=o(B,1/0));var K=ct.length+B.length+U.length,q=K>1)+ct+B+U+q.slice(K);break;default:B=q+ct+B+U}return w(B)}return E=E===void 0?6:/[gprs]/.test(et)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E)),F.toString=function(){return P+""},F}return{format:y,formatPrefix:function(P,m){var x=y(((P=Object(Y.b)(P)).type="f",P)),l=3*Math.max(-8,Math.min(8,Math.floor(Object(I.a)(m)/3))),s=Math.pow(10,-l),N=A[8+l/3];return function(R){return x(s*R)+N}}}}},function(Mt,W,u){"use strict";u.d(W,"b",function(){return Y});var T=u(1),I=Object(T.a)(function(X){X.setDate(1),X.setHours(0,0,0,0)},function(X,Z){X.setMonth(X.getMonth()+Z)},function(X,Z){return Z.getMonth()-X.getMonth()+12*(Z.getFullYear()-X.getFullYear())},function(X){return X.getMonth()});W.a=I;var Y=I.range},function(Mt,W,u){"use strict";u.d(W,"b",function(){return X});var T=u(1),I=u(3),Y=Object(T.a)(function(Z){Z.setTime(Z-Z.getMilliseconds()-Z.getSeconds()*I.d-Z.getMinutes()*I.c)},function(Z,H){Z.setTime(+Z+H*I.b)},function(Z,H){return(H-Z)/I.b},function(Z){return Z.getHours()});W.a=Y;var X=Y.range},function(Mt,W,u){"use strict";u.d(W,"b",function(){return X});var T=u(1),I=u(3),Y=Object(T.a)(function(Z){Z.setTime(Z-Z.getMilliseconds()-Z.getSeconds()*I.d)},function(Z,H){Z.setTime(+Z+H*I.c)},function(Z,H){return(H-Z)/I.c},function(Z){return Z.getMinutes()});W.a=Y;var X=Y.range},function(Mt,W,u){"use strict";u.d(W,"b",function(){return Y});var T=u(1),I=Object(T.a)(function(X){X.setUTCDate(1),X.setUTCHours(0,0,0,0)},function(X,Z){X.setUTCMonth(X.getUTCMonth()+Z)},function(X,Z){return Z.getUTCMonth()-X.getUTCMonth()+12*(Z.getUTCFullYear()-X.getUTCFullYear())},function(X){return X.getUTCMonth()});W.a=I;var Y=I.range},function(Mt,W,u){"use strict";u.d(W,"b",function(){return X});var T=u(1),I=u(3),Y=Object(T.a)(function(Z){Z.setUTCMinutes(0,0,0)},function(Z,H){Z.setTime(+Z+H*I.b)},function(Z,H){return(H-Z)/I.b},function(Z){return Z.getUTCHours()});W.a=Y;var X=Y.range},function(Mt,W,u){"use strict";u.d(W,"b",function(){return X});var T=u(1),I=u(3),Y=Object(T.a)(function(Z){Z.setUTCSeconds(0,0)},function(Z,H){Z.setTime(+Z+H*I.c)},function(Z,H){return(H-Z)/I.c},function(Z){return Z.getUTCMinutes()});W.a=Y;var X=Y.range},function(Mt,W,u){"use strict";var T,I=function(Z,H){if(Array.isArray(Z))return Z;if(Symbol.iterator in Object(Z))return function(_,j){var A=[],D=!0,C=!1,d=void 0;try{for(var o,k=_[Symbol.iterator]();!(D=(o=k.next()).done)&&(A.push(o.value),!j||A.length!==j);D=!0);}catch(S){C=!0,d=S}finally{try{!D&&k.return&&k.return()}finally{if(C)throw d}}return A}(Z,H);throw new TypeError("Invalid attempt to destructure non-iterable instance")},Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Z){return typeof Z}:function(Z){return Z&&typeof Symbol=="function"&&Z.constructor===Symbol&&Z!==Symbol.prototype?"symbol":typeof Z};function X(Z,H,_){return H in Z?Object.defineProperty(Z,H,{value:_,enumerable:!0,configurable:!0,writable:!0}):Z[H]=_,Z}(T=function(Z){var H,_=u(39),j=u(28),A=u(35),D=A.axisTimeCombinations,C=A.timeBenchmarks,d=u(87),o=d.convertMillisecondsToDays,k=d.getLocaleDateFormatter,S={minute:j.timeFormat("%M m"),hour:j.timeFormat("%H %p"),day:j.timeFormat("%e"),daymonth:j.timeFormat("%d %b"),month:j.timeFormat("%b"),year:j.timeFormat("%Y")},h=(X(H={},D.MINUTE_HOUR,_.timeHour.every(1)),X(H,D.HOUR_DAY,_.timeDay.every(1)),X(H,D.DAY_MONTH,_.timeMonth.every(1)),X(H,D.MONTH_YEAR,_.timeYear.every(1)),H),w=function(g){var p=C.ONE_YEAR;return g2&&arguments[2]!==void 0?arguments[2]:null,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,m=new Date(g[0].date),x=new Date(g[g.length-1].date),l=x-m;P&&(typeof Intl=="undefined"||(typeof Intl=="undefined"?"undefined":Y(Intl))==="object"&&!Intl.DateTimeFormat)&&(P=null),y||(y=w(l));var s=y.split("-"),N=I(s,2),R=N[0],c=N[1],E=h[y],L=b(p,o(l));return{minor:{format:P?k(P,R):S[R],tick:L},major:{format:P?k(P,c):S[c],tick:E}}}}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T;(T=function(I){u(2);var Y="highlight-filter";return{bounceCircleHighlight:function(X,Z,H){var _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2*H,j=100,A=50;X.transition().ease(Z).duration(j).attr("r",_).transition().ease(Z).delay(A).duration(j).attr("r",H)},createFilterContainer:function(X){return X.append("defs").append("filter").attr("id",Y)},createGausianBlur:function(X){return X.append("feGaussianBlur").attr("stdDeviation",1).attr("result","coloredBlur"),Y},createWhiteGlow:function(X){X.attr("x","-5000%").attr("y","-5000%").attr("width","10000%").attr("height","10000%"),X.append("feFlood").attr("result","flood").attr("flood-color","#ffffff").attr("flood-opacity","1"),X.append("feComposite").attr("result","mask").attr("in2","SourceGraphic").attr("operator","in").attr("in","flood"),X.append("feMorphology").attr("result","dilated").attr("operator","dilate").attr("radius","2").attr("in","mask"),X.append("feGaussianBlur").attr("result","blurred").attr("stdDeviation","5").attr("in","dilated");var Z=X.append("feMerge");return Z.append("feMergeNode").attr("in","blurred"),Z.append("feMergeNode").attr("in","SourceGraphic"),Y},createGlow:function(X){X.attr("x","-30%").attr("y","-30%").attr("width","160%").attr("height","160%"),X.append("feGaussianBlur").attr("stdDeviation","0.9 0.9").attr("result","glow");var Z=X.append("feMerge");return Z.append("feMergeNode").attr("in","glow"),Z.append("feMergeNode").attr("in","glow"),Z.append("feMergeNode").attr("in","glow"),Y},createGlowWithMatrix:function(X){X.attr("x","-500%").attr("y","-500%").attr("width","1800%").attr("height","1800%"),X.append("feColorMatrix").attr("type","matrix").attr("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"),X.append("feGaussianBlur").attr("stdDeviation","1").attr("result","coloredBlur").attr("in","SourceGraphic");var Z=X.append("feMerge");return Z.append("feMergeNode").attr("in","coloredBlur"),Z.append("feMergeNode").attr("in","SourceGraphic"),Y}}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I,Y,X,Z=u(14),H=180/Math.PI,_={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},j=function(d,o,k,S,h,w){var b,g,p;return(b=Math.sqrt(d*d+o*o))&&(d/=b,o/=b),(p=d*k+o*S)&&(k-=d*p,S-=o*p),(g=Math.sqrt(k*k+S*S))&&(k/=g,S/=g,p/=g),d*S180?P+=360:P-y>180&&(y+=360),x.push({i:m.push(h(m)+"rotate(",null,S)-2,x:Object(Z.a)(y,P)})):P&&m.push(h(m)+"rotate("+P+S)}(w.rotate,b.rotate,g,p),function(y,P,m,x){y!==P?x.push({i:m.push(h(m)+"skewX(",null,S)-2,x:Object(Z.a)(y,P)}):P&&m.push(h(m)+"skewX("+P+S)}(w.skewX,b.skewX,g,p),function(y,P,m,x,l,s){if(y!==m||P!==x){var N=l.push(h(l)+"scale(",null,",",null,")");s.push({i:N-4,x:Object(Z.a)(y,m)},{i:N-2,x:Object(Z.a)(P,x)})}else m===1&&x===1||l.push(h(l)+"scale("+m+","+x+")")}(w.scaleX,w.scaleY,b.scaleX,b.scaleY,g,p),w=b=null,function(y){for(var P,m=-1,x=p.length;++m=0&&(D=A.slice(C+1),A=A.slice(0,C)),A&&!j.hasOwnProperty(A))throw new Error("unknown type: "+A);return{type:A,name:D}})}function Z(_,j){for(var A,D=0,C=_.length;D0)for(var A,D,C=new Array(A),d=0;d=0))throw p(b,new Error(Ot.tagName+"@"+St));for(var Pt=At.length-1;pt"&&">")||Ot=="&"&&"&"||Ot=='"'&&"""||"&#"+Ot.charCodeAt()+";"}function L(Ot,At){if(At(Ot))return!0;if(Ot=Ot.firstChild)do if(L(Ot,At))return!0;while(Ot=Ot.nextSibling)}function et(){}function nt(Ot,At,St,pt){Ot&&Ot._inc++,St.namespaceURI=="http://www.w3.org/2000/xmlns/"&&delete At._nsMap[St.prefix?St.localName:""]}function rt(Ot,At,St){if(Ot&&Ot._inc){Ot._inc++;var pt=At.childNodes;if(St)pt[pt.length++]=St;else{for(var Pt=At.firstChild,Wt=0;Pt;)pt[Wt++]=Pt,Pt=Pt.nextSibling;pt.length=Wt}}}function G(Ot,At){var St=At.previousSibling,pt=At.nextSibling;return St?St.nextSibling=pt:Ot.firstChild=pt,pt?pt.previousSibling=St:Ot.lastChild=St,rt(Ot.ownerDocument,Ot),At}function ut(Ot,At,St){var pt=At.parentNode;if(pt&&pt.removeChild(At),At.nodeType===o){var Pt=At.firstChild;if(Pt==null)return At;var Wt=At.lastChild}else Pt=Wt=At;var Xt=St?St.previousSibling:Ot.lastChild;Pt.previousSibling=Xt,Wt.nextSibling=St,Xt?Xt.nextSibling=Pt:Ot.firstChild=Pt,St==null?Ot.lastChild=Wt:St.previousSibling=Wt;do Pt.parentNode=Ot;while(Pt!==Wt&&(Pt=Pt.nextSibling));return rt(Ot.ownerDocument||Ot,Ot),At.nodeType==o&&(At.firstChild=At.lastChild=null),At}function F(){this._nsMap={}}function B(){}function st(){}function ht(){}function tt(){}function ct(){}function U(){}function J(){}function K(){}function q(){}function at(){}function bt(){}function mt(){}function Ct(Ot,At){var St=[],pt=this.nodeType==9?this.documentElement:this,Pt=pt.prefix,Wt=pt.namespaceURI;if(Wt&&Pt==null&&(Pt=pt.lookupPrefix(Wt))==null)var Xt=[{namespace:Wt,prefix:null}];return Nt(this,St,Ot,At,Xt),St.join("")}function vt(Ot,At,St){var pt=Ot.prefix||"",Pt=Ot.namespaceURI;if(!pt&&!Pt||pt==="xml"&&Pt==="http://www.w3.org/XML/1998/namespace"||Pt=="http://www.w3.org/2000/xmlns/")return!1;for(var Wt=St.length;Wt--;){var Xt=St[Wt];if(Xt.prefix==pt)return Xt.namespace!=Pt}return!0}function Nt(Ot,At,St,pt,Pt){if(pt){if(!(Ot=pt(Ot)))return;if(typeof Ot=="string")return void At.push(Ot)}switch(Ot.nodeType){case Y:Pt||(Pt=[]),Pt.length;var Wt=Ot.attributes,Xt=Wt.length,ae=Ot.firstChild,le=Ot.tagName;St=Ot.namespaceURI==="http://www.w3.org/1999/xhtml"||St,At.push("<",le);for(var Ae=0;Ae"),St&&/^script$/i.test(le))for(;ae;)ae.data?At.push(ae.data):Nt(ae,At,St,pt,Pt),ae=ae.nextSibling;else for(;ae;)Nt(ae,At,St,pt,Pt),ae=ae.nextSibling;At.push("")}else At.push("/>");return;case C:case o:for(ae=Ot.firstChild;ae;)Nt(ae,At,St,pt,Pt),ae=ae.nextSibling;return;case X:return At.push(" ",Ot.name,'="',Ot.value.replace(/[<&"]/g,E),'"');case Z:return At.push(Ot.data.replace(/[<&]/g,E));case H:return At.push("");case D:return At.push("");case d:var xn=Ot.publicId,un=Ot.systemId;if(At.push("');else if(un&&un!=".")At.push(' SYSTEM "',un,'">');else{var se=Ot.internalSubset;se&&At.push(" [",se,"]"),At.push(">")}return;case A:return At.push("");case _:return At.push("&",Ot.nodeName,";");default:At.push("??",Ot.nodeName)}}function Ft(Ot,At,St){Ot[At]=St}p.prototype=Error.prototype,u(S,p),y.prototype={length:0,item:function(Ot){return this[Ot]||null},toString:function(Ot,At){for(var St=[],pt=0;pt0},lookupPrefix:function(Ot){for(var At=this;At;){var St=At._nsMap;if(St){for(var pt in St)if(St[pt]==Ot)return pt}At=At.nodeType==X?At.ownerDocument:At.parentNode}return null},lookupNamespaceURI:function(Ot){for(var At=this;At;){var St=At._nsMap;if(St&&Ot in St)return St[Ot];At=At.nodeType==X?At.ownerDocument:At.parentNode}return null},isDefaultNamespace:function(Ot){return this.lookupPrefix(Ot)==null}},u(I,c),u(I,c.prototype),et.prototype={nodeName:"#document",nodeType:C,doctype:null,documentElement:null,_inc:1,insertBefore:function(Ot,At){if(Ot.nodeType==o){for(var St=Ot.firstChild;St;){var pt=St.nextSibling;this.insertBefore(St,At),St=pt}return Ot}return this.documentElement==null&&Ot.nodeType==Y&&(this.documentElement=Ot),ut(this,Ot,At),Ot.ownerDocument=this,Ot},removeChild:function(Ot){return this.documentElement==Ot&&(this.documentElement=null),G(this,Ot)},importNode:function(Ot,At){return function St(pt,Pt,Wt){var Xt;switch(Pt.nodeType){case Y:(Xt=Pt.cloneNode(!1)).ownerDocument=pt;case o:break;case X:Wt=!0}if(Xt||(Xt=Pt.cloneNode(!1)),Xt.ownerDocument=pt,Xt.parentNode=null,Wt)for(var ae=Pt.firstChild;ae;)Xt.appendChild(St(pt,ae,Wt)),ae=ae.nextSibling;return Xt}(this,Ot,At)},getElementById:function(Ot){var At=null;return L(this.documentElement,function(St){if(St.nodeType==Y&&St.getAttribute("id")==Ot)return At=St,!0}),At},createElement:function(Ot){var At=new F;return At.ownerDocument=this,At.nodeName=Ot,At.tagName=Ot,At.childNodes=new y,(At.attributes=new x)._ownerElement=At,At},createDocumentFragment:function(){var Ot=new at;return Ot.ownerDocument=this,Ot.childNodes=new y,Ot},createTextNode:function(Ot){var At=new ht;return At.ownerDocument=this,At.appendData(Ot),At},createComment:function(Ot){var At=new tt;return At.ownerDocument=this,At.appendData(Ot),At},createCDATASection:function(Ot){var At=new ct;return At.ownerDocument=this,At.appendData(Ot),At},createProcessingInstruction:function(Ot,At){var St=new bt;return St.ownerDocument=this,St.tagName=St.target=Ot,St.nodeValue=St.data=At,St},createAttribute:function(Ot){var At=new B;return At.ownerDocument=this,At.name=Ot,At.nodeName=Ot,At.localName=Ot,At.specified=!0,At},createEntityReference:function(Ot){var At=new q;return At.ownerDocument=this,At.nodeName=Ot,At},createElementNS:function(Ot,At){var St=new F,pt=At.split(":"),Pt=St.attributes=new x;return St.childNodes=new y,St.ownerDocument=this,St.nodeName=At,St.tagName=At,St.namespaceURI=Ot,pt.length==2?(St.prefix=pt[0],St.localName=pt[1]):St.localName=At,Pt._ownerElement=St,St},createAttributeNS:function(Ot,At){var St=new B,pt=At.split(":");return St.ownerDocument=this,St.nodeName=At,St.name=At,St.namespaceURI=Ot,St.specified=!0,pt.length==2?(St.prefix=pt[0],St.localName=pt[1]):St.localName=At,St}},T(et,c),F.prototype={nodeType:Y,hasAttribute:function(Ot){return this.getAttributeNode(Ot)!=null},getAttribute:function(Ot){var At=this.getAttributeNode(Ot);return At&&At.value||""},getAttributeNode:function(Ot){return this.attributes.getNamedItem(Ot)},setAttribute:function(Ot,At){var St=this.ownerDocument.createAttribute(Ot);St.value=St.nodeValue=""+At,this.setAttributeNode(St)},removeAttribute:function(Ot){var At=this.getAttributeNode(Ot);At&&this.removeAttributeNode(At)},appendChild:function(Ot){return Ot.nodeType===o?this.insertBefore(Ot,null):function(At,St){var pt=St.parentNode;if(pt){var Pt=At.lastChild;pt.removeChild(St),Pt=At.lastChild}return Pt=At.lastChild,St.parentNode=At,St.previousSibling=Pt,St.nextSibling=null,Pt?Pt.nextSibling=St:At.firstChild=St,At.lastChild=St,rt(At.ownerDocument,At,St),St}(this,Ot)},setAttributeNode:function(Ot){return this.attributes.setNamedItem(Ot)},setAttributeNodeNS:function(Ot){return this.attributes.setNamedItemNS(Ot)},removeAttributeNode:function(Ot){return this.attributes.removeNamedItem(Ot.nodeName)},removeAttributeNS:function(Ot,At){var St=this.getAttributeNodeNS(Ot,At);St&&this.removeAttributeNode(St)},hasAttributeNS:function(Ot,At){return this.getAttributeNodeNS(Ot,At)!=null},getAttributeNS:function(Ot,At){var St=this.getAttributeNodeNS(Ot,At);return St&&St.value||""},setAttributeNS:function(Ot,At,St){var pt=this.ownerDocument.createAttributeNS(Ot,At);pt.value=pt.nodeValue=""+St,this.setAttributeNode(pt)},getAttributeNodeNS:function(Ot,At){return this.attributes.getNamedItemNS(Ot,At)},getElementsByTagName:function(Ot){return new P(this,function(At){var St=[];return L(At,function(pt){pt===At||pt.nodeType!=Y||Ot!=="*"&&pt.tagName!=Ot||St.push(pt)}),St})},getElementsByTagNameNS:function(Ot,At){return new P(this,function(St){var pt=[];return L(St,function(Pt){Pt===St||Pt.nodeType!==Y||Ot!=="*"&&Pt.namespaceURI!==Ot||At!=="*"&&Pt.localName!=At||pt.push(Pt)}),pt})}},et.prototype.getElementsByTagName=F.prototype.getElementsByTagName,et.prototype.getElementsByTagNameNS=F.prototype.getElementsByTagNameNS,T(F,c),B.prototype.nodeType=X,T(B,c),st.prototype={data:"",substringData:function(Ot,At){return this.data.substring(Ot,Ot+At)},appendData:function(Ot){Ot=this.data+Ot,this.nodeValue=this.data=Ot,this.length=Ot.length},insertData:function(Ot,At){this.replaceData(Ot,0,At)},appendChild:function(Ot){throw new Error(h[w])},deleteData:function(Ot,At){this.replaceData(Ot,At,"")},replaceData:function(Ot,At,St){St=this.data.substring(0,Ot)+St+this.data.substring(Ot+At),this.nodeValue=this.data=St,this.length=St.length}},T(st,c),ht.prototype={nodeName:"#text",nodeType:Z,splitText:function(Ot){var At=this.data,St=At.substring(Ot);At=At.substring(0,Ot),this.data=this.nodeValue=At,this.length=At.length;var pt=this.ownerDocument.createTextNode(St);return this.parentNode&&this.parentNode.insertBefore(pt,this.nextSibling),pt}},T(ht,st),tt.prototype={nodeName:"#comment",nodeType:D},T(tt,st),ct.prototype={nodeName:"#cdata-section",nodeType:H},T(ct,st),U.prototype.nodeType=d,T(U,c),J.prototype.nodeType=k,T(J,c),K.prototype.nodeType=j,T(K,c),q.prototype.nodeType=_,T(q,c),at.prototype.nodeName="#document-fragment",at.prototype.nodeType=o,T(at,c),bt.prototype.nodeType=A,T(bt,c),mt.prototype.serializeToString=function(Ot,At,St){return Ct.call(Ot,At,St)},c.prototype.toString=Ct;try{Object.defineProperty&&(Object.defineProperty(P.prototype,"length",{get:function(){return m(this),this.$$length}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return function Ot(At){switch(At.nodeType){case Y:case o:var St=[];for(At=At.firstChild;At;)At.nodeType!==7&&At.nodeType!==8&&St.push(Ot(At)),At=At.nextSibling;return St.join("");default:return At.nodeValue}}(this)},set:function(Ot){switch(this.nodeType){case Y:case o:for(;this.firstChild;)this.removeChild(this.firstChild);(Ot||String(Ot))&&this.appendChild(this.ownerDocument.createTextNode(Ot));break;default:this.data=Ot,this.value=Ot,this.nodeValue=Ot}}}),Ft=function(Ot,At,St){Ot["$$"+At]=St})}catch(Ot){}W.DOMImplementation=R,W.XMLSerializer=mt},function(Mt,W,u){"use strict";var T;(T=function(I){return u(9),{addDays:function(Y,X){var Z=new Date(Y);return Z.setDate(Z.getDate()+X),String(Z)},convertMillisecondsToDays:function(Y){return Math.ceil(Y/864e5)},diffDays:function(Y,X){return Math.ceil(Math.abs((new Date(Y).getTime()-new Date(X).getTime())/864e5))},getLocaleDateFormatter:function(Y){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"day",Z=localeTimeMap[X],H=new Intl.DateTimeFormat(Y,Z);return function(_){return H.format(_)}}}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.colors=W.bullet=W.brush=W.step=W.heatmap=W.stackedBar=W.groupedRow=W.groupedBar=W.scatterPlot=W.stackedArea=W.sparkline=W.row=W.miniTooltip=W.tooltip=W.loadingStates=W.line=W.legend=W.donut=W.bar=void 0;var T=p(u(90)),I=p(u(101)),Y=p(u(102)),X=p(u(103)),Z=p(u(18)),H=p(u(104)),_=p(u(106)),j=p(u(107)),A=p(u(108)),D=p(u(109)),C=p(u(110)),d=p(u(111)),o=p(u(112)),k=p(u(113)),S=p(u(114)),h=p(u(115)),w=p(u(116)),b=p(u(117)),g=p(u(10));function p(y){return y&&y.__esModule?y:{default:y}}W.bar=T.default,W.donut=I.default,W.legend=Y.default,W.line=X.default,W.loadingStates=Z.default,W.tooltip=_.default,W.miniTooltip=j.default,W.row=H.default,W.sparkline=A.default,W.stackedArea=D.default,W.scatterPlot=C.default,W.groupedBar=d.default,W.groupedRow=o.default,W.stackedBar=k.default,W.heatmap=S.default,W.step=h.default,W.brush=w.default,W.bullet=b.default,W.colors=g.default},,function(Mt,W,u){"use strict";var T,I=Object.assign||function(Y){for(var X=1;X]*>/,""),(p=new ActiveXObject("Microsoft.XMLDOM")).async="false",p.loadXML(g),p)},h.Property=function(g,p){this.name=g,this.value=p},h.Property.prototype.getValue=function(){return this.value},h.Property.prototype.hasValue=function(){return this.value!=null&&this.value!=""},h.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var g=parseFloat(this.value);return(this.value+"").match(/%$/)&&(g/=100),g},h.Property.prototype.valueOrDefault=function(g){return this.hasValue()?this.value:g},h.Property.prototype.numValueOrDefault=function(g){return this.hasValue()?this.numValue():g},h.Property.prototype.addOpacity=function(g){var p=this.value;if(g.value!=null&&g.value!=""&&typeof this.value=="string"){var y=new T(this.value);y.ok&&(p="rgba("+y.r+", "+y.g+", "+y.b+", "+g.numValue()+")")}return new h.Property(this.name,p)},h.Property.prototype.getDefinition=function(){var g=this.value.match(/#([^\)'"]+)/);return g&&(g=g[1]),g||(g=this.value),h.Definitions[g]},h.Property.prototype.isUrlDefinition=function(){return this.value.indexOf("url(")==0},h.Property.prototype.getFillStyleDefinition=function(g,p){var y=this.getDefinition();if(y!=null&&y.createGradient)return y.createGradient(h.ctx,g,p);if(y!=null&&y.createPattern){if(y.getHrefAttribute().hasValue()){var P=y.attribute("patternTransform");y=y.getHrefAttribute().getDefinition(),P.hasValue()&&(y.attribute("patternTransform",!0).value=P.value)}return y.createPattern(h.ctx,g)}return null},h.Property.prototype.getDPI=function(g){return 96},h.Property.prototype.getEM=function(g){var p=12,y=new h.Property("fontSize",h.Font.Parse(h.ctx.font).fontSize);return y.hasValue()&&(p=y.toPixels(g)),p},h.Property.prototype.getUnits=function(){return(this.value+"").replace(/[0-9\.\-]/g,"")},h.Property.prototype.toPixels=function(g,p){if(!this.hasValue())return 0;var y=this.value+"";if(y.match(/em$/))return this.numValue()*this.getEM(g);if(y.match(/ex$/))return this.numValue()*this.getEM(g)/2;if(y.match(/px$/))return this.numValue();if(y.match(/pt$/))return this.numValue()*this.getDPI(g)*(1/72);if(y.match(/pc$/))return 15*this.numValue();if(y.match(/cm$/))return this.numValue()*this.getDPI(g)/2.54;if(y.match(/mm$/))return this.numValue()*this.getDPI(g)/25.4;if(y.match(/in$/))return this.numValue()*this.getDPI(g);if(y.match(/%$/))return this.numValue()*h.ViewPort.ComputeSize(g);var P=this.numValue();return p&&P<1?P*h.ViewPort.ComputeSize(g):P},h.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var g=this.value+"";return g.match(/s$/)?1e3*this.numValue():(g.match(/ms$/),this.numValue())},h.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var g=this.value+"";return g.match(/deg$/)?this.numValue()*(Math.PI/180):g.match(/grad$/)?this.numValue()*(Math.PI/200):g.match(/rad$/)?this.numValue():this.numValue()*(Math.PI/180)};var b={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return h.Property.prototype.toTextBaseline=function(){return this.hasValue()?b[this.value]:null},h.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(p,y,P,m,x,l){var s=l!=null?this.Parse(l):this.CreateFont("","","","","",h.ctx.font);return{fontFamily:x||s.fontFamily,fontSize:m||s.fontSize,fontStyle:p||s.fontStyle,fontWeight:P||s.fontWeight,fontVariant:y||s.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var g=this;this.Parse=function(p){for(var y={},P=h.trim(h.compressSpaces(p||"")).split(" "),m={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},x="",l=0;lthis.x2&&(this.x2=m)),x!=null&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=x,this.y2=x),xthis.y2&&(this.y2=x))},this.addX=function(m){this.addPoint(m,null)},this.addY=function(m){this.addPoint(null,m)},this.addBoundingBox=function(m){this.addPoint(m.x1,m.y1),this.addPoint(m.x2,m.y2)},this.addQuadraticCurve=function(m,x,l,s,N,R){var c=m+.6666666666666666*(l-m),E=x+2/3*(s-x),L=c+1/3*(N-m),et=E+1/3*(R-x);this.addBezierCurve(m,x,c,L,E,et,N,R)},this.addBezierCurve=function(m,x,l,s,N,R,c,E){var L=[m,x],et=[l,s],nt=[N,R],rt=[c,E];this.addPoint(L[0],L[1]),this.addPoint(rt[0],rt[1]);for(var G=0;G<=1;G++){var ut=function(J){return Math.pow(1-J,3)*L[G]+3*Math.pow(1-J,2)*J*et[G]+3*(1-J)*Math.pow(J,2)*nt[G]+Math.pow(J,3)*rt[G]},F=6*L[G]-12*et[G]+6*nt[G],B=-3*L[G]+9*et[G]-9*nt[G]+3*rt[G],st=3*et[G]-3*L[G];if(B!=0){var ht=Math.pow(F,2)-4*st*B;if(!(ht<0)){var tt=(-F+Math.sqrt(ht))/(2*B);0=0;R--)this.transforms[R].unapply(N)},this.applyToPoint=function(N){for(var R=0;Ret&&(this.styles[L]=c[L],this.stylesSpecificity[L]=E)}}},g!=null&&g.nodeType==1){for(var p=0;p0&&p.push([this.points[this.points.length-1],p[p.length-1][1]]),p}},h.Element.polyline.prototype=new h.Element.PathElementBase,h.Element.polygon=function(g){this.base=h.Element.polyline,this.base(g),this.basePath=this.path,this.path=function(p){var y=this.basePath(p);return p!=null&&(p.lineTo(this.points[0].x,this.points[0].y),p.closePath()),y}},h.Element.polygon.prototype=new h.Element.polyline,h.Element.path=function(g){this.base=h.Element.PathElementBase,this.base(g);var p=this.attribute("d").value;p=p.replace(/,/gm," ");for(var y=0;y<2;y++)p=p.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2");for(p=(p=p.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2"),y=0;y<2;y++)p=p.replace(/(\.[0-9]*)(\.)/gm,"$1 $2");p=p.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),p=h.compressSpaces(p),p=h.trim(p),this.PathParser=new function(P){this.tokens=P.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new h.Point(0,0),this.control=new h.Point(0,0),this.current=new h.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){return!!this.isEnd()||this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var m=new h.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(m)},this.getAsControlPoint=function(){var m=this.getPoint();return this.control=m,m},this.getAsCurrentPoint=function(){var m=this.getPoint();return this.current=m,m},this.getReflectedControlPoint=function(){return this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s"&&this.previousCommand.toLowerCase()!="q"&&this.previousCommand.toLowerCase()!="t"?this.current:new h.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(m){return this.isRelativeCommand()&&(m.x+=this.current.x,m.y+=this.current.y),m},this.addMarker=function(m,x,l){l!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(l)),this.addMarkerAngle(m,x==null?null:x.angleTo(m))},this.addMarkerAngle=function(m,x){this.points.push(m),this.angles.push(x)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var m=0;m1&&(et*=Math.sqrt(B),nt*=Math.sqrt(B));var st=(G==ut?-1:1)*Math.sqrt((Math.pow(et,2)*Math.pow(nt,2)-Math.pow(et,2)*Math.pow(F.y,2)-Math.pow(nt,2)*Math.pow(F.x,2))/(Math.pow(et,2)*Math.pow(F.y,2)+Math.pow(nt,2)*Math.pow(F.x,2)));isNaN(st)&&(st=0);var ht=new h.Point(st*et*F.y/nt,st*-nt*F.x/et),tt=new h.Point((R.x+L.x)/2+Math.cos(rt)*ht.x-Math.sin(rt)*ht.y,(R.y+L.y)/2+Math.sin(rt)*ht.x+Math.cos(rt)*ht.y),ct=function(Ot){return Math.sqrt(Math.pow(Ot[0],2)+Math.pow(Ot[1],2))},U=function(Ot,At){return(Ot[0]*At[0]+Ot[1]*At[1])/(ct(Ot)*ct(At))},J=function(Ot,At){return(Ot[0]*At[1]=1&&(bt=0);var mt=1-ut?1:-1,Ct=K+mt*(bt/2),vt=new h.Point(tt.x+et*Math.cos(Ct),tt.y+nt*Math.sin(Ct));if(m.addMarkerAngle(vt,Ct-mt*Math.PI/2),m.addMarkerAngle(L,Ct-mt*Math.PI),x.addPoint(L.x,L.y),P!=null){U=et>nt?et:nt;var Nt=et>nt?1:et/nt,Ft=et>nt?nt/et:1;P.translate(tt.x,tt.y),P.rotate(rt),P.scale(Nt,Ft),P.arc(0,0,U,K,K+bt,1-ut),P.scale(1/Nt,1/Ft),P.rotate(-rt),P.translate(-tt.x,-tt.y)}}break;case"Z":case"z":P!=null&&P.closePath(),m.current=m.start}return x},this.getMarkers=function(){for(var P=this.PathParser.getMarkerPoints(),m=this.PathParser.getMarkerAngles(),x=[],l=0;l1&&(this.offset=1);var p=this.style("stop-color",!0);p.value==""&&(p.value="#000"),this.style("stop-opacity").hasValue()&&(p=p.addOpacity(this.style("stop-opacity"))),this.color=p.value},h.Element.stop.prototype=new h.Element.ElementBase,h.Element.AnimateBase=function(g){this.base=h.Element.ElementBase,this.base(g),h.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").toMilliseconds(),this.getProperty=function(){var p=this.attribute("attributeType").value,y=this.attribute("attributeName").value;return p=="CSS"?this.parent.style(y,!0):this.parent.attribute(y,!0)},this.initialValue=null,this.initialUnits="",this.removed=!1,this.calcValue=function(){return""},this.update=function(p){if(this.initialValue==null&&(this.initialValue=this.getProperty().value,this.initialUnits=this.getProperty().getUnits()),this.duration>this.maxDuration){if(this.attribute("repeatCount").value=="indefinite"||this.attribute("repeatDur").value=="indefinite")this.duration=0;else if(this.attribute("fill").valueOrDefault("remove")!="freeze"||this.frozen){if(this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+p;var y=!1;if(this.beginP&&s.attribute("x").hasValue())break;x+=s.measureTextRecursive(p)}return-1*(m=="end"?x:x/2)}return 0},this.renderChild=function(p,y,P,m){var x=P.children[m];for(x.attribute("x").hasValue()?(x.x=x.attribute("x").toPixels("x")+y.getAnchorDelta(p,P,m),x.attribute("dx").hasValue()&&(x.x+=x.attribute("dx").toPixels("x"))):(x.attribute("dx").hasValue()&&(y.x+=x.attribute("dx").toPixels("x")),x.x=y.x),y.x=x.x+x.measureText(p),x.attribute("y").hasValue()?(x.y=x.attribute("y").toPixels("y"),x.attribute("dy").hasValue()&&(x.y+=x.attribute("dy").toPixels("y"))):(x.attribute("dy").hasValue()&&(y.y+=x.attribute("dy").toPixels("y")),x.y=y.y),y.y=x.y,x.render(p),m=0;m0&&y[P-1]!=" "&&P0&&y[P-1]!=" "&&(P==y.length-1||y[P+1]==" ")&&(l="initial"),p.glyphs[m]!==void 0&&(x=p.glyphs[m][l])==null&&p.glyphs[m].type=="glyph"&&(x=p.glyphs[m])}else x=p.glyphs[m];return x==null&&(x=p.missingGlyph),x},this.renderChildren=function(p){var y=this.parent.style("font-family").getDefinition();if(y==null)p.fillStyle!=""&&p.fillText(h.compressSpaces(this.getText()),this.x,this.y),p.strokeStyle!=""&&p.strokeText(h.compressSpaces(this.getText()),this.x,this.y);else{var P=this.parent.style("font-size").numValueOrDefault(h.Font.Parse(h.ctx.font).fontSize),m=this.parent.style("font-style").valueOrDefault(h.Font.Parse(h.ctx.font).fontStyle),x=this.getText();y.isRTL&&(x=x.split("").reverse().join(""));for(var l=h.ToNumberArray(this.parent.attribute("dx").value),s=0;s0?"":this.text}},h.Element.tspan.prototype=new h.Element.TextElementBase,h.Element.tref=function(g){this.base=h.Element.TextElementBase,this.base(g),this.getText=function(){var p=this.getHrefAttribute().getDefinition();if(p!=null)return p.children[0].getText()}},h.Element.tref.prototype=new h.Element.TextElementBase,h.Element.a=function(g){this.base=h.Element.TextElementBase,this.base(g),this.hasText=g.childNodes.length>0;for(var p=0;p0){var m=new h.Element.g;m.children=this.children,m.parent=this,m.render(y)}},this.onclick=function(){window.open(this.getHrefAttribute().value)},this.onmousemove=function(){h.ctx.canvas.style.cursor="pointer"}},h.Element.a.prototype=new h.Element.TextElementBase,h.Element.image=function(g){this.base=h.Element.RenderedElementBase,this.base(g);var p=this.getHrefAttribute().value;if(p!=""){var y=p.match(/\.svg$/);if(h.Images.push(this),this.loaded=!1,y)this.img=h.ajax(p),this.loaded=!0;else{this.img=document.createElement("img"),h.opts.useCORS==1&&(this.img.crossOrigin="Anonymous");var P=this;this.img.onload=function(){P.loaded=!0},this.img.onerror=function(){h.log('ERROR: image "'+p+'" not found'),P.loaded=!0},this.img.src=p}this.renderChildren=function(m){var x=this.attribute("x").toPixels("x"),l=this.attribute("y").toPixels("y"),s=this.attribute("width").toPixels("x"),N=this.attribute("height").toPixels("y");s!=0&&N!=0&&(m.save(),y?m.drawSvg(this.img,x,l,s,N):(m.translate(x,l),h.AspectRatio(m,this.attribute("preserveAspectRatio").value,s,this.img.width,N,this.img.height,0,0),m.drawImage(this.img,0,0)),m.restore())},this.getBoundingBox=function(){var m=this.attribute("x").toPixels("x"),x=this.attribute("y").toPixels("y"),l=this.attribute("width").toPixels("x"),s=this.attribute("height").toPixels("y");return new h.BoundingBox(m,x,m+l,x+s)}}},h.Element.image.prototype=new h.Element.RenderedElementBase,h.Element.g=function(g){this.base=h.Element.RenderedElementBase,this.base(g),this.getBoundingBox=function(){for(var p=new h.BoundingBox,y=0;y0)for(var ut=rt[G].indexOf("url"),F=rt[G].indexOf(")",ut),B=rt[G].substr(ut+5,F-ut-6),st=h.parseXml(h.ajax(B)).getElementsByTagName("font"),ht=0;ht~\.\[:]+)/g,0),_(/(\.[^\s\+>~\.\[:]+)/g,1),_(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,2),_(/(:[\w-]+\([^\)]*\))/gi,1),_(/(:[^\s\+>~\.\[:]+)/g,1),Z=(Z=Z.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),_(/([^\s\+>~\.\[:]+)/g,2),H.join("")}Mt.exports=Y},function(Mt,W){Mt.exports=function(u){this.ok=!1,this.alpha=1,u.charAt(0)=="#"&&(u=u.substr(1,6)),u=(u=u.replace(/ /g,"")).toLowerCase();var T={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};u=T[u]||u;for(var I=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(j){return[parseInt(j[1]),parseInt(j[2]),parseInt(j[3]),parseFloat(j[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(j){return[parseInt(j[1]),parseInt(j[2]),parseInt(j[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(j){return[parseInt(j[1],16),parseInt(j[2],16),parseInt(j[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(j){return[parseInt(j[1]+j[1],16),parseInt(j[2]+j[2],16),parseInt(j[3]+j[3],16)]}}],Y=0;Y3&&(this.alpha=_[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var j=this.r.toString(16),A=this.g.toString(16),D=this.b.toString(16);return j.length==1&&(j="0"+j),A.length==1&&(A="0"+A),D.length==1&&(D="0"+D),"#"+j+A+D},this.getHelpXML=function(){for(var j=new Array,A=0;A "+S.toRGB()+" -> "+S.toHex());k.appendChild(h),k.appendChild(w),o.appendChild(k)}catch(b){}return o}}},function(Mt,W){var u=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],T=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function I(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}Mt.exports=function(Y,X,Z,H){if(!(isNaN(H)||H<1)){var _,j,A,D,C,d,o,k,S,h,w,b,g,p,y,P,m,x,l,s,N,R,c,E,L=(H|=0)+H+1,et=X-1,nt=Z-1,rt=H+1,G=rt*(rt+1)/2,ut=new I,F=ut;for(A=1;A>ct,c!=0?(c=255/c,Y[d]=(k*tt>>ct)*c,Y[d+1]=(S*tt>>ct)*c,Y[d+2]=(h*tt>>ct)*c):Y[d]=Y[d+1]=Y[d+2]=0,k-=b,S-=g,h-=p,w-=y,b-=st.r,g-=st.g,p-=st.b,y-=st.a,D=o+((D=_+H+1)>ct,c>0?(c=255/c,Y[D]=(k*tt>>ct)*c,Y[D+1]=(S*tt>>ct)*c,Y[D+2]=(h*tt>>ct)*c):Y[D]=Y[D+1]=Y[D+2]=0,k-=b,S-=g,h-=p,w-=y,b-=st.r,g-=st.g,p-=st.b,y-=st.a,D=_+((D=j+rt)=D+C||D?new java.lang.String(A,D,C)+"":A}function H(A,D){A.currentElement?A.currentElement.appendChild(D):A.doc.appendChild(D)}T.prototype.parseFromString=function(A,D){var C=this.options,d=new _,o=C.domBuilder||new I,k=C.errorHandler,S=C.locator,h=C.xmlns||{},w={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return S&&o.setDocumentLocator(S),d.errorHandler=function(b,g,p){if(!b){if(g instanceof I)return g;b=g}var y={},P=b instanceof Function;function m(x){var l=b[x];!l&&P&&(l=b.length==2?function(s){b(x,s)}:b),y[x]=l&&function(s){l("[xmldom "+x+"] "+s+X(p))}||function(){}}return p=p||{},m("warning"),m("error"),m("fatalError"),y}(k,o,S),d.domBuilder=C.domBuilder||o,/\/x?html?$/.test(D)&&(w.nbsp="\xA0",w.copy="\xA9",h[""]="http://www.w3.org/1999/xhtml"),h.xml=h.xml||"http://www.w3.org/XML/1998/namespace",A?d.parse(A,h,w):d.errorHandler.error("invalid doc source"),o.doc},I.prototype={startDocument:function(){this.doc=new j().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(A,D,C,d){var o=this.doc,k=o.createElementNS(A,C||D),S=d.length;H(this,k),this.currentElement=k,this.locator&&Y(this.locator,k);for(var h=0;h":switch(P){case 0:h.setTagName(k.slice(S,y));case 5:case 6:case 7:break;case 4:case 1:(x=k.slice(S,y)).slice(-1)==="/"&&(h.closed=!0,x=x.slice(0,-1));case 2:P===2&&(x=p),P==4?(g.warning('attribute "'+x+'" missed quot(")!!'),h.add(p,x.replace(/&#?\w+;/g,b),S)):(w[""]==="http://www.w3.org/1999/xhtml"&&x.match(/^(?:disabled|checked|selected)$/i)||g.warning('attribute "'+x+'" missed value!! "'+x+'" instead!!'),h.add(x,x,S));break;case 3:throw new Error("attribute value missed!!")}return y;case"\x80":m=" ";default:if(m<=" ")switch(P){case 0:h.setTagName(k.slice(S,y)),P=6;break;case 1:p=k.slice(S,y),P=2;break;case 4:var x=k.slice(S,y).replace(/&#?\w+;/g,b);g.warning('attribute "'+x+'" missed quot(")!!'),h.add(p,x,S);case 5:P=6}else switch(P){case 2:h.tagName,w[""]==="http://www.w3.org/1999/xhtml"&&p.match(/^(?:disabled|checked|selected)$/i)||g.warning('attribute "'+p+'" missed value!! "'+p+'" instead2!!'),h.add(p,p,S),S=y,P=1;break;case 5:g.warning('attribute space is required"'+p+'"!!');case 6:P=1,S=y;break;case 3:P=4,S=y;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}y++}}function H(k,S,h){for(var w=k.tagName,b=null,g=k.length;g--;){var p=k[g],y=p.qName,P=p.value;if((s=y.indexOf(":"))>0)var m=p.prefix=y.slice(0,s),x=y.slice(s+1),l=m==="xmlns"&&x;else x=y,m=null,l=y==="xmlns"&&"";p.localName=x,l!==!1&&(b==null&&(b={},A(h,h={})),h[l]=b[l]=P,p.uri="http://www.w3.org/2000/xmlns/",S.startPrefixMapping(l,P))}for(g=k.length;g--;)(m=(p=k[g]).prefix)&&(m==="xml"&&(p.uri="http://www.w3.org/XML/1998/namespace"),m!=="xmlns"&&(p.uri=h[m||""]));var s;(s=w.indexOf(":"))>0?(m=k.prefix=w.slice(0,s),x=k.localName=w.slice(s+1)):(m=null,x=k.localName=w);var N=k.uri=h[m||""];if(S.startElement(N,x,w,k),!k.closed)return k.currentNSMap=h,k.localNSMap=b,!0;if(S.endElement(N,x,w),b)for(m in b)S.endPrefixMapping(m)}function _(k,S,h,w,b){if(/^(?:script|textarea)$/i.test(h)){var g=k.indexOf("",S),p=k.substring(S+1,g);if(/[&<]/.test(p))return/^script$/i.test(h)?(b.characters(p,0,p.length),g):(p=p.replace(/&#?\w+;/g,w),b.characters(p,0,p.length),g)}return S+1}function j(k,S,h,w){var b=w[h];return b==null&&((b=k.lastIndexOf(""))",S+4))>S?(h.comment(k,S+4,b-S-4),b+3):(w.error("Unclosed comment"),-1):-1;default:if(k.substr(S+3,6)=="CDATA["){var b=k.indexOf("]]>",S+9);return h.startCDATA(),h.characters(k,S+9,b-S-9),h.endCDATA(),b+3}var g=function(l,s){var N,R=[],c=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(c.lastIndex=s,c.exec(l);N=c.exec(l);)if(R.push(N),N[1])return R}(k,S),p=g.length;if(p>1&&/!doctype/i.test(g[0][0])){var y=g[1][0],P=p>3&&/^public$/i.test(g[2][0])&&g[3][0],m=p>4&&g[4][0],x=g[p-1];return h.startDTD(y,P&&P.replace(/^(['"])(.*?)\1$/,"$2"),m&&m.replace(/^(['"])(.*?)\1$/,"$2")),h.endDTD(),x.index+x[0].length}}return-1}function C(k,S,h){var w=k.indexOf("?>",S);if(w){var b=k.substring(S,w).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return b?(b[0].length,h.processingInstruction(b[1],b[2]),w+2):-1}return-1}function d(k){}function o(k,S){return k.__proto__=S,k}Y.prototype={parse:function(k,S,h){var w=this.domBuilder;w.startDocument(),A(S,S={}),function(b,g,p,y,P){function m(bt){var mt=bt.slice(1,-1);return mt in p?p[mt]:mt.charAt(0)==="#"?function(Ct){if(Ct>65535){var vt=55296+((Ct-=65536)>>10),Nt=56320+(1023&Ct);return String.fromCharCode(vt,Nt)}return String.fromCharCode(Ct)}(parseInt(mt.substr(1).replace("x","0x"))):(P.error("entity not found:"+bt),bt)}function x(bt){if(bt>et){var mt=b.substring(et,bt).replace(/&#?\w+;/g,m);c&&l(et),y.characters(mt,0,bt-et),et=bt}}function l(bt,mt){for(;bt>=N&&(mt=R.exec(b));)s=mt.index,N=s+mt[0].length,c.lineNumber++;c.columnNumber=bt-s+1}for(var s=0,N=0,R=/.*(?:\r\n?|\n)|.*$/g,c=y.locator,E=[{currentNSMap:g}],L={},et=0;;){try{var nt=b.indexOf("<",et);if(nt<0){if(!b.substr(et).match(/^\s*$/)){var rt=y.doc,G=rt.createTextNode(b.substr(et));rt.appendChild(G),y.currentElement=G}return}switch(nt>et&&x(nt),b.charAt(nt+1)){case"/":var ut=b.indexOf(">",nt+3),F=b.substring(nt+2,ut),B=E.pop();ut<0?(F=b.substring(nt+2).replace(/[\s<].*/,""),P.error("end tag name: "+F+" is not complete:"+B.tagName),ut=nt+1+F.length):F.match(/\set?et=ut:x(Math.max(nt,et)+1)}}(k,S,h,w,this.errorHandler),w.endDocument()}},d.prototype={setTagName:function(k){if(!I.test(k))throw new Error("invalid tagName:"+k);this.tagName=k},add:function(k,S,h){if(!I.test(k))throw new Error("invalid attribute:"+k);this[this.length++]={qName:k,value:S,offset:h}},length:0,getLocalName:function(k){return this[k].localName},getLocator:function(k){return this[k].locator},getQName:function(k){return this[k].qName},getURI:function(k){return this[k].uri},getValue:function(k){return this[k].value}},o({},o.prototype)instanceof o||(o=function(k,S){function h(){}for(S in h.prototype=S,h=new h,k)h[S]=k[S];return h}),W.XMLReader=Y},function(Mt,W,u){"use strict";var T,I,Y;Mt.exports=(T={BASE:!0,HEAD:!0,HTML:!0,META:!0,NOFRAME:!0,NOSCRIPT:!0,PARAM:!0,SCRIPT:!0,STYLE:!0,TITLE:!0},I=["A","ABBR","ADDRESS","AREA","ARTICLE","ASIDE","AUDIO","B","BASE","BDI","BDO","BLOCKQUOTE","BODY","BR","BUTTON","CANVAS","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","COMMAND","DATALIST","DD","DEL","DETAILS","DFN","DIV","DL","DT","EM","EMBED","FIELDSET","FIGCAPTION","FIGURE","FONT","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEAD","HEADER","HGROUP","HR","HTML","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","LEGEND","LI","LINK","MAP","MARK","MATH","MENU","META","METER","NAV","NOBR","NOSCRIPT","OBJECT","OL","OPTION","OPTGROUP","OUTPUT","P","PARAM","PRE","PROGRESS","Q","RP","RT","RUBY","S","SAMP","SCRIPT","SECTION","SELECT","SMALL","SOURCE","SPAN","STRONG","STYLE","SUB","SUMMARY","SUP","SVG","TABLE","TBODY","TD","TEXTAREA","TFOOT","TH","THEAD","TIME","TITLE","TR","TRACK","U","UL","VAR","VIDEO","WBR"],Y=function(X){var Z={},H=document.body.appendChild(document.createElement(X)),_=window.getComputedStyle(H);return[].forEach.call(_,function(j){Z[j]=_[j]}),document.body.removeChild(H),Z},{initializeSerializer:function(){var X={};return[].forEach.call(I,function(Z){T[Z]||(X[Z]=Y(Z))}),function(Z){var H,_=[],j=void 0,A=void 0,D=void 0;if(Z&&Z.nodeType===Node.ELEMENT_NODE)return _=[],j=Z.querySelectorAll("*"),[].forEach.call(j,function(C,d){var o;T[C.tagName]||(A=window.getComputedStyle(C),o=(o=C.tagName).toUpperCase(),X[o]||(X[o]=Y(o)),D=X[o],_[d]=C.style.cssText,[].forEach.call(A,function(k){A[k]!==D[k]&&(C.style[k]=A[k])}))}),H=new XMLSerializer().serializeToString(Z),j=[].map.call(j,function(C,d){return C.style.cssText=_[d],C}),H}}})},function(Mt,W,u){(function(T,I){var Y;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */(function(X){var Z=W,H=(T&&T.exports,typeof I=="object"&&I);H.global!==H&&H.window;var _=function(d){this.message=d};(_.prototype=new Error).name="InvalidCharacterError";var j=function(d){throw new _(d)},A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",D=/[\t\n\f\r ]/g,C={encode:function(d){d=String(d),/[^\0-\xFF]/.test(d)&&j("The string to be encoded contains characters outside of the Latin1 range.");for(var o,k,S,h,w=d.length%3,b="",g=-1,p=d.length-w;++g>18&63)+A.charAt(h>>12&63)+A.charAt(h>>6&63)+A.charAt(63&h);return w==2?(o=d.charCodeAt(g)<<8,k=d.charCodeAt(++g),b+=A.charAt((h=o+k)>>10)+A.charAt(h>>4&63)+A.charAt(h<<2&63)+"="):w==1&&(h=d.charCodeAt(g),b+=A.charAt(h>>2)+A.charAt(h<<4&63)+"=="),b},decode:function(d){var o=(d=String(d).replace(D,"")).length;o%4==0&&(o=(d=d.replace(/==?$/,"")).length),(o%4==1||/[^+a-zA-Z0-9/]/.test(d))&&j("Invalid character: the string to be decoded is not correctly encoded.");for(var k,S,h=0,w="",b=-1;++b>(-2*h&6)));return w},version:"0.1.0"};(Y=function(){return C}.call(W,u,W,T))===void 0||(T.exports=Y)})()}).call(this,u(98)(Mt),u(99))},function(Mt,W){Mt.exports=function(u){return u.webpackPolyfill||(u.deprecate=function(){},u.paths=[],u.children||(u.children=[]),Object.defineProperty(u,"loaded",{enumerable:!0,get:function(){return u.l}}),Object.defineProperty(u,"id",{enumerable:!0,get:function(){return u.i}}),u.webpackPolyfill=1),u}},function(Mt,W){var u;u=function(){return this}();try{u=u||new Function("return this")()}catch(T){typeof window=="object"&&(u=window)}Mt.exports=u},function(Mt,W,u){"use strict";var T,I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y};(T=function(Y){var X=u(9).formatDefaultLocale,Z=["decimal","thousands","grouping","currency"];return{setDefaultLocale:function(H){if(function(_){return(_===void 0?"undefined":I(_))=="object"&&Z.every(function(j){return _.hasOwnProperty(j)})}(H))return X(H);throw new Error("Please pass in a valid locale object definition")}}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(Y){for(var X=1;X2&&arguments[2]!==void 0?arguments[2]:0;A.select(le).transition().delay(ze).attrTween("d",function(nn){var an=H.interpolate(nn.outerRadius,Ae);return function(tn){return nn.outerRadius=an(tn),c(nn)}})}function Xt(le){var Ae=void 0;return le.innerRadius=0,Ae=H.interpolate({startAngle:0,endAngle:0},le),function(ze){return c(Ae(ze))}}function ae(le,Ae){var ze=l/5;C.wrapText.call(null,0,ze,Ae,le.node())}return Nt.centeredTextFunction=function(le){return arguments.length?(K=le,this):K},Nt.colorSchema=function(le){return arguments.length?(J=le,this):J},Nt.emptyDataConfig=function(le){return arguments.length?(ht=le,this):ht},Nt.exportChart=function(le,Ae){D.call(Nt,L,le,Ae)},Nt.externalRadius=function(le){return arguments.length?(l=le,this):l},Nt.hasHoverAnimation=function(le){return arguments.length?(F=le,this):F},Nt.hasFixedHighlightedSlice=function(le){return arguments.length?(ut=le,this):ut},Nt.hasLastHoverSliceHighlighted=function(le){return arguments.length?(B=le,this):B},Nt.height=function(le){return arguments.length?(b=le,this):b},Nt.highlightSliceById=function(le){return arguments.length?(rt=le,this):rt},Nt.internalRadius=function(le){return arguments.length?(s=le,this):s},Nt.isAnimated=function(le){return arguments.length?(et=le,this):et},Nt.loadingState=function(le){return arguments.length?(g=le,this):g},Nt.margin=function(le){return arguments.length?(h=I({},h,le),this):h},Nt.numberFormat=function(le){return arguments.length?(ct=le,this):ct},Nt.on=function(){var le=vt.on.apply(vt,arguments);return le===vt?Nt:le},Nt.orderingFunction=function(le){return arguments.length?(bt=le,this):bt},Nt.percentageFormat=function(le){return arguments.length?(tt=le,this):tt},Nt.radiusHoverOffset=function(le){return arguments.length?(y=le,this):y},Nt.width=function(le){return arguments.length?(w=le,this):w},Nt}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(Y){for(var X=1;X0&&E.select("g.legend-container-group").attr("transform","translate("+J+",0)")):function(){E.select(".legend-group").selectAll("g").remove(),(s=E.select(".legend-group").selectAll("g.legend-line").data(c)).enter().append("g").classed("legend-line",!0).append("g").classed("legend-entry",!0).attr("data-item",y).attr("transform",function(at,bt){return"translate("+(d+rt())+","+(bt+1)*(R/(c.length+1))+")"}).merge(s).append("circle").classed("legend-circle",!0).attr("cx",d/2).attr("cy",-5).attr("r",d/2).style("fill",x).style("stroke-width",1),E.select(".legend-group").selectAll("g.legend-line").selectAll("g.legend-entry").append("text").classed("legend-entry-name",!0).text(P).attr("x",rt()).style("font-size","12px").style("letter-spacing","0.5px"),b?E.select(".legend-group").selectAll("g.legend-line").selectAll("g.legend-entry").append("text").classed("legend-entry-value",!0).text(m).attr("x",N-40).style("font-size","12px").style("letter-spacing","0.8px").style("text-anchor","end").style("startOffset","100%"):function(){var at=E.select("g.legend-container-group").node().getBoundingClientRect().width,bt=D-at,mt=bt/2-at/2;bt>0&&E.select("g.legend-container-group").attr("transform","translate("+mt+",0)")}(),E.select(".legend-group").selectAll("g.legend-line").exit().transition().style("opacity",0).remove()}(),w&&(et(),nt(w))})}function et(){E.select(".legend-group").selectAll("g.legend-entry").classed("is-faded",!1)}function nt(G){var ut=E.select('[data-item="'+G+'"]');ut.nodes().length&&(E.select(".legend-group").selectAll("g.legend-entry").classed("is-faded",!0),ut.classed("is-faded",!1))}function rt(){return o*d}return L.clearHighlight=function(){et()},L.colorSchema=function(G){return arguments.length?(p=G,this):p},L.height=function(G){return arguments.length?(C=G,this):C},L.highlight=function(G){et(),nt(G)},L.highlightEntryById=function(G){return arguments.length?(w=G,this):w},L.isHorizontal=function(G){return arguments.length?(h=G,this):h},L.margin=function(G){return arguments.length?(A=I({},A,G),this):A},L.marginRatio=function(G){return arguments.length?(o=G,this):o},L.markerSize=function(G){return arguments.length?(d=G,this):d},L.numberFormat=function(G){return arguments.length?(k=G,this):k},L.unit=function(G){return arguments.length?(S=G,this):S},L.width=function(G){return arguments.length?(D=G,this):D},L}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=function(Z,H){if(Array.isArray(Z))return Z;if(Symbol.iterator in Object(Z))return function(_,j){var A=[],D=!0,C=!1,d=void 0;try{for(var o,k=_[Symbol.iterator]();!(D=(o=k.next()).done)&&(A.push(o.value),!j||A.length!==j);D=!0);}catch(S){C=!0,d=S}finally{try{!D&&k.return&&k.return()}finally{if(C)throw d}}return A}(Z,H);throw new TypeError("Invalid attempt to destructure non-iterable instance")},Y=Object.assign||function(Z){for(var H=1;H=0||Object.prototype.hasOwnProperty.call(ii,Xi)&&(br[Xi]=ii[Xi]);return br}(pr,["dates"]),Ur=Nn.map(function(ii){return{date:new Date(ii[tn]),value:+ii[xn]}});return Rr.push(Y({dates:Ur},Ir)),Rr},[]),dataByDate:dr,dataRange:Zn}}(gn);ze=Ke.dataByTopic,nn=Ke.dataByDate,an=Ke.dataRange;var hn,mn,dn,cr=Wt?300:0;ht=nt-et.left-et.right-cr,tt=rt-et.top-et.bottom,function(){var rr=H.min(ze,function(pr){var Nn=pr.dates;return H.min(Nn,de)}),fr=H.max(ze,function(pr){var Nn=pr.dates;return H.max(Nn,de)}),dr=H.max(ze,function(pr){var Nn=pr.dates;return H.max(Nn,Ne)}),Zn=H.min(ze,function(pr){var Nn=pr.dates;return H.min(Nn,Ne)}),Or=Zn<0?Zn:0;ct=d.scaleTime().domain([rr,fr]).rangeRound([0,ht]),U=d.scaleLinear().domain([Or,Math.abs(dr)]).rangeRound([tt,0]).nice();var Rr=(J=d.scaleOrdinal().range(mt).domain(ze.map(Be))).range();Ct=J.domain().reduce(function(pr,Nn,Ir){return pr[Nn]=Rr[Ir],pr},{})}(),function(rr){B||(B=k.select(rr).append("svg").classed("britechart line-chart",!0),function(){var fr=B.append("g").classed("container-group",!0).attr("transform","translate("+et.left+","+et.top+")");fr.append("g").classed("x-axis-group",!0).append("g").classed("axis x",!0),fr.selectAll(".x-axis-group").append("g").classed("month-axis",!0),fr.append("g").classed("y-axis-group",!0).append("g").classed("axis y",!0),fr.append("g").classed("grid-lines-group",!0),fr.append("g").classed("chart-group",!0),Wt&&fr.append("g").classed("legend-group",!0),fr.append("g").classed("metadata-group",!0)}()),B.attr("width",nt).attr("height",rt)}(this),function(){var rr=void 0,fr=void 0;if(Ft==="custom"&&typeof At=="string")rr={tick:Ot,format:S.timeFormat(At)},fr=null;else{var dr=p(nn,nt,Ft,St);rr=dr.minor,fr=dr.major,q=_.axisBottom(ct).ticks(fr.tick).tickSize(0,0).tickFormat(fr.format)}K=_.axisBottom(ct).ticks(rr.tick).tickSize(10,0).tickPadding(5).tickFormat(rr.format),at=_.axisLeft(U).ticks(Ht).tickSize([0]).tickPadding(5).tickFormat(Te),function(Zn,Or){B.select(".grid-lines-group").selectAll("line").remove(),(Ge==="horizontal"||Ge==="full")&&B.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(U.ticks(Or)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-bt-30).attr("x2",ht).attr("y1",function(Rr){return U(Rr)}).attr("y2",function(Rr){return U(Rr)}),Ge!=="vertical"&&Ge!=="full"||B.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(ct.ticks(Zn)).enter().append("line").attr("class","vertical-grid-line").attr("y1",0).attr("y2",tt).attr("x1",function(Rr){return ct(Rr)}).attr("x2",function(Rr){return ct(Rr)}),B.select(".grid-lines-group").selectAll("line.extended-x-line").data([0]).enter().append("line").attr("class","extended-x-line").attr("x1",-bt-30).attr("x2",ht).attr("y1",rt-et.bottom-et.top).attr("y2",rt-et.bottom-et.top)}(rr.tick,Ht)}(),function(){if(B.select(".x-axis-group .axis.x").attr("transform","translate(0, "+tt+")").call(K),Ft!=="custom"&&B.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(tt+28)+")").call(q),se){ne&&B.selectAll(".x-axis-label").remove();var rr=ht/2,fr=tt+28+36;ne=B.select(".x-axis-group").append("text").attr("x",rr).attr("y",fr).attr("text-anchor","middle").attr("class","x-axis-label").text(se)}if(B.select(".y-axis-group .axis.y").attr("transform","translate("+-bt+", 0)").call(at).call(De),te){Rt&&B.selectAll(".y-axis-label").remove();var dr=-Bt-bt,Zn=-tt/2;Rt=B.select(".y-axis-group").append("text").attr("x",Zn).attr("y",dr).attr("text-anchor","middle").attr("transform","rotate(270)").attr("class","y-axis-label").text(te)}}(),function(){if(an){var rr=o.area().curve(m[Ae]).x(function(fr){var dr=fr.date;return ct(dr)}).y0(function(fr){var dr=fr.min;return U(dr)}).y1(function(fr){var dr=fr.max;return U(dr)});B.select(".chart-group").append("g").attr("class","area").append("path").data([an]).attr("class","area").attr("d",rr)}}(),hn=void 0,mn=void 0,mn=o.line().curve(m[Ae]).x(function(rr){var fr=rr.date;return ct(fr)}).y(function(rr){var fr=rr.value;return U(fr)}),hn=B.select(".chart-group").selectAll(".line").data(ze,Be),st=hn.enter().append("g").attr("class","topic").append("path").attr("class","line").merge(hn).attr("id",function(rr){return rr.topic}).attr("d",function(rr){var fr=rr.dates;return mn(fr)}).style("stroke",function(rr){return fr=rr.topic,J(fr);var fr}).style("opacity",function(rr){return rr.hasOwnProperty("show")?rr.show?1:0:1}).style("stroke-dasharray",function(rr){return!!rr.hasOwnProperty("show")&&!!rr.dashed&&[.5,4]}),hn.exit().remove(),function(){if(Wt){var rr=Number.parseInt(ht)+Number.parseInt(et.right);Vn=B.selectAll(".legend-group").append("g").attr("transform","translate("+rr+", 0)").classed("tooltip-text",!0),Mn=Vn.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),Vn.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),fn=Vn.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");var fr=void 0;fr=ze[0].hasOwnProperty("show")?ze.filter(function(pr){return pr.show}):ze;for(var dr=0;drF&&(zt||(zt=B.select(".metadata-group").append("rect").attr("class","overlay").attr("y1",0).attr("y2",rt).attr("height",tt).attr("width",ht).attr("fill","rgba(0, 0, 0, 0)").style("display","none")),re||(re=B.select(".metadata-group").append("g").attr("class","hover-marker vertical-marker-container").attr("transform","translate(9999, 0)"),ve=re.selectAll("path").data([{x1:0,y1:0,x2:0,y2:0}]).enter().append("line").classed("vertical-marker",!0).attr("x1",0).attr("y1",tt).attr("x2",0).attr("y2",0)),B.on("mouseover",function(rr){(function(fr,dr){zt.style("display","block"),ve.classed("bc-is-active",!0),fe.call("customMouseOver",fr,dr,k.mouse(fr))})(this,rr)}).on("mouseout",function(rr){(function(fr,dr){zt.style("display","none"),ve.classed("bc-is-active",!1),fe.call("customMouseOut",fr,dr,k.mouse(fr))})(this,rr)}).on("mousemove",function(rr){var fr,dr,Zn,Or,Rr,pr,Nn,Ir;fr=this,dr=k.mouse(fr),Zn=I(dr,2),Or=Zn[0],Rr=Zn[1],pr=-et.left,Nn=vn(Or+pr),Ir=void 0,Nn&&(pn(Ir=ct(new Date(Nn.date))),$e(Nn),fe.call("customMouseMove",fr,Nn,Ct,Ir,Rr))})),pt&&function(){B.select(".chart-group").selectAll(".data-points-container").remove();var rr=st.nodes().reduce(function(fr,dr){return fr[dr.id]=dr,fr},{});nn.reduce(function(fr,dr){var Zn=dr.topics.map(function(Or){return{topic:Or,node:rr[Or.name]}});return fr=[].concat(X(fr),X(Zn))},[])}(),B.on("touchmove",function(rr){(function(fr,dr){fe.call("customTouchMove",fr,dr,k.touch(fr))})(this,rr)}),Xt&&(dn=vn(ht))&&(pn(ct(new Date(dn.date))),$e(dn))})}function De(we){we.selectAll(".tick text").attr("transform","translate(0, -7)")}function Te(we){var gn=void 0;return gn=L(we)?c:E,he&&(gn=C.format(he)),gn(we)}function Me(we){return new Date(we).toLocaleDateString()}function Xe(we){var gn,Ke,hn=void 0,mn=void 0;gn=we.topicName,Ke=we.sum.toLocaleString(),mn=fn.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",Qn).style("fill","#000000").style("font-size","12px").text(gn).call(xe,200,12,-25),hn=fn.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",Qn).style("fill","#000000").style("font-size","12px").text(Ke),Cr=mn.node().getBBox().height?mn.node().getBBox().height:Cr,Cr+5,yn=hn.node().getBBox().width?hn.node().getBBox().width:yn,hn.attr("x",300-yn-75),fn.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",Qn+8).attr("r",5).style("fill",Ct[we.topic]).style("stroke-width",1),Qn+=Cr+7}function vn(we){var gn,Ke,hn,mn=ct.invert(we),dn=(0,H.bisector(de).left)(nn,mn,1),cr=nn[dn],rr=nn[dn-1],fr=void 0;return rr&&cr?(gn=mn,Ke=cr,hn=rr,fr=new Date(gn).getTime()-new Date(Ke.date).getTime()>new Date(hn.date).getTime()-new Date(gn).getTime()?Ke:hn):fr=cr,fr}function xe(we,gn,Ke){var hn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;we.each(function(){var mn,dn,cr,rr,fr,dr,Zn;for(mn=(we=k.select(this)).text().split(/\s+/).reverse(),cr=[],rr=0,fr=we.attr("y"),dr=parseFloat(we.attr("dy")),Zn=we.text(null).append("tspan").attr("x",hn).attr("y",fr).attr("dy",dr+"em");dn=mn.pop();)cr.push(dn),Zn.text(cr.join(" ")),h.getTextWidth(cr.join(" "),Ke,"Karla, sans-serif")>gn&&(cr.pop(),Zn.text(cr.join(" ")),rr<4&&(cr=[dn],Zn=we.append("tspan").attr("x",hn).attr("y",fr).attr("dy",1.2*++rr+dr+"em").text(dn)))})}function $e(we){re.selectAll(".circle-container").remove();var gn=st.nodes().reduce(function(mn,dn){return mn[dn.id]=dn,mn},{}),Ke=ze.filter(function(mn){return!mn.show}).map(function(mn){return mn.topicName}),hn=we.topics.map(function(mn){return{topic:mn,node:gn[mn.name]}}).filter(function(mn){return!!mn.topic}).sort(function(mn,dn){return Ct[mn.topic.name]Ur.x+Rr;){var ui=(Nn+Ir)/2;if(Ur=Zn.getPointAtLength(ui),dr0?"+":"")+C.format(st)(Ne)+"%"},se=function(de){var Ne=de.parentCount,Be=de.value;return Ne?N(Ne)+B:N(Be)+B},ne=function(de){var Ne=de.name;return R(Ne)+tt*(3/8)};function te(de){de.each(function(Ne){var Be=b.left+b.right;l=p>600?p-Be-1.2*mt-100:p-Be,s=y-b.top-b.bottom;var fe=function(ke){var De=ke.reduce(function(Me,Xe){return Xe.name=String(Xe[Ae]),Xe.pctOfSet=+Xe.pctOfSet,Xe.pctChange=+Xe[ze],Xe.value=+Xe[ae],Xe.width=+Xe.width,[].concat(Y(Me),[Xe])},[]),Te=De.slice();return{data:De,dataZeroed:Te}}(Ne);m=fe.data,x=fe.dataZeroed,function(){Ht=function(Te,Me){var Xe=Te.length,vn=Z.sum(Te,Me),xe=re(Te),$e=(s-(Xe-1)*J*s/Xe-2*q*s/Xe)/vn;if(xe.length===0)return $e;var pn=d.scalePow().exponent(1/xe.length).domain([0,100]).range([0,10*xe.length])(Xe);return $e-(nn?2*pn:pn)}(m,Rt),zt=function(Te,Me,Xe){var vn=Bt(Te,Me,Xe),xe=Te.length,$e=function(pn,we){var gn=[];return pn.forEach(function(Ke){var hn=we.map(function(mn,dn){return mn.name===Ke||mn.parent===Ke?dn:null}).filter(function(mn){return mn});gn.push(hn)}),gn}(re(Te),Te);return function(pn,we){var gn=J*s/xe,Ke=q*s/xe+Z.sum(Te.slice(0,we),Me)*Xe+we*gn+vn(we)/2;return $e.forEach(function(hn){hn[0]>1&&we>=hn[0]&&(Ke+=nn?20:K),we>hn[hn.length-1]&&(Ke+=nn?20:K)}),Ke+b.top}}(m,Rt,Ht),Bt(m,Rt,Ht);var ke=Math.min(rt*H.max(m,xn));N=d.scaleLinear().domain([0,ke]).rangeRound([0,l]);var De=m.map(zt);R=d.scaleOrdinal().domain(m.map(tn)).range(De),E=m.map(function(Te){return Te}).map(function(Te,Me){return{name:Te.name,color:c[Me%c.length]}}),L=function(Te){return E.filter(function(Me){return Me.name===Te})[0].color}}(),at=j.axisBottom(N).ticks(nt,G).tickSizeInner([-s]),bt=j.axisLeft(R),function(ke){g=ke,vt||((vt=o.select(ke).append("svg").classed("britechart row-chart",!0)).append("rect").classed("export-wrapper",!0).attr("width",p).attr("height",y).attr("fill","white"),function(){var De=vt.append("g").classed("container-group",!0).attr("transform","translate("+(b.left+mt)+", "+b.top+")");De.append("g").classed("chart-group",!0),De.append("g").classed("title-group",!0),De.append("g").classed("x-axis-group axis",!0),De.append("g").attr("transform","translate("+-1*mt+", 0)").classed("y-axis-group axis",!0),De.append("g").classed("metadata-group",!0)}()),vt.attr("width",p).attr("height",y)}(this),function(){if(!(!m||!m[0])){var ke=m[0].parentCount?N(m[0].parentCount):1;ke=ke>0?ke:1;var De=m[0].parentCount;vt.select(".title-group").selectAll("g").remove(),vt.select(".title-group").selectAll("text").remove();var Te=window.navigator.userAgent,Me=Te.indexOf("Edge")>-1||Te.indexOf("MSIE")>-1;if(pt&&De){for(var Xe=pt+" "+De.toLocaleString(),vn=k.getTextWidth(Xe,ct,"sans-serif"),xe=nn?100:40,$e=b.left+ke-xe-0,pn=!1;vn>$e;)pt=pt.slice(0,-1),pn=!0,Xe=pt+"... "+De.toLocaleString(),vn=k.getTextWidth(Xe,ct,"sans-serif");var we=vt.select(".title-group").append("text").text(null).attr("y",10);pt=pn?pt+"...":pt;var gn=we.append("tspan").text(pt).attr("font-size",ct);we.append("tspan").text(De.toLocaleString()).classed("count",!0).attr("dx",5).attr("font-size",ct).attr("font-weight",600);var Ke=gn.node().getBoundingClientRect().width+10;nn&&Me&&(Ke+=40);var hn=ke-Ke-5;we.attr("x",hn)}if(Wt){var mn=Wt.toLocaleString(),dn=Pt+" "+mn,cr=k.getTextWidth(dn,ct,"Karla, sans-serif"),rr=nn&&Me?10:0,fr=Me?5:0,dr=vt.select(".title-group").append("text").text(null).attr("x",l-cr-rr-10-fr-5).attr("y",10);dr.append("tspan").text(Pt).attr("font-size",ct),dr.append("tspan").text(mn).classed("count",!0).attr("dx",5).attr("font-size",ct).attr("font-weight",600);var Zn=p>600?l-dr.node().getBoundingClientRect().width-10-rr:l-dr.node().getBoundingClientRect().width-10;dr.attr("x",Zn)}Xt&&p>600&&vt.select(".title-group").append("text").text("Change in past "+Xt).attr("font-size",ct).attr("x",l+5).attr("y",10)}}(),function(){var ke=void 0;Nt?(Vn(ke=vt.select(".chart-group").selectAll(".row").data(x)),m&&m[0]&&m[0].parentCount&&vt.select(".chart-group").append("line").classed("focus-separator",!0).attr("y1",-10).attr("x1",N(m[0].parentCount)).attr("y2",s+b.top+b.bottom).attr("x2",N(m[0].parentCount)).style("stroke","#e7e8e9").style("stroke-width",1),vt.select(".chart-group").append("line").classed("pct-separator",!0).attr("y1",-10).attr("x1",l).attr("y2",s).attr("x2",l).style("stroke","#000").style("stroke-width",1),function(De){De.attr("x",0).attr("y",function(Te,Me){return R(Te.name)-Ht*Te.width/2}).attr("height",function(Te){return Ht*Te.width}).attr("fill",function(Te){return L(Te.name)}).attr("width",0).transition().duration(800).ease(Ft).attr("width",function(Te){var Me=Te.value;return N(Me)})}(ke=vt.select(".chart-group").selectAll(".row rect.pct").data(m))):Vn(ke=vt.select(".chart-group").selectAll("rect").data(m)),ke.exit().transition().style("opacity",0).remove()}(),function(){var ke=b.left;vt.select(".x-axis-group.axis").attr("transform","translate(0, "+s+")").call(at),vt.select(".y-axis-group.axis").call(bt),nn||(vt.selectAll(".y-axis-group.axis .tick").call(cn),ke=b.left-mt-30),vt.selectAll(".y-axis-group.axis .tick text").classed("child",function(De){return m.find(function(Te){return Te.name===De}).parent}).classed("print-mode",nn).on("mouseover",fn).on("mouseout",Mn).call(Ge,ke).selectAll("tspan").attr("font-size",he),vt.selectAll(".y-axis-group.axis .tick text").classed("hidden",function(De){return m.find(function(Te){return Te.name===De}).splitterText}),nn||vt.selectAll(".y-axis-group.axis .tick").classed("expandable",function(De){return function(Te,Me){return Te.find(function(Xe){return Xe.name===Me}).hasChildren}(m,De)}).call(yn)}(),function(){var ke=vt.selectAll(".row-wrapper"),De=Number(ke.size())-1,Te=vt.select(".row_"+De).select(".bg-hover");if(Te._groups[0]&&Te._groups[0][0]){var Me=Number(Te.attr("y"))+Number(Te.attr("height"))+40;vt.select("line.pct-separator").attr("y2",Me),vt.select(".export-wrapper").attr("height",Me),vt.attr("height",Me)}}()})}function Rt(de){return+de.width}function Bt(de,Ne,Be){return function(fe){return Ne(de[fe])*Be}}var Ht=void 0,zt=void 0;function re(de){return[].concat(Y(new Set(de.filter(function(Ne){return Ne.parent&&Ne.isParent===!1}).map(function(Ne){return Ne.parent}))))}function ve(de){return m.find(function(Ne){return(Ne.name===de.name||Ne.name===de)&&Ne.isParent})}function he(de){return ve(de)?tt+"px":ct+"px"}function Ge(de,Ne){if(le){var Be=Ct>1?.8:1.2;k.wrapTextWithEllipses(de,Ne,0,Ct,Be)}}function cn(de){de.each(function(){var Ne=(de=o.select(this)).node().getBBox().height/2,Be=de.append("svg").attr("class",function(fe){var ke;return(ke=fe,m.find(function(De){return De.name===ke})).splitterText?"hidden":"visibility visibility-"+Qn(fe)}).attr("x",30-b.left).attr("y",-Ne).attr("width","300").attr("height","300").attr("viewBox","0 0 600 600").attr("fill","none").attr("opacity",0);Be.append("rect").attr("x",-10).attr("y",-10).attr("height","50").attr("width","50").attr("fill","#d6e8fa").on("mouseover",fn).on("mouseout",Mn),Be.append("path").attr("d","M 10,10 L 30,30 M 30,10 L 10,30").attr("stroke","#0072ce").attr("stroke-width","2")})}function yn(de){de.each(function(){o.select(this).selectAll("polygon").remove(),(de=o.select(this)).append("polygon").attr("transform",function(Ne){return m.find(function(Be){return Be.parent===Ne})?"translate("+(mt-5)+", 2.5) rotate(180)":"translate("+(mt-15)+", -2.5)"}).attr("points",function(Ne){return"0,0 10,0 5,5"}).style("fill",function(Ne){return"#0072ce"}).style("fill-opacity",function(Ne){return m.find(function(Be){return Be.name===Ne&&Be.hasChildren})?1:0})})}function Vn(de){var Ne=de.enter().append("g").attr("class",function(Me,Xe){return"row_"+Xe+" row-wrapper"}),Be=Ne.filter(function(Me){return Me.splitterText});Ne.append("rect").attr("class","bg").on("click",function(Me){Cr(this,Me,l,s)}).attr("x",0).attr("y",function(Me,Xe){return R(Me.name)-Ht*Me.width/2}).attr("height",function(Me){return Ht*Me.width}).attr("width",l).attr("fill",function(Me){return Me.splitterText?"#fff":Ot}),Ne.append("rect").attr("class","bg-hover").attr("x",-b.left).attr("y",function(Me,Xe){return R(Me.name)-Ht*Me.width/2}).attr("width",p).attr("height",function(Me){return Ht*Me.width}).on("mouseover",fn).on("mouseout",Mn).attr("fill-opacity",0).attr("fill",function(Me){return Me.splitterText?"#fff":"#d6e8fa"}),Ne.append("rect").attr("class","focus-bar").attr("x",0).attr("y",function(Me,Xe){return R(Me.name)-Ht*Me.width/2}).attr("height",function(Me){return Ht*Me.width}).attr("width",function(Me){var Xe=Me.parentCount;return Xe?N(Xe):0}).attr("fill","#e7e8e9").attr("fill-opacity",function(Me){return Me.parent?.5:1}),Ne.append("rect").attr("class","pct").on("mouseover",function(Me,Xe,vn){(function(xe,$e,pn,we,gn){if(!$e.splitterText){an.call("customMouseOver",xe,$e,o.mouse(xe),[we,gn]),fn($e),Ke=o.select(xe),Ke.attr("fill",function(hn){var mn=hn.name;return mn?A.color(L(mn)).darker():""});var Ke}})(this,Me,0,l,s)}).on("mousemove",function(Me){(function(Xe,vn,xe,$e){vn.splitterText||an.call("customMouseMove",Xe,vn,o.mouse(Xe),[xe,$e])})(this,Me,l,s)}).on("mouseout",function(Me,Xe,vn){(function(xe,$e,pn,we,gn){$e.splitterText||(an.call("customMouseOut",xe,$e,o.mouse(xe),[we,gn]),Mn($e),pn.forEach(function(Ke){o.select(Ke).attr("fill",function(hn){var mn=hn.name;return mn?L(mn):""})}))})(this,Me,vn,l,s)}).on("click",function(Me){Cr(this,Me,l,s)}).attr("x",0).attr("y",function(Me,Xe){return R(Me.name)-Ht*Me.width/2}).attr("height",function(Me){return Ht*Me.width}).attr("width",function(Me){var Xe=Me.value;return N(Xe)}).attr("fill",function(Me){return L(Me.name)}).attr("fill-opacity",function(Me){return Me.parent?.5:1});var fe=o.select(".chart-group .bg");if(ut&&fe.node()){var ke=fe.node().getBBox().x||fe.node().getBoundingClientRect().width;Ne.append("text").attr("class","percentage-label").classed("child",function(Me){return!ve(Me)}).attr("x",se).attr("y",ne).text(function(Me){return function(Xe,vn){var xe=Xe.isNotFilter,$e=Xe.pctOfSet,pn=Xe.parent,we=Xe.value,gn=Xe.isParent;if(!Xe.splitterText){var Ke="";if(xe)return"";$e&&!pn&&p>600&&(Ke=" | "+$e+"%"),Number(we)===1&&(ht=ht.replace(/s$/,""));var hn=C.format(st)(we)+" "+ht+Ke,mn=gn?tt:ct,dn=k.getTextWidth(hn,mn,"sans-serif")+10,cr=N(we);return dn>cr&&dn>vn-cr?C.format(st)(we):hn}}(Me,ke)}).attr("font-size",he).attr("fill",function(Me,Xe){var vn=N(Me.value),xe=Ne.selectAll("text")._groups[Xe][0].getComputedTextLength()+10;return ke>0&&ke-vn0&&ke-vn600){var Te=Ne.append("g").attr("transform","translate("+(l+10)+", 0)").attr("class","change-label-group");Te.append("text").attr("y",ne).attr("font-size",he).attr("font-weight","600").style("fill",function(Me){return Me.pctChange===0||isNaN(Me.pctChange)?"#919395":Me.pctChange>0?St:At}).text(un),Te.append("polygon").attr("transform",function(Me){var Xe=ne(Me);return ve(Me)?Me.pctChange<0?"translate(65, "+(Xe+5)+") rotate(180) scale(1.5)":"translate(50, "+(Xe-15)+") scale(1.5)":Me.pctChange<0?"translate(50, "+(Xe+5)+") rotate(180)":"translate(40, "+(Xe-10)+")"}).attr("points",function(Me){return"2,8 2,13 8,13 8,8 10,8 5,0 0,8"}).style("fill",function(Me){return Me.pctChange>0?St:At}).attr("class",function(Me){return Me.pctChange<0?"down":"up"}).attr("fill-opacity",function(Me){var Xe=Me.pctChange;return isNaN(Xe)||Xe===0?0:1})}}function fn(de,Ne){if(!de.splitterText){var Be=Ne;typeof de.name!="string"&&typeof de!="string"||(Be=de.name?Qn(de.name):Qn(de)),o.select(g).select(".tick svg.visibility-"+Be).attr("opacity",1),o.select(g).select("g.row_"+Be+" .bg-hover").attr("fill-opacity",1)}}function Mn(de,Ne){if(!de.splitterText){var Be=Ne;typeof de.name!="string"&&typeof de!="string"||(Be=de.name?Qn(de.name):Qn(de)),o.select(g).select(".tick svg.visibility-"+Be).attr("opacity",0),o.select(g).select("g.row_"+Be+" .bg-hover").attr("fill-opacity",0)}}function Qn(de){return m.findIndex(function(Ne){return Ne.name===de})}function Cr(de,Ne,Be,fe){an.call("customClick",de,Ne,o.mouse(de),[Be,fe])}return te.backgroundColor=function(de){return arguments.length?(Ot=de,this):Ot},te.upArrowColor=function(de){return arguments.length?(St=de,this):St},te.downArrowColor=function(de){return arguments.length?(At=de,this):At},te.colorSchema=function(de){return arguments.length?(c=de,this):c},te.enableLabels=function(de){return arguments.length?(ut=de,this):ut},te.enableYAxisRight=function(de){return arguments.length?(F=de,this):F},te.exportChart=function(de,Ne){S.call(te,vt,de,Ne)},te.height=function(de){return arguments.length?(y=de,this):y},te.isAnimated=function(de){return arguments.length?(Nt=de,this):Nt},te.labelsMargin=function(de){return arguments.length?(B=de,this):B},te.labelsNumberFormat=function(de){return arguments.length?(st=de,this):st},te.labelsSuffix=function(de){return arguments.length?(ht=de,this):ht},te.labelsSize=function(de){return arguments.length?(tt=de,this):tt},te.labelsSizeChild=function(de){return arguments.length?(ct=de,this):ct},te.pctChangeLabelSize=function(de){return arguments.length?(U=de,this):U},te.loadingState=function(de){return arguments.length?(P=de,this):P},te.margin=function(de){return arguments.length?(b=I({},b,de),this):b},te.nameLabel=function(de){return arguments.length?(Ae=de,this):Ae},te.numberFormat=function(de){return arguments.length?(G=de,this):G},te.on=function(){var de=an.on.apply(an,arguments);return de===an?te:de},te.percentageAxisToMaxRatio=function(de){return arguments.length?(rt=de,this):rt},te.isPrintMode=function(de){return arguments.length?(nn=de,this):nn},te.outerPadding=function(de){return arguments.length?(q=de,this):q},te.padding=function(de){return arguments.length?(J=de,this):J},te.paddingBetweenGroups=function(de){return arguments.length?(K=de,this):K},te.pctChangeLabel=function(de){return arguments.length?(ze=de,this):ze},te.yAxisLineWrapLimit=function(de){return arguments.length?(Ct=de,this):Ct},te.labelsFocusTitle=function(de){return arguments.length?(pt=de,this):pt},te.labelsTotalCount=function(de){return arguments.length?(Wt=de,this):Wt},te.labelsTotalText=function(de){return arguments.length?(Pt=de,this):Pt},te.labelsInterval=function(de){return arguments.length?(Xt=de,this):Xt},te.valueLabel=function(de){return arguments.length?(ae=de,this):ae},te.width=function(de){return arguments.length?(p=de,this):p},te.xTicks=function(de){return arguments.length?(nt=de,this):nt},te.yAxisPaddingBetweenChart=function(de){return arguments.length?(mt=de,this):mt},te.yTicks=function(de){return arguments.length?(et=de,this):et},te.wrapLabels=function(de){return arguments.length?(le=de,this):le},te}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W){Mt.exports=ft},function(Mt,W,u){"use strict";var T,I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},Y=function(X,Z){if(Array.isArray(X))return X;if(Symbol.iterator in Object(X))return function(H,_){var j=[],A=!0,D=!1,C=void 0;try{for(var d,o=H[Symbol.iterator]();!(A=(d=o.next()).done)&&(j.push(d.value),!_||j.length!==_);A=!0);}catch(k){D=!0,C=k}finally{try{!A&&o.return&&o.return()}finally{if(D)throw C}}return j}(X,Z);throw new TypeError("Invalid attempt to destructure non-iterable instance")};(T=function(X){var Z=u(11),H=u(9),_=u(2),j=(u(8),u(28)),A=u(35).axisTimeCombinations,D=u(24),C=D.formatIntegerValue,d=D.formatDecimalValue,o=D.isInteger,k=u(26).getTextWidth;return function(){var S=2,h=2,w=2,b=2,g="Tooltip title",p=!0,y=void 0,P={y:-55,x:0},m=void 0,x=void 0,l=void 0,s=void 0,N=48,R=0,c=37,E=void 0,L=void 0,et=Z.easeQuadInOut,nt=void 0,rt="date",G="value",ut="name",F="topics",B=A.DAY_MONTH,st=null,ht=null,tt=[],ct=null,U=null,J=j.timeFormat("%b %d, %Y"),K=j.timeFormat("%b %d, %I %p"),q=void 0,at=void 0;function bt(St){St.each(function(pt){250-b-h,45-S-w,function(Pt){at||((at=_.select(Pt).append("g").classed("britechart britechart-tooltip",!0).style("visibility","hidden")).append("g").classed("tooltip-container-group select-disable",!0).attr("transform","translate( "+b+", "+S+")").append("g").classed("tooltip-group",!0),m=at.selectAll(".tooltip-group").append("g").classed("tooltip-text",!0),y=m.append("rect").classed("tooltip-text-container",!0).attr("x",-54.5).attr("y",0).attr("width",250).attr("height",N).attr("rx",3).attr("ry",3).style("fill","#FFFFFF").style("stroke","#D2D6DF").style("stroke-width",1),s=m.append("text").classed("tooltip-title",!0).attr("x",-46.5).attr("dy",".35em").attr("y",16).style("fill","#6D717A"),x=m.append("line").classed("tooltip-divider",!0).attr("x1",-46.5).attr("x2",265).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),l=m.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35")),at.transition().attr("width",250).attr("height",45),bt.hide()}(this)})}function mt(St){var pt=St[G];return St.missingValue?"-":function(Pt){if(U!==null)return U(Pt);var Wt=d;return Pt?(ct!==null?Wt=H.format(ct):o(Pt)&&(Wt=C),Wt(Pt)):0}(pt).toString()}function Ct(St){var pt,Pt,Wt=St[ut],Xt=void 0,ae=void 0;pt=St.topicName||Wt,Pt=mt(St),ae=l.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",R).attr("y",c).style("fill","#000000").text(pt).call(Ft,170,-25),Xt=l.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",R).attr("y",c).style("fill","#000000").text(Pt),E=ae.node().getBBox().height?ae.node().getBBox().height:E,N+=E+5,L=Xt.node().getBBox().width?Xt.node().getBBox().width:L,Xt.attr("x",250-L-10-62.5),l.append("circle").classed("tooltip-circle",!0).attr("cx",-39.5).attr("cy",c+8).attr("r",5).style("fill",nt[Wt]).style("stroke-width",1),c+=E+7}function vt(St,pt,Pt){var Wt,Xt,ae=(Wt=Y([pt,Pt],2),Xt=Wt[0],Wt[1],[Xt-250<0?65:-205,P.y]),le=Y(ae,2),Ae=le[0],ze=le[1];y.attr("width",250).attr("height",N+10),m.transition().duration(100).ease(et).attr("transform","translate("+Ae+", "+ze+")"),x.attr("x2",190)}function Nt(St){var pt=g,Pt=function(Wt){var Xt=st||B,ae=null,le={month:"short",day:"numeric"};return Xt===A.DAY_MONTH||Xt===A.MONTH_YEAR?(ae=J,le.year="numeric"):Xt===A.HOUR_DAY||Xt===A.MINUTE_HOUR?(ae=K,le.hour="numeric"):Xt===A.CUSTOM&&typeof ht=="string"&&(ae=j.timeFormat(ht)),q&&typeof Intl!="undefined"&&(typeof Intl=="undefined"?"undefined":I(Intl))==="object"&&Intl.DateTimeFormat?Intl.DateTimeFormat(q,le).format(Wt):ae(Wt)}(new Date(St[rt]));pt.length?p&&(pt=pt+" - "+Pt):pt=Pt,s.text(pt)}function Ft(St,pt){var Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;St.each(function(){var Wt,Xt,ae,le,Ae,ze,nn;for(Wt=(St=_.select(this)).text().split(/\s+/).reverse(),ae=[],le=0,Ae=St.attr("y"),ze=parseFloat(St.attr("dy")),nn=St.text(null).append("tspan").attr("x",Pt).attr("y",Ae).attr("dy",ze+"em");Xt=Wt.pop();)ae.push(Xt),nn.text(ae.join(" ")),k(ae.join(" "),16,"Karla, sans-serif")>pt&&(ae.pop(),nn.text(ae.join(" ")),le<2&&(ae=[Xt],nn=St.append("tspan").attr("x",Pt).attr("y",Ae).attr("dy",1.2*++le+ze+"em").text(Xt)))})}function Ot(St){var pt=St[F];tt.length?pt=function(Pt){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tt;return Wt.map(function(Xt){return Pt.filter(function(ae){return ae.name===Xt})[0]})}(pt):pt.length&&pt[0].name&&(pt=function(Pt){return Pt.map(function(Wt){return Wt}).sort(function(Wt,Xt){return Wt.name>Xt.name?1:Wt.name===Xt.name?0:-1})}(pt)),l.selectAll("text").remove(),l.selectAll("circle").remove(),Nt(St),N=48,c=37,R=0,pt.forEach(Ct)}function At(St,pt,Pt){Ot(St),vt(0,pt,Pt)}return bt.axisTimeCombinations=A,bt.dateFormat=function(St){return arguments.length?(st=St,this):st||B},bt.dateCustomFormat=function(St){return arguments.length?(ht=St,this):ht},bt.dateLabel=function(St){return arguments.length?(rt=St,this):rt},bt.hide=function(){return at.style("visibility","hidden"),this},bt.locale=function(St){return arguments.length?(q=St,this):q},bt.nameLabel=function(St){return arguments.length?(ut=St,this):ut},bt.numberFormat=function(St){return arguments.length?(ct=St,this):ct},bt.valueFormatter=function(St){return arguments.length?(U=St,this):U},bt.shouldShowDateInTitle=function(St){return arguments.length?(p=St,this):p},bt.show=function(){return at.style("visibility","visible"),this},bt.title=function(St){return arguments.length?(g=St,this):g},bt.tooltipOffset=function(St){return arguments.length?(P=St,this):P},bt.topicsOrder=function(St){return arguments.length?(tt=St,this):tt},bt.topicLabel=function(St){return arguments.length?(F=St,this):F},bt.update=function(St,pt,Pt){var Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return nt=pt,At(St,Pt,Wt),this},bt.valueLabel=function(St){return arguments.length?(G=St,this):G},bt}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=function(Y,X){if(Array.isArray(Y))return Y;if(Symbol.iterator in Object(Y))return function(Z,H){var _=[],j=!0,A=!1,D=void 0;try{for(var C,d=Z[Symbol.iterator]();!(j=(C=d.next()).done)&&(_.push(C.value),!H||_.length!==H);j=!0);}catch(o){A=!0,D=o}finally{try{!j&&d.return&&d.return()}finally{if(A)throw D}}return _}(Y,X);throw new TypeError("Invalid attempt to destructure non-iterable instance")};(T=function(Y){var X=u(0),Z=u(11),H=u(9),_=u(2);return u(8),function(){var j=12,A=12,D=12,C=12,d="",o="value",k="name",S=Z.easeQuadInOut,h=void 0,w=void 0,b=0,g=20,p=".2f",y=function(E){return H.format(p)(E)},P=void 0,m=void 0,x=void 0;function l(E){E.each(function(){P=100-C-A,m=100-j-D,function(L){x||(x=_.select(L).append("g").classed("britechart britechart-mini-tooltip",!0)).append("g").classed("tooltip-container-group",!0).attr("transform","translate( "+C+", "+j+")").append("g").classed("tooltip-group",!0),x.transition().attr("width",100).attr("height",100),l.hide()}(this),w=x.selectAll(".tooltip-group").append("g").classed("tooltip-text select-disable",!0),h=w.append("rect").classed("tooltip-background",!0).attr("width",100).attr("height",100).attr("rx",1).attr("ry",1).attr("y",-j).attr("x",-C).style("fill","#43484e").style("stroke","#43484e").style("stroke-width",1).style("pointer-events","none").style("opacity",.9)})}function s(){for(var E=arguments.length,L=Array(E),et=0;et0}(ut,nt)?nt+g:nt-P-g-A,function(B,st){return B-j-D-m-st>0}(F,rt)?rt+b:rt-m-b-D]}function R(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=E[o]||"",et=E[k]||"",nt=21,rt=22*1.18,G="1em",ut=0,F=void 0,B=void 0,st=void 0;w.selectAll("text").remove(),d&&(st=w.append("text").classed("mini-tooltip-title",!0).attr("dy",G).attr("y",0).style("fill","#43484e").style("font-size",14).text(d),ut=nt+ut),et&&(B=w.append("text").classed("mini-tooltip-name",!0).attr("dy",G).attr("y",ut||0).style("fill","#ffffff").style("font-size",14).text(et),ut=nt+ut),L&&(F=w.append("text").classed("mini-tooltip-value",!0).attr("dy",G).attr("y",ut||0).style("fill","#ffffff").style("font-size",22).style("font-weight",200).text(y(L)),ut=rt+ut),P=s(B,st,F),m=ut}function c(E,L,et){var nt,rt,G,ut;R(E),nt=N(L,et),rt=I(nt,2),G=rt[0],ut=rt[1],x.transition().duration(100).ease(S).attr("height",m+j+D).attr("width",P+C+A).attr("transform","translate("+G+","+ut+")"),h.attr("height",m+j+D).attr("width",P+C+A)}return l.hide=function(){return x.style("visibility","hidden"),this},l.nameLabel=function(E){return arguments.length?(k=E,this):k},l.numberFormat=function(E){return arguments.length?(p=E,this):p},l.valueFormatter=function(E){return arguments.length?(y=E,this):y},l.show=function(){var E;return R(E),x.style("visibility","visible"),this},l.title=function(E){return arguments.length?(d=E,this):d},l.update=function(E,L,et){return c(E,L,et),this},l.valueLabel=function(E){return arguments.length?(o=E,this):o},l}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(Y){for(var X=1;XYt[ce]?-1:Yt[ue]===Yt[ce]?0:1}),Ut=_t.indexOf("Other");if(Ut>=0){var Jt=_t.splice(Ut,1);_t=_t.concat(Jt)}return _t}(dt);var Lt=o.stack().keys(Pt).order(o.stackOrderNone).offset(o.stackOffsetNone);tn=Lt(Qn),nn=Lt(Mn)}(),br=Te?De.maxY:(Xi=ut(Vn.map(function(He){return He.name})),_.max(Mn,function(He){var dt=Xi.map(function(Lt){return He[Lt]});return _.sum(dt)})),tt=d.scaleTime().domain(_.extent(fn,function(He){return He.date})).rangeRound([0,cn]),J=d.scaleLinear().domain([0,br]).rangeRound([yn,0]).nice(),St=Pt.reduce(function(He,dt,Lt){return h({},He,Z({},dt,vt[Lt]))},{}),Kt=ut(Vn.map(function(He){return He.name})),ge={},Kt.forEach(function(He){var dt=Vn.find(function(Lt){return Lt.name===He});dt.hasOwnProperty("show")?ge[He]=dt.show:ge[He]=!0}),pt=ge,function(He){Ge||((Ge=k.select(He).append("svg").classed("britechart stacked-area",!0)).append("rect").classed("export-wrapper",!0).attr("width",B).attr("height",st).attr("fill","white"),function(){var dt=Ge.append("g").classed("container-group",!0).attr("transform","translate("+F.left+","+F.top+")");dt.append("g").classed("x-axis-group",!0).append("g").classed("x axis",!0),dt.selectAll(".x-axis-group").append("g").classed("month-axis",!0),dt.append("g").classed("y-axis-group axis",!0),dt.append("g").classed("grid-lines-group",!0),dt.append("g").classed("y-axis-label",!0),dt.append("g").classed("chart-group",!0),re&&dt.append("g").classed("legend-group",!0),dt.append("g").classed("metadata-group",!0)}()),Ge.attr("width",B).attr("height",st)}(this),function(){var He=void 0,dt=void 0;if(Xt==="custom"&&typeof le=="string")He={tick:ae,format:S.timeFormat(le)},dt=null;else{var Lt=p(fn,B,Xt,Ae);He=Lt.minor,dt=Lt.major,U=j.axisBottom(tt).ticks(dt.tick).tickSize(0,0).tickFormat(dt.format)}ct=j.axisBottom(tt).ticks(He.tick).tickSize(10,0).tickPadding(5).tickFormat(He.format),K=j.axisRight(J).ticks(at).tickSize([0]).tickPadding(5).tickFormat(dn),function(Yt,_t){Ge.select(".grid-lines-group").selectAll("line").remove(),(Cr==="horizontal"||Cr==="full")&&Ge.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(J.ticks(_t)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-Ne-30).attr("x2",cn).attr("y1",function(Ut){return J(Ut)}).attr("y2",function(Ut){return J(Ut)}),Cr!=="vertical"&&Cr!=="full"||Ge.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(tt.ticks(Yt)).enter().append("line").attr("class","vertical-grid-line").attr("y1",0).attr("y2",yn).attr("x1",function(Ut){return tt(Ut)}).attr("x2",function(Ut){return tt(Ut)}),Ge.select(".grid-lines-group").selectAll("line.extended-x-line").data([0]).enter().append("line").attr("class","extended-x-line").attr("x1",-Ne-30).attr("x2",cn).attr("y1",st-F.bottom-F.top).attr("y2",st-F.bottom-F.top)}(He.tick,at)}(),function(){Ge.select(".x-axis-group .axis.x").attr("transform","translate( 0, "+yn+" )").call(ct),Xt!=="custom"&&Ge.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(yn+30)+")").call(U),Ge.select(".y-axis-group.axis").attr("transform","translate( "+-Ne+", 0)").call(K).call(cr),bt&&(mt&&Ge.selectAll(".y-axis-label-text").remove(),mt=Ge.select(".y-axis-label").append("text").classed("y-axis-label-text",!0).attr("x",-yn/2).attr("y",Ct).attr("text-anchor","middle").attr("transform","rotate(270 0 0)").text(bt))}(),function(){if(an&&(Ge.selectAll(".layer-container").remove(),Ge.selectAll(".layer").remove(),Ge.selectAll(".area-outline").remove()),Te)return He=o.line().x(function(Lt){return tt(Lt.date)}).y(function(){return J(0)-1}),(dt=Ge.select(".chart-group")).append("path").attr("class","empty-data-line").attr("d",He(Mn)).style("stroke","url(#empty-data-line-gradient)"),void dt.append("linearGradient").attr("id","empty-data-line-gradient").attr("gradientUnits","userSpaceOnUse").attr("x1",0).attr("x2",tt(Vn[Vn.length-1].date)).attr("y1",0).attr("y2",0).selectAll("stop").data([{offset:"0%",color:Nt[0]},{offset:"100%",color:Nt[1]}]).enter().append("stop").attr("offset",function(Lt){return Lt.offset}).attr("stop-color",function(Lt){return Lt.color});var He,dt;xn=o.area().curve(m[ze]).x(function(Lt){var Yt=Lt.data;return tt(Yt.date)}).y0(function(Lt){return J(Lt[0])}).y1(function(Lt){return J(Lt[1])}),un=o.line().curve(xn.curve()).x(function(Lt){var Yt=Lt.data;return tt(Yt.date)}).y(function(Lt){return J(Lt[1])}),zt?((an=Ge.select(".chart-group").selectAll(".layer").data(tn,we).enter().append("g").classed("layer-container",!0)).append("path").attr("class","layer").attr("d",xn).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0}).style("fill",function(Lt){var Yt=Lt.key;return St[Yt]}),an.append("path").attr("class","area-outline").attr("d",un).style("stroke",function(Lt){var Yt=Lt.key;return St[Yt]}).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0}),Ge.select(".chart-group").selectAll(".layer").data(nn).transition().delay(function(Lt,Yt){return se[Yt]}).duration(1e3).ease(ve).attr("d",xn).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0}).style("fill",function(Lt){var Yt=Lt.key;return St[Yt]}),Ge.select(".chart-group").selectAll(".area-outline").data(nn).transition().delay(function(Lt,Yt){return se[Yt]}).duration(1e3).ease(ve).attr("d",un).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0})):((an=Ge.select(".chart-group").selectAll(".layer").data(nn).enter().append("g").classed("layer-container",!0)).append("path").attr("class","layer").attr("d",xn).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0}).style("fill",function(Lt){var Yt=Lt.key;return St[Yt]}),an.append("path").attr("class","area-outline").attr("d",un).style("stroke",function(Lt){var Yt=Lt.key;return St[Yt]}).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0}),Ge.select(".chart-group").selectAll(".layer").attr("d",xn).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0}).style("fill",function(Lt){var Yt=Lt.key;return St[Yt]}),Ge.select(".chart-group").selectAll(".area-outline").attr("class","area-outline").attr("d",un).style("stroke",function(Lt){var Yt=Lt.key;return St[Yt]}).style("opacity",function(Lt){var Yt=Lt.key;return pt[Yt]?At:0})),he||Ge.select(".chart-group").selectAll(".area-outline").style("display","none"),an.exit().transition().style("opacity",0).remove()}(),function(){if(re){var He=Number.parseInt(cn)+Number.parseInt(F.right);Xe=Ge.selectAll(".legend-group").append("g").attr("transform","translate("+He+", 0)").classed("tooltip-text",!0),xe=Xe.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),Xe.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),vn=Xe.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");for(var dt=[].concat(X(new Set(Vn.map(function(be){return be.name})))),Lt=[],Yt=function(be){var Ue={},Re=dt[be];Ue.name=Re,Ue.sum=Vn.filter(function(qe){return qe.name===dt[be]}).reduce(function(qe,wn){return qe+wn.value},0),Lt.push(Ue)},_t=0;_tde&&!Te&&(function(){ne&&Ge.selectAll(".overlay").remove(),ne=Ge.select(".metadata-group").append("rect").attr("class","overlay").attr("y1",0).attr("y2",yn).attr("height",yn).attr("width",cn).attr("fill","rgba(0, 0, 0, 0)").style("display","none")}(),function(){te&&Ge.selectAll(".vertical-marker-container").remove(),te=Ge.select(".metadata-group").append("g").attr("class","vertical-marker-container").attr("transform","translate(9999, 0)"),Rt=te.selectAll("path").data([{x1:0,y1:0,x2:0,y2:0}]).enter().append("line").classed("vertical-marker",!0).attr("x1",0).attr("y1",yn).attr("x2",0).attr("y2",0)}(),Ge.on("mouseover",function(He){(function(dt,Lt){ne.style("display","block"),Rt.classed("bc-is-active",!0),Ke.call("customMouseOver",dt,Lt,k.mouse(dt))})(this,He)}).on("mouseout",function(He){(function(dt,Lt){ne.style("display","none"),Rt.classed("bc-is-active",!1),Ke.call("customMouseOut",dt,Lt,k.mouse(dt))})(this,He)}).on("mousemove",function(He){(function(dt){Bt||Or();var Lt=k.mouse(dt),Yt=Y(Lt,2),_t=Yt[0],Ut=Yt[1],Jt=Zn(_t-F.left),ue=void 0;Jt&&(pr(ue=tt(new Date(Jt.key))),Rr(Jt),Ke.call("customMouseMove",dt,Jt,St,ue,Ut))})(this)})),Ht&&function(){Bt||Or();var He=Zn(cn);He&&(pr(tt(new Date(He.key))),Rr(He))}()})}function mn(){Ge.on("touchmove",function(Nn){(function(Ir,Ur){Ke.call("customTouchMove",Ir,Ur,k.touch(Ir))})(this,Nn)})}function dn(Nn){return(N(Nn)?l:s)(Nn)}function cr(Nn){Nn.selectAll(".tick text").attr("transform","translate(-20, -8)")}function rr(Nn){return new Date(Nn).toLocaleDateString()}function fr(Nn){var Ir,Ur,ii=void 0,ui=void 0;Ir=Nn.name,Ur=Nn.sum.toLocaleString(),ui=vn.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",$e).style("fill","#000000").style("font-size","12px").text(Ir).call(dr,200,12,-25),ii=vn.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",$e).style("fill","#000000").style("font-size","12px").text(Ur),pn=ui.node().getBBox().height?ui.node().getBBox().height:pn,pn+5,Me=ii.node().getBBox().width?ii.node().getBBox().width:Me,ii.attr("x",300-Me-75),vn.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",$e+8).attr("r",5).style("fill",St[Nn.name]).style("stroke-width",1),$e+=pn+7}function dr(Nn,Ir,Ur){var ii=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Nn.each(function(){var ui,br,Xi,Kt,ge,Fe,He;for(ui=(Nn=k.select(this)).text().split(/\s+/).reverse(),Xi=[],Kt=0,ge=Nn.attr("y"),Fe=parseFloat(Nn.attr("dy")),He=Nn.text(null).append("tspan").attr("x",ii).attr("y",ge).attr("dy",Fe+"em");br=ui.pop();)Xi.push(br),He.text(Xi.join(" ")),w.getTextWidth(Xi.join(" "),Ur,"Karla, sans-serif")>Ir&&(Xi.pop(),He.text(Xi.join(" ")),Kt<4&&(Xi=[br],He=Nn.append("tspan").attr("x",ii).attr("y",ge).attr("dy",1.2*++Kt+Fe+"em").text(br)))})}function Zn(Nn){var Ir=fn.filter(function(Ur){var ii=Ur.date;return Math.abs(tt(ii)-Nn)<=Bt});if(Ir.length)return Ir[0]}function Or(){var Nn=fn.map(function(Ir){return Ir.date});Bt=(tt(Nn[1])-tt(Nn[0]))/2}function Rr(Nn){var Ir=Nn.values,Ur=0;te.selectAll(".circle-container").remove(),Ir=Ir.filter(function(ui){return!!ui});var ii=Pt.reduce(function(ui,br){return[].concat(X(ui),[Ir.find(function(Xi){return Xi.name===br})])},[]);ii.forEach(function(ui,br){var Xi=te.append("g").classed("circle-container",!0).append("circle").classed("data-point-highlighter",!0).attr("cx",12).attr("cy",0).attr("r",5).style("stroke-width",1.2).style("stroke",St[ui.name]).style("opacity",function(Kt){var ge=Kt.key;return pt[ge]?At:0}).style("cursor","pointer").on("click",function(){(function(Kt){Ft||(Ft=c(Ge.select(".metadata-group")),Ot=E(Ft));var ge=k.select(Kt);ge.style("stroke-width",5).style("stroke-opacity",.6).attr("filter","url(#"+Ot+")"),L(ge,ve,7)})(this),function(Kt,ge){Ke.call("customDataEntryClick",Kt,ge,k.mouse(Kt))}(this,ui)}).on("mouseout",function(){var Kt;Kt=this,k.select(Kt).attr("filter","none")});Ur+=ii[br][fe],Xi.attr("transform","translate( -12, "+J(Ur)+" )")})}function pr(Nn){te.attr("transform","translate("+Nn+",0)")}return hn.areaCurve=function(Nn){return arguments.length?(ze=Nn,this):ze},hn.areaOpacity=function(Nn){return arguments.length?(At=Nn,this):At},hn.aspectRatio=function(Nn){return arguments.length?(q=Nn,this):q},hn.axisTimeCombinations=P,hn.colorSchema=function(Nn){return arguments.length?(vt=Nn,this):vt},hn.dateLabel=function(Nn){return arguments.length?(Be=Nn,this):Be},hn.emptyDataConfig=function(Nn){return arguments.length?(De=Nn,this):De},hn.grid=function(Nn){return arguments.length?(Cr=Nn,this):Cr},hn.hasOutline=function(Nn){return arguments.length?(he=Nn,this):he},hn.height=function(Nn){return arguments.length?(q&&(B=Math.ceil(Nn/q)),st=Nn,this):st},hn.initializeVerticalMarker=function(Nn){return arguments.length?(Ht=Nn,this):Ht},hn.isAnimated=function(Nn){return arguments.length?(zt=Nn,this):zt},hn.isPrintMode=function(Nn){return arguments.length?(re=Nn,this):re},hn.keyLabel=function(Nn){return arguments.length?(ke=Nn,this):ke},hn.margin=function(Nn){return arguments.length?(F=I({},F,Nn),this):F},hn.tooltipThreshold=function(Nn){return arguments.length?(de=Nn,this):de},hn.topicsOrder=function(Nn){return arguments.length?(Wt=Nn,this):Wt},hn.loadingState=function(Nn){return arguments.length?(ht=Nn,this):ht},hn.locale=function(Nn){return arguments.length?(Ae=Nn,this):Ae},hn.exportChart=function(Nn,Ir){b.call(hn,Ge,Nn,Ir)},hn.on=function(){var Nn=Ke.on.apply(Ke,arguments);return Nn===Ke?hn:Nn},hn.valueLabel=function(Nn){return arguments.length?(fe=Nn,this):fe},hn.width=function(Nn){return arguments.length?(q&&(st=Math.ceil(Nn*q)),B=Nn,this):B},hn.xAxisCustomFormat=function(Nn){return arguments.length?(le=Nn,this):le},hn.xAxisFormat=function(Nn){return arguments.length?(Xt=Nn,this):Xt},hn.xTicks=function(Nn){return arguments.length?(ae=Nn,this):ae},hn.yAxisLabel=function(Nn){return arguments.length?(bt=Nn,this):bt},hn.yAxisLabelOffset=function(Nn){return arguments.length?(Ct=Nn,this):Ct},hn.yTicks=function(Nn){return arguments.length?(at=Nn,this):at},hn}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(Y){for(var X=1;X0&&arguments[0]!==void 0&&arguments[0],Rt=te?1:0;bt.attr("opacity",Rt),mt.attr("opacity",Rt)}return xn.aspectRatio=function(te){return arguments.length?(m=te,this):m},xn.circleOpacity=function(te){return arguments.length?(Nt=te,this):Nt},xn.colorSchema=function(te){return arguments.length?(St=te,this):St},xn.exportChart=function(te,Rt){o.call(xn,le,te,Rt)},xn.grid=function(te){return arguments.length?(R=te,this):R},xn.hasCrossHairs=function(te){return arguments.length?(Pt=te,this):Pt},xn.hasHollowCircles=function(te){return arguments.length?(ae=te,this):ae},xn.hasTrendline=function(te){return arguments.length?(Wt=te,this):Wt},xn.height=function(te){return arguments.length?(m&&(y=Math.ceil(te/m)),P=te,this):P},xn.highlightTextLegendOffset=function(te){return arguments.length?(Ct=te,this):Ct},xn.isAnimated=function(te){return arguments.length?(pt=te,this):pt},xn.margin=function(te){return arguments.length?(p=I({},p,te),this):p},xn.maxCircleArea=function(te){return arguments.length?(At=te,this):At},xn.on=function(){var te=nn.on.apply(nn,arguments);return te===nn?xn:te},xn.width=function(te){return arguments.length?(m&&(P=Math.ceil(te*m)),y=te,this):y},xn.xAxisLabel=function(te){return arguments.length?(tt=te,this):tt},xn.xAxisLabelOffset=function(te){return arguments.length?(U=te,this):U},xn.xAxisFormat=function(te){return arguments.length?(L=te,this):L},xn.xTicks=function(te){return arguments.length?(s=te,this):s},xn.yAxisFormat=function(te){return arguments.length?(rt=te,this):rt},xn.yAxisLabel=function(te){return arguments.length?(B=te,this):B},xn.yAxisLabelOffset=function(te){return arguments.length?(ht=te,this):ht},xn.yTicks=function(te){return arguments.length?(N=te,this):N},xn}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(X){for(var Z=1;ZK&&B.on("mouseover",function(ne){(function(te,Rt){ae.call("customMouseOver",te,Rt,o.mouse(te))})(this,ne)}).on("mouseout",function(ne){(function(te,Rt){B.select(".metadata-group").attr("transform","translate(9999, 0)"),ae.call("customMouseOut",te,Rt,o.mouse(te))})(this,ne)}).on("mousemove",function(ne){var te,Rt,Bt,Ht,zt,re,ve,he,Ge,cn;Rt=ze(te=this),Bt=Y(Rt,2),Ht=Bt[0],zt=Bt[1],re=F?an(zt):nn(Ht),ve=void 0,he=void 0,re&&(F?(ve=Ht-b.left,he=l(re.key)+l.bandwidth()/2):(ve=P(re.key)+m(re[At]),he=zt-b.bottom),Ge=ve,cn=he,B.select(".metadata-group").attr("transform","translate("+Ge+","+cn+")"),ae.call("customMouseMove",te,re,rt,ve,he))}).on("click",function(ne){var te,Rt,Bt,Ht,zt,re;Rt=ze(te=this),Bt=Y(Rt,2),Ht=Bt[0],zt=Bt[1],re=F?an(zt):nn(Ht),ae.call("customClick",te,re,o.mouse(te))}),B.selectAll(".bar").on("mouseover",function(ne){(function(te,Rt){o.select(te).attr("fill",function(){return _.color(rt[Rt.group]).darker()})})(this,ne)}).on("mouseout",function(ne){(function(te,Rt){o.select(te).attr("fill",function(){return rt[Rt.group]})})(this,ne)})}()})}function Ae(un){un.selectAll(".tick text").attr("transform","translate("+c.x+", "+c.y+")")}function ze(un){return o.mouse(un)}function nn(un){var se=un-b.left,ne=m.bandwidth(),te=[];return G.forEach(function(Rt){var Bt=Rt.values.find(function(Ht){return Math.abs(se>=P(Ht[Ft])+m(Ht[At]))&&Math.abs(se-m(Ht[At])-P(Ht[Ft])<=ne)});Bt&&(Bt.values=Rt.values,Bt.key=Bt.name,te.push(Bt))}),te.length?te[0]:void 0}function an(un){var se=un-b.bottom,ne=l.bandwidth(),te=[];return G.map(function(Rt){var Bt=Rt.values.find(function(Ht){return Math.abs(se>=l(Ht[Ft]))&&Math.abs(se-l(Ht[Ft])<=2*ne)});Bt&&(Bt.values=Rt.values,Bt.key=Bt.name,te.push(Bt))}),te.length?te[0]:void 0}function tn(un){var se=o.select(this),ne=C.interpolateRound(0,P(Pt(un))),te=C.interpolateNumber(0,1);return function(Rt){se.attr("width",ne(Rt)).style("opacity",te(Rt))}}function xn(un){var se=o.select(this),ne=C.interpolateRound(0,ht-l(Pt(un))),te=C.interpolateRound(ht,l(Pt(un))),Rt=C.interpolateNumber(0,1);return function(Bt){se.attr("y",te(Bt)).attr("height",ne(Bt)).style("opacity",Rt(Bt))}}return le.aspectRatio=function(un){return arguments.length?(R=un,this):R},le.colorSchema=function(un){return arguments.length?(et=un,this):et},le.exportChart=function(un,se){S.call(le,B,un,se)},le.groupLabel=function(un){return arguments.length?(At=un,this):At},le.grid=function(un){return arguments.length?(Nt=un,this):Nt},le.height=function(un){return arguments.length?(R&&(g=Math.ceil(un/R)),p=un,this):p},le.isHorizontal=function(un){return arguments.length?(F=un,this):F},le.isAnimated=function(un){return arguments.length?(Xt=un,this):Xt},le.loadingState=function(un){return arguments.length?(y=un,this):y},le.margin=function(un){return arguments.length?(b=I({},b,un),this):b},le.nameLabel=function(un){return arguments.length?(Ft=un,this):Ft},le.yTicks=function(un){return arguments.length?(E=un,this):E},le.on=function(){var un=ae.on.apply(ae,arguments);return un===ae?le:un},le.tooltipThreshold=function(un){return arguments.length?(K=un,this):K},le.valueLabel=function(un){return arguments.length?(Ot=un,this):Ot},le.valueLabelFormat=function(un){return arguments.length?(St=un,this):St},le.width=function(un){return arguments.length?(R&&(p=Math.ceil(un*R)),g=un,this):g},le.xTicks=function(un){return arguments.length?(L=un,this):L},le.yAxisLabel=function(un){return arguments.length?(bt=un,this):bt},le.yAxisLabelOffset=function(un){return arguments.length?(Ct=un,this):Ct},le.yTickTextOffset=function(un){return arguments.length?(c=un,this):c},le}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(Z){for(var H=1;HJ?dn-cr-10:dn}).attr("y",function(mn){return E(tn(mn))+16}).text(function(mn){return he(nn(mn))+Ke(an(mn))+"%"}),pn.enter().append("rect").classed("striped",!0).attr("x",1).attr("y",function(mn){return E(tn(mn))}).attr("height",E.bandwidth()).attr("fill","url(#diagonalHatch)"));vn.enter().append("rect").classed("bg-hover",!0).on("click",function(mn){Vn(this,mn)}).attr("x",-P.left).attr("y",function(mn){return E(tn(mn))}).attr("height",E.bandwidth()*at.length+4*at.length).attr("width",J+P.left).attr("fill","#d6e8fa").attr("fill-opacity",0).on("mouseover",fn).on("mouseout",Mn),un?(gn.style("opacity",.24).transition().delay(function(mn,dn){return pt[dn]}).duration(1e3).ease(ht).tween("attr.width",Qn),ct&&we.style("opacity",.24).transition().delay(function(mn,dn){return pt[dn]}).duration(1e3).ease(ht).tween("attr.width",Cr),hn.style("opacity",.24).transition().delay(function(mn,dn){return pt[dn]}).duration(1e3).ease(ht).tween("attr.width",Qn)):(gn.attr("width",function(mn){return N(ct?xn(mn):an(mn))}),ct&&we.attr("width",function(mn){return N(ze(mn))}),hn.attr("width",function(mn){return N(ct?xn(mn):an(mn))}))}(De),De.exit().transition().style("opacity",0).remove()}(),U.select(".x-axis-group .axis.x").attr("transform","translate( 0, "+K+" )").call(R),U.select(".y-axis-group.axis").attr("transform","translate( "+-Nt+", 0)").call(L),U.selectAll(".y-axis-group.axis .tick").call(de),U.selectAll(".y-axis-group.axis .tick text").on("mouseover",fn).on("mouseout",Mn).call(re,P.left-50).selectAll("tspan"),Ot&&(At&&U.selectAll(".y-axis-label-text").remove(),At=U.select(".y-axis-label").append("text").classed("y-axis-label-text",!0).attr("x",-K/2).attr("y",St).attr("text-anchor","middle").attr("transform","rotate(270 0 0)").text(Ot)),function(){if(se){var De=Number.parseInt(J)+Number.parseInt(P.right);ne=U.selectAll(".legend-group").append("g").attr("transform","translate("+De+", -30)").classed("tooltip-text",!0),te=ne.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35"),[].concat(X(new Set(q.map(function(Te){return Te.group})))).reverse().forEach(ve)}}(),function(){x>vt&&U.on("mouseover",function(De){(function(Te,Me){Ht.call("customMouseOver",Te,Me,S.mouse(Te)),fn(Me)})(this,De)}).on("mouseout",function(De){(function(Te,Me){U.select(".metadata-group").attr("transform","translate(9999, 0)"),Ht.call("customMouseOut",Te,Me,S.mouse(Te))})(this,De)}).on("mousemove",function(De){var Te,Me,Xe,vn,xe,$e,pn,we,gn;Me=cn(Te=this),Xe=Y(Me,2),vn=Xe[0],xe=yn(Xe[1]),$e=void 0,pn=void 0,xe&&($e=vn-P.left,pn=c(xe.key)+c.bandwidth()/2,we=$e,gn=pn,U.select(".metadata-group").attr("transform","translate("+we+","+gn+")"),Ht.call("customMouseMove",Te,xe,B,$e,pn))}).on("click",function(De){Vn(this,De)}),U.selectAll(".row").on("mouseover",function(De){(function(Te,Me){S.select(Te).attr("fill",function(){return j.color(B[Me.group]).darker()})})(this,De)}).on("mouseout",function(De){(function(Te,Me){S.select(Te).attr("fill",function(){return B[Me.group]})})(this,De)})}()})}function re(Be,fe){w.wrapTextWithEllipses(Be,fe,-10,2,.8)}function ve(Be){var fe,ke=Be,De=void 0;fe=Be,De=te.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("dx",0).attr("y",Rt).style("fill","#000000").style("font-size","12px").text(fe).call(Ge,200,12,-25),Bt=De.node().getBBox().height?De.node().getBBox().height:Bt,Bt+5,te.append("circle").classed("tooltip-circle",!0).attr("cx",-39.5).attr("cy",Rt+10).attr("r",5).style("fill",B[ke]).style("stroke-width",1),Rt+=Bt+7}function he(Be){return Be?Be+" | ":""}function Ge(Be,fe,ke){var De=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Be.each(function(){var Te,Me,Xe,vn,xe,$e,pn;for(Te=(Be=S.select(this)).text().split(/\s+/).reverse(),Xe=[],vn=0,xe=Be.attr("y"),$e=parseFloat(Be.attr("dy")),pn=Be.text(null).append("tspan").attr("x",De).attr("y",xe).attr("dy",$e+"em");Me=Te.pop();)Xe.push(Me),pn.text(Xe.join(" ")),w.getTextWidth(Xe.join(" "),ke,"Karla, sans-serif")>fe&&(Xe.pop(),pn.text(Xe.join(" ")),vn<4&&(Xe=[Me],pn=Be.append("tspan").attr("x",De).attr("y",xe).attr("dy",1.2*++vn+$e+"em").text(Me)))})}function cn(Be){return S.mouse(Be)}function yn(Be){var fe=Be-P.bottom,ke=c.bandwidth(),De=[];return st.map(function(Te){var Me=Te.values.find(function(Xe){return Math.abs(fe>=c(Xe[Wt]))&&Math.abs(fe-c(Xe[Wt])<=2*ke)});Me&&(Me.values=Te.values,Me.key=Me.name,De.push(Me))}),De.length?De[0]:void 0}function Vn(Be,fe){var ke=cn(Be),De=Y(ke,2),Te=(De[0],yn(De[1]));Ht.call("customClick",Be,Te,S.mouse(Be))}function fn(Be,fe){var ke=null;this&&(ke=S.select(this.parentNode).attr("class").replace("layer layer-","")),typeof Be=="string"&&(ke=Ne(Be)),parseInt(ke)>-1&&(S.select(m).select(".tick svg.visibility-"+ke).attr("opacity",1),S.select(m).select("g .layer-"+ke+" .bg-hover").attr("fill-opacity",.3))}function Mn(Be,fe){var ke=null;this&&(ke=S.select(this.parentNode).attr("class").replace("layer layer-","")),typeof Be=="string"&&(ke=Ne(Be)),parseInt(ke)>-1&&(S.select(m).select(".tick svg.visibility-"+ke).attr("opacity",0),S.select(m).select("g .layer-"+ke+" .bg-hover").attr("fill-opacity",0))}function Qn(Be){var fe=S.select(this),ke=o.interpolateNumber(0,1),De=ct?o.interpolateRound(0,N(xn(Be))):o.interpolateRound(0,N(an(Be)));return function(Te){fe.attr("width",De(Te)).style("opacity",ke(Te))}}function Cr(Be){var fe=S.select(this),ke=o.interpolateRound(0,N(ze(Be))),De=o.interpolateNumber(0,1);return function(Te){fe.attr("width",ke(Te)).style("opacity",De(Te))}}function de(Be){Be.each(function(){var fe=(Be=S.select(this)).node().getBBox().height/2,ke=Be.append("svg").attr("class",function(De){return"visibility visibility-"+Ne(De)}).attr("x",-(P.left-5)).attr("y",-fe).attr("width","300").attr("height","300").attr("viewBox","0 0 600 600").attr("fill","none").attr("opacity",0);ke.append("rect").attr("x",-10).attr("y",-10).attr("height","50").attr("width","50").attr("fill","#d6e8fa").on("mouseover",fn).on("mouseout",Mn).attr("opacity",0),ke.append("path").attr("d","M 10,10 L 30,30 M 30,10 L 10,30").attr("stroke","#0072ce").attr("stroke-width","2").on("mouseover",fn).on("mouseout",Mn)})}function Ne(Be){return bt.indexOf(Be)}return zt.aspectRatio=function(Be){return arguments.length?(et=Be,this):et},zt.colorSchema=function(Be){return arguments.length?(F=Be,this):F},zt.exportChart=function(Be,fe){b.call(zt,U,Be,fe)},zt.groupLabel=function(Be){return arguments.length?(ae=Be,this):ae},zt.grid=function(Be){return arguments.length?(Pt=Be,this):Pt},zt.height=function(Be){return arguments.length?(et&&(x=Math.ceil(Be/et)),l=Be,this):l},zt.isHorizontal=function(Be){return arguments.length?(tt=Be,this):tt},zt.isPrintMode=function(Be){return arguments.length?(se=Be,this):se},zt.isStacked=function(Be){return arguments.length?(ct=Be,this):ct},zt.isAnimated=function(Be){return arguments.length?(un=Be,this):un},zt.loadingState=function(Be){return arguments.length?(s=Be,this):s},zt.margin=function(Be){return arguments.length?(P=I({},P,Be),this):P},zt.nameLabel=function(Be){return arguments.length?(Wt=Be,this):Wt},zt.yTicks=function(Be){return arguments.length?(rt=Be,this):rt},zt.on=function(){var Be=Ht.on.apply(Ht,arguments);return Be===Ht?zt:Be},zt.percentageAxisToMaxRatio=function(Be){return arguments.length?(ut=Be,this):ut},zt.tooltipThreshold=function(Be){return arguments.length?(vt=Be,this):vt},zt.valueLabel=function(Be){return arguments.length?(Xt=Be,this):Xt},zt.valueLabelFormat=function(Be){return arguments.length?(le=Be,this):le},zt.width=function(Be){return arguments.length?(et&&(l=Math.ceil(Be*et)),x=Be,this):x},zt.xTicks=function(Be){return arguments.length?(G=Be,this):G},zt.yAxisLabel=function(Be){return arguments.length?(Ot=Be,this):Ot},zt.yAxisLabelOffset=function(Be){return arguments.length?(St=Be,this):St},zt.yTickTextOffset=function(Be){return arguments.length?(nt=Be,this):nt},zt}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(X){for(var Z=1;Zat&&st.on("mouseover",function(ve){(function(he,Ge){Ae.call("customMouseOver",he,Ge,k.mouse(he))})(this,ve)}).on("mouseout",function(ve){(function(he,Ge){st.select(".metadata-group").attr("transform","translate(9999, 0)"),Ae.call("customMouseOut",he,Ge,k.mouse(he))})(this,ve)}).on("mousemove",function(ve){var he,Ge,cn,yn,Vn,fn,Mn,Qn,Cr,de;Ge=tn(he=this),cn=Y(Ge,2),yn=cn[0],Vn=cn[1],fn=B?un(Vn):xn(yn),Mn=void 0,Qn=void 0,fn&&(B?(Mn=yn-g.left,Qn=l(fn.key)+l.bandwidth()/2):(Mn=m(fn.key)+g.left,Qn=Vn-g.bottom),Cr=Mn,de=Qn,st.select(".metadata-group").attr("transform","translate("+Cr+","+de+")"),Ae.call("customMouseMove",he,fn,G,Mn,Qn))}).on("click",function(ve){var he,Ge,cn,yn,Vn,fn;Ge=tn(he=this),cn=Y(Ge,2),yn=cn[0],Vn=cn[1],fn=B?un(Vn):xn(yn),Ae.call("customClick",he,fn,k.mouse(he))}),st.selectAll(".bar").on("mouseover",se).on("mouseout",ne)}()})}function nn(Bt){Bt.selectAll(".tick text").attr("transform","translate(-20, -8)")}function an(Bt){return Bt.map(function(Ht){for(var zt=0;zt=ve&&Ht=ve&&Ht=vt[1]&&(vt[0]=b[U].floor(Ft[0]),vt[1]=b[U].offset(vt[0])),d.select(this).transition().call(d.event.target.move,vt.map(E))}J.call("customBrushEnd",this,vt)}}function Ct(vt,Nt){var Ft=null;vt!==null&&(Ft=[E(new Date(vt)),E(new Date(Nt))]),F.move(B,Ft)}return at.axisTimeCombinations=w,at.dateRange=function(vt){return arguments.length?(N=vt,Array.isArray(N)&&Ct.apply(void 0,Y(N)),this):N},at.gradient=function(vt){return arguments.length?(tt=vt,this):tt},at.height=function(vt){return arguments.length?(m=vt,this):m},at.loadingState=function(vt){return arguments.length?(x=vt,this):x},at.locale=function(vt){return arguments.length?(ut=vt,this):ut},at.margin=function(vt){return arguments.length?(y=I({},y,vt),this):y},at.on=function(){var vt=J.on.apply(J,arguments);return vt===J?at:vt},at.width=function(vt){return arguments.length?(P=vt,this):P},at.xAxisCustomFormat=function(vt){return arguments.length?(G=vt,this):G},at.xAxisFormat=function(vt){return arguments.length?(nt=vt,this):nt},at.xTicks=function(vt){return arguments.length?(rt=vt,this):rt},at.roundingTimeInterval=function(vt){return arguments.length?(U=vt,this):U},at}}.call(W,u,W,Mt))===void 0||(Mt.exports=T)},function(Mt,W,u){"use strict";var T,I=Object.assign||function(Y){for(var X=1;X0)){if(K/=Nt,Nt<0){if(K0){if(K>vt)return;K>Ct&&(Ct=K)}if(K=U-bt,Nt||!(K<0)){if(K/=Nt,Nt<0){if(K>vt)return;K>Ct&&(Ct=K)}else if(Nt>0){if(K0)){if(K/=Ft,Ft<0){if(K0){if(K>vt)return;K>Ct&&(Ct=K)}if(K=J-mt,Ft||!(K<0)){if(K/=Ft,Ft<0){if(K>vt)return;K>Ct&&(Ct=K)}else if(Ft>0){if(K0||vt<1)||(Ct>0&&(ht[0]=[bt+Ct*Nt,mt+Ct*Ft]),vt<1&&(ht[1]=[bt+vt*Nt,mt+vt*Ft]),!0)}}}}}function k(ht,tt,ct,U,J){var K=ht[1];if(K)return!0;var q,at,bt=ht[0],mt=ht.left,Ct=ht.right,vt=mt[0],Nt=mt[1],Ft=Ct[0],Ot=Ct[1],At=(vt+Ft)/2,St=(Nt+Ot)/2;if(Ot===Nt){if(At=U)return;if(vt>Ft){if(bt){if(bt[1]>=J)return}else bt=[At,ct];K=[At,J]}else{if(bt){if(bt[1]1)if(vt>Ft){if(bt){if(bt[1]>=J)return}else bt=[(ct-at)/q,ct];K=[(J-at)/q,J]}else{if(bt){if(bt[1]=U)return}else bt=[tt,q*tt+at];K=[U,q*U+at]}else{if(bt){if(bt[0]=-ut)){var Ft=bt*bt+mt*mt,Ot=Ct*Ct+vt*vt,At=(vt*Ft-mt*Ot)/Nt,St=(bt*Ot-Ct*Ft)/Nt,pt=g.pop()||new p;pt.arc=ht,pt.site=J,pt.x=At+q,pt.y=(pt.cy=St+at)+Math.sqrt(At*At+St*St),ht.circle=pt;for(var Pt=null,Wt=nt._;Wt;)if(pt.yG)at=at.L;else{if(!((J=K-E(at,q))>G)){U>-G?(tt=at.P,ct=at):J>-G?(tt=at,ct=at.N):tt=ct=at;break}if(!at.R){tt=at;break}at=at.R}(function(ae){et[ae.index]={site:ae,halfedges:[]}})(ht);var bt=l(ht);if(L.insert(tt,bt),tt||ct){if(tt===ct)return P(tt),ct=l(tt.site),L.insert(bt,ct),bt.edge=ct.edge=D(tt.site,bt.site),y(tt),void y(ct);if(ct){P(tt),P(ct);var mt=tt.site,Ct=mt[0],vt=mt[1],Nt=ht[0]-Ct,Ft=ht[1]-vt,Ot=ct.site,At=Ot[0]-Ct,St=Ot[1]-vt,pt=2*(Nt*St-Ft*At),Pt=Nt*Nt+Ft*Ft,Wt=At*At+St*St,Xt=[(St*Pt-Ft*Wt)/pt+Ct,(Nt*Wt-At*Pt)/pt+vt];d(ct.edge,mt,Ot,Xt),bt.edge=D(mt,ht,null,Xt),ct.edge=D(ht,Ot,null,Xt),y(tt),y(ct)}else bt.edge=D(tt.site,bt.site)}}function c(ht,tt){var ct=ht.site,U=ct[0],J=ct[1],K=J-tt;if(!K)return U;var q=ht.P;if(!q)return-1/0;var at=(ct=q.site)[0],bt=ct[1],mt=bt-tt;if(!mt)return at;var Ct=at-U,vt=1/K-1/mt,Nt=Ct/mt;return vt?(-Nt+Math.sqrt(Nt*Nt-2*vt*(Ct*Ct/(-2*mt)-bt+mt/2+J-K/2)))/vt+U:(U+at)/2}function E(ht,tt){var ct=ht.N;if(ct)return c(ct,tt);var U=ht.site;return U[1]===tt?U[0]:1/0}var L,et,nt,rt,G=1e-6,ut=1e-12;function F(ht,tt){return tt[1]-ht[1]||tt[0]-ht[0]}function B(ht,tt){var ct,U,J,K=ht.sort(F).pop();for(rt=[],et=new Array(ht.length),L=new A,nt=new A;;)if(J=b,K&&(!J||K[1]G||Math.abs(Ot[0][1]-Ot[1][1])>G)||delete rt[At]})(q,at,bt,mt),function(Ct,vt,Nt,Ft){var Ot,At,St,pt,Pt,Wt,Xt,ae,le,Ae,ze,nn,an=et.length,tn=!0;for(Ot=0;OtG||Math.abs(nn-le)>G)&&(Pt.splice(pt,0,rt.push(C(St,Ae,Math.abs(ze-Ct)G?[Ct,Math.abs(ae-Ct)G?[Math.abs(le-Ft)G?[Nt,Math.abs(ae-Nt)G?[Math.abs(le-vt)=at)return null;var bt=ht-J.site[0],mt=tt-J.site[1],Ct=bt*bt+mt*mt;do J=K.cells[U=q],q=null,J.halfedges.forEach(function(vt){var Nt=K.edges[vt],Ft=Nt.left;if(Ft!==J.site&&Ft||(Ft=Nt.right)){var Ot=ht-Ft[0],At=tt-Ft[1],St=Ot*Ot+At*At;StMath.abs(Me[1]-Mn[1])?tn=!0:an=!0),Mn=Me,nn=!0,k(),fe()}function fe(){var Me;switch(Ge=Mn[0]-fn[0],cn=Mn[1]-fn[1],se){case h:case S:ne&&(Ge=Math.max(zt-pt,Math.min(ve-ae,Ge)),Pt=pt+Ge,le=ae+Ge),te&&(cn=Math.max(re-Wt,Math.min(he-Ae,cn)),Xt=Wt+cn,ze=Ae+cn);break;case w:ne<0?(Ge=Math.max(zt-pt,Math.min(ve-pt,Ge)),Pt=pt+Ge,le=ae):ne>0&&(Ge=Math.max(zt-ae,Math.min(ve-ae,Ge)),Pt=pt,le=ae+Ge),te<0?(cn=Math.max(re-Wt,Math.min(he-Wt,cn)),Xt=Wt+cn,ze=Ae):te>0&&(cn=Math.max(re-Ae,Math.min(he-Ae,cn)),Xt=Wt,ze=Ae+cn);break;case b:ne&&(Pt=Math.max(zt,Math.min(ve,pt-Ge*ne)),le=Math.max(zt,Math.min(ve,ae+Ge*ne))),te&&(Xt=Math.max(re,Math.min(he,Wt-cn*te)),ze=Math.max(re,Math.min(he,Ae+cn*te)))}le0&&(pt=Pt-Ge),te<0?Ae=ze-cn:te>0&&(Wt=Xt-cn),se=h,de.attr("cursor",l.selection),fe());break;default:return}k()}function Te(){switch(Y.c.keyCode){case 16:yn&&(an=tn=yn=!1,fe());break;case 18:se===b&&(ne<0?ae=le:ne>0&&(pt=Pt),te<0?Ae=ze:te>0&&(Wt=Xt),se=w,fe());break;case 32:se===h&&(Y.c.altKey?(ne&&(ae=le-Ge*ne,pt=Pt+Ge*ne),te&&(Ae=ze-cn*te,Wt=Xt+cn*te),se=b):(ne<0?ae=le:ne>0&&(pt=Pt),te<0?Ae=ze:te>0&&(Wt=Xt),se=w),de.attr("cursor",l[un]),fe());break;default:return}k()}}function Ot(){vt(this,arguments).moved()}function At(){vt(this,arguments).ended()}function St(){var pt=this.__brush||{selection:null};return pt.extent=p(U.apply(this,arguments)),pt.dim=tt,pt}return mt.move=function(pt,Pt){pt.selection?pt.on("start.brush",function(){vt(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){vt(this,arguments).end()}).tween("brush",function(){var Wt=this,Xt=Wt.__brush,ae=vt(Wt,arguments),le=Xt.selection,Ae=tt.input(typeof Pt=="function"?Pt.apply(this,arguments):Pt,Xt.extent),ze=Object(_.a)(le,Ae);function nn(an){Xt.selection=an===1&&Ae===null?null:ze(an),Ct.call(Wt),ae.brush()}return le!==null&&Ae!==null?nn:nn(1)}):pt.each(function(){var Wt=this,Xt=arguments,ae=Wt.__brush,le=tt.input(typeof Pt=="function"?Pt.apply(Wt,Xt):Pt,ae.extent),Ae=vt(Wt,Xt).beforestart();Object(D.interrupt)(Wt),ae.selection=le===null?null:le,Ct.call(Wt),Ae.start().brush().end()})},mt.clear=function(pt){mt.move(pt,null)},Nt.prototype={beforestart:function(){return++this.active==1&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return--this.active==0&&(delete this.state.emitter,this.emit("end")),this},emit:function(pt){Object(Y.a)(new d(mt,pt,tt.output(this.state.selection)),at.apply,at,[pt,this.that,this.args])}},mt.extent=function(pt){return arguments.length?(U=typeof pt=="function"?pt:C(p(pt)),mt):U},mt.filter=function(pt){return arguments.length?(J=typeof pt=="function"?pt:C(!!pt),mt):J},mt.touchable=function(pt){return arguments.length?(K=typeof pt=="function"?pt:C(!!pt),mt):K},mt.handleSize=function(pt){return arguments.length?(bt=+pt,mt):bt},mt.keyModifiers=function(pt){return arguments.length?(q=!!pt,mt):q},mt.on=function(){var pt=at.on.apply(at,arguments);return pt===at?mt:pt},mt}u.d(W,"brush",function(){return st}),u.d(W,"brushX",function(){return F}),u.d(W,"brushY",function(){return B}),u.d(W,"brushSelection",function(){return ut})}])})},5382:lr=>{(function(pe,xt){lr.exports=xt()})(window,function(){return function(pe){var xt={};function ft(Mt){if(xt[Mt])return xt[Mt].exports;var W=xt[Mt]={i:Mt,l:!1,exports:{}};return pe[Mt].call(W.exports,W,W.exports,ft),W.l=!0,W.exports}return ft.m=pe,ft.c=xt,ft.d=function(Mt,W,u){ft.o(Mt,W)||Object.defineProperty(Mt,W,{enumerable:!0,get:u})},ft.r=function(Mt){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Mt,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Mt,"__esModule",{value:!0})},ft.t=function(Mt,W){if(1&W&&(Mt=ft(Mt)),8&W||4&W&&typeof Mt=="object"&&Mt&&Mt.__esModule)return Mt;var u=Object.create(null);if(ft.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:Mt}),2&W&&typeof Mt!="string")for(var T in Mt)ft.d(u,T,function(I){return Mt[I]}.bind(null,T));return u},ft.n=function(Mt){var W=Mt&&Mt.__esModule?function(){return Mt.default}:function(){return Mt};return ft.d(W,"a",W),W},ft.o=function(Mt,W){return Object.prototype.hasOwnProperty.call(Mt,W)},ft.p="",ft(ft.s=107)}([function(pe,xt,ft){"use strict";ft.d(xt,"a",function(){return u});var Mt=new Date,W=new Date;function u(T,I,Y,X){function Z(H){return T(H=arguments.length===0?new Date:new Date(+H)),H}return Z.floor=function(H){return T(H=new Date(+H)),H},Z.ceil=function(H){return T(H=new Date(H-1)),I(H,1),T(H),H},Z.round=function(H){var _=Z(H),j=Z.ceil(H);return H-_0))return D;do D.push(A=new Date(+H)),I(H,j),T(H);while(A=_)for(;T(_),!H(_);)_.setTime(_-1)},function(_,j){if(_>=_)if(j<0)for(;++j<=0;)for(;I(_,-1),!H(_););else for(;--j>=0;)for(;I(_,1),!H(_););})},Y&&(Z.count=function(H,_){return Mt.setTime(+H),W.setTime(+_),T(Mt),T(W),Math.floor(Y(Mt,W))},Z.every=function(H){return H=Math.floor(H),isFinite(H)&&H>0?H>1?Z.filter(X?function(_){return X(_)%H==0}:function(_){return Z.count(0,_)%H==0}):Z:null}),Z}},function(pe,xt,ft){"use strict";ft.d(xt,"d",function(){return Mt}),ft.d(xt,"c",function(){return W}),ft.d(xt,"b",function(){return u}),ft.d(xt,"a",function(){return T}),ft.d(xt,"e",function(){return I});var Mt=1e3,W=6e4,u=36e5,T=864e5,I=6048e5},function(pe,xt,ft){"use strict";ft.r(xt);var Mt=function(tt,ct){return ttct?1:tt>=ct?0:NaN},W=function(tt){var ct;return tt.length===1&&(ct=tt,tt=function(U,J){return Mt(ct(U),J)}),{left:function(U,J,K,q){for(K==null&&(K=0),q==null&&(q=U.length);K>>1;tt(U[at],J)<0?K=at+1:q=at}return K},right:function(U,J,K,q){for(K==null&&(K=0),q==null&&(q=U.length);K>>1;tt(U[at],J)>0?q=at:K=at+1}return K}}},u=W(Mt),T=u.right,I=u.left,Y=T,X=function(tt,ct){ct==null&&(ct=Z);for(var U=0,J=tt.length-1,K=tt[0],q=new Array(J<0?0:J);Utt?1:ct>=tt?0:NaN},j=function(tt){return tt===null?NaN:+tt},A=function(tt,ct){var U,J,K=tt.length,q=0,at=-1,bt=0,mt=0;if(ct==null)for(;++at1)return mt/(q-1)},D=function(tt,ct){var U=A(tt,ct);return U&&Math.sqrt(U)},C=function(tt,ct){var U,J,K,q=tt.length,at=-1;if(ct==null){for(;++at=U)for(J=K=U;++atU&&(J=U),K=U)for(J=K=U;++atU&&(J=U),K0)return[tt];if((J=ct0)for(tt=Math.ceil(tt/at),ct=Math.floor(ct/at),q=new Array(K=Math.ceil(ct-tt+1));++bt=0?(q>=b?10:q>=g?5:q>=p?2:1)*Math.pow(10,K):-Math.pow(10,-K)/(q>=b?10:q>=g?5:q>=p?2:1)}function m(tt,ct,U){var J=Math.abs(ct-tt)/Math.max(0,U),K=Math.pow(10,Math.floor(Math.log(J)/Math.LN10)),q=J/K;return q>=b?K*=10:q>=g?K*=5:q>=p&&(K*=2),ctNt;)Ft.pop(),--Ot;var At,St=new Array(Ot+1);for(q=0;q<=Ot;++q)(At=St[q]=[]).x0=q>0?Ft[q-1]:vt,At.x1=q=1)return+U(tt[J-1],J-1,tt);var J,K=(J-1)*ct,q=Math.floor(K),at=+U(tt[q],q,tt);return at+(+U(tt[q+1],q+1,tt)-at)*(K-q)}},N=function(tt,ct,U){return tt=k.call(tt,j).sort(Mt),Math.ceil((U-ct)/(2*(s(tt,.75)-s(tt,.25))*Math.pow(tt.length,-1/3)))},R=function(tt,ct,U){return Math.ceil((U-ct)/(3.5*D(tt)*Math.pow(tt.length,-1/3)))},c=function(tt,ct){var U,J,K=tt.length,q=-1;if(ct==null){for(;++q=U)for(J=U;++qJ&&(J=U)}else for(;++q=U)for(J=U;++qJ&&(J=U);return J},E=function(tt,ct){var U,J=tt.length,K=J,q=-1,at=0;if(ct==null)for(;++q=0;)for(ct=(J=tt[K]).length;--ct>=0;)U[--at]=J[ct];return U},nt=function(tt,ct){var U,J,K=tt.length,q=-1;if(ct==null){for(;++q=U)for(J=U;++qU&&(J=U)}else for(;++q=U)for(J=U;++qU&&(J=U);return J},rt=function(tt,ct){for(var U=ct.length,J=new Array(U);U--;)J[U]=tt[ct[U]];return J},G=function(tt,ct){if(U=tt.length){var U,J,K=0,q=0,at=tt[q];for(ct==null&&(ct=Mt);++K>8&15|E>>4&240,E>>4&15|240&E,(15&E)<<4|15&E,1):L===8?new p(E>>24&255,E>>16&255,E>>8&255,(255&E)/255):L===4?new p(E>>12&15|E>>8&240,E>>8&15|E>>4&240,E>>4&15|240&E,((15&E)<<4|15&E)/255):null):(E=H.exec(c))?new p(E[1],E[2],E[3],1):(E=_.exec(c))?new p(255*E[1]/100,255*E[2]/100,255*E[3]/100,1):(E=j.exec(c))?w(E[1],E[2],E[3],E[4]):(E=A.exec(c))?w(255*E[1]/100,255*E[2]/100,255*E[3]/100,E[4]):(E=D.exec(c))?x(E[1],E[2]/100,E[3]/100,1):(E=C.exec(c))?x(E[1],E[2]/100,E[3]/100,E[4]):d.hasOwnProperty(c)?h(d[c]):c==="transparent"?new p(NaN,NaN,NaN,0):null}function h(c){return new p(c>>16&255,c>>8&255,255&c,1)}function w(c,E,L,et){return et<=0&&(c=E=L=NaN),new p(c,E,L,et)}function b(c){return c instanceof W||(c=S(c)),c?new p((c=c.rgb()).r,c.g,c.b,c.opacity):new p}function g(c,E,L,et){return arguments.length===1?b(c):new p(c,E,L,et==null?1:et)}function p(c,E,L,et){this.r=+c,this.g=+E,this.b=+L,this.opacity=+et}function y(){return"#"+m(this.r)+m(this.g)+m(this.b)}function P(){var c=this.opacity;return((c=isNaN(c)?1:Math.max(0,Math.min(1,c)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(c===1?")":", "+c+")")}function m(c){return((c=Math.max(0,Math.min(255,Math.round(c)||0)))<16?"0":"")+c.toString(16)}function x(c,E,L,et){return et<=0?c=E=L=NaN:L<=0||L>=1?c=E=NaN:E<=0&&(c=NaN),new N(c,E,L,et)}function l(c){if(c instanceof N)return new N(c.h,c.s,c.l,c.opacity);if(c instanceof W||(c=S(c)),!c)return new N;if(c instanceof N)return c;var E=(c=c.rgb()).r/255,L=c.g/255,et=c.b/255,nt=Math.min(E,L,et),rt=Math.max(E,L,et),G=NaN,ut=rt-nt,F=(rt+nt)/2;return ut?(G=E===rt?(L-et)/ut+6*(L0&&F<1?0:G,new N(G,ut,F,c.opacity)}function s(c,E,L,et){return arguments.length===1?l(c):new N(c,E,L,et==null?1:et)}function N(c,E,L,et){this.h=+c,this.s=+E,this.l=+L,this.opacity=+et}function R(c,E,L){return 255*(c<60?E+(L-E)*c/60:c<180?L:c<240?E+(L-E)*(240-c)/60:E)}Object(Mt.a)(W,S,{copy:function(c){return Object.assign(new this.constructor,this,c)},displayable:function(){return this.rgb().displayable()},hex:o,formatHex:o,formatHsl:function(){return l(this).formatHsl()},formatRgb:k,toString:k}),Object(Mt.a)(p,g,Object(Mt.b)(W,{brighter:function(c){return c=c==null?T:Math.pow(T,c),new p(this.r*c,this.g*c,this.b*c,this.opacity)},darker:function(c){return c=c==null?u:Math.pow(u,c),new p(this.r*c,this.g*c,this.b*c,this.opacity)},rgb:function(){return this},displayable:function(){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:y,formatHex:y,formatRgb:P,toString:P})),Object(Mt.a)(N,s,Object(Mt.b)(W,{brighter:function(c){return c=c==null?T:Math.pow(T,c),new N(this.h,this.s,this.l*c,this.opacity)},darker:function(c){return c=c==null?u:Math.pow(u,c),new N(this.h,this.s,this.l*c,this.opacity)},rgb:function(){var c=this.h%360+360*(this.h<0),E=isNaN(c)||isNaN(this.s)?0:this.s,L=this.l,et=L+(L<.5?L:1-L)*E,nt=2*L-et;return new p(R(c>=240?c-240:c+120,nt,et),R(c,nt,et),R(c<120?c+240:c-120,nt,et),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var c=this.opacity;return((c=isNaN(c)?1:Math.max(0,Math.min(1,c)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(c===1?")":", "+c+")")}}))},function(pe,xt,ft){"use strict";xt.a=function(Mt,W){return Mt=+Mt,W=+W,function(u){return Mt*(1-u)+W*u}}},function(pe,xt,ft){"use strict";ft.r(xt);var Mt=ft(12),W=ft(32),u=function(g){return Object(W.a)(Object(Mt.a)(g).call(document.documentElement))},T=0;function I(){return new Y}function Y(){this._="@"+(++T).toString(36)}Y.prototype=I.prototype={constructor:Y,get:function(g){for(var p=this._;!(p in g);)if(!(g=g.parentNode))return;return g[p]},set:function(g,p){return g[this._]=p},remove:function(g){return this._ in g&&delete g[this._]},toString:function(){return this._}};var X=ft(34),Z=ft(60),H=ft(20),_=ft(14),j=ft(13),A=ft(10),D=function(g){return typeof g=="string"?new A.a([document.querySelectorAll(g)],[document.documentElement]):new A.a([g==null?[]:g],A.c)},C=ft(19),d=ft(33),o=ft(35),k=ft(61),S=ft(22),h=function(g,p){p==null&&(p=Object(S.a)().touches);for(var y=0,P=p?p.length:0,m=new Array(P);y180||Z<-180?Z-360*Math.round(Z/360):Z):Object(Mt.a)(isNaN(Y)?X:Y)}function T(Y){return(Y=+Y)==1?I:function(X,Z){return Z-X?function(H,_,j){return H=Math.pow(H,j),_=Math.pow(_,j)-H,j=1/j,function(A){return Math.pow(H+A*_,j)}}(X,Z,Y):Object(Mt.a)(isNaN(X)?Z:X)}}function I(Y,X){var Z=X-Y;return Z?W(Y,Z):Object(Mt.a)(isNaN(Y)?X:Y)}},function(pe,xt,ft){"use strict";var Mt=ft(18);xt.a=function(W){return(W=Object(Mt.a)(Math.abs(W)))?W[1]:NaN}},function(pe,xt,ft){"use strict";var Mt=ft(19),W=ft(33),u=ft(34),T=function(q){return new Array(q.length)};function I(q,at){this.ownerDocument=q.ownerDocument,this.namespaceURI=q.namespaceURI,this._next=null,this._parent=q,this.__data__=at}I.prototype={constructor:I,appendChild:function(q){return this._parent.insertBefore(q,this._next)},insertBefore:function(q,at){return this._parent.insertBefore(q,at)},querySelector:function(q){return this._parent.querySelector(q)},querySelectorAll:function(q){return this._parent.querySelectorAll(q)}};function Y(q,at,bt,mt,Ct,vt){for(var Nt,Ft=0,Ot=at.length,At=vt.length;Ftat?1:q>=at?0:NaN}var H=ft(20);function _(q){return function(){this.removeAttribute(q)}}function j(q){return function(){this.removeAttributeNS(q.space,q.local)}}function A(q,at){return function(){this.setAttribute(q,at)}}function D(q,at){return function(){this.setAttributeNS(q.space,q.local,at)}}function C(q,at){return function(){var bt=at.apply(this,arguments);bt==null?this.removeAttribute(q):this.setAttribute(q,bt)}}function d(q,at){return function(){var bt=at.apply(this,arguments);bt==null?this.removeAttributeNS(q.space,q.local):this.setAttributeNS(q.space,q.local,bt)}}var o=ft(35);function k(q){return function(){delete this[q]}}function S(q,at){return function(){this[q]=at}}function h(q,at){return function(){var bt=at.apply(this,arguments);bt==null?delete this[q]:this[q]=bt}}function w(q){return q.trim().split(/^|\s+/)}function b(q){return q.classList||new g(q)}function g(q){this._node=q,this._names=w(q.getAttribute("class")||"")}function p(q,at){for(var bt=b(q),mt=-1,Ct=at.length;++mt=0&&(this._names.splice(at,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(q){return this._names.indexOf(q)>=0}};function l(){this.textContent=""}function s(q){return function(){this.textContent=q}}function N(q){return function(){var at=q.apply(this,arguments);this.textContent=at==null?"":at}}function R(){this.innerHTML=""}function c(q){return function(){this.innerHTML=q}}function E(q){return function(){var at=q.apply(this,arguments);this.innerHTML=at==null?"":at}}function L(){this.nextSibling&&this.parentNode.appendChild(this)}function et(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var nt=ft(12);function rt(){return null}function G(){var q=this.parentNode;q&&q.removeChild(this)}function ut(){var q=this.cloneNode(!1),at=this.parentNode;return at?at.insertBefore(q,this.nextSibling):q}function F(){var q=this.cloneNode(!0),at=this.parentNode;return at?at.insertBefore(q,this.nextSibling):q}var B=ft(17),st=ft(21);function ht(q,at,bt){var mt=Object(st.a)(q),Ct=mt.CustomEvent;typeof Ct=="function"?Ct=new Ct(at,bt):(Ct=mt.document.createEvent("Event"),bt?(Ct.initEvent(at,bt.bubbles,bt.cancelable),Ct.detail=bt.detail):Ct.initEvent(at,!1,!1)),q.dispatchEvent(Ct)}function tt(q,at){return function(){return ht(this,q,at)}}function ct(q,at){return function(){return ht(this,q,at.apply(this,arguments))}}ft.d(xt,"c",function(){return U}),ft.d(xt,"a",function(){return J});var U=[null];function J(q,at){this._groups=q,this._parents=at}function K(){return new J([[document.documentElement]],U)}J.prototype=K.prototype={constructor:J,select:function(q){typeof q!="function"&&(q=Object(Mt.a)(q));for(var at=this._groups,bt=at.length,mt=new Array(bt),Ct=0;Ct=tn&&(tn=an+1);!(nn=Ae[tn])&&++tn=0;)(mt=Ct[vt])&&(Nt&&4^mt.compareDocumentPosition(Nt)&&Nt.parentNode.insertBefore(mt,Nt),Nt=mt);return this},sort:function(q){function at(pt,Pt){return pt&&Pt?q(pt.__data__,Pt.__data__):!pt-!Pt}q||(q=Z);for(var bt=this._groups,mt=bt.length,Ct=new Array(mt),vt=0;vt1?this.each((at==null?k:typeof at=="function"?h:S)(q,at)):this.node()[q]},classed:function(q,at){var bt=w(q+"");if(arguments.length<2){for(var mt=b(this.node()),Ct=-1,vt=bt.length;++Ct0?Object(Mt.a)(function(I){I.setFullYear(Math.floor(I.getFullYear()/T)*T),I.setMonth(0,1),I.setHours(0,0,0,0)},function(I,Y){I.setFullYear(I.getFullYear()+Y*T)}):null},xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return u});var Mt=ft(0),W=Object(Mt.a)(function(T){T.setUTCMonth(0,1),T.setUTCHours(0,0,0,0)},function(T,I){T.setUTCFullYear(T.getUTCFullYear()+I)},function(T,I){return I.getUTCFullYear()-T.getUTCFullYear()},function(T){return T.getUTCFullYear()});W.every=function(T){return isFinite(T=Math.floor(T))&&T>0?Object(Mt.a)(function(I){I.setUTCFullYear(Math.floor(I.getUTCFullYear()/T)*T),I.setUTCMonth(0,1),I.setUTCHours(0,0,0,0)},function(I,Y){I.setUTCFullYear(I.getUTCFullYear()+Y*T)}):null},xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";ft.d(xt,"c",function(){return W}),ft.d(xt,"a",function(){return Z});var Mt={},W=null;typeof document!="undefined"&&("onmouseenter"in document.documentElement||(Mt={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(H,_,j){return H=T(H,_,j),function(A){var D=A.relatedTarget;D&&(D===this||8&D.compareDocumentPosition(this))||H.call(this,A)}}function T(H,_,j){return function(A){var D=W;W=A;try{H.call(this,this.__data__,_,j)}finally{W=D}}}function I(H){return H.trim().split(/^|\s+/).map(function(_){var j="",A=_.indexOf(".");return A>=0&&(j=_.slice(A+1),_=_.slice(0,A)),{type:_,name:j}})}function Y(H){return function(){var _=this.__on;if(_){for(var j,A=0,D=-1,C=_.length;A1?T[0]+T.slice(2):T,+Mt.slice(u+1)]}},function(pe,xt,ft){"use strict";function Mt(){}xt.a=function(W){return W==null?Mt:function(){return this.querySelector(W)}}},function(pe,xt,ft){"use strict";var Mt=ft(14);xt.a=function(W){var u=W+="",T=u.indexOf(":");return T>=0&&(u=W.slice(0,T))!=="xmlns"&&(W=W.slice(T+1)),Mt.a.hasOwnProperty(u)?{space:Mt.a[u],local:W}:W}},function(pe,xt,ft){"use strict";xt.a=function(Mt){return Mt.ownerDocument&&Mt.ownerDocument.defaultView||Mt.document&&Mt||Mt.defaultView}},function(pe,xt,ft){"use strict";var Mt=ft(17);xt.a=function(){for(var W,u=Mt.c;W=u.sourceEvent;)u=W;return u}},function(pe,xt,ft){"use strict";function Mt(W){return ArrayBuffer.isView(W)&&!(W instanceof DataView)}ft.d(xt,"b",function(){return Mt}),xt.a=function(W,u){u||(u=[]);var T,I=W?Math.min(u.length,W.length):0,Y=u.slice();return function(X){for(T=0;T=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function W(T){if(!(I=Mt.exec(T)))throw new Error("invalid format: "+T);var I;return new u({fill:I[1],align:I[2],sign:I[3],symbol:I[4],zero:I[5],width:I[6],comma:I[7],precision:I[8]&&I[8].slice(1),trim:I[9],type:I[10]})}function u(T){this.fill=T.fill===void 0?" ":T.fill+"",this.align=T.align===void 0?">":T.align+"",this.sign=T.sign===void 0?"-":T.sign+"",this.symbol=T.symbol===void 0?"":T.symbol+"",this.zero=!!T.zero,this.width=T.width===void 0?void 0:+T.width,this.comma=!!T.comma,this.precision=T.precision===void 0?void 0:+T.precision,this.trim=!!T.trim,this.type=T.type===void 0?"":T.type+""}W.prototype=u.prototype,u.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(pe,xt,ft){"use strict";function Mt(W,u,T,I,Y){var X=W*W,Z=X*W;return((1-3*W+3*X-Z)*u+(4-6*X+3*Z)*T+(1+3*W+3*X-3*Z)*I+Z*Y)/6}ft.d(xt,"a",function(){return Mt}),xt.b=function(W){var u=W.length-1;return function(T){var I=T<=0?T=0:T>=1?(T=1,u-1):Math.floor(T*u),Y=W[I],X=W[I+1],Z=I>0?W[I-1]:2*Y-X,H=I0?T>1?Object(Mt.a)(function(I){I.setTime(Math.floor(I/T)*T)},function(I,Y){I.setTime(+I+Y*T)},function(I,Y){return(Y-I)/T}):W:null},xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";var Mt=ft(10);xt.a=function(W){return typeof W=="string"?new Mt.a([[document.querySelector(W)]],[document.documentElement]):new Mt.a([[W]],Mt.c)}},function(pe,xt,ft){"use strict";function Mt(){return[]}xt.a=function(W){return W==null?Mt:function(){return this.querySelectorAll(W)}}},function(pe,xt,ft){"use strict";xt.a=function(Mt){return function(){return this.matches(Mt)}}},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return I});var Mt=ft(21);function W(Y){return function(){this.style.removeProperty(Y)}}function u(Y,X,Z){return function(){this.style.setProperty(Y,X,Z)}}function T(Y,X,Z){return function(){var H=X.apply(this,arguments);H==null?this.style.removeProperty(Y):this.style.setProperty(Y,H,Z)}}function I(Y,X){return Y.style.getPropertyValue(X)||Object(Mt.a)(Y).getComputedStyle(Y,null).getPropertyValue(X)}xt.a=function(Y,X,Z){return arguments.length>1?this.each((X==null?W:typeof X=="function"?T:u)(Y,X,Z==null?"":Z)):I(this.node(),Y)}},function(pe,xt,ft){"use strict";var Mt=ft(5),W=ft(37),u=ft(58),T=ft(57),I=ft(6),Y=ft(59),X=ft(55),Z=ft(24),H=ft(23);xt.a=function(_,j){var A,D=typeof j;return j==null||D==="boolean"?Object(Z.a)(j):(D==="number"?I.a:D==="string"?(A=Object(Mt.e)(j))?(j=A,W.a):X.a:j instanceof Mt.e?W.a:j instanceof Date?T.a:Object(H.b)(j)?H.a:Array.isArray(j)?u.b:typeof j.valueOf!="function"&&typeof j.toString!="function"||isNaN(j)?Y.a:I.a)(_,j)}},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return Y}),ft.d(xt,"c",function(){return X});var Mt=ft(5),W=ft(26),u=ft(53),T=ft(8);function I(Z){return function(H){var _,j,A=H.length,D=new Array(A),C=new Array(A),d=new Array(A);for(_=0;_C+1?D.slice(0,C+1)+"."+D.slice(C+1):D+new Array(C-D.length+2).join("0")},Y={"%":function(_,j){return(100*_).toFixed(j)},b:function(_){return Math.round(_).toString(2)},c:function(_){return _+""},d:function(_){return Math.round(_).toString(10)},e:function(_,j){return _.toExponential(j)},f:function(_,j){return _.toFixed(j)},g:function(_,j){return _.toPrecision(j)},o:function(_){return Math.round(_).toString(8)},p:function(_,j){return I(100*_,j)},r:I,s:function(_,j){var A=Object(T.a)(_,j);if(!A)return _+"";var D=A[0],C=A[1],d=C-(Mt=3*Math.max(-8,Math.min(8,Math.floor(C/3))))+1,o=D.length;return d===o?D:d>o?D+new Array(d-o+1).join("0"):d>0?D.slice(0,d)+"."+D.slice(d):"0."+new Array(1-d).join("0")+Object(T.a)(_,Math.max(0,j+d-1))[0]},X:function(_){return Math.round(_).toString(16).toUpperCase()},x:function(_){return Math.round(_).toString(16)}},X=function(_){return _},Z=Array.prototype.map,H=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];xt.a=function(_){var j,A,D=_.grouping===void 0||_.thousands===void 0?X:(j=Z.call(_.grouping,Number),A=_.thousands+"",function(g,p){for(var y=g.length,P=[],m=0,x=j[0],l=0;y>0&&x>0&&(l+x+1>p&&(x=Math.max(1,p-l)),P.push(g.substring(y-=x,y+x)),!((l+=x+1)>p));)x=j[m=(m+1)%j.length];return P.reverse().join(A)}),C=_.currency===void 0?"":_.currency[0]+"",d=_.currency===void 0?"":_.currency[1]+"",o=_.decimal===void 0?".":_.decimal+"",k=_.numerals===void 0?X:function(g){return function(p){return p.replace(/[0-9]/g,function(y){return g[+y]})}}(Z.call(_.numerals,String)),S=_.percent===void 0?"%":_.percent+"",h=_.minus===void 0?"-":_.minus+"",w=_.nan===void 0?"NaN":_.nan+"";function b(g){var p=(g=Object(u.b)(g)).fill,y=g.align,P=g.sign,m=g.symbol,x=g.zero,l=g.width,s=g.comma,N=g.precision,R=g.trim,c=g.type;c==="n"?(s=!0,c="g"):Y[c]||(N===void 0&&(N=12),R=!0,c="g"),(x||p==="0"&&y==="=")&&(x=!0,p="0",y="=");var E=m==="$"?C:m==="#"&&/[boxX]/.test(c)?"0"+c.toLowerCase():"",L=m==="$"?d:/[%p]/.test(c)?S:"",et=Y[c],nt=/[defgprs%]/.test(c);function rt(G){var ut,F,B,st=E,ht=L;if(c==="c")ht=et(G)+ht,G="";else{var tt=(G=+G)<0;if(G=isNaN(G)?w:et(Math.abs(G),N),R&&(G=function(J){t:for(var K,q=J.length,at=1,bt=-1;at0&&(bt=0)}return bt>0?J.slice(0,bt)+J.slice(K+1):J}(G)),tt&&+G==0&&(tt=!1),st=(tt?P==="("?P:h:P==="-"||P==="("?"":P)+st,ht=(c==="s"?H[8+Mt/3]:"")+ht+(tt&&P==="("?")":""),nt){for(ut=-1,F=G.length;++ut(B=G.charCodeAt(ut))||B>57){ht=(B===46?o+G.slice(ut+1):G.slice(ut))+ht,G=G.slice(0,ut);break}}}s&&!x&&(G=D(G,1/0));var ct=st.length+G.length+ht.length,U=ct>1)+st+G+ht+U.slice(ct);break;default:G=U+st+G+ht}return k(G)}return N=N===void 0?6:/[gprs]/.test(c)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N)),rt.toString=function(){return g+""},rt}return{format:b,formatPrefix:function(g,p){var y=b(((g=Object(u.b)(g)).type="f",g)),P=3*Math.max(-8,Math.min(8,Math.floor(Object(W.a)(p)/3))),m=Math.pow(10,-P),x=H[8+P/3];return function(l){return y(m*l)+x}}}}},,,function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return W}),ft.d(xt,"c",function(){return u}),ft.d(xt,"a",function(){return I});var Mt,W,u,T=ft(40);function I(Y){return Mt=Object(T.a)(Y),W=Mt.format,u=Mt.formatPrefix,Mt}I({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(pe,xt,ft){"use strict";ft.r(xt);var Mt=ft(43);ft.d(xt,"formatDefaultLocale",function(){return Mt.a}),ft.d(xt,"format",function(){return Mt.b}),ft.d(xt,"formatPrefix",function(){return Mt.c});var W=ft(40);ft.d(xt,"formatLocale",function(){return W.a});var u=ft(25);ft.d(xt,"formatSpecifier",function(){return u.b}),ft.d(xt,"FormatSpecifier",function(){return u.a});var T=ft(63);ft.d(xt,"precisionFixed",function(){return T.a});var I=ft(64);ft.d(xt,"precisionPrefix",function(){return I.a});var Y=ft(65);ft.d(xt,"precisionRound",function(){return Y.a})},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return W}),ft.d(xt,"c",function(){return u}),ft.d(xt,"d",function(){return T}),ft.d(xt,"e",function(){return I}),ft.d(xt,"a",function(){return X});var Mt,W,u,T,I,Y=ft(54);function X(Z){return Mt=Object(Y.a)(Z),W=Mt.format,u=Mt.parse,T=Mt.utcFormat,I=Mt.utcParse,Mt}X({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(pe,xt,ft){"use strict";ft.r(xt);function Mt(){}function W(o,k){var S=new Mt;if(o instanceof Mt)o.each(function(p,y){S.set(y,p)});else if(Array.isArray(o)){var h,w=-1,b=o.length;if(k==null)for(;++w=h.length)return o!=null&&g.sort(o),k!=null?k(g):g;for(var m,x,l,s=-1,N=g.length,R=h[p++],c=u(),E=y();++sh.length)return y;var m,x=w[P-1];return k!=null&&P>=h.length?m=y.entries():(m=[],y.each(function(l,s){m.push({key:s,values:p(l,P)})})),x!=null?m.sort(function(l,s){return x(l.key,s.key)}):m}(b(g,0,X,Z),0)},key:function(g){return h.push(g),S},sortKeys:function(g){return w[h.length-1]=g,S},sortValues:function(g){return o=g,S},rollup:function(g){return k=g,S}}};function I(){return{}}function Y(o,k,S){o[k]=S}function X(){return u()}function Z(o,k,S){o.set(k,S)}function H(){}var _=u.prototype;function j(o,k){var S=new H;if(o instanceof H)o.each(function(b){S.add(b)});else if(o){var h=-1,w=o.length;if(k==null)for(;++h=12)]},q:function(xe){return 1+~~(xe.getMonth()/3)},Q:ne,s:te,S:J,u:K,U:q,V:at,w:bt,W:mt,x:null,X:null,y:Ct,Y:vt,Z:Nt,"%":se},De={a:function(xe){return he[xe.getUTCDay()]},A:function(xe){return ve[xe.getUTCDay()]},b:function(xe){return cn[xe.getUTCMonth()]},B:function(xe){return Ge[xe.getUTCMonth()]},c:null,d:Ft,e:Ft,f:Pt,H:Ot,I:At,j:St,L:pt,m:Wt,M:Xt,p:function(xe){return re[+(xe.getUTCHours()>=12)]},q:function(xe){return 1+~~(xe.getUTCMonth()/3)},Q:ne,s:te,S:ae,u:le,U:Ae,V:ze,w:nn,W:an,x:null,X:null,y:tn,Y:xn,Z:un,"%":se},Te={a:function(xe,$e,pn){var we=Qn.exec($e.slice(pn));return we?(xe.w=Cr[we[0].toLowerCase()],pn+we[0].length):-1},A:function(xe,$e,pn){var we=fn.exec($e.slice(pn));return we?(xe.w=Mn[we[0].toLowerCase()],pn+we[0].length):-1},b:function(xe,$e,pn){var we=Be.exec($e.slice(pn));return we?(xe.m=fe[we[0].toLowerCase()],pn+we[0].length):-1},B:function(xe,$e,pn){var we=de.exec($e.slice(pn));return we?(xe.m=Ne[we[0].toLowerCase()],pn+we[0].length):-1},c:function(xe,$e,pn){return vn(xe,Bt,$e,pn)},d:s,e:s,f:et,H:R,I:R,j:N,L,m:l,M:c,p:function(xe,$e,pn){var we=yn.exec($e.slice(pn));return we?(xe.p=Vn[we[0].toLowerCase()],pn+we[0].length):-1},q:x,Q:rt,s:G,S:E,u:w,U:b,V:g,w:h,W:p,x:function(xe,$e,pn){return vn(xe,Ht,$e,pn)},X:function(xe,$e,pn){return vn(xe,zt,$e,pn)},y:P,Y:y,Z:m,"%":nt};function Me(xe,$e){return function(pn){var we,gn,Ke,hn=[],mn=-1,dn=0,cr=xe.length;for(pn instanceof Date||(pn=new Date(+pn));++mn53)return null;"w"in Ke||(Ke.w=1),"Z"in Ke?(gn=(we=Z(H(Ke.y,0,1))).getUTCDay(),we=gn>4||gn===0?Mt.c.ceil(we):Object(Mt.c)(we),we=W.a.offset(we,7*(Ke.V-1)),Ke.y=we.getUTCFullYear(),Ke.m=we.getUTCMonth(),Ke.d=we.getUTCDate()+(Ke.w+6)%7):(gn=(we=X(H(Ke.y,0,1))).getDay(),we=gn>4||gn===0?u.c.ceil(we):Object(u.c)(we),we=T.b.offset(we,7*(Ke.V-1)),Ke.y=we.getFullYear(),Ke.m=we.getMonth(),Ke.d=we.getDate()+(Ke.w+6)%7)}else("W"in Ke||"U"in Ke)&&("w"in Ke||(Ke.w="u"in Ke?Ke.u%7:"W"in Ke?1:0),gn="Z"in Ke?Z(H(Ke.y,0,1)).getUTCDay():X(H(Ke.y,0,1)).getDay(),Ke.m=0,Ke.d="W"in Ke?(Ke.w+6)%7+7*Ke.W-(gn+5)%7:Ke.w+7*Ke.U-(gn+6)%7);return"Z"in Ke?(Ke.H+=Ke.Z/100|0,Ke.M+=Ke.Z%100,Z(Ke)):X(Ke)}}function vn(xe,$e,pn,we){for(var gn,Ke,hn=0,mn=$e.length,dn=pn.length;hn=dn)return-1;if((gn=$e.charCodeAt(hn++))===37){if(gn=$e.charAt(hn++),!(Ke=Te[gn in j?$e.charAt(hn++):gn])||(we=Ke(xe,pn,we))<0)return-1}else if(gn!=pn.charCodeAt(we++))return-1}return we}return ke.x=Me(Ht,ke),ke.X=Me(zt,ke),ke.c=Me(Bt,ke),De.x=Me(Ht,De),De.X=Me(zt,De),De.c=Me(Bt,De),{format:function(xe){var $e=Me(xe+="",ke);return $e.toString=function(){return xe},$e},parse:function(xe){var $e=Xe(xe+="",!1);return $e.toString=function(){return xe},$e},utcFormat:function(xe){var $e=Me(xe+="",De);return $e.toString=function(){return xe},$e},utcParse:function(xe){var $e=Xe(xe+="",!0);return $e.toString=function(){return xe},$e}}}var j={"-":"",_:" ",0:"0"},A=/^\s*\d+/,D=/^%/,C=/[\\^$*+?|[\]().{}]/g;function d(Rt,Bt,Ht){var zt=Rt<0?"-":"",re=(zt?-Rt:Rt)+"",ve=re.length;return zt+(ve68?1900:2e3),Ht+zt[0].length):-1}function m(Rt,Bt,Ht){var zt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Bt.slice(Ht,Ht+6));return zt?(Rt.Z=zt[1]?0:-(zt[2]+(zt[3]||"00")),Ht+zt[0].length):-1}function x(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+1));return zt?(Rt.q=3*zt[0]-3,Ht+zt[0].length):-1}function l(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.m=zt[0]-1,Ht+zt[0].length):-1}function s(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.d=+zt[0],Ht+zt[0].length):-1}function N(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+3));return zt?(Rt.m=0,Rt.d=+zt[0],Ht+zt[0].length):-1}function R(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.H=+zt[0],Ht+zt[0].length):-1}function c(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.M=+zt[0],Ht+zt[0].length):-1}function E(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.S=+zt[0],Ht+zt[0].length):-1}function L(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+3));return zt?(Rt.L=+zt[0],Ht+zt[0].length):-1}function et(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+6));return zt?(Rt.L=Math.floor(zt[0]/1e3),Ht+zt[0].length):-1}function nt(Rt,Bt,Ht){var zt=D.exec(Bt.slice(Ht,Ht+1));return zt?Ht+zt[0].length:-1}function rt(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht));return zt?(Rt.Q=+zt[0],Ht+zt[0].length):-1}function G(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht));return zt?(Rt.s=+zt[0],Ht+zt[0].length):-1}function ut(Rt,Bt){return d(Rt.getDate(),Bt,2)}function F(Rt,Bt){return d(Rt.getHours(),Bt,2)}function B(Rt,Bt){return d(Rt.getHours()%12||12,Bt,2)}function st(Rt,Bt){return d(1+T.b.count(Object(I.a)(Rt),Rt),Bt,3)}function ht(Rt,Bt){return d(Rt.getMilliseconds(),Bt,3)}function tt(Rt,Bt){return ht(Rt,Bt)+"000"}function ct(Rt,Bt){return d(Rt.getMonth()+1,Bt,2)}function U(Rt,Bt){return d(Rt.getMinutes(),Bt,2)}function J(Rt,Bt){return d(Rt.getSeconds(),Bt,2)}function K(Rt){var Bt=Rt.getDay();return Bt===0?7:Bt}function q(Rt,Bt){return d(u.g.count(Object(I.a)(Rt)-1,Rt),Bt,2)}function at(Rt,Bt){var Ht=Rt.getDay();return Rt=Ht>=4||Ht===0?Object(u.i)(Rt):u.i.ceil(Rt),d(u.i.count(Object(I.a)(Rt),Rt)+(Object(I.a)(Rt).getDay()===4),Bt,2)}function bt(Rt){return Rt.getDay()}function mt(Rt,Bt){return d(u.c.count(Object(I.a)(Rt)-1,Rt),Bt,2)}function Ct(Rt,Bt){return d(Rt.getFullYear()%100,Bt,2)}function vt(Rt,Bt){return d(Rt.getFullYear()%1e4,Bt,4)}function Nt(Rt){var Bt=Rt.getTimezoneOffset();return(Bt>0?"-":(Bt*=-1,"+"))+d(Bt/60|0,"0",2)+d(Bt%60,"0",2)}function Ft(Rt,Bt){return d(Rt.getUTCDate(),Bt,2)}function Ot(Rt,Bt){return d(Rt.getUTCHours(),Bt,2)}function At(Rt,Bt){return d(Rt.getUTCHours()%12||12,Bt,2)}function St(Rt,Bt){return d(1+W.a.count(Object(Y.a)(Rt),Rt),Bt,3)}function pt(Rt,Bt){return d(Rt.getUTCMilliseconds(),Bt,3)}function Pt(Rt,Bt){return pt(Rt,Bt)+"000"}function Wt(Rt,Bt){return d(Rt.getUTCMonth()+1,Bt,2)}function Xt(Rt,Bt){return d(Rt.getUTCMinutes(),Bt,2)}function ae(Rt,Bt){return d(Rt.getUTCSeconds(),Bt,2)}function le(Rt){var Bt=Rt.getUTCDay();return Bt===0?7:Bt}function Ae(Rt,Bt){return d(Mt.g.count(Object(Y.a)(Rt)-1,Rt),Bt,2)}function ze(Rt,Bt){var Ht=Rt.getUTCDay();return Rt=Ht>=4||Ht===0?Object(Mt.i)(Rt):Mt.i.ceil(Rt),d(Mt.i.count(Object(Y.a)(Rt),Rt)+(Object(Y.a)(Rt).getUTCDay()===4),Bt,2)}function nn(Rt){return Rt.getUTCDay()}function an(Rt,Bt){return d(Mt.c.count(Object(Y.a)(Rt)-1,Rt),Bt,2)}function tn(Rt,Bt){return d(Rt.getUTCFullYear()%100,Bt,2)}function xn(Rt,Bt){return d(Rt.getUTCFullYear()%1e4,Bt,4)}function un(){return"+0000"}function se(){return"%"}function ne(Rt){return+Rt}function te(Rt){return Math.floor(+Rt/1e3)}},function(pe,xt,ft){"use strict";var Mt=ft(6),W=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,u=new RegExp(W.source,"g");xt.a=function(T,I){var Y,X,Z,H=W.lastIndex=u.lastIndex=0,_=-1,j=[],A=[];for(T+="",I+="";(Y=W.exec(T))&&(X=u.exec(I));)(Z=X.index)>H&&(Z=I.slice(H,Z),j[_]?j[_]+=Z:j[++_]=Z),(Y=Y[0])===(X=X[0])?j[_]?j[_]+=X:j[++_]=X:(j[++_]=null,A.push({i:_,x:Object(Mt.a)(Y,X)})),H=u.lastIndex;return H=0&&(_=H.slice(j+1),H=H.slice(0,j)),H&&!Z.hasOwnProperty(H))throw new Error("unknown type: "+H);return{type:H,name:_}})}function I(X,Z){for(var H,_=0,j=X.length;_0)for(var H,_,j=new Array(H),A=0;A=0))throw w(S,new Error(vt.tagName+"@"+Ft));for(var At=Nt.length-1;Ot"&&">")||vt=="&"&&"&"||vt=='"'&&"""||"&#"+vt.charCodeAt()+";"}function R(vt,Nt){if(Nt(vt))return!0;if(vt=vt.firstChild)do if(R(vt,Nt))return!0;while(vt=vt.nextSibling)}function c(){}function E(vt,Nt,Ft,Ot){vt&&vt._inc++,Ft.namespaceURI=="http://www.w3.org/2000/xmlns/"&&delete Nt._nsMap[Ft.prefix?Ft.localName:""]}function L(vt,Nt,Ft){if(vt&&vt._inc){vt._inc++;var Ot=Nt.childNodes;if(Ft)Ot[Ot.length++]=Ft;else{for(var At=Nt.firstChild,St=0;At;)Ot[St++]=At,At=At.nextSibling;Ot.length=St}}}function et(vt,Nt){var Ft=Nt.previousSibling,Ot=Nt.nextSibling;return Ft?Ft.nextSibling=Ot:vt.firstChild=Ot,Ot?Ot.previousSibling=Ft:vt.lastChild=Ft,L(vt.ownerDocument,vt),Nt}function nt(vt,Nt,Ft){var Ot=Nt.parentNode;if(Ot&&Ot.removeChild(Nt),Nt.nodeType===D){var At=Nt.firstChild;if(At==null)return Nt;var St=Nt.lastChild}else At=St=Nt;var pt=Ft?Ft.previousSibling:vt.lastChild;At.previousSibling=pt,St.nextSibling=Ft,pt?pt.nextSibling=At:vt.firstChild=At,Ft==null?vt.lastChild=St:Ft.previousSibling=St;do At.parentNode=vt;while(At!==St&&(At=At.nextSibling));return L(vt.ownerDocument||vt,vt),Nt.nodeType==D&&(Nt.firstChild=Nt.lastChild=null),Nt}function rt(){this._nsMap={}}function G(){}function ut(){}function F(){}function B(){}function st(){}function ht(){}function tt(){}function ct(){}function U(){}function J(){}function K(){}function q(){}function at(vt,Nt){var Ft=[],Ot=this.nodeType==9?this.documentElement:this,At=Ot.prefix,St=Ot.namespaceURI;if(St&&At==null&&(At=Ot.lookupPrefix(St))==null)var pt=[{namespace:St,prefix:null}];return mt(this,Ft,vt,Nt,pt),Ft.join("")}function bt(vt,Nt,Ft){var Ot=vt.prefix||"",At=vt.namespaceURI;if(!Ot&&!At||Ot==="xml"&&At==="http://www.w3.org/XML/1998/namespace"||At=="http://www.w3.org/2000/xmlns/")return!1;for(var St=Ft.length;St--;){var pt=Ft[St];if(pt.prefix==Ot)return pt.namespace!=At}return!0}function mt(vt,Nt,Ft,Ot,At){if(Ot){if(!(vt=Ot(vt)))return;if(typeof vt=="string")return void Nt.push(vt)}switch(vt.nodeType){case u:At||(At=[]),At.length;var St=vt.attributes,pt=St.length,Pt=vt.firstChild,Wt=vt.tagName;Ft=vt.namespaceURI==="http://www.w3.org/1999/xhtml"||Ft,Nt.push("<",Wt);for(var Xt=0;Xt"),Ft&&/^script$/i.test(Wt))for(;Pt;)Pt.data?Nt.push(Pt.data):mt(Pt,Nt,Ft,Ot,At),Pt=Pt.nextSibling;else for(;Pt;)mt(Pt,Nt,Ft,Ot,At),Pt=Pt.nextSibling;Nt.push("")}else Nt.push("/>");return;case j:case D:for(Pt=vt.firstChild;Pt;)mt(Pt,Nt,Ft,Ot,At),Pt=Pt.nextSibling;return;case T:return Nt.push(" ",vt.name,'="',vt.value.replace(/[<&"]/g,N),'"');case I:return Nt.push(vt.data.replace(/[<&]/g,N));case Y:return Nt.push("");case _:return Nt.push("");case A:var nn=vt.publicId,an=vt.systemId;if(Nt.push("');else if(an&&an!=".")Nt.push(' SYSTEM "',an,'">');else{var tn=vt.internalSubset;tn&&Nt.push(" [",tn,"]"),Nt.push(">")}return;case H:return Nt.push("");case X:return Nt.push("&",vt.nodeName,";");default:Nt.push("??",vt.nodeName)}}function Ct(vt,Nt,Ft){vt[Nt]=Ft}w.prototype=Error.prototype,ft(d,w),b.prototype={length:0,item:function(vt){return this[vt]||null},toString:function(vt,Nt){for(var Ft=[],Ot=0;Ot0},lookupPrefix:function(vt){for(var Nt=this;Nt;){var Ft=Nt._nsMap;if(Ft){for(var Ot in Ft)if(Ft[Ot]==vt)return Ot}Nt=Nt.nodeType==T?Nt.ownerDocument:Nt.parentNode}return null},lookupNamespaceURI:function(vt){for(var Nt=this;Nt;){var Ft=Nt._nsMap;if(Ft&&vt in Ft)return Ft[vt];Nt=Nt.nodeType==T?Nt.ownerDocument:Nt.parentNode}return null},isDefaultNamespace:function(vt){return this.lookupPrefix(vt)==null}},ft(W,s),ft(W,s.prototype),c.prototype={nodeName:"#document",nodeType:j,doctype:null,documentElement:null,_inc:1,insertBefore:function(vt,Nt){if(vt.nodeType==D){for(var Ft=vt.firstChild;Ft;){var Ot=Ft.nextSibling;this.insertBefore(Ft,Nt),Ft=Ot}return vt}return this.documentElement==null&&vt.nodeType==u&&(this.documentElement=vt),nt(this,vt,Nt),vt.ownerDocument=this,vt},removeChild:function(vt){return this.documentElement==vt&&(this.documentElement=null),et(this,vt)},importNode:function(vt,Nt){return function Ft(Ot,At,St){var pt;switch(At.nodeType){case u:(pt=At.cloneNode(!1)).ownerDocument=Ot;case D:break;case T:St=!0}if(pt||(pt=At.cloneNode(!1)),pt.ownerDocument=Ot,pt.parentNode=null,St)for(var Pt=At.firstChild;Pt;)pt.appendChild(Ft(Ot,Pt,St)),Pt=Pt.nextSibling;return pt}(this,vt,Nt)},getElementById:function(vt){var Nt=null;return R(this.documentElement,function(Ft){if(Ft.nodeType==u&&Ft.getAttribute("id")==vt)return Nt=Ft,!0}),Nt},createElement:function(vt){var Nt=new rt;return Nt.ownerDocument=this,Nt.nodeName=vt,Nt.tagName=vt,Nt.childNodes=new b,(Nt.attributes=new y)._ownerElement=Nt,Nt},createDocumentFragment:function(){var vt=new J;return vt.ownerDocument=this,vt.childNodes=new b,vt},createTextNode:function(vt){var Nt=new F;return Nt.ownerDocument=this,Nt.appendData(vt),Nt},createComment:function(vt){var Nt=new B;return Nt.ownerDocument=this,Nt.appendData(vt),Nt},createCDATASection:function(vt){var Nt=new st;return Nt.ownerDocument=this,Nt.appendData(vt),Nt},createProcessingInstruction:function(vt,Nt){var Ft=new K;return Ft.ownerDocument=this,Ft.tagName=Ft.target=vt,Ft.nodeValue=Ft.data=Nt,Ft},createAttribute:function(vt){var Nt=new G;return Nt.ownerDocument=this,Nt.name=vt,Nt.nodeName=vt,Nt.localName=vt,Nt.specified=!0,Nt},createEntityReference:function(vt){var Nt=new U;return Nt.ownerDocument=this,Nt.nodeName=vt,Nt},createElementNS:function(vt,Nt){var Ft=new rt,Ot=Nt.split(":"),At=Ft.attributes=new y;return Ft.childNodes=new b,Ft.ownerDocument=this,Ft.nodeName=Nt,Ft.tagName=Nt,Ft.namespaceURI=vt,Ot.length==2?(Ft.prefix=Ot[0],Ft.localName=Ot[1]):Ft.localName=Nt,At._ownerElement=Ft,Ft},createAttributeNS:function(vt,Nt){var Ft=new G,Ot=Nt.split(":");return Ft.ownerDocument=this,Ft.nodeName=Nt,Ft.name=Nt,Ft.namespaceURI=vt,Ft.specified=!0,Ot.length==2?(Ft.prefix=Ot[0],Ft.localName=Ot[1]):Ft.localName=Nt,Ft}},Mt(c,s),rt.prototype={nodeType:u,hasAttribute:function(vt){return this.getAttributeNode(vt)!=null},getAttribute:function(vt){var Nt=this.getAttributeNode(vt);return Nt&&Nt.value||""},getAttributeNode:function(vt){return this.attributes.getNamedItem(vt)},setAttribute:function(vt,Nt){var Ft=this.ownerDocument.createAttribute(vt);Ft.value=Ft.nodeValue=""+Nt,this.setAttributeNode(Ft)},removeAttribute:function(vt){var Nt=this.getAttributeNode(vt);Nt&&this.removeAttributeNode(Nt)},appendChild:function(vt){return vt.nodeType===D?this.insertBefore(vt,null):function(Nt,Ft){var Ot=Ft.parentNode;if(Ot){var At=Nt.lastChild;Ot.removeChild(Ft),At=Nt.lastChild}return At=Nt.lastChild,Ft.parentNode=Nt,Ft.previousSibling=At,Ft.nextSibling=null,At?At.nextSibling=Ft:Nt.firstChild=Ft,Nt.lastChild=Ft,L(Nt.ownerDocument,Nt,Ft),Ft}(this,vt)},setAttributeNode:function(vt){return this.attributes.setNamedItem(vt)},setAttributeNodeNS:function(vt){return this.attributes.setNamedItemNS(vt)},removeAttributeNode:function(vt){return this.attributes.removeNamedItem(vt.nodeName)},removeAttributeNS:function(vt,Nt){var Ft=this.getAttributeNodeNS(vt,Nt);Ft&&this.removeAttributeNode(Ft)},hasAttributeNS:function(vt,Nt){return this.getAttributeNodeNS(vt,Nt)!=null},getAttributeNS:function(vt,Nt){var Ft=this.getAttributeNodeNS(vt,Nt);return Ft&&Ft.value||""},setAttributeNS:function(vt,Nt,Ft){var Ot=this.ownerDocument.createAttributeNS(vt,Nt);Ot.value=Ot.nodeValue=""+Ft,this.setAttributeNode(Ot)},getAttributeNodeNS:function(vt,Nt){return this.attributes.getNamedItemNS(vt,Nt)},getElementsByTagName:function(vt){return new g(this,function(Nt){var Ft=[];return R(Nt,function(Ot){Ot===Nt||Ot.nodeType!=u||vt!=="*"&&Ot.tagName!=vt||Ft.push(Ot)}),Ft})},getElementsByTagNameNS:function(vt,Nt){return new g(this,function(Ft){var Ot=[];return R(Ft,function(At){At===Ft||At.nodeType!==u||vt!=="*"&&At.namespaceURI!==vt||Nt!=="*"&&At.localName!=Nt||Ot.push(At)}),Ot})}},c.prototype.getElementsByTagName=rt.prototype.getElementsByTagName,c.prototype.getElementsByTagNameNS=rt.prototype.getElementsByTagNameNS,Mt(rt,s),G.prototype.nodeType=T,Mt(G,s),ut.prototype={data:"",substringData:function(vt,Nt){return this.data.substring(vt,vt+Nt)},appendData:function(vt){vt=this.data+vt,this.nodeValue=this.data=vt,this.length=vt.length},insertData:function(vt,Nt){this.replaceData(vt,0,Nt)},appendChild:function(vt){throw new Error(o[k])},deleteData:function(vt,Nt){this.replaceData(vt,Nt,"")},replaceData:function(vt,Nt,Ft){Ft=this.data.substring(0,vt)+Ft+this.data.substring(vt+Nt),this.nodeValue=this.data=Ft,this.length=Ft.length}},Mt(ut,s),F.prototype={nodeName:"#text",nodeType:I,splitText:function(vt){var Nt=this.data,Ft=Nt.substring(vt);Nt=Nt.substring(0,vt),this.data=this.nodeValue=Nt,this.length=Nt.length;var Ot=this.ownerDocument.createTextNode(Ft);return this.parentNode&&this.parentNode.insertBefore(Ot,this.nextSibling),Ot}},Mt(F,ut),B.prototype={nodeName:"#comment",nodeType:_},Mt(B,ut),st.prototype={nodeName:"#cdata-section",nodeType:Y},Mt(st,ut),ht.prototype.nodeType=A,Mt(ht,s),tt.prototype.nodeType=C,Mt(tt,s),ct.prototype.nodeType=Z,Mt(ct,s),U.prototype.nodeType=X,Mt(U,s),J.prototype.nodeName="#document-fragment",J.prototype.nodeType=D,Mt(J,s),K.prototype.nodeType=H,Mt(K,s),q.prototype.serializeToString=function(vt,Nt,Ft){return at.call(vt,Nt,Ft)},s.prototype.toString=at;try{Object.defineProperty&&(Object.defineProperty(g.prototype,"length",{get:function(){return p(this),this.$$length}}),Object.defineProperty(s.prototype,"textContent",{get:function(){return function vt(Nt){switch(Nt.nodeType){case u:case D:var Ft=[];for(Nt=Nt.firstChild;Nt;)Nt.nodeType!==7&&Nt.nodeType!==8&&Ft.push(vt(Nt)),Nt=Nt.nextSibling;return Ft.join("");default:return Nt.nodeValue}}(this)},set:function(vt){switch(this.nodeType){case u:case D:for(;this.firstChild;)this.removeChild(this.firstChild);(vt||String(vt))&&this.appendChild(this.ownerDocument.createTextNode(vt));break;default:this.data=vt,this.value=vt,this.nodeValue=vt}}}),Ct=function(vt,Nt,Ft){vt["$$"+Nt]=Ft})}catch(vt){}xt.DOMImplementation=l,xt.XMLSerializer=q},,function(pe,xt,ft){"use strict";ft.r(xt);var Mt=Math.PI,W=2*Mt,u=W-1e-6;function T(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function I(){return new T}T.prototype=I.prototype={constructor:T,moveTo:function(dt,Lt){this._+="M"+(this._x0=this._x1=+dt)+","+(this._y0=this._y1=+Lt)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(dt,Lt){this._+="L"+(this._x1=+dt)+","+(this._y1=+Lt)},quadraticCurveTo:function(dt,Lt,Yt,_t){this._+="Q"+ +dt+","+ +Lt+","+(this._x1=+Yt)+","+(this._y1=+_t)},bezierCurveTo:function(dt,Lt,Yt,_t,Ut,Jt){this._+="C"+ +dt+","+ +Lt+","+ +Yt+","+ +_t+","+(this._x1=+Ut)+","+(this._y1=+Jt)},arcTo:function(dt,Lt,Yt,_t,Ut){dt=+dt,Lt=+Lt,Yt=+Yt,_t=+_t,Ut=+Ut;var Jt=this._x1,ue=this._y1,ce=Yt-dt,be=_t-Lt,Ue=Jt-dt,Re=ue-Lt,qe=Ue*Ue+Re*Re;if(Ut<0)throw new Error("negative radius: "+Ut);if(this._x1===null)this._+="M"+(this._x1=dt)+","+(this._y1=Lt);else if(qe>1e-6)if(Math.abs(Re*ce-be*Ue)>1e-6&&Ut){var wn=Yt-Jt,Pn=_t-ue,Gn=ce*ce+be*be,hr=wn*wn+Pn*Pn,ar=Math.sqrt(Gn),Wn=Math.sqrt(qe),ir=Ut*Math.tan((Mt-Math.acos((Gn+qe-hr)/(2*ar*Wn)))/2),Ar=ir/Wn,xr=ir/ar;Math.abs(Ar-1)>1e-6&&(this._+="L"+(dt+Ar*Ue)+","+(Lt+Ar*Re)),this._+="A"+Ut+","+Ut+",0,0,"+ +(Re*wn>Ue*Pn)+","+(this._x1=dt+xr*ce)+","+(this._y1=Lt+xr*be)}else this._+="L"+(this._x1=dt)+","+(this._y1=Lt)},arc:function(dt,Lt,Yt,_t,Ut,Jt){dt=+dt,Lt=+Lt,Jt=!!Jt;var ue=(Yt=+Yt)*Math.cos(_t),ce=Yt*Math.sin(_t),be=dt+ue,Ue=Lt+ce,Re=1^Jt,qe=Jt?_t-Ut:Ut-_t;if(Yt<0)throw new Error("negative radius: "+Yt);this._x1===null?this._+="M"+be+","+Ue:(Math.abs(this._x1-be)>1e-6||Math.abs(this._y1-Ue)>1e-6)&&(this._+="L"+be+","+Ue),Yt&&(qe<0&&(qe=qe%W+W),qe>u?this._+="A"+Yt+","+Yt+",0,1,"+Re+","+(dt-ue)+","+(Lt-ce)+"A"+Yt+","+Yt+",0,1,"+Re+","+(this._x1=be)+","+(this._y1=Ue):qe>1e-6&&(this._+="A"+Yt+","+Yt+",0,"+ +(qe>=Mt)+","+Re+","+(this._x1=dt+Yt*Math.cos(Ut))+","+(this._y1=Lt+Yt*Math.sin(Ut))))},rect:function(dt,Lt,Yt,_t){this._+="M"+(this._x0=this._x1=+dt)+","+(this._y0=this._y1=+Lt)+"h"+ +Yt+"v"+ +_t+"h"+-Yt+"Z"},toString:function(){return this._}};var Y=I,X=function(dt){return function(){return dt}},Z=Math.abs,H=Math.atan2,_=Math.cos,j=Math.max,A=Math.min,D=Math.sin,C=Math.sqrt,d=Math.PI,o=d/2,k=2*d;function S(dt){return dt>1?0:dt<-1?d:Math.acos(dt)}function h(dt){return dt>=1?o:dt<=-1?-o:Math.asin(dt)}function w(dt){return dt.innerRadius}function b(dt){return dt.outerRadius}function g(dt){return dt.startAngle}function p(dt){return dt.endAngle}function y(dt){return dt&&dt.padAngle}function P(dt,Lt,Yt,_t,Ut,Jt,ue,ce){var be=Yt-dt,Ue=_t-Lt,Re=ue-Ut,qe=ce-Jt,wn=qe*be-Re*Ue;if(!(wn*wn<1e-12))return[dt+(wn=(Re*(Lt-Jt)-qe*(dt-Ut))/wn)*be,Lt+wn*Ue]}function m(dt,Lt,Yt,_t,Ut,Jt,ue){var ce=dt-Yt,be=Lt-_t,Ue=(ue?Jt:-Jt)/C(ce*ce+be*be),Re=Ue*be,qe=-Ue*ce,wn=dt+Re,Pn=Lt+qe,Gn=Yt+Re,hr=_t+qe,ar=(wn+Gn)/2,Wn=(Pn+hr)/2,ir=Gn-wn,Ar=hr-Pn,xr=ir*ir+Ar*Ar,Lr=Ut-Jt,qr=wn*hr-Gn*Pn,oi=(Ar<0?-1:1)*C(j(0,Lr*Lr*xr-qr*qr)),wi=(qr*Ar-ir*oi)/xr,ki=(-qr*ir-Ar*oi)/xr,ai=(qr*Ar+ir*oi)/xr,Oi=(-qr*ir+Ar*oi)/xr,Ni=wi-ar,_i=ki-Wn,Pi=ai-ar,ao=Oi-Wn;return Ni*Ni+_i*_i>Pi*Pi+ao*ao&&(wi=ai,ki=Oi),{cx:wi,cy:ki,x01:-Re,y01:-qe,x11:wi*(Ut/Lr-1),y11:ki*(Ut/Lr-1)}}var x=function(){var dt=w,Lt=b,Yt=X(0),_t=null,Ut=g,Jt=p,ue=y,ce=null;function be(){var Ue,Re,qe=+dt.apply(this,arguments),wn=+Lt.apply(this,arguments),Pn=Ut.apply(this,arguments)-o,Gn=Jt.apply(this,arguments)-o,hr=Z(Gn-Pn),ar=Gn>Pn;if(ce||(ce=Ue=Y()),wn1e-12)if(hr>k-1e-12)ce.moveTo(wn*_(Pn),wn*D(Pn)),ce.arc(0,0,wn,Pn,Gn,!ar),qe>1e-12&&(ce.moveTo(qe*_(Gn),qe*D(Gn)),ce.arc(0,0,qe,Gn,Pn,ar));else{var Wn,ir,Ar=Pn,xr=Gn,Lr=Pn,qr=Gn,oi=hr,wi=hr,ki=ue.apply(this,arguments)/2,ai=ki>1e-12&&(_t?+_t.apply(this,arguments):C(qe*qe+wn*wn)),Oi=A(Z(wn-qe)/2,+Yt.apply(this,arguments)),Ni=Oi,_i=Oi;if(ai>1e-12){var Pi=h(ai/qe*D(ki)),ao=h(ai/wn*D(ki));(oi-=2*Pi)>1e-12?(Lr+=Pi*=ar?1:-1,qr-=Pi):(oi=0,Lr=qr=(Pn+Gn)/2),(wi-=2*ao)>1e-12?(Ar+=ao*=ar?1:-1,xr-=ao):(wi=0,Ar=xr=(Pn+Gn)/2)}var Ji=wn*_(Ar),Ao=wn*D(Ar),Co=qe*_(qr),so=qe*D(qr);if(Oi>1e-12){var no,po=wn*_(xr),Jo=wn*D(xr),bo=qe*_(Lr),ro=qe*D(Lr);if(hr1e-12?_i>1e-12?(Wn=m(bo,ro,Ji,Ao,wn,_i,ar),ir=m(po,Jo,Co,so,wn,_i,ar),ce.moveTo(Wn.cx+Wn.x01,Wn.cy+Wn.y01),_i1e-12&&oi>1e-12?Ni>1e-12?(Wn=m(Co,so,po,Jo,qe,-Ni,ar),ir=m(Ji,Ao,bo,ro,qe,-Ni,ar),ce.lineTo(Wn.cx+Wn.x01,Wn.cy+Wn.y01),Ni=wn;--Pn)ce.point(ir[Pn],Ar[Pn]);ce.lineEnd(),ce.areaEnd()}Wn&&(ir[qe]=+dt(Gn,qe,Re),Ar[qe]=+Yt(Gn,qe,Re),ce.point(Lt?+Lt(Gn,qe,Re):ir[qe],_t?+_t(Gn,qe,Re):Ar[qe]))}if(hr)return ce=null,hr+""||null}function Ue(){return c().defined(Ut).curve(ue).context(Jt)}return be.x=function(Re){return arguments.length?(dt=typeof Re=="function"?Re:X(+Re),Lt=null,be):dt},be.x0=function(Re){return arguments.length?(dt=typeof Re=="function"?Re:X(+Re),be):dt},be.x1=function(Re){return arguments.length?(Lt=Re==null?null:typeof Re=="function"?Re:X(+Re),be):Lt},be.y=function(Re){return arguments.length?(Yt=typeof Re=="function"?Re:X(+Re),_t=null,be):Yt},be.y0=function(Re){return arguments.length?(Yt=typeof Re=="function"?Re:X(+Re),be):Yt},be.y1=function(Re){return arguments.length?(_t=Re==null?null:typeof Re=="function"?Re:X(+Re),be):_t},be.lineX0=be.lineY0=function(){return Ue().x(dt).y(Yt)},be.lineY1=function(){return Ue().x(dt).y(_t)},be.lineX1=function(){return Ue().x(Lt).y(Yt)},be.defined=function(Re){return arguments.length?(Ut=typeof Re=="function"?Re:X(!!Re),be):Ut},be.curve=function(Re){return arguments.length?(ue=Re,Jt!=null&&(ce=ue(Jt)),be):ue},be.context=function(Re){return arguments.length?(Re==null?Jt=ce=null:ce=ue(Jt=Re),be):Jt},be},L=function(dt,Lt){return Ltdt?1:Lt>=dt?0:NaN},et=function(dt){return dt},nt=function(){var dt=et,Lt=L,Yt=null,_t=X(0),Ut=X(k),Jt=X(0);function ue(ce){var be,Ue,Re,qe,wn,Pn=ce.length,Gn=0,hr=new Array(Pn),ar=new Array(Pn),Wn=+_t.apply(this,arguments),ir=Math.min(k,Math.max(-k,Ut.apply(this,arguments)-Wn)),Ar=Math.min(Math.abs(ir)/Pn,Jt.apply(this,arguments)),xr=Ar*(ir<0?-1:1);for(be=0;be0&&(Gn+=wn);for(Lt!=null?hr.sort(function(Lr,qr){return Lt(ar[Lr],ar[qr])}):Yt!=null&&hr.sort(function(Lr,qr){return Yt(ce[Lr],ce[qr])}),be=0,Re=Gn?(ir-Pn*xr)/Gn:0;be0?wn*Re:0)+xr,ar[Ue]={data:ce[Ue],index:be,value:wn,startAngle:Wn,endAngle:qe,padAngle:Ar};return ar}return ue.value=function(ce){return arguments.length?(dt=typeof ce=="function"?ce:X(+ce),ue):dt},ue.sortValues=function(ce){return arguments.length?(Lt=ce,Yt=null,ue):Lt},ue.sort=function(ce){return arguments.length?(Yt=ce,Lt=null,ue):Yt},ue.startAngle=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:X(+ce),ue):_t},ue.endAngle=function(ce){return arguments.length?(Ut=typeof ce=="function"?ce:X(+ce),ue):Ut},ue.padAngle=function(ce){return arguments.length?(Jt=typeof ce=="function"?ce:X(+ce),ue):Jt},ue},rt=ut(s);function G(dt){this._curve=dt}function ut(dt){function Lt(Yt){return new G(dt(Yt))}return Lt._curve=dt,Lt}function F(dt){var Lt=dt.curve;return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt.curve=function(Yt){return arguments.length?Lt(ut(Yt)):Lt()._curve},dt}G.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(dt,Lt){this._curve.point(Lt*Math.sin(dt),Lt*-Math.cos(dt))}};var B=function(){return F(c().curve(rt))},st=function(){var dt=E().curve(rt),Lt=dt.curve,Yt=dt.lineX0,_t=dt.lineX1,Ut=dt.lineY0,Jt=dt.lineY1;return dt.angle=dt.x,delete dt.x,dt.startAngle=dt.x0,delete dt.x0,dt.endAngle=dt.x1,delete dt.x1,dt.radius=dt.y,delete dt.y,dt.innerRadius=dt.y0,delete dt.y0,dt.outerRadius=dt.y1,delete dt.y1,dt.lineStartAngle=function(){return F(Yt())},delete dt.lineX0,dt.lineEndAngle=function(){return F(_t())},delete dt.lineX1,dt.lineInnerRadius=function(){return F(Ut())},delete dt.lineY0,dt.lineOuterRadius=function(){return F(Jt())},delete dt.lineY1,dt.curve=function(ue){return arguments.length?Lt(ut(ue)):Lt()._curve},dt},ht=function(dt,Lt){return[(Lt=+Lt)*Math.cos(dt-=Math.PI/2),Lt*Math.sin(dt)]},tt=Array.prototype.slice;function ct(dt){return dt.source}function U(dt){return dt.target}function J(dt){var Lt=ct,Yt=U,_t=N,Ut=R,Jt=null;function ue(){var ce,be=tt.call(arguments),Ue=Lt.apply(this,be),Re=Yt.apply(this,be);if(Jt||(Jt=ce=Y()),dt(Jt,+_t.apply(this,(be[0]=Ue,be)),+Ut.apply(this,be),+_t.apply(this,(be[0]=Re,be)),+Ut.apply(this,be)),ce)return Jt=null,ce+""||null}return ue.source=function(ce){return arguments.length?(Lt=ce,ue):Lt},ue.target=function(ce){return arguments.length?(Yt=ce,ue):Yt},ue.x=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:X(+ce),ue):_t},ue.y=function(ce){return arguments.length?(Ut=typeof ce=="function"?ce:X(+ce),ue):Ut},ue.context=function(ce){return arguments.length?(Jt=ce==null?null:ce,ue):Jt},ue}function K(dt,Lt,Yt,_t,Ut){dt.moveTo(Lt,Yt),dt.bezierCurveTo(Lt=(Lt+_t)/2,Yt,Lt,Ut,_t,Ut)}function q(dt,Lt,Yt,_t,Ut){dt.moveTo(Lt,Yt),dt.bezierCurveTo(Lt,Yt=(Yt+Ut)/2,_t,Yt,_t,Ut)}function at(dt,Lt,Yt,_t,Ut){var Jt=ht(Lt,Yt),ue=ht(Lt,Yt=(Yt+Ut)/2),ce=ht(_t,Yt),be=ht(_t,Ut);dt.moveTo(Jt[0],Jt[1]),dt.bezierCurveTo(ue[0],ue[1],ce[0],ce[1],be[0],be[1])}function bt(){return J(K)}function mt(){return J(q)}function Ct(){var dt=J(at);return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt}var vt={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/d);dt.moveTo(Yt,0),dt.arc(0,0,Yt,0,k)}},Nt={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/5)/2;dt.moveTo(-3*Yt,-Yt),dt.lineTo(-Yt,-Yt),dt.lineTo(-Yt,-3*Yt),dt.lineTo(Yt,-3*Yt),dt.lineTo(Yt,-Yt),dt.lineTo(3*Yt,-Yt),dt.lineTo(3*Yt,Yt),dt.lineTo(Yt,Yt),dt.lineTo(Yt,3*Yt),dt.lineTo(-Yt,3*Yt),dt.lineTo(-Yt,Yt),dt.lineTo(-3*Yt,Yt),dt.closePath()}},Ft=Math.sqrt(1/3),Ot=2*Ft,At={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/Ot),_t=Yt*Ft;dt.moveTo(0,-Yt),dt.lineTo(_t,0),dt.lineTo(0,Yt),dt.lineTo(-_t,0),dt.closePath()}},St=Math.sin(d/10)/Math.sin(7*d/10),pt=Math.sin(k/10)*St,Pt=-Math.cos(k/10)*St,Wt={draw:function(dt,Lt){var Yt=Math.sqrt(.8908130915292852*Lt),_t=pt*Yt,Ut=Pt*Yt;dt.moveTo(0,-Yt),dt.lineTo(_t,Ut);for(var Jt=1;Jt<5;++Jt){var ue=k*Jt/5,ce=Math.cos(ue),be=Math.sin(ue);dt.lineTo(be*Yt,-ce*Yt),dt.lineTo(ce*_t-be*Ut,be*_t+ce*Ut)}dt.closePath()}},Xt={draw:function(dt,Lt){var Yt=Math.sqrt(Lt),_t=-Yt/2;dt.rect(_t,_t,Yt,Yt)}},ae=Math.sqrt(3),le={draw:function(dt,Lt){var Yt=-Math.sqrt(Lt/(3*ae));dt.moveTo(0,2*Yt),dt.lineTo(-ae*Yt,-Yt),dt.lineTo(ae*Yt,-Yt),dt.closePath()}},Ae=Math.sqrt(3)/2,ze=1/Math.sqrt(12),nn=3*(ze/2+1),an={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/nn),_t=Yt/2,Ut=Yt*ze,Jt=_t,ue=Yt*ze+Yt,ce=-Jt,be=ue;dt.moveTo(_t,Ut),dt.lineTo(Jt,ue),dt.lineTo(ce,be),dt.lineTo(-.5*_t-Ae*Ut,Ae*_t+-.5*Ut),dt.lineTo(-.5*Jt-Ae*ue,Ae*Jt+-.5*ue),dt.lineTo(-.5*ce-Ae*be,Ae*ce+-.5*be),dt.lineTo(-.5*_t+Ae*Ut,-.5*Ut-Ae*_t),dt.lineTo(-.5*Jt+Ae*ue,-.5*ue-Ae*Jt),dt.lineTo(-.5*ce+Ae*be,-.5*be-Ae*ce),dt.closePath()}},tn=[vt,Nt,At,Xt,Wt,le,an],xn=function(){var dt=X(vt),Lt=X(64),Yt=null;function _t(){var Ut;if(Yt||(Yt=Ut=Y()),dt.apply(this,arguments).draw(Yt,+Lt.apply(this,arguments)),Ut)return Yt=null,Ut+""||null}return _t.type=function(Ut){return arguments.length?(dt=typeof Ut=="function"?Ut:X(Ut),_t):dt},_t.size=function(Ut){return arguments.length?(Lt=typeof Ut=="function"?Ut:X(+Ut),_t):Lt},_t.context=function(Ut){return arguments.length?(Yt=Ut==null?null:Ut,_t):Yt},_t},un=function(){};function se(dt,Lt,Yt){dt._context.bezierCurveTo((2*dt._x0+dt._x1)/3,(2*dt._y0+dt._y1)/3,(dt._x0+2*dt._x1)/3,(dt._y0+2*dt._y1)/3,(dt._x0+4*dt._x1+Lt)/6,(dt._y0+4*dt._y1+Yt)/6)}function ne(dt){this._context=dt}ne.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:se(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);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:se(this,dt,Lt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt}};var te=function(dt){return new ne(dt)};function Rt(dt){this._context=dt}Rt.prototype={areaStart:un,areaEnd:un,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(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._x2=dt,this._y2=Lt;break;case 1:this._point=2,this._x3=dt,this._y3=Lt;break;case 2:this._point=3,this._x4=dt,this._y4=Lt,this._context.moveTo((this._x0+4*this._x1+dt)/6,(this._y0+4*this._y1+Lt)/6);break;default:se(this,dt,Lt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt}};var Bt=function(dt){return new Rt(dt)};function Ht(dt){this._context=dt}Ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var Yt=(this._x0+4*this._x1+dt)/6,_t=(this._y0+4*this._y1+Lt)/6;this._line?this._context.lineTo(Yt,_t):this._context.moveTo(Yt,_t);break;case 3:this._point=4;default:se(this,dt,Lt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt}};var zt=function(dt){return new Ht(dt)};function re(dt,Lt){this._basis=new ne(dt),this._beta=Lt}re.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var dt=this._x,Lt=this._y,Yt=dt.length-1;if(Yt>0)for(var _t,Ut=dt[0],Jt=Lt[0],ue=dt[Yt]-Ut,ce=Lt[Yt]-Jt,be=-1;++be<=Yt;)_t=be/Yt,this._basis.point(this._beta*dt[be]+(1-this._beta)*(Ut+_t*ue),this._beta*Lt[be]+(1-this._beta)*(Jt+_t*ce));this._x=this._y=null,this._basis.lineEnd()},point:function(dt,Lt){this._x.push(+dt),this._y.push(+Lt)}};var ve=function dt(Lt){function Yt(_t){return Lt===1?new ne(_t):new re(_t,Lt)}return Yt.beta=function(_t){return dt(+_t)},Yt}(.85);function he(dt,Lt,Yt){dt._context.bezierCurveTo(dt._x1+dt._k*(dt._x2-dt._x0),dt._y1+dt._k*(dt._y2-dt._y0),dt._x2+dt._k*(dt._x1-Lt),dt._y2+dt._k*(dt._y1-Yt),dt._x2,dt._y2)}function Ge(dt,Lt){this._context=dt,this._k=(1-Lt)/6}Ge.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:he(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2,this._x1=dt,this._y1=Lt;break;case 2:this._point=3;default:he(this,dt,Lt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var cn=function dt(Lt){function Yt(_t){return new Ge(_t,Lt)}return Yt.tension=function(_t){return dt(+_t)},Yt}(0);function yn(dt,Lt){this._context=dt,this._k=(1-Lt)/6}yn.prototype={areaStart:un,areaEnd:un,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(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._x3=dt,this._y3=Lt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Lt);break;case 2:this._point=3,this._x5=dt,this._y5=Lt;break;default:he(this,dt,Lt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var Vn=function dt(Lt){function Yt(_t){return new yn(_t,Lt)}return Yt.tension=function(_t){return dt(+_t)},Yt}(0);function fn(dt,Lt){this._context=dt,this._k=(1-Lt)/6}fn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,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:he(this,dt,Lt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var Mn=function dt(Lt){function Yt(_t){return new fn(_t,Lt)}return Yt.tension=function(_t){return dt(+_t)},Yt}(0);function Qn(dt,Lt,Yt){var _t=dt._x1,Ut=dt._y1,Jt=dt._x2,ue=dt._y2;if(dt._l01_a>1e-12){var ce=2*dt._l01_2a+3*dt._l01_a*dt._l12_a+dt._l12_2a,be=3*dt._l01_a*(dt._l01_a+dt._l12_a);_t=(_t*ce-dt._x0*dt._l12_2a+dt._x2*dt._l01_2a)/be,Ut=(Ut*ce-dt._y0*dt._l12_2a+dt._y2*dt._l01_2a)/be}if(dt._l23_a>1e-12){var Ue=2*dt._l23_2a+3*dt._l23_a*dt._l12_a+dt._l12_2a,Re=3*dt._l23_a*(dt._l23_a+dt._l12_a);Jt=(Jt*Ue+dt._x1*dt._l23_2a-Lt*dt._l12_2a)/Re,ue=(ue*Ue+dt._y1*dt._l23_2a-Yt*dt._l12_2a)/Re}dt._context.bezierCurveTo(_t,Ut,Jt,ue,dt._x2,dt._y2)}function Cr(dt,Lt){this._context=dt,this._alpha=Lt}Cr.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){if(dt=+dt,Lt=+Lt,this._point){var Yt=this._x2-dt,_t=this._y2-Lt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Yt*Yt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2;break;case 2:this._point=3;default:Qn(this,dt,Lt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var de=function dt(Lt){function Yt(_t){return Lt?new Cr(_t,Lt):new Ge(_t,0)}return Yt.alpha=function(_t){return dt(+_t)},Yt}(.5);function Ne(dt,Lt){this._context=dt,this._alpha=Lt}Ne.prototype={areaStart:un,areaEnd:un,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(dt,Lt){if(dt=+dt,Lt=+Lt,this._point){var Yt=this._x2-dt,_t=this._y2-Lt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Yt*Yt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=dt,this._y3=Lt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Lt);break;case 2:this._point=3,this._x5=dt,this._y5=Lt;break;default:Qn(this,dt,Lt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var Be=function dt(Lt){function Yt(_t){return Lt?new Ne(_t,Lt):new yn(_t,0)}return Yt.alpha=function(_t){return dt(+_t)},Yt}(.5);function fe(dt,Lt){this._context=dt,this._alpha=Lt}fe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){if(dt=+dt,Lt=+Lt,this._point){var Yt=this._x2-dt,_t=this._y2-Lt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Yt*Yt+_t*_t,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:Qn(this,dt,Lt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var ke=function dt(Lt){function Yt(_t){return Lt?new fe(_t,Lt):new fn(_t,0)}return Yt.alpha=function(_t){return dt(+_t)},Yt}(.5);function De(dt){this._context=dt}De.prototype={areaStart:un,areaEnd:un,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(dt,Lt){dt=+dt,Lt=+Lt,this._point?this._context.lineTo(dt,Lt):(this._point=1,this._context.moveTo(dt,Lt))}};var Te=function(dt){return new De(dt)};function Me(dt){return dt<0?-1:1}function Xe(dt,Lt,Yt){var _t=dt._x1-dt._x0,Ut=Lt-dt._x1,Jt=(dt._y1-dt._y0)/(_t||Ut<0&&-0),ue=(Yt-dt._y1)/(Ut||_t<0&&-0),ce=(Jt*Ut+ue*_t)/(_t+Ut);return(Me(Jt)+Me(ue))*Math.min(Math.abs(Jt),Math.abs(ue),.5*Math.abs(ce))||0}function vn(dt,Lt){var Yt=dt._x1-dt._x0;return Yt?(3*(dt._y1-dt._y0)/Yt-Lt)/2:Lt}function xe(dt,Lt,Yt){var _t=dt._x0,Ut=dt._y0,Jt=dt._x1,ue=dt._y1,ce=(Jt-_t)/3;dt._context.bezierCurveTo(_t+ce,Ut+ce*Lt,Jt-ce,ue-ce*Yt,Jt,ue)}function $e(dt){this._context=dt}function pn(dt){this._context=new we(dt)}function we(dt){this._context=dt}function gn(dt){return new $e(dt)}function Ke(dt){return new pn(dt)}function hn(dt){this._context=dt}function mn(dt){var Lt,Yt,_t=dt.length-1,Ut=new Array(_t),Jt=new Array(_t),ue=new Array(_t);for(Ut[0]=0,Jt[0]=2,ue[0]=dt[0]+2*dt[1],Lt=1;Lt<_t-1;++Lt)Ut[Lt]=1,Jt[Lt]=4,ue[Lt]=4*dt[Lt]+2*dt[Lt+1];for(Ut[_t-1]=2,Jt[_t-1]=7,ue[_t-1]=8*dt[_t-1]+dt[_t],Lt=1;Lt<_t;++Lt)Yt=Ut[Lt]/Jt[Lt-1],Jt[Lt]-=Yt,ue[Lt]-=Yt*ue[Lt-1];for(Ut[_t-1]=ue[_t-1]/Jt[_t-1],Lt=_t-2;Lt>=0;--Lt)Ut[Lt]=(ue[Lt]-Ut[Lt+1])/Jt[Lt];for(Jt[_t-1]=(dt[_t]+Ut[_t-1])/2,Lt=0;Lt<_t-1;++Lt)Jt[Lt]=2*dt[Lt+1]-Ut[Lt+1];return[Ut,Jt]}$e.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:xe(this,this._t0,vn(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){var Yt=NaN;if(Lt=+Lt,(dt=+dt)!==this._x1||Lt!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2;break;case 2:this._point=3,xe(this,vn(this,Yt=Xe(this,dt,Lt)),Yt);break;default:xe(this,this._t0,Yt=Xe(this,dt,Lt))}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt,this._t0=Yt}}},(pn.prototype=Object.create($e.prototype)).point=function(dt,Lt){$e.prototype.point.call(this,Lt,dt)},we.prototype={moveTo:function(dt,Lt){this._context.moveTo(Lt,dt)},closePath:function(){this._context.closePath()},lineTo:function(dt,Lt){this._context.lineTo(Lt,dt)},bezierCurveTo:function(dt,Lt,Yt,_t,Ut,Jt){this._context.bezierCurveTo(Lt,dt,_t,Yt,Jt,Ut)}},hn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var dt=this._x,Lt=this._y,Yt=dt.length;if(Yt)if(this._line?this._context.lineTo(dt[0],Lt[0]):this._context.moveTo(dt[0],Lt[0]),Yt===2)this._context.lineTo(dt[1],Lt[1]);else for(var _t=mn(dt),Ut=mn(Lt),Jt=0,ue=1;ue=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Lt),this._context.lineTo(dt,Lt);else{var Yt=this._x*(1-this._t)+dt*this._t;this._context.lineTo(Yt,this._y),this._context.lineTo(Yt,Lt)}}this._x=dt,this._y=Lt}};var rr=function(dt){return new cr(dt,.5)};function fr(dt){return new cr(dt,0)}function dr(dt){return new cr(dt,1)}var Zn=function(dt,Lt){if((Ut=dt.length)>1)for(var Yt,_t,Ut,Jt=1,ue=dt[Lt[0]],ce=ue.length;Jt=0;)Yt[Lt]=Lt;return Yt};function Rr(dt,Lt){return dt[Lt]}var pr=function(){var dt=X([]),Lt=Or,Yt=Zn,_t=Rr;function Ut(Jt){var ue,ce,be=dt.apply(this,arguments),Ue=Jt.length,Re=be.length,qe=new Array(Re);for(ue=0;ue0){for(var Yt,_t,Ut,Jt=0,ue=dt[0].length;Jt0)for(var Yt,_t,Ut,Jt,ue,ce,be=0,Ue=dt[Lt[0]].length;be0?(_t[0]=Jt,_t[1]=Jt+=Ut):Ut<0?(_t[1]=ue,_t[0]=ue+=Ut):(_t[0]=0,_t[1]=Ut)},Ur=function(dt,Lt){if((Yt=dt.length)>0){for(var Yt,_t=0,Ut=dt[Lt[0]],Jt=Ut.length;_t0&&(_t=(Yt=dt[Lt[0]]).length)>0){for(var Yt,_t,Ut,Jt=0,ue=1;ue<_t;++ue){for(var ce=0,be=0,Ue=0;ceJt&&(Jt=Lt,_t=Yt);return _t}var Xi=function(dt){var Lt=dt.map(Kt);return Or(dt).sort(function(Yt,_t){return Lt[Yt]-Lt[_t]})};function Kt(dt){for(var Lt,Yt=0,_t=-1,Ut=dt.length;++_t=0&&ne._call.call(null,se),ne=ne._next;--I})()}finally{I=0,function(){for(var se,ne,te=Mt,Rt=1/0;te;)te._call?(Rt>te._time&&(Rt=te._time),se=te,te=te._next):(ne=te._next,te._next=null,te=se?se._next=ne:Mt=ne);W=se,h(Rt)}(),H=0}}function S(){var se=j.now(),ne=se-Z;ne>1e3&&(_-=ne,Z=se)}function h(se){I||(Y&&(Y=clearTimeout(Y)),se-H>24?(se<1/0&&(Y=setTimeout(k,se-j.now()-_)),X&&(X=clearInterval(X))):(X||(Z=j.now(),X=setInterval(S,1e3)),I=1,A(k)))}d.prototype=o.prototype={constructor:d,restart:function(se,ne,te){if(typeof se!="function")throw new TypeError("callback is not a function");te=(te==null?D():+te)+(ne==null?0:+ne),this._next||W===this||(W?W._next=this:Mt=this,W=this),this._call=se,this._time=te,h()},stop:function(){this._call&&(this._call=null,this._time=1/0,h())}};var w=function(se,ne,te){var Rt=new d;return ne=ne==null?0:+ne,Rt.restart(function(Bt){Rt.stop(),se(Bt+ne)},ne,te),Rt},b=Object(T.a)("start","end","cancel","interrupt"),g=[],p=function(se,ne,te,Rt,Bt,Ht){var zt=se.__transition;if(zt){if(te in zt)return}else se.__transition={};(function(re,ve,he){var Ge,cn=re.__transition;function yn(Mn){var Qn,Cr,de,Ne;if(he.state!==1)return fn();for(Qn in cn)if((Ne=cn[Qn]).name===he.name){if(Ne.state===3)return w(yn);Ne.state===4?(Ne.state=6,Ne.timer.stop(),Ne.on.call("interrupt",re,re.__data__,Ne.index,Ne.group),delete cn[Qn]):+Qn0)throw new Error("too late; already scheduled");return te}function P(se,ne){var te=m(se,ne);if(te.state>3)throw new Error("too late; already running");return te}function m(se,ne){var te=se.__transition;if(!te||!(te=te[ne]))throw new Error("transition not found");return te}var x=function(se,ne){var te,Rt,Bt,Ht=se.__transition,zt=!0;if(Ht){for(Bt in ne=ne==null?null:ne+"",Ht)(te=Ht[Bt]).name===ne?(Rt=te.state>2&&te.state<5,te.state=6,te.timer.stop(),te.on.call(Rt?"interrupt":"cancel",se,se.__data__,te.index,te.group),delete Ht[Bt]):zt=!1;zt&&delete se.__transition}},l=ft(76),s=ft(20);function N(se,ne){var te,Rt;return function(){var Bt=P(this,se),Ht=Bt.tween;if(Ht!==te){for(var zt=0,re=(Rt=te=Ht).length;zt=0&&(re=re.slice(0,ve)),!re||re==="start"})}(ne)?y:P;return function(){var zt=Ht(this,se),re=zt.on;re!==Rt&&(Bt=(Rt=re).copy()).on(ne,te),zt.on=Bt}}var Nt=ft(19),Ft=ft(33),Ot=u.b.prototype.constructor,At=ft(35);function St(se){return function(){this.style.removeProperty(se)}}function pt(se,ne,te){return function(Rt){this.style.setProperty(se,ne.call(this,Rt),te)}}function Pt(se,ne,te){var Rt,Bt;function Ht(){var zt=ne.apply(this,arguments);return zt!==Bt&&(Rt=(Bt=zt)&&pt(se,zt,te)),Rt}return Ht._value=ne,Ht}function Wt(se){return function(ne){this.textContent=se.call(this,ne)}}function Xt(se){var ne,te;function Rt(){var Bt=se.apply(this,arguments);return Bt!==te&&(ne=(te=Bt)&&Wt(Bt)),ne}return Rt._value=se,Rt}var ae=0;function le(se,ne,te,Rt){this._groups=se,this._parents=ne,this._name=te,this._id=Rt}function Ae(se){return Object(u.b)().transition(se)}function ze(){return++ae}var nn=u.b.prototype;le.prototype=Ae.prototype={constructor:le,select:function(se){var ne=this._name,te=this._id;typeof se!="function"&&(se=Object(Nt.a)(se));for(var Rt=this._groups,Bt=Rt.length,Ht=new Array(Bt),zt=0;zt1&&te.name===ne)return new le([[se]],xn,ne,+Rt)}return null};ft.d(xt,"transition",function(){return Ae}),ft.d(xt,"active",function(){return un}),ft.d(xt,"interrupt",function(){return x})},,function(pe,xt,ft){"use strict";var Mt,W,u,T,I=ft(6),Y=180/Math.PI,X={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Z=function(A,D,C,d,o,k){var S,h,w;return(S=Math.sqrt(A*A+D*D))&&(A/=S,D/=S),(w=A*C+D*d)&&(C-=A*w,d-=D*w),(h=Math.sqrt(C*C+d*d))&&(C/=h,d/=h,w/=h),A*d180?g+=360:g-b>180&&(b+=360),y.push({i:p.push(o(p)+"rotate(",null,d)-2,x:Object(I.a)(b,g)})):g&&p.push(o(p)+"rotate("+g+d)}(k.rotate,S.rotate,h,w),function(b,g,p,y){b!==g?y.push({i:p.push(o(p)+"skewX(",null,d)-2,x:Object(I.a)(b,g)}):g&&p.push(o(p)+"skewX("+g+d)}(k.skewX,S.skewX,h,w),function(b,g,p,y,P,m){if(b!==p||g!==y){var x=P.push(o(P)+"scale(",null,",",null,")");m.push({i:x-4,x:Object(I.a)(b,p)},{i:x-2,x:Object(I.a)(g,y)})}else p===1&&y===1||P.push(o(P)+"scale("+p+","+y+")")}(k.scaleX,k.scaleY,S.scaleX,S.scaleY,h,w),k=S=null,function(b){for(var g,p=-1,y=w.length;++pfe&&(Ne=Be,Be=fe,fe=Ne),function(ke){return Math.max(Be,Math.min(fe,ke))}}function b(de,Ne,Be){var fe=de[0],ke=de[1],De=Ne[0],Te=Ne[1];return ke2?g:b,ke=De=null,$e}function $e(pn){return isNaN(pn=+pn)?Be:(ke||(ke=fe(Te.map(de),Me,Xe)))(de(vn(pn)))}return $e.invert=function(pn){return vn(Ne((De||(De=fe(Me,Te.map(de),C.a)))(pn)))},$e.domain=function(pn){return arguments.length?(Te=Y.call(pn,o),vn===S||(vn=w(Te)),xe()):Te.slice()},$e.range=function(pn){return arguments.length?(Me=X.call(pn),xe()):Me.slice()},$e.rangeRound=function(pn){return Me=X.call(pn),Xe=d.a,xe()},$e.clamp=function(pn){return arguments.length?(vn=pn?w(Te):S,$e):vn!==S},$e.interpolate=function(pn){return arguments.length?(Xe=pn,xe()):Xe},$e.unknown=function(pn){return arguments.length?(Be=pn,$e):Be},function(pn,we){return de=pn,Ne=we,xe()}}function P(de,Ne){return y()(de,Ne)}var m=ft(25),x=ft(64),l=ft(43),s=ft(65),N=ft(63),R=function(de,Ne,Be,fe){var ke,De=Object(Mt.tickStep)(de,Ne,Be);switch((fe=Object(m.b)(fe==null?",f":fe)).type){case"s":var Te=Math.max(Math.abs(de),Math.abs(Ne));return fe.precision!=null||isNaN(ke=Object(x.a)(De,Te))||(fe.precision=ke),Object(l.c)(fe,Te);case"":case"e":case"g":case"p":case"r":fe.precision!=null||isNaN(ke=Object(s.a)(De,Math.max(Math.abs(de),Math.abs(Ne))))||(fe.precision=ke-(fe.type==="e"));break;case"f":case"%":fe.precision!=null||isNaN(ke=Object(N.a)(De))||(fe.precision=ke-2*(fe.type==="%"))}return Object(l.b)(fe)};function c(de){var Ne=de.domain;return de.ticks=function(Be){var fe=Ne();return Object(Mt.ticks)(fe[0],fe[fe.length-1],Be==null?10:Be)},de.tickFormat=function(Be,fe){var ke=Ne();return R(ke[0],ke[ke.length-1],Be==null?10:Be,fe)},de.nice=function(Be){Be==null&&(Be=10);var fe,ke=Ne(),De=0,Te=ke.length-1,Me=ke[De],Xe=ke[Te];return Xe0?(Me=Math.floor(Me/fe)*fe,Xe=Math.ceil(Xe/fe)*fe,fe=Object(Mt.tickIncrement)(Me,Xe,Be)):fe<0&&(Me=Math.ceil(Me*fe)/fe,Xe=Math.floor(Xe*fe)/fe,fe=Object(Mt.tickIncrement)(Me,Xe,Be)),fe>0?(ke[De]=Math.floor(Me/fe)*fe,ke[Te]=Math.ceil(Xe/fe)*fe,Ne(ke)):fe<0&&(ke[De]=Math.ceil(Me*fe)/fe,ke[Te]=Math.floor(Xe*fe)/fe,Ne(ke)),de},de}function E(){var de=P(S,S);return de.copy=function(){return p(de,E())},W.apply(de,arguments),c(de)}function L(de){var Ne;function Be(fe){return isNaN(fe=+fe)?Ne:fe}return Be.invert=Be,Be.domain=Be.range=function(fe){return arguments.length?(de=Y.call(fe,o),Be):de.slice()},Be.unknown=function(fe){return arguments.length?(Ne=fe,Be):Ne},Be.copy=function(){return L(de).unknown(Ne)},de=arguments.length?Y.call(de,o):[0,1],c(Be)}var et=function(de,Ne){var Be,fe=0,ke=(de=de.slice()).length-1,De=de[fe],Te=de[ke];return Te0){for(;Ke$e)break;dn.push(gn)}}else for(;Ke=1;--we)if(!((gn=pn*we)$e)break;dn.push(gn)}}else dn=Object(Mt.ticks)(Ke,hn,Math.min(hn-Ke,mn)).map(Be);return Xe?dn.reverse():dn},fe.tickFormat=function(Me,Xe){if(Xe==null&&(Xe=De===10?".0e":","),typeof Xe!="function"&&(Xe=Object(l.b)(Xe)),Me===1/0)return Xe;Me==null&&(Me=10);var vn=Math.max(1,De*Me/fe.ticks().length);return function(xe){var $e=xe/Be(Math.round(Ne(xe)));return $e*De0?fe[Me-1]:Ne[0],Me=fe?[ke[fe-1],Be]:[ke[vn-1],ke[vn]]},Te.unknown=function(Xe){return arguments.length&&(de=Xe),Te},Te.thresholds=function(){return ke.slice()},Te.copy=function(){return Nt().domain([Ne,Be]).range(De).unknown(de)},W.apply(c(Te),arguments)}function Ft(){var de,Ne=[.5],Be=[0,1],fe=1;function ke(De){return De<=De?Be[Object(Mt.bisect)(Ne,De,0,fe)]:de}return ke.domain=function(De){return arguments.length?(Ne=X.call(De),fe=Math.min(Ne.length,Be.length-1),ke):Ne.slice()},ke.range=function(De){return arguments.length?(Be=X.call(De),fe=Math.min(Ne.length,Be.length-1),ke):Be.slice()},ke.invertExtent=function(De){var Te=Be.indexOf(De);return[Ne[Te-1],Ne[Te]]},ke.unknown=function(De){return arguments.length?(de=De,ke):de},ke.copy=function(){return Ft().domain(Ne).range(Be).unknown(de)},W.apply(ke,arguments)}var Ot=ft(15),At=ft(47),St=ft(3),pt=ft(27),Pt=ft(48),Wt=ft(49),Xt=ft(30),ae=ft(31),le=ft(45);function Ae(de){return new Date(de)}function ze(de){return de instanceof Date?+de:+new Date(+de)}function nn(de,Ne,Be,fe,ke,De,Te,Me,Xe){var vn=P(S,S),xe=vn.invert,$e=vn.domain,pn=Xe(".%L"),we=Xe(":%S"),gn=Xe("%I:%M"),Ke=Xe("%I %p"),hn=Xe("%a %d"),mn=Xe("%b %d"),dn=Xe("%B"),cr=Xe("%Y"),rr=[[Te,1,1e3],[Te,5,5e3],[Te,15,15e3],[Te,30,3e4],[De,1,6e4],[De,5,3e5],[De,15,9e5],[De,30,18e5],[ke,1,36e5],[ke,3,108e5],[ke,6,216e5],[ke,12,432e5],[fe,1,864e5],[fe,2,1728e5],[Be,1,6048e5],[Ne,1,2592e6],[Ne,3,7776e6],[de,1,31536e6]];function fr(Zn){return(Te(Zn)svg{background:"+this.chartBackground+";padding: 20px;}"}};function Z(D,C){if(D){D.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg");var d=I.initializeSerializer()(D.node());return d=function(o){return navigator.userAgent.search("FireFox")>-1?o.replace(/url.*"\)/,'url("linearGradient[id*="-gradient-"]");'):o}(d),d=function(o){return o.replace(">",">"+X.styleBackgroundString)}(d=A.call(this,d,C,parseInt(D.attr("width"),10)))}}function H(D){var C=new Image;return C.src=""+X.imageSourceBase+Y(encodeURIComponent(D).replace(/%([0-9A-F]{2})/g,function(d,o){return String.fromCharCode("0x"+o)})),C}function _(D,C){return C.getContext("2d").drawImage(D,0,0),C}function j(D,C,d){d.preventDefault(),function(o){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X.defaultFilename,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"image/png",h=o.toDataURL(S),w=document.createElement("a");w.href=h,w.download=k,document.body.appendChild(w),w.click(),document.body.removeChild(w)}(_(this,D),C)}function A(D,C,d){if(!C||!d)return D;var o=T.grey;return D=D.replace(/ '+C+" ]*>/,""),(w=new ActiveXObject("Microsoft.XMLDOM")).async="false",w.loadXML(h),w)},o.Property=function(h,w){this.name=h,this.value=w},o.Property.prototype.getValue=function(){return this.value},o.Property.prototype.hasValue=function(){return this.value!=null&&this.value!=""},o.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var h=parseFloat(this.value);return(this.value+"").match(/%$/)&&(h/=100),h},o.Property.prototype.valueOrDefault=function(h){return this.hasValue()?this.value:h},o.Property.prototype.numValueOrDefault=function(h){return this.hasValue()?this.numValue():h},o.Property.prototype.addOpacity=function(h){var w=this.value;if(h.value!=null&&h.value!=""&&typeof this.value=="string"){var b=new Mt(this.value);b.ok&&(w="rgba("+b.r+", "+b.g+", "+b.b+", "+h.numValue()+")")}return new o.Property(this.name,w)},o.Property.prototype.getDefinition=function(){var h=this.value.match(/#([^\)'"]+)/);return h&&(h=h[1]),h||(h=this.value),o.Definitions[h]},o.Property.prototype.isUrlDefinition=function(){return this.value.indexOf("url(")==0},o.Property.prototype.getFillStyleDefinition=function(h,w){var b=this.getDefinition();if(b!=null&&b.createGradient)return b.createGradient(o.ctx,h,w);if(b!=null&&b.createPattern){if(b.getHrefAttribute().hasValue()){var g=b.attribute("patternTransform");b=b.getHrefAttribute().getDefinition(),g.hasValue()&&(b.attribute("patternTransform",!0).value=g.value)}return b.createPattern(o.ctx,h)}return null},o.Property.prototype.getDPI=function(h){return 96},o.Property.prototype.getEM=function(h){var w=12,b=new o.Property("fontSize",o.Font.Parse(o.ctx.font).fontSize);return b.hasValue()&&(w=b.toPixels(h)),w},o.Property.prototype.getUnits=function(){return(this.value+"").replace(/[0-9\.\-]/g,"")},o.Property.prototype.toPixels=function(h,w){if(!this.hasValue())return 0;var b=this.value+"";if(b.match(/em$/))return this.numValue()*this.getEM(h);if(b.match(/ex$/))return this.numValue()*this.getEM(h)/2;if(b.match(/px$/))return this.numValue();if(b.match(/pt$/))return this.numValue()*this.getDPI(h)*(1/72);if(b.match(/pc$/))return 15*this.numValue();if(b.match(/cm$/))return this.numValue()*this.getDPI(h)/2.54;if(b.match(/mm$/))return this.numValue()*this.getDPI(h)/25.4;if(b.match(/in$/))return this.numValue()*this.getDPI(h);if(b.match(/%$/))return this.numValue()*o.ViewPort.ComputeSize(h);var g=this.numValue();return w&&g<1?g*o.ViewPort.ComputeSize(h):g},o.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var h=this.value+"";return h.match(/s$/)?1e3*this.numValue():(h.match(/ms$/),this.numValue())},o.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var h=this.value+"";return h.match(/deg$/)?this.numValue()*(Math.PI/180):h.match(/grad$/)?this.numValue()*(Math.PI/200):h.match(/rad$/)?this.numValue():this.numValue()*(Math.PI/180)};var S={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return o.Property.prototype.toTextBaseline=function(){return this.hasValue()?S[this.value]:null},o.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(w,b,g,p,y,P){var m=P!=null?this.Parse(P):this.CreateFont("","","","","",o.ctx.font);return{fontFamily:y||m.fontFamily,fontSize:p||m.fontSize,fontStyle:w||m.fontStyle,fontWeight:g||m.fontWeight,fontVariant:b||m.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var h=this;this.Parse=function(w){for(var b={},g=o.trim(o.compressSpaces(w||"")).split(" "),p={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},y="",P=0;Pthis.x2&&(this.x2=p)),y!=null&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=y,this.y2=y),ythis.y2&&(this.y2=y))},this.addX=function(p){this.addPoint(p,null)},this.addY=function(p){this.addPoint(null,p)},this.addBoundingBox=function(p){this.addPoint(p.x1,p.y1),this.addPoint(p.x2,p.y2)},this.addQuadraticCurve=function(p,y,P,m,x,l){var s=p+.6666666666666666*(P-p),N=y+2/3*(m-y),R=s+1/3*(x-p),c=N+1/3*(l-y);this.addBezierCurve(p,y,s,R,N,c,x,l)},this.addBezierCurve=function(p,y,P,m,x,l,s,N){var R=[p,y],c=[P,m],E=[x,l],L=[s,N];this.addPoint(R[0],R[1]),this.addPoint(L[0],L[1]);for(var et=0;et<=1;et++){var nt=function(tt){return Math.pow(1-tt,3)*R[et]+3*Math.pow(1-tt,2)*tt*c[et]+3*(1-tt)*Math.pow(tt,2)*E[et]+Math.pow(tt,3)*L[et]},rt=6*R[et]-12*c[et]+6*E[et],G=-3*R[et]+9*c[et]-9*E[et]+3*L[et],ut=3*c[et]-3*R[et];if(G!=0){var F=Math.pow(rt,2)-4*ut*G;if(!(F<0)){var B=(-rt+Math.sqrt(F))/(2*G);0=0;l--)this.transforms[l].unapply(x)},this.applyToPoint=function(x){for(var l=0;lc&&(this.styles[R]=s[R],this.stylesSpecificity[R]=N)}}},h!=null&&h.nodeType==1){for(var w=0;w0&&w.push([this.points[this.points.length-1],w[w.length-1][1]]),w}},o.Element.polyline.prototype=new o.Element.PathElementBase,o.Element.polygon=function(h){this.base=o.Element.polyline,this.base(h),this.basePath=this.path,this.path=function(w){var b=this.basePath(w);return w!=null&&(w.lineTo(this.points[0].x,this.points[0].y),w.closePath()),b}},o.Element.polygon.prototype=new o.Element.polyline,o.Element.path=function(h){this.base=o.Element.PathElementBase,this.base(h);var w=this.attribute("d").value;w=w.replace(/,/gm," ");for(var b=0;b<2;b++)w=w.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2");for(w=(w=w.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2"),b=0;b<2;b++)w=w.replace(/(\.[0-9]*)(\.)/gm,"$1 $2");w=w.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),w=o.compressSpaces(w),w=o.trim(w),this.PathParser=new function(g){this.tokens=g.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new o.Point(0,0),this.control=new o.Point(0,0),this.current=new o.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){return!!this.isEnd()||this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var p=new o.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(p)},this.getAsControlPoint=function(){var p=this.getPoint();return this.control=p,p},this.getAsCurrentPoint=function(){var p=this.getPoint();return this.current=p,p},this.getReflectedControlPoint=function(){return this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s"&&this.previousCommand.toLowerCase()!="q"&&this.previousCommand.toLowerCase()!="t"?this.current:new o.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(p){return this.isRelativeCommand()&&(p.x+=this.current.x,p.y+=this.current.y),p},this.addMarker=function(p,y,P){P!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(P)),this.addMarkerAngle(p,y==null?null:y.angleTo(p))},this.addMarkerAngle=function(p,y){this.points.push(p),this.angles.push(y)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var p=0;p1&&(c*=Math.sqrt(G),E*=Math.sqrt(G));var ut=(et==nt?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(E,2)-Math.pow(c,2)*Math.pow(rt.y,2)-Math.pow(E,2)*Math.pow(rt.x,2))/(Math.pow(c,2)*Math.pow(rt.y,2)+Math.pow(E,2)*Math.pow(rt.x,2)));isNaN(ut)&&(ut=0);var F=new o.Point(ut*c*rt.y/E,ut*-E*rt.x/c),B=new o.Point((l.x+R.x)/2+Math.cos(L)*F.x-Math.sin(L)*F.y,(l.y+R.y)/2+Math.sin(L)*F.x+Math.cos(L)*F.y),st=function(vt){return Math.sqrt(Math.pow(vt[0],2)+Math.pow(vt[1],2))},ht=function(vt,Nt){return(vt[0]*Nt[0]+vt[1]*Nt[1])/(st(vt)*st(Nt))},tt=function(vt,Nt){return(vt[0]*Nt[1]=1&&(K=0);var q=1-nt?1:-1,at=ct+q*(K/2),bt=new o.Point(B.x+c*Math.cos(at),B.y+E*Math.sin(at));if(p.addMarkerAngle(bt,at-q*Math.PI/2),p.addMarkerAngle(R,at-q*Math.PI),y.addPoint(R.x,R.y),g!=null){ht=c>E?c:E;var mt=c>E?1:c/E,Ct=c>E?E/c:1;g.translate(B.x,B.y),g.rotate(L),g.scale(mt,Ct),g.arc(0,0,ht,ct,ct+K,1-nt),g.scale(1/mt,1/Ct),g.rotate(-L),g.translate(-B.x,-B.y)}}break;case"Z":case"z":g!=null&&g.closePath(),p.current=p.start}return y},this.getMarkers=function(){for(var g=this.PathParser.getMarkerPoints(),p=this.PathParser.getMarkerAngles(),y=[],P=0;P1&&(this.offset=1);var w=this.style("stop-color",!0);w.value==""&&(w.value="#000"),this.style("stop-opacity").hasValue()&&(w=w.addOpacity(this.style("stop-opacity"))),this.color=w.value},o.Element.stop.prototype=new o.Element.ElementBase,o.Element.AnimateBase=function(h){this.base=o.Element.ElementBase,this.base(h),o.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").toMilliseconds(),this.getProperty=function(){var w=this.attribute("attributeType").value,b=this.attribute("attributeName").value;return w=="CSS"?this.parent.style(b,!0):this.parent.attribute(b,!0)},this.initialValue=null,this.initialUnits="",this.removed=!1,this.calcValue=function(){return""},this.update=function(w){if(this.initialValue==null&&(this.initialValue=this.getProperty().value,this.initialUnits=this.getProperty().getUnits()),this.duration>this.maxDuration){if(this.attribute("repeatCount").value=="indefinite"||this.attribute("repeatDur").value=="indefinite")this.duration=0;else if(this.attribute("fill").valueOrDefault("remove")!="freeze"||this.frozen){if(this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+w;var b=!1;if(this.beging&&m.attribute("x").hasValue())break;y+=m.measureTextRecursive(w)}return-1*(p=="end"?y:y/2)}return 0},this.renderChild=function(w,b,g,p){var y=g.children[p];for(y.attribute("x").hasValue()?(y.x=y.attribute("x").toPixels("x")+b.getAnchorDelta(w,g,p),y.attribute("dx").hasValue()&&(y.x+=y.attribute("dx").toPixels("x"))):(y.attribute("dx").hasValue()&&(b.x+=y.attribute("dx").toPixels("x")),y.x=b.x),b.x=y.x+y.measureText(w),y.attribute("y").hasValue()?(y.y=y.attribute("y").toPixels("y"),y.attribute("dy").hasValue()&&(y.y+=y.attribute("dy").toPixels("y"))):(y.attribute("dy").hasValue()&&(b.y+=y.attribute("dy").toPixels("y")),y.y=b.y),b.y=y.y,y.render(w),p=0;p0&&b[g-1]!=" "&&g0&&b[g-1]!=" "&&(g==b.length-1||b[g+1]==" ")&&(P="initial"),w.glyphs[p]!==void 0&&(y=w.glyphs[p][P])==null&&w.glyphs[p].type=="glyph"&&(y=w.glyphs[p])}else y=w.glyphs[p];return y==null&&(y=w.missingGlyph),y},this.renderChildren=function(w){var b=this.parent.style("font-family").getDefinition();if(b==null)w.fillStyle!=""&&w.fillText(o.compressSpaces(this.getText()),this.x,this.y),w.strokeStyle!=""&&w.strokeText(o.compressSpaces(this.getText()),this.x,this.y);else{var g=this.parent.style("font-size").numValueOrDefault(o.Font.Parse(o.ctx.font).fontSize),p=this.parent.style("font-style").valueOrDefault(o.Font.Parse(o.ctx.font).fontStyle),y=this.getText();b.isRTL&&(y=y.split("").reverse().join(""));for(var P=o.ToNumberArray(this.parent.attribute("dx").value),m=0;m0?"":this.text}},o.Element.tspan.prototype=new o.Element.TextElementBase,o.Element.tref=function(h){this.base=o.Element.TextElementBase,this.base(h),this.getText=function(){var w=this.getHrefAttribute().getDefinition();if(w!=null)return w.children[0].getText()}},o.Element.tref.prototype=new o.Element.TextElementBase,o.Element.a=function(h){this.base=o.Element.TextElementBase,this.base(h),this.hasText=h.childNodes.length>0;for(var w=0;w0){var p=new o.Element.g;p.children=this.children,p.parent=this,p.render(b)}},this.onclick=function(){window.open(this.getHrefAttribute().value)},this.onmousemove=function(){o.ctx.canvas.style.cursor="pointer"}},o.Element.a.prototype=new o.Element.TextElementBase,o.Element.image=function(h){this.base=o.Element.RenderedElementBase,this.base(h);var w=this.getHrefAttribute().value;if(w!=""){var b=w.match(/\.svg$/);if(o.Images.push(this),this.loaded=!1,b)this.img=o.ajax(w),this.loaded=!0;else{this.img=document.createElement("img"),o.opts.useCORS==1&&(this.img.crossOrigin="Anonymous");var g=this;this.img.onload=function(){g.loaded=!0},this.img.onerror=function(){o.log('ERROR: image "'+w+'" not found'),g.loaded=!0},this.img.src=w}this.renderChildren=function(p){var y=this.attribute("x").toPixels("x"),P=this.attribute("y").toPixels("y"),m=this.attribute("width").toPixels("x"),x=this.attribute("height").toPixels("y");m!=0&&x!=0&&(p.save(),b?p.drawSvg(this.img,y,P,m,x):(p.translate(y,P),o.AspectRatio(p,this.attribute("preserveAspectRatio").value,m,this.img.width,x,this.img.height,0,0),p.drawImage(this.img,0,0)),p.restore())},this.getBoundingBox=function(){var p=this.attribute("x").toPixels("x"),y=this.attribute("y").toPixels("y"),P=this.attribute("width").toPixels("x"),m=this.attribute("height").toPixels("y");return new o.BoundingBox(p,y,p+P,y+m)}}},o.Element.image.prototype=new o.Element.RenderedElementBase,o.Element.g=function(h){this.base=o.Element.RenderedElementBase,this.base(h),this.getBoundingBox=function(){for(var w=new o.BoundingBox,b=0;b0)for(var nt=L[et].indexOf("url"),rt=L[et].indexOf(")",nt),G=L[et].substr(nt+5,rt-nt-6),ut=o.parseXml(o.ajax(G)).getElementsByTagName("font"),F=0;F~\.\[:]+)/g,0),X(/(\.[^\s\+>~\.\[:]+)/g,1),X(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,2),X(/(:[\w-]+\([^\)]*\))/gi,1),X(/(:[^\s\+>~\.\[:]+)/g,1),I=(I=I.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),X(/([^\s\+>~\.\[:]+)/g,2),Y.join("")}pe.exports=u},function(pe,xt){pe.exports=function(ft){this.ok=!1,this.alpha=1,ft.charAt(0)=="#"&&(ft=ft.substr(1,6)),ft=(ft=ft.replace(/ /g,"")).toLowerCase();var Mt={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};ft=Mt[ft]||ft;for(var W=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(Z){return[parseInt(Z[1]),parseInt(Z[2]),parseInt(Z[3]),parseFloat(Z[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Z){return[parseInt(Z[1]),parseInt(Z[2]),parseInt(Z[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Z){return[parseInt(Z[1],16),parseInt(Z[2],16),parseInt(Z[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Z){return[parseInt(Z[1]+Z[1],16),parseInt(Z[2]+Z[2],16),parseInt(Z[3]+Z[3],16)]}}],u=0;u3&&(this.alpha=X[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var Z=this.r.toString(16),H=this.g.toString(16),_=this.b.toString(16);return Z.length==1&&(Z="0"+Z),H.length==1&&(H="0"+H),_.length==1&&(_="0"+_),"#"+Z+H+_},this.getHelpXML=function(){for(var Z=new Array,H=0;H "+d.toRGB()+" -> "+d.toHex());C.appendChild(o),C.appendChild(k),D.appendChild(C)}catch(S){}return D}}},function(pe,xt){var ft=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],Mt=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function W(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}pe.exports=function(u,T,I,Y){if(!(isNaN(Y)||Y<1)){var X,Z,H,_,j,A,D,C,d,o,k,S,h,w,b,g,p,y,P,m,x,l,s,N,R=(Y|=0)+Y+1,c=T-1,E=I-1,L=Y+1,et=L*(L+1)/2,nt=new W,rt=nt;for(H=1;H>st,s!=0?(s=255/s,u[A]=(C*B>>st)*s,u[A+1]=(d*B>>st)*s,u[A+2]=(o*B>>st)*s):u[A]=u[A+1]=u[A+2]=0,C-=S,d-=h,o-=w,k-=b,S-=ut.r,h-=ut.g,w-=ut.b,b-=ut.a,_=D+((_=X+Y+1)>st,s>0?(s=255/s,u[_]=(C*B>>st)*s,u[_+1]=(d*B>>st)*s,u[_+2]=(o*B>>st)*s):u[_]=u[_+1]=u[_+2]=0,C-=S,d-=h,o-=w,k-=b,S-=ut.r,h-=ut.g,w-=ut.b,b-=ut.a,_=X+((_=Z+L)=_+j||_?new java.lang.String(H,_,j)+"":H}function Y(H,_){H.currentElement?H.currentElement.appendChild(_):H.doc.appendChild(_)}Mt.prototype.parseFromString=function(H,_){var j=this.options,A=new X,D=j.domBuilder||new W,C=j.errorHandler,d=j.locator,o=j.xmlns||{},k={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return d&&D.setDocumentLocator(d),A.errorHandler=function(S,h,w){if(!S){if(h instanceof W)return h;S=h}var b={},g=S instanceof Function;function p(y){var P=S[y];!P&&g&&(P=S.length==2?function(m){S(y,m)}:S),b[y]=P&&function(m){P("[xmldom "+y+"] "+m+T(w))}||function(){}}return w=w||{},p("warning"),p("error"),p("fatalError"),b}(C,D,d),A.domBuilder=j.domBuilder||D,/\/x?html?$/.test(_)&&(k.nbsp="\xA0",k.copy="\xA9",o[""]="http://www.w3.org/1999/xhtml"),o.xml=o.xml||"http://www.w3.org/XML/1998/namespace",H?A.parse(H,o,k):A.errorHandler.error("invalid doc source"),D.doc},W.prototype={startDocument:function(){this.doc=new Z().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(H,_,j,A){var D=this.doc,C=D.createElementNS(H,j||_),d=A.length;Y(this,C),this.currentElement=C,this.locator&&u(this.locator,C);for(var o=0;o":switch(g){case 0:o.setTagName(C.slice(d,b));case 5:case 6:case 7:break;case 4:case 1:(y=C.slice(d,b)).slice(-1)==="/"&&(o.closed=!0,y=y.slice(0,-1));case 2:g===2&&(y=w),g==4?(h.warning('attribute "'+y+'" missed quot(")!!'),o.add(w,y.replace(/&#?\w+;/g,S),d)):(k[""]==="http://www.w3.org/1999/xhtml"&&y.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+y+'" missed value!! "'+y+'" instead!!'),o.add(y,y,d));break;case 3:throw new Error("attribute value missed!!")}return b;case"\x80":p=" ";default:if(p<=" ")switch(g){case 0:o.setTagName(C.slice(d,b)),g=6;break;case 1:w=C.slice(d,b),g=2;break;case 4:var y=C.slice(d,b).replace(/&#?\w+;/g,S);h.warning('attribute "'+y+'" missed quot(")!!'),o.add(w,y,d);case 5:g=6}else switch(g){case 2:o.tagName,k[""]==="http://www.w3.org/1999/xhtml"&&w.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+w+'" missed value!! "'+w+'" instead2!!'),o.add(w,w,d),d=b,g=1;break;case 5:h.warning('attribute space is required"'+w+'"!!');case 6:g=1,d=b;break;case 3:g=4,d=b;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}b++}}function Y(C,d,o){for(var k=C.tagName,S=null,h=C.length;h--;){var w=C[h],b=w.qName,g=w.value;if((m=b.indexOf(":"))>0)var p=w.prefix=b.slice(0,m),y=b.slice(m+1),P=p==="xmlns"&&y;else y=b,p=null,P=b==="xmlns"&&"";w.localName=y,P!==!1&&(S==null&&(S={},H(o,o={})),o[P]=S[P]=g,w.uri="http://www.w3.org/2000/xmlns/",d.startPrefixMapping(P,g))}for(h=C.length;h--;)(p=(w=C[h]).prefix)&&(p==="xml"&&(w.uri="http://www.w3.org/XML/1998/namespace"),p!=="xmlns"&&(w.uri=o[p||""]));var m;(m=k.indexOf(":"))>0?(p=C.prefix=k.slice(0,m),y=C.localName=k.slice(m+1)):(p=null,y=C.localName=k);var x=C.uri=o[p||""];if(d.startElement(x,y,k,C),!C.closed)return C.currentNSMap=o,C.localNSMap=S,!0;if(d.endElement(x,y,k),S)for(p in S)d.endPrefixMapping(p)}function X(C,d,o,k,S){if(/^(?:script|textarea)$/i.test(o)){var h=C.indexOf("",d),w=C.substring(d+1,h);if(/[&<]/.test(w))return/^script$/i.test(o)?(S.characters(w,0,w.length),h):(w=w.replace(/&#?\w+;/g,k),S.characters(w,0,w.length),h)}return d+1}function Z(C,d,o,k){var S=k[o];return S==null&&((S=C.lastIndexOf(""))",d+4))>d?(o.comment(C,d+4,S-d-4),S+3):(k.error("Unclosed comment"),-1):-1;default:if(C.substr(d+3,6)=="CDATA["){var S=C.indexOf("]]>",d+9);return o.startCDATA(),o.characters(C,d+9,S-d-9),o.endCDATA(),S+3}var h=function(P,m){var x,l=[],s=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(s.lastIndex=m,s.exec(P);x=s.exec(P);)if(l.push(x),x[1])return l}(C,d),w=h.length;if(w>1&&/!doctype/i.test(h[0][0])){var b=h[1][0],g=w>3&&/^public$/i.test(h[2][0])&&h[3][0],p=w>4&&h[4][0],y=h[w-1];return o.startDTD(b,g&&g.replace(/^(['"])(.*?)\1$/,"$2"),p&&p.replace(/^(['"])(.*?)\1$/,"$2")),o.endDTD(),y.index+y[0].length}}return-1}function j(C,d,o){var k=C.indexOf("?>",d);if(k){var S=C.substring(d,k).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return S?(S[0].length,o.processingInstruction(S[1],S[2]),k+2):-1}return-1}function A(C){}function D(C,d){return C.__proto__=d,C}u.prototype={parse:function(C,d,o){var k=this.domBuilder;k.startDocument(),H(d,d={}),function(S,h,w,b,g){function p(K){var q=K.slice(1,-1);return q in w?w[q]:q.charAt(0)==="#"?function(at){if(at>65535){var bt=55296+((at-=65536)>>10),mt=56320+(1023&at);return String.fromCharCode(bt,mt)}return String.fromCharCode(at)}(parseInt(q.substr(1).replace("x","0x"))):(g.error("entity not found:"+K),K)}function y(K){if(K>c){var q=S.substring(c,K).replace(/&#?\w+;/g,p);s&&P(c),b.characters(q,0,K-c),c=K}}function P(K,q){for(;K>=x&&(q=l.exec(S));)m=q.index,x=m+q[0].length,s.lineNumber++;s.columnNumber=K-m+1}for(var m=0,x=0,l=/.*(?:\r\n?|\n)|.*$/g,s=b.locator,N=[{currentNSMap:h}],R={},c=0;;){try{var E=S.indexOf("<",c);if(E<0){if(!S.substr(c).match(/^\s*$/)){var L=b.doc,et=L.createTextNode(S.substr(c));L.appendChild(et),b.currentElement=et}return}switch(E>c&&y(E),S.charAt(E+1)){case"/":var nt=S.indexOf(">",E+3),rt=S.substring(E+2,nt),G=N.pop();nt<0?(rt=S.substring(E+2).replace(/[\s<].*/,""),g.error("end tag name: "+rt+" is not complete:"+G.tagName),nt=E+1+rt.length):rt.match(/\sc?c=nt:y(Math.max(E,c)+1)}}(C,d,o,k,this.errorHandler),k.endDocument()}},A.prototype={setTagName:function(C){if(!W.test(C))throw new Error("invalid tagName:"+C);this.tagName=C},add:function(C,d,o){if(!W.test(C))throw new Error("invalid attribute:"+C);this[this.length++]={qName:C,value:d,offset:o}},length:0,getLocalName:function(C){return this[C].localName},getLocator:function(C){return this[C].locator},getQName:function(C){return this[C].qName},getURI:function(C){return this[C].uri},getValue:function(C){return this[C].value}},D({},D.prototype)instanceof D||(D=function(C,d){function o(){}for(d in o.prototype=d,o=new o,C)o[d]=C[d];return o}),xt.XMLReader=u},function(pe,xt,ft){"use strict";var Mt,W,u;pe.exports=(Mt={BASE:!0,HEAD:!0,HTML:!0,META:!0,NOFRAME:!0,NOSCRIPT:!0,PARAM:!0,SCRIPT:!0,STYLE:!0,TITLE:!0},W=["A","ABBR","ADDRESS","AREA","ARTICLE","ASIDE","AUDIO","B","BASE","BDI","BDO","BLOCKQUOTE","BODY","BR","BUTTON","CANVAS","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","COMMAND","DATALIST","DD","DEL","DETAILS","DFN","DIV","DL","DT","EM","EMBED","FIELDSET","FIGCAPTION","FIGURE","FONT","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEAD","HEADER","HGROUP","HR","HTML","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","LEGEND","LI","LINK","MAP","MARK","MATH","MENU","META","METER","NAV","NOBR","NOSCRIPT","OBJECT","OL","OPTION","OPTGROUP","OUTPUT","P","PARAM","PRE","PROGRESS","Q","RP","RT","RUBY","S","SAMP","SCRIPT","SECTION","SELECT","SMALL","SOURCE","SPAN","STRONG","STYLE","SUB","SUMMARY","SUP","SVG","TABLE","TBODY","TD","TEXTAREA","TFOOT","TH","THEAD","TIME","TITLE","TR","TRACK","U","UL","VAR","VIDEO","WBR"],u=function(T){var I={},Y=document.body.appendChild(document.createElement(T)),X=window.getComputedStyle(Y);return[].forEach.call(X,function(Z){I[Z]=X[Z]}),document.body.removeChild(Y),I},{initializeSerializer:function(){var T={};return[].forEach.call(W,function(I){Mt[I]||(T[I]=u(I))}),function(I){var Y,X=[],Z=void 0,H=void 0,_=void 0;if(I&&I.nodeType===Node.ELEMENT_NODE)return X=[],Z=I.querySelectorAll("*"),[].forEach.call(Z,function(j,A){var D;Mt[j.tagName]||(H=window.getComputedStyle(j),D=(D=j.tagName).toUpperCase(),T[D]||(T[D]=u(D)),_=T[D],X[A]=j.style.cssText,[].forEach.call(H,function(C){H[C]!==_[C]&&(j.style[C]=H[C])}))}),Y=new XMLSerializer().serializeToString(I),Z=[].map.call(Z,function(j,A){return j.style.cssText=X[A],j}),Y}}})},function(pe,xt,ft){(function(Mt,W){var u;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */(function(T){var I=xt,Y=(Mt&&Mt.exports,typeof W=="object"&&W);Y.global!==Y&&Y.window;var X=function(A){this.message=A};(X.prototype=new Error).name="InvalidCharacterError";var Z=function(A){throw new X(A)},H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_=/[\t\n\f\r ]/g,j={encode:function(A){A=String(A),/[^\0-\xFF]/.test(A)&&Z("The string to be encoded contains characters outside of the Latin1 range.");for(var D,C,d,o,k=A.length%3,S="",h=-1,w=A.length-k;++h>18&63)+H.charAt(o>>12&63)+H.charAt(o>>6&63)+H.charAt(63&o);return k==2?(D=A.charCodeAt(h)<<8,C=A.charCodeAt(++h),S+=H.charAt((o=D+C)>>10)+H.charAt(o>>4&63)+H.charAt(o<<2&63)+"="):k==1&&(o=A.charCodeAt(h),S+=H.charAt(o>>2)+H.charAt(o<<4&63)+"=="),S},decode:function(A){var D=(A=String(A).replace(_,"")).length;D%4==0&&(D=(A=A.replace(/==?$/,"")).length),(D%4==1||/[^+a-zA-Z0-9/]/.test(A))&&Z("Invalid character: the string to be decoded is not correctly encoded.");for(var C,d,o=0,k="",S=-1;++S>(-2*o&6)));return k},version:"0.1.0"};(u=function(){return j}.call(xt,ft,xt,Mt))===void 0||(Mt.exports=u)})()}).call(this,ft(86)(pe),ft(87))},function(pe,xt){pe.exports=function(ft){return ft.webpackPolyfill||(ft.deprecate=function(){},ft.paths=[],ft.children||(ft.children=[]),Object.defineProperty(ft,"loaded",{enumerable:!0,get:function(){return ft.l}}),Object.defineProperty(ft,"id",{enumerable:!0,get:function(){return ft.i}}),ft.webpackPolyfill=1),ft}},function(pe,xt){var ft;ft=function(){return this}();try{ft=ft||new Function("return this")()}catch(Mt){typeof window=="object"&&(ft=window)}pe.exports=ft},function(pe,xt,ft){"use strict";xt.a=function(Mt,W){return Mt=+Mt,W=+W,function(u){return Math.round(Mt*(1-u)+W*u)}}},function(pe,xt,ft){"use strict";var Mt;(Mt=function(){return{bar:` + `}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";c.r(W);var C=Array.prototype.slice,I=function(o){return o};function G(o){return"translate("+(o+.5)+",0)"}function q(o){return"translate(0,"+(o+.5)+")"}function J(o){return function(T){return+o(T)}}function U(o){var T=Math.max(0,o.bandwidth()-1)/2;return o.round()&&(T=Math.round(T)),function(w){return+o(w)+T}}function V(){return!this.__axis}function j(o,T){var w=[],f=null,S=null,v=6,m=6,g=3,x=o===1||o===4?-1:1,R=o===4||o===2?"x":"y",y=o===1||o===3?G:q;function b(s){var l=f==null?T.ticks?T.ticks.apply(T,w):T.domain():f,O=S==null?T.tickFormat?T.tickFormat.apply(T,w):I:S,D=Math.max(v,0)+g,u=T.range(),_=+u[0]+.5,L=+u[u.length-1]+.5,nt=(T.bandwidth?U:J)(T.copy()),rt=s.selection?s.selection():s,it=rt.selectAll(".domain").data([null]),X=rt.selectAll(".tick").data(l,T).order(),ct=X.exit(),B=X.enter().append("g").attr("class","tick"),F=X.select("line"),ut=X.select("text");it=it.merge(it.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),X=X.merge(B),F=F.merge(B.append("line").attr("stroke","currentColor").attr(R+"2",x*v)),ut=ut.merge(B.append("text").attr("fill","currentColor").attr(R,x*D).attr("dy",o===1?"0em":o===3?"0.71em":"0.32em")),s!==rt&&(it=it.transition(s),X=X.transition(s),F=F.transition(s),ut=ut.transition(s),ct=ct.transition(s).attr("opacity",1e-6).attr("transform",function(ft){return isFinite(ft=nt(ft))?y(ft):this.getAttribute("transform")}),B.attr("opacity",1e-6).attr("transform",function(ft){var et=this.parentNode.__axis;return y(et&&isFinite(et=et(ft))?et:nt(ft))})),ct.remove(),it.attr("d",o===4||o==2?m?"M"+x*m+","+_+"H0.5V"+L+"H"+x*m:"M0.5,"+_+"V"+L:m?"M"+_+","+x*m+"V0.5H"+L+"V"+x*m:"M"+_+",0.5H"+L),X.attr("opacity",1).attr("transform",function(ft){return y(nt(ft))}),F.attr(R+"2",x*v),ut.attr(R,x*D).text(O),rt.filter(V).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",o===2?"start":o===4?"end":"middle"),rt.each(function(){this.__axis=nt})}return b.scale=function(s){return arguments.length?(T=s,b):T},b.ticks=function(){return w=C.call(arguments),b},b.tickArguments=function(s){return arguments.length?(w=s==null?[]:C.call(s),b):w.slice()},b.tickValues=function(s){return arguments.length?(f=s==null?null:C.call(s),b):f&&f.slice()},b.tickFormat=function(s){return arguments.length?(S=s,b):S},b.tickSize=function(s){return arguments.length?(v=m=+s,b):v},b.tickSizeInner=function(s){return arguments.length?(v=+s,b):v},b.tickSizeOuter=function(s){return arguments.length?(m=+s,b):m},b.tickPadding=function(s){return arguments.length?(g=+s,b):g},b}function A(o){return j(1,o)}function P(o){return j(2,o)}function E(o){return j(3,o)}function p(o){return j(4,o)}c.d(W,"axisTop",function(){return A}),c.d(W,"axisRight",function(){return P}),c.d(W,"axisBottom",function(){return E}),c.d(W,"axisLeft",function(){return p})},function(At,W,c){"use strict";c.r(W);var C=c(41),I=c(61),G=c(42),q=c(58),J=c(60),U=function(it){var X=it.length;return function(ct){return it[Math.max(0,Math.min(X-1,Math.floor(ct*X)))]}},V=c(4),j=function(it,X){var ct=Object(V.c)(+it,+X);return function(B){var F=ct(B);return F-360*Math.floor(F/360)}},A=c(14),P=c(31),E=c(62),p=c(83),o=c(59),T=c(77),w=Math.SQRT2;function f(it){return((it=Math.exp(it))+1/it)/2}var S=function(it,X){var ct,B,F=it[0],ut=it[1],ft=it[2],et=X[0],ht=X[1],z=X[2],tt=et-F,Q=ht-ut,K=tt*tt+Q*Q;if(K<1e-12)B=Math.log(z/ft)/w,ct=function(Dt){return[F+Dt*tt,ut+Dt*Q,ft*Math.exp(w*Dt*B)]};else{var st=Math.sqrt(K),xt=(z*z-ft*ft+4*K)/(2*ft*2*st),gt=(z*z-ft*ft-4*K)/(2*z*2*st),Tt=Math.log(Math.sqrt(xt*xt+1)-xt),vt=Math.log(Math.sqrt(gt*gt+1)-gt);B=(vt-Tt)/w,ct=function(Dt){var Bt,Nt=Dt*B,Pt=f(Tt),Mt=ft/(2*st)*(Pt*(Bt=w*Nt+Tt,((Bt=Math.exp(2*Bt))-1)/(Bt+1))-function(mt){return((mt=Math.exp(mt))-1/mt)/2}(Tt));return[F+Mt*tt,ut+Mt*Q,ft*Pt/f(w*Nt+Tt)]}}return ct.duration=1e3*B,ct},v=c(36),m=c(7);function g(it){return function(X,ct){var B=it((X=Object(m.f)(X)).h,(ct=Object(m.f)(ct)).h),F=Object(V.a)(X.s,ct.s),ut=Object(V.a)(X.l,ct.l),ft=Object(V.a)(X.opacity,ct.opacity);return function(et){return X.h=B(et),X.s=F(et),X.l=ut(et),X.opacity=ft(et),X+""}}}var x=g(V.c),R=g(V.a),y=c(50);function b(it,X){var ct=Object(V.a)((it=Object(y.a)(it)).l,(X=Object(y.a)(X)).l),B=Object(V.a)(it.a,X.a),F=Object(V.a)(it.b,X.b),ut=Object(V.a)(it.opacity,X.opacity);return function(ft){return it.l=ct(ft),it.a=B(ft),it.b=F(ft),it.opacity=ut(ft),it+""}}function s(it){return function(X,ct){var B=it((X=Object(y.c)(X)).h,(ct=Object(y.c)(ct)).h),F=Object(V.a)(X.c,ct.c),ut=Object(V.a)(X.l,ct.l),ft=Object(V.a)(X.opacity,ct.opacity);return function(et){return X.h=B(et),X.c=F(et),X.l=ut(et),X.opacity=ft(et),X+""}}}var l=s(V.c),O=s(V.a),D=c(78);function u(it){return function X(ct){function B(F,ut){var ft=it((F=Object(D.a)(F)).h,(ut=Object(D.a)(ut)).h),et=Object(V.a)(F.s,ut.s),ht=Object(V.a)(F.l,ut.l),z=Object(V.a)(F.opacity,ut.opacity);return function(tt){return F.h=ft(tt),F.s=et(tt),F.l=ht(Math.pow(tt,ct)),F.opacity=z(tt),F+""}}return ct=+ct,B.gamma=X,B}(1)}var _=u(V.c),L=u(V.a);function nt(it,X){for(var ct=0,B=X.length-1,F=X[0],ut=new Array(B<0?0:B);ctTt?1:gt>=Tt?0:NaN}var A=c(44);function P(gt){return function(){this.removeAttribute(gt)}}function E(gt){return function(){this.removeAttributeNS(gt.space,gt.local)}}function p(gt,Tt){return function(){this.setAttribute(gt,Tt)}}function o(gt,Tt){return function(){this.setAttributeNS(gt.space,gt.local,Tt)}}function T(gt,Tt){return function(){var vt=Tt.apply(this,arguments);vt==null?this.removeAttribute(gt):this.setAttribute(gt,vt)}}function w(gt,Tt){return function(){var vt=Tt.apply(this,arguments);vt==null?this.removeAttributeNS(gt.space,gt.local):this.setAttributeNS(gt.space,gt.local,vt)}}var f=c(67);function S(gt){return function(){delete this[gt]}}function v(gt,Tt){return function(){this[gt]=Tt}}function m(gt,Tt){return function(){var vt=Tt.apply(this,arguments);vt==null?delete this[gt]:this[gt]=vt}}function g(gt){return gt.trim().split(/^|\s+/)}function x(gt){return gt.classList||new R(gt)}function R(gt){this._node=gt,this._names=g(gt.getAttribute("class")||"")}function y(gt,Tt){for(var vt=x(gt),Dt=-1,Bt=Tt.length;++Dt=0&&(this._names.splice(Tt,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(gt){return this._names.indexOf(gt)>=0}};function D(){this.textContent=""}function u(gt){return function(){this.textContent=gt}}function _(gt){return function(){var Tt=gt.apply(this,arguments);this.textContent=Tt==null?"":Tt}}function L(){this.innerHTML=""}function nt(gt){return function(){this.innerHTML=gt}}function rt(gt){return function(){var Tt=gt.apply(this,arguments);this.innerHTML=Tt==null?"":Tt}}function it(){this.nextSibling&&this.parentNode.appendChild(this)}function X(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var ct=c(29);function B(){return null}function F(){var gt=this.parentNode;gt&>.removeChild(this)}function ut(){var gt=this.cloneNode(!1),Tt=this.parentNode;return Tt?Tt.insertBefore(gt,this.nextSibling):gt}function ft(){var gt=this.cloneNode(!0),Tt=this.parentNode;return Tt?Tt.insertBefore(gt,this.nextSibling):gt}var et=c(37),ht=c(45);function z(gt,Tt,vt){var Dt=Object(ht.a)(gt),Bt=Dt.CustomEvent;typeof Bt=="function"?Bt=new Bt(Tt,vt):(Bt=Dt.document.createEvent("Event"),vt?(Bt.initEvent(Tt,vt.bubbles,vt.cancelable),Bt.detail=vt.detail):Bt.initEvent(Tt,!1,!1)),gt.dispatchEvent(Bt)}function tt(gt,Tt){return function(){return z(this,gt,Tt)}}function Q(gt,Tt){return function(){return z(this,gt,Tt.apply(this,arguments))}}c.d(W,"c",function(){return K}),c.d(W,"a",function(){return st});var K=[null];function st(gt,Tt){this._groups=gt,this._parents=Tt}function xt(){return new st([[document.documentElement]],K)}st.prototype=xt.prototype={constructor:st,select:function(gt){typeof gt!="function"&&(gt=Object(C.a)(gt));for(var Tt=this._groups,vt=Tt.length,Dt=new Array(vt),Bt=0;Bt=se&&(se=un+1);!(bn=ln[se])&&++se=0;)(Dt=Bt[Nt])&&(Pt&&4^Dt.compareDocumentPosition(Pt)&&Pt.parentNode.insertBefore(Dt,Pt),Pt=Dt);return this},sort:function(gt){function Tt($t,ae){return $t&&ae?gt($t.__data__,ae.__data__):!$t-!ae}gt||(gt=j);for(var vt=this._groups,Dt=vt.length,Bt=new Array(Dt),Nt=0;Nt1?this.each((Tt==null?S:typeof Tt=="function"?m:v)(gt,Tt)):this.node()[gt]},classed:function(gt,Tt){var vt=g(gt+"");if(arguments.length<2){for(var Dt=x(this.node()),Bt=-1,Nt=vt.length;++Bt=m.length)return f!=null&&R.sort(f),S!=null?S(R):R;for(var l,O,D,u=-1,_=R.length,L=m[y++],nt=G(),rt=b();++u<_;)(D=nt.get(l=L(O=R[u])+""))?D.push(O):nt.set(l,[O]);return nt.each(function(it,X){s(rt,X,x(it,y,b,s))}),rt}return v={object:function(R){return x(R,0,J,U)},map:function(R){return x(R,0,V,j)},entries:function(R){return function y(b,s){if(++s>m.length)return b;var l,O=g[s-1];return S!=null&&s>=m.length?l=b.entries():(l=[],b.each(function(D,u){l.push({key:u,values:y(D,s)})})),O!=null?l.sort(function(D,u){return O(D.key,u.key)}):l}(x(R,0,V,j),0)},key:function(R){return m.push(R),v},sortKeys:function(R){return g[m.length-1]=R,v},sortValues:function(R){return f=R,v},rollup:function(R){return S=R,v}}};function J(){return{}}function U(f,S,v){f[S]=v}function V(){return G()}function j(f,S,v){f.set(S,v)}function A(){}var P=G.prototype;function E(f,S){var v=new A;if(f instanceof A)f.each(function(x){v.add(x)});else if(f){var m=-1,g=f.length;if(S==null)for(;++m1&&arguments[1]!==void 0?arguments[1]:12,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Arial",o=document.createElement("canvas"),T=o.getContext("2d");return T.font=E+"px "+p,T.measureText(P).width},wrapText:function(P,E,p,o){var T=G.select(o),w=T.text().split(/\s+/).reverse(),f=void 0,S=[],v=0,m=q*U,g=T.attr("y"),x=parseFloat(T.attr("dy")),R=E*V,y=T.text(null).append("tspan").attr("x",P).attr("y",g-5).attr("dy",x+"em").classed(j,!0).style("font-size",E+"px");for(y.text(w.pop()),y=T.append("tspan").classed(A,!0).attr("x",P).attr("y",g+J).attr("dy",++v*m+x+"em").style("font-size",R+"px");f=w.pop();)S.push(f),y.text(S.join(" ")),y.node()&&y.node().getComputedTextLength()>p-50&&(S.pop(),y.text(S.join(" ")),S=[f],y=T.append("tspan").classed(A,!0).attr("x",P).attr("y",g+J).attr("dy",++v*m+x+"em").text(f).style("font-size",R+"px"))},wrapTextWithEllipses:function(P,E){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1.2;P.each(function(){var w,f,S,v,m,g,x;for(w=(P=G.select(this)).text().split(/\s+/).reverse(),S=[],v=0,m=P.attr("y"),g=parseFloat(P.attr("dy")),x=P.text(null).append("tspan").attr("x",p).attr("y",m).attr("dy",g+"em");f=w.pop();)if(S.push(f),x.text(S.join(" ")),x.node()&&x.node().getComputedTextLength()>E){if(S.pop(),x.text(S.join(" ")),!(v1e-6)if(Math.abs(Rn*Be-Ze*En)>1e-6&&ce){var fr=te-_e,rr=ue-Ye,Gn=Be*Be+Ze*Ze,sr=fr*fr+rr*rr,Cr=Math.sqrt(Gn),xr=Math.sqrt(Un),Ir=ce*Math.tan((C-Math.acos((Gn+Un-sr)/(2*Cr*xr)))/2),Kr=Ir/xr,ci=Ir/Cr;Math.abs(Kr-1)>1e-6&&(this._+="L"+(_t+Kr*En)+","+(Vt+Kr*Rn)),this._+="A"+ce+","+ce+",0,0,"+ +(Rn*fr>En*rr)+","+(this._x1=_t+ci*Be)+","+(this._y1=Vt+ci*Ze)}else this._+="L"+(this._x1=_t)+","+(this._y1=Vt)},arc:function(_t,Vt,te,ue,ce,_e){_t=+_t,Vt=+Vt,_e=!!_e;var Ye=(te=+te)*Math.cos(ue),Be=te*Math.sin(ue),Ze=_t+Ye,En=Vt+Be,Rn=1^_e,Un=_e?ue-ce:ce-ue;if(te<0)throw new Error("negative radius: "+te);this._x1===null?this._+="M"+Ze+","+En:(Math.abs(this._x1-Ze)>1e-6||Math.abs(this._y1-En)>1e-6)&&(this._+="L"+Ze+","+En),te&&(Un<0&&(Un=Un%I+I),Un>G?this._+="A"+te+","+te+",0,1,"+Rn+","+(_t-Ye)+","+(Vt-Be)+"A"+te+","+te+",0,1,"+Rn+","+(this._x1=Ze)+","+(this._y1=En):Un>1e-6&&(this._+="A"+te+","+te+",0,"+ +(Un>=C)+","+Rn+","+(this._x1=_t+te*Math.cos(ce))+","+(this._y1=Vt+te*Math.sin(ce))))},rect:function(_t,Vt,te,ue){this._+="M"+(this._x0=this._x1=+_t)+","+(this._y0=this._y1=+Vt)+"h"+ +te+"v"+ +ue+"h"+-te+"Z"},toString:function(){return this._}};var U=J,V=function(_t){return function(){return _t}},j=Math.abs,A=Math.atan2,P=Math.cos,E=Math.max,p=Math.min,o=Math.sin,T=Math.sqrt,w=Math.PI,f=w/2,S=2*w;function v(_t){return _t>1?0:_t<-1?w:Math.acos(_t)}function m(_t){return _t>=1?f:_t<=-1?-f:Math.asin(_t)}function g(_t){return _t.innerRadius}function x(_t){return _t.outerRadius}function R(_t){return _t.startAngle}function y(_t){return _t.endAngle}function b(_t){return _t&&_t.padAngle}function s(_t,Vt,te,ue,ce,_e,Ye,Be){var Ze=te-_t,En=ue-Vt,Rn=Ye-ce,Un=Be-_e,fr=Un*Ze-Rn*En;if(!(fr*fr<1e-12))return[_t+(fr=(Rn*(Vt-_e)-Un*(_t-ce))/fr)*Ze,Vt+fr*En]}function l(_t,Vt,te,ue,ce,_e,Ye){var Be=_t-te,Ze=Vt-ue,En=(Ye?_e:-_e)/T(Be*Be+Ze*Ze),Rn=En*Ze,Un=-En*Be,fr=_t+Rn,rr=Vt+Un,Gn=te+Rn,sr=ue+Un,Cr=(fr+Gn)/2,xr=(rr+sr)/2,Ir=Gn-fr,Kr=sr-rr,ci=Ir*Ir+Kr*Kr,Ni=ce-_e,Ai=fr*sr-Gn*rr,yi=(Kr<0?-1:1)*T(E(0,Ni*Ni*ci-Ai*Ai)),Pi=(Ai*Kr-Ir*yi)/ci,Di=(-Ai*Ir-Kr*yi)/ci,Oi=(Ai*Kr+Ir*yi)/ci,Wi=(-Ai*Ir+Kr*yi)/ci,eo=Pi-Cr,$i=Di-xr,Mo=Oi-Cr,Lo=Wi-xr;return eo*eo+$i*$i>Mo*Mo+Lo*Lo&&(Pi=Oi,Di=Wi),{cx:Pi,cy:Di,x01:-Rn,y01:-Un,x11:Pi*(ce/Ni-1),y11:Di*(ce/Ni-1)}}var O=function(){var _t=g,Vt=x,te=V(0),ue=null,ce=R,_e=y,Ye=b,Be=null;function Ze(){var En,Rn,Un=+_t.apply(this,arguments),fr=+Vt.apply(this,arguments),rr=ce.apply(this,arguments)-f,Gn=_e.apply(this,arguments)-f,sr=j(Gn-rr),Cr=Gn>rr;if(Be||(Be=En=U()),fr1e-12)if(sr>S-1e-12)Be.moveTo(fr*P(rr),fr*o(rr)),Be.arc(0,0,fr,rr,Gn,!Cr),Un>1e-12&&(Be.moveTo(Un*P(Gn),Un*o(Gn)),Be.arc(0,0,Un,Gn,rr,Cr));else{var xr,Ir,Kr=rr,ci=Gn,Ni=rr,Ai=Gn,yi=sr,Pi=sr,Di=Ye.apply(this,arguments)/2,Oi=Di>1e-12&&(ue?+ue.apply(this,arguments):T(Un*Un+fr*fr)),Wi=p(j(fr-Un)/2,+te.apply(this,arguments)),eo=Wi,$i=Wi;if(Oi>1e-12){var Mo=m(Oi/Un*o(Di)),Lo=m(Oi/fr*o(Di));(yi-=2*Mo)>1e-12?(Ni+=Mo*=Cr?1:-1,Ai-=Mo):(yi=0,Ni=Ai=(rr+Gn)/2),(Pi-=2*Lo)>1e-12?(Kr+=Lo*=Cr?1:-1,ci-=Lo):(Pi=0,Kr=ci=(rr+Gn)/2)}var fo=fr*P(Kr),no=fr*o(Kr),_o=Un*P(Ai),Yo=Un*o(Ai);if(Wi>1e-12){var uo,Mi=fr*P(ci),ea=fr*o(ci),na=Un*P(Ni),To=Un*o(Ni);if(sr1e-12?$i>1e-12?(xr=l(na,To,fo,no,fr,$i,Cr),Ir=l(Mi,ea,_o,Yo,fr,$i,Cr),Be.moveTo(xr.cx+xr.x01,xr.cy+xr.y01),$i1e-12&&yi>1e-12?eo>1e-12?(xr=l(_o,Yo,Mi,ea,Un,-eo,Cr),Ir=l(fo,no,na,To,Un,-eo,Cr),Be.lineTo(xr.cx+xr.x01,xr.cy+xr.y01),eo=fr;--rr)Be.point(Ir[rr],Kr[rr]);Be.lineEnd(),Be.areaEnd()}xr&&(Ir[Un]=+_t(Gn,Un,Rn),Kr[Un]=+te(Gn,Un,Rn),Be.point(Vt?+Vt(Gn,Un,Rn):Ir[Un],ue?+ue(Gn,Un,Rn):Kr[Un]))}if(sr)return Be=null,sr+""||null}function En(){return nt().defined(ce).curve(Ye).context(_e)}return Ze.x=function(Rn){return arguments.length?(_t=typeof Rn=="function"?Rn:V(+Rn),Vt=null,Ze):_t},Ze.x0=function(Rn){return arguments.length?(_t=typeof Rn=="function"?Rn:V(+Rn),Ze):_t},Ze.x1=function(Rn){return arguments.length?(Vt=Rn==null?null:typeof Rn=="function"?Rn:V(+Rn),Ze):Vt},Ze.y=function(Rn){return arguments.length?(te=typeof Rn=="function"?Rn:V(+Rn),ue=null,Ze):te},Ze.y0=function(Rn){return arguments.length?(te=typeof Rn=="function"?Rn:V(+Rn),Ze):te},Ze.y1=function(Rn){return arguments.length?(ue=Rn==null?null:typeof Rn=="function"?Rn:V(+Rn),Ze):ue},Ze.lineX0=Ze.lineY0=function(){return En().x(_t).y(te)},Ze.lineY1=function(){return En().x(_t).y(ue)},Ze.lineX1=function(){return En().x(Vt).y(te)},Ze.defined=function(Rn){return arguments.length?(ce=typeof Rn=="function"?Rn:V(!!Rn),Ze):ce},Ze.curve=function(Rn){return arguments.length?(Ye=Rn,_e!=null&&(Be=Ye(_e)),Ze):Ye},Ze.context=function(Rn){return arguments.length?(Rn==null?_e=Be=null:Be=Ye(_e=Rn),Ze):_e},Ze},it=function(_t,Vt){return Vt<_t?-1:Vt>_t?1:Vt>=_t?0:NaN},X=function(_t){return _t},ct=function(){var _t=X,Vt=it,te=null,ue=V(0),ce=V(S),_e=V(0);function Ye(Be){var Ze,En,Rn,Un,fr,rr=Be.length,Gn=0,sr=new Array(rr),Cr=new Array(rr),xr=+ue.apply(this,arguments),Ir=Math.min(S,Math.max(-S,ce.apply(this,arguments)-xr)),Kr=Math.min(Math.abs(Ir)/rr,_e.apply(this,arguments)),ci=Kr*(Ir<0?-1:1);for(Ze=0;Ze0&&(Gn+=fr);for(Vt!=null?sr.sort(function(Ni,Ai){return Vt(Cr[Ni],Cr[Ai])}):te!=null&&sr.sort(function(Ni,Ai){return te(Be[Ni],Be[Ai])}),Ze=0,Rn=Gn?(Ir-rr*ci)/Gn:0;Ze0?fr*Rn:0)+ci,Cr[En]={data:Be[En],index:Ze,value:fr,startAngle:xr,endAngle:Un,padAngle:Kr};return Cr}return Ye.value=function(Be){return arguments.length?(_t=typeof Be=="function"?Be:V(+Be),Ye):_t},Ye.sortValues=function(Be){return arguments.length?(Vt=Be,te=null,Ye):Vt},Ye.sort=function(Be){return arguments.length?(te=Be,Vt=null,Ye):te},Ye.startAngle=function(Be){return arguments.length?(ue=typeof Be=="function"?Be:V(+Be),Ye):ue},Ye.endAngle=function(Be){return arguments.length?(ce=typeof Be=="function"?Be:V(+Be),Ye):ce},Ye.padAngle=function(Be){return arguments.length?(_e=typeof Be=="function"?Be:V(+Be),Ye):_e},Ye},B=ut(u);function F(_t){this._curve=_t}function ut(_t){function Vt(te){return new F(_t(te))}return Vt._curve=_t,Vt}function ft(_t){var Vt=_t.curve;return _t.angle=_t.x,delete _t.x,_t.radius=_t.y,delete _t.y,_t.curve=function(te){return arguments.length?Vt(ut(te)):Vt()._curve},_t}F.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(_t,Vt){this._curve.point(Vt*Math.sin(_t),Vt*-Math.cos(_t))}};var et=function(){return ft(nt().curve(B))},ht=function(){var _t=rt().curve(B),Vt=_t.curve,te=_t.lineX0,ue=_t.lineX1,ce=_t.lineY0,_e=_t.lineY1;return _t.angle=_t.x,delete _t.x,_t.startAngle=_t.x0,delete _t.x0,_t.endAngle=_t.x1,delete _t.x1,_t.radius=_t.y,delete _t.y,_t.innerRadius=_t.y0,delete _t.y0,_t.outerRadius=_t.y1,delete _t.y1,_t.lineStartAngle=function(){return ft(te())},delete _t.lineX0,_t.lineEndAngle=function(){return ft(ue())},delete _t.lineX1,_t.lineInnerRadius=function(){return ft(ce())},delete _t.lineY0,_t.lineOuterRadius=function(){return ft(_e())},delete _t.lineY1,_t.curve=function(Ye){return arguments.length?Vt(ut(Ye)):Vt()._curve},_t},z=function(_t,Vt){return[(Vt=+Vt)*Math.cos(_t-=Math.PI/2),Vt*Math.sin(_t)]},tt=Array.prototype.slice;function Q(_t){return _t.source}function K(_t){return _t.target}function st(_t){var Vt=Q,te=K,ue=_,ce=L,_e=null;function Ye(){var Be,Ze=tt.call(arguments),En=Vt.apply(this,Ze),Rn=te.apply(this,Ze);if(_e||(_e=Be=U()),_t(_e,+ue.apply(this,(Ze[0]=En,Ze)),+ce.apply(this,Ze),+ue.apply(this,(Ze[0]=Rn,Ze)),+ce.apply(this,Ze)),Be)return _e=null,Be+""||null}return Ye.source=function(Be){return arguments.length?(Vt=Be,Ye):Vt},Ye.target=function(Be){return arguments.length?(te=Be,Ye):te},Ye.x=function(Be){return arguments.length?(ue=typeof Be=="function"?Be:V(+Be),Ye):ue},Ye.y=function(Be){return arguments.length?(ce=typeof Be=="function"?Be:V(+Be),Ye):ce},Ye.context=function(Be){return arguments.length?(_e=Be==null?null:Be,Ye):_e},Ye}function xt(_t,Vt,te,ue,ce){_t.moveTo(Vt,te),_t.bezierCurveTo(Vt=(Vt+ue)/2,te,Vt,ce,ue,ce)}function gt(_t,Vt,te,ue,ce){_t.moveTo(Vt,te),_t.bezierCurveTo(Vt,te=(te+ce)/2,ue,te,ue,ce)}function Tt(_t,Vt,te,ue,ce){var _e=z(Vt,te),Ye=z(Vt,te=(te+ce)/2),Be=z(ue,te),Ze=z(ue,ce);_t.moveTo(_e[0],_e[1]),_t.bezierCurveTo(Ye[0],Ye[1],Be[0],Be[1],Ze[0],Ze[1])}function vt(){return st(xt)}function Dt(){return st(gt)}function Bt(){var _t=st(Tt);return _t.angle=_t.x,delete _t.x,_t.radius=_t.y,delete _t.y,_t}var Nt={draw:function(_t,Vt){var te=Math.sqrt(Vt/w);_t.moveTo(te,0),_t.arc(0,0,te,0,S)}},Pt={draw:function(_t,Vt){var te=Math.sqrt(Vt/5)/2;_t.moveTo(-3*te,-te),_t.lineTo(-te,-te),_t.lineTo(-te,-3*te),_t.lineTo(te,-3*te),_t.lineTo(te,-te),_t.lineTo(3*te,-te),_t.lineTo(3*te,te),_t.lineTo(te,te),_t.lineTo(te,3*te),_t.lineTo(-te,3*te),_t.lineTo(-te,te),_t.lineTo(-3*te,te),_t.closePath()}},Mt=Math.sqrt(1/3),mt=2*Mt,Ot={draw:function(_t,Vt){var te=Math.sqrt(Vt/mt),ue=te*Mt;_t.moveTo(0,-te),_t.lineTo(ue,0),_t.lineTo(0,te),_t.lineTo(-ue,0),_t.closePath()}},Yt=Math.sin(w/10)/Math.sin(7*w/10),$t=Math.sin(S/10)*Yt,ae=-Math.cos(S/10)*Yt,le={draw:function(_t,Vt){var te=Math.sqrt(.8908130915292852*Vt),ue=$t*te,ce=ae*te;_t.moveTo(0,-te),_t.lineTo(ue,ce);for(var _e=1;_e<5;++_e){var Ye=S*_e/5,Be=Math.cos(Ye),Ze=Math.sin(Ye);_t.lineTo(Ze*te,-Be*te),_t.lineTo(Be*ue-Ze*ce,Ze*ue+Be*ce)}_t.closePath()}},Oe={draw:function(_t,Vt){var te=Math.sqrt(Vt),ue=-te/2;_t.rect(ue,ue,te,te)}},Ve=Math.sqrt(3),rn={draw:function(_t,Vt){var te=-Math.sqrt(Vt/(3*Ve));_t.moveTo(0,2*te),_t.lineTo(-Ve*te,-te),_t.lineTo(Ve*te,-te),_t.closePath()}},ln=Math.sqrt(3)/2,nn=1/Math.sqrt(12),bn=3*(nn/2+1),un={draw:function(_t,Vt){var te=Math.sqrt(Vt/bn),ue=te/2,ce=te*nn,_e=ue,Ye=te*nn+te,Be=-_e,Ze=Ye;_t.moveTo(ue,ce),_t.lineTo(_e,Ye),_t.lineTo(Be,Ze),_t.lineTo(-.5*ue-ln*ce,ln*ue+-.5*ce),_t.lineTo(-.5*_e-ln*Ye,ln*_e+-.5*Ye),_t.lineTo(-.5*Be-ln*Ze,ln*Be+-.5*Ze),_t.lineTo(-.5*ue+ln*ce,-.5*ce-ln*ue),_t.lineTo(-.5*_e+ln*Ye,-.5*Ye-ln*_e),_t.lineTo(-.5*Be+ln*Ze,-.5*Ze-ln*Be),_t.closePath()}},se=[Nt,Pt,Ot,Oe,le,rn,un],ie=function(){var _t=V(Nt),Vt=V(64),te=null;function ue(){var ce;if(te||(te=ce=U()),_t.apply(this,arguments).draw(te,+Vt.apply(this,arguments)),ce)return te=null,ce+""||null}return ue.type=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:V(ce),ue):_t},ue.size=function(ce){return arguments.length?(Vt=typeof ce=="function"?ce:V(+ce),ue):Vt},ue.context=function(ce){return arguments.length?(te=ce==null?null:ce,ue):te},ue},ne=function(){};function Lt(_t,Vt,te){_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+Vt)/6,(_t._y0+4*_t._y1+te)/6)}function jt(_t){this._context=_t}jt.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:Lt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Vt){switch(_t=+_t,Vt=+Vt,this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Vt):this._context.moveTo(_t,Vt);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:Lt(this,_t,Vt)}this._x0=this._x1,this._x1=_t,this._y0=this._y1,this._y1=Vt}};var Ut=function(_t){return new jt(_t)};function Ft(_t){this._context=_t}Ft.prototype={areaStart:ne,areaEnd:ne,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,Vt){switch(_t=+_t,Vt=+Vt,this._point){case 0:this._point=1,this._x2=_t,this._y2=Vt;break;case 1:this._point=2,this._x3=_t,this._y3=Vt;break;case 2:this._point=3,this._x4=_t,this._y4=Vt,this._context.moveTo((this._x0+4*this._x1+_t)/6,(this._y0+4*this._y1+Vt)/6);break;default:Lt(this,_t,Vt)}this._x0=this._x1,this._x1=_t,this._y0=this._y1,this._y1=Vt}};var oe=function(_t){return new Ft(_t)};function xe(_t){this._context=_t}xe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Vt){switch(_t=+_t,Vt=+Vt,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var te=(this._x0+4*this._x1+_t)/6,ue=(this._y0+4*this._y1+Vt)/6;this._line?this._context.lineTo(te,ue):this._context.moveTo(te,ue);break;case 3:this._point=4;default:Lt(this,_t,Vt)}this._x0=this._x1,this._x1=_t,this._y0=this._y1,this._y1=Vt}};var fe=function(_t){return new xe(_t)};function $e(_t,Vt){this._basis=new jt(_t),this._beta=Vt}$e.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var _t=this._x,Vt=this._y,te=_t.length-1;if(te>0)for(var ue,ce=_t[0],_e=Vt[0],Ye=_t[te]-ce,Be=Vt[te]-_e,Ze=-1;++Ze<=te;)ue=Ze/te,this._basis.point(this._beta*_t[Ze]+(1-this._beta)*(ce+ue*Ye),this._beta*Vt[Ze]+(1-this._beta)*(_e+ue*Be));this._x=this._y=null,this._basis.lineEnd()},point:function(_t,Vt){this._x.push(+_t),this._y.push(+Vt)}};var cn=function _t(Vt){function te(ue){return Vt===1?new jt(ue):new $e(ue,Vt)}return te.beta=function(ue){return _t(+ue)},te}(.85);function xn(_t,Vt,te){_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-Vt),_t._y2+_t._k*(_t._y1-te),_t._x2,_t._y2)}function Wn(_t,Vt){this._context=_t,this._k=(1-Vt)/6}Wn.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Vt){switch(_t=+_t,Vt=+Vt,this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Vt):this._context.moveTo(_t,Vt);break;case 1:this._point=2,this._x1=_t,this._y1=Vt;break;case 2:this._point=3;default:xn(this,_t,Vt)}this._x0=this._x1,this._x1=this._x2,this._x2=_t,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var fn=function _t(Vt){function te(ue){return new Wn(ue,Vt)}return te.tension=function(ue){return _t(+ue)},te}(0);function Mn(_t,Vt){this._context=_t,this._k=(1-Vt)/6}Mn.prototype={areaStart:ne,areaEnd:ne,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,Vt){switch(_t=+_t,Vt=+Vt,this._point){case 0:this._point=1,this._x3=_t,this._y3=Vt;break;case 1:this._point=2,this._context.moveTo(this._x4=_t,this._y4=Vt);break;case 2:this._point=3,this._x5=_t,this._y5=Vt;break;default:xn(this,_t,Vt)}this._x0=this._x1,this._x1=this._x2,this._x2=_t,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var Qn=function _t(Vt){function te(ue){return new Mn(ue,Vt)}return te.tension=function(ue){return _t(+ue)},te}(0);function Sr(_t,Vt){this._context=_t,this._k=(1-Vt)/6}Sr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Vt){switch(_t=+_t,Vt=+Vt,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,Vt)}this._x0=this._x1,this._x1=this._x2,this._x2=_t,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var me=function _t(Vt){function te(ue){return new Sr(ue,Vt)}return te.tension=function(ue){return _t(+ue)},te}(0);function Le(_t,Vt,te){var ue=_t._x1,ce=_t._y1,_e=_t._x2,Ye=_t._y2;if(_t._l01_a>1e-12){var Be=2*_t._l01_2a+3*_t._l01_a*_t._l12_a+_t._l12_2a,Ze=3*_t._l01_a*(_t._l01_a+_t._l12_a);ue=(ue*Be-_t._x0*_t._l12_2a+_t._x2*_t._l01_2a)/Ze,ce=(ce*Be-_t._y0*_t._l12_2a+_t._y2*_t._l01_2a)/Ze}if(_t._l23_a>1e-12){var En=2*_t._l23_2a+3*_t._l23_a*_t._l12_a+_t._l12_2a,Rn=3*_t._l23_a*(_t._l23_a+_t._l12_a);_e=(_e*En+_t._x1*_t._l23_2a-Vt*_t._l12_2a)/Rn,Ye=(Ye*En+_t._y1*_t._l23_2a-te*_t._l12_2a)/Rn}_t._context.bezierCurveTo(ue,ce,_e,Ye,_t._x2,_t._y2)}function Ue(_t,Vt){this._context=_t,this._alpha=Vt}Ue.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Vt){if(_t=+_t,Vt=+Vt,this._point){var te=this._x2-_t,ue=this._y2-Vt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(te*te+ue*ue,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Vt):this._context.moveTo(_t,Vt);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,_t,Vt)}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=Vt}};var pe=function _t(Vt){function te(ue){return Vt?new Ue(ue,Vt):new Wn(ue,0)}return te.alpha=function(ue){return _t(+ue)},te}(.5);function Pe(_t,Vt){this._context=_t,this._alpha=Vt}Pe.prototype={areaStart:ne,areaEnd:ne,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,Vt){if(_t=+_t,Vt=+Vt,this._point){var te=this._x2-_t,ue=this._y2-Vt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(te*te+ue*ue,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=_t,this._y3=Vt;break;case 1:this._point=2,this._context.moveTo(this._x4=_t,this._y4=Vt);break;case 2:this._point=3,this._x5=_t,this._y5=Vt;break;default:Le(this,_t,Vt)}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=Vt}};var Ie=function _t(Vt){function te(ue){return Vt?new Pe(ue,Vt):new Mn(ue,0)}return te.alpha=function(ue){return _t(+ue)},te}(.5);function Te(_t,Vt){this._context=_t,this._alpha=Vt}Te.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(_t,Vt){if(_t=+_t,Vt=+Vt,this._point){var te=this._x2-_t,ue=this._y2-Vt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(te*te+ue*ue,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:Le(this,_t,Vt)}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=Vt}};var ke=function _t(Vt){function te(ue){return Vt?new Te(ue,Vt):new Sr(ue,0)}return te.alpha=function(ue){return _t(+ue)},te}(.5);function Ke(_t){this._context=_t}Ke.prototype={areaStart:ne,areaEnd:ne,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(_t,Vt){_t=+_t,Vt=+Vt,this._point?this._context.lineTo(_t,Vt):(this._point=1,this._context.moveTo(_t,Vt))}};var wn=function(_t){return new Ke(_t)};function be(_t){return _t<0?-1:1}function Qe(_t,Vt,te){var ue=_t._x1-_t._x0,ce=Vt-_t._x1,_e=(_t._y1-_t._y0)/(ue||ce<0&&-0),Ye=(te-_t._y1)/(ce||ue<0&&-0),Be=(_e*ce+Ye*ue)/(ue+ce);return(be(_e)+be(Ye))*Math.min(Math.abs(_e),Math.abs(Ye),.5*Math.abs(Be))||0}function gn(_t,Vt){var te=_t._x1-_t._x0;return te?(3*(_t._y1-_t._y0)/te-Vt)/2:Vt}function Se(_t,Vt,te){var ue=_t._x0,ce=_t._y0,_e=_t._x1,Ye=_t._y1,Be=(_e-ue)/3;_t._context.bezierCurveTo(ue+Be,ce+Be*Vt,_e-Be,Ye-Be*te,_e,Ye)}function yn(_t){this._context=_t}function Je(_t){this._context=new hn(_t)}function hn(_t){this._context=_t}function mn(_t){return new yn(_t)}function pn(_t){return new Je(_t)}function Zn(_t){this._context=_t}function or(_t){var Vt,te,ue=_t.length-1,ce=new Array(ue),_e=new Array(ue),Ye=new Array(ue);for(ce[0]=0,_e[0]=2,Ye[0]=_t[0]+2*_t[1],Vt=1;Vt=0;--Vt)ce[Vt]=(Ye[Vt]-ce[Vt+1])/_e[Vt];for(_e[ue-1]=(_t[ue]+ce[ue-1])/2,Vt=0;Vt=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(_t,Vt){switch(_t=+_t,Vt=+Vt,this._point){case 0:this._point=1,this._line?this._context.lineTo(_t,Vt):this._context.moveTo(_t,Vt);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Vt),this._context.lineTo(_t,Vt);else{var te=this._x*(1-this._t)+_t*this._t;this._context.lineTo(te,this._y),this._context.lineTo(te,Vt)}}this._x=_t,this._y=Vt}};var Jn=function(_t){return new mr(_t,.5)};function Dr(_t){return new mr(_t,0)}function Lr(_t){return new mr(_t,1)}var ar=function(_t,Vt){if((ce=_t.length)>1)for(var te,ue,ce,_e=1,Ye=_t[Vt[0]],Be=Ye.length;_e=0;)te[Vt]=Vt;return te};function Or(_t,Vt){return _t[Vt]}var hi=function(){var _t=V([]),Vt=Dn,te=ar,ue=Or;function ce(_e){var Ye,Be,Ze=_t.apply(this,arguments),En=_e.length,Rn=Ze.length,Un=new Array(Rn);for(Ye=0;Ye0){for(var te,ue,ce,_e=0,Ye=_t[0].length;_e0)for(var te,ue,ce,_e,Ye,Be,Ze=0,En=_t[Vt[0]].length;Ze0?(ue[0]=_e,ue[1]=_e+=ce):ce<0?(ue[1]=Ye,ue[0]=Ye+=ce):(ue[0]=0,ue[1]=ce)},wr=function(_t,Vt){if((te=_t.length)>0){for(var te,ue=0,ce=_t[Vt[0]],_e=ce.length;ue<_e;++ue){for(var Ye=0,Be=0;Ye0&&(ue=(te=_t[Vt[0]]).length)>0){for(var te,ue,ce,_e=0,Ye=1;Ye_e&&(_e=Vt,ue=te);return ue}var ze=function(_t){var Vt=_t.map(qe);return Dn(_t).sort(function(te,ue){return Vt[te]-Vt[ue]})};function qe(_t){for(var Vt,te=0,ue=-1,ce=_t.length;++ue0?Object(C.a)(function(J){J.setFullYear(Math.floor(J.getFullYear()/q)*q),J.setMonth(0,1),J.setHours(0,0,0,0)},function(J,U){J.setFullYear(J.getFullYear()+U*q)}):null},W.a=I;var G=I.range},function(At,W,c){"use strict";c.d(W,"b",function(){return G});var C=c(1),I=Object(C.a)(function(q){q.setUTCMonth(0,1),q.setUTCHours(0,0,0,0)},function(q,J){q.setUTCFullYear(q.getUTCFullYear()+J)},function(q,J){return J.getUTCFullYear()-q.getUTCFullYear()},function(q){return q.getUTCFullYear()});I.every=function(q){return isFinite(q=Math.floor(q))&&q>0?Object(C.a)(function(J){J.setUTCFullYear(Math.floor(J.getUTCFullYear()/q)*q),J.setUTCMonth(0,1),J.setUTCHours(0,0,0,0)},function(J,U){J.setUTCFullYear(J.getUTCFullYear()+U*q)}):null},W.a=I;var G=I.range},function(At,W,c){"use strict";var C;(C=function(){var I=c(27),G=c(39);return{axisTimeCombinations:{MINUTE_HOUR:"minute-hour",HOUR_DAY:"hour-daymonth",DAY_MONTH:"day-month",MONTH_YEAR:"month-year",CUSTOM:"custom"},curveMap:{linear:I.curveLinear,basis:I.curveBasis,cardinal:I.curveCardinal,catmullRom:I.curveCatmullRom,monotoneX:I.curveMonotoneX,monotoneY:I.curveMonotoneY,natural:I.curveNatural,step:I.curveStep,stepAfter:I.curveStepAfter,stepBefore:I.curveStepBefore},emptyDonutData:[{quantity:1,percentage:100}],timeBenchmarks:{ONE_AND_A_HALF_YEARS:47304e6,ONE_YEAR:31536000365,ONE_DAY:86400001},lineGradientId:"lineGradientId",timeIntervals:{timeMillisecond:G.timeMillisecond,utcMillisecond:G.utcMillisecond,timeSecond:G.timeSecond,utcSecond:G.utcSecond,timeMinute:G.timeMinute,utcMinute:G.utcMinute,timeHour:G.timeHour,utcHour:G.utcHour,timeDay:G.timeDay,utcDay:G.utcDay,timeWeek:G.timeWeek,utcWeek:G.utcWeek,timeSunday:G.timeSunday,utcSunday:G.utcSunday,timeMonday:G.timeMonday,utcMonday:G.utcMonday,timeTuesday:G.timeTuesday,utcTuesday:G.utcTuesday,timeWednesday:G.timeWednesday,utcWednesday:G.utcWednesday,timeThursday:G.timeThursday,utcThursday:G.utcThursday,timeFriday:G.timeFriday,utcFriday:G.utcFriday,timeSaturday:G.timeSaturday,utcSaturday:G.utcSaturday,timeMonth:G.timeMonth,utcMonth:G.utcMonth,timeYear:G.timeYear,utcYear:G.utcYear},FORMAT_LOCALE_URL:"https://cdn.jsdelivr.net/npm/d3-format/locale"}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";c.d(W,"b",function(){return U}),c.d(W,"c",function(){return V});var C=c(7),I=c(42),G=c(58),q=c(4);function J(j){return function(A){var P,E,p=A.length,o=new Array(p),T=new Array(p),w=new Array(p);for(P=0;P=0&&(E=P.slice(p+1),P=P.slice(0,p)),{type:P,name:E}})}function U(A){return function(){var P=this.__on;if(P){for(var E,p=0,o=-1,T=P.length;p1?q[0]+q.slice(2):q,+C.slice(G+1)]}},function(At,W,c){"use strict";c.r(W);var C=c(1);c.d(W,"timeInterval",function(){return C.a});var I=c(52);c.d(W,"timeMillisecond",function(){return I.a}),c.d(W,"timeMilliseconds",function(){return I.b}),c.d(W,"utcMillisecond",function(){return I.a}),c.d(W,"utcMilliseconds",function(){return I.b});var G=c(51);c.d(W,"timeSecond",function(){return G.a}),c.d(W,"timeSeconds",function(){return G.b}),c.d(W,"utcSecond",function(){return G.a}),c.d(W,"utcSeconds",function(){return G.b});var q=c(71);c.d(W,"timeMinute",function(){return q.a}),c.d(W,"timeMinutes",function(){return q.b});var J=c(70);c.d(W,"timeHour",function(){return J.a}),c.d(W,"timeHours",function(){return J.b});var U=c(53);c.d(W,"timeDay",function(){return U.b}),c.d(W,"timeDays",function(){return U.a});var V=c(5);c.d(W,"timeWeek",function(){return V.g}),c.d(W,"timeWeeks",function(){return V.h}),c.d(W,"timeSunday",function(){return V.g}),c.d(W,"timeSundays",function(){return V.h}),c.d(W,"timeMonday",function(){return V.c}),c.d(W,"timeMondays",function(){return V.d}),c.d(W,"timeTuesday",function(){return V.k}),c.d(W,"timeTuesdays",function(){return V.l}),c.d(W,"timeWednesday",function(){return V.m}),c.d(W,"timeWednesdays",function(){return V.n}),c.d(W,"timeThursday",function(){return V.i}),c.d(W,"timeThursdays",function(){return V.j}),c.d(W,"timeFriday",function(){return V.a}),c.d(W,"timeFridays",function(){return V.b}),c.d(W,"timeSaturday",function(){return V.e}),c.d(W,"timeSaturdays",function(){return V.f});var j=c(69);c.d(W,"timeMonth",function(){return j.a}),c.d(W,"timeMonths",function(){return j.b});var A=c(33);c.d(W,"timeYear",function(){return A.a}),c.d(W,"timeYears",function(){return A.b});var P=c(74);c.d(W,"utcMinute",function(){return P.a}),c.d(W,"utcMinutes",function(){return P.b});var E=c(73);c.d(W,"utcHour",function(){return E.a}),c.d(W,"utcHours",function(){return E.b});var p=c(54);c.d(W,"utcDay",function(){return p.a}),c.d(W,"utcDays",function(){return p.b});var o=c(6);c.d(W,"utcWeek",function(){return o.g}),c.d(W,"utcWeeks",function(){return o.h}),c.d(W,"utcSunday",function(){return o.g}),c.d(W,"utcSundays",function(){return o.h}),c.d(W,"utcMonday",function(){return o.c}),c.d(W,"utcMondays",function(){return o.d}),c.d(W,"utcTuesday",function(){return o.k}),c.d(W,"utcTuesdays",function(){return o.l}),c.d(W,"utcWednesday",function(){return o.m}),c.d(W,"utcWednesdays",function(){return o.n}),c.d(W,"utcThursday",function(){return o.i}),c.d(W,"utcThursdays",function(){return o.j}),c.d(W,"utcFriday",function(){return o.a}),c.d(W,"utcFridays",function(){return o.b}),c.d(W,"utcSaturday",function(){return o.e}),c.d(W,"utcSaturdays",function(){return o.f});var T=c(72);c.d(W,"utcMonth",function(){return T.a}),c.d(W,"utcMonths",function(){return T.b});var w=c(34);c.d(W,"utcYear",function(){return w.a}),c.d(W,"utcYears",function(){return w.b})},function(At,W,c){"use strict";c.d(W,"b",function(){return I}),c.d(W,"a",function(){return G});var C=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function I(q){if(!(J=C.exec(q)))throw new Error("invalid format: "+q);var J;return new G({fill:J[1],align:J[2],sign:J[3],symbol:J[4],zero:J[5],width:J[6],comma:J[7],precision:J[8]&&J[8].slice(1),trim:J[9],type:J[10]})}function G(q){this.fill=q.fill===void 0?" ":q.fill+"",this.align=q.align===void 0?">":q.align+"",this.sign=q.sign===void 0?"-":q.sign+"",this.symbol=q.symbol===void 0?"":q.symbol+"",this.zero=!!q.zero,this.width=q.width===void 0?void 0:+q.width,this.comma=!!q.comma,this.precision=q.precision===void 0?void 0:+q.precision,this.trim=!!q.trim,this.type=q.type===void 0?"":q.type+""}I.prototype=G.prototype,G.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(At,W,c){"use strict";var C=c(7),I=c(36),G=c(61),q=c(60),J=c(14),U=c(62),V=c(59),j=c(48),A=c(31);W.a=function(P,E){var p,o=typeof E;return E==null||o==="boolean"?Object(j.a)(E):(o==="number"?J.a:o==="string"?(p=Object(C.e)(E))?(E=p,I.a):V.a:E instanceof C.e?I.a:E instanceof Date?q.a:Object(A.b)(E)?A.a:Array.isArray(E)?G.b:typeof E.valueOf!="function"&&typeof E.toString!="function"||isNaN(E)?U.a:J.a)(P,E)}},function(At,W,c){"use strict";function C(I,G,q,J,U){var V=I*I,j=V*I;return((1-3*I+3*V-j)*G+(4-6*V+3*j)*q+(1+3*I+3*V-3*j)*J+j*U)/6}c.d(W,"a",function(){return C}),W.b=function(I){var G=I.length-1;return function(q){var J=q<=0?q=0:q>=1?(q=1,G-1):Math.floor(q*G),U=I[J],V=I[J+1],j=J>0?I[J-1]:2*U-V,A=J=0&&(G=I.slice(0,q))!=="xmlns"&&(I=I.slice(q+1)),C.a.hasOwnProperty(G)?{space:C.a[G],local:I}:I}},function(At,W,c){"use strict";W.a=function(C){return C.ownerDocument&&C.ownerDocument.defaultView||C.document&&C||C.defaultView}},function(At,W,c){"use strict";var C=c(37);W.a=function(){for(var I,G=C.c;I=G.sourceEvent;)G=I;return G}},function(At,W,c){"use strict";c.d(W,"a",function(){return C}),c.d(W,"b",function(){return I});var C=Math.PI/180,I=180/Math.PI},function(At,W,c){"use strict";W.a=function(C){return function(){return C}}},function(At,W,c){"use strict";function C(q){return q*q*q}function I(q){return--q*q*q+1}function G(q){return((q*=2)<=1?q*q*q:(q-=2)*q*q+2)/2}c.d(W,"a",function(){return C}),c.d(W,"c",function(){return I}),c.d(W,"b",function(){return G})},function(At,W,c){"use strict";c.d(W,"b",function(){return V}),c.d(W,"a",function(){return j}),c.d(W,"d",function(){return w}),c.d(W,"c",function(){return f});var C=c(15),I=c(7),G=c(47),q=6/29,J=3*q*q;function U(m){if(m instanceof A)return new A(m.l,m.a,m.b,m.opacity);if(m instanceof S)return v(m);m instanceof I.b||(m=Object(I.h)(m));var g,x,R=o(m.r),y=o(m.g),b=o(m.b),s=P((.2225045*R+.7168786*y+.0606169*b)/1);return R===y&&y===b?g=x=s:(g=P((.4360747*R+.3850649*y+.1430804*b)/.96422),x=P((.0139322*R+.0971045*y+.7141733*b)/.82521)),new A(116*s-16,500*(g-s),200*(s-x),m.opacity)}function V(m,g){return new A(m,0,0,g==null?1:g)}function j(m,g,x,R){return arguments.length===1?U(m):new A(m,g,x,R==null?1:R)}function A(m,g,x,R){this.l=+m,this.a=+g,this.b=+x,this.opacity=+R}function P(m){return m>.008856451679035631?Math.pow(m,.3333333333333333):m/J+.13793103448275862}function E(m){return m>q?m*m*m:J*(m-.13793103448275862)}function p(m){return 255*(m<=.0031308?12.92*m:1.055*Math.pow(m,.4166666666666667)-.055)}function o(m){return(m/=255)<=.04045?m/12.92:Math.pow((m+.055)/1.055,2.4)}function T(m){if(m instanceof S)return new S(m.h,m.c,m.l,m.opacity);if(m instanceof A||(m=U(m)),m.a===0&&m.b===0)return new S(NaN,00?q>1?Object(C.a)(function(J){J.setTime(Math.floor(J/q)*q)},function(J,U){J.setTime(+J+U*q)},function(J,U){return(U-J)/q}):I:null},W.a=I;var G=I.range},function(At,W,c){"use strict";c.d(W,"a",function(){return q});var C=c(1),I=c(3),G=Object(C.a)(function(J){J.setHours(0,0,0,0)},function(J,U){J.setDate(J.getDate()+U)},function(J,U){return(U-J-(U.getTimezoneOffset()-J.getTimezoneOffset())*I.c)/I.a},function(J){return J.getDate()-1});W.b=G;var q=G.range},function(At,W,c){"use strict";c.d(W,"b",function(){return q});var C=c(1),I=c(3),G=Object(C.a)(function(J){J.setUTCHours(0,0,0,0)},function(J,U){J.setUTCDate(J.getUTCDate()+U)},function(J,U){return(U-J)/I.a},function(J){return J.getUTCDate()-1});W.a=G;var q=G.range},,function(At,W,c){"use strict";c.d(W,"b",function(){return I}),c.d(W,"c",function(){return G}),c.d(W,"a",function(){return J});var C,I,G,q=c(68);function J(U){return C=Object(q.a)(U),I=C.format,G=C.formatPrefix,C}J({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(At,W){var c=/^(?:0|[1-9]\d*)$/;function C(x,R,y){switch(y.length){case 0:return x.call(R);case 1:return x.call(R,y[0]);case 2:return x.call(R,y[0],y[1]);case 3:return x.call(R,y[0],y[1],y[2])}return x.apply(R,y)}var I,G,q=Object.prototype,J=q.hasOwnProperty,U=q.toString,V=q.propertyIsEnumerable,j=(I=Object.keys,G=Object,function(x){return I(G(x))}),A=Math.max,P=!V.call({valueOf:1},"valueOf");function E(x,R){var y=f(x)||function(O){return function(D){return function(u){return!!u&&typeof u=="object"}(D)&&S(D)}(O)&&J.call(O,"callee")&&(!V.call(O,"callee")||U.call(O)=="[object Arguments]")}(x)?function(O,D){for(var u=-1,_=Array(O);++u-1&&x%1==0&&x-1&&R%1==0&&R<=9007199254740991}(x.length)&&!function(R){var y=v(R)?U.call(R):"";return y=="[object Function]"||y=="[object GeneratorFunction]"}(x)}function v(x){var R=typeof x;return!!x&&(R=="object"||R=="function")}var m,g=(m=function(x,R){if(P||T(R)||S(R))(function(b,s,l,O){l||(l={});for(var D=-1,u=s.length;++D1?R[b-1]:void 0,l=b>2?R[2]:void 0;for(s=m.length>3&&typeof s=="function"?(b--,s):void 0,l&&function(D,u,_){if(!v(_))return!1;var L=typeof u;return!!(L=="number"?S(_)&&o(u,_.length):L=="string"&&u in _)&&w(_[u],D)}(R[0],R[1],l)&&(s=b<3?void 0:s,b=1),x=Object(x);++yA&&(j=J.slice(A,j),E[P]?E[P]+=j:E[++P]=j),(U=U[0])===(V=V[0])?E[P]?E[P]+=V:E[++P]=V:(E[++P]=null,p.push({i:P,x:Object(C.a)(U,V)})),A=G.lastIndex;return A=12)]},q:function(Se){return 1+~~(Se.getMonth()/3)},Q:jt,s:Ut,S:st,u:xt,U:gt,V:Tt,w:vt,W:Dt,x:null,X:null,y:Bt,Y:Nt,Z:Pt,"%":Lt},Ke={a:function(Se){return xn[Se.getUTCDay()]},A:function(Se){return cn[Se.getUTCDay()]},b:function(Se){return fn[Se.getUTCMonth()]},B:function(Se){return Wn[Se.getUTCMonth()]},c:null,d:Mt,e:Mt,f:ae,H:mt,I:Ot,j:Yt,L:$t,m:le,M:Oe,p:function(Se){return $e[+(Se.getUTCHours()>=12)]},q:function(Se){return 1+~~(Se.getUTCMonth()/3)},Q:jt,s:Ut,S:Ve,u:rn,U:ln,V:nn,w:bn,W:un,x:null,X:null,y:se,Y:ie,Z:ne,"%":Lt},wn={a:function(Se,yn,Je){var hn=Le.exec(yn.slice(Je));return hn?(Se.w=Ue[hn[0].toLowerCase()],Je+hn[0].length):-1},A:function(Se,yn,Je){var hn=Sr.exec(yn.slice(Je));return hn?(Se.w=me[hn[0].toLowerCase()],Je+hn[0].length):-1},b:function(Se,yn,Je){var hn=Ie.exec(yn.slice(Je));return hn?(Se.m=Te[hn[0].toLowerCase()],Je+hn[0].length):-1},B:function(Se,yn,Je){var hn=pe.exec(yn.slice(Je));return hn?(Se.m=Pe[hn[0].toLowerCase()],Je+hn[0].length):-1},c:function(Se,yn,Je){return gn(Se,oe,yn,Je)},d:u,e:u,f:X,H:L,I:L,j:_,L:it,m:D,M:nt,p:function(Se,yn,Je){var hn=Mn.exec(yn.slice(Je));return hn?(Se.p=Qn[hn[0].toLowerCase()],Je+hn[0].length):-1},q:O,Q:B,s:F,S:rt,u:g,U:x,V:R,w:m,W:y,x:function(Se,yn,Je){return gn(Se,xe,yn,Je)},X:function(Se,yn,Je){return gn(Se,fe,yn,Je)},y:s,Y:b,Z:l,"%":ct};function be(Se,yn){return function(Je){var hn,mn,pn,Zn=[],or=-1,dr=0,mr=Se.length;for(Je instanceof Date||(Je=new Date(+Je));++or53)return null;"w"in pn||(pn.w=1),"Z"in pn?(mn=(hn=j(A(pn.y,0,1))).getUTCDay(),hn=mn>4||mn===0?C.c.ceil(hn):Object(C.c)(hn),hn=I.a.offset(hn,7*(pn.V-1)),pn.y=hn.getUTCFullYear(),pn.m=hn.getUTCMonth(),pn.d=hn.getUTCDate()+(pn.w+6)%7):(mn=(hn=V(A(pn.y,0,1))).getDay(),hn=mn>4||mn===0?G.c.ceil(hn):Object(G.c)(hn),hn=q.b.offset(hn,7*(pn.V-1)),pn.y=hn.getFullYear(),pn.m=hn.getMonth(),pn.d=hn.getDate()+(pn.w+6)%7)}else("W"in pn||"U"in pn)&&("w"in pn||(pn.w="u"in pn?pn.u%7:"W"in pn?1:0),mn="Z"in pn?j(A(pn.y,0,1)).getUTCDay():V(A(pn.y,0,1)).getDay(),pn.m=0,pn.d="W"in pn?(pn.w+6)%7+7*pn.W-(mn+5)%7:pn.w+7*pn.U-(mn+6)%7);return"Z"in pn?(pn.H+=pn.Z/100|0,pn.M+=pn.Z%100,j(pn)):V(pn)}}function gn(Se,yn,Je,hn){for(var mn,pn,Zn=0,or=yn.length,dr=Je.length;Zn=dr)return-1;if((mn=yn.charCodeAt(Zn++))===37){if(mn=yn.charAt(Zn++),!(pn=wn[mn in E?yn.charAt(Zn++):mn])||(hn=pn(Se,Je,hn))<0)return-1}else if(mn!=Je.charCodeAt(hn++))return-1}return hn}return ke.x=be(xe,ke),ke.X=be(fe,ke),ke.c=be(oe,ke),Ke.x=be(xe,Ke),Ke.X=be(fe,Ke),Ke.c=be(oe,Ke),{format:function(Se){var yn=be(Se+="",ke);return yn.toString=function(){return Se},yn},parse:function(Se){var yn=Qe(Se+="",!1);return yn.toString=function(){return Se},yn},utcFormat:function(Se){var yn=be(Se+="",Ke);return yn.toString=function(){return Se},yn},utcParse:function(Se){var yn=Qe(Se+="",!0);return yn.toString=function(){return Se},yn}}}var E={"-":"",_:" ",0:"0"},p=/^\s*\d+/,o=/^%/,T=/[\\^$*+?|[\]().{}]/g;function w(Ft,oe,xe){var fe=Ft<0?"-":"",$e=(fe?-Ft:Ft)+"",cn=$e.length;return fe+(cn68?1900:2e3),xe+fe[0].length):-1}function l(Ft,oe,xe){var fe=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(oe.slice(xe,xe+6));return fe?(Ft.Z=fe[1]?0:-(fe[2]+(fe[3]||"00")),xe+fe[0].length):-1}function O(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+1));return fe?(Ft.q=3*fe[0]-3,xe+fe[0].length):-1}function D(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+2));return fe?(Ft.m=fe[0]-1,xe+fe[0].length):-1}function u(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+2));return fe?(Ft.d=+fe[0],xe+fe[0].length):-1}function _(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+3));return fe?(Ft.m=0,Ft.d=+fe[0],xe+fe[0].length):-1}function L(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+2));return fe?(Ft.H=+fe[0],xe+fe[0].length):-1}function nt(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+2));return fe?(Ft.M=+fe[0],xe+fe[0].length):-1}function rt(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+2));return fe?(Ft.S=+fe[0],xe+fe[0].length):-1}function it(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+3));return fe?(Ft.L=+fe[0],xe+fe[0].length):-1}function X(Ft,oe,xe){var fe=p.exec(oe.slice(xe,xe+6));return fe?(Ft.L=Math.floor(fe[0]/1e3),xe+fe[0].length):-1}function ct(Ft,oe,xe){var fe=o.exec(oe.slice(xe,xe+1));return fe?xe+fe[0].length:-1}function B(Ft,oe,xe){var fe=p.exec(oe.slice(xe));return fe?(Ft.Q=+fe[0],xe+fe[0].length):-1}function F(Ft,oe,xe){var fe=p.exec(oe.slice(xe));return fe?(Ft.s=+fe[0],xe+fe[0].length):-1}function ut(Ft,oe){return w(Ft.getDate(),oe,2)}function ft(Ft,oe){return w(Ft.getHours(),oe,2)}function et(Ft,oe){return w(Ft.getHours()%12||12,oe,2)}function ht(Ft,oe){return w(1+q.b.count(Object(J.a)(Ft),Ft),oe,3)}function z(Ft,oe){return w(Ft.getMilliseconds(),oe,3)}function tt(Ft,oe){return z(Ft,oe)+"000"}function Q(Ft,oe){return w(Ft.getMonth()+1,oe,2)}function K(Ft,oe){return w(Ft.getMinutes(),oe,2)}function st(Ft,oe){return w(Ft.getSeconds(),oe,2)}function xt(Ft){var oe=Ft.getDay();return oe===0?7:oe}function gt(Ft,oe){return w(G.g.count(Object(J.a)(Ft)-1,Ft),oe,2)}function Tt(Ft,oe){var xe=Ft.getDay();return Ft=xe>=4||xe===0?Object(G.i)(Ft):G.i.ceil(Ft),w(G.i.count(Object(J.a)(Ft),Ft)+(Object(J.a)(Ft).getDay()===4),oe,2)}function vt(Ft){return Ft.getDay()}function Dt(Ft,oe){return w(G.c.count(Object(J.a)(Ft)-1,Ft),oe,2)}function Bt(Ft,oe){return w(Ft.getFullYear()%100,oe,2)}function Nt(Ft,oe){return w(Ft.getFullYear()%1e4,oe,4)}function Pt(Ft){var oe=Ft.getTimezoneOffset();return(oe>0?"-":(oe*=-1,"+"))+w(oe/60|0,"0",2)+w(oe%60,"0",2)}function Mt(Ft,oe){return w(Ft.getUTCDate(),oe,2)}function mt(Ft,oe){return w(Ft.getUTCHours(),oe,2)}function Ot(Ft,oe){return w(Ft.getUTCHours()%12||12,oe,2)}function Yt(Ft,oe){return w(1+I.a.count(Object(U.a)(Ft),Ft),oe,3)}function $t(Ft,oe){return w(Ft.getUTCMilliseconds(),oe,3)}function ae(Ft,oe){return $t(Ft,oe)+"000"}function le(Ft,oe){return w(Ft.getUTCMonth()+1,oe,2)}function Oe(Ft,oe){return w(Ft.getUTCMinutes(),oe,2)}function Ve(Ft,oe){return w(Ft.getUTCSeconds(),oe,2)}function rn(Ft){var oe=Ft.getUTCDay();return oe===0?7:oe}function ln(Ft,oe){return w(C.g.count(Object(U.a)(Ft)-1,Ft),oe,2)}function nn(Ft,oe){var xe=Ft.getUTCDay();return Ft=xe>=4||xe===0?Object(C.i)(Ft):C.i.ceil(Ft),w(C.i.count(Object(U.a)(Ft),Ft)+(Object(U.a)(Ft).getUTCDay()===4),oe,2)}function bn(Ft){return Ft.getUTCDay()}function un(Ft,oe){return w(C.c.count(Object(U.a)(Ft)-1,Ft),oe,2)}function se(Ft,oe){return w(Ft.getUTCFullYear()%100,oe,2)}function ie(Ft,oe){return w(Ft.getUTCFullYear()%1e4,oe,4)}function ne(){return"+0000"}function Lt(){return"%"}function jt(Ft){return+Ft}function Ut(Ft){return Math.floor(+Ft/1e3)}},function(At,W,c){"use strict";var C=c(23);W.a=function(I){return typeof I=="string"?new C.a([[document.querySelector(I)]],[document.documentElement]):new C.a([[I]],C.c)}},function(At,W,c){"use strict";function C(){return[]}W.a=function(I){return I==null?C:function(){return this.querySelectorAll(I)}}},function(At,W,c){"use strict";W.a=function(C){return function(){return this.matches(C)}}},function(At,W,c){"use strict";c.d(W,"b",function(){return J});var C=c(45);function I(U){return function(){this.style.removeProperty(U)}}function G(U,V,j){return function(){this.style.setProperty(U,V,j)}}function q(U,V,j){return function(){var A=V.apply(this,arguments);A==null?this.style.removeProperty(U):this.style.setProperty(U,A,j)}}function J(U,V){return U.style.getPropertyValue(V)||Object(C.a)(U).getComputedStyle(U,null).getPropertyValue(V)}W.a=function(U,V,j){return arguments.length>1?this.each((V==null?I:typeof V=="function"?q:G)(U,V,j==null?"":j)):J(this.node(),U)}},function(At,W,c){"use strict";var C,I=c(22),G=c(40),q=c(38),J=function(P,E){var p=Object(q.a)(P,E);if(!p)return P+"";var o=p[0],T=p[1];return T<0?"0."+new Array(-T).join("0")+o:o.length>T+1?o.slice(0,T+1)+"."+o.slice(T+1):o+new Array(T-o.length+2).join("0")},U={"%":function(P,E){return(100*P).toFixed(E)},b:function(P){return Math.round(P).toString(2)},c:function(P){return P+""},d:function(P){return Math.round(P).toString(10)},e:function(P,E){return P.toExponential(E)},f:function(P,E){return P.toFixed(E)},g:function(P,E){return P.toPrecision(E)},o:function(P){return Math.round(P).toString(8)},p:function(P,E){return J(100*P,E)},r:J,s:function(P,E){var p=Object(q.a)(P,E);if(!p)return P+"";var o=p[0],T=p[1],w=T-(C=3*Math.max(-8,Math.min(8,Math.floor(T/3))))+1,f=o.length;return w===f?o:w>f?o+new Array(w-f+1).join("0"):w>0?o.slice(0,w)+"."+o.slice(w):"0."+new Array(1-w).join("0")+Object(q.a)(P,Math.max(0,E+w-1))[0]},X:function(P){return Math.round(P).toString(16).toUpperCase()},x:function(P){return Math.round(P).toString(16)}},V=function(P){return P},j=Array.prototype.map,A=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];W.a=function(P){var E,p,o=P.grouping===void 0||P.thousands===void 0?V:(E=j.call(P.grouping,Number),p=P.thousands+"",function(R,y){for(var b=R.length,s=[],l=0,O=E[0],D=0;b>0&&O>0&&(D+O+1>y&&(O=Math.max(1,y-D)),s.push(R.substring(b-=O,b+O)),!((D+=O+1)>y));)O=E[l=(l+1)%E.length];return s.reverse().join(p)}),T=P.currency===void 0?"":P.currency[0]+"",w=P.currency===void 0?"":P.currency[1]+"",f=P.decimal===void 0?".":P.decimal+"",S=P.numerals===void 0?V:function(R){return function(y){return y.replace(/[0-9]/g,function(b){return R[+b]})}}(j.call(P.numerals,String)),v=P.percent===void 0?"%":P.percent+"",m=P.minus===void 0?"-":P.minus+"",g=P.nan===void 0?"NaN":P.nan+"";function x(R){var y=(R=Object(G.b)(R)).fill,b=R.align,s=R.sign,l=R.symbol,O=R.zero,D=R.width,u=R.comma,_=R.precision,L=R.trim,nt=R.type;nt==="n"?(u=!0,nt="g"):U[nt]||(_===void 0&&(_=12),L=!0,nt="g"),(O||y==="0"&&b==="=")&&(O=!0,y="0",b="=");var rt=l==="$"?T:l==="#"&&/[boxX]/.test(nt)?"0"+nt.toLowerCase():"",it=l==="$"?w:/[%p]/.test(nt)?v:"",X=U[nt],ct=/[defgprs%]/.test(nt);function B(F){var ut,ft,et,ht=rt,z=it;if(nt==="c")z=X(F)+z,F="";else{var tt=(F=+F)<0;if(F=isNaN(F)?g:X(Math.abs(F),_),L&&(F=function(st){t:for(var xt,gt=st.length,Tt=1,vt=-1;Tt0&&(vt=0)}return vt>0?st.slice(0,vt)+st.slice(xt+1):st}(F)),tt&&+F==0&&(tt=!1),ht=(tt?s==="("?s:m:s==="-"||s==="("?"":s)+ht,z=(nt==="s"?A[8+C/3]:"")+z+(tt&&s==="("?")":""),ct){for(ut=-1,ft=F.length;++ut(et=F.charCodeAt(ut))||et>57){z=(et===46?f+F.slice(ut+1):F.slice(ut))+z,F=F.slice(0,ut);break}}}u&&!O&&(F=o(F,1/0));var Q=ht.length+F.length+z.length,K=Q>1)+ht+F+z+K.slice(Q);break;default:F=K+ht+F+z}return S(F)}return _=_===void 0?6:/[gprs]/.test(nt)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_)),B.toString=function(){return R+""},B}return{format:x,formatPrefix:function(R,y){var b=x(((R=Object(G.b)(R)).type="f",R)),s=3*Math.max(-8,Math.min(8,Math.floor(Object(I.a)(y)/3))),l=Math.pow(10,-s),O=A[8+s/3];return function(D){return b(l*D)+O}}}}},function(At,W,c){"use strict";c.d(W,"b",function(){return G});var C=c(1),I=Object(C.a)(function(q){q.setDate(1),q.setHours(0,0,0,0)},function(q,J){q.setMonth(q.getMonth()+J)},function(q,J){return J.getMonth()-q.getMonth()+12*(J.getFullYear()-q.getFullYear())},function(q){return q.getMonth()});W.a=I;var G=I.range},function(At,W,c){"use strict";c.d(W,"b",function(){return q});var C=c(1),I=c(3),G=Object(C.a)(function(J){J.setTime(J-J.getMilliseconds()-J.getSeconds()*I.d-J.getMinutes()*I.c)},function(J,U){J.setTime(+J+U*I.b)},function(J,U){return(U-J)/I.b},function(J){return J.getHours()});W.a=G;var q=G.range},function(At,W,c){"use strict";c.d(W,"b",function(){return q});var C=c(1),I=c(3),G=Object(C.a)(function(J){J.setTime(J-J.getMilliseconds()-J.getSeconds()*I.d)},function(J,U){J.setTime(+J+U*I.c)},function(J,U){return(U-J)/I.c},function(J){return J.getMinutes()});W.a=G;var q=G.range},function(At,W,c){"use strict";c.d(W,"b",function(){return G});var C=c(1),I=Object(C.a)(function(q){q.setUTCDate(1),q.setUTCHours(0,0,0,0)},function(q,J){q.setUTCMonth(q.getUTCMonth()+J)},function(q,J){return J.getUTCMonth()-q.getUTCMonth()+12*(J.getUTCFullYear()-q.getUTCFullYear())},function(q){return q.getUTCMonth()});W.a=I;var G=I.range},function(At,W,c){"use strict";c.d(W,"b",function(){return q});var C=c(1),I=c(3),G=Object(C.a)(function(J){J.setUTCMinutes(0,0,0)},function(J,U){J.setTime(+J+U*I.b)},function(J,U){return(U-J)/I.b},function(J){return J.getUTCHours()});W.a=G;var q=G.range},function(At,W,c){"use strict";c.d(W,"b",function(){return q});var C=c(1),I=c(3),G=Object(C.a)(function(J){J.setUTCSeconds(0,0)},function(J,U){J.setTime(+J+U*I.c)},function(J,U){return(U-J)/I.c},function(J){return J.getUTCMinutes()});W.a=G;var q=G.range},function(At,W,c){"use strict";var C,I=function(J,U){if(Array.isArray(J))return J;if(Symbol.iterator in Object(J))return function(V,j){var A=[],P=!0,E=!1,p=void 0;try{for(var o,T=V[Symbol.iterator]();!(P=(o=T.next()).done)&&(A.push(o.value),!j||A.length!==j);P=!0);}catch(w){E=!0,p=w}finally{try{!P&&T.return&&T.return()}finally{if(E)throw p}}return A}(J,U);throw new TypeError("Invalid attempt to destructure non-iterable instance")},G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J};function q(J,U,V){return U in J?Object.defineProperty(J,U,{value:V,enumerable:!0,configurable:!0,writable:!0}):J[U]=V,J}(C=function(J){var U,V=c(39),j=c(28),A=c(35),P=A.axisTimeCombinations,E=A.timeBenchmarks,p=c(87),o=p.convertMillisecondsToDays,T=p.getLocaleDateFormatter,w={minute:j.timeFormat("%M m"),hour:j.timeFormat("%H %p"),day:j.timeFormat("%e"),daymonth:j.timeFormat("%d %b"),month:j.timeFormat("%b"),year:j.timeFormat("%Y")},f=(q(U={},P.MINUTE_HOUR,V.timeHour.every(1)),q(U,P.HOUR_DAY,V.timeDay.every(1)),q(U,P.DAY_MONTH,V.timeMonth.every(1)),q(U,P.MONTH_YEAR,V.timeYear.every(1)),U),S=function(m){var g=E.ONE_YEAR;return m2&&arguments[2]!==void 0?arguments[2]:null,R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,y=new Date(m[0].date),b=new Date(m[m.length-1].date),s=b-y;R&&(typeof Intl=="undefined"||(typeof Intl=="undefined"?"undefined":G(Intl))==="object"&&!Intl.DateTimeFormat)&&(R=null),x||(x=S(s));var l=x.split("-"),O=I(l,2),D=O[0],u=O[1],_=f[x],L=v(g,o(s));return{minor:{format:R?T(R,D):w[D],tick:L},major:{format:R?T(R,u):w[u],tick:_}}}}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C;(C=function(I){c(2);var G="highlight-filter";return{bounceCircleHighlight:function(q,J,U){var V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2*U,j=100,A=50;q.transition().ease(J).duration(j).attr("r",V).transition().ease(J).delay(A).duration(j).attr("r",U)},createFilterContainer:function(q){return q.append("defs").append("filter").attr("id",G)},createGausianBlur:function(q){return q.append("feGaussianBlur").attr("stdDeviation",1).attr("result","coloredBlur"),G},createWhiteGlow:function(q){q.attr("x","-5000%").attr("y","-5000%").attr("width","10000%").attr("height","10000%"),q.append("feFlood").attr("result","flood").attr("flood-color","#ffffff").attr("flood-opacity","1"),q.append("feComposite").attr("result","mask").attr("in2","SourceGraphic").attr("operator","in").attr("in","flood"),q.append("feMorphology").attr("result","dilated").attr("operator","dilate").attr("radius","2").attr("in","mask"),q.append("feGaussianBlur").attr("result","blurred").attr("stdDeviation","5").attr("in","dilated");var J=q.append("feMerge");return J.append("feMergeNode").attr("in","blurred"),J.append("feMergeNode").attr("in","SourceGraphic"),G},createGlow:function(q){q.attr("x","-30%").attr("y","-30%").attr("width","160%").attr("height","160%"),q.append("feGaussianBlur").attr("stdDeviation","0.9 0.9").attr("result","glow");var J=q.append("feMerge");return J.append("feMergeNode").attr("in","glow"),J.append("feMergeNode").attr("in","glow"),J.append("feMergeNode").attr("in","glow"),G},createGlowWithMatrix:function(q){q.attr("x","-500%").attr("y","-500%").attr("width","1800%").attr("height","1800%"),q.append("feColorMatrix").attr("type","matrix").attr("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"),q.append("feGaussianBlur").attr("stdDeviation","1").attr("result","coloredBlur").attr("in","SourceGraphic");var J=q.append("feMerge");return J.append("feMergeNode").attr("in","coloredBlur"),J.append("feMergeNode").attr("in","SourceGraphic"),G}}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I,G,q,J=c(14),U=180/Math.PI,V={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},j=function(p,o,T,w,f,S){var v,m,g;return(v=Math.sqrt(p*p+o*o))&&(p/=v,o/=v),(g=p*T+o*w)&&(T-=p*g,w-=o*g),(m=Math.sqrt(T*T+w*w))&&(T/=m,w/=m,g/=m),p*w180?R+=360:R-x>180&&(x+=360),b.push({i:y.push(f(y)+"rotate(",null,w)-2,x:Object(J.a)(x,R)})):R&&y.push(f(y)+"rotate("+R+w)}(S.rotate,v.rotate,m,g),function(x,R,y,b){x!==R?b.push({i:y.push(f(y)+"skewX(",null,w)-2,x:Object(J.a)(x,R)}):R&&y.push(f(y)+"skewX("+R+w)}(S.skewX,v.skewX,m,g),function(x,R,y,b,s,l){if(x!==y||R!==b){var O=s.push(f(s)+"scale(",null,",",null,")");l.push({i:O-4,x:Object(J.a)(x,y)},{i:O-2,x:Object(J.a)(R,b)})}else y===1&&b===1||s.push(f(s)+"scale("+y+","+b+")")}(S.scaleX,S.scaleY,v.scaleX,v.scaleY,m,g),S=v=null,function(x){for(var R,y=-1,b=g.length;++y=0&&(P=A.slice(E+1),A=A.slice(0,E)),A&&!j.hasOwnProperty(A))throw new Error("unknown type: "+A);return{type:A,name:P}})}function J(V,j){for(var A,P=0,E=V.length;P0)for(var A,P,E=new Array(A),p=0;p=0))throw g(v,new Error(Nt.tagName+"@"+Mt));for(var Ot=Pt.length-1;mt"&&">")||Nt=="&"&&"&"||Nt=='"'&&"""||"&#"+Nt.charCodeAt()+";"}function L(Nt,Pt){if(Pt(Nt))return!0;if(Nt=Nt.firstChild)do if(L(Nt,Pt))return!0;while(Nt=Nt.nextSibling)}function nt(){}function rt(Nt,Pt,Mt,mt){Nt&&Nt._inc++,Mt.namespaceURI=="http://www.w3.org/2000/xmlns/"&&delete Pt._nsMap[Mt.prefix?Mt.localName:""]}function it(Nt,Pt,Mt){if(Nt&&Nt._inc){Nt._inc++;var mt=Pt.childNodes;if(Mt)mt[mt.length++]=Mt;else{for(var Ot=Pt.firstChild,Yt=0;Ot;)mt[Yt++]=Ot,Ot=Ot.nextSibling;mt.length=Yt}}}function X(Nt,Pt){var Mt=Pt.previousSibling,mt=Pt.nextSibling;return Mt?Mt.nextSibling=mt:Nt.firstChild=mt,mt?mt.previousSibling=Mt:Nt.lastChild=Mt,it(Nt.ownerDocument,Nt),Pt}function ct(Nt,Pt,Mt){var mt=Pt.parentNode;if(mt&&mt.removeChild(Pt),Pt.nodeType===o){var Ot=Pt.firstChild;if(Ot==null)return Pt;var Yt=Pt.lastChild}else Ot=Yt=Pt;var $t=Mt?Mt.previousSibling:Nt.lastChild;Ot.previousSibling=$t,Yt.nextSibling=Mt,$t?$t.nextSibling=Ot:Nt.firstChild=Ot,Mt==null?Nt.lastChild=Yt:Mt.previousSibling=Yt;do Ot.parentNode=Nt;while(Ot!==Yt&&(Ot=Ot.nextSibling));return it(Nt.ownerDocument||Nt,Nt),Pt.nodeType==o&&(Pt.firstChild=Pt.lastChild=null),Pt}function B(){this._nsMap={}}function F(){}function ut(){}function ft(){}function et(){}function ht(){}function z(){}function tt(){}function Q(){}function K(){}function st(){}function xt(){}function gt(){}function Tt(Nt,Pt){var Mt=[],mt=this.nodeType==9?this.documentElement:this,Ot=mt.prefix,Yt=mt.namespaceURI;if(Yt&&Ot==null&&(Ot=mt.lookupPrefix(Yt))==null)var $t=[{namespace:Yt,prefix:null}];return Dt(this,Mt,Nt,Pt,$t),Mt.join("")}function vt(Nt,Pt,Mt){var mt=Nt.prefix||"",Ot=Nt.namespaceURI;if(!mt&&!Ot||mt==="xml"&&Ot==="http://www.w3.org/XML/1998/namespace"||Ot=="http://www.w3.org/2000/xmlns/")return!1;for(var Yt=Mt.length;Yt--;){var $t=Mt[Yt];if($t.prefix==mt)return $t.namespace!=Ot}return!0}function Dt(Nt,Pt,Mt,mt,Ot){if(mt){if(!(Nt=mt(Nt)))return;if(typeof Nt=="string")return void Pt.push(Nt)}switch(Nt.nodeType){case G:Ot||(Ot=[]),Ot.length;var Yt=Nt.attributes,$t=Yt.length,ae=Nt.firstChild,le=Nt.tagName;Mt=Nt.namespaceURI==="http://www.w3.org/1999/xhtml"||Mt,Pt.push("<",le);for(var Oe=0;Oe<$t;Oe++)(Ve=Yt.item(Oe)).prefix=="xmlns"?Ot.push({prefix:Ve.localName,namespace:Ve.value}):Ve.nodeName=="xmlns"&&Ot.push({prefix:"",namespace:Ve.value});for(Oe=0;Oe<$t;Oe++){var Ve;if(vt(Ve=Yt.item(Oe),0,Ot)){var rn=Ve.prefix||"",ln=Ve.namespaceURI,nn=rn?" xmlns:"+rn:" xmlns";Pt.push(nn,'="',ln,'"'),Ot.push({prefix:rn,namespace:ln})}Dt(Ve,Pt,Mt,mt,Ot)}if(vt(Nt,0,Ot)&&(rn=Nt.prefix||"",ln=Nt.namespaceURI,nn=rn?" xmlns:"+rn:" xmlns",Pt.push(nn,'="',ln,'"'),Ot.push({prefix:rn,namespace:ln})),ae||Mt&&!/^(?:meta|link|img|br|hr|input)$/i.test(le)){if(Pt.push(">"),Mt&&/^script$/i.test(le))for(;ae;)ae.data?Pt.push(ae.data):Dt(ae,Pt,Mt,mt,Ot),ae=ae.nextSibling;else for(;ae;)Dt(ae,Pt,Mt,mt,Ot),ae=ae.nextSibling;Pt.push("")}else Pt.push("/>");return;case E:case o:for(ae=Nt.firstChild;ae;)Dt(ae,Pt,Mt,mt,Ot),ae=ae.nextSibling;return;case q:return Pt.push(" ",Nt.name,'="',Nt.value.replace(/[<&"]/g,_),'"');case J:return Pt.push(Nt.data.replace(/[<&]/g,_));case U:return Pt.push("");case P:return Pt.push("");case p:var bn=Nt.publicId,un=Nt.systemId;if(Pt.push("');else if(un&&un!=".")Pt.push(' SYSTEM "',un,'">');else{var se=Nt.internalSubset;se&&Pt.push(" [",se,"]"),Pt.push(">")}return;case A:return Pt.push("");case V:return Pt.push("&",Nt.nodeName,";");default:Pt.push("??",Nt.nodeName)}}function Bt(Nt,Pt,Mt){Nt[Pt]=Mt}g.prototype=Error.prototype,c(w,g),x.prototype={length:0,item:function(Nt){return this[Nt]||null},toString:function(Nt,Pt){for(var Mt=[],mt=0;mt0},lookupPrefix:function(Nt){for(var Pt=this;Pt;){var Mt=Pt._nsMap;if(Mt){for(var mt in Mt)if(Mt[mt]==Nt)return mt}Pt=Pt.nodeType==q?Pt.ownerDocument:Pt.parentNode}return null},lookupNamespaceURI:function(Nt){for(var Pt=this;Pt;){var Mt=Pt._nsMap;if(Mt&&Nt in Mt)return Mt[Nt];Pt=Pt.nodeType==q?Pt.ownerDocument:Pt.parentNode}return null},isDefaultNamespace:function(Nt){return this.lookupPrefix(Nt)==null}},c(I,u),c(I,u.prototype),nt.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(Nt,Pt){if(Nt.nodeType==o){for(var Mt=Nt.firstChild;Mt;){var mt=Mt.nextSibling;this.insertBefore(Mt,Pt),Mt=mt}return Nt}return this.documentElement==null&&Nt.nodeType==G&&(this.documentElement=Nt),ct(this,Nt,Pt),Nt.ownerDocument=this,Nt},removeChild:function(Nt){return this.documentElement==Nt&&(this.documentElement=null),X(this,Nt)},importNode:function(Nt,Pt){return function Mt(mt,Ot,Yt){var $t;switch(Ot.nodeType){case G:($t=Ot.cloneNode(!1)).ownerDocument=mt;case o:break;case q:Yt=!0}if($t||($t=Ot.cloneNode(!1)),$t.ownerDocument=mt,$t.parentNode=null,Yt)for(var ae=Ot.firstChild;ae;)$t.appendChild(Mt(mt,ae,Yt)),ae=ae.nextSibling;return $t}(this,Nt,Pt)},getElementById:function(Nt){var Pt=null;return L(this.documentElement,function(Mt){if(Mt.nodeType==G&&Mt.getAttribute("id")==Nt)return Pt=Mt,!0}),Pt},createElement:function(Nt){var Pt=new B;return Pt.ownerDocument=this,Pt.nodeName=Nt,Pt.tagName=Nt,Pt.childNodes=new x,(Pt.attributes=new b)._ownerElement=Pt,Pt},createDocumentFragment:function(){var Nt=new st;return Nt.ownerDocument=this,Nt.childNodes=new x,Nt},createTextNode:function(Nt){var Pt=new ft;return Pt.ownerDocument=this,Pt.appendData(Nt),Pt},createComment:function(Nt){var Pt=new et;return Pt.ownerDocument=this,Pt.appendData(Nt),Pt},createCDATASection:function(Nt){var Pt=new ht;return Pt.ownerDocument=this,Pt.appendData(Nt),Pt},createProcessingInstruction:function(Nt,Pt){var Mt=new xt;return Mt.ownerDocument=this,Mt.tagName=Mt.target=Nt,Mt.nodeValue=Mt.data=Pt,Mt},createAttribute:function(Nt){var Pt=new F;return Pt.ownerDocument=this,Pt.name=Nt,Pt.nodeName=Nt,Pt.localName=Nt,Pt.specified=!0,Pt},createEntityReference:function(Nt){var Pt=new K;return Pt.ownerDocument=this,Pt.nodeName=Nt,Pt},createElementNS:function(Nt,Pt){var Mt=new B,mt=Pt.split(":"),Ot=Mt.attributes=new b;return Mt.childNodes=new x,Mt.ownerDocument=this,Mt.nodeName=Pt,Mt.tagName=Pt,Mt.namespaceURI=Nt,mt.length==2?(Mt.prefix=mt[0],Mt.localName=mt[1]):Mt.localName=Pt,Ot._ownerElement=Mt,Mt},createAttributeNS:function(Nt,Pt){var Mt=new F,mt=Pt.split(":");return Mt.ownerDocument=this,Mt.nodeName=Pt,Mt.name=Pt,Mt.namespaceURI=Nt,Mt.specified=!0,mt.length==2?(Mt.prefix=mt[0],Mt.localName=mt[1]):Mt.localName=Pt,Mt}},C(nt,u),B.prototype={nodeType:G,hasAttribute:function(Nt){return this.getAttributeNode(Nt)!=null},getAttribute:function(Nt){var Pt=this.getAttributeNode(Nt);return Pt&&Pt.value||""},getAttributeNode:function(Nt){return this.attributes.getNamedItem(Nt)},setAttribute:function(Nt,Pt){var Mt=this.ownerDocument.createAttribute(Nt);Mt.value=Mt.nodeValue=""+Pt,this.setAttributeNode(Mt)},removeAttribute:function(Nt){var Pt=this.getAttributeNode(Nt);Pt&&this.removeAttributeNode(Pt)},appendChild:function(Nt){return Nt.nodeType===o?this.insertBefore(Nt,null):function(Pt,Mt){var mt=Mt.parentNode;if(mt){var Ot=Pt.lastChild;mt.removeChild(Mt),Ot=Pt.lastChild}return Ot=Pt.lastChild,Mt.parentNode=Pt,Mt.previousSibling=Ot,Mt.nextSibling=null,Ot?Ot.nextSibling=Mt:Pt.firstChild=Mt,Pt.lastChild=Mt,it(Pt.ownerDocument,Pt,Mt),Mt}(this,Nt)},setAttributeNode:function(Nt){return this.attributes.setNamedItem(Nt)},setAttributeNodeNS:function(Nt){return this.attributes.setNamedItemNS(Nt)},removeAttributeNode:function(Nt){return this.attributes.removeNamedItem(Nt.nodeName)},removeAttributeNS:function(Nt,Pt){var Mt=this.getAttributeNodeNS(Nt,Pt);Mt&&this.removeAttributeNode(Mt)},hasAttributeNS:function(Nt,Pt){return this.getAttributeNodeNS(Nt,Pt)!=null},getAttributeNS:function(Nt,Pt){var Mt=this.getAttributeNodeNS(Nt,Pt);return Mt&&Mt.value||""},setAttributeNS:function(Nt,Pt,Mt){var mt=this.ownerDocument.createAttributeNS(Nt,Pt);mt.value=mt.nodeValue=""+Mt,this.setAttributeNode(mt)},getAttributeNodeNS:function(Nt,Pt){return this.attributes.getNamedItemNS(Nt,Pt)},getElementsByTagName:function(Nt){return new R(this,function(Pt){var Mt=[];return L(Pt,function(mt){mt===Pt||mt.nodeType!=G||Nt!=="*"&&mt.tagName!=Nt||Mt.push(mt)}),Mt})},getElementsByTagNameNS:function(Nt,Pt){return new R(this,function(Mt){var mt=[];return L(Mt,function(Ot){Ot===Mt||Ot.nodeType!==G||Nt!=="*"&&Ot.namespaceURI!==Nt||Pt!=="*"&&Ot.localName!=Pt||mt.push(Ot)}),mt})}},nt.prototype.getElementsByTagName=B.prototype.getElementsByTagName,nt.prototype.getElementsByTagNameNS=B.prototype.getElementsByTagNameNS,C(B,u),F.prototype.nodeType=q,C(F,u),ut.prototype={data:"",substringData:function(Nt,Pt){return this.data.substring(Nt,Nt+Pt)},appendData:function(Nt){Nt=this.data+Nt,this.nodeValue=this.data=Nt,this.length=Nt.length},insertData:function(Nt,Pt){this.replaceData(Nt,0,Pt)},appendChild:function(Nt){throw new Error(f[S])},deleteData:function(Nt,Pt){this.replaceData(Nt,Pt,"")},replaceData:function(Nt,Pt,Mt){Mt=this.data.substring(0,Nt)+Mt+this.data.substring(Nt+Pt),this.nodeValue=this.data=Mt,this.length=Mt.length}},C(ut,u),ft.prototype={nodeName:"#text",nodeType:J,splitText:function(Nt){var Pt=this.data,Mt=Pt.substring(Nt);Pt=Pt.substring(0,Nt),this.data=this.nodeValue=Pt,this.length=Pt.length;var mt=this.ownerDocument.createTextNode(Mt);return this.parentNode&&this.parentNode.insertBefore(mt,this.nextSibling),mt}},C(ft,ut),et.prototype={nodeName:"#comment",nodeType:P},C(et,ut),ht.prototype={nodeName:"#cdata-section",nodeType:U},C(ht,ut),z.prototype.nodeType=p,C(z,u),tt.prototype.nodeType=T,C(tt,u),Q.prototype.nodeType=j,C(Q,u),K.prototype.nodeType=V,C(K,u),st.prototype.nodeName="#document-fragment",st.prototype.nodeType=o,C(st,u),xt.prototype.nodeType=A,C(xt,u),gt.prototype.serializeToString=function(Nt,Pt,Mt){return Tt.call(Nt,Pt,Mt)},u.prototype.toString=Tt;try{Object.defineProperty&&(Object.defineProperty(R.prototype,"length",{get:function(){return y(this),this.$$length}}),Object.defineProperty(u.prototype,"textContent",{get:function(){return function Nt(Pt){switch(Pt.nodeType){case G:case o:var Mt=[];for(Pt=Pt.firstChild;Pt;)Pt.nodeType!==7&&Pt.nodeType!==8&&Mt.push(Nt(Pt)),Pt=Pt.nextSibling;return Mt.join("");default:return Pt.nodeValue}}(this)},set:function(Nt){switch(this.nodeType){case G:case o:for(;this.firstChild;)this.removeChild(this.firstChild);(Nt||String(Nt))&&this.appendChild(this.ownerDocument.createTextNode(Nt));break;default:this.data=Nt,this.value=Nt,this.nodeValue=Nt}}}),Bt=function(Nt,Pt,Mt){Nt["$$"+Pt]=Mt})}catch(Nt){}W.DOMImplementation=D,W.XMLSerializer=gt},function(At,W,c){"use strict";var C;(C=function(I){return c(9),{addDays:function(G,q){var J=new Date(G);return J.setDate(J.getDate()+q),String(J)},convertMillisecondsToDays:function(G){return Math.ceil(G/864e5)},diffDays:function(G,q){return Math.ceil(Math.abs((new Date(G).getTime()-new Date(q).getTime())/864e5))},getLocaleDateFormatter:function(G){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"day",J=localeTimeMap[q],U=new Intl.DateTimeFormat(G,J);return function(V){return U.format(V)}}}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.colors=W.bullet=W.brush=W.step=W.heatmap=W.stackedBar=W.groupedRow=W.groupedBar=W.scatterPlot=W.stackedArea=W.sparkline=W.row=W.miniTooltip=W.tooltip=W.loadingStates=W.line=W.legend=W.donut=W.bar=void 0;var C=g(c(90)),I=g(c(101)),G=g(c(102)),q=g(c(103)),J=g(c(18)),U=g(c(104)),V=g(c(106)),j=g(c(107)),A=g(c(108)),P=g(c(109)),E=g(c(110)),p=g(c(111)),o=g(c(112)),T=g(c(113)),w=g(c(114)),f=g(c(115)),S=g(c(116)),v=g(c(117)),m=g(c(10));function g(x){return x&&x.__esModule?x:{default:x}}W.bar=C.default,W.donut=I.default,W.legend=G.default,W.line=q.default,W.loadingStates=J.default,W.tooltip=V.default,W.miniTooltip=j.default,W.row=U.default,W.sparkline=A.default,W.stackedArea=P.default,W.scatterPlot=E.default,W.groupedBar=p.default,W.groupedRow=o.default,W.stackedBar=T.default,W.heatmap=w.default,W.step=f.default,W.brush=S.default,W.bullet=v.default,W.colors=m.default},,function(At,W,c){"use strict";var C,I=Object.assign||function(G){for(var q=1;q]*>/,""),(g=new ActiveXObject("Microsoft.XMLDOM")).async="false",g.loadXML(m),g)},f.Property=function(m,g){this.name=m,this.value=g},f.Property.prototype.getValue=function(){return this.value},f.Property.prototype.hasValue=function(){return this.value!=null&&this.value!=""},f.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var m=parseFloat(this.value);return(this.value+"").match(/%$/)&&(m/=100),m},f.Property.prototype.valueOrDefault=function(m){return this.hasValue()?this.value:m},f.Property.prototype.numValueOrDefault=function(m){return this.hasValue()?this.numValue():m},f.Property.prototype.addOpacity=function(m){var g=this.value;if(m.value!=null&&m.value!=""&&typeof this.value=="string"){var x=new C(this.value);x.ok&&(g="rgba("+x.r+", "+x.g+", "+x.b+", "+m.numValue()+")")}return new f.Property(this.name,g)},f.Property.prototype.getDefinition=function(){var m=this.value.match(/#([^\)'"]+)/);return m&&(m=m[1]),m||(m=this.value),f.Definitions[m]},f.Property.prototype.isUrlDefinition=function(){return this.value.indexOf("url(")==0},f.Property.prototype.getFillStyleDefinition=function(m,g){var x=this.getDefinition();if(x!=null&&x.createGradient)return x.createGradient(f.ctx,m,g);if(x!=null&&x.createPattern){if(x.getHrefAttribute().hasValue()){var R=x.attribute("patternTransform");x=x.getHrefAttribute().getDefinition(),R.hasValue()&&(x.attribute("patternTransform",!0).value=R.value)}return x.createPattern(f.ctx,m)}return null},f.Property.prototype.getDPI=function(m){return 96},f.Property.prototype.getEM=function(m){var g=12,x=new f.Property("fontSize",f.Font.Parse(f.ctx.font).fontSize);return x.hasValue()&&(g=x.toPixels(m)),g},f.Property.prototype.getUnits=function(){return(this.value+"").replace(/[0-9\.\-]/g,"")},f.Property.prototype.toPixels=function(m,g){if(!this.hasValue())return 0;var x=this.value+"";if(x.match(/em$/))return this.numValue()*this.getEM(m);if(x.match(/ex$/))return this.numValue()*this.getEM(m)/2;if(x.match(/px$/))return this.numValue();if(x.match(/pt$/))return this.numValue()*this.getDPI(m)*(1/72);if(x.match(/pc$/))return 15*this.numValue();if(x.match(/cm$/))return this.numValue()*this.getDPI(m)/2.54;if(x.match(/mm$/))return this.numValue()*this.getDPI(m)/25.4;if(x.match(/in$/))return this.numValue()*this.getDPI(m);if(x.match(/%$/))return this.numValue()*f.ViewPort.ComputeSize(m);var R=this.numValue();return g&&R<1?R*f.ViewPort.ComputeSize(m):R},f.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var m=this.value+"";return m.match(/s$/)?1e3*this.numValue():(m.match(/ms$/),this.numValue())},f.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var m=this.value+"";return m.match(/deg$/)?this.numValue()*(Math.PI/180):m.match(/grad$/)?this.numValue()*(Math.PI/200):m.match(/rad$/)?this.numValue():this.numValue()*(Math.PI/180)};var v={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return f.Property.prototype.toTextBaseline=function(){return this.hasValue()?v[this.value]:null},f.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(g,x,R,y,b,s){var l=s!=null?this.Parse(s):this.CreateFont("","","","","",f.ctx.font);return{fontFamily:b||l.fontFamily,fontSize:y||l.fontSize,fontStyle:g||l.fontStyle,fontWeight:R||l.fontWeight,fontVariant:x||l.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var m=this;this.Parse=function(g){for(var x={},R=f.trim(f.compressSpaces(g||"")).split(" "),y={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},b="",s=0;sthis.x2&&(this.x2=y)),b!=null&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=b,this.y2=b),bthis.y2&&(this.y2=b))},this.addX=function(y){this.addPoint(y,null)},this.addY=function(y){this.addPoint(null,y)},this.addBoundingBox=function(y){this.addPoint(y.x1,y.y1),this.addPoint(y.x2,y.y2)},this.addQuadraticCurve=function(y,b,s,l,O,D){var u=y+.6666666666666666*(s-y),_=b+2/3*(l-b),L=u+1/3*(O-y),nt=_+1/3*(D-b);this.addBezierCurve(y,b,u,L,_,nt,O,D)},this.addBezierCurve=function(y,b,s,l,O,D,u,_){var L=[y,b],nt=[s,l],rt=[O,D],it=[u,_];this.addPoint(L[0],L[1]),this.addPoint(it[0],it[1]);for(var X=0;X<=1;X++){var ct=function(tt){return Math.pow(1-tt,3)*L[X]+3*Math.pow(1-tt,2)*tt*nt[X]+3*(1-tt)*Math.pow(tt,2)*rt[X]+Math.pow(tt,3)*it[X]},B=6*L[X]-12*nt[X]+6*rt[X],F=-3*L[X]+9*nt[X]-9*rt[X]+3*it[X],ut=3*nt[X]-3*L[X];if(F!=0){var ft=Math.pow(B,2)-4*ut*F;if(!(ft<0)){var et=(-B+Math.sqrt(ft))/(2*F);0=0;D--)this.transforms[D].unapply(O)},this.applyToPoint=function(O){for(var D=0;Dnt&&(this.styles[L]=u[L],this.stylesSpecificity[L]=_)}}},m!=null&&m.nodeType==1){for(var g=0;g0&&g.push([this.points[this.points.length-1],g[g.length-1][1]]),g}},f.Element.polyline.prototype=new f.Element.PathElementBase,f.Element.polygon=function(m){this.base=f.Element.polyline,this.base(m),this.basePath=this.path,this.path=function(g){var x=this.basePath(g);return g!=null&&(g.lineTo(this.points[0].x,this.points[0].y),g.closePath()),x}},f.Element.polygon.prototype=new f.Element.polyline,f.Element.path=function(m){this.base=f.Element.PathElementBase,this.base(m);var g=this.attribute("d").value;g=g.replace(/,/gm," ");for(var x=0;x<2;x++)g=g.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2");for(g=(g=g.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2"),x=0;x<2;x++)g=g.replace(/(\.[0-9]*)(\.)/gm,"$1 $2");g=g.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),g=f.compressSpaces(g),g=f.trim(g),this.PathParser=new function(R){this.tokens=R.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new f.Point(0,0),this.control=new f.Point(0,0),this.current=new f.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){return!!this.isEnd()||this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var y=new f.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(y)},this.getAsControlPoint=function(){var y=this.getPoint();return this.control=y,y},this.getAsCurrentPoint=function(){var y=this.getPoint();return this.current=y,y},this.getReflectedControlPoint=function(){return this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s"&&this.previousCommand.toLowerCase()!="q"&&this.previousCommand.toLowerCase()!="t"?this.current:new f.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(y){return this.isRelativeCommand()&&(y.x+=this.current.x,y.y+=this.current.y),y},this.addMarker=function(y,b,s){s!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(s)),this.addMarkerAngle(y,b==null?null:b.angleTo(y))},this.addMarkerAngle=function(y,b){this.points.push(y),this.angles.push(b)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var y=0;y1&&(nt*=Math.sqrt(F),rt*=Math.sqrt(F));var ut=(X==ct?-1:1)*Math.sqrt((Math.pow(nt,2)*Math.pow(rt,2)-Math.pow(nt,2)*Math.pow(B.y,2)-Math.pow(rt,2)*Math.pow(B.x,2))/(Math.pow(nt,2)*Math.pow(B.y,2)+Math.pow(rt,2)*Math.pow(B.x,2)));isNaN(ut)&&(ut=0);var ft=new f.Point(ut*nt*B.y/rt,ut*-rt*B.x/nt),et=new f.Point((D.x+L.x)/2+Math.cos(it)*ft.x-Math.sin(it)*ft.y,(D.y+L.y)/2+Math.sin(it)*ft.x+Math.cos(it)*ft.y),ht=function(Nt){return Math.sqrt(Math.pow(Nt[0],2)+Math.pow(Nt[1],2))},z=function(Nt,Pt){return(Nt[0]*Pt[0]+Nt[1]*Pt[1])/(ht(Nt)*ht(Pt))},tt=function(Nt,Pt){return(Nt[0]*Pt[1]=1&&(xt=0);var gt=1-ct?1:-1,Tt=Q+gt*(xt/2),vt=new f.Point(et.x+nt*Math.cos(Tt),et.y+rt*Math.sin(Tt));if(y.addMarkerAngle(vt,Tt-gt*Math.PI/2),y.addMarkerAngle(L,Tt-gt*Math.PI),b.addPoint(L.x,L.y),R!=null){z=nt>rt?nt:rt;var Dt=nt>rt?1:nt/rt,Bt=nt>rt?rt/nt:1;R.translate(et.x,et.y),R.rotate(it),R.scale(Dt,Bt),R.arc(0,0,z,Q,Q+xt,1-ct),R.scale(1/Dt,1/Bt),R.rotate(-it),R.translate(-et.x,-et.y)}}break;case"Z":case"z":R!=null&&R.closePath(),y.current=y.start}return b},this.getMarkers=function(){for(var R=this.PathParser.getMarkerPoints(),y=this.PathParser.getMarkerAngles(),b=[],s=0;s1&&(this.offset=1);var g=this.style("stop-color",!0);g.value==""&&(g.value="#000"),this.style("stop-opacity").hasValue()&&(g=g.addOpacity(this.style("stop-opacity"))),this.color=g.value},f.Element.stop.prototype=new f.Element.ElementBase,f.Element.AnimateBase=function(m){this.base=f.Element.ElementBase,this.base(m),f.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").toMilliseconds(),this.getProperty=function(){var g=this.attribute("attributeType").value,x=this.attribute("attributeName").value;return g=="CSS"?this.parent.style(x,!0):this.parent.attribute(x,!0)},this.initialValue=null,this.initialUnits="",this.removed=!1,this.calcValue=function(){return""},this.update=function(g){if(this.initialValue==null&&(this.initialValue=this.getProperty().value,this.initialUnits=this.getProperty().getUnits()),this.duration>this.maxDuration){if(this.attribute("repeatCount").value=="indefinite"||this.attribute("repeatDur").value=="indefinite")this.duration=0;else if(this.attribute("fill").valueOrDefault("remove")!="freeze"||this.frozen){if(this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+g;var x=!1;if(this.beginR&&l.attribute("x").hasValue())break;b+=l.measureTextRecursive(g)}return-1*(y=="end"?b:b/2)}return 0},this.renderChild=function(g,x,R,y){var b=R.children[y];for(b.attribute("x").hasValue()?(b.x=b.attribute("x").toPixels("x")+x.getAnchorDelta(g,R,y),b.attribute("dx").hasValue()&&(b.x+=b.attribute("dx").toPixels("x"))):(b.attribute("dx").hasValue()&&(x.x+=b.attribute("dx").toPixels("x")),b.x=x.x),x.x=b.x+b.measureText(g),b.attribute("y").hasValue()?(b.y=b.attribute("y").toPixels("y"),b.attribute("dy").hasValue()&&(b.y+=b.attribute("dy").toPixels("y"))):(b.attribute("dy").hasValue()&&(x.y+=b.attribute("dy").toPixels("y")),b.y=x.y),x.y=b.y,b.render(g),y=0;y0&&x[R-1]!=" "&&R0&&x[R-1]!=" "&&(R==x.length-1||x[R+1]==" ")&&(s="initial"),g.glyphs[y]!==void 0&&(b=g.glyphs[y][s])==null&&g.glyphs[y].type=="glyph"&&(b=g.glyphs[y])}else b=g.glyphs[y];return b==null&&(b=g.missingGlyph),b},this.renderChildren=function(g){var x=this.parent.style("font-family").getDefinition();if(x==null)g.fillStyle!=""&&g.fillText(f.compressSpaces(this.getText()),this.x,this.y),g.strokeStyle!=""&&g.strokeText(f.compressSpaces(this.getText()),this.x,this.y);else{var R=this.parent.style("font-size").numValueOrDefault(f.Font.Parse(f.ctx.font).fontSize),y=this.parent.style("font-style").valueOrDefault(f.Font.Parse(f.ctx.font).fontStyle),b=this.getText();x.isRTL&&(b=b.split("").reverse().join(""));for(var s=f.ToNumberArray(this.parent.attribute("dx").value),l=0;l0?"":this.text}},f.Element.tspan.prototype=new f.Element.TextElementBase,f.Element.tref=function(m){this.base=f.Element.TextElementBase,this.base(m),this.getText=function(){var g=this.getHrefAttribute().getDefinition();if(g!=null)return g.children[0].getText()}},f.Element.tref.prototype=new f.Element.TextElementBase,f.Element.a=function(m){this.base=f.Element.TextElementBase,this.base(m),this.hasText=m.childNodes.length>0;for(var g=0;g0){var y=new f.Element.g;y.children=this.children,y.parent=this,y.render(x)}},this.onclick=function(){window.open(this.getHrefAttribute().value)},this.onmousemove=function(){f.ctx.canvas.style.cursor="pointer"}},f.Element.a.prototype=new f.Element.TextElementBase,f.Element.image=function(m){this.base=f.Element.RenderedElementBase,this.base(m);var g=this.getHrefAttribute().value;if(g!=""){var x=g.match(/\.svg$/);if(f.Images.push(this),this.loaded=!1,x)this.img=f.ajax(g),this.loaded=!0;else{this.img=document.createElement("img"),f.opts.useCORS==1&&(this.img.crossOrigin="Anonymous");var R=this;this.img.onload=function(){R.loaded=!0},this.img.onerror=function(){f.log('ERROR: image "'+g+'" not found'),R.loaded=!0},this.img.src=g}this.renderChildren=function(y){var b=this.attribute("x").toPixels("x"),s=this.attribute("y").toPixels("y"),l=this.attribute("width").toPixels("x"),O=this.attribute("height").toPixels("y");l!=0&&O!=0&&(y.save(),x?y.drawSvg(this.img,b,s,l,O):(y.translate(b,s),f.AspectRatio(y,this.attribute("preserveAspectRatio").value,l,this.img.width,O,this.img.height,0,0),y.drawImage(this.img,0,0)),y.restore())},this.getBoundingBox=function(){var y=this.attribute("x").toPixels("x"),b=this.attribute("y").toPixels("y"),s=this.attribute("width").toPixels("x"),l=this.attribute("height").toPixels("y");return new f.BoundingBox(y,b,y+s,b+l)}}},f.Element.image.prototype=new f.Element.RenderedElementBase,f.Element.g=function(m){this.base=f.Element.RenderedElementBase,this.base(m),this.getBoundingBox=function(){for(var g=new f.BoundingBox,x=0;x0)for(var ct=it[X].indexOf("url"),B=it[X].indexOf(")",ct),F=it[X].substr(ct+5,B-ct-6),ut=f.parseXml(f.ajax(F)).getElementsByTagName("font"),ft=0;ft~\.\[:]+)/g,0),V(/(\.[^\s\+>~\.\[:]+)/g,1),V(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,2),V(/(:[\w-]+\([^\)]*\))/gi,1),V(/(:[^\s\+>~\.\[:]+)/g,1),J=(J=J.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),V(/([^\s\+>~\.\[:]+)/g,2),U.join("")}At.exports=G},function(At,W){At.exports=function(c){this.ok=!1,this.alpha=1,c.charAt(0)=="#"&&(c=c.substr(1,6)),c=(c=c.replace(/ /g,"")).toLowerCase();var C={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};c=C[c]||c;for(var I=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(j){return[parseInt(j[1]),parseInt(j[2]),parseInt(j[3]),parseFloat(j[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(j){return[parseInt(j[1]),parseInt(j[2]),parseInt(j[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(j){return[parseInt(j[1],16),parseInt(j[2],16),parseInt(j[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(j){return[parseInt(j[1]+j[1],16),parseInt(j[2]+j[2],16),parseInt(j[3]+j[3],16)]}}],G=0;G3&&(this.alpha=V[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var j=this.r.toString(16),A=this.g.toString(16),P=this.b.toString(16);return j.length==1&&(j="0"+j),A.length==1&&(A="0"+A),P.length==1&&(P="0"+P),"#"+j+A+P},this.getHelpXML=function(){for(var j=new Array,A=0;A "+w.toRGB()+" -> "+w.toHex());T.appendChild(f),T.appendChild(S),o.appendChild(T)}catch(v){}return o}}},function(At,W){var c=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],C=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function I(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}At.exports=function(G,q,J,U){if(!(isNaN(U)||U<1)){var V,j,A,P,E,p,o,T,w,f,S,v,m,g,x,R,y,b,s,l,O,D,u,_,L=(U|=0)+U+1,nt=q-1,rt=J-1,it=U+1,X=it*(it+1)/2,ct=new I,B=ct;for(A=1;A>ht,u!=0?(u=255/u,G[p]=(T*et>>ht)*u,G[p+1]=(w*et>>ht)*u,G[p+2]=(f*et>>ht)*u):G[p]=G[p+1]=G[p+2]=0,T-=v,w-=m,f-=g,S-=x,v-=ut.r,m-=ut.g,g-=ut.b,x-=ut.a,P=o+((P=V+U+1)>ht,u>0?(u=255/u,G[P]=(T*et>>ht)*u,G[P+1]=(w*et>>ht)*u,G[P+2]=(f*et>>ht)*u):G[P]=G[P+1]=G[P+2]=0,T-=v,w-=m,f-=g,S-=x,v-=ut.r,m-=ut.g,g-=ut.b,x-=ut.a,P=V+((P=j+it)=P+E||P?new java.lang.String(A,P,E)+"":A}function U(A,P){A.currentElement?A.currentElement.appendChild(P):A.doc.appendChild(P)}C.prototype.parseFromString=function(A,P){var E=this.options,p=new V,o=E.domBuilder||new I,T=E.errorHandler,w=E.locator,f=E.xmlns||{},S={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return w&&o.setDocumentLocator(w),p.errorHandler=function(v,m,g){if(!v){if(m instanceof I)return m;v=m}var x={},R=v instanceof Function;function y(b){var s=v[b];!s&&R&&(s=v.length==2?function(l){v(b,l)}:v),x[b]=s&&function(l){s("[xmldom "+b+"] "+l+q(g))}||function(){}}return g=g||{},y("warning"),y("error"),y("fatalError"),x}(T,o,w),p.domBuilder=E.domBuilder||o,/\/x?html?$/.test(P)&&(S.nbsp="\xA0",S.copy="\xA9",f[""]="http://www.w3.org/1999/xhtml"),f.xml=f.xml||"http://www.w3.org/XML/1998/namespace",A?p.parse(A,f,S):p.errorHandler.error("invalid doc source"),o.doc},I.prototype={startDocument:function(){this.doc=new j().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(A,P,E,p){var o=this.doc,T=o.createElementNS(A,E||P),w=p.length;U(this,T),this.currentElement=T,this.locator&&G(this.locator,T);for(var f=0;f":switch(R){case 0:f.setTagName(T.slice(w,x));case 5:case 6:case 7:break;case 4:case 1:(b=T.slice(w,x)).slice(-1)==="/"&&(f.closed=!0,b=b.slice(0,-1));case 2:R===2&&(b=g),R==4?(m.warning('attribute "'+b+'" missed quot(")!!'),f.add(g,b.replace(/&#?\w+;/g,v),w)):(S[""]==="http://www.w3.org/1999/xhtml"&&b.match(/^(?:disabled|checked|selected)$/i)||m.warning('attribute "'+b+'" missed value!! "'+b+'" instead!!'),f.add(b,b,w));break;case 3:throw new Error("attribute value missed!!")}return x;case"\x80":y=" ";default:if(y<=" ")switch(R){case 0:f.setTagName(T.slice(w,x)),R=6;break;case 1:g=T.slice(w,x),R=2;break;case 4:var b=T.slice(w,x).replace(/&#?\w+;/g,v);m.warning('attribute "'+b+'" missed quot(")!!'),f.add(g,b,w);case 5:R=6}else switch(R){case 2:f.tagName,S[""]==="http://www.w3.org/1999/xhtml"&&g.match(/^(?:disabled|checked|selected)$/i)||m.warning('attribute "'+g+'" missed value!! "'+g+'" instead2!!'),f.add(g,g,w),w=x,R=1;break;case 5:m.warning('attribute space is required"'+g+'"!!');case 6:R=1,w=x;break;case 3:R=4,w=x;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}x++}}function U(T,w,f){for(var S=T.tagName,v=null,m=T.length;m--;){var g=T[m],x=g.qName,R=g.value;if((l=x.indexOf(":"))>0)var y=g.prefix=x.slice(0,l),b=x.slice(l+1),s=y==="xmlns"&&b;else b=x,y=null,s=x==="xmlns"&&"";g.localName=b,s!==!1&&(v==null&&(v={},A(f,f={})),f[s]=v[s]=R,g.uri="http://www.w3.org/2000/xmlns/",w.startPrefixMapping(s,R))}for(m=T.length;m--;)(y=(g=T[m]).prefix)&&(y==="xml"&&(g.uri="http://www.w3.org/XML/1998/namespace"),y!=="xmlns"&&(g.uri=f[y||""]));var l;(l=S.indexOf(":"))>0?(y=T.prefix=S.slice(0,l),b=T.localName=S.slice(l+1)):(y=null,b=T.localName=S);var O=T.uri=f[y||""];if(w.startElement(O,b,S,T),!T.closed)return T.currentNSMap=f,T.localNSMap=v,!0;if(w.endElement(O,b,S),v)for(y in v)w.endPrefixMapping(y)}function V(T,w,f,S,v){if(/^(?:script|textarea)$/i.test(f)){var m=T.indexOf("",w),g=T.substring(w+1,m);if(/[&<]/.test(g))return/^script$/i.test(f)?(v.characters(g,0,g.length),m):(g=g.replace(/&#?\w+;/g,S),v.characters(g,0,g.length),m)}return w+1}function j(T,w,f,S){var v=S[f];return v==null&&((v=T.lastIndexOf(""))",w+4))>w?(f.comment(T,w+4,v-w-4),v+3):(S.error("Unclosed comment"),-1):-1;default:if(T.substr(w+3,6)=="CDATA["){var v=T.indexOf("]]>",w+9);return f.startCDATA(),f.characters(T,w+9,v-w-9),f.endCDATA(),v+3}var m=function(s,l){var O,D=[],u=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(u.lastIndex=l,u.exec(s);O=u.exec(s);)if(D.push(O),O[1])return D}(T,w),g=m.length;if(g>1&&/!doctype/i.test(m[0][0])){var x=m[1][0],R=g>3&&/^public$/i.test(m[2][0])&&m[3][0],y=g>4&&m[4][0],b=m[g-1];return f.startDTD(x,R&&R.replace(/^(['"])(.*?)\1$/,"$2"),y&&y.replace(/^(['"])(.*?)\1$/,"$2")),f.endDTD(),b.index+b[0].length}}return-1}function E(T,w,f){var S=T.indexOf("?>",w);if(S){var v=T.substring(w,S).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return v?(v[0].length,f.processingInstruction(v[1],v[2]),S+2):-1}return-1}function p(T){}function o(T,w){return T.__proto__=w,T}G.prototype={parse:function(T,w,f){var S=this.domBuilder;S.startDocument(),A(w,w={}),function(v,m,g,x,R){function y(xt){var gt=xt.slice(1,-1);return gt in g?g[gt]:gt.charAt(0)==="#"?function(Tt){if(Tt>65535){var vt=55296+((Tt-=65536)>>10),Dt=56320+(1023&Tt);return String.fromCharCode(vt,Dt)}return String.fromCharCode(Tt)}(parseInt(gt.substr(1).replace("x","0x"))):(R.error("entity not found:"+xt),xt)}function b(xt){if(xt>nt){var gt=v.substring(nt,xt).replace(/&#?\w+;/g,y);u&&s(nt),x.characters(gt,0,xt-nt),nt=xt}}function s(xt,gt){for(;xt>=O&&(gt=D.exec(v));)l=gt.index,O=l+gt[0].length,u.lineNumber++;u.columnNumber=xt-l+1}for(var l=0,O=0,D=/.*(?:\r\n?|\n)|.*$/g,u=x.locator,_=[{currentNSMap:m}],L={},nt=0;;){try{var rt=v.indexOf("<",nt);if(rt<0){if(!v.substr(nt).match(/^\s*$/)){var it=x.doc,X=it.createTextNode(v.substr(nt));it.appendChild(X),x.currentElement=X}return}switch(rt>nt&&b(rt),v.charAt(rt+1)){case"/":var ct=v.indexOf(">",rt+3),B=v.substring(rt+2,ct),F=_.pop();ct<0?(B=v.substring(rt+2).replace(/[\s<].*/,""),R.error("end tag name: "+B+" is not complete:"+F.tagName),ct=rt+1+B.length):B.match(/\snt?nt=ct:b(Math.max(rt,nt)+1)}}(T,w,f,S,this.errorHandler),S.endDocument()}},p.prototype={setTagName:function(T){if(!I.test(T))throw new Error("invalid tagName:"+T);this.tagName=T},add:function(T,w,f){if(!I.test(T))throw new Error("invalid attribute:"+T);this[this.length++]={qName:T,value:w,offset:f}},length:0,getLocalName:function(T){return this[T].localName},getLocator:function(T){return this[T].locator},getQName:function(T){return this[T].qName},getURI:function(T){return this[T].uri},getValue:function(T){return this[T].value}},o({},o.prototype)instanceof o||(o=function(T,w){function f(){}for(w in f.prototype=w,f=new f,T)f[w]=T[w];return f}),W.XMLReader=G},function(At,W,c){"use strict";var C,I,G;At.exports=(C={BASE:!0,HEAD:!0,HTML:!0,META:!0,NOFRAME:!0,NOSCRIPT:!0,PARAM:!0,SCRIPT:!0,STYLE:!0,TITLE:!0},I=["A","ABBR","ADDRESS","AREA","ARTICLE","ASIDE","AUDIO","B","BASE","BDI","BDO","BLOCKQUOTE","BODY","BR","BUTTON","CANVAS","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","COMMAND","DATALIST","DD","DEL","DETAILS","DFN","DIV","DL","DT","EM","EMBED","FIELDSET","FIGCAPTION","FIGURE","FONT","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEAD","HEADER","HGROUP","HR","HTML","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","LEGEND","LI","LINK","MAP","MARK","MATH","MENU","META","METER","NAV","NOBR","NOSCRIPT","OBJECT","OL","OPTION","OPTGROUP","OUTPUT","P","PARAM","PRE","PROGRESS","Q","RP","RT","RUBY","S","SAMP","SCRIPT","SECTION","SELECT","SMALL","SOURCE","SPAN","STRONG","STYLE","SUB","SUMMARY","SUP","SVG","TABLE","TBODY","TD","TEXTAREA","TFOOT","TH","THEAD","TIME","TITLE","TR","TRACK","U","UL","VAR","VIDEO","WBR"],G=function(q){var J={},U=document.body.appendChild(document.createElement(q)),V=window.getComputedStyle(U);return[].forEach.call(V,function(j){J[j]=V[j]}),document.body.removeChild(U),J},{initializeSerializer:function(){var q={};return[].forEach.call(I,function(J){C[J]||(q[J]=G(J))}),function(J){var U,V=[],j=void 0,A=void 0,P=void 0;if(J&&J.nodeType===Node.ELEMENT_NODE)return V=[],j=J.querySelectorAll("*"),[].forEach.call(j,function(E,p){var o;C[E.tagName]||(A=window.getComputedStyle(E),o=(o=E.tagName).toUpperCase(),q[o]||(q[o]=G(o)),P=q[o],V[p]=E.style.cssText,[].forEach.call(A,function(T){A[T]!==P[T]&&(E.style[T]=A[T])}))}),U=new XMLSerializer().serializeToString(J),j=[].map.call(j,function(E,p){return E.style.cssText=V[p],E}),U}}})},function(At,W,c){(function(C,I){var G;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */(function(q){var J=W,U=(C&&C.exports,typeof I=="object"&&I);U.global!==U&&U.window;var V=function(p){this.message=p};(V.prototype=new Error).name="InvalidCharacterError";var j=function(p){throw new V(p)},A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=/[\t\n\f\r ]/g,E={encode:function(p){p=String(p),/[^\0-\xFF]/.test(p)&&j("The string to be encoded contains characters outside of the Latin1 range.");for(var o,T,w,f,S=p.length%3,v="",m=-1,g=p.length-S;++m>18&63)+A.charAt(f>>12&63)+A.charAt(f>>6&63)+A.charAt(63&f);return S==2?(o=p.charCodeAt(m)<<8,T=p.charCodeAt(++m),v+=A.charAt((f=o+T)>>10)+A.charAt(f>>4&63)+A.charAt(f<<2&63)+"="):S==1&&(f=p.charCodeAt(m),v+=A.charAt(f>>2)+A.charAt(f<<4&63)+"=="),v},decode:function(p){var o=(p=String(p).replace(P,"")).length;o%4==0&&(o=(p=p.replace(/==?$/,"")).length),(o%4==1||/[^+a-zA-Z0-9/]/.test(p))&&j("Invalid character: the string to be decoded is not correctly encoded.");for(var T,w,f=0,S="",v=-1;++v>(-2*f&6)));return S},version:"0.1.0"};(G=function(){return E}.call(W,c,W,C))===void 0||(C.exports=G)})()}).call(this,c(98)(At),c(99))},function(At,W){At.exports=function(c){return c.webpackPolyfill||(c.deprecate=function(){},c.paths=[],c.children||(c.children=[]),Object.defineProperty(c,"loaded",{enumerable:!0,get:function(){return c.l}}),Object.defineProperty(c,"id",{enumerable:!0,get:function(){return c.i}}),c.webpackPolyfill=1),c}},function(At,W){var c;c=function(){return this}();try{c=c||new Function("return this")()}catch(C){typeof window=="object"&&(c=window)}At.exports=c},function(At,W,c){"use strict";var C,I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G};(C=function(G){var q=c(9).formatDefaultLocale,J=["decimal","thousands","grouping","currency"];return{setDefaultLocale:function(U){if(function(V){return(V===void 0?"undefined":I(V))=="object"&&J.every(function(j){return V.hasOwnProperty(j)})}(U))return q(U);throw new Error("Please pass in a valid locale object definition")}}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(G){for(var q=1;q2&&arguments[2]!==void 0?arguments[2]:0;A.select(le).transition().delay(Ve).attrTween("d",function(rn){var ln=U.interpolate(rn.outerRadius,Oe);return function(nn){return rn.outerRadius=ln(nn),u(rn)}})}function $t(le){var Oe=void 0;return le.innerRadius=0,Oe=U.interpolate({startAngle:0,endAngle:0},le),function(Ve){return u(Oe(Ve))}}function ae(le,Oe){var Ve=s/5;E.wrapText.call(null,0,Ve,Oe,le.node())}return Dt.centeredTextFunction=function(le){return arguments.length?(Q=le,this):Q},Dt.colorSchema=function(le){return arguments.length?(tt=le,this):tt},Dt.emptyDataConfig=function(le){return arguments.length?(ft=le,this):ft},Dt.exportChart=function(le,Oe){P.call(Dt,L,le,Oe)},Dt.externalRadius=function(le){return arguments.length?(s=le,this):s},Dt.hasHoverAnimation=function(le){return arguments.length?(B=le,this):B},Dt.hasFixedHighlightedSlice=function(le){return arguments.length?(ct=le,this):ct},Dt.hasLastHoverSliceHighlighted=function(le){return arguments.length?(F=le,this):F},Dt.height=function(le){return arguments.length?(v=le,this):v},Dt.highlightSliceById=function(le){return arguments.length?(it=le,this):it},Dt.internalRadius=function(le){return arguments.length?(l=le,this):l},Dt.isAnimated=function(le){return arguments.length?(nt=le,this):nt},Dt.loadingState=function(le){return arguments.length?(m=le,this):m},Dt.margin=function(le){return arguments.length?(f=I({},f,le),this):f},Dt.numberFormat=function(le){return arguments.length?(ht=le,this):ht},Dt.on=function(){var le=vt.on.apply(vt,arguments);return le===vt?Dt:le},Dt.orderingFunction=function(le){return arguments.length?(xt=le,this):xt},Dt.percentageFormat=function(le){return arguments.length?(et=le,this):et},Dt.radiusHoverOffset=function(le){return arguments.length?(x=le,this):x},Dt.width=function(le){return arguments.length?(S=le,this):S},Dt}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(G){for(var q=1;q0&&_.select("g.legend-container-group").attr("transform","translate("+tt+",0)")):function(){_.select(".legend-group").selectAll("g").remove(),(l=_.select(".legend-group").selectAll("g.legend-line").data(u)).enter().append("g").classed("legend-line",!0).append("g").classed("legend-entry",!0).attr("data-item",x).attr("transform",function(st,xt){return"translate("+(p+it())+","+(xt+1)*(D/(u.length+1))+")"}).merge(l).append("circle").classed("legend-circle",!0).attr("cx",p/2).attr("cy",-5).attr("r",p/2).style("fill",b).style("stroke-width",1),_.select(".legend-group").selectAll("g.legend-line").selectAll("g.legend-entry").append("text").classed("legend-entry-name",!0).text(R).attr("x",it()).style("font-size","12px").style("letter-spacing","0.5px"),v?_.select(".legend-group").selectAll("g.legend-line").selectAll("g.legend-entry").append("text").classed("legend-entry-value",!0).text(y).attr("x",O-40).style("font-size","12px").style("letter-spacing","0.8px").style("text-anchor","end").style("startOffset","100%"):function(){var st=_.select("g.legend-container-group").node().getBoundingClientRect().width,xt=P-st,gt=xt/2-st/2;xt>0&&_.select("g.legend-container-group").attr("transform","translate("+gt+",0)")}(),_.select(".legend-group").selectAll("g.legend-line").exit().transition().style("opacity",0).remove()}(),S&&(nt(),rt(S))})}function nt(){_.select(".legend-group").selectAll("g.legend-entry").classed("is-faded",!1)}function rt(X){var ct=_.select('[data-item="'+X+'"]');ct.nodes().length&&(_.select(".legend-group").selectAll("g.legend-entry").classed("is-faded",!0),ct.classed("is-faded",!1))}function it(){return o*p}return L.clearHighlight=function(){nt()},L.colorSchema=function(X){return arguments.length?(g=X,this):g},L.height=function(X){return arguments.length?(E=X,this):E},L.highlight=function(X){nt(),rt(X)},L.highlightEntryById=function(X){return arguments.length?(S=X,this):S},L.isHorizontal=function(X){return arguments.length?(f=X,this):f},L.margin=function(X){return arguments.length?(A=I({},A,X),this):A},L.marginRatio=function(X){return arguments.length?(o=X,this):o},L.markerSize=function(X){return arguments.length?(p=X,this):p},L.numberFormat=function(X){return arguments.length?(T=X,this):T},L.unit=function(X){return arguments.length?(w=X,this):w},L.width=function(X){return arguments.length?(P=X,this):P},L}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=function(J,U){if(Array.isArray(J))return J;if(Symbol.iterator in Object(J))return function(V,j){var A=[],P=!0,E=!1,p=void 0;try{for(var o,T=V[Symbol.iterator]();!(P=(o=T.next()).done)&&(A.push(o.value),!j||A.length!==j);P=!0);}catch(w){E=!0,p=w}finally{try{!P&&T.return&&T.return()}finally{if(E)throw p}}return A}(J,U);throw new TypeError("Invalid attempt to destructure non-iterable instance")},G=Object.assign||function(J){for(var U=1;U=0||Object.prototype.hasOwnProperty.call(si,Fi)&&(wr[Fi]=si[Fi]);return wr}(ar,["dates"]),hi=Dn.map(function(si){return{date:new Date(si[nn]),value:+si[bn]}});return Lr.push(G({dates:hi},Or)),Lr},[]),dataByDate:mr,dataRange:Jn}}(yn);Ve=Je.dataByTopic,rn=Je.dataByDate,ln=Je.dataRange;var hn,mn,pn,Zn=Yt?300:0;ft=rt-nt.left-nt.right-Zn,et=it-nt.top-nt.bottom,function(){var or=U.min(Ve,function(ar){var Dn=ar.dates;return U.min(Dn,me)}),dr=U.max(Ve,function(ar){var Dn=ar.dates;return U.max(Dn,me)}),mr=U.max(Ve,function(ar){var Dn=ar.dates;return U.max(Dn,Le)}),Jn=U.min(Ve,function(ar){var Dn=ar.dates;return U.min(Dn,Le)}),Dr=Jn<0?Jn:0;ht=p.scaleTime().domain([or,dr]).rangeRound([0,ft]),z=p.scaleLinear().domain([Dr,Math.abs(mr)]).rangeRound([et,0]).nice();var Lr=(tt=p.scaleOrdinal().range(gt).domain(Ve.map(Ue))).range();Tt=tt.domain().reduce(function(ar,Dn,Or){return ar[Dn]=Lr[Or],ar},{})}(),function(or){F||(F=T.select(or).append("svg").classed("britechart line-chart",!0),function(){var dr=F.append("g").classed("container-group",!0).attr("transform","translate("+nt.left+","+nt.top+")");dr.append("g").classed("x-axis-group",!0).append("g").classed("axis x",!0),dr.selectAll(".x-axis-group").append("g").classed("month-axis",!0),dr.append("g").classed("y-axis-group",!0).append("g").classed("axis y",!0),dr.append("g").classed("grid-lines-group",!0),dr.append("g").classed("chart-group",!0),Yt&&dr.append("g").classed("legend-group",!0),dr.append("g").classed("metadata-group",!0)}()),F.attr("width",rt).attr("height",it)}(this),function(){var or=void 0,dr=void 0;if(Bt==="custom"&&typeof Pt=="string")or={tick:Nt,format:w.timeFormat(Pt)},dr=null;else{var mr=g(rn,rt,Bt,Mt);or=mr.minor,dr=mr.major,K=V.axisBottom(ht).ticks(dr.tick).tickSize(0,0).tickFormat(dr.format)}Q=V.axisBottom(ht).ticks(or.tick).tickSize(10,0).tickPadding(5).tickFormat(or.format),st=V.axisLeft(z).ticks(Ut).tickSize([0]).tickPadding(5).tickFormat(Te),function(Jn,Dr){F.select(".grid-lines-group").selectAll("line").remove(),($e==="horizontal"||$e==="full")&&F.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(z.ticks(Dr)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-xt-30).attr("x2",ft).attr("y1",function(Lr){return z(Lr)}).attr("y2",function(Lr){return z(Lr)}),$e!=="vertical"&&$e!=="full"||F.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(ht.ticks(Jn)).enter().append("line").attr("class","vertical-grid-line").attr("y1",0).attr("y2",et).attr("x1",function(Lr){return ht(Lr)}).attr("x2",function(Lr){return ht(Lr)}),F.select(".grid-lines-group").selectAll("line.extended-x-line").data([0]).enter().append("line").attr("class","extended-x-line").attr("x1",-xt-30).attr("x2",ft).attr("y1",it-nt.bottom-nt.top).attr("y2",it-nt.bottom-nt.top)}(or.tick,Ut)}(),function(){if(F.select(".x-axis-group .axis.x").attr("transform","translate(0, "+et+")").call(Q),Bt!=="custom"&&F.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(et+28)+")").call(K),se){ie&&F.selectAll(".x-axis-label").remove();var or=ft/2,dr=et+28+36;ie=F.select(".x-axis-group").append("text").attr("x",or).attr("y",dr).attr("text-anchor","middle").attr("class","x-axis-label").text(se)}if(F.select(".y-axis-group .axis.y").attr("transform","translate("+-xt+", 0)").call(st).call(Ie),ne){Lt&&F.selectAll(".y-axis-label").remove();var mr=-jt-xt,Jn=-et/2;Lt=F.select(".y-axis-group").append("text").attr("x",Jn).attr("y",mr).attr("text-anchor","middle").attr("transform","rotate(270)").attr("class","y-axis-label").text(ne)}}(),function(){if(ln){var or=o.area().curve(y[Oe]).x(function(dr){var mr=dr.date;return ht(mr)}).y0(function(dr){var mr=dr.min;return z(mr)}).y1(function(dr){var mr=dr.max;return z(mr)});F.select(".chart-group").append("g").attr("class","area").append("path").data([ln]).attr("class","area").attr("d",or)}}(),hn=void 0,mn=void 0,mn=o.line().curve(y[Oe]).x(function(or){var dr=or.date;return ht(dr)}).y(function(or){var dr=or.value;return z(dr)}),hn=F.select(".chart-group").selectAll(".line").data(Ve,Ue),ut=hn.enter().append("g").attr("class","topic").append("path").attr("class","line").merge(hn).attr("id",function(or){return or.topic}).attr("d",function(or){var dr=or.dates;return mn(dr)}).style("stroke",function(or){return dr=or.topic,tt(dr);var dr}).style("opacity",function(or){return or.hasOwnProperty("show")?or.show?1:0:1}).style("stroke-dasharray",function(or){return!!or.hasOwnProperty("show")&&!!or.dashed&&[.5,4]}),hn.exit().remove(),function(){if(Yt){var or=Number.parseInt(ft)+Number.parseInt(nt.right);Wn=F.selectAll(".legend-group").append("g").attr("transform","translate("+or+", 0)").classed("tooltip-text",!0),Mn=Wn.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),Wn.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),fn=Wn.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");var dr=void 0;dr=Ve[0].hasOwnProperty("show")?Ve.filter(function(ar){return ar.show}):Ve;for(var mr=0;mrB&&(Ft||(Ft=F.select(".metadata-group").append("rect").attr("class","overlay").attr("y1",0).attr("y2",it).attr("height",et).attr("width",ft).attr("fill","rgba(0, 0, 0, 0)").style("display","none")),oe||(oe=F.select(".metadata-group").append("g").attr("class","hover-marker vertical-marker-container").attr("transform","translate(9999, 0)"),xe=oe.selectAll("path").data([{x1:0,y1:0,x2:0,y2:0}]).enter().append("line").classed("vertical-marker",!0).attr("x1",0).attr("y1",et).attr("x2",0).attr("y2",0)),F.on("mouseover",function(or){(function(dr,mr){Ft.style("display","block"),xe.classed("bc-is-active",!0),pe.call("customMouseOver",dr,mr,T.mouse(dr))})(this,or)}).on("mouseout",function(or){(function(dr,mr){Ft.style("display","none"),xe.classed("bc-is-active",!1),pe.call("customMouseOut",dr,mr,T.mouse(dr))})(this,or)}).on("mousemove",function(or){var dr,mr,Jn,Dr,Lr,ar,Dn,Or;dr=this,mr=T.mouse(dr),Jn=I(mr,2),Dr=Jn[0],Lr=Jn[1],ar=-nt.left,Dn=wn(Dr+ar),Or=void 0,Dn&&(gn(Or=ht(new Date(Dn.date))),Qe(Dn),pe.call("customMouseMove",dr,Dn,Tt,Or,Lr))})),mt&&function(){F.select(".chart-group").selectAll(".data-points-container").remove();var or=ut.nodes().reduce(function(dr,mr){return dr[mr.id]=mr,dr},{});rn.reduce(function(dr,mr){var Jn=mr.topics.map(function(Dr){return{topic:Dr,node:or[Dr.name]}});return dr=[].concat(q(dr),q(Jn))},[])}(),F.on("touchmove",function(or){(function(dr,mr){pe.call("customTouchMove",dr,mr,T.touch(dr))})(this,or)}),$t&&(pn=wn(ft))&&(gn(ht(new Date(pn.date))),Qe(pn))})}function Ie(Se){Se.selectAll(".tick text").attr("transform","translate(0, -7)")}function Te(Se){var yn=void 0;return yn=L(Se)?u:_,fe&&(yn=E.format(fe)),yn(Se)}function ke(Se){return new Date(Se).toLocaleDateString()}function Ke(Se){var yn,Je,hn=void 0,mn=void 0;yn=Se.topicName,Je=Se.sum.toLocaleString(),mn=fn.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",Qn).style("fill","#000000").style("font-size","12px").text(yn).call(be,200,12,-25),hn=fn.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",Qn).style("fill","#000000").style("font-size","12px").text(Je),Sr=mn.node().getBBox().height?mn.node().getBBox().height:Sr,Sr+5,xn=hn.node().getBBox().width?hn.node().getBBox().width:xn,hn.attr("x",300-xn-75),fn.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",Qn+8).attr("r",5).style("fill",Tt[Se.topic]).style("stroke-width",1),Qn+=Sr+7}function wn(Se){var yn,Je,hn,mn=ht.invert(Se),pn=(0,U.bisector(me).left)(rn,mn,1),Zn=rn[pn],or=rn[pn-1],dr=void 0;return or&&Zn?(yn=mn,Je=Zn,hn=or,dr=new Date(yn).getTime()-new Date(Je.date).getTime()>new Date(hn.date).getTime()-new Date(yn).getTime()?Je:hn):dr=Zn,dr}function be(Se,yn,Je){var hn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Se.each(function(){var mn,pn,Zn,or,dr,mr,Jn;for(mn=(Se=T.select(this)).text().split(/\s+/).reverse(),Zn=[],or=0,dr=Se.attr("y"),mr=parseFloat(Se.attr("dy")),Jn=Se.text(null).append("tspan").attr("x",hn).attr("y",dr).attr("dy",mr+"em");pn=mn.pop();)Zn.push(pn),Jn.text(Zn.join(" ")),f.getTextWidth(Zn.join(" "),Je,"Karla, sans-serif")>yn&&(Zn.pop(),Jn.text(Zn.join(" ")),or<4&&(Zn=[pn],Jn=Se.append("tspan").attr("x",hn).attr("y",dr).attr("dy",1.2*++or+mr+"em").text(pn)))})}function Qe(Se){oe.selectAll(".circle-container").remove();var yn=ut.nodes().reduce(function(mn,pn){return mn[pn.id]=pn,mn},{}),Je=Ve.filter(function(mn){return!mn.show}).map(function(mn){return mn.topicName}),hn=Se.topics.map(function(mn){return{topic:mn,node:yn[mn.name]}}).filter(function(mn){return!!mn.topic}).sort(function(mn,pn){return Tt[mn.topic.name]hi.x+Lr;){var Zr=(Dn+Or)/2;if(hi=Jn.getPointAtLength(Zr),mr0?"+":"")+E.format(ut)(Le)+"%"},se=function(me){var Le=me.parentCount,Ue=me.value;return Le?O(Le)+F:O(Ue)+F},ie=function(me){var Le=me.name;return D(Le)+et*(3/8)};function ne(me){me.each(function(Le){var Ue=v.left+v.right;s=g>600?g-Ue-1.2*gt-100:g-Ue,l=x-v.top-v.bottom;var pe=function(Pe){var Ie=Pe.reduce(function(ke,Ke){return Ke.name=String(Ke[Oe]),Ke.pctOfSet=+Ke.pctOfSet,Ke.pctChange=+Ke[Ve],Ke.value=+Ke[ae],Ke.width=+Ke.width,[].concat(G(ke),[Ke])},[]),Te=Ie.slice();return{data:Ie,dataZeroed:Te}}(Le);y=pe.data,b=pe.dataZeroed,function(){Ut=function(Te,ke){var Ke=Te.length,wn=J.sum(Te,ke),be=oe(Te),Qe=(l-(Ke-1)*tt*l/Ke-2*K*l/Ke)/wn;if(be.length===0)return Qe;var gn=p.scalePow().exponent(1/be.length).domain([0,100]).range([0,10*be.length])(Ke);return Qe-(rn?2*gn:gn)}(y,Lt),Ft=function(Te,ke,Ke){var wn=jt(Te,ke,Ke),be=Te.length,Qe=function(gn,Se){var yn=[];return gn.forEach(function(Je){var hn=Se.map(function(mn,pn){return mn.name===Je||mn.parent===Je?pn:null}).filter(function(mn){return mn});yn.push(hn)}),yn}(oe(Te),Te);return function(gn,Se){var yn=tt*l/be,Je=K*l/be+J.sum(Te.slice(0,Se),ke)*Ke+Se*yn+wn(Se)/2;return Qe.forEach(function(hn){hn[0]>1&&Se>=hn[0]&&(Je+=rn?20:Q),Se>hn[hn.length-1]&&(Je+=rn?20:Q)}),Je+v.top}}(y,Lt,Ut),jt(y,Lt,Ut);var Pe=Math.min(it*U.max(y,bn));O=p.scaleLinear().domain([0,Pe]).rangeRound([0,s]);var Ie=y.map(Ft);D=p.scaleOrdinal().domain(y.map(nn)).range(Ie),_=y.map(function(Te){return Te}).map(function(Te,ke){return{name:Te.name,color:u[ke%u.length]}}),L=function(Te){return _.filter(function(ke){return ke.name===Te})[0].color}}(),st=j.axisBottom(O).ticks(rt,X).tickSizeInner([-l]),xt=j.axisLeft(D),function(Pe){m=Pe,vt||((vt=o.select(Pe).append("svg").classed("britechart row-chart",!0)).append("rect").classed("export-wrapper",!0).attr("width",g).attr("height",x).attr("fill","white"),function(){var Ie=vt.append("g").classed("container-group",!0).attr("transform","translate("+(v.left+gt)+", "+v.top+")");Ie.append("g").classed("chart-group",!0),Ie.append("g").classed("title-group",!0),Ie.append("g").classed("x-axis-group axis",!0),Ie.append("g").attr("transform","translate("+-1*gt+", 0)").classed("y-axis-group axis",!0),Ie.append("g").classed("metadata-group",!0)}()),vt.attr("width",g).attr("height",x)}(this),function(){if(!(!y||!y[0])){var Pe=y[0].parentCount?O(y[0].parentCount):1;Pe=Pe>0?Pe:1;var Ie=y[0].parentCount;vt.select(".title-group").selectAll("g").remove(),vt.select(".title-group").selectAll("text").remove();var Te=window.navigator.userAgent,ke=Te.indexOf("Edge")>-1||Te.indexOf("MSIE")>-1;if(mt&&Ie){for(var Ke=mt+" "+Ie.toLocaleString(),wn=T.getTextWidth(Ke,ht,"sans-serif"),be=rn?100:40,Qe=v.left+Pe-be-0,gn=!1;wn>Qe;)mt=mt.slice(0,-1),gn=!0,Ke=mt+"... "+Ie.toLocaleString(),wn=T.getTextWidth(Ke,ht,"sans-serif");var Se=vt.select(".title-group").append("text").text(null).attr("y",10);mt=gn?mt+"...":mt;var yn=Se.append("tspan").text(mt).attr("font-size",ht);Se.append("tspan").text(Ie.toLocaleString()).classed("count",!0).attr("dx",5).attr("font-size",ht).attr("font-weight",600);var Je=yn.node().getBoundingClientRect().width+10;rn&&ke&&(Je+=40);var hn=Pe-Je-5;Se.attr("x",hn)}if(Yt){var mn=Yt.toLocaleString(),pn=Ot+" "+mn,Zn=T.getTextWidth(pn,ht,"Karla, sans-serif"),or=rn&&ke?10:0,dr=ke?5:0,mr=vt.select(".title-group").append("text").text(null).attr("x",s-Zn-or-10-dr-5).attr("y",10);mr.append("tspan").text(Ot).attr("font-size",ht),mr.append("tspan").text(mn).classed("count",!0).attr("dx",5).attr("font-size",ht).attr("font-weight",600);var Jn=g>600?s-mr.node().getBoundingClientRect().width-10-or:s-mr.node().getBoundingClientRect().width-10;mr.attr("x",Jn)}$t&&g>600&&vt.select(".title-group").append("text").text("Change in past "+$t).attr("font-size",ht).attr("x",s+5).attr("y",10)}}(),function(){var Pe=void 0;Dt?(Wn(Pe=vt.select(".chart-group").selectAll(".row").data(b)),y&&y[0]&&y[0].parentCount&&vt.select(".chart-group").append("line").classed("focus-separator",!0).attr("y1",-10).attr("x1",O(y[0].parentCount)).attr("y2",l+v.top+v.bottom).attr("x2",O(y[0].parentCount)).style("stroke","#e7e8e9").style("stroke-width",1),vt.select(".chart-group").append("line").classed("pct-separator",!0).attr("y1",-10).attr("x1",s).attr("y2",l).attr("x2",s).style("stroke","#000").style("stroke-width",1),function(Ie){Ie.attr("x",0).attr("y",function(Te,ke){return D(Te.name)-Ut*Te.width/2}).attr("height",function(Te){return Ut*Te.width}).attr("fill",function(Te){return L(Te.name)}).attr("width",0).transition().duration(800).ease(Bt).attr("width",function(Te){var ke=Te.value;return O(ke)})}(Pe=vt.select(".chart-group").selectAll(".row rect.pct").data(y))):Wn(Pe=vt.select(".chart-group").selectAll("rect").data(y)),Pe.exit().transition().style("opacity",0).remove()}(),function(){var Pe=v.left;vt.select(".x-axis-group.axis").attr("transform","translate(0, "+l+")").call(st),vt.select(".y-axis-group.axis").call(xt),rn||(vt.selectAll(".y-axis-group.axis .tick").call(cn),Pe=v.left-gt-30),vt.selectAll(".y-axis-group.axis .tick text").classed("child",function(Ie){return y.find(function(Te){return Te.name===Ie}).parent}).classed("print-mode",rn).on("mouseover",fn).on("mouseout",Mn).call($e,Pe).selectAll("tspan").attr("font-size",fe),vt.selectAll(".y-axis-group.axis .tick text").classed("hidden",function(Ie){return y.find(function(Te){return Te.name===Ie}).splitterText}),rn||vt.selectAll(".y-axis-group.axis .tick").classed("expandable",function(Ie){return function(Te,ke){return Te.find(function(Ke){return Ke.name===ke}).hasChildren}(y,Ie)}).call(xn)}(),function(){var Pe=vt.selectAll(".row-wrapper"),Ie=Number(Pe.size())-1,Te=vt.select(".row_"+Ie).select(".bg-hover");if(Te._groups[0]&&Te._groups[0][0]){var ke=Number(Te.attr("y"))+Number(Te.attr("height"))+40;vt.select("line.pct-separator").attr("y2",ke),vt.select(".export-wrapper").attr("height",ke),vt.attr("height",ke)}}()})}function Lt(me){return+me.width}function jt(me,Le,Ue){return function(pe){return Le(me[pe])*Ue}}var Ut=void 0,Ft=void 0;function oe(me){return[].concat(G(new Set(me.filter(function(Le){return Le.parent&&Le.isParent===!1}).map(function(Le){return Le.parent}))))}function xe(me){return y.find(function(Le){return(Le.name===me.name||Le.name===me)&&Le.isParent})}function fe(me){return xe(me)?et+"px":ht+"px"}function $e(me,Le){if(le){var Ue=Tt>1?.8:1.2;T.wrapTextWithEllipses(me,Le,0,Tt,Ue)}}function cn(me){me.each(function(){var Le=(me=o.select(this)).node().getBBox().height/2,Ue=me.append("svg").attr("class",function(pe){var Pe;return(Pe=pe,y.find(function(Ie){return Ie.name===Pe})).splitterText?"hidden":"visibility visibility-"+Qn(pe)}).attr("x",30-v.left).attr("y",-Le).attr("width","300").attr("height","300").attr("viewBox","0 0 600 600").attr("fill","none").attr("opacity",0);Ue.append("rect").attr("x",-10).attr("y",-10).attr("height","50").attr("width","50").attr("fill","#d6e8fa").on("mouseover",fn).on("mouseout",Mn),Ue.append("path").attr("d","M 10,10 L 30,30 M 30,10 L 10,30").attr("stroke","#0072ce").attr("stroke-width","2")})}function xn(me){me.each(function(){o.select(this).selectAll("polygon").remove(),(me=o.select(this)).append("polygon").attr("transform",function(Le){return y.find(function(Ue){return Ue.parent===Le})?"translate("+(gt-5)+", 2.5) rotate(180)":"translate("+(gt-15)+", -2.5)"}).attr("points",function(Le){return"0,0 10,0 5,5"}).style("fill",function(Le){return"#0072ce"}).style("fill-opacity",function(Le){return y.find(function(Ue){return Ue.name===Le&&Ue.hasChildren})?1:0})})}function Wn(me){var Le=me.enter().append("g").attr("class",function(ke,Ke){return"row_"+Ke+" row-wrapper"}),Ue=Le.filter(function(ke){return ke.splitterText});Le.append("rect").attr("class","bg").on("click",function(ke){Sr(this,ke,s,l)}).attr("x",0).attr("y",function(ke,Ke){return D(ke.name)-Ut*ke.width/2}).attr("height",function(ke){return Ut*ke.width}).attr("width",s).attr("fill",function(ke){return ke.splitterText?"#fff":Nt}),Le.append("rect").attr("class","bg-hover").attr("x",-v.left).attr("y",function(ke,Ke){return D(ke.name)-Ut*ke.width/2}).attr("width",g).attr("height",function(ke){return Ut*ke.width}).on("mouseover",fn).on("mouseout",Mn).attr("fill-opacity",0).attr("fill",function(ke){return ke.splitterText?"#fff":"#d6e8fa"}),Le.append("rect").attr("class","focus-bar").attr("x",0).attr("y",function(ke,Ke){return D(ke.name)-Ut*ke.width/2}).attr("height",function(ke){return Ut*ke.width}).attr("width",function(ke){var Ke=ke.parentCount;return Ke?O(Ke):0}).attr("fill","#e7e8e9").attr("fill-opacity",function(ke){return ke.parent?.5:1}),Le.append("rect").attr("class","pct").on("mouseover",function(ke,Ke,wn){(function(be,Qe,gn,Se,yn){if(!Qe.splitterText){ln.call("customMouseOver",be,Qe,o.mouse(be),[Se,yn]),fn(Qe),Je=o.select(be),Je.attr("fill",function(hn){var mn=hn.name;return mn?A.color(L(mn)).darker():""});var Je}})(this,ke,0,s,l)}).on("mousemove",function(ke){(function(Ke,wn,be,Qe){wn.splitterText||ln.call("customMouseMove",Ke,wn,o.mouse(Ke),[be,Qe])})(this,ke,s,l)}).on("mouseout",function(ke,Ke,wn){(function(be,Qe,gn,Se,yn){Qe.splitterText||(ln.call("customMouseOut",be,Qe,o.mouse(be),[Se,yn]),Mn(Qe),gn.forEach(function(Je){o.select(Je).attr("fill",function(hn){var mn=hn.name;return mn?L(mn):""})}))})(this,ke,wn,s,l)}).on("click",function(ke){Sr(this,ke,s,l)}).attr("x",0).attr("y",function(ke,Ke){return D(ke.name)-Ut*ke.width/2}).attr("height",function(ke){return Ut*ke.width}).attr("width",function(ke){var Ke=ke.value;return O(Ke)}).attr("fill",function(ke){return L(ke.name)}).attr("fill-opacity",function(ke){return ke.parent?.5:1});var pe=o.select(".chart-group .bg");if(ct&&pe.node()){var Pe=pe.node().getBBox().x||pe.node().getBoundingClientRect().width;Le.append("text").attr("class","percentage-label").classed("child",function(ke){return!xe(ke)}).attr("x",se).attr("y",ie).text(function(ke){return function(Ke,wn){var be=Ke.isNotFilter,Qe=Ke.pctOfSet,gn=Ke.parent,Se=Ke.value,yn=Ke.isParent;if(!Ke.splitterText){var Je="";if(be)return"";Qe&&!gn&&g>600&&(Je=" | "+Qe+"%"),Number(Se)===1&&(ft=ft.replace(/s$/,""));var hn=E.format(ut)(Se)+" "+ft+Je,mn=yn?et:ht,pn=T.getTextWidth(hn,mn,"sans-serif")+10,Zn=O(Se);return pn>Zn&&pn>wn-Zn?E.format(ut)(Se):hn}}(ke,Pe)}).attr("font-size",fe).attr("fill",function(ke,Ke){var wn=O(ke.value),be=Le.selectAll("text")._groups[Ke][0].getComputedTextLength()+10;return Pe>0&&Pe-wn0&&Pe-wn600){var Te=Le.append("g").attr("transform","translate("+(s+10)+", 0)").attr("class","change-label-group");Te.append("text").attr("y",ie).attr("font-size",fe).attr("font-weight","600").style("fill",function(ke){return ke.pctChange===0||isNaN(ke.pctChange)?"#919395":ke.pctChange>0?Mt:Pt}).text(un),Te.append("polygon").attr("transform",function(ke){var Ke=ie(ke);return xe(ke)?ke.pctChange<0?"translate(65, "+(Ke+5)+") rotate(180) scale(1.5)":"translate(50, "+(Ke-15)+") scale(1.5)":ke.pctChange<0?"translate(50, "+(Ke+5)+") rotate(180)":"translate(40, "+(Ke-10)+")"}).attr("points",function(ke){return"2,8 2,13 8,13 8,8 10,8 5,0 0,8"}).style("fill",function(ke){return ke.pctChange>0?Mt:Pt}).attr("class",function(ke){return ke.pctChange<0?"down":"up"}).attr("fill-opacity",function(ke){var Ke=ke.pctChange;return isNaN(Ke)||Ke===0?0:1})}}function fn(me,Le){if(!me.splitterText){var Ue=Le;typeof me.name!="string"&&typeof me!="string"||(Ue=me.name?Qn(me.name):Qn(me)),o.select(m).select(".tick svg.visibility-"+Ue).attr("opacity",1),o.select(m).select("g.row_"+Ue+" .bg-hover").attr("fill-opacity",1)}}function Mn(me,Le){if(!me.splitterText){var Ue=Le;typeof me.name!="string"&&typeof me!="string"||(Ue=me.name?Qn(me.name):Qn(me)),o.select(m).select(".tick svg.visibility-"+Ue).attr("opacity",0),o.select(m).select("g.row_"+Ue+" .bg-hover").attr("fill-opacity",0)}}function Qn(me){return y.findIndex(function(Le){return Le.name===me})}function Sr(me,Le,Ue,pe){ln.call("customClick",me,Le,o.mouse(me),[Ue,pe])}return ne.backgroundColor=function(me){return arguments.length?(Nt=me,this):Nt},ne.upArrowColor=function(me){return arguments.length?(Mt=me,this):Mt},ne.downArrowColor=function(me){return arguments.length?(Pt=me,this):Pt},ne.colorSchema=function(me){return arguments.length?(u=me,this):u},ne.enableLabels=function(me){return arguments.length?(ct=me,this):ct},ne.enableYAxisRight=function(me){return arguments.length?(B=me,this):B},ne.exportChart=function(me,Le){w.call(ne,vt,me,Le)},ne.height=function(me){return arguments.length?(x=me,this):x},ne.isAnimated=function(me){return arguments.length?(Dt=me,this):Dt},ne.labelsMargin=function(me){return arguments.length?(F=me,this):F},ne.labelsNumberFormat=function(me){return arguments.length?(ut=me,this):ut},ne.labelsSuffix=function(me){return arguments.length?(ft=me,this):ft},ne.labelsSize=function(me){return arguments.length?(et=me,this):et},ne.labelsSizeChild=function(me){return arguments.length?(ht=me,this):ht},ne.pctChangeLabelSize=function(me){return arguments.length?(z=me,this):z},ne.loadingState=function(me){return arguments.length?(R=me,this):R},ne.margin=function(me){return arguments.length?(v=I({},v,me),this):v},ne.nameLabel=function(me){return arguments.length?(Oe=me,this):Oe},ne.numberFormat=function(me){return arguments.length?(X=me,this):X},ne.on=function(){var me=ln.on.apply(ln,arguments);return me===ln?ne:me},ne.percentageAxisToMaxRatio=function(me){return arguments.length?(it=me,this):it},ne.isPrintMode=function(me){return arguments.length?(rn=me,this):rn},ne.outerPadding=function(me){return arguments.length?(K=me,this):K},ne.padding=function(me){return arguments.length?(tt=me,this):tt},ne.paddingBetweenGroups=function(me){return arguments.length?(Q=me,this):Q},ne.pctChangeLabel=function(me){return arguments.length?(Ve=me,this):Ve},ne.yAxisLineWrapLimit=function(me){return arguments.length?(Tt=me,this):Tt},ne.labelsFocusTitle=function(me){return arguments.length?(mt=me,this):mt},ne.labelsTotalCount=function(me){return arguments.length?(Yt=me,this):Yt},ne.labelsTotalText=function(me){return arguments.length?(Ot=me,this):Ot},ne.labelsInterval=function(me){return arguments.length?($t=me,this):$t},ne.valueLabel=function(me){return arguments.length?(ae=me,this):ae},ne.width=function(me){return arguments.length?(g=me,this):g},ne.xTicks=function(me){return arguments.length?(rt=me,this):rt},ne.yAxisPaddingBetweenChart=function(me){return arguments.length?(gt=me,this):gt},ne.yTicks=function(me){return arguments.length?(nt=me,this):nt},ne.wrapLabels=function(me){return arguments.length?(le=me,this):le},ne}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W){At.exports=Z},function(At,W,c){"use strict";var C,I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},G=function(q,J){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return function(U,V){var j=[],A=!0,P=!1,E=void 0;try{for(var p,o=U[Symbol.iterator]();!(A=(p=o.next()).done)&&(j.push(p.value),!V||j.length!==V);A=!0);}catch(T){P=!0,E=T}finally{try{!A&&o.return&&o.return()}finally{if(P)throw E}}return j}(q,J);throw new TypeError("Invalid attempt to destructure non-iterable instance")};(C=function(q){var J=c(11),U=c(9),V=c(2),j=(c(8),c(28)),A=c(35).axisTimeCombinations,P=c(24),E=P.formatIntegerValue,p=P.formatDecimalValue,o=P.isInteger,T=c(26).getTextWidth;return function(){var w=2,f=2,S=2,v=2,m="Tooltip title",g=!0,x=void 0,R={y:-55,x:0},y=void 0,b=void 0,s=void 0,l=void 0,O=48,D=0,u=37,_=void 0,L=void 0,nt=J.easeQuadInOut,rt=void 0,it="date",X="value",ct="name",B="topics",F=A.DAY_MONTH,ut=null,ft=null,et=[],ht=null,z=null,tt=j.timeFormat("%b %d, %Y"),Q=j.timeFormat("%b %d, %I %p"),K=void 0,st=void 0;function xt(Mt){Mt.each(function(mt){250-v-f,45-w-S,function(Ot){st||((st=V.select(Ot).append("g").classed("britechart britechart-tooltip",!0).style("visibility","hidden")).append("g").classed("tooltip-container-group select-disable",!0).attr("transform","translate( "+v+", "+w+")").append("g").classed("tooltip-group",!0),y=st.selectAll(".tooltip-group").append("g").classed("tooltip-text",!0),x=y.append("rect").classed("tooltip-text-container",!0).attr("x",-54.5).attr("y",0).attr("width",250).attr("height",O).attr("rx",3).attr("ry",3).style("fill","#FFFFFF").style("stroke","#D2D6DF").style("stroke-width",1),l=y.append("text").classed("tooltip-title",!0).attr("x",-46.5).attr("dy",".35em").attr("y",16).style("fill","#6D717A"),b=y.append("line").classed("tooltip-divider",!0).attr("x1",-46.5).attr("x2",265).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),s=y.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35")),st.transition().attr("width",250).attr("height",45),xt.hide()}(this)})}function gt(Mt){var mt=Mt[X];return Mt.missingValue?"-":function(Ot){if(z!==null)return z(Ot);var Yt=p;return Ot?(ht!==null?Yt=U.format(ht):o(Ot)&&(Yt=E),Yt(Ot)):0}(mt).toString()}function Tt(Mt){var mt,Ot,Yt=Mt[ct],$t=void 0,ae=void 0;mt=Mt.topicName||Yt,Ot=gt(Mt),ae=s.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",D).attr("y",u).style("fill","#000000").text(mt).call(Bt,170,-25),$t=s.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",D).attr("y",u).style("fill","#000000").text(Ot),_=ae.node().getBBox().height?ae.node().getBBox().height:_,O+=_+5,L=$t.node().getBBox().width?$t.node().getBBox().width:L,$t.attr("x",250-L-10-62.5),s.append("circle").classed("tooltip-circle",!0).attr("cx",-39.5).attr("cy",u+8).attr("r",5).style("fill",rt[Yt]).style("stroke-width",1),u+=_+7}function vt(Mt,mt,Ot){var Yt,$t,ae=(Yt=G([mt,Ot],2),$t=Yt[0],Yt[1],[$t-250<0?65:-205,R.y]),le=G(ae,2),Oe=le[0],Ve=le[1];x.attr("width",250).attr("height",O+10),y.transition().duration(100).ease(nt).attr("transform","translate("+Oe+", "+Ve+")"),b.attr("x2",190)}function Dt(Mt){var mt=m,Ot=function(Yt){var $t=ut||F,ae=null,le={month:"short",day:"numeric"};return $t===A.DAY_MONTH||$t===A.MONTH_YEAR?(ae=tt,le.year="numeric"):$t===A.HOUR_DAY||$t===A.MINUTE_HOUR?(ae=Q,le.hour="numeric"):$t===A.CUSTOM&&typeof ft=="string"&&(ae=j.timeFormat(ft)),K&&typeof Intl!="undefined"&&(typeof Intl=="undefined"?"undefined":I(Intl))==="object"&&Intl.DateTimeFormat?Intl.DateTimeFormat(K,le).format(Yt):ae(Yt)}(new Date(Mt[it]));mt.length?g&&(mt=mt+" - "+Ot):mt=Ot,l.text(mt)}function Bt(Mt,mt){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Mt.each(function(){var Yt,$t,ae,le,Oe,Ve,rn;for(Yt=(Mt=V.select(this)).text().split(/\s+/).reverse(),ae=[],le=0,Oe=Mt.attr("y"),Ve=parseFloat(Mt.attr("dy")),rn=Mt.text(null).append("tspan").attr("x",Ot).attr("y",Oe).attr("dy",Ve+"em");$t=Yt.pop();)ae.push($t),rn.text(ae.join(" ")),T(ae.join(" "),16,"Karla, sans-serif")>mt&&(ae.pop(),rn.text(ae.join(" ")),le<2&&(ae=[$t],rn=Mt.append("tspan").attr("x",Ot).attr("y",Oe).attr("dy",1.2*++le+Ve+"em").text($t)))})}function Nt(Mt){var mt=Mt[B];et.length?mt=function(Ot){var Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:et;return Yt.map(function($t){return Ot.filter(function(ae){return ae.name===$t})[0]})}(mt):mt.length&&mt[0].name&&(mt=function(Ot){return Ot.map(function(Yt){return Yt}).sort(function(Yt,$t){return Yt.name>$t.name?1:Yt.name===$t.name?0:-1})}(mt)),s.selectAll("text").remove(),s.selectAll("circle").remove(),Dt(Mt),O=48,u=37,D=0,mt.forEach(Tt)}function Pt(Mt,mt,Ot){Nt(Mt),vt(0,mt,Ot)}return xt.axisTimeCombinations=A,xt.dateFormat=function(Mt){return arguments.length?(ut=Mt,this):ut||F},xt.dateCustomFormat=function(Mt){return arguments.length?(ft=Mt,this):ft},xt.dateLabel=function(Mt){return arguments.length?(it=Mt,this):it},xt.hide=function(){return st.style("visibility","hidden"),this},xt.locale=function(Mt){return arguments.length?(K=Mt,this):K},xt.nameLabel=function(Mt){return arguments.length?(ct=Mt,this):ct},xt.numberFormat=function(Mt){return arguments.length?(ht=Mt,this):ht},xt.valueFormatter=function(Mt){return arguments.length?(z=Mt,this):z},xt.shouldShowDateInTitle=function(Mt){return arguments.length?(g=Mt,this):g},xt.show=function(){return st.style("visibility","visible"),this},xt.title=function(Mt){return arguments.length?(m=Mt,this):m},xt.tooltipOffset=function(Mt){return arguments.length?(R=Mt,this):R},xt.topicsOrder=function(Mt){return arguments.length?(et=Mt,this):et},xt.topicLabel=function(Mt){return arguments.length?(B=Mt,this):B},xt.update=function(Mt,mt,Ot){var Yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return rt=mt,Pt(Mt,Ot,Yt),this},xt.valueLabel=function(Mt){return arguments.length?(X=Mt,this):X},xt}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=function(G,q){if(Array.isArray(G))return G;if(Symbol.iterator in Object(G))return function(J,U){var V=[],j=!0,A=!1,P=void 0;try{for(var E,p=J[Symbol.iterator]();!(j=(E=p.next()).done)&&(V.push(E.value),!U||V.length!==U);j=!0);}catch(o){A=!0,P=o}finally{try{!j&&p.return&&p.return()}finally{if(A)throw P}}return V}(G,q);throw new TypeError("Invalid attempt to destructure non-iterable instance")};(C=function(G){var q=c(0),J=c(11),U=c(9),V=c(2);return c(8),function(){var j=12,A=12,P=12,E=12,p="",o="value",T="name",w=J.easeQuadInOut,f=void 0,S=void 0,v=0,m=20,g=".2f",x=function(_){return U.format(g)(_)},R=void 0,y=void 0,b=void 0;function s(_){_.each(function(){R=100-E-A,y=100-j-P,function(L){b||(b=V.select(L).append("g").classed("britechart britechart-mini-tooltip",!0)).append("g").classed("tooltip-container-group",!0).attr("transform","translate( "+E+", "+j+")").append("g").classed("tooltip-group",!0),b.transition().attr("width",100).attr("height",100),s.hide()}(this),S=b.selectAll(".tooltip-group").append("g").classed("tooltip-text select-disable",!0),f=S.append("rect").classed("tooltip-background",!0).attr("width",100).attr("height",100).attr("rx",1).attr("ry",1).attr("y",-j).attr("x",-E).style("fill","#43484e").style("stroke","#43484e").style("stroke-width",1).style("pointer-events","none").style("opacity",.9)})}function l(){for(var _=arguments.length,L=Array(_),nt=0;nt<_;nt++)L[nt]=arguments[nt];var rt=L.filter(function(it){return!!it}).map(function(it){return it.node().getBBox().width});return q.max(rt)}function O(_,L){var nt=I(_,2),rt=nt[0],it=nt[1],X=I(L,2),ct=X[0],B=X[1];return[function(F,ut){return F-E-A-R-ut>0}(ct,rt)?rt+m:rt-R-m-A,function(F,ut){return F-j-P-y-ut>0}(B,it)?it+v:it-y-v-P]}function D(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=_[o]||"",nt=_[T]||"",rt=21,it=22*1.18,X="1em",ct=0,B=void 0,F=void 0,ut=void 0;S.selectAll("text").remove(),p&&(ut=S.append("text").classed("mini-tooltip-title",!0).attr("dy",X).attr("y",0).style("fill","#43484e").style("font-size",14).text(p),ct=rt+ct),nt&&(F=S.append("text").classed("mini-tooltip-name",!0).attr("dy",X).attr("y",ct||0).style("fill","#ffffff").style("font-size",14).text(nt),ct=rt+ct),L&&(B=S.append("text").classed("mini-tooltip-value",!0).attr("dy",X).attr("y",ct||0).style("fill","#ffffff").style("font-size",22).style("font-weight",200).text(x(L)),ct=it+ct),R=l(F,ut,B),y=ct}function u(_,L,nt){var rt,it,X,ct;D(_),rt=O(L,nt),it=I(rt,2),X=it[0],ct=it[1],b.transition().duration(100).ease(w).attr("height",y+j+P).attr("width",R+E+A).attr("transform","translate("+X+","+ct+")"),f.attr("height",y+j+P).attr("width",R+E+A)}return s.hide=function(){return b.style("visibility","hidden"),this},s.nameLabel=function(_){return arguments.length?(T=_,this):T},s.numberFormat=function(_){return arguments.length?(g=_,this):g},s.valueFormatter=function(_){return arguments.length?(x=_,this):x},s.show=function(){var _;return D(_),b.style("visibility","visible"),this},s.title=function(_){return arguments.length?(p=_,this):p},s.update=function(_,L,nt){return u(_,L,nt),this},s.valueLabel=function(_){return arguments.length?(o=_,this):o},s}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(G){for(var q=1;qGt[ce]?-1:Gt[ue]===Gt[ce]?0:1}),Vt=_t.indexOf("Other");if(Vt>=0){var te=_t.splice(Vt,1);_t=_t.concat(te)}return _t}(dt);var Rt=o.stack().keys(Ot).order(o.stackOrderNone).offset(o.stackOffsetNone);nn=Rt(Qn),rn=Rt(Mn)}(),wr=Te?Ie.maxY:(Fi=ct(Wn.map(function(qe){return qe.name})),V.max(Mn,function(qe){var dt=Fi.map(function(Rt){return qe[Rt]});return V.sum(dt)})),et=p.scaleTime().domain(V.extent(fn,function(qe){return qe.date})).rangeRound([0,cn]),tt=p.scaleLinear().domain([0,wr]).rangeRound([xn,0]).nice(),Mt=Ot.reduce(function(qe,dt,Rt){return f({},qe,J({},dt,vt[Rt]))},{}),Kt=ct(Wn.map(function(qe){return qe.name})),ye={},Kt.forEach(function(qe){var dt=Wn.find(function(Rt){return Rt.name===qe});dt.hasOwnProperty("show")?ye[qe]=dt.show:ye[qe]=!0}),mt=ye,function(qe){$e||(($e=T.select(qe).append("svg").classed("britechart stacked-area",!0)).append("rect").classed("export-wrapper",!0).attr("width",F).attr("height",ut).attr("fill","white"),function(){var dt=$e.append("g").classed("container-group",!0).attr("transform","translate("+B.left+","+B.top+")");dt.append("g").classed("x-axis-group",!0).append("g").classed("x axis",!0),dt.selectAll(".x-axis-group").append("g").classed("month-axis",!0),dt.append("g").classed("y-axis-group axis",!0),dt.append("g").classed("grid-lines-group",!0),dt.append("g").classed("y-axis-label",!0),dt.append("g").classed("chart-group",!0),oe&&dt.append("g").classed("legend-group",!0),dt.append("g").classed("metadata-group",!0)}()),$e.attr("width",F).attr("height",ut)}(this),function(){var qe=void 0,dt=void 0;if($t==="custom"&&typeof le=="string")qe={tick:ae,format:w.timeFormat(le)},dt=null;else{var Rt=g(fn,F,$t,Oe);qe=Rt.minor,dt=Rt.major,z=j.axisBottom(et).ticks(dt.tick).tickSize(0,0).tickFormat(dt.format)}ht=j.axisBottom(et).ticks(qe.tick).tickSize(10,0).tickPadding(5).tickFormat(qe.format),Q=j.axisRight(tt).ticks(st).tickSize([0]).tickPadding(5).tickFormat(pn),function(Gt,_t){$e.select(".grid-lines-group").selectAll("line").remove(),(Sr==="horizontal"||Sr==="full")&&$e.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(tt.ticks(_t)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-Le-30).attr("x2",cn).attr("y1",function(Vt){return tt(Vt)}).attr("y2",function(Vt){return tt(Vt)}),Sr!=="vertical"&&Sr!=="full"||$e.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(et.ticks(Gt)).enter().append("line").attr("class","vertical-grid-line").attr("y1",0).attr("y2",xn).attr("x1",function(Vt){return et(Vt)}).attr("x2",function(Vt){return et(Vt)}),$e.select(".grid-lines-group").selectAll("line.extended-x-line").data([0]).enter().append("line").attr("class","extended-x-line").attr("x1",-Le-30).attr("x2",cn).attr("y1",ut-B.bottom-B.top).attr("y2",ut-B.bottom-B.top)}(qe.tick,st)}(),function(){$e.select(".x-axis-group .axis.x").attr("transform","translate( 0, "+xn+" )").call(ht),$t!=="custom"&&$e.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(xn+30)+")").call(z),$e.select(".y-axis-group.axis").attr("transform","translate( "+-Le+", 0)").call(Q).call(Zn),xt&&(gt&&$e.selectAll(".y-axis-label-text").remove(),gt=$e.select(".y-axis-label").append("text").classed("y-axis-label-text",!0).attr("x",-xn/2).attr("y",Tt).attr("text-anchor","middle").attr("transform","rotate(270 0 0)").text(xt))}(),function(){if(ln&&($e.selectAll(".layer-container").remove(),$e.selectAll(".layer").remove(),$e.selectAll(".area-outline").remove()),Te)return qe=o.line().x(function(Rt){return et(Rt.date)}).y(function(){return tt(0)-1}),(dt=$e.select(".chart-group")).append("path").attr("class","empty-data-line").attr("d",qe(Mn)).style("stroke","url(#empty-data-line-gradient)"),void dt.append("linearGradient").attr("id","empty-data-line-gradient").attr("gradientUnits","userSpaceOnUse").attr("x1",0).attr("x2",et(Wn[Wn.length-1].date)).attr("y1",0).attr("y2",0).selectAll("stop").data([{offset:"0%",color:Dt[0]},{offset:"100%",color:Dt[1]}]).enter().append("stop").attr("offset",function(Rt){return Rt.offset}).attr("stop-color",function(Rt){return Rt.color});var qe,dt;bn=o.area().curve(y[Ve]).x(function(Rt){var Gt=Rt.data;return et(Gt.date)}).y0(function(Rt){return tt(Rt[0])}).y1(function(Rt){return tt(Rt[1])}),un=o.line().curve(bn.curve()).x(function(Rt){var Gt=Rt.data;return et(Gt.date)}).y(function(Rt){return tt(Rt[1])}),Ft?((ln=$e.select(".chart-group").selectAll(".layer").data(nn,Se).enter().append("g").classed("layer-container",!0)).append("path").attr("class","layer").attr("d",bn).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0}).style("fill",function(Rt){var Gt=Rt.key;return Mt[Gt]}),ln.append("path").attr("class","area-outline").attr("d",un).style("stroke",function(Rt){var Gt=Rt.key;return Mt[Gt]}).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0}),$e.select(".chart-group").selectAll(".layer").data(rn).transition().delay(function(Rt,Gt){return se[Gt]}).duration(1e3).ease(xe).attr("d",bn).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0}).style("fill",function(Rt){var Gt=Rt.key;return Mt[Gt]}),$e.select(".chart-group").selectAll(".area-outline").data(rn).transition().delay(function(Rt,Gt){return se[Gt]}).duration(1e3).ease(xe).attr("d",un).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0})):((ln=$e.select(".chart-group").selectAll(".layer").data(rn).enter().append("g").classed("layer-container",!0)).append("path").attr("class","layer").attr("d",bn).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0}).style("fill",function(Rt){var Gt=Rt.key;return Mt[Gt]}),ln.append("path").attr("class","area-outline").attr("d",un).style("stroke",function(Rt){var Gt=Rt.key;return Mt[Gt]}).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0}),$e.select(".chart-group").selectAll(".layer").attr("d",bn).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0}).style("fill",function(Rt){var Gt=Rt.key;return Mt[Gt]}),$e.select(".chart-group").selectAll(".area-outline").attr("class","area-outline").attr("d",un).style("stroke",function(Rt){var Gt=Rt.key;return Mt[Gt]}).style("opacity",function(Rt){var Gt=Rt.key;return mt[Gt]?Pt:0})),fe||$e.select(".chart-group").selectAll(".area-outline").style("display","none"),ln.exit().transition().style("opacity",0).remove()}(),function(){if(oe){var qe=Number.parseInt(cn)+Number.parseInt(B.right);Ke=$e.selectAll(".legend-group").append("g").attr("transform","translate("+qe+", 0)").classed("tooltip-text",!0),be=Ke.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),Ke.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),wn=Ke.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");for(var dt=[].concat(q(new Set(Wn.map(function(_e){return _e.name})))),Rt=[],Gt=function(_e){var Ye={},Be=dt[_e];Ye.name=Be,Ye.sum=Wn.filter(function(Ze){return Ze.name===dt[_e]}).reduce(function(Ze,En){return Ze+En.value},0),Rt.push(Ye)},_t=0;_tme&&!Te&&(function(){ie&&$e.selectAll(".overlay").remove(),ie=$e.select(".metadata-group").append("rect").attr("class","overlay").attr("y1",0).attr("y2",xn).attr("height",xn).attr("width",cn).attr("fill","rgba(0, 0, 0, 0)").style("display","none")}(),function(){ne&&$e.selectAll(".vertical-marker-container").remove(),ne=$e.select(".metadata-group").append("g").attr("class","vertical-marker-container").attr("transform","translate(9999, 0)"),Lt=ne.selectAll("path").data([{x1:0,y1:0,x2:0,y2:0}]).enter().append("line").classed("vertical-marker",!0).attr("x1",0).attr("y1",xn).attr("x2",0).attr("y2",0)}(),$e.on("mouseover",function(qe){(function(dt,Rt){ie.style("display","block"),Lt.classed("bc-is-active",!0),Je.call("customMouseOver",dt,Rt,T.mouse(dt))})(this,qe)}).on("mouseout",function(qe){(function(dt,Rt){ie.style("display","none"),Lt.classed("bc-is-active",!1),Je.call("customMouseOut",dt,Rt,T.mouse(dt))})(this,qe)}).on("mousemove",function(qe){(function(dt){jt||Dr();var Rt=T.mouse(dt),Gt=G(Rt,2),_t=Gt[0],Vt=Gt[1],te=Jn(_t-B.left),ue=void 0;te&&(ar(ue=et(new Date(te.key))),Lr(te),Je.call("customMouseMove",dt,te,Mt,ue,Vt))})(this)})),Ut&&function(){jt||Dr();var qe=Jn(cn);qe&&(ar(et(new Date(qe.key))),Lr(qe))}()})}function mn(){$e.on("touchmove",function(Dn){(function(Or,hi){Je.call("customTouchMove",Or,hi,T.touch(Or))})(this,Dn)})}function pn(Dn){return(O(Dn)?s:l)(Dn)}function Zn(Dn){Dn.selectAll(".tick text").attr("transform","translate(-20, -8)")}function or(Dn){return new Date(Dn).toLocaleDateString()}function dr(Dn){var Or,hi,si=void 0,Zr=void 0;Or=Dn.name,hi=Dn.sum.toLocaleString(),Zr=wn.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",Qe).style("fill","#000000").style("font-size","12px").text(Or).call(mr,200,12,-25),si=wn.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",Qe).style("fill","#000000").style("font-size","12px").text(hi),gn=Zr.node().getBBox().height?Zr.node().getBBox().height:gn,gn+5,ke=si.node().getBBox().width?si.node().getBBox().width:ke,si.attr("x",300-ke-75),wn.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",Qe+8).attr("r",5).style("fill",Mt[Dn.name]).style("stroke-width",1),Qe+=gn+7}function mr(Dn,Or,hi){var si=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Dn.each(function(){var Zr,wr,Fi,Kt,ye,ze,qe;for(Zr=(Dn=T.select(this)).text().split(/\s+/).reverse(),Fi=[],Kt=0,ye=Dn.attr("y"),ze=parseFloat(Dn.attr("dy")),qe=Dn.text(null).append("tspan").attr("x",si).attr("y",ye).attr("dy",ze+"em");wr=Zr.pop();)Fi.push(wr),qe.text(Fi.join(" ")),S.getTextWidth(Fi.join(" "),hi,"Karla, sans-serif")>Or&&(Fi.pop(),qe.text(Fi.join(" ")),Kt<4&&(Fi=[wr],qe=Dn.append("tspan").attr("x",si).attr("y",ye).attr("dy",1.2*++Kt+ze+"em").text(wr)))})}function Jn(Dn){var Or=fn.filter(function(hi){var si=hi.date;return Math.abs(et(si)-Dn)<=jt});if(Or.length)return Or[0]}function Dr(){var Dn=fn.map(function(Or){return Or.date});jt=(et(Dn[1])-et(Dn[0]))/2}function Lr(Dn){var Or=Dn.values,hi=0;ne.selectAll(".circle-container").remove(),Or=Or.filter(function(Zr){return!!Zr});var si=Ot.reduce(function(Zr,wr){return[].concat(q(Zr),[Or.find(function(Fi){return Fi.name===wr})])},[]);si.forEach(function(Zr,wr){var Fi=ne.append("g").classed("circle-container",!0).append("circle").classed("data-point-highlighter",!0).attr("cx",12).attr("cy",0).attr("r",5).style("stroke-width",1.2).style("stroke",Mt[Zr.name]).style("opacity",function(Kt){var ye=Kt.key;return mt[ye]?Pt:0}).style("cursor","pointer").on("click",function(){(function(Kt){Bt||(Bt=u($e.select(".metadata-group")),Nt=_(Bt));var ye=T.select(Kt);ye.style("stroke-width",5).style("stroke-opacity",.6).attr("filter","url(#"+Nt+")"),L(ye,xe,7)})(this),function(Kt,ye){Je.call("customDataEntryClick",Kt,ye,T.mouse(Kt))}(this,Zr)}).on("mouseout",function(){var Kt;Kt=this,T.select(Kt).attr("filter","none")});hi+=si[wr][pe],Fi.attr("transform","translate( -12, "+tt(hi)+" )")})}function ar(Dn){ne.attr("transform","translate("+Dn+",0)")}return hn.areaCurve=function(Dn){return arguments.length?(Ve=Dn,this):Ve},hn.areaOpacity=function(Dn){return arguments.length?(Pt=Dn,this):Pt},hn.aspectRatio=function(Dn){return arguments.length?(K=Dn,this):K},hn.axisTimeCombinations=R,hn.colorSchema=function(Dn){return arguments.length?(vt=Dn,this):vt},hn.dateLabel=function(Dn){return arguments.length?(Ue=Dn,this):Ue},hn.emptyDataConfig=function(Dn){return arguments.length?(Ie=Dn,this):Ie},hn.grid=function(Dn){return arguments.length?(Sr=Dn,this):Sr},hn.hasOutline=function(Dn){return arguments.length?(fe=Dn,this):fe},hn.height=function(Dn){return arguments.length?(K&&(F=Math.ceil(Dn/K)),ut=Dn,this):ut},hn.initializeVerticalMarker=function(Dn){return arguments.length?(Ut=Dn,this):Ut},hn.isAnimated=function(Dn){return arguments.length?(Ft=Dn,this):Ft},hn.isPrintMode=function(Dn){return arguments.length?(oe=Dn,this):oe},hn.keyLabel=function(Dn){return arguments.length?(Pe=Dn,this):Pe},hn.margin=function(Dn){return arguments.length?(B=I({},B,Dn),this):B},hn.tooltipThreshold=function(Dn){return arguments.length?(me=Dn,this):me},hn.topicsOrder=function(Dn){return arguments.length?(Yt=Dn,this):Yt},hn.loadingState=function(Dn){return arguments.length?(ft=Dn,this):ft},hn.locale=function(Dn){return arguments.length?(Oe=Dn,this):Oe},hn.exportChart=function(Dn,Or){v.call(hn,$e,Dn,Or)},hn.on=function(){var Dn=Je.on.apply(Je,arguments);return Dn===Je?hn:Dn},hn.valueLabel=function(Dn){return arguments.length?(pe=Dn,this):pe},hn.width=function(Dn){return arguments.length?(K&&(ut=Math.ceil(Dn*K)),F=Dn,this):F},hn.xAxisCustomFormat=function(Dn){return arguments.length?(le=Dn,this):le},hn.xAxisFormat=function(Dn){return arguments.length?($t=Dn,this):$t},hn.xTicks=function(Dn){return arguments.length?(ae=Dn,this):ae},hn.yAxisLabel=function(Dn){return arguments.length?(xt=Dn,this):xt},hn.yAxisLabelOffset=function(Dn){return arguments.length?(Tt=Dn,this):Tt},hn.yTicks=function(Dn){return arguments.length?(st=Dn,this):st},hn}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(G){for(var q=1;q0&&arguments[0]!==void 0&&arguments[0],Lt=ne?1:0;xt.attr("opacity",Lt),gt.attr("opacity",Lt)}return bn.aspectRatio=function(ne){return arguments.length?(y=ne,this):y},bn.circleOpacity=function(ne){return arguments.length?(Dt=ne,this):Dt},bn.colorSchema=function(ne){return arguments.length?(Mt=ne,this):Mt},bn.exportChart=function(ne,Lt){o.call(bn,le,ne,Lt)},bn.grid=function(ne){return arguments.length?(D=ne,this):D},bn.hasCrossHairs=function(ne){return arguments.length?(Ot=ne,this):Ot},bn.hasHollowCircles=function(ne){return arguments.length?(ae=ne,this):ae},bn.hasTrendline=function(ne){return arguments.length?(Yt=ne,this):Yt},bn.height=function(ne){return arguments.length?(y&&(x=Math.ceil(ne/y)),R=ne,this):R},bn.highlightTextLegendOffset=function(ne){return arguments.length?(Tt=ne,this):Tt},bn.isAnimated=function(ne){return arguments.length?(mt=ne,this):mt},bn.margin=function(ne){return arguments.length?(g=I({},g,ne),this):g},bn.maxCircleArea=function(ne){return arguments.length?(Pt=ne,this):Pt},bn.on=function(){var ne=rn.on.apply(rn,arguments);return ne===rn?bn:ne},bn.width=function(ne){return arguments.length?(y&&(R=Math.ceil(ne*y)),x=ne,this):x},bn.xAxisLabel=function(ne){return arguments.length?(et=ne,this):et},bn.xAxisLabelOffset=function(ne){return arguments.length?(z=ne,this):z},bn.xAxisFormat=function(ne){return arguments.length?(L=ne,this):L},bn.xTicks=function(ne){return arguments.length?(l=ne,this):l},bn.yAxisFormat=function(ne){return arguments.length?(it=ne,this):it},bn.yAxisLabel=function(ne){return arguments.length?(F=ne,this):F},bn.yAxisLabelOffset=function(ne){return arguments.length?(ft=ne,this):ft},bn.yTicks=function(ne){return arguments.length?(O=ne,this):O},bn}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(q){for(var J=1;JQ&&F.on("mouseover",function(ie){(function(ne,Lt){ae.call("customMouseOver",ne,Lt,o.mouse(ne))})(this,ie)}).on("mouseout",function(ie){(function(ne,Lt){F.select(".metadata-group").attr("transform","translate(9999, 0)"),ae.call("customMouseOut",ne,Lt,o.mouse(ne))})(this,ie)}).on("mousemove",function(ie){var ne,Lt,jt,Ut,Ft,oe,xe,fe,$e,cn;Lt=Ve(ne=this),jt=G(Lt,2),Ut=jt[0],Ft=jt[1],oe=B?ln(Ft):rn(Ut),xe=void 0,fe=void 0,oe&&(B?(xe=Ut-v.left,fe=s(oe.key)+s.bandwidth()/2):(xe=R(oe.key)+y(oe[Pt]),fe=Ft-v.bottom),$e=xe,cn=fe,F.select(".metadata-group").attr("transform","translate("+$e+","+cn+")"),ae.call("customMouseMove",ne,oe,it,xe,fe))}).on("click",function(ie){var ne,Lt,jt,Ut,Ft,oe;Lt=Ve(ne=this),jt=G(Lt,2),Ut=jt[0],Ft=jt[1],oe=B?ln(Ft):rn(Ut),ae.call("customClick",ne,oe,o.mouse(ne))}),F.selectAll(".bar").on("mouseover",function(ie){(function(ne,Lt){o.select(ne).attr("fill",function(){return V.color(it[Lt.group]).darker()})})(this,ie)}).on("mouseout",function(ie){(function(ne,Lt){o.select(ne).attr("fill",function(){return it[Lt.group]})})(this,ie)})}()})}function Oe(un){un.selectAll(".tick text").attr("transform","translate("+u.x+", "+u.y+")")}function Ve(un){return o.mouse(un)}function rn(un){var se=un-v.left,ie=y.bandwidth(),ne=[];return X.forEach(function(Lt){var jt=Lt.values.find(function(Ut){return Math.abs(se>=R(Ut[Bt])+y(Ut[Pt]))&&Math.abs(se-y(Ut[Pt])-R(Ut[Bt])<=ie)});jt&&(jt.values=Lt.values,jt.key=jt.name,ne.push(jt))}),ne.length?ne[0]:void 0}function ln(un){var se=un-v.bottom,ie=s.bandwidth(),ne=[];return X.map(function(Lt){var jt=Lt.values.find(function(Ut){return Math.abs(se>=s(Ut[Bt]))&&Math.abs(se-s(Ut[Bt])<=2*ie)});jt&&(jt.values=Lt.values,jt.key=jt.name,ne.push(jt))}),ne.length?ne[0]:void 0}function nn(un){var se=o.select(this),ie=E.interpolateRound(0,R(Ot(un))),ne=E.interpolateNumber(0,1);return function(Lt){se.attr("width",ie(Lt)).style("opacity",ne(Lt))}}function bn(un){var se=o.select(this),ie=E.interpolateRound(0,ft-s(Ot(un))),ne=E.interpolateRound(ft,s(Ot(un))),Lt=E.interpolateNumber(0,1);return function(jt){se.attr("y",ne(jt)).attr("height",ie(jt)).style("opacity",Lt(jt))}}return le.aspectRatio=function(un){return arguments.length?(D=un,this):D},le.colorSchema=function(un){return arguments.length?(nt=un,this):nt},le.exportChart=function(un,se){w.call(le,F,un,se)},le.groupLabel=function(un){return arguments.length?(Pt=un,this):Pt},le.grid=function(un){return arguments.length?(Dt=un,this):Dt},le.height=function(un){return arguments.length?(D&&(m=Math.ceil(un/D)),g=un,this):g},le.isHorizontal=function(un){return arguments.length?(B=un,this):B},le.isAnimated=function(un){return arguments.length?($t=un,this):$t},le.loadingState=function(un){return arguments.length?(x=un,this):x},le.margin=function(un){return arguments.length?(v=I({},v,un),this):v},le.nameLabel=function(un){return arguments.length?(Bt=un,this):Bt},le.yTicks=function(un){return arguments.length?(_=un,this):_},le.on=function(){var un=ae.on.apply(ae,arguments);return un===ae?le:un},le.tooltipThreshold=function(un){return arguments.length?(Q=un,this):Q},le.valueLabel=function(un){return arguments.length?(Nt=un,this):Nt},le.valueLabelFormat=function(un){return arguments.length?(Mt=un,this):Mt},le.width=function(un){return arguments.length?(D&&(g=Math.ceil(un*D)),m=un,this):m},le.xTicks=function(un){return arguments.length?(L=un,this):L},le.yAxisLabel=function(un){return arguments.length?(xt=un,this):xt},le.yAxisLabelOffset=function(un){return arguments.length?(Tt=un,this):Tt},le.yTickTextOffset=function(un){return arguments.length?(u=un,this):u},le}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(J){for(var U=1;Utt?pn-Zn-10:pn}).attr("y",function(mn){return _(nn(mn))+16}).text(function(mn){return fe(rn(mn))+Je(ln(mn))+"%"}),gn.enter().append("rect").classed("striped",!0).attr("x",1).attr("y",function(mn){return _(nn(mn))}).attr("height",_.bandwidth()).attr("fill","url(#diagonalHatch)"));wn.enter().append("rect").classed("bg-hover",!0).on("click",function(mn){Wn(this,mn)}).attr("x",-R.left).attr("y",function(mn){return _(nn(mn))}).attr("height",_.bandwidth()*st.length+4*st.length).attr("width",tt+R.left).attr("fill","#d6e8fa").attr("fill-opacity",0).on("mouseover",fn).on("mouseout",Mn),un?(yn.style("opacity",.24).transition().delay(function(mn,pn){return mt[pn]}).duration(1e3).ease(ft).tween("attr.width",Qn),ht&&Se.style("opacity",.24).transition().delay(function(mn,pn){return mt[pn]}).duration(1e3).ease(ft).tween("attr.width",Sr),hn.style("opacity",.24).transition().delay(function(mn,pn){return mt[pn]}).duration(1e3).ease(ft).tween("attr.width",Qn)):(yn.attr("width",function(mn){return O(ht?bn(mn):ln(mn))}),ht&&Se.attr("width",function(mn){return O(Ve(mn))}),hn.attr("width",function(mn){return O(ht?bn(mn):ln(mn))}))}(Ie),Ie.exit().transition().style("opacity",0).remove()}(),z.select(".x-axis-group .axis.x").attr("transform","translate( 0, "+Q+" )").call(D),z.select(".y-axis-group.axis").attr("transform","translate( "+-Dt+", 0)").call(L),z.selectAll(".y-axis-group.axis .tick").call(me),z.selectAll(".y-axis-group.axis .tick text").on("mouseover",fn).on("mouseout",Mn).call(oe,R.left-50).selectAll("tspan"),Nt&&(Pt&&z.selectAll(".y-axis-label-text").remove(),Pt=z.select(".y-axis-label").append("text").classed("y-axis-label-text",!0).attr("x",-Q/2).attr("y",Mt).attr("text-anchor","middle").attr("transform","rotate(270 0 0)").text(Nt)),function(){if(se){var Ie=Number.parseInt(tt)+Number.parseInt(R.right);ie=z.selectAll(".legend-group").append("g").attr("transform","translate("+Ie+", -30)").classed("tooltip-text",!0),ne=ie.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35"),[].concat(q(new Set(K.map(function(Te){return Te.group})))).reverse().forEach(xe)}}(),function(){b>vt&&z.on("mouseover",function(Ie){(function(Te,ke){Ut.call("customMouseOver",Te,ke,w.mouse(Te)),fn(ke)})(this,Ie)}).on("mouseout",function(Ie){(function(Te,ke){z.select(".metadata-group").attr("transform","translate(9999, 0)"),Ut.call("customMouseOut",Te,ke,w.mouse(Te))})(this,Ie)}).on("mousemove",function(Ie){var Te,ke,Ke,wn,be,Qe,gn,Se,yn;ke=cn(Te=this),Ke=G(ke,2),wn=Ke[0],be=xn(Ke[1]),Qe=void 0,gn=void 0,be&&(Qe=wn-R.left,gn=u(be.key)+u.bandwidth()/2,Se=Qe,yn=gn,z.select(".metadata-group").attr("transform","translate("+Se+","+yn+")"),Ut.call("customMouseMove",Te,be,F,Qe,gn))}).on("click",function(Ie){Wn(this,Ie)}),z.selectAll(".row").on("mouseover",function(Ie){(function(Te,ke){w.select(Te).attr("fill",function(){return j.color(F[ke.group]).darker()})})(this,Ie)}).on("mouseout",function(Ie){(function(Te,ke){w.select(Te).attr("fill",function(){return F[ke.group]})})(this,Ie)})}()})}function oe(Ue,pe){S.wrapTextWithEllipses(Ue,pe,-10,2,.8)}function xe(Ue){var pe,Pe=Ue,Ie=void 0;pe=Ue,Ie=ne.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("dx",0).attr("y",Lt).style("fill","#000000").style("font-size","12px").text(pe).call($e,200,12,-25),jt=Ie.node().getBBox().height?Ie.node().getBBox().height:jt,jt+5,ne.append("circle").classed("tooltip-circle",!0).attr("cx",-39.5).attr("cy",Lt+10).attr("r",5).style("fill",F[Pe]).style("stroke-width",1),Lt+=jt+7}function fe(Ue){return Ue?Ue+" | ":""}function $e(Ue,pe,Pe){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Ue.each(function(){var Te,ke,Ke,wn,be,Qe,gn;for(Te=(Ue=w.select(this)).text().split(/\s+/).reverse(),Ke=[],wn=0,be=Ue.attr("y"),Qe=parseFloat(Ue.attr("dy")),gn=Ue.text(null).append("tspan").attr("x",Ie).attr("y",be).attr("dy",Qe+"em");ke=Te.pop();)Ke.push(ke),gn.text(Ke.join(" ")),S.getTextWidth(Ke.join(" "),Pe,"Karla, sans-serif")>pe&&(Ke.pop(),gn.text(Ke.join(" ")),wn<4&&(Ke=[ke],gn=Ue.append("tspan").attr("x",Ie).attr("y",be).attr("dy",1.2*++wn+Qe+"em").text(ke)))})}function cn(Ue){return w.mouse(Ue)}function xn(Ue){var pe=Ue-R.bottom,Pe=u.bandwidth(),Ie=[];return ut.map(function(Te){var ke=Te.values.find(function(Ke){return Math.abs(pe>=u(Ke[Yt]))&&Math.abs(pe-u(Ke[Yt])<=2*Pe)});ke&&(ke.values=Te.values,ke.key=ke.name,Ie.push(ke))}),Ie.length?Ie[0]:void 0}function Wn(Ue,pe){var Pe=cn(Ue),Ie=G(Pe,2),Te=(Ie[0],xn(Ie[1]));Ut.call("customClick",Ue,Te,w.mouse(Ue))}function fn(Ue,pe){var Pe=null;this&&(Pe=w.select(this.parentNode).attr("class").replace("layer layer-","")),typeof Ue=="string"&&(Pe=Le(Ue)),parseInt(Pe)>-1&&(w.select(y).select(".tick svg.visibility-"+Pe).attr("opacity",1),w.select(y).select("g .layer-"+Pe+" .bg-hover").attr("fill-opacity",.3))}function Mn(Ue,pe){var Pe=null;this&&(Pe=w.select(this.parentNode).attr("class").replace("layer layer-","")),typeof Ue=="string"&&(Pe=Le(Ue)),parseInt(Pe)>-1&&(w.select(y).select(".tick svg.visibility-"+Pe).attr("opacity",0),w.select(y).select("g .layer-"+Pe+" .bg-hover").attr("fill-opacity",0))}function Qn(Ue){var pe=w.select(this),Pe=o.interpolateNumber(0,1),Ie=ht?o.interpolateRound(0,O(bn(Ue))):o.interpolateRound(0,O(ln(Ue)));return function(Te){pe.attr("width",Ie(Te)).style("opacity",Pe(Te))}}function Sr(Ue){var pe=w.select(this),Pe=o.interpolateRound(0,O(Ve(Ue))),Ie=o.interpolateNumber(0,1);return function(Te){pe.attr("width",Pe(Te)).style("opacity",Ie(Te))}}function me(Ue){Ue.each(function(){var pe=(Ue=w.select(this)).node().getBBox().height/2,Pe=Ue.append("svg").attr("class",function(Ie){return"visibility visibility-"+Le(Ie)}).attr("x",-(R.left-5)).attr("y",-pe).attr("width","300").attr("height","300").attr("viewBox","0 0 600 600").attr("fill","none").attr("opacity",0);Pe.append("rect").attr("x",-10).attr("y",-10).attr("height","50").attr("width","50").attr("fill","#d6e8fa").on("mouseover",fn).on("mouseout",Mn).attr("opacity",0),Pe.append("path").attr("d","M 10,10 L 30,30 M 30,10 L 10,30").attr("stroke","#0072ce").attr("stroke-width","2").on("mouseover",fn).on("mouseout",Mn)})}function Le(Ue){return xt.indexOf(Ue)}return Ft.aspectRatio=function(Ue){return arguments.length?(nt=Ue,this):nt},Ft.colorSchema=function(Ue){return arguments.length?(B=Ue,this):B},Ft.exportChart=function(Ue,pe){v.call(Ft,z,Ue,pe)},Ft.groupLabel=function(Ue){return arguments.length?(ae=Ue,this):ae},Ft.grid=function(Ue){return arguments.length?(Ot=Ue,this):Ot},Ft.height=function(Ue){return arguments.length?(nt&&(b=Math.ceil(Ue/nt)),s=Ue,this):s},Ft.isHorizontal=function(Ue){return arguments.length?(et=Ue,this):et},Ft.isPrintMode=function(Ue){return arguments.length?(se=Ue,this):se},Ft.isStacked=function(Ue){return arguments.length?(ht=Ue,this):ht},Ft.isAnimated=function(Ue){return arguments.length?(un=Ue,this):un},Ft.loadingState=function(Ue){return arguments.length?(l=Ue,this):l},Ft.margin=function(Ue){return arguments.length?(R=I({},R,Ue),this):R},Ft.nameLabel=function(Ue){return arguments.length?(Yt=Ue,this):Yt},Ft.yTicks=function(Ue){return arguments.length?(it=Ue,this):it},Ft.on=function(){var Ue=Ut.on.apply(Ut,arguments);return Ue===Ut?Ft:Ue},Ft.percentageAxisToMaxRatio=function(Ue){return arguments.length?(ct=Ue,this):ct},Ft.tooltipThreshold=function(Ue){return arguments.length?(vt=Ue,this):vt},Ft.valueLabel=function(Ue){return arguments.length?($t=Ue,this):$t},Ft.valueLabelFormat=function(Ue){return arguments.length?(le=Ue,this):le},Ft.width=function(Ue){return arguments.length?(nt&&(s=Math.ceil(Ue*nt)),b=Ue,this):b},Ft.xTicks=function(Ue){return arguments.length?(X=Ue,this):X},Ft.yAxisLabel=function(Ue){return arguments.length?(Nt=Ue,this):Nt},Ft.yAxisLabelOffset=function(Ue){return arguments.length?(Mt=Ue,this):Mt},Ft.yTickTextOffset=function(Ue){return arguments.length?(rt=Ue,this):rt},Ft}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(q){for(var J=1;Jst&&ut.on("mouseover",function(xe){(function(fe,$e){Oe.call("customMouseOver",fe,$e,T.mouse(fe))})(this,xe)}).on("mouseout",function(xe){(function(fe,$e){ut.select(".metadata-group").attr("transform","translate(9999, 0)"),Oe.call("customMouseOut",fe,$e,T.mouse(fe))})(this,xe)}).on("mousemove",function(xe){var fe,$e,cn,xn,Wn,fn,Mn,Qn,Sr,me;$e=nn(fe=this),cn=G($e,2),xn=cn[0],Wn=cn[1],fn=F?un(Wn):bn(xn),Mn=void 0,Qn=void 0,fn&&(F?(Mn=xn-m.left,Qn=s(fn.key)+s.bandwidth()/2):(Mn=y(fn.key)+m.left,Qn=Wn-m.bottom),Sr=Mn,me=Qn,ut.select(".metadata-group").attr("transform","translate("+Sr+","+me+")"),Oe.call("customMouseMove",fe,fn,X,Mn,Qn))}).on("click",function(xe){var fe,$e,cn,xn,Wn,fn;$e=nn(fe=this),cn=G($e,2),xn=cn[0],Wn=cn[1],fn=F?un(Wn):bn(xn),Oe.call("customClick",fe,fn,T.mouse(fe))}),ut.selectAll(".bar").on("mouseover",se).on("mouseout",ie)}()})}function rn(jt){jt.selectAll(".tick text").attr("transform","translate(-20, -8)")}function ln(jt){return jt.map(function(Ut){for(var Ft=0;Ft=xe&&Ut=xe&&Ut=vt[1]&&(vt[0]=v[z].floor(Bt[0]),vt[1]=v[z].offset(vt[0])),p.select(this).transition().call(p.event.target.move,vt.map(_))}tt.call("customBrushEnd",this,vt)}}function Tt(vt,Dt){var Bt=null;vt!==null&&(Bt=[_(new Date(vt)),_(new Date(Dt))]),B.move(F,Bt)}return st.axisTimeCombinations=S,st.dateRange=function(vt){return arguments.length?(O=vt,Array.isArray(O)&&Tt.apply(void 0,G(O)),this):O},st.gradient=function(vt){return arguments.length?(et=vt,this):et},st.height=function(vt){return arguments.length?(y=vt,this):y},st.loadingState=function(vt){return arguments.length?(b=vt,this):b},st.locale=function(vt){return arguments.length?(ct=vt,this):ct},st.margin=function(vt){return arguments.length?(x=I({},x,vt),this):x},st.on=function(){var vt=tt.on.apply(tt,arguments);return vt===tt?st:vt},st.width=function(vt){return arguments.length?(R=vt,this):R},st.xAxisCustomFormat=function(vt){return arguments.length?(X=vt,this):X},st.xAxisFormat=function(vt){return arguments.length?(rt=vt,this):rt},st.xTicks=function(vt){return arguments.length?(it=vt,this):it},st.roundingTimeInterval=function(vt){return arguments.length?(z=vt,this):z},st}}.call(W,c,W,At))===void 0||(At.exports=C)},function(At,W,c){"use strict";var C,I=Object.assign||function(G){for(var q=1;q0)){if(Q/=Dt,Dt<0){if(Q0){if(Q>vt)return;Q>Tt&&(Tt=Q)}if(Q=z-xt,Dt||!(Q<0)){if(Q/=Dt,Dt<0){if(Q>vt)return;Q>Tt&&(Tt=Q)}else if(Dt>0){if(Q0)){if(Q/=Bt,Bt<0){if(Q0){if(Q>vt)return;Q>Tt&&(Tt=Q)}if(Q=tt-gt,Bt||!(Q<0)){if(Q/=Bt,Bt<0){if(Q>vt)return;Q>Tt&&(Tt=Q)}else if(Bt>0){if(Q0||vt<1)||(Tt>0&&(ft[0]=[xt+Tt*Dt,gt+Tt*Bt]),vt<1&&(ft[1]=[xt+vt*Dt,gt+vt*Bt]),!0)}}}}}function T(ft,et,ht,z,tt){var Q=ft[1];if(Q)return!0;var K,st,xt=ft[0],gt=ft.left,Tt=ft.right,vt=gt[0],Dt=gt[1],Bt=Tt[0],Nt=Tt[1],Pt=(vt+Bt)/2,Mt=(Dt+Nt)/2;if(Nt===Dt){if(Pt=z)return;if(vt>Bt){if(xt){if(xt[1]>=tt)return}else xt=[Pt,ht];Q=[Pt,tt]}else{if(xt){if(xt[1]1)if(vt>Bt){if(xt){if(xt[1]>=tt)return}else xt=[(ht-st)/K,ht];Q=[(tt-st)/K,tt]}else{if(xt){if(xt[1]=z)return}else xt=[et,K*et+st];Q=[z,K*z+st]}else{if(xt){if(xt[0]=-ct)){var Bt=xt*xt+gt*gt,Nt=Tt*Tt+vt*vt,Pt=(vt*Bt-gt*Nt)/Dt,Mt=(xt*Nt-Tt*Bt)/Dt,mt=m.pop()||new g;mt.arc=ft,mt.site=tt,mt.x=Pt+K,mt.y=(mt.cy=Mt+st)+Math.sqrt(Pt*Pt+Mt*Mt),ft.circle=mt;for(var Ot=null,Yt=rt._;Yt;)if(mt.yX)st=st.L;else{if(!((tt=Q-_(st,K))>X)){z>-X?(et=st.P,ht=st):tt>-X?(et=st,ht=st.N):et=ht=st;break}if(!st.R){et=st;break}st=st.R}(function(ae){nt[ae.index]={site:ae,halfedges:[]}})(ft);var xt=s(ft);if(L.insert(et,xt),et||ht){if(et===ht)return R(et),ht=s(et.site),L.insert(xt,ht),xt.edge=ht.edge=P(et.site,xt.site),x(et),void x(ht);if(ht){R(et),R(ht);var gt=et.site,Tt=gt[0],vt=gt[1],Dt=ft[0]-Tt,Bt=ft[1]-vt,Nt=ht.site,Pt=Nt[0]-Tt,Mt=Nt[1]-vt,mt=2*(Dt*Mt-Bt*Pt),Ot=Dt*Dt+Bt*Bt,Yt=Pt*Pt+Mt*Mt,$t=[(Mt*Ot-Bt*Yt)/mt+Tt,(Dt*Yt-Pt*Ot)/mt+vt];p(ht.edge,gt,Nt,$t),xt.edge=P(gt,ft,null,$t),ht.edge=P(ft,Nt,null,$t),x(et),x(ht)}else xt.edge=P(et.site,xt.site)}}function u(ft,et){var ht=ft.site,z=ht[0],tt=ht[1],Q=tt-et;if(!Q)return z;var K=ft.P;if(!K)return-1/0;var st=(ht=K.site)[0],xt=ht[1],gt=xt-et;if(!gt)return st;var Tt=st-z,vt=1/Q-1/gt,Dt=Tt/gt;return vt?(-Dt+Math.sqrt(Dt*Dt-2*vt*(Tt*Tt/(-2*gt)-xt+gt/2+tt-Q/2)))/vt+z:(z+st)/2}function _(ft,et){var ht=ft.N;if(ht)return u(ht,et);var z=ft.site;return z[1]===et?z[0]:1/0}var L,nt,rt,it,X=1e-6,ct=1e-12;function B(ft,et){return et[1]-ft[1]||et[0]-ft[0]}function F(ft,et){var ht,z,tt,Q=ft.sort(B).pop();for(it=[],nt=new Array(ft.length),L=new A,rt=new A;;)if(tt=v,Q&&(!tt||Q[1]X||Math.abs(Nt[0][1]-Nt[1][1])>X)||delete it[Pt]})(K,st,xt,gt),function(Tt,vt,Dt,Bt){var Nt,Pt,Mt,mt,Ot,Yt,$t,ae,le,Oe,Ve,rn,ln=nt.length,nn=!0;for(Nt=0;NtX||Math.abs(rn-le)>X)&&(Ot.splice(mt,0,it.push(E(Mt,Oe,Math.abs(Ve-Tt)X?[Tt,Math.abs(ae-Tt)X?[Math.abs(le-Bt)X?[Dt,Math.abs(ae-Dt)X?[Math.abs(le-vt)=st)return null;var xt=ft-tt.site[0],gt=et-tt.site[1],Tt=xt*xt+gt*gt;do tt=Q.cells[z=K],K=null,tt.halfedges.forEach(function(vt){var Dt=Q.edges[vt],Bt=Dt.left;if(Bt!==tt.site&&Bt||(Bt=Dt.right)){var Nt=ft-Bt[0],Pt=et-Bt[1],Mt=Nt*Nt+Pt*Pt;MtMath.abs(ke[1]-Mn[1])?nn=!0:ln=!0),Mn=ke,rn=!0,T(),pe()}function pe(){var ke;switch($e=Mn[0]-fn[0],cn=Mn[1]-fn[1],se){case f:case w:ie&&($e=Math.max(Ft-mt,Math.min(xe-ae,$e)),Ot=mt+$e,le=ae+$e),ne&&(cn=Math.max(oe-Yt,Math.min(fe-Oe,cn)),$t=Yt+cn,Ve=Oe+cn);break;case S:ie<0?($e=Math.max(Ft-mt,Math.min(xe-mt,$e)),Ot=mt+$e,le=ae):ie>0&&($e=Math.max(Ft-ae,Math.min(xe-ae,$e)),Ot=mt,le=ae+$e),ne<0?(cn=Math.max(oe-Yt,Math.min(fe-Yt,cn)),$t=Yt+cn,Ve=Oe):ne>0&&(cn=Math.max(oe-Oe,Math.min(fe-Oe,cn)),$t=Yt,Ve=Oe+cn);break;case v:ie&&(Ot=Math.max(Ft,Math.min(xe,mt-$e*ie)),le=Math.max(Ft,Math.min(xe,ae+$e*ie))),ne&&($t=Math.max(oe,Math.min(fe,Yt-cn*ne)),Ve=Math.max(oe,Math.min(fe,Oe+cn*ne)))}le0&&(mt=Ot-$e),ne<0?Oe=Ve-cn:ne>0&&(Yt=$t-cn),se=f,me.attr("cursor",s.selection),pe());break;default:return}T()}function Te(){switch(G.c.keyCode){case 16:xn&&(ln=nn=xn=!1,pe());break;case 18:se===v&&(ie<0?ae=le:ie>0&&(mt=Ot),ne<0?Oe=Ve:ne>0&&(Yt=$t),se=S,pe());break;case 32:se===f&&(G.c.altKey?(ie&&(ae=le-$e*ie,mt=Ot+$e*ie),ne&&(Oe=Ve-cn*ne,Yt=$t+cn*ne),se=v):(ie<0?ae=le:ie>0&&(mt=Ot),ne<0?Oe=Ve:ne>0&&(Yt=$t),se=S),me.attr("cursor",s[un]),pe());break;default:return}T()}}function Nt(){vt(this,arguments).moved()}function Pt(){vt(this,arguments).ended()}function Mt(){var mt=this.__brush||{selection:null};return mt.extent=g(z.apply(this,arguments)),mt.dim=et,mt}return gt.move=function(mt,Ot){mt.selection?mt.on("start.brush",function(){vt(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){vt(this,arguments).end()}).tween("brush",function(){var Yt=this,$t=Yt.__brush,ae=vt(Yt,arguments),le=$t.selection,Oe=et.input(typeof Ot=="function"?Ot.apply(this,arguments):Ot,$t.extent),Ve=Object(V.a)(le,Oe);function rn(ln){$t.selection=ln===1&&Oe===null?null:Ve(ln),Tt.call(Yt),ae.brush()}return le!==null&&Oe!==null?rn:rn(1)}):mt.each(function(){var Yt=this,$t=arguments,ae=Yt.__brush,le=et.input(typeof Ot=="function"?Ot.apply(Yt,$t):Ot,ae.extent),Oe=vt(Yt,$t).beforestart();Object(P.interrupt)(Yt),ae.selection=le===null?null:le,Tt.call(Yt),Oe.start().brush().end()})},gt.clear=function(mt){gt.move(mt,null)},Dt.prototype={beforestart:function(){return++this.active==1&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return--this.active==0&&(delete this.state.emitter,this.emit("end")),this},emit:function(mt){Object(G.a)(new p(gt,mt,et.output(this.state.selection)),st.apply,st,[mt,this.that,this.args])}},gt.extent=function(mt){return arguments.length?(z=typeof mt=="function"?mt:E(g(mt)),gt):z},gt.filter=function(mt){return arguments.length?(tt=typeof mt=="function"?mt:E(!!mt),gt):tt},gt.touchable=function(mt){return arguments.length?(Q=typeof mt=="function"?mt:E(!!mt),gt):Q},gt.handleSize=function(mt){return arguments.length?(xt=+mt,gt):xt},gt.keyModifiers=function(mt){return arguments.length?(K=!!mt,gt):K},gt.on=function(){var mt=st.on.apply(st,arguments);return mt===st?gt:mt},gt}c.d(W,"brush",function(){return ut}),c.d(W,"brushX",function(){return B}),c.d(W,"brushY",function(){return F}),c.d(W,"brushSelection",function(){return ct})}])})},5382:yr=>{(function(we,wt){yr.exports=wt()})(window,function(){return function(we){var wt={};function Z(At){if(wt[At])return wt[At].exports;var W=wt[At]={i:At,l:!1,exports:{}};return we[At].call(W.exports,W,W.exports,Z),W.l=!0,W.exports}return Z.m=we,Z.c=wt,Z.d=function(At,W,c){Z.o(At,W)||Object.defineProperty(At,W,{enumerable:!0,get:c})},Z.r=function(At){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(At,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(At,"__esModule",{value:!0})},Z.t=function(At,W){if(1&W&&(At=Z(At)),8&W||4&W&&typeof At=="object"&&At&&At.__esModule)return At;var c=Object.create(null);if(Z.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:At}),2&W&&typeof At!="string")for(var C in At)Z.d(c,C,function(I){return At[I]}.bind(null,C));return c},Z.n=function(At){var W=At&&At.__esModule?function(){return At.default}:function(){return At};return Z.d(W,"a",W),W},Z.o=function(At,W){return Object.prototype.hasOwnProperty.call(At,W)},Z.p="",Z(Z.s=107)}([function(we,wt,Z){"use strict";Z.d(wt,"a",function(){return c});var At=new Date,W=new Date;function c(C,I,G,q){function J(U){return C(U=arguments.length===0?new Date:new Date(+U)),U}return J.floor=function(U){return C(U=new Date(+U)),U},J.ceil=function(U){return C(U=new Date(U-1)),I(U,1),C(U),U},J.round=function(U){var V=J(U),j=J.ceil(U);return U-V0))return P;do P.push(A=new Date(+U)),I(U,j),C(U);while(A=V)for(;C(V),!U(V);)V.setTime(V-1)},function(V,j){if(V>=V)if(j<0)for(;++j<=0;)for(;I(V,-1),!U(V););else for(;--j>=0;)for(;I(V,1),!U(V););})},G&&(J.count=function(U,V){return At.setTime(+U),W.setTime(+V),C(At),C(W),Math.floor(G(At,W))},J.every=function(U){return U=Math.floor(U),isFinite(U)&&U>0?U>1?J.filter(q?function(V){return q(V)%U==0}:function(V){return J.count(0,V)%U==0}):J:null}),J}},function(we,wt,Z){"use strict";Z.d(wt,"d",function(){return At}),Z.d(wt,"c",function(){return W}),Z.d(wt,"b",function(){return c}),Z.d(wt,"a",function(){return C}),Z.d(wt,"e",function(){return I});var At=1e3,W=6e4,c=36e5,C=864e5,I=6048e5},function(we,wt,Z){"use strict";Z.r(wt);var At=function(et,ht){return etht?1:et>=ht?0:NaN},W=function(et){var ht;return et.length===1&&(ht=et,et=function(z,tt){return At(ht(z),tt)}),{left:function(z,tt,Q,K){for(Q==null&&(Q=0),K==null&&(K=z.length);Q>>1;et(z[st],tt)<0?Q=st+1:K=st}return Q},right:function(z,tt,Q,K){for(Q==null&&(Q=0),K==null&&(K=z.length);Q>>1;et(z[st],tt)>0?K=st:Q=st+1}return Q}}},c=W(At),C=c.right,I=c.left,G=C,q=function(et,ht){ht==null&&(ht=J);for(var z=0,tt=et.length-1,Q=et[0],K=new Array(tt<0?0:tt);zet?1:ht>=et?0:NaN},j=function(et){return et===null?NaN:+et},A=function(et,ht){var z,tt,Q=et.length,K=0,st=-1,xt=0,gt=0;if(ht==null)for(;++st1)return gt/(K-1)},P=function(et,ht){var z=A(et,ht);return z&&Math.sqrt(z)},E=function(et,ht){var z,tt,Q,K=et.length,st=-1;if(ht==null){for(;++st=z)for(tt=Q=z;++stz&&(tt=z),Q=z)for(tt=Q=z;++stz&&(tt=z),Q0)return[et];if((tt=ht0)for(et=Math.ceil(et/st),ht=Math.floor(ht/st),K=new Array(Q=Math.ceil(ht-et+1));++xt=0?(K>=v?10:K>=m?5:K>=g?2:1)*Math.pow(10,Q):-Math.pow(10,-Q)/(K>=v?10:K>=m?5:K>=g?2:1)}function y(et,ht,z){var tt=Math.abs(ht-et)/Math.max(0,z),Q=Math.pow(10,Math.floor(Math.log(tt)/Math.LN10)),K=tt/Q;return K>=v?Q*=10:K>=m?Q*=5:K>=g&&(Q*=2),htDt;)Bt.pop(),--Nt;var Pt,Mt=new Array(Nt+1);for(K=0;K<=Nt;++K)(Pt=Mt[K]=[]).x0=K>0?Bt[K-1]:vt,Pt.x1=K=1)return+z(et[tt-1],tt-1,et);var tt,Q=(tt-1)*ht,K=Math.floor(Q),st=+z(et[K],K,et);return st+(+z(et[K+1],K+1,et)-st)*(Q-K)}},O=function(et,ht,z){return et=T.call(et,j).sort(At),Math.ceil((z-ht)/(2*(l(et,.75)-l(et,.25))*Math.pow(et.length,-1/3)))},D=function(et,ht,z){return Math.ceil((z-ht)/(3.5*P(et)*Math.pow(et.length,-1/3)))},u=function(et,ht){var z,tt,Q=et.length,K=-1;if(ht==null){for(;++K=z)for(tt=z;++Ktt&&(tt=z)}else for(;++K=z)for(tt=z;++Ktt&&(tt=z);return tt},_=function(et,ht){var z,tt=et.length,Q=tt,K=-1,st=0;if(ht==null)for(;++K=0;)for(ht=(tt=et[Q]).length;--ht>=0;)z[--st]=tt[ht];return z},rt=function(et,ht){var z,tt,Q=et.length,K=-1;if(ht==null){for(;++K=z)for(tt=z;++Kz&&(tt=z)}else for(;++K=z)for(tt=z;++Kz&&(tt=z);return tt},it=function(et,ht){for(var z=ht.length,tt=new Array(z);z--;)tt[z]=et[ht[z]];return tt},X=function(et,ht){if(z=et.length){var z,tt,Q=0,K=0,st=et[K];for(ht==null&&(ht=At);++Q>8&15|_>>4&240,_>>4&15|240&_,(15&_)<<4|15&_,1):L===8?new g(_>>24&255,_>>16&255,_>>8&255,(255&_)/255):L===4?new g(_>>12&15|_>>8&240,_>>8&15|_>>4&240,_>>4&15|240&_,((15&_)<<4|15&_)/255):null):(_=U.exec(u))?new g(_[1],_[2],_[3],1):(_=V.exec(u))?new g(255*_[1]/100,255*_[2]/100,255*_[3]/100,1):(_=j.exec(u))?S(_[1],_[2],_[3],_[4]):(_=A.exec(u))?S(255*_[1]/100,255*_[2]/100,255*_[3]/100,_[4]):(_=P.exec(u))?b(_[1],_[2]/100,_[3]/100,1):(_=E.exec(u))?b(_[1],_[2]/100,_[3]/100,_[4]):p.hasOwnProperty(u)?f(p[u]):u==="transparent"?new g(NaN,NaN,NaN,0):null}function f(u){return new g(u>>16&255,u>>8&255,255&u,1)}function S(u,_,L,nt){return nt<=0&&(u=_=L=NaN),new g(u,_,L,nt)}function v(u){return u instanceof W||(u=w(u)),u?new g((u=u.rgb()).r,u.g,u.b,u.opacity):new g}function m(u,_,L,nt){return arguments.length===1?v(u):new g(u,_,L,nt==null?1:nt)}function g(u,_,L,nt){this.r=+u,this.g=+_,this.b=+L,this.opacity=+nt}function x(){return"#"+y(this.r)+y(this.g)+y(this.b)}function R(){var u=this.opacity;return((u=isNaN(u)?1:Math.max(0,Math.min(1,u)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(u===1?")":", "+u+")")}function y(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function b(u,_,L,nt){return nt<=0?u=_=L=NaN:L<=0||L>=1?u=_=NaN:_<=0&&(u=NaN),new O(u,_,L,nt)}function s(u){if(u instanceof O)return new O(u.h,u.s,u.l,u.opacity);if(u instanceof W||(u=w(u)),!u)return new O;if(u instanceof O)return u;var _=(u=u.rgb()).r/255,L=u.g/255,nt=u.b/255,rt=Math.min(_,L,nt),it=Math.max(_,L,nt),X=NaN,ct=it-rt,B=(it+rt)/2;return ct?(X=_===it?(L-nt)/ct+6*(L0&&B<1?0:X,new O(X,ct,B,u.opacity)}function l(u,_,L,nt){return arguments.length===1?s(u):new O(u,_,L,nt==null?1:nt)}function O(u,_,L,nt){this.h=+u,this.s=+_,this.l=+L,this.opacity=+nt}function D(u,_,L){return 255*(u<60?_+(L-_)*u/60:u<180?L:u<240?_+(L-_)*(240-u)/60:_)}Object(At.a)(W,w,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:o,formatHex:o,formatHsl:function(){return s(this).formatHsl()},formatRgb:T,toString:T}),Object(At.a)(g,m,Object(At.b)(W,{brighter:function(u){return u=u==null?C:Math.pow(C,u),new g(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=u==null?c:Math.pow(c,u),new g(this.r*u,this.g*u,this.b*u,this.opacity)},rgb:function(){return this},displayable:function(){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:x,formatHex:x,formatRgb:R,toString:R})),Object(At.a)(O,l,Object(At.b)(W,{brighter:function(u){return u=u==null?C:Math.pow(C,u),new O(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=u==null?c:Math.pow(c,u),new O(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),_=isNaN(u)||isNaN(this.s)?0:this.s,L=this.l,nt=L+(L<.5?L:1-L)*_,rt=2*L-nt;return new g(D(u>=240?u-240:u+120,rt,nt),D(u,rt,nt),D(u<120?u+240:u-120,rt,nt),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var u=this.opacity;return((u=isNaN(u)?1:Math.max(0,Math.min(1,u)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(u===1?")":", "+u+")")}}))},function(we,wt,Z){"use strict";wt.a=function(At,W){return At=+At,W=+W,function(c){return At*(1-c)+W*c}}},function(we,wt,Z){"use strict";Z.r(wt);var At=Z(12),W=Z(32),c=function(m){return Object(W.a)(Object(At.a)(m).call(document.documentElement))},C=0;function I(){return new G}function G(){this._="@"+(++C).toString(36)}G.prototype=I.prototype={constructor:G,get:function(m){for(var g=this._;!(g in m);)if(!(m=m.parentNode))return;return m[g]},set:function(m,g){return m[this._]=g},remove:function(m){return this._ in m&&delete m[this._]},toString:function(){return this._}};var q=Z(34),J=Z(60),U=Z(20),V=Z(14),j=Z(13),A=Z(10),P=function(m){return typeof m=="string"?new A.a([document.querySelectorAll(m)],[document.documentElement]):new A.a([m==null?[]:m],A.c)},E=Z(19),p=Z(33),o=Z(35),T=Z(61),w=Z(22),f=function(m,g){g==null&&(g=Object(w.a)().touches);for(var x=0,R=g?g.length:0,y=new Array(R);x180||J<-180?J-360*Math.round(J/360):J):Object(At.a)(isNaN(G)?q:G)}function C(G){return(G=+G)==1?I:function(q,J){return J-q?function(U,V,j){return U=Math.pow(U,j),V=Math.pow(V,j)-U,j=1/j,function(A){return Math.pow(U+A*V,j)}}(q,J,G):Object(At.a)(isNaN(q)?J:q)}}function I(G,q){var J=q-G;return J?W(G,J):Object(At.a)(isNaN(G)?q:G)}},function(we,wt,Z){"use strict";var At=Z(18);wt.a=function(W){return(W=Object(At.a)(Math.abs(W)))?W[1]:NaN}},function(we,wt,Z){"use strict";var At=Z(19),W=Z(33),c=Z(34),C=function(K){return new Array(K.length)};function I(K,st){this.ownerDocument=K.ownerDocument,this.namespaceURI=K.namespaceURI,this._next=null,this._parent=K,this.__data__=st}I.prototype={constructor:I,appendChild:function(K){return this._parent.insertBefore(K,this._next)},insertBefore:function(K,st){return this._parent.insertBefore(K,st)},querySelector:function(K){return this._parent.querySelector(K)},querySelectorAll:function(K){return this._parent.querySelectorAll(K)}};function G(K,st,xt,gt,Tt,vt){for(var Dt,Bt=0,Nt=st.length,Pt=vt.length;Btst?1:K>=st?0:NaN}var U=Z(20);function V(K){return function(){this.removeAttribute(K)}}function j(K){return function(){this.removeAttributeNS(K.space,K.local)}}function A(K,st){return function(){this.setAttribute(K,st)}}function P(K,st){return function(){this.setAttributeNS(K.space,K.local,st)}}function E(K,st){return function(){var xt=st.apply(this,arguments);xt==null?this.removeAttribute(K):this.setAttribute(K,xt)}}function p(K,st){return function(){var xt=st.apply(this,arguments);xt==null?this.removeAttributeNS(K.space,K.local):this.setAttributeNS(K.space,K.local,xt)}}var o=Z(35);function T(K){return function(){delete this[K]}}function w(K,st){return function(){this[K]=st}}function f(K,st){return function(){var xt=st.apply(this,arguments);xt==null?delete this[K]:this[K]=xt}}function S(K){return K.trim().split(/^|\s+/)}function v(K){return K.classList||new m(K)}function m(K){this._node=K,this._names=S(K.getAttribute("class")||"")}function g(K,st){for(var xt=v(K),gt=-1,Tt=st.length;++gt=0&&(this._names.splice(st,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(K){return this._names.indexOf(K)>=0}};function s(){this.textContent=""}function l(K){return function(){this.textContent=K}}function O(K){return function(){var st=K.apply(this,arguments);this.textContent=st==null?"":st}}function D(){this.innerHTML=""}function u(K){return function(){this.innerHTML=K}}function _(K){return function(){var st=K.apply(this,arguments);this.innerHTML=st==null?"":st}}function L(){this.nextSibling&&this.parentNode.appendChild(this)}function nt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var rt=Z(12);function it(){return null}function X(){var K=this.parentNode;K&&K.removeChild(this)}function ct(){var K=this.cloneNode(!1),st=this.parentNode;return st?st.insertBefore(K,this.nextSibling):K}function B(){var K=this.cloneNode(!0),st=this.parentNode;return st?st.insertBefore(K,this.nextSibling):K}var F=Z(17),ut=Z(21);function ft(K,st,xt){var gt=Object(ut.a)(K),Tt=gt.CustomEvent;typeof Tt=="function"?Tt=new Tt(st,xt):(Tt=gt.document.createEvent("Event"),xt?(Tt.initEvent(st,xt.bubbles,xt.cancelable),Tt.detail=xt.detail):Tt.initEvent(st,!1,!1)),K.dispatchEvent(Tt)}function et(K,st){return function(){return ft(this,K,st)}}function ht(K,st){return function(){return ft(this,K,st.apply(this,arguments))}}Z.d(wt,"c",function(){return z}),Z.d(wt,"a",function(){return tt});var z=[null];function tt(K,st){this._groups=K,this._parents=st}function Q(){return new tt([[document.documentElement]],z)}tt.prototype=Q.prototype={constructor:tt,select:function(K){typeof K!="function"&&(K=Object(At.a)(K));for(var st=this._groups,xt=st.length,gt=new Array(xt),Tt=0;Tt=nn&&(nn=ln+1);!(rn=Oe[nn])&&++nn=0;)(gt=Tt[vt])&&(Dt&&4^gt.compareDocumentPosition(Dt)&&Dt.parentNode.insertBefore(gt,Dt),Dt=gt);return this},sort:function(K){function st(mt,Ot){return mt&&Ot?K(mt.__data__,Ot.__data__):!mt-!Ot}K||(K=J);for(var xt=this._groups,gt=xt.length,Tt=new Array(gt),vt=0;vt1?this.each((st==null?T:typeof st=="function"?f:w)(K,st)):this.node()[K]},classed:function(K,st){var xt=S(K+"");if(arguments.length<2){for(var gt=v(this.node()),Tt=-1,vt=xt.length;++Tt0?Object(At.a)(function(I){I.setFullYear(Math.floor(I.getFullYear()/C)*C),I.setMonth(0,1),I.setHours(0,0,0,0)},function(I,G){I.setFullYear(I.getFullYear()+G*C)}):null},wt.a=W;var c=W.range},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return c});var At=Z(0),W=Object(At.a)(function(C){C.setUTCMonth(0,1),C.setUTCHours(0,0,0,0)},function(C,I){C.setUTCFullYear(C.getUTCFullYear()+I)},function(C,I){return I.getUTCFullYear()-C.getUTCFullYear()},function(C){return C.getUTCFullYear()});W.every=function(C){return isFinite(C=Math.floor(C))&&C>0?Object(At.a)(function(I){I.setUTCFullYear(Math.floor(I.getUTCFullYear()/C)*C),I.setUTCMonth(0,1),I.setUTCHours(0,0,0,0)},function(I,G){I.setUTCFullYear(I.getUTCFullYear()+G*C)}):null},wt.a=W;var c=W.range},function(we,wt,Z){"use strict";Z.d(wt,"c",function(){return W}),Z.d(wt,"a",function(){return J});var At={},W=null;typeof document!="undefined"&&("onmouseenter"in document.documentElement||(At={mouseenter:"mouseover",mouseleave:"mouseout"}));function c(U,V,j){return U=C(U,V,j),function(A){var P=A.relatedTarget;P&&(P===this||8&P.compareDocumentPosition(this))||U.call(this,A)}}function C(U,V,j){return function(A){var P=W;W=A;try{U.call(this,this.__data__,V,j)}finally{W=P}}}function I(U){return U.trim().split(/^|\s+/).map(function(V){var j="",A=V.indexOf(".");return A>=0&&(j=V.slice(A+1),V=V.slice(0,A)),{type:V,name:j}})}function G(U){return function(){var V=this.__on;if(V){for(var j,A=0,P=-1,E=V.length;A1?C[0]+C.slice(2):C,+At.slice(c+1)]}},function(we,wt,Z){"use strict";function At(){}wt.a=function(W){return W==null?At:function(){return this.querySelector(W)}}},function(we,wt,Z){"use strict";var At=Z(14);wt.a=function(W){var c=W+="",C=c.indexOf(":");return C>=0&&(c=W.slice(0,C))!=="xmlns"&&(W=W.slice(C+1)),At.a.hasOwnProperty(c)?{space:At.a[c],local:W}:W}},function(we,wt,Z){"use strict";wt.a=function(At){return At.ownerDocument&&At.ownerDocument.defaultView||At.document&&At||At.defaultView}},function(we,wt,Z){"use strict";var At=Z(17);wt.a=function(){for(var W,c=At.c;W=c.sourceEvent;)c=W;return c}},function(we,wt,Z){"use strict";function At(W){return ArrayBuffer.isView(W)&&!(W instanceof DataView)}Z.d(wt,"b",function(){return At}),wt.a=function(W,c){c||(c=[]);var C,I=W?Math.min(c.length,W.length):0,G=c.slice();return function(q){for(C=0;C=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function W(C){if(!(I=At.exec(C)))throw new Error("invalid format: "+C);var I;return new c({fill:I[1],align:I[2],sign:I[3],symbol:I[4],zero:I[5],width:I[6],comma:I[7],precision:I[8]&&I[8].slice(1),trim:I[9],type:I[10]})}function c(C){this.fill=C.fill===void 0?" ":C.fill+"",this.align=C.align===void 0?">":C.align+"",this.sign=C.sign===void 0?"-":C.sign+"",this.symbol=C.symbol===void 0?"":C.symbol+"",this.zero=!!C.zero,this.width=C.width===void 0?void 0:+C.width,this.comma=!!C.comma,this.precision=C.precision===void 0?void 0:+C.precision,this.trim=!!C.trim,this.type=C.type===void 0?"":C.type+""}W.prototype=c.prototype,c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(we,wt,Z){"use strict";function At(W,c,C,I,G){var q=W*W,J=q*W;return((1-3*W+3*q-J)*c+(4-6*q+3*J)*C+(1+3*W+3*q-3*J)*I+J*G)/6}Z.d(wt,"a",function(){return At}),wt.b=function(W){var c=W.length-1;return function(C){var I=C<=0?C=0:C>=1?(C=1,c-1):Math.floor(C*c),G=W[I],q=W[I+1],J=I>0?W[I-1]:2*G-q,U=I0?C>1?Object(At.a)(function(I){I.setTime(Math.floor(I/C)*C)},function(I,G){I.setTime(+I+G*C)},function(I,G){return(G-I)/C}):W:null},wt.a=W;var c=W.range},function(we,wt,Z){"use strict";var At=Z(10);wt.a=function(W){return typeof W=="string"?new At.a([[document.querySelector(W)]],[document.documentElement]):new At.a([[W]],At.c)}},function(we,wt,Z){"use strict";function At(){return[]}wt.a=function(W){return W==null?At:function(){return this.querySelectorAll(W)}}},function(we,wt,Z){"use strict";wt.a=function(At){return function(){return this.matches(At)}}},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return I});var At=Z(21);function W(G){return function(){this.style.removeProperty(G)}}function c(G,q,J){return function(){this.style.setProperty(G,q,J)}}function C(G,q,J){return function(){var U=q.apply(this,arguments);U==null?this.style.removeProperty(G):this.style.setProperty(G,U,J)}}function I(G,q){return G.style.getPropertyValue(q)||Object(At.a)(G).getComputedStyle(G,null).getPropertyValue(q)}wt.a=function(G,q,J){return arguments.length>1?this.each((q==null?W:typeof q=="function"?C:c)(G,q,J==null?"":J)):I(this.node(),G)}},function(we,wt,Z){"use strict";var At=Z(5),W=Z(37),c=Z(58),C=Z(57),I=Z(6),G=Z(59),q=Z(55),J=Z(24),U=Z(23);wt.a=function(V,j){var A,P=typeof j;return j==null||P==="boolean"?Object(J.a)(j):(P==="number"?I.a:P==="string"?(A=Object(At.e)(j))?(j=A,W.a):q.a:j instanceof At.e?W.a:j instanceof Date?C.a:Object(U.b)(j)?U.a:Array.isArray(j)?c.b:typeof j.valueOf!="function"&&typeof j.toString!="function"||isNaN(j)?G.a:I.a)(V,j)}},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return G}),Z.d(wt,"c",function(){return q});var At=Z(5),W=Z(26),c=Z(53),C=Z(8);function I(J){return function(U){var V,j,A=U.length,P=new Array(A),E=new Array(A),p=new Array(A);for(V=0;VE+1?P.slice(0,E+1)+"."+P.slice(E+1):P+new Array(E-P.length+2).join("0")},G={"%":function(V,j){return(100*V).toFixed(j)},b:function(V){return Math.round(V).toString(2)},c:function(V){return V+""},d:function(V){return Math.round(V).toString(10)},e:function(V,j){return V.toExponential(j)},f:function(V,j){return V.toFixed(j)},g:function(V,j){return V.toPrecision(j)},o:function(V){return Math.round(V).toString(8)},p:function(V,j){return I(100*V,j)},r:I,s:function(V,j){var A=Object(C.a)(V,j);if(!A)return V+"";var P=A[0],E=A[1],p=E-(At=3*Math.max(-8,Math.min(8,Math.floor(E/3))))+1,o=P.length;return p===o?P:p>o?P+new Array(p-o+1).join("0"):p>0?P.slice(0,p)+"."+P.slice(p):"0."+new Array(1-p).join("0")+Object(C.a)(V,Math.max(0,j+p-1))[0]},X:function(V){return Math.round(V).toString(16).toUpperCase()},x:function(V){return Math.round(V).toString(16)}},q=function(V){return V},J=Array.prototype.map,U=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];wt.a=function(V){var j,A,P=V.grouping===void 0||V.thousands===void 0?q:(j=J.call(V.grouping,Number),A=V.thousands+"",function(m,g){for(var x=m.length,R=[],y=0,b=j[0],s=0;x>0&&b>0&&(s+b+1>g&&(b=Math.max(1,g-s)),R.push(m.substring(x-=b,x+b)),!((s+=b+1)>g));)b=j[y=(y+1)%j.length];return R.reverse().join(A)}),E=V.currency===void 0?"":V.currency[0]+"",p=V.currency===void 0?"":V.currency[1]+"",o=V.decimal===void 0?".":V.decimal+"",T=V.numerals===void 0?q:function(m){return function(g){return g.replace(/[0-9]/g,function(x){return m[+x]})}}(J.call(V.numerals,String)),w=V.percent===void 0?"%":V.percent+"",f=V.minus===void 0?"-":V.minus+"",S=V.nan===void 0?"NaN":V.nan+"";function v(m){var g=(m=Object(c.b)(m)).fill,x=m.align,R=m.sign,y=m.symbol,b=m.zero,s=m.width,l=m.comma,O=m.precision,D=m.trim,u=m.type;u==="n"?(l=!0,u="g"):G[u]||(O===void 0&&(O=12),D=!0,u="g"),(b||g==="0"&&x==="=")&&(b=!0,g="0",x="=");var _=y==="$"?E:y==="#"&&/[boxX]/.test(u)?"0"+u.toLowerCase():"",L=y==="$"?p:/[%p]/.test(u)?w:"",nt=G[u],rt=/[defgprs%]/.test(u);function it(X){var ct,B,F,ut=_,ft=L;if(u==="c")ft=nt(X)+ft,X="";else{var et=(X=+X)<0;if(X=isNaN(X)?S:nt(Math.abs(X),O),D&&(X=function(tt){t:for(var Q,K=tt.length,st=1,xt=-1;st0&&(xt=0)}return xt>0?tt.slice(0,xt)+tt.slice(Q+1):tt}(X)),et&&+X==0&&(et=!1),ut=(et?R==="("?R:f:R==="-"||R==="("?"":R)+ut,ft=(u==="s"?U[8+At/3]:"")+ft+(et&&R==="("?")":""),rt){for(ct=-1,B=X.length;++ct(F=X.charCodeAt(ct))||F>57){ft=(F===46?o+X.slice(ct+1):X.slice(ct))+ft,X=X.slice(0,ct);break}}}l&&!b&&(X=P(X,1/0));var ht=ut.length+X.length+ft.length,z=ht>1)+ut+X+ft+z.slice(ht);break;default:X=z+ut+X+ft}return T(X)}return O=O===void 0?6:/[gprs]/.test(u)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O)),it.toString=function(){return m+""},it}return{format:v,formatPrefix:function(m,g){var x=v(((m=Object(c.b)(m)).type="f",m)),R=3*Math.max(-8,Math.min(8,Math.floor(Object(W.a)(g)/3))),y=Math.pow(10,-R),b=U[8+R/3];return function(s){return x(y*s)+b}}}}},,,function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return W}),Z.d(wt,"c",function(){return c}),Z.d(wt,"a",function(){return I});var At,W,c,C=Z(40);function I(G){return At=Object(C.a)(G),W=At.format,c=At.formatPrefix,At}I({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(we,wt,Z){"use strict";Z.r(wt);var At=Z(43);Z.d(wt,"formatDefaultLocale",function(){return At.a}),Z.d(wt,"format",function(){return At.b}),Z.d(wt,"formatPrefix",function(){return At.c});var W=Z(40);Z.d(wt,"formatLocale",function(){return W.a});var c=Z(25);Z.d(wt,"formatSpecifier",function(){return c.b}),Z.d(wt,"FormatSpecifier",function(){return c.a});var C=Z(63);Z.d(wt,"precisionFixed",function(){return C.a});var I=Z(64);Z.d(wt,"precisionPrefix",function(){return I.a});var G=Z(65);Z.d(wt,"precisionRound",function(){return G.a})},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return W}),Z.d(wt,"c",function(){return c}),Z.d(wt,"d",function(){return C}),Z.d(wt,"e",function(){return I}),Z.d(wt,"a",function(){return q});var At,W,c,C,I,G=Z(54);function q(J){return At=Object(G.a)(J),W=At.format,c=At.parse,C=At.utcFormat,I=At.utcParse,At}q({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(we,wt,Z){"use strict";Z.r(wt);function At(){}function W(o,T){var w=new At;if(o instanceof At)o.each(function(g,x){w.set(x,g)});else if(Array.isArray(o)){var f,S=-1,v=o.length;if(T==null)for(;++S=f.length)return o!=null&&m.sort(o),T!=null?T(m):m;for(var y,b,s,l=-1,O=m.length,D=f[g++],u=c(),_=x();++lf.length)return x;var y,b=S[R-1];return T!=null&&R>=f.length?y=x.entries():(y=[],x.each(function(s,l){y.push({key:l,values:g(s,R)})})),b!=null?y.sort(function(s,l){return b(s.key,l.key)}):y}(v(m,0,q,J),0)},key:function(m){return f.push(m),w},sortKeys:function(m){return S[f.length-1]=m,w},sortValues:function(m){return o=m,w},rollup:function(m){return T=m,w}}};function I(){return{}}function G(o,T,w){o[T]=w}function q(){return c()}function J(o,T,w){o.set(T,w)}function U(){}var V=c.prototype;function j(o,T){var w=new U;if(o instanceof U)o.each(function(v){w.add(v)});else if(o){var f=-1,S=o.length;if(T==null)for(;++f=12)]},q:function(be){return 1+~~(be.getMonth()/3)},Q:ie,s:ne,S:tt,u:Q,U:K,V:st,w:xt,W:gt,x:null,X:null,y:Tt,Y:vt,Z:Dt,"%":se},Ie={a:function(be){return fe[be.getUTCDay()]},A:function(be){return xe[be.getUTCDay()]},b:function(be){return cn[be.getUTCMonth()]},B:function(be){return $e[be.getUTCMonth()]},c:null,d:Bt,e:Bt,f:Ot,H:Nt,I:Pt,j:Mt,L:mt,m:Yt,M:$t,p:function(be){return oe[+(be.getUTCHours()>=12)]},q:function(be){return 1+~~(be.getUTCMonth()/3)},Q:ie,s:ne,S:ae,u:le,U:Oe,V:Ve,w:rn,W:ln,x:null,X:null,y:nn,Y:bn,Z:un,"%":se},Te={a:function(be,Qe,gn){var Se=Qn.exec(Qe.slice(gn));return Se?(be.w=Sr[Se[0].toLowerCase()],gn+Se[0].length):-1},A:function(be,Qe,gn){var Se=fn.exec(Qe.slice(gn));return Se?(be.w=Mn[Se[0].toLowerCase()],gn+Se[0].length):-1},b:function(be,Qe,gn){var Se=Ue.exec(Qe.slice(gn));return Se?(be.m=pe[Se[0].toLowerCase()],gn+Se[0].length):-1},B:function(be,Qe,gn){var Se=me.exec(Qe.slice(gn));return Se?(be.m=Le[Se[0].toLowerCase()],gn+Se[0].length):-1},c:function(be,Qe,gn){return wn(be,jt,Qe,gn)},d:l,e:l,f:nt,H:D,I:D,j:O,L,m:s,M:u,p:function(be,Qe,gn){var Se=xn.exec(Qe.slice(gn));return Se?(be.p=Wn[Se[0].toLowerCase()],gn+Se[0].length):-1},q:b,Q:it,s:X,S:_,u:S,U:v,V:m,w:f,W:g,x:function(be,Qe,gn){return wn(be,Ut,Qe,gn)},X:function(be,Qe,gn){return wn(be,Ft,Qe,gn)},y:R,Y:x,Z:y,"%":rt};function ke(be,Qe){return function(gn){var Se,yn,Je,hn=[],mn=-1,pn=0,Zn=be.length;for(gn instanceof Date||(gn=new Date(+gn));++mn53)return null;"w"in Je||(Je.w=1),"Z"in Je?(yn=(Se=J(U(Je.y,0,1))).getUTCDay(),Se=yn>4||yn===0?At.c.ceil(Se):Object(At.c)(Se),Se=W.a.offset(Se,7*(Je.V-1)),Je.y=Se.getUTCFullYear(),Je.m=Se.getUTCMonth(),Je.d=Se.getUTCDate()+(Je.w+6)%7):(yn=(Se=q(U(Je.y,0,1))).getDay(),Se=yn>4||yn===0?c.c.ceil(Se):Object(c.c)(Se),Se=C.b.offset(Se,7*(Je.V-1)),Je.y=Se.getFullYear(),Je.m=Se.getMonth(),Je.d=Se.getDate()+(Je.w+6)%7)}else("W"in Je||"U"in Je)&&("w"in Je||(Je.w="u"in Je?Je.u%7:"W"in Je?1:0),yn="Z"in Je?J(U(Je.y,0,1)).getUTCDay():q(U(Je.y,0,1)).getDay(),Je.m=0,Je.d="W"in Je?(Je.w+6)%7+7*Je.W-(yn+5)%7:Je.w+7*Je.U-(yn+6)%7);return"Z"in Je?(Je.H+=Je.Z/100|0,Je.M+=Je.Z%100,J(Je)):q(Je)}}function wn(be,Qe,gn,Se){for(var yn,Je,hn=0,mn=Qe.length,pn=gn.length;hn=pn)return-1;if((yn=Qe.charCodeAt(hn++))===37){if(yn=Qe.charAt(hn++),!(Je=Te[yn in j?Qe.charAt(hn++):yn])||(Se=Je(be,gn,Se))<0)return-1}else if(yn!=gn.charCodeAt(Se++))return-1}return Se}return Pe.x=ke(Ut,Pe),Pe.X=ke(Ft,Pe),Pe.c=ke(jt,Pe),Ie.x=ke(Ut,Ie),Ie.X=ke(Ft,Ie),Ie.c=ke(jt,Ie),{format:function(be){var Qe=ke(be+="",Pe);return Qe.toString=function(){return be},Qe},parse:function(be){var Qe=Ke(be+="",!1);return Qe.toString=function(){return be},Qe},utcFormat:function(be){var Qe=ke(be+="",Ie);return Qe.toString=function(){return be},Qe},utcParse:function(be){var Qe=Ke(be+="",!0);return Qe.toString=function(){return be},Qe}}}var j={"-":"",_:" ",0:"0"},A=/^\s*\d+/,P=/^%/,E=/[\\^$*+?|[\]().{}]/g;function p(Lt,jt,Ut){var Ft=Lt<0?"-":"",oe=(Ft?-Lt:Lt)+"",xe=oe.length;return Ft+(xe68?1900:2e3),Ut+Ft[0].length):-1}function y(Lt,jt,Ut){var Ft=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(jt.slice(Ut,Ut+6));return Ft?(Lt.Z=Ft[1]?0:-(Ft[2]+(Ft[3]||"00")),Ut+Ft[0].length):-1}function b(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+1));return Ft?(Lt.q=3*Ft[0]-3,Ut+Ft[0].length):-1}function s(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.m=Ft[0]-1,Ut+Ft[0].length):-1}function l(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.d=+Ft[0],Ut+Ft[0].length):-1}function O(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+3));return Ft?(Lt.m=0,Lt.d=+Ft[0],Ut+Ft[0].length):-1}function D(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.H=+Ft[0],Ut+Ft[0].length):-1}function u(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.M=+Ft[0],Ut+Ft[0].length):-1}function _(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.S=+Ft[0],Ut+Ft[0].length):-1}function L(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+3));return Ft?(Lt.L=+Ft[0],Ut+Ft[0].length):-1}function nt(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+6));return Ft?(Lt.L=Math.floor(Ft[0]/1e3),Ut+Ft[0].length):-1}function rt(Lt,jt,Ut){var Ft=P.exec(jt.slice(Ut,Ut+1));return Ft?Ut+Ft[0].length:-1}function it(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut));return Ft?(Lt.Q=+Ft[0],Ut+Ft[0].length):-1}function X(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut));return Ft?(Lt.s=+Ft[0],Ut+Ft[0].length):-1}function ct(Lt,jt){return p(Lt.getDate(),jt,2)}function B(Lt,jt){return p(Lt.getHours(),jt,2)}function F(Lt,jt){return p(Lt.getHours()%12||12,jt,2)}function ut(Lt,jt){return p(1+C.b.count(Object(I.a)(Lt),Lt),jt,3)}function ft(Lt,jt){return p(Lt.getMilliseconds(),jt,3)}function et(Lt,jt){return ft(Lt,jt)+"000"}function ht(Lt,jt){return p(Lt.getMonth()+1,jt,2)}function z(Lt,jt){return p(Lt.getMinutes(),jt,2)}function tt(Lt,jt){return p(Lt.getSeconds(),jt,2)}function Q(Lt){var jt=Lt.getDay();return jt===0?7:jt}function K(Lt,jt){return p(c.g.count(Object(I.a)(Lt)-1,Lt),jt,2)}function st(Lt,jt){var Ut=Lt.getDay();return Lt=Ut>=4||Ut===0?Object(c.i)(Lt):c.i.ceil(Lt),p(c.i.count(Object(I.a)(Lt),Lt)+(Object(I.a)(Lt).getDay()===4),jt,2)}function xt(Lt){return Lt.getDay()}function gt(Lt,jt){return p(c.c.count(Object(I.a)(Lt)-1,Lt),jt,2)}function Tt(Lt,jt){return p(Lt.getFullYear()%100,jt,2)}function vt(Lt,jt){return p(Lt.getFullYear()%1e4,jt,4)}function Dt(Lt){var jt=Lt.getTimezoneOffset();return(jt>0?"-":(jt*=-1,"+"))+p(jt/60|0,"0",2)+p(jt%60,"0",2)}function Bt(Lt,jt){return p(Lt.getUTCDate(),jt,2)}function Nt(Lt,jt){return p(Lt.getUTCHours(),jt,2)}function Pt(Lt,jt){return p(Lt.getUTCHours()%12||12,jt,2)}function Mt(Lt,jt){return p(1+W.a.count(Object(G.a)(Lt),Lt),jt,3)}function mt(Lt,jt){return p(Lt.getUTCMilliseconds(),jt,3)}function Ot(Lt,jt){return mt(Lt,jt)+"000"}function Yt(Lt,jt){return p(Lt.getUTCMonth()+1,jt,2)}function $t(Lt,jt){return p(Lt.getUTCMinutes(),jt,2)}function ae(Lt,jt){return p(Lt.getUTCSeconds(),jt,2)}function le(Lt){var jt=Lt.getUTCDay();return jt===0?7:jt}function Oe(Lt,jt){return p(At.g.count(Object(G.a)(Lt)-1,Lt),jt,2)}function Ve(Lt,jt){var Ut=Lt.getUTCDay();return Lt=Ut>=4||Ut===0?Object(At.i)(Lt):At.i.ceil(Lt),p(At.i.count(Object(G.a)(Lt),Lt)+(Object(G.a)(Lt).getUTCDay()===4),jt,2)}function rn(Lt){return Lt.getUTCDay()}function ln(Lt,jt){return p(At.c.count(Object(G.a)(Lt)-1,Lt),jt,2)}function nn(Lt,jt){return p(Lt.getUTCFullYear()%100,jt,2)}function bn(Lt,jt){return p(Lt.getUTCFullYear()%1e4,jt,4)}function un(){return"+0000"}function se(){return"%"}function ie(Lt){return+Lt}function ne(Lt){return Math.floor(+Lt/1e3)}},function(we,wt,Z){"use strict";var At=Z(6),W=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,c=new RegExp(W.source,"g");wt.a=function(C,I){var G,q,J,U=W.lastIndex=c.lastIndex=0,V=-1,j=[],A=[];for(C+="",I+="";(G=W.exec(C))&&(q=c.exec(I));)(J=q.index)>U&&(J=I.slice(U,J),j[V]?j[V]+=J:j[++V]=J),(G=G[0])===(q=q[0])?j[V]?j[V]+=q:j[++V]=q:(j[++V]=null,A.push({i:V,x:Object(At.a)(G,q)})),U=c.lastIndex;return U=0&&(V=U.slice(j+1),U=U.slice(0,j)),U&&!J.hasOwnProperty(U))throw new Error("unknown type: "+U);return{type:U,name:V}})}function I(q,J){for(var U,V=0,j=q.length;V0)for(var U,V,j=new Array(U),A=0;A=0))throw S(w,new Error(vt.tagName+"@"+Bt));for(var Pt=Dt.length-1;Nt"&&">")||vt=="&"&&"&"||vt=='"'&&"""||"&#"+vt.charCodeAt()+";"}function D(vt,Dt){if(Dt(vt))return!0;if(vt=vt.firstChild)do if(D(vt,Dt))return!0;while(vt=vt.nextSibling)}function u(){}function _(vt,Dt,Bt,Nt){vt&&vt._inc++,Bt.namespaceURI=="http://www.w3.org/2000/xmlns/"&&delete Dt._nsMap[Bt.prefix?Bt.localName:""]}function L(vt,Dt,Bt){if(vt&&vt._inc){vt._inc++;var Nt=Dt.childNodes;if(Bt)Nt[Nt.length++]=Bt;else{for(var Pt=Dt.firstChild,Mt=0;Pt;)Nt[Mt++]=Pt,Pt=Pt.nextSibling;Nt.length=Mt}}}function nt(vt,Dt){var Bt=Dt.previousSibling,Nt=Dt.nextSibling;return Bt?Bt.nextSibling=Nt:vt.firstChild=Nt,Nt?Nt.previousSibling=Bt:vt.lastChild=Bt,L(vt.ownerDocument,vt),Dt}function rt(vt,Dt,Bt){var Nt=Dt.parentNode;if(Nt&&Nt.removeChild(Dt),Dt.nodeType===P){var Pt=Dt.firstChild;if(Pt==null)return Dt;var Mt=Dt.lastChild}else Pt=Mt=Dt;var mt=Bt?Bt.previousSibling:vt.lastChild;Pt.previousSibling=mt,Mt.nextSibling=Bt,mt?mt.nextSibling=Pt:vt.firstChild=Pt,Bt==null?vt.lastChild=Mt:Bt.previousSibling=Mt;do Pt.parentNode=vt;while(Pt!==Mt&&(Pt=Pt.nextSibling));return L(vt.ownerDocument||vt,vt),Dt.nodeType==P&&(Dt.firstChild=Dt.lastChild=null),Dt}function it(){this._nsMap={}}function X(){}function ct(){}function B(){}function F(){}function ut(){}function ft(){}function et(){}function ht(){}function z(){}function tt(){}function Q(){}function K(){}function st(vt,Dt){var Bt=[],Nt=this.nodeType==9?this.documentElement:this,Pt=Nt.prefix,Mt=Nt.namespaceURI;if(Mt&&Pt==null&&(Pt=Nt.lookupPrefix(Mt))==null)var mt=[{namespace:Mt,prefix:null}];return gt(this,Bt,vt,Dt,mt),Bt.join("")}function xt(vt,Dt,Bt){var Nt=vt.prefix||"",Pt=vt.namespaceURI;if(!Nt&&!Pt||Nt==="xml"&&Pt==="http://www.w3.org/XML/1998/namespace"||Pt=="http://www.w3.org/2000/xmlns/")return!1;for(var Mt=Bt.length;Mt--;){var mt=Bt[Mt];if(mt.prefix==Nt)return mt.namespace!=Pt}return!0}function gt(vt,Dt,Bt,Nt,Pt){if(Nt){if(!(vt=Nt(vt)))return;if(typeof vt=="string")return void Dt.push(vt)}switch(vt.nodeType){case c:Pt||(Pt=[]),Pt.length;var Mt=vt.attributes,mt=Mt.length,Ot=vt.firstChild,Yt=vt.tagName;Bt=vt.namespaceURI==="http://www.w3.org/1999/xhtml"||Bt,Dt.push("<",Yt);for(var $t=0;$t"),Bt&&/^script$/i.test(Yt))for(;Ot;)Ot.data?Dt.push(Ot.data):gt(Ot,Dt,Bt,Nt,Pt),Ot=Ot.nextSibling;else for(;Ot;)gt(Ot,Dt,Bt,Nt,Pt),Ot=Ot.nextSibling;Dt.push("")}else Dt.push("/>");return;case j:case P:for(Ot=vt.firstChild;Ot;)gt(Ot,Dt,Bt,Nt,Pt),Ot=Ot.nextSibling;return;case C:return Dt.push(" ",vt.name,'="',vt.value.replace(/[<&"]/g,O),'"');case I:return Dt.push(vt.data.replace(/[<&]/g,O));case G:return Dt.push("");case V:return Dt.push("");case A:var rn=vt.publicId,ln=vt.systemId;if(Dt.push("');else if(ln&&ln!=".")Dt.push(' SYSTEM "',ln,'">');else{var nn=vt.internalSubset;nn&&Dt.push(" [",nn,"]"),Dt.push(">")}return;case U:return Dt.push("");case q:return Dt.push("&",vt.nodeName,";");default:Dt.push("??",vt.nodeName)}}function Tt(vt,Dt,Bt){vt[Dt]=Bt}S.prototype=Error.prototype,Z(p,S),v.prototype={length:0,item:function(vt){return this[vt]||null},toString:function(vt,Dt){for(var Bt=[],Nt=0;Nt0},lookupPrefix:function(vt){for(var Dt=this;Dt;){var Bt=Dt._nsMap;if(Bt){for(var Nt in Bt)if(Bt[Nt]==vt)return Nt}Dt=Dt.nodeType==C?Dt.ownerDocument:Dt.parentNode}return null},lookupNamespaceURI:function(vt){for(var Dt=this;Dt;){var Bt=Dt._nsMap;if(Bt&&vt in Bt)return Bt[vt];Dt=Dt.nodeType==C?Dt.ownerDocument:Dt.parentNode}return null},isDefaultNamespace:function(vt){return this.lookupPrefix(vt)==null}},Z(W,l),Z(W,l.prototype),u.prototype={nodeName:"#document",nodeType:j,doctype:null,documentElement:null,_inc:1,insertBefore:function(vt,Dt){if(vt.nodeType==P){for(var Bt=vt.firstChild;Bt;){var Nt=Bt.nextSibling;this.insertBefore(Bt,Dt),Bt=Nt}return vt}return this.documentElement==null&&vt.nodeType==c&&(this.documentElement=vt),rt(this,vt,Dt),vt.ownerDocument=this,vt},removeChild:function(vt){return this.documentElement==vt&&(this.documentElement=null),nt(this,vt)},importNode:function(vt,Dt){return function Bt(Nt,Pt,Mt){var mt;switch(Pt.nodeType){case c:(mt=Pt.cloneNode(!1)).ownerDocument=Nt;case P:break;case C:Mt=!0}if(mt||(mt=Pt.cloneNode(!1)),mt.ownerDocument=Nt,mt.parentNode=null,Mt)for(var Ot=Pt.firstChild;Ot;)mt.appendChild(Bt(Nt,Ot,Mt)),Ot=Ot.nextSibling;return mt}(this,vt,Dt)},getElementById:function(vt){var Dt=null;return D(this.documentElement,function(Bt){if(Bt.nodeType==c&&Bt.getAttribute("id")==vt)return Dt=Bt,!0}),Dt},createElement:function(vt){var Dt=new it;return Dt.ownerDocument=this,Dt.nodeName=vt,Dt.tagName=vt,Dt.childNodes=new v,(Dt.attributes=new x)._ownerElement=Dt,Dt},createDocumentFragment:function(){var vt=new tt;return vt.ownerDocument=this,vt.childNodes=new v,vt},createTextNode:function(vt){var Dt=new B;return Dt.ownerDocument=this,Dt.appendData(vt),Dt},createComment:function(vt){var Dt=new F;return Dt.ownerDocument=this,Dt.appendData(vt),Dt},createCDATASection:function(vt){var Dt=new ut;return Dt.ownerDocument=this,Dt.appendData(vt),Dt},createProcessingInstruction:function(vt,Dt){var Bt=new Q;return Bt.ownerDocument=this,Bt.tagName=Bt.target=vt,Bt.nodeValue=Bt.data=Dt,Bt},createAttribute:function(vt){var Dt=new X;return Dt.ownerDocument=this,Dt.name=vt,Dt.nodeName=vt,Dt.localName=vt,Dt.specified=!0,Dt},createEntityReference:function(vt){var Dt=new z;return Dt.ownerDocument=this,Dt.nodeName=vt,Dt},createElementNS:function(vt,Dt){var Bt=new it,Nt=Dt.split(":"),Pt=Bt.attributes=new x;return Bt.childNodes=new v,Bt.ownerDocument=this,Bt.nodeName=Dt,Bt.tagName=Dt,Bt.namespaceURI=vt,Nt.length==2?(Bt.prefix=Nt[0],Bt.localName=Nt[1]):Bt.localName=Dt,Pt._ownerElement=Bt,Bt},createAttributeNS:function(vt,Dt){var Bt=new X,Nt=Dt.split(":");return Bt.ownerDocument=this,Bt.nodeName=Dt,Bt.name=Dt,Bt.namespaceURI=vt,Bt.specified=!0,Nt.length==2?(Bt.prefix=Nt[0],Bt.localName=Nt[1]):Bt.localName=Dt,Bt}},At(u,l),it.prototype={nodeType:c,hasAttribute:function(vt){return this.getAttributeNode(vt)!=null},getAttribute:function(vt){var Dt=this.getAttributeNode(vt);return Dt&&Dt.value||""},getAttributeNode:function(vt){return this.attributes.getNamedItem(vt)},setAttribute:function(vt,Dt){var Bt=this.ownerDocument.createAttribute(vt);Bt.value=Bt.nodeValue=""+Dt,this.setAttributeNode(Bt)},removeAttribute:function(vt){var Dt=this.getAttributeNode(vt);Dt&&this.removeAttributeNode(Dt)},appendChild:function(vt){return vt.nodeType===P?this.insertBefore(vt,null):function(Dt,Bt){var Nt=Bt.parentNode;if(Nt){var Pt=Dt.lastChild;Nt.removeChild(Bt),Pt=Dt.lastChild}return Pt=Dt.lastChild,Bt.parentNode=Dt,Bt.previousSibling=Pt,Bt.nextSibling=null,Pt?Pt.nextSibling=Bt:Dt.firstChild=Bt,Dt.lastChild=Bt,L(Dt.ownerDocument,Dt,Bt),Bt}(this,vt)},setAttributeNode:function(vt){return this.attributes.setNamedItem(vt)},setAttributeNodeNS:function(vt){return this.attributes.setNamedItemNS(vt)},removeAttributeNode:function(vt){return this.attributes.removeNamedItem(vt.nodeName)},removeAttributeNS:function(vt,Dt){var Bt=this.getAttributeNodeNS(vt,Dt);Bt&&this.removeAttributeNode(Bt)},hasAttributeNS:function(vt,Dt){return this.getAttributeNodeNS(vt,Dt)!=null},getAttributeNS:function(vt,Dt){var Bt=this.getAttributeNodeNS(vt,Dt);return Bt&&Bt.value||""},setAttributeNS:function(vt,Dt,Bt){var Nt=this.ownerDocument.createAttributeNS(vt,Dt);Nt.value=Nt.nodeValue=""+Bt,this.setAttributeNode(Nt)},getAttributeNodeNS:function(vt,Dt){return this.attributes.getNamedItemNS(vt,Dt)},getElementsByTagName:function(vt){return new m(this,function(Dt){var Bt=[];return D(Dt,function(Nt){Nt===Dt||Nt.nodeType!=c||vt!=="*"&&Nt.tagName!=vt||Bt.push(Nt)}),Bt})},getElementsByTagNameNS:function(vt,Dt){return new m(this,function(Bt){var Nt=[];return D(Bt,function(Pt){Pt===Bt||Pt.nodeType!==c||vt!=="*"&&Pt.namespaceURI!==vt||Dt!=="*"&&Pt.localName!=Dt||Nt.push(Pt)}),Nt})}},u.prototype.getElementsByTagName=it.prototype.getElementsByTagName,u.prototype.getElementsByTagNameNS=it.prototype.getElementsByTagNameNS,At(it,l),X.prototype.nodeType=C,At(X,l),ct.prototype={data:"",substringData:function(vt,Dt){return this.data.substring(vt,vt+Dt)},appendData:function(vt){vt=this.data+vt,this.nodeValue=this.data=vt,this.length=vt.length},insertData:function(vt,Dt){this.replaceData(vt,0,Dt)},appendChild:function(vt){throw new Error(o[T])},deleteData:function(vt,Dt){this.replaceData(vt,Dt,"")},replaceData:function(vt,Dt,Bt){Bt=this.data.substring(0,vt)+Bt+this.data.substring(vt+Dt),this.nodeValue=this.data=Bt,this.length=Bt.length}},At(ct,l),B.prototype={nodeName:"#text",nodeType:I,splitText:function(vt){var Dt=this.data,Bt=Dt.substring(vt);Dt=Dt.substring(0,vt),this.data=this.nodeValue=Dt,this.length=Dt.length;var Nt=this.ownerDocument.createTextNode(Bt);return this.parentNode&&this.parentNode.insertBefore(Nt,this.nextSibling),Nt}},At(B,ct),F.prototype={nodeName:"#comment",nodeType:V},At(F,ct),ut.prototype={nodeName:"#cdata-section",nodeType:G},At(ut,ct),ft.prototype.nodeType=A,At(ft,l),et.prototype.nodeType=E,At(et,l),ht.prototype.nodeType=J,At(ht,l),z.prototype.nodeType=q,At(z,l),tt.prototype.nodeName="#document-fragment",tt.prototype.nodeType=P,At(tt,l),Q.prototype.nodeType=U,At(Q,l),K.prototype.serializeToString=function(vt,Dt,Bt){return st.call(vt,Dt,Bt)},l.prototype.toString=st;try{Object.defineProperty&&(Object.defineProperty(m.prototype,"length",{get:function(){return g(this),this.$$length}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return function vt(Dt){switch(Dt.nodeType){case c:case P:var Bt=[];for(Dt=Dt.firstChild;Dt;)Dt.nodeType!==7&&Dt.nodeType!==8&&Bt.push(vt(Dt)),Dt=Dt.nextSibling;return Bt.join("");default:return Dt.nodeValue}}(this)},set:function(vt){switch(this.nodeType){case c:case P:for(;this.firstChild;)this.removeChild(this.firstChild);(vt||String(vt))&&this.appendChild(this.ownerDocument.createTextNode(vt));break;default:this.data=vt,this.value=vt,this.nodeValue=vt}}}),Tt=function(vt,Dt,Bt){vt["$$"+Dt]=Bt})}catch(vt){}wt.DOMImplementation=s,wt.XMLSerializer=K},,function(we,wt,Z){"use strict";Z.r(wt);var At=Math.PI,W=2*At,c=W-1e-6;function C(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function I(){return new C}C.prototype=I.prototype={constructor:C,moveTo:function(dt,Rt){this._+="M"+(this._x0=this._x1=+dt)+","+(this._y0=this._y1=+Rt)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(dt,Rt){this._+="L"+(this._x1=+dt)+","+(this._y1=+Rt)},quadraticCurveTo:function(dt,Rt,Gt,_t){this._+="Q"+ +dt+","+ +Rt+","+(this._x1=+Gt)+","+(this._y1=+_t)},bezierCurveTo:function(dt,Rt,Gt,_t,Vt,te){this._+="C"+ +dt+","+ +Rt+","+ +Gt+","+ +_t+","+(this._x1=+Vt)+","+(this._y1=+te)},arcTo:function(dt,Rt,Gt,_t,Vt){dt=+dt,Rt=+Rt,Gt=+Gt,_t=+_t,Vt=+Vt;var te=this._x1,ue=this._y1,ce=Gt-dt,_e=_t-Rt,Ye=te-dt,Be=ue-Rt,Ze=Ye*Ye+Be*Be;if(Vt<0)throw new Error("negative radius: "+Vt);if(this._x1===null)this._+="M"+(this._x1=dt)+","+(this._y1=Rt);else if(Ze>1e-6)if(Math.abs(Be*ce-_e*Ye)>1e-6&&Vt){var En=Gt-te,Rn=_t-ue,Un=ce*ce+_e*_e,fr=En*En+Rn*Rn,rr=Math.sqrt(Un),Gn=Math.sqrt(Ze),sr=Vt*Math.tan((At-Math.acos((Un+Ze-fr)/(2*rr*Gn)))/2),Cr=sr/Gn,xr=sr/rr;Math.abs(Cr-1)>1e-6&&(this._+="L"+(dt+Cr*Ye)+","+(Rt+Cr*Be)),this._+="A"+Vt+","+Vt+",0,0,"+ +(Be*En>Ye*Rn)+","+(this._x1=dt+xr*ce)+","+(this._y1=Rt+xr*_e)}else this._+="L"+(this._x1=dt)+","+(this._y1=Rt)},arc:function(dt,Rt,Gt,_t,Vt,te){dt=+dt,Rt=+Rt,te=!!te;var ue=(Gt=+Gt)*Math.cos(_t),ce=Gt*Math.sin(_t),_e=dt+ue,Ye=Rt+ce,Be=1^te,Ze=te?_t-Vt:Vt-_t;if(Gt<0)throw new Error("negative radius: "+Gt);this._x1===null?this._+="M"+_e+","+Ye:(Math.abs(this._x1-_e)>1e-6||Math.abs(this._y1-Ye)>1e-6)&&(this._+="L"+_e+","+Ye),Gt&&(Ze<0&&(Ze=Ze%W+W),Ze>c?this._+="A"+Gt+","+Gt+",0,1,"+Be+","+(dt-ue)+","+(Rt-ce)+"A"+Gt+","+Gt+",0,1,"+Be+","+(this._x1=_e)+","+(this._y1=Ye):Ze>1e-6&&(this._+="A"+Gt+","+Gt+",0,"+ +(Ze>=At)+","+Be+","+(this._x1=dt+Gt*Math.cos(Vt))+","+(this._y1=Rt+Gt*Math.sin(Vt))))},rect:function(dt,Rt,Gt,_t){this._+="M"+(this._x0=this._x1=+dt)+","+(this._y0=this._y1=+Rt)+"h"+ +Gt+"v"+ +_t+"h"+-Gt+"Z"},toString:function(){return this._}};var G=I,q=function(dt){return function(){return dt}},J=Math.abs,U=Math.atan2,V=Math.cos,j=Math.max,A=Math.min,P=Math.sin,E=Math.sqrt,p=Math.PI,o=p/2,T=2*p;function w(dt){return dt>1?0:dt<-1?p:Math.acos(dt)}function f(dt){return dt>=1?o:dt<=-1?-o:Math.asin(dt)}function S(dt){return dt.innerRadius}function v(dt){return dt.outerRadius}function m(dt){return dt.startAngle}function g(dt){return dt.endAngle}function x(dt){return dt&&dt.padAngle}function R(dt,Rt,Gt,_t,Vt,te,ue,ce){var _e=Gt-dt,Ye=_t-Rt,Be=ue-Vt,Ze=ce-te,En=Ze*_e-Be*Ye;if(!(En*En<1e-12))return[dt+(En=(Be*(Rt-te)-Ze*(dt-Vt))/En)*_e,Rt+En*Ye]}function y(dt,Rt,Gt,_t,Vt,te,ue){var ce=dt-Gt,_e=Rt-_t,Ye=(ue?te:-te)/E(ce*ce+_e*_e),Be=Ye*_e,Ze=-Ye*ce,En=dt+Be,Rn=Rt+Ze,Un=Gt+Be,fr=_t+Ze,rr=(En+Un)/2,Gn=(Rn+fr)/2,sr=Un-En,Cr=fr-Rn,xr=sr*sr+Cr*Cr,Ir=Vt-te,Kr=En*fr-Un*Rn,ci=(Cr<0?-1:1)*E(j(0,Ir*Ir*xr-Kr*Kr)),Ni=(Kr*Cr-sr*ci)/xr,Ai=(-Kr*sr-Cr*ci)/xr,yi=(Kr*Cr+sr*ci)/xr,Pi=(-Kr*sr+Cr*ci)/xr,Di=Ni-rr,Oi=Ai-Gn,Wi=yi-rr,eo=Pi-Gn;return Di*Di+Oi*Oi>Wi*Wi+eo*eo&&(Ni=yi,Ai=Pi),{cx:Ni,cy:Ai,x01:-Be,y01:-Ze,x11:Ni*(Vt/Ir-1),y11:Ai*(Vt/Ir-1)}}var b=function(){var dt=S,Rt=v,Gt=q(0),_t=null,Vt=m,te=g,ue=x,ce=null;function _e(){var Ye,Be,Ze=+dt.apply(this,arguments),En=+Rt.apply(this,arguments),Rn=Vt.apply(this,arguments)-o,Un=te.apply(this,arguments)-o,fr=J(Un-Rn),rr=Un>Rn;if(ce||(ce=Ye=G()),En1e-12)if(fr>T-1e-12)ce.moveTo(En*V(Rn),En*P(Rn)),ce.arc(0,0,En,Rn,Un,!rr),Ze>1e-12&&(ce.moveTo(Ze*V(Un),Ze*P(Un)),ce.arc(0,0,Ze,Un,Rn,rr));else{var Gn,sr,Cr=Rn,xr=Un,Ir=Rn,Kr=Un,ci=fr,Ni=fr,Ai=ue.apply(this,arguments)/2,yi=Ai>1e-12&&(_t?+_t.apply(this,arguments):E(Ze*Ze+En*En)),Pi=A(J(En-Ze)/2,+Gt.apply(this,arguments)),Di=Pi,Oi=Pi;if(yi>1e-12){var Wi=f(yi/Ze*P(Ai)),eo=f(yi/En*P(Ai));(ci-=2*Wi)>1e-12?(Ir+=Wi*=rr?1:-1,Kr-=Wi):(ci=0,Ir=Kr=(Rn+Un)/2),(Ni-=2*eo)>1e-12?(Cr+=eo*=rr?1:-1,xr-=eo):(Ni=0,Cr=xr=(Rn+Un)/2)}var $i=En*V(Cr),Mo=En*P(Cr),Lo=Ze*V(Kr),fo=Ze*P(Kr);if(Pi>1e-12){var no,_o=En*V(xr),Yo=En*P(xr),uo=Ze*V(Ir),Mi=Ze*P(Ir);if(fr1e-12?Oi>1e-12?(Gn=y(uo,Mi,$i,Mo,En,Oi,rr),sr=y(_o,Yo,Lo,fo,En,Oi,rr),ce.moveTo(Gn.cx+Gn.x01,Gn.cy+Gn.y01),Oi1e-12&&ci>1e-12?Di>1e-12?(Gn=y(Lo,fo,_o,Yo,Ze,-Di,rr),sr=y($i,Mo,uo,Mi,Ze,-Di,rr),ce.lineTo(Gn.cx+Gn.x01,Gn.cy+Gn.y01),Di=En;--Rn)ce.point(sr[Rn],Cr[Rn]);ce.lineEnd(),ce.areaEnd()}Gn&&(sr[Ze]=+dt(Un,Ze,Be),Cr[Ze]=+Gt(Un,Ze,Be),ce.point(Rt?+Rt(Un,Ze,Be):sr[Ze],_t?+_t(Un,Ze,Be):Cr[Ze]))}if(fr)return ce=null,fr+""||null}function Ye(){return u().defined(Vt).curve(ue).context(te)}return _e.x=function(Be){return arguments.length?(dt=typeof Be=="function"?Be:q(+Be),Rt=null,_e):dt},_e.x0=function(Be){return arguments.length?(dt=typeof Be=="function"?Be:q(+Be),_e):dt},_e.x1=function(Be){return arguments.length?(Rt=Be==null?null:typeof Be=="function"?Be:q(+Be),_e):Rt},_e.y=function(Be){return arguments.length?(Gt=typeof Be=="function"?Be:q(+Be),_t=null,_e):Gt},_e.y0=function(Be){return arguments.length?(Gt=typeof Be=="function"?Be:q(+Be),_e):Gt},_e.y1=function(Be){return arguments.length?(_t=Be==null?null:typeof Be=="function"?Be:q(+Be),_e):_t},_e.lineX0=_e.lineY0=function(){return Ye().x(dt).y(Gt)},_e.lineY1=function(){return Ye().x(dt).y(_t)},_e.lineX1=function(){return Ye().x(Rt).y(Gt)},_e.defined=function(Be){return arguments.length?(Vt=typeof Be=="function"?Be:q(!!Be),_e):Vt},_e.curve=function(Be){return arguments.length?(ue=Be,te!=null&&(ce=ue(te)),_e):ue},_e.context=function(Be){return arguments.length?(Be==null?te=ce=null:ce=ue(te=Be),_e):te},_e},L=function(dt,Rt){return Rtdt?1:Rt>=dt?0:NaN},nt=function(dt){return dt},rt=function(){var dt=nt,Rt=L,Gt=null,_t=q(0),Vt=q(T),te=q(0);function ue(ce){var _e,Ye,Be,Ze,En,Rn=ce.length,Un=0,fr=new Array(Rn),rr=new Array(Rn),Gn=+_t.apply(this,arguments),sr=Math.min(T,Math.max(-T,Vt.apply(this,arguments)-Gn)),Cr=Math.min(Math.abs(sr)/Rn,te.apply(this,arguments)),xr=Cr*(sr<0?-1:1);for(_e=0;_e0&&(Un+=En);for(Rt!=null?fr.sort(function(Ir,Kr){return Rt(rr[Ir],rr[Kr])}):Gt!=null&&fr.sort(function(Ir,Kr){return Gt(ce[Ir],ce[Kr])}),_e=0,Be=Un?(sr-Rn*xr)/Un:0;_e0?En*Be:0)+xr,rr[Ye]={data:ce[Ye],index:_e,value:En,startAngle:Gn,endAngle:Ze,padAngle:Cr};return rr}return ue.value=function(ce){return arguments.length?(dt=typeof ce=="function"?ce:q(+ce),ue):dt},ue.sortValues=function(ce){return arguments.length?(Rt=ce,Gt=null,ue):Rt},ue.sort=function(ce){return arguments.length?(Gt=ce,Rt=null,ue):Gt},ue.startAngle=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:q(+ce),ue):_t},ue.endAngle=function(ce){return arguments.length?(Vt=typeof ce=="function"?ce:q(+ce),ue):Vt},ue.padAngle=function(ce){return arguments.length?(te=typeof ce=="function"?ce:q(+ce),ue):te},ue},it=ct(l);function X(dt){this._curve=dt}function ct(dt){function Rt(Gt){return new X(dt(Gt))}return Rt._curve=dt,Rt}function B(dt){var Rt=dt.curve;return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt.curve=function(Gt){return arguments.length?Rt(ct(Gt)):Rt()._curve},dt}X.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(dt,Rt){this._curve.point(Rt*Math.sin(dt),Rt*-Math.cos(dt))}};var F=function(){return B(u().curve(it))},ut=function(){var dt=_().curve(it),Rt=dt.curve,Gt=dt.lineX0,_t=dt.lineX1,Vt=dt.lineY0,te=dt.lineY1;return dt.angle=dt.x,delete dt.x,dt.startAngle=dt.x0,delete dt.x0,dt.endAngle=dt.x1,delete dt.x1,dt.radius=dt.y,delete dt.y,dt.innerRadius=dt.y0,delete dt.y0,dt.outerRadius=dt.y1,delete dt.y1,dt.lineStartAngle=function(){return B(Gt())},delete dt.lineX0,dt.lineEndAngle=function(){return B(_t())},delete dt.lineX1,dt.lineInnerRadius=function(){return B(Vt())},delete dt.lineY0,dt.lineOuterRadius=function(){return B(te())},delete dt.lineY1,dt.curve=function(ue){return arguments.length?Rt(ct(ue)):Rt()._curve},dt},ft=function(dt,Rt){return[(Rt=+Rt)*Math.cos(dt-=Math.PI/2),Rt*Math.sin(dt)]},et=Array.prototype.slice;function ht(dt){return dt.source}function z(dt){return dt.target}function tt(dt){var Rt=ht,Gt=z,_t=O,Vt=D,te=null;function ue(){var ce,_e=et.call(arguments),Ye=Rt.apply(this,_e),Be=Gt.apply(this,_e);if(te||(te=ce=G()),dt(te,+_t.apply(this,(_e[0]=Ye,_e)),+Vt.apply(this,_e),+_t.apply(this,(_e[0]=Be,_e)),+Vt.apply(this,_e)),ce)return te=null,ce+""||null}return ue.source=function(ce){return arguments.length?(Rt=ce,ue):Rt},ue.target=function(ce){return arguments.length?(Gt=ce,ue):Gt},ue.x=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:q(+ce),ue):_t},ue.y=function(ce){return arguments.length?(Vt=typeof ce=="function"?ce:q(+ce),ue):Vt},ue.context=function(ce){return arguments.length?(te=ce==null?null:ce,ue):te},ue}function Q(dt,Rt,Gt,_t,Vt){dt.moveTo(Rt,Gt),dt.bezierCurveTo(Rt=(Rt+_t)/2,Gt,Rt,Vt,_t,Vt)}function K(dt,Rt,Gt,_t,Vt){dt.moveTo(Rt,Gt),dt.bezierCurveTo(Rt,Gt=(Gt+Vt)/2,_t,Gt,_t,Vt)}function st(dt,Rt,Gt,_t,Vt){var te=ft(Rt,Gt),ue=ft(Rt,Gt=(Gt+Vt)/2),ce=ft(_t,Gt),_e=ft(_t,Vt);dt.moveTo(te[0],te[1]),dt.bezierCurveTo(ue[0],ue[1],ce[0],ce[1],_e[0],_e[1])}function xt(){return tt(Q)}function gt(){return tt(K)}function Tt(){var dt=tt(st);return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt}var vt={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/p);dt.moveTo(Gt,0),dt.arc(0,0,Gt,0,T)}},Dt={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/5)/2;dt.moveTo(-3*Gt,-Gt),dt.lineTo(-Gt,-Gt),dt.lineTo(-Gt,-3*Gt),dt.lineTo(Gt,-3*Gt),dt.lineTo(Gt,-Gt),dt.lineTo(3*Gt,-Gt),dt.lineTo(3*Gt,Gt),dt.lineTo(Gt,Gt),dt.lineTo(Gt,3*Gt),dt.lineTo(-Gt,3*Gt),dt.lineTo(-Gt,Gt),dt.lineTo(-3*Gt,Gt),dt.closePath()}},Bt=Math.sqrt(1/3),Nt=2*Bt,Pt={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/Nt),_t=Gt*Bt;dt.moveTo(0,-Gt),dt.lineTo(_t,0),dt.lineTo(0,Gt),dt.lineTo(-_t,0),dt.closePath()}},Mt=Math.sin(p/10)/Math.sin(7*p/10),mt=Math.sin(T/10)*Mt,Ot=-Math.cos(T/10)*Mt,Yt={draw:function(dt,Rt){var Gt=Math.sqrt(.8908130915292852*Rt),_t=mt*Gt,Vt=Ot*Gt;dt.moveTo(0,-Gt),dt.lineTo(_t,Vt);for(var te=1;te<5;++te){var ue=T*te/5,ce=Math.cos(ue),_e=Math.sin(ue);dt.lineTo(_e*Gt,-ce*Gt),dt.lineTo(ce*_t-_e*Vt,_e*_t+ce*Vt)}dt.closePath()}},$t={draw:function(dt,Rt){var Gt=Math.sqrt(Rt),_t=-Gt/2;dt.rect(_t,_t,Gt,Gt)}},ae=Math.sqrt(3),le={draw:function(dt,Rt){var Gt=-Math.sqrt(Rt/(3*ae));dt.moveTo(0,2*Gt),dt.lineTo(-ae*Gt,-Gt),dt.lineTo(ae*Gt,-Gt),dt.closePath()}},Oe=Math.sqrt(3)/2,Ve=1/Math.sqrt(12),rn=3*(Ve/2+1),ln={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/rn),_t=Gt/2,Vt=Gt*Ve,te=_t,ue=Gt*Ve+Gt,ce=-te,_e=ue;dt.moveTo(_t,Vt),dt.lineTo(te,ue),dt.lineTo(ce,_e),dt.lineTo(-.5*_t-Oe*Vt,Oe*_t+-.5*Vt),dt.lineTo(-.5*te-Oe*ue,Oe*te+-.5*ue),dt.lineTo(-.5*ce-Oe*_e,Oe*ce+-.5*_e),dt.lineTo(-.5*_t+Oe*Vt,-.5*Vt-Oe*_t),dt.lineTo(-.5*te+Oe*ue,-.5*ue-Oe*te),dt.lineTo(-.5*ce+Oe*_e,-.5*_e-Oe*ce),dt.closePath()}},nn=[vt,Dt,Pt,$t,Yt,le,ln],bn=function(){var dt=q(vt),Rt=q(64),Gt=null;function _t(){var Vt;if(Gt||(Gt=Vt=G()),dt.apply(this,arguments).draw(Gt,+Rt.apply(this,arguments)),Vt)return Gt=null,Vt+""||null}return _t.type=function(Vt){return arguments.length?(dt=typeof Vt=="function"?Vt:q(Vt),_t):dt},_t.size=function(Vt){return arguments.length?(Rt=typeof Vt=="function"?Vt:q(+Vt),_t):Rt},_t.context=function(Vt){return arguments.length?(Gt=Vt==null?null:Vt,_t):Gt},_t},un=function(){};function se(dt,Rt,Gt){dt._context.bezierCurveTo((2*dt._x0+dt._x1)/3,(2*dt._y0+dt._y1)/3,(dt._x0+2*dt._x1)/3,(dt._y0+2*dt._y1)/3,(dt._x0+4*dt._x1+Rt)/6,(dt._y0+4*dt._y1+Gt)/6)}function ie(dt){this._context=dt}ie.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:se(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);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:se(this,dt,Rt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt}};var ne=function(dt){return new ie(dt)};function Lt(dt){this._context=dt}Lt.prototype={areaStart:un,areaEnd:un,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(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._x2=dt,this._y2=Rt;break;case 1:this._point=2,this._x3=dt,this._y3=Rt;break;case 2:this._point=3,this._x4=dt,this._y4=Rt,this._context.moveTo((this._x0+4*this._x1+dt)/6,(this._y0+4*this._y1+Rt)/6);break;default:se(this,dt,Rt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt}};var jt=function(dt){return new Lt(dt)};function Ut(dt){this._context=dt}Ut.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var Gt=(this._x0+4*this._x1+dt)/6,_t=(this._y0+4*this._y1+Rt)/6;this._line?this._context.lineTo(Gt,_t):this._context.moveTo(Gt,_t);break;case 3:this._point=4;default:se(this,dt,Rt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt}};var Ft=function(dt){return new Ut(dt)};function oe(dt,Rt){this._basis=new ie(dt),this._beta=Rt}oe.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var dt=this._x,Rt=this._y,Gt=dt.length-1;if(Gt>0)for(var _t,Vt=dt[0],te=Rt[0],ue=dt[Gt]-Vt,ce=Rt[Gt]-te,_e=-1;++_e<=Gt;)_t=_e/Gt,this._basis.point(this._beta*dt[_e]+(1-this._beta)*(Vt+_t*ue),this._beta*Rt[_e]+(1-this._beta)*(te+_t*ce));this._x=this._y=null,this._basis.lineEnd()},point:function(dt,Rt){this._x.push(+dt),this._y.push(+Rt)}};var xe=function dt(Rt){function Gt(_t){return Rt===1?new ie(_t):new oe(_t,Rt)}return Gt.beta=function(_t){return dt(+_t)},Gt}(.85);function fe(dt,Rt,Gt){dt._context.bezierCurveTo(dt._x1+dt._k*(dt._x2-dt._x0),dt._y1+dt._k*(dt._y2-dt._y0),dt._x2+dt._k*(dt._x1-Rt),dt._y2+dt._k*(dt._y1-Gt),dt._x2,dt._y2)}function $e(dt,Rt){this._context=dt,this._k=(1-Rt)/6}$e.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:fe(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2,this._x1=dt,this._y1=Rt;break;case 2:this._point=3;default:fe(this,dt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var cn=function dt(Rt){function Gt(_t){return new $e(_t,Rt)}return Gt.tension=function(_t){return dt(+_t)},Gt}(0);function xn(dt,Rt){this._context=dt,this._k=(1-Rt)/6}xn.prototype={areaStart:un,areaEnd:un,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(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._x3=dt,this._y3=Rt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Rt);break;case 2:this._point=3,this._x5=dt,this._y5=Rt;break;default:fe(this,dt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Wn=function dt(Rt){function Gt(_t){return new xn(_t,Rt)}return Gt.tension=function(_t){return dt(+_t)},Gt}(0);function fn(dt,Rt){this._context=dt,this._k=(1-Rt)/6}fn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,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:fe(this,dt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Mn=function dt(Rt){function Gt(_t){return new fn(_t,Rt)}return Gt.tension=function(_t){return dt(+_t)},Gt}(0);function Qn(dt,Rt,Gt){var _t=dt._x1,Vt=dt._y1,te=dt._x2,ue=dt._y2;if(dt._l01_a>1e-12){var ce=2*dt._l01_2a+3*dt._l01_a*dt._l12_a+dt._l12_2a,_e=3*dt._l01_a*(dt._l01_a+dt._l12_a);_t=(_t*ce-dt._x0*dt._l12_2a+dt._x2*dt._l01_2a)/_e,Vt=(Vt*ce-dt._y0*dt._l12_2a+dt._y2*dt._l01_2a)/_e}if(dt._l23_a>1e-12){var Ye=2*dt._l23_2a+3*dt._l23_a*dt._l12_a+dt._l12_2a,Be=3*dt._l23_a*(dt._l23_a+dt._l12_a);te=(te*Ye+dt._x1*dt._l23_2a-Rt*dt._l12_2a)/Be,ue=(ue*Ye+dt._y1*dt._l23_2a-Gt*dt._l12_2a)/Be}dt._context.bezierCurveTo(_t,Vt,te,ue,dt._x2,dt._y2)}function Sr(dt,Rt){this._context=dt,this._alpha=Rt}Sr.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){if(dt=+dt,Rt=+Rt,this._point){var Gt=this._x2-dt,_t=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Gt*Gt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2;break;case 2:this._point=3;default:Qn(this,dt,Rt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var me=function dt(Rt){function Gt(_t){return Rt?new Sr(_t,Rt):new $e(_t,0)}return Gt.alpha=function(_t){return dt(+_t)},Gt}(.5);function Le(dt,Rt){this._context=dt,this._alpha=Rt}Le.prototype={areaStart:un,areaEnd:un,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(dt,Rt){if(dt=+dt,Rt=+Rt,this._point){var Gt=this._x2-dt,_t=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Gt*Gt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=dt,this._y3=Rt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Rt);break;case 2:this._point=3,this._x5=dt,this._y5=Rt;break;default:Qn(this,dt,Rt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Ue=function dt(Rt){function Gt(_t){return Rt?new Le(_t,Rt):new xn(_t,0)}return Gt.alpha=function(_t){return dt(+_t)},Gt}(.5);function pe(dt,Rt){this._context=dt,this._alpha=Rt}pe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){if(dt=+dt,Rt=+Rt,this._point){var Gt=this._x2-dt,_t=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Gt*Gt+_t*_t,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:Qn(this,dt,Rt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Pe=function dt(Rt){function Gt(_t){return Rt?new pe(_t,Rt):new fn(_t,0)}return Gt.alpha=function(_t){return dt(+_t)},Gt}(.5);function Ie(dt){this._context=dt}Ie.prototype={areaStart:un,areaEnd:un,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(dt,Rt){dt=+dt,Rt=+Rt,this._point?this._context.lineTo(dt,Rt):(this._point=1,this._context.moveTo(dt,Rt))}};var Te=function(dt){return new Ie(dt)};function ke(dt){return dt<0?-1:1}function Ke(dt,Rt,Gt){var _t=dt._x1-dt._x0,Vt=Rt-dt._x1,te=(dt._y1-dt._y0)/(_t||Vt<0&&-0),ue=(Gt-dt._y1)/(Vt||_t<0&&-0),ce=(te*Vt+ue*_t)/(_t+Vt);return(ke(te)+ke(ue))*Math.min(Math.abs(te),Math.abs(ue),.5*Math.abs(ce))||0}function wn(dt,Rt){var Gt=dt._x1-dt._x0;return Gt?(3*(dt._y1-dt._y0)/Gt-Rt)/2:Rt}function be(dt,Rt,Gt){var _t=dt._x0,Vt=dt._y0,te=dt._x1,ue=dt._y1,ce=(te-_t)/3;dt._context.bezierCurveTo(_t+ce,Vt+ce*Rt,te-ce,ue-ce*Gt,te,ue)}function Qe(dt){this._context=dt}function gn(dt){this._context=new Se(dt)}function Se(dt){this._context=dt}function yn(dt){return new Qe(dt)}function Je(dt){return new gn(dt)}function hn(dt){this._context=dt}function mn(dt){var Rt,Gt,_t=dt.length-1,Vt=new Array(_t),te=new Array(_t),ue=new Array(_t);for(Vt[0]=0,te[0]=2,ue[0]=dt[0]+2*dt[1],Rt=1;Rt<_t-1;++Rt)Vt[Rt]=1,te[Rt]=4,ue[Rt]=4*dt[Rt]+2*dt[Rt+1];for(Vt[_t-1]=2,te[_t-1]=7,ue[_t-1]=8*dt[_t-1]+dt[_t],Rt=1;Rt<_t;++Rt)Gt=Vt[Rt]/te[Rt-1],te[Rt]-=Gt,ue[Rt]-=Gt*ue[Rt-1];for(Vt[_t-1]=ue[_t-1]/te[_t-1],Rt=_t-2;Rt>=0;--Rt)Vt[Rt]=(ue[Rt]-Vt[Rt+1])/te[Rt];for(te[_t-1]=(dt[_t]+Vt[_t-1])/2,Rt=0;Rt<_t-1;++Rt)te[Rt]=2*dt[Rt+1]-Vt[Rt+1];return[Vt,te]}Qe.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:be(this,this._t0,wn(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){var Gt=NaN;if(Rt=+Rt,(dt=+dt)!==this._x1||Rt!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2;break;case 2:this._point=3,be(this,wn(this,Gt=Ke(this,dt,Rt)),Gt);break;default:be(this,this._t0,Gt=Ke(this,dt,Rt))}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt,this._t0=Gt}}},(gn.prototype=Object.create(Qe.prototype)).point=function(dt,Rt){Qe.prototype.point.call(this,Rt,dt)},Se.prototype={moveTo:function(dt,Rt){this._context.moveTo(Rt,dt)},closePath:function(){this._context.closePath()},lineTo:function(dt,Rt){this._context.lineTo(Rt,dt)},bezierCurveTo:function(dt,Rt,Gt,_t,Vt,te){this._context.bezierCurveTo(Rt,dt,_t,Gt,te,Vt)}},hn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var dt=this._x,Rt=this._y,Gt=dt.length;if(Gt)if(this._line?this._context.lineTo(dt[0],Rt[0]):this._context.moveTo(dt[0],Rt[0]),Gt===2)this._context.lineTo(dt[1],Rt[1]);else for(var _t=mn(dt),Vt=mn(Rt),te=0,ue=1;ue=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Rt),this._context.lineTo(dt,Rt);else{var Gt=this._x*(1-this._t)+dt*this._t;this._context.lineTo(Gt,this._y),this._context.lineTo(Gt,Rt)}}this._x=dt,this._y=Rt}};var or=function(dt){return new Zn(dt,.5)};function dr(dt){return new Zn(dt,0)}function mr(dt){return new Zn(dt,1)}var Jn=function(dt,Rt){if((Vt=dt.length)>1)for(var Gt,_t,Vt,te=1,ue=dt[Rt[0]],ce=ue.length;te=0;)Gt[Rt]=Rt;return Gt};function Lr(dt,Rt){return dt[Rt]}var ar=function(){var dt=q([]),Rt=Dr,Gt=Jn,_t=Lr;function Vt(te){var ue,ce,_e=dt.apply(this,arguments),Ye=te.length,Be=_e.length,Ze=new Array(Be);for(ue=0;ue0){for(var Gt,_t,Vt,te=0,ue=dt[0].length;te0)for(var Gt,_t,Vt,te,ue,ce,_e=0,Ye=dt[Rt[0]].length;_e0?(_t[0]=te,_t[1]=te+=Vt):Vt<0?(_t[1]=ue,_t[0]=ue+=Vt):(_t[0]=0,_t[1]=Vt)},hi=function(dt,Rt){if((Gt=dt.length)>0){for(var Gt,_t=0,Vt=dt[Rt[0]],te=Vt.length;_t0&&(_t=(Gt=dt[Rt[0]]).length)>0){for(var Gt,_t,Vt,te=0,ue=1;ue<_t;++ue){for(var ce=0,_e=0,Ye=0;cete&&(te=Rt,_t=Gt);return _t}var Fi=function(dt){var Rt=dt.map(Kt);return Dr(dt).sort(function(Gt,_t){return Rt[Gt]-Rt[_t]})};function Kt(dt){for(var Rt,Gt=0,_t=-1,Vt=dt.length;++_t=0&&ie._call.call(null,se),ie=ie._next;--I})()}finally{I=0,function(){for(var se,ie,ne=At,Lt=1/0;ne;)ne._call?(Lt>ne._time&&(Lt=ne._time),se=ne,ne=ne._next):(ie=ne._next,ne._next=null,ne=se?se._next=ie:At=ie);W=se,f(Lt)}(),U=0}}function w(){var se=j.now(),ie=se-J;ie>1e3&&(V-=ie,J=se)}function f(se){I||(G&&(G=clearTimeout(G)),se-U>24?(se<1/0&&(G=setTimeout(T,se-j.now()-V)),q&&(q=clearInterval(q))):(q||(J=j.now(),q=setInterval(w,1e3)),I=1,A(T)))}p.prototype=o.prototype={constructor:p,restart:function(se,ie,ne){if(typeof se!="function")throw new TypeError("callback is not a function");ne=(ne==null?P():+ne)+(ie==null?0:+ie),this._next||W===this||(W?W._next=this:At=this,W=this),this._call=se,this._time=ne,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}};var S=function(se,ie,ne){var Lt=new p;return ie=ie==null?0:+ie,Lt.restart(function(jt){Lt.stop(),se(jt+ie)},ie,ne),Lt},v=Object(C.a)("start","end","cancel","interrupt"),m=[],g=function(se,ie,ne,Lt,jt,Ut){var Ft=se.__transition;if(Ft){if(ne in Ft)return}else se.__transition={};(function(oe,xe,fe){var $e,cn=oe.__transition;function xn(Mn){var Qn,Sr,me,Le;if(fe.state!==1)return fn();for(Qn in cn)if((Le=cn[Qn]).name===fe.name){if(Le.state===3)return S(xn);Le.state===4?(Le.state=6,Le.timer.stop(),Le.on.call("interrupt",oe,oe.__data__,Le.index,Le.group),delete cn[Qn]):+Qn0)throw new Error("too late; already scheduled");return ne}function R(se,ie){var ne=y(se,ie);if(ne.state>3)throw new Error("too late; already running");return ne}function y(se,ie){var ne=se.__transition;if(!ne||!(ne=ne[ie]))throw new Error("transition not found");return ne}var b=function(se,ie){var ne,Lt,jt,Ut=se.__transition,Ft=!0;if(Ut){for(jt in ie=ie==null?null:ie+"",Ut)(ne=Ut[jt]).name===ie?(Lt=ne.state>2&&ne.state<5,ne.state=6,ne.timer.stop(),ne.on.call(Lt?"interrupt":"cancel",se,se.__data__,ne.index,ne.group),delete Ut[jt]):Ft=!1;Ft&&delete se.__transition}},s=Z(76),l=Z(20);function O(se,ie){var ne,Lt;return function(){var jt=R(this,se),Ut=jt.tween;if(Ut!==ne){for(var Ft=0,oe=(Lt=ne=Ut).length;Ft=0&&(oe=oe.slice(0,xe)),!oe||oe==="start"})}(ie)?x:R;return function(){var Ft=Ut(this,se),oe=Ft.on;oe!==Lt&&(jt=(Lt=oe).copy()).on(ie,ne),Ft.on=jt}}var Dt=Z(19),Bt=Z(33),Nt=c.b.prototype.constructor,Pt=Z(35);function Mt(se){return function(){this.style.removeProperty(se)}}function mt(se,ie,ne){return function(Lt){this.style.setProperty(se,ie.call(this,Lt),ne)}}function Ot(se,ie,ne){var Lt,jt;function Ut(){var Ft=ie.apply(this,arguments);return Ft!==jt&&(Lt=(jt=Ft)&&mt(se,Ft,ne)),Lt}return Ut._value=ie,Ut}function Yt(se){return function(ie){this.textContent=se.call(this,ie)}}function $t(se){var ie,ne;function Lt(){var jt=se.apply(this,arguments);return jt!==ne&&(ie=(ne=jt)&&Yt(jt)),ie}return Lt._value=se,Lt}var ae=0;function le(se,ie,ne,Lt){this._groups=se,this._parents=ie,this._name=ne,this._id=Lt}function Oe(se){return Object(c.b)().transition(se)}function Ve(){return++ae}var rn=c.b.prototype;le.prototype=Oe.prototype={constructor:le,select:function(se){var ie=this._name,ne=this._id;typeof se!="function"&&(se=Object(Dt.a)(se));for(var Lt=this._groups,jt=Lt.length,Ut=new Array(jt),Ft=0;Ft1&&ne.name===ie)return new le([[se]],bn,ie,+Lt)}return null};Z.d(wt,"transition",function(){return Oe}),Z.d(wt,"active",function(){return un}),Z.d(wt,"interrupt",function(){return b})},,function(we,wt,Z){"use strict";var At,W,c,C,I=Z(6),G=180/Math.PI,q={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},J=function(A,P,E,p,o,T){var w,f,S;return(w=Math.sqrt(A*A+P*P))&&(A/=w,P/=w),(S=A*E+P*p)&&(E-=A*S,p-=P*S),(f=Math.sqrt(E*E+p*p))&&(E/=f,p/=f,S/=f),A*p180?m+=360:m-v>180&&(v+=360),x.push({i:g.push(o(g)+"rotate(",null,p)-2,x:Object(I.a)(v,m)})):m&&g.push(o(g)+"rotate("+m+p)}(T.rotate,w.rotate,f,S),function(v,m,g,x){v!==m?x.push({i:g.push(o(g)+"skewX(",null,p)-2,x:Object(I.a)(v,m)}):m&&g.push(o(g)+"skewX("+m+p)}(T.skewX,w.skewX,f,S),function(v,m,g,x,R,y){if(v!==g||m!==x){var b=R.push(o(R)+"scale(",null,",",null,")");y.push({i:b-4,x:Object(I.a)(v,g)},{i:b-2,x:Object(I.a)(m,x)})}else g===1&&x===1||R.push(o(R)+"scale("+g+","+x+")")}(T.scaleX,T.scaleY,w.scaleX,w.scaleY,f,S),T=w=null,function(v){for(var m,g=-1,x=S.length;++gpe&&(Le=Ue,Ue=pe,pe=Le),function(Pe){return Math.max(Ue,Math.min(pe,Pe))}}function v(me,Le,Ue){var pe=me[0],Pe=me[1],Ie=Le[0],Te=Le[1];return Pe2?m:v,Pe=Ie=null,Qe}function Qe(gn){return isNaN(gn=+gn)?Ue:(Pe||(Pe=pe(Te.map(me),ke,Ke)))(me(wn(gn)))}return Qe.invert=function(gn){return wn(Le((Ie||(Ie=pe(ke,Te.map(me),E.a)))(gn)))},Qe.domain=function(gn){return arguments.length?(Te=G.call(gn,o),wn===w||(wn=S(Te)),be()):Te.slice()},Qe.range=function(gn){return arguments.length?(ke=q.call(gn),be()):ke.slice()},Qe.rangeRound=function(gn){return ke=q.call(gn),Ke=p.a,be()},Qe.clamp=function(gn){return arguments.length?(wn=gn?S(Te):w,Qe):wn!==w},Qe.interpolate=function(gn){return arguments.length?(Ke=gn,be()):Ke},Qe.unknown=function(gn){return arguments.length?(Ue=gn,Qe):Ue},function(gn,Se){return me=gn,Le=Se,be()}}function R(me,Le){return x()(me,Le)}var y=Z(25),b=Z(64),s=Z(43),l=Z(65),O=Z(63),D=function(me,Le,Ue,pe){var Pe,Ie=Object(At.tickStep)(me,Le,Ue);switch((pe=Object(y.b)(pe==null?",f":pe)).type){case"s":var Te=Math.max(Math.abs(me),Math.abs(Le));return pe.precision!=null||isNaN(Pe=Object(b.a)(Ie,Te))||(pe.precision=Pe),Object(s.c)(pe,Te);case"":case"e":case"g":case"p":case"r":pe.precision!=null||isNaN(Pe=Object(l.a)(Ie,Math.max(Math.abs(me),Math.abs(Le))))||(pe.precision=Pe-(pe.type==="e"));break;case"f":case"%":pe.precision!=null||isNaN(Pe=Object(O.a)(Ie))||(pe.precision=Pe-2*(pe.type==="%"))}return Object(s.b)(pe)};function u(me){var Le=me.domain;return me.ticks=function(Ue){var pe=Le();return Object(At.ticks)(pe[0],pe[pe.length-1],Ue==null?10:Ue)},me.tickFormat=function(Ue,pe){var Pe=Le();return D(Pe[0],Pe[Pe.length-1],Ue==null?10:Ue,pe)},me.nice=function(Ue){Ue==null&&(Ue=10);var pe,Pe=Le(),Ie=0,Te=Pe.length-1,ke=Pe[Ie],Ke=Pe[Te];return Ke0?(ke=Math.floor(ke/pe)*pe,Ke=Math.ceil(Ke/pe)*pe,pe=Object(At.tickIncrement)(ke,Ke,Ue)):pe<0&&(ke=Math.ceil(ke*pe)/pe,Ke=Math.floor(Ke*pe)/pe,pe=Object(At.tickIncrement)(ke,Ke,Ue)),pe>0?(Pe[Ie]=Math.floor(ke/pe)*pe,Pe[Te]=Math.ceil(Ke/pe)*pe,Le(Pe)):pe<0&&(Pe[Ie]=Math.ceil(ke*pe)/pe,Pe[Te]=Math.floor(Ke*pe)/pe,Le(Pe)),me},me}function _(){var me=R(w,w);return me.copy=function(){return g(me,_())},W.apply(me,arguments),u(me)}function L(me){var Le;function Ue(pe){return isNaN(pe=+pe)?Le:pe}return Ue.invert=Ue,Ue.domain=Ue.range=function(pe){return arguments.length?(me=G.call(pe,o),Ue):me.slice()},Ue.unknown=function(pe){return arguments.length?(Le=pe,Ue):Le},Ue.copy=function(){return L(me).unknown(Le)},me=arguments.length?G.call(me,o):[0,1],u(Ue)}var nt=function(me,Le){var Ue,pe=0,Pe=(me=me.slice()).length-1,Ie=me[pe],Te=me[Pe];return Te0){for(;JeQe)break;pn.push(yn)}}else for(;Je=1;--Se)if(!((yn=gn*Se)Qe)break;pn.push(yn)}}else pn=Object(At.ticks)(Je,hn,Math.min(hn-Je,mn)).map(Ue);return Ke?pn.reverse():pn},pe.tickFormat=function(ke,Ke){if(Ke==null&&(Ke=Ie===10?".0e":","),typeof Ke!="function"&&(Ke=Object(s.b)(Ke)),ke===1/0)return Ke;ke==null&&(ke=10);var wn=Math.max(1,Ie*ke/pe.ticks().length);return function(be){var Qe=be/Ue(Math.round(Le(be)));return Qe*Ie0?pe[ke-1]:Le[0],ke=pe?[Pe[pe-1],Ue]:[Pe[wn-1],Pe[wn]]},Te.unknown=function(Ke){return arguments.length&&(me=Ke),Te},Te.thresholds=function(){return Pe.slice()},Te.copy=function(){return Dt().domain([Le,Ue]).range(Ie).unknown(me)},W.apply(u(Te),arguments)}function Bt(){var me,Le=[.5],Ue=[0,1],pe=1;function Pe(Ie){return Ie<=Ie?Ue[Object(At.bisect)(Le,Ie,0,pe)]:me}return Pe.domain=function(Ie){return arguments.length?(Le=q.call(Ie),pe=Math.min(Le.length,Ue.length-1),Pe):Le.slice()},Pe.range=function(Ie){return arguments.length?(Ue=q.call(Ie),pe=Math.min(Le.length,Ue.length-1),Pe):Ue.slice()},Pe.invertExtent=function(Ie){var Te=Ue.indexOf(Ie);return[Le[Te-1],Le[Te]]},Pe.unknown=function(Ie){return arguments.length?(me=Ie,Pe):me},Pe.copy=function(){return Bt().domain(Le).range(Ue).unknown(me)},W.apply(Pe,arguments)}var Nt=Z(15),Pt=Z(47),Mt=Z(3),mt=Z(27),Ot=Z(48),Yt=Z(49),$t=Z(30),ae=Z(31),le=Z(45);function Oe(me){return new Date(me)}function Ve(me){return me instanceof Date?+me:+new Date(+me)}function rn(me,Le,Ue,pe,Pe,Ie,Te,ke,Ke){var wn=R(w,w),be=wn.invert,Qe=wn.domain,gn=Ke(".%L"),Se=Ke(":%S"),yn=Ke("%I:%M"),Je=Ke("%I %p"),hn=Ke("%a %d"),mn=Ke("%b %d"),pn=Ke("%B"),Zn=Ke("%Y"),or=[[Te,1,1e3],[Te,5,5e3],[Te,15,15e3],[Te,30,3e4],[Ie,1,6e4],[Ie,5,3e5],[Ie,15,9e5],[Ie,30,18e5],[Pe,1,36e5],[Pe,3,108e5],[Pe,6,216e5],[Pe,12,432e5],[pe,1,864e5],[pe,2,1728e5],[Ue,1,6048e5],[Le,1,2592e6],[Le,3,7776e6],[me,1,31536e6]];function dr(Jn){return(Te(Jn)svg{background:"+this.chartBackground+";padding: 20px;}"}};function J(P,E){if(P){P.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg");var p=I.initializeSerializer()(P.node());return p=function(o){return navigator.userAgent.search("FireFox")>-1?o.replace(/url.*"\)/,'url("linearGradient[id*="-gradient-"]");'):o}(p),p=function(o){return o.replace(">",">"+q.styleBackgroundString)}(p=A.call(this,p,E,parseInt(P.attr("width"),10)))}}function U(P){var E=new Image;return E.src=""+q.imageSourceBase+G(encodeURIComponent(P).replace(/%([0-9A-F]{2})/g,function(p,o){return String.fromCharCode("0x"+o)})),E}function V(P,E){return E.getContext("2d").drawImage(P,0,0),E}function j(P,E,p){p.preventDefault(),function(o){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:q.defaultFilename,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"image/png",f=o.toDataURL(w),S=document.createElement("a");S.href=f,S.download=T,document.body.appendChild(S),S.click(),document.body.removeChild(S)}(V(this,P),E)}function A(P,E,p){if(!E||!p)return P;var o=C.grey;return P=P.replace(/ '+E+" ]*>/,""),(S=new ActiveXObject("Microsoft.XMLDOM")).async="false",S.loadXML(f),S)},o.Property=function(f,S){this.name=f,this.value=S},o.Property.prototype.getValue=function(){return this.value},o.Property.prototype.hasValue=function(){return this.value!=null&&this.value!=""},o.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var f=parseFloat(this.value);return(this.value+"").match(/%$/)&&(f/=100),f},o.Property.prototype.valueOrDefault=function(f){return this.hasValue()?this.value:f},o.Property.prototype.numValueOrDefault=function(f){return this.hasValue()?this.numValue():f},o.Property.prototype.addOpacity=function(f){var S=this.value;if(f.value!=null&&f.value!=""&&typeof this.value=="string"){var v=new At(this.value);v.ok&&(S="rgba("+v.r+", "+v.g+", "+v.b+", "+f.numValue()+")")}return new o.Property(this.name,S)},o.Property.prototype.getDefinition=function(){var f=this.value.match(/#([^\)'"]+)/);return f&&(f=f[1]),f||(f=this.value),o.Definitions[f]},o.Property.prototype.isUrlDefinition=function(){return this.value.indexOf("url(")==0},o.Property.prototype.getFillStyleDefinition=function(f,S){var v=this.getDefinition();if(v!=null&&v.createGradient)return v.createGradient(o.ctx,f,S);if(v!=null&&v.createPattern){if(v.getHrefAttribute().hasValue()){var m=v.attribute("patternTransform");v=v.getHrefAttribute().getDefinition(),m.hasValue()&&(v.attribute("patternTransform",!0).value=m.value)}return v.createPattern(o.ctx,f)}return null},o.Property.prototype.getDPI=function(f){return 96},o.Property.prototype.getEM=function(f){var S=12,v=new o.Property("fontSize",o.Font.Parse(o.ctx.font).fontSize);return v.hasValue()&&(S=v.toPixels(f)),S},o.Property.prototype.getUnits=function(){return(this.value+"").replace(/[0-9\.\-]/g,"")},o.Property.prototype.toPixels=function(f,S){if(!this.hasValue())return 0;var v=this.value+"";if(v.match(/em$/))return this.numValue()*this.getEM(f);if(v.match(/ex$/))return this.numValue()*this.getEM(f)/2;if(v.match(/px$/))return this.numValue();if(v.match(/pt$/))return this.numValue()*this.getDPI(f)*(1/72);if(v.match(/pc$/))return 15*this.numValue();if(v.match(/cm$/))return this.numValue()*this.getDPI(f)/2.54;if(v.match(/mm$/))return this.numValue()*this.getDPI(f)/25.4;if(v.match(/in$/))return this.numValue()*this.getDPI(f);if(v.match(/%$/))return this.numValue()*o.ViewPort.ComputeSize(f);var m=this.numValue();return S&&m<1?m*o.ViewPort.ComputeSize(f):m},o.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var f=this.value+"";return f.match(/s$/)?1e3*this.numValue():(f.match(/ms$/),this.numValue())},o.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var f=this.value+"";return f.match(/deg$/)?this.numValue()*(Math.PI/180):f.match(/grad$/)?this.numValue()*(Math.PI/200):f.match(/rad$/)?this.numValue():this.numValue()*(Math.PI/180)};var w={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return o.Property.prototype.toTextBaseline=function(){return this.hasValue()?w[this.value]:null},o.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(S,v,m,g,x,R){var y=R!=null?this.Parse(R):this.CreateFont("","","","","",o.ctx.font);return{fontFamily:x||y.fontFamily,fontSize:g||y.fontSize,fontStyle:S||y.fontStyle,fontWeight:m||y.fontWeight,fontVariant:v||y.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var f=this;this.Parse=function(S){for(var v={},m=o.trim(o.compressSpaces(S||"")).split(" "),g={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},x="",R=0;Rthis.x2&&(this.x2=g)),x!=null&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=x,this.y2=x),xthis.y2&&(this.y2=x))},this.addX=function(g){this.addPoint(g,null)},this.addY=function(g){this.addPoint(null,g)},this.addBoundingBox=function(g){this.addPoint(g.x1,g.y1),this.addPoint(g.x2,g.y2)},this.addQuadraticCurve=function(g,x,R,y,b,s){var l=g+.6666666666666666*(R-g),O=x+2/3*(y-x),D=l+1/3*(b-g),u=O+1/3*(s-x);this.addBezierCurve(g,x,l,D,O,u,b,s)},this.addBezierCurve=function(g,x,R,y,b,s,l,O){var D=[g,x],u=[R,y],_=[b,s],L=[l,O];this.addPoint(D[0],D[1]),this.addPoint(L[0],L[1]);for(var nt=0;nt<=1;nt++){var rt=function(et){return Math.pow(1-et,3)*D[nt]+3*Math.pow(1-et,2)*et*u[nt]+3*(1-et)*Math.pow(et,2)*_[nt]+Math.pow(et,3)*L[nt]},it=6*D[nt]-12*u[nt]+6*_[nt],X=-3*D[nt]+9*u[nt]-9*_[nt]+3*L[nt],ct=3*u[nt]-3*D[nt];if(X!=0){var B=Math.pow(it,2)-4*ct*X;if(!(B<0)){var F=(-it+Math.sqrt(B))/(2*X);0=0;s--)this.transforms[s].unapply(b)},this.applyToPoint=function(b){for(var s=0;su&&(this.styles[D]=l[D],this.stylesSpecificity[D]=O)}}},f!=null&&f.nodeType==1){for(var S=0;S0&&S.push([this.points[this.points.length-1],S[S.length-1][1]]),S}},o.Element.polyline.prototype=new o.Element.PathElementBase,o.Element.polygon=function(f){this.base=o.Element.polyline,this.base(f),this.basePath=this.path,this.path=function(S){var v=this.basePath(S);return S!=null&&(S.lineTo(this.points[0].x,this.points[0].y),S.closePath()),v}},o.Element.polygon.prototype=new o.Element.polyline,o.Element.path=function(f){this.base=o.Element.PathElementBase,this.base(f);var S=this.attribute("d").value;S=S.replace(/,/gm," ");for(var v=0;v<2;v++)S=S.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2");for(S=(S=S.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2"),v=0;v<2;v++)S=S.replace(/(\.[0-9]*)(\.)/gm,"$1 $2");S=S.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),S=o.compressSpaces(S),S=o.trim(S),this.PathParser=new function(m){this.tokens=m.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new o.Point(0,0),this.control=new o.Point(0,0),this.current=new o.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){return!!this.isEnd()||this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var g=new o.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(g)},this.getAsControlPoint=function(){var g=this.getPoint();return this.control=g,g},this.getAsCurrentPoint=function(){var g=this.getPoint();return this.current=g,g},this.getReflectedControlPoint=function(){return this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s"&&this.previousCommand.toLowerCase()!="q"&&this.previousCommand.toLowerCase()!="t"?this.current:new o.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(g){return this.isRelativeCommand()&&(g.x+=this.current.x,g.y+=this.current.y),g},this.addMarker=function(g,x,R){R!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(R)),this.addMarkerAngle(g,x==null?null:x.angleTo(g))},this.addMarkerAngle=function(g,x){this.points.push(g),this.angles.push(x)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var g=0;g1&&(u*=Math.sqrt(X),_*=Math.sqrt(X));var ct=(nt==rt?-1:1)*Math.sqrt((Math.pow(u,2)*Math.pow(_,2)-Math.pow(u,2)*Math.pow(it.y,2)-Math.pow(_,2)*Math.pow(it.x,2))/(Math.pow(u,2)*Math.pow(it.y,2)+Math.pow(_,2)*Math.pow(it.x,2)));isNaN(ct)&&(ct=0);var B=new o.Point(ct*u*it.y/_,ct*-_*it.x/u),F=new o.Point((s.x+D.x)/2+Math.cos(L)*B.x-Math.sin(L)*B.y,(s.y+D.y)/2+Math.sin(L)*B.x+Math.cos(L)*B.y),ut=function(vt){return Math.sqrt(Math.pow(vt[0],2)+Math.pow(vt[1],2))},ft=function(vt,Dt){return(vt[0]*Dt[0]+vt[1]*Dt[1])/(ut(vt)*ut(Dt))},et=function(vt,Dt){return(vt[0]*Dt[1]=1&&(Q=0);var K=1-rt?1:-1,st=ht+K*(Q/2),xt=new o.Point(F.x+u*Math.cos(st),F.y+_*Math.sin(st));if(g.addMarkerAngle(xt,st-K*Math.PI/2),g.addMarkerAngle(D,st-K*Math.PI),x.addPoint(D.x,D.y),m!=null){ft=u>_?u:_;var gt=u>_?1:u/_,Tt=u>_?_/u:1;m.translate(F.x,F.y),m.rotate(L),m.scale(gt,Tt),m.arc(0,0,ft,ht,ht+Q,1-rt),m.scale(1/gt,1/Tt),m.rotate(-L),m.translate(-F.x,-F.y)}}break;case"Z":case"z":m!=null&&m.closePath(),g.current=g.start}return x},this.getMarkers=function(){for(var m=this.PathParser.getMarkerPoints(),g=this.PathParser.getMarkerAngles(),x=[],R=0;R1&&(this.offset=1);var S=this.style("stop-color",!0);S.value==""&&(S.value="#000"),this.style("stop-opacity").hasValue()&&(S=S.addOpacity(this.style("stop-opacity"))),this.color=S.value},o.Element.stop.prototype=new o.Element.ElementBase,o.Element.AnimateBase=function(f){this.base=o.Element.ElementBase,this.base(f),o.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").toMilliseconds(),this.getProperty=function(){var S=this.attribute("attributeType").value,v=this.attribute("attributeName").value;return S=="CSS"?this.parent.style(v,!0):this.parent.attribute(v,!0)},this.initialValue=null,this.initialUnits="",this.removed=!1,this.calcValue=function(){return""},this.update=function(S){if(this.initialValue==null&&(this.initialValue=this.getProperty().value,this.initialUnits=this.getProperty().getUnits()),this.duration>this.maxDuration){if(this.attribute("repeatCount").value=="indefinite"||this.attribute("repeatDur").value=="indefinite")this.duration=0;else if(this.attribute("fill").valueOrDefault("remove")!="freeze"||this.frozen){if(this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+S;var v=!1;if(this.beginm&&y.attribute("x").hasValue())break;x+=y.measureTextRecursive(S)}return-1*(g=="end"?x:x/2)}return 0},this.renderChild=function(S,v,m,g){var x=m.children[g];for(x.attribute("x").hasValue()?(x.x=x.attribute("x").toPixels("x")+v.getAnchorDelta(S,m,g),x.attribute("dx").hasValue()&&(x.x+=x.attribute("dx").toPixels("x"))):(x.attribute("dx").hasValue()&&(v.x+=x.attribute("dx").toPixels("x")),x.x=v.x),v.x=x.x+x.measureText(S),x.attribute("y").hasValue()?(x.y=x.attribute("y").toPixels("y"),x.attribute("dy").hasValue()&&(x.y+=x.attribute("dy").toPixels("y"))):(x.attribute("dy").hasValue()&&(v.y+=x.attribute("dy").toPixels("y")),x.y=v.y),v.y=x.y,x.render(S),g=0;g0&&v[m-1]!=" "&&m0&&v[m-1]!=" "&&(m==v.length-1||v[m+1]==" ")&&(R="initial"),S.glyphs[g]!==void 0&&(x=S.glyphs[g][R])==null&&S.glyphs[g].type=="glyph"&&(x=S.glyphs[g])}else x=S.glyphs[g];return x==null&&(x=S.missingGlyph),x},this.renderChildren=function(S){var v=this.parent.style("font-family").getDefinition();if(v==null)S.fillStyle!=""&&S.fillText(o.compressSpaces(this.getText()),this.x,this.y),S.strokeStyle!=""&&S.strokeText(o.compressSpaces(this.getText()),this.x,this.y);else{var m=this.parent.style("font-size").numValueOrDefault(o.Font.Parse(o.ctx.font).fontSize),g=this.parent.style("font-style").valueOrDefault(o.Font.Parse(o.ctx.font).fontStyle),x=this.getText();v.isRTL&&(x=x.split("").reverse().join(""));for(var R=o.ToNumberArray(this.parent.attribute("dx").value),y=0;y0?"":this.text}},o.Element.tspan.prototype=new o.Element.TextElementBase,o.Element.tref=function(f){this.base=o.Element.TextElementBase,this.base(f),this.getText=function(){var S=this.getHrefAttribute().getDefinition();if(S!=null)return S.children[0].getText()}},o.Element.tref.prototype=new o.Element.TextElementBase,o.Element.a=function(f){this.base=o.Element.TextElementBase,this.base(f),this.hasText=f.childNodes.length>0;for(var S=0;S0){var g=new o.Element.g;g.children=this.children,g.parent=this,g.render(v)}},this.onclick=function(){window.open(this.getHrefAttribute().value)},this.onmousemove=function(){o.ctx.canvas.style.cursor="pointer"}},o.Element.a.prototype=new o.Element.TextElementBase,o.Element.image=function(f){this.base=o.Element.RenderedElementBase,this.base(f);var S=this.getHrefAttribute().value;if(S!=""){var v=S.match(/\.svg$/);if(o.Images.push(this),this.loaded=!1,v)this.img=o.ajax(S),this.loaded=!0;else{this.img=document.createElement("img"),o.opts.useCORS==1&&(this.img.crossOrigin="Anonymous");var m=this;this.img.onload=function(){m.loaded=!0},this.img.onerror=function(){o.log('ERROR: image "'+S+'" not found'),m.loaded=!0},this.img.src=S}this.renderChildren=function(g){var x=this.attribute("x").toPixels("x"),R=this.attribute("y").toPixels("y"),y=this.attribute("width").toPixels("x"),b=this.attribute("height").toPixels("y");y!=0&&b!=0&&(g.save(),v?g.drawSvg(this.img,x,R,y,b):(g.translate(x,R),o.AspectRatio(g,this.attribute("preserveAspectRatio").value,y,this.img.width,b,this.img.height,0,0),g.drawImage(this.img,0,0)),g.restore())},this.getBoundingBox=function(){var g=this.attribute("x").toPixels("x"),x=this.attribute("y").toPixels("y"),R=this.attribute("width").toPixels("x"),y=this.attribute("height").toPixels("y");return new o.BoundingBox(g,x,g+R,x+y)}}},o.Element.image.prototype=new o.Element.RenderedElementBase,o.Element.g=function(f){this.base=o.Element.RenderedElementBase,this.base(f),this.getBoundingBox=function(){for(var S=new o.BoundingBox,v=0;v0)for(var rt=L[nt].indexOf("url"),it=L[nt].indexOf(")",rt),X=L[nt].substr(rt+5,it-rt-6),ct=o.parseXml(o.ajax(X)).getElementsByTagName("font"),B=0;B~\.\[:]+)/g,0),q(/(\.[^\s\+>~\.\[:]+)/g,1),q(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,2),q(/(:[\w-]+\([^\)]*\))/gi,1),q(/(:[^\s\+>~\.\[:]+)/g,1),I=(I=I.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),q(/([^\s\+>~\.\[:]+)/g,2),G.join("")}we.exports=c},function(we,wt){we.exports=function(Z){this.ok=!1,this.alpha=1,Z.charAt(0)=="#"&&(Z=Z.substr(1,6)),Z=(Z=Z.replace(/ /g,"")).toLowerCase();var At={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};Z=At[Z]||Z;for(var W=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(J){return[parseInt(J[1]),parseInt(J[2]),parseInt(J[3]),parseFloat(J[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(J){return[parseInt(J[1]),parseInt(J[2]),parseInt(J[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(J){return[parseInt(J[1],16),parseInt(J[2],16),parseInt(J[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(J){return[parseInt(J[1]+J[1],16),parseInt(J[2]+J[2],16),parseInt(J[3]+J[3],16)]}}],c=0;c3&&(this.alpha=q[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var J=this.r.toString(16),U=this.g.toString(16),V=this.b.toString(16);return J.length==1&&(J="0"+J),U.length==1&&(U="0"+U),V.length==1&&(V="0"+V),"#"+J+U+V},this.getHelpXML=function(){for(var J=new Array,U=0;U "+p.toRGB()+" -> "+p.toHex());E.appendChild(o),E.appendChild(T),P.appendChild(E)}catch(w){}return P}}},function(we,wt){var Z=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],At=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function W(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}we.exports=function(c,C,I,G){if(!(isNaN(G)||G<1)){var q,J,U,V,j,A,P,E,p,o,T,w,f,S,v,m,g,x,R,y,b,s,l,O,D=(G|=0)+G+1,u=C-1,_=I-1,L=G+1,nt=L*(L+1)/2,rt=new W,it=rt;for(U=1;U>ut,l!=0?(l=255/l,c[A]=(E*F>>ut)*l,c[A+1]=(p*F>>ut)*l,c[A+2]=(o*F>>ut)*l):c[A]=c[A+1]=c[A+2]=0,E-=w,p-=f,o-=S,T-=v,w-=ct.r,f-=ct.g,S-=ct.b,v-=ct.a,V=P+((V=q+G+1)>ut,l>0?(l=255/l,c[V]=(E*F>>ut)*l,c[V+1]=(p*F>>ut)*l,c[V+2]=(o*F>>ut)*l):c[V]=c[V+1]=c[V+2]=0,E-=w,p-=f,o-=S,T-=v,w-=ct.r,f-=ct.g,S-=ct.b,v-=ct.a,V=q+((V=J+L)<_?V:_)*C<<2,E+=m+=ct.r=c[V],p+=g+=ct.g=c[V+1],o+=x+=ct.b=c[V+2],T+=R+=ct.a=c[V+3],ct=ct.next,w+=y=B.r,f+=b=B.g,S+=s=B.b,v+=l=B.a,m-=y,g-=b,x-=s,R-=l,B=B.next,A+=C}}}},function(we,wt,Z){function At(U){this.options=U||{locator:{}}}function W(){this.cdata=!1}function c(U,V){V.lineNumber=U.lineNumber,V.columnNumber=U.columnNumber}function C(U){if(U)return` +@`+(U.systemId||"")+"#[line:"+U.lineNumber+",col:"+U.columnNumber+"]"}function I(U,V,j){return typeof U=="string"?U.substr(V,j):U.length>=V+j||V?new java.lang.String(U,V,j)+"":U}function G(U,V){U.currentElement?U.currentElement.appendChild(V):U.doc.appendChild(V)}At.prototype.parseFromString=function(U,V){var j=this.options,A=new q,P=j.domBuilder||new W,E=j.errorHandler,p=j.locator,o=j.xmlns||{},T={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return p&&P.setDocumentLocator(p),A.errorHandler=function(w,f,S){if(!w){if(f instanceof W)return f;w=f}var v={},m=w instanceof Function;function g(x){var R=w[x];!R&&m&&(R=w.length==2?function(y){w(x,y)}:w),v[x]=R&&function(y){R("[xmldom "+x+"] "+y+C(S))}||function(){}}return S=S||{},g("warning"),g("error"),g("fatalError"),v}(E,P,p),A.domBuilder=j.domBuilder||P,/\/x?html?$/.test(V)&&(T.nbsp="\xA0",T.copy="\xA9",o[""]="http://www.w3.org/1999/xhtml"),o.xml=o.xml||"http://www.w3.org/XML/1998/namespace",U?A.parse(U,o,T):A.errorHandler.error("invalid doc source"),P.doc},W.prototype={startDocument:function(){this.doc=new J().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(U,V,j,A){var P=this.doc,E=P.createElementNS(U,j||V),p=A.length;G(this,E),this.currentElement=E,this.locator&&c(this.locator,E);for(var o=0;o":switch(m){case 0:o.setTagName(E.slice(p,v));case 5:case 6:case 7:break;case 4:case 1:(x=E.slice(p,v)).slice(-1)==="/"&&(o.closed=!0,x=x.slice(0,-1));case 2:m===2&&(x=S),m==4?(f.warning('attribute "'+x+'" missed quot(")!!'),o.add(S,x.replace(/&#?\w+;/g,w),p)):(T[""]==="http://www.w3.org/1999/xhtml"&&x.match(/^(?:disabled|checked|selected)$/i)||f.warning('attribute "'+x+'" missed value!! "'+x+'" instead!!'),o.add(x,x,p));break;case 3:throw new Error("attribute value missed!!")}return v;case"\x80":g=" ";default:if(g<=" ")switch(m){case 0:o.setTagName(E.slice(p,v)),m=6;break;case 1:S=E.slice(p,v),m=2;break;case 4:var x=E.slice(p,v).replace(/&#?\w+;/g,w);f.warning('attribute "'+x+'" missed quot(")!!'),o.add(S,x,p);case 5:m=6}else switch(m){case 2:o.tagName,T[""]==="http://www.w3.org/1999/xhtml"&&S.match(/^(?:disabled|checked|selected)$/i)||f.warning('attribute "'+S+'" missed value!! "'+S+'" instead2!!'),o.add(S,S,p),p=v,m=1;break;case 5:f.warning('attribute space is required"'+S+'"!!');case 6:m=1,p=v;break;case 3:m=4,p=v;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}v++}}function G(E,p,o){for(var T=E.tagName,w=null,f=E.length;f--;){var S=E[f],v=S.qName,m=S.value;if((y=v.indexOf(":"))>0)var g=S.prefix=v.slice(0,y),x=v.slice(y+1),R=g==="xmlns"&&x;else x=v,g=null,R=v==="xmlns"&&"";S.localName=x,R!==!1&&(w==null&&(w={},U(o,o={})),o[R]=w[R]=m,S.uri="http://www.w3.org/2000/xmlns/",p.startPrefixMapping(R,m))}for(f=E.length;f--;)(g=(S=E[f]).prefix)&&(g==="xml"&&(S.uri="http://www.w3.org/XML/1998/namespace"),g!=="xmlns"&&(S.uri=o[g||""]));var y;(y=T.indexOf(":"))>0?(g=E.prefix=T.slice(0,y),x=E.localName=T.slice(y+1)):(g=null,x=E.localName=T);var b=E.uri=o[g||""];if(p.startElement(b,x,T,E),!E.closed)return E.currentNSMap=o,E.localNSMap=w,!0;if(p.endElement(b,x,T),w)for(g in w)p.endPrefixMapping(g)}function q(E,p,o,T,w){if(/^(?:script|textarea)$/i.test(o)){var f=E.indexOf("",p),S=E.substring(p+1,f);if(/[&<]/.test(S))return/^script$/i.test(o)?(w.characters(S,0,S.length),f):(S=S.replace(/&#?\w+;/g,T),w.characters(S,0,S.length),f)}return p+1}function J(E,p,o,T){var w=T[o];return w==null&&((w=E.lastIndexOf(""))",p+4))>p?(o.comment(E,p+4,w-p-4),w+3):(T.error("Unclosed comment"),-1):-1;default:if(E.substr(p+3,6)=="CDATA["){var w=E.indexOf("]]>",p+9);return o.startCDATA(),o.characters(E,p+9,w-p-9),o.endCDATA(),w+3}var f=function(R,y){var b,s=[],l=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(l.lastIndex=y,l.exec(R);b=l.exec(R);)if(s.push(b),b[1])return s}(E,p),S=f.length;if(S>1&&/!doctype/i.test(f[0][0])){var v=f[1][0],m=S>3&&/^public$/i.test(f[2][0])&&f[3][0],g=S>4&&f[4][0],x=f[S-1];return o.startDTD(v,m&&m.replace(/^(['"])(.*?)\1$/,"$2"),g&&g.replace(/^(['"])(.*?)\1$/,"$2")),o.endDTD(),x.index+x[0].length}}return-1}function j(E,p,o){var T=E.indexOf("?>",p);if(T){var w=E.substring(p,T).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return w?(w[0].length,o.processingInstruction(w[1],w[2]),T+2):-1}return-1}function A(E){}function P(E,p){return E.__proto__=p,E}c.prototype={parse:function(E,p,o){var T=this.domBuilder;T.startDocument(),U(p,p={}),function(w,f,S,v,m){function g(Q){var K=Q.slice(1,-1);return K in S?S[K]:K.charAt(0)==="#"?function(st){if(st>65535){var xt=55296+((st-=65536)>>10),gt=56320+(1023&st);return String.fromCharCode(xt,gt)}return String.fromCharCode(st)}(parseInt(K.substr(1).replace("x","0x"))):(m.error("entity not found:"+Q),Q)}function x(Q){if(Q>u){var K=w.substring(u,Q).replace(/&#?\w+;/g,g);l&&R(u),v.characters(K,0,Q-u),u=Q}}function R(Q,K){for(;Q>=b&&(K=s.exec(w));)y=K.index,b=y+K[0].length,l.lineNumber++;l.columnNumber=Q-y+1}for(var y=0,b=0,s=/.*(?:\r\n?|\n)|.*$/g,l=v.locator,O=[{currentNSMap:f}],D={},u=0;;){try{var _=w.indexOf("<",u);if(_<0){if(!w.substr(u).match(/^\s*$/)){var L=v.doc,nt=L.createTextNode(w.substr(u));L.appendChild(nt),v.currentElement=nt}return}switch(_>u&&x(_),w.charAt(_+1)){case"/":var rt=w.indexOf(">",_+3),it=w.substring(_+2,rt),X=O.pop();rt<0?(it=w.substring(_+2).replace(/[\s<].*/,""),m.error("end tag name: "+it+" is not complete:"+X.tagName),rt=_+1+it.length):it.match(/\su?u=rt:x(Math.max(_,u)+1)}}(E,p,o,T,this.errorHandler),T.endDocument()}},A.prototype={setTagName:function(E){if(!W.test(E))throw new Error("invalid tagName:"+E);this.tagName=E},add:function(E,p,o){if(!W.test(E))throw new Error("invalid attribute:"+E);this[this.length++]={qName:E,value:p,offset:o}},length:0,getLocalName:function(E){return this[E].localName},getLocator:function(E){return this[E].locator},getQName:function(E){return this[E].qName},getURI:function(E){return this[E].uri},getValue:function(E){return this[E].value}},P({},P.prototype)instanceof P||(P=function(E,p){function o(){}for(p in o.prototype=p,o=new o,E)o[p]=E[p];return o}),wt.XMLReader=c},function(we,wt,Z){"use strict";var At,W,c;we.exports=(At={BASE:!0,HEAD:!0,HTML:!0,META:!0,NOFRAME:!0,NOSCRIPT:!0,PARAM:!0,SCRIPT:!0,STYLE:!0,TITLE:!0},W=["A","ABBR","ADDRESS","AREA","ARTICLE","ASIDE","AUDIO","B","BASE","BDI","BDO","BLOCKQUOTE","BODY","BR","BUTTON","CANVAS","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","COMMAND","DATALIST","DD","DEL","DETAILS","DFN","DIV","DL","DT","EM","EMBED","FIELDSET","FIGCAPTION","FIGURE","FONT","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEAD","HEADER","HGROUP","HR","HTML","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","LEGEND","LI","LINK","MAP","MARK","MATH","MENU","META","METER","NAV","NOBR","NOSCRIPT","OBJECT","OL","OPTION","OPTGROUP","OUTPUT","P","PARAM","PRE","PROGRESS","Q","RP","RT","RUBY","S","SAMP","SCRIPT","SECTION","SELECT","SMALL","SOURCE","SPAN","STRONG","STYLE","SUB","SUMMARY","SUP","SVG","TABLE","TBODY","TD","TEXTAREA","TFOOT","TH","THEAD","TIME","TITLE","TR","TRACK","U","UL","VAR","VIDEO","WBR"],c=function(C){var I={},G=document.body.appendChild(document.createElement(C)),q=window.getComputedStyle(G);return[].forEach.call(q,function(J){I[J]=q[J]}),document.body.removeChild(G),I},{initializeSerializer:function(){var C={};return[].forEach.call(W,function(I){At[I]||(C[I]=c(I))}),function(I){var G,q=[],J=void 0,U=void 0,V=void 0;if(I&&I.nodeType===Node.ELEMENT_NODE)return q=[],J=I.querySelectorAll("*"),[].forEach.call(J,function(j,A){var P;At[j.tagName]||(U=window.getComputedStyle(j),P=(P=j.tagName).toUpperCase(),C[P]||(C[P]=c(P)),V=C[P],q[A]=j.style.cssText,[].forEach.call(U,function(E){U[E]!==V[E]&&(j.style[E]=U[E])}))}),G=new XMLSerializer().serializeToString(I),J=[].map.call(J,function(j,A){return j.style.cssText=q[A],j}),G}}})},function(we,wt,Z){(function(At,W){var c;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */(function(C){var I=wt,G=(At&&At.exports,typeof W=="object"&&W);G.global!==G&&G.window;var q=function(A){this.message=A};(q.prototype=new Error).name="InvalidCharacterError";var J=function(A){throw new q(A)},U="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",V=/[\t\n\f\r ]/g,j={encode:function(A){A=String(A),/[^\0-\xFF]/.test(A)&&J("The string to be encoded contains characters outside of the Latin1 range.");for(var P,E,p,o,T=A.length%3,w="",f=-1,S=A.length-T;++f>18&63)+U.charAt(o>>12&63)+U.charAt(o>>6&63)+U.charAt(63&o);return T==2?(P=A.charCodeAt(f)<<8,E=A.charCodeAt(++f),w+=U.charAt((o=P+E)>>10)+U.charAt(o>>4&63)+U.charAt(o<<2&63)+"="):T==1&&(o=A.charCodeAt(f),w+=U.charAt(o>>2)+U.charAt(o<<4&63)+"=="),w},decode:function(A){var P=(A=String(A).replace(V,"")).length;P%4==0&&(P=(A=A.replace(/==?$/,"")).length),(P%4==1||/[^+a-zA-Z0-9/]/.test(A))&&J("Invalid character: the string to be decoded is not correctly encoded.");for(var E,p,o=0,T="",w=-1;++w>(-2*o&6)));return T},version:"0.1.0"};(c=function(){return j}.call(wt,Z,wt,At))===void 0||(At.exports=c)})()}).call(this,Z(86)(we),Z(87))},function(we,wt){we.exports=function(Z){return Z.webpackPolyfill||(Z.deprecate=function(){},Z.paths=[],Z.children||(Z.children=[]),Object.defineProperty(Z,"loaded",{enumerable:!0,get:function(){return Z.l}}),Object.defineProperty(Z,"id",{enumerable:!0,get:function(){return Z.i}}),Z.webpackPolyfill=1),Z}},function(we,wt){var Z;Z=function(){return this}();try{Z=Z||new Function("return this")()}catch(At){typeof window=="object"&&(Z=window)}we.exports=Z},function(we,wt,Z){"use strict";wt.a=function(At,W){return At=+At,W=+W,function(c){return Math.round(At*(1-c)+W*c)}}},function(we,wt,Z){"use strict";var At;(At=function(){return{bar:` @@ -322,17 +322,17 @@ var BV=Object.defineProperty,jV=Object.defineProperties;var zV=Object.getOwnProp - `}}.call(xt,ft,xt,pe))===void 0||(pe.exports=Mt)},function(pe,xt,ft){"use strict";ft.r(xt);var Mt=Array.prototype.slice,W=function(D){return D};function u(D){return"translate("+(D+.5)+",0)"}function T(D){return"translate(0,"+(D+.5)+")"}function I(D){return function(C){return+D(C)}}function Y(D){var C=Math.max(0,D.bandwidth()-1)/2;return D.round()&&(C=Math.round(C)),function(d){return+D(d)+C}}function X(){return!this.__axis}function Z(D,C){var d=[],o=null,k=null,S=6,h=6,w=3,b=D===1||D===4?-1:1,g=D===4||D===2?"x":"y",p=D===1||D===3?u:T;function y(P){var m=o==null?C.ticks?C.ticks.apply(C,d):C.domain():o,x=k==null?C.tickFormat?C.tickFormat.apply(C,d):W:k,l=Math.max(S,0)+w,s=C.range(),N=+s[0]+.5,R=+s[s.length-1]+.5,c=(C.bandwidth?Y:I)(C.copy()),E=P.selection?P.selection():P,L=E.selectAll(".domain").data([null]),et=E.selectAll(".tick").data(m,C).order(),nt=et.exit(),rt=et.enter().append("g").attr("class","tick"),G=et.select("line"),ut=et.select("text");L=L.merge(L.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),et=et.merge(rt),G=G.merge(rt.append("line").attr("stroke","currentColor").attr(g+"2",b*S)),ut=ut.merge(rt.append("text").attr("fill","currentColor").attr(g,b*l).attr("dy",D===1?"0em":D===3?"0.71em":"0.32em")),P!==E&&(L=L.transition(P),et=et.transition(P),G=G.transition(P),ut=ut.transition(P),nt=nt.transition(P).attr("opacity",1e-6).attr("transform",function(F){return isFinite(F=c(F))?p(F):this.getAttribute("transform")}),rt.attr("opacity",1e-6).attr("transform",function(F){var B=this.parentNode.__axis;return p(B&&isFinite(B=B(F))?B:c(F))})),nt.remove(),L.attr("d",D===4||D==2?h?"M"+b*h+","+N+"H0.5V"+R+"H"+b*h:"M0.5,"+N+"V"+R:h?"M"+N+","+b*h+"V0.5H"+R+"V"+b*h:"M"+N+",0.5H"+R),et.attr("opacity",1).attr("transform",function(F){return p(c(F))}),G.attr(g+"2",b*S),ut.attr(g,b*l).text(x),E.filter(X).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",D===2?"start":D===4?"end":"middle"),E.each(function(){this.__axis=c})}return y.scale=function(P){return arguments.length?(C=P,y):C},y.ticks=function(){return d=Mt.call(arguments),y},y.tickArguments=function(P){return arguments.length?(d=P==null?[]:Mt.call(P),y):d.slice()},y.tickValues=function(P){return arguments.length?(o=P==null?null:Mt.call(P),y):o&&o.slice()},y.tickFormat=function(P){return arguments.length?(k=P,y):k},y.tickSize=function(P){return arguments.length?(S=h=+P,y):S},y.tickSizeInner=function(P){return arguments.length?(S=+P,y):S},y.tickSizeOuter=function(P){return arguments.length?(h=+P,y):h},y.tickPadding=function(P){return arguments.length?(w=+P,y):w},y}function H(D){return Z(1,D)}function _(D){return Z(2,D)}function j(D){return Z(3,D)}function A(D){return Z(4,D)}ft.d(xt,"axisTop",function(){return H}),ft.d(xt,"axisRight",function(){return _}),ft.d(xt,"axisBottom",function(){return j}),ft.d(xt,"axisLeft",function(){return A})},,function(pe,xt,ft){"use strict";var Mt;(Mt=function(W){var u=ft(44),T=0,I={small:{limit:10,format:u.format("")},medium:{limit:1e3,format:u.format("")},large:{limit:null,format:u.format(",d")}},Y={small:{limit:10,format:u.format(".3f")},medium:{limit:100,format:u.format(".1f")},large:{limit:null,format:u.format(".2s")}},X=function(Z,H){var _="large";return Z1&&arguments[1]!==void 0?arguments[1]:12,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Arial",D=document.createElement("canvas"),C=D.getContext("2d");return C.font=j+"px "+A,C.measureText(_).width},wrapText:function(_,j,A,D){var C=u.select(D),d=C.text().split(/\s+/).reverse(),o=void 0,k=[],S=0,h=T*Y,w=C.attr("y"),b=parseFloat(C.attr("dy")),g=j*X,p=C.text(null).append("tspan").attr("x",_).attr("y",w-5).attr("dy",b+"em").classed(Z,!0).style("font-size",j+"px");for(p.text(d.pop()),p=C.append("tspan").classed(H,!0).attr("x",_).attr("y",w+I).attr("dy",++S*h+b+"em").style("font-size",g+"px");o=d.pop();)k.push(o),p.text(k.join(" ")),p.node()&&p.node().getComputedTextLength()>A-50&&(k.pop(),p.text(k.join(" ")),k=[o],p=C.append("tspan").classed(H,!0).attr("x",_).attr("y",w+I).attr("dy",++S*h+b+"em").text(o).style("font-size",g+"px"))},wrapTextWithEllipses:function(_,j){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1.2;_.each(function(){var d,o,k,S,h,w,b;for(d=(_=u.select(this)).text().split(/\s+/).reverse(),k=[],S=0,h=_.attr("y"),w=parseFloat(_.attr("dy")),b=_.text(null).append("tspan").attr("x",A).attr("y",h).attr("dy",w+"em");o=d.pop();)if(k.push(o),b.text(k.join(" ")),b.node()&&b.node().getComputedTextLength()>j){if(k.pop(),b.text(k.join(" ")),!(S1&&arguments[1]!==void 0?arguments[1]:"day",I=localeTimeMap[T],Y=new Intl.DateTimeFormat(u,I);return function(X){return Y.format(X)}}}}.call(xt,ft,xt,pe))===void 0||(pe.exports=Mt)},function(pe,xt,ft){"use strict";var Mt,W=function(I,Y){if(Array.isArray(I))return I;if(Symbol.iterator in Object(I))return function(X,Z){var H=[],_=!0,j=!1,A=void 0;try{for(var D,C=X[Symbol.iterator]();!(_=(D=C.next()).done)&&(H.push(D.value),!Z||H.length!==Z);_=!0);}catch(d){j=!0,A=d}finally{try{!_&&C.return&&C.return()}finally{if(j)throw A}}return H}(I,Y);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I};function T(I,Y,X){return Y in I?Object.defineProperty(I,Y,{value:X,enumerable:!0,configurable:!0,writable:!0}):I[Y]=X,I}(Mt=function(I){var Y,X=ft(39),Z=ft(67),H=ft(73),_=H.axisTimeCombinations,j=H.timeBenchmarks,A=ft(95),D=A.convertMillisecondsToDays,C=A.getLocaleDateFormatter,d={minute:Z.timeFormat("%M m"),hour:Z.timeFormat("%H %p"),day:Z.timeFormat("%e"),daymonth:Z.timeFormat("%d %b"),month:Z.timeFormat("%b"),year:Z.timeFormat("%Y")},o=(T(Y={},_.MINUTE_HOUR,X.timeHour.every(1)),T(Y,_.HOUR_DAY,X.timeDay.every(1)),T(Y,_.DAY_MONTH,X.timeMonth.every(1)),T(Y,_.MONTH_YEAR,X.timeYear.every(1)),Y),k=function(h){var w=j.ONE_YEAR;return h2&&arguments[2]!==void 0?arguments[2]:null,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,p=new Date(h[0].date),y=new Date(h[h.length-1].date),P=y-p;g&&(typeof Intl=="undefined"||(typeof Intl=="undefined"?"undefined":u(Intl))==="object"&&!Intl.DateTimeFormat)&&(g=null),b||(b=k(P));var m=b.split("-"),x=W(m,2),l=x[0],s=x[1],N=o[b],R=S(w,D(P));return{minor:{format:g?C(g,l):d[l],tick:R},major:{format:g?C(g,s):d[s],tick:N}}}}}.call(xt,ft,xt,pe))===void 0||(pe.exports=Mt)},function(pe,xt,ft){"use strict";var Mt;(Mt=function(W){ft(7);var u="highlight-filter";return{bounceCircleHighlight:function(T,I,Y){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2*Y,Z=100,H=50;T.transition().ease(I).duration(Z).attr("r",X).transition().ease(I).delay(H).duration(Z).attr("r",Y)},createFilterContainer:function(T){return T.append("defs").append("filter").attr("id",u)},createGausianBlur:function(T){return T.append("feGaussianBlur").attr("stdDeviation",1).attr("result","coloredBlur"),u},createWhiteGlow:function(T){T.attr("x","-5000%").attr("y","-5000%").attr("width","10000%").attr("height","10000%"),T.append("feFlood").attr("result","flood").attr("flood-color","#ffffff").attr("flood-opacity","1"),T.append("feComposite").attr("result","mask").attr("in2","SourceGraphic").attr("operator","in").attr("in","flood"),T.append("feMorphology").attr("result","dilated").attr("operator","dilate").attr("radius","2").attr("in","mask"),T.append("feGaussianBlur").attr("result","blurred").attr("stdDeviation","5").attr("in","dilated");var I=T.append("feMerge");return I.append("feMergeNode").attr("in","blurred"),I.append("feMergeNode").attr("in","SourceGraphic"),u},createGlow:function(T){T.attr("x","-30%").attr("y","-30%").attr("width","160%").attr("height","160%"),T.append("feGaussianBlur").attr("stdDeviation","0.9 0.9").attr("result","glow");var I=T.append("feMerge");return I.append("feMergeNode").attr("in","glow"),I.append("feMergeNode").attr("in","glow"),I.append("feMergeNode").attr("in","glow"),u},createGlowWithMatrix:function(T){T.attr("x","-500%").attr("y","-500%").attr("width","1800%").attr("height","1800%"),T.append("feColorMatrix").attr("type","matrix").attr("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"),T.append("feGaussianBlur").attr("stdDeviation","1").attr("result","coloredBlur").attr("in","SourceGraphic");var I=T.append("feMerge");return I.append("feMergeNode").attr("in","coloredBlur"),I.append("feMergeNode").attr("in","SourceGraphic"),u}}}.call(xt,ft,xt,pe))===void 0||(pe.exports=Mt)},,,,,,,,,,function(pe,xt,ft){"use strict";var Mt,W=function(I,Y){if(Array.isArray(I))return I;if(Symbol.iterator in Object(I))return function(X,Z){var H=[],_=!0,j=!1,A=void 0;try{for(var D,C=X[Symbol.iterator]();!(_=(D=C.next()).done)&&(H.push(D.value),!Z||H.length!==Z);_=!0);}catch(d){j=!0,A=d}finally{try{!_&&C.return&&C.return()}finally{if(j)throw A}}return H}(I,Y);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u=Object.assign||function(I){for(var Y=1;Y=0||Object.prototype.hasOwnProperty.call(Nn,ii)&&(Ur[ii]=Nn[ii]);return Ur}(Zn,["dates"]),pr=Or.map(function(Nn){return{date:new Date(Nn[ze]),value:+Nn[nn]}});return dr.push(u({dates:pr},Rr)),dr},[]),dataByDate:cr,dataRange:rr}}($e);ae=pn.dataByTopic,le=pn.dataByDate,Ae=pn.dataRange;var we,gn,Ke,hn=St?300:0;F=E-c.left-c.right-hn,B=L-c.top-c.bottom,function(){var mn=Y.min(ae,function(Zn){var Or=Zn.dates;return Y.min(Or,Mn)}),dn=Y.max(ae,function(Zn){var Or=Zn.dates;return Y.max(Or,Mn)}),cr=Y.max(ae,function(Zn){var Or=Zn.dates;return Y.max(Or,Qn)}),rr=Y.min(ae,function(Zn){var Or=Zn.dates;return Y.min(Or,Qn)}),fr=rr<0?rr:0;st=A.scaleTime().domain([mn,dn]).rangeRound([0,F]),ht=A.scaleLinear().domain([fr,Math.abs(cr)]).rangeRound([B,0]).nice();var dr=(tt=A.scaleOrdinal().range(q).domain(ae.map(Cr))).range();at=tt.domain().reduce(function(Zn,Or,Rr){return Zn[Or]=dr[Rr],Zn},{})}(),function(mn){G||(G=C.select(mn).append("svg").classed("britechart line-chart",!0),function(){var dn=G.append("g").classed("container-group",!0).attr("transform","translate("+c.left+","+c.top+")");dn.append("g").classed("x-axis-group",!0).append("g").classed("axis x",!0),dn.selectAll(".x-axis-group").append("g").classed("month-axis",!0),dn.append("g").classed("y-axis-group",!0).append("g").classed("axis y",!0),dn.append("g").classed("grid-lines-group",!0),dn.append("g").classed("chart-group",!0),St&&dn.append("g").classed("legend-group",!0),dn.append("g").classed("metadata-group",!0)}()),G.attr("width",E).attr("height",L)}(this),function(){var mn=void 0,dn=void 0;if(Ct==="custom"&&typeof Nt=="string")mn={tick:vt,format:d.timeFormat(Nt)},dn=null;else{var cr=w(le,E,Ct,Ft);mn=cr.minor,dn=cr.major,U=X.axisBottom(st).ticks(dn.tick).tickSize(0,0).tickFormat(dn.format)}ct=X.axisBottom(st).ticks(mn.tick).tickSize(10,0).tickPadding(5).tickFormat(mn.format),J=X.axisLeft(ht).ticks(te).tickSize([0]).tickPadding(5).tickFormat(fe),function(rr,fr){G.select(".grid-lines-group").selectAll("line").remove(),(re==="horizontal"||re==="full")&&G.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(ht.ticks(fr)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-K-30).attr("x2",F).attr("y1",function(dr){return ht(dr)}).attr("y2",function(dr){return ht(dr)}),re!=="vertical"&&re!=="full"||G.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(st.ticks(rr)).enter().append("line").attr("class","vertical-grid-line").attr("y1",0).attr("y2",B).attr("x1",function(dr){return st(dr)}).attr("x2",function(dr){return st(dr)}),G.select(".grid-lines-group").selectAll("line.extended-x-line").data([0]).enter().append("line").attr("class","extended-x-line").attr("x1",-K-30).attr("x2",F).attr("y1",L-c.bottom-c.top).attr("y2",L-c.bottom-c.top)}(mn.tick,te)}(),function(){if(G.select(".x-axis-group .axis.x").attr("transform","translate(0, "+B+")").call(ct),Ct!=="custom"&&G.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(B+28)+")").call(U),tn){xn&&G.selectAll(".x-axis-label").remove();var mn=F/2,dn=B+28+36;xn=G.select(".x-axis-group").append("text").attr("x",mn).attr("y",dn).attr("text-anchor","middle").attr("class","x-axis-label").text(tn)}if(G.select(".y-axis-group .axis.y").attr("transform","translate("+-K+", 0)").call(J).call(Be),un){se&&G.selectAll(".y-axis-label").remove();var cr=-ne-K,rr=-B/2;se=G.select(".y-axis-group").append("text").attr("x",rr).attr("y",cr).attr("text-anchor","middle").attr("transform","rotate(270)").attr("class","y-axis-label").text(un)}}(),function(){if(Ae){var mn=D.area().curve(p[Xt]).x(function(dn){var cr=dn.date;return st(cr)}).y0(function(dn){var cr=dn.min;return ht(cr)}).y1(function(dn){var cr=dn.max;return ht(cr)});G.select(".chart-group").append("g").attr("class","area").append("path").data([Ae]).attr("class","area").attr("d",mn)}}(),we=void 0,gn=void 0,gn=D.line().curve(p[Xt]).x(function(mn){var dn=mn.date;return st(dn)}).y(function(mn){var dn=mn.value;return ht(dn)}),we=G.select(".chart-group").selectAll(".line").data(ae,Cr),ut=we.enter().append("g").attr("class","topic").append("path").attr("class","line").merge(we).attr("id",function(mn){return mn.topic}).attr("d",function(mn){var dn=mn.dates;return gn(dn)}).style("stroke",function(mn){return dn=mn.topic,tt(dn);var dn}).style("opacity",function(mn){return mn.hasOwnProperty("show")?mn.show?1:0:1}).style("stroke-dasharray",function(mn){return!!mn.hasOwnProperty("show")&&!!mn.dashed&&[.5,4]}),we.exit().remove(),function(){if(St){var mn=Number.parseInt(F)+Number.parseInt(c.right);Ge=G.selectAll(".legend-group").append("g").attr("transform","translate("+mn+", 0)").classed("tooltip-text",!0),yn=Ge.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),Ge.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),cn=Ge.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");var dn=void 0;dn=ae[0].hasOwnProperty("show")?ae.filter(function(Zn){return Zn.show}):ae;for(var cr=0;crrt&&(Rt||(Rt=G.select(".metadata-group").append("rect").attr("class","overlay").attr("y1",0).attr("y2",L).attr("height",B).attr("width",F).attr("fill","rgba(0, 0, 0, 0)").style("display","none")),Bt||(Bt=G.select(".metadata-group").append("g").attr("class","hover-marker vertical-marker-container").attr("transform","translate(9999, 0)"),Ht=Bt.selectAll("path").data([{x1:0,y1:0,x2:0,y2:0}]).enter().append("line").classed("vertical-marker",!0).attr("x1",0).attr("y1",B).attr("x2",0).attr("y2",0)),G.on("mouseover",function(mn){(function(dn,cr){Rt.style("display","block"),Ht.classed("bc-is-active",!0),de.call("customMouseOver",dn,cr,C.mouse(dn))})(this,mn)}).on("mouseout",function(mn){(function(dn,cr){Rt.style("display","none"),Ht.classed("bc-is-active",!1),de.call("customMouseOut",dn,cr,C.mouse(dn))})(this,mn)}).on("mousemove",function(mn){var dn,cr,rr,fr,dr,Zn,Or,Rr;dn=this,cr=C.mouse(dn),rr=W(cr,2),fr=rr[0],dr=rr[1],Zn=-c.left,Or=Te(fr+Zn),Rr=void 0,Or&&(vn(Rr=st(new Date(Or.date))),Xe(Or),de.call("customMouseMove",dn,Or,at,Rr,dr))})),Ot&&function(){G.select(".chart-group").selectAll(".data-points-container").remove();var mn=ut.nodes().reduce(function(dn,cr){return dn[cr.id]=cr,dn},{});le.reduce(function(dn,cr){var rr=cr.topics.map(function(fr){return{topic:fr,node:mn[fr.name]}});return dn=[].concat(T(dn),T(rr))},[])}(),G.on("touchmove",function(mn){(function(dn,cr){de.call("customTouchMove",dn,cr,C.touch(dn))})(this,mn)}),pt&&(Ke=Te(F))&&(vn(st(new Date(Ke.date))),Xe(Ke))})}function Be(xe){xe.selectAll(".tick text").attr("transform","translate(0, -7)")}function fe(xe){var $e=void 0;return $e=R(xe)?s:N,zt&&($e=j.format(zt)),$e(xe)}function ke(xe){return new Date(xe).toLocaleDateString()}function De(xe){var $e,pn,we=void 0,gn=void 0;$e=xe.topicName,pn=xe.sum.toLocaleString(),gn=cn.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",Vn).style("fill","#000000").style("font-size","12px").text($e).call(Me,200,12,-25),we=cn.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",Vn).style("fill","#000000").style("font-size","12px").text(pn),fn=gn.node().getBBox().height?gn.node().getBBox().height:fn,fn+5,he=we.node().getBBox().width?we.node().getBBox().width:he,we.attr("x",300-he-75),cn.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",Vn+8).attr("r",5).style("fill",at[xe.topic]).style("stroke-width",1),Vn+=fn+7}function Te(xe){var $e,pn,we,gn=st.invert(xe),Ke=(0,Y.bisector(Mn).left)(le,gn,1),hn=le[Ke],mn=le[Ke-1],dn=void 0;return mn&&hn?($e=gn,pn=hn,we=mn,dn=new Date($e).getTime()-new Date(pn.date).getTime()>new Date(we.date).getTime()-new Date($e).getTime()?pn:we):dn=hn,dn}function Me(xe,$e,pn){var we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;xe.each(function(){var gn,Ke,hn,mn,dn,cr,rr;for(gn=(xe=C.select(this)).text().split(/\s+/).reverse(),hn=[],mn=0,dn=xe.attr("y"),cr=parseFloat(xe.attr("dy")),rr=xe.text(null).append("tspan").attr("x",we).attr("y",dn).attr("dy",cr+"em");Ke=gn.pop();)hn.push(Ke),rr.text(hn.join(" ")),o.getTextWidth(hn.join(" "),pn,"Karla, sans-serif")>$e&&(hn.pop(),rr.text(hn.join(" ")),mn<4&&(hn=[Ke],rr=xe.append("tspan").attr("x",we).attr("y",dn).attr("dy",1.2*++mn+cr+"em").text(Ke)))})}function Xe(xe){Bt.selectAll(".circle-container").remove();var $e=ut.nodes().reduce(function(gn,Ke){return gn[Ke.id]=Ke,gn},{}),pn=ae.filter(function(gn){return!gn.show}).map(function(gn){return gn.topicName}),we=xe.topics.map(function(gn){return{topic:gn,node:$e[gn.name]}}).filter(function(gn){return!!gn.topic}).sort(function(gn,Ke){return at[gn.topic.name]pr.x+dr;){var Ir=(Or+Rr)/2;if(pr=rr.getPointAtLength(Ir),cr{(function(pe,xt){lr.exports=xt()})(window,function(){return function(pe){var xt={};function ft(Mt){if(xt[Mt])return xt[Mt].exports;var W=xt[Mt]={i:Mt,l:!1,exports:{}};return pe[Mt].call(W.exports,W,W.exports,ft),W.l=!0,W.exports}return ft.m=pe,ft.c=xt,ft.d=function(Mt,W,u){ft.o(Mt,W)||Object.defineProperty(Mt,W,{enumerable:!0,get:u})},ft.r=function(Mt){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Mt,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Mt,"__esModule",{value:!0})},ft.t=function(Mt,W){if(1&W&&(Mt=ft(Mt)),8&W||4&W&&typeof Mt=="object"&&Mt&&Mt.__esModule)return Mt;var u=Object.create(null);if(ft.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:Mt}),2&W&&typeof Mt!="string")for(var T in Mt)ft.d(u,T,function(I){return Mt[I]}.bind(null,T));return u},ft.n=function(Mt){var W=Mt&&Mt.__esModule?function(){return Mt.default}:function(){return Mt};return ft.d(W,"a",W),W},ft.o=function(Mt,W){return Object.prototype.hasOwnProperty.call(Mt,W)},ft.p="",ft(ft.s=116)}([function(pe,xt,ft){"use strict";ft.d(xt,"a",function(){return u});var Mt=new Date,W=new Date;function u(T,I,Y,X){function Z(H){return T(H=arguments.length===0?new Date:new Date(+H)),H}return Z.floor=function(H){return T(H=new Date(+H)),H},Z.ceil=function(H){return T(H=new Date(H-1)),I(H,1),T(H),H},Z.round=function(H){var _=Z(H),j=Z.ceil(H);return H-_0))return D;do D.push(A=new Date(+H)),I(H,j),T(H);while(A=_)for(;T(_),!H(_);)_.setTime(_-1)},function(_,j){if(_>=_)if(j<0)for(;++j<=0;)for(;I(_,-1),!H(_););else for(;--j>=0;)for(;I(_,1),!H(_););})},Y&&(Z.count=function(H,_){return Mt.setTime(+H),W.setTime(+_),T(Mt),T(W),Math.floor(Y(Mt,W))},Z.every=function(H){return H=Math.floor(H),isFinite(H)&&H>0?H>1?Z.filter(X?function(_){return X(_)%H==0}:function(_){return Z.count(0,_)%H==0}):Z:null}),Z}},function(pe,xt,ft){"use strict";ft.d(xt,"d",function(){return Mt}),ft.d(xt,"c",function(){return W}),ft.d(xt,"b",function(){return u}),ft.d(xt,"a",function(){return T}),ft.d(xt,"e",function(){return I});var Mt=1e3,W=6e4,u=36e5,T=864e5,I=6048e5},,function(pe,xt,ft){"use strict";ft.d(xt,"g",function(){return T}),ft.d(xt,"c",function(){return I}),ft.d(xt,"k",function(){return Y}),ft.d(xt,"m",function(){return X}),ft.d(xt,"i",function(){return Z}),ft.d(xt,"a",function(){return H}),ft.d(xt,"e",function(){return _}),ft.d(xt,"h",function(){return j}),ft.d(xt,"d",function(){return A}),ft.d(xt,"l",function(){return D}),ft.d(xt,"n",function(){return C}),ft.d(xt,"j",function(){return d}),ft.d(xt,"b",function(){return o}),ft.d(xt,"f",function(){return k});var Mt=ft(0),W=ft(1);function u(S){return Object(Mt.a)(function(h){h.setDate(h.getDate()-(h.getDay()+7-S)%7),h.setHours(0,0,0,0)},function(h,w){h.setDate(h.getDate()+7*w)},function(h,w){return(w-h-(w.getTimezoneOffset()-h.getTimezoneOffset())*W.c)/W.e})}var T=u(0),I=u(1),Y=u(2),X=u(3),Z=u(4),H=u(5),_=u(6),j=T.range,A=I.range,D=Y.range,C=X.range,d=Z.range,o=H.range,k=_.range},function(pe,xt,ft){"use strict";ft.d(xt,"g",function(){return T}),ft.d(xt,"c",function(){return I}),ft.d(xt,"k",function(){return Y}),ft.d(xt,"m",function(){return X}),ft.d(xt,"i",function(){return Z}),ft.d(xt,"a",function(){return H}),ft.d(xt,"e",function(){return _}),ft.d(xt,"h",function(){return j}),ft.d(xt,"d",function(){return A}),ft.d(xt,"l",function(){return D}),ft.d(xt,"n",function(){return C}),ft.d(xt,"j",function(){return d}),ft.d(xt,"b",function(){return o}),ft.d(xt,"f",function(){return k});var Mt=ft(0),W=ft(1);function u(S){return Object(Mt.a)(function(h){h.setUTCDate(h.getUTCDate()-(h.getUTCDay()+7-S)%7),h.setUTCHours(0,0,0,0)},function(h,w){h.setUTCDate(h.getUTCDate()+7*w)},function(h,w){return(w-h)/W.e})}var T=u(0),I=u(1),Y=u(2),X=u(3),Z=u(4),H=u(5),_=u(6),j=T.range,A=I.range,D=Y.range,C=X.range,d=Z.range,o=H.range,k=_.range},function(pe,xt,ft){"use strict";ft.d(xt,"a",function(){return W}),ft.d(xt,"d",function(){return u}),ft.d(xt,"c",function(){return T}),ft.d(xt,"e",function(){return S}),ft.d(xt,"h",function(){return b}),ft.d(xt,"g",function(){return g}),ft.d(xt,"b",function(){return p}),ft.d(xt,"f",function(){return s});var Mt=ft(11);function W(){}var u=.7,T=1/u,I="\\s*([+-]?\\d+)\\s*",Y="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",X="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Z=/^#([0-9a-f]{3,8})$/,H=new RegExp("^rgb\\("+[I,I,I]+"\\)$"),_=new RegExp("^rgb\\("+[X,X,X]+"\\)$"),j=new RegExp("^rgba\\("+[I,I,I,Y]+"\\)$"),A=new RegExp("^rgba\\("+[X,X,X,Y]+"\\)$"),D=new RegExp("^hsl\\("+[Y,X,X]+"\\)$"),C=new RegExp("^hsla\\("+[Y,X,X,Y]+"\\)$"),d={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function o(){return this.rgb().formatHex()}function k(){return this.rgb().formatRgb()}function S(c){var E,L;return c=(c+"").trim().toLowerCase(),(E=Z.exec(c))?(L=E[1].length,E=parseInt(E[1],16),L===6?h(E):L===3?new p(E>>8&15|E>>4&240,E>>4&15|240&E,(15&E)<<4|15&E,1):L===8?new p(E>>24&255,E>>16&255,E>>8&255,(255&E)/255):L===4?new p(E>>12&15|E>>8&240,E>>8&15|E>>4&240,E>>4&15|240&E,((15&E)<<4|15&E)/255):null):(E=H.exec(c))?new p(E[1],E[2],E[3],1):(E=_.exec(c))?new p(255*E[1]/100,255*E[2]/100,255*E[3]/100,1):(E=j.exec(c))?w(E[1],E[2],E[3],E[4]):(E=A.exec(c))?w(255*E[1]/100,255*E[2]/100,255*E[3]/100,E[4]):(E=D.exec(c))?x(E[1],E[2]/100,E[3]/100,1):(E=C.exec(c))?x(E[1],E[2]/100,E[3]/100,E[4]):d.hasOwnProperty(c)?h(d[c]):c==="transparent"?new p(NaN,NaN,NaN,0):null}function h(c){return new p(c>>16&255,c>>8&255,255&c,1)}function w(c,E,L,et){return et<=0&&(c=E=L=NaN),new p(c,E,L,et)}function b(c){return c instanceof W||(c=S(c)),c?new p((c=c.rgb()).r,c.g,c.b,c.opacity):new p}function g(c,E,L,et){return arguments.length===1?b(c):new p(c,E,L,et==null?1:et)}function p(c,E,L,et){this.r=+c,this.g=+E,this.b=+L,this.opacity=+et}function y(){return"#"+m(this.r)+m(this.g)+m(this.b)}function P(){var c=this.opacity;return((c=isNaN(c)?1:Math.max(0,Math.min(1,c)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(c===1?")":", "+c+")")}function m(c){return((c=Math.max(0,Math.min(255,Math.round(c)||0)))<16?"0":"")+c.toString(16)}function x(c,E,L,et){return et<=0?c=E=L=NaN:L<=0||L>=1?c=E=NaN:E<=0&&(c=NaN),new N(c,E,L,et)}function l(c){if(c instanceof N)return new N(c.h,c.s,c.l,c.opacity);if(c instanceof W||(c=S(c)),!c)return new N;if(c instanceof N)return c;var E=(c=c.rgb()).r/255,L=c.g/255,et=c.b/255,nt=Math.min(E,L,et),rt=Math.max(E,L,et),G=NaN,ut=rt-nt,F=(rt+nt)/2;return ut?(G=E===rt?(L-et)/ut+6*(L0&&F<1?0:G,new N(G,ut,F,c.opacity)}function s(c,E,L,et){return arguments.length===1?l(c):new N(c,E,L,et==null?1:et)}function N(c,E,L,et){this.h=+c,this.s=+E,this.l=+L,this.opacity=+et}function R(c,E,L){return 255*(c<60?E+(L-E)*c/60:c<180?L:c<240?E+(L-E)*(240-c)/60:E)}Object(Mt.a)(W,S,{copy:function(c){return Object.assign(new this.constructor,this,c)},displayable:function(){return this.rgb().displayable()},hex:o,formatHex:o,formatHsl:function(){return l(this).formatHsl()},formatRgb:k,toString:k}),Object(Mt.a)(p,g,Object(Mt.b)(W,{brighter:function(c){return c=c==null?T:Math.pow(T,c),new p(this.r*c,this.g*c,this.b*c,this.opacity)},darker:function(c){return c=c==null?u:Math.pow(u,c),new p(this.r*c,this.g*c,this.b*c,this.opacity)},rgb:function(){return this},displayable:function(){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:y,formatHex:y,formatRgb:P,toString:P})),Object(Mt.a)(N,s,Object(Mt.b)(W,{brighter:function(c){return c=c==null?T:Math.pow(T,c),new N(this.h,this.s,this.l*c,this.opacity)},darker:function(c){return c=c==null?u:Math.pow(u,c),new N(this.h,this.s,this.l*c,this.opacity)},rgb:function(){var c=this.h%360+360*(this.h<0),E=isNaN(c)||isNaN(this.s)?0:this.s,L=this.l,et=L+(L<.5?L:1-L)*E,nt=2*L-et;return new p(R(c>=240?c-240:c+120,nt,et),R(c,nt,et),R(c<120?c+240:c-120,nt,et),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var c=this.opacity;return((c=isNaN(c)?1:Math.max(0,Math.min(1,c)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(c===1?")":", "+c+")")}}))},function(pe,xt,ft){"use strict";xt.a=function(Mt,W){return Mt=+Mt,W=+W,function(u){return Mt*(1-u)+W*u}}},function(pe,xt,ft){"use strict";ft.r(xt);var Mt=ft(12),W=ft(32),u=function(g){return Object(W.a)(Object(Mt.a)(g).call(document.documentElement))},T=0;function I(){return new Y}function Y(){this._="@"+(++T).toString(36)}Y.prototype=I.prototype={constructor:Y,get:function(g){for(var p=this._;!(p in g);)if(!(g=g.parentNode))return;return g[p]},set:function(g,p){return g[this._]=p},remove:function(g){return this._ in g&&delete g[this._]},toString:function(){return this._}};var X=ft(34),Z=ft(60),H=ft(20),_=ft(14),j=ft(13),A=ft(10),D=function(g){return typeof g=="string"?new A.a([document.querySelectorAll(g)],[document.documentElement]):new A.a([g==null?[]:g],A.c)},C=ft(19),d=ft(33),o=ft(35),k=ft(61),S=ft(22),h=function(g,p){p==null&&(p=Object(S.a)().touches);for(var y=0,P=p?p.length:0,m=new Array(P);y180||Z<-180?Z-360*Math.round(Z/360):Z):Object(Mt.a)(isNaN(Y)?X:Y)}function T(Y){return(Y=+Y)==1?I:function(X,Z){return Z-X?function(H,_,j){return H=Math.pow(H,j),_=Math.pow(_,j)-H,j=1/j,function(A){return Math.pow(H+A*_,j)}}(X,Z,Y):Object(Mt.a)(isNaN(X)?Z:X)}}function I(Y,X){var Z=X-Y;return Z?W(Y,Z):Object(Mt.a)(isNaN(Y)?X:Y)}},function(pe,xt,ft){"use strict";var Mt=ft(18);xt.a=function(W){return(W=Object(Mt.a)(Math.abs(W)))?W[1]:NaN}},function(pe,xt,ft){"use strict";var Mt=ft(19),W=ft(33),u=ft(34),T=function(q){return new Array(q.length)};function I(q,at){this.ownerDocument=q.ownerDocument,this.namespaceURI=q.namespaceURI,this._next=null,this._parent=q,this.__data__=at}I.prototype={constructor:I,appendChild:function(q){return this._parent.insertBefore(q,this._next)},insertBefore:function(q,at){return this._parent.insertBefore(q,at)},querySelector:function(q){return this._parent.querySelector(q)},querySelectorAll:function(q){return this._parent.querySelectorAll(q)}};function Y(q,at,bt,mt,Ct,vt){for(var Nt,Ft=0,Ot=at.length,At=vt.length;Ftat?1:q>=at?0:NaN}var H=ft(20);function _(q){return function(){this.removeAttribute(q)}}function j(q){return function(){this.removeAttributeNS(q.space,q.local)}}function A(q,at){return function(){this.setAttribute(q,at)}}function D(q,at){return function(){this.setAttributeNS(q.space,q.local,at)}}function C(q,at){return function(){var bt=at.apply(this,arguments);bt==null?this.removeAttribute(q):this.setAttribute(q,bt)}}function d(q,at){return function(){var bt=at.apply(this,arguments);bt==null?this.removeAttributeNS(q.space,q.local):this.setAttributeNS(q.space,q.local,bt)}}var o=ft(35);function k(q){return function(){delete this[q]}}function S(q,at){return function(){this[q]=at}}function h(q,at){return function(){var bt=at.apply(this,arguments);bt==null?delete this[q]:this[q]=bt}}function w(q){return q.trim().split(/^|\s+/)}function b(q){return q.classList||new g(q)}function g(q){this._node=q,this._names=w(q.getAttribute("class")||"")}function p(q,at){for(var bt=b(q),mt=-1,Ct=at.length;++mt=0&&(this._names.splice(at,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(q){return this._names.indexOf(q)>=0}};function l(){this.textContent=""}function s(q){return function(){this.textContent=q}}function N(q){return function(){var at=q.apply(this,arguments);this.textContent=at==null?"":at}}function R(){this.innerHTML=""}function c(q){return function(){this.innerHTML=q}}function E(q){return function(){var at=q.apply(this,arguments);this.innerHTML=at==null?"":at}}function L(){this.nextSibling&&this.parentNode.appendChild(this)}function et(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var nt=ft(12);function rt(){return null}function G(){var q=this.parentNode;q&&q.removeChild(this)}function ut(){var q=this.cloneNode(!1),at=this.parentNode;return at?at.insertBefore(q,this.nextSibling):q}function F(){var q=this.cloneNode(!0),at=this.parentNode;return at?at.insertBefore(q,this.nextSibling):q}var B=ft(17),st=ft(21);function ht(q,at,bt){var mt=Object(st.a)(q),Ct=mt.CustomEvent;typeof Ct=="function"?Ct=new Ct(at,bt):(Ct=mt.document.createEvent("Event"),bt?(Ct.initEvent(at,bt.bubbles,bt.cancelable),Ct.detail=bt.detail):Ct.initEvent(at,!1,!1)),q.dispatchEvent(Ct)}function tt(q,at){return function(){return ht(this,q,at)}}function ct(q,at){return function(){return ht(this,q,at.apply(this,arguments))}}ft.d(xt,"c",function(){return U}),ft.d(xt,"a",function(){return J});var U=[null];function J(q,at){this._groups=q,this._parents=at}function K(){return new J([[document.documentElement]],U)}J.prototype=K.prototype={constructor:J,select:function(q){typeof q!="function"&&(q=Object(Mt.a)(q));for(var at=this._groups,bt=at.length,mt=new Array(bt),Ct=0;Ct=tn&&(tn=an+1);!(nn=Ae[tn])&&++tn=0;)(mt=Ct[vt])&&(Nt&&4^mt.compareDocumentPosition(Nt)&&Nt.parentNode.insertBefore(mt,Nt),Nt=mt);return this},sort:function(q){function at(pt,Pt){return pt&&Pt?q(pt.__data__,Pt.__data__):!pt-!Pt}q||(q=Z);for(var bt=this._groups,mt=bt.length,Ct=new Array(mt),vt=0;vt1?this.each((at==null?k:typeof at=="function"?h:S)(q,at)):this.node()[q]},classed:function(q,at){var bt=w(q+"");if(arguments.length<2){for(var mt=b(this.node()),Ct=-1,vt=bt.length;++Ct0?Object(Mt.a)(function(I){I.setFullYear(Math.floor(I.getFullYear()/T)*T),I.setMonth(0,1),I.setHours(0,0,0,0)},function(I,Y){I.setFullYear(I.getFullYear()+Y*T)}):null},xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return u});var Mt=ft(0),W=Object(Mt.a)(function(T){T.setUTCMonth(0,1),T.setUTCHours(0,0,0,0)},function(T,I){T.setUTCFullYear(T.getUTCFullYear()+I)},function(T,I){return I.getUTCFullYear()-T.getUTCFullYear()},function(T){return T.getUTCFullYear()});W.every=function(T){return isFinite(T=Math.floor(T))&&T>0?Object(Mt.a)(function(I){I.setUTCFullYear(Math.floor(I.getUTCFullYear()/T)*T),I.setUTCMonth(0,1),I.setUTCHours(0,0,0,0)},function(I,Y){I.setUTCFullYear(I.getUTCFullYear()+Y*T)}):null},xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";ft.d(xt,"c",function(){return W}),ft.d(xt,"a",function(){return Z});var Mt={},W=null;typeof document!="undefined"&&("onmouseenter"in document.documentElement||(Mt={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(H,_,j){return H=T(H,_,j),function(A){var D=A.relatedTarget;D&&(D===this||8&D.compareDocumentPosition(this))||H.call(this,A)}}function T(H,_,j){return function(A){var D=W;W=A;try{H.call(this,this.__data__,_,j)}finally{W=D}}}function I(H){return H.trim().split(/^|\s+/).map(function(_){var j="",A=_.indexOf(".");return A>=0&&(j=_.slice(A+1),_=_.slice(0,A)),{type:_,name:j}})}function Y(H){return function(){var _=this.__on;if(_){for(var j,A=0,D=-1,C=_.length;A1?T[0]+T.slice(2):T,+Mt.slice(u+1)]}},function(pe,xt,ft){"use strict";function Mt(){}xt.a=function(W){return W==null?Mt:function(){return this.querySelector(W)}}},function(pe,xt,ft){"use strict";var Mt=ft(14);xt.a=function(W){var u=W+="",T=u.indexOf(":");return T>=0&&(u=W.slice(0,T))!=="xmlns"&&(W=W.slice(T+1)),Mt.a.hasOwnProperty(u)?{space:Mt.a[u],local:W}:W}},function(pe,xt,ft){"use strict";xt.a=function(Mt){return Mt.ownerDocument&&Mt.ownerDocument.defaultView||Mt.document&&Mt||Mt.defaultView}},function(pe,xt,ft){"use strict";var Mt=ft(17);xt.a=function(){for(var W,u=Mt.c;W=u.sourceEvent;)u=W;return u}},,function(pe,xt,ft){"use strict";xt.a=function(Mt){return function(){return Mt}}},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return W}),ft.d(xt,"a",function(){return u});var Mt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function W(T){if(!(I=Mt.exec(T)))throw new Error("invalid format: "+T);var I;return new u({fill:I[1],align:I[2],sign:I[3],symbol:I[4],zero:I[5],width:I[6],comma:I[7],precision:I[8]&&I[8].slice(1),trim:I[9],type:I[10]})}function u(T){this.fill=T.fill===void 0?" ":T.fill+"",this.align=T.align===void 0?">":T.align+"",this.sign=T.sign===void 0?"-":T.sign+"",this.symbol=T.symbol===void 0?"":T.symbol+"",this.zero=!!T.zero,this.width=T.width===void 0?void 0:+T.width,this.comma=!!T.comma,this.precision=T.precision===void 0?void 0:+T.precision,this.trim=!!T.trim,this.type=T.type===void 0?"":T.type+""}W.prototype=u.prototype,u.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(pe,xt,ft){"use strict";function Mt(W,u,T,I,Y){var X=W*W,Z=X*W;return((1-3*W+3*X-Z)*u+(4-6*X+3*Z)*T+(1+3*W+3*X-3*Z)*I+Z*Y)/6}ft.d(xt,"a",function(){return Mt}),xt.b=function(W){var u=W.length-1;return function(T){var I=T<=0?T=0:T>=1?(T=1,u-1):Math.floor(T*u),Y=W[I],X=W[I+1],Z=I>0?W[I-1]:2*Y-X,H=I0?T>1?Object(Mt.a)(function(I){I.setTime(Math.floor(I/T)*T)},function(I,Y){I.setTime(+I+Y*T)},function(I,Y){return(Y-I)/T}):W:null},xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";var Mt=ft(10);xt.a=function(W){return typeof W=="string"?new Mt.a([[document.querySelector(W)]],[document.documentElement]):new Mt.a([[W]],Mt.c)}},function(pe,xt,ft){"use strict";function Mt(){return[]}xt.a=function(W){return W==null?Mt:function(){return this.querySelectorAll(W)}}},function(pe,xt,ft){"use strict";xt.a=function(Mt){return function(){return this.matches(Mt)}}},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return I});var Mt=ft(21);function W(Y){return function(){this.style.removeProperty(Y)}}function u(Y,X,Z){return function(){this.style.setProperty(Y,X,Z)}}function T(Y,X,Z){return function(){var H=X.apply(this,arguments);H==null?this.style.removeProperty(Y):this.style.setProperty(Y,H,Z)}}function I(Y,X){return Y.style.getPropertyValue(X)||Object(Mt.a)(Y).getComputedStyle(Y,null).getPropertyValue(X)}xt.a=function(Y,X,Z){return arguments.length>1?this.each((X==null?W:typeof X=="function"?T:u)(Y,X,Z==null?"":Z)):I(this.node(),Y)}},,function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return Y}),ft.d(xt,"c",function(){return X});var Mt=ft(5),W=ft(26),u=ft(53),T=ft(8);function I(Z){return function(H){var _,j,A=H.length,D=new Array(A),C=new Array(A),d=new Array(A);for(_=0;_C+1?D.slice(0,C+1)+"."+D.slice(C+1):D+new Array(C-D.length+2).join("0")},Y={"%":function(_,j){return(100*_).toFixed(j)},b:function(_){return Math.round(_).toString(2)},c:function(_){return _+""},d:function(_){return Math.round(_).toString(10)},e:function(_,j){return _.toExponential(j)},f:function(_,j){return _.toFixed(j)},g:function(_,j){return _.toPrecision(j)},o:function(_){return Math.round(_).toString(8)},p:function(_,j){return I(100*_,j)},r:I,s:function(_,j){var A=Object(T.a)(_,j);if(!A)return _+"";var D=A[0],C=A[1],d=C-(Mt=3*Math.max(-8,Math.min(8,Math.floor(C/3))))+1,o=D.length;return d===o?D:d>o?D+new Array(d-o+1).join("0"):d>0?D.slice(0,d)+"."+D.slice(d):"0."+new Array(1-d).join("0")+Object(T.a)(_,Math.max(0,j+d-1))[0]},X:function(_){return Math.round(_).toString(16).toUpperCase()},x:function(_){return Math.round(_).toString(16)}},X=function(_){return _},Z=Array.prototype.map,H=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];xt.a=function(_){var j,A,D=_.grouping===void 0||_.thousands===void 0?X:(j=Z.call(_.grouping,Number),A=_.thousands+"",function(g,p){for(var y=g.length,P=[],m=0,x=j[0],l=0;y>0&&x>0&&(l+x+1>p&&(x=Math.max(1,p-l)),P.push(g.substring(y-=x,y+x)),!((l+=x+1)>p));)x=j[m=(m+1)%j.length];return P.reverse().join(A)}),C=_.currency===void 0?"":_.currency[0]+"",d=_.currency===void 0?"":_.currency[1]+"",o=_.decimal===void 0?".":_.decimal+"",k=_.numerals===void 0?X:function(g){return function(p){return p.replace(/[0-9]/g,function(y){return g[+y]})}}(Z.call(_.numerals,String)),S=_.percent===void 0?"%":_.percent+"",h=_.minus===void 0?"-":_.minus+"",w=_.nan===void 0?"NaN":_.nan+"";function b(g){var p=(g=Object(u.b)(g)).fill,y=g.align,P=g.sign,m=g.symbol,x=g.zero,l=g.width,s=g.comma,N=g.precision,R=g.trim,c=g.type;c==="n"?(s=!0,c="g"):Y[c]||(N===void 0&&(N=12),R=!0,c="g"),(x||p==="0"&&y==="=")&&(x=!0,p="0",y="=");var E=m==="$"?C:m==="#"&&/[boxX]/.test(c)?"0"+c.toLowerCase():"",L=m==="$"?d:/[%p]/.test(c)?S:"",et=Y[c],nt=/[defgprs%]/.test(c);function rt(G){var ut,F,B,st=E,ht=L;if(c==="c")ht=et(G)+ht,G="";else{var tt=(G=+G)<0;if(G=isNaN(G)?w:et(Math.abs(G),N),R&&(G=function(J){t:for(var K,q=J.length,at=1,bt=-1;at0&&(bt=0)}return bt>0?J.slice(0,bt)+J.slice(K+1):J}(G)),tt&&+G==0&&(tt=!1),st=(tt?P==="("?P:h:P==="-"||P==="("?"":P)+st,ht=(c==="s"?H[8+Mt/3]:"")+ht+(tt&&P==="("?")":""),nt){for(ut=-1,F=G.length;++ut(B=G.charCodeAt(ut))||B>57){ht=(B===46?o+G.slice(ut+1):G.slice(ut))+ht,G=G.slice(0,ut);break}}}s&&!x&&(G=D(G,1/0));var ct=st.length+G.length+ht.length,U=ct>1)+st+G+ht+U.slice(ct);break;default:G=U+st+G+ht}return k(G)}return N=N===void 0?6:/[gprs]/.test(c)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N)),rt.toString=function(){return g+""},rt}return{format:b,formatPrefix:function(g,p){var y=b(((g=Object(u.b)(g)).type="f",g)),P=3*Math.max(-8,Math.min(8,Math.floor(Object(W.a)(p)/3))),m=Math.pow(10,-P),x=H[8+P/3];return function(l){return y(m*l)+x}}}}},,,function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return W}),ft.d(xt,"c",function(){return u}),ft.d(xt,"a",function(){return I});var Mt,W,u,T=ft(40);function I(Y){return Mt=Object(T.a)(Y),W=Mt.format,u=Mt.formatPrefix,Mt}I({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(pe,xt,ft){"use strict";ft.r(xt);var Mt=ft(43);ft.d(xt,"formatDefaultLocale",function(){return Mt.a}),ft.d(xt,"format",function(){return Mt.b}),ft.d(xt,"formatPrefix",function(){return Mt.c});var W=ft(40);ft.d(xt,"formatLocale",function(){return W.a});var u=ft(25);ft.d(xt,"formatSpecifier",function(){return u.b}),ft.d(xt,"FormatSpecifier",function(){return u.a});var T=ft(63);ft.d(xt,"precisionFixed",function(){return T.a});var I=ft(64);ft.d(xt,"precisionPrefix",function(){return I.a});var Y=ft(65);ft.d(xt,"precisionRound",function(){return Y.a})},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return W}),ft.d(xt,"c",function(){return u}),ft.d(xt,"d",function(){return T}),ft.d(xt,"e",function(){return I}),ft.d(xt,"a",function(){return X});var Mt,W,u,T,I,Y=ft(54);function X(Z){return Mt=Object(Y.a)(Z),W=Mt.format,u=Mt.parse,T=Mt.utcFormat,I=Mt.utcParse,Mt}X({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},,function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return u});var Mt=ft(0),W=Object(Mt.a)(function(T){T.setDate(1),T.setHours(0,0,0,0)},function(T,I){T.setMonth(T.getMonth()+I)},function(T,I){return I.getMonth()-T.getMonth()+12*(I.getFullYear()-T.getFullYear())},function(T){return T.getMonth()});xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return T});var Mt=ft(0),W=ft(1),u=Object(Mt.a)(function(I){I.setTime(I-I.getMilliseconds()-I.getSeconds()*W.d-I.getMinutes()*W.c)},function(I,Y){I.setTime(+I+Y*W.b)},function(I,Y){return(Y-I)/W.b},function(I){return I.getHours()});xt.a=u;var T=u.range},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return T});var Mt=ft(0),W=ft(1),u=Object(Mt.a)(function(I){I.setTime(I-I.getMilliseconds()-I.getSeconds()*W.d)},function(I,Y){I.setTime(+I+Y*W.c)},function(I,Y){return(Y-I)/W.c},function(I){return I.getMinutes()});xt.a=u;var T=u.range},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return u});var Mt=ft(0),W=Object(Mt.a)(function(T){T.setUTCDate(1),T.setUTCHours(0,0,0,0)},function(T,I){T.setUTCMonth(T.getUTCMonth()+I)},function(T,I){return I.getUTCMonth()-T.getUTCMonth()+12*(I.getUTCFullYear()-T.getUTCFullYear())},function(T){return T.getUTCMonth()});xt.a=W;var u=W.range},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return T});var Mt=ft(0),W=ft(1),u=Object(Mt.a)(function(I){I.setUTCMinutes(0,0,0)},function(I,Y){I.setTime(+I+Y*W.b)},function(I,Y){return(Y-I)/W.b},function(I){return I.getUTCHours()});xt.a=u;var T=u.range},function(pe,xt,ft){"use strict";ft.d(xt,"b",function(){return T});var Mt=ft(0),W=ft(1),u=Object(Mt.a)(function(I){I.setUTCSeconds(0,0)},function(I,Y){I.setTime(+I+Y*W.c)},function(I,Y){return(Y-I)/W.c},function(I){return I.getUTCMinutes()});xt.a=u;var T=u.range},function(pe,xt,ft){"use strict";var Mt=ft(26);xt.a=function(W){var u=W.length;return function(T){var I=Math.floor(((T%=1)<0?++T:T)*u),Y=W[(I+u-1)%u],X=W[I%u],Z=W[(I+1)%u],H=W[(I+2)%u];return Object(Mt.a)((T-I/u)*u,Y,X,Z,H)}}},function(pe,xt,ft){"use strict";ft.d(xt,"a",function(){return _});var Mt=ft(4),W=ft(28),u=ft(3),T=ft(27),I=ft(15),Y=ft(16);function X(Rt){if(0<=Rt.y&&Rt.y<100){var Bt=new Date(-1,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L);return Bt.setFullYear(Rt.y),Bt}return new Date(Rt.y,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L)}function Z(Rt){if(0<=Rt.y&&Rt.y<100){var Bt=new Date(Date.UTC(-1,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L));return Bt.setUTCFullYear(Rt.y),Bt}return new Date(Date.UTC(Rt.y,Rt.m,Rt.d,Rt.H,Rt.M,Rt.S,Rt.L))}function H(Rt,Bt,Ht){return{y:Rt,m:Bt,d:Ht,H:0,M:0,S:0,L:0}}function _(Rt){var Bt=Rt.dateTime,Ht=Rt.date,zt=Rt.time,re=Rt.periods,ve=Rt.days,he=Rt.shortDays,Ge=Rt.months,cn=Rt.shortMonths,yn=k(re),Vn=S(re),fn=k(ve),Mn=S(ve),Qn=k(he),Cr=S(he),de=k(Ge),Ne=S(Ge),Be=k(cn),fe=S(cn),ke={a:function(xe){return he[xe.getDay()]},A:function(xe){return ve[xe.getDay()]},b:function(xe){return cn[xe.getMonth()]},B:function(xe){return Ge[xe.getMonth()]},c:null,d:ut,e:ut,f:tt,H:F,I:B,j:st,L:ht,m:ct,M:U,p:function(xe){return re[+(xe.getHours()>=12)]},q:function(xe){return 1+~~(xe.getMonth()/3)},Q:ne,s:te,S:J,u:K,U:q,V:at,w:bt,W:mt,x:null,X:null,y:Ct,Y:vt,Z:Nt,"%":se},De={a:function(xe){return he[xe.getUTCDay()]},A:function(xe){return ve[xe.getUTCDay()]},b:function(xe){return cn[xe.getUTCMonth()]},B:function(xe){return Ge[xe.getUTCMonth()]},c:null,d:Ft,e:Ft,f:Pt,H:Ot,I:At,j:St,L:pt,m:Wt,M:Xt,p:function(xe){return re[+(xe.getUTCHours()>=12)]},q:function(xe){return 1+~~(xe.getUTCMonth()/3)},Q:ne,s:te,S:ae,u:le,U:Ae,V:ze,w:nn,W:an,x:null,X:null,y:tn,Y:xn,Z:un,"%":se},Te={a:function(xe,$e,pn){var we=Qn.exec($e.slice(pn));return we?(xe.w=Cr[we[0].toLowerCase()],pn+we[0].length):-1},A:function(xe,$e,pn){var we=fn.exec($e.slice(pn));return we?(xe.w=Mn[we[0].toLowerCase()],pn+we[0].length):-1},b:function(xe,$e,pn){var we=Be.exec($e.slice(pn));return we?(xe.m=fe[we[0].toLowerCase()],pn+we[0].length):-1},B:function(xe,$e,pn){var we=de.exec($e.slice(pn));return we?(xe.m=Ne[we[0].toLowerCase()],pn+we[0].length):-1},c:function(xe,$e,pn){return vn(xe,Bt,$e,pn)},d:s,e:s,f:et,H:R,I:R,j:N,L,m:l,M:c,p:function(xe,$e,pn){var we=yn.exec($e.slice(pn));return we?(xe.p=Vn[we[0].toLowerCase()],pn+we[0].length):-1},q:x,Q:rt,s:G,S:E,u:w,U:b,V:g,w:h,W:p,x:function(xe,$e,pn){return vn(xe,Ht,$e,pn)},X:function(xe,$e,pn){return vn(xe,zt,$e,pn)},y:P,Y:y,Z:m,"%":nt};function Me(xe,$e){return function(pn){var we,gn,Ke,hn=[],mn=-1,dn=0,cr=xe.length;for(pn instanceof Date||(pn=new Date(+pn));++mn53)return null;"w"in Ke||(Ke.w=1),"Z"in Ke?(gn=(we=Z(H(Ke.y,0,1))).getUTCDay(),we=gn>4||gn===0?Mt.c.ceil(we):Object(Mt.c)(we),we=W.a.offset(we,7*(Ke.V-1)),Ke.y=we.getUTCFullYear(),Ke.m=we.getUTCMonth(),Ke.d=we.getUTCDate()+(Ke.w+6)%7):(gn=(we=X(H(Ke.y,0,1))).getDay(),we=gn>4||gn===0?u.c.ceil(we):Object(u.c)(we),we=T.b.offset(we,7*(Ke.V-1)),Ke.y=we.getFullYear(),Ke.m=we.getMonth(),Ke.d=we.getDate()+(Ke.w+6)%7)}else("W"in Ke||"U"in Ke)&&("w"in Ke||(Ke.w="u"in Ke?Ke.u%7:"W"in Ke?1:0),gn="Z"in Ke?Z(H(Ke.y,0,1)).getUTCDay():X(H(Ke.y,0,1)).getDay(),Ke.m=0,Ke.d="W"in Ke?(Ke.w+6)%7+7*Ke.W-(gn+5)%7:Ke.w+7*Ke.U-(gn+6)%7);return"Z"in Ke?(Ke.H+=Ke.Z/100|0,Ke.M+=Ke.Z%100,Z(Ke)):X(Ke)}}function vn(xe,$e,pn,we){for(var gn,Ke,hn=0,mn=$e.length,dn=pn.length;hn=dn)return-1;if((gn=$e.charCodeAt(hn++))===37){if(gn=$e.charAt(hn++),!(Ke=Te[gn in j?$e.charAt(hn++):gn])||(we=Ke(xe,pn,we))<0)return-1}else if(gn!=pn.charCodeAt(we++))return-1}return we}return ke.x=Me(Ht,ke),ke.X=Me(zt,ke),ke.c=Me(Bt,ke),De.x=Me(Ht,De),De.X=Me(zt,De),De.c=Me(Bt,De),{format:function(xe){var $e=Me(xe+="",ke);return $e.toString=function(){return xe},$e},parse:function(xe){var $e=Xe(xe+="",!1);return $e.toString=function(){return xe},$e},utcFormat:function(xe){var $e=Me(xe+="",De);return $e.toString=function(){return xe},$e},utcParse:function(xe){var $e=Xe(xe+="",!0);return $e.toString=function(){return xe},$e}}}var j={"-":"",_:" ",0:"0"},A=/^\s*\d+/,D=/^%/,C=/[\\^$*+?|[\]().{}]/g;function d(Rt,Bt,Ht){var zt=Rt<0?"-":"",re=(zt?-Rt:Rt)+"",ve=re.length;return zt+(ve68?1900:2e3),Ht+zt[0].length):-1}function m(Rt,Bt,Ht){var zt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Bt.slice(Ht,Ht+6));return zt?(Rt.Z=zt[1]?0:-(zt[2]+(zt[3]||"00")),Ht+zt[0].length):-1}function x(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+1));return zt?(Rt.q=3*zt[0]-3,Ht+zt[0].length):-1}function l(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.m=zt[0]-1,Ht+zt[0].length):-1}function s(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.d=+zt[0],Ht+zt[0].length):-1}function N(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+3));return zt?(Rt.m=0,Rt.d=+zt[0],Ht+zt[0].length):-1}function R(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.H=+zt[0],Ht+zt[0].length):-1}function c(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.M=+zt[0],Ht+zt[0].length):-1}function E(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Rt.S=+zt[0],Ht+zt[0].length):-1}function L(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+3));return zt?(Rt.L=+zt[0],Ht+zt[0].length):-1}function et(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+6));return zt?(Rt.L=Math.floor(zt[0]/1e3),Ht+zt[0].length):-1}function nt(Rt,Bt,Ht){var zt=D.exec(Bt.slice(Ht,Ht+1));return zt?Ht+zt[0].length:-1}function rt(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht));return zt?(Rt.Q=+zt[0],Ht+zt[0].length):-1}function G(Rt,Bt,Ht){var zt=A.exec(Bt.slice(Ht));return zt?(Rt.s=+zt[0],Ht+zt[0].length):-1}function ut(Rt,Bt){return d(Rt.getDate(),Bt,2)}function F(Rt,Bt){return d(Rt.getHours(),Bt,2)}function B(Rt,Bt){return d(Rt.getHours()%12||12,Bt,2)}function st(Rt,Bt){return d(1+T.b.count(Object(I.a)(Rt),Rt),Bt,3)}function ht(Rt,Bt){return d(Rt.getMilliseconds(),Bt,3)}function tt(Rt,Bt){return ht(Rt,Bt)+"000"}function ct(Rt,Bt){return d(Rt.getMonth()+1,Bt,2)}function U(Rt,Bt){return d(Rt.getMinutes(),Bt,2)}function J(Rt,Bt){return d(Rt.getSeconds(),Bt,2)}function K(Rt){var Bt=Rt.getDay();return Bt===0?7:Bt}function q(Rt,Bt){return d(u.g.count(Object(I.a)(Rt)-1,Rt),Bt,2)}function at(Rt,Bt){var Ht=Rt.getDay();return Rt=Ht>=4||Ht===0?Object(u.i)(Rt):u.i.ceil(Rt),d(u.i.count(Object(I.a)(Rt),Rt)+(Object(I.a)(Rt).getDay()===4),Bt,2)}function bt(Rt){return Rt.getDay()}function mt(Rt,Bt){return d(u.c.count(Object(I.a)(Rt)-1,Rt),Bt,2)}function Ct(Rt,Bt){return d(Rt.getFullYear()%100,Bt,2)}function vt(Rt,Bt){return d(Rt.getFullYear()%1e4,Bt,4)}function Nt(Rt){var Bt=Rt.getTimezoneOffset();return(Bt>0?"-":(Bt*=-1,"+"))+d(Bt/60|0,"0",2)+d(Bt%60,"0",2)}function Ft(Rt,Bt){return d(Rt.getUTCDate(),Bt,2)}function Ot(Rt,Bt){return d(Rt.getUTCHours(),Bt,2)}function At(Rt,Bt){return d(Rt.getUTCHours()%12||12,Bt,2)}function St(Rt,Bt){return d(1+W.a.count(Object(Y.a)(Rt),Rt),Bt,3)}function pt(Rt,Bt){return d(Rt.getUTCMilliseconds(),Bt,3)}function Pt(Rt,Bt){return pt(Rt,Bt)+"000"}function Wt(Rt,Bt){return d(Rt.getUTCMonth()+1,Bt,2)}function Xt(Rt,Bt){return d(Rt.getUTCMinutes(),Bt,2)}function ae(Rt,Bt){return d(Rt.getUTCSeconds(),Bt,2)}function le(Rt){var Bt=Rt.getUTCDay();return Bt===0?7:Bt}function Ae(Rt,Bt){return d(Mt.g.count(Object(Y.a)(Rt)-1,Rt),Bt,2)}function ze(Rt,Bt){var Ht=Rt.getUTCDay();return Rt=Ht>=4||Ht===0?Object(Mt.i)(Rt):Mt.i.ceil(Rt),d(Mt.i.count(Object(Y.a)(Rt),Rt)+(Object(Y.a)(Rt).getUTCDay()===4),Bt,2)}function nn(Rt){return Rt.getUTCDay()}function an(Rt,Bt){return d(Mt.c.count(Object(Y.a)(Rt)-1,Rt),Bt,2)}function tn(Rt,Bt){return d(Rt.getUTCFullYear()%100,Bt,2)}function xn(Rt,Bt){return d(Rt.getUTCFullYear()%1e4,Bt,4)}function un(){return"+0000"}function se(){return"%"}function ne(Rt){return+Rt}function te(Rt){return Math.floor(+Rt/1e3)}},function(pe,xt,ft){"use strict";var Mt=ft(6),W=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,u=new RegExp(W.source,"g");xt.a=function(T,I){var Y,X,Z,H=W.lastIndex=u.lastIndex=0,_=-1,j=[],A=[];for(T+="",I+="";(Y=W.exec(T))&&(X=u.exec(I));)(Z=X.index)>H&&(Z=I.slice(H,Z),j[_]?j[_]+=Z:j[++_]=Z),(Y=Y[0])===(X=X[0])?j[_]?j[_]+=X:j[++_]=X:(j[++_]=null,A.push({i:_,x:Object(Mt.a)(Y,X)})),H=u.lastIndex;return H=0&&(_=H.slice(j+1),H=H.slice(0,j)),H&&!Z.hasOwnProperty(H))throw new Error("unknown type: "+H);return{type:H,name:_}})}function I(X,Z){for(var H,_=0,j=X.length;_0)for(var H,_,j=new Array(H),A=0;A1e-6)if(Math.abs(Re*ce-be*Ue)>1e-6&&Ut){var wn=Yt-Jt,Pn=_t-ue,Gn=ce*ce+be*be,hr=wn*wn+Pn*Pn,ar=Math.sqrt(Gn),Wn=Math.sqrt(qe),ir=Ut*Math.tan((Mt-Math.acos((Gn+qe-hr)/(2*ar*Wn)))/2),Ar=ir/Wn,xr=ir/ar;Math.abs(Ar-1)>1e-6&&(this._+="L"+(dt+Ar*Ue)+","+(Lt+Ar*Re)),this._+="A"+Ut+","+Ut+",0,0,"+ +(Re*wn>Ue*Pn)+","+(this._x1=dt+xr*ce)+","+(this._y1=Lt+xr*be)}else this._+="L"+(this._x1=dt)+","+(this._y1=Lt)},arc:function(dt,Lt,Yt,_t,Ut,Jt){dt=+dt,Lt=+Lt,Jt=!!Jt;var ue=(Yt=+Yt)*Math.cos(_t),ce=Yt*Math.sin(_t),be=dt+ue,Ue=Lt+ce,Re=1^Jt,qe=Jt?_t-Ut:Ut-_t;if(Yt<0)throw new Error("negative radius: "+Yt);this._x1===null?this._+="M"+be+","+Ue:(Math.abs(this._x1-be)>1e-6||Math.abs(this._y1-Ue)>1e-6)&&(this._+="L"+be+","+Ue),Yt&&(qe<0&&(qe=qe%W+W),qe>u?this._+="A"+Yt+","+Yt+",0,1,"+Re+","+(dt-ue)+","+(Lt-ce)+"A"+Yt+","+Yt+",0,1,"+Re+","+(this._x1=be)+","+(this._y1=Ue):qe>1e-6&&(this._+="A"+Yt+","+Yt+",0,"+ +(qe>=Mt)+","+Re+","+(this._x1=dt+Yt*Math.cos(Ut))+","+(this._y1=Lt+Yt*Math.sin(Ut))))},rect:function(dt,Lt,Yt,_t){this._+="M"+(this._x0=this._x1=+dt)+","+(this._y0=this._y1=+Lt)+"h"+ +Yt+"v"+ +_t+"h"+-Yt+"Z"},toString:function(){return this._}};var Y=I,X=function(dt){return function(){return dt}},Z=Math.abs,H=Math.atan2,_=Math.cos,j=Math.max,A=Math.min,D=Math.sin,C=Math.sqrt,d=Math.PI,o=d/2,k=2*d;function S(dt){return dt>1?0:dt<-1?d:Math.acos(dt)}function h(dt){return dt>=1?o:dt<=-1?-o:Math.asin(dt)}function w(dt){return dt.innerRadius}function b(dt){return dt.outerRadius}function g(dt){return dt.startAngle}function p(dt){return dt.endAngle}function y(dt){return dt&&dt.padAngle}function P(dt,Lt,Yt,_t,Ut,Jt,ue,ce){var be=Yt-dt,Ue=_t-Lt,Re=ue-Ut,qe=ce-Jt,wn=qe*be-Re*Ue;if(!(wn*wn<1e-12))return[dt+(wn=(Re*(Lt-Jt)-qe*(dt-Ut))/wn)*be,Lt+wn*Ue]}function m(dt,Lt,Yt,_t,Ut,Jt,ue){var ce=dt-Yt,be=Lt-_t,Ue=(ue?Jt:-Jt)/C(ce*ce+be*be),Re=Ue*be,qe=-Ue*ce,wn=dt+Re,Pn=Lt+qe,Gn=Yt+Re,hr=_t+qe,ar=(wn+Gn)/2,Wn=(Pn+hr)/2,ir=Gn-wn,Ar=hr-Pn,xr=ir*ir+Ar*Ar,Lr=Ut-Jt,qr=wn*hr-Gn*Pn,oi=(Ar<0?-1:1)*C(j(0,Lr*Lr*xr-qr*qr)),wi=(qr*Ar-ir*oi)/xr,ki=(-qr*ir-Ar*oi)/xr,ai=(qr*Ar+ir*oi)/xr,Oi=(-qr*ir+Ar*oi)/xr,Ni=wi-ar,_i=ki-Wn,Pi=ai-ar,ao=Oi-Wn;return Ni*Ni+_i*_i>Pi*Pi+ao*ao&&(wi=ai,ki=Oi),{cx:wi,cy:ki,x01:-Re,y01:-qe,x11:wi*(Ut/Lr-1),y11:ki*(Ut/Lr-1)}}var x=function(){var dt=w,Lt=b,Yt=X(0),_t=null,Ut=g,Jt=p,ue=y,ce=null;function be(){var Ue,Re,qe=+dt.apply(this,arguments),wn=+Lt.apply(this,arguments),Pn=Ut.apply(this,arguments)-o,Gn=Jt.apply(this,arguments)-o,hr=Z(Gn-Pn),ar=Gn>Pn;if(ce||(ce=Ue=Y()),wn1e-12)if(hr>k-1e-12)ce.moveTo(wn*_(Pn),wn*D(Pn)),ce.arc(0,0,wn,Pn,Gn,!ar),qe>1e-12&&(ce.moveTo(qe*_(Gn),qe*D(Gn)),ce.arc(0,0,qe,Gn,Pn,ar));else{var Wn,ir,Ar=Pn,xr=Gn,Lr=Pn,qr=Gn,oi=hr,wi=hr,ki=ue.apply(this,arguments)/2,ai=ki>1e-12&&(_t?+_t.apply(this,arguments):C(qe*qe+wn*wn)),Oi=A(Z(wn-qe)/2,+Yt.apply(this,arguments)),Ni=Oi,_i=Oi;if(ai>1e-12){var Pi=h(ai/qe*D(ki)),ao=h(ai/wn*D(ki));(oi-=2*Pi)>1e-12?(Lr+=Pi*=ar?1:-1,qr-=Pi):(oi=0,Lr=qr=(Pn+Gn)/2),(wi-=2*ao)>1e-12?(Ar+=ao*=ar?1:-1,xr-=ao):(wi=0,Ar=xr=(Pn+Gn)/2)}var Ji=wn*_(Ar),Ao=wn*D(Ar),Co=qe*_(qr),so=qe*D(qr);if(Oi>1e-12){var no,po=wn*_(xr),Jo=wn*D(xr),bo=qe*_(Lr),ro=qe*D(Lr);if(hr1e-12?_i>1e-12?(Wn=m(bo,ro,Ji,Ao,wn,_i,ar),ir=m(po,Jo,Co,so,wn,_i,ar),ce.moveTo(Wn.cx+Wn.x01,Wn.cy+Wn.y01),_i1e-12&&oi>1e-12?Ni>1e-12?(Wn=m(Co,so,po,Jo,qe,-Ni,ar),ir=m(Ji,Ao,bo,ro,qe,-Ni,ar),ce.lineTo(Wn.cx+Wn.x01,Wn.cy+Wn.y01),Ni=wn;--Pn)ce.point(ir[Pn],Ar[Pn]);ce.lineEnd(),ce.areaEnd()}Wn&&(ir[qe]=+dt(Gn,qe,Re),Ar[qe]=+Yt(Gn,qe,Re),ce.point(Lt?+Lt(Gn,qe,Re):ir[qe],_t?+_t(Gn,qe,Re):Ar[qe]))}if(hr)return ce=null,hr+""||null}function Ue(){return c().defined(Ut).curve(ue).context(Jt)}return be.x=function(Re){return arguments.length?(dt=typeof Re=="function"?Re:X(+Re),Lt=null,be):dt},be.x0=function(Re){return arguments.length?(dt=typeof Re=="function"?Re:X(+Re),be):dt},be.x1=function(Re){return arguments.length?(Lt=Re==null?null:typeof Re=="function"?Re:X(+Re),be):Lt},be.y=function(Re){return arguments.length?(Yt=typeof Re=="function"?Re:X(+Re),_t=null,be):Yt},be.y0=function(Re){return arguments.length?(Yt=typeof Re=="function"?Re:X(+Re),be):Yt},be.y1=function(Re){return arguments.length?(_t=Re==null?null:typeof Re=="function"?Re:X(+Re),be):_t},be.lineX0=be.lineY0=function(){return Ue().x(dt).y(Yt)},be.lineY1=function(){return Ue().x(dt).y(_t)},be.lineX1=function(){return Ue().x(Lt).y(Yt)},be.defined=function(Re){return arguments.length?(Ut=typeof Re=="function"?Re:X(!!Re),be):Ut},be.curve=function(Re){return arguments.length?(ue=Re,Jt!=null&&(ce=ue(Jt)),be):ue},be.context=function(Re){return arguments.length?(Re==null?Jt=ce=null:ce=ue(Jt=Re),be):Jt},be},L=function(dt,Lt){return Ltdt?1:Lt>=dt?0:NaN},et=function(dt){return dt},nt=function(){var dt=et,Lt=L,Yt=null,_t=X(0),Ut=X(k),Jt=X(0);function ue(ce){var be,Ue,Re,qe,wn,Pn=ce.length,Gn=0,hr=new Array(Pn),ar=new Array(Pn),Wn=+_t.apply(this,arguments),ir=Math.min(k,Math.max(-k,Ut.apply(this,arguments)-Wn)),Ar=Math.min(Math.abs(ir)/Pn,Jt.apply(this,arguments)),xr=Ar*(ir<0?-1:1);for(be=0;be0&&(Gn+=wn);for(Lt!=null?hr.sort(function(Lr,qr){return Lt(ar[Lr],ar[qr])}):Yt!=null&&hr.sort(function(Lr,qr){return Yt(ce[Lr],ce[qr])}),be=0,Re=Gn?(ir-Pn*xr)/Gn:0;be0?wn*Re:0)+xr,ar[Ue]={data:ce[Ue],index:be,value:wn,startAngle:Wn,endAngle:qe,padAngle:Ar};return ar}return ue.value=function(ce){return arguments.length?(dt=typeof ce=="function"?ce:X(+ce),ue):dt},ue.sortValues=function(ce){return arguments.length?(Lt=ce,Yt=null,ue):Lt},ue.sort=function(ce){return arguments.length?(Yt=ce,Lt=null,ue):Yt},ue.startAngle=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:X(+ce),ue):_t},ue.endAngle=function(ce){return arguments.length?(Ut=typeof ce=="function"?ce:X(+ce),ue):Ut},ue.padAngle=function(ce){return arguments.length?(Jt=typeof ce=="function"?ce:X(+ce),ue):Jt},ue},rt=ut(s);function G(dt){this._curve=dt}function ut(dt){function Lt(Yt){return new G(dt(Yt))}return Lt._curve=dt,Lt}function F(dt){var Lt=dt.curve;return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt.curve=function(Yt){return arguments.length?Lt(ut(Yt)):Lt()._curve},dt}G.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(dt,Lt){this._curve.point(Lt*Math.sin(dt),Lt*-Math.cos(dt))}};var B=function(){return F(c().curve(rt))},st=function(){var dt=E().curve(rt),Lt=dt.curve,Yt=dt.lineX0,_t=dt.lineX1,Ut=dt.lineY0,Jt=dt.lineY1;return dt.angle=dt.x,delete dt.x,dt.startAngle=dt.x0,delete dt.x0,dt.endAngle=dt.x1,delete dt.x1,dt.radius=dt.y,delete dt.y,dt.innerRadius=dt.y0,delete dt.y0,dt.outerRadius=dt.y1,delete dt.y1,dt.lineStartAngle=function(){return F(Yt())},delete dt.lineX0,dt.lineEndAngle=function(){return F(_t())},delete dt.lineX1,dt.lineInnerRadius=function(){return F(Ut())},delete dt.lineY0,dt.lineOuterRadius=function(){return F(Jt())},delete dt.lineY1,dt.curve=function(ue){return arguments.length?Lt(ut(ue)):Lt()._curve},dt},ht=function(dt,Lt){return[(Lt=+Lt)*Math.cos(dt-=Math.PI/2),Lt*Math.sin(dt)]},tt=Array.prototype.slice;function ct(dt){return dt.source}function U(dt){return dt.target}function J(dt){var Lt=ct,Yt=U,_t=N,Ut=R,Jt=null;function ue(){var ce,be=tt.call(arguments),Ue=Lt.apply(this,be),Re=Yt.apply(this,be);if(Jt||(Jt=ce=Y()),dt(Jt,+_t.apply(this,(be[0]=Ue,be)),+Ut.apply(this,be),+_t.apply(this,(be[0]=Re,be)),+Ut.apply(this,be)),ce)return Jt=null,ce+""||null}return ue.source=function(ce){return arguments.length?(Lt=ce,ue):Lt},ue.target=function(ce){return arguments.length?(Yt=ce,ue):Yt},ue.x=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:X(+ce),ue):_t},ue.y=function(ce){return arguments.length?(Ut=typeof ce=="function"?ce:X(+ce),ue):Ut},ue.context=function(ce){return arguments.length?(Jt=ce==null?null:ce,ue):Jt},ue}function K(dt,Lt,Yt,_t,Ut){dt.moveTo(Lt,Yt),dt.bezierCurveTo(Lt=(Lt+_t)/2,Yt,Lt,Ut,_t,Ut)}function q(dt,Lt,Yt,_t,Ut){dt.moveTo(Lt,Yt),dt.bezierCurveTo(Lt,Yt=(Yt+Ut)/2,_t,Yt,_t,Ut)}function at(dt,Lt,Yt,_t,Ut){var Jt=ht(Lt,Yt),ue=ht(Lt,Yt=(Yt+Ut)/2),ce=ht(_t,Yt),be=ht(_t,Ut);dt.moveTo(Jt[0],Jt[1]),dt.bezierCurveTo(ue[0],ue[1],ce[0],ce[1],be[0],be[1])}function bt(){return J(K)}function mt(){return J(q)}function Ct(){var dt=J(at);return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt}var vt={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/d);dt.moveTo(Yt,0),dt.arc(0,0,Yt,0,k)}},Nt={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/5)/2;dt.moveTo(-3*Yt,-Yt),dt.lineTo(-Yt,-Yt),dt.lineTo(-Yt,-3*Yt),dt.lineTo(Yt,-3*Yt),dt.lineTo(Yt,-Yt),dt.lineTo(3*Yt,-Yt),dt.lineTo(3*Yt,Yt),dt.lineTo(Yt,Yt),dt.lineTo(Yt,3*Yt),dt.lineTo(-Yt,3*Yt),dt.lineTo(-Yt,Yt),dt.lineTo(-3*Yt,Yt),dt.closePath()}},Ft=Math.sqrt(1/3),Ot=2*Ft,At={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/Ot),_t=Yt*Ft;dt.moveTo(0,-Yt),dt.lineTo(_t,0),dt.lineTo(0,Yt),dt.lineTo(-_t,0),dt.closePath()}},St=Math.sin(d/10)/Math.sin(7*d/10),pt=Math.sin(k/10)*St,Pt=-Math.cos(k/10)*St,Wt={draw:function(dt,Lt){var Yt=Math.sqrt(.8908130915292852*Lt),_t=pt*Yt,Ut=Pt*Yt;dt.moveTo(0,-Yt),dt.lineTo(_t,Ut);for(var Jt=1;Jt<5;++Jt){var ue=k*Jt/5,ce=Math.cos(ue),be=Math.sin(ue);dt.lineTo(be*Yt,-ce*Yt),dt.lineTo(ce*_t-be*Ut,be*_t+ce*Ut)}dt.closePath()}},Xt={draw:function(dt,Lt){var Yt=Math.sqrt(Lt),_t=-Yt/2;dt.rect(_t,_t,Yt,Yt)}},ae=Math.sqrt(3),le={draw:function(dt,Lt){var Yt=-Math.sqrt(Lt/(3*ae));dt.moveTo(0,2*Yt),dt.lineTo(-ae*Yt,-Yt),dt.lineTo(ae*Yt,-Yt),dt.closePath()}},Ae=Math.sqrt(3)/2,ze=1/Math.sqrt(12),nn=3*(ze/2+1),an={draw:function(dt,Lt){var Yt=Math.sqrt(Lt/nn),_t=Yt/2,Ut=Yt*ze,Jt=_t,ue=Yt*ze+Yt,ce=-Jt,be=ue;dt.moveTo(_t,Ut),dt.lineTo(Jt,ue),dt.lineTo(ce,be),dt.lineTo(-.5*_t-Ae*Ut,Ae*_t+-.5*Ut),dt.lineTo(-.5*Jt-Ae*ue,Ae*Jt+-.5*ue),dt.lineTo(-.5*ce-Ae*be,Ae*ce+-.5*be),dt.lineTo(-.5*_t+Ae*Ut,-.5*Ut-Ae*_t),dt.lineTo(-.5*Jt+Ae*ue,-.5*ue-Ae*Jt),dt.lineTo(-.5*ce+Ae*be,-.5*be-Ae*ce),dt.closePath()}},tn=[vt,Nt,At,Xt,Wt,le,an],xn=function(){var dt=X(vt),Lt=X(64),Yt=null;function _t(){var Ut;if(Yt||(Yt=Ut=Y()),dt.apply(this,arguments).draw(Yt,+Lt.apply(this,arguments)),Ut)return Yt=null,Ut+""||null}return _t.type=function(Ut){return arguments.length?(dt=typeof Ut=="function"?Ut:X(Ut),_t):dt},_t.size=function(Ut){return arguments.length?(Lt=typeof Ut=="function"?Ut:X(+Ut),_t):Lt},_t.context=function(Ut){return arguments.length?(Yt=Ut==null?null:Ut,_t):Yt},_t},un=function(){};function se(dt,Lt,Yt){dt._context.bezierCurveTo((2*dt._x0+dt._x1)/3,(2*dt._y0+dt._y1)/3,(dt._x0+2*dt._x1)/3,(dt._y0+2*dt._y1)/3,(dt._x0+4*dt._x1+Lt)/6,(dt._y0+4*dt._y1+Yt)/6)}function ne(dt){this._context=dt}ne.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:se(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);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:se(this,dt,Lt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt}};var te=function(dt){return new ne(dt)};function Rt(dt){this._context=dt}Rt.prototype={areaStart:un,areaEnd:un,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(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._x2=dt,this._y2=Lt;break;case 1:this._point=2,this._x3=dt,this._y3=Lt;break;case 2:this._point=3,this._x4=dt,this._y4=Lt,this._context.moveTo((this._x0+4*this._x1+dt)/6,(this._y0+4*this._y1+Lt)/6);break;default:se(this,dt,Lt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt}};var Bt=function(dt){return new Rt(dt)};function Ht(dt){this._context=dt}Ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var Yt=(this._x0+4*this._x1+dt)/6,_t=(this._y0+4*this._y1+Lt)/6;this._line?this._context.lineTo(Yt,_t):this._context.moveTo(Yt,_t);break;case 3:this._point=4;default:se(this,dt,Lt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt}};var zt=function(dt){return new Ht(dt)};function re(dt,Lt){this._basis=new ne(dt),this._beta=Lt}re.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var dt=this._x,Lt=this._y,Yt=dt.length-1;if(Yt>0)for(var _t,Ut=dt[0],Jt=Lt[0],ue=dt[Yt]-Ut,ce=Lt[Yt]-Jt,be=-1;++be<=Yt;)_t=be/Yt,this._basis.point(this._beta*dt[be]+(1-this._beta)*(Ut+_t*ue),this._beta*Lt[be]+(1-this._beta)*(Jt+_t*ce));this._x=this._y=null,this._basis.lineEnd()},point:function(dt,Lt){this._x.push(+dt),this._y.push(+Lt)}};var ve=function dt(Lt){function Yt(_t){return Lt===1?new ne(_t):new re(_t,Lt)}return Yt.beta=function(_t){return dt(+_t)},Yt}(.85);function he(dt,Lt,Yt){dt._context.bezierCurveTo(dt._x1+dt._k*(dt._x2-dt._x0),dt._y1+dt._k*(dt._y2-dt._y0),dt._x2+dt._k*(dt._x1-Lt),dt._y2+dt._k*(dt._y1-Yt),dt._x2,dt._y2)}function Ge(dt,Lt){this._context=dt,this._k=(1-Lt)/6}Ge.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:he(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2,this._x1=dt,this._y1=Lt;break;case 2:this._point=3;default:he(this,dt,Lt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var cn=function dt(Lt){function Yt(_t){return new Ge(_t,Lt)}return Yt.tension=function(_t){return dt(+_t)},Yt}(0);function yn(dt,Lt){this._context=dt,this._k=(1-Lt)/6}yn.prototype={areaStart:un,areaEnd:un,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(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._x3=dt,this._y3=Lt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Lt);break;case 2:this._point=3,this._x5=dt,this._y5=Lt;break;default:he(this,dt,Lt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var Vn=function dt(Lt){function Yt(_t){return new yn(_t,Lt)}return Yt.tension=function(_t){return dt(+_t)},Yt}(0);function fn(dt,Lt){this._context=dt,this._k=(1-Lt)/6}fn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,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:he(this,dt,Lt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var Mn=function dt(Lt){function Yt(_t){return new fn(_t,Lt)}return Yt.tension=function(_t){return dt(+_t)},Yt}(0);function Qn(dt,Lt,Yt){var _t=dt._x1,Ut=dt._y1,Jt=dt._x2,ue=dt._y2;if(dt._l01_a>1e-12){var ce=2*dt._l01_2a+3*dt._l01_a*dt._l12_a+dt._l12_2a,be=3*dt._l01_a*(dt._l01_a+dt._l12_a);_t=(_t*ce-dt._x0*dt._l12_2a+dt._x2*dt._l01_2a)/be,Ut=(Ut*ce-dt._y0*dt._l12_2a+dt._y2*dt._l01_2a)/be}if(dt._l23_a>1e-12){var Ue=2*dt._l23_2a+3*dt._l23_a*dt._l12_a+dt._l12_2a,Re=3*dt._l23_a*(dt._l23_a+dt._l12_a);Jt=(Jt*Ue+dt._x1*dt._l23_2a-Lt*dt._l12_2a)/Re,ue=(ue*Ue+dt._y1*dt._l23_2a-Yt*dt._l12_2a)/Re}dt._context.bezierCurveTo(_t,Ut,Jt,ue,dt._x2,dt._y2)}function Cr(dt,Lt){this._context=dt,this._alpha=Lt}Cr.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){if(dt=+dt,Lt=+Lt,this._point){var Yt=this._x2-dt,_t=this._y2-Lt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Yt*Yt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2;break;case 2:this._point=3;default:Qn(this,dt,Lt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var de=function dt(Lt){function Yt(_t){return Lt?new Cr(_t,Lt):new Ge(_t,0)}return Yt.alpha=function(_t){return dt(+_t)},Yt}(.5);function Ne(dt,Lt){this._context=dt,this._alpha=Lt}Ne.prototype={areaStart:un,areaEnd:un,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(dt,Lt){if(dt=+dt,Lt=+Lt,this._point){var Yt=this._x2-dt,_t=this._y2-Lt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Yt*Yt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=dt,this._y3=Lt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Lt);break;case 2:this._point=3,this._x5=dt,this._y5=Lt;break;default:Qn(this,dt,Lt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var Be=function dt(Lt){function Yt(_t){return Lt?new Ne(_t,Lt):new yn(_t,0)}return Yt.alpha=function(_t){return dt(+_t)},Yt}(.5);function fe(dt,Lt){this._context=dt,this._alpha=Lt}fe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){if(dt=+dt,Lt=+Lt,this._point){var Yt=this._x2-dt,_t=this._y2-Lt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Yt*Yt+_t*_t,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:Qn(this,dt,Lt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Lt}};var ke=function dt(Lt){function Yt(_t){return Lt?new fe(_t,Lt):new fn(_t,0)}return Yt.alpha=function(_t){return dt(+_t)},Yt}(.5);function De(dt){this._context=dt}De.prototype={areaStart:un,areaEnd:un,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(dt,Lt){dt=+dt,Lt=+Lt,this._point?this._context.lineTo(dt,Lt):(this._point=1,this._context.moveTo(dt,Lt))}};var Te=function(dt){return new De(dt)};function Me(dt){return dt<0?-1:1}function Xe(dt,Lt,Yt){var _t=dt._x1-dt._x0,Ut=Lt-dt._x1,Jt=(dt._y1-dt._y0)/(_t||Ut<0&&-0),ue=(Yt-dt._y1)/(Ut||_t<0&&-0),ce=(Jt*Ut+ue*_t)/(_t+Ut);return(Me(Jt)+Me(ue))*Math.min(Math.abs(Jt),Math.abs(ue),.5*Math.abs(ce))||0}function vn(dt,Lt){var Yt=dt._x1-dt._x0;return Yt?(3*(dt._y1-dt._y0)/Yt-Lt)/2:Lt}function xe(dt,Lt,Yt){var _t=dt._x0,Ut=dt._y0,Jt=dt._x1,ue=dt._y1,ce=(Jt-_t)/3;dt._context.bezierCurveTo(_t+ce,Ut+ce*Lt,Jt-ce,ue-ce*Yt,Jt,ue)}function $e(dt){this._context=dt}function pn(dt){this._context=new we(dt)}function we(dt){this._context=dt}function gn(dt){return new $e(dt)}function Ke(dt){return new pn(dt)}function hn(dt){this._context=dt}function mn(dt){var Lt,Yt,_t=dt.length-1,Ut=new Array(_t),Jt=new Array(_t),ue=new Array(_t);for(Ut[0]=0,Jt[0]=2,ue[0]=dt[0]+2*dt[1],Lt=1;Lt<_t-1;++Lt)Ut[Lt]=1,Jt[Lt]=4,ue[Lt]=4*dt[Lt]+2*dt[Lt+1];for(Ut[_t-1]=2,Jt[_t-1]=7,ue[_t-1]=8*dt[_t-1]+dt[_t],Lt=1;Lt<_t;++Lt)Yt=Ut[Lt]/Jt[Lt-1],Jt[Lt]-=Yt,ue[Lt]-=Yt*ue[Lt-1];for(Ut[_t-1]=ue[_t-1]/Jt[_t-1],Lt=_t-2;Lt>=0;--Lt)Ut[Lt]=(ue[Lt]-Ut[Lt+1])/Jt[Lt];for(Jt[_t-1]=(dt[_t]+Ut[_t-1])/2,Lt=0;Lt<_t-1;++Lt)Jt[Lt]=2*dt[Lt+1]-Ut[Lt+1];return[Ut,Jt]}$e.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:xe(this,this._t0,vn(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Lt){var Yt=NaN;if(Lt=+Lt,(dt=+dt)!==this._x1||Lt!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2;break;case 2:this._point=3,xe(this,vn(this,Yt=Xe(this,dt,Lt)),Yt);break;default:xe(this,this._t0,Yt=Xe(this,dt,Lt))}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Lt,this._t0=Yt}}},(pn.prototype=Object.create($e.prototype)).point=function(dt,Lt){$e.prototype.point.call(this,Lt,dt)},we.prototype={moveTo:function(dt,Lt){this._context.moveTo(Lt,dt)},closePath:function(){this._context.closePath()},lineTo:function(dt,Lt){this._context.lineTo(Lt,dt)},bezierCurveTo:function(dt,Lt,Yt,_t,Ut,Jt){this._context.bezierCurveTo(Lt,dt,_t,Yt,Jt,Ut)}},hn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var dt=this._x,Lt=this._y,Yt=dt.length;if(Yt)if(this._line?this._context.lineTo(dt[0],Lt[0]):this._context.moveTo(dt[0],Lt[0]),Yt===2)this._context.lineTo(dt[1],Lt[1]);else for(var _t=mn(dt),Ut=mn(Lt),Jt=0,ue=1;ue=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(dt,Lt){switch(dt=+dt,Lt=+Lt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Lt):this._context.moveTo(dt,Lt);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Lt),this._context.lineTo(dt,Lt);else{var Yt=this._x*(1-this._t)+dt*this._t;this._context.lineTo(Yt,this._y),this._context.lineTo(Yt,Lt)}}this._x=dt,this._y=Lt}};var rr=function(dt){return new cr(dt,.5)};function fr(dt){return new cr(dt,0)}function dr(dt){return new cr(dt,1)}var Zn=function(dt,Lt){if((Ut=dt.length)>1)for(var Yt,_t,Ut,Jt=1,ue=dt[Lt[0]],ce=ue.length;Jt=0;)Yt[Lt]=Lt;return Yt};function Rr(dt,Lt){return dt[Lt]}var pr=function(){var dt=X([]),Lt=Or,Yt=Zn,_t=Rr;function Ut(Jt){var ue,ce,be=dt.apply(this,arguments),Ue=Jt.length,Re=be.length,qe=new Array(Re);for(ue=0;ue0){for(var Yt,_t,Ut,Jt=0,ue=dt[0].length;Jt0)for(var Yt,_t,Ut,Jt,ue,ce,be=0,Ue=dt[Lt[0]].length;be0?(_t[0]=Jt,_t[1]=Jt+=Ut):Ut<0?(_t[1]=ue,_t[0]=ue+=Ut):(_t[0]=0,_t[1]=Ut)},Ur=function(dt,Lt){if((Yt=dt.length)>0){for(var Yt,_t=0,Ut=dt[Lt[0]],Jt=Ut.length;_t0&&(_t=(Yt=dt[Lt[0]]).length)>0){for(var Yt,_t,Ut,Jt=0,ue=1;ue<_t;++ue){for(var ce=0,be=0,Ue=0;ceJt&&(Jt=Lt,_t=Yt);return _t}var Xi=function(dt){var Lt=dt.map(Kt);return Or(dt).sort(function(Yt,_t){return Lt[Yt]-Lt[_t]})};function Kt(dt){for(var Lt,Yt=0,_t=-1,Ut=dt.length;++_t=0&&ne._call.call(null,se),ne=ne._next;--I})()}finally{I=0,function(){for(var se,ne,te=Mt,Rt=1/0;te;)te._call?(Rt>te._time&&(Rt=te._time),se=te,te=te._next):(ne=te._next,te._next=null,te=se?se._next=ne:Mt=ne);W=se,h(Rt)}(),H=0}}function S(){var se=j.now(),ne=se-Z;ne>1e3&&(_-=ne,Z=se)}function h(se){I||(Y&&(Y=clearTimeout(Y)),se-H>24?(se<1/0&&(Y=setTimeout(k,se-j.now()-_)),X&&(X=clearInterval(X))):(X||(Z=j.now(),X=setInterval(S,1e3)),I=1,A(k)))}d.prototype=o.prototype={constructor:d,restart:function(se,ne,te){if(typeof se!="function")throw new TypeError("callback is not a function");te=(te==null?D():+te)+(ne==null?0:+ne),this._next||W===this||(W?W._next=this:Mt=this,W=this),this._call=se,this._time=te,h()},stop:function(){this._call&&(this._call=null,this._time=1/0,h())}};var w=function(se,ne,te){var Rt=new d;return ne=ne==null?0:+ne,Rt.restart(function(Bt){Rt.stop(),se(Bt+ne)},ne,te),Rt},b=Object(T.a)("start","end","cancel","interrupt"),g=[],p=function(se,ne,te,Rt,Bt,Ht){var zt=se.__transition;if(zt){if(te in zt)return}else se.__transition={};(function(re,ve,he){var Ge,cn=re.__transition;function yn(Mn){var Qn,Cr,de,Ne;if(he.state!==1)return fn();for(Qn in cn)if((Ne=cn[Qn]).name===he.name){if(Ne.state===3)return w(yn);Ne.state===4?(Ne.state=6,Ne.timer.stop(),Ne.on.call("interrupt",re,re.__data__,Ne.index,Ne.group),delete cn[Qn]):+Qn0)throw new Error("too late; already scheduled");return te}function P(se,ne){var te=m(se,ne);if(te.state>3)throw new Error("too late; already running");return te}function m(se,ne){var te=se.__transition;if(!te||!(te=te[ne]))throw new Error("transition not found");return te}var x=function(se,ne){var te,Rt,Bt,Ht=se.__transition,zt=!0;if(Ht){for(Bt in ne=ne==null?null:ne+"",Ht)(te=Ht[Bt]).name===ne?(Rt=te.state>2&&te.state<5,te.state=6,te.timer.stop(),te.on.call(Rt?"interrupt":"cancel",se,se.__data__,te.index,te.group),delete Ht[Bt]):zt=!1;zt&&delete se.__transition}},l=ft(76),s=ft(20);function N(se,ne){var te,Rt;return function(){var Bt=P(this,se),Ht=Bt.tween;if(Ht!==te){for(var zt=0,re=(Rt=te=Ht).length;zt=0&&(re=re.slice(0,ve)),!re||re==="start"})}(ne)?y:P;return function(){var zt=Ht(this,se),re=zt.on;re!==Rt&&(Bt=(Rt=re).copy()).on(ne,te),zt.on=Bt}}var Nt=ft(19),Ft=ft(33),Ot=u.b.prototype.constructor,At=ft(35);function St(se){return function(){this.style.removeProperty(se)}}function pt(se,ne,te){return function(Rt){this.style.setProperty(se,ne.call(this,Rt),te)}}function Pt(se,ne,te){var Rt,Bt;function Ht(){var zt=ne.apply(this,arguments);return zt!==Bt&&(Rt=(Bt=zt)&&pt(se,zt,te)),Rt}return Ht._value=ne,Ht}function Wt(se){return function(ne){this.textContent=se.call(this,ne)}}function Xt(se){var ne,te;function Rt(){var Bt=se.apply(this,arguments);return Bt!==te&&(ne=(te=Bt)&&Wt(Bt)),ne}return Rt._value=se,Rt}var ae=0;function le(se,ne,te,Rt){this._groups=se,this._parents=ne,this._name=te,this._id=Rt}function Ae(se){return Object(u.b)().transition(se)}function ze(){return++ae}var nn=u.b.prototype;le.prototype=Ae.prototype={constructor:le,select:function(se){var ne=this._name,te=this._id;typeof se!="function"&&(se=Object(Nt.a)(se));for(var Rt=this._groups,Bt=Rt.length,Ht=new Array(Bt),zt=0;zt1&&te.name===ne)return new le([[se]],xn,ne,+Rt)}return null};ft.d(xt,"transition",function(){return Ae}),ft.d(xt,"active",function(){return un}),ft.d(xt,"interrupt",function(){return x})},,function(pe,xt,ft){"use strict";var Mt,W,u,T,I=ft(6),Y=180/Math.PI,X={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Z=function(A,D,C,d,o,k){var S,h,w;return(S=Math.sqrt(A*A+D*D))&&(A/=S,D/=S),(w=A*C+D*d)&&(C-=A*w,d-=D*w),(h=Math.sqrt(C*C+d*d))&&(C/=h,d/=h,w/=h),A*d180?g+=360:g-b>180&&(b+=360),y.push({i:p.push(o(p)+"rotate(",null,d)-2,x:Object(I.a)(b,g)})):g&&p.push(o(p)+"rotate("+g+d)}(k.rotate,S.rotate,h,w),function(b,g,p,y){b!==g?y.push({i:p.push(o(p)+"skewX(",null,d)-2,x:Object(I.a)(b,g)}):g&&p.push(o(p)+"skewX("+g+d)}(k.skewX,S.skewX,h,w),function(b,g,p,y,P,m){if(b!==p||g!==y){var x=P.push(o(P)+"scale(",null,",",null,")");m.push({i:x-4,x:Object(I.a)(b,p)},{i:x-2,x:Object(I.a)(g,y)})}else p===1&&y===1||P.push(o(P)+"scale("+p+","+y+")")}(k.scaleX,k.scaleY,S.scaleX,S.scaleY,h,w),k=S=null,function(b){for(var g,p=-1,y=w.length;++p1&&arguments[1]!==void 0?arguments[1]:12,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Arial",D=document.createElement("canvas"),C=D.getContext("2d");return C.font=j+"px "+A,C.measureText(_).width},wrapText:function(_,j,A,D){var C=u.select(D),d=C.text().split(/\s+/).reverse(),o=void 0,k=[],S=0,h=T*Y,w=C.attr("y"),b=parseFloat(C.attr("dy")),g=j*X,p=C.text(null).append("tspan").attr("x",_).attr("y",w-5).attr("dy",b+"em").classed(Z,!0).style("font-size",j+"px");for(p.text(d.pop()),p=C.append("tspan").classed(H,!0).attr("x",_).attr("y",w+I).attr("dy",++S*h+b+"em").style("font-size",g+"px");o=d.pop();)k.push(o),p.text(k.join(" ")),p.node()&&p.node().getComputedTextLength()>A-50&&(k.pop(),p.text(k.join(" ")),k=[o],p=C.append("tspan").classed(H,!0).attr("x",_).attr("y",w+I).attr("dy",++S*h+b+"em").text(o).style("font-size",g+"px"))},wrapTextWithEllipses:function(_,j){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1.2;_.each(function(){var d,o,k,S,h,w,b;for(d=(_=u.select(this)).text().split(/\s+/).reverse(),k=[],S=0,h=_.attr("y"),w=parseFloat(_.attr("dy")),b=_.text(null).append("tspan").attr("x",A).attr("y",h).attr("dy",w+"em");o=d.pop();)if(k.push(o),b.text(k.join(" ")),b.node()&&b.node().getComputedTextLength()>j){if(k.pop(),b.text(k.join(" ")),!(S2&&arguments[2]!==void 0?arguments[2]:0;Ft.each(function(){var St,pt,Pt,Wt,Xt,ae,le;for(St=(Ft=X.select(this)).text().split(/\s+/).reverse(),Pt=[],Wt=0,Xt=Ft.attr("y"),ae=parseFloat(Ft.attr("dy")),le=Ft.text(null).append("tspan").attr("x",At).attr("y",Xt).attr("dy",ae+"em");pt=St.pop();)Pt.push(pt),le.text(Pt.join(" ")),C(Pt.join(" "),16,"Karla, sans-serif")>Ot&&(Pt.pop(),le.text(Pt.join(" ")),Wt<2&&(Pt=[pt],le=Ft.append("tspan").attr("x",At).attr("y",Xt).attr("dy",1.2*++Wt+ae+"em").text(pt)))})}function vt(Ft){var Ot=Ft[rt];B.length?Ot=function(At){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B;return St.map(function(pt){return At.filter(function(Pt){return Pt.name===pt})[0]})}(Ot):Ot.length&&Ot[0].name&&(Ot=function(At){return At.map(function(St){return St}).sort(function(St,pt){return St.name>pt.name?1:St.name===pt.name?0:-1})}(Ot)),P.selectAll("text").remove(),P.selectAll("circle").remove(),mt(Ft),x=48,s=37,l=0,Ot.forEach(at)}function Nt(Ft,Ot,At){vt(Ft),bt(0,Ot,At)}return K.axisTimeCombinations=H,K.dateFormat=function(Ft){return arguments.length?(ut=Ft,this):ut||G},K.dateCustomFormat=function(Ft){return arguments.length?(F=Ft,this):F},K.dateLabel=function(Ft){return arguments.length?(L=Ft,this):L},K.hide=function(){return J.style("visibility","hidden"),this},K.locale=function(Ft){return arguments.length?(U=Ft,this):U},K.nameLabel=function(Ft){return arguments.length?(nt=Ft,this):nt},K.numberFormat=function(Ft){return arguments.length?(st=Ft,this):st},K.valueFormatter=function(Ft){return arguments.length?(ht=Ft,this):ht},K.shouldShowDateInTitle=function(Ft){return arguments.length?(w=Ft,this):w},K.show=function(){return J.style("visibility","visible"),this},K.title=function(Ft){return arguments.length?(h=Ft,this):h},K.tooltipOffset=function(Ft){return arguments.length?(g=Ft,this):g},K.topicsOrder=function(Ft){return arguments.length?(B=Ft,this):B},K.topicLabel=function(Ft){return arguments.length?(rt=Ft,this):rt},K.update=function(Ft,Ot,At){var St=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return E=Ot,Nt(Ft,At,St),this},K.valueLabel=function(Ft){return arguments.length?(et=Ft,this):et},K}}.call(xt,ft,xt,pe))===void 0||(pe.exports=Mt)}])})},3224:(lr,pe,xt)=>{"use strict";xt.r(pe),xt.d(pe,{FormatSpecifier:()=>nm,active:()=>$y,arc:()=>lA,area:()=>iy,areaRadial:()=>YS,ascending:()=>o.V_,autoType:()=>Wp,axisBottom:()=>c,axisLeft:()=>E,axisRight:()=>R,axisTop:()=>N,bisect:()=>o.h1,bisectLeft:()=>o.ah,bisectRight:()=>o.Jj,bisector:()=>o.yl,blob:()=>pv,brush:()=>cl,brushSelection:()=>Ol,brushX:()=>Ky,brushY:()=>Dp,buffer:()=>Vg,chord:()=>Ha,clientPoint:()=>In,cluster:()=>UM,color:()=>so,contourDensity:()=>Ll,contours:()=>tv,create:()=>IS,creator:()=>fr,cross:()=>o.$A,csv:()=>Qs,csvFormat:()=>gx,csvFormatBody:()=>rv,csvFormatRow:()=>Ua,csvFormatRows:()=>us,csvFormatValue:()=>iv,csvParse:()=>Og,csvParseRows:()=>Ng,cubehelix:()=>$s,curveBasis:()=>xA,curveBasisClosed:()=>bA,curveBasisOpen:()=>_A,curveBundle:()=>C1,curveCardinal:()=>eC,curveCardinalClosed:()=>wA,curveCardinalOpen:()=>nC,curveCatmullRom:()=>iC,curveCatmullRomClosed:()=>EA,curveCatmullRomOpen:()=>SA,curveLinear:()=>ry,curveLinearClosed:()=>X_,curveMonotoneX:()=>Os,curveMonotoneY:()=>TA,curveNatural:()=>kA,curveStep:()=>AA,curveStepAfter:()=>OA,curveStepBefore:()=>PA,customEvent:()=>Yt,descending:()=>o.rG,deviation:()=>o.KS,dispatch:()=>F,drag:()=>Gw,dragDisable:()=>Gn,dragEnable:()=>hr,dsv:()=>mv,dsvFormat:()=>hf,easeBack:()=>Fl,easeBackIn:()=>Ug,easeBackInOut:()=>Fl,easeBackOut:()=>Va,easeBounce:()=>_d,easeBounceIn:()=>dv,easeBounceInOut:()=>Hg,easeBounceOut:()=>_d,easeCircle:()=>bd,easeCircleIn:()=>hv,easeCircleInOut:()=>bd,easeCircleOut:()=>jg,easeCubic:()=>za,easeCubicIn:()=>Jl,easeCubicInOut:()=>za,easeCubicOut:()=>ja,easeElastic:()=>Xp,easeElasticIn:()=>dl,easeElasticInOut:()=>pl,easeElasticOut:()=>Xp,easeExp:()=>Za,easeExpIn:()=>cv,easeExpInOut:()=>Za,easeExpOut:()=>xd,easeLinear:()=>Fg,easePoly:()=>Gp,easePolyIn:()=>lv,easePolyInOut:()=>Gp,easePolyOut:()=>uv,easeQuad:()=>hh,easeQuadIn:()=>yx,easeQuadInOut:()=>hh,easeQuadOut:()=>Yp,easeSin:()=>vd,easeSinIn:()=>vx,easeSinInOut:()=>vd,easeSinOut:()=>xx,entries:()=>ru,event:()=>br,extent:()=>o.Xx,forceCenter:()=>mf,forceCollide:()=>Jp,forceLink:()=>vv,forceManyBody:()=>$o,forceRadial:()=>bv,forceSimulation:()=>Gg,forceX:()=>_v,forceY:()=>Bi,format:()=>gh,formatDefaultLocale:()=>im,formatLocale:()=>bf,formatPrefix:()=>Od,formatSpecifier:()=>xf,geoAlbers:()=>mb,geoAlbersUsa:()=>EM,geoArea:()=>$g,geoAzimuthalEqualArea:()=>SM,geoAzimuthalEqualAreaRaw:()=>gm,geoAzimuthalEquidistant:()=>CM,geoAzimuthalEquidistantRaw:()=>yb,geoBounds:()=>Jw,geoCentroid:()=>iM,geoCircle:()=>n2,geoClipAntimeridian:()=>Nv,geoClipCircle:()=>Yx,geoClipExtent:()=>u2,geoClipRectangle:()=>l0,geoConicConformal:()=>MM,geoConicConformalRaw:()=>vb,geoConicEqualArea:()=>Vv,geoConicEqualAreaRaw:()=>R2,geoConicEquidistant:()=>AM,geoConicEquidistantRaw:()=>I2,geoContains:()=>oM,geoDistance:()=>h0,geoEqualEarth:()=>xb,geoEqualEarthRaw:()=>Fo,geoEquirectangular:()=>kM,geoEquirectangularRaw:()=>Yv,geoGnomonic:()=>F2,geoGnomonicRaw:()=>Gv,geoGraticule:()=>m2,geoGraticule10:()=>g2,geoIdentity:()=>PM,geoInterpolate:()=>xh,geoLength:()=>qx,geoMercator:()=>TM,geoMercatorRaw:()=>b0,geoNaturalEarth1:()=>OM,geoNaturalEarth1Raw:()=>bb,geoOrthographic:()=>NM,geoOrthographicRaw:()=>_b,geoPath:()=>pM,geoProjection:()=>Rc,geoProjectionMutator:()=>D2,geoRotation:()=>jx,geoStereographic:()=>DM,geoStereographicRaw:()=>wb,geoStream:()=>Yr,geoTransform:()=>P2,geoTransverseMercator:()=>RM,geoTransverseMercatorRaw:()=>Xv,gray:()=>Lo,hcl:()=>dc,hierarchy:()=>Eb,histogram:()=>o.JW,hsl:()=>ea,html:()=>wa,image:()=>Aa,interpolate:()=>on,interpolateArray:()=>Hh,interpolateBasis:()=>Zo,interpolateBasisClosed:()=>Kl,interpolateBlues:()=>MS,interpolateBrBG:()=>b5,interpolateBuGn:()=>Ik,interpolateBuPu:()=>E_,interpolateCividis:()=>w5,interpolateCool:()=>$k,interpolateCubehelix:()=>kf,interpolateCubehelixDefault:()=>Xk,interpolateCubehelixLong:()=>fu,interpolateDate:()=>Qf,interpolateDiscrete:()=>E3,interpolateGnBu:()=>S_,interpolateGreens:()=>Wk,interpolateGreys:()=>Yk,interpolateHcl:()=>P3,interpolateHclLong:()=>g5,interpolateHsl:()=>k3,interpolateHslLong:()=>A3,interpolateHue:()=>S3,interpolateInferno:()=>LS,interpolateLab:()=>m5,interpolateMagma:()=>tA,interpolateNumber:()=>_s,interpolateNumberArray:()=>Zf,interpolateObject:()=>Wc,interpolateOrRd:()=>Fk,interpolateOranges:()=>DS,interpolatePRGn:()=>_5,interpolatePiYG:()=>dS,interpolatePlasma:()=>eA,interpolatePuBu:()=>jk,interpolatePuBuGn:()=>Bk,interpolatePuOr:()=>Ok,interpolatePuRd:()=>zk,interpolatePurples:()=>Gk,interpolateRainbow:()=>RS,interpolateRdBu:()=>mS,interpolateRdGy:()=>Nk,interpolateRdPu:()=>Lf,interpolateRdYlBu:()=>Dk,interpolateRdYlGn:()=>Rk,interpolateReds:()=>OS,interpolateRgb:()=>ec,interpolateRgbBasis:()=>yp,interpolateRgbBasisClosed:()=>Kf,interpolateRound:()=>Q2,interpolateSinebow:()=>Qk,interpolateSpectral:()=>Lk,interpolateString:()=>je,interpolateTransformCss:()=>ng,interpolateTransformSvg:()=>rg,interpolateTurbo:()=>b1,interpolateViridis:()=>Jk,interpolateWarm:()=>qk,interpolateYlGn:()=>Uk,interpolateYlGnBu:()=>Hk,interpolateYlOrBr:()=>Vk,interpolateYlOrRd:()=>CS,interpolateZoom:()=>nE,interrupt:()=>ic,interval:()=>HA,isoFormat:()=>BA,isoParse:()=>zA,json:()=>Qa,keys:()=>Ip,lab:()=>qo,lch:()=>md,line:()=>N_,lineRadial:()=>$u,linkHorizontal:()=>GS,linkRadial:()=>gA,linkVertical:()=>mA,local:()=>FS,map:()=>ss,matcher:()=>J,max:()=>o.T9,mean:()=>o.i2,median:()=>o.JZ,merge:()=>o.Am,min:()=>o.jk,mouse:()=>Sr,namespace:()=>xn,namespaces:()=>tn,nest:()=>cd,now:()=>Ba,pack:()=>f3,packEnclose:()=>j2,packSiblings:()=>u3,pairs:()=>o.AS,partition:()=>d3,path:()=>hl,permute:()=>o.Ny,pie:()=>cA,piecewise:()=>y5,pointRadial:()=>oy,polygonArea:()=>rE,polygonCentroid:()=>ds,polygonContains:()=>L3,polygonHull:()=>R3,polygonLength:()=>oE,precisionFixed:()=>wv,precisionPrefix:()=>Nd,precisionRound:()=>Ev,quadtree:()=>Pa,quantile:()=>o.YV,quantize:()=>vi,radialArea:()=>YS,radialLine:()=>$u,randomBates:()=>aE,randomExponential:()=>xl,randomIrwinHall:()=>k0,randomLogNormal:()=>Nb,randomNormal:()=>Ob,randomUniform:()=>I3,range:()=>o.y1,rgb:()=>bo,ribbon:()=>uc,scaleBand:()=>Rb,scaleDiverging:()=>v_,scaleDivergingLog:()=>aS,scaleDivergingPow:()=>x_,scaleDivergingSqrt:()=>Sk,scaleDivergingSymlog:()=>Mm,scaleIdentity:()=>fE,scaleImplicit:()=>du,scaleLinear:()=>hE,scaleLog:()=>O0,scaleOrdinal:()=>Db,scalePoint:()=>P0,scalePow:()=>Ub,scaleQuantile:()=>wE,scaleQuantize:()=>EE,scaleSequential:()=>m_,scaleSequentialLog:()=>g_,scaleSequentialPow:()=>Zd,scaleSequentialQuantile:()=>oS,scaleSequentialSqrt:()=>Ek,scaleSequentialSymlog:()=>y_,scaleSqrt:()=>_E,scaleSymlog:()=>vE,scaleThreshold:()=>i1,scaleTime:()=>eS,scaleUtc:()=>iS,scan:()=>o.SQ,schemeAccent:()=>Tk,schemeBlues:()=>TS,schemeBrBG:()=>hS,schemeBuGn:()=>w_,schemeBuPu:()=>ey,schemeCategory10:()=>Ck,schemeDark2:()=>Mk,schemeGnBu:()=>y1,schemeGreens:()=>kS,schemeGreys:()=>AS,schemeOrRd:()=>v1,schemeOranges:()=>NS,schemePRGn:()=>fS,schemePaired:()=>sS,schemePastel1:()=>lS,schemePastel2:()=>uS,schemePiYG:()=>b_,schemePuBu:()=>_S,schemePuBuGn:()=>bS,schemePuOr:()=>pS,schemePuRd:()=>vu,schemePurples:()=>PS,schemeRdBu:()=>__,schemeRdGy:()=>gS,schemeRdPu:()=>wS,schemeRdYlBu:()=>yS,schemeRdYlGn:()=>vS,schemeReds:()=>T_,schemeSet1:()=>kk,schemeSet2:()=>cS,schemeSet3:()=>Ak,schemeSpectral:()=>xS,schemeTableau10:()=>Pk,schemeYlGn:()=>ES,schemeYlGnBu:()=>km,schemeYlOrBr:()=>C_,schemeYlOrRd:()=>SS,select:()=>qe,selectAll:()=>rA,selection:()=>Re,selector:()=>st,selectorAll:()=>ct,set:()=>ju,shuffle:()=>o.k4,stack:()=>NA,stackOffsetDiverging:()=>cC,stackOffsetExpand:()=>DA,stackOffsetNone:()=>Yl,stackOffsetSilhouette:()=>RA,stackOffsetWiggle:()=>K_,stackOrderAppearance:()=>Z_,stackOrderAscending:()=>Dm,stackOrderDescending:()=>hC,stackOrderInsideOut:()=>IA,stackOrderNone:()=>Nm,stackOrderReverse:()=>fC,stratify:()=>p5,style:()=>cn,sum:()=>o.cz,svg:()=>Cd,symbol:()=>vA,symbolCircle:()=>ay,symbolCross:()=>B_,symbolDiamond:()=>sy,symbolSquare:()=>z_,symbolStar:()=>KS,symbolTriangle:()=>ly,symbolWye:()=>ZS,symbols:()=>QS,text:()=>$p,thresholdFreedmanDiaconis:()=>o.c3,thresholdScott:()=>o.Ft,thresholdSturges:()=>o.zr,tickFormat:()=>cE,tickIncrement:()=>o.lq,tickStep:()=>o.sG,ticks:()=>o.Zc,timeDay:()=>L0,timeDays:()=>yo,timeFormat:()=>Df,timeFormatDefaultLocale:()=>c_,timeFormatLocale:()=>jE,timeFriday:()=>OE,timeFridays:()=>LE,timeHour:()=>Xb,timeHours:()=>V3,timeInterval:()=>Xa,timeMillisecond:()=>s1,timeMilliseconds:()=>IE,timeMinute:()=>Wd,timeMinutes:()=>W3,timeMonday:()=>R0,timeMondays:()=>DE,timeMonth:()=>TE,timeMonths:()=>ME,timeParse:()=>d1,timeSaturday:()=>NE,timeSaturdays:()=>U3,timeSecond:()=>F0,timeSeconds:()=>Kb,timeSunday:()=>D0,timeSundays:()=>Yb,timeThursday:()=>pu,timeThursdays:()=>v5,timeTuesday:()=>Wb,timeTuesdays:()=>H3,timeWednesday:()=>PE,timeWednesdays:()=>RE,timeWeek:()=>D0,timeWeeks:()=>Yb,timeYear:()=>Pf,timeYears:()=>SE,timeout:()=>xp,timer:()=>Gc,timerFlush:()=>Au,touch:()=>mr,touches:()=>iA,transition:()=>Du,transpose:()=>o.mg,tree:()=>vl,treemap:()=>x3,treemapBinary:()=>b3,treemapDice:()=>T0,treemapResquarify:()=>w3,treemapSlice:()=>As,treemapSliceDice:()=>_3,treemapSquarify:()=>Z2,tsv:()=>to,tsvFormat:()=>Vp,tsvFormatBody:()=>Rg,tsvFormatRow:()=>sv,tsvFormatRows:()=>av,tsvFormatValue:()=>Lg,tsvParse:()=>ov,tsvParseRows:()=>Dg,utcDay:()=>l1,utcDays:()=>$3,utcFormat:()=>K0,utcFriday:()=>Qb,utcFridays:()=>X3,utcHour:()=>rS,utcHours:()=>_k,utcMillisecond:()=>s1,utcMilliseconds:()=>IE,utcMinute:()=>p1,utcMinutes:()=>wk,utcMonday:()=>j0,utcMondays:()=>Y3,utcMonth:()=>ty,utcMonths:()=>bk,utcParse:()=>u_,utcSaturday:()=>Jb,utcSaturdays:()=>q3,utcSecond:()=>F0,utcSeconds:()=>Kb,utcSunday:()=>B0,utcSundays:()=>z0,utcThursday:()=>Ic,utcThursdays:()=>Of,utcTuesday:()=>Zb,utcTuesdays:()=>G3,utcWednesday:()=>wh,utcWednesdays:()=>FE,utcWeek:()=>B0,utcWeeks:()=>z0,utcYear:()=>Gd,utcYears:()=>K3,values:()=>Fp,variance:()=>o.GV,version:()=>Mt,voronoi:()=>kh,window:()=>zt,xml:()=>vc,zip:()=>o.yU,zoom:()=>qA,zoomIdentity:()=>yy,zoomTransform:()=>nw});var ft="d3",Mt="5.16.0",W="Data-Driven Documents",u=null,T="https://d3js.org",I="BSD-3-Clause",Y={name:"Mike Bostock",url:"https://bost.ocks.org/mike"},X="dist/d3.node.js",Z="dist/d3.min.js",H="dist/d3.min.js",_="index.js",j={type:"git",url:"https://github.com/d3/d3.git"},A=null,D={pretest:"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c",test:"tape 'test/**/*-test.js'",prepublishOnly:"yarn test",postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js'},C={json2module:"0.0",rimraf:"2",rollup:"1","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3","rollup-plugin-terser":"5",tape:"4"},d={"d3-array":"1","d3-axis":"1","d3-brush":"1","d3-chord":"1","d3-collection":"1","d3-color":"1","d3-contour":"1","d3-dispatch":"1","d3-drag":"1","d3-dsv":"1","d3-ease":"1","d3-fetch":"1","d3-force":"1","d3-format":"1","d3-geo":"1","d3-hierarchy":"1","d3-interpolate":"1","d3-path":"1","d3-polygon":"1","d3-quadtree":"1","d3-random":"1","d3-scale":"2","d3-scale-chromatic":"1","d3-selection":"1","d3-shape":"1","d3-time":"1","d3-time-format":"2","d3-timer":"1","d3-transition":"1","d3-voronoi":"1","d3-zoom":"1"},o=xt(9685),k=Array.prototype.slice;function S(n){return n}var h=1,w=2,b=3,g=4,p=1e-6;function y(n){return"translate("+(n+.5)+",0)"}function P(n){return"translate(0,"+(n+.5)+")"}function m(n){return function(a){return+n(a)}}function x(n){var a=Math.max(0,n.bandwidth()-1)/2;return n.round()&&(a=Math.round(a)),function(M){return+n(M)+a}}function l(){return!this.__axis}function s(n,a){var M=[],V=null,it=null,gt=6,wt=6,Et=3,It=n===h||n===g?-1:1,jt=n===g||n===w?"x":"y",Gt=n===h||n===b?y:P;function Zt(qt){var me=V==null?a.ticks?a.ticks.apply(a,M):a.domain():V,Se=it==null?a.tickFormat?a.tickFormat.apply(a,M):S:it,Ee=Math.max(gt,0)+Et,Pe=a.range(),Le=+Pe[0]+.5,en=+Pe[Pe.length-1]+.5,Ye=(a.bandwidth?x:m)(a.copy()),Je=qt.selection?qt.selection():qt,kn=Je.selectAll(".domain").data([null]),zn=Je.selectAll(".tick").data(me,a).order(),Ln=zn.exit(),gr=zn.enter().append("g").attr("class","tick"),Jn=zn.select("line"),sr=zn.select("text");kn=kn.merge(kn.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),zn=zn.merge(gr),Jn=Jn.merge(gr.append("line").attr("stroke","currentColor").attr(jt+"2",It*gt)),sr=sr.merge(gr.append("text").attr("fill","currentColor").attr(jt,It*Ee).attr("dy",n===h?"0em":n===b?"0.71em":"0.32em")),qt!==Je&&(kn=kn.transition(qt),zn=zn.transition(qt),Jn=Jn.transition(qt),sr=sr.transition(qt),Ln=Ln.transition(qt).attr("opacity",p).attr("transform",function(Kn){return isFinite(Kn=Ye(Kn))?Gt(Kn):this.getAttribute("transform")}),gr.attr("opacity",p).attr("transform",function(Kn){var rn=this.parentNode.__axis;return Gt(rn&&isFinite(rn=rn(Kn))?rn:Ye(Kn))})),Ln.remove(),kn.attr("d",n===g||n==w?wt?"M"+It*wt+","+Le+"H0.5V"+en+"H"+It*wt:"M0.5,"+Le+"V"+en:wt?"M"+Le+","+It*wt+"V0.5H"+en+"V"+It*wt:"M"+Le+",0.5H"+en),zn.attr("opacity",1).attr("transform",function(Kn){return Gt(Ye(Kn))}),Jn.attr(jt+"2",It*gt),sr.attr(jt,It*Ee).text(Se),Je.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",n===w?"start":n===g?"end":"middle"),Je.each(function(){this.__axis=Ye})}return Zt.scale=function(qt){return arguments.length?(a=qt,Zt):a},Zt.ticks=function(){return M=k.call(arguments),Zt},Zt.tickArguments=function(qt){return arguments.length?(M=qt==null?[]:k.call(qt),Zt):M.slice()},Zt.tickValues=function(qt){return arguments.length?(V=qt==null?null:k.call(qt),Zt):V&&V.slice()},Zt.tickFormat=function(qt){return arguments.length?(it=qt,Zt):it},Zt.tickSize=function(qt){return arguments.length?(gt=wt=+qt,Zt):gt},Zt.tickSizeInner=function(qt){return arguments.length?(gt=+qt,Zt):gt},Zt.tickSizeOuter=function(qt){return arguments.length?(wt=+qt,Zt):wt},Zt.tickPadding=function(qt){return arguments.length?(Et=+qt,Zt):Et},Zt}function N(n){return s(h,n)}function R(n){return s(w,n)}function c(n){return s(b,n)}function E(n){return s(g,n)}var L={value:function(){}};function et(){for(var n=0,a=arguments.length,M={},V;n=0&&(V=M.slice(it+1),M=M.slice(0,it)),M&&!a.hasOwnProperty(M))throw new Error("unknown type: "+M);return{type:M,name:V}})}nt.prototype=et.prototype={constructor:nt,on:function(n,a){var M=this._,V=rt(n+"",M),it,gt=-1,wt=V.length;if(arguments.length<2){for(;++gt0)for(var M=new Array(it),V=0,it,gt;V=Ye&&(Ye=en+1);!(kn=Pe[Ye])&&++Ye=0;)(wt=V[it])&&(gt&&wt.compareDocumentPosition(gt)^4&>.parentNode.insertBefore(wt,gt),gt=wt);return this}function Pt(n){n||(n=Wt);function a(Zt,qt){return Zt&&qt?n(Zt.__data__,qt.__data__):!Zt-!qt}for(var M=this._groups,V=M.length,it=new Array(V),gt=0;gta?1:n>=a?0:NaN}function Xt(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function ae(){var n=new Array(this.size()),a=-1;return this.each(function(){n[++a]=this}),n}function le(){for(var n=this._groups,a=0,M=n.length;a=0&&(a=n.slice(0,M))!=="xmlns"&&(n=n.slice(M+1)),tn.hasOwnProperty(a)?{space:tn[a],local:n}:n}function un(n){return function(){this.removeAttribute(n)}}function se(n){return function(){this.removeAttributeNS(n.space,n.local)}}function ne(n,a){return function(){this.setAttribute(n,a)}}function te(n,a){return function(){this.setAttributeNS(n.space,n.local,a)}}function Rt(n,a){return function(){var M=a.apply(this,arguments);M==null?this.removeAttribute(n):this.setAttribute(n,M)}}function Bt(n,a){return function(){var M=a.apply(this,arguments);M==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,M)}}function Ht(n,a){var M=xn(n);if(arguments.length<2){var V=this.node();return M.local?V.getAttributeNS(M.space,M.local):V.getAttribute(M)}return this.each((a==null?M.local?se:un:typeof a=="function"?M.local?Bt:Rt:M.local?te:ne)(M,a))}function zt(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function re(n){return function(){this.style.removeProperty(n)}}function ve(n,a,M){return function(){this.style.setProperty(n,a,M)}}function he(n,a,M){return function(){var V=a.apply(this,arguments);V==null?this.style.removeProperty(n):this.style.setProperty(n,V,M)}}function Ge(n,a,M){return arguments.length>1?this.each((a==null?re:typeof a=="function"?he:ve)(n,a,M==null?"":M)):cn(this.node(),n)}function cn(n,a){return n.style.getPropertyValue(a)||zt(n).getComputedStyle(n,null).getPropertyValue(a)}function yn(n){return function(){delete this[n]}}function Vn(n,a){return function(){this[n]=a}}function fn(n,a){return function(){var M=a.apply(this,arguments);M==null?delete this[n]:this[n]=M}}function Mn(n,a){return arguments.length>1?this.each((a==null?yn:typeof a=="function"?fn:Vn)(n,a)):this.node()[n]}function Qn(n){return n.trim().split(/^|\s+/)}function Cr(n){return n.classList||new de(n)}function de(n){this._node=n,this._names=Qn(n.getAttribute("class")||"")}de.prototype={add:function(n){var a=this._names.indexOf(n);a<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var a=this._names.indexOf(n);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function Ne(n,a){for(var M=Cr(n),V=-1,it=a.length;++V=0&&(M=a.slice(V+1),a=a.slice(0,V)),{type:a,name:M}})}function He(n){return function(){var a=this.__on;if(a){for(var M=0,V=-1,it=a.length,gt;M>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):M===8?po(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):M===4?po(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=ki.exec(n))?new ro(a[1],a[2],a[3],1):(a=ai.exec(n))?new ro(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=Oi.exec(n))?po(a[1],a[2],a[3],a[4]):(a=Ni.exec(n))?po(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=_i.exec(n))?mo(a[1],a[2]/100,a[3]/100,1):(a=Pi.exec(n))?mo(a[1],a[2]/100,a[3]/100,a[4]):ao.hasOwnProperty(n)?no(ao[n]):n==="transparent"?new ro(NaN,NaN,NaN,0):null}function no(n){return new ro(n>>16&255,n>>8&255,n&255,1)}function po(n,a,M,V){return V<=0&&(n=a=M=NaN),new ro(n,a,M,V)}function Jo(n){return n instanceof ir||(n=so(n)),n?(n=n.rgb(),new ro(n.r,n.g,n.b,n.opacity)):new ro}function bo(n,a,M,V){return arguments.length===1?Jo(n):new ro(n,a,M,V==null?1:V)}function ro(n,a,M,V){this.r=+n,this.g=+a,this.b=+M,this.opacity=+V}ar(ro,bo,Wn(ir,{brighter:function(n){return n=n==null?xr:Math.pow(xr,n),new ro(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=n==null?Ar:Math.pow(Ar,n),new ro(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){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:Yo,formatHex:Yo,formatRgb:fa,toString:fa}));function Yo(){return"#"+ta(this.r)+ta(this.g)+ta(this.b)}function fa(){var n=this.opacity;return n=isNaN(n)?1:Math.max(0,Math.min(1,n)),(n===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(n===1?")":", "+n+")")}function ta(n){return n=Math.max(0,Math.min(255,Math.round(n)||0)),(n<16?"0":"")+n.toString(16)}function mo(n,a,M,V){return V<=0?n=a=M=NaN:M<=0||M>=1?n=a=NaN:a<=0&&(n=NaN),new da(n,a,M,V)}function ba(n){if(n instanceof da)return new da(n.h,n.s,n.l,n.opacity);if(n instanceof ir||(n=so(n)),!n)return new da;if(n instanceof da)return n;n=n.rgb();var a=n.r/255,M=n.g/255,V=n.b/255,it=Math.min(a,M,V),gt=Math.max(a,M,V),wt=NaN,Et=gt-it,It=(gt+it)/2;return Et?(a===gt?wt=(M-V)/Et+(M0&&It<1?0:wt,new da(wt,Et,It,n.opacity)}function ea(n,a,M,V){return arguments.length===1?ba(n):new da(n,a,M,V==null?1:V)}function da(n,a,M,V){this.h=+n,this.s=+a,this.l=+M,this.opacity=+V}ar(da,ea,Wn(ir,{brighter:function(n){return n=n==null?xr:Math.pow(xr,n),new da(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=n==null?Ar:Math.pow(Ar,n),new da(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+(this.h<0)*360,a=isNaN(n)||isNaN(this.s)?0:this.s,M=this.l,V=M+(M<.5?M:1-M)*a,it=2*M-V;return new ro(kl(n>=240?n-240:n+120,it,V),kl(n,it,V),kl(n<120?n+240:n-120,it,V),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return n=isNaN(n)?1:Math.max(0,Math.min(1,n)),(n===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(n===1?")":", "+n+")")}}));function kl(n,a,M){return(n<60?a+(M-a)*n/60:n<180?M:n<240?a+(M-a)*(240-n)/60:a)*255}function rs(n,a,M,V,it){var gt=n*n,wt=gt*n;return((1-3*n+3*gt-wt)*a+(4-6*gt+3*wt)*M+(1+3*n+3*gt-3*wt)*V+wt*it)/6}function Zo(n){var a=n.length-1;return function(M){var V=M<=0?M=0:M>=1?(M=1,a-1):Math.floor(M*a),it=n[V],gt=n[V+1],wt=V>0?n[V-1]:2*it-gt,Et=V180||M<-180?M-360*Math.round(M/360):M):sl(isNaN(n)?a:n)}function bs(n){return(n=+n)==1?na:function(a,M){return M-a?gp(a,M,n):sl(isNaN(a)?M:a)}}function na(n,a){var M=a-n;return M?js(n,M):sl(isNaN(n)?a:n)}const ec=function n(a){var M=bs(a);function V(it,gt){var wt=M((it=bo(it)).r,(gt=bo(gt)).r),Et=M(it.g,gt.g),It=M(it.b,gt.b),jt=na(it.opacity,gt.opacity);return function(Gt){return it.r=wt(Gt),it.g=Et(Gt),it.b=It(Gt),it.opacity=jt(Gt),it+""}}return V.gamma=n,V}(1);function qm(n){return function(a){var M=a.length,V=new Array(M),it=new Array(M),gt=new Array(M),wt,Et;for(wt=0;wtM&&(gt=a.slice(M,gt),Et[wt]?Et[wt]+=gt:Et[++wt]=gt),(V=V[0])===(it=it[0])?Et[wt]?Et[wt]+=it:Et[++wt]=it:(Et[++wt]=null,It.push({i:wt,x:_s(V,it)})),M=Vh.lastIndex;return M=0&&n._call.call(null,a),n=n._next;--ci}function Wh(){is=(Fa=os.now())+Yc,ci=Ti=0;try{Au()}finally{ci=0,vp(),is=0}}function lx(){var n=os.now(),a=n-Fa;a>Wi&&(Yc-=a,Fa=n)}function vp(){for(var n,a=pa,M,V=1/0;a;)a._call?(V>a._time&&(V=a._time),n=a,a=a._next):(M=a._next,a._next=null,a=n?n._next=M:pa=M);Ma=n,$m(V)}function $m(n){if(!ci){Ti&&(Ti=clearTimeout(Ti));var a=n-is;a>24?(n<1/0&&(Ti=setTimeout(Wh,n-os.now()-Yc)),bi&&(bi=clearInterval(bi))):(bi||(Fa=os.now(),bi=setInterval(lx,Wi)),ci=1,ax(Wh))}}function xp(n,a,M){var V=new rc;return a=a==null?0:+a,V.restart(function(it){V.stop(),n(it+a)},a,M),V}var Jf=F("start","end","cancel","interrupt"),Km=[],Yh=0,bp=1,_p=2,Gh=3,Ly=4,Zm=5,Qm=6;function Jm(n,a,M,V,it,gt){var wt=n.__transition;if(!wt)n.__transition={};else if(M in wt)return;tg(n,M,{name:a,index:V,group:it,on:Jf,tween:Km,time:gt.time,delay:gt.delay,duration:gt.duration,ease:gt.ease,timer:null,state:Yh})}function zs(n,a){var M=Al(n,a);if(M.state>Yh)throw new Error("too late; already scheduled");return M}function ul(n,a){var M=Al(n,a);if(M.state>Gh)throw new Error("too late; already running");return M}function Al(n,a){var M=n.__transition;if(!M||!(M=M[a]))throw new Error("transition not found");return M}function tg(n,a,M){var V=n.__transition,it;V[a]=M,M.timer=Gc(gt,0,M.time);function gt(jt){M.state=bp,M.timer.restart(wt,M.delay,M.time),M.delay<=jt&&wt(jt-M.delay)}function wt(jt){var Gt,Zt,qt,me;if(M.state!==bp)return It();for(Gt in V)if(me=V[Gt],me.name===M.name){if(me.state===Gh)return xp(wt);me.state===Ly?(me.state=Qm,me.timer.stop(),me.on.call("interrupt",n,n.__data__,me.index,me.group),delete V[Gt]):+Gt_p&&V.state180?Gt+=360:Gt-jt>180&&(jt+=360),qt.push({i:Zt.push(it(Zt)+"rotate(",null,V)-2,x:_s(jt,Gt)})):Gt&&Zt.push(it(Zt)+"rotate("+Gt+V)}function Et(jt,Gt,Zt,qt){jt!==Gt?qt.push({i:Zt.push(it(Zt)+"skewX(",null,V)-2,x:_s(jt,Gt)}):Gt&&Zt.push(it(Zt)+"skewX("+Gt+V)}function It(jt,Gt,Zt,qt,me,Se){if(jt!==Zt||Gt!==qt){var Ee=me.push(it(me)+"scale(",null,",",null,")");Se.push({i:Ee-4,x:_s(jt,Zt)},{i:Ee-2,x:_s(Gt,qt)})}else(Zt!==1||qt!==1)&&me.push(it(me)+"scale("+Zt+","+qt+")")}return function(jt,Gt){var Zt=[],qt=[];return jt=n(jt),Gt=n(Gt),gt(jt.translateX,jt.translateY,Gt.translateX,Gt.translateY,Zt,qt),wt(jt.rotate,Gt.rotate,Zt,qt),Et(jt.skewX,Gt.skewX,Zt,qt),It(jt.scaleX,jt.scaleY,Gt.scaleX,Gt.scaleY,Zt,qt),jt=Gt=null,function(me){for(var Se=-1,Ee=qt.length,Pe;++Se=0&&(a=a.slice(0,M)),!a||a==="start"})}function Wy(n,a,M){var V,it,gt=Yw(a)?zs:ul;return function(){var wt=gt(this,n),Et=wt.on;Et!==V&&(it=(V=Et).copy()).on(a,M),wt.on=it}}function cg(n,a){var M=this._id;return arguments.length<2?Al(this.node(),M).on.on(n):this.each(Wy(M,n,a))}function hg(n){return function(){var a=this.parentNode;for(var M in this.__transition)if(+M!==n)return;a&&a.removeChild(this)}}function fg(){return this.on("end.remove",hg(this._id))}function Zl(n){var a=this._name,M=this._id;typeof n!="function"&&(n=st(n));for(var V=this._groups,it=V.length,gt=new Array(it),wt=0;wtbp&&V.name===a)return new as([[n]],gg,a,+it)}return null}function Np(n){return function(){return n}}function yg(n,a,M){this.target=n,this.type=a,this.selection=M}function To(){br.stopImmediatePropagation()}function Pl(){br.preventDefault(),br.stopImmediatePropagation()}var od={name:"drag"},ad={name:"space"},Qc={name:"handle"},sd={name:"center"};function Lu(n){return[+n[0],+n[1]]}function tu(n){return[Lu(n[0]),Lu(n[1])]}function Jh(n){return function(a){return mr(a,br.touches,n)}}var tf={name:"x",handles:["w","e"].map(nf),input:function(n,a){return n==null?null:[[+n[0],a[0][1]],[+n[1],a[1][1]]]},output:function(n){return n&&[n[0][0],n[1][0]]}},ef={name:"y",handles:["n","s"].map(nf),input:function(n,a){return n==null?null:[[a[0][0],+n[0]],[a[1][0],+n[1]]]},output:function(n){return n&&[n[0][1],n[1][1]]}},Hs={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(nf),input:function(n){return n==null?null:tu(n)},output:function(n){return n}},aa={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},sc={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},eu={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},yi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Jc={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function nf(n){return{type:n}}function vg(){return!br.ctrlKey&&!br.button}function $n(){var n=this.ownerSVGElement||this;return n.hasAttribute("viewBox")?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function Us(){return navigator.maxTouchPoints||"ontouchstart"in this}function Fr(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function Xo(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function Ol(n){var a=n.__brush;return a?a.dim.output(a.selection):null}function Ky(){return ld(tf)}function Dp(){return ld(ef)}function cl(){return ld(Hs)}function ld(n){var a=$n,M=vg,V=Us,it=!0,gt=F("start","brush","end"),wt=6,Et;function It(Pe){var Le=Pe.property("__brush",Ee).selectAll(".overlay").data([nf("overlay")]);Le.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",aa.overlay).merge(Le).each(function(){var Ye=Fr(this).extent;qe(this).attr("x",Ye[0][0]).attr("y",Ye[0][1]).attr("width",Ye[1][0]-Ye[0][0]).attr("height",Ye[1][1]-Ye[0][1])}),Pe.selectAll(".selection").data([nf("selection")]).enter().append("rect").attr("class","selection").attr("cursor",aa.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var en=Pe.selectAll(".handle").data(n.handles,function(Ye){return Ye.type});en.exit().remove(),en.enter().append("rect").attr("class",function(Ye){return"handle handle--"+Ye.type}).attr("cursor",function(Ye){return aa[Ye.type]}),Pe.each(jt).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",qt).filter(V).on("touchstart.brush",qt).on("touchmove.brush",me).on("touchend.brush touchcancel.brush",Se).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}It.move=function(Pe,Le){Pe.selection?Pe.on("start.brush",function(){Gt(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){Gt(this,arguments).end()}).tween("brush",function(){var en=this,Ye=en.__brush,Je=Gt(en,arguments),kn=Ye.selection,zn=n.input(typeof Le=="function"?Le.apply(this,arguments):Le,Ye.extent),Ln=on(kn,zn);function gr(Jn){Ye.selection=Jn===1&&zn===null?null:Ln(Jn),jt.call(en),Je.brush()}return kn!==null&&zn!==null?gr:gr(1)}):Pe.each(function(){var en=this,Ye=arguments,Je=en.__brush,kn=n.input(typeof Le=="function"?Le.apply(en,Ye):Le,Je.extent),zn=Gt(en,Ye).beforestart();ic(en),Je.selection=kn===null?null:kn,jt.call(en),zn.start().brush().end()})},It.clear=function(Pe){It.move(Pe,null)};function jt(){var Pe=qe(this),Le=Fr(this).selection;Le?(Pe.selectAll(".selection").style("display",null).attr("x",Le[0][0]).attr("y",Le[0][1]).attr("width",Le[1][0]-Le[0][0]).attr("height",Le[1][1]-Le[0][1]),Pe.selectAll(".handle").style("display",null).attr("x",function(en){return en.type[en.type.length-1]==="e"?Le[1][0]-wt/2:Le[0][0]-wt/2}).attr("y",function(en){return en.type[0]==="s"?Le[1][1]-wt/2:Le[0][1]-wt/2}).attr("width",function(en){return en.type==="n"||en.type==="s"?Le[1][0]-Le[0][0]+wt:wt}).attr("height",function(en){return en.type==="e"||en.type==="w"?Le[1][1]-Le[0][1]+wt:wt})):Pe.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function Gt(Pe,Le,en){var Ye=Pe.__brush.emitter;return Ye&&(!en||!Ye.clean)?Ye:new Zt(Pe,Le,en)}function Zt(Pe,Le,en){this.that=Pe,this.args=Le,this.state=Pe.__brush,this.active=0,this.clean=en}Zt.prototype={beforestart:function(){return++this.active===1&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return--this.active===0&&(delete this.state.emitter,this.emit("end")),this},emit:function(Pe){Yt(new yg(It,Pe,n.output(this.state.selection)),gt.apply,gt,[Pe,this.that,this.args])}};function qt(){if(Et&&!br.touches||!M.apply(this,arguments))return;var Pe=this,Le=br.target.__data__.type,en=(it&&br.metaKey?Le="overlay":Le)==="selection"?od:it&&br.altKey?sd:Qc,Ye=n===ef?null:yi[Le],Je=n===tf?null:Jc[Le],kn=Fr(Pe),zn=kn.extent,Ln=kn.selection,gr=zn[0][0],Jn,sr,Kn=zn[0][1],rn,Hn,Tr=zn[1][0],jn,vr,Qr=zn[1][1],Kr,li,Ri=0,Li=0,Ko,Do=Ye&&Je&&it&&br.shiftKey,ho,Ta,_u=br.touches?Jh(br.changedTouches[0].identifier):Sr,wu=_u(Pe),Ku=wu,Gr=Gt(Pe,arguments,!0).beforestart();Le==="overlay"?(Ln&&(Ko=!0),kn.selection=Ln=[[Jn=n===ef?gr:wu[0],rn=n===tf?Kn:wu[1]],[jn=n===ef?Tr:Jn,Kr=n===tf?Qr:rn]]):(Jn=Ln[0][0],rn=Ln[0][1],jn=Ln[1][0],Kr=Ln[1][1]),sr=Jn,Hn=rn,vr=jn,li=Kr;var Ui=qe(Pe).attr("pointer-events","none"),Ki=Ui.selectAll(".overlay").attr("cursor",aa[Le]);if(br.touches)Gr.moved=vs,Gr.ended=Ds;else{var Dr=qe(br.view).on("mousemove.brush",vs,!0).on("mouseup.brush",Ds,!0);it&&Dr.on("keydown.brush",il,!0).on("keyup.brush",Ah,!0),Gn(br.view)}To(),ic(Pe),jt.call(Pe),Gr.start();function vs(){var ol=_u(Pe);Do&&!ho&&!Ta&&(Math.abs(ol[0]-Ku[0])>Math.abs(ol[1]-Ku[1])?Ta=!0:ho=!0),Ku=ol,Ko=!0,Pl(),fo()}function fo(){var ol;switch(Ri=Ku[0]-wu[0],Li=Ku[1]-wu[1],en){case ad:case od:{Ye&&(Ri=Math.max(gr-Jn,Math.min(Tr-jn,Ri)),sr=Jn+Ri,vr=jn+Ri),Je&&(Li=Math.max(Kn-rn,Math.min(Qr-Kr,Li)),Hn=rn+Li,li=Kr+Li);break}case Qc:{Ye<0?(Ri=Math.max(gr-Jn,Math.min(Tr-Jn,Ri)),sr=Jn+Ri,vr=jn):Ye>0&&(Ri=Math.max(gr-jn,Math.min(Tr-jn,Ri)),sr=Jn,vr=jn+Ri),Je<0?(Li=Math.max(Kn-rn,Math.min(Qr-rn,Li)),Hn=rn+Li,li=Kr):Je>0&&(Li=Math.max(Kn-Kr,Math.min(Qr-Kr,Li)),Hn=rn,li=Kr+Li);break}case sd:{Ye&&(sr=Math.max(gr,Math.min(Tr,Jn-Ri*Ye)),vr=Math.max(gr,Math.min(Tr,jn+Ri*Ye))),Je&&(Hn=Math.max(Kn,Math.min(Qr,rn-Li*Je)),li=Math.max(Kn,Math.min(Qr,Kr+Li*Je)));break}}vr0&&(Jn=sr-Ri),Je<0?Kr=li-Li:Je>0&&(rn=Hn-Li),en=ad,Ki.attr("cursor",aa.selection),fo());break}default:return}Pl()}function Ah(){switch(br.keyCode){case 16:{Do&&(ho=Ta=Do=!1,fo());break}case 18:{en===sd&&(Ye<0?jn=vr:Ye>0&&(Jn=sr),Je<0?Kr=li:Je>0&&(rn=Hn),en=Qc,fo());break}case 32:{en===ad&&(br.altKey?(Ye&&(jn=vr-Ri*Ye,Jn=sr+Ri*Ye),Je&&(Kr=li-Li*Je,rn=Hn+Li*Je),en=sd):(Ye<0?jn=vr:Ye>0&&(Jn=sr),Je<0?Kr=li:Je>0&&(rn=Hn),en=Qc),Ki.attr("cursor",aa[Le]),fo());break}default:return}Pl()}}function me(){Gt(this,arguments).moved()}function Se(){Gt(this,arguments).ended()}function Ee(){var Pe=this.__brush||{selection:null};return Pe.extent=tu(a.apply(this,arguments)),Pe.dim=n,Pe}return It.extent=function(Pe){return arguments.length?(a=typeof Pe=="function"?Pe:Np(tu(Pe)),It):a},It.filter=function(Pe){return arguments.length?(M=typeof Pe=="function"?Pe:Np(!!Pe),It):M},It.touchable=function(Pe){return arguments.length?(V=typeof Pe=="function"?Pe:Np(!!Pe),It):V},It.handleSize=function(Pe){return arguments.length?(wt=+Pe,It):wt},It.keyModifiers=function(Pe){return arguments.length?(it=!!Pe,It):it},It.on=function(){var Pe=gt.on.apply(gt,arguments);return Pe===gt?It:Pe},It}var Zy=Math.cos,Rp=Math.sin,th=Math.PI,lc=th/2,Iu=th*2,eh=Math.max;function qa(n){return function(a,M){return n(a.source.value+a.target.value,M.source.value+M.target.value)}}function Ha(){var n=0,a=null,M=null,V=null;function it(gt){var wt=gt.length,Et=[],It=(0,o.y1)(wt),jt=[],Gt=[],Zt=Gt.groups=new Array(wt),qt=new Array(wt*wt),me,Se,Ee,Pe,Le,en;for(me=0,Le=-1;++Le$a)if(!(Math.abs(Gt*Et-It*jt)>$a)||!it)this._+="L"+(this._x1=n)+","+(this._y1=a);else{var qt=M-gt,me=V-wt,Se=Et*Et+It*It,Ee=qt*qt+me*me,Pe=Math.sqrt(Se),Le=Math.sqrt(Zt),en=it*Math.tan((Fu-Math.acos((Se+Zt-Ee)/(2*Pe*Le)))/2),Ye=en/Le,Je=en/Pe;Math.abs(Ye-1)>$a&&(this._+="L"+(n+Ye*jt)+","+(a+Ye*Gt)),this._+="A"+it+","+it+",0,0,"+ +(Gt*qt>jt*me)+","+(this._x1=n+Je*Et)+","+(this._y1=a+Je*It)}},arc:function(n,a,M,V,it,gt){n=+n,a=+a,M=+M,gt=!!gt;var wt=M*Math.cos(V),Et=M*Math.sin(V),It=n+wt,jt=a+Et,Gt=1^gt,Zt=gt?V-it:it-V;if(M<0)throw new Error("negative radius: "+M);this._x1===null?this._+="M"+It+","+jt:(Math.abs(this._x1-It)>$a||Math.abs(this._y1-jt)>$a)&&(this._+="L"+It+","+jt),M&&(Zt<0&&(Zt=Zt%bg+bg),Zt>Bu?this._+="A"+M+","+M+",0,1,"+Gt+","+(n-wt)+","+(a-Et)+"A"+M+","+M+",0,1,"+Gt+","+(this._x1=It)+","+(this._y1=jt):Zt>$a&&(this._+="A"+M+","+M+",0,"+ +(Zt>=Fu)+","+Gt+","+(this._x1=n+M*Math.cos(it))+","+(this._y1=a+M*Math.sin(it))))},rect:function(n,a,M,V){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+a)+"h"+ +M+"v"+ +V+"h"+-M+"Z"},toString:function(){return this._}};const hl=Vs;function Lp(n){return n.source}function Po(n){return n.target}function Nl(n){return n.radius}function Mo(n){return n.startAngle}function Ws(n){return n.endAngle}function uc(){var n=Lp,a=Po,M=Nl,V=Mo,it=Ws,gt=null;function wt(){var Et,It=xg.call(arguments),jt=n.apply(this,It),Gt=a.apply(this,It),Zt=+M.apply(this,(It[0]=jt,It)),qt=V.apply(this,It)-lc,me=it.apply(this,It)-lc,Se=Zt*Zy(qt),Ee=Zt*Rp(qt),Pe=+M.apply(this,(It[0]=Gt,It)),Le=V.apply(this,It)-lc,en=it.apply(this,It)-lc;if(gt||(gt=Et=hl()),gt.moveTo(Se,Ee),gt.arc(0,0,Zt,qt,me),(qt!==Le||me!==en)&&(gt.quadraticCurveTo(0,0,Pe*Zy(Le),Pe*Rp(Le)),gt.arc(0,0,Pe,Le,en)),gt.quadraticCurveTo(0,0,Se,Ee),gt.closePath(),Et)return gt=null,Et+""||null}return wt.radius=function(Et){return arguments.length?(M=typeof Et=="function"?Et:ud(+Et),wt):M},wt.startAngle=function(Et){return arguments.length?(V=typeof Et=="function"?Et:ud(+Et),wt):V},wt.endAngle=function(Et){return arguments.length?(it=typeof Et=="function"?Et:ud(+Et),wt):it},wt.source=function(Et){return arguments.length?(n=Et,wt):n},wt.target=function(Et){return arguments.length?(a=Et,wt):a},wt.context=function(Et){return arguments.length?(gt=Et==null?null:Et,wt):gt},wt}var Es="$";function Ys(){}Ys.prototype=cc.prototype={constructor:Ys,has:function(n){return Es+n in this},get:function(n){return this[Es+n]},set:function(n,a){return this[Es+n]=a,this},remove:function(n){var a=Es+n;return a in this&&delete this[a]},clear:function(){for(var n in this)n[0]===Es&&delete this[n]},keys:function(){var n=[];for(var a in this)a[0]===Es&&n.push(a.slice(1));return n},values:function(){var n=[];for(var a in this)a[0]===Es&&n.push(this[a]);return n},entries:function(){var n=[];for(var a in this)a[0]===Es&&n.push({key:a.slice(1),value:this[a]});return n},size:function(){var n=0;for(var a in this)a[0]===Es&&++n;return n},empty:function(){for(var n in this)if(n[0]===Es)return!1;return!0},each:function(n){for(var a in this)a[0]===Es&&n(this[a],a.slice(1),this)}};function cc(n,a){var M=new Ys;if(n instanceof Ys)n.each(function(Et,It){M.set(It,Et)});else if(Array.isArray(n)){var V=-1,it=n.length,gt;if(a==null)for(;++V=n.length)return M!=null&&Et.sort(M),V!=null?V(Et):Et;for(var Zt=-1,qt=Et.length,me=n[It++],Se,Ee,Pe=ss(),Le,en=jt();++Ztn.length)return Et;var jt,Gt=a[It-1];return V!=null&&It>=n.length?jt=Et.entries():(jt=[],Et.each(function(Zt,qt){jt.push({key:qt,values:wt(Zt,It)})})),Gt!=null?jt.sort(function(Zt,qt){return Gt(Zt.key,qt.key)}):jt}return it={object:function(Et){return gt(Et,0,nu,Gs)},map:function(Et){return gt(Et,0,nh,ls)},entries:function(Et){return wt(gt(Et,0,nh,ls),0)},key:function(Et){return n.push(Et),it},sortKeys:function(Et){return a[n.length-1]=Et,it},sortValues:function(Et){return M=Et,it},rollup:function(Et){return V=Et,it}}}function nu(){return{}}function Gs(n,a,M){n[a]=M}function nh(){return ss()}function ls(n,a,M){n.set(a,M)}function rf(){}var rh=ss.prototype;rf.prototype=hd.prototype={constructor:rf,has:rh.has,add:function(n){return n+="",this[Es+n]=n,this},remove:rh.remove,clear:rh.clear,values:rh.keys,size:rh.size,empty:rh.empty,each:rh.each};function hd(n,a){var M=new rf;if(n instanceof rf)n.each(function(gt){M.add(gt)});else if(n){var V=-1,it=n.length;if(a==null)for(;++Vpd?Math.pow(n,.3333333333333333):n/ah+of}function hc(n){return n>iu?n*n*n:ah*(n-of)}function fc(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,.4166666666666667)-.055)}function Bp(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function ka(n){if(n instanceof qs)return new qs(n.h,n.c,n.l,n.opacity);if(n instanceof _o||(n=ou(n)),n.a===0&&n.b===0)return new qs(NaN,0V!=me>V&&M<(qt-jt)*(V-Gt)/(me-Gt)+jt&&(it=-it)}return it}function gd(n,a,M){var V;return Qy(n,a,M)&&ra(n[V=+(n[0]===a[0])],M[V],a[V])}function Qy(n,a,M){return(a[0]-n[0])*(M[1]-n[1])===(M[0]-n[0])*(a[1]-n[1])}function ra(n,a,M){return n<=a&&a<=M||M<=a&&a<=n}function Jy(){}var Rl=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function tv(){var n=1,a=1,M=o.zr,V=It;function it(jt){var Gt=M(jt);if(Array.isArray(Gt))Gt=Gt.slice().sort(Eg);else{var Zt=(0,o.Xx)(jt),qt=Zt[0],me=Zt[1];Gt=(0,o.sG)(qt,me,Gt),Gt=(0,o.y1)(Math.floor(qt/Gt)*Gt,Math.floor(me/Gt)*Gt,Gt)}return Gt.map(function(Se){return gt(jt,Se)})}function gt(jt,Gt){var Zt=[],qt=[];return wt(jt,Gt,function(me){V(me,jt,Gt),Hu(me)>0?Zt.push([me]):qt.push(me)}),qt.forEach(function(me){for(var Se=0,Ee=Zt.length,Pe;Se=Gt,Rl[Le<<1].forEach(Je);++Se=Gt,Rl[Pe|Le<<1].forEach(Je);for(Rl[Le<<0].forEach(Je);++Ee=Gt,en=jt[Ee*n]>=Gt,Rl[Le<<1|en<<2].forEach(Je);++Se=Gt,Ye=en,en=jt[Ee*n+Se+1]>=Gt,Rl[Pe|Le<<1|en<<2|Ye<<3].forEach(Je);Rl[Le|en<<3].forEach(Je)}for(Se=-1,en=jt[Ee*n]>=Gt,Rl[en<<2].forEach(Je);++Se=Gt,Rl[en<<2|Ye<<3].forEach(Je);Rl[en<<3].forEach(Je);function Je(kn){var zn=[kn[0][0]+Se,kn[0][1]+Ee],Ln=[kn[1][0]+Se,kn[1][1]+Ee],gr=Et(zn),Jn=Et(Ln),sr,Kn;(sr=me[gr])?(Kn=qt[Jn])?(delete me[sr.end],delete qt[Kn.start],sr===Kn?(sr.ring.push(Ln),Zt(sr.ring)):qt[sr.start]=me[Kn.end]={start:sr.start,end:Kn.end,ring:sr.ring.concat(Kn.ring)}):(delete me[sr.end],sr.ring.push(Ln),me[sr.end=Jn]=sr):(sr=qt[Jn])?(Kn=me[gr])?(delete qt[sr.start],delete me[Kn.end],sr===Kn?(sr.ring.push(Ln),Zt(sr.ring)):qt[Kn.start]=me[sr.end]={start:Kn.start,end:sr.end,ring:Kn.ring.concat(sr.ring)}):(delete qt[sr.start],sr.ring.unshift(zn),qt[sr.start=gr]=sr):qt[gr]=me[Jn]={start:gr,end:Jn,ring:[zn,Ln]}}}function Et(jt){return jt[0]*2+jt[1]*(n+1)*4}function It(jt,Gt,Zt){jt.forEach(function(qt){var me=qt[0],Se=qt[1],Ee=me|0,Pe=Se|0,Le,en=Gt[Pe*n+Ee];me>0&&me0&&Se0)||!(Zt>0))throw new Error("invalid size");return n=Gt,a=Zt,it},it.thresholds=function(jt){return arguments.length?(M=typeof jt=="function"?jt:Array.isArray(jt)?Ks(uh.call(jt)):Ks(jt),it):M},it.smooth=function(jt){return arguments.length?(V=jt?It:Jy,it):V===It},it}function yd(n,a,M){for(var V=n.width,it=n.height,gt=(M<<1)+1,wt=0;wt=M&&(Et>=gt&&(It-=n.data[Et-gt+wt*V]),a.data[Et-M+wt*V]=It/Math.min(Et+1,V-1+gt-Et,gt))}function mc(n,a,M){for(var V=n.width,it=n.height,gt=(M<<1)+1,wt=0;wt=M&&(Et>=gt&&(It-=n.data[wt+(Et-gt)*V]),a.data[wt+(Et-M)*V]=It/Math.min(Et+1,it-1+gt-Et,gt))}function Tg(n){return n[0]}function sf(n){return n[1]}function ev(){return 1}function Ll(){var n=Tg,a=sf,M=ev,V=960,it=500,gt=20,wt=2,Et=gt*3,It=V+Et*2>>wt,jt=it+Et*2>>wt,Gt=Ks(20);function Zt(Le){var en=new Float32Array(It*jt),Ye=new Float32Array(It*jt);Le.forEach(function(zn,Ln,gr){var Jn=+n(zn,Ln,gr)+Et>>wt,sr=+a(zn,Ln,gr)+Et>>wt,Kn=+M(zn,Ln,gr);Jn>=0&&Jn=0&&sr>wt),mc({width:It,height:jt,data:Ye},{width:It,height:jt,data:en},gt>>wt),yd({width:It,height:jt,data:en},{width:It,height:jt,data:Ye},gt>>wt),mc({width:It,height:jt,data:Ye},{width:It,height:jt,data:en},gt>>wt),yd({width:It,height:jt,data:en},{width:It,height:jt,data:Ye},gt>>wt),mc({width:It,height:jt,data:Ye},{width:It,height:jt,data:en},gt>>wt);var Je=Gt(en);if(!Array.isArray(Je)){var kn=(0,o.T9)(en);Je=(0,o.sG)(0,kn,Je),Je=(0,o.y1)(0,Math.floor(kn/Je)*Je,Je),Je.shift()}return tv().thresholds(Je).size([It,jt])(en).map(qt)}function qt(Le){return Le.value*=Math.pow(2,-2*wt),Le.coordinates.forEach(me),Le}function me(Le){Le.forEach(Se)}function Se(Le){Le.forEach(Ee)}function Ee(Le){Le[0]=Le[0]*Math.pow(2,wt)-Et,Le[1]=Le[1]*Math.pow(2,wt)-Et}function Pe(){return Et=gt*3,It=V+Et*2>>wt,jt=it+Et*2>>wt,Zt}return Zt.x=function(Le){return arguments.length?(n=typeof Le=="function"?Le:Ks(+Le),Zt):n},Zt.y=function(Le){return arguments.length?(a=typeof Le=="function"?Le:Ks(+Le),Zt):a},Zt.weight=function(Le){return arguments.length?(M=typeof Le=="function"?Le:Ks(+Le),Zt):M},Zt.size=function(Le){if(!arguments.length)return[V,it];var en=Math.ceil(Le[0]),Ye=Math.ceil(Le[1]);if(!(en>=0)&&!(en>=0))throw new Error("invalid size");return V=en,it=Ye,Pe()},Zt.cellSize=function(Le){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return wt=Math.floor(Math.log(Le)/Math.LN2),Pe()},Zt.thresholds=function(Le){return arguments.length?(Gt=typeof Le=="function"?Le:Array.isArray(Le)?Ks(uh.call(Le)):Ks(Le),Zt):Gt},Zt.bandwidth=function(Le){if(!arguments.length)return Math.sqrt(gt*(gt+1));if(!((Le=+Le)>=0))throw new Error("invalid bandwidth");return gt=Math.round((Math.sqrt(4*Le*Le+1)-1)/2),Pe()},Zt}function lf(n){return function(){return n}}function Uu(n,a,M,V,it,gt,wt,Et,It,jt){this.target=n,this.type=a,this.subject=M,this.identifier=V,this.active=it,this.x=gt,this.y=wt,this.dx=Et,this.dy=It,this._=jt}Uu.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};function Up(){return!br.ctrlKey&&!br.button}function Mg(){return this.parentNode}function px(n){return n==null?{x:br.x,y:br.y}:n}function kg(){return navigator.maxTouchPoints||"ontouchstart"in this}function Gw(){var n=Up,a=Mg,M=px,V=kg,it={},gt=F("start","drag","end"),wt=0,Et,It,jt,Gt,Zt=0;function qt(Je){Je.on("mousedown.drag",me).filter(V).on("touchstart.drag",Pe).on("touchmove.drag",Le).on("touchend.drag touchcancel.drag",en).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function me(){if(!(Gt||!n.apply(this,arguments))){var Je=Ye("mouse",a.apply(this,arguments),Sr,this,arguments);Je&&(qe(br.view).on("mousemove.drag",Se,!0).on("mouseup.drag",Ee,!0),Gn(br.view),wn(),jt=!1,Et=br.clientX,It=br.clientY,Je("start"))}}function Se(){if(Pn(),!jt){var Je=br.clientX-Et,kn=br.clientY-It;jt=Je*Je+kn*kn>Zt}it.mouse("drag")}function Ee(){qe(br.view).on("mousemove.drag mouseup.drag",null),hr(br.view,jt),Pn(),it.mouse("end")}function Pe(){if(n.apply(this,arguments)){var Je=br.changedTouches,kn=a.apply(this,arguments),zn=Je.length,Ln,gr;for(Ln=0;Ln9999?"+"+Ka(n,6):Ka(n,4)}function mx(n){var a=n.getUTCHours(),M=n.getUTCMinutes(),V=n.getUTCSeconds(),it=n.getUTCMilliseconds();return isNaN(n)?"Invalid Date":Pg(n.getUTCFullYear(),4)+"-"+Ka(n.getUTCMonth()+1,2)+"-"+Ka(n.getUTCDate(),2)+(it?"T"+Ka(a,2)+":"+Ka(M,2)+":"+Ka(V,2)+"."+Ka(it,3)+"Z":V?"T"+Ka(a,2)+":"+Ka(M,2)+":"+Ka(V,2)+"Z":M||a?"T"+Ka(a,2)+":"+Ka(M,2)+"Z":"")}function hf(n){var a=new RegExp('["'+n+` -\r]`),M=n.charCodeAt(0);function V(Zt,qt){var me,Se,Ee=it(Zt,function(Pe,Le){if(me)return me(Pe,Le-1);Se=Pe,me=qt?Ag(Pe,qt):nv(Pe)});return Ee.columns=Se||[],Ee}function it(Zt,qt){var me=[],Se=Zt.length,Ee=0,Pe=0,Le,en=Se<=0,Ye=!1;Zt.charCodeAt(Se-1)===sa&&--Se,Zt.charCodeAt(Se-1)===Vu&&--Se;function Je(){if(en)return uf;if(Ye)return Ye=!1,Zs;var zn,Ln=Ee,gr;if(Zt.charCodeAt(Ln)===ch){for(;Ee++=Se?en=!0:(gr=Zt.charCodeAt(Ee++))===sa?Ye=!0:gr===Vu&&(Ye=!0,Zt.charCodeAt(Ee)===sa&&++Ee),Zt.slice(Ln+1,zn-1).replace(/""/g,'"')}for(;Ee=(Zt=(Et+jt)/2))?Et=Zt:jt=Zt,(Pe=M>=(qt=(It+Gt)/2))?It=qt:Gt=qt,it=gt,!(gt=gt[Le=Pe<<1|Ee]))return it[Le]=wt,n;if(me=+n._x.call(null,gt.data),Se=+n._y.call(null,gt.data),a===me&&M===Se)return wt.next=gt,it?it[Le]=wt:n._root=wt,n;do it=it?it[Le]=new Array(4):n._root=new Array(4),(Ee=a>=(Zt=(Et+jt)/2))?Et=Zt:jt=Zt,(Pe=M>=(qt=(It+Gt)/2))?It=qt:Gt=qt;while((Le=Pe<<1|Ee)===(en=(Se>=qt)<<1|me>=Zt));return it[en]=gt,it[Le]=wt,n}function gv(n){var a,M,V=n.length,it,gt,wt=new Array(V),Et=new Array(V),It=1/0,jt=1/0,Gt=-1/0,Zt=-1/0;for(M=0;MGt&&(Gt=it),gtZt&&(Zt=gt));if(It>Gt||jt>Zt)return this;for(this.cover(It,jt).cover(Gt,Zt),M=0;Mn||n>=it||V>a||a>=gt;)switch(jt=(aGt||(Et=Se.y0)>Zt||(It=Se.x1)=Le)<<1|n>=Pe)&&(Se=qt[qt.length-1],qt[qt.length-1]=qt[qt.length-1-Ee],qt[qt.length-1-Ee]=Se)}else{var en=n-+this._x.call(null,me.data),Ye=a-+this._y.call(null,me.data),Je=en*en+Ye*Ye;if(Je=(qt=(wt+It)/2))?wt=qt:It=qt,(Ee=Zt>=(me=(Et+jt)/2))?Et=me:jt=me,a=M,!(M=M[Pe=Ee<<1|Se]))return this;if(!M.length)break;(a[Pe+1&3]||a[Pe+2&3]||a[Pe+3&3])&&(V=a,Le=Pe)}for(;M.data!==n;)if(it=M,!(M=M.next))return this;return(gt=M.next)&&delete M.next,it?(gt?it.next=gt:delete it.next,this):a?(gt?a[Pe]=gt:delete a[Pe],(M=a[0]||a[1]||a[2]||a[3])&&M===(a[3]||a[2]||a[1]||a[0])&&!M.length&&(V?V[Le]=M:this._root=M),this):(this._root=gt,this)}function lu(n){for(var a=0,M=n.length;aZt.index){var sr=qt-Ln.x-Ln.vx,Kn=me-Ln.y-Ln.vy,rn=sr*sr+Kn*Kn;rnqt+Jn||knme+Jn||znIt.r&&(It.r=It[jt].r)}function Et(){if(a){var It,jt=a.length,Gt;for(M=new Array(jt),It=0;It1?(Ee==null?Et.remove(Se):Et.set(Se,me(Ee)),a):Et.get(Se)},find:function(Se,Ee,Pe){var Le=0,en=n.length,Ye,Je,kn,zn,Ln;for(Pe==null?Pe=1/0:Pe*=Pe,Le=0;Le1?(jt.on(Se,Ee),a):jt.on(Se)}}}function $o(){var n,a,M,V=Qo(-30),it,gt=1,wt=1/0,Et=.81;function It(qt){var me,Se=n.length,Ee=Pa(n,_c,tm).visitAfter(Gt);for(M=qt,me=0;me=wt)return;(qt.data!==a||qt.next)&&(Pe===0&&(Pe=ml(),Ye+=Pe*Pe),Le===0&&(Le=ml(),Ye+=Le*Le),Ye=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function fi(n,a){if((M=(n=a?n.toExponential(a-1):n.toExponential()).indexOf("e"))<0)return null;var M,V=n.slice(0,M);return[V.length>1?V[0]+V.slice(2):V,+n.slice(M+1)]}function En(n){return n=fi(Math.abs(n)),n?n[1]:NaN}function em(n,a){return function(M,V){for(var it=M.length,gt=[],wt=0,Et=n[0],It=0;it>0&&Et>0&&(It+Et+1>V&&(Et=Math.max(1,V-It)),gt.push(M.substring(it-=Et,it+Et)),!((It+=Et+1)>V));)Et=n[wt=(wt+1)%n.length];return gt.reverse().join(a)}}function No(n){return function(a){return a.replace(/[0-9]/g,function(M){return n[+M]})}}var jl=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function xf(n){if(!(a=jl.exec(n)))throw new Error("invalid format: "+n);var a;return new nm({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}xf.prototype=nm.prototype;function nm(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}nm.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function wx(n){t:for(var a=n.length,M=1,V=-1,it;M0&&(V=0);break}return V>0?n.slice(0,V)+n.slice(it+1):n}var rm;function wc(n,a){var M=fi(n,a);if(!M)return n+"";var V=M[0],it=M[1],gt=it-(rm=Math.max(-8,Math.min(8,Math.floor(it/3)))*3)+1,wt=V.length;return gt===wt?V:gt>wt?V+new Array(gt-wt+1).join("0"):gt>0?V.slice(0,gt)+"."+V.slice(gt):"0."+new Array(1-gt).join("0")+fi(n,Math.max(0,a+gt-1))[0]}function Ec(n,a){var M=fi(n,a);if(!M)return n+"";var V=M[0],it=M[1];return it<0?"0."+new Array(-it).join("0")+V:V.length>it+1?V.slice(0,it+1)+"."+V.slice(it+1):V+new Array(it-V.length+2).join("0")}const Js={"%":function(n,a){return(n*100).toFixed(a)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:vf,e:function(n,a){return n.toExponential(a)},f:function(n,a){return n.toFixed(a)},g:function(n,a){return n.toPrecision(a)},o:function(n){return Math.round(n).toString(8)},p:function(n,a){return Ec(n*100,a)},r:Ec,s:wc,X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}};function Pd(n){return n}var Sc=Array.prototype.map,Yu=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function bf(n){var a=n.grouping===void 0||n.thousands===void 0?Pd:em(Sc.call(n.grouping,Number),n.thousands+""),M=n.currency===void 0?"":n.currency[0]+"",V=n.currency===void 0?"":n.currency[1]+"",it=n.decimal===void 0?".":n.decimal+"",gt=n.numerals===void 0?Pd:No(Sc.call(n.numerals,String)),wt=n.percent===void 0?"%":n.percent+"",Et=n.minus===void 0?"-":n.minus+"",It=n.nan===void 0?"NaN":n.nan+"";function jt(Zt){Zt=xf(Zt);var qt=Zt.fill,me=Zt.align,Se=Zt.sign,Ee=Zt.symbol,Pe=Zt.zero,Le=Zt.width,en=Zt.comma,Ye=Zt.precision,Je=Zt.trim,kn=Zt.type;kn==="n"?(en=!0,kn="g"):Js[kn]||(Ye===void 0&&(Ye=12),Je=!0,kn="g"),(Pe||qt==="0"&&me==="=")&&(Pe=!0,qt="0",me="=");var zn=Ee==="$"?M:Ee==="#"&&/[boxX]/.test(kn)?"0"+kn.toLowerCase():"",Ln=Ee==="$"?V:/[%p]/.test(kn)?wt:"",gr=Js[kn],Jn=/[defgprs%]/.test(kn);Ye=Ye===void 0?6:/[gprs]/.test(kn)?Math.max(1,Math.min(21,Ye)):Math.max(0,Math.min(20,Ye));function sr(Kn){var rn=zn,Hn=Ln,Tr,jn,vr;if(kn==="c")Hn=gr(Kn)+Hn,Kn="";else{Kn=+Kn;var Qr=Kn<0||1/Kn<0;if(Kn=isNaN(Kn)?It:gr(Math.abs(Kn),Ye),Je&&(Kn=wx(Kn)),Qr&&+Kn==0&&Se!=="+"&&(Qr=!1),rn=(Qr?Se==="("?Se:Et:Se==="-"||Se==="("?"":Se)+rn,Hn=(kn==="s"?Yu[8+rm/3]:"")+Hn+(Qr&&Se==="("?")":""),Jn){for(Tr=-1,jn=Kn.length;++Trvr||vr>57){Hn=(vr===46?it+Kn.slice(Tr+1):Kn.slice(Tr))+Hn,Kn=Kn.slice(0,Tr);break}}}en&&!Pe&&(Kn=a(Kn,1/0));var Kr=rn.length+Kn.length+Hn.length,li=Kr>1)+rn+Kn+Hn+li.slice(Kr);break;default:Kn=li+rn+Kn+Hn;break}return gt(Kn)}return sr.toString=function(){return Zt+""},sr}function Gt(Zt,qt){var me=jt((Zt=xf(Zt),Zt.type="f",Zt)),Se=Math.max(-8,Math.min(8,Math.floor(En(qt)/3)))*3,Ee=Math.pow(10,-Se),Pe=Yu[8+Se/3];return function(Le){return me(Ee*Le)+Pe}}return{format:jt,formatPrefix:Gt}}var ya,gh,Od;im({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function im(n){return ya=bf(n),gh=ya.format,Od=ya.formatPrefix,ya}function wv(n){return Math.max(0,-En(Math.abs(n)))}function Nd(n,a){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(En(a)/3)))*3-En(Math.abs(n)))}function Ev(n,a){return n=Math.abs(n),a=Math.abs(a)-n,Math.max(0,En(a)-En(n))+1}function Gu(){return new _f}function _f(){this.reset()}_f.prototype={constructor:_f,reset:function(){this.s=this.t=0},add:function(n){tl(Xu,n,this.t),tl(this,Xu.s,this.s),this.s?this.t+=Xu.t:this.s=Xu.t},valueOf:function(){return this.s}};var Xu=new _f;function tl(n,a,M){var V=n.s=a+M,it=V-a,gt=V-it;n.t=a-gt+(M-it)}var di=1e-6,Cc=1e-12,Yi=Math.PI,Br=Yi/2,Tc=Yi/4,Ea=Yi*2,go=180/Yi,hi=Yi/180,Di=Math.abs,wf=Math.atan,Oa=Math.atan2,si=Math.cos,Mc=Math.ceil,Xg=Math.exp,qg=Math.floor,f=Math.log,O=Math.pow,ot=Math.sin,kt=Math.sign||function(n){return n>0?1:n<0?-1:0},Vt=Math.sqrt,ee=Math.tan;function Oe(n){return n>1?0:n<-1?Yi:Math.acos(n)}function ln(n){return n>1?Br:n<-1?-Br:Math.asin(n)}function Sn(n){return(n=ot(n/2))*n}function Fn(){}function _r(n,a){n&&wr.hasOwnProperty(n.type)&&wr[n.type](n,a)}var Pr={Feature:function(n,a){_r(n.geometry,a)},FeatureCollection:function(n,a){for(var M=n.features,V=-1,it=M.length;++V=0?1:-1,it=V*M,gt=si(a),wt=ot(a),Et=pi*wt,It=ti*gt+Et*si(it),jt=Et*V*ot(it);Io.add(Oa(jt,It)),Nr=n,ti=gt,pi=wt}function $g(n){return Bn.reset(),Yr(n,ri),Bn*2}function om(n){return[Oa(n[1],n[0]),ln(n[2])]}function yh(n){var a=n[0],M=n[1],V=si(M);return[V*si(a),V*ot(a),ot(M)]}function Kg(n,a){return n[0]*a[0]+n[1]*a[1]+n[2]*a[2]}function Dd(n,a){return[n[1]*a[2]-n[2]*a[1],n[2]*a[0]-n[0]*a[2],n[0]*a[1]-n[1]*a[0]]}function am(n,a){n[0]+=a[0],n[1]+=a[1],n[2]+=a[2]}function Zg(n,a){return[n[0]*a,n[1]*a,n[2]*a]}function Rd(n){var a=Vt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=a,n[1]/=a,n[2]/=a}var ia,Ga,la,gl,Ef,Ex,Sx,Sf,sm=Gu(),vh,kc,Ac={point:Sv,lineStart:Tx,lineEnd:Mx,polygonStart:function(){Ac.point=kx,Ac.lineStart=Kw,Ac.lineEnd=Zw,sm.reset(),ri.polygonStart()},polygonEnd:function(){ri.polygonEnd(),Ac.point=Sv,Ac.lineStart=Tx,Ac.lineEnd=Mx,Io<0?(ia=-(la=180),Ga=-(gl=90)):sm>di?gl=90:sm<-di&&(Ga=-90),kc[0]=ia,kc[1]=la},sphere:function(){ia=-(la=180),Ga=-(gl=90)}};function Sv(n,a){vh.push(kc=[ia=n,la=n]),agl&&(gl=a)}function Cx(n,a){var M=yh([n*hi,a*hi]);if(Sf){var V=Dd(Sf,M),it=[V[1],-V[0],0],gt=Dd(it,V);Rd(gt),gt=om(gt);var wt=n-Ef,Et=wt>0?1:-1,It=gt[0]*go*Et,jt,Gt=Di(wt)>180;Gt^(Et*Efgl&&(gl=jt)):(It=(It+360)%360-180,Gt^(Et*Efgl&&(gl=a))),Gt?nyl(ia,la)&&(la=n):yl(n,la)>yl(ia,la)&&(ia=n):la>=ia?(nla&&(la=n)):n>Ef?yl(ia,n)>yl(ia,la)&&(la=n):yl(n,la)>yl(ia,la)&&(ia=n)}else vh.push(kc=[ia=n,la=n]);agl&&(gl=a),Sf=M,Ef=n}function Tx(){Ac.point=Cx}function Mx(){kc[0]=ia,kc[1]=la,Ac.point=Sv,Sf=null}function kx(n,a){if(Sf){var M=n-Ef;sm.add(Di(M)>180?M+(M>0?360:-360):M)}else Ex=n,Sx=a;ri.point(n,a),Cx(n,a)}function Kw(){ri.lineStart()}function Zw(){kx(Ex,Sx),ri.lineEnd(),Di(sm)>di&&(ia=-(la=180)),kc[0]=ia,kc[1]=la,Sf=null}function yl(n,a){return(a-=n)<0?a+360:a}function Qw(n,a){return n[0]-a[0]}function Ax(n,a){return n[0]<=n[1]?n[0]<=a&&a<=n[1]:ayl(V[0],V[1])&&(V[1]=it[1]),yl(it[0],V[1])>yl(V[0],V[1])&&(V[0]=it[0])):gt.push(V=it);for(wt=-1/0,M=gt.length-1,a=0,V=gt[M];a<=M;V=it,++a)it=gt[a],(Et=yl(V[1],it[0]))>wt&&(wt=Et,ia=it[0],la=V[1])}return vh=kc=null,ia===1/0||Ga===1/0?[[NaN,NaN],[NaN,NaN]]:[[ia,Ga],[la,gl]]}var Pc,Qg,Jg,t0,e0,n0,r0,i0,Cv,Tv,Mv,Px,Ox,Ts,Ms,ks,zl={sphere:Fn,point:kv,lineStart:Nx,lineEnd:t2,polygonStart:function(){zl.lineStart=rM,zl.lineEnd=Rx},polygonEnd:function(){zl.lineStart=Nx,zl.lineEnd=t2}};function kv(n,a){n*=hi,a*=hi;var M=si(a);lm(M*si(n),M*ot(n),ot(a))}function lm(n,a,M){++Pc,Jg+=(n-Jg)/Pc,t0+=(a-t0)/Pc,e0+=(M-e0)/Pc}function Nx(){zl.point=Dx}function Dx(n,a){n*=hi,a*=hi;var M=si(a);Ts=M*si(n),Ms=M*ot(n),ks=ot(a),zl.point=nM,lm(Ts,Ms,ks)}function nM(n,a){n*=hi,a*=hi;var M=si(a),V=M*si(n),it=M*ot(n),gt=ot(a),wt=Oa(Vt((wt=Ms*gt-ks*it)*wt+(wt=ks*V-Ts*gt)*wt+(wt=Ts*it-Ms*V)*wt),Ts*V+Ms*it+ks*gt);Qg+=wt,n0+=wt*(Ts+(Ts=V)),r0+=wt*(Ms+(Ms=it)),i0+=wt*(ks+(ks=gt)),lm(Ts,Ms,ks)}function t2(){zl.point=kv}function rM(){zl.point=f5}function Rx(){Lx(Px,Ox),zl.point=kv}function f5(n,a){Px=n,Ox=a,n*=hi,a*=hi,zl.point=Lx;var M=si(a);Ts=M*si(n),Ms=M*ot(n),ks=ot(a),lm(Ts,Ms,ks)}function Lx(n,a){n*=hi,a*=hi;var M=si(a),V=M*si(n),it=M*ot(n),gt=ot(a),wt=Ms*gt-ks*it,Et=ks*V-Ts*gt,It=Ts*it-Ms*V,jt=Vt(wt*wt+Et*Et+It*It),Gt=ln(jt),Zt=jt&&-Gt/jt;Cv+=Zt*wt,Tv+=Zt*Et,Mv+=Zt*It,Qg+=Gt,n0+=Gt*(Ts+(Ts=V)),r0+=Gt*(Ms+(Ms=it)),i0+=Gt*(ks+(ks=gt)),lm(Ts,Ms,ks)}function iM(n){Pc=Qg=Jg=t0=e0=n0=r0=i0=Cv=Tv=Mv=0,Yr(n,zl);var a=Cv,M=Tv,V=Mv,it=a*a+M*M+V*V;return itYi?n+Math.round(-n/Ea)*Ea:n,a]}Ix.invert=Ix;function Fx(n,a,M){return(n%=Ea)?a||M?o0(Ca(n),Oc(a,M)):Ca(n):a||M?Oc(a,M):Ix}function Bx(n){return function(a,M){return a+=n,[a>Yi?a-Ea:a<-Yi?a+Ea:a,M]}}function Ca(n){var a=Bx(n);return a.invert=Bx(-n),a}function Oc(n,a){var M=si(n),V=ot(n),it=si(a),gt=ot(a);function wt(Et,It){var jt=si(It),Gt=si(Et)*jt,Zt=ot(Et)*jt,qt=ot(It),me=qt*M+Gt*V;return[Oa(Zt*it-me*gt,Gt*M-qt*V),ln(me*it+Zt*gt)]}return wt.invert=function(Et,It){var jt=si(It),Gt=si(Et)*jt,Zt=ot(Et)*jt,qt=ot(It),me=qt*it-Zt*gt;return[Oa(Zt*it+qt*gt,Gt*M+me*V),ln(me*M-Gt*V)]},wt}function jx(n){n=Fx(n[0]*hi,n[1]*hi,n.length>2?n[2]*hi:0);function a(M){return M=n(M[0]*hi,M[1]*hi),M[0]*=go,M[1]*=go,M}return a.invert=function(M){return M=n.invert(M[0]*hi,M[1]*hi),M[0]*=go,M[1]*=go,M},a}function zx(n,a,M,V,it,gt){if(M){var wt=si(a),Et=ot(a),It=V*M;it==null?(it=a+V*Ea,gt=a-It/2):(it=e2(wt,it),gt=e2(wt,gt),(V>0?itgt)&&(it+=V*Ea));for(var jt,Gt=it;V>0?Gt>gt:Gt1&&n.push(n.pop().concat(n.shift()))},result:function(){var M=n;return n=[],a=null,M}}}function cm(n,a){return Di(n[0]-a[0])=0;--Et)it.point((Zt=Gt[Et])[0],Zt[1]);else V(qt.x,qt.p.x,-1,it);qt=qt.p}qt=qt.o,Gt=qt.z,me=!me}while(!qt.v);it.lineEnd()}}}function Ux(n){if(a=n.length){for(var a,M=0,V=n[0],it;++M=0?1:-1,Jn=gr*Ln,sr=Jn>Yi,Kn=Ee*kn;if(Pv.add(Oa(Kn*gr*ot(Jn),Pe*zn+Kn*si(Jn))),wt+=sr?Ln+gr*Ea:Ln,sr^me>=M^Ye>=M){var rn=Dd(yh(qt),yh(en));Rd(rn);var Hn=Dd(gt,rn);Rd(Hn);var Tr=(sr^Ln>=0?-1:1)*ln(Hn[2]);(V>Tr||V===Tr&&(rn[0]||rn[1]))&&(Et+=sr^Ln>=0?1:-1)}}return(wt<-di||wt0){for(It||(it.polygonStart(),It=!0),it.lineStart(),zn=0;zn1&&Je&2&&kn.push(kn.pop().concat(kn.shift())),Gt.push(kn.filter(r2))}}return qt}}function r2(n){return n.length>1}function i2(n,a){return((n=n.x)[0]<0?n[1]-Br-di:Br-n[1])-((a=a.x)[0]<0?a[1]-Br-di:Br-a[1])}const Nv=Wx(function(){return!0},o2,s2,[-Yi,-Br]);function o2(n){var a=NaN,M=NaN,V=NaN,it;return{lineStart:function(){n.lineStart(),it=1},point:function(gt,wt){var Et=gt>0?Yi:-Yi,It=Di(gt-a);Di(It-Yi)0?Br:-Br),n.point(V,M),n.lineEnd(),n.lineStart(),n.point(Et,M),n.point(gt,M),it=0):V!==Et&&It>=Yi&&(Di(a-V)di?wf((ot(a)*(gt=si(V))*ot(M)-ot(V)*(it=si(a))*ot(n))/(it*gt*wt)):(a+V)/2}function s2(n,a,M,V){var it;if(n==null)it=M*Br,V.point(-Yi,it),V.point(0,it),V.point(Yi,it),V.point(Yi,0),V.point(Yi,-it),V.point(0,-it),V.point(-Yi,-it),V.point(-Yi,0),V.point(-Yi,it);else if(Di(n[0]-a[0])>di){var gt=n[0]0,it=Di(a)>di;function gt(Gt,Zt,qt,me){zx(me,n,M,qt,Gt,Zt)}function wt(Gt,Zt){return si(Gt)*si(Zt)>a}function Et(Gt){var Zt,qt,me,Se,Ee;return{lineStart:function(){Se=me=!1,Ee=1},point:function(Pe,Le){var en=[Pe,Le],Ye,Je=wt(Pe,Le),kn=V?Je?0:jt(Pe,Le):Je?jt(Pe+(Pe<0?Yi:-Yi),Le):0;if(!Zt&&(Se=me=Je)&&Gt.lineStart(),Je!==me&&(Ye=It(Zt,en),(!Ye||cm(Zt,Ye)||cm(en,Ye))&&(en[2]=1)),Je!==me)Ee=0,Je?(Gt.lineStart(),Ye=It(en,Zt),Gt.point(Ye[0],Ye[1])):(Ye=It(Zt,en),Gt.point(Ye[0],Ye[1],2),Gt.lineEnd()),Zt=Ye;else if(it&&Zt&&V^Je){var zn;!(kn&qt)&&(zn=It(en,Zt,!0))&&(Ee=0,V?(Gt.lineStart(),Gt.point(zn[0][0],zn[0][1]),Gt.point(zn[1][0],zn[1][1]),Gt.lineEnd()):(Gt.point(zn[1][0],zn[1][1]),Gt.lineEnd(),Gt.lineStart(),Gt.point(zn[0][0],zn[0][1],3)))}Je&&(!Zt||!cm(Zt,en))&&Gt.point(en[0],en[1]),Zt=en,me=Je,qt=kn},lineEnd:function(){me&&Gt.lineEnd(),Zt=null},clean:function(){return Ee|(Se&&me)<<1}}}function It(Gt,Zt,qt){var me=yh(Gt),Se=yh(Zt),Ee=[1,0,0],Pe=Dd(me,Se),Le=Kg(Pe,Pe),en=Pe[0],Ye=Le-en*en;if(!Ye)return!qt&≫var Je=a*Le/Ye,kn=-a*en/Ye,zn=Dd(Ee,Pe),Ln=Zg(Ee,Je),gr=Zg(Pe,kn);am(Ln,gr);var Jn=zn,sr=Kg(Ln,Jn),Kn=Kg(Jn,Jn),rn=sr*sr-Kn*(Kg(Ln,Ln)-1);if(!(rn<0)){var Hn=Vt(rn),Tr=Zg(Jn,(-sr-Hn)/Kn);if(am(Tr,Ln),Tr=om(Tr),!qt)return Tr;var jn=Gt[0],vr=Zt[0],Qr=Gt[1],Kr=Zt[1],li;vr0^Tr[1]<(Di(Tr[0]-jn)Yi^(jn<=Tr[0]&&Tr[0]<=vr)){var Do=Zg(Jn,(-sr+Hn)/Kn);return am(Do,Ln),[Tr,om(Do)]}}}function jt(Gt,Zt){var qt=V?n:Yi-n,me=0;return Gt<-qt?me|=1:Gt>qt&&(me|=2),Zt<-qt?me|=4:Zt>qt&&(me|=8),me}return Wx(wt,Et,gt,V?[0,-n]:[-Yi,n-Yi])}function l2(n,a,M,V,it,gt){var wt=n[0],Et=n[1],It=a[0],jt=a[1],Gt=0,Zt=1,qt=It-wt,me=jt-Et,Se;if(Se=M-wt,!(!qt&&Se>0)){if(Se/=qt,qt<0){if(Se0){if(Se>Zt)return;Se>Gt&&(Gt=Se)}if(Se=it-wt,!(!qt&&Se<0)){if(Se/=qt,qt<0){if(Se>Zt)return;Se>Gt&&(Gt=Se)}else if(qt>0){if(Se0)){if(Se/=me,me<0){if(Se0){if(Se>Zt)return;Se>Gt&&(Gt=Se)}if(Se=gt-Et,!(!me&&Se<0)){if(Se/=me,me<0){if(Se>Zt)return;Se>Gt&&(Gt=Se)}else if(me>0){if(Se0&&(n[0]=wt+Gt*qt,n[1]=Et+Gt*me),Zt<1&&(a[0]=wt+Zt*qt,a[1]=Et+Zt*me),!0}}}}}var hm=1e9,s0=-hm;function l0(n,a,M,V){function it(jt,Gt){return n<=jt&&jt<=M&&a<=Gt&&Gt<=V}function gt(jt,Gt,Zt,qt){var me=0,Se=0;if(jt==null||(me=wt(jt,Zt))!==(Se=wt(Gt,Zt))||It(jt,Gt)<0^Zt>0)do qt.point(me===0||me===3?n:M,me>1?V:a);while((me=(me+Zt+4)%4)!==Se);else qt.point(Gt[0],Gt[1])}function wt(jt,Gt){return Di(jt[0]-n)0?0:3:Di(jt[0]-M)0?2:1:Di(jt[1]-a)0?1:0:Gt>0?3:2}function Et(jt,Gt){return It(jt.x,Gt.x)}function It(jt,Gt){var Zt=wt(jt,1),qt=wt(Gt,1);return Zt!==qt?Zt-qt:Zt===0?Gt[1]-jt[1]:Zt===1?jt[0]-Gt[0]:Zt===2?jt[1]-Gt[1]:Gt[0]-jt[0]}return function(jt){var Gt=jt,Zt=Av(),qt,me,Se,Ee,Pe,Le,en,Ye,Je,kn,zn,Ln={point:gr,lineStart:rn,lineEnd:Hn,polygonStart:sr,polygonEnd:Kn};function gr(jn,vr){it(jn,vr)&&Gt.point(jn,vr)}function Jn(){for(var jn=0,vr=0,Qr=me.length;vrV&&(ho-Ko)*(V-Do)>(Ta-Do)*(n-Ko)&&++jn:Ta<=V&&(ho-Ko)*(V-Do)<(Ta-Do)*(n-Ko)&&--jn;return jn}function sr(){Gt=Zt,qt=[],me=[],zn=!0}function Kn(){var jn=Jn(),vr=zn&&jn,Qr=(qt=(0,o.Am)(qt)).length;(vr||Qr)&&(jt.polygonStart(),vr&&(jt.lineStart(),gt(null,null,1,jt),jt.lineEnd()),Qr&&Hx(qt,Et,jn,gt,jt),jt.polygonEnd()),Gt=jt,qt=me=Se=null}function rn(){Ln.point=Tr,me&&me.push(Se=[]),kn=!0,Je=!1,en=Ye=NaN}function Hn(){qt&&(Tr(Ee,Pe),Le&&Je&&Zt.rejoin(),qt.push(Zt.result())),Ln.point=gr,Je&&Gt.lineEnd()}function Tr(jn,vr){var Qr=it(jn,vr);if(me&&Se.push([jn,vr]),kn)Ee=jn,Pe=vr,Le=Qr,kn=!1,Qr&&(Gt.lineStart(),Gt.point(jn,vr));else if(Qr&&Je)Gt.point(jn,vr);else{var Kr=[en=Math.max(s0,Math.min(hm,en)),Ye=Math.max(s0,Math.min(hm,Ye))],li=[jn=Math.max(s0,Math.min(hm,jn)),vr=Math.max(s0,Math.min(hm,vr))];l2(Kr,li,n,a,M,V)?(Je||(Gt.lineStart(),Gt.point(Kr[0],Kr[1])),Gt.point(li[0],li[1]),Qr||Gt.lineEnd(),zn=!1):Qr&&(Gt.lineStart(),Gt.point(jn,vr),zn=!1)}en=jn,Ye=vr,Je=Qr}return Ln}}function u2(){var n=0,a=0,M=960,V=500,it,gt,wt;return wt={stream:function(Et){return it&>===Et?it:it=l0(n,a,M,V)(gt=Et)},extent:function(Et){return arguments.length?(n=+Et[0][0],a=+Et[0][1],M=+Et[1][0],V=+Et[1][1],it=gt=null,wt):[[n,a],[M,V]]}}}var Dv=Gu(),Rv,u0,c0,Ld={sphere:Fn,point:Fn,lineStart:c2,lineEnd:Fn,polygonStart:Fn,polygonEnd:Fn};function c2(){Ld.point=h2,Ld.lineEnd=Gx}function Gx(){Ld.point=Ld.lineEnd=Fn}function h2(n,a){n*=hi,a*=hi,Rv=n,u0=ot(a),c0=si(a),Ld.point=Xx}function Xx(n,a){n*=hi,a*=hi;var M=ot(a),V=si(a),it=Di(n-Rv),gt=si(it),wt=ot(it),Et=V*wt,It=c0*M-u0*V*gt,jt=u0*M+c0*V*gt;Dv.add(Oa(Vt(Et*Et+It*It),jt)),Rv=n,u0=M,c0=V}function qx(n){return Dv.reset(),Yr(n,Ld),+Dv}var Lv=[null,null],f2={type:"LineString",coordinates:Lv};function h0(n,a){return Lv[0]=n,Lv[1]=a,qx(f2)}var Id={Feature:function(n,a){return d0(n.geometry,a)},FeatureCollection:function(n,a){for(var M=n.features,V=-1,it=M.length;++V0&&(it=h0(n[gt],n[gt-1]),it>0&&M<=it&&V<=it&&(M+V-it)*(1-Math.pow((M-V)/it,2))di}).map(qt)).concat((0,o.y1)(Mc(gt/jt)*jt,it,jt).filter(function(Ye){return Di(Ye%Zt)>di}).map(me))}return Le.lines=function(){return en().map(function(Ye){return{type:"LineString",coordinates:Ye}})},Le.outline=function(){return{type:"Polygon",coordinates:[Se(V).concat(Ee(wt).slice(1),Se(M).reverse().slice(1),Ee(Et).reverse().slice(1))]}},Le.extent=function(Ye){return arguments.length?Le.extentMajor(Ye).extentMinor(Ye):Le.extentMinor()},Le.extentMajor=function(Ye){return arguments.length?(V=+Ye[0][0],M=+Ye[1][0],Et=+Ye[0][1],wt=+Ye[1][1],V>M&&(Ye=V,V=M,M=Ye),Et>wt&&(Ye=Et,Et=wt,wt=Ye),Le.precision(Pe)):[[V,Et],[M,wt]]},Le.extentMinor=function(Ye){return arguments.length?(a=+Ye[0][0],n=+Ye[1][0],gt=+Ye[0][1],it=+Ye[1][1],a>n&&(Ye=a,a=n,n=Ye),gt>it&&(Ye=gt,gt=it,it=Ye),Le.precision(Pe)):[[a,gt],[n,it]]},Le.step=function(Ye){return arguments.length?Le.stepMajor(Ye).stepMinor(Ye):Le.stepMinor()},Le.stepMajor=function(Ye){return arguments.length?(Gt=+Ye[0],Zt=+Ye[1],Le):[Gt,Zt]},Le.stepMinor=function(Ye){return arguments.length?(It=+Ye[0],jt=+Ye[1],Le):[It,jt]},Le.precision=function(Ye){return arguments.length?(Pe=+Ye,qt=Qx(gt,it,90),me=p2(a,n,Pe),Se=Qx(Et,wt,90),Ee=p2(V,M,Pe),Le):Pe},Le.extentMajor([[-180,-90+di],[180,90-di]]).extentMinor([[-180,-80-di],[180,80+di]])}function g2(){return m2()()}function xh(n,a){var M=n[0]*hi,V=n[1]*hi,it=a[0]*hi,gt=a[1]*hi,wt=si(V),Et=ot(V),It=si(gt),jt=ot(gt),Gt=wt*si(M),Zt=wt*ot(M),qt=It*si(it),me=It*ot(it),Se=2*ln(Vt(Sn(gt-V)+wt*It*Sn(it-M))),Ee=ot(Se),Pe=Se?function(Le){var en=ot(Le*=Se)/Ee,Ye=ot(Se-Le)/Ee,Je=Ye*Gt+en*qt,kn=Ye*Zt+en*me,zn=Ye*Et+en*jt;return[Oa(kn,Je)*go,Oa(zn,Vt(Je*Je+kn*kn))*go]}:function(){return[M*go,V*go]};return Pe.distance=Se,Pe}function m0(n){return n}var zr=Gu(),Nc=Gu(),y2,v2,Jx,g0,Cf={point:Fn,lineStart:Fn,lineEnd:Fn,polygonStart:function(){Cf.lineStart=aM,Cf.lineEnd=x2},polygonEnd:function(){Cf.lineStart=Cf.lineEnd=Cf.point=Fn,zr.add(Di(Nc)),Nc.reset()},result:function(){var n=zr/2;return zr.reset(),n}};function aM(){Cf.point=d5}function d5(n,a){Cf.point=hu,y2=Jx=n,v2=g0=a}function hu(n,a){Nc.add(g0*n-Jx*a),Jx=n,g0=a}function x2(){hu(y2,v2)}const b2=Cf;var fm=1/0,Iv=fm,y0=-fm,Fv=y0,sM={point:lM,lineStart:Fn,lineEnd:Fn,polygonStart:Fn,polygonEnd:Fn,result:function(){var n=[[fm,Iv],[y0,Fv]];return y0=Fv=-(Iv=fm=1/0),n}};function lM(n,a){ny0&&(y0=n),aFv&&(Fv=a)}const v0=sM;var tb=0,eb=0,dm=0,Bv=0,jv=0,pm=0,nb=0,zv=0,mm=0,_2,w2,Hl,Dc,qu={point:Tf,lineStart:rb,lineEnd:S2,polygonStart:function(){qu.lineStart=cM,qu.lineEnd=hM},polygonEnd:function(){qu.point=Tf,qu.lineStart=rb,qu.lineEnd=S2},result:function(){var n=mm?[nb/mm,zv/mm]:pm?[Bv/pm,jv/pm]:dm?[tb/dm,eb/dm]:[NaN,NaN];return tb=eb=dm=Bv=jv=pm=nb=zv=mm=0,n}};function Tf(n,a){tb+=n,eb+=a,++dm}function rb(){qu.point=E2}function E2(n,a){qu.point=uM,Tf(Hl=n,Dc=a)}function uM(n,a){var M=n-Hl,V=a-Dc,it=Vt(M*M+V*V);Bv+=it*(Hl+n)/2,jv+=it*(Dc+a)/2,pm+=it,Tf(Hl=n,Dc=a)}function S2(){qu.point=Tf}function cM(){qu.point=fM}function hM(){C2(_2,w2)}function fM(n,a){qu.point=C2,Tf(_2=Hl=n,w2=Dc=a)}function C2(n,a){var M=n-Hl,V=a-Dc,it=Vt(M*M+V*V);Bv+=it*(Hl+n)/2,jv+=it*(Dc+a)/2,pm+=it,it=Dc*n-Hl*a,nb+=it*(Hl+n),zv+=it*(Dc+a),mm+=it*3,Tf(Hl=n,Dc=a)}const ib=qu;function T2(n){this._context=n}T2.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(n,a){switch(this._point){case 0:{this._context.moveTo(n,a),this._point=1;break}case 1:{this._context.lineTo(n,a);break}default:{this._context.moveTo(n+this._radius,a),this._context.arc(n,a,this._radius,0,Ea);break}}},result:Fn};var ob=Gu(),Hv,fs,Ul,bh,Fd,ab={point:Fn,lineStart:function(){ab.point=M2},lineEnd:function(){Hv&&sb(fs,Ul),ab.point=Fn},polygonStart:function(){Hv=!0},polygonEnd:function(){Hv=null},result:function(){var n=+ob;return ob.reset(),n}};function M2(n,a){ab.point=sb,fs=bh=n,Ul=Fd=a}function sb(n,a){bh-=n,Fd-=a,ob.add(Vt(bh*bh+Fd*Fd)),bh=n,Fd=a}const k2=ab;function dM(){this._string=[]}dM.prototype={_radius:4.5,_circle:A2(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(n,a){switch(this._point){case 0:{this._string.push("M",n,",",a),this._point=1;break}case 1:{this._string.push("L",n,",",a);break}default:{this._circle==null&&(this._circle=A2(this._radius)),this._string.push("M",n,",",a,this._circle);break}}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}else return null}};function A2(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function pM(n,a){var M=4.5,V,it;function gt(wt){return wt&&(typeof M=="function"&&it.pointRadius(+M.apply(this,arguments)),Yr(wt,V(it))),it.result()}return gt.area=function(wt){return Yr(wt,V(b2)),b2.result()},gt.measure=function(wt){return Yr(wt,V(k2)),k2.result()},gt.bounds=function(wt){return Yr(wt,V(v0)),v0.result()},gt.centroid=function(wt){return Yr(wt,V(ib)),ib.result()},gt.projection=function(wt){return arguments.length?(V=wt==null?(n=null,m0):(n=wt).stream,gt):n},gt.context=function(wt){return arguments.length?(it=wt==null?(a=null,new dM):new T2(a=wt),typeof M!="function"&&it.pointRadius(M),gt):a},gt.pointRadius=function(wt){return arguments.length?(M=typeof wt=="function"?wt:(it.pointRadius(+wt),+wt),gt):M},gt.projection(n).context(a)}function P2(n){return{stream:x0(n)}}function x0(n){return function(a){var M=new lb;for(var V in n)M[V]=n[V];return M.stream=a,M}}function lb(){}lb.prototype={constructor:lb,point:function(n,a){this.stream.point(n,a)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function ub(n,a,M){var V=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),V!=null&&n.clipExtent(null),Yr(M,n.stream(v0)),a(v0.result()),V!=null&&n.clipExtent(V),n}function Uv(n,a,M){return ub(n,function(V){var it=a[1][0]-a[0][0],gt=a[1][1]-a[0][1],wt=Math.min(it/(V[1][0]-V[0][0]),gt/(V[1][1]-V[0][1])),Et=+a[0][0]+(it-wt*(V[1][0]+V[0][0]))/2,It=+a[0][1]+(gt-wt*(V[1][1]+V[0][1]))/2;n.scale(150*wt).translate([Et,It])},M)}function cb(n,a,M){return Uv(n,[[0,0],a],M)}function hb(n,a,M){return ub(n,function(V){var it=+a,gt=it/(V[1][0]-V[0][0]),wt=(it-gt*(V[1][0]+V[0][0]))/2,Et=-gt*V[0][1];n.scale(150*gt).translate([wt,Et])},M)}function fb(n,a,M){return ub(n,function(V){var it=+a,gt=it/(V[1][1]-V[0][1]),wt=-gt*V[0][0],Et=(it-gt*(V[1][1]+V[0][1]))/2;n.scale(150*gt).translate([wt,Et])},M)}var O2=16,mM=si(30*hi);function N2(n,a){return+a?yM(n,a):gM(n)}function gM(n){return x0({point:function(a,M){a=n(a,M),this.stream.point(a[0],a[1])}})}function yM(n,a){function M(V,it,gt,wt,Et,It,jt,Gt,Zt,qt,me,Se,Ee,Pe){var Le=jt-V,en=Gt-it,Ye=Le*Le+en*en;if(Ye>4*a&&Ee--){var Je=wt+qt,kn=Et+me,zn=It+Se,Ln=Vt(Je*Je+kn*kn+zn*zn),gr=ln(zn/=Ln),Jn=Di(Di(zn)-1)a||Di((Le*Hn+en*Tr)/Ye-.5)>.3||wt*qt+Et*me+It*Se2?jn[2]%360*hi:0,Hn()):[Et*go,It*go,jt*go]},Kn.angle=function(jn){return arguments.length?(Zt=jn%360*hi,Hn()):Zt*go},Kn.reflectX=function(jn){return arguments.length?(qt=jn?-1:1,Hn()):qt<0},Kn.reflectY=function(jn){return arguments.length?(me=jn?-1:1,Hn()):me<0},Kn.precision=function(jn){return arguments.length?(zn=N2(Ln,kn=jn*jn),Tr()):Vt(kn)},Kn.fitExtent=function(jn,vr){return Uv(Kn,jn,vr)},Kn.fitSize=function(jn,vr){return cb(Kn,jn,vr)},Kn.fitWidth=function(jn,vr){return hb(Kn,jn,vr)},Kn.fitHeight=function(jn,vr){return fb(Kn,jn,vr)};function Hn(){var jn=db(M,0,0,qt,me,Zt).apply(null,a(gt,wt)),vr=(Zt?db:bM)(M,V-jn[0],it-jn[1],qt,me,Zt);return Gt=Fx(Et,It,jt),Ln=o0(a,vr),gr=o0(Gt,Ln),zn=N2(Ln,kn),Tr()}function Tr(){return Jn=sr=null,Kn}return function(){return a=n.apply(this,arguments),Kn.invert=a.invert&&rn,Hn()}}function pb(n){var a=0,M=Yi/3,V=D2(n),it=V(a,M);return it.parallels=function(gt){return arguments.length?V(a=gt[0]*hi,M=gt[1]*hi):[a*go,M*go]},it}function _M(n){var a=si(n);function M(V,it){return[V*a,ot(it)/a]}return M.invert=function(V,it){return[V/a,ln(it*a)]},M}function R2(n,a){var M=ot(n),V=(M+ot(a))/2;if(Di(V)=.12&&Pe<.234&&Ee>=-.425&&Ee<-.214?it:Pe>=.166&&Pe<.234&&Ee>=-.214&&Ee<-.115?wt:M).invert(qt)},Gt.stream=function(qt){return n&&a===qt?n:n=wM([M.stream(a=qt),it.stream(qt),wt.stream(qt)])},Gt.precision=function(qt){return arguments.length?(M.precision(qt),it.precision(qt),wt.precision(qt),Zt()):M.precision()},Gt.scale=function(qt){return arguments.length?(M.scale(qt),it.scale(qt*.35),wt.scale(qt),Gt.translate(M.translate())):M.scale()},Gt.translate=function(qt){if(!arguments.length)return M.translate();var me=M.scale(),Se=+qt[0],Ee=+qt[1];return V=M.translate(qt).clipExtent([[Se-.455*me,Ee-.238*me],[Se+.455*me,Ee+.238*me]]).stream(jt),gt=it.translate([Se-.307*me,Ee+.201*me]).clipExtent([[Se-.425*me+di,Ee+.12*me+di],[Se-.214*me-di,Ee+.234*me-di]]).stream(jt),Et=wt.translate([Se-.205*me,Ee+.212*me]).clipExtent([[Se-.214*me+di,Ee+.166*me+di],[Se-.115*me-di,Ee+.234*me-di]]).stream(jt),Zt()},Gt.fitExtent=function(qt,me){return Uv(Gt,qt,me)},Gt.fitSize=function(qt,me){return cb(Gt,qt,me)},Gt.fitWidth=function(qt,me){return hb(Gt,qt,me)},Gt.fitHeight=function(qt,me){return fb(Gt,qt,me)};function Zt(){return n=a=null,Gt}return Gt.scale(1070)}function gb(n){return function(a,M){var V=si(a),it=si(M),gt=n(V*it);return[gt*it*ot(a),gt*ot(M)]}}function Mf(n){return function(a,M){var V=Vt(a*a+M*M),it=n(V),gt=ot(it),wt=si(it);return[Oa(a*gt,V*wt),ln(V&&M*gt/V)]}}var gm=gb(function(n){return Vt(2/(1+n))});gm.invert=Mf(function(n){return 2*ln(n/2)});function SM(){return Rc(gm).scale(124.75).clipAngle(179.999)}var yb=gb(function(n){return(n=Oe(n))&&n/ot(n)});yb.invert=Mf(function(n){return n});function CM(){return Rc(yb).scale(79.4188).clipAngle(179.999)}function b0(n,a){return[n,f(ee((Br+a)/2))]}b0.invert=function(n,a){return[n,2*wf(Xg(a))-Br]};function TM(){return L2(b0).scale(961/Ea)}function L2(n){var a=Rc(n),M=a.center,V=a.scale,it=a.translate,gt=a.clipExtent,wt=null,Et,It,jt;a.scale=function(Zt){return arguments.length?(V(Zt),Gt()):V()},a.translate=function(Zt){return arguments.length?(it(Zt),Gt()):it()},a.center=function(Zt){return arguments.length?(M(Zt),Gt()):M()},a.clipExtent=function(Zt){return arguments.length?(Zt==null?wt=Et=It=jt=null:(wt=+Zt[0][0],Et=+Zt[0][1],It=+Zt[1][0],jt=+Zt[1][1]),Gt()):wt==null?null:[[wt,Et],[It,jt]]};function Gt(){var Zt=Yi*V(),qt=a(jx(a.rotate()).invert([0,0]));return gt(wt==null?[[qt[0]-Zt,qt[1]-Zt],[qt[0]+Zt,qt[1]+Zt]]:n===b0?[[Math.max(qt[0]-Zt,wt),Et],[Math.min(qt[0]+Zt,It),jt]]:[[wt,Math.max(qt[1]-Zt,Et)],[It,Math.min(qt[1]+Zt,jt)]])}return Gt()}function Wv(n){return ee((Br+n)/2)}function vb(n,a){var M=si(n),V=n===a?ot(n):f(M/si(a))/f(Wv(a)/Wv(n)),it=M*O(Wv(n),V)/V;if(!V)return b0;function gt(wt,Et){it>0?Et<-Br+di&&(Et=-Br+di):Et>Br-di&&(Et=Br-di);var It=it/O(Wv(Et),V);return[It*ot(V*wt),it-It*si(V*wt)]}return gt.invert=function(wt,Et){var It=it-Et,jt=kt(V)*Vt(wt*wt+It*It),Gt=Oa(wt,Di(It))*kt(It);return It*V<0&&(Gt-=Yi*kt(wt)*kt(It)),[Gt/V,2*wf(O(it/jt,1/V))-Br]},gt}function MM(){return pb(vb).scale(109.5).parallels([30,30])}function Yv(n,a){return[n,a]}Yv.invert=Yv;function kM(){return Rc(Yv).scale(152.63)}function I2(n,a){var M=si(n),V=n===a?ot(n):(M-si(a))/(a-n),it=M/V+n;if(Di(V)di&&--V>0);return[n/(.8707+(gt=M*M)*(-.131979+gt*(-.013791+gt*gt*gt*(.003971-.001529*gt)))),M]};function OM(){return Rc(bb).scale(175.295)}function _b(n,a){return[si(a)*ot(n),ot(a)]}_b.invert=Mf(ln);function NM(){return Rc(_b).scale(249.5).clipAngle(90+di)}function wb(n,a){var M=si(a),V=1+si(n)*M;return[M*ot(n)/V,ot(a)/V]}wb.invert=Mf(function(n){return 2*wf(n)});function DM(){return Rc(wb).scale(250).clipAngle(142)}function Xv(n,a){return[f(ee((Br+a)/2)),-n]}Xv.invert=function(n,a){return[-a,2*wf(Xg(n))-Br]};function RM(){var n=L2(Xv),a=n.center,M=n.rotate;return n.center=function(V){return arguments.length?a([-V[1],V[0]]):(V=a(),[V[1],-V[0]])},n.rotate=function(V){return arguments.length?M([V[0],V[1],V.length>2?V[2]+90:90]):(V=M(),[V[0],V[1],V[2]-90])},M([0,0,90]).scale(159.155)}function LM(n,a){return n.parent===a.parent?1:2}function IM(n){return n.reduce(FM,0)/n.length}function FM(n,a){return n+a.x}function BM(n){return 1+n.reduce(jM,0)}function jM(n,a){return Math.max(n,a.y)}function zM(n){for(var a;a=n.children;)n=a[0];return n}function HM(n){for(var a;a=n.children;)n=a[a.length-1];return n}function UM(){var n=LM,a=1,M=1,V=!1;function it(gt){var wt,Et=0;gt.eachAfter(function(qt){var me=qt.children;me?(qt.x=IM(me),qt.y=BM(me)):(qt.x=wt?Et+=n(qt,wt):0,qt.y=0,wt=qt)});var It=zM(gt),jt=HM(gt),Gt=It.x-n(It,jt)/2,Zt=jt.x+n(jt,It)/2;return gt.eachAfter(V?function(qt){qt.x=(qt.x-gt.x)*a,qt.y=(gt.y-qt.y)*M}:function(qt){qt.x=(qt.x-Gt)/(Zt-Gt)*a,qt.y=(1-(gt.y?qt.y/gt.y:1))*M})}return it.separation=function(gt){return arguments.length?(n=gt,it):n},it.size=function(gt){return arguments.length?(V=!1,a=+gt[0],M=+gt[1],it):V?null:[a,M]},it.nodeSize=function(gt){return arguments.length?(V=!0,a=+gt[0],M=+gt[1],it):V?[a,M]:null},it}function VM(n){var a=0,M=n.children,V=M&&M.length;if(!V)a=1;else for(;--V>=0;)a+=M[V].value;n.value=a}function WM(){return this.eachAfter(VM)}function YM(n){var a=this,M,V=[a],it,gt,wt;do for(M=V.reverse(),V=[];a=M.pop();)if(n(a),it=a.children,it)for(gt=0,wt=it.length;gt=0;--it)M.push(V[it]);return this}function XM(n){for(var a=this,M=[a],V=[],it,gt,wt;a=M.pop();)if(V.push(a),it=a.children,it)for(gt=0,wt=it.length;gt=0;)M+=V[it].value;a.value=M})}function $M(n){return this.eachBefore(function(a){a.children&&a.children.sort(n)})}function KM(n){for(var a=this,M=ZM(a,n),V=[a];a!==M;)a=a.parent,V.push(a);for(var it=V.length;n!==M;)V.splice(it,0,n),n=n.parent;return V}function ZM(n,a){if(n===a)return n;var M=n.ancestors(),V=a.ancestors(),it=null;for(n=M.pop(),a=V.pop();n===a;)it=n,n=M.pop(),a=V.pop();return it}function QM(){for(var n=this,a=[n];n=n.parent;)a.push(n);return a}function vm(){var n=[];return this.each(function(a){n.push(a)}),n}function JM(){var n=[];return this.eachBefore(function(a){a.children||n.push(a)}),n}function t3(){var n=this,a=[];return n.each(function(M){M!==n&&a.push({source:M.parent,target:M})}),a}function Eb(n,a){var M=new xm(n),V=+n.value&&(M.value=n.value),it,gt=[M],wt,Et,It,jt;for(a==null&&(a=n3);it=gt.pop();)if(V&&(it.value=+it.data.value),(Et=a(it.data))&&(jt=Et.length))for(it.children=new Array(jt),It=jt-1;It>=0;--It)gt.push(wt=it.children[It]=new xm(Et[It])),wt.parent=it,wt.depth=it.depth+1;return M.eachBefore(B2)}function e3(){return Eb(this).eachBefore(r3)}function n3(n){return n.children}function r3(n){n.data=n.data.data}function B2(n){var a=0;do n.height=a;while((n=n.parent)&&n.height<++a)}function xm(n){this.data=n,this.depth=this.height=0,this.parent=null}xm.prototype=Eb.prototype={constructor:xm,count:WM,each:YM,eachAfter:XM,eachBefore:GM,sum:qM,sort:$M,path:KM,ancestors:QM,descendants:vm,leaves:JM,links:t3,copy:e3};var i3=Array.prototype.slice;function o3(n){for(var a=n.length,M,V;a;)V=Math.random()*a--|0,M=n[a],n[a]=n[V],n[V]=M;return n}function j2(n){for(var a=0,M=(n=o3(i3.call(n))).length,V=[],it,gt;a0&&M*M>V*V+it*it}function Sb(n,a){for(var M=0;MIt?(it=(jt+It-gt)/(2*jt),Et=Math.sqrt(Math.max(0,It/jt-it*it)),M.x=n.x-it*V-Et*wt,M.y=n.y-it*wt+Et*V):(it=(jt+gt-It)/(2*jt),Et=Math.sqrt(Math.max(0,gt/jt-it*it)),M.x=a.x+it*V-Et*wt,M.y=a.y+it*wt+Et*V)):(M.x=a.x+M.r,M.y=a.y)}function V2(n,a){var M=n.r+a.r-1e-6,V=a.x-n.x,it=a.y-n.y;return M>0&&M*M>V*V+it*it}function Cb(n){var a=n._,M=n.next._,V=a.r+M.r,it=(a.x*M.r+M.x*a.r)/V,gt=(a.y*M.r+M.y*a.r)/V;return it*it+gt*gt}function Kv(n){this._=n,this.next=null,this.previous=null}function l3(n){if(!(it=n.length))return 0;var a,M,V,it,gt,wt,Et,It,jt,Gt,Zt;if(a=n[0],a.x=0,a.y=0,!(it>1))return a.r;if(M=n[1],a.x=-M.r,M.x=a.r,M.y=0,!(it>2))return a.r+M.r;U2(M,a,V=n[2]),a=new Kv(a),M=new Kv(M),V=new Kv(V),a.next=V.previous=M,M.next=a.previous=V,V.next=M.previous=a;t:for(Et=3;Et0)throw new Error("cycle");return Et}return M.id=function(V){return arguments.length?(n=Zv(V),M):n},M.parentId=function(V){return arguments.length?(a=Zv(V),M):a},M}function g3(n,a){return n.parent===a.parent?1:2}function kb(n){var a=n.children;return a?a[0]:n.t}function Ab(n){var a=n.children;return a?a[a.length-1]:n.t}function y3(n,a,M){var V=M/(a.i-n.i);a.c-=V,a.s+=M,n.c+=V,a.z+=M,a.m+=M}function X2(n){for(var a=0,M=0,V=n.children,it=V.length,gt;--it>=0;)gt=V[it],gt.z+=a,gt.m+=a,a+=gt.s+(M+=gt.c)}function v3(n,a,M){return n.a.parent===a.parent?n.a:M}function Jv(n,a){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=a}Jv.prototype=Object.create(xm.prototype);function q2(n){for(var a=new Jv(n,0),M,V=[a],it,gt,wt,Et;M=V.pop();)if(gt=M._.children)for(M.children=new Array(Et=gt.length),wt=Et-1;wt>=0;--wt)V.push(it=M.children[wt]=new Jv(gt[wt],wt)),it.parent=M;return(a.parent=new Jv(null,0)).children=[a],a}function vl(){var n=g3,a=1,M=1,V=null;function it(jt){var Gt=q2(jt);if(Gt.eachAfter(gt),Gt.parent.m=-Gt.z,Gt.eachBefore(wt),V)jt.eachBefore(It);else{var Zt=jt,qt=jt,me=jt;jt.eachBefore(function(en){en.xqt.x&&(qt=en),en.depth>me.depth&&(me=en)});var Se=Zt===qt?1:n(Zt,qt)/2,Ee=Se-Zt.x,Pe=a/(qt.x+Se+Ee),Le=M/(me.depth||1);jt.eachBefore(function(en){en.x=(en.x+Ee)*Pe,en.y=en.depth*Le})}return jt}function gt(jt){var Gt=jt.children,Zt=jt.parent.children,qt=jt.i?Zt[jt.i-1]:null;if(Gt){X2(jt);var me=(Gt[0].z+Gt[Gt.length-1].z)/2;qt?(jt.z=qt.z+n(jt._,qt._),jt.m=jt.z-me):jt.z=me}else qt&&(jt.z=qt.z+n(jt._,qt._));jt.parent.A=Et(jt,qt,jt.parent.A||Zt[0])}function wt(jt){jt._.x=jt.z+jt.parent.m,jt.m+=jt.parent.m}function Et(jt,Gt,Zt){if(Gt){for(var qt=jt,me=jt,Se=Gt,Ee=qt.parent.children[0],Pe=qt.m,Le=me.m,en=Se.m,Ye=Ee.m,Je;Se=Ab(Se),qt=kb(qt),Se&&qt;)Ee=kb(Ee),me=Ab(me),me.a=jt,Je=Se.z+en-qt.z-Pe+n(Se._,qt._),Je>0&&(y3(v3(Se,jt,Zt),jt,Je),Pe+=Je,Le+=Je),en+=Se.m,Pe+=qt.m,Ye+=Ee.m,Le+=me.m;Se&&!Ab(me)&&(me.t=Se,me.m+=en-Le),qt&&!kb(Ee)&&(Ee.t=qt,Ee.m+=Pe-Ye,Zt=jt)}return Zt}function It(jt){jt.x*=a,jt.y=jt.depth*M}return it.separation=function(jt){return arguments.length?(n=jt,it):n},it.size=function(jt){return arguments.length?(V=!1,a=+jt[0],M=+jt[1],it):V?null:[a,M]},it.nodeSize=function(jt){return arguments.length?(V=!0,a=+jt[0],M=+jt[1],it):V?[a,M]:null},it}function As(n,a,M,V,it){for(var gt=n.children,wt,Et=-1,It=gt.length,jt=n.value&&(it-M)/n.value;++Eten&&(en=jt),zn=Pe*Pe*kn,Ye=Math.max(en/zn,zn/Le),Ye>Je){Pe-=jt;break}Je=Ye}wt.push(It={value:Pe,dice:me1?V:1)},M}($2);function x3(){var n=Z2,a=!1,M=1,V=1,it=[0],gt=Bd,wt=Bd,Et=Bd,It=Bd,jt=Bd;function Gt(qt){return qt.x0=qt.y0=0,qt.x1=M,qt.y1=V,qt.eachBefore(Zt),it=[0],a&&qt.eachBefore(Mb),qt}function Zt(qt){var me=it[qt.depth],Se=qt.x0+me,Ee=qt.y0+me,Pe=qt.x1-me,Le=qt.y1-me;Pe=qt-1){var en=gt[Zt];en.x0=Se,en.y0=Ee,en.x1=Pe,en.y1=Le;return}for(var Ye=jt[Zt],Je=me/2+Ye,kn=Zt+1,zn=qt-1;kn>>1;jt[Ln]Le-Ee){var sr=(Se*Jn+Pe*gr)/me;Gt(Zt,kn,gr,Se,Ee,sr,Le),Gt(kn,qt,Jn,sr,Ee,Pe,Le)}else{var Kn=(Ee*Jn+Le*gr)/me;Gt(Zt,kn,gr,Se,Ee,Pe,Kn),Gt(kn,qt,Jn,Se,Kn,Pe,Le)}}}function _3(n,a,M,V,it){(n.depth&1?As:T0)(n,a,M,V,it)}const w3=function n(a){function M(V,it,gt,wt,Et){if((It=V._squarify)&&It.ratio===a)for(var It,jt,Gt,Zt,qt=-1,me,Se=It.length,Ee=V.value;++qt1?V:1)},M}($2);function E3(n){var a=n.length;return function(M){return n[Math.max(0,Math.min(a-1,Math.floor(M*a)))]}}function S3(n,a){var M=ll(+n,+a);return function(V){var it=M(V);return it-360*Math.floor(it/360)}}function Q2(n,a){return n=+n,a=+a,function(M){return Math.round(n*(1-M)+a*M)}}var M0=Math.SQRT2,Pb=2,J2=4,C3=1e-12;function tE(n){return((n=Math.exp(n))+1/n)/2}function T3(n){return((n=Math.exp(n))-1/n)/2}function eE(n){return((n=Math.exp(2*n))-1)/(n+1)}function nE(n,a){var M=n[0],V=n[1],it=n[2],gt=a[0],wt=a[1],Et=a[2],It=gt-M,jt=wt-V,Gt=It*It+jt*jt,Zt,qt;if(Gt1&&N3(n[M[V-2]],n[M[V-1]],n[it])<=0;)--V;M[V++]=it}return M.slice(0,V)}function R3(n){if((M=n.length)<3)return null;var a,M,V=new Array(M),it=new Array(M);for(a=0;a=0;--a)jt.push(n[V[gt[a]][2]]);for(a=+Et;agt!=Et>gt&&it<(wt-It)*(gt-jt)/(Et-jt)+It&&(Gt=!Gt),wt=It,Et=jt;return Gt}function oE(n){for(var a=-1,M=n.length,V=n[M-1],it,gt,wt=V[0],Et=V[1],It=0;++a1);return V+it*Et*Math.sqrt(-2*Math.log(wt)/wt)}}return M.source=n,M}(_m),Nb=function n(a){function M(){var V=Ob.source(a).apply(this,arguments);return function(){return Math.exp(V())}}return M.source=n,M}(_m),k0=function n(a){function M(V){return function(){for(var it=0,gt=0;gtM&&(V=a,a=M,M=V),function(it){return Math.max(a,Math.min(M,it))}}function Ib(n,a,M){var V=n[0],it=n[1],gt=a[0],wt=a[1];return it2?Fb:Ib,It=jt=null,Zt}function Zt(qt){return isNaN(qt=+qt)?gt:(It||(It=Et(n.map(V),a,M)))(V(wt(qt)))}return Zt.invert=function(qt){return wt(it((jt||(jt=Et(a,n.map(V),_s)))(qt)))},Zt.domain=function(qt){return arguments.length?(n=t1.call(qt,Lb),wt===ps||(wt=uE(n)),Gt()):n.slice()},Zt.range=function(qt){return arguments.length?(a=zd.call(qt),Gt()):a.slice()},Zt.rangeRound=function(qt){return a=zd.call(qt),M=Q2,Gt()},Zt.clamp=function(qt){return arguments.length?(wt=qt?uE(n):ps,Zt):wt!==ps},Zt.interpolate=function(qt){return arguments.length?(M=qt,Gt()):M},Zt.unknown=function(qt){return arguments.length?(gt=qt,Zt):gt},function(qt,me){return V=qt,it=me,Gt()}}function e1(n,a){return Bb()(n,a)}function cE(n,a,M,V){var it=(0,o.sG)(n,a,M),gt;switch(V=xf(V==null?",f":V),V.type){case"s":{var wt=Math.max(Math.abs(n),Math.abs(a));return V.precision==null&&!isNaN(gt=Nd(it,wt))&&(V.precision=gt),Od(V,wt)}case"":case"e":case"g":case"p":case"r":{V.precision==null&&!isNaN(gt=Ev(it,Math.max(Math.abs(n),Math.abs(a))))&&(V.precision=gt-(V.type==="e"));break}case"f":case"%":{V.precision==null&&!isNaN(gt=wv(it))&&(V.precision=gt-(V.type==="%")*2);break}}return gh(V)}function Af(n){var a=n.domain;return n.ticks=function(M){var V=a();return(0,o.Zc)(V[0],V[V.length-1],M==null?10:M)},n.tickFormat=function(M,V){var it=a();return cE(it[0],it[it.length-1],M==null?10:M,V)},n.nice=function(M){M==null&&(M=10);var V=a(),it=0,gt=V.length-1,wt=V[it],Et=V[gt],It;return Et0?(wt=Math.floor(wt/It)*It,Et=Math.ceil(Et/It)*It,It=(0,o.lq)(wt,Et,M)):It<0&&(wt=Math.ceil(wt*It)/It,Et=Math.floor(Et*It)/It,It=(0,o.lq)(wt,Et,M)),It>0?(V[it]=Math.floor(wt/It)*It,V[gt]=Math.ceil(Et/It)*It,a(V)):It<0&&(V[it]=Math.ceil(wt*It)/It,V[gt]=Math.floor(Et*It)/It,a(V)),n},n}function hE(){var n=e1(ps,ps);return n.copy=function(){return ms(n,hE())},Na.apply(n,arguments),Af(n)}function fE(n){var a;function M(V){return isNaN(V=+V)?a:V}return M.invert=M,M.domain=M.range=function(V){return arguments.length?(n=t1.call(V,Lb),M):n.slice()},M.unknown=function(V){return arguments.length?(a=V,M):a},M.copy=function(){return fE(n).unknown(a)},n=arguments.length?t1.call(n,Lb):[0,1],Af(M)}function n1(n,a){n=n.slice();var M=0,V=n.length-1,it=n[M],gt=n[V],wt;return gt0){for(;qtGt)break;en.push(Pe)}}else for(;qt=1;--Ee)if(Pe=Se*Ee,!(PeGt)break;en.push(Pe)}}else en=(0,o.Zc)(qt,me,Math.min(me-qt,Le)).map(gt);return Zt?en.reverse():en},a.tickFormat=function(Et,It){if(It==null&&(It=V===10?".0e":","),typeof It!="function"&&(It=gh(It)),Et===1/0)return It;Et==null&&(Et=10);var jt=Math.max(1,V*Et/a.ticks().length);return function(Gt){var Zt=Gt/gt(Math.round(it(Gt)));return Zt*V0?M[Et-1]:n[0],Et=M?[V[M-1],a]:[V[jt-1],V[jt]]},wt.unknown=function(It){return arguments.length&&(gt=It),wt},wt.thresholds=function(){return V.slice()},wt.copy=function(){return EE().domain([n,a]).range(it).unknown(gt)},Na.apply(Af(wt),arguments)}function i1(){var n=[.5],a=[0,1],M,V=1;function it(gt){return gt<=gt?a[(0,o.h1)(n,gt,0,V)]:M}return it.domain=function(gt){return arguments.length?(n=zd.call(gt),V=Math.min(n.length,a.length-1),it):n.slice()},it.range=function(gt){return arguments.length?(a=zd.call(gt),V=Math.min(n.length,a.length-1),it):a.slice()},it.invertExtent=function(gt){var wt=a.indexOf(gt);return[n[wt-1],n[wt]]},it.unknown=function(gt){return arguments.length?(M=gt,it):M},it.copy=function(){return i1().domain(n).range(a).unknown(M)},Na.apply(it,arguments)}var N0=new Date,o1=new Date;function Xa(n,a,M,V){function it(gt){return n(gt=arguments.length===0?new Date:new Date(+gt)),gt}return it.floor=function(gt){return n(gt=new Date(+gt)),gt},it.ceil=function(gt){return n(gt=new Date(gt-1)),a(gt,1),n(gt),gt},it.round=function(gt){var wt=it(gt),Et=it.ceil(gt);return gt-wt0))return It;do It.push(jt=new Date(+gt)),a(gt,Et),n(gt);while(jt=wt)for(;n(wt),!gt(wt);)wt.setTime(wt-1)},function(wt,Et){if(wt>=wt)if(Et<0)for(;++Et<=0;)for(;a(wt,-1),!gt(wt););else for(;--Et>=0;)for(;a(wt,1),!gt(wt););})},M&&(it.count=function(gt,wt){return N0.setTime(+gt),o1.setTime(+wt),n(N0),n(o1),Math.floor(M(N0,o1))},it.every=function(gt){return gt=Math.floor(gt),!isFinite(gt)||!(gt>0)?null:gt>1?it.filter(V?function(wt){return V(wt)%gt===0}:function(wt){return it.count(0,wt)%gt===0}):it}),it}var a1=Xa(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,a){n.setFullYear(n.getFullYear()+a)},function(n,a){return a.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});a1.every=function(n){return!isFinite(n=Math.floor(n))||!(n>0)?null:Xa(function(a){a.setFullYear(Math.floor(a.getFullYear()/n)*n),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,M){a.setFullYear(a.getFullYear()+M*n)})};const Pf=a1;var SE=a1.range,CE=Xa(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,a){n.setMonth(n.getMonth()+a)},function(n,a){return a.getMonth()-n.getMonth()+(a.getFullYear()-n.getFullYear())*12},function(n){return n.getMonth()});const TE=CE;var ME=CE.range,Vl=1e3,Ud=6e4,Vb=36e5,kE=864e5,AE=6048e5;function Vd(n){return Xa(function(a){a.setDate(a.getDate()-(a.getDay()+7-n)%7),a.setHours(0,0,0,0)},function(a,M){a.setDate(a.getDate()+M*7)},function(a,M){return(M-a-(M.getTimezoneOffset()-a.getTimezoneOffset())*Ud)/AE})}var D0=Vd(0),R0=Vd(1),Wb=Vd(2),PE=Vd(3),pu=Vd(4),OE=Vd(5),NE=Vd(6),Yb=D0.range,DE=R0.range,H3=Wb.range,RE=PE.range,v5=pu.range,LE=OE.range,U3=NE.range,Gb=Xa(function(n){n.setHours(0,0,0,0)},function(n,a){n.setDate(n.getDate()+a)},function(n,a){return(a-n-(a.getTimezoneOffset()-n.getTimezoneOffset())*Ud)/kE},function(n){return n.getDate()-1});const L0=Gb;var yo=Gb.range,I0=Xa(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*Vl-n.getMinutes()*Ud)},function(n,a){n.setTime(+n+a*Vb)},function(n,a){return(a-n)/Vb},function(n){return n.getHours()});const Xb=I0;var V3=I0.range,qb=Xa(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*Vl)},function(n,a){n.setTime(+n+a*Ud)},function(n,a){return(a-n)/Ud},function(n){return n.getMinutes()});const Wd=qb;var W3=qb.range,$b=Xa(function(n){n.setTime(n-n.getMilliseconds())},function(n,a){n.setTime(+n+a*Vl)},function(n,a){return(a-n)/Vl},function(n){return n.getUTCSeconds()});const F0=$b;var Kb=$b.range,_h=Xa(function(){},function(n,a){n.setTime(+n+a)},function(n,a){return a-n});_h.every=function(n){return n=Math.floor(n),!isFinite(n)||!(n>0)?null:n>1?Xa(function(a){a.setTime(Math.floor(a/n)*n)},function(a,M){a.setTime(+a+M*n)},function(a,M){return(M-a)/n}):_h};const s1=_h;var IE=_h.range;function Yd(n){return Xa(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-n)%7),a.setUTCHours(0,0,0,0)},function(a,M){a.setUTCDate(a.getUTCDate()+M*7)},function(a,M){return(M-a)/AE})}var B0=Yd(0),j0=Yd(1),Zb=Yd(2),wh=Yd(3),Ic=Yd(4),Qb=Yd(5),Jb=Yd(6),z0=B0.range,Y3=j0.range,G3=Zb.range,FE=wh.range,Of=Ic.range,X3=Qb.range,q3=Jb.range,BE=Xa(function(n){n.setUTCHours(0,0,0,0)},function(n,a){n.setUTCDate(n.getUTCDate()+a)},function(n,a){return(a-n)/kE},function(n){return n.getUTCDate()-1});const l1=BE;var $3=BE.range,H0=Xa(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,a){n.setUTCFullYear(n.getUTCFullYear()+a)},function(n,a){return a.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});H0.every=function(n){return!isFinite(n=Math.floor(n))||!(n>0)?null:Xa(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/n)*n),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,M){a.setUTCFullYear(a.getUTCFullYear()+M*n)})};const Gd=H0;var K3=H0.range;function t_(n){if(0<=n.y&&n.y<100){var a=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return a.setFullYear(n.y),a}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function u1(n){if(0<=n.y&&n.y<100){var a=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return a.setUTCFullYear(n.y),a}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function Em(n,a,M){return{y:n,m:a,d:M,H:0,M:0,S:0,L:0}}function jE(n){var a=n.dateTime,M=n.date,V=n.time,it=n.periods,gt=n.days,wt=n.shortDays,Et=n.months,It=n.shortMonths,jt=U0(it),Gt=Xd(it),Zt=U0(gt),qt=Xd(gt),me=U0(wt),Se=Xd(wt),Ee=U0(Et),Pe=Xd(Et),Le=U0(It),en=Xd(It),Ye={a:Qr,A:Kr,b:li,B:Ri,c:null,d:h1,e:h1,f:WE,g:ik,G:q0,H:f1,I:UE,j:W0,L:VE,m:rk,M:Y0,p:Li,q:Ko,Q:QE,s:l_,S:bl,u:gu,U:yu,V:a_,w:G0,W:Cm,x:null,X:null,y:X0,Y:YE,Z:ok,"%":$0},Je={a:Do,A:ho,b:Ta,B:_u,c:null,d:s_,e:s_,f:lk,g:$E,G:ZE,H:GE,I:ak,j:sk,L:XE,m:uk,M:ck,p:wu,q:Ku,Q:QE,s:l_,S:hk,u:fk,U:dk,V:pk,w:mk,W:gk,x:null,X:null,y:yk,Y:KE,Z:x5,"%":$0},kn={a:sr,A:Kn,b:rn,B:Hn,c:Tr,d:c1,e:c1,f:Eh,g:Kd,G:V0,H:HE,I:HE,j:tk,L:i_,m:Sm,M:Fc,p:Jn,q:zE,Q:ek,s:nk,S:Nf,u:qd,U:mu,V:n_,w:Wl,W:$d,x:jn,X:vr,y:Kd,Y:V0,Z:r_,"%":o_};Ye.x=zn(M,Ye),Ye.X=zn(V,Ye),Ye.c=zn(a,Ye),Je.x=zn(M,Je),Je.X=zn(V,Je),Je.c=zn(a,Je);function zn(Gr,Ui){return function(Ki){var Dr=[],vs=-1,fo=0,Ds=Gr.length,il,Ah,ol;for(Ki instanceof Date||(Ki=new Date(+Ki));++vs53)return null;"w"in Dr||(Dr.w=1),"Z"in Dr?(fo=u1(Em(Dr.y,0,1)),Ds=fo.getUTCDay(),fo=Ds>4||Ds===0?j0.ceil(fo):j0(fo),fo=l1.offset(fo,(Dr.V-1)*7),Dr.y=fo.getUTCFullYear(),Dr.m=fo.getUTCMonth(),Dr.d=fo.getUTCDate()+(Dr.w+6)%7):(fo=t_(Em(Dr.y,0,1)),Ds=fo.getDay(),fo=Ds>4||Ds===0?R0.ceil(fo):R0(fo),fo=L0.offset(fo,(Dr.V-1)*7),Dr.y=fo.getFullYear(),Dr.m=fo.getMonth(),Dr.d=fo.getDate()+(Dr.w+6)%7)}else("W"in Dr||"U"in Dr)&&("w"in Dr||(Dr.w="u"in Dr?Dr.u%7:"W"in Dr?1:0),Ds="Z"in Dr?u1(Em(Dr.y,0,1)).getUTCDay():t_(Em(Dr.y,0,1)).getDay(),Dr.m=0,Dr.d="W"in Dr?(Dr.w+6)%7+Dr.W*7-(Ds+5)%7:Dr.w+Dr.U*7-(Ds+6)%7);return"Z"in Dr?(Dr.H+=Dr.Z/100|0,Dr.M+=Dr.Z%100,u1(Dr)):t_(Dr)}}function gr(Gr,Ui,Ki,Dr){for(var vs=0,fo=Ui.length,Ds=Ki.length,il,Ah;vs=Ds)return-1;if(il=Ui.charCodeAt(vs++),il===37){if(il=Ui.charAt(vs++),Ah=kn[il in e_?Ui.charAt(vs++):il],!Ah||(Dr=Ah(Gr,Ki,Dr))<0)return-1}else if(il!=Ki.charCodeAt(Dr++))return-1}return Dr}function Jn(Gr,Ui,Ki){var Dr=jt.exec(Ui.slice(Ki));return Dr?(Gr.p=Gt[Dr[0].toLowerCase()],Ki+Dr[0].length):-1}function sr(Gr,Ui,Ki){var Dr=me.exec(Ui.slice(Ki));return Dr?(Gr.w=Se[Dr[0].toLowerCase()],Ki+Dr[0].length):-1}function Kn(Gr,Ui,Ki){var Dr=Zt.exec(Ui.slice(Ki));return Dr?(Gr.w=qt[Dr[0].toLowerCase()],Ki+Dr[0].length):-1}function rn(Gr,Ui,Ki){var Dr=Le.exec(Ui.slice(Ki));return Dr?(Gr.m=en[Dr[0].toLowerCase()],Ki+Dr[0].length):-1}function Hn(Gr,Ui,Ki){var Dr=Ee.exec(Ui.slice(Ki));return Dr?(Gr.m=Pe[Dr[0].toLowerCase()],Ki+Dr[0].length):-1}function Tr(Gr,Ui,Ki){return gr(Gr,a,Ui,Ki)}function jn(Gr,Ui,Ki){return gr(Gr,M,Ui,Ki)}function vr(Gr,Ui,Ki){return gr(Gr,V,Ui,Ki)}function Qr(Gr){return wt[Gr.getDay()]}function Kr(Gr){return gt[Gr.getDay()]}function li(Gr){return It[Gr.getMonth()]}function Ri(Gr){return Et[Gr.getMonth()]}function Li(Gr){return it[+(Gr.getHours()>=12)]}function Ko(Gr){return 1+~~(Gr.getMonth()/3)}function Do(Gr){return wt[Gr.getUTCDay()]}function ho(Gr){return gt[Gr.getUTCDay()]}function Ta(Gr){return It[Gr.getUTCMonth()]}function _u(Gr){return Et[Gr.getUTCMonth()]}function wu(Gr){return it[+(Gr.getUTCHours()>=12)]}function Ku(Gr){return 1+~~(Gr.getUTCMonth()/3)}return{format:function(Gr){var Ui=zn(Gr+="",Ye);return Ui.toString=function(){return Gr},Ui},parse:function(Gr){var Ui=Ln(Gr+="",!1);return Ui.toString=function(){return Gr},Ui},utcFormat:function(Gr){var Ui=zn(Gr+="",Je);return Ui.toString=function(){return Gr},Ui},utcParse:function(Gr){var Ui=Ln(Gr+="",!0);return Ui.toString=function(){return Gr},Ui}}}var e_={"-":"",_:" ",0:"0"},ts=/^\s*\d+/,Z3=/^%/,Q3=/[\\^$*+?|[\]().{}]/g;function co(n,a,M){var V=n<0?"-":"",it=(V?-n:n)+"",gt=it.length;return V+(gt68?1900:2e3),M+V[0].length):-1}function r_(n,a,M){var V=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(M,M+6));return V?(n.Z=V[1]?0:-(V[2]+(V[3]||"00")),M+V[0].length):-1}function zE(n,a,M){var V=ts.exec(a.slice(M,M+1));return V?(n.q=V[0]*3-3,M+V[0].length):-1}function Sm(n,a,M){var V=ts.exec(a.slice(M,M+2));return V?(n.m=V[0]-1,M+V[0].length):-1}function c1(n,a,M){var V=ts.exec(a.slice(M,M+2));return V?(n.d=+V[0],M+V[0].length):-1}function tk(n,a,M){var V=ts.exec(a.slice(M,M+3));return V?(n.m=0,n.d=+V[0],M+V[0].length):-1}function HE(n,a,M){var V=ts.exec(a.slice(M,M+2));return V?(n.H=+V[0],M+V[0].length):-1}function Fc(n,a,M){var V=ts.exec(a.slice(M,M+2));return V?(n.M=+V[0],M+V[0].length):-1}function Nf(n,a,M){var V=ts.exec(a.slice(M,M+2));return V?(n.S=+V[0],M+V[0].length):-1}function i_(n,a,M){var V=ts.exec(a.slice(M,M+3));return V?(n.L=+V[0],M+V[0].length):-1}function Eh(n,a,M){var V=ts.exec(a.slice(M,M+6));return V?(n.L=Math.floor(V[0]/1e3),M+V[0].length):-1}function o_(n,a,M){var V=Z3.exec(a.slice(M,M+1));return V?M+V[0].length:-1}function ek(n,a,M){var V=ts.exec(a.slice(M));return V?(n.Q=+V[0],M+V[0].length):-1}function nk(n,a,M){var V=ts.exec(a.slice(M));return V?(n.s=+V[0],M+V[0].length):-1}function h1(n,a){return co(n.getDate(),a,2)}function f1(n,a){return co(n.getHours(),a,2)}function UE(n,a){return co(n.getHours()%12||12,a,2)}function W0(n,a){return co(1+L0.count(Pf(n),n),a,3)}function VE(n,a){return co(n.getMilliseconds(),a,3)}function WE(n,a){return VE(n,a)+"000"}function rk(n,a){return co(n.getMonth()+1,a,2)}function Y0(n,a){return co(n.getMinutes(),a,2)}function bl(n,a){return co(n.getSeconds(),a,2)}function gu(n){var a=n.getDay();return a===0?7:a}function yu(n,a){return co(D0.count(Pf(n)-1,n),a,2)}function el(n){var a=n.getDay();return a>=4||a===0?pu(n):pu.ceil(n)}function a_(n,a){return n=el(n),co(pu.count(Pf(n),n)+(Pf(n).getDay()===4),a,2)}function G0(n){return n.getDay()}function Cm(n,a){return co(R0.count(Pf(n)-1,n),a,2)}function X0(n,a){return co(n.getFullYear()%100,a,2)}function ik(n,a){return n=el(n),co(n.getFullYear()%100,a,2)}function YE(n,a){return co(n.getFullYear()%1e4,a,4)}function q0(n,a){var M=n.getDay();return n=M>=4||M===0?pu(n):pu.ceil(n),co(n.getFullYear()%1e4,a,4)}function ok(n){var a=n.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+co(a/60|0,"0",2)+co(a%60,"0",2)}function s_(n,a){return co(n.getUTCDate(),a,2)}function GE(n,a){return co(n.getUTCHours(),a,2)}function ak(n,a){return co(n.getUTCHours()%12||12,a,2)}function sk(n,a){return co(1+l1.count(Gd(n),n),a,3)}function XE(n,a){return co(n.getUTCMilliseconds(),a,3)}function lk(n,a){return XE(n,a)+"000"}function uk(n,a){return co(n.getUTCMonth()+1,a,2)}function ck(n,a){return co(n.getUTCMinutes(),a,2)}function hk(n,a){return co(n.getUTCSeconds(),a,2)}function fk(n){var a=n.getUTCDay();return a===0?7:a}function dk(n,a){return co(B0.count(Gd(n)-1,n),a,2)}function qE(n){var a=n.getUTCDay();return a>=4||a===0?Ic(n):Ic.ceil(n)}function pk(n,a){return n=qE(n),co(Ic.count(Gd(n),n)+(Gd(n).getUTCDay()===4),a,2)}function mk(n){return n.getUTCDay()}function gk(n,a){return co(j0.count(Gd(n)-1,n),a,2)}function yk(n,a){return co(n.getUTCFullYear()%100,a,2)}function $E(n,a){return n=qE(n),co(n.getUTCFullYear()%100,a,2)}function KE(n,a){return co(n.getUTCFullYear()%1e4,a,4)}function ZE(n,a){var M=n.getUTCDay();return n=M>=4||M===0?Ic(n):Ic.ceil(n),co(n.getUTCFullYear()%1e4,a,4)}function x5(){return"+0000"}function $0(){return"%"}function QE(n){return+n}function l_(n){return Math.floor(+n/1e3)}var nl,Df,d1,K0,u_;c_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function c_(n){return nl=jE(n),Df=nl.format,d1=nl.parse,K0=nl.utcFormat,u_=nl.utcParse,nl}var Z0=1e3,Q0=Z0*60,Tm=Q0*60,J0=Tm*24,JE=J0*7,tS=J0*30,h_=J0*365;function vk(n){return new Date(n)}function xk(n){return n instanceof Date?+n:+new Date(+n)}function f_(n,a,M,V,it,gt,wt,Et,It){var jt=e1(ps,ps),Gt=jt.invert,Zt=jt.domain,qt=It(".%L"),me=It(":%S"),Se=It("%I:%M"),Ee=It("%I %p"),Pe=It("%a %d"),Le=It("%b %d"),en=It("%B"),Ye=It("%Y"),Je=[[wt,1,Z0],[wt,5,5*Z0],[wt,15,15*Z0],[wt,30,30*Z0],[gt,1,Q0],[gt,5,5*Q0],[gt,15,15*Q0],[gt,30,30*Q0],[it,1,Tm],[it,3,3*Tm],[it,6,6*Tm],[it,12,12*Tm],[V,1,J0],[V,2,2*J0],[M,1,JE],[a,1,tS],[a,3,3*tS],[n,1,h_]];function kn(Ln){return(wt(Ln)1)&&(n-=Math.floor(n));var a=Math.abs(n-.5);return ny.h=360*n-100,ny.s=1.5-1.5*a,ny.l=.8-.9*a,ny+""}var x1=bo(),Kk=Math.PI/3,Zk=Math.PI*2/3;function Qk(n){var a;return n=(.5-n)*Math.PI,x1.r=255*(a=Math.sin(n))*a,x1.g=255*(a=Math.sin(n+Kk))*a,x1.b=255*(a=Math.sin(n+Zk))*a,x1+""}function b1(n){return n=Math.max(0,Math.min(1,n)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+n*(1172.33-n*(10793.56-n*(33300.12-n*(38394.49-n*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+n*(557.33+n*(1225.33-n*(3574.96-n*(1073.77+n*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+n*(3211.1-n*(15327.97-n*(27814-n*(22569.18-n*6838.66)))))))+")"}function _1(n){var a=n.length;return function(M){return n[Math.max(0,Math.min(a-1,Math.floor(M*a)))]}}const Jk=_1(zi("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var tA=_1(zi("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),LS=_1(zi("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),eA=_1(zi("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function IS(n){return qe(fr(n).call(document.documentElement))}var nA=0;function FS(){return new M_}function M_(){this._="@"+(++nA).toString(36)}M_.prototype=FS.prototype={constructor:M_,get:function(n){for(var a=this._;!(a in n);)if(!(n=n.parentNode))return;return n[a]},set:function(n,a){return n[this._]=a},remove:function(n){return this._ in n&&delete n[this._]},toString:function(){return this._}};function rA(n){return typeof n=="string"?new be([document.querySelectorAll(n)],[document.documentElement]):new be([n==null?[]:n],ce)}function iA(n,a){a==null&&(a=qn().touches);for(var M=0,V=a?a.length:0,it=new Array(V);M1?0:n<-1?Ch:Math.acos(n)}function k_(n){return n>=1?E1:n<=-1?-E1:Math.asin(n)}function zS(n){return n.innerRadius}function aA(n){return n.outerRadius}function HS(n){return n.startAngle}function E5(n){return n.endAngle}function sA(n){return n&&n.padAngle}function US(n,a,M,V,it,gt,wt,Et){var It=M-n,jt=V-a,Gt=wt-it,Zt=Et-gt,qt=Zt*It-Gt*jt;if(!(qt*qtTr*Tr+jn*jn&&(gr=sr,Jn=Kn),{cx:gr,cy:Jn,x01:-Gt,y01:-Zt,x11:gr*(it/kn-1),y11:Jn*(it/kn-1)}}function lA(){var n=zS,a=aA,M=$i(0),V=null,it=HS,gt=E5,wt=sA,Et=null;function It(){var jt,Gt,Zt=+n.apply(this,arguments),qt=+a.apply(this,arguments),me=it.apply(this,arguments)-E1,Se=gt.apply(this,arguments)-E1,Ee=BS(Se-me),Pe=Se>me;if(Et||(Et=jt=hl()),qtPs))Et.moveTo(0,0);else if(Ee>Ff-Ps)Et.moveTo(qt*If(me),qt*xu(me)),Et.arc(0,0,qt,me,Se,!Pe),Zt>Ps&&(Et.moveTo(Zt*If(Se),Zt*xu(Se)),Et.arc(0,0,Zt,Se,me,Pe));else{var Le=me,en=Se,Ye=me,Je=Se,kn=Ee,zn=Ee,Ln=wt.apply(this,arguments)/2,gr=Ln>Ps&&(V?+V.apply(this,arguments):Sh(Zt*Zt+qt*qt)),Jn=w1(BS(qt-Zt)/2,+M.apply(this,arguments)),sr=Jn,Kn=Jn,rn,Hn;if(gr>Ps){var Tr=k_(gr/Zt*xu(Ln)),jn=k_(gr/qt*xu(Ln));(kn-=Tr*2)>Ps?(Tr*=Pe?1:-1,Ye+=Tr,Je-=Tr):(kn=0,Ye=Je=(me+Se)/2),(zn-=jn*2)>Ps?(jn*=Pe?1:-1,Le+=jn,en-=jn):(zn=0,Le=en=(me+Se)/2)}var vr=qt*If(Le),Qr=qt*xu(Le),Kr=Zt*If(Je),li=Zt*xu(Je);if(Jn>Ps){var Ri=qt*If(en),Li=qt*xu(en),Ko=Zt*If(Ye),Do=Zt*xu(Ye),ho;if(EePs?Kn>Ps?(rn=Am(Ko,Do,vr,Qr,qt,Kn,Pe),Hn=Am(Ri,Li,Kr,li,qt,Kn,Pe),Et.moveTo(rn.cx+rn.x01,rn.cy+rn.y01),KnPs)||!(kn>Ps)?Et.lineTo(Kr,li):sr>Ps?(rn=Am(Kr,li,Ri,Li,Zt,-sr,Pe),Hn=Am(vr,Qr,Ko,Do,Zt,-sr,Pe),Et.lineTo(rn.cx+rn.x01,rn.cy+rn.y01),sr=qt;--me)Et.point(en[me],Ye[me]);Et.lineEnd(),Et.areaEnd()}Pe&&(en[Zt]=+n(Ee,Zt,Gt),Ye[Zt]=+M(Ee,Zt,Gt),Et.point(a?+a(Ee,Zt,Gt):en[Zt],V?+V(Ee,Zt,Gt):Ye[Zt]))}if(Le)return Et=null,Le+""||null}function jt(){return N_().defined(it).curve(wt).context(gt)}return It.x=function(Gt){return arguments.length?(n=typeof Gt=="function"?Gt:$i(+Gt),a=null,It):n},It.x0=function(Gt){return arguments.length?(n=typeof Gt=="function"?Gt:$i(+Gt),It):n},It.x1=function(Gt){return arguments.length?(a=Gt==null?null:typeof Gt=="function"?Gt:$i(+Gt),It):a},It.y=function(Gt){return arguments.length?(M=typeof Gt=="function"?Gt:$i(+Gt),V=null,It):M},It.y0=function(Gt){return arguments.length?(M=typeof Gt=="function"?Gt:$i(+Gt),It):M},It.y1=function(Gt){return arguments.length?(V=Gt==null?null:typeof Gt=="function"?Gt:$i(+Gt),It):V},It.lineX0=It.lineY0=function(){return jt().x(n).y(M)},It.lineY1=function(){return jt().x(n).y(V)},It.lineX1=function(){return jt().x(a).y(M)},It.defined=function(Gt){return arguments.length?(it=typeof Gt=="function"?Gt:$i(!!Gt),It):it},It.curve=function(Gt){return arguments.length?(wt=Gt,gt!=null&&(Et=wt(gt)),It):wt},It.context=function(Gt){return arguments.length?(Gt==null?gt=Et=null:Et=wt(gt=Gt),It):gt},It}function VS(n,a){return an?1:a>=n?0:NaN}function uA(n){return n}function cA(){var n=uA,a=VS,M=null,V=$i(0),it=$i(Ff),gt=$i(0);function wt(Et){var It,jt=Et.length,Gt,Zt,qt=0,me=new Array(jt),Se=new Array(jt),Ee=+V.apply(this,arguments),Pe=Math.min(Ff,Math.max(-Ff,it.apply(this,arguments)-Ee)),Le,en=Math.min(Math.abs(Pe)/jt,gt.apply(this,arguments)),Ye=en*(Pe<0?-1:1),Je;for(It=0;It0&&(qt+=Je);for(a!=null?me.sort(function(kn,zn){return a(Se[kn],Se[zn])}):M!=null&&me.sort(function(kn,zn){return M(Et[kn],Et[zn])}),It=0,Zt=qt?(Pe-jt*Ye)/qt:0;It0?Je*Zt:0)+Ye,Se[Gt]={data:Et[Gt],index:It,value:Je,startAngle:Ee,endAngle:Le,padAngle:en};return Se}return wt.value=function(Et){return arguments.length?(n=typeof Et=="function"?Et:$i(+Et),wt):n},wt.sortValues=function(Et){return arguments.length?(a=Et,M=null,wt):a},wt.sort=function(Et){return arguments.length?(M=Et,a=null,wt):M},wt.startAngle=function(Et){return arguments.length?(V=typeof Et=="function"?Et:$i(+Et),wt):V},wt.endAngle=function(Et){return arguments.length?(it=typeof Et=="function"?Et:$i(+Et),wt):it},wt.padAngle=function(Et){return arguments.length?(gt=typeof Et=="function"?Et:$i(+Et),wt):gt},wt}var WS=R_(ry);function D_(n){this._curve=n}D_.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(n,a){this._curve.point(a*Math.sin(n),a*-Math.cos(n))}};function R_(n){function a(M){return new D_(n(M))}return a._curve=n,a}function Pm(n){var a=n.curve;return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n.curve=function(M){return arguments.length?a(R_(M)):a()._curve},n}function $u(){return Pm(N_().curve(WS))}function YS(){var n=iy().curve(WS),a=n.curve,M=n.lineX0,V=n.lineX1,it=n.lineY0,gt=n.lineY1;return n.angle=n.x,delete n.x,n.startAngle=n.x0,delete n.x0,n.endAngle=n.x1,delete n.x1,n.radius=n.y,delete n.y,n.innerRadius=n.y0,delete n.y0,n.outerRadius=n.y1,delete n.y1,n.lineStartAngle=function(){return Pm(M())},delete n.lineX0,n.lineEndAngle=function(){return Pm(V())},delete n.lineX1,n.lineInnerRadius=function(){return Pm(it())},delete n.lineY0,n.lineOuterRadius=function(){return Pm(gt())},delete n.lineY1,n.curve=function(wt){return arguments.length?a(R_(wt)):a()._curve},n}function oy(n,a){return[(a=+a)*Math.cos(n-=Math.PI/2),a*Math.sin(n)]}var L_=Array.prototype.slice;function hA(n){return n.source}function fA(n){return n.target}function I_(n){var a=hA,M=fA,V=P_,it=O_,gt=null;function wt(){var Et,It=L_.call(arguments),jt=a.apply(this,It),Gt=M.apply(this,It);if(gt||(gt=Et=hl()),n(gt,+V.apply(this,(It[0]=jt,It)),+it.apply(this,It),+V.apply(this,(It[0]=Gt,It)),+it.apply(this,It)),Et)return gt=null,Et+""||null}return wt.source=function(Et){return arguments.length?(a=Et,wt):a},wt.target=function(Et){return arguments.length?(M=Et,wt):M},wt.x=function(Et){return arguments.length?(V=typeof Et=="function"?Et:$i(+Et),wt):V},wt.y=function(Et){return arguments.length?(it=typeof Et=="function"?Et:$i(+Et),wt):it},wt.context=function(Et){return arguments.length?(gt=Et==null?null:Et,wt):gt},wt}function dA(n,a,M,V,it){n.moveTo(a,M),n.bezierCurveTo(a=(a+V)/2,M,a,it,V,it)}function pA(n,a,M,V,it){n.moveTo(a,M),n.bezierCurveTo(a,M=(M+it)/2,V,M,V,it)}function F_(n,a,M,V,it){var gt=oy(a,M),wt=oy(a,M=(M+it)/2),Et=oy(V,M),It=oy(V,it);n.moveTo(gt[0],gt[1]),n.bezierCurveTo(wt[0],wt[1],Et[0],Et[1],It[0],It[1])}function GS(){return I_(dA)}function mA(){return I_(pA)}function gA(){var n=I_(F_);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}const ay={draw:function(n,a){var M=Math.sqrt(a/Ch);n.moveTo(M,0),n.arc(0,0,M,0,Ff)}},B_={draw:function(n,a){var M=Math.sqrt(a/5)/2;n.moveTo(-3*M,-M),n.lineTo(-M,-M),n.lineTo(-M,-3*M),n.lineTo(M,-3*M),n.lineTo(M,-M),n.lineTo(3*M,-M),n.lineTo(3*M,M),n.lineTo(M,M),n.lineTo(M,3*M),n.lineTo(-M,3*M),n.lineTo(-M,M),n.lineTo(-3*M,M),n.closePath()}};var j_=Math.sqrt(1/3),XS=j_*2;const sy={draw:function(n,a){var M=Math.sqrt(a/XS),V=M*j_;n.moveTo(0,-M),n.lineTo(V,0),n.lineTo(0,M),n.lineTo(-V,0),n.closePath()}};var Th=.8908130915292852,qS=Math.sin(Ch/10)/Math.sin(7*Ch/10),$S=Math.sin(Ff/10)*qS,yA=-Math.cos(Ff/10)*qS;const KS={draw:function(n,a){var M=Math.sqrt(a*Th),V=$S*M,it=yA*M;n.moveTo(0,-M),n.lineTo(V,it);for(var gt=1;gt<5;++gt){var wt=Ff*gt/5,Et=Math.cos(wt),It=Math.sin(wt);n.lineTo(It*M,-Et*M),n.lineTo(Et*V-It*it,It*V+Et*it)}n.closePath()}},z_={draw:function(n,a){var M=Math.sqrt(a),V=-M/2;n.rect(V,V,M,M)}};var H_=Math.sqrt(3);const ly={draw:function(n,a){var M=-Math.sqrt(a/(H_*3));n.moveTo(0,M*2),n.lineTo(-H_*M,-M),n.lineTo(H_*M,-M),n.closePath()}};var _l=-.5,bu=Math.sqrt(3)/2,U_=1/Math.sqrt(12),S1=(U_/2+1)*3;const ZS={draw:function(n,a){var M=Math.sqrt(a/S1),V=M/2,it=M*U_,gt=V,wt=M*U_+M,Et=-gt,It=wt;n.moveTo(V,it),n.lineTo(gt,wt),n.lineTo(Et,It),n.lineTo(_l*V-bu*it,bu*V+_l*it),n.lineTo(_l*gt-bu*wt,bu*gt+_l*wt),n.lineTo(_l*Et-bu*It,bu*Et+_l*It),n.lineTo(_l*V+bu*it,_l*it-bu*V),n.lineTo(_l*gt+bu*wt,_l*wt-bu*gt),n.lineTo(_l*Et+bu*It,_l*It-bu*Et),n.closePath()}};var QS=[ay,B_,sy,z_,KS,ly,ZS];function vA(){var n=$i(ay),a=$i(64),M=null;function V(){var it;if(M||(M=it=hl()),n.apply(this,arguments).draw(M,+a.apply(this,arguments)),it)return M=null,it+""||null}return V.type=function(it){return arguments.length?(n=typeof it=="function"?it:$i(it),V):n},V.size=function(it){return arguments.length?(a=typeof it=="function"?it:$i(+it),V):a},V.context=function(it){return arguments.length?(M=it==null?null:it,V):M},V}function Mh(){}function Bc(n,a,M){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+a)/6,(n._y0+4*n._y1+M)/6)}function Om(n){this._context=n}Om.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:Bc(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);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:Bc(this,n,a);break}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=a}};function xA(n){return new Om(n)}function JS(n){this._context=n}JS.prototype={areaStart:Mh,areaEnd:Mh,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._x2=n,this._y2=a;break;case 1:this._point=2,this._x3=n,this._y3=a;break;case 2:this._point=3,this._x4=n,this._y4=a,this._context.moveTo((this._x0+4*this._x1+n)/6,(this._y0+4*this._y1+a)/6);break;default:Bc(this,n,a);break}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=a}};function bA(n){return new JS(n)}function tC(n){this._context=n}tC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var M=(this._x0+4*this._x1+n)/6,V=(this._y0+4*this._y1+a)/6;this._line?this._context.lineTo(M,V):this._context.moveTo(M,V);break;case 3:this._point=4;default:Bc(this,n,a);break}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=a}};function _A(n){return new tC(n)}function uy(n,a){this._basis=new Om(n),this._beta=a}uy.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,a=this._y,M=n.length-1;if(M>0)for(var V=n[0],it=a[0],gt=n[M]-V,wt=a[M]-it,Et=-1,It;++Et<=M;)It=Et/M,this._basis.point(this._beta*n[Et]+(1-this._beta)*(V+It*gt),this._beta*a[Et]+(1-this._beta)*(it+It*wt));this._x=this._y=null,this._basis.lineEnd()},point:function(n,a){this._x.push(+n),this._y.push(+a)}};const C1=function n(a){function M(V){return a===1?new Om(V):new uy(V,a)}return M.beta=function(V){return n(+V)},M}(.85);function T1(n,a,M){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-a),n._y2+n._k*(n._y1-M),n._x2,n._y2)}function Qd(n,a){this._context=n,this._k=(1-a)/6}Qd.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:T1(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2,this._x1=n,this._y1=a;break;case 2:this._point=3;default:T1(this,n,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const eC=function n(a){function M(V){return new Qd(V,a)}return M.tension=function(V){return n(+V)},M}(0);function V_(n,a){this._context=n,this._k=(1-a)/6}V_.prototype={areaStart:Mh,areaEnd:Mh,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._x3=n,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=a);break;case 2:this._point=3,this._x5=n,this._y5=a;break;default:T1(this,n,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const wA=function n(a){function M(V){return new V_(V,a)}return M.tension=function(V){return n(+V)},M}(0);function W_(n,a){this._context=n,this._k=(1-a)/6}W_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,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:T1(this,n,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const nC=function n(a){function M(V){return new W_(V,a)}return M.tension=function(V){return n(+V)},M}(0);function Y_(n,a,M){var V=n._x1,it=n._y1,gt=n._x2,wt=n._y2;if(n._l01_a>Ps){var Et=2*n._l01_2a+3*n._l01_a*n._l12_a+n._l12_2a,It=3*n._l01_a*(n._l01_a+n._l12_a);V=(V*Et-n._x0*n._l12_2a+n._x2*n._l01_2a)/It,it=(it*Et-n._y0*n._l12_2a+n._y2*n._l01_2a)/It}if(n._l23_a>Ps){var jt=2*n._l23_2a+3*n._l23_a*n._l12_a+n._l12_2a,Gt=3*n._l23_a*(n._l23_a+n._l12_a);gt=(gt*jt+n._x1*n._l23_2a-a*n._l12_2a)/Gt,wt=(wt*jt+n._y1*n._l23_2a-M*n._l12_2a)/Gt}n._context.bezierCurveTo(V,it,gt,wt,n._x2,n._y2)}function rC(n,a){this._context=n,this._alpha=a}rC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){if(n=+n,a=+a,this._point){var M=this._x2-n,V=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(M*M+V*V,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2;break;case 2:this._point=3;default:Y_(this,n,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const iC=function n(a){function M(V){return a?new rC(V,a):new Qd(V,0)}return M.alpha=function(V){return n(+V)},M}(.5);function oC(n,a){this._context=n,this._alpha=a}oC.prototype={areaStart:Mh,areaEnd:Mh,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(n,a){if(n=+n,a=+a,this._point){var M=this._x2-n,V=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(M*M+V*V,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=n,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=a);break;case 2:this._point=3,this._x5=n,this._y5=a;break;default:Y_(this,n,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const EA=function n(a){function M(V){return a?new oC(V,a):new V_(V,0)}return M.alpha=function(V){return n(+V)},M}(.5);function aC(n,a){this._context=n,this._alpha=a}aC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){if(n=+n,a=+a,this._point){var M=this._x2-n,V=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(M*M+V*V,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:Y_(this,n,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const SA=function n(a){function M(V){return a?new aC(V,a):new W_(V,0)}return M.alpha=function(V){return n(+V)},M}(.5);function G_(n){this._context=n}G_.prototype={areaStart:Mh,areaEnd:Mh,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(n,a){n=+n,a=+a,this._point?this._context.lineTo(n,a):(this._point=1,this._context.moveTo(n,a))}};function X_(n){return new G_(n)}function cy(n){return n<0?-1:1}function sC(n,a,M){var V=n._x1-n._x0,it=a-n._x1,gt=(n._y1-n._y0)/(V||it<0&&-0),wt=(M-n._y1)/(it||V<0&&-0),Et=(gt*it+wt*V)/(V+it);return(cy(gt)+cy(wt))*Math.min(Math.abs(gt),Math.abs(wt),.5*Math.abs(Et))||0}function CA(n,a){var M=n._x1-n._x0;return M?(3*(n._y1-n._y0)/M-a)/2:a}function q_(n,a,M){var V=n._x0,it=n._y0,gt=n._x1,wt=n._y1,Et=(gt-V)/3;n._context.bezierCurveTo(V+Et,it+Et*a,gt-Et,wt-Et*M,gt,wt)}function hy(n){this._context=n}hy.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:q_(this,this._t0,CA(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){var M=NaN;if(n=+n,a=+a,!(n===this._x1&&a===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2;break;case 2:this._point=3,q_(this,CA(this,M=sC(this,n,a)),M);break;default:q_(this,this._t0,M=sC(this,n,a));break}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=a,this._t0=M}}};function lC(n){this._context=new $_(n)}(lC.prototype=Object.create(hy.prototype)).point=function(n,a){hy.prototype.point.call(this,a,n)};function $_(n){this._context=n}$_.prototype={moveTo:function(n,a){this._context.moveTo(a,n)},closePath:function(){this._context.closePath()},lineTo:function(n,a){this._context.lineTo(a,n)},bezierCurveTo:function(n,a,M,V,it,gt){this._context.bezierCurveTo(a,n,V,M,gt,it)}};function Os(n){return new hy(n)}function TA(n){return new lC(n)}function MA(n){this._context=n}MA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var n=this._x,a=this._y,M=n.length;if(M)if(this._line?this._context.lineTo(n[0],a[0]):this._context.moveTo(n[0],a[0]),M===2)this._context.lineTo(n[1],a[1]);else for(var V=M1(n),it=M1(a),gt=0,wt=1;wt=0;--a)it[a]=(wt[a]-it[a+1])/gt[a];for(gt[M-1]=(n[M]+it[M-1])/2,a=0;a=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,a),this._context.lineTo(n,a);else{var M=this._x*(1-this._t)+n*this._t;this._context.lineTo(M,this._y),this._context.lineTo(M,a)}break}}this._x=n,this._y=a}};function AA(n){return new va(n,.5)}function PA(n){return new va(n,0)}function OA(n){return new va(n,1)}function Yl(n,a){if((wt=n.length)>1)for(var M=1,V,it,gt=n[a[0]],wt,Et=gt.length;M=0;)M[a]=a;return M}function uC(n,a){return n[a]}function NA(){var n=$i([]),a=Nm,M=Yl,V=uC;function it(gt){var wt=n.apply(this,arguments),Et,It=gt.length,jt=wt.length,Gt=new Array(jt),Zt;for(Et=0;Et0){for(var M,V,it=0,gt=n[0].length,wt;it0)for(var M,V=0,it,gt,wt,Et,It,jt=n[a[0]].length;V0?(it[0]=wt,it[1]=wt+=gt):gt<0?(it[1]=Et,it[0]=Et+=gt):(it[0]=0,it[1]=gt)}function RA(n,a){if((it=n.length)>0){for(var M=0,V=n[a[0]],it,gt=V.length;M0)||!((gt=(it=n[a[0]]).length)>0))){for(var M=0,V=1,it,gt,wt;Vgt&&(gt=it,M=a);return M}function Dm(n){var a=n.map(k1);return Nm(n).sort(function(M,V){return a[M]-a[V]})}function k1(n){for(var a=0,M=-1,V=n.length,it;++M0)){if(Ee/=me,me<0){if(Ee0){if(Ee>qt)return;Ee>Zt&&(Zt=Ee)}if(Ee=V-Et,!(!me&&Ee<0)){if(Ee/=me,me<0){if(Ee>qt)return;Ee>Zt&&(Zt=Ee)}else if(me>0){if(Ee0)){if(Ee/=Se,Se<0){if(Ee0){if(Ee>qt)return;Ee>Zt&&(Zt=Ee)}if(Ee=it-It,!(!Se&&Ee<0)){if(Ee/=Se,Se<0){if(Ee>qt)return;Ee>Zt&&(Zt=Ee)}else if(Se>0){if(Ee0)&&!(qt<1)||(Zt>0&&(n[0]=[Et+Zt*me,It+Zt*Se]),qt<1&&(n[1]=[Et+qt*me,It+qt*Se])),!0}}}}}function WA(n,a,M,V,it){var gt=n[1];if(gt)return!0;var wt=n[0],Et=n.left,It=n.right,jt=Et[0],Gt=Et[1],Zt=It[0],qt=It[1],me=(jt+Zt)/2,Se=(Gt+qt)/2,Ee,Pe;if(qt===Gt){if(me=V)return;if(jt>Zt){if(!wt)wt=[me,M];else if(wt[1]>=it)return;gt=[me,it]}else{if(!wt)wt=[me,it];else if(wt[1]1)if(jt>Zt){if(!wt)wt=[(M-Pe)/Ee,M];else if(wt[1]>=it)return;gt=[(it-Pe)/Ee,it]}else{if(!wt)wt=[(it-Pe)/Ee,it];else if(wt[1]=V)return;gt=[V,Ee*V+Pe]}else{if(!wt)wt=[V,Ee*V+Pe];else if(wt[0]jo||Math.abs(gt[0][1]-gt[1][1])>jo))&&delete es[it]}function S5(n){return Ns[n.index]={site:n,halfedges:[]}}function gC(n,a){var M=n.site,V=a.left,it=a.right;return M===it&&(it=V,V=M),it?Math.atan2(it[1]-V[1],it[0]-V[0]):(M===V?(V=a[1],it=a[0]):(V=a[0],it=a[1]),Math.atan2(V[0]-it[0],it[1]-V[1]))}function Bf(n,a){return a[+(a.left!==n.site)]}function yC(n,a){return a[+(a.left===n.site)]}function GA(){for(var n=0,a=Ns.length,M,V,it,gt;njo||Math.abs(Pe-me)>jo)&&(jt.splice(It,0,es.push(tp(Et,Se,Math.abs(Ee-n)jo?[n,Math.abs(qt-n)jo?[Math.abs(me-V)jo?[M,Math.abs(qt-M)jo?[Math.abs(me-a)=-T5)){var me=It*It+jt*jt,Se=Gt*Gt+Zt*Zt,Ee=(Zt*me-jt*Se)/qt,Pe=(It*Se-Gt*me)/qt,Le=xC.pop()||new bC;Le.arc=n,Le.site=it,Le.x=Ee+wt,Le.y=(Le.cy=Pe+Et)+Math.sqrt(Ee*Ee+Pe*Pe),n.circle=Le;for(var en=null,Ye=Lm._;Ye;)if(Le.yjo)Et=Et.L;else if(wt=a-C5(Et,M),wt>jo){if(!Et.R){V=Et;break}Et=Et.R}else{gt>-jo?(V=Et.P,it=Et):wt>-jo?(V=Et,it=Et.N):V=it=Et;break}S5(n);var It=wC(n);if(gy.insert(V,It),!(!V&&!it)){if(V===it){Gl(V),it=wC(V.site),gy.insert(It,it),It.edge=it.edge=Jd(V.site,It.site),my(V),my(it);return}if(!it){It.edge=Jd(V.site,It.site);return}Gl(V),Gl(it);var jt=V.site,Gt=jt[0],Zt=jt[1],qt=n[0]-Gt,me=n[1]-Zt,Se=it.site,Ee=Se[0]-Gt,Pe=Se[1]-Zt,Le=2*(qt*Pe-me*Ee),en=qt*qt+me*me,Ye=Ee*Ee+Pe*Pe,Je=[(Pe*en-me*Ye)/Le+Gt,(qt*Ye-Ee*en)/Le+Zt];P1(it.edge,jt,Se,Je),It.edge=Jd(jt,n,null,Je),it.edge=Jd(n,Se,null,Je),my(V),my(it)}}function SC(n,a){var M=n.site,V=M[0],it=M[1],gt=it-a;if(!gt)return V;var wt=n.P;if(!wt)return-1/0;M=wt.site;var Et=M[0],It=M[1],jt=It-a;if(!jt)return Et;var Gt=Et-V,Zt=1/gt-1/jt,qt=Gt/jt;return Zt?(-qt+Math.sqrt(qt*qt-2*Zt*(Gt*Gt/(-2*jt)-It+jt/2+it-gt/2)))/Zt+V:(V+Et)/2}function C5(n,a){var M=n.N;if(M)return SC(M,a);var V=n.site;return V[1]===a?V[0]:1/0}var jo=1e-6,T5=1e-12,gy,Ns,Lm,es;function CC(n,a,M){return(n[0]-M[0])*(a[1]-n[1])-(n[0]-a[0])*(M[1]-n[1])}function XA(n,a){return a[1]-n[1]||a[0]-n[0]}function ew(n,a){var M=n.sort(XA).pop(),V,it,gt;for(es=[],Ns=new Array(n.length),gy=new A1,Lm=new A1;;)if(gt=py,M&&(!gt||M[1]=wt)return null;var It=n-Et.site[0],jt=a-Et.site[1],Gt=It*It+jt*jt;do Et=V.cells[it=gt],gt=null,Et.halfedges.forEach(function(Zt){var qt=V.edges[Zt],me=qt.left;if(!((me===Et.site||!me)&&!(me=qt.right))){var Se=n-me[0],Ee=a-me[1],Pe=Se*Se+Ee*Ee;PeV?(V+it)/2:Math.min(0,V)||Math.max(0,it),wt>gt?(gt+wt)/2:Math.min(0,gt)||Math.max(0,wt))}function qA(){var n=TC,a=k5,M=MC,V=rw,it=N1,gt=[0,1/0],wt=[[-1/0,-1/0],[1/0,1/0]],Et=250,It=nE,jt=F("start","zoom","end"),Gt,Zt,qt=500,me=150,Se=0;function Ee(rn){rn.property("__zoom",xy).on("wheel.zoom",zn).on("mousedown.zoom",Ln).on("dblclick.zoom",gr).filter(it).on("touchstart.zoom",Jn).on("touchmove.zoom",sr).on("touchend.zoom touchcancel.zoom",Kn).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}Ee.transform=function(rn,Hn,Tr){var jn=rn.selection?rn.selection():rn;jn.property("__zoom",xy),rn!==jn?Ye(rn,Hn,Tr):jn.interrupt().each(function(){Je(this,arguments).start().zoom(null,typeof Hn=="function"?Hn.apply(this,arguments):Hn).end()})},Ee.scaleBy=function(rn,Hn,Tr){Ee.scaleTo(rn,function(){var jn=this.__zoom.k,vr=typeof Hn=="function"?Hn.apply(this,arguments):Hn;return jn*vr},Tr)},Ee.scaleTo=function(rn,Hn,Tr){Ee.transform(rn,function(){var jn=a.apply(this,arguments),vr=this.__zoom,Qr=Tr==null?en(jn):typeof Tr=="function"?Tr.apply(this,arguments):Tr,Kr=vr.invert(Qr),li=typeof Hn=="function"?Hn.apply(this,arguments):Hn;return M(Le(Pe(vr,li),Qr,Kr),jn,wt)},Tr)},Ee.translateBy=function(rn,Hn,Tr){Ee.transform(rn,function(){return M(this.__zoom.translate(typeof Hn=="function"?Hn.apply(this,arguments):Hn,typeof Tr=="function"?Tr.apply(this,arguments):Tr),a.apply(this,arguments),wt)})},Ee.translateTo=function(rn,Hn,Tr,jn){Ee.transform(rn,function(){var vr=a.apply(this,arguments),Qr=this.__zoom,Kr=jn==null?en(vr):typeof jn=="function"?jn.apply(this,arguments):jn;return M(yy.translate(Kr[0],Kr[1]).scale(Qr.k).translate(typeof Hn=="function"?-Hn.apply(this,arguments):-Hn,typeof Tr=="function"?-Tr.apply(this,arguments):-Tr),vr,wt)},jn)};function Pe(rn,Hn){return Hn=Math.max(gt[0],Math.min(gt[1],Hn)),Hn===rn.k?rn:new Hi(Hn,rn.x,rn.y)}function Le(rn,Hn,Tr){var jn=Hn[0]-Tr[0]*rn.k,vr=Hn[1]-Tr[1]*rn.k;return jn===rn.x&&vr===rn.y?rn:new Hi(rn.k,jn,vr)}function en(rn){return[(+rn[0][0]+ +rn[1][0])/2,(+rn[0][1]+ +rn[1][1])/2]}function Ye(rn,Hn,Tr){rn.on("start.zoom",function(){Je(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){Je(this,arguments).end()}).tween("zoom",function(){var jn=this,vr=arguments,Qr=Je(jn,vr),Kr=a.apply(jn,vr),li=Tr==null?en(Kr):typeof Tr=="function"?Tr.apply(jn,vr):Tr,Ri=Math.max(Kr[1][0]-Kr[0][0],Kr[1][1]-Kr[0][1]),Li=jn.__zoom,Ko=typeof Hn=="function"?Hn.apply(jn,vr):Hn,Do=It(Li.invert(li).concat(Ri/Li.k),Ko.invert(li).concat(Ri/Ko.k));return function(ho){if(ho===1)ho=Ko;else{var Ta=Do(ho),_u=Ri/Ta[2];ho=new Hi(_u,li[0]-Ta[0]*_u,li[1]-Ta[1]*_u)}Qr.zoom(null,ho)}})}function Je(rn,Hn,Tr){return!Tr&&rn.__zooming||new kn(rn,Hn)}function kn(rn,Hn){this.that=rn,this.args=Hn,this.active=0,this.extent=a.apply(rn,Hn),this.taps=0}kn.prototype={start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(rn,Hn){return this.mouse&&rn!=="mouse"&&(this.mouse[1]=Hn.invert(this.mouse[0])),this.touch0&&rn!=="touch"&&(this.touch0[1]=Hn.invert(this.touch0[0])),this.touch1&&rn!=="touch"&&(this.touch1[1]=Hn.invert(this.touch1[0])),this.that.__zoom=Hn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(rn){Yt(new M5(Ee,rn,this.that.__zoom),jt.apply,jt,[rn,this.that,this.args])}};function zn(){if(!n.apply(this,arguments))return;var rn=Je(this,arguments),Hn=this.__zoom,Tr=Math.max(gt[0],Math.min(gt[1],Hn.k*Math.pow(2,V.apply(this,arguments)))),jn=Sr(this);if(rn.wheel)(rn.mouse[0][0]!==jn[0]||rn.mouse[0][1]!==jn[1])&&(rn.mouse[1]=Hn.invert(rn.mouse[0]=jn)),clearTimeout(rn.wheel);else{if(Hn.k===Tr)return;rn.mouse=[jn,Hn.invert(jn)],ic(this),rn.start()}ep(),rn.wheel=setTimeout(vr,me),rn.zoom("mouse",M(Le(Pe(Hn,Tr),rn.mouse[0],rn.mouse[1]),rn.extent,wt));function vr(){rn.wheel=null,rn.end()}}function Ln(){if(Zt||!n.apply(this,arguments))return;var rn=Je(this,arguments,!0),Hn=qe(br.view).on("mousemove.zoom",Qr,!0).on("mouseup.zoom",Kr,!0),Tr=Sr(this),jn=br.clientX,vr=br.clientY;Gn(br.view),vy(),rn.mouse=[Tr,this.__zoom.invert(Tr)],ic(this),rn.start();function Qr(){if(ep(),!rn.moved){var li=br.clientX-jn,Ri=br.clientY-vr;rn.moved=li*li+Ri*Ri>Se}rn.zoom("mouse",M(Le(rn.that.__zoom,rn.mouse[0]=Sr(rn.that),rn.mouse[1]),rn.extent,wt))}function Kr(){Hn.on("mousemove.zoom mouseup.zoom",null),hr(br.view,rn.moved),ep(),rn.end()}}function gr(){if(n.apply(this,arguments)){var rn=this.__zoom,Hn=Sr(this),Tr=rn.invert(Hn),jn=rn.k*(br.shiftKey?.5:2),vr=M(Le(Pe(rn,jn),Hn,Tr),a.apply(this,arguments),wt);ep(),Et>0?qe(this).transition().duration(Et).call(Ye,vr,Hn):qe(this).call(Ee.transform,vr)}}function Jn(){if(n.apply(this,arguments)){var rn=br.touches,Hn=rn.length,Tr=Je(this,arguments,br.changedTouches.length===Hn),jn,vr,Qr,Kr;for(vy(),vr=0;vr{"use strict";xt.d(pe,{V_:()=>ft,h1:()=>Y,ah:()=>I,Jj:()=>T,yl:()=>Mt,$A:()=>H,rG:()=>_,KS:()=>D,Xx:()=>C,JW:()=>l,T9:()=>c,i2:()=>E,JZ:()=>L,Am:()=>et,jk:()=>nt,AS:()=>X,Ny:()=>rt,YV:()=>s,y1:()=>w,SQ:()=>G,k4:()=>ut,cz:()=>F,c3:()=>N,Ft:()=>R,zr:()=>x,lq:()=>P,sG:()=>m,Zc:()=>y,mg:()=>B,GV:()=>A,yU:()=>ht});function ft(tt,ct){return ttct?1:tt>=ct?0:NaN}function Mt(tt){return tt.length===1&&(tt=W(tt)),{left:function(ct,U,J,K){for(J==null&&(J=0),K==null&&(K=ct.length);J>>1;tt(ct[q],U)<0?J=q+1:K=q}return J},right:function(ct,U,J,K){for(J==null&&(J=0),K==null&&(K=ct.length);J>>1;tt(ct[q],U)>0?K=q:J=q+1}return J}}}function W(tt){return function(ct,U){return ft(tt(ct),U)}}var u=Mt(ft),T=u.right,I=u.left;const Y=T;function X(tt,ct){ct==null&&(ct=Z);for(var U=0,J=tt.length-1,K=tt[0],q=new Array(J<0?0:J);Utt?1:ct>=tt?0:NaN}function j(tt){return tt===null?NaN:+tt}function A(tt,ct){var U=tt.length,J=0,K=-1,q=0,at,bt,mt=0;if(ct==null)for(;++K1)return mt/(J-1)}function D(tt,ct){var U=A(tt,ct);return U&&Math.sqrt(U)}function C(tt,ct){var U=tt.length,J=-1,K,q,at;if(ct==null){for(;++J=K)for(q=at=K;++JK&&(q=K),at=K)for(q=at=K;++JK&&(q=K),at0)return[tt];if((J=ct0)for(tt=Math.ceil(tt/bt),ct=Math.floor(ct/bt),at=new Array(q=Math.ceil(ct-tt+1));++K=0?(q>=b?10:q>=g?5:q>=p?2:1)*Math.pow(10,K):-Math.pow(10,-K)/(q>=b?10:q>=g?5:q>=p?2:1)}function m(tt,ct,U){var J=Math.abs(ct-tt)/Math.max(0,U),K=Math.pow(10,Math.floor(Math.log(J)/Math.LN10)),q=J/K;return q>=b?K*=10:q>=g?K*=5:q>=p&&(K*=2),ctNt;)Ft.pop(),--Ot;var At=new Array(Ot+1),St;for(q=0;q<=Ot;++q)St=At[q]=[],St.x0=q>0?Ft[q-1]:vt,St.x1=q=1)return+U(tt[J-1],J-1,tt);var J,K=(J-1)*ct,q=Math.floor(K),at=+U(tt[q],q,tt),bt=+U(tt[q+1],q+1,tt);return at+(bt-at)*(K-q)}}function N(tt,ct,U){return tt=k.call(tt,j).sort(ft),Math.ceil((U-ct)/(2*(s(tt,.75)-s(tt,.25))*Math.pow(tt.length,-.3333333333333333)))}function R(tt,ct,U){return Math.ceil((U-ct)/(3.5*D(tt)*Math.pow(tt.length,-.3333333333333333)))}function c(tt,ct){var U=tt.length,J=-1,K,q;if(ct==null){for(;++J=K)for(q=K;++Jq&&(q=K)}else for(;++J=K)for(q=K;++Jq&&(q=K);return q}function E(tt,ct){var U=tt.length,J=U,K=-1,q,at=0;if(ct==null)for(;++K=0;)for(at=tt[ct],U=at.length;--U>=0;)q[--K]=at[U];return q}function nt(tt,ct){var U=tt.length,J=-1,K,q;if(ct==null){for(;++J=K)for(q=K;++JK&&(q=K)}else for(;++J=K)for(q=K;++JK&&(q=K);return q}function rt(tt,ct){for(var U=ct.length,J=new Array(U);U--;)J[U]=tt[ct[U]];return J}function G(tt,ct){if(U=tt.length){var U,J=0,K=0,q,at=tt[K];for(ct==null&&(ct=ft);++J=x?m:""+Array(x+1-s.length).join(l)+m},o={s:d,z:function(m){var x=-m.utcOffset(),l=Math.abs(x),s=Math.floor(l/60),N=l%60;return(x<=0?"+":"-")+d(s,2,"0")+":"+d(N,2,"0")},m:function m(x,l){if(x.date()1)return m(c[0])}else{var E=x.name;S[E]=x,N=E}return!s&&N&&(k=N),N||!s&&k},g=function(m,x){if(w(m))return m.clone();var l=typeof x=="object"?x:{};return l.date=m,l.args=arguments,new y(l)},p=o;p.l=b,p.i=w,p.w=function(m,x){return g(m,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var y=function(){function m(l){this.$L=b(l.locale,null,!0),this.parse(l),this.$x=this.$x||l.x||{},this[h]=!0}var x=m.prototype;return x.parse=function(l){this.$d=function(s){var N=s.date,R=s.utc;if(N===null)return new Date(NaN);if(p.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var c=N.match(A);if(c){var E=c[2]-1||0,L=(c[7]||"0").substring(0,3);return R?new Date(Date.UTC(c[1],E,c[3]||1,c[4]||0,c[5]||0,c[6]||0,L)):new Date(c[1],E,c[3]||1,c[4]||0,c[5]||0,c[6]||0,L)}}return new Date(N)}(l),this.init()},x.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},x.$utils=function(){return p},x.isValid=function(){return this.$d.toString()!==j},x.isSame=function(l,s){var N=g(l);return this.startOf(s)<=N&&N<=this.endOf(s)},x.isAfter=function(l,s){return g(l)68?1900:2e3)},Y=function(A){return function(D){this[A]=+D}},X=[/[+-]\d\d:?(\d\d)?|Z/,function(A){(this.zone||(this.zone={})).offset=function(D){if(!D||D==="Z")return 0;var C=D.match(/([+-]|\d\d)/g),d=60*C[1]+(+C[2]||0);return d===0?0:C[0]==="+"?-d:d}(A)}],Z=function(A){var D=T[A];return D&&(D.indexOf?D:D.s.concat(D.f))},H=function(A,D){var C,d=T.meridiem;if(d){for(var o=1;o<=24;o+=1)if(A.indexOf(d(o,0,D))>-1){C=o>12;break}}else C=A===(D?"pm":"PM");return C},_={A:[u,function(A){this.afternoon=H(A,!1)}],a:[u,function(A){this.afternoon=H(A,!0)}],Q:[ft,function(A){this.month=3*(A-1)+1}],S:[ft,function(A){this.milliseconds=100*+A}],SS:[Mt,function(A){this.milliseconds=10*+A}],SSS:[/\d{3}/,function(A){this.milliseconds=+A}],s:[W,Y("seconds")],ss:[W,Y("seconds")],m:[W,Y("minutes")],mm:[W,Y("minutes")],H:[W,Y("hours")],h:[W,Y("hours")],HH:[W,Y("hours")],hh:[W,Y("hours")],D:[W,Y("day")],DD:[Mt,Y("day")],Do:[u,function(A){var D=T.ordinal,C=A.match(/\d+/);if(this.day=C[0],D)for(var d=1;d<=31;d+=1)D(d).replace(/\[|\]/g,"")===A&&(this.day=d)}],w:[W,Y("week")],ww:[Mt,Y("week")],M:[W,Y("month")],MM:[Mt,Y("month")],MMM:[u,function(A){var D=Z("months"),C=(Z("monthsShort")||D.map(function(d){return d.slice(0,3)})).indexOf(A)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[u,function(A){var D=Z("months").indexOf(A)+1;if(D<1)throw new Error;this.month=D%12||D}],Y:[/[+-]?\d+/,Y("year")],YY:[Mt,function(A){this.year=I(A)}],YYYY:[/\d{4}/,Y("year")],Z:X,ZZ:X};function j(A){var D,C;D=A,C=T&&T.formats;for(var d=(A=D.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(g,p,y){var P=y&&y.toUpperCase();return p||C[y]||pe[y]||C[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(m,x,l){return x||l.slice(1)})})).match(xt),o=d.length,k=0;k-1)return new Date((N==="X"?1e3:1)*s);var E=j(N)(s),L=E.year,et=E.month,nt=E.day,rt=E.hours,G=E.minutes,ut=E.seconds,F=E.milliseconds,B=E.zone,st=E.week,ht=new Date,tt=nt||(L||et?1:ht.getDate()),ct=L||ht.getFullYear(),U=0;L&&!et||(U=et>0?et-1:ht.getMonth());var J,K=rt||0,q=G||0,at=ut||0,bt=F||0;return B?new Date(Date.UTC(ct,U,tt,K,q,at,bt+60*B.offset*1e3)):R?new Date(Date.UTC(ct,U,tt,K,q,at,bt)):(J=new Date(ct,U,tt,K,q,at,bt),st&&(J=c(J).week(st).toDate()),J)}catch(mt){return new Date("")}}(S,b,h,C),this.init(),P&&P!==!0&&(this.$L=this.locale(P).$L),y&&S!=this.format(b)&&(this.$d=new Date("")),T={}}else if(b instanceof Array)for(var m=b.length,x=1;x<=m;x+=1){w[1]=b[x-1];var l=C.apply(this,w);if(l.isValid()){this.$d=l.$d,this.$L=l.$L,this.init();break}x===m&&(this.$d=new Date(""))}else o.call(this,k)}}})},9050:function(lr){(function(pe,xt){lr.exports=xt()})(this,function(){"use strict";return function(pe,xt,ft){xt.prototype.isBetween=function(Mt,W,u,T){var I=ft(Mt),Y=ft(W),X=(T=T||"()")[0]==="(",Z=T[1]===")";return(X?this.isAfter(I,u):!this.isBefore(I,u))&&(Z?this.isBefore(Y,u):!this.isAfter(Y,u))||(X?this.isBefore(I,u):!this.isAfter(I,u))&&(Z?this.isAfter(Y,u):!this.isBefore(Y,u))}}})},2976:function(lr){(function(pe,xt){lr.exports=xt()})(this,function(){"use strict";var pe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(xt,ft,Mt){var W=ft.prototype,u=W.format;Mt.en.formats=pe,W.format=function(T){T===void 0&&(T="YYYY-MM-DDTHH:mm:ssZ");var I=this.$locale().formats,Y=function(X,Z){return X.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(H,_,j){var A=j&&j.toUpperCase();return _||Z[j]||pe[j]||Z[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(D,C,d){return C||d.slice(1)})})}(T,I===void 0?{}:I);return u.call(this,Y)}}})},1398:function(lr){(function(pe,xt){lr.exports=xt()})(this,function(){"use strict";var pe="month",xt="quarter";return function(ft,Mt){var W=Mt.prototype;W.quarter=function(I){return this.$utils().u(I)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(I-1))};var u=W.add;W.add=function(I,Y){return I=Number(I),this.$utils().p(Y)===xt?this.add(3*I,pe):u.bind(this)(I,Y)};var T=W.startOf;W.startOf=function(I,Y){var X=this.$utils(),Z=!!X.u(Y)||Y;if(X.p(I)===xt){var H=this.quarter()-1;return Z?this.month(3*H).startOf(pe).startOf("day"):this.month(3*H+2).endOf(pe).endOf("day")}return T.bind(this)(I,Y)}}})},4843:function(lr){(function(pe,xt){lr.exports=xt()})(this,function(){"use strict";var pe={year:0,month:1,day:2,hour:3,minute:4,second:5},xt={};return function(ft,Mt,W){var u,T=function(Z,H,_){_===void 0&&(_={});var j=new Date(Z),A=function(D,C){C===void 0&&(C={});var d=C.timeZoneName||"short",o=D+"|"+d,k=xt[o];return k||(k=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:D,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:d}),xt[o]=k),k}(H,_);return A.formatToParts(j)},I=function(Z,H){for(var _=T(Z,H),j=[],A=0;A<_.length;A+=1){var D=_[A],C=D.type,d=D.value,o=pe[C];o>=0&&(j[o]=parseInt(d,10))}var k=j[3],S=k===24?0:k,h=j[0]+"-"+j[1]+"-"+j[2]+" "+S+":"+j[4]+":"+j[5]+":000",w=+Z;return(W.utc(h).valueOf()-(w-=w%1e3))/6e4},Y=Mt.prototype;Y.tz=function(Z,H){Z===void 0&&(Z=u);var _,j=this.utcOffset(),A=this.toDate(),D=A.toLocaleString("en-US",{timeZone:Z}),C=Math.round((A-new Date(D))/1e3/60),d=15*-Math.round(A.getTimezoneOffset()/15)-C;if(!Number(d))_=this.utcOffset(0,H);else if(_=W(D,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(d,!0),H){var o=_.utcOffset();_=_.add(j-o,"minute")}return _.$x.$timezone=Z,_},Y.offsetName=function(Z){var H=this.$x.$timezone||W.tz.guess(),_=T(this.valueOf(),H,{timeZoneName:Z}).find(function(j){return j.type.toLowerCase()==="timezonename"});return _&&_.value};var X=Y.startOf;Y.startOf=function(Z,H){if(!this.$x||!this.$x.$timezone)return X.call(this,Z,H);var _=W(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return X.call(_,Z,H).tz(this.$x.$timezone,!0)},W.tz=function(Z,H,_){var j=_&&H,A=_||H||u,D=I(+W(),A);if(typeof Z!="string")return W(Z).tz(A);var C=function(S,h,w){var b=S-60*h*1e3,g=I(b,w);if(h===g)return[b,h];var p=I(b-=60*(g-h)*1e3,w);return g===p?[b,g]:[S-60*Math.min(g,p)*1e3,Math.max(g,p)]}(W.utc(Z,j).valueOf(),D,A),d=C[0],o=C[1],k=W(d).utcOffset(o);return k.$x.$timezone=A,k},W.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},W.tz.setDefault=function(Z){u=Z}}})},4112:function(lr){(function(pe,xt){lr.exports=xt()})(this,function(){"use strict";var pe="minute",xt=/[+-]\d\d(?::?\d\d)?/g,ft=/([+-]|\d\d)/g;return function(Mt,W,u){var T=W.prototype;u.utc=function(j){var A={date:j,utc:!0,args:arguments};return new W(A)},T.utc=function(j){var A=u(this.toDate(),{locale:this.$L,utc:!0});return j?A.add(this.utcOffset(),pe):A},T.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var I=T.parse;T.parse=function(j){j.utc&&(this.$u=!0),this.$utils().u(j.$offset)||(this.$offset=j.$offset),I.call(this,j)};var Y=T.init;T.init=function(){if(this.$u){var j=this.$d;this.$y=j.getUTCFullYear(),this.$M=j.getUTCMonth(),this.$D=j.getUTCDate(),this.$W=j.getUTCDay(),this.$H=j.getUTCHours(),this.$m=j.getUTCMinutes(),this.$s=j.getUTCSeconds(),this.$ms=j.getUTCMilliseconds()}else Y.call(this)};var X=T.utcOffset;T.utcOffset=function(j,A){var D=this.$utils().u;if(D(j))return this.$u?0:D(this.$offset)?X.call(this):this.$offset;if(typeof j=="string"&&(j=function(k){k===void 0&&(k="");var S=k.match(xt);if(!S)return null;var h=(""+S[0]).match(ft)||["-",0,0],w=h[0],b=60*+h[1]+ +h[2];return b===0?0:w==="+"?b:-b}(j),j===null))return this;var C=Math.abs(j)<=16?60*j:j,d=this;if(A)return d.$offset=C,d.$u=j===0,d;if(j!==0){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(d=this.local().add(C+o,pe)).$offset=C,d.$x.$localOffset=o}else d=this.utc();return d};var Z=T.format;T.format=function(j){var A=j||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return Z.call(this,A)},T.valueOf=function(){var j=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*j},T.isUTC=function(){return!!this.$u},T.toISOString=function(){return this.toDate().toISOString()},T.toString=function(){return this.toDate().toUTCString()};var H=T.toDate;T.toDate=function(j){return j==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():H.call(this)};var _=T.diff;T.diff=function(j,A,D){if(j&&this.$u===j.$u)return _.call(this,j,A,D);var C=this.local(),d=u(j).local();return _.call(C,d,A,D)}}})},2713:(lr,pe,xt)=>{var ft;/*! + `}}.call(wt,Z,wt,we))===void 0||(we.exports=At)},function(we,wt,Z){"use strict";Z.r(wt);var At=Array.prototype.slice,W=function(P){return P};function c(P){return"translate("+(P+.5)+",0)"}function C(P){return"translate(0,"+(P+.5)+")"}function I(P){return function(E){return+P(E)}}function G(P){var E=Math.max(0,P.bandwidth()-1)/2;return P.round()&&(E=Math.round(E)),function(p){return+P(p)+E}}function q(){return!this.__axis}function J(P,E){var p=[],o=null,T=null,w=6,f=6,S=3,v=P===1||P===4?-1:1,m=P===4||P===2?"x":"y",g=P===1||P===3?c:C;function x(R){var y=o==null?E.ticks?E.ticks.apply(E,p):E.domain():o,b=T==null?E.tickFormat?E.tickFormat.apply(E,p):W:T,s=Math.max(w,0)+S,l=E.range(),O=+l[0]+.5,D=+l[l.length-1]+.5,u=(E.bandwidth?G:I)(E.copy()),_=R.selection?R.selection():R,L=_.selectAll(".domain").data([null]),nt=_.selectAll(".tick").data(y,E).order(),rt=nt.exit(),it=nt.enter().append("g").attr("class","tick"),X=nt.select("line"),ct=nt.select("text");L=L.merge(L.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),nt=nt.merge(it),X=X.merge(it.append("line").attr("stroke","currentColor").attr(m+"2",v*w)),ct=ct.merge(it.append("text").attr("fill","currentColor").attr(m,v*s).attr("dy",P===1?"0em":P===3?"0.71em":"0.32em")),R!==_&&(L=L.transition(R),nt=nt.transition(R),X=X.transition(R),ct=ct.transition(R),rt=rt.transition(R).attr("opacity",1e-6).attr("transform",function(B){return isFinite(B=u(B))?g(B):this.getAttribute("transform")}),it.attr("opacity",1e-6).attr("transform",function(B){var F=this.parentNode.__axis;return g(F&&isFinite(F=F(B))?F:u(B))})),rt.remove(),L.attr("d",P===4||P==2?f?"M"+v*f+","+O+"H0.5V"+D+"H"+v*f:"M0.5,"+O+"V"+D:f?"M"+O+","+v*f+"V0.5H"+D+"V"+v*f:"M"+O+",0.5H"+D),nt.attr("opacity",1).attr("transform",function(B){return g(u(B))}),X.attr(m+"2",v*w),ct.attr(m,v*s).text(b),_.filter(q).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",P===2?"start":P===4?"end":"middle"),_.each(function(){this.__axis=u})}return x.scale=function(R){return arguments.length?(E=R,x):E},x.ticks=function(){return p=At.call(arguments),x},x.tickArguments=function(R){return arguments.length?(p=R==null?[]:At.call(R),x):p.slice()},x.tickValues=function(R){return arguments.length?(o=R==null?null:At.call(R),x):o&&o.slice()},x.tickFormat=function(R){return arguments.length?(T=R,x):T},x.tickSize=function(R){return arguments.length?(w=f=+R,x):w},x.tickSizeInner=function(R){return arguments.length?(w=+R,x):w},x.tickSizeOuter=function(R){return arguments.length?(f=+R,x):f},x.tickPadding=function(R){return arguments.length?(S=+R,x):S},x}function U(P){return J(1,P)}function V(P){return J(2,P)}function j(P){return J(3,P)}function A(P){return J(4,P)}Z.d(wt,"axisTop",function(){return U}),Z.d(wt,"axisRight",function(){return V}),Z.d(wt,"axisBottom",function(){return j}),Z.d(wt,"axisLeft",function(){return A})},,function(we,wt,Z){"use strict";var At;(At=function(W){var c=Z(44),C=0,I={small:{limit:10,format:c.format("")},medium:{limit:1e3,format:c.format("")},large:{limit:null,format:c.format(",d")}},G={small:{limit:10,format:c.format(".3f")},medium:{limit:100,format:c.format(".1f")},large:{limit:null,format:c.format(".2s")}},q=function(J,U){var V="large";return J1&&arguments[1]!==void 0?arguments[1]:12,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Arial",P=document.createElement("canvas"),E=P.getContext("2d");return E.font=j+"px "+A,E.measureText(V).width},wrapText:function(V,j,A,P){var E=c.select(P),p=E.text().split(/\s+/).reverse(),o=void 0,T=[],w=0,f=C*G,S=E.attr("y"),v=parseFloat(E.attr("dy")),m=j*q,g=E.text(null).append("tspan").attr("x",V).attr("y",S-5).attr("dy",v+"em").classed(J,!0).style("font-size",j+"px");for(g.text(p.pop()),g=E.append("tspan").classed(U,!0).attr("x",V).attr("y",S+I).attr("dy",++w*f+v+"em").style("font-size",m+"px");o=p.pop();)T.push(o),g.text(T.join(" ")),g.node()&&g.node().getComputedTextLength()>A-50&&(T.pop(),g.text(T.join(" ")),T=[o],g=E.append("tspan").classed(U,!0).attr("x",V).attr("y",S+I).attr("dy",++w*f+v+"em").text(o).style("font-size",m+"px"))},wrapTextWithEllipses:function(V,j){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1.2;V.each(function(){var p,o,T,w,f,S,v;for(p=(V=c.select(this)).text().split(/\s+/).reverse(),T=[],w=0,f=V.attr("y"),S=parseFloat(V.attr("dy")),v=V.text(null).append("tspan").attr("x",A).attr("y",f).attr("dy",S+"em");o=p.pop();)if(T.push(o),v.text(T.join(" ")),v.node()&&v.node().getComputedTextLength()>j){if(T.pop(),v.text(T.join(" ")),!(w1&&arguments[1]!==void 0?arguments[1]:"day",I=localeTimeMap[C],G=new Intl.DateTimeFormat(c,I);return function(q){return G.format(q)}}}}.call(wt,Z,wt,we))===void 0||(we.exports=At)},function(we,wt,Z){"use strict";var At,W=function(I,G){if(Array.isArray(I))return I;if(Symbol.iterator in Object(I))return function(q,J){var U=[],V=!0,j=!1,A=void 0;try{for(var P,E=q[Symbol.iterator]();!(V=(P=E.next()).done)&&(U.push(P.value),!J||U.length!==J);V=!0);}catch(p){j=!0,A=p}finally{try{!V&&E.return&&E.return()}finally{if(j)throw A}}return U}(I,G);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I};function C(I,G,q){return G in I?Object.defineProperty(I,G,{value:q,enumerable:!0,configurable:!0,writable:!0}):I[G]=q,I}(At=function(I){var G,q=Z(39),J=Z(67),U=Z(73),V=U.axisTimeCombinations,j=U.timeBenchmarks,A=Z(95),P=A.convertMillisecondsToDays,E=A.getLocaleDateFormatter,p={minute:J.timeFormat("%M m"),hour:J.timeFormat("%H %p"),day:J.timeFormat("%e"),daymonth:J.timeFormat("%d %b"),month:J.timeFormat("%b"),year:J.timeFormat("%Y")},o=(C(G={},V.MINUTE_HOUR,q.timeHour.every(1)),C(G,V.HOUR_DAY,q.timeDay.every(1)),C(G,V.DAY_MONTH,q.timeMonth.every(1)),C(G,V.MONTH_YEAR,q.timeYear.every(1)),G),T=function(f){var S=j.ONE_YEAR;return f2&&arguments[2]!==void 0?arguments[2]:null,m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,g=new Date(f[0].date),x=new Date(f[f.length-1].date),R=x-g;m&&(typeof Intl=="undefined"||(typeof Intl=="undefined"?"undefined":c(Intl))==="object"&&!Intl.DateTimeFormat)&&(m=null),v||(v=T(R));var y=v.split("-"),b=W(y,2),s=b[0],l=b[1],O=o[v],D=w(S,P(R));return{minor:{format:m?E(m,s):p[s],tick:D},major:{format:m?E(m,l):p[l],tick:O}}}}}.call(wt,Z,wt,we))===void 0||(we.exports=At)},function(we,wt,Z){"use strict";var At;(At=function(W){Z(7);var c="highlight-filter";return{bounceCircleHighlight:function(C,I,G){var q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2*G,J=100,U=50;C.transition().ease(I).duration(J).attr("r",q).transition().ease(I).delay(U).duration(J).attr("r",G)},createFilterContainer:function(C){return C.append("defs").append("filter").attr("id",c)},createGausianBlur:function(C){return C.append("feGaussianBlur").attr("stdDeviation",1).attr("result","coloredBlur"),c},createWhiteGlow:function(C){C.attr("x","-5000%").attr("y","-5000%").attr("width","10000%").attr("height","10000%"),C.append("feFlood").attr("result","flood").attr("flood-color","#ffffff").attr("flood-opacity","1"),C.append("feComposite").attr("result","mask").attr("in2","SourceGraphic").attr("operator","in").attr("in","flood"),C.append("feMorphology").attr("result","dilated").attr("operator","dilate").attr("radius","2").attr("in","mask"),C.append("feGaussianBlur").attr("result","blurred").attr("stdDeviation","5").attr("in","dilated");var I=C.append("feMerge");return I.append("feMergeNode").attr("in","blurred"),I.append("feMergeNode").attr("in","SourceGraphic"),c},createGlow:function(C){C.attr("x","-30%").attr("y","-30%").attr("width","160%").attr("height","160%"),C.append("feGaussianBlur").attr("stdDeviation","0.9 0.9").attr("result","glow");var I=C.append("feMerge");return I.append("feMergeNode").attr("in","glow"),I.append("feMergeNode").attr("in","glow"),I.append("feMergeNode").attr("in","glow"),c},createGlowWithMatrix:function(C){C.attr("x","-500%").attr("y","-500%").attr("width","1800%").attr("height","1800%"),C.append("feColorMatrix").attr("type","matrix").attr("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"),C.append("feGaussianBlur").attr("stdDeviation","1").attr("result","coloredBlur").attr("in","SourceGraphic");var I=C.append("feMerge");return I.append("feMergeNode").attr("in","coloredBlur"),I.append("feMergeNode").attr("in","SourceGraphic"),c}}}.call(wt,Z,wt,we))===void 0||(we.exports=At)},,,,,,,,,,function(we,wt,Z){"use strict";var At,W=function(I,G){if(Array.isArray(I))return I;if(Symbol.iterator in Object(I))return function(q,J){var U=[],V=!0,j=!1,A=void 0;try{for(var P,E=q[Symbol.iterator]();!(V=(P=E.next()).done)&&(U.push(P.value),!J||U.length!==J);V=!0);}catch(p){j=!0,A=p}finally{try{!V&&E.return&&E.return()}finally{if(j)throw A}}return U}(I,G);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=Object.assign||function(I){for(var G=1;G=0||Object.prototype.hasOwnProperty.call(Dn,si)&&(hi[si]=Dn[si]);return hi}(Jn,["dates"]),ar=Dr.map(function(Dn){return{date:new Date(Dn[Ve]),value:+Dn[rn]}});return mr.push(c({dates:ar},Lr)),mr},[]),dataByDate:Zn,dataRange:or}}(Qe);ae=gn.dataByTopic,le=gn.dataByDate,Oe=gn.dataRange;var Se,yn,Je,hn=Mt?300:0;B=_-u.left-u.right-hn,F=L-u.top-u.bottom,function(){var mn=G.min(ae,function(Jn){var Dr=Jn.dates;return G.min(Dr,Mn)}),pn=G.max(ae,function(Jn){var Dr=Jn.dates;return G.max(Dr,Mn)}),Zn=G.max(ae,function(Jn){var Dr=Jn.dates;return G.max(Dr,Qn)}),or=G.min(ae,function(Jn){var Dr=Jn.dates;return G.min(Dr,Qn)}),dr=or<0?or:0;ut=A.scaleTime().domain([mn,pn]).rangeRound([0,B]),ft=A.scaleLinear().domain([dr,Math.abs(Zn)]).rangeRound([F,0]).nice();var mr=(et=A.scaleOrdinal().range(K).domain(ae.map(Sr))).range();st=et.domain().reduce(function(Jn,Dr,Lr){return Jn[Dr]=mr[Lr],Jn},{})}(),function(mn){X||(X=E.select(mn).append("svg").classed("britechart line-chart",!0),function(){var pn=X.append("g").classed("container-group",!0).attr("transform","translate("+u.left+","+u.top+")");pn.append("g").classed("x-axis-group",!0).append("g").classed("axis x",!0),pn.selectAll(".x-axis-group").append("g").classed("month-axis",!0),pn.append("g").classed("y-axis-group",!0).append("g").classed("axis y",!0),pn.append("g").classed("grid-lines-group",!0),pn.append("g").classed("chart-group",!0),Mt&&pn.append("g").classed("legend-group",!0),pn.append("g").classed("metadata-group",!0)}()),X.attr("width",_).attr("height",L)}(this),function(){var mn=void 0,pn=void 0;if(Tt==="custom"&&typeof Dt=="string")mn={tick:vt,format:p.timeFormat(Dt)},pn=null;else{var Zn=S(le,_,Tt,Bt);mn=Zn.minor,pn=Zn.major,z=q.axisBottom(ut).ticks(pn.tick).tickSize(0,0).tickFormat(pn.format)}ht=q.axisBottom(ut).ticks(mn.tick).tickSize(10,0).tickPadding(5).tickFormat(mn.format),tt=q.axisLeft(ft).ticks(ne).tickSize([0]).tickPadding(5).tickFormat(pe),function(or,dr){X.select(".grid-lines-group").selectAll("line").remove(),(oe==="horizontal"||oe==="full")&&X.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(ft.ticks(dr)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-Q-30).attr("x2",B).attr("y1",function(mr){return ft(mr)}).attr("y2",function(mr){return ft(mr)}),oe!=="vertical"&&oe!=="full"||X.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(ut.ticks(or)).enter().append("line").attr("class","vertical-grid-line").attr("y1",0).attr("y2",F).attr("x1",function(mr){return ut(mr)}).attr("x2",function(mr){return ut(mr)}),X.select(".grid-lines-group").selectAll("line.extended-x-line").data([0]).enter().append("line").attr("class","extended-x-line").attr("x1",-Q-30).attr("x2",B).attr("y1",L-u.bottom-u.top).attr("y2",L-u.bottom-u.top)}(mn.tick,ne)}(),function(){if(X.select(".x-axis-group .axis.x").attr("transform","translate(0, "+F+")").call(ht),Tt!=="custom"&&X.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(F+28)+")").call(z),nn){bn&&X.selectAll(".x-axis-label").remove();var mn=B/2,pn=F+28+36;bn=X.select(".x-axis-group").append("text").attr("x",mn).attr("y",pn).attr("text-anchor","middle").attr("class","x-axis-label").text(nn)}if(X.select(".y-axis-group .axis.y").attr("transform","translate("+-Q+", 0)").call(tt).call(Ue),un){se&&X.selectAll(".y-axis-label").remove();var Zn=-ie-Q,or=-F/2;se=X.select(".y-axis-group").append("text").attr("x",or).attr("y",Zn).attr("text-anchor","middle").attr("transform","rotate(270)").attr("class","y-axis-label").text(un)}}(),function(){if(Oe){var mn=P.area().curve(g[$t]).x(function(pn){var Zn=pn.date;return ut(Zn)}).y0(function(pn){var Zn=pn.min;return ft(Zn)}).y1(function(pn){var Zn=pn.max;return ft(Zn)});X.select(".chart-group").append("g").attr("class","area").append("path").data([Oe]).attr("class","area").attr("d",mn)}}(),Se=void 0,yn=void 0,yn=P.line().curve(g[$t]).x(function(mn){var pn=mn.date;return ut(pn)}).y(function(mn){var pn=mn.value;return ft(pn)}),Se=X.select(".chart-group").selectAll(".line").data(ae,Sr),ct=Se.enter().append("g").attr("class","topic").append("path").attr("class","line").merge(Se).attr("id",function(mn){return mn.topic}).attr("d",function(mn){var pn=mn.dates;return yn(pn)}).style("stroke",function(mn){return pn=mn.topic,et(pn);var pn}).style("opacity",function(mn){return mn.hasOwnProperty("show")?mn.show?1:0:1}).style("stroke-dasharray",function(mn){return!!mn.hasOwnProperty("show")&&!!mn.dashed&&[.5,4]}),Se.exit().remove(),function(){if(Mt){var mn=Number.parseInt(B)+Number.parseInt(u.right);$e=X.selectAll(".legend-group").append("g").attr("transform","translate("+mn+", 0)").classed("tooltip-text",!0),xn=$e.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),$e.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),cn=$e.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");var pn=void 0;pn=ae[0].hasOwnProperty("show")?ae.filter(function(Jn){return Jn.show}):ae;for(var Zn=0;Znit&&(Lt||(Lt=X.select(".metadata-group").append("rect").attr("class","overlay").attr("y1",0).attr("y2",L).attr("height",F).attr("width",B).attr("fill","rgba(0, 0, 0, 0)").style("display","none")),jt||(jt=X.select(".metadata-group").append("g").attr("class","hover-marker vertical-marker-container").attr("transform","translate(9999, 0)"),Ut=jt.selectAll("path").data([{x1:0,y1:0,x2:0,y2:0}]).enter().append("line").classed("vertical-marker",!0).attr("x1",0).attr("y1",F).attr("x2",0).attr("y2",0)),X.on("mouseover",function(mn){(function(pn,Zn){Lt.style("display","block"),Ut.classed("bc-is-active",!0),me.call("customMouseOver",pn,Zn,E.mouse(pn))})(this,mn)}).on("mouseout",function(mn){(function(pn,Zn){Lt.style("display","none"),Ut.classed("bc-is-active",!1),me.call("customMouseOut",pn,Zn,E.mouse(pn))})(this,mn)}).on("mousemove",function(mn){var pn,Zn,or,dr,mr,Jn,Dr,Lr;pn=this,Zn=E.mouse(pn),or=W(Zn,2),dr=or[0],mr=or[1],Jn=-u.left,Dr=Te(dr+Jn),Lr=void 0,Dr&&(wn(Lr=ut(new Date(Dr.date))),Ke(Dr),me.call("customMouseMove",pn,Dr,st,Lr,mr))})),Nt&&function(){X.select(".chart-group").selectAll(".data-points-container").remove();var mn=ct.nodes().reduce(function(pn,Zn){return pn[Zn.id]=Zn,pn},{});le.reduce(function(pn,Zn){var or=Zn.topics.map(function(dr){return{topic:dr,node:mn[dr.name]}});return pn=[].concat(C(pn),C(or))},[])}(),X.on("touchmove",function(mn){(function(pn,Zn){me.call("customTouchMove",pn,Zn,E.touch(pn))})(this,mn)}),mt&&(Je=Te(B))&&(wn(ut(new Date(Je.date))),Ke(Je))})}function Ue(be){be.selectAll(".tick text").attr("transform","translate(0, -7)")}function pe(be){var Qe=void 0;return Qe=D(be)?l:O,Ft&&(Qe=j.format(Ft)),Qe(be)}function Pe(be){return new Date(be).toLocaleDateString()}function Ie(be){var Qe,gn,Se=void 0,yn=void 0;Qe=be.topicName,gn=be.sum.toLocaleString(),yn=cn.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",Wn).style("fill","#000000").style("font-size","12px").text(Qe).call(ke,200,12,-25),Se=cn.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",Wn).style("fill","#000000").style("font-size","12px").text(gn),fn=yn.node().getBBox().height?yn.node().getBBox().height:fn,fn+5,fe=Se.node().getBBox().width?Se.node().getBBox().width:fe,Se.attr("x",300-fe-75),cn.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",Wn+8).attr("r",5).style("fill",st[be.topic]).style("stroke-width",1),Wn+=fn+7}function Te(be){var Qe,gn,Se,yn=ut.invert(be),Je=(0,G.bisector(Mn).left)(le,yn,1),hn=le[Je],mn=le[Je-1],pn=void 0;return mn&&hn?(Qe=yn,gn=hn,Se=mn,pn=new Date(Qe).getTime()-new Date(gn.date).getTime()>new Date(Se.date).getTime()-new Date(Qe).getTime()?gn:Se):pn=hn,pn}function ke(be,Qe,gn){var Se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;be.each(function(){var yn,Je,hn,mn,pn,Zn,or;for(yn=(be=E.select(this)).text().split(/\s+/).reverse(),hn=[],mn=0,pn=be.attr("y"),Zn=parseFloat(be.attr("dy")),or=be.text(null).append("tspan").attr("x",Se).attr("y",pn).attr("dy",Zn+"em");Je=yn.pop();)hn.push(Je),or.text(hn.join(" ")),o.getTextWidth(hn.join(" "),gn,"Karla, sans-serif")>Qe&&(hn.pop(),or.text(hn.join(" ")),mn<4&&(hn=[Je],or=be.append("tspan").attr("x",Se).attr("y",pn).attr("dy",1.2*++mn+Zn+"em").text(Je)))})}function Ke(be){jt.selectAll(".circle-container").remove();var Qe=ct.nodes().reduce(function(yn,Je){return yn[Je.id]=Je,yn},{}),gn=ae.filter(function(yn){return!yn.show}).map(function(yn){return yn.topicName}),Se=be.topics.map(function(yn){return{topic:yn,node:Qe[yn.name]}}).filter(function(yn){return!!yn.topic}).sort(function(yn,Je){return st[yn.topic.name]ar.x+mr;){var Or=(Dr+Lr)/2;if(ar=or.getPointAtLength(Or),Zn{(function(we,wt){yr.exports=wt()})(window,function(){return function(we){var wt={};function Z(At){if(wt[At])return wt[At].exports;var W=wt[At]={i:At,l:!1,exports:{}};return we[At].call(W.exports,W,W.exports,Z),W.l=!0,W.exports}return Z.m=we,Z.c=wt,Z.d=function(At,W,c){Z.o(At,W)||Object.defineProperty(At,W,{enumerable:!0,get:c})},Z.r=function(At){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(At,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(At,"__esModule",{value:!0})},Z.t=function(At,W){if(1&W&&(At=Z(At)),8&W||4&W&&typeof At=="object"&&At&&At.__esModule)return At;var c=Object.create(null);if(Z.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:At}),2&W&&typeof At!="string")for(var C in At)Z.d(c,C,function(I){return At[I]}.bind(null,C));return c},Z.n=function(At){var W=At&&At.__esModule?function(){return At.default}:function(){return At};return Z.d(W,"a",W),W},Z.o=function(At,W){return Object.prototype.hasOwnProperty.call(At,W)},Z.p="",Z(Z.s=116)}([function(we,wt,Z){"use strict";Z.d(wt,"a",function(){return c});var At=new Date,W=new Date;function c(C,I,G,q){function J(U){return C(U=arguments.length===0?new Date:new Date(+U)),U}return J.floor=function(U){return C(U=new Date(+U)),U},J.ceil=function(U){return C(U=new Date(U-1)),I(U,1),C(U),U},J.round=function(U){var V=J(U),j=J.ceil(U);return U-V0))return P;do P.push(A=new Date(+U)),I(U,j),C(U);while(A=V)for(;C(V),!U(V);)V.setTime(V-1)},function(V,j){if(V>=V)if(j<0)for(;++j<=0;)for(;I(V,-1),!U(V););else for(;--j>=0;)for(;I(V,1),!U(V););})},G&&(J.count=function(U,V){return At.setTime(+U),W.setTime(+V),C(At),C(W),Math.floor(G(At,W))},J.every=function(U){return U=Math.floor(U),isFinite(U)&&U>0?U>1?J.filter(q?function(V){return q(V)%U==0}:function(V){return J.count(0,V)%U==0}):J:null}),J}},function(we,wt,Z){"use strict";Z.d(wt,"d",function(){return At}),Z.d(wt,"c",function(){return W}),Z.d(wt,"b",function(){return c}),Z.d(wt,"a",function(){return C}),Z.d(wt,"e",function(){return I});var At=1e3,W=6e4,c=36e5,C=864e5,I=6048e5},,function(we,wt,Z){"use strict";Z.d(wt,"g",function(){return C}),Z.d(wt,"c",function(){return I}),Z.d(wt,"k",function(){return G}),Z.d(wt,"m",function(){return q}),Z.d(wt,"i",function(){return J}),Z.d(wt,"a",function(){return U}),Z.d(wt,"e",function(){return V}),Z.d(wt,"h",function(){return j}),Z.d(wt,"d",function(){return A}),Z.d(wt,"l",function(){return P}),Z.d(wt,"n",function(){return E}),Z.d(wt,"j",function(){return p}),Z.d(wt,"b",function(){return o}),Z.d(wt,"f",function(){return T});var At=Z(0),W=Z(1);function c(w){return Object(At.a)(function(f){f.setDate(f.getDate()-(f.getDay()+7-w)%7),f.setHours(0,0,0,0)},function(f,S){f.setDate(f.getDate()+7*S)},function(f,S){return(S-f-(S.getTimezoneOffset()-f.getTimezoneOffset())*W.c)/W.e})}var C=c(0),I=c(1),G=c(2),q=c(3),J=c(4),U=c(5),V=c(6),j=C.range,A=I.range,P=G.range,E=q.range,p=J.range,o=U.range,T=V.range},function(we,wt,Z){"use strict";Z.d(wt,"g",function(){return C}),Z.d(wt,"c",function(){return I}),Z.d(wt,"k",function(){return G}),Z.d(wt,"m",function(){return q}),Z.d(wt,"i",function(){return J}),Z.d(wt,"a",function(){return U}),Z.d(wt,"e",function(){return V}),Z.d(wt,"h",function(){return j}),Z.d(wt,"d",function(){return A}),Z.d(wt,"l",function(){return P}),Z.d(wt,"n",function(){return E}),Z.d(wt,"j",function(){return p}),Z.d(wt,"b",function(){return o}),Z.d(wt,"f",function(){return T});var At=Z(0),W=Z(1);function c(w){return Object(At.a)(function(f){f.setUTCDate(f.getUTCDate()-(f.getUTCDay()+7-w)%7),f.setUTCHours(0,0,0,0)},function(f,S){f.setUTCDate(f.getUTCDate()+7*S)},function(f,S){return(S-f)/W.e})}var C=c(0),I=c(1),G=c(2),q=c(3),J=c(4),U=c(5),V=c(6),j=C.range,A=I.range,P=G.range,E=q.range,p=J.range,o=U.range,T=V.range},function(we,wt,Z){"use strict";Z.d(wt,"a",function(){return W}),Z.d(wt,"d",function(){return c}),Z.d(wt,"c",function(){return C}),Z.d(wt,"e",function(){return w}),Z.d(wt,"h",function(){return v}),Z.d(wt,"g",function(){return m}),Z.d(wt,"b",function(){return g}),Z.d(wt,"f",function(){return l});var At=Z(11);function W(){}var c=.7,C=1/c,I="\\s*([+-]?\\d+)\\s*",G="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",q="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",J=/^#([0-9a-f]{3,8})$/,U=new RegExp("^rgb\\("+[I,I,I]+"\\)$"),V=new RegExp("^rgb\\("+[q,q,q]+"\\)$"),j=new RegExp("^rgba\\("+[I,I,I,G]+"\\)$"),A=new RegExp("^rgba\\("+[q,q,q,G]+"\\)$"),P=new RegExp("^hsl\\("+[G,q,q]+"\\)$"),E=new RegExp("^hsla\\("+[G,q,q,G]+"\\)$"),p={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function o(){return this.rgb().formatHex()}function T(){return this.rgb().formatRgb()}function w(u){var _,L;return u=(u+"").trim().toLowerCase(),(_=J.exec(u))?(L=_[1].length,_=parseInt(_[1],16),L===6?f(_):L===3?new g(_>>8&15|_>>4&240,_>>4&15|240&_,(15&_)<<4|15&_,1):L===8?new g(_>>24&255,_>>16&255,_>>8&255,(255&_)/255):L===4?new g(_>>12&15|_>>8&240,_>>8&15|_>>4&240,_>>4&15|240&_,((15&_)<<4|15&_)/255):null):(_=U.exec(u))?new g(_[1],_[2],_[3],1):(_=V.exec(u))?new g(255*_[1]/100,255*_[2]/100,255*_[3]/100,1):(_=j.exec(u))?S(_[1],_[2],_[3],_[4]):(_=A.exec(u))?S(255*_[1]/100,255*_[2]/100,255*_[3]/100,_[4]):(_=P.exec(u))?b(_[1],_[2]/100,_[3]/100,1):(_=E.exec(u))?b(_[1],_[2]/100,_[3]/100,_[4]):p.hasOwnProperty(u)?f(p[u]):u==="transparent"?new g(NaN,NaN,NaN,0):null}function f(u){return new g(u>>16&255,u>>8&255,255&u,1)}function S(u,_,L,nt){return nt<=0&&(u=_=L=NaN),new g(u,_,L,nt)}function v(u){return u instanceof W||(u=w(u)),u?new g((u=u.rgb()).r,u.g,u.b,u.opacity):new g}function m(u,_,L,nt){return arguments.length===1?v(u):new g(u,_,L,nt==null?1:nt)}function g(u,_,L,nt){this.r=+u,this.g=+_,this.b=+L,this.opacity=+nt}function x(){return"#"+y(this.r)+y(this.g)+y(this.b)}function R(){var u=this.opacity;return((u=isNaN(u)?1:Math.max(0,Math.min(1,u)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(u===1?")":", "+u+")")}function y(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function b(u,_,L,nt){return nt<=0?u=_=L=NaN:L<=0||L>=1?u=_=NaN:_<=0&&(u=NaN),new O(u,_,L,nt)}function s(u){if(u instanceof O)return new O(u.h,u.s,u.l,u.opacity);if(u instanceof W||(u=w(u)),!u)return new O;if(u instanceof O)return u;var _=(u=u.rgb()).r/255,L=u.g/255,nt=u.b/255,rt=Math.min(_,L,nt),it=Math.max(_,L,nt),X=NaN,ct=it-rt,B=(it+rt)/2;return ct?(X=_===it?(L-nt)/ct+6*(L0&&B<1?0:X,new O(X,ct,B,u.opacity)}function l(u,_,L,nt){return arguments.length===1?s(u):new O(u,_,L,nt==null?1:nt)}function O(u,_,L,nt){this.h=+u,this.s=+_,this.l=+L,this.opacity=+nt}function D(u,_,L){return 255*(u<60?_+(L-_)*u/60:u<180?L:u<240?_+(L-_)*(240-u)/60:_)}Object(At.a)(W,w,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:o,formatHex:o,formatHsl:function(){return s(this).formatHsl()},formatRgb:T,toString:T}),Object(At.a)(g,m,Object(At.b)(W,{brighter:function(u){return u=u==null?C:Math.pow(C,u),new g(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=u==null?c:Math.pow(c,u),new g(this.r*u,this.g*u,this.b*u,this.opacity)},rgb:function(){return this},displayable:function(){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:x,formatHex:x,formatRgb:R,toString:R})),Object(At.a)(O,l,Object(At.b)(W,{brighter:function(u){return u=u==null?C:Math.pow(C,u),new O(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=u==null?c:Math.pow(c,u),new O(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),_=isNaN(u)||isNaN(this.s)?0:this.s,L=this.l,nt=L+(L<.5?L:1-L)*_,rt=2*L-nt;return new g(D(u>=240?u-240:u+120,rt,nt),D(u,rt,nt),D(u<120?u+240:u-120,rt,nt),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var u=this.opacity;return((u=isNaN(u)?1:Math.max(0,Math.min(1,u)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(u===1?")":", "+u+")")}}))},function(we,wt,Z){"use strict";wt.a=function(At,W){return At=+At,W=+W,function(c){return At*(1-c)+W*c}}},function(we,wt,Z){"use strict";Z.r(wt);var At=Z(12),W=Z(32),c=function(m){return Object(W.a)(Object(At.a)(m).call(document.documentElement))},C=0;function I(){return new G}function G(){this._="@"+(++C).toString(36)}G.prototype=I.prototype={constructor:G,get:function(m){for(var g=this._;!(g in m);)if(!(m=m.parentNode))return;return m[g]},set:function(m,g){return m[this._]=g},remove:function(m){return this._ in m&&delete m[this._]},toString:function(){return this._}};var q=Z(34),J=Z(60),U=Z(20),V=Z(14),j=Z(13),A=Z(10),P=function(m){return typeof m=="string"?new A.a([document.querySelectorAll(m)],[document.documentElement]):new A.a([m==null?[]:m],A.c)},E=Z(19),p=Z(33),o=Z(35),T=Z(61),w=Z(22),f=function(m,g){g==null&&(g=Object(w.a)().touches);for(var x=0,R=g?g.length:0,y=new Array(R);x180||J<-180?J-360*Math.round(J/360):J):Object(At.a)(isNaN(G)?q:G)}function C(G){return(G=+G)==1?I:function(q,J){return J-q?function(U,V,j){return U=Math.pow(U,j),V=Math.pow(V,j)-U,j=1/j,function(A){return Math.pow(U+A*V,j)}}(q,J,G):Object(At.a)(isNaN(q)?J:q)}}function I(G,q){var J=q-G;return J?W(G,J):Object(At.a)(isNaN(G)?q:G)}},function(we,wt,Z){"use strict";var At=Z(18);wt.a=function(W){return(W=Object(At.a)(Math.abs(W)))?W[1]:NaN}},function(we,wt,Z){"use strict";var At=Z(19),W=Z(33),c=Z(34),C=function(K){return new Array(K.length)};function I(K,st){this.ownerDocument=K.ownerDocument,this.namespaceURI=K.namespaceURI,this._next=null,this._parent=K,this.__data__=st}I.prototype={constructor:I,appendChild:function(K){return this._parent.insertBefore(K,this._next)},insertBefore:function(K,st){return this._parent.insertBefore(K,st)},querySelector:function(K){return this._parent.querySelector(K)},querySelectorAll:function(K){return this._parent.querySelectorAll(K)}};function G(K,st,xt,gt,Tt,vt){for(var Dt,Bt=0,Nt=st.length,Pt=vt.length;Btst?1:K>=st?0:NaN}var U=Z(20);function V(K){return function(){this.removeAttribute(K)}}function j(K){return function(){this.removeAttributeNS(K.space,K.local)}}function A(K,st){return function(){this.setAttribute(K,st)}}function P(K,st){return function(){this.setAttributeNS(K.space,K.local,st)}}function E(K,st){return function(){var xt=st.apply(this,arguments);xt==null?this.removeAttribute(K):this.setAttribute(K,xt)}}function p(K,st){return function(){var xt=st.apply(this,arguments);xt==null?this.removeAttributeNS(K.space,K.local):this.setAttributeNS(K.space,K.local,xt)}}var o=Z(35);function T(K){return function(){delete this[K]}}function w(K,st){return function(){this[K]=st}}function f(K,st){return function(){var xt=st.apply(this,arguments);xt==null?delete this[K]:this[K]=xt}}function S(K){return K.trim().split(/^|\s+/)}function v(K){return K.classList||new m(K)}function m(K){this._node=K,this._names=S(K.getAttribute("class")||"")}function g(K,st){for(var xt=v(K),gt=-1,Tt=st.length;++gt=0&&(this._names.splice(st,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(K){return this._names.indexOf(K)>=0}};function s(){this.textContent=""}function l(K){return function(){this.textContent=K}}function O(K){return function(){var st=K.apply(this,arguments);this.textContent=st==null?"":st}}function D(){this.innerHTML=""}function u(K){return function(){this.innerHTML=K}}function _(K){return function(){var st=K.apply(this,arguments);this.innerHTML=st==null?"":st}}function L(){this.nextSibling&&this.parentNode.appendChild(this)}function nt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var rt=Z(12);function it(){return null}function X(){var K=this.parentNode;K&&K.removeChild(this)}function ct(){var K=this.cloneNode(!1),st=this.parentNode;return st?st.insertBefore(K,this.nextSibling):K}function B(){var K=this.cloneNode(!0),st=this.parentNode;return st?st.insertBefore(K,this.nextSibling):K}var F=Z(17),ut=Z(21);function ft(K,st,xt){var gt=Object(ut.a)(K),Tt=gt.CustomEvent;typeof Tt=="function"?Tt=new Tt(st,xt):(Tt=gt.document.createEvent("Event"),xt?(Tt.initEvent(st,xt.bubbles,xt.cancelable),Tt.detail=xt.detail):Tt.initEvent(st,!1,!1)),K.dispatchEvent(Tt)}function et(K,st){return function(){return ft(this,K,st)}}function ht(K,st){return function(){return ft(this,K,st.apply(this,arguments))}}Z.d(wt,"c",function(){return z}),Z.d(wt,"a",function(){return tt});var z=[null];function tt(K,st){this._groups=K,this._parents=st}function Q(){return new tt([[document.documentElement]],z)}tt.prototype=Q.prototype={constructor:tt,select:function(K){typeof K!="function"&&(K=Object(At.a)(K));for(var st=this._groups,xt=st.length,gt=new Array(xt),Tt=0;Tt=nn&&(nn=ln+1);!(rn=Oe[nn])&&++nn=0;)(gt=Tt[vt])&&(Dt&&4^gt.compareDocumentPosition(Dt)&&Dt.parentNode.insertBefore(gt,Dt),Dt=gt);return this},sort:function(K){function st(mt,Ot){return mt&&Ot?K(mt.__data__,Ot.__data__):!mt-!Ot}K||(K=J);for(var xt=this._groups,gt=xt.length,Tt=new Array(gt),vt=0;vt1?this.each((st==null?T:typeof st=="function"?f:w)(K,st)):this.node()[K]},classed:function(K,st){var xt=S(K+"");if(arguments.length<2){for(var gt=v(this.node()),Tt=-1,vt=xt.length;++Tt0?Object(At.a)(function(I){I.setFullYear(Math.floor(I.getFullYear()/C)*C),I.setMonth(0,1),I.setHours(0,0,0,0)},function(I,G){I.setFullYear(I.getFullYear()+G*C)}):null},wt.a=W;var c=W.range},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return c});var At=Z(0),W=Object(At.a)(function(C){C.setUTCMonth(0,1),C.setUTCHours(0,0,0,0)},function(C,I){C.setUTCFullYear(C.getUTCFullYear()+I)},function(C,I){return I.getUTCFullYear()-C.getUTCFullYear()},function(C){return C.getUTCFullYear()});W.every=function(C){return isFinite(C=Math.floor(C))&&C>0?Object(At.a)(function(I){I.setUTCFullYear(Math.floor(I.getUTCFullYear()/C)*C),I.setUTCMonth(0,1),I.setUTCHours(0,0,0,0)},function(I,G){I.setUTCFullYear(I.getUTCFullYear()+G*C)}):null},wt.a=W;var c=W.range},function(we,wt,Z){"use strict";Z.d(wt,"c",function(){return W}),Z.d(wt,"a",function(){return J});var At={},W=null;typeof document!="undefined"&&("onmouseenter"in document.documentElement||(At={mouseenter:"mouseover",mouseleave:"mouseout"}));function c(U,V,j){return U=C(U,V,j),function(A){var P=A.relatedTarget;P&&(P===this||8&P.compareDocumentPosition(this))||U.call(this,A)}}function C(U,V,j){return function(A){var P=W;W=A;try{U.call(this,this.__data__,V,j)}finally{W=P}}}function I(U){return U.trim().split(/^|\s+/).map(function(V){var j="",A=V.indexOf(".");return A>=0&&(j=V.slice(A+1),V=V.slice(0,A)),{type:V,name:j}})}function G(U){return function(){var V=this.__on;if(V){for(var j,A=0,P=-1,E=V.length;A1?C[0]+C.slice(2):C,+At.slice(c+1)]}},function(we,wt,Z){"use strict";function At(){}wt.a=function(W){return W==null?At:function(){return this.querySelector(W)}}},function(we,wt,Z){"use strict";var At=Z(14);wt.a=function(W){var c=W+="",C=c.indexOf(":");return C>=0&&(c=W.slice(0,C))!=="xmlns"&&(W=W.slice(C+1)),At.a.hasOwnProperty(c)?{space:At.a[c],local:W}:W}},function(we,wt,Z){"use strict";wt.a=function(At){return At.ownerDocument&&At.ownerDocument.defaultView||At.document&&At||At.defaultView}},function(we,wt,Z){"use strict";var At=Z(17);wt.a=function(){for(var W,c=At.c;W=c.sourceEvent;)c=W;return c}},,function(we,wt,Z){"use strict";wt.a=function(At){return function(){return At}}},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return W}),Z.d(wt,"a",function(){return c});var At=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function W(C){if(!(I=At.exec(C)))throw new Error("invalid format: "+C);var I;return new c({fill:I[1],align:I[2],sign:I[3],symbol:I[4],zero:I[5],width:I[6],comma:I[7],precision:I[8]&&I[8].slice(1),trim:I[9],type:I[10]})}function c(C){this.fill=C.fill===void 0?" ":C.fill+"",this.align=C.align===void 0?">":C.align+"",this.sign=C.sign===void 0?"-":C.sign+"",this.symbol=C.symbol===void 0?"":C.symbol+"",this.zero=!!C.zero,this.width=C.width===void 0?void 0:+C.width,this.comma=!!C.comma,this.precision=C.precision===void 0?void 0:+C.precision,this.trim=!!C.trim,this.type=C.type===void 0?"":C.type+""}W.prototype=c.prototype,c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(we,wt,Z){"use strict";function At(W,c,C,I,G){var q=W*W,J=q*W;return((1-3*W+3*q-J)*c+(4-6*q+3*J)*C+(1+3*W+3*q-3*J)*I+J*G)/6}Z.d(wt,"a",function(){return At}),wt.b=function(W){var c=W.length-1;return function(C){var I=C<=0?C=0:C>=1?(C=1,c-1):Math.floor(C*c),G=W[I],q=W[I+1],J=I>0?W[I-1]:2*G-q,U=I0?C>1?Object(At.a)(function(I){I.setTime(Math.floor(I/C)*C)},function(I,G){I.setTime(+I+G*C)},function(I,G){return(G-I)/C}):W:null},wt.a=W;var c=W.range},function(we,wt,Z){"use strict";var At=Z(10);wt.a=function(W){return typeof W=="string"?new At.a([[document.querySelector(W)]],[document.documentElement]):new At.a([[W]],At.c)}},function(we,wt,Z){"use strict";function At(){return[]}wt.a=function(W){return W==null?At:function(){return this.querySelectorAll(W)}}},function(we,wt,Z){"use strict";wt.a=function(At){return function(){return this.matches(At)}}},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return I});var At=Z(21);function W(G){return function(){this.style.removeProperty(G)}}function c(G,q,J){return function(){this.style.setProperty(G,q,J)}}function C(G,q,J){return function(){var U=q.apply(this,arguments);U==null?this.style.removeProperty(G):this.style.setProperty(G,U,J)}}function I(G,q){return G.style.getPropertyValue(q)||Object(At.a)(G).getComputedStyle(G,null).getPropertyValue(q)}wt.a=function(G,q,J){return arguments.length>1?this.each((q==null?W:typeof q=="function"?C:c)(G,q,J==null?"":J)):I(this.node(),G)}},,function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return G}),Z.d(wt,"c",function(){return q});var At=Z(5),W=Z(26),c=Z(53),C=Z(8);function I(J){return function(U){var V,j,A=U.length,P=new Array(A),E=new Array(A),p=new Array(A);for(V=0;VE+1?P.slice(0,E+1)+"."+P.slice(E+1):P+new Array(E-P.length+2).join("0")},G={"%":function(V,j){return(100*V).toFixed(j)},b:function(V){return Math.round(V).toString(2)},c:function(V){return V+""},d:function(V){return Math.round(V).toString(10)},e:function(V,j){return V.toExponential(j)},f:function(V,j){return V.toFixed(j)},g:function(V,j){return V.toPrecision(j)},o:function(V){return Math.round(V).toString(8)},p:function(V,j){return I(100*V,j)},r:I,s:function(V,j){var A=Object(C.a)(V,j);if(!A)return V+"";var P=A[0],E=A[1],p=E-(At=3*Math.max(-8,Math.min(8,Math.floor(E/3))))+1,o=P.length;return p===o?P:p>o?P+new Array(p-o+1).join("0"):p>0?P.slice(0,p)+"."+P.slice(p):"0."+new Array(1-p).join("0")+Object(C.a)(V,Math.max(0,j+p-1))[0]},X:function(V){return Math.round(V).toString(16).toUpperCase()},x:function(V){return Math.round(V).toString(16)}},q=function(V){return V},J=Array.prototype.map,U=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];wt.a=function(V){var j,A,P=V.grouping===void 0||V.thousands===void 0?q:(j=J.call(V.grouping,Number),A=V.thousands+"",function(m,g){for(var x=m.length,R=[],y=0,b=j[0],s=0;x>0&&b>0&&(s+b+1>g&&(b=Math.max(1,g-s)),R.push(m.substring(x-=b,x+b)),!((s+=b+1)>g));)b=j[y=(y+1)%j.length];return R.reverse().join(A)}),E=V.currency===void 0?"":V.currency[0]+"",p=V.currency===void 0?"":V.currency[1]+"",o=V.decimal===void 0?".":V.decimal+"",T=V.numerals===void 0?q:function(m){return function(g){return g.replace(/[0-9]/g,function(x){return m[+x]})}}(J.call(V.numerals,String)),w=V.percent===void 0?"%":V.percent+"",f=V.minus===void 0?"-":V.minus+"",S=V.nan===void 0?"NaN":V.nan+"";function v(m){var g=(m=Object(c.b)(m)).fill,x=m.align,R=m.sign,y=m.symbol,b=m.zero,s=m.width,l=m.comma,O=m.precision,D=m.trim,u=m.type;u==="n"?(l=!0,u="g"):G[u]||(O===void 0&&(O=12),D=!0,u="g"),(b||g==="0"&&x==="=")&&(b=!0,g="0",x="=");var _=y==="$"?E:y==="#"&&/[boxX]/.test(u)?"0"+u.toLowerCase():"",L=y==="$"?p:/[%p]/.test(u)?w:"",nt=G[u],rt=/[defgprs%]/.test(u);function it(X){var ct,B,F,ut=_,ft=L;if(u==="c")ft=nt(X)+ft,X="";else{var et=(X=+X)<0;if(X=isNaN(X)?S:nt(Math.abs(X),O),D&&(X=function(tt){t:for(var Q,K=tt.length,st=1,xt=-1;st0&&(xt=0)}return xt>0?tt.slice(0,xt)+tt.slice(Q+1):tt}(X)),et&&+X==0&&(et=!1),ut=(et?R==="("?R:f:R==="-"||R==="("?"":R)+ut,ft=(u==="s"?U[8+At/3]:"")+ft+(et&&R==="("?")":""),rt){for(ct=-1,B=X.length;++ct(F=X.charCodeAt(ct))||F>57){ft=(F===46?o+X.slice(ct+1):X.slice(ct))+ft,X=X.slice(0,ct);break}}}l&&!b&&(X=P(X,1/0));var ht=ut.length+X.length+ft.length,z=ht>1)+ut+X+ft+z.slice(ht);break;default:X=z+ut+X+ft}return T(X)}return O=O===void 0?6:/[gprs]/.test(u)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O)),it.toString=function(){return m+""},it}return{format:v,formatPrefix:function(m,g){var x=v(((m=Object(c.b)(m)).type="f",m)),R=3*Math.max(-8,Math.min(8,Math.floor(Object(W.a)(g)/3))),y=Math.pow(10,-R),b=U[8+R/3];return function(s){return x(y*s)+b}}}}},,,function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return W}),Z.d(wt,"c",function(){return c}),Z.d(wt,"a",function(){return I});var At,W,c,C=Z(40);function I(G){return At=Object(C.a)(G),W=At.format,c=At.formatPrefix,At}I({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(we,wt,Z){"use strict";Z.r(wt);var At=Z(43);Z.d(wt,"formatDefaultLocale",function(){return At.a}),Z.d(wt,"format",function(){return At.b}),Z.d(wt,"formatPrefix",function(){return At.c});var W=Z(40);Z.d(wt,"formatLocale",function(){return W.a});var c=Z(25);Z.d(wt,"formatSpecifier",function(){return c.b}),Z.d(wt,"FormatSpecifier",function(){return c.a});var C=Z(63);Z.d(wt,"precisionFixed",function(){return C.a});var I=Z(64);Z.d(wt,"precisionPrefix",function(){return I.a});var G=Z(65);Z.d(wt,"precisionRound",function(){return G.a})},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return W}),Z.d(wt,"c",function(){return c}),Z.d(wt,"d",function(){return C}),Z.d(wt,"e",function(){return I}),Z.d(wt,"a",function(){return q});var At,W,c,C,I,G=Z(54);function q(J){return At=Object(G.a)(J),W=At.format,c=At.parse,C=At.utcFormat,I=At.utcParse,At}q({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},,function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return c});var At=Z(0),W=Object(At.a)(function(C){C.setDate(1),C.setHours(0,0,0,0)},function(C,I){C.setMonth(C.getMonth()+I)},function(C,I){return I.getMonth()-C.getMonth()+12*(I.getFullYear()-C.getFullYear())},function(C){return C.getMonth()});wt.a=W;var c=W.range},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return C});var At=Z(0),W=Z(1),c=Object(At.a)(function(I){I.setTime(I-I.getMilliseconds()-I.getSeconds()*W.d-I.getMinutes()*W.c)},function(I,G){I.setTime(+I+G*W.b)},function(I,G){return(G-I)/W.b},function(I){return I.getHours()});wt.a=c;var C=c.range},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return C});var At=Z(0),W=Z(1),c=Object(At.a)(function(I){I.setTime(I-I.getMilliseconds()-I.getSeconds()*W.d)},function(I,G){I.setTime(+I+G*W.c)},function(I,G){return(G-I)/W.c},function(I){return I.getMinutes()});wt.a=c;var C=c.range},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return c});var At=Z(0),W=Object(At.a)(function(C){C.setUTCDate(1),C.setUTCHours(0,0,0,0)},function(C,I){C.setUTCMonth(C.getUTCMonth()+I)},function(C,I){return I.getUTCMonth()-C.getUTCMonth()+12*(I.getUTCFullYear()-C.getUTCFullYear())},function(C){return C.getUTCMonth()});wt.a=W;var c=W.range},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return C});var At=Z(0),W=Z(1),c=Object(At.a)(function(I){I.setUTCMinutes(0,0,0)},function(I,G){I.setTime(+I+G*W.b)},function(I,G){return(G-I)/W.b},function(I){return I.getUTCHours()});wt.a=c;var C=c.range},function(we,wt,Z){"use strict";Z.d(wt,"b",function(){return C});var At=Z(0),W=Z(1),c=Object(At.a)(function(I){I.setUTCSeconds(0,0)},function(I,G){I.setTime(+I+G*W.c)},function(I,G){return(G-I)/W.c},function(I){return I.getUTCMinutes()});wt.a=c;var C=c.range},function(we,wt,Z){"use strict";var At=Z(26);wt.a=function(W){var c=W.length;return function(C){var I=Math.floor(((C%=1)<0?++C:C)*c),G=W[(I+c-1)%c],q=W[I%c],J=W[(I+1)%c],U=W[(I+2)%c];return Object(At.a)((C-I/c)*c,G,q,J,U)}}},function(we,wt,Z){"use strict";Z.d(wt,"a",function(){return V});var At=Z(4),W=Z(28),c=Z(3),C=Z(27),I=Z(15),G=Z(16);function q(Lt){if(0<=Lt.y&&Lt.y<100){var jt=new Date(-1,Lt.m,Lt.d,Lt.H,Lt.M,Lt.S,Lt.L);return jt.setFullYear(Lt.y),jt}return new Date(Lt.y,Lt.m,Lt.d,Lt.H,Lt.M,Lt.S,Lt.L)}function J(Lt){if(0<=Lt.y&&Lt.y<100){var jt=new Date(Date.UTC(-1,Lt.m,Lt.d,Lt.H,Lt.M,Lt.S,Lt.L));return jt.setUTCFullYear(Lt.y),jt}return new Date(Date.UTC(Lt.y,Lt.m,Lt.d,Lt.H,Lt.M,Lt.S,Lt.L))}function U(Lt,jt,Ut){return{y:Lt,m:jt,d:Ut,H:0,M:0,S:0,L:0}}function V(Lt){var jt=Lt.dateTime,Ut=Lt.date,Ft=Lt.time,oe=Lt.periods,xe=Lt.days,fe=Lt.shortDays,$e=Lt.months,cn=Lt.shortMonths,xn=T(oe),Wn=w(oe),fn=T(xe),Mn=w(xe),Qn=T(fe),Sr=w(fe),me=T($e),Le=w($e),Ue=T(cn),pe=w(cn),Pe={a:function(be){return fe[be.getDay()]},A:function(be){return xe[be.getDay()]},b:function(be){return cn[be.getMonth()]},B:function(be){return $e[be.getMonth()]},c:null,d:ct,e:ct,f:et,H:B,I:F,j:ut,L:ft,m:ht,M:z,p:function(be){return oe[+(be.getHours()>=12)]},q:function(be){return 1+~~(be.getMonth()/3)},Q:ie,s:ne,S:tt,u:Q,U:K,V:st,w:xt,W:gt,x:null,X:null,y:Tt,Y:vt,Z:Dt,"%":se},Ie={a:function(be){return fe[be.getUTCDay()]},A:function(be){return xe[be.getUTCDay()]},b:function(be){return cn[be.getUTCMonth()]},B:function(be){return $e[be.getUTCMonth()]},c:null,d:Bt,e:Bt,f:Ot,H:Nt,I:Pt,j:Mt,L:mt,m:Yt,M:$t,p:function(be){return oe[+(be.getUTCHours()>=12)]},q:function(be){return 1+~~(be.getUTCMonth()/3)},Q:ie,s:ne,S:ae,u:le,U:Oe,V:Ve,w:rn,W:ln,x:null,X:null,y:nn,Y:bn,Z:un,"%":se},Te={a:function(be,Qe,gn){var Se=Qn.exec(Qe.slice(gn));return Se?(be.w=Sr[Se[0].toLowerCase()],gn+Se[0].length):-1},A:function(be,Qe,gn){var Se=fn.exec(Qe.slice(gn));return Se?(be.w=Mn[Se[0].toLowerCase()],gn+Se[0].length):-1},b:function(be,Qe,gn){var Se=Ue.exec(Qe.slice(gn));return Se?(be.m=pe[Se[0].toLowerCase()],gn+Se[0].length):-1},B:function(be,Qe,gn){var Se=me.exec(Qe.slice(gn));return Se?(be.m=Le[Se[0].toLowerCase()],gn+Se[0].length):-1},c:function(be,Qe,gn){return wn(be,jt,Qe,gn)},d:l,e:l,f:nt,H:D,I:D,j:O,L,m:s,M:u,p:function(be,Qe,gn){var Se=xn.exec(Qe.slice(gn));return Se?(be.p=Wn[Se[0].toLowerCase()],gn+Se[0].length):-1},q:b,Q:it,s:X,S:_,u:S,U:v,V:m,w:f,W:g,x:function(be,Qe,gn){return wn(be,Ut,Qe,gn)},X:function(be,Qe,gn){return wn(be,Ft,Qe,gn)},y:R,Y:x,Z:y,"%":rt};function ke(be,Qe){return function(gn){var Se,yn,Je,hn=[],mn=-1,pn=0,Zn=be.length;for(gn instanceof Date||(gn=new Date(+gn));++mn53)return null;"w"in Je||(Je.w=1),"Z"in Je?(yn=(Se=J(U(Je.y,0,1))).getUTCDay(),Se=yn>4||yn===0?At.c.ceil(Se):Object(At.c)(Se),Se=W.a.offset(Se,7*(Je.V-1)),Je.y=Se.getUTCFullYear(),Je.m=Se.getUTCMonth(),Je.d=Se.getUTCDate()+(Je.w+6)%7):(yn=(Se=q(U(Je.y,0,1))).getDay(),Se=yn>4||yn===0?c.c.ceil(Se):Object(c.c)(Se),Se=C.b.offset(Se,7*(Je.V-1)),Je.y=Se.getFullYear(),Je.m=Se.getMonth(),Je.d=Se.getDate()+(Je.w+6)%7)}else("W"in Je||"U"in Je)&&("w"in Je||(Je.w="u"in Je?Je.u%7:"W"in Je?1:0),yn="Z"in Je?J(U(Je.y,0,1)).getUTCDay():q(U(Je.y,0,1)).getDay(),Je.m=0,Je.d="W"in Je?(Je.w+6)%7+7*Je.W-(yn+5)%7:Je.w+7*Je.U-(yn+6)%7);return"Z"in Je?(Je.H+=Je.Z/100|0,Je.M+=Je.Z%100,J(Je)):q(Je)}}function wn(be,Qe,gn,Se){for(var yn,Je,hn=0,mn=Qe.length,pn=gn.length;hn=pn)return-1;if((yn=Qe.charCodeAt(hn++))===37){if(yn=Qe.charAt(hn++),!(Je=Te[yn in j?Qe.charAt(hn++):yn])||(Se=Je(be,gn,Se))<0)return-1}else if(yn!=gn.charCodeAt(Se++))return-1}return Se}return Pe.x=ke(Ut,Pe),Pe.X=ke(Ft,Pe),Pe.c=ke(jt,Pe),Ie.x=ke(Ut,Ie),Ie.X=ke(Ft,Ie),Ie.c=ke(jt,Ie),{format:function(be){var Qe=ke(be+="",Pe);return Qe.toString=function(){return be},Qe},parse:function(be){var Qe=Ke(be+="",!1);return Qe.toString=function(){return be},Qe},utcFormat:function(be){var Qe=ke(be+="",Ie);return Qe.toString=function(){return be},Qe},utcParse:function(be){var Qe=Ke(be+="",!0);return Qe.toString=function(){return be},Qe}}}var j={"-":"",_:" ",0:"0"},A=/^\s*\d+/,P=/^%/,E=/[\\^$*+?|[\]().{}]/g;function p(Lt,jt,Ut){var Ft=Lt<0?"-":"",oe=(Ft?-Lt:Lt)+"",xe=oe.length;return Ft+(xe68?1900:2e3),Ut+Ft[0].length):-1}function y(Lt,jt,Ut){var Ft=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(jt.slice(Ut,Ut+6));return Ft?(Lt.Z=Ft[1]?0:-(Ft[2]+(Ft[3]||"00")),Ut+Ft[0].length):-1}function b(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+1));return Ft?(Lt.q=3*Ft[0]-3,Ut+Ft[0].length):-1}function s(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.m=Ft[0]-1,Ut+Ft[0].length):-1}function l(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.d=+Ft[0],Ut+Ft[0].length):-1}function O(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+3));return Ft?(Lt.m=0,Lt.d=+Ft[0],Ut+Ft[0].length):-1}function D(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.H=+Ft[0],Ut+Ft[0].length):-1}function u(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.M=+Ft[0],Ut+Ft[0].length):-1}function _(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+2));return Ft?(Lt.S=+Ft[0],Ut+Ft[0].length):-1}function L(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+3));return Ft?(Lt.L=+Ft[0],Ut+Ft[0].length):-1}function nt(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut,Ut+6));return Ft?(Lt.L=Math.floor(Ft[0]/1e3),Ut+Ft[0].length):-1}function rt(Lt,jt,Ut){var Ft=P.exec(jt.slice(Ut,Ut+1));return Ft?Ut+Ft[0].length:-1}function it(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut));return Ft?(Lt.Q=+Ft[0],Ut+Ft[0].length):-1}function X(Lt,jt,Ut){var Ft=A.exec(jt.slice(Ut));return Ft?(Lt.s=+Ft[0],Ut+Ft[0].length):-1}function ct(Lt,jt){return p(Lt.getDate(),jt,2)}function B(Lt,jt){return p(Lt.getHours(),jt,2)}function F(Lt,jt){return p(Lt.getHours()%12||12,jt,2)}function ut(Lt,jt){return p(1+C.b.count(Object(I.a)(Lt),Lt),jt,3)}function ft(Lt,jt){return p(Lt.getMilliseconds(),jt,3)}function et(Lt,jt){return ft(Lt,jt)+"000"}function ht(Lt,jt){return p(Lt.getMonth()+1,jt,2)}function z(Lt,jt){return p(Lt.getMinutes(),jt,2)}function tt(Lt,jt){return p(Lt.getSeconds(),jt,2)}function Q(Lt){var jt=Lt.getDay();return jt===0?7:jt}function K(Lt,jt){return p(c.g.count(Object(I.a)(Lt)-1,Lt),jt,2)}function st(Lt,jt){var Ut=Lt.getDay();return Lt=Ut>=4||Ut===0?Object(c.i)(Lt):c.i.ceil(Lt),p(c.i.count(Object(I.a)(Lt),Lt)+(Object(I.a)(Lt).getDay()===4),jt,2)}function xt(Lt){return Lt.getDay()}function gt(Lt,jt){return p(c.c.count(Object(I.a)(Lt)-1,Lt),jt,2)}function Tt(Lt,jt){return p(Lt.getFullYear()%100,jt,2)}function vt(Lt,jt){return p(Lt.getFullYear()%1e4,jt,4)}function Dt(Lt){var jt=Lt.getTimezoneOffset();return(jt>0?"-":(jt*=-1,"+"))+p(jt/60|0,"0",2)+p(jt%60,"0",2)}function Bt(Lt,jt){return p(Lt.getUTCDate(),jt,2)}function Nt(Lt,jt){return p(Lt.getUTCHours(),jt,2)}function Pt(Lt,jt){return p(Lt.getUTCHours()%12||12,jt,2)}function Mt(Lt,jt){return p(1+W.a.count(Object(G.a)(Lt),Lt),jt,3)}function mt(Lt,jt){return p(Lt.getUTCMilliseconds(),jt,3)}function Ot(Lt,jt){return mt(Lt,jt)+"000"}function Yt(Lt,jt){return p(Lt.getUTCMonth()+1,jt,2)}function $t(Lt,jt){return p(Lt.getUTCMinutes(),jt,2)}function ae(Lt,jt){return p(Lt.getUTCSeconds(),jt,2)}function le(Lt){var jt=Lt.getUTCDay();return jt===0?7:jt}function Oe(Lt,jt){return p(At.g.count(Object(G.a)(Lt)-1,Lt),jt,2)}function Ve(Lt,jt){var Ut=Lt.getUTCDay();return Lt=Ut>=4||Ut===0?Object(At.i)(Lt):At.i.ceil(Lt),p(At.i.count(Object(G.a)(Lt),Lt)+(Object(G.a)(Lt).getUTCDay()===4),jt,2)}function rn(Lt){return Lt.getUTCDay()}function ln(Lt,jt){return p(At.c.count(Object(G.a)(Lt)-1,Lt),jt,2)}function nn(Lt,jt){return p(Lt.getUTCFullYear()%100,jt,2)}function bn(Lt,jt){return p(Lt.getUTCFullYear()%1e4,jt,4)}function un(){return"+0000"}function se(){return"%"}function ie(Lt){return+Lt}function ne(Lt){return Math.floor(+Lt/1e3)}},function(we,wt,Z){"use strict";var At=Z(6),W=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,c=new RegExp(W.source,"g");wt.a=function(C,I){var G,q,J,U=W.lastIndex=c.lastIndex=0,V=-1,j=[],A=[];for(C+="",I+="";(G=W.exec(C))&&(q=c.exec(I));)(J=q.index)>U&&(J=I.slice(U,J),j[V]?j[V]+=J:j[++V]=J),(G=G[0])===(q=q[0])?j[V]?j[V]+=q:j[++V]=q:(j[++V]=null,A.push({i:V,x:Object(At.a)(G,q)})),U=c.lastIndex;return U=0&&(V=U.slice(j+1),U=U.slice(0,j)),U&&!J.hasOwnProperty(U))throw new Error("unknown type: "+U);return{type:U,name:V}})}function I(q,J){for(var U,V=0,j=q.length;V0)for(var U,V,j=new Array(U),A=0;A1e-6)if(Math.abs(Be*ce-_e*Ye)>1e-6&&Vt){var En=Gt-te,Rn=_t-ue,Un=ce*ce+_e*_e,fr=En*En+Rn*Rn,rr=Math.sqrt(Un),Gn=Math.sqrt(Ze),sr=Vt*Math.tan((At-Math.acos((Un+Ze-fr)/(2*rr*Gn)))/2),Cr=sr/Gn,xr=sr/rr;Math.abs(Cr-1)>1e-6&&(this._+="L"+(dt+Cr*Ye)+","+(Rt+Cr*Be)),this._+="A"+Vt+","+Vt+",0,0,"+ +(Be*En>Ye*Rn)+","+(this._x1=dt+xr*ce)+","+(this._y1=Rt+xr*_e)}else this._+="L"+(this._x1=dt)+","+(this._y1=Rt)},arc:function(dt,Rt,Gt,_t,Vt,te){dt=+dt,Rt=+Rt,te=!!te;var ue=(Gt=+Gt)*Math.cos(_t),ce=Gt*Math.sin(_t),_e=dt+ue,Ye=Rt+ce,Be=1^te,Ze=te?_t-Vt:Vt-_t;if(Gt<0)throw new Error("negative radius: "+Gt);this._x1===null?this._+="M"+_e+","+Ye:(Math.abs(this._x1-_e)>1e-6||Math.abs(this._y1-Ye)>1e-6)&&(this._+="L"+_e+","+Ye),Gt&&(Ze<0&&(Ze=Ze%W+W),Ze>c?this._+="A"+Gt+","+Gt+",0,1,"+Be+","+(dt-ue)+","+(Rt-ce)+"A"+Gt+","+Gt+",0,1,"+Be+","+(this._x1=_e)+","+(this._y1=Ye):Ze>1e-6&&(this._+="A"+Gt+","+Gt+",0,"+ +(Ze>=At)+","+Be+","+(this._x1=dt+Gt*Math.cos(Vt))+","+(this._y1=Rt+Gt*Math.sin(Vt))))},rect:function(dt,Rt,Gt,_t){this._+="M"+(this._x0=this._x1=+dt)+","+(this._y0=this._y1=+Rt)+"h"+ +Gt+"v"+ +_t+"h"+-Gt+"Z"},toString:function(){return this._}};var G=I,q=function(dt){return function(){return dt}},J=Math.abs,U=Math.atan2,V=Math.cos,j=Math.max,A=Math.min,P=Math.sin,E=Math.sqrt,p=Math.PI,o=p/2,T=2*p;function w(dt){return dt>1?0:dt<-1?p:Math.acos(dt)}function f(dt){return dt>=1?o:dt<=-1?-o:Math.asin(dt)}function S(dt){return dt.innerRadius}function v(dt){return dt.outerRadius}function m(dt){return dt.startAngle}function g(dt){return dt.endAngle}function x(dt){return dt&&dt.padAngle}function R(dt,Rt,Gt,_t,Vt,te,ue,ce){var _e=Gt-dt,Ye=_t-Rt,Be=ue-Vt,Ze=ce-te,En=Ze*_e-Be*Ye;if(!(En*En<1e-12))return[dt+(En=(Be*(Rt-te)-Ze*(dt-Vt))/En)*_e,Rt+En*Ye]}function y(dt,Rt,Gt,_t,Vt,te,ue){var ce=dt-Gt,_e=Rt-_t,Ye=(ue?te:-te)/E(ce*ce+_e*_e),Be=Ye*_e,Ze=-Ye*ce,En=dt+Be,Rn=Rt+Ze,Un=Gt+Be,fr=_t+Ze,rr=(En+Un)/2,Gn=(Rn+fr)/2,sr=Un-En,Cr=fr-Rn,xr=sr*sr+Cr*Cr,Ir=Vt-te,Kr=En*fr-Un*Rn,ci=(Cr<0?-1:1)*E(j(0,Ir*Ir*xr-Kr*Kr)),Ni=(Kr*Cr-sr*ci)/xr,Ai=(-Kr*sr-Cr*ci)/xr,yi=(Kr*Cr+sr*ci)/xr,Pi=(-Kr*sr+Cr*ci)/xr,Di=Ni-rr,Oi=Ai-Gn,Wi=yi-rr,eo=Pi-Gn;return Di*Di+Oi*Oi>Wi*Wi+eo*eo&&(Ni=yi,Ai=Pi),{cx:Ni,cy:Ai,x01:-Be,y01:-Ze,x11:Ni*(Vt/Ir-1),y11:Ai*(Vt/Ir-1)}}var b=function(){var dt=S,Rt=v,Gt=q(0),_t=null,Vt=m,te=g,ue=x,ce=null;function _e(){var Ye,Be,Ze=+dt.apply(this,arguments),En=+Rt.apply(this,arguments),Rn=Vt.apply(this,arguments)-o,Un=te.apply(this,arguments)-o,fr=J(Un-Rn),rr=Un>Rn;if(ce||(ce=Ye=G()),En1e-12)if(fr>T-1e-12)ce.moveTo(En*V(Rn),En*P(Rn)),ce.arc(0,0,En,Rn,Un,!rr),Ze>1e-12&&(ce.moveTo(Ze*V(Un),Ze*P(Un)),ce.arc(0,0,Ze,Un,Rn,rr));else{var Gn,sr,Cr=Rn,xr=Un,Ir=Rn,Kr=Un,ci=fr,Ni=fr,Ai=ue.apply(this,arguments)/2,yi=Ai>1e-12&&(_t?+_t.apply(this,arguments):E(Ze*Ze+En*En)),Pi=A(J(En-Ze)/2,+Gt.apply(this,arguments)),Di=Pi,Oi=Pi;if(yi>1e-12){var Wi=f(yi/Ze*P(Ai)),eo=f(yi/En*P(Ai));(ci-=2*Wi)>1e-12?(Ir+=Wi*=rr?1:-1,Kr-=Wi):(ci=0,Ir=Kr=(Rn+Un)/2),(Ni-=2*eo)>1e-12?(Cr+=eo*=rr?1:-1,xr-=eo):(Ni=0,Cr=xr=(Rn+Un)/2)}var $i=En*V(Cr),Mo=En*P(Cr),Lo=Ze*V(Kr),fo=Ze*P(Kr);if(Pi>1e-12){var no,_o=En*V(xr),Yo=En*P(xr),uo=Ze*V(Ir),Mi=Ze*P(Ir);if(fr1e-12?Oi>1e-12?(Gn=y(uo,Mi,$i,Mo,En,Oi,rr),sr=y(_o,Yo,Lo,fo,En,Oi,rr),ce.moveTo(Gn.cx+Gn.x01,Gn.cy+Gn.y01),Oi1e-12&&ci>1e-12?Di>1e-12?(Gn=y(Lo,fo,_o,Yo,Ze,-Di,rr),sr=y($i,Mo,uo,Mi,Ze,-Di,rr),ce.lineTo(Gn.cx+Gn.x01,Gn.cy+Gn.y01),Di=En;--Rn)ce.point(sr[Rn],Cr[Rn]);ce.lineEnd(),ce.areaEnd()}Gn&&(sr[Ze]=+dt(Un,Ze,Be),Cr[Ze]=+Gt(Un,Ze,Be),ce.point(Rt?+Rt(Un,Ze,Be):sr[Ze],_t?+_t(Un,Ze,Be):Cr[Ze]))}if(fr)return ce=null,fr+""||null}function Ye(){return u().defined(Vt).curve(ue).context(te)}return _e.x=function(Be){return arguments.length?(dt=typeof Be=="function"?Be:q(+Be),Rt=null,_e):dt},_e.x0=function(Be){return arguments.length?(dt=typeof Be=="function"?Be:q(+Be),_e):dt},_e.x1=function(Be){return arguments.length?(Rt=Be==null?null:typeof Be=="function"?Be:q(+Be),_e):Rt},_e.y=function(Be){return arguments.length?(Gt=typeof Be=="function"?Be:q(+Be),_t=null,_e):Gt},_e.y0=function(Be){return arguments.length?(Gt=typeof Be=="function"?Be:q(+Be),_e):Gt},_e.y1=function(Be){return arguments.length?(_t=Be==null?null:typeof Be=="function"?Be:q(+Be),_e):_t},_e.lineX0=_e.lineY0=function(){return Ye().x(dt).y(Gt)},_e.lineY1=function(){return Ye().x(dt).y(_t)},_e.lineX1=function(){return Ye().x(Rt).y(Gt)},_e.defined=function(Be){return arguments.length?(Vt=typeof Be=="function"?Be:q(!!Be),_e):Vt},_e.curve=function(Be){return arguments.length?(ue=Be,te!=null&&(ce=ue(te)),_e):ue},_e.context=function(Be){return arguments.length?(Be==null?te=ce=null:ce=ue(te=Be),_e):te},_e},L=function(dt,Rt){return Rtdt?1:Rt>=dt?0:NaN},nt=function(dt){return dt},rt=function(){var dt=nt,Rt=L,Gt=null,_t=q(0),Vt=q(T),te=q(0);function ue(ce){var _e,Ye,Be,Ze,En,Rn=ce.length,Un=0,fr=new Array(Rn),rr=new Array(Rn),Gn=+_t.apply(this,arguments),sr=Math.min(T,Math.max(-T,Vt.apply(this,arguments)-Gn)),Cr=Math.min(Math.abs(sr)/Rn,te.apply(this,arguments)),xr=Cr*(sr<0?-1:1);for(_e=0;_e0&&(Un+=En);for(Rt!=null?fr.sort(function(Ir,Kr){return Rt(rr[Ir],rr[Kr])}):Gt!=null&&fr.sort(function(Ir,Kr){return Gt(ce[Ir],ce[Kr])}),_e=0,Be=Un?(sr-Rn*xr)/Un:0;_e0?En*Be:0)+xr,rr[Ye]={data:ce[Ye],index:_e,value:En,startAngle:Gn,endAngle:Ze,padAngle:Cr};return rr}return ue.value=function(ce){return arguments.length?(dt=typeof ce=="function"?ce:q(+ce),ue):dt},ue.sortValues=function(ce){return arguments.length?(Rt=ce,Gt=null,ue):Rt},ue.sort=function(ce){return arguments.length?(Gt=ce,Rt=null,ue):Gt},ue.startAngle=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:q(+ce),ue):_t},ue.endAngle=function(ce){return arguments.length?(Vt=typeof ce=="function"?ce:q(+ce),ue):Vt},ue.padAngle=function(ce){return arguments.length?(te=typeof ce=="function"?ce:q(+ce),ue):te},ue},it=ct(l);function X(dt){this._curve=dt}function ct(dt){function Rt(Gt){return new X(dt(Gt))}return Rt._curve=dt,Rt}function B(dt){var Rt=dt.curve;return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt.curve=function(Gt){return arguments.length?Rt(ct(Gt)):Rt()._curve},dt}X.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(dt,Rt){this._curve.point(Rt*Math.sin(dt),Rt*-Math.cos(dt))}};var F=function(){return B(u().curve(it))},ut=function(){var dt=_().curve(it),Rt=dt.curve,Gt=dt.lineX0,_t=dt.lineX1,Vt=dt.lineY0,te=dt.lineY1;return dt.angle=dt.x,delete dt.x,dt.startAngle=dt.x0,delete dt.x0,dt.endAngle=dt.x1,delete dt.x1,dt.radius=dt.y,delete dt.y,dt.innerRadius=dt.y0,delete dt.y0,dt.outerRadius=dt.y1,delete dt.y1,dt.lineStartAngle=function(){return B(Gt())},delete dt.lineX0,dt.lineEndAngle=function(){return B(_t())},delete dt.lineX1,dt.lineInnerRadius=function(){return B(Vt())},delete dt.lineY0,dt.lineOuterRadius=function(){return B(te())},delete dt.lineY1,dt.curve=function(ue){return arguments.length?Rt(ct(ue)):Rt()._curve},dt},ft=function(dt,Rt){return[(Rt=+Rt)*Math.cos(dt-=Math.PI/2),Rt*Math.sin(dt)]},et=Array.prototype.slice;function ht(dt){return dt.source}function z(dt){return dt.target}function tt(dt){var Rt=ht,Gt=z,_t=O,Vt=D,te=null;function ue(){var ce,_e=et.call(arguments),Ye=Rt.apply(this,_e),Be=Gt.apply(this,_e);if(te||(te=ce=G()),dt(te,+_t.apply(this,(_e[0]=Ye,_e)),+Vt.apply(this,_e),+_t.apply(this,(_e[0]=Be,_e)),+Vt.apply(this,_e)),ce)return te=null,ce+""||null}return ue.source=function(ce){return arguments.length?(Rt=ce,ue):Rt},ue.target=function(ce){return arguments.length?(Gt=ce,ue):Gt},ue.x=function(ce){return arguments.length?(_t=typeof ce=="function"?ce:q(+ce),ue):_t},ue.y=function(ce){return arguments.length?(Vt=typeof ce=="function"?ce:q(+ce),ue):Vt},ue.context=function(ce){return arguments.length?(te=ce==null?null:ce,ue):te},ue}function Q(dt,Rt,Gt,_t,Vt){dt.moveTo(Rt,Gt),dt.bezierCurveTo(Rt=(Rt+_t)/2,Gt,Rt,Vt,_t,Vt)}function K(dt,Rt,Gt,_t,Vt){dt.moveTo(Rt,Gt),dt.bezierCurveTo(Rt,Gt=(Gt+Vt)/2,_t,Gt,_t,Vt)}function st(dt,Rt,Gt,_t,Vt){var te=ft(Rt,Gt),ue=ft(Rt,Gt=(Gt+Vt)/2),ce=ft(_t,Gt),_e=ft(_t,Vt);dt.moveTo(te[0],te[1]),dt.bezierCurveTo(ue[0],ue[1],ce[0],ce[1],_e[0],_e[1])}function xt(){return tt(Q)}function gt(){return tt(K)}function Tt(){var dt=tt(st);return dt.angle=dt.x,delete dt.x,dt.radius=dt.y,delete dt.y,dt}var vt={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/p);dt.moveTo(Gt,0),dt.arc(0,0,Gt,0,T)}},Dt={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/5)/2;dt.moveTo(-3*Gt,-Gt),dt.lineTo(-Gt,-Gt),dt.lineTo(-Gt,-3*Gt),dt.lineTo(Gt,-3*Gt),dt.lineTo(Gt,-Gt),dt.lineTo(3*Gt,-Gt),dt.lineTo(3*Gt,Gt),dt.lineTo(Gt,Gt),dt.lineTo(Gt,3*Gt),dt.lineTo(-Gt,3*Gt),dt.lineTo(-Gt,Gt),dt.lineTo(-3*Gt,Gt),dt.closePath()}},Bt=Math.sqrt(1/3),Nt=2*Bt,Pt={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/Nt),_t=Gt*Bt;dt.moveTo(0,-Gt),dt.lineTo(_t,0),dt.lineTo(0,Gt),dt.lineTo(-_t,0),dt.closePath()}},Mt=Math.sin(p/10)/Math.sin(7*p/10),mt=Math.sin(T/10)*Mt,Ot=-Math.cos(T/10)*Mt,Yt={draw:function(dt,Rt){var Gt=Math.sqrt(.8908130915292852*Rt),_t=mt*Gt,Vt=Ot*Gt;dt.moveTo(0,-Gt),dt.lineTo(_t,Vt);for(var te=1;te<5;++te){var ue=T*te/5,ce=Math.cos(ue),_e=Math.sin(ue);dt.lineTo(_e*Gt,-ce*Gt),dt.lineTo(ce*_t-_e*Vt,_e*_t+ce*Vt)}dt.closePath()}},$t={draw:function(dt,Rt){var Gt=Math.sqrt(Rt),_t=-Gt/2;dt.rect(_t,_t,Gt,Gt)}},ae=Math.sqrt(3),le={draw:function(dt,Rt){var Gt=-Math.sqrt(Rt/(3*ae));dt.moveTo(0,2*Gt),dt.lineTo(-ae*Gt,-Gt),dt.lineTo(ae*Gt,-Gt),dt.closePath()}},Oe=Math.sqrt(3)/2,Ve=1/Math.sqrt(12),rn=3*(Ve/2+1),ln={draw:function(dt,Rt){var Gt=Math.sqrt(Rt/rn),_t=Gt/2,Vt=Gt*Ve,te=_t,ue=Gt*Ve+Gt,ce=-te,_e=ue;dt.moveTo(_t,Vt),dt.lineTo(te,ue),dt.lineTo(ce,_e),dt.lineTo(-.5*_t-Oe*Vt,Oe*_t+-.5*Vt),dt.lineTo(-.5*te-Oe*ue,Oe*te+-.5*ue),dt.lineTo(-.5*ce-Oe*_e,Oe*ce+-.5*_e),dt.lineTo(-.5*_t+Oe*Vt,-.5*Vt-Oe*_t),dt.lineTo(-.5*te+Oe*ue,-.5*ue-Oe*te),dt.lineTo(-.5*ce+Oe*_e,-.5*_e-Oe*ce),dt.closePath()}},nn=[vt,Dt,Pt,$t,Yt,le,ln],bn=function(){var dt=q(vt),Rt=q(64),Gt=null;function _t(){var Vt;if(Gt||(Gt=Vt=G()),dt.apply(this,arguments).draw(Gt,+Rt.apply(this,arguments)),Vt)return Gt=null,Vt+""||null}return _t.type=function(Vt){return arguments.length?(dt=typeof Vt=="function"?Vt:q(Vt),_t):dt},_t.size=function(Vt){return arguments.length?(Rt=typeof Vt=="function"?Vt:q(+Vt),_t):Rt},_t.context=function(Vt){return arguments.length?(Gt=Vt==null?null:Vt,_t):Gt},_t},un=function(){};function se(dt,Rt,Gt){dt._context.bezierCurveTo((2*dt._x0+dt._x1)/3,(2*dt._y0+dt._y1)/3,(dt._x0+2*dt._x1)/3,(dt._y0+2*dt._y1)/3,(dt._x0+4*dt._x1+Rt)/6,(dt._y0+4*dt._y1+Gt)/6)}function ie(dt){this._context=dt}ie.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:se(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);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:se(this,dt,Rt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt}};var ne=function(dt){return new ie(dt)};function Lt(dt){this._context=dt}Lt.prototype={areaStart:un,areaEnd:un,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(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._x2=dt,this._y2=Rt;break;case 1:this._point=2,this._x3=dt,this._y3=Rt;break;case 2:this._point=3,this._x4=dt,this._y4=Rt,this._context.moveTo((this._x0+4*this._x1+dt)/6,(this._y0+4*this._y1+Rt)/6);break;default:se(this,dt,Rt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt}};var jt=function(dt){return new Lt(dt)};function Ut(dt){this._context=dt}Ut.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var Gt=(this._x0+4*this._x1+dt)/6,_t=(this._y0+4*this._y1+Rt)/6;this._line?this._context.lineTo(Gt,_t):this._context.moveTo(Gt,_t);break;case 3:this._point=4;default:se(this,dt,Rt)}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt}};var Ft=function(dt){return new Ut(dt)};function oe(dt,Rt){this._basis=new ie(dt),this._beta=Rt}oe.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var dt=this._x,Rt=this._y,Gt=dt.length-1;if(Gt>0)for(var _t,Vt=dt[0],te=Rt[0],ue=dt[Gt]-Vt,ce=Rt[Gt]-te,_e=-1;++_e<=Gt;)_t=_e/Gt,this._basis.point(this._beta*dt[_e]+(1-this._beta)*(Vt+_t*ue),this._beta*Rt[_e]+(1-this._beta)*(te+_t*ce));this._x=this._y=null,this._basis.lineEnd()},point:function(dt,Rt){this._x.push(+dt),this._y.push(+Rt)}};var xe=function dt(Rt){function Gt(_t){return Rt===1?new ie(_t):new oe(_t,Rt)}return Gt.beta=function(_t){return dt(+_t)},Gt}(.85);function fe(dt,Rt,Gt){dt._context.bezierCurveTo(dt._x1+dt._k*(dt._x2-dt._x0),dt._y1+dt._k*(dt._y2-dt._y0),dt._x2+dt._k*(dt._x1-Rt),dt._y2+dt._k*(dt._y1-Gt),dt._x2,dt._y2)}function $e(dt,Rt){this._context=dt,this._k=(1-Rt)/6}$e.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:fe(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2,this._x1=dt,this._y1=Rt;break;case 2:this._point=3;default:fe(this,dt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var cn=function dt(Rt){function Gt(_t){return new $e(_t,Rt)}return Gt.tension=function(_t){return dt(+_t)},Gt}(0);function xn(dt,Rt){this._context=dt,this._k=(1-Rt)/6}xn.prototype={areaStart:un,areaEnd:un,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(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._x3=dt,this._y3=Rt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Rt);break;case 2:this._point=3,this._x5=dt,this._y5=Rt;break;default:fe(this,dt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Wn=function dt(Rt){function Gt(_t){return new xn(_t,Rt)}return Gt.tension=function(_t){return dt(+_t)},Gt}(0);function fn(dt,Rt){this._context=dt,this._k=(1-Rt)/6}fn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,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:fe(this,dt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Mn=function dt(Rt){function Gt(_t){return new fn(_t,Rt)}return Gt.tension=function(_t){return dt(+_t)},Gt}(0);function Qn(dt,Rt,Gt){var _t=dt._x1,Vt=dt._y1,te=dt._x2,ue=dt._y2;if(dt._l01_a>1e-12){var ce=2*dt._l01_2a+3*dt._l01_a*dt._l12_a+dt._l12_2a,_e=3*dt._l01_a*(dt._l01_a+dt._l12_a);_t=(_t*ce-dt._x0*dt._l12_2a+dt._x2*dt._l01_2a)/_e,Vt=(Vt*ce-dt._y0*dt._l12_2a+dt._y2*dt._l01_2a)/_e}if(dt._l23_a>1e-12){var Ye=2*dt._l23_2a+3*dt._l23_a*dt._l12_a+dt._l12_2a,Be=3*dt._l23_a*(dt._l23_a+dt._l12_a);te=(te*Ye+dt._x1*dt._l23_2a-Rt*dt._l12_2a)/Be,ue=(ue*Ye+dt._y1*dt._l23_2a-Gt*dt._l12_2a)/Be}dt._context.bezierCurveTo(_t,Vt,te,ue,dt._x2,dt._y2)}function Sr(dt,Rt){this._context=dt,this._alpha=Rt}Sr.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){if(dt=+dt,Rt=+Rt,this._point){var Gt=this._x2-dt,_t=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Gt*Gt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2;break;case 2:this._point=3;default:Qn(this,dt,Rt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var me=function dt(Rt){function Gt(_t){return Rt?new Sr(_t,Rt):new $e(_t,0)}return Gt.alpha=function(_t){return dt(+_t)},Gt}(.5);function Le(dt,Rt){this._context=dt,this._alpha=Rt}Le.prototype={areaStart:un,areaEnd:un,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(dt,Rt){if(dt=+dt,Rt=+Rt,this._point){var Gt=this._x2-dt,_t=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Gt*Gt+_t*_t,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=dt,this._y3=Rt;break;case 1:this._point=2,this._context.moveTo(this._x4=dt,this._y4=Rt);break;case 2:this._point=3,this._x5=dt,this._y5=Rt;break;default:Qn(this,dt,Rt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Ue=function dt(Rt){function Gt(_t){return Rt?new Le(_t,Rt):new xn(_t,0)}return Gt.alpha=function(_t){return dt(+_t)},Gt}(.5);function pe(dt,Rt){this._context=dt,this._alpha=Rt}pe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){if(dt=+dt,Rt=+Rt,this._point){var Gt=this._x2-dt,_t=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Gt*Gt+_t*_t,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:Qn(this,dt,Rt)}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=dt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Pe=function dt(Rt){function Gt(_t){return Rt?new pe(_t,Rt):new fn(_t,0)}return Gt.alpha=function(_t){return dt(+_t)},Gt}(.5);function Ie(dt){this._context=dt}Ie.prototype={areaStart:un,areaEnd:un,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(dt,Rt){dt=+dt,Rt=+Rt,this._point?this._context.lineTo(dt,Rt):(this._point=1,this._context.moveTo(dt,Rt))}};var Te=function(dt){return new Ie(dt)};function ke(dt){return dt<0?-1:1}function Ke(dt,Rt,Gt){var _t=dt._x1-dt._x0,Vt=Rt-dt._x1,te=(dt._y1-dt._y0)/(_t||Vt<0&&-0),ue=(Gt-dt._y1)/(Vt||_t<0&&-0),ce=(te*Vt+ue*_t)/(_t+Vt);return(ke(te)+ke(ue))*Math.min(Math.abs(te),Math.abs(ue),.5*Math.abs(ce))||0}function wn(dt,Rt){var Gt=dt._x1-dt._x0;return Gt?(3*(dt._y1-dt._y0)/Gt-Rt)/2:Rt}function be(dt,Rt,Gt){var _t=dt._x0,Vt=dt._y0,te=dt._x1,ue=dt._y1,ce=(te-_t)/3;dt._context.bezierCurveTo(_t+ce,Vt+ce*Rt,te-ce,ue-ce*Gt,te,ue)}function Qe(dt){this._context=dt}function gn(dt){this._context=new Se(dt)}function Se(dt){this._context=dt}function yn(dt){return new Qe(dt)}function Je(dt){return new gn(dt)}function hn(dt){this._context=dt}function mn(dt){var Rt,Gt,_t=dt.length-1,Vt=new Array(_t),te=new Array(_t),ue=new Array(_t);for(Vt[0]=0,te[0]=2,ue[0]=dt[0]+2*dt[1],Rt=1;Rt<_t-1;++Rt)Vt[Rt]=1,te[Rt]=4,ue[Rt]=4*dt[Rt]+2*dt[Rt+1];for(Vt[_t-1]=2,te[_t-1]=7,ue[_t-1]=8*dt[_t-1]+dt[_t],Rt=1;Rt<_t;++Rt)Gt=Vt[Rt]/te[Rt-1],te[Rt]-=Gt,ue[Rt]-=Gt*ue[Rt-1];for(Vt[_t-1]=ue[_t-1]/te[_t-1],Rt=_t-2;Rt>=0;--Rt)Vt[Rt]=(ue[Rt]-Vt[Rt+1])/te[Rt];for(te[_t-1]=(dt[_t]+Vt[_t-1])/2,Rt=0;Rt<_t-1;++Rt)te[Rt]=2*dt[Rt+1]-Vt[Rt+1];return[Vt,te]}Qe.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:be(this,this._t0,wn(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(dt,Rt){var Gt=NaN;if(Rt=+Rt,(dt=+dt)!==this._x1||Rt!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2;break;case 2:this._point=3,be(this,wn(this,Gt=Ke(this,dt,Rt)),Gt);break;default:be(this,this._t0,Gt=Ke(this,dt,Rt))}this._x0=this._x1,this._x1=dt,this._y0=this._y1,this._y1=Rt,this._t0=Gt}}},(gn.prototype=Object.create(Qe.prototype)).point=function(dt,Rt){Qe.prototype.point.call(this,Rt,dt)},Se.prototype={moveTo:function(dt,Rt){this._context.moveTo(Rt,dt)},closePath:function(){this._context.closePath()},lineTo:function(dt,Rt){this._context.lineTo(Rt,dt)},bezierCurveTo:function(dt,Rt,Gt,_t,Vt,te){this._context.bezierCurveTo(Rt,dt,_t,Gt,te,Vt)}},hn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var dt=this._x,Rt=this._y,Gt=dt.length;if(Gt)if(this._line?this._context.lineTo(dt[0],Rt[0]):this._context.moveTo(dt[0],Rt[0]),Gt===2)this._context.lineTo(dt[1],Rt[1]);else for(var _t=mn(dt),Vt=mn(Rt),te=0,ue=1;ue=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(dt,Rt){switch(dt=+dt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(dt,Rt):this._context.moveTo(dt,Rt);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Rt),this._context.lineTo(dt,Rt);else{var Gt=this._x*(1-this._t)+dt*this._t;this._context.lineTo(Gt,this._y),this._context.lineTo(Gt,Rt)}}this._x=dt,this._y=Rt}};var or=function(dt){return new Zn(dt,.5)};function dr(dt){return new Zn(dt,0)}function mr(dt){return new Zn(dt,1)}var Jn=function(dt,Rt){if((Vt=dt.length)>1)for(var Gt,_t,Vt,te=1,ue=dt[Rt[0]],ce=ue.length;te=0;)Gt[Rt]=Rt;return Gt};function Lr(dt,Rt){return dt[Rt]}var ar=function(){var dt=q([]),Rt=Dr,Gt=Jn,_t=Lr;function Vt(te){var ue,ce,_e=dt.apply(this,arguments),Ye=te.length,Be=_e.length,Ze=new Array(Be);for(ue=0;ue0){for(var Gt,_t,Vt,te=0,ue=dt[0].length;te0)for(var Gt,_t,Vt,te,ue,ce,_e=0,Ye=dt[Rt[0]].length;_e0?(_t[0]=te,_t[1]=te+=Vt):Vt<0?(_t[1]=ue,_t[0]=ue+=Vt):(_t[0]=0,_t[1]=Vt)},hi=function(dt,Rt){if((Gt=dt.length)>0){for(var Gt,_t=0,Vt=dt[Rt[0]],te=Vt.length;_t0&&(_t=(Gt=dt[Rt[0]]).length)>0){for(var Gt,_t,Vt,te=0,ue=1;ue<_t;++ue){for(var ce=0,_e=0,Ye=0;cete&&(te=Rt,_t=Gt);return _t}var Fi=function(dt){var Rt=dt.map(Kt);return Dr(dt).sort(function(Gt,_t){return Rt[Gt]-Rt[_t]})};function Kt(dt){for(var Rt,Gt=0,_t=-1,Vt=dt.length;++_t=0&&ie._call.call(null,se),ie=ie._next;--I})()}finally{I=0,function(){for(var se,ie,ne=At,Lt=1/0;ne;)ne._call?(Lt>ne._time&&(Lt=ne._time),se=ne,ne=ne._next):(ie=ne._next,ne._next=null,ne=se?se._next=ie:At=ie);W=se,f(Lt)}(),U=0}}function w(){var se=j.now(),ie=se-J;ie>1e3&&(V-=ie,J=se)}function f(se){I||(G&&(G=clearTimeout(G)),se-U>24?(se<1/0&&(G=setTimeout(T,se-j.now()-V)),q&&(q=clearInterval(q))):(q||(J=j.now(),q=setInterval(w,1e3)),I=1,A(T)))}p.prototype=o.prototype={constructor:p,restart:function(se,ie,ne){if(typeof se!="function")throw new TypeError("callback is not a function");ne=(ne==null?P():+ne)+(ie==null?0:+ie),this._next||W===this||(W?W._next=this:At=this,W=this),this._call=se,this._time=ne,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}};var S=function(se,ie,ne){var Lt=new p;return ie=ie==null?0:+ie,Lt.restart(function(jt){Lt.stop(),se(jt+ie)},ie,ne),Lt},v=Object(C.a)("start","end","cancel","interrupt"),m=[],g=function(se,ie,ne,Lt,jt,Ut){var Ft=se.__transition;if(Ft){if(ne in Ft)return}else se.__transition={};(function(oe,xe,fe){var $e,cn=oe.__transition;function xn(Mn){var Qn,Sr,me,Le;if(fe.state!==1)return fn();for(Qn in cn)if((Le=cn[Qn]).name===fe.name){if(Le.state===3)return S(xn);Le.state===4?(Le.state=6,Le.timer.stop(),Le.on.call("interrupt",oe,oe.__data__,Le.index,Le.group),delete cn[Qn]):+Qn0)throw new Error("too late; already scheduled");return ne}function R(se,ie){var ne=y(se,ie);if(ne.state>3)throw new Error("too late; already running");return ne}function y(se,ie){var ne=se.__transition;if(!ne||!(ne=ne[ie]))throw new Error("transition not found");return ne}var b=function(se,ie){var ne,Lt,jt,Ut=se.__transition,Ft=!0;if(Ut){for(jt in ie=ie==null?null:ie+"",Ut)(ne=Ut[jt]).name===ie?(Lt=ne.state>2&&ne.state<5,ne.state=6,ne.timer.stop(),ne.on.call(Lt?"interrupt":"cancel",se,se.__data__,ne.index,ne.group),delete Ut[jt]):Ft=!1;Ft&&delete se.__transition}},s=Z(76),l=Z(20);function O(se,ie){var ne,Lt;return function(){var jt=R(this,se),Ut=jt.tween;if(Ut!==ne){for(var Ft=0,oe=(Lt=ne=Ut).length;Ft=0&&(oe=oe.slice(0,xe)),!oe||oe==="start"})}(ie)?x:R;return function(){var Ft=Ut(this,se),oe=Ft.on;oe!==Lt&&(jt=(Lt=oe).copy()).on(ie,ne),Ft.on=jt}}var Dt=Z(19),Bt=Z(33),Nt=c.b.prototype.constructor,Pt=Z(35);function Mt(se){return function(){this.style.removeProperty(se)}}function mt(se,ie,ne){return function(Lt){this.style.setProperty(se,ie.call(this,Lt),ne)}}function Ot(se,ie,ne){var Lt,jt;function Ut(){var Ft=ie.apply(this,arguments);return Ft!==jt&&(Lt=(jt=Ft)&&mt(se,Ft,ne)),Lt}return Ut._value=ie,Ut}function Yt(se){return function(ie){this.textContent=se.call(this,ie)}}function $t(se){var ie,ne;function Lt(){var jt=se.apply(this,arguments);return jt!==ne&&(ie=(ne=jt)&&Yt(jt)),ie}return Lt._value=se,Lt}var ae=0;function le(se,ie,ne,Lt){this._groups=se,this._parents=ie,this._name=ne,this._id=Lt}function Oe(se){return Object(c.b)().transition(se)}function Ve(){return++ae}var rn=c.b.prototype;le.prototype=Oe.prototype={constructor:le,select:function(se){var ie=this._name,ne=this._id;typeof se!="function"&&(se=Object(Dt.a)(se));for(var Lt=this._groups,jt=Lt.length,Ut=new Array(jt),Ft=0;Ft1&&ne.name===ie)return new le([[se]],bn,ie,+Lt)}return null};Z.d(wt,"transition",function(){return Oe}),Z.d(wt,"active",function(){return un}),Z.d(wt,"interrupt",function(){return b})},,function(we,wt,Z){"use strict";var At,W,c,C,I=Z(6),G=180/Math.PI,q={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},J=function(A,P,E,p,o,T){var w,f,S;return(w=Math.sqrt(A*A+P*P))&&(A/=w,P/=w),(S=A*E+P*p)&&(E-=A*S,p-=P*S),(f=Math.sqrt(E*E+p*p))&&(E/=f,p/=f,S/=f),A*p180?m+=360:m-v>180&&(v+=360),x.push({i:g.push(o(g)+"rotate(",null,p)-2,x:Object(I.a)(v,m)})):m&&g.push(o(g)+"rotate("+m+p)}(T.rotate,w.rotate,f,S),function(v,m,g,x){v!==m?x.push({i:g.push(o(g)+"skewX(",null,p)-2,x:Object(I.a)(v,m)}):m&&g.push(o(g)+"skewX("+m+p)}(T.skewX,w.skewX,f,S),function(v,m,g,x,R,y){if(v!==g||m!==x){var b=R.push(o(R)+"scale(",null,",",null,")");y.push({i:b-4,x:Object(I.a)(v,g)},{i:b-2,x:Object(I.a)(m,x)})}else g===1&&x===1||R.push(o(R)+"scale("+g+","+x+")")}(T.scaleX,T.scaleY,w.scaleX,w.scaleY,f,S),T=w=null,function(v){for(var m,g=-1,x=S.length;++g1&&arguments[1]!==void 0?arguments[1]:12,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Arial",P=document.createElement("canvas"),E=P.getContext("2d");return E.font=j+"px "+A,E.measureText(V).width},wrapText:function(V,j,A,P){var E=c.select(P),p=E.text().split(/\s+/).reverse(),o=void 0,T=[],w=0,f=C*G,S=E.attr("y"),v=parseFloat(E.attr("dy")),m=j*q,g=E.text(null).append("tspan").attr("x",V).attr("y",S-5).attr("dy",v+"em").classed(J,!0).style("font-size",j+"px");for(g.text(p.pop()),g=E.append("tspan").classed(U,!0).attr("x",V).attr("y",S+I).attr("dy",++w*f+v+"em").style("font-size",m+"px");o=p.pop();)T.push(o),g.text(T.join(" ")),g.node()&&g.node().getComputedTextLength()>A-50&&(T.pop(),g.text(T.join(" ")),T=[o],g=E.append("tspan").classed(U,!0).attr("x",V).attr("y",S+I).attr("dy",++w*f+v+"em").text(o).style("font-size",m+"px"))},wrapTextWithEllipses:function(V,j){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1.2;V.each(function(){var p,o,T,w,f,S,v;for(p=(V=c.select(this)).text().split(/\s+/).reverse(),T=[],w=0,f=V.attr("y"),S=parseFloat(V.attr("dy")),v=V.text(null).append("tspan").attr("x",A).attr("y",f).attr("dy",S+"em");o=p.pop();)if(T.push(o),v.text(T.join(" ")),v.node()&&v.node().getComputedTextLength()>j){if(T.pop(),v.text(T.join(" ")),!(w2&&arguments[2]!==void 0?arguments[2]:0;Bt.each(function(){var Mt,mt,Ot,Yt,$t,ae,le;for(Mt=(Bt=q.select(this)).text().split(/\s+/).reverse(),Ot=[],Yt=0,$t=Bt.attr("y"),ae=parseFloat(Bt.attr("dy")),le=Bt.text(null).append("tspan").attr("x",Pt).attr("y",$t).attr("dy",ae+"em");mt=Mt.pop();)Ot.push(mt),le.text(Ot.join(" ")),E(Ot.join(" "),16,"Karla, sans-serif")>Nt&&(Ot.pop(),le.text(Ot.join(" ")),Yt<2&&(Ot=[mt],le=Bt.append("tspan").attr("x",Pt).attr("y",$t).attr("dy",1.2*++Yt+ae+"em").text(mt)))})}function vt(Bt){var Nt=Bt[it];F.length?Nt=function(Pt){var Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:F;return Mt.map(function(mt){return Pt.filter(function(Ot){return Ot.name===mt})[0]})}(Nt):Nt.length&&Nt[0].name&&(Nt=function(Pt){return Pt.map(function(Mt){return Mt}).sort(function(Mt,mt){return Mt.name>mt.name?1:Mt.name===mt.name?0:-1})}(Nt)),R.selectAll("text").remove(),R.selectAll("circle").remove(),gt(Bt),b=48,l=37,s=0,Nt.forEach(st)}function Dt(Bt,Nt,Pt){vt(Bt),xt(0,Nt,Pt)}return Q.axisTimeCombinations=U,Q.dateFormat=function(Bt){return arguments.length?(ct=Bt,this):ct||X},Q.dateCustomFormat=function(Bt){return arguments.length?(B=Bt,this):B},Q.dateLabel=function(Bt){return arguments.length?(L=Bt,this):L},Q.hide=function(){return tt.style("visibility","hidden"),this},Q.locale=function(Bt){return arguments.length?(z=Bt,this):z},Q.nameLabel=function(Bt){return arguments.length?(rt=Bt,this):rt},Q.numberFormat=function(Bt){return arguments.length?(ut=Bt,this):ut},Q.valueFormatter=function(Bt){return arguments.length?(ft=Bt,this):ft},Q.shouldShowDateInTitle=function(Bt){return arguments.length?(S=Bt,this):S},Q.show=function(){return tt.style("visibility","visible"),this},Q.title=function(Bt){return arguments.length?(f=Bt,this):f},Q.tooltipOffset=function(Bt){return arguments.length?(m=Bt,this):m},Q.topicsOrder=function(Bt){return arguments.length?(F=Bt,this):F},Q.topicLabel=function(Bt){return arguments.length?(it=Bt,this):it},Q.update=function(Bt,Nt,Pt){var Mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return _=Nt,Dt(Bt,Pt,Mt),this},Q.valueLabel=function(Bt){return arguments.length?(nt=Bt,this):nt},Q}}.call(wt,Z,wt,we))===void 0||(we.exports=At)}])})},3224:(yr,we,wt)=>{"use strict";wt.r(we),wt.d(we,{FormatSpecifier:()=>tu,active:()=>Op,arc:()=>Nc,area:()=>mA,areaRadial:()=>pC,ascending:()=>o.V_,autoType:()=>tv,axisBottom:()=>u,axisLeft:()=>_,axisRight:()=>D,axisTop:()=>O,bisect:()=>o.h1,bisectLeft:()=>o.ah,bisectRight:()=>o.Jj,bisector:()=>o.yl,blob:()=>t0,brush:()=>Dp,brushSelection:()=>Qs,brushX:()=>Vy,brushY:()=>Wy,buffer:()=>ov,chord:()=>Ip,clientPoint:()=>jn,cluster:()=>ck,color:()=>fo,contourDensity:()=>Px,contours:()=>Vp,create:()=>aC,creator:()=>dr,cross:()=>o.$A,csv:()=>ll,csvFormat:()=>Ug,csvFormatBody:()=>Hg,csvFormatRow:()=>os,csvFormatRows:()=>xs,csvFormatValue:()=>Lx,csvParse:()=>zg,csvParseRows:()=>Rx,cubehelix:()=>js,curveBasis:()=>nO,curveBasisClosed:()=>_A,curveBasisOpen:()=>EA,curveBundle:()=>SA,curveCardinal:()=>CA,curveCardinalClosed:()=>MA,curveCardinalOpen:()=>TA,curveCatmullRom:()=>kA,curveCatmullRomClosed:()=>AA,curveCatmullRomOpen:()=>EC,curveLinear:()=>ao,curveLinearClosed:()=>PA,curveMonotoneX:()=>OA,curveMonotoneY:()=>NA,curveNatural:()=>RA,curveStep:()=>LA,curveStepAfter:()=>BA,curveStepBefore:()=>IA,customEvent:()=>Gt,descending:()=>o.rG,deviation:()=>o.KS,dispatch:()=>B,drag:()=>Dx,dragDisable:()=>Un,dragEnable:()=>fr,dsv:()=>bd,dsvFormat:()=>th,easeBack:()=>sl,easeBackIn:()=>tm,easeBackInOut:()=>sl,easeBackOut:()=>_a,easeBounce:()=>eh,easeBounceIn:()=>Kg,easeBounceInOut:()=>Zg,easeBounceOut:()=>eh,easeCircle:()=>Qp,easeCircleIn:()=>Bx,easeCircleInOut:()=>Qp,easeCircleOut:()=>jx,easeCubic:()=>Ga,easeCubicIn:()=>Gl,easeCubicInOut:()=>Ga,easeCubicOut:()=>ns,easeElastic:()=>Jg,easeElasticIn:()=>zs,easeElasticInOut:()=>Zl,easeElasticOut:()=>Jg,easeExp:()=>ba,easeExpIn:()=>Ix,easeExpInOut:()=>ba,easeExpOut:()=>Kh,easeLinear:()=>$p,easePoly:()=>Gg,easePolyIn:()=>Yg,easePolyInOut:()=>Gg,easePolyOut:()=>md,easeQuad:()=>pd,easeQuadIn:()=>qp,easeQuadInOut:()=>pd,easeQuadOut:()=>Wg,easeSin:()=>Zp,easeSinIn:()=>rv,easeSinInOut:()=>Zp,easeSinOut:()=>Kp,entries:()=>mc,event:()=>wr,extent:()=>o.Xx,forceCenter:()=>Fu,forceCollide:()=>sv,forceLink:()=>sm,forceManyBody:()=>a0,forceRadial:()=>Ed,forceSimulation:()=>Tn,forceX:()=>ul,forceY:()=>uv,format:()=>Sc,formatDefaultLocale:()=>fl,formatLocale:()=>Sd,formatPrefix:()=>oh,formatSpecifier:()=>ih,geoAlbers:()=>Sb,geoAlbersUsa:()=>z2,geoArea:()=>pv,geoAzimuthalEqualArea:()=>tk,geoAzimuthalEqualAreaRaw:()=>Cb,geoAzimuthalEquidistant:()=>ek,geoAzimuthalEquidistantRaw:()=>Mb,geoBounds:()=>Gx,geoCentroid:()=>n2,geoCircle:()=>s2,geoClipAntimeridian:()=>mm,geoClipCircle:()=>kv,geoClipExtent:()=>DT,geoClipRectangle:()=>Pv,geoConicConformal:()=>Wv,geoConicConformalRaw:()=>Vv,geoConicEqualArea:()=>Hv,geoConicEqualAreaRaw:()=>Rd,geoConicEquidistant:()=>iu,geoConicEquidistantRaw:()=>Xu,geoContains:()=>Ra,geoDistance:()=>ym,geoEqualEarth:()=>T0,geoEqualEarthRaw:()=>Tb,geoEquirectangular:()=>pl,geoEquirectangularRaw:()=>Em,geoGnomonic:()=>ik,geoGnomonicRaw:()=>fh,geoGraticule:()=>cb,geoGraticule10:()=>BT,geoIdentity:()=>ok,geoInterpolate:()=>x2,geoLength:()=>g2,geoMercator:()=>nk,geoMercatorRaw:()=>_m,geoNaturalEarth1:()=>Gv,geoNaturalEarth1Raw:()=>kb,geoOrthographic:()=>Pb,geoOrthographicRaw:()=>Ab,geoPath:()=>XT,geoProjection:()=>hh,geoProjectionMutator:()=>Eb,geoRotation:()=>o2,geoStereographic:()=>Ll,geoStereographicRaw:()=>k0,geoStream:()=>Hr,geoTransform:()=>$T,geoTransverseMercator:()=>Ob,geoTransverseMercatorRaw:()=>H2,gray:()=>Eo,hcl:()=>vc,hierarchy:()=>Db,histogram:()=>o.JW,hsl:()=>sa,html:()=>Oa,image:()=>Fa,interpolate:()=>an,interpolateArray:()=>Mh,interpolateBasis:()=>vu,interpolateBasisClosed:()=>Hl,interpolateBlues:()=>Va,interpolateBrBG:()=>X3,interpolateBuGn:()=>Q3,interpolateBuPu:()=>zS,interpolateCividis:()=>Rw,interpolateCool:()=>Y0,interpolateCubehelix:()=>Bk,interpolateCubehelixDefault:()=>nC,interpolateCubehelixLong:()=>O0,interpolateDate:()=>yp,interpolateDiscrete:()=>Ok,interpolateGnBu:()=>J3,interpolateGreens:()=>iA,interpolateGreys:()=>wf,interpolateHcl:()=>gE,interpolateHclLong:()=>Ik,interpolateHsl:()=>Lk,interpolateHslLong:()=>dE,interpolateHue:()=>Nk,interpolateInferno:()=>hA,interpolateLab:()=>pE,interpolateMagma:()=>oC,interpolateNumber:()=>ps,interpolateNumberArray:()=>wu,interpolateObject:()=>Al,interpolateOrRd:()=>tA,interpolateOranges:()=>aA,interpolatePRGn:()=>$3,interpolatePiYG:()=>Zd,interpolatePlasma:()=>fA,interpolatePuBu:()=>WS,interpolatePuBuGn:()=>eA,interpolatePuOr:()=>Pw,interpolatePuRd:()=>T1,interpolatePurples:()=>tC,interpolateRainbow:()=>rC,interpolateRdBu:()=>q3,interpolateRdGy:()=>K3,interpolateRdPu:()=>$5,interpolateRdYlBu:()=>C1,interpolateRdYlGn:()=>Z3,interpolateReds:()=>oA,interpolateRgb:()=>bu,interpolateRgbBasis:()=>Ff,interpolateRgbBasisClosed:()=>zf,interpolateRound:()=>Vb,interpolateSinebow:()=>G0,interpolateSpectral:()=>BS,interpolateString:()=>He,interpolateTransformCss:()=>wp,interpolateTransformSvg:()=>Dy,interpolateTurbo:()=>uA,interpolateViridis:()=>cA,interpolateWarm:()=>sA,interpolateYlGn:()=>qS,interpolateYlGnBu:()=>XS,interpolateYlOrBr:()=>nA,interpolateYlOrRd:()=>Nw,interpolateZoom:()=>hE,interrupt:()=>qs,interval:()=>KA,isoFormat:()=>GA,isoParse:()=>qA,json:()=>Ea,keys:()=>Aa,lab:()=>Oo,lch:()=>yc,line:()=>Fw,lineRadial:()=>dC,linkHorizontal:()=>gC,linkRadial:()=>D1,linkVertical:()=>eO,local:()=>sC,map:()=>el,matcher:()=>tt,max:()=>o.T9,mean:()=>o.i2,median:()=>o.JZ,merge:()=>o.Am,min:()=>o.jk,mouse:()=>kr,namespace:()=>bn,namespaces:()=>nn,nest:()=>Nl,now:()=>ac,pack:()=>kk,packEnclose:()=>Ib,packSiblings:()=>Ck,pairs:()=>o.AS,partition:()=>tE,path:()=>xi,permute:()=>o.Ny,pie:()=>J5,piecewise:()=>jk,pointRadial:()=>jl,polygonArea:()=>Gb,polygonCentroid:()=>Il,polygonContains:()=>o1,polygonHull:()=>Bd,polygonLength:()=>km,precisionFixed:()=>fv,precisionPrefix:()=>of,precisionRound:()=>dv,quadtree:()=>za,quantile:()=>o.YV,quantize:()=>Fk,radialArea:()=>pC,radialLine:()=>dC,randomBates:()=>zk,randomExponential:()=>Pc,randomIrwinHall:()=>xE,randomLogNormal:()=>Xb,randomNormal:()=>jd,randomUniform:()=>vE,range:()=>o.y1,rgb:()=>uo,ribbon:()=>Fr,scaleBand:()=>Pm,scaleDiverging:()=>AS,scaleDivergingLog:()=>_1,scaleDivergingPow:()=>E1,scaleDivergingSqrt:()=>PS,scaleDivergingSymlog:()=>Mw,scaleIdentity:()=>Nm,scaleImplicit:()=>$b,scaleLinear:()=>Kb,scaleLog:()=>EE,scaleOrdinal:()=>N0,scalePoint:()=>D0,scalePow:()=>l1,scaleQuantile:()=>R0,scaleQuantize:()=>AE,scaleSequential:()=>MS,scaleSequentialLog:()=>TS,scaleSequentialPow:()=>Ew,scaleSequentialQuantile:()=>Cw,scaleSequentialSqrt:()=>Sw,scaleSequentialSymlog:()=>kS,scaleSqrt:()=>W5,scaleSymlog:()=>ME,scaleThreshold:()=>ew,scaleTime:()=>x1,scaleUtc:()=>U3,scan:()=>o.SQ,schemeAccent:()=>H3,schemeBlues:()=>KS,schemeBrBG:()=>V0,schemeBuGn:()=>jS,schemeBuPu:()=>FS,schemeCategory10:()=>ph,schemeDark2:()=>OS,schemeGnBu:()=>US,schemeGreens:()=>ZS,schemeGreys:()=>QS,schemeOrRd:()=>Ow,schemeOranges:()=>Dw,schemePRGn:()=>kw,schemePaired:()=>V3,schemePastel1:()=>W3,schemePastel2:()=>NS,schemePiYG:()=>Aw,schemePuBu:()=>VS,schemePuBuGn:()=>HS,schemePuOr:()=>DS,schemePuRd:()=>M1,schemePurples:()=>JS,schemeRdBu:()=>RS,schemeRdGy:()=>LS,schemeRdPu:()=>YS,schemeRdYlBu:()=>IS,schemeRdYlGn:()=>W0,schemeReds:()=>eC,schemeSet1:()=>Y3,schemeSet2:()=>S1,schemeSet3:()=>Tw,schemeSpectral:()=>Um,schemeTableau10:()=>G3,schemeYlGn:()=>$S,schemeYlGnBu:()=>GS,schemeYlOrBr:()=>hs,schemeYlOrRd:()=>rA,select:()=>Ze,selectAll:()=>q5,selection:()=>Be,selector:()=>ut,selectorAll:()=>ht,set:()=>ua,shuffle:()=>o.k4,stack:()=>TC,stackOffsetDiverging:()=>FA,stackOffsetExpand:()=>kC,stackOffsetNone:()=>Jd,stackOffsetSilhouette:()=>zA,stackOffsetWiggle:()=>UA,stackOrderAppearance:()=>AC,stackOrderAscending:()=>PC,stackOrderDescending:()=>VA,stackOrderInsideOut:()=>WA,stackOrderNone:()=>Zm,stackOrderReverse:()=>NC,stratify:()=>rE,style:()=>cn,sum:()=>o.cz,svg:()=>ef,symbol:()=>wA,symbolCircle:()=>Z0,symbolCross:()=>Q0,symbolDiamond:()=>Ef,symbolSquare:()=>vC,symbolStar:()=>vA,symbolTriangle:()=>xA,symbolWye:()=>xC,symbols:()=>Cs,text:()=>e0,thresholdFreedmanDiaconis:()=>o.c3,thresholdScott:()=>o.Ft,thresholdSturges:()=>o.zr,tickFormat:()=>Om,tickIncrement:()=>o.lq,tickStep:()=>o.sG,ticks:()=>o.Zc,timeDay:()=>B0,timeDays:()=>UE,timeFormat:()=>pw,timeFormatDefaultLocale:()=>yw,timeFormatLocale:()=>tS,timeFriday:()=>nw,timeFridays:()=>qk,timeHour:()=>HE,timeHours:()=>Zk,timeInterval:()=>Ta,timeMillisecond:()=>d1,timeMilliseconds:()=>YE,timeMinute:()=>ow,timeMinutes:()=>Qk,timeMonday:()=>Dm,timeMondays:()=>FE,timeMonth:()=>NE,timeMonths:()=>DE,timeParse:()=>mw,timeSaturday:()=>BE,timeSaturdays:()=>Kk,timeSecond:()=>f1,timeSeconds:()=>WE,timeSunday:()=>L0,timeSundays:()=>jE,timeThursday:()=>Yd,timeThursdays:()=>zE,timeTuesday:()=>IE,timeTuesdays:()=>rw,timeWednesday:()=>I0,timeWednesdays:()=>$k,timeWeek:()=>L0,timeWeeks:()=>jE,timeYear:()=>Vd,timeYears:()=>PE,timeout:()=>dg,timer:()=>Hf,timerFlush:()=>Ah,touch:()=>gr,touches:()=>Qu,transition:()=>cc,transpose:()=>o.mg,tree:()=>Pk,treemap:()=>n1,treemapBinary:()=>sE,treemapDice:()=>Zv,treemapResquarify:()=>r1,treemapSlice:()=>e1,treemapSliceDice:()=>lE,treemapSquarify:()=>dh,tsv:()=>ro,tsvFormat:()=>Zy,tsvFormatBody:()=>Qy,tsvFormatRow:()=>dd,tsvFormatRows:()=>Vg,tsvFormatValue:()=>Jy,tsvParse:()=>fd,tsvParseRows:()=>Ky,utcDay:()=>p1,utcDays:()=>JE,utcFormat:()=>U0,utcFriday:()=>XE,utcFridays:()=>KE,utcHour:()=>ww,utcHours:()=>F3,utcMillisecond:()=>d1,utcMilliseconds:()=>YE,utcMinute:()=>Zu,utcMinutes:()=>z3,utcMonday:()=>Bm,utcMondays:()=>Jk,utcMonth:()=>SS,utcMonths:()=>j3,utcParse:()=>gw,utcSaturday:()=>$E,utcSaturdays:()=>ZE,utcSecond:()=>f1,utcSeconds:()=>WE,utcSunday:()=>Im,utcSundays:()=>qE,utcThursday:()=>vf,utcThursdays:()=>G5,utcTuesday:()=>aw,utcTuesdays:()=>Y5,utcWednesday:()=>GE,utcWednesdays:()=>t3,utcWeek:()=>Im,utcWeeks:()=>qE,utcYear:()=>Xd,utcYears:()=>e3,values:()=>Uh,variance:()=>o.GV,version:()=>At,voronoi:()=>uP,window:()=>Ft,xml:()=>tf,zip:()=>o.yU,zoom:()=>mP,zoomIdentity:()=>Y1,zoomTransform:()=>VC});var Z="d3",At="5.16.0",W="Data-Driven Documents",c=null,C="https://d3js.org",I="BSD-3-Clause",G={name:"Mike Bostock",url:"https://bost.ocks.org/mike"},q="dist/d3.node.js",J="dist/d3.min.js",U="dist/d3.min.js",V="index.js",j={type:"git",url:"https://github.com/d3/d3.git"},A=null,P={pretest:"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c",test:"tape 'test/**/*-test.js'",prepublishOnly:"yarn test",postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js'},E={json2module:"0.0",rimraf:"2",rollup:"1","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3","rollup-plugin-terser":"5",tape:"4"},p={"d3-array":"1","d3-axis":"1","d3-brush":"1","d3-chord":"1","d3-collection":"1","d3-color":"1","d3-contour":"1","d3-dispatch":"1","d3-drag":"1","d3-dsv":"1","d3-ease":"1","d3-fetch":"1","d3-force":"1","d3-format":"1","d3-geo":"1","d3-hierarchy":"1","d3-interpolate":"1","d3-path":"1","d3-polygon":"1","d3-quadtree":"1","d3-random":"1","d3-scale":"2","d3-scale-chromatic":"1","d3-selection":"1","d3-shape":"1","d3-time":"1","d3-time-format":"2","d3-timer":"1","d3-transition":"1","d3-voronoi":"1","d3-zoom":"1"},o=wt(9685),T=Array.prototype.slice;function w(r){return r}var f=1,S=2,v=3,m=4,g=1e-6;function x(r){return"translate("+(r+.5)+",0)"}function R(r){return"translate(0,"+(r+.5)+")"}function y(r){return function(a){return+r(a)}}function b(r){var a=Math.max(0,r.bandwidth()-1)/2;return r.round()&&(a=Math.round(a)),function(M){return+r(M)+a}}function s(){return!this.__axis}function l(r,a){var M=[],H=null,at=null,yt=6,Et=6,Ct=3,It=r===f||r===m?-1:1,zt=r===m||r===S?"x":"y",Xt=r===f||r===v?x:R;function Qt(qt){var ge=H==null?a.ticks?a.ticks.apply(a,M):a.domain():H,Me=at==null?a.tickFormat?a.tickFormat.apply(a,M):w:at,Ce=Math.max(yt,0)+Ct,Ne=a.range(),je=+Ne[0]+.5,tn=+Ne[Ne.length-1]+.5,Ge=(a.bandwidth?b:y)(a.copy()),en=qt.selection?qt.selection():qt,kn=en.selectAll(".domain").data([null]),Vn=en.selectAll(".tick").data(ge,a).order(),Bn=Vn.exit(),pr=Vn.enter().append("g").attr("class","tick"),tr=Vn.select("line"),lr=Vn.select("text");kn=kn.merge(kn.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Vn=Vn.merge(pr),tr=tr.merge(pr.append("line").attr("stroke","currentColor").attr(zt+"2",It*yt)),lr=lr.merge(pr.append("text").attr("fill","currentColor").attr(zt,It*Ce).attr("dy",r===f?"0em":r===v?"0.71em":"0.32em")),qt!==en&&(kn=kn.transition(qt),Vn=Vn.transition(qt),tr=tr.transition(qt),lr=lr.transition(qt),Bn=Bn.transition(qt).attr("opacity",g).attr("transform",function(Kn){return isFinite(Kn=Ge(Kn))?Xt(Kn):this.getAttribute("transform")}),pr.attr("opacity",g).attr("transform",function(Kn){var on=this.parentNode.__axis;return Xt(on&&isFinite(on=on(Kn))?on:Ge(Kn))})),Bn.remove(),kn.attr("d",r===m||r==S?Et?"M"+It*Et+","+je+"H0.5V"+tn+"H"+It*Et:"M0.5,"+je+"V"+tn:Et?"M"+je+","+It*Et+"V0.5H"+tn+"V"+It*Et:"M"+je+",0.5H"+tn),Vn.attr("opacity",1).attr("transform",function(Kn){return Xt(Ge(Kn))}),tr.attr(zt+"2",It*yt),lr.attr(zt,It*Ce).text(Me),en.filter(s).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===S?"start":r===m?"end":"middle"),en.each(function(){this.__axis=Ge})}return Qt.scale=function(qt){return arguments.length?(a=qt,Qt):a},Qt.ticks=function(){return M=T.call(arguments),Qt},Qt.tickArguments=function(qt){return arguments.length?(M=qt==null?[]:T.call(qt),Qt):M.slice()},Qt.tickValues=function(qt){return arguments.length?(H=qt==null?null:T.call(qt),Qt):H&&H.slice()},Qt.tickFormat=function(qt){return arguments.length?(at=qt,Qt):at},Qt.tickSize=function(qt){return arguments.length?(yt=Et=+qt,Qt):yt},Qt.tickSizeInner=function(qt){return arguments.length?(yt=+qt,Qt):yt},Qt.tickSizeOuter=function(qt){return arguments.length?(Et=+qt,Qt):Et},Qt.tickPadding=function(qt){return arguments.length?(Ct=+qt,Qt):Ct},Qt}function O(r){return l(f,r)}function D(r){return l(S,r)}function u(r){return l(v,r)}function _(r){return l(m,r)}var L={value:function(){}};function nt(){for(var r=0,a=arguments.length,M={},H;r=0&&(H=M.slice(at+1),M=M.slice(0,at)),M&&!a.hasOwnProperty(M))throw new Error("unknown type: "+M);return{type:M,name:H}})}rt.prototype=nt.prototype={constructor:rt,on:function(r,a){var M=this._,H=it(r+"",M),at,yt=-1,Et=H.length;if(arguments.length<2){for(;++yt0)for(var M=new Array(at),H=0,at,yt;H=Ge&&(Ge=tn+1);!(kn=Ne[Ge])&&++Ge=0;)(Et=H[at])&&(yt&&Et.compareDocumentPosition(yt)^4&&yt.parentNode.insertBefore(Et,yt),yt=Et);return this}function Ot(r){r||(r=Yt);function a(Qt,qt){return Qt&&qt?r(Qt.__data__,qt.__data__):!Qt-!qt}for(var M=this._groups,H=M.length,at=new Array(H),yt=0;yta?1:r>=a?0:NaN}function $t(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function ae(){var r=new Array(this.size()),a=-1;return this.each(function(){r[++a]=this}),r}function le(){for(var r=this._groups,a=0,M=r.length;a=0&&(a=r.slice(0,M))!=="xmlns"&&(r=r.slice(M+1)),nn.hasOwnProperty(a)?{space:nn[a],local:r}:r}function un(r){return function(){this.removeAttribute(r)}}function se(r){return function(){this.removeAttributeNS(r.space,r.local)}}function ie(r,a){return function(){this.setAttribute(r,a)}}function ne(r,a){return function(){this.setAttributeNS(r.space,r.local,a)}}function Lt(r,a){return function(){var M=a.apply(this,arguments);M==null?this.removeAttribute(r):this.setAttribute(r,M)}}function jt(r,a){return function(){var M=a.apply(this,arguments);M==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,M)}}function Ut(r,a){var M=bn(r);if(arguments.length<2){var H=this.node();return M.local?H.getAttributeNS(M.space,M.local):H.getAttribute(M)}return this.each((a==null?M.local?se:un:typeof a=="function"?M.local?jt:Lt:M.local?ne:ie)(M,a))}function Ft(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function oe(r){return function(){this.style.removeProperty(r)}}function xe(r,a,M){return function(){this.style.setProperty(r,a,M)}}function fe(r,a,M){return function(){var H=a.apply(this,arguments);H==null?this.style.removeProperty(r):this.style.setProperty(r,H,M)}}function $e(r,a,M){return arguments.length>1?this.each((a==null?oe:typeof a=="function"?fe:xe)(r,a,M==null?"":M)):cn(this.node(),r)}function cn(r,a){return r.style.getPropertyValue(a)||Ft(r).getComputedStyle(r,null).getPropertyValue(a)}function xn(r){return function(){delete this[r]}}function Wn(r,a){return function(){this[r]=a}}function fn(r,a){return function(){var M=a.apply(this,arguments);M==null?delete this[r]:this[r]=M}}function Mn(r,a){return arguments.length>1?this.each((a==null?xn:typeof a=="function"?fn:Wn)(r,a)):this.node()[r]}function Qn(r){return r.trim().split(/^|\s+/)}function Sr(r){return r.classList||new me(r)}function me(r){this._node=r,this._names=Qn(r.getAttribute("class")||"")}me.prototype={add:function(r){var a=this._names.indexOf(r);a<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var a=this._names.indexOf(r);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function Le(r,a){for(var M=Sr(r),H=-1,at=a.length;++H=0&&(M=a.slice(H+1),a=a.slice(0,H)),{type:a,name:M}})}function qe(r){return function(){var a=this.__on;if(a){for(var M=0,H=-1,at=a.length,yt;M>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):M===8?_o(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):M===4?_o(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=Ai.exec(r))?new Mi(a[1],a[2],a[3],1):(a=yi.exec(r))?new Mi(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=Pi.exec(r))?_o(a[1],a[2],a[3],a[4]):(a=Di.exec(r))?_o(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=Oi.exec(r))?vo(a[1],a[2]/100,a[3]/100,1):(a=Wi.exec(r))?vo(a[1],a[2]/100,a[3]/100,a[4]):eo.hasOwnProperty(r)?no(eo[r]):r==="transparent"?new Mi(NaN,NaN,NaN,0):null}function no(r){return new Mi(r>>16&255,r>>8&255,r&255,1)}function _o(r,a,M,H){return H<=0&&(r=a=M=NaN),new Mi(r,a,M,H)}function Yo(r){return r instanceof sr||(r=fo(r)),r?(r=r.rgb(),new Mi(r.r,r.g,r.b,r.opacity)):new Mi}function uo(r,a,M,H){return arguments.length===1?Yo(r):new Mi(r,a,M,H==null?1:H)}function Mi(r,a,M,H){this.r=+r,this.g=+a,this.b=+M,this.opacity=+H}rr(Mi,uo,Gn(sr,{brighter:function(r){return r=r==null?xr:Math.pow(xr,r),new Mi(this.r*r,this.g*r,this.b*r,this.opacity)},darker:function(r){return r=r==null?Cr:Math.pow(Cr,r),new Mi(this.r*r,this.g*r,this.b*r,this.opacity)},rgb:function(){return this},displayable:function(){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:ea,formatHex:ea,formatRgb:na,toString:na}));function ea(){return"#"+To(this.r)+To(this.g)+To(this.b)}function na(){var r=this.opacity;return r=isNaN(r)?1:Math.max(0,Math.min(1,r)),(r===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(r===1?")":", "+r+")")}function To(r){return r=Math.max(0,Math.min(255,Math.round(r)||0)),(r<16?"0":"")+r.toString(16)}function vo(r,a,M,H){return H<=0?r=a=M=NaN:M<=0||M>=1?r=a=NaN:a<=0&&(r=NaN),new xa(r,a,M,H)}function $o(r){if(r instanceof xa)return new xa(r.h,r.s,r.l,r.opacity);if(r instanceof sr||(r=fo(r)),!r)return new xa;if(r instanceof xa)return r;r=r.rgb();var a=r.r/255,M=r.g/255,H=r.b/255,at=Math.min(a,M,H),yt=Math.max(a,M,H),Et=NaN,Ct=yt-at,It=(yt+at)/2;return Ct?(a===yt?Et=(M-H)/Ct+(M0&&It<1?0:Et,new xa(Et,Ct,It,r.opacity)}function sa(r,a,M,H){return arguments.length===1?$o(r):new xa(r,a,M,H==null?1:H)}function xa(r,a,M,H){this.h=+r,this.s=+a,this.l=+M,this.opacity=+H}rr(xa,sa,Gn(sr,{brighter:function(r){return r=r==null?xr:Math.pow(xr,r),new xa(this.h,this.s,this.l*r,this.opacity)},darker:function(r){return r=r==null?Cr:Math.pow(Cr,r),new xa(this.h,this.s,this.l*r,this.opacity)},rgb:function(){var r=this.h%360+(this.h<0)*360,a=isNaN(r)||isNaN(this.s)?0:this.s,M=this.l,H=M+(M<.5?M:1-M)*a,at=2*M-H;return new Mi(yu(r>=240?r-240:r+120,at,H),yu(r,at,H),yu(r<120?r+240:r-120,at,H),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var r=this.opacity;return r=isNaN(r)?1:Math.max(0,Math.min(1,r)),(r===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(r===1?")":", "+r+")")}}));function yu(r,a,M){return(r<60?a+(M-a)*r/60:r<180?M:r<240?a+(M-a)*(240-r)/60:a)*255}function kl(r,a,M,H,at){var yt=r*r,Et=yt*r;return((1-3*r+3*yt-Et)*a+(4-6*yt+3*Et)*M+(1+3*r+3*yt-3*Et)*H+Et*at)/6}function vu(r){var a=r.length-1;return function(M){var H=M<=0?M=0:M>=1?(M=1,a-1):Math.floor(M*a),at=r[H],yt=r[H+1],Et=H>0?r[H-1]:2*at-yt,Ct=H180||M<-180?M-360*Math.round(M/360):M):xu(isNaN(r)?a:r)}function ts(r){return(r=+r)==1?ra:function(a,M){return M-a?gp(a,M,r):xu(isNaN(a)?M:a)}}function ra(r,a){var M=a-r;return M?Ch(r,M):xu(isNaN(r)?a:r)}const bu=function r(a){var M=ts(a);function H(at,yt){var Et=M((at=uo(at)).r,(yt=uo(yt)).r),Ct=M(at.g,yt.g),It=M(at.b,yt.b),zt=ra(at.opacity,yt.opacity);return function(Xt){return at.r=Et(Xt),at.g=Ct(Xt),at.b=It(Xt),at.opacity=zt(Xt),at+""}}return H.gamma=r,H}(1);function jf(r){return function(a){var M=a.length,H=new Array(M),at=new Array(M),yt=new Array(M),Et,Ct;for(Et=0;EtM&&(yt=a.slice(M,yt),Ct[Et]?Ct[Et]+=yt:Ct[++Et]=yt),(H=H[0])===(at=at[0])?Ct[Et]?Ct[Et]+=at:Ct[++Et]=at:(Ct[++Et]=null,It.push({i:Et,x:ps(H,at)})),M=kh.lastIndex;return M=0&&r._call.call(null,a),r=r._next;--fi}function sc(){Rs=(ja=es.now())+oc,fi=li=0;try{Ah()}finally{fi=0,vp(),Rs=0}}function bx(){var r=es.now(),a=r-ja;a>xo&&(oc-=a,ja=r)}function vp(){for(var r,a=ia,M,H=1/0;a;)a._call?(H>a._time&&(H=a._time),r=a,a=a._next):(M=a._next,a._next=null,a=r?r._next=M:ia=M);la=r,My(H)}function My(r){if(!fi){li&&(li=clearTimeout(li));var a=r-Rs;a>24?(r<1/0&&(li=setTimeout(sc,r-es.now()-oc)),vi&&(vi=clearInterval(vi))):(vi||(ja=es.now(),vi=setInterval(bx,xo)),fi=1,Cy(sc))}}function dg(r,a,M){var H=new Eu;return a=a==null?0:+a,H.restart(function(at){H.stop(),r(at+a)},a,M),H}var pg=B("start","end","cancel","interrupt"),Ty=[],ky=0,Vf=1,xp=2,Wf=3,mg=4,Ay=5,Pl=6;function gg(r,a,M,H,at,yt){var Et=r.__transition;if(!Et)r.__transition={};else if(M in Et)return;Py(r,M,{name:a,index:H,group:at,on:pg,tween:Ty,time:yt.time,delay:yt.delay,duration:yt.duration,ease:yt.ease,timer:null,state:ky})}function ms(r,a){var M=Ls(r,a);if(M.state>ky)throw new Error("too late; already scheduled");return M}function $s(r,a){var M=Ls(r,a);if(M.state>Wf)throw new Error("too late; already running");return M}function Ls(r,a){var M=r.__transition;if(!M||!(M=M[a]))throw new Error("transition not found");return M}function Py(r,a,M){var H=r.__transition,at;H[a]=M,M.timer=Hf(yt,0,M.time);function yt(zt){M.state=Vf,M.timer.restart(Et,M.delay,M.time),M.delay<=zt&&Et(zt-M.delay)}function Et(zt){var Xt,Qt,qt,ge;if(M.state!==Vf)return It();for(Xt in H)if(ge=H[Xt],ge.name===M.name){if(ge.state===Wf)return dg(Et);ge.state===mg?(ge.state=Pl,ge.timer.stop(),ge.on.call("interrupt",r,r.__data__,ge.index,ge.group),delete H[Xt]):+Xtxp&&H.state180?Xt+=360:Xt-zt>180&&(zt+=360),qt.push({i:Qt.push(at(Qt)+"rotate(",null,H)-2,x:ps(zt,Xt)})):Xt&&Qt.push(at(Qt)+"rotate("+Xt+H)}function Ct(zt,Xt,Qt,qt){zt!==Xt?qt.push({i:Qt.push(at(Qt)+"skewX(",null,H)-2,x:ps(zt,Xt)}):Xt&&Qt.push(at(Qt)+"skewX("+Xt+H)}function It(zt,Xt,Qt,qt,ge,Me){if(zt!==Qt||Xt!==qt){var Ce=ge.push(at(ge)+"scale(",null,",",null,")");Me.push({i:Ce-4,x:ps(zt,Qt)},{i:Ce-2,x:ps(Xt,qt)})}else(Qt!==1||qt!==1)&&ge.push(at(ge)+"scale("+Qt+","+qt+")")}return function(zt,Xt){var Qt=[],qt=[];return zt=r(zt),Xt=r(Xt),yt(zt.translateX,zt.translateY,Xt.translateX,Xt.translateY,Qt,qt),Et(zt.rotate,Xt.rotate,Qt,qt),Ct(zt.skewX,Xt.skewX,Qt,qt),It(zt.scaleX,zt.scaleY,Xt.scaleX,Xt.scaleY,Qt,qt),zt=Xt=null,function(ge){for(var Me=-1,Ce=qt.length,Ne;++Me=0&&(a=a.slice(0,M)),!a||a==="start"})}function By(r,a,M){var H,at,yt=Cu(a)?ms:$s;return function(){var Et=yt(this,r),Ct=Et.on;Ct!==H&&(at=(H=Ct).copy()).on(a,M),Et.on=at}}function Rh(r,a){var M=this._id;return arguments.length<2?Ls(this.node(),M).on.on(r):this.each(By(M,r,a))}function qf(r){return function(){var a=this.parentNode;for(var M in this.__transition)if(+M!==r)return;a&&a.removeChild(this)}}function Mp(){return this.on("end.remove",qf(this._id))}function _g(r){var a=this._name,M=this._id;typeof r!="function"&&(r=ut(r));for(var H=this._groups,at=H.length,yt=new Array(at),Et=0;EtVf&&H.name===a)return new Ya([[r]],Mg,a,+at)}return null}function Zf(r){return function(){return r}}function Qf(r,a,M){this.target=r,this.type=a,this.selection=M}function Jf(){wr.stopImmediatePropagation()}function Ol(){wr.preventDefault(),wr.stopImmediatePropagation()}var td={name:"drag"},ed={name:"space"},Hc={name:"handle"},Bh={name:"center"};function ku(r){return[+r[0],+r[1]]}function hc(r){return[ku(r[0]),ku(r[1])]}function Vc(r){return function(a){return gr(a,wr.touches,r)}}var fc={name:"x",handles:["w","e"].map(jh),input:function(r,a){return r==null?null:[[+r[0],a[0][1]],[+r[1],a[1][1]]]},output:function(r){return r&&[r[0][0],r[1][0]]}},Wc={name:"y",handles:["n","s"].map(jh),input:function(r,a){return r==null?null:[[a[0][0],+r[0]],[a[1][0],+r[1]]]},output:function(r){return r&&[r[0][1],r[1][1]]}},Ks={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(jh),input:function(r){return r==null?null:hc(r)},output:function(r){return r}},qo={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Au={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Zs={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Pu={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Yc={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function jh(r){return{type:r}}function Np(){return!wr.ctrlKey&&!wr.button}function Tg(){var r=this.ownerSVGElement||this;return r.hasAttribute("viewBox")?(r=r.viewBox.baseVal,[[r.x,r.y],[r.x+r.width,r.y+r.height]]):[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]}function ys(){return navigator.maxTouchPoints||"ontouchstart"in this}function rs(r){for(;!r.__brush;)if(!(r=r.parentNode))return;return r.__brush}function Go(r){return r[0][0]===r[1][0]||r[0][1]===r[1][1]}function Qs(r){var a=r.__brush;return a?a.dim.output(a.selection):null}function Vy(){return Gc(fc)}function Wy(){return Gc(Wc)}function Dp(){return Gc(Ks)}function Gc(r){var a=Tg,M=Np,H=ys,at=!0,yt=B("start","brush","end"),Et=6,Ct;function It(Ne){var je=Ne.property("__brush",Ce).selectAll(".overlay").data([jh("overlay")]);je.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",qo.overlay).merge(je).each(function(){var Ge=rs(this).extent;Ze(this).attr("x",Ge[0][0]).attr("y",Ge[0][1]).attr("width",Ge[1][0]-Ge[0][0]).attr("height",Ge[1][1]-Ge[0][1])}),Ne.selectAll(".selection").data([jh("selection")]).enter().append("rect").attr("class","selection").attr("cursor",qo.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var tn=Ne.selectAll(".handle").data(r.handles,function(Ge){return Ge.type});tn.exit().remove(),tn.enter().append("rect").attr("class",function(Ge){return"handle handle--"+Ge.type}).attr("cursor",function(Ge){return qo[Ge.type]}),Ne.each(zt).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",qt).filter(H).on("touchstart.brush",qt).on("touchmove.brush",ge).on("touchend.brush touchcancel.brush",Me).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}It.move=function(Ne,je){Ne.selection?Ne.on("start.brush",function(){Xt(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){Xt(this,arguments).end()}).tween("brush",function(){var tn=this,Ge=tn.__brush,en=Xt(tn,arguments),kn=Ge.selection,Vn=r.input(typeof je=="function"?je.apply(this,arguments):je,Ge.extent),Bn=an(kn,Vn);function pr(tr){Ge.selection=tr===1&&Vn===null?null:Bn(tr),zt.call(tn),en.brush()}return kn!==null&&Vn!==null?pr:pr(1)}):Ne.each(function(){var tn=this,Ge=arguments,en=tn.__brush,kn=r.input(typeof je=="function"?je.apply(tn,Ge):je,en.extent),Vn=Xt(tn,Ge).beforestart();qs(tn),en.selection=kn===null?null:kn,zt.call(tn),Vn.start().brush().end()})},It.clear=function(Ne){It.move(Ne,null)};function zt(){var Ne=Ze(this),je=rs(this).selection;je?(Ne.selectAll(".selection").style("display",null).attr("x",je[0][0]).attr("y",je[0][1]).attr("width",je[1][0]-je[0][0]).attr("height",je[1][1]-je[0][1]),Ne.selectAll(".handle").style("display",null).attr("x",function(tn){return tn.type[tn.type.length-1]==="e"?je[1][0]-Et/2:je[0][0]-Et/2}).attr("y",function(tn){return tn.type[0]==="s"?je[1][1]-Et/2:je[0][1]-Et/2}).attr("width",function(tn){return tn.type==="n"||tn.type==="s"?je[1][0]-je[0][0]+Et:Et}).attr("height",function(tn){return tn.type==="e"||tn.type==="w"?je[1][1]-je[0][1]+Et:Et})):Ne.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function Xt(Ne,je,tn){var Ge=Ne.__brush.emitter;return Ge&&(!tn||!Ge.clean)?Ge:new Qt(Ne,je,tn)}function Qt(Ne,je,tn){this.that=Ne,this.args=je,this.state=Ne.__brush,this.active=0,this.clean=tn}Qt.prototype={beforestart:function(){return++this.active===1&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return--this.active===0&&(delete this.state.emitter,this.emit("end")),this},emit:function(Ne){Gt(new Qf(It,Ne,r.output(this.state.selection)),yt.apply,yt,[Ne,this.that,this.args])}};function qt(){if(Ct&&!wr.touches||!M.apply(this,arguments))return;var Ne=this,je=wr.target.__data__.type,tn=(at&&wr.metaKey?je="overlay":je)==="selection"?td:at&&wr.altKey?Bh:Hc,Ge=r===Wc?null:Pu[je],en=r===fc?null:Yc[je],kn=rs(Ne),Vn=kn.extent,Bn=kn.selection,pr=Vn[0][0],tr,lr,Kn=Vn[0][1],on,zn,Er=Vn[1][0],Fn,vr,$r=Vn[1][1],Yr,ri,Ei=0,Ti=0,Po,Do=Ge&&en&&at&&wr.shiftKey,so,ka,Gs=wr.touches?Vc(wr.changedTouches[0].identifier):kr,cu=Gs(Ne),tc=cu,Xr=Xt(Ne,arguments,!0).beforestart();je==="overlay"?(Bn&&(Po=!0),kn.selection=Bn=[[tr=r===Wc?pr:cu[0],on=r===fc?Kn:cu[1]],[Fn=r===Wc?Er:tr,Yr=r===fc?$r:on]]):(tr=Bn[0][0],on=Bn[0][1],Fn=Bn[1][0],Yr=Bn[1][1]),lr=tr,zn=on,vr=Fn,ri=Yr;var Ui=Ze(Ne).attr("pointer-events","none"),Zi=Ui.selectAll(".overlay").attr("cursor",qo[je]);if(wr.touches)Xr.moved=Qa,Xr.ended=Ts;else{var Nr=Ze(wr.view).on("mousemove.brush",Qa,!0).on("mouseup.brush",Ts,!0);at&&Nr.on("keydown.brush",ks,!0).on("keyup.brush",Dc,!0),Un(wr.view)}Jf(),qs(Ne),zt.call(Ne),Xr.start();function Qa(){var fs=Gs(Ne);Do&&!so&&!ka&&(Math.abs(fs[0]-tc[0])>Math.abs(fs[1]-tc[1])?ka=!0:so=!0),tc=fs,Po=!0,Ol(),go()}function go(){var fs;switch(Ei=tc[0]-cu[0],Ti=tc[1]-cu[1],tn){case ed:case td:{Ge&&(Ei=Math.max(pr-tr,Math.min(Er-Fn,Ei)),lr=tr+Ei,vr=Fn+Ei),en&&(Ti=Math.max(Kn-on,Math.min($r-Yr,Ti)),zn=on+Ti,ri=Yr+Ti);break}case Hc:{Ge<0?(Ei=Math.max(pr-tr,Math.min(Er-tr,Ei)),lr=tr+Ei,vr=Fn):Ge>0&&(Ei=Math.max(pr-Fn,Math.min(Er-Fn,Ei)),lr=tr,vr=Fn+Ei),en<0?(Ti=Math.max(Kn-on,Math.min($r-on,Ti)),zn=on+Ti,ri=Yr):en>0&&(Ti=Math.max(Kn-Yr,Math.min($r-Yr,Ti)),zn=on,ri=Yr+Ti);break}case Bh:{Ge&&(lr=Math.max(pr,Math.min(Er,tr-Ei*Ge)),vr=Math.max(pr,Math.min(Er,Fn+Ei*Ge))),en&&(zn=Math.max(Kn,Math.min($r,on-Ti*en)),ri=Math.max(Kn,Math.min($r,Yr+Ti*en)));break}}vr0&&(tr=lr-Ei),en<0?Yr=ri-Ti:en>0&&(on=zn-Ti),tn=ed,Zi.attr("cursor",qo.selection),go());break}default:return}Ol()}function Dc(){switch(wr.keyCode){case 16:{Do&&(so=ka=Do=!1,go());break}case 18:{tn===Bh&&(Ge<0?Fn=vr:Ge>0&&(tr=lr),en<0?Yr=ri:en>0&&(on=zn),tn=Hc,go());break}case 32:{tn===ed&&(wr.altKey?(Ge&&(Fn=vr-Ei*Ge,tr=lr+Ei*Ge),en&&(Yr=ri-Ti*en,on=zn+Ti*en),tn=Bh):(Ge<0?Fn=vr:Ge>0&&(tr=lr),en<0?Yr=ri:en>0&&(on=zn),tn=Hc),Zi.attr("cursor",qo[je]),go());break}default:return}Ol()}}function ge(){Xt(this,arguments).moved()}function Me(){Xt(this,arguments).ended()}function Ce(){var Ne=this.__brush||{selection:null};return Ne.extent=hc(a.apply(this,arguments)),Ne.dim=r,Ne}return It.extent=function(Ne){return arguments.length?(a=typeof Ne=="function"?Ne:Zf(hc(Ne)),It):a},It.filter=function(Ne){return arguments.length?(M=typeof Ne=="function"?Ne:Zf(!!Ne),It):M},It.touchable=function(Ne){return arguments.length?(H=typeof Ne=="function"?Ne:Zf(!!Ne),It):H},It.handleSize=function(Ne){return arguments.length?(Et=+Ne,It):Et},It.keyModifiers=function(Ne){return arguments.length?(at=!!Ne,It):at},It.on=function(){var Ne=yt.on.apply(yt,arguments);return Ne===yt?It:Ne},It}var Rp=Math.cos,nd=Math.sin,kg=Math.PI,dc=kg/2,Lp=kg*2,Yy=Math.max;function rd(r){return function(a,M){return r(a.source.value+a.target.value,M.source.value+M.target.value)}}function Ip(){var r=0,a=null,M=null,H=null;function at(yt){var Et=yt.length,Ct=[],It=(0,o.y1)(Et),zt=[],Xt=[],Qt=Xt.groups=new Array(Et),qt=new Array(Et*Et),ge,Me,Ce,Ne,je,tn;for(ge=0,je=-1;++jeXl)if(!(Math.abs(Xt*Ct-It*zt)>Xl)||!at)this._+="L"+(this._x1=r)+","+(this._y1=a);else{var qt=M-yt,ge=H-Et,Me=Ct*Ct+It*It,Ce=qt*qt+ge*ge,Ne=Math.sqrt(Me),je=Math.sqrt(Qt),tn=at*Math.tan((Xc-Math.acos((Me+Qt-Ce)/(2*Ne*je)))/2),Ge=tn/je,en=tn/Ne;Math.abs(Ge-1)>Xl&&(this._+="L"+(r+Ge*zt)+","+(a+Ge*Xt)),this._+="A"+at+","+at+",0,0,"+ +(Xt*qt>zt*ge)+","+(this._x1=r+en*Ct)+","+(this._y1=a+en*It)}},arc:function(r,a,M,H,at,yt){r=+r,a=+a,M=+M,yt=!!yt;var Et=M*Math.cos(H),Ct=M*Math.sin(H),It=r+Et,zt=a+Ct,Xt=1^yt,Qt=yt?H-at:at-H;if(M<0)throw new Error("negative radius: "+M);this._x1===null?this._+="M"+It+","+zt:(Math.abs(this._x1-It)>Xl||Math.abs(this._y1-zt)>Xl)&&(this._+="L"+It+","+zt),M&&(Qt<0&&(Qt=Qt%Bp+Bp),Qt>id?this._+="A"+M+","+M+",0,1,"+Xt+","+(r-Et)+","+(a-Ct)+"A"+M+","+M+",0,1,"+Xt+","+(this._x1=It)+","+(this._y1=zt):Qt>Xl&&(this._+="A"+M+","+M+",0,"+ +(Qt>=Xc)+","+Xt+","+(this._x1=r+M*Math.cos(at))+","+(this._y1=a+M*Math.sin(at))))},rect:function(r,a,M,H){this._+="M"+(this._x0=this._x1=+r)+","+(this._y0=this._y1=+a)+"h"+ +M+"v"+ +H+"h"+-M+"Z"},toString:function(){return this._}};const xi=jp;function Gy(r){return r.source}function Pg(r){return r.target}function Fh(r){return r.radius}function Js(r){return r.startAngle}function $c(r){return r.endAngle}function Fr(){var r=Gy,a=Pg,M=Fh,H=Js,at=$c,yt=null;function Et(){var Ct,It=Tx.call(arguments),zt=r.apply(this,It),Xt=a.apply(this,It),Qt=+M.apply(this,(It[0]=zt,It)),qt=H.apply(this,It)-dc,ge=at.apply(this,It)-dc,Me=Qt*Rp(qt),Ce=Qt*nd(qt),Ne=+M.apply(this,(It[0]=Xt,It)),je=H.apply(this,It)-dc,tn=at.apply(this,It)-dc;if(yt||(yt=Ct=xi()),yt.moveTo(Me,Ce),yt.arc(0,0,Qt,qt,ge),(qt!==je||ge!==tn)&&(yt.quadraticCurveTo(0,0,Ne*Rp(je),Ne*nd(je)),yt.arc(0,0,Ne,je,tn)),yt.quadraticCurveTo(0,0,Me,Ce),yt.closePath(),Ct)return yt=null,Ct+""||null}return Et.radius=function(Ct){return arguments.length?(M=typeof Ct=="function"?Ct:Ag(+Ct),Et):M},Et.startAngle=function(Ct){return arguments.length?(H=typeof Ct=="function"?Ct:Ag(+Ct),Et):H},Et.endAngle=function(Ct){return arguments.length?(at=typeof Ct=="function"?Ct:Ag(+Ct),Et):at},Et.source=function(Ct){return arguments.length?(r=Ct,Et):r},Et.target=function(Ct){return arguments.length?(a=Ct,Et):a},Et.context=function(Ct){return arguments.length?(yt=Ct==null?null:Ct,Et):yt},Et}var Is="$";function tl(){}tl.prototype=Ou.prototype={constructor:tl,has:function(r){return Is+r in this},get:function(r){return this[Is+r]},set:function(r,a){return this[Is+r]=a,this},remove:function(r){var a=Is+r;return a in this&&delete this[a]},clear:function(){for(var r in this)r[0]===Is&&delete this[r]},keys:function(){var r=[];for(var a in this)a[0]===Is&&r.push(a.slice(1));return r},values:function(){var r=[];for(var a in this)a[0]===Is&&r.push(this[a]);return r},entries:function(){var r=[];for(var a in this)a[0]===Is&&r.push({key:a.slice(1),value:this[a]});return r},size:function(){var r=0;for(var a in this)a[0]===Is&&++r;return r},empty:function(){for(var r in this)if(r[0]===Is)return!1;return!0},each:function(r){for(var a in this)a[0]===Is&&r(this[a],a.slice(1),this)}};function Ou(r,a){var M=new tl;if(r instanceof tl)r.each(function(Ct,It){M.set(It,Ct)});else if(Array.isArray(r)){var H=-1,at=r.length,yt;if(a==null)for(;++H=r.length)return M!=null&&Ct.sort(M),H!=null?H(Ct):Ct;for(var Qt=-1,qt=Ct.length,ge=r[It++],Me,Ce,Ne=el(),je,tn=zt();++Qtr.length)return Ct;var zt,Xt=a[It-1];return H!=null&&It>=r.length?zt=Ct.entries():(zt=[],Ct.each(function(Qt,qt){zt.push({key:qt,values:Et(Qt,It)})})),Xt!=null?zt.sort(function(Qt,qt){return Xt(Qt.key,qt.key)}):zt}return at={object:function(Ct){return yt(Ct,0,Nu,qc)},map:function(Ct){return yt(Ct,0,Fp,Kc)},entries:function(Ct){return Et(yt(Ct,0,Fp,Kc),0)},key:function(Ct){return r.push(Ct),at},sortKeys:function(Ct){return a[r.length-1]=Ct,at},sortValues:function(Ct){return M=Ct,at},rollup:function(Ct){return H=Ct,at}}}function Nu(){return{}}function qc(r,a,M){r[a]=M}function Fp(){return el()}function Kc(r,a,M){r.set(a,M)}function zh(){}var Bs=el.prototype;zh.prototype=Dl.prototype={constructor:zh,has:Bs.has,add:function(r){return r+="",this[Is+r]=r,this},remove:Bs.remove,clear:Bs.clear,values:Bs.keys,size:Bs.size,empty:Bs.empty,each:Bs.each};function Dl(r,a){var M=new zh;if(r instanceof zh)r.each(function(yt){M.add(yt)});else if(r){var H=-1,at=r.length;if(a==null)for(;++Hgc?Math.pow(r,.3333333333333333):r/ko+Zc}function Vh(r){return r>Ru?r*r*r:ko*(r-Zc)}function nl(r){return 255*(r<=.0031308?12.92*r:1.055*Math.pow(r,.4166666666666667)-.055)}function Wh(r){return(r/=255)<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)}function Pa(r){if(r instanceof Xo)return new Xo(r.h,r.c,r.l,r.opacity);if(r instanceof So||(r=Ko(r)),r.a===0&&r.b===0)return new Xo(NaN,0H!=ge>H&&M<(qt-zt)*(H-Xt)/(ge-Xt)+zt&&(at=-at)}return at}function Lg(r,a,M){var H;return Ig(r,a,M)&&Bg(r[H=+(r[0]===a[0])],M[H],a[H])}function Ig(r,a,M){return(a[0]-r[0])*(M[1]-r[1])===(M[0]-r[0])*(a[1]-r[1])}function Bg(r,a,M){return r<=a&&a<=M||M<=a&&a<=r}function jg(){}var ol=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function Vp(){var r=1,a=1,M=o.zr,H=It;function at(zt){var Xt=M(zt);if(Array.isArray(Xt))Xt=Xt.slice().sort(Dg);else{var Qt=(0,o.Xx)(zt),qt=Qt[0],ge=Qt[1];Xt=(0,o.sG)(qt,ge,Xt),Xt=(0,o.y1)(Math.floor(qt/Xt)*Xt,Math.floor(ge/Xt)*Xt,Xt)}return Xt.map(function(Me){return yt(zt,Me)})}function yt(zt,Xt){var Qt=[],qt=[];return Et(zt,Xt,function(ge){H(ge,zt,Xt),Xh(ge)>0?Qt.push([ge]):qt.push(ge)}),qt.forEach(function(ge){for(var Me=0,Ce=Qt.length,Ne;Me=Xt,ol[je<<1].forEach(en);++Me=Xt,ol[Ne|je<<1].forEach(en);for(ol[je<<0].forEach(en);++Ce=Xt,tn=zt[Ce*r]>=Xt,ol[je<<1|tn<<2].forEach(en);++Me=Xt,Ge=tn,tn=zt[Ce*r+Me+1]>=Xt,ol[Ne|je<<1|tn<<2|Ge<<3].forEach(en);ol[je|tn<<3].forEach(en)}for(Me=-1,tn=zt[Ce*r]>=Xt,ol[tn<<2].forEach(en);++Me=Xt,ol[tn<<2|Ge<<3].forEach(en);ol[tn<<3].forEach(en);function en(kn){var Vn=[kn[0][0]+Me,kn[0][1]+Ce],Bn=[kn[1][0]+Me,kn[1][1]+Ce],pr=Ct(Vn),tr=Ct(Bn),lr,Kn;(lr=ge[pr])?(Kn=qt[tr])?(delete ge[lr.end],delete qt[Kn.start],lr===Kn?(lr.ring.push(Bn),Qt(lr.ring)):qt[lr.start]=ge[Kn.end]={start:lr.start,end:Kn.end,ring:lr.ring.concat(Kn.ring)}):(delete ge[lr.end],lr.ring.push(Bn),ge[lr.end=tr]=lr):(lr=qt[tr])?(Kn=ge[pr])?(delete qt[lr.start],delete ge[Kn.end],lr===Kn?(lr.ring.push(Bn),Qt(lr.ring)):qt[Kn.start]=ge[lr.end]={start:Kn.start,end:lr.end,ring:Kn.ring.concat(lr.ring)}):(delete qt[lr.start],lr.ring.unshift(Vn),qt[lr.start=pr]=lr):qt[pr]=ge[tr]={start:pr,end:tr,ring:[Vn,Bn]}}}function Ct(zt){return zt[0]*2+zt[1]*(r+1)*4}function It(zt,Xt,Qt){zt.forEach(function(qt){var ge=qt[0],Me=qt[1],Ce=ge|0,Ne=Me|0,je,tn=Xt[Ne*r+Ce];ge>0&&ge0&&Me0)||!(Qt>0))throw new Error("invalid size");return r=Xt,a=Qt,at},at.thresholds=function(zt){return arguments.length?(M=typeof zt=="function"?zt:Array.isArray(zt)?il(Jc.call(zt)):il(zt),at):M},at.smooth=function(zt){return arguments.length?(H=zt?It:jg,at):H===It},at}function ld(r,a,M){for(var H=r.width,at=r.height,yt=(M<<1)+1,Et=0;Et=M&&(Ct>=yt&&(It-=r.data[Ct-yt+Et*H]),a.data[Ct-M+Et*H]=It/Math.min(Ct+1,H-1+yt-Ct,yt))}function Wp(r,a,M){for(var H=r.width,at=r.height,yt=(M<<1)+1,Et=0;Et=M&&(Ct>=yt&&(It-=r.data[Et+(Ct-yt)*H]),a.data[Et+(Ct-M)*H]=It/Math.min(Ct+1,at-1+yt-Ct,yt))}function kx(r){return r[0]}function Xy(r){return r[1]}function Ax(){return 1}function Px(){var r=kx,a=Xy,M=Ax,H=960,at=500,yt=20,Et=2,Ct=yt*3,It=H+Ct*2>>Et,zt=at+Ct*2>>Et,Xt=il(20);function Qt(je){var tn=new Float32Array(It*zt),Ge=new Float32Array(It*zt);je.forEach(function(Vn,Bn,pr){var tr=+r(Vn,Bn,pr)+Ct>>Et,lr=+a(Vn,Bn,pr)+Ct>>Et,Kn=+M(Vn,Bn,pr);tr>=0&&tr=0&&lr>Et),Wp({width:It,height:zt,data:Ge},{width:It,height:zt,data:tn},yt>>Et),ld({width:It,height:zt,data:tn},{width:It,height:zt,data:Ge},yt>>Et),Wp({width:It,height:zt,data:Ge},{width:It,height:zt,data:tn},yt>>Et),ld({width:It,height:zt,data:tn},{width:It,height:zt,data:Ge},yt>>Et),Wp({width:It,height:zt,data:Ge},{width:It,height:zt,data:tn},yt>>Et);var en=Xt(tn);if(!Array.isArray(en)){var kn=(0,o.T9)(tn);en=(0,o.sG)(0,kn,en),en=(0,o.y1)(0,Math.floor(kn/en)*en,en),en.shift()}return Vp().thresholds(en).size([It,zt])(tn).map(qt)}function qt(je){return je.value*=Math.pow(2,-2*Et),je.coordinates.forEach(ge),je}function ge(je){je.forEach(Me)}function Me(je){je.forEach(Ce)}function Ce(je){je[0]=je[0]*Math.pow(2,Et)-Ct,je[1]=je[1]*Math.pow(2,Et)-Ct}function Ne(){return Ct=yt*3,It=H+Ct*2>>Et,zt=at+Ct*2>>Et,Qt}return Qt.x=function(je){return arguments.length?(r=typeof je=="function"?je:il(+je),Qt):r},Qt.y=function(je){return arguments.length?(a=typeof je=="function"?je:il(+je),Qt):a},Qt.weight=function(je){return arguments.length?(M=typeof je=="function"?je:il(+je),Qt):M},Qt.size=function(je){if(!arguments.length)return[H,at];var tn=Math.ceil(je[0]),Ge=Math.ceil(je[1]);if(!(tn>=0)&&!(tn>=0))throw new Error("invalid size");return H=tn,at=Ge,Ne()},Qt.cellSize=function(je){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return Et=Math.floor(Math.log(je)/Math.LN2),Ne()},Qt.thresholds=function(je){return arguments.length?(Xt=typeof je=="function"?je:Array.isArray(je)?il(Jc.call(je)):il(je),Qt):Xt},Qt.bandwidth=function(je){if(!arguments.length)return Math.sqrt(yt*(yt+1));if(!((je=+je)>=0))throw new Error("invalid bandwidth");return yt=Math.round((Math.sqrt(4*je*je+1)-1)/2),Ne()},Qt}function Iu(r){return function(){return r}}function Yp(r,a,M,H,at,yt,Et,Ct,It,zt){this.target=r,this.type=a,this.subject=M,this.identifier=H,this.active=at,this.x=yt,this.y=Et,this.dx=Ct,this.dy=It,this._=zt}Yp.prototype.on=function(){var r=this._.on.apply(this._,arguments);return r===this._?this:r};function $y(){return!wr.ctrlKey&&!wr.button}function Gp(){return this.parentNode}function Ox(r){return r==null?{x:wr.x,y:wr.y}:r}function Nx(){return navigator.maxTouchPoints||"ontouchstart"in this}function Dx(){var r=$y,a=Gp,M=Ox,H=Nx,at={},yt=B("start","drag","end"),Et=0,Ct,It,zt,Xt,Qt=0;function qt(en){en.on("mousedown.drag",ge).filter(H).on("touchstart.drag",Ne).on("touchmove.drag",je).on("touchend.drag touchcancel.drag",tn).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function ge(){if(!(Xt||!r.apply(this,arguments))){var en=Ge("mouse",a.apply(this,arguments),kr,this,arguments);en&&(Ze(wr.view).on("mousemove.drag",Me,!0).on("mouseup.drag",Ce,!0),Un(wr.view),En(),zt=!1,Ct=wr.clientX,It=wr.clientY,en("start"))}}function Me(){if(Rn(),!zt){var en=wr.clientX-Ct,kn=wr.clientY-It;zt=en*en+kn*kn>Qt}at.mouse("drag")}function Ce(){Ze(wr.view).on("mousemove.drag mouseup.drag",null),fr(wr.view,zt),Rn(),at.mouse("end")}function Ne(){if(r.apply(this,arguments)){var en=wr.changedTouches,kn=a.apply(this,arguments),Vn=en.length,Bn,pr;for(Bn=0;Bn9999?"+"+is(r,6):is(r,4)}function qy(r){var a=r.getUTCHours(),M=r.getUTCMinutes(),H=r.getUTCSeconds(),at=r.getUTCMilliseconds();return isNaN(r)?"Invalid Date":Xp(r.getUTCFullYear(),4)+"-"+is(r.getUTCMonth()+1,2)+"-"+is(r.getUTCDate(),2)+(at?"T"+is(a,2)+":"+is(M,2)+":"+is(H,2)+"."+is(at,3)+"Z":H?"T"+is(a,2)+":"+is(M,2)+":"+is(H,2)+"Z":M||a?"T"+is(a,2)+":"+is(M,2)+"Z":"")}function th(r){var a=new RegExp('["'+r+` +\r]`),M=r.charCodeAt(0);function H(Qt,qt){var ge,Me,Ce=at(Qt,function(Ne,je){if(ge)return ge(Ne,je-1);Me=Ne,ge=qt?Fg(Ne,qt):hd(Ne)});return Ce.columns=Me||[],Ce}function at(Qt,qt){var ge=[],Me=Qt.length,Ce=0,Ne=0,je,tn=Me<=0,Ge=!1;Qt.charCodeAt(Me-1)===qh&&--Me,Qt.charCodeAt(Me-1)===cd&&--Me;function en(){if(tn)return ud;if(Ge)return Ge=!1,al;var Vn,Bn=Ce,pr;if(Qt.charCodeAt(Bn)===$h){for(;Ce++=Me?tn=!0:(pr=Qt.charCodeAt(Ce++))===qh?Ge=!0:pr===cd&&(Ge=!0,Qt.charCodeAt(Ce)===qh&&++Ce),Qt.slice(Bn+1,Vn-1).replace(/""/g,'"')}for(;Ce=(Qt=(Ct+zt)/2))?Ct=Qt:zt=Qt,(Ne=M>=(qt=(It+Xt)/2))?It=qt:Xt=qt,at=yt,!(yt=yt[je=Ne<<1|Ce]))return at[je]=Et,r;if(ge=+r._x.call(null,yt.data),Me=+r._y.call(null,yt.data),a===ge&&M===Me)return Et.next=yt,at?at[je]=Et:r._root=Et,r;do at=at?at[je]=new Array(4):r._root=new Array(4),(Ce=a>=(Qt=(Ct+zt)/2))?Ct=Qt:zt=Qt,(Ne=M>=(qt=(It+Xt)/2))?It=qt:Xt=qt;while((je=Ne<<1|Ce)===(tn=(Me>=qt)<<1|ge>=Qt));return at[tn]=yt,at[je]=Et,r}function wd(r){var a,M,H=r.length,at,yt,Et=new Array(H),Ct=new Array(H),It=1/0,zt=1/0,Xt=-1/0,Qt=-1/0;for(M=0;MXt&&(Xt=at),ytQt&&(Qt=yt));if(It>Xt||zt>Qt)return this;for(this.cover(It,zt).cover(Xt,Qt),M=0;Mr||r>=at||H>a||a>=yt;)switch(zt=(aXt||(Ct=Me.y0)>Qt||(It=Me.x1)=je)<<1|r>=Ne)&&(Me=qt[qt.length-1],qt[qt.length-1]=qt[qt.length-1-Ce],qt[qt.length-1-Ce]=Me)}else{var tn=r-+this._x.call(null,ge.data),Ge=a-+this._y.call(null,ge.data),en=tn*tn+Ge*Ge;if(en=(qt=(Et+It)/2))?Et=qt:It=qt,(Ce=Qt>=(ge=(Ct+zt)/2))?Ct=ge:zt=ge,a=M,!(M=M[Ne=Ce<<1|Me]))return this;if(!M.length)break;(a[Ne+1&3]||a[Ne+2&3]||a[Ne+3&3])&&(H=a,je=Ne)}for(;M.data!==r;)if(at=M,!(M=M.next))return this;return(yt=M.next)&&delete M.next,at?(yt?at.next=yt:delete at.next,this):a?(yt?a[Ne]=yt:delete a[Ne],(M=a[0]||a[1]||a[2]||a[3])&&M===(a[3]||a[2]||a[1]||a[0])&&!M.length&&(H?H[je]=M:this._root=M),this):(this._root=yt,this)}function wc(r){for(var a=0,M=r.length;aQt.index){var lr=qt-Bn.x-Bn.vx,Kn=ge-Bn.y-Bn.vy,on=lr*lr+Kn*Kn;onqt+tr||knge+tr||VnIt.r&&(It.r=It[zt].r)}function Ct(){if(a){var It,zt=a.length,Xt;for(M=new Array(zt),It=0;It1?(Ce==null?Ct.remove(Me):Ct.set(Me,ge(Ce)),a):Ct.get(Me)},find:function(Me,Ce,Ne){var je=0,tn=r.length,Ge,en,kn,Vn,Bn;for(Ne==null?Ne=1/0:Ne*=Ne,je=0;je1?(zt.on(Me,Ce),a):zt.on(Me)}}}function a0(){var r,a,M,H=oa(-30),at,yt=1,Et=1/0,Ct=.81;function It(qt){var ge,Me=r.length,Ce=za(r,nh,Bi).visitAfter(Xt);for(M=qt,ge=0;ge=Et)return;(qt.data!==a||qt.next)&&(Ne===0&&(Ne=Ql(),Ge+=Ne*Ne),je===0&&(je=Ql(),Ge+=je*je),Ge=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)}function lm(r,a){if((M=(r=a?r.toExponential(a-1):r.toExponential()).indexOf("e"))<0)return null;var M,H=r.slice(0,M);return[H.length>1?H[0]+H.slice(2):H,+r.slice(M+1)]}function cl(r){return r=lm(Math.abs(r)),r?r[1]:NaN}function Ec(r,a){return function(M,H){for(var at=M.length,yt=[],Et=0,Ct=r[0],It=0;at>0&&Ct>0&&(It+Ct+1>H&&(Ct=Math.max(1,H-It)),yt.push(M.substring(at-=Ct,at+Ct)),!((It+=Ct+1)>H));)Ct=r[Et=(Et+1)%r.length];return yt.reverse().join(a)}}function Ao(r){return function(a){return a.replace(/[0-9]/g,function(M){return r[+M]})}}var zx=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ih(r){if(!(a=zx.exec(r)))throw new Error("invalid format: "+r);var a;return new tu({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}ih.prototype=tu.prototype;function tu(r){this.fill=r.fill===void 0?" ":r.fill+"",this.align=r.align===void 0?">":r.align+"",this.sign=r.sign===void 0?"-":r.sign+"",this.symbol=r.symbol===void 0?"":r.symbol+"",this.zero=!!r.zero,this.width=r.width===void 0?void 0:+r.width,this.comma=!!r.comma,this.precision=r.precision===void 0?void 0:+r.precision,this.trim=!!r.trim,this.type=r.type===void 0?"":r.type+""}tu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Ux(r){t:for(var a=r.length,M=1,H=-1,at;M0&&(H=0);break}return H>0?r.slice(0,H)+r.slice(at+1):r}var um;function hl(r,a){var M=lm(r,a);if(!M)return r+"";var H=M[0],at=M[1],yt=at-(um=Math.max(-8,Math.min(8,Math.floor(at/3)))*3)+1,Et=H.length;return yt===Et?H:yt>Et?H+new Array(yt-Et+1).join("0"):yt>0?H.slice(0,yt)+"."+H.slice(yt):"0."+new Array(1-yt).join("0")+lm(r,Math.max(0,a+yt-1))[0]}function cv(r,a){var M=lm(r,a);if(!M)return r+"";var H=M[0],at=M[1];return at<0?"0."+new Array(-at).join("0")+H:H.length>at+1?H.slice(0,at+1)+"."+H.slice(at+1):H+new Array(at-H.length+2).join("0")}const Hs={"%":function(r,a){return(r*100).toFixed(a)},b:function(r){return Math.round(r).toString(2)},c:function(r){return r+""},d:rh,e:function(r,a){return r.toExponential(a)},f:function(r,a){return r.toFixed(a)},g:function(r,a){return r.toPrecision(a)},o:function(r){return Math.round(r).toString(8)},p:function(r,a){return cv(r*100,a)},r:cv,s:hl,X:function(r){return Math.round(r).toString(16).toUpperCase()},x:function(r){return Math.round(r).toString(16)}};function cm(r){return r}var hv=Array.prototype.map,eu=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Sd(r){var a=r.grouping===void 0||r.thousands===void 0?cm:Ec(hv.call(r.grouping,Number),r.thousands+""),M=r.currency===void 0?"":r.currency[0]+"",H=r.currency===void 0?"":r.currency[1]+"",at=r.decimal===void 0?".":r.decimal+"",yt=r.numerals===void 0?cm:Ao(hv.call(r.numerals,String)),Et=r.percent===void 0?"%":r.percent+"",Ct=r.minus===void 0?"-":r.minus+"",It=r.nan===void 0?"NaN":r.nan+"";function zt(Qt){Qt=ih(Qt);var qt=Qt.fill,ge=Qt.align,Me=Qt.sign,Ce=Qt.symbol,Ne=Qt.zero,je=Qt.width,tn=Qt.comma,Ge=Qt.precision,en=Qt.trim,kn=Qt.type;kn==="n"?(tn=!0,kn="g"):Hs[kn]||(Ge===void 0&&(Ge=12),en=!0,kn="g"),(Ne||qt==="0"&&ge==="=")&&(Ne=!0,qt="0",ge="=");var Vn=Ce==="$"?M:Ce==="#"&&/[boxX]/.test(kn)?"0"+kn.toLowerCase():"",Bn=Ce==="$"?H:/[%p]/.test(kn)?Et:"",pr=Hs[kn],tr=/[defgprs%]/.test(kn);Ge=Ge===void 0?6:/[gprs]/.test(kn)?Math.max(1,Math.min(21,Ge)):Math.max(0,Math.min(20,Ge));function lr(Kn){var on=Vn,zn=Bn,Er,Fn,vr;if(kn==="c")zn=pr(Kn)+zn,Kn="";else{Kn=+Kn;var $r=Kn<0||1/Kn<0;if(Kn=isNaN(Kn)?It:pr(Math.abs(Kn),Ge),en&&(Kn=Ux(Kn)),$r&&+Kn==0&&Me!=="+"&&($r=!1),on=($r?Me==="("?Me:Ct:Me==="-"||Me==="("?"":Me)+on,zn=(kn==="s"?eu[8+um/3]:"")+zn+($r&&Me==="("?")":""),tr){for(Er=-1,Fn=Kn.length;++Ervr||vr>57){zn=(vr===46?at+Kn.slice(Er+1):Kn.slice(Er))+zn,Kn=Kn.slice(0,Er);break}}}tn&&!Ne&&(Kn=a(Kn,1/0));var Yr=on.length+Kn.length+zn.length,ri=Yr>1)+on+Kn+zn+ri.slice(Yr);break;default:Kn=ri+on+Kn+zn;break}return yt(Kn)}return lr.toString=function(){return Qt+""},lr}function Xt(Qt,qt){var ge=zt((Qt=ih(Qt),Qt.type="f",Qt)),Me=Math.max(-8,Math.min(8,Math.floor(cl(qt)/3)))*3,Ce=Math.pow(10,-Me),Ne=eu[8+Me/3];return function(je){return ge(Ce*je)+Ne}}return{format:zt,formatPrefix:Xt}}var nu,Sc,oh;fl({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function fl(r){return nu=Sd(r),Sc=nu.format,oh=nu.formatPrefix,nu}function fv(r){return Math.max(0,-cl(Math.abs(r)))}function of(r,a){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(cl(a)/3)))*3-cl(Math.abs(r)))}function dv(r,a){return r=Math.abs(r),a=Math.abs(a)-r,Math.max(0,cl(a)-cl(r))+1}function ws(){return new af}function af(){this.reset()}af.prototype={constructor:af,reset:function(){this.s=this.t=0},add:function(r){Cd(Cc,r,this.t),Cd(this,Cc.s,this.s),this.s?this.t+=Cc.t:this.s=Cc.t},valueOf:function(){return this.s}};var Cc=new af;function Cd(r,a,M){var H=r.s=a+M,at=H-a,yt=H-at;r.t=a-yt+(M-at)}var oi=1e-6,sf=1e-12,ai=Math.PI,Zo=ai/2,lf=ai/4,Ua=ai*2,bo=180/ai,ii=ai/180,Yi=Math.abs,Vs=Math.atan,Sa=Math.atan2,Gr=Math.cos,Hu=Math.ceil,ah=Math.exp,Md=Math.floor,h=Math.log,k=Math.pow,lt=Math.sin,kt=Math.sign||function(r){return r>0?1:r<0?-1:0},Wt=Math.sqrt,re=Math.tan;function Re(r){return r>1?0:r<-1?ai:Math.acos(r)}function sn(r){return r>1?Zo:r<-1?-Zo:Math.asin(r)}function _n(r){return(r=lt(r/2))*r}function vn(){}function br(r,a){r&&_r.hasOwnProperty(r.type)&&_r[r.type](r,a)}var Ar={Feature:function(r,a){br(r.geometry,a)},FeatureCollection:function(r,a){for(var M=r.features,H=-1,at=M.length;++H=0?1:-1,at=H*M,yt=Gr(a),Et=lt(a),Ct=pi*Et,It=Jr*yt+Ct*Gr(at),zt=Ct*H*lt(at);Qo.add(Sa(zt,It)),Rr=r,Jr=yt,pi=Et}function pv(r){return Hn.reset(),Hr(r,ni),Hn*2}function uf(r){return[Sa(r[1],r[0]),sn(r[2])]}function cf(r){var a=r[0],M=r[1],H=Gr(M);return[H*Gr(a),H*lt(a),lt(M)]}function s0(r,a){return r[0]*a[0]+r[1]*a[1]+r[2]*a[2]}function Td(r,a){return[r[1]*a[2]-r[2]*a[1],r[2]*a[0]-r[0]*a[2],r[0]*a[1]-r[1]*a[0]]}function Hx(r,a){r[0]+=a[0],r[1]+=a[1],r[2]+=a[2]}function l0(r,a){return[r[0]*a,r[1]*a,r[2]*a]}function mv(r){var a=Wt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]);r[0]/=a,r[1]/=a,r[2]/=a}var ha,dl,ga,ss,sh,Z_,Q_,hf,u0=ws(),ff,lh,ls={point:Vx,lineStart:AT,lineEnd:uh,polygonStart:function(){ls.point=Mc,ls.lineStart=Wx,ls.lineEnd=Yx,u0.reset(),ni.polygonStart()},polygonEnd:function(){ni.polygonEnd(),ls.point=Vx,ls.lineStart=AT,ls.lineEnd=uh,Qo<0?(ha=-(ga=180),dl=-(ss=90)):u0>oi?ss=90:u0<-oi&&(dl=-90),lh[0]=ha,lh[1]=ga},sphere:function(){ha=-(ga=180),dl=-(ss=90)}};function Vx(r,a){ff.push(lh=[ha=r,ga=r]),ass&&(ss=a)}function kT(r,a){var M=cf([r*ii,a*ii]);if(hf){var H=Td(hf,M),at=[H[1],-H[0],0],yt=Td(at,H);mv(yt),yt=uf(yt);var Et=r-sh,Ct=Et>0?1:-1,It=yt[0]*bo*Ct,zt,Xt=Yi(Et)>180;Xt^(Ct*shss&&(ss=zt)):(It=(It+360)%360-180,Xt^(Ct*shss&&(ss=a))),Xt?rWs(ha,ga)&&(ga=r):Ws(r,ga)>Ws(ha,ga)&&(ha=r):ga>=ha?(rga&&(ga=r)):r>sh?Ws(ha,r)>Ws(ha,ga)&&(ga=r):Ws(r,ga)>Ws(ha,ga)&&(ha=r)}else ff.push(lh=[ha=r,ga=r]);ass&&(ss=a),hf=M,sh=r}function AT(){ls.point=kT}function uh(){lh[0]=ha,lh[1]=ga,ls.point=Vx,hf=null}function Mc(r,a){if(hf){var M=r-sh;u0.add(Yi(M)>180?M+(M>0?360:-360):M)}else Z_=r,Q_=a;ni.point(r,a),kT(r,a)}function Wx(){ni.lineStart()}function Yx(){Mc(Z_,Q_),ni.lineEnd(),Yi(u0)>oi&&(ha=-(ga=180)),lh[0]=ha,lh[1]=ga,hf=null}function Ws(r,a){return(a-=r)<0?a+360:a}function gv(r,a){return r[0]-a[0]}function yv(r,a){return r[0]<=r[1]?r[0]<=a&&a<=r[1]:aWs(H[0],H[1])&&(H[1]=at[1]),Ws(at[0],H[1])>Ws(H[0],H[1])&&(H[0]=at[0])):yt.push(H=at);for(Et=-1/0,M=yt.length-1,a=0,H=yt[M];a<=M;H=at,++a)at=yt[a],(Ct=Ws(H[1],at[0]))>Et&&(Et=Ct,ha=at[0],ga=H[1])}return ff=lh=null,ha===1/0||dl===1/0?[[NaN,NaN],[NaN,NaN]]:[[ha,dl],[ga,ss]]}var kd,Ad,hm,fm,dm,vv,c0,h0,xv,Xx,$x,bv,J_,us,Ys,Ha,Vu={sphere:vn,point:qx,lineStart:wv,lineEnd:NT,polygonStart:function(){Vu.lineStart=Wu,Vu.lineEnd=t2},polygonEnd:function(){Vu.lineStart=wv,Vu.lineEnd=NT}};function qx(r,a){r*=ii,a*=ii;var M=Gr(a);f0(M*Gr(r),M*lt(r),lt(a))}function f0(r,a,M){++kd,hm+=(r-hm)/kd,fm+=(a-fm)/kd,dm+=(M-dm)/kd}function wv(){Vu.point=PT}function PT(r,a){r*=ii,a*=ii;var M=Gr(a);us=M*Gr(r),Ys=M*lt(r),Ha=lt(a),Vu.point=OT,f0(us,Ys,Ha)}function OT(r,a){r*=ii,a*=ii;var M=Gr(a),H=M*Gr(r),at=M*lt(r),yt=lt(a),Et=Sa(Wt((Et=Ys*yt-Ha*at)*Et+(Et=Ha*H-us*yt)*Et+(Et=us*at-Ys*H)*Et),us*H+Ys*at+Ha*yt);Ad+=Et,vv+=Et*(us+(us=H)),c0+=Et*(Ys+(Ys=at)),h0+=Et*(Ha+(Ha=yt)),f0(us,Ys,Ha)}function NT(){Vu.point=qx}function Wu(){Vu.point=e2}function t2(){Kx(bv,J_),Vu.point=qx}function e2(r,a){bv=r,J_=a,r*=ii,a*=ii,Vu.point=Kx;var M=Gr(a);us=M*Gr(r),Ys=M*lt(r),Ha=lt(a),f0(us,Ys,Ha)}function Kx(r,a){r*=ii,a*=ii;var M=Gr(a),H=M*Gr(r),at=M*lt(r),yt=lt(a),Et=Ys*yt-Ha*at,Ct=Ha*H-us*yt,It=us*at-Ys*H,zt=Wt(Et*Et+Ct*Ct+It*It),Xt=sn(zt),Qt=zt&&-Xt/zt;xv+=Qt*Et,Xx+=Qt*Ct,$x+=Qt*It,Ad+=Xt,vv+=Xt*(us+(us=H)),c0+=Xt*(Ys+(Ys=at)),h0+=Xt*(Ha+(Ha=yt)),f0(us,Ys,Ha)}function n2(r){kd=Ad=hm=fm=dm=vv=c0=h0=xv=Xx=$x=0,Hr(r,Vu);var a=xv,M=Xx,H=$x,at=a*a+M*M+H*H;return atai?r+Math.round(-r/Ua)*Ua:r,a]}Ev.invert=Ev;function Sv(r,a,M){return(r%=Ua)?a||M?_v(r2(r),i2(a,M)):r2(r):a||M?i2(a,M):Ev}function Zx(r){return function(a,M){return a+=r,[a>ai?a-Ua:a<-ai?a+Ua:a,M]}}function r2(r){var a=Zx(r);return a.invert=Zx(-r),a}function i2(r,a){var M=Gr(r),H=lt(r),at=Gr(a),yt=lt(a);function Et(Ct,It){var zt=Gr(It),Xt=Gr(Ct)*zt,Qt=lt(Ct)*zt,qt=lt(It),ge=qt*M+Xt*H;return[Sa(Qt*at-ge*yt,Xt*M-qt*H),sn(ge*at+Qt*yt)]}return Et.invert=function(Ct,It){var zt=Gr(It),Xt=Gr(Ct)*zt,Qt=lt(Ct)*zt,qt=lt(It),ge=qt*at-Qt*yt;return[Sa(Qt*at+qt*yt,Xt*M+ge*H),sn(ge*M-Xt*H)]},Et}function o2(r){r=Sv(r[0]*ii,r[1]*ii,r.length>2?r[2]*ii:0);function a(M){return M=r(M[0]*ii,M[1]*ii),M[0]*=bo,M[1]*=bo,M}return a.invert=function(M){return M=r.invert(M[0]*ii,M[1]*ii),M[0]*=bo,M[1]*=bo,M},a}function a2(r,a,M,H,at,yt){if(M){var Et=Gr(a),Ct=lt(a),It=H*M;at==null?(at=a+H*Ua,yt=a-It/2):(at=Qx(Et,at),yt=Qx(Et,yt),(H>0?atyt)&&(at+=H*Ua));for(var zt,Xt=at;H>0?Xt>yt:Xt1&&r.push(r.pop().concat(r.shift()))},result:function(){var M=r;return r=[],a=null,M}}}function pm(r,a){return Yi(r[0]-a[0])=0;--Ct)at.point((Qt=Xt[Ct])[0],Qt[1]);else H(qt.x,qt.p.x,-1,at);qt=qt.p}qt=qt.o,Xt=qt.z,ge=!ge}while(!qt.v);at.lineEnd()}}}function u2(r){if(a=r.length){for(var a,M=0,H=r[0],at;++M=0?1:-1,tr=pr*Bn,lr=tr>ai,Kn=Ce*kn;if(Jx.add(Sa(Kn*pr*lt(tr),Ne*Vn+Kn*Gr(tr))),Et+=lr?Bn+pr*Ua:Bn,lr^ge>=M^Ge>=M){var on=Td(cf(qt),cf(tn));mv(on);var zn=Td(yt,on);mv(zn);var Er=(lr^Bn>=0?-1:1)*sn(zn[2]);(H>Er||H===Er&&(on[0]||on[1]))&&(Ct+=lr^Bn>=0?1:-1)}}return(Et<-oi||Et0){for(It||(at.polygonStart(),It=!0),at.lineStart(),Vn=0;Vn1&&en&2&&kn.push(kn.pop().concat(kn.shift())),Xt.push(kn.filter(p0))}}return qt}}function p0(r){return r.length>1}function tb(r,a){return((r=r.x)[0]<0?r[1]-Zo-oi:Zo-r[1])-((a=a.x)[0]<0?a[1]-Zo-oi:Zo-a[1])}const mm=c2(function(){return!0},eb,f2,[-ai,-Zo]);function eb(r){var a=NaN,M=NaN,H=NaN,at;return{lineStart:function(){r.lineStart(),at=1},point:function(yt,Et){var Ct=yt>0?ai:-ai,It=Yi(yt-a);Yi(It-ai)0?Zo:-Zo),r.point(H,M),r.lineEnd(),r.lineStart(),r.point(Ct,M),r.point(yt,M),at=0):H!==Ct&&It>=ai&&(Yi(a-H)oi?Vs((lt(a)*(yt=Gr(H))*lt(M)-lt(H)*(at=Gr(a))*lt(r))/(at*yt*Et)):(a+H)/2}function f2(r,a,M,H){var at;if(r==null)at=M*Zo,H.point(-ai,at),H.point(0,at),H.point(ai,at),H.point(ai,0),H.point(ai,-at),H.point(0,-at),H.point(-ai,-at),H.point(-ai,0),H.point(-ai,at);else if(Yi(r[0]-a[0])>oi){var yt=r[0]0,at=Yi(a)>oi;function yt(Xt,Qt,qt,ge){a2(ge,r,M,qt,Xt,Qt)}function Et(Xt,Qt){return Gr(Xt)*Gr(Qt)>a}function Ct(Xt){var Qt,qt,ge,Me,Ce;return{lineStart:function(){Me=ge=!1,Ce=1},point:function(Ne,je){var tn=[Ne,je],Ge,en=Et(Ne,je),kn=H?en?0:zt(Ne,je):en?zt(Ne+(Ne<0?ai:-ai),je):0;if(!Qt&&(Me=ge=en)&&Xt.lineStart(),en!==ge&&(Ge=It(Qt,tn),(!Ge||pm(Qt,Ge)||pm(tn,Ge))&&(tn[2]=1)),en!==ge)Ce=0,en?(Xt.lineStart(),Ge=It(tn,Qt),Xt.point(Ge[0],Ge[1])):(Ge=It(Qt,tn),Xt.point(Ge[0],Ge[1],2),Xt.lineEnd()),Qt=Ge;else if(at&&Qt&&H^en){var Vn;!(kn&qt)&&(Vn=It(tn,Qt,!0))&&(Ce=0,H?(Xt.lineStart(),Xt.point(Vn[0][0],Vn[0][1]),Xt.point(Vn[1][0],Vn[1][1]),Xt.lineEnd()):(Xt.point(Vn[1][0],Vn[1][1]),Xt.lineEnd(),Xt.lineStart(),Xt.point(Vn[0][0],Vn[0][1],3)))}en&&(!Qt||!pm(Qt,tn))&&Xt.point(tn[0],tn[1]),Qt=tn,ge=en,qt=kn},lineEnd:function(){ge&&Xt.lineEnd(),Qt=null},clean:function(){return Ce|(Me&&ge)<<1}}}function It(Xt,Qt,qt){var ge=cf(Xt),Me=cf(Qt),Ce=[1,0,0],Ne=Td(ge,Me),je=s0(Ne,Ne),tn=Ne[0],Ge=je-tn*tn;if(!Ge)return!qt&&Xt;var en=a*je/Ge,kn=-a*tn/Ge,Vn=Td(Ce,Ne),Bn=l0(Ce,en),pr=l0(Ne,kn);Hx(Bn,pr);var tr=Vn,lr=s0(Bn,tr),Kn=s0(tr,tr),on=lr*lr-Kn*(s0(Bn,Bn)-1);if(!(on<0)){var zn=Wt(on),Er=l0(tr,(-lr-zn)/Kn);if(Hx(Er,Bn),Er=uf(Er),!qt)return Er;var Fn=Xt[0],vr=Qt[0],$r=Xt[1],Yr=Qt[1],ri;vr0^Er[1]<(Yi(Er[0]-Fn)ai^(Fn<=Er[0]&&Er[0]<=vr)){var Do=l0(tr,(-lr+zn)/Kn);return Hx(Do,Bn),[Er,uf(Do)]}}}function zt(Xt,Qt){var qt=H?r:ai-r,ge=0;return Xt<-qt?ge|=1:Xt>qt&&(ge|=2),Qt<-qt?ge|=4:Qt>qt&&(ge|=8),ge}return c2(Et,Ct,yt,H?[0,-r]:[-ai,r-ai])}function nb(r,a,M,H,at,yt){var Et=r[0],Ct=r[1],It=a[0],zt=a[1],Xt=0,Qt=1,qt=It-Et,ge=zt-Ct,Me;if(Me=M-Et,!(!qt&&Me>0)){if(Me/=qt,qt<0){if(Me0){if(Me>Qt)return;Me>Xt&&(Xt=Me)}if(Me=at-Et,!(!qt&&Me<0)){if(Me/=qt,qt<0){if(Me>Qt)return;Me>Xt&&(Xt=Me)}else if(qt>0){if(Me0)){if(Me/=ge,ge<0){if(Me0){if(Me>Qt)return;Me>Xt&&(Xt=Me)}if(Me=yt-Ct,!(!ge&&Me<0)){if(Me/=ge,ge<0){if(Me>Qt)return;Me>Xt&&(Xt=Me)}else if(ge>0){if(Me0&&(r[0]=Et+Xt*qt,r[1]=Ct+Xt*ge),Qt<1&&(a[0]=Et+Qt*qt,a[1]=Ct+Qt*ge),!0}}}}}var gm=1e9,Av=-gm;function Pv(r,a,M,H){function at(zt,Xt){return r<=zt&&zt<=M&&a<=Xt&&Xt<=H}function yt(zt,Xt,Qt,qt){var ge=0,Me=0;if(zt==null||(ge=Et(zt,Qt))!==(Me=Et(Xt,Qt))||It(zt,Xt)<0^Qt>0)do qt.point(ge===0||ge===3?r:M,ge>1?H:a);while((ge=(ge+Qt+4)%4)!==Me);else qt.point(Xt[0],Xt[1])}function Et(zt,Xt){return Yi(zt[0]-r)0?0:3:Yi(zt[0]-M)0?2:1:Yi(zt[1]-a)0?1:0:Xt>0?3:2}function Ct(zt,Xt){return It(zt.x,Xt.x)}function It(zt,Xt){var Qt=Et(zt,1),qt=Et(Xt,1);return Qt!==qt?Qt-qt:Qt===0?Xt[1]-zt[1]:Qt===1?zt[0]-Xt[0]:Qt===2?zt[1]-Xt[1]:Xt[0]-zt[0]}return function(zt){var Xt=zt,Qt=Cv(),qt,ge,Me,Ce,Ne,je,tn,Ge,en,kn,Vn,Bn={point:pr,lineStart:on,lineEnd:zn,polygonStart:lr,polygonEnd:Kn};function pr(Fn,vr){at(Fn,vr)&&Xt.point(Fn,vr)}function tr(){for(var Fn=0,vr=0,$r=ge.length;vr<$r;++vr)for(var Yr=ge[vr],ri=1,Ei=Yr.length,Ti=Yr[0],Po,Do,so=Ti[0],ka=Ti[1];riH&&(so-Po)*(H-Do)>(ka-Do)*(r-Po)&&++Fn:ka<=H&&(so-Po)*(H-Do)<(ka-Do)*(r-Po)&&--Fn;return Fn}function lr(){Xt=Qt,qt=[],ge=[],Vn=!0}function Kn(){var Fn=tr(),vr=Vn&&Fn,$r=(qt=(0,o.Am)(qt)).length;(vr||$r)&&(zt.polygonStart(),vr&&(zt.lineStart(),yt(null,null,1,zt),zt.lineEnd()),$r&&l2(qt,Ct,Fn,yt,zt),zt.polygonEnd()),Xt=zt,qt=ge=Me=null}function on(){Bn.point=Er,ge&&ge.push(Me=[]),kn=!0,en=!1,tn=Ge=NaN}function zn(){qt&&(Er(Ce,Ne),je&&en&&Qt.rejoin(),qt.push(Qt.result())),Bn.point=pr,en&&Xt.lineEnd()}function Er(Fn,vr){var $r=at(Fn,vr);if(ge&&Me.push([Fn,vr]),kn)Ce=Fn,Ne=vr,je=$r,kn=!1,$r&&(Xt.lineStart(),Xt.point(Fn,vr));else if($r&&en)Xt.point(Fn,vr);else{var Yr=[tn=Math.max(Av,Math.min(gm,tn)),Ge=Math.max(Av,Math.min(gm,Ge))],ri=[Fn=Math.max(Av,Math.min(gm,Fn)),vr=Math.max(Av,Math.min(gm,vr))];nb(Yr,ri,r,a,M,H)?(en||(Xt.lineStart(),Xt.point(Yr[0],Yr[1])),Xt.point(ri[0],ri[1]),$r||Xt.lineEnd(),Vn=!1):$r&&(Xt.lineStart(),Xt.point(Fn,vr),Vn=!1)}tn=Fn,Ge=vr,en=$r}return Bn}}function DT(){var r=0,a=0,M=960,H=500,at,yt,Et;return Et={stream:function(Ct){return at&&yt===Ct?at:at=Pv(r,a,M,H)(yt=Ct)},extent:function(Ct){return arguments.length?(r=+Ct[0][0],a=+Ct[0][1],M=+Ct[1][0],H=+Ct[1][1],at=yt=null,Et):[[r,a],[M,H]]}}}var rb=ws(),ib,Ov,Nv,Od={sphere:vn,point:vn,lineStart:d2,lineEnd:vn,polygonStart:vn,polygonEnd:vn};function d2(){Od.point=m2,Od.lineEnd=p2}function p2(){Od.point=Od.lineEnd=vn}function m2(r,a){r*=ii,a*=ii,ib=r,Ov=lt(a),Nv=Gr(a),Od.point=ob}function ob(r,a){r*=ii,a*=ii;var M=lt(a),H=Gr(a),at=Yi(r-ib),yt=Gr(at),Et=lt(at),Ct=H*Et,It=Nv*M-Ov*H*yt,zt=Ov*M+Nv*H*yt;rb.add(Sa(Wt(Ct*Ct+It*It),zt)),ib=r,Ov=M,Nv=H}function g2(r){return rb.reset(),Hr(r,Od),+rb}var ab=[null,null],RT={type:"LineString",coordinates:ab};function ym(r,a){return ab[0]=r,ab[1]=a,g2(RT)}var LT={Feature:function(r,a){return Dv(r.geometry,a)},FeatureCollection:function(r,a){for(var M=r.features,H=-1,at=M.length;++H0&&(at=ym(r[yt],r[yt-1]),at>0&&M<=at&&H<=at&&(M+H-at)*(1-Math.pow((M-H)/at,2))oi}).map(qt)).concat((0,o.y1)(Hu(yt/zt)*zt,at,zt).filter(function(Ge){return Yi(Ge%Qt)>oi}).map(ge))}return je.lines=function(){return tn().map(function(Ge){return{type:"LineString",coordinates:Ge}})},je.outline=function(){return{type:"Polygon",coordinates:[Me(H).concat(Ce(Et).slice(1),Me(M).reverse().slice(1),Ce(Ct).reverse().slice(1))]}},je.extent=function(Ge){return arguments.length?je.extentMajor(Ge).extentMinor(Ge):je.extentMinor()},je.extentMajor=function(Ge){return arguments.length?(H=+Ge[0][0],M=+Ge[1][0],Ct=+Ge[0][1],Et=+Ge[1][1],H>M&&(Ge=H,H=M,M=Ge),Ct>Et&&(Ge=Ct,Ct=Et,Et=Ge),je.precision(Ne)):[[H,Ct],[M,Et]]},je.extentMinor=function(Ge){return arguments.length?(a=+Ge[0][0],r=+Ge[1][0],yt=+Ge[0][1],at=+Ge[1][1],a>r&&(Ge=a,a=r,r=Ge),yt>at&&(Ge=yt,yt=at,at=Ge),je.precision(Ne)):[[a,yt],[r,at]]},je.step=function(Ge){return arguments.length?je.stepMajor(Ge).stepMinor(Ge):je.stepMinor()},je.stepMajor=function(Ge){return arguments.length?(Xt=+Ge[0],Qt=+Ge[1],je):[Xt,Qt]},je.stepMinor=function(Ge){return arguments.length?(It=+Ge[0],zt=+Ge[1],je):[It,zt]},je.precision=function(Ge){return arguments.length?(Ne=+Ge,qt=Tc(yt,at,90),ge=ub(a,r,Ne),Me=Tc(Ct,Et,90),Ce=ub(H,M,Ne),je):Ne},je.extentMajor([[-180,-90+oi],[180,90-oi]]).extentMinor([[-180,-80-oi],[180,80+oi]])}function BT(){return cb()()}function x2(r,a){var M=r[0]*ii,H=r[1]*ii,at=a[0]*ii,yt=a[1]*ii,Et=Gr(H),Ct=lt(H),It=Gr(yt),zt=lt(yt),Xt=Et*Gr(M),Qt=Et*lt(M),qt=It*Gr(at),ge=It*lt(at),Me=2*sn(Wt(_n(yt-H)+Et*It*_n(at-M))),Ce=lt(Me),Ne=Me?function(je){var tn=lt(je*=Me)/Ce,Ge=lt(Me-je)/Ce,en=Ge*Xt+tn*qt,kn=Ge*Qt+tn*ge,Vn=Ge*Ct+tn*zt;return[Sa(kn,en)*bo,Sa(Vn,Wt(en*en+kn*kn))*bo]}:function(){return[M*bo,H*bo]};return Ne.distance=Me,Ne}function Nd(r){return r}var m0=ws(),Lv=ws(),hb,fb,Iv,db,kc={point:vn,lineStart:vn,lineEnd:vn,polygonStart:function(){kc.lineStart=Bv,kc.lineEnd=FT},polygonEnd:function(){kc.lineStart=kc.lineEnd=kc.point=vn,m0.add(Yi(Lv)),Lv.reset()},result:function(){var r=m0/2;return m0.reset(),r}};function Bv(){kc.point=jT}function jT(r,a){kc.point=b2,hb=Iv=r,fb=db=a}function b2(r,a){Lv.add(db*r-Iv*a),Iv=r,db=a}function FT(){b2(hb,fb)}const w2=kc;var vm=1/0,jv=vm,xm=-vm,Fv=xm,zT={point:_2,lineStart:vn,lineEnd:vn,polygonStart:vn,polygonEnd:vn,result:function(){var r=[[vm,jv],[xm,Fv]];return xm=Fv=-(jv=vm=1/0),r}};function _2(r,a){rxm&&(xm=r),aFv&&(Fv=a)}const zi=zT;var jo=0,g0=0,bm=0,y0=0,zv=0,wm=0,pb=0,mb=0,v0=0,E2,S2,Yu,Ac,Gu={point:Dd,lineStart:C2,lineEnd:M2,polygonStart:function(){Gu.lineStart=VT,Gu.lineEnd=WT},polygonEnd:function(){Gu.point=Dd,Gu.lineStart=C2,Gu.lineEnd=M2},result:function(){var r=v0?[pb/v0,mb/v0]:wm?[y0/wm,zv/wm]:bm?[jo/bm,g0/bm]:[NaN,NaN];return jo=g0=bm=y0=zv=wm=pb=mb=v0=0,r}};function Dd(r,a){jo+=r,g0+=a,++bm}function C2(){Gu.point=UT}function UT(r,a){Gu.point=HT,Dd(Yu=r,Ac=a)}function HT(r,a){var M=r-Yu,H=a-Ac,at=Wt(M*M+H*H);y0+=at*(Yu+r)/2,zv+=at*(Ac+a)/2,wm+=at,Dd(Yu=r,Ac=a)}function M2(){Gu.point=Dd}function VT(){Gu.point=YT}function WT(){T2(E2,S2)}function YT(r,a){Gu.point=T2,Dd(E2=Yu=r,S2=Ac=a)}function T2(r,a){var M=r-Yu,H=a-Ac,at=Wt(M*M+H*H);y0+=at*(Yu+r)/2,zv+=at*(Ac+a)/2,wm+=at,at=Ac*r-Yu*a,pb+=at*(Yu+r),mb+=at*(Ac+a),v0+=at*3,Dd(Yu=r,Ac=a)}const k2=Gu;function A2(r){this._context=r}A2.prototype={_radius:4.5,pointRadius:function(r){return this._radius=r,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(r,a){switch(this._point){case 0:{this._context.moveTo(r,a),this._point=1;break}case 1:{this._context.lineTo(r,a);break}default:{this._context.moveTo(r+this._radius,a),this._context.arc(r,a,this._radius,0,Ua);break}}},result:vn};var gb=ws(),yb,P2,O2,x0,b0,ch={point:vn,lineStart:function(){ch.point=GT},lineEnd:function(){yb&&N2(P2,O2),ch.point=vn},polygonStart:function(){yb=!0},polygonEnd:function(){yb=null},result:function(){var r=+gb;return gb.reset(),r}};function GT(r,a){ch.point=N2,P2=x0=r,O2=b0=a}function N2(r,a){x0-=r,b0-=a,gb.add(Wt(x0*x0+b0*b0)),x0=r,b0=a}const D2=ch;function R2(){this._string=[]}R2.prototype={_radius:4.5,_circle:L2(4.5),pointRadius:function(r){return(r=+r)!==this._radius&&(this._radius=r,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(r,a){switch(this._point){case 0:{this._string.push("M",r,",",a),this._point=1;break}case 1:{this._string.push("L",r,",",a);break}default:{this._circle==null&&(this._circle=L2(this._radius)),this._string.push("M",r,",",a,this._circle);break}}},result:function(){if(this._string.length){var r=this._string.join("");return this._string=[],r}else return null}};function L2(r){return"m0,"+r+"a"+r+","+r+" 0 1,1 0,"+-2*r+"a"+r+","+r+" 0 1,1 0,"+2*r+"z"}function XT(r,a){var M=4.5,H,at;function yt(Et){return Et&&(typeof M=="function"&&at.pointRadius(+M.apply(this,arguments)),Hr(Et,H(at))),at.result()}return yt.area=function(Et){return Hr(Et,H(w2)),w2.result()},yt.measure=function(Et){return Hr(Et,H(D2)),D2.result()},yt.bounds=function(Et){return Hr(Et,H(zi)),zi.result()},yt.centroid=function(Et){return Hr(Et,H(k2)),k2.result()},yt.projection=function(Et){return arguments.length?(H=Et==null?(r=null,Nd):(r=Et).stream,yt):r},yt.context=function(Et){return arguments.length?(at=Et==null?(a=null,new R2):new A2(a=Et),typeof M!="function"&&at.pointRadius(M),yt):a},yt.pointRadius=function(Et){return arguments.length?(M=typeof Et=="function"?Et:(at.pointRadius(+Et),+Et),yt):M},yt.projection(r).context(a)}function $T(r){return{stream:w0(r)}}function w0(r){return function(a){var M=new vb;for(var H in r)M[H]=r[H];return M.stream=a,M}}function vb(){}vb.prototype={constructor:vb,point:function(r,a){this.stream.point(r,a)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function xb(r,a,M){var H=r.clipExtent&&r.clipExtent();return r.scale(150).translate([0,0]),H!=null&&r.clipExtent(null),Hr(M,r.stream(zi)),a(zi.result()),H!=null&&r.clipExtent(H),r}function Uv(r,a,M){return xb(r,function(H){var at=a[1][0]-a[0][0],yt=a[1][1]-a[0][1],Et=Math.min(at/(H[1][0]-H[0][0]),yt/(H[1][1]-H[0][1])),Ct=+a[0][0]+(at-Et*(H[1][0]+H[0][0]))/2,It=+a[0][1]+(yt-Et*(H[1][1]+H[0][1]))/2;r.scale(150*Et).translate([Ct,It])},M)}function bb(r,a,M){return Uv(r,[[0,0],a],M)}function wb(r,a,M){return xb(r,function(H){var at=+a,yt=at/(H[1][0]-H[0][0]),Et=(at-yt*(H[1][0]+H[0][0]))/2,Ct=-yt*H[0][1];r.scale(150*yt).translate([Et,Ct])},M)}function _b(r,a,M){return xb(r,function(H){var at=+a,yt=at/(H[1][1]-H[0][1]),Et=-yt*H[0][0],Ct=(at-yt*(H[1][1]+H[0][1]))/2;r.scale(150*yt).translate([Et,Ct])},M)}var I2=16,qT=Gr(30*ii);function _0(r,a){return+a?ZT(r,a):KT(r)}function KT(r){return w0({point:function(a,M){a=r(a,M),this.stream.point(a[0],a[1])}})}function ZT(r,a){function M(H,at,yt,Et,Ct,It,zt,Xt,Qt,qt,ge,Me,Ce,Ne){var je=zt-H,tn=Xt-at,Ge=je*je+tn*tn;if(Ge>4*a&&Ce--){var en=Et+qt,kn=Ct+ge,Vn=It+Me,Bn=Wt(en*en+kn*kn+Vn*Vn),pr=sn(Vn/=Bn),tr=Yi(Yi(Vn)-1)a||Yi((je*zn+tn*Er)/Ge-.5)>.3||Et*qt+Ct*ge+It*Me2?Fn[2]%360*ii:0,zn()):[Ct*bo,It*bo,zt*bo]},Kn.angle=function(Fn){return arguments.length?(Qt=Fn%360*ii,zn()):Qt*bo},Kn.reflectX=function(Fn){return arguments.length?(qt=Fn?-1:1,zn()):qt<0},Kn.reflectY=function(Fn){return arguments.length?(ge=Fn?-1:1,zn()):ge<0},Kn.precision=function(Fn){return arguments.length?(Vn=_0(Bn,kn=Fn*Fn),Er()):Wt(kn)},Kn.fitExtent=function(Fn,vr){return Uv(Kn,Fn,vr)},Kn.fitSize=function(Fn,vr){return bb(Kn,Fn,vr)},Kn.fitWidth=function(Fn,vr){return wb(Kn,Fn,vr)},Kn.fitHeight=function(Fn,vr){return _b(Kn,Fn,vr)};function zn(){var Fn=j2(M,0,0,qt,ge,Qt).apply(null,a(yt,Et)),vr=(Qt?j2:B2)(M,H-Fn[0],at-Fn[1],qt,ge,Qt);return Xt=Sv(Ct,It,zt),Bn=_v(a,vr),pr=_v(Xt,Bn),Vn=_0(Bn,kn),Er()}function Er(){return tr=lr=null,Kn}return function(){return a=r.apply(this,arguments),Kn.invert=a.invert&&on,zn()}}function F2(r){var a=0,M=ai/3,H=Eb(r),at=H(a,M);return at.parallels=function(yt){return arguments.length?H(a=yt[0]*ii,M=yt[1]*ii):[a*bo,M*bo]},at}function aa(r){var a=Gr(r);function M(H,at){return[H*a,lt(at)/a]}return M.invert=function(H,at){return[H/a,sn(at*a)]},M}function Rd(r,a){var M=lt(r),H=(M+lt(a))/2;if(Yi(H)=.12&&Ne<.234&&Ce>=-.425&&Ce<-.214?at:Ne>=.166&&Ne<.234&&Ce>=-.214&&Ce<-.115?Et:M).invert(qt)},Xt.stream=function(qt){return r&&a===qt?r:r=bi([M.stream(a=qt),at.stream(qt),Et.stream(qt)])},Xt.precision=function(qt){return arguments.length?(M.precision(qt),at.precision(qt),Et.precision(qt),Qt()):M.precision()},Xt.scale=function(qt){return arguments.length?(M.scale(qt),at.scale(qt*.35),Et.scale(qt),Xt.translate(M.translate())):M.scale()},Xt.translate=function(qt){if(!arguments.length)return M.translate();var ge=M.scale(),Me=+qt[0],Ce=+qt[1];return H=M.translate(qt).clipExtent([[Me-.455*ge,Ce-.238*ge],[Me+.455*ge,Ce+.238*ge]]).stream(zt),yt=at.translate([Me-.307*ge,Ce+.201*ge]).clipExtent([[Me-.425*ge+oi,Ce+.12*ge+oi],[Me-.214*ge-oi,Ce+.234*ge-oi]]).stream(zt),Ct=Et.translate([Me-.205*ge,Ce+.212*ge]).clipExtent([[Me-.214*ge+oi,Ce+.166*ge+oi],[Me-.115*ge-oi,Ce+.234*ge-oi]]).stream(zt),Qt()},Xt.fitExtent=function(qt,ge){return Uv(Xt,qt,ge)},Xt.fitSize=function(qt,ge){return bb(Xt,qt,ge)},Xt.fitWidth=function(qt,ge){return wb(Xt,qt,ge)},Xt.fitHeight=function(qt,ge){return _b(Xt,qt,ge)};function Qt(){return r=a=null,Xt}return Xt.scale(1070)}function $a(r){return function(a,M){var H=Gr(a),at=Gr(M),yt=r(H*at);return[yt*at*lt(a),yt*lt(M)]}}function E0(r){return function(a,M){var H=Wt(a*a+M*M),at=r(H),yt=lt(at),Et=Gr(at);return[Sa(a*yt,H*Et),sn(H&&M*yt/H)]}}var Cb=$a(function(r){return Wt(2/(1+r))});Cb.invert=E0(function(r){return 2*sn(r/2)});function tk(){return hh(Cb).scale(124.75).clipAngle(179.999)}var Mb=$a(function(r){return(r=Re(r))&&r/lt(r)});Mb.invert=E0(function(r){return r});function ek(){return hh(Mb).scale(79.4188).clipAngle(179.999)}function _m(r,a){return[r,h(re((Zo+a)/2))]}_m.invert=function(r,a){return[r,2*Vs(ah(a))-Zo]};function nk(){return U2(_m).scale(961/Ua)}function U2(r){var a=hh(r),M=a.center,H=a.scale,at=a.translate,yt=a.clipExtent,Et=null,Ct,It,zt;a.scale=function(Qt){return arguments.length?(H(Qt),Xt()):H()},a.translate=function(Qt){return arguments.length?(at(Qt),Xt()):at()},a.center=function(Qt){return arguments.length?(M(Qt),Xt()):M()},a.clipExtent=function(Qt){return arguments.length?(Qt==null?Et=Ct=It=zt=null:(Et=+Qt[0][0],Ct=+Qt[0][1],It=+Qt[1][0],zt=+Qt[1][1]),Xt()):Et==null?null:[[Et,Ct],[It,zt]]};function Xt(){var Qt=ai*H(),qt=a(o2(a.rotate()).invert([0,0]));return yt(Et==null?[[qt[0]-Qt,qt[1]-Qt],[qt[0]+Qt,qt[1]+Qt]]:r===_m?[[Math.max(qt[0]-Qt,Et),Ct],[Math.min(qt[0]+Qt,It),zt]]:[[Et,Math.max(qt[1]-Qt,Ct)],[It,Math.min(qt[1]+Qt,zt)]])}return Xt()}function S0(r){return re((Zo+r)/2)}function Vv(r,a){var M=Gr(r),H=r===a?lt(r):h(M/Gr(a))/h(S0(a)/S0(r)),at=M*k(S0(r),H)/H;if(!H)return _m;function yt(Et,Ct){at>0?Ct<-Zo+oi&&(Ct=-Zo+oi):Ct>Zo-oi&&(Ct=Zo-oi);var It=at/k(S0(Ct),H);return[It*lt(H*Et),at-It*Gr(H*Et)]}return yt.invert=function(Et,Ct){var It=at-Ct,zt=kt(H)*Wt(Et*Et+It*It),Xt=Sa(Et,Yi(It))*kt(It);return It*H<0&&(Xt-=ai*kt(Et)*kt(It)),[Xt/H,2*Vs(k(at/zt,1/H))-Zo]},yt}function Wv(){return F2(Vv).scale(109.5).parallels([30,30])}function Em(r,a){return[r,a]}Em.invert=Em;function pl(){return hh(Em).scale(152.63)}function Xu(r,a){var M=Gr(r),H=r===a?lt(r):(M-Gr(a))/(a-r),at=M/H+r;if(Yi(H)oi&&--H>0);return[r/(.8707+(yt=M*M)*(-.131979+yt*(-.013791+yt*yt*yt*(.003971-.001529*yt)))),M]};function Gv(){return hh(kb).scale(175.295)}function Ab(r,a){return[Gr(a)*lt(r),lt(a)]}Ab.invert=E0(sn);function Pb(){return hh(Ab).scale(249.5).clipAngle(90+oi)}function k0(r,a){var M=Gr(a),H=1+Gr(r)*M;return[M*lt(r)/H,lt(a)/H]}k0.invert=E0(function(r){return 2*Vs(r)});function Ll(){return hh(k0).scale(250).clipAngle(142)}function H2(r,a){return[h(re((Zo+a)/2)),-r]}H2.invert=function(r,a){return[-a,2*Vs(ah(r))-Zo]};function Ob(){var r=U2(H2),a=r.center,M=r.rotate;return r.center=function(H){return arguments.length?a([-H[1],H[0]]):(H=a(),[H[1],-H[0]])},r.rotate=function(H){return arguments.length?M([H[0],H[1],H.length>2?H[2]+90:90]):(H=M(),[H[0],H[1],H[2]-90])},M([0,0,90]).scale(159.155)}function ak(r,a){return r.parent===a.parent?1:2}function V2(r){return r.reduce(sk,0)/r.length}function sk(r,a){return r+a.x}function lk(r){return 1+r.reduce(Nb,0)}function Nb(r,a){return Math.max(r,a.y)}function uk(r){for(var a;a=r.children;)r=a[0];return r}function W2(r){for(var a;a=r.children;)r=a[a.length-1];return r}function ck(){var r=ak,a=1,M=1,H=!1;function at(yt){var Et,Ct=0;yt.eachAfter(function(qt){var ge=qt.children;ge?(qt.x=V2(ge),qt.y=lk(ge)):(qt.x=Et?Ct+=r(qt,Et):0,qt.y=0,Et=qt)});var It=uk(yt),zt=W2(yt),Xt=It.x-r(It,zt)/2,Qt=zt.x+r(zt,It)/2;return yt.eachAfter(H?function(qt){qt.x=(qt.x-yt.x)*a,qt.y=(yt.y-qt.y)*M}:function(qt){qt.x=(qt.x-Xt)/(Qt-Xt)*a,qt.y=(1-(yt.y?qt.y/yt.y:1))*M})}return at.separation=function(yt){return arguments.length?(r=yt,at):r},at.size=function(yt){return arguments.length?(H=!1,a=+yt[0],M=+yt[1],at):H?null:[a,M]},at.nodeSize=function(yt){return arguments.length?(H=!0,a=+yt[0],M=+yt[1],at):H?[a,M]:null},at}function hk(r){var a=0,M=r.children,H=M&&M.length;if(!H)a=1;else for(;--H>=0;)a+=M[H].value;r.value=a}function fk(){return this.eachAfter(hk)}function cs(r){var a=this,M,H=[a],at,yt,Et;do for(M=H.reverse(),H=[];a=M.pop();)if(r(a),at=a.children,at)for(yt=0,Et=at.length;yt=0;--at)M.push(H[at]);return this}function dk(r){for(var a=this,M=[a],H=[],at,yt,Et;a=M.pop();)if(H.push(a),at=a.children,at)for(yt=0,Et=at.length;yt=0;)M+=H[at].value;a.value=M})}function Xv(r){return this.eachBefore(function(a){a.children&&a.children.sort(r)})}function pk(r){for(var a=this,M=mk(a,r),H=[a];a!==M;)a=a.parent,H.push(a);for(var at=H.length;r!==M;)H.splice(at,0,r),r=r.parent;return H}function mk(r,a){if(r===a)return r;var M=r.ancestors(),H=a.ancestors(),at=null;for(r=M.pop(),a=H.pop();r===a;)at=r,r=M.pop(),a=H.pop();return at}function gk(){for(var r=this,a=[r];r=r.parent;)a.push(r);return a}function yk(){var r=[];return this.each(function(a){r.push(a)}),r}function vk(){var r=[];return this.eachBefore(function(a){a.children||r.push(a)}),r}function X2(){var r=this,a=[];return r.each(function(M){M!==r&&a.push({source:M.parent,target:M})}),a}function Db(r,a){var M=new Sm(r),H=+r.value&&(M.value=r.value),at,yt=[M],Et,Ct,It,zt;for(a==null&&(a=bk);at=yt.pop();)if(H&&(at.value=+at.data.value),(Ct=a(at.data))&&(zt=Ct.length))for(at.children=new Array(zt),It=zt-1;It>=0;--It)yt.push(Et=at.children[It]=new Sm(Ct[It])),Et.parent=at,Et.depth=at.depth+1;return M.eachBefore(q2)}function xk(){return Db(this).eachBefore($2)}function bk(r){return r.children}function $2(r){r.data=r.data.data}function q2(r){var a=0;do r.height=a;while((r=r.parent)&&r.height<++a)}function Sm(r){this.data=r,this.depth=this.height=0,this.parent=null}Sm.prototype=Db.prototype={constructor:Sm,count:fk,each:cs,eachAfter:dk,eachBefore:Y2,sum:G2,sort:Xv,path:pk,ancestors:gk,descendants:yk,leaves:vk,links:X2,copy:xk};var Rb=Array.prototype.slice;function Lb(r){for(var a=r.length,M,H;a;)H=Math.random()*a--|0,M=r[a],r[a]=r[H],r[H]=M;return r}function Ib(r){for(var a=0,M=(r=Lb(Rb.call(r))).length,H=[],at,yt;a0&&M*M>H*H+at*at}function $v(r,a){for(var M=0;MIt?(at=(zt+It-yt)/(2*zt),Ct=Math.sqrt(Math.max(0,It/zt-at*at)),M.x=r.x-at*H-Ct*Et,M.y=r.y-at*Et+Ct*H):(at=(zt+yt-It)/(2*zt),Ct=Math.sqrt(Math.max(0,yt/zt-at*at)),M.x=a.x+at*H-Ct*Et,M.y=a.y+at*Et+Ct*H)):(M.x=a.x+M.r,M.y=a.y)}function Sk(r,a){var M=r.r+a.r-1e-6,H=a.x-r.x,at=a.y-r.y;return M>0&&M*M>H*H+at*at}function Z2(r){var a=r._,M=r.next._,H=a.r+M.r,at=(a.x*M.r+M.x*a.r)/H,yt=(a.y*M.r+M.y*a.r)/H;return at*at+yt*yt}function qv(r){this._=r,this.next=null,this.previous=null}function Q2(r){if(!(at=r.length))return 0;var a,M,H,at,yt,Et,Ct,It,zt,Xt,Qt;if(a=r[0],a.x=0,a.y=0,!(at>1))return a.r;if(M=r[1],a.x=-M.r,M.x=a.r,M.y=0,!(at>2))return a.r+M.r;K2(M,a,H=r[2]),a=new qv(a),M=new qv(M),H=new qv(H),a.next=H.previous=M,M.next=a.previous=H,H.next=M.previous=a;t:for(Ct=3;Ct0)throw new Error("cycle");return Ct}return M.id=function(H){return arguments.length?(r=P0(H),M):r},M.parentId=function(H){return arguments.length?(a=P0(H),M):a},M}function Mm(r,a){return r.parent===a.parent?1:2}function Ub(r){var a=r.children;return a?a[0]:r.t}function Jv(r){var a=r.children;return a?a[a.length-1]:r.t}function iE(r,a,M){var H=M/(a.i-r.i);a.c-=H,a.s+=M,r.c+=H,a.z+=M,a.m+=M}function oE(r){for(var a=0,M=0,H=r.children,at=H.length,yt;--at>=0;)yt=H[at],yt.z+=a,yt.m+=a,a+=yt.s+(M+=yt.c)}function Tm(r,a,M){return r.a.parent===a.parent?r.a:M}function t1(r,a){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=a}t1.prototype=Object.create(Sm.prototype);function Ak(r){for(var a=new t1(r,0),M,H=[a],at,yt,Et,Ct;M=H.pop();)if(yt=M._.children)for(M.children=new Array(Ct=yt.length),Et=Ct-1;Et>=0;--Et)H.push(at=M.children[Et]=new t1(yt[Et],Et)),at.parent=M;return(a.parent=new t1(null,0)).children=[a],a}function Pk(){var r=Mm,a=1,M=1,H=null;function at(zt){var Xt=Ak(zt);if(Xt.eachAfter(yt),Xt.parent.m=-Xt.z,Xt.eachBefore(Et),H)zt.eachBefore(It);else{var Qt=zt,qt=zt,ge=zt;zt.eachBefore(function(tn){tn.xqt.x&&(qt=tn),tn.depth>ge.depth&&(ge=tn)});var Me=Qt===qt?1:r(Qt,qt)/2,Ce=Me-Qt.x,Ne=a/(qt.x+Me+Ce),je=M/(ge.depth||1);zt.eachBefore(function(tn){tn.x=(tn.x+Ce)*Ne,tn.y=tn.depth*je})}return zt}function yt(zt){var Xt=zt.children,Qt=zt.parent.children,qt=zt.i?Qt[zt.i-1]:null;if(Xt){oE(zt);var ge=(Xt[0].z+Xt[Xt.length-1].z)/2;qt?(zt.z=qt.z+r(zt._,qt._),zt.m=zt.z-ge):zt.z=ge}else qt&&(zt.z=qt.z+r(zt._,qt._));zt.parent.A=Ct(zt,qt,zt.parent.A||Qt[0])}function Et(zt){zt._.x=zt.z+zt.parent.m,zt.m+=zt.parent.m}function Ct(zt,Xt,Qt){if(Xt){for(var qt=zt,ge=zt,Me=Xt,Ce=qt.parent.children[0],Ne=qt.m,je=ge.m,tn=Me.m,Ge=Ce.m,en;Me=Jv(Me),qt=Ub(qt),Me&&qt;)Ce=Ub(Ce),ge=Jv(ge),ge.a=zt,en=Me.z+tn-qt.z-Ne+r(Me._,qt._),en>0&&(iE(Tm(Me,zt,Qt),zt,en),Ne+=en,je+=en),tn+=Me.m,Ne+=qt.m,Ge+=Ce.m,je+=ge.m;Me&&!Jv(ge)&&(ge.t=Me,ge.m+=tn-je),qt&&!Ub(Ce)&&(Ce.t=qt,Ce.m+=Ne-Ge,Qt=zt)}return Qt}function It(zt){zt.x*=a,zt.y=zt.depth*M}return at.separation=function(zt){return arguments.length?(r=zt,at):r},at.size=function(zt){return arguments.length?(H=!1,a=+zt[0],M=+zt[1],at):H?null:[a,M]},at.nodeSize=function(zt){return arguments.length?(H=!0,a=+zt[0],M=+zt[1],at):H?[a,M]:null},at}function e1(r,a,M,H,at){for(var yt=r.children,Et,Ct=-1,It=yt.length,zt=r.value&&(at-M)/r.value;++Cttn&&(tn=zt),Vn=Ne*Ne*kn,Ge=Math.max(tn/Vn,Vn/je),Ge>en){Ne-=zt;break}en=Ge}Et.push(It={value:Ne,dice:ge1?H:1)},M}(aE);function n1(){var r=dh,a=!1,M=1,H=1,at=[0],yt=Ld,Et=Ld,Ct=Ld,It=Ld,zt=Ld;function Xt(qt){return qt.x0=qt.y0=0,qt.x1=M,qt.y1=H,qt.eachBefore(Qt),at=[0],a&&qt.eachBefore(Fb),qt}function Qt(qt){var ge=at[qt.depth],Me=qt.x0+ge,Ce=qt.y0+ge,Ne=qt.x1-ge,je=qt.y1-ge;Ne=qt-1){var tn=yt[Qt];tn.x0=Me,tn.y0=Ce,tn.x1=Ne,tn.y1=je;return}for(var Ge=zt[Qt],en=ge/2+Ge,kn=Qt+1,Vn=qt-1;kn>>1;zt[Bn]je-Ce){var lr=(Me*tr+Ne*pr)/ge;Xt(Qt,kn,pr,Me,Ce,lr,je),Xt(kn,qt,tr,lr,Ce,Ne,je)}else{var Kn=(Ce*tr+je*pr)/ge;Xt(Qt,kn,pr,Me,Ce,Ne,Kn),Xt(kn,qt,tr,Me,Kn,Ne,je)}}}function lE(r,a,M,H,at){(r.depth&1?e1:Zv)(r,a,M,H,at)}const r1=function r(a){function M(H,at,yt,Et,Ct){if((It=H._squarify)&&It.ratio===a)for(var It,zt,Xt,Qt,qt=-1,ge,Me=It.length,Ce=H.value;++qt1?H:1)},M}(aE);function Ok(r){var a=r.length;return function(M){return r[Math.max(0,Math.min(a-1,Math.floor(M*a)))]}}function Nk(r,a){var M=Bc(+r,+a);return function(H){var at=M(H);return at-360*Math.floor(at/360)}}function Vb(r,a){return r=+r,a=+a,function(M){return Math.round(r*(1-M)+a*M)}}var ou=Math.SQRT2,Wb=2,uE=4,Dk=1e-12;function cE(r){return((r=Math.exp(r))+1/r)/2}function Rk(r){return((r=Math.exp(r))-1/r)/2}function Yb(r){return((r=Math.exp(2*r))-1)/(r+1)}function hE(r,a){var M=r[0],H=r[1],at=r[2],yt=a[0],Et=a[1],Ct=a[2],It=yt-M,zt=Et-H,Xt=It*It+zt*zt,Qt,qt;if(Xt1&&Id(r[M[H-2]],r[M[H-1]],r[at])<=0;)--H;M[H++]=at}return M.slice(0,H)}function Bd(r){if((M=r.length)<3)return null;var a,M,H=new Array(M),at=new Array(M);for(a=0;a=0;--a)zt.push(r[H[yt[a]][2]]);for(a=+Ct;ayt!=Ct>yt&&at<(Et-It)*(yt-zt)/(Ct-zt)+It&&(Xt=!Xt),Et=It,Ct=zt;return Xt}function km(r){for(var a=-1,M=r.length,H=r[M-1],at,yt,Et=H[0],Ct=H[1],It=0;++a1);return H+at*Ct*Math.sqrt(-2*Math.log(Et)/Et)}}return M.source=r,M}(pf),Xb=function r(a){function M(){var H=jd.source(a).apply(this,arguments);return function(){return Math.exp(H())}}return M.source=r,M}(pf),xE=function r(a){function M(H){return function(){for(var at=0,yt=0;ytM&&(H=a,a=M,M=H),function(at){return Math.max(a,Math.min(M,at))}}function su(r,a,M){var H=r[0],at=r[1],yt=a[0],Et=a[1];return at2?gl:su,It=zt=null,Qt}function Qt(qt){return isNaN(qt=+qt)?yt:(It||(It=Ct(r.map(H),a,M)))(H(Et(qt)))}return Qt.invert=function(qt){return Et(at((zt||(zt=Ct(a,r.map(H),ps)))(qt)))},Qt.domain=function(qt){return arguments.length?(r=Am.call(qt,a1),Et===Ma||(Et=Bl(r)),Xt()):r.slice()},Qt.range=function(qt){return arguments.length?(a=Fd.call(qt),Xt()):a.slice()},Qt.rangeRound=function(qt){return a=Fd.call(qt),M=Vb,Xt()},Qt.clamp=function(qt){return arguments.length?(Et=qt?Bl(r):Ma,Qt):Et!==Ma},Qt.interpolate=function(qt){return arguments.length?(M=qt,Xt()):M},Qt.unknown=function(qt){return arguments.length?(yt=qt,Qt):yt},function(qt,ge){return H=qt,at=ge,Xt()}}function Ud(r,a){return mf()(r,a)}function Om(r,a,M,H){var at=(0,o.sG)(r,a,M),yt;switch(H=ih(H==null?",f":H),H.type){case"s":{var Et=Math.max(Math.abs(r),Math.abs(a));return H.precision==null&&!isNaN(yt=of(at,Et))&&(H.precision=yt),oh(H,Et)}case"":case"e":case"g":case"p":case"r":{H.precision==null&&!isNaN(yt=dv(at,Math.max(Math.abs(r),Math.abs(a))))&&(H.precision=yt-(H.type==="e"));break}case"f":case"%":{H.precision==null&&!isNaN(yt=fv(at))&&(H.precision=yt-(H.type==="%")*2);break}}return Sc(H)}function Hd(r){var a=r.domain;return r.ticks=function(M){var H=a();return(0,o.Zc)(H[0],H[H.length-1],M==null?10:M)},r.tickFormat=function(M,H){var at=a();return Om(at[0],at[at.length-1],M==null?10:M,H)},r.nice=function(M){M==null&&(M=10);var H=a(),at=0,yt=H.length-1,Et=H[at],Ct=H[yt],It;return Ct0?(Et=Math.floor(Et/It)*It,Ct=Math.ceil(Ct/It)*It,It=(0,o.lq)(Et,Ct,M)):It<0&&(Et=Math.ceil(Et*It)/It,Ct=Math.floor(Ct*It)/It,It=(0,o.lq)(Et,Ct,M)),It>0?(H[at]=Math.floor(Et/It)*It,H[yt]=Math.ceil(Ct/It)*It,a(H)):It<0&&(H[at]=Math.ceil(Et*It)/It,H[yt]=Math.floor(Ct*It)/It,a(H)),r},r}function Kb(){var r=Ud(Ma,Ma);return r.copy=function(){return zd(r,Kb())},qa.apply(r,arguments),Hd(r)}function Nm(r){var a;function M(H){return isNaN(H=+H)?a:H}return M.invert=M,M.domain=M.range=function(H){return arguments.length?(r=Am.call(H,a1),M):r.slice()},M.unknown=function(H){return arguments.length?(a=H,M):a},M.copy=function(){return Nm(r).unknown(a)},r=arguments.length?Am.call(r,a1):[0,1],Hd(M)}function wE(r,a){r=r.slice();var M=0,H=r.length-1,at=r[M],yt=r[H],Et;return yt0){for(;qtXt)break;tn.push(Ne)}}else for(;qt=1;--Ce)if(Ne=Me*Ce,!(NeXt)break;tn.push(Ne)}}else tn=(0,o.Zc)(qt,ge,Math.min(ge-qt,je)).map(yt);return Qt?tn.reverse():tn},a.tickFormat=function(Ct,It){if(It==null&&(It=H===10?".0e":","),typeof It!="function"&&(It=Sc(It)),Ct===1/0)return It;Ct==null&&(Ct=10);var zt=Math.max(1,H*Ct/a.ticks().length);return function(Xt){var Qt=Xt/yt(Math.round(at(Xt)));return Qt*H0?M[Ct-1]:r[0],Ct=M?[H[M-1],a]:[H[zt-1],H[zt]]},Et.unknown=function(It){return arguments.length&&(yt=It),Et},Et.thresholds=function(){return H.slice()},Et.copy=function(){return AE().domain([r,a]).range(at).unknown(yt)},qa.apply(Hd(Et),arguments)}function ew(){var r=[.5],a=[0,1],M,H=1;function at(yt){return yt<=yt?a[(0,o.h1)(r,yt,0,H)]:M}return at.domain=function(yt){return arguments.length?(r=Fd.call(yt),H=Math.min(r.length,a.length-1),at):r.slice()},at.range=function(yt){return arguments.length?(a=Fd.call(yt),H=Math.min(r.length,a.length-1),at):a.slice()},at.invertExtent=function(yt){var Et=a.indexOf(yt);return[r[Et-1],r[Et]]},at.unknown=function(yt){return arguments.length?(M=yt,at):M},at.copy=function(){return ew().domain(r).range(a).unknown(M)},qa.apply(at,arguments)}var lu=new Date,gf=new Date;function Ta(r,a,M,H){function at(yt){return r(yt=arguments.length===0?new Date:new Date(+yt)),yt}return at.floor=function(yt){return r(yt=new Date(+yt)),yt},at.ceil=function(yt){return r(yt=new Date(yt-1)),a(yt,1),r(yt),yt},at.round=function(yt){var Et=at(yt),Ct=at.ceil(yt);return yt-Et0))return It;do It.push(zt=new Date(+yt)),a(yt,Ct),r(yt);while(zt=Et)for(;r(Et),!yt(Et);)Et.setTime(Et-1)},function(Et,Ct){if(Et>=Et)if(Ct<0)for(;++Ct<=0;)for(;a(Et,-1),!yt(Et););else for(;--Ct>=0;)for(;a(Et,1),!yt(Et););})},M&&(at.count=function(yt,Et){return lu.setTime(+yt),gf.setTime(+Et),r(lu),r(gf),Math.floor(M(lu,gf))},at.every=function(yt){return yt=Math.floor(yt),!isFinite(yt)||!(yt>0)?null:yt>1?at.filter(H?function(Et){return H(Et)%yt===0}:function(Et){return at.count(0,Et)%yt===0}):at}),at}var u1=Ta(function(r){r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,a){r.setFullYear(r.getFullYear()+a)},function(r,a){return a.getFullYear()-r.getFullYear()},function(r){return r.getFullYear()});u1.every=function(r){return!isFinite(r=Math.floor(r))||!(r>0)?null:Ta(function(a){a.setFullYear(Math.floor(a.getFullYear()/r)*r),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,M){a.setFullYear(a.getFullYear()+M*r)})};const Vd=u1;var PE=u1.range,OE=Ta(function(r){r.setDate(1),r.setHours(0,0,0,0)},function(r,a){r.setMonth(r.getMonth()+a)},function(r,a){return a.getMonth()-r.getMonth()+(a.getFullYear()-r.getFullYear())*12},function(r){return r.getMonth()});const NE=OE;var DE=OE.range,c1=1e3,yf=6e4,h1=36e5,RE=864e5,LE=6048e5;function Wd(r){return Ta(function(a){a.setDate(a.getDate()-(a.getDay()+7-r)%7),a.setHours(0,0,0,0)},function(a,M){a.setDate(a.getDate()+M*7)},function(a,M){return(M-a-(M.getTimezoneOffset()-a.getTimezoneOffset())*yf)/LE})}var L0=Wd(0),Dm=Wd(1),IE=Wd(2),I0=Wd(3),Yd=Wd(4),nw=Wd(5),BE=Wd(6),jE=L0.range,FE=Dm.range,rw=IE.range,$k=I0.range,zE=Yd.range,qk=nw.range,Kk=BE.range,iw=Ta(function(r){r.setHours(0,0,0,0)},function(r,a){r.setDate(r.getDate()+a)},function(r,a){return(a-r-(a.getTimezoneOffset()-r.getTimezoneOffset())*yf)/RE},function(r){return r.getDate()-1});const B0=iw;var UE=iw.range,Rm=Ta(function(r){r.setTime(r-r.getMilliseconds()-r.getSeconds()*c1-r.getMinutes()*yf)},function(r,a){r.setTime(+r+a*h1)},function(r,a){return(a-r)/h1},function(r){return r.getHours()});const HE=Rm;var Zk=Rm.range,VE=Ta(function(r){r.setTime(r-r.getMilliseconds()-r.getSeconds()*c1)},function(r,a){r.setTime(+r+a*yf)},function(r,a){return(a-r)/yf},function(r){return r.getMinutes()});const ow=VE;var Qk=VE.range,Lm=Ta(function(r){r.setTime(r-r.getMilliseconds())},function(r,a){r.setTime(+r+a*c1)},function(r,a){return(a-r)/c1},function(r){return r.getUTCSeconds()});const f1=Lm;var WE=Lm.range,j0=Ta(function(){},function(r,a){r.setTime(+r+a)},function(r,a){return a-r});j0.every=function(r){return r=Math.floor(r),!isFinite(r)||!(r>0)?null:r>1?Ta(function(a){a.setTime(Math.floor(a/r)*r)},function(a,M){a.setTime(+a+M*r)},function(a,M){return(M-a)/r}):j0};const d1=j0;var YE=j0.range;function Gd(r){return Ta(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-r)%7),a.setUTCHours(0,0,0,0)},function(a,M){a.setUTCDate(a.getUTCDate()+M*7)},function(a,M){return(M-a)/LE})}var Im=Gd(0),Bm=Gd(1),aw=Gd(2),GE=Gd(3),vf=Gd(4),XE=Gd(5),$E=Gd(6),qE=Im.range,Jk=Bm.range,Y5=aw.range,t3=GE.range,G5=vf.range,KE=XE.range,ZE=$E.range,QE=Ta(function(r){r.setUTCHours(0,0,0,0)},function(r,a){r.setUTCDate(r.getUTCDate()+a)},function(r,a){return(a-r)/RE},function(r){return r.getUTCDate()-1});const p1=QE;var JE=QE.range,m1=Ta(function(r){r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,a){r.setUTCFullYear(r.getUTCFullYear()+a)},function(r,a){return a.getUTCFullYear()-r.getUTCFullYear()},function(r){return r.getUTCFullYear()});m1.every=function(r){return!isFinite(r=Math.floor(r))||!(r>0)?null:Ta(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/r)*r),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,M){a.setUTCFullYear(a.getUTCFullYear()+M*r)})};const Xd=m1;var e3=m1.range;function sw(r){if(0<=r.y&&r.y<100){var a=new Date(-1,r.m,r.d,r.H,r.M,r.S,r.L);return a.setFullYear(r.y),a}return new Date(r.y,r.m,r.d,r.H,r.M,r.S,r.L)}function lw(r){if(0<=r.y&&r.y<100){var a=new Date(Date.UTC(-1,r.m,r.d,r.H,r.M,r.S,r.L));return a.setUTCFullYear(r.y),a}return new Date(Date.UTC(r.y,r.m,r.d,r.H,r.M,r.S,r.L))}function F0(r,a,M){return{y:r,m:a,d:M,H:0,M:0,S:0,L:0}}function tS(r){var a=r.dateTime,M=r.date,H=r.time,at=r.periods,yt=r.days,Et=r.shortDays,Ct=r.months,It=r.shortMonths,zt=$d(at),Xt=qd(at),Qt=$d(yt),qt=qd(yt),ge=$d(Et),Me=qd(Et),Ce=$d(Ct),Ne=qd(Ct),je=$d(It),tn=qd(It),Ge={a:$r,A:Yr,b:ri,B:Ei,c:null,d:lS,e:lS,f:y3,g:w3,G:E3,H:p3,I:m3,j:g3,L:uS,m:cS,M:hS,p:Ti,q:Po,Q:dw,s:ES,S:v3,u:fS,U:X5,V:x3,w:b3,W:pS,x:null,X:null,y:mS,Y:_3,Z:S3,"%":_S},en={a:Do,A:so,b:ka,B:Gs,c:null,d:z0,e:z0,f:k3,g:bS,G:fw,H:C3,I:M3,j:T3,L:hw,m:gS,M:A3,p:cu,q:tc,Q:dw,s:ES,S:P3,u:O3,U:N3,V:D3,w:R3,W:vS,x:null,X:null,y:xS,Y:wS,Z:g1,"%":_S},kn={a:lr,A:Kn,b:on,B:zn,c:Er,d:jm,e:jm,f:f3,g:uu,G:rS,H:iS,I:iS,j:u3,L:h3,m:xf,M:c3,p:tr,q:l3,Q:d3,s:sS,S:oS,u:r3,U:i3,V:o3,w:cw,W:a3,x:Fn,X:vr,y:uu,Y:rS,Z:s3,"%":aS};Ge.x=Vn(M,Ge),Ge.X=Vn(H,Ge),Ge.c=Vn(a,Ge),en.x=Vn(M,en),en.X=Vn(H,en),en.c=Vn(a,en);function Vn(Xr,Ui){return function(Zi){var Nr=[],Qa=-1,go=0,Ts=Xr.length,ks,Dc,fs;for(Zi instanceof Date||(Zi=new Date(+Zi));++Qa53)return null;"w"in Nr||(Nr.w=1),"Z"in Nr?(go=lw(F0(Nr.y,0,1)),Ts=go.getUTCDay(),go=Ts>4||Ts===0?Bm.ceil(go):Bm(go),go=p1.offset(go,(Nr.V-1)*7),Nr.y=go.getUTCFullYear(),Nr.m=go.getUTCMonth(),Nr.d=go.getUTCDate()+(Nr.w+6)%7):(go=sw(F0(Nr.y,0,1)),Ts=go.getDay(),go=Ts>4||Ts===0?Dm.ceil(go):Dm(go),go=B0.offset(go,(Nr.V-1)*7),Nr.y=go.getFullYear(),Nr.m=go.getMonth(),Nr.d=go.getDate()+(Nr.w+6)%7)}else("W"in Nr||"U"in Nr)&&("w"in Nr||(Nr.w="u"in Nr?Nr.u%7:"W"in Nr?1:0),Ts="Z"in Nr?lw(F0(Nr.y,0,1)).getUTCDay():sw(F0(Nr.y,0,1)).getDay(),Nr.m=0,Nr.d="W"in Nr?(Nr.w+6)%7+Nr.W*7-(Ts+5)%7:Nr.w+Nr.U*7-(Ts+6)%7);return"Z"in Nr?(Nr.H+=Nr.Z/100|0,Nr.M+=Nr.Z%100,lw(Nr)):sw(Nr)}}function pr(Xr,Ui,Zi,Nr){for(var Qa=0,go=Ui.length,Ts=Zi.length,ks,Dc;Qa=Ts)return-1;if(ks=Ui.charCodeAt(Qa++),ks===37){if(ks=Ui.charAt(Qa++),Dc=kn[ks in eS?Ui.charAt(Qa++):ks],!Dc||(Nr=Dc(Xr,Zi,Nr))<0)return-1}else if(ks!=Zi.charCodeAt(Nr++))return-1}return Nr}function tr(Xr,Ui,Zi){var Nr=zt.exec(Ui.slice(Zi));return Nr?(Xr.p=Xt[Nr[0].toLowerCase()],Zi+Nr[0].length):-1}function lr(Xr,Ui,Zi){var Nr=ge.exec(Ui.slice(Zi));return Nr?(Xr.w=Me[Nr[0].toLowerCase()],Zi+Nr[0].length):-1}function Kn(Xr,Ui,Zi){var Nr=Qt.exec(Ui.slice(Zi));return Nr?(Xr.w=qt[Nr[0].toLowerCase()],Zi+Nr[0].length):-1}function on(Xr,Ui,Zi){var Nr=je.exec(Ui.slice(Zi));return Nr?(Xr.m=tn[Nr[0].toLowerCase()],Zi+Nr[0].length):-1}function zn(Xr,Ui,Zi){var Nr=Ce.exec(Ui.slice(Zi));return Nr?(Xr.m=Ne[Nr[0].toLowerCase()],Zi+Nr[0].length):-1}function Er(Xr,Ui,Zi){return pr(Xr,a,Ui,Zi)}function Fn(Xr,Ui,Zi){return pr(Xr,M,Ui,Zi)}function vr(Xr,Ui,Zi){return pr(Xr,H,Ui,Zi)}function $r(Xr){return Et[Xr.getDay()]}function Yr(Xr){return yt[Xr.getDay()]}function ri(Xr){return It[Xr.getMonth()]}function Ei(Xr){return Ct[Xr.getMonth()]}function Ti(Xr){return at[+(Xr.getHours()>=12)]}function Po(Xr){return 1+~~(Xr.getMonth()/3)}function Do(Xr){return Et[Xr.getUTCDay()]}function so(Xr){return yt[Xr.getUTCDay()]}function ka(Xr){return It[Xr.getUTCMonth()]}function Gs(Xr){return Ct[Xr.getUTCMonth()]}function cu(Xr){return at[+(Xr.getUTCHours()>=12)]}function tc(Xr){return 1+~~(Xr.getUTCMonth()/3)}return{format:function(Xr){var Ui=Vn(Xr+="",Ge);return Ui.toString=function(){return Xr},Ui},parse:function(Xr){var Ui=Bn(Xr+="",!1);return Ui.toString=function(){return Xr},Ui},utcFormat:function(Xr){var Ui=Vn(Xr+="",en);return Ui.toString=function(){return Xr},Ui},utcParse:function(Xr){var Ui=Bn(Xr+="",!0);return Ui.toString=function(){return Xr},Ui}}}var eS={"-":"",_:" ",0:"0"},Ka=/^\s*\d+/,nS=/^%/,n3=/[\\^$*+?|[\]().{}]/g;function oo(r,a,M){var H=r<0?"-":"",at=(H?-r:r)+"",yt=at.length;return H+(yt68?1900:2e3),M+H[0].length):-1}function s3(r,a,M){var H=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(M,M+6));return H?(r.Z=H[1]?0:-(H[2]+(H[3]||"00")),M+H[0].length):-1}function l3(r,a,M){var H=Ka.exec(a.slice(M,M+1));return H?(r.q=H[0]*3-3,M+H[0].length):-1}function xf(r,a,M){var H=Ka.exec(a.slice(M,M+2));return H?(r.m=H[0]-1,M+H[0].length):-1}function jm(r,a,M){var H=Ka.exec(a.slice(M,M+2));return H?(r.d=+H[0],M+H[0].length):-1}function u3(r,a,M){var H=Ka.exec(a.slice(M,M+3));return H?(r.m=0,r.d=+H[0],M+H[0].length):-1}function iS(r,a,M){var H=Ka.exec(a.slice(M,M+2));return H?(r.H=+H[0],M+H[0].length):-1}function c3(r,a,M){var H=Ka.exec(a.slice(M,M+2));return H?(r.M=+H[0],M+H[0].length):-1}function oS(r,a,M){var H=Ka.exec(a.slice(M,M+2));return H?(r.S=+H[0],M+H[0].length):-1}function h3(r,a,M){var H=Ka.exec(a.slice(M,M+3));return H?(r.L=+H[0],M+H[0].length):-1}function f3(r,a,M){var H=Ka.exec(a.slice(M,M+6));return H?(r.L=Math.floor(H[0]/1e3),M+H[0].length):-1}function aS(r,a,M){var H=nS.exec(a.slice(M,M+1));return H?M+H[0].length:-1}function d3(r,a,M){var H=Ka.exec(a.slice(M));return H?(r.Q=+H[0],M+H[0].length):-1}function sS(r,a,M){var H=Ka.exec(a.slice(M));return H?(r.s=+H[0],M+H[0].length):-1}function lS(r,a){return oo(r.getDate(),a,2)}function p3(r,a){return oo(r.getHours(),a,2)}function m3(r,a){return oo(r.getHours()%12||12,a,2)}function g3(r,a){return oo(1+B0.count(Vd(r),r),a,3)}function uS(r,a){return oo(r.getMilliseconds(),a,3)}function y3(r,a){return uS(r,a)+"000"}function cS(r,a){return oo(r.getMonth()+1,a,2)}function hS(r,a){return oo(r.getMinutes(),a,2)}function v3(r,a){return oo(r.getSeconds(),a,2)}function fS(r){var a=r.getDay();return a===0?7:a}function X5(r,a){return oo(L0.count(Vd(r)-1,r),a,2)}function dS(r){var a=r.getDay();return a>=4||a===0?Yd(r):Yd.ceil(r)}function x3(r,a){return r=dS(r),oo(Yd.count(Vd(r),r)+(Vd(r).getDay()===4),a,2)}function b3(r){return r.getDay()}function pS(r,a){return oo(Dm.count(Vd(r)-1,r),a,2)}function mS(r,a){return oo(r.getFullYear()%100,a,2)}function w3(r,a){return r=dS(r),oo(r.getFullYear()%100,a,2)}function _3(r,a){return oo(r.getFullYear()%1e4,a,4)}function E3(r,a){var M=r.getDay();return r=M>=4||M===0?Yd(r):Yd.ceil(r),oo(r.getFullYear()%1e4,a,4)}function S3(r){var a=r.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+oo(a/60|0,"0",2)+oo(a%60,"0",2)}function z0(r,a){return oo(r.getUTCDate(),a,2)}function C3(r,a){return oo(r.getUTCHours(),a,2)}function M3(r,a){return oo(r.getUTCHours()%12||12,a,2)}function T3(r,a){return oo(1+p1.count(Xd(r),r),a,3)}function hw(r,a){return oo(r.getUTCMilliseconds(),a,3)}function k3(r,a){return hw(r,a)+"000"}function gS(r,a){return oo(r.getUTCMonth()+1,a,2)}function A3(r,a){return oo(r.getUTCMinutes(),a,2)}function P3(r,a){return oo(r.getUTCSeconds(),a,2)}function O3(r){var a=r.getUTCDay();return a===0?7:a}function N3(r,a){return oo(Im.count(Xd(r)-1,r),a,2)}function yS(r){var a=r.getUTCDay();return a>=4||a===0?vf(r):vf.ceil(r)}function D3(r,a){return r=yS(r),oo(vf.count(Xd(r),r)+(Xd(r).getUTCDay()===4),a,2)}function R3(r){return r.getUTCDay()}function vS(r,a){return oo(Bm.count(Xd(r)-1,r),a,2)}function xS(r,a){return oo(r.getUTCFullYear()%100,a,2)}function bS(r,a){return r=yS(r),oo(r.getUTCFullYear()%100,a,2)}function wS(r,a){return oo(r.getUTCFullYear()%1e4,a,4)}function fw(r,a){var M=r.getUTCDay();return r=M>=4||M===0?vf(r):vf.ceil(r),oo(r.getUTCFullYear()%1e4,a,4)}function g1(){return"+0000"}function _S(){return"%"}function dw(r){return+r}function ES(r){return Math.floor(+r/1e3)}var Fm,pw,mw,U0,gw;yw({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function yw(r){return Fm=tS(r),pw=Fm.format,mw=Fm.parse,U0=Fm.utcFormat,gw=Fm.utcParse,Fm}var y1=1e3,H0=y1*60,zm=H0*60,Kd=zm*24,L3=Kd*7,vw=Kd*30,v1=Kd*365;function I3(r){return new Date(r)}function B3(r){return r instanceof Date?+r:+new Date(+r)}function xw(r,a,M,H,at,yt,Et,Ct,It){var zt=Ud(Ma,Ma),Xt=zt.invert,Qt=zt.domain,qt=It(".%L"),ge=It(":%S"),Me=It("%I:%M"),Ce=It("%I %p"),Ne=It("%a %d"),je=It("%b %d"),tn=It("%B"),Ge=It("%Y"),en=[[Et,1,y1],[Et,5,5*y1],[Et,15,15*y1],[Et,30,30*y1],[yt,1,H0],[yt,5,5*H0],[yt,15,15*H0],[yt,30,30*H0],[at,1,zm],[at,3,3*zm],[at,6,6*zm],[at,12,12*zm],[H,1,Kd],[H,2,2*Kd],[M,1,L3],[a,1,vw],[a,3,3*vw],[r,1,v1]];function kn(Bn){return(Et(Bn)1)&&(r-=Math.floor(r));var a=Math.abs(r-.5);return Hm.h=360*r-100,Hm.s=1.5-1.5*a,Hm.l=.8-.9*a,Hm+""}var k1=uo(),iC=Math.PI/3,lA=Math.PI*2/3;function G0(r){var a;return r=(.5-r)*Math.PI,k1.r=255*(a=Math.sin(r))*a,k1.g=255*(a=Math.sin(r+iC))*a,k1.b=255*(a=Math.sin(r+lA))*a,k1+""}function uA(r){return r=Math.max(0,Math.min(1,r)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+r*(1172.33-r*(10793.56-r*(33300.12-r*(38394.49-r*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+r*(557.33+r*(1225.33-r*(3574.96-r*(1073.77+r*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+r*(3211.1-r*(15327.97-r*(27814-r*(22569.18-r*6838.66)))))))+")"}function A1(r){var a=r.length;return function(M){return r[Math.max(0,Math.min(a-1,Math.floor(M*a)))]}}const cA=A1(Ri("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var oC=A1(Ri("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),hA=A1(Ri("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),fA=A1(Ri("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function aC(r){return Ze(dr(r).call(document.documentElement))}var dA=0;function sC(){return new Vm}function Vm(){this._="@"+(++dA).toString(36)}Vm.prototype=sC.prototype={constructor:Vm,get:function(r){for(var a=this._;!(a in r);)if(!(r=r.parentNode))return;return r[a]},set:function(r,a){return r[this._]=a},remove:function(r){return this._ in r&&delete r[this._]},toString:function(){return this._}};function q5(r){return typeof r=="string"?new _e([document.querySelectorAll(r)],[document.documentElement]):new _e([r==null?[]:r],ce)}function Qu(r,a){a==null&&(a=Xn().touches);for(var M=0,H=a?a.length:0,at=new Array(H);M1?0:r<-1?Qd:Math.acos(r)}function uC(r){return r>=1?X0:r<=-1?-X0:Math.asin(r)}function cC(r){return r.innerRadius}function pA(r){return r.outerRadius}function jw(r){return r.startAngle}function hC(r){return r.endAngle}function K5(r){return r&&r.padAngle}function _f(r,a,M,H,at,yt,Et,Ct){var It=M-r,zt=H-a,Xt=Et-at,Qt=Ct-yt,qt=Qt*It-Xt*zt;if(!(qt*qtEr*Er+Fn*Fn&&(pr=lr,tr=Kn),{cx:pr,cy:tr,x01:-Xt,y01:-Qt,x11:pr*(at/kn-1),y11:tr*(at/kn-1)}}function Nc(){var r=cC,a=pA,M=Ki(0),H=null,at=jw,yt=hC,Et=K5,Ct=null;function It(){var zt,Xt,Qt=+r.apply(this,arguments),qt=+a.apply(this,arguments),ge=at.apply(this,arguments)-X0,Me=yt.apply(this,arguments)-X0,Ce=Lw(Me-ge),Ne=Me>ge;if(Ct||(Ct=zt=xi()),qtEs))Ct.moveTo(0,0);else if(Ce>yl-Es)Ct.moveTo(qt*mh(ge),qt*Ju(ge)),Ct.arc(0,0,qt,ge,Me,!Ne),Qt>Es&&(Ct.moveTo(Qt*mh(Me),Qt*Ju(Me)),Ct.arc(0,0,Qt,Me,ge,Ne));else{var je=ge,tn=Me,Ge=ge,en=Me,kn=Ce,Vn=Ce,Bn=Et.apply(this,arguments)/2,pr=Bn>Es&&(H?+H.apply(this,arguments):Wm(Qt*Qt+qt*qt)),tr=Bw(Lw(qt-Qt)/2,+M.apply(this,arguments)),lr=tr,Kn=tr,on,zn;if(pr>Es){var Er=uC(pr/Qt*Ju(Bn)),Fn=uC(pr/qt*Ju(Bn));(kn-=Er*2)>Es?(Er*=Ne?1:-1,Ge+=Er,en-=Er):(kn=0,Ge=en=(ge+Me)/2),(Vn-=Fn*2)>Es?(Fn*=Ne?1:-1,je+=Fn,tn-=Fn):(Vn=0,je=tn=(ge+Me)/2)}var vr=qt*mh(je),$r=qt*Ju(je),Yr=Qt*mh(en),ri=Qt*Ju(en);if(tr>Es){var Ei=qt*mh(tn),Ti=qt*Ju(tn),Po=Qt*mh(Ge),Do=Qt*Ju(Ge),so;if(CeEs?Kn>Es?(on=P1(Po,Do,vr,$r,qt,Kn,Ne),zn=P1(Ei,Ti,Yr,ri,qt,Kn,Ne),Ct.moveTo(on.cx+on.x01,on.cy+on.y01),KnEs)||!(kn>Es)?Ct.lineTo(Yr,ri):lr>Es?(on=P1(Yr,ri,Ei,Ti,Qt,-lr,Ne),zn=P1(vr,$r,Po,Do,Qt,-lr,Ne),Ct.lineTo(on.cx+on.x01,on.cy+on.y01),lr=qt;--ge)Ct.point(tn[ge],Ge[ge]);Ct.lineEnd(),Ct.areaEnd()}Ne&&(tn[Qt]=+r(Ce,Qt,Xt),Ge[Qt]=+M(Ce,Qt,Xt),Ct.point(a?+a(Ce,Qt,Xt):tn[Qt],H?+H(Ce,Qt,Xt):Ge[Qt]))}if(je)return Ct=null,je+""||null}function zt(){return Fw().defined(at).curve(Et).context(yt)}return It.x=function(Xt){return arguments.length?(r=typeof Xt=="function"?Xt:Ki(+Xt),a=null,It):r},It.x0=function(Xt){return arguments.length?(r=typeof Xt=="function"?Xt:Ki(+Xt),It):r},It.x1=function(Xt){return arguments.length?(a=Xt==null?null:typeof Xt=="function"?Xt:Ki(+Xt),It):a},It.y=function(Xt){return arguments.length?(M=typeof Xt=="function"?Xt:Ki(+Xt),H=null,It):M},It.y0=function(Xt){return arguments.length?(M=typeof Xt=="function"?Xt:Ki(+Xt),It):M},It.y1=function(Xt){return arguments.length?(H=Xt==null?null:typeof Xt=="function"?Xt:Ki(+Xt),It):H},It.lineX0=It.lineY0=function(){return zt().x(r).y(M)},It.lineY1=function(){return zt().x(r).y(H)},It.lineX1=function(){return zt().x(a).y(M)},It.defined=function(Xt){return arguments.length?(at=typeof Xt=="function"?Xt:Ki(!!Xt),It):at},It.curve=function(Xt){return arguments.length?(Et=Xt,yt!=null&&(Ct=Et(yt)),It):Et},It.context=function(Xt){return arguments.length?(Xt==null?yt=Ct=null:Ct=Et(yt=Xt),It):yt},It}function Z5(r,a){return ar?1:a>=r?0:NaN}function Q5(r){return r}function J5(){var r=Q5,a=Z5,M=null,H=Ki(0),at=Ki(yl),yt=Ki(0);function Et(Ct){var It,zt=Ct.length,Xt,Qt,qt=0,ge=new Array(zt),Me=new Array(zt),Ce=+H.apply(this,arguments),Ne=Math.min(yl,Math.max(-yl,at.apply(this,arguments)-Ce)),je,tn=Math.min(Math.abs(Ne)/zt,yt.apply(this,arguments)),Ge=tn*(Ne<0?-1:1),en;for(It=0;It0&&(qt+=en);for(a!=null?ge.sort(function(kn,Vn){return a(Me[kn],Me[Vn])}):M!=null&&ge.sort(function(kn,Vn){return M(Ct[kn],Ct[Vn])}),It=0,Qt=qt?(Ne-zt*Ge)/qt:0;It0?en*Qt:0)+Ge,Me[Xt]={data:Ct[Xt],index:It,value:en,startAngle:Ce,endAngle:je,padAngle:tn};return Me}return Et.value=function(Ct){return arguments.length?(r=typeof Ct=="function"?Ct:Ki(+Ct),Et):r},Et.sortValues=function(Ct){return arguments.length?(a=Ct,M=null,Et):a},Et.sort=function(Ct){return arguments.length?(M=Ct,a=null,Et):M},Et.startAngle=function(Ct){return arguments.length?(H=typeof Ct=="function"?Ct:Ki(+Ct),Et):H},Et.endAngle=function(Ct){return arguments.length?(at=typeof Ct=="function"?Ct:Ki(+Ct),Et):at},Et.padAngle=function(Ct){return arguments.length?(yt=typeof Ct=="function"?Ct:Ki(+Ct),Et):yt},Et}var $0=q0(ao);function zw(r){this._curve=r}zw.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(r,a){this._curve.point(a*Math.sin(r),a*-Math.cos(r))}};function q0(r){function a(M){return new zw(r(M))}return a._curve=r,a}function Gm(r){var a=r.curve;return r.angle=r.x,delete r.x,r.radius=r.y,delete r.y,r.curve=function(M){return arguments.length?a(q0(M)):a()._curve},r}function dC(){return Gm(Fw().curve($0))}function pC(){var r=mA().curve($0),a=r.curve,M=r.lineX0,H=r.lineX1,at=r.lineY0,yt=r.lineY1;return r.angle=r.x,delete r.x,r.startAngle=r.x0,delete r.x0,r.endAngle=r.x1,delete r.x1,r.radius=r.y,delete r.y,r.innerRadius=r.y0,delete r.y0,r.outerRadius=r.y1,delete r.y1,r.lineStartAngle=function(){return Gm(M())},delete r.lineX0,r.lineEndAngle=function(){return Gm(H())},delete r.lineX1,r.lineInnerRadius=function(){return Gm(at())},delete r.lineY0,r.lineOuterRadius=function(){return Gm(yt())},delete r.lineY1,r.curve=function(Et){return arguments.length?a(q0(Et)):a()._curve},r}function jl(r,a){return[(a=+a)*Math.cos(r-=Math.PI/2),a*Math.sin(r)]}var K0=Array.prototype.slice;function tO(r){return r.source}function ho(r){return r.target}function N1(r){var a=tO,M=ho,H=Ym,at=O1,yt=null;function Et(){var Ct,It=K0.call(arguments),zt=a.apply(this,It),Xt=M.apply(this,It);if(yt||(yt=Ct=xi()),r(yt,+H.apply(this,(It[0]=zt,It)),+at.apply(this,It),+H.apply(this,(It[0]=Xt,It)),+at.apply(this,It)),Ct)return yt=null,Ct+""||null}return Et.source=function(Ct){return arguments.length?(a=Ct,Et):a},Et.target=function(Ct){return arguments.length?(M=Ct,Et):M},Et.x=function(Ct){return arguments.length?(H=typeof Ct=="function"?Ct:Ki(+Ct),Et):H},Et.y=function(Ct){return arguments.length?(at=typeof Ct=="function"?Ct:Ki(+Ct),Et):at},Et.context=function(Ct){return arguments.length?(yt=Ct==null?null:Ct,Et):yt},Et}function mC(r,a,M,H,at){r.moveTo(a,M),r.bezierCurveTo(a=(a+H)/2,M,a,at,H,at)}function Uw(r,a,M,H,at){r.moveTo(a,M),r.bezierCurveTo(a,M=(M+at)/2,H,M,H,at)}function Hw(r,a,M,H,at){var yt=jl(a,M),Et=jl(a,M=(M+at)/2),Ct=jl(H,M),It=jl(H,at);r.moveTo(yt[0],yt[1]),r.bezierCurveTo(Et[0],Et[1],Ct[0],Ct[1],It[0],It[1])}function gC(){return N1(mC)}function eO(){return N1(Uw)}function D1(){var r=N1(Hw);return r.angle=r.x,delete r.x,r.radius=r.y,delete r.y,r}const Z0={draw:function(r,a){var M=Math.sqrt(a/Qd);r.moveTo(M,0),r.arc(0,0,M,0,yl)}},Q0={draw:function(r,a){var M=Math.sqrt(a/5)/2;r.moveTo(-3*M,-M),r.lineTo(-M,-M),r.lineTo(-M,-3*M),r.lineTo(M,-3*M),r.lineTo(M,-M),r.lineTo(3*M,-M),r.lineTo(3*M,M),r.lineTo(M,M),r.lineTo(M,3*M),r.lineTo(-M,3*M),r.lineTo(-M,M),r.lineTo(-3*M,M),r.closePath()}};var Vw=Math.sqrt(1/3),gA=Vw*2;const Ef={draw:function(r,a){var M=Math.sqrt(a/gA),H=M*Vw;r.moveTo(0,-M),r.lineTo(H,0),r.lineTo(0,M),r.lineTo(-H,0),r.closePath()}};var yA=.8908130915292852,Xm=Math.sin(Qd/10)/Math.sin(7*Qd/10),R1=Math.sin(yl/10)*Xm,yC=-Math.cos(yl/10)*Xm;const vA={draw:function(r,a){var M=Math.sqrt(a*yA),H=R1*M,at=yC*M;r.moveTo(0,-M),r.lineTo(H,at);for(var yt=1;yt<5;++yt){var Et=yl*yt/5,Ct=Math.cos(Et),It=Math.sin(Et);r.lineTo(It*M,-Ct*M),r.lineTo(Ct*H-It*at,It*H+Ct*at)}r.closePath()}},vC={draw:function(r,a){var M=Math.sqrt(a),H=-M/2;r.rect(H,H,M,M)}};var $m=Math.sqrt(3);const xA={draw:function(r,a){var M=-Math.sqrt(a/($m*3));r.moveTo(0,M*2),r.lineTo(-$m*M,-M),r.lineTo($m*M,-M),r.closePath()}};var Ss=-.5,vl=Math.sqrt(3)/2,Ww=1/Math.sqrt(12),bA=(Ww/2+1)*3;const xC={draw:function(r,a){var M=Math.sqrt(a/bA),H=M/2,at=M*Ww,yt=H,Et=M*Ww+M,Ct=-yt,It=Et;r.moveTo(H,at),r.lineTo(yt,Et),r.lineTo(Ct,It),r.lineTo(Ss*H-vl*at,vl*H+Ss*at),r.lineTo(Ss*yt-vl*Et,vl*yt+Ss*Et),r.lineTo(Ss*Ct-vl*It,vl*Ct+Ss*It),r.lineTo(Ss*H+vl*at,Ss*at-vl*H),r.lineTo(Ss*yt+vl*Et,Ss*Et-vl*yt),r.lineTo(Ss*Ct+vl*It,Ss*It-vl*Ct),r.closePath()}};var Cs=[Z0,Q0,Ef,vC,vA,xA,xC];function wA(){var r=Ki(Z0),a=Ki(64),M=null;function H(){var at;if(M||(M=at=xi()),r.apply(this,arguments).draw(M,+a.apply(this,arguments)),at)return M=null,at+""||null}return H.type=function(at){return arguments.length?(r=typeof at=="function"?at:Ki(at),H):r},H.size=function(at){return arguments.length?(a=typeof at=="function"?at:Ki(+at),H):a},H.context=function(at){return arguments.length?(M=at==null?null:at,H):M},H}function Sf(){}function L1(r,a,M){r._context.bezierCurveTo((2*r._x0+r._x1)/3,(2*r._y0+r._y1)/3,(r._x0+2*r._x1)/3,(r._y0+2*r._y1)/3,(r._x0+4*r._x1+a)/6,(r._y0+4*r._y1+M)/6)}function I1(r){this._context=r}I1.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:L1(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);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:L1(this,r,a);break}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a}};function nO(r){return new I1(r)}function Cf(r){this._context=r}Cf.prototype={areaStart:Sf,areaEnd:Sf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._x2=r,this._y2=a;break;case 1:this._point=2,this._x3=r,this._y3=a;break;case 2:this._point=3,this._x4=r,this._y4=a,this._context.moveTo((this._x0+4*this._x1+r)/6,(this._y0+4*this._y1+a)/6);break;default:L1(this,r,a);break}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a}};function _A(r){return new Cf(r)}function qm(r){this._context=r}qm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var M=(this._x0+4*this._x1+r)/6,H=(this._y0+4*this._y1+a)/6;this._line?this._context.lineTo(M,H):this._context.moveTo(M,H);break;case 3:this._point=4;default:L1(this,r,a);break}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a}};function EA(r){return new qm(r)}function bC(r,a){this._basis=new I1(r),this._beta=a}bC.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var r=this._x,a=this._y,M=r.length-1;if(M>0)for(var H=r[0],at=a[0],yt=r[M]-H,Et=a[M]-at,Ct=-1,It;++Ct<=M;)It=Ct/M,this._basis.point(this._beta*r[Ct]+(1-this._beta)*(H+It*yt),this._beta*a[Ct]+(1-this._beta)*(at+It*Et));this._x=this._y=null,this._basis.lineEnd()},point:function(r,a){this._x.push(+r),this._y.push(+a)}};const SA=function r(a){function M(H){return a===1?new I1(H):new bC(H,a)}return M.beta=function(H){return r(+H)},M}(.85);function B1(r,a,M){r._context.bezierCurveTo(r._x1+r._k*(r._x2-r._x0),r._y1+r._k*(r._y2-r._y0),r._x2+r._k*(r._x1-a),r._y2+r._k*(r._y1-M),r._x2,r._y2)}function Yw(r,a){this._context=r,this._k=(1-a)/6}Yw.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:B1(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2,this._x1=r,this._y1=a;break;case 2:this._point=3;default:B1(this,r,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const CA=function r(a){function M(H){return new Yw(H,a)}return M.tension=function(H){return r(+H)},M}(0);function Gw(r,a){this._context=r,this._k=(1-a)/6}Gw.prototype={areaStart:Sf,areaEnd:Sf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._x3=r,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=a);break;case 2:this._point=3,this._x5=r,this._y5=a;break;default:B1(this,r,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const MA=function r(a){function M(H){return new Gw(H,a)}return M.tension=function(H){return r(+H)},M}(0);function j1(r,a){this._context=r,this._k=(1-a)/6}j1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,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:B1(this,r,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const TA=function r(a){function M(H){return new j1(H,a)}return M.tension=function(H){return r(+H)},M}(0);function Xw(r,a,M){var H=r._x1,at=r._y1,yt=r._x2,Et=r._y2;if(r._l01_a>Es){var Ct=2*r._l01_2a+3*r._l01_a*r._l12_a+r._l12_2a,It=3*r._l01_a*(r._l01_a+r._l12_a);H=(H*Ct-r._x0*r._l12_2a+r._x2*r._l01_2a)/It,at=(at*Ct-r._y0*r._l12_2a+r._y2*r._l01_2a)/It}if(r._l23_a>Es){var zt=2*r._l23_2a+3*r._l23_a*r._l12_a+r._l12_2a,Xt=3*r._l23_a*(r._l23_a+r._l12_a);yt=(yt*zt+r._x1*r._l23_2a-a*r._l12_2a)/Xt,Et=(Et*zt+r._y1*r._l23_2a-M*r._l12_2a)/Xt}r._context.bezierCurveTo(H,at,yt,Et,r._x2,r._y2)}function $w(r,a){this._context=r,this._alpha=a}$w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){if(r=+r,a=+a,this._point){var M=this._x2-r,H=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(M*M+H*H,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;break;case 2:this._point=3;default:Xw(this,r,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const kA=function r(a){function M(H){return a?new $w(H,a):new Yw(H,0)}return M.alpha=function(H){return r(+H)},M}(.5);function wC(r,a){this._context=r,this._alpha=a}wC.prototype={areaStart:Sf,areaEnd:Sf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(r,a){if(r=+r,a=+a,this._point){var M=this._x2-r,H=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(M*M+H*H,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=r,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=a);break;case 2:this._point=3,this._x5=r,this._y5=a;break;default:Xw(this,r,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const AA=function r(a){function M(H){return a?new wC(H,a):new Gw(H,0)}return M.alpha=function(H){return r(+H)},M}(.5);function _C(r,a){this._context=r,this._alpha=a}_C.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){if(r=+r,a=+a,this._point){var M=this._x2-r,H=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(M*M+H*H,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:Xw(this,r,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const EC=function r(a){function M(H){return a?new _C(H,a):new j1(H,0)}return M.alpha=function(H){return r(+H)},M}(.5);function qw(r){this._context=r}qw.prototype={areaStart:Sf,areaEnd:Sf,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(r,a){r=+r,a=+a,this._point?this._context.lineTo(r,a):(this._point=1,this._context.moveTo(r,a))}};function PA(r){return new qw(r)}function SC(r){return r<0?-1:1}function J0(r,a,M){var H=r._x1-r._x0,at=a-r._x1,yt=(r._y1-r._y0)/(H||at<0&&-0),Et=(M-r._y1)/(at||H<0&&-0),Ct=(yt*at+Et*H)/(H+at);return(SC(yt)+SC(Et))*Math.min(Math.abs(yt),Math.abs(Et),.5*Math.abs(Ct))||0}function CC(r,a){var M=r._x1-r._x0;return M?(3*(r._y1-r._y0)/M-a)/2:a}function Kw(r,a,M){var H=r._x0,at=r._y0,yt=r._x1,Et=r._y1,Ct=(yt-H)/3;r._context.bezierCurveTo(H+Ct,at+Ct*a,yt-Ct,Et-Ct*M,yt,Et)}function ty(r){this._context=r}ty.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:Kw(this,this._t0,CC(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){var M=NaN;if(r=+r,a=+a,!(r===this._x1&&a===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;break;case 2:this._point=3,Kw(this,CC(this,M=J0(this,r,a)),M);break;default:Kw(this,this._t0,M=J0(this,r,a));break}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a,this._t0=M}}};function Zw(r){this._context=new Qw(r)}(Zw.prototype=Object.create(ty.prototype)).point=function(r,a){ty.prototype.point.call(this,a,r)};function Qw(r){this._context=r}Qw.prototype={moveTo:function(r,a){this._context.moveTo(a,r)},closePath:function(){this._context.closePath()},lineTo:function(r,a){this._context.lineTo(a,r)},bezierCurveTo:function(r,a,M,H,at,yt){this._context.bezierCurveTo(a,r,H,M,yt,at)}};function OA(r){return new ty(r)}function NA(r){return new Zw(r)}function MC(r){this._context=r}MC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var r=this._x,a=this._y,M=r.length;if(M)if(this._line?this._context.lineTo(r[0],a[0]):this._context.moveTo(r[0],a[0]),M===2)this._context.lineTo(r[1],a[1]);else for(var H=DA(r),at=DA(a),yt=0,Et=1;Et=0;--a)at[a]=(Et[a]-at[a+1])/yt[a];for(yt[M-1]=(r[M]+at[M-1])/2,a=0;a=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,a),this._context.lineTo(r,a);else{var M=this._x*(1-this._t)+r*this._t;this._context.lineTo(M,this._y),this._context.lineTo(M,a)}break}}this._x=r,this._y=a}};function LA(r){return new Km(r,.5)}function IA(r){return new Km(r,0)}function BA(r){return new Km(r,1)}function Jd(r,a){if((Et=r.length)>1)for(var M=1,H,at,yt=r[a[0]],Et,Ct=yt.length;M=0;)M[a]=a;return M}function jA(r,a){return r[a]}function TC(){var r=Ki([]),a=Zm,M=Jd,H=jA;function at(yt){var Et=r.apply(this,arguments),Ct,It=yt.length,zt=Et.length,Xt=new Array(zt),Qt;for(Ct=0;Ct0){for(var M,H,at=0,yt=r[0].length,Et;at0)for(var M,H=0,at,yt,Et,Ct,It,zt=r[a[0]].length;H0?(at[0]=Et,at[1]=Et+=yt):yt<0?(at[1]=Ct,at[0]=Ct+=yt):(at[0]=0,at[1]=yt)}function zA(r,a){if((at=r.length)>0){for(var M=0,H=r[a[0]],at,yt=H.length;M0)||!((yt=(at=r[a[0]]).length)>0))){for(var M=0,H=1,at,yt,Et;Hyt&&(yt=at,M=a);return M}function PC(r){var a=r.map(OC);return Zm(r).sort(function(M,H){return a[M]-a[H]})}function OC(r){for(var a=0,M=-1,H=r.length,at;++M0)){if(Ce/=ge,ge<0){if(Ce0){if(Ce>qt)return;Ce>Qt&&(Qt=Ce)}if(Ce=H-Ct,!(!ge&&Ce<0)){if(Ce/=ge,ge<0){if(Ce>qt)return;Ce>Qt&&(Qt=Ce)}else if(ge>0){if(Ce0)){if(Ce/=Me,Me<0){if(Ce0){if(Ce>qt)return;Ce>Qt&&(Qt=Ce)}if(Ce=at-It,!(!Me&&Ce<0)){if(Ce/=Me,Me<0){if(Ce>qt)return;Ce>Qt&&(Qt=Ce)}else if(Me>0){if(Ce0)&&!(qt<1)||(Qt>0&&(r[0]=[Ct+Qt*ge,It+Qt*Me]),qt<1&&(r[1]=[Ct+qt*ge,It+qt*Me])),!0}}}}}function BC(r,a,M,H,at){var yt=r[1];if(yt)return!0;var Et=r[0],Ct=r.left,It=r.right,zt=Ct[0],Xt=Ct[1],Qt=It[0],qt=It[1],ge=(zt+Qt)/2,Me=(Xt+qt)/2,Ce,Ne;if(qt===Xt){if(ge=H)return;if(zt>Qt){if(!Et)Et=[ge,M];else if(Et[1]>=at)return;yt=[ge,at]}else{if(!Et)Et=[ge,at];else if(Et[1]1)if(zt>Qt){if(!Et)Et=[(M-Ne)/Ce,M];else if(Et[1]>=at)return;yt=[(at-Ne)/Ce,at]}else{if(!Et)Et=[(at-Ne)/Ce,at];else if(Et[1]=H)return;yt=[H,Ce*H+Ne]}else{if(!Et)Et=[H,Ce*H+Ne];else if(Et[0]No||Math.abs(yt[0][1]-yt[1][1])>No))&&delete Ms[at]}function JA(r){return Fl[r.index]={site:r,halfedges:[]}}function tP(r,a){var M=r.site,H=a.left,at=a.right;return M===at&&(at=H,H=M),at?Math.atan2(at[1]-H[1],at[0]-H[0]):(M===H?(H=a[1],at=a[0]):(H=a[0],at=a[1]),Math.atan2(H[0]-at[0],at[1]-H[1]))}function jC(r,a){return a[+(a.left!==r.site)]}function eP(r,a){return a[+(a.left===r.site)]}function nP(){for(var r=0,a=Fl.length,M,H,at,yt;rNo||Math.abs(Ne-ge)>No)&&(zt.splice(It,0,Ms.push(iy(Ct,Me,Math.abs(Ce-r)No?[r,Math.abs(qt-r)No?[Math.abs(ge-H)No?[M,Math.abs(qt-M)No?[Math.abs(ge-a)=-HC)){var ge=It*It+zt*zt,Me=Xt*Xt+Qt*Qt,Ce=(Qt*ge-zt*Me)/qt,Ne=(It*Me-Xt*ge)/qt,je=FC.pop()||new iP;je.arc=r,je.site=at,je.x=Ce+Et,je.y=(je.cy=Ne+Ct)+Math.sqrt(Ce*Ce+Ne*Ne),r.circle=je;for(var tn=null,Ge=oy._;Ge;)if(je.yNo)Ct=Ct.L;else if(Et=a-r_(Ct,M),Et>No){if(!Ct.R){H=Ct;break}Ct=Ct.R}else{yt>-No?(H=Ct.P,at=Ct):Et>-No?(H=Ct,at=Ct.N):H=at=Ct;break}JA(r);var It=UC(r);if(tp.insert(H,It),!(!H&&!at)){if(H===at){Jm(H),at=UC(H.site),tp.insert(It,at),It.edge=at.edge=ry(H.site,It.site),Qm(H),Qm(at);return}if(!at){It.edge=ry(H.site,It.site);return}Jm(H),Jm(at);var zt=H.site,Xt=zt[0],Qt=zt[1],qt=r[0]-Xt,ge=r[1]-Qt,Me=at.site,Ce=Me[0]-Xt,Ne=Me[1]-Qt,je=2*(qt*Ne-ge*Ce),tn=qt*qt+ge*ge,Ge=Ce*Ce+Ne*Ne,en=[(Ne*tn-ge*Ge)/je+Xt,(qt*Ge-Ce*tn)/je+Qt];U1(at.edge,zt,Me,en),It.edge=ry(zt,r,null,en),at.edge=ry(r,Me,null,en),Qm(H),Qm(at)}}function n_(r,a){var M=r.site,H=M[0],at=M[1],yt=at-a;if(!yt)return H;var Et=r.P;if(!Et)return-1/0;M=Et.site;var Ct=M[0],It=M[1],zt=It-a;if(!zt)return Ct;var Xt=Ct-H,Qt=1/yt-1/zt,qt=Xt/zt;return Qt?(-qt+Math.sqrt(qt*qt-2*Qt*(Xt*Xt/(-2*zt)-It+zt/2+at-yt/2)))/Qt+H:(H+Ct)/2}function r_(r,a){var M=r.N;if(M)return n_(M,a);var H=r.site;return H[1]===a?H[0]:1/0}var No=1e-6,HC=1e-12,tp,Fl,oy,Ms;function sP(r,a,M){return(r[0]-M[0])*(a[1]-r[1])-(r[0]-a[0])*(M[1]-r[1])}function lP(r,a){return a[1]-r[1]||a[0]-r[0]}function i_(r,a){var M=r.sort(lP).pop(),H,at,yt;for(Ms=[],Fl=new Array(r.length),tp=new IC,oy=new IC;;)if(yt=V1,M&&(!yt||M[1]=Et)return null;var It=r-Ct.site[0],zt=a-Ct.site[1],Xt=It*It+zt*zt;do Ct=H.cells[at=yt],yt=null,Ct.halfedges.forEach(function(Qt){var qt=H.edges[Qt],ge=qt.left;if(!((ge===Ct.site||!ge)&&!(ge=qt.right))){var Me=r-ge[0],Ce=a-ge[1],Ne=Me*Me+Ce*Ce;NeH?(H+at)/2:Math.min(0,H)||Math.max(0,at),Et>yt?(yt+Et)/2:Math.min(0,yt)||Math.max(0,Et))}function mP(){var r=hP,a=fP,M=pP,H=dP,at=YC,yt=[0,1/0],Et=[[-1/0,-1/0],[1/0,1/0]],Ct=250,It=hE,zt=B("start","zoom","end"),Xt,Qt,qt=500,ge=150,Me=0;function Ce(on){on.property("__zoom",WC).on("wheel.zoom",Vn).on("mousedown.zoom",Bn).on("dblclick.zoom",pr).filter(at).on("touchstart.zoom",tr).on("touchmove.zoom",lr).on("touchend.zoom touchcancel.zoom",Kn).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}Ce.transform=function(on,zn,Er){var Fn=on.selection?on.selection():on;Fn.property("__zoom",WC),on!==Fn?Ge(on,zn,Er):Fn.interrupt().each(function(){en(this,arguments).start().zoom(null,typeof zn=="function"?zn.apply(this,arguments):zn).end()})},Ce.scaleBy=function(on,zn,Er){Ce.scaleTo(on,function(){var Fn=this.__zoom.k,vr=typeof zn=="function"?zn.apply(this,arguments):zn;return Fn*vr},Er)},Ce.scaleTo=function(on,zn,Er){Ce.transform(on,function(){var Fn=a.apply(this,arguments),vr=this.__zoom,$r=Er==null?tn(Fn):typeof Er=="function"?Er.apply(this,arguments):Er,Yr=vr.invert($r),ri=typeof zn=="function"?zn.apply(this,arguments):zn;return M(je(Ne(vr,ri),$r,Yr),Fn,Et)},Er)},Ce.translateBy=function(on,zn,Er){Ce.transform(on,function(){return M(this.__zoom.translate(typeof zn=="function"?zn.apply(this,arguments):zn,typeof Er=="function"?Er.apply(this,arguments):Er),a.apply(this,arguments),Et)})},Ce.translateTo=function(on,zn,Er,Fn){Ce.transform(on,function(){var vr=a.apply(this,arguments),$r=this.__zoom,Yr=Fn==null?tn(vr):typeof Fn=="function"?Fn.apply(this,arguments):Fn;return M(Y1.translate(Yr[0],Yr[1]).scale($r.k).translate(typeof zn=="function"?-zn.apply(this,arguments):-zn,typeof Er=="function"?-Er.apply(this,arguments):-Er),vr,Et)},Fn)};function Ne(on,zn){return zn=Math.max(yt[0],Math.min(yt[1],zn)),zn===on.k?on:new gh(zn,on.x,on.y)}function je(on,zn,Er){var Fn=zn[0]-Er[0]*on.k,vr=zn[1]-Er[1]*on.k;return Fn===on.x&&vr===on.y?on:new gh(on.k,Fn,vr)}function tn(on){return[(+on[0][0]+ +on[1][0])/2,(+on[0][1]+ +on[1][1])/2]}function Ge(on,zn,Er){on.on("start.zoom",function(){en(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){en(this,arguments).end()}).tween("zoom",function(){var Fn=this,vr=arguments,$r=en(Fn,vr),Yr=a.apply(Fn,vr),ri=Er==null?tn(Yr):typeof Er=="function"?Er.apply(Fn,vr):Er,Ei=Math.max(Yr[1][0]-Yr[0][0],Yr[1][1]-Yr[0][1]),Ti=Fn.__zoom,Po=typeof zn=="function"?zn.apply(Fn,vr):zn,Do=It(Ti.invert(ri).concat(Ei/Ti.k),Po.invert(ri).concat(Ei/Po.k));return function(so){if(so===1)so=Po;else{var ka=Do(so),Gs=Ei/ka[2];so=new gh(Gs,ri[0]-ka[0]*Gs,ri[1]-ka[1]*Gs)}$r.zoom(null,so)}})}function en(on,zn,Er){return!Er&&on.__zooming||new kn(on,zn)}function kn(on,zn){this.that=on,this.args=zn,this.active=0,this.extent=a.apply(on,zn),this.taps=0}kn.prototype={start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(on,zn){return this.mouse&&on!=="mouse"&&(this.mouse[1]=zn.invert(this.mouse[0])),this.touch0&&on!=="touch"&&(this.touch0[1]=zn.invert(this.touch0[0])),this.touch1&&on!=="touch"&&(this.touch1[1]=zn.invert(this.touch1[0])),this.that.__zoom=zn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(on){Gt(new cP(Ce,on,this.that.__zoom),zt.apply,zt,[on,this.that,this.args])}};function Vn(){if(!r.apply(this,arguments))return;var on=en(this,arguments),zn=this.__zoom,Er=Math.max(yt[0],Math.min(yt[1],zn.k*Math.pow(2,H.apply(this,arguments)))),Fn=kr(this);if(on.wheel)(on.mouse[0][0]!==Fn[0]||on.mouse[0][1]!==Fn[1])&&(on.mouse[1]=zn.invert(on.mouse[0]=Fn)),clearTimeout(on.wheel);else{if(zn.k===Er)return;on.mouse=[Fn,zn.invert(Fn)],qs(this),on.start()}ay(),on.wheel=setTimeout(vr,ge),on.zoom("mouse",M(je(Ne(zn,Er),on.mouse[0],on.mouse[1]),on.extent,Et));function vr(){on.wheel=null,on.end()}}function Bn(){if(Qt||!r.apply(this,arguments))return;var on=en(this,arguments,!0),zn=Ze(wr.view).on("mousemove.zoom",$r,!0).on("mouseup.zoom",Yr,!0),Er=kr(this),Fn=wr.clientX,vr=wr.clientY;Un(wr.view),o_(),on.mouse=[Er,this.__zoom.invert(Er)],qs(this),on.start();function $r(){if(ay(),!on.moved){var ri=wr.clientX-Fn,Ei=wr.clientY-vr;on.moved=ri*ri+Ei*Ei>Me}on.zoom("mouse",M(je(on.that.__zoom,on.mouse[0]=kr(on.that),on.mouse[1]),on.extent,Et))}function Yr(){zn.on("mousemove.zoom mouseup.zoom",null),fr(wr.view,on.moved),ay(),on.end()}}function pr(){if(r.apply(this,arguments)){var on=this.__zoom,zn=kr(this),Er=on.invert(zn),Fn=on.k*(wr.shiftKey?.5:2),vr=M(je(Ne(on,Fn),zn,Er),a.apply(this,arguments),Et);ay(),Ct>0?Ze(this).transition().duration(Ct).call(Ge,vr,zn):Ze(this).call(Ce.transform,vr)}}function tr(){if(r.apply(this,arguments)){var on=wr.touches,zn=on.length,Er=en(this,arguments,wr.changedTouches.length===zn),Fn,vr,$r,Yr;for(o_(),vr=0;vr{"use strict";wt.d(we,{V_:()=>Z,h1:()=>G,ah:()=>I,Jj:()=>C,yl:()=>At,$A:()=>U,rG:()=>V,KS:()=>P,Xx:()=>E,JW:()=>s,T9:()=>u,i2:()=>_,JZ:()=>L,Am:()=>nt,jk:()=>rt,AS:()=>q,Ny:()=>it,YV:()=>l,y1:()=>S,SQ:()=>X,k4:()=>ct,cz:()=>B,c3:()=>O,Ft:()=>D,zr:()=>b,lq:()=>R,sG:()=>y,Zc:()=>x,mg:()=>F,GV:()=>A,yU:()=>ft});function Z(et,ht){return etht?1:et>=ht?0:NaN}function At(et){return et.length===1&&(et=W(et)),{left:function(ht,z,tt,Q){for(tt==null&&(tt=0),Q==null&&(Q=ht.length);tt>>1;et(ht[K],z)<0?tt=K+1:Q=K}return tt},right:function(ht,z,tt,Q){for(tt==null&&(tt=0),Q==null&&(Q=ht.length);tt>>1;et(ht[K],z)>0?Q=K:tt=K+1}return tt}}}function W(et){return function(ht,z){return Z(et(ht),z)}}var c=At(Z),C=c.right,I=c.left;const G=C;function q(et,ht){ht==null&&(ht=J);for(var z=0,tt=et.length-1,Q=et[0],K=new Array(tt<0?0:tt);zet?1:ht>=et?0:NaN}function j(et){return et===null?NaN:+et}function A(et,ht){var z=et.length,tt=0,Q=-1,K=0,st,xt,gt=0;if(ht==null)for(;++Q1)return gt/(tt-1)}function P(et,ht){var z=A(et,ht);return z&&Math.sqrt(z)}function E(et,ht){var z=et.length,tt=-1,Q,K,st;if(ht==null){for(;++tt=Q)for(K=st=Q;++ttQ&&(K=Q),st=Q)for(K=st=Q;++ttQ&&(K=Q),st0)return[et];if((tt=ht0)for(et=Math.ceil(et/xt),ht=Math.floor(ht/xt),st=new Array(K=Math.ceil(ht-et+1));++Q=0?(K>=v?10:K>=m?5:K>=g?2:1)*Math.pow(10,Q):-Math.pow(10,-Q)/(K>=v?10:K>=m?5:K>=g?2:1)}function y(et,ht,z){var tt=Math.abs(ht-et)/Math.max(0,z),Q=Math.pow(10,Math.floor(Math.log(tt)/Math.LN10)),K=tt/Q;return K>=v?Q*=10:K>=m?Q*=5:K>=g&&(Q*=2),htDt;)Bt.pop(),--Nt;var Pt=new Array(Nt+1),Mt;for(K=0;K<=Nt;++K)Mt=Pt[K]=[],Mt.x0=K>0?Bt[K-1]:vt,Mt.x1=K=1)return+z(et[tt-1],tt-1,et);var tt,Q=(tt-1)*ht,K=Math.floor(Q),st=+z(et[K],K,et),xt=+z(et[K+1],K+1,et);return st+(xt-st)*(Q-K)}}function O(et,ht,z){return et=T.call(et,j).sort(Z),Math.ceil((z-ht)/(2*(l(et,.75)-l(et,.25))*Math.pow(et.length,-.3333333333333333)))}function D(et,ht,z){return Math.ceil((z-ht)/(3.5*P(et)*Math.pow(et.length,-.3333333333333333)))}function u(et,ht){var z=et.length,tt=-1,Q,K;if(ht==null){for(;++tt=Q)for(K=Q;++ttK&&(K=Q)}else for(;++tt=Q)for(K=Q;++ttK&&(K=Q);return K}function _(et,ht){var z=et.length,tt=z,Q=-1,K,st=0;if(ht==null)for(;++Q=0;)for(st=et[ht],z=st.length;--z>=0;)K[--Q]=st[z];return K}function rt(et,ht){var z=et.length,tt=-1,Q,K;if(ht==null){for(;++tt=Q)for(K=Q;++ttQ&&(K=Q)}else for(;++tt=Q)for(K=Q;++ttQ&&(K=Q);return K}function it(et,ht){for(var z=ht.length,tt=new Array(z);z--;)tt[z]=et[ht[z]];return tt}function X(et,ht){if(z=et.length){var z,tt=0,Q=0,K,st=et[Q];for(ht==null&&(ht=Z);++tt=b?y:""+Array(b+1-l.length).join(s)+y},o={s:p,z:function(y){var b=-y.utcOffset(),s=Math.abs(b),l=Math.floor(s/60),O=s%60;return(b<=0?"+":"-")+p(l,2,"0")+":"+p(O,2,"0")},m:function y(b,s){if(b.date()1)return y(u[0])}else{var _=b.name;w[_]=b,O=_}return!l&&O&&(T=O),O||!l&&T},m=function(y,b){if(S(y))return y.clone();var s=typeof b=="object"?b:{};return s.date=y,s.args=arguments,new x(s)},g=o;g.l=v,g.i=S,g.w=function(y,b){return m(y,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var x=function(){function y(s){this.$L=v(s.locale,null,!0),this.parse(s),this.$x=this.$x||s.x||{},this[f]=!0}var b=y.prototype;return b.parse=function(s){this.$d=function(l){var O=l.date,D=l.utc;if(O===null)return new Date(NaN);if(g.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var u=O.match(A);if(u){var _=u[2]-1||0,L=(u[7]||"0").substring(0,3);return D?new Date(Date.UTC(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,L)):new Date(u[1],_,u[3]||1,u[4]||0,u[5]||0,u[6]||0,L)}}return new Date(O)}(s),this.init()},b.init=function(){var s=this.$d;this.$y=s.getFullYear(),this.$M=s.getMonth(),this.$D=s.getDate(),this.$W=s.getDay(),this.$H=s.getHours(),this.$m=s.getMinutes(),this.$s=s.getSeconds(),this.$ms=s.getMilliseconds()},b.$utils=function(){return g},b.isValid=function(){return this.$d.toString()!==j},b.isSame=function(s,l){var O=m(s);return this.startOf(l)<=O&&O<=this.endOf(l)},b.isAfter=function(s,l){return m(s)68?1900:2e3)},G=function(A){return function(P){this[A]=+P}},q=[/[+-]\d\d:?(\d\d)?|Z/,function(A){(this.zone||(this.zone={})).offset=function(P){if(!P||P==="Z")return 0;var E=P.match(/([+-]|\d\d)/g),p=60*E[1]+(+E[2]||0);return p===0?0:E[0]==="+"?-p:p}(A)}],J=function(A){var P=C[A];return P&&(P.indexOf?P:P.s.concat(P.f))},U=function(A,P){var E,p=C.meridiem;if(p){for(var o=1;o<=24;o+=1)if(A.indexOf(p(o,0,P))>-1){E=o>12;break}}else E=A===(P?"pm":"PM");return E},V={A:[c,function(A){this.afternoon=U(A,!1)}],a:[c,function(A){this.afternoon=U(A,!0)}],Q:[Z,function(A){this.month=3*(A-1)+1}],S:[Z,function(A){this.milliseconds=100*+A}],SS:[At,function(A){this.milliseconds=10*+A}],SSS:[/\d{3}/,function(A){this.milliseconds=+A}],s:[W,G("seconds")],ss:[W,G("seconds")],m:[W,G("minutes")],mm:[W,G("minutes")],H:[W,G("hours")],h:[W,G("hours")],HH:[W,G("hours")],hh:[W,G("hours")],D:[W,G("day")],DD:[At,G("day")],Do:[c,function(A){var P=C.ordinal,E=A.match(/\d+/);if(this.day=E[0],P)for(var p=1;p<=31;p+=1)P(p).replace(/\[|\]/g,"")===A&&(this.day=p)}],w:[W,G("week")],ww:[At,G("week")],M:[W,G("month")],MM:[At,G("month")],MMM:[c,function(A){var P=J("months"),E=(J("monthsShort")||P.map(function(p){return p.slice(0,3)})).indexOf(A)+1;if(E<1)throw new Error;this.month=E%12||E}],MMMM:[c,function(A){var P=J("months").indexOf(A)+1;if(P<1)throw new Error;this.month=P%12||P}],Y:[/[+-]?\d+/,G("year")],YY:[At,function(A){this.year=I(A)}],YYYY:[/\d{4}/,G("year")],Z:q,ZZ:q};function j(A){var P,E;P=A,E=C&&C.formats;for(var p=(A=P.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(m,g,x){var R=x&&x.toUpperCase();return g||E[x]||we[x]||E[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(y,b,s){return b||s.slice(1)})})).match(wt),o=p.length,T=0;T-1)return new Date((O==="X"?1e3:1)*l);var _=j(O)(l),L=_.year,nt=_.month,rt=_.day,it=_.hours,X=_.minutes,ct=_.seconds,B=_.milliseconds,F=_.zone,ut=_.week,ft=new Date,et=rt||(L||nt?1:ft.getDate()),ht=L||ft.getFullYear(),z=0;L&&!nt||(z=nt>0?nt-1:ft.getMonth());var tt,Q=it||0,K=X||0,st=ct||0,xt=B||0;return F?new Date(Date.UTC(ht,z,et,Q,K,st,xt+60*F.offset*1e3)):D?new Date(Date.UTC(ht,z,et,Q,K,st,xt)):(tt=new Date(ht,z,et,Q,K,st,xt),ut&&(tt=u(tt).week(ut).toDate()),tt)}catch(gt){return new Date("")}}(w,v,f,E),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),x&&w!=this.format(v)&&(this.$d=new Date("")),C={}}else if(v instanceof Array)for(var y=v.length,b=1;b<=y;b+=1){S[1]=v[b-1];var s=E.apply(this,S);if(s.isValid()){this.$d=s.$d,this.$L=s.$L,this.init();break}b===y&&(this.$d=new Date(""))}else o.call(this,T)}}})},9050:function(yr){(function(we,wt){yr.exports=wt()})(this,function(){"use strict";return function(we,wt,Z){wt.prototype.isBetween=function(At,W,c,C){var I=Z(At),G=Z(W),q=(C=C||"()")[0]==="(",J=C[1]===")";return(q?this.isAfter(I,c):!this.isBefore(I,c))&&(J?this.isBefore(G,c):!this.isAfter(G,c))||(q?this.isBefore(I,c):!this.isAfter(I,c))&&(J?this.isAfter(G,c):!this.isBefore(G,c))}}})},2976:function(yr){(function(we,wt){yr.exports=wt()})(this,function(){"use strict";var we={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(wt,Z,At){var W=Z.prototype,c=W.format;At.en.formats=we,W.format=function(C){C===void 0&&(C="YYYY-MM-DDTHH:mm:ssZ");var I=this.$locale().formats,G=function(q,J){return q.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(U,V,j){var A=j&&j.toUpperCase();return V||J[j]||we[j]||J[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,E,p){return E||p.slice(1)})})}(C,I===void 0?{}:I);return c.call(this,G)}}})},1398:function(yr){(function(we,wt){yr.exports=wt()})(this,function(){"use strict";var we="month",wt="quarter";return function(Z,At){var W=At.prototype;W.quarter=function(I){return this.$utils().u(I)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(I-1))};var c=W.add;W.add=function(I,G){return I=Number(I),this.$utils().p(G)===wt?this.add(3*I,we):c.bind(this)(I,G)};var C=W.startOf;W.startOf=function(I,G){var q=this.$utils(),J=!!q.u(G)||G;if(q.p(I)===wt){var U=this.quarter()-1;return J?this.month(3*U).startOf(we).startOf("day"):this.month(3*U+2).endOf(we).endOf("day")}return C.bind(this)(I,G)}}})},4843:function(yr){(function(we,wt){yr.exports=wt()})(this,function(){"use strict";var we={year:0,month:1,day:2,hour:3,minute:4,second:5},wt={};return function(Z,At,W){var c,C=function(J,U,V){V===void 0&&(V={});var j=new Date(J),A=function(P,E){E===void 0&&(E={});var p=E.timeZoneName||"short",o=P+"|"+p,T=wt[o];return T||(T=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:P,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:p}),wt[o]=T),T}(U,V);return A.formatToParts(j)},I=function(J,U){for(var V=C(J,U),j=[],A=0;A=0&&(j[o]=parseInt(p,10))}var T=j[3],w=T===24?0:T,f=j[0]+"-"+j[1]+"-"+j[2]+" "+w+":"+j[4]+":"+j[5]+":000",S=+J;return(W.utc(f).valueOf()-(S-=S%1e3))/6e4},G=At.prototype;G.tz=function(J,U){J===void 0&&(J=c);var V,j=this.utcOffset(),A=this.toDate(),P=A.toLocaleString("en-US",{timeZone:J}),E=Math.round((A-new Date(P))/1e3/60),p=15*-Math.round(A.getTimezoneOffset()/15)-E;if(!Number(p))V=this.utcOffset(0,U);else if(V=W(P,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(p,!0),U){var o=V.utcOffset();V=V.add(j-o,"minute")}return V.$x.$timezone=J,V},G.offsetName=function(J){var U=this.$x.$timezone||W.tz.guess(),V=C(this.valueOf(),U,{timeZoneName:J}).find(function(j){return j.type.toLowerCase()==="timezonename"});return V&&V.value};var q=G.startOf;G.startOf=function(J,U){if(!this.$x||!this.$x.$timezone)return q.call(this,J,U);var V=W(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return q.call(V,J,U).tz(this.$x.$timezone,!0)},W.tz=function(J,U,V){var j=V&&U,A=V||U||c,P=I(+W(),A);if(typeof J!="string")return W(J).tz(A);var E=function(w,f,S){var v=w-60*f*1e3,m=I(v,S);if(f===m)return[v,f];var g=I(v-=60*(m-f)*1e3,S);return m===g?[v,m]:[w-60*Math.min(m,g)*1e3,Math.max(m,g)]}(W.utc(J,j).valueOf(),P,A),p=E[0],o=E[1],T=W(p).utcOffset(o);return T.$x.$timezone=A,T},W.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},W.tz.setDefault=function(J){c=J}}})},4112:function(yr){(function(we,wt){yr.exports=wt()})(this,function(){"use strict";var we="minute",wt=/[+-]\d\d(?::?\d\d)?/g,Z=/([+-]|\d\d)/g;return function(At,W,c){var C=W.prototype;c.utc=function(j){var A={date:j,utc:!0,args:arguments};return new W(A)},C.utc=function(j){var A=c(this.toDate(),{locale:this.$L,utc:!0});return j?A.add(this.utcOffset(),we):A},C.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var I=C.parse;C.parse=function(j){j.utc&&(this.$u=!0),this.$utils().u(j.$offset)||(this.$offset=j.$offset),I.call(this,j)};var G=C.init;C.init=function(){if(this.$u){var j=this.$d;this.$y=j.getUTCFullYear(),this.$M=j.getUTCMonth(),this.$D=j.getUTCDate(),this.$W=j.getUTCDay(),this.$H=j.getUTCHours(),this.$m=j.getUTCMinutes(),this.$s=j.getUTCSeconds(),this.$ms=j.getUTCMilliseconds()}else G.call(this)};var q=C.utcOffset;C.utcOffset=function(j,A){var P=this.$utils().u;if(P(j))return this.$u?0:P(this.$offset)?q.call(this):this.$offset;if(typeof j=="string"&&(j=function(T){T===void 0&&(T="");var w=T.match(wt);if(!w)return null;var f=(""+w[0]).match(Z)||["-",0,0],S=f[0],v=60*+f[1]+ +f[2];return v===0?0:S==="+"?v:-v}(j),j===null))return this;var E=Math.abs(j)<=16?60*j:j,p=this;if(A)return p.$offset=E,p.$u=j===0,p;if(j!==0){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(p=this.local().add(E+o,we)).$offset=E,p.$x.$localOffset=o}else p=this.utc();return p};var J=C.format;C.format=function(j){var A=j||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return J.call(this,A)},C.valueOf=function(){var j=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*j},C.isUTC=function(){return!!this.$u},C.toISOString=function(){return this.toDate().toISOString()},C.toString=function(){return this.toDate().toUTCString()};var U=C.toDate;C.toDate=function(j){return j==="s"&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():U.call(this)};var V=C.diff;C.diff=function(j,A,P){if(j&&this.$u===j.$u)return V.call(this,j,A,P);var E=this.local(),p=c(j).local();return V.call(E,p,A,P)}}})},2713:(yr,we,wt)=>{var Z;/*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. -*/(function(){"use strict";var Mt=!!(typeof window!="undefined"&&window.document&&window.document.createElement),W={canUseDOM:Mt,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:Mt&&!!(window.addEventListener||window.attachEvent),canUseViewport:Mt&&!!window.screen};ft=function(){return W}.call(pe,xt,pe,lr),ft!==void 0&&(lr.exports=ft)})()},5215:lr=>{"use strict";lr.exports=function pe(xt,ft){if(xt===ft)return!0;if(xt&&ft&&typeof xt=="object"&&typeof ft=="object"){if(xt.constructor!==ft.constructor)return!1;var Mt,W,u;if(Array.isArray(xt)){if(Mt=xt.length,Mt!=ft.length)return!1;for(W=Mt;W--!==0;)if(!pe(xt[W],ft[W]))return!1;return!0}if(xt.constructor===RegExp)return xt.source===ft.source&&xt.flags===ft.flags;if(xt.valueOf!==Object.prototype.valueOf)return xt.valueOf()===ft.valueOf();if(xt.toString!==Object.prototype.toString)return xt.toString()===ft.toString();if(u=Object.keys(xt),Mt=u.length,Mt!==Object.keys(ft).length)return!1;for(W=Mt;W--!==0;)if(!Object.prototype.hasOwnProperty.call(ft,u[W]))return!1;for(W=Mt;W--!==0;){var T=u[W];if(!pe(xt[T],ft[T]))return!1}return!0}return xt!==xt&&ft!==ft}},6193:function(lr,pe,xt){"use strict";var ft;(function(Mt,W){lr.exports?(W.default=W,lr.exports=Mt.document?W(Mt):W):(ft=function(){return W(Mt)}.call(pe,xt,pe,lr),ft!==void 0&&(lr.exports=ft))})(typeof window!="undefined"?window:this,function(Mt){function W(T,I,Y,X){T.hasOwnProperty(I)||(T[I]=X.apply(null,Y))}var u={};return W(u,"Core/Globals.js",[],function(){var T=typeof Mt!="undefined"?Mt:typeof window!="undefined"?window:{},I;return function(Y){Y.SVG_NS="http://www.w3.org/2000/svg",Y.product="Highcharts",Y.version="9.2.2",Y.win=T,Y.doc=Y.win.document,Y.svg=Y.doc&&Y.doc.createElementNS&&!!Y.doc.createElementNS(Y.SVG_NS,"svg").createSVGRect,Y.userAgent=Y.win.navigator&&Y.win.navigator.userAgent||"",Y.isChrome=Y.userAgent.indexOf("Chrome")!==-1,Y.isFirefox=Y.userAgent.indexOf("Firefox")!==-1,Y.isMS=/(edge|msie|trident)/i.test(Y.userAgent)&&!Y.win.opera,Y.isSafari=!Y.isChrome&&Y.userAgent.indexOf("Safari")!==-1,Y.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(Y.userAgent),Y.isWebKit=Y.userAgent.indexOf("AppleWebKit")!==-1,Y.deg2rad=2*Math.PI/360,Y.hasBidiBug=Y.isFirefox&&4>parseInt(Y.userAgent.split("Firefox/")[1],10),Y.hasTouch=!!Y.win.TouchEvent,Y.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],Y.noop=function(){},Y.supportsPassiveEvents=function(){var X=!1;if(!Y.isMS){var Z=Object.defineProperty({},"passive",{get:function(){X=!0}});Y.win.addEventListener&&Y.win.removeEventListener&&(Y.win.addEventListener("testPassive",Y.noop,Z),Y.win.removeEventListener("testPassive",Y.noop,Z))}return X}(),Y.charts=[],Y.dateFormats={},Y.seriesTypes={},Y.symbolSizes={},Y.chartCount=0}(I||(I={})),I}),W(u,"Core/Utilities.js",[u["Core/Globals.js"]],function(T){function I(c,E,L,et){var nt=E?"Highcharts error":"Highcharts warning";c===32&&(c=nt+": Deprecated member");var rt=D(c),G=rt?nt+" #"+c+": www.highcharts.com/errors/"+c+"/":c.toString();if(typeof et!="undefined"){var ut="";rt&&(G+="?"),g(et,function(F,B){ut+=` - - `+B+": "+F,rt&&(G+=encodeURI(B)+"="+encodeURI(F))}),G+=ut}y(T,"displayError",{chart:L,code:c,message:G,params:et},function(){if(E)throw Error(G);x.console&&I.messages.indexOf(G)===-1&&console.warn(G)}),I.messages.push(G)}function Y(c,E){var L={};return g(c,function(et,nt){_(c[nt],!0)&&!c.nodeType&&E[nt]?(et=Y(c[nt],E[nt]),Object.keys(et).length&&(L[nt]=et)):(_(c[nt])||c[nt]!==E[nt])&&(L[nt]=c[nt])}),L}function X(c,E){return parseInt(c,E||10)}function Z(c){return typeof c=="string"}function H(c){return c=Object.prototype.toString.call(c),c==="[object Array]"||c==="[object Array Iterator]"}function _(c,E){return!!c&&typeof c=="object"&&(!E||!H(c))}function j(c){return _(c)&&typeof c.nodeType=="number"}function A(c){var E=c&&c.constructor;return!(!_(c,!0)||j(c)||!E||!E.name||E.name==="Object")}function D(c){return typeof c=="number"&&!isNaN(c)&&1/0>c&&-1/0=E-1&&(E=Math.floor(L)),Math.max(0,E-(et(c,"padding-left",!0)||0)-(et(c,"padding-right",!0)||0));if(E==="height")return Math.max(0,Math.min(c.offsetHeight,c.scrollHeight)-(et(c,"padding-top",!0)||0)-(et(c,"padding-bottom",!0)||0));if(x.getComputedStyle||I(27,!0),c=x.getComputedStyle(c,void 0)){var nt=c.getPropertyValue(E);k(L,E!=="opacity")&&(nt=X(nt))}return nt}function g(c,E,L){for(var et in c)Object.hasOwnProperty.call(c,et)&&E.call(L||c[et],c[et],et,c)}function p(c,E,L){function et(ut,F){var B=c.removeEventListener||T.removeEventListenerPolyfill;B&&B.call(c,ut,F,!1)}function nt(ut){var F;if(c.nodeName){if(E){var B={};B[E]=!0}else B=ut;g(B,function(st,ht){if(ut[ht])for(F=ut[ht].length;F--;)et(ht,ut[ht][F].fn)})}}var rt=typeof c=="function"&&c.prototype||c;if(Object.hasOwnProperty.call(rt,"hcEvents")){var G=rt.hcEvents;E?(rt=G[E]||[],L?(G[E]=rt.filter(function(ut){return L!==ut.fn}),et(E,L)):(nt(G),G[E]=[])):(nt(G),delete rt.hcEvents)}}function y(c,E,L,et){if(L=L||{},m.createEvent&&(c.dispatchEvent||c.fireEvent&&c!==T)){var nt=m.createEvent("Events");nt.initEvent(E,!0,!0),L=o(nt,L),c.dispatchEvent?c.dispatchEvent(L):c.fireEvent(E,L)}else if(c.hcEvents){L.target||o(L,{preventDefault:function(){L.defaultPrevented=!0},target:c,type:E}),nt=[];for(var rt=c,G=!1;rt.hcEvents;)Object.hasOwnProperty.call(rt,"hcEvents")&&rt.hcEvents[E]&&(nt.length&&(G=!0),nt.unshift.apply(nt,rt.hcEvents[E])),rt=Object.getPrototypeOf(rt);G&&nt.sort(function(ut,F){return ut.order-F.order}),nt.forEach(function(ut){ut.fn.call(c,L)===!1&&L.preventDefault()})}et&&!L.defaultPrevented&&et.call(c,L)}var P=T.charts,m=T.doc,x=T.win;(I||(I={})).messages=[];var l;Math.easeInOutSine=function(c){return-.5*(Math.cos(Math.PI*c)-1)};var s=Array.prototype.find?function(c,E){return c.find(E)}:function(c,E){var L,et=c.length;for(L=0;LL&&(L=c[E]);return L},arrayMin:function(c){for(var E=c.length,L=c[0];E--;)c[E]E?c=L&&(E=[1/L]))),et=0;et=c||!nt&&G<=(E[et]+(E[et+1]||E[et]))/2));et++);return rt=w(rt*L,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(c){var E=m.documentElement;return c=c.parentElement||c.parentNode?c.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:c.top+(x.pageYOffset||E.scrollTop)-(E.clientTop||0),left:c.left+(x.pageXOffset||E.scrollLeft)-(E.clientLeft||0),width:c.width,height:c.height}},pad:function(c,E,L){return Array((E||2)+1-String(c).replace("-","").length).join(L||"0")+c},pick:k,pInt:X,relativeLength:function(c,E,L){return/%$/.test(c)?E*parseFloat(c)/100+(L||0):parseFloat(c)},removeEvent:p,splat:function(c){return H(c)?c:[c]},stableSort:function(c,E){var L=c.length,et,nt;for(nt=0;nt>16,(D&65280)>>8,D&255,1]:A===4&&(j=[(D&3840)>>4|(D&3840)>>8,(D&240)>>4|D&240,(D&15)<<4|D&15,1])}if(!j)for(D=H.parsers.length;D--&&!j;){var C=H.parsers[D];(A=C.regex.exec(_))&&(j=C.parse(A))}}j&&(this.rgba=j)},H.prototype.get=function(_){var j=this.input,A=this.rgba;if(typeof j=="object"&&typeof this.stops!="undefined"){var D=X(j);return D.stops=[].slice.call(D.stops),this.stops.forEach(function(C,d){D.stops[d]=[D.stops[d][0],C.get(_)]}),D}return A&&Y(A[0])?_==="rgb"||!_&&A[3]===1?"rgb("+A[0]+","+A[1]+","+A[2]+")":_==="a"?""+A[3]:"rgba("+A.join(",")+")":j},H.prototype.brighten=function(_){var j=this.rgba;if(this.stops)this.stops.forEach(function(D){D.brighten(_)});else if(Y(_)&&_!==0)for(var A=0;3>A;A++)j[A]+=Z(255*_),0>j[A]&&(j[A]=0),255P?"AM":"PM",P:12>P?"am":"pm",S:D(y.getSeconds()),L:D(Math.floor(b%1e3),3)},T.dateFormats),A(y,function(E,L){for(;w.indexOf("%"+L)!==-1;)w=w.replace("%"+L,typeof E=="function"?E.call(p,b):E)}),g?w.substr(0,1).toUpperCase()+w.substr(1):w},h.prototype.resolveDTLFormat=function(w){return _(w,!0)?w:(w=d(w),{main:w[0],from:w[1],to:w[2]})},h.prototype.getTimeTicks=function(w,b,g,p){var y=this,P=[],m={},x=new y.Date(b),l=w.unitRange,s=w.count||1,N;if(p=C(p,1),X(b)){if(y.set("Milliseconds",x,l>=o.second?0:s*Math.floor(y.get("Milliseconds",x)/s)),l>=o.second&&y.set("Seconds",x,l>=o.minute?0:s*Math.floor(y.get("Seconds",x)/s)),l>=o.minute&&y.set("Minutes",x,l>=o.hour?0:s*Math.floor(y.get("Minutes",x)/s)),l>=o.hour&&y.set("Hours",x,l>=o.day?0:s*Math.floor(y.get("Hours",x)/s)),l>=o.day&&y.set("Date",x,l>=o.month?1:Math.max(1,s*Math.floor(y.get("Date",x)/s))),l>=o.month){y.set("Month",x,l>=o.year?0:s*Math.floor(y.get("Month",x)/s));var R=y.get("FullYear",x)}l>=o.year&&y.set("FullYear",x,R-R%s),l===o.week&&(R=y.get("Day",x),y.set("Date",x,y.get("Date",x)-R+p+(R4*o.month||y.getTimezoneOffset(b)!==y.getTimezoneOffset(g)),b=x.getTime(),x=1;bP.length&&P.forEach(function(L){L%18e5===0&&y.dateFormat("%H%M%S%L",L)==="000000000"&&(m[L]="day")})}return P.info=H(w,{higherRanks:m,totalRange:l*s}),P},h.prototype.getDateFormat=function(w,b,g,p){var y=this.dateFormat("%m-%d %H:%M:%S.%L",b),P={millisecond:15,second:12,minute:9,hour:6,day:3},m="millisecond";for(x in o){if(w===o.week&&+this.dateFormat("%w",b)===g&&y.substr(6)==="00:00:00.000"){var x="week";break}if(o[x]>w){x=m;break}if(P[x]&&y.substr(P[x])!=="01-01 00:00:00.000".substr(P[x]))break;x!=="week"&&(m=x)}if(x)var l=this.resolveDTLFormat(p[x]).main;return l},h}(),I}),W(u,"Core/DefaultOptions.js",[u["Core/Chart/ChartDefaults.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Color/Palette.js"],u["Core/Time.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){I=I.parse;var _=H.merge,j={colors:X.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:T,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:X.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:X.neutralColor40,borderRadius:0,navigation:{activeColor:X.highlightColor100,inactiveColor:X.neutralColor20},itemStyle:{color:X.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:X.neutralColor100},itemHiddenStyle:{color:X.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:X.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:Y.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:Y.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25CF {series.name}: {point.y}
',backgroundColor:I(X.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:X.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:X.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};j.chart.styledMode=!1;var A=new Z(_(j.global,j.time));return T={defaultOptions:j,defaultTime:A,getOptions:function(){return j},setOptions:function(D){return _(!0,j,D),(D.time||D.global)&&(Y.time?Y.time.update(_(j.global,j.time,D.global,D.time)):Y.time=A),j}},T}),W(u,"Core/Animation/Fx.js",[u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=T.parse,Z=I.win,H=Y.isNumber,_=Y.objectEach;return function(){function j(A,D,C){this.pos=NaN,this.options=D,this.elem=A,this.prop=C}return j.prototype.dSetter=function(){var A=this.paths,D=A&&A[0];A=A&&A[1];var C=this.now||0,d=[];if(C!==1&&D&&A)if(D.length===A.length&&1>C)for(var o=0;o=k+this.startTime){this.now=this.end,this.pos=1,this.update();var h=S[this.prop]=!0;_(S,function(w){w!==!0&&(h=!1)}),h&&o&&o.call(d),A=!1}else this.pos=C.easing((D-this.startTime)/k),this.now=this.start+(this.end-this.start)*this.pos,this.update(),A=!0;return A},j.prototype.initPath=function(A,D,C){function d(y,P){for(;y.lengthh[1]){var b=C+ +h[1];0<=b?(h[0]=(+h[0]).toExponential(b).split("e")[0],C=b):(h[0]=h[0].split(".")[0]||0,D=20>C?(h[0]*Math.pow(10,h[1])).toFixed(C):0,h[1]=0)}b=(Math.abs(h[1]?h[0]:D)+Math.pow(10,-Math.max(C,S)-1)).toFixed(C),S=String(A(b));var g=3D?"-":"")+(g?S.substr(0,g)+o:""),D=0>+h[1]&&!w?"0":D+S.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+o),C&&(D+=d+b.slice(-C)),h[1]&&+D!=0&&(D+="e"+h[1]),D}var X=T.defaultOptions,Z=T.defaultTime,H=I.getNestedProperty,_=I.isNumber,j=I.pick,A=I.pInt;return{dateFormat:function(D,C,d){return Z.dateFormat(D,C,d)},format:function(D,C,d){var o="{",k=!1,S=/f$/,h=/\.([0-9])/,w=X.lang,b=d&&d.time||Z;d=d&&d.numberFormatter||Y;for(var g=[];D;){var p=D.indexOf(o);if(p===-1)break;var y=D.slice(0,p);if(k){if(y=y.split(":"),o=H(y.shift()||"",C),y.length&&typeof o=="number")if(y=y.join(":"),S.test(y)){var P=parseInt((y.match(h)||["","-1"])[1],10);o!==null&&(o=d(o,P,w.decimalPoint,-1d){for(X(j,o),b=S=0;b<=d;)b+=j[S].size,S++;w=j.splice(S-1,j.length)}for(X(j,k),j=j.map(function(g){return{size:g.size,targets:[g.target],align:Y(g.align,.5)}});h;){for(S=j.length;S--;)d=j[S],o=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/2,d.pos=I(o-d.size*d.align,0,A-d.size);for(S=j.length,h=!1;S--;)0j[S].pos&&(j[S-1].size+=j[S].size,j[S-1].targets=j[S-1].targets.concat(j[S].targets),j[S-1].align=.5,j[S-1].pos+j[S-1].size>A&&(j[S-1].pos=A-j[S-1].size),j.splice(S,1),h=!0)}return C.push.apply(C,w),S=0,j.some(function(g){var p=0;return(g.targets||[]).some(function(){return C[S].pos=g.pos+p,typeof D!="undefined"&&Math.abs(C[S].pos-C[S].target)>D?(C.slice(0,S+1).forEach(function(y){return delete y.pos}),C.reducedLen=(C.reducedLen||A)-.1*A,C.reducedLen>.1*A&&_(C,A,D),!0):(p+=C[S].size,S++,!1)})}),X(C,k),C}H.distribute=_}(Z||(Z={})),Z}),W(u,"Core/Renderer/SVG/SVGElement.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Renderer/HTML/AST.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Color/Palette.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){var _=T.animate,j=T.animObject,A=T.stop,D=X.deg2rad,C=X.doc,d=X.noop,o=X.svg,k=X.SVG_NS,S=X.win,h=H.addEvent,w=H.attr,b=H.createElement,g=H.css,p=H.defined,y=H.erase,P=H.extend,m=H.fireEvent,x=H.isArray,l=H.isFunction,s=H.isNumber,N=H.isString,R=H.merge,c=H.objectEach,E=H.pick,L=H.pInt,et=H.syncTimeout,nt=H.uniqueKey;return T=function(){function rt(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=k,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return rt.prototype._defaultGetter=function(G){return G=E(this[G+"Value"],this[G],this.element?this.element.getAttribute(G):null,0),/^[\-0-9\.]+$/.test(G)&&(G=parseFloat(G)),G},rt.prototype._defaultSetter=function(G,ut,F){F.setAttribute(ut,G)},rt.prototype.add=function(G){var ut=this.renderer,F=this.element;if(G&&(this.parentGroup=G),this.parentInverted=G&&G.inverted,typeof this.textStr!="undefined"&&this.element.nodeName==="text"&&ut.buildText(this),this.added=!0,!G||G.handleZ||this.zIndex)var B=this.zIndexSetter();return B||(G?G.element:ut.box).appendChild(F),this.onAdd&&this.onAdd(),this},rt.prototype.addClass=function(G,ut){var F=ut?"":this.attr("class")||"";return G=(G||"").split(/ /g).reduce(function(B,st){return F.indexOf(st)===-1&&B.push(st),B},F?[F]:[]).join(" "),G!==F&&this.attr("class",G),this},rt.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},rt.prototype.align=function(G,ut,F){var B={},st=this.renderer,ht=st.alignedObjects,tt,ct,U;G?(this.alignOptions=G,this.alignByTranslate=ut,(!F||N(F))&&(this.alignTo=tt=F||"renderer",y(ht,this),ht.push(this),F=void 0)):(G=this.alignOptions,ut=this.alignByTranslate,tt=this.alignTo),F=E(F,st[tt],tt==="scrollablePlotBox"?st.plotBox:void 0,st),tt=G.align;var J=G.verticalAlign;return st=(F.x||0)+(G.x||0),ht=(F.y||0)+(G.y||0),tt==="right"?ct=1:tt==="center"&&(ct=2),ct&&(st+=(F.width-(G.width||0))/ct),B[ut?"translateX":"x"]=Math.round(st),J==="bottom"?U=1:J==="middle"&&(U=2),U&&(ht+=(F.height-(G.height||0))/U),B[ut?"translateY":"y"]=Math.round(ht),this[this.placed?"animate":"attr"](B),this.placed=!0,this.alignAttr=B,this},rt.prototype.alignSetter=function(G){var ut={left:"start",center:"middle",right:"end"};ut[G]&&(this.alignValue=G,this.element.setAttribute("text-anchor",ut[G]))},rt.prototype.animate=function(G,ut,F){var B=this,st=j(E(ut,this.renderer.globalAnimation,!0));return ut=st.defer,E(C.hidden,C.msHidden,C.webkitHidden,!1)&&(st.duration=0),st.duration!==0?(F&&(st.complete=F),et(function(){B.element&&_(B,G,st)},ut)):(this.attr(G,void 0,F),c(G,function(ht,tt){st.step&&st.step.call(this,ht,{prop:tt,pos:1,elem:this})},this)),this},rt.prototype.applyTextOutline=function(G){var ut=this.element;G.indexOf("contrast")!==-1&&(G=G.replace(/contrast/g,this.renderer.getContrast(ut.style.fill)));var F=G.split(" ");if(G=F[F.length-1],(F=F[0])&&F!=="none"&&X.svg){this.fakeTS=!0,this.ySetter=this.xSetter,F=F.replace(/(^[\d\.]+)(.*?)$/g,function(ht,tt,ct){return 2*Number(tt)+ct}),this.removeTextOutline();var B=C.createElementNS(k,"tspan");w(B,{class:"highcharts-text-outline",fill:G,stroke:G,"stroke-width":F,"stroke-linejoin":"round"}),[].forEach.call(ut.childNodes,function(ht){var tt=ht.cloneNode(!0);tt.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(ct){return tt.removeAttribute(ct)}),B.appendChild(tt)});var st=C.createElementNS(k,"tspan");st.textContent="\u200B",["x","y"].forEach(function(ht){var tt=ut.getAttribute(ht);tt&&st.setAttribute(ht,tt)}),B.appendChild(st),ut.insertBefore(B,ut.firstChild)}},rt.prototype.attr=function(G,ut,F,B){var st=this.element,ht=this.symbolCustomAttribs,tt,ct=this,U,J;if(typeof G=="string"&&typeof ut!="undefined"){var K=G;G={},G[K]=ut}return typeof G=="string"?ct=(this[G+"Getter"]||this._defaultGetter).call(this,G,st):(c(G,function(q,at){U=!1,B||A(this,at),this.symbolName&&ht.indexOf(at)!==-1&&(tt||(this.symbolAttr(G),tt=!0),U=!0),!this.rotation||at!=="x"&&at!=="y"||(this.doTransform=!0),U||(J=this[at+"Setter"]||this._defaultSetter,J.call(this,q,at,st),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(at)&&this.updateShadows(at,q,J))},this),this.afterSetters()),F&&F.call(this),ct},rt.prototype.clip=function(G){return this.attr("clip-path",G?"url("+this.renderer.url+"#"+G.id+")":"none")},rt.prototype.crisp=function(G,ut){ut=ut||G.strokeWidth||0;var F=Math.round(ut)%2/2;return G.x=Math.floor(G.x||this.x||0)+F,G.y=Math.floor(G.y||this.y||0)+F,G.width=Math.floor((G.width||this.width||0)-2*F),G.height=Math.floor((G.height||this.height||0)-2*F),p(G.strokeWidth)&&(G.strokeWidth=ut),G},rt.prototype.complexColor=function(G,ut,F){var B=this.renderer,st,ht,tt,ct,U,J,K,q,at,bt,mt=[],Ct;m(this.renderer,"complexColor",{args:arguments},function(){if(G.radialGradient?ht="radialGradient":G.linearGradient&&(ht="linearGradient"),ht){if(tt=G[ht],U=B.gradients,J=G.stops,at=F.radialReference,x(tt)&&(G[ht]=tt={x1:tt[0],y1:tt[1],x2:tt[2],y2:tt[3],gradientUnits:"userSpaceOnUse"}),ht==="radialGradient"&&at&&!p(tt.gradientUnits)&&(ct=tt,tt=R(tt,B.getRadialAttr(at,ct),{gradientUnits:"userSpaceOnUse"})),c(tt,function(Nt,Ft){Ft!=="id"&&mt.push(Ft,Nt)}),c(J,function(Nt){mt.push(Nt)}),mt=mt.join(","),U[mt])bt=U[mt].attr("id");else{tt.id=bt=nt();var vt=U[mt]=B.createElement(ht).attr(tt).add(B.defs);vt.radAttr=ct,vt.stops=[],J.forEach(function(Nt){Nt[1].indexOf("rgba")===0?(st=Y.parse(Nt[1]),K=st.get("rgb"),q=st.get("a")):(K=Nt[1],q=1),Nt=B.createElement("stop").attr({offset:Nt[0],"stop-color":K,"stop-opacity":q}).add(vt),vt.stops.push(Nt)})}Ct="url("+B.url+"#"+bt+")",F.setAttribute(ut,Ct),F.gradient=mt,G.toString=function(){return Ct}}})},rt.prototype.css=function(G){var ut=this.styles,F={},B=this.element,st=["textOutline","textOverflow","width"],ht="",tt=!ut;if(G&&G.color&&(G.fill=G.color),ut&&c(G,function(J,K){ut&&ut[K]!==J&&(F[K]=J,tt=!0)}),tt){if(ut&&(G=P(ut,F)),G){if(G.width===null||G.width==="auto")delete this.textWidth;else if(B.nodeName.toLowerCase()==="text"&&G.width)var ct=this.textWidth=L(G.width)}if(this.styles=G,ct&&!o&&this.renderer.forExport&&delete G.width,B.namespaceURI===this.SVG_NS){var U=function(J,K){return"-"+K.toLowerCase()};c(G,function(J,K){st.indexOf(K)===-1&&(ht+=K.replace(/([A-Z])/g,U)+":"+J+";")}),ht&&w(B,"style",ht)}else g(B,G);this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),G&&G.textOutline&&this.applyTextOutline(G.textOutline))}return this},rt.prototype.dashstyleSetter=function(G){var ut=this["stroke-width"];if(ut==="inherit"&&(ut=1),G=G&&G.toLowerCase()){var F=G.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(G=F.length;G--;)F[G]=""+L(F[G])*E(ut,NaN);G=F.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",G)}},rt.prototype.destroy=function(){var G=this,ut=G.element||{},F=G.renderer,B=ut.ownerSVGElement,st=F.isSVG&&ut.nodeName==="SPAN"&&G.parentGroup||void 0;if(ut.onclick=ut.onmouseout=ut.onmouseover=ut.onmousemove=ut.point=null,A(G),G.clipPath&&B){var ht=G.clipPath;[].forEach.call(B.querySelectorAll("[clip-path],[CLIP-PATH]"),function(tt){-1K.width)&&(K={width:0,height:0})}else K=this.htmlGetBBox();if(F.isSVG&&(G=K.width,F=K.height,U&&(K.height=F={"11px,17":14,"13px,20":16}[st&&st.fontSize+","+Math.round(F)]||F),ut&&(st=ut*D,K.width=Math.abs(F*Math.sin(st))+Math.abs(G*Math.cos(st)),K.height=Math.abs(F*Math.cos(st))+Math.abs(G*Math.sin(st)))),q&&(ht===""||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},rt.prototype.toFront=function(){var G=this.element;return G.parentNode.appendChild(G),this},rt.prototype.translate=function(G,ut){return this.attr({translateX:G,translateY:ut})},rt.prototype.updateShadows=function(G,ut,F){var B=this.shadows;if(B)for(var st=B.length;st--;)F.call(B[st],G==="height"?Math.max(ut-(B[st].cutHeight||0),0):G==="d"?this.d:ut,G,B[st])},rt.prototype.updateTransform=function(){var G=this.scaleX,ut=this.scaleY,F=this.inverted,B=this.rotation,st=this.matrix,ht=this.element,tt=this.translateX||0,ct=this.translateY||0;F&&(tt+=this.width,ct+=this.height),tt=["translate("+tt+","+ct+")"],p(st)&&tt.push("matrix("+st.join(",")+")"),F?tt.push("rotate(90) scale(-1,1)"):B&&tt.push("rotate("+B+" "+E(this.rotationOriginX,ht.getAttribute("x"),0)+" "+E(this.rotationOriginY,ht.getAttribute("y")||0)+")"),(p(G)||p(ut))&&tt.push("scale("+E(G,1)+" "+E(ut,1)+")"),tt.length&&ht.setAttribute("transform",tt.join(" "))},rt.prototype.visibilitySetter=function(G,ut,F){G==="inherit"?F.removeAttribute(ut):this[ut]!==G&&F.setAttribute(ut,G),this[ut]=G},rt.prototype.xGetter=function(G){return this.element.nodeName==="circle"&&(G==="x"?G="cx":G==="y"&&(G="cy")),this._defaultGetter(G)},rt.prototype.zIndexSetter=function(G,ut){var F=this.renderer,B=this.parentGroup,st=(B||F).element||F.box,ht=this.element;F=st===F.box;var tt=!1,ct=this.added,U;if(p(G)?(ht.setAttribute("data-z-index",G),G=+G,this[ut]===G&&(ct=!1)):p(this[ut])&&ht.removeAttribute("data-z-index"),this[ut]=G,ct){for((G=this.zIndex)&&B&&(B.handleZ=!0),ut=st.childNodes,U=ut.length-1;0<=U&&!tt;U--){B=ut[U],ct=B.getAttribute("data-z-index");var J=!p(ct);B!==ht&&(0>G&&J&&!F&&!U?(st.insertBefore(ht,ut[U]),tt=!0):(L(ct)<=G||J&&(!p(G)||0<=G))&&(st.insertBefore(ht,ut[U+1]||null),tt=!0))}tt||(st.insertBefore(ht,ut[F?3:0]||null),tt=!0)}return tt},rt}(),T.prototype["stroke-widthSetter"]=T.prototype.strokeSetter,T.prototype.yGetter=T.prototype.xGetter,T.prototype.matrixSetter=T.prototype.rotationOriginXSetter=T.prototype.rotationOriginYSetter=T.prototype.rotationSetter=T.prototype.scaleXSetter=T.prototype.scaleYSetter=T.prototype.translateXSetter=T.prototype.translateYSetter=T.prototype.verticalAlignSetter=function(rt,G){this[G]=rt,this.doTransform=!0},T}),W(u,"Core/Renderer/RendererRegistry.js",[u["Core/Globals.js"]],function(T){var I;return function(Y){Y.rendererTypes={};var X;Y.getRendererType=function(Z){return Z===void 0&&(Z=X),Y.rendererTypes[Z]||Y.rendererTypes[X]},Y.registerRendererType=function(Z,H,_){Y.rendererTypes[Z]=H,(!X||_)&&(X=Z,T.Renderer=H)}}(I||(I={})),I}),W(u,"Core/Renderer/SVG/SVGLabel.js",[u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(T,I){var Y=this&&this.__extends||function(){var D=function(C,d){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,k){o.__proto__=k}||function(o,k){for(var S in k)k.hasOwnProperty(S)&&(o[S]=k[S])},D(C,d)};return function(C,d){function o(){this.constructor=C}D(C,d),C.prototype=d===null?Object.create(d):(o.prototype=d.prototype,new o)}}(),X=I.defined,Z=I.extend,H=I.isNumber,_=I.merge,j=I.pick,A=I.removeEvent;return function(D){function C(d,o,k,S,h,w,b,g,p,y){var P=D.call(this)||this;P.paddingLeftSetter=P.paddingSetter,P.paddingRightSetter=P.paddingSetter,P.init(d,"g"),P.textStr=o,P.x=k,P.y=S,P.anchorX=w,P.anchorY=b,P.baseline=p,P.className=y,P.addClass(y==="button"?"highcharts-no-tooltip":"highcharts-label"),y&&P.addClass("highcharts-"+y),P.text=d.text(void 0,0,0,g).attr({zIndex:1});var m;return typeof h=="string"&&((m=/^url\((.*?)\)$/.test(h))||P.renderer.symbols[h])&&(P.symbolKey=h),P.bBox=C.emptyBBox,P.padding=3,P.baselineOffset=0,P.needsBox=d.styledMode||m,P.deferredAttr={},P.alignFactor=0,P}return Y(C,D),C.prototype.alignSetter=function(d){d={left:0,center:.5,right:1}[d],d!==this.alignFactor&&(this.alignFactor=d,this.bBox&&H(this.xSetting)&&this.attr({x:this.xSetting}))},C.prototype.anchorXSetter=function(d,o){this.anchorX=d,this.boxAttr(o,Math.round(d)-this.getCrispAdjust()-this.xSetting)},C.prototype.anchorYSetter=function(d,o){this.anchorY=d,this.boxAttr(o,d-this.ySetting)},C.prototype.boxAttr=function(d,o){this.box?this.box.attr(d,o):this.deferredAttr[d]=o},C.prototype.css=function(d){if(d){var o={};d=_(d),C.textProps.forEach(function(S){typeof d[S]!="undefined"&&(o[S]=d[S],delete d[S])}),this.text.css(o);var k="width"in o;"fontSize"in o||"fontWeight"in o?this.updateTextPadding():k&&this.updateBoxSize()}return T.prototype.css.call(this,d)},C.prototype.destroy=function(){A(this.element,"mouseenter"),A(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),T.prototype.destroy.call(this)},C.prototype.fillSetter=function(d,o){d&&(this.needsBox=!0),this.fill=d,this.boxAttr(o,d)},C.prototype.getBBox=function(){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();var d=this.padding,o=j(this.paddingLeft,d);return{width:this.width,height:this.height,x:this.bBox.x-o,y:this.bBox.y-d}},C.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},C.prototype.heightSetter=function(d){this.heightSetting=d},C.prototype.onAdd=function(){var d=this.textStr;this.text.add(this),this.attr({text:X(d)?d:"",x:this.x,y:this.y}),this.box&&X(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},C.prototype.paddingSetter=function(d,o){H(d)?d!==this[o]&&(this[o]=d,this.updateTextPadding()):this[o]=void 0},C.prototype.rSetter=function(d,o){this.boxAttr(o,d)},C.prototype.shadow=function(d){return d&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(d)),this},C.prototype.strokeSetter=function(d,o){this.stroke=d,this.boxAttr(o,d)},C.prototype["stroke-widthSetter"]=function(d,o){d&&(this.needsBox=!0),this["stroke-width"]=d,this.boxAttr(o,d)},C.prototype["text-alignSetter"]=function(d){this.textAlign=d},C.prototype.textSetter=function(d){typeof d!="undefined"&&this.text.attr({text:d}),this.updateTextPadding()},C.prototype.updateBoxSize=function(){var d=this.text.element.style,o={},k=this.padding,S=this.bBox=H(this.widthSetting)&&H(this.heightSetting)&&!this.textAlign||!X(this.text.textStr)?C.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||S.height||0)+2*k,d=this.renderer.fontMetrics(d&&d.fontSize,this.text),this.baselineOffset=k+Math.min((this.text.firstLineMetrics||d).b,S.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-d.h)/2),this.needsBox&&(this.box||(k=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),k.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),k.add(this)),k=this.getCrispAdjust(),o.x=k,o.y=(this.baseline?-this.baselineOffset:0)+k,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(Z(o,this.deferredAttr)),this.deferredAttr={})},C.prototype.updateTextPadding=function(){var d=this.text;this.updateBoxSize();var o=this.baseline?0:this.baselineOffset,k=j(this.paddingLeft,this.padding);X(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(k+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(k!==d.x||o!==d.y)&&(d.attr("x",k),d.hasBoxWidthChanged&&(this.bBox=d.getBBox(!0)),typeof o!="undefined"&&d.attr("y",o)),d.x=k,d.y=o},C.prototype.widthSetter=function(d){this.widthSetting=H(d)?d:void 0},C.prototype.getPaddedWidth=function(){var d=this.padding,o=j(this.paddingLeft,d);return d=j(this.paddingRight,d),(this.widthSetting||this.bBox.width||0)+o+d},C.prototype.xSetter=function(d){this.x=d,this.alignFactor&&(d-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(d),this.attr("translateX",this.xSetting)},C.prototype.ySetter=function(d){this.ySetting=this.y=Math.round(d),this.attr("translateY",this.ySetting)},C.emptyBBox={width:0,height:0,x:0,y:0},C.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),C}(T)}),W(u,"Core/Renderer/SVG/Symbols.js",[u["Core/Utilities.js"]],function(T){function I(j,A,D,C,d){var o=[];if(d){var k=d.start||0,S=_(d.r,D);D=_(d.r,C||D);var h=(d.end||0)-.001;C=d.innerR;var w=_(d.open,.001>Math.abs((d.end||0)-k-2*Math.PI)),b=Math.cos(k),g=Math.sin(k),p=Math.cos(h),y=Math.sin(h);k=_(d.longArc,.001>h-k-Math.PI?0:1),o.push(["M",j+S*b,A+D*g],["A",S,D,0,k,_(d.clockwise,1),j+S*p,A+D*y]),Z(C)&&o.push(w?["M",j+C*p,A+C*y]:["L",j+C*p,A+C*y],["A",C,C,0,k,Z(d.clockwise)?1-d.clockwise:0,j+C*b,A+C*g]),w||o.push(["Z"])}return o}function Y(j,A,D,C,d){return d&&d.r?X(j,A,D,C,d):[["M",j,A],["L",j+D,A],["L",j+D,A+C],["L",j,A+C],["Z"]]}function X(j,A,D,C,d){return d=d&&d.r||0,[["M",j+d,A],["L",j+D-d,A],["C",j+D,A,j+D,A,j+D,A+d],["L",j+D,A+C-d],["C",j+D,A+C,j+D,A+C,j+D-d,A+C],["L",j+d,A+C],["C",j,A+C,j,A+C,j,A+C-d],["L",j,A+d],["C",j,A,j,A,j+d,A]]}var Z=T.defined,H=T.isNumber,_=T.pick;return{arc:I,callout:function(j,A,D,C,d){var o=Math.min(d&&d.r||0,D,C),k=o+6,S=d&&d.anchorX;d=d&&d.anchorY||0;var h=X(j,A,D,C,{r:o});return H(S)&&(j+S>=D?d>A+k&&d=j+S?d>A+k&&dC&&S>j+k&&Sd&&S>j+k&&S/g,b=[k,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(b!==C.textCache){for(C.textCache=b,delete C.actualWidth,b=h.length;b--;)d.removeChild(h[b]);S||this.ellipsis||this.width||k.indexOf(" ")!==-1&&(!this.noWrap||w.test(k))?k!==""&&(o&&o.appendChild(d),k=new T(k),this.modifyTree(k.nodes),k.addToDOM(C.element),this.modifyDOM(),this.ellipsis&&(d.textContent||"").indexOf("\u2026")!==-1&&C.attr("title",this.unescapeEntities(C.textStr||"",["<",">"])),o&&o.removeChild(d)):d.appendChild(X.createTextNode(this.unescapeEntities(k))),_(this.textOutline)&&C.applyTextOutline&&C.applyTextOutline(this.textOutline)}},D.prototype.modifyDOM=function(){var C=this,d=this.svgElement,o=H(d.element,"x");d.firstLineMetrics=void 0;for(var k;(k=d.element.firstChild)&&/^[\s\u200B]*$/.test(k.textContent||" ");)d.element.removeChild(k);[].forEach.call(d.element.querySelectorAll("tspan.highcharts-br"),function(b,g){b.nextSibling&&b.previousSibling&&(g===0&&b.previousSibling.nodeType===1&&(d.firstLineMetrics=d.renderer.fontMetrics(void 0,b.previousSibling)),H(b,{dy:C.getLineHeight(b.nextSibling),x:o}))});var S=this.width||0;if(S){var h=function(b,g){var p=b.textContent||"",y=p.replace(/([^\^])-/g,"$1- ").split(" "),P=!C.noWrap&&(1S){for(;y<=P;)m=Math.ceil((y+P)/2),o&&(x=h(o,m)),s=l(m,x&&x.length-1),y===P?y=P+1:s>S?P=m-1:y=m;P===0?C.textContent="":d&&P===d.length-1||(C.textContent=x||h(d||o,m))}o&&o.splice(0,m),w.actualWidth=s,w.rotation=g},D.prototype.unescapeEntities=function(C,d){return j(this.renderer.escapes,function(o,k){d&&d.indexOf(o)!==-1||(C=C.toString().replace(new RegExp(o,"g"),k))}),C},D}()}),W(u,"Core/Renderer/SVG/SVGRenderer.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Color/Palette.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGLabel.js"],u["Core/Renderer/SVG/Symbols.js"],u["Core/Renderer/SVG/TextBuilder.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A,D){var C=Y.charts,d=Y.deg2rad,o=Y.doc,k=Y.isFirefox,S=Y.isMS,h=Y.isWebKit,w=Y.noop,b=Y.SVG_NS,g=Y.symbolSizes,p=Y.win,y=D.addEvent,P=D.attr,m=D.createElement,x=D.css,l=D.defined,s=D.destroyObjectProperties,N=D.extend,R=D.isArray,c=D.isNumber,E=D.isObject,L=D.isString,et=D.merge,nt=D.pick,rt=D.pInt,G=D.uniqueKey,ut;return Y=function(){function F(B,st,ht,tt,ct,U,J){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(B,st,ht,tt,ct,U,J)}return F.prototype.init=function(B,st,ht,tt,ct,U,J){var K=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),q=K.element;J||K.css(this.getStyle(tt)),B.appendChild(q),P(B,"dir","ltr"),B.innerHTML.indexOf("xmlns")===-1&&P(q,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=q,this.boxWrapper=K,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(o.createTextNode("Created with Highcharts 9.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=U,this.forExport=ct,this.styledMode=J,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(st,ht,!1);var at;k&&B.getBoundingClientRect&&(st=function(){x(B,{left:0,top:0}),at=B.getBoundingClientRect(),x(B,{left:Math.ceil(at.left)-at.left+"px",top:Math.ceil(at.top)-at.top+"px"})},st(),this.unSubPixelFix=y(p,"resize",st))},F.prototype.definition=function(B){return new T([B]).addToDOM(this.defs.element)},F.prototype.getReferenceURL=function(){if((k||h)&&o.getElementsByTagName("base").length){if(!l(ut)){var B=G();B=new T([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:B},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+B+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(o.body),x(B,{position:"fixed",top:0,left:0,zIndex:9e5});var st=o.elementFromPoint(6,6);ut=(st&&st.id)==="hitme",o.body.removeChild(B)}if(ut)return p.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},F.prototype.getStyle=function(B){return this.style=N({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},B)},F.prototype.setStyle=function(B){this.boxWrapper.css(this.getStyle(B))},F.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},F.prototype.destroy=function(){var B=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),s(this.gradients||{}),this.gradients=null,B&&(this.defs=B.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},F.prototype.createElement=function(B){var st=new this.Element;return st.init(this,B),st},F.prototype.getRadialAttr=function(B,st){return{cx:B[0]-B[2]/2+(st.cx||0)*B[2],cy:B[1]-B[2]/2+(st.cy||0)*B[2],r:(st.r||0)*B[2]}},F.prototype.buildText=function(B){new A(B).buildSVG()},F.prototype.getContrast=function(B){return B=I.parse(B).rgba,B[0]*=1,B[1]*=1.2,B[2]*=.5,459B?B+3:Math.round(1.2*B),{h:st,b:Math.round(.8*st),f:B}},F.prototype.rotCorr=function(B,st,ht){var tt=B;return st&&ht&&(tt=Math.max(tt*Math.cos(st*d),4)),{x:-B/3*Math.sin(st*d),y:tt}},F.prototype.pathToSegments=function(B){for(var st=[],ht=[],tt={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},ct=0;ct":">","'":"'",'"':"""},symbols:j,draw:w}),Z.registerRendererType("svg",Y,!0),Y}),W(u,"Core/Renderer/HTML/HTMLElement.js",[u["Core/Globals.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=this&&this.__extends||function(){var k=function(S,h){return k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var g in b)b.hasOwnProperty(g)&&(w[g]=b[g])},k(S,h)};return function(S,h){function w(){this.constructor=S}k(S,h),S.prototype=h===null?Object.create(h):(w.prototype=h.prototype,new w)}}(),Z=T.isFirefox,H=T.isMS,_=T.isWebKit,j=T.win,A=Y.css,D=Y.defined,C=Y.extend,d=Y.pick,o=Y.pInt;return function(k){function S(){return k!==null&&k.apply(this,arguments)||this}return X(S,k),S.compose=function(h){if(S.composedClasses.indexOf(h)===-1){S.composedClasses.push(h);var w=S.prototype,b=h.prototype;b.getSpanCorrection=w.getSpanCorrection,b.htmlCss=w.htmlCss,b.htmlGetBBox=w.htmlGetBBox,b.htmlUpdateTransform=w.htmlUpdateTransform,b.setSpanRotation=w.setSpanRotation}return h},S.prototype.getSpanCorrection=function(h,w,b){this.xCorr=-h*b,this.yCorr=-w},S.prototype.htmlCss=function(h){var w=this.element.tagName==="SPAN"&&h&&"width"in h,b=d(w&&h.width,void 0);if(w){delete h.width,this.textWidth=b;var g=!0}return h&&h.textOverflow==="ellipsis"&&(h.whiteSpace="nowrap",h.overflow="hidden"),this.styles=C(this.styles,h),A(this.element,h),g&&this.htmlUpdateTransform(),this},S.prototype.htmlGetBBox=function(){var h=this.element;return{x:h.offsetLeft,y:h.offsetTop,width:h.offsetWidth,height:h.offsetHeight}},S.prototype.htmlUpdateTransform=function(){if(this.added){var h=this.renderer,w=this.element,b=this.translateX||0,g=this.translateY||0,p=this.x||0,y=this.y||0,P=this.textAlign||"left",m={left:0,center:.5,right:1}[P],x=this.styles;if(x=x&&x.whiteSpace,A(w,{marginLeft:b,marginTop:g}),!h.styledMode&&this.shadows&&this.shadows.forEach(function(c){A(c,{marginLeft:b+1,marginTop:g+1})}),this.inverted&&[].forEach.call(w.childNodes,function(c){h.invertChild(c,w)}),w.tagName==="SPAN"){var l=this.rotation,s=this.textWidth&&o(this.textWidth),N=[l,P,w.innerHTML,this.textWidth,this.textAlign].join(),R=void 0;(R=s!==this.oldTextWidth)&&!(R=s>this.oldTextWidth)&&((R=this.textPxLength)||(A(w,{width:"",whiteSpace:x||"nowrap"}),R=w.offsetWidth),R=R>s),R&&(/[ \-]/.test(w.textContent||w.innerText)||w.style.textOverflow==="ellipsis")?(A(w,{width:s+"px",display:"block",whiteSpace:x||"normal"}),this.oldTextWidth=s,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,N!==this.cTT&&(R=h.fontMetrics(w.style.fontSize,w).b,!D(l)||l===(this.oldRotation||0)&&P===this.oldAlign||this.setSpanRotation(l,m,R),this.getSpanCorrection(!D(l)&&this.textPxLength||w.offsetWidth,R,m,l,P)),A(w,{left:p+(this.xCorr||0)+"px",top:y+(this.yCorr||0)+"px"}),this.cTT=N,this.oldRotation=l,this.oldAlign=P}}else this.alignOnAdd=!0},S.prototype.setSpanRotation=function(h,w,b){var g={},p=H&&!/Edge/.test(j.navigator.userAgent)?"-ms-transform":_?"-webkit-transform":Z?"MozTransform":j.opera?"-o-transform":void 0;p&&(g[p]=g.transform="rotate("+h+"deg)",g[p+(Z?"Origin":"-origin")]=g.transformOrigin=100*w+"% "+b+"px",A(this.element,g))},S.composedClasses=[],S}(I)}),W(u,"Core/Renderer/HTML/HTMLRenderer.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Utilities.js"]],function(T,I,Y,X){var Z=this&&this.__extends||function(){var D=function(C,d){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,k){o.__proto__=k}||function(o,k){for(var S in k)k.hasOwnProperty(S)&&(o[S]=k[S])},D(C,d)};return function(C,d){function o(){this.constructor=C}D(C,d),C.prototype=d===null?Object.create(d):(o.prototype=d.prototype,new o)}}(),H=X.attr,_=X.createElement,j=X.extend,A=X.pick;return function(D){function C(){return D!==null&&D.apply(this,arguments)||this}return Z(C,D),C.compose=function(d){return C.composedClasses.indexOf(d)===-1&&(C.composedClasses.push(d),d.prototype.html=C.prototype.html),d},C.prototype.html=function(d,o,k){var S=this.createElement("span"),h=S.element,w=S.renderer,b=w.isSVG,g=function(p,y){["opacity","visibility"].forEach(function(P){p[P+"Setter"]=function(m,x,l){var s=p.div?p.div.style:y;I.prototype[P+"Setter"].call(this,m,x,l),s&&(s[x]=m)}}),p.addedSetters=!0};return S.textSetter=function(p){p!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,T.setElementHTML(this.element,A(p,"")),this.textStr=p,S.doTransform=!0)},b&&g(S,S.element.style),S.xSetter=S.ySetter=S.alignSetter=S.rotationSetter=function(p,y){y==="align"?S.alignValue=S.textAlign=p:S[y]=p,S.doTransform=!0},S.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},S.attr({text:d,x:Math.round(o),y:Math.round(k)}).css({position:"absolute"}),w.styledMode||S.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),h.style.whiteSpace="nowrap",S.css=S.htmlCss,b&&(S.add=function(p){var y=w.box.parentNode,P=[];if(this.parentGroup=p){var m=p.div;if(!m){for(;p;)P.push(p),p=p.parentGroup;P.reverse().forEach(function(x){function l(c,E){x[E]=c,E==="translateX"?R.left=c+"px":R.top=c+"px",x.doTransform=!0}var s=H(x.element,"class"),N=x.styles||{};m=x.div=x.div||_("div",s?{className:s}:void 0,{position:"absolute",left:(x.translateX||0)+"px",top:(x.translateY||0)+"px",display:x.display,opacity:x.opacity,cursor:N.cursor,pointerEvents:N.pointerEvents,visibility:x.visibility},m||y);var R=m.style;j(x,{classSetter:function(c){return function(E){this.element.setAttribute("class",E),c.className=E}}(m),on:function(){return P[0].div&&S.on.apply({element:P[0].div,onEvents:x.onEvents},arguments),x},translateXSetter:l,translateYSetter:l}),x.addedSetters||g(x)})}}else m=y;return m.appendChild(h),S.added=!0,S.alignOnAdd&&S.htmlUpdateTransform(),S}),S},C.composedClasses=[],C}(Y)}),W(u,"Core/Axis/AxisDefaults.js",[u["Core/Color/Palette.js"]],function(T){var I;return function(Y){Y.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:T.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:T.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:T.neutralColor5,minorGridLineWidth:1,minorTickColor:T.neutralColor40,lineColor:T.highlightColor20,lineWidth:1,gridLineColor:T.neutralColor10,gridLineWidth:void 0,tickColor:T.highlightColor20},Y.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var X=this.axis.chart.numberFormatter;return X(this.total,-1)},style:{color:T.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},Y.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},Y.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},Y.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},Y.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(I||(I={})),I}),W(u,"Core/Foundation.js",[u["Core/Utilities.js"]],function(T){var I=T.addEvent,Y=T.isFunction,X=T.objectEach,Z=T.removeEvent;return{registerEventOptions:function(H,_){H.eventOptions=H.eventOptions||{},X(_.events,function(j,A){H.eventOptions[A]!==j&&(H.eventOptions[A]&&(Z(H,A,H.eventOptions[A]),delete H.eventOptions[A]),Y(j)&&(H.eventOptions[A]=j,I(H,A,j)))})}}}),W(u,"Core/Axis/Tick.js",[u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=I.deg2rad,Z=Y.clamp,H=Y.correctFloat,_=Y.defined,j=Y.destroyObjectProperties,A=Y.extend,D=Y.fireEvent,C=Y.isNumber,d=Y.merge,o=Y.objectEach,k=Y.pick;return I=function(){function S(h,w,b,g,p){this.isNewLabel=this.isNew=!0,this.axis=h,this.pos=w,this.type=b||"",this.parameters=p||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,D(this,"init"),b||g||this.addLabel()}return S.prototype.addLabel=function(){var h=this,w=h.axis,b=w.options,g=w.chart,p=w.categories,y=w.logarithmic,P=w.names,m=h.pos,x=k(h.options&&h.options.labels,b.labels),l=w.tickPositions,s=m===l[0],N=m===l[l.length-1],R=(!x.step||x.step===1)&&w.tickInterval===1;l=l.info;var c=h.label,E;if(p=this.parameters.category||(p?k(p[m],P[m],m):m),y&&C(p)&&(p=H(y.lin2log(p))),w.dateTime)if(l)var L=g.time.resolveDTLFormat(b.dateTimeLabelFormats[!b.grid&&l.higherRanks[m]||l.unitName]),et=L.main;else C(p)&&(et=w.dateTime.getXDateFormat(p,b.dateTimeLabelFormats||{}));h.isFirst=s,h.isLast=N;var nt={axis:w,chart:g,dateTimeLabelFormat:et,isFirst:s,isLast:N,pos:m,tick:h,tickPositionInfo:l,value:p};D(this,"labelFormat",nt);var rt=function(ut){return x.formatter?x.formatter.call(ut,ut):x.format?(ut.text=w.defaultLabelFormatter.call(ut),T.format(x.format,ut,g)):w.defaultLabelFormatter.call(ut,ut)};b=rt.call(nt,nt);var G=L&&L.list;h.shortenLabel=G?function(){for(E=0;Ex&&g-l*sy&&(L=Math.round((p-g)/Math.cos(x*X))):(p=g+(1-l)*s,g-l*sy&&(c=y-h.x+c*l,E=-1),c=Math.min(N,c),cc||w.autoRotation&&(m.styles||{}).width)&&(L=c)),L&&(this.shortenLabel?this.shortenLabel():(R.width=Math.floor(L)+"px",(b.style||{}).textOverflow||(R.textOverflow="ellipsis"),m.css(R)))},S.prototype.moveLabel=function(h,w){var b=this,g=b.label,p=b.axis,y=p.reversed,P=!1;if(g&&g.textStr===h?(b.movedLabel=g,P=!0,delete b.label):o(p.ticks,function(x){P||x.isNew||x===b||!x.label||x.label.textStr!==h||(b.movedLabel=x.label,P=!0,x.labelPos=b.movedLabel.xy,delete x.label)}),!P&&(b.labelPos||g)){var m=b.labelPos||g.xy;g=p.horiz?y?0:p.width+p.left:m.x,p=p.horiz?m.y:y?p.width+p.left:0,b.movedLabel=b.createLabel({x:g,y:p},h,w),b.movedLabel&&b.movedLabel.attr({opacity:0})}},S.prototype.render=function(h,w,b){var g=this.axis,p=g.horiz,y=this.pos,P=k(this.tickmarkOffset,g.tickmarkOffset);y=this.getPosition(p,y,P,w),P=y.x;var m=y.y;g=p&&P===g.pos+g.len||!p&&m===g.pos?-1:1,p=k(b,this.label&&this.label.newOpacity,1),b=k(b,1),this.isActive=!0,this.renderGridLine(w,b,g),this.renderMark(y,b,g),this.renderLabel(y,w,p,h),this.isNew=!1,D(this,"afterRender")},S.prototype.renderGridLine=function(h,w,b){var g=this.axis,p=g.options,y={},P=this.pos,m=this.type,x=k(this.tickmarkOffset,g.tickmarkOffset),l=g.chart.renderer,s=this.gridLine,N=p.gridLineWidth,R=p.gridLineColor,c=p.gridLineDashStyle;this.type==="minor"&&(N=p.minorGridLineWidth,R=p.minorGridLineColor,c=p.minorGridLineDashStyle),s||(g.chart.styledMode||(y.stroke=R,y["stroke-width"]=N||0,y.dashstyle=c),m||(y.zIndex=1),h&&(w=0),this.gridLine=s=l.path().attr(y).addClass("highcharts-"+(m?m+"-":"")+"grid-line").add(g.gridGroup)),s&&(b=g.getPlotLinePath({value:P+x,lineWidth:s.strokeWidth()*b,force:"pass",old:h}))&&s[h||this.isNew?"attr":"animate"]({d:b,opacity:w})},S.prototype.renderMark=function(h,w,b){var g=this.axis,p=g.options,y=g.chart.renderer,P=this.type,m=g.tickSize(P?P+"Tick":"tick"),x=h.x;h=h.y;var l=k(p[P!=="minor"?"tickWidth":"minorTickWidth"],!P&&g.isXAxis?1:0);p=p[P!=="minor"?"tickColor":"minorTickColor"];var s=this.mark,N=!s;m&&(g.opposite&&(m[0]=-m[0]),s||(this.mark=s=y.path().addClass("highcharts-"+(P?P+"-":"")+"tick").add(g.axisGroup),g.chart.styledMode||s.attr({stroke:p,"stroke-width":l})),s[N?"attr":"animate"]({d:this.getMarkPath(x,h,m[0],s.strokeWidth()*b,g.horiz,y),opacity:w}))},S.prototype.renderLabel=function(h,w,b,g){var p=this.axis,y=p.horiz,P=p.options,m=this.label,x=P.labels,l=x.step;p=k(this.tickmarkOffset,p.tickmarkOffset);var s=h.x;h=h.y;var N=!0;m&&C(s)&&(m.xy=h=this.getLabelPosition(s,h,m,y,x,p,g,l),this.isFirst&&!this.isLast&&!P.showFirstLabel||this.isLast&&!this.isFirst&&!P.showLastLabel?N=!1:!y||x.step||x.rotation||w||b===0||this.handleOverflow(h),l&&g%l&&(N=!1),N&&C(h.y)?(h.opacity=b,m[this.isNewLabel?"attr":"animate"](h),this.isNewLabel=!1):(m.attr("y",-9999),this.isNewLabel=!0))},S.prototype.replaceMovedLabel=function(){var h=this.label,w=this.axis,b=w.reversed;if(h&&!this.isNew){var g=w.horiz?b?w.left:w.width+w.left:h.xy.x;b=w.horiz?h.xy.y:b?w.width+w.top:w.top,h.animate({x:g,y:b,opacity:0},void 0,h.destroy),delete this.label}w.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},S}(),I}),W(u,"Core/Axis/Axis.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/AxisDefaults.js"],u["Core/Color/Color.js"],u["Core/Color/Palette.js"],u["Core/DefaultOptions.js"],u["Core/Foundation.js"],u["Core/Globals.js"],u["Core/Axis/Tick.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A){var D=T.animObject,C=Z.defaultOptions,d=H.registerEventOptions,o=_.deg2rad,k=A.arrayMax,S=A.arrayMin,h=A.clamp,w=A.correctFloat,b=A.defined,g=A.destroyObjectProperties,p=A.erase,y=A.error,P=A.extend,m=A.fireEvent,x=A.getMagnitude,l=A.isArray,s=A.isNumber,N=A.isString,R=A.merge,c=A.normalizeTickInterval,E=A.objectEach,L=A.pick,et=A.relativeLength,nt=A.removeEvent,rt=A.splat,G=A.syncTimeout;return T=function(){function ut(F,B){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(F,B)}return ut.prototype.init=function(F,B){var st=B.isX;this.chart=F,this.horiz=F.inverted&&!this.isZAxis?!st:st,this.isXAxis=st,this.coll=this.coll||(st?"xAxis":"yAxis"),m(this,"init",{userOptions:B}),this.opposite=L(B.opposite,this.opposite),this.side=L(B.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(B);var ht=this.options,tt=ht.labels,ct=ht.type;this.userOptions=B,this.minPixelPadding=0,this.reversed=L(ht.reversed,this.reversed),this.visible=ht.visible,this.zoomEnabled=ht.zoomEnabled,this.hasNames=ct==="category"||ht.categories===!0,this.categories=ht.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(ht.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=ht.minRange||ht.maxZoom,this.range=ht.range,this.offset=ht.offset||0,this.min=this.max=null,B=L(ht.crosshair,rt(F.options.tooltip.crosshairs)[st?0:1]),this.crosshair=B===!0?{}:B,F.axes.indexOf(this)===-1&&(st?F.axes.splice(F.xAxis.length,0,this):F.axes.push(this),F[this.coll].push(this)),this.series=this.series||[],F.inverted&&!this.isZAxis&&st&&typeof this.reversed=="undefined"&&(this.reversed=!0),this.labelRotation=s(tt.rotation)?tt.rotation:void 0,d(this,ht),m(this,"afterInit")},ut.prototype.setOptions=function(F){this.options=R(I.defaultXAxisOptions,this.coll==="yAxis"&&I.defaultYAxisOptions,[I.defaultTopAxisOptions,I.defaultRightAxisOptions,I.defaultBottomAxisOptions,I.defaultLeftAxisOptions][this.side],R(C[this.coll],F)),m(this,"afterSetOptions",{userOptions:F})},ut.prototype.defaultLabelFormatter=function(F){var B=this.axis;F=this.chart.numberFormatter;var st=s(this.value)?this.value:NaN,ht=B.chart.time,tt=this.dateTimeLabelFormat,ct=C.lang,U=ct.numericSymbols;ct=ct.numericSymbolMagnitude||1e3;var J=B.logarithmic?Math.abs(st):B.tickInterval,K=U&&U.length;if(B.categories)var q=""+this.value;else if(tt)q=ht.dateFormat(tt,st);else if(K&&1e3<=J)for(;K--&&typeof q=="undefined";)B=Math.pow(ct,K+1),J>=B&&10*st%B===0&&U[K]!==null&&st!==0&&(q=F(st/B,-1)+U[K]);return typeof q=="undefined"&&(q=1e4<=Math.abs(st)?F(st,-1):F(st,-1,void 0,"")),q},ut.prototype.getSeriesExtremes=function(){var F=this,B=F.chart,st;m(this,"getSeriesExtremes",null,function(){F.hasVisibleSeries=!1,F.dataMin=F.dataMax=F.threshold=null,F.softThreshold=!F.isXAxis,F.stacking&&F.stacking.buildStacks(),F.series.forEach(function(ht){if(ht.visible||!B.options.chart.ignoreHiddenSeries){var tt=ht.options,ct=tt.threshold;if(F.hasVisibleSeries=!0,F.positiveValuesOnly&&0>=ct&&(ct=null),F.isXAxis){if(tt=ht.xData,tt.length){tt=F.logarithmic?tt.filter(F.validatePositiveValue):tt,st=ht.getXExtremes(tt);var U=st.min,J=st.max;s(U)||U instanceof Date||(tt=tt.filter(s),st=ht.getXExtremes(tt),U=st.min,J=st.max),tt.length&&(F.dataMin=Math.min(L(F.dataMin,U),U),F.dataMax=Math.max(L(F.dataMax,J),J))}}else ht=ht.applyExtremes(),s(ht.dataMin)&&(U=ht.dataMin,F.dataMin=Math.min(L(F.dataMin,U),U)),s(ht.dataMax)&&(J=ht.dataMax,F.dataMax=Math.max(L(F.dataMax,J),J)),b(ct)&&(F.threshold=ct),(!tt.softThreshold||F.positiveValuesOnly)&&(F.softThreshold=!1)}})}),m(this,"afterGetSeriesExtremes")},ut.prototype.translate=function(F,B,st,ht,tt,ct){var U=this.linkedParent||this,J=ht&&U.old?U.old.min:U.min,K=U.minPixelPadding;tt=(U.isOrdinal||U.brokenAxis&&U.brokenAxis.hasBreaks||U.logarithmic&&tt)&&U.lin2val;var q=1,at=0;return ht=ht&&U.old?U.old.transA:U.transA,ht||(ht=U.transA),st&&(q*=-1,at=U.len),U.reversed&&(q*=-1,at-=q*(U.sector||U.len)),B?(F=(F*q+at-K)/ht+J,tt&&(F=U.lin2val(F))):(tt&&(F=U.val2lin(F)),F=s(J)?q*(F-J)*ht+at+q*K+(s(ct)?ht*ct:0):void 0),F},ut.prototype.toPixels=function(F,B){return this.translate(F,!1,!this.horiz,null,!0)+(B?0:this.pos)},ut.prototype.toValue=function(F,B){return this.translate(F-(B?0:this.pos),!0,!this.horiz,null,!0)},ut.prototype.getPlotLinePath=function(F){function B(St,pt,Pt){return(Ct!=="pass"&&StPt)&&(Ct?St=h(St,pt,Pt):At=!0),St}var st=this,ht=st.chart,tt=st.left,ct=st.top,U=F.old,J=F.value,K=F.lineWidth,q=U&&ht.oldChartHeight||ht.chartHeight,at=U&&ht.oldChartWidth||ht.chartWidth,bt=st.transB,mt=F.translatedValue,Ct=F.force,vt,Nt,Ft,Ot,At;return F={value:J,lineWidth:K,old:U,force:Ct,acrossPanes:F.acrossPanes,translatedValue:mt},m(this,"getPlotLinePath",F,function(St){mt=L(mt,st.translate(J,null,null,U)),mt=h(mt,-1e5,1e5),vt=Ft=Math.round(mt+bt),Nt=Ot=Math.round(q-mt-bt),s(mt)?st.horiz?(Nt=ct,Ot=q-st.bottom,vt=Ft=B(vt,tt,tt+st.width)):(vt=tt,Ft=at-st.right,Nt=Ot=B(Nt,ct,ct+st.height)):(At=!0,Ct=!1),St.path=At&&!Ct?null:ht.renderer.crispLine([["M",vt,Nt],["L",Ft,Ot]],K||1)}),F.path},ut.prototype.getLinearTickPositions=function(F,B,st){var ht=w(Math.floor(B/F)*F);st=w(Math.ceil(st/F)*F);var tt=[],ct;if(w(ht+F)===ht&&(ct=20),this.single)return[B];for(B=ht;B<=st&&(tt.push(B),B=w(B+F,ct),B!==U);)var U=B;return tt},ut.prototype.getMinorTickInterval=function(){var F=this.options;return F.minorTicks===!0?L(F.minorTickInterval,"auto"):F.minorTicks===!1?null:F.minorTickInterval},ut.prototype.getMinorTickPositions=function(){var F=this.options,B=this.tickPositions,st=this.minorTickInterval,ht=this.pointRangePadding||0,tt=this.min-ht;ht=this.max+ht;var ct=ht-tt,U=[];if(ct&&ct/st=this.minRange,at=this.minRange,bt=(at-ht+st)/2;bt=[st-bt,L(F.min,st-bt)],q&&(bt[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),st=k(bt),ht=[st+at,L(F.max,st+at)],q&&(ht[2]=B?B.log2lin(this.dataMax):this.dataMax),ht=S(ht),ht-st=Ct)Ft=Ct,bt=0;else if(B.dataMax<=Ct){var Ot=Ct;at=0}}B.min=L(vt,Ft,B.dataMin),B.max=L(Nt,Ot,B.dataMax)}ht&&(B.positiveValuesOnly&&!F&&0>=Math.min(B.min,L(B.dataMin,B.min))&&y(10,1,st),B.min=w(ht.log2lin(B.min),16),B.max=w(ht.log2lin(B.max),16)),B.range&&b(B.max)&&(B.userMin=B.min=vt=Math.max(B.dataMin,B.minFromRange()),B.userMax=Nt=B.max,B.range=null),m(B,"foundExtremes"),B.beforePadding&&B.beforePadding(),B.adjustForMinRange(),!(K||B.axisPointRange||B.stacking&&B.stacking.usePercentage||U)&&b(B.min)&&b(B.max)&&(st=B.max-B.min)&&(!b(vt)&&bt&&(B.min-=st*bt),!b(Nt)&&at&&(B.max+=st*at)),s(B.userMin)||(s(tt.softMin)&&tt.softMinB.max&&(B.max=Nt=tt.softMax),s(tt.ceiling)&&(B.max=Math.min(B.max,tt.ceiling))),q&&b(B.dataMin)&&(Ct=Ct||0,!b(vt)&&B.min=Ct?B.min=B.options.minRange?Math.min(Ct,B.max-B.minRange):Ct:!b(Nt)&&B.max>Ct&&B.dataMax<=Ct&&(B.max=B.options.minRange?Math.max(Ct,B.min+B.minRange):Ct)),s(B.min)&&s(B.max)&&!this.chart.polar&&B.min>B.max&&(b(B.options.min)?B.max=B.min:b(B.options.max)&&(B.min=B.max)),B.tickInterval=B.min===B.max||typeof B.min=="undefined"||typeof B.max=="undefined"?1:U&&B.linkedParent&&!mt&&J===B.linkedParent.options.tickPixelInterval?mt=B.linkedParent.tickInterval:L(mt,this.tickAmount?(B.max-B.min)/Math.max(this.tickAmount-1,1):void 0,K?1:(B.max-B.min)*J/Math.max(B.len,J)),ct&&!F&&(B.series.forEach(function(At){At.forceCrop=At.forceCropping&&At.forceCropping(),At.processData(B.min!==(B.old&&B.old.min)||B.max!==(B.old&&B.old.max))}),m(this,"postProcessData")),B.setAxisTranslation(),m(this,"initialAxisTranslation"),B.pointRange&&!mt&&(B.tickInterval=Math.max(B.pointRange,B.tickInterval)),F=L(tt.minTickInterval,B.dateTime&&!B.series.some(function(At){return At.noSharedTooltip})?B.closestPointRange:0),!mt&&B.tickIntervalB.tickInterval||this.tickAmount!==void 0),!!this.tickAmount)),this.tickAmount||(B.tickInterval=B.unsquish()),this.setTickPositions()},ut.prototype.setTickPositions=function(){var F=this.options,B=F.tickPositions,st=this.getMinorTickInterval(),ht=this.hasVerticalPanning(),tt=this.coll==="colorAxis",ct=(tt||!ht)&&F.startOnTick;ht=(tt||!ht)&&F.endOnTick,tt=F.tickPositioner,this.tickmarkOffset=this.categories&&F.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.minorTickInterval=st==="auto"&&this.tickInterval?this.tickInterval/5:st,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||F.allowDecimals!==!1),this.tickPositions=st=B&&B.slice(),!st&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?st=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,F.units),this.min,this.max,F.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(st=[this.min,this.max],y(19,!1,this.chart)),st.length>this.len&&(st=[st[0],st.pop()],st[0]===st[1]&&(st.length=1)),this.tickPositions=st,tt&&(tt=tt.apply(this,[this.min,this.max])))&&(this.tickPositions=st=tt),this.paddedTicks=st.slice(0),this.trimTicks(st,ct,ht),this.isLinked||(this.single&&2>st.length&&!this.categories&&!this.series.some(function(U){return U.is("heatmap")&&U.options.pointPlacement==="between"})&&(this.min-=.5,this.max+=.5),B||tt||this.adjustTickAmount()),m(this,"afterSetTickPositions")},ut.prototype.trimTicks=function(F,B,st){var ht=F[0],tt=F[F.length-1],ct=!this.isOrdinal&&this.minPointOffset||0;if(m(this,"trimTicks"),!this.isLinked){if(B&&ht!==-1/0)this.min=ht;else for(;this.min-ct>F[0];)F.shift();if(st)this.max=tt;else for(;this.max+ctst&&(this.finalTickAmt=st,st=5),this.tickAmount=st},ut.prototype.adjustTickAmount=function(){var F=this.options,B=this.tickInterval,st=this.tickPositions,ht=this.tickAmount,tt=this.finalTickAmt,ct=st&&st.length,U=L(this.threshold,this.softThreshold?0:null);if(this.hasData()&&s(this.min)&&s(this.max)){if(ctht&&(this.tickInterval*=2,this.setTickPositions());if(b(tt)){for(B=F=st.length;B--;)(tt===3&&B%2===1||2>=tt&&0J&&(q=J)),b(tt)&&(atJ&&(at=J))),st.displayBtn=typeof q!="undefined"||typeof at!="undefined",st.setExtremes(q,at,!1,void 0,{trigger:"zoom"})),K.zoomed=!0}),F.zoomed},ut.prototype.setAxisSize=function(){var F=this.chart,B=this.options,st=B.offsets||[0,0,0,0],ht=this.horiz,tt=this.width=Math.round(et(L(B.width,F.plotWidth-st[3]+st[1]),F.plotWidth)),ct=this.height=Math.round(et(L(B.height,F.plotHeight-st[0]+st[2]),F.plotHeight)),U=this.top=Math.round(et(L(B.top,F.plotTop+st[0]),F.plotHeight,F.plotTop));B=this.left=Math.round(et(L(B.left,F.plotLeft+st[3]),F.plotWidth,F.plotLeft)),this.bottom=F.chartHeight-ct-U,this.right=F.chartWidth-tt-B,this.len=Math.max(ht?tt:ct,0),this.pos=ht?B:U},ut.prototype.getExtremes=function(){var F=this.logarithmic;return{min:F?w(F.lin2log(this.min)):this.min,max:F?w(F.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},ut.prototype.getThreshold=function(F){var B=this.logarithmic,st=B?B.lin2log(this.min):this.min;return B=B?B.lin2log(this.max):this.max,F===null||F===-1/0?F=st:F===1/0?F=B:st>F?F=st:BB?st.align="right":195B&&(st.align="left")}),F.align},ut.prototype.tickSize=function(F){var B=this.options,st=L(B[F==="tick"?"tickWidth":"minorTickWidth"],F==="tick"&&this.isXAxis&&!this.categories?1:0),ht=B[F==="tick"?"tickLength":"minorTickLength"];if(st&&ht){B[F+"Position"]==="inside"&&(ht=-ht);var tt=[ht,st]}return F={tickSize:tt},m(this,"afterTickSize",F),F.tickSize},ut.prototype.labelMetrics=function(){var F=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[F]&&this.ticks[F].label)},ut.prototype.unsquish=function(){var F=this.options.labels,B=this.horiz,st=this.tickInterval,ht=this.len/(((this.categories?1:0)+this.max-this.min)/st),tt=F.rotation,ct=this.labelMetrics(),U=Math.max(this.max-this.min,0),J=function(Ct){var vt=Ct/(ht||1);return vt=1U&&Ct!==1/0&&ht!==1/0&&U&&(vt=Math.ceil(U/st)),w(vt*st)},K=st,q,at,bt=Number.MAX_VALUE;if(B){if(!F.staggerLines&&!F.step)if(s(tt))var mt=[tt];else ht=Ct){at=J(Math.abs(ct.h/Math.sin(o*Ct)));var vt=at+Math.abs(Ct/360);vtht.step)return ht.rotation?0:(this.staggerLines||1)*this.len/tt;if(!st){if(F=ht.style.width,F!==void 0)return parseInt(String(F),10);if(ct)return ct-B.spacing[3]}return .33*B.chartWidth},ut.prototype.renderUnsquish=function(){var F=this.chart,B=F.renderer,st=this.tickPositions,ht=this.ticks,tt=this.options.labels,ct=tt.style,U=this.horiz,J=this.getSlotWidth(),K=Math.max(1,Math.round(J-2*tt.padding)),q={},at=this.labelMetrics(),bt=ct.textOverflow,mt=0;if(N(tt.rotation)||(q.rotation=tt.rotation||0),st.forEach(function(Ft){Ft=ht[Ft],Ft.movedLabel&&Ft.replaceMovedLabel(),Ft&&Ft.label&&Ft.label.textPxLength>mt&&(mt=Ft.label.textPxLength)}),this.maxLabelLength=mt,this.autoRotation)mt>K&&mt>at.h?q.rotation=this.labelRotation:this.labelRotation=0;else if(J){var Ct=K;if(!bt){var vt="clip";for(K=st.length;!U&&K--;){var Nt=st[K];(Nt=ht[Nt].label)&&(Nt.styles&&Nt.styles.textOverflow==="ellipsis"?Nt.css({textOverflow:"clip"}):Nt.textPxLength>J&&Nt.css({width:J+"px"}),Nt.getBBox().height>this.len/st.length-(at.h-at.f)&&(Nt.specificTextOverflow="ellipsis"))}}}q.rotation&&(Ct=mt>.5*F.chartHeight?.33*F.chartHeight:mt,bt||(vt="ellipsis")),(this.labelAlign=tt.align||this.autoLabelAlign(this.labelRotation))&&(q.align=this.labelAlign),st.forEach(function(Ft){var Ot=(Ft=ht[Ft])&&Ft.label,At=ct.width,St={};Ot&&(Ot.attr(q),Ft.shortenLabel?Ft.shortenLabel():Ct&&!At&&ct.whiteSpace!=="nowrap"&&(Ct=this.min&&F<=this.max||this.grid&&this.grid.isColumn)&&(ht[F]||(ht[F]=new j(this,F)),st&&ht[F].isNew&&ht[F].render(B,!0,-1),ht[F].render(B))},ut.prototype.render=function(){var F=this,B=F.chart,st=F.logarithmic,ht=F.options,tt=F.isLinked,ct=F.tickPositions,U=F.axisTitle,J=F.ticks,K=F.minorTicks,q=F.alternateBands,at=ht.stackLabels,bt=ht.alternateGridColor,mt=F.tickmarkOffset,Ct=F.axisLine,vt=F.showAxis,Nt=D(B.renderer.globalAnimation),Ft,Ot;if(F.labelEdge.length=0,F.overlap=!1,[J,K,q].forEach(function(St){E(St,function(pt){pt.isActive=!1})}),F.hasData()||tt){var At=F.chart.hasRendered&&F.old&&s(F.old.min);F.minorTickInterval&&!F.categories&&F.getMinorTickPositions().forEach(function(St){F.renderMinorTick(St,At)}),ct.length&&(ct.forEach(function(St,pt){F.renderTick(St,pt,At)}),mt&&(F.min===0||F.single)&&(J[-1]||(J[-1]=new j(F,-1,null,!0)),J[-1].render(-1))),bt&&ct.forEach(function(St,pt){Ot=typeof ct[pt+1]!="undefined"?ct[pt+1]+mt:F.max-mt,pt%2===0&&Stk&&(!h||g<=S)&&typeof g!="undefined"&&p.push(g),g>S&&(m=!0),g=l}}}else k=this.lin2log(k),S=this.lin2log(S),o=h?w.getMinorTickInterval():g.tickInterval,o=Z(o==="auto"?null:o,this.minorAutoInterval,g.tickPixelInterval/(h?5:1)*(S-k)/((h?b/w.tickPositions.length:b)||1)),o=X(o,void 0,Y(o)),p=w.getLinearTickPositions(o,k,S).map(this.log2lin),h||(this.minorAutoInterval=o/5);return h||(w.tickInterval=o),p},d.prototype.lin2log=function(o){return Math.pow(10,o)},d.prototype.log2lin=function(o){return Math.log(o)/Math.LN10},d}();_.Additions=C}(H||(H={})),H}),W(u,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[u["Core/Utilities.js"]],function(T){var I=T.erase,Y=T.extend,X=T.isNumber,Z;return function(H){var _=[],j;H.compose=function(D,C){return j||(j=D),_.indexOf(C)===-1&&(_.push(C),Y(C.prototype,A.prototype)),C};var A=function(){function D(){}return D.prototype.getPlotBandPath=function(C,d,o){o===void 0&&(o=this.options);var k=this.getPlotLinePath({value:d,force:!0,acrossPanes:o.acrossPanes}),S=[],h=this.horiz;if(d=!X(this.min)||!X(this.max)||Cthis.max&&d>this.max,C=this.getPlotLinePath({value:C,force:!0,acrossPanes:o.acrossPanes}),o=1,C&&k){if(d){var w=C.toString()===k.toString();o=0}for(d=0;dSt-L?St:St-L);else if(At)E[K]=Math.max(Ct,mt+L+at>q?mt:mt+L);else return!1},ct=function(K,q,at,bt,mt){var Ct;return mtq-c?Ct=!1:E[K]=mtq-bt/2?q-bt-2:mt-at/2,Ct},U=function(K){var q=F;F=B,B=q,st=K},J=function(){tt.apply(0,F)!==!1?ct.apply(0,B)!==!1||st||(U(!0),J()):st?E.x=E.y=0:(U(!0),J())};return(R.inverted||1St})&&(l=l.map(function(At){var St=N(At.anchorX,At.anchorY,At.point.isHeader,At.boxWidth,!1);return S(At,{target:St.y,x:St.x})})),R.cleanSplit(),A(l,Nt);var Ft=mt,Ot=mt;l.forEach(function(At){var St=At.x,pt=At.boxWidth;At=At.isHeader,At||(R.outside&&mt+StOt&&(Ot=mt+St))}),l.forEach(function(At){var St=At.x,pt=At.anchorX,Pt=At.pos,Wt=At.point.isHeader;if(Pt={visibility:typeof Pt=="undefined"?"hidden":"inherit",x:St,y:Pt+Ct,anchorX:pt,anchorY:At.anchorY},R.outside&&StN[0]?Math.max(Math.abs(N[0]),c.width-N[0]):Math.max(Math.abs(N[0]),c.width),R.height=0>N[1]?Math.max(Math.abs(N[1]),c.height-Math.abs(N[1])):Math.max(Math.abs(N[1]),c.height),this.tracker?this.tracker.attr(R):(this.tracker=s.renderer.rect(R).addClass("highcharts-tracker").add(s),l.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},x.prototype.styledModeFormat=function(l){return l.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},x.prototype.tooltipFooterHeaderFormatter=function(l,s){var N=l.series,R=N.tooltipOptions,c=N.xAxis,E=c&&c.dateTime;c={isFooter:s,labelConfig:l};var L=R.xDateFormat,et=R[s?"footerFormat":"headerFormat"];return h(this,"headerFormatter",c,function(nt){E&&!L&&b(l.key)&&(L=E.getXDateFormat(l.key,R.dateTimeLabelFormats)),E&&L&&(l.point&&l.point.tooltipDateKeys||["key"]).forEach(function(rt){et=et.replace("{point."+rt+"}","{point."+rt+":"+L+"}")}),N.chart.styledMode&&(et=this.styledModeFormat(et)),nt.text=_(et,{point:l,series:N},this.chart)}),c.text},x.prototype.update=function(l){this.destroy(),p(!0,this.chart.options.tooltip.userOptions,l),this.init(this.chart,p(!0,this.options,l))},x.prototype.updatePosition=function(l){var s=this.chart,N=this.options,R=s.pointer,c=this.getLabel();R=R.getChartPosition();var E=(N.positioner||this.getPosition).call(this,c.width,c.height,l),L=l.plotX+s.plotLeft;l=l.plotY+s.plotTop,this.outside&&(N=N.borderWidth+2*this.distance,this.renderer.setSize(c.width+N,c.height+N,!1),(R.scaleX!==1||R.scaleY!==1)&&(d(this.container,{transform:"scale("+R.scaleX+", "+R.scaleY+")"}),L*=R.scaleX,l*=R.scaleY),L+=R.left-E.x,l+=R.top-E.y),this.move(Math.round(E.x),Math.round(E.y||0),L,l)},x}(),T}),W(u,"Core/Series/Point.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Animation/AnimationUtilities.js"],u["Core/DefaultOptions.js"],u["Core/FormatUtilities.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z){var H=I.animObject,_=Y.defaultOptions,j=X.format,A=Z.addEvent,D=Z.defined,C=Z.erase,d=Z.extend,o=Z.fireEvent,k=Z.getNestedProperty,S=Z.isArray,h=Z.isFunction,w=Z.isNumber,b=Z.isObject,g=Z.merge,p=Z.objectEach,y=Z.pick,P=Z.syncTimeout,m=Z.removeEvent,x=Z.uniqueKey;return I=function(){function l(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return l.prototype.animateBeforeDestroy=function(){var s=this,N={x:s.startXPos,opacity:0},R=s.getGraphicalProps();R.singular.forEach(function(c){s[c]=s[c].animate(c==="dataLabel"?{x:s[c].startXPos,y:s[c].startYPos,opacity:0}:N)}),R.plural.forEach(function(c){s[c].forEach(function(E){E.element&&E.animate(d({x:s.startXPos},E.startYPos?{x:E.startXPos,y:E.startYPos}:{}))})})},l.prototype.applyOptions=function(s,N){var R=this.series,c=R.options.pointValKey||R.pointValKey;return s=l.prototype.optionsToObject.call(this,s),d(this,s),this.options=this.options?d(this.options,s):s,s.group&&delete this.group,s.dataLabels&&delete this.dataLabels,c&&(this.y=l.prototype.getNestedProperty.call(this,c)),this.formatPrefix=(this.isNull=y(this.isValid&&!this.isValid(),this.x===null||!w(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&typeof N=="undefined"&&R.xAxis&&R.xAxis.hasNames&&(this.x=R.xAxis.nameToX(this)),typeof this.x=="undefined"&&R?this.x=typeof N=="undefined"?R.autoIncrement():N:w(s.x)&&R.options.relativeXValue&&(this.x=R.autoIncrement(s.x)),this},l.prototype.destroy=function(){function s(){(N.graphic||N.dataLabel||N.dataLabels)&&(m(N),N.destroyElements());for(et in N)N[et]=null}var N=this,R=N.series,c=R.chart;R=R.options.dataSorting;var E=c.hoverPoints,L=H(N.series.chart.renderer.globalAnimation),et;N.legendItem&&c.legend.destroyItem(N),E&&(N.setState(),C(E,N),E.length||(c.hoverPoints=null)),N===c.hoverPoint&&N.onMouseOut(),R&&R.enabled?(this.animateBeforeDestroy(),P(s,L.duration)):s(),c.pointCount--},l.prototype.destroyElements=function(s){var N=this;s=N.getGraphicalProps(s),s.singular.forEach(function(R){N[R]=N[R].destroy()}),s.plural.forEach(function(R){N[R].forEach(function(c){c.element&&c.destroy()}),delete N[R]})},l.prototype.firePointEvent=function(s,N,R){var c=this,E=this.series.options;(E.point.events[s]||c.options&&c.options.events&&c.options.events[s])&&c.importEvents(),s==="click"&&E.allowPointSelect&&(R=function(L){c.select&&c.select(null,L.ctrlKey||L.metaKey||L.shiftKey)}),o(c,s,N,R)},l.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(typeof this.colorIndex!="undefined"?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},l.prototype.getGraphicalProps=function(s){var N=this,R=[],c={singular:[],plural:[]},E;for(s=s||{graphic:1,dataLabel:1},s.graphic&&R.push("graphic","upperGraphic","shadowGroup"),s.dataLabel&&R.push("dataLabel","dataLabelUpper","connector"),E=R.length;E--;){var L=R[E];N[L]&&c.singular.push(L)}return["dataLabel","connector"].forEach(function(et){var nt=et+"s";s[et]&&N[nt]&&c.plural.push(nt)}),c},l.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},l.prototype.getNestedProperty=function(s){if(s)return s.indexOf("custom.")===0?k(s,this.options):this[s]},l.prototype.getZone=function(){var s=this.series,N=s.zones;s=s.zoneAxis||"y";var R,c=0;for(R=N[c];this[s]>=R.value;)R=N[++c];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=R&&R.color&&!this.options.color?R.color:this.nonZonedColor,R},l.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},l.prototype.init=function(s,N,R){return this.series=s,this.applyOptions(N,R),this.id=D(this.id)?this.id:x(),this.resolveColor(),s.chart.pointCount++,o(this,"afterInit"),this},l.prototype.optionsToObject=function(s){var N=this.series,R=N.options.keys,c=R||N.pointArrayMap||["y"],E=c.length,L={},et=0,nt=0;if(w(s)||s===null)L[c[0]]=s;else if(S(s))for(!R&&s.length>E&&(N=typeof s[0],N==="string"?L.name=s[0]:N==="number"&&(L.x=s[0]),et++);ntR+E&&(ut=R+E),Fc+L&&(F=c+L),this.hasDragged=Math.sqrt(Math.pow(et-ut,2)+Math.pow(nt-F,2)),10c.options.findNearestPointBy.indexOf("y");if(c=c.searchPoint(l,E),(E=w(c,!0)&&c.series)&&!(E=!w(R,!0))){E=R.distX-c.distX;var L=R.dist-c.dist,et=(c.series.group&&c.series.group.zIndex)-(R.series.group&&R.series.group.zIndex);E=0<(E!==0&&x?E:L!==0?L:et!==0?et:R.series.index>c.series.index?-1:1)}E&&(R=c)}),R},P.prototype.getChartCoordinatesFromPoint=function(m,x){var l=m.series,s=l.xAxis;l=l.yAxis;var N=m.shapeArgs;if(s&&l){var R=p(m.clientX,m.plotX),c=m.plotY||0;return m.isNode&&N&&h(N.x)&&h(N.y)&&(R=N.x,c=N.y),x?{chartX:l.len+l.pos-c,chartY:s.len+s.pos-R}:{chartX:R+s.pos,chartY:c+l.pos}}if(N&&N.x&&N.y)return{chartX:N.x,chartY:N.y}},P.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var m=this.chart.container,x=g(m);this.chartPosition={left:x.left,top:x.top,scaleX:1,scaleY:1};var l=m.offsetWidth;return m=m.offsetHeight,2B.max&&(l=B.max-ct,at=!0);at?(K-=.8*(K-c[et][0]),typeof q=="number"&&(q-=.8*(q-c[et][1])),x()):c[et]=[K,q],F||(R[et]=U-ut,R[G]=ct),R=F?1/J:J,N[G]=ct,N[et]=l,s[F?m?"scaleY":"scaleX":"scale"+nt]=J,s["translate"+nt]=R*ut+(K-R*ht)},P.prototype.reset=function(m,x){var l=this.chart,s=l.hoverSeries,N=l.hoverPoint,R=l.hoverPoints,c=l.tooltip,E=c&&c.shared?R:N;m&&E&&y(E).forEach(function(L){L.series.isCartesian&&typeof L.plotX=="undefined"&&(m=!1)}),m?c&&E&&y(E).length&&(c.refresh(E),c.shared&&R?R.forEach(function(L){L.setState(L.state,!0),L.series.isCartesian&&(L.series.xAxis.crosshair&&L.series.xAxis.drawCrosshair(null,L),L.series.yAxis.crosshair&&L.series.yAxis.drawCrosshair(null,L))}):N&&(N.setState(N.state,!0),l.axes.forEach(function(L){L.crosshair&&N.series[L.coll]===L&&L.drawCrosshair(null,N)}))):(N&&N.onMouseOut(),R&&R.forEach(function(L){L.setState()}),s&&s.onMouseOut(),c&&c.hide(x),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),l.axes.forEach(function(L){L.hideCrosshair()}),this.hoverX=l.hoverPoints=l.hoverPoint=null)},P.prototype.runPointActions=function(m,x){var l=this.chart,s=l.tooltip&&l.tooltip.options.enabled?l.tooltip:void 0,N=s?s.shared:!1,R=x||l.hoverPoint,c=R&&R.series||l.hoverSeries;x=this.getHoverData(R,c,l.series,(!m||m.type!=="touchmove")&&(!!x||c&&c.directTouch&&this.isDirectTouch),N,m),R=x.hoverPoint,c=x.hoverSeries;var E=x.hoverPoints;if(x=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,N=N&&c&&!c.noSharedTooltip,R&&(R!==l.hoverPoint||s&&s.isHidden)){if((l.hoverPoints||[]).forEach(function(L){E.indexOf(L)===-1&&L.setState()}),l.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(E),(E||[]).forEach(function(L){L.setState("hover")}),l.hoverPoint&&l.hoverPoint.firePointEvent("mouseOut"),!R.series)return;l.hoverPoints=E,l.hoverPoint=R,R.firePointEvent("mouseOver"),s&&s.refresh(N?E:R,m)}else x&&s&&!s.isHidden&&(R=s.getAnchor([{}],m),l.isInsidePlot(R[0],R[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:R[0],plotY:R[1]}));this.unDocMouseMove||(this.unDocMouseMove=A(l.container.ownerDocument,"mousemove",function(L){var et=_[P.hoverChartIndex];et&&et.pointer.onDocumentMouseMove(L)}),this.eventsToUnbind.push(this.unDocMouseMove)),l.axes.forEach(function(L){var et=p((L.crosshair||{}).snap,!0),nt;et&&((nt=l.hoverPoint)&&nt.series[L.coll]===L||(nt=k(E,function(rt){return rt.series[L.coll]===L}))),nt||!et?L.drawCrosshair(m,nt):L.hideCrosshair()})},P.prototype.scaleGroups=function(m,x){var l=this.chart;l.series.forEach(function(s){var N=m||s.getPlotBox();s.xAxis&&s.xAxis.zoomEnabled&&s.group&&(s.group.attr(N),s.markerGroup&&(s.markerGroup.attr(N),s.markerGroup.clip(x?l.clipRect:null)),s.dataLabelsGroup&&s.dataLabelsGroup.attr(N))}),l.clipRect.attr(x||l.clipBox)},P.prototype.setDOMEvents=function(){var m=this,x=this.chart.container,l=x.ownerDocument;x.onmousedown=this.onContainerMouseDown.bind(this),x.onmousemove=this.onContainerMouseMove.bind(this),x.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(A(x,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(A(x,"mouseleave",this.onContainerMouseLeave.bind(this))),P.unbindDocumentMouseUp||(P.unbindDocumentMouseUp=A(l,"mouseup",this.onDocumentMouseUp.bind(this)));for(var s=this.chart.renderTo.parentElement;s&&s.tagName!=="BODY";)this.eventsToUnbind.push(A(s,"scroll",function(){delete m.chartPosition})),s=s.parentElement;I.hasTouch&&(this.eventsToUnbind.push(A(x,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(A(x,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),P.unbindDocumentTouchEnd||(P.unbindDocumentTouchEnd=A(l,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},P.prototype.setHoverChartIndex=function(){var m=this.chart,x=I.charts[p(P.hoverChartIndex,-1)];x&&x!==m&&x.pointer.onContainerMouseLeave({relatedTarget:!0}),x&&x.mouseIsDown||(P.hoverChartIndex=m.index)},P.prototype.touch=function(m,x){var l=this.chart,s;if(this.setHoverChartIndex(),m.touches.length===1)if(m=this.normalize(m),(s=l.isInsidePlot(m.chartX-l.plotLeft,m.chartY-l.plotTop,{visiblePlotOnly:!0}))&&!l.openMenu){if(x&&this.runPointActions(m),m.type==="touchmove"){x=this.pinchDown;var N=x[0]?4<=Math.sqrt(Math.pow(x[0].chartX-m.chartX,2)+Math.pow(x[0].chartY-m.chartY,2)):!1}p(N,!0)&&this.pinch(m)}else x&&this.reset();else m.touches.length===2&&this.pinch(m)},P.prototype.touchSelect=function(m){return!(!this.chart.options.chart.zoomBySingleTouch||!m.touches||m.touches.length!==1)},P.prototype.zoomOption=function(m){var x=this.chart,l=x.options.chart;x=x.inverted;var s=l.zoomType||"";/touch/.test(m.type)&&(s=p(l.pinchType,s)),this.zoomX=m=/x/.test(s),this.zoomY=l=/y/.test(s),this.zoomHor=m&&!x||l&&x,this.zoomVert=l&&!x||m&&x,this.hasZoom=m||l},P}(),T}),W(u,"Core/MSPointer.js",[u["Core/Globals.js"],u["Core/Pointer.js"],u["Core/Utilities.js"]],function(T,I,Y){function X(){var w=[];return w.item=function(b){return this[b]},o(S,function(b){w.push({pageX:b.pageX,pageY:b.pageY,target:b.target})}),w}function Z(w,b,g,p){var y=_[I.hoverChartIndex||NaN];w.pointerType!=="touch"&&w.pointerType!==w.MSPOINTER_TYPE_TOUCH||!y||(y=y.pointer,p(w),y[b]({type:g,target:w.currentTarget,preventDefault:A,touches:X()}))}var H=this&&this.__extends||function(){var w=function(b,g){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var P in y)y.hasOwnProperty(P)&&(p[P]=y[P])},w(b,g)};return function(b,g){function p(){this.constructor=b}w(b,g),b.prototype=g===null?Object.create(g):(p.prototype=g.prototype,new p)}}(),_=T.charts,j=T.doc,A=T.noop,D=T.win,C=Y.addEvent,d=Y.css,o=Y.objectEach,k=Y.removeEvent,S={},h=!!D.PointerEvent;return function(w){function b(){return w!==null&&w.apply(this,arguments)||this}return H(b,w),b.isRequired=function(){return!(T.hasTouch||!D.PointerEvent&&!D.MSPointerEvent)},b.prototype.batchMSEvents=function(g){g(this.chart.container,h?"pointerdown":"MSPointerDown",this.onContainerPointerDown),g(this.chart.container,h?"pointermove":"MSPointerMove",this.onContainerPointerMove),g(j,h?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},b.prototype.destroy=function(){this.batchMSEvents(k),w.prototype.destroy.call(this)},b.prototype.init=function(g,p){w.prototype.init.call(this,g,p),this.hasZoom&&d(g.container,{"-ms-touch-action":"none","touch-action":"none"})},b.prototype.onContainerPointerDown=function(g){Z(g,"onContainerTouchStart","touchstart",function(p){S[p.pointerId]={pageX:p.pageX,pageY:p.pageY,target:p.currentTarget}})},b.prototype.onContainerPointerMove=function(g){Z(g,"onContainerTouchMove","touchmove",function(p){S[p.pointerId]={pageX:p.pageX,pageY:p.pageY},S[p.pointerId].target||(S[p.pointerId].target=p.currentTarget)})},b.prototype.onDocumentPointerUp=function(g){Z(g,"onDocumentTouchEnd","touchend",function(p){delete S[p.pointerId]})},b.prototype.setDOMEvents=function(){w.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(C)},b}(I)}),W(u,"Core/Legend/Legend.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Series/Point.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){var _=T.animObject,j=T.setAnimation,A=I.format;T=Y.isFirefox;var D=Y.marginNames;Y=Y.win;var C=Z.distribute,d=H.addEvent,o=H.createElement,k=H.css,S=H.defined,h=H.discardElement,w=H.find,b=H.fireEvent,g=H.isNumber,p=H.merge,y=H.pick,P=H.relativeLength,m=H.stableSort,x=H.syncTimeout;return Z=H.wrap,H=function(){function l(s,N){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=s,this.init(s,N)}return l.prototype.init=function(s,N){this.chart=s,this.setOptions(N),N.enabled&&(this.render(),d(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=d(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},l.prototype.setOptions=function(s){var N=y(s.padding,8);this.options=s,this.chart.styledMode||(this.itemStyle=s.itemStyle,this.itemHiddenStyle=p(this.itemStyle,s.itemHiddenStyle)),this.itemMarginTop=s.itemMarginTop||0,this.itemMarginBottom=s.itemMarginBottom||0,this.padding=N,this.initialItemY=N-5,this.symbolWidth=y(s.symbolWidth,16),this.pages=[],this.proximate=s.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0},l.prototype.update=function(s,N){var R=this.chart;this.setOptions(p(!0,this.options,s)),this.destroy(),R.isDirtyLegend=R.isDirtyBox=!0,y(N,!0)&&R.redraw(),b(this,"afterUpdate")},l.prototype.colorizeItem=function(s,N){if(s.legendGroup[N?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var R=this.options,c=s.legendItem,E=s.legendLine,L=s.legendSymbol,et=this.itemHiddenStyle.color;R=N?R.itemStyle.color:et;var nt=N&&s.color||et,rt=s.options&&s.options.marker,G={fill:nt};c&&c.css({fill:R,color:R}),E&&E.attr({stroke:nt}),L&&(rt&&L.isMarker&&(G=s.pointAttribs(),N||(G.stroke=G.fill=et)),L.attr(G))}b(this,"afterColorizeItem",{item:s,visible:N})},l.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},l.prototype.positionItem=function(s){var N=this,R=this.options,c=R.symbolPadding,E=!R.rtl,L=s._legendItemPos;R=L[0],L=L[1];var et=s.checkbox,nt=s.legendGroup;nt&&nt.element&&(c={translateX:E?R:this.legendWidth-R-2*c-4,translateY:L},E=function(){b(N,"afterPositionItem",{item:s})},S(nt.translateY)?nt.animate(c,void 0,E):(nt.attr(c),E())),et&&(et.x=R,et.y=L)},l.prototype.destroyItem=function(s){var N=s.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(R){s[R]&&(s[R]=s[R].destroy())}),N&&h(s.checkbox)},l.prototype.destroy=function(){function s(N){this[N]&&(this[N]=this[N].destroy())}this.getAllItems().forEach(function(N){["legendItem","legendGroup"].forEach(s,N)}),"clipRect up down pager nav box title group".split(" ").forEach(s,this),this.display=null},l.prototype.positionCheckboxes=function(){var s=this.group&&this.group.alignAttr,N=this.clipHeight||this.legendHeight,R=this.titleHeight;if(s){var c=s.translateY;this.allItems.forEach(function(E){var L=E.checkbox;if(L){var et=c+R+L.y+(this.scrollOffset||0)+3;k(L,{left:s.translateX+E.checkboxOffset+L.x-20+"px",top:et+"px",display:this.proximate||et>c-6&&etrt?this.maxItemWidth:s.itemWidth,c&&this.itemX-R+N>rt&&(this.itemX=R,this.lastLineHeight&&(this.itemY+=et+this.lastLineHeight+L),this.lastLineHeight=0),this.lastItemY=et+this.itemY+L,this.lastLineHeight=Math.max(E,this.lastLineHeight),s._legendItemPos=[this.itemX,this.itemY],c?this.itemX+=N:(this.itemY+=et+E+L,this.lastLineHeight=E),this.offsetWidth=this.widthOption||Math.max((c?this.itemX-R-(s.checkbox?0:nt):N)+R,this.offsetWidth)},l.prototype.getAllItems=function(){var s=[];return this.chart.series.forEach(function(N){var R=N&&N.options;N&&y(R.showInLegend,S(R.linkedTo)?!1:void 0,!0)&&(s=s.concat(N.legendItems||(R.legendType==="point"?N.data:N)))}),b(this,"afterGetAllItems",{allItems:s}),s},l.prototype.getAlignment=function(){var s=this.options;return this.proximate?s.align.charAt(0)+"tv":s.floating?"":s.align.charAt(0)+s.verticalAlign.charAt(0)+s.layout.charAt(0)},l.prototype.adjustMargins=function(s,N){var R=this.chart,c=this.options,E=this.getAlignment();E&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(L,et){L.test(E)&&!S(s[et])&&(R[D[et]]=Math.max(R[D[et]],R.legend[(et+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][et]*c[et%2?"x":"y"]+y(c.margin,12)+N[et]+(R.titleOffset[et]||0)))})},l.prototype.proximatePositions=function(){var s=this.chart,N=[],R=this.options.align==="left";this.allItems.forEach(function(c){var E,L=R;if(c.yAxis){c.xAxis.options.reversed&&(L=!L),c.points&&(E=w(L?c.points:c.points.slice(0).reverse(),function(nt){return g(nt.plotY)})),L=this.itemMarginTop+c.legendItem.getBBox().height+this.itemMarginBottom;var et=c.yAxis.top-s.plotTop;c.visible?(E=E?E.plotY:c.yAxis.height,E+=et-.3*L):E=et+c.yAxis.height,N.push({target:E,size:L,item:c})}},this),C(N,s.plotHeight).forEach(function(c){c.item._legendItemPos&&(c.item._legendItemPos[1]=s.plotTop-s.spacing[0]+c.pos)})},l.prototype.render=function(){var s=this.chart,N=s.renderer,R=this.options,c=this.padding,E=this.getAllItems(),L=this.group,et=this.box;this.itemX=c,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=P(R.width,s.spacingBox.width-c);var nt=s.spacingBox.width-2*c-R.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(nt/=2),this.maxLegendWidth=this.widthOption||nt,L||(this.group=L=N.g("legend").addClass(R.className||"").attr({zIndex:7}).add(),this.contentGroup=N.g().attr({zIndex:1}).add(L),this.scrollGroup=N.g().add(this.contentGroup)),this.renderTitle(),m(E,function(G,ut){return(G.options&&G.options.legendIndex||0)-(ut.options&&ut.options.legendIndex||0)}),R.reversed&&E.reverse(),this.allItems=E,this.display=nt=!!E.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,E.forEach(this.renderItem,this),E.forEach(this.layoutItem,this),E=(this.widthOption||this.offsetWidth)+c;var rt=this.lastItemY+this.lastLineHeight+this.titleHeight;rt=this.handleOverflow(rt),rt+=c,et||(this.box=et=N.rect().addClass("highcharts-legend-box").attr({r:R.borderRadius}).add(L),et.isNew=!0),s.styledMode||et.attr({stroke:R.borderColor,"stroke-width":R.borderWidth||0,fill:R.backgroundColor||"none"}).shadow(R.shadow),0L&&G.enabled!==!1?(this.clipHeight=ct=Math.max(L-20-this.titleHeight-nt,0),this.currentPage=y(this.currentPage,1),this.fullHeight=s,st.forEach(function(q,at){var bt=q._legendItemPos[1],mt=Math.round(q.legendItem.getBBox().height),Ct=B.length;(!Ct||bt-B[Ct-1]>ct&&(U||bt)!==B[Ct-1])&&(B.push(U||bt),Ct++),q.pageIx=Ct-1,U&&(st[at-1].pageIx=Ct-1),at===st.length-1&&bt+mt-B[Ct-1]>ct&&bt!==U&&(B.push(bt),q.pageIx=Ct),bt!==U&&(U=bt)}),K||(K=N.clipRect=c.clipRect(0,nt,9999,0),N.contentGroup.clip(K)),ht(ct),J||(this.nav=J=c.g().attr({zIndex:1}).add(this.group),this.up=c.symbol("triangle",0,0,F,F).add(J),tt("upTracker").on("click",function(){N.scroll(-1,ut)}),this.pager=c.text("",15,10).addClass("highcharts-legend-navigation"),R.styledMode||this.pager.css(G.style),this.pager.add(J),this.down=c.symbol("triangle-down",0,0,F,F).add(J),tt("downTracker").on("click",function(){N.scroll(1,ut)})),N.scroll(0),s=L):J&&(ht(),this.nav=J.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),s},l.prototype.scroll=function(s,N){var R=this,c=this.chart,E=this.pages,L=E.length,et=this.clipHeight,nt=this.options.navigation,rt=this.pager,G=this.padding,ut=this.currentPage+s;ut>L&&(ut=L),0=Math.max(nn+le,xn.pos)&&ze<=Math.min(nn+le+ae.width,xn.pos+xn.len)||(pt.isInsidePlot=!1)}return!Wt.ignoreY&&pt.isInsidePlot&&(Xt=tn&&(Xt?tn.xAxis:tn.yAxis)||{pos:Ae,len:1/0},Wt=Wt.paneCoordinates?Xt.pos+Pt:Ae+Pt,Wt>=Math.max(an+Ae,Xt.pos)&&Wt<=Math.min(an+Ae+ae.height,Xt.pos+Xt.len)||(pt.isInsidePlot=!1)),tt(this,"afterIsInsidePlot",pt),pt.isInsidePlot},St.prototype.redraw=function(pt){tt(this,"beforeRedraw");var Pt=this.hasCartesianSeries?this.axes:this.colorAxis||[],Wt=this.series,Xt=this.pointer,ae=this.legend,le=this.userOptions.legend,Ae=this.renderer,ze=Ae.isHidden(),nn=[],an=this.isDirtyBox,tn=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),g(this.hasRendered?pt:!1,this),ze&&this.temporaryDisplay(),this.layOutTitles(),pt=Wt.length;pt--;){var xn=Wt[pt];if(xn.options.stacking||xn.options.centerInCategory){var un=!0;if(xn.isDirty){var se=!0;break}}}if(se)for(pt=Wt.length;pt--;)xn=Wt[pt],xn.options.stacking&&(xn.isDirty=!0);Wt.forEach(function(ne){ne.isDirty&&(ne.options.legendType==="point"?(typeof ne.updateTotals=="function"&&ne.updateTotals(),tn=!0):le&&(le.labelFormatter||le.labelFormat)&&(tn=!0)),ne.isDirtyData&&tt(ne,"updatedData")}),tn&&ae&&ae.options.enabled&&(ae.render(),this.isDirtyLegend=!1),un&&this.getStacks(),Pt.forEach(function(ne){ne.updateNames(),ne.setScale()}),this.getMargins(),Pt.forEach(function(ne){ne.isDirty&&(an=!0)}),Pt.forEach(function(ne){var te=ne.min+","+ne.max;ne.extKey!==te&&(ne.extKey=te,nn.push(function(){tt(ne,"afterSetExtremes",st(ne.eventArgs,ne.getExtremes())),delete ne.eventArgs})),(an||un)&&ne.redraw()}),an&&this.drawChartBox(),tt(this,"predraw"),Wt.forEach(function(ne){(an||ne.isDirty)&&ne.visible&&ne.redraw(),ne.isDirtyData=!1}),Xt&&Xt.reset(!0),Ae.draw(),tt(this,"redraw"),tt(this,"render"),ze&&this.temporaryDisplay(!0),nn.forEach(function(ne){ne.call()})},St.prototype.get=function(pt){function Pt(le){return le.id===pt||le.options&&le.options.id===pt}for(var Wt=this.series,Xt=ht(this.axes,Pt)||ht(this.series,Pt),ae=0;!Xt&&ae=an&&Xt<=tn||xn||!G(Xt))&&(un=!0),Wt[xn?"zoomX":"zoomY"]&&un&&(le=nn.zoom(ze.min,ze.max),nn.displayBtn&&(ae=!0))});var Ae=Pt.resetZoomButton;ae&&!Ae?Pt.showResetZoom():!ae&&K(Ae)&&(Pt.resetZoomButton=Ae.destroy()),le&&Pt.redraw(mt(Pt.options.chart.animation,pt&&pt.animation,100>Pt.pointCount))},St.prototype.pan=function(pt,Pt){var Wt=this,Xt=Wt.hoverPoints;Pt=typeof Pt=="object"?Pt:{enabled:Pt,type:"x"};var ae=Wt.options.chart,le=Wt.options.mapNavigation&&Wt.options.mapNavigation.enabled;ae&&ae.panning&&(ae.panning=Pt);var Ae=Pt.type,ze;tt(this,"pan",{originalEvent:pt},function(){Xt&&Xt.forEach(function(tn){tn.setState()});var nn=Wt.xAxis;Ae==="xy"?nn=nn.concat(Wt.yAxis):Ae==="y"&&(nn=Wt.yAxis);var an={};nn.forEach(function(tn){if(tn.options.panningEnabled&&!tn.options.isInternal){var xn=tn.horiz,un=pt[xn?"chartX":"chartY"];xn=xn?"mouseDownX":"mouseDownY";var se=Wt[xn],ne=tn.minPointOffset||0,te=tn.reversed&&!Wt.inverted||!tn.reversed&&Wt.inverted?-1:1,Rt=tn.getExtremes(),Bt=tn.toValue(se-un,!0)+ne*te,Ht=tn.toValue(se+tn.len-un,!0)-(ne*te||tn.isXAxis&&tn.pointRangePadding||0),zt=Ht=te&&Bt<=Ht&&(tn.setExtremes(se,Bt,!1,!1,{trigger:"pan"}),Wt.resetZoomButton||le||se===te||Bt===Ht||!Ae.match("y")||(Wt.showResetZoom(),tn.displayBtn=!1),ze=!0),an[xn]=un)}}),bt(an,function(tn,xn){Wt[xn]=tn}),ze&&Wt.redraw(!1),rt(Wt.container,{cursor:"move"})})},St}(),st(T.prototype,{callbacks:[],collectionsWithInit:{xAxis:[T.prototype.addAxis,[!0]],yAxis:[T.prototype.addAxis,[!1]],series:[T.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),T}),W(u,"Core/Legend/LegendSymbol.js",[u["Core/Utilities.js"]],function(T){var I=T.merge,Y=T.pick,X;return function(Z){Z.drawLineMarker=function(H){var _=this.options,j=H.symbolWidth,A=H.symbolHeight,D=A/2,C=this.chart.renderer,d=this.legendGroup;H=H.baseline-Math.round(.3*H.fontMetrics.b);var o={},k=_.marker;this.chart.styledMode||(o={"stroke-width":_.lineWidth||0},_.dashStyle&&(o.dashstyle=_.dashStyle)),this.legendLine=C.path([["M",0,H],["L",j,H]]).addClass("highcharts-graph").attr(o).add(d),k&&k.enabled!==!1&&j&&(_=Math.min(Y(k.radius,D),D),this.symbol.indexOf("url")===0&&(k=I(k,{width:A,height:A}),_=0),this.legendSymbol=j=C.symbol(this.symbol,j/2-_,H-_,2*_,2*_,k).addClass("highcharts-point").add(d),j.isMarker=!0)},Z.drawRectangle=function(H,_){var j=H.symbolHeight,A=H.options.squareSymbol;_.legendSymbol=this.chart.renderer.rect(A?(H.symbolWidth-j)/2:0,H.baseline-j+1,A?j:H.symbolWidth,j,Y(H.options.symbolRadius,j/2)).addClass("highcharts-point").attr({zIndex:3}).add(_.legendGroup)}}(X||(X={})),X}),W(u,"Core/Series/SeriesDefaults.js",[u["Core/Color/Palette.js"]],function(T){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:T.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:T.neutralColor20,lineColor:T.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var I=this.series.chart.numberFormatter;return typeof this.y!="number"?"":I(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),W(u,"Core/Series/Series.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/DefaultOptions.js"],u["Core/Foundation.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Color/Palette.js"],u["Core/Series/Point.js"],u["Core/Series/SeriesDefaults.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A,D,C){var d=T.animObject,o=T.setAnimation,k=I.defaultOptions,S=Y.registerEventOptions,h=X.hasTouch,w=X.svg,b=X.win,g=A.seriesTypes,p=C.addEvent,y=C.arrayMax,P=C.arrayMin,m=C.clamp,x=C.cleanRecursively,l=C.correctFloat,s=C.defined,N=C.erase,R=C.error,c=C.extend,E=C.find,L=C.fireEvent,et=C.getNestedProperty,nt=C.isArray,rt=C.isNumber,G=C.isString,ut=C.merge,F=C.objectEach,B=C.pick,st=C.removeEvent,ht=C.splat,tt=C.syncTimeout;return T=function(){function ct(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return ct.prototype.init=function(U,J){L(this,"init",{options:J});var K=this,q=U.series;this.eventsToUnbind=[],K.chart=U,K.options=K.setOptions(J),J=K.options,K.linkedSeries=[],K.bindAxes(),c(K,{name:J.name,state:"",visible:J.visible!==!1,selected:J.selected===!0}),S(this,J);var at=J.events;(at&&at.click||J.point&&J.point.events&&J.point.events.click||J.allowPointSelect)&&(U.runTrackerClick=!0),K.getColor(),K.getSymbol(),K.parallelArrays.forEach(function(mt){K[mt+"Data"]||(K[mt+"Data"]=[])}),K.isCartesian&&(U.hasCartesianSeries=!0);var bt;q.length&&(bt=q[q.length-1]),K._i=B(bt&&bt._i,-1)+1,K.opacity=K.options.opacity,U.orderSeries(this.insert(q)),J.dataSorting&&J.dataSorting.enabled?K.setDataSortingOptions():K.points||K.data||K.setData(J.data,!1),L(this,"afterInit")},ct.prototype.is=function(U){return g[U]&&this instanceof g[U]},ct.prototype.insert=function(U){var J=this.options.index,K;if(rt(J)){for(K=U.length;K--;)if(J>=B(U[K].options.index,U[K]._i)){U.splice(K+1,0,this);break}K===-1&&U.unshift(this),K+=1}else U.push(this);return B(K,U.length-1)},ct.prototype.bindAxes=function(){var U=this,J=U.options,K=U.chart,q;L(this,"bindAxes",null,function(){(U.axisTypes||[]).forEach(function(at){var bt=0;K[at].forEach(function(mt){q=mt.options,(J[at]===bt&&!q.isInternal||typeof J[at]!="undefined"&&J[at]===q.id||typeof J[at]=="undefined"&&q.index===0)&&(U.insert(mt.series),U[at]=mt,mt.isDirty=!0),q.isInternal||bt++}),U[at]||U.optionalAxis===at||R(18,!0,K)})}),L(this,"afterBindAxes")},ct.prototype.updateParallelArrays=function(U,J){var K=U.series,q=arguments,at=rt(J)?function(bt){var mt=bt==="y"&&K.toYData?K.toYData(U):U[bt];K[bt+"Data"][J]=mt}:function(bt){Array.prototype[J].apply(K[bt+"Data"],Array.prototype.slice.call(q,2))};K.parallelArrays.forEach(at)},ct.prototype.hasData=function(){return this.visible&&typeof this.dataMax!="undefined"&&typeof this.dataMin!="undefined"||this.visible&&this.yData&&0=this.cropStart?vt-this.cropStart:vt),!Ct&&rt(vt)&&at[vt]&&at[vt].touched&&(vt=void 0),vt},ct.prototype.updateData=function(U,J){var K=this.options,q=K.dataSorting,at=this.points,bt=[],mt=this.requireSorting,Ct=U.length===at.length,vt,Nt,Ft,Ot=!0;if(this.xIncrement=null,U.forEach(function(At,St){var pt=s(At)&&this.pointClass.prototype.optionsToObject.call({series:this},At)||{},Pt=pt.x;pt.id||rt(Pt)?(pt=this.findPointIndex(pt,Ft),pt===-1||typeof pt=="undefined"?bt.push(At):at[pt]&&At!==K.data[pt]?(at[pt].update(At,!1,null,!1),at[pt].touched=!0,mt&&(Ft=pt+1)):at[pt]&&(at[pt].touched=!0),(!Ct||St!==pt||q&&q.enabled||this.hasDerivedData)&&(vt=!0)):bt.push(At)},this),vt)for(U=at.length;U--;)(Nt=at[U])&&!Nt.touched&&Nt.remove&&Nt.remove(!1,J);else!Ct||q&&q.enabled?Ot=!1:(U.forEach(function(At,St){At!==at[St].y&&at[St].update&&at[St].update(At,!1,null,!1)}),bt.length=0);return at.forEach(function(At){At&&(At.touched=!1)}),Ot?(bt.forEach(function(At){this.addPoint(At,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0):!1},ct.prototype.setData=function(U,J,K,q){var at=this,bt=at.points,mt=bt&&bt.length||0,Ct=at.options,vt=at.chart,Nt=Ct.dataSorting,Ft=at.xAxis,Ot=Ct.turboThreshold,At=this.xData,St=this.yData,pt=at.pointArrayMap;pt=pt&&pt.length;var Pt=Ct.keys,Wt,Xt=0,ae=1,le=null;U=U||[];var Ae=U.length;if(J=B(J,!0),Nt&&Nt.enabled&&(U=this.sortData(U)),q!==!1&&Ae&&mt&&!at.cropped&&!at.hasGroupedData&&at.visible&&!at.isSeriesBoosting&&(Wt=this.updateData(U,K)),!Wt){if(at.xIncrement=null,at.colorCounter=0,this.parallelArrays.forEach(function(ze){at[ze+"Data"].length=0}),Ot&&Ae>Ot)if(le=at.getFirstValidPoint(U),rt(le))for(K=0;Kat?1:0}).forEach(function(at,bt){at.x=bt},this),J.linkedSeries&&J.linkedSeries.forEach(function(at){var bt=at.options,mt=bt.data;bt.dataSorting&&bt.dataSorting.enabled||!mt||(mt.forEach(function(Ct,vt){mt[vt]=q(at,Ct),U[vt]&&(mt[vt].x=U[vt].x,mt[vt].index=vt)}),at.setData(mt,!1))}),U},ct.prototype.getProcessedData=function(U){var J=this.xAxis,K=this.options,q=K.cropThreshold,at=U||this.getExtremesFromAll||K.getExtremesFromAll,bt=this.isCartesian;U=J&&J.val2lin,K=!(!J||!J.logarithmic);var mt=0,Ct=this.xData,vt=this.yData,Nt=this.requireSorting,Ft=!1,Ot=Ct.length;if(J){Ft=J.getExtremes();var At=Ft.min,St=Ft.max;Ft=J.categories&&!J.names.length}if(bt&&this.sorted&&!at&&(!q||Ot>q||this.forceCrop)){if(Ct[Ot-1]St)Ct=[],vt=[];else if(this.yData&&(Ct[0]St)){var pt=this.cropData(this.xData,this.yData,At,St);Ct=pt.xData,vt=pt.yData,mt=pt.start,pt=!0}}for(q=Ct.length||1;--q;)if(J=K?U(Ct[q])-U(Ct[q-1]):Ct[q]-Ct[q-1],0J&&Nt&&!Ft&&(R(15,!1,this.chart),Nt=!1);return{xData:Ct,yData:vt,cropped:pt,cropStart:mt,closestPointRange:Pt}},ct.prototype.processData=function(U){var J=this.xAxis;if(this.isCartesian&&!this.isDirty&&!J.isDirty&&!this.yAxis.isDirty&&!U)return!1;U=this.getProcessedData(),this.cropped=U.cropped,this.cropStart=U.cropStart,this.processedXData=U.xData,this.processedYData=U.yData,this.closestPointRange=this.basePointRange=U.closestPointRange},ct.prototype.cropData=function(U,J,K,q,at){var bt=U.length,mt,Ct=0,vt=bt;for(at=B(at,this.cropShoulder),mt=0;mt=K){Ct=Math.max(0,mt-at);break}for(K=mt;Kq){vt=K+at;break}return{xData:U.slice(Ct,vt),yData:J.slice(Ct,vt),start:Ct,end:vt}},ct.prototype.generatePoints=function(){var U=this.options,J=U.data,K=this.processedXData,q=this.processedYData,at=this.pointClass,bt=K.length,mt=this.cropStart||0,Ct=this.hasGroupedData,vt=U.keys,Nt=[];U=U.dataGrouping&&U.dataGrouping.groupAll?mt:0;var Ft,Ot,At=this.data;if(!At&&!Ct){var St=[];St.length=J.length,At=this.data=St}for(vt&&Ct&&(this.options.keys=!1),Ot=0;Ot=vt&&(at[Ct-mt]||St)<=Nt,pt&&St)if(pt=At.length)for(;pt--;)rt(At[pt])&&(bt[Ft++]=At[pt]);else bt[Ft++]=At}return U={dataMin:P(bt),dataMax:y(bt)},L(this,"afterGetExtremes",{dataExtremes:U}),U},ct.prototype.applyExtremes=function(){var U=this.getExtremes();return this.dataMin=U.dataMin,this.dataMax=U.dataMax,U},ct.prototype.getFirstValidPoint=function(U){for(var J=U.length,K=0,q=null;q===null&&K=nn&&(nn=null),Xt.total=Xt.stackTotal=le.total,Xt.percentage=le.total&&Xt.y/le.total*100,Xt.stackY=ze,this.irregularWidths||le.setOffset(this.pointXOffset||0,this.barW||0)),Xt.yBottom=s(nn)?m(bt.translate(nn,0,1,0,1),-1e5,1e5):null,vt&&(ze=this.modifyValue(ze,Xt)),Xt.plotY=void 0,rt(ze)&&(le=bt.translate(ze,!1,!0,!1,!0),typeof le!="undefined"&&(Xt.plotY=m(le,-1e5,1e5))),Xt.isInside=this.isPointInside(Xt),Xt.clientX=Ft?l(K.translate(ae,0,0,0,1,Nt)):Pt,Xt.negative=Xt[St]<(U[St+"Threshold"]||Ot||0),Xt.category=q&&typeof q[Xt.x]!="undefined"?q[Xt.x]:Xt.x,!Xt.isNull&&Xt.visible!==!1){typeof xn!="undefined"&&(Wt=Math.min(Wt,Math.abs(Pt-xn)));var xn=Pt}Xt.zone=this.zones.length&&Xt.getZone(),!Xt.graphic&&this.group&&at&&(Xt.isNew=!0)}this.closestPointRangePx=Wt,L(this,"afterTranslate")},ct.prototype.getValidPoints=function(U,J,K){var q=this.chart;return(U||this.points||[]).filter(function(at){return J&&!q.isInsidePlot(at.plotX,at.plotY,{inverted:q.inverted})?!1:at.visible!==!1&&(K||!at.isNull)})},ct.prototype.getClipBox=function(U,J){var K=this.options,q=this.chart,at=q.inverted,bt=this.xAxis,mt=bt&&this.yAxis,Ct=q.options.chart.scrollablePlotArea||{};return U&&K.clip===!1&&mt?U=at?{y:-q.chartWidth+mt.len+mt.pos,height:q.chartWidth,width:q.chartHeight,x:-q.chartHeight+bt.len+bt.pos}:{y:-mt.pos,height:q.chartHeight,width:q.chartWidth,x:-bt.pos}:(U=this.clipBox||q.clipBox,J&&(U.width=q.plotSizeX,U.x=(q.scrollablePixelsX||0)*(Ct.scrollPositionX||0))),J?{width:U.width,x:U.x}:U},ct.prototype.getSharedClipKey=function(U){if(this.sharedClipKey)return this.sharedClipKey;var J=[U&&U.duration,U&&U.easing,U&&U.defer,this.getClipBox(U).height,this.options.xAxis,this.options.yAxis].join();return(this.options.clip!==!1||U)&&(this.sharedClipKey=J),J},ct.prototype.setClip=function(U){var J=this.chart,K=this.options,q=J.renderer,at=J.inverted,bt=this.clipBox,mt=this.getClipBox(U),Ct=this.getSharedClipKey(U),vt=J.sharedClips[Ct],Nt=J.sharedClips[Ct+"m"];U&&(mt.width=0,at&&(mt.x=J.plotHeight+(K.clip!==!1?0:J.plotTop))),vt?J.hasLoaded||vt.attr(mt):(U&&(J.sharedClips[Ct+"m"]=Nt=q.clipRect(at?(J.plotSizeX||0)+99:-99,at?-J.plotLeft:-J.plotTop,99,at?J.chartWidth:J.chartHeight)),J.sharedClips[Ct]=vt=q.clipRect(mt),vt.count={length:0}),U&&!vt.count[this.index]&&(vt.count[this.index]=!0,vt.count.length+=1),(K.clip!==!1||U)&&(this.group.clip(U||bt?vt:J.clipRect),this.markerGroup.clip(Nt)),U||(vt.count[this.index]&&(delete vt.count[this.index],--vt.count.length),vt.count.length===0&&(bt||(J.sharedClips[Ct]=vt.destroy()),Nt&&(J.sharedClips[Ct+"m"]=Nt.destroy())))},ct.prototype.animate=function(U){var J=this.chart,K=d(this.options.animation),q=this.sharedClipKey;if(U)this.setClip(K);else if(q){U=J.sharedClips[q],q=J.sharedClips[q+"m"];var at=this.getClipBox(K,!0);U&&U.animate(at,K),q&&q.animate({width:at.width+99,x:at.x-(J.inverted?0:99)},K)}},ct.prototype.afterAnimate=function(){this.setClip(),L(this,"afterAnimate"),this.finishedAnimating=!0},ct.prototype.drawPoints=function(){var U=this.points,J=this.chart,K=this.options.marker,q=this[this.specialGroup]||this.markerGroup,at=this.xAxis,bt=B(K.enabled,!at||at.isRadial?!0:null,this.closestPointRangePx>=K.enabledThreshold*K.radius),mt,Ct;if(K.enabled!==!1||this._hasPointMarkers)for(mt=0;mtze.max,U.resetZones&&Ot===0&&(Ot=void 0)}),this.clips=at}else U.visible&&(bt&&bt.show(!0),mt&&mt.show(!0))},ct.prototype.invertGroups=function(U){function J(){["group","markerGroup"].forEach(function(at){K[at]&&(q.renderer.isVML&&K[at].attr({width:K.yAxis.len,height:K.xAxis.len}),K[at].width=K.yAxis.len,K[at].height=K.xAxis.len,K[at].invert(K.isRadialSeries?!1:U))})}var K=this,q=K.chart;K.xAxis&&(K.eventsToUnbind.push(p(q,"resize",J)),J(),K.invertGroups=J)},ct.prototype.plotGroup=function(U,J,K,q,at){var bt=this[U],mt=!bt;return K={visibility:K,zIndex:q||.1},typeof this.opacity=="undefined"||this.chart.styledMode||this.state==="inactive"||(K.opacity=this.opacity),mt&&(this[U]=bt=this.chart.renderer.g().add(at)),bt.addClass("highcharts-"+J+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(s(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(bt.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),bt.attr(K)[mt?"attr":"animate"](this.getPlotBox()),bt},ct.prototype.getPlotBox=function(){var U=this.chart,J=this.xAxis,K=this.yAxis;return U.inverted&&(J=K,K=this.xAxis),{translateX:J?J.left:U.plotLeft,translateY:K?K.top:U.plotTop,scaleX:1,scaleY:1}},ct.prototype.removeEvents=function(U){U||st(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(J){J()}),this.eventsToUnbind.length=0)},ct.prototype.render=function(){var U=this,J=U.chart,K=U.options,q=d(K.animation),at=U.visible?"inherit":"hidden",bt=K.zIndex,mt=U.hasRendered,Ct=J.seriesGroup,vt=J.inverted,Nt=!U.finishedAnimating&&J.renderer.isSVG&&q.duration;L(this,"render");var Ft=U.plotGroup("group","series",at,bt,Ct);U.markerGroup=U.plotGroup("markerGroup","markers",at,bt,Ct),Nt&&U.animate&&U.animate(!0),Ft.inverted=B(U.invertible,U.isCartesian)?vt:!1,U.drawGraph&&(U.drawGraph(),U.applyZones()),U.visible&&U.drawPoints(),U.drawDataLabels&&U.drawDataLabels(),U.redrawPoints&&U.redrawPoints(),U.drawTracker&&U.options.enableMouseTracking!==!1&&U.drawTracker(),U.invertGroups(vt),K.clip===!1||U.sharedClipKey||mt||Ft.clip(J.clipRect),Nt&&U.animate&&U.animate(),mt||(Nt&&q.defer&&(Nt+=q.defer),U.animationTimeout=tt(function(){U.afterAnimate()},Nt||0)),U.isDirty=!1,U.hasRendered=!0,L(U,"afterRender")},ct.prototype.redraw=function(){var U=this.chart,J=this.isDirty||this.isDirtyData,K=this.group,q=this.xAxis,at=this.yAxis;K&&(U.inverted&&K.attr({width:U.plotWidth,height:U.plotHeight}),K.animate({translateX:B(q&&q.left,U.plotLeft),translateY:B(at&&at.top,U.plotTop)})),this.translate(),this.render(),J&&delete this.kdTree},ct.prototype.searchPoint=function(U,J){var K=this.xAxis,q=this.yAxis,at=this.chart.inverted;return this.searchKDTree({clientX:at?K.len-U.chartY+K.pos:U.chartX-K.pos,plotY:at?q.len-U.chartX+q.pos:U.chartY-q.pos},J,U)},ct.prototype.buildKDTree=function(U){function J(at,bt,mt){var Ct=at&&at.length;if(Ct){var vt=K.kdAxisArray[bt%mt];return at.sort(function(Nt,Ft){return Nt[vt]-Ft[vt]}),Ct=Math.floor(Ct/2),{point:at[Ct],left:J(at.slice(0,Ct),bt+1,mt),right:J(at.slice(Ct+1),bt+1,mt)}}}this.buildingKdTree=!0;var K=this,q=-1St?"left":"right",Pt=0>St?"right":"left",Nt[Wt]&&(Wt=q(vt,Nt[Wt],Ft+1,Ot),pt=Wt[Ct]St;)pt--;this.updateParallelArrays(At,"splice",pt,0,0),this.updateParallelArrays(At,pt),vt&&At.name&&(vt[St]=At.name),Nt.splice(pt,0,U),Ot&&(this.data.splice(pt,0,null),this.processData()),bt.legendType==="point"&&this.generatePoints(),K&&(mt[0]&&mt[0].remove?mt[0].remove(!1):(mt.shift(),this.updateParallelArrays(At,"shift"),Nt.shift())),at!==!1&&L(this,"addPoint",{point:At}),this.isDirtyData=this.isDirty=!0,J&&Ct.redraw(q)},ct.prototype.removePoint=function(U,J,K){var q=this,at=q.data,bt=at[U],mt=q.points,Ct=q.chart,vt=function(){mt&&mt.length===at.length&&mt.splice(U,1),at.splice(U,1),q.options.data.splice(U,1),q.updateParallelArrays(bt||{series:q},"splice",U,1),bt&&bt.destroy(),q.isDirty=!0,q.isDirtyData=!0,J&&Ct.redraw()};o(K,Ct),J=B(J,!0),bt?bt.firePointEvent("remove",null,vt):vt()},ct.prototype.remove=function(U,J,K,q){function at(){bt.destroy(q),mt.isDirtyLegend=mt.isDirtyBox=!0,mt.linkSeries(),B(U,!0)&&mt.redraw(J)}var bt=this,mt=bt.chart;K!==!1?L(bt,"remove",null,at):at()},ct.prototype.update=function(U,J){U=x(U,this.userOptions),L(this,"update",{options:U});var K=this,q=K.chart,at=K.userOptions,bt=K.initialType||K.type,mt=q.options.plotOptions,Ct=g[bt].prototype,vt=K.finishedAnimating&&{animation:!1},Nt={},Ft,Ot=["eventOptions","navigatorSeries","baseSeries"],At=U.type||at.type||q.options.chart.type,St=!(this.hasDerivedData||At&&At!==this.type||typeof U.pointStart!="undefined"||typeof U.pointInterval!="undefined"||typeof U.relativeXValue!="undefined"||K.hasOptionChanged("dataGrouping")||K.hasOptionChanged("pointStart")||K.hasOptionChanged("pointInterval")||K.hasOptionChanged("pointIntervalUnit")||K.hasOptionChanged("keys"));if(At=At||bt,St&&(Ot.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),U.visible!==!1&&Ot.push("area","graph"),K.parallelArrays.forEach(function(Pt){Ot.push(Pt+"Data")}),U.data&&(U.dataSorting&&c(K.options.dataSorting,U.dataSorting),this.setData(U.data,!1))),U=ut(at,vt,{index:typeof at.index=="undefined"?K.index:at.index,pointStart:B(mt&&mt.series&&mt.series.pointStart,at.pointStart,K.xData[0])},!St&&{data:K.options.data},U),St&&U.data&&(U.data=K.options.data),Ot=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(Ot),Ot.forEach(function(Pt){Ot[Pt]=K[Pt],delete K[Pt]}),mt=!1,g[At]){if(mt=At!==K.type,K.remove(!1,!1,!1,!0),mt)if(Object.setPrototypeOf)Object.setPrototypeOf(K,g[At].prototype);else{vt=Object.hasOwnProperty.call(K,"hcEvents")&&K.hcEvents;for(Ft in Ct)K[Ft]=void 0;c(K,g[At].prototype),vt?K.hcEvents=vt:delete K.hcEvents}}else R(17,!0,q,{missingModuleFor:At});if(Ot.forEach(function(Pt){K[Pt]=Ot[Pt]}),K.init(q,U),St&&this.points){var pt=K.options;pt.visible===!1?(Nt.graphic=1,Nt.dataLabel=1):K._hasPointLabels||(U=pt.marker,Ct=pt.dataLabels,!U||U.enabled!==!1&&(at.marker&&at.marker.symbol)===U.symbol||(Nt.graphic=1),Ct&&Ct.enabled===!1&&(Nt.dataLabel=1)),this.points.forEach(function(Pt){Pt&&Pt.series&&(Pt.resolveColor(),Object.keys(Nt).length&&Pt.destroyElements(Nt),pt.showInLegend===!1&&Pt.legendItem&&q.legend.destroyItem(Pt))},this)}K.initialType=bt,q.linkSeries(),mt&&K.linkedSeries.length&&(K.isDirtyData=!0),L(this,"afterUpdate"),B(J,!0)&&q.redraw(St?void 0:!1)},ct.prototype.setName=function(U){this.name=this.options.name=this.userOptions.name=U,this.chart.isDirtyLegend=!0},ct.prototype.hasOptionChanged=function(U){var J=this.options[U],K=this.chart.options.plotOptions,q=this.userOptions[U];return q?J!==q:J!==B(K&&K[this.type]&&K[this.type][U],K&&K.series&&K.series[U],J)},ct.prototype.onMouseOver=function(){var U=this.chart,J=U.hoverSeries;U.pointer.setHoverChartIndex(),J&&J!==this&&J.onMouseOut(),this.options.events.mouseOver&&L(this,"mouseOver"),this.setState("hover"),U.hoverSeries=this},ct.prototype.onMouseOut=function(){var U=this.options,J=this.chart,K=J.tooltip,q=J.hoverPoint;J.hoverSeries=null,q&&q.onMouseOut(),this&&U.events.mouseOut&&L(this,"mouseOut"),!K||this.stickyTracking||K.shared&&!this.noSharedTooltip||K.hide(),J.series.forEach(function(at){at.setState("",!0)})},ct.prototype.setState=function(U,J){var K=this,q=K.options,at=K.graph,bt=q.inactiveOtherPoints,mt=q.states,Ct=B(mt[U||"normal"]&&mt[U||"normal"].animation,K.chart.options.chart.animation),vt=q.lineWidth,Nt=0,Ft=q.opacity;if(U=U||"",K.state!==U&&([K.group,K.markerGroup,K.dataLabelsGroup].forEach(function(Ot){Ot&&(K.state&&Ot.removeClass("highcharts-series-"+K.state),U&&Ot.addClass("highcharts-series-"+U))}),K.state=U,!K.chart.styledMode)){if(mt[U]&&mt[U].enabled===!1)return;if(U&&(vt=mt[U].lineWidth||vt+(mt[U].lineWidthPlus||0),Ft=B(mt[U].opacity,Ft)),at&&!at.dashstyle)for(q={"stroke-width":vt},at.animate(q,Ct);K["zone-graph-"+Nt];)K["zone-graph-"+Nt].animate(q,Ct),Nt+=1;bt||[K.group,K.markerGroup,K.dataLabelsGroup,K.labelBySeries].forEach(function(Ot){Ot&&Ot.animate({opacity:Ft},Ct)})}J&&bt&&K.points&&K.setAllPointsToState(U||void 0)},ct.prototype.setAllPointsToState=function(U){this.points.forEach(function(J){J.setState&&J.setState(U)})},ct.prototype.setVisible=function(U,J){var K=this,q=K.chart,at=K.legendItem,bt=q.options.chart.ignoreHiddenSeries,mt=K.visible,Ct=(K.visible=U=K.options.visible=K.userOptions.visible=typeof U=="undefined"?!mt:U)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(vt){K[vt]&&K[vt][Ct]()}),(q.hoverSeries===K||(q.hoverPoint&&q.hoverPoint.series)===K)&&K.onMouseOut(),at&&q.legend.colorizeItem(K,U),K.isDirty=!0,K.options.stacking&&q.series.forEach(function(vt){vt.options.stacking&&vt.visible&&(vt.isDirty=!0)}),K.linkedSeries.forEach(function(vt){vt.setVisible(U,!1)}),bt&&(q.isDirtyBox=!0),L(K,Ct),J!==!1&&q.redraw()},ct.prototype.show=function(){this.setVisible(!0)},ct.prototype.hide=function(){this.setVisible(!1)},ct.prototype.select=function(U){this.selected=U=this.options.selected=typeof U=="undefined"?!this.selected:U,this.checkbox&&(this.checkbox.checked=U),L(this,U?"select":"unselect")},ct.prototype.shouldShowTooltip=function(U,J,K){return K===void 0&&(K={}),K.series=this,K.visiblePlotOnly=!0,this.chart.isInsidePlot(U,J,K)},ct.defaultOptions=j,ct}(),c(T.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:Z.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:_,requireSorting:!0,sorted:!0}),A.series=T,T}),W(u,"Extensions/ScrollablePlotArea.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/Axis.js"],u["Core/Chart/Chart.js"],u["Core/Series/Series.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){var _=T.stop,j=H.addEvent,A=H.createElement,D=H.merge,C=H.pick;j(Y,"afterSetChartSize",function(d){var o=this.options.chart.scrollablePlotArea,k=o&&o.minWidth;if(o=o&&o.minHeight,!this.renderer.forExport){if(k){if(this.scrollablePixelsX=k=Math.max(0,k-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=D(this.plotBox),this.plotBox.width=this.plotWidth+=k,this.inverted?this.clipBox.height+=k:this.clipBox.width+=k;var S={1:{name:"right",value:k}}}}else o&&(this.scrollablePixelsY=k=Math.max(0,o-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=D(this.plotBox),this.plotBox.height=this.plotHeight+=k,this.inverted?this.clipBox.width+=k:this.clipBox.height+=k,S={2:{name:"bottom",value:k}});S&&!d.skipAxes&&this.axes.forEach(function(h){S[h.side]?h.getPlotLinePath=function(){var w=S[h.side].name,b=this[w];this[w]=b-S[h.side].value;var g=I.prototype.getPlotLinePath.apply(this,arguments);return this[w]=b,g}:(h.setAxisSize(),h.setAxisTranslation())})}}),j(Y,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),Y.prototype.setUpScrolling=function(){var d=this,o={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(o.overflowX="auto"),this.scrollablePixelsY&&(o.overflowY="auto"),this.scrollingParent=A("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=A("div",{className:"highcharts-scrolling"},o,this.scrollingParent),j(this.scrollingContainer,"scroll",function(){d.pointer&&delete d.pointer.chartPosition}),this.innerContainer=A("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},Y.prototype.moveFixedElements=function(){var d=this.container,o=this.fixedRenderer,k=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),S;this.scrollablePixelsX&&!this.inverted?S=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?S=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(S=".highcharts-yaxis"),S&&k.push(S+":not(.highcharts-radial-axis)",S+"-labels:not(.highcharts-radial-axis-labels)"),k.forEach(function(h){[].forEach.call(d.querySelectorAll(h),function(w){(w.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(w),w.style.pointerEvents="auto"})})},Y.prototype.applyFixed=function(){var d=!this.fixedDiv,o=this.options.chart,k=o.scrollablePlotArea,S=Z.getRendererType();d?(this.fixedDiv=A("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(o.style&&o.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=o=new S(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=o.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":C(k.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),j(this,"afterShowResetZoom",this.moveFixedElements),j(this,"afterDrilldown",this.moveFixedElements),j(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||d)&&(this.scrollableDirty=!1,this.moveFixedElements()),o=this.chartWidth+(this.scrollablePixelsX||0),S=this.chartHeight+(this.scrollablePixelsY||0),_(this.container),this.container.style.width=o+"px",this.container.style.height=S+"px",this.renderer.boxWrapper.attr({width:o,height:S,viewBox:[0,0,o,S].join(" ")}),this.chartBackground.attr({width:o,height:S}),this.scrollingContainer.style.height=this.chartHeight+"px",d&&(k.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*k.scrollPositionX),k.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*k.scrollPositionY)),S=this.axisOffset,d=this.plotTop-S[0]-1,k=this.plotLeft-S[3]-1,o=this.plotTop+this.plotHeight+S[2]+1,S=this.plotLeft+this.plotWidth+S[1]+1;var h=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),w=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);d=this.scrollablePixelsX?[["M",0,d],["L",this.plotLeft-1,d],["L",this.plotLeft-1,o],["L",0,o],["Z"],["M",h,d],["L",this.chartWidth,d],["L",this.chartWidth,o],["L",h,o],["Z"]]:this.scrollablePixelsY?[["M",k,0],["L",k,this.plotTop-1],["L",S,this.plotTop-1],["L",S,0],["Z"],["M",k,w],["L",k,this.chartHeight],["L",S,this.chartHeight],["L",S,w],["Z"]]:[["M",0,0]],this.redrawTrigger!=="adjustHeight"&&this.scrollableMask.attr({d})},j(I,"afterInit",function(){this.chart.scrollableDirty=!0}),j(X,"show",function(){this.chart.scrollableDirty=!0})}),W(u,"Core/Axis/StackingAxis.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/Axis.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=T.getDeferredAnimation,Z=Y.addEvent,H=Y.destroyObjectProperties,_=Y.fireEvent,j=Y.isNumber,A=Y.objectEach,D;return function(C){function d(){var h=this.stacking;if(h){var w=h.stacks;A(w,function(b,g){H(b),w[g]=null}),h&&h.stackTotalGroup&&h.stackTotalGroup.destroy()}}function o(){this.stacking||(this.stacking=new S(this))}var k=[];C.compose=function(h){return k.indexOf(h)===-1&&(k.push(h),Z(h,"init",o),Z(h,"destroy",d)),h};var S=function(){function h(w){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=w}return h.prototype.buildStacks=function(){var w=this.axis,b=w.series,g=w.options.reversedStacks,p=b.length,y;if(!w.isXAxis){for(this.usePercentage=!1,y=p;y--;){var P=b[g?y:p-y-1];P.setStackedPoints(),P.setGroupedPoints()}for(y=0;yh&&C.shadow)),b&&(b.startX=d.xMap,b.isArea=d.isArea)})},A.prototype.getGraphPath=function(D,C,d){var o=this,k=o.options,S=[],h=[],w,b=k.step;D=D||o.points;var g=D.reversed;return g&&D.reverse(),(b={right:1,center:2}[b]||b&&3)&&g&&(b=4-b),D=this.getValidPoints(D,!1,!(k.connectNulls&&!C&&!d)),D.forEach(function(p,y){var P=p.plotX,m=p.plotY,x=D[y-1];(p.leftCliff||x&&x.rightCliff)&&!d&&(w=!0),p.isNull&&!H(C)&&0A&&b>o?(b=Math.max(A,o),g=2*o-b):bC&&g>o?(g=Math.max(C,o),b=2*o-g):g=Math.abs(s)&&.5l.closestPointRange*l.xAxis.transA;R=l.borderWidth=y(N.borderWidth,R?0:1);var c=l.xAxis,E=l.yAxis,L=N.threshold,et=l.translatedThreshold=E.getThreshold(L),nt=y(N.minPointLength,5),rt=l.getColumnMetrics(),G=rt.width,ut=l.pointXOffset=rt.offset,F=l.dataMin,B=l.dataMax,st=l.barW=Math.max(G,1+2*R);s.inverted&&(et-=.5),N.pointPadding&&(st=Math.ceil(st)),H.prototype.translate.apply(l),l.points.forEach(function(ht){var tt=y(ht.yBottom,et),ct=999+Math.abs(tt),U=ht.plotX||0;ct=o(ht.plotY,-ct,E.len+ct);var J=Math.min(ct,tt),K=Math.max(ct,tt)-J,q=G,at=U+ut,bt=st;nt&&Math.abs(K)nt?tt-nt:et-(U?nt:0)),S(ht.options.pointWidth)&&(q=bt=Math.ceil(ht.options.pointWidth),at-=Math.round((q-G)/2)),N.centerInCategory&&(at=l.adjustForMissingColumns(at,q,ht,rt)),ht.barX=at,ht.pointWidth=q,ht.tooltipPos=s.inverted?[o(E.len+E.pos-s.plotLeft-ct,E.pos-s.plotLeft,E.len+E.pos-s.plotLeft),c.len+c.pos-s.plotTop-at-bt/2,K]:[c.left-s.plotLeft+at+bt/2,o(ct+E.pos-s.plotTop,E.pos-s.plotTop,E.len+E.pos-s.plotTop),K],ht.shapeType=l.pointClass.prototype.shapeType||"rect",ht.shapeArgs=l.crispCol.apply(l,ht.isNull?[at,et,bt,0]:[at,J,bt,K])})},x.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},x.prototype.pointAttribs=function(l,s){var N=this.options,R=this.pointAttrToOptions||{},c=R.stroke||"borderColor",E=R["stroke-width"]||"borderWidth",L=l&&l.color||this.color,et=l&&l[c]||N[c]||L;R=l&&l.options.dashStyle||N.dashStyle;var nt=l&&l[E]||N[E]||this[E]||0,rt=y(l&&l.opacity,N.opacity,1);if(l&&this.zones.length){var G=l.getZone();L=l.options.color||G&&(G.color||l.nonZonedColor)||this.color,G&&(et=G.borderColor||et,R=G.dashStyle||R,nt=G.borderWidth||nt)}return s&&l&&(l=p(N.states[s],l.options.states&&l.options.states[s]||{}),s=l.brightness,L=l.color||typeof s!="undefined"&&C(L).brighten(l.brightness).get()||L,et=l[c]||et,nt=l[E]||nt,R=l.dashStyle||R,rt=y(l.opacity,rt)),c={fill:L,stroke:et,"stroke-width":nt,opacity:rt},R&&(c.dashstyle=R),c},x.prototype.drawPoints=function(){var l=this,s=this.chart,N=l.options,R=s.renderer,c=N.animationLimit||250,E;l.points.forEach(function(L){var et=L.graphic,nt=!!et,rt=et&&s.pointCountst,F==="left"?nt.y-=st?G.height:0:F==="center"?(nt.x-=G.width/2,nt.y-=G.height/2):F==="right"&&(nt.x-=G.width,nt.y-=st?0:G.height),l.placed=!0,l.alignAttr=nt):(st(N),l.align(s,void 0,N),nt=l.alignAttr),ht&&0<=N.height?this.justifyDataLabel(l,s,nt,G,N,R):o(s.crop,!0)&&(tt=E.isInsidePlot(nt.x,nt.y,{paneCoordinates:!0,series:c})&&E.isInsidePlot(nt.x+G.width,nt.y+G.height,{paneCoordinates:!0,series:c})),s.shape&&!ut&&l[R?"attr":"animate"]({anchorX:L?E.plotWidth-x.plotY:x.plotX,anchorY:L?E.plotHeight-x.plotX:x.plotY})}R&&et&&(l.placed=!1),tt||et&&!ht||(l.hide(!0),l.placed=!1)}function b(x,l){var s=l.filter;return s?(l=s.operator,x=x[s.property],s=s.value,l===">"&&x>s||l==="<"&&x="&&x>=s||l==="<="&&x<=s||l==="=="&&x==s||l==="==="&&x===s):!0}function g(){var x=this,l=x.chart,s=x.options,N=x.points,R=x.hasRendered||0,c=l.renderer,E=s.dataLabels,L,et=E.animation;if(et=E.defer?Z(l,et,x):{defer:0,duration:0},E=y(y(l.options.plotOptions&&l.options.plotOptions.series&&l.options.plotOptions.series.dataLabels,l.options.plotOptions&&l.options.plotOptions[x.type]&&l.options.plotOptions[x.type].dataLabels),E),A(this,"drawDataLabels"),D(E)||E.enabled||x._hasPointLabels){var nt=x.plotGroup("dataLabelsGroup","data-labels",R?"inherit":"hidden",E.zIndex||6);nt.attr({opacity:+R}),!R&&(R=x.dataLabelsGroup)&&(x.visible&&nt.show(!0),R[s.animation?"animate":"attr"]({opacity:1},et)),N.forEach(function(rt){L=k(y(E,rt.dlOptions||rt.options&&rt.options.dataLabels)),L.forEach(function(G,ut){var F=G.enabled&&(!rt.isNull||rt.dataLabelOnNull)&&b(rt,G),B=rt.connectors?rt.connectors[ut]:rt.connector,st=rt.dataLabels?rt.dataLabels[ut]:rt.dataLabel,ht=o(G.distance,rt.labelDistance),tt=!st;if(F){var ct=rt.getLabelConfig(),U=o(G[rt.formatPrefix+"Format"],G.format);ct=_(U)?H(U,ct,l):(G[rt.formatPrefix+"Formatter"]||G.formatter).call(ct,G),U=G.style;var J=G.rotation;l.styledMode||(U.color=o(G.color,U.color,x.color,Y.neutralColor100),U.color==="contrast"?(rt.contrastColor=c.getContrast(rt.color||x.color),U.color=!_(ht)&&G.inside||0>ht||s.stacking?rt.contrastColor:Y.neutralColor100):delete rt.contrastColor,s.cursor&&(U.cursor=s.cursor));var K={r:G.borderRadius||0,rotation:J,padding:G.padding,zIndex:1};l.styledMode||(K.fill=G.backgroundColor,K.stroke=G.borderColor,K["stroke-width"]=G.borderWidth),d(K,function(q,at){typeof q=="undefined"&&delete K[at]})}!st||F&&_(ct)?F&&_(ct)&&(st?K.text=ct:(rt.dataLabels=rt.dataLabels||[],st=rt.dataLabels[ut]=J?c.text(ct,0,-9999,G.useHTML).addClass("highcharts-data-label"):c.label(ct,0,-9999,G.shape,null,null,G.useHTML,null,"data-label"),ut||(rt.dataLabel=st),st.addClass(" highcharts-data-label-color-"+rt.colorIndex+" "+(G.className||"")+(G.useHTML?" highcharts-tracker":""))),st.options=G,st.attr(K),l.styledMode||st.css(U).shadow(G.shadow),st.added||st.add(nt),G.textPath&&!G.useHTML&&(st.setTextPath(rt.getDataLabelPath&&rt.getDataLabelPath(st)||rt.graphic,G.textPath),rt.dataLabelPath&&!G.textPath.enabled&&(rt.dataLabelPath=rt.dataLabelPath.destroy())),x.alignDataLabel(rt,st,G,null,tt)):(rt.dataLabel=rt.dataLabel&&rt.dataLabel.destroy(),rt.dataLabels&&(rt.dataLabels.length===1?delete rt.dataLabels:delete rt.dataLabels[ut]),ut||delete rt.dataLabel,B&&(rt.connector=rt.connector.destroy(),rt.connectors&&(rt.connectors.length===1?delete rt.connectors:delete rt.connectors[ut])))})})}A(this,"afterDrawDataLabels")}function p(x,l,s,N,R,c){var E=this.chart,L=l.align,et=l.verticalAlign,nt=x.box?0:x.padding||0,rt=l.x;rt=rt===void 0?0:rt;var G=l.y;G=G===void 0?0:G;var ut=(s.x||0)+nt;if(0>ut){L==="right"&&0<=rt?(l.align="left",l.inside=!0):rt-=ut;var F=!0}return ut=(s.x||0)+N.width-nt,ut>E.plotWidth&&(L==="left"&&0>=rt?(l.align="right",l.inside=!0):rt+=E.plotWidth-ut,F=!0),ut=s.y+nt,0>ut&&(et==="bottom"&&0<=G?(l.verticalAlign="top",l.inside=!0):G-=ut,F=!0),ut=(s.y||0)+N.height-nt,ut>E.plotHeight&&(et==="top"&&0>=G?(l.verticalAlign="bottom",l.inside=!0):G+=E.plotHeight-ut,F=!0),F&&(l.x=rt,l.y=G,x.placed=!c,x.align(l,void 0,R)),F}function y(x,l){var s=[],N;if(D(x)&&!D(l))s=x.map(function(R){return C(R,l)});else if(D(l)&&!D(x))s=l.map(function(R){return C(x,R)});else if(D(x)||D(l))for(N=Math.max(x.length,l.length);N--;)s[N]=C(x[N],l[N]);else s=C(x,l);return s}function P(x,l,s,N,R){var c=this.chart,E=c.inverted,L=this.xAxis,et=L.reversed,nt=E?l.height/2:l.width/2;x=(x=x.pointWidth)?x/2:0,l.startXPos=E?R.x:et?-nt-x:L.width-nt+x,l.startYPos=E?et?this.yAxis.height-nt+x:-nt-x:R.y,N?l.visibility==="hidden"&&(l.show(),l.attr({opacity:0}).animate({opacity:1})):l.attr({opacity:1}).animate({opacity:0},void 0,l.hide),c.hasRendered&&(s&&l.attr({x:l.startXPos,y:l.startYPos}),l.placed=!0)}var m=[];h.compose=function(x){if(m.indexOf(x)===-1){var l=x.prototype;m.push(x),l.alignDataLabel=w,l.drawDataLabels=g,l.justifyDataLabel=p,l.setDataLabelStartPos=P}}}(S||(S={})),S}),W(u,"Series/Column/ColumnDataLabel.js",[u["Core/Series/DataLabel.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=I.series,Z=Y.merge,H=Y.pick,_;return function(j){function A(C,d,o,k,S){var h=this.chart.inverted,w=C.series,b=C.dlBox||C.shapeArgs,g=H(C.below,C.plotY>H(this.translatedThreshold,w.yAxis.len)),p=H(o.inside,!!this.options.stacking);b&&(k=Z(b),0>k.y&&(k.height+=k.y,k.y=0),b=k.y+k.height-w.yAxis.len,0\u25CF {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),D}(I),_(X.prototype,{drawTracker:T.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),H(X,"afterTranslate",function(){this.applyJitter()}),Y.registerSeriesType("scatter",X),X}),W(u,"Mixins/CenteredSeries.js",[u["Core/Globals.js"],u["Core/Series/Series.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=Y.isNumber,Z=Y.pick,H=Y.relativeLength,_=T.deg2rad;return T.CenteredSeriesMixin={getCenter:function(){var j=this.options,A=this.chart,D=2*(j.slicedOffset||0),C=A.plotWidth-2*D,d=A.plotHeight-2*D,o=j.center,k=Math.min(C,d),S=j.size,h=j.innerSize||0;for(typeof S=="string"&&(S=parseFloat(S)),typeof h=="string"&&(h=parseFloat(h)),j=[Z(o[0],"50%"),Z(o[1],"50%"),Z(S&&0>S?void 0:j.size,"100%"),Z(h&&0>h?void 0:j.innerSize||0,"0%")],!A.angular||this instanceof I||(j[3]=0),o=0;4>o;++o)S=j[o],A=2>o||o===2&&/%$/.test(S),j[o]=H(S,[C,d,k,j[2]][o])+(A?D:0);return j[3]>j[2]&&(j[3]=j[2]),j},getStartAndEndRadians:function(j,A){return j=X(j)?j:0,A=X(A)&&A>j&&360>A-j?A:j+360,{start:_*(j+-90),end:_*(A+-90)}}}}),W(u,"Series/Pie/PiePoint.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Series/Point.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=this&&this.__extends||function(){var C=function(d,o){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,S){k.__proto__=S}||function(k,S){for(var h in S)S.hasOwnProperty(h)&&(k[h]=S[h])},C(d,o)};return function(d,o){function k(){this.constructor=d}C(d,o),d.prototype=o===null?Object.create(o):(k.prototype=o.prototype,new k)}}(),Z=T.setAnimation,H=Y.addEvent,_=Y.defined;T=Y.extend;var j=Y.isNumber,A=Y.pick,D=Y.relativeLength;return I=function(C){function d(){var o=C!==null&&C.apply(this,arguments)||this;return o.labelDistance=void 0,o.options=void 0,o.series=void 0,o}return X(d,C),d.prototype.getConnectorPath=function(){var o=this.labelPosition,k=this.series.options.dataLabels,S=this.connectorShapes,h=k.connectorShape;return S[h]&&(h=S[h]),h.call(this,{x:o.final.x,y:o.final.y,alignment:o.alignment},o.connectorPosition,k)},d.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},d.prototype.haloPath=function(o){var k=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(k.x,k.y,k.r+o,k.r+o,{innerR:k.r-1,start:k.start,end:k.end})},d.prototype.init=function(){var o=this;C.prototype.init.apply(this,arguments),this.name=A(this.name,"Slice");var k=function(S){o.slice(S.type==="select")};return H(this,"select",k),H(this,"unselect",k),this},d.prototype.isValid=function(){return j(this.y)&&0<=this.y},d.prototype.setVisible=function(o,k){var S=this,h=this.series,w=h.chart,b=h.options.ignoreHiddenPoint;k=A(k,b),o!==this.visible&&(this.visible=this.options.visible=o=typeof o=="undefined"?!this.visible:o,h.options.data[h.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(g){S[g]&&S[g][o?"show":"hide"](o)}),this.legendItem&&w.legend.colorizeItem(this,o),o||this.state!=="hover"||this.setState(""),b&&(h.isDirty=!0),k&&w.redraw())},d.prototype.slice=function(o,k,S){var h=this.series;Z(S,h.chart),A(k,!0),this.sliced=this.options.sliced=_(o)?o:!this.sliced,h.options.data[h.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},d}(I),T(I.prototype,{connectorShapes:{fixedOffset:function(C,d,o){var k=d.breakAt;return d=d.touchingSliceAt,[["M",C.x,C.y],o.softConnector?["C",C.x+(C.alignment==="left"?-5:5),C.y,2*k.x-d.x,2*k.y-d.y,k.x,k.y]:["L",k.x,k.y],["L",d.x,d.y]]},straight:function(C,d){return d=d.touchingSliceAt,[["M",C.x,C.y],["L",d.x,d.y]]},crookedLine:function(C,d,o){d=d.touchingSliceAt;var k=this.series,S=k.center[0],h=k.chart.plotWidth,w=k.chart.plotLeft;k=C.alignment;var b=this.shapeArgs.r;return o=D(o.crookDistance,1),h=k==="left"?S+b+(h+w-S-b)*(1-o):w+(S-b)*o,o=["L",h,C.y],S=!0,(k==="left"?h>C.x||hd.x)&&(S=!1),C=[["M",C.x,C.y]],S&&C.push(o),C.push(["L",d.x,d.y]),C}}}),I}),W(u,"Series/Pie/PieSeries.js",[u["Mixins/CenteredSeries.js"],u["Series/Column/ColumnSeries.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Color/Palette.js"],u["Series/Pie/PiePoint.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/Symbols.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A,D){var C=this&&this.__extends||function(){var g=function(p,y){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,m){P.__proto__=m}||function(P,m){for(var x in m)m.hasOwnProperty(x)&&(P[x]=m[x])},g(p,y)};return function(p,y){function P(){this.constructor=p}g(p,y),p.prototype=y===null?Object.create(y):(P.prototype=y.prototype,new P)}}(),d=T.getStartAndEndRadians;Y=Y.noop;var o=D.clamp,k=D.extend,S=D.fireEvent,h=D.merge,w=D.pick,b=D.relativeLength;return D=function(g){function p(){var y=g!==null&&g.apply(this,arguments)||this;return y.center=void 0,y.data=void 0,y.maxLabelDistance=void 0,y.options=void 0,y.points=void 0,y}return C(p,g),p.prototype.animate=function(y){var P=this,m=P.points,x=P.startAngleRad;y||m.forEach(function(l){var s=l.graphic,N=l.shapeArgs;s&&N&&(s.attr({r:w(l.startR,P.center&&P.center[3]/2),start:x,end:x}),s.animate({r:N.r,start:N.start,end:N.end},P.options.animation))})},p.prototype.drawEmpty=function(){var y=this.startAngleRad,P=this.endAngleRad,m=this.options;if(this.total===0&&this.center){var x=this.center[0],l=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(x,l,this.center[1]/2,0,y,P).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:A.arc(x,l,this.center[2]/2,0,{start:y,end:P,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":m.borderWidth,fill:m.fillColor||"none",stroke:m.color||Z.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},p.prototype.drawPoints=function(){var y=this.chart.renderer;this.points.forEach(function(P){P.graphic&&P.hasNewShapeType()&&(P.graphic=P.graphic.destroy()),P.graphic||(P.graphic=y[P.shapeType](P.shapeArgs).add(P.series.group),P.delayedRendering=!0)})},p.prototype.generatePoints=function(){g.prototype.generatePoints.call(this),this.updateTotals()},p.prototype.getX=function(y,P,m){var x=this.center,l=this.radii?this.radii[m.index]||0:x[2]/2;return y=Math.asin(o((y-x[1])/(l+m.labelDistance),-1,1)),x[0]+(P?-1:1)*Math.cos(y)*(l+m.labelDistance)+(01.5*Math.PI?rt-=2*Math.PI:rt<-Math.PI/2&&(rt+=2*Math.PI),et.slicedTranslation={translateX:Math.round(Math.cos(rt)*m),translateY:Math.round(Math.sin(rt)*m)},G=Math.cos(rt)*y[2]/2;var ut=Math.sin(rt)*y[2]/2;et.tooltipPos=[y[0]+.7*G,y[1]+.7*ut],et.half=rt<-Math.PI/2||rt>Math.PI/2?1:0,et.angle=rt,nt=Math.min(x,et.labelDistance/5),et.labelPosition={natural:{x:y[0]+G+Math.cos(rt)*et.labelDistance,y:y[1]+ut+Math.sin(rt)*et.labelDistance},final:{},alignment:0>et.labelDistance?"center":et.half?"right":"left",connectorPosition:{breakAt:{x:y[0]+G+Math.cos(rt)*nt,y:y[1]+ut+Math.sin(rt)*nt},touchingSliceAt:{x:y[0]+G,y:y[1]+ut}}}}S(this,"afterTranslate")},p.prototype.updateTotals=function(){var y=this.points,P=y.length,m=this.options.ignoreHiddenPoint,x,l=0;for(x=0;xL&&(Ct.dataLabel.css({width:Math.round(.7*L)+"px"}),Ct.dataLabel.shortened=!0)):(Ct.dataLabel=Ct.dataLabel.destroy(),Ct.dataLabels&&Ct.dataLabels.length===1&&delete Ct.dataLabels))}),G.forEach(function(Ct,vt){var Nt=Ct.length,Ft=[],Ot;if(Nt){if(m.sortByAngle(Ct,vt-.5),0R-N&&vt===0&&(At=Math.round(K+ct-R+N),ut[1]=Math.max(At,ut[1])),0>q-J/2?ut[0]=Math.max(Math.round(-q+J/2),ut[0]):q+J/2>c&&(ut[2]=Math.max(Math.round(q+J/2-c),ut[2])),tt.sideOverflow=At)}}}),D(ut)===0||this.verifyDataLabelOverflow(ut))&&(this.placeDataLabels(),this.points.forEach(function(Ct){if(mt=o(s,Ct.options.dataLabels),st=k(mt.connectorWidth,1)){var vt;ht=Ct.connector,(tt=Ct.dataLabel)&&tt._pos&&Ct.visible&&0x.bottom-2?s:l,x.half,x)},justify:function(m,x,l){return l[0]+(m.half?-1:1)*(x+m.labelDistance)},alignToPlotEdges:function(m,x,l,s){return m=m.getBBox().width,x?m+s:l-m-s},alignToConnectors:function(m,x,l,s){var N=0,R;return m.forEach(function(c){R=c.dataLabel.getBBox().width,R>N&&(N=R)}),x?N+s:l-N-s}};w.compose=function(m){T.compose(A),y.indexOf(m)===-1&&(y.push(m),m=m.prototype,m.dataLabelPositioners=P,m.alignDataLabel=_,m.drawDataLabels=b,m.placeDataLabels=g,m.verifyDataLabelOverflow=p)}}(h||(h={})),h}),W(u,"Extensions/OverlappingDataLabels.js",[u["Core/Chart/Chart.js"],u["Core/Utilities.js"]],function(T,I){function Y(D,C){var d=!1;if(D){var o=D.newOpacity;D.oldOpacity!==o&&(D.alignAttr&&D.placed?(D[o?"removeClass":"addClass"]("highcharts-data-label-hidden"),d=!0,D.alignAttr.opacity=o,D[D.isOld?"animate":"attr"](D.alignAttr,null,function(){C.styledMode||D.css({pointerEvents:o?"auto":"none"})}),Z(C,"afterHideOverlappingLabel")):D.attr({opacity:o})),D.isOld=!0}return d}var X=I.addEvent,Z=I.fireEvent,H=I.isArray,_=I.isNumber,j=I.objectEach,A=I.pick;X(T,"render",function(){var D=this,C=[];(this.labelCollectors||[]).forEach(function(d){C=C.concat(d())}),(this.yAxis||[]).forEach(function(d){d.stacking&&d.options.stackLabels&&!d.options.stackLabels.allowOverlap&&j(d.stacking.stacks,function(o){j(o,function(k){k.label&&k.label.visibility!=="hidden"&&C.push(k.label)})})}),(this.series||[]).forEach(function(d){var o=d.options.dataLabels;d.visible&&(o.enabled!==!1||d._hasPointLabels)&&(o=function(k){return k.forEach(function(S){S.visible&&(H(S.dataLabels)?S.dataLabels:S.dataLabel?[S.dataLabel]:[]).forEach(function(h){var w=h.options;h.labelrank=A(w.labelrank,S.labelrank,S.shapeArgs&&S.shapeArgs.height),w.allowOverlap?(h.oldOpacity=h.opacity,h.newOpacity=1,Y(h,D)):C.push(h)})})},o(d.nodes||[]),o(d.points))}),this.hideOverlappingLabels(C)}),T.prototype.hideOverlappingLabels=function(D){var C=this,d=D.length,o=C.renderer,k,S,h,w=!1,b=function(y){var P,m=y.box?0:y.padding||0,x=P=0,l;if(y&&(!y.alignAttr||y.placed)){var s=y.alignAttr||{x:y.attr("x"),y:y.attr("y")},N=y.parentGroup;y.width||(P=y.getBBox(),y.width=P.width,y.height=P.height,P=o.fontMetrics(null,y.element).h);var R=y.width-2*m;return(l={left:"0",center:"0.5",right:"1"}[y.alignValue])?x=+l*R:_(y.x)&&Math.round(y.x)!==y.translateX&&(x=y.x-y.translateX),{x:s.x+(N.translateX||0)+m-(x||0),y:s.y+(N.translateY||0)+m-P,width:y.width-2*m,height:y.height-2*m}}};for(S=0;S=g.x+g.width||p.x+p.width<=g.x||p.y>=g.y+g.height||p.y+p.height<=g.y||((b.labelrank=j(b.minWidth,0)&&this.chartHeight>=j(b.minHeight,0)}).call(this)&&w.push(h._id)},S.prototype.setResponsive=function(h,w){var b=this,g=this.options.responsive,p=this.currentResponsive,y=[];!w&&g&&g.rules&&g.rules.forEach(function(P){typeof P._id=="undefined"&&(P._id=D()),b.matchResponsiveRule(P,y)},this),w=H.apply(void 0,y.map(function(P){return Y((g||{}).rules||[],function(m){return m._id===P})}).map(function(P){return P&&P.chartOptions})),w.isResponsiveOptions=!0,y=y.toString()||void 0,y!==(p&&p.ruleIds)&&(p&&this.update(p.undoOptions,h,!0),y?(p=this.currentOptions(w),p.isResponsiveOptions=!0,this.currentResponsive={ruleIds:y,mergedOptions:w,undoOptions:p},this.update(w,h,!0)):this.currentResponsive=void 0)},S}()}(C||(C={})),C}),W(u,"masters/highcharts.src.js",[u["Core/Globals.js"],u["Core/Utilities.js"],u["Core/DefaultOptions.js"],u["Core/Animation/Fx.js"],u["Core/Animation/AnimationUtilities.js"],u["Core/Renderer/HTML/AST.js"],u["Core/FormatUtilities.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Renderer/HTML/HTMLElement.js"],u["Core/Renderer/HTML/HTMLRenderer.js"],u["Core/Axis/Axis.js"],u["Core/Axis/DateTimeAxis.js"],u["Core/Axis/LogarithmicAxis.js"],u["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],u["Core/Axis/Tick.js"],u["Core/Tooltip.js"],u["Core/Series/Point.js"],u["Core/Pointer.js"],u["Core/MSPointer.js"],u["Core/Legend/Legend.js"],u["Core/Chart/Chart.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Series/Column/ColumnSeries.js"],u["Series/Column/ColumnDataLabel.js"],u["Series/Pie/PieSeries.js"],u["Series/Pie/PieDataLabel.js"],u["Core/Series/DataLabel.js"],u["Core/Responsive.js"],u["Core/Color/Color.js"],u["Core/Time.js"]],function(T,I,Y,X,Z,H,_,j,A,D,C,d,o,k,S,h,w,b,g,p,y,P,m,x,l,s,N,R,c,E,L,et,nt){return T.animate=Z.animate,T.animObject=Z.animObject,T.getDeferredAnimation=Z.getDeferredAnimation,T.setAnimation=Z.setAnimation,T.stop=Z.stop,T.timers=X.timers,T.AST=H,T.Axis=o,T.Chart=m,T.chart=m.chart,T.Fx=X,T.Legend=P,T.PlotLineOrBand=h,T.Point=g,T.Pointer=y.isRequired()?y:p,T.Series=x,T.SVGElement=A,T.SVGRenderer=D,T.Tick=w,T.Time=nt,T.Tooltip=b,T.Color=et,T.color=et.parse,d.compose(D),C.compose(A),T.defaultOptions=Y.defaultOptions,T.getOptions=Y.getOptions,T.time=Y.defaultTime,T.setOptions=Y.setOptions,T.dateFormat=_.dateFormat,T.format=_.format,T.numberFormat=_.numberFormat,T.addEvent=I.addEvent,T.arrayMax=I.arrayMax,T.arrayMin=I.arrayMin,T.attr=I.attr,T.clearTimeout=I.clearTimeout,T.correctFloat=I.correctFloat,T.createElement=I.createElement,T.css=I.css,T.defined=I.defined,T.destroyObjectProperties=I.destroyObjectProperties,T.discardElement=I.discardElement,T.distribute=j.distribute,T.erase=I.erase,T.error=I.error,T.extend=I.extend,T.extendClass=I.extendClass,T.find=I.find,T.fireEvent=I.fireEvent,T.getMagnitude=I.getMagnitude,T.getStyle=I.getStyle,T.inArray=I.inArray,T.isArray=I.isArray,T.isClass=I.isClass,T.isDOMElement=I.isDOMElement,T.isFunction=I.isFunction,T.isNumber=I.isNumber,T.isObject=I.isObject,T.isString=I.isString,T.keys=I.keys,T.merge=I.merge,T.normalizeTickInterval=I.normalizeTickInterval,T.objectEach=I.objectEach,T.offset=I.offset,T.pad=I.pad,T.pick=I.pick,T.pInt=I.pInt,T.relativeLength=I.relativeLength,T.removeEvent=I.removeEvent,T.seriesType=l.seriesType,T.splat=I.splat,T.stableSort=I.stableSort,T.syncTimeout=I.syncTimeout,T.timeUnits=I.timeUnits,T.uniqueKey=I.uniqueKey,T.useSerialIds=I.useSerialIds,T.wrap=I.wrap,N.compose(s),E.compose(x),k.compose(o),S.compose(o),c.compose(R),h.compose(o),L.compose(m),T}),u["masters/highcharts.src.js"]._modules=u,u["masters/highcharts.src.js"]})},4563:function(lr,pe,xt){"use strict";var ft;(function(Mt,W){lr.exports?(W.default=W,lr.exports=Mt.document?W(Mt):W):(ft=function(){return W(Mt)}.call(pe,xt,pe,lr),ft!==void 0&&(lr.exports=ft))})(typeof window!="undefined"?window:this,function(Mt){function W(T,I,Y,X){T.hasOwnProperty(I)||(T[I]=X.apply(null,Y))}var u={};return W(u,"Core/Globals.js",[],function(){var T=typeof Mt!="undefined"?Mt:typeof window!="undefined"?window:{},I;return function(Y){Y.SVG_NS="http://www.w3.org/2000/svg",Y.product="Highcharts",Y.version="9.2.2",Y.win=T,Y.doc=Y.win.document,Y.svg=Y.doc&&Y.doc.createElementNS&&!!Y.doc.createElementNS(Y.SVG_NS,"svg").createSVGRect,Y.userAgent=Y.win.navigator&&Y.win.navigator.userAgent||"",Y.isChrome=Y.userAgent.indexOf("Chrome")!==-1,Y.isFirefox=Y.userAgent.indexOf("Firefox")!==-1,Y.isMS=/(edge|msie|trident)/i.test(Y.userAgent)&&!Y.win.opera,Y.isSafari=!Y.isChrome&&Y.userAgent.indexOf("Safari")!==-1,Y.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(Y.userAgent),Y.isWebKit=Y.userAgent.indexOf("AppleWebKit")!==-1,Y.deg2rad=2*Math.PI/360,Y.hasBidiBug=Y.isFirefox&&4>parseInt(Y.userAgent.split("Firefox/")[1],10),Y.hasTouch=!!Y.win.TouchEvent,Y.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],Y.noop=function(){},Y.supportsPassiveEvents=function(){var X=!1;if(!Y.isMS){var Z=Object.defineProperty({},"passive",{get:function(){X=!0}});Y.win.addEventListener&&Y.win.removeEventListener&&(Y.win.addEventListener("testPassive",Y.noop,Z),Y.win.removeEventListener("testPassive",Y.noop,Z))}return X}(),Y.charts=[],Y.dateFormats={},Y.seriesTypes={},Y.symbolSizes={},Y.chartCount=0}(I||(I={})),I}),W(u,"Core/Utilities.js",[u["Core/Globals.js"]],function(T){function I(c,E,L,et){var nt=E?"Highcharts error":"Highcharts warning";c===32&&(c=nt+": Deprecated member");var rt=D(c),G=rt?nt+" #"+c+": www.highcharts.com/errors/"+c+"/":c.toString();if(typeof et!="undefined"){var ut="";rt&&(G+="?"),g(et,function(F,B){ut+=` - - `+B+": "+F,rt&&(G+=encodeURI(B)+"="+encodeURI(F))}),G+=ut}y(T,"displayError",{chart:L,code:c,message:G,params:et},function(){if(E)throw Error(G);x.console&&I.messages.indexOf(G)===-1&&console.warn(G)}),I.messages.push(G)}function Y(c,E){var L={};return g(c,function(et,nt){_(c[nt],!0)&&!c.nodeType&&E[nt]?(et=Y(c[nt],E[nt]),Object.keys(et).length&&(L[nt]=et)):(_(c[nt])||c[nt]!==E[nt])&&(L[nt]=c[nt])}),L}function X(c,E){return parseInt(c,E||10)}function Z(c){return typeof c=="string"}function H(c){return c=Object.prototype.toString.call(c),c==="[object Array]"||c==="[object Array Iterator]"}function _(c,E){return!!c&&typeof c=="object"&&(!E||!H(c))}function j(c){return _(c)&&typeof c.nodeType=="number"}function A(c){var E=c&&c.constructor;return!(!_(c,!0)||j(c)||!E||!E.name||E.name==="Object")}function D(c){return typeof c=="number"&&!isNaN(c)&&1/0>c&&-1/0=E-1&&(E=Math.floor(L)),Math.max(0,E-(et(c,"padding-left",!0)||0)-(et(c,"padding-right",!0)||0));if(E==="height")return Math.max(0,Math.min(c.offsetHeight,c.scrollHeight)-(et(c,"padding-top",!0)||0)-(et(c,"padding-bottom",!0)||0));if(x.getComputedStyle||I(27,!0),c=x.getComputedStyle(c,void 0)){var nt=c.getPropertyValue(E);k(L,E!=="opacity")&&(nt=X(nt))}return nt}function g(c,E,L){for(var et in c)Object.hasOwnProperty.call(c,et)&&E.call(L||c[et],c[et],et,c)}function p(c,E,L){function et(ut,F){var B=c.removeEventListener||T.removeEventListenerPolyfill;B&&B.call(c,ut,F,!1)}function nt(ut){var F;if(c.nodeName){if(E){var B={};B[E]=!0}else B=ut;g(B,function(st,ht){if(ut[ht])for(F=ut[ht].length;F--;)et(ht,ut[ht][F].fn)})}}var rt=typeof c=="function"&&c.prototype||c;if(Object.hasOwnProperty.call(rt,"hcEvents")){var G=rt.hcEvents;E?(rt=G[E]||[],L?(G[E]=rt.filter(function(ut){return L!==ut.fn}),et(E,L)):(nt(G),G[E]=[])):(nt(G),delete rt.hcEvents)}}function y(c,E,L,et){if(L=L||{},m.createEvent&&(c.dispatchEvent||c.fireEvent&&c!==T)){var nt=m.createEvent("Events");nt.initEvent(E,!0,!0),L=o(nt,L),c.dispatchEvent?c.dispatchEvent(L):c.fireEvent(E,L)}else if(c.hcEvents){L.target||o(L,{preventDefault:function(){L.defaultPrevented=!0},target:c,type:E}),nt=[];for(var rt=c,G=!1;rt.hcEvents;)Object.hasOwnProperty.call(rt,"hcEvents")&&rt.hcEvents[E]&&(nt.length&&(G=!0),nt.unshift.apply(nt,rt.hcEvents[E])),rt=Object.getPrototypeOf(rt);G&&nt.sort(function(ut,F){return ut.order-F.order}),nt.forEach(function(ut){ut.fn.call(c,L)===!1&&L.preventDefault()})}et&&!L.defaultPrevented&&et.call(c,L)}var P=T.charts,m=T.doc,x=T.win;(I||(I={})).messages=[];var l;Math.easeInOutSine=function(c){return-.5*(Math.cos(Math.PI*c)-1)};var s=Array.prototype.find?function(c,E){return c.find(E)}:function(c,E){var L,et=c.length;for(L=0;LL&&(L=c[E]);return L},arrayMin:function(c){for(var E=c.length,L=c[0];E--;)c[E]E?c=L&&(E=[1/L]))),et=0;et=c||!nt&&G<=(E[et]+(E[et+1]||E[et]))/2));et++);return rt=w(rt*L,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(c){var E=m.documentElement;return c=c.parentElement||c.parentNode?c.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:c.top+(x.pageYOffset||E.scrollTop)-(E.clientTop||0),left:c.left+(x.pageXOffset||E.scrollLeft)-(E.clientLeft||0),width:c.width,height:c.height}},pad:function(c,E,L){return Array((E||2)+1-String(c).replace("-","").length).join(L||"0")+c},pick:k,pInt:X,relativeLength:function(c,E,L){return/%$/.test(c)?E*parseFloat(c)/100+(L||0):parseFloat(c)},removeEvent:p,splat:function(c){return H(c)?c:[c]},stableSort:function(c,E){var L=c.length,et,nt;for(nt=0;nt>16,(D&65280)>>8,D&255,1]:A===4&&(j=[(D&3840)>>4|(D&3840)>>8,(D&240)>>4|D&240,(D&15)<<4|D&15,1])}if(!j)for(D=H.parsers.length;D--&&!j;){var C=H.parsers[D];(A=C.regex.exec(_))&&(j=C.parse(A))}}j&&(this.rgba=j)},H.prototype.get=function(_){var j=this.input,A=this.rgba;if(typeof j=="object"&&typeof this.stops!="undefined"){var D=X(j);return D.stops=[].slice.call(D.stops),this.stops.forEach(function(C,d){D.stops[d]=[D.stops[d][0],C.get(_)]}),D}return A&&Y(A[0])?_==="rgb"||!_&&A[3]===1?"rgb("+A[0]+","+A[1]+","+A[2]+")":_==="a"?""+A[3]:"rgba("+A.join(",")+")":j},H.prototype.brighten=function(_){var j=this.rgba;if(this.stops)this.stops.forEach(function(D){D.brighten(_)});else if(Y(_)&&_!==0)for(var A=0;3>A;A++)j[A]+=Z(255*_),0>j[A]&&(j[A]=0),255P?"AM":"PM",P:12>P?"am":"pm",S:D(y.getSeconds()),L:D(Math.floor(b%1e3),3)},T.dateFormats),A(y,function(E,L){for(;w.indexOf("%"+L)!==-1;)w=w.replace("%"+L,typeof E=="function"?E.call(p,b):E)}),g?w.substr(0,1).toUpperCase()+w.substr(1):w},h.prototype.resolveDTLFormat=function(w){return _(w,!0)?w:(w=d(w),{main:w[0],from:w[1],to:w[2]})},h.prototype.getTimeTicks=function(w,b,g,p){var y=this,P=[],m={},x=new y.Date(b),l=w.unitRange,s=w.count||1,N;if(p=C(p,1),X(b)){if(y.set("Milliseconds",x,l>=o.second?0:s*Math.floor(y.get("Milliseconds",x)/s)),l>=o.second&&y.set("Seconds",x,l>=o.minute?0:s*Math.floor(y.get("Seconds",x)/s)),l>=o.minute&&y.set("Minutes",x,l>=o.hour?0:s*Math.floor(y.get("Minutes",x)/s)),l>=o.hour&&y.set("Hours",x,l>=o.day?0:s*Math.floor(y.get("Hours",x)/s)),l>=o.day&&y.set("Date",x,l>=o.month?1:Math.max(1,s*Math.floor(y.get("Date",x)/s))),l>=o.month){y.set("Month",x,l>=o.year?0:s*Math.floor(y.get("Month",x)/s));var R=y.get("FullYear",x)}l>=o.year&&y.set("FullYear",x,R-R%s),l===o.week&&(R=y.get("Day",x),y.set("Date",x,y.get("Date",x)-R+p+(R4*o.month||y.getTimezoneOffset(b)!==y.getTimezoneOffset(g)),b=x.getTime(),x=1;bP.length&&P.forEach(function(L){L%18e5===0&&y.dateFormat("%H%M%S%L",L)==="000000000"&&(m[L]="day")})}return P.info=H(w,{higherRanks:m,totalRange:l*s}),P},h.prototype.getDateFormat=function(w,b,g,p){var y=this.dateFormat("%m-%d %H:%M:%S.%L",b),P={millisecond:15,second:12,minute:9,hour:6,day:3},m="millisecond";for(x in o){if(w===o.week&&+this.dateFormat("%w",b)===g&&y.substr(6)==="00:00:00.000"){var x="week";break}if(o[x]>w){x=m;break}if(P[x]&&y.substr(P[x])!=="01-01 00:00:00.000".substr(P[x]))break;x!=="week"&&(m=x)}if(x)var l=this.resolveDTLFormat(p[x]).main;return l},h}(),I}),W(u,"Core/DefaultOptions.js",[u["Core/Chart/ChartDefaults.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Color/Palette.js"],u["Core/Time.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){I=I.parse;var _=H.merge,j={colors:X.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:T,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:X.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:X.neutralColor40,borderRadius:0,navigation:{activeColor:X.highlightColor100,inactiveColor:X.neutralColor20},itemStyle:{color:X.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:X.neutralColor100},itemHiddenStyle:{color:X.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:X.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:Y.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:Y.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25CF {series.name}: {point.y}
',backgroundColor:I(X.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:X.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:X.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};j.chart.styledMode=!1;var A=new Z(_(j.global,j.time));return T={defaultOptions:j,defaultTime:A,getOptions:function(){return j},setOptions:function(D){return _(!0,j,D),(D.time||D.global)&&(Y.time?Y.time.update(_(j.global,j.time,D.global,D.time)):Y.time=A),j}},T}),W(u,"Core/Animation/Fx.js",[u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=T.parse,Z=I.win,H=Y.isNumber,_=Y.objectEach;return function(){function j(A,D,C){this.pos=NaN,this.options=D,this.elem=A,this.prop=C}return j.prototype.dSetter=function(){var A=this.paths,D=A&&A[0];A=A&&A[1];var C=this.now||0,d=[];if(C!==1&&D&&A)if(D.length===A.length&&1>C)for(var o=0;o=k+this.startTime){this.now=this.end,this.pos=1,this.update();var h=S[this.prop]=!0;_(S,function(w){w!==!0&&(h=!1)}),h&&o&&o.call(d),A=!1}else this.pos=C.easing((D-this.startTime)/k),this.now=this.start+(this.end-this.start)*this.pos,this.update(),A=!0;return A},j.prototype.initPath=function(A,D,C){function d(y,P){for(;y.lengthh[1]){var b=C+ +h[1];0<=b?(h[0]=(+h[0]).toExponential(b).split("e")[0],C=b):(h[0]=h[0].split(".")[0]||0,D=20>C?(h[0]*Math.pow(10,h[1])).toFixed(C):0,h[1]=0)}b=(Math.abs(h[1]?h[0]:D)+Math.pow(10,-Math.max(C,S)-1)).toFixed(C),S=String(A(b));var g=3D?"-":"")+(g?S.substr(0,g)+o:""),D=0>+h[1]&&!w?"0":D+S.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+o),C&&(D+=d+b.slice(-C)),h[1]&&+D!=0&&(D+="e"+h[1]),D}var X=T.defaultOptions,Z=T.defaultTime,H=I.getNestedProperty,_=I.isNumber,j=I.pick,A=I.pInt;return{dateFormat:function(D,C,d){return Z.dateFormat(D,C,d)},format:function(D,C,d){var o="{",k=!1,S=/f$/,h=/\.([0-9])/,w=X.lang,b=d&&d.time||Z;d=d&&d.numberFormatter||Y;for(var g=[];D;){var p=D.indexOf(o);if(p===-1)break;var y=D.slice(0,p);if(k){if(y=y.split(":"),o=H(y.shift()||"",C),y.length&&typeof o=="number")if(y=y.join(":"),S.test(y)){var P=parseInt((y.match(h)||["","-1"])[1],10);o!==null&&(o=d(o,P,w.decimalPoint,-1d){for(X(j,o),b=S=0;b<=d;)b+=j[S].size,S++;w=j.splice(S-1,j.length)}for(X(j,k),j=j.map(function(g){return{size:g.size,targets:[g.target],align:Y(g.align,.5)}});h;){for(S=j.length;S--;)d=j[S],o=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/2,d.pos=I(o-d.size*d.align,0,A-d.size);for(S=j.length,h=!1;S--;)0j[S].pos&&(j[S-1].size+=j[S].size,j[S-1].targets=j[S-1].targets.concat(j[S].targets),j[S-1].align=.5,j[S-1].pos+j[S-1].size>A&&(j[S-1].pos=A-j[S-1].size),j.splice(S,1),h=!0)}return C.push.apply(C,w),S=0,j.some(function(g){var p=0;return(g.targets||[]).some(function(){return C[S].pos=g.pos+p,typeof D!="undefined"&&Math.abs(C[S].pos-C[S].target)>D?(C.slice(0,S+1).forEach(function(y){return delete y.pos}),C.reducedLen=(C.reducedLen||A)-.1*A,C.reducedLen>.1*A&&_(C,A,D),!0):(p+=C[S].size,S++,!1)})}),X(C,k),C}H.distribute=_}(Z||(Z={})),Z}),W(u,"Core/Renderer/SVG/SVGElement.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Renderer/HTML/AST.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Color/Palette.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){var _=T.animate,j=T.animObject,A=T.stop,D=X.deg2rad,C=X.doc,d=X.noop,o=X.svg,k=X.SVG_NS,S=X.win,h=H.addEvent,w=H.attr,b=H.createElement,g=H.css,p=H.defined,y=H.erase,P=H.extend,m=H.fireEvent,x=H.isArray,l=H.isFunction,s=H.isNumber,N=H.isString,R=H.merge,c=H.objectEach,E=H.pick,L=H.pInt,et=H.syncTimeout,nt=H.uniqueKey;return T=function(){function rt(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=k,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return rt.prototype._defaultGetter=function(G){return G=E(this[G+"Value"],this[G],this.element?this.element.getAttribute(G):null,0),/^[\-0-9\.]+$/.test(G)&&(G=parseFloat(G)),G},rt.prototype._defaultSetter=function(G,ut,F){F.setAttribute(ut,G)},rt.prototype.add=function(G){var ut=this.renderer,F=this.element;if(G&&(this.parentGroup=G),this.parentInverted=G&&G.inverted,typeof this.textStr!="undefined"&&this.element.nodeName==="text"&&ut.buildText(this),this.added=!0,!G||G.handleZ||this.zIndex)var B=this.zIndexSetter();return B||(G?G.element:ut.box).appendChild(F),this.onAdd&&this.onAdd(),this},rt.prototype.addClass=function(G,ut){var F=ut?"":this.attr("class")||"";return G=(G||"").split(/ /g).reduce(function(B,st){return F.indexOf(st)===-1&&B.push(st),B},F?[F]:[]).join(" "),G!==F&&this.attr("class",G),this},rt.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},rt.prototype.align=function(G,ut,F){var B={},st=this.renderer,ht=st.alignedObjects,tt,ct,U;G?(this.alignOptions=G,this.alignByTranslate=ut,(!F||N(F))&&(this.alignTo=tt=F||"renderer",y(ht,this),ht.push(this),F=void 0)):(G=this.alignOptions,ut=this.alignByTranslate,tt=this.alignTo),F=E(F,st[tt],tt==="scrollablePlotBox"?st.plotBox:void 0,st),tt=G.align;var J=G.verticalAlign;return st=(F.x||0)+(G.x||0),ht=(F.y||0)+(G.y||0),tt==="right"?ct=1:tt==="center"&&(ct=2),ct&&(st+=(F.width-(G.width||0))/ct),B[ut?"translateX":"x"]=Math.round(st),J==="bottom"?U=1:J==="middle"&&(U=2),U&&(ht+=(F.height-(G.height||0))/U),B[ut?"translateY":"y"]=Math.round(ht),this[this.placed?"animate":"attr"](B),this.placed=!0,this.alignAttr=B,this},rt.prototype.alignSetter=function(G){var ut={left:"start",center:"middle",right:"end"};ut[G]&&(this.alignValue=G,this.element.setAttribute("text-anchor",ut[G]))},rt.prototype.animate=function(G,ut,F){var B=this,st=j(E(ut,this.renderer.globalAnimation,!0));return ut=st.defer,E(C.hidden,C.msHidden,C.webkitHidden,!1)&&(st.duration=0),st.duration!==0?(F&&(st.complete=F),et(function(){B.element&&_(B,G,st)},ut)):(this.attr(G,void 0,F),c(G,function(ht,tt){st.step&&st.step.call(this,ht,{prop:tt,pos:1,elem:this})},this)),this},rt.prototype.applyTextOutline=function(G){var ut=this.element;G.indexOf("contrast")!==-1&&(G=G.replace(/contrast/g,this.renderer.getContrast(ut.style.fill)));var F=G.split(" ");if(G=F[F.length-1],(F=F[0])&&F!=="none"&&X.svg){this.fakeTS=!0,this.ySetter=this.xSetter,F=F.replace(/(^[\d\.]+)(.*?)$/g,function(ht,tt,ct){return 2*Number(tt)+ct}),this.removeTextOutline();var B=C.createElementNS(k,"tspan");w(B,{class:"highcharts-text-outline",fill:G,stroke:G,"stroke-width":F,"stroke-linejoin":"round"}),[].forEach.call(ut.childNodes,function(ht){var tt=ht.cloneNode(!0);tt.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(ct){return tt.removeAttribute(ct)}),B.appendChild(tt)});var st=C.createElementNS(k,"tspan");st.textContent="\u200B",["x","y"].forEach(function(ht){var tt=ut.getAttribute(ht);tt&&st.setAttribute(ht,tt)}),B.appendChild(st),ut.insertBefore(B,ut.firstChild)}},rt.prototype.attr=function(G,ut,F,B){var st=this.element,ht=this.symbolCustomAttribs,tt,ct=this,U,J;if(typeof G=="string"&&typeof ut!="undefined"){var K=G;G={},G[K]=ut}return typeof G=="string"?ct=(this[G+"Getter"]||this._defaultGetter).call(this,G,st):(c(G,function(q,at){U=!1,B||A(this,at),this.symbolName&&ht.indexOf(at)!==-1&&(tt||(this.symbolAttr(G),tt=!0),U=!0),!this.rotation||at!=="x"&&at!=="y"||(this.doTransform=!0),U||(J=this[at+"Setter"]||this._defaultSetter,J.call(this,q,at,st),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(at)&&this.updateShadows(at,q,J))},this),this.afterSetters()),F&&F.call(this),ct},rt.prototype.clip=function(G){return this.attr("clip-path",G?"url("+this.renderer.url+"#"+G.id+")":"none")},rt.prototype.crisp=function(G,ut){ut=ut||G.strokeWidth||0;var F=Math.round(ut)%2/2;return G.x=Math.floor(G.x||this.x||0)+F,G.y=Math.floor(G.y||this.y||0)+F,G.width=Math.floor((G.width||this.width||0)-2*F),G.height=Math.floor((G.height||this.height||0)-2*F),p(G.strokeWidth)&&(G.strokeWidth=ut),G},rt.prototype.complexColor=function(G,ut,F){var B=this.renderer,st,ht,tt,ct,U,J,K,q,at,bt,mt=[],Ct;m(this.renderer,"complexColor",{args:arguments},function(){if(G.radialGradient?ht="radialGradient":G.linearGradient&&(ht="linearGradient"),ht){if(tt=G[ht],U=B.gradients,J=G.stops,at=F.radialReference,x(tt)&&(G[ht]=tt={x1:tt[0],y1:tt[1],x2:tt[2],y2:tt[3],gradientUnits:"userSpaceOnUse"}),ht==="radialGradient"&&at&&!p(tt.gradientUnits)&&(ct=tt,tt=R(tt,B.getRadialAttr(at,ct),{gradientUnits:"userSpaceOnUse"})),c(tt,function(Nt,Ft){Ft!=="id"&&mt.push(Ft,Nt)}),c(J,function(Nt){mt.push(Nt)}),mt=mt.join(","),U[mt])bt=U[mt].attr("id");else{tt.id=bt=nt();var vt=U[mt]=B.createElement(ht).attr(tt).add(B.defs);vt.radAttr=ct,vt.stops=[],J.forEach(function(Nt){Nt[1].indexOf("rgba")===0?(st=Y.parse(Nt[1]),K=st.get("rgb"),q=st.get("a")):(K=Nt[1],q=1),Nt=B.createElement("stop").attr({offset:Nt[0],"stop-color":K,"stop-opacity":q}).add(vt),vt.stops.push(Nt)})}Ct="url("+B.url+"#"+bt+")",F.setAttribute(ut,Ct),F.gradient=mt,G.toString=function(){return Ct}}})},rt.prototype.css=function(G){var ut=this.styles,F={},B=this.element,st=["textOutline","textOverflow","width"],ht="",tt=!ut;if(G&&G.color&&(G.fill=G.color),ut&&c(G,function(J,K){ut&&ut[K]!==J&&(F[K]=J,tt=!0)}),tt){if(ut&&(G=P(ut,F)),G){if(G.width===null||G.width==="auto")delete this.textWidth;else if(B.nodeName.toLowerCase()==="text"&&G.width)var ct=this.textWidth=L(G.width)}if(this.styles=G,ct&&!o&&this.renderer.forExport&&delete G.width,B.namespaceURI===this.SVG_NS){var U=function(J,K){return"-"+K.toLowerCase()};c(G,function(J,K){st.indexOf(K)===-1&&(ht+=K.replace(/([A-Z])/g,U)+":"+J+";")}),ht&&w(B,"style",ht)}else g(B,G);this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),G&&G.textOutline&&this.applyTextOutline(G.textOutline))}return this},rt.prototype.dashstyleSetter=function(G){var ut=this["stroke-width"];if(ut==="inherit"&&(ut=1),G=G&&G.toLowerCase()){var F=G.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(G=F.length;G--;)F[G]=""+L(F[G])*E(ut,NaN);G=F.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",G)}},rt.prototype.destroy=function(){var G=this,ut=G.element||{},F=G.renderer,B=ut.ownerSVGElement,st=F.isSVG&&ut.nodeName==="SPAN"&&G.parentGroup||void 0;if(ut.onclick=ut.onmouseout=ut.onmouseover=ut.onmousemove=ut.point=null,A(G),G.clipPath&&B){var ht=G.clipPath;[].forEach.call(B.querySelectorAll("[clip-path],[CLIP-PATH]"),function(tt){-1K.width)&&(K={width:0,height:0})}else K=this.htmlGetBBox();if(F.isSVG&&(G=K.width,F=K.height,U&&(K.height=F={"11px,17":14,"13px,20":16}[st&&st.fontSize+","+Math.round(F)]||F),ut&&(st=ut*D,K.width=Math.abs(F*Math.sin(st))+Math.abs(G*Math.cos(st)),K.height=Math.abs(F*Math.cos(st))+Math.abs(G*Math.sin(st)))),q&&(ht===""||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},rt.prototype.toFront=function(){var G=this.element;return G.parentNode.appendChild(G),this},rt.prototype.translate=function(G,ut){return this.attr({translateX:G,translateY:ut})},rt.prototype.updateShadows=function(G,ut,F){var B=this.shadows;if(B)for(var st=B.length;st--;)F.call(B[st],G==="height"?Math.max(ut-(B[st].cutHeight||0),0):G==="d"?this.d:ut,G,B[st])},rt.prototype.updateTransform=function(){var G=this.scaleX,ut=this.scaleY,F=this.inverted,B=this.rotation,st=this.matrix,ht=this.element,tt=this.translateX||0,ct=this.translateY||0;F&&(tt+=this.width,ct+=this.height),tt=["translate("+tt+","+ct+")"],p(st)&&tt.push("matrix("+st.join(",")+")"),F?tt.push("rotate(90) scale(-1,1)"):B&&tt.push("rotate("+B+" "+E(this.rotationOriginX,ht.getAttribute("x"),0)+" "+E(this.rotationOriginY,ht.getAttribute("y")||0)+")"),(p(G)||p(ut))&&tt.push("scale("+E(G,1)+" "+E(ut,1)+")"),tt.length&&ht.setAttribute("transform",tt.join(" "))},rt.prototype.visibilitySetter=function(G,ut,F){G==="inherit"?F.removeAttribute(ut):this[ut]!==G&&F.setAttribute(ut,G),this[ut]=G},rt.prototype.xGetter=function(G){return this.element.nodeName==="circle"&&(G==="x"?G="cx":G==="y"&&(G="cy")),this._defaultGetter(G)},rt.prototype.zIndexSetter=function(G,ut){var F=this.renderer,B=this.parentGroup,st=(B||F).element||F.box,ht=this.element;F=st===F.box;var tt=!1,ct=this.added,U;if(p(G)?(ht.setAttribute("data-z-index",G),G=+G,this[ut]===G&&(ct=!1)):p(this[ut])&&ht.removeAttribute("data-z-index"),this[ut]=G,ct){for((G=this.zIndex)&&B&&(B.handleZ=!0),ut=st.childNodes,U=ut.length-1;0<=U&&!tt;U--){B=ut[U],ct=B.getAttribute("data-z-index");var J=!p(ct);B!==ht&&(0>G&&J&&!F&&!U?(st.insertBefore(ht,ut[U]),tt=!0):(L(ct)<=G||J&&(!p(G)||0<=G))&&(st.insertBefore(ht,ut[U+1]||null),tt=!0))}tt||(st.insertBefore(ht,ut[F?3:0]||null),tt=!0)}return tt},rt}(),T.prototype["stroke-widthSetter"]=T.prototype.strokeSetter,T.prototype.yGetter=T.prototype.xGetter,T.prototype.matrixSetter=T.prototype.rotationOriginXSetter=T.prototype.rotationOriginYSetter=T.prototype.rotationSetter=T.prototype.scaleXSetter=T.prototype.scaleYSetter=T.prototype.translateXSetter=T.prototype.translateYSetter=T.prototype.verticalAlignSetter=function(rt,G){this[G]=rt,this.doTransform=!0},T}),W(u,"Core/Renderer/RendererRegistry.js",[u["Core/Globals.js"]],function(T){var I;return function(Y){Y.rendererTypes={};var X;Y.getRendererType=function(Z){return Z===void 0&&(Z=X),Y.rendererTypes[Z]||Y.rendererTypes[X]},Y.registerRendererType=function(Z,H,_){Y.rendererTypes[Z]=H,(!X||_)&&(X=Z,T.Renderer=H)}}(I||(I={})),I}),W(u,"Core/Renderer/SVG/SVGLabel.js",[u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(T,I){var Y=this&&this.__extends||function(){var D=function(C,d){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,k){o.__proto__=k}||function(o,k){for(var S in k)k.hasOwnProperty(S)&&(o[S]=k[S])},D(C,d)};return function(C,d){function o(){this.constructor=C}D(C,d),C.prototype=d===null?Object.create(d):(o.prototype=d.prototype,new o)}}(),X=I.defined,Z=I.extend,H=I.isNumber,_=I.merge,j=I.pick,A=I.removeEvent;return function(D){function C(d,o,k,S,h,w,b,g,p,y){var P=D.call(this)||this;P.paddingLeftSetter=P.paddingSetter,P.paddingRightSetter=P.paddingSetter,P.init(d,"g"),P.textStr=o,P.x=k,P.y=S,P.anchorX=w,P.anchorY=b,P.baseline=p,P.className=y,P.addClass(y==="button"?"highcharts-no-tooltip":"highcharts-label"),y&&P.addClass("highcharts-"+y),P.text=d.text(void 0,0,0,g).attr({zIndex:1});var m;return typeof h=="string"&&((m=/^url\((.*?)\)$/.test(h))||P.renderer.symbols[h])&&(P.symbolKey=h),P.bBox=C.emptyBBox,P.padding=3,P.baselineOffset=0,P.needsBox=d.styledMode||m,P.deferredAttr={},P.alignFactor=0,P}return Y(C,D),C.prototype.alignSetter=function(d){d={left:0,center:.5,right:1}[d],d!==this.alignFactor&&(this.alignFactor=d,this.bBox&&H(this.xSetting)&&this.attr({x:this.xSetting}))},C.prototype.anchorXSetter=function(d,o){this.anchorX=d,this.boxAttr(o,Math.round(d)-this.getCrispAdjust()-this.xSetting)},C.prototype.anchorYSetter=function(d,o){this.anchorY=d,this.boxAttr(o,d-this.ySetting)},C.prototype.boxAttr=function(d,o){this.box?this.box.attr(d,o):this.deferredAttr[d]=o},C.prototype.css=function(d){if(d){var o={};d=_(d),C.textProps.forEach(function(S){typeof d[S]!="undefined"&&(o[S]=d[S],delete d[S])}),this.text.css(o);var k="width"in o;"fontSize"in o||"fontWeight"in o?this.updateTextPadding():k&&this.updateBoxSize()}return T.prototype.css.call(this,d)},C.prototype.destroy=function(){A(this.element,"mouseenter"),A(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),T.prototype.destroy.call(this)},C.prototype.fillSetter=function(d,o){d&&(this.needsBox=!0),this.fill=d,this.boxAttr(o,d)},C.prototype.getBBox=function(){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();var d=this.padding,o=j(this.paddingLeft,d);return{width:this.width,height:this.height,x:this.bBox.x-o,y:this.bBox.y-d}},C.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},C.prototype.heightSetter=function(d){this.heightSetting=d},C.prototype.onAdd=function(){var d=this.textStr;this.text.add(this),this.attr({text:X(d)?d:"",x:this.x,y:this.y}),this.box&&X(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},C.prototype.paddingSetter=function(d,o){H(d)?d!==this[o]&&(this[o]=d,this.updateTextPadding()):this[o]=void 0},C.prototype.rSetter=function(d,o){this.boxAttr(o,d)},C.prototype.shadow=function(d){return d&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(d)),this},C.prototype.strokeSetter=function(d,o){this.stroke=d,this.boxAttr(o,d)},C.prototype["stroke-widthSetter"]=function(d,o){d&&(this.needsBox=!0),this["stroke-width"]=d,this.boxAttr(o,d)},C.prototype["text-alignSetter"]=function(d){this.textAlign=d},C.prototype.textSetter=function(d){typeof d!="undefined"&&this.text.attr({text:d}),this.updateTextPadding()},C.prototype.updateBoxSize=function(){var d=this.text.element.style,o={},k=this.padding,S=this.bBox=H(this.widthSetting)&&H(this.heightSetting)&&!this.textAlign||!X(this.text.textStr)?C.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||S.height||0)+2*k,d=this.renderer.fontMetrics(d&&d.fontSize,this.text),this.baselineOffset=k+Math.min((this.text.firstLineMetrics||d).b,S.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-d.h)/2),this.needsBox&&(this.box||(k=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),k.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),k.add(this)),k=this.getCrispAdjust(),o.x=k,o.y=(this.baseline?-this.baselineOffset:0)+k,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(Z(o,this.deferredAttr)),this.deferredAttr={})},C.prototype.updateTextPadding=function(){var d=this.text;this.updateBoxSize();var o=this.baseline?0:this.baselineOffset,k=j(this.paddingLeft,this.padding);X(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(k+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(k!==d.x||o!==d.y)&&(d.attr("x",k),d.hasBoxWidthChanged&&(this.bBox=d.getBBox(!0)),typeof o!="undefined"&&d.attr("y",o)),d.x=k,d.y=o},C.prototype.widthSetter=function(d){this.widthSetting=H(d)?d:void 0},C.prototype.getPaddedWidth=function(){var d=this.padding,o=j(this.paddingLeft,d);return d=j(this.paddingRight,d),(this.widthSetting||this.bBox.width||0)+o+d},C.prototype.xSetter=function(d){this.x=d,this.alignFactor&&(d-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(d),this.attr("translateX",this.xSetting)},C.prototype.ySetter=function(d){this.ySetting=this.y=Math.round(d),this.attr("translateY",this.ySetting)},C.emptyBBox={width:0,height:0,x:0,y:0},C.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),C}(T)}),W(u,"Core/Renderer/SVG/Symbols.js",[u["Core/Utilities.js"]],function(T){function I(j,A,D,C,d){var o=[];if(d){var k=d.start||0,S=_(d.r,D);D=_(d.r,C||D);var h=(d.end||0)-.001;C=d.innerR;var w=_(d.open,.001>Math.abs((d.end||0)-k-2*Math.PI)),b=Math.cos(k),g=Math.sin(k),p=Math.cos(h),y=Math.sin(h);k=_(d.longArc,.001>h-k-Math.PI?0:1),o.push(["M",j+S*b,A+D*g],["A",S,D,0,k,_(d.clockwise,1),j+S*p,A+D*y]),Z(C)&&o.push(w?["M",j+C*p,A+C*y]:["L",j+C*p,A+C*y],["A",C,C,0,k,Z(d.clockwise)?1-d.clockwise:0,j+C*b,A+C*g]),w||o.push(["Z"])}return o}function Y(j,A,D,C,d){return d&&d.r?X(j,A,D,C,d):[["M",j,A],["L",j+D,A],["L",j+D,A+C],["L",j,A+C],["Z"]]}function X(j,A,D,C,d){return d=d&&d.r||0,[["M",j+d,A],["L",j+D-d,A],["C",j+D,A,j+D,A,j+D,A+d],["L",j+D,A+C-d],["C",j+D,A+C,j+D,A+C,j+D-d,A+C],["L",j+d,A+C],["C",j,A+C,j,A+C,j,A+C-d],["L",j,A+d],["C",j,A,j,A,j+d,A]]}var Z=T.defined,H=T.isNumber,_=T.pick;return{arc:I,callout:function(j,A,D,C,d){var o=Math.min(d&&d.r||0,D,C),k=o+6,S=d&&d.anchorX;d=d&&d.anchorY||0;var h=X(j,A,D,C,{r:o});return H(S)&&(j+S>=D?d>A+k&&d=j+S?d>A+k&&dC&&S>j+k&&Sd&&S>j+k&&S/g,b=[k,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(b!==C.textCache){for(C.textCache=b,delete C.actualWidth,b=h.length;b--;)d.removeChild(h[b]);S||this.ellipsis||this.width||k.indexOf(" ")!==-1&&(!this.noWrap||w.test(k))?k!==""&&(o&&o.appendChild(d),k=new T(k),this.modifyTree(k.nodes),k.addToDOM(C.element),this.modifyDOM(),this.ellipsis&&(d.textContent||"").indexOf("\u2026")!==-1&&C.attr("title",this.unescapeEntities(C.textStr||"",["<",">"])),o&&o.removeChild(d)):d.appendChild(X.createTextNode(this.unescapeEntities(k))),_(this.textOutline)&&C.applyTextOutline&&C.applyTextOutline(this.textOutline)}},D.prototype.modifyDOM=function(){var C=this,d=this.svgElement,o=H(d.element,"x");d.firstLineMetrics=void 0;for(var k;(k=d.element.firstChild)&&/^[\s\u200B]*$/.test(k.textContent||" ");)d.element.removeChild(k);[].forEach.call(d.element.querySelectorAll("tspan.highcharts-br"),function(b,g){b.nextSibling&&b.previousSibling&&(g===0&&b.previousSibling.nodeType===1&&(d.firstLineMetrics=d.renderer.fontMetrics(void 0,b.previousSibling)),H(b,{dy:C.getLineHeight(b.nextSibling),x:o}))});var S=this.width||0;if(S){var h=function(b,g){var p=b.textContent||"",y=p.replace(/([^\^])-/g,"$1- ").split(" "),P=!C.noWrap&&(1S){for(;y<=P;)m=Math.ceil((y+P)/2),o&&(x=h(o,m)),s=l(m,x&&x.length-1),y===P?y=P+1:s>S?P=m-1:y=m;P===0?C.textContent="":d&&P===d.length-1||(C.textContent=x||h(d||o,m))}o&&o.splice(0,m),w.actualWidth=s,w.rotation=g},D.prototype.unescapeEntities=function(C,d){return j(this.renderer.escapes,function(o,k){d&&d.indexOf(o)!==-1||(C=C.toString().replace(new RegExp(o,"g"),k))}),C},D}()}),W(u,"Core/Renderer/SVG/SVGRenderer.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Color/Palette.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGLabel.js"],u["Core/Renderer/SVG/Symbols.js"],u["Core/Renderer/SVG/TextBuilder.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A,D){var C=Y.charts,d=Y.deg2rad,o=Y.doc,k=Y.isFirefox,S=Y.isMS,h=Y.isWebKit,w=Y.noop,b=Y.SVG_NS,g=Y.symbolSizes,p=Y.win,y=D.addEvent,P=D.attr,m=D.createElement,x=D.css,l=D.defined,s=D.destroyObjectProperties,N=D.extend,R=D.isArray,c=D.isNumber,E=D.isObject,L=D.isString,et=D.merge,nt=D.pick,rt=D.pInt,G=D.uniqueKey,ut;return Y=function(){function F(B,st,ht,tt,ct,U,J){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(B,st,ht,tt,ct,U,J)}return F.prototype.init=function(B,st,ht,tt,ct,U,J){var K=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),q=K.element;J||K.css(this.getStyle(tt)),B.appendChild(q),P(B,"dir","ltr"),B.innerHTML.indexOf("xmlns")===-1&&P(q,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=q,this.boxWrapper=K,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(o.createTextNode("Created with Highcharts 9.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=U,this.forExport=ct,this.styledMode=J,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(st,ht,!1);var at;k&&B.getBoundingClientRect&&(st=function(){x(B,{left:0,top:0}),at=B.getBoundingClientRect(),x(B,{left:Math.ceil(at.left)-at.left+"px",top:Math.ceil(at.top)-at.top+"px"})},st(),this.unSubPixelFix=y(p,"resize",st))},F.prototype.definition=function(B){return new T([B]).addToDOM(this.defs.element)},F.prototype.getReferenceURL=function(){if((k||h)&&o.getElementsByTagName("base").length){if(!l(ut)){var B=G();B=new T([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:B},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+B+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(o.body),x(B,{position:"fixed",top:0,left:0,zIndex:9e5});var st=o.elementFromPoint(6,6);ut=(st&&st.id)==="hitme",o.body.removeChild(B)}if(ut)return p.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},F.prototype.getStyle=function(B){return this.style=N({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},B)},F.prototype.setStyle=function(B){this.boxWrapper.css(this.getStyle(B))},F.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},F.prototype.destroy=function(){var B=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),s(this.gradients||{}),this.gradients=null,B&&(this.defs=B.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},F.prototype.createElement=function(B){var st=new this.Element;return st.init(this,B),st},F.prototype.getRadialAttr=function(B,st){return{cx:B[0]-B[2]/2+(st.cx||0)*B[2],cy:B[1]-B[2]/2+(st.cy||0)*B[2],r:(st.r||0)*B[2]}},F.prototype.buildText=function(B){new A(B).buildSVG()},F.prototype.getContrast=function(B){return B=I.parse(B).rgba,B[0]*=1,B[1]*=1.2,B[2]*=.5,459B?B+3:Math.round(1.2*B),{h:st,b:Math.round(.8*st),f:B}},F.prototype.rotCorr=function(B,st,ht){var tt=B;return st&&ht&&(tt=Math.max(tt*Math.cos(st*d),4)),{x:-B/3*Math.sin(st*d),y:tt}},F.prototype.pathToSegments=function(B){for(var st=[],ht=[],tt={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},ct=0;ct":">","'":"'",'"':"""},symbols:j,draw:w}),Z.registerRendererType("svg",Y,!0),Y}),W(u,"Core/Renderer/HTML/HTMLElement.js",[u["Core/Globals.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=this&&this.__extends||function(){var k=function(S,h){return k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var g in b)b.hasOwnProperty(g)&&(w[g]=b[g])},k(S,h)};return function(S,h){function w(){this.constructor=S}k(S,h),S.prototype=h===null?Object.create(h):(w.prototype=h.prototype,new w)}}(),Z=T.isFirefox,H=T.isMS,_=T.isWebKit,j=T.win,A=Y.css,D=Y.defined,C=Y.extend,d=Y.pick,o=Y.pInt;return function(k){function S(){return k!==null&&k.apply(this,arguments)||this}return X(S,k),S.compose=function(h){if(S.composedClasses.indexOf(h)===-1){S.composedClasses.push(h);var w=S.prototype,b=h.prototype;b.getSpanCorrection=w.getSpanCorrection,b.htmlCss=w.htmlCss,b.htmlGetBBox=w.htmlGetBBox,b.htmlUpdateTransform=w.htmlUpdateTransform,b.setSpanRotation=w.setSpanRotation}return h},S.prototype.getSpanCorrection=function(h,w,b){this.xCorr=-h*b,this.yCorr=-w},S.prototype.htmlCss=function(h){var w=this.element.tagName==="SPAN"&&h&&"width"in h,b=d(w&&h.width,void 0);if(w){delete h.width,this.textWidth=b;var g=!0}return h&&h.textOverflow==="ellipsis"&&(h.whiteSpace="nowrap",h.overflow="hidden"),this.styles=C(this.styles,h),A(this.element,h),g&&this.htmlUpdateTransform(),this},S.prototype.htmlGetBBox=function(){var h=this.element;return{x:h.offsetLeft,y:h.offsetTop,width:h.offsetWidth,height:h.offsetHeight}},S.prototype.htmlUpdateTransform=function(){if(this.added){var h=this.renderer,w=this.element,b=this.translateX||0,g=this.translateY||0,p=this.x||0,y=this.y||0,P=this.textAlign||"left",m={left:0,center:.5,right:1}[P],x=this.styles;if(x=x&&x.whiteSpace,A(w,{marginLeft:b,marginTop:g}),!h.styledMode&&this.shadows&&this.shadows.forEach(function(c){A(c,{marginLeft:b+1,marginTop:g+1})}),this.inverted&&[].forEach.call(w.childNodes,function(c){h.invertChild(c,w)}),w.tagName==="SPAN"){var l=this.rotation,s=this.textWidth&&o(this.textWidth),N=[l,P,w.innerHTML,this.textWidth,this.textAlign].join(),R=void 0;(R=s!==this.oldTextWidth)&&!(R=s>this.oldTextWidth)&&((R=this.textPxLength)||(A(w,{width:"",whiteSpace:x||"nowrap"}),R=w.offsetWidth),R=R>s),R&&(/[ \-]/.test(w.textContent||w.innerText)||w.style.textOverflow==="ellipsis")?(A(w,{width:s+"px",display:"block",whiteSpace:x||"normal"}),this.oldTextWidth=s,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,N!==this.cTT&&(R=h.fontMetrics(w.style.fontSize,w).b,!D(l)||l===(this.oldRotation||0)&&P===this.oldAlign||this.setSpanRotation(l,m,R),this.getSpanCorrection(!D(l)&&this.textPxLength||w.offsetWidth,R,m,l,P)),A(w,{left:p+(this.xCorr||0)+"px",top:y+(this.yCorr||0)+"px"}),this.cTT=N,this.oldRotation=l,this.oldAlign=P}}else this.alignOnAdd=!0},S.prototype.setSpanRotation=function(h,w,b){var g={},p=H&&!/Edge/.test(j.navigator.userAgent)?"-ms-transform":_?"-webkit-transform":Z?"MozTransform":j.opera?"-o-transform":void 0;p&&(g[p]=g.transform="rotate("+h+"deg)",g[p+(Z?"Origin":"-origin")]=g.transformOrigin=100*w+"% "+b+"px",A(this.element,g))},S.composedClasses=[],S}(I)}),W(u,"Core/Renderer/HTML/HTMLRenderer.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Utilities.js"]],function(T,I,Y,X){var Z=this&&this.__extends||function(){var D=function(C,d){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,k){o.__proto__=k}||function(o,k){for(var S in k)k.hasOwnProperty(S)&&(o[S]=k[S])},D(C,d)};return function(C,d){function o(){this.constructor=C}D(C,d),C.prototype=d===null?Object.create(d):(o.prototype=d.prototype,new o)}}(),H=X.attr,_=X.createElement,j=X.extend,A=X.pick;return function(D){function C(){return D!==null&&D.apply(this,arguments)||this}return Z(C,D),C.compose=function(d){return C.composedClasses.indexOf(d)===-1&&(C.composedClasses.push(d),d.prototype.html=C.prototype.html),d},C.prototype.html=function(d,o,k){var S=this.createElement("span"),h=S.element,w=S.renderer,b=w.isSVG,g=function(p,y){["opacity","visibility"].forEach(function(P){p[P+"Setter"]=function(m,x,l){var s=p.div?p.div.style:y;I.prototype[P+"Setter"].call(this,m,x,l),s&&(s[x]=m)}}),p.addedSetters=!0};return S.textSetter=function(p){p!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,T.setElementHTML(this.element,A(p,"")),this.textStr=p,S.doTransform=!0)},b&&g(S,S.element.style),S.xSetter=S.ySetter=S.alignSetter=S.rotationSetter=function(p,y){y==="align"?S.alignValue=S.textAlign=p:S[y]=p,S.doTransform=!0},S.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},S.attr({text:d,x:Math.round(o),y:Math.round(k)}).css({position:"absolute"}),w.styledMode||S.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),h.style.whiteSpace="nowrap",S.css=S.htmlCss,b&&(S.add=function(p){var y=w.box.parentNode,P=[];if(this.parentGroup=p){var m=p.div;if(!m){for(;p;)P.push(p),p=p.parentGroup;P.reverse().forEach(function(x){function l(c,E){x[E]=c,E==="translateX"?R.left=c+"px":R.top=c+"px",x.doTransform=!0}var s=H(x.element,"class"),N=x.styles||{};m=x.div=x.div||_("div",s?{className:s}:void 0,{position:"absolute",left:(x.translateX||0)+"px",top:(x.translateY||0)+"px",display:x.display,opacity:x.opacity,cursor:N.cursor,pointerEvents:N.pointerEvents,visibility:x.visibility},m||y);var R=m.style;j(x,{classSetter:function(c){return function(E){this.element.setAttribute("class",E),c.className=E}}(m),on:function(){return P[0].div&&S.on.apply({element:P[0].div,onEvents:x.onEvents},arguments),x},translateXSetter:l,translateYSetter:l}),x.addedSetters||g(x)})}}else m=y;return m.appendChild(h),S.added=!0,S.alignOnAdd&&S.htmlUpdateTransform(),S}),S},C.composedClasses=[],C}(Y)}),W(u,"Core/Axis/AxisDefaults.js",[u["Core/Color/Palette.js"]],function(T){var I;return function(Y){Y.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:T.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:T.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:T.neutralColor5,minorGridLineWidth:1,minorTickColor:T.neutralColor40,lineColor:T.highlightColor20,lineWidth:1,gridLineColor:T.neutralColor10,gridLineWidth:void 0,tickColor:T.highlightColor20},Y.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var X=this.axis.chart.numberFormatter;return X(this.total,-1)},style:{color:T.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},Y.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},Y.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},Y.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},Y.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(I||(I={})),I}),W(u,"Core/Foundation.js",[u["Core/Utilities.js"]],function(T){var I=T.addEvent,Y=T.isFunction,X=T.objectEach,Z=T.removeEvent;return{registerEventOptions:function(H,_){H.eventOptions=H.eventOptions||{},X(_.events,function(j,A){H.eventOptions[A]!==j&&(H.eventOptions[A]&&(Z(H,A,H.eventOptions[A]),delete H.eventOptions[A]),Y(j)&&(H.eventOptions[A]=j,I(H,A,j)))})}}}),W(u,"Core/Axis/Tick.js",[u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=I.deg2rad,Z=Y.clamp,H=Y.correctFloat,_=Y.defined,j=Y.destroyObjectProperties,A=Y.extend,D=Y.fireEvent,C=Y.isNumber,d=Y.merge,o=Y.objectEach,k=Y.pick;return I=function(){function S(h,w,b,g,p){this.isNewLabel=this.isNew=!0,this.axis=h,this.pos=w,this.type=b||"",this.parameters=p||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,D(this,"init"),b||g||this.addLabel()}return S.prototype.addLabel=function(){var h=this,w=h.axis,b=w.options,g=w.chart,p=w.categories,y=w.logarithmic,P=w.names,m=h.pos,x=k(h.options&&h.options.labels,b.labels),l=w.tickPositions,s=m===l[0],N=m===l[l.length-1],R=(!x.step||x.step===1)&&w.tickInterval===1;l=l.info;var c=h.label,E;if(p=this.parameters.category||(p?k(p[m],P[m],m):m),y&&C(p)&&(p=H(y.lin2log(p))),w.dateTime)if(l)var L=g.time.resolveDTLFormat(b.dateTimeLabelFormats[!b.grid&&l.higherRanks[m]||l.unitName]),et=L.main;else C(p)&&(et=w.dateTime.getXDateFormat(p,b.dateTimeLabelFormats||{}));h.isFirst=s,h.isLast=N;var nt={axis:w,chart:g,dateTimeLabelFormat:et,isFirst:s,isLast:N,pos:m,tick:h,tickPositionInfo:l,value:p};D(this,"labelFormat",nt);var rt=function(ut){return x.formatter?x.formatter.call(ut,ut):x.format?(ut.text=w.defaultLabelFormatter.call(ut),T.format(x.format,ut,g)):w.defaultLabelFormatter.call(ut,ut)};b=rt.call(nt,nt);var G=L&&L.list;h.shortenLabel=G?function(){for(E=0;Ex&&g-l*sy&&(L=Math.round((p-g)/Math.cos(x*X))):(p=g+(1-l)*s,g-l*sy&&(c=y-h.x+c*l,E=-1),c=Math.min(N,c),cc||w.autoRotation&&(m.styles||{}).width)&&(L=c)),L&&(this.shortenLabel?this.shortenLabel():(R.width=Math.floor(L)+"px",(b.style||{}).textOverflow||(R.textOverflow="ellipsis"),m.css(R)))},S.prototype.moveLabel=function(h,w){var b=this,g=b.label,p=b.axis,y=p.reversed,P=!1;if(g&&g.textStr===h?(b.movedLabel=g,P=!0,delete b.label):o(p.ticks,function(x){P||x.isNew||x===b||!x.label||x.label.textStr!==h||(b.movedLabel=x.label,P=!0,x.labelPos=b.movedLabel.xy,delete x.label)}),!P&&(b.labelPos||g)){var m=b.labelPos||g.xy;g=p.horiz?y?0:p.width+p.left:m.x,p=p.horiz?m.y:y?p.width+p.left:0,b.movedLabel=b.createLabel({x:g,y:p},h,w),b.movedLabel&&b.movedLabel.attr({opacity:0})}},S.prototype.render=function(h,w,b){var g=this.axis,p=g.horiz,y=this.pos,P=k(this.tickmarkOffset,g.tickmarkOffset);y=this.getPosition(p,y,P,w),P=y.x;var m=y.y;g=p&&P===g.pos+g.len||!p&&m===g.pos?-1:1,p=k(b,this.label&&this.label.newOpacity,1),b=k(b,1),this.isActive=!0,this.renderGridLine(w,b,g),this.renderMark(y,b,g),this.renderLabel(y,w,p,h),this.isNew=!1,D(this,"afterRender")},S.prototype.renderGridLine=function(h,w,b){var g=this.axis,p=g.options,y={},P=this.pos,m=this.type,x=k(this.tickmarkOffset,g.tickmarkOffset),l=g.chart.renderer,s=this.gridLine,N=p.gridLineWidth,R=p.gridLineColor,c=p.gridLineDashStyle;this.type==="minor"&&(N=p.minorGridLineWidth,R=p.minorGridLineColor,c=p.minorGridLineDashStyle),s||(g.chart.styledMode||(y.stroke=R,y["stroke-width"]=N||0,y.dashstyle=c),m||(y.zIndex=1),h&&(w=0),this.gridLine=s=l.path().attr(y).addClass("highcharts-"+(m?m+"-":"")+"grid-line").add(g.gridGroup)),s&&(b=g.getPlotLinePath({value:P+x,lineWidth:s.strokeWidth()*b,force:"pass",old:h}))&&s[h||this.isNew?"attr":"animate"]({d:b,opacity:w})},S.prototype.renderMark=function(h,w,b){var g=this.axis,p=g.options,y=g.chart.renderer,P=this.type,m=g.tickSize(P?P+"Tick":"tick"),x=h.x;h=h.y;var l=k(p[P!=="minor"?"tickWidth":"minorTickWidth"],!P&&g.isXAxis?1:0);p=p[P!=="minor"?"tickColor":"minorTickColor"];var s=this.mark,N=!s;m&&(g.opposite&&(m[0]=-m[0]),s||(this.mark=s=y.path().addClass("highcharts-"+(P?P+"-":"")+"tick").add(g.axisGroup),g.chart.styledMode||s.attr({stroke:p,"stroke-width":l})),s[N?"attr":"animate"]({d:this.getMarkPath(x,h,m[0],s.strokeWidth()*b,g.horiz,y),opacity:w}))},S.prototype.renderLabel=function(h,w,b,g){var p=this.axis,y=p.horiz,P=p.options,m=this.label,x=P.labels,l=x.step;p=k(this.tickmarkOffset,p.tickmarkOffset);var s=h.x;h=h.y;var N=!0;m&&C(s)&&(m.xy=h=this.getLabelPosition(s,h,m,y,x,p,g,l),this.isFirst&&!this.isLast&&!P.showFirstLabel||this.isLast&&!this.isFirst&&!P.showLastLabel?N=!1:!y||x.step||x.rotation||w||b===0||this.handleOverflow(h),l&&g%l&&(N=!1),N&&C(h.y)?(h.opacity=b,m[this.isNewLabel?"attr":"animate"](h),this.isNewLabel=!1):(m.attr("y",-9999),this.isNewLabel=!0))},S.prototype.replaceMovedLabel=function(){var h=this.label,w=this.axis,b=w.reversed;if(h&&!this.isNew){var g=w.horiz?b?w.left:w.width+w.left:h.xy.x;b=w.horiz?h.xy.y:b?w.width+w.top:w.top,h.animate({x:g,y:b,opacity:0},void 0,h.destroy),delete this.label}w.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},S}(),I}),W(u,"Core/Axis/Axis.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/AxisDefaults.js"],u["Core/Color/Color.js"],u["Core/Color/Palette.js"],u["Core/DefaultOptions.js"],u["Core/Foundation.js"],u["Core/Globals.js"],u["Core/Axis/Tick.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A){var D=T.animObject,C=Z.defaultOptions,d=H.registerEventOptions,o=_.deg2rad,k=A.arrayMax,S=A.arrayMin,h=A.clamp,w=A.correctFloat,b=A.defined,g=A.destroyObjectProperties,p=A.erase,y=A.error,P=A.extend,m=A.fireEvent,x=A.getMagnitude,l=A.isArray,s=A.isNumber,N=A.isString,R=A.merge,c=A.normalizeTickInterval,E=A.objectEach,L=A.pick,et=A.relativeLength,nt=A.removeEvent,rt=A.splat,G=A.syncTimeout;return T=function(){function ut(F,B){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(F,B)}return ut.prototype.init=function(F,B){var st=B.isX;this.chart=F,this.horiz=F.inverted&&!this.isZAxis?!st:st,this.isXAxis=st,this.coll=this.coll||(st?"xAxis":"yAxis"),m(this,"init",{userOptions:B}),this.opposite=L(B.opposite,this.opposite),this.side=L(B.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(B);var ht=this.options,tt=ht.labels,ct=ht.type;this.userOptions=B,this.minPixelPadding=0,this.reversed=L(ht.reversed,this.reversed),this.visible=ht.visible,this.zoomEnabled=ht.zoomEnabled,this.hasNames=ct==="category"||ht.categories===!0,this.categories=ht.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(ht.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=ht.minRange||ht.maxZoom,this.range=ht.range,this.offset=ht.offset||0,this.min=this.max=null,B=L(ht.crosshair,rt(F.options.tooltip.crosshairs)[st?0:1]),this.crosshair=B===!0?{}:B,F.axes.indexOf(this)===-1&&(st?F.axes.splice(F.xAxis.length,0,this):F.axes.push(this),F[this.coll].push(this)),this.series=this.series||[],F.inverted&&!this.isZAxis&&st&&typeof this.reversed=="undefined"&&(this.reversed=!0),this.labelRotation=s(tt.rotation)?tt.rotation:void 0,d(this,ht),m(this,"afterInit")},ut.prototype.setOptions=function(F){this.options=R(I.defaultXAxisOptions,this.coll==="yAxis"&&I.defaultYAxisOptions,[I.defaultTopAxisOptions,I.defaultRightAxisOptions,I.defaultBottomAxisOptions,I.defaultLeftAxisOptions][this.side],R(C[this.coll],F)),m(this,"afterSetOptions",{userOptions:F})},ut.prototype.defaultLabelFormatter=function(F){var B=this.axis;F=this.chart.numberFormatter;var st=s(this.value)?this.value:NaN,ht=B.chart.time,tt=this.dateTimeLabelFormat,ct=C.lang,U=ct.numericSymbols;ct=ct.numericSymbolMagnitude||1e3;var J=B.logarithmic?Math.abs(st):B.tickInterval,K=U&&U.length;if(B.categories)var q=""+this.value;else if(tt)q=ht.dateFormat(tt,st);else if(K&&1e3<=J)for(;K--&&typeof q=="undefined";)B=Math.pow(ct,K+1),J>=B&&10*st%B===0&&U[K]!==null&&st!==0&&(q=F(st/B,-1)+U[K]);return typeof q=="undefined"&&(q=1e4<=Math.abs(st)?F(st,-1):F(st,-1,void 0,"")),q},ut.prototype.getSeriesExtremes=function(){var F=this,B=F.chart,st;m(this,"getSeriesExtremes",null,function(){F.hasVisibleSeries=!1,F.dataMin=F.dataMax=F.threshold=null,F.softThreshold=!F.isXAxis,F.stacking&&F.stacking.buildStacks(),F.series.forEach(function(ht){if(ht.visible||!B.options.chart.ignoreHiddenSeries){var tt=ht.options,ct=tt.threshold;if(F.hasVisibleSeries=!0,F.positiveValuesOnly&&0>=ct&&(ct=null),F.isXAxis){if(tt=ht.xData,tt.length){tt=F.logarithmic?tt.filter(F.validatePositiveValue):tt,st=ht.getXExtremes(tt);var U=st.min,J=st.max;s(U)||U instanceof Date||(tt=tt.filter(s),st=ht.getXExtremes(tt),U=st.min,J=st.max),tt.length&&(F.dataMin=Math.min(L(F.dataMin,U),U),F.dataMax=Math.max(L(F.dataMax,J),J))}}else ht=ht.applyExtremes(),s(ht.dataMin)&&(U=ht.dataMin,F.dataMin=Math.min(L(F.dataMin,U),U)),s(ht.dataMax)&&(J=ht.dataMax,F.dataMax=Math.max(L(F.dataMax,J),J)),b(ct)&&(F.threshold=ct),(!tt.softThreshold||F.positiveValuesOnly)&&(F.softThreshold=!1)}})}),m(this,"afterGetSeriesExtremes")},ut.prototype.translate=function(F,B,st,ht,tt,ct){var U=this.linkedParent||this,J=ht&&U.old?U.old.min:U.min,K=U.minPixelPadding;tt=(U.isOrdinal||U.brokenAxis&&U.brokenAxis.hasBreaks||U.logarithmic&&tt)&&U.lin2val;var q=1,at=0;return ht=ht&&U.old?U.old.transA:U.transA,ht||(ht=U.transA),st&&(q*=-1,at=U.len),U.reversed&&(q*=-1,at-=q*(U.sector||U.len)),B?(F=(F*q+at-K)/ht+J,tt&&(F=U.lin2val(F))):(tt&&(F=U.val2lin(F)),F=s(J)?q*(F-J)*ht+at+q*K+(s(ct)?ht*ct:0):void 0),F},ut.prototype.toPixels=function(F,B){return this.translate(F,!1,!this.horiz,null,!0)+(B?0:this.pos)},ut.prototype.toValue=function(F,B){return this.translate(F-(B?0:this.pos),!0,!this.horiz,null,!0)},ut.prototype.getPlotLinePath=function(F){function B(St,pt,Pt){return(Ct!=="pass"&&StPt)&&(Ct?St=h(St,pt,Pt):At=!0),St}var st=this,ht=st.chart,tt=st.left,ct=st.top,U=F.old,J=F.value,K=F.lineWidth,q=U&&ht.oldChartHeight||ht.chartHeight,at=U&&ht.oldChartWidth||ht.chartWidth,bt=st.transB,mt=F.translatedValue,Ct=F.force,vt,Nt,Ft,Ot,At;return F={value:J,lineWidth:K,old:U,force:Ct,acrossPanes:F.acrossPanes,translatedValue:mt},m(this,"getPlotLinePath",F,function(St){mt=L(mt,st.translate(J,null,null,U)),mt=h(mt,-1e5,1e5),vt=Ft=Math.round(mt+bt),Nt=Ot=Math.round(q-mt-bt),s(mt)?st.horiz?(Nt=ct,Ot=q-st.bottom,vt=Ft=B(vt,tt,tt+st.width)):(vt=tt,Ft=at-st.right,Nt=Ot=B(Nt,ct,ct+st.height)):(At=!0,Ct=!1),St.path=At&&!Ct?null:ht.renderer.crispLine([["M",vt,Nt],["L",Ft,Ot]],K||1)}),F.path},ut.prototype.getLinearTickPositions=function(F,B,st){var ht=w(Math.floor(B/F)*F);st=w(Math.ceil(st/F)*F);var tt=[],ct;if(w(ht+F)===ht&&(ct=20),this.single)return[B];for(B=ht;B<=st&&(tt.push(B),B=w(B+F,ct),B!==U);)var U=B;return tt},ut.prototype.getMinorTickInterval=function(){var F=this.options;return F.minorTicks===!0?L(F.minorTickInterval,"auto"):F.minorTicks===!1?null:F.minorTickInterval},ut.prototype.getMinorTickPositions=function(){var F=this.options,B=this.tickPositions,st=this.minorTickInterval,ht=this.pointRangePadding||0,tt=this.min-ht;ht=this.max+ht;var ct=ht-tt,U=[];if(ct&&ct/st=this.minRange,at=this.minRange,bt=(at-ht+st)/2;bt=[st-bt,L(F.min,st-bt)],q&&(bt[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),st=k(bt),ht=[st+at,L(F.max,st+at)],q&&(ht[2]=B?B.log2lin(this.dataMax):this.dataMax),ht=S(ht),ht-st=Ct)Ft=Ct,bt=0;else if(B.dataMax<=Ct){var Ot=Ct;at=0}}B.min=L(vt,Ft,B.dataMin),B.max=L(Nt,Ot,B.dataMax)}ht&&(B.positiveValuesOnly&&!F&&0>=Math.min(B.min,L(B.dataMin,B.min))&&y(10,1,st),B.min=w(ht.log2lin(B.min),16),B.max=w(ht.log2lin(B.max),16)),B.range&&b(B.max)&&(B.userMin=B.min=vt=Math.max(B.dataMin,B.minFromRange()),B.userMax=Nt=B.max,B.range=null),m(B,"foundExtremes"),B.beforePadding&&B.beforePadding(),B.adjustForMinRange(),!(K||B.axisPointRange||B.stacking&&B.stacking.usePercentage||U)&&b(B.min)&&b(B.max)&&(st=B.max-B.min)&&(!b(vt)&&bt&&(B.min-=st*bt),!b(Nt)&&at&&(B.max+=st*at)),s(B.userMin)||(s(tt.softMin)&&tt.softMinB.max&&(B.max=Nt=tt.softMax),s(tt.ceiling)&&(B.max=Math.min(B.max,tt.ceiling))),q&&b(B.dataMin)&&(Ct=Ct||0,!b(vt)&&B.min=Ct?B.min=B.options.minRange?Math.min(Ct,B.max-B.minRange):Ct:!b(Nt)&&B.max>Ct&&B.dataMax<=Ct&&(B.max=B.options.minRange?Math.max(Ct,B.min+B.minRange):Ct)),s(B.min)&&s(B.max)&&!this.chart.polar&&B.min>B.max&&(b(B.options.min)?B.max=B.min:b(B.options.max)&&(B.min=B.max)),B.tickInterval=B.min===B.max||typeof B.min=="undefined"||typeof B.max=="undefined"?1:U&&B.linkedParent&&!mt&&J===B.linkedParent.options.tickPixelInterval?mt=B.linkedParent.tickInterval:L(mt,this.tickAmount?(B.max-B.min)/Math.max(this.tickAmount-1,1):void 0,K?1:(B.max-B.min)*J/Math.max(B.len,J)),ct&&!F&&(B.series.forEach(function(At){At.forceCrop=At.forceCropping&&At.forceCropping(),At.processData(B.min!==(B.old&&B.old.min)||B.max!==(B.old&&B.old.max))}),m(this,"postProcessData")),B.setAxisTranslation(),m(this,"initialAxisTranslation"),B.pointRange&&!mt&&(B.tickInterval=Math.max(B.pointRange,B.tickInterval)),F=L(tt.minTickInterval,B.dateTime&&!B.series.some(function(At){return At.noSharedTooltip})?B.closestPointRange:0),!mt&&B.tickIntervalB.tickInterval||this.tickAmount!==void 0),!!this.tickAmount)),this.tickAmount||(B.tickInterval=B.unsquish()),this.setTickPositions()},ut.prototype.setTickPositions=function(){var F=this.options,B=F.tickPositions,st=this.getMinorTickInterval(),ht=this.hasVerticalPanning(),tt=this.coll==="colorAxis",ct=(tt||!ht)&&F.startOnTick;ht=(tt||!ht)&&F.endOnTick,tt=F.tickPositioner,this.tickmarkOffset=this.categories&&F.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.minorTickInterval=st==="auto"&&this.tickInterval?this.tickInterval/5:st,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||F.allowDecimals!==!1),this.tickPositions=st=B&&B.slice(),!st&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?st=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,F.units),this.min,this.max,F.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(st=[this.min,this.max],y(19,!1,this.chart)),st.length>this.len&&(st=[st[0],st.pop()],st[0]===st[1]&&(st.length=1)),this.tickPositions=st,tt&&(tt=tt.apply(this,[this.min,this.max])))&&(this.tickPositions=st=tt),this.paddedTicks=st.slice(0),this.trimTicks(st,ct,ht),this.isLinked||(this.single&&2>st.length&&!this.categories&&!this.series.some(function(U){return U.is("heatmap")&&U.options.pointPlacement==="between"})&&(this.min-=.5,this.max+=.5),B||tt||this.adjustTickAmount()),m(this,"afterSetTickPositions")},ut.prototype.trimTicks=function(F,B,st){var ht=F[0],tt=F[F.length-1],ct=!this.isOrdinal&&this.minPointOffset||0;if(m(this,"trimTicks"),!this.isLinked){if(B&&ht!==-1/0)this.min=ht;else for(;this.min-ct>F[0];)F.shift();if(st)this.max=tt;else for(;this.max+ctst&&(this.finalTickAmt=st,st=5),this.tickAmount=st},ut.prototype.adjustTickAmount=function(){var F=this.options,B=this.tickInterval,st=this.tickPositions,ht=this.tickAmount,tt=this.finalTickAmt,ct=st&&st.length,U=L(this.threshold,this.softThreshold?0:null);if(this.hasData()&&s(this.min)&&s(this.max)){if(ctht&&(this.tickInterval*=2,this.setTickPositions());if(b(tt)){for(B=F=st.length;B--;)(tt===3&&B%2===1||2>=tt&&0J&&(q=J)),b(tt)&&(atJ&&(at=J))),st.displayBtn=typeof q!="undefined"||typeof at!="undefined",st.setExtremes(q,at,!1,void 0,{trigger:"zoom"})),K.zoomed=!0}),F.zoomed},ut.prototype.setAxisSize=function(){var F=this.chart,B=this.options,st=B.offsets||[0,0,0,0],ht=this.horiz,tt=this.width=Math.round(et(L(B.width,F.plotWidth-st[3]+st[1]),F.plotWidth)),ct=this.height=Math.round(et(L(B.height,F.plotHeight-st[0]+st[2]),F.plotHeight)),U=this.top=Math.round(et(L(B.top,F.plotTop+st[0]),F.plotHeight,F.plotTop));B=this.left=Math.round(et(L(B.left,F.plotLeft+st[3]),F.plotWidth,F.plotLeft)),this.bottom=F.chartHeight-ct-U,this.right=F.chartWidth-tt-B,this.len=Math.max(ht?tt:ct,0),this.pos=ht?B:U},ut.prototype.getExtremes=function(){var F=this.logarithmic;return{min:F?w(F.lin2log(this.min)):this.min,max:F?w(F.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},ut.prototype.getThreshold=function(F){var B=this.logarithmic,st=B?B.lin2log(this.min):this.min;return B=B?B.lin2log(this.max):this.max,F===null||F===-1/0?F=st:F===1/0?F=B:st>F?F=st:BB?st.align="right":195B&&(st.align="left")}),F.align},ut.prototype.tickSize=function(F){var B=this.options,st=L(B[F==="tick"?"tickWidth":"minorTickWidth"],F==="tick"&&this.isXAxis&&!this.categories?1:0),ht=B[F==="tick"?"tickLength":"minorTickLength"];if(st&&ht){B[F+"Position"]==="inside"&&(ht=-ht);var tt=[ht,st]}return F={tickSize:tt},m(this,"afterTickSize",F),F.tickSize},ut.prototype.labelMetrics=function(){var F=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[F]&&this.ticks[F].label)},ut.prototype.unsquish=function(){var F=this.options.labels,B=this.horiz,st=this.tickInterval,ht=this.len/(((this.categories?1:0)+this.max-this.min)/st),tt=F.rotation,ct=this.labelMetrics(),U=Math.max(this.max-this.min,0),J=function(Ct){var vt=Ct/(ht||1);return vt=1U&&Ct!==1/0&&ht!==1/0&&U&&(vt=Math.ceil(U/st)),w(vt*st)},K=st,q,at,bt=Number.MAX_VALUE;if(B){if(!F.staggerLines&&!F.step)if(s(tt))var mt=[tt];else ht=Ct){at=J(Math.abs(ct.h/Math.sin(o*Ct)));var vt=at+Math.abs(Ct/360);vtht.step)return ht.rotation?0:(this.staggerLines||1)*this.len/tt;if(!st){if(F=ht.style.width,F!==void 0)return parseInt(String(F),10);if(ct)return ct-B.spacing[3]}return .33*B.chartWidth},ut.prototype.renderUnsquish=function(){var F=this.chart,B=F.renderer,st=this.tickPositions,ht=this.ticks,tt=this.options.labels,ct=tt.style,U=this.horiz,J=this.getSlotWidth(),K=Math.max(1,Math.round(J-2*tt.padding)),q={},at=this.labelMetrics(),bt=ct.textOverflow,mt=0;if(N(tt.rotation)||(q.rotation=tt.rotation||0),st.forEach(function(Ft){Ft=ht[Ft],Ft.movedLabel&&Ft.replaceMovedLabel(),Ft&&Ft.label&&Ft.label.textPxLength>mt&&(mt=Ft.label.textPxLength)}),this.maxLabelLength=mt,this.autoRotation)mt>K&&mt>at.h?q.rotation=this.labelRotation:this.labelRotation=0;else if(J){var Ct=K;if(!bt){var vt="clip";for(K=st.length;!U&&K--;){var Nt=st[K];(Nt=ht[Nt].label)&&(Nt.styles&&Nt.styles.textOverflow==="ellipsis"?Nt.css({textOverflow:"clip"}):Nt.textPxLength>J&&Nt.css({width:J+"px"}),Nt.getBBox().height>this.len/st.length-(at.h-at.f)&&(Nt.specificTextOverflow="ellipsis"))}}}q.rotation&&(Ct=mt>.5*F.chartHeight?.33*F.chartHeight:mt,bt||(vt="ellipsis")),(this.labelAlign=tt.align||this.autoLabelAlign(this.labelRotation))&&(q.align=this.labelAlign),st.forEach(function(Ft){var Ot=(Ft=ht[Ft])&&Ft.label,At=ct.width,St={};Ot&&(Ot.attr(q),Ft.shortenLabel?Ft.shortenLabel():Ct&&!At&&ct.whiteSpace!=="nowrap"&&(Ct=this.min&&F<=this.max||this.grid&&this.grid.isColumn)&&(ht[F]||(ht[F]=new j(this,F)),st&&ht[F].isNew&&ht[F].render(B,!0,-1),ht[F].render(B))},ut.prototype.render=function(){var F=this,B=F.chart,st=F.logarithmic,ht=F.options,tt=F.isLinked,ct=F.tickPositions,U=F.axisTitle,J=F.ticks,K=F.minorTicks,q=F.alternateBands,at=ht.stackLabels,bt=ht.alternateGridColor,mt=F.tickmarkOffset,Ct=F.axisLine,vt=F.showAxis,Nt=D(B.renderer.globalAnimation),Ft,Ot;if(F.labelEdge.length=0,F.overlap=!1,[J,K,q].forEach(function(St){E(St,function(pt){pt.isActive=!1})}),F.hasData()||tt){var At=F.chart.hasRendered&&F.old&&s(F.old.min);F.minorTickInterval&&!F.categories&&F.getMinorTickPositions().forEach(function(St){F.renderMinorTick(St,At)}),ct.length&&(ct.forEach(function(St,pt){F.renderTick(St,pt,At)}),mt&&(F.min===0||F.single)&&(J[-1]||(J[-1]=new j(F,-1,null,!0)),J[-1].render(-1))),bt&&ct.forEach(function(St,pt){Ot=typeof ct[pt+1]!="undefined"?ct[pt+1]+mt:F.max-mt,pt%2===0&&Stk&&(!h||g<=S)&&typeof g!="undefined"&&p.push(g),g>S&&(m=!0),g=l}}}else k=this.lin2log(k),S=this.lin2log(S),o=h?w.getMinorTickInterval():g.tickInterval,o=Z(o==="auto"?null:o,this.minorAutoInterval,g.tickPixelInterval/(h?5:1)*(S-k)/((h?b/w.tickPositions.length:b)||1)),o=X(o,void 0,Y(o)),p=w.getLinearTickPositions(o,k,S).map(this.log2lin),h||(this.minorAutoInterval=o/5);return h||(w.tickInterval=o),p},d.prototype.lin2log=function(o){return Math.pow(10,o)},d.prototype.log2lin=function(o){return Math.log(o)/Math.LN10},d}();_.Additions=C}(H||(H={})),H}),W(u,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[u["Core/Utilities.js"]],function(T){var I=T.erase,Y=T.extend,X=T.isNumber,Z;return function(H){var _=[],j;H.compose=function(D,C){return j||(j=D),_.indexOf(C)===-1&&(_.push(C),Y(C.prototype,A.prototype)),C};var A=function(){function D(){}return D.prototype.getPlotBandPath=function(C,d,o){o===void 0&&(o=this.options);var k=this.getPlotLinePath({value:d,force:!0,acrossPanes:o.acrossPanes}),S=[],h=this.horiz;if(d=!X(this.min)||!X(this.max)||Cthis.max&&d>this.max,C=this.getPlotLinePath({value:C,force:!0,acrossPanes:o.acrossPanes}),o=1,C&&k){if(d){var w=C.toString()===k.toString();o=0}for(d=0;dSt-L?St:St-L);else if(At)E[K]=Math.max(Ct,mt+L+at>q?mt:mt+L);else return!1},ct=function(K,q,at,bt,mt){var Ct;return mtq-c?Ct=!1:E[K]=mtq-bt/2?q-bt-2:mt-at/2,Ct},U=function(K){var q=F;F=B,B=q,st=K},J=function(){tt.apply(0,F)!==!1?ct.apply(0,B)!==!1||st||(U(!0),J()):st?E.x=E.y=0:(U(!0),J())};return(R.inverted||1St})&&(l=l.map(function(At){var St=N(At.anchorX,At.anchorY,At.point.isHeader,At.boxWidth,!1);return S(At,{target:St.y,x:St.x})})),R.cleanSplit(),A(l,Nt);var Ft=mt,Ot=mt;l.forEach(function(At){var St=At.x,pt=At.boxWidth;At=At.isHeader,At||(R.outside&&mt+StOt&&(Ot=mt+St))}),l.forEach(function(At){var St=At.x,pt=At.anchorX,Pt=At.pos,Wt=At.point.isHeader;if(Pt={visibility:typeof Pt=="undefined"?"hidden":"inherit",x:St,y:Pt+Ct,anchorX:pt,anchorY:At.anchorY},R.outside&&StN[0]?Math.max(Math.abs(N[0]),c.width-N[0]):Math.max(Math.abs(N[0]),c.width),R.height=0>N[1]?Math.max(Math.abs(N[1]),c.height-Math.abs(N[1])):Math.max(Math.abs(N[1]),c.height),this.tracker?this.tracker.attr(R):(this.tracker=s.renderer.rect(R).addClass("highcharts-tracker").add(s),l.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},x.prototype.styledModeFormat=function(l){return l.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},x.prototype.tooltipFooterHeaderFormatter=function(l,s){var N=l.series,R=N.tooltipOptions,c=N.xAxis,E=c&&c.dateTime;c={isFooter:s,labelConfig:l};var L=R.xDateFormat,et=R[s?"footerFormat":"headerFormat"];return h(this,"headerFormatter",c,function(nt){E&&!L&&b(l.key)&&(L=E.getXDateFormat(l.key,R.dateTimeLabelFormats)),E&&L&&(l.point&&l.point.tooltipDateKeys||["key"]).forEach(function(rt){et=et.replace("{point."+rt+"}","{point."+rt+":"+L+"}")}),N.chart.styledMode&&(et=this.styledModeFormat(et)),nt.text=_(et,{point:l,series:N},this.chart)}),c.text},x.prototype.update=function(l){this.destroy(),p(!0,this.chart.options.tooltip.userOptions,l),this.init(this.chart,p(!0,this.options,l))},x.prototype.updatePosition=function(l){var s=this.chart,N=this.options,R=s.pointer,c=this.getLabel();R=R.getChartPosition();var E=(N.positioner||this.getPosition).call(this,c.width,c.height,l),L=l.plotX+s.plotLeft;l=l.plotY+s.plotTop,this.outside&&(N=N.borderWidth+2*this.distance,this.renderer.setSize(c.width+N,c.height+N,!1),(R.scaleX!==1||R.scaleY!==1)&&(d(this.container,{transform:"scale("+R.scaleX+", "+R.scaleY+")"}),L*=R.scaleX,l*=R.scaleY),L+=R.left-E.x,l+=R.top-E.y),this.move(Math.round(E.x),Math.round(E.y||0),L,l)},x}(),T}),W(u,"Core/Series/Point.js",[u["Core/Renderer/HTML/AST.js"],u["Core/Animation/AnimationUtilities.js"],u["Core/DefaultOptions.js"],u["Core/FormatUtilities.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z){var H=I.animObject,_=Y.defaultOptions,j=X.format,A=Z.addEvent,D=Z.defined,C=Z.erase,d=Z.extend,o=Z.fireEvent,k=Z.getNestedProperty,S=Z.isArray,h=Z.isFunction,w=Z.isNumber,b=Z.isObject,g=Z.merge,p=Z.objectEach,y=Z.pick,P=Z.syncTimeout,m=Z.removeEvent,x=Z.uniqueKey;return I=function(){function l(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return l.prototype.animateBeforeDestroy=function(){var s=this,N={x:s.startXPos,opacity:0},R=s.getGraphicalProps();R.singular.forEach(function(c){s[c]=s[c].animate(c==="dataLabel"?{x:s[c].startXPos,y:s[c].startYPos,opacity:0}:N)}),R.plural.forEach(function(c){s[c].forEach(function(E){E.element&&E.animate(d({x:s.startXPos},E.startYPos?{x:E.startXPos,y:E.startYPos}:{}))})})},l.prototype.applyOptions=function(s,N){var R=this.series,c=R.options.pointValKey||R.pointValKey;return s=l.prototype.optionsToObject.call(this,s),d(this,s),this.options=this.options?d(this.options,s):s,s.group&&delete this.group,s.dataLabels&&delete this.dataLabels,c&&(this.y=l.prototype.getNestedProperty.call(this,c)),this.formatPrefix=(this.isNull=y(this.isValid&&!this.isValid(),this.x===null||!w(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&typeof N=="undefined"&&R.xAxis&&R.xAxis.hasNames&&(this.x=R.xAxis.nameToX(this)),typeof this.x=="undefined"&&R?this.x=typeof N=="undefined"?R.autoIncrement():N:w(s.x)&&R.options.relativeXValue&&(this.x=R.autoIncrement(s.x)),this},l.prototype.destroy=function(){function s(){(N.graphic||N.dataLabel||N.dataLabels)&&(m(N),N.destroyElements());for(et in N)N[et]=null}var N=this,R=N.series,c=R.chart;R=R.options.dataSorting;var E=c.hoverPoints,L=H(N.series.chart.renderer.globalAnimation),et;N.legendItem&&c.legend.destroyItem(N),E&&(N.setState(),C(E,N),E.length||(c.hoverPoints=null)),N===c.hoverPoint&&N.onMouseOut(),R&&R.enabled?(this.animateBeforeDestroy(),P(s,L.duration)):s(),c.pointCount--},l.prototype.destroyElements=function(s){var N=this;s=N.getGraphicalProps(s),s.singular.forEach(function(R){N[R]=N[R].destroy()}),s.plural.forEach(function(R){N[R].forEach(function(c){c.element&&c.destroy()}),delete N[R]})},l.prototype.firePointEvent=function(s,N,R){var c=this,E=this.series.options;(E.point.events[s]||c.options&&c.options.events&&c.options.events[s])&&c.importEvents(),s==="click"&&E.allowPointSelect&&(R=function(L){c.select&&c.select(null,L.ctrlKey||L.metaKey||L.shiftKey)}),o(c,s,N,R)},l.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(typeof this.colorIndex!="undefined"?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},l.prototype.getGraphicalProps=function(s){var N=this,R=[],c={singular:[],plural:[]},E;for(s=s||{graphic:1,dataLabel:1},s.graphic&&R.push("graphic","upperGraphic","shadowGroup"),s.dataLabel&&R.push("dataLabel","dataLabelUpper","connector"),E=R.length;E--;){var L=R[E];N[L]&&c.singular.push(L)}return["dataLabel","connector"].forEach(function(et){var nt=et+"s";s[et]&&N[nt]&&c.plural.push(nt)}),c},l.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},l.prototype.getNestedProperty=function(s){if(s)return s.indexOf("custom.")===0?k(s,this.options):this[s]},l.prototype.getZone=function(){var s=this.series,N=s.zones;s=s.zoneAxis||"y";var R,c=0;for(R=N[c];this[s]>=R.value;)R=N[++c];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=R&&R.color&&!this.options.color?R.color:this.nonZonedColor,R},l.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},l.prototype.init=function(s,N,R){return this.series=s,this.applyOptions(N,R),this.id=D(this.id)?this.id:x(),this.resolveColor(),s.chart.pointCount++,o(this,"afterInit"),this},l.prototype.optionsToObject=function(s){var N=this.series,R=N.options.keys,c=R||N.pointArrayMap||["y"],E=c.length,L={},et=0,nt=0;if(w(s)||s===null)L[c[0]]=s;else if(S(s))for(!R&&s.length>E&&(N=typeof s[0],N==="string"?L.name=s[0]:N==="number"&&(L.x=s[0]),et++);ntR+E&&(ut=R+E),Fc+L&&(F=c+L),this.hasDragged=Math.sqrt(Math.pow(et-ut,2)+Math.pow(nt-F,2)),10c.options.findNearestPointBy.indexOf("y");if(c=c.searchPoint(l,E),(E=w(c,!0)&&c.series)&&!(E=!w(R,!0))){E=R.distX-c.distX;var L=R.dist-c.dist,et=(c.series.group&&c.series.group.zIndex)-(R.series.group&&R.series.group.zIndex);E=0<(E!==0&&x?E:L!==0?L:et!==0?et:R.series.index>c.series.index?-1:1)}E&&(R=c)}),R},P.prototype.getChartCoordinatesFromPoint=function(m,x){var l=m.series,s=l.xAxis;l=l.yAxis;var N=m.shapeArgs;if(s&&l){var R=p(m.clientX,m.plotX),c=m.plotY||0;return m.isNode&&N&&h(N.x)&&h(N.y)&&(R=N.x,c=N.y),x?{chartX:l.len+l.pos-c,chartY:s.len+s.pos-R}:{chartX:R+s.pos,chartY:c+l.pos}}if(N&&N.x&&N.y)return{chartX:N.x,chartY:N.y}},P.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var m=this.chart.container,x=g(m);this.chartPosition={left:x.left,top:x.top,scaleX:1,scaleY:1};var l=m.offsetWidth;return m=m.offsetHeight,2B.max&&(l=B.max-ct,at=!0);at?(K-=.8*(K-c[et][0]),typeof q=="number"&&(q-=.8*(q-c[et][1])),x()):c[et]=[K,q],F||(R[et]=U-ut,R[G]=ct),R=F?1/J:J,N[G]=ct,N[et]=l,s[F?m?"scaleY":"scaleX":"scale"+nt]=J,s["translate"+nt]=R*ut+(K-R*ht)},P.prototype.reset=function(m,x){var l=this.chart,s=l.hoverSeries,N=l.hoverPoint,R=l.hoverPoints,c=l.tooltip,E=c&&c.shared?R:N;m&&E&&y(E).forEach(function(L){L.series.isCartesian&&typeof L.plotX=="undefined"&&(m=!1)}),m?c&&E&&y(E).length&&(c.refresh(E),c.shared&&R?R.forEach(function(L){L.setState(L.state,!0),L.series.isCartesian&&(L.series.xAxis.crosshair&&L.series.xAxis.drawCrosshair(null,L),L.series.yAxis.crosshair&&L.series.yAxis.drawCrosshair(null,L))}):N&&(N.setState(N.state,!0),l.axes.forEach(function(L){L.crosshair&&N.series[L.coll]===L&&L.drawCrosshair(null,N)}))):(N&&N.onMouseOut(),R&&R.forEach(function(L){L.setState()}),s&&s.onMouseOut(),c&&c.hide(x),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),l.axes.forEach(function(L){L.hideCrosshair()}),this.hoverX=l.hoverPoints=l.hoverPoint=null)},P.prototype.runPointActions=function(m,x){var l=this.chart,s=l.tooltip&&l.tooltip.options.enabled?l.tooltip:void 0,N=s?s.shared:!1,R=x||l.hoverPoint,c=R&&R.series||l.hoverSeries;x=this.getHoverData(R,c,l.series,(!m||m.type!=="touchmove")&&(!!x||c&&c.directTouch&&this.isDirectTouch),N,m),R=x.hoverPoint,c=x.hoverSeries;var E=x.hoverPoints;if(x=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,N=N&&c&&!c.noSharedTooltip,R&&(R!==l.hoverPoint||s&&s.isHidden)){if((l.hoverPoints||[]).forEach(function(L){E.indexOf(L)===-1&&L.setState()}),l.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(E),(E||[]).forEach(function(L){L.setState("hover")}),l.hoverPoint&&l.hoverPoint.firePointEvent("mouseOut"),!R.series)return;l.hoverPoints=E,l.hoverPoint=R,R.firePointEvent("mouseOver"),s&&s.refresh(N?E:R,m)}else x&&s&&!s.isHidden&&(R=s.getAnchor([{}],m),l.isInsidePlot(R[0],R[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:R[0],plotY:R[1]}));this.unDocMouseMove||(this.unDocMouseMove=A(l.container.ownerDocument,"mousemove",function(L){var et=_[P.hoverChartIndex];et&&et.pointer.onDocumentMouseMove(L)}),this.eventsToUnbind.push(this.unDocMouseMove)),l.axes.forEach(function(L){var et=p((L.crosshair||{}).snap,!0),nt;et&&((nt=l.hoverPoint)&&nt.series[L.coll]===L||(nt=k(E,function(rt){return rt.series[L.coll]===L}))),nt||!et?L.drawCrosshair(m,nt):L.hideCrosshair()})},P.prototype.scaleGroups=function(m,x){var l=this.chart;l.series.forEach(function(s){var N=m||s.getPlotBox();s.xAxis&&s.xAxis.zoomEnabled&&s.group&&(s.group.attr(N),s.markerGroup&&(s.markerGroup.attr(N),s.markerGroup.clip(x?l.clipRect:null)),s.dataLabelsGroup&&s.dataLabelsGroup.attr(N))}),l.clipRect.attr(x||l.clipBox)},P.prototype.setDOMEvents=function(){var m=this,x=this.chart.container,l=x.ownerDocument;x.onmousedown=this.onContainerMouseDown.bind(this),x.onmousemove=this.onContainerMouseMove.bind(this),x.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(A(x,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(A(x,"mouseleave",this.onContainerMouseLeave.bind(this))),P.unbindDocumentMouseUp||(P.unbindDocumentMouseUp=A(l,"mouseup",this.onDocumentMouseUp.bind(this)));for(var s=this.chart.renderTo.parentElement;s&&s.tagName!=="BODY";)this.eventsToUnbind.push(A(s,"scroll",function(){delete m.chartPosition})),s=s.parentElement;I.hasTouch&&(this.eventsToUnbind.push(A(x,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(A(x,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),P.unbindDocumentTouchEnd||(P.unbindDocumentTouchEnd=A(l,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},P.prototype.setHoverChartIndex=function(){var m=this.chart,x=I.charts[p(P.hoverChartIndex,-1)];x&&x!==m&&x.pointer.onContainerMouseLeave({relatedTarget:!0}),x&&x.mouseIsDown||(P.hoverChartIndex=m.index)},P.prototype.touch=function(m,x){var l=this.chart,s;if(this.setHoverChartIndex(),m.touches.length===1)if(m=this.normalize(m),(s=l.isInsidePlot(m.chartX-l.plotLeft,m.chartY-l.plotTop,{visiblePlotOnly:!0}))&&!l.openMenu){if(x&&this.runPointActions(m),m.type==="touchmove"){x=this.pinchDown;var N=x[0]?4<=Math.sqrt(Math.pow(x[0].chartX-m.chartX,2)+Math.pow(x[0].chartY-m.chartY,2)):!1}p(N,!0)&&this.pinch(m)}else x&&this.reset();else m.touches.length===2&&this.pinch(m)},P.prototype.touchSelect=function(m){return!(!this.chart.options.chart.zoomBySingleTouch||!m.touches||m.touches.length!==1)},P.prototype.zoomOption=function(m){var x=this.chart,l=x.options.chart;x=x.inverted;var s=l.zoomType||"";/touch/.test(m.type)&&(s=p(l.pinchType,s)),this.zoomX=m=/x/.test(s),this.zoomY=l=/y/.test(s),this.zoomHor=m&&!x||l&&x,this.zoomVert=l&&!x||m&&x,this.hasZoom=m||l},P}(),T}),W(u,"Core/MSPointer.js",[u["Core/Globals.js"],u["Core/Pointer.js"],u["Core/Utilities.js"]],function(T,I,Y){function X(){var w=[];return w.item=function(b){return this[b]},o(S,function(b){w.push({pageX:b.pageX,pageY:b.pageY,target:b.target})}),w}function Z(w,b,g,p){var y=_[I.hoverChartIndex||NaN];w.pointerType!=="touch"&&w.pointerType!==w.MSPOINTER_TYPE_TOUCH||!y||(y=y.pointer,p(w),y[b]({type:g,target:w.currentTarget,preventDefault:A,touches:X()}))}var H=this&&this.__extends||function(){var w=function(b,g){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var P in y)y.hasOwnProperty(P)&&(p[P]=y[P])},w(b,g)};return function(b,g){function p(){this.constructor=b}w(b,g),b.prototype=g===null?Object.create(g):(p.prototype=g.prototype,new p)}}(),_=T.charts,j=T.doc,A=T.noop,D=T.win,C=Y.addEvent,d=Y.css,o=Y.objectEach,k=Y.removeEvent,S={},h=!!D.PointerEvent;return function(w){function b(){return w!==null&&w.apply(this,arguments)||this}return H(b,w),b.isRequired=function(){return!(T.hasTouch||!D.PointerEvent&&!D.MSPointerEvent)},b.prototype.batchMSEvents=function(g){g(this.chart.container,h?"pointerdown":"MSPointerDown",this.onContainerPointerDown),g(this.chart.container,h?"pointermove":"MSPointerMove",this.onContainerPointerMove),g(j,h?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},b.prototype.destroy=function(){this.batchMSEvents(k),w.prototype.destroy.call(this)},b.prototype.init=function(g,p){w.prototype.init.call(this,g,p),this.hasZoom&&d(g.container,{"-ms-touch-action":"none","touch-action":"none"})},b.prototype.onContainerPointerDown=function(g){Z(g,"onContainerTouchStart","touchstart",function(p){S[p.pointerId]={pageX:p.pageX,pageY:p.pageY,target:p.currentTarget}})},b.prototype.onContainerPointerMove=function(g){Z(g,"onContainerTouchMove","touchmove",function(p){S[p.pointerId]={pageX:p.pageX,pageY:p.pageY},S[p.pointerId].target||(S[p.pointerId].target=p.currentTarget)})},b.prototype.onDocumentPointerUp=function(g){Z(g,"onDocumentTouchEnd","touchend",function(p){delete S[p.pointerId]})},b.prototype.setDOMEvents=function(){w.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(C)},b}(I)}),W(u,"Core/Legend/Legend.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Series/Point.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){var _=T.animObject,j=T.setAnimation,A=I.format;T=Y.isFirefox;var D=Y.marginNames;Y=Y.win;var C=Z.distribute,d=H.addEvent,o=H.createElement,k=H.css,S=H.defined,h=H.discardElement,w=H.find,b=H.fireEvent,g=H.isNumber,p=H.merge,y=H.pick,P=H.relativeLength,m=H.stableSort,x=H.syncTimeout;return Z=H.wrap,H=function(){function l(s,N){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=s,this.init(s,N)}return l.prototype.init=function(s,N){this.chart=s,this.setOptions(N),N.enabled&&(this.render(),d(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=d(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},l.prototype.setOptions=function(s){var N=y(s.padding,8);this.options=s,this.chart.styledMode||(this.itemStyle=s.itemStyle,this.itemHiddenStyle=p(this.itemStyle,s.itemHiddenStyle)),this.itemMarginTop=s.itemMarginTop||0,this.itemMarginBottom=s.itemMarginBottom||0,this.padding=N,this.initialItemY=N-5,this.symbolWidth=y(s.symbolWidth,16),this.pages=[],this.proximate=s.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0},l.prototype.update=function(s,N){var R=this.chart;this.setOptions(p(!0,this.options,s)),this.destroy(),R.isDirtyLegend=R.isDirtyBox=!0,y(N,!0)&&R.redraw(),b(this,"afterUpdate")},l.prototype.colorizeItem=function(s,N){if(s.legendGroup[N?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var R=this.options,c=s.legendItem,E=s.legendLine,L=s.legendSymbol,et=this.itemHiddenStyle.color;R=N?R.itemStyle.color:et;var nt=N&&s.color||et,rt=s.options&&s.options.marker,G={fill:nt};c&&c.css({fill:R,color:R}),E&&E.attr({stroke:nt}),L&&(rt&&L.isMarker&&(G=s.pointAttribs(),N||(G.stroke=G.fill=et)),L.attr(G))}b(this,"afterColorizeItem",{item:s,visible:N})},l.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},l.prototype.positionItem=function(s){var N=this,R=this.options,c=R.symbolPadding,E=!R.rtl,L=s._legendItemPos;R=L[0],L=L[1];var et=s.checkbox,nt=s.legendGroup;nt&&nt.element&&(c={translateX:E?R:this.legendWidth-R-2*c-4,translateY:L},E=function(){b(N,"afterPositionItem",{item:s})},S(nt.translateY)?nt.animate(c,void 0,E):(nt.attr(c),E())),et&&(et.x=R,et.y=L)},l.prototype.destroyItem=function(s){var N=s.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(R){s[R]&&(s[R]=s[R].destroy())}),N&&h(s.checkbox)},l.prototype.destroy=function(){function s(N){this[N]&&(this[N]=this[N].destroy())}this.getAllItems().forEach(function(N){["legendItem","legendGroup"].forEach(s,N)}),"clipRect up down pager nav box title group".split(" ").forEach(s,this),this.display=null},l.prototype.positionCheckboxes=function(){var s=this.group&&this.group.alignAttr,N=this.clipHeight||this.legendHeight,R=this.titleHeight;if(s){var c=s.translateY;this.allItems.forEach(function(E){var L=E.checkbox;if(L){var et=c+R+L.y+(this.scrollOffset||0)+3;k(L,{left:s.translateX+E.checkboxOffset+L.x-20+"px",top:et+"px",display:this.proximate||et>c-6&&etrt?this.maxItemWidth:s.itemWidth,c&&this.itemX-R+N>rt&&(this.itemX=R,this.lastLineHeight&&(this.itemY+=et+this.lastLineHeight+L),this.lastLineHeight=0),this.lastItemY=et+this.itemY+L,this.lastLineHeight=Math.max(E,this.lastLineHeight),s._legendItemPos=[this.itemX,this.itemY],c?this.itemX+=N:(this.itemY+=et+E+L,this.lastLineHeight=E),this.offsetWidth=this.widthOption||Math.max((c?this.itemX-R-(s.checkbox?0:nt):N)+R,this.offsetWidth)},l.prototype.getAllItems=function(){var s=[];return this.chart.series.forEach(function(N){var R=N&&N.options;N&&y(R.showInLegend,S(R.linkedTo)?!1:void 0,!0)&&(s=s.concat(N.legendItems||(R.legendType==="point"?N.data:N)))}),b(this,"afterGetAllItems",{allItems:s}),s},l.prototype.getAlignment=function(){var s=this.options;return this.proximate?s.align.charAt(0)+"tv":s.floating?"":s.align.charAt(0)+s.verticalAlign.charAt(0)+s.layout.charAt(0)},l.prototype.adjustMargins=function(s,N){var R=this.chart,c=this.options,E=this.getAlignment();E&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(L,et){L.test(E)&&!S(s[et])&&(R[D[et]]=Math.max(R[D[et]],R.legend[(et+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][et]*c[et%2?"x":"y"]+y(c.margin,12)+N[et]+(R.titleOffset[et]||0)))})},l.prototype.proximatePositions=function(){var s=this.chart,N=[],R=this.options.align==="left";this.allItems.forEach(function(c){var E,L=R;if(c.yAxis){c.xAxis.options.reversed&&(L=!L),c.points&&(E=w(L?c.points:c.points.slice(0).reverse(),function(nt){return g(nt.plotY)})),L=this.itemMarginTop+c.legendItem.getBBox().height+this.itemMarginBottom;var et=c.yAxis.top-s.plotTop;c.visible?(E=E?E.plotY:c.yAxis.height,E+=et-.3*L):E=et+c.yAxis.height,N.push({target:E,size:L,item:c})}},this),C(N,s.plotHeight).forEach(function(c){c.item._legendItemPos&&(c.item._legendItemPos[1]=s.plotTop-s.spacing[0]+c.pos)})},l.prototype.render=function(){var s=this.chart,N=s.renderer,R=this.options,c=this.padding,E=this.getAllItems(),L=this.group,et=this.box;this.itemX=c,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=P(R.width,s.spacingBox.width-c);var nt=s.spacingBox.width-2*c-R.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(nt/=2),this.maxLegendWidth=this.widthOption||nt,L||(this.group=L=N.g("legend").addClass(R.className||"").attr({zIndex:7}).add(),this.contentGroup=N.g().attr({zIndex:1}).add(L),this.scrollGroup=N.g().add(this.contentGroup)),this.renderTitle(),m(E,function(G,ut){return(G.options&&G.options.legendIndex||0)-(ut.options&&ut.options.legendIndex||0)}),R.reversed&&E.reverse(),this.allItems=E,this.display=nt=!!E.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,E.forEach(this.renderItem,this),E.forEach(this.layoutItem,this),E=(this.widthOption||this.offsetWidth)+c;var rt=this.lastItemY+this.lastLineHeight+this.titleHeight;rt=this.handleOverflow(rt),rt+=c,et||(this.box=et=N.rect().addClass("highcharts-legend-box").attr({r:R.borderRadius}).add(L),et.isNew=!0),s.styledMode||et.attr({stroke:R.borderColor,"stroke-width":R.borderWidth||0,fill:R.backgroundColor||"none"}).shadow(R.shadow),0L&&G.enabled!==!1?(this.clipHeight=ct=Math.max(L-20-this.titleHeight-nt,0),this.currentPage=y(this.currentPage,1),this.fullHeight=s,st.forEach(function(q,at){var bt=q._legendItemPos[1],mt=Math.round(q.legendItem.getBBox().height),Ct=B.length;(!Ct||bt-B[Ct-1]>ct&&(U||bt)!==B[Ct-1])&&(B.push(U||bt),Ct++),q.pageIx=Ct-1,U&&(st[at-1].pageIx=Ct-1),at===st.length-1&&bt+mt-B[Ct-1]>ct&&bt!==U&&(B.push(bt),q.pageIx=Ct),bt!==U&&(U=bt)}),K||(K=N.clipRect=c.clipRect(0,nt,9999,0),N.contentGroup.clip(K)),ht(ct),J||(this.nav=J=c.g().attr({zIndex:1}).add(this.group),this.up=c.symbol("triangle",0,0,F,F).add(J),tt("upTracker").on("click",function(){N.scroll(-1,ut)}),this.pager=c.text("",15,10).addClass("highcharts-legend-navigation"),R.styledMode||this.pager.css(G.style),this.pager.add(J),this.down=c.symbol("triangle-down",0,0,F,F).add(J),tt("downTracker").on("click",function(){N.scroll(1,ut)})),N.scroll(0),s=L):J&&(ht(),this.nav=J.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),s},l.prototype.scroll=function(s,N){var R=this,c=this.chart,E=this.pages,L=E.length,et=this.clipHeight,nt=this.options.navigation,rt=this.pager,G=this.padding,ut=this.currentPage+s;ut>L&&(ut=L),0=Math.max(nn+le,xn.pos)&&ze<=Math.min(nn+le+ae.width,xn.pos+xn.len)||(pt.isInsidePlot=!1)}return!Wt.ignoreY&&pt.isInsidePlot&&(Xt=tn&&(Xt?tn.xAxis:tn.yAxis)||{pos:Ae,len:1/0},Wt=Wt.paneCoordinates?Xt.pos+Pt:Ae+Pt,Wt>=Math.max(an+Ae,Xt.pos)&&Wt<=Math.min(an+Ae+ae.height,Xt.pos+Xt.len)||(pt.isInsidePlot=!1)),tt(this,"afterIsInsidePlot",pt),pt.isInsidePlot},St.prototype.redraw=function(pt){tt(this,"beforeRedraw");var Pt=this.hasCartesianSeries?this.axes:this.colorAxis||[],Wt=this.series,Xt=this.pointer,ae=this.legend,le=this.userOptions.legend,Ae=this.renderer,ze=Ae.isHidden(),nn=[],an=this.isDirtyBox,tn=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),g(this.hasRendered?pt:!1,this),ze&&this.temporaryDisplay(),this.layOutTitles(),pt=Wt.length;pt--;){var xn=Wt[pt];if(xn.options.stacking||xn.options.centerInCategory){var un=!0;if(xn.isDirty){var se=!0;break}}}if(se)for(pt=Wt.length;pt--;)xn=Wt[pt],xn.options.stacking&&(xn.isDirty=!0);Wt.forEach(function(ne){ne.isDirty&&(ne.options.legendType==="point"?(typeof ne.updateTotals=="function"&&ne.updateTotals(),tn=!0):le&&(le.labelFormatter||le.labelFormat)&&(tn=!0)),ne.isDirtyData&&tt(ne,"updatedData")}),tn&&ae&&ae.options.enabled&&(ae.render(),this.isDirtyLegend=!1),un&&this.getStacks(),Pt.forEach(function(ne){ne.updateNames(),ne.setScale()}),this.getMargins(),Pt.forEach(function(ne){ne.isDirty&&(an=!0)}),Pt.forEach(function(ne){var te=ne.min+","+ne.max;ne.extKey!==te&&(ne.extKey=te,nn.push(function(){tt(ne,"afterSetExtremes",st(ne.eventArgs,ne.getExtremes())),delete ne.eventArgs})),(an||un)&&ne.redraw()}),an&&this.drawChartBox(),tt(this,"predraw"),Wt.forEach(function(ne){(an||ne.isDirty)&&ne.visible&&ne.redraw(),ne.isDirtyData=!1}),Xt&&Xt.reset(!0),Ae.draw(),tt(this,"redraw"),tt(this,"render"),ze&&this.temporaryDisplay(!0),nn.forEach(function(ne){ne.call()})},St.prototype.get=function(pt){function Pt(le){return le.id===pt||le.options&&le.options.id===pt}for(var Wt=this.series,Xt=ht(this.axes,Pt)||ht(this.series,Pt),ae=0;!Xt&&ae=an&&Xt<=tn||xn||!G(Xt))&&(un=!0),Wt[xn?"zoomX":"zoomY"]&&un&&(le=nn.zoom(ze.min,ze.max),nn.displayBtn&&(ae=!0))});var Ae=Pt.resetZoomButton;ae&&!Ae?Pt.showResetZoom():!ae&&K(Ae)&&(Pt.resetZoomButton=Ae.destroy()),le&&Pt.redraw(mt(Pt.options.chart.animation,pt&&pt.animation,100>Pt.pointCount))},St.prototype.pan=function(pt,Pt){var Wt=this,Xt=Wt.hoverPoints;Pt=typeof Pt=="object"?Pt:{enabled:Pt,type:"x"};var ae=Wt.options.chart,le=Wt.options.mapNavigation&&Wt.options.mapNavigation.enabled;ae&&ae.panning&&(ae.panning=Pt);var Ae=Pt.type,ze;tt(this,"pan",{originalEvent:pt},function(){Xt&&Xt.forEach(function(tn){tn.setState()});var nn=Wt.xAxis;Ae==="xy"?nn=nn.concat(Wt.yAxis):Ae==="y"&&(nn=Wt.yAxis);var an={};nn.forEach(function(tn){if(tn.options.panningEnabled&&!tn.options.isInternal){var xn=tn.horiz,un=pt[xn?"chartX":"chartY"];xn=xn?"mouseDownX":"mouseDownY";var se=Wt[xn],ne=tn.minPointOffset||0,te=tn.reversed&&!Wt.inverted||!tn.reversed&&Wt.inverted?-1:1,Rt=tn.getExtremes(),Bt=tn.toValue(se-un,!0)+ne*te,Ht=tn.toValue(se+tn.len-un,!0)-(ne*te||tn.isXAxis&&tn.pointRangePadding||0),zt=Ht=te&&Bt<=Ht&&(tn.setExtremes(se,Bt,!1,!1,{trigger:"pan"}),Wt.resetZoomButton||le||se===te||Bt===Ht||!Ae.match("y")||(Wt.showResetZoom(),tn.displayBtn=!1),ze=!0),an[xn]=un)}}),bt(an,function(tn,xn){Wt[xn]=tn}),ze&&Wt.redraw(!1),rt(Wt.container,{cursor:"move"})})},St}(),st(T.prototype,{callbacks:[],collectionsWithInit:{xAxis:[T.prototype.addAxis,[!0]],yAxis:[T.prototype.addAxis,[!1]],series:[T.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),T}),W(u,"Core/Legend/LegendSymbol.js",[u["Core/Utilities.js"]],function(T){var I=T.merge,Y=T.pick,X;return function(Z){Z.drawLineMarker=function(H){var _=this.options,j=H.symbolWidth,A=H.symbolHeight,D=A/2,C=this.chart.renderer,d=this.legendGroup;H=H.baseline-Math.round(.3*H.fontMetrics.b);var o={},k=_.marker;this.chart.styledMode||(o={"stroke-width":_.lineWidth||0},_.dashStyle&&(o.dashstyle=_.dashStyle)),this.legendLine=C.path([["M",0,H],["L",j,H]]).addClass("highcharts-graph").attr(o).add(d),k&&k.enabled!==!1&&j&&(_=Math.min(Y(k.radius,D),D),this.symbol.indexOf("url")===0&&(k=I(k,{width:A,height:A}),_=0),this.legendSymbol=j=C.symbol(this.symbol,j/2-_,H-_,2*_,2*_,k).addClass("highcharts-point").add(d),j.isMarker=!0)},Z.drawRectangle=function(H,_){var j=H.symbolHeight,A=H.options.squareSymbol;_.legendSymbol=this.chart.renderer.rect(A?(H.symbolWidth-j)/2:0,H.baseline-j+1,A?j:H.symbolWidth,j,Y(H.options.symbolRadius,j/2)).addClass("highcharts-point").attr({zIndex:3}).add(_.legendGroup)}}(X||(X={})),X}),W(u,"Core/Series/SeriesDefaults.js",[u["Core/Color/Palette.js"]],function(T){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:T.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:T.neutralColor20,lineColor:T.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var I=this.series.chart.numberFormatter;return typeof this.y!="number"?"":I(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),W(u,"Core/Series/Series.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/DefaultOptions.js"],u["Core/Foundation.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Color/Palette.js"],u["Core/Series/Point.js"],u["Core/Series/SeriesDefaults.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A,D,C){var d=T.animObject,o=T.setAnimation,k=I.defaultOptions,S=Y.registerEventOptions,h=X.hasTouch,w=X.svg,b=X.win,g=A.seriesTypes,p=C.addEvent,y=C.arrayMax,P=C.arrayMin,m=C.clamp,x=C.cleanRecursively,l=C.correctFloat,s=C.defined,N=C.erase,R=C.error,c=C.extend,E=C.find,L=C.fireEvent,et=C.getNestedProperty,nt=C.isArray,rt=C.isNumber,G=C.isString,ut=C.merge,F=C.objectEach,B=C.pick,st=C.removeEvent,ht=C.splat,tt=C.syncTimeout;return T=function(){function ct(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return ct.prototype.init=function(U,J){L(this,"init",{options:J});var K=this,q=U.series;this.eventsToUnbind=[],K.chart=U,K.options=K.setOptions(J),J=K.options,K.linkedSeries=[],K.bindAxes(),c(K,{name:J.name,state:"",visible:J.visible!==!1,selected:J.selected===!0}),S(this,J);var at=J.events;(at&&at.click||J.point&&J.point.events&&J.point.events.click||J.allowPointSelect)&&(U.runTrackerClick=!0),K.getColor(),K.getSymbol(),K.parallelArrays.forEach(function(mt){K[mt+"Data"]||(K[mt+"Data"]=[])}),K.isCartesian&&(U.hasCartesianSeries=!0);var bt;q.length&&(bt=q[q.length-1]),K._i=B(bt&&bt._i,-1)+1,K.opacity=K.options.opacity,U.orderSeries(this.insert(q)),J.dataSorting&&J.dataSorting.enabled?K.setDataSortingOptions():K.points||K.data||K.setData(J.data,!1),L(this,"afterInit")},ct.prototype.is=function(U){return g[U]&&this instanceof g[U]},ct.prototype.insert=function(U){var J=this.options.index,K;if(rt(J)){for(K=U.length;K--;)if(J>=B(U[K].options.index,U[K]._i)){U.splice(K+1,0,this);break}K===-1&&U.unshift(this),K+=1}else U.push(this);return B(K,U.length-1)},ct.prototype.bindAxes=function(){var U=this,J=U.options,K=U.chart,q;L(this,"bindAxes",null,function(){(U.axisTypes||[]).forEach(function(at){var bt=0;K[at].forEach(function(mt){q=mt.options,(J[at]===bt&&!q.isInternal||typeof J[at]!="undefined"&&J[at]===q.id||typeof J[at]=="undefined"&&q.index===0)&&(U.insert(mt.series),U[at]=mt,mt.isDirty=!0),q.isInternal||bt++}),U[at]||U.optionalAxis===at||R(18,!0,K)})}),L(this,"afterBindAxes")},ct.prototype.updateParallelArrays=function(U,J){var K=U.series,q=arguments,at=rt(J)?function(bt){var mt=bt==="y"&&K.toYData?K.toYData(U):U[bt];K[bt+"Data"][J]=mt}:function(bt){Array.prototype[J].apply(K[bt+"Data"],Array.prototype.slice.call(q,2))};K.parallelArrays.forEach(at)},ct.prototype.hasData=function(){return this.visible&&typeof this.dataMax!="undefined"&&typeof this.dataMin!="undefined"||this.visible&&this.yData&&0=this.cropStart?vt-this.cropStart:vt),!Ct&&rt(vt)&&at[vt]&&at[vt].touched&&(vt=void 0),vt},ct.prototype.updateData=function(U,J){var K=this.options,q=K.dataSorting,at=this.points,bt=[],mt=this.requireSorting,Ct=U.length===at.length,vt,Nt,Ft,Ot=!0;if(this.xIncrement=null,U.forEach(function(At,St){var pt=s(At)&&this.pointClass.prototype.optionsToObject.call({series:this},At)||{},Pt=pt.x;pt.id||rt(Pt)?(pt=this.findPointIndex(pt,Ft),pt===-1||typeof pt=="undefined"?bt.push(At):at[pt]&&At!==K.data[pt]?(at[pt].update(At,!1,null,!1),at[pt].touched=!0,mt&&(Ft=pt+1)):at[pt]&&(at[pt].touched=!0),(!Ct||St!==pt||q&&q.enabled||this.hasDerivedData)&&(vt=!0)):bt.push(At)},this),vt)for(U=at.length;U--;)(Nt=at[U])&&!Nt.touched&&Nt.remove&&Nt.remove(!1,J);else!Ct||q&&q.enabled?Ot=!1:(U.forEach(function(At,St){At!==at[St].y&&at[St].update&&at[St].update(At,!1,null,!1)}),bt.length=0);return at.forEach(function(At){At&&(At.touched=!1)}),Ot?(bt.forEach(function(At){this.addPoint(At,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0):!1},ct.prototype.setData=function(U,J,K,q){var at=this,bt=at.points,mt=bt&&bt.length||0,Ct=at.options,vt=at.chart,Nt=Ct.dataSorting,Ft=at.xAxis,Ot=Ct.turboThreshold,At=this.xData,St=this.yData,pt=at.pointArrayMap;pt=pt&&pt.length;var Pt=Ct.keys,Wt,Xt=0,ae=1,le=null;U=U||[];var Ae=U.length;if(J=B(J,!0),Nt&&Nt.enabled&&(U=this.sortData(U)),q!==!1&&Ae&&mt&&!at.cropped&&!at.hasGroupedData&&at.visible&&!at.isSeriesBoosting&&(Wt=this.updateData(U,K)),!Wt){if(at.xIncrement=null,at.colorCounter=0,this.parallelArrays.forEach(function(ze){at[ze+"Data"].length=0}),Ot&&Ae>Ot)if(le=at.getFirstValidPoint(U),rt(le))for(K=0;Kat?1:0}).forEach(function(at,bt){at.x=bt},this),J.linkedSeries&&J.linkedSeries.forEach(function(at){var bt=at.options,mt=bt.data;bt.dataSorting&&bt.dataSorting.enabled||!mt||(mt.forEach(function(Ct,vt){mt[vt]=q(at,Ct),U[vt]&&(mt[vt].x=U[vt].x,mt[vt].index=vt)}),at.setData(mt,!1))}),U},ct.prototype.getProcessedData=function(U){var J=this.xAxis,K=this.options,q=K.cropThreshold,at=U||this.getExtremesFromAll||K.getExtremesFromAll,bt=this.isCartesian;U=J&&J.val2lin,K=!(!J||!J.logarithmic);var mt=0,Ct=this.xData,vt=this.yData,Nt=this.requireSorting,Ft=!1,Ot=Ct.length;if(J){Ft=J.getExtremes();var At=Ft.min,St=Ft.max;Ft=J.categories&&!J.names.length}if(bt&&this.sorted&&!at&&(!q||Ot>q||this.forceCrop)){if(Ct[Ot-1]St)Ct=[],vt=[];else if(this.yData&&(Ct[0]St)){var pt=this.cropData(this.xData,this.yData,At,St);Ct=pt.xData,vt=pt.yData,mt=pt.start,pt=!0}}for(q=Ct.length||1;--q;)if(J=K?U(Ct[q])-U(Ct[q-1]):Ct[q]-Ct[q-1],0J&&Nt&&!Ft&&(R(15,!1,this.chart),Nt=!1);return{xData:Ct,yData:vt,cropped:pt,cropStart:mt,closestPointRange:Pt}},ct.prototype.processData=function(U){var J=this.xAxis;if(this.isCartesian&&!this.isDirty&&!J.isDirty&&!this.yAxis.isDirty&&!U)return!1;U=this.getProcessedData(),this.cropped=U.cropped,this.cropStart=U.cropStart,this.processedXData=U.xData,this.processedYData=U.yData,this.closestPointRange=this.basePointRange=U.closestPointRange},ct.prototype.cropData=function(U,J,K,q,at){var bt=U.length,mt,Ct=0,vt=bt;for(at=B(at,this.cropShoulder),mt=0;mt=K){Ct=Math.max(0,mt-at);break}for(K=mt;Kq){vt=K+at;break}return{xData:U.slice(Ct,vt),yData:J.slice(Ct,vt),start:Ct,end:vt}},ct.prototype.generatePoints=function(){var U=this.options,J=U.data,K=this.processedXData,q=this.processedYData,at=this.pointClass,bt=K.length,mt=this.cropStart||0,Ct=this.hasGroupedData,vt=U.keys,Nt=[];U=U.dataGrouping&&U.dataGrouping.groupAll?mt:0;var Ft,Ot,At=this.data;if(!At&&!Ct){var St=[];St.length=J.length,At=this.data=St}for(vt&&Ct&&(this.options.keys=!1),Ot=0;Ot=vt&&(at[Ct-mt]||St)<=Nt,pt&&St)if(pt=At.length)for(;pt--;)rt(At[pt])&&(bt[Ft++]=At[pt]);else bt[Ft++]=At}return U={dataMin:P(bt),dataMax:y(bt)},L(this,"afterGetExtremes",{dataExtremes:U}),U},ct.prototype.applyExtremes=function(){var U=this.getExtremes();return this.dataMin=U.dataMin,this.dataMax=U.dataMax,U},ct.prototype.getFirstValidPoint=function(U){for(var J=U.length,K=0,q=null;q===null&&K=nn&&(nn=null),Xt.total=Xt.stackTotal=le.total,Xt.percentage=le.total&&Xt.y/le.total*100,Xt.stackY=ze,this.irregularWidths||le.setOffset(this.pointXOffset||0,this.barW||0)),Xt.yBottom=s(nn)?m(bt.translate(nn,0,1,0,1),-1e5,1e5):null,vt&&(ze=this.modifyValue(ze,Xt)),Xt.plotY=void 0,rt(ze)&&(le=bt.translate(ze,!1,!0,!1,!0),typeof le!="undefined"&&(Xt.plotY=m(le,-1e5,1e5))),Xt.isInside=this.isPointInside(Xt),Xt.clientX=Ft?l(K.translate(ae,0,0,0,1,Nt)):Pt,Xt.negative=Xt[St]<(U[St+"Threshold"]||Ot||0),Xt.category=q&&typeof q[Xt.x]!="undefined"?q[Xt.x]:Xt.x,!Xt.isNull&&Xt.visible!==!1){typeof xn!="undefined"&&(Wt=Math.min(Wt,Math.abs(Pt-xn)));var xn=Pt}Xt.zone=this.zones.length&&Xt.getZone(),!Xt.graphic&&this.group&&at&&(Xt.isNew=!0)}this.closestPointRangePx=Wt,L(this,"afterTranslate")},ct.prototype.getValidPoints=function(U,J,K){var q=this.chart;return(U||this.points||[]).filter(function(at){return J&&!q.isInsidePlot(at.plotX,at.plotY,{inverted:q.inverted})?!1:at.visible!==!1&&(K||!at.isNull)})},ct.prototype.getClipBox=function(U,J){var K=this.options,q=this.chart,at=q.inverted,bt=this.xAxis,mt=bt&&this.yAxis,Ct=q.options.chart.scrollablePlotArea||{};return U&&K.clip===!1&&mt?U=at?{y:-q.chartWidth+mt.len+mt.pos,height:q.chartWidth,width:q.chartHeight,x:-q.chartHeight+bt.len+bt.pos}:{y:-mt.pos,height:q.chartHeight,width:q.chartWidth,x:-bt.pos}:(U=this.clipBox||q.clipBox,J&&(U.width=q.plotSizeX,U.x=(q.scrollablePixelsX||0)*(Ct.scrollPositionX||0))),J?{width:U.width,x:U.x}:U},ct.prototype.getSharedClipKey=function(U){if(this.sharedClipKey)return this.sharedClipKey;var J=[U&&U.duration,U&&U.easing,U&&U.defer,this.getClipBox(U).height,this.options.xAxis,this.options.yAxis].join();return(this.options.clip!==!1||U)&&(this.sharedClipKey=J),J},ct.prototype.setClip=function(U){var J=this.chart,K=this.options,q=J.renderer,at=J.inverted,bt=this.clipBox,mt=this.getClipBox(U),Ct=this.getSharedClipKey(U),vt=J.sharedClips[Ct],Nt=J.sharedClips[Ct+"m"];U&&(mt.width=0,at&&(mt.x=J.plotHeight+(K.clip!==!1?0:J.plotTop))),vt?J.hasLoaded||vt.attr(mt):(U&&(J.sharedClips[Ct+"m"]=Nt=q.clipRect(at?(J.plotSizeX||0)+99:-99,at?-J.plotLeft:-J.plotTop,99,at?J.chartWidth:J.chartHeight)),J.sharedClips[Ct]=vt=q.clipRect(mt),vt.count={length:0}),U&&!vt.count[this.index]&&(vt.count[this.index]=!0,vt.count.length+=1),(K.clip!==!1||U)&&(this.group.clip(U||bt?vt:J.clipRect),this.markerGroup.clip(Nt)),U||(vt.count[this.index]&&(delete vt.count[this.index],--vt.count.length),vt.count.length===0&&(bt||(J.sharedClips[Ct]=vt.destroy()),Nt&&(J.sharedClips[Ct+"m"]=Nt.destroy())))},ct.prototype.animate=function(U){var J=this.chart,K=d(this.options.animation),q=this.sharedClipKey;if(U)this.setClip(K);else if(q){U=J.sharedClips[q],q=J.sharedClips[q+"m"];var at=this.getClipBox(K,!0);U&&U.animate(at,K),q&&q.animate({width:at.width+99,x:at.x-(J.inverted?0:99)},K)}},ct.prototype.afterAnimate=function(){this.setClip(),L(this,"afterAnimate"),this.finishedAnimating=!0},ct.prototype.drawPoints=function(){var U=this.points,J=this.chart,K=this.options.marker,q=this[this.specialGroup]||this.markerGroup,at=this.xAxis,bt=B(K.enabled,!at||at.isRadial?!0:null,this.closestPointRangePx>=K.enabledThreshold*K.radius),mt,Ct;if(K.enabled!==!1||this._hasPointMarkers)for(mt=0;mtze.max,U.resetZones&&Ot===0&&(Ot=void 0)}),this.clips=at}else U.visible&&(bt&&bt.show(!0),mt&&mt.show(!0))},ct.prototype.invertGroups=function(U){function J(){["group","markerGroup"].forEach(function(at){K[at]&&(q.renderer.isVML&&K[at].attr({width:K.yAxis.len,height:K.xAxis.len}),K[at].width=K.yAxis.len,K[at].height=K.xAxis.len,K[at].invert(K.isRadialSeries?!1:U))})}var K=this,q=K.chart;K.xAxis&&(K.eventsToUnbind.push(p(q,"resize",J)),J(),K.invertGroups=J)},ct.prototype.plotGroup=function(U,J,K,q,at){var bt=this[U],mt=!bt;return K={visibility:K,zIndex:q||.1},typeof this.opacity=="undefined"||this.chart.styledMode||this.state==="inactive"||(K.opacity=this.opacity),mt&&(this[U]=bt=this.chart.renderer.g().add(at)),bt.addClass("highcharts-"+J+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(s(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(bt.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),bt.attr(K)[mt?"attr":"animate"](this.getPlotBox()),bt},ct.prototype.getPlotBox=function(){var U=this.chart,J=this.xAxis,K=this.yAxis;return U.inverted&&(J=K,K=this.xAxis),{translateX:J?J.left:U.plotLeft,translateY:K?K.top:U.plotTop,scaleX:1,scaleY:1}},ct.prototype.removeEvents=function(U){U||st(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(J){J()}),this.eventsToUnbind.length=0)},ct.prototype.render=function(){var U=this,J=U.chart,K=U.options,q=d(K.animation),at=U.visible?"inherit":"hidden",bt=K.zIndex,mt=U.hasRendered,Ct=J.seriesGroup,vt=J.inverted,Nt=!U.finishedAnimating&&J.renderer.isSVG&&q.duration;L(this,"render");var Ft=U.plotGroup("group","series",at,bt,Ct);U.markerGroup=U.plotGroup("markerGroup","markers",at,bt,Ct),Nt&&U.animate&&U.animate(!0),Ft.inverted=B(U.invertible,U.isCartesian)?vt:!1,U.drawGraph&&(U.drawGraph(),U.applyZones()),U.visible&&U.drawPoints(),U.drawDataLabels&&U.drawDataLabels(),U.redrawPoints&&U.redrawPoints(),U.drawTracker&&U.options.enableMouseTracking!==!1&&U.drawTracker(),U.invertGroups(vt),K.clip===!1||U.sharedClipKey||mt||Ft.clip(J.clipRect),Nt&&U.animate&&U.animate(),mt||(Nt&&q.defer&&(Nt+=q.defer),U.animationTimeout=tt(function(){U.afterAnimate()},Nt||0)),U.isDirty=!1,U.hasRendered=!0,L(U,"afterRender")},ct.prototype.redraw=function(){var U=this.chart,J=this.isDirty||this.isDirtyData,K=this.group,q=this.xAxis,at=this.yAxis;K&&(U.inverted&&K.attr({width:U.plotWidth,height:U.plotHeight}),K.animate({translateX:B(q&&q.left,U.plotLeft),translateY:B(at&&at.top,U.plotTop)})),this.translate(),this.render(),J&&delete this.kdTree},ct.prototype.searchPoint=function(U,J){var K=this.xAxis,q=this.yAxis,at=this.chart.inverted;return this.searchKDTree({clientX:at?K.len-U.chartY+K.pos:U.chartX-K.pos,plotY:at?q.len-U.chartX+q.pos:U.chartY-q.pos},J,U)},ct.prototype.buildKDTree=function(U){function J(at,bt,mt){var Ct=at&&at.length;if(Ct){var vt=K.kdAxisArray[bt%mt];return at.sort(function(Nt,Ft){return Nt[vt]-Ft[vt]}),Ct=Math.floor(Ct/2),{point:at[Ct],left:J(at.slice(0,Ct),bt+1,mt),right:J(at.slice(Ct+1),bt+1,mt)}}}this.buildingKdTree=!0;var K=this,q=-1St?"left":"right",Pt=0>St?"right":"left",Nt[Wt]&&(Wt=q(vt,Nt[Wt],Ft+1,Ot),pt=Wt[Ct]St;)pt--;this.updateParallelArrays(At,"splice",pt,0,0),this.updateParallelArrays(At,pt),vt&&At.name&&(vt[St]=At.name),Nt.splice(pt,0,U),Ot&&(this.data.splice(pt,0,null),this.processData()),bt.legendType==="point"&&this.generatePoints(),K&&(mt[0]&&mt[0].remove?mt[0].remove(!1):(mt.shift(),this.updateParallelArrays(At,"shift"),Nt.shift())),at!==!1&&L(this,"addPoint",{point:At}),this.isDirtyData=this.isDirty=!0,J&&Ct.redraw(q)},ct.prototype.removePoint=function(U,J,K){var q=this,at=q.data,bt=at[U],mt=q.points,Ct=q.chart,vt=function(){mt&&mt.length===at.length&&mt.splice(U,1),at.splice(U,1),q.options.data.splice(U,1),q.updateParallelArrays(bt||{series:q},"splice",U,1),bt&&bt.destroy(),q.isDirty=!0,q.isDirtyData=!0,J&&Ct.redraw()};o(K,Ct),J=B(J,!0),bt?bt.firePointEvent("remove",null,vt):vt()},ct.prototype.remove=function(U,J,K,q){function at(){bt.destroy(q),mt.isDirtyLegend=mt.isDirtyBox=!0,mt.linkSeries(),B(U,!0)&&mt.redraw(J)}var bt=this,mt=bt.chart;K!==!1?L(bt,"remove",null,at):at()},ct.prototype.update=function(U,J){U=x(U,this.userOptions),L(this,"update",{options:U});var K=this,q=K.chart,at=K.userOptions,bt=K.initialType||K.type,mt=q.options.plotOptions,Ct=g[bt].prototype,vt=K.finishedAnimating&&{animation:!1},Nt={},Ft,Ot=["eventOptions","navigatorSeries","baseSeries"],At=U.type||at.type||q.options.chart.type,St=!(this.hasDerivedData||At&&At!==this.type||typeof U.pointStart!="undefined"||typeof U.pointInterval!="undefined"||typeof U.relativeXValue!="undefined"||K.hasOptionChanged("dataGrouping")||K.hasOptionChanged("pointStart")||K.hasOptionChanged("pointInterval")||K.hasOptionChanged("pointIntervalUnit")||K.hasOptionChanged("keys"));if(At=At||bt,St&&(Ot.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),U.visible!==!1&&Ot.push("area","graph"),K.parallelArrays.forEach(function(Pt){Ot.push(Pt+"Data")}),U.data&&(U.dataSorting&&c(K.options.dataSorting,U.dataSorting),this.setData(U.data,!1))),U=ut(at,vt,{index:typeof at.index=="undefined"?K.index:at.index,pointStart:B(mt&&mt.series&&mt.series.pointStart,at.pointStart,K.xData[0])},!St&&{data:K.options.data},U),St&&U.data&&(U.data=K.options.data),Ot=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(Ot),Ot.forEach(function(Pt){Ot[Pt]=K[Pt],delete K[Pt]}),mt=!1,g[At]){if(mt=At!==K.type,K.remove(!1,!1,!1,!0),mt)if(Object.setPrototypeOf)Object.setPrototypeOf(K,g[At].prototype);else{vt=Object.hasOwnProperty.call(K,"hcEvents")&&K.hcEvents;for(Ft in Ct)K[Ft]=void 0;c(K,g[At].prototype),vt?K.hcEvents=vt:delete K.hcEvents}}else R(17,!0,q,{missingModuleFor:At});if(Ot.forEach(function(Pt){K[Pt]=Ot[Pt]}),K.init(q,U),St&&this.points){var pt=K.options;pt.visible===!1?(Nt.graphic=1,Nt.dataLabel=1):K._hasPointLabels||(U=pt.marker,Ct=pt.dataLabels,!U||U.enabled!==!1&&(at.marker&&at.marker.symbol)===U.symbol||(Nt.graphic=1),Ct&&Ct.enabled===!1&&(Nt.dataLabel=1)),this.points.forEach(function(Pt){Pt&&Pt.series&&(Pt.resolveColor(),Object.keys(Nt).length&&Pt.destroyElements(Nt),pt.showInLegend===!1&&Pt.legendItem&&q.legend.destroyItem(Pt))},this)}K.initialType=bt,q.linkSeries(),mt&&K.linkedSeries.length&&(K.isDirtyData=!0),L(this,"afterUpdate"),B(J,!0)&&q.redraw(St?void 0:!1)},ct.prototype.setName=function(U){this.name=this.options.name=this.userOptions.name=U,this.chart.isDirtyLegend=!0},ct.prototype.hasOptionChanged=function(U){var J=this.options[U],K=this.chart.options.plotOptions,q=this.userOptions[U];return q?J!==q:J!==B(K&&K[this.type]&&K[this.type][U],K&&K.series&&K.series[U],J)},ct.prototype.onMouseOver=function(){var U=this.chart,J=U.hoverSeries;U.pointer.setHoverChartIndex(),J&&J!==this&&J.onMouseOut(),this.options.events.mouseOver&&L(this,"mouseOver"),this.setState("hover"),U.hoverSeries=this},ct.prototype.onMouseOut=function(){var U=this.options,J=this.chart,K=J.tooltip,q=J.hoverPoint;J.hoverSeries=null,q&&q.onMouseOut(),this&&U.events.mouseOut&&L(this,"mouseOut"),!K||this.stickyTracking||K.shared&&!this.noSharedTooltip||K.hide(),J.series.forEach(function(at){at.setState("",!0)})},ct.prototype.setState=function(U,J){var K=this,q=K.options,at=K.graph,bt=q.inactiveOtherPoints,mt=q.states,Ct=B(mt[U||"normal"]&&mt[U||"normal"].animation,K.chart.options.chart.animation),vt=q.lineWidth,Nt=0,Ft=q.opacity;if(U=U||"",K.state!==U&&([K.group,K.markerGroup,K.dataLabelsGroup].forEach(function(Ot){Ot&&(K.state&&Ot.removeClass("highcharts-series-"+K.state),U&&Ot.addClass("highcharts-series-"+U))}),K.state=U,!K.chart.styledMode)){if(mt[U]&&mt[U].enabled===!1)return;if(U&&(vt=mt[U].lineWidth||vt+(mt[U].lineWidthPlus||0),Ft=B(mt[U].opacity,Ft)),at&&!at.dashstyle)for(q={"stroke-width":vt},at.animate(q,Ct);K["zone-graph-"+Nt];)K["zone-graph-"+Nt].animate(q,Ct),Nt+=1;bt||[K.group,K.markerGroup,K.dataLabelsGroup,K.labelBySeries].forEach(function(Ot){Ot&&Ot.animate({opacity:Ft},Ct)})}J&&bt&&K.points&&K.setAllPointsToState(U||void 0)},ct.prototype.setAllPointsToState=function(U){this.points.forEach(function(J){J.setState&&J.setState(U)})},ct.prototype.setVisible=function(U,J){var K=this,q=K.chart,at=K.legendItem,bt=q.options.chart.ignoreHiddenSeries,mt=K.visible,Ct=(K.visible=U=K.options.visible=K.userOptions.visible=typeof U=="undefined"?!mt:U)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(vt){K[vt]&&K[vt][Ct]()}),(q.hoverSeries===K||(q.hoverPoint&&q.hoverPoint.series)===K)&&K.onMouseOut(),at&&q.legend.colorizeItem(K,U),K.isDirty=!0,K.options.stacking&&q.series.forEach(function(vt){vt.options.stacking&&vt.visible&&(vt.isDirty=!0)}),K.linkedSeries.forEach(function(vt){vt.setVisible(U,!1)}),bt&&(q.isDirtyBox=!0),L(K,Ct),J!==!1&&q.redraw()},ct.prototype.show=function(){this.setVisible(!0)},ct.prototype.hide=function(){this.setVisible(!1)},ct.prototype.select=function(U){this.selected=U=this.options.selected=typeof U=="undefined"?!this.selected:U,this.checkbox&&(this.checkbox.checked=U),L(this,U?"select":"unselect")},ct.prototype.shouldShowTooltip=function(U,J,K){return K===void 0&&(K={}),K.series=this,K.visiblePlotOnly=!0,this.chart.isInsidePlot(U,J,K)},ct.defaultOptions=j,ct}(),c(T.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:Z.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:_,requireSorting:!0,sorted:!0}),A.series=T,T}),W(u,"Extensions/ScrollablePlotArea.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/Axis.js"],u["Core/Chart/Chart.js"],u["Core/Series/Series.js"],u["Core/Renderer/RendererRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H){var _=T.stop,j=H.addEvent,A=H.createElement,D=H.merge,C=H.pick;j(Y,"afterSetChartSize",function(d){var o=this.options.chart.scrollablePlotArea,k=o&&o.minWidth;if(o=o&&o.minHeight,!this.renderer.forExport){if(k){if(this.scrollablePixelsX=k=Math.max(0,k-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=D(this.plotBox),this.plotBox.width=this.plotWidth+=k,this.inverted?this.clipBox.height+=k:this.clipBox.width+=k;var S={1:{name:"right",value:k}}}}else o&&(this.scrollablePixelsY=k=Math.max(0,o-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=D(this.plotBox),this.plotBox.height=this.plotHeight+=k,this.inverted?this.clipBox.width+=k:this.clipBox.height+=k,S={2:{name:"bottom",value:k}});S&&!d.skipAxes&&this.axes.forEach(function(h){S[h.side]?h.getPlotLinePath=function(){var w=S[h.side].name,b=this[w];this[w]=b-S[h.side].value;var g=I.prototype.getPlotLinePath.apply(this,arguments);return this[w]=b,g}:(h.setAxisSize(),h.setAxisTranslation())})}}),j(Y,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),Y.prototype.setUpScrolling=function(){var d=this,o={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(o.overflowX="auto"),this.scrollablePixelsY&&(o.overflowY="auto"),this.scrollingParent=A("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=A("div",{className:"highcharts-scrolling"},o,this.scrollingParent),j(this.scrollingContainer,"scroll",function(){d.pointer&&delete d.pointer.chartPosition}),this.innerContainer=A("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},Y.prototype.moveFixedElements=function(){var d=this.container,o=this.fixedRenderer,k=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),S;this.scrollablePixelsX&&!this.inverted?S=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?S=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(S=".highcharts-yaxis"),S&&k.push(S+":not(.highcharts-radial-axis)",S+"-labels:not(.highcharts-radial-axis-labels)"),k.forEach(function(h){[].forEach.call(d.querySelectorAll(h),function(w){(w.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(w),w.style.pointerEvents="auto"})})},Y.prototype.applyFixed=function(){var d=!this.fixedDiv,o=this.options.chart,k=o.scrollablePlotArea,S=Z.getRendererType();d?(this.fixedDiv=A("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(o.style&&o.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=o=new S(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=o.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":C(k.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),j(this,"afterShowResetZoom",this.moveFixedElements),j(this,"afterDrilldown",this.moveFixedElements),j(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||d)&&(this.scrollableDirty=!1,this.moveFixedElements()),o=this.chartWidth+(this.scrollablePixelsX||0),S=this.chartHeight+(this.scrollablePixelsY||0),_(this.container),this.container.style.width=o+"px",this.container.style.height=S+"px",this.renderer.boxWrapper.attr({width:o,height:S,viewBox:[0,0,o,S].join(" ")}),this.chartBackground.attr({width:o,height:S}),this.scrollingContainer.style.height=this.chartHeight+"px",d&&(k.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*k.scrollPositionX),k.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*k.scrollPositionY)),S=this.axisOffset,d=this.plotTop-S[0]-1,k=this.plotLeft-S[3]-1,o=this.plotTop+this.plotHeight+S[2]+1,S=this.plotLeft+this.plotWidth+S[1]+1;var h=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),w=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);d=this.scrollablePixelsX?[["M",0,d],["L",this.plotLeft-1,d],["L",this.plotLeft-1,o],["L",0,o],["Z"],["M",h,d],["L",this.chartWidth,d],["L",this.chartWidth,o],["L",h,o],["Z"]]:this.scrollablePixelsY?[["M",k,0],["L",k,this.plotTop-1],["L",S,this.plotTop-1],["L",S,0],["Z"],["M",k,w],["L",k,this.chartHeight],["L",S,this.chartHeight],["L",S,w],["Z"]]:[["M",0,0]],this.redrawTrigger!=="adjustHeight"&&this.scrollableMask.attr({d})},j(I,"afterInit",function(){this.chart.scrollableDirty=!0}),j(X,"show",function(){this.chart.scrollableDirty=!0})}),W(u,"Core/Axis/StackingAxis.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Axis/Axis.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=T.getDeferredAnimation,Z=Y.addEvent,H=Y.destroyObjectProperties,_=Y.fireEvent,j=Y.isNumber,A=Y.objectEach,D;return function(C){function d(){var h=this.stacking;if(h){var w=h.stacks;A(w,function(b,g){H(b),w[g]=null}),h&&h.stackTotalGroup&&h.stackTotalGroup.destroy()}}function o(){this.stacking||(this.stacking=new S(this))}var k=[];C.compose=function(h){return k.indexOf(h)===-1&&(k.push(h),Z(h,"init",o),Z(h,"destroy",d)),h};var S=function(){function h(w){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=w}return h.prototype.buildStacks=function(){var w=this.axis,b=w.series,g=w.options.reversedStacks,p=b.length,y;if(!w.isXAxis){for(this.usePercentage=!1,y=p;y--;){var P=b[g?y:p-y-1];P.setStackedPoints(),P.setGroupedPoints()}for(y=0;yh&&C.shadow)),b&&(b.startX=d.xMap,b.isArea=d.isArea)})},A.prototype.getGraphPath=function(D,C,d){var o=this,k=o.options,S=[],h=[],w,b=k.step;D=D||o.points;var g=D.reversed;return g&&D.reverse(),(b={right:1,center:2}[b]||b&&3)&&g&&(b=4-b),D=this.getValidPoints(D,!1,!(k.connectNulls&&!C&&!d)),D.forEach(function(p,y){var P=p.plotX,m=p.plotY,x=D[y-1];(p.leftCliff||x&&x.rightCliff)&&!d&&(w=!0),p.isNull&&!H(C)&&0A&&b>o?(b=Math.max(A,o),g=2*o-b):bC&&g>o?(g=Math.max(C,o),b=2*o-g):g=Math.abs(s)&&.5l.closestPointRange*l.xAxis.transA;R=l.borderWidth=y(N.borderWidth,R?0:1);var c=l.xAxis,E=l.yAxis,L=N.threshold,et=l.translatedThreshold=E.getThreshold(L),nt=y(N.minPointLength,5),rt=l.getColumnMetrics(),G=rt.width,ut=l.pointXOffset=rt.offset,F=l.dataMin,B=l.dataMax,st=l.barW=Math.max(G,1+2*R);s.inverted&&(et-=.5),N.pointPadding&&(st=Math.ceil(st)),H.prototype.translate.apply(l),l.points.forEach(function(ht){var tt=y(ht.yBottom,et),ct=999+Math.abs(tt),U=ht.plotX||0;ct=o(ht.plotY,-ct,E.len+ct);var J=Math.min(ct,tt),K=Math.max(ct,tt)-J,q=G,at=U+ut,bt=st;nt&&Math.abs(K)nt?tt-nt:et-(U?nt:0)),S(ht.options.pointWidth)&&(q=bt=Math.ceil(ht.options.pointWidth),at-=Math.round((q-G)/2)),N.centerInCategory&&(at=l.adjustForMissingColumns(at,q,ht,rt)),ht.barX=at,ht.pointWidth=q,ht.tooltipPos=s.inverted?[o(E.len+E.pos-s.plotLeft-ct,E.pos-s.plotLeft,E.len+E.pos-s.plotLeft),c.len+c.pos-s.plotTop-at-bt/2,K]:[c.left-s.plotLeft+at+bt/2,o(ct+E.pos-s.plotTop,E.pos-s.plotTop,E.len+E.pos-s.plotTop),K],ht.shapeType=l.pointClass.prototype.shapeType||"rect",ht.shapeArgs=l.crispCol.apply(l,ht.isNull?[at,et,bt,0]:[at,J,bt,K])})},x.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},x.prototype.pointAttribs=function(l,s){var N=this.options,R=this.pointAttrToOptions||{},c=R.stroke||"borderColor",E=R["stroke-width"]||"borderWidth",L=l&&l.color||this.color,et=l&&l[c]||N[c]||L;R=l&&l.options.dashStyle||N.dashStyle;var nt=l&&l[E]||N[E]||this[E]||0,rt=y(l&&l.opacity,N.opacity,1);if(l&&this.zones.length){var G=l.getZone();L=l.options.color||G&&(G.color||l.nonZonedColor)||this.color,G&&(et=G.borderColor||et,R=G.dashStyle||R,nt=G.borderWidth||nt)}return s&&l&&(l=p(N.states[s],l.options.states&&l.options.states[s]||{}),s=l.brightness,L=l.color||typeof s!="undefined"&&C(L).brighten(l.brightness).get()||L,et=l[c]||et,nt=l[E]||nt,R=l.dashStyle||R,rt=y(l.opacity,rt)),c={fill:L,stroke:et,"stroke-width":nt,opacity:rt},R&&(c.dashstyle=R),c},x.prototype.drawPoints=function(){var l=this,s=this.chart,N=l.options,R=s.renderer,c=N.animationLimit||250,E;l.points.forEach(function(L){var et=L.graphic,nt=!!et,rt=et&&s.pointCountst,F==="left"?nt.y-=st?G.height:0:F==="center"?(nt.x-=G.width/2,nt.y-=G.height/2):F==="right"&&(nt.x-=G.width,nt.y-=st?0:G.height),l.placed=!0,l.alignAttr=nt):(st(N),l.align(s,void 0,N),nt=l.alignAttr),ht&&0<=N.height?this.justifyDataLabel(l,s,nt,G,N,R):o(s.crop,!0)&&(tt=E.isInsidePlot(nt.x,nt.y,{paneCoordinates:!0,series:c})&&E.isInsidePlot(nt.x+G.width,nt.y+G.height,{paneCoordinates:!0,series:c})),s.shape&&!ut&&l[R?"attr":"animate"]({anchorX:L?E.plotWidth-x.plotY:x.plotX,anchorY:L?E.plotHeight-x.plotX:x.plotY})}R&&et&&(l.placed=!1),tt||et&&!ht||(l.hide(!0),l.placed=!1)}function b(x,l){var s=l.filter;return s?(l=s.operator,x=x[s.property],s=s.value,l===">"&&x>s||l==="<"&&x="&&x>=s||l==="<="&&x<=s||l==="=="&&x==s||l==="==="&&x===s):!0}function g(){var x=this,l=x.chart,s=x.options,N=x.points,R=x.hasRendered||0,c=l.renderer,E=s.dataLabels,L,et=E.animation;if(et=E.defer?Z(l,et,x):{defer:0,duration:0},E=y(y(l.options.plotOptions&&l.options.plotOptions.series&&l.options.plotOptions.series.dataLabels,l.options.plotOptions&&l.options.plotOptions[x.type]&&l.options.plotOptions[x.type].dataLabels),E),A(this,"drawDataLabels"),D(E)||E.enabled||x._hasPointLabels){var nt=x.plotGroup("dataLabelsGroup","data-labels",R?"inherit":"hidden",E.zIndex||6);nt.attr({opacity:+R}),!R&&(R=x.dataLabelsGroup)&&(x.visible&&nt.show(!0),R[s.animation?"animate":"attr"]({opacity:1},et)),N.forEach(function(rt){L=k(y(E,rt.dlOptions||rt.options&&rt.options.dataLabels)),L.forEach(function(G,ut){var F=G.enabled&&(!rt.isNull||rt.dataLabelOnNull)&&b(rt,G),B=rt.connectors?rt.connectors[ut]:rt.connector,st=rt.dataLabels?rt.dataLabels[ut]:rt.dataLabel,ht=o(G.distance,rt.labelDistance),tt=!st;if(F){var ct=rt.getLabelConfig(),U=o(G[rt.formatPrefix+"Format"],G.format);ct=_(U)?H(U,ct,l):(G[rt.formatPrefix+"Formatter"]||G.formatter).call(ct,G),U=G.style;var J=G.rotation;l.styledMode||(U.color=o(G.color,U.color,x.color,Y.neutralColor100),U.color==="contrast"?(rt.contrastColor=c.getContrast(rt.color||x.color),U.color=!_(ht)&&G.inside||0>ht||s.stacking?rt.contrastColor:Y.neutralColor100):delete rt.contrastColor,s.cursor&&(U.cursor=s.cursor));var K={r:G.borderRadius||0,rotation:J,padding:G.padding,zIndex:1};l.styledMode||(K.fill=G.backgroundColor,K.stroke=G.borderColor,K["stroke-width"]=G.borderWidth),d(K,function(q,at){typeof q=="undefined"&&delete K[at]})}!st||F&&_(ct)?F&&_(ct)&&(st?K.text=ct:(rt.dataLabels=rt.dataLabels||[],st=rt.dataLabels[ut]=J?c.text(ct,0,-9999,G.useHTML).addClass("highcharts-data-label"):c.label(ct,0,-9999,G.shape,null,null,G.useHTML,null,"data-label"),ut||(rt.dataLabel=st),st.addClass(" highcharts-data-label-color-"+rt.colorIndex+" "+(G.className||"")+(G.useHTML?" highcharts-tracker":""))),st.options=G,st.attr(K),l.styledMode||st.css(U).shadow(G.shadow),st.added||st.add(nt),G.textPath&&!G.useHTML&&(st.setTextPath(rt.getDataLabelPath&&rt.getDataLabelPath(st)||rt.graphic,G.textPath),rt.dataLabelPath&&!G.textPath.enabled&&(rt.dataLabelPath=rt.dataLabelPath.destroy())),x.alignDataLabel(rt,st,G,null,tt)):(rt.dataLabel=rt.dataLabel&&rt.dataLabel.destroy(),rt.dataLabels&&(rt.dataLabels.length===1?delete rt.dataLabels:delete rt.dataLabels[ut]),ut||delete rt.dataLabel,B&&(rt.connector=rt.connector.destroy(),rt.connectors&&(rt.connectors.length===1?delete rt.connectors:delete rt.connectors[ut])))})})}A(this,"afterDrawDataLabels")}function p(x,l,s,N,R,c){var E=this.chart,L=l.align,et=l.verticalAlign,nt=x.box?0:x.padding||0,rt=l.x;rt=rt===void 0?0:rt;var G=l.y;G=G===void 0?0:G;var ut=(s.x||0)+nt;if(0>ut){L==="right"&&0<=rt?(l.align="left",l.inside=!0):rt-=ut;var F=!0}return ut=(s.x||0)+N.width-nt,ut>E.plotWidth&&(L==="left"&&0>=rt?(l.align="right",l.inside=!0):rt+=E.plotWidth-ut,F=!0),ut=s.y+nt,0>ut&&(et==="bottom"&&0<=G?(l.verticalAlign="top",l.inside=!0):G-=ut,F=!0),ut=(s.y||0)+N.height-nt,ut>E.plotHeight&&(et==="top"&&0>=G?(l.verticalAlign="bottom",l.inside=!0):G+=E.plotHeight-ut,F=!0),F&&(l.x=rt,l.y=G,x.placed=!c,x.align(l,void 0,R)),F}function y(x,l){var s=[],N;if(D(x)&&!D(l))s=x.map(function(R){return C(R,l)});else if(D(l)&&!D(x))s=l.map(function(R){return C(x,R)});else if(D(x)||D(l))for(N=Math.max(x.length,l.length);N--;)s[N]=C(x[N],l[N]);else s=C(x,l);return s}function P(x,l,s,N,R){var c=this.chart,E=c.inverted,L=this.xAxis,et=L.reversed,nt=E?l.height/2:l.width/2;x=(x=x.pointWidth)?x/2:0,l.startXPos=E?R.x:et?-nt-x:L.width-nt+x,l.startYPos=E?et?this.yAxis.height-nt+x:-nt-x:R.y,N?l.visibility==="hidden"&&(l.show(),l.attr({opacity:0}).animate({opacity:1})):l.attr({opacity:1}).animate({opacity:0},void 0,l.hide),c.hasRendered&&(s&&l.attr({x:l.startXPos,y:l.startYPos}),l.placed=!0)}var m=[];h.compose=function(x){if(m.indexOf(x)===-1){var l=x.prototype;m.push(x),l.alignDataLabel=w,l.drawDataLabels=g,l.justifyDataLabel=p,l.setDataLabelStartPos=P}}}(S||(S={})),S}),W(u,"Series/Column/ColumnDataLabel.js",[u["Core/Series/DataLabel.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=I.series,Z=Y.merge,H=Y.pick,_;return function(j){function A(C,d,o,k,S){var h=this.chart.inverted,w=C.series,b=C.dlBox||C.shapeArgs,g=H(C.below,C.plotY>H(this.translatedThreshold,w.yAxis.len)),p=H(o.inside,!!this.options.stacking);b&&(k=Z(b),0>k.y&&(k.height+=k.y,k.y=0),b=k.y+k.height-w.yAxis.len,0\u25CF {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),D}(I),_(X.prototype,{drawTracker:T.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),H(X,"afterTranslate",function(){this.applyJitter()}),Y.registerSeriesType("scatter",X),X}),W(u,"Mixins/CenteredSeries.js",[u["Core/Globals.js"],u["Core/Series/Series.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=Y.isNumber,Z=Y.pick,H=Y.relativeLength,_=T.deg2rad;return T.CenteredSeriesMixin={getCenter:function(){var j=this.options,A=this.chart,D=2*(j.slicedOffset||0),C=A.plotWidth-2*D,d=A.plotHeight-2*D,o=j.center,k=Math.min(C,d),S=j.size,h=j.innerSize||0;for(typeof S=="string"&&(S=parseFloat(S)),typeof h=="string"&&(h=parseFloat(h)),j=[Z(o[0],"50%"),Z(o[1],"50%"),Z(S&&0>S?void 0:j.size,"100%"),Z(h&&0>h?void 0:j.innerSize||0,"0%")],!A.angular||this instanceof I||(j[3]=0),o=0;4>o;++o)S=j[o],A=2>o||o===2&&/%$/.test(S),j[o]=H(S,[C,d,k,j[2]][o])+(A?D:0);return j[3]>j[2]&&(j[3]=j[2]),j},getStartAndEndRadians:function(j,A){return j=X(j)?j:0,A=X(A)&&A>j&&360>A-j?A:j+360,{start:_*(j+-90),end:_*(A+-90)}}}}),W(u,"Series/Pie/PiePoint.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Series/Point.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=this&&this.__extends||function(){var C=function(d,o){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,S){k.__proto__=S}||function(k,S){for(var h in S)S.hasOwnProperty(h)&&(k[h]=S[h])},C(d,o)};return function(d,o){function k(){this.constructor=d}C(d,o),d.prototype=o===null?Object.create(o):(k.prototype=o.prototype,new k)}}(),Z=T.setAnimation,H=Y.addEvent,_=Y.defined;T=Y.extend;var j=Y.isNumber,A=Y.pick,D=Y.relativeLength;return I=function(C){function d(){var o=C!==null&&C.apply(this,arguments)||this;return o.labelDistance=void 0,o.options=void 0,o.series=void 0,o}return X(d,C),d.prototype.getConnectorPath=function(){var o=this.labelPosition,k=this.series.options.dataLabels,S=this.connectorShapes,h=k.connectorShape;return S[h]&&(h=S[h]),h.call(this,{x:o.final.x,y:o.final.y,alignment:o.alignment},o.connectorPosition,k)},d.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},d.prototype.haloPath=function(o){var k=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(k.x,k.y,k.r+o,k.r+o,{innerR:k.r-1,start:k.start,end:k.end})},d.prototype.init=function(){var o=this;C.prototype.init.apply(this,arguments),this.name=A(this.name,"Slice");var k=function(S){o.slice(S.type==="select")};return H(this,"select",k),H(this,"unselect",k),this},d.prototype.isValid=function(){return j(this.y)&&0<=this.y},d.prototype.setVisible=function(o,k){var S=this,h=this.series,w=h.chart,b=h.options.ignoreHiddenPoint;k=A(k,b),o!==this.visible&&(this.visible=this.options.visible=o=typeof o=="undefined"?!this.visible:o,h.options.data[h.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(g){S[g]&&S[g][o?"show":"hide"](o)}),this.legendItem&&w.legend.colorizeItem(this,o),o||this.state!=="hover"||this.setState(""),b&&(h.isDirty=!0),k&&w.redraw())},d.prototype.slice=function(o,k,S){var h=this.series;Z(S,h.chart),A(k,!0),this.sliced=this.options.sliced=_(o)?o:!this.sliced,h.options.data[h.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},d}(I),T(I.prototype,{connectorShapes:{fixedOffset:function(C,d,o){var k=d.breakAt;return d=d.touchingSliceAt,[["M",C.x,C.y],o.softConnector?["C",C.x+(C.alignment==="left"?-5:5),C.y,2*k.x-d.x,2*k.y-d.y,k.x,k.y]:["L",k.x,k.y],["L",d.x,d.y]]},straight:function(C,d){return d=d.touchingSliceAt,[["M",C.x,C.y],["L",d.x,d.y]]},crookedLine:function(C,d,o){d=d.touchingSliceAt;var k=this.series,S=k.center[0],h=k.chart.plotWidth,w=k.chart.plotLeft;k=C.alignment;var b=this.shapeArgs.r;return o=D(o.crookDistance,1),h=k==="left"?S+b+(h+w-S-b)*(1-o):w+(S-b)*o,o=["L",h,C.y],S=!0,(k==="left"?h>C.x||hd.x)&&(S=!1),C=[["M",C.x,C.y]],S&&C.push(o),C.push(["L",d.x,d.y]),C}}}),I}),W(u,"Series/Pie/PieSeries.js",[u["Mixins/CenteredSeries.js"],u["Series/Column/ColumnSeries.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Color/Palette.js"],u["Series/Pie/PiePoint.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/Symbols.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A,D){var C=this&&this.__extends||function(){var g=function(p,y){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,m){P.__proto__=m}||function(P,m){for(var x in m)m.hasOwnProperty(x)&&(P[x]=m[x])},g(p,y)};return function(p,y){function P(){this.constructor=p}g(p,y),p.prototype=y===null?Object.create(y):(P.prototype=y.prototype,new P)}}(),d=T.getStartAndEndRadians;Y=Y.noop;var o=D.clamp,k=D.extend,S=D.fireEvent,h=D.merge,w=D.pick,b=D.relativeLength;return D=function(g){function p(){var y=g!==null&&g.apply(this,arguments)||this;return y.center=void 0,y.data=void 0,y.maxLabelDistance=void 0,y.options=void 0,y.points=void 0,y}return C(p,g),p.prototype.animate=function(y){var P=this,m=P.points,x=P.startAngleRad;y||m.forEach(function(l){var s=l.graphic,N=l.shapeArgs;s&&N&&(s.attr({r:w(l.startR,P.center&&P.center[3]/2),start:x,end:x}),s.animate({r:N.r,start:N.start,end:N.end},P.options.animation))})},p.prototype.drawEmpty=function(){var y=this.startAngleRad,P=this.endAngleRad,m=this.options;if(this.total===0&&this.center){var x=this.center[0],l=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(x,l,this.center[1]/2,0,y,P).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:A.arc(x,l,this.center[2]/2,0,{start:y,end:P,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":m.borderWidth,fill:m.fillColor||"none",stroke:m.color||Z.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},p.prototype.drawPoints=function(){var y=this.chart.renderer;this.points.forEach(function(P){P.graphic&&P.hasNewShapeType()&&(P.graphic=P.graphic.destroy()),P.graphic||(P.graphic=y[P.shapeType](P.shapeArgs).add(P.series.group),P.delayedRendering=!0)})},p.prototype.generatePoints=function(){g.prototype.generatePoints.call(this),this.updateTotals()},p.prototype.getX=function(y,P,m){var x=this.center,l=this.radii?this.radii[m.index]||0:x[2]/2;return y=Math.asin(o((y-x[1])/(l+m.labelDistance),-1,1)),x[0]+(P?-1:1)*Math.cos(y)*(l+m.labelDistance)+(01.5*Math.PI?rt-=2*Math.PI:rt<-Math.PI/2&&(rt+=2*Math.PI),et.slicedTranslation={translateX:Math.round(Math.cos(rt)*m),translateY:Math.round(Math.sin(rt)*m)},G=Math.cos(rt)*y[2]/2;var ut=Math.sin(rt)*y[2]/2;et.tooltipPos=[y[0]+.7*G,y[1]+.7*ut],et.half=rt<-Math.PI/2||rt>Math.PI/2?1:0,et.angle=rt,nt=Math.min(x,et.labelDistance/5),et.labelPosition={natural:{x:y[0]+G+Math.cos(rt)*et.labelDistance,y:y[1]+ut+Math.sin(rt)*et.labelDistance},final:{},alignment:0>et.labelDistance?"center":et.half?"right":"left",connectorPosition:{breakAt:{x:y[0]+G+Math.cos(rt)*nt,y:y[1]+ut+Math.sin(rt)*nt},touchingSliceAt:{x:y[0]+G,y:y[1]+ut}}}}S(this,"afterTranslate")},p.prototype.updateTotals=function(){var y=this.points,P=y.length,m=this.options.ignoreHiddenPoint,x,l=0;for(x=0;xL&&(Ct.dataLabel.css({width:Math.round(.7*L)+"px"}),Ct.dataLabel.shortened=!0)):(Ct.dataLabel=Ct.dataLabel.destroy(),Ct.dataLabels&&Ct.dataLabels.length===1&&delete Ct.dataLabels))}),G.forEach(function(Ct,vt){var Nt=Ct.length,Ft=[],Ot;if(Nt){if(m.sortByAngle(Ct,vt-.5),0R-N&&vt===0&&(At=Math.round(K+ct-R+N),ut[1]=Math.max(At,ut[1])),0>q-J/2?ut[0]=Math.max(Math.round(-q+J/2),ut[0]):q+J/2>c&&(ut[2]=Math.max(Math.round(q+J/2-c),ut[2])),tt.sideOverflow=At)}}}),D(ut)===0||this.verifyDataLabelOverflow(ut))&&(this.placeDataLabels(),this.points.forEach(function(Ct){if(mt=o(s,Ct.options.dataLabels),st=k(mt.connectorWidth,1)){var vt;ht=Ct.connector,(tt=Ct.dataLabel)&&tt._pos&&Ct.visible&&0x.bottom-2?s:l,x.half,x)},justify:function(m,x,l){return l[0]+(m.half?-1:1)*(x+m.labelDistance)},alignToPlotEdges:function(m,x,l,s){return m=m.getBBox().width,x?m+s:l-m-s},alignToConnectors:function(m,x,l,s){var N=0,R;return m.forEach(function(c){R=c.dataLabel.getBBox().width,R>N&&(N=R)}),x?N+s:l-N-s}};w.compose=function(m){T.compose(A),y.indexOf(m)===-1&&(y.push(m),m=m.prototype,m.dataLabelPositioners=P,m.alignDataLabel=_,m.drawDataLabels=b,m.placeDataLabels=g,m.verifyDataLabelOverflow=p)}}(h||(h={})),h}),W(u,"Extensions/OverlappingDataLabels.js",[u["Core/Chart/Chart.js"],u["Core/Utilities.js"]],function(T,I){function Y(D,C){var d=!1;if(D){var o=D.newOpacity;D.oldOpacity!==o&&(D.alignAttr&&D.placed?(D[o?"removeClass":"addClass"]("highcharts-data-label-hidden"),d=!0,D.alignAttr.opacity=o,D[D.isOld?"animate":"attr"](D.alignAttr,null,function(){C.styledMode||D.css({pointerEvents:o?"auto":"none"})}),Z(C,"afterHideOverlappingLabel")):D.attr({opacity:o})),D.isOld=!0}return d}var X=I.addEvent,Z=I.fireEvent,H=I.isArray,_=I.isNumber,j=I.objectEach,A=I.pick;X(T,"render",function(){var D=this,C=[];(this.labelCollectors||[]).forEach(function(d){C=C.concat(d())}),(this.yAxis||[]).forEach(function(d){d.stacking&&d.options.stackLabels&&!d.options.stackLabels.allowOverlap&&j(d.stacking.stacks,function(o){j(o,function(k){k.label&&k.label.visibility!=="hidden"&&C.push(k.label)})})}),(this.series||[]).forEach(function(d){var o=d.options.dataLabels;d.visible&&(o.enabled!==!1||d._hasPointLabels)&&(o=function(k){return k.forEach(function(S){S.visible&&(H(S.dataLabels)?S.dataLabels:S.dataLabel?[S.dataLabel]:[]).forEach(function(h){var w=h.options;h.labelrank=A(w.labelrank,S.labelrank,S.shapeArgs&&S.shapeArgs.height),w.allowOverlap?(h.oldOpacity=h.opacity,h.newOpacity=1,Y(h,D)):C.push(h)})})},o(d.nodes||[]),o(d.points))}),this.hideOverlappingLabels(C)}),T.prototype.hideOverlappingLabels=function(D){var C=this,d=D.length,o=C.renderer,k,S,h,w=!1,b=function(y){var P,m=y.box?0:y.padding||0,x=P=0,l;if(y&&(!y.alignAttr||y.placed)){var s=y.alignAttr||{x:y.attr("x"),y:y.attr("y")},N=y.parentGroup;y.width||(P=y.getBBox(),y.width=P.width,y.height=P.height,P=o.fontMetrics(null,y.element).h);var R=y.width-2*m;return(l={left:"0",center:"0.5",right:"1"}[y.alignValue])?x=+l*R:_(y.x)&&Math.round(y.x)!==y.translateX&&(x=y.x-y.translateX),{x:s.x+(N.translateX||0)+m-(x||0),y:s.y+(N.translateY||0)+m-P,width:y.width-2*m,height:y.height-2*m}}};for(S=0;S=g.x+g.width||p.x+p.width<=g.x||p.y>=g.y+g.height||p.y+p.height<=g.y||((b.labelrank=j(b.minWidth,0)&&this.chartHeight>=j(b.minHeight,0)}).call(this)&&w.push(h._id)},S.prototype.setResponsive=function(h,w){var b=this,g=this.options.responsive,p=this.currentResponsive,y=[];!w&&g&&g.rules&&g.rules.forEach(function(P){typeof P._id=="undefined"&&(P._id=D()),b.matchResponsiveRule(P,y)},this),w=H.apply(void 0,y.map(function(P){return Y((g||{}).rules||[],function(m){return m._id===P})}).map(function(P){return P&&P.chartOptions})),w.isResponsiveOptions=!0,y=y.toString()||void 0,y!==(p&&p.ruleIds)&&(p&&this.update(p.undoOptions,h,!0),y?(p=this.currentOptions(w),p.isResponsiveOptions=!0,this.currentResponsive={ruleIds:y,mergedOptions:w,undoOptions:p},this.update(w,h,!0)):this.currentResponsive=void 0)},S}()}(C||(C={})),C}),W(u,"masters/highcharts.src.js",[u["Core/Globals.js"],u["Core/Utilities.js"],u["Core/DefaultOptions.js"],u["Core/Animation/Fx.js"],u["Core/Animation/AnimationUtilities.js"],u["Core/Renderer/HTML/AST.js"],u["Core/FormatUtilities.js"],u["Core/Renderer/RendererUtilities.js"],u["Core/Renderer/SVG/SVGElement.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Renderer/HTML/HTMLElement.js"],u["Core/Renderer/HTML/HTMLRenderer.js"],u["Core/Axis/Axis.js"],u["Core/Axis/DateTimeAxis.js"],u["Core/Axis/LogarithmicAxis.js"],u["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],u["Core/Axis/Tick.js"],u["Core/Tooltip.js"],u["Core/Series/Point.js"],u["Core/Pointer.js"],u["Core/MSPointer.js"],u["Core/Legend/Legend.js"],u["Core/Chart/Chart.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Series/Column/ColumnSeries.js"],u["Series/Column/ColumnDataLabel.js"],u["Series/Pie/PieSeries.js"],u["Series/Pie/PieDataLabel.js"],u["Core/Series/DataLabel.js"],u["Core/Responsive.js"],u["Core/Color/Color.js"],u["Core/Time.js"]],function(T,I,Y,X,Z,H,_,j,A,D,C,d,o,k,S,h,w,b,g,p,y,P,m,x,l,s,N,R,c,E,L,et,nt){return T.animate=Z.animate,T.animObject=Z.animObject,T.getDeferredAnimation=Z.getDeferredAnimation,T.setAnimation=Z.setAnimation,T.stop=Z.stop,T.timers=X.timers,T.AST=H,T.Axis=o,T.Chart=m,T.chart=m.chart,T.Fx=X,T.Legend=P,T.PlotLineOrBand=h,T.Point=g,T.Pointer=y.isRequired()?y:p,T.Series=x,T.SVGElement=A,T.SVGRenderer=D,T.Tick=w,T.Time=nt,T.Tooltip=b,T.Color=et,T.color=et.parse,d.compose(D),C.compose(A),T.defaultOptions=Y.defaultOptions,T.getOptions=Y.getOptions,T.time=Y.defaultTime,T.setOptions=Y.setOptions,T.dateFormat=_.dateFormat,T.format=_.format,T.numberFormat=_.numberFormat,T.addEvent=I.addEvent,T.arrayMax=I.arrayMax,T.arrayMin=I.arrayMin,T.attr=I.attr,T.clearTimeout=I.clearTimeout,T.correctFloat=I.correctFloat,T.createElement=I.createElement,T.css=I.css,T.defined=I.defined,T.destroyObjectProperties=I.destroyObjectProperties,T.discardElement=I.discardElement,T.distribute=j.distribute,T.erase=I.erase,T.error=I.error,T.extend=I.extend,T.extendClass=I.extendClass,T.find=I.find,T.fireEvent=I.fireEvent,T.getMagnitude=I.getMagnitude,T.getStyle=I.getStyle,T.inArray=I.inArray,T.isArray=I.isArray,T.isClass=I.isClass,T.isDOMElement=I.isDOMElement,T.isFunction=I.isFunction,T.isNumber=I.isNumber,T.isObject=I.isObject,T.isString=I.isString,T.keys=I.keys,T.merge=I.merge,T.normalizeTickInterval=I.normalizeTickInterval,T.objectEach=I.objectEach,T.offset=I.offset,T.pad=I.pad,T.pick=I.pick,T.pInt=I.pInt,T.relativeLength=I.relativeLength,T.removeEvent=I.removeEvent,T.seriesType=l.seriesType,T.splat=I.splat,T.stableSort=I.stableSort,T.syncTimeout=I.syncTimeout,T.timeUnits=I.timeUnits,T.uniqueKey=I.uniqueKey,T.useSerialIds=I.useSerialIds,T.wrap=I.wrap,N.compose(s),E.compose(x),k.compose(o),S.compose(o),c.compose(R),h.compose(o),L.compose(m),T}),W(u,"Core/Axis/MapAxis.js",[u["Core/Axis/Axis.js"],u["Core/Utilities.js"]],function(T,I){var Y=I.addEvent,X=I.pick,Z=function(){return function(H){this.axis=H}}();return I=function(){function H(){}return H.compose=function(_){_.keepProps.push("mapAxis"),Y(_,"init",function(){this.mapAxis||(this.mapAxis=new Z(this))}),Y(_,"getSeriesExtremes",function(){if(this.mapAxis){var j=[];this.isXAxis&&(this.series.forEach(function(A,D){A.useMapGeometry&&(j[D]=A.xData,A.xData=[])}),this.mapAxis.seriesXData=j)}}),Y(_,"afterGetSeriesExtremes",function(){if(this.mapAxis){var j=this.mapAxis.seriesXData||[],A;if(this.isXAxis){var D=X(this.dataMin,Number.MAX_VALUE),C=X(this.dataMax,-Number.MAX_VALUE);this.series.forEach(function(d,o){d.useMapGeometry&&(D=Math.min(D,X(d.minX,D)),C=Math.max(C,X(d.maxX,C)),d.xData=j[o],A=!0)}),A&&(this.dataMin=D,this.dataMax=C),this.mapAxis.seriesXData=void 0}}}),Y(_,"afterSetAxisTranslation",function(){if(this.mapAxis){var j=this.chart,A=j.plotWidth/j.plotHeight;j=j.xAxis[0];var D;this.coll==="yAxis"&&typeof j.transA!="undefined"&&this.series.forEach(function(C){C.preserveAspectRatio&&(D=!0)}),D&&(this.transA=j.transA=Math.min(this.transA,j.transA),A/=(j.max-j.min)/(this.max-this.min),A=1>A?this:j,j=(A.max-A.min)*A.transA,A.mapAxis.pixelPadding=A.len-j,A.minPixelPadding=A.mapAxis.pixelPadding/2,j=A.mapAxis.fixTo)&&(j=j[1]-A.toValue(j[0],!0),j*=A.transA,(Math.abs(j)>A.minPixelPadding||A.min===A.dataMin&&A.max===A.dataMax)&&(j=0),A.minPixelPadding-=j)}}),Y(_,"render",function(){this.mapAxis&&(this.mapAxis.fixTo=void 0)})},H}(),I.compose(T),I}),W(u,"Mixins/ColorSeries.js",[],function(){return{colorPointMixin:{setVisible:function(T){var I=this,Y=T?"show":"hide";I.visible=I.options.visible=!!T,["graphic","dataLabel"].forEach(function(X){I[X]&&I[X][Y]()}),this.series.buildKDTree()}},colorSeriesMixin:{optionalAxis:"colorAxis",translateColors:function(){var T=this,I=this.options.nullColor,Y=this.colorAxis,X=this.colorKey;(this.data.length?this.data:this.points).forEach(function(Z){var H=Z.getNestedProperty(X);(H=Z.options.color||(Z.isNull||Z.value===null?I:Y&&typeof H!="undefined"?Y.toColor(H,Z):Z.color||T.color))&&Z.color!==H&&(Z.color=H,T.options.legendType==="point"&&Z.legendItem&&T.chart.legend.colorizeItem(Z,Z.visible))})}}}}),W(u,"Core/Axis/Color/ColorAxisComposition.js",[u["Core/Color/Color.js"],u["Mixins/ColorSeries.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=T.parse,Z=I.colorPointMixin,H=I.colorSeriesMixin,_=Y.addEvent,j=Y.extend,A=Y.merge,D=Y.pick,C=Y.splat,d;return function(o){function k(){var l=this,s=this.options;this.colorAxis=[],s.colorAxis&&(s.colorAxis=C(s.colorAxis),s.colorAxis.forEach(function(N,R){N.index=R,new x(l,N)}))}function S(l){var s=this,N=function(L){L=l.allItems.indexOf(L),L!==-1&&(s.destroyItem(l.allItems[L]),l.allItems.splice(L,1))},R=[],c,E;for((this.chart.colorAxis||[]).forEach(function(L){(c=L.options)&&c.showInLegend&&(c.dataClasses&&c.visible?R=R.concat(L.getDataClassLegendSymbols()):c.visible&&R.push(L),L.series.forEach(function(et){(!et.options.showInLegend||c.dataClasses)&&(et.options.legendType==="point"?et.points.forEach(function(nt){N(nt)}):N(et))}))}),E=R.length;E--;)l.allItems.unshift(R[E])}function h(l){l.visible&&l.item.legendColor&&l.item.legendSymbol.attr({fill:l.item.legendColor})}function w(){var l=this.chart.colorAxis;l&&l.forEach(function(s,N,R){s.update({},R)})}function b(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function g(){var l=this.axisTypes;l?l.indexOf("colorAxis")===-1&&l.push("colorAxis"):this.axisTypes=["colorAxis"]}function p(l){var s=l.prototype.createAxis;l.prototype.createAxis=function(N,R){if(N!=="colorAxis")return s.apply(this,arguments);var c=new x(this,A(R.axis,{index:this[N].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(E){E.series=[]}),this.series.forEach(function(E){E.bindAxes(),E.isDirtyData=!0}),D(R.redraw,!0)&&this.redraw(R.animation),c}}function y(){this.elem.attr("fill",X(this.start).tweenTo(X(this.end),this.pos),void 0,!0)}function P(){this.elem.attr("stroke",X(this.start).tweenTo(X(this.end),this.pos),void 0,!0)}var m=[],x;o.compose=function(l,s,N,R,c){x||(x=l),m.indexOf(s)===-1&&(m.push(s),l=s.prototype,l.collectionsWithUpdate.push("colorAxis"),l.collectionsWithInit.colorAxis=[l.addColorAxis],_(s,"afterGetAxes",k),p(s)),m.indexOf(N)===-1&&(m.push(N),s=N.prototype,s.fillSetter=y,s.strokeSetter=P),m.indexOf(R)===-1&&(m.push(R),_(R,"afterGetAllItems",S),_(R,"afterColorizeItem",h),_(R,"afterUpdate",w)),m.indexOf(c)===-1&&(m.push(c),j(c.prototype,H),j(c.prototype.pointClass.prototype,Z),_(c,"afterTranslate",b),_(c,"bindAxes",g))}}(d||(d={})),d}),W(u,"Core/Axis/Color/ColorAxisDefaults.js",[u["Core/Color/Palette.js"]],function(T){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:T.neutralColor40},labels:{overflow:"justify",rotation:0},minColor:T.highlightColor10,maxColor:T.highlightColor100,tickLength:5,showInLegend:!0}}),W(u,"Core/Axis/Color/ColorAxis.js",[u["Core/Axis/Axis.js"],u["Core/Color/Color.js"],u["Core/Axis/Color/ColorAxisComposition.js"],u["Core/Axis/Color/ColorAxisDefaults.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j){var A=this&&this.__extends||function(){var w=function(b,g){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var P in y)y.hasOwnProperty(P)&&(p[P]=y[P])},w(b,g)};return function(b,g){function p(){this.constructor=b}w(b,g),b.prototype=g===null?Object.create(g):(p.prototype=g.prototype,new p)}}(),D=I.parse,C=Z.noop,d=_.series,o=j.extend,k=j.isNumber,S=j.merge,h=j.pick;return I=function(w){function b(g,p){var y=w.call(this,g,p)||this;return y.beforePadding=!1,y.chart=void 0,y.coll="colorAxis",y.dataClasses=void 0,y.legendItem=void 0,y.legendItems=void 0,y.name="",y.options=void 0,y.stops=void 0,y.visible=!0,y.init(g,p),y}return A(b,w),b.compose=function(g,p,y,P){Y.compose(b,g,p,y,P)},b.prototype.init=function(g,p){var y=g.options.legend||{},P=p.layout?p.layout!=="vertical":y.layout!=="vertical",m=p.visible;y=S(b.defaultColorAxisOptions,p,{showEmpty:!1,title:null,visible:y.enabled&&m!==!1}),this.coll="colorAxis",this.side=p.side||P?2:1,this.reversed=p.reversed||!P,this.opposite=!P,w.prototype.init.call(this,g,y),this.userOptions.visible=m,p.dataClasses&&this.initDataClasses(p),this.initStops(),this.horiz=P,this.zoomEnabled=!1},b.prototype.initDataClasses=function(g){var p=this.chart,y=this.options,P=g.dataClasses.length,m,x=0,l=p.options.chart.colorCount;this.dataClasses=m=[],this.legendItems=[],(g.dataClasses||[]).forEach(function(s,N){s=S(s),m.push(s),(p.styledMode||!s.color)&&(y.dataClassColor==="category"?(p.styledMode||(N=p.options.colors,l=N.length,s.color=N[x]),s.colorIndex=x,x++,x===l&&(x=0)):s.color=D(y.minColor).tweenTo(D(y.maxColor),2>P?.5:N/(P-1)))})},b.prototype.hasData=function(){return!!(this.tickPositions||[]).length},b.prototype.setTickPositions=function(){if(!this.dataClasses)return w.prototype.setTickPositions.call(this)},b.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(g){g.color=D(g[1])})},b.prototype.setOptions=function(g){w.prototype.setOptions.call(this,g),this.options.crosshair=this.options.marker},b.prototype.setAxisSize=function(){var g=this.legendSymbol,p=this.chart,y=p.options.legend||{},P,m;g?(this.left=y=g.attr("x"),this.top=P=g.attr("y"),this.width=m=g.attr("width"),this.height=g=g.attr("height"),this.right=p.chartWidth-y-m,this.bottom=p.chartHeight-P-g,this.len=this.horiz?m:g,this.pos=this.horiz?y:P):this.len=(this.horiz?y.symbolWidth:y.symbolHeight)||b.defaultLegendLength},b.prototype.normalizedValue=function(g){return this.logarithmic&&(g=this.logarithmic.log2lin(g)),1-(this.max-g)/(this.max-this.min||1)},b.prototype.toColor=function(g,p){var y=this.dataClasses,P=this.stops,m;if(y)for(m=y.length;m--;){var x=y[m],l=x.from;if(P=x.to,(typeof l=="undefined"||g>=l)&&(typeof P=="undefined"||g<=P)){var s=x.color;p&&(p.dataClass=m,p.colorIndex=x.colorIndex);break}}else{for(g=this.normalizedValue(g),m=P.length;m--&&!(g>P[m][0]););l=P[m]||P[m+1],P=P[m+1]||l,g=1-(P[0]-g)/(P[0]-l[0]||1),s=l.color.tweenTo(P.color,g)}return s},b.prototype.getOffset=function(){var g=this.legendGroup,p=this.chart.axisOffset[this.side];g&&(this.axisParent=g,w.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=p)},b.prototype.setLegendColor=function(){var g=this.reversed,p=g?1:0;g=g?0:1,p=this.horiz?[p,0,g,0]:[0,g,0,p],this.legendColor={linearGradient:{x1:p[0],y1:p[1],x2:p[2],y2:p[3]},stops:this.stops}},b.prototype.drawLegendSymbol=function(g,p){var y=g.padding,P=g.options,m=this.horiz,x=h(P.symbolWidth,m?b.defaultLegendLength:12),l=h(P.symbolHeight,m?12:b.defaultLegendLength),s=h(P.labelPadding,m?16:30);P=h(P.itemDistance,10),this.setLegendColor(),p.legendSymbol=this.chart.renderer.rect(0,g.baseline-11,x,l).attr({zIndex:1}).add(p.legendGroup),this.legendItemWidth=x+y+(m?P:s),this.legendItemHeight=l+y+(m?s:0)},b.prototype.setState=function(g){this.series.forEach(function(p){p.setState(g)})},b.prototype.setVisible=function(){},b.prototype.getSeriesExtremes=function(){var g=this.series,p=g.length,y;for(this.dataMin=1/0,this.dataMax=-1/0;p--;){var P=g[p],m=P.colorKey=h(P.options.colorKey,P.colorKey,P.pointValKey,P.zoneAxis,"y"),x=P.pointArrayMap,l=P[m+"Min"]&&P[m+"Max"];if(P[m+"Data"])var s=P[m+"Data"];else if(x){s=[],x=x.indexOf(m);var N=P.yData;if(0<=x&&N)for(y=0;ym+x&&(l=m+x+2),p.plotX=l,p.plotY=this.len-l,w.prototype.drawCrosshair.call(this,g,p),p.plotX=y,p.plotY=P,this.cross&&!this.cross.addedToColorAxis&&this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),this.cross.addedToColorAxis=!0,this.chart.styledMode||typeof this.crosshair!="object"||this.cross.attr({fill:this.crosshair.color}))}},b.prototype.getPlotLinePath=function(g){var p=this.left,y=g.translatedValue,P=this.top;return k(y)?this.horiz?[["M",y-4,P-6],["L",y+4,P-6],["L",y,P],["Z"]]:[["M",p,y],["L",p-6,y+6],["L",p-6,y-6],["Z"]]:w.prototype.getPlotLinePath.call(this,g)},b.prototype.update=function(g,p){var y=this.chart.legend;this.series.forEach(function(P){P.isDirtyData=!0}),(g.dataClasses&&y.allItems||this.dataClasses)&&this.destroyItems(),w.prototype.update.call(this,g,p),this.legendItem&&(this.setLegendColor(),y.colorizeItem(this,!0))},b.prototype.destroyItems=function(){var g=this.chart;this.legendItem?g.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(p){g.legend.destroyItem(p)}),g.isDirtyLegend=!0},b.prototype.destroy=function(){this.chart.isDirtyLegend=!0,this.destroyItems(),w.prototype.destroy.apply(this,[].slice.call(arguments))},b.prototype.remove=function(g){this.destroyItems(),w.prototype.remove.call(this,g)},b.prototype.getDataClassLegendSymbols=function(){var g=this,p=g.chart,y=g.legendItems,P=p.options.legend,m=P.valueDecimals,x=P.valueSuffix||"",l;return y.length||g.dataClasses.forEach(function(s,N){var R=s.from,c=s.to,E=p.numberFormatter,L=!0;l="",typeof R=="undefined"?l="< ":typeof c=="undefined"&&(l="> "),typeof R!="undefined"&&(l+=E(R,m)+x),typeof R!="undefined"&&typeof c!="undefined"&&(l+=" - "),typeof c!="undefined"&&(l+=E(c,m)+x),y.push(o({chart:p,name:l,options:{},drawLegendSymbol:H.drawRectangle,visible:!0,setState:C,isDataClass:!0,setVisible:function(){L=g.visible=!L,g.series.forEach(function(et){et.points.forEach(function(nt){nt.dataClass===N&&nt.setVisible(L)})}),p.legend.colorizeItem(this,L)}},s))}),y},b.defaultColorAxisOptions=X,b.defaultLegendLength=200,b.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"],b}(T),Array.prototype.push.apply(T.keepProps,I.keepProps),I}),W(u,"Mixins/ColorMapSeries.js",[u["Core/Globals.js"],u["Core/Series/Point.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=Y.defined;Y=Y.addEvent;var Z=T.noop;return T=T.seriesTypes,Y(I,"afterSetState",function(H){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:H&&H.state==="hover"?1:0})}),{colorMapPointMixin:{dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return this.value!==null&&this.value!==1/0&&this.value!==-1/0}},colorMapSeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:Z,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:T.column.prototype.pointAttribs,colorAttribs:function(H){var _={};return!X(H.color)||H.state&&H.state!=="normal"||(_[this.colorProp||"fill"]=H.color),_}}}}),W(u,"Maps/MapNavigationOptionsDefault.js",[u["Core/DefaultOptions.js"],u["Core/Utilities.js"]],function(T,I){I=I.extend;var Y={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1};return I(T.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"}),T.defaultOptions.mapNavigation=Y}),W(u,"Maps/MapNavigation.js",[u["Core/Chart/Chart.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(T,I,Y){function X(d){d&&(d.preventDefault&&d.preventDefault(),d.stopPropagation&&d.stopPropagation(),d.cancelBubble=!0)}function Z(d){this.init(d)}var H=I.doc,_=Y.addEvent,j=Y.extend,A=Y.merge,D=Y.objectEach,C=Y.pick;Z.prototype.init=function(d){this.chart=d,d.mapNavButtons=[]},Z.prototype.update=function(d){var o=this.chart,k=o.options.mapNavigation,S,h,w,b,g=function(y){this.handler.call(o,y),X(y)},p=o.mapNavButtons;for(d&&(k=o.options.mapNavigation=A(o.options.mapNavigation,d));p.length;)p.pop().destroy();C(k.enableButtons,k.enabled)&&!o.renderer.forExport&&D(k.buttons,function(y,P){y=A(k.buttonOptions,y),!o.styledMode&&y.theme&&(S=y.theme,S.style=A(y.theme.style,y.style),w=(h=S.states)&&h.hover,b=h&&h.select,delete S.states);var m=o.renderer.button(y.text||"",0,0,g,S,w,b,void 0,P==="zoomIn"?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[P]).attr({width:y.width,height:y.height,title:o.options.lang[P],padding:y.padding,zIndex:5}).add();if(m.handler=y.onclick,_(m.element,"dblclick",X),p.push(m),j(y,{width:m.width,height:2*m.height}),o.hasLoaded)m.align(y,!1,y.alignTo);else var x=_(o,"load",function(){m.element&&m.align(y,!1,y.alignTo),x()})}),this.updateEvents(k)},Z.prototype.updateEvents=function(d){var o=this.chart;C(d.enableDoubleClickZoom,d.enabled)||d.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||_(o.container,"dblclick",function(k){o.pointer.onContainerDblClick(k)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),C(d.enableMouseWheelZoom,d.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||_(o.container,H.onwheel!==void 0?"wheel":H.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll",function(k){return o.pointer.inClass(k.target,"highcharts-no-mousewheel")||(o.pointer.onContainerMouseWheel(k),X(k)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())},j(T.prototype,{fitToBox:function(d,o){return[["x","width"],["y","height"]].forEach(function(k){var S=k[0];k=k[1],d[S]+d[k]>o[S]+o[k]&&(d[k]>o[k]?(d[k]=o[k],d[S]=o[S]):d[S]=o[S]+o[k]-d[k]),d[k]>o[k]&&(d[k]=o[k]),d[S]=b.dataMax-b.dataMin&&p.y<=g.dataMin&&p.height>=g.dataMax-g.dataMin,S&&b.mapAxis&&(b.mapAxis.fixTo=[S-b.pos,o]),h&&g.mapAxis&&(g.mapAxis.fixTo=[h-g.pos,k]),typeof d=="undefined"||y?(b.setExtremes(void 0,void 0,!1),g.setExtremes(void 0,void 0,!1)):(b.setExtremes(p.x,p.x+p.width,!1),g.setExtremes(p.y,p.y+p.height,!1)),this.redraw(w)}}),_(T,"beforeRender",function(){this.mapNavigation=new Z(this),this.mapNavigation.update()}),I.MapNavigation=Z}),W(u,"Maps/MapPointer.js",[u["Core/Pointer.js"],u["Core/Utilities.js"]],function(T,I){var Y=I.extend,X=I.pick;I=I.wrap;var Z=0,H;Y(T.prototype,{onContainerDblClick:function(_){var j=this.chart;_=this.normalize(_),j.options.mapNavigation.enableDoubleClickZoomTo?j.pointer.inClass(_.target,"highcharts-tracker")&&j.hoverPoint&&j.hoverPoint.zoomTo():j.isInsidePlot(_.chartX-j.plotLeft,_.chartY-j.plotTop)&&j.mapZoom(.5,j.xAxis[0].toValue(_.chartX),j.yAxis[0].toValue(_.chartY),_.chartX,_.chartY)},onContainerMouseWheel:function(_){var j=this.chart;_=this.normalize(_);var A=_.deltaY||_.detail||-(_.wheelDelta/120);1<=Math.abs(A)&&(Z+=Math.abs(A),H&&clearTimeout(H),H=setTimeout(function(){Z=0},50)),10>Z&&j.isInsidePlot(_.chartX-j.plotLeft,_.chartY-j.plotTop)&&j.mapZoom(Math.pow(j.options.mapNavigation.mouseWheelSensitivity,A),j.xAxis[0].toValue(_.chartX),j.yAxis[0].toValue(_.chartY),_.chartX,_.chartY,1>Math.abs(A)?!1:void 0)}}),I(T.prototype,"zoomOption",function(_){var j=this.chart.options.mapNavigation;X(j.enableTouchZoom,j.enabled)&&(this.chart.options.chart.pinchType="xy"),_.apply(this,[].slice.call(arguments,1))}),I(T.prototype,"pinchTranslate",function(_,j,A,D,C,d,o){_.call(this,j,A,D,C,d,o),this.chart.options.chart.type==="map"&&this.hasZoom&&(_=D.scaleX>D.scaleY,this.pinchTranslateDirection(!_,j,A,D,C,d,o,_?D.scaleX:D.scaleY))})}),W(u,"Maps/MapSymbols.js",[u["Core/Renderer/SVG/SVGRenderer.js"]],function(T){function I(Y,X,Z,H,_,j,A,D){return[["M",Y+_,X],["L",Y+Z-j,X],["C",Y+Z-j/2,X,Y+Z,X+j/2,Y+Z,X+j],["L",Y+Z,X+H-A],["C",Y+Z,X+H-A/2,Y+Z-A/2,X+H,Y+Z-A,X+H],["L",Y+D,X+H],["C",Y+D/2,X+H,Y,X+H-D/2,Y,X+H-D],["L",Y,X+_],["C",Y,X+_/2,Y+_/2,X,Y+_,X],["Z"]]}return T=T.prototype.symbols,T.bottombutton=function(Y,X,Z,H,_){return _=_&&_.r||0,I(Y-1,X-1,Z,H,0,0,_,_)},T.topbutton=function(Y,X,Z,H,_){return _=_&&_.r||0,I(Y-1,X-1,Z,H,_,_,0,0)},T}),W(u,"Core/Chart/MapChart.js",[u["Core/Chart/Chart.js"],u["Core/DefaultOptions.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Utilities.js"]],function(T,I,Y,X){var Z=this&&this.__extends||function(){var A=function(D,C){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,o){d.__proto__=o}||function(d,o){for(var k in o)o.hasOwnProperty(k)&&(d[k]=o[k])},A(D,C)};return function(D,C){function d(){this.constructor=D}A(D,C),D.prototype=C===null?Object.create(C):(d.prototype=C.prototype,new d)}}(),H=I.getOptions,_=X.merge,j=X.pick;return T=function(A){function D(){return A!==null&&A.apply(this,arguments)||this}return Z(D,A),D.prototype.init=function(C,d){var o={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},k=H().credits;C=_({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:j(k.mapText,' \xA9 {geojson.copyrightShort}'),mapTextFull:j(k.mapTextFull,"{geojson.copyright}")},tooltip:{followTouchMove:!1},xAxis:o,yAxis:_(o,{reversed:!0})},C,{chart:{inverted:!1,alignTicks:!1}}),A.prototype.init.call(this,C,d)},D}(T),function(A){A.maps={},A.mapChart=function(D,C,d){return new A(D,C,d)},A.splitPath=function(D){return typeof D=="string"&&(D=D.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),D=D.split(/[ ,;]+/).map(function(C){return/[A-za-z]/.test(C)?C:parseFloat(C)})),Y.prototype.pathToSegments(D)}}(T||(T={})),T}),W(u,"Series/Map/MapPoint.js",[u["Mixins/ColorMapSeries.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=this&&this.__extends||function(){var H=function(_,j){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,D){A.__proto__=D}||function(A,D){for(var C in D)D.hasOwnProperty(C)&&(A[C]=D[C])},H(_,j)};return function(_,j){function A(){this.constructor=_}H(_,j),_.prototype=j===null?Object.create(j):(A.prototype=j.prototype,new A)}}();T=T.colorMapPointMixin;var Z=Y.extend;return I=function(H){function _(){var j=H!==null&&H.apply(this,arguments)||this;return j.options=void 0,j.path=void 0,j.series=void 0,j}return X(_,H),_.prototype.applyOptions=function(j,A){var D=this.series;return j=H.prototype.applyOptions.call(this,j,A),A=D.joinBy,D.mapData&&D.mapMap&&(A=H.prototype.getNestedProperty.call(j,A[1]),(A=typeof A!="undefined"&&D.mapMap[A])?(D.xyFromShape&&(j.x=A._midX,j.y=A._midY),Z(j,A)):j.value=j.value||null),j},_.prototype.onMouseOver=function(j){Y.clearTimeout(this.colorInterval),this.value!==null||this.series.options.nullInteraction?H.prototype.onMouseOver.call(this,j):this.series.onMouseOut(j)},_.prototype.zoomTo=function(){var j=this.series;j.xAxis.setExtremes(this._minX,this._maxX,!1),j.yAxis.setExtremes(this._minY,this._maxY,!1),j.chart.redraw()},_}(I.seriesTypes.scatter.prototype.pointClass),Z(I.prototype,{dataLabelOnNull:T.dataLabelOnNull,isValid:T.isValid,moveToTopOnHover:T.moveToTopOnHover}),I}),W(u,"Series/Map/MapSeries.js",[u["Mixins/ColorMapSeries.js"],u["Core/Globals.js"],u["Core/Legend/LegendSymbol.js"],u["Core/Chart/MapChart.js"],u["Series/Map/MapPoint.js"],u["Core/Color/Palette.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j,A,D){var C=this&&this.__extends||function(){var l=function(s,N){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,c){R.__proto__=c}||function(R,c){for(var E in c)c.hasOwnProperty(E)&&(R[E]=c[E])},l(s,N)};return function(s,N){function R(){this.constructor=s}l(s,N),s.prototype=N===null?Object.create(N):(R.prototype=N.prototype,new R)}}();T=T.colorMapSeriesMixin;var d=I.noop,o=X.maps,k=X.splitPath;X=j.seriesTypes;var S=X.column,h=X.scatter;X=D.extend;var w=D.fireEvent,b=D.getNestedProperty,g=D.isArray,p=D.isNumber,y=D.merge,P=D.objectEach,m=D.pick,x=D.splat;return D=function(l){function s(){var N=l!==null&&l.apply(this,arguments)||this;return N.baseTrans=void 0,N.chart=void 0,N.data=void 0,N.group=void 0,N.joinBy=void 0,N.options=void 0,N.points=void 0,N.transformGroup=void 0,N}return C(s,l),s.prototype.animate=function(N){var R=this.options.animation,c=this.group,E=this.xAxis,L=this.yAxis,et=E.pos,nt=L.pos;this.chart.renderer.isSVG&&(R===!0&&(R={duration:1e3}),N?c.attr({translateX:et+E.len/2,translateY:nt+L.len/2,scaleX:.001,scaleY:.001}):c.animate({translateX:et,translateY:nt,scaleX:1,scaleY:1},R))},s.prototype.animateDrilldown=function(N){var R=this.chart.plotBox,c=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],E=c.bBox,L=this.chart.options.drilldown.animation;N||(N=Math.min(E.width/R.width,E.height/R.height),c.shapeArgs={scaleX:N,scaleY:N,translateX:E.x,translateY:E.y},this.points.forEach(function(et){et.graphic&&et.graphic.attr(c.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},L)}))},s.prototype.animateDrillupFrom=function(N){S.prototype.animateDrillupFrom.call(this,N)},s.prototype.animateDrillupTo=function(N){S.prototype.animateDrillupTo.call(this,N)},s.prototype.doFullTranslate=function(){return this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML||!this.baseTrans},s.prototype.drawMapDataLabels=function(){_.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},s.prototype.drawPoints=function(){var N=this,R=N.xAxis,c=N.yAxis,E=N.group,L=N.chart,et=L.renderer,nt=this.baseTrans;if(N.transformGroup||(N.transformGroup=et.g().attr({scaleX:1,scaleY:1}).add(E),N.transformGroup.survive=!0),N.doFullTranslate())L.hasRendered&&!L.styledMode&&N.points.forEach(function(U){U.shapeArgs&&(U.shapeArgs.fill=N.pointAttribs(U,U.state).fill)}),N.group=N.transformGroup,S.prototype.drawPoints.apply(N),N.group=E,N.points.forEach(function(U){if(U.graphic){var J="";U.name&&(J+="highcharts-name-"+U.name.replace(/ /g,"-").toLowerCase()),U.properties&&U.properties["hc-key"]&&(J+=" highcharts-key-"+U.properties["hc-key"].toLowerCase()),J&&U.graphic.addClass(J),L.styledMode&&U.graphic.css(N.pointAttribs(U,U.selected&&"select"||void 0))}}),this.baseTrans={originX:R.min-R.minPixelPadding/R.transA,originY:c.min-c.minPixelPadding/c.transA+(c.reversed?0:c.len/c.transA),transAX:R.transA,transAY:c.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,scaleY:1});else{var rt=R.transA/nt.transAX,G=c.transA/nt.transAY,ut=R.toPixels(nt.originX,!0),F=c.toPixels(nt.originY,!0);.99rt&&.99G&&(G=rt=1,ut=Math.round(ut),F=Math.round(F));var B=this.transformGroup;if(L.renderer.globalAnimation){var st=B.attr("translateX"),ht=B.attr("translateY"),tt=B.attr("scaleX"),ct=B.attr("scaleY");B.attr({animator:0}).animate({animator:1},{step:function(U,J){B.attr({translateX:st+(ut-st)*J.pos,translateY:ht+(F-ht)*J.pos,scaleX:tt+(rt-tt)*J.pos,scaleY:ct+(G-ct)*J.pos})}})}else B.attr({translateX:ut,translateY:F,scaleX:rt,scaleY:G})}L.styledMode||E.element.setAttribute("stroke-width",m(N.options[N.pointAttrToOptions&&N.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(rt||1)),this.drawMapDataLabels()},s.prototype.getBox=function(N){var R=Number.MAX_VALUE,c=-R,E=R,L=-R,et=R,nt=R,rt=this.xAxis,G=this.yAxis,ut;(N||[]).forEach(function(F){if(F.path){typeof F.path=="string"?F.path=k(F.path):F.path[0]==="M"&&(F.path=A.prototype.pathToSegments(F.path));var B=F.path||[],st=-R,ht=R,tt=-R,ct=R,U=F.properties;F._foundBox||(B.forEach(function(J){var K=J[J.length-2];J=J[J.length-1],typeof K=="number"&&typeof J=="number"&&(ht=Math.min(ht,K),st=Math.max(st,K),ct=Math.min(ct,J),tt=Math.max(tt,J))}),F._midX=ht+(st-ht)*m(F.middleX,U&&U["hc-middle-x"],.5),F._midY=ct+(tt-ct)*m(F.middleY,U&&U["hc-middle-y"],.5),F._maxX=st,F._minX=ht,F._maxY=tt,F._minY=ct,F.labelrank=m(F.labelrank,(st-ht)*(tt-ct)),F._foundBox=!0),c=Math.max(c,F._maxX),E=Math.min(E,F._minX),L=Math.max(L,F._maxY),et=Math.min(et,F._minY),nt=Math.min(F._maxX-F._minX,F._maxY-F._minY,nt),ut=!0}}),ut&&(this.minY=Math.min(et,m(this.minY,R)),this.maxY=Math.max(L,m(this.maxY,-R)),this.minX=Math.min(E,m(this.minX,R)),this.maxX=Math.max(c,m(this.maxX,-R)),rt&&typeof rt.options.minRange=="undefined"&&(rt.minRange=Math.min(5*nt,(this.maxX-this.minX)/5,rt.minRange||R)),G&&typeof G.options.minRange=="undefined"&&(G.minRange=Math.min(5*nt,(this.maxY-this.minY)/5,G.minRange||R)))},s.prototype.getExtremes=function(){var N=_.prototype.getExtremes.call(this,this.valueData),R=N.dataMin;return N=N.dataMax,this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data),p(R)&&(this.valueMin=R),p(N)&&(this.valueMax=N),{dataMin:this.minY,dataMax:this.maxY}},s.prototype.hasData=function(){return!!this.processedXData.length},s.prototype.pointAttribs=function(N,R){return R=N.series.chart.styledMode?this.colorAttribs(N):S.prototype.pointAttribs.call(this,N,R),R["stroke-width"]=m(N.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||"borderWidth"],"inherit"),R},s.prototype.render=function(){var N=this,R=_.prototype.render;N.chart.renderer.isVML&&3e3ut.length&&typeof ct[0]=="string"&&(N[U]["hc-key"]=ct[0],++J);for(var K=0;K"},turboThreshold:0,allAreas:!0,borderColor:H.neutralColor20,borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:H.neutralColor20},inactive:{opacity:1}}}),s}(h),X(D.prototype,{type:"map",axisTypes:T.axisTypes,colorAttribs:T.colorAttribs,colorKey:T.colorKey,directTouch:!0,drawDataLabels:d,drawGraph:d,drawLegendSymbol:Y.drawRectangle,forceDL:!0,getExtremesFromAll:!0,getSymbol:T.getSymbol,parallelArrays:T.parallelArrays,pointArrayMap:T.pointArrayMap,pointClass:Z,preserveAspectRatio:!0,searchPoint:d,trackerGroups:T.trackerGroups,useMapGeometry:!0}),j.registerSeriesType("map",D),D}),W(u,"Series/MapLine/MapLineSeries.js",[u["Series/Map/MapSeries.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=this&&this.__extends||function(){var j=function(A,D){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,d){C.__proto__=d}||function(C,d){for(var o in d)d.hasOwnProperty(o)&&(C[o]=d[o])},j(A,D)};return function(A,D){function C(){this.constructor=A}j(A,D),A.prototype=D===null?Object.create(D):(C.prototype=D.prototype,new C)}}(),Z=I.series,H=Y.extend,_=Y.merge;return Y=function(j){function A(){var D=j!==null&&j.apply(this,arguments)||this;return D.data=void 0,D.options=void 0,D.points=void 0,D}return X(A,j),A.prototype.pointAttribs=function(D,C){return D=T.prototype.pointAttribs.call(this,D,C),D.fill=this.options.fillColor,D},A.defaultOptions=_(T.defaultOptions,{lineWidth:1,fillColor:"none"}),A}(T),H(Y.prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:Z.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),I.registerSeriesType("mapline",Y),Y}),W(u,"Series/MapPoint/MapPointPoint.js",[u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I){var Y=this&&this.__extends||function(){var Z=function(H,_){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,A){j.__proto__=A}||function(j,A){for(var D in A)A.hasOwnProperty(D)&&(j[D]=A[D])},Z(H,_)};return function(H,_){function j(){this.constructor=H}Z(H,_),H.prototype=_===null?Object.create(_):(j.prototype=_.prototype,new j)}}(),X=I.merge;return function(Z){function H(){var _=Z!==null&&Z.apply(this,arguments)||this;return _.options=void 0,_.series=void 0,_}return Y(H,Z),H.prototype.applyOptions=function(_,j){return _=typeof _.lat!="undefined"&&typeof _.lon!="undefined"?X(_,this.series.chart.fromLatLonToPoint(_)):_,Z.prototype.applyOptions.call(this,_,j)},H}(T.seriesTypes.scatter.prototype.pointClass)}),W(u,"Series/MapPoint/MapPointSeries.js",[u["Series/MapPoint/MapPointPoint.js"],u["Core/Color/Palette.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y,X){var Z=this&&this.__extends||function(){var A=function(D,C){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,o){d.__proto__=o}||function(d,o){for(var k in o)o.hasOwnProperty(k)&&(d[k]=o[k])},A(D,C)};return function(D,C){function d(){this.constructor=D}A(D,C),D.prototype=C===null?Object.create(C):(d.prototype=C.prototype,new d)}}(),H=Y.seriesTypes.scatter,_=X.extend,j=X.merge;return X=function(A){function D(){var C=A!==null&&A.apply(this,arguments)||this;return C.data=void 0,C.options=void 0,C.points=void 0,C}return Z(D,A),D.prototype.drawDataLabels=function(){A.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},D.defaultOptions=j(H.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:I.neutralColor100}}}),D}(H),_(X.prototype,{type:"mappoint",forceDL:!0,pointClass:T}),Y.registerSeriesType("mappoint",X),X}),W(u,"Series/Bubble/BubbleLegendDefaults.js",[u["Core/Color/Palette.js"]],function(T){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:T.neutralColor100},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),W(u,"Series/Bubble/BubbleLegendItem.js",[u["Core/Color/Color.js"],u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(T,I,Y,X){var Z=T.parse,H=Y.noop,_=X.arrayMax,j=X.arrayMin,A=X.isNumber,D=X.merge,C=X.pick,d=X.stableSort;return function(){function o(k,S){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=H,this.init(k,S)}return o.prototype.init=function(k,S){this.options=k,this.visible=!0,this.chart=S.chart,this.legend=S},o.prototype.addToLegend=function(k){k.splice(this.options.legendIndex,0,this)},o.prototype.drawLegendSymbol=function(k){var S=this.chart,h=this.options,w=C(k.options.itemDistance,20),b=h.ranges,g=h.connectorDistance;this.fontMetrics=S.renderer.fontMetrics(h.labels.style.fontSize),b&&b.length&&A(b[0].value)?(d(b,function(p,y){return y.value-p.value}),this.ranges=b,this.setOptions(),this.render(),k=this.getMaxLabelSize(),b=this.ranges[0].radius,S=2*b,g=g-b+k.width,g=0=S&&this.renderRange(h)},this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},o.prototype.renderRange=function(k){var S=this.options,h=S.labels,w=this.chart,b=w.series[S.seriesIndex],g=w.renderer,p=this.symbols;w=p.labels;var y=k.center,P=Math.abs(k.radius),m=S.connectorDistance||0,x=h.align,l=S.connectorWidth,s=this.ranges[0].radius||0,N=y-P-S.borderWidth/2+l/2,R=this.fontMetrics;R=R.f/2-(R.h-R.f)/2;var c=g.styledMode;m=this.legend.options.rtl||x==="left"?-m:m,x==="center"&&(m=0,S.connectorDistance=0,k.labelAttribs.align="center"),x=N+S.labels.y;var E=s+m+S.labels.x;p.bubbleItems.push(g.circle(s,y+((N%1?1:.5)-(l%2?0:.5)),P).attr(c?{}:k.bubbleAttribs).addClass((c?"highcharts-color-"+b.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(S.className||"")).add(this.legendSymbol)),p.connectors.push(g.path(g.crispLine([["M",s,N],["L",s+m,N]],S.connectorWidth)).attr(c?{}:k.connectorAttribs).addClass((c?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(S.connectorClassName||"")).add(this.legendSymbol)),k=g.text(this.formatLabel(k),E,x+R).attr(c?{}:k.labelAttribs).css(c?{}:h.style).addClass("highcharts-bubble-legend-labels "+(S.labels.className||"")).add(this.legendSymbol),w.push(k),k.placed=!0,k.alignAttr={x:E,y:x+R}},o.prototype.getMaxLabelSize=function(){var k,S;return this.symbols.labels.forEach(function(h){S=h.getBBox(!0),k=k?S.width>k.width?S:k:S}),k||{}},o.prototype.formatLabel=function(k){var S=this.options,h=S.labels.formatter;S=S.labels.format;var w=this.chart.numberFormatter;return S?I.format(S,k):h?h.call(k):w(k.value,1)},o.prototype.hideOverlappingLabels=function(){var k=this.chart,S=this.symbols;!this.options.labels.allowOverlap&&S&&(k.hideOverlappingLabels(S.labels),S.labels.forEach(function(h,w){h.newOpacity?h.newOpacity!==h.oldOpacity&&S.connectors[w].show():S.connectors[w].hide()}))},o.prototype.getRanges=function(){var k=this.legend.bubbleLegend,S=k.options.ranges,h,w=Number.MAX_VALUE,b=-Number.MAX_VALUE;k.chart.series.forEach(function(p){p.isBubble&&!p.ignoreSeries&&(h=p.zData.filter(A),h.length&&(w=C(p.options.zMin,Math.min(w,Math.max(j(h),p.options.displayNegative===!1?p.options.zThreshold:-Number.MAX_VALUE))),b=C(p.options.zMax,Math.max(b,_(h)))))});var g=w===b?[{value:b}]:[{value:w},{value:(w+b)/2},{value:b,autoRanges:!0}];return S.length&&S[0].radius&&g.reverse(),g.forEach(function(p,y){S&&S[y]&&(g[y]=D(S[y],p))}),g},o.prototype.predictBubbleSizes=function(){var k=this.chart,S=this.fontMetrics,h=k.legend.options,w=h.layout==="horizontal",b=w?k.legend.lastLineHeight:0,g=k.plotSizeX,p=k.plotSizeY,y=k.series[this.options.seriesIndex];k=Math.ceil(y.minPxSize);var P=Math.ceil(y.maxPxSize),m=Math.min(p,g);return y=y.options.maxSize,h.floating||!/%$/.test(y)?S=P:(y=parseFloat(y),S=(m+b-S.h/2)*y/100/(y/100+1),(w&&p-S>=g||!w&&g-S>=p)&&(S=P)),[k,Math.ceil(S)]},o.prototype.updateRanges=function(k,S){var h=this.legend.options.bubbleLegend;h.minSize=k,h.maxSize=S,h.ranges=this.getRanges()},o.prototype.correctSizes=function(){var k=this.legend,S=this.chart.series[this.options.seriesIndex];1m.height&&(m.height=b[P].itemHeight);m.step=y}return g}function k(b){var g=this.bubbleLegend,p=this.options,y=p.bubbleLegend,P=d(this.chart);g&&g.ranges&&g.ranges.length&&(y.ranges.length&&(y.autoRanges=!!y.ranges[0].autoRanges),this.destroyItem(g)),0<=P&&p.enabled&&y.enabled&&(y.seriesIndex=P,this.bubbleLegend=new I(y,this),this.bubbleLegend.addToLegend(b.allItems))}function S(){var b=this.chart,g=this.visible,p=this.chart.legend;p&&p.bubbleLegend&&(this.visible=!g,this.ignoreSeries=g,b=0<=d(b),p.bubbleLegend.visible!==b&&(p.update({bubbleLegend:{enabled:b}}),p.bubbleLegend.visible=b),this.visible=g)}function h(b,g){var p=b.options.rtl,y,P,m,x=0;b.allItems.forEach(function(l,s){y=l.legendGroup.translateX,P=l._legendItemPos[1],((m=l.movementX)||p&&l.ranges)&&(m=p?y-l.options.maxSize/2:y+m,l.legendGroup.attr({translateX:m})),s>g[x].step&&x++,l.legendGroup.attr({translateY:Math.round(P+g[x].height/2)}),l._legendItemPos[1]=P+g[x].height/2})}var w=[];D.compose=function(b,g,p){w.indexOf(b)===-1&&(w.push(b),Z({legend:{bubbleLegend:T}}),j(b.prototype,"drawChartBox",C)),w.indexOf(g)===-1&&(w.push(g),H(g,"afterGetAllItems",k)),w.indexOf(p)===-1&&(w.push(p),H(p,"legendItemClick",S))}}(A||(A={})),A}),W(u,"Series/Bubble/BubblePoint.js",[u["Core/Series/Point.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y){var X=this&&this.__extends||function(){var Z=function(H,_){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,A){j.__proto__=A}||function(j,A){for(var D in A)A.hasOwnProperty(D)&&(j[D]=A[D])},Z(H,_)};return function(H,_){function j(){this.constructor=H}Z(H,_),H.prototype=_===null?Object.create(_):(j.prototype=_.prototype,new j)}}();return Y=Y.extend,I=function(Z){function H(){var _=Z!==null&&Z.apply(this,arguments)||this;return _.options=void 0,_.series=void 0,_}return X(H,Z),H.prototype.haloPath=function(_){return T.prototype.haloPath.call(this,_===0?0:(this.marker&&this.marker.radius||0)+_)},H}(I.seriesTypes.scatter.prototype.pointClass),Y(I.prototype,{ttBelow:!1}),I}),W(u,"Series/Bubble/BubbleSeries.js",[u["Core/Axis/Axis.js"],u["Series/Bubble/BubbleLegendComposition.js"],u["Series/Bubble/BubblePoint.js"],u["Core/Color/Color.js"],u["Core/Globals.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"]],function(T,I,Y,X,Z,H,_,j){var A=this&&this.__extends||function(){var y=function(P,m){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,l){x.__proto__=l}||function(x,l){for(var s in l)l.hasOwnProperty(s)&&(x[s]=l[s])},y(P,m)};return function(P,m){function x(){this.constructor=P}y(P,m),P.prototype=m===null?Object.create(m):(x.prototype=m.prototype,new x)}}(),D=X.parse;X=Z.noop;var C=_.seriesTypes;Z=C.column;var d=C.scatter,o=j.arrayMax,k=j.arrayMin,S=j.clamp,h=j.extend,w=j.isNumber,b=j.merge,g=j.pick,p=j.pInt;return j=function(y){function P(){var m=y!==null&&y.apply(this,arguments)||this;return m.data=void 0,m.maxPxSize=void 0,m.minPxSize=void 0,m.options=void 0,m.points=void 0,m.radii=void 0,m.yData=void 0,m.zData=void 0,m}return A(P,y),P.prototype.animate=function(m){!m&&this.points.length=this.minPxSize/2?(s.marker=h(s.marker,{radius:N,width:2*N,height:2*N}),s.dlBox={x:s.plotX-N,y:s.plotY-N,width:2*N,height:2*N}):s.shapeArgs=s.plotY=s.dlBox=void 0}},P.compose=I.compose,P.defaultOptions=b(d.defaultOptions,{dataLabels:{formatter:function(){var m=this.series.chart.numberFormatter,x=this.point.z;return w(x)?m(x,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),P}(d),h(j.prototype,{alignDataLabel:Z.prototype.alignDataLabel,applyZones:X,bubblePadding:!0,buildKDTree:X,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:Y,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),T.prototype.beforePadding=function(){var y=this,P=this.len,m=this.chart,x=0,l=P,s=this.isXAxis,N=s?"xData":"yData",R=this.min,c={},E=Math.min(m.plotWidth,m.plotHeight),L=Number.MAX_VALUE,et=-Number.MAX_VALUE,nt=this.max-R,rt=P/nt,G=[];this.series.forEach(function(ut){var F=ut.options;!ut.bubblePadding||!ut.visible&&m.options.chart.ignoreHiddenSeries||(y.allowZoomOutside=!0,G.push(ut),s&&(["minSize","maxSize"].forEach(function(B){var st=F[B],ht=/%$/.test(st);st=p(st),c[B]=ht?E*st/100:st}),ut.minPxSize=c.minSize,ut.maxPxSize=Math.max(c.maxSize,c.minSize),ut=ut.zData.filter(w),ut.length&&(L=g(F.zMin,S(k(ut),F.displayNegative===!1?F.zThreshold:-Number.MAX_VALUE,L)),et=g(F.zMax,Math.max(et,o(ut))))))}),G.forEach(function(ut){var F=ut[N],B=F.length;if(s&&ut.getRadii(L,et,ut),0"},states:{hover:{halo:!1,brightness:.2}}}),y}(o),S(_.prototype,{alignDataLabel:d.prototype.alignDataLabel,axisTypes:I.axisTypes,colorAttribs:I.colorAttribs,colorKey:I.colorKey,directTouch:!0,drawLegendSymbol:X.drawRectangle,getExtremesFromAll:!0,getSymbol:D.prototype.getSymbol,parallelArrays:I.parallelArrays,pointArrayMap:["y","value"],pointClass:Y,trackerGroups:I.trackerGroups}),H.registerSeriesType("heatmap",_),_}),W(u,"Extensions/GeoJSON.js",[u["Core/Chart/Chart.js"],u["Core/FormatUtilities.js"],u["Core/Globals.js"],u["Core/Utilities.js"]],function(T,I,Y,X){function Z(C,d){var o,k=!1,S=C.x,h=C.y;for(C=0,o=d.length-1;Ch,b=d[o][1]>h;w!==b&&S<(d[o][0]-d[C][0])*(h-d[C][1])/(d[o][1]-d[C][1])+d[C][0]&&(k=!k)}return k}var H=I.format,_=Y.win,j=X.error,A=X.extend,D=X.merge;I=X.wrap,T.prototype.transformFromLatLon=function(C,d){var o=this.userOptions.chart&&this.userOptions.chart.proj4||_.proj4;if(!o)return j(21,!1,this),{x:0,y:null};C=o(d.crs,[C.lon,C.lat]),o=d.cosAngle||d.rotation&&Math.cos(d.rotation);var k=d.sinAngle||d.rotation&&Math.sin(d.rotation);return C=d.rotation?[C[0]*o+C[1]*k,-C[0]*k+C[1]*o]:C,{x:((C[0]-(d.xoffset||0))*(d.scale||1)+(d.xpan||0))*(d.jsonres||1)+(d.jsonmarginX||0),y:(((d.yoffset||0)-C[1])*(d.scale||1)+(d.ypan||0))*(d.jsonres||1)-(d.jsonmarginY||0)}},T.prototype.transformToLatLon=function(C,d){if(typeof _.proj4=="undefined")j(21,!1,this);else{C={x:((C.x-(d.jsonmarginX||0))/(d.jsonres||1)-(d.xpan||0))/(d.scale||1)+(d.xoffset||0),y:((-C.y-(d.jsonmarginY||0))/(d.jsonres||1)+(d.ypan||0))/(d.scale||1)+(d.yoffset||0)};var o=d.cosAngle||d.rotation&&Math.cos(d.rotation),k=d.sinAngle||d.rotation&&Math.sin(d.rotation);return d=_.proj4(d.crs,"WGS84",d.rotation?{x:C.x*o+C.y*-k,y:C.x*k+C.y*o}:C),{lat:d.y,lon:d.x}}},T.prototype.fromPointToLatLon=function(C){var d=this.mapTransforms,o;if(d){for(o in d)if(Object.hasOwnProperty.call(d,o)&&d[o].hitZone&&Z({x:C.x,y:-C.y},d[o].hitZone.coordinates[0]))return this.transformToLatLon(C,d[o]);return this.transformToLatLon(C,d.default)}j(22,!1,this)},T.prototype.fromLatLonToPoint=function(C){var d=this.mapTransforms,o;if(!d)return j(22,!1,this),{x:0,y:null};for(o in d)if(Object.hasOwnProperty.call(d,o)&&d[o].hitZone){var k=this.transformFromLatLon(C,d[o]);if(Z({x:k.x,y:-k.y},d[o].hitZone.coordinates[0]))return k}return this.transformFromLatLon(C,d.default)},Y.geojson=function(C,d,o){var k=[],S=[],h=function(w){w.forEach(function(b,g){g===0?S.push(["M",b[0],-b[1]]):S.push(["L",b[0],-b[1]])})};return d=d||"map",C.features.forEach(function(w){var b=w.geometry,g=b.type;b=b.coordinates,w=w.properties;var p;S=[],d==="map"||d==="mapbubble"?(g==="Polygon"?(b.forEach(h),S.push(["Z"])):g==="MultiPolygon"&&(b.forEach(function(y){y.forEach(h)}),S.push(["Z"])),S.length&&(p={path:S})):d==="mapline"?(g==="LineString"?h(b):g==="MultiLineString"&&b.forEach(h),S.length&&(p={path:S})):d==="mappoint"&&g==="Point"&&(p={x:b[0],y:-b[1]}),p&&k.push(A(p,{name:w.name||w.NAME,properties:w}))}),o&&C.copyrightShort&&(o.chart.mapCredits=H(o.chart.options.credits.mapText,{geojson:C}),o.chart.mapCreditsFull=H(o.chart.options.credits.mapTextFull,{geojson:C})),k},I(T.prototype,"addCredits",function(C,d){d=D(!0,this.options.credits,d),this.mapCredits&&(d.href=null),C.call(this,d),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})}),W(u,"masters/modules/map.src.js",[u["Core/Globals.js"],u["Core/Axis/Color/ColorAxis.js"],u["Series/MapBubble/MapBubbleSeries.js"],u["Core/Chart/MapChart.js"]],function(T,I,Y,X){T.ColorAxis=I,T.MapChart=X,T.mapChart=T.Map=X.mapChart,T.maps=X.maps,I.compose(T.Chart,T.Fx,T.Legend,T.Series),Y.compose(T.Chart,T.Legend,T.Series)}),W(u,"masters/highmaps.src.js",[u["masters/highcharts.src.js"]],function(T){return T.product="Highmaps",T}),u["masters/highmaps.src.js"]._modules=u,u["masters/highmaps.src.js"]})},1248:(lr,pe,xt)=>{"use strict";var ft,Mt;(function(W){lr.exports?(W.default=W,lr.exports=W):(ft=[xt(6193)],Mt=function(u){return W(u),W.Highcharts=u,W}.apply(pe,ft),Mt!==void 0&&(lr.exports=Mt))})(function(W){function u(T,I,Y,X){T.hasOwnProperty(I)||(T[I]=X.apply(null,Y))}W=W?W._modules:{},u(W,"Accessibility/Utils/HTMLUtilities.js",[W["Core/Globals.js"],W["Core/Utilities.js"]],function(T,I){var Y=T.doc,X=T.win,Z=I.merge;return{addClass:function(H,_){H.classList?H.classList.add(_):0>H.className.indexOf(_)&&(H.className+=_)},escapeStringForHTML:function(H){return H.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")},getElement:function(H){return Y.getElementById(H)},getFakeMouseEvent:function(H){if(typeof X.MouseEvent=="function")return new X.MouseEvent(H);if(Y.createEvent){var _=Y.createEvent("MouseEvent");if(_.initMouseEvent)return _.initMouseEvent(H,!0,!0,X,H==="click"?1:0,0,0,0,0,!1,!1,!1,!1,0,null),_}return{type:H}},getHeadingTagNameForElement:function(H){var _=function(A){return A=parseInt(A.slice(1),10),"h"+Math.min(6,A+1)},j=function(A){var D;t:{for(D=A;D=D.previousSibling;){var C=D.tagName||"";if(/H[1-6]/.test(C)){D=C;break t}}D=""}return D?_(D):(A=A.parentElement,A?(D=A.tagName,/H[1-6]/.test(D)?_(D):j(A)):"p")};return j(H)},removeElement:function(H){H&&H.parentNode&&H.parentNode.removeChild(H)},reverseChildNodes:function(H){for(var _=H.childNodes.length;_--;)H.appendChild(H.childNodes[_])},setElAttrs:function(H,_){Object.keys(_).forEach(function(j){var A=_[j];A===null?H.removeAttribute(j):H.setAttribute(j,A)})},stripHTMLTagsFromString:function(H){return typeof H=="string"?H.replace(/<\/?[^>]+(>|$)/g,""):H},visuallyHideElement:function(H){Z(!0,H.style,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:"0.01"})}}}),u(W,"Accessibility/Utils/ChartUtilities.js",[W["Accessibility/Utils/HTMLUtilities.js"],W["Core/Globals.js"],W["Core/Utilities.js"]],function(T,I,Y){function X(k){var S=k.chart,h={},w="Seconds";h.Seconds=((k.max||0)-(k.min||0))/1e3,h.Minutes=h.Seconds/60,h.Hours=h.Minutes/60,h.Days=h.Hours/24,["Minutes","Hours","Days"].forEach(function(g){2m||l!==P-1,x.a11yProxyElement&&(x.a11yProxyElement.style.visibility=l?"hidden":"visible")})},onChartRender:function(){D(this.chart)||this.removeProxies()},onChartUpdate:function(){this.updateLegendTitle()},updateProxiesPositions:function(){for(var y=0,P=this.proxyElementsList;y/g," "));y=y.langFormat("accessibility.legend.legendLabel"+(P?"":"NoTitle"),{chart:y,legendTitle:P,chartTitle:p(y)}),this.legendProxyGroup&&this.legendProxyGroup.setAttribute("aria-label",y)},addLegendProxyGroup:function(){this.legendProxyGroup=this.addProxyGroup({"aria-label":"_placeholder_",role:this.chart.options.accessibility.landmarkVerbosity==="all"?"region":null})},addLegendListContainer:function(){if(this.legendProxyGroup){var y=this.legendListContainer=this.createElement("ul");y.style.listStyle="none",this.legendProxyGroup.appendChild(y)}},proxyLegendItems:function(){var y=this;(this.chart.legend&&this.chart.legend.allItems||[]).forEach(function(P){P.legendItem&&P.legendItem.element&&y.proxyLegendItem(P)})},proxyLegendItem:function(y){if(y.legendItem&&y.legendGroup&&this.legendListContainer){var P=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:g(y.name),item:y});P={tabindex:-1,"aria-pressed":y.visible,"aria-label":P};var m=y.legendGroup.div?y.legendItem:y.legendGroup,x=this.createElement("li");this.legendListContainer.appendChild(x),y.a11yProxyElement=this.createProxyButton(y.legendItem,x,P,m),this.proxyElementsList.push({item:y,element:y.a11yProxyElement,posElement:m})}},getKeyboardNavigation:function(){var y=this.keyCodes,P=this,m=this.chart;return new _(m,{keyCodeMap:[[[y.left,y.right,y.up,y.down],function(x){return P.onKbdArrowKey(this,x)}],[[y.enter,y.space],function(x){return Y.isFirefox&&x===y.space?this.response.success:P.onKbdClick(this)}]],validate:function(){return P.shouldHaveLegendNavigation()},init:function(x){return P.onKbdNavigationInit(x)},terminate:function(){m.legend.allItems.forEach(function(x){return x.setState("",!0)})}})},onKbdArrowKey:function(y,P){var m=this.keyCodes,x=y.response,l=this.chart,s=l.options.accessibility,N=l.legend.allItems.length;return P=P===m.left||P===m.up?-1:1,l.highlightLegendItem(this.highlightedLegendItemIx+P)?(this.highlightedLegendItemIx+=P,x.success):1=c&&m||0<=c&&!m||5>E||d(R))&&E"+A+"":""})}var H=T.escapeStringForHTML,_=T.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(j){var A=j.annotations;return A&&A.length?'
    '+Z(j).join(" ")+"
":""},getAnnotationLabelDescription:X,getAnnotationListItems:Z,getPointAnnotationTexts:function(j){var A=I(j.series.chart).filter(function(D){return-1G&&ut.graphic&&ut.graphic.element)})||null}function _(rt){var G=rt.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(G!==!1&&rt.points&&rt.points.length>=G)}function j(rt){var G=rt.options.accessibility||{};return!_(rt)&&!G.exposeAsGroupOnly}function A(rt){var G=rt.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!(!rt.points||!(rt.points.length"," "),F=rt.id&&0>rt.id.indexOf("highcharts-"),B="x, "+rt.x;return rt.name||G||ut||(F?rt.id:B)}function S(rt,G,ut){var F=G||"",B=ut||"";return rt.series.pointArrayMap.reduce(function(st,ht){st+=st.length?", ":"";var tt=D(rt,et(rt[ht],rt.options[ht]));return st+(ht+": "+F+tt+B)},"")}function h(rt){var G=rt.series,ut=G.chart.options.accessibility.point||{},F=G.tooltipOptions||{},B=ut.valuePrefix||F.valuePrefix||"";return ut=ut.valueSuffix||F.valueSuffix||"",F=D(rt,rt[typeof rt.value!="undefined"?"value":"y"]),rt.isNull?G.chart.langFormat("accessibility.series.nullPointValue",{point:rt}):G.pointArrayMap?S(rt,B,ut):B+F+ut}function w(rt){var G=rt.series,ut=G.chart,F=ut.options.accessibility.point.valueDescriptionFormat,B=(G=et(G.xAxis&&G.xAxis.options.accessibility&&G.xAxis.options.accessibility.enabled,!ut.angular))?k(rt):"";return rt={point:rt,index:nt(rt.index)?rt.index+1:"",xDescription:B,value:h(rt),separator:G?", ":""},s(F,rt,ut)}function b(rt){var G=rt.series,ut=G.chart,F=w(rt),B=rt.options&&rt.options.accessibility&&rt.options.accessibility.description;B=B?" "+B:"",G=1C&&kd.dataMax&&(o=d.dataMax,k=o-S),this.setExtremes(k,o)},I.prototype=new T,X(I.prototype,{init:function(){var C=this,d=this.chart;["afterShowResetZoom","afterDrilldown","drillupall"].forEach(function(o){C.addEvent(d,o,function(){C.updateProxyOverlays()})})},onChartUpdate:function(){var C=this.chart,d=this;C.mapNavButtons&&C.mapNavButtons.forEach(function(o,k){_(C,o.element),d.setMapNavButtonAttrs(o.element,"accessibility.zoom.mapZoom"+(k?"Out":"In"))})},setMapNavButtonAttrs:function(C,d){var o=this.chart;d=o.langFormat(d,{chart:o}),A(C,{tabindex:-1,role:"button","aria-label":d})},onChartRender:function(){this.updateProxyOverlays()},updateProxyOverlays:function(){var C=this.chart;j(this.drillUpProxyGroup),j(this.resetZoomProxyGroup),C.resetZoomButton&&this.recreateProxyButtonAndGroup(C.resetZoomButton,"resetZoomProxyButton","resetZoomProxyGroup",C.langFormat("accessibility.zoom.resetZoomButton",{chart:C})),C.drillUpButton&&this.recreateProxyButtonAndGroup(C.drillUpButton,"drillUpProxyButton","drillUpProxyGroup",C.langFormat("accessibility.drillUpButton",{chart:C,buttonText:C.getDrilldownBackText()}))},recreateProxyButtonAndGroup:function(C,d,o,k){j(this[o]),this[o]=this.addProxyGroup(),this[d]=this.createProxyButton(C,this[o],{"aria-label":k,tabindex:-1})},getMapZoomNavigation:function(){var C=this.keyCodes,d=this.chart,o=this;return new Z(d,{keyCodeMap:[[[C.up,C.down,C.left,C.right],function(k){return o.onMapKbdArrow(this,k)}],[[C.tab],function(k,S){return o.onMapKbdTab(this,S)}],[[C.space,C.enter],function(){return o.onMapKbdClick(this)}]],validate:function(){return!!(d.mapZoom&&d.mapNavButtons&&d.mapNavButtons.length)},init:function(k){return o.onMapNavInit(k)}})},onMapKbdArrow:function(C,d){var o=this.keyCodes;return this.chart[d===o.up||d===o.down?"yAxis":"xAxis"][0].panStep(d===o.left||d===o.up?-1:1),C.response.success},onMapKbdTab:function(C,d){var o=this.chart;C=C.response;var k=(d=d.shiftKey)&&!this.focusedMapNavButtonIx||!d&&this.focusedMapNavButtonIx;return o.mapNavButtons[this.focusedMapNavButtonIx].setState(0),k?(o.mapZoom(),C[d?"prev":"next"]):(this.focusedMapNavButtonIx+=d?-1:1,d=o.mapNavButtons[this.focusedMapNavButtonIx],o.setFocusToElement(d.box,d.element),d.setState(2),C.success)},onMapKbdClick:function(C){return this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx].element),C.response.success},onMapNavInit:function(C){var d=this.chart,o=d.mapNavButtons[0],k=d.mapNavButtons[1];o=0B-F,Ot=at=864e5*{month:28,year:365}[bt]*mt-Nt&&rt-36e5<=864e5*{month:31,year:366}[bt]*mt+Nt?at=!0:bt==="ytd"?(at=ht-st+Nt===rt,At=!K):bt==="all"&&(at=nt.max-nt.min>=B-F,St=!K&&ct&&at),bt=!U&&(Ft||Ot||St||G),mt=K&&at||at&&!ct&&!At||K&&E.frozenStates,bt?vt=3:mt&&(ct=!0,vt=2),Ct.state!==vt&&(Ct.setState(vt),et&&(et.options[q+1].disabled=bt,vt===2&&(et.selectedIndex=q+1)),vt===0&&tt===q&&E.setSelected())})},c.prototype.computeButtonRange=function(E){var L=E.type,et=E.count||1,nt={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};nt[L]?E._range=nt[L]*et:(L==="month"||L==="year")&&(E._range=864e5*{month:30,year:365}[L]*et),E._offsetMin=m(E.offsetMin,0),E._offsetMax=m(E.offsetMax,0),E._range+=E._offsetMax-E._offsetMin},c.prototype.getInputValue=function(E){E=E==="min"?this.minInput:this.maxInput;var L=this.chart.options.rangeSelector,et=this.chart.time;return E?(E.type==="text"&&L.inputDateParser||this.defaultInputDateParser)(E.value,et.useUTC,et):0},c.prototype.setInputValue=function(E,L){var et=this.options,nt=this.chart.time,rt=E==="min"?this.minInput:this.maxInput;if(E=E==="min"?this.minDateBox:this.maxDateBox,rt){var G=rt.getAttribute("data-hc-time");G=o(G)?Number(G):void 0,o(L)&&(o(G)&&rt.setAttribute("data-hc-time-previous",G),rt.setAttribute("data-hc-time",L),G=L),rt.value=nt.dateFormat(this.inputTypeFormats[rt.type]||et.inputEditDateFormat,G),E&&E.attr({text:nt.dateFormat(et.inputDateFormat,G)})}},c.prototype.setInputExtremes=function(E,L,et){if(E=E==="min"?this.minInput:this.maxInput){var nt=this.inputTypeFormats[E.type],rt=this.chart.time;nt&&(L=rt.dateFormat(nt,L),E.min!==L&&(E.min=L),et=rt.dateFormat(nt,et),E.max!==et&&(E.max=et))}},c.prototype.showInput=function(E){var L=E==="min"?this.minDateBox:this.maxDateBox;if((E=E==="min"?this.minInput:this.maxInput)&&L&&this.inputGroup){var et=E.type==="text",nt=this.inputGroup,rt=nt.translateX;nt=nt.translateY;var G=this.options.inputBoxWidth;d(E,{width:et?L.width+(G?-2:20)+"px":"auto",height:et?L.height-2+"px":"auto",border:"2px solid silver"}),et&&G?d(E,{left:rt+L.x+"px",top:nt+"px"}):d(E,{left:Math.min(Math.round(L.x+rt-(E.offsetWidth-L.width)/2),this.chart.chartWidth-E.offsetWidth)+"px",top:nt-(E.offsetHeight-L.height)/2+"px"})}},c.prototype.hideInput=function(E){(E=E==="min"?this.minInput:this.maxInput)&&d(E,{top:"-9999em",border:0,width:"1px",height:"1px"})},c.prototype.defaultInputDateParser=function(E,L,et){var nt=E.split("/").join("-").split(" ").join("T");if(nt.indexOf("T")===-1&&(nt+="T00:00"),L)nt+="Z";else{var rt;(rt=Y.isSafari)&&(rt=nt,rt=!(6=rt?"+"+P(-rt)+":00":"-"+P(rt)+":00")}return nt=Date.parse(nt),g(nt)||(E=E.split("-"),nt=Date.UTC(x(E[0]),x(E[1])-1,x(E[2]))),et&&L&&g(nt)&&(nt+=et.getTimezoneOffset(nt)),nt},c.prototype.drawInput=function(E){function L(){var U=G.getInputValue(E),J=et.xAxis[0],K=et.scroller&&et.scroller.xAxis?et.scroller.xAxis:J,q=K.dataMin;K=K.dataMax;var at=G.maxInput,bt=G.minInput;U!==Number(tt.getAttribute("data-hc-time-previous"))&&g(U)&&(tt.setAttribute("data-hc-time-previous",U),st&&at&&g(q)?U>Number(at.getAttribute("data-hc-time"))?U=void 0:UK&&(U=K)),typeof U!="undefined"&&J.setExtremes(st?U:J.min,st?J.max:U,void 0,void 0,{trigger:"rangeSelectorInput"}))}var et=this.chart,nt=this.div,rt=this.inputGroup,G=this,ut=et.renderer.style||{},F=et.renderer,B=et.options.rangeSelector,st=E==="min",ht=A.lang[st?"rangeSelectorFrom":"rangeSelectorTo"]||"";ht=F.label(ht,0).addClass("highcharts-range-label").attr({padding:ht?2:0,height:ht?B.inputBoxHeight:0}).add(rt),F=F.label("",0).addClass("highcharts-range-input").attr({padding:2,width:B.inputBoxWidth,height:B.inputBoxHeight,"text-align":"center"}).on("click",function(){G.showInput(E),G[E+"Input"].focus()}),et.styledMode||F.attr({stroke:B.inputBoxBorderColor,"stroke-width":1}),F.add(rt);var tt=C("input",{name:E,className:"highcharts-range-selector"},void 0,nt);tt.setAttribute("type",j(B.inputDateFormat||"%b %e, %Y")),et.styledMode||(ht.css(p(ut,B.labelStyle)),F.css(p({color:Z.neutralColor80},ut,B.inputStyle)),d(tt,h({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:ut.fontSize,fontFamily:ut.fontFamily,top:"-9999em"},B.inputStyle))),tt.onfocus=function(){G.showInput(E)},tt.onblur=function(){tt===Y.doc.activeElement&&L(),G.hideInput(E),G.setInputValue(E),tt.blur()};var ct=!1;return tt.onchange=function(){ct||(L(),G.hideInput(E),tt.blur())},tt.onkeypress=function(U){U.keyCode===13&&L()},tt.onkeydown=function(U){ct=!0,U.keyCode!==38&&U.keyCode!==40||L()},tt.onkeyup=function(){ct=!1},{dateBox:F,input:tt,label:ht}},c.prototype.getPosition=function(){var E=this.chart,L=E.options.rangeSelector;return E=L.verticalAlign==="top"?E.plotTop-E.axisOffset[0]:0,{buttonTop:E+L.buttonPosition.y,inputTop:E+L.inputPosition.y-10}},c.prototype.getYTDExtremes=function(E,L,et){var nt=this.chart.time,rt=new nt.Date(E),G=nt.get("FullYear",rt);return et=et?nt.Date.UTC(G,0,1):+new nt.Date(G,0,1),L=Math.max(L,et),rt=rt.getTime(),{max:Math.min(E||rt,rt),min:L}},c.prototype.render=function(E,L){var et=this.chart,nt=et.renderer,rt=et.container,G=et.options,ut=G.rangeSelector,F=m(G.chart.style&&G.chart.style.zIndex,0)+1;if(G=ut.inputEnabled,ut.enabled!==!1){if(this.rendered||(this.group=nt.g("range-selector-group").attr({zIndex:7}).add(),this.div=C("div",void 0,{position:"relative",height:0,zIndex:F}),this.buttonOptions.length&&this.renderButtons(),rt.parentNode&&rt.parentNode.insertBefore(this.div,rt),G&&(this.inputGroup=nt.g("input-group").add(this.group),nt=this.drawInput("min"),this.minDateBox=nt.dateBox,this.minLabel=nt.label,this.minInput=nt.input,nt=this.drawInput("max"),this.maxDateBox=nt.dateBox,this.maxLabel=nt.label,this.maxInput=nt.input)),G&&(this.setInputValue("min",E),this.setInputValue("max",L),E=et.scroller&&et.scroller.getUnionExtremes()||et.xAxis[0]||{},o(E.dataMin)&&o(E.dataMax)&&(et=et.xAxis[0].minRange||0,this.setInputExtremes("min",E.dataMin,Math.min(E.dataMax,this.getInputValue("max"))-et),this.setInputExtremes("max",Math.max(E.dataMin,this.getInputValue("min"))+et,E.dataMax)),this.inputGroup)){var B=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(st){if(st){var ht=st.getBBox().width;ht&&(st.attr({x:B}),B+=ht+ut.inputSpacing)}})}this.alignElements(),this.rendered=!0}},c.prototype.renderButtons=function(){var E=this,L=this.buttons,et=this.options,nt=A.lang,rt=this.chart.renderer,G=p(et.buttonTheme),ut=G&&G.states,F=G.width||28;delete G.width,delete G.states,this.buttonGroup=rt.g("range-selector-buttons").add(this.group);var B=this.dropdown=C("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);D(B,"touchstart",function(){B.style.fontSize="16px"}),[[Y.isMS?"mouseover":"mouseenter"],[Y.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(st){var ht=st[0],tt=st[1];D(B,ht,function(){var ct=L[E.currentButtonIndex()];ct&&b(ct.element,tt||ht)})}),this.zoomText=rt.label(nt&&nt.rangeSelectorZoom||"",0).attr({padding:et.buttonTheme.padding,height:et.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(et.labelStyle),G["stroke-width"]=m(G["stroke-width"],0)),C("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,B),this.buttonOptions.forEach(function(st,ht){C("option",{textContent:st.title||st.text},void 0,B),L[ht]=rt.button(st.text,0,0,function(tt){var ct=st.events&&st.events.click,U;ct&&(U=ct.call(st,tt)),U!==!1&&E.clickButton(ht),E.isActive=!0},G,ut&&ut.hover,ut&&ut.select,ut&&ut.disabled).attr({"text-align":"center",width:F}).add(E.buttonGroup),st.title&&L[ht].attr("title",st.title)})},c.prototype.alignElements=function(){var E=this,L=this.buttonGroup,et=this.buttons,nt=this.chart,rt=this.group,G=this.inputGroup,ut=this.options,F=this.zoomText,B=nt.options,st=B.exporting&&B.exporting.enabled!==!1&&B.navigation&&B.navigation.buttonOptions;B=ut.buttonPosition;var ht=ut.inputPosition,tt=ut.verticalAlign,ct=function(q,at){return st&&E.titleCollision(nt)&&tt==="top"&&at.align==="right"&&at.y-q.getBBox().height-12<(st.y||0)+(st.height||0)+nt.spacing[0]?-40:0},U=nt.plotLeft;if(rt&&B&&ht){var J=B.x-nt.spacing[3];if(L){if(this.positionButtons(),!this.initialButtonGroupWidth){var K=0;F&&(K+=F.getBBox().width+5),et.forEach(function(q,at){K+=q.width,at!==et.length-1&&(K+=ut.buttonSpacing)}),this.initialButtonGroupWidth=K}U-=nt.spacing[3],this.updateButtonStates(),F=ct(L,B),this.alignButtonGroup(F),rt.placed=L.placed=nt.hasLoaded}L=0,G&&(L=ct(G,ht),ht.align==="left"?J=U:ht.align==="right"&&(J=-Math.max(nt.axisOffset[1],-L)),G.align({y:ht.y,width:G.getBBox().width,align:ht.align,x:ht.x+J-2},!0,nt.spacingBox),G.placed=nt.hasLoaded),this.handleCollision(L),rt.align({verticalAlign:tt},!0,nt.spacingBox),G=rt.alignAttr.translateY,L=rt.getBBox().height+20,ct=0,tt==="bottom"&&(ct=(ct=nt.legend&&nt.legend.options)&&ct.verticalAlign==="bottom"&&ct.enabled&&!ct.floating?nt.legend.legendHeight+m(ct.margin,10):0,L=L+ct-20,ct=G-L-(ut.floating?0:ut.y)-(nt.titleOffset?nt.titleOffset[2]:0)-10),tt==="top"?(ut.floating&&(ct=0),nt.titleOffset&&nt.titleOffset[0]&&(ct=nt.titleOffset[0]),ct+=nt.margin[0]-nt.spacing[0]||0):tt==="middle"&&(ht.y===B.y?ct=G:(ht.y||B.y)&&(ct=0>ht.y||0>B.y?ct-Math.min(ht.y,B.y):G-L)),rt.translate(ut.x,ut.y+Math.floor(ct)),B=this.minInput,ht=this.maxInput,G=this.dropdown,ut.inputEnabled&&B&&ht&&(B.style.marginTop=rt.translateY+"px",ht.style.marginTop=rt.translateY+"px"),G&&(G.style.marginTop=rt.translateY+"px")}},c.prototype.alignButtonGroup=function(E,L){var et=this.chart,nt=this.buttonGroup,rt=this.options.buttonPosition,G=et.plotLeft-et.spacing[3],ut=rt.x-et.spacing[3];rt.align==="right"?ut+=E-G:rt.align==="center"&&(ut-=G/2),nt&&nt.align({y:rt.y,width:m(L,this.initialButtonGroupWidth),align:rt.align,x:ut},!0,et.spacingBox)},c.prototype.positionButtons=function(){var E=this.buttons,L=this.chart,et=this.options,nt=this.zoomText,rt=L.hasLoaded?"animate":"attr",G=et.buttonPosition,ut=L.plotLeft,F=ut;nt&&nt.visibility!=="hidden"&&(nt[rt]({x:m(ut+G.x,ut)}),F+=G.x+nt.getBBox().width+5),this.buttonOptions.forEach(function(B,st){E[st].visibility!=="hidden"?(E[st][rt]({x:F}),F+=E[st].width+et.buttonSpacing):E[st][rt]({x:ut})})},c.prototype.handleCollision=function(E){var L=this,et=this.chart,nt=this.buttonGroup,rt=this.inputGroup,G=this.options,ut=G.buttonPosition,F=G.dropdown,B=G.inputPosition;G=function(){var tt=0;return L.buttons.forEach(function(ct){ct=ct.getBBox(),ct.width>tt&&(tt=ct.width)}),tt};var st=function(tt){if(rt&&nt){var ct=rt.alignAttr.translateX+rt.alignOptions.x-E+rt.getBBox().x+2,U=rt.alignOptions.width,J=nt.alignAttr.translateX+nt.getBBox().x;return J+tt>ct&&ct+U>J&&ut.y=-E?0:-E),translateY:rt.alignAttr.translateY+nt.getBBox().height+10})};if(nt){if(F==="always"){this.collapseButtons(E),st(G())&&ht();return}F==="never"&&this.expandButtons()}rt&&nt?B.align===ut.align||st(this.initialButtonGroupWidth+20)?F==="responsive"?(this.collapseButtons(E),st(G())&&ht()):ht():F==="responsive"&&this.expandButtons():nt&&F==="responsive"&&(this.initialButtonGroupWidth>et.plotWidth?this.collapseButtons(E):this.expandButtons())},c.prototype.collapseButtons=function(E){var L=this.buttons,et=this.buttonOptions,nt=this.chart,rt=this.dropdown,G=this.options,ut=this.zoomText,F=nt.userOptions.rangeSelector&&nt.userOptions.rangeSelector.buttonTheme||{},B=function(ht){return{text:ht?ht+" \u25BE":"\u25BE",width:"auto",paddingLeft:m(G.buttonTheme.paddingLeft,F.padding,8),paddingRight:m(G.buttonTheme.paddingRight,F.padding,8)}};ut&&ut.hide();var st=!1;et.forEach(function(ht,tt){tt=L[tt],tt.state!==2?tt.hide():(tt.show(),tt.attr(B(ht.text)),st=!0)}),st||(rt&&(rt.selectedIndex=0),L[0].show(),L[0].attr(B(this.zoomText&&this.zoomText.textStr))),et=G.buttonPosition.align,this.positionButtons(),et!=="right"&&et!=="center"||this.alignButtonGroup(E,L[this.currentButtonIndex()].getBBox().width),this.showDropdown()},c.prototype.expandButtons=function(){var E=this.buttons,L=this.buttonOptions,et=this.options,nt=this.zoomText;this.hideDropdown(),nt&&nt.show(),L.forEach(function(rt,G){G=E[G],G.show(),G.attr({text:rt.text,width:et.buttonTheme.width||28,paddingLeft:m(et.buttonTheme.paddingLeft,"unset"),paddingRight:m(et.buttonTheme.paddingRight,"unset")}),2>G.state&&G.setState(0)}),this.positionButtons()},c.prototype.currentButtonIndex=function(){var E=this.dropdown;return E&&0rt&&0>nt||0h?k.accessibility&&(k.accessibility.keyboardNavigation.tabindexContainer.focus(),k.accessibility.keyboardNavigation[0>o?"prev":"next"]()):S&&(o=S[h?"maxDateBox":"minDateBox"],S=S[h?"maxInput":"minInput"],o&&S&&k.setFocusToElement(o,S))},onInputNavInit:function(o){var k=this,S=this,h=this.chart,w=0this.series.length?"Single":"Multiple";return(this.langFormat("accessibility.chartTypes."+l+R,N)||this.langFormat("accessibility.chartTypes.default"+R,N))+(s?" "+s:"")},I=function(){},I.prototype=new H,Y(I.prototype,{init:function(){var l=this.chart,s=this;this.initRegionsDefinitions(),this.addEvent(l,"aftergetTableAST",function(N){s.onDataTableCreated(N)}),this.addEvent(l,"afterViewData",function(N){s.dataTableDiv=N,setTimeout(function(){s.focusDataTable()},300)}),this.announcer=new _(l,"assertive")},initRegionsDefinitions:function(){var l=this;this.screenReaderSections={before:{element:null,buildContent:function(s){var N=s.options.accessibility.screenReaderSection.beforeChartFormatter;return N?N(s):l.defaultBeforeChartFormatter(s)},insertIntoDOM:function(s,N){N.renderTo.insertBefore(s,N.renderTo.firstChild)},afterInserted:function(){typeof l.sonifyButtonId!="undefined"&&l.initSonifyButton(l.sonifyButtonId),typeof l.dataTableButtonId!="undefined"&&l.initDataTableButton(l.dataTableButtonId)}},after:{element:null,buildContent:function(s){var N=s.options.accessibility.screenReaderSection.afterChartFormatter;return N?N(s):l.defaultAfterChartFormatter()},insertIntoDOM:function(s,N){N.renderTo.insertBefore(s,N.container.nextSibling)},afterInserted:function(){l.chart.accessibility&&l.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}},onChartRender:function(){var l=this;this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),Object.keys(this.screenReaderSections).forEach(function(s){l.updateScreenReaderSection(s)})},getLinkedDescriptionElement:function(){var l=this.chart.options.accessibility.linkedDescription;if(l){if(typeof l!="string")return l;if(l=C(l,this.chart),l=d.querySelectorAll(l),l.length===1)return l[0]}},setLinkedDescriptionAttrs:function(){var l=this.linkedDescriptionElement;l&&(l.setAttribute("aria-hidden","true"),g(l,"highcharts-linked-description"))},updateScreenReaderSection:function(l){var s=this.chart,N=this.screenReaderSections[l],R=N.buildContent(s),c=N.element=N.element||this.createElement("div"),E=c.firstChild||this.createElement("div");this.setScreenReaderSectionAttribs(c,l),T.setElementHTML(E,R),c.appendChild(E),N.insertIntoDOM(c,s),x(E),b(s,E),N.afterInserted&&N.afterInserted()},setScreenReaderSectionAttribs:function(l,s){var N=this.chart,R=N.langFormat("accessibility.screenReaderSection."+s+"RegionLabel",{chart:N,chartTitle:w(N)});P(l,{id:"highcharts-screen-reader-region-"+s+"-"+N.index,"aria-label":R}),l.style.position="relative",N.options.accessibility.landmarkVerbosity==="all"&&R&&l.setAttribute("role","region")},defaultBeforeChartFormatter:function(){var l=this.chart,s=l.options.accessibility.screenReaderSection.beforeChartFormat,N=this.getAxesDescription(),R=l.sonify&&l.options.sonification&&l.options.sonification.enabled,c="highcharts-a11y-sonify-data-btn-"+l.index,E="hc-linkto-highcharts-data-table-"+l.index,L=k(l),et=l.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:l});return N={headingTagName:y(l.renderTo),chartTitle:w(l),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:N.xAxis,yAxisDescription:N.yAxis,playAsSoundButton:R?this.getSonifyButtonText(c):"",viewTableButton:l.getCSV?this.getDataTableButtonText(E):"",annotationsTitle:L?et:"",annotationsList:L},l=X.i18nFormat(s,N,l),this.dataTableButtonId=E,this.sonifyButtonId=c,l.replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},defaultAfterChartFormatter:function(){var l=this.chart,s=l.options.accessibility.screenReaderSection.afterChartFormat,N={endOfChartMarker:this.getEndOfChartMarkerText()};return X.i18nFormat(s,N,l).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},getLinkedDescription:function(){var l=this.linkedDescriptionElement;return m(l&&l.innerHTML||"")},getLongdescText:function(){var l=this.chart.options,s=l.caption;s=s&&s.text;var N=this.getLinkedDescription();return l.accessibility.description||N||s||""},getTypeDescriptionText:function(){var l=this.chart;return l.types?l.options.accessibility.typeDescription||l.getTypeDescription(l.types):""},getDataTableButtonText:function(l){var s=this.chart;return s=s.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:s,chartTitle:w(s)}),'"},getSonifyButtonText:function(l){var s=this.chart;return s.options.sonification&&s.options.sonification.enabled===!1?"":(s=s.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:s,chartTitle:w(s)}),'")},getSubtitleText:function(){var l=this.chart.options.subtitle;return m(l&&l.text||"")},getEndOfChartMarkerText:function(){var l=this.chart,s=l.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:l});return'
'+s+"
"},onDataTableCreated:function(l){var s=this.chart;if(s.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");var N=l.tree.attributes||{};N.tabindex=-1,N.summary=s.langFormat("accessibility.table.tableSummary",{chart:s}),l.tree.attributes=N}},focusDataTable:function(){var l=this.dataTableDiv;(l=l&&l.getElementsByTagName("table")[0])&&l.focus&&l.focus()},initSonifyButton:function(l){var s=this,N=this.sonifyButton=p(l),R=this.chart,c=function(E){N&&(N.setAttribute("aria-hidden","true"),N.setAttribute("aria-label","")),E.preventDefault(),E.stopPropagation(),E=R.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:R}),s.announcer.announce(E),setTimeout(function(){N&&(N.removeAttribute("aria-hidden"),N.removeAttribute("aria-label")),R.sonify&&R.sonify()},1e3)};N&&R&&(P(N,{tabindex:-1}),N.onclick=function(E){(R.options.accessibility&&R.options.accessibility.screenReaderSection.onPlayAsSoundClick||c).call(this,E,R)})},initDataTableButton:function(l){var s=this.viewDataTableButton=p(l),N=this.chart;l=l.replace("hc-linkto-",""),s&&(P(s,{tabindex:-1,"aria-expanded":!!p(l)}),s.onclick=N.options.accessibility.screenReaderSection.onViewDataTableClick||function(){N.viewData()})},getAxesDescription:function(){var l=this.chart,s=function(E,L){return E=l[E],1l.types.indexOf("map"),R=!!l.hasCartesianSeries,c=s("xAxis",!l.angular&&R&&N);return s=s("yAxis",R&&N),N={},c&&(N.xAxis=this.getAxisDescriptionText("xAxis")),s&&(N.yAxis=this.getAxisDescriptionText("yAxis")),N},getAxisDescriptionText:function(l){var s=this.chart,N=s[l];return s.langFormat("accessibility.axis."+l+"Description"+(1{chartTitle}
{typeDescription}
{chartSubtitle}
{chartLongdesc}
{playAsSoundButton}
{viewTableButton}
{xAxisDescription}
{yAxisDescription}
{annotationsTitle}{annotationsList}
",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{index}. {xDescription}{separator}{value}."},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:T.highlightColor80,lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}}),u(W,"Accessibility/Options/LangOptions.js",[],function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"Chart screen reader information, {chartTitle}.",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabelNoTitle:"Toggle series visibility, {chartTitle}",legendLabel:"Chart legend: {legendTitle}",legendItem:"Show {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{dropdownLabel:"{rangeTitle}",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Range: {range} days.",timeRangeHours:"Range: {range} hours.",timeRangeMinutes:"Range: {range} minutes.",timeRangeSeconds:"Range: {range} seconds.",rangeFromTo:"Range: {rangeFrom} to {rangeTo}.",rangeCategories:"Range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu",exportRegionLabel:"Chart menu, {chartTitle}"},series:{summary:{default:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",defaultCombination:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",line:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",lineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",spline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",splineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",column:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",columnCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",bar:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",barCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",pie:"{name}, pie {ix} of {numSeries} with {numPoints} {#plural(numPoints, slices, slice)}.",pieCombination:"{name}, series {ix} of {numSeries}. Pie with {numPoints} {#plural(numPoints, slices, slice)}.",scatter:"{name}, scatter plot {ix} of {numSeries} with {numPoints} {#plural(numPoints, points, point)}.",scatterCombination:"{name}, series {ix} of {numSeries}, scatter plot with {numPoints} {#plural(numPoints, points, point)}.",boxplot:"{name}, boxplot {ix} of {numSeries} with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotCombination:"{name}, series {ix} of {numSeries}. Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",bubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.",map:"{name}, map {ix} of {numSeries} with {numPoints} {#plural(numPoints, areas, area)}.",mapCombination:"{name}, series {ix} of {numSeries}. Map with {numPoints} {#plural(numPoints, areas, area)}.",mapline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",maplineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",mapbubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",mapbubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}}),u(W,"Accessibility/Options/DeprecatedOptions.js",[W["Core/Utilities.js"]],function(T){function I(A,D,C){for(var d,o=0;oD?A.length+D:Math.min(D,A.length),o=0;od?(j=A[A.length+d],typeof j=="undefined"&&(j=A[0])):(j=A[d],typeof j=="undefined"&&(j=A[A.length-1]))),typeof j!="undefined"?j:""):"{"+j+"}"}var H=Y.format,_=X.pick;I.i18nFormat=function(j,A,D){var C=function(h,w){h=h.slice(w||0);var b=h.indexOf("{"),g=h.indexOf("}");if(-1b)return{statement:h.substring(b+1,g),begin:w+b+1,end:w+g}},d=[],o=0;do{var k=C(j,o),S=j.substring(o,k&&k.begin-1);S.length&&d.push({value:S,type:"constant"}),k&&d.push({value:k.statement,type:"statement"}),o=k?k.end+1:o+1}while(k);return d.forEach(function(h){h.type==="statement"&&(h.value=Z(h.value,A))}),H(d.reduce(function(h,w){return h+w.value},""),A,D)},T.prototype.langFormat=function(j,A){j=j.split(".");for(var D=this.options.lang,C=0;C{"use strict";var ft=xt(8529),Mt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},W={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},T={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I={};I[ft.ForwardRef]=u,I[ft.Memo]=T;function Y(C){return ft.isMemo(C)?T:I[C.$$typeof]||Mt}var X=Object.defineProperty,Z=Object.getOwnPropertyNames,H=Object.getOwnPropertySymbols,_=Object.getOwnPropertyDescriptor,j=Object.getPrototypeOf,A=Object.prototype;function D(C,d,o){if(typeof d!="string"){if(A){var k=j(d);k&&k!==A&&D(C,k,o)}var S=Z(d);H&&(S=S.concat(H(d)));for(var h=Y(C),w=Y(d),b=0;b{"use strict";var pe=function(xt,ft,Mt,W,u,T,I,Y){if(!xt){var X;if(ft===void 0)X=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var Z=[Mt,W,u,T,I,Y],H=0;X=new Error(ft.replace(/%s/g,function(){return Z[H++]})),X.name="Invariant Violation"}throw X.framesToPop=1,X}};lr.exports=pe},7967:(lr,pe,xt)=>{var ft="Expected a function",Mt=NaN,W="[object Symbol]",u=/^\s+|\s+$/g,T=/^[-+]0x[0-9a-f]+$/i,I=/^0b[01]+$/i,Y=/^0o[0-7]+$/i,X=parseInt,Z=typeof xt.g=="object"&&xt.g&&xt.g.Object===Object&&xt.g,H=typeof self=="object"&&self&&self.Object===Object&&self,_=Z||H||Function("return this")(),j=Object.prototype,A=j.toString,D=Math.max,C=Math.min,d=function(){return _.Date.now()};function o(b,g,p){var y,P,m,x,l,s,N=0,R=!1,c=!1,E=!0;if(typeof b!="function")throw new TypeError(ft);g=w(g)||0,k(p)&&(R=!!p.leading,c="maxWait"in p,m=c?D(w(p.maxWait)||0,g):m,E="trailing"in p?!!p.trailing:E);function L(ht){var tt=y,ct=P;return y=P=void 0,N=ht,x=b.apply(ct,tt),x}function et(ht){return N=ht,l=setTimeout(G,g),R?L(ht):x}function nt(ht){var tt=ht-s,ct=ht-N,U=g-tt;return c?C(U,m-ct):U}function rt(ht){var tt=ht-s,ct=ht-N;return s===void 0||tt>=g||tt<0||c&&ct>=m}function G(){var ht=d();if(rt(ht))return ut(ht);l=setTimeout(G,nt(ht))}function ut(ht){return l=void 0,E&&y?L(ht):(y=P=void 0,x)}function F(){l!==void 0&&clearTimeout(l),N=0,y=s=P=l=void 0}function B(){return l===void 0?x:ut(d())}function st(){var ht=d(),tt=rt(ht);if(y=arguments,P=this,s=ht,tt){if(l===void 0)return et(s);if(c)return l=setTimeout(G,g),L(s)}return l===void 0&&(l=setTimeout(G,g)),x}return st.cancel=F,st.flush=B,st}function k(b){var g=typeof b;return!!b&&(g=="object"||g=="function")}function S(b){return!!b&&typeof b=="object"}function h(b){return typeof b=="symbol"||S(b)&&A.call(b)==W}function w(b){if(typeof b=="number")return b;if(h(b))return Mt;if(k(b)){var g=typeof b.valueOf=="function"?b.valueOf():b;b=k(g)?g+"":g}if(typeof b!="string")return b===0?b:+b;b=b.replace(u,"");var p=I.test(b);return p||Y.test(b)?X(b.slice(2),p?2:8):T.test(b)?Mt:+b}lr.exports=o},628:(lr,pe,xt)=>{"use strict";var ft=xt(4067);function Mt(){}function W(){}W.resetWarningCache=Mt,lr.exports=function(){function u(Y,X,Z,H,_,j){if(j!==ft){var A=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw A.name="Invariant Violation",A}}u.isRequired=u;function T(){return u}var I={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:T,element:u,elementType:u,instanceOf:T,node:u,objectOf:T,oneOf:T,oneOfType:T,shape:T,exact:T,checkPropTypes:W,resetWarningCache:Mt};return I.PropTypes=I,I}},5826:(lr,pe,xt)=>{if(0)var ft,Mt;else lr.exports=xt(628)()},4067:lr=>{"use strict";var pe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";lr.exports=pe},1363:(lr,pe,xt)=>{"use strict";/** +*/(function(){"use strict";var At=!!(typeof window!="undefined"&&window.document&&window.document.createElement),W={canUseDOM:At,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:At&&!!(window.addEventListener||window.attachEvent),canUseViewport:At&&!!window.screen};Z=function(){return W}.call(we,wt,we,yr),Z!==void 0&&(yr.exports=Z)})()},5215:yr=>{"use strict";yr.exports=function we(wt,Z){if(wt===Z)return!0;if(wt&&Z&&typeof wt=="object"&&typeof Z=="object"){if(wt.constructor!==Z.constructor)return!1;var At,W,c;if(Array.isArray(wt)){if(At=wt.length,At!=Z.length)return!1;for(W=At;W--!==0;)if(!we(wt[W],Z[W]))return!1;return!0}if(wt.constructor===RegExp)return wt.source===Z.source&&wt.flags===Z.flags;if(wt.valueOf!==Object.prototype.valueOf)return wt.valueOf()===Z.valueOf();if(wt.toString!==Object.prototype.toString)return wt.toString()===Z.toString();if(c=Object.keys(wt),At=c.length,At!==Object.keys(Z).length)return!1;for(W=At;W--!==0;)if(!Object.prototype.hasOwnProperty.call(Z,c[W]))return!1;for(W=At;W--!==0;){var C=c[W];if(!we(wt[C],Z[C]))return!1}return!0}return wt!==wt&&Z!==Z}},6193:function(yr,we,wt){"use strict";var Z;(function(At,W){yr.exports?(W.default=W,yr.exports=At.document?W(At):W):(Z=function(){return W(At)}.call(we,wt,we,yr),Z!==void 0&&(yr.exports=Z))})(typeof window!="undefined"?window:this,function(At){function W(C,I,G,q){C.hasOwnProperty(I)||(C[I]=q.apply(null,G))}var c={};return W(c,"Core/Globals.js",[],function(){var C=typeof At!="undefined"?At:typeof window!="undefined"?window:{},I;return function(G){G.SVG_NS="http://www.w3.org/2000/svg",G.product="Highcharts",G.version="9.2.2",G.win=C,G.doc=G.win.document,G.svg=G.doc&&G.doc.createElementNS&&!!G.doc.createElementNS(G.SVG_NS,"svg").createSVGRect,G.userAgent=G.win.navigator&&G.win.navigator.userAgent||"",G.isChrome=G.userAgent.indexOf("Chrome")!==-1,G.isFirefox=G.userAgent.indexOf("Firefox")!==-1,G.isMS=/(edge|msie|trident)/i.test(G.userAgent)&&!G.win.opera,G.isSafari=!G.isChrome&&G.userAgent.indexOf("Safari")!==-1,G.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(G.userAgent),G.isWebKit=G.userAgent.indexOf("AppleWebKit")!==-1,G.deg2rad=2*Math.PI/360,G.hasBidiBug=G.isFirefox&&4>parseInt(G.userAgent.split("Firefox/")[1],10),G.hasTouch=!!G.win.TouchEvent,G.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],G.noop=function(){},G.supportsPassiveEvents=function(){var q=!1;if(!G.isMS){var J=Object.defineProperty({},"passive",{get:function(){q=!0}});G.win.addEventListener&&G.win.removeEventListener&&(G.win.addEventListener("testPassive",G.noop,J),G.win.removeEventListener("testPassive",G.noop,J))}return q}(),G.charts=[],G.dateFormats={},G.seriesTypes={},G.symbolSizes={},G.chartCount=0}(I||(I={})),I}),W(c,"Core/Utilities.js",[c["Core/Globals.js"]],function(C){function I(u,_,L,nt){var rt=_?"Highcharts error":"Highcharts warning";u===32&&(u=rt+": Deprecated member");var it=P(u),X=it?rt+" #"+u+": www.highcharts.com/errors/"+u+"/":u.toString();if(typeof nt!="undefined"){var ct="";it&&(X+="?"),m(nt,function(B,F){ct+=` + - `+F+": "+B,it&&(X+=encodeURI(F)+"="+encodeURI(B))}),X+=ct}x(C,"displayError",{chart:L,code:u,message:X,params:nt},function(){if(_)throw Error(X);b.console&&I.messages.indexOf(X)===-1&&console.warn(X)}),I.messages.push(X)}function G(u,_){var L={};return m(u,function(nt,rt){V(u[rt],!0)&&!u.nodeType&&_[rt]?(nt=G(u[rt],_[rt]),Object.keys(nt).length&&(L[rt]=nt)):(V(u[rt])||u[rt]!==_[rt])&&(L[rt]=u[rt])}),L}function q(u,_){return parseInt(u,_||10)}function J(u){return typeof u=="string"}function U(u){return u=Object.prototype.toString.call(u),u==="[object Array]"||u==="[object Array Iterator]"}function V(u,_){return!!u&&typeof u=="object"&&(!_||!U(u))}function j(u){return V(u)&&typeof u.nodeType=="number"}function A(u){var _=u&&u.constructor;return!(!V(u,!0)||j(u)||!_||!_.name||_.name==="Object")}function P(u){return typeof u=="number"&&!isNaN(u)&&1/0>u&&-1/0=_-1&&(_=Math.floor(L)),Math.max(0,_-(nt(u,"padding-left",!0)||0)-(nt(u,"padding-right",!0)||0));if(_==="height")return Math.max(0,Math.min(u.offsetHeight,u.scrollHeight)-(nt(u,"padding-top",!0)||0)-(nt(u,"padding-bottom",!0)||0));if(b.getComputedStyle||I(27,!0),u=b.getComputedStyle(u,void 0)){var rt=u.getPropertyValue(_);T(L,_!=="opacity")&&(rt=q(rt))}return rt}function m(u,_,L){for(var nt in u)Object.hasOwnProperty.call(u,nt)&&_.call(L||u[nt],u[nt],nt,u)}function g(u,_,L){function nt(ct,B){var F=u.removeEventListener||C.removeEventListenerPolyfill;F&&F.call(u,ct,B,!1)}function rt(ct){var B;if(u.nodeName){if(_){var F={};F[_]=!0}else F=ct;m(F,function(ut,ft){if(ct[ft])for(B=ct[ft].length;B--;)nt(ft,ct[ft][B].fn)})}}var it=typeof u=="function"&&u.prototype||u;if(Object.hasOwnProperty.call(it,"hcEvents")){var X=it.hcEvents;_?(it=X[_]||[],L?(X[_]=it.filter(function(ct){return L!==ct.fn}),nt(_,L)):(rt(X),X[_]=[])):(rt(X),delete it.hcEvents)}}function x(u,_,L,nt){if(L=L||{},y.createEvent&&(u.dispatchEvent||u.fireEvent&&u!==C)){var rt=y.createEvent("Events");rt.initEvent(_,!0,!0),L=o(rt,L),u.dispatchEvent?u.dispatchEvent(L):u.fireEvent(_,L)}else if(u.hcEvents){L.target||o(L,{preventDefault:function(){L.defaultPrevented=!0},target:u,type:_}),rt=[];for(var it=u,X=!1;it.hcEvents;)Object.hasOwnProperty.call(it,"hcEvents")&&it.hcEvents[_]&&(rt.length&&(X=!0),rt.unshift.apply(rt,it.hcEvents[_])),it=Object.getPrototypeOf(it);X&&rt.sort(function(ct,B){return ct.order-B.order}),rt.forEach(function(ct){ct.fn.call(u,L)===!1&&L.preventDefault()})}nt&&!L.defaultPrevented&&nt.call(u,L)}var R=C.charts,y=C.doc,b=C.win;(I||(I={})).messages=[];var s;Math.easeInOutSine=function(u){return-.5*(Math.cos(Math.PI*u)-1)};var l=Array.prototype.find?function(u,_){return u.find(_)}:function(u,_){var L,nt=u.length;for(L=0;LL&&(L=u[_]);return L},arrayMin:function(u){for(var _=u.length,L=u[0];_--;)u[_]_?u=L&&(_=[1/L]))),nt=0;nt<_.length&&(it=_[nt],!(rt&&it*L>=u||!rt&&X<=(_[nt]+(_[nt+1]||_[nt]))/2));nt++);return it=S(it*L,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(u){var _=y.documentElement;return u=u.parentElement||u.parentNode?u.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:u.top+(b.pageYOffset||_.scrollTop)-(_.clientTop||0),left:u.left+(b.pageXOffset||_.scrollLeft)-(_.clientLeft||0),width:u.width,height:u.height}},pad:function(u,_,L){return Array((_||2)+1-String(u).replace("-","").length).join(L||"0")+u},pick:T,pInt:q,relativeLength:function(u,_,L){return/%$/.test(u)?_*parseFloat(u)/100+(L||0):parseFloat(u)},removeEvent:g,splat:function(u){return U(u)?u:[u]},stableSort:function(u,_){var L=u.length,nt,rt;for(rt=0;rt>16,(P&65280)>>8,P&255,1]:A===4&&(j=[(P&3840)>>4|(P&3840)>>8,(P&240)>>4|P&240,(P&15)<<4|P&15,1])}if(!j)for(P=U.parsers.length;P--&&!j;){var E=U.parsers[P];(A=E.regex.exec(V))&&(j=E.parse(A))}}j&&(this.rgba=j)},U.prototype.get=function(V){var j=this.input,A=this.rgba;if(typeof j=="object"&&typeof this.stops!="undefined"){var P=q(j);return P.stops=[].slice.call(P.stops),this.stops.forEach(function(E,p){P.stops[p]=[P.stops[p][0],E.get(V)]}),P}return A&&G(A[0])?V==="rgb"||!V&&A[3]===1?"rgb("+A[0]+","+A[1]+","+A[2]+")":V==="a"?""+A[3]:"rgba("+A.join(",")+")":j},U.prototype.brighten=function(V){var j=this.rgba;if(this.stops)this.stops.forEach(function(P){P.brighten(V)});else if(G(V)&&V!==0)for(var A=0;3>A;A++)j[A]+=J(255*V),0>j[A]&&(j[A]=0),255R?"AM":"PM",P:12>R?"am":"pm",S:P(x.getSeconds()),L:P(Math.floor(v%1e3),3)},C.dateFormats),A(x,function(_,L){for(;S.indexOf("%"+L)!==-1;)S=S.replace("%"+L,typeof _=="function"?_.call(g,v):_)}),m?S.substr(0,1).toUpperCase()+S.substr(1):S},f.prototype.resolveDTLFormat=function(S){return V(S,!0)?S:(S=p(S),{main:S[0],from:S[1],to:S[2]})},f.prototype.getTimeTicks=function(S,v,m,g){var x=this,R=[],y={},b=new x.Date(v),s=S.unitRange,l=S.count||1,O;if(g=E(g,1),q(v)){if(x.set("Milliseconds",b,s>=o.second?0:l*Math.floor(x.get("Milliseconds",b)/l)),s>=o.second&&x.set("Seconds",b,s>=o.minute?0:l*Math.floor(x.get("Seconds",b)/l)),s>=o.minute&&x.set("Minutes",b,s>=o.hour?0:l*Math.floor(x.get("Minutes",b)/l)),s>=o.hour&&x.set("Hours",b,s>=o.day?0:l*Math.floor(x.get("Hours",b)/l)),s>=o.day&&x.set("Date",b,s>=o.month?1:Math.max(1,l*Math.floor(x.get("Date",b)/l))),s>=o.month){x.set("Month",b,s>=o.year?0:l*Math.floor(x.get("Month",b)/l));var D=x.get("FullYear",b)}s>=o.year&&x.set("FullYear",b,D-D%l),s===o.week&&(D=x.get("Day",b),x.set("Date",b,x.get("Date",b)-D+g+(D4*o.month||x.getTimezoneOffset(v)!==x.getTimezoneOffset(m)),v=b.getTime(),b=1;vR.length&&R.forEach(function(L){L%18e5===0&&x.dateFormat("%H%M%S%L",L)==="000000000"&&(y[L]="day")})}return R.info=U(S,{higherRanks:y,totalRange:s*l}),R},f.prototype.getDateFormat=function(S,v,m,g){var x=this.dateFormat("%m-%d %H:%M:%S.%L",v),R={millisecond:15,second:12,minute:9,hour:6,day:3},y="millisecond";for(b in o){if(S===o.week&&+this.dateFormat("%w",v)===m&&x.substr(6)==="00:00:00.000"){var b="week";break}if(o[b]>S){b=y;break}if(R[b]&&x.substr(R[b])!=="01-01 00:00:00.000".substr(R[b]))break;b!=="week"&&(y=b)}if(b)var s=this.resolveDTLFormat(g[b]).main;return s},f}(),I}),W(c,"Core/DefaultOptions.js",[c["Core/Chart/ChartDefaults.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Color/Palette.js"],c["Core/Time.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){I=I.parse;var V=U.merge,j={colors:q.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:C,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:q.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:q.neutralColor40,borderRadius:0,navigation:{activeColor:q.highlightColor100,inactiveColor:q.neutralColor20},itemStyle:{color:q.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:q.neutralColor100},itemHiddenStyle:{color:q.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:q.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:G.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:G.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25CF {series.name}: {point.y}
',backgroundColor:I(q.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:q.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:q.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};j.chart.styledMode=!1;var A=new J(V(j.global,j.time));return C={defaultOptions:j,defaultTime:A,getOptions:function(){return j},setOptions:function(P){return V(!0,j,P),(P.time||P.global)&&(G.time?G.time.update(V(j.global,j.time,P.global,P.time)):G.time=A),j}},C}),W(c,"Core/Animation/Fx.js",[c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(C,I,G){var q=C.parse,J=I.win,U=G.isNumber,V=G.objectEach;return function(){function j(A,P,E){this.pos=NaN,this.options=P,this.elem=A,this.prop=E}return j.prototype.dSetter=function(){var A=this.paths,P=A&&A[0];A=A&&A[1];var E=this.now||0,p=[];if(E!==1&&P&&A)if(P.length===A.length&&1>E)for(var o=0;o=T+this.startTime){this.now=this.end,this.pos=1,this.update();var f=w[this.prop]=!0;V(w,function(S){S!==!0&&(f=!1)}),f&&o&&o.call(p),A=!1}else this.pos=E.easing((P-this.startTime)/T),this.now=this.start+(this.end-this.start)*this.pos,this.update(),A=!0;return A},j.prototype.initPath=function(A,P,E){function p(x,R){for(;x.lengthf[1]){var v=E+ +f[1];0<=v?(f[0]=(+f[0]).toExponential(v).split("e")[0],E=v):(f[0]=f[0].split(".")[0]||0,P=20>E?(f[0]*Math.pow(10,f[1])).toFixed(E):0,f[1]=0)}v=(Math.abs(f[1]?f[0]:P)+Math.pow(10,-Math.max(E,w)-1)).toFixed(E),w=String(A(v));var m=3P?"-":"")+(m?w.substr(0,m)+o:""),P=0>+f[1]&&!S?"0":P+w.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+o),E&&(P+=p+v.slice(-E)),f[1]&&+P!=0&&(P+="e"+f[1]),P}var q=C.defaultOptions,J=C.defaultTime,U=I.getNestedProperty,V=I.isNumber,j=I.pick,A=I.pInt;return{dateFormat:function(P,E,p){return J.dateFormat(P,E,p)},format:function(P,E,p){var o="{",T=!1,w=/f$/,f=/\.([0-9])/,S=q.lang,v=p&&p.time||J;p=p&&p.numberFormatter||G;for(var m=[];P;){var g=P.indexOf(o);if(g===-1)break;var x=P.slice(0,g);if(T){if(x=x.split(":"),o=U(x.shift()||"",E),x.length&&typeof o=="number")if(x=x.join(":"),w.test(x)){var R=parseInt((x.match(f)||["","-1"])[1],10);o!==null&&(o=p(o,R,S.decimalPoint,-1p){for(q(j,o),v=w=0;v<=p;)v+=j[w].size,w++;S=j.splice(w-1,j.length)}for(q(j,T),j=j.map(function(m){return{size:m.size,targets:[m.target],align:G(m.align,.5)}});f;){for(w=j.length;w--;)p=j[w],o=(Math.min.apply(0,p.targets)+Math.max.apply(0,p.targets))/2,p.pos=I(o-p.size*p.align,0,A-p.size);for(w=j.length,f=!1;w--;)0j[w].pos&&(j[w-1].size+=j[w].size,j[w-1].targets=j[w-1].targets.concat(j[w].targets),j[w-1].align=.5,j[w-1].pos+j[w-1].size>A&&(j[w-1].pos=A-j[w-1].size),j.splice(w,1),f=!0)}return E.push.apply(E,S),w=0,j.some(function(m){var g=0;return(m.targets||[]).some(function(){return E[w].pos=m.pos+g,typeof P!="undefined"&&Math.abs(E[w].pos-E[w].target)>P?(E.slice(0,w+1).forEach(function(x){return delete x.pos}),E.reducedLen=(E.reducedLen||A)-.1*A,E.reducedLen>.1*A&&V(E,A,P),!0):(g+=E[w].size,w++,!1)})}),q(E,T),E}U.distribute=V}(J||(J={})),J}),W(c,"Core/Renderer/SVG/SVGElement.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Renderer/HTML/AST.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Color/Palette.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){var V=C.animate,j=C.animObject,A=C.stop,P=q.deg2rad,E=q.doc,p=q.noop,o=q.svg,T=q.SVG_NS,w=q.win,f=U.addEvent,S=U.attr,v=U.createElement,m=U.css,g=U.defined,x=U.erase,R=U.extend,y=U.fireEvent,b=U.isArray,s=U.isFunction,l=U.isNumber,O=U.isString,D=U.merge,u=U.objectEach,_=U.pick,L=U.pInt,nt=U.syncTimeout,rt=U.uniqueKey;return C=function(){function it(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=T,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return it.prototype._defaultGetter=function(X){return X=_(this[X+"Value"],this[X],this.element?this.element.getAttribute(X):null,0),/^[\-0-9\.]+$/.test(X)&&(X=parseFloat(X)),X},it.prototype._defaultSetter=function(X,ct,B){B.setAttribute(ct,X)},it.prototype.add=function(X){var ct=this.renderer,B=this.element;if(X&&(this.parentGroup=X),this.parentInverted=X&&X.inverted,typeof this.textStr!="undefined"&&this.element.nodeName==="text"&&ct.buildText(this),this.added=!0,!X||X.handleZ||this.zIndex)var F=this.zIndexSetter();return F||(X?X.element:ct.box).appendChild(B),this.onAdd&&this.onAdd(),this},it.prototype.addClass=function(X,ct){var B=ct?"":this.attr("class")||"";return X=(X||"").split(/ /g).reduce(function(F,ut){return B.indexOf(ut)===-1&&F.push(ut),F},B?[B]:[]).join(" "),X!==B&&this.attr("class",X),this},it.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},it.prototype.align=function(X,ct,B){var F={},ut=this.renderer,ft=ut.alignedObjects,et,ht,z;X?(this.alignOptions=X,this.alignByTranslate=ct,(!B||O(B))&&(this.alignTo=et=B||"renderer",x(ft,this),ft.push(this),B=void 0)):(X=this.alignOptions,ct=this.alignByTranslate,et=this.alignTo),B=_(B,ut[et],et==="scrollablePlotBox"?ut.plotBox:void 0,ut),et=X.align;var tt=X.verticalAlign;return ut=(B.x||0)+(X.x||0),ft=(B.y||0)+(X.y||0),et==="right"?ht=1:et==="center"&&(ht=2),ht&&(ut+=(B.width-(X.width||0))/ht),F[ct?"translateX":"x"]=Math.round(ut),tt==="bottom"?z=1:tt==="middle"&&(z=2),z&&(ft+=(B.height-(X.height||0))/z),F[ct?"translateY":"y"]=Math.round(ft),this[this.placed?"animate":"attr"](F),this.placed=!0,this.alignAttr=F,this},it.prototype.alignSetter=function(X){var ct={left:"start",center:"middle",right:"end"};ct[X]&&(this.alignValue=X,this.element.setAttribute("text-anchor",ct[X]))},it.prototype.animate=function(X,ct,B){var F=this,ut=j(_(ct,this.renderer.globalAnimation,!0));return ct=ut.defer,_(E.hidden,E.msHidden,E.webkitHidden,!1)&&(ut.duration=0),ut.duration!==0?(B&&(ut.complete=B),nt(function(){F.element&&V(F,X,ut)},ct)):(this.attr(X,void 0,B),u(X,function(ft,et){ut.step&&ut.step.call(this,ft,{prop:et,pos:1,elem:this})},this)),this},it.prototype.applyTextOutline=function(X){var ct=this.element;X.indexOf("contrast")!==-1&&(X=X.replace(/contrast/g,this.renderer.getContrast(ct.style.fill)));var B=X.split(" ");if(X=B[B.length-1],(B=B[0])&&B!=="none"&&q.svg){this.fakeTS=!0,this.ySetter=this.xSetter,B=B.replace(/(^[\d\.]+)(.*?)$/g,function(ft,et,ht){return 2*Number(et)+ht}),this.removeTextOutline();var F=E.createElementNS(T,"tspan");S(F,{class:"highcharts-text-outline",fill:X,stroke:X,"stroke-width":B,"stroke-linejoin":"round"}),[].forEach.call(ct.childNodes,function(ft){var et=ft.cloneNode(!0);et.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(ht){return et.removeAttribute(ht)}),F.appendChild(et)});var ut=E.createElementNS(T,"tspan");ut.textContent="\u200B",["x","y"].forEach(function(ft){var et=ct.getAttribute(ft);et&&ut.setAttribute(ft,et)}),F.appendChild(ut),ct.insertBefore(F,ct.firstChild)}},it.prototype.attr=function(X,ct,B,F){var ut=this.element,ft=this.symbolCustomAttribs,et,ht=this,z,tt;if(typeof X=="string"&&typeof ct!="undefined"){var Q=X;X={},X[Q]=ct}return typeof X=="string"?ht=(this[X+"Getter"]||this._defaultGetter).call(this,X,ut):(u(X,function(K,st){z=!1,F||A(this,st),this.symbolName&&ft.indexOf(st)!==-1&&(et||(this.symbolAttr(X),et=!0),z=!0),!this.rotation||st!=="x"&&st!=="y"||(this.doTransform=!0),z||(tt=this[st+"Setter"]||this._defaultSetter,tt.call(this,K,st,ut),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(st)&&this.updateShadows(st,K,tt))},this),this.afterSetters()),B&&B.call(this),ht},it.prototype.clip=function(X){return this.attr("clip-path",X?"url("+this.renderer.url+"#"+X.id+")":"none")},it.prototype.crisp=function(X,ct){ct=ct||X.strokeWidth||0;var B=Math.round(ct)%2/2;return X.x=Math.floor(X.x||this.x||0)+B,X.y=Math.floor(X.y||this.y||0)+B,X.width=Math.floor((X.width||this.width||0)-2*B),X.height=Math.floor((X.height||this.height||0)-2*B),g(X.strokeWidth)&&(X.strokeWidth=ct),X},it.prototype.complexColor=function(X,ct,B){var F=this.renderer,ut,ft,et,ht,z,tt,Q,K,st,xt,gt=[],Tt;y(this.renderer,"complexColor",{args:arguments},function(){if(X.radialGradient?ft="radialGradient":X.linearGradient&&(ft="linearGradient"),ft){if(et=X[ft],z=F.gradients,tt=X.stops,st=B.radialReference,b(et)&&(X[ft]=et={x1:et[0],y1:et[1],x2:et[2],y2:et[3],gradientUnits:"userSpaceOnUse"}),ft==="radialGradient"&&st&&!g(et.gradientUnits)&&(ht=et,et=D(et,F.getRadialAttr(st,ht),{gradientUnits:"userSpaceOnUse"})),u(et,function(Dt,Bt){Bt!=="id"&>.push(Bt,Dt)}),u(tt,function(Dt){gt.push(Dt)}),gt=gt.join(","),z[gt])xt=z[gt].attr("id");else{et.id=xt=rt();var vt=z[gt]=F.createElement(ft).attr(et).add(F.defs);vt.radAttr=ht,vt.stops=[],tt.forEach(function(Dt){Dt[1].indexOf("rgba")===0?(ut=G.parse(Dt[1]),Q=ut.get("rgb"),K=ut.get("a")):(Q=Dt[1],K=1),Dt=F.createElement("stop").attr({offset:Dt[0],"stop-color":Q,"stop-opacity":K}).add(vt),vt.stops.push(Dt)})}Tt="url("+F.url+"#"+xt+")",B.setAttribute(ct,Tt),B.gradient=gt,X.toString=function(){return Tt}}})},it.prototype.css=function(X){var ct=this.styles,B={},F=this.element,ut=["textOutline","textOverflow","width"],ft="",et=!ct;if(X&&X.color&&(X.fill=X.color),ct&&u(X,function(tt,Q){ct&&ct[Q]!==tt&&(B[Q]=tt,et=!0)}),et){if(ct&&(X=R(ct,B)),X){if(X.width===null||X.width==="auto")delete this.textWidth;else if(F.nodeName.toLowerCase()==="text"&&X.width)var ht=this.textWidth=L(X.width)}if(this.styles=X,ht&&!o&&this.renderer.forExport&&delete X.width,F.namespaceURI===this.SVG_NS){var z=function(tt,Q){return"-"+Q.toLowerCase()};u(X,function(tt,Q){ut.indexOf(Q)===-1&&(ft+=Q.replace(/([A-Z])/g,z)+":"+tt+";")}),ft&&S(F,"style",ft)}else m(F,X);this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),X&&X.textOutline&&this.applyTextOutline(X.textOutline))}return this},it.prototype.dashstyleSetter=function(X){var ct=this["stroke-width"];if(ct==="inherit"&&(ct=1),X=X&&X.toLowerCase()){var B=X.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(X=B.length;X--;)B[X]=""+L(B[X])*_(ct,NaN);X=B.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",X)}},it.prototype.destroy=function(){var X=this,ct=X.element||{},B=X.renderer,F=ct.ownerSVGElement,ut=B.isSVG&&ct.nodeName==="SPAN"&&X.parentGroup||void 0;if(ct.onclick=ct.onmouseout=ct.onmouseover=ct.onmousemove=ct.point=null,A(X),X.clipPath&&F){var ft=X.clipPath;[].forEach.call(F.querySelectorAll("[clip-path],[CLIP-PATH]"),function(et){-1Q.width)&&(Q={width:0,height:0})}else Q=this.htmlGetBBox();if(B.isSVG&&(X=Q.width,B=Q.height,z&&(Q.height=B={"11px,17":14,"13px,20":16}[ut&&ut.fontSize+","+Math.round(B)]||B),ct&&(ut=ct*P,Q.width=Math.abs(B*Math.sin(ut))+Math.abs(X*Math.cos(ut)),Q.height=Math.abs(B*Math.cos(ut))+Math.abs(X*Math.sin(ut)))),K&&(ft===""||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},it.prototype.toFront=function(){var X=this.element;return X.parentNode.appendChild(X),this},it.prototype.translate=function(X,ct){return this.attr({translateX:X,translateY:ct})},it.prototype.updateShadows=function(X,ct,B){var F=this.shadows;if(F)for(var ut=F.length;ut--;)B.call(F[ut],X==="height"?Math.max(ct-(F[ut].cutHeight||0),0):X==="d"?this.d:ct,X,F[ut])},it.prototype.updateTransform=function(){var X=this.scaleX,ct=this.scaleY,B=this.inverted,F=this.rotation,ut=this.matrix,ft=this.element,et=this.translateX||0,ht=this.translateY||0;B&&(et+=this.width,ht+=this.height),et=["translate("+et+","+ht+")"],g(ut)&&et.push("matrix("+ut.join(",")+")"),B?et.push("rotate(90) scale(-1,1)"):F&&et.push("rotate("+F+" "+_(this.rotationOriginX,ft.getAttribute("x"),0)+" "+_(this.rotationOriginY,ft.getAttribute("y")||0)+")"),(g(X)||g(ct))&&et.push("scale("+_(X,1)+" "+_(ct,1)+")"),et.length&&ft.setAttribute("transform",et.join(" "))},it.prototype.visibilitySetter=function(X,ct,B){X==="inherit"?B.removeAttribute(ct):this[ct]!==X&&B.setAttribute(ct,X),this[ct]=X},it.prototype.xGetter=function(X){return this.element.nodeName==="circle"&&(X==="x"?X="cx":X==="y"&&(X="cy")),this._defaultGetter(X)},it.prototype.zIndexSetter=function(X,ct){var B=this.renderer,F=this.parentGroup,ut=(F||B).element||B.box,ft=this.element;B=ut===B.box;var et=!1,ht=this.added,z;if(g(X)?(ft.setAttribute("data-z-index",X),X=+X,this[ct]===X&&(ht=!1)):g(this[ct])&&ft.removeAttribute("data-z-index"),this[ct]=X,ht){for((X=this.zIndex)&&F&&(F.handleZ=!0),ct=ut.childNodes,z=ct.length-1;0<=z&&!et;z--){F=ct[z],ht=F.getAttribute("data-z-index");var tt=!g(ht);F!==ft&&(0>X&&tt&&!B&&!z?(ut.insertBefore(ft,ct[z]),et=!0):(L(ht)<=X||tt&&(!g(X)||0<=X))&&(ut.insertBefore(ft,ct[z+1]||null),et=!0))}et||(ut.insertBefore(ft,ct[B?3:0]||null),et=!0)}return et},it}(),C.prototype["stroke-widthSetter"]=C.prototype.strokeSetter,C.prototype.yGetter=C.prototype.xGetter,C.prototype.matrixSetter=C.prototype.rotationOriginXSetter=C.prototype.rotationOriginYSetter=C.prototype.rotationSetter=C.prototype.scaleXSetter=C.prototype.scaleYSetter=C.prototype.translateXSetter=C.prototype.translateYSetter=C.prototype.verticalAlignSetter=function(it,X){this[X]=it,this.doTransform=!0},C}),W(c,"Core/Renderer/RendererRegistry.js",[c["Core/Globals.js"]],function(C){var I;return function(G){G.rendererTypes={};var q;G.getRendererType=function(J){return J===void 0&&(J=q),G.rendererTypes[J]||G.rendererTypes[q]},G.registerRendererType=function(J,U,V){G.rendererTypes[J]=U,(!q||V)&&(q=J,C.Renderer=U)}}(I||(I={})),I}),W(c,"Core/Renderer/SVG/SVGLabel.js",[c["Core/Renderer/SVG/SVGElement.js"],c["Core/Utilities.js"]],function(C,I){var G=this&&this.__extends||function(){var P=function(E,p){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,T){o.__proto__=T}||function(o,T){for(var w in T)T.hasOwnProperty(w)&&(o[w]=T[w])},P(E,p)};return function(E,p){function o(){this.constructor=E}P(E,p),E.prototype=p===null?Object.create(p):(o.prototype=p.prototype,new o)}}(),q=I.defined,J=I.extend,U=I.isNumber,V=I.merge,j=I.pick,A=I.removeEvent;return function(P){function E(p,o,T,w,f,S,v,m,g,x){var R=P.call(this)||this;R.paddingLeftSetter=R.paddingSetter,R.paddingRightSetter=R.paddingSetter,R.init(p,"g"),R.textStr=o,R.x=T,R.y=w,R.anchorX=S,R.anchorY=v,R.baseline=g,R.className=x,R.addClass(x==="button"?"highcharts-no-tooltip":"highcharts-label"),x&&R.addClass("highcharts-"+x),R.text=p.text(void 0,0,0,m).attr({zIndex:1});var y;return typeof f=="string"&&((y=/^url\((.*?)\)$/.test(f))||R.renderer.symbols[f])&&(R.symbolKey=f),R.bBox=E.emptyBBox,R.padding=3,R.baselineOffset=0,R.needsBox=p.styledMode||y,R.deferredAttr={},R.alignFactor=0,R}return G(E,P),E.prototype.alignSetter=function(p){p={left:0,center:.5,right:1}[p],p!==this.alignFactor&&(this.alignFactor=p,this.bBox&&U(this.xSetting)&&this.attr({x:this.xSetting}))},E.prototype.anchorXSetter=function(p,o){this.anchorX=p,this.boxAttr(o,Math.round(p)-this.getCrispAdjust()-this.xSetting)},E.prototype.anchorYSetter=function(p,o){this.anchorY=p,this.boxAttr(o,p-this.ySetting)},E.prototype.boxAttr=function(p,o){this.box?this.box.attr(p,o):this.deferredAttr[p]=o},E.prototype.css=function(p){if(p){var o={};p=V(p),E.textProps.forEach(function(w){typeof p[w]!="undefined"&&(o[w]=p[w],delete p[w])}),this.text.css(o);var T="width"in o;"fontSize"in o||"fontWeight"in o?this.updateTextPadding():T&&this.updateBoxSize()}return C.prototype.css.call(this,p)},E.prototype.destroy=function(){A(this.element,"mouseenter"),A(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),C.prototype.destroy.call(this)},E.prototype.fillSetter=function(p,o){p&&(this.needsBox=!0),this.fill=p,this.boxAttr(o,p)},E.prototype.getBBox=function(){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();var p=this.padding,o=j(this.paddingLeft,p);return{width:this.width,height:this.height,x:this.bBox.x-o,y:this.bBox.y-p}},E.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},E.prototype.heightSetter=function(p){this.heightSetting=p},E.prototype.onAdd=function(){var p=this.textStr;this.text.add(this),this.attr({text:q(p)?p:"",x:this.x,y:this.y}),this.box&&q(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},E.prototype.paddingSetter=function(p,o){U(p)?p!==this[o]&&(this[o]=p,this.updateTextPadding()):this[o]=void 0},E.prototype.rSetter=function(p,o){this.boxAttr(o,p)},E.prototype.shadow=function(p){return p&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(p)),this},E.prototype.strokeSetter=function(p,o){this.stroke=p,this.boxAttr(o,p)},E.prototype["stroke-widthSetter"]=function(p,o){p&&(this.needsBox=!0),this["stroke-width"]=p,this.boxAttr(o,p)},E.prototype["text-alignSetter"]=function(p){this.textAlign=p},E.prototype.textSetter=function(p){typeof p!="undefined"&&this.text.attr({text:p}),this.updateTextPadding()},E.prototype.updateBoxSize=function(){var p=this.text.element.style,o={},T=this.padding,w=this.bBox=U(this.widthSetting)&&U(this.heightSetting)&&!this.textAlign||!q(this.text.textStr)?E.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||w.height||0)+2*T,p=this.renderer.fontMetrics(p&&p.fontSize,this.text),this.baselineOffset=T+Math.min((this.text.firstLineMetrics||p).b,w.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-p.h)/2),this.needsBox&&(this.box||(T=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),T.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),T.add(this)),T=this.getCrispAdjust(),o.x=T,o.y=(this.baseline?-this.baselineOffset:0)+T,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(J(o,this.deferredAttr)),this.deferredAttr={})},E.prototype.updateTextPadding=function(){var p=this.text;this.updateBoxSize();var o=this.baseline?0:this.baselineOffset,T=j(this.paddingLeft,this.padding);q(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(T+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(T!==p.x||o!==p.y)&&(p.attr("x",T),p.hasBoxWidthChanged&&(this.bBox=p.getBBox(!0)),typeof o!="undefined"&&p.attr("y",o)),p.x=T,p.y=o},E.prototype.widthSetter=function(p){this.widthSetting=U(p)?p:void 0},E.prototype.getPaddedWidth=function(){var p=this.padding,o=j(this.paddingLeft,p);return p=j(this.paddingRight,p),(this.widthSetting||this.bBox.width||0)+o+p},E.prototype.xSetter=function(p){this.x=p,this.alignFactor&&(p-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(p),this.attr("translateX",this.xSetting)},E.prototype.ySetter=function(p){this.ySetting=this.y=Math.round(p),this.attr("translateY",this.ySetting)},E.emptyBBox={width:0,height:0,x:0,y:0},E.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),E}(C)}),W(c,"Core/Renderer/SVG/Symbols.js",[c["Core/Utilities.js"]],function(C){function I(j,A,P,E,p){var o=[];if(p){var T=p.start||0,w=V(p.r,P);P=V(p.r,E||P);var f=(p.end||0)-.001;E=p.innerR;var S=V(p.open,.001>Math.abs((p.end||0)-T-2*Math.PI)),v=Math.cos(T),m=Math.sin(T),g=Math.cos(f),x=Math.sin(f);T=V(p.longArc,.001>f-T-Math.PI?0:1),o.push(["M",j+w*v,A+P*m],["A",w,P,0,T,V(p.clockwise,1),j+w*g,A+P*x]),J(E)&&o.push(S?["M",j+E*g,A+E*x]:["L",j+E*g,A+E*x],["A",E,E,0,T,J(p.clockwise)?1-p.clockwise:0,j+E*v,A+E*m]),S||o.push(["Z"])}return o}function G(j,A,P,E,p){return p&&p.r?q(j,A,P,E,p):[["M",j,A],["L",j+P,A],["L",j+P,A+E],["L",j,A+E],["Z"]]}function q(j,A,P,E,p){return p=p&&p.r||0,[["M",j+p,A],["L",j+P-p,A],["C",j+P,A,j+P,A,j+P,A+p],["L",j+P,A+E-p],["C",j+P,A+E,j+P,A+E,j+P-p,A+E],["L",j+p,A+E],["C",j,A+E,j,A+E,j,A+E-p],["L",j,A+p],["C",j,A,j,A,j+p,A]]}var J=C.defined,U=C.isNumber,V=C.pick;return{arc:I,callout:function(j,A,P,E,p){var o=Math.min(p&&p.r||0,P,E),T=o+6,w=p&&p.anchorX;p=p&&p.anchorY||0;var f=q(j,A,P,E,{r:o});return U(w)&&(j+w>=P?p>A+T&&p=j+w?p>A+T&&pE&&w>j+T&&wp&&w>j+T&&w/g,v=[T,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(v!==E.textCache){for(E.textCache=v,delete E.actualWidth,v=f.length;v--;)p.removeChild(f[v]);w||this.ellipsis||this.width||T.indexOf(" ")!==-1&&(!this.noWrap||S.test(T))?T!==""&&(o&&o.appendChild(p),T=new C(T),this.modifyTree(T.nodes),T.addToDOM(E.element),this.modifyDOM(),this.ellipsis&&(p.textContent||"").indexOf("\u2026")!==-1&&E.attr("title",this.unescapeEntities(E.textStr||"",["<",">"])),o&&o.removeChild(p)):p.appendChild(q.createTextNode(this.unescapeEntities(T))),V(this.textOutline)&&E.applyTextOutline&&E.applyTextOutline(this.textOutline)}},P.prototype.modifyDOM=function(){var E=this,p=this.svgElement,o=U(p.element,"x");p.firstLineMetrics=void 0;for(var T;(T=p.element.firstChild)&&/^[\s\u200B]*$/.test(T.textContent||" ");)p.element.removeChild(T);[].forEach.call(p.element.querySelectorAll("tspan.highcharts-br"),function(v,m){v.nextSibling&&v.previousSibling&&(m===0&&v.previousSibling.nodeType===1&&(p.firstLineMetrics=p.renderer.fontMetrics(void 0,v.previousSibling)),U(v,{dy:E.getLineHeight(v.nextSibling),x:o}))});var w=this.width||0;if(w){var f=function(v,m){var g=v.textContent||"",x=g.replace(/([^\^])-/g,"$1- ").split(" "),R=!E.noWrap&&(1w){for(;x<=R;)y=Math.ceil((x+R)/2),o&&(b=f(o,y)),l=s(y,b&&b.length-1),x===R?x=R+1:l>w?R=y-1:x=y;R===0?E.textContent="":p&&R===p.length-1||(E.textContent=b||f(p||o,y))}o&&o.splice(0,y),S.actualWidth=l,S.rotation=m},P.prototype.unescapeEntities=function(E,p){return j(this.renderer.escapes,function(o,T){p&&p.indexOf(o)!==-1||(E=E.toString().replace(new RegExp(o,"g"),T))}),E},P}()}),W(c,"Core/Renderer/SVG/SVGRenderer.js",[c["Core/Renderer/HTML/AST.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Color/Palette.js"],c["Core/Renderer/RendererRegistry.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGLabel.js"],c["Core/Renderer/SVG/Symbols.js"],c["Core/Renderer/SVG/TextBuilder.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A,P){var E=G.charts,p=G.deg2rad,o=G.doc,T=G.isFirefox,w=G.isMS,f=G.isWebKit,S=G.noop,v=G.SVG_NS,m=G.symbolSizes,g=G.win,x=P.addEvent,R=P.attr,y=P.createElement,b=P.css,s=P.defined,l=P.destroyObjectProperties,O=P.extend,D=P.isArray,u=P.isNumber,_=P.isObject,L=P.isString,nt=P.merge,rt=P.pick,it=P.pInt,X=P.uniqueKey,ct;return G=function(){function B(F,ut,ft,et,ht,z,tt){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(F,ut,ft,et,ht,z,tt)}return B.prototype.init=function(F,ut,ft,et,ht,z,tt){var Q=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),K=Q.element;tt||Q.css(this.getStyle(et)),F.appendChild(K),R(F,"dir","ltr"),F.innerHTML.indexOf("xmlns")===-1&&R(K,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=K,this.boxWrapper=Q,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(o.createTextNode("Created with Highcharts 9.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=z,this.forExport=ht,this.styledMode=tt,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(ut,ft,!1);var st;T&&F.getBoundingClientRect&&(ut=function(){b(F,{left:0,top:0}),st=F.getBoundingClientRect(),b(F,{left:Math.ceil(st.left)-st.left+"px",top:Math.ceil(st.top)-st.top+"px"})},ut(),this.unSubPixelFix=x(g,"resize",ut))},B.prototype.definition=function(F){return new C([F]).addToDOM(this.defs.element)},B.prototype.getReferenceURL=function(){if((T||f)&&o.getElementsByTagName("base").length){if(!s(ct)){var F=X();F=new C([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:F},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+F+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(o.body),b(F,{position:"fixed",top:0,left:0,zIndex:9e5});var ut=o.elementFromPoint(6,6);ct=(ut&&ut.id)==="hitme",o.body.removeChild(F)}if(ct)return g.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},B.prototype.getStyle=function(F){return this.style=O({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},F)},B.prototype.setStyle=function(F){this.boxWrapper.css(this.getStyle(F))},B.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},B.prototype.destroy=function(){var F=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),l(this.gradients||{}),this.gradients=null,F&&(this.defs=F.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},B.prototype.createElement=function(F){var ut=new this.Element;return ut.init(this,F),ut},B.prototype.getRadialAttr=function(F,ut){return{cx:F[0]-F[2]/2+(ut.cx||0)*F[2],cy:F[1]-F[2]/2+(ut.cy||0)*F[2],r:(ut.r||0)*F[2]}},B.prototype.buildText=function(F){new A(F).buildSVG()},B.prototype.getContrast=function(F){return F=I.parse(F).rgba,F[0]*=1,F[1]*=1.2,F[2]*=.5,459F?F+3:Math.round(1.2*F),{h:ut,b:Math.round(.8*ut),f:F}},B.prototype.rotCorr=function(F,ut,ft){var et=F;return ut&&ft&&(et=Math.max(et*Math.cos(ut*p),4)),{x:-F/3*Math.sin(ut*p),y:et}},B.prototype.pathToSegments=function(F){for(var ut=[],ft=[],et={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},ht=0;ht":">","'":"'",'"':"""},symbols:j,draw:S}),J.registerRendererType("svg",G,!0),G}),W(c,"Core/Renderer/HTML/HTMLElement.js",[c["Core/Globals.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Utilities.js"]],function(C,I,G){var q=this&&this.__extends||function(){var T=function(w,f){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,v){S.__proto__=v}||function(S,v){for(var m in v)v.hasOwnProperty(m)&&(S[m]=v[m])},T(w,f)};return function(w,f){function S(){this.constructor=w}T(w,f),w.prototype=f===null?Object.create(f):(S.prototype=f.prototype,new S)}}(),J=C.isFirefox,U=C.isMS,V=C.isWebKit,j=C.win,A=G.css,P=G.defined,E=G.extend,p=G.pick,o=G.pInt;return function(T){function w(){return T!==null&&T.apply(this,arguments)||this}return q(w,T),w.compose=function(f){if(w.composedClasses.indexOf(f)===-1){w.composedClasses.push(f);var S=w.prototype,v=f.prototype;v.getSpanCorrection=S.getSpanCorrection,v.htmlCss=S.htmlCss,v.htmlGetBBox=S.htmlGetBBox,v.htmlUpdateTransform=S.htmlUpdateTransform,v.setSpanRotation=S.setSpanRotation}return f},w.prototype.getSpanCorrection=function(f,S,v){this.xCorr=-f*v,this.yCorr=-S},w.prototype.htmlCss=function(f){var S=this.element.tagName==="SPAN"&&f&&"width"in f,v=p(S&&f.width,void 0);if(S){delete f.width,this.textWidth=v;var m=!0}return f&&f.textOverflow==="ellipsis"&&(f.whiteSpace="nowrap",f.overflow="hidden"),this.styles=E(this.styles,f),A(this.element,f),m&&this.htmlUpdateTransform(),this},w.prototype.htmlGetBBox=function(){var f=this.element;return{x:f.offsetLeft,y:f.offsetTop,width:f.offsetWidth,height:f.offsetHeight}},w.prototype.htmlUpdateTransform=function(){if(this.added){var f=this.renderer,S=this.element,v=this.translateX||0,m=this.translateY||0,g=this.x||0,x=this.y||0,R=this.textAlign||"left",y={left:0,center:.5,right:1}[R],b=this.styles;if(b=b&&b.whiteSpace,A(S,{marginLeft:v,marginTop:m}),!f.styledMode&&this.shadows&&this.shadows.forEach(function(u){A(u,{marginLeft:v+1,marginTop:m+1})}),this.inverted&&[].forEach.call(S.childNodes,function(u){f.invertChild(u,S)}),S.tagName==="SPAN"){var s=this.rotation,l=this.textWidth&&o(this.textWidth),O=[s,R,S.innerHTML,this.textWidth,this.textAlign].join(),D=void 0;(D=l!==this.oldTextWidth)&&!(D=l>this.oldTextWidth)&&((D=this.textPxLength)||(A(S,{width:"",whiteSpace:b||"nowrap"}),D=S.offsetWidth),D=D>l),D&&(/[ \-]/.test(S.textContent||S.innerText)||S.style.textOverflow==="ellipsis")?(A(S,{width:l+"px",display:"block",whiteSpace:b||"normal"}),this.oldTextWidth=l,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,O!==this.cTT&&(D=f.fontMetrics(S.style.fontSize,S).b,!P(s)||s===(this.oldRotation||0)&&R===this.oldAlign||this.setSpanRotation(s,y,D),this.getSpanCorrection(!P(s)&&this.textPxLength||S.offsetWidth,D,y,s,R)),A(S,{left:g+(this.xCorr||0)+"px",top:x+(this.yCorr||0)+"px"}),this.cTT=O,this.oldRotation=s,this.oldAlign=R}}else this.alignOnAdd=!0},w.prototype.setSpanRotation=function(f,S,v){var m={},g=U&&!/Edge/.test(j.navigator.userAgent)?"-ms-transform":V?"-webkit-transform":J?"MozTransform":j.opera?"-o-transform":void 0;g&&(m[g]=m.transform="rotate("+f+"deg)",m[g+(J?"Origin":"-origin")]=m.transformOrigin=100*S+"% "+v+"px",A(this.element,m))},w.composedClasses=[],w}(I)}),W(c,"Core/Renderer/HTML/HTMLRenderer.js",[c["Core/Renderer/HTML/AST.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"]],function(C,I,G,q){var J=this&&this.__extends||function(){var P=function(E,p){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,T){o.__proto__=T}||function(o,T){for(var w in T)T.hasOwnProperty(w)&&(o[w]=T[w])},P(E,p)};return function(E,p){function o(){this.constructor=E}P(E,p),E.prototype=p===null?Object.create(p):(o.prototype=p.prototype,new o)}}(),U=q.attr,V=q.createElement,j=q.extend,A=q.pick;return function(P){function E(){return P!==null&&P.apply(this,arguments)||this}return J(E,P),E.compose=function(p){return E.composedClasses.indexOf(p)===-1&&(E.composedClasses.push(p),p.prototype.html=E.prototype.html),p},E.prototype.html=function(p,o,T){var w=this.createElement("span"),f=w.element,S=w.renderer,v=S.isSVG,m=function(g,x){["opacity","visibility"].forEach(function(R){g[R+"Setter"]=function(y,b,s){var l=g.div?g.div.style:x;I.prototype[R+"Setter"].call(this,y,b,s),l&&(l[b]=y)}}),g.addedSetters=!0};return w.textSetter=function(g){g!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,C.setElementHTML(this.element,A(g,"")),this.textStr=g,w.doTransform=!0)},v&&m(w,w.element.style),w.xSetter=w.ySetter=w.alignSetter=w.rotationSetter=function(g,x){x==="align"?w.alignValue=w.textAlign=g:w[x]=g,w.doTransform=!0},w.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},w.attr({text:p,x:Math.round(o),y:Math.round(T)}).css({position:"absolute"}),S.styledMode||w.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),f.style.whiteSpace="nowrap",w.css=w.htmlCss,v&&(w.add=function(g){var x=S.box.parentNode,R=[];if(this.parentGroup=g){var y=g.div;if(!y){for(;g;)R.push(g),g=g.parentGroup;R.reverse().forEach(function(b){function s(u,_){b[_]=u,_==="translateX"?D.left=u+"px":D.top=u+"px",b.doTransform=!0}var l=U(b.element,"class"),O=b.styles||{};y=b.div=b.div||V("div",l?{className:l}:void 0,{position:"absolute",left:(b.translateX||0)+"px",top:(b.translateY||0)+"px",display:b.display,opacity:b.opacity,cursor:O.cursor,pointerEvents:O.pointerEvents,visibility:b.visibility},y||x);var D=y.style;j(b,{classSetter:function(u){return function(_){this.element.setAttribute("class",_),u.className=_}}(y),on:function(){return R[0].div&&w.on.apply({element:R[0].div,onEvents:b.onEvents},arguments),b},translateXSetter:s,translateYSetter:s}),b.addedSetters||m(b)})}}else y=x;return y.appendChild(f),w.added=!0,w.alignOnAdd&&w.htmlUpdateTransform(),w}),w},E.composedClasses=[],E}(G)}),W(c,"Core/Axis/AxisDefaults.js",[c["Core/Color/Palette.js"]],function(C){var I;return function(G){G.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:C.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:C.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:C.neutralColor5,minorGridLineWidth:1,minorTickColor:C.neutralColor40,lineColor:C.highlightColor20,lineWidth:1,gridLineColor:C.neutralColor10,gridLineWidth:void 0,tickColor:C.highlightColor20},G.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var q=this.axis.chart.numberFormatter;return q(this.total,-1)},style:{color:C.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},G.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},G.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},G.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},G.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(I||(I={})),I}),W(c,"Core/Foundation.js",[c["Core/Utilities.js"]],function(C){var I=C.addEvent,G=C.isFunction,q=C.objectEach,J=C.removeEvent;return{registerEventOptions:function(U,V){U.eventOptions=U.eventOptions||{},q(V.events,function(j,A){U.eventOptions[A]!==j&&(U.eventOptions[A]&&(J(U,A,U.eventOptions[A]),delete U.eventOptions[A]),G(j)&&(U.eventOptions[A]=j,I(U,A,j)))})}}}),W(c,"Core/Axis/Tick.js",[c["Core/FormatUtilities.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(C,I,G){var q=I.deg2rad,J=G.clamp,U=G.correctFloat,V=G.defined,j=G.destroyObjectProperties,A=G.extend,P=G.fireEvent,E=G.isNumber,p=G.merge,o=G.objectEach,T=G.pick;return I=function(){function w(f,S,v,m,g){this.isNewLabel=this.isNew=!0,this.axis=f,this.pos=S,this.type=v||"",this.parameters=g||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,P(this,"init"),v||m||this.addLabel()}return w.prototype.addLabel=function(){var f=this,S=f.axis,v=S.options,m=S.chart,g=S.categories,x=S.logarithmic,R=S.names,y=f.pos,b=T(f.options&&f.options.labels,v.labels),s=S.tickPositions,l=y===s[0],O=y===s[s.length-1],D=(!b.step||b.step===1)&&S.tickInterval===1;s=s.info;var u=f.label,_;if(g=this.parameters.category||(g?T(g[y],R[y],y):y),x&&E(g)&&(g=U(x.lin2log(g))),S.dateTime)if(s)var L=m.time.resolveDTLFormat(v.dateTimeLabelFormats[!v.grid&&s.higherRanks[y]||s.unitName]),nt=L.main;else E(g)&&(nt=S.dateTime.getXDateFormat(g,v.dateTimeLabelFormats||{}));f.isFirst=l,f.isLast=O;var rt={axis:S,chart:m,dateTimeLabelFormat:nt,isFirst:l,isLast:O,pos:y,tick:f,tickPositionInfo:s,value:g};P(this,"labelFormat",rt);var it=function(ct){return b.formatter?b.formatter.call(ct,ct):b.format?(ct.text=S.defaultLabelFormatter.call(ct),C.format(b.format,ct,m)):S.defaultLabelFormatter.call(ct,ct)};v=it.call(rt,rt);var X=L&&L.list;f.shortenLabel=X?function(){for(_=0;_b&&m-s*lx&&(L=Math.round((g-m)/Math.cos(b*q))):(g=m+(1-s)*l,m-s*lx&&(u=x-f.x+u*s,_=-1),u=Math.min(O,u),uu||S.autoRotation&&(y.styles||{}).width)&&(L=u)),L&&(this.shortenLabel?this.shortenLabel():(D.width=Math.floor(L)+"px",(v.style||{}).textOverflow||(D.textOverflow="ellipsis"),y.css(D)))},w.prototype.moveLabel=function(f,S){var v=this,m=v.label,g=v.axis,x=g.reversed,R=!1;if(m&&m.textStr===f?(v.movedLabel=m,R=!0,delete v.label):o(g.ticks,function(b){R||b.isNew||b===v||!b.label||b.label.textStr!==f||(v.movedLabel=b.label,R=!0,b.labelPos=v.movedLabel.xy,delete b.label)}),!R&&(v.labelPos||m)){var y=v.labelPos||m.xy;m=g.horiz?x?0:g.width+g.left:y.x,g=g.horiz?y.y:x?g.width+g.left:0,v.movedLabel=v.createLabel({x:m,y:g},f,S),v.movedLabel&&v.movedLabel.attr({opacity:0})}},w.prototype.render=function(f,S,v){var m=this.axis,g=m.horiz,x=this.pos,R=T(this.tickmarkOffset,m.tickmarkOffset);x=this.getPosition(g,x,R,S),R=x.x;var y=x.y;m=g&&R===m.pos+m.len||!g&&y===m.pos?-1:1,g=T(v,this.label&&this.label.newOpacity,1),v=T(v,1),this.isActive=!0,this.renderGridLine(S,v,m),this.renderMark(x,v,m),this.renderLabel(x,S,g,f),this.isNew=!1,P(this,"afterRender")},w.prototype.renderGridLine=function(f,S,v){var m=this.axis,g=m.options,x={},R=this.pos,y=this.type,b=T(this.tickmarkOffset,m.tickmarkOffset),s=m.chart.renderer,l=this.gridLine,O=g.gridLineWidth,D=g.gridLineColor,u=g.gridLineDashStyle;this.type==="minor"&&(O=g.minorGridLineWidth,D=g.minorGridLineColor,u=g.minorGridLineDashStyle),l||(m.chart.styledMode||(x.stroke=D,x["stroke-width"]=O||0,x.dashstyle=u),y||(x.zIndex=1),f&&(S=0),this.gridLine=l=s.path().attr(x).addClass("highcharts-"+(y?y+"-":"")+"grid-line").add(m.gridGroup)),l&&(v=m.getPlotLinePath({value:R+b,lineWidth:l.strokeWidth()*v,force:"pass",old:f}))&&l[f||this.isNew?"attr":"animate"]({d:v,opacity:S})},w.prototype.renderMark=function(f,S,v){var m=this.axis,g=m.options,x=m.chart.renderer,R=this.type,y=m.tickSize(R?R+"Tick":"tick"),b=f.x;f=f.y;var s=T(g[R!=="minor"?"tickWidth":"minorTickWidth"],!R&&m.isXAxis?1:0);g=g[R!=="minor"?"tickColor":"minorTickColor"];var l=this.mark,O=!l;y&&(m.opposite&&(y[0]=-y[0]),l||(this.mark=l=x.path().addClass("highcharts-"+(R?R+"-":"")+"tick").add(m.axisGroup),m.chart.styledMode||l.attr({stroke:g,"stroke-width":s})),l[O?"attr":"animate"]({d:this.getMarkPath(b,f,y[0],l.strokeWidth()*v,m.horiz,x),opacity:S}))},w.prototype.renderLabel=function(f,S,v,m){var g=this.axis,x=g.horiz,R=g.options,y=this.label,b=R.labels,s=b.step;g=T(this.tickmarkOffset,g.tickmarkOffset);var l=f.x;f=f.y;var O=!0;y&&E(l)&&(y.xy=f=this.getLabelPosition(l,f,y,x,b,g,m,s),this.isFirst&&!this.isLast&&!R.showFirstLabel||this.isLast&&!this.isFirst&&!R.showLastLabel?O=!1:!x||b.step||b.rotation||S||v===0||this.handleOverflow(f),s&&m%s&&(O=!1),O&&E(f.y)?(f.opacity=v,y[this.isNewLabel?"attr":"animate"](f),this.isNewLabel=!1):(y.attr("y",-9999),this.isNewLabel=!0))},w.prototype.replaceMovedLabel=function(){var f=this.label,S=this.axis,v=S.reversed;if(f&&!this.isNew){var m=S.horiz?v?S.left:S.width+S.left:f.xy.x;v=S.horiz?f.xy.y:v?S.width+S.top:S.top,f.animate({x:m,y:v,opacity:0},void 0,f.destroy),delete this.label}S.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},w}(),I}),W(c,"Core/Axis/Axis.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Axis/AxisDefaults.js"],c["Core/Color/Color.js"],c["Core/Color/Palette.js"],c["Core/DefaultOptions.js"],c["Core/Foundation.js"],c["Core/Globals.js"],c["Core/Axis/Tick.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A){var P=C.animObject,E=J.defaultOptions,p=U.registerEventOptions,o=V.deg2rad,T=A.arrayMax,w=A.arrayMin,f=A.clamp,S=A.correctFloat,v=A.defined,m=A.destroyObjectProperties,g=A.erase,x=A.error,R=A.extend,y=A.fireEvent,b=A.getMagnitude,s=A.isArray,l=A.isNumber,O=A.isString,D=A.merge,u=A.normalizeTickInterval,_=A.objectEach,L=A.pick,nt=A.relativeLength,rt=A.removeEvent,it=A.splat,X=A.syncTimeout;return C=function(){function ct(B,F){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(B,F)}return ct.prototype.init=function(B,F){var ut=F.isX;this.chart=B,this.horiz=B.inverted&&!this.isZAxis?!ut:ut,this.isXAxis=ut,this.coll=this.coll||(ut?"xAxis":"yAxis"),y(this,"init",{userOptions:F}),this.opposite=L(F.opposite,this.opposite),this.side=L(F.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(F);var ft=this.options,et=ft.labels,ht=ft.type;this.userOptions=F,this.minPixelPadding=0,this.reversed=L(ft.reversed,this.reversed),this.visible=ft.visible,this.zoomEnabled=ft.zoomEnabled,this.hasNames=ht==="category"||ft.categories===!0,this.categories=ft.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=v(ft.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=ft.minRange||ft.maxZoom,this.range=ft.range,this.offset=ft.offset||0,this.min=this.max=null,F=L(ft.crosshair,it(B.options.tooltip.crosshairs)[ut?0:1]),this.crosshair=F===!0?{}:F,B.axes.indexOf(this)===-1&&(ut?B.axes.splice(B.xAxis.length,0,this):B.axes.push(this),B[this.coll].push(this)),this.series=this.series||[],B.inverted&&!this.isZAxis&&ut&&typeof this.reversed=="undefined"&&(this.reversed=!0),this.labelRotation=l(et.rotation)?et.rotation:void 0,p(this,ft),y(this,"afterInit")},ct.prototype.setOptions=function(B){this.options=D(I.defaultXAxisOptions,this.coll==="yAxis"&&I.defaultYAxisOptions,[I.defaultTopAxisOptions,I.defaultRightAxisOptions,I.defaultBottomAxisOptions,I.defaultLeftAxisOptions][this.side],D(E[this.coll],B)),y(this,"afterSetOptions",{userOptions:B})},ct.prototype.defaultLabelFormatter=function(B){var F=this.axis;B=this.chart.numberFormatter;var ut=l(this.value)?this.value:NaN,ft=F.chart.time,et=this.dateTimeLabelFormat,ht=E.lang,z=ht.numericSymbols;ht=ht.numericSymbolMagnitude||1e3;var tt=F.logarithmic?Math.abs(ut):F.tickInterval,Q=z&&z.length;if(F.categories)var K=""+this.value;else if(et)K=ft.dateFormat(et,ut);else if(Q&&1e3<=tt)for(;Q--&&typeof K=="undefined";)F=Math.pow(ht,Q+1),tt>=F&&10*ut%F===0&&z[Q]!==null&&ut!==0&&(K=B(ut/F,-1)+z[Q]);return typeof K=="undefined"&&(K=1e4<=Math.abs(ut)?B(ut,-1):B(ut,-1,void 0,"")),K},ct.prototype.getSeriesExtremes=function(){var B=this,F=B.chart,ut;y(this,"getSeriesExtremes",null,function(){B.hasVisibleSeries=!1,B.dataMin=B.dataMax=B.threshold=null,B.softThreshold=!B.isXAxis,B.stacking&&B.stacking.buildStacks(),B.series.forEach(function(ft){if(ft.visible||!F.options.chart.ignoreHiddenSeries){var et=ft.options,ht=et.threshold;if(B.hasVisibleSeries=!0,B.positiveValuesOnly&&0>=ht&&(ht=null),B.isXAxis){if(et=ft.xData,et.length){et=B.logarithmic?et.filter(B.validatePositiveValue):et,ut=ft.getXExtremes(et);var z=ut.min,tt=ut.max;l(z)||z instanceof Date||(et=et.filter(l),ut=ft.getXExtremes(et),z=ut.min,tt=ut.max),et.length&&(B.dataMin=Math.min(L(B.dataMin,z),z),B.dataMax=Math.max(L(B.dataMax,tt),tt))}}else ft=ft.applyExtremes(),l(ft.dataMin)&&(z=ft.dataMin,B.dataMin=Math.min(L(B.dataMin,z),z)),l(ft.dataMax)&&(tt=ft.dataMax,B.dataMax=Math.max(L(B.dataMax,tt),tt)),v(ht)&&(B.threshold=ht),(!et.softThreshold||B.positiveValuesOnly)&&(B.softThreshold=!1)}})}),y(this,"afterGetSeriesExtremes")},ct.prototype.translate=function(B,F,ut,ft,et,ht){var z=this.linkedParent||this,tt=ft&&z.old?z.old.min:z.min,Q=z.minPixelPadding;et=(z.isOrdinal||z.brokenAxis&&z.brokenAxis.hasBreaks||z.logarithmic&&et)&&z.lin2val;var K=1,st=0;return ft=ft&&z.old?z.old.transA:z.transA,ft||(ft=z.transA),ut&&(K*=-1,st=z.len),z.reversed&&(K*=-1,st-=K*(z.sector||z.len)),F?(B=(B*K+st-Q)/ft+tt,et&&(B=z.lin2val(B))):(et&&(B=z.val2lin(B)),B=l(tt)?K*(B-tt)*ft+st+K*Q+(l(ht)?ft*ht:0):void 0),B},ct.prototype.toPixels=function(B,F){return this.translate(B,!1,!this.horiz,null,!0)+(F?0:this.pos)},ct.prototype.toValue=function(B,F){return this.translate(B-(F?0:this.pos),!0,!this.horiz,null,!0)},ct.prototype.getPlotLinePath=function(B){function F(Mt,mt,Ot){return(Tt!=="pass"&&MtOt)&&(Tt?Mt=f(Mt,mt,Ot):Pt=!0),Mt}var ut=this,ft=ut.chart,et=ut.left,ht=ut.top,z=B.old,tt=B.value,Q=B.lineWidth,K=z&&ft.oldChartHeight||ft.chartHeight,st=z&&ft.oldChartWidth||ft.chartWidth,xt=ut.transB,gt=B.translatedValue,Tt=B.force,vt,Dt,Bt,Nt,Pt;return B={value:tt,lineWidth:Q,old:z,force:Tt,acrossPanes:B.acrossPanes,translatedValue:gt},y(this,"getPlotLinePath",B,function(Mt){gt=L(gt,ut.translate(tt,null,null,z)),gt=f(gt,-1e5,1e5),vt=Bt=Math.round(gt+xt),Dt=Nt=Math.round(K-gt-xt),l(gt)?ut.horiz?(Dt=ht,Nt=K-ut.bottom,vt=Bt=F(vt,et,et+ut.width)):(vt=et,Bt=st-ut.right,Dt=Nt=F(Dt,ht,ht+ut.height)):(Pt=!0,Tt=!1),Mt.path=Pt&&!Tt?null:ft.renderer.crispLine([["M",vt,Dt],["L",Bt,Nt]],Q||1)}),B.path},ct.prototype.getLinearTickPositions=function(B,F,ut){var ft=S(Math.floor(F/B)*B);ut=S(Math.ceil(ut/B)*B);var et=[],ht;if(S(ft+B)===ft&&(ht=20),this.single)return[F];for(F=ft;F<=ut&&(et.push(F),F=S(F+B,ht),F!==z);)var z=F;return et},ct.prototype.getMinorTickInterval=function(){var B=this.options;return B.minorTicks===!0?L(B.minorTickInterval,"auto"):B.minorTicks===!1?null:B.minorTickInterval},ct.prototype.getMinorTickPositions=function(){var B=this.options,F=this.tickPositions,ut=this.minorTickInterval,ft=this.pointRangePadding||0,et=this.min-ft;ft=this.max+ft;var ht=ft-et,z=[];if(ht&&ht/ut=this.minRange,st=this.minRange,xt=(st-ft+ut)/2;xt=[ut-xt,L(B.min,ut-xt)],K&&(xt[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),ut=T(xt),ft=[ut+st,L(B.max,ut+st)],K&&(ft[2]=F?F.log2lin(this.dataMax):this.dataMax),ft=w(ft),ft-ut=Tt)Bt=Tt,xt=0;else if(F.dataMax<=Tt){var Nt=Tt;st=0}}F.min=L(vt,Bt,F.dataMin),F.max=L(Dt,Nt,F.dataMax)}ft&&(F.positiveValuesOnly&&!B&&0>=Math.min(F.min,L(F.dataMin,F.min))&&x(10,1,ut),F.min=S(ft.log2lin(F.min),16),F.max=S(ft.log2lin(F.max),16)),F.range&&v(F.max)&&(F.userMin=F.min=vt=Math.max(F.dataMin,F.minFromRange()),F.userMax=Dt=F.max,F.range=null),y(F,"foundExtremes"),F.beforePadding&&F.beforePadding(),F.adjustForMinRange(),!(Q||F.axisPointRange||F.stacking&&F.stacking.usePercentage||z)&&v(F.min)&&v(F.max)&&(ut=F.max-F.min)&&(!v(vt)&&xt&&(F.min-=ut*xt),!v(Dt)&&st&&(F.max+=ut*st)),l(F.userMin)||(l(et.softMin)&&et.softMinF.max&&(F.max=Dt=et.softMax),l(et.ceiling)&&(F.max=Math.min(F.max,et.ceiling))),K&&v(F.dataMin)&&(Tt=Tt||0,!v(vt)&&F.min=Tt?F.min=F.options.minRange?Math.min(Tt,F.max-F.minRange):Tt:!v(Dt)&&F.max>Tt&&F.dataMax<=Tt&&(F.max=F.options.minRange?Math.max(Tt,F.min+F.minRange):Tt)),l(F.min)&&l(F.max)&&!this.chart.polar&&F.min>F.max&&(v(F.options.min)?F.max=F.min:v(F.options.max)&&(F.min=F.max)),F.tickInterval=F.min===F.max||typeof F.min=="undefined"||typeof F.max=="undefined"?1:z&&F.linkedParent&&!gt&&tt===F.linkedParent.options.tickPixelInterval?gt=F.linkedParent.tickInterval:L(gt,this.tickAmount?(F.max-F.min)/Math.max(this.tickAmount-1,1):void 0,Q?1:(F.max-F.min)*tt/Math.max(F.len,tt)),ht&&!B&&(F.series.forEach(function(Pt){Pt.forceCrop=Pt.forceCropping&&Pt.forceCropping(),Pt.processData(F.min!==(F.old&&F.old.min)||F.max!==(F.old&&F.old.max))}),y(this,"postProcessData")),F.setAxisTranslation(),y(this,"initialAxisTranslation"),F.pointRange&&!gt&&(F.tickInterval=Math.max(F.pointRange,F.tickInterval)),B=L(et.minTickInterval,F.dateTime&&!F.series.some(function(Pt){return Pt.noSharedTooltip})?F.closestPointRange:0),!gt&&F.tickIntervalF.tickInterval||this.tickAmount!==void 0),!!this.tickAmount)),this.tickAmount||(F.tickInterval=F.unsquish()),this.setTickPositions()},ct.prototype.setTickPositions=function(){var B=this.options,F=B.tickPositions,ut=this.getMinorTickInterval(),ft=this.hasVerticalPanning(),et=this.coll==="colorAxis",ht=(et||!ft)&&B.startOnTick;ft=(et||!ft)&&B.endOnTick,et=B.tickPositioner,this.tickmarkOffset=this.categories&&B.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.minorTickInterval=ut==="auto"&&this.tickInterval?this.tickInterval/5:ut,this.single=this.min===this.max&&v(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||B.allowDecimals!==!1),this.tickPositions=ut=F&&F.slice(),!ut&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?ut=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,B.units),this.min,this.max,B.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(ut=[this.min,this.max],x(19,!1,this.chart)),ut.length>this.len&&(ut=[ut[0],ut.pop()],ut[0]===ut[1]&&(ut.length=1)),this.tickPositions=ut,et&&(et=et.apply(this,[this.min,this.max])))&&(this.tickPositions=ut=et),this.paddedTicks=ut.slice(0),this.trimTicks(ut,ht,ft),this.isLinked||(this.single&&2>ut.length&&!this.categories&&!this.series.some(function(z){return z.is("heatmap")&&z.options.pointPlacement==="between"})&&(this.min-=.5,this.max+=.5),F||et||this.adjustTickAmount()),y(this,"afterSetTickPositions")},ct.prototype.trimTicks=function(B,F,ut){var ft=B[0],et=B[B.length-1],ht=!this.isOrdinal&&this.minPointOffset||0;if(y(this,"trimTicks"),!this.isLinked){if(F&&ft!==-1/0)this.min=ft;else for(;this.min-ht>B[0];)B.shift();if(ut)this.max=et;else for(;this.max+htut&&(this.finalTickAmt=ut,ut=5),this.tickAmount=ut},ct.prototype.adjustTickAmount=function(){var B=this.options,F=this.tickInterval,ut=this.tickPositions,ft=this.tickAmount,et=this.finalTickAmt,ht=ut&&ut.length,z=L(this.threshold,this.softThreshold?0:null);if(this.hasData()&&l(this.min)&&l(this.max)){if(htft&&(this.tickInterval*=2,this.setTickPositions());if(v(et)){for(F=B=ut.length;F--;)(et===3&&F%2===1||2>=et&&0tt&&(K=tt)),v(et)&&(sttt&&(st=tt))),ut.displayBtn=typeof K!="undefined"||typeof st!="undefined",ut.setExtremes(K,st,!1,void 0,{trigger:"zoom"})),Q.zoomed=!0}),B.zoomed},ct.prototype.setAxisSize=function(){var B=this.chart,F=this.options,ut=F.offsets||[0,0,0,0],ft=this.horiz,et=this.width=Math.round(nt(L(F.width,B.plotWidth-ut[3]+ut[1]),B.plotWidth)),ht=this.height=Math.round(nt(L(F.height,B.plotHeight-ut[0]+ut[2]),B.plotHeight)),z=this.top=Math.round(nt(L(F.top,B.plotTop+ut[0]),B.plotHeight,B.plotTop));F=this.left=Math.round(nt(L(F.left,B.plotLeft+ut[3]),B.plotWidth,B.plotLeft)),this.bottom=B.chartHeight-ht-z,this.right=B.chartWidth-et-F,this.len=Math.max(ft?et:ht,0),this.pos=ft?F:z},ct.prototype.getExtremes=function(){var B=this.logarithmic;return{min:B?S(B.lin2log(this.min)):this.min,max:B?S(B.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},ct.prototype.getThreshold=function(B){var F=this.logarithmic,ut=F?F.lin2log(this.min):this.min;return F=F?F.lin2log(this.max):this.max,B===null||B===-1/0?B=ut:B===1/0?B=F:ut>B?B=ut:FF?ut.align="right":195F&&(ut.align="left")}),B.align},ct.prototype.tickSize=function(B){var F=this.options,ut=L(F[B==="tick"?"tickWidth":"minorTickWidth"],B==="tick"&&this.isXAxis&&!this.categories?1:0),ft=F[B==="tick"?"tickLength":"minorTickLength"];if(ut&&ft){F[B+"Position"]==="inside"&&(ft=-ft);var et=[ft,ut]}return B={tickSize:et},y(this,"afterTickSize",B),B.tickSize},ct.prototype.labelMetrics=function(){var B=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[B]&&this.ticks[B].label)},ct.prototype.unsquish=function(){var B=this.options.labels,F=this.horiz,ut=this.tickInterval,ft=this.len/(((this.categories?1:0)+this.max-this.min)/ut),et=B.rotation,ht=this.labelMetrics(),z=Math.max(this.max-this.min,0),tt=function(Tt){var vt=Tt/(ft||1);return vt=1z&&Tt!==1/0&&ft!==1/0&&z&&(vt=Math.ceil(z/ut)),S(vt*ut)},Q=ut,K,st,xt=Number.MAX_VALUE;if(F){if(!B.staggerLines&&!B.step)if(l(et))var gt=[et];else ft=Tt){st=tt(Math.abs(ht.h/Math.sin(o*Tt)));var vt=st+Math.abs(Tt/360);vtft.step)return ft.rotation?0:(this.staggerLines||1)*this.len/et;if(!ut){if(B=ft.style.width,B!==void 0)return parseInt(String(B),10);if(ht)return ht-F.spacing[3]}return .33*F.chartWidth},ct.prototype.renderUnsquish=function(){var B=this.chart,F=B.renderer,ut=this.tickPositions,ft=this.ticks,et=this.options.labels,ht=et.style,z=this.horiz,tt=this.getSlotWidth(),Q=Math.max(1,Math.round(tt-2*et.padding)),K={},st=this.labelMetrics(),xt=ht.textOverflow,gt=0;if(O(et.rotation)||(K.rotation=et.rotation||0),ut.forEach(function(Bt){Bt=ft[Bt],Bt.movedLabel&&Bt.replaceMovedLabel(),Bt&&Bt.label&&Bt.label.textPxLength>gt&&(gt=Bt.label.textPxLength)}),this.maxLabelLength=gt,this.autoRotation)gt>Q&>>st.h?K.rotation=this.labelRotation:this.labelRotation=0;else if(tt){var Tt=Q;if(!xt){var vt="clip";for(Q=ut.length;!z&&Q--;){var Dt=ut[Q];(Dt=ft[Dt].label)&&(Dt.styles&&Dt.styles.textOverflow==="ellipsis"?Dt.css({textOverflow:"clip"}):Dt.textPxLength>tt&&Dt.css({width:tt+"px"}),Dt.getBBox().height>this.len/ut.length-(st.h-st.f)&&(Dt.specificTextOverflow="ellipsis"))}}}K.rotation&&(Tt=gt>.5*B.chartHeight?.33*B.chartHeight:gt,xt||(vt="ellipsis")),(this.labelAlign=et.align||this.autoLabelAlign(this.labelRotation))&&(K.align=this.labelAlign),ut.forEach(function(Bt){var Nt=(Bt=ft[Bt])&&Bt.label,Pt=ht.width,Mt={};Nt&&(Nt.attr(K),Bt.shortenLabel?Bt.shortenLabel():Tt&&!Pt&&ht.whiteSpace!=="nowrap"&&(Tt=this.min&&B<=this.max||this.grid&&this.grid.isColumn)&&(ft[B]||(ft[B]=new j(this,B)),ut&&ft[B].isNew&&ft[B].render(F,!0,-1),ft[B].render(F))},ct.prototype.render=function(){var B=this,F=B.chart,ut=B.logarithmic,ft=B.options,et=B.isLinked,ht=B.tickPositions,z=B.axisTitle,tt=B.ticks,Q=B.minorTicks,K=B.alternateBands,st=ft.stackLabels,xt=ft.alternateGridColor,gt=B.tickmarkOffset,Tt=B.axisLine,vt=B.showAxis,Dt=P(F.renderer.globalAnimation),Bt,Nt;if(B.labelEdge.length=0,B.overlap=!1,[tt,Q,K].forEach(function(Mt){_(Mt,function(mt){mt.isActive=!1})}),B.hasData()||et){var Pt=B.chart.hasRendered&&B.old&&l(B.old.min);B.minorTickInterval&&!B.categories&&B.getMinorTickPositions().forEach(function(Mt){B.renderMinorTick(Mt,Pt)}),ht.length&&(ht.forEach(function(Mt,mt){B.renderTick(Mt,mt,Pt)}),gt&&(B.min===0||B.single)&&(tt[-1]||(tt[-1]=new j(B,-1,null,!0)),tt[-1].render(-1))),xt&&ht.forEach(function(Mt,mt){Nt=typeof ht[mt+1]!="undefined"?ht[mt+1]+gt:B.max-gt,mt%2===0&&MtT&&(!f||m<=w)&&typeof m!="undefined"&&g.push(m),m>w&&(y=!0),m=s}}}else T=this.lin2log(T),w=this.lin2log(w),o=f?S.getMinorTickInterval():m.tickInterval,o=J(o==="auto"?null:o,this.minorAutoInterval,m.tickPixelInterval/(f?5:1)*(w-T)/((f?v/S.tickPositions.length:v)||1)),o=q(o,void 0,G(o)),g=S.getLinearTickPositions(o,T,w).map(this.log2lin),f||(this.minorAutoInterval=o/5);return f||(S.tickInterval=o),g},p.prototype.lin2log=function(o){return Math.pow(10,o)},p.prototype.log2lin=function(o){return Math.log(o)/Math.LN10},p}();V.Additions=E}(U||(U={})),U}),W(c,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[c["Core/Utilities.js"]],function(C){var I=C.erase,G=C.extend,q=C.isNumber,J;return function(U){var V=[],j;U.compose=function(P,E){return j||(j=P),V.indexOf(E)===-1&&(V.push(E),G(E.prototype,A.prototype)),E};var A=function(){function P(){}return P.prototype.getPlotBandPath=function(E,p,o){o===void 0&&(o=this.options);var T=this.getPlotLinePath({value:p,force:!0,acrossPanes:o.acrossPanes}),w=[],f=this.horiz;if(p=!q(this.min)||!q(this.max)||Ethis.max&&p>this.max,E=this.getPlotLinePath({value:E,force:!0,acrossPanes:o.acrossPanes}),o=1,E&&T){if(p){var S=E.toString()===T.toString();o=0}for(p=0;pMt-L?Mt:Mt-L);else if(Pt)_[Q]=Math.max(Tt,gt+L+st>K?gt:gt+L);else return!1},ht=function(Q,K,st,xt,gt){var Tt;return gtK-u?Tt=!1:_[Q]=gtK-xt/2?K-xt-2:gt-st/2,Tt},z=function(Q){var K=B;B=F,F=K,ut=Q},tt=function(){et.apply(0,B)!==!1?ht.apply(0,F)!==!1||ut||(z(!0),tt()):ut?_.x=_.y=0:(z(!0),tt())};return(D.inverted||1Mt})&&(s=s.map(function(Pt){var Mt=O(Pt.anchorX,Pt.anchorY,Pt.point.isHeader,Pt.boxWidth,!1);return w(Pt,{target:Mt.y,x:Mt.x})})),D.cleanSplit(),A(s,Dt);var Bt=gt,Nt=gt;s.forEach(function(Pt){var Mt=Pt.x,mt=Pt.boxWidth;Pt=Pt.isHeader,Pt||(D.outside&>+MtNt&&(Nt=gt+Mt))}),s.forEach(function(Pt){var Mt=Pt.x,mt=Pt.anchorX,Ot=Pt.pos,Yt=Pt.point.isHeader;if(Ot={visibility:typeof Ot=="undefined"?"hidden":"inherit",x:Mt,y:Ot+Tt,anchorX:mt,anchorY:Pt.anchorY},D.outside&&MtO[0]?Math.max(Math.abs(O[0]),u.width-O[0]):Math.max(Math.abs(O[0]),u.width),D.height=0>O[1]?Math.max(Math.abs(O[1]),u.height-Math.abs(O[1])):Math.max(Math.abs(O[1]),u.height),this.tracker?this.tracker.attr(D):(this.tracker=l.renderer.rect(D).addClass("highcharts-tracker").add(l),s.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},b.prototype.styledModeFormat=function(s){return s.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},b.prototype.tooltipFooterHeaderFormatter=function(s,l){var O=s.series,D=O.tooltipOptions,u=O.xAxis,_=u&&u.dateTime;u={isFooter:l,labelConfig:s};var L=D.xDateFormat,nt=D[l?"footerFormat":"headerFormat"];return f(this,"headerFormatter",u,function(rt){_&&!L&&v(s.key)&&(L=_.getXDateFormat(s.key,D.dateTimeLabelFormats)),_&&L&&(s.point&&s.point.tooltipDateKeys||["key"]).forEach(function(it){nt=nt.replace("{point."+it+"}","{point."+it+":"+L+"}")}),O.chart.styledMode&&(nt=this.styledModeFormat(nt)),rt.text=V(nt,{point:s,series:O},this.chart)}),u.text},b.prototype.update=function(s){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,s),this.init(this.chart,g(!0,this.options,s))},b.prototype.updatePosition=function(s){var l=this.chart,O=this.options,D=l.pointer,u=this.getLabel();D=D.getChartPosition();var _=(O.positioner||this.getPosition).call(this,u.width,u.height,s),L=s.plotX+l.plotLeft;s=s.plotY+l.plotTop,this.outside&&(O=O.borderWidth+2*this.distance,this.renderer.setSize(u.width+O,u.height+O,!1),(D.scaleX!==1||D.scaleY!==1)&&(p(this.container,{transform:"scale("+D.scaleX+", "+D.scaleY+")"}),L*=D.scaleX,s*=D.scaleY),L+=D.left-_.x,s+=D.top-_.y),this.move(Math.round(_.x),Math.round(_.y||0),L,s)},b}(),C}),W(c,"Core/Series/Point.js",[c["Core/Renderer/HTML/AST.js"],c["Core/Animation/AnimationUtilities.js"],c["Core/DefaultOptions.js"],c["Core/FormatUtilities.js"],c["Core/Utilities.js"]],function(C,I,G,q,J){var U=I.animObject,V=G.defaultOptions,j=q.format,A=J.addEvent,P=J.defined,E=J.erase,p=J.extend,o=J.fireEvent,T=J.getNestedProperty,w=J.isArray,f=J.isFunction,S=J.isNumber,v=J.isObject,m=J.merge,g=J.objectEach,x=J.pick,R=J.syncTimeout,y=J.removeEvent,b=J.uniqueKey;return I=function(){function s(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return s.prototype.animateBeforeDestroy=function(){var l=this,O={x:l.startXPos,opacity:0},D=l.getGraphicalProps();D.singular.forEach(function(u){l[u]=l[u].animate(u==="dataLabel"?{x:l[u].startXPos,y:l[u].startYPos,opacity:0}:O)}),D.plural.forEach(function(u){l[u].forEach(function(_){_.element&&_.animate(p({x:l.startXPos},_.startYPos?{x:_.startXPos,y:_.startYPos}:{}))})})},s.prototype.applyOptions=function(l,O){var D=this.series,u=D.options.pointValKey||D.pointValKey;return l=s.prototype.optionsToObject.call(this,l),p(this,l),this.options=this.options?p(this.options,l):l,l.group&&delete this.group,l.dataLabels&&delete this.dataLabels,u&&(this.y=s.prototype.getNestedProperty.call(this,u)),this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),this.x===null||!S(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&typeof O=="undefined"&&D.xAxis&&D.xAxis.hasNames&&(this.x=D.xAxis.nameToX(this)),typeof this.x=="undefined"&&D?this.x=typeof O=="undefined"?D.autoIncrement():O:S(l.x)&&D.options.relativeXValue&&(this.x=D.autoIncrement(l.x)),this},s.prototype.destroy=function(){function l(){(O.graphic||O.dataLabel||O.dataLabels)&&(y(O),O.destroyElements());for(nt in O)O[nt]=null}var O=this,D=O.series,u=D.chart;D=D.options.dataSorting;var _=u.hoverPoints,L=U(O.series.chart.renderer.globalAnimation),nt;O.legendItem&&u.legend.destroyItem(O),_&&(O.setState(),E(_,O),_.length||(u.hoverPoints=null)),O===u.hoverPoint&&O.onMouseOut(),D&&D.enabled?(this.animateBeforeDestroy(),R(l,L.duration)):l(),u.pointCount--},s.prototype.destroyElements=function(l){var O=this;l=O.getGraphicalProps(l),l.singular.forEach(function(D){O[D]=O[D].destroy()}),l.plural.forEach(function(D){O[D].forEach(function(u){u.element&&u.destroy()}),delete O[D]})},s.prototype.firePointEvent=function(l,O,D){var u=this,_=this.series.options;(_.point.events[l]||u.options&&u.options.events&&u.options.events[l])&&u.importEvents(),l==="click"&&_.allowPointSelect&&(D=function(L){u.select&&u.select(null,L.ctrlKey||L.metaKey||L.shiftKey)}),o(u,l,O,D)},s.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(typeof this.colorIndex!="undefined"?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},s.prototype.getGraphicalProps=function(l){var O=this,D=[],u={singular:[],plural:[]},_;for(l=l||{graphic:1,dataLabel:1},l.graphic&&D.push("graphic","upperGraphic","shadowGroup"),l.dataLabel&&D.push("dataLabel","dataLabelUpper","connector"),_=D.length;_--;){var L=D[_];O[L]&&u.singular.push(L)}return["dataLabel","connector"].forEach(function(nt){var rt=nt+"s";l[nt]&&O[rt]&&u.plural.push(rt)}),u},s.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},s.prototype.getNestedProperty=function(l){if(l)return l.indexOf("custom.")===0?T(l,this.options):this[l]},s.prototype.getZone=function(){var l=this.series,O=l.zones;l=l.zoneAxis||"y";var D,u=0;for(D=O[u];this[l]>=D.value;)D=O[++u];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=D&&D.color&&!this.options.color?D.color:this.nonZonedColor,D},s.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},s.prototype.init=function(l,O,D){return this.series=l,this.applyOptions(O,D),this.id=P(this.id)?this.id:b(),this.resolveColor(),l.chart.pointCount++,o(this,"afterInit"),this},s.prototype.optionsToObject=function(l){var O=this.series,D=O.options.keys,u=D||O.pointArrayMap||["y"],_=u.length,L={},nt=0,rt=0;if(S(l)||l===null)L[u[0]]=l;else if(w(l))for(!D&&l.length>_&&(O=typeof l[0],O==="string"?L.name=l[0]:O==="number"&&(L.x=l[0]),nt++);rt<_;)D&&typeof l[nt]=="undefined"||(0D+_&&(ct=D+_),Bu+L&&(B=u+L),this.hasDragged=Math.sqrt(Math.pow(nt-ct,2)+Math.pow(rt-B,2)),10u.options.findNearestPointBy.indexOf("y");if(u=u.searchPoint(s,_),(_=S(u,!0)&&u.series)&&!(_=!S(D,!0))){_=D.distX-u.distX;var L=D.dist-u.dist,nt=(u.series.group&&u.series.group.zIndex)-(D.series.group&&D.series.group.zIndex);_=0<(_!==0&&b?_:L!==0?L:nt!==0?nt:D.series.index>u.series.index?-1:1)}_&&(D=u)}),D},R.prototype.getChartCoordinatesFromPoint=function(y,b){var s=y.series,l=s.xAxis;s=s.yAxis;var O=y.shapeArgs;if(l&&s){var D=g(y.clientX,y.plotX),u=y.plotY||0;return y.isNode&&O&&f(O.x)&&f(O.y)&&(D=O.x,u=O.y),b?{chartX:s.len+s.pos-u,chartY:l.len+l.pos-D}:{chartX:D+l.pos,chartY:u+s.pos}}if(O&&O.x&&O.y)return{chartX:O.x,chartY:O.y}},R.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var y=this.chart.container,b=m(y);this.chartPosition={left:b.left,top:b.top,scaleX:1,scaleY:1};var s=y.offsetWidth;return y=y.offsetHeight,2F.max&&(s=F.max-ht,st=!0);st?(Q-=.8*(Q-u[nt][0]),typeof K=="number"&&(K-=.8*(K-u[nt][1])),b()):u[nt]=[Q,K],B||(D[nt]=z-ct,D[X]=ht),D=B?1/tt:tt,O[X]=ht,O[nt]=s,l[B?y?"scaleY":"scaleX":"scale"+rt]=tt,l["translate"+rt]=D*ct+(Q-D*ft)},R.prototype.reset=function(y,b){var s=this.chart,l=s.hoverSeries,O=s.hoverPoint,D=s.hoverPoints,u=s.tooltip,_=u&&u.shared?D:O;y&&_&&x(_).forEach(function(L){L.series.isCartesian&&typeof L.plotX=="undefined"&&(y=!1)}),y?u&&_&&x(_).length&&(u.refresh(_),u.shared&&D?D.forEach(function(L){L.setState(L.state,!0),L.series.isCartesian&&(L.series.xAxis.crosshair&&L.series.xAxis.drawCrosshair(null,L),L.series.yAxis.crosshair&&L.series.yAxis.drawCrosshair(null,L))}):O&&(O.setState(O.state,!0),s.axes.forEach(function(L){L.crosshair&&O.series[L.coll]===L&&L.drawCrosshair(null,O)}))):(O&&O.onMouseOut(),D&&D.forEach(function(L){L.setState()}),l&&l.onMouseOut(),u&&u.hide(b),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),s.axes.forEach(function(L){L.hideCrosshair()}),this.hoverX=s.hoverPoints=s.hoverPoint=null)},R.prototype.runPointActions=function(y,b){var s=this.chart,l=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,O=l?l.shared:!1,D=b||s.hoverPoint,u=D&&D.series||s.hoverSeries;b=this.getHoverData(D,u,s.series,(!y||y.type!=="touchmove")&&(!!b||u&&u.directTouch&&this.isDirectTouch),O,y),D=b.hoverPoint,u=b.hoverSeries;var _=b.hoverPoints;if(b=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,O=O&&u&&!u.noSharedTooltip,D&&(D!==s.hoverPoint||l&&l.isHidden)){if((s.hoverPoints||[]).forEach(function(L){_.indexOf(L)===-1&&L.setState()}),s.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(_),(_||[]).forEach(function(L){L.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!D.series)return;s.hoverPoints=_,s.hoverPoint=D,D.firePointEvent("mouseOver"),l&&l.refresh(O?_:D,y)}else b&&l&&!l.isHidden&&(D=l.getAnchor([{}],y),s.isInsidePlot(D[0],D[1],{visiblePlotOnly:!0})&&l.updatePosition({plotX:D[0],plotY:D[1]}));this.unDocMouseMove||(this.unDocMouseMove=A(s.container.ownerDocument,"mousemove",function(L){var nt=V[R.hoverChartIndex];nt&&nt.pointer.onDocumentMouseMove(L)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(L){var nt=g((L.crosshair||{}).snap,!0),rt;nt&&((rt=s.hoverPoint)&&rt.series[L.coll]===L||(rt=T(_,function(it){return it.series[L.coll]===L}))),rt||!nt?L.drawCrosshair(y,rt):L.hideCrosshair()})},R.prototype.scaleGroups=function(y,b){var s=this.chart;s.series.forEach(function(l){var O=y||l.getPlotBox();l.xAxis&&l.xAxis.zoomEnabled&&l.group&&(l.group.attr(O),l.markerGroup&&(l.markerGroup.attr(O),l.markerGroup.clip(b?s.clipRect:null)),l.dataLabelsGroup&&l.dataLabelsGroup.attr(O))}),s.clipRect.attr(b||s.clipBox)},R.prototype.setDOMEvents=function(){var y=this,b=this.chart.container,s=b.ownerDocument;b.onmousedown=this.onContainerMouseDown.bind(this),b.onmousemove=this.onContainerMouseMove.bind(this),b.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(A(b,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(A(b,"mouseleave",this.onContainerMouseLeave.bind(this))),R.unbindDocumentMouseUp||(R.unbindDocumentMouseUp=A(s,"mouseup",this.onDocumentMouseUp.bind(this)));for(var l=this.chart.renderTo.parentElement;l&&l.tagName!=="BODY";)this.eventsToUnbind.push(A(l,"scroll",function(){delete y.chartPosition})),l=l.parentElement;I.hasTouch&&(this.eventsToUnbind.push(A(b,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(A(b,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),R.unbindDocumentTouchEnd||(R.unbindDocumentTouchEnd=A(s,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},R.prototype.setHoverChartIndex=function(){var y=this.chart,b=I.charts[g(R.hoverChartIndex,-1)];b&&b!==y&&b.pointer.onContainerMouseLeave({relatedTarget:!0}),b&&b.mouseIsDown||(R.hoverChartIndex=y.index)},R.prototype.touch=function(y,b){var s=this.chart,l;if(this.setHoverChartIndex(),y.touches.length===1)if(y=this.normalize(y),(l=s.isInsidePlot(y.chartX-s.plotLeft,y.chartY-s.plotTop,{visiblePlotOnly:!0}))&&!s.openMenu){if(b&&this.runPointActions(y),y.type==="touchmove"){b=this.pinchDown;var O=b[0]?4<=Math.sqrt(Math.pow(b[0].chartX-y.chartX,2)+Math.pow(b[0].chartY-y.chartY,2)):!1}g(O,!0)&&this.pinch(y)}else b&&this.reset();else y.touches.length===2&&this.pinch(y)},R.prototype.touchSelect=function(y){return!(!this.chart.options.chart.zoomBySingleTouch||!y.touches||y.touches.length!==1)},R.prototype.zoomOption=function(y){var b=this.chart,s=b.options.chart;b=b.inverted;var l=s.zoomType||"";/touch/.test(y.type)&&(l=g(s.pinchType,l)),this.zoomX=y=/x/.test(l),this.zoomY=s=/y/.test(l),this.zoomHor=y&&!b||s&&b,this.zoomVert=s&&!b||y&&b,this.hasZoom=y||s},R}(),C}),W(c,"Core/MSPointer.js",[c["Core/Globals.js"],c["Core/Pointer.js"],c["Core/Utilities.js"]],function(C,I,G){function q(){var S=[];return S.item=function(v){return this[v]},o(w,function(v){S.push({pageX:v.pageX,pageY:v.pageY,target:v.target})}),S}function J(S,v,m,g){var x=V[I.hoverChartIndex||NaN];S.pointerType!=="touch"&&S.pointerType!==S.MSPOINTER_TYPE_TOUCH||!x||(x=x.pointer,g(S),x[v]({type:m,target:S.currentTarget,preventDefault:A,touches:q()}))}var U=this&&this.__extends||function(){var S=function(v,m){return S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var R in x)x.hasOwnProperty(R)&&(g[R]=x[R])},S(v,m)};return function(v,m){function g(){this.constructor=v}S(v,m),v.prototype=m===null?Object.create(m):(g.prototype=m.prototype,new g)}}(),V=C.charts,j=C.doc,A=C.noop,P=C.win,E=G.addEvent,p=G.css,o=G.objectEach,T=G.removeEvent,w={},f=!!P.PointerEvent;return function(S){function v(){return S!==null&&S.apply(this,arguments)||this}return U(v,S),v.isRequired=function(){return!(C.hasTouch||!P.PointerEvent&&!P.MSPointerEvent)},v.prototype.batchMSEvents=function(m){m(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),m(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),m(j,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},v.prototype.destroy=function(){this.batchMSEvents(T),S.prototype.destroy.call(this)},v.prototype.init=function(m,g){S.prototype.init.call(this,m,g),this.hasZoom&&p(m.container,{"-ms-touch-action":"none","touch-action":"none"})},v.prototype.onContainerPointerDown=function(m){J(m,"onContainerTouchStart","touchstart",function(g){w[g.pointerId]={pageX:g.pageX,pageY:g.pageY,target:g.currentTarget}})},v.prototype.onContainerPointerMove=function(m){J(m,"onContainerTouchMove","touchmove",function(g){w[g.pointerId]={pageX:g.pageX,pageY:g.pageY},w[g.pointerId].target||(w[g.pointerId].target=g.currentTarget)})},v.prototype.onDocumentPointerUp=function(m){J(m,"onDocumentTouchEnd","touchend",function(g){delete w[g.pointerId]})},v.prototype.setDOMEvents=function(){S.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(E)},v}(I)}),W(c,"Core/Legend/Legend.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/FormatUtilities.js"],c["Core/Globals.js"],c["Core/Series/Point.js"],c["Core/Renderer/RendererUtilities.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){var V=C.animObject,j=C.setAnimation,A=I.format;C=G.isFirefox;var P=G.marginNames;G=G.win;var E=J.distribute,p=U.addEvent,o=U.createElement,T=U.css,w=U.defined,f=U.discardElement,S=U.find,v=U.fireEvent,m=U.isNumber,g=U.merge,x=U.pick,R=U.relativeLength,y=U.stableSort,b=U.syncTimeout;return J=U.wrap,U=function(){function s(l,O){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=l,this.init(l,O)}return s.prototype.init=function(l,O){this.chart=l,this.setOptions(O),O.enabled&&(this.render(),p(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=p(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},s.prototype.setOptions=function(l){var O=x(l.padding,8);this.options=l,this.chart.styledMode||(this.itemStyle=l.itemStyle,this.itemHiddenStyle=g(this.itemStyle,l.itemHiddenStyle)),this.itemMarginTop=l.itemMarginTop||0,this.itemMarginBottom=l.itemMarginBottom||0,this.padding=O,this.initialItemY=O-5,this.symbolWidth=x(l.symbolWidth,16),this.pages=[],this.proximate=l.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0},s.prototype.update=function(l,O){var D=this.chart;this.setOptions(g(!0,this.options,l)),this.destroy(),D.isDirtyLegend=D.isDirtyBox=!0,x(O,!0)&&D.redraw(),v(this,"afterUpdate")},s.prototype.colorizeItem=function(l,O){if(l.legendGroup[O?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var D=this.options,u=l.legendItem,_=l.legendLine,L=l.legendSymbol,nt=this.itemHiddenStyle.color;D=O?D.itemStyle.color:nt;var rt=O&&l.color||nt,it=l.options&&l.options.marker,X={fill:rt};u&&u.css({fill:D,color:D}),_&&_.attr({stroke:rt}),L&&(it&&L.isMarker&&(X=l.pointAttribs(),O||(X.stroke=X.fill=nt)),L.attr(X))}v(this,"afterColorizeItem",{item:l,visible:O})},s.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},s.prototype.positionItem=function(l){var O=this,D=this.options,u=D.symbolPadding,_=!D.rtl,L=l._legendItemPos;D=L[0],L=L[1];var nt=l.checkbox,rt=l.legendGroup;rt&&rt.element&&(u={translateX:_?D:this.legendWidth-D-2*u-4,translateY:L},_=function(){v(O,"afterPositionItem",{item:l})},w(rt.translateY)?rt.animate(u,void 0,_):(rt.attr(u),_())),nt&&(nt.x=D,nt.y=L)},s.prototype.destroyItem=function(l){var O=l.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(D){l[D]&&(l[D]=l[D].destroy())}),O&&f(l.checkbox)},s.prototype.destroy=function(){function l(O){this[O]&&(this[O]=this[O].destroy())}this.getAllItems().forEach(function(O){["legendItem","legendGroup"].forEach(l,O)}),"clipRect up down pager nav box title group".split(" ").forEach(l,this),this.display=null},s.prototype.positionCheckboxes=function(){var l=this.group&&this.group.alignAttr,O=this.clipHeight||this.legendHeight,D=this.titleHeight;if(l){var u=l.translateY;this.allItems.forEach(function(_){var L=_.checkbox;if(L){var nt=u+D+L.y+(this.scrollOffset||0)+3;T(L,{left:l.translateX+_.checkboxOffset+L.x-20+"px",top:nt+"px",display:this.proximate||nt>u-6&&ntit?this.maxItemWidth:l.itemWidth,u&&this.itemX-D+O>it&&(this.itemX=D,this.lastLineHeight&&(this.itemY+=nt+this.lastLineHeight+L),this.lastLineHeight=0),this.lastItemY=nt+this.itemY+L,this.lastLineHeight=Math.max(_,this.lastLineHeight),l._legendItemPos=[this.itemX,this.itemY],u?this.itemX+=O:(this.itemY+=nt+_+L,this.lastLineHeight=_),this.offsetWidth=this.widthOption||Math.max((u?this.itemX-D-(l.checkbox?0:rt):O)+D,this.offsetWidth)},s.prototype.getAllItems=function(){var l=[];return this.chart.series.forEach(function(O){var D=O&&O.options;O&&x(D.showInLegend,w(D.linkedTo)?!1:void 0,!0)&&(l=l.concat(O.legendItems||(D.legendType==="point"?O.data:O)))}),v(this,"afterGetAllItems",{allItems:l}),l},s.prototype.getAlignment=function(){var l=this.options;return this.proximate?l.align.charAt(0)+"tv":l.floating?"":l.align.charAt(0)+l.verticalAlign.charAt(0)+l.layout.charAt(0)},s.prototype.adjustMargins=function(l,O){var D=this.chart,u=this.options,_=this.getAlignment();_&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(L,nt){L.test(_)&&!w(l[nt])&&(D[P[nt]]=Math.max(D[P[nt]],D.legend[(nt+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][nt]*u[nt%2?"x":"y"]+x(u.margin,12)+O[nt]+(D.titleOffset[nt]||0)))})},s.prototype.proximatePositions=function(){var l=this.chart,O=[],D=this.options.align==="left";this.allItems.forEach(function(u){var _,L=D;if(u.yAxis){u.xAxis.options.reversed&&(L=!L),u.points&&(_=S(L?u.points:u.points.slice(0).reverse(),function(rt){return m(rt.plotY)})),L=this.itemMarginTop+u.legendItem.getBBox().height+this.itemMarginBottom;var nt=u.yAxis.top-l.plotTop;u.visible?(_=_?_.plotY:u.yAxis.height,_+=nt-.3*L):_=nt+u.yAxis.height,O.push({target:_,size:L,item:u})}},this),E(O,l.plotHeight).forEach(function(u){u.item._legendItemPos&&(u.item._legendItemPos[1]=l.plotTop-l.spacing[0]+u.pos)})},s.prototype.render=function(){var l=this.chart,O=l.renderer,D=this.options,u=this.padding,_=this.getAllItems(),L=this.group,nt=this.box;this.itemX=u,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=R(D.width,l.spacingBox.width-u);var rt=l.spacingBox.width-2*u-D.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(rt/=2),this.maxLegendWidth=this.widthOption||rt,L||(this.group=L=O.g("legend").addClass(D.className||"").attr({zIndex:7}).add(),this.contentGroup=O.g().attr({zIndex:1}).add(L),this.scrollGroup=O.g().add(this.contentGroup)),this.renderTitle(),y(_,function(X,ct){return(X.options&&X.options.legendIndex||0)-(ct.options&&ct.options.legendIndex||0)}),D.reversed&&_.reverse(),this.allItems=_,this.display=rt=!!_.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,_.forEach(this.renderItem,this),_.forEach(this.layoutItem,this),_=(this.widthOption||this.offsetWidth)+u;var it=this.lastItemY+this.lastLineHeight+this.titleHeight;it=this.handleOverflow(it),it+=u,nt||(this.box=nt=O.rect().addClass("highcharts-legend-box").attr({r:D.borderRadius}).add(L),nt.isNew=!0),l.styledMode||nt.attr({stroke:D.borderColor,"stroke-width":D.borderWidth||0,fill:D.backgroundColor||"none"}).shadow(D.shadow),0<_&&0L&&X.enabled!==!1?(this.clipHeight=ht=Math.max(L-20-this.titleHeight-rt,0),this.currentPage=x(this.currentPage,1),this.fullHeight=l,ut.forEach(function(K,st){var xt=K._legendItemPos[1],gt=Math.round(K.legendItem.getBBox().height),Tt=F.length;(!Tt||xt-F[Tt-1]>ht&&(z||xt)!==F[Tt-1])&&(F.push(z||xt),Tt++),K.pageIx=Tt-1,z&&(ut[st-1].pageIx=Tt-1),st===ut.length-1&&xt+gt-F[Tt-1]>ht&&xt!==z&&(F.push(xt),K.pageIx=Tt),xt!==z&&(z=xt)}),Q||(Q=O.clipRect=u.clipRect(0,rt,9999,0),O.contentGroup.clip(Q)),ft(ht),tt||(this.nav=tt=u.g().attr({zIndex:1}).add(this.group),this.up=u.symbol("triangle",0,0,B,B).add(tt),et("upTracker").on("click",function(){O.scroll(-1,ct)}),this.pager=u.text("",15,10).addClass("highcharts-legend-navigation"),D.styledMode||this.pager.css(X.style),this.pager.add(tt),this.down=u.symbol("triangle-down",0,0,B,B).add(tt),et("downTracker").on("click",function(){O.scroll(1,ct)})),O.scroll(0),l=L):tt&&(ft(),this.nav=tt.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),l},s.prototype.scroll=function(l,O){var D=this,u=this.chart,_=this.pages,L=_.length,nt=this.clipHeight,rt=this.options.navigation,it=this.pager,X=this.padding,ct=this.currentPage+l;ct>L&&(ct=L),0=Math.max(rn+le,bn.pos)&&Ve<=Math.min(rn+le+ae.width,bn.pos+bn.len)||(mt.isInsidePlot=!1)}return!Yt.ignoreY&&mt.isInsidePlot&&($t=nn&&($t?nn.xAxis:nn.yAxis)||{pos:Oe,len:1/0},Yt=Yt.paneCoordinates?$t.pos+Ot:Oe+Ot,Yt>=Math.max(ln+Oe,$t.pos)&&Yt<=Math.min(ln+Oe+ae.height,$t.pos+$t.len)||(mt.isInsidePlot=!1)),et(this,"afterIsInsidePlot",mt),mt.isInsidePlot},Mt.prototype.redraw=function(mt){et(this,"beforeRedraw");var Ot=this.hasCartesianSeries?this.axes:this.colorAxis||[],Yt=this.series,$t=this.pointer,ae=this.legend,le=this.userOptions.legend,Oe=this.renderer,Ve=Oe.isHidden(),rn=[],ln=this.isDirtyBox,nn=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),m(this.hasRendered?mt:!1,this),Ve&&this.temporaryDisplay(),this.layOutTitles(),mt=Yt.length;mt--;){var bn=Yt[mt];if(bn.options.stacking||bn.options.centerInCategory){var un=!0;if(bn.isDirty){var se=!0;break}}}if(se)for(mt=Yt.length;mt--;)bn=Yt[mt],bn.options.stacking&&(bn.isDirty=!0);Yt.forEach(function(ie){ie.isDirty&&(ie.options.legendType==="point"?(typeof ie.updateTotals=="function"&&ie.updateTotals(),nn=!0):le&&(le.labelFormatter||le.labelFormat)&&(nn=!0)),ie.isDirtyData&&et(ie,"updatedData")}),nn&&ae&&ae.options.enabled&&(ae.render(),this.isDirtyLegend=!1),un&&this.getStacks(),Ot.forEach(function(ie){ie.updateNames(),ie.setScale()}),this.getMargins(),Ot.forEach(function(ie){ie.isDirty&&(ln=!0)}),Ot.forEach(function(ie){var ne=ie.min+","+ie.max;ie.extKey!==ne&&(ie.extKey=ne,rn.push(function(){et(ie,"afterSetExtremes",ut(ie.eventArgs,ie.getExtremes())),delete ie.eventArgs})),(ln||un)&&ie.redraw()}),ln&&this.drawChartBox(),et(this,"predraw"),Yt.forEach(function(ie){(ln||ie.isDirty)&&ie.visible&&ie.redraw(),ie.isDirtyData=!1}),$t&&$t.reset(!0),Oe.draw(),et(this,"redraw"),et(this,"render"),Ve&&this.temporaryDisplay(!0),rn.forEach(function(ie){ie.call()})},Mt.prototype.get=function(mt){function Ot(le){return le.id===mt||le.options&&le.options.id===mt}for(var Yt=this.series,$t=ft(this.axes,Ot)||ft(this.series,Ot),ae=0;!$t&&ae=ln&&$t<=nn||bn||!X($t))&&(un=!0),Yt[bn?"zoomX":"zoomY"]&&un&&(le=rn.zoom(Ve.min,Ve.max),rn.displayBtn&&(ae=!0))});var Oe=Ot.resetZoomButton;ae&&!Oe?Ot.showResetZoom():!ae&&Q(Oe)&&(Ot.resetZoomButton=Oe.destroy()),le&&Ot.redraw(gt(Ot.options.chart.animation,mt&&mt.animation,100>Ot.pointCount))},Mt.prototype.pan=function(mt,Ot){var Yt=this,$t=Yt.hoverPoints;Ot=typeof Ot=="object"?Ot:{enabled:Ot,type:"x"};var ae=Yt.options.chart,le=Yt.options.mapNavigation&&Yt.options.mapNavigation.enabled;ae&&ae.panning&&(ae.panning=Ot);var Oe=Ot.type,Ve;et(this,"pan",{originalEvent:mt},function(){$t&&$t.forEach(function(nn){nn.setState()});var rn=Yt.xAxis;Oe==="xy"?rn=rn.concat(Yt.yAxis):Oe==="y"&&(rn=Yt.yAxis);var ln={};rn.forEach(function(nn){if(nn.options.panningEnabled&&!nn.options.isInternal){var bn=nn.horiz,un=mt[bn?"chartX":"chartY"];bn=bn?"mouseDownX":"mouseDownY";var se=Yt[bn],ie=nn.minPointOffset||0,ne=nn.reversed&&!Yt.inverted||!nn.reversed&&Yt.inverted?-1:1,Lt=nn.getExtremes(),jt=nn.toValue(se-un,!0)+ie*ne,Ut=nn.toValue(se+nn.len-un,!0)-(ie*ne||nn.isXAxis&&nn.pointRangePadding||0),Ft=Ut=ne&&jt<=Ut&&(nn.setExtremes(se,jt,!1,!1,{trigger:"pan"}),Yt.resetZoomButton||le||se===ne||jt===Ut||!Oe.match("y")||(Yt.showResetZoom(),nn.displayBtn=!1),Ve=!0),ln[bn]=un)}}),xt(ln,function(nn,bn){Yt[bn]=nn}),Ve&&Yt.redraw(!1),it(Yt.container,{cursor:"move"})})},Mt}(),ut(C.prototype,{callbacks:[],collectionsWithInit:{xAxis:[C.prototype.addAxis,[!0]],yAxis:[C.prototype.addAxis,[!1]],series:[C.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),C}),W(c,"Core/Legend/LegendSymbol.js",[c["Core/Utilities.js"]],function(C){var I=C.merge,G=C.pick,q;return function(J){J.drawLineMarker=function(U){var V=this.options,j=U.symbolWidth,A=U.symbolHeight,P=A/2,E=this.chart.renderer,p=this.legendGroup;U=U.baseline-Math.round(.3*U.fontMetrics.b);var o={},T=V.marker;this.chart.styledMode||(o={"stroke-width":V.lineWidth||0},V.dashStyle&&(o.dashstyle=V.dashStyle)),this.legendLine=E.path([["M",0,U],["L",j,U]]).addClass("highcharts-graph").attr(o).add(p),T&&T.enabled!==!1&&j&&(V=Math.min(G(T.radius,P),P),this.symbol.indexOf("url")===0&&(T=I(T,{width:A,height:A}),V=0),this.legendSymbol=j=E.symbol(this.symbol,j/2-V,U-V,2*V,2*V,T).addClass("highcharts-point").add(p),j.isMarker=!0)},J.drawRectangle=function(U,V){var j=U.symbolHeight,A=U.options.squareSymbol;V.legendSymbol=this.chart.renderer.rect(A?(U.symbolWidth-j)/2:0,U.baseline-j+1,A?j:U.symbolWidth,j,G(U.options.symbolRadius,j/2)).addClass("highcharts-point").attr({zIndex:3}).add(V.legendGroup)}}(q||(q={})),q}),W(c,"Core/Series/SeriesDefaults.js",[c["Core/Color/Palette.js"]],function(C){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:C.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:C.neutralColor20,lineColor:C.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var I=this.series.chart.numberFormatter;return typeof this.y!="number"?"":I(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),W(c,"Core/Series/Series.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/DefaultOptions.js"],c["Core/Foundation.js"],c["Core/Globals.js"],c["Core/Legend/LegendSymbol.js"],c["Core/Color/Palette.js"],c["Core/Series/Point.js"],c["Core/Series/SeriesDefaults.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A,P,E){var p=C.animObject,o=C.setAnimation,T=I.defaultOptions,w=G.registerEventOptions,f=q.hasTouch,S=q.svg,v=q.win,m=A.seriesTypes,g=E.addEvent,x=E.arrayMax,R=E.arrayMin,y=E.clamp,b=E.cleanRecursively,s=E.correctFloat,l=E.defined,O=E.erase,D=E.error,u=E.extend,_=E.find,L=E.fireEvent,nt=E.getNestedProperty,rt=E.isArray,it=E.isNumber,X=E.isString,ct=E.merge,B=E.objectEach,F=E.pick,ut=E.removeEvent,ft=E.splat,et=E.syncTimeout;return C=function(){function ht(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return ht.prototype.init=function(z,tt){L(this,"init",{options:tt});var Q=this,K=z.series;this.eventsToUnbind=[],Q.chart=z,Q.options=Q.setOptions(tt),tt=Q.options,Q.linkedSeries=[],Q.bindAxes(),u(Q,{name:tt.name,state:"",visible:tt.visible!==!1,selected:tt.selected===!0}),w(this,tt);var st=tt.events;(st&&st.click||tt.point&&tt.point.events&&tt.point.events.click||tt.allowPointSelect)&&(z.runTrackerClick=!0),Q.getColor(),Q.getSymbol(),Q.parallelArrays.forEach(function(gt){Q[gt+"Data"]||(Q[gt+"Data"]=[])}),Q.isCartesian&&(z.hasCartesianSeries=!0);var xt;K.length&&(xt=K[K.length-1]),Q._i=F(xt&&xt._i,-1)+1,Q.opacity=Q.options.opacity,z.orderSeries(this.insert(K)),tt.dataSorting&&tt.dataSorting.enabled?Q.setDataSortingOptions():Q.points||Q.data||Q.setData(tt.data,!1),L(this,"afterInit")},ht.prototype.is=function(z){return m[z]&&this instanceof m[z]},ht.prototype.insert=function(z){var tt=this.options.index,Q;if(it(tt)){for(Q=z.length;Q--;)if(tt>=F(z[Q].options.index,z[Q]._i)){z.splice(Q+1,0,this);break}Q===-1&&z.unshift(this),Q+=1}else z.push(this);return F(Q,z.length-1)},ht.prototype.bindAxes=function(){var z=this,tt=z.options,Q=z.chart,K;L(this,"bindAxes",null,function(){(z.axisTypes||[]).forEach(function(st){var xt=0;Q[st].forEach(function(gt){K=gt.options,(tt[st]===xt&&!K.isInternal||typeof tt[st]!="undefined"&&tt[st]===K.id||typeof tt[st]=="undefined"&&K.index===0)&&(z.insert(gt.series),z[st]=gt,gt.isDirty=!0),K.isInternal||xt++}),z[st]||z.optionalAxis===st||D(18,!0,Q)})}),L(this,"afterBindAxes")},ht.prototype.updateParallelArrays=function(z,tt){var Q=z.series,K=arguments,st=it(tt)?function(xt){var gt=xt==="y"&&Q.toYData?Q.toYData(z):z[xt];Q[xt+"Data"][tt]=gt}:function(xt){Array.prototype[tt].apply(Q[xt+"Data"],Array.prototype.slice.call(K,2))};Q.parallelArrays.forEach(st)},ht.prototype.hasData=function(){return this.visible&&typeof this.dataMax!="undefined"&&typeof this.dataMin!="undefined"||this.visible&&this.yData&&0=this.cropStart?vt-this.cropStart:vt),!Tt&&it(vt)&&st[vt]&&st[vt].touched&&(vt=void 0),vt},ht.prototype.updateData=function(z,tt){var Q=this.options,K=Q.dataSorting,st=this.points,xt=[],gt=this.requireSorting,Tt=z.length===st.length,vt,Dt,Bt,Nt=!0;if(this.xIncrement=null,z.forEach(function(Pt,Mt){var mt=l(Pt)&&this.pointClass.prototype.optionsToObject.call({series:this},Pt)||{},Ot=mt.x;mt.id||it(Ot)?(mt=this.findPointIndex(mt,Bt),mt===-1||typeof mt=="undefined"?xt.push(Pt):st[mt]&&Pt!==Q.data[mt]?(st[mt].update(Pt,!1,null,!1),st[mt].touched=!0,gt&&(Bt=mt+1)):st[mt]&&(st[mt].touched=!0),(!Tt||Mt!==mt||K&&K.enabled||this.hasDerivedData)&&(vt=!0)):xt.push(Pt)},this),vt)for(z=st.length;z--;)(Dt=st[z])&&!Dt.touched&&Dt.remove&&Dt.remove(!1,tt);else!Tt||K&&K.enabled?Nt=!1:(z.forEach(function(Pt,Mt){Pt!==st[Mt].y&&st[Mt].update&&st[Mt].update(Pt,!1,null,!1)}),xt.length=0);return st.forEach(function(Pt){Pt&&(Pt.touched=!1)}),Nt?(xt.forEach(function(Pt){this.addPoint(Pt,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0):!1},ht.prototype.setData=function(z,tt,Q,K){var st=this,xt=st.points,gt=xt&&xt.length||0,Tt=st.options,vt=st.chart,Dt=Tt.dataSorting,Bt=st.xAxis,Nt=Tt.turboThreshold,Pt=this.xData,Mt=this.yData,mt=st.pointArrayMap;mt=mt&&mt.length;var Ot=Tt.keys,Yt,$t=0,ae=1,le=null;z=z||[];var Oe=z.length;if(tt=F(tt,!0),Dt&&Dt.enabled&&(z=this.sortData(z)),K!==!1&&Oe&>&&!st.cropped&&!st.hasGroupedData&&st.visible&&!st.isSeriesBoosting&&(Yt=this.updateData(z,Q)),!Yt){if(st.xIncrement=null,st.colorCounter=0,this.parallelArrays.forEach(function(Ve){st[Ve+"Data"].length=0}),Nt&&Oe>Nt)if(le=st.getFirstValidPoint(z),it(le))for(Q=0;Qst?1:0}).forEach(function(st,xt){st.x=xt},this),tt.linkedSeries&&tt.linkedSeries.forEach(function(st){var xt=st.options,gt=xt.data;xt.dataSorting&&xt.dataSorting.enabled||!gt||(gt.forEach(function(Tt,vt){gt[vt]=K(st,Tt),z[vt]&&(gt[vt].x=z[vt].x,gt[vt].index=vt)}),st.setData(gt,!1))}),z},ht.prototype.getProcessedData=function(z){var tt=this.xAxis,Q=this.options,K=Q.cropThreshold,st=z||this.getExtremesFromAll||Q.getExtremesFromAll,xt=this.isCartesian;z=tt&&tt.val2lin,Q=!(!tt||!tt.logarithmic);var gt=0,Tt=this.xData,vt=this.yData,Dt=this.requireSorting,Bt=!1,Nt=Tt.length;if(tt){Bt=tt.getExtremes();var Pt=Bt.min,Mt=Bt.max;Bt=tt.categories&&!tt.names.length}if(xt&&this.sorted&&!st&&(!K||Nt>K||this.forceCrop)){if(Tt[Nt-1]Mt)Tt=[],vt=[];else if(this.yData&&(Tt[0]Mt)){var mt=this.cropData(this.xData,this.yData,Pt,Mt);Tt=mt.xData,vt=mt.yData,gt=mt.start,mt=!0}}for(K=Tt.length||1;--K;)if(tt=Q?z(Tt[K])-z(Tt[K-1]):Tt[K]-Tt[K-1],0tt&&Dt&&!Bt&&(D(15,!1,this.chart),Dt=!1);return{xData:Tt,yData:vt,cropped:mt,cropStart:gt,closestPointRange:Ot}},ht.prototype.processData=function(z){var tt=this.xAxis;if(this.isCartesian&&!this.isDirty&&!tt.isDirty&&!this.yAxis.isDirty&&!z)return!1;z=this.getProcessedData(),this.cropped=z.cropped,this.cropStart=z.cropStart,this.processedXData=z.xData,this.processedYData=z.yData,this.closestPointRange=this.basePointRange=z.closestPointRange},ht.prototype.cropData=function(z,tt,Q,K,st){var xt=z.length,gt,Tt=0,vt=xt;for(st=F(st,this.cropShoulder),gt=0;gt=Q){Tt=Math.max(0,gt-st);break}for(Q=gt;QK){vt=Q+st;break}return{xData:z.slice(Tt,vt),yData:tt.slice(Tt,vt),start:Tt,end:vt}},ht.prototype.generatePoints=function(){var z=this.options,tt=z.data,Q=this.processedXData,K=this.processedYData,st=this.pointClass,xt=Q.length,gt=this.cropStart||0,Tt=this.hasGroupedData,vt=z.keys,Dt=[];z=z.dataGrouping&&z.dataGrouping.groupAll?gt:0;var Bt,Nt,Pt=this.data;if(!Pt&&!Tt){var Mt=[];Mt.length=tt.length,Pt=this.data=Mt}for(vt&&Tt&&(this.options.keys=!1),Nt=0;Nt=vt&&(st[Tt-gt]||Mt)<=Dt,mt&&Mt)if(mt=Pt.length)for(;mt--;)it(Pt[mt])&&(xt[Bt++]=Pt[mt]);else xt[Bt++]=Pt}return z={dataMin:R(xt),dataMax:x(xt)},L(this,"afterGetExtremes",{dataExtremes:z}),z},ht.prototype.applyExtremes=function(){var z=this.getExtremes();return this.dataMin=z.dataMin,this.dataMax=z.dataMax,z},ht.prototype.getFirstValidPoint=function(z){for(var tt=z.length,Q=0,K=null;K===null&&Q=rn&&(rn=null),$t.total=$t.stackTotal=le.total,$t.percentage=le.total&&$t.y/le.total*100,$t.stackY=Ve,this.irregularWidths||le.setOffset(this.pointXOffset||0,this.barW||0)),$t.yBottom=l(rn)?y(xt.translate(rn,0,1,0,1),-1e5,1e5):null,vt&&(Ve=this.modifyValue(Ve,$t)),$t.plotY=void 0,it(Ve)&&(le=xt.translate(Ve,!1,!0,!1,!0),typeof le!="undefined"&&($t.plotY=y(le,-1e5,1e5))),$t.isInside=this.isPointInside($t),$t.clientX=Bt?s(Q.translate(ae,0,0,0,1,Dt)):Ot,$t.negative=$t[Mt]<(z[Mt+"Threshold"]||Nt||0),$t.category=K&&typeof K[$t.x]!="undefined"?K[$t.x]:$t.x,!$t.isNull&&$t.visible!==!1){typeof bn!="undefined"&&(Yt=Math.min(Yt,Math.abs(Ot-bn)));var bn=Ot}$t.zone=this.zones.length&&$t.getZone(),!$t.graphic&&this.group&&st&&($t.isNew=!0)}this.closestPointRangePx=Yt,L(this,"afterTranslate")},ht.prototype.getValidPoints=function(z,tt,Q){var K=this.chart;return(z||this.points||[]).filter(function(st){return tt&&!K.isInsidePlot(st.plotX,st.plotY,{inverted:K.inverted})?!1:st.visible!==!1&&(Q||!st.isNull)})},ht.prototype.getClipBox=function(z,tt){var Q=this.options,K=this.chart,st=K.inverted,xt=this.xAxis,gt=xt&&this.yAxis,Tt=K.options.chart.scrollablePlotArea||{};return z&&Q.clip===!1&>?z=st?{y:-K.chartWidth+gt.len+gt.pos,height:K.chartWidth,width:K.chartHeight,x:-K.chartHeight+xt.len+xt.pos}:{y:-gt.pos,height:K.chartHeight,width:K.chartWidth,x:-xt.pos}:(z=this.clipBox||K.clipBox,tt&&(z.width=K.plotSizeX,z.x=(K.scrollablePixelsX||0)*(Tt.scrollPositionX||0))),tt?{width:z.width,x:z.x}:z},ht.prototype.getSharedClipKey=function(z){if(this.sharedClipKey)return this.sharedClipKey;var tt=[z&&z.duration,z&&z.easing,z&&z.defer,this.getClipBox(z).height,this.options.xAxis,this.options.yAxis].join();return(this.options.clip!==!1||z)&&(this.sharedClipKey=tt),tt},ht.prototype.setClip=function(z){var tt=this.chart,Q=this.options,K=tt.renderer,st=tt.inverted,xt=this.clipBox,gt=this.getClipBox(z),Tt=this.getSharedClipKey(z),vt=tt.sharedClips[Tt],Dt=tt.sharedClips[Tt+"m"];z&&(gt.width=0,st&&(gt.x=tt.plotHeight+(Q.clip!==!1?0:tt.plotTop))),vt?tt.hasLoaded||vt.attr(gt):(z&&(tt.sharedClips[Tt+"m"]=Dt=K.clipRect(st?(tt.plotSizeX||0)+99:-99,st?-tt.plotLeft:-tt.plotTop,99,st?tt.chartWidth:tt.chartHeight)),tt.sharedClips[Tt]=vt=K.clipRect(gt),vt.count={length:0}),z&&!vt.count[this.index]&&(vt.count[this.index]=!0,vt.count.length+=1),(Q.clip!==!1||z)&&(this.group.clip(z||xt?vt:tt.clipRect),this.markerGroup.clip(Dt)),z||(vt.count[this.index]&&(delete vt.count[this.index],--vt.count.length),vt.count.length===0&&(xt||(tt.sharedClips[Tt]=vt.destroy()),Dt&&(tt.sharedClips[Tt+"m"]=Dt.destroy())))},ht.prototype.animate=function(z){var tt=this.chart,Q=p(this.options.animation),K=this.sharedClipKey;if(z)this.setClip(Q);else if(K){z=tt.sharedClips[K],K=tt.sharedClips[K+"m"];var st=this.getClipBox(Q,!0);z&&z.animate(st,Q),K&&K.animate({width:st.width+99,x:st.x-(tt.inverted?0:99)},Q)}},ht.prototype.afterAnimate=function(){this.setClip(),L(this,"afterAnimate"),this.finishedAnimating=!0},ht.prototype.drawPoints=function(){var z=this.points,tt=this.chart,Q=this.options.marker,K=this[this.specialGroup]||this.markerGroup,st=this.xAxis,xt=F(Q.enabled,!st||st.isRadial?!0:null,this.closestPointRangePx>=Q.enabledThreshold*Q.radius),gt,Tt;if(Q.enabled!==!1||this._hasPointMarkers)for(gt=0;gtVe.max,z.resetZones&&Nt===0&&(Nt=void 0)}),this.clips=st}else z.visible&&(xt&&xt.show(!0),gt&>.show(!0))},ht.prototype.invertGroups=function(z){function tt(){["group","markerGroup"].forEach(function(st){Q[st]&&(K.renderer.isVML&&Q[st].attr({width:Q.yAxis.len,height:Q.xAxis.len}),Q[st].width=Q.yAxis.len,Q[st].height=Q.xAxis.len,Q[st].invert(Q.isRadialSeries?!1:z))})}var Q=this,K=Q.chart;Q.xAxis&&(Q.eventsToUnbind.push(g(K,"resize",tt)),tt(),Q.invertGroups=tt)},ht.prototype.plotGroup=function(z,tt,Q,K,st){var xt=this[z],gt=!xt;return Q={visibility:Q,zIndex:K||.1},typeof this.opacity=="undefined"||this.chart.styledMode||this.state==="inactive"||(Q.opacity=this.opacity),gt&&(this[z]=xt=this.chart.renderer.g().add(st)),xt.addClass("highcharts-"+tt+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(l(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(xt.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),xt.attr(Q)[gt?"attr":"animate"](this.getPlotBox()),xt},ht.prototype.getPlotBox=function(){var z=this.chart,tt=this.xAxis,Q=this.yAxis;return z.inverted&&(tt=Q,Q=this.xAxis),{translateX:tt?tt.left:z.plotLeft,translateY:Q?Q.top:z.plotTop,scaleX:1,scaleY:1}},ht.prototype.removeEvents=function(z){z||ut(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(tt){tt()}),this.eventsToUnbind.length=0)},ht.prototype.render=function(){var z=this,tt=z.chart,Q=z.options,K=p(Q.animation),st=z.visible?"inherit":"hidden",xt=Q.zIndex,gt=z.hasRendered,Tt=tt.seriesGroup,vt=tt.inverted,Dt=!z.finishedAnimating&&tt.renderer.isSVG&&K.duration;L(this,"render");var Bt=z.plotGroup("group","series",st,xt,Tt);z.markerGroup=z.plotGroup("markerGroup","markers",st,xt,Tt),Dt&&z.animate&&z.animate(!0),Bt.inverted=F(z.invertible,z.isCartesian)?vt:!1,z.drawGraph&&(z.drawGraph(),z.applyZones()),z.visible&&z.drawPoints(),z.drawDataLabels&&z.drawDataLabels(),z.redrawPoints&&z.redrawPoints(),z.drawTracker&&z.options.enableMouseTracking!==!1&&z.drawTracker(),z.invertGroups(vt),Q.clip===!1||z.sharedClipKey||gt||Bt.clip(tt.clipRect),Dt&&z.animate&&z.animate(),gt||(Dt&&K.defer&&(Dt+=K.defer),z.animationTimeout=et(function(){z.afterAnimate()},Dt||0)),z.isDirty=!1,z.hasRendered=!0,L(z,"afterRender")},ht.prototype.redraw=function(){var z=this.chart,tt=this.isDirty||this.isDirtyData,Q=this.group,K=this.xAxis,st=this.yAxis;Q&&(z.inverted&&Q.attr({width:z.plotWidth,height:z.plotHeight}),Q.animate({translateX:F(K&&K.left,z.plotLeft),translateY:F(st&&st.top,z.plotTop)})),this.translate(),this.render(),tt&&delete this.kdTree},ht.prototype.searchPoint=function(z,tt){var Q=this.xAxis,K=this.yAxis,st=this.chart.inverted;return this.searchKDTree({clientX:st?Q.len-z.chartY+Q.pos:z.chartX-Q.pos,plotY:st?K.len-z.chartX+K.pos:z.chartY-K.pos},tt,z)},ht.prototype.buildKDTree=function(z){function tt(st,xt,gt){var Tt=st&&st.length;if(Tt){var vt=Q.kdAxisArray[xt%gt];return st.sort(function(Dt,Bt){return Dt[vt]-Bt[vt]}),Tt=Math.floor(Tt/2),{point:st[Tt],left:tt(st.slice(0,Tt),xt+1,gt),right:tt(st.slice(Tt+1),xt+1,gt)}}}this.buildingKdTree=!0;var Q=this,K=-1Mt?"left":"right",Ot=0>Mt?"right":"left",Dt[Yt]&&(Yt=K(vt,Dt[Yt],Bt+1,Nt),mt=Yt[Tt]Mt;)mt--;this.updateParallelArrays(Pt,"splice",mt,0,0),this.updateParallelArrays(Pt,mt),vt&&Pt.name&&(vt[Mt]=Pt.name),Dt.splice(mt,0,z),Nt&&(this.data.splice(mt,0,null),this.processData()),xt.legendType==="point"&&this.generatePoints(),Q&&(gt[0]&>[0].remove?gt[0].remove(!1):(gt.shift(),this.updateParallelArrays(Pt,"shift"),Dt.shift())),st!==!1&&L(this,"addPoint",{point:Pt}),this.isDirtyData=this.isDirty=!0,tt&&Tt.redraw(K)},ht.prototype.removePoint=function(z,tt,Q){var K=this,st=K.data,xt=st[z],gt=K.points,Tt=K.chart,vt=function(){gt&>.length===st.length&>.splice(z,1),st.splice(z,1),K.options.data.splice(z,1),K.updateParallelArrays(xt||{series:K},"splice",z,1),xt&&xt.destroy(),K.isDirty=!0,K.isDirtyData=!0,tt&&Tt.redraw()};o(Q,Tt),tt=F(tt,!0),xt?xt.firePointEvent("remove",null,vt):vt()},ht.prototype.remove=function(z,tt,Q,K){function st(){xt.destroy(K),gt.isDirtyLegend=gt.isDirtyBox=!0,gt.linkSeries(),F(z,!0)&>.redraw(tt)}var xt=this,gt=xt.chart;Q!==!1?L(xt,"remove",null,st):st()},ht.prototype.update=function(z,tt){z=b(z,this.userOptions),L(this,"update",{options:z});var Q=this,K=Q.chart,st=Q.userOptions,xt=Q.initialType||Q.type,gt=K.options.plotOptions,Tt=m[xt].prototype,vt=Q.finishedAnimating&&{animation:!1},Dt={},Bt,Nt=["eventOptions","navigatorSeries","baseSeries"],Pt=z.type||st.type||K.options.chart.type,Mt=!(this.hasDerivedData||Pt&&Pt!==this.type||typeof z.pointStart!="undefined"||typeof z.pointInterval!="undefined"||typeof z.relativeXValue!="undefined"||Q.hasOptionChanged("dataGrouping")||Q.hasOptionChanged("pointStart")||Q.hasOptionChanged("pointInterval")||Q.hasOptionChanged("pointIntervalUnit")||Q.hasOptionChanged("keys"));if(Pt=Pt||xt,Mt&&(Nt.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),z.visible!==!1&&Nt.push("area","graph"),Q.parallelArrays.forEach(function(Ot){Nt.push(Ot+"Data")}),z.data&&(z.dataSorting&&u(Q.options.dataSorting,z.dataSorting),this.setData(z.data,!1))),z=ct(st,vt,{index:typeof st.index=="undefined"?Q.index:st.index,pointStart:F(gt&>.series&>.series.pointStart,st.pointStart,Q.xData[0])},!Mt&&{data:Q.options.data},z),Mt&&z.data&&(z.data=Q.options.data),Nt=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(Nt),Nt.forEach(function(Ot){Nt[Ot]=Q[Ot],delete Q[Ot]}),gt=!1,m[Pt]){if(gt=Pt!==Q.type,Q.remove(!1,!1,!1,!0),gt)if(Object.setPrototypeOf)Object.setPrototypeOf(Q,m[Pt].prototype);else{vt=Object.hasOwnProperty.call(Q,"hcEvents")&&Q.hcEvents;for(Bt in Tt)Q[Bt]=void 0;u(Q,m[Pt].prototype),vt?Q.hcEvents=vt:delete Q.hcEvents}}else D(17,!0,K,{missingModuleFor:Pt});if(Nt.forEach(function(Ot){Q[Ot]=Nt[Ot]}),Q.init(K,z),Mt&&this.points){var mt=Q.options;mt.visible===!1?(Dt.graphic=1,Dt.dataLabel=1):Q._hasPointLabels||(z=mt.marker,Tt=mt.dataLabels,!z||z.enabled!==!1&&(st.marker&&st.marker.symbol)===z.symbol||(Dt.graphic=1),Tt&&Tt.enabled===!1&&(Dt.dataLabel=1)),this.points.forEach(function(Ot){Ot&&Ot.series&&(Ot.resolveColor(),Object.keys(Dt).length&&Ot.destroyElements(Dt),mt.showInLegend===!1&&Ot.legendItem&&K.legend.destroyItem(Ot))},this)}Q.initialType=xt,K.linkSeries(),gt&&Q.linkedSeries.length&&(Q.isDirtyData=!0),L(this,"afterUpdate"),F(tt,!0)&&K.redraw(Mt?void 0:!1)},ht.prototype.setName=function(z){this.name=this.options.name=this.userOptions.name=z,this.chart.isDirtyLegend=!0},ht.prototype.hasOptionChanged=function(z){var tt=this.options[z],Q=this.chart.options.plotOptions,K=this.userOptions[z];return K?tt!==K:tt!==F(Q&&Q[this.type]&&Q[this.type][z],Q&&Q.series&&Q.series[z],tt)},ht.prototype.onMouseOver=function(){var z=this.chart,tt=z.hoverSeries;z.pointer.setHoverChartIndex(),tt&&tt!==this&&tt.onMouseOut(),this.options.events.mouseOver&&L(this,"mouseOver"),this.setState("hover"),z.hoverSeries=this},ht.prototype.onMouseOut=function(){var z=this.options,tt=this.chart,Q=tt.tooltip,K=tt.hoverPoint;tt.hoverSeries=null,K&&K.onMouseOut(),this&&z.events.mouseOut&&L(this,"mouseOut"),!Q||this.stickyTracking||Q.shared&&!this.noSharedTooltip||Q.hide(),tt.series.forEach(function(st){st.setState("",!0)})},ht.prototype.setState=function(z,tt){var Q=this,K=Q.options,st=Q.graph,xt=K.inactiveOtherPoints,gt=K.states,Tt=F(gt[z||"normal"]&>[z||"normal"].animation,Q.chart.options.chart.animation),vt=K.lineWidth,Dt=0,Bt=K.opacity;if(z=z||"",Q.state!==z&&([Q.group,Q.markerGroup,Q.dataLabelsGroup].forEach(function(Nt){Nt&&(Q.state&&Nt.removeClass("highcharts-series-"+Q.state),z&&Nt.addClass("highcharts-series-"+z))}),Q.state=z,!Q.chart.styledMode)){if(gt[z]&>[z].enabled===!1)return;if(z&&(vt=gt[z].lineWidth||vt+(gt[z].lineWidthPlus||0),Bt=F(gt[z].opacity,Bt)),st&&!st.dashstyle)for(K={"stroke-width":vt},st.animate(K,Tt);Q["zone-graph-"+Dt];)Q["zone-graph-"+Dt].animate(K,Tt),Dt+=1;xt||[Q.group,Q.markerGroup,Q.dataLabelsGroup,Q.labelBySeries].forEach(function(Nt){Nt&&Nt.animate({opacity:Bt},Tt)})}tt&&xt&&Q.points&&Q.setAllPointsToState(z||void 0)},ht.prototype.setAllPointsToState=function(z){this.points.forEach(function(tt){tt.setState&&tt.setState(z)})},ht.prototype.setVisible=function(z,tt){var Q=this,K=Q.chart,st=Q.legendItem,xt=K.options.chart.ignoreHiddenSeries,gt=Q.visible,Tt=(Q.visible=z=Q.options.visible=Q.userOptions.visible=typeof z=="undefined"?!gt:z)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(vt){Q[vt]&&Q[vt][Tt]()}),(K.hoverSeries===Q||(K.hoverPoint&&K.hoverPoint.series)===Q)&&Q.onMouseOut(),st&&K.legend.colorizeItem(Q,z),Q.isDirty=!0,Q.options.stacking&&K.series.forEach(function(vt){vt.options.stacking&&vt.visible&&(vt.isDirty=!0)}),Q.linkedSeries.forEach(function(vt){vt.setVisible(z,!1)}),xt&&(K.isDirtyBox=!0),L(Q,Tt),tt!==!1&&K.redraw()},ht.prototype.show=function(){this.setVisible(!0)},ht.prototype.hide=function(){this.setVisible(!1)},ht.prototype.select=function(z){this.selected=z=this.options.selected=typeof z=="undefined"?!this.selected:z,this.checkbox&&(this.checkbox.checked=z),L(this,z?"select":"unselect")},ht.prototype.shouldShowTooltip=function(z,tt,Q){return Q===void 0&&(Q={}),Q.series=this,Q.visiblePlotOnly=!0,this.chart.isInsidePlot(z,tt,Q)},ht.defaultOptions=j,ht}(),u(C.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:J.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:V,requireSorting:!0,sorted:!0}),A.series=C,C}),W(c,"Extensions/ScrollablePlotArea.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Axis/Axis.js"],c["Core/Chart/Chart.js"],c["Core/Series/Series.js"],c["Core/Renderer/RendererRegistry.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){var V=C.stop,j=U.addEvent,A=U.createElement,P=U.merge,E=U.pick;j(G,"afterSetChartSize",function(p){var o=this.options.chart.scrollablePlotArea,T=o&&o.minWidth;if(o=o&&o.minHeight,!this.renderer.forExport){if(T){if(this.scrollablePixelsX=T=Math.max(0,T-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=P(this.plotBox),this.plotBox.width=this.plotWidth+=T,this.inverted?this.clipBox.height+=T:this.clipBox.width+=T;var w={1:{name:"right",value:T}}}}else o&&(this.scrollablePixelsY=T=Math.max(0,o-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=P(this.plotBox),this.plotBox.height=this.plotHeight+=T,this.inverted?this.clipBox.width+=T:this.clipBox.height+=T,w={2:{name:"bottom",value:T}});w&&!p.skipAxes&&this.axes.forEach(function(f){w[f.side]?f.getPlotLinePath=function(){var S=w[f.side].name,v=this[S];this[S]=v-w[f.side].value;var m=I.prototype.getPlotLinePath.apply(this,arguments);return this[S]=v,m}:(f.setAxisSize(),f.setAxisTranslation())})}}),j(G,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),G.prototype.setUpScrolling=function(){var p=this,o={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(o.overflowX="auto"),this.scrollablePixelsY&&(o.overflowY="auto"),this.scrollingParent=A("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=A("div",{className:"highcharts-scrolling"},o,this.scrollingParent),j(this.scrollingContainer,"scroll",function(){p.pointer&&delete p.pointer.chartPosition}),this.innerContainer=A("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},G.prototype.moveFixedElements=function(){var p=this.container,o=this.fixedRenderer,T=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),w;this.scrollablePixelsX&&!this.inverted?w=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?w=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(w=".highcharts-yaxis"),w&&T.push(w+":not(.highcharts-radial-axis)",w+"-labels:not(.highcharts-radial-axis-labels)"),T.forEach(function(f){[].forEach.call(p.querySelectorAll(f),function(S){(S.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(S),S.style.pointerEvents="auto"})})},G.prototype.applyFixed=function(){var p=!this.fixedDiv,o=this.options.chart,T=o.scrollablePlotArea,w=J.getRendererType();p?(this.fixedDiv=A("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(o.style&&o.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=o=new w(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=o.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":E(T.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),j(this,"afterShowResetZoom",this.moveFixedElements),j(this,"afterDrilldown",this.moveFixedElements),j(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||p)&&(this.scrollableDirty=!1,this.moveFixedElements()),o=this.chartWidth+(this.scrollablePixelsX||0),w=this.chartHeight+(this.scrollablePixelsY||0),V(this.container),this.container.style.width=o+"px",this.container.style.height=w+"px",this.renderer.boxWrapper.attr({width:o,height:w,viewBox:[0,0,o,w].join(" ")}),this.chartBackground.attr({width:o,height:w}),this.scrollingContainer.style.height=this.chartHeight+"px",p&&(T.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*T.scrollPositionX),T.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*T.scrollPositionY)),w=this.axisOffset,p=this.plotTop-w[0]-1,T=this.plotLeft-w[3]-1,o=this.plotTop+this.plotHeight+w[2]+1,w=this.plotLeft+this.plotWidth+w[1]+1;var f=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),S=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);p=this.scrollablePixelsX?[["M",0,p],["L",this.plotLeft-1,p],["L",this.plotLeft-1,o],["L",0,o],["Z"],["M",f,p],["L",this.chartWidth,p],["L",this.chartWidth,o],["L",f,o],["Z"]]:this.scrollablePixelsY?[["M",T,0],["L",T,this.plotTop-1],["L",w,this.plotTop-1],["L",w,0],["Z"],["M",T,S],["L",T,this.chartHeight],["L",w,this.chartHeight],["L",w,S],["Z"]]:[["M",0,0]],this.redrawTrigger!=="adjustHeight"&&this.scrollableMask.attr({d:p})},j(I,"afterInit",function(){this.chart.scrollableDirty=!0}),j(q,"show",function(){this.chart.scrollableDirty=!0})}),W(c,"Core/Axis/StackingAxis.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Axis/Axis.js"],c["Core/Utilities.js"]],function(C,I,G){var q=C.getDeferredAnimation,J=G.addEvent,U=G.destroyObjectProperties,V=G.fireEvent,j=G.isNumber,A=G.objectEach,P;return function(E){function p(){var f=this.stacking;if(f){var S=f.stacks;A(S,function(v,m){U(v),S[m]=null}),f&&f.stackTotalGroup&&f.stackTotalGroup.destroy()}}function o(){this.stacking||(this.stacking=new w(this))}var T=[];E.compose=function(f){return T.indexOf(f)===-1&&(T.push(f),J(f,"init",o),J(f,"destroy",p)),f};var w=function(){function f(S){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=S}return f.prototype.buildStacks=function(){var S=this.axis,v=S.series,m=S.options.reversedStacks,g=v.length,x;if(!S.isXAxis){for(this.usePercentage=!1,x=g;x--;){var R=v[m?x:g-x-1];R.setStackedPoints(),R.setGroupedPoints()}for(x=0;xf&&E.shadow)),v&&(v.startX=p.xMap,v.isArea=p.isArea)})},A.prototype.getGraphPath=function(P,E,p){var o=this,T=o.options,w=[],f=[],S,v=T.step;P=P||o.points;var m=P.reversed;return m&&P.reverse(),(v={right:1,center:2}[v]||v&&3)&&m&&(v=4-v),P=this.getValidPoints(P,!1,!(T.connectNulls&&!E&&!p)),P.forEach(function(g,x){var R=g.plotX,y=g.plotY,b=P[x-1];(g.leftCliff||b&&b.rightCliff)&&!p&&(S=!0),g.isNull&&!U(E)&&0A&&v>o?(v=Math.max(A,o),m=2*o-v):vE&&m>o?(m=Math.max(E,o),v=2*o-m):m=Math.abs(l)&&.5s.closestPointRange*s.xAxis.transA;D=s.borderWidth=x(O.borderWidth,D?0:1);var u=s.xAxis,_=s.yAxis,L=O.threshold,nt=s.translatedThreshold=_.getThreshold(L),rt=x(O.minPointLength,5),it=s.getColumnMetrics(),X=it.width,ct=s.pointXOffset=it.offset,B=s.dataMin,F=s.dataMax,ut=s.barW=Math.max(X,1+2*D);l.inverted&&(nt-=.5),O.pointPadding&&(ut=Math.ceil(ut)),U.prototype.translate.apply(s),s.points.forEach(function(ft){var et=x(ft.yBottom,nt),ht=999+Math.abs(et),z=ft.plotX||0;ht=o(ft.plotY,-ht,_.len+ht);var tt=Math.min(ht,et),Q=Math.max(ht,et)-tt,K=X,st=z+ct,xt=ut;rt&&Math.abs(Q)rt?et-rt:nt-(z?rt:0)),w(ft.options.pointWidth)&&(K=xt=Math.ceil(ft.options.pointWidth),st-=Math.round((K-X)/2)),O.centerInCategory&&(st=s.adjustForMissingColumns(st,K,ft,it)),ft.barX=st,ft.pointWidth=K,ft.tooltipPos=l.inverted?[o(_.len+_.pos-l.plotLeft-ht,_.pos-l.plotLeft,_.len+_.pos-l.plotLeft),u.len+u.pos-l.plotTop-st-xt/2,Q]:[u.left-l.plotLeft+st+xt/2,o(ht+_.pos-l.plotTop,_.pos-l.plotTop,_.len+_.pos-l.plotTop),Q],ft.shapeType=s.pointClass.prototype.shapeType||"rect",ft.shapeArgs=s.crispCol.apply(s,ft.isNull?[st,nt,xt,0]:[st,tt,xt,Q])})},b.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},b.prototype.pointAttribs=function(s,l){var O=this.options,D=this.pointAttrToOptions||{},u=D.stroke||"borderColor",_=D["stroke-width"]||"borderWidth",L=s&&s.color||this.color,nt=s&&s[u]||O[u]||L;D=s&&s.options.dashStyle||O.dashStyle;var rt=s&&s[_]||O[_]||this[_]||0,it=x(s&&s.opacity,O.opacity,1);if(s&&this.zones.length){var X=s.getZone();L=s.options.color||X&&(X.color||s.nonZonedColor)||this.color,X&&(nt=X.borderColor||nt,D=X.dashStyle||D,rt=X.borderWidth||rt)}return l&&s&&(s=g(O.states[l],s.options.states&&s.options.states[l]||{}),l=s.brightness,L=s.color||typeof l!="undefined"&&E(L).brighten(s.brightness).get()||L,nt=s[u]||nt,rt=s[_]||rt,D=s.dashStyle||D,it=x(s.opacity,it)),u={fill:L,stroke:nt,"stroke-width":rt,opacity:it},D&&(u.dashstyle=D),u},b.prototype.drawPoints=function(){var s=this,l=this.chart,O=s.options,D=l.renderer,u=O.animationLimit||250,_;s.points.forEach(function(L){var nt=L.graphic,rt=!!nt,it=nt&&l.pointCountut,B==="left"?rt.y-=ut?X.height:0:B==="center"?(rt.x-=X.width/2,rt.y-=X.height/2):B==="right"&&(rt.x-=X.width,rt.y-=ut?0:X.height),s.placed=!0,s.alignAttr=rt):(ut(O),s.align(l,void 0,O),rt=s.alignAttr),ft&&0<=O.height?this.justifyDataLabel(s,l,rt,X,O,D):o(l.crop,!0)&&(et=_.isInsidePlot(rt.x,rt.y,{paneCoordinates:!0,series:u})&&_.isInsidePlot(rt.x+X.width,rt.y+X.height,{paneCoordinates:!0,series:u})),l.shape&&!ct&&s[D?"attr":"animate"]({anchorX:L?_.plotWidth-b.plotY:b.plotX,anchorY:L?_.plotHeight-b.plotX:b.plotY})}D&&nt&&(s.placed=!1),et||nt&&!ft||(s.hide(!0),s.placed=!1)}function v(b,s){var l=s.filter;return l?(s=l.operator,b=b[l.property],l=l.value,s===">"&&b>l||s==="<"&&b="&&b>=l||s==="<="&&b<=l||s==="=="&&b==l||s==="==="&&b===l):!0}function m(){var b=this,s=b.chart,l=b.options,O=b.points,D=b.hasRendered||0,u=s.renderer,_=l.dataLabels,L,nt=_.animation;if(nt=_.defer?J(s,nt,b):{defer:0,duration:0},_=x(x(s.options.plotOptions&&s.options.plotOptions.series&&s.options.plotOptions.series.dataLabels,s.options.plotOptions&&s.options.plotOptions[b.type]&&s.options.plotOptions[b.type].dataLabels),_),A(this,"drawDataLabels"),P(_)||_.enabled||b._hasPointLabels){var rt=b.plotGroup("dataLabelsGroup","data-labels",D?"inherit":"hidden",_.zIndex||6);rt.attr({opacity:+D}),!D&&(D=b.dataLabelsGroup)&&(b.visible&&rt.show(!0),D[l.animation?"animate":"attr"]({opacity:1},nt)),O.forEach(function(it){L=T(x(_,it.dlOptions||it.options&&it.options.dataLabels)),L.forEach(function(X,ct){var B=X.enabled&&(!it.isNull||it.dataLabelOnNull)&&v(it,X),F=it.connectors?it.connectors[ct]:it.connector,ut=it.dataLabels?it.dataLabels[ct]:it.dataLabel,ft=o(X.distance,it.labelDistance),et=!ut;if(B){var ht=it.getLabelConfig(),z=o(X[it.formatPrefix+"Format"],X.format);ht=V(z)?U(z,ht,s):(X[it.formatPrefix+"Formatter"]||X.formatter).call(ht,X),z=X.style;var tt=X.rotation;s.styledMode||(z.color=o(X.color,z.color,b.color,G.neutralColor100),z.color==="contrast"?(it.contrastColor=u.getContrast(it.color||b.color),z.color=!V(ft)&&X.inside||0>ft||l.stacking?it.contrastColor:G.neutralColor100):delete it.contrastColor,l.cursor&&(z.cursor=l.cursor));var Q={r:X.borderRadius||0,rotation:tt,padding:X.padding,zIndex:1};s.styledMode||(Q.fill=X.backgroundColor,Q.stroke=X.borderColor,Q["stroke-width"]=X.borderWidth),p(Q,function(K,st){typeof K=="undefined"&&delete Q[st]})}!ut||B&&V(ht)?B&&V(ht)&&(ut?Q.text=ht:(it.dataLabels=it.dataLabels||[],ut=it.dataLabels[ct]=tt?u.text(ht,0,-9999,X.useHTML).addClass("highcharts-data-label"):u.label(ht,0,-9999,X.shape,null,null,X.useHTML,null,"data-label"),ct||(it.dataLabel=ut),ut.addClass(" highcharts-data-label-color-"+it.colorIndex+" "+(X.className||"")+(X.useHTML?" highcharts-tracker":""))),ut.options=X,ut.attr(Q),s.styledMode||ut.css(z).shadow(X.shadow),ut.added||ut.add(rt),X.textPath&&!X.useHTML&&(ut.setTextPath(it.getDataLabelPath&&it.getDataLabelPath(ut)||it.graphic,X.textPath),it.dataLabelPath&&!X.textPath.enabled&&(it.dataLabelPath=it.dataLabelPath.destroy())),b.alignDataLabel(it,ut,X,null,et)):(it.dataLabel=it.dataLabel&&it.dataLabel.destroy(),it.dataLabels&&(it.dataLabels.length===1?delete it.dataLabels:delete it.dataLabels[ct]),ct||delete it.dataLabel,F&&(it.connector=it.connector.destroy(),it.connectors&&(it.connectors.length===1?delete it.connectors:delete it.connectors[ct])))})})}A(this,"afterDrawDataLabels")}function g(b,s,l,O,D,u){var _=this.chart,L=s.align,nt=s.verticalAlign,rt=b.box?0:b.padding||0,it=s.x;it=it===void 0?0:it;var X=s.y;X=X===void 0?0:X;var ct=(l.x||0)+rt;if(0>ct){L==="right"&&0<=it?(s.align="left",s.inside=!0):it-=ct;var B=!0}return ct=(l.x||0)+O.width-rt,ct>_.plotWidth&&(L==="left"&&0>=it?(s.align="right",s.inside=!0):it+=_.plotWidth-ct,B=!0),ct=l.y+rt,0>ct&&(nt==="bottom"&&0<=X?(s.verticalAlign="top",s.inside=!0):X-=ct,B=!0),ct=(l.y||0)+O.height-rt,ct>_.plotHeight&&(nt==="top"&&0>=X?(s.verticalAlign="bottom",s.inside=!0):X+=_.plotHeight-ct,B=!0),B&&(s.x=it,s.y=X,b.placed=!u,b.align(s,void 0,D)),B}function x(b,s){var l=[],O;if(P(b)&&!P(s))l=b.map(function(D){return E(D,s)});else if(P(s)&&!P(b))l=s.map(function(D){return E(b,D)});else if(P(b)||P(s))for(O=Math.max(b.length,s.length);O--;)l[O]=E(b[O],s[O]);else l=E(b,s);return l}function R(b,s,l,O,D){var u=this.chart,_=u.inverted,L=this.xAxis,nt=L.reversed,rt=_?s.height/2:s.width/2;b=(b=b.pointWidth)?b/2:0,s.startXPos=_?D.x:nt?-rt-b:L.width-rt+b,s.startYPos=_?nt?this.yAxis.height-rt+b:-rt-b:D.y,O?s.visibility==="hidden"&&(s.show(),s.attr({opacity:0}).animate({opacity:1})):s.attr({opacity:1}).animate({opacity:0},void 0,s.hide),u.hasRendered&&(l&&s.attr({x:s.startXPos,y:s.startYPos}),s.placed=!0)}var y=[];f.compose=function(b){if(y.indexOf(b)===-1){var s=b.prototype;y.push(b),s.alignDataLabel=S,s.drawDataLabels=m,s.justifyDataLabel=g,s.setDataLabelStartPos=R}}}(w||(w={})),w}),W(c,"Series/Column/ColumnDataLabel.js",[c["Core/Series/DataLabel.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G){var q=I.series,J=G.merge,U=G.pick,V;return function(j){function A(E,p,o,T,w){var f=this.chart.inverted,S=E.series,v=E.dlBox||E.shapeArgs,m=U(E.below,E.plotY>U(this.translatedThreshold,S.yAxis.len)),g=U(o.inside,!!this.options.stacking);v&&(T=J(v),0>T.y&&(T.height+=T.y,T.y=0),v=T.y+T.height-S.yAxis.len,0\u25CF {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),P}(I),V(q.prototype,{drawTracker:C.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),U(q,"afterTranslate",function(){this.applyJitter()}),G.registerSeriesType("scatter",q),q}),W(c,"Mixins/CenteredSeries.js",[c["Core/Globals.js"],c["Core/Series/Series.js"],c["Core/Utilities.js"]],function(C,I,G){var q=G.isNumber,J=G.pick,U=G.relativeLength,V=C.deg2rad;return C.CenteredSeriesMixin={getCenter:function(){var j=this.options,A=this.chart,P=2*(j.slicedOffset||0),E=A.plotWidth-2*P,p=A.plotHeight-2*P,o=j.center,T=Math.min(E,p),w=j.size,f=j.innerSize||0;for(typeof w=="string"&&(w=parseFloat(w)),typeof f=="string"&&(f=parseFloat(f)),j=[J(o[0],"50%"),J(o[1],"50%"),J(w&&0>w?void 0:j.size,"100%"),J(f&&0>f?void 0:j.innerSize||0,"0%")],!A.angular||this instanceof I||(j[3]=0),o=0;4>o;++o)w=j[o],A=2>o||o===2&&/%$/.test(w),j[o]=U(w,[E,p,T,j[2]][o])+(A?P:0);return j[3]>j[2]&&(j[3]=j[2]),j},getStartAndEndRadians:function(j,A){return j=q(j)?j:0,A=q(A)&&A>j&&360>A-j?A:j+360,{start:V*(j+-90),end:V*(A+-90)}}}}),W(c,"Series/Pie/PiePoint.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Series/Point.js"],c["Core/Utilities.js"]],function(C,I,G){var q=this&&this.__extends||function(){var E=function(p,o){return E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,w){T.__proto__=w}||function(T,w){for(var f in w)w.hasOwnProperty(f)&&(T[f]=w[f])},E(p,o)};return function(p,o){function T(){this.constructor=p}E(p,o),p.prototype=o===null?Object.create(o):(T.prototype=o.prototype,new T)}}(),J=C.setAnimation,U=G.addEvent,V=G.defined;C=G.extend;var j=G.isNumber,A=G.pick,P=G.relativeLength;return I=function(E){function p(){var o=E!==null&&E.apply(this,arguments)||this;return o.labelDistance=void 0,o.options=void 0,o.series=void 0,o}return q(p,E),p.prototype.getConnectorPath=function(){var o=this.labelPosition,T=this.series.options.dataLabels,w=this.connectorShapes,f=T.connectorShape;return w[f]&&(f=w[f]),f.call(this,{x:o.final.x,y:o.final.y,alignment:o.alignment},o.connectorPosition,T)},p.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},p.prototype.haloPath=function(o){var T=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(T.x,T.y,T.r+o,T.r+o,{innerR:T.r-1,start:T.start,end:T.end})},p.prototype.init=function(){var o=this;E.prototype.init.apply(this,arguments),this.name=A(this.name,"Slice");var T=function(w){o.slice(w.type==="select")};return U(this,"select",T),U(this,"unselect",T),this},p.prototype.isValid=function(){return j(this.y)&&0<=this.y},p.prototype.setVisible=function(o,T){var w=this,f=this.series,S=f.chart,v=f.options.ignoreHiddenPoint;T=A(T,v),o!==this.visible&&(this.visible=this.options.visible=o=typeof o=="undefined"?!this.visible:o,f.options.data[f.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(m){w[m]&&w[m][o?"show":"hide"](o)}),this.legendItem&&S.legend.colorizeItem(this,o),o||this.state!=="hover"||this.setState(""),v&&(f.isDirty=!0),T&&S.redraw())},p.prototype.slice=function(o,T,w){var f=this.series;J(w,f.chart),A(T,!0),this.sliced=this.options.sliced=V(o)?o:!this.sliced,f.options.data[f.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},p}(I),C(I.prototype,{connectorShapes:{fixedOffset:function(E,p,o){var T=p.breakAt;return p=p.touchingSliceAt,[["M",E.x,E.y],o.softConnector?["C",E.x+(E.alignment==="left"?-5:5),E.y,2*T.x-p.x,2*T.y-p.y,T.x,T.y]:["L",T.x,T.y],["L",p.x,p.y]]},straight:function(E,p){return p=p.touchingSliceAt,[["M",E.x,E.y],["L",p.x,p.y]]},crookedLine:function(E,p,o){p=p.touchingSliceAt;var T=this.series,w=T.center[0],f=T.chart.plotWidth,S=T.chart.plotLeft;T=E.alignment;var v=this.shapeArgs.r;return o=P(o.crookDistance,1),f=T==="left"?w+v+(f+S-w-v)*(1-o):S+(w-v)*o,o=["L",f,E.y],w=!0,(T==="left"?f>E.x||fp.x)&&(w=!1),E=[["M",E.x,E.y]],w&&E.push(o),E.push(["L",p.x,p.y]),E}}}),I}),W(c,"Series/Pie/PieSeries.js",[c["Mixins/CenteredSeries.js"],c["Series/Column/ColumnSeries.js"],c["Core/Globals.js"],c["Core/Legend/LegendSymbol.js"],c["Core/Color/Palette.js"],c["Series/Pie/PiePoint.js"],c["Core/Series/Series.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Renderer/SVG/Symbols.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A,P){var E=this&&this.__extends||function(){var m=function(g,x){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,y){R.__proto__=y}||function(R,y){for(var b in y)y.hasOwnProperty(b)&&(R[b]=y[b])},m(g,x)};return function(g,x){function R(){this.constructor=g}m(g,x),g.prototype=x===null?Object.create(x):(R.prototype=x.prototype,new R)}}(),p=C.getStartAndEndRadians;G=G.noop;var o=P.clamp,T=P.extend,w=P.fireEvent,f=P.merge,S=P.pick,v=P.relativeLength;return P=function(m){function g(){var x=m!==null&&m.apply(this,arguments)||this;return x.center=void 0,x.data=void 0,x.maxLabelDistance=void 0,x.options=void 0,x.points=void 0,x}return E(g,m),g.prototype.animate=function(x){var R=this,y=R.points,b=R.startAngleRad;x||y.forEach(function(s){var l=s.graphic,O=s.shapeArgs;l&&O&&(l.attr({r:S(s.startR,R.center&&R.center[3]/2),start:b,end:b}),l.animate({r:O.r,start:O.start,end:O.end},R.options.animation))})},g.prototype.drawEmpty=function(){var x=this.startAngleRad,R=this.endAngleRad,y=this.options;if(this.total===0&&this.center){var b=this.center[0],s=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(b,s,this.center[1]/2,0,x,R).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:A.arc(b,s,this.center[2]/2,0,{start:x,end:R,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":y.borderWidth,fill:y.fillColor||"none",stroke:y.color||J.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},g.prototype.drawPoints=function(){var x=this.chart.renderer;this.points.forEach(function(R){R.graphic&&R.hasNewShapeType()&&(R.graphic=R.graphic.destroy()),R.graphic||(R.graphic=x[R.shapeType](R.shapeArgs).add(R.series.group),R.delayedRendering=!0)})},g.prototype.generatePoints=function(){m.prototype.generatePoints.call(this),this.updateTotals()},g.prototype.getX=function(x,R,y){var b=this.center,s=this.radii?this.radii[y.index]||0:b[2]/2;return x=Math.asin(o((x-b[1])/(s+y.labelDistance),-1,1)),b[0]+(R?-1:1)*Math.cos(x)*(s+y.labelDistance)+(01.5*Math.PI?it-=2*Math.PI:it<-Math.PI/2&&(it+=2*Math.PI),nt.slicedTranslation={translateX:Math.round(Math.cos(it)*y),translateY:Math.round(Math.sin(it)*y)},X=Math.cos(it)*x[2]/2;var ct=Math.sin(it)*x[2]/2;nt.tooltipPos=[x[0]+.7*X,x[1]+.7*ct],nt.half=it<-Math.PI/2||it>Math.PI/2?1:0,nt.angle=it,rt=Math.min(b,nt.labelDistance/5),nt.labelPosition={natural:{x:x[0]+X+Math.cos(it)*nt.labelDistance,y:x[1]+ct+Math.sin(it)*nt.labelDistance},final:{},alignment:0>nt.labelDistance?"center":nt.half?"right":"left",connectorPosition:{breakAt:{x:x[0]+X+Math.cos(it)*rt,y:x[1]+ct+Math.sin(it)*rt},touchingSliceAt:{x:x[0]+X,y:x[1]+ct}}}}w(this,"afterTranslate")},g.prototype.updateTotals=function(){var x=this.points,R=x.length,y=this.options.ignoreHiddenPoint,b,s=0;for(b=0;bL&&(Tt.dataLabel.css({width:Math.round(.7*L)+"px"}),Tt.dataLabel.shortened=!0)):(Tt.dataLabel=Tt.dataLabel.destroy(),Tt.dataLabels&&Tt.dataLabels.length===1&&delete Tt.dataLabels))}),X.forEach(function(Tt,vt){var Dt=Tt.length,Bt=[],Nt;if(Dt){if(y.sortByAngle(Tt,vt-.5),0D-O&&vt===0&&(Pt=Math.round(Q+ht-D+O),ct[1]=Math.max(Pt,ct[1])),0>K-tt/2?ct[0]=Math.max(Math.round(-K+tt/2),ct[0]):K+tt/2>u&&(ct[2]=Math.max(Math.round(K+tt/2-u),ct[2])),et.sideOverflow=Pt)}}}),P(ct)===0||this.verifyDataLabelOverflow(ct))&&(this.placeDataLabels(),this.points.forEach(function(Tt){if(gt=o(l,Tt.options.dataLabels),ut=T(gt.connectorWidth,1)){var vt;ft=Tt.connector,(et=Tt.dataLabel)&&et._pos&&Tt.visible&&0b.bottom-2?l:s,b.half,b)},justify:function(y,b,s){return s[0]+(y.half?-1:1)*(b+y.labelDistance)},alignToPlotEdges:function(y,b,s,l){return y=y.getBBox().width,b?y+l:s-y-l},alignToConnectors:function(y,b,s,l){var O=0,D;return y.forEach(function(u){D=u.dataLabel.getBBox().width,D>O&&(O=D)}),b?O+l:s-O-l}};S.compose=function(y){C.compose(A),x.indexOf(y)===-1&&(x.push(y),y=y.prototype,y.dataLabelPositioners=R,y.alignDataLabel=V,y.drawDataLabels=v,y.placeDataLabels=m,y.verifyDataLabelOverflow=g)}}(f||(f={})),f}),W(c,"Extensions/OverlappingDataLabels.js",[c["Core/Chart/Chart.js"],c["Core/Utilities.js"]],function(C,I){function G(P,E){var p=!1;if(P){var o=P.newOpacity;P.oldOpacity!==o&&(P.alignAttr&&P.placed?(P[o?"removeClass":"addClass"]("highcharts-data-label-hidden"),p=!0,P.alignAttr.opacity=o,P[P.isOld?"animate":"attr"](P.alignAttr,null,function(){E.styledMode||P.css({pointerEvents:o?"auto":"none"})}),J(E,"afterHideOverlappingLabel")):P.attr({opacity:o})),P.isOld=!0}return p}var q=I.addEvent,J=I.fireEvent,U=I.isArray,V=I.isNumber,j=I.objectEach,A=I.pick;q(C,"render",function(){var P=this,E=[];(this.labelCollectors||[]).forEach(function(p){E=E.concat(p())}),(this.yAxis||[]).forEach(function(p){p.stacking&&p.options.stackLabels&&!p.options.stackLabels.allowOverlap&&j(p.stacking.stacks,function(o){j(o,function(T){T.label&&T.label.visibility!=="hidden"&&E.push(T.label)})})}),(this.series||[]).forEach(function(p){var o=p.options.dataLabels;p.visible&&(o.enabled!==!1||p._hasPointLabels)&&(o=function(T){return T.forEach(function(w){w.visible&&(U(w.dataLabels)?w.dataLabels:w.dataLabel?[w.dataLabel]:[]).forEach(function(f){var S=f.options;f.labelrank=A(S.labelrank,w.labelrank,w.shapeArgs&&w.shapeArgs.height),S.allowOverlap?(f.oldOpacity=f.opacity,f.newOpacity=1,G(f,P)):E.push(f)})})},o(p.nodes||[]),o(p.points))}),this.hideOverlappingLabels(E)}),C.prototype.hideOverlappingLabels=function(P){var E=this,p=P.length,o=E.renderer,T,w,f,S=!1,v=function(x){var R,y=x.box?0:x.padding||0,b=R=0,s;if(x&&(!x.alignAttr||x.placed)){var l=x.alignAttr||{x:x.attr("x"),y:x.attr("y")},O=x.parentGroup;x.width||(R=x.getBBox(),x.width=R.width,x.height=R.height,R=o.fontMetrics(null,x.element).h);var D=x.width-2*y;return(s={left:"0",center:"0.5",right:"1"}[x.alignValue])?b=+s*D:V(x.x)&&Math.round(x.x)!==x.translateX&&(b=x.x-x.translateX),{x:l.x+(O.translateX||0)+y-(b||0),y:l.y+(O.translateY||0)+y-R,width:x.width-2*y,height:x.height-2*y}}};for(w=0;w=m.x+m.width||g.x+g.width<=m.x||g.y>=m.y+m.height||g.y+g.height<=m.y||((v.labelrank=j(v.minWidth,0)&&this.chartHeight>=j(v.minHeight,0)}).call(this)&&S.push(f._id)},w.prototype.setResponsive=function(f,S){var v=this,m=this.options.responsive,g=this.currentResponsive,x=[];!S&&m&&m.rules&&m.rules.forEach(function(R){typeof R._id=="undefined"&&(R._id=P()),v.matchResponsiveRule(R,x)},this),S=U.apply(void 0,x.map(function(R){return G((m||{}).rules||[],function(y){return y._id===R})}).map(function(R){return R&&R.chartOptions})),S.isResponsiveOptions=!0,x=x.toString()||void 0,x!==(g&&g.ruleIds)&&(g&&this.update(g.undoOptions,f,!0),x?(g=this.currentOptions(S),g.isResponsiveOptions=!0,this.currentResponsive={ruleIds:x,mergedOptions:S,undoOptions:g},this.update(S,f,!0)):this.currentResponsive=void 0)},w}()}(E||(E={})),E}),W(c,"masters/highcharts.src.js",[c["Core/Globals.js"],c["Core/Utilities.js"],c["Core/DefaultOptions.js"],c["Core/Animation/Fx.js"],c["Core/Animation/AnimationUtilities.js"],c["Core/Renderer/HTML/AST.js"],c["Core/FormatUtilities.js"],c["Core/Renderer/RendererUtilities.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Renderer/HTML/HTMLElement.js"],c["Core/Renderer/HTML/HTMLRenderer.js"],c["Core/Axis/Axis.js"],c["Core/Axis/DateTimeAxis.js"],c["Core/Axis/LogarithmicAxis.js"],c["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],c["Core/Axis/Tick.js"],c["Core/Tooltip.js"],c["Core/Series/Point.js"],c["Core/Pointer.js"],c["Core/MSPointer.js"],c["Core/Legend/Legend.js"],c["Core/Chart/Chart.js"],c["Core/Series/Series.js"],c["Core/Series/SeriesRegistry.js"],c["Series/Column/ColumnSeries.js"],c["Series/Column/ColumnDataLabel.js"],c["Series/Pie/PieSeries.js"],c["Series/Pie/PieDataLabel.js"],c["Core/Series/DataLabel.js"],c["Core/Responsive.js"],c["Core/Color/Color.js"],c["Core/Time.js"]],function(C,I,G,q,J,U,V,j,A,P,E,p,o,T,w,f,S,v,m,g,x,R,y,b,s,l,O,D,u,_,L,nt,rt){return C.animate=J.animate,C.animObject=J.animObject,C.getDeferredAnimation=J.getDeferredAnimation,C.setAnimation=J.setAnimation,C.stop=J.stop,C.timers=q.timers,C.AST=U,C.Axis=o,C.Chart=y,C.chart=y.chart,C.Fx=q,C.Legend=R,C.PlotLineOrBand=f,C.Point=m,C.Pointer=x.isRequired()?x:g,C.Series=b,C.SVGElement=A,C.SVGRenderer=P,C.Tick=S,C.Time=rt,C.Tooltip=v,C.Color=nt,C.color=nt.parse,p.compose(P),E.compose(A),C.defaultOptions=G.defaultOptions,C.getOptions=G.getOptions,C.time=G.defaultTime,C.setOptions=G.setOptions,C.dateFormat=V.dateFormat,C.format=V.format,C.numberFormat=V.numberFormat,C.addEvent=I.addEvent,C.arrayMax=I.arrayMax,C.arrayMin=I.arrayMin,C.attr=I.attr,C.clearTimeout=I.clearTimeout,C.correctFloat=I.correctFloat,C.createElement=I.createElement,C.css=I.css,C.defined=I.defined,C.destroyObjectProperties=I.destroyObjectProperties,C.discardElement=I.discardElement,C.distribute=j.distribute,C.erase=I.erase,C.error=I.error,C.extend=I.extend,C.extendClass=I.extendClass,C.find=I.find,C.fireEvent=I.fireEvent,C.getMagnitude=I.getMagnitude,C.getStyle=I.getStyle,C.inArray=I.inArray,C.isArray=I.isArray,C.isClass=I.isClass,C.isDOMElement=I.isDOMElement,C.isFunction=I.isFunction,C.isNumber=I.isNumber,C.isObject=I.isObject,C.isString=I.isString,C.keys=I.keys,C.merge=I.merge,C.normalizeTickInterval=I.normalizeTickInterval,C.objectEach=I.objectEach,C.offset=I.offset,C.pad=I.pad,C.pick=I.pick,C.pInt=I.pInt,C.relativeLength=I.relativeLength,C.removeEvent=I.removeEvent,C.seriesType=s.seriesType,C.splat=I.splat,C.stableSort=I.stableSort,C.syncTimeout=I.syncTimeout,C.timeUnits=I.timeUnits,C.uniqueKey=I.uniqueKey,C.useSerialIds=I.useSerialIds,C.wrap=I.wrap,O.compose(l),_.compose(b),T.compose(o),w.compose(o),u.compose(D),f.compose(o),L.compose(y),C}),c["masters/highcharts.src.js"]._modules=c,c["masters/highcharts.src.js"]})},4563:function(yr,we,wt){"use strict";var Z;(function(At,W){yr.exports?(W.default=W,yr.exports=At.document?W(At):W):(Z=function(){return W(At)}.call(we,wt,we,yr),Z!==void 0&&(yr.exports=Z))})(typeof window!="undefined"?window:this,function(At){function W(C,I,G,q){C.hasOwnProperty(I)||(C[I]=q.apply(null,G))}var c={};return W(c,"Core/Globals.js",[],function(){var C=typeof At!="undefined"?At:typeof window!="undefined"?window:{},I;return function(G){G.SVG_NS="http://www.w3.org/2000/svg",G.product="Highcharts",G.version="9.2.2",G.win=C,G.doc=G.win.document,G.svg=G.doc&&G.doc.createElementNS&&!!G.doc.createElementNS(G.SVG_NS,"svg").createSVGRect,G.userAgent=G.win.navigator&&G.win.navigator.userAgent||"",G.isChrome=G.userAgent.indexOf("Chrome")!==-1,G.isFirefox=G.userAgent.indexOf("Firefox")!==-1,G.isMS=/(edge|msie|trident)/i.test(G.userAgent)&&!G.win.opera,G.isSafari=!G.isChrome&&G.userAgent.indexOf("Safari")!==-1,G.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(G.userAgent),G.isWebKit=G.userAgent.indexOf("AppleWebKit")!==-1,G.deg2rad=2*Math.PI/360,G.hasBidiBug=G.isFirefox&&4>parseInt(G.userAgent.split("Firefox/")[1],10),G.hasTouch=!!G.win.TouchEvent,G.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],G.noop=function(){},G.supportsPassiveEvents=function(){var q=!1;if(!G.isMS){var J=Object.defineProperty({},"passive",{get:function(){q=!0}});G.win.addEventListener&&G.win.removeEventListener&&(G.win.addEventListener("testPassive",G.noop,J),G.win.removeEventListener("testPassive",G.noop,J))}return q}(),G.charts=[],G.dateFormats={},G.seriesTypes={},G.symbolSizes={},G.chartCount=0}(I||(I={})),I}),W(c,"Core/Utilities.js",[c["Core/Globals.js"]],function(C){function I(u,_,L,nt){var rt=_?"Highcharts error":"Highcharts warning";u===32&&(u=rt+": Deprecated member");var it=P(u),X=it?rt+" #"+u+": www.highcharts.com/errors/"+u+"/":u.toString();if(typeof nt!="undefined"){var ct="";it&&(X+="?"),m(nt,function(B,F){ct+=` + - `+F+": "+B,it&&(X+=encodeURI(F)+"="+encodeURI(B))}),X+=ct}x(C,"displayError",{chart:L,code:u,message:X,params:nt},function(){if(_)throw Error(X);b.console&&I.messages.indexOf(X)===-1&&console.warn(X)}),I.messages.push(X)}function G(u,_){var L={};return m(u,function(nt,rt){V(u[rt],!0)&&!u.nodeType&&_[rt]?(nt=G(u[rt],_[rt]),Object.keys(nt).length&&(L[rt]=nt)):(V(u[rt])||u[rt]!==_[rt])&&(L[rt]=u[rt])}),L}function q(u,_){return parseInt(u,_||10)}function J(u){return typeof u=="string"}function U(u){return u=Object.prototype.toString.call(u),u==="[object Array]"||u==="[object Array Iterator]"}function V(u,_){return!!u&&typeof u=="object"&&(!_||!U(u))}function j(u){return V(u)&&typeof u.nodeType=="number"}function A(u){var _=u&&u.constructor;return!(!V(u,!0)||j(u)||!_||!_.name||_.name==="Object")}function P(u){return typeof u=="number"&&!isNaN(u)&&1/0>u&&-1/0=_-1&&(_=Math.floor(L)),Math.max(0,_-(nt(u,"padding-left",!0)||0)-(nt(u,"padding-right",!0)||0));if(_==="height")return Math.max(0,Math.min(u.offsetHeight,u.scrollHeight)-(nt(u,"padding-top",!0)||0)-(nt(u,"padding-bottom",!0)||0));if(b.getComputedStyle||I(27,!0),u=b.getComputedStyle(u,void 0)){var rt=u.getPropertyValue(_);T(L,_!=="opacity")&&(rt=q(rt))}return rt}function m(u,_,L){for(var nt in u)Object.hasOwnProperty.call(u,nt)&&_.call(L||u[nt],u[nt],nt,u)}function g(u,_,L){function nt(ct,B){var F=u.removeEventListener||C.removeEventListenerPolyfill;F&&F.call(u,ct,B,!1)}function rt(ct){var B;if(u.nodeName){if(_){var F={};F[_]=!0}else F=ct;m(F,function(ut,ft){if(ct[ft])for(B=ct[ft].length;B--;)nt(ft,ct[ft][B].fn)})}}var it=typeof u=="function"&&u.prototype||u;if(Object.hasOwnProperty.call(it,"hcEvents")){var X=it.hcEvents;_?(it=X[_]||[],L?(X[_]=it.filter(function(ct){return L!==ct.fn}),nt(_,L)):(rt(X),X[_]=[])):(rt(X),delete it.hcEvents)}}function x(u,_,L,nt){if(L=L||{},y.createEvent&&(u.dispatchEvent||u.fireEvent&&u!==C)){var rt=y.createEvent("Events");rt.initEvent(_,!0,!0),L=o(rt,L),u.dispatchEvent?u.dispatchEvent(L):u.fireEvent(_,L)}else if(u.hcEvents){L.target||o(L,{preventDefault:function(){L.defaultPrevented=!0},target:u,type:_}),rt=[];for(var it=u,X=!1;it.hcEvents;)Object.hasOwnProperty.call(it,"hcEvents")&&it.hcEvents[_]&&(rt.length&&(X=!0),rt.unshift.apply(rt,it.hcEvents[_])),it=Object.getPrototypeOf(it);X&&rt.sort(function(ct,B){return ct.order-B.order}),rt.forEach(function(ct){ct.fn.call(u,L)===!1&&L.preventDefault()})}nt&&!L.defaultPrevented&&nt.call(u,L)}var R=C.charts,y=C.doc,b=C.win;(I||(I={})).messages=[];var s;Math.easeInOutSine=function(u){return-.5*(Math.cos(Math.PI*u)-1)};var l=Array.prototype.find?function(u,_){return u.find(_)}:function(u,_){var L,nt=u.length;for(L=0;LL&&(L=u[_]);return L},arrayMin:function(u){for(var _=u.length,L=u[0];_--;)u[_]_?u=L&&(_=[1/L]))),nt=0;nt<_.length&&(it=_[nt],!(rt&&it*L>=u||!rt&&X<=(_[nt]+(_[nt+1]||_[nt]))/2));nt++);return it=S(it*L,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(u){var _=y.documentElement;return u=u.parentElement||u.parentNode?u.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:u.top+(b.pageYOffset||_.scrollTop)-(_.clientTop||0),left:u.left+(b.pageXOffset||_.scrollLeft)-(_.clientLeft||0),width:u.width,height:u.height}},pad:function(u,_,L){return Array((_||2)+1-String(u).replace("-","").length).join(L||"0")+u},pick:T,pInt:q,relativeLength:function(u,_,L){return/%$/.test(u)?_*parseFloat(u)/100+(L||0):parseFloat(u)},removeEvent:g,splat:function(u){return U(u)?u:[u]},stableSort:function(u,_){var L=u.length,nt,rt;for(rt=0;rt>16,(P&65280)>>8,P&255,1]:A===4&&(j=[(P&3840)>>4|(P&3840)>>8,(P&240)>>4|P&240,(P&15)<<4|P&15,1])}if(!j)for(P=U.parsers.length;P--&&!j;){var E=U.parsers[P];(A=E.regex.exec(V))&&(j=E.parse(A))}}j&&(this.rgba=j)},U.prototype.get=function(V){var j=this.input,A=this.rgba;if(typeof j=="object"&&typeof this.stops!="undefined"){var P=q(j);return P.stops=[].slice.call(P.stops),this.stops.forEach(function(E,p){P.stops[p]=[P.stops[p][0],E.get(V)]}),P}return A&&G(A[0])?V==="rgb"||!V&&A[3]===1?"rgb("+A[0]+","+A[1]+","+A[2]+")":V==="a"?""+A[3]:"rgba("+A.join(",")+")":j},U.prototype.brighten=function(V){var j=this.rgba;if(this.stops)this.stops.forEach(function(P){P.brighten(V)});else if(G(V)&&V!==0)for(var A=0;3>A;A++)j[A]+=J(255*V),0>j[A]&&(j[A]=0),255R?"AM":"PM",P:12>R?"am":"pm",S:P(x.getSeconds()),L:P(Math.floor(v%1e3),3)},C.dateFormats),A(x,function(_,L){for(;S.indexOf("%"+L)!==-1;)S=S.replace("%"+L,typeof _=="function"?_.call(g,v):_)}),m?S.substr(0,1).toUpperCase()+S.substr(1):S},f.prototype.resolveDTLFormat=function(S){return V(S,!0)?S:(S=p(S),{main:S[0],from:S[1],to:S[2]})},f.prototype.getTimeTicks=function(S,v,m,g){var x=this,R=[],y={},b=new x.Date(v),s=S.unitRange,l=S.count||1,O;if(g=E(g,1),q(v)){if(x.set("Milliseconds",b,s>=o.second?0:l*Math.floor(x.get("Milliseconds",b)/l)),s>=o.second&&x.set("Seconds",b,s>=o.minute?0:l*Math.floor(x.get("Seconds",b)/l)),s>=o.minute&&x.set("Minutes",b,s>=o.hour?0:l*Math.floor(x.get("Minutes",b)/l)),s>=o.hour&&x.set("Hours",b,s>=o.day?0:l*Math.floor(x.get("Hours",b)/l)),s>=o.day&&x.set("Date",b,s>=o.month?1:Math.max(1,l*Math.floor(x.get("Date",b)/l))),s>=o.month){x.set("Month",b,s>=o.year?0:l*Math.floor(x.get("Month",b)/l));var D=x.get("FullYear",b)}s>=o.year&&x.set("FullYear",b,D-D%l),s===o.week&&(D=x.get("Day",b),x.set("Date",b,x.get("Date",b)-D+g+(D4*o.month||x.getTimezoneOffset(v)!==x.getTimezoneOffset(m)),v=b.getTime(),b=1;vR.length&&R.forEach(function(L){L%18e5===0&&x.dateFormat("%H%M%S%L",L)==="000000000"&&(y[L]="day")})}return R.info=U(S,{higherRanks:y,totalRange:s*l}),R},f.prototype.getDateFormat=function(S,v,m,g){var x=this.dateFormat("%m-%d %H:%M:%S.%L",v),R={millisecond:15,second:12,minute:9,hour:6,day:3},y="millisecond";for(b in o){if(S===o.week&&+this.dateFormat("%w",v)===m&&x.substr(6)==="00:00:00.000"){var b="week";break}if(o[b]>S){b=y;break}if(R[b]&&x.substr(R[b])!=="01-01 00:00:00.000".substr(R[b]))break;b!=="week"&&(y=b)}if(b)var s=this.resolveDTLFormat(g[b]).main;return s},f}(),I}),W(c,"Core/DefaultOptions.js",[c["Core/Chart/ChartDefaults.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Color/Palette.js"],c["Core/Time.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){I=I.parse;var V=U.merge,j={colors:q.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:C,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:q.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:q.neutralColor40,borderRadius:0,navigation:{activeColor:q.highlightColor100,inactiveColor:q.neutralColor20},itemStyle:{color:q.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:q.neutralColor100},itemHiddenStyle:{color:q.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:q.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:G.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:G.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25CF {series.name}: {point.y}
',backgroundColor:I(q.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:q.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:q.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};j.chart.styledMode=!1;var A=new J(V(j.global,j.time));return C={defaultOptions:j,defaultTime:A,getOptions:function(){return j},setOptions:function(P){return V(!0,j,P),(P.time||P.global)&&(G.time?G.time.update(V(j.global,j.time,P.global,P.time)):G.time=A),j}},C}),W(c,"Core/Animation/Fx.js",[c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(C,I,G){var q=C.parse,J=I.win,U=G.isNumber,V=G.objectEach;return function(){function j(A,P,E){this.pos=NaN,this.options=P,this.elem=A,this.prop=E}return j.prototype.dSetter=function(){var A=this.paths,P=A&&A[0];A=A&&A[1];var E=this.now||0,p=[];if(E!==1&&P&&A)if(P.length===A.length&&1>E)for(var o=0;o=T+this.startTime){this.now=this.end,this.pos=1,this.update();var f=w[this.prop]=!0;V(w,function(S){S!==!0&&(f=!1)}),f&&o&&o.call(p),A=!1}else this.pos=E.easing((P-this.startTime)/T),this.now=this.start+(this.end-this.start)*this.pos,this.update(),A=!0;return A},j.prototype.initPath=function(A,P,E){function p(x,R){for(;x.lengthf[1]){var v=E+ +f[1];0<=v?(f[0]=(+f[0]).toExponential(v).split("e")[0],E=v):(f[0]=f[0].split(".")[0]||0,P=20>E?(f[0]*Math.pow(10,f[1])).toFixed(E):0,f[1]=0)}v=(Math.abs(f[1]?f[0]:P)+Math.pow(10,-Math.max(E,w)-1)).toFixed(E),w=String(A(v));var m=3P?"-":"")+(m?w.substr(0,m)+o:""),P=0>+f[1]&&!S?"0":P+w.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+o),E&&(P+=p+v.slice(-E)),f[1]&&+P!=0&&(P+="e"+f[1]),P}var q=C.defaultOptions,J=C.defaultTime,U=I.getNestedProperty,V=I.isNumber,j=I.pick,A=I.pInt;return{dateFormat:function(P,E,p){return J.dateFormat(P,E,p)},format:function(P,E,p){var o="{",T=!1,w=/f$/,f=/\.([0-9])/,S=q.lang,v=p&&p.time||J;p=p&&p.numberFormatter||G;for(var m=[];P;){var g=P.indexOf(o);if(g===-1)break;var x=P.slice(0,g);if(T){if(x=x.split(":"),o=U(x.shift()||"",E),x.length&&typeof o=="number")if(x=x.join(":"),w.test(x)){var R=parseInt((x.match(f)||["","-1"])[1],10);o!==null&&(o=p(o,R,S.decimalPoint,-1p){for(q(j,o),v=w=0;v<=p;)v+=j[w].size,w++;S=j.splice(w-1,j.length)}for(q(j,T),j=j.map(function(m){return{size:m.size,targets:[m.target],align:G(m.align,.5)}});f;){for(w=j.length;w--;)p=j[w],o=(Math.min.apply(0,p.targets)+Math.max.apply(0,p.targets))/2,p.pos=I(o-p.size*p.align,0,A-p.size);for(w=j.length,f=!1;w--;)0j[w].pos&&(j[w-1].size+=j[w].size,j[w-1].targets=j[w-1].targets.concat(j[w].targets),j[w-1].align=.5,j[w-1].pos+j[w-1].size>A&&(j[w-1].pos=A-j[w-1].size),j.splice(w,1),f=!0)}return E.push.apply(E,S),w=0,j.some(function(m){var g=0;return(m.targets||[]).some(function(){return E[w].pos=m.pos+g,typeof P!="undefined"&&Math.abs(E[w].pos-E[w].target)>P?(E.slice(0,w+1).forEach(function(x){return delete x.pos}),E.reducedLen=(E.reducedLen||A)-.1*A,E.reducedLen>.1*A&&V(E,A,P),!0):(g+=E[w].size,w++,!1)})}),q(E,T),E}U.distribute=V}(J||(J={})),J}),W(c,"Core/Renderer/SVG/SVGElement.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Renderer/HTML/AST.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Color/Palette.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){var V=C.animate,j=C.animObject,A=C.stop,P=q.deg2rad,E=q.doc,p=q.noop,o=q.svg,T=q.SVG_NS,w=q.win,f=U.addEvent,S=U.attr,v=U.createElement,m=U.css,g=U.defined,x=U.erase,R=U.extend,y=U.fireEvent,b=U.isArray,s=U.isFunction,l=U.isNumber,O=U.isString,D=U.merge,u=U.objectEach,_=U.pick,L=U.pInt,nt=U.syncTimeout,rt=U.uniqueKey;return C=function(){function it(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=T,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return it.prototype._defaultGetter=function(X){return X=_(this[X+"Value"],this[X],this.element?this.element.getAttribute(X):null,0),/^[\-0-9\.]+$/.test(X)&&(X=parseFloat(X)),X},it.prototype._defaultSetter=function(X,ct,B){B.setAttribute(ct,X)},it.prototype.add=function(X){var ct=this.renderer,B=this.element;if(X&&(this.parentGroup=X),this.parentInverted=X&&X.inverted,typeof this.textStr!="undefined"&&this.element.nodeName==="text"&&ct.buildText(this),this.added=!0,!X||X.handleZ||this.zIndex)var F=this.zIndexSetter();return F||(X?X.element:ct.box).appendChild(B),this.onAdd&&this.onAdd(),this},it.prototype.addClass=function(X,ct){var B=ct?"":this.attr("class")||"";return X=(X||"").split(/ /g).reduce(function(F,ut){return B.indexOf(ut)===-1&&F.push(ut),F},B?[B]:[]).join(" "),X!==B&&this.attr("class",X),this},it.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},it.prototype.align=function(X,ct,B){var F={},ut=this.renderer,ft=ut.alignedObjects,et,ht,z;X?(this.alignOptions=X,this.alignByTranslate=ct,(!B||O(B))&&(this.alignTo=et=B||"renderer",x(ft,this),ft.push(this),B=void 0)):(X=this.alignOptions,ct=this.alignByTranslate,et=this.alignTo),B=_(B,ut[et],et==="scrollablePlotBox"?ut.plotBox:void 0,ut),et=X.align;var tt=X.verticalAlign;return ut=(B.x||0)+(X.x||0),ft=(B.y||0)+(X.y||0),et==="right"?ht=1:et==="center"&&(ht=2),ht&&(ut+=(B.width-(X.width||0))/ht),F[ct?"translateX":"x"]=Math.round(ut),tt==="bottom"?z=1:tt==="middle"&&(z=2),z&&(ft+=(B.height-(X.height||0))/z),F[ct?"translateY":"y"]=Math.round(ft),this[this.placed?"animate":"attr"](F),this.placed=!0,this.alignAttr=F,this},it.prototype.alignSetter=function(X){var ct={left:"start",center:"middle",right:"end"};ct[X]&&(this.alignValue=X,this.element.setAttribute("text-anchor",ct[X]))},it.prototype.animate=function(X,ct,B){var F=this,ut=j(_(ct,this.renderer.globalAnimation,!0));return ct=ut.defer,_(E.hidden,E.msHidden,E.webkitHidden,!1)&&(ut.duration=0),ut.duration!==0?(B&&(ut.complete=B),nt(function(){F.element&&V(F,X,ut)},ct)):(this.attr(X,void 0,B),u(X,function(ft,et){ut.step&&ut.step.call(this,ft,{prop:et,pos:1,elem:this})},this)),this},it.prototype.applyTextOutline=function(X){var ct=this.element;X.indexOf("contrast")!==-1&&(X=X.replace(/contrast/g,this.renderer.getContrast(ct.style.fill)));var B=X.split(" ");if(X=B[B.length-1],(B=B[0])&&B!=="none"&&q.svg){this.fakeTS=!0,this.ySetter=this.xSetter,B=B.replace(/(^[\d\.]+)(.*?)$/g,function(ft,et,ht){return 2*Number(et)+ht}),this.removeTextOutline();var F=E.createElementNS(T,"tspan");S(F,{class:"highcharts-text-outline",fill:X,stroke:X,"stroke-width":B,"stroke-linejoin":"round"}),[].forEach.call(ct.childNodes,function(ft){var et=ft.cloneNode(!0);et.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(ht){return et.removeAttribute(ht)}),F.appendChild(et)});var ut=E.createElementNS(T,"tspan");ut.textContent="\u200B",["x","y"].forEach(function(ft){var et=ct.getAttribute(ft);et&&ut.setAttribute(ft,et)}),F.appendChild(ut),ct.insertBefore(F,ct.firstChild)}},it.prototype.attr=function(X,ct,B,F){var ut=this.element,ft=this.symbolCustomAttribs,et,ht=this,z,tt;if(typeof X=="string"&&typeof ct!="undefined"){var Q=X;X={},X[Q]=ct}return typeof X=="string"?ht=(this[X+"Getter"]||this._defaultGetter).call(this,X,ut):(u(X,function(K,st){z=!1,F||A(this,st),this.symbolName&&ft.indexOf(st)!==-1&&(et||(this.symbolAttr(X),et=!0),z=!0),!this.rotation||st!=="x"&&st!=="y"||(this.doTransform=!0),z||(tt=this[st+"Setter"]||this._defaultSetter,tt.call(this,K,st,ut),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(st)&&this.updateShadows(st,K,tt))},this),this.afterSetters()),B&&B.call(this),ht},it.prototype.clip=function(X){return this.attr("clip-path",X?"url("+this.renderer.url+"#"+X.id+")":"none")},it.prototype.crisp=function(X,ct){ct=ct||X.strokeWidth||0;var B=Math.round(ct)%2/2;return X.x=Math.floor(X.x||this.x||0)+B,X.y=Math.floor(X.y||this.y||0)+B,X.width=Math.floor((X.width||this.width||0)-2*B),X.height=Math.floor((X.height||this.height||0)-2*B),g(X.strokeWidth)&&(X.strokeWidth=ct),X},it.prototype.complexColor=function(X,ct,B){var F=this.renderer,ut,ft,et,ht,z,tt,Q,K,st,xt,gt=[],Tt;y(this.renderer,"complexColor",{args:arguments},function(){if(X.radialGradient?ft="radialGradient":X.linearGradient&&(ft="linearGradient"),ft){if(et=X[ft],z=F.gradients,tt=X.stops,st=B.radialReference,b(et)&&(X[ft]=et={x1:et[0],y1:et[1],x2:et[2],y2:et[3],gradientUnits:"userSpaceOnUse"}),ft==="radialGradient"&&st&&!g(et.gradientUnits)&&(ht=et,et=D(et,F.getRadialAttr(st,ht),{gradientUnits:"userSpaceOnUse"})),u(et,function(Dt,Bt){Bt!=="id"&>.push(Bt,Dt)}),u(tt,function(Dt){gt.push(Dt)}),gt=gt.join(","),z[gt])xt=z[gt].attr("id");else{et.id=xt=rt();var vt=z[gt]=F.createElement(ft).attr(et).add(F.defs);vt.radAttr=ht,vt.stops=[],tt.forEach(function(Dt){Dt[1].indexOf("rgba")===0?(ut=G.parse(Dt[1]),Q=ut.get("rgb"),K=ut.get("a")):(Q=Dt[1],K=1),Dt=F.createElement("stop").attr({offset:Dt[0],"stop-color":Q,"stop-opacity":K}).add(vt),vt.stops.push(Dt)})}Tt="url("+F.url+"#"+xt+")",B.setAttribute(ct,Tt),B.gradient=gt,X.toString=function(){return Tt}}})},it.prototype.css=function(X){var ct=this.styles,B={},F=this.element,ut=["textOutline","textOverflow","width"],ft="",et=!ct;if(X&&X.color&&(X.fill=X.color),ct&&u(X,function(tt,Q){ct&&ct[Q]!==tt&&(B[Q]=tt,et=!0)}),et){if(ct&&(X=R(ct,B)),X){if(X.width===null||X.width==="auto")delete this.textWidth;else if(F.nodeName.toLowerCase()==="text"&&X.width)var ht=this.textWidth=L(X.width)}if(this.styles=X,ht&&!o&&this.renderer.forExport&&delete X.width,F.namespaceURI===this.SVG_NS){var z=function(tt,Q){return"-"+Q.toLowerCase()};u(X,function(tt,Q){ut.indexOf(Q)===-1&&(ft+=Q.replace(/([A-Z])/g,z)+":"+tt+";")}),ft&&S(F,"style",ft)}else m(F,X);this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),X&&X.textOutline&&this.applyTextOutline(X.textOutline))}return this},it.prototype.dashstyleSetter=function(X){var ct=this["stroke-width"];if(ct==="inherit"&&(ct=1),X=X&&X.toLowerCase()){var B=X.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(X=B.length;X--;)B[X]=""+L(B[X])*_(ct,NaN);X=B.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",X)}},it.prototype.destroy=function(){var X=this,ct=X.element||{},B=X.renderer,F=ct.ownerSVGElement,ut=B.isSVG&&ct.nodeName==="SPAN"&&X.parentGroup||void 0;if(ct.onclick=ct.onmouseout=ct.onmouseover=ct.onmousemove=ct.point=null,A(X),X.clipPath&&F){var ft=X.clipPath;[].forEach.call(F.querySelectorAll("[clip-path],[CLIP-PATH]"),function(et){-1Q.width)&&(Q={width:0,height:0})}else Q=this.htmlGetBBox();if(B.isSVG&&(X=Q.width,B=Q.height,z&&(Q.height=B={"11px,17":14,"13px,20":16}[ut&&ut.fontSize+","+Math.round(B)]||B),ct&&(ut=ct*P,Q.width=Math.abs(B*Math.sin(ut))+Math.abs(X*Math.cos(ut)),Q.height=Math.abs(B*Math.cos(ut))+Math.abs(X*Math.sin(ut)))),K&&(ft===""||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},it.prototype.toFront=function(){var X=this.element;return X.parentNode.appendChild(X),this},it.prototype.translate=function(X,ct){return this.attr({translateX:X,translateY:ct})},it.prototype.updateShadows=function(X,ct,B){var F=this.shadows;if(F)for(var ut=F.length;ut--;)B.call(F[ut],X==="height"?Math.max(ct-(F[ut].cutHeight||0),0):X==="d"?this.d:ct,X,F[ut])},it.prototype.updateTransform=function(){var X=this.scaleX,ct=this.scaleY,B=this.inverted,F=this.rotation,ut=this.matrix,ft=this.element,et=this.translateX||0,ht=this.translateY||0;B&&(et+=this.width,ht+=this.height),et=["translate("+et+","+ht+")"],g(ut)&&et.push("matrix("+ut.join(",")+")"),B?et.push("rotate(90) scale(-1,1)"):F&&et.push("rotate("+F+" "+_(this.rotationOriginX,ft.getAttribute("x"),0)+" "+_(this.rotationOriginY,ft.getAttribute("y")||0)+")"),(g(X)||g(ct))&&et.push("scale("+_(X,1)+" "+_(ct,1)+")"),et.length&&ft.setAttribute("transform",et.join(" "))},it.prototype.visibilitySetter=function(X,ct,B){X==="inherit"?B.removeAttribute(ct):this[ct]!==X&&B.setAttribute(ct,X),this[ct]=X},it.prototype.xGetter=function(X){return this.element.nodeName==="circle"&&(X==="x"?X="cx":X==="y"&&(X="cy")),this._defaultGetter(X)},it.prototype.zIndexSetter=function(X,ct){var B=this.renderer,F=this.parentGroup,ut=(F||B).element||B.box,ft=this.element;B=ut===B.box;var et=!1,ht=this.added,z;if(g(X)?(ft.setAttribute("data-z-index",X),X=+X,this[ct]===X&&(ht=!1)):g(this[ct])&&ft.removeAttribute("data-z-index"),this[ct]=X,ht){for((X=this.zIndex)&&F&&(F.handleZ=!0),ct=ut.childNodes,z=ct.length-1;0<=z&&!et;z--){F=ct[z],ht=F.getAttribute("data-z-index");var tt=!g(ht);F!==ft&&(0>X&&tt&&!B&&!z?(ut.insertBefore(ft,ct[z]),et=!0):(L(ht)<=X||tt&&(!g(X)||0<=X))&&(ut.insertBefore(ft,ct[z+1]||null),et=!0))}et||(ut.insertBefore(ft,ct[B?3:0]||null),et=!0)}return et},it}(),C.prototype["stroke-widthSetter"]=C.prototype.strokeSetter,C.prototype.yGetter=C.prototype.xGetter,C.prototype.matrixSetter=C.prototype.rotationOriginXSetter=C.prototype.rotationOriginYSetter=C.prototype.rotationSetter=C.prototype.scaleXSetter=C.prototype.scaleYSetter=C.prototype.translateXSetter=C.prototype.translateYSetter=C.prototype.verticalAlignSetter=function(it,X){this[X]=it,this.doTransform=!0},C}),W(c,"Core/Renderer/RendererRegistry.js",[c["Core/Globals.js"]],function(C){var I;return function(G){G.rendererTypes={};var q;G.getRendererType=function(J){return J===void 0&&(J=q),G.rendererTypes[J]||G.rendererTypes[q]},G.registerRendererType=function(J,U,V){G.rendererTypes[J]=U,(!q||V)&&(q=J,C.Renderer=U)}}(I||(I={})),I}),W(c,"Core/Renderer/SVG/SVGLabel.js",[c["Core/Renderer/SVG/SVGElement.js"],c["Core/Utilities.js"]],function(C,I){var G=this&&this.__extends||function(){var P=function(E,p){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,T){o.__proto__=T}||function(o,T){for(var w in T)T.hasOwnProperty(w)&&(o[w]=T[w])},P(E,p)};return function(E,p){function o(){this.constructor=E}P(E,p),E.prototype=p===null?Object.create(p):(o.prototype=p.prototype,new o)}}(),q=I.defined,J=I.extend,U=I.isNumber,V=I.merge,j=I.pick,A=I.removeEvent;return function(P){function E(p,o,T,w,f,S,v,m,g,x){var R=P.call(this)||this;R.paddingLeftSetter=R.paddingSetter,R.paddingRightSetter=R.paddingSetter,R.init(p,"g"),R.textStr=o,R.x=T,R.y=w,R.anchorX=S,R.anchorY=v,R.baseline=g,R.className=x,R.addClass(x==="button"?"highcharts-no-tooltip":"highcharts-label"),x&&R.addClass("highcharts-"+x),R.text=p.text(void 0,0,0,m).attr({zIndex:1});var y;return typeof f=="string"&&((y=/^url\((.*?)\)$/.test(f))||R.renderer.symbols[f])&&(R.symbolKey=f),R.bBox=E.emptyBBox,R.padding=3,R.baselineOffset=0,R.needsBox=p.styledMode||y,R.deferredAttr={},R.alignFactor=0,R}return G(E,P),E.prototype.alignSetter=function(p){p={left:0,center:.5,right:1}[p],p!==this.alignFactor&&(this.alignFactor=p,this.bBox&&U(this.xSetting)&&this.attr({x:this.xSetting}))},E.prototype.anchorXSetter=function(p,o){this.anchorX=p,this.boxAttr(o,Math.round(p)-this.getCrispAdjust()-this.xSetting)},E.prototype.anchorYSetter=function(p,o){this.anchorY=p,this.boxAttr(o,p-this.ySetting)},E.prototype.boxAttr=function(p,o){this.box?this.box.attr(p,o):this.deferredAttr[p]=o},E.prototype.css=function(p){if(p){var o={};p=V(p),E.textProps.forEach(function(w){typeof p[w]!="undefined"&&(o[w]=p[w],delete p[w])}),this.text.css(o);var T="width"in o;"fontSize"in o||"fontWeight"in o?this.updateTextPadding():T&&this.updateBoxSize()}return C.prototype.css.call(this,p)},E.prototype.destroy=function(){A(this.element,"mouseenter"),A(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),C.prototype.destroy.call(this)},E.prototype.fillSetter=function(p,o){p&&(this.needsBox=!0),this.fill=p,this.boxAttr(o,p)},E.prototype.getBBox=function(){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();var p=this.padding,o=j(this.paddingLeft,p);return{width:this.width,height:this.height,x:this.bBox.x-o,y:this.bBox.y-p}},E.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},E.prototype.heightSetter=function(p){this.heightSetting=p},E.prototype.onAdd=function(){var p=this.textStr;this.text.add(this),this.attr({text:q(p)?p:"",x:this.x,y:this.y}),this.box&&q(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},E.prototype.paddingSetter=function(p,o){U(p)?p!==this[o]&&(this[o]=p,this.updateTextPadding()):this[o]=void 0},E.prototype.rSetter=function(p,o){this.boxAttr(o,p)},E.prototype.shadow=function(p){return p&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(p)),this},E.prototype.strokeSetter=function(p,o){this.stroke=p,this.boxAttr(o,p)},E.prototype["stroke-widthSetter"]=function(p,o){p&&(this.needsBox=!0),this["stroke-width"]=p,this.boxAttr(o,p)},E.prototype["text-alignSetter"]=function(p){this.textAlign=p},E.prototype.textSetter=function(p){typeof p!="undefined"&&this.text.attr({text:p}),this.updateTextPadding()},E.prototype.updateBoxSize=function(){var p=this.text.element.style,o={},T=this.padding,w=this.bBox=U(this.widthSetting)&&U(this.heightSetting)&&!this.textAlign||!q(this.text.textStr)?E.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||w.height||0)+2*T,p=this.renderer.fontMetrics(p&&p.fontSize,this.text),this.baselineOffset=T+Math.min((this.text.firstLineMetrics||p).b,w.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-p.h)/2),this.needsBox&&(this.box||(T=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),T.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),T.add(this)),T=this.getCrispAdjust(),o.x=T,o.y=(this.baseline?-this.baselineOffset:0)+T,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(J(o,this.deferredAttr)),this.deferredAttr={})},E.prototype.updateTextPadding=function(){var p=this.text;this.updateBoxSize();var o=this.baseline?0:this.baselineOffset,T=j(this.paddingLeft,this.padding);q(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(T+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(T!==p.x||o!==p.y)&&(p.attr("x",T),p.hasBoxWidthChanged&&(this.bBox=p.getBBox(!0)),typeof o!="undefined"&&p.attr("y",o)),p.x=T,p.y=o},E.prototype.widthSetter=function(p){this.widthSetting=U(p)?p:void 0},E.prototype.getPaddedWidth=function(){var p=this.padding,o=j(this.paddingLeft,p);return p=j(this.paddingRight,p),(this.widthSetting||this.bBox.width||0)+o+p},E.prototype.xSetter=function(p){this.x=p,this.alignFactor&&(p-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(p),this.attr("translateX",this.xSetting)},E.prototype.ySetter=function(p){this.ySetting=this.y=Math.round(p),this.attr("translateY",this.ySetting)},E.emptyBBox={width:0,height:0,x:0,y:0},E.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),E}(C)}),W(c,"Core/Renderer/SVG/Symbols.js",[c["Core/Utilities.js"]],function(C){function I(j,A,P,E,p){var o=[];if(p){var T=p.start||0,w=V(p.r,P);P=V(p.r,E||P);var f=(p.end||0)-.001;E=p.innerR;var S=V(p.open,.001>Math.abs((p.end||0)-T-2*Math.PI)),v=Math.cos(T),m=Math.sin(T),g=Math.cos(f),x=Math.sin(f);T=V(p.longArc,.001>f-T-Math.PI?0:1),o.push(["M",j+w*v,A+P*m],["A",w,P,0,T,V(p.clockwise,1),j+w*g,A+P*x]),J(E)&&o.push(S?["M",j+E*g,A+E*x]:["L",j+E*g,A+E*x],["A",E,E,0,T,J(p.clockwise)?1-p.clockwise:0,j+E*v,A+E*m]),S||o.push(["Z"])}return o}function G(j,A,P,E,p){return p&&p.r?q(j,A,P,E,p):[["M",j,A],["L",j+P,A],["L",j+P,A+E],["L",j,A+E],["Z"]]}function q(j,A,P,E,p){return p=p&&p.r||0,[["M",j+p,A],["L",j+P-p,A],["C",j+P,A,j+P,A,j+P,A+p],["L",j+P,A+E-p],["C",j+P,A+E,j+P,A+E,j+P-p,A+E],["L",j+p,A+E],["C",j,A+E,j,A+E,j,A+E-p],["L",j,A+p],["C",j,A,j,A,j+p,A]]}var J=C.defined,U=C.isNumber,V=C.pick;return{arc:I,callout:function(j,A,P,E,p){var o=Math.min(p&&p.r||0,P,E),T=o+6,w=p&&p.anchorX;p=p&&p.anchorY||0;var f=q(j,A,P,E,{r:o});return U(w)&&(j+w>=P?p>A+T&&p=j+w?p>A+T&&pE&&w>j+T&&wp&&w>j+T&&w/g,v=[T,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(v!==E.textCache){for(E.textCache=v,delete E.actualWidth,v=f.length;v--;)p.removeChild(f[v]);w||this.ellipsis||this.width||T.indexOf(" ")!==-1&&(!this.noWrap||S.test(T))?T!==""&&(o&&o.appendChild(p),T=new C(T),this.modifyTree(T.nodes),T.addToDOM(E.element),this.modifyDOM(),this.ellipsis&&(p.textContent||"").indexOf("\u2026")!==-1&&E.attr("title",this.unescapeEntities(E.textStr||"",["<",">"])),o&&o.removeChild(p)):p.appendChild(q.createTextNode(this.unescapeEntities(T))),V(this.textOutline)&&E.applyTextOutline&&E.applyTextOutline(this.textOutline)}},P.prototype.modifyDOM=function(){var E=this,p=this.svgElement,o=U(p.element,"x");p.firstLineMetrics=void 0;for(var T;(T=p.element.firstChild)&&/^[\s\u200B]*$/.test(T.textContent||" ");)p.element.removeChild(T);[].forEach.call(p.element.querySelectorAll("tspan.highcharts-br"),function(v,m){v.nextSibling&&v.previousSibling&&(m===0&&v.previousSibling.nodeType===1&&(p.firstLineMetrics=p.renderer.fontMetrics(void 0,v.previousSibling)),U(v,{dy:E.getLineHeight(v.nextSibling),x:o}))});var w=this.width||0;if(w){var f=function(v,m){var g=v.textContent||"",x=g.replace(/([^\^])-/g,"$1- ").split(" "),R=!E.noWrap&&(1w){for(;x<=R;)y=Math.ceil((x+R)/2),o&&(b=f(o,y)),l=s(y,b&&b.length-1),x===R?x=R+1:l>w?R=y-1:x=y;R===0?E.textContent="":p&&R===p.length-1||(E.textContent=b||f(p||o,y))}o&&o.splice(0,y),S.actualWidth=l,S.rotation=m},P.prototype.unescapeEntities=function(E,p){return j(this.renderer.escapes,function(o,T){p&&p.indexOf(o)!==-1||(E=E.toString().replace(new RegExp(o,"g"),T))}),E},P}()}),W(c,"Core/Renderer/SVG/SVGRenderer.js",[c["Core/Renderer/HTML/AST.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Color/Palette.js"],c["Core/Renderer/RendererRegistry.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGLabel.js"],c["Core/Renderer/SVG/Symbols.js"],c["Core/Renderer/SVG/TextBuilder.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A,P){var E=G.charts,p=G.deg2rad,o=G.doc,T=G.isFirefox,w=G.isMS,f=G.isWebKit,S=G.noop,v=G.SVG_NS,m=G.symbolSizes,g=G.win,x=P.addEvent,R=P.attr,y=P.createElement,b=P.css,s=P.defined,l=P.destroyObjectProperties,O=P.extend,D=P.isArray,u=P.isNumber,_=P.isObject,L=P.isString,nt=P.merge,rt=P.pick,it=P.pInt,X=P.uniqueKey,ct;return G=function(){function B(F,ut,ft,et,ht,z,tt){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(F,ut,ft,et,ht,z,tt)}return B.prototype.init=function(F,ut,ft,et,ht,z,tt){var Q=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),K=Q.element;tt||Q.css(this.getStyle(et)),F.appendChild(K),R(F,"dir","ltr"),F.innerHTML.indexOf("xmlns")===-1&&R(K,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=K,this.boxWrapper=Q,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(o.createTextNode("Created with Highcharts 9.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=z,this.forExport=ht,this.styledMode=tt,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(ut,ft,!1);var st;T&&F.getBoundingClientRect&&(ut=function(){b(F,{left:0,top:0}),st=F.getBoundingClientRect(),b(F,{left:Math.ceil(st.left)-st.left+"px",top:Math.ceil(st.top)-st.top+"px"})},ut(),this.unSubPixelFix=x(g,"resize",ut))},B.prototype.definition=function(F){return new C([F]).addToDOM(this.defs.element)},B.prototype.getReferenceURL=function(){if((T||f)&&o.getElementsByTagName("base").length){if(!s(ct)){var F=X();F=new C([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:F},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+F+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(o.body),b(F,{position:"fixed",top:0,left:0,zIndex:9e5});var ut=o.elementFromPoint(6,6);ct=(ut&&ut.id)==="hitme",o.body.removeChild(F)}if(ct)return g.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},B.prototype.getStyle=function(F){return this.style=O({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},F)},B.prototype.setStyle=function(F){this.boxWrapper.css(this.getStyle(F))},B.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},B.prototype.destroy=function(){var F=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),l(this.gradients||{}),this.gradients=null,F&&(this.defs=F.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},B.prototype.createElement=function(F){var ut=new this.Element;return ut.init(this,F),ut},B.prototype.getRadialAttr=function(F,ut){return{cx:F[0]-F[2]/2+(ut.cx||0)*F[2],cy:F[1]-F[2]/2+(ut.cy||0)*F[2],r:(ut.r||0)*F[2]}},B.prototype.buildText=function(F){new A(F).buildSVG()},B.prototype.getContrast=function(F){return F=I.parse(F).rgba,F[0]*=1,F[1]*=1.2,F[2]*=.5,459F?F+3:Math.round(1.2*F),{h:ut,b:Math.round(.8*ut),f:F}},B.prototype.rotCorr=function(F,ut,ft){var et=F;return ut&&ft&&(et=Math.max(et*Math.cos(ut*p),4)),{x:-F/3*Math.sin(ut*p),y:et}},B.prototype.pathToSegments=function(F){for(var ut=[],ft=[],et={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},ht=0;ht":">","'":"'",'"':"""},symbols:j,draw:S}),J.registerRendererType("svg",G,!0),G}),W(c,"Core/Renderer/HTML/HTMLElement.js",[c["Core/Globals.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Utilities.js"]],function(C,I,G){var q=this&&this.__extends||function(){var T=function(w,f){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,v){S.__proto__=v}||function(S,v){for(var m in v)v.hasOwnProperty(m)&&(S[m]=v[m])},T(w,f)};return function(w,f){function S(){this.constructor=w}T(w,f),w.prototype=f===null?Object.create(f):(S.prototype=f.prototype,new S)}}(),J=C.isFirefox,U=C.isMS,V=C.isWebKit,j=C.win,A=G.css,P=G.defined,E=G.extend,p=G.pick,o=G.pInt;return function(T){function w(){return T!==null&&T.apply(this,arguments)||this}return q(w,T),w.compose=function(f){if(w.composedClasses.indexOf(f)===-1){w.composedClasses.push(f);var S=w.prototype,v=f.prototype;v.getSpanCorrection=S.getSpanCorrection,v.htmlCss=S.htmlCss,v.htmlGetBBox=S.htmlGetBBox,v.htmlUpdateTransform=S.htmlUpdateTransform,v.setSpanRotation=S.setSpanRotation}return f},w.prototype.getSpanCorrection=function(f,S,v){this.xCorr=-f*v,this.yCorr=-S},w.prototype.htmlCss=function(f){var S=this.element.tagName==="SPAN"&&f&&"width"in f,v=p(S&&f.width,void 0);if(S){delete f.width,this.textWidth=v;var m=!0}return f&&f.textOverflow==="ellipsis"&&(f.whiteSpace="nowrap",f.overflow="hidden"),this.styles=E(this.styles,f),A(this.element,f),m&&this.htmlUpdateTransform(),this},w.prototype.htmlGetBBox=function(){var f=this.element;return{x:f.offsetLeft,y:f.offsetTop,width:f.offsetWidth,height:f.offsetHeight}},w.prototype.htmlUpdateTransform=function(){if(this.added){var f=this.renderer,S=this.element,v=this.translateX||0,m=this.translateY||0,g=this.x||0,x=this.y||0,R=this.textAlign||"left",y={left:0,center:.5,right:1}[R],b=this.styles;if(b=b&&b.whiteSpace,A(S,{marginLeft:v,marginTop:m}),!f.styledMode&&this.shadows&&this.shadows.forEach(function(u){A(u,{marginLeft:v+1,marginTop:m+1})}),this.inverted&&[].forEach.call(S.childNodes,function(u){f.invertChild(u,S)}),S.tagName==="SPAN"){var s=this.rotation,l=this.textWidth&&o(this.textWidth),O=[s,R,S.innerHTML,this.textWidth,this.textAlign].join(),D=void 0;(D=l!==this.oldTextWidth)&&!(D=l>this.oldTextWidth)&&((D=this.textPxLength)||(A(S,{width:"",whiteSpace:b||"nowrap"}),D=S.offsetWidth),D=D>l),D&&(/[ \-]/.test(S.textContent||S.innerText)||S.style.textOverflow==="ellipsis")?(A(S,{width:l+"px",display:"block",whiteSpace:b||"normal"}),this.oldTextWidth=l,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,O!==this.cTT&&(D=f.fontMetrics(S.style.fontSize,S).b,!P(s)||s===(this.oldRotation||0)&&R===this.oldAlign||this.setSpanRotation(s,y,D),this.getSpanCorrection(!P(s)&&this.textPxLength||S.offsetWidth,D,y,s,R)),A(S,{left:g+(this.xCorr||0)+"px",top:x+(this.yCorr||0)+"px"}),this.cTT=O,this.oldRotation=s,this.oldAlign=R}}else this.alignOnAdd=!0},w.prototype.setSpanRotation=function(f,S,v){var m={},g=U&&!/Edge/.test(j.navigator.userAgent)?"-ms-transform":V?"-webkit-transform":J?"MozTransform":j.opera?"-o-transform":void 0;g&&(m[g]=m.transform="rotate("+f+"deg)",m[g+(J?"Origin":"-origin")]=m.transformOrigin=100*S+"% "+v+"px",A(this.element,m))},w.composedClasses=[],w}(I)}),W(c,"Core/Renderer/HTML/HTMLRenderer.js",[c["Core/Renderer/HTML/AST.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"]],function(C,I,G,q){var J=this&&this.__extends||function(){var P=function(E,p){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,T){o.__proto__=T}||function(o,T){for(var w in T)T.hasOwnProperty(w)&&(o[w]=T[w])},P(E,p)};return function(E,p){function o(){this.constructor=E}P(E,p),E.prototype=p===null?Object.create(p):(o.prototype=p.prototype,new o)}}(),U=q.attr,V=q.createElement,j=q.extend,A=q.pick;return function(P){function E(){return P!==null&&P.apply(this,arguments)||this}return J(E,P),E.compose=function(p){return E.composedClasses.indexOf(p)===-1&&(E.composedClasses.push(p),p.prototype.html=E.prototype.html),p},E.prototype.html=function(p,o,T){var w=this.createElement("span"),f=w.element,S=w.renderer,v=S.isSVG,m=function(g,x){["opacity","visibility"].forEach(function(R){g[R+"Setter"]=function(y,b,s){var l=g.div?g.div.style:x;I.prototype[R+"Setter"].call(this,y,b,s),l&&(l[b]=y)}}),g.addedSetters=!0};return w.textSetter=function(g){g!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,C.setElementHTML(this.element,A(g,"")),this.textStr=g,w.doTransform=!0)},v&&m(w,w.element.style),w.xSetter=w.ySetter=w.alignSetter=w.rotationSetter=function(g,x){x==="align"?w.alignValue=w.textAlign=g:w[x]=g,w.doTransform=!0},w.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},w.attr({text:p,x:Math.round(o),y:Math.round(T)}).css({position:"absolute"}),S.styledMode||w.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),f.style.whiteSpace="nowrap",w.css=w.htmlCss,v&&(w.add=function(g){var x=S.box.parentNode,R=[];if(this.parentGroup=g){var y=g.div;if(!y){for(;g;)R.push(g),g=g.parentGroup;R.reverse().forEach(function(b){function s(u,_){b[_]=u,_==="translateX"?D.left=u+"px":D.top=u+"px",b.doTransform=!0}var l=U(b.element,"class"),O=b.styles||{};y=b.div=b.div||V("div",l?{className:l}:void 0,{position:"absolute",left:(b.translateX||0)+"px",top:(b.translateY||0)+"px",display:b.display,opacity:b.opacity,cursor:O.cursor,pointerEvents:O.pointerEvents,visibility:b.visibility},y||x);var D=y.style;j(b,{classSetter:function(u){return function(_){this.element.setAttribute("class",_),u.className=_}}(y),on:function(){return R[0].div&&w.on.apply({element:R[0].div,onEvents:b.onEvents},arguments),b},translateXSetter:s,translateYSetter:s}),b.addedSetters||m(b)})}}else y=x;return y.appendChild(f),w.added=!0,w.alignOnAdd&&w.htmlUpdateTransform(),w}),w},E.composedClasses=[],E}(G)}),W(c,"Core/Axis/AxisDefaults.js",[c["Core/Color/Palette.js"]],function(C){var I;return function(G){G.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:C.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:C.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:C.neutralColor5,minorGridLineWidth:1,minorTickColor:C.neutralColor40,lineColor:C.highlightColor20,lineWidth:1,gridLineColor:C.neutralColor10,gridLineWidth:void 0,tickColor:C.highlightColor20},G.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var q=this.axis.chart.numberFormatter;return q(this.total,-1)},style:{color:C.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},G.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},G.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},G.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},G.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(I||(I={})),I}),W(c,"Core/Foundation.js",[c["Core/Utilities.js"]],function(C){var I=C.addEvent,G=C.isFunction,q=C.objectEach,J=C.removeEvent;return{registerEventOptions:function(U,V){U.eventOptions=U.eventOptions||{},q(V.events,function(j,A){U.eventOptions[A]!==j&&(U.eventOptions[A]&&(J(U,A,U.eventOptions[A]),delete U.eventOptions[A]),G(j)&&(U.eventOptions[A]=j,I(U,A,j)))})}}}),W(c,"Core/Axis/Tick.js",[c["Core/FormatUtilities.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(C,I,G){var q=I.deg2rad,J=G.clamp,U=G.correctFloat,V=G.defined,j=G.destroyObjectProperties,A=G.extend,P=G.fireEvent,E=G.isNumber,p=G.merge,o=G.objectEach,T=G.pick;return I=function(){function w(f,S,v,m,g){this.isNewLabel=this.isNew=!0,this.axis=f,this.pos=S,this.type=v||"",this.parameters=g||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,P(this,"init"),v||m||this.addLabel()}return w.prototype.addLabel=function(){var f=this,S=f.axis,v=S.options,m=S.chart,g=S.categories,x=S.logarithmic,R=S.names,y=f.pos,b=T(f.options&&f.options.labels,v.labels),s=S.tickPositions,l=y===s[0],O=y===s[s.length-1],D=(!b.step||b.step===1)&&S.tickInterval===1;s=s.info;var u=f.label,_;if(g=this.parameters.category||(g?T(g[y],R[y],y):y),x&&E(g)&&(g=U(x.lin2log(g))),S.dateTime)if(s)var L=m.time.resolveDTLFormat(v.dateTimeLabelFormats[!v.grid&&s.higherRanks[y]||s.unitName]),nt=L.main;else E(g)&&(nt=S.dateTime.getXDateFormat(g,v.dateTimeLabelFormats||{}));f.isFirst=l,f.isLast=O;var rt={axis:S,chart:m,dateTimeLabelFormat:nt,isFirst:l,isLast:O,pos:y,tick:f,tickPositionInfo:s,value:g};P(this,"labelFormat",rt);var it=function(ct){return b.formatter?b.formatter.call(ct,ct):b.format?(ct.text=S.defaultLabelFormatter.call(ct),C.format(b.format,ct,m)):S.defaultLabelFormatter.call(ct,ct)};v=it.call(rt,rt);var X=L&&L.list;f.shortenLabel=X?function(){for(_=0;_b&&m-s*lx&&(L=Math.round((g-m)/Math.cos(b*q))):(g=m+(1-s)*l,m-s*lx&&(u=x-f.x+u*s,_=-1),u=Math.min(O,u),uu||S.autoRotation&&(y.styles||{}).width)&&(L=u)),L&&(this.shortenLabel?this.shortenLabel():(D.width=Math.floor(L)+"px",(v.style||{}).textOverflow||(D.textOverflow="ellipsis"),y.css(D)))},w.prototype.moveLabel=function(f,S){var v=this,m=v.label,g=v.axis,x=g.reversed,R=!1;if(m&&m.textStr===f?(v.movedLabel=m,R=!0,delete v.label):o(g.ticks,function(b){R||b.isNew||b===v||!b.label||b.label.textStr!==f||(v.movedLabel=b.label,R=!0,b.labelPos=v.movedLabel.xy,delete b.label)}),!R&&(v.labelPos||m)){var y=v.labelPos||m.xy;m=g.horiz?x?0:g.width+g.left:y.x,g=g.horiz?y.y:x?g.width+g.left:0,v.movedLabel=v.createLabel({x:m,y:g},f,S),v.movedLabel&&v.movedLabel.attr({opacity:0})}},w.prototype.render=function(f,S,v){var m=this.axis,g=m.horiz,x=this.pos,R=T(this.tickmarkOffset,m.tickmarkOffset);x=this.getPosition(g,x,R,S),R=x.x;var y=x.y;m=g&&R===m.pos+m.len||!g&&y===m.pos?-1:1,g=T(v,this.label&&this.label.newOpacity,1),v=T(v,1),this.isActive=!0,this.renderGridLine(S,v,m),this.renderMark(x,v,m),this.renderLabel(x,S,g,f),this.isNew=!1,P(this,"afterRender")},w.prototype.renderGridLine=function(f,S,v){var m=this.axis,g=m.options,x={},R=this.pos,y=this.type,b=T(this.tickmarkOffset,m.tickmarkOffset),s=m.chart.renderer,l=this.gridLine,O=g.gridLineWidth,D=g.gridLineColor,u=g.gridLineDashStyle;this.type==="minor"&&(O=g.minorGridLineWidth,D=g.minorGridLineColor,u=g.minorGridLineDashStyle),l||(m.chart.styledMode||(x.stroke=D,x["stroke-width"]=O||0,x.dashstyle=u),y||(x.zIndex=1),f&&(S=0),this.gridLine=l=s.path().attr(x).addClass("highcharts-"+(y?y+"-":"")+"grid-line").add(m.gridGroup)),l&&(v=m.getPlotLinePath({value:R+b,lineWidth:l.strokeWidth()*v,force:"pass",old:f}))&&l[f||this.isNew?"attr":"animate"]({d:v,opacity:S})},w.prototype.renderMark=function(f,S,v){var m=this.axis,g=m.options,x=m.chart.renderer,R=this.type,y=m.tickSize(R?R+"Tick":"tick"),b=f.x;f=f.y;var s=T(g[R!=="minor"?"tickWidth":"minorTickWidth"],!R&&m.isXAxis?1:0);g=g[R!=="minor"?"tickColor":"minorTickColor"];var l=this.mark,O=!l;y&&(m.opposite&&(y[0]=-y[0]),l||(this.mark=l=x.path().addClass("highcharts-"+(R?R+"-":"")+"tick").add(m.axisGroup),m.chart.styledMode||l.attr({stroke:g,"stroke-width":s})),l[O?"attr":"animate"]({d:this.getMarkPath(b,f,y[0],l.strokeWidth()*v,m.horiz,x),opacity:S}))},w.prototype.renderLabel=function(f,S,v,m){var g=this.axis,x=g.horiz,R=g.options,y=this.label,b=R.labels,s=b.step;g=T(this.tickmarkOffset,g.tickmarkOffset);var l=f.x;f=f.y;var O=!0;y&&E(l)&&(y.xy=f=this.getLabelPosition(l,f,y,x,b,g,m,s),this.isFirst&&!this.isLast&&!R.showFirstLabel||this.isLast&&!this.isFirst&&!R.showLastLabel?O=!1:!x||b.step||b.rotation||S||v===0||this.handleOverflow(f),s&&m%s&&(O=!1),O&&E(f.y)?(f.opacity=v,y[this.isNewLabel?"attr":"animate"](f),this.isNewLabel=!1):(y.attr("y",-9999),this.isNewLabel=!0))},w.prototype.replaceMovedLabel=function(){var f=this.label,S=this.axis,v=S.reversed;if(f&&!this.isNew){var m=S.horiz?v?S.left:S.width+S.left:f.xy.x;v=S.horiz?f.xy.y:v?S.width+S.top:S.top,f.animate({x:m,y:v,opacity:0},void 0,f.destroy),delete this.label}S.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},w}(),I}),W(c,"Core/Axis/Axis.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Axis/AxisDefaults.js"],c["Core/Color/Color.js"],c["Core/Color/Palette.js"],c["Core/DefaultOptions.js"],c["Core/Foundation.js"],c["Core/Globals.js"],c["Core/Axis/Tick.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A){var P=C.animObject,E=J.defaultOptions,p=U.registerEventOptions,o=V.deg2rad,T=A.arrayMax,w=A.arrayMin,f=A.clamp,S=A.correctFloat,v=A.defined,m=A.destroyObjectProperties,g=A.erase,x=A.error,R=A.extend,y=A.fireEvent,b=A.getMagnitude,s=A.isArray,l=A.isNumber,O=A.isString,D=A.merge,u=A.normalizeTickInterval,_=A.objectEach,L=A.pick,nt=A.relativeLength,rt=A.removeEvent,it=A.splat,X=A.syncTimeout;return C=function(){function ct(B,F){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(B,F)}return ct.prototype.init=function(B,F){var ut=F.isX;this.chart=B,this.horiz=B.inverted&&!this.isZAxis?!ut:ut,this.isXAxis=ut,this.coll=this.coll||(ut?"xAxis":"yAxis"),y(this,"init",{userOptions:F}),this.opposite=L(F.opposite,this.opposite),this.side=L(F.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(F);var ft=this.options,et=ft.labels,ht=ft.type;this.userOptions=F,this.minPixelPadding=0,this.reversed=L(ft.reversed,this.reversed),this.visible=ft.visible,this.zoomEnabled=ft.zoomEnabled,this.hasNames=ht==="category"||ft.categories===!0,this.categories=ft.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=v(ft.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=ft.minRange||ft.maxZoom,this.range=ft.range,this.offset=ft.offset||0,this.min=this.max=null,F=L(ft.crosshair,it(B.options.tooltip.crosshairs)[ut?0:1]),this.crosshair=F===!0?{}:F,B.axes.indexOf(this)===-1&&(ut?B.axes.splice(B.xAxis.length,0,this):B.axes.push(this),B[this.coll].push(this)),this.series=this.series||[],B.inverted&&!this.isZAxis&&ut&&typeof this.reversed=="undefined"&&(this.reversed=!0),this.labelRotation=l(et.rotation)?et.rotation:void 0,p(this,ft),y(this,"afterInit")},ct.prototype.setOptions=function(B){this.options=D(I.defaultXAxisOptions,this.coll==="yAxis"&&I.defaultYAxisOptions,[I.defaultTopAxisOptions,I.defaultRightAxisOptions,I.defaultBottomAxisOptions,I.defaultLeftAxisOptions][this.side],D(E[this.coll],B)),y(this,"afterSetOptions",{userOptions:B})},ct.prototype.defaultLabelFormatter=function(B){var F=this.axis;B=this.chart.numberFormatter;var ut=l(this.value)?this.value:NaN,ft=F.chart.time,et=this.dateTimeLabelFormat,ht=E.lang,z=ht.numericSymbols;ht=ht.numericSymbolMagnitude||1e3;var tt=F.logarithmic?Math.abs(ut):F.tickInterval,Q=z&&z.length;if(F.categories)var K=""+this.value;else if(et)K=ft.dateFormat(et,ut);else if(Q&&1e3<=tt)for(;Q--&&typeof K=="undefined";)F=Math.pow(ht,Q+1),tt>=F&&10*ut%F===0&&z[Q]!==null&&ut!==0&&(K=B(ut/F,-1)+z[Q]);return typeof K=="undefined"&&(K=1e4<=Math.abs(ut)?B(ut,-1):B(ut,-1,void 0,"")),K},ct.prototype.getSeriesExtremes=function(){var B=this,F=B.chart,ut;y(this,"getSeriesExtremes",null,function(){B.hasVisibleSeries=!1,B.dataMin=B.dataMax=B.threshold=null,B.softThreshold=!B.isXAxis,B.stacking&&B.stacking.buildStacks(),B.series.forEach(function(ft){if(ft.visible||!F.options.chart.ignoreHiddenSeries){var et=ft.options,ht=et.threshold;if(B.hasVisibleSeries=!0,B.positiveValuesOnly&&0>=ht&&(ht=null),B.isXAxis){if(et=ft.xData,et.length){et=B.logarithmic?et.filter(B.validatePositiveValue):et,ut=ft.getXExtremes(et);var z=ut.min,tt=ut.max;l(z)||z instanceof Date||(et=et.filter(l),ut=ft.getXExtremes(et),z=ut.min,tt=ut.max),et.length&&(B.dataMin=Math.min(L(B.dataMin,z),z),B.dataMax=Math.max(L(B.dataMax,tt),tt))}}else ft=ft.applyExtremes(),l(ft.dataMin)&&(z=ft.dataMin,B.dataMin=Math.min(L(B.dataMin,z),z)),l(ft.dataMax)&&(tt=ft.dataMax,B.dataMax=Math.max(L(B.dataMax,tt),tt)),v(ht)&&(B.threshold=ht),(!et.softThreshold||B.positiveValuesOnly)&&(B.softThreshold=!1)}})}),y(this,"afterGetSeriesExtremes")},ct.prototype.translate=function(B,F,ut,ft,et,ht){var z=this.linkedParent||this,tt=ft&&z.old?z.old.min:z.min,Q=z.minPixelPadding;et=(z.isOrdinal||z.brokenAxis&&z.brokenAxis.hasBreaks||z.logarithmic&&et)&&z.lin2val;var K=1,st=0;return ft=ft&&z.old?z.old.transA:z.transA,ft||(ft=z.transA),ut&&(K*=-1,st=z.len),z.reversed&&(K*=-1,st-=K*(z.sector||z.len)),F?(B=(B*K+st-Q)/ft+tt,et&&(B=z.lin2val(B))):(et&&(B=z.val2lin(B)),B=l(tt)?K*(B-tt)*ft+st+K*Q+(l(ht)?ft*ht:0):void 0),B},ct.prototype.toPixels=function(B,F){return this.translate(B,!1,!this.horiz,null,!0)+(F?0:this.pos)},ct.prototype.toValue=function(B,F){return this.translate(B-(F?0:this.pos),!0,!this.horiz,null,!0)},ct.prototype.getPlotLinePath=function(B){function F(Mt,mt,Ot){return(Tt!=="pass"&&MtOt)&&(Tt?Mt=f(Mt,mt,Ot):Pt=!0),Mt}var ut=this,ft=ut.chart,et=ut.left,ht=ut.top,z=B.old,tt=B.value,Q=B.lineWidth,K=z&&ft.oldChartHeight||ft.chartHeight,st=z&&ft.oldChartWidth||ft.chartWidth,xt=ut.transB,gt=B.translatedValue,Tt=B.force,vt,Dt,Bt,Nt,Pt;return B={value:tt,lineWidth:Q,old:z,force:Tt,acrossPanes:B.acrossPanes,translatedValue:gt},y(this,"getPlotLinePath",B,function(Mt){gt=L(gt,ut.translate(tt,null,null,z)),gt=f(gt,-1e5,1e5),vt=Bt=Math.round(gt+xt),Dt=Nt=Math.round(K-gt-xt),l(gt)?ut.horiz?(Dt=ht,Nt=K-ut.bottom,vt=Bt=F(vt,et,et+ut.width)):(vt=et,Bt=st-ut.right,Dt=Nt=F(Dt,ht,ht+ut.height)):(Pt=!0,Tt=!1),Mt.path=Pt&&!Tt?null:ft.renderer.crispLine([["M",vt,Dt],["L",Bt,Nt]],Q||1)}),B.path},ct.prototype.getLinearTickPositions=function(B,F,ut){var ft=S(Math.floor(F/B)*B);ut=S(Math.ceil(ut/B)*B);var et=[],ht;if(S(ft+B)===ft&&(ht=20),this.single)return[F];for(F=ft;F<=ut&&(et.push(F),F=S(F+B,ht),F!==z);)var z=F;return et},ct.prototype.getMinorTickInterval=function(){var B=this.options;return B.minorTicks===!0?L(B.minorTickInterval,"auto"):B.minorTicks===!1?null:B.minorTickInterval},ct.prototype.getMinorTickPositions=function(){var B=this.options,F=this.tickPositions,ut=this.minorTickInterval,ft=this.pointRangePadding||0,et=this.min-ft;ft=this.max+ft;var ht=ft-et,z=[];if(ht&&ht/ut=this.minRange,st=this.minRange,xt=(st-ft+ut)/2;xt=[ut-xt,L(B.min,ut-xt)],K&&(xt[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),ut=T(xt),ft=[ut+st,L(B.max,ut+st)],K&&(ft[2]=F?F.log2lin(this.dataMax):this.dataMax),ft=w(ft),ft-ut=Tt)Bt=Tt,xt=0;else if(F.dataMax<=Tt){var Nt=Tt;st=0}}F.min=L(vt,Bt,F.dataMin),F.max=L(Dt,Nt,F.dataMax)}ft&&(F.positiveValuesOnly&&!B&&0>=Math.min(F.min,L(F.dataMin,F.min))&&x(10,1,ut),F.min=S(ft.log2lin(F.min),16),F.max=S(ft.log2lin(F.max),16)),F.range&&v(F.max)&&(F.userMin=F.min=vt=Math.max(F.dataMin,F.minFromRange()),F.userMax=Dt=F.max,F.range=null),y(F,"foundExtremes"),F.beforePadding&&F.beforePadding(),F.adjustForMinRange(),!(Q||F.axisPointRange||F.stacking&&F.stacking.usePercentage||z)&&v(F.min)&&v(F.max)&&(ut=F.max-F.min)&&(!v(vt)&&xt&&(F.min-=ut*xt),!v(Dt)&&st&&(F.max+=ut*st)),l(F.userMin)||(l(et.softMin)&&et.softMinF.max&&(F.max=Dt=et.softMax),l(et.ceiling)&&(F.max=Math.min(F.max,et.ceiling))),K&&v(F.dataMin)&&(Tt=Tt||0,!v(vt)&&F.min=Tt?F.min=F.options.minRange?Math.min(Tt,F.max-F.minRange):Tt:!v(Dt)&&F.max>Tt&&F.dataMax<=Tt&&(F.max=F.options.minRange?Math.max(Tt,F.min+F.minRange):Tt)),l(F.min)&&l(F.max)&&!this.chart.polar&&F.min>F.max&&(v(F.options.min)?F.max=F.min:v(F.options.max)&&(F.min=F.max)),F.tickInterval=F.min===F.max||typeof F.min=="undefined"||typeof F.max=="undefined"?1:z&&F.linkedParent&&!gt&&tt===F.linkedParent.options.tickPixelInterval?gt=F.linkedParent.tickInterval:L(gt,this.tickAmount?(F.max-F.min)/Math.max(this.tickAmount-1,1):void 0,Q?1:(F.max-F.min)*tt/Math.max(F.len,tt)),ht&&!B&&(F.series.forEach(function(Pt){Pt.forceCrop=Pt.forceCropping&&Pt.forceCropping(),Pt.processData(F.min!==(F.old&&F.old.min)||F.max!==(F.old&&F.old.max))}),y(this,"postProcessData")),F.setAxisTranslation(),y(this,"initialAxisTranslation"),F.pointRange&&!gt&&(F.tickInterval=Math.max(F.pointRange,F.tickInterval)),B=L(et.minTickInterval,F.dateTime&&!F.series.some(function(Pt){return Pt.noSharedTooltip})?F.closestPointRange:0),!gt&&F.tickIntervalF.tickInterval||this.tickAmount!==void 0),!!this.tickAmount)),this.tickAmount||(F.tickInterval=F.unsquish()),this.setTickPositions()},ct.prototype.setTickPositions=function(){var B=this.options,F=B.tickPositions,ut=this.getMinorTickInterval(),ft=this.hasVerticalPanning(),et=this.coll==="colorAxis",ht=(et||!ft)&&B.startOnTick;ft=(et||!ft)&&B.endOnTick,et=B.tickPositioner,this.tickmarkOffset=this.categories&&B.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.minorTickInterval=ut==="auto"&&this.tickInterval?this.tickInterval/5:ut,this.single=this.min===this.max&&v(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||B.allowDecimals!==!1),this.tickPositions=ut=F&&F.slice(),!ut&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?ut=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,B.units),this.min,this.max,B.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(ut=[this.min,this.max],x(19,!1,this.chart)),ut.length>this.len&&(ut=[ut[0],ut.pop()],ut[0]===ut[1]&&(ut.length=1)),this.tickPositions=ut,et&&(et=et.apply(this,[this.min,this.max])))&&(this.tickPositions=ut=et),this.paddedTicks=ut.slice(0),this.trimTicks(ut,ht,ft),this.isLinked||(this.single&&2>ut.length&&!this.categories&&!this.series.some(function(z){return z.is("heatmap")&&z.options.pointPlacement==="between"})&&(this.min-=.5,this.max+=.5),F||et||this.adjustTickAmount()),y(this,"afterSetTickPositions")},ct.prototype.trimTicks=function(B,F,ut){var ft=B[0],et=B[B.length-1],ht=!this.isOrdinal&&this.minPointOffset||0;if(y(this,"trimTicks"),!this.isLinked){if(F&&ft!==-1/0)this.min=ft;else for(;this.min-ht>B[0];)B.shift();if(ut)this.max=et;else for(;this.max+htut&&(this.finalTickAmt=ut,ut=5),this.tickAmount=ut},ct.prototype.adjustTickAmount=function(){var B=this.options,F=this.tickInterval,ut=this.tickPositions,ft=this.tickAmount,et=this.finalTickAmt,ht=ut&&ut.length,z=L(this.threshold,this.softThreshold?0:null);if(this.hasData()&&l(this.min)&&l(this.max)){if(htft&&(this.tickInterval*=2,this.setTickPositions());if(v(et)){for(F=B=ut.length;F--;)(et===3&&F%2===1||2>=et&&0tt&&(K=tt)),v(et)&&(sttt&&(st=tt))),ut.displayBtn=typeof K!="undefined"||typeof st!="undefined",ut.setExtremes(K,st,!1,void 0,{trigger:"zoom"})),Q.zoomed=!0}),B.zoomed},ct.prototype.setAxisSize=function(){var B=this.chart,F=this.options,ut=F.offsets||[0,0,0,0],ft=this.horiz,et=this.width=Math.round(nt(L(F.width,B.plotWidth-ut[3]+ut[1]),B.plotWidth)),ht=this.height=Math.round(nt(L(F.height,B.plotHeight-ut[0]+ut[2]),B.plotHeight)),z=this.top=Math.round(nt(L(F.top,B.plotTop+ut[0]),B.plotHeight,B.plotTop));F=this.left=Math.round(nt(L(F.left,B.plotLeft+ut[3]),B.plotWidth,B.plotLeft)),this.bottom=B.chartHeight-ht-z,this.right=B.chartWidth-et-F,this.len=Math.max(ft?et:ht,0),this.pos=ft?F:z},ct.prototype.getExtremes=function(){var B=this.logarithmic;return{min:B?S(B.lin2log(this.min)):this.min,max:B?S(B.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},ct.prototype.getThreshold=function(B){var F=this.logarithmic,ut=F?F.lin2log(this.min):this.min;return F=F?F.lin2log(this.max):this.max,B===null||B===-1/0?B=ut:B===1/0?B=F:ut>B?B=ut:FF?ut.align="right":195F&&(ut.align="left")}),B.align},ct.prototype.tickSize=function(B){var F=this.options,ut=L(F[B==="tick"?"tickWidth":"minorTickWidth"],B==="tick"&&this.isXAxis&&!this.categories?1:0),ft=F[B==="tick"?"tickLength":"minorTickLength"];if(ut&&ft){F[B+"Position"]==="inside"&&(ft=-ft);var et=[ft,ut]}return B={tickSize:et},y(this,"afterTickSize",B),B.tickSize},ct.prototype.labelMetrics=function(){var B=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[B]&&this.ticks[B].label)},ct.prototype.unsquish=function(){var B=this.options.labels,F=this.horiz,ut=this.tickInterval,ft=this.len/(((this.categories?1:0)+this.max-this.min)/ut),et=B.rotation,ht=this.labelMetrics(),z=Math.max(this.max-this.min,0),tt=function(Tt){var vt=Tt/(ft||1);return vt=1z&&Tt!==1/0&&ft!==1/0&&z&&(vt=Math.ceil(z/ut)),S(vt*ut)},Q=ut,K,st,xt=Number.MAX_VALUE;if(F){if(!B.staggerLines&&!B.step)if(l(et))var gt=[et];else ft=Tt){st=tt(Math.abs(ht.h/Math.sin(o*Tt)));var vt=st+Math.abs(Tt/360);vtft.step)return ft.rotation?0:(this.staggerLines||1)*this.len/et;if(!ut){if(B=ft.style.width,B!==void 0)return parseInt(String(B),10);if(ht)return ht-F.spacing[3]}return .33*F.chartWidth},ct.prototype.renderUnsquish=function(){var B=this.chart,F=B.renderer,ut=this.tickPositions,ft=this.ticks,et=this.options.labels,ht=et.style,z=this.horiz,tt=this.getSlotWidth(),Q=Math.max(1,Math.round(tt-2*et.padding)),K={},st=this.labelMetrics(),xt=ht.textOverflow,gt=0;if(O(et.rotation)||(K.rotation=et.rotation||0),ut.forEach(function(Bt){Bt=ft[Bt],Bt.movedLabel&&Bt.replaceMovedLabel(),Bt&&Bt.label&&Bt.label.textPxLength>gt&&(gt=Bt.label.textPxLength)}),this.maxLabelLength=gt,this.autoRotation)gt>Q&>>st.h?K.rotation=this.labelRotation:this.labelRotation=0;else if(tt){var Tt=Q;if(!xt){var vt="clip";for(Q=ut.length;!z&&Q--;){var Dt=ut[Q];(Dt=ft[Dt].label)&&(Dt.styles&&Dt.styles.textOverflow==="ellipsis"?Dt.css({textOverflow:"clip"}):Dt.textPxLength>tt&&Dt.css({width:tt+"px"}),Dt.getBBox().height>this.len/ut.length-(st.h-st.f)&&(Dt.specificTextOverflow="ellipsis"))}}}K.rotation&&(Tt=gt>.5*B.chartHeight?.33*B.chartHeight:gt,xt||(vt="ellipsis")),(this.labelAlign=et.align||this.autoLabelAlign(this.labelRotation))&&(K.align=this.labelAlign),ut.forEach(function(Bt){var Nt=(Bt=ft[Bt])&&Bt.label,Pt=ht.width,Mt={};Nt&&(Nt.attr(K),Bt.shortenLabel?Bt.shortenLabel():Tt&&!Pt&&ht.whiteSpace!=="nowrap"&&(Tt=this.min&&B<=this.max||this.grid&&this.grid.isColumn)&&(ft[B]||(ft[B]=new j(this,B)),ut&&ft[B].isNew&&ft[B].render(F,!0,-1),ft[B].render(F))},ct.prototype.render=function(){var B=this,F=B.chart,ut=B.logarithmic,ft=B.options,et=B.isLinked,ht=B.tickPositions,z=B.axisTitle,tt=B.ticks,Q=B.minorTicks,K=B.alternateBands,st=ft.stackLabels,xt=ft.alternateGridColor,gt=B.tickmarkOffset,Tt=B.axisLine,vt=B.showAxis,Dt=P(F.renderer.globalAnimation),Bt,Nt;if(B.labelEdge.length=0,B.overlap=!1,[tt,Q,K].forEach(function(Mt){_(Mt,function(mt){mt.isActive=!1})}),B.hasData()||et){var Pt=B.chart.hasRendered&&B.old&&l(B.old.min);B.minorTickInterval&&!B.categories&&B.getMinorTickPositions().forEach(function(Mt){B.renderMinorTick(Mt,Pt)}),ht.length&&(ht.forEach(function(Mt,mt){B.renderTick(Mt,mt,Pt)}),gt&&(B.min===0||B.single)&&(tt[-1]||(tt[-1]=new j(B,-1,null,!0)),tt[-1].render(-1))),xt&&ht.forEach(function(Mt,mt){Nt=typeof ht[mt+1]!="undefined"?ht[mt+1]+gt:B.max-gt,mt%2===0&&MtT&&(!f||m<=w)&&typeof m!="undefined"&&g.push(m),m>w&&(y=!0),m=s}}}else T=this.lin2log(T),w=this.lin2log(w),o=f?S.getMinorTickInterval():m.tickInterval,o=J(o==="auto"?null:o,this.minorAutoInterval,m.tickPixelInterval/(f?5:1)*(w-T)/((f?v/S.tickPositions.length:v)||1)),o=q(o,void 0,G(o)),g=S.getLinearTickPositions(o,T,w).map(this.log2lin),f||(this.minorAutoInterval=o/5);return f||(S.tickInterval=o),g},p.prototype.lin2log=function(o){return Math.pow(10,o)},p.prototype.log2lin=function(o){return Math.log(o)/Math.LN10},p}();V.Additions=E}(U||(U={})),U}),W(c,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[c["Core/Utilities.js"]],function(C){var I=C.erase,G=C.extend,q=C.isNumber,J;return function(U){var V=[],j;U.compose=function(P,E){return j||(j=P),V.indexOf(E)===-1&&(V.push(E),G(E.prototype,A.prototype)),E};var A=function(){function P(){}return P.prototype.getPlotBandPath=function(E,p,o){o===void 0&&(o=this.options);var T=this.getPlotLinePath({value:p,force:!0,acrossPanes:o.acrossPanes}),w=[],f=this.horiz;if(p=!q(this.min)||!q(this.max)||Ethis.max&&p>this.max,E=this.getPlotLinePath({value:E,force:!0,acrossPanes:o.acrossPanes}),o=1,E&&T){if(p){var S=E.toString()===T.toString();o=0}for(p=0;pMt-L?Mt:Mt-L);else if(Pt)_[Q]=Math.max(Tt,gt+L+st>K?gt:gt+L);else return!1},ht=function(Q,K,st,xt,gt){var Tt;return gtK-u?Tt=!1:_[Q]=gtK-xt/2?K-xt-2:gt-st/2,Tt},z=function(Q){var K=B;B=F,F=K,ut=Q},tt=function(){et.apply(0,B)!==!1?ht.apply(0,F)!==!1||ut||(z(!0),tt()):ut?_.x=_.y=0:(z(!0),tt())};return(D.inverted||1Mt})&&(s=s.map(function(Pt){var Mt=O(Pt.anchorX,Pt.anchorY,Pt.point.isHeader,Pt.boxWidth,!1);return w(Pt,{target:Mt.y,x:Mt.x})})),D.cleanSplit(),A(s,Dt);var Bt=gt,Nt=gt;s.forEach(function(Pt){var Mt=Pt.x,mt=Pt.boxWidth;Pt=Pt.isHeader,Pt||(D.outside&>+MtNt&&(Nt=gt+Mt))}),s.forEach(function(Pt){var Mt=Pt.x,mt=Pt.anchorX,Ot=Pt.pos,Yt=Pt.point.isHeader;if(Ot={visibility:typeof Ot=="undefined"?"hidden":"inherit",x:Mt,y:Ot+Tt,anchorX:mt,anchorY:Pt.anchorY},D.outside&&MtO[0]?Math.max(Math.abs(O[0]),u.width-O[0]):Math.max(Math.abs(O[0]),u.width),D.height=0>O[1]?Math.max(Math.abs(O[1]),u.height-Math.abs(O[1])):Math.max(Math.abs(O[1]),u.height),this.tracker?this.tracker.attr(D):(this.tracker=l.renderer.rect(D).addClass("highcharts-tracker").add(l),s.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},b.prototype.styledModeFormat=function(s){return s.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},b.prototype.tooltipFooterHeaderFormatter=function(s,l){var O=s.series,D=O.tooltipOptions,u=O.xAxis,_=u&&u.dateTime;u={isFooter:l,labelConfig:s};var L=D.xDateFormat,nt=D[l?"footerFormat":"headerFormat"];return f(this,"headerFormatter",u,function(rt){_&&!L&&v(s.key)&&(L=_.getXDateFormat(s.key,D.dateTimeLabelFormats)),_&&L&&(s.point&&s.point.tooltipDateKeys||["key"]).forEach(function(it){nt=nt.replace("{point."+it+"}","{point."+it+":"+L+"}")}),O.chart.styledMode&&(nt=this.styledModeFormat(nt)),rt.text=V(nt,{point:s,series:O},this.chart)}),u.text},b.prototype.update=function(s){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,s),this.init(this.chart,g(!0,this.options,s))},b.prototype.updatePosition=function(s){var l=this.chart,O=this.options,D=l.pointer,u=this.getLabel();D=D.getChartPosition();var _=(O.positioner||this.getPosition).call(this,u.width,u.height,s),L=s.plotX+l.plotLeft;s=s.plotY+l.plotTop,this.outside&&(O=O.borderWidth+2*this.distance,this.renderer.setSize(u.width+O,u.height+O,!1),(D.scaleX!==1||D.scaleY!==1)&&(p(this.container,{transform:"scale("+D.scaleX+", "+D.scaleY+")"}),L*=D.scaleX,s*=D.scaleY),L+=D.left-_.x,s+=D.top-_.y),this.move(Math.round(_.x),Math.round(_.y||0),L,s)},b}(),C}),W(c,"Core/Series/Point.js",[c["Core/Renderer/HTML/AST.js"],c["Core/Animation/AnimationUtilities.js"],c["Core/DefaultOptions.js"],c["Core/FormatUtilities.js"],c["Core/Utilities.js"]],function(C,I,G,q,J){var U=I.animObject,V=G.defaultOptions,j=q.format,A=J.addEvent,P=J.defined,E=J.erase,p=J.extend,o=J.fireEvent,T=J.getNestedProperty,w=J.isArray,f=J.isFunction,S=J.isNumber,v=J.isObject,m=J.merge,g=J.objectEach,x=J.pick,R=J.syncTimeout,y=J.removeEvent,b=J.uniqueKey;return I=function(){function s(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return s.prototype.animateBeforeDestroy=function(){var l=this,O={x:l.startXPos,opacity:0},D=l.getGraphicalProps();D.singular.forEach(function(u){l[u]=l[u].animate(u==="dataLabel"?{x:l[u].startXPos,y:l[u].startYPos,opacity:0}:O)}),D.plural.forEach(function(u){l[u].forEach(function(_){_.element&&_.animate(p({x:l.startXPos},_.startYPos?{x:_.startXPos,y:_.startYPos}:{}))})})},s.prototype.applyOptions=function(l,O){var D=this.series,u=D.options.pointValKey||D.pointValKey;return l=s.prototype.optionsToObject.call(this,l),p(this,l),this.options=this.options?p(this.options,l):l,l.group&&delete this.group,l.dataLabels&&delete this.dataLabels,u&&(this.y=s.prototype.getNestedProperty.call(this,u)),this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),this.x===null||!S(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&typeof O=="undefined"&&D.xAxis&&D.xAxis.hasNames&&(this.x=D.xAxis.nameToX(this)),typeof this.x=="undefined"&&D?this.x=typeof O=="undefined"?D.autoIncrement():O:S(l.x)&&D.options.relativeXValue&&(this.x=D.autoIncrement(l.x)),this},s.prototype.destroy=function(){function l(){(O.graphic||O.dataLabel||O.dataLabels)&&(y(O),O.destroyElements());for(nt in O)O[nt]=null}var O=this,D=O.series,u=D.chart;D=D.options.dataSorting;var _=u.hoverPoints,L=U(O.series.chart.renderer.globalAnimation),nt;O.legendItem&&u.legend.destroyItem(O),_&&(O.setState(),E(_,O),_.length||(u.hoverPoints=null)),O===u.hoverPoint&&O.onMouseOut(),D&&D.enabled?(this.animateBeforeDestroy(),R(l,L.duration)):l(),u.pointCount--},s.prototype.destroyElements=function(l){var O=this;l=O.getGraphicalProps(l),l.singular.forEach(function(D){O[D]=O[D].destroy()}),l.plural.forEach(function(D){O[D].forEach(function(u){u.element&&u.destroy()}),delete O[D]})},s.prototype.firePointEvent=function(l,O,D){var u=this,_=this.series.options;(_.point.events[l]||u.options&&u.options.events&&u.options.events[l])&&u.importEvents(),l==="click"&&_.allowPointSelect&&(D=function(L){u.select&&u.select(null,L.ctrlKey||L.metaKey||L.shiftKey)}),o(u,l,O,D)},s.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(typeof this.colorIndex!="undefined"?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},s.prototype.getGraphicalProps=function(l){var O=this,D=[],u={singular:[],plural:[]},_;for(l=l||{graphic:1,dataLabel:1},l.graphic&&D.push("graphic","upperGraphic","shadowGroup"),l.dataLabel&&D.push("dataLabel","dataLabelUpper","connector"),_=D.length;_--;){var L=D[_];O[L]&&u.singular.push(L)}return["dataLabel","connector"].forEach(function(nt){var rt=nt+"s";l[nt]&&O[rt]&&u.plural.push(rt)}),u},s.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},s.prototype.getNestedProperty=function(l){if(l)return l.indexOf("custom.")===0?T(l,this.options):this[l]},s.prototype.getZone=function(){var l=this.series,O=l.zones;l=l.zoneAxis||"y";var D,u=0;for(D=O[u];this[l]>=D.value;)D=O[++u];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=D&&D.color&&!this.options.color?D.color:this.nonZonedColor,D},s.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},s.prototype.init=function(l,O,D){return this.series=l,this.applyOptions(O,D),this.id=P(this.id)?this.id:b(),this.resolveColor(),l.chart.pointCount++,o(this,"afterInit"),this},s.prototype.optionsToObject=function(l){var O=this.series,D=O.options.keys,u=D||O.pointArrayMap||["y"],_=u.length,L={},nt=0,rt=0;if(S(l)||l===null)L[u[0]]=l;else if(w(l))for(!D&&l.length>_&&(O=typeof l[0],O==="string"?L.name=l[0]:O==="number"&&(L.x=l[0]),nt++);rt<_;)D&&typeof l[nt]=="undefined"||(0D+_&&(ct=D+_),Bu+L&&(B=u+L),this.hasDragged=Math.sqrt(Math.pow(nt-ct,2)+Math.pow(rt-B,2)),10u.options.findNearestPointBy.indexOf("y");if(u=u.searchPoint(s,_),(_=S(u,!0)&&u.series)&&!(_=!S(D,!0))){_=D.distX-u.distX;var L=D.dist-u.dist,nt=(u.series.group&&u.series.group.zIndex)-(D.series.group&&D.series.group.zIndex);_=0<(_!==0&&b?_:L!==0?L:nt!==0?nt:D.series.index>u.series.index?-1:1)}_&&(D=u)}),D},R.prototype.getChartCoordinatesFromPoint=function(y,b){var s=y.series,l=s.xAxis;s=s.yAxis;var O=y.shapeArgs;if(l&&s){var D=g(y.clientX,y.plotX),u=y.plotY||0;return y.isNode&&O&&f(O.x)&&f(O.y)&&(D=O.x,u=O.y),b?{chartX:s.len+s.pos-u,chartY:l.len+l.pos-D}:{chartX:D+l.pos,chartY:u+s.pos}}if(O&&O.x&&O.y)return{chartX:O.x,chartY:O.y}},R.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var y=this.chart.container,b=m(y);this.chartPosition={left:b.left,top:b.top,scaleX:1,scaleY:1};var s=y.offsetWidth;return y=y.offsetHeight,2F.max&&(s=F.max-ht,st=!0);st?(Q-=.8*(Q-u[nt][0]),typeof K=="number"&&(K-=.8*(K-u[nt][1])),b()):u[nt]=[Q,K],B||(D[nt]=z-ct,D[X]=ht),D=B?1/tt:tt,O[X]=ht,O[nt]=s,l[B?y?"scaleY":"scaleX":"scale"+rt]=tt,l["translate"+rt]=D*ct+(Q-D*ft)},R.prototype.reset=function(y,b){var s=this.chart,l=s.hoverSeries,O=s.hoverPoint,D=s.hoverPoints,u=s.tooltip,_=u&&u.shared?D:O;y&&_&&x(_).forEach(function(L){L.series.isCartesian&&typeof L.plotX=="undefined"&&(y=!1)}),y?u&&_&&x(_).length&&(u.refresh(_),u.shared&&D?D.forEach(function(L){L.setState(L.state,!0),L.series.isCartesian&&(L.series.xAxis.crosshair&&L.series.xAxis.drawCrosshair(null,L),L.series.yAxis.crosshair&&L.series.yAxis.drawCrosshair(null,L))}):O&&(O.setState(O.state,!0),s.axes.forEach(function(L){L.crosshair&&O.series[L.coll]===L&&L.drawCrosshair(null,O)}))):(O&&O.onMouseOut(),D&&D.forEach(function(L){L.setState()}),l&&l.onMouseOut(),u&&u.hide(b),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),s.axes.forEach(function(L){L.hideCrosshair()}),this.hoverX=s.hoverPoints=s.hoverPoint=null)},R.prototype.runPointActions=function(y,b){var s=this.chart,l=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,O=l?l.shared:!1,D=b||s.hoverPoint,u=D&&D.series||s.hoverSeries;b=this.getHoverData(D,u,s.series,(!y||y.type!=="touchmove")&&(!!b||u&&u.directTouch&&this.isDirectTouch),O,y),D=b.hoverPoint,u=b.hoverSeries;var _=b.hoverPoints;if(b=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,O=O&&u&&!u.noSharedTooltip,D&&(D!==s.hoverPoint||l&&l.isHidden)){if((s.hoverPoints||[]).forEach(function(L){_.indexOf(L)===-1&&L.setState()}),s.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(_),(_||[]).forEach(function(L){L.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!D.series)return;s.hoverPoints=_,s.hoverPoint=D,D.firePointEvent("mouseOver"),l&&l.refresh(O?_:D,y)}else b&&l&&!l.isHidden&&(D=l.getAnchor([{}],y),s.isInsidePlot(D[0],D[1],{visiblePlotOnly:!0})&&l.updatePosition({plotX:D[0],plotY:D[1]}));this.unDocMouseMove||(this.unDocMouseMove=A(s.container.ownerDocument,"mousemove",function(L){var nt=V[R.hoverChartIndex];nt&&nt.pointer.onDocumentMouseMove(L)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(L){var nt=g((L.crosshair||{}).snap,!0),rt;nt&&((rt=s.hoverPoint)&&rt.series[L.coll]===L||(rt=T(_,function(it){return it.series[L.coll]===L}))),rt||!nt?L.drawCrosshair(y,rt):L.hideCrosshair()})},R.prototype.scaleGroups=function(y,b){var s=this.chart;s.series.forEach(function(l){var O=y||l.getPlotBox();l.xAxis&&l.xAxis.zoomEnabled&&l.group&&(l.group.attr(O),l.markerGroup&&(l.markerGroup.attr(O),l.markerGroup.clip(b?s.clipRect:null)),l.dataLabelsGroup&&l.dataLabelsGroup.attr(O))}),s.clipRect.attr(b||s.clipBox)},R.prototype.setDOMEvents=function(){var y=this,b=this.chart.container,s=b.ownerDocument;b.onmousedown=this.onContainerMouseDown.bind(this),b.onmousemove=this.onContainerMouseMove.bind(this),b.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(A(b,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(A(b,"mouseleave",this.onContainerMouseLeave.bind(this))),R.unbindDocumentMouseUp||(R.unbindDocumentMouseUp=A(s,"mouseup",this.onDocumentMouseUp.bind(this)));for(var l=this.chart.renderTo.parentElement;l&&l.tagName!=="BODY";)this.eventsToUnbind.push(A(l,"scroll",function(){delete y.chartPosition})),l=l.parentElement;I.hasTouch&&(this.eventsToUnbind.push(A(b,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(A(b,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),R.unbindDocumentTouchEnd||(R.unbindDocumentTouchEnd=A(s,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},R.prototype.setHoverChartIndex=function(){var y=this.chart,b=I.charts[g(R.hoverChartIndex,-1)];b&&b!==y&&b.pointer.onContainerMouseLeave({relatedTarget:!0}),b&&b.mouseIsDown||(R.hoverChartIndex=y.index)},R.prototype.touch=function(y,b){var s=this.chart,l;if(this.setHoverChartIndex(),y.touches.length===1)if(y=this.normalize(y),(l=s.isInsidePlot(y.chartX-s.plotLeft,y.chartY-s.plotTop,{visiblePlotOnly:!0}))&&!s.openMenu){if(b&&this.runPointActions(y),y.type==="touchmove"){b=this.pinchDown;var O=b[0]?4<=Math.sqrt(Math.pow(b[0].chartX-y.chartX,2)+Math.pow(b[0].chartY-y.chartY,2)):!1}g(O,!0)&&this.pinch(y)}else b&&this.reset();else y.touches.length===2&&this.pinch(y)},R.prototype.touchSelect=function(y){return!(!this.chart.options.chart.zoomBySingleTouch||!y.touches||y.touches.length!==1)},R.prototype.zoomOption=function(y){var b=this.chart,s=b.options.chart;b=b.inverted;var l=s.zoomType||"";/touch/.test(y.type)&&(l=g(s.pinchType,l)),this.zoomX=y=/x/.test(l),this.zoomY=s=/y/.test(l),this.zoomHor=y&&!b||s&&b,this.zoomVert=s&&!b||y&&b,this.hasZoom=y||s},R}(),C}),W(c,"Core/MSPointer.js",[c["Core/Globals.js"],c["Core/Pointer.js"],c["Core/Utilities.js"]],function(C,I,G){function q(){var S=[];return S.item=function(v){return this[v]},o(w,function(v){S.push({pageX:v.pageX,pageY:v.pageY,target:v.target})}),S}function J(S,v,m,g){var x=V[I.hoverChartIndex||NaN];S.pointerType!=="touch"&&S.pointerType!==S.MSPOINTER_TYPE_TOUCH||!x||(x=x.pointer,g(S),x[v]({type:m,target:S.currentTarget,preventDefault:A,touches:q()}))}var U=this&&this.__extends||function(){var S=function(v,m){return S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var R in x)x.hasOwnProperty(R)&&(g[R]=x[R])},S(v,m)};return function(v,m){function g(){this.constructor=v}S(v,m),v.prototype=m===null?Object.create(m):(g.prototype=m.prototype,new g)}}(),V=C.charts,j=C.doc,A=C.noop,P=C.win,E=G.addEvent,p=G.css,o=G.objectEach,T=G.removeEvent,w={},f=!!P.PointerEvent;return function(S){function v(){return S!==null&&S.apply(this,arguments)||this}return U(v,S),v.isRequired=function(){return!(C.hasTouch||!P.PointerEvent&&!P.MSPointerEvent)},v.prototype.batchMSEvents=function(m){m(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),m(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),m(j,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},v.prototype.destroy=function(){this.batchMSEvents(T),S.prototype.destroy.call(this)},v.prototype.init=function(m,g){S.prototype.init.call(this,m,g),this.hasZoom&&p(m.container,{"-ms-touch-action":"none","touch-action":"none"})},v.prototype.onContainerPointerDown=function(m){J(m,"onContainerTouchStart","touchstart",function(g){w[g.pointerId]={pageX:g.pageX,pageY:g.pageY,target:g.currentTarget}})},v.prototype.onContainerPointerMove=function(m){J(m,"onContainerTouchMove","touchmove",function(g){w[g.pointerId]={pageX:g.pageX,pageY:g.pageY},w[g.pointerId].target||(w[g.pointerId].target=g.currentTarget)})},v.prototype.onDocumentPointerUp=function(m){J(m,"onDocumentTouchEnd","touchend",function(g){delete w[g.pointerId]})},v.prototype.setDOMEvents=function(){S.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(E)},v}(I)}),W(c,"Core/Legend/Legend.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/FormatUtilities.js"],c["Core/Globals.js"],c["Core/Series/Point.js"],c["Core/Renderer/RendererUtilities.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){var V=C.animObject,j=C.setAnimation,A=I.format;C=G.isFirefox;var P=G.marginNames;G=G.win;var E=J.distribute,p=U.addEvent,o=U.createElement,T=U.css,w=U.defined,f=U.discardElement,S=U.find,v=U.fireEvent,m=U.isNumber,g=U.merge,x=U.pick,R=U.relativeLength,y=U.stableSort,b=U.syncTimeout;return J=U.wrap,U=function(){function s(l,O){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=l,this.init(l,O)}return s.prototype.init=function(l,O){this.chart=l,this.setOptions(O),O.enabled&&(this.render(),p(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=p(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},s.prototype.setOptions=function(l){var O=x(l.padding,8);this.options=l,this.chart.styledMode||(this.itemStyle=l.itemStyle,this.itemHiddenStyle=g(this.itemStyle,l.itemHiddenStyle)),this.itemMarginTop=l.itemMarginTop||0,this.itemMarginBottom=l.itemMarginBottom||0,this.padding=O,this.initialItemY=O-5,this.symbolWidth=x(l.symbolWidth,16),this.pages=[],this.proximate=l.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0},s.prototype.update=function(l,O){var D=this.chart;this.setOptions(g(!0,this.options,l)),this.destroy(),D.isDirtyLegend=D.isDirtyBox=!0,x(O,!0)&&D.redraw(),v(this,"afterUpdate")},s.prototype.colorizeItem=function(l,O){if(l.legendGroup[O?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var D=this.options,u=l.legendItem,_=l.legendLine,L=l.legendSymbol,nt=this.itemHiddenStyle.color;D=O?D.itemStyle.color:nt;var rt=O&&l.color||nt,it=l.options&&l.options.marker,X={fill:rt};u&&u.css({fill:D,color:D}),_&&_.attr({stroke:rt}),L&&(it&&L.isMarker&&(X=l.pointAttribs(),O||(X.stroke=X.fill=nt)),L.attr(X))}v(this,"afterColorizeItem",{item:l,visible:O})},s.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},s.prototype.positionItem=function(l){var O=this,D=this.options,u=D.symbolPadding,_=!D.rtl,L=l._legendItemPos;D=L[0],L=L[1];var nt=l.checkbox,rt=l.legendGroup;rt&&rt.element&&(u={translateX:_?D:this.legendWidth-D-2*u-4,translateY:L},_=function(){v(O,"afterPositionItem",{item:l})},w(rt.translateY)?rt.animate(u,void 0,_):(rt.attr(u),_())),nt&&(nt.x=D,nt.y=L)},s.prototype.destroyItem=function(l){var O=l.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(D){l[D]&&(l[D]=l[D].destroy())}),O&&f(l.checkbox)},s.prototype.destroy=function(){function l(O){this[O]&&(this[O]=this[O].destroy())}this.getAllItems().forEach(function(O){["legendItem","legendGroup"].forEach(l,O)}),"clipRect up down pager nav box title group".split(" ").forEach(l,this),this.display=null},s.prototype.positionCheckboxes=function(){var l=this.group&&this.group.alignAttr,O=this.clipHeight||this.legendHeight,D=this.titleHeight;if(l){var u=l.translateY;this.allItems.forEach(function(_){var L=_.checkbox;if(L){var nt=u+D+L.y+(this.scrollOffset||0)+3;T(L,{left:l.translateX+_.checkboxOffset+L.x-20+"px",top:nt+"px",display:this.proximate||nt>u-6&&ntit?this.maxItemWidth:l.itemWidth,u&&this.itemX-D+O>it&&(this.itemX=D,this.lastLineHeight&&(this.itemY+=nt+this.lastLineHeight+L),this.lastLineHeight=0),this.lastItemY=nt+this.itemY+L,this.lastLineHeight=Math.max(_,this.lastLineHeight),l._legendItemPos=[this.itemX,this.itemY],u?this.itemX+=O:(this.itemY+=nt+_+L,this.lastLineHeight=_),this.offsetWidth=this.widthOption||Math.max((u?this.itemX-D-(l.checkbox?0:rt):O)+D,this.offsetWidth)},s.prototype.getAllItems=function(){var l=[];return this.chart.series.forEach(function(O){var D=O&&O.options;O&&x(D.showInLegend,w(D.linkedTo)?!1:void 0,!0)&&(l=l.concat(O.legendItems||(D.legendType==="point"?O.data:O)))}),v(this,"afterGetAllItems",{allItems:l}),l},s.prototype.getAlignment=function(){var l=this.options;return this.proximate?l.align.charAt(0)+"tv":l.floating?"":l.align.charAt(0)+l.verticalAlign.charAt(0)+l.layout.charAt(0)},s.prototype.adjustMargins=function(l,O){var D=this.chart,u=this.options,_=this.getAlignment();_&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(L,nt){L.test(_)&&!w(l[nt])&&(D[P[nt]]=Math.max(D[P[nt]],D.legend[(nt+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][nt]*u[nt%2?"x":"y"]+x(u.margin,12)+O[nt]+(D.titleOffset[nt]||0)))})},s.prototype.proximatePositions=function(){var l=this.chart,O=[],D=this.options.align==="left";this.allItems.forEach(function(u){var _,L=D;if(u.yAxis){u.xAxis.options.reversed&&(L=!L),u.points&&(_=S(L?u.points:u.points.slice(0).reverse(),function(rt){return m(rt.plotY)})),L=this.itemMarginTop+u.legendItem.getBBox().height+this.itemMarginBottom;var nt=u.yAxis.top-l.plotTop;u.visible?(_=_?_.plotY:u.yAxis.height,_+=nt-.3*L):_=nt+u.yAxis.height,O.push({target:_,size:L,item:u})}},this),E(O,l.plotHeight).forEach(function(u){u.item._legendItemPos&&(u.item._legendItemPos[1]=l.plotTop-l.spacing[0]+u.pos)})},s.prototype.render=function(){var l=this.chart,O=l.renderer,D=this.options,u=this.padding,_=this.getAllItems(),L=this.group,nt=this.box;this.itemX=u,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=R(D.width,l.spacingBox.width-u);var rt=l.spacingBox.width-2*u-D.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(rt/=2),this.maxLegendWidth=this.widthOption||rt,L||(this.group=L=O.g("legend").addClass(D.className||"").attr({zIndex:7}).add(),this.contentGroup=O.g().attr({zIndex:1}).add(L),this.scrollGroup=O.g().add(this.contentGroup)),this.renderTitle(),y(_,function(X,ct){return(X.options&&X.options.legendIndex||0)-(ct.options&&ct.options.legendIndex||0)}),D.reversed&&_.reverse(),this.allItems=_,this.display=rt=!!_.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,_.forEach(this.renderItem,this),_.forEach(this.layoutItem,this),_=(this.widthOption||this.offsetWidth)+u;var it=this.lastItemY+this.lastLineHeight+this.titleHeight;it=this.handleOverflow(it),it+=u,nt||(this.box=nt=O.rect().addClass("highcharts-legend-box").attr({r:D.borderRadius}).add(L),nt.isNew=!0),l.styledMode||nt.attr({stroke:D.borderColor,"stroke-width":D.borderWidth||0,fill:D.backgroundColor||"none"}).shadow(D.shadow),0<_&&0L&&X.enabled!==!1?(this.clipHeight=ht=Math.max(L-20-this.titleHeight-rt,0),this.currentPage=x(this.currentPage,1),this.fullHeight=l,ut.forEach(function(K,st){var xt=K._legendItemPos[1],gt=Math.round(K.legendItem.getBBox().height),Tt=F.length;(!Tt||xt-F[Tt-1]>ht&&(z||xt)!==F[Tt-1])&&(F.push(z||xt),Tt++),K.pageIx=Tt-1,z&&(ut[st-1].pageIx=Tt-1),st===ut.length-1&&xt+gt-F[Tt-1]>ht&&xt!==z&&(F.push(xt),K.pageIx=Tt),xt!==z&&(z=xt)}),Q||(Q=O.clipRect=u.clipRect(0,rt,9999,0),O.contentGroup.clip(Q)),ft(ht),tt||(this.nav=tt=u.g().attr({zIndex:1}).add(this.group),this.up=u.symbol("triangle",0,0,B,B).add(tt),et("upTracker").on("click",function(){O.scroll(-1,ct)}),this.pager=u.text("",15,10).addClass("highcharts-legend-navigation"),D.styledMode||this.pager.css(X.style),this.pager.add(tt),this.down=u.symbol("triangle-down",0,0,B,B).add(tt),et("downTracker").on("click",function(){O.scroll(1,ct)})),O.scroll(0),l=L):tt&&(ft(),this.nav=tt.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),l},s.prototype.scroll=function(l,O){var D=this,u=this.chart,_=this.pages,L=_.length,nt=this.clipHeight,rt=this.options.navigation,it=this.pager,X=this.padding,ct=this.currentPage+l;ct>L&&(ct=L),0=Math.max(rn+le,bn.pos)&&Ve<=Math.min(rn+le+ae.width,bn.pos+bn.len)||(mt.isInsidePlot=!1)}return!Yt.ignoreY&&mt.isInsidePlot&&($t=nn&&($t?nn.xAxis:nn.yAxis)||{pos:Oe,len:1/0},Yt=Yt.paneCoordinates?$t.pos+Ot:Oe+Ot,Yt>=Math.max(ln+Oe,$t.pos)&&Yt<=Math.min(ln+Oe+ae.height,$t.pos+$t.len)||(mt.isInsidePlot=!1)),et(this,"afterIsInsidePlot",mt),mt.isInsidePlot},Mt.prototype.redraw=function(mt){et(this,"beforeRedraw");var Ot=this.hasCartesianSeries?this.axes:this.colorAxis||[],Yt=this.series,$t=this.pointer,ae=this.legend,le=this.userOptions.legend,Oe=this.renderer,Ve=Oe.isHidden(),rn=[],ln=this.isDirtyBox,nn=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),m(this.hasRendered?mt:!1,this),Ve&&this.temporaryDisplay(),this.layOutTitles(),mt=Yt.length;mt--;){var bn=Yt[mt];if(bn.options.stacking||bn.options.centerInCategory){var un=!0;if(bn.isDirty){var se=!0;break}}}if(se)for(mt=Yt.length;mt--;)bn=Yt[mt],bn.options.stacking&&(bn.isDirty=!0);Yt.forEach(function(ie){ie.isDirty&&(ie.options.legendType==="point"?(typeof ie.updateTotals=="function"&&ie.updateTotals(),nn=!0):le&&(le.labelFormatter||le.labelFormat)&&(nn=!0)),ie.isDirtyData&&et(ie,"updatedData")}),nn&&ae&&ae.options.enabled&&(ae.render(),this.isDirtyLegend=!1),un&&this.getStacks(),Ot.forEach(function(ie){ie.updateNames(),ie.setScale()}),this.getMargins(),Ot.forEach(function(ie){ie.isDirty&&(ln=!0)}),Ot.forEach(function(ie){var ne=ie.min+","+ie.max;ie.extKey!==ne&&(ie.extKey=ne,rn.push(function(){et(ie,"afterSetExtremes",ut(ie.eventArgs,ie.getExtremes())),delete ie.eventArgs})),(ln||un)&&ie.redraw()}),ln&&this.drawChartBox(),et(this,"predraw"),Yt.forEach(function(ie){(ln||ie.isDirty)&&ie.visible&&ie.redraw(),ie.isDirtyData=!1}),$t&&$t.reset(!0),Oe.draw(),et(this,"redraw"),et(this,"render"),Ve&&this.temporaryDisplay(!0),rn.forEach(function(ie){ie.call()})},Mt.prototype.get=function(mt){function Ot(le){return le.id===mt||le.options&&le.options.id===mt}for(var Yt=this.series,$t=ft(this.axes,Ot)||ft(this.series,Ot),ae=0;!$t&&ae=ln&&$t<=nn||bn||!X($t))&&(un=!0),Yt[bn?"zoomX":"zoomY"]&&un&&(le=rn.zoom(Ve.min,Ve.max),rn.displayBtn&&(ae=!0))});var Oe=Ot.resetZoomButton;ae&&!Oe?Ot.showResetZoom():!ae&&Q(Oe)&&(Ot.resetZoomButton=Oe.destroy()),le&&Ot.redraw(gt(Ot.options.chart.animation,mt&&mt.animation,100>Ot.pointCount))},Mt.prototype.pan=function(mt,Ot){var Yt=this,$t=Yt.hoverPoints;Ot=typeof Ot=="object"?Ot:{enabled:Ot,type:"x"};var ae=Yt.options.chart,le=Yt.options.mapNavigation&&Yt.options.mapNavigation.enabled;ae&&ae.panning&&(ae.panning=Ot);var Oe=Ot.type,Ve;et(this,"pan",{originalEvent:mt},function(){$t&&$t.forEach(function(nn){nn.setState()});var rn=Yt.xAxis;Oe==="xy"?rn=rn.concat(Yt.yAxis):Oe==="y"&&(rn=Yt.yAxis);var ln={};rn.forEach(function(nn){if(nn.options.panningEnabled&&!nn.options.isInternal){var bn=nn.horiz,un=mt[bn?"chartX":"chartY"];bn=bn?"mouseDownX":"mouseDownY";var se=Yt[bn],ie=nn.minPointOffset||0,ne=nn.reversed&&!Yt.inverted||!nn.reversed&&Yt.inverted?-1:1,Lt=nn.getExtremes(),jt=nn.toValue(se-un,!0)+ie*ne,Ut=nn.toValue(se+nn.len-un,!0)-(ie*ne||nn.isXAxis&&nn.pointRangePadding||0),Ft=Ut=ne&&jt<=Ut&&(nn.setExtremes(se,jt,!1,!1,{trigger:"pan"}),Yt.resetZoomButton||le||se===ne||jt===Ut||!Oe.match("y")||(Yt.showResetZoom(),nn.displayBtn=!1),Ve=!0),ln[bn]=un)}}),xt(ln,function(nn,bn){Yt[bn]=nn}),Ve&&Yt.redraw(!1),it(Yt.container,{cursor:"move"})})},Mt}(),ut(C.prototype,{callbacks:[],collectionsWithInit:{xAxis:[C.prototype.addAxis,[!0]],yAxis:[C.prototype.addAxis,[!1]],series:[C.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),C}),W(c,"Core/Legend/LegendSymbol.js",[c["Core/Utilities.js"]],function(C){var I=C.merge,G=C.pick,q;return function(J){J.drawLineMarker=function(U){var V=this.options,j=U.symbolWidth,A=U.symbolHeight,P=A/2,E=this.chart.renderer,p=this.legendGroup;U=U.baseline-Math.round(.3*U.fontMetrics.b);var o={},T=V.marker;this.chart.styledMode||(o={"stroke-width":V.lineWidth||0},V.dashStyle&&(o.dashstyle=V.dashStyle)),this.legendLine=E.path([["M",0,U],["L",j,U]]).addClass("highcharts-graph").attr(o).add(p),T&&T.enabled!==!1&&j&&(V=Math.min(G(T.radius,P),P),this.symbol.indexOf("url")===0&&(T=I(T,{width:A,height:A}),V=0),this.legendSymbol=j=E.symbol(this.symbol,j/2-V,U-V,2*V,2*V,T).addClass("highcharts-point").add(p),j.isMarker=!0)},J.drawRectangle=function(U,V){var j=U.symbolHeight,A=U.options.squareSymbol;V.legendSymbol=this.chart.renderer.rect(A?(U.symbolWidth-j)/2:0,U.baseline-j+1,A?j:U.symbolWidth,j,G(U.options.symbolRadius,j/2)).addClass("highcharts-point").attr({zIndex:3}).add(V.legendGroup)}}(q||(q={})),q}),W(c,"Core/Series/SeriesDefaults.js",[c["Core/Color/Palette.js"]],function(C){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:C.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:C.neutralColor20,lineColor:C.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var I=this.series.chart.numberFormatter;return typeof this.y!="number"?"":I(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),W(c,"Core/Series/Series.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/DefaultOptions.js"],c["Core/Foundation.js"],c["Core/Globals.js"],c["Core/Legend/LegendSymbol.js"],c["Core/Color/Palette.js"],c["Core/Series/Point.js"],c["Core/Series/SeriesDefaults.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A,P,E){var p=C.animObject,o=C.setAnimation,T=I.defaultOptions,w=G.registerEventOptions,f=q.hasTouch,S=q.svg,v=q.win,m=A.seriesTypes,g=E.addEvent,x=E.arrayMax,R=E.arrayMin,y=E.clamp,b=E.cleanRecursively,s=E.correctFloat,l=E.defined,O=E.erase,D=E.error,u=E.extend,_=E.find,L=E.fireEvent,nt=E.getNestedProperty,rt=E.isArray,it=E.isNumber,X=E.isString,ct=E.merge,B=E.objectEach,F=E.pick,ut=E.removeEvent,ft=E.splat,et=E.syncTimeout;return C=function(){function ht(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return ht.prototype.init=function(z,tt){L(this,"init",{options:tt});var Q=this,K=z.series;this.eventsToUnbind=[],Q.chart=z,Q.options=Q.setOptions(tt),tt=Q.options,Q.linkedSeries=[],Q.bindAxes(),u(Q,{name:tt.name,state:"",visible:tt.visible!==!1,selected:tt.selected===!0}),w(this,tt);var st=tt.events;(st&&st.click||tt.point&&tt.point.events&&tt.point.events.click||tt.allowPointSelect)&&(z.runTrackerClick=!0),Q.getColor(),Q.getSymbol(),Q.parallelArrays.forEach(function(gt){Q[gt+"Data"]||(Q[gt+"Data"]=[])}),Q.isCartesian&&(z.hasCartesianSeries=!0);var xt;K.length&&(xt=K[K.length-1]),Q._i=F(xt&&xt._i,-1)+1,Q.opacity=Q.options.opacity,z.orderSeries(this.insert(K)),tt.dataSorting&&tt.dataSorting.enabled?Q.setDataSortingOptions():Q.points||Q.data||Q.setData(tt.data,!1),L(this,"afterInit")},ht.prototype.is=function(z){return m[z]&&this instanceof m[z]},ht.prototype.insert=function(z){var tt=this.options.index,Q;if(it(tt)){for(Q=z.length;Q--;)if(tt>=F(z[Q].options.index,z[Q]._i)){z.splice(Q+1,0,this);break}Q===-1&&z.unshift(this),Q+=1}else z.push(this);return F(Q,z.length-1)},ht.prototype.bindAxes=function(){var z=this,tt=z.options,Q=z.chart,K;L(this,"bindAxes",null,function(){(z.axisTypes||[]).forEach(function(st){var xt=0;Q[st].forEach(function(gt){K=gt.options,(tt[st]===xt&&!K.isInternal||typeof tt[st]!="undefined"&&tt[st]===K.id||typeof tt[st]=="undefined"&&K.index===0)&&(z.insert(gt.series),z[st]=gt,gt.isDirty=!0),K.isInternal||xt++}),z[st]||z.optionalAxis===st||D(18,!0,Q)})}),L(this,"afterBindAxes")},ht.prototype.updateParallelArrays=function(z,tt){var Q=z.series,K=arguments,st=it(tt)?function(xt){var gt=xt==="y"&&Q.toYData?Q.toYData(z):z[xt];Q[xt+"Data"][tt]=gt}:function(xt){Array.prototype[tt].apply(Q[xt+"Data"],Array.prototype.slice.call(K,2))};Q.parallelArrays.forEach(st)},ht.prototype.hasData=function(){return this.visible&&typeof this.dataMax!="undefined"&&typeof this.dataMin!="undefined"||this.visible&&this.yData&&0=this.cropStart?vt-this.cropStart:vt),!Tt&&it(vt)&&st[vt]&&st[vt].touched&&(vt=void 0),vt},ht.prototype.updateData=function(z,tt){var Q=this.options,K=Q.dataSorting,st=this.points,xt=[],gt=this.requireSorting,Tt=z.length===st.length,vt,Dt,Bt,Nt=!0;if(this.xIncrement=null,z.forEach(function(Pt,Mt){var mt=l(Pt)&&this.pointClass.prototype.optionsToObject.call({series:this},Pt)||{},Ot=mt.x;mt.id||it(Ot)?(mt=this.findPointIndex(mt,Bt),mt===-1||typeof mt=="undefined"?xt.push(Pt):st[mt]&&Pt!==Q.data[mt]?(st[mt].update(Pt,!1,null,!1),st[mt].touched=!0,gt&&(Bt=mt+1)):st[mt]&&(st[mt].touched=!0),(!Tt||Mt!==mt||K&&K.enabled||this.hasDerivedData)&&(vt=!0)):xt.push(Pt)},this),vt)for(z=st.length;z--;)(Dt=st[z])&&!Dt.touched&&Dt.remove&&Dt.remove(!1,tt);else!Tt||K&&K.enabled?Nt=!1:(z.forEach(function(Pt,Mt){Pt!==st[Mt].y&&st[Mt].update&&st[Mt].update(Pt,!1,null,!1)}),xt.length=0);return st.forEach(function(Pt){Pt&&(Pt.touched=!1)}),Nt?(xt.forEach(function(Pt){this.addPoint(Pt,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0):!1},ht.prototype.setData=function(z,tt,Q,K){var st=this,xt=st.points,gt=xt&&xt.length||0,Tt=st.options,vt=st.chart,Dt=Tt.dataSorting,Bt=st.xAxis,Nt=Tt.turboThreshold,Pt=this.xData,Mt=this.yData,mt=st.pointArrayMap;mt=mt&&mt.length;var Ot=Tt.keys,Yt,$t=0,ae=1,le=null;z=z||[];var Oe=z.length;if(tt=F(tt,!0),Dt&&Dt.enabled&&(z=this.sortData(z)),K!==!1&&Oe&>&&!st.cropped&&!st.hasGroupedData&&st.visible&&!st.isSeriesBoosting&&(Yt=this.updateData(z,Q)),!Yt){if(st.xIncrement=null,st.colorCounter=0,this.parallelArrays.forEach(function(Ve){st[Ve+"Data"].length=0}),Nt&&Oe>Nt)if(le=st.getFirstValidPoint(z),it(le))for(Q=0;Qst?1:0}).forEach(function(st,xt){st.x=xt},this),tt.linkedSeries&&tt.linkedSeries.forEach(function(st){var xt=st.options,gt=xt.data;xt.dataSorting&&xt.dataSorting.enabled||!gt||(gt.forEach(function(Tt,vt){gt[vt]=K(st,Tt),z[vt]&&(gt[vt].x=z[vt].x,gt[vt].index=vt)}),st.setData(gt,!1))}),z},ht.prototype.getProcessedData=function(z){var tt=this.xAxis,Q=this.options,K=Q.cropThreshold,st=z||this.getExtremesFromAll||Q.getExtremesFromAll,xt=this.isCartesian;z=tt&&tt.val2lin,Q=!(!tt||!tt.logarithmic);var gt=0,Tt=this.xData,vt=this.yData,Dt=this.requireSorting,Bt=!1,Nt=Tt.length;if(tt){Bt=tt.getExtremes();var Pt=Bt.min,Mt=Bt.max;Bt=tt.categories&&!tt.names.length}if(xt&&this.sorted&&!st&&(!K||Nt>K||this.forceCrop)){if(Tt[Nt-1]Mt)Tt=[],vt=[];else if(this.yData&&(Tt[0]Mt)){var mt=this.cropData(this.xData,this.yData,Pt,Mt);Tt=mt.xData,vt=mt.yData,gt=mt.start,mt=!0}}for(K=Tt.length||1;--K;)if(tt=Q?z(Tt[K])-z(Tt[K-1]):Tt[K]-Tt[K-1],0tt&&Dt&&!Bt&&(D(15,!1,this.chart),Dt=!1);return{xData:Tt,yData:vt,cropped:mt,cropStart:gt,closestPointRange:Ot}},ht.prototype.processData=function(z){var tt=this.xAxis;if(this.isCartesian&&!this.isDirty&&!tt.isDirty&&!this.yAxis.isDirty&&!z)return!1;z=this.getProcessedData(),this.cropped=z.cropped,this.cropStart=z.cropStart,this.processedXData=z.xData,this.processedYData=z.yData,this.closestPointRange=this.basePointRange=z.closestPointRange},ht.prototype.cropData=function(z,tt,Q,K,st){var xt=z.length,gt,Tt=0,vt=xt;for(st=F(st,this.cropShoulder),gt=0;gt=Q){Tt=Math.max(0,gt-st);break}for(Q=gt;QK){vt=Q+st;break}return{xData:z.slice(Tt,vt),yData:tt.slice(Tt,vt),start:Tt,end:vt}},ht.prototype.generatePoints=function(){var z=this.options,tt=z.data,Q=this.processedXData,K=this.processedYData,st=this.pointClass,xt=Q.length,gt=this.cropStart||0,Tt=this.hasGroupedData,vt=z.keys,Dt=[];z=z.dataGrouping&&z.dataGrouping.groupAll?gt:0;var Bt,Nt,Pt=this.data;if(!Pt&&!Tt){var Mt=[];Mt.length=tt.length,Pt=this.data=Mt}for(vt&&Tt&&(this.options.keys=!1),Nt=0;Nt=vt&&(st[Tt-gt]||Mt)<=Dt,mt&&Mt)if(mt=Pt.length)for(;mt--;)it(Pt[mt])&&(xt[Bt++]=Pt[mt]);else xt[Bt++]=Pt}return z={dataMin:R(xt),dataMax:x(xt)},L(this,"afterGetExtremes",{dataExtremes:z}),z},ht.prototype.applyExtremes=function(){var z=this.getExtremes();return this.dataMin=z.dataMin,this.dataMax=z.dataMax,z},ht.prototype.getFirstValidPoint=function(z){for(var tt=z.length,Q=0,K=null;K===null&&Q=rn&&(rn=null),$t.total=$t.stackTotal=le.total,$t.percentage=le.total&&$t.y/le.total*100,$t.stackY=Ve,this.irregularWidths||le.setOffset(this.pointXOffset||0,this.barW||0)),$t.yBottom=l(rn)?y(xt.translate(rn,0,1,0,1),-1e5,1e5):null,vt&&(Ve=this.modifyValue(Ve,$t)),$t.plotY=void 0,it(Ve)&&(le=xt.translate(Ve,!1,!0,!1,!0),typeof le!="undefined"&&($t.plotY=y(le,-1e5,1e5))),$t.isInside=this.isPointInside($t),$t.clientX=Bt?s(Q.translate(ae,0,0,0,1,Dt)):Ot,$t.negative=$t[Mt]<(z[Mt+"Threshold"]||Nt||0),$t.category=K&&typeof K[$t.x]!="undefined"?K[$t.x]:$t.x,!$t.isNull&&$t.visible!==!1){typeof bn!="undefined"&&(Yt=Math.min(Yt,Math.abs(Ot-bn)));var bn=Ot}$t.zone=this.zones.length&&$t.getZone(),!$t.graphic&&this.group&&st&&($t.isNew=!0)}this.closestPointRangePx=Yt,L(this,"afterTranslate")},ht.prototype.getValidPoints=function(z,tt,Q){var K=this.chart;return(z||this.points||[]).filter(function(st){return tt&&!K.isInsidePlot(st.plotX,st.plotY,{inverted:K.inverted})?!1:st.visible!==!1&&(Q||!st.isNull)})},ht.prototype.getClipBox=function(z,tt){var Q=this.options,K=this.chart,st=K.inverted,xt=this.xAxis,gt=xt&&this.yAxis,Tt=K.options.chart.scrollablePlotArea||{};return z&&Q.clip===!1&>?z=st?{y:-K.chartWidth+gt.len+gt.pos,height:K.chartWidth,width:K.chartHeight,x:-K.chartHeight+xt.len+xt.pos}:{y:-gt.pos,height:K.chartHeight,width:K.chartWidth,x:-xt.pos}:(z=this.clipBox||K.clipBox,tt&&(z.width=K.plotSizeX,z.x=(K.scrollablePixelsX||0)*(Tt.scrollPositionX||0))),tt?{width:z.width,x:z.x}:z},ht.prototype.getSharedClipKey=function(z){if(this.sharedClipKey)return this.sharedClipKey;var tt=[z&&z.duration,z&&z.easing,z&&z.defer,this.getClipBox(z).height,this.options.xAxis,this.options.yAxis].join();return(this.options.clip!==!1||z)&&(this.sharedClipKey=tt),tt},ht.prototype.setClip=function(z){var tt=this.chart,Q=this.options,K=tt.renderer,st=tt.inverted,xt=this.clipBox,gt=this.getClipBox(z),Tt=this.getSharedClipKey(z),vt=tt.sharedClips[Tt],Dt=tt.sharedClips[Tt+"m"];z&&(gt.width=0,st&&(gt.x=tt.plotHeight+(Q.clip!==!1?0:tt.plotTop))),vt?tt.hasLoaded||vt.attr(gt):(z&&(tt.sharedClips[Tt+"m"]=Dt=K.clipRect(st?(tt.plotSizeX||0)+99:-99,st?-tt.plotLeft:-tt.plotTop,99,st?tt.chartWidth:tt.chartHeight)),tt.sharedClips[Tt]=vt=K.clipRect(gt),vt.count={length:0}),z&&!vt.count[this.index]&&(vt.count[this.index]=!0,vt.count.length+=1),(Q.clip!==!1||z)&&(this.group.clip(z||xt?vt:tt.clipRect),this.markerGroup.clip(Dt)),z||(vt.count[this.index]&&(delete vt.count[this.index],--vt.count.length),vt.count.length===0&&(xt||(tt.sharedClips[Tt]=vt.destroy()),Dt&&(tt.sharedClips[Tt+"m"]=Dt.destroy())))},ht.prototype.animate=function(z){var tt=this.chart,Q=p(this.options.animation),K=this.sharedClipKey;if(z)this.setClip(Q);else if(K){z=tt.sharedClips[K],K=tt.sharedClips[K+"m"];var st=this.getClipBox(Q,!0);z&&z.animate(st,Q),K&&K.animate({width:st.width+99,x:st.x-(tt.inverted?0:99)},Q)}},ht.prototype.afterAnimate=function(){this.setClip(),L(this,"afterAnimate"),this.finishedAnimating=!0},ht.prototype.drawPoints=function(){var z=this.points,tt=this.chart,Q=this.options.marker,K=this[this.specialGroup]||this.markerGroup,st=this.xAxis,xt=F(Q.enabled,!st||st.isRadial?!0:null,this.closestPointRangePx>=Q.enabledThreshold*Q.radius),gt,Tt;if(Q.enabled!==!1||this._hasPointMarkers)for(gt=0;gtVe.max,z.resetZones&&Nt===0&&(Nt=void 0)}),this.clips=st}else z.visible&&(xt&&xt.show(!0),gt&>.show(!0))},ht.prototype.invertGroups=function(z){function tt(){["group","markerGroup"].forEach(function(st){Q[st]&&(K.renderer.isVML&&Q[st].attr({width:Q.yAxis.len,height:Q.xAxis.len}),Q[st].width=Q.yAxis.len,Q[st].height=Q.xAxis.len,Q[st].invert(Q.isRadialSeries?!1:z))})}var Q=this,K=Q.chart;Q.xAxis&&(Q.eventsToUnbind.push(g(K,"resize",tt)),tt(),Q.invertGroups=tt)},ht.prototype.plotGroup=function(z,tt,Q,K,st){var xt=this[z],gt=!xt;return Q={visibility:Q,zIndex:K||.1},typeof this.opacity=="undefined"||this.chart.styledMode||this.state==="inactive"||(Q.opacity=this.opacity),gt&&(this[z]=xt=this.chart.renderer.g().add(st)),xt.addClass("highcharts-"+tt+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(l(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(xt.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),xt.attr(Q)[gt?"attr":"animate"](this.getPlotBox()),xt},ht.prototype.getPlotBox=function(){var z=this.chart,tt=this.xAxis,Q=this.yAxis;return z.inverted&&(tt=Q,Q=this.xAxis),{translateX:tt?tt.left:z.plotLeft,translateY:Q?Q.top:z.plotTop,scaleX:1,scaleY:1}},ht.prototype.removeEvents=function(z){z||ut(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(tt){tt()}),this.eventsToUnbind.length=0)},ht.prototype.render=function(){var z=this,tt=z.chart,Q=z.options,K=p(Q.animation),st=z.visible?"inherit":"hidden",xt=Q.zIndex,gt=z.hasRendered,Tt=tt.seriesGroup,vt=tt.inverted,Dt=!z.finishedAnimating&&tt.renderer.isSVG&&K.duration;L(this,"render");var Bt=z.plotGroup("group","series",st,xt,Tt);z.markerGroup=z.plotGroup("markerGroup","markers",st,xt,Tt),Dt&&z.animate&&z.animate(!0),Bt.inverted=F(z.invertible,z.isCartesian)?vt:!1,z.drawGraph&&(z.drawGraph(),z.applyZones()),z.visible&&z.drawPoints(),z.drawDataLabels&&z.drawDataLabels(),z.redrawPoints&&z.redrawPoints(),z.drawTracker&&z.options.enableMouseTracking!==!1&&z.drawTracker(),z.invertGroups(vt),Q.clip===!1||z.sharedClipKey||gt||Bt.clip(tt.clipRect),Dt&&z.animate&&z.animate(),gt||(Dt&&K.defer&&(Dt+=K.defer),z.animationTimeout=et(function(){z.afterAnimate()},Dt||0)),z.isDirty=!1,z.hasRendered=!0,L(z,"afterRender")},ht.prototype.redraw=function(){var z=this.chart,tt=this.isDirty||this.isDirtyData,Q=this.group,K=this.xAxis,st=this.yAxis;Q&&(z.inverted&&Q.attr({width:z.plotWidth,height:z.plotHeight}),Q.animate({translateX:F(K&&K.left,z.plotLeft),translateY:F(st&&st.top,z.plotTop)})),this.translate(),this.render(),tt&&delete this.kdTree},ht.prototype.searchPoint=function(z,tt){var Q=this.xAxis,K=this.yAxis,st=this.chart.inverted;return this.searchKDTree({clientX:st?Q.len-z.chartY+Q.pos:z.chartX-Q.pos,plotY:st?K.len-z.chartX+K.pos:z.chartY-K.pos},tt,z)},ht.prototype.buildKDTree=function(z){function tt(st,xt,gt){var Tt=st&&st.length;if(Tt){var vt=Q.kdAxisArray[xt%gt];return st.sort(function(Dt,Bt){return Dt[vt]-Bt[vt]}),Tt=Math.floor(Tt/2),{point:st[Tt],left:tt(st.slice(0,Tt),xt+1,gt),right:tt(st.slice(Tt+1),xt+1,gt)}}}this.buildingKdTree=!0;var Q=this,K=-1Mt?"left":"right",Ot=0>Mt?"right":"left",Dt[Yt]&&(Yt=K(vt,Dt[Yt],Bt+1,Nt),mt=Yt[Tt]Mt;)mt--;this.updateParallelArrays(Pt,"splice",mt,0,0),this.updateParallelArrays(Pt,mt),vt&&Pt.name&&(vt[Mt]=Pt.name),Dt.splice(mt,0,z),Nt&&(this.data.splice(mt,0,null),this.processData()),xt.legendType==="point"&&this.generatePoints(),Q&&(gt[0]&>[0].remove?gt[0].remove(!1):(gt.shift(),this.updateParallelArrays(Pt,"shift"),Dt.shift())),st!==!1&&L(this,"addPoint",{point:Pt}),this.isDirtyData=this.isDirty=!0,tt&&Tt.redraw(K)},ht.prototype.removePoint=function(z,tt,Q){var K=this,st=K.data,xt=st[z],gt=K.points,Tt=K.chart,vt=function(){gt&>.length===st.length&>.splice(z,1),st.splice(z,1),K.options.data.splice(z,1),K.updateParallelArrays(xt||{series:K},"splice",z,1),xt&&xt.destroy(),K.isDirty=!0,K.isDirtyData=!0,tt&&Tt.redraw()};o(Q,Tt),tt=F(tt,!0),xt?xt.firePointEvent("remove",null,vt):vt()},ht.prototype.remove=function(z,tt,Q,K){function st(){xt.destroy(K),gt.isDirtyLegend=gt.isDirtyBox=!0,gt.linkSeries(),F(z,!0)&>.redraw(tt)}var xt=this,gt=xt.chart;Q!==!1?L(xt,"remove",null,st):st()},ht.prototype.update=function(z,tt){z=b(z,this.userOptions),L(this,"update",{options:z});var Q=this,K=Q.chart,st=Q.userOptions,xt=Q.initialType||Q.type,gt=K.options.plotOptions,Tt=m[xt].prototype,vt=Q.finishedAnimating&&{animation:!1},Dt={},Bt,Nt=["eventOptions","navigatorSeries","baseSeries"],Pt=z.type||st.type||K.options.chart.type,Mt=!(this.hasDerivedData||Pt&&Pt!==this.type||typeof z.pointStart!="undefined"||typeof z.pointInterval!="undefined"||typeof z.relativeXValue!="undefined"||Q.hasOptionChanged("dataGrouping")||Q.hasOptionChanged("pointStart")||Q.hasOptionChanged("pointInterval")||Q.hasOptionChanged("pointIntervalUnit")||Q.hasOptionChanged("keys"));if(Pt=Pt||xt,Mt&&(Nt.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),z.visible!==!1&&Nt.push("area","graph"),Q.parallelArrays.forEach(function(Ot){Nt.push(Ot+"Data")}),z.data&&(z.dataSorting&&u(Q.options.dataSorting,z.dataSorting),this.setData(z.data,!1))),z=ct(st,vt,{index:typeof st.index=="undefined"?Q.index:st.index,pointStart:F(gt&>.series&>.series.pointStart,st.pointStart,Q.xData[0])},!Mt&&{data:Q.options.data},z),Mt&&z.data&&(z.data=Q.options.data),Nt=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(Nt),Nt.forEach(function(Ot){Nt[Ot]=Q[Ot],delete Q[Ot]}),gt=!1,m[Pt]){if(gt=Pt!==Q.type,Q.remove(!1,!1,!1,!0),gt)if(Object.setPrototypeOf)Object.setPrototypeOf(Q,m[Pt].prototype);else{vt=Object.hasOwnProperty.call(Q,"hcEvents")&&Q.hcEvents;for(Bt in Tt)Q[Bt]=void 0;u(Q,m[Pt].prototype),vt?Q.hcEvents=vt:delete Q.hcEvents}}else D(17,!0,K,{missingModuleFor:Pt});if(Nt.forEach(function(Ot){Q[Ot]=Nt[Ot]}),Q.init(K,z),Mt&&this.points){var mt=Q.options;mt.visible===!1?(Dt.graphic=1,Dt.dataLabel=1):Q._hasPointLabels||(z=mt.marker,Tt=mt.dataLabels,!z||z.enabled!==!1&&(st.marker&&st.marker.symbol)===z.symbol||(Dt.graphic=1),Tt&&Tt.enabled===!1&&(Dt.dataLabel=1)),this.points.forEach(function(Ot){Ot&&Ot.series&&(Ot.resolveColor(),Object.keys(Dt).length&&Ot.destroyElements(Dt),mt.showInLegend===!1&&Ot.legendItem&&K.legend.destroyItem(Ot))},this)}Q.initialType=xt,K.linkSeries(),gt&&Q.linkedSeries.length&&(Q.isDirtyData=!0),L(this,"afterUpdate"),F(tt,!0)&&K.redraw(Mt?void 0:!1)},ht.prototype.setName=function(z){this.name=this.options.name=this.userOptions.name=z,this.chart.isDirtyLegend=!0},ht.prototype.hasOptionChanged=function(z){var tt=this.options[z],Q=this.chart.options.plotOptions,K=this.userOptions[z];return K?tt!==K:tt!==F(Q&&Q[this.type]&&Q[this.type][z],Q&&Q.series&&Q.series[z],tt)},ht.prototype.onMouseOver=function(){var z=this.chart,tt=z.hoverSeries;z.pointer.setHoverChartIndex(),tt&&tt!==this&&tt.onMouseOut(),this.options.events.mouseOver&&L(this,"mouseOver"),this.setState("hover"),z.hoverSeries=this},ht.prototype.onMouseOut=function(){var z=this.options,tt=this.chart,Q=tt.tooltip,K=tt.hoverPoint;tt.hoverSeries=null,K&&K.onMouseOut(),this&&z.events.mouseOut&&L(this,"mouseOut"),!Q||this.stickyTracking||Q.shared&&!this.noSharedTooltip||Q.hide(),tt.series.forEach(function(st){st.setState("",!0)})},ht.prototype.setState=function(z,tt){var Q=this,K=Q.options,st=Q.graph,xt=K.inactiveOtherPoints,gt=K.states,Tt=F(gt[z||"normal"]&>[z||"normal"].animation,Q.chart.options.chart.animation),vt=K.lineWidth,Dt=0,Bt=K.opacity;if(z=z||"",Q.state!==z&&([Q.group,Q.markerGroup,Q.dataLabelsGroup].forEach(function(Nt){Nt&&(Q.state&&Nt.removeClass("highcharts-series-"+Q.state),z&&Nt.addClass("highcharts-series-"+z))}),Q.state=z,!Q.chart.styledMode)){if(gt[z]&>[z].enabled===!1)return;if(z&&(vt=gt[z].lineWidth||vt+(gt[z].lineWidthPlus||0),Bt=F(gt[z].opacity,Bt)),st&&!st.dashstyle)for(K={"stroke-width":vt},st.animate(K,Tt);Q["zone-graph-"+Dt];)Q["zone-graph-"+Dt].animate(K,Tt),Dt+=1;xt||[Q.group,Q.markerGroup,Q.dataLabelsGroup,Q.labelBySeries].forEach(function(Nt){Nt&&Nt.animate({opacity:Bt},Tt)})}tt&&xt&&Q.points&&Q.setAllPointsToState(z||void 0)},ht.prototype.setAllPointsToState=function(z){this.points.forEach(function(tt){tt.setState&&tt.setState(z)})},ht.prototype.setVisible=function(z,tt){var Q=this,K=Q.chart,st=Q.legendItem,xt=K.options.chart.ignoreHiddenSeries,gt=Q.visible,Tt=(Q.visible=z=Q.options.visible=Q.userOptions.visible=typeof z=="undefined"?!gt:z)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(vt){Q[vt]&&Q[vt][Tt]()}),(K.hoverSeries===Q||(K.hoverPoint&&K.hoverPoint.series)===Q)&&Q.onMouseOut(),st&&K.legend.colorizeItem(Q,z),Q.isDirty=!0,Q.options.stacking&&K.series.forEach(function(vt){vt.options.stacking&&vt.visible&&(vt.isDirty=!0)}),Q.linkedSeries.forEach(function(vt){vt.setVisible(z,!1)}),xt&&(K.isDirtyBox=!0),L(Q,Tt),tt!==!1&&K.redraw()},ht.prototype.show=function(){this.setVisible(!0)},ht.prototype.hide=function(){this.setVisible(!1)},ht.prototype.select=function(z){this.selected=z=this.options.selected=typeof z=="undefined"?!this.selected:z,this.checkbox&&(this.checkbox.checked=z),L(this,z?"select":"unselect")},ht.prototype.shouldShowTooltip=function(z,tt,Q){return Q===void 0&&(Q={}),Q.series=this,Q.visiblePlotOnly=!0,this.chart.isInsidePlot(z,tt,Q)},ht.defaultOptions=j,ht}(),u(C.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:J.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:V,requireSorting:!0,sorted:!0}),A.series=C,C}),W(c,"Extensions/ScrollablePlotArea.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Axis/Axis.js"],c["Core/Chart/Chart.js"],c["Core/Series/Series.js"],c["Core/Renderer/RendererRegistry.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U){var V=C.stop,j=U.addEvent,A=U.createElement,P=U.merge,E=U.pick;j(G,"afterSetChartSize",function(p){var o=this.options.chart.scrollablePlotArea,T=o&&o.minWidth;if(o=o&&o.minHeight,!this.renderer.forExport){if(T){if(this.scrollablePixelsX=T=Math.max(0,T-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=P(this.plotBox),this.plotBox.width=this.plotWidth+=T,this.inverted?this.clipBox.height+=T:this.clipBox.width+=T;var w={1:{name:"right",value:T}}}}else o&&(this.scrollablePixelsY=T=Math.max(0,o-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=P(this.plotBox),this.plotBox.height=this.plotHeight+=T,this.inverted?this.clipBox.width+=T:this.clipBox.height+=T,w={2:{name:"bottom",value:T}});w&&!p.skipAxes&&this.axes.forEach(function(f){w[f.side]?f.getPlotLinePath=function(){var S=w[f.side].name,v=this[S];this[S]=v-w[f.side].value;var m=I.prototype.getPlotLinePath.apply(this,arguments);return this[S]=v,m}:(f.setAxisSize(),f.setAxisTranslation())})}}),j(G,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),G.prototype.setUpScrolling=function(){var p=this,o={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(o.overflowX="auto"),this.scrollablePixelsY&&(o.overflowY="auto"),this.scrollingParent=A("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=A("div",{className:"highcharts-scrolling"},o,this.scrollingParent),j(this.scrollingContainer,"scroll",function(){p.pointer&&delete p.pointer.chartPosition}),this.innerContainer=A("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},G.prototype.moveFixedElements=function(){var p=this.container,o=this.fixedRenderer,T=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),w;this.scrollablePixelsX&&!this.inverted?w=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?w=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(w=".highcharts-yaxis"),w&&T.push(w+":not(.highcharts-radial-axis)",w+"-labels:not(.highcharts-radial-axis-labels)"),T.forEach(function(f){[].forEach.call(p.querySelectorAll(f),function(S){(S.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(S),S.style.pointerEvents="auto"})})},G.prototype.applyFixed=function(){var p=!this.fixedDiv,o=this.options.chart,T=o.scrollablePlotArea,w=J.getRendererType();p?(this.fixedDiv=A("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(o.style&&o.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=o=new w(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=o.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":E(T.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),j(this,"afterShowResetZoom",this.moveFixedElements),j(this,"afterDrilldown",this.moveFixedElements),j(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||p)&&(this.scrollableDirty=!1,this.moveFixedElements()),o=this.chartWidth+(this.scrollablePixelsX||0),w=this.chartHeight+(this.scrollablePixelsY||0),V(this.container),this.container.style.width=o+"px",this.container.style.height=w+"px",this.renderer.boxWrapper.attr({width:o,height:w,viewBox:[0,0,o,w].join(" ")}),this.chartBackground.attr({width:o,height:w}),this.scrollingContainer.style.height=this.chartHeight+"px",p&&(T.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*T.scrollPositionX),T.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*T.scrollPositionY)),w=this.axisOffset,p=this.plotTop-w[0]-1,T=this.plotLeft-w[3]-1,o=this.plotTop+this.plotHeight+w[2]+1,w=this.plotLeft+this.plotWidth+w[1]+1;var f=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),S=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);p=this.scrollablePixelsX?[["M",0,p],["L",this.plotLeft-1,p],["L",this.plotLeft-1,o],["L",0,o],["Z"],["M",f,p],["L",this.chartWidth,p],["L",this.chartWidth,o],["L",f,o],["Z"]]:this.scrollablePixelsY?[["M",T,0],["L",T,this.plotTop-1],["L",w,this.plotTop-1],["L",w,0],["Z"],["M",T,S],["L",T,this.chartHeight],["L",w,this.chartHeight],["L",w,S],["Z"]]:[["M",0,0]],this.redrawTrigger!=="adjustHeight"&&this.scrollableMask.attr({d:p})},j(I,"afterInit",function(){this.chart.scrollableDirty=!0}),j(q,"show",function(){this.chart.scrollableDirty=!0})}),W(c,"Core/Axis/StackingAxis.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Axis/Axis.js"],c["Core/Utilities.js"]],function(C,I,G){var q=C.getDeferredAnimation,J=G.addEvent,U=G.destroyObjectProperties,V=G.fireEvent,j=G.isNumber,A=G.objectEach,P;return function(E){function p(){var f=this.stacking;if(f){var S=f.stacks;A(S,function(v,m){U(v),S[m]=null}),f&&f.stackTotalGroup&&f.stackTotalGroup.destroy()}}function o(){this.stacking||(this.stacking=new w(this))}var T=[];E.compose=function(f){return T.indexOf(f)===-1&&(T.push(f),J(f,"init",o),J(f,"destroy",p)),f};var w=function(){function f(S){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=S}return f.prototype.buildStacks=function(){var S=this.axis,v=S.series,m=S.options.reversedStacks,g=v.length,x;if(!S.isXAxis){for(this.usePercentage=!1,x=g;x--;){var R=v[m?x:g-x-1];R.setStackedPoints(),R.setGroupedPoints()}for(x=0;xf&&E.shadow)),v&&(v.startX=p.xMap,v.isArea=p.isArea)})},A.prototype.getGraphPath=function(P,E,p){var o=this,T=o.options,w=[],f=[],S,v=T.step;P=P||o.points;var m=P.reversed;return m&&P.reverse(),(v={right:1,center:2}[v]||v&&3)&&m&&(v=4-v),P=this.getValidPoints(P,!1,!(T.connectNulls&&!E&&!p)),P.forEach(function(g,x){var R=g.plotX,y=g.plotY,b=P[x-1];(g.leftCliff||b&&b.rightCliff)&&!p&&(S=!0),g.isNull&&!U(E)&&0A&&v>o?(v=Math.max(A,o),m=2*o-v):vE&&m>o?(m=Math.max(E,o),v=2*o-m):m=Math.abs(l)&&.5s.closestPointRange*s.xAxis.transA;D=s.borderWidth=x(O.borderWidth,D?0:1);var u=s.xAxis,_=s.yAxis,L=O.threshold,nt=s.translatedThreshold=_.getThreshold(L),rt=x(O.minPointLength,5),it=s.getColumnMetrics(),X=it.width,ct=s.pointXOffset=it.offset,B=s.dataMin,F=s.dataMax,ut=s.barW=Math.max(X,1+2*D);l.inverted&&(nt-=.5),O.pointPadding&&(ut=Math.ceil(ut)),U.prototype.translate.apply(s),s.points.forEach(function(ft){var et=x(ft.yBottom,nt),ht=999+Math.abs(et),z=ft.plotX||0;ht=o(ft.plotY,-ht,_.len+ht);var tt=Math.min(ht,et),Q=Math.max(ht,et)-tt,K=X,st=z+ct,xt=ut;rt&&Math.abs(Q)rt?et-rt:nt-(z?rt:0)),w(ft.options.pointWidth)&&(K=xt=Math.ceil(ft.options.pointWidth),st-=Math.round((K-X)/2)),O.centerInCategory&&(st=s.adjustForMissingColumns(st,K,ft,it)),ft.barX=st,ft.pointWidth=K,ft.tooltipPos=l.inverted?[o(_.len+_.pos-l.plotLeft-ht,_.pos-l.plotLeft,_.len+_.pos-l.plotLeft),u.len+u.pos-l.plotTop-st-xt/2,Q]:[u.left-l.plotLeft+st+xt/2,o(ht+_.pos-l.plotTop,_.pos-l.plotTop,_.len+_.pos-l.plotTop),Q],ft.shapeType=s.pointClass.prototype.shapeType||"rect",ft.shapeArgs=s.crispCol.apply(s,ft.isNull?[st,nt,xt,0]:[st,tt,xt,Q])})},b.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},b.prototype.pointAttribs=function(s,l){var O=this.options,D=this.pointAttrToOptions||{},u=D.stroke||"borderColor",_=D["stroke-width"]||"borderWidth",L=s&&s.color||this.color,nt=s&&s[u]||O[u]||L;D=s&&s.options.dashStyle||O.dashStyle;var rt=s&&s[_]||O[_]||this[_]||0,it=x(s&&s.opacity,O.opacity,1);if(s&&this.zones.length){var X=s.getZone();L=s.options.color||X&&(X.color||s.nonZonedColor)||this.color,X&&(nt=X.borderColor||nt,D=X.dashStyle||D,rt=X.borderWidth||rt)}return l&&s&&(s=g(O.states[l],s.options.states&&s.options.states[l]||{}),l=s.brightness,L=s.color||typeof l!="undefined"&&E(L).brighten(s.brightness).get()||L,nt=s[u]||nt,rt=s[_]||rt,D=s.dashStyle||D,it=x(s.opacity,it)),u={fill:L,stroke:nt,"stroke-width":rt,opacity:it},D&&(u.dashstyle=D),u},b.prototype.drawPoints=function(){var s=this,l=this.chart,O=s.options,D=l.renderer,u=O.animationLimit||250,_;s.points.forEach(function(L){var nt=L.graphic,rt=!!nt,it=nt&&l.pointCountut,B==="left"?rt.y-=ut?X.height:0:B==="center"?(rt.x-=X.width/2,rt.y-=X.height/2):B==="right"&&(rt.x-=X.width,rt.y-=ut?0:X.height),s.placed=!0,s.alignAttr=rt):(ut(O),s.align(l,void 0,O),rt=s.alignAttr),ft&&0<=O.height?this.justifyDataLabel(s,l,rt,X,O,D):o(l.crop,!0)&&(et=_.isInsidePlot(rt.x,rt.y,{paneCoordinates:!0,series:u})&&_.isInsidePlot(rt.x+X.width,rt.y+X.height,{paneCoordinates:!0,series:u})),l.shape&&!ct&&s[D?"attr":"animate"]({anchorX:L?_.plotWidth-b.plotY:b.plotX,anchorY:L?_.plotHeight-b.plotX:b.plotY})}D&&nt&&(s.placed=!1),et||nt&&!ft||(s.hide(!0),s.placed=!1)}function v(b,s){var l=s.filter;return l?(s=l.operator,b=b[l.property],l=l.value,s===">"&&b>l||s==="<"&&b="&&b>=l||s==="<="&&b<=l||s==="=="&&b==l||s==="==="&&b===l):!0}function m(){var b=this,s=b.chart,l=b.options,O=b.points,D=b.hasRendered||0,u=s.renderer,_=l.dataLabels,L,nt=_.animation;if(nt=_.defer?J(s,nt,b):{defer:0,duration:0},_=x(x(s.options.plotOptions&&s.options.plotOptions.series&&s.options.plotOptions.series.dataLabels,s.options.plotOptions&&s.options.plotOptions[b.type]&&s.options.plotOptions[b.type].dataLabels),_),A(this,"drawDataLabels"),P(_)||_.enabled||b._hasPointLabels){var rt=b.plotGroup("dataLabelsGroup","data-labels",D?"inherit":"hidden",_.zIndex||6);rt.attr({opacity:+D}),!D&&(D=b.dataLabelsGroup)&&(b.visible&&rt.show(!0),D[l.animation?"animate":"attr"]({opacity:1},nt)),O.forEach(function(it){L=T(x(_,it.dlOptions||it.options&&it.options.dataLabels)),L.forEach(function(X,ct){var B=X.enabled&&(!it.isNull||it.dataLabelOnNull)&&v(it,X),F=it.connectors?it.connectors[ct]:it.connector,ut=it.dataLabels?it.dataLabels[ct]:it.dataLabel,ft=o(X.distance,it.labelDistance),et=!ut;if(B){var ht=it.getLabelConfig(),z=o(X[it.formatPrefix+"Format"],X.format);ht=V(z)?U(z,ht,s):(X[it.formatPrefix+"Formatter"]||X.formatter).call(ht,X),z=X.style;var tt=X.rotation;s.styledMode||(z.color=o(X.color,z.color,b.color,G.neutralColor100),z.color==="contrast"?(it.contrastColor=u.getContrast(it.color||b.color),z.color=!V(ft)&&X.inside||0>ft||l.stacking?it.contrastColor:G.neutralColor100):delete it.contrastColor,l.cursor&&(z.cursor=l.cursor));var Q={r:X.borderRadius||0,rotation:tt,padding:X.padding,zIndex:1};s.styledMode||(Q.fill=X.backgroundColor,Q.stroke=X.borderColor,Q["stroke-width"]=X.borderWidth),p(Q,function(K,st){typeof K=="undefined"&&delete Q[st]})}!ut||B&&V(ht)?B&&V(ht)&&(ut?Q.text=ht:(it.dataLabels=it.dataLabels||[],ut=it.dataLabels[ct]=tt?u.text(ht,0,-9999,X.useHTML).addClass("highcharts-data-label"):u.label(ht,0,-9999,X.shape,null,null,X.useHTML,null,"data-label"),ct||(it.dataLabel=ut),ut.addClass(" highcharts-data-label-color-"+it.colorIndex+" "+(X.className||"")+(X.useHTML?" highcharts-tracker":""))),ut.options=X,ut.attr(Q),s.styledMode||ut.css(z).shadow(X.shadow),ut.added||ut.add(rt),X.textPath&&!X.useHTML&&(ut.setTextPath(it.getDataLabelPath&&it.getDataLabelPath(ut)||it.graphic,X.textPath),it.dataLabelPath&&!X.textPath.enabled&&(it.dataLabelPath=it.dataLabelPath.destroy())),b.alignDataLabel(it,ut,X,null,et)):(it.dataLabel=it.dataLabel&&it.dataLabel.destroy(),it.dataLabels&&(it.dataLabels.length===1?delete it.dataLabels:delete it.dataLabels[ct]),ct||delete it.dataLabel,F&&(it.connector=it.connector.destroy(),it.connectors&&(it.connectors.length===1?delete it.connectors:delete it.connectors[ct])))})})}A(this,"afterDrawDataLabels")}function g(b,s,l,O,D,u){var _=this.chart,L=s.align,nt=s.verticalAlign,rt=b.box?0:b.padding||0,it=s.x;it=it===void 0?0:it;var X=s.y;X=X===void 0?0:X;var ct=(l.x||0)+rt;if(0>ct){L==="right"&&0<=it?(s.align="left",s.inside=!0):it-=ct;var B=!0}return ct=(l.x||0)+O.width-rt,ct>_.plotWidth&&(L==="left"&&0>=it?(s.align="right",s.inside=!0):it+=_.plotWidth-ct,B=!0),ct=l.y+rt,0>ct&&(nt==="bottom"&&0<=X?(s.verticalAlign="top",s.inside=!0):X-=ct,B=!0),ct=(l.y||0)+O.height-rt,ct>_.plotHeight&&(nt==="top"&&0>=X?(s.verticalAlign="bottom",s.inside=!0):X+=_.plotHeight-ct,B=!0),B&&(s.x=it,s.y=X,b.placed=!u,b.align(s,void 0,D)),B}function x(b,s){var l=[],O;if(P(b)&&!P(s))l=b.map(function(D){return E(D,s)});else if(P(s)&&!P(b))l=s.map(function(D){return E(b,D)});else if(P(b)||P(s))for(O=Math.max(b.length,s.length);O--;)l[O]=E(b[O],s[O]);else l=E(b,s);return l}function R(b,s,l,O,D){var u=this.chart,_=u.inverted,L=this.xAxis,nt=L.reversed,rt=_?s.height/2:s.width/2;b=(b=b.pointWidth)?b/2:0,s.startXPos=_?D.x:nt?-rt-b:L.width-rt+b,s.startYPos=_?nt?this.yAxis.height-rt+b:-rt-b:D.y,O?s.visibility==="hidden"&&(s.show(),s.attr({opacity:0}).animate({opacity:1})):s.attr({opacity:1}).animate({opacity:0},void 0,s.hide),u.hasRendered&&(l&&s.attr({x:s.startXPos,y:s.startYPos}),s.placed=!0)}var y=[];f.compose=function(b){if(y.indexOf(b)===-1){var s=b.prototype;y.push(b),s.alignDataLabel=S,s.drawDataLabels=m,s.justifyDataLabel=g,s.setDataLabelStartPos=R}}}(w||(w={})),w}),W(c,"Series/Column/ColumnDataLabel.js",[c["Core/Series/DataLabel.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G){var q=I.series,J=G.merge,U=G.pick,V;return function(j){function A(E,p,o,T,w){var f=this.chart.inverted,S=E.series,v=E.dlBox||E.shapeArgs,m=U(E.below,E.plotY>U(this.translatedThreshold,S.yAxis.len)),g=U(o.inside,!!this.options.stacking);v&&(T=J(v),0>T.y&&(T.height+=T.y,T.y=0),v=T.y+T.height-S.yAxis.len,0\u25CF {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),P}(I),V(q.prototype,{drawTracker:C.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),U(q,"afterTranslate",function(){this.applyJitter()}),G.registerSeriesType("scatter",q),q}),W(c,"Mixins/CenteredSeries.js",[c["Core/Globals.js"],c["Core/Series/Series.js"],c["Core/Utilities.js"]],function(C,I,G){var q=G.isNumber,J=G.pick,U=G.relativeLength,V=C.deg2rad;return C.CenteredSeriesMixin={getCenter:function(){var j=this.options,A=this.chart,P=2*(j.slicedOffset||0),E=A.plotWidth-2*P,p=A.plotHeight-2*P,o=j.center,T=Math.min(E,p),w=j.size,f=j.innerSize||0;for(typeof w=="string"&&(w=parseFloat(w)),typeof f=="string"&&(f=parseFloat(f)),j=[J(o[0],"50%"),J(o[1],"50%"),J(w&&0>w?void 0:j.size,"100%"),J(f&&0>f?void 0:j.innerSize||0,"0%")],!A.angular||this instanceof I||(j[3]=0),o=0;4>o;++o)w=j[o],A=2>o||o===2&&/%$/.test(w),j[o]=U(w,[E,p,T,j[2]][o])+(A?P:0);return j[3]>j[2]&&(j[3]=j[2]),j},getStartAndEndRadians:function(j,A){return j=q(j)?j:0,A=q(A)&&A>j&&360>A-j?A:j+360,{start:V*(j+-90),end:V*(A+-90)}}}}),W(c,"Series/Pie/PiePoint.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Series/Point.js"],c["Core/Utilities.js"]],function(C,I,G){var q=this&&this.__extends||function(){var E=function(p,o){return E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,w){T.__proto__=w}||function(T,w){for(var f in w)w.hasOwnProperty(f)&&(T[f]=w[f])},E(p,o)};return function(p,o){function T(){this.constructor=p}E(p,o),p.prototype=o===null?Object.create(o):(T.prototype=o.prototype,new T)}}(),J=C.setAnimation,U=G.addEvent,V=G.defined;C=G.extend;var j=G.isNumber,A=G.pick,P=G.relativeLength;return I=function(E){function p(){var o=E!==null&&E.apply(this,arguments)||this;return o.labelDistance=void 0,o.options=void 0,o.series=void 0,o}return q(p,E),p.prototype.getConnectorPath=function(){var o=this.labelPosition,T=this.series.options.dataLabels,w=this.connectorShapes,f=T.connectorShape;return w[f]&&(f=w[f]),f.call(this,{x:o.final.x,y:o.final.y,alignment:o.alignment},o.connectorPosition,T)},p.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},p.prototype.haloPath=function(o){var T=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(T.x,T.y,T.r+o,T.r+o,{innerR:T.r-1,start:T.start,end:T.end})},p.prototype.init=function(){var o=this;E.prototype.init.apply(this,arguments),this.name=A(this.name,"Slice");var T=function(w){o.slice(w.type==="select")};return U(this,"select",T),U(this,"unselect",T),this},p.prototype.isValid=function(){return j(this.y)&&0<=this.y},p.prototype.setVisible=function(o,T){var w=this,f=this.series,S=f.chart,v=f.options.ignoreHiddenPoint;T=A(T,v),o!==this.visible&&(this.visible=this.options.visible=o=typeof o=="undefined"?!this.visible:o,f.options.data[f.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(m){w[m]&&w[m][o?"show":"hide"](o)}),this.legendItem&&S.legend.colorizeItem(this,o),o||this.state!=="hover"||this.setState(""),v&&(f.isDirty=!0),T&&S.redraw())},p.prototype.slice=function(o,T,w){var f=this.series;J(w,f.chart),A(T,!0),this.sliced=this.options.sliced=V(o)?o:!this.sliced,f.options.data[f.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},p}(I),C(I.prototype,{connectorShapes:{fixedOffset:function(E,p,o){var T=p.breakAt;return p=p.touchingSliceAt,[["M",E.x,E.y],o.softConnector?["C",E.x+(E.alignment==="left"?-5:5),E.y,2*T.x-p.x,2*T.y-p.y,T.x,T.y]:["L",T.x,T.y],["L",p.x,p.y]]},straight:function(E,p){return p=p.touchingSliceAt,[["M",E.x,E.y],["L",p.x,p.y]]},crookedLine:function(E,p,o){p=p.touchingSliceAt;var T=this.series,w=T.center[0],f=T.chart.plotWidth,S=T.chart.plotLeft;T=E.alignment;var v=this.shapeArgs.r;return o=P(o.crookDistance,1),f=T==="left"?w+v+(f+S-w-v)*(1-o):S+(w-v)*o,o=["L",f,E.y],w=!0,(T==="left"?f>E.x||fp.x)&&(w=!1),E=[["M",E.x,E.y]],w&&E.push(o),E.push(["L",p.x,p.y]),E}}}),I}),W(c,"Series/Pie/PieSeries.js",[c["Mixins/CenteredSeries.js"],c["Series/Column/ColumnSeries.js"],c["Core/Globals.js"],c["Core/Legend/LegendSymbol.js"],c["Core/Color/Palette.js"],c["Series/Pie/PiePoint.js"],c["Core/Series/Series.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Renderer/SVG/Symbols.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A,P){var E=this&&this.__extends||function(){var m=function(g,x){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,y){R.__proto__=y}||function(R,y){for(var b in y)y.hasOwnProperty(b)&&(R[b]=y[b])},m(g,x)};return function(g,x){function R(){this.constructor=g}m(g,x),g.prototype=x===null?Object.create(x):(R.prototype=x.prototype,new R)}}(),p=C.getStartAndEndRadians;G=G.noop;var o=P.clamp,T=P.extend,w=P.fireEvent,f=P.merge,S=P.pick,v=P.relativeLength;return P=function(m){function g(){var x=m!==null&&m.apply(this,arguments)||this;return x.center=void 0,x.data=void 0,x.maxLabelDistance=void 0,x.options=void 0,x.points=void 0,x}return E(g,m),g.prototype.animate=function(x){var R=this,y=R.points,b=R.startAngleRad;x||y.forEach(function(s){var l=s.graphic,O=s.shapeArgs;l&&O&&(l.attr({r:S(s.startR,R.center&&R.center[3]/2),start:b,end:b}),l.animate({r:O.r,start:O.start,end:O.end},R.options.animation))})},g.prototype.drawEmpty=function(){var x=this.startAngleRad,R=this.endAngleRad,y=this.options;if(this.total===0&&this.center){var b=this.center[0],s=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(b,s,this.center[1]/2,0,x,R).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:A.arc(b,s,this.center[2]/2,0,{start:x,end:R,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":y.borderWidth,fill:y.fillColor||"none",stroke:y.color||J.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},g.prototype.drawPoints=function(){var x=this.chart.renderer;this.points.forEach(function(R){R.graphic&&R.hasNewShapeType()&&(R.graphic=R.graphic.destroy()),R.graphic||(R.graphic=x[R.shapeType](R.shapeArgs).add(R.series.group),R.delayedRendering=!0)})},g.prototype.generatePoints=function(){m.prototype.generatePoints.call(this),this.updateTotals()},g.prototype.getX=function(x,R,y){var b=this.center,s=this.radii?this.radii[y.index]||0:b[2]/2;return x=Math.asin(o((x-b[1])/(s+y.labelDistance),-1,1)),b[0]+(R?-1:1)*Math.cos(x)*(s+y.labelDistance)+(01.5*Math.PI?it-=2*Math.PI:it<-Math.PI/2&&(it+=2*Math.PI),nt.slicedTranslation={translateX:Math.round(Math.cos(it)*y),translateY:Math.round(Math.sin(it)*y)},X=Math.cos(it)*x[2]/2;var ct=Math.sin(it)*x[2]/2;nt.tooltipPos=[x[0]+.7*X,x[1]+.7*ct],nt.half=it<-Math.PI/2||it>Math.PI/2?1:0,nt.angle=it,rt=Math.min(b,nt.labelDistance/5),nt.labelPosition={natural:{x:x[0]+X+Math.cos(it)*nt.labelDistance,y:x[1]+ct+Math.sin(it)*nt.labelDistance},final:{},alignment:0>nt.labelDistance?"center":nt.half?"right":"left",connectorPosition:{breakAt:{x:x[0]+X+Math.cos(it)*rt,y:x[1]+ct+Math.sin(it)*rt},touchingSliceAt:{x:x[0]+X,y:x[1]+ct}}}}w(this,"afterTranslate")},g.prototype.updateTotals=function(){var x=this.points,R=x.length,y=this.options.ignoreHiddenPoint,b,s=0;for(b=0;bL&&(Tt.dataLabel.css({width:Math.round(.7*L)+"px"}),Tt.dataLabel.shortened=!0)):(Tt.dataLabel=Tt.dataLabel.destroy(),Tt.dataLabels&&Tt.dataLabels.length===1&&delete Tt.dataLabels))}),X.forEach(function(Tt,vt){var Dt=Tt.length,Bt=[],Nt;if(Dt){if(y.sortByAngle(Tt,vt-.5),0D-O&&vt===0&&(Pt=Math.round(Q+ht-D+O),ct[1]=Math.max(Pt,ct[1])),0>K-tt/2?ct[0]=Math.max(Math.round(-K+tt/2),ct[0]):K+tt/2>u&&(ct[2]=Math.max(Math.round(K+tt/2-u),ct[2])),et.sideOverflow=Pt)}}}),P(ct)===0||this.verifyDataLabelOverflow(ct))&&(this.placeDataLabels(),this.points.forEach(function(Tt){if(gt=o(l,Tt.options.dataLabels),ut=T(gt.connectorWidth,1)){var vt;ft=Tt.connector,(et=Tt.dataLabel)&&et._pos&&Tt.visible&&0b.bottom-2?l:s,b.half,b)},justify:function(y,b,s){return s[0]+(y.half?-1:1)*(b+y.labelDistance)},alignToPlotEdges:function(y,b,s,l){return y=y.getBBox().width,b?y+l:s-y-l},alignToConnectors:function(y,b,s,l){var O=0,D;return y.forEach(function(u){D=u.dataLabel.getBBox().width,D>O&&(O=D)}),b?O+l:s-O-l}};S.compose=function(y){C.compose(A),x.indexOf(y)===-1&&(x.push(y),y=y.prototype,y.dataLabelPositioners=R,y.alignDataLabel=V,y.drawDataLabels=v,y.placeDataLabels=m,y.verifyDataLabelOverflow=g)}}(f||(f={})),f}),W(c,"Extensions/OverlappingDataLabels.js",[c["Core/Chart/Chart.js"],c["Core/Utilities.js"]],function(C,I){function G(P,E){var p=!1;if(P){var o=P.newOpacity;P.oldOpacity!==o&&(P.alignAttr&&P.placed?(P[o?"removeClass":"addClass"]("highcharts-data-label-hidden"),p=!0,P.alignAttr.opacity=o,P[P.isOld?"animate":"attr"](P.alignAttr,null,function(){E.styledMode||P.css({pointerEvents:o?"auto":"none"})}),J(E,"afterHideOverlappingLabel")):P.attr({opacity:o})),P.isOld=!0}return p}var q=I.addEvent,J=I.fireEvent,U=I.isArray,V=I.isNumber,j=I.objectEach,A=I.pick;q(C,"render",function(){var P=this,E=[];(this.labelCollectors||[]).forEach(function(p){E=E.concat(p())}),(this.yAxis||[]).forEach(function(p){p.stacking&&p.options.stackLabels&&!p.options.stackLabels.allowOverlap&&j(p.stacking.stacks,function(o){j(o,function(T){T.label&&T.label.visibility!=="hidden"&&E.push(T.label)})})}),(this.series||[]).forEach(function(p){var o=p.options.dataLabels;p.visible&&(o.enabled!==!1||p._hasPointLabels)&&(o=function(T){return T.forEach(function(w){w.visible&&(U(w.dataLabels)?w.dataLabels:w.dataLabel?[w.dataLabel]:[]).forEach(function(f){var S=f.options;f.labelrank=A(S.labelrank,w.labelrank,w.shapeArgs&&w.shapeArgs.height),S.allowOverlap?(f.oldOpacity=f.opacity,f.newOpacity=1,G(f,P)):E.push(f)})})},o(p.nodes||[]),o(p.points))}),this.hideOverlappingLabels(E)}),C.prototype.hideOverlappingLabels=function(P){var E=this,p=P.length,o=E.renderer,T,w,f,S=!1,v=function(x){var R,y=x.box?0:x.padding||0,b=R=0,s;if(x&&(!x.alignAttr||x.placed)){var l=x.alignAttr||{x:x.attr("x"),y:x.attr("y")},O=x.parentGroup;x.width||(R=x.getBBox(),x.width=R.width,x.height=R.height,R=o.fontMetrics(null,x.element).h);var D=x.width-2*y;return(s={left:"0",center:"0.5",right:"1"}[x.alignValue])?b=+s*D:V(x.x)&&Math.round(x.x)!==x.translateX&&(b=x.x-x.translateX),{x:l.x+(O.translateX||0)+y-(b||0),y:l.y+(O.translateY||0)+y-R,width:x.width-2*y,height:x.height-2*y}}};for(w=0;w=m.x+m.width||g.x+g.width<=m.x||g.y>=m.y+m.height||g.y+g.height<=m.y||((v.labelrank=j(v.minWidth,0)&&this.chartHeight>=j(v.minHeight,0)}).call(this)&&S.push(f._id)},w.prototype.setResponsive=function(f,S){var v=this,m=this.options.responsive,g=this.currentResponsive,x=[];!S&&m&&m.rules&&m.rules.forEach(function(R){typeof R._id=="undefined"&&(R._id=P()),v.matchResponsiveRule(R,x)},this),S=U.apply(void 0,x.map(function(R){return G((m||{}).rules||[],function(y){return y._id===R})}).map(function(R){return R&&R.chartOptions})),S.isResponsiveOptions=!0,x=x.toString()||void 0,x!==(g&&g.ruleIds)&&(g&&this.update(g.undoOptions,f,!0),x?(g=this.currentOptions(S),g.isResponsiveOptions=!0,this.currentResponsive={ruleIds:x,mergedOptions:S,undoOptions:g},this.update(S,f,!0)):this.currentResponsive=void 0)},w}()}(E||(E={})),E}),W(c,"masters/highcharts.src.js",[c["Core/Globals.js"],c["Core/Utilities.js"],c["Core/DefaultOptions.js"],c["Core/Animation/Fx.js"],c["Core/Animation/AnimationUtilities.js"],c["Core/Renderer/HTML/AST.js"],c["Core/FormatUtilities.js"],c["Core/Renderer/RendererUtilities.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Renderer/HTML/HTMLElement.js"],c["Core/Renderer/HTML/HTMLRenderer.js"],c["Core/Axis/Axis.js"],c["Core/Axis/DateTimeAxis.js"],c["Core/Axis/LogarithmicAxis.js"],c["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],c["Core/Axis/Tick.js"],c["Core/Tooltip.js"],c["Core/Series/Point.js"],c["Core/Pointer.js"],c["Core/MSPointer.js"],c["Core/Legend/Legend.js"],c["Core/Chart/Chart.js"],c["Core/Series/Series.js"],c["Core/Series/SeriesRegistry.js"],c["Series/Column/ColumnSeries.js"],c["Series/Column/ColumnDataLabel.js"],c["Series/Pie/PieSeries.js"],c["Series/Pie/PieDataLabel.js"],c["Core/Series/DataLabel.js"],c["Core/Responsive.js"],c["Core/Color/Color.js"],c["Core/Time.js"]],function(C,I,G,q,J,U,V,j,A,P,E,p,o,T,w,f,S,v,m,g,x,R,y,b,s,l,O,D,u,_,L,nt,rt){return C.animate=J.animate,C.animObject=J.animObject,C.getDeferredAnimation=J.getDeferredAnimation,C.setAnimation=J.setAnimation,C.stop=J.stop,C.timers=q.timers,C.AST=U,C.Axis=o,C.Chart=y,C.chart=y.chart,C.Fx=q,C.Legend=R,C.PlotLineOrBand=f,C.Point=m,C.Pointer=x.isRequired()?x:g,C.Series=b,C.SVGElement=A,C.SVGRenderer=P,C.Tick=S,C.Time=rt,C.Tooltip=v,C.Color=nt,C.color=nt.parse,p.compose(P),E.compose(A),C.defaultOptions=G.defaultOptions,C.getOptions=G.getOptions,C.time=G.defaultTime,C.setOptions=G.setOptions,C.dateFormat=V.dateFormat,C.format=V.format,C.numberFormat=V.numberFormat,C.addEvent=I.addEvent,C.arrayMax=I.arrayMax,C.arrayMin=I.arrayMin,C.attr=I.attr,C.clearTimeout=I.clearTimeout,C.correctFloat=I.correctFloat,C.createElement=I.createElement,C.css=I.css,C.defined=I.defined,C.destroyObjectProperties=I.destroyObjectProperties,C.discardElement=I.discardElement,C.distribute=j.distribute,C.erase=I.erase,C.error=I.error,C.extend=I.extend,C.extendClass=I.extendClass,C.find=I.find,C.fireEvent=I.fireEvent,C.getMagnitude=I.getMagnitude,C.getStyle=I.getStyle,C.inArray=I.inArray,C.isArray=I.isArray,C.isClass=I.isClass,C.isDOMElement=I.isDOMElement,C.isFunction=I.isFunction,C.isNumber=I.isNumber,C.isObject=I.isObject,C.isString=I.isString,C.keys=I.keys,C.merge=I.merge,C.normalizeTickInterval=I.normalizeTickInterval,C.objectEach=I.objectEach,C.offset=I.offset,C.pad=I.pad,C.pick=I.pick,C.pInt=I.pInt,C.relativeLength=I.relativeLength,C.removeEvent=I.removeEvent,C.seriesType=s.seriesType,C.splat=I.splat,C.stableSort=I.stableSort,C.syncTimeout=I.syncTimeout,C.timeUnits=I.timeUnits,C.uniqueKey=I.uniqueKey,C.useSerialIds=I.useSerialIds,C.wrap=I.wrap,O.compose(l),_.compose(b),T.compose(o),w.compose(o),u.compose(D),f.compose(o),L.compose(y),C}),W(c,"Core/Axis/MapAxis.js",[c["Core/Axis/Axis.js"],c["Core/Utilities.js"]],function(C,I){var G=I.addEvent,q=I.pick,J=function(){return function(U){this.axis=U}}();return I=function(){function U(){}return U.compose=function(V){V.keepProps.push("mapAxis"),G(V,"init",function(){this.mapAxis||(this.mapAxis=new J(this))}),G(V,"getSeriesExtremes",function(){if(this.mapAxis){var j=[];this.isXAxis&&(this.series.forEach(function(A,P){A.useMapGeometry&&(j[P]=A.xData,A.xData=[])}),this.mapAxis.seriesXData=j)}}),G(V,"afterGetSeriesExtremes",function(){if(this.mapAxis){var j=this.mapAxis.seriesXData||[],A;if(this.isXAxis){var P=q(this.dataMin,Number.MAX_VALUE),E=q(this.dataMax,-Number.MAX_VALUE);this.series.forEach(function(p,o){p.useMapGeometry&&(P=Math.min(P,q(p.minX,P)),E=Math.max(E,q(p.maxX,E)),p.xData=j[o],A=!0)}),A&&(this.dataMin=P,this.dataMax=E),this.mapAxis.seriesXData=void 0}}}),G(V,"afterSetAxisTranslation",function(){if(this.mapAxis){var j=this.chart,A=j.plotWidth/j.plotHeight;j=j.xAxis[0];var P;this.coll==="yAxis"&&typeof j.transA!="undefined"&&this.series.forEach(function(E){E.preserveAspectRatio&&(P=!0)}),P&&(this.transA=j.transA=Math.min(this.transA,j.transA),A/=(j.max-j.min)/(this.max-this.min),A=1>A?this:j,j=(A.max-A.min)*A.transA,A.mapAxis.pixelPadding=A.len-j,A.minPixelPadding=A.mapAxis.pixelPadding/2,j=A.mapAxis.fixTo)&&(j=j[1]-A.toValue(j[0],!0),j*=A.transA,(Math.abs(j)>A.minPixelPadding||A.min===A.dataMin&&A.max===A.dataMax)&&(j=0),A.minPixelPadding-=j)}}),G(V,"render",function(){this.mapAxis&&(this.mapAxis.fixTo=void 0)})},U}(),I.compose(C),I}),W(c,"Mixins/ColorSeries.js",[],function(){return{colorPointMixin:{setVisible:function(C){var I=this,G=C?"show":"hide";I.visible=I.options.visible=!!C,["graphic","dataLabel"].forEach(function(q){I[q]&&I[q][G]()}),this.series.buildKDTree()}},colorSeriesMixin:{optionalAxis:"colorAxis",translateColors:function(){var C=this,I=this.options.nullColor,G=this.colorAxis,q=this.colorKey;(this.data.length?this.data:this.points).forEach(function(J){var U=J.getNestedProperty(q);(U=J.options.color||(J.isNull||J.value===null?I:G&&typeof U!="undefined"?G.toColor(U,J):J.color||C.color))&&J.color!==U&&(J.color=U,C.options.legendType==="point"&&J.legendItem&&C.chart.legend.colorizeItem(J,J.visible))})}}}}),W(c,"Core/Axis/Color/ColorAxisComposition.js",[c["Core/Color/Color.js"],c["Mixins/ColorSeries.js"],c["Core/Utilities.js"]],function(C,I,G){var q=C.parse,J=I.colorPointMixin,U=I.colorSeriesMixin,V=G.addEvent,j=G.extend,A=G.merge,P=G.pick,E=G.splat,p;return function(o){function T(){var s=this,l=this.options;this.colorAxis=[],l.colorAxis&&(l.colorAxis=E(l.colorAxis),l.colorAxis.forEach(function(O,D){O.index=D,new b(s,O)}))}function w(s){var l=this,O=function(L){L=s.allItems.indexOf(L),L!==-1&&(l.destroyItem(s.allItems[L]),s.allItems.splice(L,1))},D=[],u,_;for((this.chart.colorAxis||[]).forEach(function(L){(u=L.options)&&u.showInLegend&&(u.dataClasses&&u.visible?D=D.concat(L.getDataClassLegendSymbols()):u.visible&&D.push(L),L.series.forEach(function(nt){(!nt.options.showInLegend||u.dataClasses)&&(nt.options.legendType==="point"?nt.points.forEach(function(rt){O(rt)}):O(nt))}))}),_=D.length;_--;)s.allItems.unshift(D[_])}function f(s){s.visible&&s.item.legendColor&&s.item.legendSymbol.attr({fill:s.item.legendColor})}function S(){var s=this.chart.colorAxis;s&&s.forEach(function(l,O,D){l.update({},D)})}function v(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function m(){var s=this.axisTypes;s?s.indexOf("colorAxis")===-1&&s.push("colorAxis"):this.axisTypes=["colorAxis"]}function g(s){var l=s.prototype.createAxis;s.prototype.createAxis=function(O,D){if(O!=="colorAxis")return l.apply(this,arguments);var u=new b(this,A(D.axis,{index:this[O].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(_){_.series=[]}),this.series.forEach(function(_){_.bindAxes(),_.isDirtyData=!0}),P(D.redraw,!0)&&this.redraw(D.animation),u}}function x(){this.elem.attr("fill",q(this.start).tweenTo(q(this.end),this.pos),void 0,!0)}function R(){this.elem.attr("stroke",q(this.start).tweenTo(q(this.end),this.pos),void 0,!0)}var y=[],b;o.compose=function(s,l,O,D,u){b||(b=s),y.indexOf(l)===-1&&(y.push(l),s=l.prototype,s.collectionsWithUpdate.push("colorAxis"),s.collectionsWithInit.colorAxis=[s.addColorAxis],V(l,"afterGetAxes",T),g(l)),y.indexOf(O)===-1&&(y.push(O),l=O.prototype,l.fillSetter=x,l.strokeSetter=R),y.indexOf(D)===-1&&(y.push(D),V(D,"afterGetAllItems",w),V(D,"afterColorizeItem",f),V(D,"afterUpdate",S)),y.indexOf(u)===-1&&(y.push(u),j(u.prototype,U),j(u.prototype.pointClass.prototype,J),V(u,"afterTranslate",v),V(u,"bindAxes",m))}}(p||(p={})),p}),W(c,"Core/Axis/Color/ColorAxisDefaults.js",[c["Core/Color/Palette.js"]],function(C){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:C.neutralColor40},labels:{overflow:"justify",rotation:0},minColor:C.highlightColor10,maxColor:C.highlightColor100,tickLength:5,showInLegend:!0}}),W(c,"Core/Axis/Color/ColorAxis.js",[c["Core/Axis/Axis.js"],c["Core/Color/Color.js"],c["Core/Axis/Color/ColorAxisComposition.js"],c["Core/Axis/Color/ColorAxisDefaults.js"],c["Core/Globals.js"],c["Core/Legend/LegendSymbol.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j){var A=this&&this.__extends||function(){var S=function(v,m){return S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var R in x)x.hasOwnProperty(R)&&(g[R]=x[R])},S(v,m)};return function(v,m){function g(){this.constructor=v}S(v,m),v.prototype=m===null?Object.create(m):(g.prototype=m.prototype,new g)}}(),P=I.parse,E=J.noop,p=V.series,o=j.extend,T=j.isNumber,w=j.merge,f=j.pick;return I=function(S){function v(m,g){var x=S.call(this,m,g)||this;return x.beforePadding=!1,x.chart=void 0,x.coll="colorAxis",x.dataClasses=void 0,x.legendItem=void 0,x.legendItems=void 0,x.name="",x.options=void 0,x.stops=void 0,x.visible=!0,x.init(m,g),x}return A(v,S),v.compose=function(m,g,x,R){G.compose(v,m,g,x,R)},v.prototype.init=function(m,g){var x=m.options.legend||{},R=g.layout?g.layout!=="vertical":x.layout!=="vertical",y=g.visible;x=w(v.defaultColorAxisOptions,g,{showEmpty:!1,title:null,visible:x.enabled&&y!==!1}),this.coll="colorAxis",this.side=g.side||R?2:1,this.reversed=g.reversed||!R,this.opposite=!R,S.prototype.init.call(this,m,x),this.userOptions.visible=y,g.dataClasses&&this.initDataClasses(g),this.initStops(),this.horiz=R,this.zoomEnabled=!1},v.prototype.initDataClasses=function(m){var g=this.chart,x=this.options,R=m.dataClasses.length,y,b=0,s=g.options.chart.colorCount;this.dataClasses=y=[],this.legendItems=[],(m.dataClasses||[]).forEach(function(l,O){l=w(l),y.push(l),(g.styledMode||!l.color)&&(x.dataClassColor==="category"?(g.styledMode||(O=g.options.colors,s=O.length,l.color=O[b]),l.colorIndex=b,b++,b===s&&(b=0)):l.color=P(x.minColor).tweenTo(P(x.maxColor),2>R?.5:O/(R-1)))})},v.prototype.hasData=function(){return!!(this.tickPositions||[]).length},v.prototype.setTickPositions=function(){if(!this.dataClasses)return S.prototype.setTickPositions.call(this)},v.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(m){m.color=P(m[1])})},v.prototype.setOptions=function(m){S.prototype.setOptions.call(this,m),this.options.crosshair=this.options.marker},v.prototype.setAxisSize=function(){var m=this.legendSymbol,g=this.chart,x=g.options.legend||{},R,y;m?(this.left=x=m.attr("x"),this.top=R=m.attr("y"),this.width=y=m.attr("width"),this.height=m=m.attr("height"),this.right=g.chartWidth-x-y,this.bottom=g.chartHeight-R-m,this.len=this.horiz?y:m,this.pos=this.horiz?x:R):this.len=(this.horiz?x.symbolWidth:x.symbolHeight)||v.defaultLegendLength},v.prototype.normalizedValue=function(m){return this.logarithmic&&(m=this.logarithmic.log2lin(m)),1-(this.max-m)/(this.max-this.min||1)},v.prototype.toColor=function(m,g){var x=this.dataClasses,R=this.stops,y;if(x)for(y=x.length;y--;){var b=x[y],s=b.from;if(R=b.to,(typeof s=="undefined"||m>=s)&&(typeof R=="undefined"||m<=R)){var l=b.color;g&&(g.dataClass=y,g.colorIndex=b.colorIndex);break}}else{for(m=this.normalizedValue(m),y=R.length;y--&&!(m>R[y][0]););s=R[y]||R[y+1],R=R[y+1]||s,m=1-(R[0]-m)/(R[0]-s[0]||1),l=s.color.tweenTo(R.color,m)}return l},v.prototype.getOffset=function(){var m=this.legendGroup,g=this.chart.axisOffset[this.side];m&&(this.axisParent=m,S.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=g)},v.prototype.setLegendColor=function(){var m=this.reversed,g=m?1:0;m=m?0:1,g=this.horiz?[g,0,m,0]:[0,m,0,g],this.legendColor={linearGradient:{x1:g[0],y1:g[1],x2:g[2],y2:g[3]},stops:this.stops}},v.prototype.drawLegendSymbol=function(m,g){var x=m.padding,R=m.options,y=this.horiz,b=f(R.symbolWidth,y?v.defaultLegendLength:12),s=f(R.symbolHeight,y?12:v.defaultLegendLength),l=f(R.labelPadding,y?16:30);R=f(R.itemDistance,10),this.setLegendColor(),g.legendSymbol=this.chart.renderer.rect(0,m.baseline-11,b,s).attr({zIndex:1}).add(g.legendGroup),this.legendItemWidth=b+x+(y?R:l),this.legendItemHeight=s+x+(y?l:0)},v.prototype.setState=function(m){this.series.forEach(function(g){g.setState(m)})},v.prototype.setVisible=function(){},v.prototype.getSeriesExtremes=function(){var m=this.series,g=m.length,x;for(this.dataMin=1/0,this.dataMax=-1/0;g--;){var R=m[g],y=R.colorKey=f(R.options.colorKey,R.colorKey,R.pointValKey,R.zoneAxis,"y"),b=R.pointArrayMap,s=R[y+"Min"]&&R[y+"Max"];if(R[y+"Data"])var l=R[y+"Data"];else if(b){l=[],b=b.indexOf(y);var O=R.yData;if(0<=b&&O)for(x=0;xy+b&&(s=y+b+2),g.plotX=s,g.plotY=this.len-s,S.prototype.drawCrosshair.call(this,m,g),g.plotX=x,g.plotY=R,this.cross&&!this.cross.addedToColorAxis&&this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),this.cross.addedToColorAxis=!0,this.chart.styledMode||typeof this.crosshair!="object"||this.cross.attr({fill:this.crosshair.color}))}},v.prototype.getPlotLinePath=function(m){var g=this.left,x=m.translatedValue,R=this.top;return T(x)?this.horiz?[["M",x-4,R-6],["L",x+4,R-6],["L",x,R],["Z"]]:[["M",g,x],["L",g-6,x+6],["L",g-6,x-6],["Z"]]:S.prototype.getPlotLinePath.call(this,m)},v.prototype.update=function(m,g){var x=this.chart.legend;this.series.forEach(function(R){R.isDirtyData=!0}),(m.dataClasses&&x.allItems||this.dataClasses)&&this.destroyItems(),S.prototype.update.call(this,m,g),this.legendItem&&(this.setLegendColor(),x.colorizeItem(this,!0))},v.prototype.destroyItems=function(){var m=this.chart;this.legendItem?m.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(g){m.legend.destroyItem(g)}),m.isDirtyLegend=!0},v.prototype.destroy=function(){this.chart.isDirtyLegend=!0,this.destroyItems(),S.prototype.destroy.apply(this,[].slice.call(arguments))},v.prototype.remove=function(m){this.destroyItems(),S.prototype.remove.call(this,m)},v.prototype.getDataClassLegendSymbols=function(){var m=this,g=m.chart,x=m.legendItems,R=g.options.legend,y=R.valueDecimals,b=R.valueSuffix||"",s;return x.length||m.dataClasses.forEach(function(l,O){var D=l.from,u=l.to,_=g.numberFormatter,L=!0;s="",typeof D=="undefined"?s="< ":typeof u=="undefined"&&(s="> "),typeof D!="undefined"&&(s+=_(D,y)+b),typeof D!="undefined"&&typeof u!="undefined"&&(s+=" - "),typeof u!="undefined"&&(s+=_(u,y)+b),x.push(o({chart:g,name:s,options:{},drawLegendSymbol:U.drawRectangle,visible:!0,setState:E,isDataClass:!0,setVisible:function(){L=m.visible=!L,m.series.forEach(function(nt){nt.points.forEach(function(rt){rt.dataClass===O&&rt.setVisible(L)})}),g.legend.colorizeItem(this,L)}},l))}),x},v.defaultColorAxisOptions=q,v.defaultLegendLength=200,v.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"],v}(C),Array.prototype.push.apply(C.keepProps,I.keepProps),I}),W(c,"Mixins/ColorMapSeries.js",[c["Core/Globals.js"],c["Core/Series/Point.js"],c["Core/Utilities.js"]],function(C,I,G){var q=G.defined;G=G.addEvent;var J=C.noop;return C=C.seriesTypes,G(I,"afterSetState",function(U){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:U&&U.state==="hover"?1:0})}),{colorMapPointMixin:{dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return this.value!==null&&this.value!==1/0&&this.value!==-1/0}},colorMapSeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:J,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:C.column.prototype.pointAttribs,colorAttribs:function(U){var V={};return!q(U.color)||U.state&&U.state!=="normal"||(V[this.colorProp||"fill"]=U.color),V}}}}),W(c,"Maps/MapNavigationOptionsDefault.js",[c["Core/DefaultOptions.js"],c["Core/Utilities.js"]],function(C,I){I=I.extend;var G={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1};return I(C.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"}),C.defaultOptions.mapNavigation=G}),W(c,"Maps/MapNavigation.js",[c["Core/Chart/Chart.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(C,I,G){function q(p){p&&(p.preventDefault&&p.preventDefault(),p.stopPropagation&&p.stopPropagation(),p.cancelBubble=!0)}function J(p){this.init(p)}var U=I.doc,V=G.addEvent,j=G.extend,A=G.merge,P=G.objectEach,E=G.pick;J.prototype.init=function(p){this.chart=p,p.mapNavButtons=[]},J.prototype.update=function(p){var o=this.chart,T=o.options.mapNavigation,w,f,S,v,m=function(x){this.handler.call(o,x),q(x)},g=o.mapNavButtons;for(p&&(T=o.options.mapNavigation=A(o.options.mapNavigation,p));g.length;)g.pop().destroy();E(T.enableButtons,T.enabled)&&!o.renderer.forExport&&P(T.buttons,function(x,R){x=A(T.buttonOptions,x),!o.styledMode&&x.theme&&(w=x.theme,w.style=A(x.theme.style,x.style),S=(f=w.states)&&f.hover,v=f&&f.select,delete w.states);var y=o.renderer.button(x.text||"",0,0,m,w,S,v,void 0,R==="zoomIn"?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[R]).attr({width:x.width,height:x.height,title:o.options.lang[R],padding:x.padding,zIndex:5}).add();if(y.handler=x.onclick,V(y.element,"dblclick",q),g.push(y),j(x,{width:y.width,height:2*y.height}),o.hasLoaded)y.align(x,!1,x.alignTo);else var b=V(o,"load",function(){y.element&&y.align(x,!1,x.alignTo),b()})}),this.updateEvents(T)},J.prototype.updateEvents=function(p){var o=this.chart;E(p.enableDoubleClickZoom,p.enabled)||p.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||V(o.container,"dblclick",function(T){o.pointer.onContainerDblClick(T)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),E(p.enableMouseWheelZoom,p.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||V(o.container,U.onwheel!==void 0?"wheel":U.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll",function(T){return o.pointer.inClass(T.target,"highcharts-no-mousewheel")||(o.pointer.onContainerMouseWheel(T),q(T)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())},j(C.prototype,{fitToBox:function(p,o){return[["x","width"],["y","height"]].forEach(function(T){var w=T[0];T=T[1],p[w]+p[T]>o[w]+o[T]&&(p[T]>o[T]?(p[T]=o[T],p[w]=o[w]):p[w]=o[w]+o[T]-p[T]),p[T]>o[T]&&(p[T]=o[T]),p[w]=v.dataMax-v.dataMin&&g.y<=m.dataMin&&g.height>=m.dataMax-m.dataMin,w&&v.mapAxis&&(v.mapAxis.fixTo=[w-v.pos,o]),f&&m.mapAxis&&(m.mapAxis.fixTo=[f-m.pos,T]),typeof p=="undefined"||x?(v.setExtremes(void 0,void 0,!1),m.setExtremes(void 0,void 0,!1)):(v.setExtremes(g.x,g.x+g.width,!1),m.setExtremes(g.y,g.y+g.height,!1)),this.redraw(S)}}),V(C,"beforeRender",function(){this.mapNavigation=new J(this),this.mapNavigation.update()}),I.MapNavigation=J}),W(c,"Maps/MapPointer.js",[c["Core/Pointer.js"],c["Core/Utilities.js"]],function(C,I){var G=I.extend,q=I.pick;I=I.wrap;var J=0,U;G(C.prototype,{onContainerDblClick:function(V){var j=this.chart;V=this.normalize(V),j.options.mapNavigation.enableDoubleClickZoomTo?j.pointer.inClass(V.target,"highcharts-tracker")&&j.hoverPoint&&j.hoverPoint.zoomTo():j.isInsidePlot(V.chartX-j.plotLeft,V.chartY-j.plotTop)&&j.mapZoom(.5,j.xAxis[0].toValue(V.chartX),j.yAxis[0].toValue(V.chartY),V.chartX,V.chartY)},onContainerMouseWheel:function(V){var j=this.chart;V=this.normalize(V);var A=V.deltaY||V.detail||-(V.wheelDelta/120);1<=Math.abs(A)&&(J+=Math.abs(A),U&&clearTimeout(U),U=setTimeout(function(){J=0},50)),10>J&&j.isInsidePlot(V.chartX-j.plotLeft,V.chartY-j.plotTop)&&j.mapZoom(Math.pow(j.options.mapNavigation.mouseWheelSensitivity,A),j.xAxis[0].toValue(V.chartX),j.yAxis[0].toValue(V.chartY),V.chartX,V.chartY,1>Math.abs(A)?!1:void 0)}}),I(C.prototype,"zoomOption",function(V){var j=this.chart.options.mapNavigation;q(j.enableTouchZoom,j.enabled)&&(this.chart.options.chart.pinchType="xy"),V.apply(this,[].slice.call(arguments,1))}),I(C.prototype,"pinchTranslate",function(V,j,A,P,E,p,o){V.call(this,j,A,P,E,p,o),this.chart.options.chart.type==="map"&&this.hasZoom&&(V=P.scaleX>P.scaleY,this.pinchTranslateDirection(!V,j,A,P,E,p,o,V?P.scaleX:P.scaleY))})}),W(c,"Maps/MapSymbols.js",[c["Core/Renderer/SVG/SVGRenderer.js"]],function(C){function I(G,q,J,U,V,j,A,P){return[["M",G+V,q],["L",G+J-j,q],["C",G+J-j/2,q,G+J,q+j/2,G+J,q+j],["L",G+J,q+U-A],["C",G+J,q+U-A/2,G+J-A/2,q+U,G+J-A,q+U],["L",G+P,q+U],["C",G+P/2,q+U,G,q+U-P/2,G,q+U-P],["L",G,q+V],["C",G,q+V/2,G+V/2,q,G+V,q],["Z"]]}return C=C.prototype.symbols,C.bottombutton=function(G,q,J,U,V){return V=V&&V.r||0,I(G-1,q-1,J,U,0,0,V,V)},C.topbutton=function(G,q,J,U,V){return V=V&&V.r||0,I(G-1,q-1,J,U,V,V,0,0)},C}),W(c,"Core/Chart/MapChart.js",[c["Core/Chart/Chart.js"],c["Core/DefaultOptions.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"]],function(C,I,G,q){var J=this&&this.__extends||function(){var A=function(P,E){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,o){p.__proto__=o}||function(p,o){for(var T in o)o.hasOwnProperty(T)&&(p[T]=o[T])},A(P,E)};return function(P,E){function p(){this.constructor=P}A(P,E),P.prototype=E===null?Object.create(E):(p.prototype=E.prototype,new p)}}(),U=I.getOptions,V=q.merge,j=q.pick;return C=function(A){function P(){return A!==null&&A.apply(this,arguments)||this}return J(P,A),P.prototype.init=function(E,p){var o={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},T=U().credits;E=V({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:j(T.mapText,' \xA9 {geojson.copyrightShort}'),mapTextFull:j(T.mapTextFull,"{geojson.copyright}")},tooltip:{followTouchMove:!1},xAxis:o,yAxis:V(o,{reversed:!0})},E,{chart:{inverted:!1,alignTicks:!1}}),A.prototype.init.call(this,E,p)},P}(C),function(A){A.maps={},A.mapChart=function(P,E,p){return new A(P,E,p)},A.splitPath=function(P){return typeof P=="string"&&(P=P.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),P=P.split(/[ ,;]+/).map(function(E){return/[A-za-z]/.test(E)?E:parseFloat(E)})),G.prototype.pathToSegments(P)}}(C||(C={})),C}),W(c,"Series/Map/MapPoint.js",[c["Mixins/ColorMapSeries.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G){var q=this&&this.__extends||function(){var U=function(V,j){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,P){A.__proto__=P}||function(A,P){for(var E in P)P.hasOwnProperty(E)&&(A[E]=P[E])},U(V,j)};return function(V,j){function A(){this.constructor=V}U(V,j),V.prototype=j===null?Object.create(j):(A.prototype=j.prototype,new A)}}();C=C.colorMapPointMixin;var J=G.extend;return I=function(U){function V(){var j=U!==null&&U.apply(this,arguments)||this;return j.options=void 0,j.path=void 0,j.series=void 0,j}return q(V,U),V.prototype.applyOptions=function(j,A){var P=this.series;return j=U.prototype.applyOptions.call(this,j,A),A=P.joinBy,P.mapData&&P.mapMap&&(A=U.prototype.getNestedProperty.call(j,A[1]),(A=typeof A!="undefined"&&P.mapMap[A])?(P.xyFromShape&&(j.x=A._midX,j.y=A._midY),J(j,A)):j.value=j.value||null),j},V.prototype.onMouseOver=function(j){G.clearTimeout(this.colorInterval),this.value!==null||this.series.options.nullInteraction?U.prototype.onMouseOver.call(this,j):this.series.onMouseOut(j)},V.prototype.zoomTo=function(){var j=this.series;j.xAxis.setExtremes(this._minX,this._maxX,!1),j.yAxis.setExtremes(this._minY,this._maxY,!1),j.chart.redraw()},V}(I.seriesTypes.scatter.prototype.pointClass),J(I.prototype,{dataLabelOnNull:C.dataLabelOnNull,isValid:C.isValid,moveToTopOnHover:C.moveToTopOnHover}),I}),W(c,"Series/Map/MapSeries.js",[c["Mixins/ColorMapSeries.js"],c["Core/Globals.js"],c["Core/Legend/LegendSymbol.js"],c["Core/Chart/MapChart.js"],c["Series/Map/MapPoint.js"],c["Core/Color/Palette.js"],c["Core/Series/Series.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j,A,P){var E=this&&this.__extends||function(){var s=function(l,O){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,u){D.__proto__=u}||function(D,u){for(var _ in u)u.hasOwnProperty(_)&&(D[_]=u[_])},s(l,O)};return function(l,O){function D(){this.constructor=l}s(l,O),l.prototype=O===null?Object.create(O):(D.prototype=O.prototype,new D)}}();C=C.colorMapSeriesMixin;var p=I.noop,o=q.maps,T=q.splitPath;q=j.seriesTypes;var w=q.column,f=q.scatter;q=P.extend;var S=P.fireEvent,v=P.getNestedProperty,m=P.isArray,g=P.isNumber,x=P.merge,R=P.objectEach,y=P.pick,b=P.splat;return P=function(s){function l(){var O=s!==null&&s.apply(this,arguments)||this;return O.baseTrans=void 0,O.chart=void 0,O.data=void 0,O.group=void 0,O.joinBy=void 0,O.options=void 0,O.points=void 0,O.transformGroup=void 0,O}return E(l,s),l.prototype.animate=function(O){var D=this.options.animation,u=this.group,_=this.xAxis,L=this.yAxis,nt=_.pos,rt=L.pos;this.chart.renderer.isSVG&&(D===!0&&(D={duration:1e3}),O?u.attr({translateX:nt+_.len/2,translateY:rt+L.len/2,scaleX:.001,scaleY:.001}):u.animate({translateX:nt,translateY:rt,scaleX:1,scaleY:1},D))},l.prototype.animateDrilldown=function(O){var D=this.chart.plotBox,u=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],_=u.bBox,L=this.chart.options.drilldown.animation;O||(O=Math.min(_.width/D.width,_.height/D.height),u.shapeArgs={scaleX:O,scaleY:O,translateX:_.x,translateY:_.y},this.points.forEach(function(nt){nt.graphic&&nt.graphic.attr(u.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},L)}))},l.prototype.animateDrillupFrom=function(O){w.prototype.animateDrillupFrom.call(this,O)},l.prototype.animateDrillupTo=function(O){w.prototype.animateDrillupTo.call(this,O)},l.prototype.doFullTranslate=function(){return this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML||!this.baseTrans},l.prototype.drawMapDataLabels=function(){V.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},l.prototype.drawPoints=function(){var O=this,D=O.xAxis,u=O.yAxis,_=O.group,L=O.chart,nt=L.renderer,rt=this.baseTrans;if(O.transformGroup||(O.transformGroup=nt.g().attr({scaleX:1,scaleY:1}).add(_),O.transformGroup.survive=!0),O.doFullTranslate())L.hasRendered&&!L.styledMode&&O.points.forEach(function(z){z.shapeArgs&&(z.shapeArgs.fill=O.pointAttribs(z,z.state).fill)}),O.group=O.transformGroup,w.prototype.drawPoints.apply(O),O.group=_,O.points.forEach(function(z){if(z.graphic){var tt="";z.name&&(tt+="highcharts-name-"+z.name.replace(/ /g,"-").toLowerCase()),z.properties&&z.properties["hc-key"]&&(tt+=" highcharts-key-"+z.properties["hc-key"].toLowerCase()),tt&&z.graphic.addClass(tt),L.styledMode&&z.graphic.css(O.pointAttribs(z,z.selected&&"select"||void 0))}}),this.baseTrans={originX:D.min-D.minPixelPadding/D.transA,originY:u.min-u.minPixelPadding/u.transA+(u.reversed?0:u.len/u.transA),transAX:D.transA,transAY:u.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,scaleY:1});else{var it=D.transA/rt.transAX,X=u.transA/rt.transAY,ct=D.toPixels(rt.originX,!0),B=u.toPixels(rt.originY,!0);.99it&&.99X&&(X=it=1,ct=Math.round(ct),B=Math.round(B));var F=this.transformGroup;if(L.renderer.globalAnimation){var ut=F.attr("translateX"),ft=F.attr("translateY"),et=F.attr("scaleX"),ht=F.attr("scaleY");F.attr({animator:0}).animate({animator:1},{step:function(z,tt){F.attr({translateX:ut+(ct-ut)*tt.pos,translateY:ft+(B-ft)*tt.pos,scaleX:et+(it-et)*tt.pos,scaleY:ht+(X-ht)*tt.pos})}})}else F.attr({translateX:ct,translateY:B,scaleX:it,scaleY:X})}L.styledMode||_.element.setAttribute("stroke-width",y(O.options[O.pointAttrToOptions&&O.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(it||1)),this.drawMapDataLabels()},l.prototype.getBox=function(O){var D=Number.MAX_VALUE,u=-D,_=D,L=-D,nt=D,rt=D,it=this.xAxis,X=this.yAxis,ct;(O||[]).forEach(function(B){if(B.path){typeof B.path=="string"?B.path=T(B.path):B.path[0]==="M"&&(B.path=A.prototype.pathToSegments(B.path));var F=B.path||[],ut=-D,ft=D,et=-D,ht=D,z=B.properties;B._foundBox||(F.forEach(function(tt){var Q=tt[tt.length-2];tt=tt[tt.length-1],typeof Q=="number"&&typeof tt=="number"&&(ft=Math.min(ft,Q),ut=Math.max(ut,Q),ht=Math.min(ht,tt),et=Math.max(et,tt))}),B._midX=ft+(ut-ft)*y(B.middleX,z&&z["hc-middle-x"],.5),B._midY=ht+(et-ht)*y(B.middleY,z&&z["hc-middle-y"],.5),B._maxX=ut,B._minX=ft,B._maxY=et,B._minY=ht,B.labelrank=y(B.labelrank,(ut-ft)*(et-ht)),B._foundBox=!0),u=Math.max(u,B._maxX),_=Math.min(_,B._minX),L=Math.max(L,B._maxY),nt=Math.min(nt,B._minY),rt=Math.min(B._maxX-B._minX,B._maxY-B._minY,rt),ct=!0}}),ct&&(this.minY=Math.min(nt,y(this.minY,D)),this.maxY=Math.max(L,y(this.maxY,-D)),this.minX=Math.min(_,y(this.minX,D)),this.maxX=Math.max(u,y(this.maxX,-D)),it&&typeof it.options.minRange=="undefined"&&(it.minRange=Math.min(5*rt,(this.maxX-this.minX)/5,it.minRange||D)),X&&typeof X.options.minRange=="undefined"&&(X.minRange=Math.min(5*rt,(this.maxY-this.minY)/5,X.minRange||D)))},l.prototype.getExtremes=function(){var O=V.prototype.getExtremes.call(this,this.valueData),D=O.dataMin;return O=O.dataMax,this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data),g(D)&&(this.valueMin=D),g(O)&&(this.valueMax=O),{dataMin:this.minY,dataMax:this.maxY}},l.prototype.hasData=function(){return!!this.processedXData.length},l.prototype.pointAttribs=function(O,D){return D=O.series.chart.styledMode?this.colorAttribs(O):w.prototype.pointAttribs.call(this,O,D),D["stroke-width"]=y(O.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||"borderWidth"],"inherit"),D},l.prototype.render=function(){var O=this,D=V.prototype.render;O.chart.renderer.isVML&&3e3ct.length&&typeof ht[0]=="string"&&(O[z]["hc-key"]=ht[0],++tt);for(var Q=0;Q"},turboThreshold:0,allAreas:!0,borderColor:U.neutralColor20,borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:U.neutralColor20},inactive:{opacity:1}}}),l}(f),q(P.prototype,{type:"map",axisTypes:C.axisTypes,colorAttribs:C.colorAttribs,colorKey:C.colorKey,directTouch:!0,drawDataLabels:p,drawGraph:p,drawLegendSymbol:G.drawRectangle,forceDL:!0,getExtremesFromAll:!0,getSymbol:C.getSymbol,parallelArrays:C.parallelArrays,pointArrayMap:C.pointArrayMap,pointClass:J,preserveAspectRatio:!0,searchPoint:p,trackerGroups:C.trackerGroups,useMapGeometry:!0}),j.registerSeriesType("map",P),P}),W(c,"Series/MapLine/MapLineSeries.js",[c["Series/Map/MapSeries.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G){var q=this&&this.__extends||function(){var j=function(A,P){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,p){E.__proto__=p}||function(E,p){for(var o in p)p.hasOwnProperty(o)&&(E[o]=p[o])},j(A,P)};return function(A,P){function E(){this.constructor=A}j(A,P),A.prototype=P===null?Object.create(P):(E.prototype=P.prototype,new E)}}(),J=I.series,U=G.extend,V=G.merge;return G=function(j){function A(){var P=j!==null&&j.apply(this,arguments)||this;return P.data=void 0,P.options=void 0,P.points=void 0,P}return q(A,j),A.prototype.pointAttribs=function(P,E){return P=C.prototype.pointAttribs.call(this,P,E),P.fill=this.options.fillColor,P},A.defaultOptions=V(C.defaultOptions,{lineWidth:1,fillColor:"none"}),A}(C),U(G.prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:J.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),I.registerSeriesType("mapline",G),G}),W(c,"Series/MapPoint/MapPointPoint.js",[c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I){var G=this&&this.__extends||function(){var J=function(U,V){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,A){j.__proto__=A}||function(j,A){for(var P in A)A.hasOwnProperty(P)&&(j[P]=A[P])},J(U,V)};return function(U,V){function j(){this.constructor=U}J(U,V),U.prototype=V===null?Object.create(V):(j.prototype=V.prototype,new j)}}(),q=I.merge;return function(J){function U(){var V=J!==null&&J.apply(this,arguments)||this;return V.options=void 0,V.series=void 0,V}return G(U,J),U.prototype.applyOptions=function(V,j){return V=typeof V.lat!="undefined"&&typeof V.lon!="undefined"?q(V,this.series.chart.fromLatLonToPoint(V)):V,J.prototype.applyOptions.call(this,V,j)},U}(C.seriesTypes.scatter.prototype.pointClass)}),W(c,"Series/MapPoint/MapPointSeries.js",[c["Series/MapPoint/MapPointPoint.js"],c["Core/Color/Palette.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G,q){var J=this&&this.__extends||function(){var A=function(P,E){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,o){p.__proto__=o}||function(p,o){for(var T in o)o.hasOwnProperty(T)&&(p[T]=o[T])},A(P,E)};return function(P,E){function p(){this.constructor=P}A(P,E),P.prototype=E===null?Object.create(E):(p.prototype=E.prototype,new p)}}(),U=G.seriesTypes.scatter,V=q.extend,j=q.merge;return q=function(A){function P(){var E=A!==null&&A.apply(this,arguments)||this;return E.data=void 0,E.options=void 0,E.points=void 0,E}return J(P,A),P.prototype.drawDataLabels=function(){A.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},P.defaultOptions=j(U.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:I.neutralColor100}}}),P}(U),V(q.prototype,{type:"mappoint",forceDL:!0,pointClass:C}),G.registerSeriesType("mappoint",q),q}),W(c,"Series/Bubble/BubbleLegendDefaults.js",[c["Core/Color/Palette.js"]],function(C){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:C.neutralColor100},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),W(c,"Series/Bubble/BubbleLegendItem.js",[c["Core/Color/Color.js"],c["Core/FormatUtilities.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(C,I,G,q){var J=C.parse,U=G.noop,V=q.arrayMax,j=q.arrayMin,A=q.isNumber,P=q.merge,E=q.pick,p=q.stableSort;return function(){function o(T,w){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=U,this.init(T,w)}return o.prototype.init=function(T,w){this.options=T,this.visible=!0,this.chart=w.chart,this.legend=w},o.prototype.addToLegend=function(T){T.splice(this.options.legendIndex,0,this)},o.prototype.drawLegendSymbol=function(T){var w=this.chart,f=this.options,S=E(T.options.itemDistance,20),v=f.ranges,m=f.connectorDistance;this.fontMetrics=w.renderer.fontMetrics(f.labels.style.fontSize),v&&v.length&&A(v[0].value)?(p(v,function(g,x){return x.value-g.value}),this.ranges=v,this.setOptions(),this.render(),T=this.getMaxLabelSize(),v=this.ranges[0].radius,w=2*v,m=m-v+T.width,m=0=w&&this.renderRange(f)},this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},o.prototype.renderRange=function(T){var w=this.options,f=w.labels,S=this.chart,v=S.series[w.seriesIndex],m=S.renderer,g=this.symbols;S=g.labels;var x=T.center,R=Math.abs(T.radius),y=w.connectorDistance||0,b=f.align,s=w.connectorWidth,l=this.ranges[0].radius||0,O=x-R-w.borderWidth/2+s/2,D=this.fontMetrics;D=D.f/2-(D.h-D.f)/2;var u=m.styledMode;y=this.legend.options.rtl||b==="left"?-y:y,b==="center"&&(y=0,w.connectorDistance=0,T.labelAttribs.align="center"),b=O+w.labels.y;var _=l+y+w.labels.x;g.bubbleItems.push(m.circle(l,x+((O%1?1:.5)-(s%2?0:.5)),R).attr(u?{}:T.bubbleAttribs).addClass((u?"highcharts-color-"+v.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(w.className||"")).add(this.legendSymbol)),g.connectors.push(m.path(m.crispLine([["M",l,O],["L",l+y,O]],w.connectorWidth)).attr(u?{}:T.connectorAttribs).addClass((u?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(w.connectorClassName||"")).add(this.legendSymbol)),T=m.text(this.formatLabel(T),_,b+D).attr(u?{}:T.labelAttribs).css(u?{}:f.style).addClass("highcharts-bubble-legend-labels "+(w.labels.className||"")).add(this.legendSymbol),S.push(T),T.placed=!0,T.alignAttr={x:_,y:b+D}},o.prototype.getMaxLabelSize=function(){var T,w;return this.symbols.labels.forEach(function(f){w=f.getBBox(!0),T=T?w.width>T.width?w:T:w}),T||{}},o.prototype.formatLabel=function(T){var w=this.options,f=w.labels.formatter;w=w.labels.format;var S=this.chart.numberFormatter;return w?I.format(w,T):f?f.call(T):S(T.value,1)},o.prototype.hideOverlappingLabels=function(){var T=this.chart,w=this.symbols;!this.options.labels.allowOverlap&&w&&(T.hideOverlappingLabels(w.labels),w.labels.forEach(function(f,S){f.newOpacity?f.newOpacity!==f.oldOpacity&&w.connectors[S].show():w.connectors[S].hide()}))},o.prototype.getRanges=function(){var T=this.legend.bubbleLegend,w=T.options.ranges,f,S=Number.MAX_VALUE,v=-Number.MAX_VALUE;T.chart.series.forEach(function(g){g.isBubble&&!g.ignoreSeries&&(f=g.zData.filter(A),f.length&&(S=E(g.options.zMin,Math.min(S,Math.max(j(f),g.options.displayNegative===!1?g.options.zThreshold:-Number.MAX_VALUE))),v=E(g.options.zMax,Math.max(v,V(f)))))});var m=S===v?[{value:v}]:[{value:S},{value:(S+v)/2},{value:v,autoRanges:!0}];return w.length&&w[0].radius&&m.reverse(),m.forEach(function(g,x){w&&w[x]&&(m[x]=P(w[x],g))}),m},o.prototype.predictBubbleSizes=function(){var T=this.chart,w=this.fontMetrics,f=T.legend.options,S=f.layout==="horizontal",v=S?T.legend.lastLineHeight:0,m=T.plotSizeX,g=T.plotSizeY,x=T.series[this.options.seriesIndex];T=Math.ceil(x.minPxSize);var R=Math.ceil(x.maxPxSize),y=Math.min(g,m);return x=x.options.maxSize,f.floating||!/%$/.test(x)?w=R:(x=parseFloat(x),w=(y+v-w.h/2)*x/100/(x/100+1),(S&&g-w>=m||!S&&m-w>=g)&&(w=R)),[T,Math.ceil(w)]},o.prototype.updateRanges=function(T,w){var f=this.legend.options.bubbleLegend;f.minSize=T,f.maxSize=w,f.ranges=this.getRanges()},o.prototype.correctSizes=function(){var T=this.legend,w=this.chart.series[this.options.seriesIndex];1y.height&&(y.height=v[R].itemHeight);y.step=x}return m}function T(v){var m=this.bubbleLegend,g=this.options,x=g.bubbleLegend,R=p(this.chart);m&&m.ranges&&m.ranges.length&&(x.ranges.length&&(x.autoRanges=!!x.ranges[0].autoRanges),this.destroyItem(m)),0<=R&&g.enabled&&x.enabled&&(x.seriesIndex=R,this.bubbleLegend=new I(x,this),this.bubbleLegend.addToLegend(v.allItems))}function w(){var v=this.chart,m=this.visible,g=this.chart.legend;g&&g.bubbleLegend&&(this.visible=!m,this.ignoreSeries=m,v=0<=p(v),g.bubbleLegend.visible!==v&&(g.update({bubbleLegend:{enabled:v}}),g.bubbleLegend.visible=v),this.visible=m)}function f(v,m){var g=v.options.rtl,x,R,y,b=0;v.allItems.forEach(function(s,l){x=s.legendGroup.translateX,R=s._legendItemPos[1],((y=s.movementX)||g&&s.ranges)&&(y=g?x-s.options.maxSize/2:x+y,s.legendGroup.attr({translateX:y})),l>m[b].step&&b++,s.legendGroup.attr({translateY:Math.round(R+m[b].height/2)}),s._legendItemPos[1]=R+m[b].height/2})}var S=[];P.compose=function(v,m,g){S.indexOf(v)===-1&&(S.push(v),J({legend:{bubbleLegend:C}}),j(v.prototype,"drawChartBox",E)),S.indexOf(m)===-1&&(S.push(m),U(m,"afterGetAllItems",T)),S.indexOf(g)===-1&&(S.push(g),U(g,"legendItemClick",w))}}(A||(A={})),A}),W(c,"Series/Bubble/BubblePoint.js",[c["Core/Series/Point.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G){var q=this&&this.__extends||function(){var J=function(U,V){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,A){j.__proto__=A}||function(j,A){for(var P in A)A.hasOwnProperty(P)&&(j[P]=A[P])},J(U,V)};return function(U,V){function j(){this.constructor=U}J(U,V),U.prototype=V===null?Object.create(V):(j.prototype=V.prototype,new j)}}();return G=G.extend,I=function(J){function U(){var V=J!==null&&J.apply(this,arguments)||this;return V.options=void 0,V.series=void 0,V}return q(U,J),U.prototype.haloPath=function(V){return C.prototype.haloPath.call(this,V===0?0:(this.marker&&this.marker.radius||0)+V)},U}(I.seriesTypes.scatter.prototype.pointClass),G(I.prototype,{ttBelow:!1}),I}),W(c,"Series/Bubble/BubbleSeries.js",[c["Core/Axis/Axis.js"],c["Series/Bubble/BubbleLegendComposition.js"],c["Series/Bubble/BubblePoint.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Core/Series/Series.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(C,I,G,q,J,U,V,j){var A=this&&this.__extends||function(){var x=function(R,y){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,s){b.__proto__=s}||function(b,s){for(var l in s)s.hasOwnProperty(l)&&(b[l]=s[l])},x(R,y)};return function(R,y){function b(){this.constructor=R}x(R,y),R.prototype=y===null?Object.create(y):(b.prototype=y.prototype,new b)}}(),P=q.parse;q=J.noop;var E=V.seriesTypes;J=E.column;var p=E.scatter,o=j.arrayMax,T=j.arrayMin,w=j.clamp,f=j.extend,S=j.isNumber,v=j.merge,m=j.pick,g=j.pInt;return j=function(x){function R(){var y=x!==null&&x.apply(this,arguments)||this;return y.data=void 0,y.maxPxSize=void 0,y.minPxSize=void 0,y.options=void 0,y.points=void 0,y.radii=void 0,y.yData=void 0,y.zData=void 0,y}return A(R,x),R.prototype.animate=function(y){!y&&this.points.length=this.minPxSize/2?(l.marker=f(l.marker,{radius:O,width:2*O,height:2*O}),l.dlBox={x:l.plotX-O,y:l.plotY-O,width:2*O,height:2*O}):l.shapeArgs=l.plotY=l.dlBox=void 0}},R.compose=I.compose,R.defaultOptions=v(p.defaultOptions,{dataLabels:{formatter:function(){var y=this.series.chart.numberFormatter,b=this.point.z;return S(b)?y(b,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),R}(p),f(j.prototype,{alignDataLabel:J.prototype.alignDataLabel,applyZones:q,bubblePadding:!0,buildKDTree:q,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:G,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),C.prototype.beforePadding=function(){var x=this,R=this.len,y=this.chart,b=0,s=R,l=this.isXAxis,O=l?"xData":"yData",D=this.min,u={},_=Math.min(y.plotWidth,y.plotHeight),L=Number.MAX_VALUE,nt=-Number.MAX_VALUE,rt=this.max-D,it=R/rt,X=[];this.series.forEach(function(ct){var B=ct.options;!ct.bubblePadding||!ct.visible&&y.options.chart.ignoreHiddenSeries||(x.allowZoomOutside=!0,X.push(ct),l&&(["minSize","maxSize"].forEach(function(F){var ut=B[F],ft=/%$/.test(ut);ut=g(ut),u[F]=ft?_*ut/100:ut}),ct.minPxSize=u.minSize,ct.maxPxSize=Math.max(u.maxSize,u.minSize),ct=ct.zData.filter(S),ct.length&&(L=m(B.zMin,w(T(ct),B.displayNegative===!1?B.zThreshold:-Number.MAX_VALUE,L)),nt=m(B.zMax,Math.max(nt,o(ct))))))}),X.forEach(function(ct){var B=ct[O],F=B.length;if(l&&ct.getRadii(L,nt,ct),0"},states:{hover:{halo:!1,brightness:.2}}}),x}(o),w(V.prototype,{alignDataLabel:p.prototype.alignDataLabel,axisTypes:I.axisTypes,colorAttribs:I.colorAttribs,colorKey:I.colorKey,directTouch:!0,drawLegendSymbol:q.drawRectangle,getExtremesFromAll:!0,getSymbol:P.prototype.getSymbol,parallelArrays:I.parallelArrays,pointArrayMap:["y","value"],pointClass:G,trackerGroups:I.trackerGroups}),U.registerSeriesType("heatmap",V),V}),W(c,"Extensions/GeoJSON.js",[c["Core/Chart/Chart.js"],c["Core/FormatUtilities.js"],c["Core/Globals.js"],c["Core/Utilities.js"]],function(C,I,G,q){function J(E,p){var o,T=!1,w=E.x,f=E.y;for(E=0,o=p.length-1;Ef,v=p[o][1]>f;S!==v&&w<(p[o][0]-p[E][0])*(f-p[E][1])/(p[o][1]-p[E][1])+p[E][0]&&(T=!T)}return T}var U=I.format,V=G.win,j=q.error,A=q.extend,P=q.merge;I=q.wrap,C.prototype.transformFromLatLon=function(E,p){var o=this.userOptions.chart&&this.userOptions.chart.proj4||V.proj4;if(!o)return j(21,!1,this),{x:0,y:null};E=o(p.crs,[E.lon,E.lat]),o=p.cosAngle||p.rotation&&Math.cos(p.rotation);var T=p.sinAngle||p.rotation&&Math.sin(p.rotation);return E=p.rotation?[E[0]*o+E[1]*T,-E[0]*T+E[1]*o]:E,{x:((E[0]-(p.xoffset||0))*(p.scale||1)+(p.xpan||0))*(p.jsonres||1)+(p.jsonmarginX||0),y:(((p.yoffset||0)-E[1])*(p.scale||1)+(p.ypan||0))*(p.jsonres||1)-(p.jsonmarginY||0)}},C.prototype.transformToLatLon=function(E,p){if(typeof V.proj4=="undefined")j(21,!1,this);else{E={x:((E.x-(p.jsonmarginX||0))/(p.jsonres||1)-(p.xpan||0))/(p.scale||1)+(p.xoffset||0),y:((-E.y-(p.jsonmarginY||0))/(p.jsonres||1)+(p.ypan||0))/(p.scale||1)+(p.yoffset||0)};var o=p.cosAngle||p.rotation&&Math.cos(p.rotation),T=p.sinAngle||p.rotation&&Math.sin(p.rotation);return p=V.proj4(p.crs,"WGS84",p.rotation?{x:E.x*o+E.y*-T,y:E.x*T+E.y*o}:E),{lat:p.y,lon:p.x}}},C.prototype.fromPointToLatLon=function(E){var p=this.mapTransforms,o;if(p){for(o in p)if(Object.hasOwnProperty.call(p,o)&&p[o].hitZone&&J({x:E.x,y:-E.y},p[o].hitZone.coordinates[0]))return this.transformToLatLon(E,p[o]);return this.transformToLatLon(E,p.default)}j(22,!1,this)},C.prototype.fromLatLonToPoint=function(E){var p=this.mapTransforms,o;if(!p)return j(22,!1,this),{x:0,y:null};for(o in p)if(Object.hasOwnProperty.call(p,o)&&p[o].hitZone){var T=this.transformFromLatLon(E,p[o]);if(J({x:T.x,y:-T.y},p[o].hitZone.coordinates[0]))return T}return this.transformFromLatLon(E,p.default)},G.geojson=function(E,p,o){var T=[],w=[],f=function(S){S.forEach(function(v,m){m===0?w.push(["M",v[0],-v[1]]):w.push(["L",v[0],-v[1]])})};return p=p||"map",E.features.forEach(function(S){var v=S.geometry,m=v.type;v=v.coordinates,S=S.properties;var g;w=[],p==="map"||p==="mapbubble"?(m==="Polygon"?(v.forEach(f),w.push(["Z"])):m==="MultiPolygon"&&(v.forEach(function(x){x.forEach(f)}),w.push(["Z"])),w.length&&(g={path:w})):p==="mapline"?(m==="LineString"?f(v):m==="MultiLineString"&&v.forEach(f),w.length&&(g={path:w})):p==="mappoint"&&m==="Point"&&(g={x:v[0],y:-v[1]}),g&&T.push(A(g,{name:S.name||S.NAME,properties:S}))}),o&&E.copyrightShort&&(o.chart.mapCredits=U(o.chart.options.credits.mapText,{geojson:E}),o.chart.mapCreditsFull=U(o.chart.options.credits.mapTextFull,{geojson:E})),T},I(C.prototype,"addCredits",function(E,p){p=P(!0,this.options.credits,p),this.mapCredits&&(p.href=null),E.call(this,p),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})}),W(c,"masters/modules/map.src.js",[c["Core/Globals.js"],c["Core/Axis/Color/ColorAxis.js"],c["Series/MapBubble/MapBubbleSeries.js"],c["Core/Chart/MapChart.js"]],function(C,I,G,q){C.ColorAxis=I,C.MapChart=q,C.mapChart=C.Map=q.mapChart,C.maps=q.maps,I.compose(C.Chart,C.Fx,C.Legend,C.Series),G.compose(C.Chart,C.Legend,C.Series)}),W(c,"masters/highmaps.src.js",[c["masters/highcharts.src.js"]],function(C){return C.product="Highmaps",C}),c["masters/highmaps.src.js"]._modules=c,c["masters/highmaps.src.js"]})},1248:(yr,we,wt)=>{"use strict";var Z,At;(function(W){yr.exports?(W.default=W,yr.exports=W):(Z=[wt(6193)],At=function(c){return W(c),W.Highcharts=c,W}.apply(we,Z),At!==void 0&&(yr.exports=At))})(function(W){function c(C,I,G,q){C.hasOwnProperty(I)||(C[I]=q.apply(null,G))}W=W?W._modules:{},c(W,"Accessibility/Utils/HTMLUtilities.js",[W["Core/Globals.js"],W["Core/Utilities.js"]],function(C,I){var G=C.doc,q=C.win,J=I.merge;return{addClass:function(U,V){U.classList?U.classList.add(V):0>U.className.indexOf(V)&&(U.className+=V)},escapeStringForHTML:function(U){return U.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")},getElement:function(U){return G.getElementById(U)},getFakeMouseEvent:function(U){if(typeof q.MouseEvent=="function")return new q.MouseEvent(U);if(G.createEvent){var V=G.createEvent("MouseEvent");if(V.initMouseEvent)return V.initMouseEvent(U,!0,!0,q,U==="click"?1:0,0,0,0,0,!1,!1,!1,!1,0,null),V}return{type:U}},getHeadingTagNameForElement:function(U){var V=function(A){return A=parseInt(A.slice(1),10),"h"+Math.min(6,A+1)},j=function(A){var P;t:{for(P=A;P=P.previousSibling;){var E=P.tagName||"";if(/H[1-6]/.test(E)){P=E;break t}}P=""}return P?V(P):(A=A.parentElement,A?(P=A.tagName,/H[1-6]/.test(P)?V(P):j(A)):"p")};return j(U)},removeElement:function(U){U&&U.parentNode&&U.parentNode.removeChild(U)},reverseChildNodes:function(U){for(var V=U.childNodes.length;V--;)U.appendChild(U.childNodes[V])},setElAttrs:function(U,V){Object.keys(V).forEach(function(j){var A=V[j];A===null?U.removeAttribute(j):U.setAttribute(j,A)})},stripHTMLTagsFromString:function(U){return typeof U=="string"?U.replace(/<\/?[^>]+(>|$)/g,""):U},visuallyHideElement:function(U){J(!0,U.style,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:"0.01"})}}}),c(W,"Accessibility/Utils/ChartUtilities.js",[W["Accessibility/Utils/HTMLUtilities.js"],W["Core/Globals.js"],W["Core/Utilities.js"]],function(C,I,G){function q(T){var w=T.chart,f={},S="Seconds";f.Seconds=((T.max||0)-(T.min||0))/1e3,f.Minutes=f.Seconds/60,f.Hours=f.Minutes/60,f.Days=f.Hours/24,["Minutes","Hours","Days"].forEach(function(m){2y||s!==R-1,b.a11yProxyElement&&(b.a11yProxyElement.style.visibility=s?"hidden":"visible")})},onChartRender:function(){P(this.chart)||this.removeProxies()},onChartUpdate:function(){this.updateLegendTitle()},updateProxiesPositions:function(){for(var x=0,R=this.proxyElementsList;x/g," "));x=x.langFormat("accessibility.legend.legendLabel"+(R?"":"NoTitle"),{chart:x,legendTitle:R,chartTitle:g(x)}),this.legendProxyGroup&&this.legendProxyGroup.setAttribute("aria-label",x)},addLegendProxyGroup:function(){this.legendProxyGroup=this.addProxyGroup({"aria-label":"_placeholder_",role:this.chart.options.accessibility.landmarkVerbosity==="all"?"region":null})},addLegendListContainer:function(){if(this.legendProxyGroup){var x=this.legendListContainer=this.createElement("ul");x.style.listStyle="none",this.legendProxyGroup.appendChild(x)}},proxyLegendItems:function(){var x=this;(this.chart.legend&&this.chart.legend.allItems||[]).forEach(function(R){R.legendItem&&R.legendItem.element&&x.proxyLegendItem(R)})},proxyLegendItem:function(x){if(x.legendItem&&x.legendGroup&&this.legendListContainer){var R=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:m(x.name),item:x});R={tabindex:-1,"aria-pressed":x.visible,"aria-label":R};var y=x.legendGroup.div?x.legendItem:x.legendGroup,b=this.createElement("li");this.legendListContainer.appendChild(b),x.a11yProxyElement=this.createProxyButton(x.legendItem,b,R,y),this.proxyElementsList.push({item:x,element:x.a11yProxyElement,posElement:y})}},getKeyboardNavigation:function(){var x=this.keyCodes,R=this,y=this.chart;return new V(y,{keyCodeMap:[[[x.left,x.right,x.up,x.down],function(b){return R.onKbdArrowKey(this,b)}],[[x.enter,x.space],function(b){return G.isFirefox&&b===x.space?this.response.success:R.onKbdClick(this)}]],validate:function(){return R.shouldHaveLegendNavigation()},init:function(b){return R.onKbdNavigationInit(b)},terminate:function(){y.legend.allItems.forEach(function(b){return b.setState("",!0)})}})},onKbdArrowKey:function(x,R){var y=this.keyCodes,b=x.response,s=this.chart,l=s.options.accessibility,O=s.legend.allItems.length;return R=R===y.left||R===y.up?-1:1,s.highlightLegendItem(this.highlightedLegendItemIx+R)?(this.highlightedLegendItemIx+=R,b.success):1=u&&y||0<=u&&!y||5>_||p(D))&&_"+A+"":""})}var U=C.escapeStringForHTML,V=C.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(j){var A=j.annotations;return A&&A.length?'
    '+J(j).join(" ")+"
":""},getAnnotationLabelDescription:q,getAnnotationListItems:J,getPointAnnotationTexts:function(j){var A=I(j.series.chart).filter(function(P){return-1X&&ct.graphic&&ct.graphic.element)})||null}function V(it){var X=it.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(X!==!1&&it.points&&it.points.length>=X)}function j(it){var X=it.options.accessibility||{};return!V(it)&&!X.exposeAsGroupOnly}function A(it){var X=it.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!(!it.points||!(it.points.length"," "),B=it.id&&0>it.id.indexOf("highcharts-"),F="x, "+it.x;return it.name||X||ct||(B?it.id:F)}function w(it,X,ct){var B=X||"",F=ct||"";return it.series.pointArrayMap.reduce(function(ut,ft){ut+=ut.length?", ":"";var et=P(it,nt(it[ft],it.options[ft]));return ut+(ft+": "+B+et+F)},"")}function f(it){var X=it.series,ct=X.chart.options.accessibility.point||{},B=X.tooltipOptions||{},F=ct.valuePrefix||B.valuePrefix||"";return ct=ct.valueSuffix||B.valueSuffix||"",B=P(it,it[typeof it.value!="undefined"?"value":"y"]),it.isNull?X.chart.langFormat("accessibility.series.nullPointValue",{point:it}):X.pointArrayMap?w(it,F,ct):F+B+ct}function S(it){var X=it.series,ct=X.chart,B=ct.options.accessibility.point.valueDescriptionFormat,F=(X=nt(X.xAxis&&X.xAxis.options.accessibility&&X.xAxis.options.accessibility.enabled,!ct.angular))?T(it):"";return it={point:it,index:rt(it.index)?it.index+1:"",xDescription:F,value:f(it),separator:X?", ":""},l(B,it,ct)}function v(it){var X=it.series,ct=X.chart,B=S(it),F=it.options&&it.options.accessibility&&it.options.accessibility.description;F=F?" "+F:"",X=1E&&Tp.dataMax&&(o=p.dataMax,T=o-w),this.setExtremes(T,o)},I.prototype=new C,q(I.prototype,{init:function(){var E=this,p=this.chart;["afterShowResetZoom","afterDrilldown","drillupall"].forEach(function(o){E.addEvent(p,o,function(){E.updateProxyOverlays()})})},onChartUpdate:function(){var E=this.chart,p=this;E.mapNavButtons&&E.mapNavButtons.forEach(function(o,T){V(E,o.element),p.setMapNavButtonAttrs(o.element,"accessibility.zoom.mapZoom"+(T?"Out":"In"))})},setMapNavButtonAttrs:function(E,p){var o=this.chart;p=o.langFormat(p,{chart:o}),A(E,{tabindex:-1,role:"button","aria-label":p})},onChartRender:function(){this.updateProxyOverlays()},updateProxyOverlays:function(){var E=this.chart;j(this.drillUpProxyGroup),j(this.resetZoomProxyGroup),E.resetZoomButton&&this.recreateProxyButtonAndGroup(E.resetZoomButton,"resetZoomProxyButton","resetZoomProxyGroup",E.langFormat("accessibility.zoom.resetZoomButton",{chart:E})),E.drillUpButton&&this.recreateProxyButtonAndGroup(E.drillUpButton,"drillUpProxyButton","drillUpProxyGroup",E.langFormat("accessibility.drillUpButton",{chart:E,buttonText:E.getDrilldownBackText()}))},recreateProxyButtonAndGroup:function(E,p,o,T){j(this[o]),this[o]=this.addProxyGroup(),this[p]=this.createProxyButton(E,this[o],{"aria-label":T,tabindex:-1})},getMapZoomNavigation:function(){var E=this.keyCodes,p=this.chart,o=this;return new J(p,{keyCodeMap:[[[E.up,E.down,E.left,E.right],function(T){return o.onMapKbdArrow(this,T)}],[[E.tab],function(T,w){return o.onMapKbdTab(this,w)}],[[E.space,E.enter],function(){return o.onMapKbdClick(this)}]],validate:function(){return!!(p.mapZoom&&p.mapNavButtons&&p.mapNavButtons.length)},init:function(T){return o.onMapNavInit(T)}})},onMapKbdArrow:function(E,p){var o=this.keyCodes;return this.chart[p===o.up||p===o.down?"yAxis":"xAxis"][0].panStep(p===o.left||p===o.up?-1:1),E.response.success},onMapKbdTab:function(E,p){var o=this.chart;E=E.response;var T=(p=p.shiftKey)&&!this.focusedMapNavButtonIx||!p&&this.focusedMapNavButtonIx;return o.mapNavButtons[this.focusedMapNavButtonIx].setState(0),T?(o.mapZoom(),E[p?"prev":"next"]):(this.focusedMapNavButtonIx+=p?-1:1,p=o.mapNavButtons[this.focusedMapNavButtonIx],o.setFocusToElement(p.box,p.element),p.setState(2),E.success)},onMapKbdClick:function(E){return this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx].element),E.response.success},onMapNavInit:function(E){var p=this.chart,o=p.mapNavButtons[0],T=p.mapNavButtons[1];o=0F-B,Nt=st=864e5*{month:28,year:365}[xt]*gt-Dt&&it-36e5<=864e5*{month:31,year:366}[xt]*gt+Dt?st=!0:xt==="ytd"?(st=ft-ut+Dt===it,Pt=!Q):xt==="all"&&(st=rt.max-rt.min>=F-B,Mt=!Q&&ht&&st),xt=!z&&(Bt||Nt||Mt||X),gt=Q&&st||st&&!ht&&!Pt||Q&&_.frozenStates,xt?vt=3:gt&&(ht=!0,vt=2),Tt.state!==vt&&(Tt.setState(vt),nt&&(nt.options[K+1].disabled=xt,vt===2&&(nt.selectedIndex=K+1)),vt===0&&et===K&&_.setSelected())})},u.prototype.computeButtonRange=function(_){var L=_.type,nt=_.count||1,rt={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};rt[L]?_._range=rt[L]*nt:(L==="month"||L==="year")&&(_._range=864e5*{month:30,year:365}[L]*nt),_._offsetMin=y(_.offsetMin,0),_._offsetMax=y(_.offsetMax,0),_._range+=_._offsetMax-_._offsetMin},u.prototype.getInputValue=function(_){_=_==="min"?this.minInput:this.maxInput;var L=this.chart.options.rangeSelector,nt=this.chart.time;return _?(_.type==="text"&&L.inputDateParser||this.defaultInputDateParser)(_.value,nt.useUTC,nt):0},u.prototype.setInputValue=function(_,L){var nt=this.options,rt=this.chart.time,it=_==="min"?this.minInput:this.maxInput;if(_=_==="min"?this.minDateBox:this.maxDateBox,it){var X=it.getAttribute("data-hc-time");X=o(X)?Number(X):void 0,o(L)&&(o(X)&&it.setAttribute("data-hc-time-previous",X),it.setAttribute("data-hc-time",L),X=L),it.value=rt.dateFormat(this.inputTypeFormats[it.type]||nt.inputEditDateFormat,X),_&&_.attr({text:rt.dateFormat(nt.inputDateFormat,X)})}},u.prototype.setInputExtremes=function(_,L,nt){if(_=_==="min"?this.minInput:this.maxInput){var rt=this.inputTypeFormats[_.type],it=this.chart.time;rt&&(L=it.dateFormat(rt,L),_.min!==L&&(_.min=L),nt=it.dateFormat(rt,nt),_.max!==nt&&(_.max=nt))}},u.prototype.showInput=function(_){var L=_==="min"?this.minDateBox:this.maxDateBox;if((_=_==="min"?this.minInput:this.maxInput)&&L&&this.inputGroup){var nt=_.type==="text",rt=this.inputGroup,it=rt.translateX;rt=rt.translateY;var X=this.options.inputBoxWidth;p(_,{width:nt?L.width+(X?-2:20)+"px":"auto",height:nt?L.height-2+"px":"auto",border:"2px solid silver"}),nt&&X?p(_,{left:it+L.x+"px",top:rt+"px"}):p(_,{left:Math.min(Math.round(L.x+it-(_.offsetWidth-L.width)/2),this.chart.chartWidth-_.offsetWidth)+"px",top:rt-(_.offsetHeight-L.height)/2+"px"})}},u.prototype.hideInput=function(_){(_=_==="min"?this.minInput:this.maxInput)&&p(_,{top:"-9999em",border:0,width:"1px",height:"1px"})},u.prototype.defaultInputDateParser=function(_,L,nt){var rt=_.split("/").join("-").split(" ").join("T");if(rt.indexOf("T")===-1&&(rt+="T00:00"),L)rt+="Z";else{var it;(it=G.isSafari)&&(it=rt,it=!(6=it?"+"+R(-it)+":00":"-"+R(it)+":00")}return rt=Date.parse(rt),m(rt)||(_=_.split("-"),rt=Date.UTC(b(_[0]),b(_[1])-1,b(_[2]))),nt&&L&&m(rt)&&(rt+=nt.getTimezoneOffset(rt)),rt},u.prototype.drawInput=function(_){function L(){var z=X.getInputValue(_),tt=nt.xAxis[0],Q=nt.scroller&&nt.scroller.xAxis?nt.scroller.xAxis:tt,K=Q.dataMin;Q=Q.dataMax;var st=X.maxInput,xt=X.minInput;z!==Number(et.getAttribute("data-hc-time-previous"))&&m(z)&&(et.setAttribute("data-hc-time-previous",z),ut&&st&&m(K)?z>Number(st.getAttribute("data-hc-time"))?z=void 0:zQ&&(z=Q)),typeof z!="undefined"&&tt.setExtremes(ut?z:tt.min,ut?tt.max:z,void 0,void 0,{trigger:"rangeSelectorInput"}))}var nt=this.chart,rt=this.div,it=this.inputGroup,X=this,ct=nt.renderer.style||{},B=nt.renderer,F=nt.options.rangeSelector,ut=_==="min",ft=A.lang[ut?"rangeSelectorFrom":"rangeSelectorTo"]||"";ft=B.label(ft,0).addClass("highcharts-range-label").attr({padding:ft?2:0,height:ft?F.inputBoxHeight:0}).add(it),B=B.label("",0).addClass("highcharts-range-input").attr({padding:2,width:F.inputBoxWidth,height:F.inputBoxHeight,"text-align":"center"}).on("click",function(){X.showInput(_),X[_+"Input"].focus()}),nt.styledMode||B.attr({stroke:F.inputBoxBorderColor,"stroke-width":1}),B.add(it);var et=E("input",{name:_,className:"highcharts-range-selector"},void 0,rt);et.setAttribute("type",j(F.inputDateFormat||"%b %e, %Y")),nt.styledMode||(ft.css(g(ct,F.labelStyle)),B.css(g({color:J.neutralColor80},ct,F.inputStyle)),p(et,f({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:ct.fontSize,fontFamily:ct.fontFamily,top:"-9999em"},F.inputStyle))),et.onfocus=function(){X.showInput(_)},et.onblur=function(){et===G.doc.activeElement&&L(),X.hideInput(_),X.setInputValue(_),et.blur()};var ht=!1;return et.onchange=function(){ht||(L(),X.hideInput(_),et.blur())},et.onkeypress=function(z){z.keyCode===13&&L()},et.onkeydown=function(z){ht=!0,z.keyCode!==38&&z.keyCode!==40||L()},et.onkeyup=function(){ht=!1},{dateBox:B,input:et,label:ft}},u.prototype.getPosition=function(){var _=this.chart,L=_.options.rangeSelector;return _=L.verticalAlign==="top"?_.plotTop-_.axisOffset[0]:0,{buttonTop:_+L.buttonPosition.y,inputTop:_+L.inputPosition.y-10}},u.prototype.getYTDExtremes=function(_,L,nt){var rt=this.chart.time,it=new rt.Date(_),X=rt.get("FullYear",it);return nt=nt?rt.Date.UTC(X,0,1):+new rt.Date(X,0,1),L=Math.max(L,nt),it=it.getTime(),{max:Math.min(_||it,it),min:L}},u.prototype.render=function(_,L){var nt=this.chart,rt=nt.renderer,it=nt.container,X=nt.options,ct=X.rangeSelector,B=y(X.chart.style&&X.chart.style.zIndex,0)+1;if(X=ct.inputEnabled,ct.enabled!==!1){if(this.rendered||(this.group=rt.g("range-selector-group").attr({zIndex:7}).add(),this.div=E("div",void 0,{position:"relative",height:0,zIndex:B}),this.buttonOptions.length&&this.renderButtons(),it.parentNode&&it.parentNode.insertBefore(this.div,it),X&&(this.inputGroup=rt.g("input-group").add(this.group),rt=this.drawInput("min"),this.minDateBox=rt.dateBox,this.minLabel=rt.label,this.minInput=rt.input,rt=this.drawInput("max"),this.maxDateBox=rt.dateBox,this.maxLabel=rt.label,this.maxInput=rt.input)),X&&(this.setInputValue("min",_),this.setInputValue("max",L),_=nt.scroller&&nt.scroller.getUnionExtremes()||nt.xAxis[0]||{},o(_.dataMin)&&o(_.dataMax)&&(nt=nt.xAxis[0].minRange||0,this.setInputExtremes("min",_.dataMin,Math.min(_.dataMax,this.getInputValue("max"))-nt),this.setInputExtremes("max",Math.max(_.dataMin,this.getInputValue("min"))+nt,_.dataMax)),this.inputGroup)){var F=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(ut){if(ut){var ft=ut.getBBox().width;ft&&(ut.attr({x:F}),F+=ft+ct.inputSpacing)}})}this.alignElements(),this.rendered=!0}},u.prototype.renderButtons=function(){var _=this,L=this.buttons,nt=this.options,rt=A.lang,it=this.chart.renderer,X=g(nt.buttonTheme),ct=X&&X.states,B=X.width||28;delete X.width,delete X.states,this.buttonGroup=it.g("range-selector-buttons").add(this.group);var F=this.dropdown=E("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);P(F,"touchstart",function(){F.style.fontSize="16px"}),[[G.isMS?"mouseover":"mouseenter"],[G.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(ut){var ft=ut[0],et=ut[1];P(F,ft,function(){var ht=L[_.currentButtonIndex()];ht&&v(ht.element,et||ft)})}),this.zoomText=it.label(rt&&rt.rangeSelectorZoom||"",0).attr({padding:nt.buttonTheme.padding,height:nt.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(nt.labelStyle),X["stroke-width"]=y(X["stroke-width"],0)),E("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,F),this.buttonOptions.forEach(function(ut,ft){E("option",{textContent:ut.title||ut.text},void 0,F),L[ft]=it.button(ut.text,0,0,function(et){var ht=ut.events&&ut.events.click,z;ht&&(z=ht.call(ut,et)),z!==!1&&_.clickButton(ft),_.isActive=!0},X,ct&&ct.hover,ct&&ct.select,ct&&ct.disabled).attr({"text-align":"center",width:B}).add(_.buttonGroup),ut.title&&L[ft].attr("title",ut.title)})},u.prototype.alignElements=function(){var _=this,L=this.buttonGroup,nt=this.buttons,rt=this.chart,it=this.group,X=this.inputGroup,ct=this.options,B=this.zoomText,F=rt.options,ut=F.exporting&&F.exporting.enabled!==!1&&F.navigation&&F.navigation.buttonOptions;F=ct.buttonPosition;var ft=ct.inputPosition,et=ct.verticalAlign,ht=function(K,st){return ut&&_.titleCollision(rt)&&et==="top"&&st.align==="right"&&st.y-K.getBBox().height-12<(ut.y||0)+(ut.height||0)+rt.spacing[0]?-40:0},z=rt.plotLeft;if(it&&F&&ft){var tt=F.x-rt.spacing[3];if(L){if(this.positionButtons(),!this.initialButtonGroupWidth){var Q=0;B&&(Q+=B.getBBox().width+5),nt.forEach(function(K,st){Q+=K.width,st!==nt.length-1&&(Q+=ct.buttonSpacing)}),this.initialButtonGroupWidth=Q}z-=rt.spacing[3],this.updateButtonStates(),B=ht(L,F),this.alignButtonGroup(B),it.placed=L.placed=rt.hasLoaded}L=0,X&&(L=ht(X,ft),ft.align==="left"?tt=z:ft.align==="right"&&(tt=-Math.max(rt.axisOffset[1],-L)),X.align({y:ft.y,width:X.getBBox().width,align:ft.align,x:ft.x+tt-2},!0,rt.spacingBox),X.placed=rt.hasLoaded),this.handleCollision(L),it.align({verticalAlign:et},!0,rt.spacingBox),X=it.alignAttr.translateY,L=it.getBBox().height+20,ht=0,et==="bottom"&&(ht=(ht=rt.legend&&rt.legend.options)&&ht.verticalAlign==="bottom"&&ht.enabled&&!ht.floating?rt.legend.legendHeight+y(ht.margin,10):0,L=L+ht-20,ht=X-L-(ct.floating?0:ct.y)-(rt.titleOffset?rt.titleOffset[2]:0)-10),et==="top"?(ct.floating&&(ht=0),rt.titleOffset&&rt.titleOffset[0]&&(ht=rt.titleOffset[0]),ht+=rt.margin[0]-rt.spacing[0]||0):et==="middle"&&(ft.y===F.y?ht=X:(ft.y||F.y)&&(ht=0>ft.y||0>F.y?ht-Math.min(ft.y,F.y):X-L)),it.translate(ct.x,ct.y+Math.floor(ht)),F=this.minInput,ft=this.maxInput,X=this.dropdown,ct.inputEnabled&&F&&ft&&(F.style.marginTop=it.translateY+"px",ft.style.marginTop=it.translateY+"px"),X&&(X.style.marginTop=it.translateY+"px")}},u.prototype.alignButtonGroup=function(_,L){var nt=this.chart,rt=this.buttonGroup,it=this.options.buttonPosition,X=nt.plotLeft-nt.spacing[3],ct=it.x-nt.spacing[3];it.align==="right"?ct+=_-X:it.align==="center"&&(ct-=X/2),rt&&rt.align({y:it.y,width:y(L,this.initialButtonGroupWidth),align:it.align,x:ct},!0,nt.spacingBox)},u.prototype.positionButtons=function(){var _=this.buttons,L=this.chart,nt=this.options,rt=this.zoomText,it=L.hasLoaded?"animate":"attr",X=nt.buttonPosition,ct=L.plotLeft,B=ct;rt&&rt.visibility!=="hidden"&&(rt[it]({x:y(ct+X.x,ct)}),B+=X.x+rt.getBBox().width+5),this.buttonOptions.forEach(function(F,ut){_[ut].visibility!=="hidden"?(_[ut][it]({x:B}),B+=_[ut].width+nt.buttonSpacing):_[ut][it]({x:ct})})},u.prototype.handleCollision=function(_){var L=this,nt=this.chart,rt=this.buttonGroup,it=this.inputGroup,X=this.options,ct=X.buttonPosition,B=X.dropdown,F=X.inputPosition;X=function(){var et=0;return L.buttons.forEach(function(ht){ht=ht.getBBox(),ht.width>et&&(et=ht.width)}),et};var ut=function(et){if(it&&rt){var ht=it.alignAttr.translateX+it.alignOptions.x-_+it.getBBox().x+2,z=it.alignOptions.width,tt=rt.alignAttr.translateX+rt.getBBox().x;return tt+et>ht&&ht+z>tt&&ct.y=-_?0:-_),translateY:it.alignAttr.translateY+rt.getBBox().height+10})};if(rt){if(B==="always"){this.collapseButtons(_),ut(X())&&ft();return}B==="never"&&this.expandButtons()}it&&rt?F.align===ct.align||ut(this.initialButtonGroupWidth+20)?B==="responsive"?(this.collapseButtons(_),ut(X())&&ft()):ft():B==="responsive"&&this.expandButtons():rt&&B==="responsive"&&(this.initialButtonGroupWidth>nt.plotWidth?this.collapseButtons(_):this.expandButtons())},u.prototype.collapseButtons=function(_){var L=this.buttons,nt=this.buttonOptions,rt=this.chart,it=this.dropdown,X=this.options,ct=this.zoomText,B=rt.userOptions.rangeSelector&&rt.userOptions.rangeSelector.buttonTheme||{},F=function(ft){return{text:ft?ft+" \u25BE":"\u25BE",width:"auto",paddingLeft:y(X.buttonTheme.paddingLeft,B.padding,8),paddingRight:y(X.buttonTheme.paddingRight,B.padding,8)}};ct&&ct.hide();var ut=!1;nt.forEach(function(ft,et){et=L[et],et.state!==2?et.hide():(et.show(),et.attr(F(ft.text)),ut=!0)}),ut||(it&&(it.selectedIndex=0),L[0].show(),L[0].attr(F(this.zoomText&&this.zoomText.textStr))),nt=X.buttonPosition.align,this.positionButtons(),nt!=="right"&&nt!=="center"||this.alignButtonGroup(_,L[this.currentButtonIndex()].getBBox().width),this.showDropdown()},u.prototype.expandButtons=function(){var _=this.buttons,L=this.buttonOptions,nt=this.options,rt=this.zoomText;this.hideDropdown(),rt&&rt.show(),L.forEach(function(it,X){X=_[X],X.show(),X.attr({text:it.text,width:nt.buttonTheme.width||28,paddingLeft:y(nt.buttonTheme.paddingLeft,"unset"),paddingRight:y(nt.buttonTheme.paddingRight,"unset")}),2>X.state&&X.setState(0)}),this.positionButtons()},u.prototype.currentButtonIndex=function(){var _=this.dropdown;return _&&0<_.selectedIndex?_.selectedIndex-1:0},u.prototype.showDropdown=function(){var _=this.buttonGroup,L=this.buttons,nt=this.chart,rt=this.dropdown;if(_&&rt){var it=_.translateX;_=_.translateY,L=L[this.currentButtonIndex()].getBBox(),p(rt,{left:nt.plotLeft+it+"px",top:_+.5+"px",width:L.width+"px",height:L.height+"px"}),this.hasVisibleDropdown=!0}},u.prototype.hideDropdown=function(){var _=this.dropdown;_&&(p(_,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},u.prototype.getHeight=function(){var _=this.options,L=this.group,nt=_.y,rt=_.buttonPosition.y,it=_.inputPosition.y;return _.height?_.height:(this.alignElements(),_=L?L.getBBox(!0).height+13+nt:0,L=Math.min(it,rt),(0>it&&0>rt||0f?T.accessibility&&(T.accessibility.keyboardNavigation.tabindexContainer.focus(),T.accessibility.keyboardNavigation[0>o?"prev":"next"]()):w&&(o=w[f?"maxDateBox":"minDateBox"],w=w[f?"maxInput":"minInput"],o&&w&&T.setFocusToElement(o,w))},onInputNavInit:function(o){var T=this,w=this,f=this.chart,S=0this.series.length?"Single":"Multiple";return(this.langFormat("accessibility.chartTypes."+s+D,O)||this.langFormat("accessibility.chartTypes.default"+D,O))+(l?" "+l:"")},I=function(){},I.prototype=new U,G(I.prototype,{init:function(){var s=this.chart,l=this;this.initRegionsDefinitions(),this.addEvent(s,"aftergetTableAST",function(O){l.onDataTableCreated(O)}),this.addEvent(s,"afterViewData",function(O){l.dataTableDiv=O,setTimeout(function(){l.focusDataTable()},300)}),this.announcer=new V(s,"assertive")},initRegionsDefinitions:function(){var s=this;this.screenReaderSections={before:{element:null,buildContent:function(l){var O=l.options.accessibility.screenReaderSection.beforeChartFormatter;return O?O(l):s.defaultBeforeChartFormatter(l)},insertIntoDOM:function(l,O){O.renderTo.insertBefore(l,O.renderTo.firstChild)},afterInserted:function(){typeof s.sonifyButtonId!="undefined"&&s.initSonifyButton(s.sonifyButtonId),typeof s.dataTableButtonId!="undefined"&&s.initDataTableButton(s.dataTableButtonId)}},after:{element:null,buildContent:function(l){var O=l.options.accessibility.screenReaderSection.afterChartFormatter;return O?O(l):s.defaultAfterChartFormatter()},insertIntoDOM:function(l,O){O.renderTo.insertBefore(l,O.container.nextSibling)},afterInserted:function(){s.chart.accessibility&&s.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}},onChartRender:function(){var s=this;this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),Object.keys(this.screenReaderSections).forEach(function(l){s.updateScreenReaderSection(l)})},getLinkedDescriptionElement:function(){var s=this.chart.options.accessibility.linkedDescription;if(s){if(typeof s!="string")return s;if(s=E(s,this.chart),s=p.querySelectorAll(s),s.length===1)return s[0]}},setLinkedDescriptionAttrs:function(){var s=this.linkedDescriptionElement;s&&(s.setAttribute("aria-hidden","true"),m(s,"highcharts-linked-description"))},updateScreenReaderSection:function(s){var l=this.chart,O=this.screenReaderSections[s],D=O.buildContent(l),u=O.element=O.element||this.createElement("div"),_=u.firstChild||this.createElement("div");this.setScreenReaderSectionAttribs(u,s),C.setElementHTML(_,D),u.appendChild(_),O.insertIntoDOM(u,l),b(_),v(l,_),O.afterInserted&&O.afterInserted()},setScreenReaderSectionAttribs:function(s,l){var O=this.chart,D=O.langFormat("accessibility.screenReaderSection."+l+"RegionLabel",{chart:O,chartTitle:S(O)});R(s,{id:"highcharts-screen-reader-region-"+l+"-"+O.index,"aria-label":D}),s.style.position="relative",O.options.accessibility.landmarkVerbosity==="all"&&D&&s.setAttribute("role","region")},defaultBeforeChartFormatter:function(){var s=this.chart,l=s.options.accessibility.screenReaderSection.beforeChartFormat,O=this.getAxesDescription(),D=s.sonify&&s.options.sonification&&s.options.sonification.enabled,u="highcharts-a11y-sonify-data-btn-"+s.index,_="hc-linkto-highcharts-data-table-"+s.index,L=T(s),nt=s.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:s});return O={headingTagName:x(s.renderTo),chartTitle:S(s),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:O.xAxis,yAxisDescription:O.yAxis,playAsSoundButton:D?this.getSonifyButtonText(u):"",viewTableButton:s.getCSV?this.getDataTableButtonText(_):"",annotationsTitle:L?nt:"",annotationsList:L},s=q.i18nFormat(l,O,s),this.dataTableButtonId=_,this.sonifyButtonId=u,s.replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},defaultAfterChartFormatter:function(){var s=this.chart,l=s.options.accessibility.screenReaderSection.afterChartFormat,O={endOfChartMarker:this.getEndOfChartMarkerText()};return q.i18nFormat(l,O,s).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},getLinkedDescription:function(){var s=this.linkedDescriptionElement;return y(s&&s.innerHTML||"")},getLongdescText:function(){var s=this.chart.options,l=s.caption;l=l&&l.text;var O=this.getLinkedDescription();return s.accessibility.description||O||l||""},getTypeDescriptionText:function(){var s=this.chart;return s.types?s.options.accessibility.typeDescription||s.getTypeDescription(s.types):""},getDataTableButtonText:function(s){var l=this.chart;return l=l.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:l,chartTitle:S(l)}),'"},getSonifyButtonText:function(s){var l=this.chart;return l.options.sonification&&l.options.sonification.enabled===!1?"":(l=l.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:l,chartTitle:S(l)}),'")},getSubtitleText:function(){var s=this.chart.options.subtitle;return y(s&&s.text||"")},getEndOfChartMarkerText:function(){var s=this.chart,l=s.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:s});return'
'+l+"
"},onDataTableCreated:function(s){var l=this.chart;if(l.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");var O=s.tree.attributes||{};O.tabindex=-1,O.summary=l.langFormat("accessibility.table.tableSummary",{chart:l}),s.tree.attributes=O}},focusDataTable:function(){var s=this.dataTableDiv;(s=s&&s.getElementsByTagName("table")[0])&&s.focus&&s.focus()},initSonifyButton:function(s){var l=this,O=this.sonifyButton=g(s),D=this.chart,u=function(_){O&&(O.setAttribute("aria-hidden","true"),O.setAttribute("aria-label","")),_.preventDefault(),_.stopPropagation(),_=D.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:D}),l.announcer.announce(_),setTimeout(function(){O&&(O.removeAttribute("aria-hidden"),O.removeAttribute("aria-label")),D.sonify&&D.sonify()},1e3)};O&&D&&(R(O,{tabindex:-1}),O.onclick=function(_){(D.options.accessibility&&D.options.accessibility.screenReaderSection.onPlayAsSoundClick||u).call(this,_,D)})},initDataTableButton:function(s){var l=this.viewDataTableButton=g(s),O=this.chart;s=s.replace("hc-linkto-",""),l&&(R(l,{tabindex:-1,"aria-expanded":!!g(s)}),l.onclick=O.options.accessibility.screenReaderSection.onViewDataTableClick||function(){O.viewData()})},getAxesDescription:function(){var s=this.chart,l=function(_,L){return _=s[_],1<_.length||_[0]&&o(_[0].options.accessibility&&_[0].options.accessibility.enabled,L)},O=!!s.types&&0>s.types.indexOf("map"),D=!!s.hasCartesianSeries,u=l("xAxis",!s.angular&&D&&O);return l=l("yAxis",D&&O),O={},u&&(O.xAxis=this.getAxisDescriptionText("xAxis")),l&&(O.yAxis=this.getAxisDescriptionText("yAxis")),O},getAxisDescriptionText:function(s){var l=this.chart,O=l[s];return l.langFormat("accessibility.axis."+s+"Description"+(1{chartTitle}
{typeDescription}
{chartSubtitle}
{chartLongdesc}
{playAsSoundButton}
{viewTableButton}
{xAxisDescription}
{yAxisDescription}
{annotationsTitle}{annotationsList}
",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{index}. {xDescription}{separator}{value}."},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:C.highlightColor80,lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}}),c(W,"Accessibility/Options/LangOptions.js",[],function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"Chart screen reader information, {chartTitle}.",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabelNoTitle:"Toggle series visibility, {chartTitle}",legendLabel:"Chart legend: {legendTitle}",legendItem:"Show {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{dropdownLabel:"{rangeTitle}",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Range: {range} days.",timeRangeHours:"Range: {range} hours.",timeRangeMinutes:"Range: {range} minutes.",timeRangeSeconds:"Range: {range} seconds.",rangeFromTo:"Range: {rangeFrom} to {rangeTo}.",rangeCategories:"Range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu",exportRegionLabel:"Chart menu, {chartTitle}"},series:{summary:{default:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",defaultCombination:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",line:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",lineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",spline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",splineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",column:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",columnCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",bar:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",barCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",pie:"{name}, pie {ix} of {numSeries} with {numPoints} {#plural(numPoints, slices, slice)}.",pieCombination:"{name}, series {ix} of {numSeries}. Pie with {numPoints} {#plural(numPoints, slices, slice)}.",scatter:"{name}, scatter plot {ix} of {numSeries} with {numPoints} {#plural(numPoints, points, point)}.",scatterCombination:"{name}, series {ix} of {numSeries}, scatter plot with {numPoints} {#plural(numPoints, points, point)}.",boxplot:"{name}, boxplot {ix} of {numSeries} with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotCombination:"{name}, series {ix} of {numSeries}. Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",bubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.",map:"{name}, map {ix} of {numSeries} with {numPoints} {#plural(numPoints, areas, area)}.",mapCombination:"{name}, series {ix} of {numSeries}. Map with {numPoints} {#plural(numPoints, areas, area)}.",mapline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",maplineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",mapbubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",mapbubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}}),c(W,"Accessibility/Options/DeprecatedOptions.js",[W["Core/Utilities.js"]],function(C){function I(A,P,E){for(var p,o=0;oP?A.length+P:Math.min(P,A.length),o=0;op?(j=A[A.length+p],typeof j=="undefined"&&(j=A[0])):(j=A[p],typeof j=="undefined"&&(j=A[A.length-1]))),typeof j!="undefined"?j:""):"{"+j+"}"}var U=G.format,V=q.pick;I.i18nFormat=function(j,A,P){var E=function(f,S){f=f.slice(S||0);var v=f.indexOf("{"),m=f.indexOf("}");if(-1v)return{statement:f.substring(v+1,m),begin:S+v+1,end:S+m}},p=[],o=0;do{var T=E(j,o),w=j.substring(o,T&&T.begin-1);w.length&&p.push({value:w,type:"constant"}),T&&p.push({value:T.statement,type:"statement"}),o=T?T.end+1:o+1}while(T);return p.forEach(function(f){f.type==="statement"&&(f.value=J(f.value,A))}),U(p.reduce(function(f,S){return f+S.value},""),A,P)},C.prototype.langFormat=function(j,A){j=j.split(".");for(var P=this.options.lang,E=0;E{"use strict";var we=function(wt,Z,At,W,c,C,I,G){if(!wt){var q;if(Z===void 0)q=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var J=[At,W,c,C,I,G],U=0;q=new Error(Z.replace(/%s/g,function(){return J[U++]})),q.name="Invariant Violation"}throw q.framesToPop=1,q}};yr.exports=we},7967:(yr,we,wt)=>{var Z="Expected a function",At=NaN,W="[object Symbol]",c=/^\s+|\s+$/g,C=/^[-+]0x[0-9a-f]+$/i,I=/^0b[01]+$/i,G=/^0o[0-7]+$/i,q=parseInt,J=typeof wt.g=="object"&&wt.g&&wt.g.Object===Object&&wt.g,U=typeof self=="object"&&self&&self.Object===Object&&self,V=J||U||Function("return this")(),j=Object.prototype,A=j.toString,P=Math.max,E=Math.min,p=function(){return V.Date.now()};function o(v,m,g){var x,R,y,b,s,l,O=0,D=!1,u=!1,_=!0;if(typeof v!="function")throw new TypeError(Z);m=S(m)||0,T(g)&&(D=!!g.leading,u="maxWait"in g,y=u?P(S(g.maxWait)||0,m):y,_="trailing"in g?!!g.trailing:_);function L(ft){var et=x,ht=R;return x=R=void 0,O=ft,b=v.apply(ht,et),b}function nt(ft){return O=ft,s=setTimeout(X,m),D?L(ft):b}function rt(ft){var et=ft-l,ht=ft-O,z=m-et;return u?E(z,y-ht):z}function it(ft){var et=ft-l,ht=ft-O;return l===void 0||et>=m||et<0||u&&ht>=y}function X(){var ft=p();if(it(ft))return ct(ft);s=setTimeout(X,rt(ft))}function ct(ft){return s=void 0,_&&x?L(ft):(x=R=void 0,b)}function B(){s!==void 0&&clearTimeout(s),O=0,x=l=R=s=void 0}function F(){return s===void 0?b:ct(p())}function ut(){var ft=p(),et=it(ft);if(x=arguments,R=this,l=ft,et){if(s===void 0)return nt(l);if(u)return s=setTimeout(X,m),L(l)}return s===void 0&&(s=setTimeout(X,m)),b}return ut.cancel=B,ut.flush=F,ut}function T(v){var m=typeof v;return!!v&&(m=="object"||m=="function")}function w(v){return!!v&&typeof v=="object"}function f(v){return typeof v=="symbol"||w(v)&&A.call(v)==W}function S(v){if(typeof v=="number")return v;if(f(v))return At;if(T(v)){var m=typeof v.valueOf=="function"?v.valueOf():v;v=T(m)?m+"":m}if(typeof v!="string")return v===0?v:+v;v=v.replace(c,"");var g=I.test(v);return g||G.test(v)?q(v.slice(2),g?2:8):C.test(v)?At:+v}yr.exports=o},628:(yr,we,wt)=>{"use strict";var Z=wt(4067);function At(){}function W(){}W.resetWarningCache=At,yr.exports=function(){function c(G,q,J,U,V,j){if(j!==Z){var A=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw A.name="Invariant Violation",A}}c.isRequired=c;function C(){return c}var I={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:C,element:c,elementType:c,instanceOf:C,node:c,objectOf:C,oneOf:C,oneOfType:C,shape:C,exact:C,checkPropTypes:W,resetWarningCache:At};return I.PropTypes=I,I}},5826:(yr,we,wt)=>{if(0)var Z,At;else yr.exports=wt(628)()},4067:yr=>{"use strict";var we="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";yr.exports=we},1363:(yr,we,wt)=>{"use strict";/** * @license React * react-dom-server-legacy.browser.production.min.js * @@ -340,13 +340,13 @@ var BV=Object.defineProperty,jV=Object.defineProperties;var zV=Object.getOwnProp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ft=xt(7810);function Mt(Kt){for(var ge="https://reactjs.org/docs/error-decoder.html?invariant="+Kt,Fe=1;Fe