diff --git a/grapher/main.bundle.js b/grapher/main.bundle.js index 2df9cf97..16809787 100644 --- a/grapher/main.bundle.js +++ b/grapher/main.bundle.js @@ -1,2 +1,2 @@ -!function(t){function n(e){if(r[e])return r[e].exports;var i=r[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var r={};n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=465)}([function(t,n,r){"use strict";function e(t){return t>1?0:t<-1?c:Math.acos(t)}function i(t){return t>1?f:t<-1?-f:Math.asin(t)}function u(t){return(t=w(t/2))*t}r.d(n,"o",function(){return a}),r.d(n,"w",function(){return o}),r.d(n,"a",function(){return c}),r.d(n,"k",function(){return f}),r.d(n,"v",function(){return s}),r.d(n,"b",function(){return l}),r.d(n,"h",function(){return h}),r.d(n,"g",function(){return d}),r.d(n,"p",function(){return p}),r.d(n,"l",function(){return v}),r.d(n,"e",function(){return g}),r.d(n,"c",function(){return y}),r.d(n,"u",function(){return _}),r.d(n,"m",function(){return b}),r.d(n,"i",function(){return m}),r.d(n,"r",function(){return x}),r.d(n,"d",function(){return w}),r.d(n,"q",function(){return M}),r.d(n,"n",function(){return k}),r.d(n,"j",function(){return T}),n.s=e,n.f=i,n.t=u;var a=1e-6,o=1e-12,c=Math.PI,f=c/2,s=c/4,l=2*c,h=180/c,d=c/180,p=Math.abs,v=Math.atan,g=Math.atan2,y=Math.cos,_=Math.ceil,b=Math.exp,m=(Math.floor,Math.log),x=Math.pow,w=Math.sin,M=Math.sign||function(t){return t>0?1:t<0?-1:0},k=Math.sqrt,T=Math.tan},function(t,n,r){"use strict";var e=r(74);r.d(n,"a",function(){return e.a});var i=r(360);r.d(n,"b",function(){return i.a});var u=r(146);r.d(n,"c",function(){return u.a});var a=r(361);r.d(n,"d",function(){return a.a});var o=r(75);r.d(n,"e",function(){return o.a});var c=r(76);r.d(n,"f",function(){return c.a});var f=r(41);r.d(n,"g",function(){return f.a});var s=r(362);r.d(n,"h",function(){return s.a});var l=r(363);r.d(n,"i",function(){return l.a});var h=r(5);r.d(n,"j",function(){return h.a});var d=r(78);r.d(n,"k",function(){return d.a});var p=r(150);r.d(n,"l",function(){return p.a});var v=r(149);r.d(n,"m",function(){return v.a});var g=r(390);r.d(n,"n",function(){return g.a});var y=r(391);r.d(n,"o",function(){return y.a});var _=r(80);r.d(n,"p",function(){return _.a});var b=r(77);r.d(n,"q",function(){return b.a}),r.d(n,"r",function(){return b.b})},function(t,n,r){"use strict";function e(t,n,r,a){function o(n){return t(n=new Date(+n)),n}return o.floor=o,o.ceil=function(r){return t(r=new Date(r-1)),n(r,1),t(r),r},o.round=function(t){var n=o(t),r=o.ceil(t);return t-n0))return a;do{a.push(u=new Date(+r)),n(r,i),t(r)}while(u=n)for(;t(n),!r(n);)n.setTime(n-1)},function(t,e){if(t>=t)if(e<0)for(;++e<=0;)for(;n(t,-1),!r(t););else for(;--e>=0;)for(;n(t,1),!r(t););})},r&&(o.count=function(n,e){return i.setTime(+n),u.setTime(+e),t(i),t(u),Math.floor(r(i,u))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(a?function(n){return a(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}n.a=e;var i=new Date,u=new Date},function(t,n,r){"use strict";var e=r(92);r.d(n,"a",function(){return e.a}),r.d(n,"b",function(){return e.b}),r.d(n,"c",function(){return e.c});var i=r(17);r.d(n,"d",function(){return i.a});var u=r(93);r.d(n,"e",function(){return u.a});var a=r(176);r.d(n,"f",function(){return a.a});var o=r(177);r.d(n,"g",function(){return o.a});var c=r(94);r.d(n,"h",function(){return c.a});var f=r(95);r.d(n,"i",function(){return f.a});var s=r(178);r.d(n,"j",function(){return s.a});var l=r(188);r.d(n,"k",function(){return l.a});var h=r(189);r.d(n,"l",function(){return h.a});var d=r(99);r.d(n,"m",function(){return d.a});var p=r(180);r.d(n,"n",function(){return p.a});var v=r(181);r.d(n,"o",function(){return v.a});var g=r(182);r.d(n,"p",function(){return g.a});var y=r(183);r.d(n,"q",function(){return y.a});var _=r(96);r.d(n,"r",function(){return _.a});var b=r(97);r.d(n,"s",function(){return b.a});var m=r(184);r.d(n,"t",function(){return m.a});var x=r(50);r.d(n,"u",function(){return x.a});var w=r(98);r.d(n,"v",function(){return w.a});var M=r(185);r.d(n,"w",function(){return M.a});var k=r(186);r.d(n,"x",function(){return k.a});var T=r(187);r.d(n,"y",function(){return T.a});var N=r(100);r.d(n,"z",function(){return N.a}),r.d(n,"A",function(){return N.b}),r.d(n,"B",function(){return N.c});var A=r(101);r.d(n,"C",function(){return A.a});var E=r(102);r.d(n,"D",function(){return E.a});var S=r(190);r.d(n,"E",function(){return S.a})},function(t,n,r){"use strict";var e=r(69);r.d(n,"a",function(){return e.a});var i=r(132);r.d(n,"b",function(){return i.a});var u=r(68);r.d(n,"c",function(){return u.a});var a=r(133);r.d(n,"d",function(){return a.a});var o=r(135);r.d(n,"e",function(){return o.a});var c=r(38);r.d(n,"f",function(){return c.a});var f=r(136);r.d(n,"g",function(){return f.a});var s=r(300);r.d(n,"h",function(){return s.a});var l=r(138);r.d(n,"i",function(){return l.a});var h=r(302);r.d(n,"j",function(){return h.a}),r.d(n,"k",function(){return h.b});var d=r(304);r.d(n,"l",function(){return d.a});var p=r(137);r.d(n,"m",function(){return p.a}),r.d(n,"n",function(){return p.b}),r.d(n,"o",function(){return p.c});var v=r(297);r.d(n,"p",function(){return v.a}),r.d(n,"q",function(){return v.b});var g=r(298);r.d(n,"r",function(){return g.a});var y=r(296);r.d(n,"s",function(){return y.a}),r.d(n,"t",function(){return y.b});var _=r(295);r.d(n,"u",function(){return _.a}),r.d(n,"v",function(){return _.b});var b=r(299);r.d(n,"w",function(){return b.a})},function(t,n,r){"use strict";function e(t,n){this._groups=t,this._parents=n}function i(){return new e([[document.documentElement]],D)}var u=r(385),a=r(386),o=r(374),c=r(368),f=r(147),s=r(373),l=r(378),h=r(381),d=r(388),p=r(366),v=r(380),g=r(379),y=r(387),_=r(372),b=r(371),m=r(365),x=r(149),w=r(382),M=r(367),k=r(389),T=r(375),N=r(383),A=r(377),E=r(364),S=r(376),C=r(384),q=r(369),z=r(77),P=r(370);r.d(n,"c",function(){return D}),n.b=e;var D=[null];e.prototype=i.prototype={constructor:e,select:u.a,selectAll:a.a,filter:o.a,data:c.a,enter:f.a,exit:s.a,merge:l.a,order:h.a,sort:d.a,call:p.a,nodes:v.a,node:g.a,size:y.a,empty:_.a,each:b.a,attr:m.a,style:x.b,property:w.a,classed:M.a,text:k.a,html:T.a,raise:N.a,lower:A.a,append:E.a,insert:S.a,remove:C.a,datum:q.a,on:z.c,dispatch:P.a},n.a=i},function(t,n,r){"use strict";function e(t,n){var r=u(t,n);if(r.state>l)throw new Error("too late; already scheduled");return r}function i(t,n){var r=u(t,n);if(r.state>d)throw new Error("too late; already started");return r}function u(t,n){var r=t.__transition;if(!r||!(r=r[n]))throw new Error("transition not found");return r}function a(t,n,e){function i(t){e.state=h,e.timer.restart(u,e.delay,e.time),e.delay<=t&&u(t-e.delay)}function u(i){var l,g,_,b;if(e.state!==h)return o();for(l in s)if(b=s[l],b.name===e.name){if(b.state===p)return r.i(c.d)(u);b.state===v?(b.state=y,b.timer.stop(),b.on.call("interrupt",t,t.__data__,b.index,b.group),delete s[l]):+l2?t[2]%360*l.g:0,d()):[P*l.h,D*l.h,L*l.h]},n.precision=function(t){return arguments.length?(F=r.i(v.a)(u,I=t*t),y()):r.i(l.n)(I)},n.fitExtent=function(t,e){return r.i(p.a)(n,t,e)},n.fitSize=function(t,e){return r.i(p.b)(n,t,e)},n.fitWidth=function(t,e){return r.i(p.c)(n,t,e)},n.fitHeight=function(t,e){return r.i(p.d)(n,t,e)},function(){return _=t.apply(this,arguments),n.invert=_.invert&&i,d()}}var a=r(115),o=r(117),c=r(34),f=r(120),s=r(60),l=r(0),h=r(35),d=r(36),p=r(63),v=r(270);n.a=i,n.b=u;var g=r.i(d.b)({point:function(t,n){this.stream.point(t*l.g,n*l.g)}})},function(t,n,r){"use strict";r.d(n,"e",function(){return e}),r.d(n,"d",function(){return i}),r.d(n,"c",function(){return u}),r.d(n,"b",function(){return a}),r.d(n,"a",function(){return o});var e=1e3,i=6e4,u=36e5,a=864e5,o=6048e5},function(t,n,r){"use strict";function e(){}n.a=e},function(t,n,r){"use strict";function e(t,n,r,e){this._groups=t,this._parents=n,this._name=r,this._id=e}function i(t){return r.i(a.j)().transition(t)}function u(){return++k}var a=r(1),o=r(438),c=r(439),f=r(440),s=r(441),l=r(442),h=r(443),d=r(444),p=r(445),v=r(446),g=r(447),y=r(448),_=r(449),b=r(450),m=r(451),x=r(452),w=r(453),M=r(48);n.b=e,n.a=i,n.c=u;var k=0,T=a.j.prototype;e.prototype=i.prototype={constructor:e,select:g.a,selectAll:y.a,filter:h.a,merge:d.a,selection:_.a,transition:w.a,call:T.call,nodes:T.nodes,node:T.node,size:T.size,empty:T.empty,each:T.each,on:p.a,attr:o.a,attrTween:c.a,style:b.a,styleTween:m.a,text:x.a,remove:v.a,tween:M.a,delay:f.a,duration:s.a,ease:l.a}},function(t,n,r){"use strict";var e=r(212);r.d(n,"a",function(){return e.a})},function(t,n,r){"use strict";function e(t,n){t&&o.hasOwnProperty(t.type)&&o[t.type](t,n)}function i(t,n,r){var e,i=-1,u=t.length-r;for(n.lineStart();++in?1:t>=n?0:NaN}},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(){this.reset()}function i(t,n,r){var e=t.s=n+r,i=e-n,u=e-i;t.t=n-u+(r-i)}n.a=function(){return new e},e.prototype={constructor:e,reset:function(){this.s=this.t=0},add:function(t){i(u,t,this.t),i(this,u.s,this.s),this.s?this.t+=u.t:this.s=u.t},valueOf:function(){return this.s}};var u=new e},function(t,n,r){"use strict";n.a=function(){return Math.random()}},function(t,n,r){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,r){"use strict";var e=r(207);r.d(n,"a",function(){return e.a});var i=r(208);r.d(n,"b",function(){return i.a});var u=r(51);r.d(n,"c",function(){return u.a});var a=r(206);r.d(n,"d",function(){return a.a});var o=r(209);r.d(n,"e",function(){return o.a});var c=r(205);r.d(n,"f",function(){return c.a})},function(t,n,r){"use strict";function e(t){return[r.i(s.e)(t[1],t[0]),r.i(s.f)(t[2])]}function i(t){var n=t[0],e=t[1],i=r.i(s.c)(e);return[i*r.i(s.c)(n),i*r.i(s.d)(n),r.i(s.d)(e)]}function u(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function a(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function o(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function c(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function f(t){var n=r.i(s.n)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var s=r(0);n.g=e,n.a=i,n.d=u,n.b=a,n.f=o,n.e=c,n.c=f},function(t,n,r){"use strict";function e(t){return function(n,e){var i=r.i(u.c)(n),a=r.i(u.c)(e),o=t(i*a);return[o*a*r.i(u.d)(n),o*r.i(u.d)(e)]}}function i(t){return function(n,e){var i=r.i(u.n)(n*n+e*e),a=t(i),o=r.i(u.d)(a),c=r.i(u.c)(a);return[r.i(u.e)(n*o,i*c),r.i(u.f)(i&&e*o/i)]}}var u=r(0);n.b=e,n.a=i},function(t,n,r){"use strict";n.a=function(t,n,r,e,i){for(var u,a=t.children,o=-1,c=a.length,f=t.value&&(e-n)/t.value;++o180||i<-180?i-360*Math.round(i/360):i):r.i(c.a)(isNaN(t)?n:t)}function a(t){return 1==(t=+t)?o:function(n,e){return e-n?i(n,e,t):r.i(c.a)(isNaN(n)?e:n)}}function o(t,n){var i=n-t;return i?e(t,i):r.i(c.a)(isNaN(t)?n:t)}var c=r(134);n.b=u,n.c=a,n.a=o},function(t,n,r){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,r){"use strict";function e(t){var n=t.domain;return t.ticks=function(t){var e=n();return r.i(u.z)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return r.i(c.a)(n(),t,e)},t.nice=function(e){null==e&&(e=10);var i,a=n(),o=0,c=a.length-1,f=a[o],s=a[c];return s0?(f=Math.floor(f/i)*i,s=Math.ceil(s/i)*i,i=r.i(u.A)(f,s,e)):i<0&&(f=Math.ceil(f*i)/i,s=Math.floor(s*i)/i,i=r.i(u.A)(f,s,e)),i>0?(a[o]=Math.floor(f/i)*i,a[c]=Math.ceil(s/i)*i,n(a)):i<0&&(a[o]=Math.ceil(f*i)/i,a[c]=Math.floor(s*i)/i,n(a)),t},t}function i(){var t=r.i(o.a)(o.b,a.f);return t.copy=function(){return r.i(o.c)(t,i())},e(t)}var u=r(3),a=r(4),o=r(40),c=r(356);n.b=e,n.a=i},function(t,n,r){"use strict";function e(t){return t>1?0:t<-1?d:Math.acos(t)}function i(t){return t>=1?p:t<=-1?-p:Math.asin(t)}r.d(n,"g",function(){return u}),r.d(n,"m",function(){return a}),r.d(n,"h",function(){return o}),r.d(n,"e",function(){return c}),r.d(n,"j",function(){return f}),r.d(n,"i",function(){return s}),r.d(n,"d",function(){return l}),r.d(n,"a",function(){return h}),r.d(n,"b",function(){return d}),r.d(n,"f",function(){return p}),r.d(n,"c",function(){return v}),n.l=e,n.k=i;var u=Math.abs,a=Math.atan2,o=Math.cos,c=Math.max,f=Math.min,s=Math.sin,l=Math.sqrt,h=1e-12,d=Math.PI,p=d/2,v=2*d},function(t,n,r){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var r,e,i,u=1,a=t[n[0]],o=a.length;u=0;)r[n]=n;return r}},function(t,n,r){"use strict";function e(t,n,r){return(t[0]-r[0])*(n[1]-t[1])-(t[0]-n[0])*(r[1]-t[1])}function i(t,n){return n[1]-t[1]||n[0]-t[0]}function u(t,n){var e,u,v,g=t.sort(i).pop();for(p=[],h=new Array(t.length),l=new s.a,d=new s.a;;)if(v=c.a,g&&(!v||g[1]=o)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=u.cells[e=a],a=null,i.halfedges.forEach(function(r){var e=u.edges[r],o=e.left;if(o!==i.site&&o||(o=e.right)){var c=t-o[0],f=n-o[1],l=c*c+f*f;l0)do{a.point(0===o||3===o?t:e,o>1?l:n)}while((o=(o+u+4)%4)!==c);else a.point(i[0],i[1])}function p(u,a){return r.i(i.p)(u[0]-t)0?0:3:r.i(i.p)(u[0]-e)0?2:1:r.i(i.p)(u[1]-n)0?1:0:a>0?3:2}function v(t,n){return g(t.x,n.x)}function g(t,n){var r=p(t,1),e=p(n,1);return r!==e?r-e:0===r?n[1]-t[1]:1===r?t[0]-n[0]:2===r?t[1]-n[1]:n[0]-t[0]}return function(i){function p(t,n){h(t,n)&&P.point(t,n)}function g(){for(var n=0,r=0,e=M.length;rl&&(s-i)*(l-u)>(h-u)*(t-i)&&++n:h<=l&&(s-i)*(l-u)<(h-u)*(t-i)&&--n;return n}function y(){P=D,w=[],M=[],z=!0}function _(){var t=g(),n=z&&t,e=(w=r.i(c.q)(w)).length;(n||e)&&(i.polygonStart(),n&&(i.lineStart(),d(null,null,1,i),i.lineEnd()),e&&r.i(o.a)(w,v,t,d,i),i.polygonEnd()),P=i,w=M=k=null}function b(){L.point=x,M&&M.push(k=[]),q=!0,C=!1,E=S=NaN}function m(){w&&(x(T,N),A&&C&&D.rejoin(),w.push(D.result())),L.point=p,C&&P.lineEnd()}function x(i,u){var o=h(i,u);if(M&&k.push([i,u]),q)T=i,N=u,A=o,q=!1,o&&(P.lineStart(),P.point(i,u));else if(o&&C)P.point(i,u);else{var c=[E=Math.max(s,Math.min(f,E)),S=Math.max(s,Math.min(f,S))],d=[i=Math.max(s,Math.min(f,i)),u=Math.max(s,Math.min(f,u))];r.i(a.a)(c,d,t,n,e,l)?(C||(P.lineStart(),P.point(c[0],c[1])),P.point(d[0],d[1]),o||P.lineEnd(),z=!1):o&&(P.lineStart(),P.point(i,u),z=!1)}E=i,S=u,C=o}var w,M,k,T,N,A,E,S,C,q,z,P=i,D=r.i(u.a)(),L={point:p,lineStart:b,lineEnd:m,polygonStart:y,polygonEnd:_};return L}}var i=r(0),u=r(116),a=r(249),o=r(119),c=r(3);n.a=e;var f=1e9,s=-f},function(t,n,r){"use strict";function e(t,n){return[t>f.a?t-f.b:t<-f.a?t+f.b:t,n]}function i(t,n,i){return(t%=f.b)?n||i?r.i(c.a)(a(t),o(n,i)):a(t):n||i?o(n,i):e}function u(t){return function(n,r){return n+=t,[n>f.a?n-f.b:n<-f.a?n+f.b:n,r]}}function a(t){var n=u(t);return n.invert=u(-t),n}function o(t,n){function e(t,n){var e=r.i(f.c)(n),c=r.i(f.c)(t)*e,s=r.i(f.d)(t)*e,l=r.i(f.d)(n),h=l*i+c*u;return[r.i(f.e)(s*a-h*o,c*i-l*u),r.i(f.f)(h*a+s*o)]}var i=r.i(f.c)(t),u=r.i(f.d)(t),a=r.i(f.c)(n),o=r.i(f.d)(n);return e.invert=function(t,n){var e=r.i(f.c)(n),c=r.i(f.c)(t)*e,s=r.i(f.d)(t)*e,l=r.i(f.d)(n),h=l*a-s*o;return[r.i(f.e)(s*a+l*o,c*i+h*u),r.i(f.f)(h*i-c*u)]},e}var c=r(120),f=r(0);n.b=i,e.invert=e,n.a=function(t){function n(n){return n=t(n[0]*f.g,n[1]*f.g),n[0]*=f.h,n[1]*=f.h,n}return t=i(t[0]*f.g,t[1]*f.g,t.length>2?t[2]*f.g:0),n.invert=function(n){return n=t.invert(n[0]*f.g,n[1]*f.g),n[0]*=f.h,n[1]*=f.h,n},n}},function(t,n,r){"use strict";function e(t){return function(n){var r=new i;for(var e in t)r[e]=t[e];return r.stream=n,r}}function i(){}n.b=e,n.a=function(t){return{stream:e(t)}},i.prototype={constructor:i,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,r){"use strict";n.a=function(t,n,r,e,i){for(var u,a=t.children,o=-1,c=a.length,f=t.value&&(i-r)/t.value;++o=r?1:e(t)}}}function u(t){return function(n,r){var e=t(n=+n,r=+r);return function(t){return t<=0?n:t>=1?r:e(t)}}}function a(t,n,r,e){var i=t[0],u=t[1],a=n[0],o=n[1];return u2?o:a,s=d=null,c}function c(n){return(s||(s=f(g,y,b?i(t):t,_)))(+n)}var f,s,d,g=v,y=v,_=l.a,b=!1;return c.invert=function(t){return(d||(d=f(y,g,e,b?u(n):n)))(+t)},c.domain=function(t){return arguments.length?(g=h.a.call(t,p.a),r()):g.slice()},c.range=function(t){return arguments.length?(y=h.b.call(t),r()):y.slice()},c.rangeRound=function(t){return y=h.b.call(t),_=l.h,r()},c.clamp=function(t){return arguments.length?(b=!!t,r()):b},c.interpolate=function(t){return arguments.length?(_=t,r()):_},r()}var s=r(3),l=r(4),h=r(15),d=r(73),p=r(143);n.b=e,n.c=c,n.a=f;var v=[0,1]},function(t,n,r){"use strict";n.a=function(t,n){var r=t.ownerSVGElement||t;if(r.createSVGPoint){var e=r.createSVGPoint();return e.x=n.clientX,e.y=n.clientY,e=e.matrixTransform(t.getScreenCTM().inverse()),[e.x,e.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}},function(t,n,r){"use strict";function e(t,n,r){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+r)/6)}function i(t){this._context=t}n.c=e,n.b=i,i.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:e(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:e(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,r){"use strict";function e(t,n,r){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-r),t._x2,t._y2)}function i(t,n){this._context=t,this._k=(1-n)/6}n.c=e,n.b=i,i.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:e(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:e(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}},n.a=function t(n){function r(t){return new i(t,n)}return r.tension=function(n){return t(+n)},r}(0)},function(t,n,r){"use strict";function e(t){this._context=t}e.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)}}},n.a=function(t){return new e(t)}},function(t,n,r){"use strict";n.a=function(){}},function(t,n,r){"use strict";var e=r(2);r.d(n,"a",function(){return e.a});var i=r(420);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b}),r.d(n,"d",function(){return i.a}),r.d(n,"e",function(){return i.b});var u=r(423);r.d(n,"f",function(){return u.a}),r.d(n,"g",function(){return u.b}),r.d(n,"h",function(){return u.a}),r.d(n,"i",function(){return u.b});var a=r(421);r.d(n,"j",function(){return a.a}),r.d(n,"k",function(){return a.b});var o=r(419);r.d(n,"l",function(){return o.a}),r.d(n,"m",function(){return o.b});var c=r(418);r.d(n,"n",function(){return c.a}),r.d(n,"o",function(){return c.b});var f=r(430);r.d(n,"p",function(){return f.a}),r.d(n,"q",function(){return f.b}),r.d(n,"r",function(){return f.a}),r.d(n,"s",function(){return f.b}),r.d(n,"t",function(){return f.c}),r.d(n,"u",function(){return f.d}),r.d(n,"v",function(){return f.e}),r.d(n,"w",function(){return f.f}),r.d(n,"x",function(){return f.g}),r.d(n,"y",function(){return f.h}),r.d(n,"z",function(){return f.i}),r.d(n,"A",function(){return f.j}),r.d(n,"B",function(){return f.k}),r.d(n,"C",function(){return f.l}),r.d(n,"D",function(){return f.m}),r.d(n,"E",function(){return f.n});var s=r(422);r.d(n,"F",function(){return s.a}),r.d(n,"G",function(){return s.b});var l=r(431);r.d(n,"H",function(){return l.a}),r.d(n,"I",function(){return l.b});var h=r(426);r.d(n,"J",function(){return h.a}),r.d(n,"K",function(){return h.b});var d=r(425);r.d(n,"L",function(){return d.a}),r.d(n,"M",function(){return d.b});var p=r(424);r.d(n,"N",function(){return p.a}),r.d(n,"O",function(){return p.b});var v=r(428);r.d(n,"P",function(){return v.a}),r.d(n,"Q",function(){return v.b}),r.d(n,"R",function(){return v.a}),r.d(n,"S",function(){return v.b}),r.d(n,"T",function(){return v.c}),r.d(n,"U",function(){return v.d}),r.d(n,"V",function(){return v.e}),r.d(n,"W",function(){return v.f}),r.d(n,"X",function(){return v.g}),r.d(n,"Y",function(){return v.h}),r.d(n,"Z",function(){return v.i}),r.d(n,"_0",function(){return v.j}),r.d(n,"_1",function(){return v.k}),r.d(n,"_2",function(){return v.l}),r.d(n,"_3",function(){return v.m}),r.d(n,"_4",function(){return v.n});var g=r(427);r.d(n,"_5",function(){return g.a}),r.d(n,"_6",function(){return g.b});var y=r(429);r.d(n,"_7",function(){return y.a}),r.d(n,"_8",function(){return y.b})},function(t,n,r){"use strict";var e=r(87);r.d(n,"a",function(){return e.a}),r.d(n,"b",function(){return e.b}),r.d(n,"c",function(){return e.c});var i=r(433);r.d(n,"d",function(){return i.a});var u=r(432);r.d(n,"e",function(){return u.a})},function(t,n,r){"use strict";function e(t,n){var e,i;return function(){var u=r.i(a.e)(this,t),o=u.tween;if(o!==e){i=e=o;for(var c=0,f=i.length;c=1)return+r(t[i-1],i-1,t);var i,u=(i-1)*n,a=Math.floor(u),o=+r(t[a],a,t);return o+(+r(t[a+1],a+1,t)-o)*(u-a)}}},function(t,n,r){"use strict";function e(){}function i(t,n){var r=new e;if(t instanceof e)t.each(function(t,n){r.set(n,t)});else if(Array.isArray(t)){var i,u=-1,a=t.length;if(null==n)for(;++u>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=w.exec(t))?u(parseInt(n[1],16)):(n=M.exec(t))?new f(n[1],n[2],n[3],1):(n=k.exec(t))?new f(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=T.exec(t))?a(n[1],n[2],n[3],n[4]):(n=N.exec(t))?a(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=A.exec(t))?s(n[1],n[2]/100,n[3]/100,1):(n=E.exec(t))?s(n[1],n[2]/100,n[3]/100,n[4]):S.hasOwnProperty(t)?u(S[t]):"transparent"===t?new f(NaN,NaN,NaN,0):null}function u(t){return new f(t>>16&255,t>>8&255,255&t,1)}function a(t,n,r,e){return e<=0&&(t=n=r=NaN),new f(t,n,r,e)}function o(t){return t instanceof e||(t=i(t)),t?(t=t.rgb(),new f(t.r,t.g,t.b,t.opacity)):new f}function c(t,n,r,e){return 1===arguments.length?o(t):new f(t,n,r,null==e?1:e)}function f(t,n,r,e){this.r=+t,this.g=+n,this.b=+r,this.opacity=+e}function s(t,n,r,e){return e<=0?t=n=r=NaN:r<=0||r>=1?t=n=NaN:n<=0&&(t=NaN),new d(t,n,r,e)}function l(t){if(t instanceof d)return new d(t.h,t.s,t.l,t.opacity);if(t instanceof e||(t=i(t)),!t)return new d;if(t instanceof d)return t;t=t.rgb();var n=t.r/255,r=t.g/255,u=t.b/255,a=Math.min(n,r,u),o=Math.max(n,r,u),c=NaN,f=o-a,s=(o+a)/2;return f?(c=n===o?(r-u)/f+6*(r0&&s<1?0:c,new d(c,f,s,t.opacity)}function h(t,n,r,e){return 1===arguments.length?l(t):new d(t,n,r,null==e?1:e)}function d(t,n,r,e){this.h=+t,this.s=+n,this.l=+r,this.opacity=+e}function p(t,n,r){return 255*(t<60?n+(r-n)*t/60:t<180?r:t<240?n+(r-n)*(240-t)/60:n)}var v=r(53);n.f=e,r.d(n,"h",function(){return g}),r.d(n,"g",function(){return y}),n.a=i,n.e=o,n.b=c,n.d=f,n.c=h;var g=.7,y=1/g,_="\\s*([+-]?\\d+)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",m="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,w=/^#([0-9a-f]{6})$/,M=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),k=new RegExp("^rgb\\("+[m,m,m]+"\\)$"),T=new RegExp("^rgba\\("+[_,_,_,b]+"\\)$"),N=new RegExp("^rgba\\("+[m,m,m,b]+"\\)$"),A=new RegExp("^hsl\\("+[b,m,m]+"\\)$"),E=new RegExp("^hsla\\("+[b,m,m,b]+"\\)$"),S={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};r.i(v.a)(e,i,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),r.i(v.a)(f,c,r.i(v.b)(e,{brighter:function(t){return t=null==t?y:Math.pow(y,t),new f(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?g:Math.pow(g,t),new f(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+")")}})),r.i(v.a)(d,h,r.i(v.b)(e,{brighter:function(t){return t=null==t?y:Math.pow(y,t),new d(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?g:Math.pow(g,t),new d(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,r=this.l,e=r+(r<.5?r:1-r)*n,i=2*r-e;return new f(p(t>=240?t-240:t+120,i,e),p(t,i,e),p(t<120?t+240:t-120,i,e),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}}))},function(t,n,r){"use strict";function e(t,n){var r=Object.create(t.prototype);for(var e in n)r[e]=n[e];return r}n.b=e,n.a=function(t,n,r){t.prototype=n.prototype=r,r.constructor=t}},function(t,n,r){"use strict";var e=r(214);r.d(n,"a",function(){return e.a});var i=r(105);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b})},function(t,n,r){"use strict";var e=r(56);r.d(n,"a",function(){return e.a});var i=r(216);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b}),r.d(n,"d",function(){return i.c}),r.d(n,"e",function(){return i.d});var u=r(217);r.d(n,"f",function(){return u.a}),r.d(n,"g",function(){return u.b}),r.d(n,"h",function(){return u.c}),r.d(n,"i",function(){return u.d})},function(t,n,r){"use strict";function e(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function i(t,n){var r=e(t);return function(e,i){return n(r(e),i,t)}}function u(t){var n=Object.create(null),r=[];return t.forEach(function(t){for(var e in t)e in n||r.push(n[e]=e)}),r}var a={},o={},c=34,f=10,s=13;n.a=function(t){function n(t,n){var u,a,o=r(t,function(t,r){if(u)return u(t,r-1);a=t,u=n?i(t,n):e(t)});return o.columns=a||[],o}function r(t,n){function r(){if(d)return o;if(p)return p=!1,a;var n,r,e=l;if(t.charCodeAt(e)===c){for(;l++=u?d=!0:(r=t.charCodeAt(l++))===f?p=!0:r===s&&(p=!0,t.charCodeAt(l)===f&&++l),t.slice(e+1,n-1).replace(/""/g,'"')}for(;l1?e[0]+e.slice(2):e,+t.slice(r+1)]}},function(t,n,r){"use strict";n.a=function(t){return t}},function(t,n,r){"use strict";function e(t){var n=0,e=i.a/3,a=r.i(u.b)(t),o=a(n,e);return o.parallels=function(t){return arguments.length?a(n=t[0]*i.g,e=t[1]*i.g):[n*i.h,e*i.h]},o}var i=r(0),u=r(8);n.a=e},function(t,n,r){"use strict";function e(t,n){function e(t,n){var e=r.i(i.n)(c-2*o*r.i(i.d)(n))/o;return[e*r.i(i.d)(t*=o),f-e*r.i(i.c)(t)]}var u=r.i(i.d)(t),o=(u+r.i(i.d)(n))/2;if(r.i(i.p)(o)=0;--a)h.push(e=r.children[a]=new c(i[a])),e.parent=r,e.depth=r.depth+1;return s.eachBefore(o)}function i(){return e(this).eachBefore(a)}function u(t){return t.children}function a(t){t.data=t.data.data}function o(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function c(t){this.data=t,this.depth=this.height=0,this.parent=null}var f=r(277),s=r(279),l=r(281),h=r(280),d=r(286),p=r(285),v=r(284),g=r(276),y=r(278),_=r(282),b=r(283);n.a=e,n.c=o,n.b=c,c.prototype=e.prototype={constructor:c,count:f.a,each:s.a,eachAfter:h.a,eachBefore:l.a,sum:d.a,sort:p.a,path:v.a,ancestors:g.a,descendants:y.a,leaves:_.a,links:b.a,copy:i}},function(t,n,r){"use strict";function e(t,n,e,a,o,c){for(var f,s,l,h,d,p,v,g,y,_,b,m=[],x=n.children,w=0,M=0,k=x.length,T=n.value;wv&&(v=s),b=d*d*_,(g=Math.max(v/b,b/p))>y){d-=s;break}y=g}m.push(f={value:d,dice:l1?n:1)},r}(a)},function(t,n,r){"use strict";function e(t,n,r,e,i){var u=t*t,a=u*t;return((1-3*t+3*u-a)*n+(4-6*u+3*a)*r+(1+3*t+3*u-3*a)*e+a*i)/6}n.b=e,n.a=function(t){var n=t.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,n-1):Math.floor(r*n),u=t[i],a=t[i+1],o=i>0?t[i-1]:2*u-a,c=i=200&&r<300||304===r){if(s)try{n=s.call(c,p)}catch(t){return void h.call("error",c,t)}else n=p;h.call("load",c,n)}else h.call("error",c,t)}var c,f,s,l,h=r.i(a.a)("beforesend","progress","load","error"),d=r.i(u.c)(),p=new XMLHttpRequest,v=null,g=null,y=0;if("undefined"==typeof XDomainRequest||"withCredentials"in p||!/^(http(s)?:)?\/\//.test(t)||(p=new XDomainRequest),"onload"in p?p.onload=p.onerror=p.ontimeout=o:p.onreadystatechange=function(t){p.readyState>3&&o(t)},p.onprogress=function(t){h.call("progress",c,t)},c={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?d.get(t):(null==n?d.remove(t):d.set(t,n+""),c)},mimeType:function(t){return arguments.length?(f=null==t?null:t+"",c):f},responseType:function(t){return arguments.length?(l=t,c):l},timeout:function(t){return arguments.length?(y=+t,c):y},user:function(t){return arguments.length<1?v:(v=null==t?null:t+"",c)},password:function(t){return arguments.length<1?g:(g=null==t?null:t+"",c)},response:function(t){return s=t,c},get:function(t,n){return c.send("GET",t,n)},post:function(t,n){return c.send("POST",t,n)},send:function(n,r,i){return p.open(n,t,!0,v,g),null==f||d.has("accept")||d.set("accept",f+",*/*"),p.setRequestHeader&&d.each(function(t,n){p.setRequestHeader(n,t)}),null!=f&&p.overrideMimeType&&p.overrideMimeType(f),null!=l&&(p.responseType=l),y>0&&(p.timeout=y),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=e(i)),null!=i&&c.on("error",i).on("load",function(t){i(null,t)}),h.call("beforesend",c,p),p.send(null==r?null:r),c},abort:function(){return p.abort(),c},on:function(){var t=h.on.apply(h,arguments);return t===h?c:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return c.get(n)}return c}},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t){return function(){var n=this.ownerDocument,r=this.namespaceURI;return r===a.b&&n.documentElement.namespaceURI===a.b?n.createElement(t):n.createElementNS(r,t)}}function i(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var u=r(75),a=r(76);n.a=function(t){var n=r.i(u.a)(t);return(n.local?i:e)(n)}},function(t,n,r){"use strict";var e=r(76);n.a=function(t){var n=t+="",r=n.indexOf(":");return r>=0&&"xmlns"!==(n=t.slice(0,r))&&(t=t.slice(r+1)),e.a.hasOwnProperty(n)?{space:e.a[n],local:t}:t}},function(t,n,r){"use strict";r.d(n,"b",function(){return e});var e="http://www.w3.org/1999/xhtml";n.a={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/"}},function(t,n,r){"use strict";function e(t,n,r){return t=i(t,n,r),function(n){var r=n.relatedTarget;r&&(r===this||8&r.compareDocumentPosition(this))||t.call(this,n)}}function i(t,n,r){return function(e){var i=s;s=e;try{t.call(this,this.__data__,n,r)}finally{s=i}}}function u(t){return t.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function a(t){return function(){var n=this.__on;if(n){for(var r,e=0,i=-1,u=n.length;eu.a){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);e=(e*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,i=(i*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>u.a){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-r*t._l12_2a)/l}t._context.bezierCurveTo(e,i,a,o,t._x2,t._y2)}function i(t,n){this._context=t,this._alpha=n}var u=r(29),a=r(43);n.b=e,i.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 r=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:e(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}},n.a=function t(n){function r(t){return n?new i(t,n):new a.b(t,0)}return r.alpha=function(n){return t(+n)},r}(.5)},function(t,n,r){"use strict";var e=r(14),i=r(16),u=r(44),a=r(84);n.a=function(){function t(t){var i,u,a,h=t.length,d=!1;for(null==f&&(l=s(a=r.i(e.a)())),i=0;i<=h;++i)!(i=0&&n._call.call(null,t),n=n._next;--p}function c(){b=(_=x.now())+m,p=v=0;try{o()}finally{p=0,s(),b=0}}function f(){var t=x.now(),n=t-_;n>y&&(m-=n,_=t)}function s(){for(var t,n,r=h,e=1/0;r;)r._call?(e>r._time&&(e=r._time),t=r,r=r._next):(n=r._next,r._next=null,r=t?t._next=n:h=n);d=t,l(e)}function l(t){if(!p){v&&(v=clearTimeout(v));t-b>24?(t<1/0&&(v=setTimeout(c,t-x.now()-m)),g&&(g=clearInterval(g))):(g||(_=x.now(),g=setInterval(f,y)),p=1,w(c))}}n.a=e,n.d=u,n.b=a,n.c=o;var h,d,p=0,v=0,g=0,y=1e3,_=0,b=0,m=0,x="object"==typeof performance&&performance.now?performance:Date,w="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};u.prototype=a.prototype={constructor:u,restart:function(t,n,r){if("function"!=typeof t)throw new TypeError("callback is not a function");r=(null==r?e():+r)+(null==n?0:+n),this._next||d===this||(d?d._next=this:h=this,d=this),this._call=t,this._time=r,l()},stop:function(){this._call&&(this._call=null,this._time=1/0,l())}}},function(t,n,r){"use strict";var e=(r(435),r(11));r.d(n,"a",function(){return e.a});var i=r(434);r.d(n,"b",function(){return i.a});var u=r(167);r.d(n,"c",function(){return u.a})},function(t,n,r){"use strict";function e(t,n,r,e){var i=[null,null],a=f.d.push(i)-1;return i.left=t,i.right=n,r&&u(i,t,n,r),e&&u(i,n,t,e),f.c[t.index].halfedges.push(a),f.c[n.index].halfedges.push(a),i}function i(t,n,r){var e=[n,r];return e.left=t,e}function u(t,n,r,e){t[0]||t[1]?t.left===r?t[1]=e:t[0]=e:(t[0]=e,t.left=n,t.right=r)}function a(t,n,r,e,i){var u,a=t[0],o=t[1],c=a[0],f=a[1],s=o[0],l=o[1],h=0,d=1,p=s-c,v=l-f;if(u=n-c,p||!(u>0)){if(u/=p,p<0){if(u0){if(u>d)return;u>h&&(h=u)}if(u=e-c,p||!(u<0)){if(u/=p,p<0){if(u>d)return;u>h&&(h=u)}else if(p>0){if(u0)){if(u/=v,v<0){if(u0){if(u>d)return;u>h&&(h=u)}if(u=i-f,v||!(u<0)){if(u/=v,v<0){if(u>d)return;u>h&&(h=u)}else if(v>0){if(u0||d<1)||(h>0&&(t[0]=[c+h*p,f+h*v]),d<1&&(t[1]=[c+d*p,f+d*v]),!0)}}}}}function o(t,n,r,e,i){var u=t[1];if(u)return!0;var a,o,c=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],p=s[1],v=(l+d)/2,g=(h+p)/2;if(p===h){if(v=e)return;if(l>d){if(c){if(c[1]>=i)return}else c=[v,r];u=[v,i]}else{if(c){if(c[1]1)if(l>d){if(c){if(c[1]>=i)return}else c=[(r-o)/a,r];u=[(i-o)/a,i]}else{if(c){if(c[1]=e)return}else c=[n,a*n+o];u=[e,a*e+o]}else{if(c){if(c[0]f.b||Math.abs(i[0][1]-i[1][1])>f.b)||delete f.d[u]}var f=r(32);n.d=e,n.b=i,n.c=u,n.a=c},function(t,n,r){"use strict";function e(){this._=null}function i(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function u(t,n){var r=n,e=n.R,i=r.U;i?i.L===r?i.L=e:i.R=e:t._=e,e.U=i,r.U=e,r.R=e.L,r.R&&(r.R.U=r),e.L=r}function a(t,n){var r=n,e=n.L,i=r.U;i?i.L===r?i.L=e:i.R=e:t._=e,e.U=i,r.U=e,r.L=e.R,r.L&&(r.L.U=r),e.R=r}function o(t){for(;t.L;)t=t.L;return t}n.b=i,e.prototype={constructor:e,insert:function(t,n){var r,e,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;r=t}else this._?(t=o(this._),n.P=null,n.N=t,t.P=t.L=n,r=t):(n.P=n.N=null,this._=n,r=null);for(n.L=n.R=null,n.U=r,n.C=!0,t=n;r&&r.C;)e=r.U,r===e.L?(i=e.R,i&&i.C?(r.C=i.C=!1,e.C=!0,t=e):(t===r.R&&(u(this,r),t=r,r=t.U),r.C=!1,e.C=!0,a(this,e))):(i=e.L,i&&i.C?(r.C=i.C=!1,e.C=!0,t=e):(t===r.L&&(a(this,r),t=r,r=t.U),r.C=!1,e.C=!0,u(this,e))),r=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,r,e,i=t.U,c=t.L,f=t.R;if(r=c?f?o(f):c:f,i?i.L===t?i.L=r:i.R=r:this._=r,c&&f?(e=r.C,r.C=t.C,r.L=c,c.U=r,r!==f?(i=r.U,r.U=t.U,t=r.R,i.L=t,r.R=f,f.U=r):(r.U=i,i=r,t=r.R)):(e=t.C,t=r),t&&(t.U=i),!e){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,u(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,a(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,u(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,a(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,u(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,a(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}},n.a=e},function(t,n,r){"use strict";r.d(n,"b",function(){return i}),r.d(n,"a",function(){return u});var e=Array.prototype,i=e.slice,u=e.map},function(t,n,r){"use strict";var e=r(17),i=r(93);r.d(n,"b",function(){return a}),r.d(n,"c",function(){return o});var u=r.i(i.a)(e.a),a=u.right,o=u.left;n.a=a},function(t,n,r){"use strict";function e(t){return function(n,e){return r.i(i.a)(t(n),e)}}var i=r(17);n.a=function(t){return 1===t.length&&(t=e(t)),{left:function(n,r,e,i){for(null==e&&(e=0),null==i&&(i=n.length);e>>1;t(n[u],r)<0?e=u+1:i=u}return e},right:function(n,r,e,i){for(null==e&&(e=0),null==i&&(i=n.length);e>>1;t(n[u],r)>0?i=u:e=u+1}return e}}}},function(t,n,r){"use strict";var e=r(102);n.a=function(t,n){var i=r.i(e.a)(t,n);return i?Math.sqrt(i):i}},function(t,n,r){"use strict";n.a=function(t,n){var r,e,i,u=t.length,a=-1;if(null==n){for(;++a=r)for(e=i=r;++ar&&(e=r),i=r)for(e=i=r;++ar&&(e=r),i=r)for(e=r;++ur&&(e=r)}else for(;++u=r)for(e=r;++ur&&(e=r);return e}},function(t,n,r){"use strict";function e(t,n){return[t,n]}n.b=e,n.a=function(t,n){null==n&&(n=e);for(var r=0,i=t.length-1,u=t[0],a=new Array(i<0?0:i);r=0?(c>=u?10:c>=a?5:c>=o?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(c>=u?10:c>=a?5:c>=o?2:1)}function i(t,n,r){var e=Math.abs(n-t)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),c=e/i;return c>=u?i*=10:c>=a?i*=5:c>=o&&(i*=2),n0)return[t];if((i=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),a=new Array(u=Math.ceil(n-t+1));++c1)return s/(o-1)}},function(t,n,r){"use strict";r.d(n,"b",function(){return e}),r.d(n,"c",function(){return i}),r.d(n,"a",function(){return a}),r.d(n,"e",function(){return o}),r.d(n,"d",function(){return c});var e=Math.cos,i=Math.sin,u=Math.PI,a=u/2,o=2*u,c=Math.max},function(t,n,r){"use strict";r.d(n,"b",function(){return e}),r.d(n,"a",function(){return i});var e=Math.PI/180,i=180/Math.PI},function(t,n,r){"use strict";function e(t,n){var e=t.document.documentElement,a=r.i(i.h)(t).on("dragstart.drag",null);n&&(a.on("click.drag",u.a,!0),setTimeout(function(){a.on("click.drag",null)},0)),"onselectstart"in e?a.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}var i=r(1),u=r(106);n.b=e,n.a=function(t){var n=t.document.documentElement,e=r.i(i.h)(t).on("dragstart.drag",u.a,!0);"onselectstart"in n?e.on("selectstart.drag",u.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,r){"use strict";function e(){i.q.stopImmediatePropagation()}var i=r(1);n.b=e,n.a=function(){i.q.preventDefault(),i.q.stopImmediatePropagation()}},function(t,n,r){"use strict";var e=r(224);r.d(n,"a",function(){return e.a});var i=r(226);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b}),r.d(n,"d",function(){return i.c}),r.d(n,"e",function(){return i.a});var u=r(221);r.d(n,"f",function(){return u.a}),r.d(n,"g",function(){return u.b}),r.d(n,"h",function(){return u.c}),r.d(n,"i",function(){return u.a});var a=r(225);r.d(n,"j",function(){return a.a}),r.d(n,"k",function(){return a.b}),r.d(n,"l",function(){return a.c}),r.d(n,"m",function(){return a.a});var o=r(227);r.d(n,"n",function(){return o.a}),r.d(n,"o",function(){return o.b}),r.d(n,"p",function(){return o.c}),r.d(n,"q",function(){return o.a});var c=r(223);r.d(n,"r",function(){return c.a}),r.d(n,"s",function(){return c.b}),r.d(n,"t",function(){return c.c}),r.d(n,"u",function(){return c.a});var f=r(220);r.d(n,"v",function(){return f.a}),r.d(n,"w",function(){return f.b}),r.d(n,"x",function(){return f.c}),r.d(n,"y",function(){return f.a});var s=r(219);r.d(n,"z",function(){return s.a}),r.d(n,"A",function(){return s.b}),r.d(n,"B",function(){return s.a}),r.d(n,"C",function(){return s.c});var l=r(218);r.d(n,"D",function(){return l.a}),r.d(n,"E",function(){return l.b}),r.d(n,"F",function(){return l.c}),r.d(n,"G",function(){return l.a});var h=r(222);r.d(n,"H",function(){return h.a}),r.d(n,"I",function(){return h.b}),r.d(n,"J",function(){return h.a}),r.d(n,"K",function(){return h.c})},function(t,n,r){"use strict";function e(t){return t.x}function i(t){return t.y}var u=r(12),a=r(22),o=r(47);n.b=e,n.c=i;var c=Math.PI*(3-Math.sqrt(5));n.a=function(t){function n(){e(),_.call("tick",s),l1?(null==n?g.remove(t):g.set(t,f(n)),s):g.get(t)},find:function(n,r,e){var i,u,a,o,c,f=0,s=t.length;for(null==e?e=1/0:e*=e,f=0;f1?(_.on(t,n),s):_.on(t)}}}},function(t,n,r){"use strict";var e=r(59);r.d(n,"b",function(){return i});var i;n.a=function(t,n){var u=r.i(e.a)(t,n);if(!u)return t+"";var a=u[0],o=u[1],c=o-(i=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,f=a.length;return c===f?a:c>f?a+new Array(c-f+1).join("0"):c>0?a.slice(0,c)+"."+a.slice(c):"0."+new Array(1-c).join("0")+r.i(e.a)(t,Math.max(0,n+c-1))[0]}},function(t,n,r){"use strict";function e(t){return new i(t)}function i(t){if(!(n=a.exec(t)))throw new Error("invalid format: "+t);var n,r=n[1]||" ",e=n[2]||">",i=n[3]||"-",o=n[4]||"",c=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):u.a[h]||(h=""),(c||"0"===r&&"="===e)&&(c=!0,r="0",e="="),this.fill=r,this.align=e,this.sign=i,this.symbol=o,this.zero=c,this.width=f,this.comma=s,this.precision=l,this.type=h}var u=r(111);n.a=e;var a=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;e.prototype=i.prototype,i.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}},function(t,n,r){"use strict";var e=r(237),i=r(109),u=r(240);n.a={"":e.a,"%":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 r.i(u.a)(100*t,n)},r:u.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,r){"use strict";var e=r(33),i=r(238),u=r(239),a=r(110),o=r(111),c=r(109),f=r(241),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){function n(t){function n(t){var n,r,a,o=x,f=w;if("c"===m)f=M(t)+f,t="";else{t=+t;var d=t<0;if(t=M(Math.abs(t),b),d&&0==+t&&(d=!1),o=(d?"("===u?u:"-":"-"===u||"("===u?"":u)+o,f=f+("s"===m?s[8+c.b/3]:"")+(d&&"("===u?")":""),k)for(n=-1,r=t.length;++n(a=t.charCodeAt(n))||a>57){f=(46===a?p+t.slice(n+1):t.slice(n))+f,t=t.slice(0,n);break}}_&&!l&&(t=h(t,1/0));var g=o.length+t.length+f.length,T=g>1)+o+t+f+T.slice(g);break;default:t=T+o+t+f}return v(t)}t=r.i(a.a)(t);var e=t.fill,i=t.align,u=t.sign,f=t.symbol,l=t.zero,y=t.width,_=t.comma,b=t.precision,m=t.type,x="$"===f?d[0]:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===f?d[1]:/[%p]/.test(m)?g:"",M=o.a[m],k=!m||/[defgprs%]/.test(m);return b=null==b?m?6:12:/[gprs]/.test(m)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),n.toString=function(){return t+""},n}function l(t,i){var u=n((t=r.i(a.a)(t),t.type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor(r.i(e.a)(i)/3))),c=Math.pow(10,-o),f=s[8+o/3];return function(t){return u(c*t)+f}}var h=t.grouping&&t.thousands?r.i(i.a)(t.grouping,t.thousands):f.a,d=t.currency,p=t.decimal,v=t.numerals?r.i(u.a)(t.numerals):f.a,g=t.percent||"%";return{format:n,formatPrefix:l}}},function(t,n,r){"use strict";function e(){_.point=u}function i(){a(l,h)}function u(t,n){_.point=a,l=t,h=n,t*=c.g,n*=c.g,d=t,p=r.i(c.c)(n=n/2+c.v),v=r.i(c.d)(n)}function a(t,n){t*=c.g,n*=c.g,n=n/2+c.v;var e=t-d,i=e>=0?1:-1,u=i*e,a=r.i(c.c)(n),o=r.i(c.d)(n),f=v*o,s=p*a+f*r.i(c.c)(u),l=f*i*r.i(c.d)(u);g.add(r.i(c.e)(l,s)),d=t,p=a,v=o}var o=r(19),c=r(0),f=r(10),s=r(13);r.d(n,"c",function(){return g}),r.d(n,"b",function(){return _});var l,h,d,p,v,g=r.i(o.a)(),y=r.i(o.a)(),_={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){g.reset(),_.lineStart=e,_.lineEnd=i},polygonEnd:function(){var t=+g;y.add(t<0?c.b+t:t),this.lineStart=this.lineEnd=this.point=f.a},sphere:function(){y.add(c.b)}};n.a=function(t){return y.reset(),r.i(s.a)(t,_),2*y}},function(t,n,r){"use strict";function e(t,n,e,a,c,f){if(e){var s=r.i(o.c)(n),l=r.i(o.d)(n),h=a*e;null==c?(c=n+a*o.b,f=n-h/2):(c=i(s,c),f=i(s,f),(a>0?cf)&&(c+=a*o.b));for(var d,p=c;a>0?p>f:p0?o.a:-o.a,l=r.i(o.p)(c-e);r.i(o.p)(l-o.a)0?o.k:-o.k),t.point(a,u),t.lineEnd(),t.lineStart(),t.point(s,u),t.point(c,u),n=0):a!==s&&l>=o.a&&(r.i(o.p)(e-a)o.o?r.i(o.l)((r.i(o.d)(n)*(a=r.i(o.c)(i))*r.i(o.d)(e)-r.i(o.d)(i)*(u=r.i(o.c)(n))*r.i(o.d)(t))/(u*a*c)):(n+i)/2}function u(t,n,e,i){var u;if(null==t)u=e*o.k,i.point(-o.a,u),i.point(0,u),i.point(o.a,u),i.point(o.a,0),i.point(o.a,-u),i.point(0,-u),i.point(-o.a,-u),i.point(-o.a,0),i.point(-o.a,u);else if(r.i(o.p)(t[0]-n[0])>o.o){var a=t[0]1&&n.push(n.pop().concat(n.shift()))},result:function(){var r=n;return n=[],t=null,r}}}},function(t,n,r){"use strict";var e=r(23),i=r(114),u=r(0),a=r(124),o=r(118);n.a=function(t){function n(n,e,u,a){r.i(i.b)(a,t,d,u,n,e)}function c(t,n){return r.i(u.c)(t)*r.i(u.c)(n)>h}function f(t){var n,e,i,o,f;return{lineStart:function(){o=i=!1,f=1},point:function(h,d){var g,y=[h,d],_=c(h,d),b=p?_?0:l(h,d):_?l(h+(h<0?u.a:-u.a),d):0;if(!n&&(o=i=_)&&t.lineStart(),_!==i&&(!(g=s(n,y))||r.i(a.a)(n,g)||r.i(a.a)(y,g))&&(y[0]+=u.o,y[1]+=u.o,_=c(y[0],y[1])),_!==i)f=0,_?(t.lineStart(),g=s(y,n),t.point(g[0],g[1])):(g=s(n,y),t.point(g[0],g[1]),t.lineEnd()),n=g;else if(v&&n&&p^_){var m;b&e||!(m=s(y,n,!0))||(f=0,p?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!_||n&&r.i(a.a)(n,y)||t.point(y[0],y[1]),n=y,i=_,e=b},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(o&&i)<<1}}}function s(t,n,i){var a=r.i(e.a)(t),o=r.i(e.a)(n),c=[1,0,0],f=r.i(e.b)(a,o),s=r.i(e.d)(f,f),l=f[0],d=s-l*l;if(!d)return!i&&t;var p=h*s/d,v=-h*l/d,g=r.i(e.b)(c,f),y=r.i(e.e)(c,p),_=r.i(e.e)(f,v);r.i(e.f)(y,_);var b=g,m=r.i(e.d)(y,b),x=r.i(e.d)(b,b),w=m*m-x*(r.i(e.d)(y,y)-1);if(!(w<0)){var M=r.i(u.n)(w),k=r.i(e.e)(b,(-m-M)/x);if(r.i(e.f)(k,y),k=r.i(e.g)(k),!i)return k;var T,N=t[0],A=n[0],E=t[1],S=n[1];A0^k[1]<(r.i(u.p)(k[0]-N)u.a^(N<=k[0]&&k[0]<=A)){var P=r.i(e.e)(b,(-m+M)/x);return r.i(e.f)(P,y),[k,r.i(e.g)(P)]}}}function l(n,r){var e=p?t:u.a-t,i=0;return n<-e?i|=1:n>e&&(i|=2),r<-e?i|=4:r>e&&(i|=8),i}var h=r.i(u.c)(t),d=6*u.g,p=h>0,v=r.i(u.p)(h)>u.o;return r.i(o.a)(c,f,n,p?[0,-t]:[-u.a,t-u.a])}},function(t,n,r){"use strict";function e(t){return t.length>1}function i(t,n){return((t=t.x)[0]<0?t[1]-o.k-o.o:o.k-t[1])-((n=n.x)[0]<0?n[1]-o.k-o.o:o.k-n[1])}var u=r(116),a=r(119),o=r(0),c=r(125),f=r(3);n.a=function(t,n,o,s){return function(l){function h(n,r){t(n,r)&&l.point(n,r)}function d(t,n){w.point(t,n)}function p(){N.point=d,w.lineStart()}function v(){N.point=h,w.lineEnd()}function g(t,n){x.push([t,n]),k.point(t,n)}function y(){k.lineStart(),x=[]}function _(){g(x[0][0],x[0][1]),k.lineEnd();var t,n,r,i,u=k.clean(),a=M.result(),o=a.length;if(x.pop(),b.push(x),x=null,o)if(1&u){if(r=a[0],(n=r.length-1)>0){for(T||(l.polygonStart(),T=!0),l.lineStart(),t=0;t1&&2&u&&a.push(a.pop().concat(a.shift())),m.push(a.filter(e))}var b,m,x,w=n(l),M=r.i(u.a)(),k=n(M),T=!1,N={point:h,lineStart:p,lineEnd:v,polygonStart:function(){N.point=g,N.lineStart=y,N.lineEnd=_,m=[],b=[]},polygonEnd:function(){N.point=h,N.lineStart=p,N.lineEnd=v,m=r.i(f.q)(m);var t=r.i(c.a)(b,s);m.length?(T||(l.polygonStart(),T=!0),r.i(a.a)(m,i,t,o,l)):t&&(T||(l.polygonStart(),T=!0),l.lineStart(),o(null,null,1,l),l.lineEnd()),T&&(l.polygonEnd(),T=!1),m=b=null},sphere:function(){l.polygonStart(),l.lineStart(),o(null,null,1,l),l.lineEnd(),l.polygonEnd()}};return N}}},function(t,n,r){"use strict";function e(t,n,r,e){this.x=t,this.z=n,this.o=r,this.e=e,this.v=!1,this.n=this.p=null}function i(t){if(n=t.length){for(var n,r,e=0,i=t[0];++e=0;--f)c.point((p=d[f])[0],p[1]);else o(g.x,g.p.x,-1,c);g=g.p}g=g.o,d=g.z,y=!y}while(!g.v);c.lineEnd()}}}},function(t,n,r){"use strict";n.a=function(t,n){function r(r,e){return r=t(r,e),n(r[0],r[1])}return t.invert&&n.invert&&(r.invert=function(r,e){return(r=n.invert(r,e))&&t.invert(r[0],r[1])}),r}},function(t,n,r){"use strict";var e=r(122),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,r.i(e.a)(u)}},function(t,n,r){"use strict";function e(){v.point=u,v.lineEnd=i}function i(){v.point=v.lineEnd=h.a}function u(t,n){t*=l.g,n*=l.g,o=t,c=r.i(l.d)(n),f=r.i(l.c)(n),v.point=a}function a(t,n){t*=l.g,n*=l.g;var e=r.i(l.d)(n),i=r.i(l.c)(n),u=r.i(l.p)(t-o),a=r.i(l.c)(u),s=r.i(l.d)(u),h=i*s,d=f*e-c*i*a,v=c*e+f*i*a;p.add(r.i(l.e)(r.i(l.n)(h*h+d*d),v)),o=t,c=e,f=i}var o,c,f,s=r(19),l=r(0),h=r(10),d=r(13),p=r.i(s.a)(),v={sphere:h.a,point:h.a,lineStart:e,lineEnd:h.a,polygonStart:h.a,polygonEnd:h.a};n.a=function(t){return p.reset(),r.i(d.a)(t,v),+p}},function(t,n,r){"use strict";function e(t,n){to&&(o=t),nc&&(c=n)}var i=r(10),u=1/0,a=u,o=-u,c=o,f={point:e,lineStart:i.a,lineEnd:i.a,polygonStart:i.a,polygonEnd:i.a,result:function(){var t=[[u,a],[o,c]];return o=c=-(a=u=1/0),t}};n.a=f},function(t,n,r){"use strict";var e=r(0);n.a=function(t,n){return r.i(e.p)(t[0]-n[0])=0?1:-1,E=A*N,S=E>u.a,C=_*k;if(a.add(r.i(u.e)(C*A*r.i(u.d)(E),b*T+C*r.i(u.c)(E))),f+=S?N+A*u.b:N,S^g>=e^w>=e){var q=r.i(i.b)(r.i(i.a)(v),r.i(i.a)(x));r.i(i.c)(q);var z=r.i(i.b)(c,q);r.i(i.c)(z);var P=(S^N>=0?-1:1)*r.i(u.f)(z[2]);(o>P||o===P&&(q[0]||q[1]))&&(s+=S^N>=0?1:-1)}}return(f<-u.o||f0&&r*r>e*e+i*i}function a(t,n){for(var r=0;rr*r+e*e}function u(t){var n=t._,r=t.next._,e=n.r+r.r,i=(n.x*r.r+r.x*n.r)/e,u=(n.y*r.r+r.y*n.r)/e;return i*i+u*u}function a(t){this._=t,this.next=null,this.previous=null}function o(t){if(!(s=t.length))return 0;var n,o,f,s,l,h,d,p,v,g,y;if(n=t[0],n.x=0,n.y=0,!(s>1))return n.r;if(o=t[1],n.x=-o.r,o.x=n.r,o.y=0,!(s>2))return n.r+o.r;e(o,n,f=t[2]),n=new a(n),o=new a(o),f=new a(f),n.next=f.previous=o,o.next=n.previous=f,f.next=o.previous=n;t:for(d=3;dl&&(s=n.slice(l,s),d[h]?d[h]+=s:d[++h]=s),(c=c[0])===(f=f[0])?d[h]?d[h]+=f:d[++h]=f:(d[++h]=null,p.push({i:h,x:r.i(u.a)(c,f)})),l=o.lastIndex;return l1);return t+r*u*Math.sqrt(-2*Math.log(i)/i)}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";function e(t,n){return function(r){return t(r.responseText,n)}}var i=r(72);n.a=function(t,n){return function(u,a,o){arguments.length<3&&(o=a,a=null);var c=r.i(i.a)(u).mimeType(t);return c.row=function(t){return arguments.length?c.response(e(n,a=t)):a},c.row(a),o?c.get(o):c}}},function(t,n,r){"use strict";n.a=function(t,n){t=t.slice();var r,e=0,i=t.length-1,u=t[e],a=t[i];return a1?this.each((null==n?e:"function"==typeof n?u:i)(t,n,null==r?"":r)):a(this.node(),t)}},function(t,n,r){"use strict";function e(){return[]}n.a=function(t){return null==t?e:function(){return this.querySelectorAll(t)}}},function(t,n,r){"use strict";var e=r(14),i=r(16),u=r(44),a=r(82),o=r(84);n.a=function(){function t(t){var n,i,u,a,o,g=t.length,y=!1,_=new Array(g),b=new Array(g);for(null==d&&(v=p(o=r.i(e.a)())),n=0;n<=g;++n){if(!(n=i;--u)v.point(_[u],b[u]);v.lineEnd(),v.areaEnd()}y&&(_[n]=+c(a,n,t),b[n]=+s(a,n,t),v.point(f?+f(a,n,t):_[n],l?+l(a,n,t):b[n]))}if(o)return v=null,o+""||null}function n(){return r.i(a.a)().defined(h).curve(p).context(d)}var c=o.a,f=null,s=r.i(i.a)(0),l=o.b,h=r.i(i.a)(!0),d=null,p=u.a,v=null;return t.x=function(n){return arguments.length?(c="function"==typeof n?n:r.i(i.a)(+n),f=null,t):c},t.x0=function(n){return arguments.length?(c="function"==typeof n?n:r.i(i.a)(+n),t):c},t.x1=function(n){return arguments.length?(f=null==n?null:"function"==typeof n?n:r.i(i.a)(+n),t):f},t.y=function(n){return arguments.length?(s="function"==typeof n?n:r.i(i.a)(+n),l=null,t):s},t.y0=function(n){return arguments.length?(s="function"==typeof n?n:r.i(i.a)(+n),t):s},t.y1=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:r.i(i.a)(+n),t):l},t.lineX0=t.lineY0=function(){return n().x(c).y(s)},t.lineY1=function(){return n().x(c).y(l)},t.lineX1=function(){return n().x(f).y(s)},t.defined=function(n){return arguments.length?(h="function"==typeof n?n:r.i(i.a)(!!n),t):h},t.curve=function(n){return arguments.length?(p=n,null!=d&&(v=p(d)),t):p},t.context=function(n){return arguments.length?(null==n?d=v=null:v=p(d=n),t):d},t}},function(t,n,r){"use strict";r.d(n,"a",function(){return e});var e=Array.prototype.slice},function(t,n,r){"use strict";function e(t,n){this._context=t,this._k=(1-n)/6}var i=r(45),u=r(43);n.b=e,e.prototype={areaStart:i.a,areaEnd:i.a,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:r.i(u.c)(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}},n.a=function t(n){function r(t){return new e(t,n)}return r.tension=function(n){return t(+n)},r}(0)},function(t,n,r){"use strict";function e(t,n){this._context=t,this._k=(1-n)/6}var i=r(43);n.b=e,e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(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:r.i(i.c)(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}},n.a=function t(n){function r(t){return new e(t,n)}return r.tension=function(n){return t(+n)},r}(0)},function(t,n,r){"use strict";function e(t){this._curve=t}function i(t){function n(n){return new e(t(n))}return n._curve=t,n}var u=r(44);r.d(n,"b",function(){return a}),n.a=i;var a=i(u.a);e.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))}}},function(t,n,r){"use strict";function e(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(r.i(i.a)(t)):n()._curve},t}var i=r(155),u=r(82);n.b=e,n.a=function(){return e(r.i(u.a)().curve(i.b))}},function(t,n,r){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,r){"use strict";var e=r(29);n.a={draw:function(t,n){var r=Math.sqrt(n/e.b);t.moveTo(r,0),t.arc(0,0,r,0,e.c)}}},function(t,n,r){"use strict";n.a={draw:function(t,n){var r=Math.sqrt(n/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}}},function(t,n,r){"use strict";var e=Math.sqrt(1/3),i=2*e;n.a={draw:function(t,n){var r=Math.sqrt(n/i),u=r*e;t.moveTo(0,-r),t.lineTo(u,0),t.lineTo(0,r),t.lineTo(-u,0),t.closePath()}}},function(t,n,r){"use strict";n.a={draw:function(t,n){var r=Math.sqrt(n),e=-r/2;t.rect(e,e,r,r)}}},function(t,n,r){"use strict";var e=r(29),i=Math.sin(e.b/10)/Math.sin(7*e.b/10),u=Math.sin(e.c/10)*i,a=-Math.cos(e.c/10)*i;n.a={draw:function(t,n){var r=Math.sqrt(.8908130915292852*n),i=u*r,o=a*r;t.moveTo(0,-r),t.lineTo(i,o);for(var c=1;c<5;++c){var f=e.c*c/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*r,-s*r),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,r){"use strict";var e=Math.sqrt(3);n.a={draw:function(t,n){var r=-Math.sqrt(n/(3*e));t.moveTo(0,2*r),t.lineTo(-e*r,-r),t.lineTo(e*r,-r),t.closePath()}}},function(t,n,r){"use strict";var e=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),a=3*(u/2+1);n.a={draw:function(t,n){var r=Math.sqrt(n/a),o=r/2,c=r*u,f=o,s=r*u+r,l=-f,h=s;t.moveTo(o,c),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(e*o-i*c,i*o+e*c),t.lineTo(e*f-i*s,i*f+e*s),t.lineTo(e*l-i*h,i*l+e*h),t.lineTo(e*o+i*c,e*c-i*o),t.lineTo(e*f+i*s,e*s-i*f),t.lineTo(e*l+i*h,e*h-i*l),t.closePath()}}},function(t,n,r){"use strict";function e(t){return t.toISOString()}var i=r(86);r.d(n,"b",function(){return u});var u="%Y-%m-%dT%H:%M:%S.%LZ",a=Date.prototype.toISOString?e:r.i(i.d)(u);n.a=a},function(t,n,r){"use strict";function e(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 i(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 u(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function a(t){function n(t,n){return function(r){var e,i,u,a=[],o=-1,c=0,f=t.length;for(r instanceof Date||(r=new Date(+r));++o53)return null;"w"in f||(f.w=1),"Z"in f?(a=i(u(f.y)),c=a.getUTCDay(),a=c>4||0===c?dt.T.ceil(a):r.i(dt.T)(a),a=dt.N.offset(a,7*(f.V-1)),f.y=a.getUTCFullYear(),f.m=a.getUTCMonth(),f.d=a.getUTCDate()+(f.w+6)%7):(a=n(u(f.y)),c=a.getDay(),a=c>4||0===c?dt.t.ceil(a):r.i(dt.t)(a),a=dt.n.offset(a,7*(f.V-1)),f.y=a.getFullYear(),f.m=a.getMonth(),f.d=a.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),c="Z"in f?i(u(f.y)).getUTCDay():n(u(f.y)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+7*f.W-(c+5)%7:f.w+7*f.U-(c+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,i(f)):n(f)}}function o(t,n,r,e){for(var i,u,a=0,o=n.length,c=r.length;a=c)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(u=Jt[i in pt?n.charAt(a++):i])||(e=u(t,r,e))<0)return-1}else if(i!=r.charCodeAt(e++))return-1}return e}function c(t,n,r){var e=It.exec(n.slice(r));return e?(t.p=Ft[e[0].toLowerCase()],r+e[0].length):-1}function vt(t,n,r){var e=Ht.exec(n.slice(r));return e?(t.w=Xt[e[0].toLowerCase()],r+e[0].length):-1}function gt(t,n,r){var e=Yt.exec(n.slice(r));return e?(t.w=Bt[e[0].toLowerCase()],r+e[0].length):-1}function yt(t,n,r){var e=Wt.exec(n.slice(r));return e?(t.m=Zt[e[0].toLowerCase()],r+e[0].length):-1}function _t(t,n,r){var e=Vt.exec(n.slice(r));return e?(t.m=Gt[e[0].toLowerCase()],r+e[0].length):-1}function bt(t,n,r){return o(t,zt,n,r)}function mt(t,n,r){return o(t,Pt,n,r)}function xt(t,n,r){return o(t,Dt,n,r)}function wt(t){return Ut[t.getDay()]}function Mt(t){return Rt[t.getDay()]}function kt(t){return Ot[t.getMonth()]}function Tt(t){return jt[t.getMonth()]}function Nt(t){return Lt[+(t.getHours()>=12)]}function At(t){return Ut[t.getUTCDay()]}function Et(t){return Rt[t.getUTCDay()]}function St(t){return Ot[t.getUTCMonth()]}function Ct(t){return jt[t.getUTCMonth()]}function qt(t){return Lt[+(t.getUTCHours()>=12)]}var zt=t.dateTime,Pt=t.date,Dt=t.time,Lt=t.periods,Rt=t.days,Ut=t.shortDays,jt=t.months,Ot=t.shortMonths,It=f(Lt),Ft=s(Lt),Yt=f(Rt),Bt=s(Rt),Ht=f(Ut),Xt=s(Ut),Vt=f(jt),Gt=s(jt),Wt=f(Ot),Zt=s(Ot),Qt={a:wt,A:Mt,b:kt,B:Tt,c:null,d:C,e:C,f:L,H:q,I:z,j:P,L:D,m:R,M:U,p:Nt,Q:lt,s:ht,S:j,u:O,U:I,V:F,w:Y,W:B,x:null,X:null,y:H,Y:X,Z:V,"%":st},$t={a:At,A:Et,b:St,B:Ct,c:null,d:G,e:G,f:J,H:W,I:Z,j:Q,L:$,m:K,M:tt,p:qt,Q:lt,s:ht,S:nt,u:rt,U:et,V:it,w:ut,W:at,x:null,X:null,y:ot,Y:ct,Z:ft,"%":st},Jt={a:vt,A:gt,b:yt,B:_t,c:bt,d:m,e:m,f:N,H:w,I:w,j:x,L:T,m:b,M:M,p:c,Q:E,s:S,S:k,u:h,U:d,V:p,w:l,W:v,x:mt,X:xt,y:y,Y:g,Z:_,"%":A};return Qt.x=n(Pt,Qt),Qt.X=n(Dt,Qt),Qt.c=n(zt,Qt),$t.x=n(Pt,$t),$t.X=n(Dt,$t),$t.c=n(zt,$t),{format:function(t){var r=n(t+="",Qt);return r.toString=function(){return t},r},parse:function(t){var n=a(t+="",e);return n.toString=function(){return t},n},utcFormat:function(t){var r=n(t+="",$t);return r.toString=function(){return t},r},utcParse:function(t){var n=a(t,i);return n.toString=function(){return t},n}}}function o(t,n,r){var e=t<0?"-":"",i=(e?-t:t)+"",u=i.length;return e+(u68?1900:2e3),r+e[0].length):-1}function _(t,n,r){var e=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(r,r+6));return e?(t.Z=e[1]?0:-(e[2]+(e[3]||"00")),r+e[0].length):-1}function b(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.m=e[0]-1,r+e[0].length):-1}function m(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.d=+e[0],r+e[0].length):-1}function x(t,n,r){var e=vt.exec(n.slice(r,r+3));return e?(t.m=0,t.d=+e[0],r+e[0].length):-1}function w(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.H=+e[0],r+e[0].length):-1}function M(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.M=+e[0],r+e[0].length):-1}function k(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.S=+e[0],r+e[0].length):-1}function T(t,n,r){var e=vt.exec(n.slice(r,r+3));return e?(t.L=+e[0],r+e[0].length):-1}function N(t,n,r){var e=vt.exec(n.slice(r,r+6));return e?(t.L=Math.floor(e[0]/1e3),r+e[0].length):-1}function A(t,n,r){var e=gt.exec(n.slice(r,r+1));return e?r+e[0].length:-1}function E(t,n,r){var e=vt.exec(n.slice(r));return e?(t.Q=+e[0],r+e[0].length):-1}function S(t,n,r){var e=vt.exec(n.slice(r));return e?(t.Q=1e3*+e[0],r+e[0].length):-1}function C(t,n){return o(t.getDate(),n,2)}function q(t,n){return o(t.getHours(),n,2)}function z(t,n){return o(t.getHours()%12||12,n,2)}function P(t,n){return o(1+dt.n.count(r.i(dt.H)(t),t),n,3)}function D(t,n){return o(t.getMilliseconds(),n,3)}function L(t,n){return D(t,n)+"000"}function R(t,n){return o(t.getMonth()+1,n,2)}function U(t,n){return o(t.getMinutes(),n,2)}function j(t,n){return o(t.getSeconds(),n,2)}function O(t){var n=t.getDay();return 0===n?7:n}function I(t,n){return o(dt.r.count(r.i(dt.H)(t),t),n,2)}function F(t,n){var e=t.getDay();return t=e>=4||0===e?r.i(dt.z)(t):dt.z.ceil(t),o(dt.z.count(r.i(dt.H)(t),t)+(4===r.i(dt.H)(t).getDay()),n,2)}function Y(t){return t.getDay()}function B(t,n){return o(dt.t.count(r.i(dt.H)(t),t),n,2)}function H(t,n){return o(t.getFullYear()%100,n,2)}function X(t,n){return o(t.getFullYear()%1e4,n,4)}function V(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+o(n/60|0,"0",2)+o(n%60,"0",2)}function G(t,n){return o(t.getUTCDate(),n,2)}function W(t,n){return o(t.getUTCHours(),n,2)}function Z(t,n){return o(t.getUTCHours()%12||12,n,2)}function Q(t,n){return o(1+dt.N.count(r.i(dt._7)(t),t),n,3)}function $(t,n){return o(t.getUTCMilliseconds(),n,3)}function J(t,n){return $(t,n)+"000"}function K(t,n){return o(t.getUTCMonth()+1,n,2)}function tt(t,n){return o(t.getUTCMinutes(),n,2)}function nt(t,n){return o(t.getUTCSeconds(),n,2)}function rt(t){var n=t.getUTCDay();return 0===n?7:n}function et(t,n){return o(dt.R.count(r.i(dt._7)(t),t),n,2)}function it(t,n){var e=t.getUTCDay();return t=e>=4||0===e?r.i(dt.Z)(t):dt.Z.ceil(t),o(dt.Z.count(r.i(dt._7)(t),t)+(4===r.i(dt._7)(t).getUTCDay()),n,2)}function ut(t){return t.getUTCDay()}function at(t,n){return o(dt.T.count(r.i(dt._7)(t),t),n,2)}function ot(t,n){return o(t.getUTCFullYear()%100,n,2)}function ct(t,n){return o(t.getUTCFullYear()%1e4,n,4)}function ft(){return"+0000"}function st(){return"%"}function lt(t){return+t}function ht(t){return Math.floor(+t/1e3)}var dt=r(46);n.a=a;var pt={"-":"",_:" ",0:"0"},vt=/^\s*\d+/,gt=/^%/,yt=/[\\^$*+?|[\]().{}]/g},function(t,n,r){"use strict";var e=r(6);n.a=function(t,n){var r,i,u,a=t.__transition,o=!0;if(a){n=null==n?null:n+"";for(u in a)(r=a[u]).name===n?(i=r.state>e.a&&r.states.b||Math.abs(m-y)>s.b)&&(d.splice(h,0,s.d.push(r.i(f.b)(l,_,Math.abs(b-t)s.b?[t,Math.abs(g-t)s.b?[Math.abs(y-i)s.b?[e,Math.abs(g-e)s.b?[Math.abs(y-n)=-o.f)){var y=h*h+d*d,_=p*p+v*v,b=(v*y-d*_)/g,m=(h*_-p*y)/g,x=f.pop()||new e;x.arc=t,x.site=u,x.x=b+s,x.y=(x.cy=m+l)+Math.sqrt(b*b+m*m),t.circle=x;for(var w=null,M=o.g._;M;)if(x.y=n-t.span&&r.timestamp<=n}),i=this.ag.selectAll("line.annotation").data(r).attr("x1",function(n){return t.x(n.timestamp)}).attr("x2",function(n){return t.x(n.timestamp)});i.enter().append("line").classed("annotation",!0).attr("stroke",function(t){return"continued"===t.type?"rgba(0, 255, 0, 0.25)":"rgba(255, 0, 0, 0.25)"}).attr("stroke-width",1).attr("y1",0).attr("y2",this.height).attr("x1",function(n){return t.x(n.timestamp)}).attr("x2",function(n){return t.x(n.timestamp)}),i.exit().remove(),this.paths.forEach(function(r){try{var e=t.datasource.getData(r.graphId,n-t.span,n,!0);r.path.datum(e).attr("d",t.line)}catch(t){console.log("Error Updating Plot: ",t)}}),this.spaths.forEach(function(r){try{var e=t.datasource.sampleData(r.graphId,t.width,t.start,n);r.path.datum(e).attr("d",t.sline)}catch(t){console.log("Error Updating Plot: ",t)}});var u=n-this.span;u0){var r=this.points[this.points.length-1];this.points=this.points.filter(function(t){return t.timestamp>=n}),0===this.points.length&&this.points.push(r),this.path.datum(this.points).attr("d",this.line)}}catch(t){console.log("Error Updating Plot: ",t)}window.requestAnimationFrame(this.updateGraph.bind(this))},t}();n.XYGraph=i},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=function(){function t(){this.data={},this.subscriptions={}}return t.prototype.receiveMessage=function(t){var n={timestamp:t.timestamp,value:t.data},r=t.id;this.data[r]||(this.data[r]=[]),this.data[r]&&this.data[r].push(n),this.subscriptions[r]&&this.subscriptions[r].forEach(function(t){return t(n)})},t.prototype.getData=function(t,n,r,e){void 0===e&&(e=!0);var i=this.data[t];if(!i)return[];if(i=i.filter(function(t){return t.timestamp>=n&&t.timestamp<=r}),e&&i.length>=1){var u=i[i.length-1];i.push({timestamp:r,value:u.value});var a=i[0];i.unshift({timestamp:n,value:a.value})}return i},t.prototype.sampleData=function(t,n,r,e){void 0===r&&(r=null),void 0===e&&(e=null);var i=this.data[t];if(!i)return[];if(null===r&&(r=0),null==e&&(e=(new Date).getTime()),i=i.filter(function(t){return t.timestamp>=r&&t.timestamp<=e}),i.length>1.5*n){var u=Math.round(i.length/n);i=i.filter(function(t,n){return n%u==0})}return i},t.prototype.subscribe=function(t,n){this.subscriptions[t]||(this.subscriptions[t]=[]),this.subscriptions[t].push(n)},t}();n.GraphDataSource=e},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";var e=r(97);n.a=function(t,n,r){var i,u,a,o,c=t.length,f=n.length,s=new Array(c*f);for(null==r&&(r=e.b),i=a=0;it?1:n>=t?0:NaN}},function(t,n,r){"use strict";var e=r(91),i=r(92),u=r(175),a=r(95),o=r(179),c=r(98),f=r(100),s=r(99);n.a=function(){function t(t){var e,u,a=t.length,o=new Array(a);for(e=0;ep;)v.pop(),--g;var y,_=new Array(g+1);for(e=0;e<=g;++e)y=_[e]=[],y.x0=e>0?v[e-1]:d,y.x1=e=r)for(e=r;++ue&&(e=r)}else for(;++u=r)for(e=r;++ue&&(e=r);return e}},function(t,n,r){"use strict";var e=r(21);n.a=function(t,n){var i,u=t.length,a=u,o=-1,c=0;if(null==n)for(;++o=0;)for(e=t[i],n=e.length;--n>=0;)r[--a]=e[n];return r}},function(t,n,r){"use strict";n.a=function(t,n){for(var r=n.length,e=new Array(r);r--;)e[r]=t[n[r]];return e}},function(t,n,r){"use strict";var e=r(17);n.a=function(t,n){if(r=t.length){var r,i,u=0,a=0,o=t[a];for(null==n&&(n=e.a);++uMath.abs(t[1]-nt[1])?I=!0:O=!0),nt=t,j=!0,r.i(b.a)(),e()}function e(){var t;switch(R=nt[0]-tt[0],U=nt[1]-tt[1],B){case x:case m:H&&(R=Math.max(Z-l,Math.min($-_,R)),h=l+R,N=_+R),X&&(U=Math.max(Q-p,Math.min(J-P,U)),y=p+U,L=P+U);break;case w:H<0?(R=Math.max(Z-l,Math.min($-l,R)),h=l+R,N=_):H>0&&(R=Math.max(Z-_,Math.min($-_,R)),h=l,N=_+R),X<0?(U=Math.max(Q-p,Math.min(J-p,U)),y=p+U,L=P):X>0&&(U=Math.max(Q-P,Math.min(J-P,U)),y=p,L=P+U);break;case M:H&&(h=Math.max(Z,Math.min($,l-R*H)),N=Math.max(Z,Math.min($,_+R*H))),X&&(y=Math.max(Q,Math.min(J,p-U*X)),L=Math.max(Q,Math.min(J,P+U*X)))}N0&&(l=h-R),X<0?P=L-U:X>0&&(p=y-U),B=x,it.attr("cursor",A.selection),e());break;default:return}r.i(b.a)()}function s(){switch(v.q.keyCode){case 16:K&&(O=I=K=!1,e());break;case 18:B===M&&(H<0?_=N:H>0&&(l=h),X<0?P=L:X>0&&(p=y),B=w,e());break;case 32:B===x&&(v.q.altKey?(H&&(_=N-R*H,l=h+R*H),X&&(P=L-U*X,p=y+U*X),B=M):(H<0?_=N:H>0&&(l=h),X<0?P=L:X>0&&(p=y),B=w),it.attr("cursor",A[Y]),e());break;default:return}r.i(b.a)()}if(v.q.touches){if(v.q.changedTouches.length=l.length)return null!=c&&n.sort(c),null!=f?f(n):n;for(var a,s,h,d=-1,p=n.length,v=l[e++],g=r.i(o.a)(),y=i();++dl.length)return t;var e,i=h[r-1];return null!=f&&r>=l.length?e=t.entries():(e=[],t.each(function(t,i){e.push({key:i,values:n(t,r)})})),null!=i?e.sort(function(t,n){return i(t.key,n.key)}):e}var c,f,s,l=[],h=[];return s={object:function(n){return t(n,0,e,i)},map:function(n){return t(n,0,u,a)},entries:function(r){return n(t(r,0,u,a),0)},key:function(t){return l.push(t),s},sortKeys:function(t){return h[l.length-1]=t,s},sortValues:function(t){return c=t,s},rollup:function(t){return f=t,s}}}},function(t,n,r){"use strict";function e(){}function i(t,n){var r=new e;if(t instanceof e)t.each(function(t){r.add(t)});else if(t){var i=-1,u=t.length;if(null==n)for(;++iM?Math.pow(t,1/3):t/w+m}function o(t){return t>x?t*t*t:w*(t-m)}function c(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function f(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function s(t){if(t instanceof h)return new h(t.h,t.c,t.l,t.opacity);t instanceof u||(t=e(t));var n=Math.atan2(t.b,t.a)*v.a;return new h(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function l(t,n,r,e){return 1===arguments.length?s(t):new h(t,n,r,null==e?1:e)}function h(t,n,r,e){this.h=+t,this.c=+n,this.l=+r,this.opacity=+e}var d=r(53),p=r(52),v=r(104);n.a=i,n.b=l;var g=18,y=.95047,_=1,b=1.08883,m=4/29,x=6/29,w=3*x*x,M=x*x*x;r.i(d.a)(u,i,r.i(d.b)(p.f,{brighter:function(t){return new u(this.l+g*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new u(this.l-g*(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,r=isNaN(this.b)?t:t-this.b/200;return t=_*o(t),n=y*o(n),r=b*o(r),new p.d(c(3.2404542*n-1.5371385*t-.4985314*r),c(-.969266*n+1.8760108*t+.041556*r),c(.0556434*n-.2040259*t+1.0572252*r),this.opacity)}})),r.i(d.a)(h,l,r.i(d.b)(p.f,{brighter:function(t){return new h(this.h,this.c,this.l+g*(null==t?1:t),this.opacity)},darker:function(t){return new h(this.h,this.c,this.l-g*(null==t?1:t),this.opacity)},rgb:function(){return e(this).rgb()}}))},function(t,n,r){"use strict";function e(){for(var t,n=0,r=arguments.length,e={};n=0&&(r=t.slice(e+1),t=t.slice(0,e)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:r}})}function a(t,n){for(var r,e=0,i=t.length;e0)for(var r,e,i=new Array(r),u=0;uC}A.mouse("drag")}function p(){r.i(c.h)(c.q.view).on("mousemove.drag mouseup.drag",null),r.i(f.b)(c.q.view,x),r.i(s.a)(),A.mouse("end")}function v(){if(M.apply(this,arguments)){var t,n,e=c.q.changedTouches,i=k.apply(this,arguments),u=e.length;for(t=0;tp+s||iv+s||uf.index){var l=p-o.x-o.vx,d=v-o.y-o.vy,_=l*l+d*d;_t.r&&(t.r=t[n].r)}function f(){if(s){var n,r,e=s.length;for(l=new Array(e),n=0;n=v)){(t.data!==s||t.next)&&(0===a&&(a=r.i(i.a)(),f+=a*a),0===o&&(o=r.i(i.a)(),f+=o*o),f0&&(u=0)}return u>0?t.slice(0,u)+t.slice(r+1):t}},function(t,n,r){"use strict";n.a=function(t,n){return function(r,e){for(var i=r.length,u=[],a=0,o=t[0],c=0;i>0&&o>0&&(c+o+1>e&&(o=Math.max(1,e-c)),u.push(r.substring(i-=o,i+o)),!((c+=o+1)>e));)o=t[a=(a+1)%t.length];return u.reverse().join(n)}}},function(t,n,r){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,r){"use strict";var e=r(59);n.a=function(t,n){var i=r.i(e.a)(t,n);if(!i)return t+"";var u=i[0],a=i[1];return a<0?"0."+new Array(-a).join("0")+u:u.length>a+1?u.slice(0,a+1)+"."+u.slice(a+1):u+new Array(a-u.length+2).join("0")}},function(t,n,r){"use strict";n.a=function(t){return t}},function(t,n,r){"use strict";var e=r(33);n.a=function(t){return Math.max(0,-r.i(e.a)(Math.abs(t)))}},function(t,n,r){"use strict";var e=r(33);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r.i(e.a)(n)/3)))-r.i(e.a)(Math.abs(t)))}},function(t,n,r){"use strict";var e=r(33);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,r.i(e.a)(n)-r.i(e.a)(t))+1}},function(t,n,r){"use strict";var e=r(113);r.d(n,"a",function(){return e.a});var i=r(246);r.d(n,"b",function(){return i.a});var u=r(247);r.d(n,"c",function(){return u.a});var a=r(114);r.d(n,"d",function(){return a.a});var o=r(115);r.d(n,"e",function(){return o.a});var c=r(117);r.d(n,"f",function(){return c.a});var f=r(248);r.d(n,"g",function(){return f.a});var s=r(34);r.d(n,"h",function(){return s.a});var l=r(251);r.d(n,"i",function(){return l.a});var h=r(121);r.d(n,"j",function(){return h.a});var d=r(252);r.d(n,"k",function(){return d.a}),r.d(n,"l",function(){return d.b});var p=r(253);r.d(n,"m",function(){return p.a});var v=r(122);r.d(n,"n",function(){return v.a});var g=r(257);r.d(n,"o",function(){return g.a});var y=r(126);r.d(n,"p",function(){return y.a});var _=r(260);r.d(n,"q",function(){return _.a});var b=r(261);r.d(n,"r",function(){return b.a}),r.d(n,"s",function(){return b.b});var m=r(262);r.d(n,"t",function(){return m.a}),r.d(n,"u",function(){return m.b});var x=r(263);r.d(n,"v",function(){return x.a}),r.d(n,"w",function(){return x.b});var w=r(62);r.d(n,"x",function(){return w.a}),r.d(n,"y",function(){return w.b});var M=r(264);r.d(n,"z",function(){return M.a}),r.d(n,"A",function(){return M.b});var k=r(127);r.d(n,"B",function(){return k.a}),r.d(n,"C",function(){return k.b});var T=r(266);r.d(n,"D",function(){return T.a}),r.d(n,"E",function(){return T.b});var N=r(267);r.d(n,"F",function(){return N.a});var A=r(8);r.d(n,"G",function(){return A.a}),r.d(n,"H",function(){return A.b});var E=r(64);r.d(n,"I",function(){return E.a}),r.d(n,"J",function(){return E.b});var S=r(268);r.d(n,"K",function(){return S.a}),r.d(n,"L",function(){return S.b});var C=r(269);r.d(n,"M",function(){return C.a}),r.d(n,"N",function(){return C.b});var q=r(271);r.d(n,"O",function(){return q.a}),r.d(n,"P",function(){return q.b});var z=r(272);r.d(n,"Q",function(){return z.a}),r.d(n,"R",function(){return z.b});var P=r(35);r.d(n,"S",function(){return P.a});var D=r(13);r.d(n,"T",function(){return D.a});var L=r(36);r.d(n,"U",function(){return L.a})},function(t,n,r){"use strict";function e(t,n){x.push(w=[d=t,v=t]),ng&&(g=n)}function i(t,n){var e=r.i(T.a)([t*N.g,n*N.g]);if(m){var i=r.i(T.b)(m,e),u=[i[1],-i[0],0],a=r.i(T.b)(u,i);r.i(T.c)(a),a=r.i(T.g)(a);var o,c=t-y,f=c>0?1:-1,l=a[0]*N.h*f,h=r.i(N.p)(c)>180;h^(f*yg&&(g=o):(l=(l+360)%360-180,h^(f*yg&&(g=n))),h?ts(d,v)&&(v=t):s(t,v)>s(d,v)&&(d=t):v>=d?(tv&&(v=t)):t>y?s(d,t)>s(d,v)&&(v=t):s(t,v)>s(d,v)&&(d=t)}else x.push(w=[d=t,v=t]);ng&&(g=n),m=e,y=t}function u(){S.point=i}function a(){w[0]=d,w[1]=v,S.point=e,m=null}function o(t,n){if(m){var e=t-y;E.add(r.i(N.p)(e)>180?e+(e>0?360:-360):e)}else _=t,b=n;k.b.point(t,n),i(t,n)}function c(){k.b.lineStart()}function f(){o(_,b),k.b.lineEnd(),r.i(N.p)(E)>N.o&&(d=-(v=180)),w[0]=d,w[1]=v,m=null}function s(t,n){return(n-=t)<0?n+360:n}function l(t,n){return t[0]-n[0]}function h(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nN.o?g=90:E<-N.o&&(p=-90),w[0]=d,w[1]=v}};n.a=function(t){var n,e,i,u,a,o,c;if(g=v=-(d=p=1/0),x=[],r.i(A.a)(t,S),e=x.length){for(x.sort(l),n=1,i=x[0],a=[i];ns(i[0],i[1])&&(i[1]=u[1]),s(u[0],i[1])>s(i[0],i[1])&&(i[0]=u[0])):a.push(i=u);for(o=-1/0,e=a.length-1,n=0,i=a[e];n<=e;i=u,++n)u=a[n],(c=s(i[1],u[0]))>o&&(o=c,d=u[0],v=i[1])}return x=w=null,d===1/0||p===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,p],[v,g]]}},function(t,n,r){"use strict";function e(t,n){t*=S.g,n*=S.g;var e=r.i(S.c)(n);i(e*r.i(S.c)(t),e*r.i(S.d)(t),r.i(S.d)(n))}function i(t,n,r){++d,v+=(t-v)/d,g+=(n-g)/d,y+=(r-y)/d}function u(){z.point=a}function a(t,n){t*=S.g,n*=S.g;var e=r.i(S.c)(n);N=e*r.i(S.c)(t),A=e*r.i(S.d)(t),E=r.i(S.d)(n),z.point=o,i(N,A,E)}function o(t,n){t*=S.g,n*=S.g;var e=r.i(S.c)(n),u=e*r.i(S.c)(t),a=e*r.i(S.d)(t),o=r.i(S.d)(n),c=r.i(S.e)(r.i(S.n)((c=A*o-E*a)*c+(c=E*u-N*o)*c+(c=N*a-A*u)*c),N*u+A*a+E*o);p+=c,_+=c*(N+(N=u)),b+=c*(A+(A=a)),m+=c*(E+(E=o)),i(N,A,E)}function c(){z.point=e}function f(){z.point=l}function s(){h(k,T),z.point=e}function l(t,n){k=t,T=n,t*=S.g,n*=S.g,z.point=h;var e=r.i(S.c)(n);N=e*r.i(S.c)(t),A=e*r.i(S.d)(t),E=r.i(S.d)(n),i(N,A,E)}function h(t,n){t*=S.g,n*=S.g;var e=r.i(S.c)(n),u=e*r.i(S.c)(t),a=e*r.i(S.d)(t),o=r.i(S.d)(n),c=A*o-E*a,f=E*u-N*o,s=N*a-A*u,l=r.i(S.n)(c*c+f*f+s*s),h=r.i(S.f)(l),d=l&&-h/l;x+=d*c,w+=d*f,M+=d*s,p+=h,_+=h*(N+(N=u)),b+=h*(A+(A=a)),m+=h*(E+(E=o)),i(N,A,E)}var d,p,v,g,y,_,b,m,x,w,M,k,T,N,A,E,S=r(0),C=r(10),q=r(13),z={sphere:C.a,point:e,lineStart:u,lineEnd:c,polygonStart:function(){z.lineStart=f,z.lineEnd=s},polygonEnd:function(){z.lineStart=u,z.lineEnd=c}};n.a=function(t){d=p=v=g=y=_=b=m=x=w=M=0,r.i(q.a)(t,z);var n=x,e=w,i=M,u=n*n+e*e+i*i;return u0)){if(a/=d,d<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=i-o,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a0)){if(a/=p,p<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=u-c,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a0&&(t[0]=o+l*d,t[1]=c+l*p),h<1&&(n[0]=o+h*d,n[1]=c+h*p),!0}}}}}},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t,n){return!(!t||!d.hasOwnProperty(t.type))&&d[t.type](t,n)}function i(t,n){return 0===r.i(s.a)(t,n)}function u(t,n){var e=r.i(s.a)(t[0],t[1]);return r.i(s.a)(t[0],n)+r.i(s.a)(n,t[1])<=e+l.o}function a(t,n){return!!r.i(f.a)(t.map(o),c(n))}function o(t){return t=t.map(c),t.pop(),t}function c(t){return[t[0]*l.g,t[1]*l.g]}var f=r(125),s=r(121),l=r(0),h={Feature:function(t,n){return e(t.geometry,n)},FeatureCollection:function(t,n){for(var r=t.features,i=-1,u=r.length;++ic.o}).map(v)).concat(r.i(o.v)(r.i(c.u)(h/m)*m,l,m).filter(function(t){return r.i(c.p)(t%w)>c.o}).map(g))}var u,a,f,s,l,h,d,p,v,g,y,_,b=10,m=b,x=90,w=360,M=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[y(s).concat(_(d).slice(1),y(f).reverse().slice(1),_(p).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(s=+n[0][0],f=+n[1][0],p=+n[0][1],d=+n[1][1],s>f&&(n=s,s=f,f=n),p>d&&(n=p,p=d,d=n),t.precision(M)):[[s,p],[f,d]]},t.extentMinor=function(n){return arguments.length?(a=+n[0][0],u=+n[1][0],h=+n[0][1],l=+n[1][1],a>u&&(n=a,a=u,u=n),h>l&&(n=h,h=l,l=n),t.precision(M)):[[a,h],[u,l]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(x=+n[0],w=+n[1],t):[x,w]},t.stepMinor=function(n){return arguments.length?(b=+n[0],m=+n[1],t):[b,m]},t.precision=function(n){return arguments.length?(M=+n,v=e(h,l,90),g=i(a,u,M),y=e(p,d,90),_=i(s,f,M),t):M},t.extentMajor([[-180,-90+c.o],[180,90-c.o]]).extentMinor([[-180,-80-c.o],[180,80+c.o]])}function a(){return u()()}var o=r(3),c=r(0);n.a=u,n.b=a},function(t,n,r){"use strict";var e=r(0);n.a=function(t,n){var i=t[0]*e.g,u=t[1]*e.g,a=n[0]*e.g,o=n[1]*e.g,c=r.i(e.c)(u),f=r.i(e.d)(u),s=r.i(e.c)(o),l=r.i(e.d)(o),h=c*r.i(e.c)(i),d=c*r.i(e.d)(i),p=s*r.i(e.c)(a),v=s*r.i(e.d)(a),g=2*r.i(e.f)(r.i(e.n)(r.i(e.t)(o-u)+c*s*r.i(e.t)(a-i))),y=r.i(e.d)(g),_=g?function(t){var n=r.i(e.d)(t*=g)/y,i=r.i(e.d)(g-t)/y,u=i*h+n*p,a=i*d+n*v,o=i*f+n*l;return[r.i(e.e)(a,u)*e.h,r.i(e.e)(o,r.i(e.n)(u*u+a*a))*e.h]}:function(){return[i*e.h,u*e.h]};return _.distance=g,_}},function(t,n,r){"use strict";function e(){g.point=i}function i(t,n){g.point=u,o=f=t,c=s=n}function u(t,n){v.add(s*t-f*n),f=t,s=n}function a(){u(o,c)}var o,c,f,s,l=r(19),h=r(0),d=r(10),p=r.i(l.a)(),v=r.i(l.a)(),g={point:d.a,lineStart:d.a,lineEnd:d.a,polygonStart:function(){g.lineStart=e,g.lineEnd=a},polygonEnd:function(){g.lineStart=g.lineEnd=g.point=d.a,p.add(r.i(h.p)(v)),v.reset()},result:function(){var t=p/2;return p.reset(),t}};n.a=g},function(t,n,r){"use strict";function e(t,n){y+=t,_+=n,++b}function i(){N.point=u}function u(t,n){N.point=a,e(p=t,v=n)}function a(t,n){var i=t-p,u=n-v,a=r.i(g.n)(i*i+u*u);m+=a*(p+t)/2,x+=a*(v+n)/2,w+=a,e(p=t,v=n)}function o(){N.point=e}function c(){N.point=s}function f(){l(h,d)}function s(t,n){N.point=l,e(h=p=t,d=v=n)}function l(t,n){var i=t-p,u=n-v,a=r.i(g.n)(i*i+u*u);m+=a*(p+t)/2,x+=a*(v+n)/2,w+=a,a=v*t-p*n,M+=a*(p+t),k+=a*(v+n),T+=3*a,e(p=t,v=n)}var h,d,p,v,g=r(0),y=0,_=0,b=0,m=0,x=0,w=0,M=0,k=0,T=0,N={point:e,lineStart:i,lineEnd:o,polygonStart:function(){N.lineStart=c,N.lineEnd=f},polygonEnd:function(){N.point=e,N.lineStart=i,N.lineEnd=o},result:function(){var t=T?[M/T,k/T]:w?[m/w,x/w]:b?[y/b,_/b]:[NaN,NaN];return y=_=b=m=x=w=M=k=T=0,t}};n.a=N},function(t,n,r){"use strict";function e(t){this._context=t}var i=r(0),u=r(10);n.a=e,e.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,i.b)}},result:u.a}},function(t,n,r){"use strict";var e=r(60),i=r(13),u=r(254),a=r(123),o=r(255),c=r(256),f=r(258),s=r(259);n.a=function(t,n){function l(t){return t&&("function"==typeof p&&d.pointRadius(+p.apply(this,arguments)),r.i(i.a)(t,h(d))),d.result()}var h,d,p=4.5;return l.area=function(t){return r.i(i.a)(t,h(u.a)),u.a.result()},l.measure=function(t){return r.i(i.a)(t,h(f.a)),f.a.result()},l.bounds=function(t){return r.i(i.a)(t,h(a.a)),a.a.result()},l.centroid=function(t){return r.i(i.a)(t,h(o.a)),o.a.result()},l.projection=function(n){return arguments.length?(h=null==n?(t=null,e.a):(t=n).stream,l):t},l.context=function(t){return arguments.length?(d=null==t?(n=null,new s.a):new c.a(n=t),"function"!=typeof p&&d.pointRadius(p),l):n},l.pointRadius=function(t){return arguments.length?(p="function"==typeof t?t:(d.pointRadius(+t),+t),l):p},l.projection(t).context(n)}},function(t,n,r){"use strict";function e(t,n){p.point=i,a=c=t,o=f=n}function i(t,n){c-=t,f-=n,d.add(r.i(l.n)(c*c+f*f)),c=t,f=n}var u,a,o,c,f,s=r(19),l=r(0),h=r(10),d=r.i(s.a)(),p={point:h.a,lineStart:function(){p.point=e},lineEnd:function(){u&&i(a,o),p.point=h.a},polygonStart:function(){u=!0},polygonEnd:function(){u=null},result:function(){var t=+d;return d.reset(),t}};n.a=p},function(t,n,r){"use strict";function e(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=e,e.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,r){"use strict";function e(t){var n=t.length;return{point:function(r,e){for(var i=-1;++i=.12&&i<.234&&e>=-.425&&e<-.214?v:i>=.166&&i<.234&&e>=-.214&&e<-.115?g:p).invert(t)},t.stream=function(t){return c&&f===t?c:c=e([p.stream(f=t),v.stream(t),g.stream(t)])},t.precision=function(t){return arguments.length?(p.precision(t),v.precision(t),g.precision(t),n()):p.precision()},t.scale=function(n){return arguments.length?(p.scale(n),v.scale(.35*n),g.scale(n),t.translate(p.translate())):p.scale()},t.translate=function(t){if(!arguments.length)return p.translate();var r=p.scale(),e=+t[0],u=+t[1];return s=p.translate(t).clipExtent([[e-.455*r,u-.238*r],[e+.455*r,u+.238*r]]).stream(y),l=v.translate([e-.307*r,u+.201*r]).clipExtent([[e-.425*r+i.o,u+.12*r+i.o],[e-.214*r-i.o,u+.234*r-i.o]]).stream(y),h=g.translate([e-.205*r,u+.212*r]).clipExtent([[e-.214*r+i.o,u+.166*r+i.o],[e-.115*r-i.o,u+.234*r-i.o]]).stream(y),n()},t.fitExtent=function(n,e){return r.i(o.a)(t,n,e)},t.fitSize=function(n,e){return r.i(o.b)(t,n,e)},t.fitWidth=function(n,e){return r.i(o.c)(t,n,e)},t.fitHeight=function(n,e){return r.i(o.d)(t,n,e)},t.scale(1070)}},function(t,n,r){"use strict";var e=r(0),i=r(24),u=r(8);r.d(n,"b",function(){return a});var a=r.i(i.b)(function(t){return r.i(e.n)(2/(1+t))});a.invert=r.i(i.a)(function(t){return 2*r.i(e.f)(t/2)}),n.a=function(){return r.i(u.a)(a).scale(124.75).clipAngle(179.999)}},function(t,n,r){"use strict";var e=r(0),i=r(24),u=r(8);r.d(n,"b",function(){return a});var a=r.i(i.b)(function(t){return(t=r.i(e.s)(t))&&t/r.i(e.d)(t)});a.invert=r.i(i.a)(function(t){return t}),n.a=function(){return r.i(u.a)(a).scale(79.4188).clipAngle(179.999)}},function(t,n,r){"use strict";function e(t){return r.i(u.j)((u.k+t)/2)}function i(t,n){function i(t,n){f>0?n<-u.k+u.o&&(n=-u.k+u.o):n>u.k-u.o&&(n=u.k-u.o);var i=f/r.i(u.r)(e(n),c);return[i*r.i(u.d)(c*t),f-i*r.i(u.c)(c*t)]}var a=r.i(u.c)(t),c=t===n?r.i(u.d)(t):r.i(u.i)(a/r.i(u.c)(n))/r.i(u.i)(e(n)/e(t)),f=a*r.i(u.r)(e(t),c)/c;return c?(i.invert=function(t,n){var e=f-n,i=r.i(u.q)(c)*r.i(u.n)(t*t+e*e);return[r.i(u.e)(t,r.i(u.p)(e))/c*r.i(u.q)(e),2*r.i(u.l)(r.i(u.r)(f/i,1/c))-u.k]},i):o.b}var u=r(0),a=r(61),o=r(64);n.b=i,n.a=function(){return r.i(a.a)(i).scale(109.5).parallels([30,30])}},function(t,n,r){"use strict";function e(t,n){function e(t,n){var e=c-n,u=o*t;return[e*r.i(i.d)(u),c-e*r.i(i.c)(u)]}var u=r.i(i.c)(t),o=t===n?r.i(i.d)(t):(u-r.i(i.c)(n))/(n-t),c=u/o+t;return r.i(i.p)(o)u.o&&--a>0);return[t/(.8707+(o=i*i)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),i]},n.a=function(){return r.i(i.a)(e).scale(175.295)}},function(t,n,r){"use strict";function e(t,n){return[r.i(i.c)(n)*r.i(i.d)(t),r.i(i.d)(n)]}var i=r(0),u=r(24),a=r(8);n.b=e,e.invert=r.i(u.a)(i.f),n.a=function(){return r.i(a.a)(e).scale(249.5).clipAngle(90+i.o)}},function(t,n,r){"use strict";function e(t){return r.i(o.b)({point:function(n,r){n=t(n,r),this.stream.point(n[0],n[1])}})}function i(t,n){function e(i,u,o,c,s,l,h,d,p,v,g,y,_,b){var m=h-i,x=d-u,w=m*m+x*x;if(w>4*n&&_--){var M=c+v,k=s+g,T=l+y,N=r.i(a.n)(M*M+k*k+T*T),A=r.i(a.f)(T/=N),E=r.i(a.p)(r.i(a.p)(T)-1)n||r.i(a.p)((m*z+x*P)/w-.5)>.3||c*v+s*g+l*y2?t[2]+90:90]):(t=i(),[t[0],t[1],t[2]-90])},i([0,0,90]).scale(159.155)}},function(t,n,r){"use strict";var e=r(275);r.d(n,"a",function(){return e.a});var i=r(66);r.d(n,"b",function(){return i.a});var u=r(287);r.d(n,"c",function(){return u.a});var a=r(130);r.d(n,"d",function(){return a.a});var o=r(129);r.d(n,"e",function(){return o.a});var c=r(288);r.d(n,"f",function(){return c.a});var f=r(289);r.d(n,"g",function(){return f.a});var s=r(290);r.d(n,"h",function(){return s.a});var l=r(292);r.d(n,"i",function(){return l.a});var h=r(291);r.d(n,"j",function(){return h.a});var d=r(25);r.d(n,"k",function(){return d.a});var p=r(37);r.d(n,"l",function(){return p.a});var v=r(294);r.d(n,"m",function(){return v.a});var g=r(67);r.d(n,"n",function(){return g.a});var y=r(293);r.d(n,"o",function(){return y.a})},function(t,n,r){"use strict";function e(t){for(var n,r,e=t.length;e;)r=Math.random()*e--|0,n=t[e],t[e]=t[r],t[r]=n;return t}r.d(n,"b",function(){return i}),n.a=e;var i=Array.prototype.slice},function(t,n,r){"use strict";function e(t,n){return t.parent===n.parent?1:2}function i(t){return t.reduce(u,0)/t.length}function u(t,n){return t+n.x}function a(t){return 1+t.reduce(o,0)}function o(t,n){return Math.max(t,n.y)}function c(t){for(var n;n=t.children;)t=n[0];return t}function f(t){for(var n;n=t.children;)t=n[n.length-1];return t}n.a=function(){function t(t){var e,s=0;t.eachAfter(function(t){var r=t.children;r?(t.x=i(r),t.y=a(r)):(t.x=e?s+=n(t,e):0,t.y=0,e=t)});var l=c(t),h=f(t),d=l.x-n(l,h)/2,p=h.x+n(h,l)/2;return t.eachAfter(o?function(n){n.x=(n.x-t.x)*r,n.y=(t.y-n.y)*u}:function(n){n.x=(n.x-d)/(p-d)*r,n.y=(1-(t.y?n.y/t.y:1))*u})}var n=e,r=1,u=1,o=!1;return t.separation=function(r){return arguments.length?(n=r,t):n},t.size=function(n){return arguments.length?(o=!1,r=+n[0],u=+n[1],t):o?null:[r,u]},t.nodeSize=function(n){return arguments.length?(o=!0,r=+n[0],u=+n[1],t):o?[r,u]:null},t}},function(t,n,r){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,r){"use strict";function e(t){var n=0,r=t.children,e=r&&r.length;if(e)for(;--e>=0;)n+=r[e].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(e)}},function(t,n,r){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,r){"use strict";n.a=function(t){var n,r,e,i,u=this,a=[u];do{for(n=a.reverse(),a=[];u=n.pop();)if(t(u),r=u.children)for(e=0,i=r.length;e=0;--r)i.push(n[r]);return this}},function(t,n,r){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,r){"use strict";n.a=function(){var t=this,n=[];return t.each(function(r){r!==t&&n.push({source:r.parent,target:r})}),n}},function(t,n,r){"use strict";function e(t,n){if(t===n)return t;var r=t.ancestors(),e=n.ancestors(),i=null;for(t=r.pop(),n=e.pop();t===n;)i=t,t=r.pop(),n=e.pop();return i}n.a=function(t){for(var n=this,r=e(n,t),i=[n];n!==r;)n=n.parent,i.push(n);for(var u=i.length;t!==r;)i.splice(u,0,t),t=t.parent;return i}},function(t,n,r){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,r){"use strict";n.a=function(t){return this.eachAfter(function(n){for(var r=+t(n.data)||0,e=n.children,i=e&&e.length;--i>=0;)r+=e[i].value;n.value=r})}},function(t,n,r){"use strict";function e(t){return Math.sqrt(t.value)}function i(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function u(t,n){return function(e){if(i=e.children){var i,u,a,c=i.length,f=t(e)*n||0;if(f)for(u=0;u0)throw new Error("cycle");return i}var n=e,s=i;return t.id=function(e){return arguments.length?(n=r.i(u.a)(e),t):n},t.parentId=function(n){return arguments.length?(s=r.i(u.a)(n),t):s},t}},function(t,n,r){"use strict";function e(t,n){return t.parent===n.parent?1:2}function i(t){var n=t.children;return n?n[0]:t.t}function u(t){var n=t.children;return n?n[n.length-1]:t.t}function a(t,n,r){var e=r/(n.i-t.i);n.c-=e,n.s+=r,t.c+=e,n.z+=r,n.m+=r}function o(t){for(var n,r=0,e=0,i=t.children,u=i.length;--u>=0;)n=i[u],n.z+=r,n.m+=r,r+=n.s+(e+=n.c)}function c(t,n,r){return t.a.parent===n.parent?t.a:r}function f(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 s(t){for(var n,r,e,i,u,a=new f(t,0),o=[a];n=o.pop();)if(e=n._.children)for(n.children=new Array(u=e.length),i=u-1;i>=0;--i)o.push(r=n.children[i]=new f(e[i],i)),r.parent=n;return(a.parent=new f(null,0)).children=[a],a}var l=r(66);f.prototype=Object.create(l.b.prototype),n.a=function(){function t(t){var e=s(t);if(e.eachAfter(n),e.parent.m=-e.z,e.eachBefore(r),v)t.eachBefore(l);else{var i=t,u=t,a=t;t.eachBefore(function(t){t.xu.x&&(u=t),t.depth>a.depth&&(a=t)});var o=i===u?1:h(i,u)/2,c=o-i.x,f=d/(u.x+o+c),g=p/(a.depth||1);t.eachBefore(function(t){t.x=(t.x+c)*f,t.y=t.depth*g})}return t}function n(t){var n=t.children,r=t.parent.children,e=t.i?r[t.i-1]:null;if(n){o(t);var i=(n[0].z+n[n.length-1].z)/2;e?(t.z=e.z+h(t._,e._),t.m=t.z-i):t.z=i}else e&&(t.z=e.z+h(t._,e._));t.parent.A=f(t,e,t.parent.A||r[0])}function r(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t,n,r){if(n){for(var e,o=t,f=t,s=n,l=o.parent.children[0],d=o.m,p=f.m,v=s.m,g=l.m;s=u(s),o=i(o),s&&o;)l=i(l),f=u(f),f.a=t,e=s.z+v-o.z-d+h(s._,o._),e>0&&(a(c(s,t,r),t,e),d+=e,p+=e),v+=s.m,d+=o.m,g+=l.m,p+=f.m;s&&!u(f)&&(f.t=s,f.m+=v-p),o&&!i(l)&&(l.t=o,l.m+=d-g,r=t)}return r}function l(t){t.x*=d,t.y=t.depth*p}var h=e,d=1,p=1,v=null;return t.separation=function(n){return arguments.length?(h=n,t):h},t.size=function(n){return arguments.length?(v=!1,d=+n[0],p=+n[1],t):v?null:[d,p]},t.nodeSize=function(n){return arguments.length?(v=!0,d=+n[0],p=+n[1],t):v?[d,p]:null},t}},function(t,n,r){"use strict";n.a=function(t,n,r,e,i){function u(t,n,r,e,i,a,o){if(t>=n-1){var f=c[t];return f.x0=e,f.y0=i,f.x1=a,f.y1=o,void 0}for(var l=s[t],h=r/2+l,d=t+1,p=n-1;d>>1;s[v]o-i){var _=(e*y+a*g)/r;u(t,d,g,e,i,_,o),u(d,n,y,_,i,a,o)}else{var b=(i*y+o*g)/r;u(t,d,g,e,i,a,b),u(d,n,y,e,b,a,o)}}var a,o,c=t.children,f=c.length,s=new Array(f+1);for(s[0]=o=a=0;a1?n:1)},a}(u.c)},function(t,n,r){"use strict";var e=r(25),i=r(37);n.a=function(t,n,r,u,a){(1&t.depth?i.a:e.a)(t,n,r,u,a)}},function(t,n,r){"use strict";function e(t){return function n(e){function a(n,a){var o=t((n=r.i(i.f)(n)).h,(a=r.i(i.f)(a)).h),c=r.i(u.a)(n.s,a.s),f=r.i(u.a)(n.l,a.l),s=r.i(u.a)(n.opacity,a.opacity);return function(t){return n.h=o(t),n.s=c(t),n.l=f(Math.pow(t,e)),n.opacity=s(t),n+""}}return e=+e,a.gamma=n,a}(1)}var i=r(7),u=r(26);r.d(n,"b",function(){return a}),n.a=e(u.b);var a=e(u.a)},function(t,n,r){"use strict";function e(t){return function(n,e){var a=t((n=r.i(i.e)(n)).h,(e=r.i(i.e)(e)).h),o=r.i(u.a)(n.c,e.c),c=r.i(u.a)(n.l,e.l),f=r.i(u.a)(n.opacity,e.opacity);return function(t){return n.h=a(t),n.c=o(t),n.l=c(t),n.opacity=f(t),n+""}}}var i=r(7),u=r(26);r.d(n,"b",function(){return a}),n.a=e(u.b);var a=e(u.a)},function(t,n,r){"use strict";function e(t){return function(n,e){var a=t((n=r.i(i.c)(n)).h,(e=r.i(i.c)(e)).h),o=r.i(u.a)(n.s,e.s),c=r.i(u.a)(n.l,e.l),f=r.i(u.a)(n.opacity,e.opacity);return function(t){return n.h=a(t),n.s=o(t),n.l=c(t),n.opacity=f(t),n+""}}}var i=r(7),u=r(26);r.d(n,"b",function(){return a}),n.a=e(u.b);var a=e(u.a)},function(t,n,r){"use strict";function e(t,n){var e=r.i(u.a)((t=r.i(i.d)(t)).l,(n=r.i(i.d)(n)).l),a=r.i(u.a)(t.a,n.a),o=r.i(u.a)(t.b,n.b),c=r.i(u.a)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=a(n),t.b=o(n),t.opacity=c(n),t+""}}var i=r(7),u=r(26);n.a=e},function(t,n,r){"use strict";n.a=function(t,n){for(var r=new Array(n),e=0;e180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(a(e)+"rotate(",null,u)-2,x:r.i(i.a)(t,n)})):n&&e.push(a(e)+"rotate("+n+u)}function f(t,n,e,o){t!==n?o.push({i:e.push(a(e)+"skewX(",null,u)-2,x:r.i(i.a)(t,n)}):n&&e.push(a(e)+"skewX("+n+u)}function s(t,n,e,u,o,c){if(t!==e||n!==u){var f=o.push(a(o)+"scale(",null,",",null,")");c.push({i:f-4,x:r.i(i.a)(t,e)},{i:f-2,x:r.i(i.a)(n,u)})}else 1===e&&1===u||o.push(a(o)+"scale("+e+","+u+")")}return function(n,r){var e=[],i=[];return n=t(n),r=t(r),o(n.translateX,n.translateY,r.translateX,r.translateY,e,i),c(n.rotate,r.rotate,e,i),f(n.skewX,r.skewX,e,i),s(n.scaleX,n.scaleY,r.scaleX,r.scaleY,e,i),n=r=null,function(t){for(var n,r=-1,u=i.length;++ro)if(Math.abs(h*f-s*l)>o&&i){var p=r-a,v=e-c,g=f*f+s*s,y=p*p+v*v,_=Math.sqrt(g),b=Math.sqrt(d),m=i*Math.tan((u-Math.acos((g+d-y)/(2*_*b)))/2),x=m/b,w=m/_;Math.abs(x-1)>o&&(this._+="L"+(t+x*l)+","+(n+x*h)),this._+="A"+i+","+i+",0,0,"+ +(h*p>l*v)+","+(this._x1=t+w*f)+","+(this._y1=n+w*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,r,e,i,f){t=+t,n=+n,r=+r;var s=r*Math.cos(e),l=r*Math.sin(e),h=t+s,d=n+l,p=1^f,v=f?e-i:i-e;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+h+","+d:(Math.abs(this._x1-h)>o||Math.abs(this._y1-d)>o)&&(this._+="L"+h+","+d),r&&(v<0&&(v=v%a+a),v>c?this._+="A"+r+","+r+",0,1,"+p+","+(t-s)+","+(n-l)+"A"+r+","+r+",0,1,"+p+","+(this._x1=h)+","+(this._y1=d):v>o&&(this._+="A"+r+","+r+",0,"+ +(v>=u)+","+p+","+(this._x1=t+r*Math.cos(i))+","+(this._y1=n+r*Math.sin(i))))},rect:function(t,n,r,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +r+"v"+ +e+"h"+-r+"Z"},toString:function(){return this._}},n.a=i},function(t,n,r){"use strict";var e=r(307);r.d(n,"a",function(){return e.a});var i=r(308);r.d(n,"b",function(){return i.a});var u=r(311);r.d(n,"c",function(){return u.a});var a=r(309);r.d(n,"d",function(){return a.a});var o=r(312);r.d(n,"e",function(){return o.a})},function(t,n,r){"use strict";n.a=function(t){for(var n,r=-1,e=t.length,i=t[e-1],u=0;++ro!=f>o&&a<(c-r)*(o-e)/(f-e)+r&&(s=!s),c=r,f=e;return s}},function(t,n,r){"use strict";n.a=function(t,n,r){return(n[0]-t[0])*(r[1]-t[1])-(n[1]-t[1])*(r[0]-t[0])}},function(t,n,r){"use strict";function e(t,n){return t[0]-n[0]||t[1]-n[1]}function i(t){for(var n=t.length,e=[0,1],i=2,a=2;a1&&r.i(u.a)(t[e[i-2]],t[e[i-1]],t[a])<=0;)--i;e[i++]=a}return e.slice(0,i)}var u=r(310);n.a=function(t){if((r=t.length)<3)return null;var n,r,u=new Array(r),a=new Array(r);for(n=0;n=0;--n)l.push(t[u[o[n]][2]]);for(n=+f;n=(u=(v+y)/2))?v=u:y=u,(s=r>=(a=(g+_)/2))?g=a:_=a,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(o=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===o&&r===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+y)/2))?v=u:y=u,(s=r>=(a=(g+_)/2))?g=a:_=a}while((l=s<<1|f)==(h=(c>=a)<<1|o>=u));return i[h]=d,i[l]=p,t}function i(t){var n,r,i,u,a=t.length,o=new Array(a),c=new Array(a),f=1/0,s=1/0,l=-1/0,h=-1/0;for(r=0;rl&&(l=i),uh&&(h=u));for(lt||t>i||e>n||n>u))return this;var a,o,c=i-r,f=this._root;switch(o=(n<(e+u)/2)<<1|t<(r+i)/2){case 0:do{a=new Array(4),a[o]=f,f=a}while(c*=2,i=r+c,u=e+c,t>i||n>u);break;case 1:do{a=new Array(4),a[o]=f,f=a}while(c*=2,r=i-c,u=e+c,r>t||n>u);break;case 2:do{a=new Array(4),a[o]=f,f=a}while(c*=2,i=r+c,e=u-c,t>i||e>n);break;case 3:do{a=new Array(4),a[o]=f,f=a}while(c*=2,r=i-c,e=u-c,r>t||e>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=r,this._y0=e,this._x1=i,this._y1=u,this}},function(t,n,r){"use strict";n.a=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t}},function(t,n,r){"use strict";n.a=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(t,n,r){"use strict";var e=r(71);n.a=function(t,n,r){var i,u,a,o,c,f,s,l=this._x0,h=this._y0,d=this._x1,p=this._y1,v=[],g=this._root;for(g&&v.push(new e.a(g,l,h,d,p)),null==r?r=1/0:(l=t-r,h=n-r,d=t+r,p=n+r,r*=r);f=v.pop();)if(!(!(g=f.node)||(u=f.x0)>d||(a=f.y0)>p||(o=f.x1)=_)<<1|t>=y)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var b=t-+this._x.call(null,g.data),m=n-+this._y.call(null,g.data),x=b*b+m*m;if(x=(o=(p+g)/2))?p=o:g=o,(s=a>=(c=(v+y)/2))?v=c:y=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(r=n,h=l)}for(;d.data!==t;)if(e=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,e?(i?e.next=i:delete e.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(r?r[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,r){"use strict";n.a=function(){return this._root}},function(t,n,r){"use strict";n.a=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t}},function(t,n,r){"use strict";var e=r(71);n.a=function(t){var n,r,i,u,a,o,c=[],f=this._root;for(f&&c.push(new e.a(f,this._x0,this._y0,this._x1,this._y1));n=c.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,a=n.x1,o=n.y1)&&f.length){var s=(i+a)/2,l=(u+o)/2;(r=f[3])&&c.push(new e.a(r,s,l,a,o)),(r=f[2])&&c.push(new e.a(r,i,l,s,o)),(r=f[1])&&c.push(new e.a(r,s,u,a,l)),(r=f[0])&&c.push(new e.a(r,i,u,s,l))}return this}},function(t,n,r){"use strict";var e=r(71);n.a=function(t){var n,r=[],i=[];for(this._root&&r.push(new e.a(this._root,this._x0,this._y0,this._x1,this._y1));n=r.pop();){var u=n.node;if(u.length){var a,o=n.x0,c=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(c+s)/2;(a=u[0])&&r.push(new e.a(a,o,c,l,h)),(a=u[1])&&r.push(new e.a(a,l,c,f,h)),(a=u[2])&&r.push(new e.a(a,o,h,l,s)),(a=u[3])&&r.push(new e.a(a,l,h,f,s))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,r){"use strict";function e(t){return t[0]}n.a=e,n.b=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,r){"use strict";function e(t){return t[1]}n.a=e,n.b=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,r){"use strict";var e=r(328);r.d(n,"a",function(){return e.a})},function(t,n,r){"use strict";r.d(n,"a",function(){return e});var e=[].slice},function(t,n,r){"use strict";function e(t){this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function i(t){if(!t._start)try{u(t)}catch(n){if(t._tasks[t._ended+t._active-1])o(t,n);else if(!t._data)throw n}}function u(t){for(;t._start=t._waiting&&t._active=0;)if((r=t._tasks[e])&&(t._tasks[e]=null,r.abort))try{r.abort()}catch(n){}t._active=NaN,c(t)}function c(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function f(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new e(t)}var s=r(327);n.a=f;var l={};e.prototype=f.prototype={constructor:e,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=s.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),i(this),this},abort:function(){return null==this._error&&o(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,r){t.apply(null,[n].concat(r))},c(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,c(this),this}}},function(t,n,r){"use strict";var e=r(333);r.d(n,"a",function(){return e.a});var i=r(140);r.d(n,"b",function(){return i.a});var u=r(332);r.d(n,"c",function(){return u.a});var a=r(330);r.d(n,"d",function(){return a.a});var o=r(139);r.d(n,"e",function(){return o.a});var c=r(331);r.d(n,"f",function(){return c.a})},function(t,n,r){"use strict";var e=r(20),i=r(139);n.a=function t(n){function r(t){var r=i.a.source(n)(t);return function(){return r()/t}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(20);n.a=function t(n){function r(t){return function(){return-Math.log(1-n())/t}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(20),i=r(140);n.a=function t(n){function r(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(20);n.a=function t(n){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,1===arguments.length?(r=t,t=0):r-=t,function(){return n()*r+t}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(72);r.d(n,"a",function(){return e.a});var i=r(336);r.d(n,"b",function(){return i.a});var u=r(337);r.d(n,"c",function(){return u.a});var a=r(338);r.d(n,"d",function(){return a.a});var o=r(340);r.d(n,"e",function(){return o.a});var c=r(335);r.d(n,"f",function(){return c.a});var f=r(339);r.d(n,"g",function(){return f.a})},function(t,n,r){"use strict";var e=r(55),i=r(141);n.a=r.i(i.a)("text/csv",e.b)},function(t,n,r){"use strict";var e=r(39);n.a=r.i(e.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,r){"use strict";var e=r(39);n.a=r.i(e.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,r){"use strict";var e=r(39);n.a=r.i(e.a)("text/plain",function(t){return t.responseText})},function(t,n,r){"use strict";var e=r(55),i=r(141);n.a=r.i(i.a)("text/tab-separated-values",e.f)},function(t,n,r){"use strict";var e=r(39);n.a=r.i(e.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,r){"use strict";var e=r(342);r.d(n,"a",function(){return e.a}),r.d(n,"b",function(){return e.b});var i=r(348);r.d(n,"c",function(){return i.a});var u=r(28);r.d(n,"d",function(){return u.a});var a=r(349);r.d(n,"e",function(){return a.a});var o=r(144);r.d(n,"f",function(){return o.a}),r.d(n,"g",function(){return o.b});var c=r(350);r.d(n,"h",function(){return c.a}),r.d(n,"i",function(){return c.b});var f=r(351);r.d(n,"j",function(){return f.a});var s=r(352);r.d(n,"k",function(){return s.a});var l=r(355);r.d(n,"l",function(){return l.a});var h=r(145);r.d(n,"m",function(){return h.a});var d=r(357);r.d(n,"n",function(){return d.a});var p=r(343);r.d(n,"o",function(){return p.a});var v=r(345);r.d(n,"p",function(){return v.a});var g=r(346);r.d(n,"q",function(){return g.a});var y=r(344);r.d(n,"r",function(){return y.a});var _=r(347);r.d(n,"s",function(){return _.a});var b=r(353);r.d(n,"t",function(){return b.a}),r.d(n,"u",function(){return b.b}),r.d(n,"v",function(){return b.c});var m=r(358);r.d(n,"w",function(){return m.a}),r.d(n,"x",function(){return m.b}),r.d(n,"y",function(){return m.c}),r.d(n,"z",function(){return m.d});var x=r(354);r.d(n,"A",function(){return x.a})},function(t,n,r){"use strict";function e(){function t(){var t=c().length,e=s[1]0){for(;la)break;y.push(f)}}else for(;l=1;--c)if(!((f=o*c)a)break;y.push(f)}}else y=r.i(s.z)(l,d,Math.min(d-l,p)).map(g);return n?y.reverse():y},n.tickFormat=function(t,e){if(null==e&&(e=10===h?".0e":","),"function"!=typeof e&&(e=r.i(l.b)(e)),t===1/0)return e;null==t&&(t=10);var i=Math.max(1,h*t/n.ticks().length);return function(t){var n=t/g(Math.round(v(t)));return n*h0?c[n-1]:a[0],n=f?[s[f-1],c]:[s[n-1],s[n]]},t.copy=function(){return e().domain([o,c]).range(l)},r.i(a.b)(t)}var i=r(3),u=r(15),a=r(28);n.a=e},function(t,n,r){"use strict";var e=r(7),i=r(4);r.d(n,"b",function(){return u}),r.d(n,"c",function(){return a});var u=r.i(i.v)(r.i(e.f)(-100,.75,.35),r.i(e.f)(80,1.5,.8)),a=r.i(i.v)(r.i(e.f)(260,.75,.35),r.i(e.f)(80,1.5,.8)),o=r.i(e.f)();n.a=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return o.h=360*t-100,o.s=1.5-1.5*n,o.l=.8-.9*n,o+""}},function(t,n,r){"use strict";function e(t){function n(n){var r=(n-u)/(a-u);return t(o?Math.max(0,Math.min(1,r)):r)}var u=0,a=1,o=!1;return n.domain=function(t){return arguments.length?(u=+t[0],a=+t[1],n):[u,a]},n.clamp=function(t){return arguments.length?(o=!!t,n):o},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return e(t).domain([u,a]).clamp(o)},r.i(i.b)(n)}var i=r(28);n.a=e},function(t,n,r){"use strict";function e(){function t(t){if(t<=t)return a[r.i(i.a)(n,t,0,o)]}var n=[.5],a=[0,1],o=1;return t.domain=function(r){return arguments.length?(n=u.b.call(r),o=Math.min(n.length,a.length-1),t):n.slice()},t.range=function(r){return arguments.length?(a=u.b.call(r),o=Math.min(n.length,a.length-1),t):a.slice()},t.invertExtent=function(t){var r=a.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return e().domain(n).range(a)},t}var i=r(3),u=r(15);n.a=e},function(t,n,r){"use strict";var e=r(3),i=r(58);n.a=function(t,n,u){var a,o=t[0],c=t[t.length-1],f=r.i(e.B)(o,c,null==n?10:n);switch(u=r.i(i.e)(null==u?",f":u),u.type){case"s":var s=Math.max(Math.abs(o),Math.abs(c));return null!=u.precision||isNaN(a=r.i(i.g)(f,s))||(u.precision=a),r.i(i.c)(u,s);case"":case"e":case"g":case"p":case"r":null!=u.precision||isNaN(a=r.i(i.h)(f,Math.max(Math.abs(o),Math.abs(c))))||(u.precision=a-("e"===u.type));break;case"f":case"%":null!=u.precision||isNaN(a=r.i(i.f)(f))||(u.precision=a-2*("%"===u.type))}return r.i(i.b)(u)}},function(t,n,r){"use strict";var e=r(145),i=r(85),u=r(46);n.a=function(){return r.i(e.b)(u._7,u._5,u.P,u.N,u.L,u.J,u.h,u.d,i.d).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,r){"use strict";function e(t){var n=t.length;return function(r){return t[Math.max(0,Math.min(n-1,Math.floor(r*n)))]}}var i=r(27);r.d(n,"b",function(){return u}),r.d(n,"c",function(){return a}),r.d(n,"d",function(){return o}),n.a=e(r.i(i.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=e(r.i(i.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),a=e(r.i(i.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=e(r.i(i.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(){return new i}function i(){this._="@"+(++u).toString(36)}n.a=e;var u=0;i.prototype=e.prototype={constructor:i,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}}},function(t,n,r){"use strict";var e=r(79),i=r(41);n.a=function(t){var n=r.i(e.a)();return n.changedTouches&&(n=n.changedTouches[0]),r.i(i.a)(t,n)}},function(t,n,r){"use strict";var e=r(5);n.a=function(t){return"string"==typeof t?new e.b([[document.querySelector(t)]],[document.documentElement]):new e.b([[t]],e.c)}},function(t,n,r){"use strict";var e=r(5);n.a=function(t){return"string"==typeof t?new e.b([document.querySelectorAll(t)],[document.documentElement]):new e.b([null==t?[]:t],e.c)}},function(t,n,r){"use strict";var e=r(74);n.a=function(t){var n="function"==typeof t?t:r.i(e.a)(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})}},function(t,n,r){"use strict";function e(t){return function(){this.removeAttribute(t)}}function i(t){return function(){this.removeAttributeNS(t.space,t.local)}}function u(t,n){return function(){this.setAttribute(t,n)}}function a(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function o(t,n){return function(){var r=n.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}function c(t,n){return function(){var r=n.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}var f=r(75);n.a=function(t,n){var s=r.i(f.a)(t);if(arguments.length<2){var l=this.node();return s.local?l.getAttributeNS(s.space,s.local):l.getAttribute(s)}return this.each((null==n?s.local?i:e:"function"==typeof n?s.local?c:o:s.local?a:u)(s,n))}},function(t,n,r){"use strict";n.a=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}},function(t,n,r){"use strict";function e(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=e(t.getAttribute("class")||"")}function a(t,n){for(var r=i(t),e=-1,u=n.length;++e=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},n.a=function(t,n){var r=e(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,o=r.length;++a=T&&(T=k+1);!(M=x[T])&&++T=0;)(e=i[u])&&(a&&a!==e.nextSibling&&a.parentNode.insertBefore(e,a),a=e);return this}},function(t,n,r){"use strict";function e(t){return function(){delete this[t]}}function i(t,n){return function(){this[t]=n}}function u(t,n){return function(){var r=n.apply(this,arguments);null==r?delete this[t]:this[t]=r}}n.a=function(t,n){return arguments.length>1?this.each((null==n?e:"function"==typeof n?u:i)(t,n)):this.node()[t]}},function(t,n,r){"use strict";function e(){this.nextSibling&&this.parentNode.appendChild(this)}n.a=function(){return this.each(e)}},function(t,n,r){"use strict";function e(){var t=this.parentNode;t&&t.removeChild(this)}n.a=function(){return this.each(e)}},function(t,n,r){"use strict";var e=r(5),i=r(78);n.a=function(t){"function"!=typeof t&&(t=r.i(i.a)(t));for(var n=this._groups,u=n.length,a=new Array(u),o=0;on?1:t>=n?0:NaN}var i=r(5);n.a=function(t){function n(n,r){return n&&r?t(n.__data__,r.__data__):!n-!r}t||(t=e);for(var r=this._groups,u=r.length,a=new Array(u),o=0;oz*z+P*P&&(N=E,A=S),{cx:N,cy:A,x01:-l,y01:-d,x11:N*(u/M-1),y11:A*(u/M-1)}}var s=r(14),l=r(16),h=r(29);n.a=function(){function t(){var t,e,i=+n.apply(this,arguments),u=+d.apply(this,arguments),a=g.apply(this,arguments)-h.f,o=y.apply(this,arguments)-h.f,l=r.i(h.g)(o-a),m=o>a;if(b||(b=t=r.i(s.a)()),uh.a)if(l>h.c-h.a)b.moveTo(u*r.i(h.h)(a),u*r.i(h.i)(a)),b.arc(0,0,u,a,o,!m),i>h.a&&(b.moveTo(i*r.i(h.h)(o),i*r.i(h.i)(o)),b.arc(0,0,i,o,a,m));else{var x,w,M=a,k=o,T=a,N=o,A=l,E=l,S=_.apply(this,arguments)/2,C=S>h.a&&(v?+v.apply(this,arguments):r.i(h.d)(i*i+u*u)),q=r.i(h.j)(r.i(h.g)(u-i)/2,+p.apply(this,arguments)),z=q,P=q;if(C>h.a){var D=r.i(h.k)(C/i*r.i(h.i)(S)),L=r.i(h.k)(C/u*r.i(h.i)(S));(A-=2*D)>h.a?(D*=m?1:-1,T+=D,N-=D):(A=0,T=N=(a+o)/2),(E-=2*L)>h.a?(L*=m?1:-1,M+=L,k-=L):(E=0,M=k=(a+o)/2)}var R=u*r.i(h.h)(M),U=u*r.i(h.i)(M),j=i*r.i(h.h)(N),O=i*r.i(h.i)(N);if(q>h.a){var I=u*r.i(h.h)(k),F=u*r.i(h.i)(k),Y=i*r.i(h.h)(T),B=i*r.i(h.i)(T);if(lh.a?c(R,U,Y,B,I,F,j,O):[j,O],X=R-H[0],V=U-H[1],G=I-H[0],W=F-H[1],Z=1/r.i(h.i)(r.i(h.l)((X*G+V*W)/(r.i(h.d)(X*X+V*V)*r.i(h.d)(G*G+W*W)))/2),Q=r.i(h.d)(H[0]*H[0]+H[1]*H[1]);z=r.i(h.j)(q,(i-Q)/(Z-1)),P=r.i(h.j)(q,(u-Q)/(Z+1))}}E>h.a?P>h.a?(x=f(Y,B,R,U,u,P,m),w=f(I,F,j,O,u,P,m),b.moveTo(x.cx+x.x01,x.cy+x.y01),Ph.a&&A>h.a?z>h.a?(x=f(j,O,I,F,i,-z,m),w=f(R,U,Y,B,i,-z,m),b.lineTo(x.cx+x.x01,x.cy+x.y01),z0)for(var e,i=t[0],u=n[0],a=t[r]-i,o=n[r]-u,c=-1;++c<=r;)e=c/r,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+e*a),this._beta*n[c]+(1-this._beta)*(u+e*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function t(n){function r(t){return 1===n?new i.b(t):new e(t,n)}return r.beta=function(n){return t(+n)},r}(.85)},function(t,n,r){"use strict";function e(t,n){this._context=t,this._alpha=n}var i=r(153),u=r(45),a=r(81);e.prototype={areaStart:u.a,areaEnd:u.a,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:r.i(a.b)(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}},n.a=function t(n){function r(t){return n?new e(t,n):new i.b(t,0)}return r.alpha=function(n){return t(+n)},r}(.5)},function(t,n,r){"use strict";function e(t,n){this._context=t,this._alpha=n}var i=r(154),u=r(81);e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._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:r.i(u.b)(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}},n.a=function t(n){function r(t){return n?new e(t,n):new i.b(t,0)}return r.alpha=function(n){return t(+n)},r}(.5)},function(t,n,r){"use strict";function e(t){this._context=t}var i=r(45);e.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},n.a=function(t){return new e(t)}},function(t,n,r){"use strict";function e(t){return t<0?-1:1}function i(t,n,r){var i=t._x1-t._x0,u=n-t._x1,a=(t._y1-t._y0)/(i||u<0&&-0),o=(r-t._y1)/(u||i<0&&-0),c=(a*u+o*i)/(i+u);return(e(a)+e(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(c))||0}function u(t,n){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-n)/2:n}function a(t,n,r){var e=t._x0,i=t._y0,u=t._x1,a=t._y1,o=(u-e)/3;t._context.bezierCurveTo(e+o,i+o*n,u-o,a-o*r,u,a)}function o(t){this._context=t}function c(t){this._context=new f(t)}function f(t){this._context=t}function s(t){return new o(t)}function l(t){return new c(t)}n.a=s,n.b=l,o.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:a(this,this._t0,u(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var r=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,a(this,u(this,r=i(this,t,n)),r);break;default:a(this,this._t0,r=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=r}}},(c.prototype=Object.create(o.prototype)).point=function(t,n){o.prototype.point.call(this,n,t)},f.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,r,e,i,u){this._context.bezierCurveTo(n,t,e,r,u,i)}}},function(t,n,r){"use strict";function e(t){this._context=t}function i(t){var n,r,e=t.length-1,i=new Array(e),u=new Array(e),a=new Array(e);for(i[0]=0,u[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/u[n];for(u[e-1]=(t[e]+i[e-1])/2,n=0;n=0&&(this._t=1-this._t,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:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,n)}}this._x=t,this._y=n}},n.a=function(t){return new e(t,.5)}},function(t,n,r){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,r){"use strict";n.a=function(t){return t}},function(t,n,r){"use strict";function e(t){return t.source}function i(t){return t.target}function u(t){function n(){var n,e=d.a.call(arguments),i=u.apply(this,e),s=a.apply(this,e);if(f||(f=n=r.i(h.a)()),t(f,+o.apply(this,(e[0]=i,e)),+c.apply(this,e),+o.apply(this,(e[0]=s,e)),+c.apply(this,e)),n)return f=null,n+""||null}var u=e,a=i,o=v.a,c=v.b,f=null;return n.source=function(t){return arguments.length?(u=t,n):u},n.target=function(t){return arguments.length?(a=t,n):a},n.x=function(t){return arguments.length?(o="function"==typeof t?t:r.i(p.a)(+t),n):o},n.y=function(t){return arguments.length?(c="function"==typeof t?t:r.i(p.a)(+t),n):c},n.context=function(t){return arguments.length?(f=null==t?null:t,n):f},n}function a(t,n,r,e,i){t.moveTo(n,r),t.bezierCurveTo(n=(n+e)/2,r,n,i,e,i)}function o(t,n,r,e,i){t.moveTo(n,r),t.bezierCurveTo(n,r=(r+i)/2,e,r,e,i)}function c(t,n,e,i,u){var a=r.i(g.a)(n,e),o=r.i(g.a)(n,e=(e+u)/2),c=r.i(g.a)(i,e),f=r.i(g.a)(i,u);t.moveTo(a[0],a[1]),t.bezierCurveTo(o[0],o[1],c[0],c[1],f[0],f[1])}function f(){return u(a)}function s(){return u(o)}function l(){var t=u(c);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var h=r(14),d=r(152),p=r(16),v=r(84),g=r(157);n.a=f,n.b=s,n.c=l},function(t,n,r){"use strict";n.a=function(t,n){if((o=t.length)>1)for(var r,e,i,u,a,o,c=0,f=t[n[0]].length;c=0?(e[0]=u,e[1]=u+=i):i<0?(e[1]=a,e[0]=a+=i):e[0]=u}},function(t,n,r){"use strict";var e=r(30);n.a=function(t,n){if((u=t.length)>0){for(var i,u,a,o=0,c=t[0].length;o0){for(var i,u=0,a=t[n[0]],o=a.length;u0&&(u=(i=t[n[0]]).length)>0){for(var i,u,a,o=0,c=1;c0&&(p+=h);for(null!=o?v.sort(function(t,n){return o(g[t],g[n])}):null!=c&&v.sort(function(n,r){return c(t[n],t[r])}),r=0,i=p?(_-d*m)/p:0;r0?h*i:0)+m,g[e]={data:t[e],index:r,value:h,startAngle:y,endAngle:u,padAngle:b};return g}var n=u.a,o=i.a,c=null,f=r.i(e.a)(0),s=r.i(e.a)(a.c),l=r.i(e.a)(0);return t.value=function(i){return arguments.length?(n="function"==typeof i?i:r.i(e.a)(+i),t):n},t.sortValues=function(n){return arguments.length?(o=n,c=null,t):o},t.sort=function(n){return arguments.length?(c=n,o=null,t):c},t.startAngle=function(n){return arguments.length?(f="function"==typeof n?n:r.i(e.a)(+n),t):f},t.endAngle=function(n){return arguments.length?(s="function"==typeof n?n:r.i(e.a)(+n),t):s},t.padAngle=function(n){return arguments.length?(l="function"==typeof n?n:r.i(e.a)(+n),t):l},t}},function(t,n,r){"use strict";function e(t,n){return t[n]}var i=r(152),u=r(16),a=r(30),o=r(31);n.a=function(){function t(t){var r,e,i=n.apply(this,arguments),u=t.length,a=i.length,o=new Array(a);for(r=0;r0?t>1?r.i(e.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,r){n.setTime(+n+r*t)},function(n,r){return(r-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setTime(Math.floor(t/i.d)*i.d)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getMinutes()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});n.a=i;var u=i.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setTime(Math.floor(t/i.e)*i.e)},function(t,n){t.setTime(+t+n*i.e)},function(t,n){return(n-t)/i.e},function(t){return t.getUTCSeconds()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCDate()-1});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCHours()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getUTCMinutes()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});n.a=i;var u=i.range},function(t,n,r){"use strict";function e(t){return r.i(i.a)(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)/u.a})}var i=r(2),u=r(9);r.d(n,"a",function(){return a}),r.d(n,"c",function(){return o}),r.d(n,"e",function(){return c}),r.d(n,"g",function(){return f}),r.d(n,"i",function(){return s}),r.d(n,"k",function(){return l}),r.d(n,"m",function(){return h}),r.d(n,"b",function(){return d}),r.d(n,"d",function(){return p}),r.d(n,"f",function(){return v}),r.d(n,"h",function(){return g}),r.d(n,"j",function(){return y}),r.d(n,"l",function(){return _}),r.d(n,"n",function(){return b});var a=e(0),o=e(1),c=e(2),f=e(3),s=e(4),l=e(5),h=e(6),d=a.range,p=o.range,v=c.range,g=f.range,y=s.range,_=l.range,b=h.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?r.i(e.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCFullYear(n.getUTCFullYear()+r*t)}):null},n.a=i;var u=i.range},function(t,n,r){"use strict";function e(t){return r.i(i.a)(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())*u.d)/u.a})}var i=r(2),u=r(9);r.d(n,"a",function(){return a}),r.d(n,"c",function(){return o}),r.d(n,"e",function(){return c}),r.d(n,"g",function(){return f}),r.d(n,"i",function(){return s}),r.d(n,"k",function(){return l}),r.d(n,"m",function(){return h}),r.d(n,"b",function(){return d}),r.d(n,"d",function(){return p}),r.d(n,"f",function(){return v}),r.d(n,"h",function(){return g}),r.d(n,"j",function(){return y}),r.d(n,"l",function(){return _}),r.d(n,"n",function(){return b});var a=e(0),o=e(1),c=e(2),f=e(3),s=e(4),l=e(5),h=e(6),d=a.range,p=o.range,v=c.range,g=f.range,y=s.range,_=l.range,b=h.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?r.i(e.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,r){n.setFullYear(n.getFullYear()+r*t)}):null},n.a=i;var u=i.range},function(t,n,r){"use strict";var e=r(87);n.a=function(t,n,i){var u=new e.d,a=n;return null==n?(u.restart(t,n,i),u):(n=+n,i=null==i?r.i(e.a)():+i,u.restart(function r(e){e+=a,u.restart(r,a+=n,i),t(e)},n,i),u)}},function(t,n,r){"use strict";var e=r(87);n.a=function(t,n,r){var i=new e.d;return n=null==n?0:+n,i.restart(function(r){i.stop(),t(r+n)},n,r),i}},function(t,n,r){"use strict";var e=r(11),i=r(6),u=[null];n.a=function(t,n){var r,a,o=t.__transition;if(o){n=null==n?null:n+"";for(a in o)if((r=o[a]).state>i.d&&r.name===n)return new e.b([[t]],u,n,+a)}return null}},function(t,n,r){"use strict";var e=r(1),i=r(436),u=r(437);e.j.prototype.interrupt=i.a,e.j.prototype.transition=u.a},function(t,n,r){"use strict";var e=r(167);n.a=function(t){return this.each(function(){r.i(e.a)(this,t)})}},function(t,n,r){"use strict";function e(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return c.time=r.i(o.a)(),c;return e}var i=r(11),u=r(6),a=r(107),o=r(47),c={time:null,delay:0,duration:250,ease:a.i};n.a=function(t){var n,a;t instanceof i.b?(n=t._id,t=t._name):(n=r.i(i.c)(),(a=c).time=r.i(o.a)(),t=null==t?null:t+"");for(var f=this._groups,s=f.length,l=0;l=0&&(t=t.slice(0,n)),!t||"start"===t})}function i(t,n,r){var i,a,o=e(n)?u.g:u.e;return function(){var e=o(this,t),u=e.on;u!==i&&(a=(i=u).copy()).on(n,r),e.on=a}}var u=r(6);n.a=function(t,n){var e=this._id;return arguments.length<2?r.i(u.f)(this.node(),e).on.on(t):this.each(i(e,t,n))}},function(t,n,r){"use strict";function e(t){return function(){var n=this.parentNode;for(var r in this.__transition)if(+r!==t)return;n&&n.removeChild(this)}}n.a=function(){return this.on("end.remove",e(this._id))}},function(t,n,r){"use strict";var e=r(1),i=r(11),u=r(6);n.a=function(t){var n=this._name,a=this._id;"function"!=typeof t&&(t=r.i(e.k)(t));for(var o=this._groups,c=o.length,f=new Array(c),s=0;sp.b)v=v.L;else{if(!((a=o-f(v,s))>p.b)){u>-p.b?(n=v.P,e=v):a>-p.b?(n=v,e=v.N):n=e=v;break}if(!v.R){n=v;break}v=v.R}r.i(l.d)(t);var g=i(t);if(p.e.insert(n,g),n||e){if(n===e)return r.i(h.b)(n),e=i(n.site),p.e.insert(g,e),g.edge=e.edge=r.i(d.d)(n.site,g.site),r.i(h.c)(n),void r.i(h.c)(e);if(!e)return void(g.edge=r.i(d.d)(n.site,g.site));r.i(h.b)(n),r.i(h.b)(e);var y=n.site,_=y[0],b=y[1],m=t[0]-_,x=t[1]-b,w=e.site,M=w[0]-_,k=w[1]-b,T=2*(m*k-x*M),N=m*m+x*x,A=M*M+k*k,E=[(k*N-x*A)/T+_,(m*A-M*N)/T+b];r.i(d.c)(e.edge,y,w,E),g.edge=r.i(d.d)(y,t,null,E),e.edge=r.i(d.d)(t,w,null,E),r.i(h.c)(n),r.i(h.c)(e)}}function c(t,n){var r=t.site,e=r[0],i=r[1],u=i-n;if(!u)return e;var a=t.P;if(!a)return-1/0;r=a.site;var o=r[0],c=r[1],f=c-n;if(!f)return o;var s=o-e,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+i-u/2)))/l+e:(e+o)/2}function f(t,n){var r=t.N;if(r)return c(r,n);var e=t.site;return e[1]===n?e[0]:1/0}var s=r(90),l=r(169),h=r(170),d=r(89),p=r(32);n.b=a,n.a=o;var v=[]},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t){return t[0]}function i(t){return t[1]}n.a=e,n.b=i},function(t,n,r){"use strict";var e=r(456),i=r(457),u=r(32);n.a=function(){function t(t){return new u.a(t.map(function(r,e){var i=[Math.round(n(r,e,t)/u.b)*u.b,Math.round(a(r,e,t)/u.b)*u.b];return i.index=e,i.data=r,i}),o)}var n=i.a,a=i.b,o=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(i){return arguments.length?(n="function"==typeof i?i:r.i(e.a)(+i),t):n},t.y=function(n){return arguments.length?(a="function"==typeof n?n:r.i(e.a)(+n),t):a},t.extent=function(n){return arguments.length?(o=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):o&&[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},t.size=function(n){return arguments.length?(o=null==n?null:[[0,0],[+n[0],+n[1]]],t):o&&[o[1][0]-o[0][0],o[1][1]-o[0][1]]},t}},function(t,n,r){"use strict";var e=r(463);r.d(n,"a",function(){return e.a});var i=r(171);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b})},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t,n,r){this.target=t,this.type=n,this.transform=r}n.a=e},function(t,n,r){"use strict";function e(){i.q.stopImmediatePropagation()}var i=r(1);n.b=e,n.a=function(){i.q.preventDefault(),i.q.stopImmediatePropagation()}},function(t,n,r){"use strict";function e(){return!h.q.button}function i(){var t,n,r=this;return r instanceof SVGElement?(r=r.ownerSVGElement||r,t=r.width.baseVal.value,n=r.height.baseVal.value):(t=r.clientWidth,n=r.clientHeight),[[0,0],[t,n]]}function u(){return this.__zoom||g.b}function a(){return-h.q.deltaY*(h.q.deltaMode?120:1)/500}function o(){return"ontouchstart"in this}function c(t,n,r){var e=t.invertX(n[0][0])-r[0][0],i=t.invertX(n[1][0])-r[1][0],u=t.invertY(n[0][1])-r[0][1],a=t.invertY(n[1][1])-r[1][1];return t.translate(i>e?(e+i)/2:Math.min(0,e)||Math.max(0,i),a>u?(u+a)/2:Math.min(0,u)||Math.max(0,a))}var f=r(12),s=r(54),l=r(4),h=r(1),d=r(88),p=r(460),v=r(461),g=r(171),y=r(462);n.a=function(){function t(t){t.property("__zoom",u).on("wheel.zoom",M).on("mousedown.zoom",k).on("dblclick.zoom",T).filter(L).on("touchstart.zoom",N).on("touchmove.zoom",A).on("touchend.zoom touchcancel.zoom",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function n(t,n){return n=Math.max(R[0],Math.min(R[1],n)),n===t.k?t:new g.c(n,t.x,t.y)}function _(t,n,r){var e=n[0]-r[0]*t.k,i=n[1]-r[1]*t.k;return e===t.x&&i===t.y?t:new g.c(t.k,e,i)}function b(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function m(t,n,r){t.on("start.zoom",function(){x(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){x(this,arguments).end()}).tween("zoom",function(){var t=this,e=arguments,i=x(t,e),u=z.apply(t,e),a=r||b(u),o=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),c=t.__zoom,f="function"==typeof n?n.apply(t,e):n,s=O(c.invert(a).concat(o/c.k),f.invert(a).concat(o/f.k));return function(t){if(1===t)t=f;else{var n=s(t),r=o/n[2];t=new g.c(r,a[0]-n[0]*r,a[1]-n[1]*r)}i.zoom(null,t)}})}function x(t,n){for(var r,e=0,i=I.length;eH}e.zoom("mouse",P(_(e.that.__zoom,e.mouse[0]=r.i(h.d)(e.that),e.mouse[1]),e.extent,U))}function n(){i.on("mousemove.zoom mouseup.zoom",null),r.i(s.c)(h.q.view,e.moved),r.i(y.a)(),e.end()}if(!C&&q.apply(this,arguments)){var e=x(this,arguments),i=r.i(h.h)(h.q.view).on("mousemove.zoom",t,!0).on("mouseup.zoom",n,!0),u=r.i(h.d)(this),a=h.q.clientX,o=h.q.clientY;r.i(s.b)(h.q.view),r.i(y.b)(),e.mouse=[u,this.__zoom.invert(u)],r.i(d.c)(this),e.start()}}function T(){if(q.apply(this,arguments)){var e=this.__zoom,i=r.i(h.d)(this),u=e.invert(i),a=e.k*(h.q.shiftKey?.5:2),o=P(_(n(e,a),i,u),z.apply(this,arguments),U);r.i(y.a)(),j>0?r.i(h.h)(this).transition().duration(j).call(m,o,i):r.i(h.h)(this).call(t.transform,o)}}function N(){if(q.apply(this,arguments)){var t,n,e,i,u=x(this,arguments),a=h.q.changedTouches,o=a.length;for(r.i(y.b)(),n=0;n0&&(l=e("port",s.attr("href"))),l||(l="53333");var h=new WebSocket("ws://localhost:"+l);h.onopen=function(t){},h.onclose=function(t){f.forEach(function(t){return t.stop()})},h.onmessage=function(e){var i=JSON.parse(e.data);switch(i.type){case"configure":t(i);break;case"data":r(i);break;case"status":n(i);break;default:console.log("Got unrecognized message type: "+i.type)}}}Object.defineProperty(n,"__esModule",{value:!0});var u=r(172),a=r(173),o=r(174),c=r(49);i()}]); +!function(t){function n(e){if(r[e])return r[e].exports;var i=r[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var r={};n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=466)}([function(t,n,r){"use strict";function e(t){return t>1?0:t<-1?c:Math.acos(t)}function i(t){return t>1?f:t<-1?-f:Math.asin(t)}function u(t){return(t=w(t/2))*t}r.d(n,"o",function(){return a}),r.d(n,"w",function(){return o}),r.d(n,"a",function(){return c}),r.d(n,"k",function(){return f}),r.d(n,"v",function(){return s}),r.d(n,"b",function(){return l}),r.d(n,"h",function(){return h}),r.d(n,"g",function(){return d}),r.d(n,"p",function(){return p}),r.d(n,"l",function(){return v}),r.d(n,"e",function(){return g}),r.d(n,"c",function(){return y}),r.d(n,"u",function(){return _}),r.d(n,"m",function(){return b}),r.d(n,"i",function(){return m}),r.d(n,"r",function(){return x}),r.d(n,"d",function(){return w}),r.d(n,"q",function(){return M}),r.d(n,"n",function(){return k}),r.d(n,"j",function(){return T}),n.s=e,n.f=i,n.t=u;var a=1e-6,o=1e-12,c=Math.PI,f=c/2,s=c/4,l=2*c,h=180/c,d=c/180,p=Math.abs,v=Math.atan,g=Math.atan2,y=Math.cos,_=Math.ceil,b=Math.exp,m=(Math.floor,Math.log),x=Math.pow,w=Math.sin,M=Math.sign||function(t){return t>0?1:t<0?-1:0},k=Math.sqrt,T=Math.tan},function(t,n,r){"use strict";var e=r(74);r.d(n,"a",function(){return e.a});var i=r(361);r.d(n,"b",function(){return i.a});var u=r(146);r.d(n,"c",function(){return u.a});var a=r(362);r.d(n,"d",function(){return a.a});var o=r(75);r.d(n,"e",function(){return o.a});var c=r(76);r.d(n,"f",function(){return c.a});var f=r(42);r.d(n,"g",function(){return f.a});var s=r(363);r.d(n,"h",function(){return s.a});var l=r(364);r.d(n,"i",function(){return l.a});var h=r(5);r.d(n,"j",function(){return h.a});var d=r(78);r.d(n,"k",function(){return d.a});var p=r(150);r.d(n,"l",function(){return p.a});var v=r(149);r.d(n,"m",function(){return v.a});var g=r(391);r.d(n,"n",function(){return g.a});var y=r(392);r.d(n,"o",function(){return y.a});var _=r(80);r.d(n,"p",function(){return _.a});var b=r(77);r.d(n,"q",function(){return b.a}),r.d(n,"r",function(){return b.b})},function(t,n,r){"use strict";function e(t,n,r,a){function o(n){return t(n=new Date(+n)),n}return o.floor=o,o.ceil=function(r){return t(r=new Date(r-1)),n(r,1),t(r),r},o.round=function(t){var n=o(t),r=o.ceil(t);return t-n0))return a;do{a.push(u=new Date(+r)),n(r,i),t(r)}while(u=n)for(;t(n),!r(n);)n.setTime(n-1)},function(t,e){if(t>=t)if(e<0)for(;++e<=0;)for(;n(t,-1),!r(t););else for(;--e>=0;)for(;n(t,1),!r(t););})},r&&(o.count=function(n,e){return i.setTime(+n),u.setTime(+e),t(i),t(u),Math.floor(r(i,u))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(a?function(n){return a(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}n.a=e;var i=new Date,u=new Date},function(t,n,r){"use strict";var e=r(92);r.d(n,"a",function(){return e.a}),r.d(n,"b",function(){return e.b}),r.d(n,"c",function(){return e.c});var i=r(17);r.d(n,"d",function(){return i.a});var u=r(93);r.d(n,"e",function(){return u.a});var a=r(177);r.d(n,"f",function(){return a.a});var o=r(178);r.d(n,"g",function(){return o.a});var c=r(94);r.d(n,"h",function(){return c.a});var f=r(95);r.d(n,"i",function(){return f.a});var s=r(179);r.d(n,"j",function(){return s.a});var l=r(189);r.d(n,"k",function(){return l.a});var h=r(190);r.d(n,"l",function(){return h.a});var d=r(99);r.d(n,"m",function(){return d.a});var p=r(181);r.d(n,"n",function(){return p.a});var v=r(182);r.d(n,"o",function(){return v.a});var g=r(183);r.d(n,"p",function(){return g.a});var y=r(184);r.d(n,"q",function(){return y.a});var _=r(96);r.d(n,"r",function(){return _.a});var b=r(97);r.d(n,"s",function(){return b.a});var m=r(185);r.d(n,"t",function(){return m.a});var x=r(50);r.d(n,"u",function(){return x.a});var w=r(98);r.d(n,"v",function(){return w.a});var M=r(186);r.d(n,"w",function(){return M.a});var k=r(187);r.d(n,"x",function(){return k.a});var T=r(188);r.d(n,"y",function(){return T.a});var A=r(100);r.d(n,"z",function(){return A.a}),r.d(n,"A",function(){return A.b}),r.d(n,"B",function(){return A.c});var S=r(101);r.d(n,"C",function(){return S.a});var E=r(102);r.d(n,"D",function(){return E.a});var N=r(191);r.d(n,"E",function(){return N.a})},function(t,n,r){"use strict";var e=r(69);r.d(n,"a",function(){return e.a});var i=r(132);r.d(n,"b",function(){return i.a});var u=r(68);r.d(n,"c",function(){return u.a});var a=r(133);r.d(n,"d",function(){return a.a});var o=r(135);r.d(n,"e",function(){return o.a});var c=r(39);r.d(n,"f",function(){return c.a});var f=r(136);r.d(n,"g",function(){return f.a});var s=r(301);r.d(n,"h",function(){return s.a});var l=r(138);r.d(n,"i",function(){return l.a});var h=r(303);r.d(n,"j",function(){return h.a}),r.d(n,"k",function(){return h.b});var d=r(305);r.d(n,"l",function(){return d.a});var p=r(137);r.d(n,"m",function(){return p.a}),r.d(n,"n",function(){return p.b}),r.d(n,"o",function(){return p.c});var v=r(298);r.d(n,"p",function(){return v.a}),r.d(n,"q",function(){return v.b});var g=r(299);r.d(n,"r",function(){return g.a});var y=r(297);r.d(n,"s",function(){return y.a}),r.d(n,"t",function(){return y.b});var _=r(296);r.d(n,"u",function(){return _.a}),r.d(n,"v",function(){return _.b});var b=r(300);r.d(n,"w",function(){return b.a})},function(t,n,r){"use strict";function e(t,n){this._groups=t,this._parents=n}function i(){return new e([[document.documentElement]],D)}var u=r(386),a=r(387),o=r(375),c=r(369),f=r(147),s=r(374),l=r(379),h=r(382),d=r(389),p=r(367),v=r(381),g=r(380),y=r(388),_=r(373),b=r(372),m=r(366),x=r(149),w=r(383),M=r(368),k=r(390),T=r(376),A=r(384),S=r(378),E=r(365),N=r(377),C=r(385),q=r(370),z=r(77),P=r(371);r.d(n,"c",function(){return D}),n.b=e;var D=[null];e.prototype=i.prototype={constructor:e,select:u.a,selectAll:a.a,filter:o.a,data:c.a,enter:f.a,exit:s.a,merge:l.a,order:h.a,sort:d.a,call:p.a,nodes:v.a,node:g.a,size:y.a,empty:_.a,each:b.a,attr:m.a,style:x.b,property:w.a,classed:M.a,text:k.a,html:T.a,raise:A.a,lower:S.a,append:E.a,insert:N.a,remove:C.a,datum:q.a,on:z.c,dispatch:P.a},n.a=i},function(t,n,r){"use strict";function e(t,n){var r=u(t,n);if(r.state>l)throw new Error("too late; already scheduled");return r}function i(t,n){var r=u(t,n);if(r.state>d)throw new Error("too late; already started");return r}function u(t,n){var r=t.__transition;if(!r||!(r=r[n]))throw new Error("transition not found");return r}function a(t,n,e){function i(t){e.state=h,e.timer.restart(u,e.delay,e.time),e.delay<=t&&u(t-e.delay)}function u(i){var l,g,_,b;if(e.state!==h)return o();for(l in s)if(b=s[l],b.name===e.name){if(b.state===p)return r.i(c.d)(u);b.state===v?(b.state=y,b.timer.stop(),b.on.call("interrupt",t,t.__data__,b.index,b.group),delete s[l]):+l2?t[2]%360*l.g:0,d()):[P*l.h,D*l.h,R*l.h]},n.precision=function(t){return arguments.length?(I=r.i(v.a)(u,F=t*t),y()):r.i(l.n)(F)},n.fitExtent=function(t,e){return r.i(p.a)(n,t,e)},n.fitSize=function(t,e){return r.i(p.b)(n,t,e)},n.fitWidth=function(t,e){return r.i(p.c)(n,t,e)},n.fitHeight=function(t,e){return r.i(p.d)(n,t,e)},function(){return _=t.apply(this,arguments),n.invert=_.invert&&i,d()}}var a=r(115),o=r(117),c=r(35),f=r(120),s=r(60),l=r(0),h=r(36),d=r(37),p=r(63),v=r(271);n.a=i,n.b=u;var g=r.i(d.b)({point:function(t,n){this.stream.point(t*l.g,n*l.g)}})},function(t,n,r){"use strict";r.d(n,"e",function(){return e}),r.d(n,"d",function(){return i}),r.d(n,"c",function(){return u}),r.d(n,"b",function(){return a}),r.d(n,"a",function(){return o});var e=1e3,i=6e4,u=36e5,a=864e5,o=6048e5},function(t,n,r){"use strict";function e(){}n.a=e},function(t,n,r){"use strict";function e(t,n,r,e){this._groups=t,this._parents=n,this._name=r,this._id=e}function i(t){return r.i(a.j)().transition(t)}function u(){return++k}var a=r(1),o=r(439),c=r(440),f=r(441),s=r(442),l=r(443),h=r(444),d=r(445),p=r(446),v=r(447),g=r(448),y=r(449),_=r(450),b=r(451),m=r(452),x=r(453),w=r(454),M=r(49);n.b=e,n.a=i,n.c=u;var k=0,T=a.j.prototype;e.prototype=i.prototype={constructor:e,select:g.a,selectAll:y.a,filter:h.a,merge:d.a,selection:_.a,transition:w.a,call:T.call,nodes:T.nodes,node:T.node,size:T.size,empty:T.empty,each:T.each,on:p.a,attr:o.a,attrTween:c.a,style:b.a,styleTween:m.a,text:x.a,remove:v.a,tween:M.a,delay:f.a,duration:s.a,ease:l.a}},function(t,n,r){"use strict";var e=r(213);r.d(n,"a",function(){return e.a})},function(t,n,r){"use strict";function e(t,n){t&&o.hasOwnProperty(t.type)&&o[t.type](t,n)}function i(t,n,r){var e,i=-1,u=t.length-r;for(n.lineStart();++in?1:t>=n?0:NaN}},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(){this.reset()}function i(t,n,r){var e=t.s=n+r,i=e-n,u=e-i;t.t=n-u+(r-i)}n.a=function(){return new e},e.prototype={constructor:e,reset:function(){this.s=this.t=0},add:function(t){i(u,t,this.t),i(this,u.s,this.s),this.s?this.t+=u.t:this.s=u.t},valueOf:function(){return this.s}};var u=new e},function(t,n,r){"use strict";n.a=function(){return Math.random()}},function(t,n,r){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,r){"use strict";var e=r(208);r.d(n,"a",function(){return e.a});var i=r(209);r.d(n,"b",function(){return i.a});var u=r(51);r.d(n,"c",function(){return u.a});var a=r(207);r.d(n,"d",function(){return a.a});var o=r(210);r.d(n,"e",function(){return o.a});var c=r(206);r.d(n,"f",function(){return c.a})},function(t,n,r){"use strict";function e(t){return[r.i(s.e)(t[1],t[0]),r.i(s.f)(t[2])]}function i(t){var n=t[0],e=t[1],i=r.i(s.c)(e);return[i*r.i(s.c)(n),i*r.i(s.d)(n),r.i(s.d)(e)]}function u(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function a(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function o(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function c(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function f(t){var n=r.i(s.n)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var s=r(0);n.g=e,n.a=i,n.d=u,n.b=a,n.f=o,n.e=c,n.c=f},function(t,n,r){"use strict";function e(t){return function(n,e){var i=r.i(u.c)(n),a=r.i(u.c)(e),o=t(i*a);return[o*a*r.i(u.d)(n),o*r.i(u.d)(e)]}}function i(t){return function(n,e){var i=r.i(u.n)(n*n+e*e),a=t(i),o=r.i(u.d)(a),c=r.i(u.c)(a);return[r.i(u.e)(n*o,i*c),r.i(u.f)(i&&e*o/i)]}}var u=r(0);n.b=e,n.a=i},function(t,n,r){"use strict";n.a=function(t,n,r,e,i){for(var u,a=t.children,o=-1,c=a.length,f=t.value&&(e-n)/t.value;++o180||i<-180?i-360*Math.round(i/360):i):r.i(c.a)(isNaN(t)?n:t)}function a(t){return 1==(t=+t)?o:function(n,e){return e-n?i(n,e,t):r.i(c.a)(isNaN(n)?e:n)}}function o(t,n){var i=n-t;return i?e(t,i):r.i(c.a)(isNaN(t)?n:t)}var c=r(134);n.b=u,n.c=a,n.a=o},function(t,n,r){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,r){"use strict";function e(t){var n=t.domain;return t.ticks=function(t){var e=n();return r.i(u.z)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return r.i(c.a)(n(),t,e)},t.nice=function(e){null==e&&(e=10);var i,a=n(),o=0,c=a.length-1,f=a[o],s=a[c];return s0?(f=Math.floor(f/i)*i,s=Math.ceil(s/i)*i,i=r.i(u.A)(f,s,e)):i<0&&(f=Math.ceil(f*i)/i,s=Math.floor(s*i)/i,i=r.i(u.A)(f,s,e)),i>0?(a[o]=Math.floor(f/i)*i,a[c]=Math.ceil(s/i)*i,n(a)):i<0&&(a[o]=Math.ceil(f*i)/i,a[c]=Math.floor(s*i)/i,n(a)),t},t}function i(){var t=r.i(o.a)(o.b,a.f);return t.copy=function(){return r.i(o.c)(t,i())},e(t)}var u=r(3),a=r(4),o=r(41),c=r(357);n.b=e,n.a=i},function(t,n,r){"use strict";function e(t){return t>1?0:t<-1?d:Math.acos(t)}function i(t){return t>=1?p:t<=-1?-p:Math.asin(t)}r.d(n,"g",function(){return u}),r.d(n,"m",function(){return a}),r.d(n,"h",function(){return o}),r.d(n,"e",function(){return c}),r.d(n,"j",function(){return f}),r.d(n,"i",function(){return s}),r.d(n,"d",function(){return l}),r.d(n,"a",function(){return h}),r.d(n,"b",function(){return d}),r.d(n,"f",function(){return p}),r.d(n,"c",function(){return v}),n.l=e,n.k=i;var u=Math.abs,a=Math.atan2,o=Math.cos,c=Math.max,f=Math.min,s=Math.sin,l=Math.sqrt,h=1e-12,d=Math.PI,p=d/2,v=2*d},function(t,n,r){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var r,e,i,u=1,a=t[n[0]],o=a.length;u=0;)r[n]=n;return r}},function(t,n,r){"use strict";function e(t,n,r){return(t[0]-r[0])*(n[1]-t[1])-(t[0]-n[0])*(r[1]-t[1])}function i(t,n){return n[1]-t[1]||n[0]-t[0]}function u(t,n){var e,u,v,g=t.sort(i).pop();for(p=[],h=new Array(t.length),l=new s.a,d=new s.a;;)if(v=c.a,g&&(!v||g[1]=o)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=u.cells[e=a],a=null,i.halfedges.forEach(function(r){var e=u.edges[r],o=e.left;if(o!==i.site&&o||(o=e.right)){var c=t-o[0],f=n-o[1],l=c*c+f*f;l0)do{a.point(0===o||3===o?t:e,o>1?l:n)}while((o=(o+u+4)%4)!==c);else a.point(i[0],i[1])}function p(u,a){return r.i(i.p)(u[0]-t)0?0:3:r.i(i.p)(u[0]-e)0?2:1:r.i(i.p)(u[1]-n)0?1:0:a>0?3:2}function v(t,n){return g(t.x,n.x)}function g(t,n){var r=p(t,1),e=p(n,1);return r!==e?r-e:0===r?n[1]-t[1]:1===r?t[0]-n[0]:2===r?t[1]-n[1]:n[0]-t[0]}return function(i){function p(t,n){h(t,n)&&P.point(t,n)}function g(){for(var n=0,r=0,e=M.length;rl&&(s-i)*(l-u)>(h-u)*(t-i)&&++n:h<=l&&(s-i)*(l-u)<(h-u)*(t-i)&&--n;return n}function y(){P=D,w=[],M=[],z=!0}function _(){var t=g(),n=z&&t,e=(w=r.i(c.q)(w)).length;(n||e)&&(i.polygonStart(),n&&(i.lineStart(),d(null,null,1,i),i.lineEnd()),e&&r.i(o.a)(w,v,t,d,i),i.polygonEnd()),P=i,w=M=k=null}function b(){R.point=x,M&&M.push(k=[]),q=!0,C=!1,E=N=NaN}function m(){w&&(x(T,A),S&&C&&D.rejoin(),w.push(D.result())),R.point=p,C&&P.lineEnd()}function x(i,u){var o=h(i,u);if(M&&k.push([i,u]),q)T=i,A=u,S=o,q=!1,o&&(P.lineStart(),P.point(i,u));else if(o&&C)P.point(i,u);else{var c=[E=Math.max(s,Math.min(f,E)),N=Math.max(s,Math.min(f,N))],d=[i=Math.max(s,Math.min(f,i)),u=Math.max(s,Math.min(f,u))];r.i(a.a)(c,d,t,n,e,l)?(C||(P.lineStart(),P.point(c[0],c[1])),P.point(d[0],d[1]),o||P.lineEnd(),z=!1):o&&(P.lineStart(),P.point(i,u),z=!1)}E=i,N=u,C=o}var w,M,k,T,A,S,E,N,C,q,z,P=i,D=r.i(u.a)(),R={point:p,lineStart:b,lineEnd:m,polygonStart:y,polygonEnd:_};return R}}var i=r(0),u=r(116),a=r(250),o=r(119),c=r(3);n.a=e;var f=1e9,s=-f},function(t,n,r){"use strict";function e(t,n){return[t>f.a?t-f.b:t<-f.a?t+f.b:t,n]}function i(t,n,i){return(t%=f.b)?n||i?r.i(c.a)(a(t),o(n,i)):a(t):n||i?o(n,i):e}function u(t){return function(n,r){return n+=t,[n>f.a?n-f.b:n<-f.a?n+f.b:n,r]}}function a(t){var n=u(t);return n.invert=u(-t),n}function o(t,n){function e(t,n){var e=r.i(f.c)(n),c=r.i(f.c)(t)*e,s=r.i(f.d)(t)*e,l=r.i(f.d)(n),h=l*i+c*u;return[r.i(f.e)(s*a-h*o,c*i-l*u),r.i(f.f)(h*a+s*o)]}var i=r.i(f.c)(t),u=r.i(f.d)(t),a=r.i(f.c)(n),o=r.i(f.d)(n);return e.invert=function(t,n){var e=r.i(f.c)(n),c=r.i(f.c)(t)*e,s=r.i(f.d)(t)*e,l=r.i(f.d)(n),h=l*a-s*o;return[r.i(f.e)(s*a+l*o,c*i+h*u),r.i(f.f)(h*i-c*u)]},e}var c=r(120),f=r(0);n.b=i,e.invert=e,n.a=function(t){function n(n){return n=t(n[0]*f.g,n[1]*f.g),n[0]*=f.h,n[1]*=f.h,n}return t=i(t[0]*f.g,t[1]*f.g,t.length>2?t[2]*f.g:0),n.invert=function(n){return n=t.invert(n[0]*f.g,n[1]*f.g),n[0]*=f.h,n[1]*=f.h,n},n}},function(t,n,r){"use strict";function e(t){return function(n){var r=new i;for(var e in t)r[e]=t[e];return r.stream=n,r}}function i(){}n.b=e,n.a=function(t){return{stream:e(t)}},i.prototype={constructor:i,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,r){"use strict";n.a=function(t,n,r,e,i){for(var u,a=t.children,o=-1,c=a.length,f=t.value&&(i-r)/t.value;++o=r?1:e(t)}}}function u(t){return function(n,r){var e=t(n=+n,r=+r);return function(t){return t<=0?n:t>=1?r:e(t)}}}function a(t,n,r,e){var i=t[0],u=t[1],a=n[0],o=n[1];return u2?o:a,s=d=null,c}function c(n){return(s||(s=f(g,y,b?i(t):t,_)))(+n)}var f,s,d,g=v,y=v,_=l.a,b=!1;return c.invert=function(t){return(d||(d=f(y,g,e,b?u(n):n)))(+t)},c.domain=function(t){return arguments.length?(g=h.a.call(t,p.a),r()):g.slice()},c.range=function(t){return arguments.length?(y=h.b.call(t),r()):y.slice()},c.rangeRound=function(t){return y=h.b.call(t),_=l.h,r()},c.clamp=function(t){return arguments.length?(b=!!t,r()):b},c.interpolate=function(t){return arguments.length?(_=t,r()):_},r()}var s=r(3),l=r(4),h=r(15),d=r(73),p=r(143);n.b=e,n.c=c,n.a=f;var v=[0,1]},function(t,n,r){"use strict";n.a=function(t,n){var r=t.ownerSVGElement||t;if(r.createSVGPoint){var e=r.createSVGPoint();return e.x=n.clientX,e.y=n.clientY,e=e.matrixTransform(t.getScreenCTM().inverse()),[e.x,e.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}},function(t,n,r){"use strict";function e(t,n,r){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+r)/6)}function i(t){this._context=t}n.c=e,n.b=i,i.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:e(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:e(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,r){"use strict";function e(t,n,r){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-r),t._x2,t._y2)}function i(t,n){this._context=t,this._k=(1-n)/6}n.c=e,n.b=i,i.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:e(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:e(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}},n.a=function t(n){function r(t){return new i(t,n)}return r.tension=function(n){return t(+n)},r}(0)},function(t,n,r){"use strict";function e(t){this._context=t}e.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)}}},n.a=function(t){return new e(t)}},function(t,n,r){"use strict";n.a=function(){}},function(t,n,r){"use strict";var e=r(2);r.d(n,"a",function(){return e.a});var i=r(421);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b}),r.d(n,"d",function(){return i.a}),r.d(n,"e",function(){return i.b});var u=r(424);r.d(n,"f",function(){return u.a}),r.d(n,"g",function(){return u.b}),r.d(n,"h",function(){return u.a}),r.d(n,"i",function(){return u.b});var a=r(422);r.d(n,"j",function(){return a.a}),r.d(n,"k",function(){return a.b});var o=r(420);r.d(n,"l",function(){return o.a}),r.d(n,"m",function(){return o.b});var c=r(419);r.d(n,"n",function(){return c.a}),r.d(n,"o",function(){return c.b});var f=r(431);r.d(n,"p",function(){return f.a}),r.d(n,"q",function(){return f.b}),r.d(n,"r",function(){return f.a}),r.d(n,"s",function(){return f.b}),r.d(n,"t",function(){return f.c}),r.d(n,"u",function(){return f.d}),r.d(n,"v",function(){return f.e}),r.d(n,"w",function(){return f.f}),r.d(n,"x",function(){return f.g}),r.d(n,"y",function(){return f.h}),r.d(n,"z",function(){return f.i}),r.d(n,"A",function(){return f.j}),r.d(n,"B",function(){return f.k}),r.d(n,"C",function(){return f.l}),r.d(n,"D",function(){return f.m}),r.d(n,"E",function(){return f.n});var s=r(423);r.d(n,"F",function(){return s.a}),r.d(n,"G",function(){return s.b});var l=r(432);r.d(n,"H",function(){return l.a}),r.d(n,"I",function(){return l.b});var h=r(427);r.d(n,"J",function(){return h.a}),r.d(n,"K",function(){return h.b});var d=r(426);r.d(n,"L",function(){return d.a}),r.d(n,"M",function(){return d.b});var p=r(425);r.d(n,"N",function(){return p.a}),r.d(n,"O",function(){return p.b});var v=r(429);r.d(n,"P",function(){return v.a}),r.d(n,"Q",function(){return v.b}),r.d(n,"R",function(){return v.a}),r.d(n,"S",function(){return v.b}),r.d(n,"T",function(){return v.c}),r.d(n,"U",function(){return v.d}),r.d(n,"V",function(){return v.e}),r.d(n,"W",function(){return v.f}),r.d(n,"X",function(){return v.g}),r.d(n,"Y",function(){return v.h}),r.d(n,"Z",function(){return v.i}),r.d(n,"_0",function(){return v.j}),r.d(n,"_1",function(){return v.k}),r.d(n,"_2",function(){return v.l}),r.d(n,"_3",function(){return v.m}),r.d(n,"_4",function(){return v.n});var g=r(428);r.d(n,"_5",function(){return g.a}),r.d(n,"_6",function(){return g.b});var y=r(430);r.d(n,"_7",function(){return y.a}),r.d(n,"_8",function(){return y.b})},function(t,n,r){"use strict";var e=r(87);r.d(n,"a",function(){return e.a}),r.d(n,"b",function(){return e.b}),r.d(n,"c",function(){return e.c});var i=r(434);r.d(n,"d",function(){return i.a});var u=r(433);r.d(n,"e",function(){return u.a})},function(t,n,r){"use strict";function e(t,n){var e,i;return function(){var u=r.i(a.e)(this,t),o=u.tween;if(o!==e){i=e=o;for(var c=0,f=i.length;c=1)return+r(t[i-1],i-1,t);var i,u=(i-1)*n,a=Math.floor(u),o=+r(t[a],a,t);return o+(+r(t[a+1],a+1,t)-o)*(u-a)}}},function(t,n,r){"use strict";function e(){}function i(t,n){var r=new e;if(t instanceof e)t.each(function(t,n){r.set(n,t)});else if(Array.isArray(t)){var i,u=-1,a=t.length;if(null==n)for(;++u>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=w.exec(t))?u(parseInt(n[1],16)):(n=M.exec(t))?new f(n[1],n[2],n[3],1):(n=k.exec(t))?new f(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=T.exec(t))?a(n[1],n[2],n[3],n[4]):(n=A.exec(t))?a(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=S.exec(t))?s(n[1],n[2]/100,n[3]/100,1):(n=E.exec(t))?s(n[1],n[2]/100,n[3]/100,n[4]):N.hasOwnProperty(t)?u(N[t]):"transparent"===t?new f(NaN,NaN,NaN,0):null}function u(t){return new f(t>>16&255,t>>8&255,255&t,1)}function a(t,n,r,e){return e<=0&&(t=n=r=NaN),new f(t,n,r,e)}function o(t){return t instanceof e||(t=i(t)),t?(t=t.rgb(),new f(t.r,t.g,t.b,t.opacity)):new f}function c(t,n,r,e){return 1===arguments.length?o(t):new f(t,n,r,null==e?1:e)}function f(t,n,r,e){this.r=+t,this.g=+n,this.b=+r,this.opacity=+e}function s(t,n,r,e){return e<=0?t=n=r=NaN:r<=0||r>=1?t=n=NaN:n<=0&&(t=NaN),new d(t,n,r,e)}function l(t){if(t instanceof d)return new d(t.h,t.s,t.l,t.opacity);if(t instanceof e||(t=i(t)),!t)return new d;if(t instanceof d)return t;t=t.rgb();var n=t.r/255,r=t.g/255,u=t.b/255,a=Math.min(n,r,u),o=Math.max(n,r,u),c=NaN,f=o-a,s=(o+a)/2;return f?(c=n===o?(r-u)/f+6*(r0&&s<1?0:c,new d(c,f,s,t.opacity)}function h(t,n,r,e){return 1===arguments.length?l(t):new d(t,n,r,null==e?1:e)}function d(t,n,r,e){this.h=+t,this.s=+n,this.l=+r,this.opacity=+e}function p(t,n,r){return 255*(t<60?n+(r-n)*t/60:t<180?r:t<240?n+(r-n)*(240-t)/60:n)}var v=r(53);n.f=e,r.d(n,"h",function(){return g}),r.d(n,"g",function(){return y}),n.a=i,n.e=o,n.b=c,n.d=f,n.c=h;var g=.7,y=1/g,_="\\s*([+-]?\\d+)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",m="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,w=/^#([0-9a-f]{6})$/,M=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),k=new RegExp("^rgb\\("+[m,m,m]+"\\)$"),T=new RegExp("^rgba\\("+[_,_,_,b]+"\\)$"),A=new RegExp("^rgba\\("+[m,m,m,b]+"\\)$"),S=new RegExp("^hsl\\("+[b,m,m]+"\\)$"),E=new RegExp("^hsla\\("+[b,m,m,b]+"\\)$"),N={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};r.i(v.a)(e,i,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),r.i(v.a)(f,c,r.i(v.b)(e,{brighter:function(t){return t=null==t?y:Math.pow(y,t),new f(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?g:Math.pow(g,t),new f(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+")")}})),r.i(v.a)(d,h,r.i(v.b)(e,{brighter:function(t){return t=null==t?y:Math.pow(y,t),new d(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?g:Math.pow(g,t),new d(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,r=this.l,e=r+(r<.5?r:1-r)*n,i=2*r-e;return new f(p(t>=240?t-240:t+120,i,e),p(t,i,e),p(t<120?t+240:t-120,i,e),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}}))},function(t,n,r){"use strict";function e(t,n){var r=Object.create(t.prototype);for(var e in n)r[e]=n[e];return r}n.b=e,n.a=function(t,n,r){t.prototype=n.prototype=r,r.constructor=t}},function(t,n,r){"use strict";var e=r(215);r.d(n,"a",function(){return e.a});var i=r(105);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b})},function(t,n,r){"use strict";var e=r(56);r.d(n,"a",function(){return e.a});var i=r(217);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b}),r.d(n,"d",function(){return i.c}),r.d(n,"e",function(){return i.d});var u=r(218);r.d(n,"f",function(){return u.a}),r.d(n,"g",function(){return u.b}),r.d(n,"h",function(){return u.c}),r.d(n,"i",function(){return u.d})},function(t,n,r){"use strict";function e(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function i(t,n){var r=e(t);return function(e,i){return n(r(e),i,t)}}function u(t){var n=Object.create(null),r=[];return t.forEach(function(t){for(var e in t)e in n||r.push(n[e]=e)}),r}var a={},o={},c=34,f=10,s=13;n.a=function(t){function n(t,n){var u,a,o=r(t,function(t,r){if(u)return u(t,r-1);a=t,u=n?i(t,n):e(t)});return o.columns=a||[],o}function r(t,n){function r(){if(d)return o;if(p)return p=!1,a;var n,r,e=l;if(t.charCodeAt(e)===c){for(;l++=u?d=!0:(r=t.charCodeAt(l++))===f?p=!0:r===s&&(p=!0,t.charCodeAt(l)===f&&++l),t.slice(e+1,n-1).replace(/""/g,'"')}for(;l1?e[0]+e.slice(2):e,+t.slice(r+1)]}},function(t,n,r){"use strict";n.a=function(t){return t}},function(t,n,r){"use strict";function e(t){var n=0,e=i.a/3,a=r.i(u.b)(t),o=a(n,e);return o.parallels=function(t){return arguments.length?a(n=t[0]*i.g,e=t[1]*i.g):[n*i.h,e*i.h]},o}var i=r(0),u=r(8);n.a=e},function(t,n,r){"use strict";function e(t,n){function e(t,n){var e=r.i(i.n)(c-2*o*r.i(i.d)(n))/o;return[e*r.i(i.d)(t*=o),f-e*r.i(i.c)(t)]}var u=r.i(i.d)(t),o=(u+r.i(i.d)(n))/2;if(r.i(i.p)(o)=0;--a)h.push(e=r.children[a]=new c(i[a])),e.parent=r,e.depth=r.depth+1;return s.eachBefore(o)}function i(){return e(this).eachBefore(a)}function u(t){return t.children}function a(t){t.data=t.data.data}function o(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function c(t){this.data=t,this.depth=this.height=0,this.parent=null}var f=r(278),s=r(280),l=r(282),h=r(281),d=r(287),p=r(286),v=r(285),g=r(277),y=r(279),_=r(283),b=r(284);n.a=e,n.c=o,n.b=c,c.prototype=e.prototype={constructor:c,count:f.a,each:s.a,eachAfter:h.a,eachBefore:l.a,sum:d.a,sort:p.a,path:v.a,ancestors:g.a,descendants:y.a,leaves:_.a,links:b.a,copy:i}},function(t,n,r){"use strict";function e(t,n,e,a,o,c){for(var f,s,l,h,d,p,v,g,y,_,b,m=[],x=n.children,w=0,M=0,k=x.length,T=n.value;wv&&(v=s),b=d*d*_,(g=Math.max(v/b,b/p))>y){d-=s;break}y=g}m.push(f={value:d,dice:l1?n:1)},r}(a)},function(t,n,r){"use strict";function e(t,n,r,e,i){var u=t*t,a=u*t;return((1-3*t+3*u-a)*n+(4-6*u+3*a)*r+(1+3*t+3*u-3*a)*e+a*i)/6}n.b=e,n.a=function(t){var n=t.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,n-1):Math.floor(r*n),u=t[i],a=t[i+1],o=i>0?t[i-1]:2*u-a,c=i=200&&r<300||304===r){if(s)try{n=s.call(c,p)}catch(t){return void h.call("error",c,t)}else n=p;h.call("load",c,n)}else h.call("error",c,t)}var c,f,s,l,h=r.i(a.a)("beforesend","progress","load","error"),d=r.i(u.c)(),p=new XMLHttpRequest,v=null,g=null,y=0;if("undefined"==typeof XDomainRequest||"withCredentials"in p||!/^(http(s)?:)?\/\//.test(t)||(p=new XDomainRequest),"onload"in p?p.onload=p.onerror=p.ontimeout=o:p.onreadystatechange=function(t){p.readyState>3&&o(t)},p.onprogress=function(t){h.call("progress",c,t)},c={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?d.get(t):(null==n?d.remove(t):d.set(t,n+""),c)},mimeType:function(t){return arguments.length?(f=null==t?null:t+"",c):f},responseType:function(t){return arguments.length?(l=t,c):l},timeout:function(t){return arguments.length?(y=+t,c):y},user:function(t){return arguments.length<1?v:(v=null==t?null:t+"",c)},password:function(t){return arguments.length<1?g:(g=null==t?null:t+"",c)},response:function(t){return s=t,c},get:function(t,n){return c.send("GET",t,n)},post:function(t,n){return c.send("POST",t,n)},send:function(n,r,i){return p.open(n,t,!0,v,g),null==f||d.has("accept")||d.set("accept",f+",*/*"),p.setRequestHeader&&d.each(function(t,n){p.setRequestHeader(n,t)}),null!=f&&p.overrideMimeType&&p.overrideMimeType(f),null!=l&&(p.responseType=l),y>0&&(p.timeout=y),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=e(i)),null!=i&&c.on("error",i).on("load",function(t){i(null,t)}),h.call("beforesend",c,p),p.send(null==r?null:r),c},abort:function(){return p.abort(),c},on:function(){var t=h.on.apply(h,arguments);return t===h?c:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return c.get(n)}return c}},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t){return function(){var n=this.ownerDocument,r=this.namespaceURI;return r===a.b&&n.documentElement.namespaceURI===a.b?n.createElement(t):n.createElementNS(r,t)}}function i(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var u=r(75),a=r(76);n.a=function(t){var n=r.i(u.a)(t);return(n.local?i:e)(n)}},function(t,n,r){"use strict";var e=r(76);n.a=function(t){var n=t+="",r=n.indexOf(":");return r>=0&&"xmlns"!==(n=t.slice(0,r))&&(t=t.slice(r+1)),e.a.hasOwnProperty(n)?{space:e.a[n],local:t}:t}},function(t,n,r){"use strict";r.d(n,"b",function(){return e});var e="http://www.w3.org/1999/xhtml";n.a={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/"}},function(t,n,r){"use strict";function e(t,n,r){return t=i(t,n,r),function(n){var r=n.relatedTarget;r&&(r===this||8&r.compareDocumentPosition(this))||t.call(this,n)}}function i(t,n,r){return function(e){var i=s;s=e;try{t.call(this,this.__data__,n,r)}finally{s=i}}}function u(t){return t.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function a(t){return function(){var n=this.__on;if(n){for(var r,e=0,i=-1,u=n.length;eu.a){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);e=(e*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,i=(i*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>u.a){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-r*t._l12_2a)/l}t._context.bezierCurveTo(e,i,a,o,t._x2,t._y2)}function i(t,n){this._context=t,this._alpha=n}var u=r(29),a=r(44);n.b=e,i.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 r=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:e(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}},n.a=function t(n){function r(t){return n?new i(t,n):new a.b(t,0)}return r.alpha=function(n){return t(+n)},r}(.5)},function(t,n,r){"use strict";var e=r(14),i=r(16),u=r(45),a=r(84);n.a=function(){function t(t){var i,u,a,h=t.length,d=!1;for(null==f&&(l=s(a=r.i(e.a)())),i=0;i<=h;++i)!(i=0&&n._call.call(null,t),n=n._next;--p}function c(){b=(_=x.now())+m,p=v=0;try{o()}finally{p=0,s(),b=0}}function f(){var t=x.now(),n=t-_;n>y&&(m-=n,_=t)}function s(){for(var t,n,r=h,e=1/0;r;)r._call?(e>r._time&&(e=r._time),t=r,r=r._next):(n=r._next,r._next=null,r=t?t._next=n:h=n);d=t,l(e)}function l(t){if(!p){v&&(v=clearTimeout(v));t-b>24?(t<1/0&&(v=setTimeout(c,t-x.now()-m)),g&&(g=clearInterval(g))):(g||(_=x.now(),g=setInterval(f,y)),p=1,w(c))}}n.a=e,n.d=u,n.b=a,n.c=o;var h,d,p=0,v=0,g=0,y=1e3,_=0,b=0,m=0,x="object"==typeof performance&&performance.now?performance:Date,w="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};u.prototype=a.prototype={constructor:u,restart:function(t,n,r){if("function"!=typeof t)throw new TypeError("callback is not a function");r=(null==r?e():+r)+(null==n?0:+n),this._next||d===this||(d?d._next=this:h=this,d=this),this._call=t,this._time=r,l()},stop:function(){this._call&&(this._call=null,this._time=1/0,l())}}},function(t,n,r){"use strict";var e=(r(436),r(11));r.d(n,"a",function(){return e.a});var i=r(435);r.d(n,"b",function(){return i.a});var u=r(167);r.d(n,"c",function(){return u.a})},function(t,n,r){"use strict";function e(t,n,r,e){var i=[null,null],a=f.d.push(i)-1;return i.left=t,i.right=n,r&&u(i,t,n,r),e&&u(i,n,t,e),f.c[t.index].halfedges.push(a),f.c[n.index].halfedges.push(a),i}function i(t,n,r){var e=[n,r];return e.left=t,e}function u(t,n,r,e){t[0]||t[1]?t.left===r?t[1]=e:t[0]=e:(t[0]=e,t.left=n,t.right=r)}function a(t,n,r,e,i){var u,a=t[0],o=t[1],c=a[0],f=a[1],s=o[0],l=o[1],h=0,d=1,p=s-c,v=l-f;if(u=n-c,p||!(u>0)){if(u/=p,p<0){if(u0){if(u>d)return;u>h&&(h=u)}if(u=e-c,p||!(u<0)){if(u/=p,p<0){if(u>d)return;u>h&&(h=u)}else if(p>0){if(u0)){if(u/=v,v<0){if(u0){if(u>d)return;u>h&&(h=u)}if(u=i-f,v||!(u<0)){if(u/=v,v<0){if(u>d)return;u>h&&(h=u)}else if(v>0){if(u0||d<1)||(h>0&&(t[0]=[c+h*p,f+h*v]),d<1&&(t[1]=[c+d*p,f+d*v]),!0)}}}}}function o(t,n,r,e,i){var u=t[1];if(u)return!0;var a,o,c=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],p=s[1],v=(l+d)/2,g=(h+p)/2;if(p===h){if(v=e)return;if(l>d){if(c){if(c[1]>=i)return}else c=[v,r];u=[v,i]}else{if(c){if(c[1]1)if(l>d){if(c){if(c[1]>=i)return}else c=[(r-o)/a,r];u=[(i-o)/a,i]}else{if(c){if(c[1]=e)return}else c=[n,a*n+o];u=[e,a*e+o]}else{if(c){if(c[0]f.b||Math.abs(i[0][1]-i[1][1])>f.b)||delete f.d[u]}var f=r(32);n.d=e,n.b=i,n.c=u,n.a=c},function(t,n,r){"use strict";function e(){this._=null}function i(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function u(t,n){var r=n,e=n.R,i=r.U;i?i.L===r?i.L=e:i.R=e:t._=e,e.U=i,r.U=e,r.R=e.L,r.R&&(r.R.U=r),e.L=r}function a(t,n){var r=n,e=n.L,i=r.U;i?i.L===r?i.L=e:i.R=e:t._=e,e.U=i,r.U=e,r.L=e.R,r.L&&(r.L.U=r),e.R=r}function o(t){for(;t.L;)t=t.L;return t}n.b=i,e.prototype={constructor:e,insert:function(t,n){var r,e,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;r=t}else this._?(t=o(this._),n.P=null,n.N=t,t.P=t.L=n,r=t):(n.P=n.N=null,this._=n,r=null);for(n.L=n.R=null,n.U=r,n.C=!0,t=n;r&&r.C;)e=r.U,r===e.L?(i=e.R,i&&i.C?(r.C=i.C=!1,e.C=!0,t=e):(t===r.R&&(u(this,r),t=r,r=t.U),r.C=!1,e.C=!0,a(this,e))):(i=e.L,i&&i.C?(r.C=i.C=!1,e.C=!0,t=e):(t===r.L&&(a(this,r),t=r,r=t.U),r.C=!1,e.C=!0,u(this,e))),r=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,r,e,i=t.U,c=t.L,f=t.R;if(r=c?f?o(f):c:f,i?i.L===t?i.L=r:i.R=r:this._=r,c&&f?(e=r.C,r.C=t.C,r.L=c,c.U=r,r!==f?(i=r.U,r.U=t.U,t=r.R,i.L=t,r.R=f,f.U=r):(r.U=i,i=r,t=r.R)):(e=t.C,t=r),t&&(t.U=i),!e){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,u(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,a(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,u(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,a(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,u(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,a(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}},n.a=e},function(t,n,r){"use strict";r.d(n,"b",function(){return i}),r.d(n,"a",function(){return u});var e=Array.prototype,i=e.slice,u=e.map},function(t,n,r){"use strict";var e=r(17),i=r(93);r.d(n,"b",function(){return a}),r.d(n,"c",function(){return o});var u=r.i(i.a)(e.a),a=u.right,o=u.left;n.a=a},function(t,n,r){"use strict";function e(t){return function(n,e){return r.i(i.a)(t(n),e)}}var i=r(17);n.a=function(t){return 1===t.length&&(t=e(t)),{left:function(n,r,e,i){for(null==e&&(e=0),null==i&&(i=n.length);e>>1;t(n[u],r)<0?e=u+1:i=u}return e},right:function(n,r,e,i){for(null==e&&(e=0),null==i&&(i=n.length);e>>1;t(n[u],r)>0?i=u:e=u+1}return e}}}},function(t,n,r){"use strict";var e=r(102);n.a=function(t,n){var i=r.i(e.a)(t,n);return i?Math.sqrt(i):i}},function(t,n,r){"use strict";n.a=function(t,n){var r,e,i,u=t.length,a=-1;if(null==n){for(;++a=r)for(e=i=r;++ar&&(e=r),i=r)for(e=i=r;++ar&&(e=r),i=r)for(e=r;++ur&&(e=r)}else for(;++u=r)for(e=r;++ur&&(e=r);return e}},function(t,n,r){"use strict";function e(t,n){return[t,n]}n.b=e,n.a=function(t,n){null==n&&(n=e);for(var r=0,i=t.length-1,u=t[0],a=new Array(i<0?0:i);r=0?(c>=u?10:c>=a?5:c>=o?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(c>=u?10:c>=a?5:c>=o?2:1)}function i(t,n,r){var e=Math.abs(n-t)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),c=e/i;return c>=u?i*=10:c>=a?i*=5:c>=o&&(i*=2),n0)return[t];if((i=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),a=new Array(u=Math.ceil(n-t+1));++c1)return s/(o-1)}},function(t,n,r){"use strict";r.d(n,"b",function(){return e}),r.d(n,"c",function(){return i}),r.d(n,"a",function(){return a}),r.d(n,"e",function(){return o}),r.d(n,"d",function(){return c});var e=Math.cos,i=Math.sin,u=Math.PI,a=u/2,o=2*u,c=Math.max},function(t,n,r){"use strict";r.d(n,"b",function(){return e}),r.d(n,"a",function(){return i});var e=Math.PI/180,i=180/Math.PI},function(t,n,r){"use strict";function e(t,n){var e=t.document.documentElement,a=r.i(i.h)(t).on("dragstart.drag",null);n&&(a.on("click.drag",u.a,!0),setTimeout(function(){a.on("click.drag",null)},0)),"onselectstart"in e?a.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}var i=r(1),u=r(106);n.b=e,n.a=function(t){var n=t.document.documentElement,e=r.i(i.h)(t).on("dragstart.drag",u.a,!0);"onselectstart"in n?e.on("selectstart.drag",u.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,r){"use strict";function e(){i.q.stopImmediatePropagation()}var i=r(1);n.b=e,n.a=function(){i.q.preventDefault(),i.q.stopImmediatePropagation()}},function(t,n,r){"use strict";var e=r(225);r.d(n,"a",function(){return e.a});var i=r(227);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b}),r.d(n,"d",function(){return i.c}),r.d(n,"e",function(){return i.a});var u=r(222);r.d(n,"f",function(){return u.a}),r.d(n,"g",function(){return u.b}),r.d(n,"h",function(){return u.c}),r.d(n,"i",function(){return u.a});var a=r(226);r.d(n,"j",function(){return a.a}),r.d(n,"k",function(){return a.b}),r.d(n,"l",function(){return a.c}),r.d(n,"m",function(){return a.a});var o=r(228);r.d(n,"n",function(){return o.a}),r.d(n,"o",function(){return o.b}),r.d(n,"p",function(){return o.c}),r.d(n,"q",function(){return o.a});var c=r(224);r.d(n,"r",function(){return c.a}),r.d(n,"s",function(){return c.b}),r.d(n,"t",function(){return c.c}),r.d(n,"u",function(){return c.a});var f=r(221);r.d(n,"v",function(){return f.a}),r.d(n,"w",function(){return f.b}),r.d(n,"x",function(){return f.c}),r.d(n,"y",function(){return f.a});var s=r(220);r.d(n,"z",function(){return s.a}),r.d(n,"A",function(){return s.b}),r.d(n,"B",function(){return s.a}),r.d(n,"C",function(){return s.c});var l=r(219);r.d(n,"D",function(){return l.a}),r.d(n,"E",function(){return l.b}),r.d(n,"F",function(){return l.c}),r.d(n,"G",function(){return l.a});var h=r(223);r.d(n,"H",function(){return h.a}),r.d(n,"I",function(){return h.b}),r.d(n,"J",function(){return h.a}),r.d(n,"K",function(){return h.c})},function(t,n,r){"use strict";function e(t){return t.x}function i(t){return t.y}var u=r(12),a=r(22),o=r(48);n.b=e,n.c=i;var c=Math.PI*(3-Math.sqrt(5));n.a=function(t){function n(){e(),_.call("tick",s),l1?(null==n?g.remove(t):g.set(t,f(n)),s):g.get(t)},find:function(n,r,e){var i,u,a,o,c,f=0,s=t.length;for(null==e?e=1/0:e*=e,f=0;f1?(_.on(t,n),s):_.on(t)}}}},function(t,n,r){"use strict";var e=r(59);r.d(n,"b",function(){return i});var i;n.a=function(t,n){var u=r.i(e.a)(t,n);if(!u)return t+"";var a=u[0],o=u[1],c=o-(i=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,f=a.length;return c===f?a:c>f?a+new Array(c-f+1).join("0"):c>0?a.slice(0,c)+"."+a.slice(c):"0."+new Array(1-c).join("0")+r.i(e.a)(t,Math.max(0,n+c-1))[0]}},function(t,n,r){"use strict";function e(t){return new i(t)}function i(t){if(!(n=a.exec(t)))throw new Error("invalid format: "+t);var n,r=n[1]||" ",e=n[2]||">",i=n[3]||"-",o=n[4]||"",c=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):u.a[h]||(h=""),(c||"0"===r&&"="===e)&&(c=!0,r="0",e="="),this.fill=r,this.align=e,this.sign=i,this.symbol=o,this.zero=c,this.width=f,this.comma=s,this.precision=l,this.type=h}var u=r(111);n.a=e;var a=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;e.prototype=i.prototype,i.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}},function(t,n,r){"use strict";var e=r(238),i=r(109),u=r(241);n.a={"":e.a,"%":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 r.i(u.a)(100*t,n)},r:u.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,r){"use strict";var e=r(34),i=r(239),u=r(240),a=r(110),o=r(111),c=r(109),f=r(242),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){function n(t){function n(t){var n,r,a,o=x,f=w;if("c"===m)f=M(t)+f,t="";else{t=+t;var d=t<0;if(t=M(Math.abs(t),b),d&&0==+t&&(d=!1),o=(d?"("===u?u:"-":"-"===u||"("===u?"":u)+o,f=f+("s"===m?s[8+c.b/3]:"")+(d&&"("===u?")":""),k)for(n=-1,r=t.length;++n(a=t.charCodeAt(n))||a>57){f=(46===a?p+t.slice(n+1):t.slice(n))+f,t=t.slice(0,n);break}}_&&!l&&(t=h(t,1/0));var g=o.length+t.length+f.length,T=g>1)+o+t+f+T.slice(g);break;default:t=T+o+t+f}return v(t)}t=r.i(a.a)(t);var e=t.fill,i=t.align,u=t.sign,f=t.symbol,l=t.zero,y=t.width,_=t.comma,b=t.precision,m=t.type,x="$"===f?d[0]:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===f?d[1]:/[%p]/.test(m)?g:"",M=o.a[m],k=!m||/[defgprs%]/.test(m);return b=null==b?m?6:12:/[gprs]/.test(m)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),n.toString=function(){return t+""},n}function l(t,i){var u=n((t=r.i(a.a)(t),t.type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor(r.i(e.a)(i)/3))),c=Math.pow(10,-o),f=s[8+o/3];return function(t){return u(c*t)+f}}var h=t.grouping&&t.thousands?r.i(i.a)(t.grouping,t.thousands):f.a,d=t.currency,p=t.decimal,v=t.numerals?r.i(u.a)(t.numerals):f.a,g=t.percent||"%";return{format:n,formatPrefix:l}}},function(t,n,r){"use strict";function e(){_.point=u}function i(){a(l,h)}function u(t,n){_.point=a,l=t,h=n,t*=c.g,n*=c.g,d=t,p=r.i(c.c)(n=n/2+c.v),v=r.i(c.d)(n)}function a(t,n){t*=c.g,n*=c.g,n=n/2+c.v;var e=t-d,i=e>=0?1:-1,u=i*e,a=r.i(c.c)(n),o=r.i(c.d)(n),f=v*o,s=p*a+f*r.i(c.c)(u),l=f*i*r.i(c.d)(u);g.add(r.i(c.e)(l,s)),d=t,p=a,v=o}var o=r(19),c=r(0),f=r(10),s=r(13);r.d(n,"c",function(){return g}),r.d(n,"b",function(){return _});var l,h,d,p,v,g=r.i(o.a)(),y=r.i(o.a)(),_={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){g.reset(),_.lineStart=e,_.lineEnd=i},polygonEnd:function(){var t=+g;y.add(t<0?c.b+t:t),this.lineStart=this.lineEnd=this.point=f.a},sphere:function(){y.add(c.b)}};n.a=function(t){return y.reset(),r.i(s.a)(t,_),2*y}},function(t,n,r){"use strict";function e(t,n,e,a,c,f){if(e){var s=r.i(o.c)(n),l=r.i(o.d)(n),h=a*e;null==c?(c=n+a*o.b,f=n-h/2):(c=i(s,c),f=i(s,f),(a>0?cf)&&(c+=a*o.b));for(var d,p=c;a>0?p>f:p0?o.a:-o.a,l=r.i(o.p)(c-e);r.i(o.p)(l-o.a)0?o.k:-o.k),t.point(a,u),t.lineEnd(),t.lineStart(),t.point(s,u),t.point(c,u),n=0):a!==s&&l>=o.a&&(r.i(o.p)(e-a)o.o?r.i(o.l)((r.i(o.d)(n)*(a=r.i(o.c)(i))*r.i(o.d)(e)-r.i(o.d)(i)*(u=r.i(o.c)(n))*r.i(o.d)(t))/(u*a*c)):(n+i)/2}function u(t,n,e,i){var u;if(null==t)u=e*o.k,i.point(-o.a,u),i.point(0,u),i.point(o.a,u),i.point(o.a,0),i.point(o.a,-u),i.point(0,-u),i.point(-o.a,-u),i.point(-o.a,0),i.point(-o.a,u);else if(r.i(o.p)(t[0]-n[0])>o.o){var a=t[0]1&&n.push(n.pop().concat(n.shift()))},result:function(){var r=n;return n=[],t=null,r}}}},function(t,n,r){"use strict";var e=r(23),i=r(114),u=r(0),a=r(124),o=r(118);n.a=function(t){function n(n,e,u,a){r.i(i.b)(a,t,d,u,n,e)}function c(t,n){return r.i(u.c)(t)*r.i(u.c)(n)>h}function f(t){var n,e,i,o,f;return{lineStart:function(){o=i=!1,f=1},point:function(h,d){var g,y=[h,d],_=c(h,d),b=p?_?0:l(h,d):_?l(h+(h<0?u.a:-u.a),d):0;if(!n&&(o=i=_)&&t.lineStart(),_!==i&&(!(g=s(n,y))||r.i(a.a)(n,g)||r.i(a.a)(y,g))&&(y[0]+=u.o,y[1]+=u.o,_=c(y[0],y[1])),_!==i)f=0,_?(t.lineStart(),g=s(y,n),t.point(g[0],g[1])):(g=s(n,y),t.point(g[0],g[1]),t.lineEnd()),n=g;else if(v&&n&&p^_){var m;b&e||!(m=s(y,n,!0))||(f=0,p?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!_||n&&r.i(a.a)(n,y)||t.point(y[0],y[1]),n=y,i=_,e=b},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(o&&i)<<1}}}function s(t,n,i){var a=r.i(e.a)(t),o=r.i(e.a)(n),c=[1,0,0],f=r.i(e.b)(a,o),s=r.i(e.d)(f,f),l=f[0],d=s-l*l;if(!d)return!i&&t;var p=h*s/d,v=-h*l/d,g=r.i(e.b)(c,f),y=r.i(e.e)(c,p),_=r.i(e.e)(f,v);r.i(e.f)(y,_);var b=g,m=r.i(e.d)(y,b),x=r.i(e.d)(b,b),w=m*m-x*(r.i(e.d)(y,y)-1);if(!(w<0)){var M=r.i(u.n)(w),k=r.i(e.e)(b,(-m-M)/x);if(r.i(e.f)(k,y),k=r.i(e.g)(k),!i)return k;var T,A=t[0],S=n[0],E=t[1],N=n[1];S0^k[1]<(r.i(u.p)(k[0]-A)u.a^(A<=k[0]&&k[0]<=S)){var P=r.i(e.e)(b,(-m+M)/x);return r.i(e.f)(P,y),[k,r.i(e.g)(P)]}}}function l(n,r){var e=p?t:u.a-t,i=0;return n<-e?i|=1:n>e&&(i|=2),r<-e?i|=4:r>e&&(i|=8),i}var h=r.i(u.c)(t),d=6*u.g,p=h>0,v=r.i(u.p)(h)>u.o;return r.i(o.a)(c,f,n,p?[0,-t]:[-u.a,t-u.a])}},function(t,n,r){"use strict";function e(t){return t.length>1}function i(t,n){return((t=t.x)[0]<0?t[1]-o.k-o.o:o.k-t[1])-((n=n.x)[0]<0?n[1]-o.k-o.o:o.k-n[1])}var u=r(116),a=r(119),o=r(0),c=r(125),f=r(3);n.a=function(t,n,o,s){return function(l){function h(n,r){t(n,r)&&l.point(n,r)}function d(t,n){w.point(t,n)}function p(){A.point=d,w.lineStart()}function v(){A.point=h,w.lineEnd()}function g(t,n){x.push([t,n]),k.point(t,n)}function y(){k.lineStart(),x=[]}function _(){g(x[0][0],x[0][1]),k.lineEnd();var t,n,r,i,u=k.clean(),a=M.result(),o=a.length;if(x.pop(),b.push(x),x=null,o)if(1&u){if(r=a[0],(n=r.length-1)>0){for(T||(l.polygonStart(),T=!0),l.lineStart(),t=0;t1&&2&u&&a.push(a.pop().concat(a.shift())),m.push(a.filter(e))}var b,m,x,w=n(l),M=r.i(u.a)(),k=n(M),T=!1,A={point:h,lineStart:p,lineEnd:v,polygonStart:function(){A.point=g,A.lineStart=y,A.lineEnd=_,m=[],b=[]},polygonEnd:function(){A.point=h,A.lineStart=p,A.lineEnd=v,m=r.i(f.q)(m);var t=r.i(c.a)(b,s);m.length?(T||(l.polygonStart(),T=!0),r.i(a.a)(m,i,t,o,l)):t&&(T||(l.polygonStart(),T=!0),l.lineStart(),o(null,null,1,l),l.lineEnd()),T&&(l.polygonEnd(),T=!1),m=b=null},sphere:function(){l.polygonStart(),l.lineStart(),o(null,null,1,l),l.lineEnd(),l.polygonEnd()}};return A}}},function(t,n,r){"use strict";function e(t,n,r,e){this.x=t,this.z=n,this.o=r,this.e=e,this.v=!1,this.n=this.p=null}function i(t){if(n=t.length){for(var n,r,e=0,i=t[0];++e=0;--f)c.point((p=d[f])[0],p[1]);else o(g.x,g.p.x,-1,c);g=g.p}g=g.o,d=g.z,y=!y}while(!g.v);c.lineEnd()}}}},function(t,n,r){"use strict";n.a=function(t,n){function r(r,e){return r=t(r,e),n(r[0],r[1])}return t.invert&&n.invert&&(r.invert=function(r,e){return(r=n.invert(r,e))&&t.invert(r[0],r[1])}),r}},function(t,n,r){"use strict";var e=r(122),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,r.i(e.a)(u)}},function(t,n,r){"use strict";function e(){v.point=u,v.lineEnd=i}function i(){v.point=v.lineEnd=h.a}function u(t,n){t*=l.g,n*=l.g,o=t,c=r.i(l.d)(n),f=r.i(l.c)(n),v.point=a}function a(t,n){t*=l.g,n*=l.g;var e=r.i(l.d)(n),i=r.i(l.c)(n),u=r.i(l.p)(t-o),a=r.i(l.c)(u),s=r.i(l.d)(u),h=i*s,d=f*e-c*i*a,v=c*e+f*i*a;p.add(r.i(l.e)(r.i(l.n)(h*h+d*d),v)),o=t,c=e,f=i}var o,c,f,s=r(19),l=r(0),h=r(10),d=r(13),p=r.i(s.a)(),v={sphere:h.a,point:h.a,lineStart:e,lineEnd:h.a,polygonStart:h.a,polygonEnd:h.a};n.a=function(t){return p.reset(),r.i(d.a)(t,v),+p}},function(t,n,r){"use strict";function e(t,n){to&&(o=t),nc&&(c=n)}var i=r(10),u=1/0,a=u,o=-u,c=o,f={point:e,lineStart:i.a,lineEnd:i.a,polygonStart:i.a,polygonEnd:i.a,result:function(){var t=[[u,a],[o,c]];return o=c=-(a=u=1/0),t}};n.a=f},function(t,n,r){"use strict";var e=r(0);n.a=function(t,n){return r.i(e.p)(t[0]-n[0])=0?1:-1,E=S*A,N=E>u.a,C=_*k;if(a.add(r.i(u.e)(C*S*r.i(u.d)(E),b*T+C*r.i(u.c)(E))),f+=N?A+S*u.b:A,N^g>=e^w>=e){var q=r.i(i.b)(r.i(i.a)(v),r.i(i.a)(x));r.i(i.c)(q);var z=r.i(i.b)(c,q);r.i(i.c)(z);var P=(N^A>=0?-1:1)*r.i(u.f)(z[2]);(o>P||o===P&&(q[0]||q[1]))&&(s+=N^A>=0?1:-1)}}return(f<-u.o||f0&&r*r>e*e+i*i}function a(t,n){for(var r=0;rr*r+e*e}function u(t){var n=t._,r=t.next._,e=n.r+r.r,i=(n.x*r.r+r.x*n.r)/e,u=(n.y*r.r+r.y*n.r)/e;return i*i+u*u}function a(t){this._=t,this.next=null,this.previous=null}function o(t){if(!(s=t.length))return 0;var n,o,f,s,l,h,d,p,v,g,y;if(n=t[0],n.x=0,n.y=0,!(s>1))return n.r;if(o=t[1],n.x=-o.r,o.x=n.r,o.y=0,!(s>2))return n.r+o.r;e(o,n,f=t[2]),n=new a(n),o=new a(o),f=new a(f),n.next=f.previous=o,o.next=n.previous=f,f.next=o.previous=n;t:for(d=3;dl&&(s=n.slice(l,s),d[h]?d[h]+=s:d[++h]=s),(c=c[0])===(f=f[0])?d[h]?d[h]+=f:d[++h]=f:(d[++h]=null,p.push({i:h,x:r.i(u.a)(c,f)})),l=o.lastIndex;return l1);return t+r*u*Math.sqrt(-2*Math.log(i)/i)}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";function e(t,n){return function(r){return t(r.responseText,n)}}var i=r(72);n.a=function(t,n){return function(u,a,o){arguments.length<3&&(o=a,a=null);var c=r.i(i.a)(u).mimeType(t);return c.row=function(t){return arguments.length?c.response(e(n,a=t)):a},c.row(a),o?c.get(o):c}}},function(t,n,r){"use strict";n.a=function(t,n){t=t.slice();var r,e=0,i=t.length-1,u=t[e],a=t[i];return a1?this.each((null==n?e:"function"==typeof n?u:i)(t,n,null==r?"":r)):a(this.node(),t)}},function(t,n,r){"use strict";function e(){return[]}n.a=function(t){return null==t?e:function(){return this.querySelectorAll(t)}}},function(t,n,r){"use strict";var e=r(14),i=r(16),u=r(45),a=r(82),o=r(84);n.a=function(){function t(t){var n,i,u,a,o,g=t.length,y=!1,_=new Array(g),b=new Array(g);for(null==d&&(v=p(o=r.i(e.a)())),n=0;n<=g;++n){if(!(n=i;--u)v.point(_[u],b[u]);v.lineEnd(),v.areaEnd()}y&&(_[n]=+c(a,n,t),b[n]=+s(a,n,t),v.point(f?+f(a,n,t):_[n],l?+l(a,n,t):b[n]))}if(o)return v=null,o+""||null}function n(){return r.i(a.a)().defined(h).curve(p).context(d)}var c=o.a,f=null,s=r.i(i.a)(0),l=o.b,h=r.i(i.a)(!0),d=null,p=u.a,v=null;return t.x=function(n){return arguments.length?(c="function"==typeof n?n:r.i(i.a)(+n),f=null,t):c},t.x0=function(n){return arguments.length?(c="function"==typeof n?n:r.i(i.a)(+n),t):c},t.x1=function(n){return arguments.length?(f=null==n?null:"function"==typeof n?n:r.i(i.a)(+n),t):f},t.y=function(n){return arguments.length?(s="function"==typeof n?n:r.i(i.a)(+n),l=null,t):s},t.y0=function(n){return arguments.length?(s="function"==typeof n?n:r.i(i.a)(+n),t):s},t.y1=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:r.i(i.a)(+n),t):l},t.lineX0=t.lineY0=function(){return n().x(c).y(s)},t.lineY1=function(){return n().x(c).y(l)},t.lineX1=function(){return n().x(f).y(s)},t.defined=function(n){return arguments.length?(h="function"==typeof n?n:r.i(i.a)(!!n),t):h},t.curve=function(n){return arguments.length?(p=n,null!=d&&(v=p(d)),t):p},t.context=function(n){return arguments.length?(null==n?d=v=null:v=p(d=n),t):d},t}},function(t,n,r){"use strict";r.d(n,"a",function(){return e});var e=Array.prototype.slice},function(t,n,r){"use strict";function e(t,n){this._context=t,this._k=(1-n)/6}var i=r(46),u=r(44);n.b=e,e.prototype={areaStart:i.a,areaEnd:i.a,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:r.i(u.c)(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}},n.a=function t(n){function r(t){return new e(t,n)}return r.tension=function(n){return t(+n)},r}(0)},function(t,n,r){"use strict";function e(t,n){this._context=t,this._k=(1-n)/6}var i=r(44);n.b=e,e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(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:r.i(i.c)(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}},n.a=function t(n){function r(t){return new e(t,n)}return r.tension=function(n){return t(+n)},r}(0)},function(t,n,r){"use strict";function e(t){this._curve=t}function i(t){function n(n){return new e(t(n))}return n._curve=t,n}var u=r(45);r.d(n,"b",function(){return a}),n.a=i;var a=i(u.a);e.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))}}},function(t,n,r){"use strict";function e(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(r.i(i.a)(t)):n()._curve},t}var i=r(155),u=r(82);n.b=e,n.a=function(){return e(r.i(u.a)().curve(i.b))}},function(t,n,r){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,r){"use strict";var e=r(29);n.a={draw:function(t,n){var r=Math.sqrt(n/e.b);t.moveTo(r,0),t.arc(0,0,r,0,e.c)}}},function(t,n,r){"use strict";n.a={draw:function(t,n){var r=Math.sqrt(n/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}}},function(t,n,r){"use strict";var e=Math.sqrt(1/3),i=2*e;n.a={draw:function(t,n){var r=Math.sqrt(n/i),u=r*e;t.moveTo(0,-r),t.lineTo(u,0),t.lineTo(0,r),t.lineTo(-u,0),t.closePath()}}},function(t,n,r){"use strict";n.a={draw:function(t,n){var r=Math.sqrt(n),e=-r/2;t.rect(e,e,r,r)}}},function(t,n,r){"use strict";var e=r(29),i=Math.sin(e.b/10)/Math.sin(7*e.b/10),u=Math.sin(e.c/10)*i,a=-Math.cos(e.c/10)*i;n.a={draw:function(t,n){var r=Math.sqrt(.8908130915292852*n),i=u*r,o=a*r;t.moveTo(0,-r),t.lineTo(i,o);for(var c=1;c<5;++c){var f=e.c*c/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*r,-s*r),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,r){"use strict";var e=Math.sqrt(3);n.a={draw:function(t,n){var r=-Math.sqrt(n/(3*e));t.moveTo(0,2*r),t.lineTo(-e*r,-r),t.lineTo(e*r,-r),t.closePath()}}},function(t,n,r){"use strict";var e=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),a=3*(u/2+1);n.a={draw:function(t,n){var r=Math.sqrt(n/a),o=r/2,c=r*u,f=o,s=r*u+r,l=-f,h=s;t.moveTo(o,c),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(e*o-i*c,i*o+e*c),t.lineTo(e*f-i*s,i*f+e*s),t.lineTo(e*l-i*h,i*l+e*h),t.lineTo(e*o+i*c,e*c-i*o),t.lineTo(e*f+i*s,e*s-i*f),t.lineTo(e*l+i*h,e*h-i*l),t.closePath()}}},function(t,n,r){"use strict";function e(t){return t.toISOString()}var i=r(86);r.d(n,"b",function(){return u});var u="%Y-%m-%dT%H:%M:%S.%LZ",a=Date.prototype.toISOString?e:r.i(i.d)(u);n.a=a},function(t,n,r){"use strict";function e(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 i(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 u(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function a(t){function n(t,n){return function(r){var e,i,u,a=[],o=-1,c=0,f=t.length;for(r instanceof Date||(r=new Date(+r));++o53)return null;"w"in f||(f.w=1),"Z"in f?(a=i(u(f.y)),c=a.getUTCDay(),a=c>4||0===c?dt.T.ceil(a):r.i(dt.T)(a),a=dt.N.offset(a,7*(f.V-1)),f.y=a.getUTCFullYear(),f.m=a.getUTCMonth(),f.d=a.getUTCDate()+(f.w+6)%7):(a=n(u(f.y)),c=a.getDay(),a=c>4||0===c?dt.t.ceil(a):r.i(dt.t)(a),a=dt.n.offset(a,7*(f.V-1)),f.y=a.getFullYear(),f.m=a.getMonth(),f.d=a.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),c="Z"in f?i(u(f.y)).getUTCDay():n(u(f.y)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+7*f.W-(c+5)%7:f.w+7*f.U-(c+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,i(f)):n(f)}}function o(t,n,r,e){for(var i,u,a=0,o=n.length,c=r.length;a=c)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(u=Jt[i in pt?n.charAt(a++):i])||(e=u(t,r,e))<0)return-1}else if(i!=r.charCodeAt(e++))return-1}return e}function c(t,n,r){var e=Ft.exec(n.slice(r));return e?(t.p=It[e[0].toLowerCase()],r+e[0].length):-1}function vt(t,n,r){var e=Ht.exec(n.slice(r));return e?(t.w=Xt[e[0].toLowerCase()],r+e[0].length):-1}function gt(t,n,r){var e=Yt.exec(n.slice(r));return e?(t.w=Bt[e[0].toLowerCase()],r+e[0].length):-1}function yt(t,n,r){var e=Wt.exec(n.slice(r));return e?(t.m=Zt[e[0].toLowerCase()],r+e[0].length):-1}function _t(t,n,r){var e=Gt.exec(n.slice(r));return e?(t.m=Vt[e[0].toLowerCase()],r+e[0].length):-1}function bt(t,n,r){return o(t,zt,n,r)}function mt(t,n,r){return o(t,Pt,n,r)}function xt(t,n,r){return o(t,Dt,n,r)}function wt(t){return Ut[t.getDay()]}function Mt(t){return Lt[t.getDay()]}function kt(t){return jt[t.getMonth()]}function Tt(t){return Ot[t.getMonth()]}function At(t){return Rt[+(t.getHours()>=12)]}function St(t){return Ut[t.getUTCDay()]}function Et(t){return Lt[t.getUTCDay()]}function Nt(t){return jt[t.getUTCMonth()]}function Ct(t){return Ot[t.getUTCMonth()]}function qt(t){return Rt[+(t.getUTCHours()>=12)]}var zt=t.dateTime,Pt=t.date,Dt=t.time,Rt=t.periods,Lt=t.days,Ut=t.shortDays,Ot=t.months,jt=t.shortMonths,Ft=f(Rt),It=s(Rt),Yt=f(Lt),Bt=s(Lt),Ht=f(Ut),Xt=s(Ut),Gt=f(Ot),Vt=s(Ot),Wt=f(jt),Zt=s(jt),Qt={a:wt,A:Mt,b:kt,B:Tt,c:null,d:C,e:C,f:R,H:q,I:z,j:P,L:D,m:L,M:U,p:At,Q:lt,s:ht,S:O,u:j,U:F,V:I,w:Y,W:B,x:null,X:null,y:H,Y:X,Z:G,"%":st},$t={a:St,A:Et,b:Nt,B:Ct,c:null,d:V,e:V,f:J,H:W,I:Z,j:Q,L:$,m:K,M:tt,p:qt,Q:lt,s:ht,S:nt,u:rt,U:et,V:it,w:ut,W:at,x:null,X:null,y:ot,Y:ct,Z:ft,"%":st},Jt={a:vt,A:gt,b:yt,B:_t,c:bt,d:m,e:m,f:A,H:w,I:w,j:x,L:T,m:b,M:M,p:c,Q:E,s:N,S:k,u:h,U:d,V:p,w:l,W:v,x:mt,X:xt,y:y,Y:g,Z:_,"%":S};return Qt.x=n(Pt,Qt),Qt.X=n(Dt,Qt),Qt.c=n(zt,Qt),$t.x=n(Pt,$t),$t.X=n(Dt,$t),$t.c=n(zt,$t),{format:function(t){var r=n(t+="",Qt);return r.toString=function(){return t},r},parse:function(t){var n=a(t+="",e);return n.toString=function(){return t},n},utcFormat:function(t){var r=n(t+="",$t);return r.toString=function(){return t},r},utcParse:function(t){var n=a(t,i);return n.toString=function(){return t},n}}}function o(t,n,r){var e=t<0?"-":"",i=(e?-t:t)+"",u=i.length;return e+(u68?1900:2e3),r+e[0].length):-1}function _(t,n,r){var e=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(r,r+6));return e?(t.Z=e[1]?0:-(e[2]+(e[3]||"00")),r+e[0].length):-1}function b(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.m=e[0]-1,r+e[0].length):-1}function m(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.d=+e[0],r+e[0].length):-1}function x(t,n,r){var e=vt.exec(n.slice(r,r+3));return e?(t.m=0,t.d=+e[0],r+e[0].length):-1}function w(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.H=+e[0],r+e[0].length):-1}function M(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.M=+e[0],r+e[0].length):-1}function k(t,n,r){var e=vt.exec(n.slice(r,r+2));return e?(t.S=+e[0],r+e[0].length):-1}function T(t,n,r){var e=vt.exec(n.slice(r,r+3));return e?(t.L=+e[0],r+e[0].length):-1}function A(t,n,r){var e=vt.exec(n.slice(r,r+6));return e?(t.L=Math.floor(e[0]/1e3),r+e[0].length):-1}function S(t,n,r){var e=gt.exec(n.slice(r,r+1));return e?r+e[0].length:-1}function E(t,n,r){var e=vt.exec(n.slice(r));return e?(t.Q=+e[0],r+e[0].length):-1}function N(t,n,r){var e=vt.exec(n.slice(r));return e?(t.Q=1e3*+e[0],r+e[0].length):-1}function C(t,n){return o(t.getDate(),n,2)}function q(t,n){return o(t.getHours(),n,2)}function z(t,n){return o(t.getHours()%12||12,n,2)}function P(t,n){return o(1+dt.n.count(r.i(dt.H)(t),t),n,3)}function D(t,n){return o(t.getMilliseconds(),n,3)}function R(t,n){return D(t,n)+"000"}function L(t,n){return o(t.getMonth()+1,n,2)}function U(t,n){return o(t.getMinutes(),n,2)}function O(t,n){return o(t.getSeconds(),n,2)}function j(t){var n=t.getDay();return 0===n?7:n}function F(t,n){return o(dt.r.count(r.i(dt.H)(t),t),n,2)}function I(t,n){var e=t.getDay();return t=e>=4||0===e?r.i(dt.z)(t):dt.z.ceil(t),o(dt.z.count(r.i(dt.H)(t),t)+(4===r.i(dt.H)(t).getDay()),n,2)}function Y(t){return t.getDay()}function B(t,n){return o(dt.t.count(r.i(dt.H)(t),t),n,2)}function H(t,n){return o(t.getFullYear()%100,n,2)}function X(t,n){return o(t.getFullYear()%1e4,n,4)}function G(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+o(n/60|0,"0",2)+o(n%60,"0",2)}function V(t,n){return o(t.getUTCDate(),n,2)}function W(t,n){return o(t.getUTCHours(),n,2)}function Z(t,n){return o(t.getUTCHours()%12||12,n,2)}function Q(t,n){return o(1+dt.N.count(r.i(dt._7)(t),t),n,3)}function $(t,n){return o(t.getUTCMilliseconds(),n,3)}function J(t,n){return $(t,n)+"000"}function K(t,n){return o(t.getUTCMonth()+1,n,2)}function tt(t,n){return o(t.getUTCMinutes(),n,2)}function nt(t,n){return o(t.getUTCSeconds(),n,2)}function rt(t){var n=t.getUTCDay();return 0===n?7:n}function et(t,n){return o(dt.R.count(r.i(dt._7)(t),t),n,2)}function it(t,n){var e=t.getUTCDay();return t=e>=4||0===e?r.i(dt.Z)(t):dt.Z.ceil(t),o(dt.Z.count(r.i(dt._7)(t),t)+(4===r.i(dt._7)(t).getUTCDay()),n,2)}function ut(t){return t.getUTCDay()}function at(t,n){return o(dt.T.count(r.i(dt._7)(t),t),n,2)}function ot(t,n){return o(t.getUTCFullYear()%100,n,2)}function ct(t,n){return o(t.getUTCFullYear()%1e4,n,4)}function ft(){return"+0000"}function st(){return"%"}function lt(t){return+t}function ht(t){return Math.floor(+t/1e3)}var dt=r(47);n.a=a;var pt={"-":"",_:" ",0:"0"},vt=/^\s*\d+/,gt=/^%/,yt=/[\\^$*+?|[\]().{}]/g},function(t,n,r){"use strict";var e=r(6);n.a=function(t,n){var r,i,u,a=t.__transition,o=!0;if(a){n=null==n?null:n+"";for(u in a)(r=a[u]).name===n?(i=r.state>e.a&&r.states.b||Math.abs(m-y)>s.b)&&(d.splice(h,0,s.d.push(r.i(f.b)(l,_,Math.abs(b-t)s.b?[t,Math.abs(g-t)s.b?[Math.abs(y-i)s.b?[e,Math.abs(g-e)s.b?[Math.abs(y-n)=-o.f)){var y=h*h+d*d,_=p*p+v*v,b=(v*y-d*_)/g,m=(h*_-p*y)/g,x=f.pop()||new e;x.arc=t,x.site=u,x.x=b+s,x.y=(x.cy=m+l)+Math.sqrt(b*b+m*m),t.circle=x;for(var w=null,M=o.g._;M;)if(x.yn.count?-1:0}),n.length>10){var e=n.slice(0,9),i=n.slice(9),u=0;i.forEach(function(t){return u+=t.count}),n=e,n.push({name:"**Other**",count:u})}return n},t.prototype.updateGraph=function(){if(!this.stopped){var t=this.processData(this.datasource.getProgramCounterStats());this.g.selectAll(".arc").remove();this.g.selectAll(".arc").data(this.pie(t)).enter().append("g").attr("class","arc").append("path").attr("d",this.path).attr("fill",function(t,n){return i(t.data.name)}).attr("fill-opacity",.65).attr("stroke",function(t,n){return i(t.data.name)}),this.legend.selectAll(".entry").remove();var n=this.legend.selectAll(".entry").data(t).enter().append("g").attr("class","entry").attr("transform",function(t,n){return"translate(0,"+35*n+")"});n.append("rect").attr("width",30).attr("height",20).attr("fill",function(t,n){return i(t.name)}).attr("fill-opacity",.65).attr("stroke",function(t,n){return i(t.name)}),n.append("text").text(function(t){return t.name}).attr("x",40).attr("y",15)}window.requestAnimationFrame(this.updateGraph.bind(this))},t.prototype.stop=function(){this.stopped=!0},t.prototype.continue=function(){this.stopped=!1},t}();n.ProgramStatsGraph=o},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=r(33),i=function(){function t(t,n){var r=this;this.configuration=t,this.datasource=n,this.span=1e4,this.stopped=!1,this.paths=[],this.height=275,this.width=700,this.margins={top:30,right:0,left:40,bottom:60},this.annotations=[],this.spaths=[],this.sheight=75,this.start=(new Date).getTime();var i=this.start;this.span=1e3*t.timespan,this.x=e.scaleTime().range([0,this.width]).domain([i-this.span,i]),this.y=e.scaleLinear().range([this.height,0]).domain([t.minimum,t.maximum]),this.line=e.line().x(function(t){return r.x(t.timestamp)}).y(function(t){return r.y(t.value)});var u=e.select(".graph-container").append("div").attr("class","graph-wrapper");u.append("h3").text(t.label),this.svg=u.append("svg").attr("width",this.width+this.margins.left+this.margins.right).attr("height",this.height+this.margins.top+this.margins.bottom+this.sheight+50),this.g=this.svg.append("g").attr("transform","translate("+this.margins.left+", "+this.margins.top+")"),this.ag=this.g.append("g"),this.xAxis=this.g.append("g").attr("transform","translate(0,"+this.height+")").call(e.axisBottom(this.x)),this.yAxis=this.g.append("g").call(e.axisLeft(this.y));var a=this.svg.append("g").attr("class","legend").attr("transform","translate("+(this.margins.left+10)+", "+(this.margins.top+this.height+30)+")").attr("stroke-width",1).attr("stroke","black").attr("fill","none"),o=10;this.sx=e.scaleTime().range([0,this.width]).domain([i,i+1e3]),this.sy=e.scaleLinear().range([this.sheight,0]).domain([t.minimum,t.maximum]),this.sg=this.svg.append("g").attr("transform","translate("+this.margins.left+", "+(this.margins.top+this.height+this.margins.bottom+25)+")"),this.sxAxis=this.sg.append("g").attr("transform","translate(0,"+this.sheight+")").call(e.axisBottom(this.sx)),this.syAxis=this.sg.append("g").call(e.axisLeft(this.sy).ticks(4)),this.sline=e.line().x(function(t){return r.sx(t.timestamp)}).y(function(t){return r.sy(t.value)}),this.hrect=this.sg.append("rect").style("fill","rgba(0, 0, 0, 0.1)").style("stroke","rgba(0, 0, 0, 0.45)").attr("x",0).attr("y",0).attr("height",this.sheight).attr("width",this.width),this.configuration.plots.forEach(function(t,n){var e=r.g.append("path").attr("fill","none").attr("stroke",t.color).attr("stroke-linejoin","round").attr("stroke-linecap","round").attr("stroke-width",1.5);r.paths.push({graphId:t.graphId,path:e});var i=r.sg.append("path").attr("fill","none").attr("stroke",t.color).attr("stroke-linejoin","round").attr("stroke-linecap","round").attr("stroke-width",1);r.spaths.push({graphId:t.graphId,path:i});var u=a.append("g").attr("class","legend-entry").attr("transform","translate("+o+", 0)");u.append("rect").attr("width",20).attr("height",10).attr("x",5).attr("y",10).attr("fill",t.color);var c=u.append("text").text((t.label||t.graphId)+")").attr("x",35).attr("y",20).style("font-size","13px").style("font-weight","bold").style("fill","black").style("stroke","none").style("verticle-align","middle");o+=c.node().getComputedTextLength()+50}),window.requestAnimationFrame(this.updateGraph.bind(this))}return t.prototype.stop=function(){this.stopped=!0,this.annotations.push({timestamp:(new Date).getTime(),type:"stopped"})},t.prototype.continue=function(){this.stopped=!1,this.annotations.push({timestamp:(new Date).getTime(),type:"continued"})},t.prototype.updateGraph=function(){var t=this;if(!this.stopped){var n=(new Date).getTime();this.x.domain([n-this.span,n]),this.xAxis.call(e.axisBottom(this.x));var r=this.annotations.filter(function(r){return r.timestamp>=n-t.span&&r.timestamp<=n}),i=this.ag.selectAll("line.annotation").data(r).attr("x1",function(n){return t.x(n.timestamp)}).attr("x2",function(n){return t.x(n.timestamp)});i.enter().append("line").classed("annotation",!0).attr("stroke",function(t){return"continued"===t.type?"rgba(0, 255, 0, 0.25)":"rgba(255, 0, 0, 0.25)"}).attr("stroke-width",1).attr("y1",0).attr("y2",this.height).attr("x1",function(n){return t.x(n.timestamp)}).attr("x2",function(n){return t.x(n.timestamp)}),i.exit().remove(),this.paths.forEach(function(r){try{var e=t.datasource.getData(r.graphId,n-t.span,n,!0);r.path.datum(e).attr("d",t.line)}catch(t){console.log("Error Updating Plot: ",t)}});var u=this.start;this.spaths.forEach(function(n){var r=t.datasource.oldestPoint(n.graphId);r&&r.timestamp0){var r=this.points[this.points.length-1];this.points=this.points.filter(function(t){return t.timestamp>=n}),0===this.points.length&&this.points.push(r),this.path.datum(this.points).attr("d",this.line)}}catch(t){console.log("Error Updating Plot: ",t)}window.requestAnimationFrame(this.updateGraph.bind(this))},t}();n.XYGraph=i},function(t,n,r){"use strict";var e=this&&this.__assign||Object.assign||function(t){for(var n,r=1,e=arguments.length;rn.timestamp?1:t.timestamp=n&&t.timestamp<=r}),e&&i.length>=1){var u=i[i.length-1];i.push({timestamp:r,value:u.value})}return i},t.prototype.sampleData=function(t,n,r,e){void 0===r&&(r=null),void 0===e&&(e=null);var i=this.data[t];if(!i)return[];if(null===r&&(r=0),null==e&&(e=(new Date).getTime()),i=i.filter(function(t){return t.timestamp>=r&&t.timestamp<=e}),i.length>1.5*n){var u=Math.round(i.length/n);i=i.filter(function(t,n){return n%u==0})}return i},t.prototype.oldestPoint=function(t){return this.data[t]?this.data[t][0]:null},t.prototype.subscribe=function(t,n){this.subscriptions[t]||(this.subscriptions[t]=[]),this.subscriptions[t].push(n)},t}();n.GraphDataSource=i},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";var e=r(97);n.a=function(t,n,r){var i,u,a,o,c=t.length,f=n.length,s=new Array(c*f);for(null==r&&(r=e.b),i=a=0;it?1:n>=t?0:NaN}},function(t,n,r){"use strict";var e=r(91),i=r(92),u=r(176),a=r(95),o=r(180),c=r(98),f=r(100),s=r(99);n.a=function(){function t(t){var e,u,a=t.length,o=new Array(a);for(e=0;ep;)v.pop(),--g;var y,_=new Array(g+1);for(e=0;e<=g;++e)y=_[e]=[],y.x0=e>0?v[e-1]:d,y.x1=e=r)for(e=r;++ue&&(e=r)}else for(;++u=r)for(e=r;++ue&&(e=r);return e}},function(t,n,r){"use strict";var e=r(21);n.a=function(t,n){var i,u=t.length,a=u,o=-1,c=0;if(null==n)for(;++o=0;)for(e=t[i],n=e.length;--n>=0;)r[--a]=e[n];return r}},function(t,n,r){"use strict";n.a=function(t,n){for(var r=n.length,e=new Array(r);r--;)e[r]=t[n[r]];return e}},function(t,n,r){"use strict";var e=r(17);n.a=function(t,n){if(r=t.length){var r,i,u=0,a=0,o=t[a];for(null==n&&(n=e.a);++uMath.abs(t[1]-nt[1])?F=!0:j=!0),nt=t,O=!0,r.i(b.a)(),e()}function e(){var t;switch(L=nt[0]-tt[0],U=nt[1]-tt[1],B){case x:case m:H&&(L=Math.max(Z-l,Math.min($-_,L)),h=l+L,A=_+L),X&&(U=Math.max(Q-p,Math.min(J-P,U)),y=p+U,R=P+U);break;case w:H<0?(L=Math.max(Z-l,Math.min($-l,L)),h=l+L,A=_):H>0&&(L=Math.max(Z-_,Math.min($-_,L)),h=l,A=_+L),X<0?(U=Math.max(Q-p,Math.min(J-p,U)),y=p+U,R=P):X>0&&(U=Math.max(Q-P,Math.min(J-P,U)),y=p,R=P+U);break;case M:H&&(h=Math.max(Z,Math.min($,l-L*H)),A=Math.max(Z,Math.min($,_+L*H))),X&&(y=Math.max(Q,Math.min(J,p-U*X)),R=Math.max(Q,Math.min(J,P+U*X)))}A0&&(l=h-L),X<0?P=R-U:X>0&&(p=y-U),B=x,it.attr("cursor",S.selection),e());break;default:return}r.i(b.a)()}function s(){switch(v.q.keyCode){case 16:K&&(j=F=K=!1,e());break;case 18:B===M&&(H<0?_=A:H>0&&(l=h),X<0?P=R:X>0&&(p=y),B=w,e());break;case 32:B===x&&(v.q.altKey?(H&&(_=A-L*H,l=h+L*H),X&&(P=R-U*X,p=y+U*X),B=M):(H<0?_=A:H>0&&(l=h),X<0?P=R:X>0&&(p=y),B=w),it.attr("cursor",S[Y]),e());break;default:return}r.i(b.a)()}if(v.q.touches){if(v.q.changedTouches.length=l.length)return null!=c&&n.sort(c),null!=f?f(n):n;for(var a,s,h,d=-1,p=n.length,v=l[e++],g=r.i(o.a)(),y=i();++dl.length)return t;var e,i=h[r-1];return null!=f&&r>=l.length?e=t.entries():(e=[],t.each(function(t,i){e.push({key:i,values:n(t,r)})})),null!=i?e.sort(function(t,n){return i(t.key,n.key)}):e}var c,f,s,l=[],h=[];return s={object:function(n){return t(n,0,e,i)},map:function(n){return t(n,0,u,a)},entries:function(r){return n(t(r,0,u,a),0)},key:function(t){return l.push(t),s},sortKeys:function(t){return h[l.length-1]=t,s},sortValues:function(t){return c=t,s},rollup:function(t){return f=t,s}}}},function(t,n,r){"use strict";function e(){}function i(t,n){var r=new e;if(t instanceof e)t.each(function(t){r.add(t)});else if(t){var i=-1,u=t.length;if(null==n)for(;++iM?Math.pow(t,1/3):t/w+m}function o(t){return t>x?t*t*t:w*(t-m)}function c(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function f(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function s(t){if(t instanceof h)return new h(t.h,t.c,t.l,t.opacity);t instanceof u||(t=e(t));var n=Math.atan2(t.b,t.a)*v.a;return new h(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function l(t,n,r,e){return 1===arguments.length?s(t):new h(t,n,r,null==e?1:e)}function h(t,n,r,e){this.h=+t,this.c=+n,this.l=+r,this.opacity=+e}var d=r(53),p=r(52),v=r(104);n.a=i,n.b=l;var g=18,y=.95047,_=1,b=1.08883,m=4/29,x=6/29,w=3*x*x,M=x*x*x;r.i(d.a)(u,i,r.i(d.b)(p.f,{brighter:function(t){return new u(this.l+g*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new u(this.l-g*(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,r=isNaN(this.b)?t:t-this.b/200;return t=_*o(t),n=y*o(n),r=b*o(r),new p.d(c(3.2404542*n-1.5371385*t-.4985314*r),c(-.969266*n+1.8760108*t+.041556*r),c(.0556434*n-.2040259*t+1.0572252*r),this.opacity)}})),r.i(d.a)(h,l,r.i(d.b)(p.f,{brighter:function(t){return new h(this.h,this.c,this.l+g*(null==t?1:t),this.opacity)},darker:function(t){return new h(this.h,this.c,this.l-g*(null==t?1:t),this.opacity)},rgb:function(){return e(this).rgb()}}))},function(t,n,r){"use strict";function e(){for(var t,n=0,r=arguments.length,e={};n=0&&(r=t.slice(e+1),t=t.slice(0,e)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:r}})}function a(t,n){for(var r,e=0,i=t.length;e0)for(var r,e,i=new Array(r),u=0;uC}S.mouse("drag")}function p(){r.i(c.h)(c.q.view).on("mousemove.drag mouseup.drag",null),r.i(f.b)(c.q.view,x),r.i(s.a)(),S.mouse("end")}function v(){if(M.apply(this,arguments)){var t,n,e=c.q.changedTouches,i=k.apply(this,arguments),u=e.length;for(t=0;tp+s||iv+s||uf.index){var l=p-o.x-o.vx,d=v-o.y-o.vy,_=l*l+d*d;_t.r&&(t.r=t[n].r)}function f(){if(s){var n,r,e=s.length;for(l=new Array(e),n=0;n=v)){(t.data!==s||t.next)&&(0===a&&(a=r.i(i.a)(),f+=a*a),0===o&&(o=r.i(i.a)(),f+=o*o),f0&&(u=0)}return u>0?t.slice(0,u)+t.slice(r+1):t}},function(t,n,r){"use strict";n.a=function(t,n){return function(r,e){for(var i=r.length,u=[],a=0,o=t[0],c=0;i>0&&o>0&&(c+o+1>e&&(o=Math.max(1,e-c)),u.push(r.substring(i-=o,i+o)),!((c+=o+1)>e));)o=t[a=(a+1)%t.length];return u.reverse().join(n)}}},function(t,n,r){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,r){"use strict";var e=r(59);n.a=function(t,n){var i=r.i(e.a)(t,n);if(!i)return t+"";var u=i[0],a=i[1];return a<0?"0."+new Array(-a).join("0")+u:u.length>a+1?u.slice(0,a+1)+"."+u.slice(a+1):u+new Array(a-u.length+2).join("0")}},function(t,n,r){"use strict";n.a=function(t){return t}},function(t,n,r){"use strict";var e=r(34);n.a=function(t){return Math.max(0,-r.i(e.a)(Math.abs(t)))}},function(t,n,r){"use strict";var e=r(34);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r.i(e.a)(n)/3)))-r.i(e.a)(Math.abs(t)))}},function(t,n,r){"use strict";var e=r(34);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,r.i(e.a)(n)-r.i(e.a)(t))+1}},function(t,n,r){"use strict";var e=r(113);r.d(n,"a",function(){return e.a});var i=r(247);r.d(n,"b",function(){return i.a});var u=r(248);r.d(n,"c",function(){return u.a});var a=r(114);r.d(n,"d",function(){return a.a});var o=r(115);r.d(n,"e",function(){return o.a});var c=r(117);r.d(n,"f",function(){return c.a});var f=r(249);r.d(n,"g",function(){return f.a});var s=r(35);r.d(n,"h",function(){return s.a});var l=r(252);r.d(n,"i",function(){return l.a});var h=r(121);r.d(n,"j",function(){return h.a});var d=r(253);r.d(n,"k",function(){return d.a}),r.d(n,"l",function(){return d.b});var p=r(254);r.d(n,"m",function(){return p.a});var v=r(122);r.d(n,"n",function(){return v.a});var g=r(258);r.d(n,"o",function(){return g.a});var y=r(126);r.d(n,"p",function(){return y.a});var _=r(261);r.d(n,"q",function(){return _.a});var b=r(262);r.d(n,"r",function(){return b.a}),r.d(n,"s",function(){return b.b});var m=r(263);r.d(n,"t",function(){return m.a}),r.d(n,"u",function(){return m.b});var x=r(264);r.d(n,"v",function(){return x.a}),r.d(n,"w",function(){return x.b});var w=r(62);r.d(n,"x",function(){return w.a}),r.d(n,"y",function(){return w.b});var M=r(265);r.d(n,"z",function(){return M.a}),r.d(n,"A",function(){return M.b});var k=r(127);r.d(n,"B",function(){return k.a}),r.d(n,"C",function(){return k.b});var T=r(267);r.d(n,"D",function(){return T.a}),r.d(n,"E",function(){return T.b});var A=r(268);r.d(n,"F",function(){return A.a});var S=r(8);r.d(n,"G",function(){return S.a}),r.d(n,"H",function(){return S.b});var E=r(64);r.d(n,"I",function(){return E.a}),r.d(n,"J",function(){return E.b});var N=r(269);r.d(n,"K",function(){return N.a}),r.d(n,"L",function(){return N.b});var C=r(270);r.d(n,"M",function(){return C.a}),r.d(n,"N",function(){return C.b});var q=r(272);r.d(n,"O",function(){return q.a}),r.d(n,"P",function(){return q.b});var z=r(273);r.d(n,"Q",function(){return z.a}),r.d(n,"R",function(){return z.b});var P=r(36);r.d(n,"S",function(){return P.a});var D=r(13);r.d(n,"T",function(){return D.a});var R=r(37);r.d(n,"U",function(){return R.a})},function(t,n,r){"use strict";function e(t,n){x.push(w=[d=t,v=t]),ng&&(g=n)}function i(t,n){var e=r.i(T.a)([t*A.g,n*A.g]);if(m){var i=r.i(T.b)(m,e),u=[i[1],-i[0],0],a=r.i(T.b)(u,i);r.i(T.c)(a),a=r.i(T.g)(a);var o,c=t-y,f=c>0?1:-1,l=a[0]*A.h*f,h=r.i(A.p)(c)>180;h^(f*yg&&(g=o):(l=(l+360)%360-180,h^(f*yg&&(g=n))),h?ts(d,v)&&(v=t):s(t,v)>s(d,v)&&(d=t):v>=d?(tv&&(v=t)):t>y?s(d,t)>s(d,v)&&(v=t):s(t,v)>s(d,v)&&(d=t)}else x.push(w=[d=t,v=t]);ng&&(g=n),m=e,y=t}function u(){N.point=i}function a(){w[0]=d,w[1]=v,N.point=e,m=null}function o(t,n){if(m){var e=t-y;E.add(r.i(A.p)(e)>180?e+(e>0?360:-360):e)}else _=t,b=n;k.b.point(t,n),i(t,n)}function c(){k.b.lineStart()}function f(){o(_,b),k.b.lineEnd(),r.i(A.p)(E)>A.o&&(d=-(v=180)),w[0]=d,w[1]=v,m=null}function s(t,n){return(n-=t)<0?n+360:n}function l(t,n){return t[0]-n[0]}function h(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nA.o?g=90:E<-A.o&&(p=-90),w[0]=d,w[1]=v}};n.a=function(t){var n,e,i,u,a,o,c;if(g=v=-(d=p=1/0),x=[],r.i(S.a)(t,N),e=x.length){for(x.sort(l),n=1,i=x[0],a=[i];ns(i[0],i[1])&&(i[1]=u[1]),s(u[0],i[1])>s(i[0],i[1])&&(i[0]=u[0])):a.push(i=u);for(o=-1/0,e=a.length-1,n=0,i=a[e];n<=e;i=u,++n)u=a[n],(c=s(i[1],u[0]))>o&&(o=c,d=u[0],v=i[1])}return x=w=null,d===1/0||p===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,p],[v,g]]}},function(t,n,r){"use strict";function e(t,n){t*=N.g,n*=N.g;var e=r.i(N.c)(n);i(e*r.i(N.c)(t),e*r.i(N.d)(t),r.i(N.d)(n))}function i(t,n,r){++d,v+=(t-v)/d,g+=(n-g)/d,y+=(r-y)/d}function u(){z.point=a}function a(t,n){t*=N.g,n*=N.g;var e=r.i(N.c)(n);A=e*r.i(N.c)(t),S=e*r.i(N.d)(t),E=r.i(N.d)(n),z.point=o,i(A,S,E)}function o(t,n){t*=N.g,n*=N.g;var e=r.i(N.c)(n),u=e*r.i(N.c)(t),a=e*r.i(N.d)(t),o=r.i(N.d)(n),c=r.i(N.e)(r.i(N.n)((c=S*o-E*a)*c+(c=E*u-A*o)*c+(c=A*a-S*u)*c),A*u+S*a+E*o);p+=c,_+=c*(A+(A=u)),b+=c*(S+(S=a)),m+=c*(E+(E=o)),i(A,S,E)}function c(){z.point=e}function f(){z.point=l}function s(){h(k,T),z.point=e}function l(t,n){k=t,T=n,t*=N.g,n*=N.g,z.point=h;var e=r.i(N.c)(n);A=e*r.i(N.c)(t),S=e*r.i(N.d)(t),E=r.i(N.d)(n),i(A,S,E)}function h(t,n){t*=N.g,n*=N.g;var e=r.i(N.c)(n),u=e*r.i(N.c)(t),a=e*r.i(N.d)(t),o=r.i(N.d)(n),c=S*o-E*a,f=E*u-A*o,s=A*a-S*u,l=r.i(N.n)(c*c+f*f+s*s),h=r.i(N.f)(l),d=l&&-h/l;x+=d*c,w+=d*f,M+=d*s,p+=h,_+=h*(A+(A=u)),b+=h*(S+(S=a)),m+=h*(E+(E=o)),i(A,S,E)}var d,p,v,g,y,_,b,m,x,w,M,k,T,A,S,E,N=r(0),C=r(10),q=r(13),z={sphere:C.a,point:e,lineStart:u,lineEnd:c,polygonStart:function(){z.lineStart=f,z.lineEnd=s},polygonEnd:function(){z.lineStart=u,z.lineEnd=c}};n.a=function(t){d=p=v=g=y=_=b=m=x=w=M=0,r.i(q.a)(t,z);var n=x,e=w,i=M,u=n*n+e*e+i*i;return u0)){if(a/=d,d<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=i-o,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a0)){if(a/=p,p<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=u-c,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a0&&(t[0]=o+l*d,t[1]=c+l*p),h<1&&(n[0]=o+h*d,n[1]=c+h*p),!0}}}}}},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t,n){return!(!t||!d.hasOwnProperty(t.type))&&d[t.type](t,n)}function i(t,n){return 0===r.i(s.a)(t,n)}function u(t,n){var e=r.i(s.a)(t[0],t[1]);return r.i(s.a)(t[0],n)+r.i(s.a)(n,t[1])<=e+l.o}function a(t,n){return!!r.i(f.a)(t.map(o),c(n))}function o(t){return t=t.map(c),t.pop(),t}function c(t){return[t[0]*l.g,t[1]*l.g]}var f=r(125),s=r(121),l=r(0),h={Feature:function(t,n){return e(t.geometry,n)},FeatureCollection:function(t,n){for(var r=t.features,i=-1,u=r.length;++ic.o}).map(v)).concat(r.i(o.v)(r.i(c.u)(h/m)*m,l,m).filter(function(t){return r.i(c.p)(t%w)>c.o}).map(g))}var u,a,f,s,l,h,d,p,v,g,y,_,b=10,m=b,x=90,w=360,M=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[y(s).concat(_(d).slice(1),y(f).reverse().slice(1),_(p).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(s=+n[0][0],f=+n[1][0],p=+n[0][1],d=+n[1][1],s>f&&(n=s,s=f,f=n),p>d&&(n=p,p=d,d=n),t.precision(M)):[[s,p],[f,d]]},t.extentMinor=function(n){return arguments.length?(a=+n[0][0],u=+n[1][0],h=+n[0][1],l=+n[1][1],a>u&&(n=a,a=u,u=n),h>l&&(n=h,h=l,l=n),t.precision(M)):[[a,h],[u,l]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(x=+n[0],w=+n[1],t):[x,w]},t.stepMinor=function(n){return arguments.length?(b=+n[0],m=+n[1],t):[b,m]},t.precision=function(n){return arguments.length?(M=+n,v=e(h,l,90),g=i(a,u,M),y=e(p,d,90),_=i(s,f,M),t):M},t.extentMajor([[-180,-90+c.o],[180,90-c.o]]).extentMinor([[-180,-80-c.o],[180,80+c.o]])}function a(){return u()()}var o=r(3),c=r(0);n.a=u,n.b=a},function(t,n,r){"use strict";var e=r(0);n.a=function(t,n){var i=t[0]*e.g,u=t[1]*e.g,a=n[0]*e.g,o=n[1]*e.g,c=r.i(e.c)(u),f=r.i(e.d)(u),s=r.i(e.c)(o),l=r.i(e.d)(o),h=c*r.i(e.c)(i),d=c*r.i(e.d)(i),p=s*r.i(e.c)(a),v=s*r.i(e.d)(a),g=2*r.i(e.f)(r.i(e.n)(r.i(e.t)(o-u)+c*s*r.i(e.t)(a-i))),y=r.i(e.d)(g),_=g?function(t){var n=r.i(e.d)(t*=g)/y,i=r.i(e.d)(g-t)/y,u=i*h+n*p,a=i*d+n*v,o=i*f+n*l;return[r.i(e.e)(a,u)*e.h,r.i(e.e)(o,r.i(e.n)(u*u+a*a))*e.h]}:function(){return[i*e.h,u*e.h]};return _.distance=g,_}},function(t,n,r){"use strict";function e(){g.point=i}function i(t,n){g.point=u,o=f=t,c=s=n}function u(t,n){v.add(s*t-f*n),f=t,s=n}function a(){u(o,c)}var o,c,f,s,l=r(19),h=r(0),d=r(10),p=r.i(l.a)(),v=r.i(l.a)(),g={point:d.a,lineStart:d.a,lineEnd:d.a,polygonStart:function(){g.lineStart=e,g.lineEnd=a},polygonEnd:function(){g.lineStart=g.lineEnd=g.point=d.a,p.add(r.i(h.p)(v)),v.reset()},result:function(){var t=p/2;return p.reset(),t}};n.a=g},function(t,n,r){"use strict";function e(t,n){y+=t,_+=n,++b}function i(){A.point=u}function u(t,n){A.point=a,e(p=t,v=n)}function a(t,n){var i=t-p,u=n-v,a=r.i(g.n)(i*i+u*u);m+=a*(p+t)/2,x+=a*(v+n)/2,w+=a,e(p=t,v=n)}function o(){A.point=e}function c(){A.point=s}function f(){l(h,d)}function s(t,n){A.point=l,e(h=p=t,d=v=n)}function l(t,n){var i=t-p,u=n-v,a=r.i(g.n)(i*i+u*u);m+=a*(p+t)/2,x+=a*(v+n)/2,w+=a,a=v*t-p*n,M+=a*(p+t),k+=a*(v+n),T+=3*a,e(p=t,v=n)}var h,d,p,v,g=r(0),y=0,_=0,b=0,m=0,x=0,w=0,M=0,k=0,T=0,A={point:e,lineStart:i,lineEnd:o,polygonStart:function(){A.lineStart=c,A.lineEnd=f},polygonEnd:function(){A.point=e,A.lineStart=i,A.lineEnd=o},result:function(){var t=T?[M/T,k/T]:w?[m/w,x/w]:b?[y/b,_/b]:[NaN,NaN];return y=_=b=m=x=w=M=k=T=0,t}};n.a=A},function(t,n,r){"use strict";function e(t){this._context=t}var i=r(0),u=r(10);n.a=e,e.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,i.b)}},result:u.a}},function(t,n,r){"use strict";var e=r(60),i=r(13),u=r(255),a=r(123),o=r(256),c=r(257),f=r(259),s=r(260);n.a=function(t,n){function l(t){return t&&("function"==typeof p&&d.pointRadius(+p.apply(this,arguments)),r.i(i.a)(t,h(d))),d.result()}var h,d,p=4.5;return l.area=function(t){return r.i(i.a)(t,h(u.a)),u.a.result()},l.measure=function(t){return r.i(i.a)(t,h(f.a)),f.a.result()},l.bounds=function(t){return r.i(i.a)(t,h(a.a)),a.a.result()},l.centroid=function(t){return r.i(i.a)(t,h(o.a)),o.a.result()},l.projection=function(n){return arguments.length?(h=null==n?(t=null,e.a):(t=n).stream,l):t},l.context=function(t){return arguments.length?(d=null==t?(n=null,new s.a):new c.a(n=t),"function"!=typeof p&&d.pointRadius(p),l):n},l.pointRadius=function(t){return arguments.length?(p="function"==typeof t?t:(d.pointRadius(+t),+t),l):p},l.projection(t).context(n)}},function(t,n,r){"use strict";function e(t,n){p.point=i,a=c=t,o=f=n}function i(t,n){c-=t,f-=n,d.add(r.i(l.n)(c*c+f*f)),c=t,f=n}var u,a,o,c,f,s=r(19),l=r(0),h=r(10),d=r.i(s.a)(),p={point:h.a,lineStart:function(){p.point=e},lineEnd:function(){u&&i(a,o),p.point=h.a},polygonStart:function(){u=!0},polygonEnd:function(){u=null},result:function(){var t=+d;return d.reset(),t}};n.a=p},function(t,n,r){"use strict";function e(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=e,e.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,r){"use strict";function e(t){var n=t.length;return{point:function(r,e){for(var i=-1;++i=.12&&i<.234&&e>=-.425&&e<-.214?v:i>=.166&&i<.234&&e>=-.214&&e<-.115?g:p).invert(t)},t.stream=function(t){return c&&f===t?c:c=e([p.stream(f=t),v.stream(t),g.stream(t)])},t.precision=function(t){return arguments.length?(p.precision(t),v.precision(t),g.precision(t),n()):p.precision()},t.scale=function(n){return arguments.length?(p.scale(n),v.scale(.35*n),g.scale(n),t.translate(p.translate())):p.scale()},t.translate=function(t){if(!arguments.length)return p.translate();var r=p.scale(),e=+t[0],u=+t[1];return s=p.translate(t).clipExtent([[e-.455*r,u-.238*r],[e+.455*r,u+.238*r]]).stream(y),l=v.translate([e-.307*r,u+.201*r]).clipExtent([[e-.425*r+i.o,u+.12*r+i.o],[e-.214*r-i.o,u+.234*r-i.o]]).stream(y),h=g.translate([e-.205*r,u+.212*r]).clipExtent([[e-.214*r+i.o,u+.166*r+i.o],[e-.115*r-i.o,u+.234*r-i.o]]).stream(y),n()},t.fitExtent=function(n,e){return r.i(o.a)(t,n,e)},t.fitSize=function(n,e){return r.i(o.b)(t,n,e)},t.fitWidth=function(n,e){return r.i(o.c)(t,n,e)},t.fitHeight=function(n,e){return r.i(o.d)(t,n,e)},t.scale(1070)}},function(t,n,r){"use strict";var e=r(0),i=r(24),u=r(8);r.d(n,"b",function(){return a});var a=r.i(i.b)(function(t){return r.i(e.n)(2/(1+t))});a.invert=r.i(i.a)(function(t){return 2*r.i(e.f)(t/2)}),n.a=function(){return r.i(u.a)(a).scale(124.75).clipAngle(179.999)}},function(t,n,r){"use strict";var e=r(0),i=r(24),u=r(8);r.d(n,"b",function(){return a});var a=r.i(i.b)(function(t){return(t=r.i(e.s)(t))&&t/r.i(e.d)(t)});a.invert=r.i(i.a)(function(t){return t}),n.a=function(){return r.i(u.a)(a).scale(79.4188).clipAngle(179.999)}},function(t,n,r){"use strict";function e(t){return r.i(u.j)((u.k+t)/2)}function i(t,n){function i(t,n){f>0?n<-u.k+u.o&&(n=-u.k+u.o):n>u.k-u.o&&(n=u.k-u.o);var i=f/r.i(u.r)(e(n),c);return[i*r.i(u.d)(c*t),f-i*r.i(u.c)(c*t)]}var a=r.i(u.c)(t),c=t===n?r.i(u.d)(t):r.i(u.i)(a/r.i(u.c)(n))/r.i(u.i)(e(n)/e(t)),f=a*r.i(u.r)(e(t),c)/c;return c?(i.invert=function(t,n){var e=f-n,i=r.i(u.q)(c)*r.i(u.n)(t*t+e*e);return[r.i(u.e)(t,r.i(u.p)(e))/c*r.i(u.q)(e),2*r.i(u.l)(r.i(u.r)(f/i,1/c))-u.k]},i):o.b}var u=r(0),a=r(61),o=r(64);n.b=i,n.a=function(){return r.i(a.a)(i).scale(109.5).parallels([30,30])}},function(t,n,r){"use strict";function e(t,n){function e(t,n){var e=c-n,u=o*t;return[e*r.i(i.d)(u),c-e*r.i(i.c)(u)]}var u=r.i(i.c)(t),o=t===n?r.i(i.d)(t):(u-r.i(i.c)(n))/(n-t),c=u/o+t;return r.i(i.p)(o)u.o&&--a>0);return[t/(.8707+(o=i*i)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),i]},n.a=function(){return r.i(i.a)(e).scale(175.295)}},function(t,n,r){"use strict";function e(t,n){return[r.i(i.c)(n)*r.i(i.d)(t),r.i(i.d)(n)]}var i=r(0),u=r(24),a=r(8);n.b=e,e.invert=r.i(u.a)(i.f),n.a=function(){return r.i(a.a)(e).scale(249.5).clipAngle(90+i.o)}},function(t,n,r){"use strict";function e(t){return r.i(o.b)({point:function(n,r){n=t(n,r),this.stream.point(n[0],n[1])}})}function i(t,n){function e(i,u,o,c,s,l,h,d,p,v,g,y,_,b){var m=h-i,x=d-u,w=m*m+x*x;if(w>4*n&&_--){var M=c+v,k=s+g,T=l+y,A=r.i(a.n)(M*M+k*k+T*T),S=r.i(a.f)(T/=A),E=r.i(a.p)(r.i(a.p)(T)-1)n||r.i(a.p)((m*z+x*P)/w-.5)>.3||c*v+s*g+l*y2?t[2]+90:90]):(t=i(),[t[0],t[1],t[2]-90])},i([0,0,90]).scale(159.155)}},function(t,n,r){"use strict";var e=r(276);r.d(n,"a",function(){return e.a});var i=r(66);r.d(n,"b",function(){return i.a});var u=r(288);r.d(n,"c",function(){return u.a});var a=r(130);r.d(n,"d",function(){return a.a});var o=r(129);r.d(n,"e",function(){return o.a});var c=r(289);r.d(n,"f",function(){return c.a});var f=r(290);r.d(n,"g",function(){return f.a});var s=r(291);r.d(n,"h",function(){return s.a});var l=r(293);r.d(n,"i",function(){return l.a});var h=r(292);r.d(n,"j",function(){return h.a});var d=r(25);r.d(n,"k",function(){return d.a});var p=r(38);r.d(n,"l",function(){return p.a});var v=r(295);r.d(n,"m",function(){return v.a});var g=r(67);r.d(n,"n",function(){return g.a});var y=r(294);r.d(n,"o",function(){return y.a})},function(t,n,r){"use strict";function e(t){for(var n,r,e=t.length;e;)r=Math.random()*e--|0,n=t[e],t[e]=t[r],t[r]=n;return t}r.d(n,"b",function(){return i}),n.a=e;var i=Array.prototype.slice},function(t,n,r){"use strict";function e(t,n){return t.parent===n.parent?1:2}function i(t){return t.reduce(u,0)/t.length}function u(t,n){return t+n.x}function a(t){return 1+t.reduce(o,0)}function o(t,n){return Math.max(t,n.y)}function c(t){for(var n;n=t.children;)t=n[0];return t}function f(t){for(var n;n=t.children;)t=n[n.length-1];return t}n.a=function(){function t(t){var e,s=0;t.eachAfter(function(t){var r=t.children;r?(t.x=i(r),t.y=a(r)):(t.x=e?s+=n(t,e):0,t.y=0,e=t)});var l=c(t),h=f(t),d=l.x-n(l,h)/2,p=h.x+n(h,l)/2;return t.eachAfter(o?function(n){n.x=(n.x-t.x)*r,n.y=(t.y-n.y)*u}:function(n){n.x=(n.x-d)/(p-d)*r,n.y=(1-(t.y?n.y/t.y:1))*u})}var n=e,r=1,u=1,o=!1;return t.separation=function(r){return arguments.length?(n=r,t):n},t.size=function(n){return arguments.length?(o=!1,r=+n[0],u=+n[1],t):o?null:[r,u]},t.nodeSize=function(n){return arguments.length?(o=!0,r=+n[0],u=+n[1],t):o?[r,u]:null},t}},function(t,n,r){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,r){"use strict";function e(t){var n=0,r=t.children,e=r&&r.length;if(e)for(;--e>=0;)n+=r[e].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(e)}},function(t,n,r){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,r){"use strict";n.a=function(t){var n,r,e,i,u=this,a=[u];do{for(n=a.reverse(),a=[];u=n.pop();)if(t(u),r=u.children)for(e=0,i=r.length;e=0;--r)i.push(n[r]);return this}},function(t,n,r){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,r){"use strict";n.a=function(){var t=this,n=[];return t.each(function(r){r!==t&&n.push({source:r.parent,target:r})}),n}},function(t,n,r){"use strict";function e(t,n){if(t===n)return t;var r=t.ancestors(),e=n.ancestors(),i=null;for(t=r.pop(),n=e.pop();t===n;)i=t,t=r.pop(),n=e.pop();return i}n.a=function(t){for(var n=this,r=e(n,t),i=[n];n!==r;)n=n.parent,i.push(n);for(var u=i.length;t!==r;)i.splice(u,0,t),t=t.parent;return i}},function(t,n,r){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,r){"use strict";n.a=function(t){return this.eachAfter(function(n){for(var r=+t(n.data)||0,e=n.children,i=e&&e.length;--i>=0;)r+=e[i].value;n.value=r})}},function(t,n,r){"use strict";function e(t){return Math.sqrt(t.value)}function i(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function u(t,n){return function(e){if(i=e.children){var i,u,a,c=i.length,f=t(e)*n||0;if(f)for(u=0;u0)throw new Error("cycle");return i}var n=e,s=i;return t.id=function(e){return arguments.length?(n=r.i(u.a)(e),t):n},t.parentId=function(n){return arguments.length?(s=r.i(u.a)(n),t):s},t}},function(t,n,r){"use strict";function e(t,n){return t.parent===n.parent?1:2}function i(t){var n=t.children;return n?n[0]:t.t}function u(t){var n=t.children;return n?n[n.length-1]:t.t}function a(t,n,r){var e=r/(n.i-t.i);n.c-=e,n.s+=r,t.c+=e,n.z+=r,n.m+=r}function o(t){for(var n,r=0,e=0,i=t.children,u=i.length;--u>=0;)n=i[u],n.z+=r,n.m+=r,r+=n.s+(e+=n.c)}function c(t,n,r){return t.a.parent===n.parent?t.a:r}function f(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 s(t){for(var n,r,e,i,u,a=new f(t,0),o=[a];n=o.pop();)if(e=n._.children)for(n.children=new Array(u=e.length),i=u-1;i>=0;--i)o.push(r=n.children[i]=new f(e[i],i)),r.parent=n;return(a.parent=new f(null,0)).children=[a],a}var l=r(66);f.prototype=Object.create(l.b.prototype),n.a=function(){function t(t){var e=s(t);if(e.eachAfter(n),e.parent.m=-e.z,e.eachBefore(r),v)t.eachBefore(l);else{var i=t,u=t,a=t;t.eachBefore(function(t){t.xu.x&&(u=t),t.depth>a.depth&&(a=t)});var o=i===u?1:h(i,u)/2,c=o-i.x,f=d/(u.x+o+c),g=p/(a.depth||1);t.eachBefore(function(t){t.x=(t.x+c)*f,t.y=t.depth*g})}return t}function n(t){var n=t.children,r=t.parent.children,e=t.i?r[t.i-1]:null;if(n){o(t);var i=(n[0].z+n[n.length-1].z)/2;e?(t.z=e.z+h(t._,e._),t.m=t.z-i):t.z=i}else e&&(t.z=e.z+h(t._,e._));t.parent.A=f(t,e,t.parent.A||r[0])}function r(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t,n,r){if(n){for(var e,o=t,f=t,s=n,l=o.parent.children[0],d=o.m,p=f.m,v=s.m,g=l.m;s=u(s),o=i(o),s&&o;)l=i(l),f=u(f),f.a=t,e=s.z+v-o.z-d+h(s._,o._),e>0&&(a(c(s,t,r),t,e),d+=e,p+=e),v+=s.m,d+=o.m,g+=l.m,p+=f.m;s&&!u(f)&&(f.t=s,f.m+=v-p),o&&!i(l)&&(l.t=o,l.m+=d-g,r=t)}return r}function l(t){t.x*=d,t.y=t.depth*p}var h=e,d=1,p=1,v=null;return t.separation=function(n){return arguments.length?(h=n,t):h},t.size=function(n){return arguments.length?(v=!1,d=+n[0],p=+n[1],t):v?null:[d,p]},t.nodeSize=function(n){return arguments.length?(v=!0,d=+n[0],p=+n[1],t):v?[d,p]:null},t}},function(t,n,r){"use strict";n.a=function(t,n,r,e,i){function u(t,n,r,e,i,a,o){if(t>=n-1){var f=c[t];return f.x0=e,f.y0=i,f.x1=a,f.y1=o,void 0}for(var l=s[t],h=r/2+l,d=t+1,p=n-1;d>>1;s[v]o-i){var _=(e*y+a*g)/r;u(t,d,g,e,i,_,o),u(d,n,y,_,i,a,o)}else{var b=(i*y+o*g)/r;u(t,d,g,e,i,a,b),u(d,n,y,e,b,a,o)}}var a,o,c=t.children,f=c.length,s=new Array(f+1);for(s[0]=o=a=0;a1?n:1)},a}(u.c)},function(t,n,r){"use strict";var e=r(25),i=r(38);n.a=function(t,n,r,u,a){(1&t.depth?i.a:e.a)(t,n,r,u,a)}},function(t,n,r){"use strict";function e(t){return function n(e){function a(n,a){var o=t((n=r.i(i.f)(n)).h,(a=r.i(i.f)(a)).h),c=r.i(u.a)(n.s,a.s),f=r.i(u.a)(n.l,a.l),s=r.i(u.a)(n.opacity,a.opacity);return function(t){return n.h=o(t),n.s=c(t),n.l=f(Math.pow(t,e)),n.opacity=s(t),n+""}}return e=+e,a.gamma=n,a}(1)}var i=r(7),u=r(26);r.d(n,"b",function(){return a}),n.a=e(u.b);var a=e(u.a)},function(t,n,r){"use strict";function e(t){return function(n,e){var a=t((n=r.i(i.e)(n)).h,(e=r.i(i.e)(e)).h),o=r.i(u.a)(n.c,e.c),c=r.i(u.a)(n.l,e.l),f=r.i(u.a)(n.opacity,e.opacity);return function(t){return n.h=a(t),n.c=o(t),n.l=c(t),n.opacity=f(t),n+""}}}var i=r(7),u=r(26);r.d(n,"b",function(){return a}),n.a=e(u.b);var a=e(u.a)},function(t,n,r){"use strict";function e(t){return function(n,e){var a=t((n=r.i(i.c)(n)).h,(e=r.i(i.c)(e)).h),o=r.i(u.a)(n.s,e.s),c=r.i(u.a)(n.l,e.l),f=r.i(u.a)(n.opacity,e.opacity);return function(t){return n.h=a(t),n.s=o(t),n.l=c(t),n.opacity=f(t),n+""}}}var i=r(7),u=r(26);r.d(n,"b",function(){return a}),n.a=e(u.b);var a=e(u.a)},function(t,n,r){"use strict";function e(t,n){var e=r.i(u.a)((t=r.i(i.d)(t)).l,(n=r.i(i.d)(n)).l),a=r.i(u.a)(t.a,n.a),o=r.i(u.a)(t.b,n.b),c=r.i(u.a)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=a(n),t.b=o(n),t.opacity=c(n),t+""}}var i=r(7),u=r(26);n.a=e},function(t,n,r){"use strict";n.a=function(t,n){for(var r=new Array(n),e=0;e180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(a(e)+"rotate(",null,u)-2,x:r.i(i.a)(t,n)})):n&&e.push(a(e)+"rotate("+n+u)}function f(t,n,e,o){t!==n?o.push({i:e.push(a(e)+"skewX(",null,u)-2,x:r.i(i.a)(t,n)}):n&&e.push(a(e)+"skewX("+n+u)}function s(t,n,e,u,o,c){if(t!==e||n!==u){var f=o.push(a(o)+"scale(",null,",",null,")");c.push({i:f-4,x:r.i(i.a)(t,e)},{i:f-2,x:r.i(i.a)(n,u)})}else 1===e&&1===u||o.push(a(o)+"scale("+e+","+u+")")}return function(n,r){var e=[],i=[];return n=t(n),r=t(r),o(n.translateX,n.translateY,r.translateX,r.translateY,e,i),c(n.rotate,r.rotate,e,i),f(n.skewX,r.skewX,e,i),s(n.scaleX,n.scaleY,r.scaleX,r.scaleY,e,i),n=r=null,function(t){for(var n,r=-1,u=i.length;++ro)if(Math.abs(h*f-s*l)>o&&i){var p=r-a,v=e-c,g=f*f+s*s,y=p*p+v*v,_=Math.sqrt(g),b=Math.sqrt(d),m=i*Math.tan((u-Math.acos((g+d-y)/(2*_*b)))/2),x=m/b,w=m/_;Math.abs(x-1)>o&&(this._+="L"+(t+x*l)+","+(n+x*h)),this._+="A"+i+","+i+",0,0,"+ +(h*p>l*v)+","+(this._x1=t+w*f)+","+(this._y1=n+w*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,r,e,i,f){t=+t,n=+n,r=+r;var s=r*Math.cos(e),l=r*Math.sin(e),h=t+s,d=n+l,p=1^f,v=f?e-i:i-e;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+h+","+d:(Math.abs(this._x1-h)>o||Math.abs(this._y1-d)>o)&&(this._+="L"+h+","+d),r&&(v<0&&(v=v%a+a),v>c?this._+="A"+r+","+r+",0,1,"+p+","+(t-s)+","+(n-l)+"A"+r+","+r+",0,1,"+p+","+(this._x1=h)+","+(this._y1=d):v>o&&(this._+="A"+r+","+r+",0,"+ +(v>=u)+","+p+","+(this._x1=t+r*Math.cos(i))+","+(this._y1=n+r*Math.sin(i))))},rect:function(t,n,r,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +r+"v"+ +e+"h"+-r+"Z"},toString:function(){return this._}},n.a=i},function(t,n,r){"use strict";var e=r(308);r.d(n,"a",function(){return e.a});var i=r(309);r.d(n,"b",function(){return i.a});var u=r(312);r.d(n,"c",function(){return u.a});var a=r(310);r.d(n,"d",function(){return a.a});var o=r(313);r.d(n,"e",function(){return o.a})},function(t,n,r){"use strict";n.a=function(t){for(var n,r=-1,e=t.length,i=t[e-1],u=0;++ro!=f>o&&a<(c-r)*(o-e)/(f-e)+r&&(s=!s),c=r,f=e;return s}},function(t,n,r){"use strict";n.a=function(t,n,r){return(n[0]-t[0])*(r[1]-t[1])-(n[1]-t[1])*(r[0]-t[0])}},function(t,n,r){"use strict";function e(t,n){return t[0]-n[0]||t[1]-n[1]}function i(t){for(var n=t.length,e=[0,1],i=2,a=2;a1&&r.i(u.a)(t[e[i-2]],t[e[i-1]],t[a])<=0;)--i;e[i++]=a}return e.slice(0,i)}var u=r(311);n.a=function(t){if((r=t.length)<3)return null;var n,r,u=new Array(r),a=new Array(r);for(n=0;n=0;--n)l.push(t[u[o[n]][2]]);for(n=+f;n=(u=(v+y)/2))?v=u:y=u,(s=r>=(a=(g+_)/2))?g=a:_=a,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(o=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===o&&r===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+y)/2))?v=u:y=u,(s=r>=(a=(g+_)/2))?g=a:_=a}while((l=s<<1|f)==(h=(c>=a)<<1|o>=u));return i[h]=d,i[l]=p,t}function i(t){var n,r,i,u,a=t.length,o=new Array(a),c=new Array(a),f=1/0,s=1/0,l=-1/0,h=-1/0;for(r=0;rl&&(l=i),uh&&(h=u));for(lt||t>i||e>n||n>u))return this;var a,o,c=i-r,f=this._root;switch(o=(n<(e+u)/2)<<1|t<(r+i)/2){case 0:do{a=new Array(4),a[o]=f,f=a}while(c*=2,i=r+c,u=e+c,t>i||n>u);break;case 1:do{a=new Array(4),a[o]=f,f=a}while(c*=2,r=i-c,u=e+c,r>t||n>u);break;case 2:do{a=new Array(4),a[o]=f,f=a}while(c*=2,i=r+c,e=u-c,t>i||e>n);break;case 3:do{a=new Array(4),a[o]=f,f=a}while(c*=2,r=i-c,e=u-c,r>t||e>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=r,this._y0=e,this._x1=i,this._y1=u,this}},function(t,n,r){"use strict";n.a=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t}},function(t,n,r){"use strict";n.a=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(t,n,r){"use strict";var e=r(71);n.a=function(t,n,r){var i,u,a,o,c,f,s,l=this._x0,h=this._y0,d=this._x1,p=this._y1,v=[],g=this._root;for(g&&v.push(new e.a(g,l,h,d,p)),null==r?r=1/0:(l=t-r,h=n-r,d=t+r,p=n+r,r*=r);f=v.pop();)if(!(!(g=f.node)||(u=f.x0)>d||(a=f.y0)>p||(o=f.x1)=_)<<1|t>=y)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var b=t-+this._x.call(null,g.data),m=n-+this._y.call(null,g.data),x=b*b+m*m;if(x=(o=(p+g)/2))?p=o:g=o,(s=a>=(c=(v+y)/2))?v=c:y=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(r=n,h=l)}for(;d.data!==t;)if(e=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,e?(i?e.next=i:delete e.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(r?r[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,r){"use strict";n.a=function(){return this._root}},function(t,n,r){"use strict";n.a=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t}},function(t,n,r){"use strict";var e=r(71);n.a=function(t){var n,r,i,u,a,o,c=[],f=this._root;for(f&&c.push(new e.a(f,this._x0,this._y0,this._x1,this._y1));n=c.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,a=n.x1,o=n.y1)&&f.length){var s=(i+a)/2,l=(u+o)/2;(r=f[3])&&c.push(new e.a(r,s,l,a,o)),(r=f[2])&&c.push(new e.a(r,i,l,s,o)),(r=f[1])&&c.push(new e.a(r,s,u,a,l)),(r=f[0])&&c.push(new e.a(r,i,u,s,l))}return this}},function(t,n,r){"use strict";var e=r(71);n.a=function(t){var n,r=[],i=[];for(this._root&&r.push(new e.a(this._root,this._x0,this._y0,this._x1,this._y1));n=r.pop();){var u=n.node;if(u.length){var a,o=n.x0,c=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(c+s)/2;(a=u[0])&&r.push(new e.a(a,o,c,l,h)),(a=u[1])&&r.push(new e.a(a,l,c,f,h)),(a=u[2])&&r.push(new e.a(a,o,h,l,s)),(a=u[3])&&r.push(new e.a(a,l,h,f,s))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,r){"use strict";function e(t){return t[0]}n.a=e,n.b=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,r){"use strict";function e(t){return t[1]}n.a=e,n.b=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,r){"use strict";var e=r(329);r.d(n,"a",function(){return e.a})},function(t,n,r){"use strict";r.d(n,"a",function(){return e});var e=[].slice},function(t,n,r){"use strict";function e(t){this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function i(t){if(!t._start)try{u(t)}catch(n){if(t._tasks[t._ended+t._active-1])o(t,n);else if(!t._data)throw n}}function u(t){for(;t._start=t._waiting&&t._active=0;)if((r=t._tasks[e])&&(t._tasks[e]=null,r.abort))try{r.abort()}catch(n){}t._active=NaN,c(t)}function c(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function f(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new e(t)}var s=r(328);n.a=f;var l={};e.prototype=f.prototype={constructor:e,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=s.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),i(this),this},abort:function(){return null==this._error&&o(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,r){t.apply(null,[n].concat(r))},c(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,c(this),this}}},function(t,n,r){"use strict";var e=r(334);r.d(n,"a",function(){return e.a});var i=r(140);r.d(n,"b",function(){return i.a});var u=r(333);r.d(n,"c",function(){return u.a});var a=r(331);r.d(n,"d",function(){return a.a});var o=r(139);r.d(n,"e",function(){return o.a});var c=r(332);r.d(n,"f",function(){return c.a})},function(t,n,r){"use strict";var e=r(20),i=r(139);n.a=function t(n){function r(t){var r=i.a.source(n)(t);return function(){return r()/t}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(20);n.a=function t(n){function r(t){return function(){return-Math.log(1-n())/t}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(20),i=r(140);n.a=function t(n){function r(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(20);n.a=function t(n){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,1===arguments.length?(r=t,t=0):r-=t,function(){return n()*r+t}}return r.source=t,r}(e.a)},function(t,n,r){"use strict";var e=r(72);r.d(n,"a",function(){return e.a});var i=r(337);r.d(n,"b",function(){return i.a});var u=r(338);r.d(n,"c",function(){return u.a});var a=r(339);r.d(n,"d",function(){return a.a});var o=r(341);r.d(n,"e",function(){return o.a});var c=r(336);r.d(n,"f",function(){return c.a});var f=r(340);r.d(n,"g",function(){return f.a})},function(t,n,r){"use strict";var e=r(55),i=r(141);n.a=r.i(i.a)("text/csv",e.b)},function(t,n,r){"use strict";var e=r(40);n.a=r.i(e.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,r){"use strict";var e=r(40);n.a=r.i(e.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,r){"use strict";var e=r(40);n.a=r.i(e.a)("text/plain",function(t){return t.responseText})},function(t,n,r){"use strict";var e=r(55),i=r(141);n.a=r.i(i.a)("text/tab-separated-values",e.f)},function(t,n,r){"use strict";var e=r(40);n.a=r.i(e.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,r){"use strict";var e=r(343);r.d(n,"a",function(){return e.a}),r.d(n,"b",function(){return e.b});var i=r(349);r.d(n,"c",function(){return i.a});var u=r(28);r.d(n,"d",function(){return u.a});var a=r(350);r.d(n,"e",function(){return a.a});var o=r(144);r.d(n,"f",function(){return o.a}),r.d(n,"g",function(){return o.b});var c=r(351);r.d(n,"h",function(){return c.a}),r.d(n,"i",function(){return c.b});var f=r(352);r.d(n,"j",function(){return f.a});var s=r(353);r.d(n,"k",function(){return s.a});var l=r(356);r.d(n,"l",function(){return l.a});var h=r(145);r.d(n,"m",function(){return h.a});var d=r(358);r.d(n,"n",function(){return d.a});var p=r(344);r.d(n,"o",function(){return p.a});var v=r(346);r.d(n,"p",function(){return v.a});var g=r(347);r.d(n,"q",function(){return g.a});var y=r(345);r.d(n,"r",function(){return y.a});var _=r(348);r.d(n,"s",function(){return _.a});var b=r(354);r.d(n,"t",function(){return b.a}),r.d(n,"u",function(){return b.b}),r.d(n,"v",function(){return b.c});var m=r(359);r.d(n,"w",function(){return m.a}),r.d(n,"x",function(){return m.b}),r.d(n,"y",function(){return m.c}),r.d(n,"z",function(){return m.d});var x=r(355);r.d(n,"A",function(){return x.a})},function(t,n,r){"use strict";function e(){function t(){var t=c().length,e=s[1]0){for(;la)break;y.push(f)}}else for(;l=1;--c)if(!((f=o*c)a)break;y.push(f)}}else y=r.i(s.z)(l,d,Math.min(d-l,p)).map(g);return n?y.reverse():y},n.tickFormat=function(t,e){if(null==e&&(e=10===h?".0e":","),"function"!=typeof e&&(e=r.i(l.b)(e)),t===1/0)return e;null==t&&(t=10);var i=Math.max(1,h*t/n.ticks().length);return function(t){var n=t/g(Math.round(v(t)));return n*h0?c[n-1]:a[0],n=f?[s[f-1],c]:[s[n-1],s[n]]},t.copy=function(){return e().domain([o,c]).range(l)},r.i(a.b)(t)}var i=r(3),u=r(15),a=r(28);n.a=e},function(t,n,r){"use strict";var e=r(7),i=r(4);r.d(n,"b",function(){return u}),r.d(n,"c",function(){return a});var u=r.i(i.v)(r.i(e.f)(-100,.75,.35),r.i(e.f)(80,1.5,.8)),a=r.i(i.v)(r.i(e.f)(260,.75,.35),r.i(e.f)(80,1.5,.8)),o=r.i(e.f)();n.a=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return o.h=360*t-100,o.s=1.5-1.5*n,o.l=.8-.9*n,o+""}},function(t,n,r){"use strict";function e(t){function n(n){var r=(n-u)/(a-u);return t(o?Math.max(0,Math.min(1,r)):r)}var u=0,a=1,o=!1;return n.domain=function(t){return arguments.length?(u=+t[0],a=+t[1],n):[u,a]},n.clamp=function(t){return arguments.length?(o=!!t,n):o},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return e(t).domain([u,a]).clamp(o)},r.i(i.b)(n)}var i=r(28);n.a=e},function(t,n,r){"use strict";function e(){function t(t){if(t<=t)return a[r.i(i.a)(n,t,0,o)]}var n=[.5],a=[0,1],o=1;return t.domain=function(r){return arguments.length?(n=u.b.call(r),o=Math.min(n.length,a.length-1),t):n.slice()},t.range=function(r){return arguments.length?(a=u.b.call(r),o=Math.min(n.length,a.length-1),t):a.slice()},t.invertExtent=function(t){var r=a.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return e().domain(n).range(a)},t}var i=r(3),u=r(15);n.a=e},function(t,n,r){"use strict";var e=r(3),i=r(58);n.a=function(t,n,u){var a,o=t[0],c=t[t.length-1],f=r.i(e.B)(o,c,null==n?10:n);switch(u=r.i(i.e)(null==u?",f":u),u.type){case"s":var s=Math.max(Math.abs(o),Math.abs(c));return null!=u.precision||isNaN(a=r.i(i.g)(f,s))||(u.precision=a),r.i(i.c)(u,s);case"":case"e":case"g":case"p":case"r":null!=u.precision||isNaN(a=r.i(i.h)(f,Math.max(Math.abs(o),Math.abs(c))))||(u.precision=a-("e"===u.type));break;case"f":case"%":null!=u.precision||isNaN(a=r.i(i.f)(f))||(u.precision=a-2*("%"===u.type))}return r.i(i.b)(u)}},function(t,n,r){"use strict";var e=r(145),i=r(85),u=r(47);n.a=function(){return r.i(e.b)(u._7,u._5,u.P,u.N,u.L,u.J,u.h,u.d,i.d).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,r){"use strict";function e(t){var n=t.length;return function(r){return t[Math.max(0,Math.min(n-1,Math.floor(r*n)))]}}var i=r(27);r.d(n,"b",function(){return u}),r.d(n,"c",function(){return a}),r.d(n,"d",function(){return o}),n.a=e(r.i(i.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=e(r.i(i.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),a=e(r.i(i.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=e(r.i(i.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(){return new i}function i(){this._="@"+(++u).toString(36)}n.a=e;var u=0;i.prototype=e.prototype={constructor:i,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}}},function(t,n,r){"use strict";var e=r(79),i=r(42);n.a=function(t){var n=r.i(e.a)();return n.changedTouches&&(n=n.changedTouches[0]),r.i(i.a)(t,n)}},function(t,n,r){"use strict";var e=r(5);n.a=function(t){return"string"==typeof t?new e.b([[document.querySelector(t)]],[document.documentElement]):new e.b([[t]],e.c)}},function(t,n,r){"use strict";var e=r(5);n.a=function(t){return"string"==typeof t?new e.b([document.querySelectorAll(t)],[document.documentElement]):new e.b([null==t?[]:t],e.c)}},function(t,n,r){"use strict";var e=r(74);n.a=function(t){var n="function"==typeof t?t:r.i(e.a)(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})}},function(t,n,r){"use strict";function e(t){return function(){this.removeAttribute(t)}}function i(t){return function(){this.removeAttributeNS(t.space,t.local)}}function u(t,n){return function(){this.setAttribute(t,n)}}function a(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function o(t,n){return function(){var r=n.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}function c(t,n){return function(){var r=n.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}var f=r(75);n.a=function(t,n){var s=r.i(f.a)(t);if(arguments.length<2){var l=this.node();return s.local?l.getAttributeNS(s.space,s.local):l.getAttribute(s)}return this.each((null==n?s.local?i:e:"function"==typeof n?s.local?c:o:s.local?a:u)(s,n))}},function(t,n,r){"use strict";n.a=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}},function(t,n,r){"use strict";function e(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=e(t.getAttribute("class")||"")}function a(t,n){for(var r=i(t),e=-1,u=n.length;++e=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},n.a=function(t,n){var r=e(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,o=r.length;++a=T&&(T=k+1);!(M=x[T])&&++T=0;)(e=i[u])&&(a&&a!==e.nextSibling&&a.parentNode.insertBefore(e,a),a=e);return this}},function(t,n,r){"use strict";function e(t){return function(){delete this[t]}}function i(t,n){return function(){this[t]=n}}function u(t,n){return function(){var r=n.apply(this,arguments);null==r?delete this[t]:this[t]=r}}n.a=function(t,n){return arguments.length>1?this.each((null==n?e:"function"==typeof n?u:i)(t,n)):this.node()[t]}},function(t,n,r){"use strict";function e(){this.nextSibling&&this.parentNode.appendChild(this)}n.a=function(){return this.each(e)}},function(t,n,r){"use strict";function e(){var t=this.parentNode;t&&t.removeChild(this)}n.a=function(){return this.each(e)}},function(t,n,r){"use strict";var e=r(5),i=r(78);n.a=function(t){"function"!=typeof t&&(t=r.i(i.a)(t));for(var n=this._groups,u=n.length,a=new Array(u),o=0;on?1:t>=n?0:NaN}var i=r(5);n.a=function(t){function n(n,r){return n&&r?t(n.__data__,r.__data__):!n-!r}t||(t=e);for(var r=this._groups,u=r.length,a=new Array(u),o=0;oz*z+P*P&&(A=E,S=N),{cx:A,cy:S,x01:-l,y01:-d,x11:A*(u/M-1),y11:S*(u/M-1)}}var s=r(14),l=r(16),h=r(29);n.a=function(){function t(){var t,e,i=+n.apply(this,arguments),u=+d.apply(this,arguments),a=g.apply(this,arguments)-h.f,o=y.apply(this,arguments)-h.f,l=r.i(h.g)(o-a),m=o>a;if(b||(b=t=r.i(s.a)()),uh.a)if(l>h.c-h.a)b.moveTo(u*r.i(h.h)(a),u*r.i(h.i)(a)),b.arc(0,0,u,a,o,!m),i>h.a&&(b.moveTo(i*r.i(h.h)(o),i*r.i(h.i)(o)),b.arc(0,0,i,o,a,m));else{var x,w,M=a,k=o,T=a,A=o,S=l,E=l,N=_.apply(this,arguments)/2,C=N>h.a&&(v?+v.apply(this,arguments):r.i(h.d)(i*i+u*u)),q=r.i(h.j)(r.i(h.g)(u-i)/2,+p.apply(this,arguments)),z=q,P=q;if(C>h.a){var D=r.i(h.k)(C/i*r.i(h.i)(N)),R=r.i(h.k)(C/u*r.i(h.i)(N));(S-=2*D)>h.a?(D*=m?1:-1,T+=D,A-=D):(S=0,T=A=(a+o)/2),(E-=2*R)>h.a?(R*=m?1:-1,M+=R,k-=R):(E=0,M=k=(a+o)/2)}var L=u*r.i(h.h)(M),U=u*r.i(h.i)(M),O=i*r.i(h.h)(A),j=i*r.i(h.i)(A);if(q>h.a){var F=u*r.i(h.h)(k),I=u*r.i(h.i)(k),Y=i*r.i(h.h)(T),B=i*r.i(h.i)(T);if(lh.a?c(L,U,Y,B,F,I,O,j):[O,j],X=L-H[0],G=U-H[1],V=F-H[0],W=I-H[1],Z=1/r.i(h.i)(r.i(h.l)((X*V+G*W)/(r.i(h.d)(X*X+G*G)*r.i(h.d)(V*V+W*W)))/2),Q=r.i(h.d)(H[0]*H[0]+H[1]*H[1]);z=r.i(h.j)(q,(i-Q)/(Z-1)),P=r.i(h.j)(q,(u-Q)/(Z+1))}}E>h.a?P>h.a?(x=f(Y,B,L,U,u,P,m),w=f(F,I,O,j,u,P,m),b.moveTo(x.cx+x.x01,x.cy+x.y01),Ph.a&&S>h.a?z>h.a?(x=f(O,j,F,I,i,-z,m),w=f(L,U,Y,B,i,-z,m),b.lineTo(x.cx+x.x01,x.cy+x.y01),z0)for(var e,i=t[0],u=n[0],a=t[r]-i,o=n[r]-u,c=-1;++c<=r;)e=c/r,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+e*a),this._beta*n[c]+(1-this._beta)*(u+e*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function t(n){function r(t){return 1===n?new i.b(t):new e(t,n)}return r.beta=function(n){return t(+n)},r}(.85)},function(t,n,r){"use strict";function e(t,n){this._context=t,this._alpha=n}var i=r(153),u=r(46),a=r(81);e.prototype={areaStart:u.a,areaEnd:u.a,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:r.i(a.b)(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}},n.a=function t(n){function r(t){return n?new e(t,n):new i.b(t,0)}return r.alpha=function(n){return t(+n)},r}(.5)},function(t,n,r){"use strict";function e(t,n){this._context=t,this._alpha=n}var i=r(154),u=r(81);e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._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:r.i(u.b)(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}},n.a=function t(n){function r(t){return n?new e(t,n):new i.b(t,0)}return r.alpha=function(n){return t(+n)},r}(.5)},function(t,n,r){"use strict";function e(t){this._context=t}var i=r(46);e.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},n.a=function(t){return new e(t)}},function(t,n,r){"use strict";function e(t){return t<0?-1:1}function i(t,n,r){var i=t._x1-t._x0,u=n-t._x1,a=(t._y1-t._y0)/(i||u<0&&-0),o=(r-t._y1)/(u||i<0&&-0),c=(a*u+o*i)/(i+u);return(e(a)+e(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(c))||0}function u(t,n){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-n)/2:n}function a(t,n,r){var e=t._x0,i=t._y0,u=t._x1,a=t._y1,o=(u-e)/3;t._context.bezierCurveTo(e+o,i+o*n,u-o,a-o*r,u,a)}function o(t){this._context=t}function c(t){this._context=new f(t)}function f(t){this._context=t}function s(t){return new o(t)}function l(t){return new c(t)}n.a=s,n.b=l,o.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:a(this,this._t0,u(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var r=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,a(this,u(this,r=i(this,t,n)),r);break;default:a(this,this._t0,r=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=r}}},(c.prototype=Object.create(o.prototype)).point=function(t,n){o.prototype.point.call(this,n,t)},f.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,r,e,i,u){this._context.bezierCurveTo(n,t,e,r,u,i)}}},function(t,n,r){"use strict";function e(t){this._context=t}function i(t){var n,r,e=t.length-1,i=new Array(e),u=new Array(e),a=new Array(e);for(i[0]=0,u[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/u[n];for(u[e-1]=(t[e]+i[e-1])/2,n=0;n=0&&(this._t=1-this._t,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:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,n)}}this._x=t,this._y=n}},n.a=function(t){return new e(t,.5)}},function(t,n,r){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,r){"use strict";n.a=function(t){return t}},function(t,n,r){"use strict";function e(t){return t.source}function i(t){return t.target}function u(t){function n(){var n,e=d.a.call(arguments),i=u.apply(this,e),s=a.apply(this,e);if(f||(f=n=r.i(h.a)()),t(f,+o.apply(this,(e[0]=i,e)),+c.apply(this,e),+o.apply(this,(e[0]=s,e)),+c.apply(this,e)),n)return f=null,n+""||null}var u=e,a=i,o=v.a,c=v.b,f=null;return n.source=function(t){return arguments.length?(u=t,n):u},n.target=function(t){return arguments.length?(a=t,n):a},n.x=function(t){return arguments.length?(o="function"==typeof t?t:r.i(p.a)(+t),n):o},n.y=function(t){return arguments.length?(c="function"==typeof t?t:r.i(p.a)(+t),n):c},n.context=function(t){return arguments.length?(f=null==t?null:t,n):f},n}function a(t,n,r,e,i){t.moveTo(n,r),t.bezierCurveTo(n=(n+e)/2,r,n,i,e,i)}function o(t,n,r,e,i){t.moveTo(n,r),t.bezierCurveTo(n,r=(r+i)/2,e,r,e,i)}function c(t,n,e,i,u){var a=r.i(g.a)(n,e),o=r.i(g.a)(n,e=(e+u)/2),c=r.i(g.a)(i,e),f=r.i(g.a)(i,u);t.moveTo(a[0],a[1]),t.bezierCurveTo(o[0],o[1],c[0],c[1],f[0],f[1])}function f(){return u(a)}function s(){return u(o)}function l(){var t=u(c);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var h=r(14),d=r(152),p=r(16),v=r(84),g=r(157);n.a=f,n.b=s,n.c=l},function(t,n,r){"use strict";n.a=function(t,n){if((o=t.length)>1)for(var r,e,i,u,a,o,c=0,f=t[n[0]].length;c=0?(e[0]=u,e[1]=u+=i):i<0?(e[1]=a,e[0]=a+=i):e[0]=u}},function(t,n,r){"use strict";var e=r(30);n.a=function(t,n){if((u=t.length)>0){for(var i,u,a,o=0,c=t[0].length;o0){for(var i,u=0,a=t[n[0]],o=a.length;u0&&(u=(i=t[n[0]]).length)>0){for(var i,u,a,o=0,c=1;c0&&(p+=h);for(null!=o?v.sort(function(t,n){return o(g[t],g[n])}):null!=c&&v.sort(function(n,r){return c(t[n],t[r])}),r=0,i=p?(_-d*m)/p:0;r0?h*i:0)+m,g[e]={data:t[e],index:r,value:h,startAngle:y,endAngle:u,padAngle:b};return g}var n=u.a,o=i.a,c=null,f=r.i(e.a)(0),s=r.i(e.a)(a.c),l=r.i(e.a)(0);return t.value=function(i){return arguments.length?(n="function"==typeof i?i:r.i(e.a)(+i),t):n},t.sortValues=function(n){return arguments.length?(o=n,c=null,t):o},t.sort=function(n){return arguments.length?(c=n,o=null,t):c},t.startAngle=function(n){return arguments.length?(f="function"==typeof n?n:r.i(e.a)(+n),t):f},t.endAngle=function(n){return arguments.length?(s="function"==typeof n?n:r.i(e.a)(+n),t):s},t.padAngle=function(n){return arguments.length?(l="function"==typeof n?n:r.i(e.a)(+n),t):l},t}},function(t,n,r){"use strict";function e(t,n){return t[n]}var i=r(152),u=r(16),a=r(30),o=r(31);n.a=function(){function t(t){var r,e,i=n.apply(this,arguments),u=t.length,a=i.length,o=new Array(a);for(r=0;r0?t>1?r.i(e.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,r){n.setTime(+n+r*t)},function(n,r){return(r-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setTime(Math.floor(t/i.d)*i.d)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getMinutes()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});n.a=i;var u=i.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setTime(Math.floor(t/i.e)*i.e)},function(t,n){t.setTime(+t+n*i.e)},function(t,n){return(n-t)/i.e},function(t){return t.getUTCSeconds()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCDate()-1});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCHours()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2),i=r(9);r.d(n,"b",function(){return a});var u=r.i(e.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getUTCMinutes()});n.a=u;var a=u.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});n.a=i;var u=i.range},function(t,n,r){"use strict";function e(t){return r.i(i.a)(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)/u.a})}var i=r(2),u=r(9);r.d(n,"a",function(){return a}),r.d(n,"c",function(){return o}),r.d(n,"e",function(){return c}),r.d(n,"g",function(){return f}),r.d(n,"i",function(){return s}),r.d(n,"k",function(){return l}),r.d(n,"m",function(){return h}),r.d(n,"b",function(){return d}),r.d(n,"d",function(){return p}),r.d(n,"f",function(){return v}),r.d(n,"h",function(){return g}),r.d(n,"j",function(){return y}),r.d(n,"l",function(){return _}),r.d(n,"n",function(){return b});var a=e(0),o=e(1),c=e(2),f=e(3),s=e(4),l=e(5),h=e(6),d=a.range,p=o.range,v=c.range,g=f.range,y=s.range,_=l.range,b=h.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?r.i(e.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCFullYear(n.getUTCFullYear()+r*t)}):null},n.a=i;var u=i.range},function(t,n,r){"use strict";function e(t){return r.i(i.a)(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())*u.d)/u.a})}var i=r(2),u=r(9);r.d(n,"a",function(){return a}),r.d(n,"c",function(){return o}),r.d(n,"e",function(){return c}),r.d(n,"g",function(){return f}),r.d(n,"i",function(){return s}),r.d(n,"k",function(){return l}),r.d(n,"m",function(){return h}),r.d(n,"b",function(){return d}),r.d(n,"d",function(){return p}),r.d(n,"f",function(){return v}),r.d(n,"h",function(){return g}),r.d(n,"j",function(){return y}),r.d(n,"l",function(){return _}),r.d(n,"n",function(){return b});var a=e(0),o=e(1),c=e(2),f=e(3),s=e(4),l=e(5),h=e(6),d=a.range,p=o.range,v=c.range,g=f.range,y=s.range,_=l.range,b=h.range},function(t,n,r){"use strict";var e=r(2);r.d(n,"b",function(){return u});var i=r.i(e.a)(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()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?r.i(e.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,r){n.setFullYear(n.getFullYear()+r*t)}):null},n.a=i;var u=i.range},function(t,n,r){"use strict";var e=r(87);n.a=function(t,n,i){var u=new e.d,a=n;return null==n?(u.restart(t,n,i),u):(n=+n,i=null==i?r.i(e.a)():+i,u.restart(function r(e){e+=a,u.restart(r,a+=n,i),t(e)},n,i),u)}},function(t,n,r){"use strict";var e=r(87);n.a=function(t,n,r){var i=new e.d;return n=null==n?0:+n,i.restart(function(r){i.stop(),t(r+n)},n,r),i}},function(t,n,r){"use strict";var e=r(11),i=r(6),u=[null];n.a=function(t,n){var r,a,o=t.__transition;if(o){n=null==n?null:n+"";for(a in o)if((r=o[a]).state>i.d&&r.name===n)return new e.b([[t]],u,n,+a)}return null}},function(t,n,r){"use strict";var e=r(1),i=r(437),u=r(438);e.j.prototype.interrupt=i.a,e.j.prototype.transition=u.a},function(t,n,r){"use strict";var e=r(167);n.a=function(t){return this.each(function(){r.i(e.a)(this,t)})}},function(t,n,r){"use strict";function e(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return c.time=r.i(o.a)(),c;return e}var i=r(11),u=r(6),a=r(107),o=r(48),c={time:null,delay:0,duration:250,ease:a.i};n.a=function(t){var n,a;t instanceof i.b?(n=t._id,t=t._name):(n=r.i(i.c)(),(a=c).time=r.i(o.a)(),t=null==t?null:t+"");for(var f=this._groups,s=f.length,l=0;l=0&&(t=t.slice(0,n)),!t||"start"===t})}function i(t,n,r){var i,a,o=e(n)?u.g:u.e;return function(){var e=o(this,t),u=e.on;u!==i&&(a=(i=u).copy()).on(n,r),e.on=a}}var u=r(6);n.a=function(t,n){var e=this._id;return arguments.length<2?r.i(u.f)(this.node(),e).on.on(t):this.each(i(e,t,n))}},function(t,n,r){"use strict";function e(t){return function(){var n=this.parentNode;for(var r in this.__transition)if(+r!==t)return;n&&n.removeChild(this)}}n.a=function(){return this.on("end.remove",e(this._id))}},function(t,n,r){"use strict";var e=r(1),i=r(11),u=r(6);n.a=function(t){var n=this._name,a=this._id;"function"!=typeof t&&(t=r.i(e.k)(t));for(var o=this._groups,c=o.length,f=new Array(c),s=0;sp.b)v=v.L;else{if(!((a=o-f(v,s))>p.b)){u>-p.b?(n=v.P,e=v):a>-p.b?(n=v,e=v.N):n=e=v;break}if(!v.R){n=v;break}v=v.R}r.i(l.d)(t);var g=i(t);if(p.e.insert(n,g),n||e){if(n===e)return r.i(h.b)(n),e=i(n.site),p.e.insert(g,e),g.edge=e.edge=r.i(d.d)(n.site,g.site),r.i(h.c)(n),void r.i(h.c)(e);if(!e)return void(g.edge=r.i(d.d)(n.site,g.site));r.i(h.b)(n),r.i(h.b)(e);var y=n.site,_=y[0],b=y[1],m=t[0]-_,x=t[1]-b,w=e.site,M=w[0]-_,k=w[1]-b,T=2*(m*k-x*M),A=m*m+x*x,S=M*M+k*k,E=[(k*A-x*S)/T+_,(m*S-M*A)/T+b];r.i(d.c)(e.edge,y,w,E),g.edge=r.i(d.d)(y,t,null,E),e.edge=r.i(d.d)(t,w,null,E),r.i(h.c)(n),r.i(h.c)(e)}}function c(t,n){var r=t.site,e=r[0],i=r[1],u=i-n;if(!u)return e;var a=t.P;if(!a)return-1/0;r=a.site;var o=r[0],c=r[1],f=c-n;if(!f)return o;var s=o-e,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+i-u/2)))/l+e:(e+o)/2}function f(t,n){var r=t.N;if(r)return c(r,n);var e=t.site;return e[1]===n?e[0]:1/0}var s=r(90),l=r(169),h=r(170),d=r(89),p=r(32);n.b=a,n.a=o;var v=[]},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t){return t[0]}function i(t){return t[1]}n.a=e,n.b=i},function(t,n,r){"use strict";var e=r(457),i=r(458),u=r(32);n.a=function(){function t(t){return new u.a(t.map(function(r,e){var i=[Math.round(n(r,e,t)/u.b)*u.b,Math.round(a(r,e,t)/u.b)*u.b];return i.index=e,i.data=r,i}),o)}var n=i.a,a=i.b,o=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(i){return arguments.length?(n="function"==typeof i?i:r.i(e.a)(+i),t):n},t.y=function(n){return arguments.length?(a="function"==typeof n?n:r.i(e.a)(+n),t):a},t.extent=function(n){return arguments.length?(o=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):o&&[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},t.size=function(n){return arguments.length?(o=null==n?null:[[0,0],[+n[0],+n[1]]],t):o&&[o[1][0]-o[0][0],o[1][1]-o[0][1]]},t}},function(t,n,r){"use strict";var e=r(464);r.d(n,"a",function(){return e.a});var i=r(171);r.d(n,"b",function(){return i.a}),r.d(n,"c",function(){return i.b})},function(t,n,r){"use strict";n.a=function(t){return function(){return t}}},function(t,n,r){"use strict";function e(t,n,r){this.target=t,this.type=n,this.transform=r}n.a=e},function(t,n,r){"use strict";function e(){i.q.stopImmediatePropagation()}var i=r(1);n.b=e,n.a=function(){i.q.preventDefault(),i.q.stopImmediatePropagation()}},function(t,n,r){"use strict";function e(){return!h.q.button}function i(){var t,n,r=this;return r instanceof SVGElement?(r=r.ownerSVGElement||r,t=r.width.baseVal.value,n=r.height.baseVal.value):(t=r.clientWidth,n=r.clientHeight),[[0,0],[t,n]]}function u(){return this.__zoom||g.b}function a(){return-h.q.deltaY*(h.q.deltaMode?120:1)/500}function o(){return"ontouchstart"in this}function c(t,n,r){var e=t.invertX(n[0][0])-r[0][0],i=t.invertX(n[1][0])-r[1][0],u=t.invertY(n[0][1])-r[0][1],a=t.invertY(n[1][1])-r[1][1];return t.translate(i>e?(e+i)/2:Math.min(0,e)||Math.max(0,i),a>u?(u+a)/2:Math.min(0,u)||Math.max(0,a))}var f=r(12),s=r(54),l=r(4),h=r(1),d=r(88),p=r(461),v=r(462),g=r(171),y=r(463);n.a=function(){function t(t){t.property("__zoom",u).on("wheel.zoom",M).on("mousedown.zoom",k).on("dblclick.zoom",T).filter(R).on("touchstart.zoom",A).on("touchmove.zoom",S).on("touchend.zoom touchcancel.zoom",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function n(t,n){return n=Math.max(L[0],Math.min(L[1],n)),n===t.k?t:new g.c(n,t.x,t.y)}function _(t,n,r){var e=n[0]-r[0]*t.k,i=n[1]-r[1]*t.k;return e===t.x&&i===t.y?t:new g.c(t.k,e,i)}function b(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function m(t,n,r){t.on("start.zoom",function(){x(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){x(this,arguments).end()}).tween("zoom",function(){var t=this,e=arguments,i=x(t,e),u=z.apply(t,e),a=r||b(u),o=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),c=t.__zoom,f="function"==typeof n?n.apply(t,e):n,s=j(c.invert(a).concat(o/c.k),f.invert(a).concat(o/f.k));return function(t){if(1===t)t=f;else{var n=s(t),r=o/n[2];t=new g.c(r,a[0]-n[0]*r,a[1]-n[1]*r)}i.zoom(null,t)}})}function x(t,n){for(var r,e=0,i=F.length;eH}e.zoom("mouse",P(_(e.that.__zoom,e.mouse[0]=r.i(h.d)(e.that),e.mouse[1]),e.extent,U))}function n(){i.on("mousemove.zoom mouseup.zoom",null),r.i(s.c)(h.q.view,e.moved),r.i(y.a)(),e.end()}if(!C&&q.apply(this,arguments)){var e=x(this,arguments),i=r.i(h.h)(h.q.view).on("mousemove.zoom",t,!0).on("mouseup.zoom",n,!0),u=r.i(h.d)(this),a=h.q.clientX,o=h.q.clientY;r.i(s.b)(h.q.view),r.i(y.b)(),e.mouse=[u,this.__zoom.invert(u)],r.i(d.c)(this),e.start()}}function T(){if(q.apply(this,arguments)){var e=this.__zoom,i=r.i(h.d)(this),u=e.invert(i),a=e.k*(h.q.shiftKey?.5:2),o=P(_(n(e,a),i,u),z.apply(this,arguments),U);r.i(y.a)(),O>0?r.i(h.h)(this).transition().duration(O).call(m,o,i):r.i(h.h)(this).call(t.transform,o)}}function A(){if(q.apply(this,arguments)){var t,n,e,i,u=x(this,arguments),a=h.q.changedTouches,o=a.length;for(r.i(y.b)(),n=0;n0&&(p=e("port",d.attr("href"))),p||(p="53333");var v=new WebSocket("ws://localhost:"+p);v.onopen=function(t){},v.onclose=function(t){h.forEach(function(t){return t.stop()})},v.onmessage=function(e){var u=JSON.parse(e.data);switch(u.type){case"configure":t(u),v.send(JSON.stringify({history:!0}));break;case"data":r(u);break;case"status":n(u);break;case"history":i(u);break;case"program-counter":s(u);break;default:console.log("Got unrecognized message type: "+u.type)}}}Object.defineProperty(n,"__esModule",{value:!0});var u=r(173),a=r(174),o=r(172),c=r(175),f=r(33);i()}]); //# sourceMappingURL=main.bundle.js.map \ No newline at end of file