text: !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.subtotal=n():t.subtotal=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=480)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return o}),e.d(n,"l",function(){return a}),e.d(n,"q",function(){return u}),e.d(n,"w",function(){return c}),e.d(n,"h",function(){return s}),e.d(n,"r",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return p}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return b}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return y}),e.d(n,"t",function(){return m}),e.d(n,"s",function(){return x}),e.d(n,"u",function(){return _}),e.d(n,"v",function(){return w}),n.b=function(t){return t>1?0:t<-1?o:Math.acos(t)},n.c=function(t){return t>1?a:t<-1?-a:Math.asin(t)},n.m=function(t){return(t=m(t/2))*t};var r=1e-6,i=1e-12,o=Math.PI,a=o/2,u=o/4,c=2*o,s=180/o,l=o/180,f=Math.abs,h=Math.atan,d=Math.atan2,p=Math.cos,v=Math.ceil,b=Math.exp,g=(Math.floor,Math.log),y=Math.pow,m=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,w=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var o=e(228);e.d(n,"f",function(){return o.a});var a=e(104);e.d(n,"g",function(){return a.a});var u=e(229);e.d(n,"h",function(){return u.a});var c=e(52);e.d(n,"i",function(){return c.a});var s=e(53);e.d(n,"j",function(){return s.a});var l=e(34);e.d(n,"a",function(){return l.a});var f=e(102);e.d(n,"k",function(){return f.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var p=e(54);e.d(n,"n",function(){return p.a});var v=e(103);e.d(n,"o",function(){return v.a});var b=e(107);e.d(n,"p",function(){return b.b});var g=e(231);e.d(n,"q",function(){return g.a});var y=e(232);e.d(n,"r",function(){return y.a});var m=e(55);e.d(n,"s",function(){return m.a});var x=e(56);e.d(n,"e",function(){return x.c}),e.d(n,"d",function(){return x.a})},function(t,n,e){"use strict";n.a=function t(n,e,o,a){function u(t){return n(t=new Date(+t)),t}u.floor=u;u.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};u.round=function(t){var n=u(t),e=u.ceil(t);return t-n<e-t?n:e};u.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t};u.range=function(t,r,i){var o,a=[];if(t=u.ceil(t),i=null==i?1:Math.floor(i),!(t<r&&i>0))return a;do{a.push(o=new Date(+t)),e(t,i),n(t)}while(o<t&&t<r);return a};u.filter=function(r){return t(function(t){if(t>=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};o&&(u.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(o(r,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(a?function(n){return a(n)%t==0}:function(n){return u.count(0,n)%t==0}):u:null});return u};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var o=e(91);e.d(n,"e",function(){return o.a});var a=e(175);e.d(n,"f",function(){return a.a});var u=e(176);e.d(n,"g",function(){return u.a});var c=e(93);e.d(n,"h",function(){return c.a});var s=e(95);e.d(n,"i",function(){return s.a});var l=e(177);e.d(n,"j",function(){return l.a});var f=e(180);e.d(n,"w",function(){return f.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var p=e(182);e.d(n,"k",function(){return p.a});var v=e(183);e.d(n,"l",function(){return v.a});var b=e(184);e.d(n,"m",function(){return b.a});var g=e(185);e.d(n,"n",function(){return g.a});var y=e(100);e.d(n,"o",function(){return y.a});var m=e(92);e.d(n,"p",function(){return m.a});var x=e(186);e.d(n,"q",function(){return x.a});var _=e(50);e.d(n,"r",function(){return _.a});var w=e(97);e.d(n,"s",function(){return w.a});var O=e(187);e.d(n,"t",function(){return O.a});var j=e(188);e.d(n,"u",function(){return j.a});var T=e(189);e.d(n,"v",function(){return T.a});var C=e(98);e.d(n,"B",function(){return C.a}),e.d(n,"z",function(){return C.b}),e.d(n,"A",function(){return C.c});var M=e(101);e.d(n,"C",function(){return M.a});var S=e(94);e.d(n,"D",function(){return S.a});var k=e(190);e.d(n,"E",function(){return k.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return D}),n.a=L;var r=e(200),i=e(201),o=e(202),a=e(203),u=e(105),c=e(205),s=e(206),l=e(207),f=e(208),h=e(209),d=e(210),p=e(211),v=e(212),b=e(213),g=e(214),y=e(215),m=e(107),x=e(216),_=e(217),w=e(218),O=e(219),j=e(220),T=e(221),C=e(222),M=e(223),S=e(224),k=e(225),A=e(226),N=e(56),E=e(227),D=[null];function L(t,n){this._groups=t,this._parents=n}function q(){return new L([[document.documentElement]],D)}L.prototype=q.prototype={constructor:L,select:r.a,selectAll:i.a,filter:o.a,data:a.a,enter:u.b,exit:c.a,merge:s.a,order:l.a,sort:f.a,call:h.a,nodes:d.a,node:p.a,size:v.a,empty:b.a,each:g.a,attr:y.a,style:m.a,property:x.a,classed:_.a,text:w.a,html:O.a,raise:j.a,lower:T.a,append:C.a,insert:M.a,remove:S.a,clone:k.a,datum:A.a,on:N.b,dispatch:E.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var o=e(61);e.d(n,"c",function(){return o.b});var a=e(112);e.d(n,"d",function(){return a.a});var u=e(115);e.d(n,"g",function(){return u.a});var c=e(35);e.d(n,"m",function(){return c.a});var s=e(116);e.d(n,"n",function(){return s.a});var l=e(237);e.d(n,"r",function(){return l.a});var f=e(117);e.d(n,"s",function(){return f.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var p=e(111);e.d(n,"o",function(){return p.a}),e.d(n,"p",function(){return p.b}),e.d(n,"q",function(){return p.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var b=e(243);e.d(n,"l",function(){return b.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var y=e(245);e.d(n,"e",function(){return y.b}),e.d(n,"f",function(){return y.a});var m=e(246);e.d(n,"w",function(){return m.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return c}),e.d(n,"d",function(){return s}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=p(t,n);if(e.state>u)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=p(t,n);if(e.state>s)throw new Error("too late; already started");return e},n.f=p;var r=e(12),i=e(36),o=Object(r.a)("start","end","interrupt"),a=[],u=0,c=1,s=2,l=3,f=4,h=5,d=6;function p(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,p,v){var b=t.__transition;if(b){if(e in b)return}else t.__transition={};!function(t,n,e){var r,o=t.__transition;function a(h){var v,b,g,y;if(e.state!==c)return p();for(v in o)if((y=o[v]).name===e.name){if(y.state===l)return Object(i.c)(a);y.state===f?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete o[v]):+v<n&&(y.state=d,y.timer.stop(),delete o[v])}if(Object(i.c)(function(){e.state===l&&(e.state=f,e.timer.restart(u,e.delay,e.time),u(h))}),e.state=s,e.on.call("start",t,t.__data__,e.index,e.group),e.state===s){for(e.state=l,r=new Array(g=e.tween.length),v=0,b=-1;v<g;++v)(y=e.tween[v].value.call(t,t.__data__,e.index,e.group))&&(r[++b]=y);r.length=b+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(p),e.state=h,1),o=-1,a=r.length;++o<a;)r[o].call(null,i);e.state===h&&(e.on.call("end",t,t.__data__,e.index,e.group),p())}function p(){for(var r in e.state=d,e.timer.stop(),delete o[n],o)return;delete t.__transition}o[n]=e,e.timer=Object(i.d)(function(t){e.state=c,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:p,on:o,tween:a,time:v.time,delay:v.delay,duration:v.duration,ease:v.ease,timer:null,state:u})}},function(t,n,e){"use strict";var r=e(59);e.d(n,"a",function(){return r.e}),e.d(n,"f",function(){return r.g}),e.d(n,"d",function(){return r.f});var i=e(235);e.d(n,"e",function(){return i.a}),e.d(n,"c",function(){return i.b});var o=e(236);e.d(n,"b",function(){return o.a})},function(t,n,e){"use strict";n.a=function(t){return p(function(){return t})()},n.b=p;var r=e(130),i=e(136),o=e(40),a=e(129),u=e(72),c=e(0),s=e(39),l=e(41),f=e(75),h=e(340),d=Object(l.b)({point:function(t,n){this.stream.point(t*c.r,n*c.r)}});function p(t){var n,e,p,v,b,g,y,m,x,_,w=150,O=480,j=250,T=0,C=0,M=0,S=0,k=0,A=null,N=r.a,E=null,D=u.a,L=.5,q=Object(h.a)(H,L);function R(t){return[(t=b(t[0]*c.r,t[1]*c.r))[0]*w+e,p-t[1]*w]}function P(t){return(t=b.invert((t[0]-e)/w,(p-t[1])/w))&&[t[0]*c.h,t[1]*c.h]}function H(t,r){return[(t=n(t,r))[0]*w+e,p-t[1]*w]}function F(){b=Object(a.a)(v=Object(s.b)(M,S,k),n);var t=n(T,C);return e=O-t[0]*w,p=j+t[1]*w,z()}function z(){return x=_=null,R}return R.stream=function(t){return x&&_===t?x:x=d(function(t){return Object(l.b)({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(v)(N(q(D(_=t)))))},R.preclip=function(t){return arguments.length?(N=t,A=void 0,z()):N},R.postclip=function(t){return arguments.length?(D=t,E=g=y=m=null,z()):D},R.clipAngle=function(t){return arguments.length?(N=+t?Object(i.a)(A=t*c.r):(A=null,r.a),z()):A*c.h},R.clipExtent=function(t){return arguments.length?(D=null==t?(E=g=y=m=null,u.a):Object(o.a)(E=+t[0][0],g=+t[0][1],y=+t[1][0],m=+t[1][1]),z()):null==E?null:[[E,g],[y,m]]},R.scale=function(t){return arguments.length?(w=+t,F()):w},R.translate=function(t){return arguments.length?(O=+t[0],j=+t[1],F()):[O,j]},R.center=function(t){return arguments.length?(T=t[0]%360*c.r,C=t[1]%360*c.r,F()):[T*c.h,C*c.h]},R.rotate=function(t){return arguments.length?(M=t[0]%360*c.r,S=t[1]%360*c.r,k=t.length>2?t[2]%360*c.r:0,F()):[M*c.h,S*c.h,k*c.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(H,L=t*t),z()):Object(c.u)(L)},R.fitExtent=function(t,n){return Object(f.a)(R,t,n)},R.fitSize=function(t,n){return Object(f.c)(R,t,n)},R.fitWidth=function(t,n){return Object(f.d)(R,t,n)},R.fitHeight=function(t,n){return Object(f.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&P,F()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return o}),e.d(n,"a",function(){return a}),e.d(n,"e",function(){return u});var r=1e3,i=6e4,o=36e5,a=864e5,u=6048e5},function(t,n,e){"use strict";n.a=w,n.b=O,n.c=function(){return++_};var r=e(1),i=e(252),o=e(253),a=e(254),u=e(255),c=e(256),s=e(257),l=e(258),f=e(259),h=e(260),d=e(261),p=e(262),v=e(263),b=e(264),g=e(265),y=e(266),m=e(267),x=e(37),_=0;function w(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function O(t){return Object(r.m)().transition(t)}var j=r.m.prototype;w.prototype=O.prototype={constructor:w,select:d.a,selectAll:p.a,filter:s.a,merge:l.a,selection:v.a,transition:m.a,call:j.call,nodes:j.nodes,node:j.node,size:j.size,empty:j.empty,each:j.each,on:f.a,attr:i.a,attrTween:o.a,style:b.a,styleTween:g.a,text:y.a,remove:h.a,tween:x.a,delay:a.a,duration:u.a,ease:c.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&o.hasOwnProperty(t.type)&&o[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,o=e.length;++i<o;)r(e[i].geometry,n)}},o={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){a(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)a(e[r],n,0)},Polygon:function(t,n){u(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)u(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,i=-1,o=e.length;++i<o;)r(e[i],n)}};function a(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function u(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)a(t[e],n,1);n.polygonEnd()}n.a=function(t,n){t&&i.hasOwnProperty(t.type)?i[t.type](t,n):r(t,n)}},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return o});var r=Array.prototype,i=r.map,o=r.slice},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){return t<n?-1:t>n?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){o(i,t,this.t),o(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function o(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var o=e(64);e.d(n,"c",function(){return o.a});var a=e(290);e.d(n,"b",function(){return a.a});var u=e(291);e.d(n,"f",function(){return u.a});var c=e(292);e.d(n,"a",function(){return c.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?o:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=o;var r=e(113);function i(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),o=Object(r.g)(e),a=t(i*o);return[a*o*Object(r.t)(n),a*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),o=t(i),a=Object(r.t)(o),u=Object(r.g)(o);return[Object(r.e)(n*a,i*u),Object(r.c)(i&&e*a/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(r-n)/t.value;++u<c;)(o=a[u]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*s}},function(t,n,e){"use strict";n.b=u,n.a=function t(){var n=Object(o.b)(o.c,i.m);n.copy=function(){return Object(o.a)(n,t())};return u(n)};var r=e(3),i=e(5),o=e(44),a=e(400);function u(t){var n=t.domain;return t.ticks=function(t){var e=n();return Object(r.B)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Object(a.a)(n(),t,e)},t.nice=function(e){null==e&&(e=10);var i,o=n(),a=0,u=o.length-1,c=o[a],s=o[u];return s<c&&(i=c,c=s,s=i,i=a,a=u,u=i),(i=Object(r.z)(c,s,e))>0?(c=Math.floor(c/i)*i,s=Math.ceil(s/i)*i,i=Object(r.z)(c,s,e)):i<0&&(c=Math.ceil(c*i)/i,s=Math.floor(s*i)/i,i=Object(r.z)(c,s,e)),i>0?(o[a]=Math.floor(c/i)*i,o[u]=Math.ceil(s/i)*i,n(o)):i<0&&(o[a]=Math.ceil(c*i)/i,o[u]=Math.floor(s*i)/i,n(o)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return o}),e.d(n,"h",function(){return a}),e.d(n,"i",function(){return u}),e.d(n,"k",function(){return c}),e.d(n,"l",function(){return s}),e.d(n,"f",function(){return l}),e.d(n,"j",function(){return f}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?f:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,u=Math.min,c=Math.sin,s=Math.sqrt,l=1e-12,f=Math.PI,h=f/2,d=2*f},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o<i;++o)for(r=a,a=t[n[o]],e=0;e<u;++e)a[e][1]+=a[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}},function(t,n,e){"use strict";n.a=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return o}),e.d(n,"e",function(){return a}),n.d=v;var r,i,o,a,u=e(458),c=e(169),s=e(170),l=e(89),f=e(88),h=1e-6,d=1e-12;function p(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(p).pop();for(a=[],i=new Array(t.length),r=new f.b,o=new f.b;;)if(d=s.c,v&&(!d||v[1]<d.y||v[1]===d.y&&v[0]<d.x))v[0]===e&&v[1]===h||(Object(u.a)(v),e=v[0],h=v[1]),v=t.pop();else{if(!d)break;Object(u.b)(d.arc)}if(Object(c.d)(),n){var b=+n[0][0],g=+n[0][1],y=+n[1][0],m=+n[1][1];Object(l.a)(b,g,y,m),Object(c.b)(b,g,y,m)}this.edges=a,this.cells=i,r=o=a=i=null}v.prototype={constructor:v,polygons:function(){var t=this.edges;return this.cells.map(function(n){var e=n.halfedges.map(function(e){return Object(c.a)(n,t[e])});return e.data=n.site.data,e})},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,r){if(o=(i=e.halfedges).length)for(var i,o,a,u,c,s,l=e.site,f=-1,h=n[i[o-1]],d=h.left===l?h.right:h.left;++f<o;)a=d,d=(h=n[i[f]]).left===l?h.right:h.left,a&&d&&r<a.index&&r<d.index&&(c=a,s=d,((u=l)[0]-s[0])*(c[1]-u[1])-(u[0]-c[0])*(s[1]-u[1])<0)&&t.push([l.data,a.data,d.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,n,e){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var c=t-i.site[0],s=n-i.site[1],l=c*c+s*s;do{i=o.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var c=t-u[0],s=n-u[1],f=c*c+s*s;f<l&&(l=f,a=u.index)}})}while(null!==a);return o._found=r,null==e||l<=e*e?i.site:null}}},function(t,n,e){"use strict";var r=e(52),i=e(53);n.a=function(t){var n=Object(r.a)(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===i.b&&n.documentElement.namespaceURI===i.b?n.createElement(t):n.createElementNS(e,t)}})(n)}},function(t,n,e){"use strict";n.a=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]}},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return t+n*e}}},function(t,n,e){"use strict";var r=e(63);e.d(n,"b",function(){return r.b}),e.d(n,"d",function(){return r.c}),e.d(n,"e",function(){return r.d});var i=e(249);e.d(n,"c",function(){return i.a});var o=e(250);e.d(n,"a",function(){return o.a})},function(t,n,e){"use strict";n.b=function(t,n,e){var i=t._id;return t.each(function(){var t=Object(r.h)(this,i);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return Object(r.f)(t,i).value[n]}};var r=e(6);n.a=function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var i,o=Object(r.f)(this.node(),e).tween,a=0,u=o.length;a<u;++a)if((i=o[a]).name===t)return i.value;return null}return this.each((null==n?function(t,n){var e,i;return function(){var o=Object(r.h)(this,t),a=o.tween;if(a!==e)for(var u=0,c=(i=e=a).length;u<c;++u)if(i[u].name===n){(i=i.slice()).splice(u,1);break}o.tween=i}}:function(t,n,e){var i,o;if("function"!=typeof e)throw new Error;return function(){var a=Object(r.h)(this,t),u=a.tween;if(u!==i){o=(i=u).slice();for(var c={name:n,value:e},s=0,l=o.length;s<l;++s)if(o[s].name===n){o[s]=c;break}s===l&&o.push(c)}a.tween=o}})(e,t,n))}},function(t,n,e){"use strict";var r=e(71);n.a=function(t){return(t=Object(r.a)(Math.abs(t)))?t[1]:NaN}},function(t,n,e){"use strict";n.b=a;var r=e(129),i=e(0);function o(t,n){return[t>i.o?t-i.w:t<-i.o?t+i.w:t,n]}function a(t,n,e){return(t%=i.w)?n||e?Object(r.a)(c(t),s(n,e)):c(t):n||e?s(n,e):o}function u(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function c(t){var n=u(t);return n.invert=u(-t),n}function s(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),o=Object(i.g)(n),a=Object(i.t)(n);function u(t,n){var u=Object(i.g)(n),c=Object(i.g)(t)*u,s=Object(i.t)(t)*u,l=Object(i.t)(n),f=l*e+c*r;return[Object(i.e)(s*o-f*a,c*e-l*r),Object(i.c)(f*o+s*a)]}return u.invert=function(t,n){var u=Object(i.g)(n),c=Object(i.g)(t)*u,s=Object(i.t)(t)*u,l=Object(i.t)(n),f=l*o-s*a;return[Object(i.e)(s*o+l*a,c*e+f*r),Object(i.c)(f*e-c*r)]},u}o.invert=o,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=a(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,l){function f(r,i){return t<=r&&r<=e&&n<=i&&i<=l}function h(r,i,o,a){var u=0,c=0;if(null==r||(u=d(r,o))!==(c=d(i,o))||v(r,i)<0^o>0)do{a.point(0===u||3===u?t:e,u>1?l:n)}while((u=(u+o+4)%4)!==c);else a.point(i[0],i[1])}function d(i,o){return Object(r.a)(i[0]-t)<r.i?o>0?0:3:Object(r.a)(i[0]-e)<r.i?o>0?2:1:Object(r.a)(i[1]-n)<r.i?o>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;e<r;++e)for(var i,o,a=v[e],u=1,c=a.length,s=a[0],f=s[0],h=s[1];u<c;++u)i=f,o=h,s=a[u],f=s[0],h=s[1],o<=l?h>l&&(f-i)*(l-o)>(h-o)*(t-i)&&++n:h<=l&&(f-i)*(l-o)<(h-o)*(t-i)&&--n;return n}(),e=j&&n,i=(d=Object(u.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(a.a)(d,p,n,h,r),r.polygonEnd());T=r,d=v=b=null}};function S(t,n){f(t,n)&&T.point(t,n)}function k(r,i){var a=f(r,i);if(v&&b.push([r,i]),O)g=r,y=i,m=a,O=!1,a&&(T.lineStart(),T.point(r,i));else if(a&&w)T.point(r,i);else{var u=[x=Math.max(s,Math.min(c,x)),_=Math.max(s,Math.min(c,_))],h=[r=Math.max(s,Math.min(c,r)),i=Math.max(s,Math.min(c,i))];Object(o.a)(u,h,t,n,e,l)?(w||(T.lineStart(),T.point(u[0],u[1])),T.point(h[0],h[1]),a||T.lineEnd(),j=!1):a&&(T.lineStart(),T.point(r,i),j=!1)}x=r,_=i,w=a}return M}};var r=e(0),i=e(132),o=e(330),a=e(133),u=e(3),c=1e9,s=-c},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(t)}},i.prototype={constructor:i,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,s=t.value&&(i-e)/t.value;++u<c;)(o=a[u]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*s}},function(t,n,e){"use strict";var r=e(80);n.a=function(t,n){return function(e,i){var o=Object(r.a)(e).mimeType(t).response(n);if(null!=i){if("function"!=typeof i)throw new Error("invalid callback: "+i);return o.get(i)}return o}}},function(t,n,e){"use strict";n.c=s,n.a=function(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())},n.b=function(t,n){var e,r,a,h=c,d=c,p=i.a,v=!1;function b(){return e=Math.min(h.length,d.length)>2?f:l,r=a=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,p)))(+n)}return g.invert=function(t){return(a||(a=e(d,h,s,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=o.a.call(t,u.a),b()):h.slice()},g.range=function(t){return arguments.length?(d=o.b.call(t),b()):d.slice()},g.rangeRound=function(t){return d=o.b.call(t),p=i.r,b()},g.clamp=function(t){return arguments.length?(v=!!t,b()):v},g.interpolate=function(t){return arguments.length?(p=t,b()):p},b()};var r=e(3),i=e(5),o=e(15),a=e(81),u=e(150),c=[0,1];function s(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(a.a)(n)}function l(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return o<i?(i=e(o,i),a=r(u,a)):(i=e(i,o),a=r(a,u)),function(t){return a(i(t))}}function f(t,n,e,i){var o=Math.min(t.length,n.length)-1,a=new Array(o),u=new Array(o),c=-1;for(t[o]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++c<o;)a[c]=e(t[c],t[c+1]),u[c]=i(n[c],n[c+1]);return function(n){var e=Object(r.b)(t,n,1,o)-1;return u[e](a[e](n))}}},function(t,n,e){"use strict";var r=e(2);e.d(n,"g",function(){return r.a});var i=e(406);e.d(n,"h",function(){return i.a}),e.d(n,"i",function(){return i.b}),e.d(n,"L",function(){return i.a}),e.d(n,"M",function(){return i.b});var o=e(407);e.d(n,"r",function(){return o.a}),e.d(n,"s",function(){return o.b}),e.d(n,"V",function(){return o.a}),e.d(n,"W",function(){return o.b});var a=e(408);e.d(n,"j",function(){return a.a}),e.d(n,"k",function(){return a.b});var u=e(409);e.d(n,"e",function(){return u.a}),e.d(n,"f",function(){return u.b});var c=e(410);e.d(n,"a",function(){return c.b}),e.d(n,"b",function(){return c.a});var s=e(411);e.d(n,"B",function(){return s.g}),e.d(n,"C",function(){return s.h}),e.d(n,"t",function(){return s.g}),e.d(n,"u",function(){return s.h}),e.d(n,"l",function(){return s.c}),e.d(n,"m",function(){return s.d}),e.d(n,"x",function(){return s.k}),e.d(n,"y",function(){return s.l}),e.d(n,"z",function(){return s.m}),e.d(n,"A",function(){return s.n}),e.d(n,"v",function(){return s.i}),e.d(n,"w",function(){return s.j}),e.d(n,"c",function(){return s.a}),e.d(n,"d",function(){return s.b}),e.d(n,"p",function(){return s.e}),e.d(n,"q",function(){return s.f});var l=e(412);e.d(n,"n",function(){return l.a}),e.d(n,"o",function(){return l.b});var f=e(413);e.d(n,"D",function(){return f.a}),e.d(n,"E",function(){return f.b});var h=e(414);e.d(n,"N",function(){return h.a}),e.d(n,"O",function(){return h.b});var d=e(415);e.d(n,"J",function(){return d.a}),e.d(n,"K",function(){return d.b});var p=e(416);e.d(n,"F",function(){return p.a}),e.d(n,"G",function(){return p.b});var v=e(417);e.d(n,"_5",function(){return v.g}),e.d(n,"_6",function(){return v.h}),e.d(n,"X",function(){return v.g}),e.d(n,"Y",function(){return v.h}),e.d(n,"P",function(){return v.c}),e.d(n,"Q",function(){return v.d}),e.d(n,"_1",function(){return v.k}),e.d(n,"_2",function(){return v.l}),e.d(n,"_3",function(){return v.m}),e.d(n,"_4",function(){return v.n}),e.d(n,"Z",function(){return v.i}),e.d(n,"_0",function(){return v.j}),e.d(n,"H",function(){return v.a}),e.d(n,"I",function(){return v.b}),e.d(n,"T",function(){return v.e}),e.d(n,"U",function(){return v.f});var b=e(418);e.d(n,"R",function(){return b.a}),e.d(n,"S",function(){return b.b});var g=e(419);e.d(n,"_7",function(){return g.a}),e.d(n,"_8",function(){return g.b})},function(t,n,e){"use strict";function r(t){this._context=t}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}},n.a=function(t){return new r(t)}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";function r(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function i(t){this._context=t}n.c=r,n.a=i,i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.b=function(t){return new i(t)}},function(t,n,e){"use strict";function r(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function i(t,n){this._context=t,this._k=(1-n)/6}n.c=r,n.a=i,i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:r(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";var r=e(22);n.a=function(t,n,e){if(null==e&&(e=r.a),i=t.length){if((n=+n)<=0||i<2)return+e(t[0],0,t);if(n>=1)return+e(t[i-1],i-1,t);var i,o=(i-1)*n,a=Math.floor(o),u=+e(t[a],a,t);return u+(+e(t[a+1],a+1,t)-u)*(o-a)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,n,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var o=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=o}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function o(t,n,e){return t=a(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function a(t,n,e){return function(r){var o=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=o}}}function u(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function c(t,n,e){var i=r.hasOwnProperty(t.type)?o:a;return function(r,o,a){var u,c=this.__on,s=i(n,o,a);if(c)for(var l=0,f=c.length;l<f;++l)if((u=c[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=s,u.capture=e),void(u.value=n);this.addEventListener(t.type,s,e),u={type:t.type,name:t.name,value:n,listener:s,capture:e},c?c.push(u):this.__on=[u]}}n.b=function(t,n,e){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=n?c:u,null==e&&(e=!1),r=0;r<a;++r)this.each(s(o[r],n,e));return this}var s=this.node().__on;if(s)for(var l,f=0,h=s.length;f<h;++f)for(r=0,l=s[f];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}},function(t,n,e){"use strict";var r=e(56);n.a=function(){for(var t,n=r.c;t=n.sourceEvent;)n=t;return n}},function(t,n,e){"use strict";var r=e(7),i=e(111),o=e(114),a=e(115),u=e(35),c=e(116),s=e(117),l=e(113);n.a=function(t,n){var e,f=typeof n;return null==n||"boolean"===f?Object(l.a)(n):("number"===f?u.a:"string"===f?(e=Object(r.a)(n))?(n=e,i.a):s.a:n instanceof r.a?i.a:n instanceof Date?a.a:Array.isArray(n)?o.a:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?c.a:u.a)(t,n)}},function(t,n,e){"use strict";n.a=i,e.d(n,"d",function(){return o}),e.d(n,"c",function(){return a}),n.e=m,n.h=w,n.g=O,n.b=j,n.f=C;var r=e(60);function i(){}var o=.7,a=1/o,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3})$/,f=/^#([0-9a-f]{6})$/,h=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),v=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),b=new RegExp("^hsl\\("+[c,s,s]+"\\)$"),g=new RegExp("^hsla\\("+[c,s,s,c]+"\\)$"),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function m(t){var n;return t=(t+"").trim().toLowerCase(),(n=l.exec(t))?new j((n=parseInt(n[1],16))>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=f.exec(t))?x(parseInt(n[1],16)):(n=h.exec(t))?new j(n[1],n[2],n[3],1):(n=d.exec(t))?new j(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=p.exec(t))?_(n[1],n[2],n[3],n[4]):(n=v.exec(t))?_(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=b.exec(t))?T(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?T(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?x(y[t]):"transparent"===t?new j(NaN,NaN,NaN,0):null}function x(t){return new j(t>>16&255,t>>8&255,255&t,1)}function _(t,n,e,r){return r<=0&&(t=n=e=NaN),new j(t,n,e,r)}function w(t){return t instanceof i||(t=m(t)),t?new j((t=t.rgb()).r,t.g,t.b,t.opacity):new j}function O(t,n,e,r){return 1===arguments.length?w(t):new j(t,n,e,null==r?1:r)}function j(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function T(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new M(t,n,e,r)}function C(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof M)return new M(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=m(t)),!t)return new M;if(t instanceof M)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),a=Math.max(n,e,r),u=NaN,c=a-o,s=(a+o)/2;return c?(u=n===a?(e-r)/c+6*(e<r):e===a?(r-n)/c+2:(n-e)/c+4,c/=s<.5?a+o:2-a-o,u*=60):c=s>0&&s<1?0:u,new M(u,c,s,t.opacity)}(t):new M(t,n,e,null==r?1:r)}function M(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function S(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,m,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(j,O,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(r.a)(M,C,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new M(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new M(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new j(S(t>=240?t-240:t+120,i,r),S(t,i,r),S(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],a=t[i+1],u=i>0?t[i-1]:2*o-a,c=i<n-1?t[i+2]:2*a-o;return r((e-i/n)*n,u,o,a,c)}}},function(t,n,e){"use strict";e(247);var r=e(10);e.d(n,"c",function(){return r.b});var i=e(278);e.d(n,"a",function(){return i.a});var o=e(118);e.d(n,"b",function(){return o.a})},function(t,n,e){"use strict";n.b=p,n.a=b,n.c=g,n.d=y;var r,i,o=0,a=0,u=0,c=1e3,s=0,l=0,f=0,h="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return l||(d(v),l=h.now()+f)}function v(){l=0}function b(){this._call=this._time=this._next=null}function g(t,n,e){var r=new b;return r.restart(t,n,e),r}function y(){p(),++o;for(var t,n=r;n;)(t=l-n._time)>=0&&n._call.call(null,t),n=n._next;--o}function m(){l=(s=h.now())+f,o=a=0;try{y()}finally{o=0,function(){var t,n,e=r,o=1/0;for(;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,_(o)}(),l=0}}function x(){var t=h.now(),n=t-s;n>c&&(f-=n,s=t)}function _(t){o||(a&&(a=clearTimeout(a)),t-l>24?(t<1/0&&(a=setTimeout(m,t-h.now()-f)),u&&(u=clearInterval(u))):(u||(s=h.now(),u=setInterval(x,c)),o=1,d(m)))}b.prototype=g.prototype={constructor:b,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function o(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,o=-1,a=t.length;if(null==n)for(;++o<a;)e.set(o,t[o]);else for(;++o<a;)e.set(n(r=t[o],o,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}i.prototype=o.prototype={constructor:i,has:function(t){return r+t in this},get:function(t){return this[r+t]},set:function(t,n){return this[r+t]=n,this},remove:function(t){var n=r+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===r&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===r&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===r&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===r&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===r&&++t;return t},empty:function(){for(var t in this)if(t[0]===r)return!1;return!0},each:function(t){for(var n in this)n[0]===r&&t(this[n],n.slice(1),this)}},n.a=o},function(t,n,e){"use strict";var r=e(66);e.d(n,"e",function(){return r.a});var i=e(293);e.d(n,"c",function(){return i.c}),e.d(n,"d",function(){return i.d}),e.d(n,"a",function(){return i.a}),e.d(n,"b",function(){return i.b});var o=e(294);e.d(n,"h",function(){return o.c}),e.d(n,"i",function(){return o.d}),e.d(n,"f",function(){return o.a}),e.d(n,"g",function(){return o.b})},function(t,n,e){"use strict";var r={},i={},o=34,a=10,u=13;function c(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}n.a=function(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function s(t,n){var c,s=[],l=t.length,f=0,h=0,d=l<=0,p=!1;function v(){if(d)return i;if(p)return p=!1,r;var n,c,s=f;if(t.charCodeAt(s)===o){for(;f++<l&&t.charCodeAt(f)!==o||t.charCodeAt(++f)===o;);return(n=f)>=l?d=!0:(c=t.charCodeAt(f++))===a?p=!0:c===u&&(p=!0,t.charCodeAt(f)===a&&++f),t.slice(s+1,n-1).replace(/""/g,'"')}for(;f<l;){if((c=t.charCodeAt(n=f++))===a)p=!0;else if(c===u)p=!0,t.charCodeAt(f)===a&&++f;else if(c!==e)continue;return t.slice(s,n)}return d=!0,t.slice(s,l)}for(t.charCodeAt(l-1)===a&&--l,t.charCodeAt(l-1)===u&&--l;(c=v())!==i;){for(var b=[];c!==r&&c!==i;)b.push(c),c=v();n&&null==(b=n(b,h++))||s.push(b)}return s}function l(n){return n.map(f).join(t)}function f(t){return null==t?"":n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,r,i=s(t,function(t,i){if(e)return e(t,i-1);r=t,e=n?function(t,n){var e=c(t);return function(r,i){return n(e(r),i,t)}}(t,n):c(t)});return i.columns=r||[],i},parseRows:s,format:function(n,e){return null==e&&(e=function(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}(n)),[e.map(f).join(t)].concat(n.map(function(n){return e.map(function(t){return f(n[t])}).join(t)})).join("\n")},formatRows:function(t){return t.map(l).join("\n")}}}},function(t,n,e){"use strict";n.a=function(){return 1e-6*(Math.random()-.5)}},function(t,n,e){"use strict";var r=e(298);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}},function(t,n,e){"use strict";var r=e(316);e.d(n,"b",function(){return r.a}),e.d(n,"a",function(){return r.b}),e.d(n,"d",function(){return r.c});var i=e(123);e.d(n,"c",function(){return i.a});var o=e(124);e.d(n,"e",function(){return o.a});var a=e(322);e.d(n,"f",function(){return a.a});var u=e(323);e.d(n,"g",function(){return u.a});var c=e(324);e.d(n,"h",function(){return c.a})},function(t,n,e){"use strict";n.a=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),o=e(341);function a(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)<r.i)return Object(o.a)(t);var a=1+e*(2*i-e),u=Object(r.u)(a)/i;function c(t,n){var e=Object(r.u)(a-2*i*Object(r.t)(n))/i;return[e*Object(r.t)(t*=i),u-e*Object(r.g)(t)]}return c.invert=function(t,n){var e=u-n;return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),Object(r.c)((a-(t*t+e*e)*i*i)/(2*i))]},c}n.b=function(){return Object(i.a)(a).scale(155.424).center([0,33.6442])}},function(t,n,e){"use strict";n.a=function(t){var n=0,e=r.o/3,o=Object(i.b)(t),a=o(n,e);return a.parallels=function(t){return arguments.length?o(n=t[0]*r.r,e=t[1]*r.r):[n*r.h,e*r.h]},a};var r=e(0),i=e(8)},function(t,n,e){"use strict";n.a=a,n.c=function(t,n,e){return a(t,[[0,0],n],e)},n.d=function(t,n,e){return o(t,function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,a=-i*e[0][1];t.scale(150*i).translate([o,a])},e)},n.b=function(t,n,e){return o(t,function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],a=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,a])},e)};var r=e(14),i=e(139);function o(t,n,e){var o=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),Object(r.a)(e,t.stream(i.a)),n(i.a.result()),null!=o&&t.clipExtent(o),t}function a(t,n,e){return o(t,function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),a=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([a,u])},e)}},function(t,n,e){"use strict";n.c=a,n.b=u;var r=e(0),i=e(39),o=e(8);function a(t,n){return[t,Object(r.n)(Object(r.v)((r.l+n)/2))]}function u(t){var n,e,u,c=Object(o.a)(t),s=c.center,l=c.scale,f=c.translate,h=c.clipExtent,d=null;function p(){var o=r.o*l(),s=c(Object(i.a)(c.rotate()).invert([0,0]));return h(null==d?[[s[0]-o,s[1]-o],[s[0]+o,s[1]+o]]:t===a?[[Math.max(s[0]-o,d),n],[Math.min(s[0]+o,e),u]]:[[d,Math.max(s[1]-o,n)],[e,Math.min(s[1]+o,u)]])}return c.scale=function(t){return arguments.length?(l(t),p()):l()},c.translate=function(t){return arguments.length?(f(t),p()):f()},c.center=function(t){return arguments.length?(s(t),p()):s()},c.clipExtent=function(t){return arguments.length?(null==t?d=n=e=u=null:(d=+t[0][0],n=+t[0][1],e=+t[1][0],u=+t[1][1]),p()):null==d?null:[[d,n],[e,u]]},p()}a.invert=function(t,n){return[t,2*Object(r.d)(Object(r.k)(n))-r.l]},n.a=function(){return u(a).scale(961/r.w)}},function(t,n,e){"use strict";n.c=p,n.b=g,n.a=y;var r=e(355),i=e(356),o=e(357),a=e(358),u=e(359),c=e(360),s=e(361),l=e(362),f=e(363),h=e(364),d=e(365);function p(t,n){var e,r,i,o,a,u=new y(t),c=+t.value&&(u.value=t.value),s=[u];for(null==n&&(n=v);e=s.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(a=i.length))for(e.children=new Array(a),o=a-1;o>=0;--o)s.push(r=e.children[o]=new y(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(g)}function v(t){return t.children}function b(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=p.prototype={constructor:y,count:r.a,each:i.a,eachAfter:a.a,eachBefore:o.a,sum:u.a,sort:c.a,path:s.a,ancestors:l.a,descendants:f.a,leaves:h.a,links:d.a,copy:function(){return p(this).eachBefore(b)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return o}),n.c=a;var r=e(26),i=e(42),o=(1+Math.sqrt(5))/2;function a(t,n,e,o,a,u){for(var c,s,l,f,h,d,p,v,b,g,y,m=[],x=n.children,_=0,w=0,O=x.length,j=n.value;_<O;){l=a-e,f=u-o;do{h=x[w++].value}while(!h&&w<O);for(d=p=h,y=h*h*(g=Math.max(f/l,l/f)/(j*t)),b=Math.max(p/y,y/d);w<O;++w){if(h+=s=x[w].value,s<d&&(d=s),s>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:l<f,children:x.slice(_,w)}),c.dice?Object(r.a)(c,e,o,a,j?o+=f*h/j:u):Object(i.a)(c,e,o,j?e+=l*h/j:a,u),j-=h,_=w}return m}n.a=function t(n){function e(t,e,r,i,o){a(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(o)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,o,a,u,c=Object(i.a)("beforesend","progress","load","error"),s=Object(r.c)(),l=new XMLHttpRequest,f=null,h=null,d=0;function p(t){var n,r=l.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(l)||r>=200&&r<300||304===r){if(a)try{n=a.call(e,l)}catch(t){return void c.call("error",e,t)}else n=l;c.call("load",e,n)}else c.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(t)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=l.ontimeout=p:l.onreadystatechange=function(t){l.readyState>3&&p(t)},l.onprogress=function(t){c.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==n?s.remove(t):s.set(t,n+""),e)},mimeType:function(t){return arguments.length?(o=null==t?null:t+"",e):o},responseType:function(t){return arguments.length?(u=t,e):u},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return a=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return l.open(n,t,!0,f,h),null==o||s.has("accept")||s.set("accept",o+",*/*"),l.setRequestHeader&&s.each(function(t,n){l.setRequestHeader(n,t)}),null!=o&&l.overrideMimeType&&l.overrideMimeType(o),null!=u&&(l.responseType=u),d>0&&(l.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),c.call("beforesend",e,l),l.send(null==r?null:r),e},abort:function(){return l.abort(),e},on:function(){var t=c.on.apply(c,arguments);return t===c?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var o=e(154);e.d(n,"a",function(){return o.a});var a=e(420);e.d(n,"b",function(){return a.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return o}),e.d(n,"d",function(){return a}),e.d(n,"e",function(){return u}),n.a=s;var r,i,o,a,u,c=e(153);function s(t){return r=Object(c.a)(t),i=r.format,o=r.parse,a=r.utcFormat,u=r.utcParse,r}s({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(46),a=e(85);n.a=function(){var t=a.a,n=a.b,e=Object(i.a)(!0),u=null,c=o.a,s=null;function l(i){var o,a,l,f=i.length,h=!1;for(null==u&&(s=c(l=Object(r.a)())),o=0;o<=f;++o)!(o<f&&e(a=i[o],o,i))===h&&((h=!h)?s.lineStart():s.lineEnd()),h&&s.point(+t(a,o,i),+n(a,o,i));if(l)return s=null,l+""||null}return l.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),l):t},l.y=function(t){return arguments.length?(n="function"==typeof t?t:Object(i.a)(+t),l):n},l.defined=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(!!t),l):e},l.curve=function(t){return arguments.length?(c=t,null!=u&&(s=c(u)),l):c},l.context=function(t){return arguments.length?(null==t?u=s=null:s=c(u=t),l):u},l}},function(t,n,e){"use strict";n.a=function(t){return t[0]},n.b=function(t){return t[1]}},function(t,n,e){"use strict";n.b=o;var r=e(29),i=e(49);function o(t,n,e){var i=t._x1,o=t._y1,a=t._x2,u=t._y2;if(t._l01_a>r.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,o=(o*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>r.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-n*t._l12_2a)/f,u=(u*l+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(i,o,a,u,t._x2,t._y2)}function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.a=function t(n){function e(t){return n?new a(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}n.a=function(t){var n=t.map(i);return Object(r.a)(t).sort(function(t,e){return n[t]-n[e]})}},function(t,n,e){"use strict";function r(){this._=null}function i(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function o(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function a(t){for(;t.L;)t=t.L;return t}n.a=function(t){t.U=t.C=t.L=t.R=t.P=t.N=null},r.prototype={constructor:r,insert:function(t,n){var e,r,u;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=a(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(u=r.R)&&u.C?(e.C=u.C=!1,r.C=!0,t=r):(t===e.R&&(i(this,e),e=(t=e).U),e.C=!1,r.C=!0,o(this,r)):(u=r.L)&&u.C?(e.C=u.C=!1,r.C=!0,t=r):(t===e.L&&(o(this,e),e=(t=e).U),e.C=!1,r.C=!0,i(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,u=t.U,c=t.L,s=t.R;if(e=c?s?a(s):c:s,u?u.L===t?u.L=e:u.R=e:this._=e,c&&s?(r=e.C,e.C=t.C,e.L=c,c.U=e,e!==s?(u=e.U,e.U=t.U,t=e.R,u.L=t,e.R=s,s.U=e):(e.U=u,u=e,t=e.R)):(r=t.C,t=e),t&&(t.U=u),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===u.L){if((n=u.R).C&&(n.C=!1,u.C=!0,i(this,u),n=u.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,o(this,n),n=u.R),n.C=u.C,u.C=n.R.C=!1,i(this,u),t=this._;break}}else if((n=u.L).C&&(n.C=!1,u.C=!0,o(this,u),n=u.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,i(this,n),n=u.L),n.C=u.C,u.C=n.L.C=!1,o(this,u),t=this._;break}n.C=!0,t=u,u=u.U}while(!t.C);t&&(t.C=!1)}}},n.b=r},function(t,n,e){"use strict";n.c=function(t,n,e,o){var a=[null,null],u=r.e.push(a)-1;a.left=t,a.right=n,e&&i(a,t,n,e);o&&i(a,n,t,o);return r.b[t.index].halfedges.push(u),r.b[n.index].halfedges.push(u),a},n.b=function(t,n,e){var r=[n,e];return r.left=t,r},n.d=i,n.a=function(t,n,e,i){var u,c=r.e.length;for(;c--;)a(u=r.e[c],t,n,e,i)&&o(u,t,n,e,i)&&(Math.abs(u[0][0]-u[1][0])>r.f||Math.abs(u[0][1]-u[1][1])>r.f)||delete r.e[c]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function o(t,n,e,r,i){var o,a=t[0],u=t[1],c=a[0],s=a[1],l=0,f=1,h=u[0]-c,d=u[1]-s;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<f&&(f=o)}else if(h>0){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(o<l)return;o<f&&(f=o)}if(o=e-s,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){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(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(t[0]=[c+l*h,s+l*d]),f<1&&(t[1]=[c+f*h,s+f*d]),!0)}}}}}function a(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,c=t[0],s=t.left,l=t.right,f=s[0],h=s[1],d=l[0],p=l[1],v=(f+d)/2,b=(h+p)/2;if(p===h){if(v<n||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]<e)return}else c=[v,i];o=[v,e]}}else if(u=b-(a=(f-d)/(p-h))*v,a<-1||a>1)if(f>d){if(c){if(c[1]>=i)return}else c=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(c){if(c[1]<e)return}else c=[(i-u)/a,i];o=[(e-u)/a,e]}else if(h<p){if(c){if(c[0]>=r)return}else c=[n,a*n+u];o=[r,a*r+u]}else{if(c){if(c[0]<n)return}else c=[r,a*r+u];o=[n,a*n+u]}return t[0]=c,t[1]=o,!0}},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"a",function(){return u});var r=e(17),i=e(91),o=Object(i.a)(r.a),a=o.right,u=o.left;n.c=a},function(t,n,e){"use strict";var r=e(17);n.a=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return Object(r.a)(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,o=t[0],a=new Array(i<0?0:i);e<i;)a[e]=n(o,o=t[++e]);return a}},function(t,n,e){"use strict";var r=e(94);n.a=function(t,n){var e=Object(r.a)(t,n);return e?Math.sqrt(e):e}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i,o=t.length,a=0,u=-1,c=0,s=0;if(null==n)for(;++u<o;)isNaN(e=Object(r.a)(t[u]))||(s+=(i=e-c)*(e-(c+=i/++a)));else for(;++u<o;)isNaN(e=Object(r.a)(n(t[u],u,t)))||(s+=(i=e-c)*(e-(c+=i/++a)));if(a>1)return s/(a-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,o=t.length,a=-1;if(null==n){for(;++a<o;)if(null!=(e=t[a])&&e>=e)for(r=i=e;++a<o;)null!=(e=t[a])&&(r>e&&(r=e),i<e&&(i=e))}else for(;++a<o;)if(null!=(e=n(t[a],a,t))&&e>=e)for(r=i=e;++a<o;)null!=(e=n(t[a],a,t))&&(r>e&&(r=e),i<e&&(i=e));return[r,i]}},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"a",function(){return o});var r=Array.prototype,i=r.slice,o=r.map},function(t,n,e){"use strict";n.a=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}},function(t,n,e){"use strict";n.b=a,n.c=function(t,n,e){var a=Math.abs(n-t)/Math.max(0,e),u=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),c=a/u;c>=r?u*=10:c>=i?u*=5:c>=o&&(u*=2);return n<t?-u:u};var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(t,n,e){var a=(n-t)/Math.max(0,e),u=Math.floor(Math.log(a)/Math.LN10),c=a/Math.pow(10,u);return u>=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,u):-Math.pow(10,-u)/(c>=r?10:c>=i?5:c>=o?2:1)}n.a=function(t,n,e){var r,i,o,u,c=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=a(t,n,e))||!isFinite(u))return[];if(u>0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++c<i;)o[c]=(t+c)*u;else for(t=Math.floor(t*u),n=Math.ceil(n*u),o=new Array(i=Math.ceil(t-n+1));++c<i;)o[c]=(t-c)/u;return r&&o.reverse(),o}},function(t,n,e){"use strict";n.a=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&r>e&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&r>e&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(a=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),o=new Array(e);++n<e;)for(var a,u=-1,c=o[n]=new Array(a);++u<a;)c[u]=t[u][n];return o}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){return"string"==typeof t?new r.a([[document.querySelector(t)]],[document.documentElement]):new r.a([[t]],r.c)}},function(t,n,e){"use strict";function r(){return[]}n.a=function(t){return null==t?r:function(){return this.querySelectorAll(t)}}},function(t,n,e){"use strict";var r=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var i=document.documentElement;if(!i.matches){var o=i.webkitMatchesSelector||i.msMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector;r=function(t){return function(){return o.call(this,t)}}}}n.a=r},function(t,n,e){"use strict";n.a=o;var r=e(106),i=e(4);function o(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}n.b=function(){return new i.a(this._enter||this._groups.map(r.a),this._parents)},o.prototype={constructor:o,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}}},function(t,n,e){"use strict";n.a=function(t){return new Array(t.length)}},function(t,n,e){"use strict";n.b=i;var r=e(55);function i(t,n){return t.style.getPropertyValue(n)||Object(r.a)(t).getComputedStyle(t,null).getPropertyValue(n)}n.a=function(t,n,e){return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,o=Object(r.k)(t).on("dragstart.drag",null);n&&(o.on("click.drag",i.a,!0),setTimeout(function(){o.on("click.drag",null)},0));"onselectstart"in e?o.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return c}),e.d(n,"c",function(){return s});var r=e(7),i=e(61),o=e(112),a=e(23);function u(t){return function(n){var e,i,o=n.length,a=new Array(o),u=new Array(o),c=new Array(o);for(e=0;e<o;++e)i=Object(r.f)(n[e]),a[e]=i.r||0,u[e]=i.g||0,c[e]=i.b||0;return a=t(a),u=t(u),c=t(c),i.opacity=1,function(t){return i.r=a(t),i.g=u(t),i.b=c(t),i+""}}}n.a=function t(n){var e=Object(a.b)(n);function i(t,n){var i=e((t=Object(r.f)(t)).r,(n=Object(r.f)(n)).r),o=e(t.g,n.g),u=e(t.b,n.b),c=Object(a.a)(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=o(n),t.b=u(n),t.opacity=c(n),t+""}}return i.gamma=t,i}(1);var c=u(i.b),s=u(o.a)},function(t,n,e){"use strict";var r=e(61);n.a=function(t){var n=t.length;return function(e){var i=Math.floor(((e%=1)<0?++e:e)*n),o=t[(i+n-1)%n],a=t[i%n],u=t[(i+1)%n],c=t[(i+2)%n];return Object(r.a)((e-i/n)*n,o,a,u,c)}}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(58);n.a=function(t,n){var e,i=n?n.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),u=new Array(i);for(e=0;e<o;++e)a[e]=Object(r.a)(t[e],n[e]);for(;e<i;++e)u[e]=n[e];return function(t){for(e=0;e<o;++e)u[e]=a[e](t);return u}}},function(t,n,e){"use strict";n.a=function(t,n){var e=new Date;return n-=t=+t,function(r){return e.setTime(t+n*r),e}}},function(t,n,e){"use strict";var r=e(58);n.a=function(t,n){var e,i={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?i[e]=Object(r.a)(t[e],n[e]):o[e]=n[e];return function(t){for(e in i)o[e]=i[e](t);return o}}},function(t,n,e){"use strict";var r=e(35),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");n.a=function(t,n){var e,a,u,c=i.lastIndex=o.lastIndex=0,s=-1,l=[],f=[];for(t+="",n+="";(e=i.exec(t))&&(a=o.exec(n));)(u=a.index)>c&&(u=n.slice(c,u),l[s]?l[s]+=u:l[++s]=u),(e=e[0])===(a=a[0])?l[s]?l[s]+=a:l[++s]=a:(l[++s]=null,f.push({i:s,x:Object(r.a)(e,a)})),c=o.lastIndex;return c<n.length&&(u=n.slice(c),l[s]?l[s]+=u:l[++s]=u),l.length<2?f[0]?function(t){return function(n){return t(n)+""}}(f[0].x):function(t){return function(){return t}}(n):(n=f.length,function(t){for(var e,r=0;r<n;++r)l[(e=f[r]).i]=e.x(t);return l.join("")})}},function(t,n,e){"use strict";var r=e(6);n.a=function(t,n){var e,i,o,a=t.__transition,u=!0;if(a){for(o in n=null==n?null:n+"",a)(e=a[o]).name===n?(i=e.state>r.d&&e.state<r.b,e.state=r.a,e.timer.stop(),i&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete a[o]):u=!1;u&&delete t.__transition}}},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=function(t,n){var e;return("number"==typeof n?i.m:n instanceof r.a?i.o:(e=Object(r.a)(n))?(n=e,i.o):i.s)(t,n)}},function(t,n,e){"use strict";var r=e(268);e.d(n,"y",function(){return r.a});var i=e(269);e.d(n,"D",function(){return i.b}),e.d(n,"E",function(){return i.a}),e.d(n,"G",function(){return i.c}),e.d(n,"F",function(){return i.b});var o=e(270);e.d(n,"m",function(){return o.b}),e.d(n,"n",function(){return o.a}),e.d(n,"p",function(){return o.c}),e.d(n,"o",function(){return o.b});var a=e(271);e.d(n,"z",function(){return a.b}),e.d(n,"A",function(){return a.a}),e.d(n,"C",function(){return a.c}),e.d(n,"B",function(){return a.b});var u=e(272);e.d(n,"H",function(){return u.b}),e.d(n,"I",function(){return u.a}),e.d(n,"K",function(){return u.c}),e.d(n,"J",function(){return u.b});var c=e(273);e.d(n,"u",function(){return c.b}),e.d(n,"v",function(){return c.a}),e.d(n,"x",function(){return c.c}),e.d(n,"w",function(){return c.b});var s=e(274);e.d(n,"i",function(){return s.b}),e.d(n,"j",function(){return s.a}),e.d(n,"l",function(){return s.c}),e.d(n,"k",function(){return s.b});var l=e(275);e.d(n,"e",function(){return l.c}),e.d(n,"f",function(){return l.a}),e.d(n,"h",function(){return l.c}),e.d(n,"g",function(){return l.b});var f=e(276);e.d(n,"a",function(){return f.b}),e.d(n,"b",function(){return f.a}),e.d(n,"d",function(){return f.c}),e.d(n,"c",function(){return f.b});var h=e(277);e.d(n,"q",function(){return h.c}),e.d(n,"r",function(){return h.a}),e.d(n,"t",function(){return h.c}),e.d(n,"s",function(){return h.b})},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"b",function(){return a}),e.d(n,"e",function(){return u}),e.d(n,"c",function(){return c});var r=Math.cos,i=Math.sin,o=Math.PI,a=o/2,u=2*o,c=Math.max},function(t,n,e){"use strict";n.b=function(t){return t.x},n.c=function(t){return t.y};var r=e(12),i=e(21),o=e(36);var a=10,u=Math.PI*(3-Math.sqrt(5));n.a=function(t){var n,e=1,c=.001,s=1-Math.pow(c,1/300),l=0,f=.6,h=Object(i.c)(),d=Object(o.d)(v),p=Object(r.a)("tick","end");function v(){b(),p.call("tick",n),e<c&&(d.stop(),p.call("end",n))}function b(){var n,r,i=t.length;for(e+=(l-e)*s,h.each(function(t){t(e)}),n=0;n<i;++n)null==(r=t[n]).fx?r.x+=r.vx*=f:(r.x=r.fx,r.vx=0),null==r.fy?r.y+=r.vy*=f:(r.y=r.fy,r.vy=0)}function g(){for(var n,e=0,r=t.length;e<r;++e){if((n=t[e]).index=e,isNaN(n.x)||isNaN(n.y)){var i=a*Math.sqrt(e),o=e*u;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function y(n){return n.initialize&&n.initialize(t),n}return null==t&&(t=[]),g(),n={tick:b,restart:function(){return d.restart(v),n},stop:function(){return d.stop(),n},nodes:function(e){return arguments.length?(t=e,g(),h.each(y),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(c=+t,n):c},alphaDecay:function(t){return arguments.length?(s=+t,n):+s},alphaTarget:function(t){return arguments.length?(l=+t,n):l},velocityDecay:function(t){return arguments.length?(f=1-t,n):1-f},force:function(t,e){return arguments.length>1?(null==e?h.remove(t):h.set(t,y(e)),n):h.get(t)},find:function(n,e,r){var i,o,a,u,c,s=0,l=t.length;for(null==r?r=1/0:r*=r,s=0;s<l;++s)(a=(i=n-(u=t[s]).x)*i+(o=e-u.y)*o)<r&&(c=u,r=a);return c},on:function(t,e){return arguments.length>1?(p.on(t,e),n):p.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),o=e(318),a=e(124),u=e(125),c=e(126),s=e(321),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):s.a,e=t.currency,f=t.decimal,h=t.numerals?Object(o.a)(t.numerals):s.a,d=t.percent||"%";function p(t){var r=(t=Object(a.a)(t)).fill,i=t.align,o=t.sign,s=t.symbol,p=t.zero,v=t.width,b=t.comma,g=t.precision,y=t.type,m="$"===s?e[0]:"#"===s&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===s?e[1]:/[%p]/.test(y)?d:"",_=u.a[y],w=!y||/[defgprs%]/.test(y);function O(t){var e,a,u,s=m,d=x;if("c"===y)d=_(t)+d,t="";else{var O=(t=+t)<0;if(t=_(Math.abs(t),g),O&&0==+t&&(O=!1),s=(O?"("===o?o:"-":"-"===o||"("===o?"":o)+s,d=("s"===y?l[8+c.b/3]:"")+d+(O&&"("===o?")":""),w)for(e=-1,a=t.length;++e<a;)if(48>(u=t.charCodeAt(e))||u>57){d=(46===u?f+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}b&&!p&&(t=n(t,1/0));var j=s.length+t.length+d.length,T=j<v?new Array(v-j+1).join(r):"";switch(b&&p&&(t=n(T+t,T.length?v-d.length:1/0),T=""),i){case"<":t=s+t+d+T;break;case"=":t=s+T+t+d;break;case"^":t=T.slice(0,j=T.length>>1)+s+t+d+T.slice(j);break;default:t=T+s+t+d}return h(t)}return g=null==g?y?6:12:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),O.toString=function(){return t+""},O}return{format:p,formatPrefix:function(t,n){var e=p(((t=Object(a.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),o=Math.pow(10,-i),u=l[8+i/3];return function(t){return e(o*t)+u}}}}},function(t,n,e){"use strict";n.a=o;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function o(t){return new a(t)}function a(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",o=n[2]||">",a=n[3]||"-",u=n[4]||"",c=!!n[5],s=n[6]&&+n[6],l=!!n[7],f=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(l=!0,h="g"):r.a[h]||(h=""),(c||"0"===e&&"="===o)&&(c=!0,e="0",o="="),this.fill=e,this.align=o,this.sign=a,this.symbol=u,this.zero=c,this.width=s,this.comma=l,this.precision=f,this.type=h}o.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(t,n,e){"use strict";var r=e(319),i=e(126),o=e(320);n.a={"":r.a,"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Object(o.a)(100*t,n)},r:o.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var o=e[0],a=e[1],u=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,c=o.length;return u===c?o:u>c?o+new Array(u-c+1).join("0"):u>0?o.slice(0,u)+"."+o.slice(u):"0."+new Array(1-u).join("0")+Object(i.a)(t,Math.max(0,n+u-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return p});var r,i,o,a,u,c=e(19),s=e(0),l=e(11),f=e(14),h=Object(c.a)(),d=Object(c.a)(),p={point:l.a,lineStart:l.a,lineEnd:l.a,polygonStart:function(){h.reset(),p.lineStart=v,p.lineEnd=b},polygonEnd:function(){var t=+h;d.add(t<0?s.w+t:t),this.lineStart=this.lineEnd=this.point=l.a},sphere:function(){d.add(s.w)}};function v(){p.point=g}function b(){y(r,i)}function g(t,n){p.point=y,r=t,i=n,t*=s.r,n*=s.r,o=t,a=Object(s.g)(n=n/2+s.q),u=Object(s.t)(n)}function y(t,n){t*=s.r,n=(n*=s.r)/2+s.q;var e=t-o,r=e>=0?1:-1,i=r*e,c=Object(s.g)(n),l=Object(s.t)(n),f=u*l,d=a*c+f*Object(s.g)(i),p=f*r*Object(s.t)(i);h.add(Object(s.e)(p,d)),o=t,a=c,u=l}n.c=function(t){return d.reset(),Object(f.a)(t,p),2*d}},function(t,n,e){"use strict";n.a=u;var r=e(24),i=e(328),o=e(0),a=e(39);function u(t,n,e,i,a,u){if(e){var s=Object(o.g)(n),l=Object(o.t)(n),f=i*e;null==a?(a=n+i*o.w,u=n-f/2):(a=c(s,a),u=c(s,u),(i>0?a<u:a>u)&&(a+=i*o.w));for(var h,d=a;i>0?d>u:d<u;d-=f)h=Object(r.g)([s,-l*Object(o.g)(d),-l*Object(o.t)(d)]),t.point(h[0],h[1])}}function c(t,n){(n=Object(r.a)(n))[0]-=t,Object(r.e)(n);var e=Object(o.b)(-n[1]);return((-n[2]<0?-e:e)+o.w-o.i)%o.w}n.b=function(){var t,n,e=Object(i.a)([0,0]),r=Object(i.a)(90),c=Object(i.a)(6),s={point:function(e,r){t.push(e=n(e,r)),e[0]*=o.h,e[1]*=o.h}};function l(){var i=e.apply(this,arguments),l=r.apply(this,arguments)*o.r,f=c.apply(this,arguments)*o.r;return t=[],n=Object(a.b)(-i[0]*o.r,-i[1]*o.r,0).invert,u(s,l,f,1),i={type:"Polygon",coordinates:[t]},t=n=null,i}return l.center=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)([+t[0],+t[1]]),l):e},l.radius=function(t){return arguments.length?(r="function"==typeof t?t:Object(i.a)(+t),l):r},l.precision=function(t){return arguments.length?(c="function"==typeof t?t:Object(i.a)(+t),l):c},l}},function(t,n,e){"use strict";n.a=function(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e}},function(t,n,e){"use strict";var r=e(131),i=e(0);n.a=Object(r.a)(function(){return!0},function(t){var n,e=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(a,u){var c=a>0?i.o:-i.o,s=Object(i.a)(a-e);Object(i.a)(s-i.o)<i.i?(t.point(e,r=(r+u)/2>0?i.l:-i.l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(a,r),n=0):o!==c&&s>=i.o&&(Object(i.a)(e-o)<i.i&&(e-=o*i.i),Object(i.a)(a-c)<i.i&&(a-=c*i.i),r=function(t,n,e,r){var o,a,u=Object(i.t)(t-e);return Object(i.a)(u)>i.i?Object(i.d)((Object(i.t)(n)*(a=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(o=Object(i.g)(n))*Object(i.t)(t))/(o*a*u)):(n+r)/2}(e,r,a,u),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),n=0),t.point(e=a,r=u),o=c},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var o;if(null==t)o=e*i.l,r.point(-i.o,o),r.point(0,o),r.point(i.o,o),r.point(i.o,0),r.point(i.o,-o),r.point(0,-o),r.point(-i.o,-o),r.point(-i.o,0),r.point(-i.o,o);else if(Object(i.a)(t[0]-n[0])>i.i){var a=t[0]<n[0]?i.o:-i.o;o=e*a/2,r.point(-a,o),r.point(0,o),r.point(a,o)}else r.point(n[0],n[1])},[-i.o,-i.l])},function(t,n,e){"use strict";var r=e(132),i=e(133),o=e(0),a=e(135),u=e(3);function c(t){return t.length>1}function s(t,n){return((t=t.x)[0]<0?t[1]-o.l-o.i:o.l-t[1])-((n=n.x)[0]<0?n[1]-o.l-o.i:o.l-n[1])}n.a=function(t,n,e,o){return function(l){var f,h,d,p=n(l),v=Object(r.a)(),b=n(v),g=!1,y={point:m,lineStart:_,lineEnd:w,polygonStart:function(){y.point=O,y.lineStart=j,y.lineEnd=T,h=[],f=[]},polygonEnd:function(){y.point=m,y.lineStart=_,y.lineEnd=w,h=Object(u.n)(h);var t=Object(a.a)(f,o);h.length?(g||(l.polygonStart(),g=!0),Object(i.a)(h,s,t,e,l)):t&&(g||(l.polygonStart(),g=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),g&&(l.polygonEnd(),g=!1),h=f=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};function m(n,e){t(n,e)&&l.point(n,e)}function x(t,n){p.point(t,n)}function _(){y.point=x,p.lineStart()}function w(){y.point=m,p.lineEnd()}function O(t,n){d.push([t,n]),b.point(t,n)}function j(){b.lineStart(),d=[]}function T(){O(d[0][0],d[0][1]),b.lineEnd();var t,n,e,r,i=b.clean(),o=v.result(),a=o.length;if(d.pop(),f.push(d),d=null,a)if(1&i){if((n=(e=o[0]).length-1)>0){for(g||(l.polygonStart(),g=!0),l.lineStart(),t=0;t<n;++t)l.point((r=e[t])[0],r[1]);l.lineEnd()}}else a>1&&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<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}n.a=function(t,n,e,a,u){var c,s,l=[],f=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,o=t[0],a=t[n];if(Object(r.a)(o,a)){for(u.lineStart(),c=0;c<n;++c)u.point((o=t[c])[0],o[1]);u.lineEnd()}else l.push(e=new i(o,t,null,!0)),f.push(e.o=new i(o,null,e,!1)),l.push(e=new i(a,t,null,!1)),f.push(e.o=new i(a,null,e,!0))}}),l.length){for(f.sort(n),o(l),o(f),c=0,s=f.length;c<s;++c)f[c].e=e=!e;for(var h,d,p=l[0];;){for(var v=p,b=!0;v.v;)if((v=v.n)===p)return;h=v.z,u.lineStart();do{if(v.v=v.o.v=!0,v.e){if(b)for(c=0,s=h.length;c<s;++c)u.point((d=h[c])[0],d[1]);else a(v.x,v.n.x,1,u);v=v.n}else{if(b)for(h=v.p.z,c=h.length-1;c>=0;--c)u.point((d=h[c])[0],d[1]);else a(v.x,v.p.x,-1,u);v=v.p}h=(v=v.o).z,b=!b}while(!v.v);u.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])<r.i&&Object(r.a)(t[1]-n[1])<r.i}},function(t,n,e){"use strict";var r=e(19),i=e(24),o=e(0),a=Object(r.a)();n.a=function(t,n){var e=n[0],r=n[1],u=[Object(o.t)(e),-Object(o.g)(e),0],c=0,s=0;a.reset();for(var l=0,f=t.length;l<f;++l)if(d=(h=t[l]).length)for(var h,d,p=h[d-1],v=p[0],b=p[1]/2+o.q,g=Object(o.t)(b),y=Object(o.g)(b),m=0;m<d;++m,v=_,g=O,y=j,p=x){var x=h[m],_=x[0],w=x[1]/2+o.q,O=Object(o.t)(w),j=Object(o.g)(w),T=_-v,C=T>=0?1:-1,M=C*T,S=M>o.o,k=g*O;if(a.add(Object(o.e)(k*C*Object(o.t)(M),y*j+k*Object(o.g)(M))),c+=S?T+C*o.w:T,S^v>=e^_>=e){var A=Object(i.c)(Object(i.a)(p),Object(i.a)(x));Object(i.e)(A);var N=Object(i.c)(u,A);Object(i.e)(N);var E=(S^T>=0?-1:1)*Object(o.c)(N[2]);(r>E||r===E&&(A[0]||A[1]))&&(s+=S^T>=0?1:-1)}}return(c<-o.i||c<o.i&&a<-o.i)^1&s}},function(t,n,e){"use strict";var r=e(24),i=e(128),o=e(0),a=e(134),u=e(131);n.a=function(t){var n=Object(o.g)(t),e=6*o.r,c=n>0,s=Object(o.a)(n)>o.i;function l(t,e){return Object(o.g)(t)*Object(o.g)(e)>n}function f(t,e,i){var a=Object(r.a)(t),u=Object(r.a)(e),c=[1,0,0],s=Object(r.c)(a,u),l=Object(r.d)(s,s),f=s[0],h=l-f*f;if(!h)return!i&&t;var d=n*l/h,p=-n*f/h,v=Object(r.c)(c,s),b=Object(r.f)(c,d),g=Object(r.f)(s,p);Object(r.b)(b,g);var y=v,m=Object(r.d)(b,y),x=Object(r.d)(y,y),_=m*m-x*(Object(r.d)(b,b)-1);if(!(_<0)){var w=Object(o.u)(_),O=Object(r.f)(y,(-m-w)/x);if(Object(r.b)(O,b),O=Object(r.g)(O),!i)return O;var j,T=t[0],C=e[0],M=t[1],S=e[1];C<T&&(j=T,T=C,C=j);var k=C-T,A=Object(o.a)(k-o.o)<o.i;if(!A&&S<M&&(j=M,M=S,S=j),A||k<o.i?A?M+S>0^O[1]<(Object(o.a)(O[0]-T)<o.i?M:S):M<=O[1]&&O[1]<=S:k>o.o^(T<=O[0]&&O[0]<=C)){var N=Object(r.f)(y,(-m+w)/x);return Object(r.b)(N,b),[O,Object(r.g)(N)]}}}function h(n,e){var r=c?t:o.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(u.a)(l,function(t){var n,e,r,i,u;return{lineStart:function(){i=r=!1,u=1},point:function(d,p){var v,b=[d,p],g=l(d,p),y=c?g?0:h(d,p):g?h(d+(d<0?o.o:-o.o),p):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=f(n,b))||Object(a.a)(n,v)||Object(a.a)(b,v))&&(b[0]+=o.i,b[1]+=o.i,g=l(b[0],b[1])),g!==r)u=0,g?(t.lineStart(),v=f(b,n),t.point(v[0],v[1])):(v=f(n,b),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(s&&n&&c^g){var m;y&e||!(m=f(b,n,!0))||(u=0,c?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!g||n&&Object(a.a)(n,b)||t.point(b[0],b[1]),n=b,r=g,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return u|(i&&r)<<1}}},function(n,r,o,a){Object(i.a)(a,t,e,o,n,r)},c?[0,-t]:[-o.o,t-o.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],o={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(o)}},function(t,n,e){"use strict";var r,i,o,a=e(19),u=e(0),c=e(11),s=e(14),l=Object(a.a)(),f={sphere:c.a,point:c.a,lineStart:function(){f.point=d,f.lineEnd=h},lineEnd:c.a,polygonStart:c.a,polygonEnd:c.a};function h(){f.point=f.lineEnd=c.a}function d(t,n){t*=u.r,n*=u.r,r=t,i=Object(u.t)(n),o=Object(u.g)(n),f.point=p}function p(t,n){t*=u.r,n*=u.r;var e=Object(u.t)(n),a=Object(u.g)(n),c=Object(u.a)(t-r),s=Object(u.g)(c),f=a*Object(u.t)(c),h=o*e-i*a*s,d=i*e+o*a*s;l.add(Object(u.e)(Object(u.u)(f*f+h*h),d)),r=t,i=e,o=a}n.a=function(t){return l.reset(),Object(s.a)(t,f),+l}},function(t,n,e){"use strict";var r=e(11),i=1/0,o=i,a=-i,u=a,c={point:function(t,n){t<i&&(i=t);t>a&&(a=t);n<o&&(o=n);n>u&&(u=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,o],[a,u]];return a=u=-(o=i=1/0),t}};n.a=c},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=c;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,c=n.y-i,s=u*u+c*c;if(s){var l=.5+((a*=a)-(o*=o))/(2*s),f=Math.sqrt(Math.max(0,2*o*(a+s)-(a-=s)*a-o*o))/(2*s);e.x=r+l*u+f*c,e.y=i+l*c-f*u}else e.x=r+a,e.y=i}function o(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function a(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function u(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(s=t.length))return 0;var n,e,c,s,l,f,h,d,p,v,b;if((n=t[0]).x=0,n.y=0,!(s>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(s>2))return n.r+e.r;i(e,n,c=t[2]),n=new u(n),e=new u(e),c=new u(c),n.next=c.previous=e,e.next=n.previous=c,c.next=e.previous=n;t:for(h=3;h<s;++h){i(n._,e._,c=t[h]),c=new u(c),d=e.next,p=n.previous,v=e._.r,b=n._.r;do{if(v<=b){if(o(d._,c._)){e=d,n.next=e,e.previous=n,--h;continue t}v+=d._.r,d=d.next}else{if(o(p._,c._)){(n=p).next=e,e.previous=n,--h;continue t}b+=p._.r,p=p.previous}}while(d!==p.next);for(c.previous=n,c.next=e,n.next=e.previous=e=c,l=a(n);(c=c.next)!==e;)(f=a(c))<l&&(n=c,l=f);e=n.next}for(n=[e._],c=e;(c=c.next)!==e;)n.push(c._);for(c=Object(r.a)(n),h=0;h<s;++h)(n=t[h]).x-=c.x,n.y-=c.y;return c.r}n.a=function(t){return c(t),t}},function(t,n,e){"use strict";var r=e(367);function i(t,n){var e,r;if(u(n,t))return[n];for(e=0;e<t.length;++e)if(o(n,t[e])&&u(s(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(o(s(t[e],t[r]),n)&&o(s(t[e],n),t[r])&&o(s(t[r],n),t[e])&&u(l(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function o(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function a(t,n){var e=t.r-n.r+1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function u(t,n){for(var e=0;e<n.length;++e)if(!a(t,n[e]))return!1;return!0}function c(t){switch(t.length){case 1:return{x:(n=t[0]).x,y:n.y,r:n.r};case 2:return s(t[0],t[1]);case 3:return l(t[0],t[1],t[2])}var n}function s(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,a=n.y,u=n.r,c=o-e,s=a-r,l=u-i,f=Math.sqrt(c*c+s*s);return{x:(e+o+c/f*l)/2,y:(r+a+s/f*l)/2,r:(f+i+u)/2}}function l(t,n,e){var r=t.x,i=t.y,o=t.r,a=n.x,u=n.y,c=n.r,s=e.x,l=e.y,f=e.r,h=r-a,d=r-s,p=i-u,v=i-l,b=c-o,g=f-o,y=r*r+i*i-o*o,m=y-a*a-u*u+c*c,x=y-s*s-l*l+f*f,_=d*p-h*v,w=(p*x-v*m)/(2*_)-r,O=(v*b-p*g)/_,j=(d*m-h*x)/(2*_)-i,T=(h*g-d*b)/_,C=O*O+T*T-1,M=2*(o+w*O+j*T),S=w*w+j*j-o*o,k=-(C?(M+Math.sqrt(M*M-4*C*S))/(2*C):S/M);return{x:r+w+O*k,y:i+j+T*k,r:k}}n.a=function(t){for(var n,e,o=0,u=(t=Object(r.a)(r.b.call(t))).length,s=[];o<u;)n=t[o],e&&a(e,n)?++o:(e=c(s=i(s,n)),o=0);return e}},function(t,n,e){"use strict";n.a=function(){return 0},n.b=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);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<t;++r)e+=n();return e}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);n.a=function(t,n){return function(e,i,o){arguments.length<3&&(o=i,i=null);var a=Object(r.a)(e).mimeType(t);return a.row=function(t){return arguments.length?a.response(function(t,n){return function(e){return t(e.responseText,n)}}(n,i=t)):i},a.row(i),o?a.get(o):a}}},function(t,n,e){"use strict";e.d(n,"b",function(){return o}),n.a=function t(n){var e=Object(r.c)(),a=[],u=o;n=null==n?[]:i.b.call(n);function c(t){var r=t+"",i=e.get(r);if(!i){if(u!==o)return u;e.set(r,i=a.push(t))}return n[(i-1)%n.length]}c.domain=function(t){if(!arguments.length)return a.slice();a=[],e=Object(r.c)();for(var n,i,o=-1,u=t.length;++o<u;)e.has(i=(n=t[o])+"")||e.set(i,a.push(n));return c};c.range=function(t){return arguments.length?(n=i.b.call(t),c):n.slice()};c.unknown=function(t){return arguments.length?(u=t,c):u};c.copy=function(){return t().domain(a).range(n).unknown(u)};return c};var r=e(21),i=e(15),o={name:"implicit"}},function(t,n,e){"use strict";n.a=function(t){return+t}},function(t,n,e){"use strict";n.a=function(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t}},function(t,n,e){"use strict";n.a=m;var r=e(3),i=e(5),o=e(45),a=e(82),u=e(15),c=e(44),s=e(151),l=1e3,f=60*l,h=60*f,d=24*h,p=7*d,v=30*d,b=365*d;function g(t){return new Date(t)}function y(t){return t instanceof Date?+t:+new Date(+t)}function m(t,n,e,o,a,x,_,w,O){var j=Object(c.b)(c.c,i.m),T=j.invert,C=j.domain,M=O(".%L"),S=O(":%S"),k=O("%I:%M"),A=O("%I %p"),N=O("%a %d"),E=O("%b %d"),D=O("%B"),L=O("%Y"),q=[[_,1,l],[_,5,5*l],[_,15,15*l],[_,30,30*l],[x,1,f],[x,5,5*f],[x,15,15*f],[x,30,30*f],[a,1,h],[a,3,3*h],[a,6,6*h],[a,12,12*h],[o,1,d],[o,2,2*d],[e,1,p],[n,1,v],[n,3,3*v],[t,1,b]];function R(r){return(_(r)<r?M:x(r)<r?S:a(r)<r?k:o(r)<r?A:n(r)<r?e(r)<r?N:E:t(r)<r?D:L)(r)}function P(n,e,i,o){if(null==n&&(n=10),"number"==typeof n){var a=Math.abs(i-e)/n,u=Object(r.e)(function(t){return t[2]}).right(q,a);u===q.length?(o=Object(r.A)(e/b,i/b,n),n=t):u?(o=(u=q[a/q[u-1][2]<q[u][2]/a?u-1:u])[1],n=u[0]):(o=Math.max(Object(r.A)(e,i,n),1),n=w)}return null==o?n:n.every(o)}return j.invert=function(t){return new Date(T(t))},j.domain=function(t){return arguments.length?C(u.a.call(t,y)):C().map(g)},j.ticks=function(t,n){var e,r=C(),i=r[0],o=r[r.length-1],a=o<i;return a&&(e=i,i=o,o=e),e=(e=P(t,i,o,n))?e.range(i,o+1):[],a?e.reverse():e},j.tickFormat=function(t,n){return null==n?R:O(n)},j.nice=function(t,n){var e=C();return(t=P(t,e[0],e[e.length-1],n))?C(Object(s.a)(e,t)):j},j.copy=function(){return Object(c.a)(j,m(t,n,e,o,a,x,_,w,O))},j}n.b=function(){return m(o.D,o.n,o.B,o.a,o.e,o.j,o.r,o.h,a.c).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}},function(t,n,e){"use strict";n.a=function(t){var n=t.dateTime,e=t.date,c=t.time,s=t.periods,l=t.days,f=t.shortDays,h=t.months,gt=t.shortMonths,yt=d(s),mt=p(s),xt=d(l),_t=p(l),wt=d(f),Ot=p(f),jt=d(h),Tt=p(h),Ct=d(gt),Mt=p(gt),St={a:function(t){return f[t.getDay()]},A:function(t){return l[t.getDay()]},b:function(t){return gt[t.getMonth()]},B:function(t){return h[t.getMonth()]},c:null,d:L,e:L,f:F,H:q,I:R,j:P,L:H,m:z,M:I,p:function(t){return s[+(t.getHours()>=12)]},Q:vt,s:bt,S:$,u:U,U:B,V:W,w:Y,W:V,x:null,X:null,y:X,Y:K,Z:G,"%":pt},kt={a:function(t){return f[t.getUTCDay()]},A:function(t){return l[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:Q,e:Q,f:et,H:J,I:Z,j:tt,L:nt,m:rt,M:it,p:function(t){return s[+(t.getUTCHours()>=12)]},Q:vt,s:bt,S:ot,u:at,U:ut,V:ct,w:st,W:lt,x:null,X:null,y:ft,Y:ht,Z:dt,"%":pt},At={a:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=xt.exec(n.slice(e));return r?(t.w=_t[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=Ct.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return Dt(t,n,e,r)},d:j,e:j,f:A,H:C,I:C,j:T,L:k,m:O,M:M,p:function(t,n,e){var r=yt.exec(n.slice(e));return r?(t.p=mt[r[0].toLowerCase()],e+r[0].length):-1},Q:E,s:D,S:S,u:b,U:g,V:y,w:v,W:m,x:function(t,n,r){return Dt(t,e,n,r)},X:function(t,n,e){return Dt(t,c,n,e)},y:_,Y:x,Z:w,"%":N};function Nt(t,n){return function(e){var r,i,o,a=[],c=-1,s=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++c<l;)37===t.charCodeAt(c)&&(a.push(t.slice(s,c)),null!=(i=u[r=t.charAt(++c)])?r=t.charAt(++c):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),s=c+1);return a.push(t.slice(s,c)),a.join("")}}function Et(t,n){return function(e){var i,u,c=a(1900),s=Dt(c,t,e+="",0);if(s!=e.length)return null;if("Q"in c)return new Date(c.Q);if("p"in c&&(c.H=c.H%12+12*c.p),"V"in c){if(c.V<1||c.V>53)return null;"w"in c||(c.w=1),"Z"in c?(i=o(a(c.y)),u=i.getUTCDay(),i=u>4||0===u?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(c.V-1)),c.y=i.getUTCFullYear(),c.m=i.getUTCMonth(),c.d=i.getUTCDate()+(c.w+6)%7):(i=n(a(c.y)),u=i.getDay(),i=u>4||0===u?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(c.V-1)),c.y=i.getFullYear(),c.m=i.getMonth(),c.d=i.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),u="Z"in c?o(a(c.y)).getUTCDay():n(a(c.y)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(u+5)%7:c.w+7*c.U-(u+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,o(c)):n(c)}}function Dt(t,n,e,r){for(var i,o,a=0,c=n.length,s=e.length;a<c;){if(r>=s)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=At[i in u?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return St.x=Nt(e,St),St.X=Nt(c,St),St.c=Nt(n,St),kt.x=Nt(e,kt),kt.X=Nt(c,kt),kt.c=Nt(n,kt),{format:function(t){var n=Nt(t+="",St);return n.toString=function(){return t},n},parse:function(t){var n=Et(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=Nt(t+="",kt);return n.toString=function(){return t},n},utcParse:function(t){var n=Et(t,o);return n.toString=function(){return t},n}}};var r=e(45);function i(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function o(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function a(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var u={"-":"",_:" ",0:"0"},c=/^\s*\d+/,s=/^%/,l=/[\\^$*+?|[\]().{}]/g;function f(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function h(t){return t.replace(l,"\\$&")}function d(t){return new RegExp("^(?:"+t.map(h).join("|")+")","i")}function p(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function v(t,n,e){var r=c.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function b(t,n,e){var r=c.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function g(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function y(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function m(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function x(t,n,e){var r=c.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function _(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function w(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function O(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function j(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function T(t,n,e){var r=c.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function C(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function M(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function S(t,n,e){var r=c.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function k(t,n,e){var r=c.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=c.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function N(t,n,e){var r=s.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function E(t,n,e){var r=c.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function D(t,n,e){var r=c.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function L(t,n){return f(t.getDate(),n,2)}function q(t,n){return f(t.getHours(),n,2)}function R(t,n){return f(t.getHours()%12||12,n,2)}function P(t,n){return f(1+r.a.count(Object(r.D)(t),t),n,3)}function H(t,n){return f(t.getMilliseconds(),n,3)}function F(t,n){return H(t,n)+"000"}function z(t,n){return f(t.getMonth()+1,n,2)}function I(t,n){return f(t.getMinutes(),n,2)}function $(t,n){return f(t.getSeconds(),n,2)}function U(t){var n=t.getDay();return 0===n?7:n}function B(t,n){return f(r.t.count(Object(r.D)(t),t),n,2)}function W(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),f(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function Y(t){return t.getDay()}function V(t,n){return f(r.l.count(Object(r.D)(t),t),n,2)}function X(t,n){return f(t.getFullYear()%100,n,2)}function K(t,n){return f(t.getFullYear()%1e4,n,4)}function G(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+f(n/60|0,"0",2)+f(n%60,"0",2)}function Q(t,n){return f(t.getUTCDate(),n,2)}function J(t,n){return f(t.getUTCHours(),n,2)}function Z(t,n){return f(t.getUTCHours()%12||12,n,2)}function tt(t,n){return f(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return f(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return f(t.getUTCMonth()+1,n,2)}function it(t,n){return f(t.getUTCMinutes(),n,2)}function ot(t,n){return f(t.getUTCSeconds(),n,2)}function at(t){var n=t.getUTCDay();return 0===n?7:n}function ut(t,n){return f(r.X.count(Object(r._7)(t),t),n,2)}function ct(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),f(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function st(t){return t.getUTCDay()}function lt(t,n){return f(r.P.count(Object(r._7)(t),t),n,2)}function ft(t,n){return f(t.getUTCFullYear()%100,n,2)}function ht(t,n){return f(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function pt(){return"%"}function vt(t){return+t}function bt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var o=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=o},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(46),a=e(84),u=e(85);n.a=function(){var t=u.a,n=null,e=Object(i.a)(0),c=u.b,s=Object(i.a)(!0),l=null,f=o.a,h=null;function d(i){var o,a,u,d,p,v=i.length,b=!1,g=new Array(v),y=new Array(v);for(null==l&&(h=f(p=Object(r.a)())),o=0;o<=v;++o){if(!(o<v&&s(d=i[o],o,i))===b)if(b=!b)a=o,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),u=o-1;u>=a;--u)h.point(g[u],y[u]);h.lineEnd(),h.areaEnd()}b&&(g[o]=+t(d,o,i),y[o]=+e(d,o,i),h.point(n?+n(d,o,i):g[o],c?+c(d,o,i):y[o]))}if(p)return h=null,p+""||null}function p(){return Object(a.a)().defined(s).curve(f).context(l)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),c=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):c},d.lineX0=d.lineY0=function(){return p().x(t).y(e)},d.lineY1=function(){return p().x(t).y(c)},d.lineX1=function(){return p().x(n).y(e)},d.defined=function(t){return arguments.length?(s="function"==typeof t?t:Object(i.a)(!!t),d):s},d.curve=function(t){return arguments.length?(f=t,null!=l&&(h=f(l)),d):f},d.context=function(t){return arguments.length?(null==t?l=h=null:h=f(l=t),d):l},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=o;var r=o(e(46).a);function i(t){this._curve=t}function o(t){function n(n){return new i(t(n))}return n._curve=t,n}i.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}}},function(t,n,e){"use strict";n.b=o;var r=e(156),i=e(84);function o(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}n.a=function(){return o(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),o=e*r;t.moveTo(0,-e),t.lineTo(o,0),t.lineTo(0,e),t.lineTo(-o,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),o=Math.sin(r.m/10)*i,a=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=o*e,u=a*e;t.moveTo(0,-e),t.lineTo(i,u);for(var c=1;c<5;++c){var s=r.m*c/5,l=Math.cos(s),f=Math.sin(s);t.lineTo(f*e,-l*e),t.lineTo(l*i-f*u,f*i+l*u)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),a=3*(o/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/a),u=e/2,c=e*o,s=u,l=e*o+e,f=-s,h=l;t.moveTo(u,c),t.lineTo(s,l),t.lineTo(f,h),t.lineTo(r*u-i*c,i*u+r*c),t.lineTo(r*s-i*l,i*s+r*l),t.lineTo(r*f-i*h,i*f+r*h),t.lineTo(r*u+i*c,r*c-i*u),t.lineTo(r*s+i*l,r*l-i*s),t.lineTo(r*f+i*h,r*h-i*f),t.closePath()}}},function(t,n,e){"use strict";n.a=o;var r=e(47),i=e(49);function o(t,n){this._context=t,this._k=(1-n)/6}o.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.b=function t(n){function e(t){return new o(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(r.c)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=a,n.d=function(){for(var t,n,e,r,a=0,u=i.b.length;a<u;++a)if((t=i.b[a])&&(r=(n=t.halfedges).length)){var c=new Array(r),s=new Array(r);for(e=0;e<r;++e)c[e]=e,s[e]=o(t,i.e[n[e]]);for(c.sort(function(t,n){return s[n]-s[t]}),e=0;e<r;++e)s[e]=n[c[e]];for(e=0;e<r;++e)n[e]=s[e]}},n.b=function(t,n,e,o){var c,s,l,f,h,d,p,v,b,g,y,m,x=i.b.length,_=!0;for(c=0;c<x;++c)if(s=i.b[c]){for(l=s.site,h=s.halfedges,f=h.length;f--;)i.e[h[f]]||h.splice(f,1);for(f=0,d=h.length;f<d;)g=u(s,i.e[h[f]]),y=g[0],m=g[1],p=a(s,i.e[h[++f%d]]),v=p[0],b=p[1],(Math.abs(y-v)>i.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&&o-m>i.f?[t,Math.abs(v-t)<i.f?b:o]:Math.abs(m-o)<i.f&&e-y>i.f?[Math.abs(b-o)<i.f?v:e,o]:Math.abs(y-e)<i.f&&m-n>i.f?[e,Math.abs(v-e)<i.f?b:n]:Math.abs(m-n)<i.f&&y-t>i.f?[Math.abs(b-n)<i.f?v:t,n]:null))-1),++d);d&&(_=!1)}if(_){var w,O,j,T=1/0;for(c=0,_=null;c<x;++c)(s=i.b[c])&&(l=s.site,w=l[0]-t,O=l[1]-n,(j=w*w+O*O)<T&&(T=j,_=s));if(_){var C=[t,n],M=[t,o],S=[e,o],k=[e,n];_.halfedges.push(i.e.push(Object(r.b)(l=_.site,C,M))-1,i.e.push(Object(r.b)(l,M,S))-1,i.e.push(Object(r.b)(l,S,k))-1,i.e.push(Object(r.b)(l,k,C))-1)}}for(c=0;c<x;++c)(s=i.b[c])&&(s.halfedges.length||delete i.b[c])};var r=e(89),i=e(32);function o(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function a(t,n){return n[+(n.left!==t.site)]}function u(t,n){return n[+(n.left===t.site)]}},function(t,n,e){"use strict";e.d(n,"c",function(){return r}),n.a=function(t){var n=t.P,e=t.N;if(!n||!e)return;var u=n.site,c=t.site,s=e.site;if(u===s)return;var l=c[0],f=c[1],h=u[0]-l,d=u[1]-f,p=s[0]-l,v=s[1]-f,b=2*(h*v-d*p);if(b>=-o.g)return;var g=h*h+d*d,y=p*p+v*v,m=(v*g-d*y)/b,x=(h*y-p*g)/b,_=a.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};_.arc=t,_.site=c,_.x=m+l,_.y=(_.cy=x+f)+Math.sqrt(m*m+x*x),t.circle=_;var w=null,O=o.c._;for(;O;)if(_.y<O.y||_.y===O.y&&_.x<=O.x){if(!O.L){w=O.P;break}O=O.L}else{if(!O.R){w=O;break}O=O.R}o.c.insert(w,_),w||(r=_)},n.b=function(t){var n=t.circle;n&&(n.P||(r=n.N),o.c.remove(n),a.push(n),Object(i.a)(n),t.circle=null)};var r,i=e(88),o=e(32),a=[]},function(t,n,e){"use strict";function r(t,n,e){this.k=t,this.x=n,this.y=e}n.a=r,e.d(n,"c",function(){return i}),n.b=o,r.prototype={constructor:r,scale:function(t){return 1===t?this:new r(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new r(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var i=new r(1,0,0);function o(t){return t.__zoom||i}o.prototype=r.prototype},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(174);e.d(n,"version",function(){return r.a});var i=e(3);e.d(n,"bisect",function(){return i.b}),e.d(n,"bisectRight",function(){return i.d}),e.d(n,"bisectLeft",function(){return i.c}),e.d(n,"ascending",function(){return i.a}),e.d(n,"bisector",function(){return i.e}),e.d(n,"cross",function(){return i.f}),e.d(n,"descending",function(){return i.g}),e.d(n,"deviation",function(){return i.h}),e.d(n,"extent",function(){return i.i}),e.d(n,"histogram",function(){return i.j}),e.d(n,"thresholdFreedmanDiaconis",function(){return i.w}),e.d(n,"thresholdScott",function(){return i.x}),e.d(n,"thresholdSturges",function(){return i.y}),e.d(n,"max",function(){return i.k}),e.d(n,"mean",function(){return i.l}),e.d(n,"median",function(){return i.m}),e.d(n,"merge",function(){return i.n}),e.d(n,"min",function(){return i.o}),e.d(n,"pairs",function(){return i.p}),e.d(n,"permute",function(){return i.q}),e.d(n,"quantile",function(){return i.r}),e.d(n,"range",function(){return i.s}),e.d(n,"scan",function(){return i.t}),e.d(n,"shuffle",function(){return i.u}),e.d(n,"sum",function(){return i.v}),e.d(n,"ticks",function(){return i.B}),e.d(n,"tickIncrement",function(){return i.z}),e.d(n,"tickStep",function(){return i.A}),e.d(n,"transpose",function(){return i.C}),e.d(n,"variance",function(){return i.D}),e.d(n,"zip",function(){return i.E});var o=e(191);e.d(n,"axisTop",function(){return o.d}),e.d(n,"axisRight",function(){return o.c}),e.d(n,"axisBottom",function(){return o.a}),e.d(n,"axisLeft",function(){return o.b});var a=e(195);e.d(n,"brush",function(){return a.a}),e.d(n,"brushX",function(){return a.c}),e.d(n,"brushY",function(){return a.d}),e.d(n,"brushSelection",function(){return a.b});var u=e(282);e.d(n,"chord",function(){return u.a}),e.d(n,"ribbon",function(){return u.b});var c=e(21);e.d(n,"nest",function(){return c.d}),e.d(n,"set",function(){return c.e}),e.d(n,"map",function(){return c.c}),e.d(n,"keys",function(){return c.b}),e.d(n,"values",function(){return c.f}),e.d(n,"entries",function(){return c.a});var s=e(7);e.d(n,"color",function(){return s.a}),e.d(n,"rgb",function(){return s.f}),e.d(n,"hsl",function(){return s.d}),e.d(n,"lab",function(){return s.e}),e.d(n,"hcl",function(){return s.c}),e.d(n,"cubehelix",function(){return s.b});var l=e(12);e.d(n,"dispatch",function(){return l.a});var f=e(51);e.d(n,"drag",function(){return f.a}),e.d(n,"dragDisable",function(){return f.b}),e.d(n,"dragEnable",function(){return f.c});var h=e(65);e.d(n,"dsvFormat",function(){return h.e}),e.d(n,"csvParse",function(){return h.c}),e.d(n,"csvParseRows",function(){return h.d}),e.d(n,"csvFormat",function(){return h.a}),e.d(n,"csvFormatRows",function(){return h.b}),e.d(n,"tsvParse",function(){return h.h}),e.d(n,"tsvParseRows",function(){return h.i}),e.d(n,"tsvFormat",function(){return h.f}),e.d(n,"tsvFormatRows",function(){return h.g});var d=e(120);e.d(n,"easeLinear",function(){return d.y}),e.d(n,"easeQuad",function(){return d.D}),e.d(n,"easeQuadIn",function(){return d.E}),e.d(n,"easeQuadOut",function(){return d.G}),e.d(n,"easeQuadInOut",function(){return d.F}),e.d(n,"easeCubic",function(){return d.m}),e.d(n,"easeCubicIn",function(){return d.n}),e.d(n,"easeCubicOut",function(){return d.p}),e.d(n,"easeCubicInOut",function(){return d.o}),e.d(n,"easePoly",function(){return d.z}),e.d(n,"easePolyIn",function(){return d.A}),e.d(n,"easePolyOut",function(){return d.C}),e.d(n,"easePolyInOut",function(){return d.B}),e.d(n,"easeSin",function(){return d.H}),e.d(n,"easeSinIn",function(){return d.I}),e.d(n,"easeSinOut",function(){return d.K}),e.d(n,"easeSinInOut",function(){return d.J}),e.d(n,"easeExp",function(){return d.u}),e.d(n,"easeExpIn",function(){return d.v}),e.d(n,"easeExpOut",function(){return d.x}),e.d(n,"easeExpInOut",function(){return d.w}),e.d(n,"easeCircle",function(){return d.i}),e.d(n,"easeCircleIn",function(){return d.j}),e.d(n,"easeCircleOut",function(){return d.l}),e.d(n,"easeCircleInOut",function(){return d.k}),e.d(n,"easeBounce",function(){return d.e}),e.d(n,"easeBounceIn",function(){return d.f}),e.d(n,"easeBounceOut",function(){return d.h}),e.d(n,"easeBounceInOut",function(){return d.g}),e.d(n,"easeBack",function(){return d.a}),e.d(n,"easeBackIn",function(){return d.b}),e.d(n,"easeBackOut",function(){return d.d}),e.d(n,"easeBackInOut",function(){return d.c}),e.d(n,"easeElastic",function(){return d.q}),e.d(n,"easeElasticIn",function(){return d.r}),e.d(n,"easeElasticOut",function(){return d.t}),e.d(n,"easeElasticInOut",function(){return d.s});var p=e(295);e.d(n,"forceCenter",function(){return p.a}),e.d(n,"forceCollide",function(){return p.b}),e.d(n,"forceLink",function(){return p.c}),e.d(n,"forceManyBody",function(){return p.d}),e.d(n,"forceRadial",function(){return p.e}),e.d(n,"forceSimulation",function(){return p.f}),e.d(n,"forceX",function(){return p.g}),e.d(n,"forceY",function(){return p.h});var v=e(70);e.d(n,"formatDefaultLocale",function(){return v.b}),e.d(n,"format",function(){return v.a}),e.d(n,"formatPrefix",function(){return v.d}),e.d(n,"formatLocale",function(){return v.c}),e.d(n,"formatSpecifier",function(){return v.e}),e.d(n,"precisionFixed",function(){return v.f}),e.d(n,"precisionPrefix",function(){return v.g}),e.d(n,"precisionRound",function(){return v.h});var b=e(325);e.d(n,"geoArea",function(){return b.c}),e.d(n,"geoBounds",function(){return b.h}),e.d(n,"geoCentroid",function(){return b.i}),e.d(n,"geoCircle",function(){return b.j}),e.d(n,"geoClipAntimeridian",function(){return b.k}),e.d(n,"geoClipCircle",function(){return b.l}),e.d(n,"geoClipExtent",function(){return b.m}),e.d(n,"geoClipRectangle",function(){return b.n}),e.d(n,"geoContains",function(){return b.u}),e.d(n,"geoDistance",function(){return b.v}),e.d(n,"geoGraticule",function(){return b.A}),e.d(n,"geoGraticule10",function(){return b.B}),e.d(n,"geoInterpolate",function(){return b.D}),e.d(n,"geoLength",function(){return b.E}),e.d(n,"geoPath",function(){return b.L}),e.d(n,"geoAlbers",function(){return b.a}),e.d(n,"geoAlbersUsa",function(){return b.b}),e.d(n,"geoAzimuthalEqualArea",function(){return b.d}),e.d(n,"geoAzimuthalEqualAreaRaw",function(){return b.e}),e.d(n,"geoAzimuthalEquidistant",function(){return b.f}),e.d(n,"geoAzimuthalEquidistantRaw",function(){return b.g}),e.d(n,"geoConicConformal",function(){return b.o}),e.d(n,"geoConicConformalRaw",function(){return b.p}),e.d(n,"geoConicEqualArea",function(){return b.q}),e.d(n,"geoConicEqualAreaRaw",function(){return b.r}),e.d(n,"geoConicEquidistant",function(){return b.s}),e.d(n,"geoConicEquidistantRaw",function(){return b.t}),e.d(n,"geoEquirectangular",function(){return b.w}),e.d(n,"geoEquirectangularRaw",function(){return b.x}),e.d(n,"geoGnomonic",function(){return b.y}),e.d(n,"geoGnomonicRaw",function(){return b.z}),e.d(n,"geoIdentity",function(){return b.C}),e.d(n,"geoProjection",function(){return b.M}),e.d(n,"geoProjectionMutator",function(){return b.N}),e.d(n,"geoMercator",function(){return b.F}),e.d(n,"geoMercatorRaw",function(){return b.G}),e.d(n,"geoNaturalEarth1",function(){return b.H}),e.d(n,"geoNaturalEarth1Raw",function(){return b.I}),e.d(n,"geoOrthographic",function(){return b.J}),e.d(n,"geoOrthographicRaw",function(){return b.K}),e.d(n,"geoStereographic",function(){return b.P}),e.d(n,"geoStereographicRaw",function(){return b.Q}),e.d(n,"geoTransverseMercator",function(){return b.T}),e.d(n,"geoTransverseMercatorRaw",function(){return b.U}),e.d(n,"geoRotation",function(){return b.O}),e.d(n,"geoStream",function(){return b.R}),e.d(n,"geoTransform",function(){return b.S});var g=e(353);e.d(n,"cluster",function(){return g.a}),e.d(n,"hierarchy",function(){return g.b}),e.d(n,"pack",function(){return g.c}),e.d(n,"packSiblings",function(){return g.e}),e.d(n,"packEnclose",function(){return g.d}),e.d(n,"partition",function(){return g.f}),e.d(n,"stratify",function(){return g.g}),e.d(n,"tree",function(){return g.h}),e.d(n,"treemap",function(){return g.i}),e.d(n,"treemapBinary",function(){return g.j}),e.d(n,"treemapDice",function(){return g.k}),e.d(n,"treemapSlice",function(){return g.m}),e.d(n,"treemapSliceDice",function(){return g.n}),e.d(n,"treemapSquarify",function(){return g.o}),e.d(n,"treemapResquarify",function(){return g.l});var y=e(5);e.d(n,"interpolate",function(){return y.a}),e.d(n,"interpolateArray",function(){return y.b}),e.d(n,"interpolateBasis",function(){return y.c}),e.d(n,"interpolateBasisClosed",function(){return y.d}),e.d(n,"interpolateDate",function(){return y.g}),e.d(n,"interpolateNumber",function(){return y.m}),e.d(n,"interpolateObject",function(){return y.n}),e.d(n,"interpolateRound",function(){return y.r}),e.d(n,"interpolateString",function(){return y.s}),e.d(n,"interpolateTransformCss",function(){return y.t}),e.d(n,"interpolateTransformSvg",function(){return y.u}),e.d(n,"interpolateZoom",function(){return y.v}),e.d(n,"interpolateRgb",function(){return y.o}),e.d(n,"interpolateRgbBasis",function(){return y.p}),e.d(n,"interpolateRgbBasisClosed",function(){return y.q}),e.d(n,"interpolateHsl",function(){return y.j}),e.d(n,"interpolateHslLong",function(){return y.k}),e.d(n,"interpolateLab",function(){return y.l}),e.d(n,"interpolateHcl",function(){return y.h}),e.d(n,"interpolateHclLong",function(){return y.i}),e.d(n,"interpolateCubehelix",function(){return y.e}),e.d(n,"interpolateCubehelixLong",function(){return y.f}),e.d(n,"quantize",function(){return y.w});var m=e(13);e.d(n,"path",function(){return m.a});var x=e(375);e.d(n,"polygonArea",function(){return x.a}),e.d(n,"polygonCentroid",function(){return x.b}),e.d(n,"polygonHull",function(){return x.d}),e.d(n,"polygonContains",function(){return x.c}),e.d(n,"polygonLength",function(){return x.e});var _=e(68);e.d(n,"quadtree",function(){return _.a});var w=e(382);e.d(n,"queue",function(){return w.a});var O=e(385);e.d(n,"randomUniform",function(){return O.f}),e.d(n,"randomNormal",function(){return O.e}),e.d(n,"randomLogNormal",function(){return O.d}),e.d(n,"randomBates",function(){return O.a}),e.d(n,"randomIrwinHall",function(){return O.c}),e.d(n,"randomExponential",function(){return O.b});var j=e(390);e.d(n,"request",function(){return j.d}),e.d(n,"html",function(){return j.b}),e.d(n,"json",function(){return j.c}),e.d(n,"text",function(){return j.e}),e.d(n,"xml",function(){return j.g}),e.d(n,"csv",function(){return j.a}),e.d(n,"tsv",function(){return j.f});var T=e(397);e.d(n,"scaleBand",function(){return T.i}),e.d(n,"scalePoint",function(){return T.o}),e.d(n,"scaleIdentity",function(){return T.j}),e.d(n,"scaleLinear",function(){return T.l}),e.d(n,"scaleLog",function(){return T.m}),e.d(n,"scaleOrdinal",function(){return T.n}),e.d(n,"scaleImplicit",function(){return T.k}),e.d(n,"scalePow",function(){return T.p}),e.d(n,"scaleSqrt",function(){return T.t}),e.d(n,"scaleQuantile",function(){return T.q}),e.d(n,"scaleQuantize",function(){return T.r}),e.d(n,"scaleThreshold",function(){return T.u}),e.d(n,"scaleTime",function(){return T.v}),e.d(n,"scaleUtc",function(){return T.w}),e.d(n,"schemeCategory10",function(){return T.x}),e.d(n,"schemeCategory20b",function(){return T.z}),e.d(n,"schemeCategory20c",function(){return T.A}),e.d(n,"schemeCategory20",function(){return T.y}),e.d(n,"interpolateCubehelixDefault",function(){return T.b}),e.d(n,"interpolateRainbow",function(){return T.f}),e.d(n,"interpolateWarm",function(){return T.h}),e.d(n,"interpolateCool",function(){return T.a}),e.d(n,"interpolateViridis",function(){return T.g}),e.d(n,"interpolateMagma",function(){return T.d}),e.d(n,"interpolateInferno",function(){return T.c}),e.d(n,"interpolatePlasma",function(){return T.e}),e.d(n,"scaleSequential",function(){return T.s});var C=e(1);e.d(n,"create",function(){return C.b}),e.d(n,"creator",function(){return C.c}),e.d(n,"local",function(){return C.f}),e.d(n,"matcher",function(){return C.g}),e.d(n,"mouse",function(){return C.h}),e.d(n,"namespace",function(){return C.i}),e.d(n,"namespaces",function(){return C.j}),e.d(n,"clientPoint",function(){return C.a}),e.d(n,"select",function(){return C.k}),e.d(n,"selectAll",function(){return C.l}),e.d(n,"selection",function(){return C.m}),e.d(n,"selector",function(){return C.n}),e.d(n,"selectorAll",function(){return C.o}),e.d(n,"style",function(){return C.p}),e.d(n,"touch",function(){return C.q}),e.d(n,"touches",function(){return C.r}),e.d(n,"window",function(){return C.s}),e.d(n,"event",function(){return C.e}),e.d(n,"customEvent",function(){return C.d});var M=e(173);e.d(n,"arc",function(){return M.a}),e.d(n,"area",function(){return M.b}),e.d(n,"line",function(){return M.v}),e.d(n,"pie",function(){return M.A}),e.d(n,"areaRadial",function(){return M.c}),e.d(n,"radialArea",function(){return M.C}),e.d(n,"lineRadial",function(){return M.w}),e.d(n,"radialLine",function(){return M.D}),e.d(n,"pointRadial",function(){return M.B}),e.d(n,"linkHorizontal",function(){return M.x}),e.d(n,"linkVertical",function(){return M.z}),e.d(n,"linkRadial",function(){return M.y}),e.d(n,"symbol",function(){return M.P}),e.d(n,"symbols",function(){return M.X}),e.d(n,"symbolCircle",function(){return M.Q}),e.d(n,"symbolCross",function(){return M.R}),e.d(n,"symbolDiamond",function(){return M.S}),e.d(n,"symbolSquare",function(){return M.T}),e.d(n,"symbolStar",function(){return M.U}),e.d(n,"symbolTriangle",function(){return M.V}),e.d(n,"symbolWye",function(){return M.W}),e.d(n,"curveBasisClosed",function(){return M.e}),e.d(n,"curveBasisOpen",function(){return M.f}),e.d(n,"curveBasis",function(){return M.d}),e.d(n,"curveBundle",function(){return M.g}),e.d(n,"curveCardinalClosed",function(){return M.i}),e.d(n,"curveCardinalOpen",function(){return M.j}),e.d(n,"curveCardinal",function(){return M.h}),e.d(n,"curveCatmullRomClosed",function(){return M.l}),e.d(n,"curveCatmullRomOpen",function(){return M.m}),e.d(n,"curveCatmullRom",function(){return M.k}),e.d(n,"curveLinearClosed",function(){return M.o}),e.d(n,"curveLinear",function(){return M.n}),e.d(n,"curveMonotoneX",function(){return M.p}),e.d(n,"curveMonotoneY",function(){return M.q}),e.d(n,"curveNatural",function(){return M.r}),e.d(n,"curveStep",function(){return M.s}),e.d(n,"curveStepAfter",function(){return M.t}),e.d(n,"curveStepBefore",function(){return M.u}),e.d(n,"stack",function(){return M.E}),e.d(n,"stackOffsetExpand",function(){return M.G}),e.d(n,"stackOffsetDiverging",function(){return M.F}),e.d(n,"stackOffsetNone",function(){return M.H}),e.d(n,"stackOffsetSilhouette",function(){return M.I}),e.d(n,"stackOffsetWiggle",function(){return M.J}),e.d(n,"stackOrderAscending",function(){return M.K}),e.d(n,"stackOrderDescending",function(){return M.L}),e.d(n,"stackOrderInsideOut",function(){return M.M}),e.d(n,"stackOrderNone",function(){return M.N}),e.d(n,"stackOrderReverse",function(){return M.O});var S=e(45);e.d(n,"timeInterval",function(){return S.g}),e.d(n,"timeMillisecond",function(){return S.h}),e.d(n,"timeMilliseconds",function(){return S.i}),e.d(n,"utcMillisecond",function(){return S.L}),e.d(n,"utcMilliseconds",function(){return S.M}),e.d(n,"timeSecond",function(){return S.r}),e.d(n,"timeSeconds",function(){return S.s}),e.d(n,"utcSecond",function(){return S.V}),e.d(n,"utcSeconds",function(){return S.W}),e.d(n,"timeMinute",function(){return S.j}),e.d(n,"timeMinutes",function(){return S.k}),e.d(n,"timeHour",function(){return S.e}),e.d(n,"timeHours",function(){return S.f}),e.d(n,"timeDay",function(){return S.a}),e.d(n,"timeDays",function(){return S.b}),e.d(n,"timeWeek",function(){return S.B}),e.d(n,"timeWeeks",function(){return S.C}),e.d(n,"timeSunday",function(){return S.t}),e.d(n,"timeSundays",function(){return S.u}),e.d(n,"timeMonday",function(){return S.l}),e.d(n,"timeMondays",function(){return S.m}),e.d(n,"timeTuesday",function(){return S.x}),e.d(n,"timeTuesdays",function(){return S.y}),e.d(n,"timeWednesday",function(){return S.z}),e.d(n,"timeWednesdays",function(){return S.A}),e.d(n,"timeThursday",function(){return S.v}),e.d(n,"timeThursdays",function(){return S.w}),e.d(n,"timeFriday",function(){return S.c}),e.d(n,"timeFridays",function(){return S.d}),e.d(n,"timeSaturday",function(){return S.p}),e.d(n,"timeSaturdays",function(){return S.q}),e.d(n,"timeMonth",function(){return S.n}),e.d(n,"timeMonths",function(){return S.o}),e.d(n,"timeYear",function(){return S.D}),e.d(n,"timeYears",function(){return S.E}),e.d(n,"utcMinute",function(){return S.N}),e.d(n,"utcMinutes",function(){return S.O}),e.d(n,"utcHour",function(){return S.J}),e.d(n,"utcHours",function(){return S.K}),e.d(n,"utcDay",function(){return S.F}),e.d(n,"utcDays",function(){return S.G}),e.d(n,"utcWeek",function(){return S._5}),e.d(n,"utcWeeks",function(){return S._6}),e.d(n,"utcSunday",function(){return S.X}),e.d(n,"utcSundays",function(){return S.Y}),e.d(n,"utcMonday",function(){return S.P}),e.d(n,"utcMondays",function(){return S.Q}),e.d(n,"utcTuesday",function(){return S._1}),e.d(n,"utcTuesdays",function(){return S._2}),e.d(n,"utcWednesday",function(){return S._3}),e.d(n,"utcWednesdays",function(){return S._4}),e.d(n,"utcThursday",function(){return S.Z}),e.d(n,"utcThursdays",function(){return S._0}),e.d(n,"utcFriday",function(){return S.H}),e.d(n,"utcFridays",function(){return S.I}),e.d(n,"utcSaturday",function(){return S.T}),e.d(n,"utcSaturdays",function(){return S.U}),e.d(n,"utcMonth",function(){return S.R}),e.d(n,"utcMonths",function(){return S.S}),e.d(n,"utcYear",function(){return S._7}),e.d(n,"utcYears",function(){return S._8});var k=e(82);e.d(n,"timeFormatDefaultLocale",function(){return k.d}),e.d(n,"timeFormat",function(){return k.c}),e.d(n,"timeParse",function(){return k.f}),e.d(n,"utcFormat",function(){return k.g}),e.d(n,"utcParse",function(){return k.h}),e.d(n,"timeFormatLocale",function(){return k.e}),e.d(n,"isoFormat",function(){return k.a}),e.d(n,"isoParse",function(){return k.b});var A=e(36);e.d(n,"now",function(){return A.b}),e.d(n,"timer",function(){return A.d}),e.d(n,"timerFlush",function(){return A.e}),e.d(n,"timeout",function(){return A.c}),e.d(n,"interval",function(){return A.a});var N=e(62);e.d(n,"transition",function(){return N.c}),e.d(n,"active",function(){return N.a}),e.d(n,"interrupt",function(){return N.b});var E=e(454);e.d(n,"voronoi",function(){return E.a});var D=e(459);e.d(n,"zoom",function(){return D.a}),e.d(n,"zoomTransform",function(){return D.c}),e.d(n,"zoomIdentity",function(){return D.b})},function(t,n,e){"use strict";var r=e(430);e.d(n,"a",function(){return r.a});var i=e(155);e.d(n,"b",function(){return i.a});var o=e(84);e.d(n,"v",function(){return o.a});var a=e(431);e.d(n,"A",function(){return a.a});var u=e(434);e.d(n,"c",function(){return u.a}),e.d(n,"C",function(){return u.a});var c=e(157);e.d(n,"w",function(){return c.a}),e.d(n,"D",function(){return c.a});var s=e(158);e.d(n,"B",function(){return s.a});var l=e(435);e.d(n,"x",function(){return l.a}),e.d(n,"z",function(){return l.c}),e.d(n,"y",function(){return l.b});var f=e(436);e.d(n,"P",function(){return f.a}),e.d(n,"X",function(){return f.b});var h=e(160);e.d(n,"Q",function(){return h.a});var d=e(161);e.d(n,"R",function(){return d.a});var p=e(162);e.d(n,"S",function(){return p.a});var v=e(164);e.d(n,"T",function(){return v.a});var b=e(163);e.d(n,"U",function(){return b.a});var g=e(165);e.d(n,"V",function(){return g.a});var y=e(166);e.d(n,"W",function(){return y.a});var m=e(437);e.d(n,"e",function(){return m.a});var x=e(438);e.d(n,"f",function(){return x.a});var _=e(48);e.d(n,"d",function(){return _.b});var w=e(439);e.d(n,"g",function(){return w.a});var O=e(167);e.d(n,"i",function(){return O.b});var j=e(168);e.d(n,"j",function(){return j.b});var T=e(49);e.d(n,"h",function(){return T.b});var C=e(440);e.d(n,"l",function(){return C.a});var M=e(441);e.d(n,"m",function(){return M.a});var S=e(86);e.d(n,"k",function(){return S.a});var k=e(442);e.d(n,"o",function(){return k.a});var A=e(46);e.d(n,"n",function(){return A.a});var N=e(443);e.d(n,"p",function(){return N.a}),e.d(n,"q",function(){return N.b});var E=e(444);e.d(n,"r",function(){return E.a});var D=e(445);e.d(n,"s",function(){return D.a}),e.d(n,"t",function(){return D.b}),e.d(n,"u",function(){return D.c});var L=e(446);e.d(n,"E",function(){return L.a});var q=e(447);e.d(n,"G",function(){return q.a});var R=e(448);e.d(n,"F",function(){return R.a});var P=e(30);e.d(n,"H",function(){return P.a});var H=e(449);e.d(n,"I",function(){return H.a});var F=e(450);e.d(n,"J",function(){return F.a});var z=e(87);e.d(n,"K",function(){return z.a});var I=e(451);e.d(n,"L",function(){return I.a});var $=e(452);e.d(n,"M",function(){return $.a});var U=e(31);e.d(n,"N",function(){return U.a});var B=e(453);e.d(n,"O",function(){return B.a})},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r="4.13.0"},function(t,n,e){"use strict";var r=e(92);n.a=function(t,n,e){var i,o,a,u,c=t.length,s=n.length,l=new Array(c*s);for(null==e&&(e=r.b),i=a=0;i<c;++i)for(u=t[i],o=0;o<s;++o,++a)l[a]=e(u,n[o]);return l}},function(t,n,e){"use strict";n.a=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),o=e(178),a=e(95),u=e(179),c=e(97),s=e(98),l=e(99);n.a=function(){var t=u.a,n=a.a,e=l.a;function f(r){var o,a,u=r.length,l=new Array(u);for(o=0;o<u;++o)l[o]=t(r[o],o,r);var f=n(l),h=f[0],d=f[1],p=e(l,h,d);Array.isArray(p)||(p=Object(s.c)(h,d,p),p=Object(c.a)(Math.ceil(h/p)*p,Math.floor(d/p)*p,p));for(var v=p.length;p[0]<=h;)p.shift(),--v;for(;p[v-1]>d;)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<v?p[o]:d;for(o=0;o<u;++o)h<=(a=l[o])&&a<=d&&g[Object(i.c)(p,a,0,v)].push(r[o]);return g}return f.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(o.a)(n),f):t},f.domain=function(t){return arguments.length?(n="function"==typeof t?t:Object(o.a)([t[0],t[1]]),f):n},f.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?Object(o.a)(r.b.call(t)):Object(o.a)(t),f):e},f}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(96),i=e(17),o=e(22),a=e(50);n.a=function(t,n,e){return t=r.a.call(t,o.a).sort(i.a),Math.ceil((e-n)/(2*(Object(a.a)(t,.75)-Object(a.a)(t,.25))*Math.pow(t.length,-1/3)))}},function(t,n,e){"use strict";var r=e(93);n.a=function(t,n,e){return Math.ceil((e-n)/(3.5*Object(r.a)(t)*Math.pow(t.length,-1/3)))}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,o=i,a=-1,u=0;if(null==n)for(;++a<i;)isNaN(e=Object(r.a)(t[a]))?--o:u+=e;else for(;++a<i;)isNaN(e=Object(r.a)(n(t[a],a,t)))?--o:u+=e;if(o)return u/o}},function(t,n,e){"use strict";var r=e(17),i=e(22),o=e(50);n.a=function(t,n){var e,a=t.length,u=-1,c=[];if(null==n)for(;++u<a;)isNaN(e=Object(i.a)(t[u]))||c.push(e);else for(;++u<a;)isNaN(e=Object(i.a)(n(t[u],u,t)))||c.push(e);return Object(o.a)(c.sort(r.a),.5)}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(e=new Array(a);--i>=0;)for(n=(r=t[i]).length;--n>=0;)e[--a]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,o=0,a=0,u=t[a];for(null==n&&(n=r.a);++o<e;)(n(i=t[o],u)<0||0!==n(u,u))&&(u=i,a=o);return 0===n(u,u)?a:void 0}}},function(t,n,e){"use strict";n.a=function(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t}},function(t,n,e){"use strict";n.a=function(t,n){var e,r=t.length,i=-1,o=0;if(null==n)for(;++i<r;)(e=+t[i])&&(o+=e);else for(;++i<r;)(e=+n(t[i],i,t))&&(o+=e);return o}},function(t,n,e){"use strict";var r=e(101);n.a=function(){return Object(r.a)(arguments)}},function(t,n,e){"use strict";var r=e(192);e.d(n,"d",function(){return r.d}),e.d(n,"c",function(){return r.c}),e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b})},function(t,n,e){"use strict";n.d=function(t){return d(o,t)},n.c=function(t){return d(a,t)},n.a=function(t){return d(u,t)},n.b=function(t){return d(c,t)};var r=e(193),i=e(194),o=1,a=2,u=3,c=4,s=1e-6;function l(t){return"translate("+(t+.5)+",0)"}function f(t){return"translate(0,"+(t+.5)+")"}function h(){return!this.__axis}function d(t,n){var e=[],d=null,p=null,v=6,b=6,g=3,y=t===o||t===c?-1:1,m=t===c||t===a?"x":"y",x=t===o||t===u?l:f;function _(r){var l=null==d?n.ticks?n.ticks.apply(n,e):n.domain():d,f=null==p?n.tickFormat?n.tickFormat.apply(n,e):i.a:p,_=Math.max(v,0)+g,w=n.range(),O=+w[0]+.5,j=+w[w.length-1]+.5,T=(n.bandwidth?function(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}:function(t){return function(n){return+t(n)}})(n.copy()),C=r.selection?r.selection():r,M=C.selectAll(".domain").data([null]),S=C.selectAll(".tick").data(l,n).order(),k=S.exit(),A=S.enter().append("g").attr("class","tick"),N=S.select("line"),E=S.select("text");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),S=S.merge(A),N=N.merge(A.append("line").attr("stroke","#000").attr(m+"2",y*v)),E=E.merge(A.append("text").attr("fill","#000").attr(m,y*_).attr("dy",t===o?"0em":t===u?"0.71em":"0.32em")),r!==C&&(M=M.transition(r),S=S.transition(r),N=N.transition(r),E=E.transition(r),k=k.transition(r).attr("opacity",s).attr("transform",function(t){return isFinite(t=T(t))?x(t):this.getAttribute("transform")}),A.attr("opacity",s).attr("transform",function(t){var n=this.parentNode.__axis;return x(n&&isFinite(n=n(t))?n:T(t))})),k.remove(),M.attr("d",t===c||t==a?"M"+y*b+","+O+"H0.5V"+j+"H"+y*b:"M"+O+","+y*b+"V0.5H"+j+"V"+y*b),S.attr("opacity",1).attr("transform",function(t){return x(T(t))}),N.attr(m+"2",y*v),E.attr(m,y*_).text(f),C.filter(h).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===a?"start":t===c?"end":"middle"),C.each(function(){this.__axis=T})}return _.scale=function(t){return arguments.length?(n=t,_):n},_.ticks=function(){return e=r.a.call(arguments),_},_.tickArguments=function(t){return arguments.length?(e=null==t?[]:r.a.call(t),_):e.slice()},_.tickValues=function(t){return arguments.length?(d=null==t?null:r.a.call(t),_):d&&d.slice()},_.tickFormat=function(t){return arguments.length?(p=t,_):p},_.tickSize=function(t){return arguments.length?(v=b=+t,_):v},_.tickSizeInner=function(t){return arguments.length?(v=+t,_):v},_.tickSizeOuter=function(t){return arguments.length?(b=+t,_):b},_.tickPadding=function(t){return arguments.length?(g=+t,_):g},_}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(196);e.d(n,"a",function(){return r.d}),e.d(n,"c",function(){return r.b}),e.d(n,"d",function(){return r.c}),e.d(n,"b",function(){return r.a})},function(t,n,e){"use strict";n.a=function(t){var n=t.__brush;return n?n.dim.output(n.selection):null},n.b=function(){return S(v)},n.c=function(){return S(b)};var r=e(12),i=e(51),o=e(5),a=e(1),u=e(62),c=e(279),s=e(280),l=e(281),f={name:"drag"},h={name:"space"},d={name:"handle"},p={name:"center"},v={name:"x",handles:["e","w"].map(O),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},b={name:"y",handles:["n","s"].map(O),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},g={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(O),input:function(t){return t},output:function(t){return t}},y={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},m={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},x={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},_={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},w={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function O(t){return{type:t}}function j(){return!a.e.button}function T(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function C(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function M(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function S(t){var n,e=T,g=j,S=Object(r.a)(A,"start","brush","end"),k=6;function A(n){var e=n.property("__brush",q).selectAll(".overlay").data([O("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",y.overlay).merge(e).each(function(){var t=C(this).extent;Object(a.k)(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),n.selectAll(".selection").data([O("selection")]).enter().append("rect").attr("class","selection").attr("cursor",y.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return y[t.type]}),n.each(N).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",L)}function N(){var t=Object(a.k)(this),n=C(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?n[1][0]-k/2:n[0][0]-k/2}).attr("y",function(t){return"s"===t.type[0]?n[1][1]-k/2:n[0][1]-k/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+k:k}).attr("height",function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+k:k})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function E(t,n){return t.__brush.emitter||new D(t,n)}function D(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function L(){if(a.e.touches){if(a.e.changedTouches.length<a.e.touches.length)return Object(l.a)()}else if(n)return;if(g.apply(this,arguments)){var e,r,o,c,s,O,j,T,S,k,A,D,L,q=this,R=a.e.target.__data__.type,P="selection"===(a.e.metaKey?R="overlay":R)?f:a.e.altKey?p:d,H=t===b?null:_[R],F=t===v?null:w[R],z=C(q),I=z.extent,$=z.selection,U=I[0][0],B=I[0][1],W=I[1][0],Y=I[1][1],V=H&&F&&a.e.shiftKey,X=Object(a.h)(q),K=X,G=E(q,arguments).beforestart();"overlay"===R?z.selection=$=[[e=t===b?U:X[0],o=t===v?B:X[1]],[s=t===b?W:e,j=t===v?Y:o]]:(e=$[0][0],o=$[0][1],s=$[1][0],j=$[1][1]),r=e,c=o,O=s,T=j;var Q=Object(a.k)(q).attr("pointer-events","none"),J=Q.selectAll(".overlay").attr("cursor",y[R]);if(a.e.touches)Q.on("touchmove.brush",tt,!0).on("touchend.brush touchcancel.brush",et,!0);else{var Z=Object(a.k)(a.e.view).on("keydown.brush",function(){switch(a.e.keyCode){case 16:V=H&&F;break;case 18:P===d&&(H&&(s=O-S*H,e=r+S*H),F&&(j=T-k*F,o=c+k*F),P=p,nt());break;case 32:P!==d&&P!==p||(H<0?s=O-S:H>0&&(e=r-S),F<0?j=T-k:F>0&&(o=c-k),P=h,J.attr("cursor",y.selection),nt());break;default:return}Object(l.a)()},!0).on("keyup.brush",function(){switch(a.e.keyCode){case 16:V&&(D=L=V=!1,nt());break;case 18:P===p&&(H<0?s=O:H>0&&(e=r),F<0?j=T:F>0&&(o=c),P=d,nt());break;case 32:P===h&&(a.e.altKey?(H&&(s=O-S*H,e=r+S*H),F&&(j=T-k*F,o=c+k*F),P=p):(H<0?s=O:H>0&&(e=r),F<0?j=T:F>0&&(o=c),P=d),J.attr("cursor",y[R]),nt());break;default:return}Object(l.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(a.e.view)}Object(l.b)(),Object(u.b)(q),N.call(q),G.start()}function tt(){var t=Object(a.h)(q);!V||D||L||(Math.abs(t[0]-K[0])>Math.abs(t[1]-K[1])?L=!0:D=!0),K=t,A=!0,Object(l.a)(),nt()}function nt(){var t;switch(S=K[0]-X[0],k=K[1]-X[1],P){case h:case f:H&&(S=Math.max(U-e,Math.min(W-s,S)),r=e+S,O=s+S),F&&(k=Math.max(B-o,Math.min(Y-j,k)),c=o+k,T=j+k);break;case d:H<0?(S=Math.max(U-e,Math.min(W-e,S)),r=e+S,O=s):H>0&&(S=Math.max(U-s,Math.min(W-s,S)),r=e,O=s+S),F<0?(k=Math.max(B-o,Math.min(Y-o,k)),c=o+k,T=j):F>0&&(k=Math.max(B-j,Math.min(Y-j,k)),c=o,T=j+k);break;case p:H&&(r=Math.max(U,Math.min(W,e-S*H)),O=Math.max(U,Math.min(W,s+S*H))),F&&(c=Math.max(B,Math.min(Y,o-k*F)),T=Math.max(B,Math.min(Y,j+k*F)))}O<r&&(H*=-1,t=e,e=s,s=t,t=r,r=O,O=t,R in m&&J.attr("cursor",y[R=m[R]])),T<c&&(F*=-1,t=o,o=j,j=t,t=c,c=T,T=t,R in x&&J.attr("cursor",y[R=x[R]])),z.selection&&($=z.selection),D&&(r=$[0][0],O=$[1][0]),L&&(c=$[0][1],T=$[1][1]),$[0][0]===r&&$[0][1]===c&&$[1][0]===O&&$[1][1]===T||(z.selection=[[r,c],[O,T]],N.call(q),G.brush())}function et(){if(Object(l.b)(),a.e.touches){if(a.e.touches.length)return;n&&clearTimeout(n),n=setTimeout(function(){n=null},500),Q.on("touchmove.brush touchend.brush touchcancel.brush",null)}else Object(i.c)(a.e.view,A),Z.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);Q.attr("pointer-events","all"),J.attr("cursor",y.overlay),z.selection&&($=z.selection),M($)&&(z.selection=null,N.call(q)),G.end()}}function q(){var n=this.__brush||{selection:null};return n.extent=e.apply(this,arguments),n.dim=t,n}return A.move=function(n,e){n.selection?n.on("start.brush",function(){E(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){E(this,arguments).end()}).tween("brush",function(){var n=this,r=n.__brush,i=E(n,arguments),a=r.selection,u=t.input("function"==typeof e?e.apply(this,arguments):e,r.extent),c=Object(o.a)(a,u);function s(t){r.selection=1===t&&M(u)?null:c(t),N.call(n),i.brush()}return a&&u?s:s(1)}):n.each(function(){var n=arguments,r=this.__brush,i=t.input("function"==typeof e?e.apply(this,n):e,r.extent),o=E(this,n).beforestart();Object(u.b)(this),r.selection=null==i||M(i)?null:i,N.call(this),o.start().brush().end()})},D.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(n){Object(a.d)(new s.a(A,n,t.output(this.state.selection)),S.apply,S,[n,this.that,this.args])}},A.extent=function(t){return arguments.length?(e="function"==typeof t?t:Object(c.a)([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),A):e},A.filter=function(t){return arguments.length?(g="function"==typeof t?t:Object(c.a)(!!t),A):g},A.handleSize=function(t){return arguments.length?(k=+t,A):k},A.on=function(){var t=S.on.apply(S,arguments);return t===S?A:t},A}n.d=function(){return S(g)}},function(t,n,e){"use strict";var r={value:function(){}};function i(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new o(r)}function o(t){this._=t}function a(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function u(t,n,e){for(var i=0,o=t.length;i<o;++i)if(t[i].name===n){t[i]=r,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=e&&t.push({name:n,value:e}),t}o.prototype=i.prototype={constructor:o,on:function(t,n){var e,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=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(;++c<s;)if(e=(t=o[c]).type)i[e]=u(i[e],t.name,n);else if(null==n)for(e in i)i[e]=u(i[e],t.name,null);return this}for(;++c<s;)if((e=(t=o[c]).type)&&(e=a(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}},n.a=i},function(t,n,e){"use strict";var r=e(12),i=e(1),o=e(108),a=e(109),u=e(233),c=e(234);function s(){return!i.e.button}function l(){return this.parentNode}function f(t){return null==t?{x:i.e.x,y:i.e.y}:t}function h(){return"ontouchstart"in this}n.a=function(){var t,n,e,d,p=s,v=l,b=f,g=h,y={},m=Object(r.a)("start","drag","end"),x=0,_=0;function w(t){t.on("mousedown.drag",O).filter(g).on("touchstart.drag",C).on("touchmove.drag",M).on("touchend.drag touchcancel.drag",S).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function O(){if(!d&&p.apply(this,arguments)){var r=k("mouse",v.apply(this,arguments),i.h,this,arguments);r&&(Object(i.k)(i.e.view).on("mousemove.drag",j,!0).on("mouseup.drag",T,!0),Object(o.a)(i.e.view),Object(a.b)(),e=!1,t=i.e.clientX,n=i.e.clientY,r("start"))}}function j(){if(Object(a.a)(),!e){var r=i.e.clientX-t,o=i.e.clientY-n;e=r*r+o*o>_}y.mouse("drag")}function T(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(o.b)(i.e.view,e),Object(a.a)(),y.mouse("end")}function C(){if(p.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),o=e.length;for(t=0;t<o;++t)(n=k(e[t].identifier,r,i.q,this,arguments))&&(Object(a.b)(),n("start"))}}function M(){var t,n,e=i.e.changedTouches,r=e.length;for(t=0;t<r;++t)(n=y[e[t].identifier])&&(Object(a.a)(),n("drag"))}function S(){var t,n,e=i.e.changedTouches,r=e.length;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),t=0;t<r;++t)(n=y[e[t].identifier])&&(Object(a.b)(),n("end"))}function k(t,n,e,r,o){var a,u,s,l=e(n,t),f=m.copy();if(Object(i.d)(new c.a(w,"beforestart",a,t,x,l[0],l[1],0,0,f),function(){return null!=(i.e.subject=a=b.apply(r,o))&&(u=a.x-l[0]||0,s=a.y-l[1]||0,!0)}))return function h(d){var p,v=l;switch(d){case"start":y[t]=h,p=x++;break;case"end":delete y[t],--x;case"drag":l=e(n,t),p=x}Object(i.d)(new c.a(w,d,a,t,p,l[0]+u,l[1]+s,l[0]-v[0],l[1]-v[1],f),f.apply,f,[d,r,o])}}return w.filter=function(t){return arguments.length?(p="function"==typeof t?t:Object(u.a)(!!t),w):p},w.container=function(t){return arguments.length?(v="function"==typeof t?t:Object(u.a)(t),w):v},w.subject=function(t){return arguments.length?(b="function"==typeof t?t:Object(u.a)(t),w):b},w.touchable=function(t){return arguments.length?(g="function"==typeof t?t:Object(u.a)(!!t),w):g},w.on=function(){var t=m.on.apply(m,arguments);return t===m?w:t},w.clickDistance=function(t){return arguments.length?(_=(t=+t)*t,w):Math.sqrt(_)},w}},function(t,n,e){"use strict";var r=e(33),i=e(102);n.a=function(t){return Object(i.a)(Object(r.a)(t).call(document.documentElement))}},function(t,n,e){"use strict";var r=e(4),i=e(54);n.a=function(t){"function"!=typeof t&&(t=Object(i.a)(t));for(var n=this._groups,e=n.length,o=new Array(e),a=0;a<e;++a)for(var u,c,s=n[a],l=s.length,f=o[a]=new Array(l),h=0;h<l;++h)(u=s[h])&&(c=t.call(u,u.__data__,h,s))&&("__data__"in u&&(c.__data__=u.__data__),f[h]=c);return new r.a(o,this._parents)}},function(t,n,e){"use strict";var r=e(4),i=e(103);n.a=function(t){"function"!=typeof t&&(t=Object(i.a)(t));for(var n=this._groups,e=n.length,o=[],a=[],u=0;u<e;++u)for(var c,s=n[u],l=s.length,f=0;f<l;++f)(c=s[f])&&(o.push(t.call(c,c.__data__,f,s)),a.push(c));return new r.a(o,a)}},function(t,n,e){"use strict";var r=e(4),i=e(104);n.a=function(t){"function"!=typeof t&&(t=Object(i.a)(t));for(var n=this._groups,e=n.length,o=new Array(e),a=0;a<e;++a)for(var u,c=n[a],s=c.length,l=o[a]=[],f=0;f<s;++f)(u=c[f])&&t.call(u,u.__data__,f,c)&&l.push(u);return new r.a(o,this._parents)}},function(t,n,e){"use strict";var r=e(4),i=e(105),o=e(204),a="$";function u(t,n,e,r,o,a){for(var u,c=0,s=n.length,l=a.length;c<l;++c)(u=n[c])?(u.__data__=a[c],r[c]=u):e[c]=new i.a(t,a[c]);for(;c<s;++c)(u=n[c])&&(o[c]=u)}function c(t,n,e,r,o,u,c){var s,l,f,h={},d=n.length,p=u.length,v=new Array(d);for(s=0;s<d;++s)(l=n[s])&&(v[s]=f=a+c.call(l,l.__data__,s,n),f in h?o[s]=l:h[f]=l);for(s=0;s<p;++s)(l=h[f=a+c.call(t,u[s],s,u)])?(r[s]=l,l.__data__=u[s],h[f]=null):e[s]=new i.a(t,u[s]);for(s=0;s<d;++s)(l=n[s])&&h[v[s]]===l&&(o[s]=l)}n.a=function(t,n){if(!t)return g=new Array(this.size()),d=-1,this.each(function(t){g[++d]=t}),g;var e=n?c:u,i=this._parents,a=this._groups;"function"!=typeof t&&(t=Object(o.a)(t));for(var s=a.length,l=new Array(s),f=new Array(s),h=new Array(s),d=0;d<s;++d){var p=i[d],v=a[d],b=v.length,g=t.call(p,p&&p.__data__,d,i),y=g.length,m=f[d]=new Array(y),x=l[d]=new Array(y);e(p,v,m,x,h[d]=new Array(b),g,n);for(var _,w,O=0,j=0;O<y;++O)if(_=m[O]){for(O>=j&&(j=O+1);!(w=x[j])&&++j<y;);_._next=w||null}}return(l=new r.a(l,i))._enter=f,l._exit=h,l}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(106),i=e(4);n.a=function(){return new i.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){for(var n=this._groups,e=t._groups,i=n.length,o=e.length,a=Math.min(i,o),u=new Array(i),c=0;c<a;++c)for(var s,l=n[c],f=e[c],h=l.length,d=u[c]=new Array(h),p=0;p<h;++p)(s=l[p]||f[p])&&(d[p]=s);for(;c<i;++c)u[c]=n[c];return new r.a(u,this._parents)}},function(t,n,e){"use strict";n.a=function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this}},function(t,n,e){"use strict";var r=e(4);function i(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=i);for(var e=this._groups,o=e.length,a=new Array(o),u=0;u<o;++u){for(var c,s=e[u],l=s.length,f=a[u]=new Array(l),h=0;h<l;++h)(c=s[h])&&(f[h]=c);f.sort(n)}return new r.a(a,this._parents).order()}},function(t,n,e){"use strict";n.a=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}},function(t,n,e){"use strict";n.a=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t}},function(t,n,e){"use strict";n.a=function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null}},function(t,n,e){"use strict";n.a=function(){var t=0;return this.each(function(){++t}),t}},function(t,n,e){"use strict";n.a=function(){return!this.node()}},function(t,n,e){"use strict";n.a=function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this}},function(t,n,e){"use strict";var r=e(52);n.a=function(t,n){var e=Object(r.a)(t);if(arguments.length<2){var i=this.node();return e.local?i.getAttributeNS(e.space,e.local):i.getAttribute(e)}return this.each((null==n?e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}:function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))}},function(t,n,e){"use strict";n.a=function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new o(t)}function o(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function a(t,n){for(var e=i(t),r=-1,o=n.length;++r<o;)e.add(n[r])}function u(t,n){for(var e=i(t),r=-1,o=n.length;++r<o;)e.remove(n[r])}o.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},n.a=function(t,n){var e=r(t+"");if(arguments.length<2){for(var o=i(this.node()),c=-1,s=e.length;++c<s;)if(!o.contains(e[c]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?a:u)(this,t)}}:n?function(t){return function(){a(this,t)}}:function(t){return function(){u(this,t)}})(e,n))}},function(t,n,e){"use strict";function r(){this.textContent=""}n.a=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent}},function(t,n,e){"use strict";function r(){this.innerHTML=""}n.a=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML}},function(t,n,e){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}n.a=function(){return this.each(r)}},function(t,n,e){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}n.a=function(){return this.each(r)}},function(t,n,e){"use strict";var r=e(33);n.a=function(t){var n="function"==typeof t?t:Object(r.a)(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})}},function(t,n,e){"use strict";var r=e(33),i=e(54);function o(){return null}n.a=function(t,n){var e="function"==typeof t?t:Object(r.a)(t),a=null==n?o:"function"==typeof n?n:Object(i.a)(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),a.apply(this,arguments)||null)})}},function(t,n,e){"use strict";function r(){var t=this.parentNode;t&&t.removeChild(this)}n.a=function(){return this.each(r)}},function(t,n,e){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function i(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}n.a=function(t){return this.select(t?i:r)}},function(t,n,e){"use strict";n.a=function(t){return arguments.length?this.property("__data__",t):this.node().__data__}},function(t,n,e){"use strict";var r=e(55);function i(t,n,e){var i=Object(r.a)(t),o=i.CustomEvent;"function"==typeof o?o=new o(n,e):(o=i.document.createEvent("Event"),e?(o.initEvent(n,e.bubbles,e.cancelable),o.detail=e.detail):o.initEvent(n,!1,!1)),t.dispatchEvent(o)}n.a=function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return i(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return i(this,t,n)}})(t,n))}},function(t,n,e){"use strict";n.a=i;var r=0;function i(){return new o}function o(){this._="@"+(++r).toString(36)}o.prototype=i.prototype={constructor:o,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}}},function(t,n,e){"use strict";var r=e(57),i=e(34);n.a=function(t){var n=Object(r.a)();return n.changedTouches&&(n=n.changedTouches[0]),Object(i.a)(t,n)}},function(t,n,e){"use strict";var r=e(4);n.a=function(t){return"string"==typeof t?new r.a([document.querySelectorAll(t)],[document.documentElement]):new r.a([null==t?[]:t],r.c)}},function(t,n,e){"use strict";var r=e(57),i=e(34);n.a=function(t,n,e){arguments.length<3&&(e=n,n=Object(r.a)().changedTouches);for(var o,a=0,u=n?n.length:0;a<u;++a)if((o=n[a]).identifier===e)return Object(i.a)(t,o);return null}},function(t,n,e){"use strict";var r=e(57),i=e(34);n.a=function(t,n){null==n&&(n=Object(r.a)().touches);for(var e=0,o=n?n.length:0,a=new Array(o);e<o;++e)a[e]=Object(i.a)(t,n[e]);return a}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(t,n,e,r,i,o,a,u,c,s){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=c,this._=s}n.a=r,r.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t}},function(t,n,e){"use strict";n.a=p,n.b=x;var r=e(60),i=e(59),o=e(110),a=.95047,u=1,c=1.08883,s=4/29,l=6/29,f=3*l*l,h=l*l*l;function d(t){if(t instanceof v)return new v(t.l,t.a,t.b,t.opacity);if(t instanceof _){var n=t.h*o.a;return new v(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof i.b||(t=Object(i.h)(t));var e=m(t.r),r=m(t.g),s=m(t.b),l=b((.4124564*e+.3575761*r+.1804375*s)/a),f=b((.2126729*e+.7151522*r+.072175*s)/u);return new v(116*f-16,500*(l-f),200*(f-b((.0193339*e+.119192*r+.9503041*s)/c)),t.opacity)}function p(t,n,e,r){return 1===arguments.length?d(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function b(t){return t>h?Math.pow(t,1/3):t/f+s}function g(t){return t>l?t*t*t:f*(t-s)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function x(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof _)return new _(t.h,t.c,t.l,t.opacity);t instanceof v||(t=d(t));var n=Math.atan2(t.b,t.a)*o.b;return new _(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new _(t,n,e,null==r?1:r)}function _(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,p,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=u*g(t),n=a*g(n),e=c*g(e),new i.b(y(3.2404542*n-1.5371385*t-.4985314*e),y(-.969266*n+1.8760108*t+.041556*e),y(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(r.a)(_,x,Object(r.b)(i.a,{brighter:function(t){return new _(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new _(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(t,n,e){"use strict";n.a=p;var r=e(60),i=e(59),o=e(110),a=-.14861,u=1.78277,c=-.29227,s=-.90649,l=1.97294,f=l*s,h=l*u,d=u*c-s*a;function p(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,a=(d*r+f*n-h*e)/(d+f-h),u=r-a,p=(l*(e-a)-c*u)/s,b=Math.sqrt(p*p+u*u)/(l*a*(1-a)),g=b?Math.atan2(p,u)*o.b-120:NaN;return new v(g<0?g+360:g,b,a,t.opacity)}(t):new v(t,n,e,null==r?1:r)}function v(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Object(r.a)(v,p,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.a,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),f=Math.sin(t);return new i.b(255*(n+e*(a*r+u*f)),255*(n+e*(c*r+s*f)),255*(n+e*(l*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e.d(n,"b",function(){return u});var r=e(35),i=e(239);function o(t,n,e,i){function o(t){return t.length?t.pop()+" ":""}return function(a,u){var c=[],s=[];return a=t(a),u=t(u),function(t,i,o,a,u,c){if(t!==o||i!==a){var s=u.push("translate(",null,n,null,e);c.push({i:s-4,x:Object(r.a)(t,o)},{i:s-2,x:Object(r.a)(i,a)})}else(o||a)&&u.push("translate("+o+n+a+e)}(a.translateX,a.translateY,u.translateX,u.translateY,c,s),function(t,n,e,a){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),a.push({i:e.push(o(e)+"rotate(",null,i)-2,x:Object(r.a)(t,n)})):n&&e.push(o(e)+"rotate("+n+i)}(a.rotate,u.rotate,c,s),function(t,n,e,a){t!==n?a.push({i:e.push(o(e)+"skewX(",null,i)-2,x:Object(r.a)(t,n)}):n&&e.push(o(e)+"skewX("+n+i)}(a.skewX,u.skewX,c,s),function(t,n,e,i,a,u){if(t!==e||n!==i){var c=a.push(o(a)+"scale(",null,",",null,")");u.push({i:c-4,x:Object(r.a)(t,e)},{i:c-2,x:Object(r.a)(n,i)})}else 1===e&&1===i||a.push(o(a)+"scale("+e+","+i+")")}(a.scaleX,a.scaleY,u.scaleX,u.scaleY,c,s),a=u=null,function(t){for(var n,e=-1,r=s.length;++e<r;)c[(n=s[e]).i]=n.x(t);return c.join("")}}}var a=o(i.a,"px, ","px)","deg)"),u=o(i.b,", ",")",")")},function(t,n,e){"use strict";n.a=function(t){if("none"===t)return u.b;r||(r=document.createElement("DIV"),i=document.documentElement,o=document.defaultView);return r.style.transform=t,t=o.getComputedStyle(i.appendChild(r),null).getPropertyValue("transform"),i.removeChild(r),t=t.slice(7,-1).split(","),Object(u.a)(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5])},n.b=function(t){if(null==t)return u.b;a||(a=document.createElementNS("http://www.w3.org/2000/svg","g"));return a.setAttribute("transform",t),(t=a.transform.baseVal.consolidate())?(t=t.matrix,Object(u.a)(t.a,t.b,t.c,t.d,t.e,t.f)):u.b};var r,i,o,a,u=e(240)},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=180/Math.PI,i={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};n.a=function(t,n,e,i,o,a){var u,c,s;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(s=t*e+n*i)&&(e-=t*s,i-=n*s),(c=Math.sqrt(e*e+i*i))&&(e/=c,i/=c,s/=c),t*i<n*e&&(t=-t,n=-n,s=-s,u=-u),{translateX:o,translateY:a,rotate:Math.atan2(n,t)*r,skewX:Math.atan(s)*r,scaleX:u,scaleY:c}}},function(t,n,e){"use strict";var r=Math.SQRT2;function i(t){return((t=Math.exp(t))+1/t)/2}n.a=function(t,n){var e,o,a=t[0],u=t[1],c=t[2],s=n[0],l=n[1],f=n[2],h=s-a,d=l-u,p=h*h+d*d;if(p<1e-12)o=Math.log(f/c)/r,e=function(t){return[a+t*h,u+t*d,c*Math.exp(r*t*o)]};else{var v=Math.sqrt(p),b=(f*f-c*c+4*p)/(2*c*2*v),g=(f*f-c*c-4*p)/(2*f*2*v),y=Math.log(Math.sqrt(b*b+1)-b),m=Math.log(Math.sqrt(g*g+1)-g);o=(m-y)/r,e=function(t){var n,e=t*o,s=i(y),l=c/(2*v)*(s*(n=r*e+y,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[a+l*h,u+l*d,c*s/i(r*e+y)]}}return e.duration=1e3*o,e}},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(7),i=e(23);function o(t){return function(n,e){var o=t((n=Object(r.d)(n)).h,(e=Object(r.d)(e)).h),a=Object(i.a)(n.s,e.s),u=Object(i.a)(n.l,e.l),c=Object(i.a)(n.opacity,e.opacity);return function(t){return n.h=o(t),n.s=a(t),n.l=u(t),n.opacity=c(t),n+""}}}n.a=o(i.c);var a=o(i.a)},function(t,n,e){"use strict";n.a=function(t,n){var e=Object(i.a)((t=Object(r.e)(t)).l,(n=Object(r.e)(n)).l),o=Object(i.a)(t.a,n.a),a=Object(i.a)(t.b,n.b),u=Object(i.a)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=o(n),t.b=a(n),t.opacity=u(n),t+""}};var r=e(7),i=e(23)},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(7),i=e(23);function o(t){return function(n,e){var o=t((n=Object(r.c)(n)).h,(e=Object(r.c)(e)).h),a=Object(i.a)(n.c,e.c),u=Object(i.a)(n.l,e.l),c=Object(i.a)(n.opacity,e.opacity);return function(t){return n.h=o(t),n.c=a(t),n.l=u(t),n.opacity=c(t),n+""}}}n.a=o(i.c);var a=o(i.a)},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(7),i=e(23);function o(t){return function n(e){function o(n,o){var a=t((n=Object(r.b)(n)).h,(o=Object(r.b)(o)).h),u=Object(i.a)(n.s,o.s),c=Object(i.a)(n.l,o.l),s=Object(i.a)(n.opacity,o.opacity);return function(t){return n.h=a(t),n.s=u(t),n.l=c(Math.pow(t,e)),n.opacity=s(t),n+""}}return e=+e,o.gamma=n,o}(1)}n.b=o(i.c);var a=o(i.a)},function(t,n,e){"use strict";n.a=function(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e}},function(t,n,e){"use strict";var r=e(1),i=e(248),o=e(251);r.m.prototype.interrupt=i.a,r.m.prototype.transition=o.a},function(t,n,e){"use strict";var r=e(118);n.a=function(t){return this.each(function(){Object(r.a)(this,t)})}},function(t,n,e){"use strict";var r=e(63);n.a=function(t,n,e){var i=new r.a;return n=null==n?0:+n,i.restart(function(e){i.stop(),t(e+n)},n,e),i}},function(t,n,e){"use strict";var r=e(63);n.a=function(t,n,e){var i=new r.a,o=n;return null==n?(i.restart(t,n,e),i):(n=+n,e=null==e?Object(r.b)():+e,i.restart(function r(a){a+=o,i.restart(r,o+=n,e),t(a)},n,e),i)}},function(t,n,e){"use strict";var r=e(10),i=e(6),o=e(120),a=e(36),u={time:null,delay:0,duration:250,ease:o.o};function c(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return u.time=Object(a.b)(),u;return e}n.a=function(t){var n,e;t instanceof r.a?(n=t._id,t=t._name):(n=Object(r.c)(),(e=u).time=Object(a.b)(),t=null==t?null:t+"");for(var o=this._groups,s=o.length,l=0;l<s;++l)for(var f,h=o[l],d=h.length,p=0;p<d;++p)(f=h[p])&&Object(i.e)(f,t,n,p,h,e||c(f,n));return new r.a(o,this._parents,t,n)}},function(t,n,e){"use strict";var r=e(5),i=e(1),o=e(37),a=e(119);n.a=function(t,n){var e=Object(i.i)(t),u="transform"===e?r.u:a.a;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,i,o;return function(){var a,u=e(this);if(null!=u)return(a=this.getAttributeNS(t.space,t.local))===u?null:a===r&&u===i?o:o=n(r=a,i=u);this.removeAttributeNS(t.space,t.local)}}:function(t,n,e){var r,i,o;return function(){var a,u=e(this);if(null!=u)return(a=this.getAttribute(t))===u?null:a===r&&u===i?o:o=n(r=a,i=u);this.removeAttribute(t)}})(e,u,Object(o.b)(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===r?i:i=n(r=o,e)}}:function(t,n,e){var r,i;return function(){var o=this.getAttribute(t);return o===e?null:o===r?i:i=n(r=o,e)}})(e,u,n+""))}},function(t,n,e){"use strict";var r=e(1);n.a=function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var i=Object(r.i)(t);return this.tween(e,(i.local?function(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttributeNS(t.space,t.local,r(n))}}return e._value=n,e}:function(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttribute(t,r(n))}}return e._value=n,e})(i,n))}},function(t,n,e){"use strict";var r=e(6);n.a=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){Object(r.g)(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){Object(r.g)(this,t).delay=n}})(n,t)):Object(r.f)(this.node(),n).delay}},function(t,n,e){"use strict";var r=e(6);n.a=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){Object(r.h)(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){Object(r.h)(this,t).duration=n}})(n,t)):Object(r.f)(this.node(),n).duration}},function(t,n,e){"use strict";var r=e(6);n.a=function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw new Error;return function(){Object(r.h)(this,t).ease=n}}(n,t)):Object(r.f)(this.node(),n).ease}},function(t,n,e){"use strict";var r=e(1),i=e(10);n.a=function(t){"function"!=typeof t&&(t=Object(r.g)(t));for(var n=this._groups,e=n.length,o=new Array(e),a=0;a<e;++a)for(var u,c=n[a],s=c.length,l=o[a]=[],f=0;f<s;++f)(u=c[f])&&t.call(u,u.__data__,f,c)&&l.push(u);return new i.a(o,this._parents,this._name,this._id)}},function(t,n,e){"use strict";var r=e(10);n.a=function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,i=n.length,o=e.length,a=Math.min(i,o),u=new Array(i),c=0;c<a;++c)for(var s,l=n[c],f=e[c],h=l.length,d=u[c]=new Array(h),p=0;p<h;++p)(s=l[p]||f[p])&&(d[p]=s);for(;c<i;++c)u[c]=n[c];return new r.a(u,this._parents,this._name,this._id)}},function(t,n,e){"use strict";var r=e(6);n.a=function(t,n){var e=this._id;return arguments.length<2?Object(r.f)(this.node(),e).on.on(t):this.each(function(t,n,e){var i,o,a=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?r.g:r.h;return function(){var r=a(this,t),u=r.on;u!==i&&(o=(i=u).copy()).on(n,e),r.on=o}}(e,t,n))}},function(t,n,e){"use strict";n.a=function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t}},function(t,n,e){"use strict";var r=e(1),i=e(10),o=e(6);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.n)(t));for(var a=this._groups,u=a.length,c=new Array(u),s=0;s<u;++s)for(var l,f,h=a[s],d=h.length,p=c[s]=new Array(d),v=0;v<d;++v)(l=h[v])&&(f=t.call(l,l.__data__,v,h))&&("__data__"in l&&(f.__data__=l.__data__),p[v]=f,Object(o.e)(p[v],n,e,v,p,Object(o.f)(l,e)));return new i.a(c,this._parents,n,e)}},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.o)(t));for(var a=this._groups,u=a.length,c=[],s=[],l=0;l<u;++l)for(var f,h=a[l],d=h.length,p=0;p<d;++p)if(f=h[p]){for(var v,b=t.call(f,f.__data__,p,h),g=Object(o.f)(f,e),y=0,m=b.length;y<m;++y)(v=b[y])&&Object(o.e)(v,n,e,y,b,g);c.push(b),s.push(f)}return new i.a(c,s,n,e)}},function(t,n,e){"use strict";var r=e(1).m.prototype.constructor;n.a=function(){return new r(this._groups,this._parents)}},function(t,n,e){"use strict";var r=e(5),i=e(1),o=e(37),a=e(119);n.a=function(t,n,e){var u="transform"==(t+="")?r.t:a.a;return null==n?this.styleTween(t,function(t,n){var e,r,o;return function(){var a=Object(i.p)(this,t),u=(this.style.removeProperty(t),Object(i.p)(this,t));return a===u?null:a===e&&u===r?o:o=n(e=a,r=u)}}(t,u)).on("end.style."+t,function(t){return function(){this.style.removeProperty(t)}}(t)):this.styleTween(t,"function"==typeof n?function(t,n,e){var r,o,a;return function(){var u=Object(i.p)(this,t),c=e(this);return null==c&&(this.style.removeProperty(t),c=Object(i.p)(this,t)),u===c?null:u===r&&c===o?a:a=n(r=u,o=c)}}(t,u,Object(o.b)(this,"style."+t,n)):function(t,n,e){var r,o;return function(){var a=Object(i.p)(this,t);return a===e?null:a===r?o:o=n(r=a,e)}}(t,u,n+""),e)}},function(t,n,e){"use strict";n.a=function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}(t,n,null==e?"":e))}},function(t,n,e){"use strict";var r=e(37);n.a=function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(Object(r.b)(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))}},function(t,n,e){"use strict";var r=e(10),i=e(6);n.a=function(){for(var t=this._name,n=this._id,e=Object(r.c)(),o=this._groups,a=o.length,u=0;u<a;++u)for(var c,s=o[u],l=s.length,f=0;f<l;++f)if(c=s[f]){var h=Object(i.f)(c,n);Object(i.e)(c,t,e,f,s,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new r.a(o,this._parents,t,e)}},function(t,n,e){"use strict";n.a=function(t){return+t}},function(t,n,e){"use strict";n.a=function(t){return t*t},n.c=function(t){return t*(2-t)},n.b=function(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}},function(t,n,e){"use strict";n.a=function(t){return t*t*t},n.c=function(t){return--t*t*t+1},n.b=function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return o});var r=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),i=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),o=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3)},function(t,n,e){"use strict";n.a=function(t){return 1-Math.cos(t*i)},n.c=function(t){return Math.sin(t*i)},n.b=function(t){return(1-Math.cos(r*t))/2};var r=Math.PI,i=r/2},function(t,n,e){"use strict";n.a=function(t){return Math.pow(2,10*t-10)},n.c=function(t){return 1-Math.pow(2,-10*t)},n.b=function(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}},function(t,n,e){"use strict";n.a=function(t){return 1-Math.sqrt(1-t*t)},n.c=function(t){return Math.sqrt(1- --t*t)},n.b=function(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}},function(t,n,e){"use strict";n.a=function(t){return 1-d(1-t)},n.c=d,n.b=function(t){return((t*=2)<=1?1-d(1-t):d(t-1)+1)/2};var r=4/11,i=6/11,o=8/11,a=.75,u=9/11,c=10/11,s=.9375,l=21/22,f=63/64,h=1/r/r;function d(t){return(t=+t)<r?h*t*t:t<o?h*(t-=i)*t+a:t<c?h*(t-=u)*t+s:h*(t-=l)*t+f}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return o});var r=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(1.70158),i=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),o=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(1.70158)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"c",function(){return o}),e.d(n,"b",function(){return a});var r=2*Math.PI,i=function t(n,e){var i=Math.asin(1/(n=Math.max(1,n)))*(e/=r);function o(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/e)}return o.amplitude=function(n){return t(n,e*r)},o.period=function(e){return t(n,e)},o}(1,.3),o=function t(n,e){var i=Math.asin(1/(n=Math.max(1,n)))*(e/=r);function o(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}return o.amplitude=function(n){return t(n,e*r)},o.period=function(e){return t(n,e)},o}(1,.3),a=function t(n,e){var i=Math.asin(1/(n=Math.max(1,n)))*(e/=r);function o(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((i-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((i+t)/e))/2}return o.amplitude=function(n){return t(n,e*r)},o.period=function(e){return t(n,e)},o}(1,.3)},function(t,n,e){"use strict";var r=e(10),i=e(6),o=[null];n.a=function(t,n){var e,a,u=t.__transition;if(u)for(a in n=null==n?null:n+"",u)if((e=u[a]).state>i.c&&e.name===n)return new r.a([[t]],o,n,+a);return null}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t,n,e){this.target=t,this.type=n,this.selection=e}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";var r=e(283);e.d(n,"a",function(){return r.a});var i=e(284);e.d(n,"b",function(){return i.a})},function(t,n,e){"use strict";var r=e(3),i=e(121);n.a=function(){var t=0,n=null,e=null,o=null;function a(a){var u,c,s,l,f,h,d=a.length,p=[],v=Object(r.s)(d),b=[],g=[],y=g.groups=new Array(d),m=new Array(d*d);for(u=0,f=-1;++f<d;){for(c=0,h=-1;++h<d;)c+=a[f][h];p.push(c),b.push(Object(r.s)(d)),u+=c}for(n&&v.sort(function(t,e){return n(p[t],p[e])}),e&&b.forEach(function(t,n){t.sort(function(t,r){return e(a[n][t],a[n][r])})}),l=(u=Object(i.c)(0,i.e-t*d)/u)?t:i.e/d,c=0,f=-1;++f<d;){for(s=c,h=-1;++h<d;){var x=v[f],_=b[x][h],w=a[x][_],O=c,j=c+=w*u;m[_*d+x]={index:x,subindex:_,startAngle:O,endAngle:j,value:w}}y[x]={index:x,startAngle:s,endAngle:c,value:p[x]},c+=l}for(f=-1;++f<d;)for(h=f-1;++h<d;){var T=m[h*d+f],C=m[f*d+h];(T.value||C.value)&&g.push(T.value<C.value?{source:C,target:T}:{source:T,target:C})}return o?g.sort(o):g}return a.padAngle=function(n){return arguments.length?(t=Object(i.c)(0,n),a):t},a.sortGroups=function(t){return arguments.length?(n=t,a):n},a.sortSubgroups=function(t){return arguments.length?(e=t,a):e},a.sortChords=function(t){return arguments.length?(null==t?o=null:(n=t,o=function(t,e){return n(t.source.value+t.target.value,e.source.value+e.target.value)})._=t,a):o&&o._;var n},a}},function(t,n,e){"use strict";var r=e(285),i=e(286),o=e(121),a=e(13);function u(t){return t.source}function c(t){return t.target}function s(t){return t.radius}function l(t){return t.startAngle}function f(t){return t.endAngle}n.a=function(){var t=u,n=c,e=s,h=l,d=f,p=null;function v(){var i,u=r.a.call(arguments),c=t.apply(this,u),s=n.apply(this,u),l=+e.apply(this,(u[0]=c,u)),f=h.apply(this,u)-o.b,v=d.apply(this,u)-o.b,b=l*Object(o.a)(f),g=l*Object(o.d)(f),y=+e.apply(this,(u[0]=s,u)),m=h.apply(this,u)-o.b,x=d.apply(this,u)-o.b;if(p||(p=i=Object(a.a)()),p.moveTo(b,g),p.arc(0,0,l,f,v),f===m&&v===x||(p.quadraticCurveTo(0,0,y*Object(o.a)(m),y*Object(o.d)(m)),p.arc(0,0,y,m,x)),p.quadraticCurveTo(0,0,b,g),p.closePath(),i)return p=null,i+""||null}return v.radius=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),v):e},v.startAngle=function(t){return arguments.length?(h="function"==typeof t?t:Object(i.a)(+t),v):h},v.endAngle=function(t){return arguments.length?(d="function"==typeof t?t:Object(i.a)(+t),v):d},v.source=function(n){return arguments.length?(t=n,v):t},v.target=function(t){return arguments.length?(n=t,v):n},v.context=function(t){return arguments.length?(p=null==t?null:t,v):p},v}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=Math.PI,i=2*r,o=i-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function u(){return new a}a.prototype=u.prototype={constructor:a,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,i,o){t=+t,n=+n,e=+e,i=+i,o=+o;var a=this._x1,u=this._y1,c=e-t,s=i-n,l=a-t,f=u-n,h=l*l+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(h>1e-6)if(Math.abs(f*c-s*l)>1e-6&&o){var d=e-a,p=i-u,v=c*c+s*s,b=d*d+p*p,g=Math.sqrt(v),y=Math.sqrt(h),m=o*Math.tan((r-Math.acos((v+h-b)/(2*g*y)))/2),x=m/y,_=m/g;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*l)+","+(n+x*f)),this._+="A"+o+","+o+",0,0,"+ +(f*d>l*p)+","+(this._x1=t+_*c)+","+(this._y1=n+_*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,u,c){t=+t,n=+n;var s=(e=+e)*Math.cos(a),l=e*Math.sin(a),f=t+s,h=n+l,d=1^c,p=c?a-u:u-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),e&&(p<0&&(p=p%i+i),p>o?this._+="A"+e+","+e+",0,1,"+d+","+(t-s)+","+(n-l)+"A"+e+","+e+",0,1,"+d+","+(this._x1=f)+","+(this._y1=h):p>1e-6&&(this._+="A"+e+","+e+",0,"+ +(p>=r)+","+d+","+(this._x1=t+e*Math.cos(u))+","+(this._y1=n+e*Math.sin(u))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=u},function(t,n,e){"use strict";var r=e(64);function i(){return{}}function o(t,n,e){t[n]=e}function a(){return Object(r.a)()}function u(t,n,e){t.set(n,e)}n.a=function(){var t,n,e,c=[],s=[];function l(e,i,o,a){if(i>=c.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var u,s,f,h=-1,d=e.length,p=c[i++],v=Object(r.a)(),b=o();++h<d;)(f=v.get(u=p(s=e[h])+""))?f.push(s):v.set(u,[s]);return v.each(function(t,n){a(b,n,l(t,i,o,a))}),b}return e={object:function(t){return l(t,0,i,o)},map:function(t){return l(t,0,a,u)},entries:function(t){return function t(e,r){if(++r>c.length)return e;var i,o=s[r-1];return null!=n&&r>=c.length?i=e.entries():(i=[],e.each(function(n,e){i.push({key:e,values:t(n,r)})})),null!=o?i.sort(function(t,n){return o(t.key,n.key)}):i}(l(t,0,a,u),0)},key:function(t){return c.push(t),e},sortKeys:function(t){return s[c.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(64);function i(){}var o=r.a.prototype;function a(t,n){var e=new i;if(t instanceof i)t.each(function(t){e.add(t)});else if(t){var r=-1,o=t.length;if(null==n)for(;++r<o;)e.add(t[r]);else for(;++r<o;)e.add(n(t[r],r,t))}return e}i.prototype=a.prototype={constructor:i,has:o.has,add:function(t){return t+="",this[r.b+t]=t,this},remove:o.remove,clear:o.clear,values:o.keys,size:o.size,empty:o.empty,each:o.each},n.a=a},function(t,n,e){"use strict";n.a=function(t){var n=[];for(var e in t)n.push(e);return n}},function(t,n,e){"use strict";n.a=function(t){var n=[];for(var e in t)n.push(t[e]);return n}},function(t,n,e){"use strict";n.a=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n}},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"d",function(){return a}),e.d(n,"a",function(){return u}),e.d(n,"b",function(){return c});var r=e(66),i=Object(r.a)(","),o=i.parse,a=i.parseRows,u=i.format,c=i.formatRows},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"d",function(){return a}),e.d(n,"a",function(){return u}),e.d(n,"b",function(){return c});var r=e(66),i=Object(r.a)("\t"),o=i.parse,a=i.parseRows,u=i.format,c=i.formatRows},function(t,n,e){"use strict";var r=e(296);e.d(n,"a",function(){return r.a});var i=e(297);e.d(n,"b",function(){return i.a});var o=e(311);e.d(n,"c",function(){return o.a});var a=e(312);e.d(n,"d",function(){return a.a});var u=e(313);e.d(n,"e",function(){return u.a});var c=e(122);e.d(n,"f",function(){return c.a});var s=e(314);e.d(n,"g",function(){return s.a});var l=e(315);e.d(n,"h",function(){return l.a})},function(t,n,e){"use strict";n.a=function(t,n){var e;function r(){var r,i,o=e.length,a=0,u=0;for(r=0;r<o;++r)a+=(i=e[r]).x,u+=i.y;for(a=a/o-t,u=u/o-n,r=0;r<o;++r)(i=e[r]).x-=a,i.y-=u}return null==t&&(t=0),null==n&&(n=0),r.initialize=function(t){e=t},r.x=function(n){return arguments.length?(t=+n,r):t},r.y=function(t){return arguments.length?(n=+t,r):n},r}},function(t,n,e){"use strict";var r=e(18),i=e(67),o=e(68);function a(t){return t.x+t.vx}function u(t){return t.y+t.vy}n.a=function(t){var n,e,c=1,s=1;function l(){for(var t,r,l,h,d,p,v,b=n.length,g=0;g<s;++g)for(r=Object(o.a)(n,a,u).visitAfter(f),t=0;t<b;++t)l=n[t],p=e[l.index],v=p*p,h=l.x+l.vx,d=l.y+l.vy,r.visit(y);function y(t,n,e,r,o){var a=t.data,u=t.r,s=p+u;if(!a)return n>h+s||r<h-s||e>d+s||o<d-s;if(a.index>l.index){var f=h-a.x-a.vx,b=d-a.y-a.vy,g=f*f+b*b;g<s*s&&(0===f&&(g+=(f=Object(i.a)())*f),0===b&&(g+=(b=Object(i.a)())*b),g=(s-(g=Math.sqrt(g)))/g*c,l.vx+=(f*=g)*(s=(u*=u)/(v+u)),l.vy+=(b*=g)*s,a.vx-=f*(s=1-s),a.vy-=b*s)}}}function f(t){if(t.data)return t.r=e[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.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;++r)i=n[r],e[i.index]=+t(i,r,n)}}return"function"!=typeof t&&(t=Object(r.a)(null==t?1:+t)),l.initialize=function(t){n=t,h()},l.iterations=function(t){return arguments.length?(s=+t,l):s},l.strength=function(t){return arguments.length?(c=+t,l):c},l.radius=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),h(),l):t},l}},function(t,n,e){"use strict";n.a=v;var r=e(299),i=e(300),o=e(301),a=e(302),u=e(303),c=e(304),s=e(305),l=e(306),f=e(307),h=e(308),d=e(309),p=e(310);function v(t,n,e){var r=new b(null==n?d.b:n,null==e?p.b:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function b(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function g(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var y=v.prototype=b.prototype;y.copy=function(){var t,n,e=new b(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=g(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=g(n));return e},y.add=r.b,y.addAll=r.a,y.cover=i.a,y.data=o.a,y.extent=a.a,y.find=u.a,y.remove=c.a,y.removeAll=c.b,y.root=s.a,y.size=l.a,y.visit=f.a,y.visitAfter=h.a,y.x=d.a,y.y=p.a},function(t,n,e){"use strict";function r(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,s,l,f,h,d=t._root,p={data:r},v=t._x0,b=t._y0,g=t._x1,y=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((s=n>=(o=(v+g)/2))?v=o:g=o,(l=e>=(a=(b+y)/2))?b=a:y=a,i=d,!(d=d[f=l<<1|s]))return i[f]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(s=n>=(o=(v+g)/2))?v=o:g=o,(l=e>=(a=(b+y)/2))?b=a:y=a}while((f=l<<1|s)==(h=(c>=a)<<1|u>=o));return i[h]=d,i[f]=p,t}n.a=function(t){var n,e,i,o,a=t.length,u=new Array(a),c=new Array(a),s=1/0,l=1/0,f=-1/0,h=-1/0;for(e=0;e<a;++e)isNaN(i=+this._x.call(null,n=t[e]))||isNaN(o=+this._y.call(null,n))||(u[e]=i,c[e]=o,i<s&&(s=i),i>f&&(f=i),o<l&&(l=o),o>h&&(h=o));f<s&&(s=this._x0,f=this._x1);h<l&&(l=this._y0,h=this._y1);for(this.cover(s,l).cover(f,h),e=0;e<a;++e)r(this,u[e],c[e],t[e]);return this},n.b=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return r(this.cover(n,e),n,e,t)}},function(t,n,e){"use strict";n.a=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{if(!(e>t||t>i||r>n||n>o))return this;var a,u,c=i-e,s=this._root;switch(u=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do{(a=new Array(4))[u]=s,s=a}while(o=r+(c*=2),t>(i=e+c)||n>o);break;case 1:do{(a=new Array(4))[u]=s,s=a}while(o=r+(c*=2),(e=i-c)>t||n>o);break;case 2:do{(a=new Array(4))[u]=s,s=a}while(r=o-(c*=2),t>(i=e+c)||r>n);break;case 3:do{(a=new Array(4))[u]=s,s=a}while(r=o-(c*=2),(e=i-c)>t||r>n)}this._root&&this._root.length&&(this._root=s)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t}},function(t,n,e){"use strict";n.a=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(t,n,e){"use strict";var r=e(69);n.a=function(t,n,e){var i,o,a,u,c,s,l,f=this._x0,h=this._y0,d=this._x1,p=this._y1,v=[],b=this._root;for(b&&v.push(new r.a(b,f,h,d,p)),null==e?e=1/0:(f=t-e,h=n-e,d=t+e,p=n+e,e*=e);s=v.pop();)if(!(!(b=s.node)||(o=s.x0)>d||(a=s.y0)>p||(u=s.x1)<f||(c=s.y1)<h))if(b.length){var g=(o+u)/2,y=(a+c)/2;v.push(new r.a(b[3],g,y,u,c),new r.a(b[2],o,y,g,c),new r.a(b[1],g,a,u,y),new r.a(b[0],o,a,g,y)),(l=(n>=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(_<e){var w=Math.sqrt(e=_);f=t-w,h=n-w,d=t+w,p=n+w,i=b.data}}return i}},function(t,n,e){"use strict";n.b=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},n.a=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var n,e,r,i,o,a,u,c,s,l,f,h,d=this._root,p=this._x0,v=this._y0,b=this._x1,g=this._y1;if(!d)return this;if(d.length)for(;;){if((s=o>=(u=(p+b)/2))?p=u:b=u,(l=a>=(c=(v+g)/2))?v=c:g=c,n=d,!(d=d[f=l<<1|s]))return this;if(!d.length)break;(n[f+1&3]||n[f+2&3]||n[f+3&3])&&(e=n,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[f]=i:delete n[f],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)}},function(t,n,e){"use strict";n.a=function(){return this._root}},function(t,n,e){"use strict";n.a=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e,i,o,a,u,c=[],s=this._root;for(s&&c.push(new r.a(s,this._x0,this._y0,this._x1,this._y1));n=c.pop();)if(!t(s=n.node,i=n.x0,o=n.y0,a=n.x1,u=n.y1)&&s.length){var l=(i+a)/2,f=(o+u)/2;(e=s[3])&&c.push(new r.a(e,l,f,a,u)),(e=s[2])&&c.push(new r.a(e,i,f,l,u)),(e=s[1])&&c.push(new r.a(e,l,o,a,f)),(e=s[0])&&c.push(new r.a(e,i,o,l,f))}return this}},function(t,n,e){"use strict";var r=e(69);n.a=function(t){var n,e=[],i=[];for(this._root&&e.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var o=n.node;if(o.length){var a,u=n.x0,c=n.y0,s=n.x1,l=n.y1,f=(u+s)/2,h=(c+l)/2;(a=o[0])&&e.push(new r.a(a,u,c,f,h)),(a=o[1])&&e.push(new r.a(a,f,c,s,h)),(a=o[2])&&e.push(new r.a(a,u,h,f,l)),(a=o[3])&&e.push(new r.a(a,f,h,s,l))}i.push(n)}for(;n=i.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this}},function(t,n,e){"use strict";n.b=function(t){return t[0]},n.a=function(t){return arguments.length?(this._x=t,this):this._x}},function(t,n,e){"use strict";n.b=function(t){return t[1]},n.a=function(t){return arguments.length?(this._y=t,this):this._y}},function(t,n,e){"use strict";var r=e(18),i=e(67),o=e(21);function a(t){return t.index}function u(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}n.a=function(t){var n,e,c,s,l,f=a,h=function(t){return 1/Math.min(s[t.source.index],s[t.target.index])},d=Object(r.a)(30),p=1;function v(r){for(var o=0,a=t.length;o<p;++o)for(var u,c,s,f,h,d,v,b=0;b<a;++b)c=(u=t[b]).source,f=(s=u.target).x+s.vx-c.x-c.vx||Object(i.a)(),h=s.y+s.vy-c.y-c.vy||Object(i.a)(),f*=d=((d=Math.sqrt(f*f+h*h))-e[b])/d*r*n[b],h*=d,s.vx-=f*(v=l[b]),s.vy-=h*v,c.vx+=f*(v=1-v),c.vy+=h*v}function b(){if(c){var r,i,a=c.length,h=t.length,d=Object(o.c)(c,f);for(r=0,s=new Array(a);r<h;++r)(i=t[r]).index=r,"object"!=typeof i.source&&(i.source=u(d,i.source)),"object"!=typeof i.target&&(i.target=u(d,i.target)),s[i.source.index]=(s[i.source.index]||0)+1,s[i.target.index]=(s[i.target.index]||0)+1;for(r=0,l=new Array(h);r<h;++r)i=t[r],l[r]=s[i.source.index]/(s[i.source.index]+s[i.target.index]);n=new Array(h),g(),e=new Array(h),y()}}function g(){if(c)for(var e=0,r=t.length;e<r;++e)n[e]=+h(t[e],e,t)}function y(){if(c)for(var n=0,r=t.length;n<r;++n)e[n]=+d(t[n],n,t)}return null==t&&(t=[]),v.initialize=function(t){c=t,b()},v.links=function(n){return arguments.length?(t=n,b(),v):t},v.id=function(t){return arguments.length?(f=t,v):f},v.iterations=function(t){return arguments.length?(p=+t,v):p},v.strength=function(t){return arguments.length?(h="function"==typeof t?t:Object(r.a)(+t),g(),v):h},v.distance=function(t){return arguments.length?(d="function"==typeof t?t:Object(r.a)(+t),y(),v):d},v}},function(t,n,e){"use strict";var r=e(18),i=e(67),o=e(68),a=e(122);n.a=function(){var t,n,e,u,c=Object(r.a)(-30),s=1,l=1/0,f=.81;function h(r){var i,u=t.length,c=Object(o.a)(t,a.b,a.c).visitAfter(p);for(e=r,i=0;i<u;++i)n=t[i],c.visit(v)}function d(){if(t){var n,e,r=t.length;for(u=new Array(r),n=0;n<r;++n)e=t[n],u[e.index]=+c(e,n,t)}}function p(t){var n,e,r,i,o,a=0,c=0;if(t.length){for(r=i=o=0;o<4;++o)(n=t[o])&&(e=Math.abs(n.value))&&(a+=n.value,c+=e,r+=e*n.x,i+=e*n.y);t.x=r/c,t.y=i/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{a+=u[n.data.index]}while(n=n.next)}t.value=a}function v(t,r,o,a){if(!t.value)return!0;var c=t.x-n.x,h=t.y-n.y,d=a-r,p=c*c+h*h;if(d*d/f<p)return p<l&&(0===c&&(p+=(c=Object(i.a)())*c),0===h&&(p+=(h=Object(i.a)())*h),p<s&&(p=Math.sqrt(s*p)),n.vx+=c*t.value*e/p,n.vy+=h*t.value*e/p),!0;if(!(t.length||p>=l)){(t.data!==n||t.next)&&(0===c&&(p+=(c=Object(i.a)())*c),0===h&&(p+=(h=Object(i.a)())*h),p<s&&(p=Math.sqrt(s*p)));do{t.data!==n&&(d=u[t.data.index]*e/p,n.vx+=c*d,n.vy+=h*d)}while(t=t.next)}}return h.initialize=function(n){t=n,d()},h.strength=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),d(),h):c},h.distanceMin=function(t){return arguments.length?(s=t*t,h):Math.sqrt(s)},h.distanceMax=function(t){return arguments.length?(l=t*t,h):Math.sqrt(l)},h.theta=function(t){return arguments.length?(f=t*t,h):Math.sqrt(f)},h}},function(t,n,e){"use strict";var r=e(18);n.a=function(t,n,e){var i,o,a,u=Object(r.a)(.1);function c(t){for(var r=0,u=i.length;r<u;++r){var c=i[r],s=c.x-n||1e-6,l=c.y-e||1e-6,f=Math.sqrt(s*s+l*l),h=(a[r]-f)*o[r]*t/f;c.vx+=s*h,c.vy+=l*h}}function s(){if(i){var n,e=i.length;for(o=new Array(e),a=new Array(e),n=0;n<e;++n)a[n]=+t(i[n],n,i),o[n]=isNaN(a[n])?0:+u(i[n],n,i)}}return"function"!=typeof t&&(t=Object(r.a)(+t)),null==n&&(n=0),null==e&&(e=0),c.initialize=function(t){i=t,s()},c.strength=function(t){return arguments.length?(u="function"==typeof t?t:Object(r.a)(+t),s(),c):u},c.radius=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),s(),c):t},c.x=function(t){return arguments.length?(n=+t,c):n},c.y=function(t){return arguments.length?(e=+t,c):e},c}},function(t,n,e){"use strict";var r=e(18);n.a=function(t){var n,e,i,o=Object(r.a)(.1);function a(t){for(var r,o=0,a=n.length;o<a;++o)(r=n[o]).vx+=(i[o]-r.x)*e[o]*t}function u(){if(n){var r,a=n.length;for(e=new Array(a),i=new Array(a),r=0;r<a;++r)e[r]=isNaN(i[r]=+t(n[r],r,n))?0:+o(n[r],r,n)}}return"function"!=typeof t&&(t=Object(r.a)(null==t?0:+t)),a.initialize=function(t){n=t,u()},a.strength=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),u(),a):o},a.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),u(),a):t},a}},function(t,n,e){"use strict";var r=e(18);n.a=function(t){var n,e,i,o=Object(r.a)(.1);function a(t){for(var r,o=0,a=n.length;o<a;++o)(r=n[o]).vy+=(i[o]-r.y)*e[o]*t}function u(){if(n){var r,a=n.length;for(e=new Array(a),i=new Array(a),r=0;r<a;++r)e[r]=isNaN(i[r]=+t(n[r],r,n))?0:+o(n[r],r,n)}}return"function"!=typeof t&&(t=Object(r.a)(null==t?0:+t)),a.initialize=function(t){n=t,u()},a.strength=function(t){return arguments.length?(o="function"==typeof t?t:Object(r.a)(+t),u(),a):o},a.y=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),u(),a):t},a}},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return o}),n.a=u;var r,i,o,a=e(123);function u(t){return r=Object(a.a)(t),i=r.format,o=r.formatPrefix,r}u({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},function(t,n,e){"use strict";n.a=function(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}}},function(t,n,e){"use strict";n.a=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}},function(t,n,e){"use strict";n.a=function(t,n){t:for(var e,r=(t=t.toPrecision(n)).length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(71);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var i=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(38);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3)))-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(38);n.a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Object(r.a)(n)-Object(r.a)(t))+1}},function(t,n,e){"use strict";var r=e(127);e.d(n,"c",function(){return r.c});var i=e(326);e.d(n,"h",function(){return i.a});var o=e(327);e.d(n,"i",function(){return o.a});var a=e(128);e.d(n,"j",function(){return a.b});var u=e(130);e.d(n,"k",function(){return u.a});var c=e(136);e.d(n,"l",function(){return c.a});var s=e(329);e.d(n,"m",function(){return s.a});var l=e(40);e.d(n,"n",function(){return l.a});var f=e(331);e.d(n,"u",function(){return f.a});var h=e(137);e.d(n,"v",function(){return h.a});var d=e(332);e.d(n,"A",function(){return d.a}),e.d(n,"B",function(){return d.b});var p=e(333);e.d(n,"D",function(){return p.a});var v=e(138);e.d(n,"E",function(){return v.a});var b=e(334);e.d(n,"L",function(){return b.a});var g=e(140);e.d(n,"a",function(){return g.a});var y=e(342);e.d(n,"b",function(){return y.a});var m=e(343);e.d(n,"d",function(){return m.b}),e.d(n,"e",function(){return m.a});var x=e(344);e.d(n,"f",function(){return x.b}),e.d(n,"g",function(){return x.a});var _=e(345);e.d(n,"o",function(){return _.b}),e.d(n,"p",function(){return _.a});var w=e(73);e.d(n,"q",function(){return w.b}),e.d(n,"r",function(){return w.a});var O=e(346);e.d(n,"s",function(){return O.b}),e.d(n,"t",function(){return O.a});var j=e(141);e.d(n,"w",function(){return j.a}),e.d(n,"x",function(){return j.b});var T=e(347);e.d(n,"y",function(){return T.a}),e.d(n,"z",function(){return T.b});var C=e(348);e.d(n,"C",function(){return C.a});var M=e(8);e.d(n,"M",function(){return M.a}),e.d(n,"N",function(){return M.b});var S=e(76);e.d(n,"F",function(){return S.a}),e.d(n,"G",function(){return S.c});var k=e(349);e.d(n,"H",function(){return k.a}),e.d(n,"I",function(){return k.b});var A=e(350);e.d(n,"J",function(){return A.a}),e.d(n,"K",function(){return A.b});var N=e(351);e.d(n,"P",function(){return N.a}),e.d(n,"Q",function(){return N.b});var E=e(352);e.d(n,"T",function(){return E.a}),e.d(n,"U",function(){return E.b});var D=e(39);e.d(n,"O",function(){return D.a});var L=e(14);e.d(n,"R",function(){return L.a});var q=e(41);e.d(n,"S",function(){return q.a})},function(t,n,e){"use strict";var r,i,o,a,u,c,s,l,f,h,d=e(19),p=e(127),v=e(24),b=e(0),g=e(14),y=Object(d.a)(),m={point:x,lineStart:w,lineEnd:O,polygonStart:function(){m.point=j,m.lineStart=T,m.lineEnd=C,y.reset(),p.b.polygonStart()},polygonEnd:function(){p.b.polygonEnd(),m.point=x,m.lineStart=w,m.lineEnd=O,p.a<0?(r=-(o=180),i=-(a=90)):y>b.i?a=90:y<-b.i&&(i=-90),h[0]=r,h[1]=o}};function x(t,n){f.push(h=[r=t,o=t]),n<i&&(i=n),n>a&&(a=n)}function _(t,n){var e=Object(v.a)([t*b.r,n*b.r]);if(l){var c=Object(v.c)(l,e),s=[c[1],-c[0],0],d=Object(v.c)(s,c);Object(v.e)(d),d=Object(v.g)(d);var p,g=t-u,y=g>0?1:-1,m=d[0]*b.h*y,x=Object(b.a)(g)>180;x^(y*u<m&&m<y*t)?(p=d[1]*b.h)>a&&(a=p):x^(y*u<(m=(m+360)%360-180)&&m<y*t)?(p=-d[1]*b.h)<i&&(i=p):(n<i&&(i=n),n>a&&(a=n)),x?t<u?M(r,t)>M(r,o)&&(o=t):M(t,o)>M(r,o)&&(r=t):o>=r?(t<r&&(r=t),t>o&&(o=t)):t>u?M(r,t)>M(r,o)&&(o=t):M(t,o)>M(r,o)&&(r=t)}else f.push(h=[r=t,o=t]);n<i&&(i=n),n>a&&(a=n),l=e,u=t}function w(){m.point=_}function O(){h[0]=r,h[1]=o,m.point=x,l=null}function j(t,n){if(l){var e=t-u;y.add(Object(b.a)(e)>180?e+(e>0?360:-360):e)}else c=t,s=n;p.b.point(t,n),_(t,n)}function T(){p.b.lineStart()}function C(){j(c,s),p.b.lineEnd(),Object(b.a)(y)>b.i&&(r=-(o=180)),h[0]=r,h[1]=o,l=null}function M(t,n){return(n-=t)<0?n+360:n}function S(t,n){return t[0]-n[0]}function k(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}n.a=function(t){var n,e,u,c,s,l,d;if(a=o=-(r=i=1/0),f=[],Object(g.a)(t,m),e=f.length){for(f.sort(S),n=1,s=[u=f[0]];n<e;++n)k(u,(c=f[n])[0])||k(u,c[1])?(M(u[0],c[1])>M(u[0],u[1])&&(u[1]=c[1]),M(c[0],u[1])>M(u[0],u[1])&&(u[0]=c[0])):s.push(u=c);for(l=-1/0,n=0,u=s[e=s.length-1];n<=e;u=c,++n)c=s[n],(d=M(u[1],c[0]))>l&&(l=d,r=c[0],o=u[1])}return f=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[o,a]]}},function(t,n,e){"use strict";var r,i,o,a,u,c,s,l,f,h,d,p,v,b,g,y,m=e(0),x=e(11),_=e(14),w={sphere:x.a,point:O,lineStart:T,lineEnd:S,polygonStart:function(){w.lineStart=k,w.lineEnd=A},polygonEnd:function(){w.lineStart=T,w.lineEnd=S}};function O(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n);j(e*Object(m.g)(t),e*Object(m.t)(t),Object(m.t)(n))}function j(t,n,e){o+=(t-o)/++r,a+=(n-a)/r,u+=(e-u)/r}function T(){w.point=C}function C(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n);b=e*Object(m.g)(t),g=e*Object(m.t)(t),y=Object(m.t)(n),w.point=M,j(b,g,y)}function M(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n),r=e*Object(m.g)(t),o=e*Object(m.t)(t),a=Object(m.t)(n),u=Object(m.e)(Object(m.u)((u=g*a-y*o)*u+(u=y*r-b*a)*u+(u=b*o-g*r)*u),b*r+g*o+y*a);i+=u,c+=u*(b+(b=r)),s+=u*(g+(g=o)),l+=u*(y+(y=a)),j(b,g,y)}function S(){w.point=O}function k(){w.point=N}function A(){E(p,v),w.point=O}function N(t,n){p=t,v=n,t*=m.r,n*=m.r,w.point=E;var e=Object(m.g)(n);b=e*Object(m.g)(t),g=e*Object(m.t)(t),y=Object(m.t)(n),j(b,g,y)}function E(t,n){t*=m.r,n*=m.r;var e=Object(m.g)(n),r=e*Object(m.g)(t),o=e*Object(m.t)(t),a=Object(m.t)(n),u=g*a-y*o,p=y*r-b*a,v=b*o-g*r,x=Object(m.u)(u*u+p*p+v*v),_=Object(m.c)(x),w=x&&-_/x;f+=w*u,h+=w*p,d+=w*v,i+=_,c+=_*(b+(b=r)),s+=_*(g+(g=o)),l+=_*(y+(y=a)),j(b,g,y)}n.a=function(t){r=i=o=a=u=c=s=l=f=h=d=0,Object(_.a)(t,w);var n=f,e=h,p=d,v=n*n+e*e+p*p;return v<m.j&&(n=c,e=s,p=l,i<m.i&&(n=o,e=a,p=u),(v=n*n+e*e+p*p)<m.j)?[NaN,NaN]:[Object(m.e)(e,n)*m.h,Object(m.c)(p/Object(m.u)(v))*m.h]}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(40);n.a=function(){var t,n,e,i=0,o=0,a=960,u=500;return e={stream:function(e){return t&&n===e?t:t=Object(r.a)(i,o,a,u)(n=e)},extent:function(r){return arguments.length?(i=+r[0][0],o=+r[0][1],a=+r[1][0],u=+r[1][1],t=n=null,e):[[i,o],[a,u]]}}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i,o){var a,u=t[0],c=t[1],s=0,l=1,f=n[0]-u,h=n[1]-c;if(a=e-u,f||!(a>0)){if(a/=f,f<0){if(a<s)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>s&&(s=a)}if(a=i-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>s&&(s=a)}else if(f>0){if(a<s)return;a<l&&(l=a)}if(a=r-c,h||!(a>0)){if(a/=h,h<0){if(a<s)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>s&&(s=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>s&&(s=a)}else if(h>0){if(a<s)return;a<l&&(l=a)}return s>0&&(t[0]=u+s*f,t[1]=c+s*h),l<1&&(n[0]=u+l*f,n[1]=c+l*h),!0}}}}}},function(t,n,e){"use strict";var r=e(135),i=e(137),o=e(0),a={Feature:function(t,n){return c(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(c(e[r].geometry,n))return!0;return!1}},u={Sphere:function(){return!0},Point:function(t,n){return s(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(s(e[r],n))return!0;return!1},LineString:function(t,n){return l(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(l(e[r],n))return!0;return!1},Polygon:function(t,n){return f(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(f(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(c(e[r],n))return!0;return!1}};function c(t,n){return!(!t||!u.hasOwnProperty(t.type))&&u[t.type](t,n)}function s(t,n){return 0===Object(i.a)(t,n)}function l(t,n){var e=Object(i.a)(t[0],t[1]);return Object(i.a)(t[0],n)+Object(i.a)(n,t[1])<=e+o.i}function f(t,n){return!!Object(r.a)(t.map(h),d(n))}function h(t){return(t=t.map(d)).pop(),t}function d(t){return[t[0]*o.r,t[1]*o.r]}n.a=function(t,n){return(t&&a.hasOwnProperty(t.type)?a[t.type]:c)(t,n)}},function(t,n,e){"use strict";n.a=u,n.b=function(){return u()()};var r=e(3),i=e(0);function o(t,n,e){var o=Object(r.s)(t,n-i.i,e).concat(n);return function(t){return o.map(function(n){return[t,n]})}}function a(t,n,e){var o=Object(r.s)(t,n-i.i,e).concat(n);return function(t){return o.map(function(n){return[n,t]})}}function u(){var t,n,e,u,c,s,l,f,h,d,p,v,b=10,g=b,y=90,m=360,x=2.5;function _(){return{type:"MultiLineString",coordinates:w()}}function w(){return Object(r.s)(Object(i.f)(u/y)*y,e,y).map(p).concat(Object(r.s)(Object(i.f)(f/m)*m,l,m).map(v)).concat(Object(r.s)(Object(i.f)(n/b)*b,t,b).filter(function(t){return Object(i.a)(t%y)>i.i}).map(h)).concat(Object(r.s)(Object(i.f)(s/g)*g,c,g).filter(function(t){return Object(i.a)(t%m)>i.i}).map(d))}return _.lines=function(){return w().map(function(t){return{type:"LineString",coordinates:t}})},_.outline=function(){return{type:"Polygon",coordinates:[p(u).concat(v(l).slice(1),p(e).reverse().slice(1),v(f).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(u=+t[0][0],e=+t[1][0],f=+t[0][1],l=+t[1][1],u>e&&(t=u,u=e,e=t),f>l&&(t=f,f=l,l=t),_.precision(x)):[[u,f],[e,l]]},_.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],c=+e[1][1],n>t&&(e=n,n=t,t=e),s>c&&(e=s,s=c,c=e),_.precision(x)):[[n,s],[t,c]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(y=+t[0],m=+t[1],_):[y,m]},_.stepMinor=function(t){return arguments.length?(b=+t[0],g=+t[1],_):[b,g]},_.precision=function(r){return arguments.length?(x=+r,h=o(s,c,90),d=a(n,t,x),p=o(f,l,90),v=a(u,e,x),_):x},_.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){var e=t[0]*r.r,i=t[1]*r.r,o=n[0]*r.r,a=n[1]*r.r,u=Object(r.g)(i),c=Object(r.t)(i),s=Object(r.g)(a),l=Object(r.t)(a),f=u*Object(r.g)(e),h=u*Object(r.t)(e),d=s*Object(r.g)(o),p=s*Object(r.t)(o),v=2*Object(r.c)(Object(r.u)(Object(r.m)(a-i)+u*s*Object(r.m)(o-e))),b=Object(r.t)(v),g=v?function(t){var n=Object(r.t)(t*=v)/b,e=Object(r.t)(v-t)/b,i=e*f+n*d,o=e*h+n*p,a=e*c+n*l;return[Object(r.e)(o,i)*r.h,Object(r.e)(a,Object(r.u)(i*i+o*o))*r.h]}:function(){return[e*r.h,i*r.h]};return g.distance=v,g}},function(t,n,e){"use strict";var r=e(72),i=e(14),o=e(335),a=e(139),u=e(336),c=e(337),s=e(338),l=e(339);n.a=function(t,n){var e,f,h=4.5;function d(t){return t&&("function"==typeof h&&f.pointRadius(+h.apply(this,arguments)),Object(i.a)(t,e(f))),f.result()}return d.area=function(t){return Object(i.a)(t,e(o.a)),o.a.result()},d.measure=function(t){return Object(i.a)(t,e(s.a)),s.a.result()},d.bounds=function(t){return Object(i.a)(t,e(a.a)),a.a.result()},d.centroid=function(t){return Object(i.a)(t,e(u.a)),u.a.result()},d.projection=function(n){return arguments.length?(e=null==n?(t=null,r.a):(t=n).stream,d):t},d.context=function(t){return arguments.length?(f=null==t?(n=null,new l.a):new c.a(n=t),"function"!=typeof h&&f.pointRadius(h),d):n},d.pointRadius=function(t){return arguments.length?(h="function"==typeof t?t:(f.pointRadius(+t),+t),d):h},d.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,o,a,u=e(19),c=e(0),s=e(11),l=Object(u.a)(),f=Object(u.a)(),h={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.lineStart=d,h.lineEnd=b},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=s.a,l.add(Object(c.a)(f)),f.reset()},result:function(){var t=l/2;return l.reset(),t}};function d(){h.point=p}function p(t,n){h.point=v,r=o=t,i=a=n}function v(t,n){f.add(a*t-o*n),o=t,a=n}function b(){v(r,i)}n.a=h},function(t,n,e){"use strict";var r,i,o,a,u=e(0),c=0,s=0,l=0,f=0,h=0,d=0,p=0,v=0,b=0,g={point:y,lineStart:m,lineEnd:w,polygonStart:function(){g.lineStart=O,g.lineEnd=j},polygonEnd:function(){g.point=y,g.lineStart=m,g.lineEnd=w},result:function(){var t=b?[p/b,v/b]:d?[f/d,h/d]:l?[c/l,s/l]:[NaN,NaN];return c=s=l=f=h=d=p=v=b=0,t}};function y(t,n){c+=t,s+=n,++l}function m(){g.point=x}function x(t,n){g.point=_,y(o=t,a=n)}function _(t,n){var e=t-o,r=n-a,i=Object(u.u)(e*e+r*r);f+=i*(o+t)/2,h+=i*(a+n)/2,d+=i,y(o=t,a=n)}function w(){g.point=y}function O(){g.point=T}function j(){C(r,i)}function T(t,n){g.point=C,y(r=o=t,i=a=n)}function C(t,n){var e=t-o,r=n-a,i=Object(u.u)(e*e+r*r);f+=i*(o+t)/2,h+=i*(a+n)/2,d+=i,p+=(i=a*t-o*n)*(o+t),v+=i*(a+n),b+=3*i,y(o=t,a=n)}n.a=g},function(t,n,e){"use strict";n.a=o;var r=e(0),i=e(11);function o(t){this._context=t}o.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,r.w)}},result:i.a}},function(t,n,e){"use strict";var r,i,o,a,u,c=e(19),s=e(0),l=e(11),f=Object(c.a)(),h={point:l.a,lineStart:function(){h.point=d},lineEnd:function(){r&&p(i,o),h.point=l.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+f;return f.reset(),t}};function d(t,n){h.point=p,i=a=t,o=u=n}function p(t,n){a-=t,u-=n,f.add(Object(s.u)(a*a+u*u)),a=t,u=n}n.a=h},function(t,n,e){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(24),i=e(0),o=e(41),a=16,u=Object(i.g)(30*i.r);n.a=function(t,n){return+n?function(t,n){function e(r,o,a,c,s,l,f,h,d,p,v,b,g,y){var m=f-r,x=h-o,_=m*m+x*x;if(_>4*n&&g--){var w=c+p,O=s+v,j=l+b,T=Object(i.u)(w*w+O*O+j*j),C=Object(i.c)(j/=T),M=Object(i.a)(Object(i.a)(j)-1)<i.i||Object(i.a)(a-d)<i.i?(a+d)/2:Object(i.e)(O,w),S=t(M,C),k=S[0],A=S[1],N=k-r,E=A-o,D=x*N-m*E;(D*D/_>n||Object(i.a)((m*N+x*E)/_-.5)>.3||c*p+s*v+l*b<u)&&(e(r,o,a,c,s,l,k,A,M,w/=T,O/=T,j,g,y),y.point(k,A),e(k,A,M,w,O,j,f,h,d,p,v,b,g,y))}}return function(n){var i,o,u,c,s,l,f,h,d,p,v,b,g={point:y,lineStart:m,lineEnd:_,polygonStart:function(){n.polygonStart(),g.lineStart=w},polygonEnd:function(){n.polygonEnd(),g.lineStart=m}};function y(e,r){e=t(e,r),n.point(e[0],e[1])}function m(){h=NaN,g.point=x,n.lineStart()}function x(i,o){var u=Object(r.a)([i,o]),c=t(i,o);e(h,d,f,p,v,b,h=c[0],d=c[1],f=i,p=u[0],v=u[1],b=u[2],a,n),n.point(h,d)}function _(){g.point=y,n.lineEnd()}function w(){m(),g.point=O,g.lineEnd=j}function O(t,n){x(i=t,n),o=h,u=d,c=p,s=v,l=b,g.point=x}function j(){e(h,d,f,p,v,b,o,u,i,c,s,l,a,n),g.lineEnd=_,_()}return g}}(t,n):function(t){return Object(o.b)({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)}},function(t,n,e){"use strict";n.a=function(t){var n=Object(r.g)(t);function e(t,e){return[t*n,Object(r.t)(e)/n]}return e.invert=function(t,e){return[t/n,Object(r.c)(e*n)]},e};var r=e(0)},function(t,n,e){"use strict";var r=e(0),i=e(140),o=e(73),a=e(75);n.a=function(){var t,n,e,u,c,s,l=Object(i.a)(),f=Object(o.b)().rotate([154,0]).center([-2,58.5]).parallels([55,65]),h=Object(o.b)().rotate([157,0]).center([-3,19.9]).parallels([8,18]),d={point:function(t,n){s=[t,n]}};function p(t){var n=t[0],r=t[1];return s=null,e.point(n,r),s||(u.point(n,r),s)||(c.point(n,r),s)}function v(){return t=n=null,p}return p.invert=function(t){var n=l.scale(),e=l.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.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;++e<i;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},p.precision=function(t){return arguments.length?(l.precision(t),f.precision(t),h.precision(t),v()):l.precision()},p.scale=function(t){return arguments.length?(l.scale(t),f.scale(.35*t),h.scale(t),p.translate(l.translate())):l.scale()},p.translate=function(t){if(!arguments.length)return l.translate();var n=l.scale(),i=+t[0],o=+t[1];return e=l.translate(t).clipExtent([[i-.455*n,o-.238*n],[i+.455*n,o+.238*n]]).stream(d),u=f.translate([i-.307*n,o+.201*n]).clipExtent([[i-.425*n+r.i,o+.12*n+r.i],[i-.214*n-r.i,o+.234*n-r.i]]).stream(d),c=h.translate([i-.205*n,o+.212*n]).clipExtent([[i-.214*n+r.i,o+.166*n+r.i],[i-.115*n-r.i,o+.234*n-r.i]]).stream(d),v()},p.fitExtent=function(t,n){return Object(a.a)(p,t,n)},p.fitSize=function(t,n){return Object(a.c)(p,t,n)},p.fitWidth=function(t,n){return Object(a.d)(p,t,n)},p.fitHeight=function(t,n){return Object(a.b)(p,t,n)},p.scale(1070)}},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(0),i=e(25),o=e(8),a=Object(i.b)(function(t){return Object(r.u)(2/(1+t))});a.invert=Object(i.a)(function(t){return 2*Object(r.c)(t/2)}),n.b=function(){return Object(o.a)(a).scale(124.75).clipAngle(179.999)}},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(0),i=e(25),o=e(8),a=Object(i.b)(function(t){return(t=Object(r.b)(t))&&t/Object(r.t)(t)});a.invert=Object(i.a)(function(t){return t}),n.b=function(){return Object(o.a)(a).scale(79.4188).clipAngle(179.999)}},function(t,n,e){"use strict";n.a=u;var r=e(0),i=e(74),o=e(76);function a(t){return Object(r.v)((r.l+t)/2)}function u(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):Object(r.n)(e/Object(r.g)(n))/Object(r.n)(a(n)/a(t)),u=e*Object(r.p)(a(t),i)/i;if(!i)return o.c;function c(t,n){u>0?n<-r.l+r.i&&(n=-r.l+r.i):n>r.l-r.i&&(n=r.l-r.i);var e=u/Object(r.p)(a(n),i);return[e*Object(r.t)(i*t),u-e*Object(r.g)(i*t)]}return c.invert=function(t,n){var e=u-n,o=Object(r.s)(i)*Object(r.u)(t*t+e*e);return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),2*Object(r.d)(Object(r.p)(u/o,1/i))-r.l]},c}n.b=function(){return Object(i.a)(u).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n.a=a;var r=e(0),i=e(74),o=e(141);function a(t,n){var e=Object(r.g)(t),i=t===n?Object(r.t)(t):(e-Object(r.g)(n))/(n-t),a=e/i+t;if(Object(r.a)(i)<r.i)return o.b;function u(t,n){var e=a-n,o=i*t;return[e*Object(r.t)(o),a-e*Object(r.g)(o)]}return u.invert=function(t,n){var e=a-n;return[Object(r.e)(t,Object(r.a)(e))/i*Object(r.s)(e),a-Object(r.s)(i)*Object(r.u)(t*t+e*e)]},u}n.b=function(){return Object(i.a)(a).scale(131.154).center([0,13.9389])}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),o=e(8);function a(t,n){var e=Object(r.g)(n),i=Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}a.invert=Object(i.a)(r.d),n.a=function(){return Object(o.a)(a).scale(144.049).clipAngle(60)}},function(t,n,e){"use strict";var r=e(40),i=e(72),o=e(41),a=e(75);function u(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?i.a:Object(o.b)({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}n.a=function(){var t,n,e,o,c,s,l=1,f=0,h=0,d=1,p=1,v=i.a,b=null,g=i.a;function y(){return o=c=null,s}return s={stream:function(t){return o&&c===t?o:o=v(g(c=t))},postclip:function(r){return arguments.length?(g=r,b=t=n=e=null,y()):g},clipExtent:function(o){return arguments.length?(g=null==o?(b=t=n=e=null,i.a):Object(r.a)(b=+o[0][0],t=+o[0][1],n=+o[1][0],e=+o[1][1]),y()):null==b?null:[[b,t],[n,e]]},scale:function(t){return arguments.length?(v=u((l=+t)*d,l*p,f,h),y()):l},translate:function(t){return arguments.length?(v=u(l*d,l*p,f=+t[0],h=+t[1]),y()):[f,h]},reflectX:function(t){return arguments.length?(v=u(l*(d=t?-1:1),l*p,f,h),y()):d<0},reflectY:function(t){return arguments.length?(v=u(l*d,l*(p=t?-1:1),f,h),y()):p<0},fitExtent:function(t,n){return Object(a.a)(s,t,n)},fitSize:function(t,n){return Object(a.c)(s,t,n)},fitWidth:function(t,n){return Object(a.d)(s,t,n)},fitHeight:function(t,n){return Object(a.b)(s,t,n)}}}},function(t,n,e){"use strict";n.b=o;var r=e(8),i=e(0);function o(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}o.invert=function(t,n){var e,r=n,o=25;do{var a=r*r,u=a*a;r-=e=(r*(1.007226+a*(.015085+u*(.028874*a-.044475-.005916*u)))-n)/(1.007226+a*(.045255+u*(.259866*a-.311325-.005916*11*u)))}while(Object(i.a)(e)>i.i&&--o>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},n.a=function(){return Object(r.a)(o).scale(175.295)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),o=e(8);function a(t,n){return[Object(r.g)(n)*Object(r.t)(t),Object(r.t)(n)]}a.invert=Object(i.a)(r.c),n.a=function(){return Object(o.a)(a).scale(249.5).clipAngle(90+r.i)}},function(t,n,e){"use strict";n.b=a;var r=e(0),i=e(25),o=e(8);function a(t,n){var e=Object(r.g)(n),i=1+Object(r.g)(t)*e;return[e*Object(r.t)(t)/i,Object(r.t)(n)/i]}a.invert=Object(i.a)(function(t){return 2*Object(r.d)(t)}),n.a=function(){return Object(o.a)(a).scale(250).clipAngle(142)}},function(t,n,e){"use strict";n.b=o;var r=e(0),i=e(76);function o(t,n){return[Object(r.n)(Object(r.v)((r.l+n)/2)),-t]}o.invert=function(t,n){return[-n,2*Object(r.d)(Object(r.k)(t))-r.l]},n.a=function(){var t=Object(i.b)(o),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=e(354);e.d(n,"a",function(){return r.a});var i=e(77);e.d(n,"b",function(){return i.c});var o=e(366);e.d(n,"c",function(){return o.a});var a=e(142);e.d(n,"e",function(){return a.a});var u=e(143);e.d(n,"d",function(){return u.a});var c=e(368);e.d(n,"f",function(){return c.a});var s=e(369);e.d(n,"g",function(){return s.a});var l=e(370);e.d(n,"h",function(){return l.a});var f=e(371);e.d(n,"i",function(){return f.a});var h=e(372);e.d(n,"j",function(){return h.a});var d=e(26);e.d(n,"k",function(){return d.a});var p=e(42);e.d(n,"m",function(){return p.a});var v=e(373);e.d(n,"n",function(){return v.a});var b=e(79);e.d(n,"o",function(){return b.a});var g=e(374);e.d(n,"l",function(){return g.a})},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function i(t,n){return t+n.x}function o(t,n){return Math.max(t,n.y)}n.a=function(){var t=r,n=1,e=1,a=!1;function u(r){var u,c=0;r.eachAfter(function(n){var e=n.children;e?(n.x=function(t){return t.reduce(i,0)/t.length}(e),n.y=function(t){return 1+t.reduce(o,0)}(e)):(n.x=u?c+=t(n,u):0,n.y=0,u=n)});var s=function(t){for(var n;n=t.children;)t=n[0];return t}(r),l=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(r),f=s.x-t(s,l)/2,h=l.x+t(l,s)/2;return r.eachAfter(a?function(t){t.x=(t.x-r.x)*n,t.y=(r.y-t.y)*e}:function(t){t.x=(t.x-f)/(h-f)*n,t.y=(1-(r.y?t.y/r.y:1))*e})}return u.separation=function(n){return arguments.length?(t=n,u):t},u.size=function(t){return arguments.length?(a=!1,n=+t[0],e=+t[1],u):a?null:[n,e]},u.nodeSize=function(t){return arguments.length?(a=!0,n=+t[0],e=+t[1],u):a?[n,e]:null},u}},function(t,n,e){"use strict";function r(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,i,o=this,a=[o];do{for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)a.push(e[r])}while(a.length);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=a.pop();)t(i);return this}},function(t,n,e){"use strict";n.a=function(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";var r=e(142),i=e(78),o=e(144);function a(t){return Math.sqrt(t.value)}function u(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function c(t,n){return function(e){if(i=e.children){var i,o,a,u=i.length,c=t(e)*n||0;if(c)for(o=0;o<u;++o)i[o].r+=c;if(a=Object(r.b)(i),c)for(o=0;o<u;++o)i[o].r-=c;e.r=a+c}}}function s(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}n.a=function(){var t=null,n=1,e=1,r=o.a;function l(i){return i.x=n/2,i.y=e/2,t?i.eachBefore(u(t)).eachAfter(c(r,.5)).eachBefore(s(1)):i.eachBefore(u(a)).eachAfter(c(o.a,1)).eachAfter(c(r,i.r/Math.min(n,e))).eachBefore(s(Math.min(n,e)/(2*i.r))),i}return l.radius=function(n){return arguments.length?(t=Object(i.a)(n),l):t},l.size=function(t){return arguments.length?(n=+t[0],e=+t[1],l):[n,e]},l.padding=function(t){return arguments.length?(r="function"==typeof t?t:Object(o.b)(+t),l):r},l}},function(t,n,e){"use strict";e.d(n,"b",function(){return r}),n.a=function(t){var n,e,r=t.length;for(;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t};var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(145),i=e(26);n.a=function(){var t=1,n=1,e=0,o=!1;function a(a){var u=a.height+1;return a.x0=a.y0=e,a.x1=t,a.y1=n/u,a.eachBefore(function(t,n){return function(r){r.children&&Object(i.a)(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var o=r.x0,a=r.y0,u=r.x1-e,c=r.y1-e;u<o&&(o=u=(o+u)/2),c<a&&(a=c=(a+c)/2),r.x0=o,r.y0=a,r.x1=u,r.y1=c}}(n,u)),o&&a.eachBefore(r.a),a}return a.round=function(t){return arguments.length?(o=!!t,a):o},a.size=function(e){return arguments.length?(t=+e[0],n=+e[1],a):[t,n]},a.padding=function(t){return arguments.length?(e=+t,a):e},a}},function(t,n,e){"use strict";var r=e(78),i=e(77),o="$",a={depth:-1},u={};function c(t){return t.id}function s(t){return t.parentId}n.a=function(){var t=c,n=s;function e(e){var r,c,s,l,f,h,d,p=e.length,v=new Array(p),b={};for(c=0;c<p;++c)r=e[c],f=v[c]=new i.a(r),null!=(h=t(r,c,e))&&(h+="")&&(b[d=o+(f.id=h)]=d in b?u:f);for(c=0;c<p;++c)if(f=v[c],null!=(h=n(e[c],c,e))&&(h+="")){if(!(l=b[o+h]))throw new Error("missing: "+h);if(l===u)throw new Error("ambiguous: "+h);l.children?l.children.push(f):l.children=[f],f.parent=l}else{if(s)throw new Error("multiple roots");s=f}if(!s)throw new Error("no root");if(s.parent=a,s.eachBefore(function(t){t.depth=t.parent.depth+1,--p}).eachBefore(i.b),s.parent=null,p>0)throw new Error("cycle");return s}return e.id=function(n){return arguments.length?(t=Object(r.b)(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r.b)(t),e):n},e}},function(t,n,e){"use strict";var r=e(77);function i(t,n){return t.parent===n.parent?1:2}function o(t){var n=t.children;return n?n[0]:t.t}function a(t){var n=t.children;return n?n[n.length-1]:t.t}function u(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function c(t,n,e){return t.a.parent===n.parent?t.a:e}function s(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}s.prototype=Object.create(r.a.prototype),n.a=function(){var t=i,n=1,e=1,r=null;function l(i){var o=function(t){for(var n,e,r,i,o,a=new s(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new s(r[i],i)),e.parent=n;return(a.parent=new s(null,0)).children=[a],a}(i);if(o.eachAfter(f),o.parent.m=-o.z,o.eachBefore(h),r)i.eachBefore(d);else{var a=i,u=i,c=i;i.eachBefore(function(t){t.x<a.x&&(a=t),t.x>u.x&&(u=t),t.depth>c.depth&&(c=t)});var l=a===u?1:t(a,u)/2,p=l-a.x,v=n/(u.x+l+p),b=e/(c.depth||1);i.eachBefore(function(t){t.x=(t.x+p)*v,t.y=t.depth*b})}return i}function f(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var s=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-s):n.z=s}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,s=n,l=n,f=e,h=s.parent.children[0],d=s.m,p=l.m,v=f.m,b=h.m;f=a(f),s=o(s),f&&s;)h=o(h),(l=a(l)).a=n,(i=f.z+v-s.z-d+t(f._,s._))>0&&(u(c(f,n,r),n,i),d+=i,p+=i),v+=f.m,d+=s.m,b+=h.m,p+=l.m;f&&!a(l)&&(l.t=f,l.m+=v-p),s&&!o(h)&&(h.t=s,h.m+=d-b,r=n)}return r}(n,i,n.parent.A||r[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=n,t.y=t.depth*e}return l.separation=function(n){return arguments.length?(t=n,l):t},l.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],l):r?null:[n,e]},l.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],l):r?[n,e]:null},l}},function(t,n,e){"use strict";var r=e(145),i=e(79),o=e(78),a=e(144);n.a=function(){var t=i.a,n=!1,e=1,u=1,c=[0],s=a.a,l=a.a,f=a.a,h=a.a,d=a.a;function p(t){return t.x0=t.y0=0,t.x1=e,t.y1=u,t.eachBefore(v),c=[0],n&&t.eachBefore(r.a),t}function v(n){var e=c[n.depth],r=n.x0+e,i=n.y0+e,o=n.x1-e,a=n.y1-e;o<r&&(r=o=(r+o)/2),a<i&&(i=a=(i+a)/2),n.x0=r,n.y0=i,n.x1=o,n.y1=a,n.children&&(e=c[n.depth+1]=s(n)/2,r+=d(n)-e,i+=l(n)-e,(o-=f(n)-e)<r&&(r=o=(r+o)/2),(a-=h(n)-e)<i&&(i=a=(i+a)/2),t(n,r,i,o,a))}return p.round=function(t){return arguments.length?(n=!!t,p):n},p.size=function(t){return arguments.length?(e=+t[0],u=+t[1],p):[e,u]},p.tile=function(n){return arguments.length?(t=Object(o.b)(n),p):t},p.padding=function(t){return arguments.length?p.paddingInner(t).paddingOuter(t):p.paddingInner()},p.paddingInner=function(t){return arguments.length?(s="function"==typeof t?t:Object(a.b)(+t),p):s},p.paddingOuter=function(t){return arguments.length?p.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):p.paddingTop()},p.paddingTop=function(t){return arguments.length?(l="function"==typeof t?t:Object(a.b)(+t),p):l},p.paddingRight=function(t){return arguments.length?(f="function"==typeof t?t:Object(a.b)(+t),p):f},p.paddingBottom=function(t){return arguments.length?(h="function"==typeof t?t:Object(a.b)(+t),p):h},p.paddingLeft=function(t){return arguments.length?(d="function"==typeof t?t:Object(a.b)(+t),p):d},p}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){var o,a,u=t.children,c=u.length,s=new Array(c+1);for(s[0]=a=o=0;o<c;++o)s[o+1]=a+=u[o].value;!function t(n,e,r,i,o,a,c){if(n>=e-1){var l=u[n];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=c)}var f=s[n],h=r/2+f,d=n+1,p=e-1;for(;d<p;){var v=d+p>>>1;s[v]<h?d=v+1:p=v}h-s[d-1]<s[d]-h&&n+1<d&&--d;var b=s[d]-f,g=r-b;if(a-i>c-o){var y=(i*g+a*b)/r;t(n,d,b,i,o,y,c),t(d,e,g,y,o,a,c)}else{var m=(o*g+c*b)/r;t(n,d,b,i,o,a,m),t(d,e,g,i,m,a,c)}}(0,c,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(26),i=e(42);n.a=function(t,n,e,o,a){(1&t.depth?i.a:r.a)(t,n,e,o,a)}},function(t,n,e){"use strict";var r=e(26),i=e(42),o=e(79);n.a=function t(n){function e(t,e,a,u,c){if((s=t._squarify)&&s.ratio===n)for(var s,l,f,h,d,p=-1,v=s.length,b=t.value;++p<v;){for(f=(l=s[p]).children,h=l.value=0,d=f.length;h<d;++h)l.value+=f[h].value;l.dice?Object(r.a)(l,e,a,u,a+=(c-a)*l.value/b):Object(i.a)(l,e,a,e+=(u-e)*l.value/b,c),b-=l.value}else t._squarify=s=Object(o.c)(n,t,e,a,u,c),s.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(o.b)},function(t,n,e){"use strict";var r=e(376);e.d(n,"a",function(){return r.a});var i=e(377);e.d(n,"b",function(){return i.a});var o=e(378);e.d(n,"d",function(){return o.a});var a=e(380);e.d(n,"c",function(){return a.a});var u=e(381);e.d(n,"e",function(){return u.a})},function(t,n,e){"use strict";n.a=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,o=0,a=0,u=t[i-1],c=0;++r<i;)n=u,u=t[r],c+=e=n[0]*u[1]-u[0]*n[1],o+=(n[0]+u[0])*e,a+=(n[1]+u[1])*e;return[o/(c*=3),a/c]}},function(t,n,e){"use strict";var r=e(379);function i(t,n){return t[0]-n[0]||t[1]-n[1]}function o(t){for(var n=t.length,e=[0,1],i=2,o=2;o<n;++o){for(;i>1&&Object(r.a)(t[e[i-2]],t[e[i-1]],t[o])<=0;)--i;e[i++]=o}return e.slice(0,i)}n.a=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),a=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(i),n=0;n<e;++n)a[n]=[r[n][0],-r[n][1]];var u=o(r),c=o(a),s=c[0]===u[0],l=c[c.length-1]===u[u.length-1],f=[];for(n=u.length-1;n>=0;--n)f.push(t[r[u[n]][2]]);for(n=+s;n<c.length-l;++n)f.push(t[r[c[n]][2]]);return f}},function(t,n,e){"use strict";n.a=function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}},function(t,n,e){"use strict";n.a=function(t,n){for(var e,r,i=t.length,o=t[i-1],a=n[0],u=n[1],c=o[0],s=o[1],l=!1,f=0;f<i;++f)e=(o=t[f])[0],(r=o[1])>u!=s>u&&a<(c-e)*(u-r)/(s-r)+e&&(l=!l),c=e,s=r;return l}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],c=0;++r<i;)n=a,e=u,n-=a=(o=t[r])[0],e-=u=o[1],c+=Math.sqrt(n*n+e*e);return c}},function(t,n,e){"use strict";var r=e(383);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";n.a=l;var r=e(384),i={};function o(t){this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function a(t){if(!t._start)try{!function(t){for(;t._start=t._waiting&&t._active<t._size;){var n=t._ended+t._active,e=t._tasks[n],r=e.length-1,o=e[r];e[r]=u(t,n),--t._waiting,++t._active,e=o.apply(null,e),t._tasks[n]&&(t._tasks[n]=e||i)}}(t)}catch(n){if(t._tasks[t._ended+t._active-1])c(t,n);else if(!t._data)throw n}}function u(t,n){return function(e,r){t._tasks[n]&&(--t._active,++t._ended,t._tasks[n]=null,null==t._error&&(null!=e?c(t,e):(t._data[n]=r,t._waiting?a(t):s(t))))}}function c(t,n){var e,r=t._tasks.length;for(t._error=n,t._data=void 0,t._waiting=NaN;--r>=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,s(t)}function s(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function l(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new o(t)}o.prototype=l.prototype={constructor:o,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=r.a.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),a(this),this},abort:function(){return null==this._error&&c(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,e){t.apply(null,[n].concat(e))},s(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,s(this),this}}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=[].slice},function(t,n,e){"use strict";var r=e(386);e.d(n,"f",function(){return r.a});var i=e(146);e.d(n,"e",function(){return i.a});var o=e(387);e.d(n,"d",function(){return o.a});var a=e(388);e.d(n,"a",function(){return a.a});var u=e(147);e.d(n,"c",function(){return u.a});var c=e(389);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(146);n.a=function t(n){function e(){var t=i.a.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20),i=e(147);n.a=function t(n){function e(t){var e=i.a.source(n)(t);return function(){return e()/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(80);e.d(n,"d",function(){return r.a});var i=e(391);e.d(n,"b",function(){return i.a});var o=e(392);e.d(n,"c",function(){return o.a});var a=e(393);e.d(n,"e",function(){return a.a});var u=e(394);e.d(n,"g",function(){return u.a});var c=e(395);e.d(n,"a",function(){return c.a});var s=e(396);e.d(n,"f",function(){return s.a})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/json",function(t){return JSON.parse(t.responseText)})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("text/plain",function(t){return t.responseText})},function(t,n,e){"use strict";var r=e(43);n.a=Object(r.a)("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n})},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/csv",r.c)},function(t,n,e){"use strict";var r=e(65),i=e(148);n.a=Object(i.a)("text/tab-separated-values",r.h)},function(t,n,e){"use strict";var r=e(398);e.d(n,"i",function(){return r.a}),e.d(n,"o",function(){return r.b});var i=e(399);e.d(n,"j",function(){return i.a});var o=e(27);e.d(n,"l",function(){return o.a});var a=e(401);e.d(n,"m",function(){return a.a});var u=e(149);e.d(n,"n",function(){return u.a}),e.d(n,"k",function(){return u.b});var c=e(402);e.d(n,"p",function(){return c.a}),e.d(n,"t",function(){return c.b});var s=e(403);e.d(n,"q",function(){return s.a});var l=e(404);e.d(n,"r",function(){return l.a});var f=e(405);e.d(n,"u",function(){return f.a});var h=e(152);e.d(n,"v",function(){return h.b});var d=e(421);e.d(n,"w",function(){return d.a});var p=e(422);e.d(n,"x",function(){return p.a});var v=e(423);e.d(n,"z",function(){return v.a});var b=e(424);e.d(n,"A",function(){return b.a});var g=e(425);e.d(n,"y",function(){return g.a});var y=e(426);e.d(n,"b",function(){return y.a});var m=e(427);e.d(n,"f",function(){return m.b}),e.d(n,"h",function(){return m.c}),e.d(n,"a",function(){return m.a});var x=e(428);e.d(n,"g",function(){return x.a}),e.d(n,"d",function(){return x.c}),e.d(n,"c",function(){return x.b}),e.d(n,"e",function(){return x.d});var _=e(429);e.d(n,"s",function(){return _.a})},function(t,n,e){"use strict";n.a=o,n.b=function(){return function t(n){var e=n.copy;n.padding=n.paddingOuter;delete n.paddingInner;delete n.paddingOuter;n.copy=function(){return t(e())};return n}(o().paddingInner(1))};var r=e(3),i=e(149);function o(){var t,n,e=Object(i.a)().unknown(void 0),a=e.domain,u=e.range,c=[0,1],s=!1,l=0,f=0,h=.5;function d(){var e=a().length,i=c[1]<c[0],o=c[i-0],d=c[1-i];t=(d-o)/Math.max(1,e-l+2*f),s&&(t=Math.floor(t)),o+=(d-o-t*(e-l))*h,n=t*(1-l),s&&(o=Math.round(o),n=Math.round(n));var p=Object(r.s)(e).map(function(n){return o+t*n});return u(i?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(a(t),d()):a()},e.range=function(t){return arguments.length?(c=[+t[0],+t[1]],d()):c.slice()},e.rangeRound=function(t){return c=[+t[0],+t[1]],s=!0,d()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(s=!!t,d()):s},e.padding=function(t){return arguments.length?(l=f=Math.max(0,Math.min(1,t)),d()):l},e.paddingInner=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),d()):l},e.paddingOuter=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),d()):f},e.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},e.copy=function(){return o().domain(a()).range(c).round(s).paddingInner(l).paddingOuter(f).align(h)},d()}},function(t,n,e){"use strict";n.a=function t(){var n=[0,1];function e(t){return+t}e.invert=e;e.domain=e.range=function(t){return arguments.length?(n=r.a.call(t,o.a),e):n.slice()};e.copy=function(){return t().domain(n)};return Object(i.b)(e)};var r=e(15),i=e(27),o=e(150)},function(t,n,e){"use strict";var r=e(3),i=e(70);n.a=function(t,n,e){var o,a=t[0],u=t[t.length-1],c=Object(r.A)(a,u,null==n?10:n);switch((e=Object(i.e)(null==e?",f":e)).type){case"s":var s=Math.max(Math.abs(a),Math.abs(u));return null!=e.precision||isNaN(o=Object(i.g)(c,s))||(e.precision=o),Object(i.d)(e,s);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(o=Object(i.h)(c,Math.max(Math.abs(a),Math.abs(u))))||(e.precision=o-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(o=Object(i.f)(c))||(e.precision=o-2*("%"===e.type))}return Object(i.a)(e)}},function(t,n,e){"use strict";n.a=function t(){var n=Object(u.b)(c,s).domain([1,10]),e=n.domain,o=10,l=h(10),p=f(10);function v(){return l=h(o),p=f(o),e()[0]<0&&(l=d(l),p=d(p)),n}n.base=function(t){return arguments.length?(o=+t,v()):o};n.domain=function(t){return arguments.length?(e(t),v()):e()};n.ticks=function(t){var n,i=e(),a=i[0],u=i[i.length-1];(n=u<a)&&(h=a,a=u,u=h);var c,s,f,h=l(a),d=l(u),v=null==t?10:+t,b=[];if(!(o%1)&&d-h<v){if(h=Math.round(h)-1,d=Math.round(d)+1,a>0){for(;h<d;++h)for(s=1,c=p(h);s<o;++s)if(!((f=c*s)<a)){if(f>u)break;b.push(f)}}else for(;h<d;++h)for(s=o-1,c=p(h);s>=1;--s)if(!((f=c*s)<a)){if(f>u)break;b.push(f)}}else b=Object(r.B)(h,d,Math.min(d-h,v)).map(p);return n?b.reverse():b};n.tickFormat=function(t,e){if(null==e&&(e=10===o?".0e":","),"function"!=typeof e&&(e=Object(i.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,o*t/n.ticks().length);return function(t){var n=t/p(Math.round(l(t)));return n*o<o-.5&&(n*=o),n<=r?e(t):""}};n.nice=function(){return e(Object(a.a)(e(),{floor:function(t){return p(Math.floor(l(t)))},ceil:function(t){return p(Math.ceil(l(t)))}}))};n.copy=function(){return Object(u.a)(n,t().base(o))};return n};var r=e(3),i=e(70),o=e(81),a=e(151),u=e(44);function c(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:Object(o.a)(n)}function s(t,n){return t<0?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function l(t){return isFinite(t)?+("1e"+t):t<0?0:t}function f(t){return 10===t?l:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function h(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function d(t){return function(n){return-t(-n)}}},function(t,n,e){"use strict";n.a=u,n.b=function(){return u().exponent(.5)};var r=e(81),i=e(27),o=e(44);function a(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function u(){var t=1,n=Object(o.b)(function(n,e){return(e=a(e,t)-(n=a(n,t)))?function(r){return(a(r,t)-n)/e}:Object(r.a)(e)},function(n,e){return e=a(e,t)-(n=a(n,t)),function(r){return a(n+e*r,1/t)}}),e=n.domain;return n.exponent=function(n){return arguments.length?(t=+n,e(e())):t},n.copy=function(){return Object(o.a)(n,u().exponent(t))},Object(i.b)(n)}},function(t,n,e){"use strict";n.a=function t(){var n=[],e=[],o=[];function a(){var t=0,i=Math.max(1,e.length);for(o=new Array(i-1);++t<i;)o[t-1]=Object(r.r)(n,t/i);return u}function u(t){if(!isNaN(t=+t))return e[Object(r.b)(o,t)]}u.invertExtent=function(t){var r=e.indexOf(t);return r<0?[NaN,NaN]:[r>0?o[r-1]:n[0],r<o.length?o[r]:n[n.length-1]]};u.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var e,i=0,o=t.length;i<o;++i)null==(e=t[i])||isNaN(e=+e)||n.push(e);return n.sort(r.a),a()};u.range=function(t){return arguments.length?(e=i.b.call(t),a()):e.slice()};u.quantiles=function(){return o.slice()};u.copy=function(){return t().domain(n).range(e)};return u};var r=e(3),i=e(15)},function(t,n,e){"use strict";n.a=function t(){var n=0,e=1,a=1,u=[.5],c=[0,1];function s(t){if(t<=t)return c[Object(r.b)(u,t,0,a)]}function l(){var t=-1;for(u=new Array(a);++t<a;)u[t]=((t+1)*e-(t-a)*n)/(a+1);return s}s.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],l()):[n,e]};s.range=function(t){return arguments.length?(a=(c=i.b.call(t)).length-1,l()):c.slice()};s.invertExtent=function(t){var r=c.indexOf(t);return r<0?[NaN,NaN]:r<1?[n,u[0]]:r>=a?[u[a-1],e]:[u[r-1],u[r]]};s.copy=function(){return t().domain([n,e]).range(c)};return Object(o.b)(s)};var r=e(3),i=e(15),o=e(27)},function(t,n,e){"use strict";n.a=function t(){var n=[.5],e=[0,1],o=1;function a(t){if(t<=t)return e[Object(r.b)(n,t,0,o)]}a.domain=function(t){return arguments.length?(n=i.b.call(t),o=Math.min(n.length,e.length-1),a):n.slice()};a.range=function(t){return arguments.length?(e=i.b.call(t),o=Math.min(n.length,e.length-1),a):e.slice()};a.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]};a.copy=function(){return t().domain(n).range(e)};return a};var r=e(3),i=e(15)},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):i:null},n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setTime(Math.floor(t/i.d)*i.d)},function(t,n){t.setTime(+t+n*i.d)},function(t,n){return(n-t)/i.d},function(t){return t.getUTCSeconds()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setTime(Math.floor(t/i.c)*i.c)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getMinutes()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){var n=t.getTimezoneOffset()*i.c%i.b;n<0&&(n+=i.b),t.setTime(Math.floor((+t-n)/i.b)*i.b+n)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getHours()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a},function(t){return t.getDate()-1});n.b=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return u}),e.d(n,"k",function(){return c}),e.d(n,"m",function(){return s}),e.d(n,"i",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return p}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return b}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return m});var r=e(2),i=e(9);function o(t){return Object(r.a)(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.e})}var a=o(0),u=o(1),c=o(2),s=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=u.range,v=c.range,b=s.range,g=l.range,y=f.range,m=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.a)(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.a)(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null},n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*i.c)},function(t,n){return(n-t)/i.c},function(t){return t.getUTCMinutes()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*i.b)},function(t,n){return(n-t)/i.b},function(t){return t.getUTCHours()});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(2),i=e(9),o=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/i.a},function(t){return t.getUTCDate()-1});n.a=o;var a=o.range},function(t,n,e){"use strict";e.d(n,"g",function(){return a}),e.d(n,"c",function(){return u}),e.d(n,"k",function(){return c}),e.d(n,"m",function(){return s}),e.d(n,"i",function(){return l}),e.d(n,"a",function(){return f}),e.d(n,"e",function(){return h}),e.d(n,"h",function(){return d}),e.d(n,"d",function(){return p}),e.d(n,"l",function(){return v}),e.d(n,"n",function(){return b}),e.d(n,"j",function(){return g}),e.d(n,"b",function(){return y}),e.d(n,"f",function(){return m});var r=e(2),i=e(9);function o(t){return Object(r.a)(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/i.e})}var a=o(0),u=o(1),c=o(2),s=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=u.range,v=c.range,b=s.range,g=l.range,y=f.range,m=h.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.a)(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});n.a=i;var o=i.range},function(t,n,e){"use strict";e.d(n,"b",function(){return o});var r=e(2),i=Object(r.a)(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null},n.a=i;var o=i.range},function(t,n,e){"use strict";var r=e(154),i=e(83);var o=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Object(i.e)(r.b);n.a=o},function(t,n,e){"use strict";var r=e(152),i=e(82),o=e(45);n.a=function(){return Object(r.a)(o._7,o.R,o._5,o.F,o.J,o.N,o.V,o.L,i.g).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(28);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(7),i=e(5);n.a=Object(i.f)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"a",function(){return a});var r=e(7),i=e(5),o=Object(i.f)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),a=Object(i.f)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),u=Object(r.b)();n.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return u.h=360*t-100,u.s=1.5-1.5*n,u.l=.8-.9*n,u+""}},function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"b",function(){return a}),e.d(n,"d",function(){return u});var r=e(28);function i(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}n.a=i(Object(r.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var o=i(Object(r.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),a=i(Object(r.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u=i(Object(r.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";n.a=function t(n){var e=0,i=1,o=!1;function a(t){var r=(t-e)/(i-e);return n(o?Math.max(0,Math.min(1,r)):r)}a.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],a):[e,i]};a.clamp=function(t){return arguments.length?(o=!!t,a):o};a.interpolator=function(t){return arguments.length?(n=t,a):n};a.copy=function(){return t(n).domain([e,i]).clamp(o)};return Object(r.b)(a)};var r=e(27)},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(29);function a(t){return t.innerRadius}function u(t){return t.outerRadius}function c(t){return t.startAngle}function s(t){return t.endAngle}function l(t){return t&&t.padAngle}function f(t,n,e,r,i,a,u){var c=t-e,s=n-r,l=(u?a:-a)/Object(o.l)(c*c+s*s),f=l*s,h=-l*c,d=t+f,p=n+h,v=e+f,b=r+h,g=(d+v)/2,y=(p+b)/2,m=v-d,x=b-p,_=m*m+x*x,w=i-a,O=d*b-v*p,j=(x<0?-1:1)*Object(o.l)(Object(o.h)(0,w*w*_-O*O)),T=(O*x-m*j)/_,C=(-O*m-x*j)/_,M=(O*x+m*j)/_,S=(-O*m+x*j)/_,k=T-g,A=C-y,N=M-g,E=S-y;return k*k+A*A>N*N+E*E&&(T=M,C=S),{cx:T,cy:C,x01:-f,y01:-h,x11:T*(i/w-1),y11:C*(i/w-1)}}n.a=function(){var t=a,n=u,e=Object(i.a)(0),h=null,d=c,p=s,v=l,b=null;function g(){var i,a,u=+t.apply(this,arguments),c=+n.apply(this,arguments),s=d.apply(this,arguments)-o.g,l=p.apply(this,arguments)-o.g,g=Object(o.a)(l-s),y=l>s;if(b||(b=i=Object(r.a)()),c<u&&(a=c,c=u,u=a),c>o.f)if(g>o.m-o.f)b.moveTo(c*Object(o.e)(s),c*Object(o.k)(s)),b.arc(0,0,c,s,l,!y),u>o.f&&(b.moveTo(u*Object(o.e)(l),u*Object(o.k)(l)),b.arc(0,0,u,l,s,y));else{var m,x,_=s,w=l,O=s,j=l,T=g,C=g,M=v.apply(this,arguments)/2,S=M>o.f&&(h?+h.apply(this,arguments):Object(o.l)(u*u+c*c)),k=Object(o.i)(Object(o.a)(c-u)/2,+e.apply(this,arguments)),A=k,N=k;if(S>o.f){var E=Object(o.c)(S/u*Object(o.k)(M)),D=Object(o.c)(S/c*Object(o.k)(M));(T-=2*E)>o.f?(O+=E*=y?1:-1,j-=E):(T=0,O=j=(s+l)/2),(C-=2*D)>o.f?(_+=D*=y?1:-1,w-=D):(C=0,_=w=(s+l)/2)}var L=c*Object(o.e)(_),q=c*Object(o.k)(_),R=u*Object(o.e)(j),P=u*Object(o.k)(j);if(k>o.f){var H=c*Object(o.e)(w),F=c*Object(o.k)(w),z=u*Object(o.e)(O),I=u*Object(o.k)(O);if(g<o.j){var $=T>o.f?function(t,n,e,r,i,o,a,u){var c=e-t,s=r-n,l=a-i,f=u-o,h=(l*(n-o)-f*(t-i))/(f*c-l*s);return[t+h*c,n+h*s]}(L,q,z,I,H,F,R,P):[R,P],U=L-$[0],B=q-$[1],W=H-$[0],Y=F-$[1],V=1/Object(o.k)(Object(o.b)((U*W+B*Y)/(Object(o.l)(U*U+B*B)*Object(o.l)(W*W+Y*Y)))/2),X=Object(o.l)($[0]*$[0]+$[1]*$[1]);A=Object(o.i)(k,(u-X)/(V-1)),N=Object(o.i)(k,(c-X)/(V+1))}}C>o.f?N>o.f?(m=f(z,I,L,q,c,N,y),x=f(H,F,R,P,c,N,y),b.moveTo(m.cx+m.x01,m.cy+m.y01),N<k?b.arc(m.cx,m.cy,N,Object(o.d)(m.y01,m.x01),Object(o.d)(x.y01,x.x01),!y):(b.arc(m.cx,m.cy,N,Object(o.d)(m.y01,m.x01),Object(o.d)(m.y11,m.x11),!y),b.arc(0,0,c,Object(o.d)(m.cy+m.y11,m.cx+m.x11),Object(o.d)(x.cy+x.y11,x.cx+x.x11),!y),b.arc(x.cx,x.cy,N,Object(o.d)(x.y11,x.x11),Object(o.d)(x.y01,x.x01),!y))):(b.moveTo(L,q),b.arc(0,0,c,_,w,!y)):b.moveTo(L,q),u>o.f&&T>o.f?A>o.f?(m=f(R,P,H,F,u,-A,y),x=f(L,q,z,I,u,-A,y),b.lineTo(m.cx+m.x01,m.cy+m.y01),A<k?b.arc(m.cx,m.cy,A,Object(o.d)(m.y01,m.x01),Object(o.d)(x.y01,x.x01),!y):(b.arc(m.cx,m.cy,A,Object(o.d)(m.y01,m.x01),Object(o.d)(m.y11,m.x11),!y),b.arc(0,0,u,Object(o.d)(m.cy+m.y11,m.cx+m.x11),Object(o.d)(x.cy+x.y11,x.cx+x.x11),y),b.arc(x.cx,x.cy,A,Object(o.d)(x.y11,x.x11),Object(o.d)(x.y01,x.x01),!y))):b.arc(0,0,u,j,O,y):b.lineTo(R,P)}else b.moveTo(0,0);if(b.closePath(),i)return b=null,i+""||null}return g.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+d.apply(this,arguments)+ +p.apply(this,arguments))/2-o.j/2;return[Object(o.e)(r)*e,Object(o.k)(r)*e]},g.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),g):t},g.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Object(i.a)(+t),g):n},g.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),g):e},g.padRadius=function(t){return arguments.length?(h=null==t?null:"function"==typeof t?t:Object(i.a)(+t),g):h},g.startAngle=function(t){return arguments.length?(d="function"==typeof t?t:Object(i.a)(+t),g):d},g.endAngle=function(t){return arguments.length?(p="function"==typeof t?t:Object(i.a)(+t),g):p},g.padAngle=function(t){return arguments.length?(v="function"==typeof t?t:Object(i.a)(+t),g):v},g.context=function(t){return arguments.length?(b=null==t?null:t,g):b},g}},function(t,n,e){"use strict";var r=e(16),i=e(432),o=e(433),a=e(29);n.a=function(){var t=o.a,n=i.a,e=null,u=Object(r.a)(0),c=Object(r.a)(a.m),s=Object(r.a)(0);function l(r){var i,o,l,f,h,d=r.length,p=0,v=new Array(d),b=new Array(d),g=+u.apply(this,arguments),y=Math.min(a.m,Math.max(-a.m,c.apply(this,arguments)-g)),m=Math.min(Math.abs(y)/d,s.apply(this,arguments)),x=m*(y<0?-1:1);for(i=0;i<d;++i)(h=b[v[i]=i]=+t(r[i],i,r))>0&&(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;i<d;++i,g=f)o=v[i],f=g+((h=b[o])>0?h*l:0)+x,b[o]={data:r[o],index:i,value:h,startAngle:g,endAngle:f,padAngle:m};return b}return l.value=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),l):t},l.sortValues=function(t){return arguments.length?(n=t,e=null,l):n},l.sort=function(t){return arguments.length?(e=t,n=null,l):e},l.startAngle=function(t){return arguments.length?(u="function"==typeof t?t:Object(r.a)(+t),l):u},l.endAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.a)(+t),l):c},l.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Object(r.a)(+t),l):s},l}},function(t,n,e){"use strict";n.a=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";var r=e(156),i=e(155),o=e(157);n.a=function(){var t=Object(i.a)().curve(r.a),n=t.curve,e=t.lineX0,a=t.lineX1,u=t.lineY0,c=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(o.b)(e())},delete t.lineX0,t.lineEndAngle=function(){return Object(o.b)(a())},delete t.lineX1,t.lineInnerRadius=function(){return Object(o.b)(u())},delete t.lineY0,t.lineOuterRadius=function(){return Object(o.b)(c())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}},function(t,n,e){"use strict";n.a=function(){return l(f)},n.c=function(){return l(h)},n.b=function(){var t=l(d);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t};var r=e(13),i=e(159),o=e(16),a=e(85),u=e(158);function c(t){return t.source}function s(t){return t.target}function l(t){var n=c,e=s,u=a.a,l=a.b,f=null;function h(){var o,a=i.a.call(arguments),c=n.apply(this,a),s=e.apply(this,a);if(f||(f=o=Object(r.a)()),t(f,+u.apply(this,(a[0]=c,a)),+l.apply(this,a),+u.apply(this,(a[0]=s,a)),+l.apply(this,a)),o)return f=null,o+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(u="function"==typeof t?t:Object(o.a)(+t),h):u},h.y=function(t){return arguments.length?(l="function"==typeof t?t:Object(o.a)(+t),h):l},h.context=function(t){return arguments.length?(f=null==t?null:t,h):f},h}function f(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function h(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function d(t,n,e,r,i){var o=Object(u.a)(n,e),a=Object(u.a)(n,e=(e+i)/2),c=Object(u.a)(r,e),s=Object(u.a)(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],c[0],c[1],s[0],s[1])}},function(t,n,e){"use strict";e.d(n,"b",function(){return h});var r=e(13),i=e(160),o=e(161),a=e(162),u=e(163),c=e(164),s=e(165),l=e(166),f=e(16),h=[i.a,o.a,a.a,c.a,u.a,s.a,l.a];n.a=function(){var t=Object(f.a)(i.a),n=Object(f.a)(64),e=null;function o(){var i;if(e||(e=i=Object(r.a)()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return o.type=function(n){return arguments.length?(t="function"==typeof n?n:Object(f.a)(n),o):t},o.size=function(t){return arguments.length?(n="function"==typeof t?t:Object(f.a)(+t),o):n},o.context=function(t){return arguments.length?(e=null==t?null:t,o):e},o}},function(t,n,e){"use strict";var r=e(47),i=e(48);function o(t){this._context=t}o.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new o(t)}},function(t,n,e){"use strict";var r=e(48);function i(t){this._context=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r.c)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";var r=e(48);function i(t,n){this._basis=new r.a(t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function t(n){function e(t){return 1===n?new r.a(t):new i(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},function(t,n,e){"use strict";var r=e(167),i=e(47),o=e(86);function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(o.b)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.a=function t(n){function e(t){return n?new a(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(168),i=e(86);function o(t,n){this._context=t,this._alpha=n}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(i.b)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.a=function t(n){function e(t){return n?new o(t,n):new r.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";var r=e(47);function i(t){this._context=t}i.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},n.a=function(t){return new i(t)}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,o=n-t._x1,a=(t._y1-t._y0)/(i||o<0&&-0),u=(e-t._y1)/(o||i<0&&-0),c=(a*o+u*i)/(i+o);return(r(a)+r(u))*Math.min(Math.abs(a),Math.abs(u),.5*Math.abs(c))||0}function o(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function a(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function u(t){this._context=t}function c(t){this._context=new s(t)}function s(t){this._context=t}n.a=function(t){return new u(t)},n.b=function(t){return new c(t)},u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,a(this,o(this,e=i(this,t,n)),e);break;default:a(this,this._t0,e=i(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(c.prototype=Object.create(u.prototype)).point=function(t,n){u.prototype.point.call(this,n,t)},s.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=i(t),o=i(n),a=0,u=1;u<e;++a,++u)this._context.bezierCurveTo(r[0][a],o[0][a],r[1][a],o[1][a],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},n.a=function(t){return new r(t)}},function(t,n,e){"use strict";function r(t,n){this._context=t,this._t=n}n.c=function(t){return new r(t,0)},n.b=function(t){return new r(t,1)},r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}},n.a=function(t){return new r(t,.5)}},function(t,n,e){"use strict";var r=e(159),i=e(16),o=e(30),a=e(31);function u(t,n){return t[n]}n.a=function(){var t=Object(i.a)([]),n=a.a,e=o.a,c=u;function s(r){var i,o,a=t.apply(this,arguments),u=r.length,s=a.length,l=new Array(s);for(i=0;i<s;++i){for(var f,h=a[i],d=l[i]=new Array(u),p=0;p<u;++p)d[p]=f=[0,+c(r[p],h,p,r)],f.data=r[p];d.key=h}for(i=0,o=n(l);i<s;++i)l[o[i]].index=i;return e(l,o),l}return s.keys=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(r.a.call(n)),s):t},s.value=function(t){return arguments.length?(c="function"==typeof t?t:Object(i.a)(+t),s):c},s.order=function(t){return arguments.length?(n=null==t?a.a:"function"==typeof t?t:Object(i.a)(r.a.call(t)),s):n},s.offset=function(t){return arguments.length?(e=null==t?o.a:t,s):e},s}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((i=t.length)>0){for(var e,i,o,a=0,u=t[0].length;a<u;++a){for(o=e=0;e<i;++e)o+=t[e][a][1]||0;if(o)for(e=0;e<i;++e)t[e][a][1]/=o}Object(r.a)(t,n)}}},function(t,n,e){"use strict";n.a=function(t,n){if((u=t.length)>1)for(var e,r,i,o,a,u,c=0,s=t[n[0]].length;c<s;++c)for(o=a=0,e=0;e<u;++e)(i=(r=t[n[e]][c])[1]-r[0])>=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):r[0]=o}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((e=t.length)>0){for(var e,i=0,o=t[n[0]],a=o.length;i<a;++i){for(var u=0,c=0;u<e;++u)c+=t[u][i][1]||0;o[i][1]+=o[i][0]=-c/2}Object(r.a)(t,n)}}},function(t,n,e){"use strict";var r=e(30);n.a=function(t,n){if((o=t.length)>0&&(i=(e=t[n[0]]).length)>0){for(var e,i,o,a=0,u=1;u<i;++u){for(var c=0,s=0,l=0;c<o;++c){for(var f=t[n[c]],h=f[u][1]||0,d=(h-(f[u-1][1]||0))/2,p=0;p<c;++p){var v=t[n[p]];d+=(v[u][1]||0)-(v[u-1][1]||0)}s+=h,l+=d*h}e[u-1][1]+=e[u-1][0]=a,s&&(a-=l/s)}e[u-1][1]+=e[u-1][0]=a,Object(r.a)(t,n)}}},function(t,n,e){"use strict";var r=e(87);n.a=function(t){return Object(r.a)(t).reverse()}},function(t,n,e){"use strict";var r=e(31),i=e(87);n.a=function(t){var n,e,o=t.length,a=t.map(i.b),u=Object(r.a)(t).sort(function(t,n){return a[n]-a[t]}),c=0,s=0,l=[],f=[];for(n=0;n<o;++n)e=u[n],c<s?(c+=a[e],l.push(e)):(s+=a[e],f.push(e));return f.reverse().concat(l)}},function(t,n,e){"use strict";var r=e(31);n.a=function(t){return Object(r.a)(t).reverse()}},function(t,n,e){"use strict";var r=e(455);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(456),i=e(457),o=e(32);n.a=function(){var t=i.a,n=i.b,e=null;function a(r){return new o.d(r.map(function(e,i){var a=[Math.round(t(e,i,r)/o.f)*o.f,Math.round(n(e,i,r)/o.f)*o.f];return a.index=i,a.data=e,a}),e)}return a.polygons=function(t){return a(t).polygons()},a.links=function(t){return a(t).links()},a.triangles=function(t){return a(t).triangles()},a.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(r.a)(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:Object(r.a)(+t),a):n},a.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],a):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},a.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],a):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},a}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t){return t[0]},n.b=function(t){return t[1]}},function(t,n,e){"use strict";n.b=function(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],c=t.P,s=t.N,f=[t];l(t);var h=c;for(;h.circle&&Math.abs(e-h.circle.x)<u.f&&Math.abs(r-h.circle.cy)<u.f;)c=h.P,f.unshift(h),l(h),h=c;f.unshift(h),Object(o.b)(h);var d=s;for(;d.circle&&Math.abs(e-d.circle.x)<u.f&&Math.abs(r-d.circle.cy)<u.f;)s=d.N,f.push(d),l(d),d=s;f.push(d),Object(o.b)(d);var p,v=f.length;for(p=1;p<v;++p)d=f[p],h=f[p-1],Object(a.d)(d.edge,h.site,d.site,i);h=f[0],(d=f[v-1]).edge=Object(a.c)(h.site,d.site,null,i),Object(o.a)(h),Object(o.a)(d)},n.a=function(t){var n,e,r,c,l=t[0],d=t[1],p=u.a._;for(;p;)if((r=f(p,d)-l)>u.f)p=p.L;else{if(!((c=l-h(p,d))>u.f)){r>-u.f?(n=p.P,e=p):c>-u.f?(n=p,e=p.N):n=e=p;break}if(!p.R){n=p;break}p=p.R}Object(i.c)(t);var v=s(t);if(u.a.insert(n,v),!n&&!e)return;if(n===e)return Object(o.b)(n),e=s(n.site),u.a.insert(v,e),v.edge=e.edge=Object(a.c)(n.site,v.site),Object(o.a)(n),void Object(o.a)(e);if(!e)return void(v.edge=Object(a.c)(n.site,v.site));Object(o.b)(n),Object(o.b)(e);var b=n.site,g=b[0],y=b[1],m=t[0]-g,x=t[1]-y,_=e.site,w=_[0]-g,O=_[1]-y,j=2*(m*O-x*w),T=m*m+x*x,C=w*w+O*O,M=[(O*T-x*C)/j+g,(m*C-w*T)/j+y];Object(a.d)(e.edge,b,_,M),v.edge=Object(a.c)(b,t,null,M),e.edge=Object(a.c)(t,_,null,M),Object(o.a)(n),Object(o.a)(e)};var r=e(88),i=e(169),o=e(170),a=e(89),u=e(32),c=[];function s(t){var n=c.pop()||new function(){Object(r.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function l(t){Object(o.b)(t),u.a.remove(t),c.push(t),Object(r.a)(t)}function f(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-1/0;var u=(e=a.site)[0],c=e[1],s=c-n;if(!s)return u;var l=u-r,f=1/o-1/s,h=l/s;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*s)-c+s/2+i-o/2)))/f+r:(r+u)/2}function h(t,n){var e=t.N;if(e)return f(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){"use strict";var r=e(460);e.d(n,"a",function(){return r.a});var i=e(171);e.d(n,"c",function(){return i.b}),e.d(n,"b",function(){return i.c})},function(t,n,e){"use strict";var r=e(12),i=e(51),o=e(5),a=e(1),u=e(62),c=e(461),s=e(462),l=e(171),f=e(463);function h(){return!a.e.button}function d(){var t,n,e=this;return e instanceof SVGElement?(t=(e=e.ownerSVGElement||e).width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function p(){return this.__zoom||l.c}function v(){return-a.e.deltaY*(a.e.deltaMode?120:1)/500}function b(){return"ontouchstart"in this}function g(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}n.a=function(){var t,n,e=h,y=d,m=g,x=v,_=b,w=[0,1/0],O=[[-1/0,-1/0],[1/0,1/0]],j=250,T=o.v,C=[],M=Object(r.a)("start","zoom","end"),S=500,k=150,A=0;function N(t){t.property("__zoom",p).on("wheel.zoom",H).on("mousedown.zoom",F).on("dblclick.zoom",z).filter(_).on("touchstart.zoom",I).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",U).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,n){return(n=Math.max(w[0],Math.min(w[1],n)))===t.k?t:new l.a(n,t.x,t.y)}function D(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new l.a(t.k,r,i)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function q(t,n,e){t.on("start.zoom",function(){R(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=R(this,t),i=y.apply(this,t),o=e||L(i),a=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),u=this.__zoom,c="function"==typeof n?n.apply(this,t):n,s=T(u.invert(o).concat(a/u.k),c.invert(o).concat(a/c.k));return function(t){if(1===t)t=c;else{var n=s(t),e=a/n[2];t=new l.a(e,o[0]-n[0]*e,o[1]-n[1]*e)}r.zoom(null,t)}})}function R(t,n){for(var e,r=0,i=C.length;r<i;++r)if((e=C[r]).that===t)return e;return new P(t,n)}function P(t,n){this.that=t,this.args=n,this.index=-1,this.active=0,this.extent=y.apply(t,n)}function H(){if(e.apply(this,arguments)){var t=R(this,arguments),n=this.__zoom,r=Math.max(w[0],Math.min(w[1],n.k*Math.pow(2,x.apply(this,arguments)))),i=Object(a.h)(this);if(t.wheel)t.mouse[0][0]===i[0]&&t.mouse[0][1]===i[1]||(t.mouse[1]=n.invert(t.mouse[0]=i)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[i,n.invert(i)],Object(u.b)(this),t.start()}Object(f.a)(),t.wheel=setTimeout(function(){t.wheel=null,t.end()},k),t.zoom("mouse",m(D(E(n,r),t.mouse[0],t.mouse[1]),t.extent,O))}}function F(){if(!n&&e.apply(this,arguments)){var t=R(this,arguments),r=Object(a.k)(a.e.view).on("mousemove.zoom",function(){if(Object(f.a)(),!t.moved){var n=a.e.clientX-c,e=a.e.clientY-s;t.moved=n*n+e*e>A}t.zoom("mouse",m(D(t.that.__zoom,t.mouse[0]=Object(a.h)(t.that),t.mouse[1]),t.extent,O))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.c)(a.e.view,t.moved),Object(f.a)(),t.end()},!0),o=Object(a.h)(this),c=a.e.clientX,s=a.e.clientY;Object(i.b)(a.e.view),Object(f.b)(),t.mouse=[o,this.__zoom.invert(o)],Object(u.b)(this),t.start()}}function z(){if(e.apply(this,arguments)){var t=this.__zoom,n=Object(a.h)(this),r=t.invert(n),i=t.k*(a.e.shiftKey?.5:2),o=m(D(E(t,i),n,r),y.apply(this,arguments),O);Object(f.a)(),j>0?Object(a.k)(this).transition().duration(j).call(q,o,n):Object(a.k)(this).call(N.transform,o)}}function I(){if(e.apply(this,arguments)){var n,r,i,o,c=R(this,arguments),s=a.e.changedTouches,l=s.length;for(Object(f.b)(),r=0;r<l;++r)i=s[r],o=[o=Object(a.q)(this,s,i.identifier),this.__zoom.invert(o),i.identifier],c.touch0?c.touch1||(c.touch1=o):(c.touch0=o,n=!0);if(t&&(t=clearTimeout(t),!c.touch1))return c.end(),void((o=Object(a.k)(this).on("dblclick.zoom"))&&o.apply(this,arguments));n&&(t=setTimeout(function(){t=null},S),Object(u.b)(this),c.start())}}function $(){var n,e,r,i,o=R(this,arguments),u=a.e.changedTouches,c=u.length;for(Object(f.a)(),t&&(t=clearTimeout(t)),n=0;n<c;++n)e=u[n],r=Object(a.q)(this,u,e.identifier),o.touch0&&o.touch0[2]===e.identifier?o.touch0[0]=r:o.touch1&&o.touch1[2]===e.identifier&&(o.touch1[0]=r);if(e=o.that.__zoom,o.touch1){var s=o.touch0[0],l=o.touch0[1],h=o.touch1[0],d=o.touch1[1],p=(p=h[0]-s[0])*p+(p=h[1]-s[1])*p,v=(v=d[0]-l[0])*v+(v=d[1]-l[1])*v;e=E(e,Math.sqrt(p/v)),r=[(s[0]+h[0])/2,(s[1]+h[1])/2],i=[(l[0]+d[0])/2,(l[1]+d[1])/2]}else{if(!o.touch0)return;r=o.touch0[0],i=o.touch0[1]}o.zoom("touch",m(D(e,r,i),o.extent,O))}function U(){var t,e,r=R(this,arguments),i=a.e.changedTouches,o=i.length;for(Object(f.b)(),n&&clearTimeout(n),n=setTimeout(function(){n=null},S),t=0;t<o;++t)e=i[t],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}return N.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",p),t!==e?q(t,n):e.interrupt().each(function(){R(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},N.scaleBy=function(t,n){N.scaleTo(t,function(){return this.__zoom.k*("function"==typeof n?n.apply(this,arguments):n)})},N.scaleTo=function(t,n){N.transform(t,function(){var t=y.apply(this,arguments),e=this.__zoom,r=L(t),i=e.invert(r),o="function"==typeof n?n.apply(this,arguments):n;return m(D(E(e,o),r,i),t,O)})},N.translateBy=function(t,n,e){N.transform(t,function(){return m(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),y.apply(this,arguments),O)})},N.translateTo=function(t,n,e){N.transform(t,function(){var t=y.apply(this,arguments),r=this.__zoom,i=L(t);return m(l.c.translate(i[0],i[1]).scale(r.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,O)})},P.prototype={start:function(){return 1==++this.active&&(this.index=C.push(this)-1,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(C.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){Object(a.d)(new s.a(N,t,this.that.__zoom),M.apply,M,[t,this.that,this.args])}},N.wheelDelta=function(t){return arguments.length?(x="function"==typeof t?t:Object(c.a)(+t),N):x},N.filter=function(t){return arguments.length?(e="function"==typeof t?t:Object(c.a)(!!t),N):e},N.touchable=function(t){return arguments.length?(_="function"==typeof t?t:Object(c.a)(!!t),N):_},N.extent=function(t){return arguments.length?(y="function"==typeof t?t:Object(c.a)([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),N):y},N.scaleExtent=function(t){return arguments.length?(w[0]=+t[0],w[1]=+t[1],N):[w[0],w[1]]},N.translateExtent=function(t){return arguments.length?(O[0][0]=+t[0][0],O[1][0]=+t[1][0],O[0][1]=+t[0][1],O[1][1]=+t[1][1],N):[[O[0][0],O[0][1]],[O[1][0],O[1][1]]]},N.constrain=function(t){return arguments.length?(m=t,N):m},N.duration=function(t){return arguments.length?(j=+t,N):j},N.interpolate=function(t){return arguments.length?(T=t,N):T},N.on=function(){var t=M.on.apply(M,arguments);return t===M?N:t},N.clickDistance=function(t){return arguments.length?(A=(t=+t)*t,N):Math.sqrt(A)},N}},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.transform=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";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return o});var r=e(172),i=function(t){if(t){var n="";switch(t.charAt(0)){case"$":n+="$";break;case"£":n+="£";break;case"€":n+="€"}t.indexOf(",")>-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)&&(r<i?(t.addError({title:"Not Enough "+e+"s",message:"This visualization requires "+(i===o?"exactly":"at least")+" "+i+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):r>o?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===o?"exactly":"no more than")+" "+o+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,o=i.pivots,a=i.dimensions,u=i.measure_like;return r("pivot-req","Pivot",o.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",a.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",u.length,e.min_measures,e.max_measures)}},,function(t,n,e){var r;
  /*!
   * jQuery JavaScript Library v3.3.1
   * https://jquery.com/
   *
   * Includes Sizzle.js
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://jquery.org/license
   *
   * Date: 2018-01-20T17:24Z
   */
  /*!
   * jQuery JavaScript Library v3.3.1
   * https://jquery.com/
   *
   * Includes Sizzle.js
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://jquery.org/license
   *
   * Date: 2018-01-20T17:24Z
   */
  !function(n,e){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=n.document?e(n,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(n)}("undefined"!=typeof window?window:this,function(e,i){"use strict";var o=[],a=e.document,u=Object.getPrototypeOf,c=o.slice,s=o.concat,l=o.push,f=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,v=p.toString,b=v.call(Object),g={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},m=function(t){return null!=t&&t===t.window},x={type:!0,src:!0,noModule:!0};function _(t,n,e){var r,i=(n=n||a).createElement("script");if(i.text=t,e)for(r in x)e[r]&&(i[r]=e[r]);n.head.appendChild(i).parentNode.removeChild(i)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[d.call(t)]||"object":typeof t}var O=function(t,n){return new O.fn.init(t,n)},j=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function T(t){var n=!!t&&"length"in t&&t.length,e=w(t);return!y(t)&&!m(t)&&("array"===e||0===n||"number"==typeof n&&n>0&&n-1 in t)}O.fn=O.prototype={jquery:"3.3.1",constructor:O,length:0,toArray:function(){return c.call(this)},get:function(t){return null==t?c.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=O.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return O.each(this,t)},map:function(t){return this.pushStack(O.map(this,function(n,e){return t.call(n,e,n)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var n=this.length,e=+t+(t<0?n:0);return this.pushStack(e>=0&&e<n?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},O.extend=O.fn.extend=function(){var t,n,e,r,i,o,a=arguments[0]||{},u=1,c=arguments.length,s=!1;for("boolean"==typeof a&&(s=a,a=arguments[u]||{},u++),"object"==typeof a||y(a)||(a={}),u===c&&(a=this,u--);u<c;u++)if(null!=(t=arguments[u]))for(n in t)e=a[n],a!==(r=t[n])&&(s&&r&&(O.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=e&&Array.isArray(e)?e:[]):o=e&&O.isPlainObject(e)?e:{},a[n]=O.extend(s,o,r)):void 0!==r&&(a[n]=r));return a},O.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var n,e;return!(!t||"[object Object]"!==d.call(t))&&(!(n=u(t))||"function"==typeof(e=p.call(n,"constructor")&&n.constructor)&&v.call(e)===b)},isEmptyObject:function(t){var n;for(n in t)return!1;return!0},globalEval:function(t){_(t)},each:function(t,n){var e,r=0;if(T(t))for(e=t.length;r<e&&!1!==n.call(t[r],r,t[r]);r++);else for(r in t)if(!1===n.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(j,"")},makeArray:function(t,n){var e=n||[];return null!=t&&(T(Object(t))?O.merge(e,"string"==typeof t?[t]:t):l.call(e,t)),e},inArray:function(t,n,e){return null==n?-1:f.call(n,t,e)},merge:function(t,n){for(var e=+n.length,r=0,i=t.length;r<e;r++)t[i++]=n[r];return t.length=i,t},grep:function(t,n,e){for(var r=[],i=0,o=t.length,a=!e;i<o;i++)!n(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,n,e){var r,i,o=0,a=[];if(T(t))for(r=t.length;o<r;o++)null!=(i=n(t[o],o,e))&&a.push(i);else for(o in t)null!=(i=n(t[o],o,e))&&a.push(i);return s.apply([],a)},guid:1,support:g}),"function"==typeof Symbol&&(O.fn[Symbol.iterator]=o[Symbol.iterator]),O.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,n){h["[object "+n+"]"]=n.toLowerCase()});var C=
  /*!
   * Sizzle CSS Selector Engine v2.3.3
   * https://sizzlejs.com/
   *
   * Copyright jQuery Foundation and other contributors
   * Released under the MIT license
   * http://jquery.org/license
   *
   * Date: 2016-08-08
   */
  function(t){var n,e,r,i,o,a,u,c,s,l,f,h,d,p,v,b,g,y,m,x="sizzle"+1*new Date,_=t.document,w=0,O=0,j=at(),T=at(),C=at(),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;e++)if(t[e]===n)return e;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",H="\\["+R+"*("+P+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+R+"*\\]",F=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",z=new RegExp(R+"+","g"),I=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),$=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),B=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),W=new RegExp(F),Y=new RegExp("^"+P+"$"),V={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),tt=function(t,n,e){var r="0x"+n-65536;return r!=r||e?n:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,et=function(t,n){return n?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){h()},it=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{E.apply(k=D.call(_.childNodes),_.childNodes),k[_.childNodes.length].nodeType}catch(t){E={apply:k.length?function(t,n){N.apply(t,D.call(n))}:function(t,n){for(var e=t.length,r=0;t[e++]=n[r++];);t.length=e-1}}}function ot(t,n,r,i){var o,u,s,l,f,p,g,y=n&&n.ownerDocument,w=n?n.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&((n?n.ownerDocument||n:_)!==d&&h(n),n=n||d,v)){if(11!==w&&(f=Q.exec(t)))if(o=f[1]){if(9===w){if(!(s=n.getElementById(o)))return r;if(s.id===o)return r.push(s),r}else if(y&&(s=y.getElementById(o))&&m(n,s)&&s.id===o)return r.push(s),r}else{if(f[2])return E.apply(r,n.getElementsByTagName(t)),r;if((o=f[3])&&e.getElementsByClassName&&n.getElementsByClassName)return E.apply(r,n.getElementsByClassName(o)),r}if(e.qsa&&!C[t+" "]&&(!b||!b.test(t))){if(1!==w)y=n,g=t;else if("object"!==n.nodeName.toLowerCase()){for((l=n.getAttribute("id"))?l=l.replace(nt,et):n.setAttribute("id",l=x),u=(p=a(t)).length;u--;)p[u]="#"+l+" "+gt(p[u]);g=p.join(","),y=J.test(t)&&vt(n.parentNode)||n}if(g)try{return E.apply(r,y.querySelectorAll(g)),r}catch(t){}finally{l===x&&n.removeAttribute("id")}}}return c(t.replace(I,"$1"),n,r,i)}function at(){var t=[];return function n(e,i){return t.push(e+" ")>r.cacheLength&&delete n[t.shift()],n[e+" "]=i}}function ut(t){return t[x]=!0,t}function ct(t){var n=d.createElement("fieldset");try{return!!t(n)}catch(t){return!1}finally{n.parentNode&&n.parentNode.removeChild(n),n=null}}function st(t,n){for(var e=t.split("|"),i=e.length;i--;)r.attrHandle[e[i]]=n}function lt(t,n){var e=n&&t,r=e&&1===t.nodeType&&1===n.nodeType&&t.sourceIndex-n.sourceIndex;if(r)return r;if(e)for(;e=e.nextSibling;)if(e===n)return-1;return t?1:-1}function ft(t){return function(n){return"input"===n.nodeName.toLowerCase()&&n.type===t}}function ht(t){return function(n){var e=n.nodeName.toLowerCase();return("input"===e||"button"===e)&&n.type===t}}function dt(t){return function(n){return"form"in n?n.parentNode&&!1===n.disabled?"label"in n?"label"in n.parentNode?n.parentNode.disabled===t:n.disabled===t:n.isDisabled===t||n.isDisabled!==!t&&it(n)===t:n.disabled===t:"label"in n&&n.disabled===t}}function pt(t){return ut(function(n){return n=+n,ut(function(e,r){for(var i,o=t([],e.length,n),a=o.length;a--;)e[i=o[a]]&&(e[i]=!(r[i]=e[i]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(n in e=ot.support={},o=ot.isXML=function(t){var n=t&&(t.ownerDocument||t).documentElement;return!!n&&"HTML"!==n.nodeName},h=ot.setDocument=function(t){var n,i,a=t?t.ownerDocument||t:_;return a!==d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,v=!o(d),_!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),e.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),e.getElementsByTagName=ct(function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length}),e.getElementsByClassName=G.test(d.getElementsByClassName),e.getById=ct(function(t){return p.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length}),e.getById?(r.filter.ID=function(t){var n=t.replace(Z,tt);return function(t){return t.getAttribute("id")===n}},r.find.ID=function(t,n){if(void 0!==n.getElementById&&v){var e=n.getElementById(t);return e?[e]:[]}}):(r.filter.ID=function(t){var n=t.replace(Z,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}},r.find.ID=function(t,n){if(void 0!==n.getElementById&&v){var e,r,i,o=n.getElementById(t);if(o){if((e=o.getAttributeNode("id"))&&e.value===t)return[o];for(i=n.getElementsByName(t),r=0;o=i[r++];)if((e=o.getAttributeNode("id"))&&e.value===t)return[o]}return[]}}),r.find.TAG=e.getElementsByTagName?function(t,n){return void 0!==n.getElementsByTagName?n.getElementsByTagName(t):e.qsa?n.querySelectorAll(t):void 0}:function(t,n){var e,r=[],i=0,o=n.getElementsByTagName(t);if("*"===t){for(;e=o[i++];)1===e.nodeType&&r.push(e);return r}return o},r.find.CLASS=e.getElementsByClassName&&function(t,n){if(void 0!==n.getElementsByClassName&&v)return n.getElementsByClassName(t)},g=[],b=[],(e.qsa=G.test(d.querySelectorAll))&&(ct(function(t){p.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",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="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var n=d.createElement("input");n.setAttribute("type","hidden"),t.appendChild(n).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&b.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&b.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),b.push(",.*:")})),(e.matchesSelector=G.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ct(function(t){e.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),g.push("!=",F)}),b=b.length&&new RegExp(b.join("|")),g=g.length&&new RegExp(g.join("|")),n=G.test(p.compareDocumentPosition),m=n||G.test(p.contains)?function(t,n){var e=9===t.nodeType?t.documentElement:t,r=n&&n.parentNode;return t===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,n){if(n)for(;n=n.parentNode;)if(n===t)return!0;return!1},M=n?function(t,n){if(t===n)return f=!0,0;var r=!t.compareDocumentPosition-!n.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(n.ownerDocument||n)?t.compareDocumentPosition(n):1)||!e.sortDetached&&n.compareDocumentPosition(t)===r?t===d||t.ownerDocument===_&&m(_,t)?-1:n===d||n.ownerDocument===_&&m(_,n)?1:l?L(l,t)-L(l,n):0:4&r?-1:1)}:function(t,n){if(t===n)return f=!0,0;var e,r=0,i=t.parentNode,o=n.parentNode,a=[t],u=[n];if(!i||!o)return t===d?-1:n===d?1:i?-1:o?1:l?L(l,t)-L(l,n):0;if(i===o)return lt(t,n);for(e=t;e=e.parentNode;)a.unshift(e);for(e=n;e=e.parentNode;)u.unshift(e);for(;a[r]===u[r];)r++;return r?lt(a[r],u[r]):a[r]===_?-1:u[r]===_?1:0},d):d},ot.matches=function(t,n){return ot(t,null,null,n)},ot.matchesSelector=function(t,n){if((t.ownerDocument||t)!==d&&h(t),n=n.replace(B,"='$1']"),e.matchesSelector&&v&&!C[n+" "]&&(!g||!g.test(n))&&(!b||!b.test(n)))try{var r=y.call(t,n);if(r||e.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(n,d,null,[t]).length>0},ot.contains=function(t,n){return(t.ownerDocument||t)!==d&&h(t),m(t,n)},ot.attr=function(t,n){(t.ownerDocument||t)!==d&&h(t);var i=r.attrHandle[n.toLowerCase()],o=i&&S.call(r.attrHandle,n.toLowerCase())?i(t,n,!v):void 0;return void 0!==o?o:e.attributes||!v?t.getAttribute(n):(o=t.getAttributeNode(n))&&o.specified?o.value:null},ot.escape=function(t){return(t+"").replace(nt,et)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var n,r=[],i=0,o=0;if(f=!e.detectDuplicates,l=!e.sortStable&&t.slice(0),t.sort(M),f){for(;n=t[o++];)n===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return l=null,t},i=ot.getText=function(t){var n,e="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)e+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;n=t[r++];)e+=i(n);return e},(r=ot.selectors={cacheLength:50,createPseudo:ut,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var n,e=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":e&&W.test(e)&&(n=a(e,!0))&&(n=e.indexOf(")",e.length-n)-e.length)&&(t[0]=t[0].slice(0,n),t[2]=e.slice(0,n)),t.slice(0,3))}},filter:{TAG:function(t){var n=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===n}},CLASS:function(t){var n=j[t+" "];return n||(n=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&j(t,function(t){return n.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,e){return function(r){var i=ot.attr(r,t);return null==i?"!="===n:!n||(i+="","="===n?i===e:"!="===n?i!==e:"^="===n?e&&0===i.indexOf(e):"*="===n?e&&i.indexOf(e)>-1:"$="===n?e&&i.slice(-e.length)===e:"~="===n?(" "+i.replace(z," ")+" ").indexOf(e)>-1:"|="===n&&(i===e||i.slice(0,e.length+1)===e+"-"))}},CHILD:function(t,n,e,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),u="of-type"===n;return 1===r&&0===i?function(t){return!!t.parentNode}:function(n,e,c){var s,l,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",b=n.parentNode,g=u&&n.nodeName.toLowerCase(),y=!c&&!u,m=!1;if(b){if(o){for(;v;){for(h=n;h=h[v];)if(u?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?b.firstChild:b.lastChild],a&&y){for(m=(d=(s=(l=(f=(h=b)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&s[1])&&s[2],h=d&&b.childNodes[d];h=++d&&h&&h[v]||(m=d=0)||p.pop();)if(1===h.nodeType&&++m&&h===n){l[t]=[w,d,m];break}}else if(y&&(m=d=(s=(l=(f=(h=n)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&s[1]),!1===m)for(;(h=++d&&h&&h[v]||(m=d=0)||p.pop())&&((u?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++m||(y&&((l=(f=h[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[w,m]),h!==n)););return(m-=i)===r||m%r==0&&m/r>=0}}},PSEUDO:function(t,n){var e,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[x]?i(n):i.length>1?(e=[t,t,"",n],r.setFilters.hasOwnProperty(t.toLowerCase())?ut(function(t,e){for(var r,o=i(t,n),a=o.length;a--;)t[r=L(t,o[a])]=!(e[r]=o[a])}):function(t){return i(t,0,e)}):i}},pseudos:{not:ut(function(t){var n=[],e=[],r=u(t.replace(I,"$1"));return r[x]?ut(function(t,n,e,i){for(var o,a=r(t,null,i,[]),u=t.length;u--;)(o=a[u])&&(t[u]=!(n[u]=o))}):function(t,i,o){return n[0]=t,r(n,null,o,e),n[0]=null,!e.pop()}}),has:ut(function(t){return function(n){return ot(t,n).length>0}}),contains:ut(function(t){return t=t.replace(Z,tt),function(n){return(n.textContent||n.innerText||i(n)).indexOf(t)>-1}}),lang:ut(function(t){return Y.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(Z,tt).toLowerCase(),function(n){var e;do{if(e=v?n.lang:n.getAttribute("xml:lang")||n.getAttribute("lang"))return(e=e.toLowerCase())===t||0===e.indexOf(t+"-")}while((n=n.parentNode)&&1===n.nodeType);return!1}}),target:function(n){var e=t.location&&t.location.hash;return e&&e.slice(1)===n.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var n=t.nodeName.toLowerCase();return"input"===n&&!!t.checked||"option"===n&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return X.test(t.nodeName)},button:function(t){var n=t.nodeName.toLowerCase();return"input"===n&&"button"===t.type||"button"===n},text:function(t){var n;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(n=t.getAttribute("type"))||"text"===n.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,n){return[n-1]}),eq:pt(function(t,n,e){return[e<0?e+n:e]}),even:pt(function(t,n){for(var e=0;e<n;e+=2)t.push(e);return t}),odd:pt(function(t,n){for(var e=1;e<n;e+=2)t.push(e);return t}),lt:pt(function(t,n,e){for(var r=e<0?e+n:e;--r>=0;)t.push(r);return t}),gt:pt(function(t,n,e){for(var r=e<0?e+n:e;++r<n;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})r.pseudos[n]=ht(n);function bt(){}function gt(t){for(var n=0,e=t.length,r="";n<e;n++)r+=t[n].value;return r}function yt(t,n,e){var r=n.dir,i=n.next,o=i||r,a=e&&"parentNode"===o,u=O++;return n.first?function(n,e,i){for(;n=n[r];)if(1===n.nodeType||a)return t(n,e,i);return!1}:function(n,e,c){var s,l,f,h=[w,u];if(c){for(;n=n[r];)if((1===n.nodeType||a)&&t(n,e,c))return!0}else for(;n=n[r];)if(1===n.nodeType||a)if(l=(f=n[x]||(n[x]={}))[n.uniqueID]||(f[n.uniqueID]={}),i&&i===n.nodeName.toLowerCase())n=n[r]||n;else{if((s=l[o])&&s[0]===w&&s[1]===u)return h[2]=s[2];if(l[o]=h,h[2]=t(n,e,c))return!0}return!1}}function mt(t){return t.length>1?function(n,e,r){for(var i=t.length;i--;)if(!t[i](n,e,r))return!1;return!0}:t[0]}function xt(t,n,e,r,i){for(var o,a=[],u=0,c=t.length,s=null!=n;u<c;u++)(o=t[u])&&(e&&!e(o,r,i)||(a.push(o),s&&n.push(u)));return a}function _t(t,n,e,r,i,o){return r&&!r[x]&&(r=_t(r)),i&&!i[x]&&(i=_t(i,o)),ut(function(o,a,u,c){var s,l,f,h=[],d=[],p=a.length,v=o||function(t,n,e){for(var r=0,i=n.length;r<i;r++)ot(t,n[r],e);return e}(n||"*",u.nodeType?[u]:u,[]),b=!t||!o&&n?v:xt(v,h,t,u,c),g=e?i||(o?t:p||r)?[]:a:b;if(e&&e(b,g,u,c),r)for(s=xt(g,d),r(s,[],u,c),l=s.length;l--;)(f=s[l])&&(g[d[l]]=!(b[d[l]]=f));if(o){if(i||t){if(i){for(s=[],l=g.length;l--;)(f=g[l])&&s.push(b[l]=f);i(null,g=[],s,c)}for(l=g.length;l--;)(f=g[l])&&(s=i?L(o,f):h[l])>-1&&(o[s]=!(a[s]=f))}}else g=xt(g===a?g.splice(p,g.length):g),i?i(null,a,g,c):E.apply(a,g)})}function wt(t){for(var n,e,i,o=t.length,a=r.relative[t[0].type],u=a||r.relative[" "],c=a?1:0,l=yt(function(t){return t===n},u,!0),f=yt(function(t){return L(n,t)>-1},u,!0),h=[function(t,e,r){var i=!a&&(r||e!==s)||((n=e).nodeType?l(t,e,r):f(t,e,r));return n=null,i}];c<o;c++)if(e=r.relative[t[c].type])h=[yt(mt(h),e)];else{if((e=r.filter[t[c].type].apply(null,t[c].matches))[x]){for(i=++c;i<o&&!r.relative[t[i].type];i++);return _t(c>1&&mt(h),c>1&&gt(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(I,"$1"),e,c<i&&wt(t.slice(c,i)),i<o&&wt(t=t.slice(i)),i<o&&gt(t))}h.push(e)}return mt(h)}return bt.prototype=r.filters=r.pseudos,r.setFilters=new bt,a=ot.tokenize=function(t,n){var e,i,o,a,u,c,s,l=T[t+" "];if(l)return n?0:l.slice(0);for(u=t,c=[],s=r.preFilter;u;){for(a in e&&!(i=$.exec(u))||(i&&(u=u.slice(i[0].length)||u),c.push(o=[])),e=!1,(i=U.exec(u))&&(e=i.shift(),o.push({value:e,type:i[0].replace(I," ")}),u=u.slice(e.length)),r.filter)!(i=V[a].exec(u))||s[a]&&!(i=s[a](i))||(e=i.shift(),o.push({value:e,type:a,matches:i}),u=u.slice(e.length));if(!e)break}return n?u.length:u?ot.error(t):T(t,c).slice(0)},u=ot.compile=function(t,n){var e,i=[],o=[],u=C[t+" "];if(!u){for(n||(n=a(t)),e=n.length;e--;)(u=wt(n[e]))[x]?i.push(u):o.push(u);(u=C(t,function(t,n){var e=n.length>0,i=t.length>0,o=function(o,a,u,c,l){var f,p,b,g=0,y="0",m=o&&[],x=[],_=s,O=o||i&&r.find.TAG("*",l),j=w+=null==_?1:Math.random()||.1,T=O.length;for(l&&(s=a===d||a||l);y!==T&&null!=(f=O[y]);y++){if(i&&f){for(p=0,a||f.ownerDocument===d||(h(f),u=!v);b=t[p++];)if(b(f,a||d,u)){c.push(f);break}l&&(w=j)}e&&((f=!b&&f)&&g--,o&&m.push(f))}if(g+=y,e&&y!==g){for(p=0;b=n[p++];)b(m,x,a,u);if(o){if(g>0)for(;y--;)m[y]||x[y]||(x[y]=A.call(c));x=xt(x)}E.apply(c,x),l&&!o&&x.length>0&&g+n.length>1&&ot.uniqueSort(c)}return l&&(w=j,s=_),m};return e?ut(o):o}(o,i))).selector=t}return u},c=ot.select=function(t,n,e,i){var o,c,s,l,f,h="function"==typeof t&&t,d=!i&&a(t=h.selector||t);if(e=e||[],1===d.length){if((c=d[0]=d[0].slice(0)).length>2&&"ID"===(s=c[0]).type&&9===n.nodeType&&v&&r.relative[c[1].type]){if(!(n=(r.find.ID(s.matches[0].replace(Z,tt),n)||[])[0]))return e;h&&(n=n.parentNode),t=t.slice(c.shift().value.length)}for(o=V.needsContext.test(t)?0:c.length;o--&&(s=c[o],!r.relative[l=s.type]);)if((f=r.find[l])&&(i=f(s.matches[0].replace(Z,tt),J.test(c[0].type)&&vt(n.parentNode)||n))){if(c.splice(o,1),!(t=i.length&&gt(c)))return E.apply(e,i),e;break}}return(h||u(t,d))(i,n,!v,e,!n||J.test(t)&&vt(n.parentNode)||n),e},e.sortStable=x.split("").sort(M).join("")===x,e.detectDuplicates=!!f,h(),e.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))}),ct(function(t){return t.innerHTML="<a href='#'></a>","#"===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="<input/>",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;n<r;n++)if(O.contains(i[n],this))return!0}));for(e=this.pushStack([]),n=0;n<r;n++)O.find(t,i[n],e);return r>1?O.uniqueSort(e):e},filter:function(t){return this.pushStack(E(this,t||[],!1))},not:function(t){return this.pushStack(E(this,t||[],!0))},is:function(t){return!!E(this,"string"==typeof t&&k.test(t)?O(t):t||[],!1).length}});var D,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(t,n,e){var r,i;if(!t)return this;if(e=e||D,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:L.exec(t))||!r[1]&&n)return!n||n.jquery?(n||e).find(t):this.constructor(n).find(t);if(r[1]){if(n=n instanceof O?n[0]:n,O.merge(this,O.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),N.test(r[1])&&O.isPlainObject(n))for(r in n)y(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==e.ready?e.ready(t):t(O):O.makeArray(t,this)}).prototype=O.fn,D=O(a);var q=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function P(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}O.fn.extend({has:function(t){var n=O(t,this),e=n.length;return this.filter(function(){for(var t=0;t<e;t++)if(O.contains(this,n[t]))return!0})},closest:function(t,n){var e,r=0,i=this.length,o=[],a="string"!=typeof t&&O(t);if(!k.test(t))for(;r<i;r++)for(e=this[r];e&&e!==n;e=e.parentNode)if(e.nodeType<11&&(a?a.index(e)>-1:1===e.nodeType&&O.find.matchesSelector(e,t))){o.push(e);break}return this.pushStack(o.length>1?O.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(O(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),O.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return M(t,"parentNode")},parentsUntil:function(t,n,e){return M(t,"parentNode",e)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return M(t,"nextSibling")},prevAll:function(t){return M(t,"previousSibling")},nextUntil:function(t,n,e){return M(t,"nextSibling",e)},prevUntil:function(t,n,e){return M(t,"previousSibling",e)},siblings:function(t){return S((t.parentNode||{}).firstChild,t)},children:function(t){return S(t.firstChild)},contents:function(t){return A(t,"iframe")?t.contentDocument:(A(t,"template")&&(t=t.content||t),O.merge([],t.childNodes))}},function(t,n){O.fn[t]=function(e,r){var i=O.map(this,n,e);return"Until"!==t.slice(-5)&&(r=e),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(R[t]||O.uniqueSort(i),q.test(t)&&i.reverse()),this.pushStack(i)}});var H=/[^\x20\t\r\n\f]+/g;function F(t){return t}function z(t){throw t}function I(t,n,e,r){var i;try{t&&y(i=t.promise)?i.call(t).done(n).fail(e):t&&y(i=t.then)?i.call(t,n,e):n.apply(void 0,[t].slice(r))}catch(t){e.apply(void 0,[t])}}O.Callbacks=function(t){t="string"==typeof t?function(t){var n={};return O.each(t.match(H)||[],function(t,e){n[e]=!0}),n}(t):O.extend({},t);var n,e,r,i,o=[],a=[],u=-1,c=function(){for(i=i||t.once,r=n=!0;a.length;u=-1)for(e=a.shift();++u<o.length;)!1===o[u].apply(e[0],e[1])&&t.stopOnFalse&&(u=o.length,e=!1);t.memory||(e=!1),n=!1,i&&(o=e?[]:"")},s={add:function(){return o&&(e&&!n&&(u=o.length-1,a.push(e)),function n(e){O.each(e,function(e,r){y(r)?t.unique&&s.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&n(r)})}(arguments),e&&!n&&c()),this},remove:function(){return O.each(arguments,function(t,n){for(var e;(e=O.inArray(n,o,e))>-1;)o.splice(e,1),e<=u&&u--}),this},has:function(t){return t?O.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return i=a=[],e||n||(o=e=""),this},locked:function(){return!!i},fireWith:function(t,e){return i||(e=[t,(e=e||[]).slice?e.slice():e],a.push(e),n||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},O.extend({Deferred:function(t){var n=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return O.Deferred(function(e){O.each(n,function(n,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var u=this,c=arguments,s=function(){var e,s;if(!(t<o)){if((e=r.apply(u,c))===n.promise())throw new TypeError("Thenable self-resolution");s=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(s)?i?s.call(e,a(o,n,F,i),a(o,n,z,i)):(o++,s.call(e,a(o,n,F,i),a(o,n,z,i),a(o,n,F,n.notifyWith))):(r!==F&&(u=void 0,c=[e]),(i||n.resolveWith)(u,c))}},l=i?s:function(){try{s()}catch(e){O.Deferred.exceptionHook&&O.Deferred.exceptionHook(e,l.stackTrace),t+1>=o&&(r!==z&&(u=void 0,c=[e]),n.rejectWith(u,c))}};t?l():(O.Deferred.getStackHook&&(l.stackTrace=O.Deferred.getStackHook()),e.setTimeout(l))}}return O.Deferred(function(e){n[0][3].add(a(0,e,y(i)?i:F,e.notifyWith)),n[1][3].add(a(0,e,y(t)?t:F)),n[2][3].add(a(0,e,y(r)?r:z))}).promise()},promise:function(t){return null!=t?O.extend(t,i):i}},o={};return O.each(n,function(t,e){var a=e[2],u=e[5];i[e[1]]=a.add,u&&a.add(function(){r=u},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),a.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var n=arguments.length,e=n,r=Array(e),i=c.call(arguments),o=O.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=arguments.length>1?c.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(t,o.done(a(e)).resolve,o.reject,!n),"pending"===o.state()||y(i[e]&&i[e].then)))return o.then();for(;e--;)I(i[e],a(e),o.reject);return o.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&$.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},O.readyException=function(t){e.setTimeout(function(){throw t})};var U=O.Deferred();function B(){a.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),O.ready()}O.fn.ready=function(t){return U.then(t).catch(function(t){O.readyException(t)}),this},O.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==t&&--O.readyWait>0||U.resolveWith(a,[O]))}}),O.ready.then=U.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?e.setTimeout(O.ready):(a.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var W=function(t,n,e,r,i,o,a){var u=0,c=t.length,s=null==e;if("object"===w(e))for(u in i=!0,e)W(t,n,u,e[u],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),s&&(a?(n.call(t,r),n=null):(s=n,n=function(t,n,e){return s.call(O(t),e)})),n))for(;u<c;u++)n(t[u],e,a?r:r.call(t[u],u,n(t[u],e)));return i?t:s?n.call(t):c?n(t[0],e):o},Y=/^-ms-/,V=/-([a-z])/g;function X(t,n){return n.toUpperCase()}function K(t){return t.replace(Y,"ms-").replace(V,X)}var G=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=O.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var n=t[this.expando];return n||(n={},G(t)&&(t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,configurable:!0}))),n},set:function(t,n,e){var r,i=this.cache(t);if("string"==typeof n)i[K(n)]=e;else for(r in n)i[K(r)]=n[r];return i},get:function(t,n){return void 0===n?this.cache(t):t[this.expando]&&t[this.expando][K(n)]},access:function(t,n,e){return void 0===n||n&&"string"==typeof n&&void 0===e?this.get(t,n):(this.set(t,n,e),void 0!==e?e:n)},remove:function(t,n){var e,r=t[this.expando];if(void 0!==r){if(void 0!==n){e=(n=Array.isArray(n)?n.map(K):(n=K(n))in r?[n]:n.match(H)||[]).length;for(;e--;)delete r[n[e]]}(void 0===n||O.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var n=t[this.expando];return void 0!==n&&!O.isEmptyObject(n)}};var J=new Q,Z=new Q,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,nt=/[A-Z]/g;function et(t,n,e){var r;if(void 0===e&&1===t.nodeType)if(r="data-"+n.replace(nt,"-$&").toLowerCase(),"string"==typeof(e=t.getAttribute(r))){try{e=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(e)}catch(t){}Z.set(t,n,e)}else e=void 0;return e}O.extend({hasData:function(t){return Z.hasData(t)||J.hasData(t)},data:function(t,n,e){return Z.access(t,n,e)},removeData:function(t,n){Z.remove(t,n)},_data:function(t,n,e){return J.access(t,n,e)},_removeData:function(t,n){J.remove(t,n)}}),O.fn.extend({data:function(t,n){var e,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=Z.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(e=a.length;e--;)a[e]&&0===(r=a[e].name).indexOf("data-")&&(r=K(r.slice(5)),et(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Z.set(this,t)}):W(this,function(n){var e;if(o&&void 0===n)return void 0!==(e=Z.get(o,t))?e:void 0!==(e=et(o,t))?e:void 0;this.each(function(){Z.set(this,t,n)})},null,n,arguments.length>1,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<e?O.queue(this[0],t):void 0===n?this:this.each(function(){var e=O.queue(this,t,n);O._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&O.dequeue(this,t)})},dequeue:function(t){return this.each(function(){O.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var e,r=1,i=O.Deferred(),o=this,a=this.length,u=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(n=t,t=void 0),t=t||"fx";a--;)(e=J.get(o[a],t+"queueHooks"))&&e.empty&&(r++,e.empty.add(u));return u(),i.promise(n)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],at=function(t,n){return"none"===(t=n||t).style.display||""===t.style.display&&O.contains(t.ownerDocument,t)&&"none"===O.css(t,"display")},ut=function(t,n,e,r){var i,o,a={};for(o in n)a[o]=t.style[o],t.style[o]=n[o];for(o in i=e.apply(t,r||[]),n)t.style[o]=a[o];return i};function ct(t,n,e,r){var i,o,a=20,u=r?function(){return r.cur()}:function(){return O.css(t,n,"")},c=u(),s=e&&e[3]||(O.cssNumber[n]?"":"px"),l=(O.cssNumber[n]||"px"!==s&&+c)&&it.exec(O.css(t,n));if(l&&l[3]!==s){for(c/=2,s=s||l[3],l=+c||1;a--;)O.style(t,n,l+s),(1-o)*(1-(o=u()/c||.5))<=0&&(a=0),l/=o;l*=2,O.style(t,n,l+s),e=e||[]}return e&&(l=+l||+c||0,i=e[1]?l+(e[1]+1)*e[2]:+e[2],r&&(r.unit=s,r.start=l,r.end=i)),i}var st={};function lt(t){var n,e=t.ownerDocument,r=t.nodeName,i=st[r];return i||(n=e.body.appendChild(e.createElement(r)),i=O.css(n,"display"),n.parentNode.removeChild(n),"none"===i&&(i="block"),st[r]=i,i)}function ft(t,n){for(var e,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(e=r.style.display,n?("none"===e&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&at(r)&&(i[o]=lt(r))):"none"!==e&&(i[o]="none",J.set(r,"display",e)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}O.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){at(this)?O(this).show():O(this).hide()})}});var ht=/^(?:checkbox|radio)$/i,dt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,vt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_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<r;e++)J.set(t[e],"globalEval",!n||J.get(n[e],"globalEval"))}vt.optgroup=vt.option,vt.tbody=vt.tfoot=vt.colgroup=vt.caption=vt.thead,vt.th=vt.td;var yt,mt,xt=/<|&#?\w+;/;function _t(t,n,e,r,i){for(var o,a,u,c,s,l,f=n.createDocumentFragment(),h=[],d=0,p=t.length;d<p;d++)if((o=t[d])||0===o)if("object"===w(o))O.merge(h,o.nodeType?[o]:o);else if(xt.test(o)){for(a=a||f.appendChild(n.createElement("div")),u=(dt.exec(o)||["",""])[1].toLowerCase(),c=vt[u]||vt._default,a.innerHTML=c[1]+O.htmlPrefilter(o)+c[2],l=c[0];l--;)a=a.lastChild;O.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(n.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&O.inArray(o,r)>-1)i&&i.push(o);else if(s=O.contains(o.ownerDocument,o),a=bt(f.appendChild(o),"script"),s&&gt(a),e)for(l=0;o=a[l++];)pt.test(o.type||"")&&e.push(o);return f}yt=a.createDocumentFragment().appendChild(a.createElement("div")),(mt=a.createElement("input")).setAttribute("type","radio"),mt.setAttribute("checked","checked"),mt.setAttribute("name","t"),yt.appendChild(mt),g.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=a.documentElement,Ot=/^key/,jt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Tt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function Mt(){return!1}function St(){try{return a.activeElement}catch(t){}}function kt(t,n,e,r,i,o){var a,u;if("object"==typeof n){for(u in"string"!=typeof e&&(r=r||e,e=void 0),n)kt(t,u,e,r,n[u],o);return t}if(null==r&&null==i?(i=e,r=e=void 0):null==i&&("string"==typeof e?(i=r,r=void 0):(i=r,r=e,e=void 0)),!1===i)i=Mt;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return O().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=O.guid++)),t.each(function(){O.event.add(this,n,i,r,e)})}O.event={global:{},add:function(t,n,e,r,i){var o,a,u,c,s,l,f,h,d,p,v,b=J.get(t);if(b)for(e.handler&&(e=(o=e).handler,i=o.selector),i&&O.find.matchesSelector(wt,i),e.guid||(e.guid=O.guid++),(c=b.events)||(c=b.events={}),(a=b.handle)||(a=b.handle=function(n){return void 0!==O&&O.event.triggered!==n.type?O.event.dispatch.apply(t,arguments):void 0}),s=(n=(n||"").match(H)||[""]).length;s--;)d=v=(u=Tt.exec(n[s])||[])[1],p=(u[2]||"").split(".").sort(),d&&(f=O.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=O.event.special[d]||{},l=O.extend({type:d,origType:v,data:r,handler:e,guid:e.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=c[d])||((h=c[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=e.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),O.event.global[d]=!0)},remove:function(t,n,e,r,i){var o,a,u,c,s,l,f,h,d,p,v,b=J.hasData(t)&&J.get(t);if(b&&(c=b.events)){for(s=(n=(n||"").match(H)||[""]).length;s--;)if(d=v=(u=Tt.exec(n[s])||[])[1],p=(u[2]||"").split(".").sort(),d){for(f=O.event.special[d]||{},h=c[d=(r?f.delegateType:f.bindType)||d]||[],u=u[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)l=h[o],!i&&v!==l.origType||e&&e.guid!==l.guid||u&&!u.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,b.handle)||O.removeEvent(t,d,b.handle),delete c[d])}else for(d in c)O.event.remove(t,d+n[s],e,r,!0);O.isEmptyObject(c)&&J.remove(t,"handle events")}},dispatch:function(t){var n,e,r,i,o,a,u=O.event.fix(t),c=new Array(arguments.length),s=(J.get(this,"events")||{})[u.type]||[],l=O.event.special[u.type]||{};for(c[0]=u,n=1;n<arguments.length;n++)c[n]=arguments[n];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=O.event.handlers.call(this,u,s),n=0;(i=a[n++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,e=0;(o=i.handlers[e++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((O.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,c))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(t,n){var e,r,i,o,a,u=[],c=n.delegateCount,s=t.target;if(c&&s.nodeType&&!("click"===t.type&&t.button>=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==t.type||!0!==s.disabled)){for(o=[],a={},e=0;e<c;e++)void 0===a[i=(r=n[e]).selector+" "]&&(a[i]=r.needsContext?O(i,this).index(s)>-1:O.find(i,this,null,[s]).length),a[i]&&o.push(r);o.length&&u.push({elem:s,handlers:o})}return s=this,c<n.length&&u.push({elem:s,handlers:n.slice(c)}),u},addProp:function(t,n){Object.defineProperty(O.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(n){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(t){return t[O.expando]?t:new O.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==St()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===St()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&A(this,"input"))return this.click(),!1},_default:function(t){return A(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},O.removeEvent=function(t,n,e){t.removeEventListener&&t.removeEventListener(n,e)},O.Event=function(t,n){if(!(this instanceof O.Event))return new O.Event(t,n);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Ct:Mt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,n&&O.extend(this,n),this.timeStamp=t&&t.timeStamp||Date.now(),this[O.expando]=!0},O.Event.prototype={constructor:O.Event,isDefaultPrevented:Mt,isPropagationStopped:Mt,isImmediatePropagationStopped:Mt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Ct,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Ct,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Ct,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},O.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var n=t.button;return null==t.which&&Ot.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==n&&jt.test(t.type)?1&n?1:2&n?3:4&n?2:0:t.which}},O.event.addProp),O.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){O.event.special[t]={delegateType:n,bindType:n,handle:function(t){var e,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||O.contains(this,r))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=n),e}}}),O.fn.extend({on:function(t,n,e,r){return kt(this,t,n,e,r)},one:function(t,n,e,r){return kt(this,t,n,e,r,1)},off:function(t,n,e){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,O(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,n,t[i]);return this}return!1!==n&&"function"!=typeof n||(e=n,n=void 0),!1===e&&(e=Mt),this.each(function(){O.event.remove(this,t,e,n)})}});var At=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Nt=/<script|<style|<link/i,Et=/checked\s*(?:[^=]|=\s*.checked.)/i,Dt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Lt(t,n){return A(t,"table")&&A(11!==n.nodeType?n:n.firstChild,"tr")&&O(t).children("tbody")[0]||t}function qt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,n){var e,r,i,o,a,u,c,s;if(1===n.nodeType){if(J.hasData(t)&&(o=J.access(t),a=J.set(n,o),s=o.events))for(i in delete a.handle,a.events={},s)for(e=0,r=s[i].length;e<r;e++)O.event.add(n,i,s[i][e]);Z.hasData(t)&&(u=Z.access(t),c=O.extend({},u),Z.set(n,c))}}function Ht(t,n,e,r){n=s.apply([],n);var i,o,a,u,c,l,f=0,h=t.length,d=h-1,p=n[0],v=y(p);if(v||h>1&&"string"==typeof p&&!g.checkClone&&Et.test(p))return t.each(function(i){var o=t.eq(i);v&&(n[0]=p.call(this,i,o.html())),Ht(o,n,e,r)});if(h&&(o=(i=_t(n,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(a=O.map(bt(i,"script"),qt)).length;f<h;f++)c=i,f!==d&&(c=O.clone(c,!0,!0),u&&O.merge(a,bt(c,"script"))),e.call(t[f],c,f);if(u)for(l=a[a.length-1].ownerDocument,O.map(a,Rt),f=0;f<u;f++)c=a[f],pt.test(c.type||"")&&!J.access(c,"globalEval")&&O.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?O._evalUrl&&O._evalUrl(c.src):_(c.textContent.replace(Dt,""),l,c))}return t}function Ft(t,n,e){for(var r,i=n?O.filter(n,t):t,o=0;null!=(r=i[o]);o++)e||1!==r.nodeType||O.cleanData(bt(r)),r.parentNode&&(e&&O.contains(r.ownerDocument,r)&&gt(bt(r,"script")),r.parentNode.removeChild(r));return t}O.extend({htmlPrefilter:function(t){return t.replace(At,"<$1></$2>")},clone:function(t,n,e){var r,i,o,a,u,c,s,l=t.cloneNode(!0),f=O.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||O.isXMLDoc(t)))for(a=bt(l),r=0,i=(o=bt(t)).length;r<i;r++)u=o[r],c=a[r],void 0,"input"===(s=c.nodeName.toLowerCase())&&ht.test(u.type)?c.checked=u.checked:"input"!==s&&"textarea"!==s||(c.defaultValue=u.defaultValue);if(n)if(e)for(o=o||bt(t),a=a||bt(l),r=0,i=o.length;r<i;r++)Pt(o[r],a[r]);else Pt(t,l);return(a=bt(l,"script")).length>0&&gt(a,!f&&bt(t,"script")),l},cleanData:function(t){for(var n,e,r,i=O.event.special,o=0;void 0!==(e=t[o]);o++)if(G(e)){if(n=e[J.expando]){if(n.events)for(r in n.events)i[r]?O.event.remove(e,r):O.removeEvent(e,r,n.handle);e[J.expando]=void 0}e[Z.expando]&&(e[Z.expando]=void 0)}}}),O.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return W(this,function(t){return void 0===t?O.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ht(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Lt(this,t).appendChild(t)})},prepend:function(){return Ht(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=Lt(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return Ht(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ht(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(O.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,n){return t=null!=t&&t,n=null==n?t:n,this.map(function(){return O.clone(this,t,n)})},html:function(t){return W(this,function(t){var n=this[0]||{},e=0,r=this.length;if(void 0===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!vt[(dt.exec(t)||["",""])[1].toLowerCase()]){t=O.htmlPrefilter(t);try{for(;e<r;e++)1===(n=this[e]||{}).nodeType&&(O.cleanData(bt(n,!1)),n.innerHTML=t);n=0}catch(t){}}n&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Ht(this,arguments,function(n){var e=this.parentNode;O.inArray(this,t)<0&&(O.cleanData(bt(this)),e&&e.replaceChild(n,this))},t)}}),O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){O.fn[t]=function(t){for(var e,r=[],i=O(t),o=i.length-1,a=0;a<=o;a++)e=a===o?this:this.clone(!0),O(i[a])[n](e),l.apply(r,e.get());return this.pushStack(r)}});var zt=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),It=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},$t=new RegExp(ot.join("|"),"i");function Ut(t,n,e){var r,i,o,a,u=t.style;return(e=e||It(t))&&(""!==(a=e.getPropertyValue(n)||e[n])||O.contains(t.ownerDocument,t)||(a=O.style(t,n)),!g.pixelBoxStyles()&&zt.test(a)&&$t.test(n)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=e.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Bt(t,n){return{get:function(){if(!t())return(this.get=n).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",wt.appendChild(s).appendChild(l);var t=e.getComputedStyle(l);r="1%"!==t.top,c=12===n(t.marginLeft),l.style.right="60%",u=36===n(t.right),i=36===n(t.width),l.style.position="absolute",o=36===l.offsetWidth||"absolute",wt.removeChild(s),l=null}}function n(t){return Math.round(parseFloat(t))}var r,i,o,u,c,s=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,O.extend(g,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),u},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o}}))}();var Wt=/^(none|table(?!-c[ea]).+)/,Yt=/^--/,Vt={position:"absolute",visibility:"hidden",display:"block"},Xt={letterSpacing:"0",fontWeight:"400"},Kt=["Webkit","Moz","ms"],Gt=a.createElement("div").style;function Qt(t){var n=O.cssProps[t];return n||(n=O.cssProps[t]=function(t){if(t in Gt)return t;for(var n=t[0].toUpperCase()+t.slice(1),e=Kt.length;e--;)if((t=Kt[e]+n)in Gt)return t}(t)||t),n}function Jt(t,n,e){var r=it.exec(n);return r?Math.max(0,r[2]-(e||0))+(r[3]||"px"):n}function Zt(t,n,e,r,i,o){var a="width"===n?1:0,u=0,c=0;if(e===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===e&&(c+=O.css(t,e+ot[a],!0,i)),r?("content"===e&&(c-=O.css(t,"padding"+ot[a],!0,i)),"margin"!==e&&(c-=O.css(t,"border"+ot[a]+"Width",!0,i))):(c+=O.css(t,"padding"+ot[a],!0,i),"padding"!==e?c+=O.css(t,"border"+ot[a]+"Width",!0,i):u+=O.css(t,"border"+ot[a]+"Width",!0,i));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-o-c-u-.5))),c}function tn(t,n,e){var r=It(t),i=Ut(t,n,r),o="border-box"===O.css(t,"boxSizing",!1,r),a=o;if(zt.test(i)){if(!e)return i;i="auto"}return a=a&&(g.boxSizingReliable()||i===t.style[n]),("auto"===i||!parseFloat(i)&&"inline"===O.css(t,"display",!1,r))&&(i=t["offset"+n[0].toUpperCase()+n.slice(1)],a=!0),(i=parseFloat(i)||0)+Zt(t,n,e||(o?"border":"content"),a,r,i)+"px"}function nn(t,n,e,r,i){return new nn.prototype.init(t,n,e,r,i)}O.extend({cssHooks:{opacity:{get:function(t,n){if(n){var e=Ut(t,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,n,e,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,u=K(n),c=Yt.test(n),s=t.style;if(c||(n=Qt(u)),a=O.cssHooks[n]||O.cssHooks[u],void 0===e)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:s[n];"string"===(o=typeof e)&&(i=it.exec(e))&&i[1]&&(e=ct(t,n,i),o="number"),null!=e&&e==e&&("number"===o&&(e+=i&&i[3]||(O.cssNumber[u]?"":"px")),g.clearCloneStyle||""!==e||0!==n.indexOf("background")||(s[n]="inherit"),a&&"set"in a&&void 0===(e=a.set(t,e,r))||(c?s.setProperty(n,e):s[n]=e))}},css:function(t,n,e,r){var i,o,a,u=K(n);return Yt.test(n)||(n=Qt(u)),(a=O.cssHooks[n]||O.cssHooks[u])&&"get"in a&&(i=a.get(t,!0,e)),void 0===i&&(i=Ut(t,n,r)),"normal"===i&&n in Xt&&(i=Xt[n]),""===e||e?(o=parseFloat(i),!0===e||isFinite(o)?o||0:i):i}}),O.each(["height","width"],function(t,n){O.cssHooks[n]={get:function(t,e,r){if(e)return!Wt.test(O.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?tn(t,n,r):ut(t,Vt,function(){return tn(t,n,r)})},set:function(t,e,r){var i,o=It(t),a="border-box"===O.css(t,"boxSizing",!1,o),u=r&&Zt(t,n,r,a,o);return a&&g.scrollboxSize()===o.position&&(u-=Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(o[n])-Zt(t,n,"border",!1,o)-.5)),u&&(i=it.exec(e))&&"px"!==(i[3]||"px")&&(t.style[n]=e,e=O.css(t,n)),Jt(0,e,u)}}}),O.cssHooks.marginLeft=Bt(g.reliableMarginLeft,function(t,n){if(n)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-ut(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),O.each({margin:"",padding:"",border:"Width"},function(t,n){O.cssHooks[t+n]={expand:function(e){for(var r=0,i={},o="string"==typeof e?e.split(" "):[e];r<4;r++)i[t+ot[r]+n]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(O.cssHooks[t+n].set=Jt)}),O.fn.extend({css:function(t,n){return W(this,function(t,n,e){var r,i,o={},a=0;if(Array.isArray(n)){for(r=It(t),i=n.length;a<i;a++)o[n[a]]=O.css(t,n[a],!1,r);return o}return void 0!==e?O.style(t,n,e):O.css(t,n)},t,n,arguments.length>1)}}),O.Tween=nn,nn.prototype={constructor:nn,init:function(t,n,e,r,i,o){this.elem=t,this.prop=e,this.easing=i||O.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[e]?"":"px")},cur:function(){var t=nn.propHooks[this.prop];return t&&t.get?t.get(this):nn.propHooks._default.get(this)},run:function(t){var n,e=nn.propHooks[this.prop];return this.options.duration?this.pos=n=O.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=n=t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):nn.propHooks._default.set(this),this}},nn.prototype.init.prototype=nn.prototype,nn.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=O.css(t.elem,t.prop,""))&&"auto"!==n?n:0},set:function(t){O.fx.step[t.prop]?O.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[O.cssProps[t.prop]]&&!O.cssHooks[t.prop]?t.elem[t.prop]=t.now:O.style(t.elem,t.prop,t.now+t.unit)}}},nn.propHooks.scrollTop=nn.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},O.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},O.fx=nn.prototype.init,O.fx.step={};var en,rn,on=/^(?:toggle|show|hide)$/,an=/queueHooks$/;function un(){rn&&(!1===a.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(un):e.setTimeout(un,O.fx.interval),O.fx.tick())}function cn(){return e.setTimeout(function(){en=void 0}),en=Date.now()}function sn(t,n){var e,r=0,i={height:t};for(n=n?1:0;r<4;r+=2-n)i["margin"+(e=ot[r])]=i["padding"+e]=t;return n&&(i.opacity=i.width=t),i}function ln(t,n,e){for(var r,i=(fn.tweeners[n]||[]).concat(fn.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(e,n,t))return r}function fn(t,n,e){var r,i,o=0,a=fn.prefilters.length,u=O.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var n=en||cn(),e=Math.max(0,s.startTime+s.duration-n),r=1-(e/s.duration||0),o=0,a=s.tweens.length;o<a;o++)s.tweens[o].run(r);return u.notifyWith(t,[s,r,e]),r<1&&a?e:(a||u.notifyWith(t,[s,1,0]),u.resolveWith(t,[s]),!1)},s=u.promise({elem:t,props:O.extend({},n),opts:O.extend(!0,{specialEasing:{},easing:O.easing._default},e),originalProperties:n,originalOptions:e,startTime:en||cn(),duration:e.duration,tweens:[],createTween:function(n,e){var r=O.Tween(t,s.opts,n,e,s.opts.specialEasing[n]||s.opts.easing);return s.tweens.push(r),r},stop:function(n){var e=0,r=n?s.tweens.length:0;if(i)return this;for(i=!0;e<r;e++)s.tweens[e].run(1);return n?(u.notifyWith(t,[s,1,0]),u.resolveWith(t,[s,n])):u.rejectWith(t,[s,n]),this}}),l=s.props;for(!function(t,n){var e,r,i,o,a;for(e in t)if(i=n[r=K(e)],o=t[e],Array.isArray(o)&&(i=o[1],o=t[e]=o[0]),e!==r&&(t[r]=o,delete t[e]),(a=O.cssHooks[r])&&"expand"in a)for(e in o=a.expand(o),delete t[r],o)e in t||(t[e]=o[e],n[e]=i);else n[r]=i}(l,s.opts.specialEasing);o<a;o++)if(r=fn.prefilters[o].call(s,t,l,s.opts))return y(r.stop)&&(O._queueHooks(s.elem,s.opts.queue).stop=r.stop.bind(r)),r;return O.map(l,ln,s),y(s.opts.start)&&s.opts.start.call(t,s),s.progress(s.opts.progress).done(s.opts.done,s.opts.complete).fail(s.opts.fail).always(s.opts.always),O.fx.timer(O.extend(c,{elem:t,anim:s,queue:s.opts.queue})),s}O.Animation=O.extend(fn,{tweeners:{"*":[function(t,n){var e=this.createTween(t,n);return ct(e.elem,t,it.exec(n),e),e}]},tweener:function(t,n){y(t)?(n=t,t=["*"]):t=t.match(H);for(var e,r=0,i=t.length;r<i;r++)e=t[r],fn.tweeners[e]=fn.tweeners[e]||[],fn.tweeners[e].unshift(n)},prefilters:[function(t,n,e){var r,i,o,a,u,c,s,l,f="width"in n||"height"in n,h=this,d={},p=t.style,v=t.nodeType&&at(t),b=J.get(t,"fxshow");for(r in e.queue||(null==(a=O._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,O.queue(t,"fx").length||a.empty.fire()})})),n)if(i=n[r],on.test(i)){if(delete n[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!b||void 0===b[r])continue;v=!0}d[r]=b&&b[r]||O.style(t,r)}if((c=!O.isEmptyObject(n))||!O.isEmptyObject(d))for(r in f&&1===t.nodeType&&(e.overflow=[p.overflow,p.overflowX,p.overflowY],null==(s=b&&b.display)&&(s=J.get(t,"display")),"none"===(l=O.css(t,"display"))&&(s?l=s:(ft([t],!0),s=t.style.display||s,l=O.css(t,"display"),ft([t]))),("inline"===l||"inline-block"===l&&null!=s)&&"none"===O.css(t,"float")&&(c||(h.done(function(){p.display=s}),null==s&&(l=p.display,s="none"===l?"":l)),p.display="inline-block")),e.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=e.overflow[0],p.overflowX=e.overflow[1],p.overflowY=e.overflow[2]})),c=!1,d)c||(b?"hidden"in b&&(v=b.hidden):b=J.access(t,"fxshow",{display:s}),o&&(b.hidden=!v),v&&ft([t],!0),h.done(function(){for(r in v||ft([t]),J.remove(t,"fxshow"),d)O.style(t,r,d[r])})),c=ln(v?b[r]:0,r,h),r in b||(b[r]=c.start,v&&(c.end=c.start,c.start=0))}],prefilter:function(t,n){n?fn.prefilters.unshift(t):fn.prefilters.push(t)}}),O.speed=function(t,n,e){var r=t&&"object"==typeof t?O.extend({},t):{complete:e||!e&&n||y(t)&&t,duration:t,easing:e&&n||n&&!y(n)&&n};return O.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in O.fx.speeds?r.duration=O.fx.speeds[r.duration]:r.duration=O.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&O.dequeue(this,r.queue)},r},O.fn.extend({fadeTo:function(t,n,e,r){return this.filter(at).css("opacity",0).show().end().animate({opacity:n},t,e,r)},animate:function(t,n,e,r){var i=O.isEmptyObject(t),o=O.speed(n,e,r),a=function(){var n=fn(this,O.extend({},t),o);(i||J.get(this,"finish"))&&n.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,n,e){var r=function(t){var n=t.stop;delete t.stop,n(e)};return"string"!=typeof t&&(e=n,n=t,t=void 0),n&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var n=!0,i=null!=t&&t+"queueHooks",o=O.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&an.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(e),n=!1,o.splice(i,1));!n&&e||O.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var n,e=J.get(this),r=e[t+"queue"],i=e[t+"queueHooks"],o=O.timers,a=r?r.length:0;for(e.finish=!0,O.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),n=o.length;n--;)o[n].elem===this&&o[n].queue===t&&(o[n].anim.stop(!0),o.splice(n,1));for(n=0;n<a;n++)r[n]&&r[n].finish&&r[n].finish.call(this);delete e.finish})}}),O.each(["toggle","show","hide"],function(t,n){var e=O.fn[n];O.fn[n]=function(t,r,i){return null==t||"boolean"==typeof t?e.apply(this,arguments):this.animate(sn(n,!0),t,r,i)}}),O.each({slideDown:sn("show"),slideUp:sn("hide"),slideToggle:sn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){O.fn[t]=function(t,e,r){return this.animate(n,t,e,r)}}),O.timers=[],O.fx.tick=function(){var t,n=0,e=O.timers;for(en=Date.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||O.fx.stop(),en=void 0},O.fx.timer=function(t){O.timers.push(t),O.fx.start()},O.fx.interval=13,O.fx.start=function(){rn||(rn=!0,un())},O.fx.stop=function(){rn=null},O.fx.speeds={slow:600,fast:200,_default:400},O.fn.delay=function(t,n){return t=O.fx&&O.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var t=a.createElement("input"),n=a.createElement("select").appendChild(a.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=n.selected,(t=a.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var hn,dn=O.expr.attrHandle;O.fn.extend({attr:function(t,n){return W(this,O.attr,t,n,arguments.length>1)},removeAttr:function(t){return this.each(function(){O.removeAttr(this,t)})}}),O.extend({attr:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?O.prop(t,n,e):(1===o&&O.isXMLDoc(t)||(i=O.attrHooks[n.toLowerCase()]||(O.expr.match.bool.test(n)?hn:void 0)),void 0!==e?null===e?void O.removeAttr(t,n):i&&"set"in i&&void 0!==(r=i.set(t,e,n))?r:(t.setAttribute(n,e+""),e):i&&"get"in i&&null!==(r=i.get(t,n))?r:null==(r=O.find.attr(t,n))?void 0:r)},attrHooks:{type:{set:function(t,n){if(!g.radioValue&&"radio"===n&&A(t,"input")){var e=t.value;return t.setAttribute("type",n),e&&(t.value=e),n}}}},removeAttr:function(t,n){var e,r=0,i=n&&n.match(H);if(i&&1===t.nodeType)for(;e=i[r++];)t.removeAttribute(e)}}),hn={set:function(t,n,e){return!1===n?O.removeAttr(t,e):t.setAttribute(e,e),e}},O.each(O.expr.match.bool.source.match(/\w+/g),function(t,n){var e=dn[n]||O.find.attr;dn[n]=function(t,n,r){var i,o,a=n.toLowerCase();return r||(o=dn[a],dn[a]=i,i=null!=e(t,n,r)?a:null,dn[a]=o),i}});var pn=/^(?:input|select|textarea|button)$/i,vn=/^(?:a|area)$/i;function bn(t){return(t.match(H)||[]).join(" ")}function gn(t){return t.getAttribute&&t.getAttribute("class")||""}function yn(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(H)||[]}O.fn.extend({prop:function(t,n){return W(this,O.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[O.propFix[t]||t]})}}),O.extend({prop:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(t)||(n=O.propFix[n]||n,i=O.propHooks[n]),void 0!==e?i&&"set"in i&&void 0!==(r=i.set(t,e,n))?r:t[n]=e:i&&"get"in i&&null!==(r=i.get(t,n))?r:t[n]},propHooks:{tabIndex:{get:function(t){var n=O.find.attr(t,"tabindex");return n?parseInt(n,10):pn.test(t.nodeName)||vn.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(O.propHooks.selected={get:function(t){var n=t.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(t){var n=t.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){O.propFix[this.toLowerCase()]=this}),O.fn.extend({addClass:function(t){var n,e,r,i,o,a,u,c=0;if(y(t))return this.each(function(n){O(this).addClass(t.call(this,n,gn(this)))});if((n=yn(t)).length)for(;e=this[c++];)if(i=gn(e),r=1===e.nodeType&&" "+bn(i)+" "){for(a=0;o=n[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(u=bn(r))&&e.setAttribute("class",u)}return this},removeClass:function(t){var n,e,r,i,o,a,u,c=0;if(y(t))return this.each(function(n){O(this).removeClass(t.call(this,n,gn(this)))});if(!arguments.length)return this.attr("class","");if((n=yn(t)).length)for(;e=this[c++];)if(i=gn(e),r=1===e.nodeType&&" "+bn(i)+" "){for(a=0;o=n[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(u=bn(r))&&e.setAttribute("class",u)}return this},toggleClass:function(t,n){var e=typeof t,r="string"===e||Array.isArray(t);return"boolean"==typeof n&&r?n?this.addClass(t):this.removeClass(t):y(t)?this.each(function(e){O(this).toggleClass(t.call(this,e,gn(this),n),n)}):this.each(function(){var n,i,o,a;if(r)for(i=0,o=O(this),a=yn(t);n=a[i++];)o.hasClass(n)?o.removeClass(n):o.addClass(n);else void 0!==t&&"boolean"!==e||((n=gn(this))&&J.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var n,e,r=0;for(n=" "+t+" ";e=this[r++];)if(1===e.nodeType&&(" "+bn(gn(e))+" ").indexOf(n)>-1)return!0;return!1}});var mn=/\r/g;O.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=y(t),this.each(function(e){var i;1===this.nodeType&&(null==(i=r?t.call(this,e,O(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,function(t){return null==t?"":t+""})),(n=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,i,"value")||(this.value=i))})):i?(n=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(mn,""):null==e?"":e:void 0}}),O.extend({valHooks:{option:{get:function(t){var n=O.find.attr(t,"value");return null!=n?n:bn(O.text(t))}},select:{get:function(t){var n,e,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,u=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r<c;r++)if(((e=i[r]).selected||r===o)&&!e.disabled&&(!e.parentNode.disabled||!A(e.parentNode,"optgroup"))){if(n=O(e).val(),a)return n;u.push(n)}return u},set:function(t,n){for(var e,r,i=t.options,o=O.makeArray(n),a=i.length;a--;)((r=i[a]).selected=O.inArray(O.valHooks.option.get(r),o)>-1)&&(e=!0);return e||(t.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],function(){O.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=O.inArray(O(t).val(),n)>-1}},g.checkOn||(O.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in e;var xn=/^(?:focusinfocus|focusoutblur)$/,_n=function(t){t.stopPropagation()};O.extend(O.event,{trigger:function(t,n,r,i){var o,u,c,s,l,f,h,d,v=[r||a],b=p.call(t,"type")?t.type:t,g=p.call(t,"namespace")?t.namespace.split("."):[];if(u=d=c=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!xn.test(b+O.event.triggered)&&(b.indexOf(".")>-1&&(b=(g=b.split(".")).shift(),g.sort()),l=b.indexOf(":")<0&&"on"+b,(t=t[O.expando]?t:new O.Event(b,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:O.makeArray(n,[t]),h=O.event.special[b]||{},i||!h.trigger||!1!==h.trigger.apply(r,n))){if(!i&&!h.noBubble&&!m(r)){for(s=h.delegateType||b,xn.test(s+b)||(u=u.parentNode);u;u=u.parentNode)v.push(u),c=u;c===(r.ownerDocument||a)&&v.push(c.defaultView||c.parentWindow||e)}for(o=0;(u=v[o++])&&!t.isPropagationStopped();)d=u,t.type=o>1?s:h.bindType||b,(f=(J.get(u,"events")||{})[t.type]&&J.get(u,"handle"))&&f.apply(u,n),(f=l&&u[l])&&f.apply&&G(u)&&(t.result=f.apply(u,n),!1===t.result&&t.preventDefault());return t.type=b,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),n)||!G(r)||l&&y(r[b])&&!m(r)&&((c=r[l])&&(r[l]=null),O.event.triggered=b,t.isPropagationStopped()&&d.addEventListener(b,_n),r[b](),t.isPropagationStopped()&&d.removeEventListener(b,_n),O.event.triggered=void 0,c&&(r[l]=c)),t.result}},simulate:function(t,n,e){var r=O.extend(new O.Event,e,{type:t,isSimulated:!0});O.event.trigger(r,null,n)}}),O.fn.extend({trigger:function(t,n){return this.each(function(){O.event.trigger(t,n,this)})},triggerHandler:function(t,n){var e=this[0];if(e)return O.event.trigger(t,n,e,!0)}}),g.focusin||O.each({focus:"focusin",blur:"focusout"},function(t,n){var e=function(t){O.event.simulate(n,t.target,O.event.fix(t))};O.event.special[n]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,n);i||r.addEventListener(t,e,!0),J.access(r,n,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,n)-1;i?J.access(r,n,i):(r.removeEventListener(t,e,!0),J.remove(r,n))}}});var wn=e.location,On=Date.now(),jn=/\?/;O.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||O.error("Invalid XML: "+t),n};var Tn=/\[\]$/,Cn=/\r?\n/g,Mn=/^(?:submit|button|image|reset|file)$/i,Sn=/^(?:input|select|textarea|keygen)/i;function kn(t,n,e,r){var i;if(Array.isArray(n))O.each(n,function(n,i){e||Tn.test(t)?r(t,i):kn(t+"["+("object"==typeof i&&null!=i?n:"")+"]",i,e,r)});else if(e||"object"!==w(n))r(t,n);else for(i in n)kn(t+"["+i+"]",n[i],e,r)}O.param=function(t,n){var e,r=[],i=function(t,n){var e=y(n)?n():n;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)};if(Array.isArray(t)||t.jquery&&!O.isPlainObject(t))O.each(t,function(){i(this.name,this.value)});else for(e in t)kn(e,t[e],n,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=O.prop(this,"elements");return t?O.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!O(this).is(":disabled")&&Sn.test(this.nodeName)&&!Mn.test(t)&&(this.checked||!ht.test(t))}).map(function(t,n){var e=O(this).val();return null==e?null:Array.isArray(e)?O.map(e,function(t){return{name:n.name,value:t.replace(Cn,"\r\n")}}):{name:n.name,value:e.replace(Cn,"\r\n")}}).get()}});var An=/%20/g,Nn=/#.*$/,En=/([?&])_=[^&]*/,Dn=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ln=/^(?:GET|HEAD)$/,qn=/^\/\//,Rn={},Pn={},Hn="*/".concat("*"),Fn=a.createElement("a");function zn(t){return function(n,e){"string"!=typeof n&&(e=n,n="*");var r,i=0,o=n.toLowerCase().match(H)||[];if(y(e))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(e)):(t[r]=t[r]||[]).push(e)}}function In(t,n,e,r){var i={},o=t===Pn;function a(u){var c;return i[u]=!0,O.each(t[u]||[],function(t,u){var s=u(n,e,r);return"string"!=typeof s||o||i[s]?o?!(c=s):void 0:(n.dataTypes.unshift(s),a(s),!1)}),c}return a(n.dataTypes[0])||!i["*"]&&a("*")}function $n(t,n){var e,r,i=O.ajaxSettings.flatOptions||{};for(e in n)void 0!==n[e]&&((i[e]?t:r||(r={}))[e]=n[e]);return r&&O.extend(!0,t,r),t}Fn.href=wn.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?$n($n(t,O.ajaxSettings),n):$n(O.ajaxSettings,t)},ajaxPrefilter:zn(Rn),ajaxTransport:zn(Pn),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,u,c,s,l,f,h,d,p=O.ajaxSetup({},n),v=p.context||p,b=p.context&&(v.nodeType||v.jquery)?O(v):O.event,g=O.Deferred(),y=O.Callbacks("once memory"),m=p.statusCode||{},x={},_={},w="canceled",j={readyState:0,getResponseHeader:function(t){var n;if(l){if(!u)for(u={};n=Dn.exec(o);)u[n[1].toLowerCase()]=n[2];n=u[t.toLowerCase()]}return null==n?null:n},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,n){return null==l&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,x[t]=n),this},overrideMimeType:function(t){return null==l&&(p.mimeType=t),this},statusCode:function(t){var n;if(t)if(l)j.always(t[j.status]);else for(n in t)m[n]=[m[n],t[n]];return this},abort:function(t){var n=t||w;return r&&r.abort(n),T(0,n),this}};if(g.promise(j),p.url=((t||p.url||wn.href)+"").replace(qn,wn.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(H)||[""],null==p.crossDomain){s=a.createElement("a");try{s.href=p.url,s.href=s.href,p.crossDomain=Fn.protocol+"//"+Fn.host!=s.protocol+"//"+s.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=O.param(p.data,p.traditional)),In(Rn,p,n,j),l)return j;for(h in(f=O.event&&p.global)&&0==O.active++&&O.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ln.test(p.type),i=p.url.replace(Nn,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(An,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(jn.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(En,"$1"),d=(jn.test(i)?"&":"?")+"_="+On+++d),p.url=i+d),p.ifModified&&(O.lastModified[i]&&j.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&j.setRequestHeader("If-None-Match",O.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&j.setRequestHeader("Content-Type",p.contentType),j.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Hn+"; q=0.01":""):p.accepts["*"]),p.headers)j.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(v,j,p)||l))return j.abort();if(w="abort",y.add(p.complete),j.done(p.success),j.fail(p.error),r=In(Pn,p,n,j)){if(j.readyState=1,f&&b.trigger("ajaxSend",[j,p]),l)return j;p.async&&p.timeout>0&&(c=e.setTimeout(function(){j.abort("timeout")},p.timeout));try{l=!1,r.send(x,T)}catch(t){if(l)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,n,a,u){var s,h,d,x,_,w=n;l||(l=!0,c&&e.clearTimeout(c),r=void 0,o=u||"",j.readyState=t>0?4:0,s=t>=200&&t<300||304===t,a&&(x=function(t,n,e){for(var r,i,o,a,u=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||n.getResponseHeader("Content-Type"));if(r)for(i in u)if(u[i]&&u[i].test(r)){c.unshift(i);break}if(c[0]in e)o=c[0];else{for(i in e){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),e[o]}(p,j,a)),x=function(t,n,e,r){var i,o,a,u,c,s={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)s[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(e[t.responseFields[o]]=n),!c&&r&&t.dataFilter&&(n=t.dataFilter(n,t.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=s[c+" "+o]||s["* "+o]))for(i in s)if((u=i.split(" "))[1]===o&&(a=s[c+" "+u[0]]||s["* "+u[0]])){!0===a?a=s[i]:!0!==s[i]&&(o=u[0],l.unshift(u[1]));break}if(!0!==a)if(a&&t.throws)n=a(n);else try{n=a(n)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:n}}(p,x,j,s),s?(p.ifModified&&((_=j.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=_),(_=j.getResponseHeader("etag"))&&(O.etag[i]=_)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=x.state,h=x.data,s=!(d=x.error))):(d=w,!t&&w||(w="error",t<0&&(t=0))),j.status=t,j.statusText=(n||w)+"",s?g.resolveWith(v,[h,w,j]):g.rejectWith(v,[j,w,d]),j.statusCode(m),m=void 0,f&&b.trigger(s?"ajaxSuccess":"ajaxError",[j,p,s?h:d]),y.fireWith(v,[j,w]),f&&(b.trigger("ajaxComplete",[j,p]),--O.active||O.event.trigger("ajaxStop")))}return j},getJSON:function(t,n,e){return O.get(t,n,e,"json")},getScript:function(t,n){return O.get(t,void 0,n,"script")}}),O.each(["get","post"],function(t,n){O[n]=function(t,e,r,i){return y(e)&&(i=i||r,r=e,e=void 0),O.ajax(O.extend({url:t,type:n,dataType:i,data:e,success:r},O.isPlainObject(t)&&t))}}),O._evalUrl=function(t){return O.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},O.fn.extend({wrapAll:function(t){var n;return this[0]&&(y(t)&&(t=t.call(this[0])),n=O(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(n){O(this).wrapInner(t.call(this,n))}):this.each(function(){var n=O(this),e=n.contents();e.length?e.wrapAll(t):n.append(t)})},wrap:function(t){var n=y(t);return this.each(function(e){O(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){O(this).replaceWith(this.childNodes)}),this}}),O.expr.pseudos.hidden=function(t){return!O.expr.pseudos.visible(t)},O.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Un={0:200,1223:204},Bn=O.ajaxSettings.xhr();g.cors=!!Bn&&"withCredentials"in Bn,g.ajax=Bn=!!Bn,O.ajaxTransport(function(t){var n,r;if(g.cors||Bn&&!t.crossDomain)return{send:function(i,o){var a,u=t.xhr();if(u.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)u[a]=t.xhrFields[a];for(a in t.mimeType&&u.overrideMimeType&&u.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(a,i[a]);n=function(t){return function(){n&&(n=r=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===t?u.abort():"error"===t?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o(Un[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=n(),r=u.onerror=u.ontimeout=n("error"),void 0!==u.onabort?u.onabort=r:u.onreadystatechange=function(){4===u.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{u.send(t.hasContent&&t.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),O.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return O.globalEval(t),t}}}),O.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),O.ajaxTransport("script",function(t){var n,e;if(t.crossDomain)return{send:function(r,i){n=O("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",e=function(t){n.remove(),e=null,t&&i("error"===t.type?404:200,t.type)}),a.head.appendChild(n[0])},abort:function(){e&&e()}}});var Wn,Yn=[],Vn=/(=)\?(?=&|$)|\?\?/;O.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Yn.pop()||O.expando+"_"+On++;return this[t]=!0,t}}),O.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,u=!1!==t.jsonp&&(Vn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vn.test(t.data)&&"data");if(u||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(Vn,"$1"+i):!1!==t.jsonp&&(t.url+=(jn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||O.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?O(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yn.push(i)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),g.createHTMLDocument=((Wn=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wn.childNodes.length),O.parseHTML=function(t,n,e){return"string"!=typeof t?[]:("boolean"==typeof n&&(e=n,n=!1),n||(g.createHTMLDocument?((r=(n=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,n.head.appendChild(r)):n=a),o=!e&&[],(i=N.exec(t))?[n.createElement(i[1])]:(i=_t([t],n,o),o&&o.length&&O(o).remove(),O.merge([],i.childNodes)));var r,i,o},O.fn.load=function(t,n,e){var r,i,o,a=this,u=t.indexOf(" ");return u>-1&&(r=bn(t.slice(u)),t=t.slice(0,u)),y(n)?(e=n,n=void 0):n&&"object"==typeof n&&(i="POST"),a.length>0&&O.ajax({url:t,type:i||"GET",dataType:"html",data:n}).done(function(t){o=arguments,a.html(r?O("<div>").append(O.parseHTML(t)).find(r):t)}).always(e&&function(t,n){a.each(function(){e.apply(this,o||[t.responseText,n,t])})}),this},O.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,n){O.fn[n]=function(t){return this.on(n,t)}}),O.expr.pseudos.animated=function(t){return O.grep(O.timers,function(n){return t===n.elem}).length},O.offset={setOffset:function(t,n,e){var r,i,o,a,u,c,s=O.css(t,"position"),l=O(t),f={};"static"===s&&(t.style.position="relative"),u=l.offset(),o=O.css(t,"top"),c=O.css(t,"left"),("absolute"===s||"fixed"===s)&&(o+c).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(c)||0),y(n)&&(n=n.call(t,e,O.extend({},u))),null!=n.top&&(f.top=n.top-u.top+a),null!=n.left&&(f.left=n.left-u.left+i),"using"in n?n.using.call(t,f):l.css(f)}},O.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(n){O.offset.setOffset(this,t,n)});var n,e,r=this[0];return r?r.getClientRects().length?(n=r.getBoundingClientRect(),e=r.ownerDocument.defaultView,{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,n,e,r=this[0],i={top:0,left:0};if("fixed"===O.css(r,"position"))n=r.getBoundingClientRect();else{for(n=this.offset(),e=r.ownerDocument,t=r.offsetParent||e.documentElement;t&&(t===e.body||t===e.documentElement)&&"static"===O.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=O(t).offset()).top+=O.css(t,"borderTopWidth",!0),i.left+=O.css(t,"borderLeftWidth",!0))}return{top:n.top-i.top-O.css(r,"marginTop",!0),left:n.left-i.left-O.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===O.css(t,"position");)t=t.offsetParent;return t||wt})}}),O.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var e="pageYOffset"===n;O.fn[t]=function(r){return W(this,function(t,r,i){var o;if(m(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[n]:t[r];o?o.scrollTo(e?o.pageXOffset:i,e?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),O.each(["top","left"],function(t,n){O.cssHooks[n]=Bt(g.pixelPosition,function(t,e){if(e)return e=Ut(t,n),zt.test(e)?O(t).position()[n]+"px":e})}),O.each({Height:"height",Width:"width"},function(t,n){O.each({padding:"inner"+t,content:n,"":"outer"+t},function(e,r){O.fn[r]=function(i,o){var a=arguments.length&&(e||"boolean"!=typeof i),u=e||(!0===i||!0===o?"margin":"border");return W(this,function(n,e,i){var o;return m(n)?0===r.indexOf("outer")?n["inner"+t]:n.document.documentElement["client"+t]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+t],o["scroll"+t],n.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?O.css(n,e,u):O.style(n,e,i,u)},n,a?i:void 0,a)}})}),O.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){O.fn[n]=function(t,e){return arguments.length>0?this.on(n,null,t,e):this.trigger(n)}}),O.fn.extend({hover:function(t,n){return this.mouseenter(t).mouseleave(n||t)}}),O.fn.extend({bind:function(t,n,e){return this.on(t,null,n,e)},unbind:function(t,n){return this.off(t,null,n)},delegate:function(t,n,e,r){return this.on(n,t,e,r)},undelegate:function(t,n,e){return 1===arguments.length?this.off(t,"**"):this.off(n,t||"**",e)}}),O.proxy=function(t,n){var e,r,i;if("string"==typeof n&&(e=t[n],n=t,t=e),y(t))return r=c.call(arguments,2),(i=function(){return t.apply(n||this,r.concat(c.call(arguments)))}).guid=t.guid=t.guid||O.guid++,i},O.holdReady=function(t){t?O.readyWait++:O.ready(!0)},O.isArray=Array.isArray,O.parseJSON=JSON.parse,O.nodeName=A,O.isFunction=y,O.isWindow=m,O.camelCase=K,O.type=w,O.now=Date.now,O.isNumeric=function(t){var n=O.type(t);return("number"===n||"string"===n)&&!isNaN(t-parseFloat(t))},void 0===(r=function(){return O}.apply(n,[]))||(t.exports=r);var Xn=e.jQuery,Kn=e.$;return O.noConflict=function(t){return e.$===O&&(e.$=Kn),t&&e.jQuery===O&&(e.jQuery=Xn),O},i||(e.jQuery=e.$=O),O})},function(t,n){t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var e=function(t,n){var e=t[1]||"",r=t[3];if(!r)return e;if(n&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[e].concat(o).concat([i]).join("\n")}var a;return[e].join("\n")}(n,t);return n[2]?"@media "+n[2]+"{"+e+"}":e}).join("")},n.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&r[a[0]]||(e&&!a[2]?a[2]=e:e&&(a[2]="("+a[2]+") and ("+e+")"),n.push(a))}},n}},,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(466),i=(e.n(r),e(481)),o=(e.n(i),e(482)),a=e.n(o),u=e(464),c=e(484),s=e(486),l=function(t){return t.toString()};a()(r);var f={id:"subtotal",label:"Subtotal",options:{theme:{type:"string",label:"Theme",display:"select",values:[{Classic:"classic"},{White:"white"}],default:"classic"},show_full_field_name:{type:"boolean",label:"Show Full Field Name",default:!0}},create:function(t,n){this.style=document.createElement("style"),document.head.appendChild(this.style)},update:function(t,n,e,i,o){if(e&&t&&!(o&&o.changed&&o.changed.size)&&this.style&&Object(u.b)(this,i,{min_pivots:0,max_pivots:1/0,min_dimensions:1,max_dimensions:1/0,min_measures:1,max_measures:1/0})){var a=e.theme||this.options.theme.default;switch(a){case"classic":this.style.innerHTML=c.toString();break;case"white":this.style.innerHTML=s.toString();break;default:throw new Error("Unknown theme: "+a)}for(var f=i.fields.pivots.map(function(t){return t.name}),h=i.fields.dimensions.map(function(t){return t.name}),d=i.fields.measures,p={},v=0,b=Object.keys(e.query_fields);v<b.length;v++)for(var g=b[v],y=0,m=D=e.query_fields[g];y<m.length;y++){var x=(gt=m[y]).name,_=gt.view_label,w=gt.label_short;p[x]=e.show_full_field_name?{label:_,sublabel:w}:{label:w}}for(var O={},j=0,T=f;j<T.length;j++){O[T[j]]=!0}for(var C=[],M=0,S=t;M<S.length;M++){for(var k=S[M],A={},N=0,E=Object.keys(k);N<E.length;N++){var D=k[g=E[N]];O[g]||(A[g]=D.value)}if(0===f.length)C.push(A);else for(var L=0,q=Object.keys(k[d[0].name]);L<q.length;L++){var R=q[L],P=Object.assign({},A);if("$$$_row_total_$$$"===R)for(var H=0,F=Object.keys(k[d[0].name]);H<F.length;H++){for(var z=F[H],I=0,$=f;I<$.length;I++){P[$[I]]="$$$_row_total_$$$"}for(var U=0,B=d;U<B.length;U++){P[(K=B[U]).name]=k[K.name][z].value}}else{for(var W=R.split(/\|FIELD\|/g),Y=0;Y<f.length;Y++)P[f[Y]]=W[Y];for(var V=0,X=d;V<X.length;V++){var K;P[(K=X[V]).name]=k[K.name][R].value}}C.push(P)}}var G=r.pivotUtilities.aggregatorTemplates,Q=Object(u.a)("###,###,###,##0"),J=[],Z=[];for(Y=0;Y<d.length;Y++){var tt=d[Y],nt=tt.type,et=tt.name,rt=tt.value_format,it=(_=tt.view_label,w=tt.label_short,Object(u.a)(rt)||l),ot=void 0;switch(nt){case"count":case"count_distinct":ot=G.sum(Q);break;case"sum":ot=G.sum(it);break;case"average":ot=G.average(it);break;case"median":ot=G.median(it);break;case"min":ot=G.min(it);break;case"max":ot=G.max(it);break;case"list":ot=G.listUnique(", ");break;case"percent_of_total":ot=G.fractionOf(G.sum(),"total",it);break;case"int":ot=G.sum(Q);break;case"number":ot=G.sum(it);break;default:return void(this&&this.clearErrors&&this.addError&&(this.clearErrors("measure-type"),this.addError({group:"measure-type",title:'Cannot Show "'+_+" "+w+'"',message:"Measure types of '"+nt+"' are unsupported by this visualization."})))}var at="measure_"+Y;p[at]=e.show_full_field_name?{label:_,sublabel:w}:{label:_},J.push(at),Z.push(ot([et]))}for(var ut=function(t,n){return t-n},ct=function(t,n){return n-t},st=function(t,n){return"$$$_row_total_$$$"===t?1/0:"$$$_row_total_$$$"===n?-1/0:String(t).localeCompare(n)},lt=function(t,n){return"$$$_row_total_$$$"===t?1/0:"$$$_row_total_$$$"===n?-1/0:String(n).localeCompare(t)},ft={},ht=0,dt=["measure_like","dimension_like","pivots"];ht<dt.length;ht++)for(var pt=dt[ht],vt=0,bt=i.fields[pt];vt<bt.length;vt++){var gt;null!=(gt=bt[vt]).sorted&&(gt.is_numeric?ft[gt.name]=gt.sorted.desc?ct:ut:ft[gt.name]=gt.sorted.desc?lt:st)}var yt={rows:h,cols:f,labels:p,dataClass:r.pivotUtilities.SubtotalPivotDataMulti,renderer:r.pivotUtilities.subtotal_renderers["Table With Subtotal"],rendererOptions:{arrowExpanded:"▼",arrowCollapsed:"▶"},aggregatorNames:J,aggregators:Z,sorters:ft,hasColTotals:i.has_totals,hasRowTotals:i.has_row_totals};r(n).pivot(C,yt)}}};looker.plugins.visualizations.add(f)},function(t,n,e){(function(){var t=[].indexOf||function(t){for(var n=0,e=this.length;n<e;n++)if(n in this&&this[n]===t)return n;return-1},n=[].slice,r=function(t,n){return function(){return t.apply(n,arguments)}},i={}.hasOwnProperty;(function(t){t(e(466))})(function(e){var o,a,u,c,s,l,f,h,d,p,v,b,g,y,m,x,_,w,O,j,T,C;return a=function(t,n,e){var r,i,o,a;for(o=(i=(t+="").split("."))[0],a=i.length>1?e+i[1]:"",r=/(\d+)(\d{3})/;r.test(o);)o=o.replace(r,"$1"+n+"$2");return o+a},w=(v=function(t){var n;return n={digitsAfterDecimal:2,scaler:1,thousandsSep:",",decimalSep:".",prefix:"",suffix:""},t=e.extend({},n,t),function(n){var e;return isNaN(n)||!isFinite(n)?"":(e=a((t.scaler*n).toFixed(t.digitsAfterDecimal),t.thousandsSep,t.decimalSep),""+t.prefix+e+t.suffix)}})(),O=v({digitsAfterDecimal:0}),j=v({digitsAfterDecimal:1,scaler:100,suffix:"%"}),(u={count:function(t){return null==t&&(t=O),function(){return function(n,e,r){return{count:0,push:function(){return this.count++},value:function(){return this.count},format:t}}}},uniques:function(n,e){return null==e&&(e=O),function(r){var i;return i=r[0],function(r,o,a){return{uniq:[],push:function(n){var e;if(e=n[i],t.call(this.uniq,e)<0)return this.uniq.push(n[i])},value:function(){return n(this.uniq)},format:e,numInputs:null!=i?0:1}}}},sum:function(t){return null==t&&(t=w),function(n){var e;return e=n[0],function(n,r,i){return{sum:0,push:function(t){if(!isNaN(parseFloat(t[e])))return this.sum+=parseFloat(t[e])},value:function(){return this.sum},format:t,numInputs:null!=e?0:1}}}},extremes:function(t,n){return null==n&&(n=w),function(e){var r;return r=e[0],function(e,i,o){return{val:null,sorter:f(null!=e?e.sorters:void 0,r),push:function(n){var e,i,o,a;if(a=n[r],"min"!==t&&"max"!==t||(a=parseFloat(a),isNaN(a)||(this.val=Math[t](a,null!=(e=this.val)?e:a))),"first"===t&&this.sorter(a,null!=(i=this.val)?i:a)<=0&&(this.val=a),"last"===t&&this.sorter(a,null!=(o=this.val)?o:a)>=0)return this.val=a},value:function(){return this.val},format:function(t){return isNaN(t)?t:n(t)},numInputs:null!=r?0:1}}}},quantile:function(t,n){return null==n&&(n=w),function(e){var r;return r=e[0],function(e,i,o){return{vals:[],push:function(t){var n;if(n=parseFloat(t[r]),!isNaN(n))return this.vals.push(n)},value:function(){var n;return 0===this.vals.length?null:(this.vals.sort(function(t,n){return t-n}),n=(this.vals.length-1)*t,(this.vals[Math.floor(n)]+this.vals[Math.ceil(n)])/2)},format:n,numInputs:null!=r?0:1}}}},runningStat:function(t,n,e){return null==t&&(t="mean"),null==n&&(n=1),null==e&&(e=w),function(r){var i;return i=r[0],function(r,o,a){return{n:0,m:0,s:0,push:function(t){var n,e;if(e=parseFloat(t[i]),!isNaN(e))return this.n+=1,1===this.n?this.m=e:(n=this.m+(e-this.m)/this.n,this.s=this.s+(e-this.m)*(e-n),this.m=n)},value:function(){if("mean"===t)return 0===this.n?NaN:this.m;if(this.n<=n)return 0;switch(t){case"var":return this.s/(this.n-n);case"stdev":return Math.sqrt(this.s/(this.n-n))}},format:e,numInputs:null!=i?0:1}}}},sumOverSum:function(t){return null==t&&(t=w),function(n){var e,r;return r=n[0],e=n[1],function(n,i,o){return{sumNum:0,sumDenom:0,push:function(t){if(isNaN(parseFloat(t[r]))||(this.sumNum+=parseFloat(t[r])),!isNaN(parseFloat(t[e])))return this.sumDenom+=parseFloat(t[e])},value:function(){return this.sumNum/this.sumDenom},format:t,numInputs:null!=r&&null!=e?0:2}}}},sumOverSumBound80:function(t,n){return null==t&&(t=!0),null==n&&(n=w),function(e){var r,i;return i=e[0],r=e[1],function(e,o,a){return{sumNum:0,sumDenom:0,push:function(t){if(isNaN(parseFloat(t[i]))||(this.sumNum+=parseFloat(t[i])),!isNaN(parseFloat(t[r])))return this.sumDenom+=parseFloat(t[r])},value:function(){var n;return n=t?1:-1,(.821187207574908/this.sumDenom+this.sumNum/this.sumDenom+1.2815515655446004*n*Math.sqrt(.410593603787454/(this.sumDenom*this.sumDenom)+this.sumNum*(1-this.sumNum/this.sumDenom)/(this.sumDenom*this.sumDenom)))/(1+1.642374415149816/this.sumDenom)},format:n,numInputs:null!=i&&null!=r?0:2}}}},fractionOf:function(t,e,r){return null==e&&(e="total"),null==r&&(r=j),function(){var i;return i=1<=arguments.length?n.call(arguments,0):[],function(n,o,a){return{selector:{total:[[],[]],row:[o,[]],col:[[],a]}[e],inner:t.apply(null,i)(n,o,a),push:function(t){return this.inner.push(t)},format:r,value:function(){return this.inner.value()/n.getAggregator.apply(n,this.selector).inner.value()},numInputs:t.apply(null,i)().numInputs}}}}}).countUnique=function(t){return u.uniques(function(t){return t.length},t)},u.listUnique=function(t){return u.uniques(function(n){return n.sort(p).join(t)},function(t){return t})},u.max=function(t){return u.extremes("max",t)},u.min=function(t){return u.extremes("min",t)},u.first=function(t){return u.extremes("first",t)},u.last=function(t){return u.extremes("last",t)},u.median=function(t){return u.quantile(.5,t)},u.average=function(t){return u.runningStat("mean",1,t)},u.var=function(t,n){return u.runningStat("var",t,n)},u.stdev=function(t,n){return u.runningStat("stdev",t,n)},c={Count:(C=u).count(O),"Count Unique Values":C.countUnique(O),"List Unique Values":C.listUnique(", "),Sum:C.sum(w),"Integer Sum":C.sum(O),Average:C.average(w),Median:C.median(w),"Sample Variance":C.var(1,w),"Sample Standard Deviation":C.stdev(1,w),Minimum:C.min(w),Maximum:C.max(w),First:C.first(w),Last:C.last(w),"Sum over Sum":C.sumOverSum(w),"80% Upper Bound":C.sumOverSumBound80(!0,w),"80% Lower Bound":C.sumOverSumBound80(!1,w),"Sum as Fraction of Total":C.fractionOf(C.sum(),"total",j),"Sum as Fraction of Rows":C.fractionOf(C.sum(),"row",j),"Sum as Fraction of Columns":C.fractionOf(C.sum(),"col",j),"Count as Fraction of Total":C.fractionOf(C.count(),"total",j),"Count as Fraction of Rows":C.fractionOf(C.count(),"row",j),"Count as Fraction of Columns":C.fractionOf(C.count(),"col",j)},h={en:{aggregators:c,renderers:y={Table:function(t,n){return b(t,n)},"Table Barchart":function(t,n){return e(b(t,n)).barchart()},Heatmap:function(t,n){return e(b(t,n)).heatmap("heatmap",n)},"Row Heatmap":function(t,n){return e(b(t,n)).heatmap("rowheatmap",n)},"Col Heatmap":function(t,n){return e(b(t,n)).heatmap("colheatmap",n)}},localeStrings:{renderError:"An error occurred rendering the PivotTable results.",computeError:"An error occurred computing the PivotTable results.",uiRenderError:"An error occurred rendering the PivotTable UI.",selectAll:"Select All",selectNone:"Select None",tooMany:"(too many to list)",filterResults:"Filter values",apply:"Apply",cancel:"Cancel",totals:"Totals",vs:"vs",by:"by"}}},d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],T=function(t){return("0"+t).substr(-2,2)},l={bin:function(t,n){return function(e){return e[t]-e[t]%n}},dateFormat:function(t,n,e,r,i){var o;return null==e&&(e=!1),null==r&&(r=d),null==i&&(i=s),o=e?"UTC":"",function(e){var a;return a=new Date(Date.parse(e[t])),isNaN(a)?"":n.replace(/%(.)/g,function(t,n){switch(n){case"y":return a["get"+o+"FullYear"]();case"m":return T(a["get"+o+"Month"]()+1);case"n":return r[a["get"+o+"Month"]()];case"d":return T(a["get"+o+"Date"]());case"w":return i[a["get"+o+"Day"]()];case"x":return a["get"+o+"Day"]();case"H":return T(a["get"+o+"Hours"]());case"M":return T(a["get"+o+"Minutes"]());case"S":return T(a["get"+o+"Seconds"]());default:return"%"+n}})}}},m=/(\d+)|(\D+)/g,g=/\d/,x=/^0/,p=function(t,n){var e,r,i,o,a,u;if(null!=n&&null==t)return-1;if(null!=t&&null==n)return 1;if("number"==typeof t&&isNaN(t))return-1;if("number"==typeof n&&isNaN(n))return 1;if((a=+t)<(u=+n))return-1;if(a>u)return 1;if("number"==typeof t&&"number"!=typeof n)return-1;if("number"==typeof n&&"number"!=typeof t)return 1;if("number"==typeof t&&"number"==typeof n)return 0;if(isNaN(u)&&!isNaN(a))return-1;if(isNaN(a)&&!isNaN(u))return 1;if((e=String(t))===(i=String(n)))return 0;if(!g.test(e)||!g.test(i))return e>i?1:-1;for(e=e.match(m),i=i.match(m);e.length&&i.length;)if((r=e.shift())!==(o=i.shift()))return g.test(r)&&g.test(o)?r.replace(x,".0")-o.replace(x,".0"):r>o?1:-1;return e.length-i.length},_=function(t){var n,e,r,i;for(n in r={},e={},t)i=t[n],r[i]=n,"string"==typeof i&&(e[i.toLowerCase()]=n);return function(t,n){return null!=r[t]&&null!=r[n]?r[t]-r[n]:null!=r[t]?-1:null!=r[n]?1:null!=e[t]&&null!=e[n]?e[t]-e[n]:null!=e[t]?-1:null!=e[n]?1:p(t,n)}},f=function(t,n){var r;if(null!=t)if(e.isFunction(t)){if(r=t(n),e.isFunction(r))return r}else if(null!=t[n])return t[n];return p},o=function(){function t(n,e){var i,o,a,c,s,l,f,h,d,p,v;null==e&&(e={}),this.getAggregator=r(this.getAggregator,this),this.getRowKeys=r(this.getRowKeys,this),this.getColKeys=r(this.getColKeys,this),this.sortKeys=r(this.sortKeys,this),this.arrSort=r(this.arrSort,this),this.input=n,this.aggregator=null!=(i=e.aggregator)?i:u.count()(),this.aggregatorName=null!=(o=e.aggregatorName)?o:"Count",this.colAttrs=null!=(a=e.cols)?a:[],this.rowAttrs=null!=(c=e.rows)?c:[],this.valAttrs=null!=(s=e.vals)?s:[],this.sorters=null!=(l=e.sorters)?l:{},this.rowOrder=null!=(f=e.rowOrder)?f:"key_a_to_z",this.colOrder=null!=(h=e.colOrder)?h:"key_a_to_z",this.derivedAttributes=null!=(d=e.derivedAttributes)?d:{},this.filter=null!=(p=e.filter)?p:function(){return!0},this.tree={},this.rowKeys=[],this.colKeys=[],this.rowTotals={},this.colTotals={},this.allTotal=this.aggregator(this,[],[]),this.sorted=!1,t.forEachRecord(this.input,this.derivedAttributes,(v=this,function(t){if(v.filter(t))return v.processRecord(t)}))}return t.forEachRecord=function(t,n,r){var o,a,u,c,s,l,f,h,d,p,v,b;if(o=e.isEmptyObject(n)?r:function(t){var e,i,o;for(e in n)o=n[e],t[e]=null!=(i=o(t))?i:t[e];return r(t)},e.isFunction(t))return t(o);if(e.isArray(t)){if(e.isArray(t[0])){for(u in p=[],t)if(i.call(t,u)&&(a=t[u],u>0)){for(c in h={},d=t[0])i.call(d,c)&&(s=d[c],h[s]=a[c]);p.push(o(h))}return p}for(v=[],l=0,f=t.length;l<f;l++)h=t[l],v.push(o(h));return v}if(t instanceof e)return b=[],e("thead > tr > th",t).each(function(t){return b.push(e(this).text())}),e("tbody > tr",t).each(function(t){return h={},e("td",this).each(function(t){return h[b[t]]=e(this).text()}),o(h)});throw new Error("unknown input format")},t.prototype.forEachMatchingRecord=function(n,e){return t.forEachRecord(this.input,this.derivedAttributes,(r=this,function(t){var i,o;if(r.filter(t)){for(i in n)if(n[i]!==(null!=(o=t[i])?o:"null"))return;return e(t)}}));var r},t.prototype.arrSort=function(t){var n,e;return e=function(){var e,r,i;for(i=[],e=0,r=t.length;e<r;e++)n=t[e],i.push(f(this.sorters,n));return i}.call(this),function(t,n){var r,o;for(o in e)if(i.call(e,o)&&0!==(r=(0,e[o])(t[o],n[o])))return r;return 0}},t.prototype.sortKeys=function(){var t,n;if(!this.sorted){switch(this.sorted=!0,n=this,t=function(t,e){return n.getAggregator(t,e).value()},this.rowOrder){case"value_a_to_z":this.rowKeys.sort(function(n,e){return p(t(n,[]),t(e,[]))});break;case"value_z_to_a":this.rowKeys.sort(function(n,e){return-p(t(n,[]),t(e,[]))});break;default:this.rowKeys.sort(this.arrSort(this.rowAttrs))}switch(this.colOrder){case"value_a_to_z":return this.colKeys.sort(function(n,e){return p(t([],n),t([],e))});case"value_z_to_a":return this.colKeys.sort(function(n,e){return-p(t([],n),t([],e))});default:return this.colKeys.sort(this.arrSort(this.colAttrs))}}},t.prototype.getColKeys=function(){return this.sortKeys(),this.colKeys},t.prototype.getRowKeys=function(){return this.sortKeys(),this.rowKeys},t.prototype.processRecord=function(t){var n,e,r,i,o,a,u,c,s,l,f,h,d;for(n=[],h=[],i=0,o=(c=this.colAttrs).length;i<o;i++)d=c[i],n.push(null!=(s=t[d])?s:"null");for(u=0,a=(l=this.rowAttrs).length;u<a;u++)d=l[u],h.push(null!=(f=t[d])?f:"null");if(r=h.join(String.fromCharCode(0)),e=n.join(String.fromCharCode(0)),this.allTotal.push(t),0!==h.length&&(this.rowTotals[r]||(this.rowKeys.push(h),this.rowTotals[r]=this.aggregator(this,h,[])),this.rowTotals[r].push(t)),0!==n.length&&(this.colTotals[e]||(this.colKeys.push(n),this.colTotals[e]=this.aggregator(this,[],n)),this.colTotals[e].push(t)),0!==n.length&&0!==h.length)return this.tree[r]||(this.tree[r]={}),this.tree[r][e]||(this.tree[r][e]=this.aggregator(this,h,n)),this.tree[r][e].push(t)},t.prototype.getAggregator=function(t,n){var e,r,i;return i=t.join(String.fromCharCode(0)),r=n.join(String.fromCharCode(0)),null!=(e=0===t.length&&0===n.length?this.allTotal:0===t.length?this.colTotals[r]:0===n.length?this.rowTotals[i]:this.tree[i][r])?e:{value:function(){return null},format:function(){return""}}},t}(),e.pivotUtilities={aggregatorTemplates:u,aggregators:c,renderers:y,derivers:l,locales:h,naturalSort:p,numberFormat:v,sortAs:_,PivotData:o},b=function(t,n){var r,o,a,u,c,s,l,f,h,d,p,v,b,g,y,m,x,_,w,O,j,T,C,M;for(h in s={table:{clickCallback:null},localeStrings:{totals:"Totals"}},n=e.extend(!0,{},s,n),a=t.colAttrs,v=t.rowAttrs,g=t.getRowKeys(),c=t.getColKeys(),n.table.clickCallback&&(l=function(e,r,o){var u,c,s;for(s in c={},a)i.call(a,s)&&(u=a[s],null!=o[s]&&(c[u]=o[s]));for(s in v)i.call(v,s)&&(u=v[s],null!=r[s]&&(c[u]=r[s]));return function(r){return n.table.clickCallback(r,e,c,t)}}),(p=document.createElement("table")).className="pvtTable",y=function(t,n,e){var r,i,o,a,u,c,s,l;if(0!==n){for(a=!0,l=r=0,u=e;0<=u?r<=u:r>=u;l=0<=u?++r:--r)t[n-1][l]!==t[n][l]&&(a=!1);if(a)return-1}for(i=0;n+i<t.length;){for(s=!1,l=o=0,c=e;0<=c?o<=c:o>=c;l=0<=c?++o:--o)t[n][l]!==t[n+i][l]&&(s=!0);if(s)break;i++}return i},w=document.createElement("thead"),a)if(i.call(a,h)){for(f in o=a[h],j=document.createElement("tr"),0===parseInt(h)&&0!==v.length&&((_=document.createElement("th")).setAttribute("colspan",v.length),_.setAttribute("rowspan",a.length),j.appendChild(_)),(_=document.createElement("th")).className="pvtAxisLabel",_.textContent=o,j.appendChild(_),c)i.call(c,f)&&(u=c[f],-1!==(M=y(c,parseInt(f),parseInt(h)))&&((_=document.createElement("th")).className="pvtColLabel",_.textContent=u[h],_.setAttribute("colspan",M),parseInt(h)===a.length-1&&0!==v.length&&_.setAttribute("rowspan",2),j.appendChild(_)));0===parseInt(h)&&((_=document.createElement("th")).className="pvtTotalLabel pvtRowTotalLabel",_.innerHTML=n.localeStrings.totals,_.setAttribute("rowspan",a.length+(0===v.length?0:1)),j.appendChild(_)),w.appendChild(j)}if(0!==v.length){for(f in j=document.createElement("tr"),v)i.call(v,f)&&(d=v[f],(_=document.createElement("th")).className="pvtAxisLabel",_.textContent=d,j.appendChild(_));_=document.createElement("th"),0===a.length&&(_.className="pvtTotalLabel pvtRowTotalLabel",_.innerHTML=n.localeStrings.totals),j.appendChild(_),w.appendChild(j)}for(f in p.appendChild(w),m=document.createElement("tbody"),g)if(i.call(g,f)){for(h in b=g[f],j=document.createElement("tr"),b)i.call(b,h)&&(T=b[h],-1!==(M=y(g,parseInt(f),parseInt(h)))&&((_=document.createElement("th")).className="pvtRowLabel",_.textContent=T,_.setAttribute("rowspan",M),parseInt(h)===v.length-1&&0!==a.length&&_.setAttribute("colspan",2),j.appendChild(_)));for(h in c)i.call(c,h)&&(u=c[h],C=(r=t.getAggregator(b,u)).value(),(x=document.createElement("td")).className="pvtVal row"+f+" col"+h,x.textContent=r.format(C),x.setAttribute("data-value",C),null!=l&&(x.onclick=l(C,b,u)),j.appendChild(x));C=(O=t.getAggregator(b,[])).value(),(x=document.createElement("td")).className="pvtTotal rowTotal",x.textContent=O.format(C),x.setAttribute("data-value",C),null!=l&&(x.onclick=l(C,b,[])),x.setAttribute("data-for","row"+f),j.appendChild(x),m.appendChild(j)}for(h in j=document.createElement("tr"),(_=document.createElement("th")).className="pvtTotalLabel pvtColTotalLabel",_.innerHTML=n.localeStrings.totals,_.setAttribute("colspan",v.length+(0===a.length?0:1)),j.appendChild(_),c)i.call(c,h)&&(u=c[h],C=(O=t.getAggregator([],u)).value(),(x=document.createElement("td")).className="pvtTotal colTotal",x.textContent=O.format(C),x.setAttribute("data-value",C),null!=l&&(x.onclick=l(C,[],u)),x.setAttribute("data-for","col"+h),j.appendChild(x));return C=(O=t.getAggregator([],[])).value(),(x=document.createElement("td")).className="pvtGrandTotal",x.textContent=O.format(C),x.setAttribute("data-value",C),null!=l&&(x.onclick=l(C,[],[])),j.appendChild(x),m.appendChild(j),p.appendChild(m),p.setAttribute("data-numrows",g.length),p.setAttribute("data-numcols",c.length),p},e.fn.pivot=function(t,n,r){var i,a,c,s,l,f,d,p;null==r&&(r="en"),null==h[r]&&(r="en"),i={cols:[],rows:[],vals:[],rowOrder:"key_a_to_z",colOrder:"key_a_to_z",dataClass:o,filter:function(){return!0},aggregator:u.count()(),aggregatorName:"Count",sorters:{},derivedAttributes:{},renderer:b},c={rendererOptions:{localeStrings:s=e.extend(!0,{},h.en.localeStrings,h[r].localeStrings)},localeStrings:s},l=e.extend(!0,{},c,e.extend({},i,n)),d=null;try{f=new l.dataClass(t,l);try{d=l.renderer(f,l.rendererOptions)}catch(t){a=t,"undefined"!=typeof console&&null!==console&&console.error(a.stack),d=e("<span>").html(l.localeStrings.renderError)}}catch(t){a=t,"undefined"!=typeof console&&null!==console&&console.error(a.stack),d=e("<span>").html(l.localeStrings.computeError)}for(p=this[0];p.hasChildNodes();)p.removeChild(p.lastChild);return this.append(d)},e.fn.pivotUI=function(n,r,a,u){var c,s,l,d,v,b,g,y,m,x,_,w,O,j,T,C,M,S,k,A,N,E,D,L,q,R,P,H,F,z,I,$,U,B,W,Y,V,X,K,G,Q,J,Z,tt,nt,et;null==a&&(a=!1),null==u&&(u="en"),null==h[u]&&(u="en"),y={derivedAttributes:{},aggregators:h[u].aggregators,renderers:h[u].renderers,hiddenAttributes:[],hiddenFromAggregators:[],hiddenFromDragDrop:[],menuLimit:500,cols:[],rows:[],vals:[],rowOrder:"key_a_to_z",colOrder:"key_a_to_z",dataClass:o,exclusions:{},inclusions:{},unusedAttrsVertical:85,autoSortUnusedAttrs:!1,onRefresh:null,filter:function(){return!0},sorters:{}},S={rendererOptions:{localeStrings:k=e.extend(!0,{},h.en.localeStrings,h[u].localeStrings)},localeStrings:k},x=this.data("pivotUIOptions"),D=null==x||a?e.extend(!0,{},S,e.extend({},y,r)):x;try{for(nt in v={},A=[],R=0,o.forEachRecord(n,D.derivedAttributes,function(t){var n,e,r,o;if(D.filter(t)){for(n in A.push(t),t)i.call(t,n)&&null==v[n]&&(v[n]={},R>0&&(v[n].null=R));for(n in v)o=null!=(r=t[n])?r:"null",null==(e=v[n])[o]&&(e[o]=0),v[n][o]++;return R++}}),Q=e("<table>",{class:"pvtUi"}).attr("cellpadding",5),B=e("<td>"),U=e("<select>").addClass("pvtRenderer").appendTo(B).bind("change",function(){return I()}),P=D.renderers)i.call(P,nt)&&e("<option>").val(nt).html(nt).appendTo(U);if(J=e("<td>").addClass("pvtAxisContainer pvtUnused"),Y=function(){var n;for(c in n=[],v)t.call(D.hiddenAttributes,c)<0&&n.push(c);return n}(),V=function(){var n,e,r;for(r=[],n=0,e=Y.length;n<e;n++)b=Y[n],t.call(D.hiddenFromAggregators,b)<0&&r.push(b);return r}(),X=function(){var n,e,r;for(r=[],n=0,e=Y.length;n<e;n++)b=Y[n],t.call(D.hiddenFromDragDrop,b)<0&&r.push(b);return r}(),tt=!1,Z="auto"===D.unusedAttrsVertical?120:parseInt(D.unusedAttrsVertical),!isNaN(Z)){for(d=0,j=0,T=X.length;j<T;j++)d+=(c=X[j]).length;tt=d>Z}for(w in!0===D.unusedAttrsVertical||tt?J.addClass("pvtVertList"):J.addClass("pvtHorizList"),_=function(n){var r,i,o,a,u,c,s,l,h,d,p,b,g,y,m,x,_,O,j;if(j=function(){var t;for(m in t=[],v[n])t.push(m);return t}(),l=!1,(O=e("<div>").addClass("pvtFilterBox").hide()).append(e("<h4>").append(e("<span>").text(n),e("<span>").addClass("count").text("("+j.length+")"))),j.length>D.menuLimit)O.append(e("<p>").html(D.localeStrings.tooMany));else for(j.length>5&&(a=e("<p>").appendTo(O),g=f(D.sorters,n),p=D.localeStrings.filterResults,e("<input>",{type:"text"}).appendTo(a).attr({placeholder:p,class:"pvtSearch"}).bind("keyup",function(){var n,r,i;return i=e(this).val().toLowerCase().trim(),r=function(n,e){return function(r){var o,a;return 0===(o=i.substring(n.length).trim()).length||(a=Math.sign(g(r.toLowerCase(),o)),t.call(e,a)>=0)}},n=0===i.indexOf(">=")?r(">=",[1,0]):0===i.indexOf("<=")?r("<=",[-1,0]):0===i.indexOf(">")?r(">",[1]):0===i.indexOf("<")?r("<",[-1]):0===i.indexOf("~")?function(t){return 0===i.substring(1).trim().length||t.toLowerCase().match(i.substring(1))}:function(t){return-1!==t.toLowerCase().indexOf(i)},O.find(".pvtCheckContainer p label span.value").each(function(){return n(e(this).text())?e(this).parent().parent().show():e(this).parent().parent().hide()})}),a.append(e("<br>")),e("<button>",{type:"button"}).appendTo(a).html(D.localeStrings.selectAll).bind("click",function(){return O.find("input:visible:not(:checked)").prop("checked",!0).toggleClass("changed"),!1}),e("<button>",{type:"button"}).appendTo(a).html(D.localeStrings.selectNone).bind("click",function(){return O.find("input:visible:checked").prop("checked",!1).toggleClass("changed"),!1})),i=e("<div>").addClass("pvtCheckContainer").appendTo(O),d=0,h=(b=j.sort(f(D.sorters,n))).length;d<h;d++)x=b[d],_=v[n][x],u=e("<label>"),c=!1,D.inclusions[n]?c=t.call(D.inclusions[n],x)<0:D.exclusions[n]&&(c=t.call(D.exclusions[n],x)>=0),l||(l=c),e("<input>").attr("type","checkbox").addClass("pvtFilter").attr("checked",!c).data("filter",[n,x]).appendTo(u).bind("change",function(){return e(this).toggleClass("changed")}),u.append(e("<span>").addClass("value").text(x)),u.append(e("<span>").addClass("count").text("("+_+")")),i.append(e("<p>").append(u));return o=function(){return O.find("[type='checkbox']").length>O.find("[type='checkbox']:checked").length?r.addClass("pvtFilteredAttribute"):r.removeClass("pvtFilteredAttribute"),O.find(".pvtSearch").val(""),O.find(".pvtCheckContainer p").show(),O.hide()},s=e("<p>").appendTo(O),j.length<=D.menuLimit&&e("<button>",{type:"button"}).text(D.localeStrings.apply).appendTo(s).bind("click",function(){return O.find(".changed").removeClass("changed").length&&I(),o()}),e("<button>",{type:"button"}).text(D.localeStrings.cancel).appendTo(s).bind("click",function(){return O.find(".changed:checked").removeClass("changed").prop("checked",!1),O.find(".changed:not(:checked)").removeClass("changed").prop("checked",!0),o()}),y=e("<span>").addClass("pvtTriangle").html(" &#x25BE;").bind("click",function(t){var n,r,i;return n=(r=e(t.currentTarget).position()).left,i=r.top,O.css({left:n+10,top:i+10}).show()}),r=e("<li>").addClass("axis_"+w).append(e("<span>").addClass("pvtAttr").text(n).data("attrName",n).append(y)),l&&r.addClass("pvtFilteredAttribute"),J.append(r).append(O)},X)i.call(X,w)&&_(l=X[w]);for(nt in K=e("<tr>").appendTo(Q),s=e("<select>").addClass("pvtAggregator").bind("change",function(){return I()}),H=D.aggregators)i.call(H,nt)&&s.append(e("<option>").val(nt).html(nt));for(L={key_a_to_z:{rowSymbol:"&varr;",colSymbol:"&harr;",next:"value_a_to_z"},value_a_to_z:{rowSymbol:"&darr;",colSymbol:"&rarr;",next:"value_z_to_a"},value_z_to_a:{rowSymbol:"&uarr;",colSymbol:"&larr;",next:"key_a_to_z"}},W=e("<a>",{role:"button"}).addClass("pvtRowOrder").data("order",D.rowOrder).html(L[D.rowOrder].rowSymbol).bind("click",function(){return e(this).data("order",L[e(this).data("order")].next),e(this).html(L[e(this).data("order")].rowSymbol),I()}),g=e("<a>",{role:"button"}).addClass("pvtColOrder").data("order",D.colOrder).html(L[D.colOrder].colSymbol).bind("click",function(){return e(this).data("order",L[e(this).data("order")].next),e(this).html(L[e(this).data("order")].colSymbol),I()}),e("<td>").addClass("pvtVals").appendTo(K).append(s).append(W).append(g).append(e("<br>")),e("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols").appendTo(K),(G=e("<tr>").appendTo(Q)).append(e("<td>").addClass("pvtAxisContainer pvtRows").attr("valign","top")),q=e("<td>").attr("valign","top").addClass("pvtRendererArea").appendTo(G),!0===D.unusedAttrsVertical||tt?(Q.find("tr:nth-child(1)").prepend(B),Q.find("tr:nth-child(2)").prepend(J)):Q.prepend(e("<tr>").append(B).append(J)),this.html(Q),F=D.cols,N=0,C=F.length;N<C;N++)nt=F[N],this.find(".pvtCols").append(this.find(".axis_"+e.inArray(nt,X)));for(z=D.rows,E=0,M=z.length;E<M;E++)nt=z[E],this.find(".pvtRows").append(this.find(".axis_"+e.inArray(nt,X)));null!=D.aggregatorName&&this.find(".pvtAggregator").val(D.aggregatorName),null!=D.rendererName&&this.find(".pvtRenderer").val(D.rendererName),O=!0,et=this,$=function(){var n,r,i,o,a,u,c,f,h,d,v,b,y,m;if(d={derivedAttributes:D.derivedAttributes,localeStrings:D.localeStrings,rendererOptions:D.rendererOptions,sorters:D.sorters,cols:[],rows:[],dataClass:D.dataClass},a=null!=(f=D.aggregators[s.val()]([])().numInputs)?f:0,m=[],et.find(".pvtRows li span.pvtAttr").each(function(){return d.rows.push(e(this).data("attrName"))}),et.find(".pvtCols li span.pvtAttr").each(function(){return d.cols.push(e(this).data("attrName"))}),et.find(".pvtVals select.pvtAttrDropdown").each(function(){return 0===a?e(this).remove():(a--,""!==e(this).val()?m.push(e(this).val()):void 0)}),0!==a)for(c=et.find(".pvtVals"),nt=v=0,h=a;0<=h?v<h:v>h;nt=0<=h?++v:--v){for(o=e("<select>").addClass("pvtAttrDropdown").append(e("<option>")).bind("change",function(){return I()}),b=0,i=V.length;b<i;b++)l=V[b],o.append(e("<option>").val(l).text(l));c.append(o)}if(O&&(m=D.vals,w=0,et.find(".pvtVals select.pvtAttrDropdown").each(function(){return e(this).val(m[w]),w++}),O=!1),d.aggregatorName=s.val(),d.vals=m,d.aggregator=D.aggregators[s.val()](m),d.renderer=D.renderers[U.val()],d.rowOrder=W.data("order"),d.colOrder=g.data("order"),n={},et.find("input.pvtFilter").not(":checked").each(function(){var t;return t=e(this).data("filter"),null!=n[t[0]]?n[t[0]].push(t[1]):n[t[0]]=[t[1]]}),r={},et.find("input.pvtFilter:checked").each(function(){var t;if(t=e(this).data("filter"),null!=n[t[0]])return null!=r[t[0]]?r[t[0]].push(t[1]):r[t[0]]=[t[1]]}),d.filter=function(e){var r,i,o,a;if(!D.filter(e))return!1;for(i in n)if(r=n[i],o=""+(null!=(a=e[i])?a:"null"),t.call(r,o)>=0)return!1;return!0},q.pivot(A,d),u=e.extend({},D,{cols:d.cols,rows:d.rows,colOrder:d.colOrder,rowOrder:d.rowOrder,vals:m,exclusions:n,inclusions:r,inclusionsInfo:r,aggregatorName:s.val(),rendererName:U.val()}),et.data("pivotUIOptions",u),D.autoSortUnusedAttrs&&(y=et.find("td.pvtUnused.pvtAxisContainer"),e(y).children("li").sort(function(t,n){return p(e(t).text(),e(n).text())}).appendTo(y)),q.css("opacity",1),null!=D.onRefresh)return D.onRefresh(u)},(I=function(){return q.css("opacity",.5),setTimeout($,10)})(),this.find(".pvtAxisContainer").sortable({update:function(t,n){if(null==n.sender)return I()},connectWith:this.find(".pvtAxisContainer"),items:"li",placeholder:"pvtPlaceholder"})}catch(t){m=t,"undefined"!=typeof console&&null!==console&&console.error(m.stack),this.html(D.localeStrings.uiRenderError)}return this},e.fn.heatmap=function(t,n){var r,i,o,a,u,c,s,l,f,h,d,p;switch(null==t&&(t="heatmap"),l=this.data("numrows"),s=this.data("numcols"),null==(r=null!=n&&null!=(f=n.heatmap)?f.colorScaleGenerator:void 0)&&(r=function(t){var n,e;return e=Math.min.apply(Math,t),n=Math.max.apply(Math,t),function(t){var r;return"rgb(255,"+(r=255-Math.round(255*(t-e)/(n-e)))+","+r+")"}}),p=this,i=function(t){var n,i,o;return o=[],(i=function(n){return p.find(t).each(function(){var t;if(null!=(t=e(this).data("value"))&&isFinite(t))return n(t,e(this))})})(function(t){return o.push(t)}),n=r(o),i(function(t,e){return e.css("background-color",n(t))})},t){case"heatmap":i(".pvtVal");break;case"rowheatmap":for(o=u=0,h=l;0<=h?u<h:u>h;o=0<=h?++u:--u)i(".pvtVal.row"+o);break;case"colheatmap":for(a=c=0,d=s;0<=d?c<d:c>d;a=0<=d?++c:--c)i(".pvtVal.col"+a)}return i(".pvtTotal.rowTotal"),i(".pvtTotal.colTotal"),this},e.fn.barchart=function(t){var n,r,i,o,a,u;for(o=this.data("numrows"),this.data("numcols"),u=this,n=function(t){var n,r,i,o,a,c;return c=[],(n=function(n){return u.find(t).each(function(){var t;if(null!=(t=e(this).data("value"))&&isFinite(t))return n(t,e(this))})})(function(t){return c.push(t)}),(r=Math.max.apply(Math,c))<0&&(r=0),o=r,(i=Math.min.apply(Math,c))<0&&(o=r-i),a=function(t){return 100*t/(1.4*o)},n(function(t,n){var r,o,u,c;return u=n.text(),c=e("<div>").css({position:"relative",height:"55px"}),o="gray",r=0,i<0&&(r=a(-i)),t<0&&(r+=a(t),o="darkred",t=-t),c.append(e("<div>").css({position:"absolute",bottom:r+"%",left:0,right:0,height:a(t)+"%","background-color":o})),c.append(e("<div>").text(u).css({position:"relative","padding-left":"5px","padding-right":"5px"})),n.css({padding:0,"padding-top":"5px","text-align":"center"}).html(c)})},r=i=0,a=o;0<=a?i<a:i>a;r=0<=a?++i:--i)n(".pvtVal.row"+r);return n(".pvtTotal.colTotal"),this}})}).call(this)},function(t,n,e){(function(){var n,r={}.hasOwnProperty;n=e(483),function(n){t.exports=n}(function(t){var e,i,o,a,u,c,s,l;return e="$$$_row_total_$$$",i=function(){class r extends t.pivotUtilities.PivotData{constructor(i,o){var a,u,c,s,l,f,h,d,p,v,b;if(super(i,o),this.hasColTotals=null==(l=o.hasColTotals)||l,this.hasRowTotals=!this.colAttrs.length||(null==(f=o.hasRowTotals)||f),this.labels=null!=(h=o.labels)?h:{},this.aggregatorNames=null!=(d=o.aggregatorNames)?d:["Count"],this.aggregators=null!=(p=o.aggregators)?p:function(){var n,e,r,i;for(i=[],n=0,e=(r=this.aggregatorNames).length;n<e;n++)s=r[n],i.push(t.pivotUtilities.aggregators[s]({}));return i}.call(this),this.aggregatorName=this.aggregatorNames[0],this.aggregator=this.aggregators[0],this.aggregatorNames.length!==this.aggregators.length)throw new Error("aggregators and aggregatorNames must be the same length");for(this.allTotal={},a=u=0,c=(v=this.aggregatorNames).length;u<c;a=++u)s=v[a],this.allTotal[s]=this.aggregators[a](this,[],[]);r.forEachRecord(this.input,this.derivedAttributes,t=>{if(this.filter(t))return this.processRecord(t)}),this.hasLookerRowTotals=n(this.getColKeys()).includes(e),this.useLookerRowTotals=null!=(b=o.useLookerRowTotals)&&b&&this.hasLookerRowTotals}processRecord(t){var n,r,i,o,a,u,c,s,l,f,h,d,p,v,b,g,y,m,x,_,w,O,j,T,C,M,S,k,A,N,E,D,L,q,R,P,H,F,z,I,$,U,B,W,Y,V,X,K;if(this.aggregators){for(U=[],n=!1,b=0,g=(N=this.rowAttrs).length;b<g;b++){if(i=N[b],U.push(null!=(E=t[i])?E:"null"),f=U.join(String.fromCharCode(0)),!this.rowTotals[f])for(this.rowTotals[f]={},d=S=0,y=(q=this.aggregatorNames).length;S<y;d=++S)M=q[d],r=this.aggregators[d],this.rowTotals[f][M]=r(this,U.slice(),[]),n=!0;if(!this.colAttrs.length||t[this.colAttrs[0]]!==e)for(k=0,m=(R=this.aggregatorNames).length;k<m;k++)M=R[k],this.rowTotals[f][M].push(t)}for(n&&this.rowKeys.push(U),u=[],n=!1,A=0,x=(P=this.colAttrs).length;A<x;A++){if(i=P[A],u.push(null!=(H=t[i])?H:"null"),f=u.join(String.fromCharCode(0)),!this.colTotals[f])for(this.colTotals[f]={},d=B=0,_=(F=this.aggregatorNames).length;B<_;d=++B)M=F[d],r=this.aggregators[d],this.colTotals[f][M]=r(this,[],u.slice()),n=!0;for(W=0,w=(z=this.aggregatorNames).length;W<w;W++)M=z[W],this.colTotals[f][M].push(t)}if(n&&this.colKeys.push(u),u[0]!==e)for(Y=0,O=(I=this.aggregatorNames).length;Y<O;Y++)M=I[Y],this.allTotal[M].push(t);if(T=U.length-1,C=u.length-1,!(T<0||C<0))for(d=V=0,$=T;0<=$?V<=$:V>=$;d=0<=$?++V:--V)for(h=(s=U.slice(0,d+1)).join(String.fromCharCode(0)),null==(o=this.tree)[h]&&(o[h]={}),p=X=0,D=C;0<=D?X<=D:X>=D;p=0<=D?++X:--X)for(l=(c=u.slice(0,p+1)).join(String.fromCharCode(0)),null==(a=this.tree[h])[l]&&(a[l]={}),v=K=0,j=(L=this.aggregatorNames).length;K<j;v=++K)M=L[v],r=this.aggregators[v],this.tree[h][l][M]||(this.tree[h][l][M]=r(this,s,c)),this.tree[h][l][M].push(t)}}}return function(t,n,e,r,i){var o,a,u,c,s,l,f;for(c=[],o=!1,s=0,l=r.length;s<l;s++)a=r[s],c.push(null!=(f=t[a])?f:"null"),n[u=c.join(String.fromCharCode(0))]||(n[u]=i(c.slice()),o=!0),n[u].push(t);return o&&e.push(c),c},r}.call(this),t.pivotUtilities.SubtotalPivotDataMulti=i,o=function(n,i){var o,a,u,c,s,l,f,h,d,p,v,b,g,y,m,x,_,w,O,j,T,C,M,S,k,A,N,E,D,L,q,R,P,H,F,z,I,$,U,B,W,Y,V,X,K,G,Q,J,Z,tt,nt,et,rt,it,ot,at,ut,ct,st,lt,ft;if(L={table:{clickCallback:null},localeStrings:{totals:"Totals",subtotalOf:"Subtotal of"},arrowCollapsed:"▶",arrowExpanded:"◢",rowSubtotalDisplay:{displayOnTop:!0,disableFrom:99999,collapseAt:99999,hideOnExpand:!1,disableExpandCollapse:!1},colSubtotalDisplay:{displayOnTop:!0,disableFrom:0,collapseAt:0,hideOnExpand:!1,disableExpandCollapse:!1}},(i=t.extend(!0,{},L,i)).rowSubtotalDisplay.disableSubtotal&&(i.rowSubtotalDisplay.disableFrom=0),void 0!==i.rowSubtotalDisplay.disableAfter&&null!==i.rowSubtotalDisplay.disableAfter&&(i.rowSubtotalDisplay.disableFrom=i.rowSubtotalDisplay.disableAfter+1),void 0!==i.rowSubtotalDisplay.collapseAt&&null!==i.collapseRowsAt&&(i.rowSubtotalDisplay.collapseAt=i.collapseRowsAt),i.colSubtotalDisplay.disableSubtotal&&(i.colSubtotalDisplay.disableFrom=0),void 0!==i.colSubtotalDisplay.disableAfter&&null!==i.colSubtotalDisplay.disableAfter&&(i.colSubtotalDisplay.disableFrom=i.colSubtotalDisplay.disableAfter+1),void 0!==i.colSubtotalDisplay.collapseAt&&null!==i.collapseColsAt&&(i.colSubtotalDisplay.collapseAt=i.collapseColsAt),i.colSubtotalDisplay.disableFrom>0)throw new Error("Column subtotals are unimplemented");return _=n.colAttrs,it=n.rowAttrs,ot=n.getRowKeys(),w=n.getColKeys(),lt=n.tree,at=n.rowTotals,O=n.colTotals,c=n.allTotal,n.aggregators,u=n.aggregatorNames,X=n.hasColTotals,K=n.hasRowTotals,J=n.labels,n.hasLookerRowTotals,ft=n.useLookerRowTotals,"rowhide","rowshow","colhide","colshow","expanded","collapsed","expanded","collapsed","rowexpanded","rowcollapsed","colexpanded","colcollapsed",l=i.arrowExpanded,s=i.arrowCollapsed,V=function(t,n){var e;return e=new RegExp("(?:^|\\s)"+n+"(?!\\S)","g"),null!==t.className.match(e)},et=function(t,n){var e,r,i,o,a,u;for(u=[],e=0,r=(o=n.split(" ")).length;e<r;e++)i=o[e],a=new RegExp("(?:^|\\s)"+i+"(?!\\S)","g"),u.push(t.className=t.className.replace(a,""));return u},o=function(t,n){var e,r,i,o,a;for(a=[],e=0,r=(o=n.split(" ")).length;e<r;e++)i=o[e],V(t,i)?a.push(void 0):a.push(t.className+=" "+i);return a},rt=function(t,n,e){return et(t,n),o(t,e)},q=function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},tt=function(t){var n,e;return e="",(n=function(t){var r,i,o,a;if(Array.isArray(t)){for(o=[],r=0,i=t.length;r<i;r++)a=t[r],o.push(n(a));return o}return(null!=t?t.label:void 0)?null!=t.sublabel?e+=`${q(t.label)} <em>${q(t.sublabel)}</em>`:e+=`<em>${q(t.label)}</em>`:null!=t?e+=q(String(t)):void 0})(t),e},D=function(t,n,e,i,o){var a,u,c,s,l;if(u=document.createElement(t),null!=n&&(u.className=n),u.innerHTML=tt(e),null!=i)for(a in i)r.call(i,a)&&(l=i[a],u.setAttribute(a,l));if(null!=o)for(c in o)r.call(o,c)&&(s=o[c],u.addEventListener(c,s));return u},function(t,n){var e,i,o;for(e in i=[],n)r.call(n,e)&&(o=n[e],i.push(t.setAttribute(e,o)));return i},nt=function(t,n,e){var r,i,o;return i=t[0].length-1,r={children:[]},o=0,t.reduce((t,e)=>{var a;return a=0,e.reduce((t,u,c,s)=>{var l,f,h,d,p;if(t[u]||(f=e.slice(0,a+1),t[u]={row:o,col:a,descendants:0,children:[],text:u,key:f,flatKey:f.join(String.fromCharCode(0)),firstLeaf:null,leaves:0,parent:0!==a?t:null,th:D("th",n,u),childrenSpan:0},t.children.push(u)),a>0&&t.descendants++,a++,c===i){for(d=r,l=h=0,p=i-1;0<=p?h<=p:h>=p;l=0<=p?++h:--h)i>0&&(d[e[l]].leaves++,d[e[l]].firstLeaf||(d[e[l]].firstLeaf=t[u]),d=d[e[l]]);return r}return t[u]},r),o++,r},r),r},f=function(t,n,e,r){var i,o,a,u;return i={text:null!=(u=J[e[n]])?u:e[n],expandedCount:0,expandables:0,attrHeaders:[],clickStatus:"expanded",onClick:j},o=`${l} `,a="expanded",n>=r.collapseAt&&(o=`${s} `,a="collapsed",i.clickStatus="collapsed",i.onClick=R),n===e.length-1||n>=r.disableFrom||r.disableExpandCollapse?o="":a+=" pvtInteractive A",i.th=D("th",`pvtAxisLabel ${a}`,[o,i.text]),n<e.length-1&&n<r.disableFrom&&!r.disableExpandCollapse&&(i.th.onclick=function(o){return o=o||window.event,i.onClick(t,n,e,r)}),t.ah.push(i),i},h=function(t,n,e,r){var i,o,a,u,c;for(o={collapseAttrHeader:S,expandAttrHeader:F,ah:[]},a=u=0,c=e.length;u<c;a=++u)e[a],(i=f(o,a,e,r.colSubtotalDisplay)).th.colSpan=n.length,i.tr=D("tr","pvtColAxisHeaders"),i.tr.appendChild(i.th),t.appendChild(i.tr);return o},g=function(t,n,e,r){var i,o,a,u,c;for(o={collapseAttrHeader:A,expandAttrHeader:$,ah:[],tr:D("tr","pvtRowAxisHeaders")},a=u=0,c=n.length-1;0<=c?u<=c:u>=c;a=0<=c?++u:--u)i=f(o,a,n,r.rowSubtotalDisplay),o.tr.appendChild(i.th);return t.appendChild(o.tr),o},ut=function(t,n,e){return t.col===n.length-1||t.col>=e.disableFrom||e.disableExpandCollapse||0===t.children.length},W=function(t,n,r){var i;return i=` ${l} `,ut(t,n,r)&&(i=""),`${i}${t.text===e?"Total":t.text}`},d=function(t,n,r,i,a,c,s){var l,f,h,p,v,b;for(h=0,p=(v=r.children).length;h<p;h++)f=v[h],d(t,n,r[f],i,a,c,s);return(l=t.ah[r.col]).attrHeaders.push(r),r.node=c.counter,r.onClick=S,o(r.th,`colshow col${r.row} colcol${r.col} colexpanded`),r.th.setAttribute("data-colnode",r.node),r.th.colSpan=r.children.length?r.childrenSpan:u.length,r.th.textContent=W(r,a,s.colSubtotalDisplay),0!==r.children.length&&r.col<s.colSubtotalDisplay.disableFrom&&(l.expandables++,l.expandedCount+=1,s.colSubtotalDisplay.hideOnExpand||r.th.colSpan++,s.colSubtotalDisplay.disableExpandCollapse||(r.th.onclick=function(n){return n=n||window.event,r.onClick(t,r,s.colSubtotalDisplay)}),r.sTh=D("th",`pvtColLabelFiller colshow col${r.row} colcol${r.col} colexpanded`),r.sTh.setAttribute("data-colnode",r.node),s.colSubtotalDisplay.hideOnExpand&&rt(r.sTh,"colshow","colhide"),r[r.children[0]].tr.appendChild(r.sTh)),null!=(b=r.parent)&&(b.childrenSpan+=r.th.colSpan),r.clickStatus="expanded",r.text===e?r.children.length?l.tr.appendChild(D("th",null,null,{colspan:u.length})):(o(r.th,"pvtColTotal"),l.tr.appendChild(r.th),r.tr=l.tr):(l.tr.appendChild(r.th),r.tr=l.tr),n.push(r),c.counter++},m=function(t,n,r,i){var o,a,c,s,l,f,h,d,p;if(i.length>0)if(n){if((o=function(n){var r,i,a,c,s,l,f,h,d,p;if(n.children.length>0){for(h=[],i=0,a=(f=n.children).length;i<a;i++)(r=f[i])!==e&&h.push(o(n[r]));return h}for(d=[],l=0,c=u.length;l<c;l++)s=u[l],p=D("th","rowTotal rowTotalTypeA",J[s]),d.push(t.appendChild(p));return d})(n),ft)for(a=0,c=u.length;a<c;a++)f=u[a],p=D("th","rowTotal rowTotalTypeB",J[f]),t.appendChild(p);if(K&&!ft)for(h=0,s=u.length;h<s;h++)f=u[h],p=D("th","rowTotal rowTotalTypeC",J[f]),t.appendChild(p)}else p=D("th","pvtColLabel pvtColTotal","Total",{colspan:u.length}),t.appendChild(p);else for(d=0,l=u.length;d<l;d++)f=u[d],p=D("th","rowTotal rowTotalTypeD",J[f]),t.appendChild(p)},Z=null,y=function(t,n,e,r,i,a,u,c){var s,l,f,h,d,p,v,b,g;for(h=0,d=(v=r.children).length;h<d;h++)l=v[h],y(t,n,e,r[l],i,a,u,c);if((s=n.ah[r.col]).attrHeaders.push(r),r.node=u.counter,r.onClick=A,0!==r.children.length&&(f=r[r.children[0]]),Z&&et(Z,"lastPivot"),Z=r.th,o(r.th,`rowshow pvtRowHeader lastPivot row${r.row} rowcol${r.col} rowexpanded`),r.th.setAttribute("data-rownode",r.node),0!==r.children.length&&(r.th.rowSpan=r.childrenSpan),r.th.textContent=W(r,i,c.rowSubtotalDisplay),0!==r.children.length&&o(r.th,"pvtInteractive"),r.tr=D("tr",`row${r.row}`),r.tr.appendChild(r.th),0===r.children.length?t.appendChild(r.tr):t.insertBefore(r.tr,f.tr),0!==r.children.length&&r.col<c.rowSubtotalDisplay.disableFrom)for(++s.expandedCount,++s.expandables,c.rowSubtotalDisplay.disableExpandCollapse||(r.th.onclick=function(t){return t=t||window.event,r.onClick(n,r,c.rowSubtotalDisplay)}),p=0,b=i.length-r.col-1;0<=b?p<b:p>b;0<=b?++p:--p)r.sTh=D("th",`pvtRowLabelFiller row${r.row} rowcol${r.col} rowexpanded rowshow`),c.rowSubtotalDisplay.hideOnExpand&&rt(r.sTh,"rowshow","rowhide"),r.sTh.setAttribute("data-rownode",r.node),c.rowSubtotalDisplay.displayOnTop?r.tr.appendChild(r.sTh):(r.th.rowSpan+=1,r.sTr=D("tr",`row${r.row}`),r.sTr.appendChild(r.sTh),t.appendChild(r.sTr));return 0!==r.children.length&&r.th.rowSpan++,null!=(g=r.parent)&&(g.childrenSpan+=r.th.rowSpan),r.clickStatus="expanded",e.push(r),u.counter++},Y=function(t,e,i,o,a,u){var c,s,l,f,h,d,p,v;if(null!=(p=u.table)?p.eventHandlers:void 0){for(s in l={},v=u.table.eventHandlers)if(r.call(v,s)){for(d in h=v[s],f={},a)r.call(a,d)&&(c=a[d],null!=i[d]&&(f[c]=i[d]));for(d in o)r.call(o,d)&&(c=o[d],null!=e[d]&&(f[c]=e[d]));l[s]=function(e){return h(e,t,f,n)}}return l}},x=function(t,n,r,i,o,a){var c,s,l,f,h,d,p,v,b,g,y,m,x,_,w,O,j,T,C;for(f=0,h=r.length;f<h;f++)if((w=r[f]).col===i.length-1||0!==w.children.length&&w.col<a.rowSubtotalDisplay.disableFrom){for(x=`pvtVal row${w.row} rowcol${w.col} rowexpanded`,w.children.length>0?(x+=" pvtRowSubtotal",x+=a.rowSubtotalDisplay.hideOnExpand?" rowhide":"  rowshow"):x+=" rowshow",T=w.sTr?w.sTr:w.tr,g=0,d=n.length;g<d;g++)if((s=n[g]).col===o.length-1||0!==s.children.length&&s.col<a.colSubtotalDisplay.disableFrom)for(y=0,p=u.length;y<p;y++)b=u[y],C=(c=null!=(_=lt[w.flatKey][s.flatKey][b])?_:{value:function(){return null},format:function(){return""}}).value(),l=` ${x} col${s.row} colcol${s.col} colexpanded`,s.text===e&&(l+=" pvtRowTotal"),s.children.length>0?(l+=" pvtColSubtotal",l+=a.colSubtotalDisplay.hideOnExpand?" colhide":" colshow"):l+=" colshow",O=D("td",l,c.format(C),{"data-value":C,"data-rownode":w.node,"data-colnode":s.node},Y(C,w.key,s.key,i,o,a)),T.appendChild(O);if(K&&!ft)for(m=0,v=u.length;m<v;m++)b=u[m],C=(j=at[w.flatKey][b]).value(),O=D("td",`pvtTotal rowTotal rowTotalTypeX ${x}`,j.format(C),{"data-value":C,"data-row":`row${w.row}`,"data-rowcol":`col${w.col}`,"data-rownode":w.node}),Y(C,w.key,[],i,o,a),T.appendChild(O)}},v=function(t,n){var e,r,o;return o=D("tr","pvtRowTotal"),e=t.length,r=D("th","pvtTotalLabel colTotal",i.localeStrings.totals,{colspan:e}),o.appendChild(r),o},p=function(t,n,e,r,i){var o,a,c,s,l,f,h,d,p,v;for(s=0,l=n.length;s<l;s++)if((a=n[s]).col===r.length-1||0!==a.children.length&&a.col<i.colSubtotalDisplay.disableFrom)for(o=`pvtVal pvtTotal colTotal colexpanded col${a.row} colcol${a.col}`,0!==a.children.length?(o+=" pvtColSubtotal",o+=i.colSubtotalDisplay.hideOnExpand?" colhide":" colshow"):o+=" colshow",c=h=0,f=u.length;h<f;c=++h)u[c],v=(p=O[a.flatKey][u[c]]).value(),d=D("td",o,p.format(v),{"data-value":v,"data-for":`col${a.col}`,"data-colnode":`${a.node}`},Y(v,[],a.key,e,r,i)),t.appendChild(d)},b=function(t,n,e,r,i){var o,a,s,l,f,h,d;for(l=[],o=0,a=u.length;o<a;o++)s=u[o],d=(h=c[s]).value(),f=D("td","pvtGrandTotal",h.format(d),{"data-value":d},Y(d,[],[],e,r,i)),l.push(n.appendChild(f));return l},T=function(t,n,e){var r,i,o,a,u,c,l;if(!(n>(i=Math.min(t.ah.length-2,e.disableFrom-1)))){for(l=[],o=a=u=n,c=i;u<=c?a<=c:a>=c;o=u<=c?++a:--a)r=t.ah[o],rt(r.th,"expanded","collapsed"),r.th.innerHTML=tt([` ${s} `,r.text]),r.clickStatus="collapsed",l.push(r.onClick=R);return l}},a=function(t,n,e){var r;return 0===(r=t.ah[n]).expandedCount?T(t,n,e):r.expandedCount===r.expandables?(rt(r.th,"collapsed","expanded"),r.th.innerHTML=tt([` ${l} `,r.text]),r.clickStatus="expanded",r.onClick=j):void 0},G=function(n){return t(n.th).closest("table.pvtTable").find(`tbody tr td[data-colnode="${n.node}"], th[data-colnode="${n.node}"]`).removeClass("colshow").addClass("colhide")},k=function(n,e){return t(n.th).closest("table.pvtTable").find(`tbody tr td[data-colnode="${n.node}"], th[data-colnode="${n.node}"]`).removeClass("colexpanded").addClass("colcollapsed"),0!==n.children.length&&(n.th.textContent=` ${s} ${n.text}`),n.th.colSpan=1},N=function(n,e){return t(n.th).closest("table.pvtTable").find(`tbody tr td[data-colnode="${n.node}"], th[data-colnode="${n.node}"]`).removeClass("colexpanded").addClass("colcollapsed").removeClass("colhide").addClass("colshow"),0!==n.children.length&&(n.th.textContent=` ${s} ${n.text}`),n.th.colSpan=1},C=function(t,n){var e,r,i,o;for(r=0,i=(o=t.children).length;r<i;r++)e=o[r],V(t[e].th,"colshow")&&C(t[e],n);return G(t)},S=function(t,n,e){var r,i,o,u,c,s;for(i=n.th.colSpan-1,o=0,u=(s=n.children).length;o<u;o++)r=s[o],V(n[r].th,"colshow")&&C(n[r],n);for(n.col<e.disableFrom&&(V(n.th,"colhide")?k(n):N(n)),c=n.parent;c;)c.th.colSpan-=i,c=c.parent;return n.clickStatus="collapsed",n.onClick=F,t.ah[n.col].expandedCount--,a(t,n.col,e)},ct=function(n){return t(n.th).closest("table.pvtTable").find(`tbody tr td[data-colnode="${n.node}"], th[data-colnode="${n.node}"]`).removeClass("colhide").addClass("colshow")},z=function(n){return t(n.th).closest("table.pvtTable").find(`tbody tr td[data-colnode="${n.node}"], th[data-colnode="${n.node}"]`).removeClass("colcollapsed colshow").addClass("colexpanded colhide"),rt(n.th,"colhide","colshow"),n.th.textContent=` ${l} ${n.text}`},U=function(n){return t(n.th).closest("table.pvtTable").find(`tbody tr td[data-colnode="${n.node}"], th[data-colnode="${n.node}"]`).removeClass("colcollapsed colhide").addClass("colexpanded colshow"),n.th.colSpan++,n.th.textContent=` ${l} ${n.text}`},P=function(t,n){var e,r,i,o,a;if(0!==t.children.length&&n.hideOnExpand&&"expanded"===t.clickStatus?rt(t.th,"colhide","colshow"):ct(t),t.sTh&&"expanded"===t.clickStatus&&n.hideOnExpand&&rt(t.sTh,"colshow","colhide"),"expanded"===t.clickStatus||t.col>=n.disableFrom){for(a=[],r=0,i=(o=t.children).length;r<i;r++)e=o[r],a.push(P(t[e],n));return a}},F=function(t,n,e){var r,i,o,u,c,s;if("expanded"!==n.clickStatus){for(i=0,o=0,u=(s=n.children).length;o<u;o++)r=n[s[o]],P(r,e),i+=r.th.colSpan;for(n.th.colSpan=i,n.col<e.disableFrom&&(e.hideOnExpand?(z(n),--i):U(n)),c=n.parent;c;)c.th.colSpan+=i,c=c.parent;return n.clickStatus="expanded",n.onClick=S,t.ah[n.col].expandedCount++,a(t,n.col,e)}a(t,n.col,e)},Q=function(t,n){var e,r,i,o,a,u,c,s;for(r=0,i=(u=t.tr.querySelectorAll("th, td")).length;r<i;r++)e=u[r],rt(e,"rowshow","rowhide");if(t.sTr){for(s=[],a=0,o=(c=t.sTr.querySelectorAll("th, td")).length;a<o;a++)e=c[a],s.push(rt(e,"rowshow","rowhide"));return s}},E=function(t,n){var e,r,i,a,u,c,l,f;for(t.th.textContent=` ${s} ${t.text}`,r=0,i=(c=t.tr.querySelectorAll("th, td")).length;r<i;r++)e=c[r],et(e,"rowexpanded rowhide"),o(e,"rowcollapsed rowshow");if(t.sTr){for(f=[],u=0,a=(l=t.sTr.querySelectorAll("th, td")).length;u<a;u++)e=l[u],et(e,"rowexpanded rowhide"),f.push(o(e,"rowcollapsed rowshow"));return f}},M=function(t,n,e){var r,i,o,a;for(i=0,o=(a=t.children).length;i<o;i++)r=a[i],M(t[r],n,e);return Q(t)},A=function(t,n,e){var r,i,o,u;for(i=0,o=(u=n.children).length;i<o;i++)r=u[i],M(n[r],n,e);return E(n),n.clickStatus="collapsed",n.onClick=$,t.ah[n.col].expandedCount--,a(t,n.col,e)},st=function(t,n){var e,r,i,o,a,u,c,s;for(r=0,i=(u=t.tr.querySelectorAll("th, td")).length;r<i;r++)e=u[r],rt(e,"rowhide","rowshow");if(t.sTr){for(s=[],a=0,o=(c=t.sTr.querySelectorAll("th, td")).length;a<o;a++)e=c[a],s.push(rt(e,"rowhide","rowshow"));return s}},B=function(t,n){var e,r,i,a,u,c,s,f;for(t.th.textContent=` ${l} ${t.text}`,r=0,i=(c=t.tr.querySelectorAll("th, td")).length;r<i;r++)e=c[r],et(e,"rowcollapsed rowhide"),o(e,"rowexpanded rowshow");if(t.sTr){for(f=[],u=0,a=(s=t.sTr.querySelectorAll("th, td")).length;u<a;u++)e=s[u],et(e,"rowcollapsed rowhide"),f.push(o(e,"rowexpanded rowshow"));return f}},I=function(t,n){var e,r,i,a,u,c,s,f;for(t.th.textContent=` ${l} ${t.text}`,r=0,i=(c=t.tr.querySelectorAll("th, td")).length;r<i;r++)e=c[r],et(e,"rowcollapsed rowshow"),o(e,"rowexpanded rowhide");if(et(t.th,"rowcollapsed rowhide"),o(e,"rowexpanded rowshow"),t.sTr){for(f=[],u=0,a=(s=t.sTr.querySelectorAll("th, td")).length;u<a;u++)e=s[u],et(e,"rowcollapsed rowshow"),f.push(o(e,"rowexpanded rowhide"));return f}},H=function(t,n){var e,r,i,o,a;if(0!==t.children.length&&n.hideOnExpand&&"expanded"===t.clickStatus?rt(t.th,"rowhide","rowshow"):st(t),t.sTh&&"expanded"===t.clickStatus&&n.hideOnExpand&&rt(t.sTh,"rowshow","rowhide"),"expanded"===t.clickStatus||t.col>=n.disableFrom){for(a=[],r=0,i=(o=t.children).length;r<i;r++)e=o[r],a.push(H(t[e],n));return a}},$=function(t,n,e){var r,i,o,u;if("expanded"!==n.clickStatus){for(i=0,o=(u=n.children).length;i<o;i++)r=n[u[i]],H(r,e);return 0!==n.children.length&&(e.hideOnExpand?I(n):B(n)),n.clickStatus="expanded",n.onClick=A,t.ah[n.col].expandedCount++,a(t,n.col,e)}a(t,n.col,e)},j=function(t,n,e,r){var i,o,a,u,c,s;if(!(n>(i=Math.min(e.length-2,r.disableFrom-1)))){for(s=[],a=u=i,c=n;u>=c;a=u+=-1)s.push(function(){var n,e,i,u;for(u=[],e=0,n=(i=t.ah[a].attrHeaders).length;e<n;e++)"expanded"===(o=i[e]).clickStatus&&0!==o.children.length&&u.push(t.collapseAttrHeader(t,o,r));return u}());return s}},R=function(t,n,e,r){var i,o,a,u,c;for(t.ah[n],c=[],o=a=0,u=n;0<=u?a<=u:a>=u;o=0<=u?++a:--a)c.push(function(){var n,e,a,u;for(u=[],e=0,n=(a=t.ah[o].attrHeaders).length;e<n;e++)i=a[e],u.push(t.expandAttrHeader(t,i,r));return u}());return c},function(t,n,r,o){var a,u,c,s,l,f,_,w,O,T,C,M,S,k,A,N,E,L,q,R,P,H,F,z;if(L=[],c=[],0!==r.length&&0!==o.length&&(l=nt(o,"pvtColLabel")),0!==t.length&&0!==n.length&&(R=nt(n,"pvtRowLabel")),l&&!ft&&(delete l[e],l.children=l.children.filter(function(t){return t!==e})),P="pvtTable",K&&(P+=" pvtHasRowTotals"),X&&(P+=" pvtHasColTotals"),E=D("table",P,null,{style:"display: none;"}),F=D("thead"),E.appendChild(F),0!==r.length){for(s=h(F,t,r,i),C={counter:0},_=0,w=(k=l.children).length;_<w;_++)u=k[_],d(s,c,l[u],t,r,C,i);if(K&&!ft)for(f=M=0,O=(A=s.ah).length;M<O;f=++M)a=A[f],f===s.ah.length-1?m(a.tr,null,0,r):a.tr.appendChild(D("th","pvtColTotalFiller",null,{colspan:r.length}))}if(H=D("tbody"),E.appendChild(H),0!==t.length)for(q=g(F,t,0,i),m(q.tr,l,0,r),C={counter:0},S=0,T=(N=R.children).length;S<T;S++)u=N[S],y(H,q,L,R[u],t,r,C,i);return x(0,c,L,t,r,i),X&&(z=v(t),r.length>0&&p(z,c,t,r,i),K&&!ft&&b(0,z,t,r,i),H.appendChild(z)),j(s,i.colSubtotalDisplay.collapseAt,r,i.colSubtotalDisplay),j(q,i.rowSubtotalDisplay.collapseAt,t,i.rowSubtotalDisplay),E.setAttribute("data-numrows",n.length),E.setAttribute("data-numcols",o.length),E.style.display="",E}(it,ot,_,w)},t.pivotUtilities.subtotal_renderers={"Table With Subtotal":function(t,n){return o(t,n)},"Table With Subtotal Bar Chart":function(n,e){return t(o(n,e)).barchart()},"Table With Subtotal Heatmap":function(n,e){return t(o(n,e)).heatmap("heatmap",e)},"Table With Subtotal Row Heatmap":function(n,e){return t(o(n,e)).heatmap("rowheatmap",e)},"Table With Subtotal Col Heatmap":function(n,e){return t(o(n,e)).heatmap("colheatmap",e)}},c=t.pivotUtilities.numberFormat({digitsAfterDecimal:1,scaler:100,suffix:"%"}),a=t.pivotUtilities.aggregatorTemplates,u={fractionOf:function(t,n="row",e=c){return function(...r){return function(i,o,a){return void 0===o&&(o=[]),void 0===a&&(a=[]),{selector:{row:[o.slice(0,-1),[]],col:[[],a.slice(0,-1)]}[n],inner:t(...r)(i,o,a),push:function(t){return this.inner.push(t)},format:e,value:function(){return this.inner.value()/i.getAggregator(...this.selector).inner.value()},numInputs:t(...r)().numInputs}}}}},t.pivotUtilities.subtotalAggregatorTemplates=u,t.pivotUtilities.subtotal_aggregators={"Sum As Fraction Of Parent Row":(l=u).fractionOf((s=a).sum(),"row",c),"Sum As Fraction Of Parent Column":l.fractionOf(s.sum(),"col",c),"Count As Fraction Of Parent Row":l.fractionOf(s.count(),"row",c),"Count As Fraction Of Parent Column":l.fractionOf(s.count(),"col",c)}})}).call(this)},function(t,n,e){"use strict";function r(t){return function t(n,e){for(var r=0;r<n.length;r++){var i=n[r];Array.isArray(i)?t(i,e):e.push(i)}return e}(t,[])}function i(t,n){if("number"!=typeof n)throw new TypeError("Expected the depth to be a number");return function t(n,e,r){r--;for(var i=0;i<n.length;i++){var o=n[i];r>-1&&Array.isArray(o)?t(o,e,r):e.push(o)}return e}(t,[],n)}t.exports=function(t){if(!Array.isArray(t))throw new TypeError("Expected value to be an array");return r(t)},t.exports.from=r,t.exports.depth=function(t,n){if(!Array.isArray(t))throw new TypeError("Expected value to be an array");return i(t,n)},t.exports.fromDepth=i},function(t,n,e){var r=e(485);t.exports="string"==typeof r?r:r.toString()},function(t,n,e){(n=t.exports=e(467)(!1)).push([t.i,"@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);",""]),n.push([t.i,'#vis,.vis-container{font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.53846;color:dimgray;background-color:#fff;overflow:auto}#vis *,#vis *::before,#vis *::after,.vis-container *,.vis-container *::before,.vis-container *::after{box-sizing:border-box}#vis table,#vis thead,#vis tbody,#vis th,#vis td,.vis-container table,.vis-container thead,.vis-container tbody,.vis-container th,.vis-container td{font-weight:400;text-align:left}#vis table,.vis-container table{width:100%;border-collapse:separate;border-spacing:0}#vis table thead tr:first-child th:first-child,.vis-container table thead tr:first-child th:first-child{border-top-left-radius:2px}#vis table thead tr:first-child th:last-child,.vis-container table thead tr:first-child th:last-child{border-top-right-radius:2px}#vis table tbody tr:last-child td:first-child,#vis table tbody tr:last-child th:first-child,.vis-container table tbody tr:last-child td:first-child,.vis-container table tbody tr:last-child th:first-child{border-bottom-left-radius:2px}#vis table tbody tr:last-child td:last-child,#vis table tbody tr:last-child th:last-child,.vis-container table tbody tr:last-child td:last-child,.vis-container table tbody tr:last-child th:last-child{border-bottom-right-radius:2px}#vis th,#vis td,.vis-container th,.vis-container td{padding:2px 4px;border-bottom:1px solid rgba(0,0,0,0.05);border-right:1px solid rgba(0,0,0,0.05)}#vis th:last-child,#vis td:last-child,.vis-container th:last-child,.vis-container td:last-child{border-right:none}#vis tr:last-child th,#vis tr:last-child td,.vis-container tr:last-child th,.vis-container tr:last-child td{border-bottom:none}#vis td,.vis-container td{vertical-align:middle}#vis th,.vis-container th{vertical-align:top;white-space:nowrap;user-select:none}#vis th em,.vis-container th em{font-style:normal;font-weight:700}#vis tbody tr td,#vis tbody tr th,.vis-container tbody tr td,.vis-container tbody tr th{background:#fff}#vis tr.pvtColAxisHeaders td,#vis tr.pvtColAxisHeaders th,.vis-container tr.pvtColAxisHeaders td,.vis-container tr.pvtColAxisHeaders th{background:#ccd8e4}#vis tr.pvtColAxisHeaders:nth-child(2) td,#vis tr.pvtColAxisHeaders:nth-child(2) th,.vis-container tr.pvtColAxisHeaders:nth-child(2) td,.vis-container tr.pvtColAxisHeaders:nth-child(2) th{background:#e4ecf3}#vis .pvtRowAxisHeaders .pvtAxisLabel,.vis-container .pvtRowAxisHeaders .pvtAxisLabel{background:#ccd8e4}#vis .pvtColAxisHeaders .pvtAxisLabel,.vis-container .pvtColAxisHeaders .pvtAxisLabel{text-align:right;padding-right:1em}#vis .rowTotalTypeA,#vis .rowTotalTypeC,#vis .rowTotalTypeD,.vis-container .rowTotalTypeA,.vis-container .rowTotalTypeC,.vis-container .rowTotalTypeD{background:#e4d0bd}#vis .pvtRowSubtotal,#vis .pvtVal.pvtRowTotal,#vis .pvtGrandTotal,#vis .rowTotalTypeX,#vis .colTotal,.vis-container .pvtRowSubtotal,.vis-container .pvtVal.pvtRowTotal,.vis-container .pvtGrandTotal,.vis-container .rowTotalTypeX,.vis-container .colTotal{font-weight:700}#vis .pvtVal,#vis .pvtGrandTotal,.vis-container .pvtVal,.vis-container .pvtGrandTotal{text-align:right}#vis .pvtColTotal,.vis-container .pvtColTotal{vertical-align:bottom}#vis .pvtRowLabelFiller,#vis th.pvtRowLabel,.vis-container .pvtRowLabelFiller,.vis-container th.pvtRowLabel{background:#fff !important}#vis .pvtInteractive,.vis-container .pvtInteractive{cursor:pointer}#vis .pvtInteractive:hover,.vis-container .pvtInteractive:hover{color:#434343}#vis .rowhide,#vis .colhide,.vis-container .rowhide,.vis-container .colhide{display:none}\n',""])},function(t,n,e){var r=e(487);t.exports="string"==typeof r?r:r.toString()},function(t,n,e){(n=t.exports=e(467)(!1)).push([t.i,"@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);",""]),n.push([t.i,'#vis,.vis-container{font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.53846;color:#333;background-color:#fff;overflow:auto}#vis *,#vis *::before,#vis *::after,.vis-container *,.vis-container *::before,.vis-container *::after{box-sizing:border-box}#vis table,#vis thead,#vis tbody,#vis th,#vis td,.vis-container table,.vis-container thead,.vis-container tbody,.vis-container th,.vis-container td{font-weight:400;text-align:left}#vis table,.vis-container table{width:100%;border-collapse:separate;border-spacing:0}#vis table thead tr:first-child th:first-child,.vis-container table thead tr:first-child th:first-child{border-top-left-radius:2px}#vis table thead tr:first-child th:last-child,.vis-container table thead tr:first-child th:last-child{border-top-right-radius:2px}#vis table tbody tr:last-child td:first-child,#vis table tbody tr:last-child th:first-child,.vis-container table tbody tr:last-child td:first-child,.vis-container table tbody tr:last-child th:first-child{border-bottom-left-radius:2px}#vis table tbody tr:last-child td:last-child,#vis table tbody tr:last-child th:last-child,.vis-container table tbody tr:last-child td:last-child,.vis-container table tbody tr:last-child th:last-child{border-bottom-right-radius:2px}#vis th,#vis td,.vis-container th,.vis-container td{padding:2px 4px;border-bottom:1px solid #ddd;border-right:1px solid #ddd}#vis th:last-child,#vis td:last-child,.vis-container th:last-child,.vis-container td:last-child{border-right:none}#vis tr:last-child th,#vis tr:last-child td,.vis-container tr:last-child th,.vis-container tr:last-child td{border-bottom:none}#vis td,.vis-container td{vertical-align:middle}#vis th,.vis-container th{vertical-align:top;white-space:nowrap;user-select:none}#vis th em,.vis-container th em{font-style:normal;font-weight:700}#vis tbody tr td,#vis tbody tr th,.vis-container tbody tr td,.vis-container tbody tr th{background:#fff}#vis tr.pvtColAxisHeaders td,#vis tr.pvtColAxisHeaders th,.vis-container tr.pvtColAxisHeaders td,.vis-container tr.pvtColAxisHeaders th{background:#fff}#vis tr.pvtColAxisHeaders:nth-child(2) td,#vis tr.pvtColAxisHeaders:nth-child(2) th,.vis-container tr.pvtColAxisHeaders:nth-child(2) td,.vis-container tr.pvtColAxisHeaders:nth-child(2) th{background:#fff}#vis .pvtRowAxisHeaders .pvtAxisLabel,.vis-container .pvtRowAxisHeaders .pvtAxisLabel{background:#fff}#vis .pvtColAxisHeaders .pvtAxisLabel,.vis-container .pvtColAxisHeaders .pvtAxisLabel{text-align:right;padding-right:1em}#vis .rowTotalTypeA,#vis .rowTotalTypeC,#vis .rowTotalTypeD,.vis-container .rowTotalTypeA,.vis-container .rowTotalTypeC,.vis-container .rowTotalTypeD{background:#fff}#vis .pvtRowSubtotal,#vis .pvtVal.pvtRowTotal,#vis .pvtGrandTotal,#vis .rowTotalTypeX,#vis .colTotal,.vis-container .pvtRowSubtotal,.vis-container .pvtVal.pvtRowTotal,.vis-container .pvtGrandTotal,.vis-container .rowTotalTypeX,.vis-container .colTotal{font-weight:700}#vis .pvtVal,#vis .pvtGrandTotal,.vis-container .pvtVal,.vis-container .pvtGrandTotal{text-align:right}#vis .pvtColTotal,.vis-container .pvtColTotal{vertical-align:bottom}#vis .pvtRowLabelFiller,#vis th.pvtRowLabel,.vis-container .pvtRowLabelFiller,.vis-container th.pvtRowLabel{background:#fff !important}#vis .pvtInteractive,.vis-container .pvtInteractive{cursor:pointer}#vis .pvtInteractive:hover,.vis-container .pvtInteractive:hover{color:#0d0d0d}#vis .rowhide,#vis .colhide,.vis-container .rowhide,.vis-container .colhide{display:none}#vis .pvtRowTotal th,#vis .pvtRowTotal td,#vis .pvtColTotal,.vis-container .pvtRowTotal th,.vis-container .pvtRowTotal td,.vis-container .pvtColTotal{font-weight:700}\n',""])}])});