P&&(W=P),lt=P)for(W=lt=P;++vtP&&(W=P),lt0)return[ot];if((W=D0)for(ot=Math.ceil(ot/vt),D=Math.floor(D/vt),it=new Array(lt=Math.ceil(D-ot+1));++pt=0?(it>=C?10:it>=E?5:it>=S?2:1)*Math.pow(10,lt):-Math.pow(10,-lt)/(it>=C?10:it>=E?5:it>=S?2:1)}function x(ot,D,P){var W=Math.abs(D-ot)/Math.max(0,P),lt=Math.pow(10,Math.floor(Math.log(W)/Math.LN10)),it=W/lt;return it>=C?lt*=10:it>=E?lt*=5:it>=S&&(lt*=2),DNt;)gt.pop(),--wt;var Rt,jt=new Array(wt+1);for(it=0;it<=wt;++it)(Rt=jt[it]=[]).x0=it>0?gt[it-1]:Tt,Rt.x1=it=1)return+P(ot[W-1],W-1,ot);var W,lt=(W-1)*D,it=Math.floor(lt),vt=+P(ot[it],it,ot);return vt+(+P(ot[it+1],it+1,ot)-vt)*(lt-it)}},b=function(ot,D,P){return ot=w.call(ot,B).sort(R),Math.ceil((P-D)/(2*(f(ot,.75)-f(ot,.25))*Math.pow(ot.length,-1/3)))},F=function(ot,D,P){return Math.ceil((P-D)/(3.5*d(ot)*Math.pow(ot.length,-1/3)))},T=function(ot,D){var P,W,lt=ot.length,it=-1;if(D==null){for(;++it=P)for(W=P;++itW&&(W=P)}else for(;++it=P)for(W=P;++itW&&(W=P);return W},k=function(ot,D){var P,W=ot.length,lt=W,it=-1,vt=0;if(D==null)for(;++it=0;)for(D=(W=ot[lt]).length;--D>=0;)P[--vt]=W[D];return P},nt=function(ot,D){var P,W,lt=ot.length,it=-1;if(D==null){for(;++it=P)for(W=P;++itP&&(W=P)}else for(;++it=P)for(W=P;++itP&&(W=P);return W},dt=function(ot,D){for(var P=D.length,W=new Array(P);P--;)W[P]=ot[D[P]];return W},mt=function(ot,D){if(P=ot.length){var P,W,lt=0,it=0,vt=ot[it];for(D==null&&(D=R);++lt0))return d;do d.push(U=new Date(+H)),J(H,B),K(H);while(U=X)for(;K(X),!H(X);)X.setTime(X-1)},function(X,B){if(X>=X)if(B<0)for(;++B<=0;)for(;J(X,-1),!H(X););else for(;--B>=0;)for(;J(X,1),!H(X););})},q&&(tt.count=function(H,X){return R.setTime(+H),j.setTime(+X),K(R),K(j),Math.floor(q(R,j))},tt.every=function(H){return H=Math.floor(H),isFinite(H)&&H>0?H>1?tt.filter(Z?function(X){return Z(X)%H==0}:function(X){return tt.count(0,X)%H==0}):tt:null}),tt}},function(_t,m,y){"use strict";y.r(m);var R=y(29),j=y(64),et=function(E){return Object(j.a)(Object(R.a)(E).call(document.documentElement))},K=0;function J(){return new q}function q(){this._="@"+(++K).toString(36)}q.prototype=J.prototype={constructor:q,get:function(E){for(var S=this._;!(S in E);)if(!(E=E.parentNode))return;return E[S]},set:function(E,S){return E[this._]=S},remove:function(E){return this._ in E&&delete E[this._]},toString:function(){return this._}};var Z=y(66),tt=y(84),H=y(44),X=y(32),B=y(30),U=y(23),d=function(E){return typeof E=="string"?new U.a([document.querySelectorAll(E)],[document.documentElement]):new U.a([E==null?[]:E],U.c)},L=y(43),M=y(65),s=y(67),w=y(85),_=y(46),o=function(E,S){S==null&&(S=Object(_.a)().touches);for(var v=0,g=S?S.length:0,x=new Array(g);v180||tt<-180?tt-360*Math.round(tt/360):tt):Object(R.a)(isNaN(q)?Z:q)}function K(q){return(q=+q)==1?J:function(Z,tt){return tt-Z?function(H,X,B){return H=Math.pow(H,B),X=Math.pow(X,B)-H,B=1/B,function(U){return Math.pow(H+U*X,B)}}(Z,tt,q):Object(R.a)(isNaN(Z)?tt:Z)}}function J(q,Z){var tt=Z-q;return tt?j(q,tt):Object(R.a)(isNaN(q)?Z:q)}},function(_t,m,y){"use strict";y.d(m,"g",function(){return K}),y.d(m,"c",function(){return J}),y.d(m,"k",function(){return q}),y.d(m,"m",function(){return Z}),y.d(m,"i",function(){return tt}),y.d(m,"a",function(){return H}),y.d(m,"e",function(){return X}),y.d(m,"h",function(){return B}),y.d(m,"d",function(){return U}),y.d(m,"l",function(){return d}),y.d(m,"n",function(){return L}),y.d(m,"j",function(){return M}),y.d(m,"b",function(){return s}),y.d(m,"f",function(){return w});var R=y(1),j=y(3);function et(_){return Object(R.a)(function(o){o.setDate(o.getDate()-(o.getDay()+7-_)%7),o.setHours(0,0,0,0)},function(o,u){o.setDate(o.getDate()+7*u)},function(o,u){return(u-o-(u.getTimezoneOffset()-o.getTimezoneOffset())*j.c)/j.e})}var K=et(0),J=et(1),q=et(2),Z=et(3),tt=et(4),H=et(5),X=et(6),B=K.range,U=J.range,d=q.range,L=Z.range,M=tt.range,s=H.range,w=X.range},function(_t,m,y){"use strict";y.d(m,"g",function(){return K}),y.d(m,"c",function(){return J}),y.d(m,"k",function(){return q}),y.d(m,"m",function(){return Z}),y.d(m,"i",function(){return tt}),y.d(m,"a",function(){return H}),y.d(m,"e",function(){return X}),y.d(m,"h",function(){return B}),y.d(m,"d",function(){return U}),y.d(m,"l",function(){return d}),y.d(m,"n",function(){return L}),y.d(m,"j",function(){return M}),y.d(m,"b",function(){return s}),y.d(m,"f",function(){return w});var R=y(1),j=y(3);function et(_){return Object(R.a)(function(o){o.setUTCDate(o.getUTCDate()-(o.getUTCDay()+7-_)%7),o.setUTCHours(0,0,0,0)},function(o,u){o.setUTCDate(o.getUTCDate()+7*u)},function(o,u){return(u-o)/j.e})}var K=et(0),J=et(1),q=et(2),Z=et(3),tt=et(4),H=et(5),X=et(6),B=K.range,U=J.range,d=q.range,L=Z.range,M=tt.range,s=H.range,w=X.range},function(_t,m,y){"use strict";y.d(m,"a",function(){return j}),y.d(m,"d",function(){return et}),y.d(m,"c",function(){return K}),y.d(m,"e",function(){return _}),y.d(m,"h",function(){return C}),y.d(m,"g",function(){return E}),y.d(m,"b",function(){return S}),y.d(m,"f",function(){return f});var R=y(15);function j(){}var et=.7,K=1/et,J="\\s*([+-]?\\d+)\\s*",q="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Z="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tt=/^#([0-9a-f]{3,8})$/,H=new RegExp("^rgb\\("+[J,J,J]+"\\)$"),X=new RegExp("^rgb\\("+[Z,Z,Z]+"\\)$"),B=new RegExp("^rgba\\("+[J,J,J,q]+"\\)$"),U=new RegExp("^rgba\\("+[Z,Z,Z,q]+"\\)$"),d=new RegExp("^hsl\\("+[q,Z,Z]+"\\)$"),L=new RegExp("^hsla\\("+[q,Z,Z,q]+"\\)$"),M={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 s(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function _(T){var k,Q;return T=(T+"").trim().toLowerCase(),(k=tt.exec(T))?(Q=k[1].length,k=parseInt(k[1],16),Q===6?o(k):Q===3?new S(k>>8&15|k>>4&240,k>>4&15|240&k,(15&k)<<4|15&k,1):Q===8?new S(k>>24&255,k>>16&255,k>>8&255,(255&k)/255):Q===4?new S(k>>12&15|k>>8&240,k>>8&15|k>>4&240,k>>4&15|240&k,((15&k)<<4|15&k)/255):null):(k=H.exec(T))?new S(k[1],k[2],k[3],1):(k=X.exec(T))?new S(255*k[1]/100,255*k[2]/100,255*k[3]/100,1):(k=B.exec(T))?u(k[1],k[2],k[3],k[4]):(k=U.exec(T))?u(255*k[1]/100,255*k[2]/100,255*k[3]/100,k[4]):(k=d.exec(T))?p(k[1],k[2]/100,k[3]/100,1):(k=L.exec(T))?p(k[1],k[2]/100,k[3]/100,k[4]):M.hasOwnProperty(T)?o(M[T]):T==="transparent"?new S(NaN,NaN,NaN,0):null}function o(T){return new S(T>>16&255,T>>8&255,255&T,1)}function u(T,k,Q,st){return st<=0&&(T=k=Q=NaN),new S(T,k,Q,st)}function C(T){return T instanceof j||(T=_(T)),T?new S((T=T.rgb()).r,T.g,T.b,T.opacity):new S}function E(T,k,Q,st){return arguments.length===1?C(T):new S(T,k,Q,st==null?1:st)}function S(T,k,Q,st){this.r=+T,this.g=+k,this.b=+Q,this.opacity=+st}function v(){return"#"+x(this.r)+x(this.g)+x(this.b)}function g(){var T=this.opacity;return((T=isNaN(T)?1:Math.max(0,Math.min(1,T)))===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))+(T===1?")":", "+T+")")}function x(T){return((T=Math.max(0,Math.min(255,Math.round(T)||0)))<16?"0":"")+T.toString(16)}function p(T,k,Q,st){return st<=0?T=k=Q=NaN:Q<=0||Q>=1?T=k=NaN:k<=0&&(T=NaN),new b(T,k,Q,st)}function l(T){if(T instanceof b)return new b(T.h,T.s,T.l,T.opacity);if(T instanceof j||(T=_(T)),!T)return new b;if(T instanceof b)return T;var k=(T=T.rgb()).r/255,Q=T.g/255,st=T.b/255,nt=Math.min(k,Q,st),dt=Math.max(k,Q,st),mt=NaN,Et=dt-nt,Mt=(dt+nt)/2;return Et?(mt=k===dt?(Q-st)/Et+6*(Q0&&Mt<1?0:mt,new b(mt,Et,Mt,T.opacity)}function f(T,k,Q,st){return arguments.length===1?l(T):new b(T,k,Q,st==null?1:st)}function b(T,k,Q,st){this.h=+T,this.s=+k,this.l=+Q,this.opacity=+st}function F(T,k,Q){return 255*(T<60?k+(Q-k)*T/60:T<180?Q:T<240?k+(Q-k)*(240-T)/60:k)}Object(R.a)(j,_,{copy:function(T){return Object.assign(new this.constructor,this,T)},displayable:function(){return this.rgb().displayable()},hex:s,formatHex:s,formatHsl:function(){return l(this).formatHsl()},formatRgb:w,toString:w}),Object(R.a)(S,E,Object(R.b)(j,{brighter:function(T){return T=T==null?K:Math.pow(K,T),new S(this.r*T,this.g*T,this.b*T,this.opacity)},darker:function(T){return T=T==null?et:Math.pow(et,T),new S(this.r*T,this.g*T,this.b*T,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:v,formatHex:v,formatRgb:g,toString:g})),Object(R.a)(b,f,Object(R.b)(j,{brighter:function(T){return T=T==null?K:Math.pow(K,T),new b(this.h,this.s,this.l*T,this.opacity)},darker:function(T){return T=T==null?et:Math.pow(et,T),new b(this.h,this.s,this.l*T,this.opacity)},rgb:function(){var T=this.h%360+360*(this.h<0),k=isNaN(T)||isNaN(this.s)?0:this.s,Q=this.l,st=Q+(Q<.5?Q:1-Q)*k,nt=2*Q-st;return new S(F(T>=240?T-240:T+120,nt,st),F(T,nt,st),F(T<120?T+240:T-120,nt,st),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 T=this.opacity;return((T=isNaN(T)?1:Math.max(0,Math.min(1,T)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(T===1?")":", "+T+")")}}))},function(_t,m,y){"use strict";y.r(m);var R,j,et=y(23),K=y(79),J=0,q=0,Z=0,tt=0,H=0,X=0,B=typeof performance=="object"&&performance.now?performance:Date,U=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(Ot){setTimeout(Ot,17)};function d(){return H||(U(L),H=B.now()+X)}function L(){H=0}function M(){this._call=this._time=this._next=null}function s(Ot,Bt,Ut){var zt=new M;return zt.restart(Ot,Bt,Ut),zt}function w(){H=(tt=B.now())+X,J=q=0;try{(function(){d(),++J;for(var Ot,Bt=R;Bt;)(Ot=H-Bt._time)>=0&&Bt._call.call(null,Ot),Bt=Bt._next;--J})()}finally{J=0,function(){for(var Ot,Bt,Ut=R,zt=1/0;Ut;)Ut._call?(zt>Ut._time&&(zt=Ut._time),Ot=Ut,Ut=Ut._next):(Bt=Ut._next,Ut._next=null,Ut=Ot?Ot._next=Bt:R=Bt);j=Ot,o(zt)}(),H=0}}function _(){var Ot=B.now(),Bt=Ot-tt;Bt>1e3&&(X-=Bt,tt=Ot)}function o(Ot){J||(q&&(q=clearTimeout(q)),Ot-H>24?(Ot<1/0&&(q=setTimeout(w,Ot-B.now()-X)),Z&&(Z=clearInterval(Z))):(Z||(tt=B.now(),Z=setInterval(_,1e3)),J=1,U(w)))}M.prototype=s.prototype={constructor:M,restart:function(Ot,Bt,Ut){if(typeof Ot!="function")throw new TypeError("callback is not a function");Ut=(Ut==null?d():+Ut)+(Bt==null?0:+Bt),this._next||j===this||(j?j._next=this:R=this,j=this),this._call=Ot,this._time=Ut,o()},stop:function(){this._call&&(this._call=null,this._time=1/0,o())}};var u=function(Ot,Bt,Ut){var zt=new M;return Bt=Bt==null?0:+Bt,zt.restart(function(ce){zt.stop(),Ot(ce+Bt)},Bt,Ut),zt},C=Object(K.a)("start","end","cancel","interrupt"),E=[],S=function(Ot,Bt,Ut,zt,ce,_e){var ye=Ot.__transition;if(ye){if(Ut in ye)return}else Ot.__transition={};(function(qe,hn,yn){var Nn,pn=qe.__transition;function Mn(ge){var Ie,Ge,ve,Le;if(yn.state!==1)return fr();for(Ie in pn)if((Le=pn[Ie]).name===yn.name){if(Le.state===3)return u(Mn);Le.state===4?(Le.state=6,Le.timer.stop(),Le.on.call("interrupt",qe,qe.__data__,Le.index,Le.group),delete pn[Ie]):+Ie0)throw new Error("too late; already scheduled");return Ut}function g(Ot,Bt){var Ut=x(Ot,Bt);if(Ut.state>3)throw new Error("too late; already running");return Ut}function x(Ot,Bt){var Ut=Ot.__transition;if(!Ut||!(Ut=Ut[Bt]))throw new Error("transition not found");return Ut}var p=function(Ot,Bt){var Ut,zt,ce,_e=Ot.__transition,ye=!0;if(_e){for(ce in Bt=Bt==null?null:Bt+"",_e)(Ut=_e[ce]).name===Bt?(zt=Ut.state>2&&Ut.state<5,Ut.state=6,Ut.timer.stop(),Ut.on.call(zt?"interrupt":"cancel",Ot,Ot.__data__,Ut.index,Ut.group),delete _e[ce]):ye=!1;ye&&delete Ot.__transition}},l=y(77),f=y(44);function b(Ot,Bt){var Ut,zt;return function(){var ce=g(this,Ot),_e=ce.tween;if(_e!==Ut){for(var ye=0,qe=(zt=Ut=_e).length;ye=0&&(qe=qe.slice(0,hn)),!qe||qe==="start"})}(Bt)?v:g;return function(){var ye=_e(this,Ot),qe=ye.on;qe!==zt&&(ce=(zt=qe).copy()).on(Bt,Ut),ye.on=ce}}var Nt=y(43),gt=y(65),wt=et.b.prototype.constructor,Rt=y(67);function jt(Ot){return function(){this.style.removeProperty(Ot)}}function Zt(Ot,Bt,Ut){return function(zt){this.style.setProperty(Ot,Bt.call(this,zt),Ut)}}function ne(Ot,Bt,Ut){var zt,ce;function _e(){var ye=Bt.apply(this,arguments);return ye!==ce&&(zt=(ce=ye)&&Zt(Ot,ye,Ut)),zt}return _e._value=Bt,_e}function Wt(Ot){return function(Bt){this.textContent=Ot.call(this,Bt)}}function le(Ot){var Bt,Ut;function zt(){var ce=Ot.apply(this,arguments);return ce!==Ut&&(Bt=(Ut=ce)&&Wt(ce)),Bt}return zt._value=Ot,zt}var de=0;function xe(Ot,Bt,Ut,zt){this._groups=Ot,this._parents=Bt,this._name=Ut,this._id=zt}function be(Ot){return Object(et.b)().transition(Ot)}function Ye(){return++de}var tn=et.b.prototype;xe.prototype=be.prototype={constructor:xe,select:function(Ot){var Bt=this._name,Ut=this._id;typeof Ot!="function"&&(Ot=Object(Nt.a)(Ot));for(var zt=this._groups,ce=zt.length,_e=new Array(ce),ye=0;ye1&&Ut.name===Bt)return new xe([[Ot]],Kt,Bt,+zt)}return null};y.d(m,"transition",function(){return be}),y.d(m,"active",function(){return te}),y.d(m,"interrupt",function(){return p})},function(_t,m,y){"use strict";y.r(m);var R=y(56);y.d(m,"formatDefaultLocale",function(){return R.a}),y.d(m,"format",function(){return R.b}),y.d(m,"formatPrefix",function(){return R.c});var j=y(68);y.d(m,"formatLocale",function(){return j.a});var et=y(40);y.d(m,"formatSpecifier",function(){return et.b}),y.d(m,"FormatSpecifier",function(){return et.a});var K=y(80);y.d(m,"precisionFixed",function(){return K.a});var J=y(81);y.d(m,"precisionPrefix",function(){return J.a});var q=y(82);y.d(m,"precisionRound",function(){return q.a})},function(_t,m,y){"use strict";var R;(R=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(m,y,m,_t))===void 0||(_t.exports=R)},function(_t,m,y){"use strict";function R(F){return+F}function j(F){return F*F}function et(F){return F*(2-F)}function K(F){return((F*=2)<=1?F*F:--F*(2-F)+1)/2}y.r(m);var J=y(49),q=function F(T){function k(Q){return Math.pow(Q,T)}return T=+T,k.exponent=F,k}(3),Z=function F(T){function k(Q){return 1-Math.pow(1-Q,T)}return T=+T,k.exponent=F,k}(3),tt=function F(T){function k(Q){return((Q*=2)<=1?Math.pow(Q,T):2-Math.pow(2-Q,T))/2}return T=+T,k.exponent=F,k}(3),H=Math.PI,X=H/2;function B(F){return 1-Math.cos(F*X)}function U(F){return Math.sin(F*X)}function d(F){return(1-Math.cos(H*F))/2}function L(F){return Math.pow(2,10*F-10)}function M(F){return 1-Math.pow(2,-10*F)}function s(F){return((F*=2)<=1?Math.pow(2,10*F-10):2-Math.pow(2,10-10*F))/2}function w(F){return 1-Math.sqrt(1-F*F)}function _(F){return Math.sqrt(1- --F*F)}function o(F){return((F*=2)<=1?1-Math.sqrt(1-F*F):Math.sqrt(1-(F-=2)*F)+1)/2}var u=7.5625;function C(F){return 1-E(1-F)}function E(F){return(F=+F)<.36363636363636365?u*F*F:F<.7272727272727273?u*(F-=.5454545454545454)*F+.75:F<.9090909090909091?u*(F-=.8181818181818182)*F+.9375:u*(F-=.9545454545454546)*F+.984375}function S(F){return((F*=2)<=1?1-E(1-F):E(F-1)+1)/2}var v=function F(T){function k(Q){return Q*Q*((T+1)*Q-T)}return T=+T,k.overshoot=F,k}(1.70158),g=function F(T){function k(Q){return--Q*Q*((T+1)*Q+T)+1}return T=+T,k.overshoot=F,k}(1.70158),x=function F(T){function k(Q){return((Q*=2)<1?Q*Q*((T+1)*Q-T):(Q-=2)*Q*((T+1)*Q+T)+2)/2}return T=+T,k.overshoot=F,k}(1.70158),p=2*Math.PI,l=function F(T,k){var Q=Math.asin(1/(T=Math.max(1,T)))*(k/=p);function st(nt){return T*Math.pow(2,10*--nt)*Math.sin((Q-nt)/k)}return st.amplitude=function(nt){return F(nt,k*p)},st.period=function(nt){return F(T,nt)},st}(1,.3),f=function F(T,k){var Q=Math.asin(1/(T=Math.max(1,T)))*(k/=p);function st(nt){return 1-T*Math.pow(2,-10*(nt=+nt))*Math.sin((nt+Q)/k)}return st.amplitude=function(nt){return F(nt,k*p)},st.period=function(nt){return F(T,nt)},st}(1,.3),b=function F(T,k){var Q=Math.asin(1/(T=Math.max(1,T)))*(k/=p);function st(nt){return((nt=2*nt-1)<0?T*Math.pow(2,10*nt)*Math.sin((Q-nt)/k):2-T*Math.pow(2,-10*nt)*Math.sin((Q+nt)/k))/2}return st.amplitude=function(nt){return F(nt,k*p)},st.period=function(nt){return F(T,nt)},st}(1,.3);y.d(m,"easeLinear",function(){return R}),y.d(m,"easeQuad",function(){return K}),y.d(m,"easeQuadIn",function(){return j}),y.d(m,"easeQuadOut",function(){return et}),y.d(m,"easeQuadInOut",function(){return K}),y.d(m,"easeCubic",function(){return J.b}),y.d(m,"easeCubicIn",function(){return J.a}),y.d(m,"easeCubicOut",function(){return J.c}),y.d(m,"easeCubicInOut",function(){return J.b}),y.d(m,"easePoly",function(){return tt}),y.d(m,"easePolyIn",function(){return q}),y.d(m,"easePolyOut",function(){return Z}),y.d(m,"easePolyInOut",function(){return tt}),y.d(m,"easeSin",function(){return d}),y.d(m,"easeSinIn",function(){return B}),y.d(m,"easeSinOut",function(){return U}),y.d(m,"easeSinInOut",function(){return d}),y.d(m,"easeExp",function(){return s}),y.d(m,"easeExpIn",function(){return L}),y.d(m,"easeExpOut",function(){return M}),y.d(m,"easeExpInOut",function(){return s}),y.d(m,"easeCircle",function(){return o}),y.d(m,"easeCircleIn",function(){return w}),y.d(m,"easeCircleOut",function(){return _}),y.d(m,"easeCircleInOut",function(){return o}),y.d(m,"easeBounce",function(){return E}),y.d(m,"easeBounceIn",function(){return C}),y.d(m,"easeBounceOut",function(){return E}),y.d(m,"easeBounceInOut",function(){return S}),y.d(m,"easeBack",function(){return x}),y.d(m,"easeBackIn",function(){return v}),y.d(m,"easeBackOut",function(){return g}),y.d(m,"easeBackInOut",function(){return x}),y.d(m,"easeElastic",function(){return f}),y.d(m,"easeElasticIn",function(){return l}),y.d(m,"easeElasticOut",function(){return f}),y.d(m,"easeElasticInOut",function(){return b})},function(_t,m,y){"use strict";y.r(m);var R=y(0);function j(ve,Le){switch(arguments.length){case 0:break;case 1:this.range(ve);break;default:this.range(Le).domain(ve)}return this}function et(ve,Le){switch(arguments.length){case 0:break;case 1:this.interpolator(ve);break;default:this.interpolator(Le).domain(ve)}return this}var K=y(25),J=Array.prototype,q=J.map,Z=J.slice,tt={name:"implicit"};function H(){var ve=Object(K.map)(),Le=[],ze=[],Oe=tt;function De(Ze){var Sn=Ze+"",Me=ve.get(Sn);if(!Me){if(Oe!==tt)return Oe;ve.set(Sn,Me=Le.push(Ze))}return ze[(Me-1)%ze.length]}return De.domain=function(Ze){if(!arguments.length)return Le.slice();Le=[],ve=Object(K.map)();for(var Sn,Me,en=-1,xn=Ze.length;++enOe&&(Le=ze,ze=Oe,Oe=Le),function(De){return Math.max(ze,Math.min(Oe,De))}}function C(ve,Le,ze){var Oe=ve[0],De=ve[1],Ze=Le[0],Sn=Le[1];return De2?E:C,De=Ze=null,bn}function bn(nn){return isNaN(nn=+nn)?ze:(De||(De=Oe(Sn.map(ve),Me,en)))(ve(xn(nn)))}return bn.invert=function(nn){return xn(Le((Ze||(Ze=Oe(Me,Sn.map(ve),L.a)))(nn)))},bn.domain=function(nn){return arguments.length?(Sn=q.call(nn,s),xn===_||(xn=u(Sn)),Te()):Sn.slice()},bn.range=function(nn){return arguments.length?(Me=Z.call(nn),Te()):Me.slice()},bn.rangeRound=function(nn){return Me=Z.call(nn),en=M.a,Te()},bn.clamp=function(nn){return arguments.length?(xn=nn?u(Sn):_,bn):xn!==_},bn.interpolate=function(nn){return arguments.length?(en=nn,Te()):en},bn.unknown=function(nn){return arguments.length?(ze=nn,bn):ze},function(nn,fn){return ve=nn,Le=fn,Te()}}function g(ve,Le){return v()(ve,Le)}var x=y(40),p=y(81),l=y(56),f=y(82),b=y(80),F=function(ve,Le,ze,Oe){var De,Ze=Object(R.tickStep)(ve,Le,ze);switch((Oe=Object(x.b)(Oe==null?",f":Oe)).type){case"s":var Sn=Math.max(Math.abs(ve),Math.abs(Le));return Oe.precision!=null||isNaN(De=Object(p.a)(Ze,Sn))||(Oe.precision=De),Object(l.c)(Oe,Sn);case"":case"e":case"g":case"p":case"r":Oe.precision!=null||isNaN(De=Object(f.a)(Ze,Math.max(Math.abs(ve),Math.abs(Le))))||(Oe.precision=De-(Oe.type==="e"));break;case"f":case"%":Oe.precision!=null||isNaN(De=Object(b.a)(Ze))||(Oe.precision=De-2*(Oe.type==="%"))}return Object(l.b)(Oe)};function T(ve){var Le=ve.domain;return ve.ticks=function(ze){var Oe=Le();return Object(R.ticks)(Oe[0],Oe[Oe.length-1],ze==null?10:ze)},ve.tickFormat=function(ze,Oe){var De=Le();return F(De[0],De[De.length-1],ze==null?10:ze,Oe)},ve.nice=function(ze){ze==null&&(ze=10);var Oe,De=Le(),Ze=0,Sn=De.length-1,Me=De[Ze],en=De[Sn];return en0?(Me=Math.floor(Me/Oe)*Oe,en=Math.ceil(en/Oe)*Oe,Oe=Object(R.tickIncrement)(Me,en,ze)):Oe<0&&(Me=Math.ceil(Me*Oe)/Oe,en=Math.floor(en*Oe)/Oe,Oe=Object(R.tickIncrement)(Me,en,ze)),Oe>0?(De[Ze]=Math.floor(Me/Oe)*Oe,De[Sn]=Math.ceil(en/Oe)*Oe,Le(De)):Oe<0&&(De[Ze]=Math.ceil(Me*Oe)/Oe,De[Sn]=Math.floor(en*Oe)/Oe,Le(De)),ve},ve}function k(){var ve=g(_,_);return ve.copy=function(){return S(ve,k())},j.apply(ve,arguments),T(ve)}function Q(ve){var Le;function ze(Oe){return isNaN(Oe=+Oe)?Le:Oe}return ze.invert=ze,ze.domain=ze.range=function(Oe){return arguments.length?(ve=q.call(Oe,s),ze):ve.slice()},ze.unknown=function(Oe){return arguments.length?(Le=Oe,ze):Le},ze.copy=function(){return Q(ve).unknown(Le)},ve=arguments.length?q.call(ve,s):[0,1],T(ze)}var st=function(ve,Le){var ze,Oe=0,De=(ve=ve.slice()).length-1,Ze=ve[Oe],Sn=ve[De];return Sn0){for(;vnbn)break;dr.push(wn)}}else for(;vn=1;--fn)if(!((wn=nn*fn)bn)break;dr.push(wn)}}else dr=Object(R.ticks)(vn,cr,Math.min(cr-vn,Jn)).map(ze);return en?dr.reverse():dr},Oe.tickFormat=function(Me,en){if(en==null&&(en=Ze===10?".0e":","),typeof en!="function"&&(en=Object(l.b)(en)),Me===1/0)return en;Me==null&&(Me=10);var xn=Math.max(1,Ze*Me/Oe.ticks().length);return function(Te){var bn=Te/ze(Math.round(Le(Te)));return bn*Ze0?Oe[Me-1]:Le[0],Me=Oe?[De[Oe-1],ze]:[De[xn-1],De[xn]]},Sn.unknown=function(en){return arguments.length&&(ve=en),Sn},Sn.thresholds=function(){return De.slice()},Sn.copy=function(){return Nt().domain([Le,ze]).range(Ze).unknown(ve)},j.apply(T(Sn),arguments)}function gt(){var ve,Le=[.5],ze=[0,1],Oe=1;function De(Ze){return Ze<=Ze?ze[Object(R.bisect)(Le,Ze,0,Oe)]:ve}return De.domain=function(Ze){return arguments.length?(Le=Z.call(Ze),Oe=Math.min(Le.length,ze.length-1),De):Le.slice()},De.range=function(Ze){return arguments.length?(ze=Z.call(Ze),Oe=Math.min(Le.length,ze.length-1),De):ze.slice()},De.invertExtent=function(Ze){var Sn=ze.indexOf(Ze);return[Le[Sn-1],Le[Sn]]},De.unknown=function(Ze){return arguments.length?(ve=Ze,De):ve},De.copy=function(){return gt().domain(Le).range(ze).unknown(ve)},j.apply(De,arguments)}var wt=y(33),Rt=y(69),jt=y(5),Zt=y(53),ne=y(70),Wt=y(71),le=y(51),de=y(52),xe=y(21);function be(ve){return new Date(ve)}function Ye(ve){return ve instanceof Date?+ve:+new Date(+ve)}function tn(ve,Le,ze,Oe,De,Ze,Sn,Me,en){var xn=g(_,_),Te=xn.invert,bn=xn.domain,nn=en(".%L"),fn=en(":%S"),wn=en("%I:%M"),vn=en("%I %p"),cr=en("%a %d"),Jn=en("%b %d"),dr=en("%B"),mr=en("%Y"),tr=[[Sn,1,1e3],[Sn,5,5e3],[Sn,15,15e3],[Sn,30,3e4],[Ze,1,6e4],[Ze,5,3e5],[Ze,15,9e5],[Ze,30,18e5],[De,1,36e5],[De,3,108e5],[De,6,216e5],[De,12,432e5],[Oe,1,864e5],[Oe,2,1728e5],[ze,1,6048e5],[Le,1,2592e6],[Le,3,7776e6],[ve,1,31536e6]];function Dr(ar){return(Sn(ar)svg{background:"+this.chartBackground+";padding: 20px;}"}};function tt(d,L){if(d){d.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg");var M=J.initializeSerializer()(d.node());return M=function(s){return navigator.userAgent.search("FireFox")>-1?s.replace(/url.*"\)/,'url("linearGradient[id*="-gradient-"]");'):s}(M),M=function(s){return s.replace(">",">"+Z.styleBackgroundString)}(M=U.call(this,M,L,parseInt(d.attr("width"),10)))}}function H(d){var L=new Image;return L.src=""+Z.imageSourceBase+q(encodeURIComponent(d).replace(/%([0-9A-F]{2})/g,function(M,s){return String.fromCharCode("0x"+s)})),L}function X(d,L){return L.getContext("2d").drawImage(d,0,0),L}function B(d,L,M){M.preventDefault(),function(s){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z.defaultFilename,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"image/png",o=s.toDataURL(_),u=document.createElement("a");u.href=o,u.download=w,document.body.appendChild(u),u.click(),document.body.removeChild(u)}(X(this,d),L)}function U(d,L,M){if(!L||!M)return d;var s=K.grey;return d=d.replace(/ '+L+"
@@ -159,9 +159,9 @@ var XY=Object.defineProperty,GY=Object.defineProperties;var $Y=Object.getOwnProp
- `}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";s.r(j);var w=Array.prototype.slice,k=function(o){return o};function W(o){return"translate("+(o+.5)+",0)"}function G(o){return"translate(0,"+(o+.5)+")"}function Q(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(_){return+o(_)+T}}function Y(){return!this.__axis}function z(o,T){var _=[],f=null,C=null,x=6,m=6,g=3,b=o===1||o===4?-1:1,R=o===4||o===2?"x":"y",y=o===1||o===3?W:G;function v(l){var u=f==null?T.ticks?T.ticks.apply(T,_):T.domain():f,D=C==null?T.tickFormat?T.tickFormat.apply(T,_):k:C,L=Math.max(x,0)+g,c=T.range(),S=+c[0]+.5,I=+c[c.length-1]+.5,nt=(T.bandwidth?U:Q)(T.copy()),it=l.selection?l.selection():l,ot=it.selectAll(".domain").data([null]),K=it.selectAll(".tick").data(u,T).order(),ft=K.exit(),F=K.enter().append("g").attr("class","tick"),H=K.select("line"),ct=K.select("text");ot=ot.merge(ot.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),K=K.merge(F),H=H.merge(F.append("line").attr("stroke","currentColor").attr(R+"2",b*x)),ct=ct.merge(F.append("text").attr("fill","currentColor").attr(R,b*L).attr("dy",o===1?"0em":o===3?"0.71em":"0.32em")),l!==it&&(ot=ot.transition(l),K=K.transition(l),H=H.transition(l),ct=ct.transition(l),ft=ft.transition(l).attr("opacity",1e-6).attr("transform",function(pt){return isFinite(pt=nt(pt))?y(pt):this.getAttribute("transform")}),F.attr("opacity",1e-6).attr("transform",function(pt){var et=this.parentNode.__axis;return y(et&&isFinite(et=et(pt))?et:nt(pt))})),ft.remove(),ot.attr("d",o===4||o==2?m?"M"+b*m+","+S+"H0.5V"+I+"H"+b*m:"M0.5,"+S+"V"+I:m?"M"+S+","+b*m+"V0.5H"+I+"V"+b*m:"M"+S+",0.5H"+I),K.attr("opacity",1).attr("transform",function(pt){return y(nt(pt))}),H.attr(R+"2",b*x),ct.attr(R,b*L).text(D),it.filter(Y).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",o===2?"start":o===4?"end":"middle"),it.each(function(){this.__axis=nt})}return v.scale=function(l){return arguments.length?(T=l,v):T},v.ticks=function(){return _=w.call(arguments),v},v.tickArguments=function(l){return arguments.length?(_=l==null?[]:w.call(l),v):_.slice()},v.tickValues=function(l){return arguments.length?(f=l==null?null:w.call(l),v):f&&f.slice()},v.tickFormat=function(l){return arguments.length?(C=l,v):C},v.tickSize=function(l){return arguments.length?(x=m=+l,v):x},v.tickSizeInner=function(l){return arguments.length?(x=+l,v):x},v.tickSizeOuter=function(l){return arguments.length?(m=+l,v):m},v.tickPadding=function(l){return arguments.length?(g=+l,v):g},v}function A(o){return z(1,o)}function O(o){return z(2,o)}function E(o){return z(3,o)}function p(o){return z(4,o)}s.d(j,"axisTop",function(){return A}),s.d(j,"axisRight",function(){return O}),s.d(j,"axisBottom",function(){return E}),s.d(j,"axisLeft",function(){return p})},function(bt,j,s){"use strict";s.r(j);var w=s(41),k=s(61),W=s(42),G=s(58),Q=s(60),U=function(ot){var K=ot.length;return function(ft){return ot[Math.max(0,Math.min(K-1,Math.floor(ft*K)))]}},Y=s(4),z=function(ot,K){var ft=Object(Y.c)(+ot,+K);return function(F){var H=ft(F);return H-360*Math.floor(H/360)}},A=s(14),O=s(31),E=s(62),p=s(83),o=s(59),T=s(77),_=Math.SQRT2;function f(ot){return((ot=Math.exp(ot))+1/ot)/2}var C=function(ot,K){var ft,F,H=ot[0],ct=ot[1],pt=ot[2],et=K[0],dt=K[1],V=K[2],tt=et-H,J=dt-ct,Z=tt*tt+J*J;if(Z<1e-12)F=Math.log(V/pt)/_,ft=function(Dt){return[H+Dt*tt,ct+Dt*J,pt*Math.exp(_*Dt*F)]};else{var st=Math.sqrt(Z),_t=(V*V-pt*pt+4*Z)/(2*pt*2*st),yt=(V*V-pt*pt-4*Z)/(2*V*2*st),Mt=Math.log(Math.sqrt(_t*_t+1)-_t),xt=Math.log(Math.sqrt(yt*yt+1)-yt);F=(xt-Mt)/_,ft=function(Dt){var jt,Nt=Dt*F,Pt=f(Mt),Tt=pt/(2*st)*(Pt*(jt=_*Nt+Mt,((jt=Math.exp(2*jt))-1)/(jt+1))-function(gt){return((gt=Math.exp(gt))-1/gt)/2}(Mt));return[H+Tt*tt,ct+Tt*J,pt*Pt/f(_*Nt+Mt)]}}return ft.duration=1e3*F,ft},x=s(36),m=s(7);function g(ot){return function(K,ft){var F=ot((K=Object(m.f)(K)).h,(ft=Object(m.f)(ft)).h),H=Object(Y.a)(K.s,ft.s),ct=Object(Y.a)(K.l,ft.l),pt=Object(Y.a)(K.opacity,ft.opacity);return function(et){return K.h=F(et),K.s=H(et),K.l=ct(et),K.opacity=pt(et),K+""}}}var b=g(Y.c),R=g(Y.a),y=s(50);function v(ot,K){var ft=Object(Y.a)((ot=Object(y.a)(ot)).l,(K=Object(y.a)(K)).l),F=Object(Y.a)(ot.a,K.a),H=Object(Y.a)(ot.b,K.b),ct=Object(Y.a)(ot.opacity,K.opacity);return function(pt){return ot.l=ft(pt),ot.a=F(pt),ot.b=H(pt),ot.opacity=ct(pt),ot+""}}function l(ot){return function(K,ft){var F=ot((K=Object(y.c)(K)).h,(ft=Object(y.c)(ft)).h),H=Object(Y.a)(K.c,ft.c),ct=Object(Y.a)(K.l,ft.l),pt=Object(Y.a)(K.opacity,ft.opacity);return function(et){return K.h=F(et),K.c=H(et),K.l=ct(et),K.opacity=pt(et),K+""}}}var u=l(Y.c),D=l(Y.a),L=s(78);function c(ot){return function K(ft){function F(H,ct){var pt=ot((H=Object(L.a)(H)).h,(ct=Object(L.a)(ct)).h),et=Object(Y.a)(H.s,ct.s),dt=Object(Y.a)(H.l,ct.l),V=Object(Y.a)(H.opacity,ct.opacity);return function(tt){return H.h=pt(tt),H.s=et(tt),H.l=dt(Math.pow(tt,ft)),H.opacity=V(tt),H+""}}return ft=+ft,F.gamma=K,F}(1)}var S=c(Y.c),I=c(Y.a);function nt(ot,K){for(var ft=0,F=K.length-1,H=K[0],ct=new Array(F<0?0:F);ftMt?1:yt>=Mt?0:NaN}var A=s(44);function O(yt){return function(){this.removeAttribute(yt)}}function E(yt){return function(){this.removeAttributeNS(yt.space,yt.local)}}function p(yt,Mt){return function(){this.setAttribute(yt,Mt)}}function o(yt,Mt){return function(){this.setAttributeNS(yt.space,yt.local,Mt)}}function T(yt,Mt){return function(){var xt=Mt.apply(this,arguments);xt==null?this.removeAttribute(yt):this.setAttribute(yt,xt)}}function _(yt,Mt){return function(){var xt=Mt.apply(this,arguments);xt==null?this.removeAttributeNS(yt.space,yt.local):this.setAttributeNS(yt.space,yt.local,xt)}}var f=s(67);function C(yt){return function(){delete this[yt]}}function x(yt,Mt){return function(){this[yt]=Mt}}function m(yt,Mt){return function(){var xt=Mt.apply(this,arguments);xt==null?delete this[yt]:this[yt]=xt}}function g(yt){return yt.trim().split(/^|\s+/)}function b(yt){return yt.classList||new R(yt)}function R(yt){this._node=yt,this._names=g(yt.getAttribute("class")||"")}function y(yt,Mt){for(var xt=b(yt),Dt=-1,jt=Mt.length;++Dt=0&&(this._names.splice(Mt,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(yt){return this._names.indexOf(yt)>=0}};function L(){this.textContent=""}function c(yt){return function(){this.textContent=yt}}function S(yt){return function(){var Mt=yt.apply(this,arguments);this.textContent=Mt==null?"":Mt}}function I(){this.innerHTML=""}function nt(yt){return function(){this.innerHTML=yt}}function it(yt){return function(){var Mt=yt.apply(this,arguments);this.innerHTML=Mt==null?"":Mt}}function ot(){this.nextSibling&&this.parentNode.appendChild(this)}function K(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var ft=s(29);function F(){return null}function H(){var yt=this.parentNode;yt&&yt.removeChild(this)}function ct(){var yt=this.cloneNode(!1),Mt=this.parentNode;return Mt?Mt.insertBefore(yt,this.nextSibling):yt}function pt(){var yt=this.cloneNode(!0),Mt=this.parentNode;return Mt?Mt.insertBefore(yt,this.nextSibling):yt}var et=s(37),dt=s(45);function V(yt,Mt,xt){var Dt=Object(dt.a)(yt),jt=Dt.CustomEvent;typeof jt=="function"?jt=new jt(Mt,xt):(jt=Dt.document.createEvent("Event"),xt?(jt.initEvent(Mt,xt.bubbles,xt.cancelable),jt.detail=xt.detail):jt.initEvent(Mt,!1,!1)),yt.dispatchEvent(jt)}function tt(yt,Mt){return function(){return V(this,yt,Mt)}}function J(yt,Mt){return function(){return V(this,yt,Mt.apply(this,arguments))}}s.d(j,"c",function(){return Z}),s.d(j,"a",function(){return st});var Z=[null];function st(yt,Mt){this._groups=yt,this._parents=Mt}function _t(){return new st([[document.documentElement]],Z)}st.prototype=_t.prototype={constructor:st,select:function(yt){typeof yt!="function"&&(yt=Object(w.a)(yt));for(var Mt=this._groups,xt=Mt.length,Dt=new Array(xt),jt=0;jt=le&&(le=cn+1);!(wn=an[le])&&++le=0;)(Dt=jt[Nt])&&(Pt&&4^Dt.compareDocumentPosition(Pt)&&Pt.parentNode.insertBefore(Dt,Pt),Pt=Dt);return this},sort:function(yt){function Mt($t,se){return $t&&se?yt($t.__data__,se.__data__):!$t-!se}yt||(yt=z);for(var xt=this._groups,Dt=xt.length,jt=new Array(Dt),Nt=0;Nt1?this.each((Mt==null?C:typeof Mt=="function"?m:x)(yt,Mt)):this.node()[yt]},classed:function(yt,Mt){var xt=g(yt+"");if(arguments.length<2){for(var Dt=b(this.node()),jt=-1,Nt=xt.length;++jt=m.length)return f!=null&&R.sort(f),C!=null?C(R):R;for(var u,D,L,c=-1,S=R.length,I=m[y++],nt=W(),it=v();++cm.length)return v;var u,D=g[l-1];return C!=null&&l>=m.length?u=v.entries():(u=[],v.each(function(L,c){u.push({key:c,values:y(L,l)})})),D!=null?u.sort(function(L,c){return D(L.key,c.key)}):u}(b(R,0,Y,z),0)},key:function(R){return m.push(R),x},sortKeys:function(R){return g[m.length-1]=R,x},sortValues:function(R){return f=R,x},rollup:function(R){return C=R,x}}};function Q(){return{}}function U(f,C,x){f[C]=x}function Y(){return W()}function z(f,C,x){f.set(C,x)}function A(){}var O=W.prototype;function E(f,C){var x=new A;if(f instanceof A)f.each(function(b){x.add(b)});else if(f){var m=-1,g=f.length;if(C==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(O).width},wrapText:function(O,E,p,o){var T=W.select(o),_=T.text().split(/\s+/).reverse(),f=void 0,C=[],x=0,m=G*U,g=T.attr("y"),b=parseFloat(T.attr("dy")),R=E*Y,y=T.text(null).append("tspan").attr("x",O).attr("y",g-5).attr("dy",b+"em").classed(z,!0).style("font-size",E+"px");for(y.text(_.pop()),y=T.append("tspan").classed(A,!0).attr("x",O).attr("y",g+Q).attr("dy",++x*m+b+"em").style("font-size",R+"px");f=_.pop();)C.push(f),y.text(C.join(" ")),y.node()&&y.node().getComputedTextLength()>p-50&&(C.pop(),y.text(C.join(" ")),C=[f],y=T.append("tspan").classed(A,!0).attr("x",O).attr("y",g+Q).attr("dy",++x*m+b+"em").text(f).style("font-size",R+"px"))},wrapTextWithEllipses:function(O,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;O.each(function(){var _,f,C,x,m,g,b;for(_=(O=W.select(this)).text().split(/\s+/).reverse(),C=[],x=0,m=O.attr("y"),g=parseFloat(O.attr("dy")),b=O.text(null).append("tspan").attr("x",p).attr("y",m).attr("dy",g+"em");f=_.pop();)if(C.push(f),b.text(C.join(" ")),b.node()&&b.node().getComputedTextLength()>E){if(C.pop(),b.text(C.join(" ")),!(x1e-6)if(Math.abs(Rn*Fe-Qe*Sn)>1e-6&&fe){var dr=ee-Se,ir=ce-Ge,$n=Fe*Fe+Qe*Qe,ur=dr*dr+ir*ir,Cr=Math.sqrt($n),br=Math.sqrt(zn),jr=fe*Math.tan((w-Math.acos(($n+zn-ur)/(2*Cr*br)))/2),Gr=jr/br,li=jr/Cr;Math.abs(Gr-1)>1e-6&&(this._+="L"+(Et+Gr*Sn)+","+(Vt+Gr*Rn)),this._+="A"+fe+","+fe+",0,0,"+ +(Rn*dr>Sn*ir)+","+(this._x1=Et+li*Fe)+","+(this._y1=Vt+li*Qe)}else this._+="L"+(this._x1=Et)+","+(this._y1=Vt)},arc:function(Et,Vt,ee,ce,fe,Se){Et=+Et,Vt=+Vt,Se=!!Se;var Ge=(ee=+ee)*Math.cos(ce),Fe=ee*Math.sin(ce),Qe=Et+Ge,Sn=Vt+Fe,Rn=1^Se,zn=Se?ce-fe:fe-ce;if(ee<0)throw new Error("negative radius: "+ee);this._x1===null?this._+="M"+Qe+","+Sn:(Math.abs(this._x1-Qe)>1e-6||Math.abs(this._y1-Sn)>1e-6)&&(this._+="L"+Qe+","+Sn),ee&&(zn<0&&(zn=zn%k+k),zn>W?this._+="A"+ee+","+ee+",0,1,"+Rn+","+(Et-Ge)+","+(Vt-Fe)+"A"+ee+","+ee+",0,1,"+Rn+","+(this._x1=Qe)+","+(this._y1=Sn):zn>1e-6&&(this._+="A"+ee+","+ee+",0,"+ +(zn>=w)+","+Rn+","+(this._x1=Et+ee*Math.cos(fe))+","+(this._y1=Vt+ee*Math.sin(fe))))},rect:function(Et,Vt,ee,ce){this._+="M"+(this._x0=this._x1=+Et)+","+(this._y0=this._y1=+Vt)+"h"+ +ee+"v"+ +ce+"h"+-ee+"Z"},toString:function(){return this._}};var U=Q,Y=function(Et){return function(){return Et}},z=Math.abs,A=Math.atan2,O=Math.cos,E=Math.max,p=Math.min,o=Math.sin,T=Math.sqrt,_=Math.PI,f=_/2,C=2*_;function x(Et){return Et>1?0:Et<-1?_:Math.acos(Et)}function m(Et){return Et>=1?f:Et<=-1?-f:Math.asin(Et)}function g(Et){return Et.innerRadius}function b(Et){return Et.outerRadius}function R(Et){return Et.startAngle}function y(Et){return Et.endAngle}function v(Et){return Et&&Et.padAngle}function l(Et,Vt,ee,ce,fe,Se,Ge,Fe){var Qe=ee-Et,Sn=ce-Vt,Rn=Ge-fe,zn=Fe-Se,dr=zn*Qe-Rn*Sn;if(!(dr*dr<1e-12))return[Et+(dr=(Rn*(Vt-Se)-zn*(Et-fe))/dr)*Qe,Vt+dr*Sn]}function u(Et,Vt,ee,ce,fe,Se,Ge){var Fe=Et-ee,Qe=Vt-ce,Sn=(Ge?Se:-Se)/T(Fe*Fe+Qe*Qe),Rn=Sn*Qe,zn=-Sn*Fe,dr=Et+Rn,ir=Vt+zn,$n=ee+Rn,ur=ce+zn,Cr=(dr+$n)/2,br=(ir+ur)/2,jr=$n-dr,Gr=ur-ir,li=jr*jr+Gr*Gr,Ri=fe-Se,Pi=dr*ur-$n*ir,vi=(Gr<0?-1:1)*T(E(0,Ri*Ri*li-Pi*Pi)),Oi=(Pi*Gr-jr*vi)/li,Li=(-Pi*jr-Gr*vi)/li,Ni=(Pi*Gr+jr*vi)/li,Xi=(-Pi*jr+Gr*vi)/li,io=Oi-Cr,Zi=Li-br,So=Ni-Cr,Ao=Xi-br;return io*io+Zi*Zi>So*So+Ao*Ao&&(Oi=Ni,Li=Xi),{cx:Oi,cy:Li,x01:-Rn,y01:-zn,x11:Oi*(fe/Ri-1),y11:Li*(fe/Ri-1)}}var D=function(){var Et=g,Vt=b,ee=Y(0),ce=null,fe=R,Se=y,Ge=v,Fe=null;function Qe(){var Sn,Rn,zn=+Et.apply(this,arguments),dr=+Vt.apply(this,arguments),ir=fe.apply(this,arguments)-f,$n=Se.apply(this,arguments)-f,ur=z($n-ir),Cr=$n>ir;if(Fe||(Fe=Sn=U()),dr1e-12)if(ur>C-1e-12)Fe.moveTo(dr*O(ir),dr*o(ir)),Fe.arc(0,0,dr,ir,$n,!Cr),zn>1e-12&&(Fe.moveTo(zn*O($n),zn*o($n)),Fe.arc(0,0,zn,$n,ir,Cr));else{var br,jr,Gr=ir,li=$n,Ri=ir,Pi=$n,vi=ur,Oi=ur,Li=Ge.apply(this,arguments)/2,Ni=Li>1e-12&&(ce?+ce.apply(this,arguments):T(zn*zn+dr*dr)),Xi=p(z(dr-zn)/2,+ee.apply(this,arguments)),io=Xi,Zi=Xi;if(Ni>1e-12){var So=m(Ni/zn*o(Li)),Ao=m(Ni/dr*o(Li));(vi-=2*So)>1e-12?(Ri+=So*=Cr?1:-1,Pi-=So):(vi=0,Ri=Pi=(ir+$n)/2),(Oi-=2*Ao)>1e-12?(Gr+=Ao*=Cr?1:-1,li-=Ao):(Oi=0,Gr=li=(ir+$n)/2)}var ho=dr*O(Gr),ao=dr*o(Gr),wo=zn*O(Pi),Ho=zn*o(Pi);if(Xi>1e-12){var lo,ki=dr*O(li),ta=dr*o(li),ea=zn*O(Ri),Eo=zn*o(Ri);if(ur<_&&(lo=l(ho,ao,ea,Eo,ki,ta,wo,Ho))){var go=ho-lo[0],Go=ao-lo[1],ua=ki-lo[0],ka=ta-lo[1],Mu=1/o(x((go*ua+Go*ka)/(T(go*go+Go*Go)*T(ua*ua+ka*ka)))/2),Ol=T(lo[0]*lo[0]+lo[1]*lo[1]);io=p(Xi,(zn-Ol)/(Mu-1)),Zi=p(Xi,(dr-Ol)/(Mu+1))}}Oi>1e-12?Zi>1e-12?(br=u(ea,Eo,ho,ao,dr,Zi,Cr),jr=u(ki,ta,wo,Ho,dr,Zi,Cr),Fe.moveTo(br.cx+br.x01,br.cy+br.y01),Zi1e-12&&vi>1e-12?io>1e-12?(br=u(wo,Ho,ki,ta,zn,-io,Cr),jr=u(ho,ao,ea,Eo,zn,-io,Cr),Fe.lineTo(br.cx+br.x01,br.cy+br.y01),io=dr;--ir)Fe.point(jr[ir],Gr[ir]);Fe.lineEnd(),Fe.areaEnd()}br&&(jr[zn]=+Et($n,zn,Rn),Gr[zn]=+ee($n,zn,Rn),Fe.point(Vt?+Vt($n,zn,Rn):jr[zn],ce?+ce($n,zn,Rn):Gr[zn]))}if(ur)return Fe=null,ur+""||null}function Sn(){return nt().defined(fe).curve(Ge).context(Se)}return Qe.x=function(Rn){return arguments.length?(Et=typeof Rn=="function"?Rn:Y(+Rn),Vt=null,Qe):Et},Qe.x0=function(Rn){return arguments.length?(Et=typeof Rn=="function"?Rn:Y(+Rn),Qe):Et},Qe.x1=function(Rn){return arguments.length?(Vt=Rn==null?null:typeof Rn=="function"?Rn:Y(+Rn),Qe):Vt},Qe.y=function(Rn){return arguments.length?(ee=typeof Rn=="function"?Rn:Y(+Rn),ce=null,Qe):ee},Qe.y0=function(Rn){return arguments.length?(ee=typeof Rn=="function"?Rn:Y(+Rn),Qe):ee},Qe.y1=function(Rn){return arguments.length?(ce=Rn==null?null:typeof Rn=="function"?Rn:Y(+Rn),Qe):ce},Qe.lineX0=Qe.lineY0=function(){return Sn().x(Et).y(ee)},Qe.lineY1=function(){return Sn().x(Et).y(ce)},Qe.lineX1=function(){return Sn().x(Vt).y(ee)},Qe.defined=function(Rn){return arguments.length?(fe=typeof Rn=="function"?Rn:Y(!!Rn),Qe):fe},Qe.curve=function(Rn){return arguments.length?(Ge=Rn,Se!=null&&(Fe=Ge(Se)),Qe):Ge},Qe.context=function(Rn){return arguments.length?(Rn==null?Se=Fe=null:Fe=Ge(Se=Rn),Qe):Se},Qe},ot=function(Et,Vt){return VtEt?1:Vt>=Et?0:NaN},K=function(Et){return Et},ft=function(){var Et=K,Vt=ot,ee=null,ce=Y(0),fe=Y(C),Se=Y(0);function Ge(Fe){var Qe,Sn,Rn,zn,dr,ir=Fe.length,$n=0,ur=new Array(ir),Cr=new Array(ir),br=+ce.apply(this,arguments),jr=Math.min(C,Math.max(-C,fe.apply(this,arguments)-br)),Gr=Math.min(Math.abs(jr)/ir,Se.apply(this,arguments)),li=Gr*(jr<0?-1:1);for(Qe=0;Qe0&&($n+=dr);for(Vt!=null?ur.sort(function(Ri,Pi){return Vt(Cr[Ri],Cr[Pi])}):ee!=null&&ur.sort(function(Ri,Pi){return ee(Fe[Ri],Fe[Pi])}),Qe=0,Rn=$n?(jr-ir*li)/$n:0;Qe0?dr*Rn:0)+li,Cr[Sn]={data:Fe[Sn],index:Qe,value:dr,startAngle:br,endAngle:zn,padAngle:Gr};return Cr}return Ge.value=function(Fe){return arguments.length?(Et=typeof Fe=="function"?Fe:Y(+Fe),Ge):Et},Ge.sortValues=function(Fe){return arguments.length?(Vt=Fe,ee=null,Ge):Vt},Ge.sort=function(Fe){return arguments.length?(ee=Fe,Vt=null,Ge):ee},Ge.startAngle=function(Fe){return arguments.length?(ce=typeof Fe=="function"?Fe:Y(+Fe),Ge):ce},Ge.endAngle=function(Fe){return arguments.length?(fe=typeof Fe=="function"?Fe:Y(+Fe),Ge):fe},Ge.padAngle=function(Fe){return arguments.length?(Se=typeof Fe=="function"?Fe:Y(+Fe),Ge):Se},Ge},F=ct(c);function H(Et){this._curve=Et}function ct(Et){function Vt(ee){return new H(Et(ee))}return Vt._curve=Et,Vt}function pt(Et){var Vt=Et.curve;return Et.angle=Et.x,delete Et.x,Et.radius=Et.y,delete Et.y,Et.curve=function(ee){return arguments.length?Vt(ct(ee)):Vt()._curve},Et}H.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(Et,Vt){this._curve.point(Vt*Math.sin(Et),Vt*-Math.cos(Et))}};var et=function(){return pt(nt().curve(F))},dt=function(){var Et=it().curve(F),Vt=Et.curve,ee=Et.lineX0,ce=Et.lineX1,fe=Et.lineY0,Se=Et.lineY1;return Et.angle=Et.x,delete Et.x,Et.startAngle=Et.x0,delete Et.x0,Et.endAngle=Et.x1,delete Et.x1,Et.radius=Et.y,delete Et.y,Et.innerRadius=Et.y0,delete Et.y0,Et.outerRadius=Et.y1,delete Et.y1,Et.lineStartAngle=function(){return pt(ee())},delete Et.lineX0,Et.lineEndAngle=function(){return pt(ce())},delete Et.lineX1,Et.lineInnerRadius=function(){return pt(fe())},delete Et.lineY0,Et.lineOuterRadius=function(){return pt(Se())},delete Et.lineY1,Et.curve=function(Ge){return arguments.length?Vt(ct(Ge)):Vt()._curve},Et},V=function(Et,Vt){return[(Vt=+Vt)*Math.cos(Et-=Math.PI/2),Vt*Math.sin(Et)]},tt=Array.prototype.slice;function J(Et){return Et.source}function Z(Et){return Et.target}function st(Et){var Vt=J,ee=Z,ce=S,fe=I,Se=null;function Ge(){var Fe,Qe=tt.call(arguments),Sn=Vt.apply(this,Qe),Rn=ee.apply(this,Qe);if(Se||(Se=Fe=U()),Et(Se,+ce.apply(this,(Qe[0]=Sn,Qe)),+fe.apply(this,Qe),+ce.apply(this,(Qe[0]=Rn,Qe)),+fe.apply(this,Qe)),Fe)return Se=null,Fe+""||null}return Ge.source=function(Fe){return arguments.length?(Vt=Fe,Ge):Vt},Ge.target=function(Fe){return arguments.length?(ee=Fe,Ge):ee},Ge.x=function(Fe){return arguments.length?(ce=typeof Fe=="function"?Fe:Y(+Fe),Ge):ce},Ge.y=function(Fe){return arguments.length?(fe=typeof Fe=="function"?Fe:Y(+Fe),Ge):fe},Ge.context=function(Fe){return arguments.length?(Se=Fe==null?null:Fe,Ge):Se},Ge}function _t(Et,Vt,ee,ce,fe){Et.moveTo(Vt,ee),Et.bezierCurveTo(Vt=(Vt+ce)/2,ee,Vt,fe,ce,fe)}function yt(Et,Vt,ee,ce,fe){Et.moveTo(Vt,ee),Et.bezierCurveTo(Vt,ee=(ee+fe)/2,ce,ee,ce,fe)}function Mt(Et,Vt,ee,ce,fe){var Se=V(Vt,ee),Ge=V(Vt,ee=(ee+fe)/2),Fe=V(ce,ee),Qe=V(ce,fe);Et.moveTo(Se[0],Se[1]),Et.bezierCurveTo(Ge[0],Ge[1],Fe[0],Fe[1],Qe[0],Qe[1])}function xt(){return st(_t)}function Dt(){return st(yt)}function jt(){var Et=st(Mt);return Et.angle=Et.x,delete Et.x,Et.radius=Et.y,delete Et.y,Et}var Nt={draw:function(Et,Vt){var ee=Math.sqrt(Vt/_);Et.moveTo(ee,0),Et.arc(0,0,ee,0,C)}},Pt={draw:function(Et,Vt){var ee=Math.sqrt(Vt/5)/2;Et.moveTo(-3*ee,-ee),Et.lineTo(-ee,-ee),Et.lineTo(-ee,-3*ee),Et.lineTo(ee,-3*ee),Et.lineTo(ee,-ee),Et.lineTo(3*ee,-ee),Et.lineTo(3*ee,ee),Et.lineTo(ee,ee),Et.lineTo(ee,3*ee),Et.lineTo(-ee,3*ee),Et.lineTo(-ee,ee),Et.lineTo(-3*ee,ee),Et.closePath()}},Tt=Math.sqrt(1/3),gt=2*Tt,Ot={draw:function(Et,Vt){var ee=Math.sqrt(Vt/gt),ce=ee*Tt;Et.moveTo(0,-ee),Et.lineTo(ce,0),Et.lineTo(0,ee),Et.lineTo(-ce,0),Et.closePath()}},Wt=Math.sin(_/10)/Math.sin(7*_/10),$t=Math.sin(C/10)*Wt,se=-Math.cos(C/10)*Wt,ue={draw:function(Et,Vt){var ee=Math.sqrt(.8908130915292852*Vt),ce=$t*ee,fe=se*ee;Et.moveTo(0,-ee),Et.lineTo(ce,fe);for(var Se=1;Se<5;++Se){var Ge=C*Se/5,Fe=Math.cos(Ge),Qe=Math.sin(Ge);Et.lineTo(Qe*ee,-Fe*ee),Et.lineTo(Fe*ce-Qe*fe,Qe*ce+Fe*fe)}Et.closePath()}},Ne={draw:function(Et,Vt){var ee=Math.sqrt(Vt),ce=-ee/2;Et.rect(ce,ce,ee,ee)}},Xe=Math.sqrt(3),rn={draw:function(Et,Vt){var ee=-Math.sqrt(Vt/(3*Xe));Et.moveTo(0,2*ee),Et.lineTo(-Xe*ee,-ee),Et.lineTo(Xe*ee,-ee),Et.closePath()}},an=Math.sqrt(3)/2,en=1/Math.sqrt(12),wn=3*(en/2+1),cn={draw:function(Et,Vt){var ee=Math.sqrt(Vt/wn),ce=ee/2,fe=ee*en,Se=ce,Ge=ee*en+ee,Fe=-Se,Qe=Ge;Et.moveTo(ce,fe),Et.lineTo(Se,Ge),Et.lineTo(Fe,Qe),Et.lineTo(-.5*ce-an*fe,an*ce+-.5*fe),Et.lineTo(-.5*Se-an*Ge,an*Se+-.5*Ge),Et.lineTo(-.5*Fe-an*Qe,an*Fe+-.5*Qe),Et.lineTo(-.5*ce+an*fe,-.5*fe-an*ce),Et.lineTo(-.5*Se+an*Ge,-.5*Ge-an*Se),Et.lineTo(-.5*Fe+an*Qe,-.5*Qe-an*Fe),Et.closePath()}},le=[Nt,Pt,Ot,Ne,ue,rn,cn],ie=function(){var Et=Y(Nt),Vt=Y(64),ee=null;function ce(){var fe;if(ee||(ee=fe=U()),Et.apply(this,arguments).draw(ee,+Vt.apply(this,arguments)),fe)return ee=null,fe+""||null}return ce.type=function(fe){return arguments.length?(Et=typeof fe=="function"?fe:Y(fe),ce):Et},ce.size=function(fe){return arguments.length?(Vt=typeof fe=="function"?fe:Y(+fe),ce):Vt},ce.context=function(fe){return arguments.length?(ee=fe==null?null:fe,ce):ee},ce},ne=function(){};function Lt(Et,Vt,ee){Et._context.bezierCurveTo((2*Et._x0+Et._x1)/3,(2*Et._y0+Et._y1)/3,(Et._x0+2*Et._x1)/3,(Et._y0+2*Et._y1)/3,(Et._x0+4*Et._x1+Vt)/6,(Et._y0+4*Et._y1+ee)/6)}function Bt(Et){this._context=Et}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: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(Et,Vt){switch(Et=+Et,Vt=+Vt,this._point){case 0:this._point=1,this._line?this._context.lineTo(Et,Vt):this._context.moveTo(Et,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,Et,Vt)}this._x0=this._x1,this._x1=Et,this._y0=this._y1,this._y1=Vt}};var Ht=function(Et){return new Bt(Et)};function zt(Et){this._context=Et}zt.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(Et,Vt){switch(Et=+Et,Vt=+Vt,this._point){case 0:this._point=1,this._x2=Et,this._y2=Vt;break;case 1:this._point=2,this._x3=Et,this._y3=Vt;break;case 2:this._point=3,this._x4=Et,this._y4=Vt,this._context.moveTo((this._x0+4*this._x1+Et)/6,(this._y0+4*this._y1+Vt)/6);break;default:Lt(this,Et,Vt)}this._x0=this._x1,this._x1=Et,this._y0=this._y1,this._y1=Vt}};var ae=function(Et){return new zt(Et)};function we(Et){this._context=Et}we.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(Et,Vt){switch(Et=+Et,Vt=+Vt,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var ee=(this._x0+4*this._x1+Et)/6,ce=(this._y0+4*this._y1+Vt)/6;this._line?this._context.lineTo(ee,ce):this._context.moveTo(ee,ce);break;case 3:this._point=4;default:Lt(this,Et,Vt)}this._x0=this._x1,this._x1=Et,this._y0=this._y1,this._y1=Vt}};var pe=function(Et){return new we(Et)};function $e(Et,Vt){this._basis=new Bt(Et),this._beta=Vt}$e.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var Et=this._x,Vt=this._y,ee=Et.length-1;if(ee>0)for(var ce,fe=Et[0],Se=Vt[0],Ge=Et[ee]-fe,Fe=Vt[ee]-Se,Qe=-1;++Qe<=ee;)ce=Qe/ee,this._basis.point(this._beta*Et[Qe]+(1-this._beta)*(fe+ce*Ge),this._beta*Vt[Qe]+(1-this._beta)*(Se+ce*Fe));this._x=this._y=null,this._basis.lineEnd()},point:function(Et,Vt){this._x.push(+Et),this._y.push(+Vt)}};var fn=function Et(Vt){function ee(ce){return Vt===1?new Bt(ce):new $e(ce,Vt)}return ee.beta=function(ce){return Et(+ce)},ee}(.85);function xn(Et,Vt,ee){Et._context.bezierCurveTo(Et._x1+Et._k*(Et._x2-Et._x0),Et._y1+Et._k*(Et._y2-Et._y0),Et._x2+Et._k*(Et._x1-Vt),Et._y2+Et._k*(Et._y1-ee),Et._x2,Et._y2)}function Yn(Et,Vt){this._context=Et,this._k=(1-Vt)/6}Yn.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(Et,Vt){switch(Et=+Et,Vt=+Vt,this._point){case 0:this._point=1,this._line?this._context.lineTo(Et,Vt):this._context.moveTo(Et,Vt);break;case 1:this._point=2,this._x1=Et,this._y1=Vt;break;case 2:this._point=3;default:xn(this,Et,Vt)}this._x0=this._x1,this._x1=this._x2,this._x2=Et,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var pn=function Et(Vt){function ee(ce){return new Yn(ce,Vt)}return ee.tension=function(ce){return Et(+ce)},ee}(0);function Tn(Et,Vt){this._context=Et,this._k=(1-Vt)/6}Tn.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(Et,Vt){switch(Et=+Et,Vt=+Vt,this._point){case 0:this._point=1,this._x3=Et,this._y3=Vt;break;case 1:this._point=2,this._context.moveTo(this._x4=Et,this._y4=Vt);break;case 2:this._point=3,this._x5=Et,this._y5=Vt;break;default:xn(this,Et,Vt)}this._x0=this._x1,this._x1=this._x2,this._x2=Et,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var tr=function Et(Vt){function ee(ce){return new Tn(ce,Vt)}return ee.tension=function(ce){return Et(+ce)},ee}(0);function Er(Et,Vt){this._context=Et,this._k=(1-Vt)/6}Er.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(Et,Vt){switch(Et=+Et,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,Et,Vt)}this._x0=this._x1,this._x1=this._x2,this._x2=Et,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var ge=function Et(Vt){function ee(ce){return new Er(ce,Vt)}return ee.tension=function(ce){return Et(+ce)},ee}(0);function je(Et,Vt,ee){var ce=Et._x1,fe=Et._y1,Se=Et._x2,Ge=Et._y2;if(Et._l01_a>1e-12){var Fe=2*Et._l01_2a+3*Et._l01_a*Et._l12_a+Et._l12_2a,Qe=3*Et._l01_a*(Et._l01_a+Et._l12_a);ce=(ce*Fe-Et._x0*Et._l12_2a+Et._x2*Et._l01_2a)/Qe,fe=(fe*Fe-Et._y0*Et._l12_2a+Et._y2*Et._l01_2a)/Qe}if(Et._l23_a>1e-12){var Sn=2*Et._l23_2a+3*Et._l23_a*Et._l12_a+Et._l12_2a,Rn=3*Et._l23_a*(Et._l23_a+Et._l12_a);Se=(Se*Sn+Et._x1*Et._l23_2a-Vt*Et._l12_2a)/Rn,Ge=(Ge*Sn+Et._y1*Et._l23_2a-ee*Et._l12_2a)/Rn}Et._context.bezierCurveTo(ce,fe,Se,Ge,Et._x2,Et._y2)}function We(Et,Vt){this._context=Et,this._alpha=Vt}We.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(Et,Vt){if(Et=+Et,Vt=+Vt,this._point){var ee=this._x2-Et,ce=this._y2-Vt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(ee*ee+ce*ce,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(Et,Vt):this._context.moveTo(Et,Vt);break;case 1:this._point=2;break;case 2:this._point=3;default:je(this,Et,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=Et,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var me=function Et(Vt){function ee(ce){return Vt?new We(ce,Vt):new Yn(ce,0)}return ee.alpha=function(ce){return Et(+ce)},ee}(.5);function Oe(Et,Vt){this._context=Et,this._alpha=Vt}Oe.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(Et,Vt){if(Et=+Et,Vt=+Vt,this._point){var ee=this._x2-Et,ce=this._y2-Vt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(ee*ee+ce*ce,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=Et,this._y3=Vt;break;case 1:this._point=2,this._context.moveTo(this._x4=Et,this._y4=Vt);break;case 2:this._point=3,this._x5=Et,this._y5=Vt;break;default:je(this,Et,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=Et,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var Be=function Et(Vt){function ee(ce){return Vt?new Oe(ce,Vt):new Tn(ce,0)}return ee.alpha=function(ce){return Et(+ce)},ee}(.5);function Ae(Et,Vt){this._context=Et,this._alpha=Vt}Ae.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(Et,Vt){if(Et=+Et,Vt=+Vt,this._point){var ee=this._x2-Et,ce=this._y2-Vt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(ee*ee+ce*ce,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:je(this,Et,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=Et,this._y0=this._y1,this._y1=this._y2,this._y2=Vt}};var Pe=function Et(Vt){function ee(ce){return Vt?new Ae(ce,Vt):new Er(ce,0)}return ee.alpha=function(ce){return Et(+ce)},ee}(.5);function Ze(Et){this._context=Et}Ze.prototype={areaStart:ne,areaEnd:ne,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(Et,Vt){Et=+Et,Vt=+Vt,this._point?this._context.lineTo(Et,Vt):(this._point=1,this._context.moveTo(Et,Vt))}};var _n=function(Et){return new Ze(Et)};function _e(Et){return Et<0?-1:1}function Je(Et,Vt,ee){var ce=Et._x1-Et._x0,fe=Vt-Et._x1,Se=(Et._y1-Et._y0)/(ce||fe<0&&-0),Ge=(ee-Et._y1)/(fe||ce<0&&-0),Fe=(Se*fe+Ge*ce)/(ce+fe);return(_e(Se)+_e(Ge))*Math.min(Math.abs(Se),Math.abs(Ge),.5*Math.abs(Fe))||0}function yn(Et,Vt){var ee=Et._x1-Et._x0;return ee?(3*(Et._y1-Et._y0)/ee-Vt)/2:Vt}function Ce(Et,Vt,ee){var ce=Et._x0,fe=Et._y0,Se=Et._x1,Ge=Et._y1,Fe=(Se-ce)/3;Et._context.bezierCurveTo(ce+Fe,fe+Fe*Vt,Se-Fe,Ge-Fe*ee,Se,Ge)}function vn(Et){this._context=Et}function tn(Et){this._context=new dn(Et)}function dn(Et){this._context=Et}function gn(Et){return new vn(Et)}function mn(Et){return new tn(Et)}function Jn(Et){this._context=Et}function sr(Et){var Vt,ee,ce=Et.length-1,fe=new Array(ce),Se=new Array(ce),Ge=new Array(ce);for(fe[0]=0,Se[0]=2,Ge[0]=Et[0]+2*Et[1],Vt=1;Vt=0;--Vt)fe[Vt]=(Ge[Vt]-fe[Vt+1])/Se[Vt];for(Se[ce-1]=(Et[ce]+fe[ce-1])/2,Vt=0;Vt=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(Et,Vt){switch(Et=+Et,Vt=+Vt,this._point){case 0:this._point=1,this._line?this._context.lineTo(Et,Vt):this._context.moveTo(Et,Vt);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Vt),this._context.lineTo(Et,Vt);else{var ee=this._x*(1-this._t)+Et*this._t;this._context.lineTo(ee,this._y),this._context.lineTo(ee,Vt)}}this._x=Et,this._y=Vt}};var er=function(Et){return new mr(Et,.5)};function Nr(Et){return new mr(Et,0)}function Lr(Et){return new mr(Et,1)}var lr=function(Et,Vt){if((fe=Et.length)>1)for(var ee,ce,fe,Se=1,Ge=Et[Vt[0]],Fe=Ge.length;Se=0;)ee[Vt]=Vt;return ee};function Or(Et,Vt){return Et[Vt]}var ci=function(){var Et=Y([]),Vt=Nn,ee=lr,ce=Or;function fe(Se){var Ge,Fe,Qe=Et.apply(this,arguments),Sn=Se.length,Rn=Qe.length,zn=new Array(Rn);for(Ge=0;Ge0){for(var ee,ce,fe,Se=0,Ge=Et[0].length;Se0)for(var ee,ce,fe,Se,Ge,Fe,Qe=0,Sn=Et[Vt[0]].length;Qe0?(ce[0]=Se,ce[1]=Se+=fe):fe<0?(ce[1]=Ge,ce[0]=Ge+=fe):(ce[0]=0,ce[1]=fe)},wr=function(Et,Vt){if((ee=Et.length)>0){for(var ee,ce=0,fe=Et[Vt[0]],Se=fe.length;ce0&&(ce=(ee=Et[Vt[0]]).length)>0){for(var ee,ce,fe,Se=0,Ge=1;GeSe&&(Se=Vt,ce=ee);return ce}var Ve=function(Et){var Vt=Et.map(qe);return Nn(Et).sort(function(ee,ce){return Vt[ee]-Vt[ce]})};function qe(Et){for(var Vt,ee=0,ce=-1,fe=Et.length;++ce0?Object(w.a)(function(Q){Q.setFullYear(Math.floor(Q.getFullYear()/G)*G),Q.setMonth(0,1),Q.setHours(0,0,0,0)},function(Q,U){Q.setFullYear(Q.getFullYear()+U*G)}):null},j.a=k;var W=k.range},function(bt,j,s){"use strict";s.d(j,"b",function(){return W});var w=s(1),k=Object(w.a)(function(G){G.setUTCMonth(0,1),G.setUTCHours(0,0,0,0)},function(G,Q){G.setUTCFullYear(G.getUTCFullYear()+Q)},function(G,Q){return Q.getUTCFullYear()-G.getUTCFullYear()},function(G){return G.getUTCFullYear()});k.every=function(G){return isFinite(G=Math.floor(G))&&G>0?Object(w.a)(function(Q){Q.setUTCFullYear(Math.floor(Q.getUTCFullYear()/G)*G),Q.setUTCMonth(0,1),Q.setUTCHours(0,0,0,0)},function(Q,U){Q.setUTCFullYear(Q.getUTCFullYear()+U*G)}):null},j.a=k;var W=k.range},function(bt,j,s){"use strict";var w;(w=function(){var k=s(27),W=s(39);return{axisTimeCombinations:{MINUTE_HOUR:"minute-hour",HOUR_DAY:"hour-daymonth",DAY_MONTH:"day-month",MONTH_YEAR:"month-year",CUSTOM:"custom"},curveMap:{linear:k.curveLinear,basis:k.curveBasis,cardinal:k.curveCardinal,catmullRom:k.curveCatmullRom,monotoneX:k.curveMonotoneX,monotoneY:k.curveMonotoneY,natural:k.curveNatural,step:k.curveStep,stepAfter:k.curveStepAfter,stepBefore:k.curveStepBefore},emptyDonutData:[{quantity:1,percentage:100}],timeBenchmarks:{ONE_AND_A_HALF_YEARS:47304e6,ONE_YEAR:31536000365,ONE_DAY:86400001},lineGradientId:"lineGradientId",timeIntervals:{timeMillisecond:W.timeMillisecond,utcMillisecond:W.utcMillisecond,timeSecond:W.timeSecond,utcSecond:W.utcSecond,timeMinute:W.timeMinute,utcMinute:W.utcMinute,timeHour:W.timeHour,utcHour:W.utcHour,timeDay:W.timeDay,utcDay:W.utcDay,timeWeek:W.timeWeek,utcWeek:W.utcWeek,timeSunday:W.timeSunday,utcSunday:W.utcSunday,timeMonday:W.timeMonday,utcMonday:W.utcMonday,timeTuesday:W.timeTuesday,utcTuesday:W.utcTuesday,timeWednesday:W.timeWednesday,utcWednesday:W.utcWednesday,timeThursday:W.timeThursday,utcThursday:W.utcThursday,timeFriday:W.timeFriday,utcFriday:W.utcFriday,timeSaturday:W.timeSaturday,utcSaturday:W.utcSaturday,timeMonth:W.timeMonth,utcMonth:W.utcMonth,timeYear:W.timeYear,utcYear:W.utcYear},FORMAT_LOCALE_URL:"https://cdn.jsdelivr.net/npm/d3-format/locale"}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";s.d(j,"b",function(){return U}),s.d(j,"c",function(){return Y});var w=s(7),k=s(42),W=s(58),G=s(4);function Q(z){return function(A){var O,E,p=A.length,o=new Array(p),T=new Array(p),_=new Array(p);for(O=0;O=0&&(E=O.slice(p+1),O=O.slice(0,p)),{type:O,name:E}})}function U(A){return function(){var O=this.__on;if(O){for(var E,p=0,o=-1,T=O.length;p1?G[0]+G.slice(2):G,+w.slice(W+1)]}},function(bt,j,s){"use strict";s.r(j);var w=s(1);s.d(j,"timeInterval",function(){return w.a});var k=s(52);s.d(j,"timeMillisecond",function(){return k.a}),s.d(j,"timeMilliseconds",function(){return k.b}),s.d(j,"utcMillisecond",function(){return k.a}),s.d(j,"utcMilliseconds",function(){return k.b});var W=s(51);s.d(j,"timeSecond",function(){return W.a}),s.d(j,"timeSeconds",function(){return W.b}),s.d(j,"utcSecond",function(){return W.a}),s.d(j,"utcSeconds",function(){return W.b});var G=s(71);s.d(j,"timeMinute",function(){return G.a}),s.d(j,"timeMinutes",function(){return G.b});var Q=s(70);s.d(j,"timeHour",function(){return Q.a}),s.d(j,"timeHours",function(){return Q.b});var U=s(53);s.d(j,"timeDay",function(){return U.b}),s.d(j,"timeDays",function(){return U.a});var Y=s(5);s.d(j,"timeWeek",function(){return Y.g}),s.d(j,"timeWeeks",function(){return Y.h}),s.d(j,"timeSunday",function(){return Y.g}),s.d(j,"timeSundays",function(){return Y.h}),s.d(j,"timeMonday",function(){return Y.c}),s.d(j,"timeMondays",function(){return Y.d}),s.d(j,"timeTuesday",function(){return Y.k}),s.d(j,"timeTuesdays",function(){return Y.l}),s.d(j,"timeWednesday",function(){return Y.m}),s.d(j,"timeWednesdays",function(){return Y.n}),s.d(j,"timeThursday",function(){return Y.i}),s.d(j,"timeThursdays",function(){return Y.j}),s.d(j,"timeFriday",function(){return Y.a}),s.d(j,"timeFridays",function(){return Y.b}),s.d(j,"timeSaturday",function(){return Y.e}),s.d(j,"timeSaturdays",function(){return Y.f});var z=s(69);s.d(j,"timeMonth",function(){return z.a}),s.d(j,"timeMonths",function(){return z.b});var A=s(33);s.d(j,"timeYear",function(){return A.a}),s.d(j,"timeYears",function(){return A.b});var O=s(74);s.d(j,"utcMinute",function(){return O.a}),s.d(j,"utcMinutes",function(){return O.b});var E=s(73);s.d(j,"utcHour",function(){return E.a}),s.d(j,"utcHours",function(){return E.b});var p=s(54);s.d(j,"utcDay",function(){return p.a}),s.d(j,"utcDays",function(){return p.b});var o=s(6);s.d(j,"utcWeek",function(){return o.g}),s.d(j,"utcWeeks",function(){return o.h}),s.d(j,"utcSunday",function(){return o.g}),s.d(j,"utcSundays",function(){return o.h}),s.d(j,"utcMonday",function(){return o.c}),s.d(j,"utcMondays",function(){return o.d}),s.d(j,"utcTuesday",function(){return o.k}),s.d(j,"utcTuesdays",function(){return o.l}),s.d(j,"utcWednesday",function(){return o.m}),s.d(j,"utcWednesdays",function(){return o.n}),s.d(j,"utcThursday",function(){return o.i}),s.d(j,"utcThursdays",function(){return o.j}),s.d(j,"utcFriday",function(){return o.a}),s.d(j,"utcFridays",function(){return o.b}),s.d(j,"utcSaturday",function(){return o.e}),s.d(j,"utcSaturdays",function(){return o.f});var T=s(72);s.d(j,"utcMonth",function(){return T.a}),s.d(j,"utcMonths",function(){return T.b});var _=s(34);s.d(j,"utcYear",function(){return _.a}),s.d(j,"utcYears",function(){return _.b})},function(bt,j,s){"use strict";s.d(j,"b",function(){return k}),s.d(j,"a",function(){return W});var w=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function k(G){if(!(Q=w.exec(G)))throw new Error("invalid format: "+G);var Q;return new W({fill:Q[1],align:Q[2],sign:Q[3],symbol:Q[4],zero:Q[5],width:Q[6],comma:Q[7],precision:Q[8]&&Q[8].slice(1),trim:Q[9],type:Q[10]})}function W(G){this.fill=G.fill===void 0?" ":G.fill+"",this.align=G.align===void 0?">":G.align+"",this.sign=G.sign===void 0?"-":G.sign+"",this.symbol=G.symbol===void 0?"":G.symbol+"",this.zero=!!G.zero,this.width=G.width===void 0?void 0:+G.width,this.comma=!!G.comma,this.precision=G.precision===void 0?void 0:+G.precision,this.trim=!!G.trim,this.type=G.type===void 0?"":G.type+""}k.prototype=W.prototype,W.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(bt,j,s){"use strict";var w=s(7),k=s(36),W=s(61),G=s(60),Q=s(14),U=s(62),Y=s(59),z=s(48),A=s(31);j.a=function(O,E){var p,o=typeof E;return E==null||o==="boolean"?Object(z.a)(E):(o==="number"?Q.a:o==="string"?(p=Object(w.e)(E))?(E=p,k.a):Y.a:E instanceof w.e?k.a:E instanceof Date?G.a:Object(A.b)(E)?A.a:Array.isArray(E)?W.b:typeof E.valueOf!="function"&&typeof E.toString!="function"||isNaN(E)?U.a:Q.a)(O,E)}},function(bt,j,s){"use strict";function w(k,W,G,Q,U){var Y=k*k,z=Y*k;return((1-3*k+3*Y-z)*W+(4-6*Y+3*z)*G+(1+3*k+3*Y-3*z)*Q+z*U)/6}s.d(j,"a",function(){return w}),j.b=function(k){var W=k.length-1;return function(G){var Q=G<=0?G=0:G>=1?(G=1,W-1):Math.floor(G*W),U=k[Q],Y=k[Q+1],z=Q>0?k[Q-1]:2*U-Y,A=Q=0&&(W=k.slice(0,G))!=="xmlns"&&(k=k.slice(G+1)),w.a.hasOwnProperty(W)?{space:w.a[W],local:k}:k}},function(bt,j,s){"use strict";j.a=function(w){return w.ownerDocument&&w.ownerDocument.defaultView||w.document&&w||w.defaultView}},function(bt,j,s){"use strict";var w=s(37);j.a=function(){for(var k,W=w.c;k=W.sourceEvent;)W=k;return W}},function(bt,j,s){"use strict";s.d(j,"a",function(){return w}),s.d(j,"b",function(){return k});var w=Math.PI/180,k=180/Math.PI},function(bt,j,s){"use strict";j.a=function(w){return function(){return w}}},function(bt,j,s){"use strict";function w(G){return G*G*G}function k(G){return--G*G*G+1}function W(G){return((G*=2)<=1?G*G*G:(G-=2)*G*G+2)/2}s.d(j,"a",function(){return w}),s.d(j,"c",function(){return k}),s.d(j,"b",function(){return W})},function(bt,j,s){"use strict";s.d(j,"b",function(){return Y}),s.d(j,"a",function(){return z}),s.d(j,"d",function(){return _}),s.d(j,"c",function(){return f});var w=s(15),k=s(7),W=s(47),G=6/29,Q=3*G*G;function U(m){if(m instanceof A)return new A(m.l,m.a,m.b,m.opacity);if(m instanceof C)return x(m);m instanceof k.b||(m=Object(k.h)(m));var g,b,R=o(m.r),y=o(m.g),v=o(m.b),l=O((.2225045*R+.7168786*y+.0606169*v)/1);return R===y&&y===v?g=b=l:(g=O((.4360747*R+.3850649*y+.1430804*v)/.96422),b=O((.0139322*R+.0971045*y+.7141733*v)/.82521)),new A(116*l-16,500*(g-l),200*(l-b),m.opacity)}function Y(m,g){return new A(m,0,0,g==null?1:g)}function z(m,g,b,R){return arguments.length===1?U(m):new A(m,g,b,R==null?1:R)}function A(m,g,b,R){this.l=+m,this.a=+g,this.b=+b,this.opacity=+R}function O(m){return m>.008856451679035631?Math.pow(m,.3333333333333333):m/Q+.13793103448275862}function E(m){return m>G?m*m*m:Q*(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 C)return new C(m.h,m.c,m.l,m.opacity);if(m instanceof A||(m=U(m)),m.a===0&&m.b===0)return new C(NaN,00?G>1?Object(w.a)(function(Q){Q.setTime(Math.floor(Q/G)*G)},function(Q,U){Q.setTime(+Q+U*G)},function(Q,U){return(U-Q)/G}):k:null},j.a=k;var W=k.range},function(bt,j,s){"use strict";s.d(j,"a",function(){return G});var w=s(1),k=s(3),W=Object(w.a)(function(Q){Q.setHours(0,0,0,0)},function(Q,U){Q.setDate(Q.getDate()+U)},function(Q,U){return(U-Q-(U.getTimezoneOffset()-Q.getTimezoneOffset())*k.c)/k.a},function(Q){return Q.getDate()-1});j.b=W;var G=W.range},function(bt,j,s){"use strict";s.d(j,"b",function(){return G});var w=s(1),k=s(3),W=Object(w.a)(function(Q){Q.setUTCHours(0,0,0,0)},function(Q,U){Q.setUTCDate(Q.getUTCDate()+U)},function(Q,U){return(U-Q)/k.a},function(Q){return Q.getUTCDate()-1});j.a=W;var G=W.range},,function(bt,j,s){"use strict";s.d(j,"b",function(){return k}),s.d(j,"c",function(){return W}),s.d(j,"a",function(){return Q});var w,k,W,G=s(68);function Q(U){return w=Object(G.a)(U),k=w.format,W=w.formatPrefix,w}Q({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(bt,j){var s=/^(?:0|[1-9]\d*)$/;function w(b,R,y){switch(y.length){case 0:return b.call(R);case 1:return b.call(R,y[0]);case 2:return b.call(R,y[0],y[1]);case 3:return b.call(R,y[0],y[1],y[2])}return b.apply(R,y)}var k,W,G=Object.prototype,Q=G.hasOwnProperty,U=G.toString,Y=G.propertyIsEnumerable,z=(k=Object.keys,W=Object,function(b){return k(W(b))}),A=Math.max,O=!Y.call({valueOf:1},"valueOf");function E(b,R){var y=f(b)||function(D){return function(L){return function(c){return!!c&&typeof c=="object"}(L)&&C(L)}(D)&&Q.call(D,"callee")&&(!Y.call(D,"callee")||U.call(D)=="[object Arguments]")}(b)?function(D,L){for(var c=-1,S=Array(D);++c-1&&b%1==0&&b-1&&R%1==0&&R<=9007199254740991}(b.length)&&!function(R){var y=x(R)?U.call(R):"";return y=="[object Function]"||y=="[object GeneratorFunction]"}(b)}function x(b){var R=typeof b;return!!b&&(R=="object"||R=="function")}var m,g=(m=function(b,R){if(O||T(R)||C(R))(function(v,l,u,D){u||(u={});for(var L=-1,c=l.length;++L1?R[v-1]:void 0,u=v>2?R[2]:void 0;for(l=m.length>3&&typeof l=="function"?(v--,l):void 0,u&&function(L,c,S){if(!x(S))return!1;var I=typeof c;return!!(I=="number"?C(S)&&o(c,S.length):I=="string"&&c in S)&&_(S[c],L)}(R[0],R[1],u)&&(l=v<3?void 0:l,v=1),b=Object(b);++yA&&(z=Q.slice(A,z),E[O]?E[O]+=z:E[++O]=z),(U=U[0])===(Y=Y[0])?E[O]?E[O]+=Y:E[++O]=Y:(E[++O]=null,p.push({i:O,x:Object(w.a)(U,Y)})),A=W.lastIndex;return A=12)]},q:function(Ce){return 1+~~(Ce.getMonth()/3)},Q:Bt,s:Ht,S:st,u:_t,U:yt,V:Mt,w:xt,W:Dt,x:null,X:null,y:jt,Y:Nt,Z:Pt,"%":Lt},Ze={a:function(Ce){return xn[Ce.getUTCDay()]},A:function(Ce){return fn[Ce.getUTCDay()]},b:function(Ce){return pn[Ce.getUTCMonth()]},B:function(Ce){return Yn[Ce.getUTCMonth()]},c:null,d:Tt,e:Tt,f:se,H:gt,I:Ot,j:Wt,L:$t,m:ue,M:Ne,p:function(Ce){return $e[+(Ce.getUTCHours()>=12)]},q:function(Ce){return 1+~~(Ce.getUTCMonth()/3)},Q:Bt,s:Ht,S:Xe,u:rn,U:an,V:en,w:wn,W:cn,x:null,X:null,y:le,Y:ie,Z:ne,"%":Lt},_n={a:function(Ce,vn,tn){var dn=je.exec(vn.slice(tn));return dn?(Ce.w=We[dn[0].toLowerCase()],tn+dn[0].length):-1},A:function(Ce,vn,tn){var dn=Er.exec(vn.slice(tn));return dn?(Ce.w=ge[dn[0].toLowerCase()],tn+dn[0].length):-1},b:function(Ce,vn,tn){var dn=Be.exec(vn.slice(tn));return dn?(Ce.m=Ae[dn[0].toLowerCase()],tn+dn[0].length):-1},B:function(Ce,vn,tn){var dn=me.exec(vn.slice(tn));return dn?(Ce.m=Oe[dn[0].toLowerCase()],tn+dn[0].length):-1},c:function(Ce,vn,tn){return yn(Ce,ae,vn,tn)},d:c,e:c,f:K,H:I,I,j:S,L:ot,m:L,M:nt,p:function(Ce,vn,tn){var dn=Tn.exec(vn.slice(tn));return dn?(Ce.p=tr[dn[0].toLowerCase()],tn+dn[0].length):-1},q:D,Q:F,s:H,S:it,u:g,U:b,V:R,w:m,W:y,x:function(Ce,vn,tn){return yn(Ce,we,vn,tn)},X:function(Ce,vn,tn){return yn(Ce,pe,vn,tn)},y:l,Y:v,Z:u,"%":ft};function _e(Ce,vn){return function(tn){var dn,gn,mn,Jn=[],sr=-1,pr=0,mr=Ce.length;for(tn instanceof Date||(tn=new Date(+tn));++sr53)return null;"w"in mn||(mn.w=1),"Z"in mn?(gn=(dn=z(A(mn.y,0,1))).getUTCDay(),dn=gn>4||gn===0?w.c.ceil(dn):Object(w.c)(dn),dn=k.a.offset(dn,7*(mn.V-1)),mn.y=dn.getUTCFullYear(),mn.m=dn.getUTCMonth(),mn.d=dn.getUTCDate()+(mn.w+6)%7):(gn=(dn=Y(A(mn.y,0,1))).getDay(),dn=gn>4||gn===0?W.c.ceil(dn):Object(W.c)(dn),dn=G.b.offset(dn,7*(mn.V-1)),mn.y=dn.getFullYear(),mn.m=dn.getMonth(),mn.d=dn.getDate()+(mn.w+6)%7)}else("W"in mn||"U"in mn)&&("w"in mn||(mn.w="u"in mn?mn.u%7:"W"in mn?1:0),gn="Z"in mn?z(A(mn.y,0,1)).getUTCDay():Y(A(mn.y,0,1)).getDay(),mn.m=0,mn.d="W"in mn?(mn.w+6)%7+7*mn.W-(gn+5)%7:mn.w+7*mn.U-(gn+6)%7);return"Z"in mn?(mn.H+=mn.Z/100|0,mn.M+=mn.Z%100,z(mn)):Y(mn)}}function yn(Ce,vn,tn,dn){for(var gn,mn,Jn=0,sr=vn.length,pr=tn.length;Jn=pr)return-1;if((gn=vn.charCodeAt(Jn++))===37){if(gn=vn.charAt(Jn++),!(mn=_n[gn in E?vn.charAt(Jn++):gn])||(dn=mn(Ce,tn,dn))<0)return-1}else if(gn!=tn.charCodeAt(dn++))return-1}return dn}return Pe.x=_e(we,Pe),Pe.X=_e(pe,Pe),Pe.c=_e(ae,Pe),Ze.x=_e(we,Ze),Ze.X=_e(pe,Ze),Ze.c=_e(ae,Ze),{format:function(Ce){var vn=_e(Ce+="",Pe);return vn.toString=function(){return Ce},vn},parse:function(Ce){var vn=Je(Ce+="",!1);return vn.toString=function(){return Ce},vn},utcFormat:function(Ce){var vn=_e(Ce+="",Ze);return vn.toString=function(){return Ce},vn},utcParse:function(Ce){var vn=Je(Ce+="",!0);return vn.toString=function(){return Ce},vn}}}var E={"-":"",_:" ",0:"0"},p=/^\s*\d+/,o=/^%/,T=/[\\^$*+?|[\]().{}]/g;function _(zt,ae,we){var pe=zt<0?"-":"",$e=(pe?-zt:zt)+"",fn=$e.length;return pe+(fn68?1900:2e3),we+pe[0].length):-1}function u(zt,ae,we){var pe=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(ae.slice(we,we+6));return pe?(zt.Z=pe[1]?0:-(pe[2]+(pe[3]||"00")),we+pe[0].length):-1}function D(zt,ae,we){var pe=p.exec(ae.slice(we,we+1));return pe?(zt.q=3*pe[0]-3,we+pe[0].length):-1}function L(zt,ae,we){var pe=p.exec(ae.slice(we,we+2));return pe?(zt.m=pe[0]-1,we+pe[0].length):-1}function c(zt,ae,we){var pe=p.exec(ae.slice(we,we+2));return pe?(zt.d=+pe[0],we+pe[0].length):-1}function S(zt,ae,we){var pe=p.exec(ae.slice(we,we+3));return pe?(zt.m=0,zt.d=+pe[0],we+pe[0].length):-1}function I(zt,ae,we){var pe=p.exec(ae.slice(we,we+2));return pe?(zt.H=+pe[0],we+pe[0].length):-1}function nt(zt,ae,we){var pe=p.exec(ae.slice(we,we+2));return pe?(zt.M=+pe[0],we+pe[0].length):-1}function it(zt,ae,we){var pe=p.exec(ae.slice(we,we+2));return pe?(zt.S=+pe[0],we+pe[0].length):-1}function ot(zt,ae,we){var pe=p.exec(ae.slice(we,we+3));return pe?(zt.L=+pe[0],we+pe[0].length):-1}function K(zt,ae,we){var pe=p.exec(ae.slice(we,we+6));return pe?(zt.L=Math.floor(pe[0]/1e3),we+pe[0].length):-1}function ft(zt,ae,we){var pe=o.exec(ae.slice(we,we+1));return pe?we+pe[0].length:-1}function F(zt,ae,we){var pe=p.exec(ae.slice(we));return pe?(zt.Q=+pe[0],we+pe[0].length):-1}function H(zt,ae,we){var pe=p.exec(ae.slice(we));return pe?(zt.s=+pe[0],we+pe[0].length):-1}function ct(zt,ae){return _(zt.getDate(),ae,2)}function pt(zt,ae){return _(zt.getHours(),ae,2)}function et(zt,ae){return _(zt.getHours()%12||12,ae,2)}function dt(zt,ae){return _(1+G.b.count(Object(Q.a)(zt),zt),ae,3)}function V(zt,ae){return _(zt.getMilliseconds(),ae,3)}function tt(zt,ae){return V(zt,ae)+"000"}function J(zt,ae){return _(zt.getMonth()+1,ae,2)}function Z(zt,ae){return _(zt.getMinutes(),ae,2)}function st(zt,ae){return _(zt.getSeconds(),ae,2)}function _t(zt){var ae=zt.getDay();return ae===0?7:ae}function yt(zt,ae){return _(W.g.count(Object(Q.a)(zt)-1,zt),ae,2)}function Mt(zt,ae){var we=zt.getDay();return zt=we>=4||we===0?Object(W.i)(zt):W.i.ceil(zt),_(W.i.count(Object(Q.a)(zt),zt)+(Object(Q.a)(zt).getDay()===4),ae,2)}function xt(zt){return zt.getDay()}function Dt(zt,ae){return _(W.c.count(Object(Q.a)(zt)-1,zt),ae,2)}function jt(zt,ae){return _(zt.getFullYear()%100,ae,2)}function Nt(zt,ae){return _(zt.getFullYear()%1e4,ae,4)}function Pt(zt){var ae=zt.getTimezoneOffset();return(ae>0?"-":(ae*=-1,"+"))+_(ae/60|0,"0",2)+_(ae%60,"0",2)}function Tt(zt,ae){return _(zt.getUTCDate(),ae,2)}function gt(zt,ae){return _(zt.getUTCHours(),ae,2)}function Ot(zt,ae){return _(zt.getUTCHours()%12||12,ae,2)}function Wt(zt,ae){return _(1+k.a.count(Object(U.a)(zt),zt),ae,3)}function $t(zt,ae){return _(zt.getUTCMilliseconds(),ae,3)}function se(zt,ae){return $t(zt,ae)+"000"}function ue(zt,ae){return _(zt.getUTCMonth()+1,ae,2)}function Ne(zt,ae){return _(zt.getUTCMinutes(),ae,2)}function Xe(zt,ae){return _(zt.getUTCSeconds(),ae,2)}function rn(zt){var ae=zt.getUTCDay();return ae===0?7:ae}function an(zt,ae){return _(w.g.count(Object(U.a)(zt)-1,zt),ae,2)}function en(zt,ae){var we=zt.getUTCDay();return zt=we>=4||we===0?Object(w.i)(zt):w.i.ceil(zt),_(w.i.count(Object(U.a)(zt),zt)+(Object(U.a)(zt).getUTCDay()===4),ae,2)}function wn(zt){return zt.getUTCDay()}function cn(zt,ae){return _(w.c.count(Object(U.a)(zt)-1,zt),ae,2)}function le(zt,ae){return _(zt.getUTCFullYear()%100,ae,2)}function ie(zt,ae){return _(zt.getUTCFullYear()%1e4,ae,4)}function ne(){return"+0000"}function Lt(){return"%"}function Bt(zt){return+zt}function Ht(zt){return Math.floor(+zt/1e3)}},function(bt,j,s){"use strict";var w=s(23);j.a=function(k){return typeof k=="string"?new w.a([[document.querySelector(k)]],[document.documentElement]):new w.a([[k]],w.c)}},function(bt,j,s){"use strict";function w(){return[]}j.a=function(k){return k==null?w:function(){return this.querySelectorAll(k)}}},function(bt,j,s){"use strict";j.a=function(w){return function(){return this.matches(w)}}},function(bt,j,s){"use strict";s.d(j,"b",function(){return Q});var w=s(45);function k(U){return function(){this.style.removeProperty(U)}}function W(U,Y,z){return function(){this.style.setProperty(U,Y,z)}}function G(U,Y,z){return function(){var A=Y.apply(this,arguments);A==null?this.style.removeProperty(U):this.style.setProperty(U,A,z)}}function Q(U,Y){return U.style.getPropertyValue(Y)||Object(w.a)(U).getComputedStyle(U,null).getPropertyValue(Y)}j.a=function(U,Y,z){return arguments.length>1?this.each((Y==null?k:typeof Y=="function"?G:W)(U,Y,z==null?"":z)):Q(this.node(),U)}},function(bt,j,s){"use strict";var w,k=s(22),W=s(40),G=s(38),Q=function(O,E){var p=Object(G.a)(O,E);if(!p)return O+"";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(O,E){return(100*O).toFixed(E)},b:function(O){return Math.round(O).toString(2)},c:function(O){return O+""},d:function(O){return Math.round(O).toString(10)},e:function(O,E){return O.toExponential(E)},f:function(O,E){return O.toFixed(E)},g:function(O,E){return O.toPrecision(E)},o:function(O){return Math.round(O).toString(8)},p:function(O,E){return Q(100*O,E)},r:Q,s:function(O,E){var p=Object(G.a)(O,E);if(!p)return O+"";var o=p[0],T=p[1],_=T-(w=3*Math.max(-8,Math.min(8,Math.floor(T/3))))+1,f=o.length;return _===f?o:_>f?o+new Array(_-f+1).join("0"):_>0?o.slice(0,_)+"."+o.slice(_):"0."+new Array(1-_).join("0")+Object(G.a)(O,Math.max(0,E+_-1))[0]},X:function(O){return Math.round(O).toString(16).toUpperCase()},x:function(O){return Math.round(O).toString(16)}},Y=function(O){return O},z=Array.prototype.map,A=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];j.a=function(O){var E,p,o=O.grouping===void 0||O.thousands===void 0?Y:(E=z.call(O.grouping,Number),p=O.thousands+"",function(R,y){for(var v=R.length,l=[],u=0,D=E[0],L=0;v>0&&D>0&&(L+D+1>y&&(D=Math.max(1,y-L)),l.push(R.substring(v-=D,v+D)),!((L+=D+1)>y));)D=E[u=(u+1)%E.length];return l.reverse().join(p)}),T=O.currency===void 0?"":O.currency[0]+"",_=O.currency===void 0?"":O.currency[1]+"",f=O.decimal===void 0?".":O.decimal+"",C=O.numerals===void 0?Y:function(R){return function(y){return y.replace(/[0-9]/g,function(v){return R[+v]})}}(z.call(O.numerals,String)),x=O.percent===void 0?"%":O.percent+"",m=O.minus===void 0?"-":O.minus+"",g=O.nan===void 0?"NaN":O.nan+"";function b(R){var y=(R=Object(W.b)(R)).fill,v=R.align,l=R.sign,u=R.symbol,D=R.zero,L=R.width,c=R.comma,S=R.precision,I=R.trim,nt=R.type;nt==="n"?(c=!0,nt="g"):U[nt]||(S===void 0&&(S=12),I=!0,nt="g"),(D||y==="0"&&v==="=")&&(D=!0,y="0",v="=");var it=u==="$"?T:u==="#"&&/[boxX]/.test(nt)?"0"+nt.toLowerCase():"",ot=u==="$"?_:/[%p]/.test(nt)?x:"",K=U[nt],ft=/[defgprs%]/.test(nt);function F(H){var ct,pt,et,dt=it,V=ot;if(nt==="c")V=K(H)+V,H="";else{var tt=(H=+H)<0;if(H=isNaN(H)?g:K(Math.abs(H),S),I&&(H=function(st){t:for(var _t,yt=st.length,Mt=1,xt=-1;Mt0&&(xt=0)}return xt>0?st.slice(0,xt)+st.slice(_t+1):st}(H)),tt&&+H==0&&(tt=!1),dt=(tt?l==="("?l:m:l==="-"||l==="("?"":l)+dt,V=(nt==="s"?A[8+w/3]:"")+V+(tt&&l==="("?")":""),ft){for(ct=-1,pt=H.length;++ct(et=H.charCodeAt(ct))||et>57){V=(et===46?f+H.slice(ct+1):H.slice(ct))+V,H=H.slice(0,ct);break}}}c&&!D&&(H=o(H,1/0));var J=dt.length+H.length+V.length,Z=J>1)+dt+H+V+Z.slice(J);break;default:H=Z+dt+H+V}return C(H)}return S=S===void 0?6:/[gprs]/.test(nt)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S)),F.toString=function(){return R+""},F}return{format:b,formatPrefix:function(R,y){var v=b(((R=Object(W.b)(R)).type="f",R)),l=3*Math.max(-8,Math.min(8,Math.floor(Object(k.a)(y)/3))),u=Math.pow(10,-l),D=A[8+l/3];return function(L){return v(u*L)+D}}}}},function(bt,j,s){"use strict";s.d(j,"b",function(){return W});var w=s(1),k=Object(w.a)(function(G){G.setDate(1),G.setHours(0,0,0,0)},function(G,Q){G.setMonth(G.getMonth()+Q)},function(G,Q){return Q.getMonth()-G.getMonth()+12*(Q.getFullYear()-G.getFullYear())},function(G){return G.getMonth()});j.a=k;var W=k.range},function(bt,j,s){"use strict";s.d(j,"b",function(){return G});var w=s(1),k=s(3),W=Object(w.a)(function(Q){Q.setTime(Q-Q.getMilliseconds()-Q.getSeconds()*k.d-Q.getMinutes()*k.c)},function(Q,U){Q.setTime(+Q+U*k.b)},function(Q,U){return(U-Q)/k.b},function(Q){return Q.getHours()});j.a=W;var G=W.range},function(bt,j,s){"use strict";s.d(j,"b",function(){return G});var w=s(1),k=s(3),W=Object(w.a)(function(Q){Q.setTime(Q-Q.getMilliseconds()-Q.getSeconds()*k.d)},function(Q,U){Q.setTime(+Q+U*k.c)},function(Q,U){return(U-Q)/k.c},function(Q){return Q.getMinutes()});j.a=W;var G=W.range},function(bt,j,s){"use strict";s.d(j,"b",function(){return W});var w=s(1),k=Object(w.a)(function(G){G.setUTCDate(1),G.setUTCHours(0,0,0,0)},function(G,Q){G.setUTCMonth(G.getUTCMonth()+Q)},function(G,Q){return Q.getUTCMonth()-G.getUTCMonth()+12*(Q.getUTCFullYear()-G.getUTCFullYear())},function(G){return G.getUTCMonth()});j.a=k;var W=k.range},function(bt,j,s){"use strict";s.d(j,"b",function(){return G});var w=s(1),k=s(3),W=Object(w.a)(function(Q){Q.setUTCMinutes(0,0,0)},function(Q,U){Q.setTime(+Q+U*k.b)},function(Q,U){return(U-Q)/k.b},function(Q){return Q.getUTCHours()});j.a=W;var G=W.range},function(bt,j,s){"use strict";s.d(j,"b",function(){return G});var w=s(1),k=s(3),W=Object(w.a)(function(Q){Q.setUTCSeconds(0,0)},function(Q,U){Q.setTime(+Q+U*k.c)},function(Q,U){return(U-Q)/k.c},function(Q){return Q.getUTCMinutes()});j.a=W;var G=W.range},function(bt,j,s){"use strict";var w,k=function(Q,U){if(Array.isArray(Q))return Q;if(Symbol.iterator in Object(Q))return function(Y,z){var A=[],O=!0,E=!1,p=void 0;try{for(var o,T=Y[Symbol.iterator]();!(O=(o=T.next()).done)&&(A.push(o.value),!z||A.length!==z);O=!0);}catch(_){E=!0,p=_}finally{try{!O&&T.return&&T.return()}finally{if(E)throw p}}return A}(Q,U);throw new TypeError("Invalid attempt to destructure non-iterable instance")},W=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};function G(Q,U,Y){return U in Q?Object.defineProperty(Q,U,{value:Y,enumerable:!0,configurable:!0,writable:!0}):Q[U]=Y,Q}(w=function(Q){var U,Y=s(39),z=s(28),A=s(35),O=A.axisTimeCombinations,E=A.timeBenchmarks,p=s(87),o=p.convertMillisecondsToDays,T=p.getLocaleDateFormatter,_={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")},f=(G(U={},O.MINUTE_HOUR,Y.timeHour.every(1)),G(U,O.HOUR_DAY,Y.timeDay.every(1)),G(U,O.DAY_MONTH,Y.timeMonth.every(1)),G(U,O.MONTH_YEAR,Y.timeYear.every(1)),U),C=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),v=new Date(m[m.length-1].date),l=v-y;R&&(typeof Intl=="undefined"||(typeof Intl=="undefined"?"undefined":W(Intl))==="object"&&!Intl.DateTimeFormat)&&(R=null),b||(b=C(l));var u=b.split("-"),D=k(u,2),L=D[0],c=D[1],S=f[b],I=x(g,o(l));return{minor:{format:R?T(R,L):_[L],tick:I},major:{format:R?T(R,c):_[c],tick:S}}}}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w;(w=function(k){s(2);var W="highlight-filter";return{bounceCircleHighlight:function(G,Q,U){var Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2*U,z=100,A=50;G.transition().ease(Q).duration(z).attr("r",Y).transition().ease(Q).delay(A).duration(z).attr("r",U)},createFilterContainer:function(G){return G.append("defs").append("filter").attr("id",W)},createGausianBlur:function(G){return G.append("feGaussianBlur").attr("stdDeviation",1).attr("result","coloredBlur"),W},createWhiteGlow:function(G){G.attr("x","-5000%").attr("y","-5000%").attr("width","10000%").attr("height","10000%"),G.append("feFlood").attr("result","flood").attr("flood-color","#ffffff").attr("flood-opacity","1"),G.append("feComposite").attr("result","mask").attr("in2","SourceGraphic").attr("operator","in").attr("in","flood"),G.append("feMorphology").attr("result","dilated").attr("operator","dilate").attr("radius","2").attr("in","mask"),G.append("feGaussianBlur").attr("result","blurred").attr("stdDeviation","5").attr("in","dilated");var Q=G.append("feMerge");return Q.append("feMergeNode").attr("in","blurred"),Q.append("feMergeNode").attr("in","SourceGraphic"),W},createGlow:function(G){G.attr("x","-30%").attr("y","-30%").attr("width","160%").attr("height","160%"),G.append("feGaussianBlur").attr("stdDeviation","0.9 0.9").attr("result","glow");var Q=G.append("feMerge");return Q.append("feMergeNode").attr("in","glow"),Q.append("feMergeNode").attr("in","glow"),Q.append("feMergeNode").attr("in","glow"),W},createGlowWithMatrix:function(G){G.attr("x","-500%").attr("y","-500%").attr("width","1800%").attr("height","1800%"),G.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"),G.append("feGaussianBlur").attr("stdDeviation","1").attr("result","coloredBlur").attr("in","SourceGraphic");var Q=G.append("feMerge");return Q.append("feMergeNode").attr("in","coloredBlur"),Q.append("feMergeNode").attr("in","SourceGraphic"),W}}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k,W,G,Q=s(14),U=180/Math.PI,Y={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},z=function(p,o,T,_,f,C){var x,m,g;return(x=Math.sqrt(p*p+o*o))&&(p/=x,o/=x),(g=p*T+o*_)&&(T-=p*g,_-=o*g),(m=Math.sqrt(T*T+_*_))&&(T/=m,_/=m,g/=m),p*_180?R+=360:R-b>180&&(b+=360),v.push({i:y.push(f(y)+"rotate(",null,_)-2,x:Object(Q.a)(b,R)})):R&&y.push(f(y)+"rotate("+R+_)}(C.rotate,x.rotate,m,g),function(b,R,y,v){b!==R?v.push({i:y.push(f(y)+"skewX(",null,_)-2,x:Object(Q.a)(b,R)}):R&&y.push(f(y)+"skewX("+R+_)}(C.skewX,x.skewX,m,g),function(b,R,y,v,l,u){if(b!==y||R!==v){var D=l.push(f(l)+"scale(",null,",",null,")");u.push({i:D-4,x:Object(Q.a)(b,y)},{i:D-2,x:Object(Q.a)(R,v)})}else y===1&&v===1||l.push(f(l)+"scale("+y+","+v+")")}(C.scaleX,C.scaleY,x.scaleX,x.scaleY,m,g),C=x=null,function(b){for(var R,y=-1,v=g.length;++y=0&&(O=A.slice(E+1),A=A.slice(0,E)),A&&!z.hasOwnProperty(A))throw new Error("unknown type: "+A);return{type:A,name:O}})}function Q(Y,z){for(var A,O=0,E=Y.length;O0)for(var A,O,E=new Array(A),p=0;p=0))throw g(x,new Error(Nt.tagName+"@"+Tt));for(var Ot=Pt.length-1;gt"&&">")||Nt=="&"&&"&"||Nt=='"'&&"""||""+Nt.charCodeAt()+";"}function I(Nt,Pt){if(Pt(Nt))return!0;if(Nt=Nt.firstChild)do if(I(Nt,Pt))return!0;while(Nt=Nt.nextSibling)}function nt(){}function it(Nt,Pt,Tt,gt){Nt&&Nt._inc++,Tt.namespaceURI=="http://www.w3.org/2000/xmlns/"&&delete Pt._nsMap[Tt.prefix?Tt.localName:""]}function ot(Nt,Pt,Tt){if(Nt&&Nt._inc){Nt._inc++;var gt=Pt.childNodes;if(Tt)gt[gt.length++]=Tt;else{for(var Ot=Pt.firstChild,Wt=0;Ot;)gt[Wt++]=Ot,Ot=Ot.nextSibling;gt.length=Wt}}}function K(Nt,Pt){var Tt=Pt.previousSibling,gt=Pt.nextSibling;return Tt?Tt.nextSibling=gt:Nt.firstChild=gt,gt?gt.previousSibling=Tt:Nt.lastChild=Tt,ot(Nt.ownerDocument,Nt),Pt}function ft(Nt,Pt,Tt){var gt=Pt.parentNode;if(gt&>.removeChild(Pt),Pt.nodeType===o){var Ot=Pt.firstChild;if(Ot==null)return Pt;var Wt=Pt.lastChild}else Ot=Wt=Pt;var $t=Tt?Tt.previousSibling:Nt.lastChild;Ot.previousSibling=$t,Wt.nextSibling=Tt,$t?$t.nextSibling=Ot:Nt.firstChild=Ot,Tt==null?Nt.lastChild=Wt:Tt.previousSibling=Wt;do Ot.parentNode=Nt;while(Ot!==Wt&&(Ot=Ot.nextSibling));return ot(Nt.ownerDocument||Nt,Nt),Pt.nodeType==o&&(Pt.firstChild=Pt.lastChild=null),Pt}function F(){this._nsMap={}}function H(){}function ct(){}function pt(){}function et(){}function dt(){}function V(){}function tt(){}function J(){}function Z(){}function st(){}function _t(){}function yt(){}function Mt(Nt,Pt){var Tt=[],gt=this.nodeType==9?this.documentElement:this,Ot=gt.prefix,Wt=gt.namespaceURI;if(Wt&&Ot==null&&(Ot=gt.lookupPrefix(Wt))==null)var $t=[{namespace:Wt,prefix:null}];return Dt(this,Tt,Nt,Pt,$t),Tt.join("")}function xt(Nt,Pt,Tt){var gt=Nt.prefix||"",Ot=Nt.namespaceURI;if(!gt&&!Ot||gt==="xml"&&Ot==="http://www.w3.org/XML/1998/namespace"||Ot=="http://www.w3.org/2000/xmlns/")return!1;for(var Wt=Tt.length;Wt--;){var $t=Tt[Wt];if($t.prefix==gt)return $t.namespace!=Ot}return!0}function Dt(Nt,Pt,Tt,gt,Ot){if(gt){if(!(Nt=gt(Nt)))return;if(typeof Nt=="string")return void Pt.push(Nt)}switch(Nt.nodeType){case W:Ot||(Ot=[]),Ot.length;var Wt=Nt.attributes,$t=Wt.length,se=Nt.firstChild,ue=Nt.tagName;Tt=Nt.namespaceURI==="http://www.w3.org/1999/xhtml"||Tt,Pt.push("<",ue);for(var Ne=0;Ne<$t;Ne++)(Xe=Wt.item(Ne)).prefix=="xmlns"?Ot.push({prefix:Xe.localName,namespace:Xe.value}):Xe.nodeName=="xmlns"&&Ot.push({prefix:"",namespace:Xe.value});for(Ne=0;Ne<$t;Ne++){var Xe;if(xt(Xe=Wt.item(Ne),0,Ot)){var rn=Xe.prefix||"",an=Xe.namespaceURI,en=rn?" xmlns:"+rn:" xmlns";Pt.push(en,'="',an,'"'),Ot.push({prefix:rn,namespace:an})}Dt(Xe,Pt,Tt,gt,Ot)}if(xt(Nt,0,Ot)&&(rn=Nt.prefix||"",an=Nt.namespaceURI,en=rn?" xmlns:"+rn:" xmlns",Pt.push(en,'="',an,'"'),Ot.push({prefix:rn,namespace:an})),se||Tt&&!/^(?:meta|link|img|br|hr|input)$/i.test(ue)){if(Pt.push(">"),Tt&&/^script$/i.test(ue))for(;se;)se.data?Pt.push(se.data):Dt(se,Pt,Tt,gt,Ot),se=se.nextSibling;else for(;se;)Dt(se,Pt,Tt,gt,Ot),se=se.nextSibling;Pt.push("",ue,">")}else Pt.push("/>");return;case E:case o:for(se=Nt.firstChild;se;)Dt(se,Pt,Tt,gt,Ot),se=se.nextSibling;return;case G:return Pt.push(" ",Nt.name,'="',Nt.value.replace(/[<&"]/g,S),'"');case Q:return Pt.push(Nt.data.replace(/[<&]/g,S));case U:return Pt.push("");case O:return Pt.push("");case p:var wn=Nt.publicId,cn=Nt.systemId;if(Pt.push("');else if(cn&&cn!=".")Pt.push(' SYSTEM "',cn,'">');else{var le=Nt.internalSubset;le&&Pt.push(" [",le,"]"),Pt.push(">")}return;case A:return Pt.push("",Nt.target," ",Nt.data,"?>");case Y:return Pt.push("&",Nt.nodeName,";");default:Pt.push("??",Nt.nodeName)}}function jt(Nt,Pt,Tt){Nt[Pt]=Tt}g.prototype=Error.prototype,s(_,g),b.prototype={length:0,item:function(Nt){return this[Nt]||null},toString:function(Nt,Pt){for(var Tt=[],gt=0;gt0},lookupPrefix:function(Nt){for(var Pt=this;Pt;){var Tt=Pt._nsMap;if(Tt){for(var gt in Tt)if(Tt[gt]==Nt)return gt}Pt=Pt.nodeType==G?Pt.ownerDocument:Pt.parentNode}return null},lookupNamespaceURI:function(Nt){for(var Pt=this;Pt;){var Tt=Pt._nsMap;if(Tt&&Nt in Tt)return Tt[Nt];Pt=Pt.nodeType==G?Pt.ownerDocument:Pt.parentNode}return null},isDefaultNamespace:function(Nt){return this.lookupPrefix(Nt)==null}},s(k,c),s(k,c.prototype),nt.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(Nt,Pt){if(Nt.nodeType==o){for(var Tt=Nt.firstChild;Tt;){var gt=Tt.nextSibling;this.insertBefore(Tt,Pt),Tt=gt}return Nt}return this.documentElement==null&&Nt.nodeType==W&&(this.documentElement=Nt),ft(this,Nt,Pt),Nt.ownerDocument=this,Nt},removeChild:function(Nt){return this.documentElement==Nt&&(this.documentElement=null),K(this,Nt)},importNode:function(Nt,Pt){return function Tt(gt,Ot,Wt){var $t;switch(Ot.nodeType){case W:($t=Ot.cloneNode(!1)).ownerDocument=gt;case o:break;case G:Wt=!0}if($t||($t=Ot.cloneNode(!1)),$t.ownerDocument=gt,$t.parentNode=null,Wt)for(var se=Ot.firstChild;se;)$t.appendChild(Tt(gt,se,Wt)),se=se.nextSibling;return $t}(this,Nt,Pt)},getElementById:function(Nt){var Pt=null;return I(this.documentElement,function(Tt){if(Tt.nodeType==W&&Tt.getAttribute("id")==Nt)return Pt=Tt,!0}),Pt},createElement:function(Nt){var Pt=new F;return Pt.ownerDocument=this,Pt.nodeName=Nt,Pt.tagName=Nt,Pt.childNodes=new b,(Pt.attributes=new v)._ownerElement=Pt,Pt},createDocumentFragment:function(){var Nt=new st;return Nt.ownerDocument=this,Nt.childNodes=new b,Nt},createTextNode:function(Nt){var Pt=new pt;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 dt;return Pt.ownerDocument=this,Pt.appendData(Nt),Pt},createProcessingInstruction:function(Nt,Pt){var Tt=new _t;return Tt.ownerDocument=this,Tt.tagName=Tt.target=Nt,Tt.nodeValue=Tt.data=Pt,Tt},createAttribute:function(Nt){var Pt=new H;return Pt.ownerDocument=this,Pt.name=Nt,Pt.nodeName=Nt,Pt.localName=Nt,Pt.specified=!0,Pt},createEntityReference:function(Nt){var Pt=new Z;return Pt.ownerDocument=this,Pt.nodeName=Nt,Pt},createElementNS:function(Nt,Pt){var Tt=new F,gt=Pt.split(":"),Ot=Tt.attributes=new v;return Tt.childNodes=new b,Tt.ownerDocument=this,Tt.nodeName=Pt,Tt.tagName=Pt,Tt.namespaceURI=Nt,gt.length==2?(Tt.prefix=gt[0],Tt.localName=gt[1]):Tt.localName=Pt,Ot._ownerElement=Tt,Tt},createAttributeNS:function(Nt,Pt){var Tt=new H,gt=Pt.split(":");return Tt.ownerDocument=this,Tt.nodeName=Pt,Tt.name=Pt,Tt.namespaceURI=Nt,Tt.specified=!0,gt.length==2?(Tt.prefix=gt[0],Tt.localName=gt[1]):Tt.localName=Pt,Tt}},w(nt,c),F.prototype={nodeType:W,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 Tt=this.ownerDocument.createAttribute(Nt);Tt.value=Tt.nodeValue=""+Pt,this.setAttributeNode(Tt)},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,Tt){var gt=Tt.parentNode;if(gt){var Ot=Pt.lastChild;gt.removeChild(Tt),Ot=Pt.lastChild}return Ot=Pt.lastChild,Tt.parentNode=Pt,Tt.previousSibling=Ot,Tt.nextSibling=null,Ot?Ot.nextSibling=Tt:Pt.firstChild=Tt,Pt.lastChild=Tt,ot(Pt.ownerDocument,Pt,Tt),Tt}(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 Tt=this.getAttributeNodeNS(Nt,Pt);Tt&&this.removeAttributeNode(Tt)},hasAttributeNS:function(Nt,Pt){return this.getAttributeNodeNS(Nt,Pt)!=null},getAttributeNS:function(Nt,Pt){var Tt=this.getAttributeNodeNS(Nt,Pt);return Tt&&Tt.value||""},setAttributeNS:function(Nt,Pt,Tt){var gt=this.ownerDocument.createAttributeNS(Nt,Pt);gt.value=gt.nodeValue=""+Tt,this.setAttributeNode(gt)},getAttributeNodeNS:function(Nt,Pt){return this.attributes.getNamedItemNS(Nt,Pt)},getElementsByTagName:function(Nt){return new R(this,function(Pt){var Tt=[];return I(Pt,function(gt){gt===Pt||gt.nodeType!=W||Nt!=="*"&>.tagName!=Nt||Tt.push(gt)}),Tt})},getElementsByTagNameNS:function(Nt,Pt){return new R(this,function(Tt){var gt=[];return I(Tt,function(Ot){Ot===Tt||Ot.nodeType!==W||Nt!=="*"&&Ot.namespaceURI!==Nt||Pt!=="*"&&Ot.localName!=Pt||gt.push(Ot)}),gt})}},nt.prototype.getElementsByTagName=F.prototype.getElementsByTagName,nt.prototype.getElementsByTagNameNS=F.prototype.getElementsByTagNameNS,w(F,c),H.prototype.nodeType=G,w(H,c),ct.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[C])},deleteData:function(Nt,Pt){this.replaceData(Nt,Pt,"")},replaceData:function(Nt,Pt,Tt){Tt=this.data.substring(0,Nt)+Tt+this.data.substring(Nt+Pt),this.nodeValue=this.data=Tt,this.length=Tt.length}},w(ct,c),pt.prototype={nodeName:"#text",nodeType:Q,splitText:function(Nt){var Pt=this.data,Tt=Pt.substring(Nt);Pt=Pt.substring(0,Nt),this.data=this.nodeValue=Pt,this.length=Pt.length;var gt=this.ownerDocument.createTextNode(Tt);return this.parentNode&&this.parentNode.insertBefore(gt,this.nextSibling),gt}},w(pt,ct),et.prototype={nodeName:"#comment",nodeType:O},w(et,ct),dt.prototype={nodeName:"#cdata-section",nodeType:U},w(dt,ct),V.prototype.nodeType=p,w(V,c),tt.prototype.nodeType=T,w(tt,c),J.prototype.nodeType=z,w(J,c),Z.prototype.nodeType=Y,w(Z,c),st.prototype.nodeName="#document-fragment",st.prototype.nodeType=o,w(st,c),_t.prototype.nodeType=A,w(_t,c),yt.prototype.serializeToString=function(Nt,Pt,Tt){return Mt.call(Nt,Pt,Tt)},c.prototype.toString=Mt;try{Object.defineProperty&&(Object.defineProperty(R.prototype,"length",{get:function(){return y(this),this.$$length}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return function Nt(Pt){switch(Pt.nodeType){case W:case o:var Tt=[];for(Pt=Pt.firstChild;Pt;)Pt.nodeType!==7&&Pt.nodeType!==8&&Tt.push(Nt(Pt)),Pt=Pt.nextSibling;return Tt.join("");default:return Pt.nodeValue}}(this)},set:function(Nt){switch(this.nodeType){case W: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}}}),jt=function(Nt,Pt,Tt){Nt["$$"+Pt]=Tt})}catch(Nt){}j.DOMImplementation=L,j.XMLSerializer=yt},function(bt,j,s){"use strict";var w;(w=function(k){return s(9),{addDays:function(W,G){var Q=new Date(W);return Q.setDate(Q.getDate()+G),String(Q)},convertMillisecondsToDays:function(W){return Math.ceil(W/864e5)},diffDays:function(W,G){return Math.ceil(Math.abs((new Date(W).getTime()-new Date(G).getTime())/864e5))},getLocaleDateFormatter:function(W){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"day",Q=localeTimeMap[G],U=new Intl.DateTimeFormat(W,Q);return function(Y){return U.format(Y)}}}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.colors=j.bullet=j.brush=j.step=j.heatmap=j.stackedBar=j.groupedRow=j.groupedBar=j.scatterPlot=j.stackedArea=j.sparkline=j.row=j.miniTooltip=j.tooltip=j.loadingStates=j.line=j.legend=j.donut=j.bar=void 0;var w=g(s(90)),k=g(s(101)),W=g(s(102)),G=g(s(103)),Q=g(s(18)),U=g(s(104)),Y=g(s(106)),z=g(s(107)),A=g(s(108)),O=g(s(109)),E=g(s(110)),p=g(s(111)),o=g(s(112)),T=g(s(113)),_=g(s(114)),f=g(s(115)),C=g(s(116)),x=g(s(117)),m=g(s(10));function g(b){return b&&b.__esModule?b:{default:b}}j.bar=w.default,j.donut=k.default,j.legend=W.default,j.line=G.default,j.loadingStates=Q.default,j.tooltip=Y.default,j.miniTooltip=z.default,j.row=U.default,j.sparkline=A.default,j.stackedArea=O.default,j.scatterPlot=E.default,j.groupedBar=p.default,j.groupedRow=o.default,j.stackedBar=T.default,j.heatmap=_.default,j.step=f.default,j.brush=C.default,j.bullet=x.default,j.colors=m.default},,function(bt,j,s){"use strict";var w,k=Object.assign||function(W){for(var G=1;G]*>/,""),(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 b=new w(this.value);b.ok&&(g="rgba("+b.r+", "+b.g+", "+b.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 b=this.getDefinition();if(b!=null&&b.createGradient)return b.createGradient(f.ctx,m,g);if(b!=null&&b.createPattern){if(b.getHrefAttribute().hasValue()){var R=b.attribute("patternTransform");b=b.getHrefAttribute().getDefinition(),R.hasValue()&&(b.attribute("patternTransform",!0).value=R.value)}return b.createPattern(f.ctx,m)}return null},f.Property.prototype.getDPI=function(m){return 96},f.Property.prototype.getEM=function(m){var g=12,b=new f.Property("fontSize",f.Font.Parse(f.ctx.font).fontSize);return b.hasValue()&&(g=b.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 b=this.value+"";if(b.match(/em$/))return this.numValue()*this.getEM(m);if(b.match(/ex$/))return this.numValue()*this.getEM(m)/2;if(b.match(/px$/))return this.numValue();if(b.match(/pt$/))return this.numValue()*this.getDPI(m)*(1/72);if(b.match(/pc$/))return 15*this.numValue();if(b.match(/cm$/))return this.numValue()*this.getDPI(m)/2.54;if(b.match(/mm$/))return this.numValue()*this.getDPI(m)/25.4;if(b.match(/in$/))return this.numValue()*this.getDPI(m);if(b.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 x={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()?x[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,b,R,y,v,l){var u=l!=null?this.Parse(l):this.CreateFont("","","","","",f.ctx.font);return{fontFamily:v||u.fontFamily,fontSize:y||u.fontSize,fontStyle:g||u.fontStyle,fontWeight:R||u.fontWeight,fontVariant:b||u.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var m=this;this.Parse=function(g){for(var b={},R=f.trim(f.compressSpaces(g||"")).split(" "),y={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},v="",l=0;lthis.x2&&(this.x2=y)),v!=null&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=v,this.y2=v),vthis.y2&&(this.y2=v))},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,v,l,u,D,L){var c=y+.6666666666666666*(l-y),S=v+2/3*(u-v),I=c+1/3*(D-y),nt=S+1/3*(L-v);this.addBezierCurve(y,v,c,I,S,nt,D,L)},this.addBezierCurve=function(y,v,l,u,D,L,c,S){var I=[y,v],nt=[l,u],it=[D,L],ot=[c,S];this.addPoint(I[0],I[1]),this.addPoint(ot[0],ot[1]);for(var K=0;K<=1;K++){var ft=function(tt){return Math.pow(1-tt,3)*I[K]+3*Math.pow(1-tt,2)*tt*nt[K]+3*(1-tt)*Math.pow(tt,2)*it[K]+Math.pow(tt,3)*ot[K]},F=6*I[K]-12*nt[K]+6*it[K],H=-3*I[K]+9*nt[K]-9*it[K]+3*ot[K],ct=3*nt[K]-3*I[K];if(H!=0){var pt=Math.pow(F,2)-4*ct*H;if(!(pt<0)){var et=(-F+Math.sqrt(pt))/(2*H);0=0;L--)this.transforms[L].unapply(D)},this.applyToPoint=function(D){for(var L=0;Lnt&&(this.styles[I]=c[I],this.stylesSpecificity[I]=S)}}},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 b=this.basePath(g);return g!=null&&(g.lineTo(this.points[0].x,this.points[0].y),g.closePath()),b}},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 b=0;b<2;b++)g=g.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2");for(g=(g=g.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2"),b=0;b<2;b++)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,v,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(y,v==null?null:v.angleTo(y))},this.addMarkerAngle=function(y,v){this.points.push(y),this.angles.push(v)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var y=0;y1&&(nt*=Math.sqrt(H),it*=Math.sqrt(H));var ct=(K==ft?-1:1)*Math.sqrt((Math.pow(nt,2)*Math.pow(it,2)-Math.pow(nt,2)*Math.pow(F.y,2)-Math.pow(it,2)*Math.pow(F.x,2))/(Math.pow(nt,2)*Math.pow(F.y,2)+Math.pow(it,2)*Math.pow(F.x,2)));isNaN(ct)&&(ct=0);var pt=new f.Point(ct*nt*F.y/it,ct*-it*F.x/nt),et=new f.Point((L.x+I.x)/2+Math.cos(ot)*pt.x-Math.sin(ot)*pt.y,(L.y+I.y)/2+Math.sin(ot)*pt.x+Math.cos(ot)*pt.y),dt=function(Nt){return Math.sqrt(Math.pow(Nt[0],2)+Math.pow(Nt[1],2))},V=function(Nt,Pt){return(Nt[0]*Pt[0]+Nt[1]*Pt[1])/(dt(Nt)*dt(Pt))},tt=function(Nt,Pt){return(Nt[0]*Pt[1]=1&&(_t=0);var yt=1-ft?1:-1,Mt=J+yt*(_t/2),xt=new f.Point(et.x+nt*Math.cos(Mt),et.y+it*Math.sin(Mt));if(y.addMarkerAngle(xt,Mt-yt*Math.PI/2),y.addMarkerAngle(I,Mt-yt*Math.PI),v.addPoint(I.x,I.y),R!=null){V=nt>it?nt:it;var Dt=nt>it?1:nt/it,jt=nt>it?it/nt:1;R.translate(et.x,et.y),R.rotate(ot),R.scale(Dt,jt),R.arc(0,0,V,J,J+_t,1-ft),R.scale(1/Dt,1/jt),R.rotate(-ot),R.translate(-et.x,-et.y)}}break;case"Z":case"z":R!=null&&R.closePath(),y.current=y.start}return v},this.getMarkers=function(){for(var R=this.PathParser.getMarkerPoints(),y=this.PathParser.getMarkerAngles(),v=[],l=0;l1&&(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,b=this.attribute("attributeName").value;return g=="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(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 b=!1;if(this.beginR&&u.attribute("x").hasValue())break;v+=u.measureTextRecursive(g)}return-1*(y=="end"?v:v/2)}return 0},this.renderChild=function(g,b,R,y){var v=R.children[y];for(v.attribute("x").hasValue()?(v.x=v.attribute("x").toPixels("x")+b.getAnchorDelta(g,R,y),v.attribute("dx").hasValue()&&(v.x+=v.attribute("dx").toPixels("x"))):(v.attribute("dx").hasValue()&&(b.x+=v.attribute("dx").toPixels("x")),v.x=b.x),b.x=v.x+v.measureText(g),v.attribute("y").hasValue()?(v.y=v.attribute("y").toPixels("y"),v.attribute("dy").hasValue()&&(v.y+=v.attribute("dy").toPixels("y"))):(v.attribute("dy").hasValue()&&(b.y+=v.attribute("dy").toPixels("y")),v.y=b.y),b.y=v.y,v.render(g),y=0;y0&&b[R-1]!=" "&&R0&&b[R-1]!=" "&&(R==b.length-1||b[R+1]==" ")&&(l="initial"),g.glyphs[y]!==void 0&&(v=g.glyphs[y][l])==null&&g.glyphs[y].type=="glyph"&&(v=g.glyphs[y])}else v=g.glyphs[y];return v==null&&(v=g.missingGlyph),v},this.renderChildren=function(g){var b=this.parent.style("font-family").getDefinition();if(b==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),v=this.getText();b.isRTL&&(v=v.split("").reverse().join(""));for(var l=f.ToNumberArray(this.parent.attribute("dx").value),u=0;u0?"":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(b)}},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 b=g.match(/\.svg$/);if(f.Images.push(this),this.loaded=!1,b)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 v=this.attribute("x").toPixels("x"),l=this.attribute("y").toPixels("y"),u=this.attribute("width").toPixels("x"),D=this.attribute("height").toPixels("y");u!=0&&D!=0&&(y.save(),b?y.drawSvg(this.img,v,l,u,D):(y.translate(v,l),f.AspectRatio(y,this.attribute("preserveAspectRatio").value,u,this.img.width,D,this.img.height,0,0),y.drawImage(this.img,0,0)),y.restore())},this.getBoundingBox=function(){var y=this.attribute("x").toPixels("x"),v=this.attribute("y").toPixels("y"),l=this.attribute("width").toPixels("x"),u=this.attribute("height").toPixels("y");return new f.BoundingBox(y,v,y+l,v+u)}}},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,b=0;b0)for(var ft=ot[K].indexOf("url"),F=ot[K].indexOf(")",ft),H=ot[K].substr(ft+5,F-ft-6),ct=f.parseXml(f.ajax(H)).getElementsByTagName("font"),pt=0;pt~\.\[:]+)/g,0),Y(/(\.[^\s\+>~\.\[:]+)/g,1),Y(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,2),Y(/(:[\w-]+\([^\)]*\))/gi,1),Y(/(:[^\s\+>~\.\[:]+)/g,1),Q=(Q=Q.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),Y(/([^\s\+>~\.\[:]+)/g,2),U.join("")}bt.exports=W},function(bt,j){bt.exports=function(s){this.ok=!1,this.alpha=1,s.charAt(0)=="#"&&(s=s.substr(1,6)),s=(s=s.replace(/ /g,"")).toLowerCase();var w={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"};s=w[s]||s;for(var k=[{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)]}}],W=0;W3&&(this.alpha=Y[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),A=this.g.toString(16),O=this.b.toString(16);return z.length==1&&(z="0"+z),A.length==1&&(A="0"+A),O.length==1&&(O="0"+O),"#"+z+A+O},this.getHelpXML=function(){for(var z=new Array,A=0;A "+_.toRGB()+" -> "+_.toHex());T.appendChild(f),T.appendChild(C),o.appendChild(T)}catch(x){}return o}}},function(bt,j){var s=[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],w=[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 k(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}bt.exports=function(W,G,Q,U){if(!(isNaN(U)||U<1)){var Y,z,A,O,E,p,o,T,_,f,C,x,m,g,b,R,y,v,l,u,D,L,c,S,I=(U|=0)+U+1,nt=G-1,it=Q-1,ot=U+1,K=ot*(ot+1)/2,ft=new k,F=ft;for(A=1;A>dt,c!=0?(c=255/c,W[p]=(T*et>>dt)*c,W[p+1]=(_*et>>dt)*c,W[p+2]=(f*et>>dt)*c):W[p]=W[p+1]=W[p+2]=0,T-=x,_-=m,f-=g,C-=b,x-=ct.r,m-=ct.g,g-=ct.b,b-=ct.a,O=o+((O=Y+U+1)>dt,c>0?(c=255/c,W[O]=(T*et>>dt)*c,W[O+1]=(_*et>>dt)*c,W[O+2]=(f*et>>dt)*c):W[O]=W[O+1]=W[O+2]=0,T-=x,_-=m,f-=g,C-=b,x-=ct.r,m-=ct.g,g-=ct.b,b-=ct.a,O=Y+((O=z+ot)=O+E||O?new java.lang.String(A,O,E)+"":A}function U(A,O){A.currentElement?A.currentElement.appendChild(O):A.doc.appendChild(O)}w.prototype.parseFromString=function(A,O){var E=this.options,p=new Y,o=E.domBuilder||new k,T=E.errorHandler,_=E.locator,f=E.xmlns||{},C={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return _&&o.setDocumentLocator(_),p.errorHandler=function(x,m,g){if(!x){if(m instanceof k)return m;x=m}var b={},R=x instanceof Function;function y(v){var l=x[v];!l&&R&&(l=x.length==2?function(u){x(v,u)}:x),b[v]=l&&function(u){l("[xmldom "+v+"] "+u+G(g))}||function(){}}return g=g||{},y("warning"),y("error"),y("fatalError"),b}(T,o,_),p.domBuilder=E.domBuilder||o,/\/x?html?$/.test(O)&&(C.nbsp="\xA0",C.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,C):p.errorHandler.error("invalid doc source"),o.doc},k.prototype={startDocument:function(){this.doc=new z().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(A,O,E,p){var o=this.doc,T=o.createElementNS(A,E||O),_=p.length;U(this,T),this.currentElement=T,this.locator&&W(this.locator,T);for(var f=0;f<_;f++){A=p.getURI(f);var C=p.getValue(f),x=(E=p.getQName(f),o.createAttributeNS(A,E));this.locator&&W(p.getLocator(f),x),x.value=x.nodeValue=C,T.setAttributeNode(x)}},endElement:function(A,O,E){var p=this.currentElement;p.tagName,this.currentElement=p.parentNode},startPrefixMapping:function(A,O){},endPrefixMapping:function(A){},processingInstruction:function(A,O){var E=this.doc.createProcessingInstruction(A,O);this.locator&&W(this.locator,E),U(this,E)},ignorableWhitespace:function(A,O,E){},characters:function(A,O,E){if(A=Q.apply(this,arguments)){if(this.cdata)var p=this.doc.createCDATASection(A);else p=this.doc.createTextNode(A);this.currentElement?this.currentElement.appendChild(p):/^\s*$/.test(A)&&this.doc.appendChild(p),this.locator&&W(this.locator,p)}},skippedEntity:function(A){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(A){(this.locator=A)&&(A.lineNumber=0)},comment:function(A,O,E){A=Q.apply(this,arguments);var p=this.doc.createComment(A);this.locator&&W(this.locator,p),U(this,p)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(A,O,E){var p=this.doc.implementation;if(p&&p.createDocumentType){var o=p.createDocumentType(A,O,E);this.locator&&W(this.locator,o),U(this,o)}},warning:function(A){console.warn("[xmldom warning] "+A,G(this.locator))},error:function(A){console.error("[xmldom error] "+A,G(this.locator))},fatalError:function(A){throw console.error("[xmldom fatalError] "+A,G(this.locator)),A}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(A){k.prototype[A]=function(){return null}});var Y=s(95).XMLReader,z=j.DOMImplementation=s(86).DOMImplementation;j.XMLSerializer=s(86).XMLSerializer,j.DOMParser=w},function(bt,j){var s=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,w=new RegExp("[\\-\\.0-9"+s.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),k=new RegExp("^"+s.source+w.source+"*(?::"+s.source+w.source+"*)?$");function W(){}function G(T,_){return _.lineNumber=T.lineNumber,_.columnNumber=T.columnNumber,_}function Q(T,_,f,C,x,m){for(var g,b=++_,R=0;;){var y=T.charAt(b);switch(y){case"=":if(R===1)g=T.slice(_,b),R=3;else{if(R!==2)throw new Error("attribute equal must after attrName");R=3}break;case"'":case'"':if(R===3||R===1){if(R===1&&(m.warning('attribute value must after "="'),g=T.slice(_,b)),_=b+1,!((b=T.indexOf(y,_))>0))throw new Error("attribute value no end '"+y+"' match");v=T.slice(_,b).replace(/?\w+;/g,x),f.add(g,v,_-1),R=5}else{if(R!=4)throw new Error('attribute value must after "="');v=T.slice(_,b).replace(/?\w+;/g,x),f.add(g,v,_),m.warning('attribute "'+g+'" missed start quot('+y+")!!"),_=b+1,R=5}break;case"/":switch(R){case 0:f.setTagName(T.slice(_,b));case 5:case 6:case 7:R=7,f.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return m.error("unexpected end of input"),R==0&&f.setTagName(T.slice(_,b)),b;case">":switch(R){case 0:f.setTagName(T.slice(_,b));case 5:case 6:case 7:break;case 4:case 1:(v=T.slice(_,b)).slice(-1)==="/"&&(f.closed=!0,v=v.slice(0,-1));case 2:R===2&&(v=g),R==4?(m.warning('attribute "'+v+'" missed quot(")!!'),f.add(g,v.replace(/?\w+;/g,x),_)):(C[""]==="http://www.w3.org/1999/xhtml"&&v.match(/^(?:disabled|checked|selected)$/i)||m.warning('attribute "'+v+'" missed value!! "'+v+'" instead!!'),f.add(v,v,_));break;case 3:throw new Error("attribute value missed!!")}return b;case"\x80":y=" ";default:if(y<=" ")switch(R){case 0:f.setTagName(T.slice(_,b)),R=6;break;case 1:g=T.slice(_,b),R=2;break;case 4:var v=T.slice(_,b).replace(/?\w+;/g,x);m.warning('attribute "'+v+'" missed quot(")!!'),f.add(g,v,_);case 5:R=6}else switch(R){case 2:f.tagName,C[""]==="http://www.w3.org/1999/xhtml"&&g.match(/^(?:disabled|checked|selected)$/i)||m.warning('attribute "'+g+'" missed value!! "'+g+'" instead2!!'),f.add(g,g,_),_=b,R=1;break;case 5:m.warning('attribute space is required"'+g+'"!!');case 6:R=1,_=b;break;case 3:R=4,_=b;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}b++}}function U(T,_,f){for(var C=T.tagName,x=null,m=T.length;m--;){var g=T[m],b=g.qName,R=g.value;if((u=b.indexOf(":"))>0)var y=g.prefix=b.slice(0,u),v=b.slice(u+1),l=y==="xmlns"&&v;else v=b,y=null,l=b==="xmlns"&&"";g.localName=v,l!==!1&&(x==null&&(x={},A(f,f={})),f[l]=x[l]=R,g.uri="http://www.w3.org/2000/xmlns/",_.startPrefixMapping(l,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 u;(u=C.indexOf(":"))>0?(y=T.prefix=C.slice(0,u),v=T.localName=C.slice(u+1)):(y=null,v=T.localName=C);var D=T.uri=f[y||""];if(_.startElement(D,v,C,T),!T.closed)return T.currentNSMap=f,T.localNSMap=x,!0;if(_.endElement(D,v,C),x)for(y in x)_.endPrefixMapping(y)}function Y(T,_,f,C,x){if(/^(?:script|textarea)$/i.test(f)){var m=T.indexOf(""+f+">",_),g=T.substring(_+1,m);if(/[&<]/.test(g))return/^script$/i.test(f)?(x.characters(g,0,g.length),m):(g=g.replace(/?\w+;/g,C),x.characters(g,0,g.length),m)}return _+1}function z(T,_,f,C){var x=C[f];return x==null&&((x=T.lastIndexOf(""+f+">"))<_&&(x=T.lastIndexOf(""+f)),C[f]=x),x<_}function A(T,_){for(var f in T)_[f]=T[f]}function O(T,_,f,C){switch(T.charAt(_+2)){case"-":return T.charAt(_+3)==="-"?(x=T.indexOf("-->",_+4))>_?(f.comment(T,_+4,x-_-4),x+3):(C.error("Unclosed comment"),-1):-1;default:if(T.substr(_+3,6)=="CDATA["){var x=T.indexOf("]]>",_+9);return f.startCDATA(),f.characters(T,_+9,x-_-9),f.endCDATA(),x+3}var m=function(l,u){var D,L=[],c=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(c.lastIndex=u,c.exec(l);D=c.exec(l);)if(L.push(D),D[1])return L}(T,_),g=m.length;if(g>1&&/!doctype/i.test(m[0][0])){var b=m[1][0],R=g>3&&/^public$/i.test(m[2][0])&&m[3][0],y=g>4&&m[4][0],v=m[g-1];return f.startDTD(b,R&&R.replace(/^(['"])(.*?)\1$/,"$2"),y&&y.replace(/^(['"])(.*?)\1$/,"$2")),f.endDTD(),v.index+v[0].length}}return-1}function E(T,_,f){var C=T.indexOf("?>",_);if(C){var x=T.substring(_,C).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return x?(x[0].length,f.processingInstruction(x[1],x[2]),C+2):-1}return-1}function p(T){}function o(T,_){return T.__proto__=_,T}W.prototype={parse:function(T,_,f){var C=this.domBuilder;C.startDocument(),A(_,_={}),function(x,m,g,b,R){function y(_t){var yt=_t.slice(1,-1);return yt in g?g[yt]:yt.charAt(0)==="#"?function(Mt){if(Mt>65535){var xt=55296+((Mt-=65536)>>10),Dt=56320+(1023&Mt);return String.fromCharCode(xt,Dt)}return String.fromCharCode(Mt)}(parseInt(yt.substr(1).replace("x","0x"))):(R.error("entity not found:"+_t),_t)}function v(_t){if(_t>nt){var yt=x.substring(nt,_t).replace(/?\w+;/g,y);c&&l(nt),b.characters(yt,0,_t-nt),nt=_t}}function l(_t,yt){for(;_t>=D&&(yt=L.exec(x));)u=yt.index,D=u+yt[0].length,c.lineNumber++;c.columnNumber=_t-u+1}for(var u=0,D=0,L=/.*(?:\r\n?|\n)|.*$/g,c=b.locator,S=[{currentNSMap:m}],I={},nt=0;;){try{var it=x.indexOf("<",nt);if(it<0){if(!x.substr(nt).match(/^\s*$/)){var ot=b.doc,K=ot.createTextNode(x.substr(nt));ot.appendChild(K),b.currentElement=K}return}switch(it>nt&&v(it),x.charAt(it+1)){case"/":var ft=x.indexOf(">",it+3),F=x.substring(it+2,ft),H=S.pop();ft<0?(F=x.substring(it+2).replace(/[\s<].*/,""),R.error("end tag name: "+F+" is not complete:"+H.tagName),ft=it+1+F.length):F.match(/\s)&&(F=F.replace(/[\s<].*/,""),R.error("end tag name: "+F+" maybe not complete"),ft=it+1+F.length);var ct=H.localNSMap,pt=H.tagName==F;if(pt||H.tagName&&H.tagName.toLowerCase()==F.toLowerCase()){if(b.endElement(H.uri,H.localName,F),ct)for(var et in ct)b.endPrefixMapping(et);pt||R.fatalError("end tag name: "+F+" is not match the current start tagName:"+H.tagName)}else S.push(H);ft++;break;case"?":c&&l(it),ft=E(x,it,b);break;case"!":c&&l(it),ft=O(x,it,b,R);break;default:c&&l(it);var dt=new p,V=S[S.length-1].currentNSMap,tt=(ft=Q(x,it,dt,V,y,R),dt.length);if(!dt.closed&&z(x,ft,dt.tagName,I)&&(dt.closed=!0,g.nbsp||R.warning("unclosed xml attribute")),c&&tt){for(var J=G(c,{}),Z=0;Znt?nt=ft:v(Math.max(it,nt)+1)}}(T,_,f,C,this.errorHandler),C.endDocument()}},p.prototype={setTagName:function(T){if(!k.test(T))throw new Error("invalid tagName:"+T);this.tagName=T},add:function(T,_,f){if(!k.test(T))throw new Error("invalid attribute:"+T);this[this.length++]={qName:T,value:_,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,_){function f(){}for(_ in f.prototype=_,f=new f,T)f[_]=T[_];return f}),j.XMLReader=W},function(bt,j,s){"use strict";var w,k,W;bt.exports=(w={BASE:!0,HEAD:!0,HTML:!0,META:!0,NOFRAME:!0,NOSCRIPT:!0,PARAM:!0,SCRIPT:!0,STYLE:!0,TITLE:!0},k=["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"],W=function(G){var Q={},U=document.body.appendChild(document.createElement(G)),Y=window.getComputedStyle(U);return[].forEach.call(Y,function(z){Q[z]=Y[z]}),document.body.removeChild(U),Q},{initializeSerializer:function(){var G={};return[].forEach.call(k,function(Q){w[Q]||(G[Q]=W(Q))}),function(Q){var U,Y=[],z=void 0,A=void 0,O=void 0;if(Q&&Q.nodeType===Node.ELEMENT_NODE)return Y=[],z=Q.querySelectorAll("*"),[].forEach.call(z,function(E,p){var o;w[E.tagName]||(A=window.getComputedStyle(E),o=(o=E.tagName).toUpperCase(),G[o]||(G[o]=W(o)),O=G[o],Y[p]=E.style.cssText,[].forEach.call(A,function(T){A[T]!==O[T]&&(E.style[T]=A[T])}))}),U=new XMLSerializer().serializeToString(Q),z=[].map.call(z,function(E,p){return E.style.cssText=Y[p],E}),U}}})},function(bt,j,s){(function(w,k){var W;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */(function(G){var Q=j,U=(w&&w.exports,typeof k=="object"&&k);U.global!==U&&U.window;var Y=function(p){this.message=p};(Y.prototype=new Error).name="InvalidCharacterError";var z=function(p){throw new Y(p)},A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O=/[\t\n\f\r ]/g,E={encode:function(p){p=String(p),/[^\0-\xFF]/.test(p)&&z("The string to be encoded contains characters outside of the Latin1 range.");for(var o,T,_,f,C=p.length%3,x="",m=-1,g=p.length-C;++m>18&63)+A.charAt(f>>12&63)+A.charAt(f>>6&63)+A.charAt(63&f);return C==2?(o=p.charCodeAt(m)<<8,T=p.charCodeAt(++m),x+=A.charAt((f=o+T)>>10)+A.charAt(f>>4&63)+A.charAt(f<<2&63)+"="):C==1&&(f=p.charCodeAt(m),x+=A.charAt(f>>2)+A.charAt(f<<4&63)+"=="),x},decode:function(p){var o=(p=String(p).replace(O,"")).length;o%4==0&&(o=(p=p.replace(/==?$/,"")).length),(o%4==1||/[^+a-zA-Z0-9/]/.test(p))&&z("Invalid character: the string to be decoded is not correctly encoded.");for(var T,_,f=0,C="",x=-1;++x>(-2*f&6)));return C},version:"0.1.0"};(W=function(){return E}.call(j,s,j,w))===void 0||(w.exports=W)})()}).call(this,s(98)(bt),s(99))},function(bt,j){bt.exports=function(s){return s.webpackPolyfill||(s.deprecate=function(){},s.paths=[],s.children||(s.children=[]),Object.defineProperty(s,"loaded",{enumerable:!0,get:function(){return s.l}}),Object.defineProperty(s,"id",{enumerable:!0,get:function(){return s.i}}),s.webpackPolyfill=1),s}},function(bt,j){var s;s=function(){return this}();try{s=s||new Function("return this")()}catch(w){typeof window=="object"&&(s=window)}bt.exports=s},function(bt,j,s){"use strict";var w,k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W};(w=function(W){var G=s(9).formatDefaultLocale,Q=["decimal","thousands","grouping","currency"];return{setDefaultLocale:function(U){if(function(Y){return(Y===void 0?"undefined":k(Y))=="object"&&Q.every(function(z){return Y.hasOwnProperty(z)})}(U))return G(U);throw new Error("Please pass in a valid locale object definition")}}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(W){for(var G=1;G2&&arguments[2]!==void 0?arguments[2]:0;A.select(ue).transition().delay(Xe).attrTween("d",function(rn){var an=U.interpolate(rn.outerRadius,Ne);return function(en){return rn.outerRadius=an(en),c(rn)}})}function $t(ue){var Ne=void 0;return ue.innerRadius=0,Ne=U.interpolate({startAngle:0,endAngle:0},ue),function(Xe){return c(Ne(Xe))}}function se(ue,Ne){var Xe=l/5;E.wrapText.call(null,0,Xe,Ne,ue.node())}return Dt.centeredTextFunction=function(ue){return arguments.length?(J=ue,this):J},Dt.colorSchema=function(ue){return arguments.length?(tt=ue,this):tt},Dt.emptyDataConfig=function(ue){return arguments.length?(pt=ue,this):pt},Dt.exportChart=function(ue,Ne){O.call(Dt,I,ue,Ne)},Dt.externalRadius=function(ue){return arguments.length?(l=ue,this):l},Dt.hasHoverAnimation=function(ue){return arguments.length?(F=ue,this):F},Dt.hasFixedHighlightedSlice=function(ue){return arguments.length?(ft=ue,this):ft},Dt.hasLastHoverSliceHighlighted=function(ue){return arguments.length?(H=ue,this):H},Dt.height=function(ue){return arguments.length?(x=ue,this):x},Dt.highlightSliceById=function(ue){return arguments.length?(ot=ue,this):ot},Dt.internalRadius=function(ue){return arguments.length?(u=ue,this):u},Dt.isAnimated=function(ue){return arguments.length?(nt=ue,this):nt},Dt.loadingState=function(ue){return arguments.length?(m=ue,this):m},Dt.margin=function(ue){return arguments.length?(f=k({},f,ue),this):f},Dt.numberFormat=function(ue){return arguments.length?(dt=ue,this):dt},Dt.on=function(){var ue=xt.on.apply(xt,arguments);return ue===xt?Dt:ue},Dt.orderingFunction=function(ue){return arguments.length?(_t=ue,this):_t},Dt.percentageFormat=function(ue){return arguments.length?(et=ue,this):et},Dt.radiusHoverOffset=function(ue){return arguments.length?(b=ue,this):b},Dt.width=function(ue){return arguments.length?(C=ue,this):C},Dt}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(W){for(var G=1;G0&&S.select("g.legend-container-group").attr("transform","translate("+tt+",0)")):function(){S.select(".legend-group").selectAll("g").remove(),(u=S.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",b).attr("transform",function(st,_t){return"translate("+(p+ot())+","+(_t+1)*(L/(c.length+1))+")"}).merge(u).append("circle").classed("legend-circle",!0).attr("cx",p/2).attr("cy",-5).attr("r",p/2).style("fill",v).style("stroke-width",1),S.select(".legend-group").selectAll("g.legend-line").selectAll("g.legend-entry").append("text").classed("legend-entry-name",!0).text(R).attr("x",ot()).style("font-size","12px").style("letter-spacing","0.5px"),x?S.select(".legend-group").selectAll("g.legend-line").selectAll("g.legend-entry").append("text").classed("legend-entry-value",!0).text(y).attr("x",D-40).style("font-size","12px").style("letter-spacing","0.8px").style("text-anchor","end").style("startOffset","100%"):function(){var st=S.select("g.legend-container-group").node().getBoundingClientRect().width,_t=O-st,yt=_t/2-st/2;_t>0&&S.select("g.legend-container-group").attr("transform","translate("+yt+",0)")}(),S.select(".legend-group").selectAll("g.legend-line").exit().transition().style("opacity",0).remove()}(),C&&(nt(),it(C))})}function nt(){S.select(".legend-group").selectAll("g.legend-entry").classed("is-faded",!1)}function it(K){var ft=S.select('[data-item="'+K+'"]');ft.nodes().length&&(S.select(".legend-group").selectAll("g.legend-entry").classed("is-faded",!0),ft.classed("is-faded",!1))}function ot(){return o*p}return I.clearHighlight=function(){nt()},I.colorSchema=function(K){return arguments.length?(g=K,this):g},I.height=function(K){return arguments.length?(E=K,this):E},I.highlight=function(K){nt(),it(K)},I.highlightEntryById=function(K){return arguments.length?(C=K,this):C},I.isHorizontal=function(K){return arguments.length?(f=K,this):f},I.margin=function(K){return arguments.length?(A=k({},A,K),this):A},I.marginRatio=function(K){return arguments.length?(o=K,this):o},I.markerSize=function(K){return arguments.length?(p=K,this):p},I.numberFormat=function(K){return arguments.length?(T=K,this):T},I.unit=function(K){return arguments.length?(_=K,this):_},I.width=function(K){return arguments.length?(O=K,this):O},I}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=function(Q,U){if(Array.isArray(Q))return Q;if(Symbol.iterator in Object(Q))return function(Y,z){var A=[],O=!0,E=!1,p=void 0;try{for(var o,T=Y[Symbol.iterator]();!(O=(o=T.next()).done)&&(A.push(o.value),!z||A.length!==z);O=!0);}catch(_){E=!0,p=_}finally{try{!O&&T.return&&T.return()}finally{if(E)throw p}}return A}(Q,U);throw new TypeError("Invalid attempt to destructure non-iterable instance")},W=Object.assign||function(Q){for(var U=1;U=0||Object.prototype.hasOwnProperty.call(oi,Hi)&&(wr[Hi]=oi[Hi]);return wr}(lr,["dates"]),ci=Nn.map(function(oi){return{date:new Date(oi[en]),value:+oi[wn]}});return Lr.push(W({dates:ci},Or)),Lr},[]),dataByDate:mr,dataRange:er}}(vn);Xe=tn.dataByTopic,rn=tn.dataByDate,an=tn.dataRange;var dn,gn,mn,Jn=Wt?300:0;pt=it-nt.left-nt.right-Jn,et=ot-nt.top-nt.bottom,function(){var sr=U.min(Xe,function(lr){var Nn=lr.dates;return U.min(Nn,ge)}),pr=U.max(Xe,function(lr){var Nn=lr.dates;return U.max(Nn,ge)}),mr=U.max(Xe,function(lr){var Nn=lr.dates;return U.max(Nn,je)}),er=U.min(Xe,function(lr){var Nn=lr.dates;return U.min(Nn,je)}),Nr=er<0?er:0;dt=p.scaleTime().domain([sr,pr]).rangeRound([0,pt]),V=p.scaleLinear().domain([Nr,Math.abs(mr)]).rangeRound([et,0]).nice();var Lr=(tt=p.scaleOrdinal().range(yt).domain(Xe.map(We))).range();Mt=tt.domain().reduce(function(lr,Nn,Or){return lr[Nn]=Lr[Or],lr},{})}(),function(sr){H||(H=T.select(sr).append("svg").classed("britechart line-chart",!0),function(){var pr=H.append("g").classed("container-group",!0).attr("transform","translate("+nt.left+","+nt.top+")");pr.append("g").classed("x-axis-group",!0).append("g").classed("axis x",!0),pr.selectAll(".x-axis-group").append("g").classed("month-axis",!0),pr.append("g").classed("y-axis-group",!0).append("g").classed("axis y",!0),pr.append("g").classed("grid-lines-group",!0),pr.append("g").classed("chart-group",!0),Wt&&pr.append("g").classed("legend-group",!0),pr.append("g").classed("metadata-group",!0)}()),H.attr("width",it).attr("height",ot)}(this),function(){var sr=void 0,pr=void 0;if(jt==="custom"&&typeof Pt=="string")sr={tick:Nt,format:_.timeFormat(Pt)},pr=null;else{var mr=g(rn,it,jt,Tt);sr=mr.minor,pr=mr.major,Z=Y.axisBottom(dt).ticks(pr.tick).tickSize(0,0).tickFormat(pr.format)}J=Y.axisBottom(dt).ticks(sr.tick).tickSize(10,0).tickPadding(5).tickFormat(sr.format),st=Y.axisLeft(V).ticks(Ht).tickSize([0]).tickPadding(5).tickFormat(Ae),function(er,Nr){H.select(".grid-lines-group").selectAll("line").remove(),($e==="horizontal"||$e==="full")&&H.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(V.ticks(Nr)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-_t-30).attr("x2",pt).attr("y1",function(Lr){return V(Lr)}).attr("y2",function(Lr){return V(Lr)}),$e!=="vertical"&&$e!=="full"||H.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(dt.ticks(er)).enter().append("line").attr("class","vertical-grid-line").attr("y1",0).attr("y2",et).attr("x1",function(Lr){return dt(Lr)}).attr("x2",function(Lr){return dt(Lr)}),H.select(".grid-lines-group").selectAll("line.extended-x-line").data([0]).enter().append("line").attr("class","extended-x-line").attr("x1",-_t-30).attr("x2",pt).attr("y1",ot-nt.bottom-nt.top).attr("y2",ot-nt.bottom-nt.top)}(sr.tick,Ht)}(),function(){if(H.select(".x-axis-group .axis.x").attr("transform","translate(0, "+et+")").call(J),jt!=="custom"&&H.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(et+28)+")").call(Z),le){ie&&H.selectAll(".x-axis-label").remove();var sr=pt/2,pr=et+28+36;ie=H.select(".x-axis-group").append("text").attr("x",sr).attr("y",pr).attr("text-anchor","middle").attr("class","x-axis-label").text(le)}if(H.select(".y-axis-group .axis.y").attr("transform","translate("+-_t+", 0)").call(st).call(Be),ne){Lt&&H.selectAll(".y-axis-label").remove();var mr=-Bt-_t,er=-et/2;Lt=H.select(".y-axis-group").append("text").attr("x",er).attr("y",mr).attr("text-anchor","middle").attr("transform","rotate(270)").attr("class","y-axis-label").text(ne)}}(),function(){if(an){var sr=o.area().curve(y[Ne]).x(function(pr){var mr=pr.date;return dt(mr)}).y0(function(pr){var mr=pr.min;return V(mr)}).y1(function(pr){var mr=pr.max;return V(mr)});H.select(".chart-group").append("g").attr("class","area").append("path").data([an]).attr("class","area").attr("d",sr)}}(),dn=void 0,gn=void 0,gn=o.line().curve(y[Ne]).x(function(sr){var pr=sr.date;return dt(pr)}).y(function(sr){var pr=sr.value;return V(pr)}),dn=H.select(".chart-group").selectAll(".line").data(Xe,We),ct=dn.enter().append("g").attr("class","topic").append("path").attr("class","line").merge(dn).attr("id",function(sr){return sr.topic}).attr("d",function(sr){var pr=sr.dates;return gn(pr)}).style("stroke",function(sr){return pr=sr.topic,tt(pr);var pr}).style("opacity",function(sr){return sr.hasOwnProperty("show")?sr.show?1:0:1}).style("stroke-dasharray",function(sr){return!!sr.hasOwnProperty("show")&&!!sr.dashed&&[.5,4]}),dn.exit().remove(),function(){if(Wt){var sr=Number.parseInt(pt)+Number.parseInt(nt.right);Yn=H.selectAll(".legend-group").append("g").attr("transform","translate("+sr+", 0)").classed("tooltip-text",!0),Tn=Yn.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),Yn.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),pn=Yn.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");var pr=void 0;pr=Xe[0].hasOwnProperty("show")?Xe.filter(function(lr){return lr.show}):Xe;for(var mr=0;mrF&&(zt||(zt=H.select(".metadata-group").append("rect").attr("class","overlay").attr("y1",0).attr("y2",ot).attr("height",et).attr("width",pt).attr("fill","rgba(0, 0, 0, 0)").style("display","none")),ae||(ae=H.select(".metadata-group").append("g").attr("class","hover-marker vertical-marker-container").attr("transform","translate(9999, 0)"),we=ae.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)),H.on("mouseover",function(sr){(function(pr,mr){zt.style("display","block"),we.classed("bc-is-active",!0),me.call("customMouseOver",pr,mr,T.mouse(pr))})(this,sr)}).on("mouseout",function(sr){(function(pr,mr){zt.style("display","none"),we.classed("bc-is-active",!1),me.call("customMouseOut",pr,mr,T.mouse(pr))})(this,sr)}).on("mousemove",function(sr){var pr,mr,er,Nr,Lr,lr,Nn,Or;pr=this,mr=T.mouse(pr),er=k(mr,2),Nr=er[0],Lr=er[1],lr=-nt.left,Nn=_n(Nr+lr),Or=void 0,Nn&&(yn(Or=dt(new Date(Nn.date))),Je(Nn),me.call("customMouseMove",pr,Nn,Mt,Or,Lr))})),gt&&function(){H.select(".chart-group").selectAll(".data-points-container").remove();var sr=ct.nodes().reduce(function(pr,mr){return pr[mr.id]=mr,pr},{});rn.reduce(function(pr,mr){var er=mr.topics.map(function(Nr){return{topic:Nr,node:sr[Nr.name]}});return pr=[].concat(G(pr),G(er))},[])}(),H.on("touchmove",function(sr){(function(pr,mr){me.call("customTouchMove",pr,mr,T.touch(pr))})(this,sr)}),$t&&(mn=_n(pt))&&(yn(dt(new Date(mn.date))),Je(mn))})}function Be(Ce){Ce.selectAll(".tick text").attr("transform","translate(0, -7)")}function Ae(Ce){var vn=void 0;return vn=I(Ce)?c:S,pe&&(vn=E.format(pe)),vn(Ce)}function Pe(Ce){return new Date(Ce).toLocaleDateString()}function Ze(Ce){var vn,tn,dn=void 0,gn=void 0;vn=Ce.topicName,tn=Ce.sum.toLocaleString(),gn=pn.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",tr).style("fill","#000000").style("font-size","12px").text(vn).call(_e,200,12,-25),dn=pn.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",tr).style("fill","#000000").style("font-size","12px").text(tn),Er=gn.node().getBBox().height?gn.node().getBBox().height:Er,Er+5,xn=dn.node().getBBox().width?dn.node().getBBox().width:xn,dn.attr("x",300-xn-75),pn.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",tr+8).attr("r",5).style("fill",Mt[Ce.topic]).style("stroke-width",1),tr+=Er+7}function _n(Ce){var vn,tn,dn,gn=dt.invert(Ce),mn=(0,U.bisector(ge).left)(rn,gn,1),Jn=rn[mn],sr=rn[mn-1],pr=void 0;return sr&&Jn?(vn=gn,tn=Jn,dn=sr,pr=new Date(vn).getTime()-new Date(tn.date).getTime()>new Date(dn.date).getTime()-new Date(vn).getTime()?tn:dn):pr=Jn,pr}function _e(Ce,vn,tn){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Ce.each(function(){var gn,mn,Jn,sr,pr,mr,er;for(gn=(Ce=T.select(this)).text().split(/\s+/).reverse(),Jn=[],sr=0,pr=Ce.attr("y"),mr=parseFloat(Ce.attr("dy")),er=Ce.text(null).append("tspan").attr("x",dn).attr("y",pr).attr("dy",mr+"em");mn=gn.pop();)Jn.push(mn),er.text(Jn.join(" ")),f.getTextWidth(Jn.join(" "),tn,"Karla, sans-serif")>vn&&(Jn.pop(),er.text(Jn.join(" ")),sr<4&&(Jn=[mn],er=Ce.append("tspan").attr("x",dn).attr("y",pr).attr("dy",1.2*++sr+mr+"em").text(mn)))})}function Je(Ce){ae.selectAll(".circle-container").remove();var vn=ct.nodes().reduce(function(gn,mn){return gn[mn.id]=mn,gn},{}),tn=Xe.filter(function(gn){return!gn.show}).map(function(gn){return gn.topicName}),dn=Ce.topics.map(function(gn){return{topic:gn,node:vn[gn.name]}}).filter(function(gn){return!!gn.topic}).sort(function(gn,mn){return Mt[gn.topic.name]ci.x+Lr;){var qr=(Nn+Or)/2;if(ci=er.getPointAtLength(qr),mr0?"+":"")+E.format(ct)(je)+"%"},le=function(ge){var je=ge.parentCount,We=ge.value;return je?D(je)+H:D(We)+H},ie=function(ge){var je=ge.name;return L(je)+et*(3/8)};function ne(ge){ge.each(function(je){var We=x.left+x.right;l=g>600?g-We-1.2*yt-100:g-We,u=b-x.top-x.bottom;var me=function(Oe){var Be=Oe.reduce(function(Pe,Ze){return Ze.name=String(Ze[Ne]),Ze.pctOfSet=+Ze.pctOfSet,Ze.pctChange=+Ze[Xe],Ze.value=+Ze[se],Ze.width=+Ze.width,[].concat(W(Pe),[Ze])},[]),Ae=Be.slice();return{data:Be,dataZeroed:Ae}}(je);y=me.data,v=me.dataZeroed,function(){Ht=function(Ae,Pe){var Ze=Ae.length,_n=Q.sum(Ae,Pe),_e=ae(Ae),Je=(u-(Ze-1)*tt*u/Ze-2*Z*u/Ze)/_n;if(_e.length===0)return Je;var yn=p.scalePow().exponent(1/_e.length).domain([0,100]).range([0,10*_e.length])(Ze);return Je-(rn?2*yn:yn)}(y,Lt),zt=function(Ae,Pe,Ze){var _n=Bt(Ae,Pe,Ze),_e=Ae.length,Je=function(yn,Ce){var vn=[];return yn.forEach(function(tn){var dn=Ce.map(function(gn,mn){return gn.name===tn||gn.parent===tn?mn:null}).filter(function(gn){return gn});vn.push(dn)}),vn}(ae(Ae),Ae);return function(yn,Ce){var vn=tt*u/_e,tn=Z*u/_e+Q.sum(Ae.slice(0,Ce),Pe)*Ze+Ce*vn+_n(Ce)/2;return Je.forEach(function(dn){dn[0]>1&&Ce>=dn[0]&&(tn+=rn?20:J),Ce>dn[dn.length-1]&&(tn+=rn?20:J)}),tn+x.top}}(y,Lt,Ht),Bt(y,Lt,Ht);var Oe=Math.min(ot*U.max(y,wn));D=p.scaleLinear().domain([0,Oe]).rangeRound([0,l]);var Be=y.map(zt);L=p.scaleOrdinal().domain(y.map(en)).range(Be),S=y.map(function(Ae){return Ae}).map(function(Ae,Pe){return{name:Ae.name,color:c[Pe%c.length]}}),I=function(Ae){return S.filter(function(Pe){return Pe.name===Ae})[0].color}}(),st=z.axisBottom(D).ticks(it,K).tickSizeInner([-u]),_t=z.axisLeft(L),function(Oe){m=Oe,xt||((xt=o.select(Oe).append("svg").classed("britechart row-chart",!0)).append("rect").classed("export-wrapper",!0).attr("width",g).attr("height",b).attr("fill","white"),function(){var Be=xt.append("g").classed("container-group",!0).attr("transform","translate("+(x.left+yt)+", "+x.top+")");Be.append("g").classed("chart-group",!0),Be.append("g").classed("title-group",!0),Be.append("g").classed("x-axis-group axis",!0),Be.append("g").attr("transform","translate("+-1*yt+", 0)").classed("y-axis-group axis",!0),Be.append("g").classed("metadata-group",!0)}()),xt.attr("width",g).attr("height",b)}(this),function(){if(!(!y||!y[0])){var Oe=y[0].parentCount?D(y[0].parentCount):1;Oe=Oe>0?Oe:1;var Be=y[0].parentCount;xt.select(".title-group").selectAll("g").remove(),xt.select(".title-group").selectAll("text").remove();var Ae=window.navigator.userAgent,Pe=Ae.indexOf("Edge")>-1||Ae.indexOf("MSIE")>-1;if(gt&&Be){for(var Ze=gt+" "+Be.toLocaleString(),_n=T.getTextWidth(Ze,dt,"sans-serif"),_e=rn?100:40,Je=x.left+Oe-_e-0,yn=!1;_n>Je;)gt=gt.slice(0,-1),yn=!0,Ze=gt+"... "+Be.toLocaleString(),_n=T.getTextWidth(Ze,dt,"sans-serif");var Ce=xt.select(".title-group").append("text").text(null).attr("y",10);gt=yn?gt+"...":gt;var vn=Ce.append("tspan").text(gt).attr("font-size",dt);Ce.append("tspan").text(Be.toLocaleString()).classed("count",!0).attr("dx",5).attr("font-size",dt).attr("font-weight",600);var tn=vn.node().getBoundingClientRect().width+10;rn&&Pe&&(tn+=40);var dn=Oe-tn-5;Ce.attr("x",dn)}if(Wt){var gn=Wt.toLocaleString(),mn=Ot+" "+gn,Jn=T.getTextWidth(mn,dt,"Karla, sans-serif"),sr=rn&&Pe?10:0,pr=Pe?5:0,mr=xt.select(".title-group").append("text").text(null).attr("x",l-Jn-sr-10-pr-5).attr("y",10);mr.append("tspan").text(Ot).attr("font-size",dt),mr.append("tspan").text(gn).classed("count",!0).attr("dx",5).attr("font-size",dt).attr("font-weight",600);var er=g>600?l-mr.node().getBoundingClientRect().width-10-sr:l-mr.node().getBoundingClientRect().width-10;mr.attr("x",er)}$t&&g>600&&xt.select(".title-group").append("text").text("Change in past "+$t).attr("font-size",dt).attr("x",l+5).attr("y",10)}}(),function(){var Oe=void 0;Dt?(Yn(Oe=xt.select(".chart-group").selectAll(".row").data(v)),y&&y[0]&&y[0].parentCount&&xt.select(".chart-group").append("line").classed("focus-separator",!0).attr("y1",-10).attr("x1",D(y[0].parentCount)).attr("y2",u+x.top+x.bottom).attr("x2",D(y[0].parentCount)).style("stroke","#e7e8e9").style("stroke-width",1),xt.select(".chart-group").append("line").classed("pct-separator",!0).attr("y1",-10).attr("x1",l).attr("y2",u).attr("x2",l).style("stroke","#000").style("stroke-width",1),function(Be){Be.attr("x",0).attr("y",function(Ae,Pe){return L(Ae.name)-Ht*Ae.width/2}).attr("height",function(Ae){return Ht*Ae.width}).attr("fill",function(Ae){return I(Ae.name)}).attr("width",0).transition().duration(800).ease(jt).attr("width",function(Ae){var Pe=Ae.value;return D(Pe)})}(Oe=xt.select(".chart-group").selectAll(".row rect.pct").data(y))):Yn(Oe=xt.select(".chart-group").selectAll("rect").data(y)),Oe.exit().transition().style("opacity",0).remove()}(),function(){var Oe=x.left;xt.select(".x-axis-group.axis").attr("transform","translate(0, "+u+")").call(st),xt.select(".y-axis-group.axis").call(_t),rn||(xt.selectAll(".y-axis-group.axis .tick").call(fn),Oe=x.left-yt-30),xt.selectAll(".y-axis-group.axis .tick text").classed("child",function(Be){return y.find(function(Ae){return Ae.name===Be}).parent}).classed("print-mode",rn).on("mouseover",pn).on("mouseout",Tn).call($e,Oe).selectAll("tspan").attr("font-size",pe),xt.selectAll(".y-axis-group.axis .tick text").classed("hidden",function(Be){return y.find(function(Ae){return Ae.name===Be}).splitterText}),rn||xt.selectAll(".y-axis-group.axis .tick").classed("expandable",function(Be){return function(Ae,Pe){return Ae.find(function(Ze){return Ze.name===Pe}).hasChildren}(y,Be)}).call(xn)}(),function(){var Oe=xt.selectAll(".row-wrapper"),Be=Number(Oe.size())-1,Ae=xt.select(".row_"+Be).select(".bg-hover");if(Ae._groups[0]&&Ae._groups[0][0]){var Pe=Number(Ae.attr("y"))+Number(Ae.attr("height"))+40;xt.select("line.pct-separator").attr("y2",Pe),xt.select(".export-wrapper").attr("height",Pe),xt.attr("height",Pe)}}()})}function Lt(ge){return+ge.width}function Bt(ge,je,We){return function(me){return je(ge[me])*We}}var Ht=void 0,zt=void 0;function ae(ge){return[].concat(W(new Set(ge.filter(function(je){return je.parent&&je.isParent===!1}).map(function(je){return je.parent}))))}function we(ge){return y.find(function(je){return(je.name===ge.name||je.name===ge)&&je.isParent})}function pe(ge){return we(ge)?et+"px":dt+"px"}function $e(ge,je){if(ue){var We=Mt>1?.8:1.2;T.wrapTextWithEllipses(ge,je,0,Mt,We)}}function fn(ge){ge.each(function(){var je=(ge=o.select(this)).node().getBBox().height/2,We=ge.append("svg").attr("class",function(me){var Oe;return(Oe=me,y.find(function(Be){return Be.name===Oe})).splitterText?"hidden":"visibility visibility-"+tr(me)}).attr("x",30-x.left).attr("y",-je).attr("width","300").attr("height","300").attr("viewBox","0 0 600 600").attr("fill","none").attr("opacity",0);We.append("rect").attr("x",-10).attr("y",-10).attr("height","50").attr("width","50").attr("fill","#d6e8fa").on("mouseover",pn).on("mouseout",Tn),We.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(ge){ge.each(function(){o.select(this).selectAll("polygon").remove(),(ge=o.select(this)).append("polygon").attr("transform",function(je){return y.find(function(We){return We.parent===je})?"translate("+(yt-5)+", 2.5) rotate(180)":"translate("+(yt-15)+", -2.5)"}).attr("points",function(je){return"0,0 10,0 5,5"}).style("fill",function(je){return"#0072ce"}).style("fill-opacity",function(je){return y.find(function(We){return We.name===je&&We.hasChildren})?1:0})})}function Yn(ge){var je=ge.enter().append("g").attr("class",function(Pe,Ze){return"row_"+Ze+" row-wrapper"}),We=je.filter(function(Pe){return Pe.splitterText});je.append("rect").attr("class","bg").on("click",function(Pe){Er(this,Pe,l,u)}).attr("x",0).attr("y",function(Pe,Ze){return L(Pe.name)-Ht*Pe.width/2}).attr("height",function(Pe){return Ht*Pe.width}).attr("width",l).attr("fill",function(Pe){return Pe.splitterText?"#fff":Nt}),je.append("rect").attr("class","bg-hover").attr("x",-x.left).attr("y",function(Pe,Ze){return L(Pe.name)-Ht*Pe.width/2}).attr("width",g).attr("height",function(Pe){return Ht*Pe.width}).on("mouseover",pn).on("mouseout",Tn).attr("fill-opacity",0).attr("fill",function(Pe){return Pe.splitterText?"#fff":"#d6e8fa"}),je.append("rect").attr("class","focus-bar").attr("x",0).attr("y",function(Pe,Ze){return L(Pe.name)-Ht*Pe.width/2}).attr("height",function(Pe){return Ht*Pe.width}).attr("width",function(Pe){var Ze=Pe.parentCount;return Ze?D(Ze):0}).attr("fill","#e7e8e9").attr("fill-opacity",function(Pe){return Pe.parent?.5:1}),je.append("rect").attr("class","pct").on("mouseover",function(Pe,Ze,_n){(function(_e,Je,yn,Ce,vn){if(!Je.splitterText){an.call("customMouseOver",_e,Je,o.mouse(_e),[Ce,vn]),pn(Je),tn=o.select(_e),tn.attr("fill",function(dn){var gn=dn.name;return gn?A.color(I(gn)).darker():""});var tn}})(this,Pe,0,l,u)}).on("mousemove",function(Pe){(function(Ze,_n,_e,Je){_n.splitterText||an.call("customMouseMove",Ze,_n,o.mouse(Ze),[_e,Je])})(this,Pe,l,u)}).on("mouseout",function(Pe,Ze,_n){(function(_e,Je,yn,Ce,vn){Je.splitterText||(an.call("customMouseOut",_e,Je,o.mouse(_e),[Ce,vn]),Tn(Je),yn.forEach(function(tn){o.select(tn).attr("fill",function(dn){var gn=dn.name;return gn?I(gn):""})}))})(this,Pe,_n,l,u)}).on("click",function(Pe){Er(this,Pe,l,u)}).attr("x",0).attr("y",function(Pe,Ze){return L(Pe.name)-Ht*Pe.width/2}).attr("height",function(Pe){return Ht*Pe.width}).attr("width",function(Pe){var Ze=Pe.value;return D(Ze)}).attr("fill",function(Pe){return I(Pe.name)}).attr("fill-opacity",function(Pe){return Pe.parent?.5:1});var me=o.select(".chart-group .bg");if(ft&&me.node()){var Oe=me.node().getBBox().x||me.node().getBoundingClientRect().width;je.append("text").attr("class","percentage-label").classed("child",function(Pe){return!we(Pe)}).attr("x",le).attr("y",ie).text(function(Pe){return function(Ze,_n){var _e=Ze.isNotFilter,Je=Ze.pctOfSet,yn=Ze.parent,Ce=Ze.value,vn=Ze.isParent;if(!Ze.splitterText){var tn="";if(_e)return"";Je&&!yn&&g>600&&(tn=" | "+Je+"%"),Number(Ce)===1&&(pt=pt.replace(/s$/,""));var dn=E.format(ct)(Ce)+" "+pt+tn,gn=vn?et:dt,mn=T.getTextWidth(dn,gn,"sans-serif")+10,Jn=D(Ce);return mn>Jn&&mn>_n-Jn?E.format(ct)(Ce):dn}}(Pe,Oe)}).attr("font-size",pe).attr("fill",function(Pe,Ze){var _n=D(Pe.value),_e=je.selectAll("text")._groups[Ze][0].getComputedTextLength()+10;return Oe>0&&Oe-_n<_e?"#FFF":"#000"}).attr("transform",function(Pe,Ze){var _n=Pe.parentCount?D(Pe.parentCount):D(Pe.value),_e=je.selectAll("text")._groups[Ze][0].getComputedTextLength()+10;if(Oe>0&&Oe-_n<_e)return"translate(-"+_e+", 0)"}).on("mouseover",pn).on("mouseout",Tn);var Be=We.append("g").attr("class","view-more-group");Be.append("rect").attr("class","view-more-background").attr("x",-x.left).attr("y",function(Pe){return L(Pe.name)-Ht*Pe.width/2}).attr("height",function(Pe){return Ht*Pe.width}).on("mouseover",pn).on("mouseout",Tn).attr("width",l+x.left).attr("fill","none"),Be.append("text").attr("class","view-more-label").attr("x",l-10).attr("y",ie).text(function(Pe){return Pe.splitterText}).attr("font-size",pe)}if(F&&ft&&g>600){var Ae=je.append("g").attr("transform","translate("+(l+10)+", 0)").attr("class","change-label-group");Ae.append("text").attr("y",ie).attr("font-size",pe).attr("font-weight","600").style("fill",function(Pe){return Pe.pctChange===0||isNaN(Pe.pctChange)?"#919395":Pe.pctChange>0?Tt:Pt}).text(cn),Ae.append("polygon").attr("transform",function(Pe){var Ze=ie(Pe);return we(Pe)?Pe.pctChange<0?"translate(65, "+(Ze+5)+") rotate(180) scale(1.5)":"translate(50, "+(Ze-15)+") scale(1.5)":Pe.pctChange<0?"translate(50, "+(Ze+5)+") rotate(180)":"translate(40, "+(Ze-10)+")"}).attr("points",function(Pe){return"2,8 2,13 8,13 8,8 10,8 5,0 0,8"}).style("fill",function(Pe){return Pe.pctChange>0?Tt:Pt}).attr("class",function(Pe){return Pe.pctChange<0?"down":"up"}).attr("fill-opacity",function(Pe){var Ze=Pe.pctChange;return isNaN(Ze)||Ze===0?0:1})}}function pn(ge,je){if(!ge.splitterText){var We=je;typeof ge.name!="string"&&typeof ge!="string"||(We=ge.name?tr(ge.name):tr(ge)),o.select(m).select(".tick svg.visibility-"+We).attr("opacity",1),o.select(m).select("g.row_"+We+" .bg-hover").attr("fill-opacity",1)}}function Tn(ge,je){if(!ge.splitterText){var We=je;typeof ge.name!="string"&&typeof ge!="string"||(We=ge.name?tr(ge.name):tr(ge)),o.select(m).select(".tick svg.visibility-"+We).attr("opacity",0),o.select(m).select("g.row_"+We+" .bg-hover").attr("fill-opacity",0)}}function tr(ge){return y.findIndex(function(je){return je.name===ge})}function Er(ge,je,We,me){an.call("customClick",ge,je,o.mouse(ge),[We,me])}return ne.backgroundColor=function(ge){return arguments.length?(Nt=ge,this):Nt},ne.upArrowColor=function(ge){return arguments.length?(Tt=ge,this):Tt},ne.downArrowColor=function(ge){return arguments.length?(Pt=ge,this):Pt},ne.colorSchema=function(ge){return arguments.length?(c=ge,this):c},ne.enableLabels=function(ge){return arguments.length?(ft=ge,this):ft},ne.enableYAxisRight=function(ge){return arguments.length?(F=ge,this):F},ne.exportChart=function(ge,je){_.call(ne,xt,ge,je)},ne.height=function(ge){return arguments.length?(b=ge,this):b},ne.isAnimated=function(ge){return arguments.length?(Dt=ge,this):Dt},ne.labelsMargin=function(ge){return arguments.length?(H=ge,this):H},ne.labelsNumberFormat=function(ge){return arguments.length?(ct=ge,this):ct},ne.labelsSuffix=function(ge){return arguments.length?(pt=ge,this):pt},ne.labelsSize=function(ge){return arguments.length?(et=ge,this):et},ne.labelsSizeChild=function(ge){return arguments.length?(dt=ge,this):dt},ne.pctChangeLabelSize=function(ge){return arguments.length?(V=ge,this):V},ne.loadingState=function(ge){return arguments.length?(R=ge,this):R},ne.margin=function(ge){return arguments.length?(x=k({},x,ge),this):x},ne.nameLabel=function(ge){return arguments.length?(Ne=ge,this):Ne},ne.numberFormat=function(ge){return arguments.length?(K=ge,this):K},ne.on=function(){var ge=an.on.apply(an,arguments);return ge===an?ne:ge},ne.percentageAxisToMaxRatio=function(ge){return arguments.length?(ot=ge,this):ot},ne.isPrintMode=function(ge){return arguments.length?(rn=ge,this):rn},ne.outerPadding=function(ge){return arguments.length?(Z=ge,this):Z},ne.padding=function(ge){return arguments.length?(tt=ge,this):tt},ne.paddingBetweenGroups=function(ge){return arguments.length?(J=ge,this):J},ne.pctChangeLabel=function(ge){return arguments.length?(Xe=ge,this):Xe},ne.yAxisLineWrapLimit=function(ge){return arguments.length?(Mt=ge,this):Mt},ne.labelsFocusTitle=function(ge){return arguments.length?(gt=ge,this):gt},ne.labelsTotalCount=function(ge){return arguments.length?(Wt=ge,this):Wt},ne.labelsTotalText=function(ge){return arguments.length?(Ot=ge,this):Ot},ne.labelsInterval=function(ge){return arguments.length?($t=ge,this):$t},ne.valueLabel=function(ge){return arguments.length?(se=ge,this):se},ne.width=function(ge){return arguments.length?(g=ge,this):g},ne.xTicks=function(ge){return arguments.length?(it=ge,this):it},ne.yAxisPaddingBetweenChart=function(ge){return arguments.length?(yt=ge,this):yt},ne.yTicks=function(ge){return arguments.length?(nt=ge,this):nt},ne.wrapLabels=function(ge){return arguments.length?(ue=ge,this):ue},ne}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j){bt.exports=B},function(bt,j,s){"use strict";var w,k=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},W=function(G,Q){if(Array.isArray(G))return G;if(Symbol.iterator in Object(G))return function(U,Y){var z=[],A=!0,O=!1,E=void 0;try{for(var p,o=U[Symbol.iterator]();!(A=(p=o.next()).done)&&(z.push(p.value),!Y||z.length!==Y);A=!0);}catch(T){O=!0,E=T}finally{try{!A&&o.return&&o.return()}finally{if(O)throw E}}return z}(G,Q);throw new TypeError("Invalid attempt to destructure non-iterable instance")};(w=function(G){var Q=s(11),U=s(9),Y=s(2),z=(s(8),s(28)),A=s(35).axisTimeCombinations,O=s(24),E=O.formatIntegerValue,p=O.formatDecimalValue,o=O.isInteger,T=s(26).getTextWidth;return function(){var _=2,f=2,C=2,x=2,m="Tooltip title",g=!0,b=void 0,R={y:-55,x:0},y=void 0,v=void 0,l=void 0,u=void 0,D=48,L=0,c=37,S=void 0,I=void 0,nt=Q.easeQuadInOut,it=void 0,ot="date",K="value",ft="name",F="topics",H=A.DAY_MONTH,ct=null,pt=null,et=[],dt=null,V=null,tt=z.timeFormat("%b %d, %Y"),J=z.timeFormat("%b %d, %I %p"),Z=void 0,st=void 0;function _t(Tt){Tt.each(function(gt){250-x-f,45-_-C,function(Ot){st||((st=Y.select(Ot).append("g").classed("britechart britechart-tooltip",!0).style("visibility","hidden")).append("g").classed("tooltip-container-group select-disable",!0).attr("transform","translate( "+x+", "+_+")").append("g").classed("tooltip-group",!0),y=st.selectAll(".tooltip-group").append("g").classed("tooltip-text",!0),b=y.append("rect").classed("tooltip-text-container",!0).attr("x",-54.5).attr("y",0).attr("width",250).attr("height",D).attr("rx",3).attr("ry",3).style("fill","#FFFFFF").style("stroke","#D2D6DF").style("stroke-width",1),u=y.append("text").classed("tooltip-title",!0).attr("x",-46.5).attr("dy",".35em").attr("y",16).style("fill","#6D717A"),v=y.append("line").classed("tooltip-divider",!0).attr("x1",-46.5).attr("x2",265).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),l=y.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35")),st.transition().attr("width",250).attr("height",45),_t.hide()}(this)})}function yt(Tt){var gt=Tt[K];return Tt.missingValue?"-":function(Ot){if(V!==null)return V(Ot);var Wt=p;return Ot?(dt!==null?Wt=U.format(dt):o(Ot)&&(Wt=E),Wt(Ot)):0}(gt).toString()}function Mt(Tt){var gt,Ot,Wt=Tt[ft],$t=void 0,se=void 0;gt=Tt.topicName||Wt,Ot=yt(Tt),se=l.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",L).attr("y",c).style("fill","#000000").text(gt).call(jt,170,-25),$t=l.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",L).attr("y",c).style("fill","#000000").text(Ot),S=se.node().getBBox().height?se.node().getBBox().height:S,D+=S+5,I=$t.node().getBBox().width?$t.node().getBBox().width:I,$t.attr("x",250-I-10-62.5),l.append("circle").classed("tooltip-circle",!0).attr("cx",-39.5).attr("cy",c+8).attr("r",5).style("fill",it[Wt]).style("stroke-width",1),c+=S+7}function xt(Tt,gt,Ot){var Wt,$t,se=(Wt=W([gt,Ot],2),$t=Wt[0],Wt[1],[$t-250<0?65:-205,R.y]),ue=W(se,2),Ne=ue[0],Xe=ue[1];b.attr("width",250).attr("height",D+10),y.transition().duration(100).ease(nt).attr("transform","translate("+Ne+", "+Xe+")"),v.attr("x2",190)}function Dt(Tt){var gt=m,Ot=function(Wt){var $t=ct||H,se=null,ue={month:"short",day:"numeric"};return $t===A.DAY_MONTH||$t===A.MONTH_YEAR?(se=tt,ue.year="numeric"):$t===A.HOUR_DAY||$t===A.MINUTE_HOUR?(se=J,ue.hour="numeric"):$t===A.CUSTOM&&typeof pt=="string"&&(se=z.timeFormat(pt)),Z&&typeof Intl!="undefined"&&(typeof Intl=="undefined"?"undefined":k(Intl))==="object"&&Intl.DateTimeFormat?Intl.DateTimeFormat(Z,ue).format(Wt):se(Wt)}(new Date(Tt[ot]));gt.length?g&&(gt=gt+" - "+Ot):gt=Ot,u.text(gt)}function jt(Tt,gt){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tt.each(function(){var Wt,$t,se,ue,Ne,Xe,rn;for(Wt=(Tt=Y.select(this)).text().split(/\s+/).reverse(),se=[],ue=0,Ne=Tt.attr("y"),Xe=parseFloat(Tt.attr("dy")),rn=Tt.text(null).append("tspan").attr("x",Ot).attr("y",Ne).attr("dy",Xe+"em");$t=Wt.pop();)se.push($t),rn.text(se.join(" ")),T(se.join(" "),16,"Karla, sans-serif")>gt&&(se.pop(),rn.text(se.join(" ")),ue<2&&(se=[$t],rn=Tt.append("tspan").attr("x",Ot).attr("y",Ne).attr("dy",1.2*++ue+Xe+"em").text($t)))})}function Nt(Tt){var gt=Tt[F];et.length?gt=function(Ot){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:et;return Wt.map(function($t){return Ot.filter(function(se){return se.name===$t})[0]})}(gt):gt.length&>[0].name&&(gt=function(Ot){return Ot.map(function(Wt){return Wt}).sort(function(Wt,$t){return Wt.name>$t.name?1:Wt.name===$t.name?0:-1})}(gt)),l.selectAll("text").remove(),l.selectAll("circle").remove(),Dt(Tt),D=48,c=37,L=0,gt.forEach(Mt)}function Pt(Tt,gt,Ot){Nt(Tt),xt(0,gt,Ot)}return _t.axisTimeCombinations=A,_t.dateFormat=function(Tt){return arguments.length?(ct=Tt,this):ct||H},_t.dateCustomFormat=function(Tt){return arguments.length?(pt=Tt,this):pt},_t.dateLabel=function(Tt){return arguments.length?(ot=Tt,this):ot},_t.hide=function(){return st.style("visibility","hidden"),this},_t.locale=function(Tt){return arguments.length?(Z=Tt,this):Z},_t.nameLabel=function(Tt){return arguments.length?(ft=Tt,this):ft},_t.numberFormat=function(Tt){return arguments.length?(dt=Tt,this):dt},_t.valueFormatter=function(Tt){return arguments.length?(V=Tt,this):V},_t.shouldShowDateInTitle=function(Tt){return arguments.length?(g=Tt,this):g},_t.show=function(){return st.style("visibility","visible"),this},_t.title=function(Tt){return arguments.length?(m=Tt,this):m},_t.tooltipOffset=function(Tt){return arguments.length?(R=Tt,this):R},_t.topicsOrder=function(Tt){return arguments.length?(et=Tt,this):et},_t.topicLabel=function(Tt){return arguments.length?(F=Tt,this):F},_t.update=function(Tt,gt,Ot){var Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return it=gt,Pt(Tt,Ot,Wt),this},_t.valueLabel=function(Tt){return arguments.length?(K=Tt,this):K},_t}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=function(W,G){if(Array.isArray(W))return W;if(Symbol.iterator in Object(W))return function(Q,U){var Y=[],z=!0,A=!1,O=void 0;try{for(var E,p=Q[Symbol.iterator]();!(z=(E=p.next()).done)&&(Y.push(E.value),!U||Y.length!==U);z=!0);}catch(o){A=!0,O=o}finally{try{!z&&p.return&&p.return()}finally{if(A)throw O}}return Y}(W,G);throw new TypeError("Invalid attempt to destructure non-iterable instance")};(w=function(W){var G=s(0),Q=s(11),U=s(9),Y=s(2);return s(8),function(){var z=12,A=12,O=12,E=12,p="",o="value",T="name",_=Q.easeQuadInOut,f=void 0,C=void 0,x=0,m=20,g=".2f",b=function(S){return U.format(g)(S)},R=void 0,y=void 0,v=void 0;function l(S){S.each(function(){R=100-E-A,y=100-z-O,function(I){v||(v=Y.select(I).append("g").classed("britechart britechart-mini-tooltip",!0)).append("g").classed("tooltip-container-group",!0).attr("transform","translate( "+E+", "+z+")").append("g").classed("tooltip-group",!0),v.transition().attr("width",100).attr("height",100),l.hide()}(this),C=v.selectAll(".tooltip-group").append("g").classed("tooltip-text select-disable",!0),f=C.append("rect").classed("tooltip-background",!0).attr("width",100).attr("height",100).attr("rx",1).attr("ry",1).attr("y",-z).attr("x",-E).style("fill","#43484e").style("stroke","#43484e").style("stroke-width",1).style("pointer-events","none").style("opacity",.9)})}function u(){for(var S=arguments.length,I=Array(S),nt=0;nt0}(ft,it)?it+m:it-R-m-A,function(H,ct){return H-z-O-y-ct>0}(F,ot)?ot+x:ot-y-x-O]}function L(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=S[o]||"",nt=S[T]||"",it=21,ot=22*1.18,K="1em",ft=0,F=void 0,H=void 0,ct=void 0;C.selectAll("text").remove(),p&&(ct=C.append("text").classed("mini-tooltip-title",!0).attr("dy",K).attr("y",0).style("fill","#43484e").style("font-size",14).text(p),ft=it+ft),nt&&(H=C.append("text").classed("mini-tooltip-name",!0).attr("dy",K).attr("y",ft||0).style("fill","#ffffff").style("font-size",14).text(nt),ft=it+ft),I&&(F=C.append("text").classed("mini-tooltip-value",!0).attr("dy",K).attr("y",ft||0).style("fill","#ffffff").style("font-size",22).style("font-weight",200).text(b(I)),ft=ot+ft),R=u(H,ct,F),y=ft}function c(S,I,nt){var it,ot,K,ft;L(S),it=D(I,nt),ot=k(it,2),K=ot[0],ft=ot[1],v.transition().duration(100).ease(_).attr("height",y+z+O).attr("width",R+E+A).attr("transform","translate("+K+","+ft+")"),f.attr("height",y+z+O).attr("width",R+E+A)}return l.hide=function(){return v.style("visibility","hidden"),this},l.nameLabel=function(S){return arguments.length?(T=S,this):T},l.numberFormat=function(S){return arguments.length?(g=S,this):g},l.valueFormatter=function(S){return arguments.length?(b=S,this):b},l.show=function(){var S;return L(S),v.style("visibility","visible"),this},l.title=function(S){return arguments.length?(p=S,this):p},l.update=function(S,I,nt){return c(S,I,nt),this},l.valueLabel=function(S){return arguments.length?(o=S,this):o},l}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(W){for(var G=1;GXt[fe]?-1:Xt[ce]===Xt[fe]?0:1}),Vt=Et.indexOf("Other");if(Vt>=0){var ee=Et.splice(Vt,1);Et=Et.concat(ee)}return Et}(mt);var Rt=o.stack().keys(Ot).order(o.stackOrderNone).offset(o.stackOffsetNone);en=Rt(tr),rn=Rt(Tn)}(),wr=Ae?Be.maxY:(Hi=ft(Yn.map(function(qe){return qe.name})),Y.max(Tn,function(qe){var mt=Hi.map(function(Rt){return qe[Rt]});return Y.sum(mt)})),et=p.scaleTime().domain(Y.extent(pn,function(qe){return qe.date})).rangeRound([0,fn]),tt=p.scaleLinear().domain([0,wr]).rangeRound([xn,0]).nice(),Tt=Ot.reduce(function(qe,mt,Rt){return f({},qe,Q({},mt,xt[Rt]))},{}),Zt=ft(Yn.map(function(qe){return qe.name})),ve={},Zt.forEach(function(qe){var mt=Yn.find(function(Rt){return Rt.name===qe});mt.hasOwnProperty("show")?ve[qe]=mt.show:ve[qe]=!0}),gt=ve,function(qe){$e||(($e=T.select(qe).append("svg").classed("britechart stacked-area",!0)).append("rect").classed("export-wrapper",!0).attr("width",H).attr("height",ct).attr("fill","white"),function(){var mt=$e.append("g").classed("container-group",!0).attr("transform","translate("+F.left+","+F.top+")");mt.append("g").classed("x-axis-group",!0).append("g").classed("x axis",!0),mt.selectAll(".x-axis-group").append("g").classed("month-axis",!0),mt.append("g").classed("y-axis-group axis",!0),mt.append("g").classed("grid-lines-group",!0),mt.append("g").classed("y-axis-label",!0),mt.append("g").classed("chart-group",!0),ae&&mt.append("g").classed("legend-group",!0),mt.append("g").classed("metadata-group",!0)}()),$e.attr("width",H).attr("height",ct)}(this),function(){var qe=void 0,mt=void 0;if($t==="custom"&&typeof ue=="string")qe={tick:se,format:_.timeFormat(ue)},mt=null;else{var Rt=g(pn,H,$t,Ne);qe=Rt.minor,mt=Rt.major,V=z.axisBottom(et).ticks(mt.tick).tickSize(0,0).tickFormat(mt.format)}dt=z.axisBottom(et).ticks(qe.tick).tickSize(10,0).tickPadding(5).tickFormat(qe.format),J=z.axisRight(tt).ticks(st).tickSize([0]).tickPadding(5).tickFormat(mn),function(Xt,Et){$e.select(".grid-lines-group").selectAll("line").remove(),(Er==="horizontal"||Er==="full")&&$e.select(".grid-lines-group").selectAll("line.horizontal-grid-line").data(tt.ticks(Et)).enter().append("line").attr("class","horizontal-grid-line").attr("x1",-je-30).attr("x2",fn).attr("y1",function(Vt){return tt(Vt)}).attr("y2",function(Vt){return tt(Vt)}),Er!=="vertical"&&Er!=="full"||$e.select(".grid-lines-group").selectAll("line.vertical-grid-line").data(et.ticks(Xt)).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",-je-30).attr("x2",fn).attr("y1",ct-F.bottom-F.top).attr("y2",ct-F.bottom-F.top)}(qe.tick,st)}(),function(){$e.select(".x-axis-group .axis.x").attr("transform","translate( 0, "+xn+" )").call(dt),$t!=="custom"&&$e.select(".x-axis-group .month-axis").attr("transform","translate(0, "+(xn+30)+")").call(V),$e.select(".y-axis-group.axis").attr("transform","translate( "+-je+", 0)").call(J).call(Jn),_t&&(yt&&$e.selectAll(".y-axis-label-text").remove(),yt=$e.select(".y-axis-label").append("text").classed("y-axis-label-text",!0).attr("x",-xn/2).attr("y",Mt).attr("text-anchor","middle").attr("transform","rotate(270 0 0)").text(_t))}(),function(){if(an&&($e.selectAll(".layer-container").remove(),$e.selectAll(".layer").remove(),$e.selectAll(".area-outline").remove()),Ae)return qe=o.line().x(function(Rt){return et(Rt.date)}).y(function(){return tt(0)-1}),(mt=$e.select(".chart-group")).append("path").attr("class","empty-data-line").attr("d",qe(Tn)).style("stroke","url(#empty-data-line-gradient)"),void mt.append("linearGradient").attr("id","empty-data-line-gradient").attr("gradientUnits","userSpaceOnUse").attr("x1",0).attr("x2",et(Yn[Yn.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,mt;wn=o.area().curve(y[Xe]).x(function(Rt){var Xt=Rt.data;return et(Xt.date)}).y0(function(Rt){return tt(Rt[0])}).y1(function(Rt){return tt(Rt[1])}),cn=o.line().curve(wn.curve()).x(function(Rt){var Xt=Rt.data;return et(Xt.date)}).y(function(Rt){return tt(Rt[1])}),zt?((an=$e.select(".chart-group").selectAll(".layer").data(en,Ce).enter().append("g").classed("layer-container",!0)).append("path").attr("class","layer").attr("d",wn).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0}).style("fill",function(Rt){var Xt=Rt.key;return Tt[Xt]}),an.append("path").attr("class","area-outline").attr("d",cn).style("stroke",function(Rt){var Xt=Rt.key;return Tt[Xt]}).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0}),$e.select(".chart-group").selectAll(".layer").data(rn).transition().delay(function(Rt,Xt){return le[Xt]}).duration(1e3).ease(we).attr("d",wn).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0}).style("fill",function(Rt){var Xt=Rt.key;return Tt[Xt]}),$e.select(".chart-group").selectAll(".area-outline").data(rn).transition().delay(function(Rt,Xt){return le[Xt]}).duration(1e3).ease(we).attr("d",cn).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0})):((an=$e.select(".chart-group").selectAll(".layer").data(rn).enter().append("g").classed("layer-container",!0)).append("path").attr("class","layer").attr("d",wn).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0}).style("fill",function(Rt){var Xt=Rt.key;return Tt[Xt]}),an.append("path").attr("class","area-outline").attr("d",cn).style("stroke",function(Rt){var Xt=Rt.key;return Tt[Xt]}).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0}),$e.select(".chart-group").selectAll(".layer").attr("d",wn).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0}).style("fill",function(Rt){var Xt=Rt.key;return Tt[Xt]}),$e.select(".chart-group").selectAll(".area-outline").attr("class","area-outline").attr("d",cn).style("stroke",function(Rt){var Xt=Rt.key;return Tt[Xt]}).style("opacity",function(Rt){var Xt=Rt.key;return gt[Xt]?Pt:0})),pe||$e.select(".chart-group").selectAll(".area-outline").style("display","none"),an.exit().transition().style("opacity",0).remove()}(),function(){if(ae){var qe=Number.parseInt(fn)+Number.parseInt(F.right);Ze=$e.selectAll(".legend-group").append("g").attr("transform","translate("+qe+", 0)").classed("tooltip-text",!0),_e=Ze.append("text").classed("tooltip-title",!0).attr("x",-43).attr("dy",".35em").attr("y",16).style("fill","#282C35").style("font-size","12px"),Ze.append("line").classed("tooltip-divider",!0).attr("x1",-43).attr("x2",225).attr("y1",31).attr("y2",31).style("stroke","#D2D6DF"),_n=Ze.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35");for(var mt=[].concat(G(new Set(Yn.map(function(Se){return Se.name})))),Rt=[],Xt=function(Se){var Ge={},Fe=mt[Se];Ge.name=Fe,Ge.sum=Yn.filter(function(Qe){return Qe.name===mt[Se]}).reduce(function(Qe,Sn){return Qe+Sn.value},0),Rt.push(Ge)},Et=0;Etge&&!Ae&&(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",fn).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(mt,Rt){ie.style("display","block"),Lt.classed("bc-is-active",!0),tn.call("customMouseOver",mt,Rt,T.mouse(mt))})(this,qe)}).on("mouseout",function(qe){(function(mt,Rt){ie.style("display","none"),Lt.classed("bc-is-active",!1),tn.call("customMouseOut",mt,Rt,T.mouse(mt))})(this,qe)}).on("mousemove",function(qe){(function(mt){Bt||Nr();var Rt=T.mouse(mt),Xt=W(Rt,2),Et=Xt[0],Vt=Xt[1],ee=er(Et-F.left),ce=void 0;ee&&(lr(ce=et(new Date(ee.key))),Lr(ee),tn.call("customMouseMove",mt,ee,Tt,ce,Vt))})(this)})),Ht&&function(){Bt||Nr();var qe=er(fn);qe&&(lr(et(new Date(qe.key))),Lr(qe))}()})}function gn(){$e.on("touchmove",function(Nn){(function(Or,ci){tn.call("customTouchMove",Or,ci,T.touch(Or))})(this,Nn)})}function mn(Nn){return(D(Nn)?l:u)(Nn)}function Jn(Nn){Nn.selectAll(".tick text").attr("transform","translate(-20, -8)")}function sr(Nn){return new Date(Nn).toLocaleDateString()}function pr(Nn){var Or,ci,oi=void 0,qr=void 0;Or=Nn.name,ci=Nn.sum.toLocaleString(),qr=_n.append("text").classed("tooltip-left-text",!0).attr("dy","1em").attr("x",-15).attr("y",Je).style("fill","#000000").style("font-size","12px").text(Or).call(mr,200,12,-25),oi=_n.append("text").classed("tooltip-right-text",!0).attr("dy","1em").attr("x",-15).attr("y",Je).style("fill","#000000").style("font-size","12px").text(ci),yn=qr.node().getBBox().height?qr.node().getBBox().height:yn,yn+5,Pe=oi.node().getBBox().width?oi.node().getBBox().width:Pe,oi.attr("x",300-Pe-75),_n.append("circle").classed("tooltip-circle",!0).attr("cx",-35).attr("cy",Je+8).attr("r",5).style("fill",Tt[Nn.name]).style("stroke-width",1),Je+=yn+7}function mr(Nn,Or,ci){var oi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Nn.each(function(){var qr,wr,Hi,Zt,ve,Ve,qe;for(qr=(Nn=T.select(this)).text().split(/\s+/).reverse(),Hi=[],Zt=0,ve=Nn.attr("y"),Ve=parseFloat(Nn.attr("dy")),qe=Nn.text(null).append("tspan").attr("x",oi).attr("y",ve).attr("dy",Ve+"em");wr=qr.pop();)Hi.push(wr),qe.text(Hi.join(" ")),C.getTextWidth(Hi.join(" "),ci,"Karla, sans-serif")>Or&&(Hi.pop(),qe.text(Hi.join(" ")),Zt<4&&(Hi=[wr],qe=Nn.append("tspan").attr("x",oi).attr("y",ve).attr("dy",1.2*++Zt+Ve+"em").text(wr)))})}function er(Nn){var Or=pn.filter(function(ci){var oi=ci.date;return Math.abs(et(oi)-Nn)<=Bt});if(Or.length)return Or[0]}function Nr(){var Nn=pn.map(function(Or){return Or.date});Bt=(et(Nn[1])-et(Nn[0]))/2}function Lr(Nn){var Or=Nn.values,ci=0;ne.selectAll(".circle-container").remove(),Or=Or.filter(function(qr){return!!qr});var oi=Ot.reduce(function(qr,wr){return[].concat(G(qr),[Or.find(function(Hi){return Hi.name===wr})])},[]);oi.forEach(function(qr,wr){var Hi=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",Tt[qr.name]).style("opacity",function(Zt){var ve=Zt.key;return gt[ve]?Pt:0}).style("cursor","pointer").on("click",function(){(function(Zt){jt||(jt=c($e.select(".metadata-group")),Nt=S(jt));var ve=T.select(Zt);ve.style("stroke-width",5).style("stroke-opacity",.6).attr("filter","url(#"+Nt+")"),I(ve,we,7)})(this),function(Zt,ve){tn.call("customDataEntryClick",Zt,ve,T.mouse(Zt))}(this,qr)}).on("mouseout",function(){var Zt;Zt=this,T.select(Zt).attr("filter","none")});ci+=oi[wr][me],Hi.attr("transform","translate( -12, "+tt(ci)+" )")})}function lr(Nn){ne.attr("transform","translate("+Nn+",0)")}return dn.areaCurve=function(Nn){return arguments.length?(Xe=Nn,this):Xe},dn.areaOpacity=function(Nn){return arguments.length?(Pt=Nn,this):Pt},dn.aspectRatio=function(Nn){return arguments.length?(Z=Nn,this):Z},dn.axisTimeCombinations=R,dn.colorSchema=function(Nn){return arguments.length?(xt=Nn,this):xt},dn.dateLabel=function(Nn){return arguments.length?(We=Nn,this):We},dn.emptyDataConfig=function(Nn){return arguments.length?(Be=Nn,this):Be},dn.grid=function(Nn){return arguments.length?(Er=Nn,this):Er},dn.hasOutline=function(Nn){return arguments.length?(pe=Nn,this):pe},dn.height=function(Nn){return arguments.length?(Z&&(H=Math.ceil(Nn/Z)),ct=Nn,this):ct},dn.initializeVerticalMarker=function(Nn){return arguments.length?(Ht=Nn,this):Ht},dn.isAnimated=function(Nn){return arguments.length?(zt=Nn,this):zt},dn.isPrintMode=function(Nn){return arguments.length?(ae=Nn,this):ae},dn.keyLabel=function(Nn){return arguments.length?(Oe=Nn,this):Oe},dn.margin=function(Nn){return arguments.length?(F=k({},F,Nn),this):F},dn.tooltipThreshold=function(Nn){return arguments.length?(ge=Nn,this):ge},dn.topicsOrder=function(Nn){return arguments.length?(Wt=Nn,this):Wt},dn.loadingState=function(Nn){return arguments.length?(pt=Nn,this):pt},dn.locale=function(Nn){return arguments.length?(Ne=Nn,this):Ne},dn.exportChart=function(Nn,Or){x.call(dn,$e,Nn,Or)},dn.on=function(){var Nn=tn.on.apply(tn,arguments);return Nn===tn?dn:Nn},dn.valueLabel=function(Nn){return arguments.length?(me=Nn,this):me},dn.width=function(Nn){return arguments.length?(Z&&(ct=Math.ceil(Nn*Z)),H=Nn,this):H},dn.xAxisCustomFormat=function(Nn){return arguments.length?(ue=Nn,this):ue},dn.xAxisFormat=function(Nn){return arguments.length?($t=Nn,this):$t},dn.xTicks=function(Nn){return arguments.length?(se=Nn,this):se},dn.yAxisLabel=function(Nn){return arguments.length?(_t=Nn,this):_t},dn.yAxisLabelOffset=function(Nn){return arguments.length?(Mt=Nn,this):Mt},dn.yTicks=function(Nn){return arguments.length?(st=Nn,this):st},dn}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(W){for(var G=1;G0&&arguments[0]!==void 0&&arguments[0],Lt=ne?1:0;_t.attr("opacity",Lt),yt.attr("opacity",Lt)}return wn.aspectRatio=function(ne){return arguments.length?(y=ne,this):y},wn.circleOpacity=function(ne){return arguments.length?(Dt=ne,this):Dt},wn.colorSchema=function(ne){return arguments.length?(Tt=ne,this):Tt},wn.exportChart=function(ne,Lt){o.call(wn,ue,ne,Lt)},wn.grid=function(ne){return arguments.length?(L=ne,this):L},wn.hasCrossHairs=function(ne){return arguments.length?(Ot=ne,this):Ot},wn.hasHollowCircles=function(ne){return arguments.length?(se=ne,this):se},wn.hasTrendline=function(ne){return arguments.length?(Wt=ne,this):Wt},wn.height=function(ne){return arguments.length?(y&&(b=Math.ceil(ne/y)),R=ne,this):R},wn.highlightTextLegendOffset=function(ne){return arguments.length?(Mt=ne,this):Mt},wn.isAnimated=function(ne){return arguments.length?(gt=ne,this):gt},wn.margin=function(ne){return arguments.length?(g=k({},g,ne),this):g},wn.maxCircleArea=function(ne){return arguments.length?(Pt=ne,this):Pt},wn.on=function(){var ne=rn.on.apply(rn,arguments);return ne===rn?wn:ne},wn.width=function(ne){return arguments.length?(y&&(R=Math.ceil(ne*y)),b=ne,this):b},wn.xAxisLabel=function(ne){return arguments.length?(et=ne,this):et},wn.xAxisLabelOffset=function(ne){return arguments.length?(V=ne,this):V},wn.xAxisFormat=function(ne){return arguments.length?(I=ne,this):I},wn.xTicks=function(ne){return arguments.length?(u=ne,this):u},wn.yAxisFormat=function(ne){return arguments.length?(ot=ne,this):ot},wn.yAxisLabel=function(ne){return arguments.length?(H=ne,this):H},wn.yAxisLabelOffset=function(ne){return arguments.length?(pt=ne,this):pt},wn.yTicks=function(ne){return arguments.length?(D=ne,this):D},wn}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(G){for(var Q=1;QJ&&H.on("mouseover",function(ie){(function(ne,Lt){se.call("customMouseOver",ne,Lt,o.mouse(ne))})(this,ie)}).on("mouseout",function(ie){(function(ne,Lt){H.select(".metadata-group").attr("transform","translate(9999, 0)"),se.call("customMouseOut",ne,Lt,o.mouse(ne))})(this,ie)}).on("mousemove",function(ie){var ne,Lt,Bt,Ht,zt,ae,we,pe,$e,fn;Lt=Xe(ne=this),Bt=W(Lt,2),Ht=Bt[0],zt=Bt[1],ae=F?an(zt):rn(Ht),we=void 0,pe=void 0,ae&&(F?(we=Ht-x.left,pe=l(ae.key)+l.bandwidth()/2):(we=R(ae.key)+y(ae[Pt]),pe=zt-x.bottom),$e=we,fn=pe,H.select(".metadata-group").attr("transform","translate("+$e+","+fn+")"),se.call("customMouseMove",ne,ae,ot,we,pe))}).on("click",function(ie){var ne,Lt,Bt,Ht,zt,ae;Lt=Xe(ne=this),Bt=W(Lt,2),Ht=Bt[0],zt=Bt[1],ae=F?an(zt):rn(Ht),se.call("customClick",ne,ae,o.mouse(ne))}),H.selectAll(".bar").on("mouseover",function(ie){(function(ne,Lt){o.select(ne).attr("fill",function(){return Y.color(ot[Lt.group]).darker()})})(this,ie)}).on("mouseout",function(ie){(function(ne,Lt){o.select(ne).attr("fill",function(){return ot[Lt.group]})})(this,ie)})}()})}function Ne(cn){cn.selectAll(".tick text").attr("transform","translate("+c.x+", "+c.y+")")}function Xe(cn){return o.mouse(cn)}function rn(cn){var le=cn-x.left,ie=y.bandwidth(),ne=[];return K.forEach(function(Lt){var Bt=Lt.values.find(function(Ht){return Math.abs(le>=R(Ht[jt])+y(Ht[Pt]))&&Math.abs(le-y(Ht[Pt])-R(Ht[jt])<=ie)});Bt&&(Bt.values=Lt.values,Bt.key=Bt.name,ne.push(Bt))}),ne.length?ne[0]:void 0}function an(cn){var le=cn-x.bottom,ie=l.bandwidth(),ne=[];return K.map(function(Lt){var Bt=Lt.values.find(function(Ht){return Math.abs(le>=l(Ht[jt]))&&Math.abs(le-l(Ht[jt])<=2*ie)});Bt&&(Bt.values=Lt.values,Bt.key=Bt.name,ne.push(Bt))}),ne.length?ne[0]:void 0}function en(cn){var le=o.select(this),ie=E.interpolateRound(0,R(Ot(cn))),ne=E.interpolateNumber(0,1);return function(Lt){le.attr("width",ie(Lt)).style("opacity",ne(Lt))}}function wn(cn){var le=o.select(this),ie=E.interpolateRound(0,pt-l(Ot(cn))),ne=E.interpolateRound(pt,l(Ot(cn))),Lt=E.interpolateNumber(0,1);return function(Bt){le.attr("y",ne(Bt)).attr("height",ie(Bt)).style("opacity",Lt(Bt))}}return ue.aspectRatio=function(cn){return arguments.length?(L=cn,this):L},ue.colorSchema=function(cn){return arguments.length?(nt=cn,this):nt},ue.exportChart=function(cn,le){_.call(ue,H,cn,le)},ue.groupLabel=function(cn){return arguments.length?(Pt=cn,this):Pt},ue.grid=function(cn){return arguments.length?(Dt=cn,this):Dt},ue.height=function(cn){return arguments.length?(L&&(m=Math.ceil(cn/L)),g=cn,this):g},ue.isHorizontal=function(cn){return arguments.length?(F=cn,this):F},ue.isAnimated=function(cn){return arguments.length?($t=cn,this):$t},ue.loadingState=function(cn){return arguments.length?(b=cn,this):b},ue.margin=function(cn){return arguments.length?(x=k({},x,cn),this):x},ue.nameLabel=function(cn){return arguments.length?(jt=cn,this):jt},ue.yTicks=function(cn){return arguments.length?(S=cn,this):S},ue.on=function(){var cn=se.on.apply(se,arguments);return cn===se?ue:cn},ue.tooltipThreshold=function(cn){return arguments.length?(J=cn,this):J},ue.valueLabel=function(cn){return arguments.length?(Nt=cn,this):Nt},ue.valueLabelFormat=function(cn){return arguments.length?(Tt=cn,this):Tt},ue.width=function(cn){return arguments.length?(L&&(g=Math.ceil(cn*L)),m=cn,this):m},ue.xTicks=function(cn){return arguments.length?(I=cn,this):I},ue.yAxisLabel=function(cn){return arguments.length?(_t=cn,this):_t},ue.yAxisLabelOffset=function(cn){return arguments.length?(Mt=cn,this):Mt},ue.yTickTextOffset=function(cn){return arguments.length?(c=cn,this):c},ue}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(Q){for(var U=1;Utt?mn-Jn-10:mn}).attr("y",function(gn){return S(en(gn))+16}).text(function(gn){return pe(rn(gn))+tn(an(gn))+"%"}),yn.enter().append("rect").classed("striped",!0).attr("x",1).attr("y",function(gn){return S(en(gn))}).attr("height",S.bandwidth()).attr("fill","url(#diagonalHatch)"));_n.enter().append("rect").classed("bg-hover",!0).on("click",function(gn){Yn(this,gn)}).attr("x",-R.left).attr("y",function(gn){return S(en(gn))}).attr("height",S.bandwidth()*st.length+4*st.length).attr("width",tt+R.left).attr("fill","#d6e8fa").attr("fill-opacity",0).on("mouseover",pn).on("mouseout",Tn),cn?(vn.style("opacity",.24).transition().delay(function(gn,mn){return gt[mn]}).duration(1e3).ease(pt).tween("attr.width",tr),dt&&Ce.style("opacity",.24).transition().delay(function(gn,mn){return gt[mn]}).duration(1e3).ease(pt).tween("attr.width",Er),dn.style("opacity",.24).transition().delay(function(gn,mn){return gt[mn]}).duration(1e3).ease(pt).tween("attr.width",tr)):(vn.attr("width",function(gn){return D(dt?wn(gn):an(gn))}),dt&&Ce.attr("width",function(gn){return D(Xe(gn))}),dn.attr("width",function(gn){return D(dt?wn(gn):an(gn))}))}(Be),Be.exit().transition().style("opacity",0).remove()}(),V.select(".x-axis-group .axis.x").attr("transform","translate( 0, "+J+" )").call(L),V.select(".y-axis-group.axis").attr("transform","translate( "+-Dt+", 0)").call(I),V.selectAll(".y-axis-group.axis .tick").call(ge),V.selectAll(".y-axis-group.axis .tick text").on("mouseover",pn).on("mouseout",Tn).call(ae,R.left-50).selectAll("tspan"),Nt&&(Pt&&V.selectAll(".y-axis-label-text").remove(),Pt=V.select(".y-axis-label").append("text").classed("y-axis-label-text",!0).attr("x",-J/2).attr("y",Tt).attr("text-anchor","middle").attr("transform","rotate(270 0 0)").text(Nt)),function(){if(le){var Be=Number.parseInt(tt)+Number.parseInt(R.right);ie=V.selectAll(".legend-group").append("g").attr("transform","translate("+Be+", -30)").classed("tooltip-text",!0),ne=ie.append("g").classed("tooltip-body",!0).style("transform","translateY(8px)").style("fill","#282C35"),[].concat(G(new Set(Z.map(function(Ae){return Ae.group})))).reverse().forEach(we)}}(),function(){v>xt&&V.on("mouseover",function(Be){(function(Ae,Pe){Ht.call("customMouseOver",Ae,Pe,_.mouse(Ae)),pn(Pe)})(this,Be)}).on("mouseout",function(Be){(function(Ae,Pe){V.select(".metadata-group").attr("transform","translate(9999, 0)"),Ht.call("customMouseOut",Ae,Pe,_.mouse(Ae))})(this,Be)}).on("mousemove",function(Be){var Ae,Pe,Ze,_n,_e,Je,yn,Ce,vn;Pe=fn(Ae=this),Ze=W(Pe,2),_n=Ze[0],_e=xn(Ze[1]),Je=void 0,yn=void 0,_e&&(Je=_n-R.left,yn=c(_e.key)+c.bandwidth()/2,Ce=Je,vn=yn,V.select(".metadata-group").attr("transform","translate("+Ce+","+vn+")"),Ht.call("customMouseMove",Ae,_e,H,Je,yn))}).on("click",function(Be){Yn(this,Be)}),V.selectAll(".row").on("mouseover",function(Be){(function(Ae,Pe){_.select(Ae).attr("fill",function(){return z.color(H[Pe.group]).darker()})})(this,Be)}).on("mouseout",function(Be){(function(Ae,Pe){_.select(Ae).attr("fill",function(){return H[Pe.group]})})(this,Be)})}()})}function ae(We,me){C.wrapTextWithEllipses(We,me,-10,2,.8)}function we(We){var me,Oe=We,Be=void 0;me=We,Be=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(me).call($e,200,12,-25),Bt=Be.node().getBBox().height?Be.node().getBBox().height:Bt,Bt+5,ne.append("circle").classed("tooltip-circle",!0).attr("cx",-39.5).attr("cy",Lt+10).attr("r",5).style("fill",H[Oe]).style("stroke-width",1),Lt+=Bt+7}function pe(We){return We?We+" | ":""}function $e(We,me,Oe){var Be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;We.each(function(){var Ae,Pe,Ze,_n,_e,Je,yn;for(Ae=(We=_.select(this)).text().split(/\s+/).reverse(),Ze=[],_n=0,_e=We.attr("y"),Je=parseFloat(We.attr("dy")),yn=We.text(null).append("tspan").attr("x",Be).attr("y",_e).attr("dy",Je+"em");Pe=Ae.pop();)Ze.push(Pe),yn.text(Ze.join(" ")),C.getTextWidth(Ze.join(" "),Oe,"Karla, sans-serif")>me&&(Ze.pop(),yn.text(Ze.join(" ")),_n<4&&(Ze=[Pe],yn=We.append("tspan").attr("x",Be).attr("y",_e).attr("dy",1.2*++_n+Je+"em").text(Pe)))})}function fn(We){return _.mouse(We)}function xn(We){var me=We-R.bottom,Oe=c.bandwidth(),Be=[];return ct.map(function(Ae){var Pe=Ae.values.find(function(Ze){return Math.abs(me>=c(Ze[Wt]))&&Math.abs(me-c(Ze[Wt])<=2*Oe)});Pe&&(Pe.values=Ae.values,Pe.key=Pe.name,Be.push(Pe))}),Be.length?Be[0]:void 0}function Yn(We,me){var Oe=fn(We),Be=W(Oe,2),Ae=(Be[0],xn(Be[1]));Ht.call("customClick",We,Ae,_.mouse(We))}function pn(We,me){var Oe=null;this&&(Oe=_.select(this.parentNode).attr("class").replace("layer layer-","")),typeof We=="string"&&(Oe=je(We)),parseInt(Oe)>-1&&(_.select(y).select(".tick svg.visibility-"+Oe).attr("opacity",1),_.select(y).select("g .layer-"+Oe+" .bg-hover").attr("fill-opacity",.3))}function Tn(We,me){var Oe=null;this&&(Oe=_.select(this.parentNode).attr("class").replace("layer layer-","")),typeof We=="string"&&(Oe=je(We)),parseInt(Oe)>-1&&(_.select(y).select(".tick svg.visibility-"+Oe).attr("opacity",0),_.select(y).select("g .layer-"+Oe+" .bg-hover").attr("fill-opacity",0))}function tr(We){var me=_.select(this),Oe=o.interpolateNumber(0,1),Be=dt?o.interpolateRound(0,D(wn(We))):o.interpolateRound(0,D(an(We)));return function(Ae){me.attr("width",Be(Ae)).style("opacity",Oe(Ae))}}function Er(We){var me=_.select(this),Oe=o.interpolateRound(0,D(Xe(We))),Be=o.interpolateNumber(0,1);return function(Ae){me.attr("width",Oe(Ae)).style("opacity",Be(Ae))}}function ge(We){We.each(function(){var me=(We=_.select(this)).node().getBBox().height/2,Oe=We.append("svg").attr("class",function(Be){return"visibility visibility-"+je(Be)}).attr("x",-(R.left-5)).attr("y",-me).attr("width","300").attr("height","300").attr("viewBox","0 0 600 600").attr("fill","none").attr("opacity",0);Oe.append("rect").attr("x",-10).attr("y",-10).attr("height","50").attr("width","50").attr("fill","#d6e8fa").on("mouseover",pn).on("mouseout",Tn).attr("opacity",0),Oe.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",pn).on("mouseout",Tn)})}function je(We){return _t.indexOf(We)}return zt.aspectRatio=function(We){return arguments.length?(nt=We,this):nt},zt.colorSchema=function(We){return arguments.length?(F=We,this):F},zt.exportChart=function(We,me){x.call(zt,V,We,me)},zt.groupLabel=function(We){return arguments.length?(se=We,this):se},zt.grid=function(We){return arguments.length?(Ot=We,this):Ot},zt.height=function(We){return arguments.length?(nt&&(v=Math.ceil(We/nt)),l=We,this):l},zt.isHorizontal=function(We){return arguments.length?(et=We,this):et},zt.isPrintMode=function(We){return arguments.length?(le=We,this):le},zt.isStacked=function(We){return arguments.length?(dt=We,this):dt},zt.isAnimated=function(We){return arguments.length?(cn=We,this):cn},zt.loadingState=function(We){return arguments.length?(u=We,this):u},zt.margin=function(We){return arguments.length?(R=k({},R,We),this):R},zt.nameLabel=function(We){return arguments.length?(Wt=We,this):Wt},zt.yTicks=function(We){return arguments.length?(ot=We,this):ot},zt.on=function(){var We=Ht.on.apply(Ht,arguments);return We===Ht?zt:We},zt.percentageAxisToMaxRatio=function(We){return arguments.length?(ft=We,this):ft},zt.tooltipThreshold=function(We){return arguments.length?(xt=We,this):xt},zt.valueLabel=function(We){return arguments.length?($t=We,this):$t},zt.valueLabelFormat=function(We){return arguments.length?(ue=We,this):ue},zt.width=function(We){return arguments.length?(nt&&(l=Math.ceil(We*nt)),v=We,this):v},zt.xTicks=function(We){return arguments.length?(K=We,this):K},zt.yAxisLabel=function(We){return arguments.length?(Nt=We,this):Nt},zt.yAxisLabelOffset=function(We){return arguments.length?(Tt=We,this):Tt},zt.yTickTextOffset=function(We){return arguments.length?(it=We,this):it},zt}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(G){for(var Q=1;Qst&&ct.on("mouseover",function(we){(function(pe,$e){Ne.call("customMouseOver",pe,$e,T.mouse(pe))})(this,we)}).on("mouseout",function(we){(function(pe,$e){ct.select(".metadata-group").attr("transform","translate(9999, 0)"),Ne.call("customMouseOut",pe,$e,T.mouse(pe))})(this,we)}).on("mousemove",function(we){var pe,$e,fn,xn,Yn,pn,Tn,tr,Er,ge;$e=en(pe=this),fn=W($e,2),xn=fn[0],Yn=fn[1],pn=H?cn(Yn):wn(xn),Tn=void 0,tr=void 0,pn&&(H?(Tn=xn-m.left,tr=l(pn.key)+l.bandwidth()/2):(Tn=y(pn.key)+m.left,tr=Yn-m.bottom),Er=Tn,ge=tr,ct.select(".metadata-group").attr("transform","translate("+Er+","+ge+")"),Ne.call("customMouseMove",pe,pn,K,Tn,tr))}).on("click",function(we){var pe,$e,fn,xn,Yn,pn;$e=en(pe=this),fn=W($e,2),xn=fn[0],Yn=fn[1],pn=H?cn(Yn):wn(xn),Ne.call("customClick",pe,pn,T.mouse(pe))}),ct.selectAll(".bar").on("mouseover",le).on("mouseout",ie)}()})}function rn(Bt){Bt.selectAll(".tick text").attr("transform","translate(-20, -8)")}function an(Bt){return Bt.map(function(Ht){for(var zt=0;zt=we&&Ht=we&&Ht=xt[1]&&(xt[0]=x[V].floor(jt[0]),xt[1]=x[V].offset(xt[0])),p.select(this).transition().call(p.event.target.move,xt.map(S))}tt.call("customBrushEnd",this,xt)}}function Mt(xt,Dt){var jt=null;xt!==null&&(jt=[S(new Date(xt)),S(new Date(Dt))]),F.move(H,jt)}return st.axisTimeCombinations=C,st.dateRange=function(xt){return arguments.length?(D=xt,Array.isArray(D)&&Mt.apply(void 0,W(D)),this):D},st.gradient=function(xt){return arguments.length?(et=xt,this):et},st.height=function(xt){return arguments.length?(y=xt,this):y},st.loadingState=function(xt){return arguments.length?(v=xt,this):v},st.locale=function(xt){return arguments.length?(ft=xt,this):ft},st.margin=function(xt){return arguments.length?(b=k({},b,xt),this):b},st.on=function(){var xt=tt.on.apply(tt,arguments);return xt===tt?st:xt},st.width=function(xt){return arguments.length?(R=xt,this):R},st.xAxisCustomFormat=function(xt){return arguments.length?(K=xt,this):K},st.xAxisFormat=function(xt){return arguments.length?(it=xt,this):it},st.xTicks=function(xt){return arguments.length?(ot=xt,this):ot},st.roundingTimeInterval=function(xt){return arguments.length?(V=xt,this):V},st}}.call(j,s,j,bt))===void 0||(bt.exports=w)},function(bt,j,s){"use strict";var w,k=Object.assign||function(W){for(var G=1;G0)){if(J/=Dt,Dt<0){if(J0){if(J>xt)return;J>Mt&&(Mt=J)}if(J=V-_t,Dt||!(J<0)){if(J/=Dt,Dt<0){if(J>xt)return;J>Mt&&(Mt=J)}else if(Dt>0){if(J0)){if(J/=jt,jt<0){if(J0){if(J>xt)return;J>Mt&&(Mt=J)}if(J=tt-yt,jt||!(J<0)){if(J/=jt,jt<0){if(J>xt)return;J>Mt&&(Mt=J)}else if(jt>0){if(J0||xt<1)||(Mt>0&&(pt[0]=[_t+Mt*Dt,yt+Mt*jt]),xt<1&&(pt[1]=[_t+xt*Dt,yt+xt*jt]),!0)}}}}}function T(pt,et,dt,V,tt){var J=pt[1];if(J)return!0;var Z,st,_t=pt[0],yt=pt.left,Mt=pt.right,xt=yt[0],Dt=yt[1],jt=Mt[0],Nt=Mt[1],Pt=(xt+jt)/2,Tt=(Dt+Nt)/2;if(Nt===Dt){if(Pt=V)return;if(xt>jt){if(_t){if(_t[1]>=tt)return}else _t=[Pt,dt];J=[Pt,tt]}else{if(_t){if(_t[1]1)if(xt>jt){if(_t){if(_t[1]>=tt)return}else _t=[(dt-st)/Z,dt];J=[(tt-st)/Z,tt]}else{if(_t){if(_t[1]=V)return}else _t=[et,Z*et+st];J=[V,Z*V+st]}else{if(_t){if(_t[0]=-ft)){var jt=_t*_t+yt*yt,Nt=Mt*Mt+xt*xt,Pt=(xt*jt-yt*Nt)/Dt,Tt=(_t*Nt-Mt*jt)/Dt,gt=m.pop()||new g;gt.arc=pt,gt.site=tt,gt.x=Pt+Z,gt.y=(gt.cy=Tt+st)+Math.sqrt(Pt*Pt+Tt*Tt),pt.circle=gt;for(var Ot=null,Wt=it._;Wt;)if(gt.yK)st=st.L;else{if(!((tt=J-S(st,Z))>K)){V>-K?(et=st.P,dt=st):tt>-K?(et=st,dt=st.N):et=dt=st;break}if(!st.R){et=st;break}st=st.R}(function(se){nt[se.index]={site:se,halfedges:[]}})(pt);var _t=l(pt);if(I.insert(et,_t),et||dt){if(et===dt)return R(et),dt=l(et.site),I.insert(_t,dt),_t.edge=dt.edge=O(et.site,_t.site),b(et),void b(dt);if(dt){R(et),R(dt);var yt=et.site,Mt=yt[0],xt=yt[1],Dt=pt[0]-Mt,jt=pt[1]-xt,Nt=dt.site,Pt=Nt[0]-Mt,Tt=Nt[1]-xt,gt=2*(Dt*Tt-jt*Pt),Ot=Dt*Dt+jt*jt,Wt=Pt*Pt+Tt*Tt,$t=[(Tt*Ot-jt*Wt)/gt+Mt,(Dt*Wt-Pt*Ot)/gt+xt];p(dt.edge,yt,Nt,$t),_t.edge=O(yt,pt,null,$t),dt.edge=O(pt,Nt,null,$t),b(et),b(dt)}else _t.edge=O(et.site,_t.site)}}function c(pt,et){var dt=pt.site,V=dt[0],tt=dt[1],J=tt-et;if(!J)return V;var Z=pt.P;if(!Z)return-1/0;var st=(dt=Z.site)[0],_t=dt[1],yt=_t-et;if(!yt)return st;var Mt=st-V,xt=1/J-1/yt,Dt=Mt/yt;return xt?(-Dt+Math.sqrt(Dt*Dt-2*xt*(Mt*Mt/(-2*yt)-_t+yt/2+tt-J/2)))/xt+V:(V+st)/2}function S(pt,et){var dt=pt.N;if(dt)return c(dt,et);var V=pt.site;return V[1]===et?V[0]:1/0}var I,nt,it,ot,K=1e-6,ft=1e-12;function F(pt,et){return et[1]-pt[1]||et[0]-pt[0]}function H(pt,et){var dt,V,tt,J=pt.sort(F).pop();for(ot=[],nt=new Array(pt.length),I=new A,it=new A;;)if(tt=x,J&&(!tt||J[1]K||Math.abs(Nt[0][1]-Nt[1][1])>K)||delete ot[Pt]})(Z,st,_t,yt),function(Mt,xt,Dt,jt){var Nt,Pt,Tt,gt,Ot,Wt,$t,se,ue,Ne,Xe,rn,an=nt.length,en=!0;for(Nt=0;NtK||Math.abs(rn-ue)>K)&&(Ot.splice(gt,0,ot.push(E(Tt,Ne,Math.abs(Xe-Mt)K?[Mt,Math.abs(se-Mt)K?[Math.abs(ue-jt)K?[Dt,Math.abs(se-Dt)K?[Math.abs(ue-xt)=st)return null;var _t=pt-tt.site[0],yt=et-tt.site[1],Mt=_t*_t+yt*yt;do tt=J.cells[V=Z],Z=null,tt.halfedges.forEach(function(xt){var Dt=J.edges[xt],jt=Dt.left;if(jt!==tt.site&&jt||(jt=Dt.right)){var Nt=pt-jt[0],Pt=et-jt[1],Tt=Nt*Nt+Pt*Pt;TtMath.abs(Pe[1]-Tn[1])?en=!0:an=!0),Tn=Pe,rn=!0,T(),me()}function me(){var Pe;switch($e=Tn[0]-pn[0],fn=Tn[1]-pn[1],le){case f:case _:ie&&($e=Math.max(zt-gt,Math.min(we-se,$e)),Ot=gt+$e,ue=se+$e),ne&&(fn=Math.max(ae-Wt,Math.min(pe-Ne,fn)),$t=Wt+fn,Xe=Ne+fn);break;case C:ie<0?($e=Math.max(zt-gt,Math.min(we-gt,$e)),Ot=gt+$e,ue=se):ie>0&&($e=Math.max(zt-se,Math.min(we-se,$e)),Ot=gt,ue=se+$e),ne<0?(fn=Math.max(ae-Wt,Math.min(pe-Wt,fn)),$t=Wt+fn,Xe=Ne):ne>0&&(fn=Math.max(ae-Ne,Math.min(pe-Ne,fn)),$t=Wt,Xe=Ne+fn);break;case x:ie&&(Ot=Math.max(zt,Math.min(we,gt-$e*ie)),ue=Math.max(zt,Math.min(we,se+$e*ie))),ne&&($t=Math.max(ae,Math.min(pe,Wt-fn*ne)),Xe=Math.max(ae,Math.min(pe,Ne+fn*ne)))}ue0&&(gt=Ot-$e),ne<0?Ne=Xe-fn:ne>0&&(Wt=$t-fn),le=f,ge.attr("cursor",l.selection),me());break;default:return}T()}function Ae(){switch(W.c.keyCode){case 16:xn&&(an=en=xn=!1,me());break;case 18:le===x&&(ie<0?se=ue:ie>0&&(gt=Ot),ne<0?Ne=Xe:ne>0&&(Wt=$t),le=C,me());break;case 32:le===f&&(W.c.altKey?(ie&&(se=ue-$e*ie,gt=Ot+$e*ie),ne&&(Ne=Xe-fn*ne,Wt=$t+fn*ne),le=x):(ie<0?se=ue:ie>0&&(gt=Ot),ne<0?Ne=Xe:ne>0&&(Wt=$t),le=C),ge.attr("cursor",l[cn]),me());break;default:return}T()}}function Nt(){xt(this,arguments).moved()}function Pt(){xt(this,arguments).ended()}function Tt(){var gt=this.__brush||{selection:null};return gt.extent=g(V.apply(this,arguments)),gt.dim=et,gt}return yt.move=function(gt,Ot){gt.selection?gt.on("start.brush",function(){xt(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){xt(this,arguments).end()}).tween("brush",function(){var Wt=this,$t=Wt.__brush,se=xt(Wt,arguments),ue=$t.selection,Ne=et.input(typeof Ot=="function"?Ot.apply(this,arguments):Ot,$t.extent),Xe=Object(Y.a)(ue,Ne);function rn(an){$t.selection=an===1&&Ne===null?null:Xe(an),Mt.call(Wt),se.brush()}return ue!==null&&Ne!==null?rn:rn(1)}):gt.each(function(){var Wt=this,$t=arguments,se=Wt.__brush,ue=et.input(typeof Ot=="function"?Ot.apply(Wt,$t):Ot,se.extent),Ne=xt(Wt,$t).beforestart();Object(O.interrupt)(Wt),se.selection=ue===null?null:ue,Mt.call(Wt),Ne.start().brush().end()})},yt.clear=function(gt){yt.move(gt,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(gt){Object(W.a)(new p(yt,gt,et.output(this.state.selection)),st.apply,st,[gt,this.that,this.args])}},yt.extent=function(gt){return arguments.length?(V=typeof gt=="function"?gt:E(g(gt)),yt):V},yt.filter=function(gt){return arguments.length?(tt=typeof gt=="function"?gt:E(!!gt),yt):tt},yt.touchable=function(gt){return arguments.length?(J=typeof gt=="function"?gt:E(!!gt),yt):J},yt.handleSize=function(gt){return arguments.length?(_t=+gt,yt):_t},yt.keyModifiers=function(gt){return arguments.length?(Z=!!gt,yt):Z},yt.on=function(){var gt=st.on.apply(st,arguments);return gt===st?yt:gt},yt}s.d(j,"brush",function(){return ct}),s.d(j,"brushX",function(){return F}),s.d(j,"brushY",function(){return H}),s.d(j,"brushSelection",function(){return ft})}])})},5382:Ue=>{(function(oe,ut){Ue.exports=ut()})(window,function(){return function(oe){var ut={};function B(bt){if(ut[bt])return ut[bt].exports;var j=ut[bt]={i:bt,l:!1,exports:{}};return oe[bt].call(j.exports,j,j.exports,B),j.l=!0,j.exports}return B.m=oe,B.c=ut,B.d=function(bt,j,s){B.o(bt,j)||Object.defineProperty(bt,j,{enumerable:!0,get:s})},B.r=function(bt){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(bt,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(bt,"__esModule",{value:!0})},B.t=function(bt,j){if(1&j&&(bt=B(bt)),8&j||4&j&&typeof bt=="object"&&bt&&bt.__esModule)return bt;var s=Object.create(null);if(B.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:bt}),2&j&&typeof bt!="string")for(var w in bt)B.d(s,w,function(k){return bt[k]}.bind(null,w));return s},B.n=function(bt){var j=bt&&bt.__esModule?function(){return bt.default}:function(){return bt};return B.d(j,"a",j),j},B.o=function(bt,j){return Object.prototype.hasOwnProperty.call(bt,j)},B.p="",B(B.s=107)}([function(oe,ut,B){"use strict";B.d(ut,"a",function(){return s});var bt=new Date,j=new Date;function s(w,k,W,G){function Q(U){return w(U=arguments.length===0?new Date:new Date(+U)),U}return Q.floor=function(U){return w(U=new Date(+U)),U},Q.ceil=function(U){return w(U=new Date(U-1)),k(U,1),w(U),U},Q.round=function(U){var Y=Q(U),z=Q.ceil(U);return U-Y0))return O;do O.push(A=new Date(+U)),k(U,z),w(U);while(A=Y)for(;w(Y),!U(Y);)Y.setTime(Y-1)},function(Y,z){if(Y>=Y)if(z<0)for(;++z<=0;)for(;k(Y,-1),!U(Y););else for(;--z>=0;)for(;k(Y,1),!U(Y););})},W&&(Q.count=function(U,Y){return bt.setTime(+U),j.setTime(+Y),w(bt),w(j),Math.floor(W(bt,j))},Q.every=function(U){return U=Math.floor(U),isFinite(U)&&U>0?U>1?Q.filter(G?function(Y){return G(Y)%U==0}:function(Y){return Q.count(0,Y)%U==0}):Q:null}),Q}},function(oe,ut,B){"use strict";B.d(ut,"d",function(){return bt}),B.d(ut,"c",function(){return j}),B.d(ut,"b",function(){return s}),B.d(ut,"a",function(){return w}),B.d(ut,"e",function(){return k});var bt=1e3,j=6e4,s=36e5,w=864e5,k=6048e5},function(oe,ut,B){"use strict";B.r(ut);var bt=function(et,dt){return etdt?1:et>=dt?0:NaN},j=function(et){var dt;return et.length===1&&(dt=et,et=function(V,tt){return bt(dt(V),tt)}),{left:function(V,tt,J,Z){for(J==null&&(J=0),Z==null&&(Z=V.length);J>>1;et(V[st],tt)<0?J=st+1:Z=st}return J},right:function(V,tt,J,Z){for(J==null&&(J=0),Z==null&&(Z=V.length);J>>1;et(V[st],tt)>0?Z=st:J=st+1}return J}}},s=j(bt),w=s.right,k=s.left,W=w,G=function(et,dt){dt==null&&(dt=Q);for(var V=0,tt=et.length-1,J=et[0],Z=new Array(tt<0?0:tt);Vet?1:dt>=et?0:NaN},z=function(et){return et===null?NaN:+et},A=function(et,dt){var V,tt,J=et.length,Z=0,st=-1,_t=0,yt=0;if(dt==null)for(;++st1)return yt/(Z-1)},O=function(et,dt){var V=A(et,dt);return V&&Math.sqrt(V)},E=function(et,dt){var V,tt,J,Z=et.length,st=-1;if(dt==null){for(;++st=V)for(tt=J=V;++stV&&(tt=V),J=V)for(tt=J=V;++stV&&(tt=V),J0)return[et];if((tt=dt0)for(et=Math.ceil(et/st),dt=Math.floor(dt/st),Z=new Array(J=Math.ceil(dt-et+1));++_t=0?(Z>=x?10:Z>=m?5:Z>=g?2:1)*Math.pow(10,J):-Math.pow(10,-J)/(Z>=x?10:Z>=m?5:Z>=g?2:1)}function y(et,dt,V){var tt=Math.abs(dt-et)/Math.max(0,V),J=Math.pow(10,Math.floor(Math.log(tt)/Math.LN10)),Z=tt/J;return Z>=x?J*=10:Z>=m?J*=5:Z>=g&&(J*=2),dtDt;)jt.pop(),--Nt;var Pt,Tt=new Array(Nt+1);for(Z=0;Z<=Nt;++Z)(Pt=Tt[Z]=[]).x0=Z>0?jt[Z-1]:xt,Pt.x1=Z=1)return+V(et[tt-1],tt-1,et);var tt,J=(tt-1)*dt,Z=Math.floor(J),st=+V(et[Z],Z,et);return st+(+V(et[Z+1],Z+1,et)-st)*(J-Z)}},D=function(et,dt,V){return et=T.call(et,z).sort(bt),Math.ceil((V-dt)/(2*(u(et,.75)-u(et,.25))*Math.pow(et.length,-1/3)))},L=function(et,dt,V){return Math.ceil((V-dt)/(3.5*O(et)*Math.pow(et.length,-1/3)))},c=function(et,dt){var V,tt,J=et.length,Z=-1;if(dt==null){for(;++Z=V)for(tt=V;++Ztt&&(tt=V)}else for(;++Z=V)for(tt=V;++Ztt&&(tt=V);return tt},S=function(et,dt){var V,tt=et.length,J=tt,Z=-1,st=0;if(dt==null)for(;++Z=0;)for(dt=(tt=et[J]).length;--dt>=0;)V[--st]=tt[dt];return V},it=function(et,dt){var V,tt,J=et.length,Z=-1;if(dt==null){for(;++Z=V)for(tt=V;++ZV&&(tt=V)}else for(;++Z=V)for(tt=V;++ZV&&(tt=V);return tt},ot=function(et,dt){for(var V=dt.length,tt=new Array(V);V--;)tt[V]=et[dt[V]];return tt},K=function(et,dt){if(V=et.length){var V,tt,J=0,Z=0,st=et[Z];for(dt==null&&(dt=bt);++J>8&15|S>>4&240,S>>4&15|240&S,(15&S)<<4|15&S,1):I===8?new g(S>>24&255,S>>16&255,S>>8&255,(255&S)/255):I===4?new g(S>>12&15|S>>8&240,S>>8&15|S>>4&240,S>>4&15|240&S,((15&S)<<4|15&S)/255):null):(S=U.exec(c))?new g(S[1],S[2],S[3],1):(S=Y.exec(c))?new g(255*S[1]/100,255*S[2]/100,255*S[3]/100,1):(S=z.exec(c))?C(S[1],S[2],S[3],S[4]):(S=A.exec(c))?C(255*S[1]/100,255*S[2]/100,255*S[3]/100,S[4]):(S=O.exec(c))?v(S[1],S[2]/100,S[3]/100,1):(S=E.exec(c))?v(S[1],S[2]/100,S[3]/100,S[4]):p.hasOwnProperty(c)?f(p[c]):c==="transparent"?new g(NaN,NaN,NaN,0):null}function f(c){return new g(c>>16&255,c>>8&255,255&c,1)}function C(c,S,I,nt){return nt<=0&&(c=S=I=NaN),new g(c,S,I,nt)}function x(c){return c instanceof j||(c=_(c)),c?new g((c=c.rgb()).r,c.g,c.b,c.opacity):new g}function m(c,S,I,nt){return arguments.length===1?x(c):new g(c,S,I,nt==null?1:nt)}function g(c,S,I,nt){this.r=+c,this.g=+S,this.b=+I,this.opacity=+nt}function b(){return"#"+y(this.r)+y(this.g)+y(this.b)}function R(){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 y(c){return((c=Math.max(0,Math.min(255,Math.round(c)||0)))<16?"0":"")+c.toString(16)}function v(c,S,I,nt){return nt<=0?c=S=I=NaN:I<=0||I>=1?c=S=NaN:S<=0&&(c=NaN),new D(c,S,I,nt)}function l(c){if(c instanceof D)return new D(c.h,c.s,c.l,c.opacity);if(c instanceof j||(c=_(c)),!c)return new D;if(c instanceof D)return c;var S=(c=c.rgb()).r/255,I=c.g/255,nt=c.b/255,it=Math.min(S,I,nt),ot=Math.max(S,I,nt),K=NaN,ft=ot-it,F=(ot+it)/2;return ft?(K=S===ot?(I-nt)/ft+6*(I0&&F<1?0:K,new D(K,ft,F,c.opacity)}function u(c,S,I,nt){return arguments.length===1?l(c):new D(c,S,I,nt==null?1:nt)}function D(c,S,I,nt){this.h=+c,this.s=+S,this.l=+I,this.opacity=+nt}function L(c,S,I){return 255*(c<60?S+(I-S)*c/60:c<180?I:c<240?S+(I-S)*(240-c)/60:S)}Object(bt.a)(j,_,{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:T,toString:T}),Object(bt.a)(g,m,Object(bt.b)(j,{brighter:function(c){return c=c==null?w:Math.pow(w,c),new g(this.r*c,this.g*c,this.b*c,this.opacity)},darker:function(c){return c=c==null?s:Math.pow(s,c),new g(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:b,formatHex:b,formatRgb:R,toString:R})),Object(bt.a)(D,u,Object(bt.b)(j,{brighter:function(c){return c=c==null?w:Math.pow(w,c),new D(this.h,this.s,this.l*c,this.opacity)},darker:function(c){return c=c==null?s:Math.pow(s,c),new D(this.h,this.s,this.l*c,this.opacity)},rgb:function(){var c=this.h%360+360*(this.h<0),S=isNaN(c)||isNaN(this.s)?0:this.s,I=this.l,nt=I+(I<.5?I:1-I)*S,it=2*I-nt;return new g(L(c>=240?c-240:c+120,it,nt),L(c,it,nt),L(c<120?c+240:c-120,it,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 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(oe,ut,B){"use strict";ut.a=function(bt,j){return bt=+bt,j=+j,function(s){return bt*(1-s)+j*s}}},function(oe,ut,B){"use strict";B.r(ut);var bt=B(12),j=B(32),s=function(m){return Object(j.a)(Object(bt.a)(m).call(document.documentElement))},w=0;function k(){return new W}function W(){this._="@"+(++w).toString(36)}W.prototype=k.prototype={constructor:W,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 G=B(34),Q=B(60),U=B(20),Y=B(14),z=B(13),A=B(10),O=function(m){return typeof m=="string"?new A.a([document.querySelectorAll(m)],[document.documentElement]):new A.a([m==null?[]:m],A.c)},E=B(19),p=B(33),o=B(35),T=B(61),_=B(22),f=function(m,g){g==null&&(g=Object(_.a)().touches);for(var b=0,R=g?g.length:0,y=new Array(R);b180||Q<-180?Q-360*Math.round(Q/360):Q):Object(bt.a)(isNaN(W)?G:W)}function w(W){return(W=+W)==1?k:function(G,Q){return Q-G?function(U,Y,z){return U=Math.pow(U,z),Y=Math.pow(Y,z)-U,z=1/z,function(A){return Math.pow(U+A*Y,z)}}(G,Q,W):Object(bt.a)(isNaN(G)?Q:G)}}function k(W,G){var Q=G-W;return Q?j(W,Q):Object(bt.a)(isNaN(W)?G:W)}},function(oe,ut,B){"use strict";var bt=B(18);ut.a=function(j){return(j=Object(bt.a)(Math.abs(j)))?j[1]:NaN}},function(oe,ut,B){"use strict";var bt=B(19),j=B(33),s=B(34),w=function(Z){return new Array(Z.length)};function k(Z,st){this.ownerDocument=Z.ownerDocument,this.namespaceURI=Z.namespaceURI,this._next=null,this._parent=Z,this.__data__=st}k.prototype={constructor:k,appendChild:function(Z){return this._parent.insertBefore(Z,this._next)},insertBefore:function(Z,st){return this._parent.insertBefore(Z,st)},querySelector:function(Z){return this._parent.querySelector(Z)},querySelectorAll:function(Z){return this._parent.querySelectorAll(Z)}};function W(Z,st,_t,yt,Mt,xt){for(var Dt,jt=0,Nt=st.length,Pt=xt.length;jtst?1:Z>=st?0:NaN}var U=B(20);function Y(Z){return function(){this.removeAttribute(Z)}}function z(Z){return function(){this.removeAttributeNS(Z.space,Z.local)}}function A(Z,st){return function(){this.setAttribute(Z,st)}}function O(Z,st){return function(){this.setAttributeNS(Z.space,Z.local,st)}}function E(Z,st){return function(){var _t=st.apply(this,arguments);_t==null?this.removeAttribute(Z):this.setAttribute(Z,_t)}}function p(Z,st){return function(){var _t=st.apply(this,arguments);_t==null?this.removeAttributeNS(Z.space,Z.local):this.setAttributeNS(Z.space,Z.local,_t)}}var o=B(35);function T(Z){return function(){delete this[Z]}}function _(Z,st){return function(){this[Z]=st}}function f(Z,st){return function(){var _t=st.apply(this,arguments);_t==null?delete this[Z]:this[Z]=_t}}function C(Z){return Z.trim().split(/^|\s+/)}function x(Z){return Z.classList||new m(Z)}function m(Z){this._node=Z,this._names=C(Z.getAttribute("class")||"")}function g(Z,st){for(var _t=x(Z),yt=-1,Mt=st.length;++yt=0&&(this._names.splice(st,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(Z){return this._names.indexOf(Z)>=0}};function l(){this.textContent=""}function u(Z){return function(){this.textContent=Z}}function D(Z){return function(){var st=Z.apply(this,arguments);this.textContent=st==null?"":st}}function L(){this.innerHTML=""}function c(Z){return function(){this.innerHTML=Z}}function S(Z){return function(){var st=Z.apply(this,arguments);this.innerHTML=st==null?"":st}}function I(){this.nextSibling&&this.parentNode.appendChild(this)}function nt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var it=B(12);function ot(){return null}function K(){var Z=this.parentNode;Z&&Z.removeChild(this)}function ft(){var Z=this.cloneNode(!1),st=this.parentNode;return st?st.insertBefore(Z,this.nextSibling):Z}function F(){var Z=this.cloneNode(!0),st=this.parentNode;return st?st.insertBefore(Z,this.nextSibling):Z}var H=B(17),ct=B(21);function pt(Z,st,_t){var yt=Object(ct.a)(Z),Mt=yt.CustomEvent;typeof Mt=="function"?Mt=new Mt(st,_t):(Mt=yt.document.createEvent("Event"),_t?(Mt.initEvent(st,_t.bubbles,_t.cancelable),Mt.detail=_t.detail):Mt.initEvent(st,!1,!1)),Z.dispatchEvent(Mt)}function et(Z,st){return function(){return pt(this,Z,st)}}function dt(Z,st){return function(){return pt(this,Z,st.apply(this,arguments))}}B.d(ut,"c",function(){return V}),B.d(ut,"a",function(){return tt});var V=[null];function tt(Z,st){this._groups=Z,this._parents=st}function J(){return new tt([[document.documentElement]],V)}tt.prototype=J.prototype={constructor:tt,select:function(Z){typeof Z!="function"&&(Z=Object(bt.a)(Z));for(var st=this._groups,_t=st.length,yt=new Array(_t),Mt=0;Mt<_t;++Mt)for(var xt,Dt,jt=st[Mt],Nt=jt.length,Pt=yt[Mt]=new Array(Nt),Tt=0;Tt=en&&(en=an+1);!(rn=Ne[en])&&++en=0;)(yt=Mt[xt])&&(Dt&&4^yt.compareDocumentPosition(Dt)&&Dt.parentNode.insertBefore(yt,Dt),Dt=yt);return this},sort:function(Z){function st(gt,Ot){return gt&&Ot?Z(gt.__data__,Ot.__data__):!gt-!Ot}Z||(Z=Q);for(var _t=this._groups,yt=_t.length,Mt=new Array(yt),xt=0;xt1?this.each((st==null?T:typeof st=="function"?f:_)(Z,st)):this.node()[Z]},classed:function(Z,st){var _t=C(Z+"");if(arguments.length<2){for(var yt=x(this.node()),Mt=-1,xt=_t.length;++Mt0?Object(bt.a)(function(k){k.setFullYear(Math.floor(k.getFullYear()/w)*w),k.setMonth(0,1),k.setHours(0,0,0,0)},function(k,W){k.setFullYear(k.getFullYear()+W*w)}):null},ut.a=j;var s=j.range},function(oe,ut,B){"use strict";B.d(ut,"b",function(){return s});var bt=B(0),j=Object(bt.a)(function(w){w.setUTCMonth(0,1),w.setUTCHours(0,0,0,0)},function(w,k){w.setUTCFullYear(w.getUTCFullYear()+k)},function(w,k){return k.getUTCFullYear()-w.getUTCFullYear()},function(w){return w.getUTCFullYear()});j.every=function(w){return isFinite(w=Math.floor(w))&&w>0?Object(bt.a)(function(k){k.setUTCFullYear(Math.floor(k.getUTCFullYear()/w)*w),k.setUTCMonth(0,1),k.setUTCHours(0,0,0,0)},function(k,W){k.setUTCFullYear(k.getUTCFullYear()+W*w)}):null},ut.a=j;var s=j.range},function(oe,ut,B){"use strict";B.d(ut,"c",function(){return j}),B.d(ut,"a",function(){return Q});var bt={},j=null;typeof document!="undefined"&&("onmouseenter"in document.documentElement||(bt={mouseenter:"mouseover",mouseleave:"mouseout"}));function s(U,Y,z){return U=w(U,Y,z),function(A){var O=A.relatedTarget;O&&(O===this||8&O.compareDocumentPosition(this))||U.call(this,A)}}function w(U,Y,z){return function(A){var O=j;j=A;try{U.call(this,this.__data__,Y,z)}finally{j=O}}}function k(U){return U.trim().split(/^|\s+/).map(function(Y){var z="",A=Y.indexOf(".");return A>=0&&(z=Y.slice(A+1),Y=Y.slice(0,A)),{type:Y,name:z}})}function W(U){return function(){var Y=this.__on;if(Y){for(var z,A=0,O=-1,E=Y.length;A1?w[0]+w.slice(2):w,+bt.slice(s+1)]}},function(oe,ut,B){"use strict";function bt(){}ut.a=function(j){return j==null?bt:function(){return this.querySelector(j)}}},function(oe,ut,B){"use strict";var bt=B(14);ut.a=function(j){var s=j+="",w=s.indexOf(":");return w>=0&&(s=j.slice(0,w))!=="xmlns"&&(j=j.slice(w+1)),bt.a.hasOwnProperty(s)?{space:bt.a[s],local:j}:j}},function(oe,ut,B){"use strict";ut.a=function(bt){return bt.ownerDocument&&bt.ownerDocument.defaultView||bt.document&&bt||bt.defaultView}},function(oe,ut,B){"use strict";var bt=B(17);ut.a=function(){for(var j,s=bt.c;j=s.sourceEvent;)s=j;return s}},function(oe,ut,B){"use strict";function bt(j){return ArrayBuffer.isView(j)&&!(j instanceof DataView)}B.d(ut,"b",function(){return bt}),ut.a=function(j,s){s||(s=[]);var w,k=j?Math.min(s.length,j.length):0,W=s.slice();return function(G){for(w=0;w=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function j(w){if(!(k=bt.exec(w)))throw new Error("invalid format: "+w);var k;return new s({fill:k[1],align:k[2],sign:k[3],symbol:k[4],zero:k[5],width:k[6],comma:k[7],precision:k[8]&&k[8].slice(1),trim:k[9],type:k[10]})}function s(w){this.fill=w.fill===void 0?" ":w.fill+"",this.align=w.align===void 0?">":w.align+"",this.sign=w.sign===void 0?"-":w.sign+"",this.symbol=w.symbol===void 0?"":w.symbol+"",this.zero=!!w.zero,this.width=w.width===void 0?void 0:+w.width,this.comma=!!w.comma,this.precision=w.precision===void 0?void 0:+w.precision,this.trim=!!w.trim,this.type=w.type===void 0?"":w.type+""}j.prototype=s.prototype,s.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(oe,ut,B){"use strict";function bt(j,s,w,k,W){var G=j*j,Q=G*j;return((1-3*j+3*G-Q)*s+(4-6*G+3*Q)*w+(1+3*j+3*G-3*Q)*k+Q*W)/6}B.d(ut,"a",function(){return bt}),ut.b=function(j){var s=j.length-1;return function(w){var k=w<=0?w=0:w>=1?(w=1,s-1):Math.floor(w*s),W=j[k],G=j[k+1],Q=k>0?j[k-1]:2*W-G,U=k0?w>1?Object(bt.a)(function(k){k.setTime(Math.floor(k/w)*w)},function(k,W){k.setTime(+k+W*w)},function(k,W){return(W-k)/w}):j:null},ut.a=j;var s=j.range},function(oe,ut,B){"use strict";var bt=B(10);ut.a=function(j){return typeof j=="string"?new bt.a([[document.querySelector(j)]],[document.documentElement]):new bt.a([[j]],bt.c)}},function(oe,ut,B){"use strict";function bt(){return[]}ut.a=function(j){return j==null?bt:function(){return this.querySelectorAll(j)}}},function(oe,ut,B){"use strict";ut.a=function(bt){return function(){return this.matches(bt)}}},function(oe,ut,B){"use strict";B.d(ut,"b",function(){return k});var bt=B(21);function j(W){return function(){this.style.removeProperty(W)}}function s(W,G,Q){return function(){this.style.setProperty(W,G,Q)}}function w(W,G,Q){return function(){var U=G.apply(this,arguments);U==null?this.style.removeProperty(W):this.style.setProperty(W,U,Q)}}function k(W,G){return W.style.getPropertyValue(G)||Object(bt.a)(W).getComputedStyle(W,null).getPropertyValue(G)}ut.a=function(W,G,Q){return arguments.length>1?this.each((G==null?j:typeof G=="function"?w:s)(W,G,Q==null?"":Q)):k(this.node(),W)}},function(oe,ut,B){"use strict";var bt=B(5),j=B(37),s=B(58),w=B(57),k=B(6),W=B(59),G=B(55),Q=B(24),U=B(23);ut.a=function(Y,z){var A,O=typeof z;return z==null||O==="boolean"?Object(Q.a)(z):(O==="number"?k.a:O==="string"?(A=Object(bt.e)(z))?(z=A,j.a):G.a:z instanceof bt.e?j.a:z instanceof Date?w.a:Object(U.b)(z)?U.a:Array.isArray(z)?s.b:typeof z.valueOf!="function"&&typeof z.toString!="function"||isNaN(z)?W.a:k.a)(Y,z)}},function(oe,ut,B){"use strict";B.d(ut,"b",function(){return W}),B.d(ut,"c",function(){return G});var bt=B(5),j=B(26),s=B(53),w=B(8);function k(Q){return function(U){var Y,z,A=U.length,O=new Array(A),E=new Array(A),p=new Array(A);for(Y=0;YE+1?O.slice(0,E+1)+"."+O.slice(E+1):O+new Array(E-O.length+2).join("0")},W={"%":function(Y,z){return(100*Y).toFixed(z)},b:function(Y){return Math.round(Y).toString(2)},c:function(Y){return Y+""},d:function(Y){return Math.round(Y).toString(10)},e:function(Y,z){return Y.toExponential(z)},f:function(Y,z){return Y.toFixed(z)},g:function(Y,z){return Y.toPrecision(z)},o:function(Y){return Math.round(Y).toString(8)},p:function(Y,z){return k(100*Y,z)},r:k,s:function(Y,z){var A=Object(w.a)(Y,z);if(!A)return Y+"";var O=A[0],E=A[1],p=E-(bt=3*Math.max(-8,Math.min(8,Math.floor(E/3))))+1,o=O.length;return p===o?O:p>o?O+new Array(p-o+1).join("0"):p>0?O.slice(0,p)+"."+O.slice(p):"0."+new Array(1-p).join("0")+Object(w.a)(Y,Math.max(0,z+p-1))[0]},X:function(Y){return Math.round(Y).toString(16).toUpperCase()},x:function(Y){return Math.round(Y).toString(16)}},G=function(Y){return Y},Q=Array.prototype.map,U=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];ut.a=function(Y){var z,A,O=Y.grouping===void 0||Y.thousands===void 0?G:(z=Q.call(Y.grouping,Number),A=Y.thousands+"",function(m,g){for(var b=m.length,R=[],y=0,v=z[0],l=0;b>0&&v>0&&(l+v+1>g&&(v=Math.max(1,g-l)),R.push(m.substring(b-=v,b+v)),!((l+=v+1)>g));)v=z[y=(y+1)%z.length];return R.reverse().join(A)}),E=Y.currency===void 0?"":Y.currency[0]+"",p=Y.currency===void 0?"":Y.currency[1]+"",o=Y.decimal===void 0?".":Y.decimal+"",T=Y.numerals===void 0?G:function(m){return function(g){return g.replace(/[0-9]/g,function(b){return m[+b]})}}(Q.call(Y.numerals,String)),_=Y.percent===void 0?"%":Y.percent+"",f=Y.minus===void 0?"-":Y.minus+"",C=Y.nan===void 0?"NaN":Y.nan+"";function x(m){var g=(m=Object(s.b)(m)).fill,b=m.align,R=m.sign,y=m.symbol,v=m.zero,l=m.width,u=m.comma,D=m.precision,L=m.trim,c=m.type;c==="n"?(u=!0,c="g"):W[c]||(D===void 0&&(D=12),L=!0,c="g"),(v||g==="0"&&b==="=")&&(v=!0,g="0",b="=");var S=y==="$"?E:y==="#"&&/[boxX]/.test(c)?"0"+c.toLowerCase():"",I=y==="$"?p:/[%p]/.test(c)?_:"",nt=W[c],it=/[defgprs%]/.test(c);function ot(K){var ft,F,H,ct=S,pt=I;if(c==="c")pt=nt(K)+pt,K="";else{var et=(K=+K)<0;if(K=isNaN(K)?C:nt(Math.abs(K),D),L&&(K=function(tt){t:for(var J,Z=tt.length,st=1,_t=-1;st0&&(_t=0)}return _t>0?tt.slice(0,_t)+tt.slice(J+1):tt}(K)),et&&+K==0&&(et=!1),ct=(et?R==="("?R:f:R==="-"||R==="("?"":R)+ct,pt=(c==="s"?U[8+bt/3]:"")+pt+(et&&R==="("?")":""),it){for(ft=-1,F=K.length;++ft(H=K.charCodeAt(ft))||H>57){pt=(H===46?o+K.slice(ft+1):K.slice(ft))+pt,K=K.slice(0,ft);break}}}u&&!v&&(K=O(K,1/0));var dt=ct.length+K.length+pt.length,V=dt>1)+ct+K+pt+V.slice(dt);break;default:K=V+ct+K+pt}return T(K)}return D=D===void 0?6:/[gprs]/.test(c)?Math.max(1,Math.min(21,D)):Math.max(0,Math.min(20,D)),ot.toString=function(){return m+""},ot}return{format:x,formatPrefix:function(m,g){var b=x(((m=Object(s.b)(m)).type="f",m)),R=3*Math.max(-8,Math.min(8,Math.floor(Object(j.a)(g)/3))),y=Math.pow(10,-R),v=U[8+R/3];return function(l){return b(y*l)+v}}}}},,,function(oe,ut,B){"use strict";B.d(ut,"b",function(){return j}),B.d(ut,"c",function(){return s}),B.d(ut,"a",function(){return k});var bt,j,s,w=B(40);function k(W){return bt=Object(w.a)(W),j=bt.format,s=bt.formatPrefix,bt}k({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(oe,ut,B){"use strict";B.r(ut);var bt=B(43);B.d(ut,"formatDefaultLocale",function(){return bt.a}),B.d(ut,"format",function(){return bt.b}),B.d(ut,"formatPrefix",function(){return bt.c});var j=B(40);B.d(ut,"formatLocale",function(){return j.a});var s=B(25);B.d(ut,"formatSpecifier",function(){return s.b}),B.d(ut,"FormatSpecifier",function(){return s.a});var w=B(63);B.d(ut,"precisionFixed",function(){return w.a});var k=B(64);B.d(ut,"precisionPrefix",function(){return k.a});var W=B(65);B.d(ut,"precisionRound",function(){return W.a})},function(oe,ut,B){"use strict";B.d(ut,"b",function(){return j}),B.d(ut,"c",function(){return s}),B.d(ut,"d",function(){return w}),B.d(ut,"e",function(){return k}),B.d(ut,"a",function(){return G});var bt,j,s,w,k,W=B(54);function G(Q){return bt=Object(W.a)(Q),j=bt.format,s=bt.parse,w=bt.utcFormat,k=bt.utcParse,bt}G({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(oe,ut,B){"use strict";B.r(ut);function bt(){}function j(o,T){var _=new bt;if(o instanceof bt)o.each(function(g,b){_.set(b,g)});else if(Array.isArray(o)){var f,C=-1,x=o.length;if(T==null)for(;++C=f.length)return o!=null&&m.sort(o),T!=null?T(m):m;for(var y,v,l,u=-1,D=m.length,L=f[g++],c=s(),S=b();++uf.length)return b;var y,v=C[R-1];return T!=null&&R>=f.length?y=b.entries():(y=[],b.each(function(l,u){y.push({key:u,values:g(l,R)})})),v!=null?y.sort(function(l,u){return v(l.key,u.key)}):y}(x(m,0,G,Q),0)},key:function(m){return f.push(m),_},sortKeys:function(m){return C[f.length-1]=m,_},sortValues:function(m){return o=m,_},rollup:function(m){return T=m,_}}};function k(){return{}}function W(o,T,_){o[T]=_}function G(){return s()}function Q(o,T,_){o.set(T,_)}function U(){}var Y=s.prototype;function z(o,T){var _=new U;if(o instanceof U)o.each(function(x){_.add(x)});else if(o){var f=-1,C=o.length;if(T==null)for(;++f=12)]},q:function(_e){return 1+~~(_e.getMonth()/3)},Q:ie,s:ne,S:tt,u:J,U:Z,V:st,w:_t,W:yt,x:null,X:null,y:Mt,Y:xt,Z:Dt,"%":le},Be={a:function(_e){return pe[_e.getUTCDay()]},A:function(_e){return we[_e.getUTCDay()]},b:function(_e){return fn[_e.getUTCMonth()]},B:function(_e){return $e[_e.getUTCMonth()]},c:null,d:jt,e:jt,f:Ot,H:Nt,I:Pt,j:Tt,L:gt,m:Wt,M:$t,p:function(_e){return ae[+(_e.getUTCHours()>=12)]},q:function(_e){return 1+~~(_e.getUTCMonth()/3)},Q:ie,s:ne,S:se,u:ue,U:Ne,V:Xe,w:rn,W:an,x:null,X:null,y:en,Y:wn,Z:cn,"%":le},Ae={a:function(_e,Je,yn){var Ce=tr.exec(Je.slice(yn));return Ce?(_e.w=Er[Ce[0].toLowerCase()],yn+Ce[0].length):-1},A:function(_e,Je,yn){var Ce=pn.exec(Je.slice(yn));return Ce?(_e.w=Tn[Ce[0].toLowerCase()],yn+Ce[0].length):-1},b:function(_e,Je,yn){var Ce=We.exec(Je.slice(yn));return Ce?(_e.m=me[Ce[0].toLowerCase()],yn+Ce[0].length):-1},B:function(_e,Je,yn){var Ce=ge.exec(Je.slice(yn));return Ce?(_e.m=je[Ce[0].toLowerCase()],yn+Ce[0].length):-1},c:function(_e,Je,yn){return _n(_e,Bt,Je,yn)},d:u,e:u,f:nt,H:L,I:L,j:D,L:I,m:l,M:c,p:function(_e,Je,yn){var Ce=xn.exec(Je.slice(yn));return Ce?(_e.p=Yn[Ce[0].toLowerCase()],yn+Ce[0].length):-1},q:v,Q:ot,s:K,S,u:C,U:x,V:m,w:f,W:g,x:function(_e,Je,yn){return _n(_e,Ht,Je,yn)},X:function(_e,Je,yn){return _n(_e,zt,Je,yn)},y:R,Y:b,Z:y,"%":it};function Pe(_e,Je){return function(yn){var Ce,vn,tn,dn=[],gn=-1,mn=0,Jn=_e.length;for(yn instanceof Date||(yn=new Date(+yn));++gn53)return null;"w"in tn||(tn.w=1),"Z"in tn?(vn=(Ce=Q(U(tn.y,0,1))).getUTCDay(),Ce=vn>4||vn===0?bt.c.ceil(Ce):Object(bt.c)(Ce),Ce=j.a.offset(Ce,7*(tn.V-1)),tn.y=Ce.getUTCFullYear(),tn.m=Ce.getUTCMonth(),tn.d=Ce.getUTCDate()+(tn.w+6)%7):(vn=(Ce=G(U(tn.y,0,1))).getDay(),Ce=vn>4||vn===0?s.c.ceil(Ce):Object(s.c)(Ce),Ce=w.b.offset(Ce,7*(tn.V-1)),tn.y=Ce.getFullYear(),tn.m=Ce.getMonth(),tn.d=Ce.getDate()+(tn.w+6)%7)}else("W"in tn||"U"in tn)&&("w"in tn||(tn.w="u"in tn?tn.u%7:"W"in tn?1:0),vn="Z"in tn?Q(U(tn.y,0,1)).getUTCDay():G(U(tn.y,0,1)).getDay(),tn.m=0,tn.d="W"in tn?(tn.w+6)%7+7*tn.W-(vn+5)%7:tn.w+7*tn.U-(vn+6)%7);return"Z"in tn?(tn.H+=tn.Z/100|0,tn.M+=tn.Z%100,Q(tn)):G(tn)}}function _n(_e,Je,yn,Ce){for(var vn,tn,dn=0,gn=Je.length,mn=yn.length;dn=mn)return-1;if((vn=Je.charCodeAt(dn++))===37){if(vn=Je.charAt(dn++),!(tn=Ae[vn in z?Je.charAt(dn++):vn])||(Ce=tn(_e,yn,Ce))<0)return-1}else if(vn!=yn.charCodeAt(Ce++))return-1}return Ce}return Oe.x=Pe(Ht,Oe),Oe.X=Pe(zt,Oe),Oe.c=Pe(Bt,Oe),Be.x=Pe(Ht,Be),Be.X=Pe(zt,Be),Be.c=Pe(Bt,Be),{format:function(_e){var Je=Pe(_e+="",Oe);return Je.toString=function(){return _e},Je},parse:function(_e){var Je=Ze(_e+="",!1);return Je.toString=function(){return _e},Je},utcFormat:function(_e){var Je=Pe(_e+="",Be);return Je.toString=function(){return _e},Je},utcParse:function(_e){var Je=Ze(_e+="",!0);return Je.toString=function(){return _e},Je}}}var z={"-":"",_:" ",0:"0"},A=/^\s*\d+/,O=/^%/,E=/[\\^$*+?|[\]().{}]/g;function p(Lt,Bt,Ht){var zt=Lt<0?"-":"",ae=(zt?-Lt:Lt)+"",we=ae.length;return zt+(we68?1900:2e3),Ht+zt[0].length):-1}function y(Lt,Bt,Ht){var zt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Bt.slice(Ht,Ht+6));return zt?(Lt.Z=zt[1]?0:-(zt[2]+(zt[3]||"00")),Ht+zt[0].length):-1}function v(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+1));return zt?(Lt.q=3*zt[0]-3,Ht+zt[0].length):-1}function l(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Lt.m=zt[0]-1,Ht+zt[0].length):-1}function u(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Lt.d=+zt[0],Ht+zt[0].length):-1}function D(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+3));return zt?(Lt.m=0,Lt.d=+zt[0],Ht+zt[0].length):-1}function L(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Lt.H=+zt[0],Ht+zt[0].length):-1}function c(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Lt.M=+zt[0],Ht+zt[0].length):-1}function S(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+2));return zt?(Lt.S=+zt[0],Ht+zt[0].length):-1}function I(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+3));return zt?(Lt.L=+zt[0],Ht+zt[0].length):-1}function nt(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht,Ht+6));return zt?(Lt.L=Math.floor(zt[0]/1e3),Ht+zt[0].length):-1}function it(Lt,Bt,Ht){var zt=O.exec(Bt.slice(Ht,Ht+1));return zt?Ht+zt[0].length:-1}function ot(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht));return zt?(Lt.Q=+zt[0],Ht+zt[0].length):-1}function K(Lt,Bt,Ht){var zt=A.exec(Bt.slice(Ht));return zt?(Lt.s=+zt[0],Ht+zt[0].length):-1}function ft(Lt,Bt){return p(Lt.getDate(),Bt,2)}function F(Lt,Bt){return p(Lt.getHours(),Bt,2)}function H(Lt,Bt){return p(Lt.getHours()%12||12,Bt,2)}function ct(Lt,Bt){return p(1+w.b.count(Object(k.a)(Lt),Lt),Bt,3)}function pt(Lt,Bt){return p(Lt.getMilliseconds(),Bt,3)}function et(Lt,Bt){return pt(Lt,Bt)+"000"}function dt(Lt,Bt){return p(Lt.getMonth()+1,Bt,2)}function V(Lt,Bt){return p(Lt.getMinutes(),Bt,2)}function tt(Lt,Bt){return p(Lt.getSeconds(),Bt,2)}function J(Lt){var Bt=Lt.getDay();return Bt===0?7:Bt}function Z(Lt,Bt){return p(s.g.count(Object(k.a)(Lt)-1,Lt),Bt,2)}function st(Lt,Bt){var Ht=Lt.getDay();return Lt=Ht>=4||Ht===0?Object(s.i)(Lt):s.i.ceil(Lt),p(s.i.count(Object(k.a)(Lt),Lt)+(Object(k.a)(Lt).getDay()===4),Bt,2)}function _t(Lt){return Lt.getDay()}function yt(Lt,Bt){return p(s.c.count(Object(k.a)(Lt)-1,Lt),Bt,2)}function Mt(Lt,Bt){return p(Lt.getFullYear()%100,Bt,2)}function xt(Lt,Bt){return p(Lt.getFullYear()%1e4,Bt,4)}function Dt(Lt){var Bt=Lt.getTimezoneOffset();return(Bt>0?"-":(Bt*=-1,"+"))+p(Bt/60|0,"0",2)+p(Bt%60,"0",2)}function jt(Lt,Bt){return p(Lt.getUTCDate(),Bt,2)}function Nt(Lt,Bt){return p(Lt.getUTCHours(),Bt,2)}function Pt(Lt,Bt){return p(Lt.getUTCHours()%12||12,Bt,2)}function Tt(Lt,Bt){return p(1+j.a.count(Object(W.a)(Lt),Lt),Bt,3)}function gt(Lt,Bt){return p(Lt.getUTCMilliseconds(),Bt,3)}function Ot(Lt,Bt){return gt(Lt,Bt)+"000"}function Wt(Lt,Bt){return p(Lt.getUTCMonth()+1,Bt,2)}function $t(Lt,Bt){return p(Lt.getUTCMinutes(),Bt,2)}function se(Lt,Bt){return p(Lt.getUTCSeconds(),Bt,2)}function ue(Lt){var Bt=Lt.getUTCDay();return Bt===0?7:Bt}function Ne(Lt,Bt){return p(bt.g.count(Object(W.a)(Lt)-1,Lt),Bt,2)}function Xe(Lt,Bt){var Ht=Lt.getUTCDay();return Lt=Ht>=4||Ht===0?Object(bt.i)(Lt):bt.i.ceil(Lt),p(bt.i.count(Object(W.a)(Lt),Lt)+(Object(W.a)(Lt).getUTCDay()===4),Bt,2)}function rn(Lt){return Lt.getUTCDay()}function an(Lt,Bt){return p(bt.c.count(Object(W.a)(Lt)-1,Lt),Bt,2)}function en(Lt,Bt){return p(Lt.getUTCFullYear()%100,Bt,2)}function wn(Lt,Bt){return p(Lt.getUTCFullYear()%1e4,Bt,4)}function cn(){return"+0000"}function le(){return"%"}function ie(Lt){return+Lt}function ne(Lt){return Math.floor(+Lt/1e3)}},function(oe,ut,B){"use strict";var bt=B(6),j=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,s=new RegExp(j.source,"g");ut.a=function(w,k){var W,G,Q,U=j.lastIndex=s.lastIndex=0,Y=-1,z=[],A=[];for(w+="",k+="";(W=j.exec(w))&&(G=s.exec(k));)(Q=G.index)>U&&(Q=k.slice(U,Q),z[Y]?z[Y]+=Q:z[++Y]=Q),(W=W[0])===(G=G[0])?z[Y]?z[Y]+=G:z[++Y]=G:(z[++Y]=null,A.push({i:Y,x:Object(bt.a)(W,G)})),U=s.lastIndex;return U=0&&(Y=U.slice(z+1),U=U.slice(0,z)),U&&!Q.hasOwnProperty(U))throw new Error("unknown type: "+U);return{type:U,name:Y}})}function k(G,Q){for(var U,Y=0,z=G.length;Y0)for(var U,Y,z=new Array(U),A=0;A=0))throw C(_,new Error(xt.tagName+"@"+jt));for(var Pt=Dt.length-1;Nt"&&">")||xt=="&"&&"&"||xt=='"'&&"""||""+xt.charCodeAt()+";"}function L(xt,Dt){if(Dt(xt))return!0;if(xt=xt.firstChild)do if(L(xt,Dt))return!0;while(xt=xt.nextSibling)}function c(){}function S(xt,Dt,jt,Nt){xt&&xt._inc++,jt.namespaceURI=="http://www.w3.org/2000/xmlns/"&&delete Dt._nsMap[jt.prefix?jt.localName:""]}function I(xt,Dt,jt){if(xt&&xt._inc){xt._inc++;var Nt=Dt.childNodes;if(jt)Nt[Nt.length++]=jt;else{for(var Pt=Dt.firstChild,Tt=0;Pt;)Nt[Tt++]=Pt,Pt=Pt.nextSibling;Nt.length=Tt}}}function nt(xt,Dt){var jt=Dt.previousSibling,Nt=Dt.nextSibling;return jt?jt.nextSibling=Nt:xt.firstChild=Nt,Nt?Nt.previousSibling=jt:xt.lastChild=jt,I(xt.ownerDocument,xt),Dt}function it(xt,Dt,jt){var Nt=Dt.parentNode;if(Nt&&Nt.removeChild(Dt),Dt.nodeType===O){var Pt=Dt.firstChild;if(Pt==null)return Dt;var Tt=Dt.lastChild}else Pt=Tt=Dt;var gt=jt?jt.previousSibling:xt.lastChild;Pt.previousSibling=gt,Tt.nextSibling=jt,gt?gt.nextSibling=Pt:xt.firstChild=Pt,jt==null?xt.lastChild=Tt:jt.previousSibling=Tt;do Pt.parentNode=xt;while(Pt!==Tt&&(Pt=Pt.nextSibling));return I(xt.ownerDocument||xt,xt),Dt.nodeType==O&&(Dt.firstChild=Dt.lastChild=null),Dt}function ot(){this._nsMap={}}function K(){}function ft(){}function F(){}function H(){}function ct(){}function pt(){}function et(){}function dt(){}function V(){}function tt(){}function J(){}function Z(){}function st(xt,Dt){var jt=[],Nt=this.nodeType==9?this.documentElement:this,Pt=Nt.prefix,Tt=Nt.namespaceURI;if(Tt&&Pt==null&&(Pt=Nt.lookupPrefix(Tt))==null)var gt=[{namespace:Tt,prefix:null}];return yt(this,jt,xt,Dt,gt),jt.join("")}function _t(xt,Dt,jt){var Nt=xt.prefix||"",Pt=xt.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 Tt=jt.length;Tt--;){var gt=jt[Tt];if(gt.prefix==Nt)return gt.namespace!=Pt}return!0}function yt(xt,Dt,jt,Nt,Pt){if(Nt){if(!(xt=Nt(xt)))return;if(typeof xt=="string")return void Dt.push(xt)}switch(xt.nodeType){case s:Pt||(Pt=[]),Pt.length;var Tt=xt.attributes,gt=Tt.length,Ot=xt.firstChild,Wt=xt.tagName;jt=xt.namespaceURI==="http://www.w3.org/1999/xhtml"||jt,Dt.push("<",Wt);for(var $t=0;$t"),jt&&/^script$/i.test(Wt))for(;Ot;)Ot.data?Dt.push(Ot.data):yt(Ot,Dt,jt,Nt,Pt),Ot=Ot.nextSibling;else for(;Ot;)yt(Ot,Dt,jt,Nt,Pt),Ot=Ot.nextSibling;Dt.push("",Wt,">")}else Dt.push("/>");return;case z:case O:for(Ot=xt.firstChild;Ot;)yt(Ot,Dt,jt,Nt,Pt),Ot=Ot.nextSibling;return;case w:return Dt.push(" ",xt.name,'="',xt.value.replace(/[<&"]/g,D),'"');case k:return Dt.push(xt.data.replace(/[<&]/g,D));case W:return Dt.push("");case Y:return Dt.push("");case A:var rn=xt.publicId,an=xt.systemId;if(Dt.push("');else if(an&&an!=".")Dt.push(' SYSTEM "',an,'">');else{var en=xt.internalSubset;en&&Dt.push(" [",en,"]"),Dt.push(">")}return;case U:return Dt.push("",xt.target," ",xt.data,"?>");case G:return Dt.push("&",xt.nodeName,";");default:Dt.push("??",xt.nodeName)}}function Mt(xt,Dt,jt){xt[Dt]=jt}C.prototype=Error.prototype,B(p,C),x.prototype={length:0,item:function(xt){return this[xt]||null},toString:function(xt,Dt){for(var jt=[],Nt=0;Nt0},lookupPrefix:function(xt){for(var Dt=this;Dt;){var jt=Dt._nsMap;if(jt){for(var Nt in jt)if(jt[Nt]==xt)return Nt}Dt=Dt.nodeType==w?Dt.ownerDocument:Dt.parentNode}return null},lookupNamespaceURI:function(xt){for(var Dt=this;Dt;){var jt=Dt._nsMap;if(jt&&xt in jt)return jt[xt];Dt=Dt.nodeType==w?Dt.ownerDocument:Dt.parentNode}return null},isDefaultNamespace:function(xt){return this.lookupPrefix(xt)==null}},B(j,u),B(j,u.prototype),c.prototype={nodeName:"#document",nodeType:z,doctype:null,documentElement:null,_inc:1,insertBefore:function(xt,Dt){if(xt.nodeType==O){for(var jt=xt.firstChild;jt;){var Nt=jt.nextSibling;this.insertBefore(jt,Dt),jt=Nt}return xt}return this.documentElement==null&&xt.nodeType==s&&(this.documentElement=xt),it(this,xt,Dt),xt.ownerDocument=this,xt},removeChild:function(xt){return this.documentElement==xt&&(this.documentElement=null),nt(this,xt)},importNode:function(xt,Dt){return function jt(Nt,Pt,Tt){var gt;switch(Pt.nodeType){case s:(gt=Pt.cloneNode(!1)).ownerDocument=Nt;case O:break;case w:Tt=!0}if(gt||(gt=Pt.cloneNode(!1)),gt.ownerDocument=Nt,gt.parentNode=null,Tt)for(var Ot=Pt.firstChild;Ot;)gt.appendChild(jt(Nt,Ot,Tt)),Ot=Ot.nextSibling;return gt}(this,xt,Dt)},getElementById:function(xt){var Dt=null;return L(this.documentElement,function(jt){if(jt.nodeType==s&&jt.getAttribute("id")==xt)return Dt=jt,!0}),Dt},createElement:function(xt){var Dt=new ot;return Dt.ownerDocument=this,Dt.nodeName=xt,Dt.tagName=xt,Dt.childNodes=new x,(Dt.attributes=new b)._ownerElement=Dt,Dt},createDocumentFragment:function(){var xt=new tt;return xt.ownerDocument=this,xt.childNodes=new x,xt},createTextNode:function(xt){var Dt=new F;return Dt.ownerDocument=this,Dt.appendData(xt),Dt},createComment:function(xt){var Dt=new H;return Dt.ownerDocument=this,Dt.appendData(xt),Dt},createCDATASection:function(xt){var Dt=new ct;return Dt.ownerDocument=this,Dt.appendData(xt),Dt},createProcessingInstruction:function(xt,Dt){var jt=new J;return jt.ownerDocument=this,jt.tagName=jt.target=xt,jt.nodeValue=jt.data=Dt,jt},createAttribute:function(xt){var Dt=new K;return Dt.ownerDocument=this,Dt.name=xt,Dt.nodeName=xt,Dt.localName=xt,Dt.specified=!0,Dt},createEntityReference:function(xt){var Dt=new V;return Dt.ownerDocument=this,Dt.nodeName=xt,Dt},createElementNS:function(xt,Dt){var jt=new ot,Nt=Dt.split(":"),Pt=jt.attributes=new b;return jt.childNodes=new x,jt.ownerDocument=this,jt.nodeName=Dt,jt.tagName=Dt,jt.namespaceURI=xt,Nt.length==2?(jt.prefix=Nt[0],jt.localName=Nt[1]):jt.localName=Dt,Pt._ownerElement=jt,jt},createAttributeNS:function(xt,Dt){var jt=new K,Nt=Dt.split(":");return jt.ownerDocument=this,jt.nodeName=Dt,jt.name=Dt,jt.namespaceURI=xt,jt.specified=!0,Nt.length==2?(jt.prefix=Nt[0],jt.localName=Nt[1]):jt.localName=Dt,jt}},bt(c,u),ot.prototype={nodeType:s,hasAttribute:function(xt){return this.getAttributeNode(xt)!=null},getAttribute:function(xt){var Dt=this.getAttributeNode(xt);return Dt&&Dt.value||""},getAttributeNode:function(xt){return this.attributes.getNamedItem(xt)},setAttribute:function(xt,Dt){var jt=this.ownerDocument.createAttribute(xt);jt.value=jt.nodeValue=""+Dt,this.setAttributeNode(jt)},removeAttribute:function(xt){var Dt=this.getAttributeNode(xt);Dt&&this.removeAttributeNode(Dt)},appendChild:function(xt){return xt.nodeType===O?this.insertBefore(xt,null):function(Dt,jt){var Nt=jt.parentNode;if(Nt){var Pt=Dt.lastChild;Nt.removeChild(jt),Pt=Dt.lastChild}return Pt=Dt.lastChild,jt.parentNode=Dt,jt.previousSibling=Pt,jt.nextSibling=null,Pt?Pt.nextSibling=jt:Dt.firstChild=jt,Dt.lastChild=jt,I(Dt.ownerDocument,Dt,jt),jt}(this,xt)},setAttributeNode:function(xt){return this.attributes.setNamedItem(xt)},setAttributeNodeNS:function(xt){return this.attributes.setNamedItemNS(xt)},removeAttributeNode:function(xt){return this.attributes.removeNamedItem(xt.nodeName)},removeAttributeNS:function(xt,Dt){var jt=this.getAttributeNodeNS(xt,Dt);jt&&this.removeAttributeNode(jt)},hasAttributeNS:function(xt,Dt){return this.getAttributeNodeNS(xt,Dt)!=null},getAttributeNS:function(xt,Dt){var jt=this.getAttributeNodeNS(xt,Dt);return jt&&jt.value||""},setAttributeNS:function(xt,Dt,jt){var Nt=this.ownerDocument.createAttributeNS(xt,Dt);Nt.value=Nt.nodeValue=""+jt,this.setAttributeNode(Nt)},getAttributeNodeNS:function(xt,Dt){return this.attributes.getNamedItemNS(xt,Dt)},getElementsByTagName:function(xt){return new m(this,function(Dt){var jt=[];return L(Dt,function(Nt){Nt===Dt||Nt.nodeType!=s||xt!=="*"&&Nt.tagName!=xt||jt.push(Nt)}),jt})},getElementsByTagNameNS:function(xt,Dt){return new m(this,function(jt){var Nt=[];return L(jt,function(Pt){Pt===jt||Pt.nodeType!==s||xt!=="*"&&Pt.namespaceURI!==xt||Dt!=="*"&&Pt.localName!=Dt||Nt.push(Pt)}),Nt})}},c.prototype.getElementsByTagName=ot.prototype.getElementsByTagName,c.prototype.getElementsByTagNameNS=ot.prototype.getElementsByTagNameNS,bt(ot,u),K.prototype.nodeType=w,bt(K,u),ft.prototype={data:"",substringData:function(xt,Dt){return this.data.substring(xt,xt+Dt)},appendData:function(xt){xt=this.data+xt,this.nodeValue=this.data=xt,this.length=xt.length},insertData:function(xt,Dt){this.replaceData(xt,0,Dt)},appendChild:function(xt){throw new Error(o[T])},deleteData:function(xt,Dt){this.replaceData(xt,Dt,"")},replaceData:function(xt,Dt,jt){jt=this.data.substring(0,xt)+jt+this.data.substring(xt+Dt),this.nodeValue=this.data=jt,this.length=jt.length}},bt(ft,u),F.prototype={nodeName:"#text",nodeType:k,splitText:function(xt){var Dt=this.data,jt=Dt.substring(xt);Dt=Dt.substring(0,xt),this.data=this.nodeValue=Dt,this.length=Dt.length;var Nt=this.ownerDocument.createTextNode(jt);return this.parentNode&&this.parentNode.insertBefore(Nt,this.nextSibling),Nt}},bt(F,ft),H.prototype={nodeName:"#comment",nodeType:Y},bt(H,ft),ct.prototype={nodeName:"#cdata-section",nodeType:W},bt(ct,ft),pt.prototype.nodeType=A,bt(pt,u),et.prototype.nodeType=E,bt(et,u),dt.prototype.nodeType=Q,bt(dt,u),V.prototype.nodeType=G,bt(V,u),tt.prototype.nodeName="#document-fragment",tt.prototype.nodeType=O,bt(tt,u),J.prototype.nodeType=U,bt(J,u),Z.prototype.serializeToString=function(xt,Dt,jt){return st.call(xt,Dt,jt)},u.prototype.toString=st;try{Object.defineProperty&&(Object.defineProperty(m.prototype,"length",{get:function(){return g(this),this.$$length}}),Object.defineProperty(u.prototype,"textContent",{get:function(){return function xt(Dt){switch(Dt.nodeType){case s:case O:var jt=[];for(Dt=Dt.firstChild;Dt;)Dt.nodeType!==7&&Dt.nodeType!==8&&jt.push(xt(Dt)),Dt=Dt.nextSibling;return jt.join("");default:return Dt.nodeValue}}(this)},set:function(xt){switch(this.nodeType){case s:case O:for(;this.firstChild;)this.removeChild(this.firstChild);(xt||String(xt))&&this.appendChild(this.ownerDocument.createTextNode(xt));break;default:this.data=xt,this.value=xt,this.nodeValue=xt}}}),Mt=function(xt,Dt,jt){xt["$$"+Dt]=jt})}catch(xt){}ut.DOMImplementation=l,ut.XMLSerializer=Z},,function(oe,ut,B){"use strict";B.r(ut);var bt=Math.PI,j=2*bt,s=j-1e-6;function w(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function k(){return new w}w.prototype=k.prototype={constructor:w,moveTo:function(mt,Rt){this._+="M"+(this._x0=this._x1=+mt)+","+(this._y0=this._y1=+Rt)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(mt,Rt){this._+="L"+(this._x1=+mt)+","+(this._y1=+Rt)},quadraticCurveTo:function(mt,Rt,Xt,Et){this._+="Q"+ +mt+","+ +Rt+","+(this._x1=+Xt)+","+(this._y1=+Et)},bezierCurveTo:function(mt,Rt,Xt,Et,Vt,ee){this._+="C"+ +mt+","+ +Rt+","+ +Xt+","+ +Et+","+(this._x1=+Vt)+","+(this._y1=+ee)},arcTo:function(mt,Rt,Xt,Et,Vt){mt=+mt,Rt=+Rt,Xt=+Xt,Et=+Et,Vt=+Vt;var ee=this._x1,ce=this._y1,fe=Xt-mt,Se=Et-Rt,Ge=ee-mt,Fe=ce-Rt,Qe=Ge*Ge+Fe*Fe;if(Vt<0)throw new Error("negative radius: "+Vt);if(this._x1===null)this._+="M"+(this._x1=mt)+","+(this._y1=Rt);else if(Qe>1e-6)if(Math.abs(Fe*fe-Se*Ge)>1e-6&&Vt){var Sn=Xt-ee,Rn=Et-ce,zn=fe*fe+Se*Se,dr=Sn*Sn+Rn*Rn,ir=Math.sqrt(zn),$n=Math.sqrt(Qe),ur=Vt*Math.tan((bt-Math.acos((zn+Qe-dr)/(2*ir*$n)))/2),Cr=ur/$n,br=ur/ir;Math.abs(Cr-1)>1e-6&&(this._+="L"+(mt+Cr*Ge)+","+(Rt+Cr*Fe)),this._+="A"+Vt+","+Vt+",0,0,"+ +(Fe*Sn>Ge*Rn)+","+(this._x1=mt+br*fe)+","+(this._y1=Rt+br*Se)}else this._+="L"+(this._x1=mt)+","+(this._y1=Rt)},arc:function(mt,Rt,Xt,Et,Vt,ee){mt=+mt,Rt=+Rt,ee=!!ee;var ce=(Xt=+Xt)*Math.cos(Et),fe=Xt*Math.sin(Et),Se=mt+ce,Ge=Rt+fe,Fe=1^ee,Qe=ee?Et-Vt:Vt-Et;if(Xt<0)throw new Error("negative radius: "+Xt);this._x1===null?this._+="M"+Se+","+Ge:(Math.abs(this._x1-Se)>1e-6||Math.abs(this._y1-Ge)>1e-6)&&(this._+="L"+Se+","+Ge),Xt&&(Qe<0&&(Qe=Qe%j+j),Qe>s?this._+="A"+Xt+","+Xt+",0,1,"+Fe+","+(mt-ce)+","+(Rt-fe)+"A"+Xt+","+Xt+",0,1,"+Fe+","+(this._x1=Se)+","+(this._y1=Ge):Qe>1e-6&&(this._+="A"+Xt+","+Xt+",0,"+ +(Qe>=bt)+","+Fe+","+(this._x1=mt+Xt*Math.cos(Vt))+","+(this._y1=Rt+Xt*Math.sin(Vt))))},rect:function(mt,Rt,Xt,Et){this._+="M"+(this._x0=this._x1=+mt)+","+(this._y0=this._y1=+Rt)+"h"+ +Xt+"v"+ +Et+"h"+-Xt+"Z"},toString:function(){return this._}};var W=k,G=function(mt){return function(){return mt}},Q=Math.abs,U=Math.atan2,Y=Math.cos,z=Math.max,A=Math.min,O=Math.sin,E=Math.sqrt,p=Math.PI,o=p/2,T=2*p;function _(mt){return mt>1?0:mt<-1?p:Math.acos(mt)}function f(mt){return mt>=1?o:mt<=-1?-o:Math.asin(mt)}function C(mt){return mt.innerRadius}function x(mt){return mt.outerRadius}function m(mt){return mt.startAngle}function g(mt){return mt.endAngle}function b(mt){return mt&&mt.padAngle}function R(mt,Rt,Xt,Et,Vt,ee,ce,fe){var Se=Xt-mt,Ge=Et-Rt,Fe=ce-Vt,Qe=fe-ee,Sn=Qe*Se-Fe*Ge;if(!(Sn*Sn<1e-12))return[mt+(Sn=(Fe*(Rt-ee)-Qe*(mt-Vt))/Sn)*Se,Rt+Sn*Ge]}function y(mt,Rt,Xt,Et,Vt,ee,ce){var fe=mt-Xt,Se=Rt-Et,Ge=(ce?ee:-ee)/E(fe*fe+Se*Se),Fe=Ge*Se,Qe=-Ge*fe,Sn=mt+Fe,Rn=Rt+Qe,zn=Xt+Fe,dr=Et+Qe,ir=(Sn+zn)/2,$n=(Rn+dr)/2,ur=zn-Sn,Cr=dr-Rn,br=ur*ur+Cr*Cr,jr=Vt-ee,Gr=Sn*dr-zn*Rn,li=(Cr<0?-1:1)*E(z(0,jr*jr*br-Gr*Gr)),Ri=(Gr*Cr-ur*li)/br,Pi=(-Gr*ur-Cr*li)/br,vi=(Gr*Cr+ur*li)/br,Oi=(-Gr*ur+Cr*li)/br,Li=Ri-ir,Ni=Pi-$n,Xi=vi-ir,io=Oi-$n;return Li*Li+Ni*Ni>Xi*Xi+io*io&&(Ri=vi,Pi=Oi),{cx:Ri,cy:Pi,x01:-Fe,y01:-Qe,x11:Ri*(Vt/jr-1),y11:Pi*(Vt/jr-1)}}var v=function(){var mt=C,Rt=x,Xt=G(0),Et=null,Vt=m,ee=g,ce=b,fe=null;function Se(){var Ge,Fe,Qe=+mt.apply(this,arguments),Sn=+Rt.apply(this,arguments),Rn=Vt.apply(this,arguments)-o,zn=ee.apply(this,arguments)-o,dr=Q(zn-Rn),ir=zn>Rn;if(fe||(fe=Ge=W()),Sn1e-12)if(dr>T-1e-12)fe.moveTo(Sn*Y(Rn),Sn*O(Rn)),fe.arc(0,0,Sn,Rn,zn,!ir),Qe>1e-12&&(fe.moveTo(Qe*Y(zn),Qe*O(zn)),fe.arc(0,0,Qe,zn,Rn,ir));else{var $n,ur,Cr=Rn,br=zn,jr=Rn,Gr=zn,li=dr,Ri=dr,Pi=ce.apply(this,arguments)/2,vi=Pi>1e-12&&(Et?+Et.apply(this,arguments):E(Qe*Qe+Sn*Sn)),Oi=A(Q(Sn-Qe)/2,+Xt.apply(this,arguments)),Li=Oi,Ni=Oi;if(vi>1e-12){var Xi=f(vi/Qe*O(Pi)),io=f(vi/Sn*O(Pi));(li-=2*Xi)>1e-12?(jr+=Xi*=ir?1:-1,Gr-=Xi):(li=0,jr=Gr=(Rn+zn)/2),(Ri-=2*io)>1e-12?(Cr+=io*=ir?1:-1,br-=io):(Ri=0,Cr=br=(Rn+zn)/2)}var Zi=Sn*Y(Cr),So=Sn*O(Cr),Ao=Qe*Y(Gr),ho=Qe*O(Gr);if(Oi>1e-12){var ao,wo=Sn*Y(br),Ho=Sn*O(br),lo=Qe*Y(jr),ki=Qe*O(jr);if(dr1e-12?Ni>1e-12?($n=y(lo,ki,Zi,So,Sn,Ni,ir),ur=y(wo,Ho,Ao,ho,Sn,Ni,ir),fe.moveTo($n.cx+$n.x01,$n.cy+$n.y01),Ni1e-12&&li>1e-12?Li>1e-12?($n=y(Ao,ho,wo,Ho,Qe,-Li,ir),ur=y(Zi,So,lo,ki,Qe,-Li,ir),fe.lineTo($n.cx+$n.x01,$n.cy+$n.y01),Li=Sn;--Rn)fe.point(ur[Rn],Cr[Rn]);fe.lineEnd(),fe.areaEnd()}$n&&(ur[Qe]=+mt(zn,Qe,Fe),Cr[Qe]=+Xt(zn,Qe,Fe),fe.point(Rt?+Rt(zn,Qe,Fe):ur[Qe],Et?+Et(zn,Qe,Fe):Cr[Qe]))}if(dr)return fe=null,dr+""||null}function Ge(){return c().defined(Vt).curve(ce).context(ee)}return Se.x=function(Fe){return arguments.length?(mt=typeof Fe=="function"?Fe:G(+Fe),Rt=null,Se):mt},Se.x0=function(Fe){return arguments.length?(mt=typeof Fe=="function"?Fe:G(+Fe),Se):mt},Se.x1=function(Fe){return arguments.length?(Rt=Fe==null?null:typeof Fe=="function"?Fe:G(+Fe),Se):Rt},Se.y=function(Fe){return arguments.length?(Xt=typeof Fe=="function"?Fe:G(+Fe),Et=null,Se):Xt},Se.y0=function(Fe){return arguments.length?(Xt=typeof Fe=="function"?Fe:G(+Fe),Se):Xt},Se.y1=function(Fe){return arguments.length?(Et=Fe==null?null:typeof Fe=="function"?Fe:G(+Fe),Se):Et},Se.lineX0=Se.lineY0=function(){return Ge().x(mt).y(Xt)},Se.lineY1=function(){return Ge().x(mt).y(Et)},Se.lineX1=function(){return Ge().x(Rt).y(Xt)},Se.defined=function(Fe){return arguments.length?(Vt=typeof Fe=="function"?Fe:G(!!Fe),Se):Vt},Se.curve=function(Fe){return arguments.length?(ce=Fe,ee!=null&&(fe=ce(ee)),Se):ce},Se.context=function(Fe){return arguments.length?(Fe==null?ee=fe=null:fe=ce(ee=Fe),Se):ee},Se},I=function(mt,Rt){return Rtmt?1:Rt>=mt?0:NaN},nt=function(mt){return mt},it=function(){var mt=nt,Rt=I,Xt=null,Et=G(0),Vt=G(T),ee=G(0);function ce(fe){var Se,Ge,Fe,Qe,Sn,Rn=fe.length,zn=0,dr=new Array(Rn),ir=new Array(Rn),$n=+Et.apply(this,arguments),ur=Math.min(T,Math.max(-T,Vt.apply(this,arguments)-$n)),Cr=Math.min(Math.abs(ur)/Rn,ee.apply(this,arguments)),br=Cr*(ur<0?-1:1);for(Se=0;Se0&&(zn+=Sn);for(Rt!=null?dr.sort(function(jr,Gr){return Rt(ir[jr],ir[Gr])}):Xt!=null&&dr.sort(function(jr,Gr){return Xt(fe[jr],fe[Gr])}),Se=0,Fe=zn?(ur-Rn*br)/zn:0;Se0?Sn*Fe:0)+br,ir[Ge]={data:fe[Ge],index:Se,value:Sn,startAngle:$n,endAngle:Qe,padAngle:Cr};return ir}return ce.value=function(fe){return arguments.length?(mt=typeof fe=="function"?fe:G(+fe),ce):mt},ce.sortValues=function(fe){return arguments.length?(Rt=fe,Xt=null,ce):Rt},ce.sort=function(fe){return arguments.length?(Xt=fe,Rt=null,ce):Xt},ce.startAngle=function(fe){return arguments.length?(Et=typeof fe=="function"?fe:G(+fe),ce):Et},ce.endAngle=function(fe){return arguments.length?(Vt=typeof fe=="function"?fe:G(+fe),ce):Vt},ce.padAngle=function(fe){return arguments.length?(ee=typeof fe=="function"?fe:G(+fe),ce):ee},ce},ot=ft(u);function K(mt){this._curve=mt}function ft(mt){function Rt(Xt){return new K(mt(Xt))}return Rt._curve=mt,Rt}function F(mt){var Rt=mt.curve;return mt.angle=mt.x,delete mt.x,mt.radius=mt.y,delete mt.y,mt.curve=function(Xt){return arguments.length?Rt(ft(Xt)):Rt()._curve},mt}K.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(mt,Rt){this._curve.point(Rt*Math.sin(mt),Rt*-Math.cos(mt))}};var H=function(){return F(c().curve(ot))},ct=function(){var mt=S().curve(ot),Rt=mt.curve,Xt=mt.lineX0,Et=mt.lineX1,Vt=mt.lineY0,ee=mt.lineY1;return mt.angle=mt.x,delete mt.x,mt.startAngle=mt.x0,delete mt.x0,mt.endAngle=mt.x1,delete mt.x1,mt.radius=mt.y,delete mt.y,mt.innerRadius=mt.y0,delete mt.y0,mt.outerRadius=mt.y1,delete mt.y1,mt.lineStartAngle=function(){return F(Xt())},delete mt.lineX0,mt.lineEndAngle=function(){return F(Et())},delete mt.lineX1,mt.lineInnerRadius=function(){return F(Vt())},delete mt.lineY0,mt.lineOuterRadius=function(){return F(ee())},delete mt.lineY1,mt.curve=function(ce){return arguments.length?Rt(ft(ce)):Rt()._curve},mt},pt=function(mt,Rt){return[(Rt=+Rt)*Math.cos(mt-=Math.PI/2),Rt*Math.sin(mt)]},et=Array.prototype.slice;function dt(mt){return mt.source}function V(mt){return mt.target}function tt(mt){var Rt=dt,Xt=V,Et=D,Vt=L,ee=null;function ce(){var fe,Se=et.call(arguments),Ge=Rt.apply(this,Se),Fe=Xt.apply(this,Se);if(ee||(ee=fe=W()),mt(ee,+Et.apply(this,(Se[0]=Ge,Se)),+Vt.apply(this,Se),+Et.apply(this,(Se[0]=Fe,Se)),+Vt.apply(this,Se)),fe)return ee=null,fe+""||null}return ce.source=function(fe){return arguments.length?(Rt=fe,ce):Rt},ce.target=function(fe){return arguments.length?(Xt=fe,ce):Xt},ce.x=function(fe){return arguments.length?(Et=typeof fe=="function"?fe:G(+fe),ce):Et},ce.y=function(fe){return arguments.length?(Vt=typeof fe=="function"?fe:G(+fe),ce):Vt},ce.context=function(fe){return arguments.length?(ee=fe==null?null:fe,ce):ee},ce}function J(mt,Rt,Xt,Et,Vt){mt.moveTo(Rt,Xt),mt.bezierCurveTo(Rt=(Rt+Et)/2,Xt,Rt,Vt,Et,Vt)}function Z(mt,Rt,Xt,Et,Vt){mt.moveTo(Rt,Xt),mt.bezierCurveTo(Rt,Xt=(Xt+Vt)/2,Et,Xt,Et,Vt)}function st(mt,Rt,Xt,Et,Vt){var ee=pt(Rt,Xt),ce=pt(Rt,Xt=(Xt+Vt)/2),fe=pt(Et,Xt),Se=pt(Et,Vt);mt.moveTo(ee[0],ee[1]),mt.bezierCurveTo(ce[0],ce[1],fe[0],fe[1],Se[0],Se[1])}function _t(){return tt(J)}function yt(){return tt(Z)}function Mt(){var mt=tt(st);return mt.angle=mt.x,delete mt.x,mt.radius=mt.y,delete mt.y,mt}var xt={draw:function(mt,Rt){var Xt=Math.sqrt(Rt/p);mt.moveTo(Xt,0),mt.arc(0,0,Xt,0,T)}},Dt={draw:function(mt,Rt){var Xt=Math.sqrt(Rt/5)/2;mt.moveTo(-3*Xt,-Xt),mt.lineTo(-Xt,-Xt),mt.lineTo(-Xt,-3*Xt),mt.lineTo(Xt,-3*Xt),mt.lineTo(Xt,-Xt),mt.lineTo(3*Xt,-Xt),mt.lineTo(3*Xt,Xt),mt.lineTo(Xt,Xt),mt.lineTo(Xt,3*Xt),mt.lineTo(-Xt,3*Xt),mt.lineTo(-Xt,Xt),mt.lineTo(-3*Xt,Xt),mt.closePath()}},jt=Math.sqrt(1/3),Nt=2*jt,Pt={draw:function(mt,Rt){var Xt=Math.sqrt(Rt/Nt),Et=Xt*jt;mt.moveTo(0,-Xt),mt.lineTo(Et,0),mt.lineTo(0,Xt),mt.lineTo(-Et,0),mt.closePath()}},Tt=Math.sin(p/10)/Math.sin(7*p/10),gt=Math.sin(T/10)*Tt,Ot=-Math.cos(T/10)*Tt,Wt={draw:function(mt,Rt){var Xt=Math.sqrt(.8908130915292852*Rt),Et=gt*Xt,Vt=Ot*Xt;mt.moveTo(0,-Xt),mt.lineTo(Et,Vt);for(var ee=1;ee<5;++ee){var ce=T*ee/5,fe=Math.cos(ce),Se=Math.sin(ce);mt.lineTo(Se*Xt,-fe*Xt),mt.lineTo(fe*Et-Se*Vt,Se*Et+fe*Vt)}mt.closePath()}},$t={draw:function(mt,Rt){var Xt=Math.sqrt(Rt),Et=-Xt/2;mt.rect(Et,Et,Xt,Xt)}},se=Math.sqrt(3),ue={draw:function(mt,Rt){var Xt=-Math.sqrt(Rt/(3*se));mt.moveTo(0,2*Xt),mt.lineTo(-se*Xt,-Xt),mt.lineTo(se*Xt,-Xt),mt.closePath()}},Ne=Math.sqrt(3)/2,Xe=1/Math.sqrt(12),rn=3*(Xe/2+1),an={draw:function(mt,Rt){var Xt=Math.sqrt(Rt/rn),Et=Xt/2,Vt=Xt*Xe,ee=Et,ce=Xt*Xe+Xt,fe=-ee,Se=ce;mt.moveTo(Et,Vt),mt.lineTo(ee,ce),mt.lineTo(fe,Se),mt.lineTo(-.5*Et-Ne*Vt,Ne*Et+-.5*Vt),mt.lineTo(-.5*ee-Ne*ce,Ne*ee+-.5*ce),mt.lineTo(-.5*fe-Ne*Se,Ne*fe+-.5*Se),mt.lineTo(-.5*Et+Ne*Vt,-.5*Vt-Ne*Et),mt.lineTo(-.5*ee+Ne*ce,-.5*ce-Ne*ee),mt.lineTo(-.5*fe+Ne*Se,-.5*Se-Ne*fe),mt.closePath()}},en=[xt,Dt,Pt,$t,Wt,ue,an],wn=function(){var mt=G(xt),Rt=G(64),Xt=null;function Et(){var Vt;if(Xt||(Xt=Vt=W()),mt.apply(this,arguments).draw(Xt,+Rt.apply(this,arguments)),Vt)return Xt=null,Vt+""||null}return Et.type=function(Vt){return arguments.length?(mt=typeof Vt=="function"?Vt:G(Vt),Et):mt},Et.size=function(Vt){return arguments.length?(Rt=typeof Vt=="function"?Vt:G(+Vt),Et):Rt},Et.context=function(Vt){return arguments.length?(Xt=Vt==null?null:Vt,Et):Xt},Et},cn=function(){};function le(mt,Rt,Xt){mt._context.bezierCurveTo((2*mt._x0+mt._x1)/3,(2*mt._y0+mt._y1)/3,(mt._x0+2*mt._x1)/3,(mt._y0+2*mt._y1)/3,(mt._x0+4*mt._x1+Rt)/6,(mt._y0+4*mt._y1+Xt)/6)}function ie(mt){this._context=mt}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:le(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(mt,Rt){switch(mt=+mt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(mt,Rt):this._context.moveTo(mt,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:le(this,mt,Rt)}this._x0=this._x1,this._x1=mt,this._y0=this._y1,this._y1=Rt}};var ne=function(mt){return new ie(mt)};function Lt(mt){this._context=mt}Lt.prototype={areaStart:cn,areaEnd:cn,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(mt,Rt){switch(mt=+mt,Rt=+Rt,this._point){case 0:this._point=1,this._x2=mt,this._y2=Rt;break;case 1:this._point=2,this._x3=mt,this._y3=Rt;break;case 2:this._point=3,this._x4=mt,this._y4=Rt,this._context.moveTo((this._x0+4*this._x1+mt)/6,(this._y0+4*this._y1+Rt)/6);break;default:le(this,mt,Rt)}this._x0=this._x1,this._x1=mt,this._y0=this._y1,this._y1=Rt}};var Bt=function(mt){return new Lt(mt)};function Ht(mt){this._context=mt}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(mt,Rt){switch(mt=+mt,Rt=+Rt,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var Xt=(this._x0+4*this._x1+mt)/6,Et=(this._y0+4*this._y1+Rt)/6;this._line?this._context.lineTo(Xt,Et):this._context.moveTo(Xt,Et);break;case 3:this._point=4;default:le(this,mt,Rt)}this._x0=this._x1,this._x1=mt,this._y0=this._y1,this._y1=Rt}};var zt=function(mt){return new Ht(mt)};function ae(mt,Rt){this._basis=new ie(mt),this._beta=Rt}ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var mt=this._x,Rt=this._y,Xt=mt.length-1;if(Xt>0)for(var Et,Vt=mt[0],ee=Rt[0],ce=mt[Xt]-Vt,fe=Rt[Xt]-ee,Se=-1;++Se<=Xt;)Et=Se/Xt,this._basis.point(this._beta*mt[Se]+(1-this._beta)*(Vt+Et*ce),this._beta*Rt[Se]+(1-this._beta)*(ee+Et*fe));this._x=this._y=null,this._basis.lineEnd()},point:function(mt,Rt){this._x.push(+mt),this._y.push(+Rt)}};var we=function mt(Rt){function Xt(Et){return Rt===1?new ie(Et):new ae(Et,Rt)}return Xt.beta=function(Et){return mt(+Et)},Xt}(.85);function pe(mt,Rt,Xt){mt._context.bezierCurveTo(mt._x1+mt._k*(mt._x2-mt._x0),mt._y1+mt._k*(mt._y2-mt._y0),mt._x2+mt._k*(mt._x1-Rt),mt._y2+mt._k*(mt._y1-Xt),mt._x2,mt._y2)}function $e(mt,Rt){this._context=mt,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:pe(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(mt,Rt){switch(mt=+mt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(mt,Rt):this._context.moveTo(mt,Rt);break;case 1:this._point=2,this._x1=mt,this._y1=Rt;break;case 2:this._point=3;default:pe(this,mt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=mt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var fn=function mt(Rt){function Xt(Et){return new $e(Et,Rt)}return Xt.tension=function(Et){return mt(+Et)},Xt}(0);function xn(mt,Rt){this._context=mt,this._k=(1-Rt)/6}xn.prototype={areaStart:cn,areaEnd:cn,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(mt,Rt){switch(mt=+mt,Rt=+Rt,this._point){case 0:this._point=1,this._x3=mt,this._y3=Rt;break;case 1:this._point=2,this._context.moveTo(this._x4=mt,this._y4=Rt);break;case 2:this._point=3,this._x5=mt,this._y5=Rt;break;default:pe(this,mt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=mt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Yn=function mt(Rt){function Xt(Et){return new xn(Et,Rt)}return Xt.tension=function(Et){return mt(+Et)},Xt}(0);function pn(mt,Rt){this._context=mt,this._k=(1-Rt)/6}pn.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(mt,Rt){switch(mt=+mt,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:pe(this,mt,Rt)}this._x0=this._x1,this._x1=this._x2,this._x2=mt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Tn=function mt(Rt){function Xt(Et){return new pn(Et,Rt)}return Xt.tension=function(Et){return mt(+Et)},Xt}(0);function tr(mt,Rt,Xt){var Et=mt._x1,Vt=mt._y1,ee=mt._x2,ce=mt._y2;if(mt._l01_a>1e-12){var fe=2*mt._l01_2a+3*mt._l01_a*mt._l12_a+mt._l12_2a,Se=3*mt._l01_a*(mt._l01_a+mt._l12_a);Et=(Et*fe-mt._x0*mt._l12_2a+mt._x2*mt._l01_2a)/Se,Vt=(Vt*fe-mt._y0*mt._l12_2a+mt._y2*mt._l01_2a)/Se}if(mt._l23_a>1e-12){var Ge=2*mt._l23_2a+3*mt._l23_a*mt._l12_a+mt._l12_2a,Fe=3*mt._l23_a*(mt._l23_a+mt._l12_a);ee=(ee*Ge+mt._x1*mt._l23_2a-Rt*mt._l12_2a)/Fe,ce=(ce*Ge+mt._y1*mt._l23_2a-Xt*mt._l12_2a)/Fe}mt._context.bezierCurveTo(Et,Vt,ee,ce,mt._x2,mt._y2)}function Er(mt,Rt){this._context=mt,this._alpha=Rt}Er.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(mt,Rt){if(mt=+mt,Rt=+Rt,this._point){var Xt=this._x2-mt,Et=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Xt*Xt+Et*Et,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(mt,Rt):this._context.moveTo(mt,Rt);break;case 1:this._point=2;break;case 2:this._point=3;default:tr(this,mt,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=mt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var ge=function mt(Rt){function Xt(Et){return Rt?new Er(Et,Rt):new $e(Et,0)}return Xt.alpha=function(Et){return mt(+Et)},Xt}(.5);function je(mt,Rt){this._context=mt,this._alpha=Rt}je.prototype={areaStart:cn,areaEnd:cn,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(mt,Rt){if(mt=+mt,Rt=+Rt,this._point){var Xt=this._x2-mt,Et=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Xt*Xt+Et*Et,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=mt,this._y3=Rt;break;case 1:this._point=2,this._context.moveTo(this._x4=mt,this._y4=Rt);break;case 2:this._point=3,this._x5=mt,this._y5=Rt;break;default:tr(this,mt,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=mt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var We=function mt(Rt){function Xt(Et){return Rt?new je(Et,Rt):new xn(Et,0)}return Xt.alpha=function(Et){return mt(+Et)},Xt}(.5);function me(mt,Rt){this._context=mt,this._alpha=Rt}me.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(mt,Rt){if(mt=+mt,Rt=+Rt,this._point){var Xt=this._x2-mt,Et=this._y2-Rt;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(Xt*Xt+Et*Et,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:tr(this,mt,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=mt,this._y0=this._y1,this._y1=this._y2,this._y2=Rt}};var Oe=function mt(Rt){function Xt(Et){return Rt?new me(Et,Rt):new pn(Et,0)}return Xt.alpha=function(Et){return mt(+Et)},Xt}(.5);function Be(mt){this._context=mt}Be.prototype={areaStart:cn,areaEnd:cn,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(mt,Rt){mt=+mt,Rt=+Rt,this._point?this._context.lineTo(mt,Rt):(this._point=1,this._context.moveTo(mt,Rt))}};var Ae=function(mt){return new Be(mt)};function Pe(mt){return mt<0?-1:1}function Ze(mt,Rt,Xt){var Et=mt._x1-mt._x0,Vt=Rt-mt._x1,ee=(mt._y1-mt._y0)/(Et||Vt<0&&-0),ce=(Xt-mt._y1)/(Vt||Et<0&&-0),fe=(ee*Vt+ce*Et)/(Et+Vt);return(Pe(ee)+Pe(ce))*Math.min(Math.abs(ee),Math.abs(ce),.5*Math.abs(fe))||0}function _n(mt,Rt){var Xt=mt._x1-mt._x0;return Xt?(3*(mt._y1-mt._y0)/Xt-Rt)/2:Rt}function _e(mt,Rt,Xt){var Et=mt._x0,Vt=mt._y0,ee=mt._x1,ce=mt._y1,fe=(ee-Et)/3;mt._context.bezierCurveTo(Et+fe,Vt+fe*Rt,ee-fe,ce-fe*Xt,ee,ce)}function Je(mt){this._context=mt}function yn(mt){this._context=new Ce(mt)}function Ce(mt){this._context=mt}function vn(mt){return new Je(mt)}function tn(mt){return new yn(mt)}function dn(mt){this._context=mt}function gn(mt){var Rt,Xt,Et=mt.length-1,Vt=new Array(Et),ee=new Array(Et),ce=new Array(Et);for(Vt[0]=0,ee[0]=2,ce[0]=mt[0]+2*mt[1],Rt=1;Rt=0;--Rt)Vt[Rt]=(ce[Rt]-Vt[Rt+1])/ee[Rt];for(ee[Et-1]=(mt[Et]+Vt[Et-1])/2,Rt=0;Rt=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(mt,Rt){switch(mt=+mt,Rt=+Rt,this._point){case 0:this._point=1,this._line?this._context.lineTo(mt,Rt):this._context.moveTo(mt,Rt);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,Rt),this._context.lineTo(mt,Rt);else{var Xt=this._x*(1-this._t)+mt*this._t;this._context.lineTo(Xt,this._y),this._context.lineTo(Xt,Rt)}}this._x=mt,this._y=Rt}};var sr=function(mt){return new Jn(mt,.5)};function pr(mt){return new Jn(mt,0)}function mr(mt){return new Jn(mt,1)}var er=function(mt,Rt){if((Vt=mt.length)>1)for(var Xt,Et,Vt,ee=1,ce=mt[Rt[0]],fe=ce.length;ee=0;)Xt[Rt]=Rt;return Xt};function Lr(mt,Rt){return mt[Rt]}var lr=function(){var mt=G([]),Rt=Nr,Xt=er,Et=Lr;function Vt(ee){var ce,fe,Se=mt.apply(this,arguments),Ge=ee.length,Fe=Se.length,Qe=new Array(Fe);for(ce=0;ce0){for(var Xt,Et,Vt,ee=0,ce=mt[0].length;ee0)for(var Xt,Et,Vt,ee,ce,fe,Se=0,Ge=mt[Rt[0]].length;Se0?(Et[0]=ee,Et[1]=ee+=Vt):Vt<0?(Et[1]=ce,Et[0]=ce+=Vt):(Et[0]=0,Et[1]=Vt)},ci=function(mt,Rt){if((Xt=mt.length)>0){for(var Xt,Et=0,Vt=mt[Rt[0]],ee=Vt.length;Et0&&(Et=(Xt=mt[Rt[0]]).length)>0){for(var Xt,Et,Vt,ee=0,ce=1;ceee&&(ee=Rt,Et=Xt);return Et}var Hi=function(mt){var Rt=mt.map(Zt);return Nr(mt).sort(function(Xt,Et){return Rt[Xt]-Rt[Et]})};function Zt(mt){for(var Rt,Xt=0,Et=-1,Vt=mt.length;++Et=0&&ie._call.call(null,le),ie=ie._next;--k})()}finally{k=0,function(){for(var le,ie,ne=bt,Lt=1/0;ne;)ne._call?(Lt>ne._time&&(Lt=ne._time),le=ne,ne=ne._next):(ie=ne._next,ne._next=null,ne=le?le._next=ie:bt=ie);j=le,f(Lt)}(),U=0}}function _(){var le=z.now(),ie=le-Q;ie>1e3&&(Y-=ie,Q=le)}function f(le){k||(W&&(W=clearTimeout(W)),le-U>24?(le<1/0&&(W=setTimeout(T,le-z.now()-Y)),G&&(G=clearInterval(G))):(G||(Q=z.now(),G=setInterval(_,1e3)),k=1,A(T)))}p.prototype=o.prototype={constructor:p,restart:function(le,ie,ne){if(typeof le!="function")throw new TypeError("callback is not a function");ne=(ne==null?O():+ne)+(ie==null?0:+ie),this._next||j===this||(j?j._next=this:bt=this,j=this),this._call=le,this._time=ne,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}};var C=function(le,ie,ne){var Lt=new p;return ie=ie==null?0:+ie,Lt.restart(function(Bt){Lt.stop(),le(Bt+ie)},ie,ne),Lt},x=Object(w.a)("start","end","cancel","interrupt"),m=[],g=function(le,ie,ne,Lt,Bt,Ht){var zt=le.__transition;if(zt){if(ne in zt)return}else le.__transition={};(function(ae,we,pe){var $e,fn=ae.__transition;function xn(Tn){var tr,Er,ge,je;if(pe.state!==1)return pn();for(tr in fn)if((je=fn[tr]).name===pe.name){if(je.state===3)return C(xn);je.state===4?(je.state=6,je.timer.stop(),je.on.call("interrupt",ae,ae.__data__,je.index,je.group),delete fn[tr]):+tr0)throw new Error("too late; already scheduled");return ne}function R(le,ie){var ne=y(le,ie);if(ne.state>3)throw new Error("too late; already running");return ne}function y(le,ie){var ne=le.__transition;if(!ne||!(ne=ne[ie]))throw new Error("transition not found");return ne}var v=function(le,ie){var ne,Lt,Bt,Ht=le.__transition,zt=!0;if(Ht){for(Bt in ie=ie==null?null:ie+"",Ht)(ne=Ht[Bt]).name===ie?(Lt=ne.state>2&&ne.state<5,ne.state=6,ne.timer.stop(),ne.on.call(Lt?"interrupt":"cancel",le,le.__data__,ne.index,ne.group),delete Ht[Bt]):zt=!1;zt&&delete le.__transition}},l=B(76),u=B(20);function D(le,ie){var ne,Lt;return function(){var Bt=R(this,le),Ht=Bt.tween;if(Ht!==ne){for(var zt=0,ae=(Lt=ne=Ht).length;zt=0&&(ae=ae.slice(0,we)),!ae||ae==="start"})}(ie)?b:R;return function(){var zt=Ht(this,le),ae=zt.on;ae!==Lt&&(Bt=(Lt=ae).copy()).on(ie,ne),zt.on=Bt}}var Dt=B(19),jt=B(33),Nt=s.b.prototype.constructor,Pt=B(35);function Tt(le){return function(){this.style.removeProperty(le)}}function gt(le,ie,ne){return function(Lt){this.style.setProperty(le,ie.call(this,Lt),ne)}}function Ot(le,ie,ne){var Lt,Bt;function Ht(){var zt=ie.apply(this,arguments);return zt!==Bt&&(Lt=(Bt=zt)&>(le,zt,ne)),Lt}return Ht._value=ie,Ht}function Wt(le){return function(ie){this.textContent=le.call(this,ie)}}function $t(le){var ie,ne;function Lt(){var Bt=le.apply(this,arguments);return Bt!==ne&&(ie=(ne=Bt)&&Wt(Bt)),ie}return Lt._value=le,Lt}var se=0;function ue(le,ie,ne,Lt){this._groups=le,this._parents=ie,this._name=ne,this._id=Lt}function Ne(le){return Object(s.b)().transition(le)}function Xe(){return++se}var rn=s.b.prototype;ue.prototype=Ne.prototype={constructor:ue,select:function(le){var ie=this._name,ne=this._id;typeof le!="function"&&(le=Object(Dt.a)(le));for(var Lt=this._groups,Bt=Lt.length,Ht=new Array(Bt),zt=0;zt1&&ne.name===ie)return new ue([[le]],wn,ie,+Lt)}return null};B.d(ut,"transition",function(){return Ne}),B.d(ut,"active",function(){return cn}),B.d(ut,"interrupt",function(){return v})},,function(oe,ut,B){"use strict";var bt,j,s,w,k=B(6),W=180/Math.PI,G={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Q=function(A,O,E,p,o,T){var _,f,C;return(_=Math.sqrt(A*A+O*O))&&(A/=_,O/=_),(C=A*E+O*p)&&(E-=A*C,p-=O*C),(f=Math.sqrt(E*E+p*p))&&(E/=f,p/=f,C/=f),A*p180?m+=360:m-x>180&&(x+=360),b.push({i:g.push(o(g)+"rotate(",null,p)-2,x:Object(k.a)(x,m)})):m&&g.push(o(g)+"rotate("+m+p)}(T.rotate,_.rotate,f,C),function(x,m,g,b){x!==m?b.push({i:g.push(o(g)+"skewX(",null,p)-2,x:Object(k.a)(x,m)}):m&&g.push(o(g)+"skewX("+m+p)}(T.skewX,_.skewX,f,C),function(x,m,g,b,R,y){if(x!==g||m!==b){var v=R.push(o(R)+"scale(",null,",",null,")");y.push({i:v-4,x:Object(k.a)(x,g)},{i:v-2,x:Object(k.a)(m,b)})}else g===1&&b===1||R.push(o(R)+"scale("+g+","+b+")")}(T.scaleX,T.scaleY,_.scaleX,_.scaleY,f,C),T=_=null,function(x){for(var m,g=-1,b=C.length;++gme&&(je=We,We=me,me=je),function(Oe){return Math.max(We,Math.min(me,Oe))}}function x(ge,je,We){var me=ge[0],Oe=ge[1],Be=je[0],Ae=je[1];return Oe2?m:x,Oe=Be=null,Je}function Je(yn){return isNaN(yn=+yn)?We:(Oe||(Oe=me(Ae.map(ge),Pe,Ze)))(ge(_n(yn)))}return Je.invert=function(yn){return _n(je((Be||(Be=me(Pe,Ae.map(ge),E.a)))(yn)))},Je.domain=function(yn){return arguments.length?(Ae=W.call(yn,o),_n===_||(_n=C(Ae)),_e()):Ae.slice()},Je.range=function(yn){return arguments.length?(Pe=G.call(yn),_e()):Pe.slice()},Je.rangeRound=function(yn){return Pe=G.call(yn),Ze=p.a,_e()},Je.clamp=function(yn){return arguments.length?(_n=yn?C(Ae):_,Je):_n!==_},Je.interpolate=function(yn){return arguments.length?(Ze=yn,_e()):Ze},Je.unknown=function(yn){return arguments.length?(We=yn,Je):We},function(yn,Ce){return ge=yn,je=Ce,_e()}}function R(ge,je){return b()(ge,je)}var y=B(25),v=B(64),l=B(43),u=B(65),D=B(63),L=function(ge,je,We,me){var Oe,Be=Object(bt.tickStep)(ge,je,We);switch((me=Object(y.b)(me==null?",f":me)).type){case"s":var Ae=Math.max(Math.abs(ge),Math.abs(je));return me.precision!=null||isNaN(Oe=Object(v.a)(Be,Ae))||(me.precision=Oe),Object(l.c)(me,Ae);case"":case"e":case"g":case"p":case"r":me.precision!=null||isNaN(Oe=Object(u.a)(Be,Math.max(Math.abs(ge),Math.abs(je))))||(me.precision=Oe-(me.type==="e"));break;case"f":case"%":me.precision!=null||isNaN(Oe=Object(D.a)(Be))||(me.precision=Oe-2*(me.type==="%"))}return Object(l.b)(me)};function c(ge){var je=ge.domain;return ge.ticks=function(We){var me=je();return Object(bt.ticks)(me[0],me[me.length-1],We==null?10:We)},ge.tickFormat=function(We,me){var Oe=je();return L(Oe[0],Oe[Oe.length-1],We==null?10:We,me)},ge.nice=function(We){We==null&&(We=10);var me,Oe=je(),Be=0,Ae=Oe.length-1,Pe=Oe[Be],Ze=Oe[Ae];return Ze0?(Pe=Math.floor(Pe/me)*me,Ze=Math.ceil(Ze/me)*me,me=Object(bt.tickIncrement)(Pe,Ze,We)):me<0&&(Pe=Math.ceil(Pe*me)/me,Ze=Math.floor(Ze*me)/me,me=Object(bt.tickIncrement)(Pe,Ze,We)),me>0?(Oe[Be]=Math.floor(Pe/me)*me,Oe[Ae]=Math.ceil(Ze/me)*me,je(Oe)):me<0&&(Oe[Be]=Math.ceil(Pe*me)/me,Oe[Ae]=Math.floor(Ze*me)/me,je(Oe)),ge},ge}function S(){var ge=R(_,_);return ge.copy=function(){return g(ge,S())},j.apply(ge,arguments),c(ge)}function I(ge){var je;function We(me){return isNaN(me=+me)?je:me}return We.invert=We,We.domain=We.range=function(me){return arguments.length?(ge=W.call(me,o),We):ge.slice()},We.unknown=function(me){return arguments.length?(je=me,We):je},We.copy=function(){return I(ge).unknown(je)},ge=arguments.length?W.call(ge,o):[0,1],c(We)}var nt=function(ge,je){var We,me=0,Oe=(ge=ge.slice()).length-1,Be=ge[me],Ae=ge[Oe];return Ae0){for(;tn