From 3466ade176324228344fc842641444f31b857af4 Mon Sep 17 00:00:00 2001 From: Jim Rottinger Date: Tue, 14 Aug 2018 16:29:52 -0700 Subject: [PATCH] Add the v1 common files into a singel entry point --- dist/chord.js | 2 +- dist/collapsible_tree.js | 2 +- dist/hello_world.js | 2 +- dist/liquid_fill_gauge.js | 2 +- dist/sankey.js | 2 +- dist/subtotal.js | 6 +- dist/sunburst.js | 2 +- dist/treemap.js | 2 +- dist/v1_common.js | 1 + src/common/common-entry.js | 82 ++++++ src/common/d3.v4.js | 2 + src/common/highcharts.js | 525 +++++++++++++++++++++++++++++++++++++ webpack.config.js | 1 + 13 files changed, 621 insertions(+), 10 deletions(-) create mode 100644 dist/v1_common.js create mode 100644 src/common/common-entry.js create mode 100644 src/common/d3.v4.js create mode 100644 src/common/highcharts.js diff --git a/dist/chord.js b/dist/chord.js index eab01b18..3c23a658 100644 --- a/dist/chord.js +++ b/dist/chord.js @@ -1 +1 @@ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.chord=n():t.chord=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=478)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var S=e(190);e.d(n,"E",function(){return S.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),S=e(225),E=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:S.a,datum:E.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,S*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(D,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&L,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=S,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(S(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function S(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=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);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!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"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,S=g*x;if(c.add(Object(u.e)(S*k*Object(u.t)(T),_*w+S*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var E=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(E);var A=Object(i.c)(o,E);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(E[0]||E[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:B,u:Y,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},St={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},Et={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:E,H:k,I:k,j:M,L:S,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=Et[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),St.x=At(e,St),St.X=At(a,St),St.c=At(n,St),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",St);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function L(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function D(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return D(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function B(t,n){return l(t.getSeconds(),n,2)}function Y(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-S:U>0&&(u=a-S),L=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:L===b&&(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),L=d,nt());break;case 32:L===h&&(c.e.altKey?(D&&(f=x-N*D,e=r+N*D),U&&(w=M-S*U,u=a+S*U),L=b):(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),L=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,E=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],S=Z[1]-G[1],L){case h:case l:D&&(N=Math.max(Y-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(S=Math.max(H-u,Math.min(V-w,S)),a=u+S,M=w+S);break;case d:D<0?(N=Math.max(Y-e,Math.min(X-e,N)),r=e+N,x=f):D>0&&(N=Math.max(Y-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(S=Math.max(H-u,Math.min(V-u,S)),a=u+S,M=w):U>0&&(S=Math.max(H-w,Math.min(V-w,S)),a=u,M=w+S);break;case b:D&&(r=Math.max(Y,Math.min(X,e-N*D)),x=Math.max(Y,Math.min(X,f+N*D))),U&&(a=Math.max(H,Math.min(V,u-S*U)),M=Math.max(H,Math.min(V,w+S*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var S=e(349);e.d(n,"H",function(){return S.a}),e.d(n,"I",function(){return S.b});var E=e(350);e.d(n,"J",function(){return E.a}),e.d(n,"K",function(){return E.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function S(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=S,j.lineEnd=E},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function S(){j.point=A}function E(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=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,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,S=M-g,E=k-_,A=T-g,C=N-_;return S*S+E*E>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),S=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),E=S,A=S;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),L=o*Object(u.k)(w);if(S>u.f){var D=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,D,U,R,L):[R,L],Y=P-B[0],H=q-B[1],X=D-B[0],V=U-B[1],W=1/Object(u.k)(Object(u.b)((Y*X+H*V)/(Object(u.l)(Y*Y+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(B[0]*B[0]+B[1]*B[1]);E=Object(u.i)(S,(o-G)/(W-1)),A=Object(u.i)(S,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(D,U,R,L,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?E>u.f?(y=l(R,L,D,U,o,-E,_),m=l(P,q,F,I,o,-E,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),E0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},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:c(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 e=NaN;if(n=+n,(t=+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,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,S=150,E=0;function A(t){t.property("__zoom",b).on("wheel.zoom",D).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",Y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rE}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464),u=function(t){return t.toString()},c={id:"chord",label:"Chord",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]}},create:function(t,n){t.innerHTML='\n \n ',this.tooltip=r.select(t).append("div").attr("class","chord-tip"),this.svg=r.select(t).append("svg")},computeMatrix:function(t,n,e){var i=r.map(),u=r.map(),c=[],o=0;n.forEach(function(n){t.forEach(function(t){var e=t[n].value;i.has(e)||(u.set(o.toString(),e),i.set(e,o++))})});for(var a=-1;++a"+i+" → "+c+": "+u+"

\n

"+c+" → "+i+": "+r(e.value)+"

\n "}};looker.plugins.visualizations.add(c)}])}); \ No newline at end of file +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.chord=n():t.chord=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=482)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var S=e(190);e.d(n,"E",function(){return S.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),S=e(225),E=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:S.a,datum:E.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,S*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(D,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&L,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=S,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(S(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function S(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=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);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!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"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,S=g*x;if(c.add(Object(u.e)(S*k*Object(u.t)(T),_*w+S*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var E=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(E);var A=Object(i.c)(o,E);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(E[0]||E[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:B,u:Y,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},St={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},Et={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:E,H:k,I:k,j:M,L:S,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=Et[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),St.x=At(e,St),St.X=At(a,St),St.c=At(n,St),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",St);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function L(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function D(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return D(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function B(t,n){return l(t.getSeconds(),n,2)}function Y(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-S:U>0&&(u=a-S),L=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:L===b&&(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),L=d,nt());break;case 32:L===h&&(c.e.altKey?(D&&(f=x-N*D,e=r+N*D),U&&(w=M-S*U,u=a+S*U),L=b):(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),L=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,E=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],S=Z[1]-G[1],L){case h:case l:D&&(N=Math.max(Y-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(S=Math.max(H-u,Math.min(V-w,S)),a=u+S,M=w+S);break;case d:D<0?(N=Math.max(Y-e,Math.min(X-e,N)),r=e+N,x=f):D>0&&(N=Math.max(Y-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(S=Math.max(H-u,Math.min(V-u,S)),a=u+S,M=w):U>0&&(S=Math.max(H-w,Math.min(V-w,S)),a=u,M=w+S);break;case b:D&&(r=Math.max(Y,Math.min(X,e-N*D)),x=Math.max(Y,Math.min(X,f+N*D))),U&&(a=Math.max(H,Math.min(V,u-S*U)),M=Math.max(H,Math.min(V,w+S*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var S=e(349);e.d(n,"H",function(){return S.a}),e.d(n,"I",function(){return S.b});var E=e(350);e.d(n,"J",function(){return E.a}),e.d(n,"K",function(){return E.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function S(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=S,j.lineEnd=E},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function S(){j.point=A}function E(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=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,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,S=M-g,E=k-_,A=T-g,C=N-_;return S*S+E*E>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),S=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),E=S,A=S;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),L=o*Object(u.k)(w);if(S>u.f){var D=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,D,U,R,L):[R,L],Y=P-B[0],H=q-B[1],X=D-B[0],V=U-B[1],W=1/Object(u.k)(Object(u.b)((Y*X+H*V)/(Object(u.l)(Y*Y+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(B[0]*B[0]+B[1]*B[1]);E=Object(u.i)(S,(o-G)/(W-1)),A=Object(u.i)(S,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(D,U,R,L,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?E>u.f?(y=l(R,L,D,U,o,-E,_),m=l(P,q,F,I,o,-E,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),E0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},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:c(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 e=NaN;if(n=+n,(t=+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,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,S=150,E=0;function A(t){t.property("__zoom",b).on("wheel.zoom",D).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",Y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rE}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464),u=function(t){return t.toString()},c={id:"chord",label:"Chord",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]}},create:function(t,n){t.innerHTML='\n \n ',this.tooltip=r.select(t).append("div").attr("class","chord-tip"),this.svg=r.select(t).append("svg")},computeMatrix:function(t,n,e){var i=r.map(),u=r.map(),c=[],o=0;n.forEach(function(n){t.forEach(function(t){var e=t[n].value;i.has(e)||(u.set(o.toString(),e),i.set(e,o++))})});for(var a=-1;++a"+i+" → "+c+": "+u+"

\n

"+c+" → "+i+": "+r(e.value)+"

\n "}};looker.plugins.visualizations.add(c)}])}); \ No newline at end of file diff --git a/dist/collapsible_tree.js b/dist/collapsible_tree.js index ab0b1aa3..007dc928 100644 --- a/dist/collapsible_tree.js +++ b/dist/collapsible_tree.js @@ -1 +1 @@ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.collapsible_tree=n():t.collapsible_tree=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=477)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var E=e(190);e.d(n,"E",function(){return E.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),E=e(225),S=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:E.a,datum:S.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,E*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(L,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&D,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=E,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(E(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function E(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=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);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!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"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,E=g*x;if(c.add(Object(u.e)(E*k*Object(u.t)(T),_*w+E*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var S=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(S);var A=Object(i.c)(o,S);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(S[0]||S[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:Y,u:B,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},Et={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},St={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:S,H:k,I:k,j:M,L:E,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=St[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),Et.x=At(e,Et),Et.X=At(a,Et),Et.c=At(n,Et),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",Et);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function D(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function L(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return L(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function Y(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-E:U>0&&(u=a-E),D=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:D===b&&(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d,nt());break;case 32:D===h&&(c.e.altKey?(L&&(f=x-N*L,e=r+N*L),U&&(w=M-E*U,u=a+E*U),D=b):(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,S=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],E=Z[1]-G[1],D){case h:case l:L&&(N=Math.max(B-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(E=Math.max(H-u,Math.min(V-w,E)),a=u+E,M=w+E);break;case d:L<0?(N=Math.max(B-e,Math.min(X-e,N)),r=e+N,x=f):L>0&&(N=Math.max(B-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(E=Math.max(H-u,Math.min(V-u,E)),a=u+E,M=w):U>0&&(E=Math.max(H-w,Math.min(V-w,E)),a=u,M=w+E);break;case b:L&&(r=Math.max(B,Math.min(X,e-N*L)),x=Math.max(B,Math.min(X,f+N*L))),U&&(a=Math.max(H,Math.min(V,u-E*U)),M=Math.max(H,Math.min(V,w+E*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var E=e(349);e.d(n,"H",function(){return E.a}),e.d(n,"I",function(){return E.b});var S=e(350);e.d(n,"J",function(){return S.a}),e.d(n,"K",function(){return S.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function E(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=E,j.lineEnd=S},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function E(){j.point=A}function S(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=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,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,E=M-g,S=k-_,A=T-g,C=N-_;return E*E+S*S>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),E=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),S=E,A=E;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),D=o*Object(u.k)(w);if(E>u.f){var L=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,L,U,R,D):[R,D],B=P-Y[0],H=q-Y[1],X=L-Y[0],V=U-Y[1],W=1/Object(u.k)(Object(u.b)((B*X+H*V)/(Object(u.l)(B*B+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(Y[0]*Y[0]+Y[1]*Y[1]);S=Object(u.i)(E,(o-G)/(W-1)),A=Object(u.i)(E,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(L,U,R,D,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?S>u.f?(y=l(R,D,L,U,o,-S,_),m=l(P,q,F,I,o,-S,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),S0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},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:c(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 e=NaN;if(n=+n,(t=+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,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,E=150,S=0;function A(t){t.property("__zoom",b).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rS}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464);function u(t,n){var e={};return t.forEach(function(t){var r=e;n.forEach(function(n){var e=t[n.name].value;r[e]=e in r?r[e]:{},r=r[e]}),r.__data=t}),{name:"root",children:function t(n,e){void 0===e&&(e=0);var r=[];for(var i in n)if("__data"!==i){var u={name:i,depth:e,children:t(n[i],e+1)};"__data"in n[i]&&(u.data=n[i].__data),r.push(u)}return r}(e,1),depth:0}}var c={id:"collapsible_tree",label:"Collapsible Tree",options:{color_with_children:{label:"Node Color With Children",default:"#36c1b3",type:"string",display:"color"},color_empty:{label:"Empty Node Color",default:"#fff",type:"string",display:"color"}},create:function(t,n){this.svg=r.select(t).append("svg")},update:function(t,n,e,c){if(Object(i.b)(this,c,{min_pivots:0,max_pivots:0,min_dimensions:2,max_dimensions:void 0,min_measures:0,max_measures:void 0})){var o=0,a={children:e&&e.color_with_children||this.options.color_with_children.default,empty:e&&e.color_empty||this.options.color_empty.default},f=10,s=4,l=750,h=10,d=10,b=10,v=10,p=n.clientWidth-v-d,g=n.clientHeight-h-b,_=u(t,c.fields.dimension_like),y=this.svg.html("").attr("width",p+d+v).attr("height",g+h+b).append("g").attr("transform","translate("+v+","+h+")"),m=r.tree().size([g,p]),O=r.hierarchy(_,function(t){return t.children});O.x0=g/2,O.y0=0,O.children.forEach(function t(n){n.children&&(n._children=n.children,n._children.forEach(t),n.children=null)}),w(O)}function j(t,n){return("\n M "+t.y+" "+t.x+"\n C "+(t.y+n.y)/2+" "+t.x+",\n "+(t.y+n.y)/2+" "+n.x+",\n "+n.y+" "+n.x+"\n ").trim()}function x(t){t.children?(t._children=t.children,t.children=null):(t.children=t._children,t._children=null),w(t)}function w(t){var n=m(O),e=n.descendants(),r=n.descendants().slice(1);e.forEach(function(t){t.y=180*t.depth});var i=y.selectAll("g.node").data(e,function(t){return t.id||(t.id=++o)}),u=i.enter().append("g").attr("class","node").attr("transform",function(n){return"translate("+t.y0+","+t.x0+")"}).on("click",x);u.append("circle").attr("class","node").attr("r",1e-6),u.append("text").attr("dy",".35em").attr("x",function(t){return t.children||t._children?-f:f}).attr("text-anchor",function(t){return t.children||t._children?"end":"start"}).style("font-family","'Open Sans', Helvetica, sans-serif").style("font-size",f+"px").text(function(t){return t.data.name});var c=u.merge(i);c.transition().duration(l).attr("transform",function(t){return"translate("+t.y+","+t.x+")"}),c.select("circle.node").attr("r",s).style("fill",function(t){return t._children?a.children:a.empty}).style("stroke",a.children).style("stroke-width",1.5).attr("cursor","pointer");var h=i.exit().transition().duration(l).attr("transform",function(n){return"translate("+t.y+","+t.x+")"}).remove();h.select("circle").attr("r",1e-6),h.select("text").style("fill-opacity",1e-6);var d=y.selectAll("path.link").data(r,function(t){return t.id});d.enter().insert("path","g").attr("class","link").style("fill","none").style("stroke","#ddd").style("stroke-width",1.5).attr("d",function(n){var e={x:t.x0,y:t.y0};return j(e,e)}).merge(d).transition().duration(l).attr("d",function(t){return j(t,t.parent)}),d.exit().transition().duration(l).attr("d",function(n){var e={x:t.x,y:t.y};return j(e,e)}).remove(),e.forEach(function(t){t.x0=t.x,t.y0=t.y})}}};looker.plugins.visualizations.add(c)}])}); \ No newline at end of file +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.collapsible_tree=n():t.collapsible_tree=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=481)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var E=e(190);e.d(n,"E",function(){return E.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),E=e(225),S=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:E.a,datum:S.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,E*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(L,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&D,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=E,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(E(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function E(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=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);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!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"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,E=g*x;if(c.add(Object(u.e)(E*k*Object(u.t)(T),_*w+E*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var S=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(S);var A=Object(i.c)(o,S);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(S[0]||S[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:Y,u:B,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},Et={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},St={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:S,H:k,I:k,j:M,L:E,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=St[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),Et.x=At(e,Et),Et.X=At(a,Et),Et.c=At(n,Et),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",Et);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function D(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function L(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return L(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function Y(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-E:U>0&&(u=a-E),D=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:D===b&&(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d,nt());break;case 32:D===h&&(c.e.altKey?(L&&(f=x-N*L,e=r+N*L),U&&(w=M-E*U,u=a+E*U),D=b):(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,S=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],E=Z[1]-G[1],D){case h:case l:L&&(N=Math.max(B-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(E=Math.max(H-u,Math.min(V-w,E)),a=u+E,M=w+E);break;case d:L<0?(N=Math.max(B-e,Math.min(X-e,N)),r=e+N,x=f):L>0&&(N=Math.max(B-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(E=Math.max(H-u,Math.min(V-u,E)),a=u+E,M=w):U>0&&(E=Math.max(H-w,Math.min(V-w,E)),a=u,M=w+E);break;case b:L&&(r=Math.max(B,Math.min(X,e-N*L)),x=Math.max(B,Math.min(X,f+N*L))),U&&(a=Math.max(H,Math.min(V,u-E*U)),M=Math.max(H,Math.min(V,w+E*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w<_;);O._next=j||null}}return(s=new r.a(s,i))._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,u=e.length,c=Math.min(i,u),o=new Array(i),a=0;a=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function _(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(_(3.2404542*n-1.5371385*t-.4985314*e),_(-.969266*n+1.8760108*t+.041556*e),_(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],_=g.groups=new Array(d),y=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),_=Math.sqrt(h),y=u*Math.tan((r-Math.acos((v+h-p)/(2*g*_)))/2),m=y/_,O=y/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+_)/2))?p=c:_=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=_)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var y=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=y*y+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var _=e(342);e.d(n,"b",function(){return _.a});var y=e(343);e.d(n,"d",function(){return y.b}),e.d(n,"e",function(){return y.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var N=e(76);e.d(n,"F",function(){return N.a}),e.d(n,"G",function(){return N.c});var E=e(349);e.d(n,"H",function(){return E.a}),e.d(n,"I",function(){return E.b});var S=e(350);e.d(n,"J",function(){return S.a}),e.d(n,"K",function(){return S.b});var A=e(351);e.d(n,"P",function(){return A.a}),e.d(n,"Q",function(){return A.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),_=Object(d.a)(),y={point:m,lineStart:j,lineEnd:x,polygonStart:function(){y.point=w,y.lineStart=M,y.lineEnd=k,_.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),y.point=m,y.lineStart=j,y.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):_>p.i?c=90:_<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,_=g>0?1:-1,y=d[0]*p.h*_,m=Object(p.a)(g)>180;m^(_*oc&&(c=b):m^(_*o<(y=(y+360)%360-180)&&y<_*t)?(b=-d[1]*p.h)c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){y.point=O}function x(){h[0]=r,h[1]=u,y.point=m,s=null}function w(t,n){if(s){var e=t-o;_.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(_)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function N(t,n){return t[0]-n[0]}function E(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,_,y=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:N,polygonStart:function(){j.lineStart=E,j.lineEnd=S},polygonEnd:function(){j.lineStart=M,j.lineEnd=N}};function x(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);w(e*Object(y.g)(t),e*Object(y.t)(t),Object(y.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),j.point=T,w(p,g,_)}function T(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=Object(y.e)(Object(y.u)((o=g*c-_*u)*o+(o=_*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+_*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(_+(_=c)),w(p,g,_)}function N(){j.point=x}function E(){j.point=A}function S(){C(b,v),j.point=x}function A(t,n){b=t,v=n,t*=y.r,n*=y.r,j.point=C;var e=Object(y.g)(n);p=e*Object(y.g)(t),g=e*Object(y.t)(t),_=Object(y.t)(n),w(p,g,_)}function C(t,n){t*=y.r,n*=y.r;var e=Object(y.g)(n),r=e*Object(y.g)(t),u=e*Object(y.t)(t),c=Object(y.t)(n),o=g*c-_*u,b=_*r-p*c,v=p*u-g*r,m=Object(y.u)(o*o+b*b+v*v),O=Object(y.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(_+(_=c)),w(p,g,_)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%y)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(_=+t[0],y=+t[1],O):[_,y]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:_,lineStart:y,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=_,g.lineStart=y,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function _(t,n){a+=t,f+=n,++s}function y(){g.point=m}function m(t,n){g.point=O,_(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,_(u=t,c=n)}function j(){g.point=_}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,_(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,_(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,_){var y=l-r,m=h-u,O=y*y+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((y*A+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var _=(i*g+c*p)/r;t(n,d,p,i,u,_,a),t(d,e,g,_,u,c,a)}else{var y=(u*g+a*p)/r;t(n,d,p,i,u,c,y),t(d,e,g,i,y,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var _=e(426);e.d(n,"b",function(){return _.a});var y=e(427);e.d(n,"f",function(){return y.b}),e.d(n,"h",function(){return y.c}),e.d(n,"a",function(){return y.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return _}),e.d(n,"f",function(){return y});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,_=l.range,y=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=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,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,_=(b+p)/2,y=v-d,m=p-b,O=y*y+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-y*w)/O,k=(-x*y-m*w)/O,T=(x*m+y*w)/O,N=(-x*y+m*w)/O,E=M-g,S=k-_,A=T-g,C=N-_;return E*E+S*S>A*A+C*C&&(M=T,k=N),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),_=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!_),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,_));else{var y,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,N=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),E=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),S=E,A=E;if(N>u.f){var C=Object(u.c)(N/o*Object(u.k)(T)),z=Object(u.c)(N/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=_?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=_?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=a*Object(u.e)(O),q=a*Object(u.k)(O),R=o*Object(u.e)(w),D=o*Object(u.k)(w);if(E>u.f){var L=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(P,q,F,I,L,U,R,D):[R,D],B=P-Y[0],H=q-Y[1],X=L-Y[0],V=U-Y[1],W=1/Object(u.k)(Object(u.b)((B*X+H*V)/(Object(u.l)(B*B+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(Y[0]*Y[0]+Y[1]*Y[1]);S=Object(u.i)(E,(o-G)/(W-1)),A=Object(u.i)(E,(a-G)/(W+1))}}k>u.f?A>u.f?(y=l(F,I,P,q,a,A,_),m=l(L,U,R,D,a,A,_),p.moveTo(y.cx+y.x01,y.cy+y.y01),Au.f&&M>u.f?S>u.f?(y=l(R,D,L,U,o,-S,_),m=l(P,q,F,I,o,-S,_),p.lineTo(y.cx+y.x01,y.cy+y.y01),S0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(_-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:y};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},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:c(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 e=NaN;if(n=+n,(t=+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,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],_=p[1],y=t[0]-g,m=t[1]-_,O=e.site,j=O[0]-g,x=O[1]-_,w=2*(y*x-m*j),M=y*y+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(y*k-j*M)/w+_];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,_=d,y=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),N=500,E=150,S=0;function A(t){t.property("__zoom",b).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=_.apply(this,t),u=e||P(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rS}t.zoom("mouse",y(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=y(z(C(t,i),n,r),_.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(q,u,n):Object(c.k)(this).call(A.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=R(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464);function u(t,n){var e={};return t.forEach(function(t){var r=e;n.forEach(function(n){var e=t[n.name].value;r[e]=e in r?r[e]:{},r=r[e]}),r.__data=t}),{name:"root",children:function t(n,e){void 0===e&&(e=0);var r=[];for(var i in n)if("__data"!==i){var u={name:i,depth:e,children:t(n[i],e+1)};"__data"in n[i]&&(u.data=n[i].__data),r.push(u)}return r}(e,1),depth:0}}var c={id:"collapsible_tree",label:"Collapsible Tree",options:{color_with_children:{label:"Node Color With Children",default:"#36c1b3",type:"string",display:"color"},color_empty:{label:"Empty Node Color",default:"#fff",type:"string",display:"color"}},create:function(t,n){this.svg=r.select(t).append("svg")},update:function(t,n,e,c){if(Object(i.b)(this,c,{min_pivots:0,max_pivots:0,min_dimensions:2,max_dimensions:void 0,min_measures:0,max_measures:void 0})){var o=0,a={children:e&&e.color_with_children||this.options.color_with_children.default,empty:e&&e.color_empty||this.options.color_empty.default},f=10,s=4,l=750,h=10,d=10,b=10,v=10,p=n.clientWidth-v-d,g=n.clientHeight-h-b,_=u(t,c.fields.dimension_like),y=this.svg.html("").attr("width",p+d+v).attr("height",g+h+b).append("g").attr("transform","translate("+v+","+h+")"),m=r.tree().size([g,p]),O=r.hierarchy(_,function(t){return t.children});O.x0=g/2,O.y0=0,O.children.forEach(function t(n){n.children&&(n._children=n.children,n._children.forEach(t),n.children=null)}),w(O)}function j(t,n){return("\n M "+t.y+" "+t.x+"\n C "+(t.y+n.y)/2+" "+t.x+",\n "+(t.y+n.y)/2+" "+n.x+",\n "+n.y+" "+n.x+"\n ").trim()}function x(t){t.children?(t._children=t.children,t.children=null):(t.children=t._children,t._children=null),w(t)}function w(t){var n=m(O),e=n.descendants(),r=n.descendants().slice(1);e.forEach(function(t){t.y=180*t.depth});var i=y.selectAll("g.node").data(e,function(t){return t.id||(t.id=++o)}),u=i.enter().append("g").attr("class","node").attr("transform",function(n){return"translate("+t.y0+","+t.x0+")"}).on("click",x);u.append("circle").attr("class","node").attr("r",1e-6),u.append("text").attr("dy",".35em").attr("x",function(t){return t.children||t._children?-f:f}).attr("text-anchor",function(t){return t.children||t._children?"end":"start"}).style("font-family","'Open Sans', Helvetica, sans-serif").style("font-size",f+"px").text(function(t){return t.data.name});var c=u.merge(i);c.transition().duration(l).attr("transform",function(t){return"translate("+t.y+","+t.x+")"}),c.select("circle.node").attr("r",s).style("fill",function(t){return t._children?a.children:a.empty}).style("stroke",a.children).style("stroke-width",1.5).attr("cursor","pointer");var h=i.exit().transition().duration(l).attr("transform",function(n){return"translate("+t.y+","+t.x+")"}).remove();h.select("circle").attr("r",1e-6),h.select("text").style("fill-opacity",1e-6);var d=y.selectAll("path.link").data(r,function(t){return t.id});d.enter().insert("path","g").attr("class","link").style("fill","none").style("stroke","#ddd").style("stroke-width",1.5).attr("d",function(n){var e={x:t.x0,y:t.y0};return j(e,e)}).merge(d).transition().duration(l).attr("d",function(t){return j(t,t.parent)}),d.exit().transition().duration(l).attr("d",function(n){var e={x:t.x,y:t.y};return j(e,e)}).remove(),e.forEach(function(t){t.x0=t.x,t.y0=t.y})}}};looker.plugins.visualizations.add(c)}])}); \ No newline at end of file diff --git a/dist/hello_world.js b/dist/hello_world.js index f8ead340..adb73478 100644 --- a/dist/hello_world.js +++ b/dist/hello_world.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.hello_world=t():e.hello_world=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(l){if(t[l])return t[l].exports;var o=t[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:l})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=468)}({468:function(e,t){looker.plugins.visualizations.add({id:"hello_world",label:"Hello World",options:{font_size:{type:"string",label:"Font Size",values:[{Large:"large"},{Small:"small"}],display:"radio",default:"large"}},create:function(e,t){e.innerHTML="\n \n ";var n=e.appendChild(document.createElement("div"));n.className="hello-world-vis",this._textElement=n.appendChild(document.createElement("div"))},updateAsync:function(e,t,n,l,o,r){if(this.clearErrors(),0!=l.fields.dimensions.length){var i=e[0][l.fields.dimensions[0].name];this._textElement.innerHTML=LookerCharts.Utils.htmlForCell(i),"small"==n.font_size?this._textElement.className="hello-world-text-small":this._textElement.className="hello-world-text-large",r()}else this.addError({title:"No Dimensions",message:"This chart requires dimensions."})}})}})}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.hello_world=t():e.hello_world=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(l){if(t[l])return t[l].exports;var o=t[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:l})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=472)}({472:function(e,t){looker.plugins.visualizations.add({id:"hello_world",label:"Hello World",options:{font_size:{type:"string",label:"Font Size",values:[{Large:"large"},{Small:"small"}],display:"radio",default:"large"}},create:function(e,t){e.innerHTML="\n \n ";var n=e.appendChild(document.createElement("div"));n.className="hello-world-vis",this._textElement=n.appendChild(document.createElement("div"))},updateAsync:function(e,t,n,l,o,r){if(this.clearErrors(),0!=l.fields.dimensions.length){var i=e[0][l.fields.dimensions[0].name];this._textElement.innerHTML=LookerCharts.Utils.htmlForCell(i),"small"==n.font_size?this._textElement.className="hello-world-text-small":this._textElement.className="hello-world-text-large",r()}else this.addError({title:"No Dimensions",message:"This chart requires dimensions."})}})}})}); \ No newline at end of file diff --git a/dist/liquid_fill_gauge.js b/dist/liquid_fill_gauge.js index af8ca2d9..adb0bc64 100644 --- a/dist/liquid_fill_gauge.js +++ b/dist/liquid_fill_gauge.js @@ -1,4 +1,4 @@ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.liquid_fill_gauge=n():t.liquid_fill_gauge=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=474)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return a}),e.d(n,"q",function(){return c}),e.d(n,"w",function(){return o}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return _}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?a:t<-1?-a:Math.asin(t)},n.m=function(t){return(t=_(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,a=u/2,c=u/4,o=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),y=Math.pow,_=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var a=e(104);e.d(n,"g",function(){return a.a});var c=e(229);e.d(n,"h",function(){return c.a});var o=e(52);e.d(n,"i",function(){return o.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var y=e(232);e.d(n,"r",function(){return y.a});var _=e(55);e.d(n,"s",function(){return _.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,a){function c(t){return n(t=new Date(+t)),t}c.floor=c;c.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};c.round=function(t){var n=c(t),e=c.ceil(t);return t-n0))return a;do{a.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(c.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},c.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?c.filter(a?function(n){return a(n)%t==0}:function(n){return c.count(0,n)%t==0}):c:null});return c};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var a=e(175);e.d(n,"f",function(){return a.a});var c=e(176);e.d(n,"g",function(){return c.a});var o=e(93);e.d(n,"h",function(){return o.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var y=e(100);e.d(n,"o",function(){return y.a});var _=e(92);e.d(n,"p",function(){return _.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var S=e(94);e.d(n,"D",function(){return S.a});var C=e(190);e.d(n,"E",function(){return C.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),a=e(203),c=e(105),o=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),y=e(215),_=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),S=e(224),C=e(225),A=e(226),N=e(56),E=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:a.a,enter:c.b,exit:o.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:y.a,style:_.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:S.a,clone:C.a,datum:A.a,on:N.b,dispatch:E.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var a=e(112);e.d(n,"d",function(){return a.a});var c=e(115);e.d(n,"g",function(){return c.a});var o=e(35);e.d(n,"m",function(){return o.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var y=e(245);e.d(n,"e",function(){return y.b}),e.d(n,"f",function(){return y.a});var _=e(246);e.d(n,"w",function(){return _.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>c)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),a=[],c=0,o=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function a(h){var v,p,g,y;if(e.state!==o)return b();for(v in u)if((y=u[v]).name===e.name){if(y.state===s)return Object(i.c)(a);y.state===l?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete u[v]):+v2?t[2]%360*o.r:0,U()):[T*o.h,S*o.h,C*o.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(D,P=t*t),F()):Object(o.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&L,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return a}),e.d(n,"e",function(){return c});var r=1e3,i=6e4,u=36e5,a=864e5,c=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),a=e(254),c=e(255),o=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),y=e(266),_=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:_.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:y.a,remove:h.a,tween:m.a,delay:a.a,duration:c.a,ease:o.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var a=e(290);e.d(n,"b",function(){return a.a});var c=e(291);e.d(n,"f",function(){return c.a});var o=e(292);e.d(n,"a",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),a=t(i*u);return[a*u*Object(r.t)(n),a*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),a=Object(r.t)(u),c=Object(r.g)(u);return[Object(r.e)(n*a,i*c),Object(r.c)(i&&e*a/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,a=t.children,c=-1,o=a.length,f=t.value&&(r-n)/t.value;++c0?(o=Math.floor(o/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(o,f,e)):i<0&&(o=Math.ceil(o*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(o,f,e)),i>0?(u[a]=Math.floor(o/i)*i,u[c]=Math.ceil(f/i)*i,n(u)):i<0&&(u[a]=Math.ceil(o*i)/i,u[c]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return a}),e.d(n,"i",function(){return c}),e.d(n,"k",function(){return o}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,a=Math.max,c=Math.min,o=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,a=t[n[0]],c=a.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return a}),n.d=v;var r,i,u,a,c=e(458),o=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(a=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=c)return null;var o=t-i.site[0],f=n-i.site[1],s=o*o+f*f;do{i=u.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=u.edges[e],c=r.left;if(c!==i.site&&c||(c=r.right)){var o=t-c[0],f=n-c[1],l=o*o+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function a(t,n,e){return(t%=i.w)?n||e?Object(r.a)(o(t),f(n,e)):o(t):n||e?f(n,e):u}function c(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function o(t){var n=c(t);return n.invert=c(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),a=Object(i.t)(n);function c(t,n){var c=Object(i.g)(n),o=Object(i.g)(t)*c,f=Object(i.t)(t)*c,s=Object(i.t)(n),l=s*e+o*r;return[Object(i.e)(f*u-l*a,o*e-s*r),Object(i.c)(l*u+f*a)]}return c.invert=function(t,n){var c=Object(i.g)(n),o=Object(i.g)(t)*c,f=Object(i.t)(t)*c,s=Object(i.t)(n),l=s*u-f*a;return[Object(i.e)(f*u+s*a,o*e+l*r),Object(i.c)(l*e-o*r)]},c}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=a(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,a){var c=0,o=0;if(null==r||(c=d(r,u))!==(o=d(i,u))||v(r,i)<0^u>0)do{a.point(0===c||3===c?t:e,c>1?s:n)}while((c=(c+u+4)%4)!==o);else a.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,y,_,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:S,lineStart:function(){T.point=C,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(C(g,y),_&&j&&k.rejoin(),d.push(k.result()));T.point=S,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(c.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(a.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function S(t,n){l(t,n)&&M.point(t,n)}function C(r,i){var a=l(r,i);if(v&&p.push([r,i]),x)g=r,y=i,_=a,x=!1,a&&(M.lineStart(),M.point(r,i));else if(a&&j)M.point(r,i);else{var c=[m=Math.max(f,Math.min(o,m)),O=Math.max(f,Math.min(o,O))],h=[r=Math.max(f,Math.min(o,r)),i=Math.max(f,Math.min(o,i))];Object(u.a)(c,h,t,n,e,s)?(j||(M.lineStart(),M.point(c[0],c[1])),M.point(h[0],h[1]),a||M.lineEnd(),w=!1):a&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=a}return T}};var r=e(0),i=e(132),u=e(330),a=e(133),c=e(3),o=1e9,f=-o},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,a=t.children,c=-1,o=a.length,f=t.value&&(i-e)/t.value;++c2?l:s,r=a=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(a||(a=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,c.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),a=e(81),c=e(150),o=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(a.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],a=n[0],c=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,a=Math.floor(u),c=+e(t[a],a,t);return c+(+e(t[a+1],a+1,t)-c)*(u-a)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=a(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function a(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function c(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),a=u.length;if(!(arguments.length<2)){for(f=n?o:c,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?m(y[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=_(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=_(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),a=Math.max(n,e,r),c=NaN,o=a-u,f=(a+u)/2;return o?(c=n===a?(e-r)/o+6*(e0&&f<1?0:c,new T(c,o,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function S(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,_,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(S(t>=240?t-240:t+120,i,r),S(t,i,r),S(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,a=u*t;return((1-3*t+3*u-a)*n+(4-6*u+3*a)*e+(1+3*t+3*u-3*a)*r+a*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],a=t[i+1],c=i>0?t[i-1]:2*u-a,o=i=0&&n._call.call(null,t),n=n._next;--u}function _(){s=(f=h.now())+l,u=a=0;try{y()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>o&&(l-=n,f=t)}function O(t){u||(a&&(a=clearTimeout(a)),t-s>24?(t<1/0&&(a=setTimeout(_,t-h.now()-l)),c&&(c=clearInterval(c))):(c||(f=h.now(),c=setInterval(m,o)),u=1,d(_)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,a=t.length;if(null==n)for(;++u=s?d=!0:(o=t.charCodeAt(l++))===a?b=!0:o===c&&(b=!0,t.charCodeAt(l)===a&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),u=e(341);function a(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new y(i[u])),r.parent=e,r.depth=e.depth+1;return c.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=b.prototype={constructor:y,count:r.a,each:i.a,eachAfter:a.a,eachBefore:u.a,sum:c.a,sort:o.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=a;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function a(t,n,e,u,a,c){for(var o,f,s,l,h,d,b,v,p,g,y,_=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),y=h*h*g,(v=Math.max(b/y,y/d))>p){h-=f;break}p=v}_.push(o={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,a,c,o=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(a)try{n=a.call(e,s)}catch(t){return void o.call("error",e,t)}else n=s;o.call("load",e,n)}else o.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){o.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(c=t,e):c},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return a=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=c&&(s.responseType=c),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),o.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=o.on.apply(o,arguments);return t===o?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var a=e(420);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return a}),e.d(n,"e",function(){return c}),n.a=f;var r,i,u,a,c,o=e(153);function f(t){return r=Object(o.a)(t),i=r.format,u=r.parse,a=r.utcFormat,c=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),a=e(85);n.a=function(){var t=a.a,n=a.b,e=Object(i.a)(!0),c=null,o=u.a,f=null;function s(i){var u,a,s,l=i.length,h=!1;for(null==c&&(f=o(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var o=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);i=(i*o-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*o-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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,c=(c*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,a,c,t._x2,t._y2)}function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new a(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(c[0][1]-c[1][1])>r.f)||delete r.e[o]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,a=t[0],c=t[1],o=a[0],f=a[1],s=0,l=1,h=c[0]-o,d=c[1]-f;if(u=n-o,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-o,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[o+s*h,f+s*d]),l<1&&(t[1]=[o+l*h,f+l*d]),!0)}}}}}function a(t,n,e,r,i){var u=t[1];if(u)return!0;var a,c,o=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(o){if(o[1]>=i)return}else o=[v,e];u=[v,i]}else{if(o){if(o[1]1)if(l>d){if(o){if(o[1]>=i)return}else o=[(e-c)/a,e];u=[(i-c)/a,i]}else{if(o){if(o[1]=r)return}else o=[n,a*n+c];u=[r,a*r+c]}else{if(o){if(o[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],a=new Array(i<0?0:i);e1)return f/(a-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,a=-1;if(null==n){for(;++a=e)for(r=i=e;++ae&&(r=e),i=e)for(r=i=e;++ae&&(r=e),i=r?c*=10:o>=i?c*=5:o>=u&&(c*=2);return n=0?(o>=r?10:o>=i?5:o>=u?2:1)*Math.pow(10,c):-Math.pow(10,-c)/(o>=r?10:o>=i?5:o>=u?2:1)}n.a=function(t,n,e){var r,i,u,c,o=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/c),n=Math.floor(n/c),u=new Array(i=Math.ceil(n-t+1));++o=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(a=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return o}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),a=e(23);function c(t){return function(n){var e,i,u=n.length,a=new Array(u),c=new Array(u),o=new Array(u);for(e=0;eo&&(c=n.slice(o,c),s[f]?s[f]+=c:s[++f]=c),(e=e[0])===(a=a[0])?s[f]?s[f]+=a:s[++f]=a:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,a)})),o=u.lastIndex;return or.d&&e.state1?(null==e?h.remove(t):h.set(t,y(e)),n):h.get(t)},find:function(n,e,r){var i,u,a,c,o,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),a=e(124),c=e(125),o=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(a.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,y=t.type,_="$"===f?e[0]:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(y)?d:"",O=c.a[y],j=!y||/[defgprs%]/.test(y);function x(t){var e,a,c,f=_,d=m;if("c"===y)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===y?s[8+o.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,a=t.length;++e(c=t.charCodeAt(e))||c>57){d=(46===c?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(a.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),c=s[8+i/3];return function(t){return e(u*t)+c}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new a(t)}function a(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",a=n[3]||"-",c=n[4]||"",o=!!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"):r.a[h]||(h=""),(o||"0"===e&&"="===u)&&(o=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=a,this.symbol=c,this.zero=o,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=a.prototype,a.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],a=e[1],c=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=u.length;return c===o?u:c>o?u+new Array(c-o+1).join("0"):c>0?u.slice(0,c)+"."+u.slice(c):"0."+new Array(1-c).join("0")+Object(i.a)(t,Math.max(0,n+c-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,a,c,o=e(19),f=e(0),s=e(11),l=e(14),h=Object(o.a)(),d=Object(o.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){y(r,i)}function g(t,n){b.point=y,r=t,i=n,t*=f.r,n*=f.r,u=t,a=Object(f.g)(n=n/2+f.q),c=Object(f.t)(n)}function y(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,o=Object(f.g)(n),s=Object(f.t)(n),l=c*s,d=a*o+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,a=o,c=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=c;var r=e(24),i=e(328),u=e(0),a=e(39);function c(t,n,e,i,a,c){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==a?(a=n+i*u.w,c=n-l/2):(a=o(f,a),c=o(f,c),(i>0?ac)&&(a+=i*u.w));for(var h,d=a;i>0?d>c:d0?i.o:-i.o,f=Object(i.a)(a-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(o,r),t.point(a,r),n=0):u!==o&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(a=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*a*c)):(n+r)/2}(e,r,a,c),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(o,r),n=0),t.point(e=a,r=c),u=o},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var a=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,y={point:_,lineStart:O,lineEnd:j,polygonStart:function(){y.point=x,y.lineStart=w,y.lineEnd=M,h=[],l=[]},polygonEnd:function(){y.point=_,y.lineStart=O,y.lineEnd=j,h=Object(c.n)(h);var t=Object(a.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function _(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){y.point=m,b.lineStart()}function j(){y.point=_,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),a=u.length;if(d.pop(),l.push(d),d=null,a)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(o))}return y}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--o)c.point((d=h[o])[0],d[1]);else a(v.x,v.p.x,-1,c);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);c.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,S=T>u.o,C=g*x;if(a.add(Object(u.e)(C*k*Object(u.t)(T),y*w+C*Object(u.g)(T))),o+=S?M+k*u.w:M,S^v>=e^O>=e){var A=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(A);var N=Object(i.c)(c,A);Object(i.e)(N);var E=(S^M>=0?-1:1)*Object(u.c)(N[2]);(r>E||r===E&&(A[0]||A[1]))&&(f+=S^M>=0?1:-1)}}return(o<-u.i||o0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var a=Object(r.a)(t),c=Object(r.a)(e),o=[1,0,0],f=Object(r.c)(a,c),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(o,f),p=Object(r.f)(o,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var y=v,_=Object(r.d)(p,y),m=Object(r.d)(y,y),O=_*_-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(y,(-_-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],S=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var N=Object(r.f)(y,(-_+j)/m);return Object(r.b)(N,p),[x,Object(r.g)(N)]}}}function h(n,e){var r=o?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(c.a)(s,function(t){var n,e,r,i,c;return{lineStart:function(){i=r=!1,c=1},point:function(d,b){var v,p=[d,b],g=s(d,b),y=o?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(a.a)(n,v)||Object(a.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)c=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&o^g){var _;y&e||!(_=l(p,n,!0))||(c=0,o?(t.lineStart(),t.point(_[0][0],_[0][1]),t.point(_[1][0],_[1][1]),t.lineEnd()):(t.point(_[1][0],_[1][1]),t.lineEnd(),t.lineStart(),t.point(_[0][0],_[0][1])))}!g||n&&Object(a.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return c|(i&&r)<<1}}},function(n,r,u,a){Object(i.a)(a,t,e,u,n,r)},o?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,a=e(19),c=e(0),o=e(11),f=e(14),s=Object(a.a)(),l={sphere:o.a,point:o.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:o.a,polygonStart:o.a,polygonEnd:o.a};function h(){l.point=l.lineEnd=o.a}function d(t,n){t*=c.r,n*=c.r,r=t,i=Object(c.t)(n),u=Object(c.g)(n),l.point=b}function b(t,n){t*=c.r,n*=c.r;var e=Object(c.t)(n),a=Object(c.g)(n),o=Object(c.a)(t-r),f=Object(c.g)(o),l=a*Object(c.t)(o),h=u*e-i*a*f,d=i*e+u*a*f;s.add(Object(c.e)(Object(c.u)(l*l+h*h),d)),r=t,i=e,u=a}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,a=-i,c=a,o={point:function(t,n){ta&&(a=t);nc&&(c=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[a,c]];return a=c=-(u=i=1/0),t}};n.a=o},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=o;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,a=t.r+e.r,c=n.x-r,o=n.y-i,f=c*c+o*o;if(f){var s=.5+((a*=a)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(a+f)-(a-=f)*a-u*u))/(2*f);e.x=r+s*c+l*o,e.y=i+s*o-l*c}else e.x=r+a,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function a(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function c(t){this._=t,this.next=null,this.previous=null}function o(t){if(!(f=t.length))return 0;var n,e,o,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,o=t[2]),n=new c(n),e=new c(e),o=new c(o),n.next=o.previous=e,e.next=n.previous=o,o.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function c(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:H,u:B,U:Y,V:V,w:X,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},Ct={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:at,U:ct,V:ot,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},At={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:A,H:k,I:k,j:M,L:C,m:x,M:T,p:function(t,n,e){var r=yt.exec(n.slice(e));return r?(t.p=_t[r[0].toLowerCase()],e+r[0].length):-1},Q:E,s:z,S:S,u:p,U:g,V:y,w:v,W:_,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,o,n,e)},y:O,Y:m,Z:j,"%":N};function Nt(t,n){return function(e){var r,i,u,a=[],o=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++o53)return null;"w"in o||(o.w=1),"Z"in o?(i=u(a(o.y)),c=i.getUTCDay(),i=c>4||0===c?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(i=n(a(o.y)),c=i.getDay(),i=c>4||0===c?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),c="Z"in o?u(a(o.y)).getUTCDay():n(a(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(c+5)%7:o.w+7*o.U-(c+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,u(o)):n(o)}}function zt(t,n,e,r){for(var i,u,a=0,o=n.length,f=e.length;a=f)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(u=At[i in c?n.charAt(a++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return St.x=Nt(e,St),St.X=Nt(o,St),St.c=Nt(n,St),Ct.x=Nt(e,Ct),Ct.X=Nt(o,Ct),Ct.c=Nt(n,Ct),{format:function(t){var n=Nt(t+="",St);return n.toString=function(){return t},n},parse:function(t){var n=Et(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=Nt(t+="",Ct);return n.toString=function(){return t},n},utcParse:function(t){var n=Et(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 a(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var c={"-":"",_:" ",0:"0"},o=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=o.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function S(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function C(t,n,e){var r=o.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=o.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function N(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function E(t,n,e){var r=o.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=o.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function L(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function D(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return D(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function H(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function Y(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function V(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function X(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function at(t){var n=t.getUTCDay();return 0===n?7:n}function ct(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function ot(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),a=e(84),c=e(85);n.a=function(){var t=c.a,n=null,e=Object(i.a)(0),o=c.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,a,c,d,b,v=i.length,p=!1,g=new Array(v),y=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=a;--c)h.point(g[c],y[c]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),y[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],o?+o(d,u,i):y[u]))}if(b)return h=null,b+""||null}function b(){return Object(a.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),o=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(o=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):o},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(o)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,a=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,c=a*e;t.moveTo(0,-e),t.lineTo(i,c);for(var o=1;o<5;++o){var f=r.m*o/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*c,l*i+s*c)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),a=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/a),c=e/2,o=e*u,f=c,s=e*u+e,l=-f,h=s;t.moveTo(c,o),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*c-i*o,i*c+r*o),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*c+i*o,r*o-i*c),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=a,n.d=function(){for(var t,n,e,r,a=0,c=i.b.length;ai.f||Math.abs(_-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(y-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,y=b*b+v*v,_=(v*g-d*y)/p,m=(h*y-b*g)/p,O=a.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=o,O.x=_+s,O.y=(O.cy=m+l)+Math.sqrt(_*_+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),a=e(95),c=e(179),o=e(97),f=e(98),s=e(99);n.a=function(){var t=c.a,n=a.a,e=s.a;function l(r){var u,a,c=r.length,s=new Array(c);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,a=-1,c=0;if(null==n)for(;++a=0;)for(n=(r=t[i]).length;--n>=0;)e[--a]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,a=0,c=t[a];for(null==n&&(n=r.a);++u0&&(e=r-S),U<0?w=M-C:U>0&&(u=o-C),L=h,J.attr("cursor",y.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(a.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:L===b&&(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=o),L=d,nt());break;case 32:L===h&&(a.e.altKey?(D&&(f=x-S*D,e=r+S*D),U&&(w=M-C*U,u=o+C*U),L=b):(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=o),L=d),J.attr("cursor",y[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(a.e.view)}Object(s.b)(),Object(c.b)(q),N.call(q),Q.start()}function tt(){var t=Object(a.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,A=!0,Object(s.a)(),nt()}function nt(){var t;switch(S=Z[0]-G[0],C=Z[1]-G[1],L){case h:case l:D&&(S=Math.max(B-e,Math.min(V-f,S)),r=e+S,x=f+S),U&&(C=Math.max(Y-u,Math.min(X-w,C)),o=u+C,M=w+C);break;case d:D<0?(S=Math.max(B-e,Math.min(V-e,S)),r=e+S,x=f):D>0&&(S=Math.max(B-f,Math.min(V-f,S)),r=e,x=f+S),U<0?(C=Math.max(Y-u,Math.min(X-u,C)),o=u+C,M=w):U>0&&(C=Math.max(Y-w,Math.min(X-w,C)),o=u,M=w+C);break;case b:D&&(r=Math.max(B,Math.min(V,e-S*D)),x=Math.max(B,Math.min(V,f+S*D))),U&&(o=Math.max(Y,Math.min(X,u-C*U)),M=Math.max(Y,Math.min(X,w+C*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),o=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o0)for(var e,r,i=new Array(e),u=0;uO}y.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(a.a)(),y.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w=0;)(r=i[u])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,a=new Array(u),c=0;c1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function a(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),o=-1,f=e.length;++oh?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function _(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=c*g(t),n=a*g(n),e=o*g(e),new i.b(y(3.2404542*n-1.5371385*t-.4985314*e),y(-.969266*n+1.8760108*t+.041556*e),y(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),a=-.14861,c=1.78277,o=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*c,d=c*o-f*a;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,a=(d*r+l*n-h*e)/(d+l-h),c=r-a,b=(s*(e-a)-o*c)/f,p=Math.sqrt(b*b+c*c)/(s*a*(1-a)),g=p?Math.atan2(b,c)*u.b-120:NaN;return new v(g<0?g+360:g,p,a,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(a*r+c*l)),255*(n+e*(o*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e.d(n,"b",function(){return c});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(a,c){var o=[],f=[];return a=t(a),c=t(c),function(t,i,u,a,c,o){if(t!==u||i!==a){var f=c.push("translate(",null,n,null,e);o.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,a)})}else(u||a)&&c.push("translate("+u+n+a+e)}(a.translateX,a.translateY,c.translateX,c.translateY,o,f),function(t,n,e,a){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),a.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(a.rotate,c.rotate,o,f),function(t,n,e,a){t!==n?a.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(a.skewX,c.skewX,o,f),function(t,n,e,i,a,c){if(t!==e||n!==i){var o=a.push(u(a)+"scale(",null,",",null,")");c.push({i:o-4,x:Object(r.a)(t,e)},{i:o-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||a.push(u(a)+"scale("+e+","+i+")")}(a.scaleX,a.scaleY,c.scaleX,c.scaleY,o,f),a=c=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=a(this,t),c=r.on;c!==i&&(u=(i=c).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var a=this._groups,c=a.length,o=new Array(c),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+a);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function a(a){var c,o,f,s,l,h,d=a.length,b=[],v=Object(r.s)(d),p=[],g=[],y=g.groups=new Array(d),_=new Array(d*d);for(c=0,l=-1;++l1e-6)if(Math.abs(l*o-f*s)>1e-6&&u){var d=e-a,b=i-c,v=o*o+f*f,p=d*d+b*b,g=Math.sqrt(v),y=Math.sqrt(h),_=u*Math.tan((r-Math.acos((v+h-p)/(2*g*y)))/2),m=_/y,O=_/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*o)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,c,o){t=+t,n=+n;var f=(e=+e)*Math.cos(a),s=e*Math.sin(a),l=t+f,h=n+s,d=1^o,b=o?a-c:c-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(c))+","+(this._y1=n+e*Math.sin(c))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=c},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function a(){return Object(r.a)()}function c(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,o=[],f=[];function s(e,i,u,a){if(i>=o.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var c,f,l,h=-1,d=e.length,b=o[i++],v=Object(r.a)(),p=u();++ho.length)return e;var i,u=f[r-1];return null!=n&&r>=o.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,a,c),0)},key:function(t){return o.push(t),e},sortKeys:function(t){return f[o.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function a(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-a.x-a.vx,p=d-a.y-a.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(a=(p+y)/2))?p=a:y=a,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(c=+t._x.call(null,d.data),o=+t._y.call(null,d.data),n===c&&e===o)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(a=(p+y)/2))?p=a:y=a}while((l=s<<1|f)==(h=(o>=a)<<1|c>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,a=t.length,c=new Array(a),o=new Array(a),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var a,c,o=i-e,f=this._root;switch(c=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(a=new Array(4))[c]=f,f=a}while(u=r+(o*=2),t>(i=e+o)||n>u);break;case 1:do{(a=new Array(4))[c]=f,f=a}while(u=r+(o*=2),(e=i-o)>t||n>u);break;case 2:do{(a=new Array(4))[c]=f,f=a}while(r=u-(o*=2),t>(i=e+o)||r>n);break;case 3:do{(a=new Array(4))[c]=f,f=a}while(r=u-(o*=2),(e=i-o)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,a,c,o,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(a=f.y0)>b||(c=f.x1)=y)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var _=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=_*_+m*m;if(O=(c=(b+p)/2))?b=c:p=c,(s=a>=(o=(v+g)/2))?v=o:g=o,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,a,c,o=[],f=this._root;for(f&&o.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=o.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,a=n.x1,c=n.y1)&&f.length){var s=(i+a)/2,l=(u+c)/2;(e=f[3])&&o.push(new r.a(e,s,l,a,c)),(e=f[2])&&o.push(new r.a(e,i,l,s,c)),(e=f[1])&&o.push(new r.a(e,s,u,a,l)),(e=f[0])&&o.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var a,c=n.x0,o=n.y0,f=n.x1,s=n.y1,l=(c+f)/2,h=(o+s)/2;(a=u[0])&&e.push(new r.a(a,c,o,l,h)),(a=u[1])&&e.push(new r.a(a,l,o,f,h)),(a=u[2])&&e.push(new r.a(a,c,h,l,s)),(a=u[3])&&e.push(new r.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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function a(t){return t.index}function c(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,o,f,s,l=a,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,a=t.length;u=s)){(t.data!==n||t.next)&&(0===o&&(b+=(o=Object(i.a)())*o),0===h&&(b+=(h=Object(i.a)())*h),b0&&c>0&&(o+c+1>r&&(c=Math.max(1,r-o)),u.push(e.substring(i-=c,i+c)),!((o+=c+1)>r));)c=t[a=(a+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var a=e(128);e.d(n,"j",function(){return a.b});var c=e(130);e.d(n,"k",function(){return c.a});var o=e(136);e.d(n,"l",function(){return o.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var y=e(342);e.d(n,"b",function(){return y.a});var _=e(343);e.d(n,"d",function(){return _.b}),e.d(n,"e",function(){return _.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var S=e(76);e.d(n,"F",function(){return S.a}),e.d(n,"G",function(){return S.c});var C=e(349);e.d(n,"H",function(){return C.a}),e.d(n,"I",function(){return C.b});var A=e(350);e.d(n,"J",function(){return A.a}),e.d(n,"K",function(){return A.b});var N=e(351);e.d(n,"P",function(){return N.a}),e.d(n,"Q",function(){return N.b});var E=e(352);e.d(n,"T",function(){return E.a}),e.d(n,"U",function(){return E.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,a,c,o,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),y=Object(d.a)(),_={point:m,lineStart:j,lineEnd:x,polygonStart:function(){_.point=w,_.lineStart=M,_.lineEnd=k,y.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),_.point=m,_.lineStart=j,_.lineEnd=x,b.a<0?(r=-(u=180),i=-(a=90)):y>p.i?a=90:y<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),na&&(a=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var o=Object(v.c)(s,e),f=[o[1],-o[0],0],d=Object(v.c)(f,o);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-c,y=g>0?1:-1,_=d[0]*p.h*y,m=Object(p.a)(g)>180;m^(y*c<_&&_a&&(a=b):m^(y*c<(_=(_+360)%360-180)&&_a&&(a=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>c?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);na&&(a=n),s=e,c=t}function j(){_.point=O}function x(){h[0]=r,h[1]=u,_.point=m,s=null}function w(t,n){if(s){var e=t-c;y.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else o=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(o,f),b.b.lineEnd(),Object(p.a)(y)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function S(t,n){return t[0]-n[0]}function C(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(c[0],c[1])&&(c[1]=o[1]),T(o[0],c[1])>T(c[0],c[1])&&(c[0]=o[0])):f.push(c=o);for(s=-1/0,n=0,c=f[e=f.length-1];n<=e;c=o,++n)o=f[n],(d=T(c[1],o[0]))>s&&(s=d,r=o[0],u=c[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,a]]}},function(t,n,e){"use strict";var r,i,u,a,c,o,f,s,l,h,d,b,v,p,g,y,_=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:S,polygonStart:function(){j.lineStart=C,j.lineEnd=A},polygonEnd:function(){j.lineStart=M,j.lineEnd=S}};function x(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);w(e*Object(_.g)(t),e*Object(_.t)(t),Object(_.t)(n))}function w(t,n,e){u+=(t-u)/++r,a+=(n-a)/r,c+=(e-c)/r}function M(){j.point=k}function k(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),j.point=T,w(p,g,y)}function T(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),a=Object(_.t)(n),c=Object(_.e)(Object(_.u)((c=g*a-y*u)*c+(c=y*r-p*a)*c+(c=p*u-g*r)*c),p*r+g*u+y*a);i+=c,o+=c*(p+(p=r)),f+=c*(g+(g=u)),s+=c*(y+(y=a)),w(p,g,y)}function S(){j.point=x}function C(){j.point=N}function A(){E(b,v),j.point=x}function N(t,n){b=t,v=n,t*=_.r,n*=_.r,j.point=E;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),w(p,g,y)}function E(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),a=Object(_.t)(n),c=g*a-y*u,b=y*r-p*a,v=p*u-g*r,m=Object(_.u)(c*c+b*b+v*v),O=Object(_.c)(m),j=m&&-O/m;l+=j*c,h+=j*b,d+=j*v,i+=O,o+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(y+(y=a)),w(p,g,y)}n.a=function(t){r=i=u=a=c=o=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v<_.j&&(n=o,e=f,b=s,i<_.i&&(n=u,e=a,b=c),(v=n*n+e*e+b*b)<_.j)?[NaN,NaN]:[Object(_.e)(e,n)*_.h,Object(_.c)(b/Object(_.u)(v))*_.h]}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(40);n.a=function(){var t,n,e,i=0,u=0,a=960,c=500;return e={stream:function(e){return t&&n===e?t:t=Object(r.a)(i,u,a,c)(n=e)},extent:function(r){return arguments.length?(i=+r[0][0],u=+r[0][1],a=+r[1][0],c=+r[1][1],t=n=null,e):[[i,u],[a,c]]}}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i,u){var a,c=t[0],o=t[1],f=0,s=1,l=n[0]-c,h=n[1]-o;if(a=e-c,l||!(a>0)){if(a/=l,l<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=i-c,l||!(a<0)){if(a/=l,l<0){if(a>s)return;a>f&&(f=a)}else if(l>0){if(a0)){if(a/=h,h<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=u-o,h||!(a<0)){if(a/=h,h<0){if(a>s)return;a>f&&(f=a)}else if(h>0){if(a0&&(t[0]=c+f*l,t[1]=o+f*h),s<1&&(n[0]=c+s*l,n[1]=o+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),a={Feature:function(t,n){return o(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,o,g).filter(function(t){return Object(i.a)(t%_)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(c).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(c=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],c>e&&(t=c,c=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[c,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],o=+e[1][1],n>t&&(e=n,n=t,t=e),f>o&&(e=f,f=o,o=e),O.precision(m)):[[n,f],[t,o]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(y=+t[0],_=+t[1],O):[y,_]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,o,90),d=a(n,t,m),b=u(l,s,90),v=a(c,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,a=n[1]*r.r,c=Object(r.g)(i),o=Object(r.t)(i),f=Object(r.g)(a),s=Object(r.t)(a),l=c*Object(r.g)(e),h=c*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(a-i)+c*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,a=e*o+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(a,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),a=e(139),c=e(336),o=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(a.a)),a.a.result()},d.centroid=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new o.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,a,c=e(19),o=e(0),f=e(11),s=Object(c.a)(),l=Object(c.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(o.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=a=n}function v(t,n){l.add(a*t-u*n),u=t,a=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,a,c=e(0),o=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:y,lineStart:_,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=y,g.lineStart=_,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[o/s,f/s]:[NaN,NaN];return o=f=s=l=h=d=b=v=p=0,t}};function y(t,n){o+=t,f+=n,++s}function _(){g.point=m}function m(t,n){g.point=O,y(u=t,a=n)}function O(t,n){var e=t-u,r=n-a,i=Object(c.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(a+n)/2,d+=i,y(u=t,a=n)}function j(){g.point=y}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,y(r=u=t,i=a=n)}function k(t,n){var e=t-u,r=n-a,i=Object(c.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(a+n)/2,d+=i,b+=(i=a*t-u*n)*(u+t),v+=i*(a+n),p+=3*i,y(u=t,a=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,a,c,o=e(19),f=e(0),s=e(11),l=Object(o.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=a=t,u=c=n}function b(t,n){a-=t,c-=n,l.add(Object(f.u)(a*a+c*c)),a=t,c=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),a=16,c=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,a,o,f,s,l,h,d,b,v,p,g,y){var _=l-r,m=h-u,O=_*_+m*m;if(O>4*n&&g--){var j=o+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((_*N+m*E)/O-.5)>.3||o*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=c/Object(r.p)(a(n),i);return[e*Object(r.t)(i*t),c-e*Object(r.g)(i*t)]}return o.invert=function(t,n){var e=c-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(c/u,1/i))-r.l]},o}n.b=function(){return Object(i.a)(c).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),u=e(141);function a(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),a=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),u=e(8);function a(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}a.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(a).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),u=e(8);function a(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}a.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(a).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var a=e(142);e.d(n,"e",function(){return a.a});var c=e(143);e.d(n,"d",function(){return c.a});var o=e(368);e.d(n,"f",function(){return o.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,a=!1;function c(r){var c,o=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=c?o+=t(n,c):0,n.y=0,c=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(a?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return c.separation=function(n){return arguments.length?(t=n,c):t},c.size=function(t){return arguments.length?(a=!1,n=+t[0],e=+t[1],c):a?null:[n,e]},c.nodeSize=function(t){return arguments.length?(a=!0,n=+t[0],e=+t[1],c):a?[n,e]:null},c}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,a=[u];do{for(n=a.reverse(),a=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],a=[];i=u.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function a(t){return Math.sqrt(t.value)}function c(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function o(t,n){return function(e){if(i=e.children){var i,u,a,c=i.length,o=t(e)*n||0;if(o)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function a(t){var n=t.children;return n?n[n.length-1]:t.t}function c(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function o(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,a=new f(t,0),c=[a];n=c.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)c.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(a.parent=new f(null,0)).children=[a],a}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var a=i,c=i,o=i;i.eachBefore(function(t){t.xc.x&&(c=t),t.depth>o.depth&&(o=t)});var s=a===c?1:t(a,c)/2,b=s-a.x,v=n/(c.x+s+b),p=e/(o.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=a(l),f=u(f),l&&f;)h=u(h),(s=a(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(c(o(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!a(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),a=e(144);n.a=function(){var t=i.a,n=!1,e=1,c=1,o=[0],f=a.a,s=a.a,l=a.a,h=a.a,d=a.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=c,t.eachBefore(v),o=[0],n&&t.eachBefore(r.a),t}function v(n){var e=o[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,a=n.y1-e;u=e-1){var s=c[n];return s.x0=i,s.y0=u,s.x1=a,void(s.y1=o)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]o-u){var y=(i*g+a*p)/r;t(n,d,p,i,u,y,o),t(d,e,g,y,u,a,o)}else{var _=(u*g+o*p)/r;t(n,d,p,i,u,a,_),t(d,e,g,i,_,a,o)}}(0,o,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,a){(1&t.depth?i.a:r.a)(t,n,e,u,a)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,a,c,o){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var a=e(380);e.d(n,"c",function(){return a.a});var c=e(381);e.d(n,"e",function(){return c.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),a=new Array(e);for(n=0;n=0;--n)l.push(t[r[c[n]][2]]);for(n=+f;nc!=f>c&&a<(o-e)*(c-r)/(f-r)+e&&(s=!s),o=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],a=u[0],c=u[1],o=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var a=e(388);e.d(n,"a",function(){return a.a});var c=e(147);e.d(n,"c",function(){return c.a});var o=e(389);e.d(n,"b",function(){return o.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var a=e(393);e.d(n,"e",function(){return a.a});var c=e(394);e.d(n,"g",function(){return c.a});var o=e(395);e.d(n,"a",function(){return o.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var a=e(401);e.d(n,"m",function(){return a.a});var c=e(149);e.d(n,"n",function(){return c.a}),e.d(n,"k",function(){return c.b});var o=e(402);e.d(n,"p",function(){return o.a}),e.d(n,"t",function(){return o.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var y=e(426);e.d(n,"b",function(){return y.a});var _=e(427);e.d(n,"f",function(){return _.b}),e.d(n,"h",function(){return _.c}),e.d(n,"a",function(){return _.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),a=e.domain,c=e.range,o=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=a().length,i=o[1]0){for(;hc)break;p.push(l)}}else for(;h=1;--f)if(!((l=o*f)c)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=a?[c[a-1],e]:[c[r-1],c[r]]};f.copy=function(){return t().domain([n,e]).range(o)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function a(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}a.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),a):n.slice()};a.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),a):e.slice()};a.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};a.copy=function(){return t().domain(n).range(e)};return a};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return c}),e.d(n,"k",function(){return o}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var a=u(0),c=u(1),o=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=a.range,b=c.range,v=o.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return c}),e.d(n,"k",function(){return o}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var a=u(0),c=u(1),o=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=a.range,b=c.range,v=o.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return a});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),a=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return c.h=360*t-100,c.s=1.5-1.5*n,c.l=.8-.9*n,c+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return a}),e.d(n,"d",function(){return c});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),a=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),c=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function a(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}a.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],a):[e,i]};a.clamp=function(t){return arguments.length?(u=!!t,a):u};a.interpolator=function(t){return arguments.length?(n=t,a):n};a.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(a)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function a(t){return t.innerRadius}function c(t){return t.outerRadius}function o(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,a,c){var o=t-e,f=n-r,s=(c?a:-a)/Object(u.l)(o*o+f*f),l=s*f,h=-s*o,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,y=(b+p)/2,_=v-d,m=p-b,O=_*_+m*m,j=i-a,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-_*w)/O,k=(-x*_-m*w)/O,T=(x*m+_*w)/O,S=(-x*_+m*w)/O,C=M-g,A=k-y,N=T-g,E=S-y;return C*C+A*A>N*N+E*E&&(M=T,k=S),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=a,n=c,e=Object(i.a)(0),h=null,d=o,b=f,v=s,p=null;function g(){var i,a,c=+t.apply(this,arguments),o=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),y=s>f;if(p||(p=i=Object(r.a)()),ou.f)if(g>u.m-u.f)p.moveTo(o*Object(u.e)(f),o*Object(u.k)(f)),p.arc(0,0,o,f,s,!y),c>u.f&&(p.moveTo(c*Object(u.e)(s),c*Object(u.k)(s)),p.arc(0,0,c,s,f,y));else{var _,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,S=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(c*c+o*o)),C=Object(u.i)(Object(u.a)(o-c)/2,+e.apply(this,arguments)),A=C,N=C;if(S>u.f){var E=Object(u.c)(S/c*Object(u.k)(T)),z=Object(u.c)(S/o*Object(u.k)(T));(M-=2*E)>u.f?(x+=E*=y?1:-1,w-=E):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=y?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=o*Object(u.e)(O),q=o*Object(u.k)(O),R=c*Object(u.e)(w),L=c*Object(u.k)(w);if(C>u.f){var D=o*Object(u.e)(j),U=o*Object(u.k)(j),F=c*Object(u.e)(x),I=c*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,a,c){var o=e-t,f=r-n,s=a-i,l=c-u,h=(s*(n-u)-l*(t-i))/(l*o-s*f);return[t+h*o,n+h*f]}(P,q,F,I,D,U,R,L):[R,L],B=P-H[0],Y=q-H[1],V=D-H[0],X=U-H[1],W=1/Object(u.k)(Object(u.b)((B*V+Y*X)/(Object(u.l)(B*B+Y*Y)*Object(u.l)(V*V+X*X)))/2),G=Object(u.l)(H[0]*H[0]+H[1]*H[1]);A=Object(u.i)(C,(c-G)/(W-1)),N=Object(u.i)(C,(o-G)/(W+1))}}k>u.f?N>u.f?(_=l(F,I,P,q,o,N,y),m=l(D,U,R,L,o,N,y),p.moveTo(_.cx+_.x01,_.cy+_.y01),Nu.f&&M>u.f?A>u.f?(_=l(R,L,D,U,c,-A,y),m=l(P,q,F,I,c,-A,y),p.lineTo(_.cx+_.x01,_.cy+_.y01),A0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(y-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:_};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),s):c},s.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,a=t.lineX1,c=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(a())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(c())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),a=e(85),c=e(158);function o(t){return t.source}function f(t){return t.target}function s(t){var n=o,e=f,c=a.a,s=a.b,l=null;function h(){var u,a=i.a.call(arguments),o=n.apply(this,a),f=e.apply(this,a);if(l||(l=u=Object(r.a)()),t(l,+c.apply(this,(a[0]=o,a)),+s.apply(this,a),+c.apply(this,(a[0]=f,a)),+s.apply(this,a)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(c="function"==typeof t?t:Object(u.a)(+t),h):c},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(c.a)(n,e),a=Object(c.a)(n,e=(e+i)/2),o=Object(c.a)(r,e),f=Object(c.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(a[0],a[1],o[0],o[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),a=e(162),c=e(163),o=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,a.a,o.a,c.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],a=t[e]-i,c=n[e]-u,o=-1;++o<=e;)r=o/e,this._basis.point(this._beta*t[o]+(1-this._beta)*(i+r*a),this._beta*n[o]+(1-this._beta)*(u+r*c));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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function a(t,n){this._context=t,this._alpha=n}a.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new a(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,a=(t._y1-t._y0)/(i||u<0&&-0),c=(e-t._y1)/(u||i<0&&-0),o=(a*u+c*i)/(i+u);return(r(a)+r(c))*Math.min(Math.abs(a),Math.abs(c),.5*Math.abs(o))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function a(t,n,e){var r=t._x0,i=t._y0,u=t._x1,a=t._y1,c=(u-r)/3;t._context.bezierCurveTo(r+c,i+c*n,u-c,a-c*e,u,a)}function c(t){this._context=t}function o(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new c(t)},n.b=function(t){return new o(t)},c.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 e=NaN;if(n=+n,(t=+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,e=i(this,t,n)),e);break;default:a(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(o.prototype=Object.create(c.prototype)).point=function(t,n){c.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),a=new Array(r);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[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),a=e(31);function c(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=a.a,e=u.a,o=c;function f(r){var i,u,a=t.apply(this,arguments),c=r.length,f=a.length,s=new Array(f);for(i=0;i0){for(var e,i,u,a=0,c=t[0].length;a1)for(var e,r,i,u,a,c,o=0,f=t[n[0]].length;o=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=a,r[0]=a+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],a=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,a=0,c=1;cc.f)b=b.L;else{if(!((o=s-h(b,d))>c.f)){r>-c.f?(n=b.P,e=b):o>-c.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(c.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),c.a.insert(v,e),v.edge=e.edge=Object(a.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(a.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],y=p[1],_=t[0]-g,m=t[1]-y,O=e.site,j=O[0]-g,x=O[1]-y,w=2*(_*x-m*j),M=_*_+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(_*k-j*M)/w+y];Object(a.d)(e.edge,p,O,T),v.edge=Object(a.c)(p,t,null,T),e.edge=Object(a.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),a=e(89),c=e(32),o=[];function f(t){var n=o.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),c.a.remove(t),o.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var a=t.P;if(!a)return-1/0;var c=(e=a.site)[0],o=e[1],f=o-n;if(!f)return c;var s=c-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-o+f/2+i-u/2)))/l+r:(r+c)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),a=e(1),c=e(62),o=e(461),f=e(462),s=e(171),l=e(463);function h(){return!a.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-a.e.deltaY*(a.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>u?(u+a)/2:Math.min(0,u)||Math.max(0,a))}n.a=function(){var t,n,e=h,y=d,_=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),S=500,C=150,A=0;function N(t){t.property("__zoom",b).on("wheel.zoom",D).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=y.apply(this,t),u=e||P(i),a=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),c=this.__zoom,o="function"==typeof n?n.apply(this,t):n,f=M(c.invert(u).concat(a/c.k),o.invert(u).concat(a/o.k));return function(t){if(1===t)t=o;else{var n=f(t),e=a/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rA}t.zoom("mouse",_(z(t.that.__zoom,t.mouse[0]=Object(a.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(a.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(a.h)(this),o=a.e.clientX,f=a.e.clientY;Object(i.b)(a.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(c.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(a.h)(this),r=t.invert(n),i=t.k*(a.e.shiftKey?.5:2),u=_(z(E(t,i),n,r),y.apply(this,arguments),x);Object(l.a)(),w>0?Object(a.k)(this).transition().duration(w).call(q,u,n):Object(a.k)(this).call(N.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,o=R(this,arguments),f=a.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,a=i.dimensions,c=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",a.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",c.length,e.min_measures,e.max_measures)}},,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464),u=e(475);e.n(u);u.initialize(r);var a=u.defaultConfig,c={id:"liquid_fill_gauge",label:"Liquid Fill Gauge",options:{showComparison:{label:"Use field comparison",default:!1,section:"Value",type:"boolean"},minValue:{label:"Min value",min:0,default:a.minValue,section:"Value",type:"number",placeholder:"Any positive number"},maxValue:{label:"Max value",min:0,default:a.maxValue,section:"Value",type:"number",placeholder:"Any positive number"},circleThickness:{label:"Circle Thickness",min:0,max:1,step:.05,default:a.circleThickness,section:"Style",type:"number",display:"range"},circleFillGap:{label:"Circle Gap",min:0,max:1,step:.05,default:a.circleFillGap,section:"Style",type:"number",display:"range"},circleColor:{label:"Circle Color",default:a.circleFillGap,section:"Style",type:"string",display:"color"},waveHeight:{label:"Wave Height",min:0,max:1,step:.05,default:a.waveHeight,section:"Waves",type:"number",display:"range"},waveCount:{label:"Wave Count",min:0,max:10,default:a.waveCount,section:"Waves",type:"number",display:"range"},waveRiseTime:{label:"Wave Rise Time",min:0,max:5e3,step:50,default:a.waveRiseTime,section:"Waves",type:"number",display:"range"},waveAnimateTime:{label:"Wave Animation Time",min:0,max:5e3,step:50,default:a.waveAnimateTime,section:"Waves",type:"number",display:"range"},waveRise:{label:"Wave Rise from Bottom",default:a.waveRise,section:"Waves",type:"boolean"},waveHeightScaling:{label:"Scale waves if high or low",default:a.waveHeightScaling,section:"Waves",type:"boolean"},waveAnimate:{label:"Animate Waves",default:!0,section:"Waves",type:"boolean"},waveColor:{label:"Wave Color",default:"#64518A",section:"Style",type:"string",display:"color"},waveOffset:{label:"Wave Offset",min:0,max:1,step:.05,default:0,section:"Waves",type:"number",display:"range"},textVertPosition:{label:"Text Vertical Offset",min:0,max:1,step:.01,default:.5,section:"Value",type:"number",display:"range"},textSize:{label:"Text Size",min:0,max:1,step:.01,default:1,section:"Value",type:"number",display:"range"},valueCountUp:{label:"Animate to Value",default:!0,section:"Waves",type:"boolean"},displayPercent:{label:"Display as Percent",default:!0,section:"Value",type:"boolean"},textColor:{label:"Text Color (non-overlapped)",default:"#000000",section:"Style",type:"string",display:"color"},waveTextColor:{label:"Text Color (overlapped)",default:"#FFFFFF",section:"Style",type:"string",display:"color"}},create:function(t,n){t.style.margin="10px",t.style.fontFamily='"Open Sans", "Helvetica", sans-serif',t.innerHTML="\n \n ";var e="fill-gauge-"+Date.now();this.svg=r.select(t).append("svg"),this.svg.attr("id",e)},update:function(t,n,e,a){if(Object(i.b)(this,a,{min_pivots:0,max_pivots:0,min_dimensions:0,max_dimensions:void 0,min_measures:1,max_measures:void 0})){var c=Object.assign(u.defaultConfig,e);if(this.addError&&this.clearErrors){if(c.maxValue<=0)return void this.addError({group:"config",title:"Max value must be greater than zero."});this.clearErrors("config")}var o=a.fields.measure_like[0],f=t[0][o.name],s=f.value,l=a.fields.measure_like[1];if(l&&c.showComparison){var h=t[0][l.name];c.maxValue=h.value}c.displayPercent&&(s=f.value/c.maxValue*100,c.maxValue=100),this.svg.html(""),this.svg.attr("width",n.clientWidth-20),this.svg.attr("height",n.clientHeight-20),r.liquidfillgauge(this.svg,s,c)}}};looker.plugins.visualizations.add(c)},function(t,n){ +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.liquid_fill_gauge=n():t.liquid_fill_gauge=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=478)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return a}),e.d(n,"q",function(){return c}),e.d(n,"w",function(){return o}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return _}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?a:t<-1?-a:Math.asin(t)},n.m=function(t){return(t=_(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,a=u/2,c=u/4,o=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),y=Math.pow,_=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var a=e(104);e.d(n,"g",function(){return a.a});var c=e(229);e.d(n,"h",function(){return c.a});var o=e(52);e.d(n,"i",function(){return o.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var y=e(232);e.d(n,"r",function(){return y.a});var _=e(55);e.d(n,"s",function(){return _.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,a){function c(t){return n(t=new Date(+t)),t}c.floor=c;c.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};c.round=function(t){var n=c(t),e=c.ceil(t);return t-n0))return a;do{a.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(c.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},c.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?c.filter(a?function(n){return a(n)%t==0}:function(n){return c.count(0,n)%t==0}):c:null});return c};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var a=e(175);e.d(n,"f",function(){return a.a});var c=e(176);e.d(n,"g",function(){return c.a});var o=e(93);e.d(n,"h",function(){return o.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var y=e(100);e.d(n,"o",function(){return y.a});var _=e(92);e.d(n,"p",function(){return _.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var S=e(94);e.d(n,"D",function(){return S.a});var C=e(190);e.d(n,"E",function(){return C.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),a=e(203),c=e(105),o=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),y=e(215),_=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),S=e(224),C=e(225),A=e(226),N=e(56),E=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:a.a,enter:c.b,exit:o.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:y.a,style:_.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:S.a,clone:C.a,datum:A.a,on:N.b,dispatch:E.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var a=e(112);e.d(n,"d",function(){return a.a});var c=e(115);e.d(n,"g",function(){return c.a});var o=e(35);e.d(n,"m",function(){return o.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var y=e(245);e.d(n,"e",function(){return y.b}),e.d(n,"f",function(){return y.a});var _=e(246);e.d(n,"w",function(){return _.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>c)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),a=[],c=0,o=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function a(h){var v,p,g,y;if(e.state!==o)return b();for(v in u)if((y=u[v]).name===e.name){if(y.state===s)return Object(i.c)(a);y.state===l?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete u[v]):+v2?t[2]%360*o.r:0,U()):[T*o.h,S*o.h,C*o.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(D,P=t*t),F()):Object(o.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&L,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return a}),e.d(n,"e",function(){return c});var r=1e3,i=6e4,u=36e5,a=864e5,c=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),a=e(254),c=e(255),o=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),y=e(266),_=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:_.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:y.a,remove:h.a,tween:m.a,delay:a.a,duration:c.a,ease:o.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var a=e(290);e.d(n,"b",function(){return a.a});var c=e(291);e.d(n,"f",function(){return c.a});var o=e(292);e.d(n,"a",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),a=t(i*u);return[a*u*Object(r.t)(n),a*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),a=Object(r.t)(u),c=Object(r.g)(u);return[Object(r.e)(n*a,i*c),Object(r.c)(i&&e*a/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,a=t.children,c=-1,o=a.length,f=t.value&&(r-n)/t.value;++c0?(o=Math.floor(o/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(o,f,e)):i<0&&(o=Math.ceil(o*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(o,f,e)),i>0?(u[a]=Math.floor(o/i)*i,u[c]=Math.ceil(f/i)*i,n(u)):i<0&&(u[a]=Math.ceil(o*i)/i,u[c]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return a}),e.d(n,"i",function(){return c}),e.d(n,"k",function(){return o}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,a=Math.max,c=Math.min,o=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,a=t[n[0]],c=a.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return a}),n.d=v;var r,i,u,a,c=e(458),o=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(a=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=c)return null;var o=t-i.site[0],f=n-i.site[1],s=o*o+f*f;do{i=u.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=u.edges[e],c=r.left;if(c!==i.site&&c||(c=r.right)){var o=t-c[0],f=n-c[1],l=o*o+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function a(t,n,e){return(t%=i.w)?n||e?Object(r.a)(o(t),f(n,e)):o(t):n||e?f(n,e):u}function c(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function o(t){var n=c(t);return n.invert=c(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),a=Object(i.t)(n);function c(t,n){var c=Object(i.g)(n),o=Object(i.g)(t)*c,f=Object(i.t)(t)*c,s=Object(i.t)(n),l=s*e+o*r;return[Object(i.e)(f*u-l*a,o*e-s*r),Object(i.c)(l*u+f*a)]}return c.invert=function(t,n){var c=Object(i.g)(n),o=Object(i.g)(t)*c,f=Object(i.t)(t)*c,s=Object(i.t)(n),l=s*u-f*a;return[Object(i.e)(f*u+s*a,o*e+l*r),Object(i.c)(l*e-o*r)]},c}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=a(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,a){var c=0,o=0;if(null==r||(c=d(r,u))!==(o=d(i,u))||v(r,i)<0^u>0)do{a.point(0===c||3===c?t:e,c>1?s:n)}while((c=(c+u+4)%4)!==o);else a.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,y,_,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:S,lineStart:function(){T.point=C,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(C(g,y),_&&j&&k.rejoin(),d.push(k.result()));T.point=S,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(c.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(a.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function S(t,n){l(t,n)&&M.point(t,n)}function C(r,i){var a=l(r,i);if(v&&p.push([r,i]),x)g=r,y=i,_=a,x=!1,a&&(M.lineStart(),M.point(r,i));else if(a&&j)M.point(r,i);else{var c=[m=Math.max(f,Math.min(o,m)),O=Math.max(f,Math.min(o,O))],h=[r=Math.max(f,Math.min(o,r)),i=Math.max(f,Math.min(o,i))];Object(u.a)(c,h,t,n,e,s)?(j||(M.lineStart(),M.point(c[0],c[1])),M.point(h[0],h[1]),a||M.lineEnd(),w=!1):a&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=a}return T}};var r=e(0),i=e(132),u=e(330),a=e(133),c=e(3),o=1e9,f=-o},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,a=t.children,c=-1,o=a.length,f=t.value&&(i-e)/t.value;++c2?l:s,r=a=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(a||(a=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,c.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),a=e(81),c=e(150),o=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(a.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],a=n[0],c=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,a=Math.floor(u),c=+e(t[a],a,t);return c+(+e(t[a+1],a+1,t)-c)*(u-a)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=a(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function a(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function c(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),a=u.length;if(!(arguments.length<2)){for(f=n?o:c,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?m(y[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=_(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=_(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),a=Math.max(n,e,r),c=NaN,o=a-u,f=(a+u)/2;return o?(c=n===a?(e-r)/o+6*(e0&&f<1?0:c,new T(c,o,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function S(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,_,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(S(t>=240?t-240:t+120,i,r),S(t,i,r),S(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,a=u*t;return((1-3*t+3*u-a)*n+(4-6*u+3*a)*e+(1+3*t+3*u-3*a)*r+a*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],a=t[i+1],c=i>0?t[i-1]:2*u-a,o=i=0&&n._call.call(null,t),n=n._next;--u}function _(){s=(f=h.now())+l,u=a=0;try{y()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>o&&(l-=n,f=t)}function O(t){u||(a&&(a=clearTimeout(a)),t-s>24?(t<1/0&&(a=setTimeout(_,t-h.now()-l)),c&&(c=clearInterval(c))):(c||(f=h.now(),c=setInterval(m,o)),u=1,d(_)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,a=t.length;if(null==n)for(;++u=s?d=!0:(o=t.charCodeAt(l++))===a?b=!0:o===c&&(b=!0,t.charCodeAt(l)===a&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),u=e(341);function a(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new y(i[u])),r.parent=e,r.depth=e.depth+1;return c.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=b.prototype={constructor:y,count:r.a,each:i.a,eachAfter:a.a,eachBefore:u.a,sum:c.a,sort:o.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=a;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function a(t,n,e,u,a,c){for(var o,f,s,l,h,d,b,v,p,g,y,_=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),y=h*h*g,(v=Math.max(b/y,y/d))>p){h-=f;break}p=v}_.push(o={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,a,c,o=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(a)try{n=a.call(e,s)}catch(t){return void o.call("error",e,t)}else n=s;o.call("load",e,n)}else o.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){o.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(c=t,e):c},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return a=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=c&&(s.responseType=c),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),o.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=o.on.apply(o,arguments);return t===o?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var a=e(420);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return a}),e.d(n,"e",function(){return c}),n.a=f;var r,i,u,a,c,o=e(153);function f(t){return r=Object(o.a)(t),i=r.format,u=r.parse,a=r.utcFormat,c=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),a=e(85);n.a=function(){var t=a.a,n=a.b,e=Object(i.a)(!0),c=null,o=u.a,f=null;function s(i){var u,a,s,l=i.length,h=!1;for(null==c&&(f=o(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var o=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);i=(i*o-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*o-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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,c=(c*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,a,c,t._x2,t._y2)}function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new a(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(c[0][1]-c[1][1])>r.f)||delete r.e[o]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,a=t[0],c=t[1],o=a[0],f=a[1],s=0,l=1,h=c[0]-o,d=c[1]-f;if(u=n-o,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-o,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[o+s*h,f+s*d]),l<1&&(t[1]=[o+l*h,f+l*d]),!0)}}}}}function a(t,n,e,r,i){var u=t[1];if(u)return!0;var a,c,o=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(o){if(o[1]>=i)return}else o=[v,e];u=[v,i]}else{if(o){if(o[1]1)if(l>d){if(o){if(o[1]>=i)return}else o=[(e-c)/a,e];u=[(i-c)/a,i]}else{if(o){if(o[1]=r)return}else o=[n,a*n+c];u=[r,a*r+c]}else{if(o){if(o[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],a=new Array(i<0?0:i);e1)return f/(a-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,a=-1;if(null==n){for(;++a=e)for(r=i=e;++ae&&(r=e),i=e)for(r=i=e;++ae&&(r=e),i=r?c*=10:o>=i?c*=5:o>=u&&(c*=2);return n=0?(o>=r?10:o>=i?5:o>=u?2:1)*Math.pow(10,c):-Math.pow(10,-c)/(o>=r?10:o>=i?5:o>=u?2:1)}n.a=function(t,n,e){var r,i,u,c,o=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/c),n=Math.floor(n/c),u=new Array(i=Math.ceil(n-t+1));++o=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(a=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return o}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),a=e(23);function c(t){return function(n){var e,i,u=n.length,a=new Array(u),c=new Array(u),o=new Array(u);for(e=0;eo&&(c=n.slice(o,c),s[f]?s[f]+=c:s[++f]=c),(e=e[0])===(a=a[0])?s[f]?s[f]+=a:s[++f]=a:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,a)})),o=u.lastIndex;return or.d&&e.state1?(null==e?h.remove(t):h.set(t,y(e)),n):h.get(t)},find:function(n,e,r){var i,u,a,c,o,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),a=e(124),c=e(125),o=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(a.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,y=t.type,_="$"===f?e[0]:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(y)?d:"",O=c.a[y],j=!y||/[defgprs%]/.test(y);function x(t){var e,a,c,f=_,d=m;if("c"===y)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===y?s[8+o.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,a=t.length;++e(c=t.charCodeAt(e))||c>57){d=(46===c?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(a.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),c=s[8+i/3];return function(t){return e(u*t)+c}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new a(t)}function a(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",a=n[3]||"-",c=n[4]||"",o=!!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"):r.a[h]||(h=""),(o||"0"===e&&"="===u)&&(o=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=a,this.symbol=c,this.zero=o,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=a.prototype,a.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],a=e[1],c=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=u.length;return c===o?u:c>o?u+new Array(c-o+1).join("0"):c>0?u.slice(0,c)+"."+u.slice(c):"0."+new Array(1-c).join("0")+Object(i.a)(t,Math.max(0,n+c-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,a,c,o=e(19),f=e(0),s=e(11),l=e(14),h=Object(o.a)(),d=Object(o.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){y(r,i)}function g(t,n){b.point=y,r=t,i=n,t*=f.r,n*=f.r,u=t,a=Object(f.g)(n=n/2+f.q),c=Object(f.t)(n)}function y(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,o=Object(f.g)(n),s=Object(f.t)(n),l=c*s,d=a*o+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,a=o,c=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=c;var r=e(24),i=e(328),u=e(0),a=e(39);function c(t,n,e,i,a,c){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==a?(a=n+i*u.w,c=n-l/2):(a=o(f,a),c=o(f,c),(i>0?ac)&&(a+=i*u.w));for(var h,d=a;i>0?d>c:d0?i.o:-i.o,f=Object(i.a)(a-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(o,r),t.point(a,r),n=0):u!==o&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(a=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*a*c)):(n+r)/2}(e,r,a,c),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(o,r),n=0),t.point(e=a,r=c),u=o},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var a=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,y={point:_,lineStart:O,lineEnd:j,polygonStart:function(){y.point=x,y.lineStart=w,y.lineEnd=M,h=[],l=[]},polygonEnd:function(){y.point=_,y.lineStart=O,y.lineEnd=j,h=Object(c.n)(h);var t=Object(a.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function _(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){y.point=m,b.lineStart()}function j(){y.point=_,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),a=u.length;if(d.pop(),l.push(d),d=null,a)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(o))}return y}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--o)c.point((d=h[o])[0],d[1]);else a(v.x,v.p.x,-1,c);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);c.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,S=T>u.o,C=g*x;if(a.add(Object(u.e)(C*k*Object(u.t)(T),y*w+C*Object(u.g)(T))),o+=S?M+k*u.w:M,S^v>=e^O>=e){var A=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(A);var N=Object(i.c)(c,A);Object(i.e)(N);var E=(S^M>=0?-1:1)*Object(u.c)(N[2]);(r>E||r===E&&(A[0]||A[1]))&&(f+=S^M>=0?1:-1)}}return(o<-u.i||o0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var a=Object(r.a)(t),c=Object(r.a)(e),o=[1,0,0],f=Object(r.c)(a,c),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(o,f),p=Object(r.f)(o,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var y=v,_=Object(r.d)(p,y),m=Object(r.d)(y,y),O=_*_-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(y,(-_-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],S=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var N=Object(r.f)(y,(-_+j)/m);return Object(r.b)(N,p),[x,Object(r.g)(N)]}}}function h(n,e){var r=o?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(c.a)(s,function(t){var n,e,r,i,c;return{lineStart:function(){i=r=!1,c=1},point:function(d,b){var v,p=[d,b],g=s(d,b),y=o?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(a.a)(n,v)||Object(a.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)c=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&o^g){var _;y&e||!(_=l(p,n,!0))||(c=0,o?(t.lineStart(),t.point(_[0][0],_[0][1]),t.point(_[1][0],_[1][1]),t.lineEnd()):(t.point(_[1][0],_[1][1]),t.lineEnd(),t.lineStart(),t.point(_[0][0],_[0][1])))}!g||n&&Object(a.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return c|(i&&r)<<1}}},function(n,r,u,a){Object(i.a)(a,t,e,u,n,r)},o?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,a=e(19),c=e(0),o=e(11),f=e(14),s=Object(a.a)(),l={sphere:o.a,point:o.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:o.a,polygonStart:o.a,polygonEnd:o.a};function h(){l.point=l.lineEnd=o.a}function d(t,n){t*=c.r,n*=c.r,r=t,i=Object(c.t)(n),u=Object(c.g)(n),l.point=b}function b(t,n){t*=c.r,n*=c.r;var e=Object(c.t)(n),a=Object(c.g)(n),o=Object(c.a)(t-r),f=Object(c.g)(o),l=a*Object(c.t)(o),h=u*e-i*a*f,d=i*e+u*a*f;s.add(Object(c.e)(Object(c.u)(l*l+h*h),d)),r=t,i=e,u=a}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,a=-i,c=a,o={point:function(t,n){ta&&(a=t);nc&&(c=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[a,c]];return a=c=-(u=i=1/0),t}};n.a=o},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=o;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,a=t.r+e.r,c=n.x-r,o=n.y-i,f=c*c+o*o;if(f){var s=.5+((a*=a)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(a+f)-(a-=f)*a-u*u))/(2*f);e.x=r+s*c+l*o,e.y=i+s*o-l*c}else e.x=r+a,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function a(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function c(t){this._=t,this.next=null,this.previous=null}function o(t){if(!(f=t.length))return 0;var n,e,o,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,o=t[2]),n=new c(n),e=new c(e),o=new c(o),n.next=o.previous=e,e.next=n.previous=o,o.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function c(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:H,u:B,U:Y,V:V,w:X,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},Ct={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:at,U:ct,V:ot,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},At={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:A,H:k,I:k,j:M,L:C,m:x,M:T,p:function(t,n,e){var r=yt.exec(n.slice(e));return r?(t.p=_t[r[0].toLowerCase()],e+r[0].length):-1},Q:E,s:z,S:S,u:p,U:g,V:y,w:v,W:_,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,o,n,e)},y:O,Y:m,Z:j,"%":N};function Nt(t,n){return function(e){var r,i,u,a=[],o=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++o53)return null;"w"in o||(o.w=1),"Z"in o?(i=u(a(o.y)),c=i.getUTCDay(),i=c>4||0===c?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(i=n(a(o.y)),c=i.getDay(),i=c>4||0===c?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),c="Z"in o?u(a(o.y)).getUTCDay():n(a(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(c+5)%7:o.w+7*o.U-(c+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,u(o)):n(o)}}function zt(t,n,e,r){for(var i,u,a=0,o=n.length,f=e.length;a=f)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(u=At[i in c?n.charAt(a++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return St.x=Nt(e,St),St.X=Nt(o,St),St.c=Nt(n,St),Ct.x=Nt(e,Ct),Ct.X=Nt(o,Ct),Ct.c=Nt(n,Ct),{format:function(t){var n=Nt(t+="",St);return n.toString=function(){return t},n},parse:function(t){var n=Et(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=Nt(t+="",Ct);return n.toString=function(){return t},n},utcParse:function(t){var n=Et(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 a(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var c={"-":"",_:" ",0:"0"},o=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=o.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function S(t,n,e){var r=o.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function C(t,n,e){var r=o.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=o.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function N(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function E(t,n,e){var r=o.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=o.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function L(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function D(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return D(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function H(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function Y(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function V(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function X(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function at(t){var n=t.getUTCDay();return 0===n?7:n}function ct(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function ot(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),a=e(84),c=e(85);n.a=function(){var t=c.a,n=null,e=Object(i.a)(0),o=c.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,a,c,d,b,v=i.length,p=!1,g=new Array(v),y=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=a;--c)h.point(g[c],y[c]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),y[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],o?+o(d,u,i):y[u]))}if(b)return h=null,b+""||null}function b(){return Object(a.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),o=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(o=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):o},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(o)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,a=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,c=a*e;t.moveTo(0,-e),t.lineTo(i,c);for(var o=1;o<5;++o){var f=r.m*o/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*c,l*i+s*c)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),a=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/a),c=e/2,o=e*u,f=c,s=e*u+e,l=-f,h=s;t.moveTo(c,o),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*c-i*o,i*c+r*o),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*c+i*o,r*o-i*c),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=a,n.d=function(){for(var t,n,e,r,a=0,c=i.b.length;ai.f||Math.abs(_-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(y-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,y=b*b+v*v,_=(v*g-d*y)/p,m=(h*y-b*g)/p,O=a.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=o,O.x=_+s,O.y=(O.cy=m+l)+Math.sqrt(_*_+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),a=e(95),c=e(179),o=e(97),f=e(98),s=e(99);n.a=function(){var t=c.a,n=a.a,e=s.a;function l(r){var u,a,c=r.length,s=new Array(c);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,a=-1,c=0;if(null==n)for(;++a=0;)for(n=(r=t[i]).length;--n>=0;)e[--a]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,a=0,c=t[a];for(null==n&&(n=r.a);++u0&&(e=r-S),U<0?w=M-C:U>0&&(u=o-C),L=h,J.attr("cursor",y.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(a.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:L===b&&(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=o),L=d,nt());break;case 32:L===h&&(a.e.altKey?(D&&(f=x-S*D,e=r+S*D),U&&(w=M-C*U,u=o+C*U),L=b):(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=o),L=d),J.attr("cursor",y[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(a.e.view)}Object(s.b)(),Object(c.b)(q),N.call(q),Q.start()}function tt(){var t=Object(a.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,A=!0,Object(s.a)(),nt()}function nt(){var t;switch(S=Z[0]-G[0],C=Z[1]-G[1],L){case h:case l:D&&(S=Math.max(B-e,Math.min(V-f,S)),r=e+S,x=f+S),U&&(C=Math.max(Y-u,Math.min(X-w,C)),o=u+C,M=w+C);break;case d:D<0?(S=Math.max(B-e,Math.min(V-e,S)),r=e+S,x=f):D>0&&(S=Math.max(B-f,Math.min(V-f,S)),r=e,x=f+S),U<0?(C=Math.max(Y-u,Math.min(X-u,C)),o=u+C,M=w):U>0&&(C=Math.max(Y-w,Math.min(X-w,C)),o=u,M=w+C);break;case b:D&&(r=Math.max(B,Math.min(V,e-S*D)),x=Math.max(B,Math.min(V,f+S*D))),U&&(o=Math.max(Y,Math.min(X,u-C*U)),M=Math.max(Y,Math.min(X,w+C*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),o=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o0)for(var e,r,i=new Array(e),u=0;uO}y.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(a.a)(),y.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w=0;)(r=i[u])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,a=new Array(u),c=0;c1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function a(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),o=-1,f=e.length;++oh?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function _(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=c*g(t),n=a*g(n),e=o*g(e),new i.b(y(3.2404542*n-1.5371385*t-.4985314*e),y(-.969266*n+1.8760108*t+.041556*e),y(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),a=-.14861,c=1.78277,o=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*c,d=c*o-f*a;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,a=(d*r+l*n-h*e)/(d+l-h),c=r-a,b=(s*(e-a)-o*c)/f,p=Math.sqrt(b*b+c*c)/(s*a*(1-a)),g=p?Math.atan2(b,c)*u.b-120:NaN;return new v(g<0?g+360:g,p,a,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(a*r+c*l)),255*(n+e*(o*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e.d(n,"b",function(){return c});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(a,c){var o=[],f=[];return a=t(a),c=t(c),function(t,i,u,a,c,o){if(t!==u||i!==a){var f=c.push("translate(",null,n,null,e);o.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,a)})}else(u||a)&&c.push("translate("+u+n+a+e)}(a.translateX,a.translateY,c.translateX,c.translateY,o,f),function(t,n,e,a){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),a.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(a.rotate,c.rotate,o,f),function(t,n,e,a){t!==n?a.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(a.skewX,c.skewX,o,f),function(t,n,e,i,a,c){if(t!==e||n!==i){var o=a.push(u(a)+"scale(",null,",",null,")");c.push({i:o-4,x:Object(r.a)(t,e)},{i:o-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||a.push(u(a)+"scale("+e+","+i+")")}(a.scaleX,a.scaleY,c.scaleX,c.scaleY,o,f),a=c=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=a(this,t),c=r.on;c!==i&&(u=(i=c).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var a=this._groups,c=a.length,o=new Array(c),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+a);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function a(a){var c,o,f,s,l,h,d=a.length,b=[],v=Object(r.s)(d),p=[],g=[],y=g.groups=new Array(d),_=new Array(d*d);for(c=0,l=-1;++l1e-6)if(Math.abs(l*o-f*s)>1e-6&&u){var d=e-a,b=i-c,v=o*o+f*f,p=d*d+b*b,g=Math.sqrt(v),y=Math.sqrt(h),_=u*Math.tan((r-Math.acos((v+h-p)/(2*g*y)))/2),m=_/y,O=_/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*o)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,c,o){t=+t,n=+n;var f=(e=+e)*Math.cos(a),s=e*Math.sin(a),l=t+f,h=n+s,d=1^o,b=o?a-c:c-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(c))+","+(this._y1=n+e*Math.sin(c))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=c},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function a(){return Object(r.a)()}function c(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,o=[],f=[];function s(e,i,u,a){if(i>=o.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var c,f,l,h=-1,d=e.length,b=o[i++],v=Object(r.a)(),p=u();++ho.length)return e;var i,u=f[r-1];return null!=n&&r>=o.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,a,c),0)},key:function(t){return o.push(t),e},sortKeys:function(t){return f[o.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function a(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-a.x-a.vx,p=d-a.y-a.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(a=(p+y)/2))?p=a:y=a,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(c=+t._x.call(null,d.data),o=+t._y.call(null,d.data),n===c&&e===o)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(a=(p+y)/2))?p=a:y=a}while((l=s<<1|f)==(h=(o>=a)<<1|c>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,a=t.length,c=new Array(a),o=new Array(a),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var a,c,o=i-e,f=this._root;switch(c=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(a=new Array(4))[c]=f,f=a}while(u=r+(o*=2),t>(i=e+o)||n>u);break;case 1:do{(a=new Array(4))[c]=f,f=a}while(u=r+(o*=2),(e=i-o)>t||n>u);break;case 2:do{(a=new Array(4))[c]=f,f=a}while(r=u-(o*=2),t>(i=e+o)||r>n);break;case 3:do{(a=new Array(4))[c]=f,f=a}while(r=u-(o*=2),(e=i-o)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,a,c,o,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(a=f.y0)>b||(c=f.x1)=y)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var _=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=_*_+m*m;if(O=(c=(b+p)/2))?b=c:p=c,(s=a>=(o=(v+g)/2))?v=o:g=o,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,a,c,o=[],f=this._root;for(f&&o.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=o.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,a=n.x1,c=n.y1)&&f.length){var s=(i+a)/2,l=(u+c)/2;(e=f[3])&&o.push(new r.a(e,s,l,a,c)),(e=f[2])&&o.push(new r.a(e,i,l,s,c)),(e=f[1])&&o.push(new r.a(e,s,u,a,l)),(e=f[0])&&o.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var a,c=n.x0,o=n.y0,f=n.x1,s=n.y1,l=(c+f)/2,h=(o+s)/2;(a=u[0])&&e.push(new r.a(a,c,o,l,h)),(a=u[1])&&e.push(new r.a(a,l,o,f,h)),(a=u[2])&&e.push(new r.a(a,c,h,l,s)),(a=u[3])&&e.push(new r.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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function a(t){return t.index}function c(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,o,f,s,l=a,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,a=t.length;u=s)){(t.data!==n||t.next)&&(0===o&&(b+=(o=Object(i.a)())*o),0===h&&(b+=(h=Object(i.a)())*h),b0&&c>0&&(o+c+1>r&&(c=Math.max(1,r-o)),u.push(e.substring(i-=c,i+c)),!((o+=c+1)>r));)c=t[a=(a+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var a=e(128);e.d(n,"j",function(){return a.b});var c=e(130);e.d(n,"k",function(){return c.a});var o=e(136);e.d(n,"l",function(){return o.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var y=e(342);e.d(n,"b",function(){return y.a});var _=e(343);e.d(n,"d",function(){return _.b}),e.d(n,"e",function(){return _.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var S=e(76);e.d(n,"F",function(){return S.a}),e.d(n,"G",function(){return S.c});var C=e(349);e.d(n,"H",function(){return C.a}),e.d(n,"I",function(){return C.b});var A=e(350);e.d(n,"J",function(){return A.a}),e.d(n,"K",function(){return A.b});var N=e(351);e.d(n,"P",function(){return N.a}),e.d(n,"Q",function(){return N.b});var E=e(352);e.d(n,"T",function(){return E.a}),e.d(n,"U",function(){return E.b});var z=e(39);e.d(n,"O",function(){return z.a});var P=e(14);e.d(n,"R",function(){return P.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,u,a,c,o,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),y=Object(d.a)(),_={point:m,lineStart:j,lineEnd:x,polygonStart:function(){_.point=w,_.lineStart=M,_.lineEnd=k,y.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),_.point=m,_.lineStart=j,_.lineEnd=x,b.a<0?(r=-(u=180),i=-(a=90)):y>p.i?a=90:y<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),na&&(a=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var o=Object(v.c)(s,e),f=[o[1],-o[0],0],d=Object(v.c)(f,o);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-c,y=g>0?1:-1,_=d[0]*p.h*y,m=Object(p.a)(g)>180;m^(y*c<_&&_a&&(a=b):m^(y*c<(_=(_+360)%360-180)&&_a&&(a=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>c?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);na&&(a=n),s=e,c=t}function j(){_.point=O}function x(){h[0]=r,h[1]=u,_.point=m,s=null}function w(t,n){if(s){var e=t-c;y.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else o=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(o,f),b.b.lineEnd(),Object(p.a)(y)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function S(t,n){return t[0]-n[0]}function C(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(c[0],c[1])&&(c[1]=o[1]),T(o[0],c[1])>T(c[0],c[1])&&(c[0]=o[0])):f.push(c=o);for(s=-1/0,n=0,c=f[e=f.length-1];n<=e;c=o,++n)o=f[n],(d=T(c[1],o[0]))>s&&(s=d,r=o[0],u=c[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,a]]}},function(t,n,e){"use strict";var r,i,u,a,c,o,f,s,l,h,d,b,v,p,g,y,_=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:S,polygonStart:function(){j.lineStart=C,j.lineEnd=A},polygonEnd:function(){j.lineStart=M,j.lineEnd=S}};function x(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);w(e*Object(_.g)(t),e*Object(_.t)(t),Object(_.t)(n))}function w(t,n,e){u+=(t-u)/++r,a+=(n-a)/r,c+=(e-c)/r}function M(){j.point=k}function k(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),j.point=T,w(p,g,y)}function T(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),a=Object(_.t)(n),c=Object(_.e)(Object(_.u)((c=g*a-y*u)*c+(c=y*r-p*a)*c+(c=p*u-g*r)*c),p*r+g*u+y*a);i+=c,o+=c*(p+(p=r)),f+=c*(g+(g=u)),s+=c*(y+(y=a)),w(p,g,y)}function S(){j.point=x}function C(){j.point=N}function A(){E(b,v),j.point=x}function N(t,n){b=t,v=n,t*=_.r,n*=_.r,j.point=E;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),w(p,g,y)}function E(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),a=Object(_.t)(n),c=g*a-y*u,b=y*r-p*a,v=p*u-g*r,m=Object(_.u)(c*c+b*b+v*v),O=Object(_.c)(m),j=m&&-O/m;l+=j*c,h+=j*b,d+=j*v,i+=O,o+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(y+(y=a)),w(p,g,y)}n.a=function(t){r=i=u=a=c=o=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v<_.j&&(n=o,e=f,b=s,i<_.i&&(n=u,e=a,b=c),(v=n*n+e*e+b*b)<_.j)?[NaN,NaN]:[Object(_.e)(e,n)*_.h,Object(_.c)(b/Object(_.u)(v))*_.h]}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(40);n.a=function(){var t,n,e,i=0,u=0,a=960,c=500;return e={stream:function(e){return t&&n===e?t:t=Object(r.a)(i,u,a,c)(n=e)},extent:function(r){return arguments.length?(i=+r[0][0],u=+r[0][1],a=+r[1][0],c=+r[1][1],t=n=null,e):[[i,u],[a,c]]}}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i,u){var a,c=t[0],o=t[1],f=0,s=1,l=n[0]-c,h=n[1]-o;if(a=e-c,l||!(a>0)){if(a/=l,l<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=i-c,l||!(a<0)){if(a/=l,l<0){if(a>s)return;a>f&&(f=a)}else if(l>0){if(a0)){if(a/=h,h<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=u-o,h||!(a<0)){if(a/=h,h<0){if(a>s)return;a>f&&(f=a)}else if(h>0){if(a0&&(t[0]=c+f*l,t[1]=o+f*h),s<1&&(n[0]=c+s*l,n[1]=o+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),a={Feature:function(t,n){return o(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,o,g).filter(function(t){return Object(i.a)(t%_)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(c).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(c=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],c>e&&(t=c,c=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[c,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],o=+e[1][1],n>t&&(e=n,n=t,t=e),f>o&&(e=f,f=o,o=e),O.precision(m)):[[n,f],[t,o]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(y=+t[0],_=+t[1],O):[y,_]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,o,90),d=a(n,t,m),b=u(l,s,90),v=a(c,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,a=n[1]*r.r,c=Object(r.g)(i),o=Object(r.t)(i),f=Object(r.g)(a),s=Object(r.t)(a),l=c*Object(r.g)(e),h=c*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(a-i)+c*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,a=e*o+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(a,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),a=e(139),c=e(336),o=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(a.a)),a.a.result()},d.centroid=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new o.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,a,c=e(19),o=e(0),f=e(11),s=Object(c.a)(),l=Object(c.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(o.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=a=n}function v(t,n){l.add(a*t-u*n),u=t,a=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,a,c=e(0),o=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:y,lineStart:_,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=y,g.lineStart=_,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[o/s,f/s]:[NaN,NaN];return o=f=s=l=h=d=b=v=p=0,t}};function y(t,n){o+=t,f+=n,++s}function _(){g.point=m}function m(t,n){g.point=O,y(u=t,a=n)}function O(t,n){var e=t-u,r=n-a,i=Object(c.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(a+n)/2,d+=i,y(u=t,a=n)}function j(){g.point=y}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,y(r=u=t,i=a=n)}function k(t,n){var e=t-u,r=n-a,i=Object(c.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(a+n)/2,d+=i,b+=(i=a*t-u*n)*(u+t),v+=i*(a+n),p+=3*i,y(u=t,a=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,a,c,o=e(19),f=e(0),s=e(11),l=Object(o.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=a=t,u=c=n}function b(t,n){a-=t,c-=n,l.add(Object(f.u)(a*a+c*c)),a=t,c=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),a=16,c=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,a,o,f,s,l,h,d,b,v,p,g,y){var _=l-r,m=h-u,O=_*_+m*m;if(O>4*n&&g--){var j=o+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((_*N+m*E)/O-.5)>.3||o*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=c/Object(r.p)(a(n),i);return[e*Object(r.t)(i*t),c-e*Object(r.g)(i*t)]}return o.invert=function(t,n){var e=c-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(c/u,1/i))-r.l]},o}n.b=function(){return Object(i.a)(c).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),u=e(141);function a(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),a=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),u=e(8);function a(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}a.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(a).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),u=e(8);function a(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}a.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(a).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var a=e(142);e.d(n,"e",function(){return a.a});var c=e(143);e.d(n,"d",function(){return c.a});var o=e(368);e.d(n,"f",function(){return o.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,a=!1;function c(r){var c,o=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=c?o+=t(n,c):0,n.y=0,c=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(a?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return c.separation=function(n){return arguments.length?(t=n,c):t},c.size=function(t){return arguments.length?(a=!1,n=+t[0],e=+t[1],c):a?null:[n,e]},c.nodeSize=function(t){return arguments.length?(a=!0,n=+t[0],e=+t[1],c):a?[n,e]:null},c}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,a=[u];do{for(n=a.reverse(),a=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],a=[];i=u.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function a(t){return Math.sqrt(t.value)}function c(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function o(t,n){return function(e){if(i=e.children){var i,u,a,c=i.length,o=t(e)*n||0;if(o)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function a(t){var n=t.children;return n?n[n.length-1]:t.t}function c(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function o(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,a=new f(t,0),c=[a];n=c.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)c.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(a.parent=new f(null,0)).children=[a],a}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var a=i,c=i,o=i;i.eachBefore(function(t){t.xc.x&&(c=t),t.depth>o.depth&&(o=t)});var s=a===c?1:t(a,c)/2,b=s-a.x,v=n/(c.x+s+b),p=e/(o.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=a(l),f=u(f),l&&f;)h=u(h),(s=a(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(c(o(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!a(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),a=e(144);n.a=function(){var t=i.a,n=!1,e=1,c=1,o=[0],f=a.a,s=a.a,l=a.a,h=a.a,d=a.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=c,t.eachBefore(v),o=[0],n&&t.eachBefore(r.a),t}function v(n){var e=o[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,a=n.y1-e;u=e-1){var s=c[n];return s.x0=i,s.y0=u,s.x1=a,void(s.y1=o)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]o-u){var y=(i*g+a*p)/r;t(n,d,p,i,u,y,o),t(d,e,g,y,u,a,o)}else{var _=(u*g+o*p)/r;t(n,d,p,i,u,a,_),t(d,e,g,i,_,a,o)}}(0,o,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,a){(1&t.depth?i.a:r.a)(t,n,e,u,a)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,a,c,o){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var a=e(380);e.d(n,"c",function(){return a.a});var c=e(381);e.d(n,"e",function(){return c.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),a=new Array(e);for(n=0;n=0;--n)l.push(t[r[c[n]][2]]);for(n=+f;nc!=f>c&&a<(o-e)*(c-r)/(f-r)+e&&(s=!s),o=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],a=u[0],c=u[1],o=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var a=e(388);e.d(n,"a",function(){return a.a});var c=e(147);e.d(n,"c",function(){return c.a});var o=e(389);e.d(n,"b",function(){return o.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var a=e(393);e.d(n,"e",function(){return a.a});var c=e(394);e.d(n,"g",function(){return c.a});var o=e(395);e.d(n,"a",function(){return o.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var a=e(401);e.d(n,"m",function(){return a.a});var c=e(149);e.d(n,"n",function(){return c.a}),e.d(n,"k",function(){return c.b});var o=e(402);e.d(n,"p",function(){return o.a}),e.d(n,"t",function(){return o.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var y=e(426);e.d(n,"b",function(){return y.a});var _=e(427);e.d(n,"f",function(){return _.b}),e.d(n,"h",function(){return _.c}),e.d(n,"a",function(){return _.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),a=e.domain,c=e.range,o=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=a().length,i=o[1]0){for(;hc)break;p.push(l)}}else for(;h=1;--f)if(!((l=o*f)c)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=a?[c[a-1],e]:[c[r-1],c[r]]};f.copy=function(){return t().domain([n,e]).range(o)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function a(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}a.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),a):n.slice()};a.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),a):e.slice()};a.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};a.copy=function(){return t().domain(n).range(e)};return a};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return c}),e.d(n,"k",function(){return o}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var a=u(0),c=u(1),o=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=a.range,b=c.range,v=o.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var a=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return c}),e.d(n,"k",function(){return o}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var a=u(0),c=u(1),o=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=a.range,b=c.range,v=o.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return a});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),a=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return c.h=360*t-100,c.s=1.5-1.5*n,c.l=.8-.9*n,c+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return a}),e.d(n,"d",function(){return c});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),a=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),c=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function a(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}a.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],a):[e,i]};a.clamp=function(t){return arguments.length?(u=!!t,a):u};a.interpolator=function(t){return arguments.length?(n=t,a):n};a.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(a)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function a(t){return t.innerRadius}function c(t){return t.outerRadius}function o(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,a,c){var o=t-e,f=n-r,s=(c?a:-a)/Object(u.l)(o*o+f*f),l=s*f,h=-s*o,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,y=(b+p)/2,_=v-d,m=p-b,O=_*_+m*m,j=i-a,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-_*w)/O,k=(-x*_-m*w)/O,T=(x*m+_*w)/O,S=(-x*_+m*w)/O,C=M-g,A=k-y,N=T-g,E=S-y;return C*C+A*A>N*N+E*E&&(M=T,k=S),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=a,n=c,e=Object(i.a)(0),h=null,d=o,b=f,v=s,p=null;function g(){var i,a,c=+t.apply(this,arguments),o=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),y=s>f;if(p||(p=i=Object(r.a)()),ou.f)if(g>u.m-u.f)p.moveTo(o*Object(u.e)(f),o*Object(u.k)(f)),p.arc(0,0,o,f,s,!y),c>u.f&&(p.moveTo(c*Object(u.e)(s),c*Object(u.k)(s)),p.arc(0,0,c,s,f,y));else{var _,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,S=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(c*c+o*o)),C=Object(u.i)(Object(u.a)(o-c)/2,+e.apply(this,arguments)),A=C,N=C;if(S>u.f){var E=Object(u.c)(S/c*Object(u.k)(T)),z=Object(u.c)(S/o*Object(u.k)(T));(M-=2*E)>u.f?(x+=E*=y?1:-1,w-=E):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=y?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var P=o*Object(u.e)(O),q=o*Object(u.k)(O),R=c*Object(u.e)(w),L=c*Object(u.k)(w);if(C>u.f){var D=o*Object(u.e)(j),U=o*Object(u.k)(j),F=c*Object(u.e)(x),I=c*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,a,c){var o=e-t,f=r-n,s=a-i,l=c-u,h=(s*(n-u)-l*(t-i))/(l*o-s*f);return[t+h*o,n+h*f]}(P,q,F,I,D,U,R,L):[R,L],B=P-H[0],Y=q-H[1],V=D-H[0],X=U-H[1],W=1/Object(u.k)(Object(u.b)((B*V+Y*X)/(Object(u.l)(B*B+Y*Y)*Object(u.l)(V*V+X*X)))/2),G=Object(u.l)(H[0]*H[0]+H[1]*H[1]);A=Object(u.i)(C,(c-G)/(W-1)),N=Object(u.i)(C,(o-G)/(W+1))}}k>u.f?N>u.f?(_=l(F,I,P,q,o,N,y),m=l(D,U,R,L,o,N,y),p.moveTo(_.cx+_.x01,_.cy+_.y01),Nu.f&&M>u.f?A>u.f?(_=l(R,L,D,U,c,-A,y),m=l(P,q,F,I,c,-A,y),p.lineTo(_.cx+_.x01,_.cy+_.y01),A0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(y-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:_};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),s):c},s.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,a=t.lineX1,c=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(a())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(c())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),a=e(85),c=e(158);function o(t){return t.source}function f(t){return t.target}function s(t){var n=o,e=f,c=a.a,s=a.b,l=null;function h(){var u,a=i.a.call(arguments),o=n.apply(this,a),f=e.apply(this,a);if(l||(l=u=Object(r.a)()),t(l,+c.apply(this,(a[0]=o,a)),+s.apply(this,a),+c.apply(this,(a[0]=f,a)),+s.apply(this,a)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(c="function"==typeof t?t:Object(u.a)(+t),h):c},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(c.a)(n,e),a=Object(c.a)(n,e=(e+i)/2),o=Object(c.a)(r,e),f=Object(c.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(a[0],a[1],o[0],o[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),a=e(162),c=e(163),o=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,a.a,o.a,c.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],a=t[e]-i,c=n[e]-u,o=-1;++o<=e;)r=o/e,this._basis.point(this._beta*t[o]+(1-this._beta)*(i+r*a),this._beta*n[o]+(1-this._beta)*(u+r*c));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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function a(t,n){this._context=t,this._alpha=n}a.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new a(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,a=(t._y1-t._y0)/(i||u<0&&-0),c=(e-t._y1)/(u||i<0&&-0),o=(a*u+c*i)/(i+u);return(r(a)+r(c))*Math.min(Math.abs(a),Math.abs(c),.5*Math.abs(o))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function a(t,n,e){var r=t._x0,i=t._y0,u=t._x1,a=t._y1,c=(u-r)/3;t._context.bezierCurveTo(r+c,i+c*n,u-c,a-c*e,u,a)}function c(t){this._context=t}function o(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new c(t)},n.b=function(t){return new o(t)},c.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 e=NaN;if(n=+n,(t=+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,e=i(this,t,n)),e);break;default:a(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(o.prototype=Object.create(c.prototype)).point=function(t,n){c.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),a=new Array(r);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[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),a=e(31);function c(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=a.a,e=u.a,o=c;function f(r){var i,u,a=t.apply(this,arguments),c=r.length,f=a.length,s=new Array(f);for(i=0;i0){for(var e,i,u,a=0,c=t[0].length;a1)for(var e,r,i,u,a,c,o=0,f=t[n[0]].length;o=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=a,r[0]=a+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],a=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,a=0,c=1;cc.f)b=b.L;else{if(!((o=s-h(b,d))>c.f)){r>-c.f?(n=b.P,e=b):o>-c.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(c.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),c.a.insert(v,e),v.edge=e.edge=Object(a.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(a.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],y=p[1],_=t[0]-g,m=t[1]-y,O=e.site,j=O[0]-g,x=O[1]-y,w=2*(_*x-m*j),M=_*_+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(_*k-j*M)/w+y];Object(a.d)(e.edge,p,O,T),v.edge=Object(a.c)(p,t,null,T),e.edge=Object(a.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),a=e(89),c=e(32),o=[];function f(t){var n=o.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),c.a.remove(t),o.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var a=t.P;if(!a)return-1/0;var c=(e=a.site)[0],o=e[1],f=o-n;if(!f)return c;var s=c-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-o+f/2+i-u/2)))/l+r:(r+c)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),a=e(1),c=e(62),o=e(461),f=e(462),s=e(171),l=e(463);function h(){return!a.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-a.e.deltaY*(a.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>u?(u+a)/2:Math.min(0,u)||Math.max(0,a))}n.a=function(){var t,n,e=h,y=d,_=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),S=500,C=150,A=0;function N(t){t.property("__zoom",b).on("wheel.zoom",D).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function P(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=y.apply(this,t),u=e||P(i),a=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),c=this.__zoom,o="function"==typeof n?n.apply(this,t):n,f=M(c.invert(u).concat(a/c.k),o.invert(u).concat(a/o.k));return function(t){if(1===t)t=o;else{var n=f(t),e=a/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=k.length;rA}t.zoom("mouse",_(z(t.that.__zoom,t.mouse[0]=Object(a.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(a.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(a.h)(this),o=a.e.clientX,f=a.e.clientY;Object(i.b)(a.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(c.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(a.h)(this),r=t.invert(n),i=t.k*(a.e.shiftKey?.5:2),u=_(z(E(t,i),n,r),y.apply(this,arguments),x);Object(l.a)(),w>0?Object(a.k)(this).transition().duration(w).call(q,u,n):Object(a.k)(this).call(N.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,o=R(this,arguments),f=a.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,a=i.dimensions,c=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",a.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",c.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464),u=e(479);e.n(u);u.initialize(r);var a=u.defaultConfig,c={id:"liquid_fill_gauge",label:"Liquid Fill Gauge",options:{showComparison:{label:"Use field comparison",default:!1,section:"Value",type:"boolean"},minValue:{label:"Min value",min:0,default:a.minValue,section:"Value",type:"number",placeholder:"Any positive number"},maxValue:{label:"Max value",min:0,default:a.maxValue,section:"Value",type:"number",placeholder:"Any positive number"},circleThickness:{label:"Circle Thickness",min:0,max:1,step:.05,default:a.circleThickness,section:"Style",type:"number",display:"range"},circleFillGap:{label:"Circle Gap",min:0,max:1,step:.05,default:a.circleFillGap,section:"Style",type:"number",display:"range"},circleColor:{label:"Circle Color",default:a.circleFillGap,section:"Style",type:"string",display:"color"},waveHeight:{label:"Wave Height",min:0,max:1,step:.05,default:a.waveHeight,section:"Waves",type:"number",display:"range"},waveCount:{label:"Wave Count",min:0,max:10,default:a.waveCount,section:"Waves",type:"number",display:"range"},waveRiseTime:{label:"Wave Rise Time",min:0,max:5e3,step:50,default:a.waveRiseTime,section:"Waves",type:"number",display:"range"},waveAnimateTime:{label:"Wave Animation Time",min:0,max:5e3,step:50,default:a.waveAnimateTime,section:"Waves",type:"number",display:"range"},waveRise:{label:"Wave Rise from Bottom",default:a.waveRise,section:"Waves",type:"boolean"},waveHeightScaling:{label:"Scale waves if high or low",default:a.waveHeightScaling,section:"Waves",type:"boolean"},waveAnimate:{label:"Animate Waves",default:!0,section:"Waves",type:"boolean"},waveColor:{label:"Wave Color",default:"#64518A",section:"Style",type:"string",display:"color"},waveOffset:{label:"Wave Offset",min:0,max:1,step:.05,default:0,section:"Waves",type:"number",display:"range"},textVertPosition:{label:"Text Vertical Offset",min:0,max:1,step:.01,default:.5,section:"Value",type:"number",display:"range"},textSize:{label:"Text Size",min:0,max:1,step:.01,default:1,section:"Value",type:"number",display:"range"},valueCountUp:{label:"Animate to Value",default:!0,section:"Waves",type:"boolean"},displayPercent:{label:"Display as Percent",default:!0,section:"Value",type:"boolean"},textColor:{label:"Text Color (non-overlapped)",default:"#000000",section:"Style",type:"string",display:"color"},waveTextColor:{label:"Text Color (overlapped)",default:"#FFFFFF",section:"Style",type:"string",display:"color"}},create:function(t,n){t.style.margin="10px",t.style.fontFamily='"Open Sans", "Helvetica", sans-serif',t.innerHTML="\n \n ";var e="fill-gauge-"+Date.now();this.svg=r.select(t).append("svg"),this.svg.attr("id",e)},update:function(t,n,e,a){if(Object(i.b)(this,a,{min_pivots:0,max_pivots:0,min_dimensions:0,max_dimensions:void 0,min_measures:1,max_measures:void 0})){var c=Object.assign(u.defaultConfig,e);if(this.addError&&this.clearErrors){if(c.maxValue<=0)return void this.addError({group:"config",title:"Max value must be greater than zero."});this.clearErrors("config")}var o=a.fields.measure_like[0],f=t[0][o.name],s=f.value,l=a.fields.measure_like[1];if(l&&c.showComparison){var h=t[0][l.name];c.maxValue=h.value}c.displayPercent&&(s=f.value/c.maxValue*100,c.maxValue=100),this.svg.html(""),this.svg.attr("width",n.clientWidth-20),this.svg.attr("height",n.clientHeight-20),r.liquidfillgauge(this.svg,s,c)}}};looker.plugins.visualizations.add(c)},function(t,n){ /*! * @license Open source under BSD 2-clause (http://choosealicense.com/licenses/bsd-2-clause/) * Copyright (c) 2015, Curtis Bratton diff --git a/dist/sankey.js b/dist/sankey.js index 26c3402e..b676ea53 100644 --- a/dist/sankey.js +++ b/dist/sankey.js @@ -1 +1 @@ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sankey=n():t.sankey=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=469)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return _}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=_(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),y=Math.pow,_=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var y=e(232);e.d(n,"r",function(){return y.a});var _=e(55);e.d(n,"s",function(){return _.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var y=e(100);e.d(n,"o",function(){return y.a});var _=e(92);e.d(n,"p",function(){return _.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var E=e(94);e.d(n,"D",function(){return E.a});var N=e(190);e.d(n,"E",function(){return N.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=L;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),y=e(215),_=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),E=e(224),N=e(225),A=e(226),S=e(56),C=e(227),z=[null];function L(t,n){this._groups=t,this._parents=n}function P(){return new L([[document.documentElement]],z)}L.prototype=P.prototype={constructor:L,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:y.a,style:_.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:E.a,clone:N.a,datum:A.a,on:S.b,dispatch:C.a},n.b=P},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var y=e(245);e.d(n,"e",function(){return y.b}),e.d(n,"f",function(){return y.a});var _=e(246);e.d(n,"w",function(){return _.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,y;if(e.state!==a)return b();for(v in u)if((y=u[v]).name===e.name){if(y.state===s)return Object(i.c)(c);y.state===l?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,E*a.h,N*a.h]},q.precision=function(t){return arguments.length?(P=Object(h.a)(D,L=t*t),F()):Object(a.u)(L)},q.fitExtent=function(t,n){return Object(l.a)(q,t,n)},q.fitSize=function(t,n){return Object(l.c)(q,t,n)},q.fitWidth=function(t,n){return Object(l.d)(q,t,n)},q.fitHeight=function(t,n){return Object(l.b)(q,t,n)},function(){return n=t.apply(this,arguments),q.invert=n.invert&&R,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),y=e(266),_=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:_.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:y.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,y,_,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:E,lineStart:function(){T.point=N,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(N(g,y),_&&j&&k.rejoin(),d.push(k.result()));T.point=E,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function E(t,n){l(t,n)&&M.point(t,n)}function N(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,y=i,_=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?m(y[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=_(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=_(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function E(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,_,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(E(t>=240?t-240:t+120,i,r),E(t,i,r),E(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function _(){s=(f=h.now())+l,u=c=0;try{y()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(_,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(_)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new y(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=b.prototype={constructor:y,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,y,_=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),y=h*h*g,(v=Math.max(b/y,y/d))>p){h-=f;break}p=v}_.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=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);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,y(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,y=t.type,_="$"===f?e[0]:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(y)?d:"",O=o.a[y],j=!y||/[defgprs%]/.test(y);function x(t){var e,c,o,f=_,d=m;if("c"===y)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===y?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!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"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){y(r,i)}function g(t,n){b.point=y,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function y(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,y={point:_,lineStart:O,lineEnd:j,polygonStart:function(){y.point=x,y.lineStart=w,y.lineEnd=M,h=[],l=[]},polygonEnd:function(){y.point=_,y.lineStart=O,y.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function _(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){y.point=m,b.lineStart()}function j(){y.point=_,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return y}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,E=T>u.o,N=g*x;if(c.add(Object(u.e)(N*k*Object(u.t)(T),y*w+N*Object(u.g)(T))),a+=E?M+k*u.w:M,E^v>=e^O>=e){var A=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(A);var S=Object(i.c)(o,A);Object(i.e)(S);var C=(E^M>=0?-1:1)*Object(u.c)(S[2]);(r>C||r===C&&(A[0]||A[1]))&&(f+=E^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var y=v,_=Object(r.d)(p,y),m=Object(r.d)(y,y),O=_*_-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(y,(-_-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],E=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var S=Object(r.f)(y,(-_+j)/m);return Object(r.b)(S,p),[x,Object(r.g)(S)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),y=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var _;y&e||!(_=l(p,n,!0))||(o=0,a?(t.lineStart(),t.point(_[0][0],_[0][1]),t.point(_[1][0],_[1][1]),t.lineEnd()):(t.point(_[1][0],_[1][1]),t.lineEnd(),t.lineStart(),t.point(_[0][0],_[0][1])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:Y,u:B,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},Nt={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},At={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:A,H:k,I:k,j:M,L:N,m:x,M:T,p:function(t,n,e){var r=yt.exec(n.slice(e));return r?(t.p=_t[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:E,u:p,U:g,V:y,w:v,W:_,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":S};function St(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=At[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Et.x=St(e,Et),Et.X=St(a,Et),Et.c=St(n,Et),Nt.x=St(e,Nt),Nt.X=St(a,Nt),Nt.c=St(n,Nt),{format:function(t){var n=St(t+="",Et);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=St(t+="",Nt);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function S(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function L(t,n){return l(t.getDate(),n,2)}function P(t,n){return l(t.getHours(),n,2)}function q(t,n){return l(t.getHours()%12||12,n,2)}function R(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function D(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return D(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function Y(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),y=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],y[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),y[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):y[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(_-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(y-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,y=b*b+v*v,_=(v*g-d*y)/p,m=(h*y-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=_+s,O.y=(O.cy=m+l)+Math.sqrt(_*_+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-E),U<0?w=M-N:U>0&&(u=a-N),R=h,J.attr("cursor",y.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=L=W=!1,nt());break;case 18:R===b&&(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),R=d,nt());break;case 32:R===h&&(c.e.altKey?(D&&(f=x-E*D,e=r+E*D),U&&(w=M-N*U,u=a+N*U),R=b):(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),R=d),J.attr("cursor",y[q]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(P),S.call(P),Q.start()}function tt(){var t=Object(c.h)(P);!W||z||L||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?L=!0:z=!0),Z=t,A=!0,Object(s.a)(),nt()}function nt(){var t;switch(E=Z[0]-G[0],N=Z[1]-G[1],R){case h:case l:D&&(E=Math.max(B-e,Math.min(X-f,E)),r=e+E,x=f+E),U&&(N=Math.max(H-u,Math.min(V-w,N)),a=u+N,M=w+N);break;case d:D<0?(E=Math.max(B-e,Math.min(X-e,E)),r=e+E,x=f):D>0&&(E=Math.max(B-f,Math.min(X-f,E)),r=e,x=f+E),U<0?(N=Math.max(H-u,Math.min(V-u,N)),a=u+N,M=w):U>0&&(N=Math.max(H-w,Math.min(V-w,N)),a=u,M=w+N);break;case b:D&&(r=Math.max(B,Math.min(X,e-E*D)),x=Math.max(B,Math.min(X,f+E*D))),U&&(a=Math.max(H,Math.min(V,u-N*U)),M=Math.max(H,Math.min(V,w+N*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}y.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),y.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function _(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(y(3.2404542*n-1.5371385*t-.4985314*e),y(-.969266*n+1.8760108*t+.041556*e),y(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],y=g.groups=new Array(d),_=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),y=Math.sqrt(h),_=u*Math.tan((r-Math.acos((v+h-p)/(2*g*y)))/2),m=_/y,O=_/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+y)/2))?p=c:y=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+y)/2))?p=c:y=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=y)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var _=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=_*_+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var y=e(342);e.d(n,"b",function(){return y.a});var _=e(343);e.d(n,"d",function(){return _.b}),e.d(n,"e",function(){return _.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var E=e(76);e.d(n,"F",function(){return E.a}),e.d(n,"G",function(){return E.c});var N=e(349);e.d(n,"H",function(){return N.a}),e.d(n,"I",function(){return N.b});var A=e(350);e.d(n,"J",function(){return A.a}),e.d(n,"K",function(){return A.b});var S=e(351);e.d(n,"P",function(){return S.a}),e.d(n,"Q",function(){return S.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var L=e(14);e.d(n,"R",function(){return L.a});var P=e(41);e.d(n,"S",function(){return P.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),y=Object(d.a)(),_={point:m,lineStart:j,lineEnd:x,polygonStart:function(){_.point=w,_.lineStart=M,_.lineEnd=k,y.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),_.point=m,_.lineStart=j,_.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):y>p.i?c=90:y<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,y=g>0?1:-1,_=d[0]*p.h*y,m=Object(p.a)(g)>180;m^(y*o<_&&_c&&(c=b):m^(y*o<(_=(_+360)%360-180)&&_c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){_.point=O}function x(){h[0]=r,h[1]=u,_.point=m,s=null}function w(t,n){if(s){var e=t-o;y.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(y)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function E(t,n){return t[0]-n[0]}function N(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,y,_=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:E,polygonStart:function(){j.lineStart=N,j.lineEnd=A},polygonEnd:function(){j.lineStart=M,j.lineEnd=E}};function x(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);w(e*Object(_.g)(t),e*Object(_.t)(t),Object(_.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),j.point=T,w(p,g,y)}function T(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),c=Object(_.t)(n),o=Object(_.e)(Object(_.u)((o=g*c-y*u)*o+(o=y*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+y*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(y+(y=c)),w(p,g,y)}function E(){j.point=x}function N(){j.point=S}function A(){C(b,v),j.point=x}function S(t,n){b=t,v=n,t*=_.r,n*=_.r,j.point=C;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),w(p,g,y)}function C(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),c=Object(_.t)(n),o=g*c-y*u,b=y*r-p*c,v=p*u-g*r,m=Object(_.u)(o*o+b*b+v*v),O=Object(_.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(y+(y=c)),w(p,g,y)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v<_.j&&(n=a,e=f,b=s,i<_.i&&(n=u,e=c,b=o),(v=n*n+e*e+b*b)<_.j)?[NaN,NaN]:[Object(_.e)(e,n)*_.h,Object(_.c)(b/Object(_.u)(v))*_.h]}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(40);n.a=function(){var t,n,e,i=0,u=0,c=960,o=500;return e={stream:function(e){return t&&n===e?t:t=Object(r.a)(i,u,c,o)(n=e)},extent:function(r){return arguments.length?(i=+r[0][0],u=+r[0][1],c=+r[1][0],o=+r[1][1],t=n=null,e):[[i,u],[c,o]]}}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i,u){var c,o=t[0],a=t[1],f=0,s=1,l=n[0]-o,h=n[1]-a;if(c=e-o,l||!(c>0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%_)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(y=+t[0],_=+t[1],O):[y,_]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:y,lineStart:_,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=y,g.lineStart=_,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function y(t,n){a+=t,f+=n,++s}function _(){g.point=m}function m(t,n){g.point=O,y(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,y(u=t,c=n)}function j(){g.point=y}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,y(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,y(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,y){var _=l-r,m=h-u,O=_*_+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((_*S+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var y=(i*g+c*p)/r;t(n,d,p,i,u,y,a),t(d,e,g,y,u,c,a)}else{var _=(u*g+a*p)/r;t(n,d,p,i,u,c,_),t(d,e,g,i,_,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var y=e(426);e.d(n,"b",function(){return y.a});var _=e(427);e.d(n,"f",function(){return _.b}),e.d(n,"h",function(){return _.c}),e.d(n,"a",function(){return _.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=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,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,y=(b+p)/2,_=v-d,m=p-b,O=_*_+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-_*w)/O,k=(-x*_-m*w)/O,T=(x*m+_*w)/O,E=(-x*_+m*w)/O,N=M-g,A=k-y,S=T-g,C=E-y;return N*N+A*A>S*S+C*C&&(M=T,k=E),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),y=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!y),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,y));else{var _,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,E=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),N=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),A=N,S=N;if(E>u.f){var C=Object(u.c)(E/o*Object(u.k)(T)),z=Object(u.c)(E/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=y?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=y?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var L=a*Object(u.e)(O),P=a*Object(u.k)(O),q=o*Object(u.e)(w),R=o*Object(u.k)(w);if(N>u.f){var D=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(L,P,F,I,D,U,q,R):[q,R],B=L-Y[0],H=P-Y[1],X=D-Y[0],V=U-Y[1],W=1/Object(u.k)(Object(u.b)((B*X+H*V)/(Object(u.l)(B*B+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(Y[0]*Y[0]+Y[1]*Y[1]);A=Object(u.i)(N,(o-G)/(W-1)),S=Object(u.i)(N,(a-G)/(W+1))}}k>u.f?S>u.f?(_=l(F,I,L,P,a,S,y),m=l(D,U,q,R,a,S,y),p.moveTo(_.cx+_.x01,_.cy+_.y01),Su.f&&M>u.f?A>u.f?(_=l(q,R,D,U,o,-A,y),m=l(L,P,F,I,o,-A,y),p.lineTo(_.cx+_.x01,_.cy+_.y01),A0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(y-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:_};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},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:c(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 e=NaN;if(n=+n,(t=+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,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],y=p[1],_=t[0]-g,m=t[1]-y,O=e.site,j=O[0]-g,x=O[1]-y,w=2*(_*x-m*j),M=_*_+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(_*k-j*M)/w+y];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,y=d,_=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),E=500,N=150,A=0;function S(t){t.property("__zoom",b).on("wheel.zoom",D).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function P(t,n,e){t.on("start.zoom",function(){q(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){q(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=q(this,t),i=y.apply(this,t),u=e||L(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function q(t,n){for(var e,r=0,i=k.length;rA}t.zoom("mouse",_(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=_(z(C(t,i),n,r),y.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(P,u,n):Object(c.k)(this).call(S.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=q(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},function(t,n,e){"use strict";n.a=function(t,n){return t.sourceLinks.length?t.depth:n-1};e(3)},,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(470),u=e(464),c={id:"sankey",label:"Sankey",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]}},create:function(t,n){t.innerHTML="\n \n ",this.svg=r.select(t).append("svg")},updateAsync:function(t,n,e,o,a,f){if(Object(u.b)(this,o,{min_pivots:0,max_pivots:0,min_dimensions:2,max_dimensions:void 0,min_measures:1,max_measures:1})){var s=n.clientWidth,l=n.clientHeight,h=this.svg.html("").attr("width","100%").attr("height","100%").append("g"),d=o.fields.dimension_like,b=o.fields.measure_like[0],v=r.scaleOrdinal().range(e.color_range||c.options.color_range.default),p=h.append("defs"),g=Object(i.a)().nodeWidth(10).nodePadding(12).extent([[1,1],[s-1,l-6]]),y=h.append("g").attr("class","links").attr("fill","none").attr("stroke","#fff").selectAll("path"),_=h.append("g").attr("class","nodes").attr("font-family","sans-serif").attr("font-size",10).selectAll("g"),m={nodes:[],links:[]},O=r.set();t.forEach(function(t){var n=d.map(function(n){return t[n.name].value+""});n.forEach(function(e,r){if(r!==n.length-1){var i=n.slice(r,r+1)[0]+r,u=n.slice(r+1,r+2)[0]+(r+1);O.add(i),O.add(u);var c=[];for(var o in t)t[o].links&&t[o].links.forEach(function(t){c.push(t)});m.links.push({drillLinks:c,source:i,target:u,value:+t[b.name].value})}})});var j=O.values();m.links.forEach(function(t){t.source=j.indexOf(t.source),t.target=j.indexOf(t.target)}),m.nodes=O.values().map(function(t){return{name:t.slice(0,-1)}}),g(m),(y=y.data(m.links).enter().append("path").attr("class","link").attr("d",function(t){return"M-10,-10"+Object(i.b)()(t)}).style("opacity",.4).attr("stroke-width",function(t){return Math.max(1,t.width)}).on("mouseenter",function(t){h.selectAll(".link").style("opacity",.05),r.select(this).style("opacity",.7),h.selectAll(".node").style("opacity",function(n){return n===t.source?1:n===t.target?1:.5})}).on("click",function(t){var n=r.mouse(this),e={pageX:n[0],pageY:n[1]};LookerCharts.Utils.openDrillMenu({links:t.drillLinks,event:e})}).on("mouseleave",function(t){r.selectAll(".node").style("opacity",1),r.selectAll(".link").style("opacity",.4)})).style("stroke",function(t,n){var e="gradient"+n,r=v(t.source.name.replace(/ .*/,"")),i=v(t.target.name.replace(/ .*/,""));return p.append("linearGradient").attr("id",e).selectAll("stop").data([{offset:"10%",color:r},{offset:"90%",color:i}]).enter().append("stop").attr("offset",function(t){return t.offset}).attr("stop-color",function(t){return t.color}),"url(#"+e+")"}),(_=_.data(m.nodes).enter().append("g").attr("class","node").on("mouseenter",function(t){h.selectAll(".link").style("opacity",function(n){return n.source===t?.7:n.target===t?.7:.05})}).on("mouseleave",function(t){r.selectAll(".link").style("opacity",.4)})).append("rect").attr("x",function(t){return t.x0}).attr("y",function(t){return t.y0}).attr("height",function(t){return Math.abs(t.y1-t.y0)}).attr("width",function(t){return Math.abs(t.x1-t.x0)}).attr("fill",function(t){return v(t.name.replace(/ .*/,""))}).attr("stroke","#555"),_.append("text").attr("x",function(t){return t.x0-6}).attr("y",function(t){return(t.y1+t.y0)/2}).attr("dy","0.35em").style("font-weight","bold").attr("text-anchor","end").style("fill","#222").text(function(t){return t.name}).filter(function(t){return t.x00;--o)b(c*=.99),v(),a(c),v();function a(t){e.forEach(function(n){n.forEach(function(n){if(n.targetLinks.length){var e=(Object(r.v)(n.targetLinks,h)/Object(r.v)(n.targetLinks,s)-l(n))*t;n.y0+=e,n.y1+=e}})})}function b(t){e.slice().reverse().forEach(function(n){n.forEach(function(n){if(n.sourceLinks.length){var e=(Object(r.v)(n.sourceLinks,d)/Object(r.v)(n.sourceLinks,s)-l(n))*t;n.y0+=e,n.y1+=e}})})}function v(){e.forEach(function(t){var e,r,i,u=n,c=t.length;for(t.sort(f),i=0;i0&&(e.y0+=r,e.y1+=r),u=e.y1+m;if((r=u-m-y)>0)for(u=e.y0-=r,e.y1-=r,i=c-2;i>=0;--i)e=t[i],(r=e.y1+m-u)>0&&(e.y0-=r,e.y1-=r),u=e.y0})}}(u),T(u),u}function T(t){t.nodes.forEach(function(t){t.sourceLinks.sort(a),t.targetLinks.sort(o)}),t.nodes.forEach(function(t){var n=t.y0,e=n;t.sourceLinks.forEach(function(t){t.y0=n+t.width/2,n+=t.width}),t.targetLinks.forEach(function(t){t.y1=e+t.width/2,e+=t.width})})}return k.update=function(t){return T(t),t},k.nodeId=function(t){return arguments.length?(O="function"==typeof t?t:Object(c.a)(t),k):O},k.nodeAlign=function(t){return arguments.length?(j="function"==typeof t?t:Object(c.a)(t),k):j},k.nodeWidth=function(t){return arguments.length?(_=+t,k):_},k.nodePadding=function(t){return arguments.length?(m=+t,k):m},k.nodes=function(t){return arguments.length?(x="function"==typeof t?t:Object(c.a)(t),k):x},k.links=function(t){return arguments.length?(w="function"==typeof t?t:Object(c.a)(t),k):w},k.size=function(r){return arguments.length?(t=n=0,e=+r[0],y=+r[1],k):[e-t,y-n]},k.extent=function(r){return arguments.length?(t=+r[0][0],e=+r[1][0],n=+r[0][1],y=+r[1][1],k):[[t,n],[e,y]]},k.iterations=function(t){return arguments.length?(M=+t,k):M},k}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(173);function i(t){return[t.source.x1,t.y0]}function u(t){return[t.target.x0,t.y1]}n.a=function(){return Object(r.x)().source(i).target(u)}}])}); \ No newline at end of file +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sankey=n():t.sankey=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=473)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return _}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=_(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),y=Math.pow,_=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var y=e(232);e.d(n,"r",function(){return y.a});var _=e(55);e.d(n,"s",function(){return _.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var y=e(100);e.d(n,"o",function(){return y.a});var _=e(92);e.d(n,"p",function(){return _.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var E=e(94);e.d(n,"D",function(){return E.a});var N=e(190);e.d(n,"E",function(){return N.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=L;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),y=e(215),_=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),E=e(224),N=e(225),A=e(226),S=e(56),C=e(227),z=[null];function L(t,n){this._groups=t,this._parents=n}function P(){return new L([[document.documentElement]],z)}L.prototype=P.prototype={constructor:L,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:y.a,style:_.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:E.a,clone:N.a,datum:A.a,on:S.b,dispatch:C.a},n.b=P},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var y=e(245);e.d(n,"e",function(){return y.b}),e.d(n,"f",function(){return y.a});var _=e(246);e.d(n,"w",function(){return _.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,y;if(e.state!==a)return b();for(v in u)if((y=u[v]).name===e.name){if(y.state===s)return Object(i.c)(c);y.state===l?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,E*a.h,N*a.h]},q.precision=function(t){return arguments.length?(P=Object(h.a)(D,L=t*t),F()):Object(a.u)(L)},q.fitExtent=function(t,n){return Object(l.a)(q,t,n)},q.fitSize=function(t,n){return Object(l.c)(q,t,n)},q.fitWidth=function(t,n){return Object(l.d)(q,t,n)},q.fitHeight=function(t,n){return Object(l.b)(q,t,n)},function(){return n=t.apply(this,arguments),q.invert=n.invert&&R,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),y=e(266),_=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:_.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:y.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,y,_,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:E,lineStart:function(){T.point=N,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(N(g,y),_&&j&&k.rejoin(),d.push(k.result()));T.point=E,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function E(t,n){l(t,n)&&M.point(t,n)}function N(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,y=i,_=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?m(y[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=_(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=_(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function E(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,_,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(E(t>=240?t-240:t+120,i,r),E(t,i,r),E(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function _(){s=(f=h.now())+l,u=c=0;try{y()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(_,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(_)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new y(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=b.prototype={constructor:y,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,y,_=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),y=h*h*g,(v=Math.max(b/y,y/d))>p){h-=f;break}p=v}_.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=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);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){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);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:u(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 e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,y(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,y=t.type,_="$"===f?e[0]:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(y)?d:"",O=o.a[y],j=!y||/[defgprs%]/.test(y);function x(t){var e,c,o,f=_,d=m;if("c"===y)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===y?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!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"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.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,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.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 Object(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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){y(r,i)}function g(t,n){b.point=y,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function y(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,y={point:_,lineStart:O,lineEnd:j,polygonStart:function(){y.point=x,y.lineStart=w,y.lineEnd=M,h=[],l=[]},polygonEnd:function(){y.point=_,y.lineStart=O,y.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function _(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){y.point=m,b.lineStart()}function j(){y.point=_,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return y}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,E=T>u.o,N=g*x;if(c.add(Object(u.e)(N*k*Object(u.t)(T),y*w+N*Object(u.g)(T))),a+=E?M+k*u.w:M,E^v>=e^O>=e){var A=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(A);var S=Object(i.c)(o,A);Object(i.e)(S);var C=(E^M>=0?-1:1)*Object(u.c)(S[2]);(r>C||r===C&&(A[0]||A[1]))&&(f+=E^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var y=v,_=Object(r.d)(p,y),m=Object(r.d)(y,y),O=_*_-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(y,(-_-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],E=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var S=Object(r.f)(y,(-_+j)/m);return Object(r.b)(S,p),[x,Object(r.g)(S)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),y=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var _;y&e||!(_=l(p,n,!0))||(o=0,a?(t.lineStart(),t.point(_[0][0],_[0][1]),t.point(_[1][0],_[1][1]),t.lineEnd()):(t.point(_[1][0],_[1][1]),t.lineEnd(),t.lineStart(),t.point(_[0][0],_[0][1])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:Y,u:B,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},Nt={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},At={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:A,H:k,I:k,j:M,L:N,m:x,M:T,p:function(t,n,e){var r=yt.exec(n.slice(e));return r?(t.p=_t[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:E,u:p,U:g,V:y,w:v,W:_,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":S};function St(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=At[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Et.x=St(e,Et),Et.X=St(a,Et),Et.c=St(n,Et),Nt.x=St(e,Nt),Nt.X=St(a,Nt),Nt.c=St(n,Nt),{format:function(t){var n=St(t+="",Et);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=St(t+="",Nt);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(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 u(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 c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function S(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function L(t,n){return l(t.getDate(),n,2)}function P(t,n){return l(t.getHours(),n,2)}function q(t,n){return l(t.getHours()%12||12,n,2)}function R(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function D(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return D(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function Y(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),y=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],y[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),y[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):y[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(_-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(y-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,y=b*b+v*v,_=(v*g-d*y)/p,m=(h*y-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=_+s,O.y=(O.cy=m+l)+Math.sqrt(_*_+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-E),U<0?w=M-N:U>0&&(u=a-N),R=h,J.attr("cursor",y.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=L=W=!1,nt());break;case 18:R===b&&(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),R=d,nt());break;case 32:R===h&&(c.e.altKey?(D&&(f=x-E*D,e=r+E*D),U&&(w=M-N*U,u=a+N*U),R=b):(D<0?f=x:D>0&&(e=r),U<0?w=M:U>0&&(u=a),R=d),J.attr("cursor",y[q]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(P),S.call(P),Q.start()}function tt(){var t=Object(c.h)(P);!W||z||L||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?L=!0:z=!0),Z=t,A=!0,Object(s.a)(),nt()}function nt(){var t;switch(E=Z[0]-G[0],N=Z[1]-G[1],R){case h:case l:D&&(E=Math.max(B-e,Math.min(X-f,E)),r=e+E,x=f+E),U&&(N=Math.max(H-u,Math.min(V-w,N)),a=u+N,M=w+N);break;case d:D<0?(E=Math.max(B-e,Math.min(X-e,E)),r=e+E,x=f):D>0&&(E=Math.max(B-f,Math.min(X-f,E)),r=e,x=f+E),U<0?(N=Math.max(H-u,Math.min(V-u,N)),a=u+N,M=w):U>0&&(N=Math.max(H-w,Math.min(V-w,N)),a=u,M=w+N);break;case b:D&&(r=Math.max(B,Math.min(X,e-E*D)),x=Math.max(B,Math.min(X,f+E*D))),U&&(a=Math.max(H,Math.min(V,u-N*U)),M=Math.max(H,Math.min(V,w+N*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}y.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),y.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t=w&&(w=x+1);!(j=m[w])&&++w=0;)(r=i[u])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,u=e.length,c=new Array(u),o=0;o1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new u(t)}function u(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=i(t),r=-1,u=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var u=i(this.node()),a=-1,f=e.length;++ah?Math.pow(t,1/3):t/l+f}function g(t){return t>s?t*t*t:l*(t-f)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function _(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*u.b;return new O(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=o*g(t),n=c*g(n),e=a*g(e),new i.b(y(3.2404542*n-1.5371385*t-.4985314*e),y(-.969266*n+1.8760108*t+.041556*e),y(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(O,m,Object(r.b)(i.a,{brighter:function(t){return new O(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new O(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=b;var r=e(60),i=e(59),u=e(110),c=-.14861,o=1.78277,a=-.29227,f=-.90649,s=1.97294,l=s*f,h=s*o,d=o*a-f*c;function b(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,c=(d*r+l*n-h*e)/(d+l-h),o=r-c,b=(s*(e-c)-a*o)/f,p=Math.sqrt(b*b+o*o)/(s*c*(1-c)),g=p?Math.atan2(b,o)*u.b-120:NaN;return new v(g<0?g+360:g,p,c,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,b,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),l=Math.sin(t);return new i.b(255*(n+e*(c*r+o*l)),255*(n+e*(a*r+f*l)),255*(n+e*(s*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return o});var r=e(35),i=e(239);function u(t,n,e,i){function u(t){return t.length?t.pop()+" ":""}return function(c,o){var a=[],f=[];return c=t(c),o=t(o),function(t,i,u,c,o,a){if(t!==u||i!==c){var f=o.push("translate(",null,n,null,e);a.push({i:f-4,x:Object(r.a)(t,u)},{i:f-2,x:Object(r.a)(i,c)})}else(u||c)&&o.push("translate("+u+n+c+e)}(c.translateX,c.translateY,o.translateX,o.translateY,a,f),function(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(u(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(u(e)+"rotate("+n+i)}(c.rotate,o.rotate,a,f),function(t,n,e,c){t!==n?c.push({i:e.push(u(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(u(e)+"skewX("+n+i)}(c.skewX,o.skewX,a,f),function(t,n,e,i,c,o){if(t!==e||n!==i){var a=c.push(u(c)+"scale(",null,",",null,")");o.push({i:a-4,x:Object(r.a)(t,e)},{i:a-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||c.push(u(c)+"scale("+e+","+i+")")}(c.scaleX,c.scaleY,o.scaleX,o.scaleY,a,f),c=o=null,function(t){for(var n,e=-1,r=f.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=c(this,t),o=r.on;o!==i&&(u=(i=o).copy()).on(n,e),r.on=u}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),u=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var c=this._groups,o=c.length,a=new Array(o),f=0;fi.c&&e.name===n)return new r.a([[t]],u,n,+c);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,u=null;function c(c){var o,a,f,s,l,h,d=c.length,b=[],v=Object(r.s)(d),p=[],g=[],y=g.groups=new Array(d),_=new Array(d*d);for(o=0,l=-1;++l1e-6)if(Math.abs(l*a-f*s)>1e-6&&u){var d=e-c,b=i-o,v=a*a+f*f,p=d*d+b*b,g=Math.sqrt(v),y=Math.sqrt(h),_=u*Math.tan((r-Math.acos((v+h-p)/(2*g*y)))/2),m=_/y,O=_/g;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*l)),this._+="A"+u+","+u+",0,0,"+ +(l*d>s*b)+","+(this._x1=t+O*a)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,c,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(c),s=e*Math.sin(c),l=t+f,h=n+s,d=1^a,b=a?c-o:o-c;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(b<0&&(b=b%i+i),b>u?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+d+","+(this._x1=l)+","+(this._y1=h):b>1e-6&&(this._+="A"+e+","+e+",0,"+ +(b>=r)+","+d+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function u(t,n,e){t[n]=e}function c(){return Object(r.a)()}function o(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,a=[],f=[];function s(e,i,u,c){if(i>=a.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var o,f,l,h=-1,d=e.length,b=a[i++],v=Object(r.a)(),p=u();++ha.length)return e;var i,u=f[r-1];return null!=n&&r>=a.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}(s(t,0,c,o),0)},key:function(t){return a.push(t),e},sortKeys:function(t){return f[a.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var u=r.a.prototype;function c(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,u=t.length;if(null==n)for(;++rh+f||rd+f||us.index){var l=h-c.x-c.vx,p=d-c.y-c.vy,g=l*l+p*p;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,u=n.length;for(e=new Array(u),r=0;r=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+y)/2))?p=c:y=c,i=d,!(d=d[l=s<<1|f]))return i[l]=b,t;if(o=+t._x.call(null,d.data),a=+t._y.call(null,d.data),n===o&&e===a)return b.next=d,i?i[l]=b:t._root=b,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(u=(v+g)/2))?v=u:g=u,(s=e>=(c=(p+y)/2))?p=c:y=c}while((l=s<<1|f)==(h=(a>=c)<<1|o>=u));return i[h]=d,i[l]=b,t}n.a=function(t){var n,e,i,u,c=t.length,o=new Array(c),a=new Array(c),f=1/0,s=1/0,l=-1/0,h=-1/0;for(e=0;el&&(l=i),uh&&(h=u));lt||t>i||r>n||n>u))return this;var c,o,a=i-e,f=this._root;switch(o=(n<(r+u)/2)<<1|t<(e+i)/2){case 0:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),t>(i=e+a)||n>u);break;case 1:do{(c=new Array(4))[o]=f,f=c}while(u=r+(a*=2),(e=i-a)>t||n>u);break;case 2:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),t>(i=e+a)||r>n);break;case 3:do{(c=new Array(4))[o]=f,f=c}while(r=u-(a*=2),(e=i-a)>t||r>n)}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=u,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,u,c,o,a,f,s,l=this._x0,h=this._y0,d=this._x1,b=this._y1,v=[],p=this._root;for(p&&v.push(new r.a(p,l,h,d,b)),null==e?e=1/0:(l=t-e,h=n-e,d=t+e,b=n+e,e*=e);f=v.pop();)if(!(!(p=f.node)||(u=f.x0)>d||(c=f.y0)>b||(o=f.x1)=y)<<1|t>=g)&&(f=v[v.length-1],v[v.length-1]=v[v.length-1-s],v[v.length-1-s]=f)}else{var _=t-+this._x.call(null,p.data),m=n-+this._y.call(null,p.data),O=_*_+m*m;if(O=(o=(b+p)/2))?b=o:p=o,(s=c>=(a=(v+g)/2))?v=a:g=a,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])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.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&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,u,c,o,a=[],f=this._root;for(f&&a.push(new r.a(f,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(f=n.node,i=n.x0,u=n.y0,c=n.x1,o=n.y1)&&f.length){var s=(i+c)/2,l=(u+o)/2;(e=f[3])&&a.push(new r.a(e,s,l,c,o)),(e=f[2])&&a.push(new r.a(e,i,l,s,o)),(e=f[1])&&a.push(new r.a(e,s,u,c,l)),(e=f[0])&&a.push(new r.a(e,i,u,s,l))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var u=n.node;if(u.length){var c,o=n.x0,a=n.y0,f=n.x1,s=n.y1,l=(o+f)/2,h=(a+s)/2;(c=u[0])&&e.push(new r.a(c,o,a,l,h)),(c=u[1])&&e.push(new r.a(c,l,a,f,h)),(c=u[2])&&e.push(new r.a(c,o,h,l,s)),(c=u[3])&&e.push(new r.a(c,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,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),u=e(21);function c(t){return t.index}function o(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,a,f,s,l=c,h=function(t){return 1/Math.min(f[t.source.index],f[t.target.index])},d=Object(r.a)(30),b=1;function v(r){for(var u=0,c=t.length;u=s)){(t.data!==n||t.next)&&(0===a&&(b+=(a=Object(i.a)())*a),0===h&&(b+=(h=Object(i.a)())*h),b0&&o>0&&(a+o+1>r&&(o=Math.max(1,r-a)),u.push(e.substring(i-=o,i+o)),!((a+=o+1)>r));)o=t[c=(c+1)%t.length];return u.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,u=-1;i0&&(u=0)}return u>0?t.slice(0,u)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],u=e[1];return u<0?"0."+new Array(-u).join("0")+i:i.length>u+1?i.slice(0,u+1)+"."+i.slice(u+1):i+new Array(u-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var u=e(327);e.d(n,"i",function(){return u.a});var c=e(128);e.d(n,"j",function(){return c.b});var o=e(130);e.d(n,"k",function(){return o.a});var a=e(136);e.d(n,"l",function(){return a.a});var f=e(329);e.d(n,"m",function(){return f.a});var s=e(40);e.d(n,"n",function(){return s.a});var l=e(331);e.d(n,"u",function(){return l.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var b=e(333);e.d(n,"D",function(){return b.a});var v=e(138);e.d(n,"E",function(){return v.a});var p=e(334);e.d(n,"L",function(){return p.a});var g=e(140);e.d(n,"a",function(){return g.a});var y=e(342);e.d(n,"b",function(){return y.a});var _=e(343);e.d(n,"d",function(){return _.b}),e.d(n,"e",function(){return _.a});var m=e(344);e.d(n,"f",function(){return m.b}),e.d(n,"g",function(){return m.a});var O=e(345);e.d(n,"o",function(){return O.b}),e.d(n,"p",function(){return O.a});var j=e(73);e.d(n,"q",function(){return j.b}),e.d(n,"r",function(){return j.a});var x=e(346);e.d(n,"s",function(){return x.b}),e.d(n,"t",function(){return x.a});var w=e(141);e.d(n,"w",function(){return w.a}),e.d(n,"x",function(){return w.b});var M=e(347);e.d(n,"y",function(){return M.a}),e.d(n,"z",function(){return M.b});var k=e(348);e.d(n,"C",function(){return k.a});var T=e(8);e.d(n,"M",function(){return T.a}),e.d(n,"N",function(){return T.b});var E=e(76);e.d(n,"F",function(){return E.a}),e.d(n,"G",function(){return E.c});var N=e(349);e.d(n,"H",function(){return N.a}),e.d(n,"I",function(){return N.b});var A=e(350);e.d(n,"J",function(){return A.a}),e.d(n,"K",function(){return A.b});var S=e(351);e.d(n,"P",function(){return S.a}),e.d(n,"Q",function(){return S.b});var C=e(352);e.d(n,"T",function(){return C.a}),e.d(n,"U",function(){return C.b});var z=e(39);e.d(n,"O",function(){return z.a});var L=e(14);e.d(n,"R",function(){return L.a});var P=e(41);e.d(n,"S",function(){return P.a})},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d=e(19),b=e(127),v=e(24),p=e(0),g=e(14),y=Object(d.a)(),_={point:m,lineStart:j,lineEnd:x,polygonStart:function(){_.point=w,_.lineStart=M,_.lineEnd=k,y.reset(),b.b.polygonStart()},polygonEnd:function(){b.b.polygonEnd(),_.point=m,_.lineStart=j,_.lineEnd=x,b.a<0?(r=-(u=180),i=-(c=90)):y>p.i?c=90:y<-p.i&&(i=-90),h[0]=r,h[1]=u}};function m(t,n){l.push(h=[r=t,u=t]),nc&&(c=n)}function O(t,n){var e=Object(v.a)([t*p.r,n*p.r]);if(s){var a=Object(v.c)(s,e),f=[a[1],-a[0],0],d=Object(v.c)(f,a);Object(v.e)(d),d=Object(v.g)(d);var b,g=t-o,y=g>0?1:-1,_=d[0]*p.h*y,m=Object(p.a)(g)>180;m^(y*o<_&&_c&&(c=b):m^(y*o<(_=(_+360)%360-180)&&_c&&(c=n)),m?tT(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t):u>=r?(tu&&(u=t)):t>o?T(r,t)>T(r,u)&&(u=t):T(t,u)>T(r,u)&&(r=t)}else l.push(h=[r=t,u=t]);nc&&(c=n),s=e,o=t}function j(){_.point=O}function x(){h[0]=r,h[1]=u,_.point=m,s=null}function w(t,n){if(s){var e=t-o;y.add(Object(p.a)(e)>180?e+(e>0?360:-360):e)}else a=t,f=n;b.b.point(t,n),O(t,n)}function M(){b.b.lineStart()}function k(){w(a,f),b.b.lineEnd(),Object(p.a)(y)>p.i&&(r=-(u=180)),h[0]=r,h[1]=u,s=null}function T(t,n){return(n-=t)<0?n+360:n}function E(t,n){return t[0]-n[0]}function N(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nT(o[0],o[1])&&(o[1]=a[1]),T(a[0],o[1])>T(o[0],o[1])&&(o[0]=a[0])):f.push(o=a);for(s=-1/0,n=0,o=f[e=f.length-1];n<=e;o=a,++n)a=f[n],(d=T(o[1],a[0]))>s&&(s=d,r=a[0],u=o[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[u,c]]}},function(t,n,e){"use strict";var r,i,u,c,o,a,f,s,l,h,d,b,v,p,g,y,_=e(0),m=e(11),O=e(14),j={sphere:m.a,point:x,lineStart:M,lineEnd:E,polygonStart:function(){j.lineStart=N,j.lineEnd=A},polygonEnd:function(){j.lineStart=M,j.lineEnd=E}};function x(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);w(e*Object(_.g)(t),e*Object(_.t)(t),Object(_.t)(n))}function w(t,n,e){u+=(t-u)/++r,c+=(n-c)/r,o+=(e-o)/r}function M(){j.point=k}function k(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),j.point=T,w(p,g,y)}function T(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),c=Object(_.t)(n),o=Object(_.e)(Object(_.u)((o=g*c-y*u)*o+(o=y*r-p*c)*o+(o=p*u-g*r)*o),p*r+g*u+y*c);i+=o,a+=o*(p+(p=r)),f+=o*(g+(g=u)),s+=o*(y+(y=c)),w(p,g,y)}function E(){j.point=x}function N(){j.point=S}function A(){C(b,v),j.point=x}function S(t,n){b=t,v=n,t*=_.r,n*=_.r,j.point=C;var e=Object(_.g)(n);p=e*Object(_.g)(t),g=e*Object(_.t)(t),y=Object(_.t)(n),w(p,g,y)}function C(t,n){t*=_.r,n*=_.r;var e=Object(_.g)(n),r=e*Object(_.g)(t),u=e*Object(_.t)(t),c=Object(_.t)(n),o=g*c-y*u,b=y*r-p*c,v=p*u-g*r,m=Object(_.u)(o*o+b*b+v*v),O=Object(_.c)(m),j=m&&-O/m;l+=j*o,h+=j*b,d+=j*v,i+=O,a+=O*(p+(p=r)),f+=O*(g+(g=u)),s+=O*(y+(y=c)),w(p,g,y)}n.a=function(t){r=i=u=c=o=a=f=s=l=h=d=0,Object(O.a)(t,j);var n=l,e=h,b=d,v=n*n+e*e+b*b;return v<_.j&&(n=a,e=f,b=s,i<_.i&&(n=u,e=c,b=o),(v=n*n+e*e+b*b)<_.j)?[NaN,NaN]:[Object(_.e)(e,n)*_.h,Object(_.c)(b/Object(_.u)(v))*_.h]}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(40);n.a=function(){var t,n,e,i=0,u=0,c=960,o=500;return e={stream:function(e){return t&&n===e?t:t=Object(r.a)(i,u,c,o)(n=e)},extent:function(r){return arguments.length?(i=+r[0][0],u=+r[0][1],c=+r[1][0],o=+r[1][1],t=n=null,e):[[i,u],[c,o]]}}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i,u){var c,o=t[0],a=t[1],f=0,s=1,l=n[0]-o,h=n[1]-a;if(c=e-o,l||!(c>0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-o,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=u-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=o+f*l,t[1]=a+f*h),s<1&&(n[0]=o+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),u=e(0),c={Feature:function(t,n){return a(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(f/g)*g,a,g).filter(function(t){return Object(i.a)(t%_)>i.i}).map(d))}return O.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[b(o).concat(v(s).slice(1),b(e).reverse().slice(1),v(l).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(o=+t[0][0],e=+t[1][0],l=+t[0][1],s=+t[1][1],o>e&&(t=o,o=e,e=t),l>s&&(t=l,l=s,s=t),O.precision(m)):[[o,l],[e,s]]},O.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],f=+e[0][1],a=+e[1][1],n>t&&(e=n,n=t,t=e),f>a&&(e=f,f=a,a=e),O.precision(m)):[[n,f],[t,a]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(y=+t[0],_=+t[1],O):[y,_]},O.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],O):[p,g]},O.precision=function(r){return arguments.length?(m=+r,h=u(f,a,90),d=c(n,t,m),b=u(l,s,90),v=c(o,e,m),O):m},O.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,u=n[0]*r.r,c=n[1]*r.r,o=Object(r.g)(i),a=Object(r.t)(i),f=Object(r.g)(c),s=Object(r.t)(c),l=o*Object(r.g)(e),h=o*Object(r.t)(e),d=f*Object(r.g)(u),b=f*Object(r.t)(u),v=2*Object(r.c)(Object(r.u)(Object(r.m)(c-i)+o*f*Object(r.m)(u-e))),p=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/p,e=Object(r.t)(v-t)/p,i=e*l+n*d,u=e*h+n*b,c=e*a+n*s;return[Object(r.e)(u,i)*r.h,Object(r.e)(c,Object(r.u)(i*i+u*u))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),u=e(335),c=e(139),o=e(336),a=e(337),f=e(338),s=e(339);n.a=function(t,n){var e,l,h=4.5;function d(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(l))),l.result()}return d.area=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.measure=function(t){return Object(i.a)(t,e(f.a)),f.a.result()},d.bounds=function(t){return Object(i.a)(t,e(c.a)),c.a.result()},d.centroid=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(l=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof h&&l.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(l.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,u,c,o=e(19),a=e(0),f=e(11),s=Object(o.a)(),l=Object(o.a)(),h={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){h.lineStart=d,h.lineEnd=p},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=f.a,s.add(Object(a.a)(l)),l.reset()},result:function(){var t=s/2;return s.reset(),t}};function d(){h.point=b}function b(t,n){h.point=v,r=u=t,i=c=n}function v(t,n){l.add(c*t-u*n),u=t,c=n}function p(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,u,c,o=e(0),a=0,f=0,s=0,l=0,h=0,d=0,b=0,v=0,p=0,g={point:y,lineStart:_,lineEnd:j,polygonStart:function(){g.lineStart=x,g.lineEnd=w},polygonEnd:function(){g.point=y,g.lineStart=_,g.lineEnd=j},result:function(){var t=p?[b/p,v/p]:d?[l/d,h/d]:s?[a/s,f/s]:[NaN,NaN];return a=f=s=l=h=d=b=v=p=0,t}};function y(t,n){a+=t,f+=n,++s}function _(){g.point=m}function m(t,n){g.point=O,y(u=t,c=n)}function O(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,y(u=t,c=n)}function j(){g.point=y}function x(){g.point=M}function w(){k(r,i)}function M(t,n){g.point=k,y(r=u=t,i=c=n)}function k(t,n){var e=t-u,r=n-c,i=Object(o.u)(e*e+r*r);l+=i*(u+t)/2,h+=i*(c+n)/2,d+=i,b+=(i=c*t-u*n)*(u+t),v+=i*(c+n),p+=3*i,y(u=t,c=n)}n.a=g},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(11);function u(t){this._context=t}u.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=Object(a.a)(),h={point:s.a,lineStart:function(){h.point=d},lineEnd:function(){r&&b(i,u),h.point=s.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function d(t,n){h.point=b,i=c=t,u=o=n}function b(t,n){c-=t,o-=n,l.add(Object(f.u)(c*c+o*o)),c=t,o=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),u=e(41),c=16,o=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,u,c,a,f,s,l,h,d,b,v,p,g,y){var _=l-r,m=h-u,O=_*_+m*m;if(O>4*n&&g--){var j=a+b,x=f+v,w=s+p,M=Object(i.u)(j*j+x*x+w*w),k=Object(i.c)(w/=M),T=Object(i.a)(Object(i.a)(w)-1)n||Object(i.a)((_*S+m*C)/O-.5)>.3||a*b+f*v+s*p=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:s).invert(t)},b.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),l.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=o/Object(r.p)(c(n),i);return[e*Object(r.t)(i*t),o-e*Object(r.g)(i*t)]}return a.invert=function(t,n){var e=o-n,u=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(o/u,1/i))-r.l]},a}n.b=function(){return Object(i.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(141);function c(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),c=e/i+t;if(Object(r.a)(i)i.i&&--u>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(u).scale(175.295)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}c.invert=Object(i.a)(r.c),n.a=function(){return Object(u.a)(c).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=c;var r=e(0),i=e(25),u=e(8);function c(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}c.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(u.a)(c).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(76);function u(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}u.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(u),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var u=e(366);e.d(n,"c",function(){return u.a});var c=e(142);e.d(n,"e",function(){return c.a});var o=e(143);e.d(n,"d",function(){return o.a});var a=e(368);e.d(n,"f",function(){return a.a});var f=e(369);e.d(n,"g",function(){return f.a});var s=e(370);e.d(n,"h",function(){return s.a});var l=e(371);e.d(n,"i",function(){return l.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var b=e(42);e.d(n,"m",function(){return b.a});var v=e(373);e.d(n,"n",function(){return v.a});var p=e(79);e.d(n,"o",function(){return p.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function u(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,c=!1;function o(r){var o,a=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(u,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)});var f=function(t){for(var n;n=t.children;)t=n[0];return t}(r),s=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),l=f.x-t(f,s)/2,h=s.x+t(s,f)/2;return r.eachAfter(c?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-l)/(h-l)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(c=!1,n=+t[0],e=+t[1],o):c?null:[n,e]},o.nodeSize=function(t){return arguments.length?(c=!0,n=+t[0],e=+t[1],o):c?[n,e]:null},o}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,u=this,c=[u];do{for(n=c.reverse(),c=[];u=n.pop();)if(t(u),e=u.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,u=[i],c=[];i=u.pop();)if(c.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),u=e(144);function c(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function a(t,n){return function(e){if(i=e.children){var i,u,c,o=i.length,a=t(e)*n||0;if(a)for(u=0;u0)throw new Error("cycle");return f}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function u(t){var n=t.children;return n?n[0]:t.t}function c(t){var n=t.children;return n?n[n.length-1]:t.t}function o(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function a(t,n,e){return t.a.parent===n.parent?t.a:e}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}f.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function s(i){var u=function(t){for(var n,e,r,i,u,c=new f(t,0),o=[c];n=o.pop();)if(r=n._.children)for(n.children=new Array(u=r.length),i=u-1;i>=0;--i)o.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(c.parent=new f(null,0)).children=[c],c}(i);if(u.eachAfter(l),u.parent.m=-u.z,u.eachBefore(h),r)i.eachBefore(d);else{var c=i,o=i,a=i;i.eachBefore(function(t){t.xo.x&&(o=t),t.depth>a.depth&&(a=t)});var s=c===o?1:t(c,o)/2,b=s-c.x,v=n/(o.x+s+b),p=e/(a.depth||1);i.eachBefore(function(t){t.x=(t.x+b)*v,t.y=t.depth*p})}return i}function l(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,u=i.length;--u>=0;)(n=i[u]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var f=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-f):n.z=f}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,f=n,s=n,l=e,h=f.parent.children[0],d=f.m,b=s.m,v=l.m,p=h.m;l=c(l),f=u(f),l&&f;)h=u(h),(s=c(s)).a=n,(i=l.z+v-f.z-d+t(l._,f._))>0&&(o(a(l,n,r),n,i),d+=i,b+=i),v+=l.m,d+=f.m,p+=h.m,b+=s.m;l&&!c(s)&&(s.t=l,s.m+=v-b),f&&!u(h)&&(h.t=f,h.m+=d-p,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return s.separation=function(n){return arguments.length?(t=n,s):t},s.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],s):r?null:[n,e]},s.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],s):r?[n,e]:null},s}},function(t,n,e){"use strict";var r=e(145),i=e(79),u=e(78),c=e(144);n.a=function(){var t=i.a,n=!1,e=1,o=1,a=[0],f=c.a,s=c.a,l=c.a,h=c.a,d=c.a;function b(t){return t.x0=t.y0=0,t.x1=e,t.y1=o,t.eachBefore(v),a=[0],n&&t.eachBefore(r.a),t}function v(n){var e=a[n.depth],r=n.x0+e,i=n.y0+e,u=n.x1-e,c=n.y1-e;u=e-1){var s=o[n];return s.x0=i,s.y0=u,s.x1=c,void(s.y1=a)}var l=f[n],h=r/2+l,d=n+1,b=e-1;for(;d>>1;f[v]a-u){var y=(i*g+c*p)/r;t(n,d,p,i,u,y,a),t(d,e,g,y,u,c,a)}else{var _=(u*g+a*p)/r;t(n,d,p,i,u,c,_),t(d,e,g,i,_,c,a)}}(0,a,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,u,c){(1&t.depth?i.a:r.a)(t,n,e,u,c)}},function(t,n,e){"use strict";var r=e(26),i=e(42),u=e(79);n.a=function t(n){function e(t,e,c,o,a){if((f=t._squarify)&&f.ratio===n)for(var f,s,l,h,d,b=-1,v=f.length,p=t.value;++b1?n:1)},e}(u.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var u=e(378);e.d(n,"d",function(){return u.a});var c=e(380);e.d(n,"c",function(){return c.a});var o=e(381);e.d(n,"e",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],u=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[u])<=0;)--i;e[i++]=u}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),c=new Array(e);for(n=0;n=0;--n)l.push(t[r[o[n]][2]]);for(n=+f;no!=f>o&&c<(a-e)*(o-r)/(f-r)+e&&(s=!s),a=e,f=r;return s}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,u=t[i-1],c=u[0],o=u[1],a=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,f(t)}function f(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function s(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new u(t)}u.prototype=s.prototype={constructor:u,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),c(this),this},abort:function(){return null==this._error&&a(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,e){t.apply(null,[n].concat(e))},f(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,f(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var u=e(387);e.d(n,"d",function(){return u.a});var c=e(388);e.d(n,"a",function(){return c.a});var o=e(147);e.d(n,"c",function(){return o.a});var a=e(389);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var u=e(392);e.d(n,"c",function(){return u.a});var c=e(393);e.d(n,"e",function(){return c.a});var o=e(394);e.d(n,"g",function(){return o.a});var a=e(395);e.d(n,"a",function(){return a.a});var f=e(396);e.d(n,"f",function(){return f.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var u=e(27);e.d(n,"l",function(){return u.a});var c=e(401);e.d(n,"m",function(){return c.a});var o=e(149);e.d(n,"n",function(){return o.a}),e.d(n,"k",function(){return o.b});var a=e(402);e.d(n,"p",function(){return a.a}),e.d(n,"t",function(){return a.b});var f=e(403);e.d(n,"q",function(){return f.a});var s=e(404);e.d(n,"r",function(){return s.a});var l=e(405);e.d(n,"u",function(){return l.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var b=e(422);e.d(n,"x",function(){return b.a});var v=e(423);e.d(n,"z",function(){return v.a});var p=e(424);e.d(n,"A",function(){return p.a});var g=e(425);e.d(n,"y",function(){return g.a});var y=e(426);e.d(n,"b",function(){return y.a});var _=e(427);e.d(n,"f",function(){return _.b}),e.d(n,"h",function(){return _.c}),e.d(n,"a",function(){return _.a});var m=e(428);e.d(n,"g",function(){return m.a}),e.d(n,"d",function(){return m.c}),e.d(n,"c",function(){return m.b}),e.d(n,"e",function(){return m.d});var O=e(429);e.d(n,"s",function(){return O.a})},function(t,n,e){"use strict";n.a=u,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(u().paddingInner(1))};var r=e(3),i=e(149);function u(){var t,n,e=Object(i.a)().unknown(void 0),c=e.domain,o=e.range,a=[0,1],f=!1,s=0,l=0,h=.5;function d(){var e=c().length,i=a[1]0){for(;ho)break;p.push(l)}}else for(;h=1;--f)if(!((l=a*f)o)break;p.push(l)}}else p=Object(r.B)(h,d,Math.min(d-h,v)).map(b);return n?p.reverse():p};n.tickFormat=function(t,e){if(null==e&&(e=10===u?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,u*t/n.ticks().length);return function(t){var n=t/b(Math.round(s(t)));return n*u0?u[r-1]:n[0],r=c?[o[c-1],e]:[o[r-1],o[r]]};f.copy=function(){return t().domain([n,e]).range(a)};return Object(u.b)(f)};var r=e(3),i=e(15),u=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],u=1;function c(t){if(t<=t)return e[Object(r.b)(n,t,0,u)]}c.domain=function(t){return arguments.length?(n=i.b.call(t),u=Math.min(n.length,e.length-1),c):n.slice()};c.range=function(t){return arguments.length?(e=i.b.call(t),u=Math.min(n.length,e.length-1),c):e.slice()};c.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};c.copy=function(){return t().domain(n).range(e)};return c};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.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.getUTCSeconds()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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())*i.c)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"b",function(){return c});var r=e(2),i=e(9),u=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=u;var c=u.range},function(t,n,e){"use strict";e.d(n,"g",function(){return c}),e.d(n,"c",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"m",function(){return f}),e.d(n,"i",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return b}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return p}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return _});var r=e(2),i=e(9);function u(t){return Object(r.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)/i.e})}var c=u(0),o=u(1),a=u(2),f=u(3),s=u(4),l=u(5),h=u(6),d=c.range,b=o.range,v=a.range,p=f.range,g=s.range,y=l.range,_=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var u=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var u=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=u},function(t,n,e){"use strict";var r=e(152),i=e(82),u=e(45);n.a=function(){return Object(r.a)(u._7,u.R,u._5,u.F,u.J,u.N,u.V,u.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"a",function(){return c});var r=e(7),i=e(5),u=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),c=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),o=Object(r.b)();n.b=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,e){"use strict";e.d(n,"c",function(){return u}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return o});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),o=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,u=!1;function c(t){var r=(t-e)/(i-e);return n(u?Math.max(0,Math.min(1,r)):r)}c.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],c):[e,i]};c.clamp=function(t){return arguments.length?(u=!!t,c):u};c.interpolator=function(t){return arguments.length?(n=t,c):n};c.copy=function(){return t(n).domain([e,i]).clamp(u)};return Object(r.b)(c)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(29);function c(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function f(t){return t.endAngle}function s(t){return t&&t.padAngle}function l(t,n,e,r,i,c,o){var a=t-e,f=n-r,s=(o?c:-c)/Object(u.l)(a*a+f*f),l=s*f,h=-s*a,d=t+l,b=n+h,v=e+l,p=r+h,g=(d+v)/2,y=(b+p)/2,_=v-d,m=p-b,O=_*_+m*m,j=i-c,x=d*p-v*b,w=(m<0?-1:1)*Object(u.l)(Object(u.h)(0,j*j*O-x*x)),M=(x*m-_*w)/O,k=(-x*_-m*w)/O,T=(x*m+_*w)/O,E=(-x*_+m*w)/O,N=M-g,A=k-y,S=T-g,C=E-y;return N*N+A*A>S*S+C*C&&(M=T,k=E),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/j-1),y11:k*(i/j-1)}}n.a=function(){var t=c,n=o,e=Object(i.a)(0),h=null,d=a,b=f,v=s,p=null;function g(){var i,c,o=+t.apply(this,arguments),a=+n.apply(this,arguments),f=d.apply(this,arguments)-u.g,s=b.apply(this,arguments)-u.g,g=Object(u.a)(s-f),y=s>f;if(p||(p=i=Object(r.a)()),au.f)if(g>u.m-u.f)p.moveTo(a*Object(u.e)(f),a*Object(u.k)(f)),p.arc(0,0,a,f,s,!y),o>u.f&&(p.moveTo(o*Object(u.e)(s),o*Object(u.k)(s)),p.arc(0,0,o,s,f,y));else{var _,m,O=f,j=s,x=f,w=s,M=g,k=g,T=v.apply(this,arguments)/2,E=T>u.f&&(h?+h.apply(this,arguments):Object(u.l)(o*o+a*a)),N=Object(u.i)(Object(u.a)(a-o)/2,+e.apply(this,arguments)),A=N,S=N;if(E>u.f){var C=Object(u.c)(E/o*Object(u.k)(T)),z=Object(u.c)(E/a*Object(u.k)(T));(M-=2*C)>u.f?(x+=C*=y?1:-1,w-=C):(M=0,x=w=(f+s)/2),(k-=2*z)>u.f?(O+=z*=y?1:-1,j-=z):(k=0,O=j=(f+s)/2)}var L=a*Object(u.e)(O),P=a*Object(u.k)(O),q=o*Object(u.e)(w),R=o*Object(u.k)(w);if(N>u.f){var D=a*Object(u.e)(j),U=a*Object(u.k)(j),F=o*Object(u.e)(x),I=o*Object(u.k)(x);if(gu.f?function(t,n,e,r,i,u,c,o){var a=e-t,f=r-n,s=c-i,l=o-u,h=(s*(n-u)-l*(t-i))/(l*a-s*f);return[t+h*a,n+h*f]}(L,P,F,I,D,U,q,R):[q,R],B=L-Y[0],H=P-Y[1],X=D-Y[0],V=U-Y[1],W=1/Object(u.k)(Object(u.b)((B*X+H*V)/(Object(u.l)(B*B+H*H)*Object(u.l)(X*X+V*V)))/2),G=Object(u.l)(Y[0]*Y[0]+Y[1]*Y[1]);A=Object(u.i)(N,(o-G)/(W-1)),S=Object(u.i)(N,(a-G)/(W+1))}}k>u.f?S>u.f?(_=l(F,I,L,P,a,S,y),m=l(D,U,q,R,a,S,y),p.moveTo(_.cx+_.x01,_.cy+_.y01),Su.f&&M>u.f?A>u.f?(_=l(q,R,D,U,o,-A,y),m=l(L,P,F,I,o,-A,y),p.lineTo(_.cx+_.x01,_.cy+_.y01),A0&&(b+=h);for(null!=n?v.sort(function(t,e){return n(p[t],p[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,s=b?(y-d*m)/b:0;i0?h*s:0)+m,p[u]={data:r[u],index:i,value:h,startAngle:g,endAngle:l,padAngle:_};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),s):o},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),s):a},s.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:Object(r.a)(+t),s):f},s}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),u=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,c=t.lineX1,o=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(u.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(u.b)(c())},delete t.lineX1,t.lineInnerRadius=function(){return Object(u.b)(o())},delete t.lineY0,t.lineOuterRadius=function(){return Object(u.b)(a())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return s(l)},n.c=function(){return s(h)},n.b=function(){var t=s(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),u=e(16),c=e(85),o=e(158);function a(t){return t.source}function f(t){return t.target}function s(t){var n=a,e=f,o=c.a,s=c.b,l=null;function h(){var u,c=i.a.call(arguments),a=n.apply(this,c),f=e.apply(this,c);if(l||(l=u=Object(r.a)()),t(l,+o.apply(this,(c[0]=a,c)),+s.apply(this,c),+o.apply(this,(c[0]=f,c)),+s.apply(this,c)),u)return l=null,u+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(o="function"==typeof t?t:Object(u.a)(+t),h):o},h.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(u.a)(+t),h):s},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function l(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var u=Object(o.a)(n,e),c=Object(o.a)(n,e=(e+i)/2),a=Object(o.a)(r,e),f=Object(o.a)(r,i);t.moveTo(u[0],u[1]),t.bezierCurveTo(c[0],c[1],a[0],a[1],f[0],f[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),u=e(161),c=e(162),o=e(163),a=e(164),f=e(165),s=e(166),l=e(16),h=[i.a,u.a,c.a,a.a,o.a,f.a,s.a];n.a=function(){var t=Object(l.a)(i.a),n=Object(l.a)(64),e=null;function u(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return u.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(l.a)(n),u):t},u.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(l.a)(+t),u):n},u.context=function(t){return arguments.length?(e=null==t?null:t,u):e},u}},function(t,n,e){"use strict";var r=e(47),i=e(48);function u(t){this._context=t}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new u(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],u=n[0],c=t[e]-i,o=n[e]-u,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+r*c),this._beta*n[a]+(1-this._beta)*(u+r*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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),u=e(86);function c(t,n){this._context=t,this._alpha=n}c.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(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 e(t){return n?new c(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function u(t,n){this._context=t,this._alpha=n}u.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,u=n-t._x1,c=(t._y1-t._y0)/(i||u<0&&-0),o=(e-t._y1)/(u||i<0&&-0),a=(c*u+o*i)/(i+u);return(r(c)+r(o))*Math.min(Math.abs(c),Math.abs(o),.5*Math.abs(a))||0}function u(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,i=t._y0,u=t._x1,c=t._y1,o=(u-r)/3;t._context.bezierCurveTo(r+o,i+o*n,u-o,c-o*e,u,c)}function o(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}n.a=function(t){return new o(t)},n.b=function(t){return new a(t)},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:c(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 e=NaN;if(n=+n,(t=+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,c(this,u(this,e=i(this,t,n)),e);break;default:c(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.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,e,r,i,u){this._context.bezierCurveTo(n,t,r,e,u,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),u=new Array(r),c=new Array(r);for(i[0]=0,u[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(c[n]-i[n+1])/u[n];for(u[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),u=e(30),c=e(31);function o(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=c.a,e=u.a,a=o;function f(r){var i,u,c=t.apply(this,arguments),o=r.length,f=c.length,s=new Array(f);for(i=0;i0){for(var e,i,u,c=0,o=t[0].length;c1)for(var e,r,i,u,c,o,a=0,f=t[n[0]].length;a=0?(r[0]=u,r[1]=u+=i):i<0?(r[1]=c,r[0]=c+=i):r[0]=u}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,u=t[n[0]],c=u.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,u,c=0,o=1;oo.f)b=b.L;else{if(!((a=s-h(b,d))>o.f)){r>-o.f?(n=b.P,e=b):a>-o.f?(n=b,e=b.N):n=e=b;break}if(!b.R){n=b;break}b=b.R}Object(i.c)(t);var v=f(t);if(o.a.insert(n,v),!n&&!e)return;if(n===e)return Object(u.b)(n),e=f(n.site),o.a.insert(v,e),v.edge=e.edge=Object(c.c)(n.site,v.site),Object(u.a)(n),void Object(u.a)(e);if(!e)return void(v.edge=Object(c.c)(n.site,v.site));Object(u.b)(n),Object(u.b)(e);var p=n.site,g=p[0],y=p[1],_=t[0]-g,m=t[1]-y,O=e.site,j=O[0]-g,x=O[1]-y,w=2*(_*x-m*j),M=_*_+m*m,k=j*j+x*x,T=[(x*M-m*k)/w+g,(_*k-j*M)/w+y];Object(c.d)(e.edge,p,O,T),v.edge=Object(c.c)(p,t,null,T),e.edge=Object(c.c)(t,O,null,T),Object(u.a)(n),Object(u.a)(e)};var r=e(88),i=e(169),u=e(170),c=e(89),o=e(32),a=[];function f(t){var n=a.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function s(t){Object(u.b)(t),o.a.remove(t),a.push(t),Object(r.a)(t)}function l(t,n){var e=t.site,r=e[0],i=e[1],u=i-n;if(!u)return r;var c=t.P;if(!c)return-1/0;var o=(e=c.site)[0],a=e[1],f=a-n;if(!f)return o;var s=o-r,l=1/u-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+i-u/2)))/l+r:(r+o)/2}function h(t,n){var e=t.N;if(e)return l(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),u=e(5),c=e(1),o=e(62),a=e(461),f=e(462),s=e(171),l=e(463);function h(){return!c.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function b(){return this.__zoom||s.c}function v(){return-c.e.deltaY*(c.e.deltaMode?120:1)/500}function p(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],u=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}n.a=function(){var t,n,e=h,y=d,_=g,m=v,O=p,j=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],w=250,M=u.v,k=[],T=Object(r.a)("start","zoom","end"),E=500,N=150,A=0;function S(t){t.property("__zoom",b).on("wheel.zoom",D).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(O).on("touchstart.zoom",I).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,n){return(n=Math.max(j[0],Math.min(j[1],n)))===t.k?t:new s.a(n,t.x,t.y)}function z(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new s.a(t.k,r,i)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function P(t,n,e){t.on("start.zoom",function(){q(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){q(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=q(this,t),i=y.apply(this,t),u=e||L(i),c=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),o=this.__zoom,a="function"==typeof n?n.apply(this,t):n,f=M(o.invert(u).concat(c/o.k),a.invert(u).concat(c/a.k));return function(t){if(1===t)t=a;else{var n=f(t),e=c/n[2];t=new s.a(e,u[0]-n[0]*e,u[1]-n[1]*e)}r.zoom(null,t)}})}function q(t,n){for(var e,r=0,i=k.length;rA}t.zoom("mouse",_(z(t.that.__zoom,t.mouse[0]=Object(c.h)(t.that),t.mouse[1]),t.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(c.e.view,t.moved),Object(l.a)(),t.end()},!0),u=Object(c.h)(this),a=c.e.clientX,f=c.e.clientY;Object(i.b)(c.e.view),Object(l.b)(),t.mouse=[u,this.__zoom.invert(u)],Object(o.b)(this),t.start()}}function F(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(c.h)(this),r=t.invert(n),i=t.k*(c.e.shiftKey?.5:2),u=_(z(C(t,i),n,r),y.apply(this,arguments),x);Object(l.a)(),w>0?Object(c.k)(this).transition().duration(w).call(P,u,n):Object(c.k)(this).call(S.transform,u)}}function I(){if(e.apply(this,arguments)){var n,r,i,u,a=q(this,arguments),f=c.e.changedTouches,s=f.length;for(Object(l.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},u=function(t,n,e){var r=function(n,e,r,i,u){return!(!t.addError||!t.clearErrors)&&(ru?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},function(t,n,e){"use strict";n.a=function(t,n){return t.sourceLinks.length?t.depth:n-1};e(3)},,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(474),u=e(464),c={id:"sankey",label:"Sankey",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]}},create:function(t,n){t.innerHTML="\n \n ",this.svg=r.select(t).append("svg")},updateAsync:function(t,n,e,o,a,f){if(Object(u.b)(this,o,{min_pivots:0,max_pivots:0,min_dimensions:2,max_dimensions:void 0,min_measures:1,max_measures:1})){var s=n.clientWidth,l=n.clientHeight,h=this.svg.html("").attr("width","100%").attr("height","100%").append("g"),d=o.fields.dimension_like,b=o.fields.measure_like[0],v=r.scaleOrdinal().range(e.color_range||c.options.color_range.default),p=h.append("defs"),g=Object(i.a)().nodeWidth(10).nodePadding(12).extent([[1,1],[s-1,l-6]]),y=h.append("g").attr("class","links").attr("fill","none").attr("stroke","#fff").selectAll("path"),_=h.append("g").attr("class","nodes").attr("font-family","sans-serif").attr("font-size",10).selectAll("g"),m={nodes:[],links:[]},O=r.set();t.forEach(function(t){var n=d.map(function(n){return t[n.name].value+""});n.forEach(function(e,r){if(r!==n.length-1){var i=n.slice(r,r+1)[0]+r,u=n.slice(r+1,r+2)[0]+(r+1);O.add(i),O.add(u);var c=[];for(var o in t)t[o].links&&t[o].links.forEach(function(t){c.push(t)});m.links.push({drillLinks:c,source:i,target:u,value:+t[b.name].value})}})});var j=O.values();m.links.forEach(function(t){t.source=j.indexOf(t.source),t.target=j.indexOf(t.target)}),m.nodes=O.values().map(function(t){return{name:t.slice(0,-1)}}),g(m),(y=y.data(m.links).enter().append("path").attr("class","link").attr("d",function(t){return"M-10,-10"+Object(i.b)()(t)}).style("opacity",.4).attr("stroke-width",function(t){return Math.max(1,t.width)}).on("mouseenter",function(t){h.selectAll(".link").style("opacity",.05),r.select(this).style("opacity",.7),h.selectAll(".node").style("opacity",function(n){return n===t.source?1:n===t.target?1:.5})}).on("click",function(t){var n=r.mouse(this),e={pageX:n[0],pageY:n[1]};LookerCharts.Utils.openDrillMenu({links:t.drillLinks,event:e})}).on("mouseleave",function(t){r.selectAll(".node").style("opacity",1),r.selectAll(".link").style("opacity",.4)})).style("stroke",function(t,n){var e="gradient"+n,r=v(t.source.name.replace(/ .*/,"")),i=v(t.target.name.replace(/ .*/,""));return p.append("linearGradient").attr("id",e).selectAll("stop").data([{offset:"10%",color:r},{offset:"90%",color:i}]).enter().append("stop").attr("offset",function(t){return t.offset}).attr("stop-color",function(t){return t.color}),"url(#"+e+")"}),(_=_.data(m.nodes).enter().append("g").attr("class","node").on("mouseenter",function(t){h.selectAll(".link").style("opacity",function(n){return n.source===t?.7:n.target===t?.7:.05})}).on("mouseleave",function(t){r.selectAll(".link").style("opacity",.4)})).append("rect").attr("x",function(t){return t.x0}).attr("y",function(t){return t.y0}).attr("height",function(t){return Math.abs(t.y1-t.y0)}).attr("width",function(t){return Math.abs(t.x1-t.x0)}).attr("fill",function(t){return v(t.name.replace(/ .*/,""))}).attr("stroke","#555"),_.append("text").attr("x",function(t){return t.x0-6}).attr("y",function(t){return(t.y1+t.y0)/2}).attr("dy","0.35em").style("font-weight","bold").attr("text-anchor","end").style("fill","#222").text(function(t){return t.name}).filter(function(t){return t.x00;--o)b(c*=.99),v(),a(c),v();function a(t){e.forEach(function(n){n.forEach(function(n){if(n.targetLinks.length){var e=(Object(r.v)(n.targetLinks,h)/Object(r.v)(n.targetLinks,s)-l(n))*t;n.y0+=e,n.y1+=e}})})}function b(t){e.slice().reverse().forEach(function(n){n.forEach(function(n){if(n.sourceLinks.length){var e=(Object(r.v)(n.sourceLinks,d)/Object(r.v)(n.sourceLinks,s)-l(n))*t;n.y0+=e,n.y1+=e}})})}function v(){e.forEach(function(t){var e,r,i,u=n,c=t.length;for(t.sort(f),i=0;i0&&(e.y0+=r,e.y1+=r),u=e.y1+m;if((r=u-m-y)>0)for(u=e.y0-=r,e.y1-=r,i=c-2;i>=0;--i)e=t[i],(r=e.y1+m-u)>0&&(e.y0-=r,e.y1-=r),u=e.y0})}}(u),T(u),u}function T(t){t.nodes.forEach(function(t){t.sourceLinks.sort(a),t.targetLinks.sort(o)}),t.nodes.forEach(function(t){var n=t.y0,e=n;t.sourceLinks.forEach(function(t){t.y0=n+t.width/2,n+=t.width}),t.targetLinks.forEach(function(t){t.y1=e+t.width/2,e+=t.width})})}return k.update=function(t){return T(t),t},k.nodeId=function(t){return arguments.length?(O="function"==typeof t?t:Object(c.a)(t),k):O},k.nodeAlign=function(t){return arguments.length?(j="function"==typeof t?t:Object(c.a)(t),k):j},k.nodeWidth=function(t){return arguments.length?(_=+t,k):_},k.nodePadding=function(t){return arguments.length?(m=+t,k):m},k.nodes=function(t){return arguments.length?(x="function"==typeof t?t:Object(c.a)(t),k):x},k.links=function(t){return arguments.length?(w="function"==typeof t?t:Object(c.a)(t),k):w},k.size=function(r){return arguments.length?(t=n=0,e=+r[0],y=+r[1],k):[e-t,y-n]},k.extent=function(r){return arguments.length?(t=+r[0][0],e=+r[1][0],n=+r[0][1],y=+r[1][1],k):[[t,n],[e,y]]},k.iterations=function(t){return arguments.length?(M=+t,k):M},k}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(173);function i(t){return[t.source.x1,t.y0]}function u(t){return[t.target.x0,t.y1]}n.a=function(){return Object(r.x)().source(i).target(u)}}])}); \ No newline at end of file diff --git a/dist/subtotal.js b/dist/subtotal.js index e4b20134..f5558a05 100644 --- a/dist/subtotal.js +++ b/dist/subtotal.js @@ -1,4 +1,4 @@ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.subtotal=n():t.subtotal=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=480)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return o}),e.d(n,"l",function(){return a}),e.d(n,"q",function(){return u}),e.d(n,"w",function(){return c}),e.d(n,"h",function(){return s}),e.d(n,"r",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return p}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return b}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return m}),e.d(n,"s",function(){return x}),e.d(n,"u",function(){return _}),e.d(n,"v",function(){return w}),n.b=function(t){return t>1?0:t<-1?o:Math.acos(t)},n.c=function(t){return t>1?a:t<-1?-a:Math.asin(t)},n.m=function(t){return(t=m(t/2))*t};var r=1e-6,i=1e-12,o=Math.PI,a=o/2,u=o/4,c=2*o,s=180/o,l=o/180,f=Math.abs,h=Math.atan,d=Math.atan2,p=Math.cos,v=Math.ceil,b=Math.exp,g=(Math.floor,Math.log),y=Math.pow,m=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,w=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var o=e(228);e.d(n,"f",function(){return o.a});var a=e(104);e.d(n,"g",function(){return a.a});var u=e(229);e.d(n,"h",function(){return u.a});var c=e(52);e.d(n,"i",function(){return c.a});var s=e(53);e.d(n,"j",function(){return s.a});var l=e(34);e.d(n,"a",function(){return l.a});var f=e(102);e.d(n,"k",function(){return f.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var p=e(54);e.d(n,"n",function(){return p.a});var v=e(103);e.d(n,"o",function(){return v.a});var b=e(107);e.d(n,"p",function(){return b.b});var g=e(231);e.d(n,"q",function(){return g.a});var y=e(232);e.d(n,"r",function(){return y.a});var m=e(55);e.d(n,"s",function(){return m.a});var x=e(56);e.d(n,"e",function(){return x.c}),e.d(n,"d",function(){return x.a})},function(t,n,e){"use strict";n.a=function t(n,e,o,a){function u(t){return n(t=new Date(+t)),t}u.floor=u;u.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};u.round=function(t){var n=u(t),e=u.ceil(t);return t-n0))return a;do{a.push(o=new Date(+t)),e(t,i),n(t)}while(o=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};o&&(u.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(o(r,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(a?function(n){return a(n)%t==0}:function(n){return u.count(0,n)%t==0}):u:null});return u};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var o=e(91);e.d(n,"e",function(){return o.a});var a=e(175);e.d(n,"f",function(){return a.a});var u=e(176);e.d(n,"g",function(){return u.a});var c=e(93);e.d(n,"h",function(){return c.a});var s=e(95);e.d(n,"i",function(){return s.a});var l=e(177);e.d(n,"j",function(){return l.a});var f=e(180);e.d(n,"w",function(){return f.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var p=e(182);e.d(n,"k",function(){return p.a});var v=e(183);e.d(n,"l",function(){return v.a});var b=e(184);e.d(n,"m",function(){return b.a});var g=e(185);e.d(n,"n",function(){return g.a});var y=e(100);e.d(n,"o",function(){return y.a});var m=e(92);e.d(n,"p",function(){return m.a});var x=e(186);e.d(n,"q",function(){return x.a});var _=e(50);e.d(n,"r",function(){return _.a});var w=e(97);e.d(n,"s",function(){return w.a});var O=e(187);e.d(n,"t",function(){return O.a});var j=e(188);e.d(n,"u",function(){return j.a});var T=e(189);e.d(n,"v",function(){return T.a});var C=e(98);e.d(n,"B",function(){return C.a}),e.d(n,"z",function(){return C.b}),e.d(n,"A",function(){return C.c});var M=e(101);e.d(n,"C",function(){return M.a});var S=e(94);e.d(n,"D",function(){return S.a});var k=e(190);e.d(n,"E",function(){return k.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return D}),n.a=L;var r=e(200),i=e(201),o=e(202),a=e(203),u=e(105),c=e(205),s=e(206),l=e(207),f=e(208),h=e(209),d=e(210),p=e(211),v=e(212),b=e(213),g=e(214),y=e(215),m=e(107),x=e(216),_=e(217),w=e(218),O=e(219),j=e(220),T=e(221),C=e(222),M=e(223),S=e(224),k=e(225),A=e(226),N=e(56),E=e(227),D=[null];function L(t,n){this._groups=t,this._parents=n}function q(){return new L([[document.documentElement]],D)}L.prototype=q.prototype={constructor:L,select:r.a,selectAll:i.a,filter:o.a,data:a.a,enter:u.b,exit:c.a,merge:s.a,order:l.a,sort:f.a,call:h.a,nodes:d.a,node:p.a,size:v.a,empty:b.a,each:g.a,attr:y.a,style:m.a,property:x.a,classed:_.a,text:w.a,html:O.a,raise:j.a,lower:T.a,append:C.a,insert:M.a,remove:S.a,clone:k.a,datum:A.a,on:N.b,dispatch:E.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var o=e(61);e.d(n,"c",function(){return o.b});var a=e(112);e.d(n,"d",function(){return a.a});var u=e(115);e.d(n,"g",function(){return u.a});var c=e(35);e.d(n,"m",function(){return c.a});var s=e(116);e.d(n,"n",function(){return s.a});var l=e(237);e.d(n,"r",function(){return l.a});var f=e(117);e.d(n,"s",function(){return f.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var p=e(111);e.d(n,"o",function(){return p.a}),e.d(n,"p",function(){return p.b}),e.d(n,"q",function(){return p.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var b=e(243);e.d(n,"l",function(){return b.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var y=e(245);e.d(n,"e",function(){return y.b}),e.d(n,"f",function(){return y.a});var m=e(246);e.d(n,"w",function(){return m.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return c}),e.d(n,"d",function(){return s}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=p(t,n);if(e.state>u)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=p(t,n);if(e.state>s)throw new Error("too late; already started");return e},n.f=p;var r=e(12),i=e(36),o=Object(r.a)("start","end","interrupt"),a=[],u=0,c=1,s=2,l=3,f=4,h=5,d=6;function p(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,p,v){var b=t.__transition;if(b){if(e in b)return}else t.__transition={};!function(t,n,e){var r,o=t.__transition;function a(h){var v,b,g,y;if(e.state!==c)return p();for(v in o)if((y=o[v]).name===e.name){if(y.state===l)return Object(i.c)(a);y.state===f?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete o[v]):+v2?t[2]%360*c.r:0,F()):[M*c.h,S*c.h,k*c.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(H,L=t*t),z()):Object(c.u)(L)},R.fitExtent=function(t,n){return Object(f.a)(R,t,n)},R.fitSize=function(t,n){return Object(f.c)(R,t,n)},R.fitWidth=function(t,n){return Object(f.d)(R,t,n)},R.fitHeight=function(t,n){return Object(f.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&P,F()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return o}),e.d(n,"a",function(){return a}),e.d(n,"e",function(){return u});var r=1e3,i=6e4,o=36e5,a=864e5,u=6048e5},function(t,n,e){"use strict";n.a=w,n.b=O,n.c=function(){return++_};var r=e(1),i=e(252),o=e(253),a=e(254),u=e(255),c=e(256),s=e(257),l=e(258),f=e(259),h=e(260),d=e(261),p=e(262),v=e(263),b=e(264),g=e(265),y=e(266),m=e(267),x=e(37),_=0;function w(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function O(t){return Object(r.m)().transition(t)}var j=r.m.prototype;w.prototype=O.prototype={constructor:w,select:d.a,selectAll:p.a,filter:s.a,merge:l.a,selection:v.a,transition:m.a,call:j.call,nodes:j.nodes,node:j.node,size:j.size,empty:j.empty,each:j.each,on:f.a,attr:i.a,attrTween:o.a,style:b.a,styleTween:g.a,text:y.a,remove:h.a,tween:x.a,delay:a.a,duration:u.a,ease:c.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&o.hasOwnProperty(t.type)&&o[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,o=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){o(i,t,this.t),o(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function o(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var o=e(64);e.d(n,"c",function(){return o.a});var a=e(290);e.d(n,"b",function(){return a.a});var u=e(291);e.d(n,"f",function(){return u.a});var c=e(292);e.d(n,"a",function(){return c.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?o:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=o;var r=e(113);function i(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),o=Object(r.g)(e),a=t(i*o);return[a*o*Object(r.t)(n),a*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),o=t(i),a=Object(r.t)(o),u=Object(r.g)(o);return[Object(r.e)(n*a,i*u),Object(r.c)(i&&e*a/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(r-n)/t.value;++u0?(c=Math.floor(c/i)*i,s=Math.ceil(s/i)*i,i=Object(r.z)(c,s,e)):i<0&&(c=Math.ceil(c*i)/i,s=Math.floor(s*i)/i,i=Object(r.z)(c,s,e)),i>0?(o[a]=Math.floor(c/i)*i,o[u]=Math.ceil(s/i)*i,n(o)):i<0&&(o[a]=Math.ceil(c*i)/i,o[u]=Math.floor(s*i)/i,n(o)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return o}),e.d(n,"h",function(){return a}),e.d(n,"i",function(){return u}),e.d(n,"k",function(){return c}),e.d(n,"l",function(){return s}),e.d(n,"f",function(){return l}),e.d(n,"j",function(){return f}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?f:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,u=Math.min,c=Math.sin,s=Math.sqrt,l=1e-12,f=Math.PI,h=f/2,d=2*f},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return o}),e.d(n,"e",function(){return a}),n.d=v;var r,i,o,a,u=e(458),c=e(169),s=e(170),l=e(89),f=e(88),h=1e-6,d=1e-12;function p(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(p).pop();for(a=[],i=new Array(t.length),r=new f.b,o=new f.b;;)if(d=s.c,v&&(!d||v[1]=u)return null;var c=t-i.site[0],s=n-i.site[1],l=c*c+s*s;do{i=o.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var c=t-u[0],s=n-u[1],f=c*c+s*s;fi.o?t-i.w:t<-i.o?t+i.w:t,n]}function a(t,n,e){return(t%=i.w)?n||e?Object(r.a)(c(t),s(n,e)):c(t):n||e?s(n,e):o}function u(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function c(t){var n=u(t);return n.invert=u(-t),n}function s(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),o=Object(i.g)(n),a=Object(i.t)(n);function u(t,n){var u=Object(i.g)(n),c=Object(i.g)(t)*u,s=Object(i.t)(t)*u,l=Object(i.t)(n),f=l*e+c*r;return[Object(i.e)(s*o-f*a,c*e-l*r),Object(i.c)(f*o+s*a)]}return u.invert=function(t,n){var u=Object(i.g)(n),c=Object(i.g)(t)*u,s=Object(i.t)(t)*u,l=Object(i.t)(n),f=l*o-s*a;return[Object(i.e)(s*o+l*a,c*e+f*r),Object(i.c)(f*e-c*r)]},u}o.invert=o,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=a(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,l){function f(r,i){return t<=r&&r<=e&&n<=i&&i<=l}function h(r,i,o,a){var u=0,c=0;if(null==r||(u=d(r,o))!==(c=d(i,o))||v(r,i)<0^o>0)do{a.point(0===u||3===u?t:e,u>1?l:n)}while((u=(u+o+4)%4)!==c);else a.point(i[0],i[1])}function d(i,o){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:o>0?3:2}function p(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,b,g,y,m,x,_,w,O,j,T=r,C=Object(i.a)(),M={point:S,lineStart:function(){M.point=k,v&&v.push(b=[]);O=!0,w=!1,x=_=NaN},lineEnd:function(){d&&(k(g,y),m&&w&&C.rejoin(),d.push(C.result()));M.point=S,w&&T.lineEnd()},polygonStart:function(){T=C,d=[],v=[],j=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;el&&(f-i)*(l-o)>(h-o)*(t-i)&&++n:h<=l&&(f-i)*(l-o)<(h-o)*(t-i)&&--n;return n}(),e=j&&n,i=(d=Object(u.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(a.a)(d,p,n,h,r),r.polygonEnd());T=r,d=v=b=null}};function S(t,n){f(t,n)&&T.point(t,n)}function k(r,i){var a=f(r,i);if(v&&b.push([r,i]),O)g=r,y=i,m=a,O=!1,a&&(T.lineStart(),T.point(r,i));else if(a&&w)T.point(r,i);else{var u=[x=Math.max(s,Math.min(c,x)),_=Math.max(s,Math.min(c,_))],h=[r=Math.max(s,Math.min(c,r)),i=Math.max(s,Math.min(c,i))];Object(o.a)(u,h,t,n,e,l)?(w||(T.lineStart(),T.point(u[0],u[1])),T.point(h[0],h[1]),a||T.lineEnd(),j=!1):a&&(T.lineStart(),T.point(r,i),j=!1)}x=r,_=i,w=a}return M}};var r=e(0),i=e(132),o=e(330),a=e(133),u=e(3),c=1e9,s=-c},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(i-e)/t.value;++u2?f:l,r=a=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,p)))(+n)}return g.invert=function(t){return(a||(a=e(d,h,s,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=o.a.call(t,u.a),b()):h.slice()},g.range=function(t){return arguments.length?(d=o.b.call(t),b()):d.slice()},g.rangeRound=function(t){return d=o.b.call(t),p=i.r,b()},g.clamp=function(t){return arguments.length?(v=!!t,b()):v},g.interpolate=function(t){return arguments.length?(p=t,b()):p},b()};var r=e(3),i=e(5),o=e(15),a=e(81),u=e(150),c=[0,1];function s(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(a.a)(n)}function l(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return o=1)return+e(t[i-1],i-1,t);var i,o=(i-1)*n,a=Math.floor(o),u=+e(t[a],a,t);return u+(+e(t[a+1],a+1,t)-u)*(o-a)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var o=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=o}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function o(t,n,e){return t=a(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function a(t,n,e){return function(r){var o=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=o}}}function u(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=n?c:u,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=f.exec(t))?x(parseInt(n[1],16)):(n=h.exec(t))?new j(n[1],n[2],n[3],1):(n=d.exec(t))?new j(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=p.exec(t))?_(n[1],n[2],n[3],n[4]):(n=v.exec(t))?_(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=b.exec(t))?T(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?T(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?x(y[t]):"transparent"===t?new j(NaN,NaN,NaN,0):null}function x(t){return new j(t>>16&255,t>>8&255,255&t,1)}function _(t,n,e,r){return r<=0&&(t=n=e=NaN),new j(t,n,e,r)}function w(t){return t instanceof i||(t=m(t)),t?new j((t=t.rgb()).r,t.g,t.b,t.opacity):new j}function O(t,n,e,r){return 1===arguments.length?w(t):new j(t,n,e,null==r?1:r)}function j(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function T(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new M(t,n,e,r)}function C(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof M)return new M(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=m(t)),!t)return new M;if(t instanceof M)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),a=Math.max(n,e,r),u=NaN,c=a-o,s=(a+o)/2;return c?(u=n===a?(e-r)/c+6*(e0&&s<1?0:u,new M(u,c,s,t.opacity)}(t):new M(t,n,e,null==r?1:r)}function M(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function S(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,m,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(j,O,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new j(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(M,C,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new M(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new M(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new j(S(t>=240?t-240:t+120,i,r),S(t,i,r),S(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],a=t[i+1],u=i>0?t[i-1]:2*o-a,c=i=0&&n._call.call(null,t),n=n._next;--o}function m(){l=(s=h.now())+f,o=a=0;try{y()}finally{o=0,function(){var t,n,e=r,o=1/0;for(;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,_(o)}(),l=0}}function x(){var t=h.now(),n=t-s;n>c&&(f-=n,s=t)}function _(t){o||(a&&(a=clearTimeout(a)),t-l>24?(t<1/0&&(a=setTimeout(m,t-h.now()-f)),u&&(u=clearInterval(u))):(u||(s=h.now(),u=setInterval(x,c)),o=1,d(m)))}b.prototype=g.prototype={constructor:b,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function o(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,o=-1,a=t.length;if(null==n)for(;++o=l?d=!0:(c=t.charCodeAt(f++))===a?p=!0:c===u&&(p=!0,t.charCodeAt(f)===a&&++f),t.slice(s+1,n-1).replace(/""/g,'"')}for(;f1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),o=e(341);function a(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--o)s.push(r=e.children[o]=new y(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(g)}function v(t){return t.children}function b(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=p.prototype={constructor:y,count:r.a,each:i.a,eachAfter:a.a,eachBefore:o.a,sum:u.a,sort:c.a,path:s.a,ancestors:l.a,descendants:f.a,leaves:h.a,links:d.a,copy:function(){return p(this).eachBefore(b)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return o}),n.c=a;var r=e(26),i=e(42),o=(1+Math.sqrt(5))/2;function a(t,n,e,o,a,u){for(var c,s,l,f,h,d,p,v,b,g,y,m=[],x=n.children,_=0,w=0,O=x.length,j=n.value;_p&&(p=s),y=h*h*g,(v=Math.max(p/y,y/d))>b){h-=s;break}b=v}m.push(c={value:h,dice:l1?n:1)},e}(o)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,o,a,u,c=Object(i.a)("beforesend","progress","load","error"),s=Object(r.c)(),l=new XMLHttpRequest,f=null,h=null,d=0;function p(t){var n,r=l.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(l)||r>=200&&r<300||304===r){if(a)try{n=a.call(e,l)}catch(t){return void c.call("error",e,t)}else n=l;c.call("load",e,n)}else c.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(t)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=l.ontimeout=p:l.onreadystatechange=function(t){l.readyState>3&&p(t)},l.onprogress=function(t){c.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==n?s.remove(t):s.set(t,n+""),e)},mimeType:function(t){return arguments.length?(o=null==t?null:t+"",e):o},responseType:function(t){return arguments.length?(u=t,e):u},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return a=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return l.open(n,t,!0,f,h),null==o||s.has("accept")||s.set("accept",o+",*/*"),l.setRequestHeader&&s.each(function(t,n){l.setRequestHeader(n,t)}),null!=o&&l.overrideMimeType&&l.overrideMimeType(o),null!=u&&(l.responseType=u),d>0&&(l.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),c.call("beforesend",e,l),l.send(null==r?null:r),e},abort:function(){return l.abort(),e},on:function(){var t=c.on.apply(c,arguments);return t===c?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var o=e(154);e.d(n,"a",function(){return o.a});var a=e(420);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return o}),e.d(n,"d",function(){return a}),e.d(n,"e",function(){return u}),n.a=s;var r,i,o,a,u,c=e(153);function s(t){return r=Object(c.a)(t),i=r.format,o=r.parse,a=r.utcFormat,u=r.utcParse,r}s({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(46),a=e(85);n.a=function(){var t=a.a,n=a.b,e=Object(i.a)(!0),u=null,c=o.a,s=null;function l(i){var o,a,l,f=i.length,h=!1;for(null==u&&(s=c(l=Object(r.a)())),o=0;o<=f;++o)!(or.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,o=(o*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>r.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-n*t._l12_2a)/f,u=(u*l+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(i,o,a,u,t._x2,t._y2)}function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:o(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 e(t){return n?new a(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(u[0][1]-u[1][1])>r.f)||delete r.e[c]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function o(t,n,e,r,i){var o,a=t[0],u=t[1],c=a[0],s=a[1],l=0,f=1,h=u[0]-c,d=u[1]-s;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o0)){if(o/=d,d<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=i-s,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o0||f<1)||(l>0&&(t[0]=[c+l*h,s+l*d]),f<1&&(t[1]=[c+f*h,s+f*d]),!0)}}}}}function a(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,c=t[0],s=t.left,l=t.right,f=s[0],h=s[1],d=l[0],p=l[1],v=(f+d)/2,b=(h+p)/2;if(p===h){if(v=r)return;if(f>d){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]1)if(f>d){if(c){if(c[1]>=i)return}else c=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(c){if(c[1]=r)return}else c=[n,a*n+u];o=[r,a*r+u]}else{if(c){if(c[0]>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,o=t[0],a=new Array(i<0?0:i);e1)return s/(a-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,o=t.length,a=-1;if(null==n){for(;++a=e)for(r=i=e;++ae&&(r=e),i=e)for(r=i=e;++ae&&(r=e),i=r?u*=10:c>=i?u*=5:c>=o&&(u*=2);return n=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,u):-Math.pow(10,-u)/(c>=r?10:c>=i?5:c>=o?2:1)}n.a=function(t,n,e){var r,i,o,u,c=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++c=e)for(r=e;++oe&&(r=e)}else for(;++o=e)for(r=e;++oe&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(a=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),o=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,o=Object(r.k)(t).on("dragstart.drag",null);n&&(o.on("click.drag",i.a,!0),setTimeout(function(){o.on("click.drag",null)},0));"onselectstart"in e?o.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return c}),e.d(n,"c",function(){return s});var r=e(7),i=e(61),o=e(112),a=e(23);function u(t){return function(n){var e,i,o=n.length,a=new Array(o),u=new Array(o),c=new Array(o);for(e=0;ec&&(u=n.slice(c,u),l[s]?l[s]+=u:l[++s]=u),(e=e[0])===(a=a[0])?l[s]?l[s]+=a:l[++s]=a:(l[++s]=null,f.push({i:s,x:Object(r.a)(e,a)})),c=o.lastIndex;return cr.d&&e.state1?(null==e?h.remove(t):h.set(t,y(e)),n):h.get(t)},find:function(n,e,r){var i,o,a,u,c,s=0,l=t.length;for(null==r?r=1/0:r*=r,s=0;s1?(p.on(t,e),n):p.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),o=e(318),a=e(124),u=e(125),c=e(126),s=e(321),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):s.a,e=t.currency,f=t.decimal,h=t.numerals?Object(o.a)(t.numerals):s.a,d=t.percent||"%";function p(t){var r=(t=Object(a.a)(t)).fill,i=t.align,o=t.sign,s=t.symbol,p=t.zero,v=t.width,b=t.comma,g=t.precision,y=t.type,m="$"===s?e[0]:"#"===s&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===s?e[1]:/[%p]/.test(y)?d:"",_=u.a[y],w=!y||/[defgprs%]/.test(y);function O(t){var e,a,u,s=m,d=x;if("c"===y)d=_(t)+d,t="";else{var O=(t=+t)<0;if(t=_(Math.abs(t),g),O&&0==+t&&(O=!1),s=(O?"("===o?o:"-":"-"===o||"("===o?"":o)+s,d=("s"===y?l[8+c.b/3]:"")+d+(O&&"("===o?")":""),w)for(e=-1,a=t.length;++e(u=t.charCodeAt(e))||u>57){d=(46===u?f+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}b&&!p&&(t=n(t,1/0));var j=s.length+t.length+d.length,T=j>1)+s+t+d+T.slice(j);break;default:t=T+s+t+d}return h(t)}return g=null==g?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),O.toString=function(){return t+""},O}return{format:p,formatPrefix:function(t,n){var e=p(((t=Object(a.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),o=Math.pow(10,-i),u=l[8+i/3];return function(t){return e(o*t)+u}}}}},function(t,n,e){"use strict";n.a=o;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function o(t){return new a(t)}function a(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",o=n[2]||">",a=n[3]||"-",u=n[4]||"",c=!!n[5],s=n[6]&&+n[6],l=!!n[7],f=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(l=!0,h="g"):r.a[h]||(h=""),(c||"0"===e&&"="===o)&&(c=!0,e="0",o="="),this.fill=e,this.align=o,this.sign=a,this.symbol=u,this.zero=c,this.width=s,this.comma=l,this.precision=f,this.type=h}o.prototype=a.prototype,a.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,e){"use strict";var r=e(319),i=e(126),o=e(320);n.a={"":r.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 Object(o.a)(100*t,n)},r:o.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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var o=e[0],a=e[1],u=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,c=o.length;return u===c?o:u>c?o+new Array(u-c+1).join("0"):u>0?o.slice(0,u)+"."+o.slice(u):"0."+new Array(1-u).join("0")+Object(i.a)(t,Math.max(0,n+u-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return p});var r,i,o,a,u,c=e(19),s=e(0),l=e(11),f=e(14),h=Object(c.a)(),d=Object(c.a)(),p={point:l.a,lineStart:l.a,lineEnd:l.a,polygonStart:function(){h.reset(),p.lineStart=v,p.lineEnd=b},polygonEnd:function(){var t=+h;d.add(t<0?s.w+t:t),this.lineStart=this.lineEnd=this.point=l.a},sphere:function(){d.add(s.w)}};function v(){p.point=g}function b(){y(r,i)}function g(t,n){p.point=y,r=t,i=n,t*=s.r,n*=s.r,o=t,a=Object(s.g)(n=n/2+s.q),u=Object(s.t)(n)}function y(t,n){t*=s.r,n=(n*=s.r)/2+s.q;var e=t-o,r=e>=0?1:-1,i=r*e,c=Object(s.g)(n),l=Object(s.t)(n),f=u*l,d=a*c+f*Object(s.g)(i),p=f*r*Object(s.t)(i);h.add(Object(s.e)(p,d)),o=t,a=c,u=l}n.c=function(t){return d.reset(),Object(f.a)(t,p),2*d}},function(t,n,e){"use strict";n.a=u;var r=e(24),i=e(328),o=e(0),a=e(39);function u(t,n,e,i,a,u){if(e){var s=Object(o.g)(n),l=Object(o.t)(n),f=i*e;null==a?(a=n+i*o.w,u=n-f/2):(a=c(s,a),u=c(s,u),(i>0?au)&&(a+=i*o.w));for(var h,d=a;i>0?d>u:d0?i.o:-i.o,s=Object(i.a)(a-e);Object(i.a)(s-i.o)0?i.l:-i.l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(a,r),n=0):o!==c&&s>=i.o&&(Object(i.a)(e-o)i.i?Object(i.d)((Object(i.t)(n)*(a=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(o=Object(i.g)(n))*Object(i.t)(t))/(o*a*u)):(n+r)/2}(e,r,a,u),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),n=0),t.point(e=a,r=u),o=c},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var o;if(null==t)o=e*i.l,r.point(-i.o,o),r.point(0,o),r.point(i.o,o),r.point(i.o,0),r.point(i.o,-o),r.point(0,-o),r.point(-i.o,-o),r.point(-i.o,0),r.point(-i.o,o);else if(Object(i.a)(t[0]-n[0])>i.i){var a=t[0]1}function s(t,n){return((t=t.x)[0]<0?t[1]-o.l-o.i:o.l-t[1])-((n=n.x)[0]<0?n[1]-o.l-o.i:o.l-n[1])}n.a=function(t,n,e,o){return function(l){var f,h,d,p=n(l),v=Object(r.a)(),b=n(v),g=!1,y={point:m,lineStart:_,lineEnd:w,polygonStart:function(){y.point=O,y.lineStart=j,y.lineEnd=T,h=[],f=[]},polygonEnd:function(){y.point=m,y.lineStart=_,y.lineEnd=w,h=Object(u.n)(h);var t=Object(a.a)(f,o);h.length?(g||(l.polygonStart(),g=!0),Object(i.a)(h,s,t,e,l)):t&&(g||(l.polygonStart(),g=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),g&&(l.polygonEnd(),g=!1),h=f=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};function m(n,e){t(n,e)&&l.point(n,e)}function x(t,n){p.point(t,n)}function _(){y.point=x,p.lineStart()}function w(){y.point=m,p.lineEnd()}function O(t,n){d.push([t,n]),b.point(t,n)}function j(){b.lineStart(),d=[]}function T(){O(d[0][0],d[0][1]),b.lineEnd();var t,n,e,r,i=b.clean(),o=v.result(),a=o.length;if(d.pop(),f.push(d),d=null,a)if(1&i){if((n=(e=o[0]).length-1)>0){for(g||(l.polygonStart(),g=!0),l.lineStart(),t=0;t1&&2&i&&o.push(o.pop().concat(o.shift())),h.push(o.filter(c))}return y}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--c)u.point((d=h[c])[0],d[1]);else a(v.x,v.p.x,-1,u);v=v.p}h=(v=v.o).z,b=!b}while(!v.v);u.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,M=C*T,S=M>o.o,k=g*O;if(a.add(Object(o.e)(k*C*Object(o.t)(M),y*j+k*Object(o.g)(M))),c+=S?T+C*o.w:T,S^v>=e^_>=e){var A=Object(i.c)(Object(i.a)(p),Object(i.a)(x));Object(i.e)(A);var N=Object(i.c)(u,A);Object(i.e)(N);var E=(S^T>=0?-1:1)*Object(o.c)(N[2]);(r>E||r===E&&(A[0]||A[1]))&&(s+=S^T>=0?1:-1)}}return(c<-o.i||c0,s=Object(o.a)(n)>o.i;function l(t,e){return Object(o.g)(t)*Object(o.g)(e)>n}function f(t,e,i){var a=Object(r.a)(t),u=Object(r.a)(e),c=[1,0,0],s=Object(r.c)(a,u),l=Object(r.d)(s,s),f=s[0],h=l-f*f;if(!h)return!i&&t;var d=n*l/h,p=-n*f/h,v=Object(r.c)(c,s),b=Object(r.f)(c,d),g=Object(r.f)(s,p);Object(r.b)(b,g);var y=v,m=Object(r.d)(b,y),x=Object(r.d)(y,y),_=m*m-x*(Object(r.d)(b,b)-1);if(!(_<0)){var w=Object(o.u)(_),O=Object(r.f)(y,(-m-w)/x);if(Object(r.b)(O,b),O=Object(r.g)(O),!i)return O;var j,T=t[0],C=e[0],M=t[1],S=e[1];C0^O[1]<(Object(o.a)(O[0]-T)o.o^(T<=O[0]&&O[0]<=C)){var N=Object(r.f)(y,(-m+w)/x);return Object(r.b)(N,b),[O,Object(r.g)(N)]}}}function h(n,e){var r=c?t:o.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(u.a)(l,function(t){var n,e,r,i,u;return{lineStart:function(){i=r=!1,u=1},point:function(d,p){var v,b=[d,p],g=l(d,p),y=c?g?0:h(d,p):g?h(d+(d<0?o.o:-o.o),p):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=f(n,b))||Object(a.a)(n,v)||Object(a.a)(b,v))&&(b[0]+=o.i,b[1]+=o.i,g=l(b[0],b[1])),g!==r)u=0,g?(t.lineStart(),v=f(b,n),t.point(v[0],v[1])):(v=f(n,b),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(s&&n&&c^g){var m;y&e||!(m=f(b,n,!0))||(u=0,c?(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])))}!g||n&&Object(a.a)(n,b)||t.point(b[0],b[1]),n=b,r=g,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return u|(i&&r)<<1}}},function(n,r,o,a){Object(i.a)(a,t,e,o,n,r)},c?[0,-t]:[-o.o,t-o.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],o={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(o)}},function(t,n,e){"use strict";var r,i,o,a=e(19),u=e(0),c=e(11),s=e(14),l=Object(a.a)(),f={sphere:c.a,point:c.a,lineStart:function(){f.point=d,f.lineEnd=h},lineEnd:c.a,polygonStart:c.a,polygonEnd:c.a};function h(){f.point=f.lineEnd=c.a}function d(t,n){t*=u.r,n*=u.r,r=t,i=Object(u.t)(n),o=Object(u.g)(n),f.point=p}function p(t,n){t*=u.r,n*=u.r;var e=Object(u.t)(n),a=Object(u.g)(n),c=Object(u.a)(t-r),s=Object(u.g)(c),f=a*Object(u.t)(c),h=o*e-i*a*s,d=i*e+o*a*s;l.add(Object(u.e)(Object(u.u)(f*f+h*h),d)),r=t,i=e,o=a}n.a=function(t){return l.reset(),Object(s.a)(t,f),+l}},function(t,n,e){"use strict";var r=e(11),i=1/0,o=i,a=-i,u=a,c={point:function(t,n){ta&&(a=t);nu&&(u=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,o],[a,u]];return a=u=-(o=i=1/0),t}};n.a=c},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=c;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,c=n.y-i,s=u*u+c*c;if(s){var l=.5+((a*=a)-(o*=o))/(2*s),f=Math.sqrt(Math.max(0,2*o*(a+s)-(a-=s)*a-o*o))/(2*s);e.x=r+l*u+f*c,e.y=i+l*c-f*u}else e.x=r+a,e.y=i}function o(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function a(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function u(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(s=t.length))return 0;var n,e,c,s,l,f,h,d,p,v,b;if((n=t[0]).x=0,n.y=0,!(s>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(s>2))return n.r+e.r;i(e,n,c=t[2]),n=new u(n),e=new u(e),c=new u(c),n.next=c.previous=e,e.next=n.previous=c,c.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function u(t,n){for(var e=0;e1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:bt,S:$,u:U,U:B,V:W,w:Y,W:V,x:null,X:null,y:X,Y:K,Z:G,"%":pt},kt={a:function(t){return f[t.getUTCDay()]},A:function(t){return l[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:Q,e:Q,f:et,H:J,I:Z,j:tt,L:nt,m:rt,M:it,p:function(t){return s[+(t.getUTCHours()>=12)]},Q:vt,s:bt,S:ot,u:at,U:ut,V:ct,w:st,W:lt,x:null,X:null,y:ft,Y:ht,Z:dt,"%":pt},At={a:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=xt.exec(n.slice(e));return r?(t.w=_t[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=Ct.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return Dt(t,n,e,r)},d:j,e:j,f:A,H:C,I:C,j:T,L:k,m:O,M:M,p:function(t,n,e){var r=yt.exec(n.slice(e));return r?(t.p=mt[r[0].toLowerCase()],e+r[0].length):-1},Q:E,s:D,S:S,u:b,U:g,V:y,w:v,W:m,x:function(t,n,r){return Dt(t,e,n,r)},X:function(t,n,e){return Dt(t,c,n,e)},y:_,Y:x,Z:w,"%":N};function Nt(t,n){return function(e){var r,i,o,a=[],c=-1,s=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++c53)return null;"w"in c||(c.w=1),"Z"in c?(i=o(a(c.y)),u=i.getUTCDay(),i=u>4||0===u?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(c.V-1)),c.y=i.getUTCFullYear(),c.m=i.getUTCMonth(),c.d=i.getUTCDate()+(c.w+6)%7):(i=n(a(c.y)),u=i.getDay(),i=u>4||0===u?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(c.V-1)),c.y=i.getFullYear(),c.m=i.getMonth(),c.d=i.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),u="Z"in c?o(a(c.y)).getUTCDay():n(a(c.y)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(u+5)%7:c.w+7*c.U-(u+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,o(c)):n(c)}}function Dt(t,n,e,r){for(var i,o,a=0,c=n.length,s=e.length;a=s)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=At[i in u?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return St.x=Nt(e,St),St.X=Nt(c,St),St.c=Nt(n,St),kt.x=Nt(e,kt),kt.X=Nt(c,kt),kt.c=Nt(n,kt),{format:function(t){var n=Nt(t+="",St);return n.toString=function(){return t},n},parse:function(t){var n=Et(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=Nt(t+="",kt);return n.toString=function(){return t},n},utcParse:function(t){var n=Et(t,o);return n.toString=function(){return t},n}}};var r=e(45);function i(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 o(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 a(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var u={"-":"",_:" ",0:"0"},c=/^\s*\d+/,s=/^%/,l=/[\\^$*+?|[\]().{}]/g;function f(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function w(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function O(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function j(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function T(t,n,e){var r=c.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function C(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function M(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function S(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function k(t,n,e){var r=c.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=c.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function N(t,n,e){var r=s.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function E(t,n,e){var r=c.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function D(t,n,e){var r=c.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function L(t,n){return f(t.getDate(),n,2)}function q(t,n){return f(t.getHours(),n,2)}function R(t,n){return f(t.getHours()%12||12,n,2)}function P(t,n){return f(1+r.a.count(Object(r.D)(t),t),n,3)}function H(t,n){return f(t.getMilliseconds(),n,3)}function F(t,n){return H(t,n)+"000"}function z(t,n){return f(t.getMonth()+1,n,2)}function I(t,n){return f(t.getMinutes(),n,2)}function $(t,n){return f(t.getSeconds(),n,2)}function U(t){var n=t.getDay();return 0===n?7:n}function B(t,n){return f(r.t.count(Object(r.D)(t),t),n,2)}function W(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),f(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function Y(t){return t.getDay()}function V(t,n){return f(r.l.count(Object(r.D)(t),t),n,2)}function X(t,n){return f(t.getFullYear()%100,n,2)}function K(t,n){return f(t.getFullYear()%1e4,n,4)}function G(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+f(n/60|0,"0",2)+f(n%60,"0",2)}function Q(t,n){return f(t.getUTCDate(),n,2)}function J(t,n){return f(t.getUTCHours(),n,2)}function Z(t,n){return f(t.getUTCHours()%12||12,n,2)}function tt(t,n){return f(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return f(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return f(t.getUTCMonth()+1,n,2)}function it(t,n){return f(t.getUTCMinutes(),n,2)}function ot(t,n){return f(t.getUTCSeconds(),n,2)}function at(t){var n=t.getUTCDay();return 0===n?7:n}function ut(t,n){return f(r.X.count(Object(r._7)(t),t),n,2)}function ct(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),f(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function st(t){return t.getUTCDay()}function lt(t,n){return f(r.P.count(Object(r._7)(t),t),n,2)}function ft(t,n){return f(t.getUTCFullYear()%100,n,2)}function ht(t,n){return f(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function pt(){return"%"}function vt(t){return+t}function bt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var o=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=o},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(46),a=e(84),u=e(85);n.a=function(){var t=u.a,n=null,e=Object(i.a)(0),c=u.b,s=Object(i.a)(!0),l=null,f=o.a,h=null;function d(i){var o,a,u,d,p,v=i.length,b=!1,g=new Array(v),y=new Array(v);for(null==l&&(h=f(p=Object(r.a)())),o=0;o<=v;++o){if(!(o=a;--u)h.point(g[u],y[u]);h.lineEnd(),h.areaEnd()}b&&(g[o]=+t(d,o,i),y[o]=+e(d,o,i),h.point(n?+n(d,o,i):g[o],c?+c(d,o,i):y[o]))}if(p)return h=null,p+""||null}function p(){return Object(a.a)().defined(s).curve(f).context(l)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),c=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):c},d.lineX0=d.lineY0=function(){return p().x(t).y(e)},d.lineY1=function(){return p().x(t).y(c)},d.lineX1=function(){return p().x(n).y(e)},d.defined=function(t){return arguments.length?(s="function"==typeof t?t:Object(i.a)(!!t),d):s},d.curve=function(t){return arguments.length?(f=t,null!=l&&(h=f(l)),d):f},d.context=function(t){return arguments.length?(null==t?l=h=null:h=f(l=t),d):l},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=o;var r=o(e(46).a);function i(t){this._curve=t}function o(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=o;var r=e(156),i=e(84);function o(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return o(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),o=e*r;t.moveTo(0,-e),t.lineTo(o,0),t.lineTo(0,e),t.lineTo(-o,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),o=Math.sin(r.m/10)*i,a=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=o*e,u=a*e;t.moveTo(0,-e),t.lineTo(i,u);for(var c=1;c<5;++c){var s=r.m*c/5,l=Math.cos(s),f=Math.sin(s);t.lineTo(f*e,-l*e),t.lineTo(l*i-f*u,f*i+l*u)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),a=3*(o/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/a),u=e/2,c=e*o,s=u,l=e*o+e,f=-s,h=l;t.moveTo(u,c),t.lineTo(s,l),t.lineTo(f,h),t.lineTo(r*u-i*c,i*u+r*c),t.lineTo(r*s-i*l,i*s+r*l),t.lineTo(r*f-i*h,i*f+r*h),t.lineTo(r*u+i*c,r*c-i*u),t.lineTo(r*s+i*l,r*l-i*s),t.lineTo(r*f+i*h,r*h-i*f),t.closePath()}}},function(t,n,e){"use strict";n.a=o;var r=e(47),i=e(49);function o(t,n){this._context=t,this._k=(1-n)/6}o.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new o(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=a,n.d=function(){for(var t,n,e,r,a=0,u=i.b.length;ai.f||Math.abs(m-b)>i.f)&&(h.splice(f,0,i.e.push(Object(r.b)(l,g,Math.abs(y-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(b-o)i.f?[e,Math.abs(v-e)i.f?[Math.abs(b-n)=-o.g)return;var g=h*h+d*d,y=p*p+v*v,m=(v*g-d*y)/b,x=(h*y-p*g)/b,_=a.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};_.arc=t,_.site=c,_.x=m+l,_.y=(_.cy=x+f)+Math.sqrt(m*m+x*x),t.circle=_;var w=null,O=o.c._;for(;O;)if(_.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),o=e(178),a=e(95),u=e(179),c=e(97),s=e(98),l=e(99);n.a=function(){var t=u.a,n=a.a,e=l.a;function f(r){var o,a,u=r.length,l=new Array(u);for(o=0;od;)p.pop(),--v;var b,g=new Array(v+1);for(o=0;o<=v;++o)(b=g[o]=[]).x0=o>0?p[o-1]:h,b.x1=o=e)for(r=e;++or&&(r=e)}else for(;++o=e)for(r=e;++or&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,o=i,a=-1,u=0;if(null==n)for(;++a=0;)for(n=(r=t[i]).length;--n>=0;)e[--a]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,o=0,a=0,u=t[a];for(null==n&&(n=r.a);++o0&&(e=r-S),F<0?j=T-k:F>0&&(o=c-k),P=h,J.attr("cursor",y.selection),nt());break;default:return}Object(l.a)()},!0).on("keyup.brush",function(){switch(a.e.keyCode){case 16:V&&(D=L=V=!1,nt());break;case 18:P===p&&(H<0?s=O:H>0&&(e=r),F<0?j=T:F>0&&(o=c),P=d,nt());break;case 32:P===h&&(a.e.altKey?(H&&(s=O-S*H,e=r+S*H),F&&(j=T-k*F,o=c+k*F),P=p):(H<0?s=O:H>0&&(e=r),F<0?j=T:F>0&&(o=c),P=d),J.attr("cursor",y[R]),nt());break;default:return}Object(l.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(a.e.view)}Object(l.b)(),Object(u.b)(q),N.call(q),G.start()}function tt(){var t=Object(a.h)(q);!V||D||L||(Math.abs(t[0]-K[0])>Math.abs(t[1]-K[1])?L=!0:D=!0),K=t,A=!0,Object(l.a)(),nt()}function nt(){var t;switch(S=K[0]-X[0],k=K[1]-X[1],P){case h:case f:H&&(S=Math.max(U-e,Math.min(W-s,S)),r=e+S,O=s+S),F&&(k=Math.max(B-o,Math.min(Y-j,k)),c=o+k,T=j+k);break;case d:H<0?(S=Math.max(U-e,Math.min(W-e,S)),r=e+S,O=s):H>0&&(S=Math.max(U-s,Math.min(W-s,S)),r=e,O=s+S),F<0?(k=Math.max(B-o,Math.min(Y-o,k)),c=o+k,T=j):F>0&&(k=Math.max(B-j,Math.min(Y-j,k)),c=o,T=j+k);break;case p:H&&(r=Math.max(U,Math.min(W,e-S*H)),O=Math.max(U,Math.min(W,s+S*H))),F&&(c=Math.max(B,Math.min(Y,o-k*F)),T=Math.max(B,Math.min(Y,j+k*F)))}O=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),c=-1,s=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++c0)for(var e,r,i=new Array(e),o=0;o_}y.mouse("drag")}function T(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(o.b)(i.e.view,e),Object(a.a)(),y.mouse("end")}function C(){if(p.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),o=e.length;for(t=0;t=j&&(j=O+1);!(w=x[j])&&++j=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,o=e.length,a=new Array(o),u=0;u1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new o(t)}function o(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function a(t,n){for(var e=i(t),r=-1,o=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var o=i(this.node()),c=-1,s=e.length;++ch?Math.pow(t,1/3):t/f+s}function g(t){return t>l?t*t*t:f*(t-s)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function x(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof _)return new _(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*o.b;return new _(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new _(t,n,e,null==r?1:r)}function _(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,p,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=u*g(t),n=a*g(n),e=c*g(e),new i.b(y(3.2404542*n-1.5371385*t-.4985314*e),y(-.969266*n+1.8760108*t+.041556*e),y(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(_,x,Object(r.b)(i.a,{brighter:function(t){return new _(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new _(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=p;var r=e(60),i=e(59),o=e(110),a=-.14861,u=1.78277,c=-.29227,s=-.90649,l=1.97294,f=l*s,h=l*u,d=u*c-s*a;function p(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,a=(d*r+f*n-h*e)/(d+f-h),u=r-a,p=(l*(e-a)-c*u)/s,b=Math.sqrt(p*p+u*u)/(l*a*(1-a)),g=b?Math.atan2(p,u)*o.b-120:NaN;return new v(g<0?g+360:g,b,a,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,p,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),f=Math.sin(t);return new i.b(255*(n+e*(a*r+u*f)),255*(n+e*(c*r+s*f)),255*(n+e*(l*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e.d(n,"b",function(){return u});var r=e(35),i=e(239);function o(t,n,e,i){function o(t){return t.length?t.pop()+" ":""}return function(a,u){var c=[],s=[];return a=t(a),u=t(u),function(t,i,o,a,u,c){if(t!==o||i!==a){var s=u.push("translate(",null,n,null,e);c.push({i:s-4,x:Object(r.a)(t,o)},{i:s-2,x:Object(r.a)(i,a)})}else(o||a)&&u.push("translate("+o+n+a+e)}(a.translateX,a.translateY,u.translateX,u.translateY,c,s),function(t,n,e,a){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),a.push({i:e.push(o(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(o(e)+"rotate("+n+i)}(a.rotate,u.rotate,c,s),function(t,n,e,a){t!==n?a.push({i:e.push(o(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(o(e)+"skewX("+n+i)}(a.skewX,u.skewX,c,s),function(t,n,e,i,a,u){if(t!==e||n!==i){var c=a.push(o(a)+"scale(",null,",",null,")");u.push({i:c-4,x:Object(r.a)(t,e)},{i:c-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||a.push(o(a)+"scale("+e+","+i+")")}(a.scaleX,a.scaleY,u.scaleX,u.scaleY,c,s),a=u=null,function(t){for(var n,e=-1,r=s.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=a(this,t),u=r.on;u!==i&&(o=(i=u).copy()).on(n,e),r.on=o}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),o=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var a=this._groups,u=a.length,c=new Array(u),s=0;si.c&&e.name===n)return new r.a([[t]],o,n,+a);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,o=null;function a(a){var u,c,s,l,f,h,d=a.length,p=[],v=Object(r.s)(d),b=[],g=[],y=g.groups=new Array(d),m=new Array(d*d);for(u=0,f=-1;++f1e-6)if(Math.abs(f*c-s*l)>1e-6&&o){var d=e-a,p=i-u,v=c*c+s*s,b=d*d+p*p,g=Math.sqrt(v),y=Math.sqrt(h),m=o*Math.tan((r-Math.acos((v+h-b)/(2*g*y)))/2),x=m/y,_=m/g;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*l)+","+(n+x*f)),this._+="A"+o+","+o+",0,0,"+ +(f*d>l*p)+","+(this._x1=t+_*c)+","+(this._y1=n+_*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,u,c){t=+t,n=+n;var s=(e=+e)*Math.cos(a),l=e*Math.sin(a),f=t+s,h=n+l,d=1^c,p=c?a-u:u-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),e&&(p<0&&(p=p%i+i),p>o?this._+="A"+e+","+e+",0,1,"+d+","+(t-s)+","+(n-l)+"A"+e+","+e+",0,1,"+d+","+(this._x1=f)+","+(this._y1=h):p>1e-6&&(this._+="A"+e+","+e+",0,"+ +(p>=r)+","+d+","+(this._x1=t+e*Math.cos(u))+","+(this._y1=n+e*Math.sin(u))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=u},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function o(t,n,e){t[n]=e}function a(){return Object(r.a)()}function u(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,c=[],s=[];function l(e,i,o,a){if(i>=c.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var u,s,f,h=-1,d=e.length,p=c[i++],v=Object(r.a)(),b=o();++hc.length)return e;var i,o=s[r-1];return null!=n&&r>=c.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=o?i.sort(function(t,n){return o(t.key,n.key)}):i}(l(t,0,a,u),0)},key:function(t){return c.push(t),e},sortKeys:function(t){return s[c.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var o=r.a.prototype;function a(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,o=t.length;if(null==n)for(;++rh+s||rd+s||ol.index){var f=h-a.x-a.vx,b=d-a.y-a.vy,g=f*f+b*b;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r=(o=(v+g)/2))?v=o:g=o,(l=e>=(a=(b+y)/2))?b=a:y=a,i=d,!(d=d[f=l<<1|s]))return i[f]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(s=n>=(o=(v+g)/2))?v=o:g=o,(l=e>=(a=(b+y)/2))?b=a:y=a}while((f=l<<1|s)==(h=(c>=a)<<1|u>=o));return i[h]=d,i[f]=p,t}n.a=function(t){var n,e,i,o,a=t.length,u=new Array(a),c=new Array(a),s=1/0,l=1/0,f=-1/0,h=-1/0;for(e=0;ef&&(f=i),oh&&(h=o));ft||t>i||r>n||n>o))return this;var a,u,c=i-e,s=this._root;switch(u=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do{(a=new Array(4))[u]=s,s=a}while(o=r+(c*=2),t>(i=e+c)||n>o);break;case 1:do{(a=new Array(4))[u]=s,s=a}while(o=r+(c*=2),(e=i-c)>t||n>o);break;case 2:do{(a=new Array(4))[u]=s,s=a}while(r=o-(c*=2),t>(i=e+c)||r>n);break;case 3:do{(a=new Array(4))[u]=s,s=a}while(r=o-(c*=2),(e=i-c)>t||r>n)}this._root&&this._root.length&&(this._root=s)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,o,a,u,c,s,l,f=this._x0,h=this._y0,d=this._x1,p=this._y1,v=[],b=this._root;for(b&&v.push(new r.a(b,f,h,d,p)),null==e?e=1/0:(f=t-e,h=n-e,d=t+e,p=n+e,e*=e);s=v.pop();)if(!(!(b=s.node)||(o=s.x0)>d||(a=s.y0)>p||(u=s.x1)=y)<<1|t>=g)&&(s=v[v.length-1],v[v.length-1]=v[v.length-1-l],v[v.length-1-l]=s)}else{var m=t-+this._x.call(null,b.data),x=n-+this._y.call(null,b.data),_=m*m+x*x;if(_=(u=(p+b)/2))?p=u:b=u,(l=a>=(c=(v+g)/2))?v=c:g=c,n=d,!(d=d[f=l<<1|s]))return this;if(!d.length)break;(n[f+1&3]||n[f+2&3]||n[f+3&3])&&(e=n,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[f]=i:delete n[f],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,o,a,u,c=[],s=this._root;for(s&&c.push(new r.a(s,this._x0,this._y0,this._x1,this._y1));n=c.pop();)if(!t(s=n.node,i=n.x0,o=n.y0,a=n.x1,u=n.y1)&&s.length){var l=(i+a)/2,f=(o+u)/2;(e=s[3])&&c.push(new r.a(e,l,f,a,u)),(e=s[2])&&c.push(new r.a(e,i,f,l,u)),(e=s[1])&&c.push(new r.a(e,l,o,a,f)),(e=s[0])&&c.push(new r.a(e,i,o,l,f))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var o=n.node;if(o.length){var a,u=n.x0,c=n.y0,s=n.x1,l=n.y1,f=(u+s)/2,h=(c+l)/2;(a=o[0])&&e.push(new r.a(a,u,c,f,h)),(a=o[1])&&e.push(new r.a(a,f,c,s,h)),(a=o[2])&&e.push(new r.a(a,u,h,f,l)),(a=o[3])&&e.push(new r.a(a,f,h,s,l))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),o=e(21);function a(t){return t.index}function u(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,c,s,l,f=a,h=function(t){return 1/Math.min(s[t.source.index],s[t.target.index])},d=Object(r.a)(30),p=1;function v(r){for(var o=0,a=t.length;o=l)){(t.data!==n||t.next)&&(0===c&&(p+=(c=Object(i.a)())*c),0===h&&(p+=(h=Object(i.a)())*h),p0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,o=-1;i0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var o=e(327);e.d(n,"i",function(){return o.a});var a=e(128);e.d(n,"j",function(){return a.b});var u=e(130);e.d(n,"k",function(){return u.a});var c=e(136);e.d(n,"l",function(){return c.a});var s=e(329);e.d(n,"m",function(){return s.a});var l=e(40);e.d(n,"n",function(){return l.a});var f=e(331);e.d(n,"u",function(){return f.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var p=e(333);e.d(n,"D",function(){return p.a});var v=e(138);e.d(n,"E",function(){return v.a});var b=e(334);e.d(n,"L",function(){return b.a});var g=e(140);e.d(n,"a",function(){return g.a});var y=e(342);e.d(n,"b",function(){return y.a});var m=e(343);e.d(n,"d",function(){return m.b}),e.d(n,"e",function(){return m.a});var x=e(344);e.d(n,"f",function(){return x.b}),e.d(n,"g",function(){return x.a});var _=e(345);e.d(n,"o",function(){return _.b}),e.d(n,"p",function(){return _.a});var w=e(73);e.d(n,"q",function(){return w.b}),e.d(n,"r",function(){return w.a});var O=e(346);e.d(n,"s",function(){return O.b}),e.d(n,"t",function(){return O.a});var j=e(141);e.d(n,"w",function(){return j.a}),e.d(n,"x",function(){return j.b});var T=e(347);e.d(n,"y",function(){return T.a}),e.d(n,"z",function(){return T.b});var C=e(348);e.d(n,"C",function(){return C.a});var M=e(8);e.d(n,"M",function(){return M.a}),e.d(n,"N",function(){return M.b});var S=e(76);e.d(n,"F",function(){return S.a}),e.d(n,"G",function(){return S.c});var k=e(349);e.d(n,"H",function(){return k.a}),e.d(n,"I",function(){return k.b});var A=e(350);e.d(n,"J",function(){return A.a}),e.d(n,"K",function(){return A.b});var N=e(351);e.d(n,"P",function(){return N.a}),e.d(n,"Q",function(){return N.b});var E=e(352);e.d(n,"T",function(){return E.a}),e.d(n,"U",function(){return E.b});var D=e(39);e.d(n,"O",function(){return D.a});var L=e(14);e.d(n,"R",function(){return L.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,o,a,u,c,s,l,f,h,d=e(19),p=e(127),v=e(24),b=e(0),g=e(14),y=Object(d.a)(),m={point:x,lineStart:w,lineEnd:O,polygonStart:function(){m.point=j,m.lineStart=T,m.lineEnd=C,y.reset(),p.b.polygonStart()},polygonEnd:function(){p.b.polygonEnd(),m.point=x,m.lineStart=w,m.lineEnd=O,p.a<0?(r=-(o=180),i=-(a=90)):y>b.i?a=90:y<-b.i&&(i=-90),h[0]=r,h[1]=o}};function x(t,n){f.push(h=[r=t,o=t]),na&&(a=n)}function _(t,n){var e=Object(v.a)([t*b.r,n*b.r]);if(l){var c=Object(v.c)(l,e),s=[c[1],-c[0],0],d=Object(v.c)(s,c);Object(v.e)(d),d=Object(v.g)(d);var p,g=t-u,y=g>0?1:-1,m=d[0]*b.h*y,x=Object(b.a)(g)>180;x^(y*ua&&(a=p):x^(y*u<(m=(m+360)%360-180)&&ma&&(a=n)),x?tM(r,o)&&(o=t):M(t,o)>M(r,o)&&(r=t):o>=r?(to&&(o=t)):t>u?M(r,t)>M(r,o)&&(o=t):M(t,o)>M(r,o)&&(r=t)}else f.push(h=[r=t,o=t]);na&&(a=n),l=e,u=t}function w(){m.point=_}function O(){h[0]=r,h[1]=o,m.point=x,l=null}function j(t,n){if(l){var e=t-u;y.add(Object(b.a)(e)>180?e+(e>0?360:-360):e)}else c=t,s=n;p.b.point(t,n),_(t,n)}function T(){p.b.lineStart()}function C(){j(c,s),p.b.lineEnd(),Object(b.a)(y)>b.i&&(r=-(o=180)),h[0]=r,h[1]=o,l=null}function M(t,n){return(n-=t)<0?n+360:n}function S(t,n){return t[0]-n[0]}function k(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nM(u[0],u[1])&&(u[1]=c[1]),M(c[0],u[1])>M(u[0],u[1])&&(u[0]=c[0])):s.push(u=c);for(l=-1/0,n=0,u=s[e=s.length-1];n<=e;u=c,++n)c=s[n],(d=M(u[1],c[0]))>l&&(l=d,r=c[0],o=u[1])}return f=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[o,a]]}},function(t,n,e){"use strict";var r,i,o,a,u,c,s,l,f,h,d,p,v,b,g,y,m=e(0),x=e(11),_=e(14),w={sphere:x.a,point:O,lineStart:T,lineEnd:S,polygonStart:function(){w.lineStart=k,w.lineEnd=A},polygonEnd:function(){w.lineStart=T,w.lineEnd=S}};function O(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n);j(e*Object(m.g)(t),e*Object(m.t)(t),Object(m.t)(n))}function j(t,n,e){o+=(t-o)/++r,a+=(n-a)/r,u+=(e-u)/r}function T(){w.point=C}function C(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n);b=e*Object(m.g)(t),g=e*Object(m.t)(t),y=Object(m.t)(n),w.point=M,j(b,g,y)}function M(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n),r=e*Object(m.g)(t),o=e*Object(m.t)(t),a=Object(m.t)(n),u=Object(m.e)(Object(m.u)((u=g*a-y*o)*u+(u=y*r-b*a)*u+(u=b*o-g*r)*u),b*r+g*o+y*a);i+=u,c+=u*(b+(b=r)),s+=u*(g+(g=o)),l+=u*(y+(y=a)),j(b,g,y)}function S(){w.point=O}function k(){w.point=N}function A(){E(p,v),w.point=O}function N(t,n){p=t,v=n,t*=m.r,n*=m.r,w.point=E;var e=Object(m.g)(n);b=e*Object(m.g)(t),g=e*Object(m.t)(t),y=Object(m.t)(n),j(b,g,y)}function E(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n),r=e*Object(m.g)(t),o=e*Object(m.t)(t),a=Object(m.t)(n),u=g*a-y*o,p=y*r-b*a,v=b*o-g*r,x=Object(m.u)(u*u+p*p+v*v),_=Object(m.c)(x),w=x&&-_/x;f+=w*u,h+=w*p,d+=w*v,i+=_,c+=_*(b+(b=r)),s+=_*(g+(g=o)),l+=_*(y+(y=a)),j(b,g,y)}n.a=function(t){r=i=o=a=u=c=s=l=f=h=d=0,Object(_.a)(t,w);var n=f,e=h,p=d,v=n*n+e*e+p*p;return v0)){if(a/=f,f<0){if(a0){if(a>l)return;a>s&&(s=a)}if(a=i-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>s&&(s=a)}else if(f>0){if(a0)){if(a/=h,h<0){if(a0){if(a>l)return;a>s&&(s=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>s&&(s=a)}else if(h>0){if(a0&&(t[0]=u+s*f,t[1]=c+s*h),l<1&&(n[0]=u+l*f,n[1]=c+l*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),o=e(0),a={Feature:function(t,n){return c(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(s/g)*g,c,g).filter(function(t){return Object(i.a)(t%m)>i.i}).map(d))}return _.lines=function(){return w().map(function(t){return{type:"LineString",coordinates:t}})},_.outline=function(){return{type:"Polygon",coordinates:[p(u).concat(v(l).slice(1),p(e).reverse().slice(1),v(f).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(u=+t[0][0],e=+t[1][0],f=+t[0][1],l=+t[1][1],u>e&&(t=u,u=e,e=t),f>l&&(t=f,f=l,l=t),_.precision(x)):[[u,f],[e,l]]},_.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],c=+e[1][1],n>t&&(e=n,n=t,t=e),s>c&&(e=s,s=c,c=e),_.precision(x)):[[n,s],[t,c]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(y=+t[0],m=+t[1],_):[y,m]},_.stepMinor=function(t){return arguments.length?(b=+t[0],g=+t[1],_):[b,g]},_.precision=function(r){return arguments.length?(x=+r,h=o(s,c,90),d=a(n,t,x),p=o(f,l,90),v=a(u,e,x),_):x},_.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,o=n[0]*r.r,a=n[1]*r.r,u=Object(r.g)(i),c=Object(r.t)(i),s=Object(r.g)(a),l=Object(r.t)(a),f=u*Object(r.g)(e),h=u*Object(r.t)(e),d=s*Object(r.g)(o),p=s*Object(r.t)(o),v=2*Object(r.c)(Object(r.u)(Object(r.m)(a-i)+u*s*Object(r.m)(o-e))),b=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/b,e=Object(r.t)(v-t)/b,i=e*f+n*d,o=e*h+n*p,a=e*c+n*l;return[Object(r.e)(o,i)*r.h,Object(r.e)(a,Object(r.u)(i*i+o*o))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),o=e(335),a=e(139),u=e(336),c=e(337),s=e(338),l=e(339);n.a=function(t,n){var e,f,h=4.5;function d(t){return t&&("function"==typeof h&&f.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(f))),f.result()}return d.area=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.measure=function(t){return Object(i.a)(t,e(s.a)),s.a.result()},d.bounds=function(t){return Object(i.a)(t,e(a.a)),a.a.result()},d.centroid=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(f=null==t?(n=null,new l.a):new c.a(n=t),"function"!=typeof h&&f.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(f.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,o,a,u=e(19),c=e(0),s=e(11),l=Object(u.a)(),f=Object(u.a)(),h={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.lineStart=d,h.lineEnd=b},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=s.a,l.add(Object(c.a)(f)),f.reset()},result:function(){var t=l/2;return l.reset(),t}};function d(){h.point=p}function p(t,n){h.point=v,r=o=t,i=a=n}function v(t,n){f.add(a*t-o*n),o=t,a=n}function b(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,o,a,u=e(0),c=0,s=0,l=0,f=0,h=0,d=0,p=0,v=0,b=0,g={point:y,lineStart:m,lineEnd:w,polygonStart:function(){g.lineStart=O,g.lineEnd=j},polygonEnd:function(){g.point=y,g.lineStart=m,g.lineEnd=w},result:function(){var t=b?[p/b,v/b]:d?[f/d,h/d]:l?[c/l,s/l]:[NaN,NaN];return c=s=l=f=h=d=p=v=b=0,t}};function y(t,n){c+=t,s+=n,++l}function m(){g.point=x}function x(t,n){g.point=_,y(o=t,a=n)}function _(t,n){var e=t-o,r=n-a,i=Object(u.u)(e*e+r*r);f+=i*(o+t)/2,h+=i*(a+n)/2,d+=i,y(o=t,a=n)}function w(){g.point=y}function O(){g.point=T}function j(){C(r,i)}function T(t,n){g.point=C,y(r=o=t,i=a=n)}function C(t,n){var e=t-o,r=n-a,i=Object(u.u)(e*e+r*r);f+=i*(o+t)/2,h+=i*(a+n)/2,d+=i,p+=(i=a*t-o*n)*(o+t),v+=i*(a+n),b+=3*i,y(o=t,a=n)}n.a=g},function(t,n,e){"use strict";n.a=o;var r=e(0),i=e(11);function o(t){this._context=t}o.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,o,a,u,c=e(19),s=e(0),l=e(11),f=Object(c.a)(),h={point:l.a,lineStart:function(){h.point=d},lineEnd:function(){r&&p(i,o),h.point=l.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+f;return f.reset(),t}};function d(t,n){h.point=p,i=a=t,o=u=n}function p(t,n){a-=t,u-=n,f.add(Object(s.u)(a*a+u*u)),a=t,u=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),o=e(41),a=16,u=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,o,a,c,s,l,f,h,d,p,v,b,g,y){var m=f-r,x=h-o,_=m*m+x*x;if(_>4*n&&g--){var w=c+p,O=s+v,j=l+b,T=Object(i.u)(w*w+O*O+j*j),C=Object(i.c)(j/=T),M=Object(i.a)(Object(i.a)(j)-1)n||Object(i.a)((m*N+x*E)/_-.5)>.3||c*p+s*v+l*b=.12&&i<.234&&r>=-.425&&r<-.214?f:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:l).invert(t)},p.stream=function(e){return t&&n===e?t:(r=[l.stream(n=e),f.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=u/Object(r.p)(a(n),i);return[e*Object(r.t)(i*t),u-e*Object(r.g)(i*t)]}return c.invert=function(t,n){var e=u-n,o=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(u/o,1/i))-r.l]},c}n.b=function(){return Object(i.a)(u).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),o=e(141);function a(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),a=e/i+t;if(Object(r.a)(i)i.i&&--o>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(o).scale(175.295)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),o=e(8);function a(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}a.invert=Object(i.a)(r.c),n.a=function(){return Object(o.a)(a).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),o=e(8);function a(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}a.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(o.a)(a).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=o;var r=e(0),i=e(76);function o(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}o.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(o),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var o=e(366);e.d(n,"c",function(){return o.a});var a=e(142);e.d(n,"e",function(){return a.a});var u=e(143);e.d(n,"d",function(){return u.a});var c=e(368);e.d(n,"f",function(){return c.a});var s=e(369);e.d(n,"g",function(){return s.a});var l=e(370);e.d(n,"h",function(){return l.a});var f=e(371);e.d(n,"i",function(){return f.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var p=e(42);e.d(n,"m",function(){return p.a});var v=e(373);e.d(n,"n",function(){return v.a});var b=e(79);e.d(n,"o",function(){return b.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function o(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,a=!1;function u(r){var u,c=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(o,0)}(e)):(n.x=u?c+=t(n,u):0,n.y=0,u=n)});var s=function(t){for(var n;n=t.children;)t=n[0];return t}(r),l=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),f=s.x-t(s,l)/2,h=l.x+t(l,s)/2;return r.eachAfter(a?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-f)/(h-f)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return u.separation=function(n){return arguments.length?(t=n,u):t},u.size=function(t){return arguments.length?(a=!1,n=+t[0],e=+t[1],u):a?null:[n,e]},u.nodeSize=function(t){return arguments.length?(a=!0,n=+t[0],e=+t[1],u):a?[n,e]:null},u}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,o=this,a=[o];do{for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),o=e(144);function a(t){return Math.sqrt(t.value)}function u(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function c(t,n){return function(e){if(i=e.children){var i,o,a,u=i.length,c=t(e)*n||0;if(c)for(o=0;o0)throw new Error("cycle");return s}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function o(t){var n=t.children;return n?n[0]:t.t}function a(t){var n=t.children;return n?n[n.length-1]:t.t}function u(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function c(t,n,e){return t.a.parent===n.parent?t.a:e}function s(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}s.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function l(i){var o=function(t){for(var n,e,r,i,o,a=new s(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new s(r[i],i)),e.parent=n;return(a.parent=new s(null,0)).children=[a],a}(i);if(o.eachAfter(f),o.parent.m=-o.z,o.eachBefore(h),r)i.eachBefore(d);else{var a=i,u=i,c=i;i.eachBefore(function(t){t.xu.x&&(u=t),t.depth>c.depth&&(c=t)});var l=a===u?1:t(a,u)/2,p=l-a.x,v=n/(u.x+l+p),b=e/(c.depth||1);i.eachBefore(function(t){t.x=(t.x+p)*v,t.y=t.depth*b})}return i}function f(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var s=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-s):n.z=s}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,s=n,l=n,f=e,h=s.parent.children[0],d=s.m,p=l.m,v=f.m,b=h.m;f=a(f),s=o(s),f&&s;)h=o(h),(l=a(l)).a=n,(i=f.z+v-s.z-d+t(f._,s._))>0&&(u(c(f,n,r),n,i),d+=i,p+=i),v+=f.m,d+=s.m,b+=h.m,p+=l.m;f&&!a(l)&&(l.t=f,l.m+=v-p),s&&!o(h)&&(h.t=s,h.m+=d-b,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return l.separation=function(n){return arguments.length?(t=n,l):t},l.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],l):r?null:[n,e]},l.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],l):r?[n,e]:null},l}},function(t,n,e){"use strict";var r=e(145),i=e(79),o=e(78),a=e(144);n.a=function(){var t=i.a,n=!1,e=1,u=1,c=[0],s=a.a,l=a.a,f=a.a,h=a.a,d=a.a;function p(t){return t.x0=t.y0=0,t.x1=e,t.y1=u,t.eachBefore(v),c=[0],n&&t.eachBefore(r.a),t}function v(n){var e=c[n.depth],r=n.x0+e,i=n.y0+e,o=n.x1-e,a=n.y1-e;o=e-1){var l=u[n];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=c)}var f=s[n],h=r/2+f,d=n+1,p=e-1;for(;d>>1;s[v]c-o){var y=(i*g+a*b)/r;t(n,d,b,i,o,y,c),t(d,e,g,y,o,a,c)}else{var m=(o*g+c*b)/r;t(n,d,b,i,o,a,m),t(d,e,g,i,m,a,c)}}(0,c,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,o,a){(1&t.depth?i.a:r.a)(t,n,e,o,a)}},function(t,n,e){"use strict";var r=e(26),i=e(42),o=e(79);n.a=function t(n){function e(t,e,a,u,c){if((s=t._squarify)&&s.ratio===n)for(var s,l,f,h,d,p=-1,v=s.length,b=t.value;++p1?n:1)},e}(o.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var o=e(378);e.d(n,"d",function(){return o.a});var a=e(380);e.d(n,"c",function(){return a.a});var u=e(381);e.d(n,"e",function(){return u.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[o])<=0;)--i;e[i++]=o}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),a=new Array(e);for(n=0;n=0;--n)f.push(t[r[u[n]][2]]);for(n=+s;nu!=s>u&&a<(c-e)*(u-r)/(s-r)+e&&(l=!l),c=e,s=r;return l}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],c=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,s(t)}function s(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function l(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new o(t)}o.prototype=l.prototype={constructor:o,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),a(this),this},abort:function(){return null==this._error&&c(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,e){t.apply(null,[n].concat(e))},s(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,s(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var o=e(387);e.d(n,"d",function(){return o.a});var a=e(388);e.d(n,"a",function(){return a.a});var u=e(147);e.d(n,"c",function(){return u.a});var c=e(389);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var o=e(392);e.d(n,"c",function(){return o.a});var a=e(393);e.d(n,"e",function(){return a.a});var u=e(394);e.d(n,"g",function(){return u.a});var c=e(395);e.d(n,"a",function(){return c.a});var s=e(396);e.d(n,"f",function(){return s.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var o=e(27);e.d(n,"l",function(){return o.a});var a=e(401);e.d(n,"m",function(){return a.a});var u=e(149);e.d(n,"n",function(){return u.a}),e.d(n,"k",function(){return u.b});var c=e(402);e.d(n,"p",function(){return c.a}),e.d(n,"t",function(){return c.b});var s=e(403);e.d(n,"q",function(){return s.a});var l=e(404);e.d(n,"r",function(){return l.a});var f=e(405);e.d(n,"u",function(){return f.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var p=e(422);e.d(n,"x",function(){return p.a});var v=e(423);e.d(n,"z",function(){return v.a});var b=e(424);e.d(n,"A",function(){return b.a});var g=e(425);e.d(n,"y",function(){return g.a});var y=e(426);e.d(n,"b",function(){return y.a});var m=e(427);e.d(n,"f",function(){return m.b}),e.d(n,"h",function(){return m.c}),e.d(n,"a",function(){return m.a});var x=e(428);e.d(n,"g",function(){return x.a}),e.d(n,"d",function(){return x.c}),e.d(n,"c",function(){return x.b}),e.d(n,"e",function(){return x.d});var _=e(429);e.d(n,"s",function(){return _.a})},function(t,n,e){"use strict";n.a=o,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(o().paddingInner(1))};var r=e(3),i=e(149);function o(){var t,n,e=Object(i.a)().unknown(void 0),a=e.domain,u=e.range,c=[0,1],s=!1,l=0,f=0,h=.5;function d(){var e=a().length,i=c[1]0){for(;hu)break;b.push(f)}}else for(;h=1;--s)if(!((f=c*s)u)break;b.push(f)}}else b=Object(r.B)(h,d,Math.min(d-h,v)).map(p);return n?b.reverse():b};n.tickFormat=function(t,e){if(null==e&&(e=10===o?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,o*t/n.ticks().length);return function(t){var n=t/p(Math.round(l(t)));return n*o0?o[r-1]:n[0],r=a?[u[a-1],e]:[u[r-1],u[r]]};s.copy=function(){return t().domain([n,e]).range(c)};return Object(o.b)(s)};var r=e(3),i=e(15),o=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],o=1;function a(t){if(t<=t)return e[Object(r.b)(n,t,0,o)]}a.domain=function(t){return arguments.length?(n=i.b.call(t),o=Math.min(n.length,e.length-1),a):n.slice()};a.range=function(t){return arguments.length?(e=i.b.call(t),o=Math.min(n.length,e.length-1),a):e.slice()};a.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};a.copy=function(){return t().domain(n).range(e)};return a};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.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.getUTCSeconds()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return u}),e.d(n,"k",function(){return c}),e.d(n,"m",function(){return s}),e.d(n,"i",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return p}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return b}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return m});var r=e(2),i=e(9);function o(t){return Object(r.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())*i.c)/i.e})}var a=o(0),u=o(1),c=o(2),s=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=u.range,v=c.range,b=s.range,g=l.range,y=f.range,m=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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 o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return u}),e.d(n,"k",function(){return c}),e.d(n,"m",function(){return s}),e.d(n,"i",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return p}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return b}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return m});var r=e(2),i=e(9);function o(t){return Object(r.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)/i.e})}var a=o(0),u=o(1),c=o(2),s=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=u.range,v=c.range,b=s.range,g=l.range,y=f.range,m=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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 o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var o=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var o=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=o},function(t,n,e){"use strict";var r=e(152),i=e(82),o=e(45);n.a=function(){return Object(r.a)(o._7,o.R,o._5,o.F,o.J,o.N,o.V,o.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"a",function(){return a});var r=e(7),i=e(5),o=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),a=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),u=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return u.h=360*t-100,u.s=1.5-1.5*n,u.l=.8-.9*n,u+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"b",function(){return a}),e.d(n,"d",function(){return u});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var o=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),a=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,o=!1;function a(t){var r=(t-e)/(i-e);return n(o?Math.max(0,Math.min(1,r)):r)}a.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],a):[e,i]};a.clamp=function(t){return arguments.length?(o=!!t,a):o};a.interpolator=function(t){return arguments.length?(n=t,a):n};a.copy=function(){return t(n).domain([e,i]).clamp(o)};return Object(r.b)(a)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(29);function a(t){return t.innerRadius}function u(t){return t.outerRadius}function c(t){return t.startAngle}function s(t){return t.endAngle}function l(t){return t&&t.padAngle}function f(t,n,e,r,i,a,u){var c=t-e,s=n-r,l=(u?a:-a)/Object(o.l)(c*c+s*s),f=l*s,h=-l*c,d=t+f,p=n+h,v=e+f,b=r+h,g=(d+v)/2,y=(p+b)/2,m=v-d,x=b-p,_=m*m+x*x,w=i-a,O=d*b-v*p,j=(x<0?-1:1)*Object(o.l)(Object(o.h)(0,w*w*_-O*O)),T=(O*x-m*j)/_,C=(-O*m-x*j)/_,M=(O*x+m*j)/_,S=(-O*m+x*j)/_,k=T-g,A=C-y,N=M-g,E=S-y;return k*k+A*A>N*N+E*E&&(T=M,C=S),{cx:T,cy:C,x01:-f,y01:-h,x11:T*(i/w-1),y11:C*(i/w-1)}}n.a=function(){var t=a,n=u,e=Object(i.a)(0),h=null,d=c,p=s,v=l,b=null;function g(){var i,a,u=+t.apply(this,arguments),c=+n.apply(this,arguments),s=d.apply(this,arguments)-o.g,l=p.apply(this,arguments)-o.g,g=Object(o.a)(l-s),y=l>s;if(b||(b=i=Object(r.a)()),co.f)if(g>o.m-o.f)b.moveTo(c*Object(o.e)(s),c*Object(o.k)(s)),b.arc(0,0,c,s,l,!y),u>o.f&&(b.moveTo(u*Object(o.e)(l),u*Object(o.k)(l)),b.arc(0,0,u,l,s,y));else{var m,x,_=s,w=l,O=s,j=l,T=g,C=g,M=v.apply(this,arguments)/2,S=M>o.f&&(h?+h.apply(this,arguments):Object(o.l)(u*u+c*c)),k=Object(o.i)(Object(o.a)(c-u)/2,+e.apply(this,arguments)),A=k,N=k;if(S>o.f){var E=Object(o.c)(S/u*Object(o.k)(M)),D=Object(o.c)(S/c*Object(o.k)(M));(T-=2*E)>o.f?(O+=E*=y?1:-1,j-=E):(T=0,O=j=(s+l)/2),(C-=2*D)>o.f?(_+=D*=y?1:-1,w-=D):(C=0,_=w=(s+l)/2)}var L=c*Object(o.e)(_),q=c*Object(o.k)(_),R=u*Object(o.e)(j),P=u*Object(o.k)(j);if(k>o.f){var H=c*Object(o.e)(w),F=c*Object(o.k)(w),z=u*Object(o.e)(O),I=u*Object(o.k)(O);if(go.f?function(t,n,e,r,i,o,a,u){var c=e-t,s=r-n,l=a-i,f=u-o,h=(l*(n-o)-f*(t-i))/(f*c-l*s);return[t+h*c,n+h*s]}(L,q,z,I,H,F,R,P):[R,P],U=L-$[0],B=q-$[1],W=H-$[0],Y=F-$[1],V=1/Object(o.k)(Object(o.b)((U*W+B*Y)/(Object(o.l)(U*U+B*B)*Object(o.l)(W*W+Y*Y)))/2),X=Object(o.l)($[0]*$[0]+$[1]*$[1]);A=Object(o.i)(k,(u-X)/(V-1)),N=Object(o.i)(k,(c-X)/(V+1))}}C>o.f?N>o.f?(m=f(z,I,L,q,c,N,y),x=f(H,F,R,P,c,N,y),b.moveTo(m.cx+m.x01,m.cy+m.y01),No.f&&T>o.f?A>o.f?(m=f(R,P,H,F,u,-A,y),x=f(L,q,z,I,u,-A,y),b.lineTo(m.cx+m.x01,m.cy+m.y01),A0&&(p+=h);for(null!=n?v.sort(function(t,e){return n(b[t],b[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,l=p?(y-d*x)/p:0;i0?h*l:0)+x,b[o]={data:r[o],index:i,value:h,startAngle:g,endAngle:f,padAngle:m};return b}return l.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),l):t},l.sortValues=function(t){return arguments.length?(n=t,e=null,l):n},l.sort=function(t){return arguments.length?(e=t,n=null,l):e},l.startAngle=function(t){return arguments.length?(u="function"==typeof t?t:Object(r.a)(+t),l):u},l.endAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),l):c},l.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Object(r.a)(+t),l):s},l}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),o=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,a=t.lineX1,u=t.lineY0,c=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(o.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(o.b)(a())},delete t.lineX1,t.lineInnerRadius=function(){return Object(o.b)(u())},delete t.lineY0,t.lineOuterRadius=function(){return Object(o.b)(c())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return l(f)},n.c=function(){return l(h)},n.b=function(){var t=l(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),o=e(16),a=e(85),u=e(158);function c(t){return t.source}function s(t){return t.target}function l(t){var n=c,e=s,u=a.a,l=a.b,f=null;function h(){var o,a=i.a.call(arguments),c=n.apply(this,a),s=e.apply(this,a);if(f||(f=o=Object(r.a)()),t(f,+u.apply(this,(a[0]=c,a)),+l.apply(this,a),+u.apply(this,(a[0]=s,a)),+l.apply(this,a)),o)return f=null,o+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(u="function"==typeof t?t:Object(o.a)(+t),h):u},h.y=function(t){return arguments.length?(l="function"==typeof t?t:Object(o.a)(+t),h):l},h.context=function(t){return arguments.length?(f=null==t?null:t,h):f},h}function f(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var o=Object(u.a)(n,e),a=Object(u.a)(n,e=(e+i)/2),c=Object(u.a)(r,e),s=Object(u.a)(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],c[0],c[1],s[0],s[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),o=e(161),a=e(162),u=e(163),c=e(164),s=e(165),l=e(166),f=e(16),h=[i.a,o.a,a.a,c.a,u.a,s.a,l.a];n.a=function(){var t=Object(f.a)(i.a),n=Object(f.a)(64),e=null;function o(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return o.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(f.a)(n),o):t},o.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(f.a)(+t),o):n},o.context=function(t){return arguments.length?(e=null==t?null:t,o):e},o}},function(t,n,e){"use strict";var r=e(47),i=e(48);function o(t){this._context=t}o.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new o(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u));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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),o=e(86);function a(t,n){this._context=t,this._alpha=n}a.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(o.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 e(t){return n?new a(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function o(t,n){this._context=t,this._alpha=n}o.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new o(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,o=n-t._x1,a=(t._y1-t._y0)/(i||o<0&&-0),u=(e-t._y1)/(o||i<0&&-0),c=(a*o+u*i)/(i+o);return(r(a)+r(u))*Math.min(Math.abs(a),Math.abs(u),.5*Math.abs(c))||0}function o(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function a(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function u(t){this._context=t}function c(t){this._context=new s(t)}function s(t){this._context=t}n.a=function(t){return new u(t)},n.b=function(t){return new c(t)},u.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,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+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,o(this,e=i(this,t,n)),e);break;default:a(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(c.prototype=Object.create(u.prototype)).point=function(t,n){u.prototype.point.call(this,n,t)},s.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),o=e(30),a=e(31);function u(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=a.a,e=o.a,c=u;function s(r){var i,o,a=t.apply(this,arguments),u=r.length,s=a.length,l=new Array(s);for(i=0;i0){for(var e,i,o,a=0,u=t[0].length;a1)for(var e,r,i,o,a,u,c=0,s=t[n[0]].length;c=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):r[0]=o}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,o=t[n[0]],a=o.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,o,a=0,u=1;uu.f)p=p.L;else{if(!((c=l-h(p,d))>u.f)){r>-u.f?(n=p.P,e=p):c>-u.f?(n=p,e=p.N):n=e=p;break}if(!p.R){n=p;break}p=p.R}Object(i.c)(t);var v=s(t);if(u.a.insert(n,v),!n&&!e)return;if(n===e)return Object(o.b)(n),e=s(n.site),u.a.insert(v,e),v.edge=e.edge=Object(a.c)(n.site,v.site),Object(o.a)(n),void Object(o.a)(e);if(!e)return void(v.edge=Object(a.c)(n.site,v.site));Object(o.b)(n),Object(o.b)(e);var b=n.site,g=b[0],y=b[1],m=t[0]-g,x=t[1]-y,_=e.site,w=_[0]-g,O=_[1]-y,j=2*(m*O-x*w),T=m*m+x*x,C=w*w+O*O,M=[(O*T-x*C)/j+g,(m*C-w*T)/j+y];Object(a.d)(e.edge,b,_,M),v.edge=Object(a.c)(b,t,null,M),e.edge=Object(a.c)(t,_,null,M),Object(o.a)(n),Object(o.a)(e)};var r=e(88),i=e(169),o=e(170),a=e(89),u=e(32),c=[];function s(t){var n=c.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function l(t){Object(o.b)(t),u.a.remove(t),c.push(t),Object(r.a)(t)}function f(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-1/0;var u=(e=a.site)[0],c=e[1],s=c-n;if(!s)return u;var l=u-r,f=1/o-1/s,h=l/s;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*s)-c+s/2+i-o/2)))/f+r:(r+u)/2}function h(t,n){var e=t.N;if(e)return f(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),o=e(5),a=e(1),u=e(62),c=e(461),s=e(462),l=e(171),f=e(463);function h(){return!a.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function p(){return this.__zoom||l.c}function v(){return-a.e.deltaY*(a.e.deltaMode?120:1)/500}function b(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}n.a=function(){var t,n,e=h,y=d,m=g,x=v,_=b,w=[0,1/0],O=[[-1/0,-1/0],[1/0,1/0]],j=250,T=o.v,C=[],M=Object(r.a)("start","zoom","end"),S=500,k=150,A=0;function N(t){t.property("__zoom",p).on("wheel.zoom",H).on("mousedown.zoom",F).on("dblclick.zoom",z).filter(_).on("touchstart.zoom",I).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",U).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,n){return(n=Math.max(w[0],Math.min(w[1],n)))===t.k?t:new l.a(n,t.x,t.y)}function D(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new l.a(t.k,r,i)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=y.apply(this,t),o=e||L(i),a=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),u=this.__zoom,c="function"==typeof n?n.apply(this,t):n,s=T(u.invert(o).concat(a/u.k),c.invert(o).concat(a/c.k));return function(t){if(1===t)t=c;else{var n=s(t),e=a/n[2];t=new l.a(e,o[0]-n[0]*e,o[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=C.length;rA}t.zoom("mouse",m(D(t.that.__zoom,t.mouse[0]=Object(a.h)(t.that),t.mouse[1]),t.extent,O))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(a.e.view,t.moved),Object(f.a)(),t.end()},!0),o=Object(a.h)(this),c=a.e.clientX,s=a.e.clientY;Object(i.b)(a.e.view),Object(f.b)(),t.mouse=[o,this.__zoom.invert(o)],Object(u.b)(this),t.start()}}function z(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(a.h)(this),r=t.invert(n),i=t.k*(a.e.shiftKey?.5:2),o=m(D(E(t,i),n,r),y.apply(this,arguments),O);Object(f.a)(),j>0?Object(a.k)(this).transition().duration(j).call(q,o,n):Object(a.k)(this).call(N.transform,o)}}function I(){if(e.apply(this,arguments)){var n,r,i,o,c=R(this,arguments),s=a.e.changedTouches,l=s.length;for(Object(f.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},o=function(t,n,e){var r=function(n,e,r,i,o){return!(!t.addError||!t.clearErrors)&&(ro?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===o?"exactly":"no more than")+" "+o+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,o=i.pivots,a=i.dimensions,u=i.measure_like;return r("pivot-req","Pivot",o.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",a.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",u.length,e.min_measures,e.max_measures)}},,function(t,n,e){var r; +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.subtotal=n():t.subtotal=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=484)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return o}),e.d(n,"l",function(){return u}),e.d(n,"q",function(){return a}),e.d(n,"w",function(){return c}),e.d(n,"h",function(){return s}),e.d(n,"r",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return p}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return b}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return m}),e.d(n,"s",function(){return x}),e.d(n,"u",function(){return _}),e.d(n,"v",function(){return w}),n.b=function(t){return t>1?0:t<-1?o:Math.acos(t)},n.c=function(t){return t>1?u:t<-1?-u:Math.asin(t)},n.m=function(t){return(t=m(t/2))*t};var r=1e-6,i=1e-12,o=Math.PI,u=o/2,a=o/4,c=2*o,s=180/o,l=o/180,f=Math.abs,h=Math.atan,d=Math.atan2,p=Math.cos,v=Math.ceil,b=Math.exp,g=(Math.floor,Math.log),y=Math.pow,m=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,w=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var o=e(228);e.d(n,"f",function(){return o.a});var u=e(104);e.d(n,"g",function(){return u.a});var a=e(229);e.d(n,"h",function(){return a.a});var c=e(52);e.d(n,"i",function(){return c.a});var s=e(53);e.d(n,"j",function(){return s.a});var l=e(34);e.d(n,"a",function(){return l.a});var f=e(102);e.d(n,"k",function(){return f.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var p=e(54);e.d(n,"n",function(){return p.a});var v=e(103);e.d(n,"o",function(){return v.a});var b=e(107);e.d(n,"p",function(){return b.b});var g=e(231);e.d(n,"q",function(){return g.a});var y=e(232);e.d(n,"r",function(){return y.a});var m=e(55);e.d(n,"s",function(){return m.a});var x=e(56);e.d(n,"e",function(){return x.c}),e.d(n,"d",function(){return x.a})},function(t,n,e){"use strict";n.a=function t(n,e,o,u){function a(t){return n(t=new Date(+t)),t}a.floor=a;a.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};a.round=function(t){var n=a(t),e=a.ceil(t);return t-n0))return u;do{u.push(o=new Date(+t)),e(t,i),n(t)}while(o=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};o&&(a.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(o(r,i))},a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(u?function(n){return u(n)%t==0}:function(n){return a.count(0,n)%t==0}):a:null});return a};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var o=e(91);e.d(n,"e",function(){return o.a});var u=e(175);e.d(n,"f",function(){return u.a});var a=e(176);e.d(n,"g",function(){return a.a});var c=e(93);e.d(n,"h",function(){return c.a});var s=e(95);e.d(n,"i",function(){return s.a});var l=e(177);e.d(n,"j",function(){return l.a});var f=e(180);e.d(n,"w",function(){return f.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var p=e(182);e.d(n,"k",function(){return p.a});var v=e(183);e.d(n,"l",function(){return v.a});var b=e(184);e.d(n,"m",function(){return b.a});var g=e(185);e.d(n,"n",function(){return g.a});var y=e(100);e.d(n,"o",function(){return y.a});var m=e(92);e.d(n,"p",function(){return m.a});var x=e(186);e.d(n,"q",function(){return x.a});var _=e(50);e.d(n,"r",function(){return _.a});var w=e(97);e.d(n,"s",function(){return w.a});var O=e(187);e.d(n,"t",function(){return O.a});var j=e(188);e.d(n,"u",function(){return j.a});var T=e(189);e.d(n,"v",function(){return T.a});var C=e(98);e.d(n,"B",function(){return C.a}),e.d(n,"z",function(){return C.b}),e.d(n,"A",function(){return C.c});var M=e(101);e.d(n,"C",function(){return M.a});var S=e(94);e.d(n,"D",function(){return S.a});var k=e(190);e.d(n,"E",function(){return k.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return D}),n.a=L;var r=e(200),i=e(201),o=e(202),u=e(203),a=e(105),c=e(205),s=e(206),l=e(207),f=e(208),h=e(209),d=e(210),p=e(211),v=e(212),b=e(213),g=e(214),y=e(215),m=e(107),x=e(216),_=e(217),w=e(218),O=e(219),j=e(220),T=e(221),C=e(222),M=e(223),S=e(224),k=e(225),A=e(226),N=e(56),E=e(227),D=[null];function L(t,n){this._groups=t,this._parents=n}function q(){return new L([[document.documentElement]],D)}L.prototype=q.prototype={constructor:L,select:r.a,selectAll:i.a,filter:o.a,data:u.a,enter:a.b,exit:c.a,merge:s.a,order:l.a,sort:f.a,call:h.a,nodes:d.a,node:p.a,size:v.a,empty:b.a,each:g.a,attr:y.a,style:m.a,property:x.a,classed:_.a,text:w.a,html:O.a,raise:j.a,lower:T.a,append:C.a,insert:M.a,remove:S.a,clone:k.a,datum:A.a,on:N.b,dispatch:E.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var o=e(61);e.d(n,"c",function(){return o.b});var u=e(112);e.d(n,"d",function(){return u.a});var a=e(115);e.d(n,"g",function(){return a.a});var c=e(35);e.d(n,"m",function(){return c.a});var s=e(116);e.d(n,"n",function(){return s.a});var l=e(237);e.d(n,"r",function(){return l.a});var f=e(117);e.d(n,"s",function(){return f.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var p=e(111);e.d(n,"o",function(){return p.a}),e.d(n,"p",function(){return p.b}),e.d(n,"q",function(){return p.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var b=e(243);e.d(n,"l",function(){return b.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var y=e(245);e.d(n,"e",function(){return y.b}),e.d(n,"f",function(){return y.a});var m=e(246);e.d(n,"w",function(){return m.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return c}),e.d(n,"d",function(){return s}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=p(t,n);if(e.state>a)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=p(t,n);if(e.state>s)throw new Error("too late; already started");return e},n.f=p;var r=e(12),i=e(36),o=Object(r.a)("start","end","interrupt"),u=[],a=0,c=1,s=2,l=3,f=4,h=5,d=6;function p(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,p,v){var b=t.__transition;if(b){if(e in b)return}else t.__transition={};!function(t,n,e){var r,o=t.__transition;function u(h){var v,b,g,y;if(e.state!==c)return p();for(v in o)if((y=o[v]).name===e.name){if(y.state===l)return Object(i.c)(u);y.state===f?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete o[v]):+v2?t[2]%360*c.r:0,z()):[M*c.h,S*c.h,k*c.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(F,L=t*t),H()):Object(c.u)(L)},R.fitExtent=function(t,n){return Object(f.a)(R,t,n)},R.fitSize=function(t,n){return Object(f.c)(R,t,n)},R.fitWidth=function(t,n){return Object(f.d)(R,t,n)},R.fitHeight=function(t,n){return Object(f.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&P,z()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return o}),e.d(n,"a",function(){return u}),e.d(n,"e",function(){return a});var r=1e3,i=6e4,o=36e5,u=864e5,a=6048e5},function(t,n,e){"use strict";n.a=w,n.b=O,n.c=function(){return++_};var r=e(1),i=e(252),o=e(253),u=e(254),a=e(255),c=e(256),s=e(257),l=e(258),f=e(259),h=e(260),d=e(261),p=e(262),v=e(263),b=e(264),g=e(265),y=e(266),m=e(267),x=e(37),_=0;function w(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function O(t){return Object(r.m)().transition(t)}var j=r.m.prototype;w.prototype=O.prototype={constructor:w,select:d.a,selectAll:p.a,filter:s.a,merge:l.a,selection:v.a,transition:m.a,call:j.call,nodes:j.nodes,node:j.node,size:j.size,empty:j.empty,each:j.each,on:f.a,attr:i.a,attrTween:o.a,style:b.a,styleTween:g.a,text:y.a,remove:h.a,tween:x.a,delay:u.a,duration:a.a,ease:c.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&o.hasOwnProperty(t.type)&&o[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,o=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){o(i,t,this.t),o(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function o(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var o=e(64);e.d(n,"c",function(){return o.a});var u=e(290);e.d(n,"b",function(){return u.a});var a=e(291);e.d(n,"f",function(){return a.a});var c=e(292);e.d(n,"a",function(){return c.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?o:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=o;var r=e(113);function i(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(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]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),o=Object(r.g)(e),u=t(i*o);return[u*o*Object(r.t)(n),u*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),o=t(i),u=Object(r.t)(o),a=Object(r.g)(o);return[Object(r.e)(n*u,i*a),Object(r.c)(i&&e*u/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,s=t.value&&(r-n)/t.value;++a0?(c=Math.floor(c/i)*i,s=Math.ceil(s/i)*i,i=Object(r.z)(c,s,e)):i<0&&(c=Math.ceil(c*i)/i,s=Math.floor(s*i)/i,i=Object(r.z)(c,s,e)),i>0?(o[u]=Math.floor(c/i)*i,o[a]=Math.ceil(s/i)*i,n(o)):i<0&&(o[u]=Math.ceil(c*i)/i,o[a]=Math.floor(s*i)/i,n(o)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return o}),e.d(n,"h",function(){return u}),e.d(n,"i",function(){return a}),e.d(n,"k",function(){return c}),e.d(n,"l",function(){return s}),e.d(n,"f",function(){return l}),e.d(n,"j",function(){return f}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?f:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,o=Math.cos,u=Math.max,a=Math.min,c=Math.sin,s=Math.sqrt,l=1e-12,f=Math.PI,h=f/2,d=2*f},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return o}),e.d(n,"e",function(){return u}),n.d=v;var r,i,o,u,a=e(458),c=e(169),s=e(170),l=e(89),f=e(88),h=1e-6,d=1e-12;function p(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(p).pop();for(u=[],i=new Array(t.length),r=new f.b,o=new f.b;;)if(d=s.c,v&&(!d||v[1]=a)return null;var c=t-i.site[0],s=n-i.site[1],l=c*c+s*s;do{i=o.cells[r=u],u=null,i.halfedges.forEach(function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var c=t-a[0],s=n-a[1],f=c*c+s*s;fi.o?t-i.w:t<-i.o?t+i.w:t,n]}function u(t,n,e){return(t%=i.w)?n||e?Object(r.a)(c(t),s(n,e)):c(t):n||e?s(n,e):o}function a(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function c(t){var n=a(t);return n.invert=a(-t),n}function s(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),o=Object(i.g)(n),u=Object(i.t)(n);function a(t,n){var a=Object(i.g)(n),c=Object(i.g)(t)*a,s=Object(i.t)(t)*a,l=Object(i.t)(n),f=l*e+c*r;return[Object(i.e)(s*o-f*u,c*e-l*r),Object(i.c)(f*o+s*u)]}return a.invert=function(t,n){var a=Object(i.g)(n),c=Object(i.g)(t)*a,s=Object(i.t)(t)*a,l=Object(i.t)(n),f=l*o-s*u;return[Object(i.e)(s*o+l*u,c*e+f*r),Object(i.c)(f*e-c*r)]},a}o.invert=o,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=u(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,l){function f(r,i){return t<=r&&r<=e&&n<=i&&i<=l}function h(r,i,o,u){var a=0,c=0;if(null==r||(a=d(r,o))!==(c=d(i,o))||v(r,i)<0^o>0)do{u.point(0===a||3===a?t:e,a>1?l:n)}while((a=(a+o+4)%4)!==c);else u.point(i[0],i[1])}function d(i,o){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:o>0?3:2}function p(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,b,g,y,m,x,_,w,O,j,T=r,C=Object(i.a)(),M={point:S,lineStart:function(){M.point=k,v&&v.push(b=[]);O=!0,w=!1,x=_=NaN},lineEnd:function(){d&&(k(g,y),m&&w&&C.rejoin(),d.push(C.result()));M.point=S,w&&T.lineEnd()},polygonStart:function(){T=C,d=[],v=[],j=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;el&&(f-i)*(l-o)>(h-o)*(t-i)&&++n:h<=l&&(f-i)*(l-o)<(h-o)*(t-i)&&--n;return n}(),e=j&&n,i=(d=Object(a.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(u.a)(d,p,n,h,r),r.polygonEnd());T=r,d=v=b=null}};function S(t,n){f(t,n)&&T.point(t,n)}function k(r,i){var u=f(r,i);if(v&&b.push([r,i]),O)g=r,y=i,m=u,O=!1,u&&(T.lineStart(),T.point(r,i));else if(u&&w)T.point(r,i);else{var a=[x=Math.max(s,Math.min(c,x)),_=Math.max(s,Math.min(c,_))],h=[r=Math.max(s,Math.min(c,r)),i=Math.max(s,Math.min(c,i))];Object(o.a)(a,h,t,n,e,l)?(w||(T.lineStart(),T.point(a[0],a[1])),T.point(h[0],h[1]),u||T.lineEnd(),j=!1):u&&(T.lineStart(),T.point(r,i),j=!1)}x=r,_=i,w=u}return M}};var r=e(0),i=e(132),o=e(330),u=e(133),a=e(3),c=1e9,s=-c},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(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,e){"use strict";n.a=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,s=t.value&&(i-e)/t.value;++a2?f:l,r=u=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,p)))(+n)}return g.invert=function(t){return(u||(u=e(d,h,s,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=o.a.call(t,a.a),b()):h.slice()},g.range=function(t){return arguments.length?(d=o.b.call(t),b()):d.slice()},g.rangeRound=function(t){return d=o.b.call(t),p=i.r,b()},g.clamp=function(t){return arguments.length?(v=!!t,b()):v},g.interpolate=function(t){return arguments.length?(p=t,b()):p},b()};var r=e(3),i=e(5),o=e(15),u=e(81),a=e(150),c=[0,1];function s(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(u.a)(n)}function l(t,n,e,r){var i=t[0],o=t[1],u=n[0],a=n[1];return o=1)return+e(t[i-1],i-1,t);var i,o=(i-1)*n,u=Math.floor(o),a=+e(t[u],u,t);return a+(+e(t[u+1],u+1,t)-a)*(o-u)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,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,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var o=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=o}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function o(t,n,e){return t=u(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function u(t,n,e){return function(r){var o=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=o}}}function a(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),u=o.length;if(!(arguments.length<2)){for(s=n?c:a,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=f.exec(t))?x(parseInt(n[1],16)):(n=h.exec(t))?new j(n[1],n[2],n[3],1):(n=d.exec(t))?new j(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=p.exec(t))?_(n[1],n[2],n[3],n[4]):(n=v.exec(t))?_(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=b.exec(t))?T(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?T(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?x(y[t]):"transparent"===t?new j(NaN,NaN,NaN,0):null}function x(t){return new j(t>>16&255,t>>8&255,255&t,1)}function _(t,n,e,r){return r<=0&&(t=n=e=NaN),new j(t,n,e,r)}function w(t){return t instanceof i||(t=m(t)),t?new j((t=t.rgb()).r,t.g,t.b,t.opacity):new j}function O(t,n,e,r){return 1===arguments.length?w(t):new j(t,n,e,null==r?1:r)}function j(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function T(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new M(t,n,e,r)}function C(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof M)return new M(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=m(t)),!t)return new M;if(t instanceof M)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),u=Math.max(n,e,r),a=NaN,c=u-o,s=(u+o)/2;return c?(a=n===u?(e-r)/c+6*(e0&&s<1?0:a,new M(a,c,s,t.opacity)}(t):new M(t,n,e,null==r?1:r)}function M(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function S(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,m,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(j,O,Object(r.b)(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new j(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(1===(t=isNaN(t)?1:Math.max(0,Math.min(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+")")}})),Object(r.a)(M,C,Object(r.b)(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new M(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new M(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new j(S(t>=240?t-240:t+120,i,r),S(t,i,r),S(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],u=t[i+1],a=i>0?t[i-1]:2*o-u,c=i=0&&n._call.call(null,t),n=n._next;--o}function m(){l=(s=h.now())+f,o=u=0;try{y()}finally{o=0,function(){var t,n,e=r,o=1/0;for(;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,_(o)}(),l=0}}function x(){var t=h.now(),n=t-s;n>c&&(f-=n,s=t)}function _(t){o||(u&&(u=clearTimeout(u)),t-l>24?(t<1/0&&(u=setTimeout(m,t-h.now()-f)),a&&(a=clearInterval(a))):(a||(s=h.now(),a=setInterval(x,c)),o=1,d(m)))}b.prototype=g.prototype={constructor:b,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function o(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,o=-1,u=t.length;if(null==n)for(;++o=l?d=!0:(c=t.charCodeAt(f++))===u?p=!0:c===a&&(p=!0,t.charCodeAt(f)===u&&++f),t.slice(s+1,n-1).replace(/""/g,'"')}for(;f1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(74),o=e(341);function u(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--o)s.push(r=e.children[o]=new y(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(g)}function v(t){return t.children}function b(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=p.prototype={constructor:y,count:r.a,each:i.a,eachAfter:u.a,eachBefore:o.a,sum:a.a,sort:c.a,path:s.a,ancestors:l.a,descendants:f.a,leaves:h.a,links:d.a,copy:function(){return p(this).eachBefore(b)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return o}),n.c=u;var r=e(26),i=e(42),o=(1+Math.sqrt(5))/2;function u(t,n,e,o,u,a){for(var c,s,l,f,h,d,p,v,b,g,y,m=[],x=n.children,_=0,w=0,O=x.length,j=n.value;_p&&(p=s),y=h*h*g,(v=Math.max(p/y,y/d))>b){h-=s;break}b=v}m.push(c={value:h,dice:l1?n:1)},e}(o)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,o,u,a,c=Object(i.a)("beforesend","progress","load","error"),s=Object(r.c)(),l=new XMLHttpRequest,f=null,h=null,d=0;function p(t){var n,r=l.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(l)||r>=200&&r<300||304===r){if(u)try{n=u.call(e,l)}catch(t){return void c.call("error",e,t)}else n=l;c.call("load",e,n)}else c.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(t)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=l.ontimeout=p:l.onreadystatechange=function(t){l.readyState>3&&p(t)},l.onprogress=function(t){c.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==n?s.remove(t):s.set(t,n+""),e)},mimeType:function(t){return arguments.length?(o=null==t?null:t+"",e):o},responseType:function(t){return arguments.length?(a=t,e):a},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return u=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return l.open(n,t,!0,f,h),null==o||s.has("accept")||s.set("accept",o+",*/*"),l.setRequestHeader&&s.each(function(t,n){l.setRequestHeader(n,t)}),null!=o&&l.overrideMimeType&&l.overrideMimeType(o),null!=a&&(l.responseType=a),d>0&&(l.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),c.call("beforesend",e,l),l.send(null==r?null:r),e},abort:function(){return l.abort(),e},on:function(){var t=c.on.apply(c,arguments);return t===c?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var o=e(154);e.d(n,"a",function(){return o.a});var u=e(420);e.d(n,"b",function(){return u.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return o}),e.d(n,"d",function(){return u}),e.d(n,"e",function(){return a}),n.a=s;var r,i,o,u,a,c=e(153);function s(t){return r=Object(c.a)(t),i=r.format,o=r.parse,u=r.utcFormat,a=r.utcParse,r}s({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(46),u=e(85);n.a=function(){var t=u.a,n=u.b,e=Object(i.a)(!0),a=null,c=o.a,s=null;function l(i){var o,u,l,f=i.length,h=!1;for(null==a&&(s=c(l=Object(r.a)())),o=0;o<=f;++o)!(or.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,o=(o*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>r.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);u=(u*l+t._x1*t._l23_2a-n*t._l12_2a)/f,a=(a*l+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(i,o,u,a,t._x2,t._y2)}function u(t,n){this._context=t,this._alpha=n}u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:o(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 e(t){return n?new u(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(a[0][1]-a[1][1])>r.f)||delete r.e[c]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function o(t,n,e,r,i){var o,u=t[0],a=t[1],c=u[0],s=u[1],l=0,f=1,h=a[0]-c,d=a[1]-s;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o0)){if(o/=d,d<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=i-s,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o0||f<1)||(l>0&&(t[0]=[c+l*h,s+l*d]),f<1&&(t[1]=[c+f*h,s+f*d]),!0)}}}}}function u(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,c=t[0],s=t.left,l=t.right,f=s[0],h=s[1],d=l[0],p=l[1],v=(f+d)/2,b=(h+p)/2;if(p===h){if(v=r)return;if(f>d){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]1)if(f>d){if(c){if(c[1]>=i)return}else c=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(c){if(c[1]=r)return}else c=[n,u*n+a];o=[r,u*r+a]}else{if(c){if(c[0]>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,o=t[0],u=new Array(i<0?0:i);e1)return s/(u-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,o=t.length,u=-1;if(null==n){for(;++u=e)for(r=i=e;++ue&&(r=e),i=e)for(r=i=e;++ue&&(r=e),i=r?a*=10:c>=i?a*=5:c>=o&&(a*=2);return n=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(c>=r?10:c>=i?5:c>=o?2:1)}n.a=function(t,n,e){var r,i,o,a,c=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(i=Math.ceil(n-t+1));++c=e)for(r=e;++oe&&(r=e)}else for(;++o=e)for(r=e;++oe&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(u=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),o=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,o=Object(r.k)(t).on("dragstart.drag",null);n&&(o.on("click.drag",i.a,!0),setTimeout(function(){o.on("click.drag",null)},0));"onselectstart"in e?o.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return c}),e.d(n,"c",function(){return s});var r=e(7),i=e(61),o=e(112),u=e(23);function a(t){return function(n){var e,i,o=n.length,u=new Array(o),a=new Array(o),c=new Array(o);for(e=0;ec&&(a=n.slice(c,a),l[s]?l[s]+=a:l[++s]=a),(e=e[0])===(u=u[0])?l[s]?l[s]+=u:l[++s]=u:(l[++s]=null,f.push({i:s,x:Object(r.a)(e,u)})),c=o.lastIndex;return cr.d&&e.state1?(null==e?h.remove(t):h.set(t,y(e)),n):h.get(t)},find:function(n,e,r){var i,o,u,a,c,s=0,l=t.length;for(null==r?r=1/0:r*=r,s=0;s1?(p.on(t,e),n):p.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),o=e(318),u=e(124),a=e(125),c=e(126),s=e(321),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):s.a,e=t.currency,f=t.decimal,h=t.numerals?Object(o.a)(t.numerals):s.a,d=t.percent||"%";function p(t){var r=(t=Object(u.a)(t)).fill,i=t.align,o=t.sign,s=t.symbol,p=t.zero,v=t.width,b=t.comma,g=t.precision,y=t.type,m="$"===s?e[0]:"#"===s&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===s?e[1]:/[%p]/.test(y)?d:"",_=a.a[y],w=!y||/[defgprs%]/.test(y);function O(t){var e,u,a,s=m,d=x;if("c"===y)d=_(t)+d,t="";else{var O=(t=+t)<0;if(t=_(Math.abs(t),g),O&&0==+t&&(O=!1),s=(O?"("===o?o:"-":"-"===o||"("===o?"":o)+s,d=("s"===y?l[8+c.b/3]:"")+d+(O&&"("===o?")":""),w)for(e=-1,u=t.length;++e(a=t.charCodeAt(e))||a>57){d=(46===a?f+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}b&&!p&&(t=n(t,1/0));var j=s.length+t.length+d.length,T=j>1)+s+t+d+T.slice(j);break;default:t=T+s+t+d}return h(t)}return g=null==g?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),O.toString=function(){return t+""},O}return{format:p,formatPrefix:function(t,n){var e=p(((t=Object(u.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),o=Math.pow(10,-i),a=l[8+i/3];return function(t){return e(o*t)+a}}}}},function(t,n,e){"use strict";n.a=o;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function o(t){return new u(t)}function u(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",o=n[2]||">",u=n[3]||"-",a=n[4]||"",c=!!n[5],s=n[6]&&+n[6],l=!!n[7],f=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(l=!0,h="g"):r.a[h]||(h=""),(c||"0"===e&&"="===o)&&(c=!0,e="0",o="="),this.fill=e,this.align=o,this.sign=u,this.symbol=a,this.zero=c,this.width=s,this.comma=l,this.precision=f,this.type=h}o.prototype=u.prototype,u.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,e){"use strict";var r=e(319),i=e(126),o=e(320);n.a={"":r.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 Object(o.a)(100*t,n)},r:o.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,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var o=e[0],u=e[1],a=u-(r=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1,c=o.length;return a===c?o:a>c?o+new Array(a-c+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+new Array(1-a).join("0")+Object(i.a)(t,Math.max(0,n+a-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return p});var r,i,o,u,a,c=e(19),s=e(0),l=e(11),f=e(14),h=Object(c.a)(),d=Object(c.a)(),p={point:l.a,lineStart:l.a,lineEnd:l.a,polygonStart:function(){h.reset(),p.lineStart=v,p.lineEnd=b},polygonEnd:function(){var t=+h;d.add(t<0?s.w+t:t),this.lineStart=this.lineEnd=this.point=l.a},sphere:function(){d.add(s.w)}};function v(){p.point=g}function b(){y(r,i)}function g(t,n){p.point=y,r=t,i=n,t*=s.r,n*=s.r,o=t,u=Object(s.g)(n=n/2+s.q),a=Object(s.t)(n)}function y(t,n){t*=s.r,n=(n*=s.r)/2+s.q;var e=t-o,r=e>=0?1:-1,i=r*e,c=Object(s.g)(n),l=Object(s.t)(n),f=a*l,d=u*c+f*Object(s.g)(i),p=f*r*Object(s.t)(i);h.add(Object(s.e)(p,d)),o=t,u=c,a=l}n.c=function(t){return d.reset(),Object(f.a)(t,p),2*d}},function(t,n,e){"use strict";n.a=a;var r=e(24),i=e(328),o=e(0),u=e(39);function a(t,n,e,i,u,a){if(e){var s=Object(o.g)(n),l=Object(o.t)(n),f=i*e;null==u?(u=n+i*o.w,a=n-f/2):(u=c(s,u),a=c(s,a),(i>0?ua)&&(u+=i*o.w));for(var h,d=u;i>0?d>a:d0?i.o:-i.o,s=Object(i.a)(u-e);Object(i.a)(s-i.o)0?i.l:-i.l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(u,r),n=0):o!==c&&s>=i.o&&(Object(i.a)(e-o)i.i?Object(i.d)((Object(i.t)(n)*(u=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(o=Object(i.g)(n))*Object(i.t)(t))/(o*u*a)):(n+r)/2}(e,r,u,a),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),n=0),t.point(e=u,r=a),o=c},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var o;if(null==t)o=e*i.l,r.point(-i.o,o),r.point(0,o),r.point(i.o,o),r.point(i.o,0),r.point(i.o,-o),r.point(0,-o),r.point(-i.o,-o),r.point(-i.o,0),r.point(-i.o,o);else if(Object(i.a)(t[0]-n[0])>i.i){var u=t[0]1}function s(t,n){return((t=t.x)[0]<0?t[1]-o.l-o.i:o.l-t[1])-((n=n.x)[0]<0?n[1]-o.l-o.i:o.l-n[1])}n.a=function(t,n,e,o){return function(l){var f,h,d,p=n(l),v=Object(r.a)(),b=n(v),g=!1,y={point:m,lineStart:_,lineEnd:w,polygonStart:function(){y.point=O,y.lineStart=j,y.lineEnd=T,h=[],f=[]},polygonEnd:function(){y.point=m,y.lineStart=_,y.lineEnd=w,h=Object(a.n)(h);var t=Object(u.a)(f,o);h.length?(g||(l.polygonStart(),g=!0),Object(i.a)(h,s,t,e,l)):t&&(g||(l.polygonStart(),g=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),g&&(l.polygonEnd(),g=!1),h=f=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};function m(n,e){t(n,e)&&l.point(n,e)}function x(t,n){p.point(t,n)}function _(){y.point=x,p.lineStart()}function w(){y.point=m,p.lineEnd()}function O(t,n){d.push([t,n]),b.point(t,n)}function j(){b.lineStart(),d=[]}function T(){O(d[0][0],d[0][1]),b.lineEnd();var t,n,e,r,i=b.clean(),o=v.result(),u=o.length;if(d.pop(),f.push(d),d=null,u)if(1&i){if((n=(e=o[0]).length-1)>0){for(g||(l.polygonStart(),g=!0),l.lineStart(),t=0;t1&&2&i&&o.push(o.pop().concat(o.shift())),h.push(o.filter(c))}return y}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--c)a.point((d=h[c])[0],d[1]);else u(v.x,v.p.x,-1,a);v=v.p}h=(v=v.o).z,b=!b}while(!v.v);a.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,M=C*T,S=M>o.o,k=g*O;if(u.add(Object(o.e)(k*C*Object(o.t)(M),y*j+k*Object(o.g)(M))),c+=S?T+C*o.w:T,S^v>=e^_>=e){var A=Object(i.c)(Object(i.a)(p),Object(i.a)(x));Object(i.e)(A);var N=Object(i.c)(a,A);Object(i.e)(N);var E=(S^T>=0?-1:1)*Object(o.c)(N[2]);(r>E||r===E&&(A[0]||A[1]))&&(s+=S^T>=0?1:-1)}}return(c<-o.i||c0,s=Object(o.a)(n)>o.i;function l(t,e){return Object(o.g)(t)*Object(o.g)(e)>n}function f(t,e,i){var u=Object(r.a)(t),a=Object(r.a)(e),c=[1,0,0],s=Object(r.c)(u,a),l=Object(r.d)(s,s),f=s[0],h=l-f*f;if(!h)return!i&&t;var d=n*l/h,p=-n*f/h,v=Object(r.c)(c,s),b=Object(r.f)(c,d),g=Object(r.f)(s,p);Object(r.b)(b,g);var y=v,m=Object(r.d)(b,y),x=Object(r.d)(y,y),_=m*m-x*(Object(r.d)(b,b)-1);if(!(_<0)){var w=Object(o.u)(_),O=Object(r.f)(y,(-m-w)/x);if(Object(r.b)(O,b),O=Object(r.g)(O),!i)return O;var j,T=t[0],C=e[0],M=t[1],S=e[1];C0^O[1]<(Object(o.a)(O[0]-T)o.o^(T<=O[0]&&O[0]<=C)){var N=Object(r.f)(y,(-m+w)/x);return Object(r.b)(N,b),[O,Object(r.g)(N)]}}}function h(n,e){var r=c?t:o.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(a.a)(l,function(t){var n,e,r,i,a;return{lineStart:function(){i=r=!1,a=1},point:function(d,p){var v,b=[d,p],g=l(d,p),y=c?g?0:h(d,p):g?h(d+(d<0?o.o:-o.o),p):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=f(n,b))||Object(u.a)(n,v)||Object(u.a)(b,v))&&(b[0]+=o.i,b[1]+=o.i,g=l(b[0],b[1])),g!==r)a=0,g?(t.lineStart(),v=f(b,n),t.point(v[0],v[1])):(v=f(n,b),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(s&&n&&c^g){var m;y&e||!(m=f(b,n,!0))||(a=0,c?(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])))}!g||n&&Object(u.a)(n,b)||t.point(b[0],b[1]),n=b,r=g,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return a|(i&&r)<<1}}},function(n,r,o,u){Object(i.a)(u,t,e,o,n,r)},c?[0,-t]:[-o.o,t-o.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],o={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(o)}},function(t,n,e){"use strict";var r,i,o,u=e(19),a=e(0),c=e(11),s=e(14),l=Object(u.a)(),f={sphere:c.a,point:c.a,lineStart:function(){f.point=d,f.lineEnd=h},lineEnd:c.a,polygonStart:c.a,polygonEnd:c.a};function h(){f.point=f.lineEnd=c.a}function d(t,n){t*=a.r,n*=a.r,r=t,i=Object(a.t)(n),o=Object(a.g)(n),f.point=p}function p(t,n){t*=a.r,n*=a.r;var e=Object(a.t)(n),u=Object(a.g)(n),c=Object(a.a)(t-r),s=Object(a.g)(c),f=u*Object(a.t)(c),h=o*e-i*u*s,d=i*e+o*u*s;l.add(Object(a.e)(Object(a.u)(f*f+h*h),d)),r=t,i=e,o=u}n.a=function(t){return l.reset(),Object(s.a)(t,f),+l}},function(t,n,e){"use strict";var r=e(11),i=1/0,o=i,u=-i,a=u,c={point:function(t,n){tu&&(u=t);na&&(a=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,o],[u,a]];return u=a=-(o=i=1/0),t}};n.a=c},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=c;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,u=t.r+e.r,a=n.x-r,c=n.y-i,s=a*a+c*c;if(s){var l=.5+((u*=u)-(o*=o))/(2*s),f=Math.sqrt(Math.max(0,2*o*(u+s)-(u-=s)*u-o*o))/(2*s);e.x=r+l*a+f*c,e.y=i+l*c-f*a}else e.x=r+u,e.y=i}function o(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function u(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function a(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(s=t.length))return 0;var n,e,c,s,l,f,h,d,p,v,b;if((n=t[0]).x=0,n.y=0,!(s>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(s>2))return n.r+e.r;i(e,n,c=t[2]),n=new a(n),e=new a(e),c=new a(c),n.next=c.previous=e,e.next=n.previous=c,c.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function a(t,n){for(var e=0;e1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:bt,S:$,u:U,U:B,V:W,w:Y,W:V,x:null,X:null,y:X,Y:K,Z:G,"%":pt},kt={a:function(t){return f[t.getUTCDay()]},A:function(t){return l[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:Q,e:Q,f:et,H:J,I:Z,j:tt,L:nt,m:rt,M:it,p:function(t){return s[+(t.getUTCHours()>=12)]},Q:vt,s:bt,S:ot,u:ut,U:at,V:ct,w:st,W:lt,x:null,X:null,y:ft,Y:ht,Z:dt,"%":pt},At={a:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=xt.exec(n.slice(e));return r?(t.w=_t[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=Ct.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return Dt(t,n,e,r)},d:j,e:j,f:A,H:C,I:C,j:T,L:k,m:O,M:M,p:function(t,n,e){var r=yt.exec(n.slice(e));return r?(t.p=mt[r[0].toLowerCase()],e+r[0].length):-1},Q:E,s:D,S:S,u:b,U:g,V:y,w:v,W:m,x:function(t,n,r){return Dt(t,e,n,r)},X:function(t,n,e){return Dt(t,c,n,e)},y:_,Y:x,Z:w,"%":N};function Nt(t,n){return function(e){var r,i,o,u=[],c=-1,s=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++c53)return null;"w"in c||(c.w=1),"Z"in c?(i=o(u(c.y)),a=i.getUTCDay(),i=a>4||0===a?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(c.V-1)),c.y=i.getUTCFullYear(),c.m=i.getUTCMonth(),c.d=i.getUTCDate()+(c.w+6)%7):(i=n(u(c.y)),a=i.getDay(),i=a>4||0===a?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(c.V-1)),c.y=i.getFullYear(),c.m=i.getMonth(),c.d=i.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),a="Z"in c?o(u(c.y)).getUTCDay():n(u(c.y)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(a+5)%7:c.w+7*c.U-(a+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,o(c)):n(c)}}function Dt(t,n,e,r){for(var i,o,u=0,c=n.length,s=e.length;u=s)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=At[i in a?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return St.x=Nt(e,St),St.X=Nt(c,St),St.c=Nt(n,St),kt.x=Nt(e,kt),kt.X=Nt(c,kt),kt.c=Nt(n,kt),{format:function(t){var n=Nt(t+="",St);return n.toString=function(){return t},n},parse:function(t){var n=Et(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=Nt(t+="",kt);return n.toString=function(){return t},n},utcParse:function(t){var n=Et(t,o);return n.toString=function(){return t},n}}};var r=e(45);function i(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 o(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}}var a={"-":"",_:" ",0:"0"},c=/^\s*\d+/,s=/^%/,l=/[\\^$*+?|[\]().{}]/g;function f(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function w(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function O(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function j(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function T(t,n,e){var r=c.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function C(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function M(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function S(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function k(t,n,e){var r=c.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=c.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function N(t,n,e){var r=s.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function E(t,n,e){var r=c.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function D(t,n,e){var r=c.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function L(t,n){return f(t.getDate(),n,2)}function q(t,n){return f(t.getHours(),n,2)}function R(t,n){return f(t.getHours()%12||12,n,2)}function P(t,n){return f(1+r.a.count(Object(r.D)(t),t),n,3)}function F(t,n){return f(t.getMilliseconds(),n,3)}function z(t,n){return F(t,n)+"000"}function H(t,n){return f(t.getMonth()+1,n,2)}function I(t,n){return f(t.getMinutes(),n,2)}function $(t,n){return f(t.getSeconds(),n,2)}function U(t){var n=t.getDay();return 0===n?7:n}function B(t,n){return f(r.t.count(Object(r.D)(t),t),n,2)}function W(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),f(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function Y(t){return t.getDay()}function V(t,n){return f(r.l.count(Object(r.D)(t),t),n,2)}function X(t,n){return f(t.getFullYear()%100,n,2)}function K(t,n){return f(t.getFullYear()%1e4,n,4)}function G(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+f(n/60|0,"0",2)+f(n%60,"0",2)}function Q(t,n){return f(t.getUTCDate(),n,2)}function J(t,n){return f(t.getUTCHours(),n,2)}function Z(t,n){return f(t.getUTCHours()%12||12,n,2)}function tt(t,n){return f(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return f(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return f(t.getUTCMonth()+1,n,2)}function it(t,n){return f(t.getUTCMinutes(),n,2)}function ot(t,n){return f(t.getUTCSeconds(),n,2)}function ut(t){var n=t.getUTCDay();return 0===n?7:n}function at(t,n){return f(r.X.count(Object(r._7)(t),t),n,2)}function ct(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),f(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function st(t){return t.getUTCDay()}function lt(t,n){return f(r.P.count(Object(r._7)(t),t),n,2)}function ft(t,n){return f(t.getUTCFullYear()%100,n,2)}function ht(t,n){return f(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function pt(){return"%"}function vt(t){return+t}function bt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var o=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=o},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(46),u=e(84),a=e(85);n.a=function(){var t=a.a,n=null,e=Object(i.a)(0),c=a.b,s=Object(i.a)(!0),l=null,f=o.a,h=null;function d(i){var o,u,a,d,p,v=i.length,b=!1,g=new Array(v),y=new Array(v);for(null==l&&(h=f(p=Object(r.a)())),o=0;o<=v;++o){if(!(o=u;--a)h.point(g[a],y[a]);h.lineEnd(),h.areaEnd()}b&&(g[o]=+t(d,o,i),y[o]=+e(d,o,i),h.point(n?+n(d,o,i):g[o],c?+c(d,o,i):y[o]))}if(p)return h=null,p+""||null}function p(){return Object(u.a)().defined(s).curve(f).context(l)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),c=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):c},d.lineX0=d.lineY0=function(){return p().x(t).y(e)},d.lineY1=function(){return p().x(t).y(c)},d.lineX1=function(){return p().x(n).y(e)},d.defined=function(t){return arguments.length?(s="function"==typeof t?t:Object(i.a)(!!t),d):s},d.curve=function(t){return arguments.length?(f=t,null!=l&&(h=f(l)),d):f},d.context=function(t){return arguments.length?(null==t?l=h=null:h=f(l=t),d):l},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=o;var r=o(e(46).a);function i(t){this._curve=t}function o(t){function n(n){return new i(t(n))}return n._curve=t,n}i.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,e){"use strict";n.b=o;var r=e(156),i=e(84);function o(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(Object(r.b)(t)):n()._curve},t}n.a=function(){return o(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),o=e*r;t.moveTo(0,-e),t.lineTo(o,0),t.lineTo(0,e),t.lineTo(-o,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),o=Math.sin(r.m/10)*i,u=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=o*e,a=u*e;t.moveTo(0,-e),t.lineTo(i,a);for(var c=1;c<5;++c){var s=r.m*c/5,l=Math.cos(s),f=Math.sin(s);t.lineTo(f*e,-l*e),t.lineTo(l*i-f*a,f*i+l*a)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),u=3*(o/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/u),a=e/2,c=e*o,s=a,l=e*o+e,f=-s,h=l;t.moveTo(a,c),t.lineTo(s,l),t.lineTo(f,h),t.lineTo(r*a-i*c,i*a+r*c),t.lineTo(r*s-i*l,i*s+r*l),t.lineTo(r*f-i*h,i*f+r*h),t.lineTo(r*a+i*c,r*c-i*a),t.lineTo(r*s+i*l,r*l-i*s),t.lineTo(r*f+i*h,r*h-i*f),t.closePath()}}},function(t,n,e){"use strict";n.a=o;var r=e(47),i=e(49);function o(t,n){this._context=t,this._k=(1-n)/6}o.prototype={areaStart:r.a,areaEnd:r.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:Object(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.b=function t(n){function e(t){return new o(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}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(){(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:Object(r.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.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=u,n.d=function(){for(var t,n,e,r,u=0,a=i.b.length;ui.f||Math.abs(m-b)>i.f)&&(h.splice(f,0,i.e.push(Object(r.b)(l,g,Math.abs(y-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(b-o)i.f?[e,Math.abs(v-e)i.f?[Math.abs(b-n)=-o.g)return;var g=h*h+d*d,y=p*p+v*v,m=(v*g-d*y)/b,x=(h*y-p*g)/b,_=u.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};_.arc=t,_.site=c,_.x=m+l,_.y=(_.cy=x+f)+Math.sqrt(m*m+x*x),t.circle=_;var w=null,O=o.c._;for(;O;)if(_.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),o=e(178),u=e(95),a=e(179),c=e(97),s=e(98),l=e(99);n.a=function(){var t=a.a,n=u.a,e=l.a;function f(r){var o,u,a=r.length,l=new Array(a);for(o=0;od;)p.pop(),--v;var b,g=new Array(v+1);for(o=0;o<=v;++o)(b=g[o]=[]).x0=o>0?p[o-1]:h,b.x1=o=e)for(r=e;++or&&(r=e)}else for(;++o=e)for(r=e;++or&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,o=i,u=-1,a=0;if(null==n)for(;++u=0;)for(n=(r=t[i]).length;--n>=0;)e[--u]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,o=0,u=0,a=t[u];for(null==n&&(n=r.a);++o0&&(e=r-S),z<0?j=T-k:z>0&&(o=c-k),P=h,J.attr("cursor",y.selection),nt());break;default:return}Object(l.a)()},!0).on("keyup.brush",function(){switch(u.e.keyCode){case 16:V&&(D=L=V=!1,nt());break;case 18:P===p&&(F<0?s=O:F>0&&(e=r),z<0?j=T:z>0&&(o=c),P=d,nt());break;case 32:P===h&&(u.e.altKey?(F&&(s=O-S*F,e=r+S*F),z&&(j=T-k*z,o=c+k*z),P=p):(F<0?s=O:F>0&&(e=r),z<0?j=T:z>0&&(o=c),P=d),J.attr("cursor",y[R]),nt());break;default:return}Object(l.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(u.e.view)}Object(l.b)(),Object(a.b)(q),N.call(q),G.start()}function tt(){var t=Object(u.h)(q);!V||D||L||(Math.abs(t[0]-K[0])>Math.abs(t[1]-K[1])?L=!0:D=!0),K=t,A=!0,Object(l.a)(),nt()}function nt(){var t;switch(S=K[0]-X[0],k=K[1]-X[1],P){case h:case f:F&&(S=Math.max(U-e,Math.min(W-s,S)),r=e+S,O=s+S),z&&(k=Math.max(B-o,Math.min(Y-j,k)),c=o+k,T=j+k);break;case d:F<0?(S=Math.max(U-e,Math.min(W-e,S)),r=e+S,O=s):F>0&&(S=Math.max(U-s,Math.min(W-s,S)),r=e,O=s+S),z<0?(k=Math.max(B-o,Math.min(Y-o,k)),c=o+k,T=j):z>0&&(k=Math.max(B-j,Math.min(Y-j,k)),c=o,T=j+k);break;case p:F&&(r=Math.max(U,Math.min(W,e-S*F)),O=Math.max(U,Math.min(W,s+S*F))),z&&(c=Math.max(B,Math.min(Y,o-k*z)),T=Math.max(B,Math.min(Y,j+k*z)))}O=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),c=-1,s=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++c0)for(var e,r,i=new Array(e),o=0;o_}y.mouse("drag")}function T(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(o.b)(i.e.view,e),Object(u.a)(),y.mouse("end")}function C(){if(p.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),o=e.length;for(t=0;t=j&&(j=O+1);!(w=x[j])&&++j=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return tn?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,o=e.length,u=new Array(o),a=0;a1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new o(t)}function o(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function u(t,n){for(var e=i(t),r=-1,o=n.length;++r=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 e=r(t+"");if(arguments.length<2){for(var o=i(this.node()),c=-1,s=e.length;++ch?Math.pow(t,1/3):t/f+s}function g(t){return t>l?t*t*t:f*(t-s)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function x(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof _)return new _(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*o.b;return new _(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new _(t,n,e,null==r?1:r)}function _(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,p,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=a*g(t),n=u*g(n),e=c*g(e),new i.b(y(3.2404542*n-1.5371385*t-.4985314*e),y(-.969266*n+1.8760108*t+.041556*e),y(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(_,x,Object(r.b)(i.a,{brighter:function(t){return new _(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new _(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=p;var r=e(60),i=e(59),o=e(110),u=-.14861,a=1.78277,c=-.29227,s=-.90649,l=1.97294,f=l*s,h=l*a,d=a*c-s*u;function p(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,u=(d*r+f*n-h*e)/(d+f-h),a=r-u,p=(l*(e-u)-c*a)/s,b=Math.sqrt(p*p+a*a)/(l*u*(1-u)),g=b?Math.atan2(p,a)*o.b-120:NaN;return new v(g<0?g+360:g,b,u,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,p,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),f=Math.sin(t);return new i.b(255*(n+e*(u*r+a*f)),255*(n+e*(c*r+s*f)),255*(n+e*(l*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return u}),e.d(n,"b",function(){return a});var r=e(35),i=e(239);function o(t,n,e,i){function o(t){return t.length?t.pop()+" ":""}return function(u,a){var c=[],s=[];return u=t(u),a=t(a),function(t,i,o,u,a,c){if(t!==o||i!==u){var s=a.push("translate(",null,n,null,e);c.push({i:s-4,x:Object(r.a)(t,o)},{i:s-2,x:Object(r.a)(i,u)})}else(o||u)&&a.push("translate("+o+n+u+e)}(u.translateX,u.translateY,a.translateX,a.translateY,c,s),function(t,n,e,u){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),u.push({i:e.push(o(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(o(e)+"rotate("+n+i)}(u.rotate,a.rotate,c,s),function(t,n,e,u){t!==n?u.push({i:e.push(o(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(o(e)+"skewX("+n+i)}(u.skewX,a.skewX,c,s),function(t,n,e,i,u,a){if(t!==e||n!==i){var c=u.push(o(u)+"scale(",null,",",null,")");a.push({i:c-4,x:Object(r.a)(t,e)},{i:c-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||u.push(o(u)+"scale("+e+","+i+")")}(u.scaleX,u.scaleY,a.scaleX,a.scaleY,c,s),u=a=null,function(t){for(var n,e=-1,r=s.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=u(this,t),a=r.on;a!==i&&(o=(i=a).copy()).on(n,e),r.on=o}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),o=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var u=this._groups,a=u.length,c=new Array(a),s=0;si.c&&e.name===n)return new r.a([[t]],o,n,+u);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,o=null;function u(u){var a,c,s,l,f,h,d=u.length,p=[],v=Object(r.s)(d),b=[],g=[],y=g.groups=new Array(d),m=new Array(d*d);for(a=0,f=-1;++f1e-6)if(Math.abs(f*c-s*l)>1e-6&&o){var d=e-u,p=i-a,v=c*c+s*s,b=d*d+p*p,g=Math.sqrt(v),y=Math.sqrt(h),m=o*Math.tan((r-Math.acos((v+h-b)/(2*g*y)))/2),x=m/y,_=m/g;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*l)+","+(n+x*f)),this._+="A"+o+","+o+",0,0,"+ +(f*d>l*p)+","+(this._x1=t+_*c)+","+(this._y1=n+_*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,u,a,c){t=+t,n=+n;var s=(e=+e)*Math.cos(u),l=e*Math.sin(u),f=t+s,h=n+l,d=1^c,p=c?u-a:a-u;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),e&&(p<0&&(p=p%i+i),p>o?this._+="A"+e+","+e+",0,1,"+d+","+(t-s)+","+(n-l)+"A"+e+","+e+",0,1,"+d+","+(this._x1=f)+","+(this._y1=h):p>1e-6&&(this._+="A"+e+","+e+",0,"+ +(p>=r)+","+d+","+(this._x1=t+e*Math.cos(a))+","+(this._y1=n+e*Math.sin(a))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=a},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function o(t,n,e){t[n]=e}function u(){return Object(r.a)()}function a(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,c=[],s=[];function l(e,i,o,u){if(i>=c.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var a,s,f,h=-1,d=e.length,p=c[i++],v=Object(r.a)(),b=o();++hc.length)return e;var i,o=s[r-1];return null!=n&&r>=c.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=o?i.sort(function(t,n){return o(t.key,n.key)}):i}(l(t,0,u,a),0)},key:function(t){return c.push(t),e},sortKeys:function(t){return s[c.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var o=r.a.prototype;function u(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,o=t.length;if(null==n)for(;++rh+s||rd+s||ol.index){var f=h-u.x-u.vx,b=d-u.y-u.vy,g=f*f+b*b;gt.r&&(t.r=t[n].r)}function h(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r=(o=(v+g)/2))?v=o:g=o,(l=e>=(u=(b+y)/2))?b=u:y=u,i=d,!(d=d[f=l<<1|s]))return i[f]=p,t;if(a=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===a&&e===c)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(s=n>=(o=(v+g)/2))?v=o:g=o,(l=e>=(u=(b+y)/2))?b=u:y=u}while((f=l<<1|s)==(h=(c>=u)<<1|a>=o));return i[h]=d,i[f]=p,t}n.a=function(t){var n,e,i,o,u=t.length,a=new Array(u),c=new Array(u),s=1/0,l=1/0,f=-1/0,h=-1/0;for(e=0;ef&&(f=i),oh&&(h=o));ft||t>i||r>n||n>o))return this;var u,a,c=i-e,s=this._root;switch(a=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do{(u=new Array(4))[a]=s,s=u}while(o=r+(c*=2),t>(i=e+c)||n>o);break;case 1:do{(u=new Array(4))[a]=s,s=u}while(o=r+(c*=2),(e=i-c)>t||n>o);break;case 2:do{(u=new Array(4))[a]=s,s=u}while(r=o-(c*=2),t>(i=e+c)||r>n);break;case 3:do{(u=new Array(4))[a]=s,s=u}while(r=o-(c*=2),(e=i-c)>t||r>n)}this._root&&this._root.length&&(this._root=s)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this}},function(t,n,e){"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,e){"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,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,o,u,a,c,s,l,f=this._x0,h=this._y0,d=this._x1,p=this._y1,v=[],b=this._root;for(b&&v.push(new r.a(b,f,h,d,p)),null==e?e=1/0:(f=t-e,h=n-e,d=t+e,p=n+e,e*=e);s=v.pop();)if(!(!(b=s.node)||(o=s.x0)>d||(u=s.y0)>p||(a=s.x1)=y)<<1|t>=g)&&(s=v[v.length-1],v[v.length-1]=v[v.length-1-l],v[v.length-1-l]=s)}else{var m=t-+this._x.call(null,b.data),x=n-+this._y.call(null,b.data),_=m*m+x*x;if(_=(a=(p+b)/2))?p=a:b=a,(l=u>=(c=(v+g)/2))?v=c:g=c,n=d,!(d=d[f=l<<1|s]))return this;if(!d.length)break;(n[f+1&3]||n[f+2&3]||n[f+3&3])&&(e=n,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[f]=i:delete n[f],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"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,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,o,u,a,c=[],s=this._root;for(s&&c.push(new r.a(s,this._x0,this._y0,this._x1,this._y1));n=c.pop();)if(!t(s=n.node,i=n.x0,o=n.y0,u=n.x1,a=n.y1)&&s.length){var l=(i+u)/2,f=(o+a)/2;(e=s[3])&&c.push(new r.a(e,l,f,u,a)),(e=s[2])&&c.push(new r.a(e,i,f,l,a)),(e=s[1])&&c.push(new r.a(e,l,o,u,f)),(e=s[0])&&c.push(new r.a(e,i,o,l,f))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var o=n.node;if(o.length){var u,a=n.x0,c=n.y0,s=n.x1,l=n.y1,f=(a+s)/2,h=(c+l)/2;(u=o[0])&&e.push(new r.a(u,a,c,f,h)),(u=o[1])&&e.push(new r.a(u,f,c,s,h)),(u=o[2])&&e.push(new r.a(u,a,h,f,l)),(u=o[3])&&e.push(new r.a(u,f,h,s,l))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),o=e(21);function u(t){return t.index}function a(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,c,s,l,f=u,h=function(t){return 1/Math.min(s[t.source.index],s[t.target.index])},d=Object(r.a)(30),p=1;function v(r){for(var o=0,u=t.length;o=l)){(t.data!==n||t.next)&&(0===c&&(p+=(c=Object(i.a)())*c),0===h&&(p+=(h=Object(i.a)())*h),p0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(e.substring(i-=a,i+a)),!((c+=a+1)>r));)a=t[u=(u+1)%t.length];return o.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,o=-1;i0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var o=e(327);e.d(n,"i",function(){return o.a});var u=e(128);e.d(n,"j",function(){return u.b});var a=e(130);e.d(n,"k",function(){return a.a});var c=e(136);e.d(n,"l",function(){return c.a});var s=e(329);e.d(n,"m",function(){return s.a});var l=e(40);e.d(n,"n",function(){return l.a});var f=e(331);e.d(n,"u",function(){return f.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var p=e(333);e.d(n,"D",function(){return p.a});var v=e(138);e.d(n,"E",function(){return v.a});var b=e(334);e.d(n,"L",function(){return b.a});var g=e(140);e.d(n,"a",function(){return g.a});var y=e(342);e.d(n,"b",function(){return y.a});var m=e(343);e.d(n,"d",function(){return m.b}),e.d(n,"e",function(){return m.a});var x=e(344);e.d(n,"f",function(){return x.b}),e.d(n,"g",function(){return x.a});var _=e(345);e.d(n,"o",function(){return _.b}),e.d(n,"p",function(){return _.a});var w=e(73);e.d(n,"q",function(){return w.b}),e.d(n,"r",function(){return w.a});var O=e(346);e.d(n,"s",function(){return O.b}),e.d(n,"t",function(){return O.a});var j=e(141);e.d(n,"w",function(){return j.a}),e.d(n,"x",function(){return j.b});var T=e(347);e.d(n,"y",function(){return T.a}),e.d(n,"z",function(){return T.b});var C=e(348);e.d(n,"C",function(){return C.a});var M=e(8);e.d(n,"M",function(){return M.a}),e.d(n,"N",function(){return M.b});var S=e(76);e.d(n,"F",function(){return S.a}),e.d(n,"G",function(){return S.c});var k=e(349);e.d(n,"H",function(){return k.a}),e.d(n,"I",function(){return k.b});var A=e(350);e.d(n,"J",function(){return A.a}),e.d(n,"K",function(){return A.b});var N=e(351);e.d(n,"P",function(){return N.a}),e.d(n,"Q",function(){return N.b});var E=e(352);e.d(n,"T",function(){return E.a}),e.d(n,"U",function(){return E.b});var D=e(39);e.d(n,"O",function(){return D.a});var L=e(14);e.d(n,"R",function(){return L.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,o,u,a,c,s,l,f,h,d=e(19),p=e(127),v=e(24),b=e(0),g=e(14),y=Object(d.a)(),m={point:x,lineStart:w,lineEnd:O,polygonStart:function(){m.point=j,m.lineStart=T,m.lineEnd=C,y.reset(),p.b.polygonStart()},polygonEnd:function(){p.b.polygonEnd(),m.point=x,m.lineStart=w,m.lineEnd=O,p.a<0?(r=-(o=180),i=-(u=90)):y>b.i?u=90:y<-b.i&&(i=-90),h[0]=r,h[1]=o}};function x(t,n){f.push(h=[r=t,o=t]),nu&&(u=n)}function _(t,n){var e=Object(v.a)([t*b.r,n*b.r]);if(l){var c=Object(v.c)(l,e),s=[c[1],-c[0],0],d=Object(v.c)(s,c);Object(v.e)(d),d=Object(v.g)(d);var p,g=t-a,y=g>0?1:-1,m=d[0]*b.h*y,x=Object(b.a)(g)>180;x^(y*au&&(u=p):x^(y*a<(m=(m+360)%360-180)&&mu&&(u=n)),x?tM(r,o)&&(o=t):M(t,o)>M(r,o)&&(r=t):o>=r?(to&&(o=t)):t>a?M(r,t)>M(r,o)&&(o=t):M(t,o)>M(r,o)&&(r=t)}else f.push(h=[r=t,o=t]);nu&&(u=n),l=e,a=t}function w(){m.point=_}function O(){h[0]=r,h[1]=o,m.point=x,l=null}function j(t,n){if(l){var e=t-a;y.add(Object(b.a)(e)>180?e+(e>0?360:-360):e)}else c=t,s=n;p.b.point(t,n),_(t,n)}function T(){p.b.lineStart()}function C(){j(c,s),p.b.lineEnd(),Object(b.a)(y)>b.i&&(r=-(o=180)),h[0]=r,h[1]=o,l=null}function M(t,n){return(n-=t)<0?n+360:n}function S(t,n){return t[0]-n[0]}function k(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nM(a[0],a[1])&&(a[1]=c[1]),M(c[0],a[1])>M(a[0],a[1])&&(a[0]=c[0])):s.push(a=c);for(l=-1/0,n=0,a=s[e=s.length-1];n<=e;a=c,++n)c=s[n],(d=M(a[1],c[0]))>l&&(l=d,r=c[0],o=a[1])}return f=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[o,u]]}},function(t,n,e){"use strict";var r,i,o,u,a,c,s,l,f,h,d,p,v,b,g,y,m=e(0),x=e(11),_=e(14),w={sphere:x.a,point:O,lineStart:T,lineEnd:S,polygonStart:function(){w.lineStart=k,w.lineEnd=A},polygonEnd:function(){w.lineStart=T,w.lineEnd=S}};function O(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n);j(e*Object(m.g)(t),e*Object(m.t)(t),Object(m.t)(n))}function j(t,n,e){o+=(t-o)/++r,u+=(n-u)/r,a+=(e-a)/r}function T(){w.point=C}function C(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n);b=e*Object(m.g)(t),g=e*Object(m.t)(t),y=Object(m.t)(n),w.point=M,j(b,g,y)}function M(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n),r=e*Object(m.g)(t),o=e*Object(m.t)(t),u=Object(m.t)(n),a=Object(m.e)(Object(m.u)((a=g*u-y*o)*a+(a=y*r-b*u)*a+(a=b*o-g*r)*a),b*r+g*o+y*u);i+=a,c+=a*(b+(b=r)),s+=a*(g+(g=o)),l+=a*(y+(y=u)),j(b,g,y)}function S(){w.point=O}function k(){w.point=N}function A(){E(p,v),w.point=O}function N(t,n){p=t,v=n,t*=m.r,n*=m.r,w.point=E;var e=Object(m.g)(n);b=e*Object(m.g)(t),g=e*Object(m.t)(t),y=Object(m.t)(n),j(b,g,y)}function E(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n),r=e*Object(m.g)(t),o=e*Object(m.t)(t),u=Object(m.t)(n),a=g*u-y*o,p=y*r-b*u,v=b*o-g*r,x=Object(m.u)(a*a+p*p+v*v),_=Object(m.c)(x),w=x&&-_/x;f+=w*a,h+=w*p,d+=w*v,i+=_,c+=_*(b+(b=r)),s+=_*(g+(g=o)),l+=_*(y+(y=u)),j(b,g,y)}n.a=function(t){r=i=o=u=a=c=s=l=f=h=d=0,Object(_.a)(t,w);var n=f,e=h,p=d,v=n*n+e*e+p*p;return v0)){if(u/=f,f<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-a,f||!(u<0)){if(u/=f,f<0){if(u>l)return;u>s&&(s=u)}else if(f>0){if(u0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=o-c,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0&&(t[0]=a+s*f,t[1]=c+s*h),l<1&&(n[0]=a+l*f,n[1]=c+l*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),o=e(0),u={Feature:function(t,n){return c(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++ri.i}).map(h)).concat(Object(r.s)(Object(i.f)(s/g)*g,c,g).filter(function(t){return Object(i.a)(t%m)>i.i}).map(d))}return _.lines=function(){return w().map(function(t){return{type:"LineString",coordinates:t}})},_.outline=function(){return{type:"Polygon",coordinates:[p(a).concat(v(l).slice(1),p(e).reverse().slice(1),v(f).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(a=+t[0][0],e=+t[1][0],f=+t[0][1],l=+t[1][1],a>e&&(t=a,a=e,e=t),f>l&&(t=f,f=l,l=t),_.precision(x)):[[a,f],[e,l]]},_.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],c=+e[1][1],n>t&&(e=n,n=t,t=e),s>c&&(e=s,s=c,c=e),_.precision(x)):[[n,s],[t,c]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(y=+t[0],m=+t[1],_):[y,m]},_.stepMinor=function(t){return arguments.length?(b=+t[0],g=+t[1],_):[b,g]},_.precision=function(r){return arguments.length?(x=+r,h=o(s,c,90),d=u(n,t,x),p=o(f,l,90),v=u(a,e,x),_):x},_.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,o=n[0]*r.r,u=n[1]*r.r,a=Object(r.g)(i),c=Object(r.t)(i),s=Object(r.g)(u),l=Object(r.t)(u),f=a*Object(r.g)(e),h=a*Object(r.t)(e),d=s*Object(r.g)(o),p=s*Object(r.t)(o),v=2*Object(r.c)(Object(r.u)(Object(r.m)(u-i)+a*s*Object(r.m)(o-e))),b=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/b,e=Object(r.t)(v-t)/b,i=e*f+n*d,o=e*h+n*p,u=e*c+n*l;return[Object(r.e)(o,i)*r.h,Object(r.e)(u,Object(r.u)(i*i+o*o))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),o=e(335),u=e(139),a=e(336),c=e(337),s=e(338),l=e(339);n.a=function(t,n){var e,f,h=4.5;function d(t){return t&&("function"==typeof h&&f.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(f))),f.result()}return d.area=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.measure=function(t){return Object(i.a)(t,e(s.a)),s.a.result()},d.bounds=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.centroid=function(t){return Object(i.a)(t,e(a.a)),a.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(f=null==t?(n=null,new l.a):new c.a(n=t),"function"!=typeof h&&f.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(f.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,o,u,a=e(19),c=e(0),s=e(11),l=Object(a.a)(),f=Object(a.a)(),h={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.lineStart=d,h.lineEnd=b},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=s.a,l.add(Object(c.a)(f)),f.reset()},result:function(){var t=l/2;return l.reset(),t}};function d(){h.point=p}function p(t,n){h.point=v,r=o=t,i=u=n}function v(t,n){f.add(u*t-o*n),o=t,u=n}function b(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,o,u,a=e(0),c=0,s=0,l=0,f=0,h=0,d=0,p=0,v=0,b=0,g={point:y,lineStart:m,lineEnd:w,polygonStart:function(){g.lineStart=O,g.lineEnd=j},polygonEnd:function(){g.point=y,g.lineStart=m,g.lineEnd=w},result:function(){var t=b?[p/b,v/b]:d?[f/d,h/d]:l?[c/l,s/l]:[NaN,NaN];return c=s=l=f=h=d=p=v=b=0,t}};function y(t,n){c+=t,s+=n,++l}function m(){g.point=x}function x(t,n){g.point=_,y(o=t,u=n)}function _(t,n){var e=t-o,r=n-u,i=Object(a.u)(e*e+r*r);f+=i*(o+t)/2,h+=i*(u+n)/2,d+=i,y(o=t,u=n)}function w(){g.point=y}function O(){g.point=T}function j(){C(r,i)}function T(t,n){g.point=C,y(r=o=t,i=u=n)}function C(t,n){var e=t-o,r=n-u,i=Object(a.u)(e*e+r*r);f+=i*(o+t)/2,h+=i*(u+n)/2,d+=i,p+=(i=u*t-o*n)*(o+t),v+=i*(u+n),b+=3*i,y(o=t,u=n)}n.a=g},function(t,n,e){"use strict";n.a=o;var r=e(0),i=e(11);function o(t){this._context=t}o.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,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,o,u,a,c=e(19),s=e(0),l=e(11),f=Object(c.a)(),h={point:l.a,lineStart:function(){h.point=d},lineEnd:function(){r&&p(i,o),h.point=l.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+f;return f.reset(),t}};function d(t,n){h.point=p,i=u=t,o=a=n}function p(t,n){u-=t,a-=n,f.add(Object(s.u)(u*u+a*a)),u=t,a=n}n.a=h},function(t,n,e){"use strict";function r(){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=r,r.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,e){"use strict";var r=e(24),i=e(0),o=e(41),u=16,a=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,o,u,c,s,l,f,h,d,p,v,b,g,y){var m=f-r,x=h-o,_=m*m+x*x;if(_>4*n&&g--){var w=c+p,O=s+v,j=l+b,T=Object(i.u)(w*w+O*O+j*j),C=Object(i.c)(j/=T),M=Object(i.a)(Object(i.a)(j)-1)n||Object(i.a)((m*N+x*E)/_-.5)>.3||c*p+s*v+l*b=.12&&i<.234&&r>=-.425&&r<-.214?f:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:l).invert(t)},p.stream=function(e){return t&&n===e?t:(r=[l.stream(n=e),f.stream(e),h.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=a/Object(r.p)(u(n),i);return[e*Object(r.t)(i*t),a-e*Object(r.g)(i*t)]}return c.invert=function(t,n){var e=a-n,o=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(a/o,1/i))-r.l]},c}n.b=function(){return Object(i.a)(a).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(74),o=e(141);function u(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),u=e/i+t;if(Object(r.a)(i)i.i&&--o>0);return[t/(.8707+(u=r*r)*(u*(u*u*u*(.003971-.001529*u)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(o).scale(175.295)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(25),o=e(8);function u(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}u.invert=Object(i.a)(r.c),n.a=function(){return Object(o.a)(u).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=u;var r=e(0),i=e(25),o=e(8);function u(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}u.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(o.a)(u).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=o;var r=e(0),i=e(76);function o(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}o.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(o),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var o=e(366);e.d(n,"c",function(){return o.a});var u=e(142);e.d(n,"e",function(){return u.a});var a=e(143);e.d(n,"d",function(){return a.a});var c=e(368);e.d(n,"f",function(){return c.a});var s=e(369);e.d(n,"g",function(){return s.a});var l=e(370);e.d(n,"h",function(){return l.a});var f=e(371);e.d(n,"i",function(){return f.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var p=e(42);e.d(n,"m",function(){return p.a});var v=e(373);e.d(n,"n",function(){return v.a});var b=e(79);e.d(n,"o",function(){return b.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function o(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,u=!1;function a(r){var a,c=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(o,0)}(e)):(n.x=a?c+=t(n,a):0,n.y=0,a=n)});var s=function(t){for(var n;n=t.children;)t=n[0];return t}(r),l=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),f=s.x-t(s,l)/2,h=l.x+t(l,s)/2;return r.eachAfter(u?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-f)/(h-f)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return a.separation=function(n){return arguments.length?(t=n,a):t},a.size=function(t){return arguments.length?(u=!1,n=+t[0],e=+t[1],a):u?null:[n,e]},a.nodeSize=function(t){return arguments.length?(u=!0,n=+t[0],e=+t[1],a):u?[n,e]:null},a}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),o=e(144);function u(t){return Math.sqrt(t.value)}function a(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function c(t,n){return function(e){if(i=e.children){var i,o,u,a=i.length,c=t(e)*n||0;if(c)for(o=0;o0)throw new Error("cycle");return s}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function o(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,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function c(t,n,e){return t.a.parent===n.parent?t.a:e}function s(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}s.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function l(i){var o=function(t){for(var n,e,r,i,o,u=new s(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new s(r[i],i)),e.parent=n;return(u.parent=new s(null,0)).children=[u],u}(i);if(o.eachAfter(f),o.parent.m=-o.z,o.eachBefore(h),r)i.eachBefore(d);else{var u=i,a=i,c=i;i.eachBefore(function(t){t.xa.x&&(a=t),t.depth>c.depth&&(c=t)});var l=u===a?1:t(u,a)/2,p=l-u.x,v=n/(a.x+l+p),b=e/(c.depth||1);i.eachBefore(function(t){t.x=(t.x+p)*v,t.y=t.depth*b})}return i}function f(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var s=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-s):n.z=s}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,s=n,l=n,f=e,h=s.parent.children[0],d=s.m,p=l.m,v=f.m,b=h.m;f=u(f),s=o(s),f&&s;)h=o(h),(l=u(l)).a=n,(i=f.z+v-s.z-d+t(f._,s._))>0&&(a(c(f,n,r),n,i),d+=i,p+=i),v+=f.m,d+=s.m,b+=h.m,p+=l.m;f&&!u(l)&&(l.t=f,l.m+=v-p),s&&!o(h)&&(h.t=s,h.m+=d-b,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return l.separation=function(n){return arguments.length?(t=n,l):t},l.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],l):r?null:[n,e]},l.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],l):r?[n,e]:null},l}},function(t,n,e){"use strict";var r=e(145),i=e(79),o=e(78),u=e(144);n.a=function(){var t=i.a,n=!1,e=1,a=1,c=[0],s=u.a,l=u.a,f=u.a,h=u.a,d=u.a;function p(t){return t.x0=t.y0=0,t.x1=e,t.y1=a,t.eachBefore(v),c=[0],n&&t.eachBefore(r.a),t}function v(n){var e=c[n.depth],r=n.x0+e,i=n.y0+e,o=n.x1-e,u=n.y1-e;o=e-1){var l=a[n];return l.x0=i,l.y0=o,l.x1=u,void(l.y1=c)}var f=s[n],h=r/2+f,d=n+1,p=e-1;for(;d>>1;s[v]c-o){var y=(i*g+u*b)/r;t(n,d,b,i,o,y,c),t(d,e,g,y,o,u,c)}else{var m=(o*g+c*b)/r;t(n,d,b,i,o,u,m),t(d,e,g,i,m,u,c)}}(0,c,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,o,u){(1&t.depth?i.a:r.a)(t,n,e,o,u)}},function(t,n,e){"use strict";var r=e(26),i=e(42),o=e(79);n.a=function t(n){function e(t,e,u,a,c){if((s=t._squarify)&&s.ratio===n)for(var s,l,f,h,d,p=-1,v=s.length,b=t.value;++p1?n:1)},e}(o.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var o=e(378);e.d(n,"d",function(){return o.a});var u=e(380);e.d(n,"c",function(){return u.a});var a=e(381);e.d(n,"e",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[o])<=0;)--i;e[i++]=o}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),u=new Array(e);for(n=0;n=0;--n)f.push(t[r[a[n]][2]]);for(n=+s;na!=s>a&&u<(c-e)*(a-r)/(s-r)+e&&(l=!l),c=e,s=r;return l}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,s(t)}function s(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function l(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new o(t)}o.prototype=l.prototype={constructor:o,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=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),u(this),this},abort:function(){return null==this._error&&c(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,e){t.apply(null,[n].concat(e))},s(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,s(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var o=e(387);e.d(n,"d",function(){return o.a});var u=e(388);e.d(n,"a",function(){return u.a});var a=e(147);e.d(n,"c",function(){return a.a});var c=e(389);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var o=e(392);e.d(n,"c",function(){return o.a});var u=e(393);e.d(n,"e",function(){return u.a});var a=e(394);e.d(n,"g",function(){return a.a});var c=e(395);e.d(n,"a",function(){return c.a});var s=e(396);e.d(n,"f",function(){return s.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var o=e(27);e.d(n,"l",function(){return o.a});var u=e(401);e.d(n,"m",function(){return u.a});var a=e(149);e.d(n,"n",function(){return a.a}),e.d(n,"k",function(){return a.b});var c=e(402);e.d(n,"p",function(){return c.a}),e.d(n,"t",function(){return c.b});var s=e(403);e.d(n,"q",function(){return s.a});var l=e(404);e.d(n,"r",function(){return l.a});var f=e(405);e.d(n,"u",function(){return f.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var p=e(422);e.d(n,"x",function(){return p.a});var v=e(423);e.d(n,"z",function(){return v.a});var b=e(424);e.d(n,"A",function(){return b.a});var g=e(425);e.d(n,"y",function(){return g.a});var y=e(426);e.d(n,"b",function(){return y.a});var m=e(427);e.d(n,"f",function(){return m.b}),e.d(n,"h",function(){return m.c}),e.d(n,"a",function(){return m.a});var x=e(428);e.d(n,"g",function(){return x.a}),e.d(n,"d",function(){return x.c}),e.d(n,"c",function(){return x.b}),e.d(n,"e",function(){return x.d});var _=e(429);e.d(n,"s",function(){return _.a})},function(t,n,e){"use strict";n.a=o,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(o().paddingInner(1))};var r=e(3),i=e(149);function o(){var t,n,e=Object(i.a)().unknown(void 0),u=e.domain,a=e.range,c=[0,1],s=!1,l=0,f=0,h=.5;function d(){var e=u().length,i=c[1]0){for(;ha)break;b.push(f)}}else for(;h=1;--s)if(!((f=c*s)a)break;b.push(f)}}else b=Object(r.B)(h,d,Math.min(d-h,v)).map(p);return n?b.reverse():b};n.tickFormat=function(t,e){if(null==e&&(e=10===o?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,o*t/n.ticks().length);return function(t){var n=t/p(Math.round(l(t)));return n*o0?o[r-1]:n[0],r=u?[a[u-1],e]:[a[r-1],a[r]]};s.copy=function(){return t().domain([n,e]).range(c)};return Object(o.b)(s)};var r=e(3),i=e(15),o=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],o=1;function u(t){if(t<=t)return e[Object(r.b)(n,t,0,o)]}u.domain=function(t){return arguments.length?(n=i.b.call(t),o=Math.min(n.length,e.length-1),u):n.slice()};u.range=function(t){return arguments.length?(e=i.b.call(t),o=Math.min(n.length,e.length-1),u):e.slice()};u.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};u.copy=function(){return t().domain(n).range(e)};return u};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=e(9),o=Object(r.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.getUTCSeconds()});n.a=o;var u=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=o;var u=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=e(9),o=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=o;var u=o.range},function(t,n,e){"use strict";e.d(n,"a",function(){return u});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=o;var u=o.range},function(t,n,e){"use strict";e.d(n,"g",function(){return u}),e.d(n,"c",function(){return a}),e.d(n,"k",function(){return c}),e.d(n,"m",function(){return s}),e.d(n,"i",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return p}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return b}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return m});var r=e(2),i=e(9);function o(t){return Object(r.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())*i.c)/i.e})}var u=o(0),a=o(1),c=o(2),s=o(3),l=o(4),f=o(5),h=o(6),d=u.range,p=a.range,v=c.range,b=s.range,g=l.range,y=f.range,m=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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 o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=o;var u=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=o;var u=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return u});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=o;var u=o.range},function(t,n,e){"use strict";e.d(n,"g",function(){return u}),e.d(n,"c",function(){return a}),e.d(n,"k",function(){return c}),e.d(n,"m",function(){return s}),e.d(n,"i",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return p}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return b}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return m});var r=e(2),i=e(9);function o(t){return Object(r.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)/i.e})}var u=o(0),a=o(1),c=o(2),s=o(3),l=o(4),f=o(5),h=o(6),d=u.range,p=a.range,v=c.range,b=s.range,g=l.range,y=f.range,m=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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 o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.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?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var o=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var o=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=o},function(t,n,e){"use strict";var r=e(152),i=e(82),o=e(45);n.a=function(){return Object(r.a)(o._7,o.R,o._5,o.F,o.J,o.N,o.V,o.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"a",function(){return u});var r=e(7),i=e(5),o=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),u=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),a=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return a.h=360*t-100,a.s=1.5-1.5*n,a.l=.8-.9*n,a+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"b",function(){return u}),e.d(n,"d",function(){return a});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var o=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),u=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),a=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,o=!1;function u(t){var r=(t-e)/(i-e);return n(o?Math.max(0,Math.min(1,r)):r)}u.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],u):[e,i]};u.clamp=function(t){return arguments.length?(o=!!t,u):o};u.interpolator=function(t){return arguments.length?(n=t,u):n};u.copy=function(){return t(n).domain([e,i]).clamp(o)};return Object(r.b)(u)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(29);function u(t){return t.innerRadius}function a(t){return t.outerRadius}function c(t){return t.startAngle}function s(t){return t.endAngle}function l(t){return t&&t.padAngle}function f(t,n,e,r,i,u,a){var c=t-e,s=n-r,l=(a?u:-u)/Object(o.l)(c*c+s*s),f=l*s,h=-l*c,d=t+f,p=n+h,v=e+f,b=r+h,g=(d+v)/2,y=(p+b)/2,m=v-d,x=b-p,_=m*m+x*x,w=i-u,O=d*b-v*p,j=(x<0?-1:1)*Object(o.l)(Object(o.h)(0,w*w*_-O*O)),T=(O*x-m*j)/_,C=(-O*m-x*j)/_,M=(O*x+m*j)/_,S=(-O*m+x*j)/_,k=T-g,A=C-y,N=M-g,E=S-y;return k*k+A*A>N*N+E*E&&(T=M,C=S),{cx:T,cy:C,x01:-f,y01:-h,x11:T*(i/w-1),y11:C*(i/w-1)}}n.a=function(){var t=u,n=a,e=Object(i.a)(0),h=null,d=c,p=s,v=l,b=null;function g(){var i,u,a=+t.apply(this,arguments),c=+n.apply(this,arguments),s=d.apply(this,arguments)-o.g,l=p.apply(this,arguments)-o.g,g=Object(o.a)(l-s),y=l>s;if(b||(b=i=Object(r.a)()),co.f)if(g>o.m-o.f)b.moveTo(c*Object(o.e)(s),c*Object(o.k)(s)),b.arc(0,0,c,s,l,!y),a>o.f&&(b.moveTo(a*Object(o.e)(l),a*Object(o.k)(l)),b.arc(0,0,a,l,s,y));else{var m,x,_=s,w=l,O=s,j=l,T=g,C=g,M=v.apply(this,arguments)/2,S=M>o.f&&(h?+h.apply(this,arguments):Object(o.l)(a*a+c*c)),k=Object(o.i)(Object(o.a)(c-a)/2,+e.apply(this,arguments)),A=k,N=k;if(S>o.f){var E=Object(o.c)(S/a*Object(o.k)(M)),D=Object(o.c)(S/c*Object(o.k)(M));(T-=2*E)>o.f?(O+=E*=y?1:-1,j-=E):(T=0,O=j=(s+l)/2),(C-=2*D)>o.f?(_+=D*=y?1:-1,w-=D):(C=0,_=w=(s+l)/2)}var L=c*Object(o.e)(_),q=c*Object(o.k)(_),R=a*Object(o.e)(j),P=a*Object(o.k)(j);if(k>o.f){var F=c*Object(o.e)(w),z=c*Object(o.k)(w),H=a*Object(o.e)(O),I=a*Object(o.k)(O);if(go.f?function(t,n,e,r,i,o,u,a){var c=e-t,s=r-n,l=u-i,f=a-o,h=(l*(n-o)-f*(t-i))/(f*c-l*s);return[t+h*c,n+h*s]}(L,q,H,I,F,z,R,P):[R,P],U=L-$[0],B=q-$[1],W=F-$[0],Y=z-$[1],V=1/Object(o.k)(Object(o.b)((U*W+B*Y)/(Object(o.l)(U*U+B*B)*Object(o.l)(W*W+Y*Y)))/2),X=Object(o.l)($[0]*$[0]+$[1]*$[1]);A=Object(o.i)(k,(a-X)/(V-1)),N=Object(o.i)(k,(c-X)/(V+1))}}C>o.f?N>o.f?(m=f(H,I,L,q,c,N,y),x=f(F,z,R,P,c,N,y),b.moveTo(m.cx+m.x01,m.cy+m.y01),No.f&&T>o.f?A>o.f?(m=f(R,P,F,z,a,-A,y),x=f(L,q,H,I,a,-A,y),b.lineTo(m.cx+m.x01,m.cy+m.y01),A0&&(p+=h);for(null!=n?v.sort(function(t,e){return n(b[t],b[e])}):null!=e&&v.sort(function(t,n){return e(r[t],r[n])}),i=0,l=p?(y-d*x)/p:0;i0?h*l:0)+x,b[o]={data:r[o],index:i,value:h,startAngle:g,endAngle:f,padAngle:m};return b}return l.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),l):t},l.sortValues=function(t){return arguments.length?(n=t,e=null,l):n},l.sort=function(t){return arguments.length?(e=t,n=null,l):e},l.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.a)(+t),l):a},l.endAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),l):c},l.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Object(r.a)(+t),l):s},l}},function(t,n,e){"use strict";n.a=function(t,n){return nt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),o=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,u=t.lineX1,a=t.lineY0,c=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(o.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(o.b)(u())},delete t.lineX1,t.lineInnerRadius=function(){return Object(o.b)(a())},delete t.lineY0,t.lineOuterRadius=function(){return Object(o.b)(c())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return l(f)},n.c=function(){return l(h)},n.b=function(){var t=l(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),o=e(16),u=e(85),a=e(158);function c(t){return t.source}function s(t){return t.target}function l(t){var n=c,e=s,a=u.a,l=u.b,f=null;function h(){var o,u=i.a.call(arguments),c=n.apply(this,u),s=e.apply(this,u);if(f||(f=o=Object(r.a)()),t(f,+a.apply(this,(u[0]=c,u)),+l.apply(this,u),+a.apply(this,(u[0]=s,u)),+l.apply(this,u)),o)return f=null,o+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(a="function"==typeof t?t:Object(o.a)(+t),h):a},h.y=function(t){return arguments.length?(l="function"==typeof t?t:Object(o.a)(+t),h):l},h.context=function(t){return arguments.length?(f=null==t?null:t,h):f},h}function f(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var o=Object(a.a)(n,e),u=Object(a.a)(n,e=(e+i)/2),c=Object(a.a)(r,e),s=Object(a.a)(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(u[0],u[1],c[0],c[1],s[0],s[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),o=e(161),u=e(162),a=e(163),c=e(164),s=e(165),l=e(166),f=e(16),h=[i.a,o.a,u.a,c.a,a.a,s.a,l.a];n.a=function(){var t=Object(f.a)(i.a),n=Object(f.a)(64),e=null;function o(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return o.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(f.a)(n),o):t},o.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(f.a)(+t),o):n},o.context=function(t){return arguments.length?(e=null==t?null:t,o):e},o}},function(t,n,e){"use strict";var r=e(47),i=e(48);function o(t){this._context=t}o.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new o(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}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(){(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;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(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,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));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 e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),o=e(86);function u(t,n){this._context=t,this._alpha=n}u.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._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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(o.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 e(t){return n?new u(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function o(t,n){this._context=t,this._alpha=n}o.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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:Object(i.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 e(t){return n?new o(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.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 i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,o=n-t._x1,u=(t._y1-t._y0)/(i||o<0&&-0),a=(e-t._y1)/(o||i<0&&-0),c=(u*o+a*i)/(i+o);return(r(u)+r(a))*Math.min(Math.abs(u),Math.abs(a),.5*Math.abs(c))||0}function o(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function u(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function a(t){this._context=t}function c(t){this._context=new s(t)}function s(t){this._context=t}n.a=function(t){return new a(t)},n.b=function(t){return new c(t)},a.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:u(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+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,u(this,o(this,e=i(this,t,n)),e);break;default:u(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(c.prototype=Object.create(a.prototype)).point=function(t,n){a.prototype.point.call(this,n,t)},s.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-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 e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),o=e(30),u=e(31);function a(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=u.a,e=o.a,c=a;function s(r){var i,o,u=t.apply(this,arguments),a=r.length,s=u.length,l=new Array(s);for(i=0;i0){for(var e,i,o,u=0,a=t[0].length;u1)for(var e,r,i,o,u,a,c=0,s=t[n[0]].length;c=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):r[0]=o}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,o=t[n[0]],u=o.length;i0&&(i=(e=t[n[0]]).length)>0){for(var e,i,o,u=0,a=1;aa.f)p=p.L;else{if(!((c=l-h(p,d))>a.f)){r>-a.f?(n=p.P,e=p):c>-a.f?(n=p,e=p.N):n=e=p;break}if(!p.R){n=p;break}p=p.R}Object(i.c)(t);var v=s(t);if(a.a.insert(n,v),!n&&!e)return;if(n===e)return Object(o.b)(n),e=s(n.site),a.a.insert(v,e),v.edge=e.edge=Object(u.c)(n.site,v.site),Object(o.a)(n),void Object(o.a)(e);if(!e)return void(v.edge=Object(u.c)(n.site,v.site));Object(o.b)(n),Object(o.b)(e);var b=n.site,g=b[0],y=b[1],m=t[0]-g,x=t[1]-y,_=e.site,w=_[0]-g,O=_[1]-y,j=2*(m*O-x*w),T=m*m+x*x,C=w*w+O*O,M=[(O*T-x*C)/j+g,(m*C-w*T)/j+y];Object(u.d)(e.edge,b,_,M),v.edge=Object(u.c)(b,t,null,M),e.edge=Object(u.c)(t,_,null,M),Object(o.a)(n),Object(o.a)(e)};var r=e(88),i=e(169),o=e(170),u=e(89),a=e(32),c=[];function s(t){var n=c.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function l(t){Object(o.b)(t),a.a.remove(t),c.push(t),Object(r.a)(t)}function f(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;var a=(e=u.site)[0],c=e[1],s=c-n;if(!s)return a;var l=a-r,f=1/o-1/s,h=l/s;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*s)-c+s/2+i-o/2)))/f+r:(r+a)/2}function h(t,n){var e=t.N;if(e)return f(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),o=e(5),u=e(1),a=e(62),c=e(461),s=e(462),l=e(171),f=e(463);function h(){return!u.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function p(){return this.__zoom||l.c}function v(){return-u.e.deltaY*(u.e.deltaMode?120:1)/500}function b(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}n.a=function(){var t,n,e=h,y=d,m=g,x=v,_=b,w=[0,1/0],O=[[-1/0,-1/0],[1/0,1/0]],j=250,T=o.v,C=[],M=Object(r.a)("start","zoom","end"),S=500,k=150,A=0;function N(t){t.property("__zoom",p).on("wheel.zoom",F).on("mousedown.zoom",z).on("dblclick.zoom",H).filter(_).on("touchstart.zoom",I).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",U).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,n){return(n=Math.max(w[0],Math.min(w[1],n)))===t.k?t:new l.a(n,t.x,t.y)}function D(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new l.a(t.k,r,i)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=y.apply(this,t),o=e||L(i),u=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),a=this.__zoom,c="function"==typeof n?n.apply(this,t):n,s=T(a.invert(o).concat(u/a.k),c.invert(o).concat(u/c.k));return function(t){if(1===t)t=c;else{var n=s(t),e=u/n[2];t=new l.a(e,o[0]-n[0]*e,o[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=C.length;rA}t.zoom("mouse",m(D(t.that.__zoom,t.mouse[0]=Object(u.h)(t.that),t.mouse[1]),t.extent,O))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(u.e.view,t.moved),Object(f.a)(),t.end()},!0),o=Object(u.h)(this),c=u.e.clientX,s=u.e.clientY;Object(i.b)(u.e.view),Object(f.b)(),t.mouse=[o,this.__zoom.invert(o)],Object(a.b)(this),t.start()}}function H(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(u.h)(this),r=t.invert(n),i=t.k*(u.e.shiftKey?.5:2),o=m(D(E(t,i),n,r),y.apply(this,arguments),O);Object(f.a)(),j>0?Object(u.k)(this).transition().duration(j).call(q,o,n):Object(u.k)(this).call(N.transform,o)}}function I(){if(e.apply(this,arguments)){var n,r,i,o,c=R(this,arguments),s=u.e.changedTouches,l=s.length;for(Object(f.b)(),r=0;r-1&&(n+=",");var e=t.split(".");switch(n+=".",n+=e.length>1?e[1].length:0,t.slice(-1)){case"%":n+="%";break;case"0":n+="f"}return r.format(n)}},o=function(t,n,e){var r=function(n,e,r,i,o){return!(!t.addError||!t.clearErrors)&&(ro?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===o?"exactly":"no more than")+" "+o+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,o=i.pivots,u=i.dimensions,a=i.measure_like;return r("pivot-req","Pivot",o.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",u.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",a.length,e.min_measures,e.max_measures)}},,function(t,n,e){var r; /*! * jQuery JavaScript Library v3.3.1 * https://jquery.com/ @@ -25,7 +25,7 @@ * * Date: 2018-01-20T17:24Z */ -!function(n,e){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=n.document?e(n,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(n)}("undefined"!=typeof window?window:this,function(e,i){"use strict";var o=[],a=e.document,u=Object.getPrototypeOf,c=o.slice,s=o.concat,l=o.push,f=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,v=p.toString,b=v.call(Object),g={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},m=function(t){return null!=t&&t===t.window},x={type:!0,src:!0,noModule:!0};function _(t,n,e){var r,i=(n=n||a).createElement("script");if(i.text=t,e)for(r in x)e[r]&&(i[r]=e[r]);n.head.appendChild(i).parentNode.removeChild(i)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[d.call(t)]||"object":typeof t}var O=function(t,n){return new O.fn.init(t,n)},j=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function T(t){var n=!!t&&"length"in t&&t.length,e=w(t);return!y(t)&&!m(t)&&("array"===e||0===n||"number"==typeof n&&n>0&&n-1 in t)}O.fn=O.prototype={jquery:"3.3.1",constructor:O,length:0,toArray:function(){return c.call(this)},get:function(t){return null==t?c.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=O.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return O.each(this,t)},map:function(t){return this.pushStack(O.map(this,function(n,e){return t.call(n,e,n)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var n=this.length,e=+t+(t<0?n:0);return this.pushStack(e>=0&&e0&&n-1 in t)}O.fn=O.prototype={jquery:"3.3.1",constructor:O,length:0,toArray:function(){return c.call(this)},get:function(t){return null==t?c.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=O.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return O.each(this,t)},map:function(t){return this.pushStack(O.map(this,function(n,e){return t.call(n,e,n)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var n=this.length,e=+t+(t<0?n:0);return this.pushStack(e>=0&&e+~]|"+R+")"+R+"*"),B=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),W=new RegExp(F),Y=new RegExp("^"+P+"$"),V={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),tt=function(t,n,e){var r="0x"+n-65536;return r!=r||e?n:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,et=function(t,n){return n?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){h()},it=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{E.apply(k=D.call(_.childNodes),_.childNodes),k[_.childNodes.length].nodeType}catch(t){E={apply:k.length?function(t,n){N.apply(t,D.call(n))}:function(t,n){for(var e=t.length,r=0;t[e++]=n[r++];);t.length=e-1}}}function ot(t,n,r,i){var o,u,s,l,f,p,g,y=n&&n.ownerDocument,w=n?n.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&((n?n.ownerDocument||n:_)!==d&&h(n),n=n||d,v)){if(11!==w&&(f=Q.exec(t)))if(o=f[1]){if(9===w){if(!(s=n.getElementById(o)))return r;if(s.id===o)return r.push(s),r}else if(y&&(s=y.getElementById(o))&&m(n,s)&&s.id===o)return r.push(s),r}else{if(f[2])return E.apply(r,n.getElementsByTagName(t)),r;if((o=f[3])&&e.getElementsByClassName&&n.getElementsByClassName)return E.apply(r,n.getElementsByClassName(o)),r}if(e.qsa&&!C[t+" "]&&(!b||!b.test(t))){if(1!==w)y=n,g=t;else if("object"!==n.nodeName.toLowerCase()){for((l=n.getAttribute("id"))?l=l.replace(nt,et):n.setAttribute("id",l=x),u=(p=a(t)).length;u--;)p[u]="#"+l+" "+gt(p[u]);g=p.join(","),y=J.test(t)&&vt(n.parentNode)||n}if(g)try{return E.apply(r,y.querySelectorAll(g)),r}catch(t){}finally{l===x&&n.removeAttribute("id")}}}return c(t.replace(I,"$1"),n,r,i)}function at(){var t=[];return function n(e,i){return t.push(e+" ")>r.cacheLength&&delete n[t.shift()],n[e+" "]=i}}function ut(t){return t[x]=!0,t}function ct(t){var n=d.createElement("fieldset");try{return!!t(n)}catch(t){return!1}finally{n.parentNode&&n.parentNode.removeChild(n),n=null}}function st(t,n){for(var e=t.split("|"),i=e.length;i--;)r.attrHandle[e[i]]=n}function lt(t,n){var e=n&&t,r=e&&1===t.nodeType&&1===n.nodeType&&t.sourceIndex-n.sourceIndex;if(r)return r;if(e)for(;e=e.nextSibling;)if(e===n)return-1;return t?1:-1}function ft(t){return function(n){return"input"===n.nodeName.toLowerCase()&&n.type===t}}function ht(t){return function(n){var e=n.nodeName.toLowerCase();return("input"===e||"button"===e)&&n.type===t}}function dt(t){return function(n){return"form"in n?n.parentNode&&!1===n.disabled?"label"in n?"label"in n.parentNode?n.parentNode.disabled===t:n.disabled===t:n.isDisabled===t||n.isDisabled!==!t&&it(n)===t:n.disabled===t:"label"in n&&n.disabled===t}}function pt(t){return ut(function(n){return n=+n,ut(function(e,r){for(var i,o=t([],e.length,n),a=o.length;a--;)e[i=o[a]]&&(e[i]=!(r[i]=e[i]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(n in e=ot.support={},o=ot.isXML=function(t){var n=t&&(t.ownerDocument||t).documentElement;return!!n&&"HTML"!==n.nodeName},h=ot.setDocument=function(t){var n,i,a=t?t.ownerDocument||t:_;return a!==d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,v=!o(d),_!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),e.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),e.getElementsByTagName=ct(function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length}),e.getElementsByClassName=G.test(d.getElementsByClassName),e.getById=ct(function(t){return p.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length}),e.getById?(r.filter.ID=function(t){var n=t.replace(Z,tt);return function(t){return t.getAttribute("id")===n}},r.find.ID=function(t,n){if(void 0!==n.getElementById&&v){var e=n.getElementById(t);return e?[e]:[]}}):(r.filter.ID=function(t){var n=t.replace(Z,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}},r.find.ID=function(t,n){if(void 0!==n.getElementById&&v){var e,r,i,o=n.getElementById(t);if(o){if((e=o.getAttributeNode("id"))&&e.value===t)return[o];for(i=n.getElementsByName(t),r=0;o=i[r++];)if((e=o.getAttributeNode("id"))&&e.value===t)return[o]}return[]}}),r.find.TAG=e.getElementsByTagName?function(t,n){return void 0!==n.getElementsByTagName?n.getElementsByTagName(t):e.qsa?n.querySelectorAll(t):void 0}:function(t,n){var e,r=[],i=0,o=n.getElementsByTagName(t);if("*"===t){for(;e=o[i++];)1===e.nodeType&&r.push(e);return r}return o},r.find.CLASS=e.getElementsByClassName&&function(t,n){if(void 0!==n.getElementsByClassName&&v)return n.getElementsByClassName(t)},g=[],b=[],(e.qsa=G.test(d.querySelectorAll))&&(ct(function(t){p.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||b.push("\\["+R+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+x+"-]").length||b.push("~="),t.querySelectorAll(":checked").length||b.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||b.push(".#.+[+~]")}),ct(function(t){t.innerHTML="";var n=d.createElement("input");n.setAttribute("type","hidden"),t.appendChild(n).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&b.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&b.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),b.push(",.*:")})),(e.matchesSelector=G.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ct(function(t){e.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),g.push("!=",F)}),b=b.length&&new RegExp(b.join("|")),g=g.length&&new RegExp(g.join("|")),n=G.test(p.compareDocumentPosition),m=n||G.test(p.contains)?function(t,n){var e=9===t.nodeType?t.documentElement:t,r=n&&n.parentNode;return t===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,n){if(n)for(;n=n.parentNode;)if(n===t)return!0;return!1},M=n?function(t,n){if(t===n)return f=!0,0;var r=!t.compareDocumentPosition-!n.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(n.ownerDocument||n)?t.compareDocumentPosition(n):1)||!e.sortDetached&&n.compareDocumentPosition(t)===r?t===d||t.ownerDocument===_&&m(_,t)?-1:n===d||n.ownerDocument===_&&m(_,n)?1:l?L(l,t)-L(l,n):0:4&r?-1:1)}:function(t,n){if(t===n)return f=!0,0;var e,r=0,i=t.parentNode,o=n.parentNode,a=[t],u=[n];if(!i||!o)return t===d?-1:n===d?1:i?-1:o?1:l?L(l,t)-L(l,n):0;if(i===o)return lt(t,n);for(e=t;e=e.parentNode;)a.unshift(e);for(e=n;e=e.parentNode;)u.unshift(e);for(;a[r]===u[r];)r++;return r?lt(a[r],u[r]):a[r]===_?-1:u[r]===_?1:0},d):d},ot.matches=function(t,n){return ot(t,null,null,n)},ot.matchesSelector=function(t,n){if((t.ownerDocument||t)!==d&&h(t),n=n.replace(B,"='$1']"),e.matchesSelector&&v&&!C[n+" "]&&(!g||!g.test(n))&&(!b||!b.test(n)))try{var r=y.call(t,n);if(r||e.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(n,d,null,[t]).length>0},ot.contains=function(t,n){return(t.ownerDocument||t)!==d&&h(t),m(t,n)},ot.attr=function(t,n){(t.ownerDocument||t)!==d&&h(t);var i=r.attrHandle[n.toLowerCase()],o=i&&S.call(r.attrHandle,n.toLowerCase())?i(t,n,!v):void 0;return void 0!==o?o:e.attributes||!v?t.getAttribute(n):(o=t.getAttributeNode(n))&&o.specified?o.value:null},ot.escape=function(t){return(t+"").replace(nt,et)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var n,r=[],i=0,o=0;if(f=!e.detectDuplicates,l=!e.sortStable&&t.slice(0),t.sort(M),f){for(;n=t[o++];)n===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return l=null,t},i=ot.getText=function(t){var n,e="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)e+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;n=t[r++];)e+=i(n);return e},(r=ot.selectors={cacheLength:50,createPseudo:ut,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var n,e=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":e&&W.test(e)&&(n=a(e,!0))&&(n=e.indexOf(")",e.length-n)-e.length)&&(t[0]=t[0].slice(0,n),t[2]=e.slice(0,n)),t.slice(0,3))}},filter:{TAG:function(t){var n=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===n}},CLASS:function(t){var n=j[t+" "];return n||(n=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&j(t,function(t){return n.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,e){return function(r){var i=ot.attr(r,t);return null==i?"!="===n:!n||(i+="","="===n?i===e:"!="===n?i!==e:"^="===n?e&&0===i.indexOf(e):"*="===n?e&&i.indexOf(e)>-1:"$="===n?e&&i.slice(-e.length)===e:"~="===n?(" "+i.replace(z," ")+" ").indexOf(e)>-1:"|="===n&&(i===e||i.slice(0,e.length+1)===e+"-"))}},CHILD:function(t,n,e,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),u="of-type"===n;return 1===r&&0===i?function(t){return!!t.parentNode}:function(n,e,c){var s,l,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",b=n.parentNode,g=u&&n.nodeName.toLowerCase(),y=!c&&!u,m=!1;if(b){if(o){for(;v;){for(h=n;h=h[v];)if(u?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?b.firstChild:b.lastChild],a&&y){for(m=(d=(s=(l=(f=(h=b)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&s[1])&&s[2],h=d&&b.childNodes[d];h=++d&&h&&h[v]||(m=d=0)||p.pop();)if(1===h.nodeType&&++m&&h===n){l[t]=[w,d,m];break}}else if(y&&(m=d=(s=(l=(f=(h=n)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&s[1]),!1===m)for(;(h=++d&&h&&h[v]||(m=d=0)||p.pop())&&((u?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++m||(y&&((l=(f=h[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[w,m]),h!==n)););return(m-=i)===r||m%r==0&&m/r>=0}}},PSEUDO:function(t,n){var e,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[x]?i(n):i.length>1?(e=[t,t,"",n],r.setFilters.hasOwnProperty(t.toLowerCase())?ut(function(t,e){for(var r,o=i(t,n),a=o.length;a--;)t[r=L(t,o[a])]=!(e[r]=o[a])}):function(t){return i(t,0,e)}):i}},pseudos:{not:ut(function(t){var n=[],e=[],r=u(t.replace(I,"$1"));return r[x]?ut(function(t,n,e,i){for(var o,a=r(t,null,i,[]),u=t.length;u--;)(o=a[u])&&(t[u]=!(n[u]=o))}):function(t,i,o){return n[0]=t,r(n,null,o,e),n[0]=null,!e.pop()}}),has:ut(function(t){return function(n){return ot(t,n).length>0}}),contains:ut(function(t){return t=t.replace(Z,tt),function(n){return(n.textContent||n.innerText||i(n)).indexOf(t)>-1}}),lang:ut(function(t){return Y.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(Z,tt).toLowerCase(),function(n){var e;do{if(e=v?n.lang:n.getAttribute("xml:lang")||n.getAttribute("lang"))return(e=e.toLowerCase())===t||0===e.indexOf(t+"-")}while((n=n.parentNode)&&1===n.nodeType);return!1}}),target:function(n){var e=t.location&&t.location.hash;return e&&e.slice(1)===n.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var n=t.nodeName.toLowerCase();return"input"===n&&!!t.checked||"option"===n&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return X.test(t.nodeName)},button:function(t){var n=t.nodeName.toLowerCase();return"input"===n&&"button"===t.type||"button"===n},text:function(t){var n;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(n=t.getAttribute("type"))||"text"===n.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,n){return[n-1]}),eq:pt(function(t,n,e){return[e<0?e+n:e]}),even:pt(function(t,n){for(var e=0;e=0;)t.push(r);return t}),gt:pt(function(t,n,e){for(var r=e<0?e+n:e;++r1?function(n,e,r){for(var i=t.length;i--;)if(!t[i](n,e,r))return!1;return!0}:t[0]}function xt(t,n,e,r,i){for(var o,a=[],u=0,c=t.length,s=null!=n;u-1&&(o[s]=!(a[s]=f))}}else g=xt(g===a?g.splice(p,g.length):g),i?i(null,a,g,c):E.apply(a,g)})}function wt(t){for(var n,e,i,o=t.length,a=r.relative[t[0].type],u=a||r.relative[" "],c=a?1:0,l=yt(function(t){return t===n},u,!0),f=yt(function(t){return L(n,t)>-1},u,!0),h=[function(t,e,r){var i=!a&&(r||e!==s)||((n=e).nodeType?l(t,e,r):f(t,e,r));return n=null,i}];c1&&mt(h),c>1&>(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(I,"$1"),e,c0,i=t.length>0,o=function(o,a,u,c,l){var f,p,b,g=0,y="0",m=o&&[],x=[],_=s,O=o||i&&r.find.TAG("*",l),j=w+=null==_?1:Math.random()||.1,T=O.length;for(l&&(s=a===d||a||l);y!==T&&null!=(f=O[y]);y++){if(i&&f){for(p=0,a||f.ownerDocument===d||(h(f),u=!v);b=t[p++];)if(b(f,a||d,u)){c.push(f);break}l&&(w=j)}e&&((f=!b&&f)&&g--,o&&m.push(f))}if(g+=y,e&&y!==g){for(p=0;b=n[p++];)b(m,x,a,u);if(o){if(g>0)for(;y--;)m[y]||x[y]||(x[y]=A.call(c));x=xt(x)}E.apply(c,x),l&&!o&&x.length>0&&g+n.length>1&&ot.uniqueSort(c)}return l&&(w=j,s=_),m};return e?ut(o):o}(o,i))).selector=t}return u},c=ot.select=function(t,n,e,i){var o,c,s,l,f,h="function"==typeof t&&t,d=!i&&a(t=h.selector||t);if(e=e||[],1===d.length){if((c=d[0]=d[0].slice(0)).length>2&&"ID"===(s=c[0]).type&&9===n.nodeType&&v&&r.relative[c[1].type]){if(!(n=(r.find.ID(s.matches[0].replace(Z,tt),n)||[])[0]))return e;h&&(n=n.parentNode),t=t.slice(c.shift().value.length)}for(o=V.needsContext.test(t)?0:c.length;o--&&(s=c[o],!r.relative[l=s.type]);)if((f=r.find[l])&&(i=f(s.matches[0].replace(Z,tt),J.test(c[0].type)&&vt(n.parentNode)||n))){if(c.splice(o,1),!(t=i.length&>(c)))return E.apply(e,i),e;break}}return(h||u(t,d))(i,n,!v,e,!n||J.test(t)&&vt(n.parentNode)||n),e},e.sortStable=x.split("").sort(M).join("")===x,e.detectDuplicates=!!f,h(),e.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))}),ct(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||st("type|href|height|width",function(t,n,e){if(!e)return t.getAttribute(n,"type"===n.toLowerCase()?1:2)}),e.attributes&&ct(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||st("value",function(t,n,e){if(!e&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ct(function(t){return null==t.getAttribute("disabled")})||st(q,function(t,n,e){var r;if(!e)return!0===t[n]?n.toLowerCase():(r=t.getAttributeNode(n))&&r.specified?r.value:null}),ot}(e);O.find=C,O.expr=C.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=C.uniqueSort,O.text=C.getText,O.isXMLDoc=C.isXML,O.contains=C.contains,O.escapeSelector=C.escape;var M=function(t,n,e){for(var r=[],i=void 0!==e;(t=t[n])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&O(t).is(e))break;r.push(t)}return r},S=function(t,n){for(var e=[];t;t=t.nextSibling)1===t.nodeType&&t!==n&&e.push(t);return e},k=O.expr.match.needsContext;function A(t,n){return t.nodeName&&t.nodeName.toLowerCase()===n.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(t,n,e){return y(n)?O.grep(t,function(t,r){return!!n.call(t,r,t)!==e}):n.nodeType?O.grep(t,function(t){return t===n!==e}):"string"!=typeof n?O.grep(t,function(t){return f.call(n,t)>-1!==e}):O.filter(n,t,e)}O.filter=function(t,n,e){var r=n[0];return e&&(t=":not("+t+")"),1===n.length&&1===r.nodeType?O.find.matchesSelector(r,t)?[r]:[]:O.find.matches(t,O.grep(n,function(t){return 1===t.nodeType}))},O.fn.extend({find:function(t){var n,e,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(O(t).filter(function(){for(n=0;n1?O.uniqueSort(e):e},filter:function(t){return this.pushStack(E(this,t||[],!1))},not:function(t){return this.pushStack(E(this,t||[],!0))},is:function(t){return!!E(this,"string"==typeof t&&k.test(t)?O(t):t||[],!1).length}});var D,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(t,n,e){var r,i;if(!t)return this;if(e=e||D,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:L.exec(t))||!r[1]&&n)return!n||n.jquery?(n||e).find(t):this.constructor(n).find(t);if(r[1]){if(n=n instanceof O?n[0]:n,O.merge(this,O.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),N.test(r[1])&&O.isPlainObject(n))for(r in n)y(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==e.ready?e.ready(t):t(O):O.makeArray(t,this)}).prototype=O.fn,D=O(a);var q=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function P(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}O.fn.extend({has:function(t){var n=O(t,this),e=n.length;return this.filter(function(){for(var t=0;t-1:1===e.nodeType&&O.find.matchesSelector(e,t))){o.push(e);break}return this.pushStack(o.length>1?O.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(O(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),O.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return M(t,"parentNode")},parentsUntil:function(t,n,e){return M(t,"parentNode",e)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return M(t,"nextSibling")},prevAll:function(t){return M(t,"previousSibling")},nextUntil:function(t,n,e){return M(t,"nextSibling",e)},prevUntil:function(t,n,e){return M(t,"previousSibling",e)},siblings:function(t){return S((t.parentNode||{}).firstChild,t)},children:function(t){return S(t.firstChild)},contents:function(t){return A(t,"iframe")?t.contentDocument:(A(t,"template")&&(t=t.content||t),O.merge([],t.childNodes))}},function(t,n){O.fn[t]=function(e,r){var i=O.map(this,n,e);return"Until"!==t.slice(-5)&&(r=e),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(R[t]||O.uniqueSort(i),q.test(t)&&i.reverse()),this.pushStack(i)}});var H=/[^\x20\t\r\n\f]+/g;function F(t){return t}function z(t){throw t}function I(t,n,e,r){var i;try{t&&y(i=t.promise)?i.call(t).done(n).fail(e):t&&y(i=t.then)?i.call(t,n,e):n.apply(void 0,[t].slice(r))}catch(t){e.apply(void 0,[t])}}O.Callbacks=function(t){t="string"==typeof t?function(t){var n={};return O.each(t.match(H)||[],function(t,e){n[e]=!0}),n}(t):O.extend({},t);var n,e,r,i,o=[],a=[],u=-1,c=function(){for(i=i||t.once,r=n=!0;a.length;u=-1)for(e=a.shift();++u-1;)o.splice(e,1),e<=u&&u--}),this},has:function(t){return t?O.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return i=a=[],e||n||(o=e=""),this},locked:function(){return!!i},fireWith:function(t,e){return i||(e=[t,(e=e||[]).slice?e.slice():e],a.push(e),n||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},O.extend({Deferred:function(t){var n=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return O.Deferred(function(e){O.each(n,function(n,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var u=this,c=arguments,s=function(){var e,s;if(!(t=o&&(r!==z&&(u=void 0,c=[e]),n.rejectWith(u,c))}};t?l():(O.Deferred.getStackHook&&(l.stackTrace=O.Deferred.getStackHook()),e.setTimeout(l))}}return O.Deferred(function(e){n[0][3].add(a(0,e,y(i)?i:F,e.notifyWith)),n[1][3].add(a(0,e,y(t)?t:F)),n[2][3].add(a(0,e,y(r)?r:z))}).promise()},promise:function(t){return null!=t?O.extend(t,i):i}},o={};return O.each(n,function(t,e){var a=e[2],u=e[5];i[e[1]]=a.add,u&&a.add(function(){r=u},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),a.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var n=arguments.length,e=n,r=Array(e),i=c.call(arguments),o=O.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=arguments.length>1?c.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(t,o.done(a(e)).resolve,o.reject,!n),"pending"===o.state()||y(i[e]&&i[e].then)))return o.then();for(;e--;)I(i[e],a(e),o.reject);return o.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&$.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},O.readyException=function(t){e.setTimeout(function(){throw t})};var U=O.Deferred();function B(){a.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),O.ready()}O.fn.ready=function(t){return U.then(t).catch(function(t){O.readyException(t)}),this},O.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==t&&--O.readyWait>0||U.resolveWith(a,[O]))}}),O.ready.then=U.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?e.setTimeout(O.ready):(a.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var W=function(t,n,e,r,i,o,a){var u=0,c=t.length,s=null==e;if("object"===w(e))for(u in i=!0,e)W(t,n,u,e[u],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),s&&(a?(n.call(t,r),n=null):(s=n,n=function(t,n,e){return s.call(O(t),e)})),n))for(;u1,null,!0)},removeData:function(t){return this.each(function(){Z.remove(this,t)})}}),O.extend({queue:function(t,n,e){var r;if(t)return n=(n||"fx")+"queue",r=J.get(t,n),e&&(!r||Array.isArray(e)?r=J.access(t,n,O.makeArray(e)):r.push(e)),r||[]},dequeue:function(t,n){n=n||"fx";var e=O.queue(t,n),r=e.length,i=e.shift(),o=O._queueHooks(t,n);"inprogress"===i&&(i=e.shift(),r--),i&&("fx"===n&&e.unshift("inprogress"),delete o.stop,i.call(t,function(){O.dequeue(t,n)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,n){var e=n+"queueHooks";return J.get(t,e)||J.access(t,e,{empty:O.Callbacks("once memory").add(function(){J.remove(t,[n+"queue",e])})})}}),O.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length\x20\t\r\n\f]+)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,vt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function bt(t,n){var e;return e=void 0!==t.getElementsByTagName?t.getElementsByTagName(n||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(n||"*"):[],void 0===n||n&&A(t,n)?O.merge([t],e):e}function gt(t,n){for(var e=0,r=t.length;e-1)i&&i.push(o);else if(s=O.contains(o.ownerDocument,o),a=bt(f.appendChild(o),"script"),s&>(a),e)for(l=0;o=a[l++];)pt.test(o.type||"")&&e.push(o);return f}yt=a.createDocumentFragment().appendChild(a.createElement("div")),(mt=a.createElement("input")).setAttribute("type","radio"),mt.setAttribute("checked","checked"),mt.setAttribute("name","t"),yt.appendChild(mt),g.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="",g.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=a.documentElement,Ot=/^key/,jt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Tt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function Mt(){return!1}function St(){try{return a.activeElement}catch(t){}}function kt(t,n,e,r,i,o){var a,u;if("object"==typeof n){for(u in"string"!=typeof e&&(r=r||e,e=void 0),n)kt(t,u,e,r,n[u],o);return t}if(null==r&&null==i?(i=e,r=e=void 0):null==i&&("string"==typeof e?(i=r,r=void 0):(i=r,r=e,e=void 0)),!1===i)i=Mt;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return O().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=O.guid++)),t.each(function(){O.event.add(this,n,i,r,e)})}O.event={global:{},add:function(t,n,e,r,i){var o,a,u,c,s,l,f,h,d,p,v,b=J.get(t);if(b)for(e.handler&&(e=(o=e).handler,i=o.selector),i&&O.find.matchesSelector(wt,i),e.guid||(e.guid=O.guid++),(c=b.events)||(c=b.events={}),(a=b.handle)||(a=b.handle=function(n){return void 0!==O&&O.event.triggered!==n.type?O.event.dispatch.apply(t,arguments):void 0}),s=(n=(n||"").match(H)||[""]).length;s--;)d=v=(u=Tt.exec(n[s])||[])[1],p=(u[2]||"").split(".").sort(),d&&(f=O.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=O.event.special[d]||{},l=O.extend({type:d,origType:v,data:r,handler:e,guid:e.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=c[d])||((h=c[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=e.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),O.event.global[d]=!0)},remove:function(t,n,e,r,i){var o,a,u,c,s,l,f,h,d,p,v,b=J.hasData(t)&&J.get(t);if(b&&(c=b.events)){for(s=(n=(n||"").match(H)||[""]).length;s--;)if(d=v=(u=Tt.exec(n[s])||[])[1],p=(u[2]||"").split(".").sort(),d){for(f=O.event.special[d]||{},h=c[d=(r?f.delegateType:f.bindType)||d]||[],u=u[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)l=h[o],!i&&v!==l.origType||e&&e.guid!==l.guid||u&&!u.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,b.handle)||O.removeEvent(t,d,b.handle),delete c[d])}else for(d in c)O.event.remove(t,d+n[s],e,r,!0);O.isEmptyObject(c)&&J.remove(t,"handle events")}},dispatch:function(t){var n,e,r,i,o,a,u=O.event.fix(t),c=new Array(arguments.length),s=(J.get(this,"events")||{})[u.type]||[],l=O.event.special[u.type]||{};for(c[0]=u,n=1;n=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==t.type||!0!==s.disabled)){for(o=[],a={},e=0;e-1:O.find(i,this,null,[s]).length),a[i]&&o.push(r);o.length&&u.push({elem:s,handlers:o})}return s=this,c\x20\t\r\n\f]*)[^>]*)\/>/gi,Nt=/\s*$/g;function Lt(t,n){return A(t,"table")&&A(11!==n.nodeType?n:n.firstChild,"tr")&&O(t).children("tbody")[0]||t}function qt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,n){var e,r,i,o,a,u,c,s;if(1===n.nodeType){if(J.hasData(t)&&(o=J.access(t),a=J.set(n,o),s=o.events))for(i in delete a.handle,a.events={},s)for(e=0,r=s[i].length;e1&&"string"==typeof p&&!g.checkClone&&Et.test(p))return t.each(function(i){var o=t.eq(i);v&&(n[0]=p.call(this,i,o.html())),Ht(o,n,e,r)});if(h&&(o=(i=_t(n,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(a=O.map(bt(i,"script"),qt)).length;f")},clone:function(t,n,e){var r,i,o,a,u,c,s,l=t.cloneNode(!0),f=O.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||O.isXMLDoc(t)))for(a=bt(l),r=0,i=(o=bt(t)).length;r0&>(a,!f&&bt(t,"script")),l},cleanData:function(t){for(var n,e,r,i=O.event.special,o=0;void 0!==(e=t[o]);o++)if(G(e)){if(n=e[J.expando]){if(n.events)for(r in n.events)i[r]?O.event.remove(e,r):O.removeEvent(e,r,n.handle);e[J.expando]=void 0}e[Z.expando]&&(e[Z.expando]=void 0)}}}),O.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return W(this,function(t){return void 0===t?O.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ht(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Lt(this,t).appendChild(t)})},prepend:function(){return Ht(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=Lt(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return Ht(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ht(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(O.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,n){return t=null!=t&&t,n=null==n?t:n,this.map(function(){return O.clone(this,t,n)})},html:function(t){return W(this,function(t){var n=this[0]||{},e=0,r=this.length;if(void 0===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!vt[(dt.exec(t)||["",""])[1].toLowerCase()]){t=O.htmlPrefilter(t);try{for(;e=0&&(c+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-o-c-u-.5))),c}function tn(t,n,e){var r=It(t),i=Ut(t,n,r),o="border-box"===O.css(t,"boxSizing",!1,r),a=o;if(zt.test(i)){if(!e)return i;i="auto"}return a=a&&(g.boxSizingReliable()||i===t.style[n]),("auto"===i||!parseFloat(i)&&"inline"===O.css(t,"display",!1,r))&&(i=t["offset"+n[0].toUpperCase()+n.slice(1)],a=!0),(i=parseFloat(i)||0)+Zt(t,n,e||(o?"border":"content"),a,r,i)+"px"}function nn(t,n,e,r,i){return new nn.prototype.init(t,n,e,r,i)}O.extend({cssHooks:{opacity:{get:function(t,n){if(n){var e=Ut(t,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,n,e,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,u=K(n),c=Yt.test(n),s=t.style;if(c||(n=Qt(u)),a=O.cssHooks[n]||O.cssHooks[u],void 0===e)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:s[n];"string"===(o=typeof e)&&(i=it.exec(e))&&i[1]&&(e=ct(t,n,i),o="number"),null!=e&&e==e&&("number"===o&&(e+=i&&i[3]||(O.cssNumber[u]?"":"px")),g.clearCloneStyle||""!==e||0!==n.indexOf("background")||(s[n]="inherit"),a&&"set"in a&&void 0===(e=a.set(t,e,r))||(c?s.setProperty(n,e):s[n]=e))}},css:function(t,n,e,r){var i,o,a,u=K(n);return Yt.test(n)||(n=Qt(u)),(a=O.cssHooks[n]||O.cssHooks[u])&&"get"in a&&(i=a.get(t,!0,e)),void 0===i&&(i=Ut(t,n,r)),"normal"===i&&n in Xt&&(i=Xt[n]),""===e||e?(o=parseFloat(i),!0===e||isFinite(o)?o||0:i):i}}),O.each(["height","width"],function(t,n){O.cssHooks[n]={get:function(t,e,r){if(e)return!Wt.test(O.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?tn(t,n,r):ut(t,Vt,function(){return tn(t,n,r)})},set:function(t,e,r){var i,o=It(t),a="border-box"===O.css(t,"boxSizing",!1,o),u=r&&Zt(t,n,r,a,o);return a&&g.scrollboxSize()===o.position&&(u-=Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(o[n])-Zt(t,n,"border",!1,o)-.5)),u&&(i=it.exec(e))&&"px"!==(i[3]||"px")&&(t.style[n]=e,e=O.css(t,n)),Jt(0,e,u)}}}),O.cssHooks.marginLeft=Bt(g.reliableMarginLeft,function(t,n){if(n)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-ut(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),O.each({margin:"",padding:"",border:"Width"},function(t,n){O.cssHooks[t+n]={expand:function(e){for(var r=0,i={},o="string"==typeof e?e.split(" "):[e];r<4;r++)i[t+ot[r]+n]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(O.cssHooks[t+n].set=Jt)}),O.fn.extend({css:function(t,n){return W(this,function(t,n,e){var r,i,o={},a=0;if(Array.isArray(n)){for(r=It(t),i=n.length;a1)}}),O.Tween=nn,nn.prototype={constructor:nn,init:function(t,n,e,r,i,o){this.elem=t,this.prop=e,this.easing=i||O.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[e]?"":"px")},cur:function(){var t=nn.propHooks[this.prop];return t&&t.get?t.get(this):nn.propHooks._default.get(this)},run:function(t){var n,e=nn.propHooks[this.prop];return this.options.duration?this.pos=n=O.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=n=t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):nn.propHooks._default.set(this),this}},nn.prototype.init.prototype=nn.prototype,nn.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=O.css(t.elem,t.prop,""))&&"auto"!==n?n:0},set:function(t){O.fx.step[t.prop]?O.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[O.cssProps[t.prop]]&&!O.cssHooks[t.prop]?t.elem[t.prop]=t.now:O.style(t.elem,t.prop,t.now+t.unit)}}},nn.propHooks.scrollTop=nn.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},O.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},O.fx=nn.prototype.init,O.fx.step={};var en,rn,on=/^(?:toggle|show|hide)$/,an=/queueHooks$/;function un(){rn&&(!1===a.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(un):e.setTimeout(un,O.fx.interval),O.fx.tick())}function cn(){return e.setTimeout(function(){en=void 0}),en=Date.now()}function sn(t,n){var e,r=0,i={height:t};for(n=n?1:0;r<4;r+=2-n)i["margin"+(e=ot[r])]=i["padding"+e]=t;return n&&(i.opacity=i.width=t),i}function ln(t,n,e){for(var r,i=(fn.tweeners[n]||[]).concat(fn.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(t){return this.each(function(){O.removeAttr(this,t)})}}),O.extend({attr:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?O.prop(t,n,e):(1===o&&O.isXMLDoc(t)||(i=O.attrHooks[n.toLowerCase()]||(O.expr.match.bool.test(n)?hn:void 0)),void 0!==e?null===e?void O.removeAttr(t,n):i&&"set"in i&&void 0!==(r=i.set(t,e,n))?r:(t.setAttribute(n,e+""),e):i&&"get"in i&&null!==(r=i.get(t,n))?r:null==(r=O.find.attr(t,n))?void 0:r)},attrHooks:{type:{set:function(t,n){if(!g.radioValue&&"radio"===n&&A(t,"input")){var e=t.value;return t.setAttribute("type",n),e&&(t.value=e),n}}}},removeAttr:function(t,n){var e,r=0,i=n&&n.match(H);if(i&&1===t.nodeType)for(;e=i[r++];)t.removeAttribute(e)}}),hn={set:function(t,n,e){return!1===n?O.removeAttr(t,e):t.setAttribute(e,e),e}},O.each(O.expr.match.bool.source.match(/\w+/g),function(t,n){var e=dn[n]||O.find.attr;dn[n]=function(t,n,r){var i,o,a=n.toLowerCase();return r||(o=dn[a],dn[a]=i,i=null!=e(t,n,r)?a:null,dn[a]=o),i}});var pn=/^(?:input|select|textarea|button)$/i,vn=/^(?:a|area)$/i;function bn(t){return(t.match(H)||[]).join(" ")}function gn(t){return t.getAttribute&&t.getAttribute("class")||""}function yn(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(H)||[]}O.fn.extend({prop:function(t,n){return W(this,O.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[O.propFix[t]||t]})}}),O.extend({prop:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(t)||(n=O.propFix[n]||n,i=O.propHooks[n]),void 0!==e?i&&"set"in i&&void 0!==(r=i.set(t,e,n))?r:t[n]=e:i&&"get"in i&&null!==(r=i.get(t,n))?r:t[n]},propHooks:{tabIndex:{get:function(t){var n=O.find.attr(t,"tabindex");return n?parseInt(n,10):pn.test(t.nodeName)||vn.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(O.propHooks.selected={get:function(t){var n=t.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(t){var n=t.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){O.propFix[this.toLowerCase()]=this}),O.fn.extend({addClass:function(t){var n,e,r,i,o,a,u,c=0;if(y(t))return this.each(function(n){O(this).addClass(t.call(this,n,gn(this)))});if((n=yn(t)).length)for(;e=this[c++];)if(i=gn(e),r=1===e.nodeType&&" "+bn(i)+" "){for(a=0;o=n[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(u=bn(r))&&e.setAttribute("class",u)}return this},removeClass:function(t){var n,e,r,i,o,a,u,c=0;if(y(t))return this.each(function(n){O(this).removeClass(t.call(this,n,gn(this)))});if(!arguments.length)return this.attr("class","");if((n=yn(t)).length)for(;e=this[c++];)if(i=gn(e),r=1===e.nodeType&&" "+bn(i)+" "){for(a=0;o=n[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(u=bn(r))&&e.setAttribute("class",u)}return this},toggleClass:function(t,n){var e=typeof t,r="string"===e||Array.isArray(t);return"boolean"==typeof n&&r?n?this.addClass(t):this.removeClass(t):y(t)?this.each(function(e){O(this).toggleClass(t.call(this,e,gn(this),n),n)}):this.each(function(){var n,i,o,a;if(r)for(i=0,o=O(this),a=yn(t);n=a[i++];)o.hasClass(n)?o.removeClass(n):o.addClass(n);else void 0!==t&&"boolean"!==e||((n=gn(this))&&J.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var n,e,r=0;for(n=" "+t+" ";e=this[r++];)if(1===e.nodeType&&(" "+bn(gn(e))+" ").indexOf(n)>-1)return!0;return!1}});var mn=/\r/g;O.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=y(t),this.each(function(e){var i;1===this.nodeType&&(null==(i=r?t.call(this,e,O(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,function(t){return null==t?"":t+""})),(n=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,i,"value")||(this.value=i))})):i?(n=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(mn,""):null==e?"":e:void 0}}),O.extend({valHooks:{option:{get:function(t){var n=O.find.attr(t,"value");return null!=n?n:bn(O.text(t))}},select:{get:function(t){var n,e,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,u=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r-1)&&(e=!0);return e||(t.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],function(){O.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=O.inArray(O(t).val(),n)>-1}},g.checkOn||(O.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in e;var xn=/^(?:focusinfocus|focusoutblur)$/,_n=function(t){t.stopPropagation()};O.extend(O.event,{trigger:function(t,n,r,i){var o,u,c,s,l,f,h,d,v=[r||a],b=p.call(t,"type")?t.type:t,g=p.call(t,"namespace")?t.namespace.split("."):[];if(u=d=c=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!xn.test(b+O.event.triggered)&&(b.indexOf(".")>-1&&(b=(g=b.split(".")).shift(),g.sort()),l=b.indexOf(":")<0&&"on"+b,(t=t[O.expando]?t:new O.Event(b,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:O.makeArray(n,[t]),h=O.event.special[b]||{},i||!h.trigger||!1!==h.trigger.apply(r,n))){if(!i&&!h.noBubble&&!m(r)){for(s=h.delegateType||b,xn.test(s+b)||(u=u.parentNode);u;u=u.parentNode)v.push(u),c=u;c===(r.ownerDocument||a)&&v.push(c.defaultView||c.parentWindow||e)}for(o=0;(u=v[o++])&&!t.isPropagationStopped();)d=u,t.type=o>1?s:h.bindType||b,(f=(J.get(u,"events")||{})[t.type]&&J.get(u,"handle"))&&f.apply(u,n),(f=l&&u[l])&&f.apply&&G(u)&&(t.result=f.apply(u,n),!1===t.result&&t.preventDefault());return t.type=b,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),n)||!G(r)||l&&y(r[b])&&!m(r)&&((c=r[l])&&(r[l]=null),O.event.triggered=b,t.isPropagationStopped()&&d.addEventListener(b,_n),r[b](),t.isPropagationStopped()&&d.removeEventListener(b,_n),O.event.triggered=void 0,c&&(r[l]=c)),t.result}},simulate:function(t,n,e){var r=O.extend(new O.Event,e,{type:t,isSimulated:!0});O.event.trigger(r,null,n)}}),O.fn.extend({trigger:function(t,n){return this.each(function(){O.event.trigger(t,n,this)})},triggerHandler:function(t,n){var e=this[0];if(e)return O.event.trigger(t,n,e,!0)}}),g.focusin||O.each({focus:"focusin",blur:"focusout"},function(t,n){var e=function(t){O.event.simulate(n,t.target,O.event.fix(t))};O.event.special[n]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,n);i||r.addEventListener(t,e,!0),J.access(r,n,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,n)-1;i?J.access(r,n,i):(r.removeEventListener(t,e,!0),J.remove(r,n))}}});var wn=e.location,On=Date.now(),jn=/\?/;O.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||O.error("Invalid XML: "+t),n};var Tn=/\[\]$/,Cn=/\r?\n/g,Mn=/^(?:submit|button|image|reset|file)$/i,Sn=/^(?:input|select|textarea|keygen)/i;function kn(t,n,e,r){var i;if(Array.isArray(n))O.each(n,function(n,i){e||Tn.test(t)?r(t,i):kn(t+"["+("object"==typeof i&&null!=i?n:"")+"]",i,e,r)});else if(e||"object"!==w(n))r(t,n);else for(i in n)kn(t+"["+i+"]",n[i],e,r)}O.param=function(t,n){var e,r=[],i=function(t,n){var e=y(n)?n():n;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)};if(Array.isArray(t)||t.jquery&&!O.isPlainObject(t))O.each(t,function(){i(this.name,this.value)});else for(e in t)kn(e,t[e],n,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=O.prop(this,"elements");return t?O.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!O(this).is(":disabled")&&Sn.test(this.nodeName)&&!Mn.test(t)&&(this.checked||!ht.test(t))}).map(function(t,n){var e=O(this).val();return null==e?null:Array.isArray(e)?O.map(e,function(t){return{name:n.name,value:t.replace(Cn,"\r\n")}}):{name:n.name,value:e.replace(Cn,"\r\n")}}).get()}});var An=/%20/g,Nn=/#.*$/,En=/([?&])_=[^&]*/,Dn=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ln=/^(?:GET|HEAD)$/,qn=/^\/\//,Rn={},Pn={},Hn="*/".concat("*"),Fn=a.createElement("a");function zn(t){return function(n,e){"string"!=typeof n&&(e=n,n="*");var r,i=0,o=n.toLowerCase().match(H)||[];if(y(e))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(e)):(t[r]=t[r]||[]).push(e)}}function In(t,n,e,r){var i={},o=t===Pn;function a(u){var c;return i[u]=!0,O.each(t[u]||[],function(t,u){var s=u(n,e,r);return"string"!=typeof s||o||i[s]?o?!(c=s):void 0:(n.dataTypes.unshift(s),a(s),!1)}),c}return a(n.dataTypes[0])||!i["*"]&&a("*")}function $n(t,n){var e,r,i=O.ajaxSettings.flatOptions||{};for(e in n)void 0!==n[e]&&((i[e]?t:r||(r={}))[e]=n[e]);return r&&O.extend(!0,t,r),t}Fn.href=wn.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?$n($n(t,O.ajaxSettings),n):$n(O.ajaxSettings,t)},ajaxPrefilter:zn(Rn),ajaxTransport:zn(Pn),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,u,c,s,l,f,h,d,p=O.ajaxSetup({},n),v=p.context||p,b=p.context&&(v.nodeType||v.jquery)?O(v):O.event,g=O.Deferred(),y=O.Callbacks("once memory"),m=p.statusCode||{},x={},_={},w="canceled",j={readyState:0,getResponseHeader:function(t){var n;if(l){if(!u)for(u={};n=Dn.exec(o);)u[n[1].toLowerCase()]=n[2];n=u[t.toLowerCase()]}return null==n?null:n},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,n){return null==l&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,x[t]=n),this},overrideMimeType:function(t){return null==l&&(p.mimeType=t),this},statusCode:function(t){var n;if(t)if(l)j.always(t[j.status]);else for(n in t)m[n]=[m[n],t[n]];return this},abort:function(t){var n=t||w;return r&&r.abort(n),T(0,n),this}};if(g.promise(j),p.url=((t||p.url||wn.href)+"").replace(qn,wn.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(H)||[""],null==p.crossDomain){s=a.createElement("a");try{s.href=p.url,s.href=s.href,p.crossDomain=Fn.protocol+"//"+Fn.host!=s.protocol+"//"+s.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=O.param(p.data,p.traditional)),In(Rn,p,n,j),l)return j;for(h in(f=O.event&&p.global)&&0==O.active++&&O.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ln.test(p.type),i=p.url.replace(Nn,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(An,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(jn.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(En,"$1"),d=(jn.test(i)?"&":"?")+"_="+On+++d),p.url=i+d),p.ifModified&&(O.lastModified[i]&&j.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&j.setRequestHeader("If-None-Match",O.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&j.setRequestHeader("Content-Type",p.contentType),j.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Hn+"; q=0.01":""):p.accepts["*"]),p.headers)j.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(v,j,p)||l))return j.abort();if(w="abort",y.add(p.complete),j.done(p.success),j.fail(p.error),r=In(Pn,p,n,j)){if(j.readyState=1,f&&b.trigger("ajaxSend",[j,p]),l)return j;p.async&&p.timeout>0&&(c=e.setTimeout(function(){j.abort("timeout")},p.timeout));try{l=!1,r.send(x,T)}catch(t){if(l)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,n,a,u){var s,h,d,x,_,w=n;l||(l=!0,c&&e.clearTimeout(c),r=void 0,o=u||"",j.readyState=t>0?4:0,s=t>=200&&t<300||304===t,a&&(x=function(t,n,e){for(var r,i,o,a,u=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||n.getResponseHeader("Content-Type"));if(r)for(i in u)if(u[i]&&u[i].test(r)){c.unshift(i);break}if(c[0]in e)o=c[0];else{for(i in e){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),e[o]}(p,j,a)),x=function(t,n,e,r){var i,o,a,u,c,s={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)s[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(e[t.responseFields[o]]=n),!c&&r&&t.dataFilter&&(n=t.dataFilter(n,t.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=s[c+" "+o]||s["* "+o]))for(i in s)if((u=i.split(" "))[1]===o&&(a=s[c+" "+u[0]]||s["* "+u[0]])){!0===a?a=s[i]:!0!==s[i]&&(o=u[0],l.unshift(u[1]));break}if(!0!==a)if(a&&t.throws)n=a(n);else try{n=a(n)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:n}}(p,x,j,s),s?(p.ifModified&&((_=j.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=_),(_=j.getResponseHeader("etag"))&&(O.etag[i]=_)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=x.state,h=x.data,s=!(d=x.error))):(d=w,!t&&w||(w="error",t<0&&(t=0))),j.status=t,j.statusText=(n||w)+"",s?g.resolveWith(v,[h,w,j]):g.rejectWith(v,[j,w,d]),j.statusCode(m),m=void 0,f&&b.trigger(s?"ajaxSuccess":"ajaxError",[j,p,s?h:d]),y.fireWith(v,[j,w]),f&&(b.trigger("ajaxComplete",[j,p]),--O.active||O.event.trigger("ajaxStop")))}return j},getJSON:function(t,n,e){return O.get(t,n,e,"json")},getScript:function(t,n){return O.get(t,void 0,n,"script")}}),O.each(["get","post"],function(t,n){O[n]=function(t,e,r,i){return y(e)&&(i=i||r,r=e,e=void 0),O.ajax(O.extend({url:t,type:n,dataType:i,data:e,success:r},O.isPlainObject(t)&&t))}}),O._evalUrl=function(t){return O.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},O.fn.extend({wrapAll:function(t){var n;return this[0]&&(y(t)&&(t=t.call(this[0])),n=O(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(n){O(this).wrapInner(t.call(this,n))}):this.each(function(){var n=O(this),e=n.contents();e.length?e.wrapAll(t):n.append(t)})},wrap:function(t){var n=y(t);return this.each(function(e){O(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){O(this).replaceWith(this.childNodes)}),this}}),O.expr.pseudos.hidden=function(t){return!O.expr.pseudos.visible(t)},O.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Un={0:200,1223:204},Bn=O.ajaxSettings.xhr();g.cors=!!Bn&&"withCredentials"in Bn,g.ajax=Bn=!!Bn,O.ajaxTransport(function(t){var n,r;if(g.cors||Bn&&!t.crossDomain)return{send:function(i,o){var a,u=t.xhr();if(u.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)u[a]=t.xhrFields[a];for(a in t.mimeType&&u.overrideMimeType&&u.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(a,i[a]);n=function(t){return function(){n&&(n=r=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===t?u.abort():"error"===t?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o(Un[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=n(),r=u.onerror=u.ontimeout=n("error"),void 0!==u.onabort?u.onabort=r:u.onreadystatechange=function(){4===u.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{u.send(t.hasContent&&t.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),O.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return O.globalEval(t),t}}}),O.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),O.ajaxTransport("script",function(t){var n,e;if(t.crossDomain)return{send:function(r,i){n=O("