u?(t.addError({title:"Too Many "+e+"s",message:"This visualization requires "+(i===u?"exactly":"no more than")+" "+u+" "+e.toLowerCase()+(1===i?"":"s")+".",group:n}),!1):(t.clearErrors(n),!0))},i=n.fields,u=i.pivots,c=i.dimensions,o=i.measure_like;return r("pivot-req","Pivot",u.length,e.min_pivots,e.max_pivots)&&r("dim-req","Dimension",c.length,e.min_dimensions,e.max_dimensions)&&r("mes-req","Measure",o.length,e.min_measures,e.max_measures)}},,,,,,,,,,,,,,function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(172),i=e(464),u=function(t){return t.toString()},c={id:"chord",label:"Chord",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]}},create:function(t,n){t.innerHTML='\n \n ',this.tooltip=r.select(t).append("div").attr("class","chord-tip"),this.svg=r.select(t).append("svg")},computeMatrix:function(t,n,e){var i=r.map(),u=r.map(),c=[],o=0;n.forEach(function(n){t.forEach(function(t){var e=t[n].value;i.has(e)||(u.set(o.toString(),e),i.set(e,o++))})});for(var a=-1;++a"+i+" → "+c+": "+u+"\n "+c+" → "+i+": "+r(e.value)+"
\n "}};looker.plugins.visualizations.add(c)}])});
\ No newline at end of file
diff --git a/dist/collapsible_tree.js b/dist/collapsible_tree.js
index 466e3cb0..ab0b1aa3 100644
--- a/dist/collapsible_tree.js
+++ b/dist/collapsible_tree.js
@@ -1 +1 @@
-!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.collapsible_tree=n():t.collapsible_tree=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=477)}([function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return i}),e.d(n,"o",function(){return u}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return o}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return d}),e.d(n,"g",function(){return b}),e.d(n,"f",function(){return v}),e.d(n,"k",function(){return p}),e.d(n,"n",function(){return g}),e.d(n,"p",function(){return _}),e.d(n,"t",function(){return y}),e.d(n,"s",function(){return m}),e.d(n,"u",function(){return O}),e.d(n,"v",function(){return j}),n.b=function(t){return t>1?0:t<-1?u:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=y(t/2))*t};var r=1e-6,i=1e-12,u=Math.PI,c=u/2,o=u/4,a=2*u,f=180/u,s=u/180,l=Math.abs,h=Math.atan,d=Math.atan2,b=Math.cos,v=Math.ceil,p=Math.exp,g=(Math.floor,Math.log),_=Math.pow,y=Math.sin,m=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,j=Math.tan},function(t,n,e){"use strict";var r=e(199);e.d(n,"b",function(){return r.a});var i=e(33);e.d(n,"c",function(){return i.a});var u=e(228);e.d(n,"f",function(){return u.a});var c=e(104);e.d(n,"g",function(){return c.a});var o=e(229);e.d(n,"h",function(){return o.a});var a=e(52);e.d(n,"i",function(){return a.a});var f=e(53);e.d(n,"j",function(){return f.a});var s=e(34);e.d(n,"a",function(){return s.a});var l=e(102);e.d(n,"k",function(){return l.a});var h=e(230);e.d(n,"l",function(){return h.a});var d=e(4);e.d(n,"m",function(){return d.b});var b=e(54);e.d(n,"n",function(){return b.a});var v=e(103);e.d(n,"o",function(){return v.a});var p=e(107);e.d(n,"p",function(){return p.b});var g=e(231);e.d(n,"q",function(){return g.a});var _=e(232);e.d(n,"r",function(){return _.a});var y=e(55);e.d(n,"s",function(){return y.a});var m=e(56);e.d(n,"e",function(){return m.c}),e.d(n,"d",function(){return m.a})},function(t,n,e){"use strict";n.a=function t(n,e,u,c){function o(t){return n(t=new Date(+t)),t}o.floor=o;o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t};o.round=function(t){var n=o(t),e=o.ceil(t);return t-n0))return c;do{c.push(u=new Date(+t)),e(t,i),n(t)}while(u=t)for(;n(t),!r(t);)t.setTime(t-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})};u&&(o.count=function(t,e){return r.setTime(+t),i.setTime(+e),n(r),n(i),Math.floor(u(r,i))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(c?function(n){return c(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null});return o};var r=new Date,i=new Date},function(t,n,e){"use strict";var r=e(90);e.d(n,"b",function(){return r.c}),e.d(n,"d",function(){return r.b}),e.d(n,"c",function(){return r.a});var i=e(17);e.d(n,"a",function(){return i.a});var u=e(91);e.d(n,"e",function(){return u.a});var c=e(175);e.d(n,"f",function(){return c.a});var o=e(176);e.d(n,"g",function(){return o.a});var a=e(93);e.d(n,"h",function(){return a.a});var f=e(95);e.d(n,"i",function(){return f.a});var s=e(177);e.d(n,"j",function(){return s.a});var l=e(180);e.d(n,"w",function(){return l.a});var h=e(181);e.d(n,"x",function(){return h.a});var d=e(99);e.d(n,"y",function(){return d.a});var b=e(182);e.d(n,"k",function(){return b.a});var v=e(183);e.d(n,"l",function(){return v.a});var p=e(184);e.d(n,"m",function(){return p.a});var g=e(185);e.d(n,"n",function(){return g.a});var _=e(100);e.d(n,"o",function(){return _.a});var y=e(92);e.d(n,"p",function(){return y.a});var m=e(186);e.d(n,"q",function(){return m.a});var O=e(50);e.d(n,"r",function(){return O.a});var j=e(97);e.d(n,"s",function(){return j.a});var x=e(187);e.d(n,"t",function(){return x.a});var w=e(188);e.d(n,"u",function(){return w.a});var M=e(189);e.d(n,"v",function(){return M.a});var k=e(98);e.d(n,"B",function(){return k.a}),e.d(n,"z",function(){return k.b}),e.d(n,"A",function(){return k.c});var T=e(101);e.d(n,"C",function(){return T.a});var N=e(94);e.d(n,"D",function(){return N.a});var E=e(190);e.d(n,"E",function(){return E.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return z}),n.a=P;var r=e(200),i=e(201),u=e(202),c=e(203),o=e(105),a=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),_=e(215),y=e(107),m=e(216),O=e(217),j=e(218),x=e(219),w=e(220),M=e(221),k=e(222),T=e(223),N=e(224),E=e(225),S=e(226),A=e(56),C=e(227),z=[null];function P(t,n){this._groups=t,this._parents=n}function q(){return new P([[document.documentElement]],z)}P.prototype=q.prototype={constructor:P,select:r.a,selectAll:i.a,filter:u.a,data:c.a,enter:o.b,exit:a.a,merge:f.a,order:s.a,sort:l.a,call:h.a,nodes:d.a,node:b.a,size:v.a,empty:p.a,each:g.a,attr:_.a,style:y.a,property:m.a,classed:O.a,text:j.a,html:x.a,raise:w.a,lower:M.a,append:k.a,insert:T.a,remove:N.a,clone:E.a,datum:S.a,on:A.b,dispatch:C.a},n.b=q},function(t,n,e){"use strict";var r=e(58);e.d(n,"a",function(){return r.a});var i=e(114);e.d(n,"b",function(){return i.a});var u=e(61);e.d(n,"c",function(){return u.b});var c=e(112);e.d(n,"d",function(){return c.a});var o=e(115);e.d(n,"g",function(){return o.a});var a=e(35);e.d(n,"m",function(){return a.a});var f=e(116);e.d(n,"n",function(){return f.a});var s=e(237);e.d(n,"r",function(){return s.a});var l=e(117);e.d(n,"s",function(){return l.a});var h=e(238);e.d(n,"t",function(){return h.a}),e.d(n,"u",function(){return h.b});var d=e(241);e.d(n,"v",function(){return d.a});var b=e(111);e.d(n,"o",function(){return b.a}),e.d(n,"p",function(){return b.b}),e.d(n,"q",function(){return b.c});var v=e(242);e.d(n,"j",function(){return v.a}),e.d(n,"k",function(){return v.b});var p=e(243);e.d(n,"l",function(){return p.a});var g=e(244);e.d(n,"h",function(){return g.a}),e.d(n,"i",function(){return g.b});var _=e(245);e.d(n,"e",function(){return _.b}),e.d(n,"f",function(){return _.a});var y=e(246);e.d(n,"w",function(){return y.a})},function(t,n,e){"use strict";e.d(n,"c",function(){return a}),e.d(n,"d",function(){return f}),e.d(n,"b",function(){return h}),e.d(n,"a",function(){return d}),n.g=function(t,n){var e=b(t,n);if(e.state>o)throw new Error("too late; already scheduled");return e},n.h=function(t,n){var e=b(t,n);if(e.state>f)throw new Error("too late; already started");return e},n.f=b;var r=e(12),i=e(36),u=Object(r.a)("start","end","interrupt"),c=[],o=0,a=1,f=2,s=3,l=4,h=5,d=6;function b(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}n.e=function(t,n,e,r,b,v){var p=t.__transition;if(p){if(e in p)return}else t.__transition={};!function(t,n,e){var r,u=t.__transition;function c(h){var v,p,g,_;if(e.state!==a)return b();for(v in u)if((_=u[v]).name===e.name){if(_.state===s)return Object(i.c)(c);_.state===l?(_.state=d,_.timer.stop(),_.on.call("interrupt",t,t.__data__,_.index,_.group),delete u[v]):+v2?t[2]%360*a.r:0,U()):[T*a.h,N*a.h,E*a.h]},R.precision=function(t){return arguments.length?(q=Object(h.a)(L,P=t*t),F()):Object(a.u)(P)},R.fitExtent=function(t,n){return Object(l.a)(R,t,n)},R.fitSize=function(t,n){return Object(l.c)(R,t,n)},R.fitWidth=function(t,n){return Object(l.d)(R,t,n)},R.fitHeight=function(t,n){return Object(l.b)(R,t,n)},function(){return n=t.apply(this,arguments),R.invert=n.invert&&D,U()}}},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return i}),e.d(n,"b",function(){return u}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return o});var r=1e3,i=6e4,u=36e5,c=864e5,o=6048e5},function(t,n,e){"use strict";n.a=j,n.b=x,n.c=function(){return++O};var r=e(1),i=e(252),u=e(253),c=e(254),o=e(255),a=e(256),f=e(257),s=e(258),l=e(259),h=e(260),d=e(261),b=e(262),v=e(263),p=e(264),g=e(265),_=e(266),y=e(267),m=e(37),O=0;function j(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function x(t){return Object(r.m)().transition(t)}var w=r.m.prototype;j.prototype=x.prototype={constructor:j,select:d.a,selectAll:b.a,filter:f.a,merge:s.a,selection:v.a,transition:y.a,call:w.call,nodes:w.nodes,node:w.node,size:w.size,empty:w.empty,each:w.each,on:l.a,attr:i.a,attrTween:u.a,style:p.a,styleTween:g.a,text:_.a,remove:h.a,tween:m.a,delay:c.a,duration:o.a,ease:a.a}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";var r=e(197);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(287);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,i=-1,u=e.length;++in?1:t>=n?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(){this.reset()}n.a=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){u(i,t,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function u(t,n,e){var r=t.s=n+e,i=r-n,u=r-i;t.t=n-u+(e-i)}},function(t,n,e){"use strict";n.a=function(){return Math.random()}},function(t,n,e){"use strict";var r=e(288);e.d(n,"d",function(){return r.a});var i=e(289);e.d(n,"e",function(){return i.a});var u=e(64);e.d(n,"c",function(){return u.a});var c=e(290);e.d(n,"b",function(){return c.a});var o=e(291);e.d(n,"f",function(){return o.a});var a=e(292);e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";n.a=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n.c=function(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(r.a)(isNaN(t)?n:t)},n.b=function(t){return 1==(t=+t)?u:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Object(r.a)(isNaN(n)?e:n)}},n.a=u;var r=e(113);function i(t,n){return function(e){return t+e*n}}function u(t,n){var e=n-t;return e?i(t,e):Object(r.a)(isNaN(t)?n:t)}},function(t,n,e){"use strict";n.g=function(t){return[Object(r.e)(t[1],t[0]),Object(r.c)(t[2])]},n.a=function(t){var n=t[0],e=t[1],i=Object(r.g)(e);return[i*Object(r.g)(n),i*Object(r.t)(n),Object(r.t)(e)]},n.d=function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},n.c=function(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]},n.b=function(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]},n.f=function(t,n){return[t[0]*n,t[1]*n,t[2]*n]},n.e=function(t){var n=Object(r.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n};var r=e(0)},function(t,n,e){"use strict";n.b=function(t){return function(n,e){var i=Object(r.g)(n),u=Object(r.g)(e),c=t(i*u);return[c*u*Object(r.t)(n),c*Object(r.t)(e)]}},n.a=function(t){return function(n,e){var i=Object(r.u)(n*n+e*e),u=t(i),c=Object(r.t)(u),o=Object(r.g)(u);return[Object(r.e)(n*c,i*o),Object(r.c)(i&&e*c/i)]}};var r=e(0)},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(r-n)/t.value;++o0?(a=Math.floor(a/i)*i,f=Math.ceil(f/i)*i,i=Object(r.z)(a,f,e)):i<0&&(a=Math.ceil(a*i)/i,f=Math.floor(f*i)/i,i=Object(r.z)(a,f,e)),i>0?(u[c]=Math.floor(a/i)*i,u[o]=Math.ceil(f/i)*i,n(u)):i<0&&(u[c]=Math.ceil(a*i)/i,u[o]=Math.floor(f*i)/i,n(u)),t},t}},function(t,n,e){"use strict";n.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"d",function(){return i}),e.d(n,"e",function(){return u}),e.d(n,"h",function(){return c}),e.d(n,"i",function(){return o}),e.d(n,"k",function(){return a}),e.d(n,"l",function(){return f}),e.d(n,"f",function(){return s}),e.d(n,"j",function(){return l}),e.d(n,"g",function(){return h}),e.d(n,"m",function(){return d}),n.b=function(t){return t>1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,o=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,d=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((i=t.length)>1)for(var e,r,i,u=1,c=t[n[0]],o=c.length;u=0;)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",function(){return h}),e.d(n,"g",function(){return d}),e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"e",function(){return c}),n.d=v;var r,i,u,c,o=e(458),a=e(169),f=e(170),s=e(89),l=e(88),h=1e-6,d=1e-12;function b(t,n){return n[1]-t[1]||n[0]-t[0]}function v(t,n){var e,h,d,v=t.sort(b).pop();for(c=[],i=new Array(t.length),r=new l.b,u=new l.b;;)if(d=f.c,v&&(!d||v[1]=o)return null;var a=t-i.site[0],f=n-i.site[1],s=a*a+f*f;do{i=u.cells[r=c],c=null,i.halfedges.forEach(function(e){var r=u.edges[e],o=r.left;if(o!==i.site&&o||(o=r.right)){var a=t-o[0],f=n-o[1],l=a*a+f*f;li.o?t-i.w:t<-i.o?t+i.w:t,n]}function c(t,n,e){return(t%=i.w)?n||e?Object(r.a)(a(t),f(n,e)):a(t):n||e?f(n,e):u}function o(t){return function(n,e){return[(n+=t)>i.o?n-i.w:n<-i.o?n+i.w:n,e]}}function a(t){var n=o(t);return n.invert=o(-t),n}function f(t,n){var e=Object(i.g)(t),r=Object(i.t)(t),u=Object(i.g)(n),c=Object(i.t)(n);function o(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*e+a*r;return[Object(i.e)(f*u-l*c,a*e-s*r),Object(i.c)(l*u+f*c)]}return o.invert=function(t,n){var o=Object(i.g)(n),a=Object(i.g)(t)*o,f=Object(i.t)(t)*o,s=Object(i.t)(n),l=s*u-f*c;return[Object(i.e)(f*u+s*c,a*e+l*r),Object(i.c)(l*e-a*r)]},o}u.invert=u,n.a=function(t){function n(n){return(n=t(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n}return t=c(t[0]*i.r,t[1]*i.r,t.length>2?t[2]*i.r:0),n.invert=function(n){return(n=t.invert(n[0]*i.r,n[1]*i.r))[0]*=i.h,n[1]*=i.h,n},n}},function(t,n,e){"use strict";n.a=function(t,n,e,s){function l(r,i){return t<=r&&r<=e&&n<=i&&i<=s}function h(r,i,u,c){var o=0,a=0;if(null==r||(o=d(r,u))!==(a=d(i,u))||v(r,i)<0^u>0)do{c.point(0===o||3===o?t:e,o>1?s:n)}while((o=(o+u+4)%4)!==a);else c.point(i[0],i[1])}function d(i,u){return Object(r.a)(i[0]-t)0?0:3:Object(r.a)(i[0]-e)0?2:1:Object(r.a)(i[1]-n)0?1:0:u>0?3:2}function b(t,n){return v(t.x,n.x)}function v(t,n){var e=d(t,1),r=d(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var d,v,p,g,_,y,m,O,j,x,w,M=r,k=Object(i.a)(),T={point:N,lineStart:function(){T.point=E,v&&v.push(p=[]);x=!0,j=!1,m=O=NaN},lineEnd:function(){d&&(E(g,_),y&&j&&k.rejoin(),d.push(k.result()));T.point=N,j&&M.lineEnd()},polygonStart:function(){M=k,d=[],v=[],w=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,r=v.length;es&&(l-i)*(s-u)>(h-u)*(t-i)&&++n:h<=s&&(l-i)*(s-u)<(h-u)*(t-i)&&--n;return n}(),e=w&&n,i=(d=Object(o.n)(d)).length;(e||i)&&(r.polygonStart(),e&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),i&&Object(c.a)(d,b,n,h,r),r.polygonEnd());M=r,d=v=p=null}};function N(t,n){l(t,n)&&M.point(t,n)}function E(r,i){var c=l(r,i);if(v&&p.push([r,i]),x)g=r,_=i,y=c,x=!1,c&&(M.lineStart(),M.point(r,i));else if(c&&j)M.point(r,i);else{var o=[m=Math.max(f,Math.min(a,m)),O=Math.max(f,Math.min(a,O))],h=[r=Math.max(f,Math.min(a,r)),i=Math.max(f,Math.min(a,i))];Object(u.a)(o,h,t,n,e,s)?(j||(M.lineStart(),M.point(o[0],o[1])),M.point(h[0],h[1]),c||M.lineEnd(),w=!1):c&&(M.lineStart(),M.point(r,i),w=!1)}m=r,O=i,j=c}return T}};var r=e(0),i=e(132),u=e(330),c=e(133),o=e(3),a=1e9,f=-a},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n.b=r,n.a=function(t){return{stream:r(t)}},i.prototype={constructor:i,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";n.a=function(t,n,e,r,i){for(var u,c=t.children,o=-1,a=c.length,f=t.value&&(i-e)/t.value;++o2?l:s,r=c=null,g}function g(n){return(r||(r=e(h,d,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}(t):t,b)))(+n)}return g.invert=function(t){return(c||(c=e(d,h,f,v?function(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}(n):n)))(+t)},g.domain=function(t){return arguments.length?(h=u.a.call(t,o.a),p()):h.slice()},g.range=function(t){return arguments.length?(d=u.b.call(t),p()):d.slice()},g.rangeRound=function(t){return d=u.b.call(t),b=i.r,p()},g.clamp=function(t){return arguments.length?(v=!!t,p()):v},g.interpolate=function(t){return arguments.length?(b=t,p()):b},p()};var r=e(3),i=e(5),u=e(15),c=e(81),o=e(150),a=[0,1];function f(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(c.a)(n)}function s(t,n,e,r){var i=t[0],u=t[1],c=n[0],o=n[1];return u=1)return+e(t[i-1],i-1,t);var i,u=(i-1)*n,c=Math.floor(u),o=+e(t[c],c,t);return o+(+e(t[c+1],c+1,t)-o)*(u-c)}}},function(t,n,e){"use strict";var r=e(198);e.d(n,"a",function(){return r.a});var i=e(108);e.d(n,"b",function(){return i.a}),e.d(n,"c",function(){return i.b})},function(t,n,e){"use strict";var r=e(53);n.a=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.a.hasOwnProperty(n)?{space:r.a[n],local:t}:t}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";n.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,n,e){"use strict";function r(){}n.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,n,e){"use strict";n.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),n.a=function(t,n,e,r){var u=i;t.sourceEvent=i,i=t;try{return n.apply(e,r)}finally{i=u}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function u(t,n,e){return t=c(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function c(t,n,e){return function(r){var u=i;i=r;try{t.call(this,this.__data__,n,e)}finally{i=u}}}function o(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,u=n.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),c=u.length;if(!(arguments.length<2)){for(f=n?a:o,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=l.exec(t))?m(parseInt(n[1],16)):(n=h.exec(t))?new w(n[1],n[2],n[3],1):(n=d.exec(t))?new w(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=b.exec(t))?O(n[1],n[2],n[3],n[4]):(n=v.exec(t))?O(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=p.exec(t))?M(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?M(n[1],n[2]/100,n[3]/100,n[4]):_.hasOwnProperty(t)?m(_[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function m(t){return new w(t>>16&255,t>>8&255,255&t,1)}function O(t,n,e,r){return r<=0&&(t=n=e=NaN),new w(t,n,e,r)}function j(t){return t instanceof i||(t=y(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function x(t,n,e,r){return 1===arguments.length?j(t):new w(t,n,e,null==r?1:r)}function w(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function M(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function k(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=y(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,u=Math.min(n,e,r),c=Math.max(n,e,r),o=NaN,a=c-u,f=(c+u)/2;return a?(o=n===c?(e-r)/a+6*(e0&&f<1?0:o,new T(o,a,f,t.opacity)}(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}Object(r.a)(i,y,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(r.a)(w,x,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(r.a)(T,k,Object(r.b)(i,{brighter:function(t){return t=null==t?c:Math.pow(c,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new w(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,n,e){"use strict";n.b=function(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e},n.a=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t}},function(t,n,e){"use strict";function r(t,n,e,r,i){var u=t*t,c=u*t;return((1-3*t+3*u-c)*n+(4-6*u+3*c)*e+(1+3*t+3*u-3*c)*r+c*i)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),u=t[i],c=t[i+1],o=i>0?t[i-1]:2*u-c,a=i=0&&n._call.call(null,t),n=n._next;--u}function y(){s=(f=h.now())+l,u=c=0;try{_()}finally{u=0,function(){var t,n,e=r,u=1/0;for(;e;)e._call?(u>e._time&&(u=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,O(u)}(),s=0}}function m(){var t=h.now(),n=t-f;n>a&&(l-=n,f=t)}function O(t){u||(c&&(c=clearTimeout(c)),t-s>24?(t<1/0&&(c=setTimeout(y,t-h.now()-l)),o&&(o=clearInterval(o))):(o||(f=h.now(),o=setInterval(m,a)),u=1,d(y)))}p.prototype=g.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?b():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r="$";function i(){}function u(t,n){var e=new i;if(t instanceof i)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,u=-1,c=t.length;if(null==n)for(;++u=s?d=!0:(a=t.charCodeAt(l++))===c?b=!0:a===o&&(b=!0,t.charCodeAt(l)===c&&++l),t.slice(f+1,n-1).replace(/""/g,'"')}for(;l1?r[0]+r.slice(2):r,+t.slice(e+1)]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=c;var r=e(0),i=e(74),u=e(341);function c(t,n){var e=Object(r.t)(t),i=(e+Object(r.t)(n))/2;if(Object(r.a)(i)=0;--u)f.push(r=e.children[u]=new _(i[u])),r.parent=e,r.depth=e.depth+1;return o.eachBefore(g)}function v(t){return t.children}function p(t){t.data=t.data.data}function g(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function _(t){this.data=t,this.depth=this.height=0,this.parent=null}_.prototype=b.prototype={constructor:_,count:r.a,each:i.a,eachAfter:c.a,eachBefore:u.a,sum:o.a,sort:a.a,path:f.a,ancestors:s.a,descendants:l.a,leaves:h.a,links:d.a,copy:function(){return b(this).eachBefore(p)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";e.d(n,"b",function(){return u}),n.c=c;var r=e(26),i=e(42),u=(1+Math.sqrt(5))/2;function c(t,n,e,u,c,o){for(var a,f,s,l,h,d,b,v,p,g,_,y=[],m=n.children,O=0,j=0,x=m.length,w=n.value;Ob&&(b=f),_=h*h*g,(v=Math.max(b/_,_/d))>p){h-=f;break}p=v}y.push(a={value:h,dice:s1?n:1)},e}(u)},function(t,n,e){"use strict";var r=e(21),i=e(12);n.a=function(t,n){var e,u,c,o,a=Object(i.a)("beforesend","progress","load","error"),f=Object(r.c)(),s=new XMLHttpRequest,l=null,h=null,d=0;function b(t){var n,r=s.status;if(!r&&function(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}(s)||r>=200&&r<300||304===r){if(c)try{n=c.call(e,s)}catch(t){return void a.call("error",e,t)}else n=s;a.call("load",e,n)}else a.call("error",e,t)}if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=b:s.onreadystatechange=function(t){s.readyState>3&&b(t)},s.onprogress=function(t){a.call("progress",e,t)},e={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?f.get(t):(null==n?f.remove(t):f.set(t,n+""),e)},mimeType:function(t){return arguments.length?(u=null==t?null:t+"",e):u},responseType:function(t){return arguments.length?(o=t,e):o},timeout:function(t){return arguments.length?(d=+t,e):d},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",e)},password:function(t){return arguments.length<1?h:(h=null==t?null:t+"",e)},response:function(t){return c=t,e},get:function(t,n){return e.send("GET",t,n)},post:function(t,n){return e.send("POST",t,n)},send:function(n,r,i){return s.open(n,t,!0,l,h),null==u||f.has("accept")||f.set("accept",u+",*/*"),s.setRequestHeader&&f.each(function(t,n){s.setRequestHeader(n,t)}),null!=u&&s.overrideMimeType&&s.overrideMimeType(u),null!=o&&(s.responseType=o),d>0&&(s.timeout=d),null==i&&"function"==typeof r&&(i=r,r=null),null!=i&&1===i.length&&(i=function(t){return function(n,e){t(null==n?e:null)}}(i)),null!=i&&e.on("error",i).on("load",function(t){i(null,t)}),a.call("beforesend",e,s),s.send(null==r?null:r),e},abort:function(){return s.abort(),e},on:function(){var t=a.on.apply(a,arguments);return t===a?e:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return e.get(n)}return e}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(83);e.d(n,"d",function(){return r.a}),e.d(n,"c",function(){return r.b}),e.d(n,"f",function(){return r.c}),e.d(n,"g",function(){return r.d}),e.d(n,"h",function(){return r.e});var i=e(153);e.d(n,"e",function(){return i.a});var u=e(154);e.d(n,"a",function(){return u.a});var c=e(420);e.d(n,"b",function(){return c.a})},function(t,n,e){"use strict";e.d(n,"b",function(){return i}),e.d(n,"c",function(){return u}),e.d(n,"d",function(){return c}),e.d(n,"e",function(){return o}),n.a=f;var r,i,u,c,o,a=e(153);function f(t){return r=Object(a.a)(t),i=r.format,u=r.parse,c=r.utcFormat,o=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(85);n.a=function(){var t=c.a,n=c.b,e=Object(i.a)(!0),o=null,a=u.a,f=null;function s(i){var u,c,s,l=i.length,h=!1;for(null==o&&(f=a(s=Object(r.a)())),u=0;u<=l;++u)!(ur.f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,u=(u*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>r.f){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,o=(o*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,u,c,o,t._x2,t._y2)}function c(t,n){this._context=t,this._alpha=n}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:u(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.a=function t(n){function e(t){return n?new c(t,n):new i.a(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},function(t,n,e){"use strict";n.b=i;var r=e(31);function i(t){for(var n,e=0,r=-1,i=t.length;++rr.f||Math.abs(o[0][1]-o[1][1])>r.f)||delete r.e[a]};var r=e(32);function i(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function u(t,n,e,r,i){var u,c=t[0],o=t[1],a=c[0],f=c[1],s=0,l=1,h=o[0]-a,d=o[1]-f;if(u=n-a,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=r-a,h||!(u<0)){if(u/=h,h<0){if(u>l)return;u>s&&(s=u)}else if(h>0){if(u0)){if(u/=d,d<0){if(u0){if(u>l)return;u>s&&(s=u)}if(u=i-f,d||!(u<0)){if(u/=d,d<0){if(u>l)return;u>s&&(s=u)}else if(d>0){if(u0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*d]),l<1&&(t[1]=[a+l*h,f+l*d]),!0)}}}}}function c(t,n,e,r,i){var u=t[1];if(u)return!0;var c,o,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],b=s[1],v=(l+d)/2,p=(h+b)/2;if(b===h){if(v=r)return;if(l>d){if(a){if(a[1]>=i)return}else a=[v,e];u=[v,i]}else{if(a){if(a[1]1)if(l>d){if(a){if(a[1]>=i)return}else a=[(e-o)/c,e];u=[(i-o)/c,i]}else{if(a){if(a[1]=r)return}else a=[n,c*n+o];u=[r,c*r+o]}else{if(a){if(a[0]>>1;t(n[u],e)<0?r=u+1:i=u}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[u],e)>0?i=u:r=u+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,i=t.length-1,u=t[0],c=new Array(i<0?0:i);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,i,u=t.length,c=-1;if(null==n){for(;++c=e)for(r=i=e;++ce&&(r=e),i=e)for(r=i=e;++ce&&(r=e),i=r?o*=10:a>=i?o*=5:a>=u&&(o*=2);return n=0?(a>=r?10:a>=i?5:a>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=r?10:a>=i?5:a>=u?2:1)}n.a=function(t,n,e){var r,i,u,o,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ue&&(r=e)}else for(;++u=e)for(r=e;++ue&&(r=e);return r}},function(t,n,e){"use strict";var r=e(100);function i(t){return t.length}n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(r.a)(t,i),u=new Array(e);++n1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):i(this.node(),t)}},function(t,n,e){"use strict";n.b=function(t,n){var e=t.document.documentElement,u=Object(r.k)(t).on("dragstart.drag",null);n&&(u.on("click.drag",i.a,!0),setTimeout(function(){u.on("click.drag",null)},0));"onselectstart"in e?u.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)};var r=e(1),i=e(109);n.a=function(t){var n=t.document.documentElement,e=Object(r.k)(t).on("dragstart.drag",i.a,!0);"onselectstart"in n?e.on("selectstart.drag",i.a,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}},function(t,n,e){"use strict";n.b=function(){r.e.stopImmediatePropagation()};var r=e(1);n.a=function(){r.e.preventDefault(),r.e.stopImmediatePropagation()}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"c",function(){return f});var r=e(7),i=e(61),u=e(112),c=e(23);function o(t){return function(n){var e,i,u=n.length,c=new Array(u),o=new Array(u),a=new Array(u);for(e=0;ea&&(o=n.slice(a,o),s[f]?s[f]+=o:s[++f]=o),(e=e[0])===(c=c[0])?s[f]?s[f]+=c:s[++f]=c:(s[++f]=null,l.push({i:f,x:Object(r.a)(e,c)})),a=u.lastIndex;return ar.d&&e.state1?(null==e?h.remove(t):h.set(t,_(e)),n):h.get(t)},find:function(n,e,r){var i,u,c,o,a,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(b.on(t,e),n):b.on(t)}}}},function(t,n,e){"use strict";var r=e(38),i=e(317),u=e(318),c=e(124),o=e(125),a=e(126),f=e(321),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){var n=t.grouping&&t.thousands?Object(i.a)(t.grouping,t.thousands):f.a,e=t.currency,l=t.decimal,h=t.numerals?Object(u.a)(t.numerals):f.a,d=t.percent||"%";function b(t){var r=(t=Object(c.a)(t)).fill,i=t.align,u=t.sign,f=t.symbol,b=t.zero,v=t.width,p=t.comma,g=t.precision,_=t.type,y="$"===f?e[0]:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===f?e[1]:/[%p]/.test(_)?d:"",O=o.a[_],j=!_||/[defgprs%]/.test(_);function x(t){var e,c,o,f=y,d=m;if("c"===_)d=O(t)+d,t="";else{var x=(t=+t)<0;if(t=O(Math.abs(t),g),x&&0==+t&&(x=!1),f=(x?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=("s"===_?s[8+a.b/3]:"")+d+(x&&"("===u?")":""),j)for(e=-1,c=t.length;++e(o=t.charCodeAt(e))||o>57){d=(46===o?l+t.slice(e+1):t.slice(e))+d,t=t.slice(0,e);break}}p&&!b&&(t=n(t,1/0));var w=f.length+t.length+d.length,M=w>1)+f+t+d+M.slice(w);break;default:t=M+f+t+d}return h(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}return{format:b,formatPrefix:function(t,n){var e=b(((t=Object(c.a)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return e(u*t)+o}}}}},function(t,n,e){"use strict";n.a=u;var r=e(125),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function u(t){return new c(t)}function c(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",u=n[2]||">",c=n[3]||"-",o=n[4]||"",a=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):r.a[h]||(h=""),(a||"0"===e&&"="===u)&&(a=!0,e="0",u="="),this.fill=e,this.align=u,this.sign=c,this.symbol=o,this.zero=a,this.width=f,this.comma=s,this.precision=l,this.type=h}u.prototype=c.prototype,c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(t,n,e){"use strict";var r=e(319),i=e(126),u=e(320);n.a={"":r.a,"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Object(u.a)(100*t,n)},r:u.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,n,e){"use strict";e.d(n,"b",function(){return r});var r,i=e(71);n.a=function(t,n){var e=Object(i.a)(t,n);if(!e)return t+"";var u=e[0],c=e[1],o=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,a=u.length;return o===a?u:o>a?u+new Array(o-a+1).join("0"):o>0?u.slice(0,o)+"."+u.slice(o):"0."+new Array(1-o).join("0")+Object(i.a)(t,Math.max(0,n+o-1))[0]}},function(t,n,e){"use strict";e.d(n,"a",function(){return h}),e.d(n,"b",function(){return b});var r,i,u,c,o,a=e(19),f=e(0),s=e(11),l=e(14),h=Object(a.a)(),d=Object(a.a)(),b={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){h.reset(),b.lineStart=v,b.lineEnd=p},polygonEnd:function(){var t=+h;d.add(t<0?f.w+t:t),this.lineStart=this.lineEnd=this.point=s.a},sphere:function(){d.add(f.w)}};function v(){b.point=g}function p(){_(r,i)}function g(t,n){b.point=_,r=t,i=n,t*=f.r,n*=f.r,u=t,c=Object(f.g)(n=n/2+f.q),o=Object(f.t)(n)}function _(t,n){t*=f.r,n=(n*=f.r)/2+f.q;var e=t-u,r=e>=0?1:-1,i=r*e,a=Object(f.g)(n),s=Object(f.t)(n),l=o*s,d=c*a+l*Object(f.g)(i),b=l*r*Object(f.t)(i);h.add(Object(f.e)(b,d)),u=t,c=a,o=s}n.c=function(t){return d.reset(),Object(l.a)(t,b),2*d}},function(t,n,e){"use strict";n.a=o;var r=e(24),i=e(328),u=e(0),c=e(39);function o(t,n,e,i,c,o){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=i*e;null==c?(c=n+i*u.w,o=n-l/2):(c=a(f,c),o=a(f,o),(i>0?co)&&(c+=i*u.w));for(var h,d=c;i>0?d>o:d0?i.o:-i.o,f=Object(i.a)(c-e);Object(i.a)(f-i.o)0?i.l:-i.l),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):u!==a&&f>=i.o&&(Object(i.a)(e-u)i.i?Object(i.d)((Object(i.t)(n)*(c=Object(i.g)(r))*Object(i.t)(e)-Object(i.t)(r)*(u=Object(i.g)(n))*Object(i.t)(t))/(u*c*o)):(n+r)/2}(e,r,c,o),t.point(u,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=o),u=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var u;if(null==t)u=e*i.l,r.point(-i.o,u),r.point(0,u),r.point(i.o,u),r.point(i.o,0),r.point(i.o,-u),r.point(0,-u),r.point(-i.o,-u),r.point(-i.o,0),r.point(-i.o,u);else if(Object(i.a)(t[0]-n[0])>i.i){var c=t[0]1}function f(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}n.a=function(t,n,e,u){return function(s){var l,h,d,b=n(s),v=Object(r.a)(),p=n(v),g=!1,_={point:y,lineStart:O,lineEnd:j,polygonStart:function(){_.point=x,_.lineStart=w,_.lineEnd=M,h=[],l=[]},polygonEnd:function(){_.point=y,_.lineStart=O,_.lineEnd=j,h=Object(o.n)(h);var t=Object(c.a)(l,u);h.length?(g||(s.polygonStart(),g=!0),Object(i.a)(h,f,t,e,s)):t&&(g||(s.polygonStart(),g=!0),s.lineStart(),e(null,null,1,s),s.lineEnd()),g&&(s.polygonEnd(),g=!1),h=l=null},sphere:function(){s.polygonStart(),s.lineStart(),e(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function y(n,e){t(n,e)&&s.point(n,e)}function m(t,n){b.point(t,n)}function O(){_.point=m,b.lineStart()}function j(){_.point=y,b.lineEnd()}function x(t,n){d.push([t,n]),p.point(t,n)}function w(){p.lineStart(),d=[]}function M(){x(d[0][0],d[0][1]),p.lineEnd();var t,n,e,r,i=p.clean(),u=v.result(),c=u.length;if(d.pop(),l.push(d),d=null,c)if(1&i){if((n=(e=u[0]).length-1)>0){for(g||(s.polygonStart(),g=!0),s.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),h.push(u.filter(a))}return _}}},function(t,n,e){"use strict";var r=e(11);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(134);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function u(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0;--a)o.point((d=h[a])[0],d[1]);else c(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,p=!p}while(!v.v);o.lineEnd()}}}},function(t,n,e){"use strict";var r=e(0);n.a=function(t,n){return Object(r.a)(t[0]-n[0])=0?1:-1,T=k*M,N=T>u.o,E=g*x;if(c.add(Object(u.e)(E*k*Object(u.t)(T),_*w+E*Object(u.g)(T))),a+=N?M+k*u.w:M,N^v>=e^O>=e){var S=Object(i.c)(Object(i.a)(b),Object(i.a)(m));Object(i.e)(S);var A=Object(i.c)(o,S);Object(i.e)(A);var C=(N^M>=0?-1:1)*Object(u.c)(A[2]);(r>C||r===C&&(S[0]||S[1]))&&(f+=N^M>=0?1:-1)}}return(a<-u.i||a0,f=Object(u.a)(n)>u.i;function s(t,e){return Object(u.g)(t)*Object(u.g)(e)>n}function l(t,e,i){var c=Object(r.a)(t),o=Object(r.a)(e),a=[1,0,0],f=Object(r.c)(c,o),s=Object(r.d)(f,f),l=f[0],h=s-l*l;if(!h)return!i&&t;var d=n*s/h,b=-n*l/h,v=Object(r.c)(a,f),p=Object(r.f)(a,d),g=Object(r.f)(f,b);Object(r.b)(p,g);var _=v,y=Object(r.d)(p,_),m=Object(r.d)(_,_),O=y*y-m*(Object(r.d)(p,p)-1);if(!(O<0)){var j=Object(u.u)(O),x=Object(r.f)(_,(-y-j)/m);if(Object(r.b)(x,p),x=Object(r.g)(x),!i)return x;var w,M=t[0],k=e[0],T=t[1],N=e[1];k0^x[1]<(Object(u.a)(x[0]-M)u.o^(M<=x[0]&&x[0]<=k)){var A=Object(r.f)(_,(-y+j)/m);return Object(r.b)(A,p),[x,Object(r.g)(A)]}}}function h(n,e){var r=a?t:u.o-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(o.a)(s,function(t){var n,e,r,i,o;return{lineStart:function(){i=r=!1,o=1},point:function(d,b){var v,p=[d,b],g=s(d,b),_=a?g?0:h(d,b):g?h(d+(d<0?u.o:-u.o),b):0;if(!n&&(i=r=g)&&t.lineStart(),g!==r&&(!(v=l(n,p))||Object(c.a)(n,v)||Object(c.a)(p,v))&&(p[0]+=u.i,p[1]+=u.i,g=s(p[0],p[1])),g!==r)o=0,g?(t.lineStart(),v=l(p,n),t.point(v[0],v[1])):(v=l(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(f&&n&&a^g){var y;_&e||!(y=l(p,n,!0))||(o=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||n&&Object(c.a)(n,p)||t.point(p[0],p[1]),n=p,r=g,e=_},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return o|(i&&r)<<1}}},function(n,r,u,c){Object(i.a)(c,t,e,u,n,r)},a?[0,-t]:[-u.o,t-u.o])}},function(t,n,e){"use strict";var r=e(138),i=[null,null],u={type:"LineString",coordinates:i};n.a=function(t,n){return i[0]=t,i[1]=n,Object(r.a)(u)}},function(t,n,e){"use strict";var r,i,u,c=e(19),o=e(0),a=e(11),f=e(14),s=Object(c.a)(),l={sphere:a.a,point:a.a,lineStart:function(){l.point=d,l.lineEnd=h},lineEnd:a.a,polygonStart:a.a,polygonEnd:a.a};function h(){l.point=l.lineEnd=a.a}function d(t,n){t*=o.r,n*=o.r,r=t,i=Object(o.t)(n),u=Object(o.g)(n),l.point=b}function b(t,n){t*=o.r,n*=o.r;var e=Object(o.t)(n),c=Object(o.g)(n),a=Object(o.a)(t-r),f=Object(o.g)(a),l=c*Object(o.t)(a),h=u*e-i*c*f,d=i*e+u*c*f;s.add(Object(o.e)(Object(o.u)(l*l+h*h),d)),r=t,i=e,u=c}n.a=function(t){return s.reset(),Object(f.a)(t,l),+s}},function(t,n,e){"use strict";var r=e(11),i=1/0,u=i,c=-i,o=c,a={point:function(t,n){tc&&(c=t);no&&(o=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[i,u],[c,o]];return c=o=-(u=i=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(73);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";n.b=i;var r=e(8);function i(t,n){return[t,n]}i.invert=i,n.a=function(){return Object(r.a)(i).scale(152.63)}},function(t,n,e){"use strict";n.b=a;var r=e(143);function i(t,n,e){var r=t.x,i=t.y,u=n.r+e.r,c=t.r+e.r,o=n.x-r,a=n.y-i,f=o*o+a*a;if(f){var s=.5+((c*=c)-(u*=u))/(2*f),l=Math.sqrt(Math.max(0,2*u*(c+f)-(c-=f)*c-u*u))/(2*f);e.x=r+s*o+l*a,e.y=i+s*a-l*o}else e.x=r+c,e.y=i}function u(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function c(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,u=(n.y*e.r+e.y*n.r)/r;return i*i+u*u}function o(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(f=t.length))return 0;var n,e,a,f,s,l,h,d,b,v,p;if((n=t[0]).x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;i(e,n,a=t[2]),n=new o(n),e=new o(e),a=new o(a),n.next=a.previous=e,e.next=n.previous=a,a.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function o(t,n){for(var e=0;e1);return t+e*u*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(r.a)},function(t,n,e){"use strict";var r=e(20);n.a=function t(n){function e(t){return function(){for(var e=0,r=0;r=12)]},Q:vt,s:pt,S:Y,u:B,U:H,V:X,w:V,W:W,x:null,X:null,y:G,Y:Z,Z:Q,"%":bt},Et={a:function(t){return l[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return gt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:$,e:$,f:et,H:J,I:K,j:tt,L:nt,m:rt,M:it,p:function(t){return f[+(t.getUTCHours()>=12)]},Q:vt,s:pt,S:ut,u:ct,U:ot,V:at,w:ft,W:st,x:null,X:null,y:lt,Y:ht,Z:dt,"%":bt},St={a:function(t,n,e){var r=jt.exec(n.slice(e));return r?(t.w=xt[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=mt.exec(n.slice(e));return r?(t.w=Ot[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=kt.exec(n.slice(e));return r?(t.m=Tt[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=wt.exec(n.slice(e));return r?(t.m=Mt[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return zt(t,n,e,r)},d:w,e:w,f:S,H:k,I:k,j:M,L:E,m:x,M:T,p:function(t,n,e){var r=_t.exec(n.slice(e));return r?(t.p=yt[r[0].toLowerCase()],e+r[0].length):-1},Q:C,s:z,S:N,u:p,U:g,V:_,w:v,W:y,x:function(t,n,r){return zt(t,e,n,r)},X:function(t,n,e){return zt(t,a,n,e)},y:O,Y:m,Z:j,"%":A};function At(t,n){return function(e){var r,i,u,c=[],a=-1,f=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(i=u(c(a.y)),o=i.getUTCDay(),i=o>4||0===o?r.P.ceil(i):Object(r.P)(i),i=r.F.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=n(c(a.y)),o=i.getDay(),i=o>4||0===o?r.l.ceil(i):Object(r.l)(i),i=r.a.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?u(c(a.y)).getUTCDay():n(c(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,u(a)):n(a)}}function zt(t,n,e,r){for(var i,u,c=0,a=n.length,f=e.length;c=f)return-1;if(37===(i=n.charCodeAt(c++))){if(i=n.charAt(c++),!(u=St[i in o?n.charAt(c++):i])||(r=u(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Nt.x=At(e,Nt),Nt.X=At(a,Nt),Nt.c=At(n,Nt),Et.x=At(e,Et),Et.X=At(a,Et),Et.c=At(n,Et),{format:function(t){var n=At(t+="",Nt);return n.toString=function(){return t},n},parse:function(t){var n=Ct(t+="",i);return n.toString=function(){return t},n},utcFormat:function(t){var n=At(t+="",Et);return n.toString=function(){return t},n},utcParse:function(t){var n=Ct(t,u);return n.toString=function(){return t},n}}};var r=e(45);function i(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function u(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function c(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var o={"-":"",_:" ",0:"0"},a=/^\s*\d+/,f=/^%/,s=/[\\^$*+?|[\]().{}]/g;function l(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",u=i.length;return r+(u68?1900:2e3),e+r[0].length):-1}function j(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function w(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function k(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function T(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function N(t,n,e){var r=a.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function E(t,n,e){var r=a.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function S(t,n,e){var r=a.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function A(t,n,e){var r=f.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function C(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function z(t,n,e){var r=a.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function P(t,n){return l(t.getDate(),n,2)}function q(t,n){return l(t.getHours(),n,2)}function R(t,n){return l(t.getHours()%12||12,n,2)}function D(t,n){return l(1+r.a.count(Object(r.D)(t),t),n,3)}function L(t,n){return l(t.getMilliseconds(),n,3)}function U(t,n){return L(t,n)+"000"}function F(t,n){return l(t.getMonth()+1,n,2)}function I(t,n){return l(t.getMinutes(),n,2)}function Y(t,n){return l(t.getSeconds(),n,2)}function B(t){var n=t.getDay();return 0===n?7:n}function H(t,n){return l(r.t.count(Object(r.D)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(r.v)(t):r.v.ceil(t),l(r.v.count(Object(r.D)(t),t)+(4===Object(r.D)(t).getDay()),n,2)}function V(t){return t.getDay()}function W(t,n){return l(r.l.count(Object(r.D)(t),t),n,2)}function G(t,n){return l(t.getFullYear()%100,n,2)}function Z(t,n){return l(t.getFullYear()%1e4,n,4)}function Q(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+l(n/60|0,"0",2)+l(n%60,"0",2)}function $(t,n){return l(t.getUTCDate(),n,2)}function J(t,n){return l(t.getUTCHours(),n,2)}function K(t,n){return l(t.getUTCHours()%12||12,n,2)}function tt(t,n){return l(1+r.F.count(Object(r._7)(t),t),n,3)}function nt(t,n){return l(t.getUTCMilliseconds(),n,3)}function et(t,n){return nt(t,n)+"000"}function rt(t,n){return l(t.getUTCMonth()+1,n,2)}function it(t,n){return l(t.getUTCMinutes(),n,2)}function ut(t,n){return l(t.getUTCSeconds(),n,2)}function ct(t){var n=t.getUTCDay();return 0===n?7:n}function ot(t,n){return l(r.X.count(Object(r._7)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(r.Z)(t):r.Z.ceil(t),l(r.Z.count(Object(r._7)(t),t)+(4===Object(r._7)(t).getUTCDay()),n,2)}function ft(t){return t.getUTCDay()}function st(t,n){return l(r.P.count(Object(r._7)(t),t),n,2)}function lt(t,n){return l(t.getUTCFullYear()%100,n,2)}function ht(t,n){return l(t.getUTCFullYear()%1e4,n,4)}function dt(){return"+0000"}function bt(){return"%"}function vt(t){return+t}function pt(t){return Math.floor(+t/1e3)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(83),i="%Y-%m-%dT%H:%M:%S.%LZ";var u=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(r.d)(i);n.a=u},function(t,n,e){"use strict";var r=e(13),i=e(16),u=e(46),c=e(84),o=e(85);n.a=function(){var t=o.a,n=null,e=Object(i.a)(0),a=o.b,f=Object(i.a)(!0),s=null,l=u.a,h=null;function d(i){var u,c,o,d,b,v=i.length,p=!1,g=new Array(v),_=new Array(v);for(null==s&&(h=l(b=Object(r.a)())),u=0;u<=v;++u){if(!(u=c;--o)h.point(g[o],_[o]);h.lineEnd(),h.areaEnd()}p&&(g[u]=+t(d,u,i),_[u]=+e(d,u,i),h.point(n?+n(d,u,i):g[u],a?+a(d,u,i):_[u]))}if(b)return h=null,b+""||null}function b(){return Object(c.a)().defined(f).curve(l).context(s)}return d.x=function(e){return arguments.length?(t="function"==typeof e?e:Object(i.a)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"==typeof n?n:Object(i.a)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):n},d.y=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),a=null,d):e},d.y0=function(t){return arguments.length?(e="function"==typeof t?t:Object(i.a)(+t),d):e},d.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:Object(i.a)(+t),d):a},d.lineX0=d.lineY0=function(){return b().x(t).y(e)},d.lineY1=function(){return b().x(t).y(a)},d.lineX1=function(){return b().x(n).y(e)},d.defined=function(t){return arguments.length?(f="function"==typeof t?t:Object(i.a)(!!t),d):f},d.curve=function(t){return arguments.length?(l=t,null!=s&&(h=l(s)),d):l},d.context=function(t){return arguments.length?(null==t?s=h=null:h=l(s=t),d):s},d}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),n.b=u;var r=u(e(46).a);function i(t){this._curve=t}function u(t){function n(n){return new i(t(n))}return n._curve=t,n}i.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}}},function(t,n,e){"use strict";n.b=u;var r=e(156),i=e(84);function u(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Object(r.b)(t)):n()._curve},t}n.a=function(){return u(Object(i.a)().curve(r.a))}},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(29);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/i),u=e*r;t.moveTo(0,-e),t.lineTo(u,0),t.lineTo(0,e),t.lineTo(-u,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(29),i=Math.sin(r.j/10)/Math.sin(7*r.j/10),u=Math.sin(r.m/10)*i,c=-Math.cos(r.m/10)*i;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),i=u*e,o=c*e;t.moveTo(0,-e),t.lineTo(i,o);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*i-l*o,l*i+s*o)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,u=1/Math.sqrt(12),c=3*(u/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),o=e/2,a=e*u,f=o,s=e*u+e,l=-f,h=s;t.moveTo(o,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*o-i*a,i*o+r*a),t.lineTo(r*f-i*s,i*f+r*s),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*o+i*a,r*a-i*o),t.lineTo(r*f+i*s,r*s-i*f),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n.a=u;var r=e(47),i=e(49);function u(t,n){this._context=t,this._k=(1-n)/6}u.prototype={areaStart:r.a,areaEnd:r.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(i.c)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.b=function t(n){function e(t){return new u(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.a=i;var r=e(49);function i(t,n){this._context=t,this._k=(1-n)/6}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(r.c)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.b=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},function(t,n,e){"use strict";n.c=function(t){return i.b[t.index]={site:t,halfedges:[]}},n.a=c,n.d=function(){for(var t,n,e,r,c=0,o=i.b.length;ci.f||Math.abs(y-p)>i.f)&&(h.splice(l,0,i.e.push(Object(r.b)(s,g,Math.abs(_-t)i.f?[t,Math.abs(v-t)i.f?[Math.abs(p-u)i.f?[e,Math.abs(v-e)i.f?[Math.abs(p-n)=-u.g)return;var g=h*h+d*d,_=b*b+v*v,y=(v*g-d*_)/p,m=(h*_-b*g)/p,O=c.pop()||new function(){Object(i.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};O.arc=t,O.site=a,O.x=y+s,O.y=(O.cy=m+l)+Math.sqrt(y*y+m*m),t.circle=O;var j=null,x=u.c._;for(;x;)if(O.yt?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(96),i=e(90),u=e(178),c=e(95),o=e(179),a=e(97),f=e(98),s=e(99);n.a=function(){var t=o.a,n=c.a,e=s.a;function l(r){var u,c,o=r.length,s=new Array(o);for(u=0;ud;)b.pop(),--v;var p,g=new Array(v+1);for(u=0;u<=v;++u)(p=g[u]=[]).x0=u>0?b[u-1]:h,p.x1=u=e)for(r=e;++ur&&(r=e)}else for(;++u=e)for(r=e;++ur&&(r=e);return r}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,i=t.length,u=i,c=-1,o=0;if(null==n)for(;++c=0;)for(n=(r=t[i]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(17);n.a=function(t,n){if(e=t.length){var e,i,u=0,c=0,o=t[c];for(null==n&&(n=r.a);++u0&&(e=r-N),U<0?w=M-E:U>0&&(u=a-E),D=h,J.attr("cursor",_.selection),nt());break;default:return}Object(s.a)()},!0).on("keyup.brush",function(){switch(c.e.keyCode){case 16:W&&(z=P=W=!1,nt());break;case 18:D===b&&(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d,nt());break;case 32:D===h&&(c.e.altKey?(L&&(f=x-N*L,e=r+N*L),U&&(w=M-E*U,u=a+E*U),D=b):(L<0?f=x:L>0&&(e=r),U<0?w=M:U>0&&(u=a),D=d),J.attr("cursor",_[R]),nt());break;default:return}Object(s.a)()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",et,!0);Object(i.b)(c.e.view)}Object(s.b)(),Object(o.b)(q),A.call(q),Q.start()}function tt(){var t=Object(c.h)(q);!W||z||P||(Math.abs(t[0]-Z[0])>Math.abs(t[1]-Z[1])?P=!0:z=!0),Z=t,S=!0,Object(s.a)(),nt()}function nt(){var t;switch(N=Z[0]-G[0],E=Z[1]-G[1],D){case h:case l:L&&(N=Math.max(B-e,Math.min(X-f,N)),r=e+N,x=f+N),U&&(E=Math.max(H-u,Math.min(V-w,E)),a=u+E,M=w+E);break;case d:L<0?(N=Math.max(B-e,Math.min(X-e,N)),r=e+N,x=f):L>0&&(N=Math.max(B-f,Math.min(X-f,N)),r=e,x=f+N),U<0?(E=Math.max(H-u,Math.min(V-u,E)),a=u+E,M=w):U>0&&(E=Math.max(H-w,Math.min(V-w,E)),a=u,M=w+E);break;case b:L&&(r=Math.max(B,Math.min(X,e-N*L)),x=Math.max(B,Math.min(X,f+N*L))),U&&(a=Math.max(H,Math.min(V,u-E*U)),M=Math.max(H,Math.min(V,w+E*U)))}x=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,f=u.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),u=0;uO}_.mouse("drag")}function M(){Object(i.k)(i.e.view).on("mousemove.drag mouseup.drag",null),Object(u.b)(i.e.view,e),Object(c.a)(),_.mouse("end")}function k(){if(b.apply(this,arguments)){var t,n,e=i.e.changedTouches,r=v.apply(this,arguments),u=e.length;for(t=0;t