cl-react-graph
Version:
1 lines • 127 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{273:function(t,n,e){"use strict";var r="http://www.w3.org/1999/xhtml",i={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/"},o=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),i.hasOwnProperty(n)?{space:i[n],local:t}:t};var a=function(t){var n=o(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===r&&n.documentElement.namespaceURI===r?n.createElement(t):n.createElementNS(e,t)}})(n)};function u(){}var s=function(t){return null==t?u:function(){return this.querySelector(t)}};function c(){return[]}var h=function(t){return null==t?c:function(){return this.querySelectorAll(t)}},l=function(t){return function(){return this.matches(t)}},f=function(t){return new Array(t.length)};function _(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}_.prototype={constructor:_,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)}};var p="$";function y(t,n,e,r,i,o){for(var a,u=0,s=n.length,c=o.length;u<c;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new _(t,o[u]);for(;u<s;++u)(a=n[u])&&(i[u]=a)}function g(t,n,e,r,i,o,a){var u,s,c,h={},l=n.length,f=o.length,y=new Array(l);for(u=0;u<l;++u)(s=n[u])&&(y[u]=c=p+a.call(s,s.__data__,u,n),c in h?i[u]=s:h[c]=s);for(u=0;u<f;++u)(s=h[c=p+a.call(t,o[u],u,o)])?(r[u]=s,s.__data__=o[u],h[c]=null):e[u]=new _(t,o[u]);for(u=0;u<l;++u)(s=n[u])&&h[y[u]]===s&&(i[u]=s)}function d(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}var v=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function b(t,n){return t.style.getPropertyValue(n)||v(t).getComputedStyle(t,null).getPropertyValue(n)}function m(t){return t.trim().split(/^|\s+/)}function x(t){return t.classList||new w(t)}function w(t){this._node=t,this._names=m(t.getAttribute("class")||"")}function M(t,n){for(var e=x(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function k(t,n){for(var e=x(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}w.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}};function T(){this.textContent=""}function N(){this.innerHTML=""}function A(){this.nextSibling&&this.parentNode.appendChild(this)}function j(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function S(){return null}function O(){var t=this.parentNode;t&&t.removeChild(this)}function E(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function C(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var F={},U=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(F={mouseenter:"mouseover",mouseleave:"mouseout"}));function D(t,n,e){return t=P(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function P(t,n,e){return function(r){var i=U;U=r;try{t.call(this,this.__data__,n,e)}finally{U=i}}}function z(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function I(t,n,e){var r=F.hasOwnProperty(t.type)?D:P;return function(i,o,a){var u,s=this.__on,c=r(n,o,a);if(s)for(var h=0,l=s.length;h<l;++h)if((u=s[h]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=e),void(u.value=n);this.addEventListener(t.type,c,e),u={type:t.type,name:t.name,value:n,listener:c,capture:e},s?s.push(u):this.__on=[u]}}function Y(t,n,e){var r=v(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}var $=[null];function q(t,n){this._groups=t,this._parents=n}function L(){return new q([[document.documentElement]],$)}q.prototype=L.prototype={constructor:q,select:function(t){"function"!=typeof t&&(t=s(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a,u=n[i],c=u.length,h=r[i]=new Array(c),l=0;l<c;++l)(o=u[l])&&(a=t.call(o,o.__data__,l,u))&&("__data__"in o&&(a.__data__=o.__data__),h[l]=a);return new q(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=h(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var a,u=n[o],s=u.length,c=0;c<s;++c)(a=u[c])&&(r.push(t.call(a,a.__data__,c,u)),i.push(a));return new q(r,i)},filter:function(t){"function"!=typeof t&&(t=l(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new q(r,this._parents)},data:function(t,n){if(!t)return p=new Array(this.size()),h=-1,this.each(function(t){p[++h]=t}),p;var e,r=n?g:y,i=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var a=o.length,u=new Array(a),s=new Array(a),c=new Array(a),h=0;h<a;++h){var l=i[h],f=o[h],_=f.length,p=t.call(l,l&&l.__data__,h,i),d=p.length,v=s[h]=new Array(d),b=u[h]=new Array(d);r(l,f,v,b,c[h]=new Array(_),p,n);for(var m,x,w=0,M=0;w<d;++w)if(m=v[w]){for(w>=M&&(M=w+1);!(x=b[M])&&++M<d;);m._next=x||null}}return(u=new q(u,i))._enter=s,u._exit=c,u},enter:function(){return new q(this._enter||this._groups.map(f),this._parents)},exit:function(){return new q(this._exit||this._groups.map(f),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=n[u],h=e[u],l=c.length,f=a[u]=new Array(l),_=0;_<l;++_)(s=c[_]||h[_])&&(f[_]=s);for(;u<r;++u)a[u]=n[u];return new q(a,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=d);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var a,u=e[o],s=u.length,c=i[o]=new Array(s),h=0;h<s;++h)(a=u[h])&&(c[h]=a);c.sort(n)}return new q(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,n){var e=o(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}:function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):b(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=m(t+"");if(arguments.length<2){for(var r=x(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?M:k)(this,t)}}:n?function(t){return function(){M(this,t)}}:function(t){return function(){k(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?T:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?N:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(A)},lower:function(){return this.each(j)},append:function(t){var n="function"==typeof t?t:a(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:a(t),r=null==n?S:"function"==typeof n?n:s(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(O)},clone:function(t){return this.select(t?C:E)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),a=o.length;if(!(arguments.length<2)){for(u=n?I:z,null==e&&(e=!1),r=0;r<a;++r)this.each(u(o[r],n,e));return this}var u=this.node().__on;if(u)for(var s,c=0,h=u.length;c<h;++c)for(r=0,s=u[c];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return Y(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return Y(this,t,n)}})(t,n))}};var H=L,R=function(t){return"string"==typeof t?new q([[document.querySelector(t)]],[document.documentElement]):new q([[t]],$)},V=0;function X(){this._="@"+(++V).toString(36)}X.prototype=function(){return new X}.prototype={constructor:X,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._}};e.d(n,"b",function(){return l}),e.d(n,"c",function(){return o}),e.d(n,"d",function(){return R}),e.d(n,"e",function(){return H}),e.d(n,"f",function(){return s}),e.d(n,"g",function(){return h}),e.d(n,"h",function(){return b}),e.d(n,"a",function(){return U})},279:function(t,n,e){"use strict";var r=e(8),i=e(41),o=e(21),a=e(645),u=e(135),s=e(24),c=e(809).f,h=e(646).f,l=e(39).f,f=e(810).trim,_=r.Number,p=_,y=_.prototype,g="Number"==o(e(142)(y)),d="trim"in String.prototype,v=function(t){var n=u(t,!1);if("string"==typeof n&&n.length>2){var e,r,i,o=(n=d?n.trim():f(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+n}for(var a,s=n.slice(2),c=0,h=s.length;c<h;c++)if((a=s.charCodeAt(c))<48||a>i)return NaN;return parseInt(s,r)}}return+n};if(!_(" 0o1")||!_("0b1")||_("+0x1")){_=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof _&&(g?s(function(){y.valueOf.call(e)}):"Number"!=o(e))?a(new p(v(n)),e,_):v(n)};for(var b,m=e(25)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;m.length>x;x++)i(p,b=m[x])&&!i(_,b)&&l(_,b,h(p,b));_.prototype=y,y.constructor=_,e(26)(r,"Number",_)}},284:function(t,n,e){"use strict";var r=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},i=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return r(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}};var o=i(r),a=o.right,u=(o.left,a);var s=Array.prototype,c=(s.slice,s.map,function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}),h=Math.sqrt(50),l=Math.sqrt(10),f=Math.sqrt(2),_=function(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=p(t,n,e))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(i=Math.ceil(n-t+1));++u<i;)o[u]=(t+u)*a;else for(t=Math.floor(t*a),n=Math.ceil(n*a),o=new Array(i=Math.ceil(t-n+1));++u<i;)o[u]=(t-u)/a;return r&&o.reverse(),o};function p(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=h?10:o>=l?5:o>=f?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=h?10:o>=l?5:o>=f?2:1)}function y(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=h?i*=10:o>=l?i*=5:o>=f&&(i*=2),n<t?-i:i}function g(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}var d=e(651),v=Array.prototype,b=v.map,m=v.slice,x={name:"implicit"};function w(){var t=Object(d.a)(),n=[],e=[],r=x;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==x)return r;t.set(o,a=n.push(i))}return e[(a-1)%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=Object(d.a)();for(var r,o,a=-1,u=e.length;++a<u;)t.has(o=(r=e[a])+"")||t.set(o,n.push(r));return i},i.range=function(t){return arguments.length?(e=m.call(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return w(n,e).unknown(r)},g.apply(i,arguments),i}function M(){var t,n,e=w().unknown(void 0),r=e.domain,i=e.range,o=[0,1],a=!1,u=0,s=0,h=.5;function l(){var e=r().length,l=o[1]<o[0],f=o[l-0],_=o[1-l];t=(_-f)/Math.max(1,e-u+2*s),a&&(t=Math.floor(t)),f+=(_-f-t*(e-u))*h,n=t*(1-u),a&&(f=Math.round(f),n=Math.round(n));var p=c(e).map(function(n){return f+t*n});return i(l?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),l()):r()},e.range=function(t){return arguments.length?(o=[+t[0],+t[1]],l()):o.slice()},e.rangeRound=function(t){return o=[+t[0],+t[1]],a=!0,l()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(a=!!t,l()):a},e.padding=function(t){return arguments.length?(u=Math.min(1,s=+t),l()):u},e.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),l()):u},e.paddingOuter=function(t){return arguments.length?(s=+t,l()):s},e.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),l()):h},e.copy=function(){return M(r(),o).round(a).paddingInner(u).paddingOuter(s).align(h)},g.apply(l(),arguments)}var k=e(394),T=function(t){return function(){return t}},N=function(t){return+t},A=[0,1];function j(t){return t}function S(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:T(isNaN(n)?NaN:.5)}function O(t){var n,e=t[0],r=t[t.length-1];return e>r&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function E(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=S(i,r),o=e(a,o)):(r=S(r,i),o=e(o,a)),function(t){return o(r(t))}}function C(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)i[a]=S(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=u(t,n,1,r)-1;return o[e](i[e](n))}}function F(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function U(){var t,n,e,r,i,o,a=A,u=A,s=k.a,c=j;function h(){return r=Math.min(a.length,u.length)>2?C:E,i=o=null,l}function l(n){return isNaN(n=+n)?e:(i||(i=r(a.map(t),u,s)))(t(c(n)))}return l.invert=function(e){return c(n((o||(o=r(u,a.map(t),k.b)))(e)))},l.domain=function(t){return arguments.length?(a=b.call(t,N),c===j||(c=O(a)),h()):a.slice()},l.range=function(t){return arguments.length?(u=m.call(t),h()):u.slice()},l.rangeRound=function(t){return u=m.call(t),s=k.d,h()},l.clamp=function(t){return arguments.length?(c=t?O(a):j,l):c!==j},l.interpolate=function(t){return arguments.length?(s=t,h()):s},l.unknown=function(t){return arguments.length?(e=t,l):e},function(e,r){return t=e,n=r,h()}}function D(t,n){return U()(t,n)}var P=e(410),z=function(t,n,e,r){var i,o=y(t,n,e);switch((r=Object(P.c)(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=Object(P.e)(o,a))||(r.precision=i),Object(P.b)(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Object(P.f)(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Object(P.d)(o))||(r.precision=i-2*("%"===r.type))}return Object(P.a)(r)};function I(t){var n=t.domain;return t.ticks=function(t){var e=n();return _(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return z(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,a=i.length-1,u=i[o],s=i[a];return s<u&&(r=u,u=s,s=r,r=o,o=a,a=r),(r=p(u,s,e))>0?r=p(u=Math.floor(u/r)*r,s=Math.ceil(s/r)*r,e):r<0&&(r=p(u=Math.ceil(u*r)/r,s=Math.floor(s*r)/r,e)),r>0?(i[o]=Math.floor(u/r)*r,i[a]=Math.ceil(s/r)*r,n(i)):r<0&&(i[o]=Math.ceil(u*r)/r,i[a]=Math.floor(s*r)/r,n(i)),t},t}function Y(){var t=D(j,j);return t.copy=function(){return F(t,Y())},g.apply(t,arguments),I(t)}var $=function(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t};function q(t){return Math.log(t)}function L(t){return Math.exp(t)}function H(t){return-Math.log(-t)}function R(t){return-Math.exp(-t)}function V(t){return isFinite(t)?+("1e"+t):t<0?0:t}function X(t){return function(n){return-t(-n)}}function B(t){var n,e,r=t(q,L),i=r.domain,o=10;function a(){return n=function(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})}(o),e=function(t){return 10===t?V:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}(o),i()[0]<0?(n=X(n),e=X(e),t(H,R)):t(q,L),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),u=a[0],s=a[a.length-1];(r=s<u)&&(f=u,u=s,s=f);var c,h,l,f=n(u),p=n(s),y=null==t?10:+t,g=[];if(!(o%1)&&p-f<y){if(f=Math.round(f)-1,p=Math.round(p)+1,u>0){for(;f<p;++f)for(h=1,c=e(f);h<o;++h)if(!((l=c*h)<u)){if(l>s)break;g.push(l)}}else for(;f<p;++f)for(h=o-1,c=e(f);h>=1;--h)if(!((l=c*h)<u)){if(l>s)break;g.push(l)}}else g=_(f,p,Math.min(p-f,y)).map(e);return r?g.reverse():g},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=Object(P.a)(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/e(Math.round(n(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i($(i(),{floor:function(t){return e(Math.floor(n(t)))},ceil:function(t){return e(Math.ceil(n(t)))}}))},r}function Z(){var t=B(U()).domain([1,10]);return t.copy=function(){return F(t,Z()).base(t.base())},g.apply(t,arguments),t}var W=e(622),J=e(351),Q=1e3,G=60*Q,K=60*G,tt=24*K,nt=7*tt,et=30*tt,rt=365*tt;function it(t){return new Date(t)}function ot(t){return t instanceof Date?+t:+new Date(+t)}function at(t,n,e,r,o,a,u,s,c){var h=D(j,j),l=h.invert,f=h.domain,_=c(".%L"),p=c(":%S"),g=c("%I:%M"),d=c("%I %p"),v=c("%a %d"),m=c("%b %d"),x=c("%B"),w=c("%Y"),M=[[u,1,Q],[u,5,5*Q],[u,15,15*Q],[u,30,30*Q],[a,1,G],[a,5,5*G],[a,15,15*G],[a,30,30*G],[o,1,K],[o,3,3*K],[o,6,6*K],[o,12,12*K],[r,1,tt],[r,2,2*tt],[e,1,nt],[n,1,et],[n,3,3*et],[t,1,rt]];function k(i){return(u(i)<i?_:a(i)<i?p:o(i)<i?g:r(i)<i?d:n(i)<i?e(i)<i?v:m:t(i)<i?x:w)(i)}function T(n,e,r,o){if(null==n&&(n=10),"number"==typeof n){var a=Math.abs(r-e)/n,u=i(function(t){return t[2]}).right(M,a);u===M.length?(o=y(e/rt,r/rt,n),n=t):u?(o=(u=M[a/M[u-1][2]<M[u][2]/a?u-1:u])[1],n=u[0]):(o=Math.max(y(e,r,n),1),n=s)}return null==o?n:n.every(o)}return h.invert=function(t){return new Date(l(t))},h.domain=function(t){return arguments.length?f(b.call(t,ot)):f().map(it)},h.ticks=function(t,n){var e,r=f(),i=r[0],o=r[r.length-1],a=o<i;return a&&(e=i,i=o,o=e),e=(e=T(t,i,o,n))?e.range(i,o+1):[],a?e.reverse():e},h.tickFormat=function(t,n){return null==n?k:c(n)},h.nice=function(t,n){var e=f();return(t=T(t,e[0],e[e.length-1],n))?f($(e,t)):h},h.copy=function(){return F(h,at(t,n,e,r,o,a,u,s,c))},h}var ut=function(){return g.apply(at(W.k,W.f,W.j,W.a,W.b,W.d,W.g,W.c,J.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)};e.d(n,"a",function(){return M}),e.d(n,"b",function(){return Y}),e.d(n,"c",function(){return Z}),e.d(n,"d",function(){return w}),e.d(n,"e",function(){return ut})},287:function(t,n,e){(function(t,e){var r=200,i="__lodash_hash_undefined__",o=800,a=16,u=9007199254740991,s="[object Arguments]",c="[object AsyncFunction]",h="[object Function]",l="[object GeneratorFunction]",f="[object Null]",_="[object Object]",p="[object Proxy]",y="[object Undefined]",g=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v[s]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v[h]=v["[object Map]"]=v["[object Number]"]=v[_]=v["[object RegExp]"]=v["[object Set]"]=v["[object String]"]=v["[object WeakMap]"]=!1;var b="object"==typeof t&&t&&t.Object===Object&&t,m="object"==typeof self&&self&&self.Object===Object&&self,x=b||m||Function("return this")(),w=n&&!n.nodeType&&n,M=w&&"object"==typeof e&&e&&!e.nodeType&&e,k=M&&M.exports===w,T=k&&b.process,N=function(){try{return T&&T.binding&&T.binding("util")}catch(t){}}(),A=N&&N.isTypedArray;function j(t,n){return"__proto__"==n?void 0:t[n]}var S,O,E,C=Array.prototype,F=Function.prototype,U=Object.prototype,D=x["__core-js_shared__"],P=F.toString,z=U.hasOwnProperty,I=(S=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",Y=U.toString,$=P.call(Object),q=RegExp("^"+P.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=k?x.Buffer:void 0,H=x.Symbol,R=x.Uint8Array,V=L?L.allocUnsafe:void 0,X=(O=Object.getPrototypeOf,E=Object,function(t){return O(E(t))}),B=Object.create,Z=U.propertyIsEnumerable,W=C.splice,J=H?H.toStringTag:void 0,Q=function(){try{var t=wt(Object,"defineProperty");return t({},"",{}),t}catch(n){}}(),G=L?L.isBuffer:void 0,K=Math.max,tt=Date.now,nt=wt(x,"Map"),et=wt(Object,"create"),rt=function(){function t(){}return function(n){if(!Ft(n))return{};if(B)return B(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();function it(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function ot(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function at(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function ut(t){var n=this.__data__=new ot(t);this.size=n.size}function st(t,n){var e=jt(t),r=!e&&At(t),i=!e&&!r&&Ot(t),o=!e&&!r&&!i&&Dt(t),a=e||r||i||o,u=a?function(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}(t.length,String):[],s=u.length;for(var c in t)!n&&!z.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Mt(c,s))||u.push(c);return u}function ct(t,n,e){(void 0===e||Nt(t[n],e))&&(void 0!==e||n in t)||ft(t,n,e)}function ht(t,n,e){var r=t[n];z.call(t,n)&&Nt(r,e)&&(void 0!==e||n in t)||ft(t,n,e)}function lt(t,n){for(var e=t.length;e--;)if(Nt(t[e][0],n))return e;return-1}function ft(t,n,e){"__proto__"==n&&Q?Q(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}it.prototype.clear=function(){this.__data__=et?et(null):{},this.size=0},it.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},it.prototype.get=function(t){var n=this.__data__;if(et){var e=n[t];return e===i?void 0:e}return z.call(n,t)?n[t]:void 0},it.prototype.has=function(t){var n=this.__data__;return et?void 0!==n[t]:z.call(n,t)},it.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=et&&void 0===n?i:n,this},ot.prototype.clear=function(){this.__data__=[],this.size=0},ot.prototype.delete=function(t){var n=this.__data__,e=lt(n,t);return!(e<0||(e==n.length-1?n.pop():W.call(n,e,1),--this.size,0))},ot.prototype.get=function(t){var n=this.__data__,e=lt(n,t);return e<0?void 0:n[e][1]},ot.prototype.has=function(t){return lt(this.__data__,t)>-1},ot.prototype.set=function(t,n){var e=this.__data__,r=lt(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},at.prototype.clear=function(){this.size=0,this.__data__={hash:new it,map:new(nt||ot),string:new it}},at.prototype.delete=function(t){var n=xt(this,t).delete(t);return this.size-=n?1:0,n},at.prototype.get=function(t){return xt(this,t).get(t)},at.prototype.has=function(t){return xt(this,t).has(t)},at.prototype.set=function(t,n){var e=xt(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},ut.prototype.clear=function(){this.__data__=new ot,this.size=0},ut.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},ut.prototype.get=function(t){return this.__data__.get(t)},ut.prototype.has=function(t){return this.__data__.has(t)},ut.prototype.set=function(t,n){var e=this.__data__;if(e instanceof ot){var i=e.__data__;if(!nt||i.length<r-1)return i.push([t,n]),this.size=++e.size,this;e=this.__data__=new at(i)}return e.set(t,n),this.size=e.size,this};var _t,pt=function(t,n,e){for(var r=-1,i=Object(t),o=e(t),a=o.length;a--;){var u=o[_t?a:++r];if(!1===n(i[u],u,i))break}return t};function yt(t){return null==t?void 0===t?y:f:J&&J in Object(t)?function(t){var n=z.call(t,J),e=t[J];try{t[J]=void 0;var r=!0}catch(o){}var i=Y.call(t);r&&(n?t[J]=e:delete t[J]);return i}(t):function(t){return Y.call(t)}(t)}function gt(t){return Ut(t)&&yt(t)==s}function dt(t){return!(!Ft(t)||(n=t,I&&I in n))&&(Et(t)?q:g).test(function(t){if(null!=t){try{return P.call(t)}catch(n){}try{return t+""}catch(n){}}return""}(t));var n}function vt(t){if(!Ft(t))return function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}(t);var n=kt(t),e=[];for(var r in t)("constructor"!=r||!n&&z.call(t,r))&&e.push(r);return e}function bt(t,n,e,r,i){t!==n&&pt(n,function(o,a){if(Ft(o))i||(i=new ut),function(t,n,e,r,i,o,a){var u=j(t,e),s=j(n,e),c=a.get(s);if(c)return void ct(t,e,c);var h=o?o(u,s,e+"",t,n,a):void 0,l=void 0===h;if(l){var f=jt(s),p=!f&&Ot(s),y=!f&&!p&&Dt(s);h=s,f||p||y?jt(u)?h=u:Ut(m=u)&&St(m)?h=function(t,n){var e=-1,r=t.length;n||(n=Array(r));for(;++e<r;)n[e]=t[e];return n}(u):p?(l=!1,h=function(t,n){if(n)return t.slice();var e=t.length,r=V?V(e):new t.constructor(e);return t.copy(r),r}(s,!0)):y?(l=!1,g=s,d=!0?(v=g.buffer,b=new v.constructor(v.byteLength),new R(b).set(new R(v)),b):g.buffer,h=new g.constructor(d,g.byteOffset,g.length)):h=[]:function(t){if(!Ut(t)||yt(t)!=_)return!1;var n=X(t);if(null===n)return!0;var e=z.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&P.call(e)==$}(s)||At(s)?(h=u,At(u)?h=function(t){return function(t,n,e,r){var i=!e;e||(e={});var o=-1,a=n.length;for(;++o<a;){var u=n[o],s=r?r(e[u],t[u],u,e,t):void 0;void 0===s&&(s=t[u]),i?ft(e,u,s):ht(e,u,s)}return e}(t,Pt(t))}(u):(!Ft(u)||r&&Et(u))&&(h=function(t){return"function"!=typeof t.constructor||kt(t)?{}:rt(X(t))}(s))):l=!1}var g,d,v,b;var m;l&&(a.set(s,h),i(h,s,r,o,a),a.delete(s));ct(t,e,h)}(t,n,a,e,bt,r,i);else{var u=r?r(j(t,a),o,a+"",t,n,i):void 0;void 0===u&&(u=o),ct(t,a,u)}},Pt)}function mt(t,n){return Tt(function(t,n,e){return n=K(void 0===n?t.length-1:n,0),function(){for(var r=arguments,i=-1,o=K(r.length-n,0),a=Array(o);++i<o;)a[i]=r[n+i];i=-1;for(var u=Array(n+1);++i<n;)u[i]=r[i];return u[n]=e(a),function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}(t,this,u)}}(t,n,Yt),t+"")}function xt(t,n){var e,r,i=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?i["string"==typeof n?"string":"hash"]:i.map}function wt(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return dt(e)?e:void 0}function Mt(t,n){var e=typeof t;return!!(n=null==n?u:n)&&("number"==e||"symbol"!=e&&d.test(t))&&t>-1&&t%1==0&&t<n}function kt(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||U)}var Tt=function(t){var n=0,e=0;return function(){var r=tt(),i=a-(r-e);if(e=r,i>0){if(++n>=o)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}(Q?function(t,n){return Q(t,"toString",{configurable:!0,enumerable:!1,value:(e=n,function(){return e}),writable:!0});var e}:Yt);function Nt(t,n){return t===n||t!=t&&n!=n}var At=gt(function(){return arguments}())?gt:function(t){return Ut(t)&&z.call(t,"callee")&&!Z.call(t,"callee")},jt=Array.isArray;function St(t){return null!=t&&Ct(t.length)&&!Et(t)}var Ot=G||function(){return!1};function Et(t){if(!Ft(t))return!1;var n=yt(t);return n==h||n==l||n==c||n==p}function Ct(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}function Ft(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function Ut(t){return null!=t&&"object"==typeof t}var Dt=A?function(t){return function(n){return t(n)}}(A):function(t){return Ut(t)&&Ct(t.length)&&!!v[yt(t)]};function Pt(t){return St(t)?st(t,!0):vt(t)}var zt,It=(zt=function(t,n,e){bt(t,n,e)},mt(function(t,n){var e=-1,r=n.length,i=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(i=zt.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(t,n,e){if(!Ft(e))return!1;var r=typeof n;return!!("number"==r?St(e)&&Mt(n,e.length):"string"==r&&n in e)&&Nt(e[n],t)}(n[0],n[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++e<r;){var a=n[e];a&&zt(t,a,e,i)}return t}));function Yt(t){return t}e.exports=It}).call(this,e(38),e(350)(t))},290:function(t,n,e){"use strict";var r=Array.prototype.slice,i=function(t){return t},o=1,a=2,u=3,s=4,c=1e-6;function h(t){return"translate("+(t+.5)+",0)"}function l(t){return"translate(0,"+(t+.5)+")"}function f(){return!this.__axis}function _(t,n){var e=[],_=null,p=null,y=6,g=6,d=3,v=t===o||t===s?-1:1,b=t===s||t===a?"x":"y",m=t===o||t===u?h:l;function x(r){var h=null==_?n.ticks?n.ticks.apply(n,e):n.domain():_,l=null==p?n.tickFormat?n.tickFormat.apply(n,e):i:p,x=Math.max(y,0)+d,w=n.range(),M=+w[0]+.5,k=+w[w.length-1]+.5,T=(n.bandwidth?function(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}:function(t){return function(n){return+t(n)}})(n.copy()),N=r.selection?r.selection():r,A=N.selectAll(".domain").data([null]),j=N.selectAll(".tick").data(h,n).order(),S=j.exit(),O=j.enter().append("g").attr("class","tick"),E=j.select("line"),C=j.select("text");A=A.merge(A.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),j=j.merge(O),E=E.merge(O.append("line").attr("stroke","currentColor").attr(b+"2",v*y)),C=C.merge(O.append("text").attr("fill","currentColor").attr(b,v*x).attr("dy",t===o?"0em":t===u?"0.71em":"0.32em")),r!==N&&(A=A.transition(r),j=j.transition(r),E=E.transition(r),C=C.transition(r),S=S.transition(r).attr("opacity",c).attr("transform",function(t){return isFinite(t=T(t))?m(t):this.getAttribute("transform")}),O.attr("opacity",c).attr("transform",function(t){var n=this.parentNode.__axis;return m(n&&isFinite(n=n(t))?n:T(t))})),S.remove(),A.attr("d",t===s||t==a?g?"M"+v*g+","+M+"H0.5V"+k+"H"+v*g:"M0.5,"+M+"V"+k:g?"M"+M+","+v*g+"V0.5H"+k+"V"+v*g:"M"+M+",0.5H"+k),j.attr("opacity",1).attr("transform",function(t){return m(T(t))}),E.attr(b+"2",v*y),C.attr(b,v*x).text(l),N.filter(f).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===a?"start":t===s?"end":"middle"),N.each(function(){this.__axis=T})}return x.scale=function(t){return arguments.length?(n=t,x):n},x.ticks=function(){return e=r.call(arguments),x},x.tickArguments=function(t){return arguments.length?(e=null==t?[]:r.call(t),x):e.slice()},x.tickValues=function(t){return arguments.length?(_=null==t?null:r.call(t),x):_&&_.slice()},x.tickFormat=function(t){return arguments.length?(p=t,x):p},x.tickSize=function(t){return arguments.length?(y=g=+t,x):y},x.tickSizeInner=function(t){return arguments.length?(y=+t,x):y},x.tickSizeOuter=function(t){return arguments.length?(g=+t,x):g},x.tickPadding=function(t){return arguments.length?(d=+t,x):d},x}function p(t){return _(u,t)}function y(t){return _(s,t)}e.d(n,"a",function(){return p}),e.d(n,"b",function(){return y})},294:function(t,n,e){(function(n){var e="Expected a function",r="__lodash_hash_undefined__",i=1/0,o="[object Function]",a="[object GeneratorFunction]",u="[object Symbol]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,h=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,_=/^\[object .+?Constructor\]$/,p="object"==typeof n&&n&&n.Object===Object&&n,y="object"==typeof self&&self&&self.Object===Object&&self,g=p||y||Function("return this")();var d,v=Array.prototype,b=Function.prototype,m=Object.prototype,x=g["__core-js_shared__"],w=(d=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",M=b.toString,k=m.hasOwnProperty,T=m.toString,N=RegExp("^"+M.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),A=g.Symbol,j=v.splice,S=$(g,"Map"),O=$(Object,"create"),E=A?A.prototype:void 0,C=E?E.toString:void 0;function F(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function U(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function D(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function P(t,n){for(var e,r,i=t.length;i--;)if((e=t[i][0])===(r=n)||e!=e&&r!=r)return i;return-1}function z(t,n){for(var e,r=0,i=(n=function(t,n){if(R(t))return!1;var e=typeof t;if("number"==e||"symbol"==e||"boolean"==e||null==t||X(t))return!0;return c.test(t)||!s.test(t)||null!=n&&t in Object(n)}(n,t)?[n]:R(e=n)?e:q(e)).length;null!=t&&r<i;)t=t[L(n[r++])];return r&&r==i?t:void 0}function I(t){return!(!V(t)||(n=t,w&&w in n))&&(function(t){var n=V(t)?T.call(t):"";return n==o||n==a}(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(e){}return n}(t)?N:_).test(function(t){if(null!=t){try{return M.call(t)}catch(n){}try{return t+""}catch(n){}}return""}(t));var n}function Y(t,n){var e,r,i=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?i["string"==typeof n?"string":"hash"]:i.map}function $(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return I(e)?e:void 0}F.prototype.clear=function(){this.__data__=O?O(null):{}},F.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},F.prototype.get=function(t){var n=this.__data__;if(O){var e=n[t];return e===r?void 0:e}return k.call(n,t)?n[t]:void 0},F.prototype.has=function(t){var n=this.__data__;return O?void 0!==n[t]:k.call(n,t)},F.prototype.set=function(t,n){return this.__data__[t]=O&&void 0===n?r:n,this},U.prototype.clear=function(){this.__data__=[]},U.prototype.delete=function(t){var n=this.__data__,e=P(n,t);return!(e<0||(e==n.length-1?n.pop():j.call(n,e,1),0))},U.prototype.get=function(t){var n=this.__data__,e=P(n,t);return e<0?void 0:n[e][1]},U.prototype.has=function(t){return P(this.__data__,t)>-1},U.prototype.set=function(t,n){var e=this.__data__,r=P(e,t);return r<0?e.push([t,n]):e[r][1]=n,this},D.prototype.clear=function(){this.__data__={hash:new F,map:new(S||U),string:new F}},D.prototype.delete=function(t){return Y(this,t).delete(t)},D.prototype.get=function(t){return Y(this,t).get(t)},D.prototype.has=function(t){return Y(this,t).has(t)},D.prototype.set=function(t,n){return Y(this,t).set(t,n),this};var q=H(function(t){var n;t=null==(n=t)?"":function(t){if("string"==typeof t)return t;if(X(t))return C?C.call(t):"";var n=t+"";return"0"==n&&1/t==-i?"-0":n}(n);var e=[];return h.test(t)&&e.push(""),t.replace(l,function(t,n,r,i){e.push(r?i.replace(f,"$1"):n||t)}),e});function L(t){if("string"==typeof t||X(t))return t;var n=t+"";return"0"==n&&1/t==-i?"-0":n}function H(t,n){if("function"!=typeof t||n&&"function"!=typeof n)throw new TypeError(e);var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,e);return r.cache=o.set(i,a),a};return r.cache=new(H.Cache||D),r}H.Cache=D;var R=Array.isArray;function V(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function X(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&T.call(t)==u}t.exports=function(t,n,e){var r=null==t?void 0:z(t,n);return void 0===r?e:r}}).call(this,e(38))},295:function(t,n,e){"use strict";var r=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN};var i,o;1===(i=r).length&&(o=i,i=function(t,n){return r(o(t),n)});var a=function(t,n){let e,r;if(void 0===n)for(let i of t)null!=i&&i>=i&&(void 0===e?e=r=i:(e>i&&(e=i),r<i&&(r=i)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&o>=o&&(void 0===e?e=r=o:(e>o&&(e=o),r<o&&(r=o)))}return[e,r]};var u=Array.prototype;u.slice,u.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);e.d(n,"a",function(){return a})},306:function(t,n,e){"use strict";var r=Math.PI,i=2*r,o=i-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function u(){return new a}a.prototype=u.prototype={constructor:a,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,i,o){t=+t,n=+n,e=+e,i=+i,o=+o;var a=this._x1,u=this._y1,s=e-t,c=i-n,h=a-t,l=u-n,f=h*h+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>1e-6)if(Math.abs(l*s-c*h)>1e-6&&o){var _=e-a,p=i-u,y=s*s+c*c,g=_*_+p*p,d=Math.sqrt(y),v=Math.sqrt(f),b=o*Math.tan((r-Math.acos((y+f-g)/(2*d*v)))/2),m=b/v,x=b/d;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*h)+","+(n+m*l)),this._+="A"+o+","+o+",0,0,"+ +(l*_>h*p)+","+(this._x1=t+x*s)+","+(this._y1=n+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,u,s){t=+t,n=+n;var c=(e=+e)*Math.cos(a),h=e*Math.sin(a),l=t+c,f=n+h,_=1^s,p=s?a-u:u-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+f:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+l+","+f),e&&(p<0&&(p=p%i+i),p>o?this._+="A"+e+","+e+",0,1,"+_+","+(t-c)+","+(n-h)+"A"+e+","+e+",0,1,"+_+","+(this._x1=l)+","+(this._y1=f):p>1e-6&&(this._+="A"+e+","+e+",0,"+ +(p>=r)+","+_+","+(this._x1=t+e*Math.cos(u))+","+(this._y1=n+e*Math.sin(u))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var s=u,c=function(t){return function(){return t}},h=Math.abs,l=Math.atan2,f=Math.cos,_=Math.max,p=Math.min,y=Math.sin,g=Math.sqrt,d=1e-12,v=Math.PI,b=v/2,m=2*v;function x(t){return t>=1?b:t<=-1?-b:Math.asin(t)}function w(t){return t.innerRadius}function M(t){return t.outerRadius}function k(t){return t.startAngle}function T(t){return t.endAngle}function N(t){return t&&t.padAngle}function A(t,n,e,r,i,o,a){var u=t-e,s=n-r,c=(a?o:-o)/g(u*u+s*s),h=c*s,l=-c*u,f=t+h,p=n+l,y=e+h,d=r+l,v=(f+y)/2,b=(p+d)/2,m=y-f,x=d-p,w=m*m+x*x,M=i-o,k=f*d-y*p,T=(x<0?-1:1)*g(_(0,M*M*w-k*k)),N=(k*x-m*T)/w,A=(-k*m-x*T)/w,j=(k*x+m*T)/w,S=(-k*m+x*T)/w,O=N-v,E=A-b,C=j-v,F=S-b;return O*O+E*E>C*C+F*F&&(N=j,A=S),{cx:N,cy:A,x01:-h,y01:-l,x11:N*(i/M-1),y11:A*(i/M-1)}}var j=function(){var t=w,n=M,e=c(0),r=null,i=k,o=T,a=N,u=null;function _(){var c,_,w,M=+t.apply(this,arguments),k=+n.apply(this,arguments),T=i.apply(this,arguments)-b,N=o.apply(this,arguments)-b,j=h(N-T),S=N>T;if(u||(u=c=s()),k<M&&(_=k,k=M,M=_),k>d)if(j>m-d)u.moveTo(k*f(T),k*y(T)),u.arc(0,0,k,T,N,!S),M>d&&(u.moveTo(M*f(N),M*y(N)),u.arc(0,0,M,N,T,S));else{var O,E,C=T,F=N,U=T,D=N,P=j,z=j,I=a.apply(this,arguments)/2,Y=I>d&&(r?+r.apply(this,arguments):g(M*M+k*k)),$=p(h(k-M)/2,+e.apply(this,arguments)),q=$,L=$;if(Y>d){var H=x(Y/M*y(I)),R=x(Y/k*y(I));(P-=2*H)>d?(U+=H*=S?1:-1,D-=H):(P=0,U=D=(T+N)/2),(z-=2*R)>d?(C+=R*=S?1:-1,F-=R):(z=0,C=F=(T+N)/2)}var V=k*f(C),X=k*y(C),B=M*f(D),Z=M*y(D);if($>d){var W,J=k*f(F),Q=k*y(F),G=M*f(U),K=M*y(U);if(j<v&&(W=function(t,n,e,r,i,o,a,u){var s=e-t,c=r-n,h=a-i,l=u-o,f=l*s-h*c;if(!(f*f<d))return[t+(f=(h*(n-o)-l*(t-i))/f)*s,n+f*c]}(V,X,G,K,J,Q,B,Z))){var tt=V-W[0],nt=X-W[1],et=J-W[0],rt=Q-W[1],it=1/y(((w=(tt*et+nt*rt)/(g(tt*tt+nt*nt)*g(et*et+rt*rt)))>1?0:w<-1?v:Math.acos(w))/2),ot=g(W[0]*W[0]+W[1]*W[1]);q=p($,(M-ot)/(it-1)),L=p($,(k-ot)/(it+1))}}z>d?L>d?(O=A(G,K,V,X,k,L,S),E=A(J,Q,B,Z,k,L,S),u.moveTo(O.cx+O.x01,O.cy+O.y01),L<$?u.arc(O.cx,O.cy,L,l(O.y01,O.x01),l(E.y01,E.x01),!S):(u.arc(O.cx,O.cy,L,l(O.y01,O.x01),l(O.y11,O.x11),!S),u.arc(0,0,k,l(O.cy+O.y11,O.cx+O.x11),l(E.cy+E.y11,E.cx+E.x11),!S),u.arc(E.cx,E.cy,L,l(E.y11,E.x11),l(E.y01,E.x01),!S))):(u.moveTo(V,X),u.arc(0,0,k,C,F,!S)):u.moveTo(V,X),M>d&&P>d?q>d?(O=A(B,Z,J,Q,M,-q,S),E=A(V,X,G,K,M,-q,S),u.lineTo(O.cx+O.x01,O.cy+O.y01),q<$?u.arc(O.cx,O.cy,q,l(O.y01,O.x01),l(E.y01,E.x01),!S):(u.arc(O.cx,O.cy,q,l(O.y01,O.x01),l(O.y11,O.x11),!S),u.arc(0,0,M,l(O.cy+O.y11,O.cx+O.x11),l(E.cy+E.y11,E.cx+E.x11),S),u.arc(E.cx,E.cy,q,l(E.y11,E.x11),l(E.y01,E.x01),!S))):u.arc(0,0,M,D,U,S):u.lineTo(B,Z)}else u.moveTo(0,0);if(u.closePath(),c)return u=null,c+""||null}return _.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-v/2;return[f(r)*e,y(r)*e]},_.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),_):t},_.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:c(+t),_):n},_.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:c(+t),_):e},_.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:c(+t),_):r},_.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:c(+t),_):i},_.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:c(+t),_):o},_.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:c(+t),_):a},_.context=function(t){return arguments.length?(u=null==t?null:t,_):u},_};function S(t){this._context=t}S.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var O=function(t){return new S(t)};function E(t){return t[0]}function C(t){return t[1]}var F=function(){var t=E,n=C,e=c(!0),r=null,i=O,o=null;function a(a){var u,c,h,l=a.length,f=!1;for(null==r&&(o=i(h=s())),u=0;u<=l;++u)!(u<l&&e(c=a[u],u,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(c,u,a),+n(c,u,a));if(h)return o=null,h+""||null}return a.x=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:c(+t),a):n},a.defined=function(t){return arguments.length?(e="function"==typeof t?t:c(!!t),a):e},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a},U=function(){var t=E,n=null,e=c(0),r=C,i=c(!0),o=null,a=O,u=null;function h(c){var h,l,f,_,p,y=c.length,g=!1,d=new Array(y),v=new Array(y);for(null==o&&(u=a(p=s())),h=0;h<=y;++h){if(!(h<y&&i(_=c[h],h,c))===g)if(g=!g)l=h,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),f=h-1;f>=l;--f)u.point(d[f],v[f]);u.lineEnd(),u.areaEnd()}g&&(d[h]=+t(_,h,c),v[h]=+e(_,h,c),u.point(n?+n(_,h,c):d[h],r?+r(_,h,c):v[h]))}if(p)return u=null,p+""||null}function l(){return F().defined(i).curve(a).context(o)}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:c(+e),n=null,h):t},h.x0=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),h):t},h.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:c(+t),h):n},h.y=function(t){return arguments.length?(e="function"==typeof t?t:c(+t),r=null,h):e},h.y0=function(t){return arguments.length?(e="function"==typeof t?t:c(+t),h):e},h.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:c(+t),h):r},h.lineX0=h.lineY0=function(){return l().x(t).y(e)},h.lineY1=function(){return l().x(t).y(r)},h.lineX1=function(){return l().x(n).y(e)},h.defined=function(t){return arguments.length?(i="function"==typeof t?t:c(!!t),h):i},h.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),h):a},h.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),h):o},h},D=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},P=function(t){return t},z=function(){var t=P,n=D,e=null,r=c(0),i=c(m),o=c(0);function a(a){var u,s,c,h,l,f=a.length,_=0,p=new Array(f),y=new Array(f),g=+r.apply(this,arguments),d=Math.min(m,Math.max(-m,i.apply(this,arguments)-g)),v=Math.min(Math.abs(d)/f,o.apply(this,arguments)),b=v*(d<0?-1:1);for(u=0;u<f;++u)(l=y[p[u]=u]=+t(a[u],u,a))>0&&(_+=l);for(null!=n?p.sort(function(t,e){return n(y[t],y[e])}):null!=e&&p.sort(function(t,n){return e(a[t],a[n])}),u=0,c=_?(d-f*b)/_:0;u<f;++u,g=h)s=p[u],h=g+((l=y[s])>0?l*c:0)+b,y[s]={data:a[s],index:u,value:l,startAngle:g,endAngle:h,padAngle:v};return y}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:c(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:c(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:c(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:c(+t),a):o},a};Y(O);function I(t){this._curve=t}function Y(t){function n(n){return new I(t(n))}return n._curve=t,n}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};Array.prototype.slice;Math.sqrt(1/3);var $=Math.sin(v/10)/Math.sin(7*v/10),q=(Math.sin(m/10),Math.cos(m/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function L(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function H(t){this._context=t}H.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:L(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:L(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var R=function(t){return new H(t)};function V(t){this._context=t}V.prototype={areaStart:q,areaEnd:q,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(th