From 5af70c4fa15a91bde1ec4ab03d18690ed221955c Mon Sep 17 00:00:00 2001 From: Richard Czechowski Date: Tue, 16 Jul 2019 13:18:14 -0600 Subject: [PATCH] build for release 2.0.22 --- dist/subtotal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/subtotal.js b/dist/subtotal.js index 13ee7ef2..3aa9bed0 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=507)}([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,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 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 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 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),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(u.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&&(u.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)(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: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(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 H=c*Object(o.e)(w),F=c*Object(o.k)(w),z=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,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,(a-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,a,-A,y),x=f(L,q,z,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",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),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 z(){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; +!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=507)}([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/ @@ -36,4 +36,4 @@ * * Date: 2016-08-08 */ -function(t){var n,e,r,i,o,u,a,c,s,l,f,h,d,p,v,b,g,y,m,x="sizzle"+1*new Date,_=t.document,w=0,O=0,j=ut(),T=ut(),C=ut(),M=function(t,n){return t===n&&(f=!0),0},S={}.hasOwnProperty,k=[],A=k.pop,N=k.push,E=k.push,D=k.slice,L=function(t,n){for(var e=0,r=t.length;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,a,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),a=(p=u(t)).length;a--;)p[a]="#"+l+" "+gt(p[a]);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 ut(){var t=[];return function n(e,i){return t.push(e+" ")>r.cacheLength&&delete n[t.shift()],n[e+" "]=i}}function at(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 at(function(n){return n=+n,at(function(e,r){for(var i,o=t([],e.length,n),u=o.length;u--;)e[i=o[u]]&&(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,u=t?t.ownerDocument||t:_;return u!==d&&9===u.nodeType&&u.documentElement?(p=(d=u).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,u=[t],a=[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;)u.unshift(e);for(e=n;e=e.parentNode;)a.unshift(e);for(;u[r]===a[r];)r++;return r?lt(u[r],a[r]):u[r]===_?-1:a[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:at,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=u(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),u="last"!==t.slice(-4),a="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!==u?"nextSibling":"previousSibling",b=n.parentNode,g=a&&n.nodeName.toLowerCase(),y=!c&&!a,m=!1;if(b){if(o){for(;v;){for(h=n;h=h[v];)if(a?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[u?b.firstChild:b.lastChild],u&&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())&&((a?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())?at(function(t,e){for(var r,o=i(t,n),u=o.length;u--;)t[r=L(t,o[u])]=!(e[r]=o[u])}):function(t){return i(t,0,e)}):i}},pseudos:{not:at(function(t){var n=[],e=[],r=a(t.replace(I,"$1"));return r[x]?at(function(t,n,e,i){for(var o,u=r(t,null,i,[]),a=t.length;a--;)(o=u[a])&&(t[a]=!(n[a]=o))}):function(t,i,o){return n[0]=t,r(n,null,o,e),n[0]=null,!e.pop()}}),has:at(function(t){return function(n){return ot(t,n).length>0}}),contains:at(function(t){return t=t.replace(Z,tt),function(n){return(n.textContent||n.innerText||i(n)).indexOf(t)>-1}}),lang:at(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,u=[],a=0,c=t.length,s=null!=n;a-1&&(o[s]=!(u[s]=f))}}else g=xt(g===u?g.splice(p,g.length):g),i?i(null,u,g,c):E.apply(u,g)})}function wt(t){for(var n,e,i,o=t.length,u=r.relative[t[0].type],a=u||r.relative[" "],c=u?1:0,l=yt(function(t){return t===n},a,!0),f=yt(function(t){return L(n,t)>-1},a,!0),h=[function(t,e,r){var i=!u&&(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,u,a,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=u===d||u||l);y!==T&&null!=(f=O[y]);y++){if(i&&f){for(p=0,u||f.ownerDocument===d||(h(f),a=!v);b=t[p++];)if(b(f,u||d,a)){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,u,a);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?at(o):o}(o,i))).selector=t}return a},c=ot.select=function(t,n,e,i){var o,c,s,l,f,h="function"==typeof t&&t,d=!i&&u(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||a(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:u,!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=u.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(u);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=[],u=[],a=-1,c=function(){for(i=i||t.once,r=n=!0;u.length;a=-1)for(e=u.shift();++a-1;)o.splice(e,1),e<=a&&a--}),this},has:function(t){return t?O.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=u=[],o=e="",this},disabled:function(){return!o},lock:function(){return i=u=[],e||n||(o=e=""),this},locked:function(){return!!i},fireWith:function(t,e){return i||(e=[t,(e=e||[]).slice?e.slice():e],u.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 u(t,n,r,i){return function(){var a=this,c=arguments,s=function(){var e,s;if(!(t=o&&(r!==z&&(a=void 0,c=[e]),n.rejectWith(a,c))}};t?l():(O.Deferred.getStackHook&&(l.stackTrace=O.Deferred.getStackHook()),e.setTimeout(l))}}return O.Deferred(function(e){n[0][3].add(u(0,e,y(i)?i:F,e.notifyWith)),n[1][3].add(u(0,e,y(t)?t:F)),n[2][3].add(u(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 u=e[2],a=e[5];i[e[1]]=u.add,a&&u.add(function(){r=a},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),u.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=u.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(),u=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(u(e)).resolve,o.reject,!n),"pending"===o.state()||y(i[e]&&i[e].then)))return o.then();for(;e--;)I(i[e],u(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(){u.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(u,[O]))}}),O.ready.then=U.then,"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?e.setTimeout(O.ready):(u.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var W=function(t,n,e,r,i,o,u){var a=0,c=t.length,s=null==e;if("object"===w(e))for(a in i=!0,e)W(t,n,a,e[a],!0,o,u);else if(void 0!==r&&(i=!0,y(r)||(u=!0),s&&(u?(n.call(t,r),n=null):(s=n,n=function(t,n,e){return s.call(O(t),e)})),n))for(;a1,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),u=bt(f.appendChild(o),"script"),s&>(u),e)for(l=0;o=u[l++];)pt.test(o.type||"")&&e.push(o);return f}yt=u.createDocumentFragment().appendChild(u.createElement("div")),(mt=u.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=u.documentElement,Ot=/^key/,jt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Tt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function Mt(){return!1}function St(){try{return u.activeElement}catch(t){}}function kt(t,n,e,r,i,o){var u,a;if("object"==typeof n){for(a in"string"!=typeof e&&(r=r||e,e=void 0),n)kt(t,a,e,r,n[a],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&&(u=i,(i=function(t){return O().off(t),u.apply(this,arguments)}).guid=u.guid||(u.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,u,a,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={}),(u=b.handle)||(u=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=(a=Tt.exec(n[s])||[])[1],p=(a[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,u)||t.addEventListener&&t.addEventListener(d,u)),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,u,a,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=(a=Tt.exec(n[s])||[])[1],p=(a[2]||"").split(".").sort(),d){for(f=O.event.special[d]||{},h=c[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=h.length;o--;)l=h[o],!i&&v!==l.origType||e&&e.guid!==l.guid||a&&!a.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));u&&!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,u,a=O.event.fix(t),c=new Array(arguments.length),s=(J.get(this,"events")||{})[a.type]||[],l=O.event.special[a.type]||{};for(c[0]=a,n=1;n=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==t.type||!0!==s.disabled)){for(o=[],u={},e=0;e-1:O.find(i,this,null,[s]).length),u[i]&&o.push(r);o.length&&a.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,u,a,c,s;if(1===n.nodeType){if(J.hasData(t)&&(o=J.access(t),u=J.set(n,o),s=o.events))for(i in delete u.handle,u.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(a=(u=O.map(bt(i,"script"),qt)).length;f")},clone:function(t,n,e){var r,i,o,u,a,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(u=bt(l),r=0,i=(o=bt(t)).length;r0&>(u,!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-a-.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),u=o;if(zt.test(i)){if(!e)return i;i="auto"}return u=u&&(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)],u=!0),(i=parseFloat(i)||0)+Zt(t,n,e||(o?"border":"content"),u,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,u,a=K(n),c=Yt.test(n),s=t.style;if(c||(n=Qt(a)),u=O.cssHooks[n]||O.cssHooks[a],void 0===e)return u&&"get"in u&&void 0!==(i=u.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[a]?"":"px")),g.clearCloneStyle||""!==e||0!==n.indexOf("background")||(s[n]="inherit"),u&&"set"in u&&void 0===(e=u.set(t,e,r))||(c?s.setProperty(n,e):s[n]=e))}},css:function(t,n,e,r){var i,o,u,a=K(n);return Yt.test(n)||(n=Qt(a)),(u=O.cssHooks[n]||O.cssHooks[a])&&"get"in u&&(i=u.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):at(t,Vt,function(){return tn(t,n,r)})},set:function(t,e,r){var i,o=It(t),u="border-box"===O.css(t,"boxSizing",!1,o),a=r&&Zt(t,n,r,u,o);return u&&g.scrollboxSize()===o.position&&(a-=Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(o[n])-Zt(t,n,"border",!1,o)-.5)),a&&(i=it.exec(e))&&"px"!==(i[3]||"px")&&(t.style[n]=e,e=O.css(t,n)),Jt(0,e,a)}}}),O.cssHooks.marginLeft=Bt(g.reliableMarginLeft,function(t,n){if(n)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-at(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={},u=0;if(Array.isArray(n)){for(r=It(t),i=n.length;u1)}}),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)$/,un=/queueHooks$/;function an(){rn&&(!1===u.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(an):e.setTimeout(an,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,u=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,u=n.toLowerCase();return r||(o=dn[u],dn[u]=i,i=null!=e(t,n,r)?u:null,dn[u]=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,u,a,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(u=0;o=n[u++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=bn(r))&&e.setAttribute("class",a)}return this},removeClass:function(t){var n,e,r,i,o,u,a,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(u=0;o=n[u++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=bn(r))&&e.setAttribute("class",a)}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,u;if(r)for(i=0,o=O(this),u=yn(t);n=u[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,u="select-one"===t.type,a=u?null:[],c=u?o+1:i.length;for(r=o<0?c:u?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,a,c,s,l,f,h,d,v=[r||u],b=p.call(t,"type")?t.type:t,g=p.call(t,"namespace")?t.namespace.split("."):[];if(a=d=c=r=r||u,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)||(a=a.parentNode);a;a=a.parentNode)v.push(a),c=a;c===(r.ownerDocument||u)&&v.push(c.defaultView||c.parentWindow||e)}for(o=0;(a=v[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?s:h.bindType||b,(f=(J.get(a,"events")||{})[t.type]&&J.get(a,"handle"))&&f.apply(a,n),(f=l&&a[l])&&f.apply&&G(a)&&(t.result=f.apply(a,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=u.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 u(a){var c;return i[a]=!0,O.each(t[a]||[],function(t,a){var s=a(n,e,r);return"string"!=typeof s||o||i[s]?o?!(c=s):void 0:(n.dataTypes.unshift(s),u(s),!1)}),c}return u(n.dataTypes[0])||!i["*"]&&u("*")}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,a,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(!a)for(a={};n=Dn.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[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=u.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,u,a){var s,h,d,x,_,w=n;l||(l=!0,c&&e.clearTimeout(c),r=void 0,o=a||"",j.readyState=t>0?4:0,s=t>=200&&t<300||304===t,u&&(x=function(t,n,e){for(var r,i,o,u,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||n.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[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}u||(u=i)}o=o||u}if(o)return o!==c[0]&&c.unshift(o),e[o]}(p,j,u)),x=function(t,n,e,r){var i,o,u,a,c,s={},l=t.dataTypes.slice();if(l[1])for(u in t.converters)s[u.toLowerCase()]=t.converters[u];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(!(u=s[c+" "+o]||s["* "+o]))for(i in s)if((a=i.split(" "))[1]===o&&(u=s[c+" "+a[0]]||s["* "+a[0]])){!0===u?u=s[i]:!0!==s[i]&&(o=a[0],l.unshift(a[1]));break}if(!0!==u)if(u&&t.throws)n=u(n);else try{n=u(n)}catch(t){return{state:"parsererror",error:u?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 u,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(u in t.xhrFields)a[u]=t.xhrFields[u];for(u in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(u,i[u]);n=function(t){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Un[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{a.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("