-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstats.html
154 lines (125 loc) · 75.4 KB
/
stats.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!doctype html>
<title>RollUp Visualizer</title>
<meta charset="utf-8">
<style>html {
background-color: #f7eedf;
color: #333;
}
body {
font-family: sans-serif;
margin: 10px auto 0;
width: 700px;
padding: 0 10px;
}
a,
.destyledButton {
color: #347AB7;
}
p {
margin-top: 0.5em;
}
svg {
vertical-align: middle;
}
h1 {
font-family: "Oswald", "HelveticaNeue-CondensedBold", "Arial Narrow", sans-serif;
font-weight: bold;
font-size: 70px;
text-transform: uppercase;
text-align: center;
}
hr {
border: 0 none;
border-top: 1px solid #aaa;
}
.breadcrumbs {
height: 1em;
margin: 1em 0;
}
.chart {
position: relative;
margin: 0 auto;
min-height: 350px;
}
.chart--large {
width: 950px;
margin-left: -100px;
}
.chart path {
stroke: #fff;
}
.details {
position: absolute;
top: 470px;
left: 50%;
width: 170px;
margin-left: -85px;
font-size: 14px;
text-align: center;
color: #666;
z-index: -1;
overflow: hidden;
text-overflow: ellipsis;
}
.chart--large .details {
top: 425px;
}
.details-size {
font-size: 0.8em;
margin-top: 1em;
}
.details-name {
font-weight: bold;
}
.details-size::before {
content: "(";
}
.details-size::after {
content: ")";
}
.details-percentage {
margin: 0.4em 0 0em;
font-size: 2.4em;
line-height: 1em;
}
footer {
margin-top: 4em;
}
footer h2 {
margin: 1.5em 0 0.5em;
font-size: 1.3em;
}
.destyledButton {
background: none;
border: 0 none;
cursor: pointer;
font-size: inherit;
padding: 0;
text-decoration: underline;
}
@font-face {
font-family: 'Oswald';
src: url(data:application/font-woff;charset=utf-8;base64,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) format('woff');
font-weight: bold;
font-style: normal;
}
</style>
<div>
<div>
<h1>RollUp Visualizer</h1>
<div id="chart">
<div class="details" style="display: none;">
<span class="details-name"></span>
<div class="details-percentage"></div>
of bundle size
<div class="details-size"></div>
</div>
</div>
</div>
</div>
<script>window.nodesData = {"name":"root","children":[{"name":"lib","children":[{"name":"statebuilders","children":[{"name":"views.js","children":[],"size":521,"originalSize":1671},{"name":"lazyLoad.js","children":[],"size":62,"originalSize":1635}]},{"name":"mergeInjector.js","children":[],"size":375,"originalSize":1526},{"name":"directives","children":[{"name":"uiView.js","children":[],"size":3430,"originalSize":12307},{"name":"uiSref.js","children":[],"size":2087,"originalSize":5785},{"name":"uiSrefStatus.js","children":[],"size":2521,"originalSize":8432},{"name":"uiSrefActive.js","children":[],"size":952,"originalSize":4882},{"name":"directives.js","children":[],"size":23,"originalSize":1017}]},{"name":"uiRouterConfig.js","children":[],"size":315,"originalSize":750},{"name":"uiRouterNgModule.js","children":[],"size":991,"originalSize":5641},{"name":"lazyLoad","children":[{"name":"lazyLoadNgModule.js","children":[],"size":1455,"originalSize":6924}]},{"name":"location","children":[{"name":"locationService.js","children":[],"size":911,"originalSize":2028},{"name":"locationConfig.js","children":[],"size":227,"originalSize":1213}]},{"name":"providers.js","children":[],"size":2570,"originalSize":7265},{"name":"index.js","children":[],"size":0,"originalSize":377}]},{"name":"node_modules","children":[{"name":"@uirouter","children":[{"name":"rx","children":[{"name":"lib-esm","children":[{"name":"ui-router-rx.js","children":[],"size":1019,"originalSize":1682},{"name":"index.js","children":[],"size":0,"originalSize":65}]}]}]}]}]};</script>
<script charset="UTF-8">
!function(){"use strict";function t(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===$e&&n.documentElement.namespaceURI===$e?n.createElement(t):n.createElementNS(e,t)}}function n(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function e(t,n,e){return t=i(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function i(t,n,e){return function(i){var r=Ke;Ke=i;try{t.call(this,this.__data__,n,e)}finally{Ke=r}}}function r(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function o(t){return function(){var n=this.__on;if(n){for(var e,i=0,r=-1,o=n.length;i<o;++i)e=n[i],t.type&&e.type!==t.type||e.name!==t.name?n[++r]=e:this.removeEventListener(e.type,e.listener,e.capture);++r?n.length=r:delete this.__on}}}function a(t,n,r){var o=Qe.hasOwnProperty(t.type)?e:i;return function(e,i,a){var s,u=this.__on,h=o(n,i,a);if(u)for(var c=0,l=u.length;c<l;++c)if((s=u[c]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=h,s.capture=r),void(s.value=n);this.addEventListener(t.type,h,r),s={type:t.type,name:t.name,value:n,listener:h,capture:r},u?u.push(s):this.__on=[s]}}function s(){}function u(){return[]}function h(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function c(t,n,e,i,r,o){for(var a,s=0,u=n.length,c=o.length;s<c;++s)(a=n[s])?(a.__data__=o[s],i[s]=a):e[s]=new h(t,o[s]);for(;s<u;++s)(a=n[s])&&(r[s]=a)}function l(t,n,e,i,r,o,a){var s,u,c,l={},f=n.length,_=o.length,p=new Array(f);for(s=0;s<f;++s)(u=n[s])&&(p[s]=c=ci+a.call(u,u.__data__,s,n),c in l?r[s]=u:l[c]=u);for(s=0;s<_;++s)c=ci+a.call(t,o[s],s,o),(u=l[c])?(i[s]=u,u.__data__=o[s],l[c]=null):e[s]=new h(t,o[s]);for(s=0;s<f;++s)(u=n[s])&&l[p[s]]===u&&(r[s]=u)}function f(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function _(t){return function(){this.removeAttribute(t)}}function p(t){return function(){this.removeAttributeNS(t.space,t.local)}}function y(t,n){return function(){this.setAttribute(t,n)}}function d(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function g(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function v(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function x(t){return function(){this.style.removeProperty(t)}}function m(t,n,e){return function(){this.style.setProperty(t,n,e)}}function M(t,n,e){return function(){var i=n.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,e)}}function b(t){return function(){delete this[t]}}function w(t,n){return function(){this[t]=n}}function T(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function N(t){return t.trim().split(/^|\s+/)}function k(t){return t.classList||new C(t)}function C(t){this._node=t,this._names=N(t.getAttribute("class")||"")}function A(t,n){for(var e=k(t),i=-1,r=n.length;++i<r;)e.add(n[i])}function S(t,n){for(var e=k(t),i=-1,r=n.length;++i<r;)e.remove(n[i])}function U(t){return function(){A(this,t)}}function D(t){return function(){S(this,t)}}function E(t,n){return function(){(n.apply(this,arguments)?A:S)(this,t)}}function F(){this.textContent=""}function P(t){return function(){this.textContent=t}}function q(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function H(){this.innerHTML=""}function L(t){return function(){this.innerHTML=t}}function Y(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function B(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function I(){return null}function O(){var t=this.parentNode;t&&t.removeChild(this)}function j(t,n,e){var i=wi(t),r=i.CustomEvent;r?r=new r(n,e):(r=i.document.createEvent("Event"),e?(r.initEvent(n,e.bubbles,e.cancelable),r.detail=e.detail):r.initEvent(n,!1,!1)),t.dispatchEvent(r)}function $(t,n){return function(){return j(this,t,n)}}function R(t,n){return function(){return j(this,t,n.apply(this,arguments))}}function Z(t,n){this._groups=t,this._parents=n}function W(){return new Z([[document.documentElement]],Hi)}function X(t,n){if(t===n)return t;var e=t.ancestors(),i=n.ancestors(),r=null;for(t=e.pop(),n=i.pop();t===n;)r=t,t=e.pop(),n=i.pop();return r}function J(t,n){var e,i,r,o,a,s=new tt(t),u=+t.value&&(s.value=t.value),h=[s];for(null==n&&(n=G);e=h.pop();)if(u&&(e.value=+e.data.value),(r=n(e.data))&&(a=r.length))for(e.children=new Array(a),o=a-1;o>=0;--o)h.push(i=e.children[o]=new tt(r[o])),i.parent=e,i.depth=e.depth+1;return s.eachBefore(K)}function V(){return J(this).eachBefore(Q)}function G(t){return t.children}function Q(t){t.data=t.data.data}function K(t){var n=0;do t.height=n;while((t=t.parent)&&t.height<++n)}function tt(t){this.data=t,this.depth=this.height=0,this.parent=null}function nt(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function et(t,n,e,i,r,o){for(var a,s,u,h,c,l,f,_,p,y,d,g,v=[],x=n.children,m=0,M=x.length,b=n.value;m<M;){for(h=r-e,c=o-i,f=_=l=x[m].value,d=Math.max(c/h,h/c)/(b*t),g=l*l*d,y=Math.max(_/g,g/f),u=m+1;u<M;++u){if(l+=s=x[u].value,s<f&&(f=s),s>_&&(_=s),g=l*l*d,p=Math.max(_/g,g/f),p>y){l-=s;break}y=p}v.push(a={value:l,dice:h<c,children:x.slice(m,u)}),a.dice?Ji(a,e,i,r,b?i+=c*l/b:o):Gi(a,e,i,b?e+=h*l/b:r,o),b-=l,m=u}return v}function it(){this._x0=this._y0=this._x1=this._y1=null,this._=[]}function rt(){return new it}function ot(t){return t.innerRadius}function at(t){return t.outerRadius}function st(t){return t.startAngle}function ut(t){return t.endAngle}function ht(t){return t&&t.padAngle}function ct(t){return t>=1?ar:t<=-1?-ar:Math.asin(t)}function lt(t,n,e,i,r,o,a,s){var u=e-t,h=i-n,c=a-r,l=s-o,f=(c*(n-o)-l*(t-r))/(l*u-c*h);return[t+f*u,n+f*h]}function ft(t,n,e,i,r,o,a){var s=t-e,u=n-i,h=(a?o:-o)/Math.sqrt(s*s+u*u),c=h*u,l=-h*s,f=t+c,_=n+l,p=e+c,y=i+l,d=(f+p)/2,g=(_+y)/2,v=p-f,x=y-_,m=v*v+x*x,M=r-o,b=f*y-p*_,w=(x<0?-1:1)*Math.sqrt(Math.max(0,M*M*m-b*b)),T=(b*x-v*w)/m,N=(-b*v-x*w)/m,k=(b*x+v*w)/m,C=(-b*v+x*w)/m,A=T-d,S=N-g,U=k-d,D=C-g;return A*A+S*S>U*U+D*D&&(T=k,N=C),{cx:T,cy:N,x01:-c,y01:-l,x11:T*(r/M-1),y11:N*(r/M-1)}}function _t(t){this._context=t}function pt(t){this._curve=t}function yt(t){function n(n){return new pt(t(n))}return n._curve=t,n}function dt(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function gt(t){this._context=t}function vt(t,n){this._basis=new gt(t),this._beta=n}function xt(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function mt(t,n){this._context=t,this._k=(1-n)/6}function Mt(t,n){this._context=t,this._k=(1-n)/6}function bt(t,n){this._context=t,this._k=(1-n)/6}function wt(t,n,e){var i=t._x1,r=t._y1,o=t._x2,a=t._y2;if(t._l01_a>rr){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>rr){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-n*t._l12_2a)/c,a=(a*h+t._y1*t._l23_2a-e*t._l12_2a)/c}t._context.bezierCurveTo(i,r,o,a,t._x2,t._y2)}function Tt(t,n){this._context=t,this._alpha=n}function Nt(t,n){this._context=t,this._alpha=n}function kt(t,n){this._context=t,this._alpha=n}function Ct(t){return t<0?-1:1}function At(t,n,e){var i=t._x1-t._x0,r=n-t._x1,o=(t._y1-t._y0)/(i||r<0&&-0),a=(e-t._y1)/(r||i<0&&-0),s=(o*r+a*i)/(i+r);return(Ct(o)+Ct(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function St(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Ut(t,n,e){var i=t._x0,r=t._y0,o=t._x1,a=t._y1,s=(o-i)/3;t._context.bezierCurveTo(i+s,r+s*n,o-s,a-s*e,o,a)}function Dt(t){this._context=t}function Et(t){this._context=new Ft(t)}function Ft(t){this._context=t}function Pt(t){return function(n,e){return _r(t(n),e)}}function qt(t,n,e){var i=Math.abs(n-t)/Math.max(0,e),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),o=i/r;return o>=xr?r*=10:o>=mr?r*=5:o>=Mr&&(r*=2),n<t?-r:r}function Ht(){}function Lt(t,n){var e=new Ht;if(t instanceof Ht)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var i,r=-1,o=t.length;if(null==n)for(;++r<o;)e.set(r,t[r]);else for(;++r<o;)e.set(n(i=t[r],r,t),i)}else if(t)for(var a in t)e.set(a,t[a]);return e}function Yt(){}function zt(t,n){var e=new Yt;if(t instanceof Yt)t.each(function(t){e.add(t)});else if(t){var i=-1,r=t.length;if(null==n)for(;++i<r;)e.add(t[i]);else for(;++i<r;)e.add(n(t[i],i,t))}return e}function Bt(t,n){var e=Object.create(t.prototype);for(var i in n)e[i]=n[i];return e}function It(){}function Ot(t){var n;return t=(t+"").trim().toLowerCase(),(n=Dr.exec(t))?(n=parseInt(n[1],16),new Wt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=Er.exec(t))?jt(parseInt(n[1],16)):(n=Fr.exec(t))?new Wt(n[1],n[2],n[3],1):(n=Pr.exec(t))?new Wt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=qr.exec(t))?$t(n[1],n[2],n[3],n[4]):(n=Hr.exec(t))?$t(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Lr.exec(t))?Xt(n[1],n[2]/100,n[3]/100,1):(n=Yr.exec(t))?Xt(n[1],n[2]/100,n[3]/100,n[4]):zr.hasOwnProperty(t)?jt(zr[t]):"transparent"===t?new Wt(NaN,NaN,NaN,0):null}function jt(t){return new Wt(t>>16&255,t>>8&255,255&t,1)}function $t(t,n,e,i){return i<=0&&(t=n=e=NaN),new Wt(t,n,e,i)}function Rt(t){return t instanceof It||(t=Ot(t)),t?(t=t.rgb(),new Wt(t.r,t.g,t.b,t.opacity)):new Wt}function Zt(t,n,e,i){return 1===arguments.length?Rt(t):new Wt(t,n,e,null==i?1:i)}function Wt(t,n,e,i){this.r=+t,this.g=+n,this.b=+e,this.opacity=+i}function Xt(t,n,e,i){return i<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Gt(t,n,e,i)}function Jt(t){if(t instanceof Gt)return new Gt(t.h,t.s,t.l,t.opacity);if(t instanceof It||(t=Ot(t)),!t)return new Gt;if(t instanceof Gt)return t;t=t.rgb();var n=t.r/255,e=t.g/255,i=t.b/255,r=Math.min(n,e,i),o=Math.max(n,e,i),a=NaN,s=o-r,u=(o+r)/2;return s?(a=n===o?(e-i)/s+6*(e<i):e===o?(i-n)/s+2:(n-e)/s+4,s/=u<.5?o+r:2-o-r,a*=60):s=u>0&&u<1?0:a,new Gt(a,s,u,t.opacity)}function Vt(t,n,e,i){return 1===arguments.length?Jt(t):new Gt(t,n,e,null==i?1:i)}function Gt(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}function Qt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Kt(t){if(t instanceof nn)return new nn(t.l,t.a,t.b,t.opacity);if(t instanceof hn){var n=t.h*Br;return new nn(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof Wt||(t=Rt(t));var e=an(t.r),i=an(t.g),r=an(t.b),o=en((.4124564*e+.3575761*i+.1804375*r)/jr),a=en((.2126729*e+.7151522*i+.072175*r)/$r),s=en((.0193339*e+.119192*i+.9503041*r)/Rr);return new nn(116*a-16,500*(o-a),200*(a-s),t.opacity)}function tn(t,n,e,i){return 1===arguments.length?Kt(t):new nn(t,n,e,null==i?1:i)}function nn(t,n,e,i){this.l=+t,this.a=+n,this.b=+e,this.opacity=+i}function en(t){return t>Jr?Math.pow(t,1/3):t/Xr+Zr}function rn(t){return t>Wr?t*t*t:Xr*(t-Zr)}function on(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function an(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function sn(t){if(t instanceof hn)return new hn(t.h,t.c,t.l,t.opacity);t instanceof nn||(t=Kt(t));var n=Math.atan2(t.b,t.a)*Ir;return new hn(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function un(t,n,e,i){return 1===arguments.length?sn(t):new hn(t,n,e,null==i?1:i)}function hn(t,n,e,i){this.h=+t,this.c=+n,this.l=+e,this.opacity=+i}function cn(t){if(t instanceof fn)return new fn(t.h,t.s,t.l,t.opacity);t instanceof Wt||(t=Rt(t));var n=t.r/255,e=t.g/255,i=t.b/255,r=(io*i+no*n-eo*e)/(io+no-eo),o=i-r,a=(to*(e-r)-Qr*o)/Kr,s=Math.sqrt(a*a+o*o)/(to*r*(1-r)),u=s?Math.atan2(a,o)*Ir-120:NaN;return new fn(u<0?u+360:u,s,r,t.opacity)}function ln(t,n,e,i){return 1===arguments.length?cn(t):new fn(t,n,e,null==i?1:i)}function fn(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}function _n(t,n){return function(e){return t+e*n}}function pn(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(i){return Math.pow(t+i*n,e)}}function yn(t,n){var e=n-t;return e?_n(t,e>180||e<-180?e-360*Math.round(e/360):e):ro(isNaN(t)?n:t)}function dn(t){return 1===(t=+t)?gn:function(n,e){return e-n?pn(n,e,t):ro(isNaN(n)?e:n)}}function gn(t,n){var e=n-t;return e?_n(t,e):ro(isNaN(t)?n:t)}function vn(t){return function(){return t}}function xn(t){return function(n){return t(n)+""}}function mn(t){return function n(e){function i(n,i){var r=t((n=ln(n)).h,(i=ln(i)).h),o=gn(n.s,i.s),a=gn(n.l,i.l),s=gn(n.opacity,i.opacity);return function(t){return n.h=r(t),n.s=o(t),n.l=a(Math.pow(t,e)),n.opacity=s(t),n+""}}return e=+e,i.gamma=n,i}(1)}function Mn(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:vo(n)}function bn(t){return function(n,e){var i=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:i(t)}}}function wn(t){return function(n,e){var i=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:i(t)}}}function Tn(t,n,e,i){var r=t[0],o=t[1],a=n[0],s=n[1];return o<r?(r=e(o,r),a=i(s,a)):(r=e(r,o),a=i(a,s)),function(t){return a(r(t))}}function Nn(t,n,e,i){var r=Math.min(t.length,n.length)-1,o=new Array(r),a=new Array(r),s=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++s<r;)o[s]=e(t[s],t[s+1]),a[s]=i(n[s],n[s+1]);return function(n){var e=dr(t,n,1,r)-1;return a[e](o[e](n))}}function kn(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Cn(t,n){function e(){return r=Math.min(s.length,u.length)>2?Nn:Tn,o=a=null,i}function i(n){return(o||(o=r(s,u,c?bn(t):t,h)))(+n)}var r,o,a,s=mo,u=mo,h=_o,c=!1;return i.invert=function(t){return(a||(a=r(u,s,Mn,c?wn(n):n)))(+t)},i.domain=function(t){return arguments.length?(s=kr.call(t,xo),e()):s.slice()},i.range=function(t){return arguments.length?(u=Cr.call(t),e()):u.slice()},i.rangeRound=function(t){return u=Cr.call(t),h=po,e()},i.clamp=function(t){return arguments.length?(c=!!t,e()):c},i.interpolate=function(t){return arguments.length?(h=t,e()):h},e()}function An(t){if(!(n=Ao.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",i=n[2]||">",r=n[3]||"-",o=n[4]||"",a=!!n[5],s=n[6]&&+n[6],u=!!n[7],h=n[8]&&+n[8].slice(1),c=n[9]||"";"n"===c?(u=!0,c="g"):Co[c]||(c=""),(a||"0"===e&&"="===i)&&(a=!0,e="0",i="="),this.fill=e,this.align=i,this.sign=r,this.symbol=o,this.zero=a,this.width=s,this.comma=u,this.precision=h,this.type=c}function Sn(t){return t}function Un(t){return Uo=Po(t),Do=Uo.format,Eo=Uo.formatPrefix,Uo}function Dn(t){var n=t.domain;return t.ticks=function(t){var e=n();return br(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Yo(n(),t,e)},t.nice=function(e){var i=n(),r=i.length-1,o=null==e?10:e,a=i[0],s=i[r],u=qt(a,s,o);return u&&(u=qt(Math.floor(a/u)*u,Math.ceil(s/u)*u,o),i[0]=Math.floor(a/u)*u,i[r]=Math.ceil(s/u)*u,n(i)),t},t}function En(){var t=Cn(Mn,uo);return t.copy=function(){return kn(t,En())},Dn(t)}function Fn(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function Pn(){function t(t,n){return(n=Fn(n,e)-(t=Fn(t,e)))?function(i){return(Fn(i,e)-t)/n}:vo(n)}function n(t,n){return n=Fn(n,e)-(t=Fn(t,e)),function(i){return Fn(t+n*i,1/e)}}var e=1,i=Cn(t,n),r=i.domain;return i.exponent=function(t){return arguments.length?(e=+t,r(r())):e},i.copy=function(){return kn(i,Pn().exponent(e))},Dn(i)}function qn(){return Pn().exponent(.5)}function Hn(t,n,e,i){function r(n){return t(n=new Date(+n)),n}return r.floor=r,r.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},r.round=function(t){var n=r(t),e=r.ceil(t);return t-n<e-t?n:e},r.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},r.range=function(e,i,o){var a=[];if(e=r.ceil(e),o=null==o?1:Math.floor(o),!(e<i&&o>0))return a;do a.push(new Date(+e));while(n(e,o),t(e),e<i);return a},r.filter=function(e){return Hn(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,i){if(t>=t)for(;--i>=0;)for(;n(t,1),!e(t););})},e&&(r.count=function(n,i){return zo.setTime(+n),Bo.setTime(+i),t(zo),t(Bo),Math.floor(e(zo,Bo))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(n){return i(n)%t===0}:function(n){return r.count(0,n)%t===0}):r:null}),r}function Ln(t){return Hn(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*jo)/Zo})}function Yn(t){return Hn(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/Zo})}function zn(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Bn(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function In(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function On(t){function n(t,n){return function(e){var i,r,o,a=[],s=-1,u=0,h=t.length;for(e instanceof Date||(e=new Date(+e));++s<h;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(r=aa[i=t.charAt(++s)])?i=t.charAt(++s):r="e"===i?" ":"0",(o=n[i])&&(i=o(e,r)),a.push(i),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function e(t,n){return function(e){var r=In(1900),o=i(r,t,e+="",0);if(o!=e.length)return null;if("p"in r&&(r.H=r.H%12+12*r.p),"W"in r||"U"in r){"w"in r||(r.w="W"in r?1:0);var a="Z"in r?Bn(In(r.y)).getUTCDay():n(In(r.y)).getDay();r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(a+5)%7:r.w+7*r.U-(a+6)%7}return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,Bn(r)):n(r)}}function i(t,n,e,i){for(var r,o,a=0,s=n.length,u=e.length;a<s;){if(i>=u)return-1;if(r=n.charCodeAt(a++),37===r){if(r=n.charAt(a++),o=O[r in aa?n.charAt(a++):r],!o||(i=o(t,e,i))<0)return-1}else if(r!=e.charCodeAt(i++))return-1}return i}function r(t,n,e){var i=U.exec(n.slice(e));return i?(t.p=D[i[0].toLowerCase()],e+i[0].length):-1}function o(t,n,e){var i=P.exec(n.slice(e));return i?(t.w=q[i[0].toLowerCase()],e+i[0].length):-1}function a(t,n,e){var i=E.exec(n.slice(e));return i?(t.w=F[i[0].toLowerCase()],e+i[0].length):-1}function s(t,n,e){var i=Y.exec(n.slice(e));return i?(t.m=z[i[0].toLowerCase()],e+i[0].length):-1}function u(t,n,e){var i=H.exec(n.slice(e));return i?(t.m=L[i[0].toLowerCase()],e+i[0].length):-1}function h(t,n,e){return i(t,b,n,e)}function c(t,n,e){return i(t,w,n,e)}function l(t,n,e){return i(t,T,n,e)}function f(t){return C[t.getDay()]}function _(t){return k[t.getDay()]}function p(t){return S[t.getMonth()]}function y(t){return A[t.getMonth()]}function d(t){return N[+(t.getHours()>=12)]}function g(t){return C[t.getUTCDay()]}function v(t){return k[t.getUTCDay()]}function x(t){return S[t.getUTCMonth()]}function m(t){return A[t.getUTCMonth()]}function M(t){return N[+(t.getUTCHours()>=12)]}var b=t.dateTime,w=t.date,T=t.time,N=t.periods,k=t.days,C=t.shortDays,A=t.months,S=t.shortMonths,U=Rn(N),D=Zn(N),E=Rn(k),F=Zn(k),P=Rn(C),q=Zn(C),H=Rn(A),L=Zn(A),Y=Rn(S),z=Zn(S),B={a:f,A:_,b:p,B:y,c:null,d:se,e:se,H:ue,I:he,j:ce,L:le,m:fe,M:_e,p:d,S:pe,U:ye,w:de,W:ge,x:null,X:null,y:ve,Y:xe,Z:me,"%":qe},I={a:g,A:v,b:x,B:m,c:null,d:Me,e:Me,H:be,I:we,j:Te,L:Ne,m:ke,M:Ce,p:M,S:Ae,U:Se,w:Ue,W:De,x:null,X:null,y:Ee,Y:Fe,Z:Pe,"%":qe},O={a:o,A:a,b:s,B:u,c:h,d:te,e:te,H:ee,I:ee,j:ne,L:oe,m:Kn,M:ie,p:r,S:re,U:Xn,w:Wn,W:Jn,x:c,X:l,y:Gn,Y:Vn,Z:Qn,"%":ae};return B.x=n(w,B),B.X=n(T,B),B.c=n(b,B),I.x=n(w,I),I.X=n(T,I),I.c=n(b,I),{format:function(t){var e=n(t+="",B);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",zn);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",I);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,Bn);return n.toString=function(){return t},n}}}function jn(t,n,e){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o<e?new Array(e-o+1).join(n)+r:r)}function $n(t){return t.replace(ha,"\\$&")}function Rn(t){return new RegExp("^(?:"+t.map($n).join("|")+")","i")}function Zn(t){for(var n={},e=-1,i=t.length;++e<i;)n[t[e].toLowerCase()]=e;return n}function Wn(t,n,e){var i=sa.exec(n.slice(e,e+1));return i?(t.w=+i[0],e+i[0].length):-1}function Xn(t,n,e){var i=sa.exec(n.slice(e));return i?(t.U=+i[0],e+i[0].length):-1}function Jn(t,n,e){var i=sa.exec(n.slice(e));return i?(t.W=+i[0],e+i[0].length):-1}function Vn(t,n,e){var i=sa.exec(n.slice(e,e+4));return i?(t.y=+i[0],e+i[0].length):-1}function Gn(t,n,e){var i=sa.exec(n.slice(e,e+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),e+i[0].length):-1}function Qn(t,n,e){var i=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function Kn(t,n,e){var i=sa.exec(n.slice(e,e+2));return i?(t.m=i[0]-1,e+i[0].length):-1}function te(t,n,e){var i=sa.exec(n.slice(e,e+2));return i?(t.d=+i[0],e+i[0].length):-1}function ne(t,n,e){var i=sa.exec(n.slice(e,e+3));return i?(t.m=0,t.d=+i[0],e+i[0].length):-1}function ee(t,n,e){var i=sa.exec(n.slice(e,e+2));return i?(t.H=+i[0],e+i[0].length):-1}function ie(t,n,e){var i=sa.exec(n.slice(e,e+2));return i?(t.M=+i[0],e+i[0].length):-1}function re(t,n,e){var i=sa.exec(n.slice(e,e+2));return i?(t.S=+i[0],e+i[0].length):-1}function oe(t,n,e){var i=sa.exec(n.slice(e,e+3));return i?(t.L=+i[0],e+i[0].length):-1}function ae(t,n,e){var i=ua.exec(n.slice(e,e+1));return i?e+i[0].length:-1}function se(t,n){return jn(t.getDate(),n,2)}function ue(t,n){return jn(t.getHours(),n,2)}function he(t,n){return jn(t.getHours()%12||12,n,2)}function ce(t,n){return jn(1+Wo.count(Vo(t),t),n,3)}function le(t,n){return jn(t.getMilliseconds(),n,3)}function fe(t,n){return jn(t.getMonth()+1,n,2)}function _e(t,n){return jn(t.getMinutes(),n,2)}function pe(t,n){return jn(t.getSeconds(),n,2)}function ye(t,n){return jn(Xo.count(Vo(t),t),n,2)}function de(t){return t.getDay()}function ge(t,n){return jn(Jo.count(Vo(t),t),n,2)}function ve(t,n){return jn(t.getFullYear()%100,n,2)}function xe(t,n){return jn(t.getFullYear()%1e4,n,4)}function me(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+jn(n/60|0,"0",2)+jn(n%60,"0",2)}function Me(t,n){return jn(t.getUTCDate(),n,2)}function be(t,n){return jn(t.getUTCHours(),n,2)}function we(t,n){return jn(t.getUTCHours()%12||12,n,2)}function Te(t,n){return jn(1+Go.count(ta(t),t),n,3)}function Ne(t,n){return jn(t.getUTCMilliseconds(),n,3)}function ke(t,n){return jn(t.getUTCMonth()+1,n,2)}function Ce(t,n){return jn(t.getUTCMinutes(),n,2)}function Ae(t,n){return jn(t.getUTCSeconds(),n,2)}function Se(t,n){return jn(Qo.count(ta(t),t),n,2)}function Ue(t){return t.getUTCDay()}function De(t,n){return jn(Ko.count(ta(t),t),n,2)}function Ee(t,n){return jn(t.getUTCFullYear()%100,n,2)}function Fe(t,n){return jn(t.getUTCFullYear()%1e4,n,4)}function Pe(){return"+0000"}function qe(){return"%"}function He(t){return na=On(t),ea=na.format,ia=na.parse,ra=na.utcFormat,oa=na.utcParse,na}function Le(t){return t.toISOString()}function Ye(t){var n=new Date(t);return isNaN(n)?null:n}function ze(t,n){if(!da(t))return null;var e=Math.abs(t),i=n&&n.thousandsSeparator||"",r=n&&n.unitSeparator||"",o=n&&void 0!==n.decimalPlaces?n.decimalPlaces:2,a=Boolean(n&&n.fixedDecimals),s="B";e>=ya.tb?s="TB":e>=ya.gb?s="GB":e>=ya.mb?s="MB":e>=ya.kb&&(s="kB");var u=t/ya[s.toLowerCase()],h=u.toFixed(o);return a||(h=h.replace(pa,"$1")),i&&(h=h.replace(_a,i)),h+r+s}function Be(t){if(t.children&&t.children.length){var n=Oe(t),e=!!n.filter(function(t){return"node_modules"===t.data.name}).length;return e?"#599e59":"#487ea4"}return"#db7100"}function Ie(t){var n=(100*t.value/Aa).toPrecision(2),e=n+"%";n<.1&&(e="< 0.1%"),Li(".details-name").text(t.data.name),Li(".details-percentage").text(e),Li(".details-size").text(fa(t.value)),Li(".details").style("display","block");var i=Oe(t);Ta.selectAll("path").style("opacity",.3),Ta.selectAll("path").filter(function(t){return i.indexOf(t)>=0}).style("opacity",1)}function Oe(t){for(var n=[],e=t;e.parent;)n.unshift(e),e=e.parent;return n}function je(){Ta.selectAll("path").style("opacity",1),Li(".details").style("display","none")}var $e="http://www.w3.org/1999/xhtml",Re={svg:"http://www.w3.org/2000/svg",xhtml:$e,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ze=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Re.hasOwnProperty(n)?{space:Re[n],local:t}:t},We=function(e){var i=Ze(e);return(i.local?n:t)(i)},Xe=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var Je=document.documentElement;if(!Je.matches){var Ve=Je.webkitMatchesSelector||Je.msMatchesSelector||Je.mozMatchesSelector||Je.oMatchesSelector;Xe=function(t){return function(){return Ve.call(this,t)}}}}var Ge=Xe,Qe={},Ke=null;if("undefined"!=typeof document){var ti=document.documentElement;"onmouseenter"in ti||(Qe={mouseenter:"mouseover",mouseleave:"mouseout"})}var ni=function(t,n,e){var i,s,u=r(t+""),h=u.length;{if(!(arguments.length<2)){for(c=n?a:o,null==e&&(e=!1),i=0;i<h;++i)this.each(c(u[i],n,e));return this}var c=this.node().__on;if(c)for(var l,f=0,_=c.length;f<_;++f)for(i=0,l=c[f];i<h;++i)if((s=u[i]).type===l.type&&s.name===l.name)return l.value}},ei=function(t){return null==t?s:function(){return this.querySelector(t)}},ii=function(t){"function"!=typeof t&&(t=ei(t));for(var n=this._groups,e=n.length,i=new Array(e),r=0;r<e;++r)for(var o,a,s=n[r],u=s.length,h=i[r]=new Array(u),c=0;c<u;++c)(o=s[c])&&(a=t.call(o,o.__data__,c,s))&&("__data__"in o&&(a.__data__=o.__data__),h[c]=a);return new Z(i,this._parents)},ri=function(t){return null==t?u:function(){return this.querySelectorAll(t)}},oi=function(t){"function"!=typeof t&&(t=ri(t));for(var n=this._groups,e=n.length,i=[],r=[],o=0;o<e;++o)for(var a,s=n[o],u=s.length,h=0;h<u;++h)(a=s[h])&&(i.push(t.call(a,a.__data__,h,s)),r.push(a));return new Z(i,r)},ai=function(t){"function"!=typeof t&&(t=Ge(t));for(var n=this._groups,e=n.length,i=new Array(e),r=0;r<e;++r)for(var o,a=n[r],s=a.length,u=i[r]=[],h=0;h<s;++h)(o=a[h])&&t.call(o,o.__data__,h,a)&&u.push(o);return new Z(i,this._parents)},si=function(t){return new Array(t.length)},ui=function(){return new Z(this._enter||this._groups.map(si),this._parents)};h.prototype={constructor:h,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var hi=function(t){return function(){return t}},ci="$",li=function(t,n){if(!t)return y=new Array(this.size()),h=-1,this.each(function(t){y[++h]=t}),y;var e=n?l:c,i=this._parents,r=this._groups;"function"!=typeof t&&(t=hi(t));for(var o=r.length,a=new Array(o),s=new Array(o),u=new Array(o),h=0;h<o;++h){var f=i[h],_=r[h],p=_.length,y=t.call(f,f&&f.__data__,h,i),d=y.length,g=s[h]=new Array(d),v=a[h]=new Array(d),x=u[h]=new Array(p);e(f,_,g,v,x,y,n);for(var m,M,b=0,w=0;b<d;++b)if(m=g[b]){for(b>=w&&(w=b+1);!(M=v[w])&&++w<d;);m._next=M||null}}return a=new Z(a,i),a._enter=s,a._exit=u,a},fi=function(){return new Z(this._exit||this._groups.map(si),this._parents)},_i=function(t){for(var n=this._groups,e=t._groups,i=n.length,r=e.length,o=Math.min(i,r),a=new Array(i),s=0;s<o;++s)for(var u,h=n[s],c=e[s],l=h.length,f=a[s]=new Array(l),_=0;_<l;++_)(u=h[_]||c[_])&&(f[_]=u);for(;s<i;++s)a[s]=n[s];return new Z(a,this._parents)},pi=function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var i,r=t[n],o=r.length-1,a=r[o];--o>=0;)(i=r[o])&&(a&&a!==i.nextSibling&&a.parentNode.insertBefore(i,a),a=i);return this},yi=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=f);for(var e=this._groups,i=e.length,r=new Array(i),o=0;o<i;++o){for(var a,s=e[o],u=s.length,h=r[o]=new Array(u),c=0;c<u;++c)(a=s[c])&&(h[c]=a);h.sort(n)}return new Z(r,this._parents).order()},di=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},gi=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},vi=function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var i=t[n],r=0,o=i.length;r<o;++r){var a=i[r];if(a)return a}return null},xi=function(){var t=0;return this.each(function(){++t}),t},mi=function(){return!this.node()},Mi=function(t){for(var n=this._groups,e=0,i=n.length;e<i;++e)for(var r,o=n[e],a=0,s=o.length;a<s;++a)(r=o[a])&&t.call(r,r.__data__,a,o);return this},bi=function(t,n){var e=Ze(t);if(arguments.length<2){var i=this.node();return e.local?i.getAttributeNS(e.space,e.local):i.getAttribute(e)}return this.each((null==n?e.local?p:_:"function"==typeof n?e.local?v:g:e.local?d:y)(e,n))},wi=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView},Ti=function(t,n,e){var i;return arguments.length>1?this.each((null==n?x:"function"==typeof n?M:m)(t,n,null==e?"":e)):wi(i=this.node()).getComputedStyle(i,null).getPropertyValue(t)},Ni=function(t,n){return arguments.length>1?this.each((null==n?b:"function"==typeof n?T:w)(t,n)):this.node()[t]};C.prototype={add:function(t){var n=this._names.indexOf(t);n<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ki=function(t,n){var e=N(t+"");if(arguments.length<2){for(var i=k(this.node()),r=-1,o=e.length;++r<o;)if(!i.contains(e[r]))return!1;return!0}return this.each(("function"==typeof n?E:n?U:D)(e,n))},Ci=function(t){return arguments.length?this.each(null==t?F:("function"==typeof t?q:P)(t)):this.node().textContent},Ai=function(t){return arguments.length?this.each(null==t?H:("function"==typeof t?Y:L)(t)):this.node().innerHTML},Si=function(){return this.each(z)},Ui=function(){return this.each(B)},Di=function(t){var n="function"==typeof t?t:We(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},Ei=function(t,n){var e="function"==typeof t?t:We(t),i=null==n?I:"function"==typeof n?n:ei(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),i.apply(this,arguments)||null)})},Fi=function(){return this.each(O)},Pi=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},qi=function(t,n){return this.each(("function"==typeof n?R:$)(t,n))},Hi=[null];Z.prototype=W.prototype={constructor:Z,select:ii,selectAll:oi,filter:ai,data:li,enter:ui,exit:fi,merge:_i,order:pi,sort:yi,call:di,nodes:gi,node:vi,size:xi,empty:mi,each:Mi,attr:bi,style:Ti,property:Ni,classed:ki,text:Ci,html:Ai,raise:Si,lower:Ui,append:Di,insert:Ei,remove:Fi,datum:Pi,on:ni,dispatch:qi};var Li=function(t){return"string"==typeof t?new Z([[document.querySelector(t)]],[document.documentElement]):new Z([[t]],Hi)},Yi=function(t){var n,e,i,r,o=this,a=[o];do for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(i=0,r=e.length;i<r;++i)a.push(e[i]);while(a.length);return this},zi=function(t){for(var n,e,i=this,r=[i];i=r.pop();)if(t(i),n=i.children)for(e=n.length-1;e>=0;--e)r.push(n[e]);return this},Bi=function(t){for(var n,e,i,r=this,o=[r],a=[];r=o.pop();)if(a.push(r),n=r.children)for(e=0,i=n.length;e<i;++e)o.push(n[e]);for(;r=a.pop();)t(r);return this},Ii=function(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,i=n.children,r=i&&i.length;--r>=0;)e+=i[r].value;n.value=e})},Oi=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},ji=function(t){for(var n=this,e=X(n,t),i=[n];n!==e;)n=n.parent,
i.push(n);for(var r=i.length;t!==e;)i.splice(r,0,t),t=t.parent;return i},$i=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},Ri=function(){var t=[];return this.each(function(n){t.push(n)}),t},Zi=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},Wi=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n};tt.prototype=J.prototype={constructor:tt,each:Yi,eachAfter:Bi,eachBefore:zi,sum:Ii,sort:Oi,path:ji,ancestors:$i,descendants:Ri,leaves:Zi,links:Wi,copy:V};var Xi=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Ji=function(t,n,e,i,r){for(var o,a=t.children,s=-1,u=a.length,h=t.value&&(i-n)/t.value;++s<u;)o=a[s],o.y0=e,o.y1=r,o.x0=n,o.x1=n+=o.value*h},Vi=function(){function t(t){var a=t.height+1;return t.x0=t.y0=r,t.x1=e,t.y1=i/a,t.eachBefore(n(i,a)),o&&t.eachBefore(Xi),t}function n(t,n){return function(e){e.children&&Ji(e,e.x0,t*(e.depth+1)/n,e.x1,t*(e.depth+2)/n);var i=e.x0,o=e.y0,a=e.x1-r,s=e.y1-r;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),e.x0=i,e.y0=o,e.x1=a,e.y1=s}}var e=1,i=1,r=0,o=!1;return t.round=function(n){return arguments.length?(o=!!n,t):o},t.size=function(n){return arguments.length?(e=+n[0],i=+n[1],t):[e,i]},t.padding=function(n){return arguments.length?(r=+n,t):r},t};nt.prototype=Object.create(tt.prototype);var Gi=function(t,n,e,i,r){for(var o,a=t.children,s=-1,u=a.length,h=t.value&&(r-e)/t.value;++s<u;)o=a[s],o.x0=n,o.x1=i,o.y0=e,o.y1=e+=o.value*h},Qi=(1+Math.sqrt(5))/2;(function t(n){function e(t,e,i,r,o){et(n,t,e,i,r,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e})(Qi);!function t(n){function e(t,e,i,r,o){if((a=t._squarify)&&a.ratio===n)for(var a,s,u,h,c,l=-1,f=a.length,_=t.value;++l<f;){for(s=a[l],u=s.children,h=s.value=0,c=u.length;h<c;++h)s.value+=u[h].value;s.dice?Ji(s,e,i,r,i+=(o-i)*s.value/_):Gi(s,e,i,e+=(r-e)*s.value/_,o),_-=s.value}else t._squarify=a=et(n,t,e,i,r,o),a.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Qi);var Ki=Math.PI,tr=2*Ki,nr=1e-6,er=tr-nr;it.prototype=rt.prototype={constructor:it,moveTo:function(t,n){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._.push("Z"))},lineTo:function(t,n){this._.push("L",this._x1=+t,",",this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._.push("Q",+t,",",+n,",",this._x1=+e,",",this._y1=+i)},bezierCurveTo:function(t,n,e,i,r,o){this._.push("C",+t,",",+n,",",+e,",",+i,",",this._x1=+r,",",this._y1=+o)},arcTo:function(t,n,e,i,r){t=+t,n=+n,e=+e,i=+i,r=+r;var o=this._x1,a=this._y1,s=e-t,u=i-n,h=o-t,c=a-n,l=h*h+c*c;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._.push("M",this._x1=t,",",this._y1=n);else if(l>nr)if(Math.abs(c*s-u*h)>nr&&r){var f=e-o,_=i-a,p=s*s+u*u,y=f*f+_*_,d=Math.sqrt(p),g=Math.sqrt(l),v=r*Math.tan((Ki-Math.acos((p+l-y)/(2*d*g)))/2),x=v/g,m=v/d;Math.abs(x-1)>nr&&this._.push("L",t+x*h,",",n+x*c),this._.push("A",r,",",r,",0,0,",+(c*f>h*_),",",this._x1=t+m*s,",",this._y1=n+m*u)}else this._.push("L",this._x1=t,",",this._y1=n);else;},arc:function(t,n,e,i,r,o){t=+t,n=+n,e=+e;var a=e*Math.cos(i),s=e*Math.sin(i),u=t+a,h=n+s,c=1^o,l=o?i-r:r-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._.push("M",u,",",h):(Math.abs(this._x1-u)>nr||Math.abs(this._y1-h)>nr)&&this._.push("L",u,",",h),e&&(l>er?this._.push("A",e,",",e,",0,1,",c,",",t-a,",",n-s,"A",e,",",e,",0,1,",c,",",this._x1=u,",",this._y1=h):(l<0&&(l=l%tr+tr),this._.push("A",e,",",e,",0,",+(l>=Ki),",",c,",",this._x1=t+e*Math.cos(r),",",this._y1=n+e*Math.sin(r))))},rect:function(t,n,e,i){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+n,"h",+e,"v",+i,"h",-e,"Z")},toString:function(){return this._.join("")}};var ir=function(t){return function(){return t}},rr=1e-12,or=Math.PI,ar=or/2,sr=2*or,ur=function(){function t(){var t,h,c=+n.apply(this,arguments),l=+e.apply(this,arguments),f=o.apply(this,arguments)-ar,_=a.apply(this,arguments)-ar,p=Math.abs(_-f),y=_>f;if(u||(u=t=rt()),l<c&&(h=l,l=c,c=h),l>rr)if(p>sr-rr)u.moveTo(l*Math.cos(f),l*Math.sin(f)),u.arc(0,0,l,f,_,!y),c>rr&&(u.moveTo(c*Math.cos(_),c*Math.sin(_)),u.arc(0,0,c,_,f,y));else{var d,g,v=f,x=_,m=f,M=_,b=p,w=p,T=s.apply(this,arguments)/2,N=T>rr&&(r?+r.apply(this,arguments):Math.sqrt(c*c+l*l)),k=Math.min(Math.abs(l-c)/2,+i.apply(this,arguments)),C=k,A=k;if(N>rr){var S=ct(N/c*Math.sin(T)),U=ct(N/l*Math.sin(T));(b-=2*S)>rr?(S*=y?1:-1,m+=S,M-=S):(b=0,m=M=(f+_)/2),(w-=2*U)>rr?(U*=y?1:-1,v+=U,x-=U):(w=0,v=x=(f+_)/2)}var D=l*Math.cos(v),E=l*Math.sin(v),F=c*Math.cos(M),P=c*Math.sin(M);if(k>rr){var q=l*Math.cos(x),H=l*Math.sin(x),L=c*Math.cos(m),Y=c*Math.sin(m);if(p<or){var z=b>rr?lt(D,E,L,Y,q,H,F,P):[F,P],B=D-z[0],I=E-z[1],O=q-z[0],j=H-z[1],$=1/Math.sin(Math.acos((B*O+I*j)/(Math.sqrt(B*B+I*I)*Math.sqrt(O*O+j*j)))/2),R=Math.sqrt(z[0]*z[0]+z[1]*z[1]);C=Math.min(k,(c-R)/($-1)),A=Math.min(k,(l-R)/($+1))}}w>rr?A>rr?(d=ft(L,Y,D,E,l,A,y),g=ft(q,H,F,P,l,A,y),u.moveTo(d.cx+d.x01,d.cy+d.y01),A<k?u.arc(d.cx,d.cy,A,Math.atan2(d.y01,d.x01),Math.atan2(g.y01,g.x01),!y):(u.arc(d.cx,d.cy,A,Math.atan2(d.y01,d.x01),Math.atan2(d.y11,d.x11),!y),u.arc(0,0,l,Math.atan2(d.cy+d.y11,d.cx+d.x11),Math.atan2(g.cy+g.y11,g.cx+g.x11),!y),u.arc(g.cx,g.cy,A,Math.atan2(g.y11,g.x11),Math.atan2(g.y01,g.x01),!y))):(u.moveTo(D,E),u.arc(0,0,l,v,x,!y)):u.moveTo(D,E),c>rr&&b>rr?C>rr?(d=ft(F,P,q,H,c,-C,y),g=ft(D,E,L,Y,c,-C,y),u.lineTo(d.cx+d.x01,d.cy+d.y01),C<k?u.arc(d.cx,d.cy,C,Math.atan2(d.y01,d.x01),Math.atan2(g.y01,g.x01),!y):(u.arc(d.cx,d.cy,C,Math.atan2(d.y01,d.x01),Math.atan2(d.y11,d.x11),!y),u.arc(0,0,c,Math.atan2(d.cy+d.y11,d.cx+d.x11),Math.atan2(g.cy+g.y11,g.cx+g.x11),y),u.arc(g.cx,g.cy,C,Math.atan2(g.y11,g.x11),Math.atan2(g.y01,g.x01),!y))):u.arc(0,0,c,M,m,y):u.lineTo(F,P)}else u.moveTo(0,0);if(u.closePath(),t)return u=null,t+""||null}var n=ot,e=at,i=ir(0),r=null,o=st,a=ut,s=ht,u=null;return t.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-or/2;return[Math.cos(i)*t,Math.sin(i)*t]},t.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:ir(+e),t):n},t.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:ir(+n),t):e},t.cornerRadius=function(n){return arguments.length?(i="function"==typeof n?n:ir(+n),t):i},t.padRadius=function(n){return arguments.length?(r=null==n?null:"function"==typeof n?n:ir(+n),t):r},t.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:ir(+n),t):o},t.endAngle=function(n){return arguments.length?(a="function"==typeof n?n:ir(+n),t):a},t.padAngle=function(n){return arguments.length?(s="function"==typeof n?n:ir(+n),t):s},t.context=function(n){return arguments.length?(u=null==n?null:n,t):u},t};_t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var hr=function(t){return new _t(t)};yt(hr);pt.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var cr=(Math.sqrt(1/3),Math.sin(or/10)/Math.sin(7*or/10)),lr=(Math.sin(sr/10)*cr,-Math.cos(sr/10)*cr,Math.sqrt(3),Math.sqrt(3)/2,1/Math.sqrt(12)),fr=function(){};gt.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:dt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:dt(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},vt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var i,r=t[0],o=n[0],a=t[e]-r,s=n[e]-o,u=-1;++u<=e;)i=u/e,this._basis.point(this._beta*t[u]+(1-this._beta)*(r+i*a),this._beta*n[u]+(1-this._beta)*(o+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},function t(n){function e(t){return 1===n?new gt(t):new vt(t,n)}return e.beta=function(n){return t(+n)},e}(.85),mt.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:xt(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:xt(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return new mt(t,n)}return e.tension=function(n){return t(+n)},e}(0),Mt.prototype={areaStart:fr,areaEnd:fr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:xt(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return new Mt(t,n)}return e.tension=function(n){return t(+n)},e}(0),bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:xt(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return new bt(t,n)}return e.tension=function(n){return t(+n)},e}(0),Tt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:wt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return n?new Tt(t,n):new mt(t,0)}return e.alpha=function(n){return t(+n)},e}(.5),Nt.prototype={areaStart:fr,areaEnd:fr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:wt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return n?new Nt(t,n):new Mt(t,0)}return e.alpha=function(n){return t(+n)},e}(.5),kt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:wt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},function t(n){function e(t){return n?new kt(t,n):new bt(t,0)}return e.alpha=function(n){return t(+n)},e}(.5),Dt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ut(this,this._t0,St(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Ut(this,St(this,e=At(this,t,n)),e);break;default:Ut(this,this._t0,e=At(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Et.prototype=Object.create(Dt.prototype)).point=function(t,n){Dt.prototype.point.call(this,n,t)},Ft.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,i,r,o){this._context.bezierCurveTo(n,t,i,e,o,r)}};var _r=(Array.prototype.slice,function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}),pr=function(t){return 1===t.length&&(t=Pt(t)),{left:function(n,e,i,r){for(null==i&&(i=0),null==r&&(r=n.length);i<r;){var o=i+r>>>1;t(n[o],e)<0?i=o+1:r=o}return i},right:function(n,e,i,r){for(null==i&&(i=0),null==r&&(r=n.length);i<r;){var o=i+r>>>1;t(n[o],e)>0?r=o:i=o+1}return i}}},yr=pr(_r),dr=yr.right,gr=Array.prototype,vr=(gr.slice,gr.map,function(t,n,e){t=+t,n=+n,e=(r=arguments.length)<2?(n=t,t=0,1):r<3?1:+e;for(var i=-1,r=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(r);++i<r;)o[i]=t+i*e;return o}),xr=Math.sqrt(50),mr=Math.sqrt(10),Mr=Math.sqrt(2),br=function(t,n,e){var i=qt(t,n,e);return vr(Math.ceil(t/i)*i,Math.floor(n/i)*i+i/2,i)},wr="$";Ht.prototype=Lt.prototype={constructor:Ht,has:function(t){return wr+t in this},get:function(t){return this[wr+t]},set:function(t,n){return this[wr+t]=n,this},remove:function(t){var n=wr+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===wr&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===wr&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===wr&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===wr&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===wr&&++t;return t},empty:function(){for(var t in this)if(t[0]===wr)return!1;return!0},each:function(t){for(var n in this)n[0]===wr&&t(this[n],n.slice(1),this)}};var Tr=Lt.prototype;Yt.prototype=zt.prototype={constructor:Yt,has:Tr.has,add:function(t){return t+="",this[wr+t]=t,this},remove:Tr.remove,clear:Tr.clear,values:Tr.keys,size:Tr.size,empty:Tr.empty,each:Tr.each};var Nr=Array.prototype,kr=Nr.map,Cr=Nr.slice,Ar=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t},Sr=.7,Ur=1/Sr,Dr=/^#([0-9a-f]{3})$/,Er=/^#([0-9a-f]{6})$/,Fr=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,Pr=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,qr=/^rgba\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,Hr=/^rgba\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,Lr=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,Yr=/^hsla\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,zr={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};Ar(It,Ot,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ar(Wt,Zt,Bt(It,{brighter:function(t){return t=null==t?Ur:Math.pow(Ur,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Sr:Math.pow(Sr,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"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))+(1===t?")":", "+t+")")}})),Ar(Gt,Vt,Bt(It,{brighter:function(t){return t=null==t?Ur:Math.pow(Ur,t),new Gt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Sr:Math.pow(Sr,t),new Gt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,i=e+(e<.5?e:1-e)*n,r=2*e-i;return new Wt(Qt(t>=240?t-240:t+120,r,i),Qt(t,r,i),Qt(t<120?t+240:t-120,r,i),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}}));var Br=Math.PI/180,Ir=180/Math.PI,Or=18,jr=.95047,$r=1,Rr=1.08883,Zr=4/29,Wr=6/29,Xr=3*Wr*Wr,Jr=Wr*Wr*Wr;Ar(nn,tn,Bt(It,{brighter:function(t){return new nn(this.l+Or*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new nn(this.l-Or*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=$r*rn(t),n=jr*rn(n),e=Rr*rn(e),new Wt(on(3.2404542*n-1.5371385*t-.4985314*e),on(-.969266*n+1.8760108*t+.041556*e),on(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Ar(hn,un,Bt(It,{brighter:function(t){return new hn(this.h,this.c,this.l+Or*(null==t?1:t),this.opacity)},darker:function(t){return new hn(this.h,this.c,this.l-Or*(null==t?1:t),this.opacity)},rgb:function(){return Kt(this).rgb()}}));var Vr=-.14861,Gr=1.78277,Qr=-.29227,Kr=-.90649,to=1.97294,no=to*Kr,eo=to*Gr,io=Gr*Qr-Kr*Vr;Ar(fn,ln,Bt(It,{brighter:function(t){return t=null==t?Ur:Math.pow(Ur,t),new fn(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Sr:Math.pow(Sr,t),new fn(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Br,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),i=Math.cos(t),r=Math.sin(t);return new Wt(255*(n+e*(Vr*i+Gr*r)),255*(n+e*(Qr*i+Kr*r)),255*(n+e*(to*i)),this.opacity)}}));var ro=function(t){return function(){return t}},oo=function t(n){function e(t,n){var e=i((t=Zt(t)).r,(n=Zt(n)).r),r=i(t.g,n.g),o=i(t.b,n.b),a=i(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=r(n),t.b=o(n),t.opacity=a(n),t+""}}var i=dn(n);return e.gamma=t,e}(1),ao=function(t,n){var e,i=n?n.length:0,r=t?Math.min(i,t.length):0,o=new Array(i),a=new Array(i);for(e=0;e<r;++e)o[e]=_o(t[e],n[e]);for(;e<i;++e)a[e]=n[e];return function(t){for(e=0;e<r;++e)a[e]=o[e](t);return a}},so=function(t,n){var e=new Date;return t=+t,n-=t,function(i){return e.setTime(t+n*i),e}},uo=function(t,n){return t=+t,n-=t,function(e){return t+n*e}},ho=function(t,n){var e,i={},r={};null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={});for(e in n)e in t?i[e]=_o(t[e],n[e]):r[e]=n[e];return function(t){for(e in i)r[e]=i[e](t);return r}},co=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,lo=new RegExp(co.source,"g"),fo=function(t,n){var e,i,r,o=co.lastIndex=lo.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=co.exec(t))&&(i=lo.exec(n));)(r=i.index)>o&&(r=n.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(e=e[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,u.push({i:a,x:uo(e,i)})),o=lo.lastIndex;return o<n.length&&(r=n.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?u[0]?xn(u[0].x):vn(n):(n=u.length,function(t){for(var e,i=0;i<n;++i)s[(e=u[i]).i]=e.x(t);return s.join("")})},_o=function(t,n){var e,i=typeof n;return null==n||"boolean"===i?ro(n):("number"===i?uo:"string"===i?(e=Ot(n))?(n=e,oo):fo:n instanceof Ot?oo:n instanceof Date?so:Array.isArray(n)?ao:isNaN(n)?ho:uo)(t,n)},po=function(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}};180/Math.PI,Math.SQRT2;mn(yn);var yo,go=mn(gn),vo=function(t){return function(){return t}},xo=function(t){return+t},mo=[0,1],Mo=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,i=t.slice(0,e);return[i.length>1?i[0]+i.slice(2):i,+t.slice(e+1)]},bo=function(t){return t=Mo(Math.abs(t)),t?t[1]:NaN},wo=function(t,n){return function(e,i){for(var r=e.length,o=[],a=0,s=t[0],u=0;r>0&&s>0&&(u+s+1>i&&(s=Math.max(1,i-u)),o.push(e.substring(r-=s,r+s)),!((u+=s+1)>i));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}},To=function(t,n){t=t.toPrecision(n);t:for(var e,i=t.length,r=1,o=-1;r<i;++r)switch(t[r]){case".":o=e=r;break;case"0":0===o&&(o=r),e=r;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},No=function(t,n){var e=Mo(t,n);if(!e)return t+"";var i=e[0],r=e[1],o=r-(yo=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,a=i.length;return o===a?i:o>a?i+new Array(o-a+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+Mo(t,Math.max(0,n+o-1))[0]},ko=function(t,n){var e=Mo(t,n);if(!e)return t+"";var i=e[0],r=e[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")},Co={"":To,"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return ko(100*t,n)},r:ko,s:No,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Ao=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i,So=function(t){return new An(t)};An.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Uo,Do,Eo,Fo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Po=function(t){function n(t){function n(t){var n,r,u,v=p,x=y;if("c"===_)x=d(t)+x,t="";else{t=+t;var m=(t<0||1/t<0)&&(t*=-1,!0);if(t=d(t,f),m)for(n=-1,r=t.length,m=!1;++n<r;)if(u=t.charCodeAt(n),48<u&&u<58||"x"===_&&96<u&&u<103||"X"===_&&64<u&&u<71){m=!0;break}if(v=(m?"("===s?s:"-":"-"===s||"("===s?"":s)+v,x=x+("s"===_?Fo[8+yo/3]:"")+(m&&"("===s?")":""),g)for(n=-1,r=t.length;++n<r;)if(u=t.charCodeAt(n),48>u||u>57){x=(46===u?o+t.slice(n+1):t.slice(n))+x,t=t.slice(0,n);break}}l&&!h&&(t=i(t,1/0));var M=v.length+t.length+x.length,b=M<c?new Array(c-M+1).join(e):"";switch(l&&h&&(t=i(b+t,b.length?c-x.length:1/0),b=""),a){case"<":return v+t+x+b;case"=":return v+b+t+x;case"^":return b.slice(0,M=b.length>>1)+v+t+x+b.slice(M)}return b+v+t+x}t=So(t);var e=t.fill,a=t.align,s=t.sign,u=t.symbol,h=t.zero,c=t.width,l=t.comma,f=t.precision,_=t.type,p="$"===u?r[0]:"#"===u&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",y="$"===u?r[1]:/[%p]/.test(_)?"%":"",d=Co[_],g=!_||/[defgprs%]/.test(_);return f=null==f?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),n.toString=function(){return t+""},n}function e(t,e){var i=n((t=So(t),t.type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(bo(e)/3))),o=Math.pow(10,-r),a=Fo[8+r/3];return function(t){return i(o*t)+a}}var i=t.grouping&&t.thousands?wo(t.grouping,t.thousands):Sn,r=t.currency,o=t.decimal;return{format:n,formatPrefix:e}};Un({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var qo=function(t){return Math.max(0,-bo(Math.abs(t)))},Ho=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(bo(n)/3)))-bo(Math.abs(t)))},Lo=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,bo(n)-bo(t))+1},Yo=function(t,n,e){var i,r=t[0],o=t[t.length-1],a=qt(r,o,null==n?10:n);switch(e=So(null==e?",f":e),e.type){case"s":var s=Math.max(Math.abs(r),Math.abs(o));return null!=e.precision||isNaN(i=Ho(a,s))||(e.precision=i),Eo(e,s);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(i=Lo(a,Math.max(Math.abs(r),Math.abs(o))))||(e.precision=i-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(i=qo(a))||(e.precision=i-2*("%"===e.type))}return Do(e)},zo=new Date,Bo=new Date,Io=Hn(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});Io.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Hn(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):Io:null};var Oo=1e3,jo=6e4,$o=36e5,Ro=864e5,Zo=6048e5,Wo=(Hn(function(t){t.setTime(Math.floor(t/Oo)*Oo)},function(t,n){t.setTime(+t+n*Oo)},function(t,n){return(n-t)/Oo},function(t){return t.getUTCSeconds()}),Hn(function(t){t.setTime(Math.floor(t/jo)*jo)},function(t,n){t.setTime(+t+n*jo)},function(t,n){return(n-t)/jo},function(t){return t.getMinutes()}),Hn(function(t){var n=t.getTimezoneOffset()*jo%$o;n<0&&(n+=$o),t.setTime(Math.floor((+t-n)/$o)*$o+n)},function(t,n){t.setTime(+t+n*$o)},function(t,n){return(n-t)/$o},function(t){return t.getHours()}),Hn(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*jo)/Ro},function(t){return t.getDate()-1})),Xo=Ln(0),Jo=Ln(1),Vo=(Ln(2),Ln(3),Ln(4),Ln(5),Ln(6),Hn(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),Hn(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}));Vo.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Hn(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var Go=(Hn(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*jo)},function(t,n){return(n-t)/jo},function(t){return t.getUTCMinutes()}),Hn(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*$o)},function(t,n){return(n-t)/$o},function(t){return t.getUTCHours()}),Hn(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/Ro},function(t){return t.getUTCDate()-1})),Qo=Yn(0),Ko=Yn(1),ta=(Yn(2),Yn(3),Yn(4),Yn(5),Yn(6),Hn(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){
t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Hn(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));ta.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Hn(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var na,ea,ia,ra,oa,aa={"-":"",_:" ",0:"0"},sa=/^\s*\d+/,ua=/^%/,ha=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;He({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"]});var ca="%Y-%m-%dT%H:%M:%S.%LZ",la=(Date.prototype.toISOString?Le:ra(ca),+new Date("2000-01-01T00:00:00.000Z")?Ye:oa(ca),function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})});la("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),la("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),la("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),la("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),go(ln(300,.5,0),ln(-240,.5,1));var fa=(go(ln(-100,.75,.35),ln(80,1.5,.8)),go(ln(260,.75,.35),ln(80,1.5,.8)),ln(),ze),_a=/\B(?=(\d{3})+(?!\d))/g,pa=/(?:\.0*|(\.[^0]+)0+)$/,ya={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:1024*(1<<30)},da=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},ga=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb)$/i,va=window.nodesData,xa=700,ma=700,Ma=Math.min(xa,ma)/2-10,ba=En().range([0,2*Math.PI]),wa=qn().range([0,Ma]),Ta=Li("#chart").append("svg").attr("width",xa).attr("height",ma).append("g").attr("transform","translate("+xa/2+","+ma/2+")"),Na=Vi(),ka=ur().startAngle(function(t){return Math.max(0,Math.min(2*Math.PI,ba(t.x0)))}).endAngle(function(t){return Math.max(0,Math.min(2*Math.PI,ba(t.x1)))}).innerRadius(function(t){return wa(t.y0)}).outerRadius(function(t){return wa(t.y1)}),Ca=J(va).sum(function(t){return t.children&&t.children.length?0:t.size}).sort();Na(Ca),Ta.selectAll("path").data(Na(Ca).descendants()).enter().append("path").attr("display",function(t){return t.depth?null:"none"}).attr("d",ka).attr("fill-rule","evenodd").style("stroke","#fff").style("fill",function(t){return Be(t)}).on("mouseover",Ie);var Aa=Ca.value;Li("#chart").on("mouseleave",je)}();
</script>