text: !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["@skycatch/photoset-grapher"]=n():t["@skycatch/photoset-grapher"]=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=81)}([function(t,n,e){"use strict";function r(t,n,e,c){function u(n){return t(n=new Date(+n)),n}return u.floor=u,u.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},u.round=function(t){var n=u(t),e=u.ceil(t);return t-n<e-t?n:e},u.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},u.range=function(e,r,a){var i,c=[];if(e=u.ceil(e),a=null==a?1:Math.floor(a),!(e<r&&a>0))return c;do{c.push(i=new Date(+e)),n(e,a),t(e)}while(i<e&&e<r);return c},u.filter=function(e){return r(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(u.count=function(n,r){return a.setTime(+n),i.setTime(+r),t(a),t(i),Math.floor(e(a,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(c?function(n){return c(n)%t==0}:function(n){return u.count(0,n)%t==0}):u:null}),u}n.a=r;var a=new Date,i=new Date},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(30);e.d(n,"creator",function(){return r.a});var a=e(166);e.d(n,"local",function(){return a.a});var i=e(70);e.d(n,"matcher",function(){return i.a});var c=e(167);e.d(n,"mouse",function(){return c.a});var u=e(31);e.d(n,"namespace",function(){return u.a});var o=e(32);e.d(n,"namespaces",function(){return o.a});var f=e(18);e.d(n,"clientPoint",function(){return f.a});var s=e(168);e.d(n,"select",function(){return s.a});var l=e(196);e.d(n,"selectAll",function(){return l.a});var h=e(2);e.d(n,"selection",function(){return h.b});var d=e(35);e.d(n,"selector",function(){return d.a});var b=e(71);e.d(n,"selectorAll",function(){return b.a});var v=e(74);e.d(n,"style",function(){return v.b});var p=e(197);e.d(n,"touch",function(){return p.a});var g=e(198);e.d(n,"touches",function(){return g.a});var y=e(36);e.d(n,"window",function(){return y.a});var m=e(34);e.d(n,"event",function(){return m.c}),e.d(n,"customEvent",function(){return m.a})},function(t,n,e){"use strict";function r(t,n){this._groups=t,this._parents=n}function a(){return new r([[document.documentElement]],E)}e.d(n,"c",function(){return E}),n.a=r;var i=e(169),c=e(170),u=e(171),o=e(172),f=e(72),s=e(174),l=e(175),h=e(176),d=e(177),b=e(178),v=e(179),p=e(180),g=e(181),y=e(182),m=e(183),w=e(184),j=e(74),M=e(185),x=e(186),O=e(187),_=e(188),A=e(189),S=e(190),T=e(191),k=e(192),N=e(193),C=e(194),z=e(34),D=e(195),E=[null];r.prototype=a.prototype={constructor:r,select:i.a,selectAll:c.a,filter:u.a,data:o.a,enter:f.b,exit:s.a,merge:l.a,order:h.a,sort:d.a,call:b.a,nodes:v.a,node:p.a,size:g.a,empty:y.a,each:m.a,attr:w.a,style:j.a,property:M.a,classed:x.a,text:O.a,html:_.a,raise:A.a,lower:S.a,append:T.a,insert:k.a,remove:N.a,datum:C.a,on:z.b,dispatch:D.a},n.b=a},function(t,n,e){"use strict";function r(t,n){var e=i(t,n);if(e.state>l)throw new Error("too late; already scheduled");return e}function a(t,n){var e=i(t,n);if(e.state>d)throw new Error("too late; already started");return e}function i(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function c(t,n,e){function r(t){e.state=h,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(r){var s,l,p,y;if(e.state!==h)return c();for(s in f)if(y=f[s],y.name===e.name){if(y.state===b)return Object(o.b)(a);y.state===v?(y.state=g,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete f[s]):+s<n&&(y.state=g,y.timer.stop(),delete f[s])}if(Object(o.b)(function(){e.state===b&&(e.state=v,e.timer.restart(i,e.delay,e.time),i(r))}),e.state=d,e.on.call("start",t,t.__data__,e.index,e.group),e.state===d){for(e.state=b,u=new Array(p=e.tween.length),s=0,l=-1;s<p;++s)(y=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(u[++l]=y);u.length=l+1}}function i(n){for(var r=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(c),e.state=p,1),a=-1,i=u.length;++a<i;)u[a].call(null,r);e.state===p&&(e.on.call("end",t,t.__data__,e.index,e.group),c())}function c(){e.state=g,e.timer.stop(),delete f[n];for(var r in f)return;delete t.__transition}var u,f=t.__transition;f[n]=e,e.timer=Object(o.c)(r,0,e.time)}e.d(n,"c",function(){return h}),e.d(n,"d",function(){return d}),e.d(n,"b",function(){return p}),e.d(n,"a",function(){return g}),n.g=r,n.h=a,n.f=i;var u=e(76),o=e(77),f=Object(u.a)("start","end","interrupt"),s=[],l=0,h=1,d=2,b=3,v=4,p=5,g=6;n.e=function(t,n,e,r,a,i){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};c(t,e,{name:n,index:r,group:a,on:f,tween:s,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:l})}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(38);e.d(n,"bisect",function(){return r.c}),e.d(n,"bisectRight",function(){return r.b}),e.d(n,"bisectLeft",function(){return r.a});var a=e(10);e.d(n,"ascending",function(){return a.a});var i=e(39);e.d(n,"bisector",function(){return i.a});var c=e(90);e.d(n,"cross",function(){return c.a});var u=e(91);e.d(n,"descending",function(){return u.a});var o=e(41);e.d(n,"deviation",function(){return o.a});var f=e(43);e.d(n,"extent",function(){return f.a});var s=e(92);e.d(n,"histogram",function(){return s.a});var l=e(95);e.d(n,"thresholdFreedmanDiaconis",function(){return l.a});var h=e(96);e.d(n,"thresholdScott",function(){return h.a});var d=e(47);e.d(n,"thresholdSturges",function(){return d.a});var b=e(97);e.d(n,"max",function(){return b.a});var v=e(98);e.d(n,"mean",function(){return v.a});var p=e(99);e.d(n,"median",function(){return p.a});var g=e(100);e.d(n,"merge",function(){return g.a});var y=e(48);e.d(n,"min",function(){return y.a});var m=e(40);e.d(n,"pairs",function(){return m.a});var w=e(101);e.d(n,"permute",function(){return w.a});var j=e(20);e.d(n,"quantile",function(){return j.a});var M=e(45);e.d(n,"range",function(){return M.a});var x=e(102);e.d(n,"scan",function(){return x.a});var O=e(103);e.d(n,"shuffle",function(){return O.a});var _=e(104);e.d(n,"sum",function(){return _.a});var A=e(46);e.d(n,"ticks",function(){return A.a}),e.d(n,"tickIncrement",function(){return A.b}),e.d(n,"tickStep",function(){return A.c});var S=e(49);e.d(n,"transpose",function(){return S.a});var T=e(42);e.d(n,"variance",function(){return T.a});var k=e(105);e.d(n,"zip",function(){return k.a})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(23);e.d(n,"color",function(){return r.e}),e.d(n,"rgb",function(){return r.g}),e.d(n,"hsl",function(){return r.f});var a=e(113);e.d(n,"lab",function(){return a.a}),e.d(n,"hcl",function(){return a.b});var i=e(114);e.d(n,"cubehelix",function(){return i.a})},function(t,n,e){"use strict";e.d(n,"d",function(){return r}),e.d(n,"c",function(){return a}),e.d(n,"b",function(){return i}),e.d(n,"a",function(){return c}),e.d(n,"e",function(){return u});var r=1e3,a=6e4,i=36e5,c=864e5,u=6048e5},function(t,n,e){"use strict";var r=e(22);e.d(n,"a",function(){return r.a});var a=(e(55),e(25),e(53),e(56),e(15));e.d(n,"c",function(){return a.a});var i=(e(57),e(115));e.d(n,"e",function(){return i.a});var c=e(58);e.d(n,"f",function(){return c.a});var u=e(116);e.d(n,"g",function(){return u.a}),e.d(n,"h",function(){return u.b});var o=(e(119),e(52));e.d(n,"d",function(){return o.a});var f=(e(120),e(121),e(122),e(123));e.d(n,"b",function(){return f.a});e(124)},function(t,n,e){"use strict";function r(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function a(t){return Object(c.selection)().transition(t)}function i(){return++O}n.a=r,n.b=a,n.c=i;var c=e(1),u=e(204),o=e(205),f=e(206),s=e(207),l=e(208),h=e(209),d=e(210),b=e(211),v=e(212),p=e(213),g=e(214),y=e(215),m=e(216),w=e(217),j=e(218),M=e(219),x=e(19),O=0,_=c.selection.prototype;r.prototype=a.prototype={constructor:r,select:p.a,selectAll:g.a,filter:h.a,merge:d.a,selection:y.a,transition:M.a,call:_.call,nodes:_.nodes,node:_.node,size:_.size,empty:_.empty,each:_.each,on:b.a,attr:u.a,attrTween:o.a,style:m.a,styleTween:w.a,text:j.a,remove:v.a,tween:x.a,delay:f.a,duration:s.a,ease:l.a}},function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e.d(n,"b",function(){return i});var r=Array.prototype,a=r.map,i=r.slice},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 null===t?NaN:+t}},function(t,n,e){"use strict";function r(t){var n=t.domain;return t.ticks=function(t){var e=n();return Object(i.ticks)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Object(o.a)(n(),t,e)},t.nice=function(e){null==e&&(e=10);var r,a=n(),c=0,u=a.length-1,o=a[c],f=a[u];return f<o&&(r=o,o=f,f=r,r=c,c=u,u=r),r=Object(i.tickIncrement)(o,f,e),r>0?(o=Math.floor(o/r)*r,f=Math.ceil(f/r)*r,r=Object(i.tickIncrement)(o,f,e)):r<0&&(o=Math.ceil(o*r)/r,f=Math.floor(f*r)/r,r=Object(i.tickIncrement)(o,f,e)),r>0?(a[c]=Math.floor(o/r)*r,a[u]=Math.ceil(f/r)*r,n(a)):r<0&&(a[c]=Math.ceil(o*r)/r,a[u]=Math.floor(f*r)/r,n(a)),t},t}function a(){var t=Object(u.b)(u.c,c.c);return t.copy=function(){return Object(u.a)(t,a())},r(t)}n.b=r,n.a=a;var i=e(4),c=e(7),u=e(16),o=e(125)},function(t,n,e){"use strict";function r(t,n){return function(e){return t+e*n}}function a(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)}}function i(t,n){var e=n-t;return e?r(t,e>180||e<-180?e-360*Math.round(e/360):e):Object(o.a)(isNaN(t)?n:t)}function c(t){return 1==(t=+t)?u:function(n,e){return e-n?a(n,e,t):Object(o.a)(isNaN(n)?e:n)}}function u(t,n){var e=n-t;return e?r(t,e):Object(o.a)(isNaN(t)?n:t)}n.c=i,n.b=c,n.a=u;var o=e(54)},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";n.a=function(t,n){return t=+t,n-=t,function(e){return t+n*e}}},function(t,n,e){"use strict";function r(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Object(d.a)(n)}function a(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}function i(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function c(t,n,e,r){var a=t[0],i=t[1],c=n[0],u=n[1];return i<a?(a=e(i,a),c=r(u,c)):(a=e(a,i),c=r(c,u)),function(t){return c(a(t))}}function u(t,n,e,r){var a=Math.min(t.length,n.length)-1,i=new Array(a),c=new Array(a),u=-1;for(t[a]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<a;)i[u]=e(t[u],t[u+1]),c[u]=r(n[u],n[u+1]);return function(n){var e=Object(s.bisect)(t,n,1,a)-1;return c[e](i[e](n))}}function o(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function f(t,n){function e(){return f=Math.min(p.length,g.length)>2?u:c,s=d=null,o}function o(n){return(s||(s=f(p,g,m?a(t):t,y)))(+n)}var f,s,d,p=v,g=v,y=l.a,m=!1;return o.invert=function(t){return(d||(d=f(g,p,r,m?i(n):n)))(+t)},o.domain=function(t){return arguments.length?(p=h.a.call(t,b.a),e()):p.slice()},o.range=function(t){return arguments.length?(g=h.b.call(t),e()):g.slice()},o.rangeRound=function(t){return g=h.b.call(t),y=l.e,e()},o.clamp=function(t){return arguments.length?(m=!!t,e()):m},o.interpolate=function(t){return arguments.length?(y=t,e()):y},e()}n.c=r,n.a=o,n.b=f;var s=e(4),l=e(7),h=e(9),d=e(26),b=e(59),v=[0,1]},function(t,n,e){"use strict";var r=e(27);n.a=function(t){return t=Object(r.a)(Math.abs(t)),t?t[1]:NaN}},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()),[r.x,r.y]}var a=t.getBoundingClientRect();return[n.clientX-a.left-t.clientLeft,n.clientY-a.top-t.clientTop]}},function(t,n,e){"use strict";function r(t,n){var e,r;return function(){var a=Object(c.h)(this,t),i=a.tween;if(i!==e){r=e=i;for(var u=0,o=r.length;u<o;++u)if(r[u].name===n){r=r.slice(),r.splice(u,1);break}}a.tween=r}}function a(t,n,e){var r,a;if("function"!=typeof e)throw new Error;return function(){var i=Object(c.h)(this,t),u=i.tween;if(u!==r){a=(r=u).slice();for(var o={name:n,value:e},f=0,s=a.length;f<s;++f)if(a[f].name===n){a[f]=o;break}f===s&&a.push(o)}i.tween=a}}function i(t,n,e){var r=t._id;return t.each(function(){var t=Object(c.h)(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return Object(c.f)(t,r).value[n]}}n.b=i;var c=e(3);n.a=function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var i,u=Object(c.f)(this.node(),e).tween,o=0,f=u.length;o<f;++o)if((i=u[o]).name===t)return i.value;return null}return this.each((null==n?r:a)(e,t,n))}},function(t,n,e){"use strict";var r=e(11);n.a=function(t,n,e){if(null==e&&(e=r.a),a=t.length){if((n=+n)<=0||a<2)return+e(t[0],0,t);if(n>=1)return+e(t[a-1],a-1,t);var a,i=(a-1)*n,c=Math.floor(i),u=+e(t[c],c,t);return u+(+e(t[c+1],c+1,t)-u)*(i-c)}}},function(t,n,e){"use strict";function r(){}function a(t,n){var e=new r;if(t instanceof r)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var a,i=-1,c=t.length;if(null==n)for(;++i<c;)e.set(i,t[i]);else for(;++i<c;)e.set(n(a=t[i],i,t),a)}else if(t)for(var u in t)e.set(u,t[u]);return e}e.d(n,"b",function(){return i});var i="$";r.prototype=a.prototype={constructor:r,has:function(t){return i+t in this},get:function(t){return this[i+t]},set:function(t,n){return this[i+t]=n,this},remove:function(t){var n=i+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===i&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===i&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===i&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===i&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===i&&++t;return t},empty:function(){for(var t in this)if(t[0]===i)return!1;return!0},each:function(t){for(var n in this)n[0]===i&&t(this[n],n.slice(1),this)}},n.a=a},function(t,n,e){"use strict";var r=e(5),a=e(52),i=e(55),c=e(56),u=e(15),o=e(57),f=e(58),s=e(54);n.a=function(t,n){var e,l=typeof n;return null==n||"boolean"===l?Object(s.a)(n):("number"===l?u.a:"string"===l?(e=Object(r.color)(n))?(n=e,a.a):f.a:n instanceof r.color?a.a:n instanceof Date?c.a:Array.isArray(n)?i.a:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?o.a:u.a)(t,n)}},function(t,n,e){"use strict";function r(){}function a(t){var n;return t=(t+"").trim().toLowerCase(),(n=j.exec(t))?(n=parseInt(n[1],16),new f(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=M.exec(t))?i(parseInt(n[1],16)):(n=x.exec(t))?new f(n[1],n[2],n[3],1):(n=O.exec(t))?new f(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=_.exec(t))?c(n[1],n[2],n[3],n[4]):(n=A.exec(t))?c(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=S.exec(t))?s(n[1],n[2]/100,n[3]/100,1):(n=T.exec(t))?s(n[1],n[2]/100,n[3]/100,n[4]):k.hasOwnProperty(t)?i(k[t]):"transparent"===t?new f(NaN,NaN,NaN,0):null}function i(t){return new f(t>>16&255,t>>8&255,255&t,1)}function c(t,n,e,r){return r<=0&&(t=n=e=NaN),new f(t,n,e,r)}function u(t){return t instanceof r||(t=a(t)),t?(t=t.rgb(),new f(t.r,t.g,t.b,t.opacity)):new f}function o(t,n,e,r){return 1===arguments.length?u(t):new f(t,n,e,null==r?1:r)}function f(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function s(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new d(t,n,e,r)}function l(t){if(t instanceof d)return new d(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=a(t)),!t)return new d;if(t instanceof d)return t;t=t.rgb();var n=t.r/255,e=t.g/255,i=t.b/255,c=Math.min(n,e,i),u=Math.max(n,e,i),o=NaN,f=u-c,s=(u+c)/2;return f?(o=n===u?(e-i)/f+6*(e<i):e===u?(i-n)/f+2:(n-e)/f+4,f/=s<.5?u+c:2-u-c,o*=60):f=s>0&&s<1?0:o,new d(o,f,s,t.opacity)}function h(t,n,e,r){return 1===arguments.length?l(t):new d(t,n,e,null==r?1:r)}function d(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function b(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}n.a=r,e.d(n,"d",function(){return p}),e.d(n,"c",function(){return g}),n.e=a,n.h=u,n.g=o,n.b=f,n.f=h;var v=e(24),p=.7,g=1/p,y="\\s*([+-]?\\d+)\\s*",m="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",w="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",j=/^#([0-9a-f]{3})$/,M=/^#([0-9a-f]{6})$/,x=new RegExp("^rgb\\("+[y,y,y]+"\\)$"),O=new RegExp("^rgb\\("+[w,w,w]+"\\)$"),_=new RegExp("^rgba\\("+[y,y,y,m]+"\\)$"),A=new RegExp("^rgba\\("+[w,w,w,m]+"\\)$"),S=new RegExp("^hsl\\("+[m,w,w]+"\\)$"),T=new RegExp("^hsla\\("+[m,w,w,m]+"\\)$"),k={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};Object(v.a)(r,a,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(v.a)(f,o,Object(v.b)(r,{brighter:function(t){return t=null==t?g:Math.pow(g,t),new f(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?p:Math.pow(p,t),new f(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(v.a)(d,h,Object(v.b)(r,{brighter:function(t){return t=null==t?g:Math.pow(g,t),new d(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?p:Math.pow(p,t),new d(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,a=2*e-r;return new f(b(t>=240?t-240:t+120,a,r),b(t,a,r),b(t<120?t+240:t-120,a,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";function r(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}n.b=r,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,a){var i=t*t,c=i*t;return((1-3*t+3*i-c)*n+(4-6*i+3*c)*e+(1+3*t+3*i-3*c)*r+c*a)/6}n.a=r,n.b=function(t){var n=t.length-1;return function(e){var a=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[a],c=t[a+1],u=a>0?t[a-1]:2*i-c,o=a<n-1?t[a+2]:2*c-i;return r((e-a/n)*n,u,i,c,o)}}},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){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";var r=(e(0),e(140));e.d(n,"c",function(){return r.a}),e.d(n,"n",function(){return r.a});var a=e(141);e.d(n,"g",function(){return a.a}),e.d(n,"r",function(){return a.a});var i=e(142);e.d(n,"d",function(){return i.a});var c=e(143);e.d(n,"b",function(){return c.a});var u=e(144);e.d(n,"a",function(){return u.a});var o=e(145);e.d(n,"j",function(){return o.b}),e.d(n,"h",function(){return o.b}),e.d(n,"e",function(){return o.a}),e.d(n,"i",function(){return o.c});var f=e(146);e.d(n,"f",function(){return f.a});var s=e(147);e.d(n,"k",function(){return s.a});var l=e(148);e.d(n,"o",function(){return l.a});var h=e(149);e.d(n,"m",function(){return h.a});var d=e(150);e.d(n,"l",function(){return d.a});var b=e(151);e.d(n,"u",function(){return b.b}),e.d(n,"s",function(){return b.b}),e.d(n,"p",function(){return b.a}),e.d(n,"t",function(){return b.c});var v=e(152);e.d(n,"q",function(){return v.a});var p=e(153);e.d(n,"v",function(){return p.a})},function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e.d(n,"b",function(){return c}),e.d(n,"c",function(){return u});var r,a,i,c,u,o=e(68);!function(t){r=Object(o.a)(t),a=r.format,i=r.parse,c=r.utcFormat,u=r.utcParse}({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";function r(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===c.b&&n.documentElement.namespaceURI===c.b?n.createElement(t):n.createElementNS(e,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var i=e(31),c=e(32);n.a=function(t){var n=Object(i.a)(t);return(n.local?a:r)(n)}},function(t,n,e){"use strict";var r=e(32);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";var r=e(34);n.a=function(){for(var t,n=r.c;t=n.sourceEvent;)n=t;return n}},function(t,n,e){"use strict";function r(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 a=s;s=r;try{t.call(this,this.__data__,n,e)}finally{s=a}}}function i(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}})}function c(t){return function(){var n=this.__on;if(n){for(var e,r=0,a=-1,i=n.length;r<i;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++a]=e:this.removeEventListener(e.type,e.listener,e.capture);++a?n.length=a:delete this.__on}}}function u(t,n,e){var i=f.hasOwnProperty(t.type)?r:a;return function(r,a,c){var u,o=this.__on,f=i(n,a,c);if(o)for(var s=0,l=o.length;s<l;++s)if((u=o[s]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=f,u.capture=e),void(u.value=n);this.addEventListener(t.type,f,e),u={type:t.type,name:t.name,value:n,listener:f,capture:e},o?o.push(u):this.__on=[u]}}function o(t,n,e,r){var a=s;t.sourceEvent=s,s=t;try{return n.apply(e,r)}finally{s=a}}e.d(n,"c",function(){return s}),n.a=o;var f={},s=null;if("undefined"!=typeof document){"onmouseenter"in document.documentElement||(f={mouseenter:"mouseover",mouseleave:"mouseout"})}n.b=function(t,n,e){var r,a,o=i(t+""),f=o.length;{if(!(arguments.length<2)){for(s=n?u:c,null==e&&(e=!1),r=0;r<f;++r)this.each(s(o[r],n,e));return this}var s=this.node().__on;if(s)for(var l,h=0,d=s.length;h<d;++h)for(r=0,l=s[h];r<f;++r)if((a=o[r]).type===l.type&&a.name===l.name)return l.value}}},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";function r(){return m||(M(a),m=j.now()+w)}function a(){m=0}function i(){this._call=this._time=this._next=null}function c(t,n,e){var r=new i;return r.restart(t,n,e),r}function u(){r(),++b;for(var t,n=h;n;)(t=m-n._time)>=0&&n._call.call(null,t),n=n._next;--b}function o(){m=(y=j.now())+w,b=v=0;try{u()}finally{b=0,s(),m=0}}function f(){var t=j.now(),n=t-y;n>g&&(w-=n,y=t)}function s(){for(var t,n,e=h,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:h=n);d=t,l(r)}function l(t){if(!b){v&&(v=clearTimeout(v));t-m>24?(t<1/0&&(v=setTimeout(o,t-j.now()-w)),p&&(p=clearInterval(p))):(p||(y=j.now(),p=setInterval(f,g)),b=1,M(o))}}n.b=r,n.a=i,n.c=c;var h,d,b=0,v=0,p=0,g=1e3,y=0,m=0,w=0,j="object"==typeof performance&&performance.now?performance:Date,M="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};i.prototype=c.prototype={constructor:i,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?r():+e)+(null==n?0:+n),this._next||d===this||(d?d._next=this:h=this,d=this),this._call=t,this._time=e,l()},stop:function(){this._call&&(this._call=null,this._time=1/0,l())}}},function(t,n,e){"use strict";e.d(n,"b",function(){return c}),e.d(n,"a",function(){return u});var r=e(10),a=e(39),i=Object(a.a)(r.a),c=i.right,u=i.left;n.c=c},function(t,n,e){"use strict";function r(t){return function(n,e){return Object(a.a)(t(n),e)}}var a=e(10);n.a=function(t){return 1===t.length&&(t=r(t)),{left:function(n,e,r,a){for(null==r&&(r=0),null==a&&(a=n.length);r<a;){var i=r+a>>>1;t(n[i],e)<0?r=i+1:a=i}return r},right:function(n,e,r,a){for(null==r&&(r=0),null==a&&(a=n.length);r<a;){var i=r+a>>>1;t(n[i],e)>0?a=i:r=i+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,a=t.length-1,i=t[0],c=new Array(a<0?0:a);e<a;)c[e]=n(i,i=t[++e]);return c}},function(t,n,e){"use strict";var r=e(42);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(11);n.a=function(t,n){var e,a,i=t.length,c=0,u=-1,o=0,f=0;if(null==n)for(;++u<i;)isNaN(e=Object(r.a)(t[u]))||(a=e-o,o+=a/++c,f+=a*(e-o));else for(;++u<i;)isNaN(e=Object(r.a)(n(t[u],u,t)))||(a=e-o,o+=a/++c,f+=a*(e-o));if(c>1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,a,i=t.length,c=-1;if(null==n){for(;++c<i;)if(null!=(e=t[c])&&e>=e)for(r=a=e;++c<i;)null!=(e=t[c])&&(r>e&&(r=e),a<e&&(a=e))}else for(;++c<i;)if(null!=(e=n(t[c],c,t))&&e>=e)for(r=a=e;++c<i;)null!=(e=n(t[c],c,t))&&(r>e&&(r=e),a<e&&(a=e));return[r,a]}},function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"a",function(){return i});var r=Array.prototype,a=r.slice,i=r.map},function(t,n,e){"use strict";n.a=function(t,n,e){t=+t,n=+n,e=(a=arguments.length)<2?(n=t,t=0,1):a<3?1:+e;for(var r=-1,a=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(a);++r<a;)i[r]=t+r*e;return i}},function(t,n,e){"use strict";function r(t,n,e){var r=(n-t)/Math.max(0,e),a=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,a);return a>=0?(o>=i?10:o>=c?5:o>=u?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(o>=i?10:o>=c?5:o>=u?2:1)}function a(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/a;return o>=i?a*=10:o>=c?a*=5:o>=u&&(a*=2),n<t?-a:a}n.b=r,n.c=a;var i=Math.sqrt(50),c=Math.sqrt(10),u=Math.sqrt(2);n.a=function(t,n,e){var a,i,c,u,o=-1;if(n=+n,t=+t,e=+e,t===n&&e>0)return[t];if((a=n<t)&&(i=t,t=n,n=i),0===(u=r(t,n,e))||!isFinite(u))return[];if(u>0)for(t=Math.ceil(t/u),n=Math.floor(n/u),c=new Array(i=Math.ceil(n-t+1));++o<i;)c[o]=(t+o)*u;else for(t=Math.floor(t*u),n=Math.ceil(n*u),c=new Array(i=Math.ceil(t-n+1));++o<i;)c[o]=(t-o)/u;return a&&c.reverse(),c}},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,a=t.length,i=-1;if(null==n){for(;++i<a;)if(null!=(e=t[i])&&e>=e)for(r=e;++i<a;)null!=(e=t[i])&&r>e&&(r=e)}else for(;++i<a;)if(null!=(e=n(t[i],i,t))&&e>=e)for(r=e;++i<a;)null!=(e=n(t[i],i,t))&&r>e&&(r=e);return r}},function(t,n,e){"use strict";function r(t){return t.length}var a=e(48);n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(a.a)(t,r),i=new Array(e);++n<e;)for(var c,u=-1,o=i[n]=new Array(c);++u<c;)o[u]=t[u][n];return i}},function(t,n,e){"use strict";function r(t){function n(n){var r=n+"",a=e.get(r);if(!a){if(o!==c)return o;e.set(r,a=u.push(n))}return t[(a-1)%t.length]}var e=Object(a.a)(),u=[],o=c;return t=null==t?[]:i.b.call(t),n.domain=function(t){if(!arguments.length)return u.slice();u=[],e=Object(a.a)();for(var r,i,c=-1,o=t.length;++c<o;)e.has(i=(r=t[c])+"")||e.set(i,u.push(r));return n},n.range=function(e){return arguments.length?(t=i.b.call(e),n):t.slice()},n.unknown=function(t){return arguments.length?(o=t,n):o},n.copy=function(){return r().domain(u).range(t).unknown(o)},n}e.d(n,"b",function(){return c}),n.a=r;var a=e(106),i=e(9),c={name:"implicit"}},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return a});var r=Math.PI/180,a=180/Math.PI},function(t,n,e){"use strict";function r(t){return function(n){var e,r,i=n.length,c=new Array(i),u=new Array(i),o=new Array(i);for(e=0;e<i;++e)r=Object(a.rgb)(n[e]),c[e]=r.r||0,u[e]=r.g||0,o[e]=r.b||0;return c=t(c),u=t(u),o=t(o),r.opacity=1,function(t){return r.r=c(t),r.g=u(t),r.b=o(t),r+""}}}var a=e(5),i=e(25),c=e(53),u=e(13);n.a=function t(n){function e(t,n){var e=r((t=Object(a.rgb)(t)).r,(n=Object(a.rgb)(n)).r),i=r(t.g,n.g),c=r(t.b,n.b),o=Object(u.a)(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=c(n),t.opacity=o(n),t+""}}var r=Object(u.b)(n);return e.gamma=t,e}(1);r(i.b),r(c.a)},function(t,n,e){"use strict";var r=e(25);n.a=function(t){var n=t.length;return function(e){var a=Math.floor(((e%=1)<0?++e:e)*n),i=t[(a+n-1)%n],c=t[a%n],u=t[(a+1)%n],o=t[(a+2)%n];return Object(r.a)((e-a/n)*n,i,c,u,o)}}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,a=n?n.length:0,i=t?Math.min(a,t.length):0,c=new Array(i),u=new Array(a);for(e=0;e<i;++e)c[e]=Object(r.a)(t[e],n[e]);for(;e<a;++e)u[e]=n[e];return function(t){for(e=0;e<i;++e)u[e]=c[e](t);return u}}},function(t,n,e){"use strict";n.a=function(t,n){var e=new Date;return t=+t,n-=t,function(r){return e.setTime(t+n*r),e}}},function(t,n,e){"use strict";var r=e(22);n.a=function(t,n){var e,a={},i={};null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={});for(e in n)e in t?a[e]=Object(r.a)(t[e],n[e]):i[e]=n[e];return function(t){for(e in a)i[e]=a[e](t);return i}}},function(t,n,e){"use strict";function r(t){return function(){return t}}function a(t){return function(n){return t(n)+""}}var i=e(15),c=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,u=new RegExp(c.source,"g");n.a=function(t,n){var e,o,f,s=c.lastIndex=u.lastIndex=0,l=-1,h=[],d=[];for(t+="",n+="";(e=c.exec(t))&&(o=u.exec(n));)(f=o.index)>s&&(f=n.slice(s,f),h[l]?h[l]+=f:h[++l]=f),(e=e[0])===(o=o[0])?h[l]?h[l]+=o:h[++l]=o:(h[++l]=null,d.push({i:l,x:Object(i.a)(e,o)})),s=u.lastIndex;return s<n.length&&(f=n.slice(s),h[l]?h[l]+=f:h[++l]=f),h.length<2?d[0]?a(d[0].x):r(n):(n=d.length,function(t){for(var e,r=0;r<n;++r)h[(e=d[r]).i]=e.x(t);return h.join("")})}},function(t,n,e){"use strict";n.a=function(t){return+t}},function(t,n,e){"use strict";var r=e(126);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});var a=(e(61),e(62));e.d(n,"c",function(){return a.a});var i=e(132);e.d(n,"d",function(){return i.a});var c=e(133);e.d(n,"e",function(){return c.a});var u=e(134);e.d(n,"f",function(){return u.a})},function(t,n,e){"use strict";var r=e(17),a=e(127),i=e(128),c=e(62),u=e(63),o=e(64),f=e(131),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];n.a=function(t){function n(t){function n(t){var n,i,c,u=w,h=j;if("c"===m)h=M(t)+h,t="";else{t=+t;var v=t<0;if(t=M(Math.abs(t),y),v&&0==+t&&(v=!1),u=(v?"("===a?a:"-":"-"===a||"("===a?"":a)+u,h=("s"===m?s[8+o.b/3]:"")+h+(v&&"("===a?")":""),x)for(n=-1,i=t.length;++n<i;)if(48>(c=t.charCodeAt(n))||c>57){h=(46===c?d+t.slice(n+1):t.slice(n))+h,t=t.slice(0,n);break}}g&&!f&&(t=l(t,1/0));var O=u.length+t.length+h.length,_=O<p?new Array(p-O+1).join(e):"";switch(g&&f&&(t=l(_+t,_.length?p-h.length:1/0),_=""),r){case"<":t=u+t+h+_;break;case"=":t=u+_+t+h;break;case"^":t=_.slice(0,O=_.length>>1)+u+t+h+_.slice(O);break;default:t=_+u+t+h}return b(t)}t=Object(c.a)(t);var e=t.fill,r=t.align,a=t.sign,i=t.symbol,f=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.type,w="$"===i?h[0]:"#"===i&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",j="$"===i?h[1]:/[%p]/.test(m)?v:"",M=u.a[m],x=!m||/[defgprs%]/.test(m);return y=null==y?m?6:12:/[gprs]/.test(m)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),n.toString=function(){return t+""},n}function e(t,e){var a=n((t=Object(c.a)(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(e)/3))),u=Math.pow(10,-i),o=s[8+i/3];return function(t){return a(u*t)+o}}var l=t.grouping&&t.thousands?Object(a.a)(t.grouping,t.thousands):f.a,h=t.currency,d=t.decimal,b=t.numerals?Object(i.a)(t.numerals):f.a,v=t.percent||"%";return{format:n,formatPrefix:e}}},function(t,n,e){"use strict";function r(t){return new a(t)}function a(t){if(!(n=c.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",a=n[3]||"-",u=n[4]||"",o=!!n[5],f=n[6]&&+n[6],s=!!n[7],l=n[8]&&+n[8].slice(1),h=n[9]||"";"n"===h?(s=!0,h="g"):i.a[h]||(h=""),(o||"0"===e&&"="===r)&&(o=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=a,this.symbol=u,this.zero=o,this.width=f,this.comma=s,this.precision=l,this.type=h}n.a=r;var i=e(63),c=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.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(129),a=e(64),i=e(130);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(i.a)(100*t,n)},r:i.a,s:a.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,a=e(27);n.a=function(t,n){var e=Object(a.a)(t,n);if(!e)return t+"";var i=e[0],c=e[1],u=c-(r=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,o=i.length;return u===o?i:u>o?i+new Array(u-o+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+Object(a.a)(t,Math.max(0,n+u-1))[0]}},function(t,n,e){"use strict";n.a=function(t,n){t=t.slice();var e,r=0,a=t.length-1,i=t[r],c=t[a];return c<i&&(e=r,r=a,a=e,e=i,i=c,c=e),t[r]=n.floor(i),t[a]=n.ceil(c),t}},function(t,n,e){"use strict";function r(t){return new Date(t)}function a(t){return t instanceof Date?+t:+new Date(+t)}function i(t,n,e,o,f,w,j,M,x){function O(r){return(j(r)<r?k:w(r)<r?N:f(r)<r?C:o(r)<r?z:n(r)<r?e(r)<r?D:E:t(r)<r?U:P)(r)}function _(n,e,r,a){if(null==n&&(n=10),"number"==typeof n){var i=Math.abs(r-e)/n,u=Object(c.bisector)(function(t){return t[2]}).right(Y,i);u===Y.length?(a=Object(c.tickStep)(e/m,r/m,n),n=t):u?(u=Y[i/Y[u-1][2]<Y[u][2]/i?u-1:u],a=u[1],n=u[0]):(a=Math.max(Object(c.tickStep)(e,r,n),1),n=M)}return null==a?n:n.every(a)}var A=Object(l.b)(l.c,u.c),S=A.invert,T=A.domain,k=x(".%L"),N=x(":%S"),C=x("%I:%M"),z=x("%I %p"),D=x("%a %d"),E=x("%b %d"),U=x("%B"),P=x("%Y"),Y=[[j,1,d],[j,5,5*d],[j,15,15*d],[j,30,30*d],[w,1,b],[w,5,5*b],[w,15,15*b],[w,30,30*b],[f,1,v],[f,3,3*v],[f,6,6*v],[f,12,12*v],[o,1,p],[o,2,2*p],[e,1,g],[n,1,y],[n,3,3*y],[t,1,m]];return A.invert=function(t){return new Date(S(t))},A.domain=function(t){return arguments.length?T(s.a.call(t,a)):T().map(r)},A.ticks=function(t,n){var e,r=T(),a=r[0],i=r[r.length-1],c=i<a;return c&&(e=a,a=i,i=e),e=_(t,a,i,n),e=e?e.range(a,i+1):[],c?e.reverse():e},A.tickFormat=function(t,n){return null==n?O:x(n)},A.nice=function(t,n){var e=T();return(t=_(t,e[0],e[e.length-1],n))?T(Object(h.a)(e,t)):A},A.copy=function(){return Object(l.a)(A,i(t,n,e,o,f,w,j,M,x))},A}n.a=i;var c=e(4),u=e(7),o=e(28),f=e(67),s=e(9),l=e(16),h=e(65),d=1e3,b=60*d,v=60*b,p=24*v,g=7*p,y=30*p,m=365*p;n.b=function(){return i(o.k,o.f,o.j,o.a,o.b,o.d,o.g,o.c,f.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(29);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});e(68),e(69),e(154)},function(t,n,e){"use strict";function r(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 a(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 i(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function c(t){function n(t,n){return function(e){var r,a,i,c=[],u=-1,o=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++u<f;)37===t.charCodeAt(u)&&(c.push(t.slice(o,u)),null!=(a=bt[r=t.charAt(++u)])?r=t.charAt(++u):a="e"===r?" ":"0",(i=n[r])&&(r=i(e,a)),c.push(r),o=u+1);return c.push(t.slice(o,u)),c.join("")}}function e(t,n){return function(e){var r,u,o=i(1900),f=c(o,t,e+="",0);if(f!=e.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=a(i(o.y)),u=r.getUTCDay(),r=u>4||0===u?dt.p.ceil(r):Object(dt.p)(r),r=dt.l.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=n(i(o.y)),u=r.getDay(),r=u>4||0===u?dt.e.ceil(r):Object(dt.e)(r),r=dt.a.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),u="Z"in o?a(i(o.y)).getUTCDay():n(i(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(u+5)%7:o.w+7*o.U-(u+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,a(o)):n(o)}}function c(t,n,e,r){for(var a,i,c=0,u=n.length,o=e.length;c<u;){if(r>=o)return-1;if(37===(a=n.charCodeAt(c++))){if(a=n.charAt(c++),!(i=Qt[a in bt?n.charAt(c++):a])||(r=i(t,e,r))<0)return-1}else if(a!=e.charCodeAt(r++))return-1}return r}function u(t,n,e){var r=It.exec(n.slice(e));return r?(t.p=Ft[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=Ht.exec(n.slice(e));return r?(t.w=Zt[r[0].toLowerCase()],e+r[0].length):-1}function vt(t,n,e){var r=Xt.exec(n.slice(e));return r?(t.w=qt[r[0].toLowerCase()],e+r[0].length):-1}function pt(t,n,e){var r=Gt.exec(n.slice(e));return r?(t.m=$t[r[0].toLowerCase()],e+r[0].length):-1}function gt(t,n,e){var r=Rt.exec(n.slice(e));return r?(t.m=Vt[r[0].toLowerCase()],e+r[0].length):-1}function yt(t,n,e){return c(t,Ct,n,e)}function mt(t,n,e){return c(t,zt,n,e)}function wt(t,n,e){return c(t,Dt,n,e)}function jt(t){return Pt[t.getDay()]}function Mt(t){return Ut[t.getDay()]}function xt(t){return Lt[t.getMonth()]}function Ot(t){return Yt[t.getMonth()]}function _t(t){return Et[+(t.getHours()>=12)]}function At(t){return Pt[t.getUTCDay()]}function St(t){return Ut[t.getUTCDay()]}function Tt(t){return Lt[t.getUTCMonth()]}function kt(t){return Yt[t.getUTCMonth()]}function Nt(t){return Et[+(t.getUTCHours()>=12)]}var Ct=t.dateTime,zt=t.date,Dt=t.time,Et=t.periods,Ut=t.days,Pt=t.shortDays,Yt=t.months,Lt=t.shortMonths,It=f(Et),Ft=s(Et),Xt=f(Ut),qt=s(Ut),Ht=f(Pt),Zt=s(Pt),Rt=f(Yt),Vt=s(Yt),Gt=f(Lt),$t=s(Lt),Bt={a:jt,A:Mt,b:xt,B:Ot,c:null,d:N,e:N,f:U,H:C,I:z,j:D,L:E,m:P,M:Y,p:_t,Q:lt,s:ht,S:L,u:I,U:F,V:X,w:q,W:H,x:null,X:null,y:Z,Y:R,Z:V,"%":st},Wt={a:At,A:St,b:Tt,B:kt,c:null,d:G,e:G,f:J,H:$,I:B,j:W,L:Q,m:K,M:tt,p:Nt,Q:lt,s:ht,S:nt,u:et,U:rt,V:at,w:it,W:ct,x:null,X:null,y:ut,Y:ot,Z:ft,"%":st},Qt={a:o,A:vt,b:pt,B:gt,c:yt,d:w,e:w,f:A,H:M,I:M,j:j,L:_,m:m,M:x,p:u,Q:T,s:k,S:O,u:h,U:d,V:b,w:l,W:v,x:mt,X:wt,y:g,Y:p,Z:y,"%":S};return Bt.x=n(zt,Bt),Bt.X=n(Dt,Bt),Bt.c=n(Ct,Bt),Wt.x=n(zt,Wt),Wt.X=n(Dt,Wt),Wt.c=n(Ct,Wt),{format:function(t){var e=n(t+="",Bt);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",r);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",Wt);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,a);return n.toString=function(){return t},n}}}function u(t,n,e){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i<e?new Array(e-i+1).join(n)+a:a)}function o(t){return t.replace(gt,"\\$&")}function f(t){return new RegExp("^(?:"+t.map(o).join("|")+")","i")}function s(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function l(t,n,e){var r=vt.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function h(t,n,e){var r=vt.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function d(t,n,e){var r=vt.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function b(t,n,e){var r=vt.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function v(t,n,e){var r=vt.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function p(t,n,e){var r=vt.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function g(t,n,e){var r=vt.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function y(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 m(t,n,e){var r=vt.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=vt.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function j(t,n,e){var r=vt.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function M(t,n,e){var r=vt.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function x(t,n,e){var r=vt.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function O(t,n,e){var r=vt.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function _(t,n,e){var r=vt.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function A(t,n,e){var r=vt.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function S(t,n,e){var r=pt.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function T(t,n,e){var r=vt.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function k(t,n,e){var r=vt.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function N(t,n){return u(t.getDate(),n,2)}function C(t,n){return u(t.getHours(),n,2)}function z(t,n){return u(t.getHours()%12||12,n,2)}function D(t,n){return u(1+dt.a.count(Object(dt.k)(t),t),n,3)}function E(t,n){return u(t.getMilliseconds(),n,3)}function U(t,n){return E(t,n)+"000"}function P(t,n){return u(t.getMonth()+1,n,2)}function Y(t,n){return u(t.getMinutes(),n,2)}function L(t,n){return u(t.getSeconds(),n,2)}function I(t){var n=t.getDay();return 0===n?7:n}function F(t,n){return u(dt.h.count(Object(dt.k)(t),t),n,2)}function X(t,n){var e=t.getDay();return t=e>=4||0===e?Object(dt.i)(t):dt.i.ceil(t),u(dt.i.count(Object(dt.k)(t),t)+(4===Object(dt.k)(t).getDay()),n,2)}function q(t){return t.getDay()}function H(t,n){return u(dt.e.count(Object(dt.k)(t),t),n,2)}function Z(t,n){return u(t.getFullYear()%100,n,2)}function R(t,n){return u(t.getFullYear()%1e4,n,4)}function V(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+u(n/60|0,"0",2)+u(n%60,"0",2)}function G(t,n){return u(t.getUTCDate(),n,2)}function $(t,n){return u(t.getUTCHours(),n,2)}function B(t,n){return u(t.getUTCHours()%12||12,n,2)}function W(t,n){return u(1+dt.l.count(Object(dt.v)(t),t),n,3)}function Q(t,n){return u(t.getUTCMilliseconds(),n,3)}function J(t,n){return Q(t,n)+"000"}function K(t,n){return u(t.getUTCMonth()+1,n,2)}function tt(t,n){return u(t.getUTCMinutes(),n,2)}function nt(t,n){return u(t.getUTCSeconds(),n,2)}function et(t){var n=t.getUTCDay();return 0===n?7:n}function rt(t,n){return u(dt.s.count(Object(dt.v)(t),t),n,2)}function at(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Object(dt.t)(t):dt.t.ceil(t),u(dt.t.count(Object(dt.v)(t),t)+(4===Object(dt.v)(t).getUTCDay()),n,2)}function it(t){return t.getUTCDay()}function ct(t,n){return u(dt.p.count(Object(dt.v)(t),t),n,2)}function ut(t,n){return u(t.getUTCFullYear()%100,n,2)}function ot(t,n){return u(t.getUTCFullYear()%1e4,n,4)}function ft(){return"+0000"}function st(){return"%"}function lt(t){return+t}function ht(t){return Math.floor(+t/1e3)}n.a=c;var dt=e(28),bt={"-":"",_:" ",0:"0"},vt=/^\s*\d+/,pt=/^%/,gt=/[\\^$*+?|[\]().{}]/g},function(t,n,e){"use strict";function r(t){return t.toISOString()}e.d(n,"a",function(){return i});var a=e(29),i="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Object(a.b)(i)},function(t,n,e){"use strict";var r=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var a=document.documentElement;if(!a.matches){var i=a.webkitMatchesSelector||a.msMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector;r=function(t){return function(){return i.call(this,t)}}}}n.a=r},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";function r(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}n.a=r;var a=e(73),i=e(2);n.b=function(){return new i.a(this._enter||this._groups.map(a.a),this._parents)},r.prototype={constructor:r,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";function r(t){return function(){this.style.removeProperty(t)}}function a(t,n,e){return function(){this.style.setProperty(t,n,e)}}function i(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function c(t,n){return t.style.getPropertyValue(n)||Object(u.a)(t).getComputedStyle(t,null).getPropertyValue(n)}n.b=c;var u=e(36);n.a=function(t,n,e){return arguments.length>1?this.each((null==n?r:"function"==typeof n?i:a)(t,n,null==e?"":e)):c(this.node(),t)}},function(t,n,e){"use strict";var r=e(3);n.a=function(t,n){var e,a,i,c=t.__transition,u=!0;if(c){n=null==n?null:n+"";for(i in c)(e=c[i]).name===n?(a=e.state>r.d&&e.state<r.b,e.state=r.a,e.timer.stop(),a&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete c[i]):u=!1;u&&delete t.__transition}}},function(t,n,e){"use strict";var r=e(200);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(37);e.d(n,"a",function(){return r.b}),e.d(n,"c",function(){return r.c});var a=e(201);e.d(n,"b",function(){return a.a});e(202)},function(t,n,e){"use strict";var r=e(5),a=e(7);n.a=function(t,n){var e;return("number"==typeof n?a.c:n instanceof r.color?a.d:(e=Object(r.color)(n))?(n=e,a.d):a.f)(t,n)}},function(t,n,e){"use strict";function r(t,n){var e=t.document.documentElement,r=Object(a.select)(t).on("dragstart.drag",null);n&&(r.on("click.drag",i.a,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}n.b=r;var a=e(1),i=e(80);n.a=function(t){var n=t.document.documentElement,e=Object(a.select)(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";function r(){a.event.stopImmediatePropagation()}n.b=r;var a=e(1);n.a=function(){a.event.preventDefault(),a.event.stopImmediatePropagation()}},function(t,n,e){t.exports=e(82)},function(t,n,e){"use strict";"use stict";e(83),e(85);var r=e(86);t.exports=r},function(t,n,e){"use strict";e(84)},function(t,n){},function(t,n,e){"use strict"},function(t,n,e){"use strict";function r(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n.default=t,n}function a(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}(),c=e(87),u=r(c),o=e(88),f=r(o),s=e(164),l=r(s),h=e(232),d=r(h),b=e(4),v=r(b),p=e(5),g=r(p),y=e(1),m=Object.assign({},{mouse:y.mouse,select:y.select,selectAll:y.selectAll},f,l,d,v,g,u),w=function(t,n){var e=t/n;return isNaN(e)?0:e},j=function(){function t(){a(this,t),this.target,this.cartesianSystem,this.width,this.height,this.grid3d,this.point3d,this.yScale3d,this.xScale3d,this.zScale3d,this.intervalY,this.intervalX,this.intervalZ,this.minimumY,this.minimumX,this.minimumZ,this.options={}}return i(t,[{key:"boot",value:function(t,n,e){this.target=t,this.coordinates=n,this.basePoint=e,this.cartesianSystem=m.select("svg"+this.target),this.width=parseFloat(this.cartesianSystem.style("width")),this.height=parseFloat(this.cartesianSystem.style("height")),this.options&&this.options.scale?this.optionScale=this.options.scale%2==0?this.options.scale:this.options.scale-1:this.optionScale=20,this.options&&void 0!==this.options.animate?this.optionAnimate=this.options.animate:this.optionAnimate=!0,this.gridCells=this.optionScale/2,this.init()}},{key:"configure",value:function(t){t&&t.scale&&(this.options.scale=t.scale),t&&void 0!==t.animate&&(this.options.animate=t.animate)}},{key:"init",value:function(t){var n=this;this.origin=[this.width/2,this.height/2],this.scatter=[],this.yLine=[],this.xLine=[],this.zLine=[],this.xGrid=[],this.alpha=Math.PI/20,this.beta=0,this.startAngle=0,this.cartesianSystem.call(m.drag().on("drag",this.dragged.bind(this)).on("start",this.dragStart.bind(this)).on("end",this.dragEnd.bind(this))).append("g"),this.color=m.scaleOrdinal(m.schemeCategory20),this.mx,this.my,this.mouseX,this.mouseY,this.grid3d=m._3d().shape("SURFACE",this.optionScale).origin([0,0]).rotateY(this.startAngle).rotateX(-this.startAngle).rotateZ(this.startAngle).scale(this.optionScale),this.point3d=m._3d().x(function(t){return t.x}).y(function(t){return t.y}).z(function(t){return t.z}).origin(this.origin).rotateY(this.startAngle).rotateX(-this.startAngle).rotateZ(this.startAngle).scale(this.optionScale),this.yScale3d=m._3d().shape("LINE_STRIP").origin(this.origin).rotateY(this.startAngle).rotateX(-this.startAngle).rotateZ(this.startAngle).scale(this.optionScale),this.xScale3d=m._3d().shape("LINE_STRIP").origin(this.origin).rotateY(this.startAngle).rotateX(-this.startAngle).rotateZ(this.startAngle).scale(this.optionScale),this.zScale3d=m._3d().shape("LINE_STRIP").origin(this.origin).rotateY(this.startAngle).rotateX(-this.startAngle).rotateZ(this.startAngle).scale(this.optionScale);var e=1e5,r=1e5,a=1e5,i=0,c=0,u=0;this.basePoint&&(a=Array.isArray(this.basePoint)?Math.abs(this.basePoint[2]):Math.abs(this.basePoint.z)),this.coordinates.forEach(function(t,n){Array.isArray(t)?(e>Math.abs(t[0])&&(e=Math.abs(t[0])),i<Math.abs(t[0])&&(i=Math.abs(t[0])),r>Math.abs(t[1])&&(r=Math.abs(t[1])),c<Math.abs(t[1])&&(c=Math.abs(t[1])),t[2]&&(a>Math.abs(t[2])&&(a=Math.abs(t[2])),u<Math.abs(t[2])&&(u=Math.abs(t[2])))):(e>Math.abs(t.x)&&(e=Math.abs(t.x)),i<Math.abs(t.x)&&(i=Math.abs(t.x)),r>Math.abs(t.y)&&(r=Math.abs(t.y)),c<Math.abs(t.y)&&(c=Math.abs(t.y)),Math.abs(t.z)&&a>Math.abs(t.z)&&(a=Math.abs(t.z)),Math.abs(t.z)&&a<Math.abs(t.z)&&(u=Math.abs(t.z)))}),this.coordinates.forEach(function(o,f){(!t||f<=t)&&(Array.isArray(o)?o[2]?n.scatter.push({x:w(Math.abs(o[0])-e,i-e)*n.gridCells,y:w(Math.abs(o[1])-r,c-r)*n.gridCells,z:w(Math.abs(o[2])-a,u-a)*n.gridCells,id:"point_"+f}):n.scatter.push({x:w(Math.abs(o[0])-e,i-e)*n.gridCells,y:w(Math.abs(o[1])-r,c-r)*n.gridCells,z:0,id:"point_"+f}):n.scatter.push({x:w(Math.abs(o.x)-e,i-e)*n.gridCells,y:w(Math.abs(o.y)-r,c-r)*n.gridCells,z:w(Math.abs(o.z)-a,u-a)*n.gridCells||0,id:"point_"+f}))});for(var o=-this.gridCells;o<this.gridCells;o++)for(var f=-this.gridCells;f<this.gridCells;f++)this.xGrid.push([f,o,a]);this.intervalZ=(u-a)/this.gridCells,this.minimumZ=a,this.intervalX=(i-e)/this.gridCells,this.minimumX=e,this.intervalY=(c-r)/this.gridCells,this.minimumY=r,m.range(0,this.gridCells+1,1).forEach(function(t){n.xLine.push([t,0,0]),n.yLine.push([0,t,0]),n.zLine.push([0,0,t])});var s={grid3d:this.grid3d(this.xGrid),point3d:this.point3d(this.scatter),yScale3d:this.yScale3d([this.yLine]),xScale3d:this.xScale3d([this.xLine]),zScale3d:this.zScale3d([this.zLine])};this.processData(s,1e3),this.optionAnimate&&this.animate(5)}},{key:"processData",value:function(t,n){var e=this,r=function(t){return t.id};if(t.grid3d&&(this.xGrid=this.cartesianSystem.selectAll("path.grid").data(t.grid3d,r),this.xGrid.enter().append("path").attr("class","_3d grid").merge(this.xGrid).attr("stroke","black").attr("stroke-width",.3).attr("fill",function(t){return t.ccw?"lightgrey":"#717171"}).attr("fill-opacity",.9).attr("d",t.grid3d.draw),this.xGrid.exit().remove()),t.point3d){var a=this.cartesianSystem.selectAll("circle").data(t.point3d,r);a.enter().append("circle").attr("class","_3d").attr("opacity",0).attr("cx",this.posPointX).attr("cy",this.posPointY).attr("cz",this.posPointZ).merge(a).transition().duration(n).attr("r",3).attr("stroke",function(t){return m.color(e.color(t.id)).darker(3)}).attr("fill",function(t){return e.color(t.id)}).attr("opacity",1).attr("cx",this.posPointX).attr("cy",this.posPointY).attr("cz",this.posPointZ),a.exit().remove()}if(t.xScale3d){var i=this.cartesianSystem.selectAll("path.xScale").data(t.xScale3d);i.enter().append("path").attr("class","_3d xScale").merge(i).attr("stroke","black").attr("stroke-width",.5).attr("d",this.xScale3d.draw),i.exit().remove();this.cartesianSystem.selectAll("text.xText").data(t.xScale3d[0]);m.selectAll("._3d").sort(m._3d().sort)}if(t.yScale3d){var c=this.cartesianSystem.selectAll("path.yScale").data(t.yScale3d);c.enter().append("path").attr("class","_3d yScale").merge(c).attr("stroke","black").attr("stroke-width",.5).attr("d",this.yScale3d.draw),c.exit().remove();this.cartesianSystem.selectAll("text.yText").data(t.yScale3d[0]);m.selectAll("._3d").sort(m._3d().sort)}if(t.zScale3d){var u=this.cartesianSystem.selectAll("path.zScale").data(t.zScale3d);u.enter().append("path").attr("class","_3d zScale").merge(u).attr("stroke","black").attr("stroke-width",.5).attr("d",this.zScale3d.draw),u.exit().remove();var o=this.cartesianSystem.selectAll("text.zText").data(t.zScale3d[0]);o.enter().append("text").attr("class","_3d zText").attr("dx",".3em").merge(o).each(function(t){t&&(t.centroid={x:t.rotated.x,y:t.rotated.y,z:t.rotated.z})}).attr("x",function(t){return t.projected.x}).attr("y",function(t){return t.projected.y}).attr("z",function(t){return t.projected.z}).text(function(t){return(e.minimumZ+Math.abs(t[2])*e.intervalZ).toFixed(1)}),o.exit().remove(),m.selectAll("._3d").sort(m._3d().sort)}}},{key:"posPointX",value:function(t){return t.projected.x}},{key:"posPointY",value:function(t){return t.projected.y}},{key:"posPointZ",value:function(t){return t.projected.z}},{key:"dragStart",value:function(){this.animation&&clearInterval(this.animation),this.mx=y.event.x,this.my=y.event.y}},{key:"dragged",value:function(){this.mouseX=this.mouseX||0,this.mouseY=this.mouseY||0,this.beta=(y.event.x-this.mx+this.mouseX)*Math.PI/230,this.alpha=(y.event.y-this.my+this.mouseY)*Math.PI/230*-1;var t={grid3d:this.grid3d.rotateY(this.beta+this.startAngle).rotateX(this.alpha-this.startAngle)(this.xGrid),point3d:this.point3d.rotateY(this.beta+this.startAngle).rotateX(this.alpha-this.startAngle)(this.scatter),yScale3d:this.yScale3d.rotateY(this.beta+this.startAngle).rotateX(this.alpha-this.startAngle)([this.yLine]),xScale3d:this.xScale3d.rotateY(this.beta+this.startAngle).rotateX(this.alpha-this.startAngle)([this.xLine]),zScale3d:this.zScale3d.rotateY(this.beta+this.startAngle).rotateX(this.alpha-this.startAngle)([this.zLine])};this.processData(t,0)}},{key:"dragEnd",value:function(){this.mouseX=y.event.x-this.mx+this.mouseX,this.mouseY=y.event.y-this.my+this.mouseY}},{key:"animate",value:function(t){var n=this;this.animation=setInterval(function(){n.alpha-n.startAngle>=Math.PI/2&&clearInterval(n.animation),n.alpha+=Math.PI/360,n.beta+=0;var t={grid3d:n.grid3d.rotateX(n.alpha-n.startAngle)(n.xGrid),point3d:n.point3d.rotateX(n.alpha-n.startAngle)(n.scatter),yScale3d:n.yScale3d.rotateX(n.alpha-n.startAngle)([n.yLine]),xScale3d:n.xScale3d.rotateX(n.alpha-n.startAngle)([n.xLine]),zScale3d:n.zScale3d.rotateX(n.alpha-n.startAngle)([n.zLine])};n.processData(t,0)},t)}}]),t}();t.exports=j},function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t){var n=t.slice(0),e=0;n.push(n[0]);for(var r=0;r<=t.length-1;r++){var a=r+1,i=n[r].rotated,c=n[a].rotated;e+=(c.x-i.x)*(c.y+i.y)}return e>0}function e(t){for(var n=0,e=0,r=0,a=t.length,i=a-1;i>=0;i--)n+=t[i].rotated.x,e+=t[i].rotated.y,r+=t[i].rotated.z;return{x:n/a,y:e/a,z:r/a}}function r(t,n){var e=n.rotateCenter;t.x-=e[0],t.y-=e[1],t.z-=e[2];var r=c(t,n.z),u=i(r,n.y),o=a(u,n.x);return o.x+=e[0],o.y+=e[1],o.z+=e[2],o}function a(t,n){var e=Math.sin(n),r=Math.cos(n);return{x:t.x,y:t.y*r-t.z*e,z:t.y*e+t.z*r}}function i(t,n){var e=Math.sin(n),r=Math.cos(n);return{x:t.z*e+t.x*r,y:t.y,z:t.z*r-t.x*e}}function c(t,n){var e=Math.sin(n),r=Math.cos(n);return{x:t.x*r-t.y*e,y:t.y*e+t.y*r,z:t.z}}function u(t,n,e,a){for(var i=t.length-1;i>=0;i--){var c=t[i];c.rotated=r({x:e.x(c),y:e.y(c),z:e.z(c)},a),c.centroid=c.rotated,c.projected=n.project(c.rotated,n)}return t}function o(t,r,a,i){for(var c=t.length-1;c>=0;c--){var o=t[c],f=u([o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7]],r,a,i),s=f[0],l=f[1],h=f[2],d=f[3],b=f[4],v=f[5],p=f[6],g=f[7],y=[s,l,h,d],m=[g,p,v,b],w=[b,v,l,s],j=[d,h,p,g],M=[b,s,d,g],x=[l,v,p,h];y.centroid=e(y),m.centroid=e(m),w.centroid=e(w),j.centroid=e(j),M.centroid=e(M),x.centroid=e(x),y.ccw=n(y),m.ccw=n(m),w.ccw=n(w),j.ccw=n(j),M.ccw=n(M),x.ccw=n(x),y.face="front",m.face="back",w.face="left",j.face="right",M.face="top",x.face="bottom";var O=[y,m,w,j,M,x];o.faces=O,o.centroid={x:(w.centroid.x+j.centroid.x)/2,y:(M.centroid.y+x.centroid.y)/2,z:y.centroid.z+m.centroid.z/2}}return t}function f(t,r,a,i){for(var c=u(t,r,a,i),o=0,f=[],s=r.row,l=c.length/s,h=l-1;h>0;h--)for(var d=s-1;d>0;d--){var b=d+h*l,v=b-1,p=v-l+1,g=p-1,y=[c[b],c[p],c[g],c[v]];y.plane="plane_"+o++,y.ccw=n(y),y.centroid=e(y),f.push(y)}return f}function s(t,n,a,i){for(var c=t.length-1;c>=0;c--){for(var u=t[c],o=u.length/2,f=parseInt(o),s=u.length-1;s>=0;s--){var l=u[s];l.rotated=r({x:a.x(l),y:a.y(l),z:a.z(l)},i),l.projected=n.project(l.rotated,n)}u.centroid=f===o?e([u[o-1],u[o]]):{x:u[f].rotated.x,y:u[f].rotated.y,z:u[f].rotated.z}}return t}function l(t,n,a,i){for(var c=t.length-1;c>=0;c--){var u=t[c],o=u[0],f=u[1];o.rotated=r({x:a.x(o),y:a.y(o),z:a.z(o)},i),f.rotated=r({x:a.x(f),y:a.y(f),z:a.z(f)},i),o.projected=n.project(o.rotated,n),f.projected=n.project(f.rotated,n),u.centroid=e(u)}return t}function h(t,a,i,c){for(var u=t.length-1;u>=0;u--){var o=t[u],f=o[0],s=o[1],l=o[2],h=o[3];f.rotated=r({x:i.x(f),y:i.y(f),z:i.z(f)},c),s.rotated=r({x:i.x(s),y:i.y(s),z:i.z(s)},c),l.rotated=r({x:i.x(l),y:i.y(l),z:i.z(l)},c),h.rotated=r({x:i.x(h),y:i.y(h),z:i.z(h)},c),f.projected=a.project(f.rotated,a),s.projected=a.project(s.rotated,a),l.projected=a.project(l.rotated,a),h.projected=a.project(h.rotated,a),o.ccw=n(o),o.centroid=e(o)}return t}function d(t,a,i,c){for(var u=t.length-1;u>=0;u--){for(var o=t[u],f=o.length-1;f>=0;f--){var s=o[f];s.rotated=r({x:i.x(s),y:i.y(s),z:i.z(s)},c),s.projected=a.project(s.rotated,a)}o.ccw=n(o),o.centroid=e(o)}return t}function b(t,a,i,c){for(var u=t.length-1;u>=0;u--){var o=t[u],f=o[0],s=o[1],l=o[2];f.rotated=r({x:i.x(f),y:i.y(f),z:i.z(f)},c),s.rotated=r({x:i.x(s),y:i.y(s),z:i.z(s)},c),l.rotated=r({x:i.x(l),y:i.y(l),z:i.z(l)},c),f.projected=a.project(f.rotated,a),s.projected=a.project(s.rotated,a),l.projected=a.project(l.rotated,a),o.ccw=n(o),o.centroid=e(o)}return t}function v(t){for(var n=t[t.length-1],e="M"+n.projected.x+","+n.projected.y,r=t.length-2;r>=0;r--){var a=t[r].projected;e+="L"+a.x+","+a.y}return e}function p(t){return"M"+t[0].projected.x+","+t[0].projected.y+"L"+t[1].projected.x+","+t[1].projected.y+"L"+t[2].projected.x+","+t[2].projected.y+"L"+t[3].projected.x+","+t[3].projected.y+"Z"}function g(t){for(var n=t[t.length-1],e="M"+n.projected.x+","+n.projected.y,r=t.length-2;r>=0;r--){var a=t[r].projected;e+="L"+a.x+","+a.y}return e+="Z"}function y(t){return"M"+t[0].projected.x+","+t[0].projected.y+"L"+t[1].projected.x+","+t[1].projected.y+"L"+t[2].projected.x+","+t[2].projected.y+"Z"}function m(t,n){return{x:n.origin[0]+n.scale*t.x,y:n.origin[1]+n.scale*t.y}}function w(t){return t[0]}function j(t){return t[1]}function M(t){return t[2]}var x=function(){function t(t){return k[T](t,{scale:e,origin:n,project:r,row:S},{x:O,y:_,z:A},{x:a,y:i,z:c,rotateCenter:x})}var n=[0,0],e=1,r=m,a=0,i=0,c=0,x=[0,0,0],O=w,_=j,A=M,S=void 0,T="POINT",k={CUBE:o,GRID:f,LINE:l,LINE_STRIP:s,PLANE:h,POINT:u,POLYGON:d,SURFACE:f,TRIANGLE:b},N={CUBE:p,GRID:p,LINE_STRIP:v,PLANE:p,POLYGON:g,SURFACE:p,TRIANGLE:y};return t.origin=function(e){return arguments.length?(n=e,t):n},t.scale=function(n){return arguments.length?(e=n,t):e},t.rotateX=function(n){return arguments.length?(a=n,t):a},t.rotateY=function(n){return arguments.length?(i=n,t):i},t.rotateZ=function(n){return arguments.length?(c=n,t):c},t.shape=function(n,e){return arguments.length?(T=n,S=e,t):T},t.rotateCenter=function(n){return arguments.length?(x=n,t):x},t.x=function(n){return arguments.length?(O="function"==typeof n?n:+n,t):O},t.y=function(n){return arguments.length?(_="function"==typeof n?n:+n,t):_},t.z=function(n){return arguments.length?(A="function"==typeof n?n:+n,t):A},t.sort=function(t,n){var e=t.centroid.z,r=n.centroid.z;return e<r?-1:e>r?1:e>=r?0:NaN},t.draw=function(t){if("POINT"!==T&&"LINE"!==T)return N[T](t)},t};t._3d=x,Object.defineProperty(t,"__esModule",{value:!0})})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(89);e.d(n,"scaleBand",function(){return r.a}),e.d(n,"scalePoint",function(){return r.b});var a=e(112);e.d(n,"scaleIdentity",function(){return a.a});var i=e(12);e.d(n,"scaleLinear",function(){return i.a});var c=e(135);e.d(n,"scaleLog",function(){return c.a});var u=e(50);e.d(n,"scaleOrdinal",function(){return u.a}),e.d(n,"scaleImplicit",function(){return u.b});var o=e(136);e.d(n,"scalePow",function(){return o.a}),e.d(n,"scaleSqrt",function(){return o.b});var f=e(137);e.d(n,"scaleQuantile",function(){return f.a});var s=e(138);e.d(n,"scaleQuantize",function(){return s.a});var l=e(139);e.d(n,"scaleThreshold",function(){return l.a});var h=e(66);e.d(n,"scaleTime",function(){return h.b});var d=e(155);e.d(n,"scaleUtc",function(){return d.a});var b=e(156);e.d(n,"schemeCategory10",function(){return b.a});var v=e(157);e.d(n,"schemeCategory20b",function(){return v.a});var p=e(158);e.d(n,"schemeCategory20c",function(){return p.a});var g=e(159);e.d(n,"schemeCategory20",function(){return g.a});var y=e(160);e.d(n,"interpolateCubehelixDefault",function(){return y.a});var m=e(161);e.d(n,"interpolateRainbow",function(){return m.b}),e.d(n,"interpolateWarm",function(){return m.c}),e.d(n,"interpolateCool",function(){return m.a});var w=e(162);e.d(n,"interpolateViridis",function(){return w.a}),e.d(n,"interpolateMagma",function(){return w.c}),e.d(n,"interpolateInferno",function(){return w.b}),e.d(n,"interpolatePlasma",function(){return w.d});var j=e(163);e.d(n,"scaleSequential",function(){return j.a})},function(t,n,e){"use strict";function r(){function t(){var t=i().length,r=f[1]<f[0],a=f[r-0],u=f[1-r];n=(u-a)/Math.max(1,t-l+2*h),s&&(n=Math.floor(n)),a+=(u-a-n*(t-l))*d,e=n*(1-l),s&&(a=Math.round(a),e=Math.round(e));var b=Object(c.range)(t).map(function(t){return a+n*t});return o(r?b.reverse():b)}var n,e,a=Object(u.a)().unknown(void 0),i=a.domain,o=a.range,f=[0,1],s=!1,l=0,h=0,d=.5;return delete a.unknown,a.domain=function(n){return arguments.length?(i(n),t()):i()},a.range=function(n){return arguments.length?(f=[+n[0],+n[1]],t()):f.slice()},a.rangeRound=function(n){return f=[+n[0],+n[1]],s=!0,t()},a.bandwidth=function(){return e},a.step=function(){return n},a.round=function(n){return arguments.length?(s=!!n,t()):s},a.padding=function(n){return arguments.length?(l=h=Math.max(0,Math.min(1,n)),t()):l},a.paddingInner=function(n){return arguments.length?(l=Math.max(0,Math.min(1,n)),t()):l},a.paddingOuter=function(n){return arguments.length?(h=Math.max(0,Math.min(1,n)),t()):h},a.align=function(n){return arguments.length?(d=Math.max(0,Math.min(1,n)),t()):d},a.copy=function(){return r().domain(i()).range(f).round(s).paddingInner(l).paddingOuter(h).align(d)},t()}function a(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return a(n())},t}function i(){return a(r().paddingInner(1))}n.a=r,n.b=i;var c=e(4),u=e(50)},function(t,n,e){"use strict";var r=e(40);n.a=function(t,n,e){var a,i,c,u,o=t.length,f=n.length,s=new Array(o*f);for(null==e&&(e=r.b),a=c=0;a<o;++a)for(u=t[a],i=0;i<f;++i,++c)s[c]=e(u,n[i]);return s}},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(44),a=e(38),i=e(93),c=e(43),u=e(94),o=e(45),f=e(46),s=e(47);n.a=function(){function t(t){var r,i,c=t.length,u=new Array(c);for(r=0;r<c;++r)u[r]=n(t[r],r,t);var s=e(u),h=s[0],d=s[1],b=l(u,h,d);Array.isArray(b)||(b=Object(f.c)(h,d,b),b=Object(o.a)(Math.ceil(h/b)*b,Math.floor(d/b)*b,b));for(var v=b.length;b[0]<=h;)b.shift(),--v;for(;b[v-1]>d;)b.pop(),--v;var p,g=new Array(v+1);for(r=0;r<=v;++r)p=g[r]=[],p.x0=r>0?b[r-1]:h,p.x1=r<v?b[r]:d;for(r=0;r<c;++r)i=u[r],h<=i&&i<=d&&g[Object(a.c)(b,i,0,v)].push(t[r]);return g}var n=u.a,e=c.a,l=s.a;return t.value=function(e){return arguments.length?(n="function"==typeof e?e:Object(i.a)(e),t):n},t.domain=function(n){return arguments.length?(e="function"==typeof n?n:Object(i.a)([n[0],n[1]]),t):e},t.thresholds=function(n){return arguments.length?(l="function"==typeof n?n:Array.isArray(n)?Object(i.a)(r.b.call(n)):Object(i.a)(n),t):l},t}},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(44),a=e(10),i=e(11),c=e(20);n.a=function(t,n,e){return t=r.a.call(t,i.a).sort(a.a),Math.ceil((e-n)/(2*(Object(c.a)(t,.75)-Object(c.a)(t,.25))*Math.pow(t.length,-1/3)))}},function(t,n,e){"use strict";var r=e(41);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,a=t.length,i=-1;if(null==n){for(;++i<a;)if(null!=(e=t[i])&&e>=e)for(r=e;++i<a;)null!=(e=t[i])&&e>r&&(r=e)}else for(;++i<a;)if(null!=(e=n(t[i],i,t))&&e>=e)for(r=e;++i<a;)null!=(e=n(t[i],i,t))&&e>r&&(r=e);return r}},function(t,n,e){"use strict";var r=e(11);n.a=function(t,n){var e,a=t.length,i=a,c=-1,u=0;if(null==n)for(;++c<a;)isNaN(e=Object(r.a)(t[c]))?--i:u+=e;else for(;++c<a;)isNaN(e=Object(r.a)(n(t[c],c,t)))?--i:u+=e;if(i)return u/i}},function(t,n,e){"use strict";var r=e(10),a=e(11),i=e(20);n.a=function(t,n){var e,c=t.length,u=-1,o=[];if(null==n)for(;++u<c;)isNaN(e=Object(a.a)(t[u]))||o.push(e);else for(;++u<c;)isNaN(e=Object(a.a)(n(t[u],u,t)))||o.push(e);return Object(i.a)(o.sort(r.a),.5)}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,a=t.length,i=-1,c=0;++i<a;)c+=t[i].length;for(e=new Array(c);--a>=0;)for(r=t[a],n=r.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(10);n.a=function(t,n){if(e=t.length){var e,a,i=0,c=0,u=t[c];for(null==n&&(n=r.a);++i<e;)(n(a=t[i],u)<0||0!==n(u,u))&&(u=a,c=i);return 0===n(u,u)?c:void 0}}},function(t,n,e){"use strict";n.a=function(t,n,e){for(var r,a,i=(null==e?t.length:e)-(n=null==n?0:+n);i;)a=Math.random()*i--|0,r=t[i+n],t[i+n]=t[a+n],t[a+n]=r;return t}},function(t,n,e){"use strict";n.a=function(t,n){var e,r=t.length,a=-1,i=0;if(null==n)for(;++a<r;)(e=+t[a])&&(i+=e);else for(;++a<r;)(e=+n(t[a],a,t))&&(i+=e);return i}},function(t,n,e){"use strict";var r=e(49);n.a=function(){return Object(r.a)(arguments)}},function(t,n,e){"use strict";var r=(e(107),e(108),e(21));e.d(n,"a",function(){return r.a});e(109),e(110),e(111)},function(t,n,e){"use strict";e(21)},function(t,n,e){"use strict";function r(){}function a(t,n){var e=new r;if(t instanceof r)t.each(function(t){e.add(t)});else if(t){var a=-1,i=t.length;if(null==n)for(;++a<i;)e.add(t[a]);else for(;++a<i;)e.add(n(t[a],a,t))}return e}var i=e(21),c=i.a.prototype;r.prototype=a.prototype={constructor:r,has:c.has,add:function(t){return t+="",this[i.b+t]=t,this},remove:c.remove,clear:c.clear,values:c.keys,size:c.size,empty:c.empty,each:c.each}},function(t,n,e){"use strict"},function(t,n,e){"use strict"},function(t,n,e){"use strict"},function(t,n,e){"use strict";function r(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=a.a.call(e,c.a),t):n.slice()},t.copy=function(){return r().domain(n)},Object(i.b)(t)}n.a=r;var a=e(9),i=e(12),c=e(59)},function(t,n,e){"use strict";function r(t){if(t instanceof i)return new i(t.l,t.a,t.b,t.opacity);if(t instanceof h){var n=t.h*v.a;return new i(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof b.b||(t=Object(b.h)(t));var e=f(t.r),r=f(t.g),a=f(t.b),u=c((.4124564*e+.3575761*r+.1804375*a)/p),o=c((.2126729*e+.7151522*r+.072175*a)/g);return new i(116*o-16,500*(u-o),200*(o-c((.0193339*e+.119192*r+.9503041*a)/y)),t.opacity)}function a(t,n,e,a){return 1===arguments.length?r(t):new i(t,n,e,null==a?1:a)}function i(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function c(t){return t>M?Math.pow(t,1/3):t/j+m}function u(t){return t>w?t*t*t:j*(t-m)}function o(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function f(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function s(t){if(t instanceof h)return new h(t.h,t.c,t.l,t.opacity);t instanceof i||(t=r(t));var n=Math.atan2(t.b,t.a)*v.b;return new h(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function l(t,n,e,r){return 1===arguments.length?s(t):new h(t,n,e,null==r?1:r)}function h(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}n.a=a,n.b=l;var d=e(24),b=e(23),v=e(51),p=.95047,g=1,y=1.08883,m=4/29,w=6/29,j=3*w*w,M=w*w*w;Object(d.a)(i,a,Object(d.b)(b.a,{brighter:function(t){return new i(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new i(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=g*u(t),n=p*u(n),e=y*u(e),new b.b(o(3.2404542*n-1.5371385*t-.4985314*e),o(-.969266*n+1.8760108*t+.041556*e),o(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Object(d.a)(h,l,Object(d.b)(b.a,{brighter:function(t){return new h(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new h(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return r(this).rgb()}}))},function(t,n,e){"use strict";function r(t){if(t instanceof i)return new i(t.h,t.s,t.l,t.opacity);t instanceof u.b||(t=Object(u.h)(t));var n=t.r/255,e=t.g/255,r=t.b/255,a=(p*r+b*n-v*e)/(p+b-v),c=r-a,f=(d*(e-a)-l*c)/h,s=Math.sqrt(f*f+c*c)/(d*a*(1-a)),g=s?Math.atan2(f,c)*o.b-120:NaN;return new i(g<0?g+360:g,s,a,t.opacity)}function a(t,n,e,a){return 1===arguments.length?r(t):new i(t,n,e,null==a?1:a)}function i(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}n.a=a;var c=e(24),u=e(23),o=e(51),f=-.14861,s=1.78277,l=-.29227,h=-.90649,d=1.97294,b=d*h,v=d*s,p=s*l-h*f;Object(c.a)(i,a,Object(c.b)(u.a,{brighter:function(t){return t=null==t?u.c:Math.pow(u.c,t),new i(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?u.d:Math.pow(u.d,t),new i(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),a=Math.sin(t);return new u.b(255*(n+e*(f*r+s*a)),255*(n+e*(l*r+h*a)),255*(n+e*(d*r)),this.opacity)}}))},function(t,n,e){"use strict";n.a=function(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}}},function(t,n,e){"use strict";function r(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}function c(t,r,i,c,u,o){if(t!==i||r!==c){var f=u.push("translate(",null,n,null,e);o.push({i:f-4,x:Object(a.a)(t,i)},{i:f-2,x:Object(a.a)(r,c)})}else(i||c)&&u.push("translate("+i+n+c+e)}function u(t,n,e,c){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),c.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Object(a.a)(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function o(t,n,e,c){t!==n?c.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Object(a.a)(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function f(t,n,e,r,c,u){if(t!==e||n!==r){var o=c.push(i(c)+"scale(",null,",",null,")");u.push({i:o-4,x:Object(a.a)(t,e)},{i:o-2,x:Object(a.a)(n,r)})}else 1===e&&1===r||c.push(i(c)+"scale("+e+","+r+")")}return function(n,e){var r=[],a=[];return n=t(n),e=t(e),c(n.translateX,n.translateY,e.translateX,e.translateY,r,a),u(n.rotate,e.rotate,r,a),o(n.skewX,e.skewX,r,a),f(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,a),n=e=null,function(t){for(var n,e=-1,i=a.length;++e<i;)r[(n=a[e]).i]=n.x(t);return r.join("")}}}e.d(n,"a",function(){return c}),e.d(n,"b",function(){return u});var a=e(15),i=e(117),c=r(i.a,"px, ","px)","deg)"),u=r(i.b,", ",")",")")},function(t,n,e){"use strict";function r(t){return"none"===t?f.b:(i||(i=document.createElement("DIV"),c=document.documentElement,u=document.defaultView),i.style.transform=t,t=u.getComputedStyle(c.appendChild(i),null).getPropertyValue("transform"),c.removeChild(i),t=t.slice(7,-1).split(","),Object(f.a)(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function a(t){return null==t?f.b:(o||(o=document.createElementNS("http://www.w3.org/2000/svg","g")),o.setAttribute("transform",t),(t=o.transform.baseVal.consolidate())?(t=t.matrix,Object(f.a)(t.a,t.b,t.c,t.d,t.e,t.f)):f.b)}n.a=r,n.b=a;var i,c,u,o,f=e(118)},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=180/Math.PI,a={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};n.a=function(t,n,e,a,i,c){var u,o,f;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(f=t*e+n*a)&&(e-=t*f,a-=n*f),(o=Math.sqrt(e*e+a*a))&&(e/=o,a/=o,f/=o),t*a<n*e&&(t=-t,n=-n,f=-f,u=-u),{translateX:i,translateY:c,rotate:Math.atan2(n,t)*r,skewX:Math.atan(f)*r,scaleX:u,scaleY:o}}},function(t,n,e){"use strict";Math.SQRT2},function(t,n,e){"use strict";function r(t){return function(n,e){var r=t((n=Object(a.hsl)(n)).h,(e=Object(a.hsl)(e)).h),c=Object(i.a)(n.s,e.s),u=Object(i.a)(n.l,e.l),o=Object(i.a)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=c(t),n.l=u(t),n.opacity=o(t),n+""}}}var a=e(5),i=e(13);r(i.c),r(i.a)},function(t,n,e){"use strict";e(5),e(13)},function(t,n,e){"use strict";function r(t){return function(n,e){var r=t((n=Object(a.hcl)(n)).h,(e=Object(a.hcl)(e)).h),c=Object(i.a)(n.c,e.c),u=Object(i.a)(n.l,e.l),o=Object(i.a)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=c(t),n.l=u(t),n.opacity=o(t),n+""}}}var a=e(5),i=e(13);r(i.c),r(i.a)},function(t,n,e){"use strict";function r(t){return function n(e){function r(n,r){var c=t((n=Object(a.cubehelix)(n)).h,(r=Object(a.cubehelix)(r)).h),u=Object(i.a)(n.s,r.s),o=Object(i.a)(n.l,r.l),f=Object(i.a)(n.opacity,r.opacity);return function(t){return n.h=c(t),n.s=u(t),n.l=o(Math.pow(t,e)),n.opacity=f(t),n+""}}return e=+e,r.gamma=n,r}(1)}e.d(n,"a",function(){return c});var a=e(5),i=e(13),c=(r(i.c),r(i.a))},function(t,n,e){"use strict"},function(t,n,e){"use strict";var r=e(4),a=e(60);n.a=function(t,n,e){var i,c=t[0],u=t[t.length-1],o=Object(r.tickStep)(c,u,null==n?10:n);switch(e=Object(a.c)(null==e?",f":e),e.type){case"s":var f=Math.max(Math.abs(c),Math.abs(u));return null!=e.precision||isNaN(i=Object(a.e)(o,f))||(e.precision=i),Object(a.b)(e,f);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(i=Object(a.f)(o,Math.max(Math.abs(c),Math.abs(u))))||(e.precision=i-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(i=Object(a.d)(o))||(e.precision=i-2*("%"===e.type))}return Object(a.a)(e)}},function(t,n,e){"use strict";e.d(n,"a",function(){return a}),e.d(n,"b",function(){return i});var r,a,i,c=e(61);!function(t){r=Object(c.a)(t),a=r.format,i=r.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},function(t,n,e){"use strict";n.a=function(t,n){return function(e,r){for(var a=e.length,i=[],c=0,u=t[0],o=0;a>0&&u>0&&(o+u+1>r&&(u=Math.max(1,r-o)),i.push(e.substring(a-=u,a+u)),!((o+=u+1)>r));)u=t[c=(c+1)%t.length];return i.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=t.toPrecision(n);t:for(var e,r=t.length,a=1,i=-1;a<r;++a)switch(t[a]){case".":i=e=a;break;case"0":0===i&&(i=a),e=a;break;case"e":break t;default:i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}},function(t,n,e){"use strict";var r=e(27);n.a=function(t,n){var e=Object(r.a)(t,n);if(!e)return t+"";var a=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+a:a.length>i+1?a.slice(0,i+1)+"."+a.slice(i+1):a+new Array(i-a.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(17);n.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,n,e){"use strict";var r=e(17);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(17);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";function r(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:Object(h.a)(n)}function a(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 i(t){return isFinite(t)?+("1e"+t):t<0?0:t}function c(t){return 10===t?i:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function u(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 o(t){return function(n){return-t(-n)}}function f(){function t(){return h=u(i),v=c(i),e()[0]<0&&(h=o(h),v=o(v)),n}var n=Object(b.b)(r,a).domain([1,10]),e=n.domain,i=10,h=u(10),v=c(10);return n.base=function(n){return arguments.length?(i=+n,t()):i},n.domain=function(n){return arguments.length?(e(n),t()):e()},n.ticks=function(t){var n,r=e(),a=r[0],c=r[r.length-1];(n=c<a)&&(l=a,a=c,c=l);var u,o,f,l=h(a),d=h(c),b=null==t?10:+t,p=[];if(!(i%1)&&d-l<b){if(l=Math.round(l)-1,d=Math.round(d)+1,a>0){for(;l<d;++l)for(o=1,u=v(l);o<i;++o)if(!((f=u*o)<a)){if(f>c)break;p.push(f)}}else for(;l<d;++l)for(o=i-1,u=v(l);o>=1;--o)if(!((f=u*o)<a)){if(f>c)break;p.push(f)}}else p=Object(s.ticks)(l,d,Math.min(d-l,b)).map(v);return n?p.reverse():p},n.tickFormat=function(t,e){if(null==e&&(e=10===i?".0e":","),"function"!=typeof e&&(e=Object(l.a)(e)),t===1/0)return e;null==t&&(t=10);var r=Math.max(1,i*t/n.ticks().length);return function(t){var n=t/v(Math.round(h(t)));return n*i<i-.5&&(n*=i),n<=r?e(t):""}},n.nice=function(){return e(Object(d.a)(e(),{floor:function(t){return v(Math.floor(h(t)))},ceil:function(t){return v(Math.ceil(h(t)))}}))},n.copy=function(){return Object(b.a)(n,f().base(i))},n}n.a=f;var s=e(4),l=e(60),h=e(26),d=e(65),b=e(16)},function(t,n,e){"use strict";function r(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function a(){function t(t,n){return(n=r(n,e)-(t=r(t,e)))?function(a){return(r(a,e)-t)/n}:Object(c.a)(n)}function n(t,n){return n=r(n,e)-(t=r(t,e)),function(a){return r(t+n*a,1/e)}}var e=1,i=Object(o.b)(t,n),f=i.domain;return i.exponent=function(t){return arguments.length?(e=+t,f(f())):e},i.copy=function(){return Object(o.a)(i,a().exponent(e))},Object(u.b)(i)}function i(){return a().exponent(.5)}n.a=a,n.b=i;var c=e(26),u=e(12),o=e(16)},function(t,n,e){"use strict";function r(){function t(){var t=0,r=Math.max(1,c.length);for(u=new Array(r-1);++t<r;)u[t-1]=Object(a.quantile)(e,t/r);return n}function n(t){if(!isNaN(t=+t))return c[Object(a.bisect)(u,t)]}var e=[],c=[],u=[];return n.invertExtent=function(t){var n=c.indexOf(t);return n<0?[NaN,NaN]:[n>0?u[n-1]:e[0],n<u.length?u[n]:e[e.length-1]]},n.domain=function(n){if(!arguments.length)return e.slice();e=[];for(var r,i=0,c=n.length;i<c;++i)null==(r=n[i])||isNaN(r=+r)||e.push(r);return e.sort(a.ascending),t()},n.range=function(n){return arguments.length?(c=i.b.call(n),t()):c.slice()},n.quantiles=function(){return u.slice()},n.copy=function(){return r().domain(e).range(c)},n}n.a=r;var a=e(4),i=e(9)},function(t,n,e){"use strict";function r(){function t(t){if(t<=t)return s[Object(a.bisect)(f,t,0,o)]}function n(){var n=-1;for(f=new Array(o);++n<o;)f[n]=((n+1)*u-(n-o)*e)/(o+1);return t}var e=0,u=1,o=1,f=[.5],s=[0,1];return t.domain=function(t){return arguments.length?(e=+t[0],u=+t[1],n()):[e,u]},t.range=function(t){return arguments.length?(o=(s=i.b.call(t)).length-1,n()):s.slice()},t.invertExtent=function(t){var n=s.indexOf(t);return n<0?[NaN,NaN]:n<1?[e,f[0]]:n>=o?[f[o-1],u]:[f[n-1],f[n]]},t.copy=function(){return r().domain([e,u]).range(s)},Object(c.b)(t)}n.a=r;var a=e(4),i=e(9),c=e(12)},function(t,n,e){"use strict";function r(){function t(t){if(t<=t)return e[Object(a.bisect)(n,t,0,c)]}var n=[.5],e=[0,1],c=1;return t.domain=function(r){return arguments.length?(n=i.b.call(r),c=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(r){return arguments.length?(e=i.b.call(r),c=Math.min(n.length,e.length-1),t):e.slice()},t.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return r().domain(n).range(e)},t}n.a=r;var a=e(4),i=e(9)},function(t,n,e){"use strict";var r=e(0),a=Object(r.a)(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});a.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}):a:null},n.a=a;a.range},function(t,n,e){"use strict";var r=e(0),a=e(6),i=Object(r.a)(function(t){t.setTime(Math.floor(t/a.d)*a.d)},function(t,n){t.setTime(+t+n*a.d)},function(t,n){return(n-t)/a.d},function(t){return t.getUTCSeconds()});n.a=i;i.range},function(t,n,e){"use strict";var r=e(0),a=e(6),i=Object(r.a)(function(t){t.setTime(Math.floor(t/a.c)*a.c)},function(t,n){t.setTime(+t+n*a.c)},function(t,n){return(n-t)/a.c},function(t){return t.getMinutes()});n.a=i;i.range},function(t,n,e){"use strict";var r=e(0),a=e(6),i=Object(r.a)(function(t){var n=t.getTimezoneOffset()*a.c%a.b;n<0&&(n+=a.b),t.setTime(Math.floor((+t-n)/a.b)*a.b+n)},function(t,n){t.setTime(+t+n*a.b)},function(t,n){return(n-t)/a.b},function(t){return t.getHours()});n.a=i;i.range},function(t,n,e){"use strict";var r=e(0),a=e(6),i=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())*a.c)/a.a},function(t){return t.getDate()-1});n.a=i;i.range},function(t,n,e){"use strict";function r(t){return Object(a.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})}e.d(n,"b",function(){return c}),e.d(n,"a",function(){return u}),e.d(n,"c",function(){return s});var a=e(0),i=e(6),c=r(0),u=r(1),o=r(2),f=r(3),s=r(4),l=r(5),h=r(6);c.range,u.range,o.range,f.range,s.range,l.range,h.range},function(t,n,e){"use strict";var r=e(0),a=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=a;a.range},function(t,n,e){"use strict";var r=e(0),a=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()});a.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=a;a.range},function(t,n,e){"use strict";var r=e(0),a=e(6),i=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*a.c)},function(t,n){return(n-t)/a.c},function(t){return t.getUTCMinutes()});n.a=i;i.range},function(t,n,e){"use strict";var r=e(0),a=e(6),i=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*a.b)},function(t,n){return(n-t)/a.b},function(t){return t.getUTCHours()});n.a=i;i.range},function(t,n,e){"use strict";var r=e(0),a=e(6),i=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)/a.a},function(t){return t.getUTCDate()-1});n.a=i;i.range},function(t,n,e){"use strict";function r(t){return Object(a.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})}e.d(n,"b",function(){return c}),e.d(n,"a",function(){return u}),e.d(n,"c",function(){return s});var a=e(0),i=e(6),c=r(0),u=r(1),o=r(2),f=r(3),s=r(4),l=r(5),h=r(6);c.range,u.range,o.range,f.range,s.range,l.range,h.range},function(t,n,e){"use strict";var r=e(0),a=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=a;a.range},function(t,n,e){"use strict";var r=e(0),a=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()});a.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=a;a.range},function(t,n,e){"use strict";function r(t){var n=new Date(t);return isNaN(n)?null:n}var a=e(69),i=e(29);+new Date("2000-01-01T00:00:00.000Z")||Object(i.c)(a.a)},function(t,n,e){"use strict";var r=e(66),a=e(67),i=e(28);n.a=function(){return Object(r.a)(i.v,i.q,i.u,i.l,i.m,i.o,i.r,i.n,a.b).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,n,e){"use strict";var r=e(14);n.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,n,e){"use strict";var r=e(14);n.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,n,e){"use strict";var r=e(14);n.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,n,e){"use strict";var r=e(14);n.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,n,e){"use strict";var r=e(5),a=e(7);n.a=Object(a.b)(Object(r.cubehelix)(300,.5,0),Object(r.cubehelix)(-240,.5,1))},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),e.d(n,"a",function(){return c});var r=e(5),a=e(7),i=Object(a.b)(Object(r.cubehelix)(-100,.75,.35),Object(r.cubehelix)(80,1.5,.8)),c=Object(a.b)(Object(r.cubehelix)(260,.75,.35),Object(r.cubehelix)(80,1.5,.8)),u=Object(r.cubehelix)();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";function r(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}e.d(n,"c",function(){return i}),e.d(n,"b",function(){return c}),e.d(n,"d",function(){return u});var a=e(14);n.a=r(Object(a.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var i=r(Object(a.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c=r(Object(a.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u=r(Object(a.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,n,e){"use strict";function r(t){function n(n){var r=(n-e)/(i-e);return t(c?Math.max(0,Math.min(1,r)):r)}var e=0,i=1,c=!1;return n.domain=function(t){return arguments.length?(e=+t[0],i=+t[1],n):[e,i]},n.clamp=function(t){return arguments.length?(c=!!t,n):c},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return r(t).domain([e,i]).clamp(c)},Object(a.b)(n)}n.a=r;var a=e(12)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=(e(165),e(8));e.d(n,"transition",function(){return r.b});var a=e(231);e.d(n,"active",function(){return a.a});var i=e(75);e.d(n,"interrupt",function(){return i.a})},function(t,n,e){"use strict";var r=e(1),a=e(199),i=e(203);r.selection.prototype.interrupt=a.a,r.selection.prototype.transition=i.a},function(t,n,e){"use strict";function r(){return new a}function a(){this._="@"+(++i).toString(36)}n.a=r;var i=0;a.prototype=r.prototype={constructor:a,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(33),a=e(18);n.a=function(t){var n=Object(r.a)();return n.changedTouches&&(n=n.changedTouches[0]),Object(a.a)(t,n)}},function(t,n,e){"use strict";var r=e(2);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";var r=e(2),a=e(35);n.a=function(t){"function"!=typeof t&&(t=Object(a.a)(t));for(var n=this._groups,e=n.length,i=new Array(e),c=0;c<e;++c)for(var u,o,f=n[c],s=f.length,l=i[c]=new Array(s),h=0;h<s;++h)(u=f[h])&&(o=t.call(u,u.__data__,h,f))&&("__data__"in u&&(o.__data__=u.__data__),l[h]=o);return new r.a(i,this._parents)}},function(t,n,e){"use strict";var r=e(2),a=e(71);n.a=function(t){"function"!=typeof t&&(t=Object(a.a)(t));for(var n=this._groups,e=n.length,i=[],c=[],u=0;u<e;++u)for(var o,f=n[u],s=f.length,l=0;l<s;++l)(o=f[l])&&(i.push(t.call(o,o.__data__,l,f)),c.push(o));return new r.a(i,c)}},function(t,n,e){"use strict";var r=e(2),a=e(70);n.a=function(t){"function"!=typeof t&&(t=Object(a.a)(t));for(var n=this._groups,e=n.length,i=new Array(e),c=0;c<e;++c)for(var u,o=n[c],f=o.length,s=i[c]=[],l=0;l<f;++l)(u=o[l])&&t.call(u,u.__data__,l,o)&&s.push(u);return new r.a(i,this._parents)}},function(t,n,e){"use strict";function r(t,n,e,r,a,i){for(var u,o=0,f=n.length,s=i.length;o<s;++o)(u=n[o])?(u.__data__=i[o],r[o]=u):e[o]=new c.a(t,i[o]);for(;o<f;++o)(u=n[o])&&(a[o]=u)}function a(t,n,e,r,a,i,u){var f,s,l,h={},d=n.length,b=i.length,v=new Array(d);for(f=0;f<d;++f)(s=n[f])&&(v[f]=l=o+u.call(s,s.__data__,f,n),l in h?a[f]=s:h[l]=s);for(f=0;f<b;++f)l=o+u.call(t,i[f],f,i),(s=h[l])?(r[f]=s,s.__data__=i[f],h[l]=null):e[f]=new c.a(t,i[f]);for(f=0;f<d;++f)(s=n[f])&&h[v[f]]===s&&(a[f]=s)}var i=e(2),c=e(72),u=e(173),o="$";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?a:r,c=this._parents,o=this._groups;"function"!=typeof t&&(t=Object(u.a)(t));for(var f=o.length,s=new Array(f),l=new Array(f),h=new Array(f),d=0;d<f;++d){var b=c[d],v=o[d],p=v.length,g=t.call(b,b&&b.__data__,d,c),y=g.length,m=l[d]=new Array(y),w=s[d]=new Array(y);e(b,v,m,w,h[d]=new Array(p),g,n);for(var j,M,x=0,O=0;x<y;++x)if(j=m[x]){for(x>=O&&(O=x+1);!(M=w[O])&&++O<y;);j._next=M||null}}return s=new i.a(s,c),s._enter=l,s._exit=h,s}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";var r=e(73),a=e(2);n.a=function(){return new a.a(this._exit||this._groups.map(r.a),this._parents)}},function(t,n,e){"use strict";var r=e(2);n.a=function(t){for(var n=this._groups,e=t._groups,a=n.length,i=e.length,c=Math.min(a,i),u=new Array(a),o=0;o<c;++o)for(var f,s=n[o],l=e[o],h=s.length,d=u[o]=new Array(h),b=0;b<h;++b)(f=s[b]||l[b])&&(d[b]=f);for(;o<a;++o)u[o]=n[o];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,a=t[n],i=a.length-1,c=a[i];--i>=0;)(r=a[i])&&(c&&c!==r.nextSibling&&c.parentNode.insertBefore(r,c),c=r);return this}},function(t,n,e){"use strict";function r(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}var a=e(2);n.a=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=r);for(var e=this._groups,i=e.length,c=new Array(i),u=0;u<i;++u){for(var o,f=e[u],s=f.length,l=c[u]=new Array(s),h=0;h<s;++h)(o=f[h])&&(l[h]=o);l.sort(n)}return new a.a(c,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],a=0,i=r.length;a<i;++a){var c=r[a];if(c)return c}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 a,i=n[e],c=0,u=i.length;c<u;++c)(a=i[c])&&t.call(a,a.__data__,c,i);return this}},function(t,n,e){"use strict";function r(t){return function(){this.removeAttribute(t)}}function a(t){return function(){this.removeAttributeNS(t.space,t.local)}}function i(t,n){return function(){this.setAttribute(t,n)}}function c(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function u(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function o(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)}}var f=e(31);n.a=function(t,n){var e=Object(f.a)(t);if(arguments.length<2){var s=this.node();return e.local?s.getAttributeNS(e.space,e.local):s.getAttribute(e)}return this.each((null==n?e.local?a:r:"function"==typeof n?e.local?o:u:e.local?c:i)(e,n))}},function(t,n,e){"use strict";function r(t){return function(){delete this[t]}}function a(t,n){return function(){this[t]=n}}function i(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}n.a=function(t,n){return arguments.length>1?this.each((null==n?r:"function"==typeof n?i:a)(t,n)):this.node()[t]}},function(t,n,e){"use strict";function r(t){return t.trim().split(/^|\s+/)}function a(t){return t.classList||new i(t)}function i(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function c(t,n){for(var e=a(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function u(t,n){for(var e=a(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function o(t){return function(){c(this,t)}}function f(t){return function(){u(this,t)}}function s(t,n){return function(){(n.apply(this,arguments)?c:u)(this,t)}}i.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 i=a(this.node()),c=-1,u=e.length;++c<u;)if(!i.contains(e[c]))return!1;return!0}return this.each(("function"==typeof n?s:n?o:f)(e,n))}},function(t,n,e){"use strict";function r(){this.textContent=""}function a(t){return function(){this.textContent=t}}function i(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}n.a=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?i:a)(t)):this.node().textContent}},function(t,n,e){"use strict";function r(){this.innerHTML=""}function a(t){return function(){this.innerHTML=t}}function i(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}n.a=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?i:a)(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(30);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";function r(){return null}var a=e(30),i=e(35);n.a=function(t,n){var e="function"==typeof t?t:Object(a.a)(t),c=null==n?r:"function"==typeof n?n:Object(i.a)(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),c.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";n.a=function(t){return arguments.length?this.property("__data__",t):this.node().__data__}},function(t,n,e){"use strict";function r(t,n,e){var r=Object(c.a)(t),a=r.CustomEvent;"function"==typeof a?a=new a(n,e):(a=r.document.createEvent("Event"),e?(a.initEvent(n,e.bubbles,e.cancelable),a.detail=e.detail):a.initEvent(n,!1,!1)),t.dispatchEvent(a)}function a(t,n){return function(){return r(this,t,n)}}function i(t,n){return function(){return r(this,t,n.apply(this,arguments))}}var c=e(36);n.a=function(t,n){return this.each(("function"==typeof n?i:a)(t,n))}},function(t,n,e){"use strict";var r=e(2);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(33),a=e(18);n.a=function(t,n,e){arguments.length<3&&(e=n,n=Object(r.a)().changedTouches);for(var i,c=0,u=n?n.length:0;c<u;++c)if((i=n[c]).identifier===e)return Object(a.a)(t,i);return null}},function(t,n,e){"use strict";var r=e(33),a=e(18);n.a=function(t,n){null==n&&(n=Object(r.a)().touches);for(var e=0,i=n?n.length:0,c=new Array(i);e<i;++e)c[e]=Object(a.a)(t,n[e]);return c}},function(t,n,e){"use strict";var r=e(75);n.a=function(t){return this.each(function(){Object(r.a)(this,t)})}},function(t,n,e){"use strict";function r(){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 a(r)}function a(t){this._=t}function i(t,n){return t.trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function c(t,n){for(var e,r=0,a=t.length;r<a;++r)if((e=t[r]).name===n)return e.value}function u(t,n,e){for(var r=0,a=t.length;r<a;++r)if(t[r].name===n){t[r]=o,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}var o={value:function(){}};a.prototype=r.prototype={constructor:a,on:function(t,n){var e,r=this._,a=i(t+"",r),o=-1,f=a.length;{if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<f;)if(e=(t=a[o]).type)r[e]=u(r[e],t.name,n);else if(null==n)for(e in r)r[e]=u(r[e],t.name,null);return this}for(;++o<f;)if((e=(t=a[o]).type)&&(e=c(r[e],t.name)))return e}},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new a(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,a=new Array(e),i=0;i<e;++i)a[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=this._[t],i=0,e=r.length;i<e;++i)r[i].value.apply(n,a)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],a=0,i=r.length;a<i;++a)r[a].value.apply(n,e)}},n.a=r},function(t,n,e){"use strict";var r=e(37);n.a=function(t,n,e){var a=new r.a;return n=null==n?0:+n,a.restart(function(e){a.stop(),t(e+n)},n,e),a}},function(t,n,e){"use strict";e(37)},function(t,n,e){"use strict";function r(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return o.time=Object(u.a)(),o;return e}var a=e(8),i=e(3),c=e(220),u=e(77),o={time:null,delay:0,duration:250,ease:c.a};n.a=function(t){var n,e;t instanceof a.a?(n=t._id,t=t._name):(n=Object(a.c)(),(e=o).time=Object(u.a)(),t=null==t?null:t+"");for(var c=this._groups,f=c.length,s=0;s<f;++s)for(var l,h=c[s],d=h.length,b=0;b<d;++b)(l=h[b])&&Object(i.e)(l,t,n,b,h,e||r(l,n));return new a.a(c,this._parents,t,n)}},function(t,n,e){"use strict";function r(t){return function(){this.removeAttribute(t)}}function a(t){return function(){this.removeAttributeNS(t.space,t.local)}}function i(t,n,e){var r,a;return function(){var i=this.getAttribute(t);return i===e?null:i===r?a:a=n(r=i,e)}}function c(t,n,e){var r,a;return function(){var i=this.getAttributeNS(t.space,t.local);return i===e?null:i===r?a:a=n(r=i,e)}}function u(t,n,e){var r,a,i;return function(){var c,u=e(this);return null==u?void this.removeAttribute(t):(c=this.getAttribute(t),c===u?null:c===r&&u===a?i:i=n(r=c,a=u))}}function o(t,n,e){var r,a,i;return function(){var c,u=e(this);return null==u?void this.removeAttributeNS(t.space,t.local):(c=this.getAttributeNS(t.space,t.local),c===u?null:c===r&&u===a?i:i=n(r=c,a=u))}}var f=e(7),s=e(1),l=e(19),h=e(78);n.a=function(t,n){var e=Object(s.namespace)(t),d="transform"===e?f.h:h.a;return this.attrTween(t,"function"==typeof n?(e.local?o:u)(e,d,Object(l.b)(this,"attr."+t,n)):null==n?(e.local?a:r)(e):(e.local?c:i)(e,d,n+""))}},function(t,n,e){"use strict";function r(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 a(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}var i=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 c=Object(i.namespace)(t);return this.tween(e,(c.local?r:a)(c,n))}},function(t,n,e){"use strict";function r(t,n){return function(){Object(i.g)(this,t).delay=+n.apply(this,arguments)}}function a(t,n){return n=+n,function(){Object(i.g)(this,t).delay=n}}var i=e(3);n.a=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?r:a)(n,t)):Object(i.f)(this.node(),n).delay}},function(t,n,e){"use strict";function r(t,n){return function(){Object(i.h)(this,t).duration=+n.apply(this,arguments)}}function a(t,n){return n=+n,function(){Object(i.h)(this,t).duration=n}}var i=e(3);n.a=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?r:a)(n,t)):Object(i.f)(this.node(),n).duration}},function(t,n,e){"use strict";function r(t,n){if("function"!=typeof n)throw new Error;return function(){Object(a.h)(this,t).ease=n}}var a=e(3);n.a=function(t){var n=this._id;return arguments.length?this.each(r(n,t)):Object(a.f)(this.node(),n).ease}},function(t,n,e){"use strict";var r=e(1),a=e(8);n.a=function(t){"function"!=typeof t&&(t=Object(r.matcher)(t));for(var n=this._groups,e=n.length,i=new Array(e),c=0;c<e;++c)for(var u,o=n[c],f=o.length,s=i[c]=[],l=0;l<f;++l)(u=o[l])&&t.call(u,u.__data__,l,o)&&s.push(u);return new a.a(i,this._parents,this._name,this._id)}},function(t,n,e){"use strict";var r=e(8);n.a=function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,a=n.length,i=e.length,c=Math.min(a,i),u=new Array(a),o=0;o<c;++o)for(var f,s=n[o],l=e[o],h=s.length,d=u[o]=new Array(h),b=0;b<h;++b)(f=s[b]||l[b])&&(d[b]=f);for(;o<a;++o)u[o]=n[o];return new r.a(u,this._parents,this._name,this._id)}},function(t,n,e){"use strict";function r(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}function a(t,n,e){var a,c,u=r(n)?i.g:i.h;return function(){var r=u(this,t),i=r.on;i!==a&&(c=(a=i).copy()).on(n,e),r.on=c}}var i=e(3);n.a=function(t,n){var e=this._id;return arguments.length<2?Object(i.f)(this.node(),e).on.on(t):this.each(a(e,t,n))}},function(t,n,e){"use strict";function r(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}n.a=function(){return this.on("end.remove",r(this._id))}},function(t,n,e){"use strict";var r=e(1),a=e(8),i=e(3);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.selector)(t));for(var c=this._groups,u=c.length,o=new Array(u),f=0;f<u;++f)for(var s,l,h=c[f],d=h.length,b=o[f]=new Array(d),v=0;v<d;++v)(s=h[v])&&(l=t.call(s,s.__data__,v,h))&&("__data__"in s&&(l.__data__=s.__data__),b[v]=l,Object(i.e)(b[v],n,e,v,b,Object(i.f)(s,e)));return new a.a(o,this._parents,n,e)}},function(t,n,e){"use strict";var r=e(1),a=e(8),i=e(3);n.a=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Object(r.selectorAll)(t));for(var c=this._groups,u=c.length,o=[],f=[],s=0;s<u;++s)for(var l,h=c[s],d=h.length,b=0;b<d;++b)if(l=h[b]){for(var v,p=t.call(l,l.__data__,b,h),g=Object(i.f)(l,e),y=0,m=p.length;y<m;++y)(v=p[y])&&Object(i.e)(v,n,e,y,p,g);o.push(p),f.push(l)}return new a.a(o,f,n,e)}},function(t,n,e){"use strict";var r=e(1),a=r.selection.prototype.constructor;n.a=function(){return new a(this._groups,this._parents)}},function(t,n,e){"use strict";function r(t,n){var e,r,a;return function(){var i=Object(o.style)(this,t),c=(this.style.removeProperty(t),Object(o.style)(this,t));return i===c?null:i===e&&c===r?a:a=n(e=i,r=c)}}function a(t){return function(){this.style.removeProperty(t)}}function i(t,n,e){var r,a;return function(){var i=Object(o.style)(this,t);return i===e?null:i===r?a:a=n(r=i,e)}}function c(t,n,e){var r,a,i;return function(){var c=Object(o.style)(this,t),u=e(this);return null==u&&(this.style.removeProperty(t),u=Object(o.style)(this,t)),c===u?null:c===r&&u===a?i:i=n(r=c,a=u)}}var u=e(7),o=e(1),f=e(19),s=e(78);n.a=function(t,n,e){var o="transform"==(t+="")?u.g:s.a;return null==n?this.styleTween(t,r(t,o)).on("end.style."+t,a(t)):this.styleTween(t,"function"==typeof n?c(t,o,Object(f.b)(this,"style."+t,n)):i(t,o,n+""),e)}},function(t,n,e){"use strict";function r(t,n,e){function r(){var r=this,a=n.apply(r,arguments);return a&&function(n){r.style.setProperty(t,a(n),e)}}return r._value=n,r}n.a=function(t,n,e){var a="style."+(t+="");if(arguments.length<2)return(a=this.tween(a))&&a._value;if(null==n)return this.tween(a,null);if("function"!=typeof n)throw new Error;return this.tween(a,r(t,n,null==e?"":e))}},function(t,n,e){"use strict";function r(t){return function(){this.textContent=t}}function a(t){return function(){var n=t(this);this.textContent=null==n?"":n}}var i=e(19);n.a=function(t){return this.tween("text","function"==typeof t?a(Object(i.b)(this,"text",t)):r(null==t?"":t+""))}},function(t,n,e){"use strict";var r=e(8),a=e(3);n.a=function(){for(var t=this._name,n=this._id,e=Object(r.c)(),i=this._groups,c=i.length,u=0;u<c;++u)for(var o,f=i[u],s=f.length,l=0;l<s;++l)if(o=f[l]){var h=Object(a.f)(o,n);Object(a.e)(o,t,e,l,f,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new r.a(i,this._parents,t,e)}},function(t,n,e){"use strict";var r=(e(221),e(222),e(223));e.d(n,"a",function(){return r.a});e(224),e(225),e(226),e(227),e(228),e(229),e(230)},function(t,n,e){"use strict"},function(t,n,e){"use strict"},function(t,n,e){"use strict";function r(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}n.a=r},function(t,n,e){"use strict";(function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e})(3),function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),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";Math.PI},function(t,n,e){"use strict"},function(t,n,e){"use strict"},function(t,n,e){"use strict"},function(t,n,e){"use strict";(function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e})(1.70158),function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),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";var r=2*Math.PI;(function t(n,e){function a(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=r);return a.amplitude=function(n){return t(n,e*r)},a.period=function(e){return t(n,e)},a})(1,.3),function t(n,e){function a(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=r);return a.amplitude=function(n){return t(n,e*r)},a.period=function(e){return t(n,e)},a}(1,.3),function t(n,e){function a(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}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=r);return a.amplitude=function(n){return t(n,e*r)},a.period=function(e){return t(n,e)},a}(1,.3)},function(t,n,e){"use strict";var r=e(8),a=e(3),i=[null];n.a=function(t,n){var e,c,u=t.__transition;if(u){n=null==n?null:n+"";for(c in u)if((e=u[c]).state>a.c&&e.name===n)return new r.a([[t]],i,n,+c)}return null}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(233);e.d(n,"drag",function(){return r.a});var a=e(79);e.d(n,"dragDisable",function(){return a.a}),e.d(n,"dragEnable",function(){return a.b})},function(t,n,e){"use strict";function r(){return!o.event.button}function a(){return this.parentNode}function i(t){return null==t?{x:o.event.x,y:o.event.y}:t}function c(){return"ontouchstart"in this}var u=e(76),o=e(1),f=e(79),s=e(80),l=e(234),h=e(235);n.a=function(){function t(t){t.on("mousedown.drag",n).filter(_).on("touchstart.drag",b).on("touchmove.drag",v).on("touchend.drag touchcancel.drag",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function n(){if(!j&&M.apply(this,arguments)){var t=g("mouse",x.apply(this,arguments),o.mouse,this,arguments);t&&(Object(o.select)(o.event.view).on("mousemove.drag",e,!0).on("mouseup.drag",d,!0),Object(f.a)(o.event.view),Object(s.b)(),w=!1,y=o.event.clientX,m=o.event.clientY,t("start"))}}function e(){if(Object(s.a)(),!w){var t=o.event.clientX-y,n=o.event.clientY-m;w=t*t+n*n>k}A.mouse("drag")}function d(){Object(o.select)(o.event.view).on("mousemove.drag mouseup.drag",null),Object(f.b)(o.event.view,w),Object(s.a)(),A.mouse("end")}function b(){if(M.apply(this,arguments)){var t,n,e=o.event.changedTouches,r=x.apply(this,arguments),a=e.length;for(t=0;t<a;++t)(n=g(e[t].identifier,r,o.touch,this,arguments))&&(Object(s.b)(),n("start"))}}function v(){var t,n,e=o.event.changedTouches,r=e.length;for(t=0;t<r;++t)(n=A[e[t].identifier])&&(Object(s.a)(),n("drag"))}function p(){var t,n,e=o.event.changedTouches,r=e.length;for(j&&clearTimeout(j),j=setTimeout(function(){j=null},500),t=0;t<r;++t)(n=A[e[t].identifier])&&(Object(s.b)(),n("end"))}function g(n,e,r,a,i){var c,u,f,s=r(e,n),l=S.copy();if(Object(o.customEvent)(new h.a(t,"beforestart",c,n,T,s[0],s[1],0,0,l),function(){return null!=(o.event.subject=c=O.apply(a,i))&&(u=c.x-s[0]||0,f=c.y-s[1]||0,!0)}))return function d(b){var v,p=s;switch(b){case"start":A[n]=d,v=T++;break;case"end":delete A[n],--T;case"drag":s=r(e,n),v=T}Object(o.customEvent)(new h.a(t,b,c,n,v,s[0]+u,s[1]+f,s[0]-p[0],s[1]-p[1],l),l.apply,l,[b,a,i])}}var y,m,w,j,M=r,x=a,O=i,_=c,A={},S=Object(u.a)("start","drag","end"),T=0,k=0;return t.filter=function(n){return arguments.length?(M="function"==typeof n?n:Object(l.a)(!!n),t):M},t.container=function(n){return arguments.length?(x="function"==typeof n?n:Object(l.a)(n),t):x},t.subject=function(n){return arguments.length?(O="function"==typeof n?n:Object(l.a)(n),t):O},t.touchable=function(n){return arguments.length?(_="function"==typeof n?n:Object(l.a)(!!n),t):_},t.on=function(){var n=S.on.apply(S,arguments);return n===S?t:n},t.clickDistance=function(n){return arguments.length?(k=(n=+n)*n,t):Math.sqrt(k)},t}},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,a,i,c,u,o,f){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=a,this.x=i,this.y=c,this.dx=u,this.dy=o,this._=f}n.a=r,r.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t}}])});