-
Notifications
You must be signed in to change notification settings - Fork 7
/
stats.html
152 lines (123 loc) · 67.7 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
<!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,d09GRgABAAAAABJsABMAAAAALIAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABqAAAABwAAAAccclaRkdERUYAAAHEAAAAIgAAACYAJwBHR1BPUwAAAegAAAJTAAAVCp1yuQFHU1VCAAAEPAAAADIAAABAI5wkn09TLzIAAARwAAAAWAAAAGDCVrbVY21hcAAABMgAAACkAAABsoWZZThjdnQgAAAFbAAAAD4AAAA+GI4SvGZwZ20AAAWsAAABsQAAAmVTtC+nZ2FzcAAAB2AAAAAIAAAACAAAABBnbHlmAAAHaAAABp0AAAiw/4mcQWhlYWQAAA4IAAAAMQAAADYI/8NHaGhlYQAADjwAAAAeAAAAJA4yA65obXR4AAAOXAAAAGsAAACEaIUFlWxvY2EAAA7IAAAALAAAAEQvrDHqbWF4cAAADvQAAAAgAAAAIAE8AKduYW1lAAAPFAAAAjQAAAU6XvmydXBvc3QAABFIAAAAiAAAAOvdGs0GcHJlcAAAEdAAAACUAAAAy4m/FMN3ZWJmAAASZAAAAAYAAAAGC2lWEAAAAAEAAAAA0aD+SAAAAADN8qAVAAAAANI1u+h42mNgZGBg4AFiMQY5BiYGRiBUAGIWoAgTEDNCMAAKqgBvAAB42mNgZGBg4GJwYghgYHZx8wlhEEmuLMphUMhJLMlj0GFgAcoy/P/PAFKFi82YnVqUx8ABYoExCwMTmOZgYBKZAVIpEiFSATTLmmEAwf9/IAwmrwHxif+v/x+nirkP/z9B4v0B2/AHwh4Qf77GFPn/9f8rksx4Q1iEhj74RKw4csiTbdtmdNP/70eS/f7/GXLs4jHnK+3DBeRGEAlOY3/JD1fiQxgU86C4h5K3Qbnn/93/m8hy/08UrtT/6/8vM0ghxEH0/89g1koweQ/DhAdE2/X3fyNyGIFY/9NJDbP/P4Dm/CI9pEmy4xswFLCJPyPahEcwEpLLofxfSCpeYui5APTZX1RVYPHPRNv6GUb+/4JdJ6qtIJtA6QfM/o2m8gPRtv76/xTZ1WBTP6D49RcyDZZ/Smwph9PWJ6DcDSptIGaBWV//P0euBSClA3p40rxMING+/3cHpE56RWf7Tv2P/d8CpM/+f/7/EB3tnYxcd9DVx9MHtG31+f98MP1lwFzwk545Doz/QFt5X4FlEl1yPXJ5Qye/vv2/BlRXoInOpqsbLg9IejrHMKAAo17+jlPld/zyFLniBz3LkAEOcXx+Zfz/lmoWCULak/8PAwkOcK8ZFnseDO409eEXWEsY3HNngfXiBwugbn8ZkSNokzcGk19JGQOhs42/gf0Mmtj6/xtOKdDoEwc1y5P/H+ndSgH3hTHaFf/v0Dy+PgxAqvxOcn4FjTHyAkkmaBnGDixHORm4wHI8YBmIPCQtIAA7WBU3UIYTqIIVzudh4GcQAAA6aVraAHjaY2BkYGDgYrBhsGNgdnHzCWEQSa4symGQy0ksyWPQYGAByjL8/w8ksLGAAABeBAt8AAB42mNgYXZn2sPAysDCasw6k4GBUQ5CM19nSGMSYmBgYuBgZgCDBQxM7x0YFLwZoCAvtbyEoYGBV/UPW9q/NAYGjovMrAoMDNNBciwL2KqAlAIDEwCNYw6YeNpjYGBgZoBgGQZGBhBYA+QxgvksDBOAtAIQsgBpXiDtzODK4MngwxDAEMwQzhDFsECBS0FfIV71z///UBWOYBXeQBVBDKFgFQwwFf+//n/8//D/Q//3/9/3f/f/Xf93/t/+v+iB8P339w/cUoHajhcwsjHAlTEyAQkmdAUQr+AFLKxsDOxAmoOBkwtIcTPw8DLw8QswMAgy0BcIkaULAGbKKZ0AAASgBnoA+ADSANcA4wDrAP8BAwEPAU4BTgFuAXgA2QC0AK8BBgEaANQBFADFAUwBYgEwAPoBLQDLAEQFEQAAeNpdUbtOW0EQ3Q0PA4HE2CA52hSzmZDGe6EFCcTVjWJkO4XlCGk3cpGLcQEfQIFEDdqvGaChpEibBiEXSHxCPiESM2uIojQ7O7NzzpkzS8qRqnfpa89T5ySQwt0GzTb9Tki1swD3pOvrjYy0gwdabGb0ynX7/gsGm9GUO2oA5T1vKQ8ZTTuBWrSn/tH8Cob7/B/zOxi0NNP01DoJ6SEE5ptxS4PvGc26yw/6gtXhYjAwpJim4i4/plL+tzTnasuwtZHRvIMzEfnJNEBTa20Emv7UIdXzcRRLkMumsTaYmLL+JBPBhcl0VVO1zPjawV2ys+hggyrNgQfYw1Z5DB4ODyYU0rckyiwNEfZiq8QIEZMcCjnl3Mn+pED5SBLGvElKO+OGtQbGkdfAoDZPs/88m01tbx3C+FkcwXe/GUs6+MiG2hgRYjtiKYAJREJGVfmGGs+9LAbkUvvPQJSA5fGPf50ItO7YRDyXtXUOMVYIen7b3PLLirtWuc6LQndvqmqo0inN+17OvscDnh4Lw0FjwZvP+/5Kgfo8LK40aA4EQ3o3ev+iteqIq7wXPrIn07+xWgAAAAABAAH//wAPeNpdVW1sHMUZntmZ3b29z13fne07f9Trcy44697H3vljjXNJYxNDixXUJBYgnKA4JCSBOFYSSk4kQahJaUoahwKqUFVBELRVJTSzuJX6o6hNolaAUPsrrSpKpaq0rCACBQQJtje8s3fOj97p7uZG2nmf93mf5xkkoQmEpN3ydkSQigoco+KYq9KuqzZX5PfGXCLBEnEitmWx7apK9/KYi8V+xTCNNaZhTkg9fh/+qf+wvP2rX0/QdxEciSyE6O1KHU4No23IhT2LkQo8iKxFJYRwzIIKHmaRIkNXuBrxmKpzii1OIh6Pwq+KjBaGHUYNHtIch5EWJjmI4xBsh51SuYJNbJIcSVaIhUfxz/GI/7pzbeRefp9Sv3EaP+i/JN0uPQV1CaoDlkcBSzsyUT/aidx2QMMzIc+VAA7vJ95ir9kuAaReApDWBZAyMY/12iyj8y5Ak4J/+Z4rBo8BPAs2Yl2AIwGAes1gwfoNrkUcAcww7W6prTWdgrekduO2VFpRlRyp2EOD1byFB4OFheuYzZw/N9OZoZ+ce0HCJ576fGHqew/uqt+5+bHtfxtV6smRmXsmd1Ciqv77VvJtV5E/e+xxjI4cf+bItf2HL0NrCKPZmx61lfOohKaROyD66tI8t2sgbL2xsatPs1xFtJiCvZQi9lIxzcKsHLSYjXssq/MctljM5nloMWJzG5rLZY0Wrgw4DiqVk0a1JlWgoy5sDlYLpDdO0kaqtWLXyHpsplNxkustSLP2/KVnTv/+QNF/UYq2lSZKmQSp3mUW22MS3tM5fuC1R390ed6WUtKWH/z5+e9MfP+Xc8/+Yu1tG3oymdx6e83y0u59md5aIf/6ufsWTk6Xp164LHqDuZG9MLcImmwoiGvECyTEKcxMbshIDsHMokFDGrRAbVdDolONaBYL27BQNZgXtlAwm7TZ/NQlzz+FTf9f+KRS/8rfc9M3rjc4PQ5fH0FdAnoJ6gY1MaNBERLzgo+8eqJxHB8UmkNNzPRIgHm8qXq1oXpGK6swIwBTsllE5yEh9Lgn0HFVKJsKiYPyOdGaWjKwqYHQVaOOD+J2/JD/Lt7kn7nWp9RXdkgXVpLLh6UPnJVtq3zthtoyGmjyRZp8YaasYndJwA6RgRT1VgtABxz/BBBx4nrgX9EHOAnFURZtarIQuCUb8hYTMSTckhDMdwQHx6GlhM3iOk9CKzKYpBPO5tkE9CQ3TQGOiFMLZ3Cg/wLYti71v/cPc+O2Q0cnF47OfktO5moDQN4XH808t2fyNmOlRv740DFrdCzXegvTk4BJRxn0cJPdaKUBKwOCMBIBLIMCrGwASwdYhs10nacbIg9FPDeUFgSEoiCPtM6jQH8HYA6lAWoE6DcSwYJlDBZatTNJpxQ1CXHTBJ8X7r2878KPH6jee/g//qnf7t1x6IGte+aVevvYrhf3vvKn4eV/Sv9dyZLfHTl6eE7MZvqmRz4Anw6hR5BbFbOhYc9NCui5MOAdLjL9CkOBDTmGOMzrXAHMnTYvw04WGB0BlFgHbQxBznAlb7S8QcNWta/NYVmDD3wT7Mpz1Gj5DcJ6R2cZ9sG9a7oBMbCNi7hABqtDw3a33CYXZDWO06lu6Rs46C3Xm5/Go9Lk5Exp84afDG4e77n+928f27phTUYj/kVMQvG2XHup0ub0rTs7uu3utZ9e+vh/+MvSz84+Pj5/z9DJwt37npz6y79xT3XLltnvFvvXDdfyZhzjLeXi1J19+SeqO4+d37p4dQl4mIO8GocZdqBh5LYGntYaGmUJMEjnqkwZ0XkcGjageRHAcQJTaW0Ekmmkugnkz6BYxSXIHzKH99NEtjxRyiYoPlA8+Iez87+au6NTCtNDS/evHd7Y39HRv3EkT19bWjhzceGO4vQPX214vQCaigAeRfhVESoXlxdcVZipARYxC6xzAhgoDEE4VhiUKQ6EUKBuxJFiiNsJsJkd4loqYMd9FU/5f/UhWpYu0B0iHDByEJJ3Qq0o2o/cqFBvqBKU40SpQMHY/xVcpBGkU0iOQArikgwoCcpH4UY0hEypuA6ZYjDNYWoLSBbgRI0WV5LDjtOEVAFUxIxg08HDu05eO7UbV97yL5592n9TqS+vJ5eWN5E3b5wmHy63B5zUIEdqgFMDdho5okKOUKkRKJiFizwi3N28ohs8KMIrg3BHmGm4Fmr4Wf+EdNWfxS+9T1+58c7SXc1shRd9mb4M2bp2NVvxrWxdJHGkUqv500zYMkxZPLK0E30N+fZE2AAAAHjaY2BkYGBgZmCYz//wYjy/zVcGeQ4GELhkuvsFgv7/kjWebSKQy8HABBIFAFuLDGwAAAB42mNgZGDguPjnNwMD20QGIGCNZ2BkQAWKAGr1A+8AAHjaY3rD4MIABEyrgJiPgYElnUGbZQtDFUs9QzLzZIYqpnSGWpYOhirmLqAYCJ8AYhmGMJZNDPksZgx6rDMYLJlLGexAepk9GBjYJiJoJgMGBsYlQCwBwQyXgHQAkI6F0CA5loUMDAD+XxR1AHjaY2Bg0IHCIoYHjH6MXYwrGJ8x8TCFMW1htmBuYN7GwsVigRdGAACNIwruAAEAAAAhADcAAwAAAAAAAgABAAIAFgAAAQAAbAAAAAB42q1Ty27TQBQ9jg20ECoWVYRYIKsrqBKTNEQtZcND4lFFrUQR7JBax22sOrGx3Ud+gBVrViz5GChfwI4vYMmaM3duo1iiQpWQNTPnvs/cOwawiN9w4XjzADa4LHZQp2RxDXN4o9jFHbxT7KGBD4ov4QSfFV9Gw1lUfAUbzrLiOdx0SsXzxB8VX6XPF8XX0HZ+Ka6jXbut+LrzorapeAH33U+Kv6Lhnir+hrb7U/EpFrwbir+j7mmeHy5uect4ihQZJsgRYx9DlPB5rxB3ea6gjQ5Xi3uX8i79fN4/oveYcWNKjzHADkYosMV1TJxQ84RWc3YRMP4hPSPaSqJZL3/q93ftWbTPyBJ7tB/yTMkyZkbL9IgeAR6gJ4xbjPOxJijn3qPV4Od6GyudcLfomPsSrUsivZU9rLBpncMxpuRTMtxyngPecMQzxwF1Kdme36mL6v/fjEJqDNNgOpEJM6fMau6QMfeENuMVsNcHF/b/N9MumsRHFX47U352otZmrLvMk1B+xGymu0ay9UbM2SSjmDWGjHtFr0IiTbyZ0DPJbhhsSvaIaHaGAeXX8paKive2TK8Uv1yirEfCM6Q8ljqmwiHxQGr6wiKS6JfoS6VMfGcz9ysZmtM5FdTbTnTIyqyhvPgM67jHz8zNdDSjrqC10D6k1O7TvsUafb7eiP3am1bryN+zzVuUwieU05dXYuawTusq9x4nczadntzH/mmJcDAo5yoqHXpPTUy96U/yB4cAybh42m3IuQrCUABE0ZlEE/ftDwQVC9GX5cVEsAhKPsJaUEHExsKPF1zelN7mwIWHX68jDvjXGKBHHz4mmGKGORZYYoUEFhlyFNhgyxrrDBiywSZbbLPDLnvsc8AhR8Hp+ryfo/Bxuxhj9s7SfI0/Q0YylolMpZWZXMtcFrJ0xpXTOm21ewOsDSmueNrbwfi/dQNjL4P3Bo6AiI2MjH2RG93YtCMUNwhEem8QCQIyGiJlN7Bpx0QwbGBWcN3ArO2ygV3BdRNzOJM2mMMG5LCbQTmsQA6bGpTDAuSwykI5HCA9K6EcTiCHIx3K4QJyOE0hHMYN3FA7eBRcdzFw1/9nYNLeyOxWBhThBarj0YVz+YBcXkUYN3KDiDYA+l459gABVhALaAAA) 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":"nla","children":[{"name":"brepts","children":[{"name":"node_modules","children":[{"name":"tslib","children":[{"name":"tslib.es6.js","children":[],"size":601,"originalSize":8033}]},{"name":"chroma-js","children":[{"name":"chroma.js","children":[],"size":0,"originalSize":76474}]},{"name":"classnames","children":[{"name":"index.js","children":[],"size":356,"originalSize":1102}]},{"name":"preact","children":[{"name":"dist","children":[{"name":"preact.esm.js","children":[],"size":0,"originalSize":29641}]}]},{"name":"tiny-inflate","children":[{"name":"index.js","children":[],"size":2978,"originalSize":9183}]},{"name":"opentype.js","children":[{"name":"src","children":[{"name":"bbox.js","children":[],"size":1516,"originalSize":5247},{"name":"path.js","children":[],"size":2692,"originalSize":8150},{"name":"check.js","children":[],"size":99,"originalSize":396},{"name":"types.js","children":[],"size":8311,"originalSize":28289},{"name":"table.js","children":[],"size":2944,"originalSize":6626},{"name":"parse.js","children":[],"size":6389,"originalSize":14906},{"name":"tables","children":[{"name":"cmap.js","children":[],"size":3169,"originalSize":7834},{"name":"glyf.js","children":[],"size":3632,"originalSize":11533},{"name":"cff.js","children":[],"size":15801,"originalSize":45768},{"name":"head.js","children":[],"size":1549,"originalSize":2585},{"name":"hhea.js","children":[],"size":1270,"originalSize":2037},{"name":"hmtx.js","children":[],"size":460,"originalSize":1505},{"name":"ltag.js","children":[],"size":789,"originalSize":2026},{"name":"maxp.js","children":[],"size":713,"originalSize":1429},{"name":"name.js","children":[],"size":7597,"originalSize":25140},{"name":"os2.js","children":[],"size":6432,"originalSize":11607},{"name":"post.js","children":[],"size":1266,"originalSize":2416},{"name":"gsub.js","children":[],"size":5692,"originalSize":10565},{"name":"meta.js","children":[],"size":821,"originalSize":1988},{"name":"sfnt.js","children":[],"size":4995,"originalSize":12060},{"name":"fvar.js","children":[],"size":2168,"originalSize":4396},{"name":"gpos.js","children":[],"size":2446,"originalSize":9192},{"name":"kern.js","children":[],"size":801,"originalSize":2361},{"name":"loca.js","children":[],"size":158,"originalSize":1351}]},{"name":"encoding.js","children":[],"size":12071,"originalSize":16497},{"name":"draw.js","children":[],"size":92,"originalSize":256},{"name":"glyph.js","children":[],"size":3508,"originalSize":11591},{"name":"glyphset.js","children":[],"size":973,"originalSize":3536},{"name":"layout.js","children":[],"size":2359,"originalSize":9462},{"name":"substitution.js","children":[],"size":3521,"originalSize":11450},{"name":"util.js","children":[],"size":307,"originalSize":782},{"name":"hintingtt.js","children":[],"size":24527,"originalSize":74040},{"name":"font.js","children":[],"size":6195,"originalSize":19993},{"name":"opentype.js","children":[],"size":4010,"originalSize":14174}]}]},{"name":"earcut","children":[{"name":"src","children":[{"name":"earcut.js","children":[],"size":5840,"originalSize":18450}]}]},{"name":"nerdamer","children":[{"name":"nerdamer.core.js","children":[],"size":91387,"originalSize":305641}]}]},{"name":"src","children":[{"name":"demo.tsx","children":[],"size":6640,"originalSize":11479}]}]},{"name":"ts3dutils","children":[{"name":"dist","children":[{"name":"bundle.module.js","children":[],"size":0,"originalSize":147213}]}]},{"name":"tsgl","children":[{"name":"node_modules","children":[{"name":"chroma-js","children":[{"name":"chroma.js","children":[],"size":35631,"originalSize":77513}]}]},{"name":"dist","children":[{"name":"bundle.module.js","children":[],"size":0,"originalSize":73720}]}]}]},{"name":"javasetmap.ts","children":[{"name":"dist","children":[{"name":"bundle.module.js","children":[],"size":0,"originalSize":9004}]}]}]};</script>
<script charset="UTF-8">
!function(){"use strict";function t(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===ve&&n.documentElement.namespaceURI===ve?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=r(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function r(t,n,e){return function(r){var i=Ce;Ce=r;try{t.call(this,this.__data__,n,e)}finally{Ce=i}}}function i(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,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function u(t,n,i){var o=Ae.hasOwnProperty(t.type)?e:r;return function(e,r,u){var a,c=this.__on,s=o(n,r,u);if(c)for(var h=0,l=c.length;h<l;++h)if((a=c[h]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=s,a.capture=i),void(a.value=n);this.addEventListener(t.type,s,i),a={type:t.type,name:t.name,value:n,listener:s,capture:i},c?c.push(a):this.__on=[a]}}function a(){}function c(){return[]}function s(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function h(t,n,e,r,i,o){for(var u,a=0,c=n.length,h=o.length;a<h;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new s(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function l(t,n,e,r,i,o,u){var a,c,h,l={},f=n.length,p=o.length,g=new Array(f);for(a=0;a<f;++a)(c=n[a])&&(g[a]=h=De+u.call(c,c.__data__,a,n),h in l?i[a]=c:l[h]=c);for(a=0;a<p;++a)(c=l[h=De+u.call(t,o[a],a,o)])?(r[a]=c,c.__data__=o[a],l[h]=null):e[a]=new s(t,o[a]);for(a=0;a<f;++a)(c=n[a])&&l[g[a]]===c&&(i[a]=c)}function f(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function p(t){return function(){this.removeAttribute(t)}}function g(t){return function(){this.removeAttributeNS(t.space,t.local)}}function d(t,n){return function(){this.setAttribute(t,n)}}function y(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function v(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function m(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 _(t){return function(){this.style.removeProperty(t)}}function M(t,n,e){return function(){this.style.setProperty(t,n,e)}}function w(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function x(t,n){return t.style.getPropertyValue(n)||Fe(t).getComputedStyle(t,null).getPropertyValue(n)}function b(t){return function(){delete this[t]}}function T(t,n){return function(){this[t]=n}}function A(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function C(t){return t.trim().split(/^|\s+/)}function N(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=C(t.getAttribute("class")||"")}function S(t,n){for(var e=N(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function U(t,n){for(var e=N(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function D(t){return function(){S(this,t)}}function F(t){return function(){U(this,t)}}function E(t,n){return function(){(n.apply(this,arguments)?S:U)(this,t)}}function L(){this.textContent=""}function H(t){return function(){this.textContent=t}}function Y(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function P(){this.innerHTML=""}function $(t){return function(){this.innerHTML=t}}function z(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function q(){this.nextSibling&&this.parentNode.appendChild(this)}function B(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function O(){return null}function j(){var t=this.parentNode;t&&t.removeChild(this)}function I(t,n,e){var r=Fe(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function R(t,n){return function(){return I(this,t,n)}}function Z(t,n){return function(){return I(this,t,n.apply(this,arguments))}}function W(t,n){this._groups=t,this._parents=n}function X(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function J(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}function V(t,n){var e,r,i,o,u,a=new tt(t),c=+t.value&&(a.value=t.value),s=[a];for(null==n&&(n=G);e=s.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(u=i.length))for(e.children=new Array(u),o=u-1;o>=0;--o)s.push(r=e.children[o]=new tt(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(K)}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(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function et(){return new nt}function rt(t){return t>1?0:t<-1?Je:Math.acos(t)}function it(t){return t>=1?Ve:t<=-1?-Ve:Math.asin(t)}function ot(t){return t.innerRadius}function ut(t){return t.outerRadius}function at(t){return t.startAngle}function ct(t){return t.endAngle}function st(t){return t&&t.padAngle}function ht(t,n,e,r,i,o,u,a){var c=e-t,s=r-n,h=u-i,l=a-o,f=(h*(n-o)-l*(t-i))/(l*c-h*s);return[t+f*c,n+f*s]}function lt(t,n,e,r,i,o,u){var a=t-e,c=n-r,s=(u?o:-o)/We(a*a+c*c),h=s*c,l=-s*a,f=t+h,p=n+l,g=e+h,d=r+l,y=(f+g)/2,v=(p+d)/2,m=g-f,_=d-p,M=m*m+_*_,w=i-o,x=f*d-g*p,b=(_<0?-1:1)*We(Ie(0,w*w*M-x*x)),T=(x*_-m*b)/M,A=(-x*m-_*b)/M,C=(x*_+m*b)/M,N=(-x*m+_*b)/M,k=T-y,S=A-v,U=C-y,D=N-v;return k*k+S*S>U*U+D*D&&(T=C,A=N),{cx:T,cy:A,x01:-h,y01:-l,x11:T*(i/w-1),y11:A*(i/w-1)}}function ft(t){this._context=t}function pt(t){return t<0?-1:1}function gt(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(pt(o)+pt(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a))||0}function dt(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function yt(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function vt(t){this._context=t}function mt(t){this._context=t}function _t(t){return function(n,e){return Qe(t(n),e)}}function Mt(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=tr?10:o>=nr?5:o>=er?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=tr?10:o>=nr?5:o>=er?2:1)}function wt(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=tr?i*=10:o>=nr?i*=5:o>=er&&(i*=2),n<t?-i:i}function xt(){}function bt(t,n){var e=new xt;if(t instanceof xt)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}function Tt(){}function At(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function Ct(){}function Nt(t){var n;return t=(t+"").trim().toLowerCase(),(n=fr.exec(t))?(n=parseInt(n[1],16),new Ft(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=pr.exec(t))?kt(parseInt(n[1],16)):(n=gr.exec(t))?new Ft(n[1],n[2],n[3],1):(n=dr.exec(t))?new Ft(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=yr.exec(t))?St(n[1],n[2],n[3],n[4]):(n=vr.exec(t))?St(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=mr.exec(t))?Et(n[1],n[2]/100,n[3]/100,1):(n=_r.exec(t))?Et(n[1],n[2]/100,n[3]/100,n[4]):Mr.hasOwnProperty(t)?kt(Mr[t]):"transparent"===t?new Ft(NaN,NaN,NaN,0):null}function kt(t){return new Ft(t>>16&255,t>>8&255,255&t,1)}function St(t,n,e,r){return r<=0&&(t=n=e=NaN),new Ft(t,n,e,r)}function Ut(t){return t instanceof Ct||(t=Nt(t)),t?(t=t.rgb(),new Ft(t.r,t.g,t.b,t.opacity)):new Ft}function Dt(t,n,e,r){return 1===arguments.length?Ut(t):new Ft(t,n,e,null==r?1:r)}function Ft(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Et(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Ht(t,n,e,r)}function Lt(t){if(t instanceof Ht)return new Ht(t.h,t.s,t.l,t.opacity);if(t instanceof Ct||(t=Nt(t)),!t)return new Ht;if(t instanceof Ht)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,c=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e<r):e===o?(r-n)/a+2:(n-e)/a+4,a/=c<.5?o+i:2-o-i,u*=60):a=c>0&&c<1?0:u,new Ht(u,a,c,t.opacity)}function Ht(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Yt(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 Pt(t){if(t instanceof $t)return new $t(t.l,t.a,t.b,t.opacity);if(t instanceof It){var n=t.h*wr;return new $t(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof Ft||(t=Ut(t));var e=Ot(t.r),r=Ot(t.g),i=Ot(t.b),o=zt((.4124564*e+.3575761*r+.1804375*i)/br),u=zt((.2126729*e+.7151522*r+.072175*i)/Tr);return new $t(116*u-16,500*(o-u),200*(u-zt((.0193339*e+.119192*r+.9503041*i)/Ar)),t.opacity)}function $t(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function zt(t){return t>Sr?Math.pow(t,1/3):t/kr+Cr}function qt(t){return t>Nr?t*t*t:kr*(t-Cr)}function Bt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ot(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function jt(t){if(t instanceof It)return new It(t.h,t.c,t.l,t.opacity);t instanceof $t||(t=Pt(t));var n=Math.atan2(t.b,t.a)*xr;return new It(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function It(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Rt(t){if(t instanceof Wt)return new Wt(t.h,t.s,t.l,t.opacity);t instanceof Ft||(t=Ut(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(Pr*r+Hr*n-Yr*e)/(Pr+Hr-Yr),o=r-i,u=(Lr*(e-i)-Fr*o)/Er,a=Math.sqrt(u*u+o*o)/(Lr*i*(1-i)),c=a?Math.atan2(u,o)*xr-120:NaN;return new Wt(c<0?c+360:c,a,i,t.opacity)}function Zt(t,n,e,r){return 1===arguments.length?Rt(t):new Wt(t,n,e,null==r?1:r)}function Wt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Xt(t,n){return function(e){return t+e*n}}function Jt(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Vt(t){return 1==(t=+t)?Gt:function(n,e){return e-n?Jt(n,e,t):$r(isNaN(n)?e:n)}}function Gt(t,n){var e=n-t;return e?Xt(t,e):$r(isNaN(t)?n:t)}function Qt(t){return function(){return t}}function Kt(t){return function(n){return t(n)+""}}function tn(t){return function n(e){function r(n,r){var i=t((n=Zt(n)).h,(r=Zt(r)).h),o=Gt(n.s,r.s),u=Gt(n.l,r.l),a=Gt(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}function nn(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Gr(n)}function en(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}function rn(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function on(t,n,e,r){var i=t[0],o=t[1],u=n[0],a=n[1];return o<i?(i=e(o,i),u=r(a,u)):(i=e(i,o),u=r(u,a)),function(t){return u(i(t))}}function un(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),u=new Array(i),a=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<i;)o[a]=e(t[a],t[a+1]),u[a]=r(n[a],n[a+1]);return function(n){var e=Ke(t,n,1,i)-1;return u[e](o[e](n))}}function an(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function cn(t,n){function e(){return i=Math.min(a.length,c.length)>2?un:on,o=u=null,r}function r(n){return(o||(o=i(a,c,h?en(t):t,s)))(+n)}var i,o,u,a=Kr,c=Kr,s=Wr,h=!1;return r.invert=function(t){return(u||(u=i(c,a,nn,h?rn(n):n)))(+t)},r.domain=function(t){return arguments.length?(a=ur.call(t,Qr),e()):a.slice()},r.range=function(t){return arguments.length?(c=ar.call(t),e()):c.slice()},r.rangeRound=function(t){return c=ar.call(t),s=Xr,e()},r.clamp=function(t){return arguments.length?(h=!!t,e()):h},r.interpolate=function(t){return arguments.length?(s=t,e()):s},e()}function sn(t){return new hn(t)}function hn(t){if(!(n=ui.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",i=n[3]||"-",o=n[4]||"",u=!!n[5],a=n[6]&&+n[6],c=!!n[7],s=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(c=!0,h="g"):oi[h]||(h=""),(u||"0"===e&&"="===r)&&(u=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=u,this.width=a,this.comma=c,this.precision=s,this.type=h}function ln(t){var n=t.domain;return t.ticks=function(t){var e=n();return rr(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return di(n(),t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,u=i.length-1,a=i[o],c=i[u];return c<a&&(r=a,a=c,c=r,r=o,o=u,u=r),r=Mt(a,c,e),r>0?r=Mt(a=Math.floor(a/r)*r,c=Math.ceil(c/r)*r,e):r<0&&(r=Mt(a=Math.ceil(a*r)/r,c=Math.floor(c*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[u]=Math.ceil(c/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[u]=Math.floor(c*r)/r,n(i)),t},t}function fn(){var t=cn(nn,Or);return t.copy=function(){return an(t,fn())},ln(t)}function pn(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function gn(){var t=1,n=cn(function(n,e){return(e=pn(e,t)-(n=pn(n,t)))?function(r){return(pn(r,t)-n)/e}:Gr(e)},function(n,e){return e=pn(e,t)-(n=pn(n,t)),function(r){return pn(n+e*r,1/t)}}),e=n.domain;return n.exponent=function(n){return arguments.length?(t=+n,e(e())):t},n.copy=function(){return an(n,gn().exponent(t))},ln(n)}function dn(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return u;do{u.push(new Date(+e))}while(n(e,o),t(e),e<r);return u},i.filter=function(e){return dn(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return yi.setTime(+n),vi.setTime(+r),t(yi),t(vi),Math.floor(e(yi,vi))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}function yn(t){return dn(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())*_i)/Mi})}function vn(t){return dn(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)/Mi})}function mn(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 _n(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 Mn(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function wn(t){function n(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a<s;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=Fi[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function e(t,n){return function(e){var i=Mn(1900);if(r(i,t,e+="",0)!=e.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var o="Z"in i?_n(Mn(i.y)).getUTCDay():n(Mn(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,_n(i)):n(i)}}function r(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=T[i in Fi?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}var i=t.dateTime,o=t.date,u=t.time,a=t.periods,c=t.days,s=t.shortDays,h=t.months,l=t.shortMonths,f=Tn(a),p=An(a),g=Tn(c),d=An(c),y=Tn(s),v=An(s),m=Tn(h),_=An(h),M=Tn(l),w=An(l),x={a:function(t){return s[t.getDay()]},A:function(t){return c[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return h[t.getMonth()]},c:null,d:qn,e:qn,H:Bn,I:On,j:jn,L:In,m:Rn,M:Zn,p:function(t){return a[+(t.getHours()>=12)]},S:Wn,U:Xn,w:Jn,W:Vn,x:null,X:null,y:Gn,Y:Qn,Z:Kn,"%":ge},b={a:function(t){return s[t.getUTCDay()]},A:function(t){return c[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:te,e:te,H:ne,I:ee,j:re,L:ie,m:oe,M:ue,p:function(t){return a[+(t.getUTCHours()>=12)]},S:ae,U:ce,w:se,W:he,x:null,X:null,y:le,Y:fe,Z:pe,"%":ge},T={a:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.w=v[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.w=d[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=M.exec(n.slice(e));return r?(t.m=w[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=m.exec(n.slice(e));return r?(t.m=_[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,n,e){return r(t,i,n,e)},d:En,e:En,H:Hn,I:Hn,j:Ln,L:$n,m:Fn,M:Yn,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=p[r[0].toLowerCase()],e+r[0].length):-1},S:Pn,U:Nn,w:Cn,W:kn,x:function(t,n,e){return r(t,o,n,e)},X:function(t,n,e){return r(t,u,n,e)},y:Un,Y:Sn,Z:Dn,"%":zn};return x.x=n(o,x),x.X=n(u,x),x.c=n(i,x),b.x=n(o,b),b.X=n(u,b),b.c=n(i,b),{format:function(t){var e=n(t+="",x);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",mn);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,_n);return n.toString=function(){return t},n}}}function xn(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function bn(t){return t.replace(Hi,"\\$&")}function Tn(t){return new RegExp("^(?:"+t.map(bn).join("|")+")","i")}function An(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function Cn(t,n,e){var r=Ei.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Nn(t,n,e){var r=Ei.exec(n.slice(e));return r?(t.U=+r[0],e+r[0].length):-1}function kn(t,n,e){var r=Ei.exec(n.slice(e));return r?(t.W=+r[0],e+r[0].length):-1}function Sn(t,n,e){var r=Ei.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Un(t,n,e){var r=Ei.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Dn(t,n,e){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Fn(t,n,e){var r=Ei.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function En(t,n,e){var r=Ei.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Ln(t,n,e){var r=Ei.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Hn(t,n,e){var r=Ei.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Yn(t,n,e){var r=Ei.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Pn(t,n,e){var r=Ei.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function $n(t,n,e){var r=Ei.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function zn(t,n,e){var r=Li.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function qn(t,n){return xn(t.getDate(),n,2)}function Bn(t,n){return xn(t.getHours(),n,2)}function On(t,n){return xn(t.getHours()%12||12,n,2)}function jn(t,n){return xn(1+wi.count(Ti(t),t),n,3)}function In(t,n){return xn(t.getMilliseconds(),n,3)}function Rn(t,n){return xn(t.getMonth()+1,n,2)}function Zn(t,n){return xn(t.getMinutes(),n,2)}function Wn(t,n){return xn(t.getSeconds(),n,2)}function Xn(t,n){return xn(xi.count(Ti(t),t),n,2)}function Jn(t){return t.getDay()}function Vn(t,n){return xn(bi.count(Ti(t),t),n,2)}function Gn(t,n){return xn(t.getFullYear()%100,n,2)}function Qn(t,n){return xn(t.getFullYear()%1e4,n,4)}function Kn(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+xn(n/60|0,"0",2)+xn(n%60,"0",2)}function te(t,n){return xn(t.getUTCDate(),n,2)}function ne(t,n){return xn(t.getUTCHours(),n,2)}function ee(t,n){return xn(t.getUTCHours()%12||12,n,2)}function re(t,n){return xn(1+Ai.count(ki(t),t),n,3)}function ie(t,n){return xn(t.getUTCMilliseconds(),n,3)}function oe(t,n){return xn(t.getUTCMonth()+1,n,2)}function ue(t,n){return xn(t.getUTCMinutes(),n,2)}function ae(t,n){return xn(t.getUTCSeconds(),n,2)}function ce(t,n){return xn(Ci.count(ki(t),t),n,2)}function se(t){return t.getUTCDay()}function he(t,n){return xn(Ni.count(ki(t),t),n,2)}function le(t,n){return xn(t.getUTCFullYear()%100,n,2)}function fe(t,n){return xn(t.getUTCFullYear()%1e4,n,4)}function pe(){return"+0000"}function ge(){return"%"}function de(t){return t.children&&t.children.length?!!ye(t).filter(function(t){return"node_modules"===t.data.name}).length?"#599e59":"#487ea4":"#db7100"}function ye(t){for(var n=[],e=t;e.parent;)n.unshift(e),e=e.parent;return n}var ve="http://www.w3.org/1999/xhtml",me={svg:"http://www.w3.org/2000/svg",xhtml:ve,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},_e=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),me.hasOwnProperty(n)?{space:me[n],local:t}:t},Me=function(e){var r=_e(e);return(r.local?n:t)(r)},we=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var xe=document.documentElement;if(!xe.matches){var be=xe.webkitMatchesSelector||xe.msMatchesSelector||xe.mozMatchesSelector||xe.oMatchesSelector;we=function(t){return function(){return be.call(this,t)}}}}var Te=we,Ae={},Ce=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Ae={mouseenter:"mouseover",mouseleave:"mouseout"}));var Ne=function(t){return null==t?a:function(){return this.querySelector(t)}},ke=function(t){return null==t?c:function(){return this.querySelectorAll(t)}},Se=function(t){return new Array(t.length)};s.prototype={constructor:s,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 Ue=function(t){return function(){return t}},De="$",Fe=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};k.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Ee=[null];W.prototype=function(){return new W([[document.documentElement]],Ee)}.prototype={constructor:W,select:function(t){"function"!=typeof t&&(t=Ne(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,s=r[i]=new Array(c),h=0;h<c;++h)(o=a[h])&&(u=t.call(o,o.__data__,h,a))&&("__data__"in o&&(u.__data__=o.__data__),s[h]=u);return new W(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=ke(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,s=0;s<c;++s)(u=a[s])&&(r.push(t.call(u,u.__data__,s,a)),i.push(u));return new W(r,i)},filter:function(t){"function"!=typeof t&&(t=Te(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],s=0;s<a;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new W(r,this._parents)},data:function(t,n){if(!t)return d=new Array(this.size()),s=-1,this.each(function(t){d[++s]=t}),d;var e=n?l:h,r=this._parents,i=this._groups;"function"!=typeof t&&(t=Ue(t));for(var o=i.length,u=new Array(o),a=new Array(o),c=new Array(o),s=0;s<o;++s){var f=r[s],p=i[s],g=p.length,d=t.call(f,f&&f.__data__,s,r),y=d.length,v=a[s]=new Array(y),m=u[s]=new Array(y);e(f,p,v,m,c[s]=new Array(g),d,n);for(var _,M,w=0,x=0;w<y;++w)if(_=v[w]){for(w>=x&&(x=w+1);!(M=m[x])&&++x<y;);_._next=M||null}}return u=new W(u,r),u._enter=a,u._exit=c,u},enter:function(){return new W(this._enter||this._groups.map(Se),this._parents)},exit:function(){return new W(this._exit||this._groups.map(Se),this._parents)},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,s=n[a],h=e[a],l=s.length,f=u[a]=new Array(l),p=0;p<l;++p)(c=s[p]||h[p])&&(f[p]=c);for(;a<r;++a)u[a]=n[a];return new W(u,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){t||(t=f);for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i){for(var o,u=n[i],a=u.length,c=r[i]=new Array(a),s=0;s<a;++s)(o=u[s])&&(c[s]=o);c.sort(function(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e})}return new W(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=_e(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?g:p:"function"==typeof n?e.local?m:v:e.local?y:d)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?_:"function"==typeof n?w:M)(t,n,null==e?"":e)):x(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?b:"function"==typeof n?A:T)(t,n)):this.node()[t]},classed:function(t,n){var e=C(t+"");if(arguments.length<2){for(var r=N(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?E:n?D:F)(e,n))},text:function(t){return arguments.length?this.each(null==t?L:("function"==typeof t?Y:H)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?P:("function"==typeof t?z:$)(t)):this.node().innerHTML},raise:function(){return this.each(q)},lower:function(){return this.each(B)},append:function(t){var n="function"==typeof t?t:Me(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:Me(t),r=null==n?O:"function"==typeof n?n:Ne(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(j)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,a,c=i(t+""),s=c.length;{if(!(arguments.length<2)){for(h=n?u:o,null==e&&(e=!1),r=0;r<s;++r)this.each(h(c[r],n,e));return this}var h=this.node().__on;if(h)for(var l,f=0,p=h.length;f<p;++f)for(r=0,l=h[f];r<s;++r)if((a=c[r]).type===l.type&&a.name===l.name)return l.value}},dispatch:function(t,n){return this.each(("function"==typeof n?Z:R)(t,n))}};var Le=function(t){return"string"==typeof t?new W([[document.querySelector(t)]],[document.documentElement]):new W([[t]],Ee)};tt.prototype=V.prototype={constructor:tt,count:function(){return this.eachAfter(X)},each:function(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r])}while(u.length);return this},eachAfter:function(t){for(var n,e,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=u.pop();)t(i);return this},eachBefore:function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e})},sort:function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},path:function(t){for(var n=this,e=J(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each(function(n){t.push(n)}),t},leaves:function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},links:function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n},copy:function(){return V(this).eachBefore(Q)}};var He=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)},Ye=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,s=t.value&&(r-n)/t.value;++a<c;)(o=u[a]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*s};(function(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}).prototype=Object.create(tt.prototype);var Pe=Math.PI,$e=2*Pe,ze=$e-1e-6;nt.prototype=et.prototype={constructor:nt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,u=this._y1,a=e-t,c=r-n,s=o-t,h=u-n,l=s*s+h*h;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>1e-6)if(Math.abs(h*a-c*s)>1e-6&&i){var f=e-o,p=r-u,g=a*a+c*c,d=f*f+p*p,y=Math.sqrt(g),v=Math.sqrt(l),m=i*Math.tan((Pe-Math.acos((g+l-d)/(2*y*v)))/2),_=m/v,M=m/y;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*s)+","+(n+_*h)),this._+="A"+i+","+i+",0,0,"+ +(h*f>s*p)+","+(this._x1=t+M*a)+","+(this._y1=n+M*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),c=t+u,s=n+a,h=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-s)>1e-6)&&(this._+="L"+c+","+s),e&&(l<0&&(l=l%$e+$e),l>ze?this._+="A"+e+","+e+",0,1,"+h+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+h+","+(this._x1=c)+","+(this._y1=s):l>1e-6&&(this._+="A"+e+","+e+",0,"+ +(l>=Pe)+","+h+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var qe=function(t){return function(){return t}},Be=Math.abs,Oe=Math.atan2,je=Math.cos,Ie=Math.max,Re=Math.min,Ze=Math.sin,We=Math.sqrt,Xe=1e-12,Je=Math.PI,Ve=Je/2,Ge=2*Je;ft.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)}}};vt.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:yt(this,this._t0,dt(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,yt(this,dt(this,e=gt(this,t,n)),e);break;default:yt(this,this._t0,e=gt(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(function(t){this._context=new mt(t)}.prototype=Object.create(vt.prototype)).point=function(t,n){vt.prototype.point.call(this,n,t)},mt.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,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}};var Qe=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},Ke=function(t){return 1===t.length&&(t=_t(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}(Qe).right,tr=Math.sqrt(50),nr=Math.sqrt(10),er=Math.sqrt(2),rr=function(t,n,e){var r,i,o,u=n<t,a=-1;if(u&&(r=t,t=n,n=r),0===(o=Mt(t,n,e))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),n=Math.floor(n/o),i=new Array(r=Math.ceil(n-t+1));++a<r;)i[a]=(t+a)*o;else for(t=Math.floor(t*o),n=Math.ceil(n*o),i=new Array(r=Math.ceil(t-n+1));++a<r;)i[a]=(t-a)/o;return u&&i.reverse(),i};xt.prototype=bt.prototype={constructor:xt,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var ir=bt.prototype;Tt.prototype=function(t,n){var e=new Tt;if(t instanceof Tt)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}.prototype={constructor:Tt,has:ir.has,add:function(t){return t+="",this["$"+t]=t,this},remove:ir.remove,clear:ir.clear,values:ir.keys,size:ir.size,empty:ir.empty,each:ir.each};var or=Array.prototype,ur=or.map,ar=or.slice,cr=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t},sr="\\s*([+-]?\\d+)\\s*",hr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",lr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",fr=/^#([0-9a-f]{3})$/,pr=/^#([0-9a-f]{6})$/,gr=new RegExp("^rgb\\("+[sr,sr,sr]+"\\)$"),dr=new RegExp("^rgb\\("+[lr,lr,lr]+"\\)$"),yr=new RegExp("^rgba\\("+[sr,sr,sr,hr]+"\\)$"),vr=new RegExp("^rgba\\("+[lr,lr,lr,hr]+"\\)$"),mr=new RegExp("^hsl\\("+[hr,lr,lr]+"\\)$"),_r=new RegExp("^hsla\\("+[hr,lr,lr,hr]+"\\)$"),Mr={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};cr(Ct,Nt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),cr(Ft,Dt,At(Ct,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Ft(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+")")}})),cr(Ht,function(t,n,e,r){return 1===arguments.length?Lt(t):new Ht(t,n,e,null==r?1:r)},At(Ct,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Ht(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Ht(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,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new Ft(Yt(t>=240?t-240:t+120,i,r),Yt(t,i,r),Yt(t<120?t+240:t-120,i,r),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 wr=Math.PI/180,xr=180/Math.PI,br=.95047,Tr=1,Ar=1.08883,Cr=4/29,Nr=6/29,kr=3*Nr*Nr,Sr=Nr*Nr*Nr;cr($t,function(t,n,e,r){return 1===arguments.length?Pt(t):new $t(t,n,e,null==r?1:r)},At(Ct,{brighter:function(t){return new $t(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new $t(this.l-18*(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=Tr*qt(t),n=br*qt(n),e=Ar*qt(e),new Ft(Bt(3.2404542*n-1.5371385*t-.4985314*e),Bt(-.969266*n+1.8760108*t+.041556*e),Bt(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),cr(It,function(t,n,e,r){return 1===arguments.length?jt(t):new It(t,n,e,null==r?1:r)},At(Ct,{brighter:function(t){return new It(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new It(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return Pt(this).rgb()}}));var Ur=-.14861,Dr=1.78277,Fr=-.29227,Er=-.90649,Lr=1.97294,Hr=Lr*Er,Yr=Lr*Dr,Pr=Dr*Fr-Er*Ur;cr(Wt,Zt,At(Ct,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Wt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Wt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*wr,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Ft(255*(n+e*(Ur*r+Dr*i)),255*(n+e*(Fr*r+Er*i)),255*(n+e*(Lr*r)),this.opacity)}}));var $r=function(t){return function(){return t}},zr=function t(n){function e(t,n){var e=r((t=Dt(t)).r,(n=Dt(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),u=Gt(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}var r=Vt(n);return e.gamma=t,e}(1),qr=function(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),u=new Array(r);for(e=0;e<i;++e)o[e]=Wr(t[e],n[e]);for(;e<r;++e)u[e]=n[e];return function(t){for(e=0;e<i;++e)u[e]=o[e](t);return u}},Br=function(t,n){var e=new Date;return t=+t,n-=t,function(r){return e.setTime(t+n*r),e}},Or=function(t,n){return t=+t,n-=t,function(e){return t+n*e}},jr=function(t,n){var e,r={},i={};null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={});for(e in n)e in t?r[e]=Wr(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}},Ir=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Rr=new RegExp(Ir.source,"g"),Zr=function(t,n){var e,r,i,o=Ir.lastIndex=Rr.lastIndex=0,u=-1,a=[],c=[];for(t+="",n+="";(e=Ir.exec(t))&&(r=Rr.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,c.push({i:u,x:Or(e,r)})),o=Rr.lastIndex;return o<n.length&&(i=n.slice(o),a[u]?a[u]+=i:a[++u]=i),a.length<2?c[0]?Kt(c[0].x):Qt(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)a[(e=c[r]).i]=e.x(t);return a.join("")})},Wr=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?$r(n):("number"===r?Or:"string"===r?(e=Nt(n))?(n=e,zr):Zr:n instanceof Nt?zr:n instanceof Date?Br:Array.isArray(n)?qr:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?jr:Or)(t,n)},Xr=function(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}};tn(function(t,n){var e=n-t;return e?Xt(t,e>180||e<-180?e-360*Math.round(e/360):e):$r(isNaN(t)?n:t)});var Jr,Vr=tn(Gt),Gr=function(t){return function(){return t}},Qr=function(t){return+t},Kr=[0,1],ti=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]},ni=function(t){return t=ti(Math.abs(t)),t?t[1]:NaN},ei=function(t,n){return function(e,r){for(var i=e.length,o=[],u=0,a=t[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(e.substring(i-=a,i+a)),!((c+=a+1)>r));)a=t[u=(u+1)%t.length];return o.reverse().join(n)}},ri=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}},ii=function(t,n){var e=ti(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},oi={"":function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},"%":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 ii(100*t,n)},r:ii,s:function(t,n){var e=ti(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Jr=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+ti(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},ui=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;sn.prototype=hn.prototype,hn.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 ai,ci,si,hi=function(t){return t},li=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];ai=function(t){function n(t){function n(t){var n,r,u,h=y,M=v;if("c"===d)M=m(t)+M,t="";else{var w=(t=+t)<0;if(t=m(Math.abs(t),g),w&&0==+t&&(w=!1),h=(w?"("===s?s:"-":"-"===s||"("===s?"":s)+h,M=M+("s"===d?li[8+Jr/3]:"")+(w&&"("===s?")":""),_)for(n=-1,r=t.length;++n<r;)if(48>(u=t.charCodeAt(n))||u>57){M=(46===u?i+t.slice(n+1):t.slice(n))+M,t=t.slice(0,n);break}}p&&!l&&(t=e(t,1/0));var x=h.length+t.length+M.length,b=x<f?new Array(f-x+1).join(a):"";switch(p&&l&&(t=e(b+t,b.length?f-M.length:1/0),b=""),c){case"<":t=h+t+M+b;break;case"=":t=h+b+t+M;break;case"^":t=b.slice(0,x=b.length>>1)+h+t+M+b.slice(x);break;default:t=b+h+t+M}return o(t)}var a=(t=sn(t)).fill,c=t.align,s=t.sign,h=t.symbol,l=t.zero,f=t.width,p=t.comma,g=t.precision,d=t.type,y="$"===h?r[0]:"#"===h&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",v="$"===h?r[1]:/[%p]/.test(d)?u:"",m=oi[d],_=!d||/[defgprs%]/.test(d);return g=null==g?d?6:12:/[gprs]/.test(d)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),n.toString=function(){return t+""},n}var e=t.grouping&&t.thousands?ei(t.grouping,t.thousands):hi,r=t.currency,i=t.decimal,o=t.numerals?ri(t.numerals):hi,u=t.percent||"%";return{format:n,formatPrefix:function(t,e){var r=n((t=sn(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(ni(e)/3))),o=Math.pow(10,-i),u=li[8+i/3];return function(t){return r(o*t)+u}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),ci=ai.format,si=ai.formatPrefix;var fi=function(t){return Math.max(0,-ni(Math.abs(t)))},pi=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ni(n)/3)))-ni(Math.abs(t)))},gi=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,ni(n)-ni(t))+1},di=function(t,n,e){var r,i=t[0],o=t[t.length-1],u=wt(i,o,null==n?10:n);switch((e=sn(null==e?",f":e)).type){case"s":var a=Math.max(Math.abs(i),Math.abs(o));return null!=e.precision||isNaN(r=pi(u,a))||(e.precision=r),si(e,a);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(r=gi(u,Math.max(Math.abs(i),Math.abs(o))))||(e.precision=r-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(r=fi(u))||(e.precision=r-2*("%"===e.type))}return ci(e)},yi=new Date,vi=new Date,mi=dn(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});mi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?dn(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):mi:null};var _i=6e4,Mi=6048e5,wi=(dn(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,n){t.setTime(+t+1e3*n)},function(t,n){return(n-t)/1e3},function(t){return t.getUTCSeconds()}),dn(function(t){t.setTime(Math.floor(t/_i)*_i)},function(t,n){t.setTime(+t+n*_i)},function(t,n){return(n-t)/_i},function(t){return t.getMinutes()}),dn(function(t){var n=t.getTimezoneOffset()*_i%36e5;n<0&&(n+=36e5),t.setTime(36e5*Math.floor((+t-n)/36e5)+n)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getHours()}),dn(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())*_i)/864e5},function(t){return t.getDate()-1})),xi=yn(0),bi=yn(1),Ti=(yn(2),yn(3),yn(4),yn(5),yn(6),dn(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()}),dn(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()}));Ti.every=function(t){return isFinite(t=Math.floor(t))&&t>0?dn(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};dn(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*_i)},function(t,n){return(n-t)/_i},function(t){return t.getUTCMinutes()}),dn(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getUTCHours()});var Ai=dn(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/864e5},function(t){return t.getUTCDate()-1}),Ci=vn(0),Ni=vn(1),ki=(vn(2),vn(3),vn(4),vn(5),vn(6),dn(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()}),dn(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()}));ki.every=function(t){return isFinite(t=Math.floor(t))&&t>0?dn(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 Si,Ui,Di,Fi={"-":"",_:" ",0:"0"},Ei=/^\s*\d+/,Li=/^%/,Hi=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;(Si=wn({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"]})).format,Si.parse,Ui=Si.utcFormat,Di=Si.utcParse;Date.prototype.toISOString||Ui("%Y-%m-%dT%H:%M:%S.%LZ"),+new Date("2000-01-01T00:00:00.000Z")||Di("%Y-%m-%dT%H:%M:%S.%LZ");var Yi=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})};Yi("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Yi("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Yi("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Yi("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),Vr(Zt(300,.5,0),Zt(-240,.5,1));Vr(Zt(-100,.75,.35),Zt(80,1.5,.8)),Vr(Zt(260,.75,.35),Zt(80,1.5,.8)),Zt();var Pi=function(t,n){if(!Bi(t))return null;var e=Math.abs(t),r=n&&n.thousandsSeparator||"",i=n&&n.unitSeparator||"",o=n&&void 0!==n.decimalPlaces?n.decimalPlaces:2,u=Boolean(n&&n.fixedDecimals),a=n&&n.unit||"";a&&qi[a.toLowerCase()]||(a=e>=qi.tb?"TB":e>=qi.gb?"GB":e>=qi.mb?"MB":e>=qi.kb?"kB":"B");var c=(t/qi[a.toLowerCase()]).toFixed(o);return u||(c=c.replace(zi,"$1")),r&&(c=c.replace($i,r)),c+i+a},$i=/\B(?=(\d{3})+(?!\d))/g,zi=/(?:\.0*|(\.[^0]+)0+)$/,qi={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:1024*(1<<30)},Bi=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},Oi=window.nodesData,ji=Math.min(700,700)/2-10,Ii=fn().range([0,2*Math.PI]),Ri=gn().exponent(.5).range([0,ji]),Zi=Le("#chart").append("svg").attr("width",700).attr("height",700).append("g").attr("transform","translate(350,350)"),Wi=function(){function t(t){var u=t.height+1;return t.x0=t.y0=i,t.x1=e,t.y1=r/u,t.eachBefore(n(r,u)),o&&t.eachBefore(He),t}function n(t,n){return function(e){e.children&&Ye(e,e.x0,t*(e.depth+1)/n,e.x1,t*(e.depth+2)/n);var r=e.x0,o=e.y0,u=e.x1-i,a=e.y1-i;u<r&&(r=u=(r+u)/2),a<o&&(o=a=(o+a)/2),e.x0=r,e.y0=o,e.x1=u,e.y1=a}}var e=1,r=1,i=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],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i=+n,t):i},t}(),Xi=function(){function t(){var t,s,h=+n.apply(this,arguments),l=+e.apply(this,arguments),f=o.apply(this,arguments)-Ve,p=u.apply(this,arguments)-Ve,g=Be(p-f),d=p>f;if(c||(c=t=et()),l<h&&(s=l,l=h,h=s),l>Xe)if(g>Ge-Xe)c.moveTo(l*je(f),l*Ze(f)),c.arc(0,0,l,f,p,!d),h>Xe&&(c.moveTo(h*je(p),h*Ze(p)),c.arc(0,0,h,p,f,d));else{var y,v,m=f,_=p,M=f,w=p,x=g,b=g,T=a.apply(this,arguments)/2,A=T>Xe&&(i?+i.apply(this,arguments):We(h*h+l*l)),C=Re(Be(l-h)/2,+r.apply(this,arguments)),N=C,k=C;if(A>Xe){var S=it(A/h*Ze(T)),U=it(A/l*Ze(T));(x-=2*S)>Xe?(S*=d?1:-1,M+=S,w-=S):(x=0,M=w=(f+p)/2),(b-=2*U)>Xe?(U*=d?1:-1,m+=U,_-=U):(b=0,m=_=(f+p)/2)}var D=l*je(m),F=l*Ze(m),E=h*je(w),L=h*Ze(w);if(C>Xe){var H=l*je(_),Y=l*Ze(_),P=h*je(M),$=h*Ze(M);if(g<Je){var z=x>Xe?ht(D,F,P,$,H,Y,E,L):[E,L],q=D-z[0],B=F-z[1],O=H-z[0],j=Y-z[1],I=1/Ze(rt((q*O+B*j)/(We(q*q+B*B)*We(O*O+j*j)))/2),R=We(z[0]*z[0]+z[1]*z[1]);N=Re(C,(h-R)/(I-1)),k=Re(C,(l-R)/(I+1))}}b>Xe?k>Xe?(y=lt(P,$,D,F,l,k,d),v=lt(H,Y,E,L,l,k,d),c.moveTo(y.cx+y.x01,y.cy+y.y01),k<C?c.arc(y.cx,y.cy,k,Oe(y.y01,y.x01),Oe(v.y01,v.x01),!d):(c.arc(y.cx,y.cy,k,Oe(y.y01,y.x01),Oe(y.y11,y.x11),!d),c.arc(0,0,l,Oe(y.cy+y.y11,y.cx+y.x11),Oe(v.cy+v.y11,v.cx+v.x11),!d),c.arc(v.cx,v.cy,k,Oe(v.y11,v.x11),Oe(v.y01,v.x01),!d))):(c.moveTo(D,F),c.arc(0,0,l,m,_,!d)):c.moveTo(D,F),h>Xe&&x>Xe?N>Xe?(y=lt(E,L,H,Y,h,-N,d),v=lt(D,F,P,$,h,-N,d),c.lineTo(y.cx+y.x01,y.cy+y.y01),N<C?c.arc(y.cx,y.cy,N,Oe(y.y01,y.x01),Oe(v.y01,v.x01),!d):(c.arc(y.cx,y.cy,N,Oe(y.y01,y.x01),Oe(y.y11,y.x11),!d),c.arc(0,0,h,Oe(y.cy+y.y11,y.cx+y.x11),Oe(v.cy+v.y11,v.cx+v.x11),d),c.arc(v.cx,v.cy,N,Oe(v.y11,v.x11),Oe(v.y01,v.x01),!d))):c.arc(0,0,h,w,M,d):c.lineTo(E,L)}else c.moveTo(0,0);if(c.closePath(),t)return c=null,t+""||null}var n=ot,e=ut,r=qe(0),i=null,o=at,u=ct,a=st,c=null;return t.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +u.apply(this,arguments))/2-Je/2;return[je(r)*t,Ze(r)*t]},t.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:qe(+e),t):n},t.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:qe(+n),t):e},t.cornerRadius=function(n){return arguments.length?(r="function"==typeof n?n:qe(+n),t):r},t.padRadius=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:qe(+n),t):i},t.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:qe(+n),t):o},t.endAngle=function(n){return arguments.length?(u="function"==typeof n?n:qe(+n),t):u},t.padAngle=function(n){return arguments.length?(a="function"==typeof n?n:qe(+n),t):a},t.context=function(n){return arguments.length?(c=null==n?null:n,t):c},t}().startAngle(function(t){return Math.max(0,Math.min(2*Math.PI,Ii(t.x0)))}).endAngle(function(t){return Math.max(0,Math.min(2*Math.PI,Ii(t.x1)))}).innerRadius(function(t){return Ri(t.y0)}).outerRadius(function(t){return Ri(t.y1)}),Ji=V(Oi).sum(function(t){return t.children&&t.children.length?0:t.size}).sort();Wi(Ji),Zi.selectAll("path").data(Wi(Ji).descendants()).enter().append("path").attr("display",function(t){return t.depth?null:"none"}).attr("d",Xi).attr("fill-rule","evenodd").style("stroke","#fff").style("fill",function(t){return de(t)}).on("mouseover",function(t){var n=(100*t.value/Vi).toPrecision(2),e=n+"%";n<.1&&(e="< 0.1%"),Le(".details-name").text(t.data.name),Le(".details-percentage").text(e),Le(".details-size").text(Pi(t.value)),Le(".details").style("display","block");var r=ye(t);Zi.selectAll("path").style("opacity",.3),Zi.selectAll("path").filter(function(t){return r.indexOf(t)>=0}).style("opacity",1)});var Vi=Ji.value;Le("#chart").on("mouseleave",function(){Zi.selectAll("path").style("opacity",1),Le(".details").style("display","none")})}();
</script>