forked from cmmcleod/coriolis
-
Notifications
You must be signed in to change notification settings - Fork 83
/
d3.min.js
1 lines (1 loc) · 90 KB
/
d3.min.js
1
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.d3={})}(this,function(e){"use strict";function n(e,t){return e<t?-1:t<e?1:t<=e?0:NaN}var f,r,o=(1===(f=n).length&&(r=f,f=function(e,t){return n(r(e),t)}),{left:function(e,t,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n<r;){var a=n+r>>>1;f(e[a],t)<0?n=a+1:r=a}return n},right:function(e,t,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n<r;){var a=n+r>>>1;0<f(e[a],t)?r=a:n=a+1}return n}}).right;var _=Math.sqrt(50),m=Math.sqrt(10),w=Math.sqrt(2);function u(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),f=r/Math.pow(10,a);return 0<=a?(_<=f?10:m<=f?5:w<=f?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(_<=f?10:m<=f?5:w<=f?2:1)}var a=Array.prototype.slice;function N(e){return e}var C=1,k=2,S=3,U=4,D=1e-6;function i(e){return"translate("+(e+.5)+",0)"}function c(e){return"translate(0,"+(e+.5)+")"}function E(){return!this.__axis}function t(p,g){var y=[],v=null,_=null,m=6,w=6,x=3,M=p===C||p===U?-1:1,A=p===U||p===k?"x":"y",T=p===C||p===S?i:c;function t(e){var t=null==v?g.ticks?g.ticks.apply(g,y):g.domain():v,n=null==_?g.tickFormat?g.tickFormat.apply(g,y):N:_,r=Math.max(m,0)+x,a=g.range(),f=+a[0]+.5,i=+a[a.length-1]+.5,c=(g.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(e){return+t(e)}})(g.copy()),o=e.selection?e.selection():e,u=o.selectAll(".domain").data([null]),s=o.selectAll(".tick").data(t,g).order(),d=s.exit(),l=s.enter().append("g").attr("class","tick"),h=s.select("line"),b=s.select("text");u=u.merge(u.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),s=s.merge(l),h=h.merge(l.append("line").attr("stroke","currentColor").attr(A+"2",M*m)),b=b.merge(l.append("text").attr("fill","currentColor").attr(A,M*r).attr("dy",p===C?"0em":p===S?"0.71em":"0.32em")),e!==o&&(u=u.transition(e),s=s.transition(e),h=h.transition(e),b=b.transition(e),d=d.transition(e).attr("opacity",D).attr("transform",function(e){return isFinite(e=c(e))?T(e):this.getAttribute("transform")}),l.attr("opacity",D).attr("transform",function(e){var t=this.parentNode.__axis;return T(t&&isFinite(t=t(e))?t:c(e))})),d.remove(),u.attr("d",p===U||p==k?w?"M"+M*w+","+f+"H0.5V"+i+"H"+M*w:"M0.5,"+f+"V"+i:w?"M"+f+","+M*w+"V0.5H"+i+"V"+M*w:"M"+f+",0.5H"+i),s.attr("opacity",1).attr("transform",function(e){return T(c(e))}),h.attr(A+"2",M*m),b.attr(A,M*r).text(n),o.filter(E).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",p===k?"start":p===U?"end":"middle"),o.each(function(){this.__axis=c})}return t.scale=function(e){return arguments.length?(g=e,t):g},t.ticks=function(){return y=a.call(arguments),t},t.tickArguments=function(e){return arguments.length?(y=null==e?[]:a.call(e),t):y.slice()},t.tickValues=function(e){return arguments.length?(v=null==e?null:a.call(e),t):v&&v.slice()},t.tickFormat=function(e){return arguments.length?(_=e,t):_},t.tickSize=function(e){return arguments.length?(m=w=+e,t):m},t.tickSizeInner=function(e){return arguments.length?(m=+e,t):m},t.tickSizeOuter=function(e){return arguments.length?(w=+e,t):w},t.tickPadding=function(e){return arguments.length?(x=+e,t):x},t}var s={value:function(){}};function d(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r)throw new Error("illegal type: "+e);r[e]=[]}return new l(r)}function l(e){this._=e}function h(e,t){for(var n,r=0,a=e.length;r<a;++r)if((n=e[r]).name===t)return n.value}function b(e,t,n){for(var r=0,a=e.length;r<a;++r)if(e[r].name===t){e[r]=s,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}l.prototype=d.prototype={constructor:l,on:function(e,t){var n,r,a=this._,f=(r=a,(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");if(0<=n&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),i=-1,c=f.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++i<c;)if(n=(e=f[i]).type)a[n]=b(a[n],e.name,t);else if(null==t)for(n in a)a[n]=b(a[n],e.name,null);return this}for(;++i<c;)if((n=(e=f[i]).type)&&(n=h(a[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new l(e)},call:function(e,t){if(0<(n=arguments.length-2))for(var n,r,a=new Array(n),f=0;f<n;++f)a[f]=arguments[f+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(f=0,n=(r=this._[e]).length;f<n;++f)r[f].value.apply(t,a)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],a=0,f=r.length;a<f;++a)r[a].value.apply(t,n)}};var p="http://www.w3.org/1999/xhtml",g={svg:"http://www.w3.org/2000/svg",xhtml:p,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function y(e){var t=e+="",n=t.indexOf(":");return 0<=n&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),g.hasOwnProperty(t)?{space:g[t],local:e}:e}function v(e){var t=y(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return t===p&&e.documentElement.namespaceURI===p?e.createElement(n):e.createElementNS(t,n)}})(t)}function x(){}function M(e){return null==e?x:function(){return this.querySelector(e)}}function A(){return[]}function T(e){return null==e?A:function(){return this.querySelectorAll(e)}}var F=function(e){return function(){return this.matches(e)}};if("undefined"!=typeof document){var P=document.documentElement;if(!P.matches){var Y=P.webkitMatchesSelector||P.msMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector;F=function(e){return function(){return Y.call(this,e)}}}}var H=F;function L(e){return new Array(e.length)}function O(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}O.prototype={constructor:O,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var j="$";function I(e,t,n,r,a,f){for(var i,c=0,o=t.length,u=f.length;c<u;++c)(i=t[c])?(i.__data__=f[c],r[c]=i):n[c]=new O(e,f[c]);for(;c<o;++c)(i=t[c])&&(a[c]=i)}function q(e,t,n,r,a,f,i){var c,o,u,s={},d=t.length,l=f.length,h=new Array(d);for(c=0;c<d;++c)(o=t[c])&&(h[c]=u=j+i.call(o,o.__data__,c,t),u in s?a[c]=o:s[u]=o);for(c=0;c<l;++c)(o=s[u=j+i.call(e,f[c],c,f)])?((r[c]=o).__data__=f[c],s[u]=null):n[c]=new O(e,f[c]);for(c=0;c<d;++c)(o=t[c])&&s[h[c]]===o&&(a[c]=o)}function z(e,t){return e<t?-1:t<e?1:t<=e?0:NaN}function X(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function V(e,t){return e.style.getPropertyValue(t)||X(e).getComputedStyle(e,null).getPropertyValue(t)}function R(e){return e.trim().split(/^|\s+/)}function $(e){return e.classList||new Z(e)}function Z(e){this._node=e,this._names=R(e.getAttribute("class")||"")}function B(e,t){for(var n=$(e),r=-1,a=t.length;++r<a;)n.add(t[r])}function W(e,t){for(var n=$(e),r=-1,a=t.length;++r<a;)n.remove(t[r])}function Q(){this.textContent=""}function J(){this.innerHTML=""}function G(){this.nextSibling&&this.parentNode.appendChild(this)}function K(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ee(){return null}function te(){var e=this.parentNode;e&&e.removeChild(this)}function ne(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function re(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Z.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);0<=t&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return 0<=this._names.indexOf(e)}};var ae={};"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(ae={mouseenter:"mouseover",mouseleave:"mouseout"}));function fe(n,e,t){return n=ie(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function ie(t,n,r){return function(e){try{t.call(this,this.__data__,n,r)}finally{}}}function ce(f){return function(){var e=this.__on;if(e){for(var t,n=0,r=-1,a=e.length;n<a;++n)t=e[n],f.type&&t.type!==f.type||t.name!==f.name?e[++r]=t:this.removeEventListener(t.type,t.listener,t.capture);++r?e.length=r:delete this.__on}}}function oe(o,u,s){var d=ae.hasOwnProperty(o.type)?fe:ie;return function(e,t,n){var r,a=this.__on,f=d(u,t,n);if(a)for(var i=0,c=a.length;i<c;++i)if((r=a[i]).type===o.type&&r.name===o.name)return this.removeEventListener(r.type,r.listener,r.capture),this.addEventListener(r.type,r.listener=f,r.capture=s),void(r.value=u);this.addEventListener(o.type,f,s),r={type:o.type,name:o.name,value:u,listener:f,capture:s},a?a.push(r):this.__on=[r]}}function ue(e,t,n){var r=X(e),a=r.CustomEvent;"function"==typeof a?a=new a(t,n):(a=r.document.createEvent("Event"),n?(a.initEvent(t,n.bubbles,n.cancelable),a.detail=n.detail):a.initEvent(t,!1,!1)),e.dispatchEvent(a)}var se=[null];function de(e,t){this._groups=e,this._parents=t}function le(){return new de([[document.documentElement]],se)}function he(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function be(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function pe(){}de.prototype=le.prototype={constructor:de,select:function(e){"function"!=typeof e&&(e=M(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var f,i,c=t[a],o=c.length,u=r[a]=new Array(o),s=0;s<o;++s)(f=c[s])&&(i=e.call(f,f.__data__,s,c))&&("__data__"in f&&(i.__data__=f.__data__),u[s]=i);return new de(r,this._parents)},selectAll:function(e){"function"!=typeof e&&(e=T(e));for(var t=this._groups,n=t.length,r=[],a=[],f=0;f<n;++f)for(var i,c=t[f],o=c.length,u=0;u<o;++u)(i=c[u])&&(r.push(e.call(i,i.__data__,u,c)),a.push(i));return new de(r,a)},filter:function(e){"function"!=typeof e&&(e=H(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var f,i=t[a],c=i.length,o=r[a]=[],u=0;u<c;++u)(f=i[u])&&e.call(f,f.__data__,u,i)&&o.push(f);return new de(r,this._parents)},data:function(e,t){if(!e)return b=new Array(this.size()),s=-1,this.each(function(e){b[++s]=e}),b;var n,r=t?q:I,a=this._parents,f=this._groups;"function"!=typeof e&&(n=e,e=function(){return n});for(var i=f.length,c=new Array(i),o=new Array(i),u=new Array(i),s=0;s<i;++s){var d=a[s],l=f[s],h=l.length,b=e.call(d,d&&d.__data__,s,a),p=b.length,g=o[s]=new Array(p),y=c[s]=new Array(p);r(d,l,g,y,u[s]=new Array(h),b,t);for(var v,_,m=0,w=0;m<p;++m)if(v=g[m]){for(w<=m&&(w=m+1);!(_=y[w])&&++w<p;);v._next=_||null}}return(c=new de(c,a))._enter=o,c._exit=u,c},enter:function(){return new de(this._enter||this._groups.map(L),this._parents)},exit:function(){return new de(this._exit||this._groups.map(L),this._parents)},merge:function(e){for(var t=this._groups,n=e._groups,r=t.length,a=n.length,f=Math.min(r,a),i=new Array(r),c=0;c<f;++c)for(var o,u=t[c],s=n[c],d=u.length,l=i[c]=new Array(d),h=0;h<d;++h)(o=u[h]||s[h])&&(l[h]=o);for(;c<r;++c)i[c]=t[c];return new de(i,this._parents)},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,a=e[t],f=a.length-1,i=a[f];0<=--f;)(r=a[f])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=z);for(var t=this._groups,r=t.length,a=new Array(r),f=0;f<r;++f){for(var i,c=t[f],o=c.length,u=a[f]=new Array(o),s=0;s<o;++s)(i=c[s])&&(u[s]=i);u.sort(e)}return new de(a,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],a=0,f=r.length;a<f;++a){var i=r[a];if(i)return i}return null},size:function(){var e=0;return this.each(function(){++e}),e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var a,f=t[n],i=0,c=f.length;i<c;++i)(a=f[i])&&e.call(a,a.__data__,i,f);return this},attr:function(e,t){var n=y(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"==typeof t?n.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)}}:n.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(n,t))},style:function(e,t,n){return 1<arguments.length?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(t,n,r){return function(){var e=n.apply(this,arguments);null==e?this.style.removeProperty(t):this.style.setProperty(t,e,r)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):V(this.node(),e)},property:function(e,t){return 1<arguments.length?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=R(e+"");if(arguments.length<2){for(var r=$(this.node()),a=-1,f=n.length;++a<f;)if(!r.contains(n[a]))return!1;return!0}return this.each(("function"==typeof t?function(e,t){return function(){(t.apply(this,arguments)?B:W)(this,e)}}:t?function(e){return function(){B(this,e)}}:function(e){return function(){W(this,e)}})(n,t))},text:function(e){return arguments.length?this.each(null==e?Q:("function"==typeof e?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?J:("function"==typeof e?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each(G)},lower:function(){return this.each(K)},append:function(e){var t="function"==typeof e?e:v(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},insert:function(e,t){var n="function"==typeof e?e:v(e),r=null==t?ee:"function"==typeof t?t:M(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(te)},clone:function(e){return this.select(e?re:ne)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,a,f=(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return 0<=n&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}),i=f.length;if(!(arguments.length<2)){for(c=t?oe:ce,null==n&&(n=!1),r=0;r<i;++r)this.each(c(f[r],t,n));return this}var c=this.node().__on;if(c)for(var o,u=0,s=c.length;u<s;++u)for(r=0,o=c[u];r<i;++r)if((a=f[r]).type===o.type&&a.name===o.name)return o.value},dispatch:function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return ue(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return ue(this,e,t)}})(e,t))}};var ge=1/.7,ye="\\s*([+-]?\\d+)\\s*",ve="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_e="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",me=/^#([0-9a-f]{3})$/,we=/^#([0-9a-f]{6})$/,xe=new RegExp("^rgb\\("+[ye,ye,ye]+"\\)$"),Me=new RegExp("^rgb\\("+[_e,_e,_e]+"\\)$"),Ae=new RegExp("^rgba\\("+[ye,ye,ye,ve]+"\\)$"),Te=new RegExp("^rgba\\("+[_e,_e,_e,ve]+"\\)$"),Ne=new RegExp("^hsl\\("+[ve,_e,_e]+"\\)$"),Ce=new RegExp("^hsla\\("+[ve,_e,_e,ve]+"\\)$"),ke={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Se(e){var t;return e=(e+"").trim().toLowerCase(),(t=me.exec(e))?new Pe((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=we.exec(e))?Ue(parseInt(t[1],16)):(t=xe.exec(e))?new Pe(t[1],t[2],t[3],1):(t=Me.exec(e))?new Pe(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ae.exec(e))?De(t[1],t[2],t[3],t[4]):(t=Te.exec(e))?De(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ne.exec(e))?He(t[1],t[2]/100,t[3]/100,1):(t=Ce.exec(e))?He(t[1],t[2]/100,t[3]/100,t[4]):ke.hasOwnProperty(e)?Ue(ke[e]):"transparent"===e?new Pe(NaN,NaN,NaN,0):null}function Ue(e){return new Pe(e>>16&255,e>>8&255,255&e,1)}function De(e,t,n,r){return r<=0&&(e=t=n=NaN),new Pe(e,t,n,r)}function Ee(e){return e instanceof pe||(e=Se(e)),e?new Pe((e=e.rgb()).r,e.g,e.b,e.opacity):new Pe}function Fe(e,t,n,r){return 1===arguments.length?Ee(e):new Pe(e,t,n,null==r?1:r)}function Pe(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ye(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function He(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||1<=n?e=t=NaN:t<=0&&(e=NaN),new Le(e,t,n,r)}function Le(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Oe(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}he(pe,Se,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),he(Pe,Fe,be(pe,{brighter:function(e){return e=null==e?ge:Math.pow(ge,e),new Pe(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Pe(this.r*e,this.g*e,this.b*e,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},hex:function(){return"#"+Ye(this.r)+Ye(this.g)+Ye(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"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===e?")":", "+e+")")}})),he(Le,function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Le)return new Le(e.h,e.s,e.l,e.opacity);if(e instanceof pe||(e=Se(e)),!e)return new Le;if(e instanceof Le)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),f=Math.max(t,n,r),i=NaN,c=f-a,o=(f+a)/2;return c?(i=t===f?(n-r)/c+6*(n<r):n===f?(r-t)/c+2:(t-n)/c+4,c/=o<.5?f+a:2-f-a,i*=60):c=0<o&&o<1?0:i,new Le(i,c,o,e.opacity)}(e):new Le(e,t,n,null==r?1:r)},be(pe,{brighter:function(e){return e=null==e?ge:Math.pow(ge,e),new Le(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Le(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new Pe(Oe(240<=e?e-240:e+120,a,r),Oe(e,a,r),Oe(e<120?e+240:e-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}}));var je=Math.PI/180,Ie=180/Math.PI,qe=.96422,ze=1,Xe=.82521,Ve=4/29,Re=6/29,$e=3*Re*Re,Ze=Re*Re*Re;function Be(e){if(e instanceof We)return new We(e.l,e.a,e.b,e.opacity);if(e instanceof et){if(isNaN(e.h))return new We(e.l,0,0,e.opacity);var t=e.h*je;return new We(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Pe||(e=Ee(e));var n,r,a=Ke(e.r),f=Ke(e.g),i=Ke(e.b),c=Qe((.2225045*a+.7168786*f+.0606169*i)/ze);return a===f&&f===i?n=r=c:(n=Qe((.4360747*a+.3850649*f+.1430804*i)/qe),r=Qe((.0139322*a+.0971045*f+.7141733*i)/Xe)),new We(116*c-16,500*(n-c),200*(c-r),e.opacity)}function We(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Qe(e){return Ze<e?Math.pow(e,1/3):e/$e+Ve}function Je(e){return Re<e?e*e*e:$e*(e-Ve)}function Ge(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ke(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function et(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}he(We,function(e,t,n,r){return 1===arguments.length?Be(e):new We(e,t,n,null==r?1:r)},be(pe,{brighter:function(e){return new We(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new We(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Pe(Ge(3.1338561*(t=qe*Je(t))-1.6168667*(e=ze*Je(e))-.4906146*(n=Xe*Je(n))),Ge(-.9787684*t+1.9161415*e+.033454*n),Ge(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),he(et,function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof et)return new et(e.h,e.c,e.l,e.opacity);if(e instanceof We||(e=Be(e)),0===e.a&&0===e.b)return new et(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ie;return new et(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new et(e,t,n,null==r?1:r)},be(pe,{brighter:function(e){return new et(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new et(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Be(this).rgb()}}));var tt=1.78277,nt=-.29227,rt=-.90649,at=1.97294,ft=at*rt,it=at*tt,ct=tt*nt- -.14861*rt;function ot(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof ut)return new ut(e.h,e.s,e.l,e.opacity);e instanceof Pe||(e=Ee(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(ct*r+ft*t-it*n)/(ct+ft-it),f=r-a,i=(at*(n-a)-nt*f)/rt,c=Math.sqrt(i*i+f*f)/(at*a*(1-a)),o=c?Math.atan2(i,f)*Ie-120:NaN;return new ut(o<0?o+360:o,c,a,e.opacity)}(e):new ut(e,t,n,null==r?1:r)}function ut(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function st(e){return function(){return e}}function dt(t,n){return function(e){return t+e*n}}function lt(f){return 1==(f=+f)?ht:function(e,t){return t-e?(n=e,r=t,a=f,n=Math.pow(n,a),r=Math.pow(r,a)-n,a=1/a,function(e){return Math.pow(n+e*r,a)}):st(isNaN(e)?t:e);var n,r,a}}function ht(e,t){var n=t-e;return n?dt(e,n):st(isNaN(e)?t:e)}he(ut,ot,be(pe,{brighter:function(e){return e=null==e?ge:Math.pow(ge,e),new ut(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ut(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*je,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new Pe(255*(t+n*(-.14861*r+tt*a)),255*(t+n*(nt*r+rt*a)),255*(t+n*(at*r)),this.opacity)}}));var bt=function e(t){var i=lt(t);function n(t,e){var n=i((t=Fe(t)).r,(e=Fe(e)).r),r=i(t.g,e.g),a=i(t.b,e.b),f=ht(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=r(e),t.b=a(e),t.opacity=f(e),t+""}}return n.gamma=e,n}(1);var pt,gt=(pt=function(u){var s=u.length-1;return function(e){var t,n,r,a=e<=0?e=0:1<=e?s-(e=1):Math.floor(e*s),f=u[a],i=u[a+1],c=0<a?u[a-1]:2*f-i,o=a<s-1?u[a+2]:2*i-f;return((1-3*(t=(e-a/s)*s)+3*(n=t*t)-(r=n*t))*c+(4-6*n+3*r)*f+(1+3*t+3*n-3*r)*i+r*o)/6}},function(e){var t,n,r=e.length,a=new Array(r),f=new Array(r),i=new Array(r);for(t=0;t<r;++t)n=Fe(e[t]),a[t]=n.r||0,f[t]=n.g||0,i[t]=n.b||0;return a=pt(a),f=pt(f),i=pt(i),n.opacity=1,function(e){return n.r=a(e),n.g=f(e),n.b=i(e),n+""}});function yt(t,n){return n-=t=+t,function(e){return t+n*e}}var vt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_t=new RegExp(vt.source,"g");function mt(e,r){var t,n,a,f,i,c=vt.lastIndex=_t.lastIndex=0,o=-1,u=[],s=[];for(e+="",r+="";(t=vt.exec(e))&&(n=_t.exec(r));)(a=n.index)>c&&(a=r.slice(c,a),u[o]?u[o]+=a:u[++o]=a),(t=t[0])===(n=n[0])?u[o]?u[o]+=n:u[++o]=n:(u[++o]=null,s.push({i:o,x:yt(t,n)})),c=_t.lastIndex;return c<r.length&&(a=r.slice(c),u[o]?u[o]+=a:u[++o]=a),u.length<2?s[0]?(i=s[0].x,function(e){return i(e)+""}):(f=r,function(){return f}):(r=s.length,function(e){for(var t,n=0;n<r;++n)u[(t=s[n]).i]=t.x(e);return u.join("")})}function wt(e,t){var n,r=typeof t;return null==t||"boolean"===r?st(t):("number"===r?yt:"string"===r?(n=Se(t))?(t=n,bt):mt:t instanceof Se?bt:t instanceof Date?function(t,n){var r=new Date;return n-=t=+t,function(e){return r.setTime(t+n*e),r}}:Array.isArray(t)?function(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,f=new Array(a),i=new Array(r);for(n=0;n<a;++n)f[n]=wt(e[n],t[n]);for(;n<r;++n)i[n]=t[n];return function(e){for(n=0;n<a;++n)i[n]=f[n](e);return i}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var n,r={},a={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=wt(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}:yt)(e,t)}function xt(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}}var Mt,At,Tt,Nt,Ct=180/Math.PI,kt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function St(e,t,n,r,a,f){var i,c,o;return(i=Math.sqrt(e*e+t*t))&&(e/=i,t/=i),(o=e*n+t*r)&&(n-=e*o,r-=t*o),(c=Math.sqrt(n*n+r*r))&&(n/=c,r/=c,o/=c),e*r<t*n&&(e=-e,t=-t,o=-o,i=-i),{translateX:a,translateY:f,rotate:Math.atan2(t,e)*Ct,skewX:Math.atan(o)*Ct,scaleX:i,scaleY:c}}function Ut(l,h,b,p){function g(e){return e.length?e.pop()+" ":""}return function(e,t){var n,r,a,f,i,c,o,u,s=[],d=[];return e=l(e),t=l(t),function(e,t,n,r,a,f){if(e!==n||t!==r){var i=a.push("translate(",null,h,null,b);f.push({i:i-4,x:yt(e,n)},{i:i-2,x:yt(t,r)})}else(n||r)&&a.push("translate("+n+h+r+b)}(e.translateX,e.translateY,t.translateX,t.translateY,s,d),n=e.rotate,r=t.rotate,a=s,f=d,n!==r?(180<n-r?r+=360:180<r-n&&(n+=360),f.push({i:a.push(g(a)+"rotate(",null,p)-2,x:yt(n,r)})):r&&a.push(g(a)+"rotate("+r+p),i=e.skewX,c=t.skewX,o=s,u=d,i!==c?u.push({i:o.push(g(o)+"skewX(",null,p)-2,x:yt(i,c)}):c&&o.push(g(o)+"skewX("+c+p),function(e,t,n,r,a,f){if(e!==n||t!==r){var i=a.push(g(a)+"scale(",null,",",null,")");f.push({i:i-4,x:yt(e,n)},{i:i-2,x:yt(t,r)})}else 1===n&&1===r||a.push(g(a)+"scale("+n+","+r+")")}(e.scaleX,e.scaleY,t.scaleX,t.scaleY,s,d),e=t=null,function(e){for(var t,n=-1,r=d.length;++n<r;)s[(t=d[n]).i]=t.x(e);return s.join("")}}}var Dt=Ut(function(e){return"none"===e?kt:(Mt||(Mt=document.createElement("DIV"),At=document.documentElement,Tt=document.defaultView),Mt.style.transform=e,e=Tt.getComputedStyle(At.appendChild(Mt),null).getPropertyValue("transform"),At.removeChild(Mt),St(+(e=e.slice(7,-1).split(","))[0],+e[1],+e[2],+e[3],+e[4],+e[5]))},"px, ","px)","deg)"),Et=Ut(function(e){return null==e?kt:(Nt||(Nt=document.createElementNS("http://www.w3.org/2000/svg","g")),Nt.setAttribute("transform",e),(e=Nt.transform.baseVal.consolidate())?St((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):kt)},", ",")",")");Math.SQRT2;function Ft(c){return function e(i){function t(t,e){var n=c((t=ot(t)).h,(e=ot(e)).h),r=ht(t.s,e.s),a=ht(t.l,e.l),f=ht(t.opacity,e.opacity);return function(e){return t.h=n(e),t.s=r(e),t.l=a(Math.pow(e,i)),t.opacity=f(e),t+""}}return i=+i,t.gamma=e,t}(1)}Ft(function(e,t){var n=t-e;return n?dt(e,180<n||n<-180?n-360*Math.round(n/360):n):st(isNaN(e)?t:e)});var Pt,Yt,Ht=Ft(ht),Lt=0,Ot=0,jt=0,It=1e3,qt=0,zt=0,Xt=0,Vt="object"==typeof performance&&performance.now?performance:Date,Rt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function $t(){return zt||(Rt(Zt),zt=Vt.now()+Xt)}function Zt(){zt=0}function Bt(){this._call=this._time=this._next=null}function Wt(e,t,n){var r=new Bt;return r.restart(e,t,n),r}function Qt(){zt=(qt=Vt.now())+Xt,Lt=Ot=0;try{!function(){$t(),++Lt;for(var e,t=Pt;t;)0<=(e=zt-t._time)&&t._call.call(null,e),t=t._next;--Lt}()}finally{Lt=0,function(){var e,t,n=Pt,r=1/0;for(;n;)n=n._call?(r>n._time&&(r=n._time),(e=n)._next):(t=n._next,n._next=null,e?e._next=t:Pt=t);Yt=e,Gt(r)}(),zt=0}}function Jt(){var e=Vt.now(),t=e-qt;It<t&&(Xt-=t,qt=e)}function Gt(e){Lt||(Ot&&(Ot=clearTimeout(Ot)),24<e-zt?(e<1/0&&(Ot=setTimeout(Qt,e-Vt.now()-Xt)),jt&&(jt=clearInterval(jt))):(jt||(qt=Vt.now(),jt=setInterval(Jt,It)),Lt=1,Rt(Qt)))}function Kt(t,n,e){var r=new Bt;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r}Bt.prototype=Wt.prototype={constructor:Bt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?$t():+n)+(null==t?0:+t),this._next||Yt===this||(Yt?Yt._next=this:Pt=this,Yt=this),this._call=e,this._time=n,Gt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Gt())}};var en=d("start","end","interrupt"),tn=[],nn=0,rn=1,an=2,fn=3,cn=4,on=5,un=6;function sn(e,t,n,r,a,f){var i=e.__transition;if(i){if(n in i)return}else e.__transition={};!function(f,i,c){var o,u=f.__transition;function s(e){var t,n,r,a;if(c.state!==rn)return l();for(t in u)if((a=u[t]).name===c.name){if(a.state===fn)return Kt(s);a.state===cn?(a.state=un,a.timer.stop(),a.on.call("interrupt",f,f.__data__,a.index,a.group),delete u[t]):+t<i&&(a.state=un,a.timer.stop(),delete u[t])}if(Kt(function(){c.state===fn&&(c.state=cn,c.timer.restart(d,c.delay,c.time),d(e))}),c.state=an,c.on.call("start",f,f.__data__,c.index,c.group),c.state===an){for(c.state=fn,o=new Array(r=c.tween.length),t=0,n=-1;t<r;++t)(a=c.tween[t].value.call(f,f.__data__,c.index,c.group))&&(o[++n]=a);o.length=n+1}}function d(e){for(var t=e<c.duration?c.ease.call(null,e/c.duration):(c.timer.restart(l),c.state=on,1),n=-1,r=o.length;++n<r;)o[n].call(null,t);c.state===on&&(c.on.call("end",f,f.__data__,c.index,c.group),l())}function l(){for(var e in c.state=un,c.timer.stop(),delete u[i],u)return;delete f.__transition}(u[i]=c).timer=Wt(function(e){c.state=rn,c.timer.restart(s,c.delay,c.time),c.delay<=e&&s(e-c.delay)},0,c.time)}(e,n,{name:t,index:r,group:a,on:en,tween:tn,time:f.time,delay:f.delay,duration:f.duration,ease:f.ease,timer:null,state:nn})}function dn(e,t){var n=hn(e,t);if(n.state>nn)throw new Error("too late; already scheduled");return n}function ln(e,t){var n=hn(e,t);if(n.state>an)throw new Error("too late; already started");return n}function hn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function bn(e,t,n){var r=e._id;return e.each(function(){var e=ln(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return hn(e,r).value[t]}}function pn(e,t){var n;return("number"==typeof t?yt:t instanceof Se?bt:(n=Se(t))?(t=n,bt):mt)(e,t)}var gn=le.prototype.constructor;var yn=0;function vn(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function _n(){return++yn}var mn=le.prototype;vn.prototype=function(e){return le().transition(e)}.prototype={constructor:vn,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=M(e));for(var r=this._groups,a=r.length,f=new Array(a),i=0;i<a;++i)for(var c,o,u=r[i],s=u.length,d=f[i]=new Array(s),l=0;l<s;++l)(c=u[l])&&(o=e.call(c,c.__data__,l,u))&&("__data__"in c&&(o.__data__=c.__data__),d[l]=o,sn(d[l],t,n,l,d,hn(c,n)));return new vn(f,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=T(e));for(var r=this._groups,a=r.length,f=[],i=[],c=0;c<a;++c)for(var o,u=r[c],s=u.length,d=0;d<s;++d)if(o=u[d]){for(var l,h=e.call(o,o.__data__,d,u),b=hn(o,n),p=0,g=h.length;p<g;++p)(l=h[p])&&sn(l,t,n,p,h,b);f.push(h),i.push(o)}return new vn(f,i,t,n)},filter:function(e){"function"!=typeof e&&(e=H(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var f,i=t[a],c=i.length,o=r[a]=[],u=0;u<c;++u)(f=i[u])&&e.call(f,f.__data__,u,i)&&o.push(f);return new vn(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,a=n.length,f=Math.min(r,a),i=new Array(r),c=0;c<f;++c)for(var o,u=t[c],s=n[c],d=u.length,l=i[c]=new Array(d),h=0;h<d;++h)(o=u[h]||s[h])&&(l[h]=o);for(;c<r;++c)i[c]=t[c];return new vn(i,this._parents,this._name,this._id)},selection:function(){return new gn(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=_n(),r=this._groups,a=r.length,f=0;f<a;++f)for(var i,c=r[f],o=c.length,u=0;u<o;++u)if(i=c[u]){var s=hn(i,t);sn(i,e,n,u,c,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new vn(r,this._parents,e,n)},call:mn.call,nodes:mn.nodes,node:mn.node,size:mn.size,empty:mn.empty,each:mn.each,on:function(e,t){var n,r,a,f,i,c,o=this._id;return arguments.length<2?hn(this.node(),o).on.on(e):this.each((n=o,a=t,c=((r=e)+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return 0<=t&&(e=e.slice(0,t)),!e||"start"===e})?dn:ln,function(){var e=c(this,n),t=e.on;t!==f&&(i=(f=t).copy()).on(r,a),e.on=i}))},attr:function(e,t){var n=y(e),r="transform"===n?Et:pn;return this.attrTween(e,"function"==typeof t?(n.local?function(n,r,a){var f,i,c;return function(){var e,t=a(this);if(null!=t)return(e=this.getAttributeNS(n.space,n.local))===t?null:e===f&&t===i?c:c=r(f=e,i=t);this.removeAttributeNS(n.space,n.local)}}:function(n,r,a){var f,i,c;return function(){var e,t=a(this);if(null!=t)return(e=this.getAttribute(n))===t?null:e===f&&t===i?c:c=r(f=e,i=t);this.removeAttribute(n)}})(n,r,bn(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(t,n,r){var a,f;return function(){var e=this.getAttributeNS(t.space,t.local);return e===r?null:e===a?f:f=n(a=e,r)}}:function(t,n,r){var a,f;return function(){var e=this.getAttribute(t);return e===r?null:e===a?f:f=n(a=e,r)}})(n,r,t+""))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=y(e);return this.tween(n,(r.local?function(r,e){function t(){var t=this,n=e.apply(t,arguments);return n&&function(e){t.setAttributeNS(r.space,r.local,n(e))}}return t._value=e,t}:function(r,e){function t(){var t=this,n=e.apply(t,arguments);return n&&function(e){t.setAttribute(r,n(e))}}return t._value=e,t})(r,t))},style:function(e,t,n){var r,a,f,i,c,o,u,s,d,l,h,b,p,g,y,v,_,m="transform"==(e+="")?Dt:pn;return null==t?this.styleTween(e,(p=e,g=m,function(){var e=V(this,p),t=(this.style.removeProperty(p),V(this,p));return e===t?null:e===y&&t===v?_:_=g(y=e,v=t)})).on("end.style."+e,(b=e,function(){this.style.removeProperty(b)})):this.styleTween(e,"function"==typeof t?(u=m,s=bn(this,"style."+(o=e),t),function(){var e=V(this,o),t=s(this);return null==t&&(this.style.removeProperty(o),t=V(this,o)),e===t?null:e===d&&t===l?h:h=u(d=e,l=t)}):(r=e,a=m,f=t+"",function(){var e=V(this,r);return e===f?null:e===i?c:c=a(i=e,f)}),n)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(r,e,a){function t(){var t=this,n=e.apply(t,arguments);return n&&function(e){t.style.setProperty(r,n(e),a)}}return t._value=e,t}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?(n=bn(this,"text",e),function(){var e=n(this);this.textContent=null==e?"":e}):(t=null==e?"":e+"",function(){this.textContent=t}));var t,n},remove:function(){return this.on("end.remove",(n=this._id,function(){var e=this.parentNode;for(var t in this.__transition)if(+t!==n)return;e&&e.removeChild(this)}));var n},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,a=hn(this.node(),n).tween,f=0,i=a.length;f<i;++f)if((r=a[f]).name===e)return r.value;return null}return this.each((null==t?function(a,f){var i,c;return function(){var e=ln(this,a),t=e.tween;if(t!==i)for(var n=0,r=(c=i=t).length;n<r;++n)if(c[n].name===f){(c=c.slice()).splice(n,1);break}e.tween=c}}:function(f,i,c){var o,u;if("function"!=typeof c)throw new Error;return function(){var e=ln(this,f),t=e.tween;if(t!==o){u=(o=t).slice();for(var n={name:i,value:c},r=0,a=u.length;r<a;++r)if(u[r].name===i){u[r]=n;break}r===a&&u.push(n)}e.tween=u}})(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){dn(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){dn(this,e).delay=t}})(t,e)):hn(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){ln(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){ln(this,e).duration=t}})(t,e)):hn(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){ln(this,e).ease=t}}(t,e)):hn(this.node(),t).ease}};Math.PI,Math.PI;var wn={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function xn(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))return wn.time=$t(),wn;return n}le.prototype.interrupt=function(e){return this.each(function(){!function(e,t){var n,r,a,f=e.__transition,i=!0;if(f){for(a in t=null==t?null:t+"",f)(n=f[a]).name===t?(r=n.state>an&&n.state<on,n.state=un,n.timer.stop(),r&&n.on.call("interrupt",e,e.__data__,n.index,n.group),delete f[a]):i=!1;i&&delete e.__transition}}(this,e)})},le.prototype.transition=function(e){var t,n;e=e instanceof vn?(t=e._id,e._name):(t=_n(),(n=wn).time=$t(),null==e?null:e+"");for(var r=this._groups,a=r.length,f=0;f<a;++f)for(var i,c=r[f],o=c.length,u=0;u<o;++u)(i=c[u])&&sn(i,e,t,u,c,n||xn(i,t));return new vn(r,this._parents,e,t)};Math.PI;var Mn=Math.PI,An=2*Mn,Tn=1e-6,Nn=An-Tn;function Cn(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kn(){return new Cn}Cn.prototype=kn.prototype={constructor:Cn,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,a,f){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+f)},arcTo:function(e,t,n,r,a){e=+e,t=+t,n=+n,r=+r,a=+a;var f=this._x1,i=this._y1,c=n-e,o=r-t,u=f-e,s=i-t,d=u*u+s*s;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(Tn<d)if(Math.abs(s*c-o*u)>Tn&&a){var l=n-f,h=r-i,b=c*c+o*o,p=l*l+h*h,g=Math.sqrt(b),y=Math.sqrt(d),v=a*Math.tan((Mn-Math.acos((b+d-p)/(2*g*y)))/2),_=v/y,m=v/g;Math.abs(_-1)>Tn&&(this._+="L"+(e+_*u)+","+(t+_*s)),this._+="A"+a+","+a+",0,0,"+ +(u*h<s*l)+","+(this._x1=e+m*c)+","+(this._y1=t+m*o)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,a,f){e=+e,t=+t;var i=(n=+n)*Math.cos(r),c=n*Math.sin(r),o=e+i,u=t+c,s=1^f,d=f?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+o+","+u:(Math.abs(this._x1-o)>Tn||Math.abs(this._y1-u)>Tn)&&(this._+="L"+o+","+u),n&&(d<0&&(d=d%An+An),Nn<d?this._+="A"+n+","+n+",0,1,"+s+","+(e-i)+","+(t-c)+"A"+n+","+n+",0,1,"+s+","+(this._x1=o)+","+(this._y1=u):Tn<d&&(this._+="A"+n+","+n+",0,"+ +(Mn<=d)+","+s+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Sn="$";function Un(){}function Dn(e,t){var n=new Un;if(e instanceof Un)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,a=-1,f=e.length;if(null==t)for(;++a<f;)n.set(a,e[a]);else for(;++a<f;)n.set(t(r=e[a],a,e),r)}else if(e)for(var i in e)n.set(i,e[i]);return n}function En(){}Un.prototype=Dn.prototype={constructor:Un,has:function(e){return Sn+e in this},get:function(e){return this[Sn+e]},set:function(e,t){return this[Sn+e]=t,this},remove:function(e){var t=Sn+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===Sn&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===Sn&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===Sn&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===Sn&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===Sn&&++e;return e},empty:function(){for(var e in this)if(e[0]===Sn)return!1;return!0},each:function(e){for(var t in this)t[0]===Sn&&e(this[t],t.slice(1),this)}};var Fn=Dn.prototype;En.prototype=function(e,t){var n=new En;if(e instanceof En)e.each(function(e){n.add(e)});else if(e){var r=-1,a=e.length;if(null==t)for(;++r<a;)n.add(e[r]);else for(;++r<a;)n.add(t(e[r],r,e))}return n}.prototype={constructor:En,has:Fn.has,add:function(e){return this[Sn+(e+="")]=e,this},remove:Fn.remove,clear:Fn.clear,values:Fn.keys,size:Fn.size,empty:Fn.empty,each:Fn.each};var Pn={},Yn={};function Hn(e){return new Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+"]"}).join(",")+"}")}function Ln(f){var t=new RegExp('["'+f+"\n\r]"),d=f.charCodeAt(0);function n(r,e){var t,n=[],a=r.length,f=0,i=0,c=a<=0,o=!1;function u(){if(c)return Yn;if(o)return o=!1,Pn;var e,t,n=f;if(34===r.charCodeAt(n)){for(;f++<a&&34!==r.charCodeAt(f)||34===r.charCodeAt(++f););return(e=f)>=a?c=!0:10===(t=r.charCodeAt(f++))?o=!0:13===t&&(o=!0,10===r.charCodeAt(f)&&++f),r.slice(n+1,e-1).replace(/""/g,'"')}for(;f<a;){if(10===(t=r.charCodeAt(e=f++)))o=!0;else if(13===t)o=!0,10===r.charCodeAt(f)&&++f;else if(t!==d)continue;return r.slice(n,e)}return c=!0,r.slice(n,a)}for(10===r.charCodeAt(a-1)&&--a,13===r.charCodeAt(a-1)&&--a;(t=u())!==Yn;){for(var s=[];t!==Pn&&t!==Yn;)s.push(t),t=u();e&&null==(s=e(s,i++))||n.push(s)}return n}function r(e){return e.map(i).join(f)}function i(e){return null==e?"":t.test(e+="")?'"'+e.replace(/"/g,'""')+'"':e}return{parse:function(e,f){var i,c,t=n(e,function(e,t){if(i)return i(e,t-1);var n,r,a;c=e,i=f?(r=f,a=Hn(n=e),function(e,t){return r(a(e),t,n)}):Hn(e)});return t.columns=c||[],t},parseRows:n,format:function(e,n){var t,r,a;return null==n&&(t=e,r=Object.create(null),a=[],t.forEach(function(e){for(var t in e)t in r||a.push(r[t]=t)}),n=a),[n.map(i).join(f)].concat(e.map(function(t){return n.map(function(e){return i(t[e])}).join(f)})).join("\n")},formatRows:function(e){return e.map(r).join("\n")}}}Ln(","),Ln("\t");function On(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var a,f,i,c,o,u,s,d,l,h=e._root,b={data:r},p=e._x0,g=e._y0,y=e._x1,v=e._y1;if(!h)return e._root=b,e;for(;h.length;)if((u=t>=(f=(p+y)/2))?p=f:y=f,(s=n>=(i=(g+v)/2))?g=i:v=i,!(h=(a=h)[d=s<<1|u]))return a[d]=b,e;if(c=+e._x.call(null,h.data),o=+e._y.call(null,h.data),t===c&&n===o)return b.next=h,a?a[d]=b:e._root=b,e;for(;a=a?a[d]=new Array(4):e._root=new Array(4),(u=t>=(f=(p+y)/2))?p=f:y=f,(s=n>=(i=(g+v)/2))?g=i:v=i,(d=s<<1|u)==(l=(i<=o)<<1|f<=c););return a[l]=h,a[d]=b,e}function jn(e,t,n,r,a){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=a}function In(e){return e[0]}function qn(e){return e[1]}function zn(e,t,n,r,a,f){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=a,this._y1=f,this._root=void 0}function Xn(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var Vn=function(e,t,n){var r=new zn(null==t?In:t,null==n?qn:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}.prototype=zn.prototype;Vn.copy=function(){var e,t,n=new zn(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Xn(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var a=0;a<4;++a)(t=r.source[a])&&(t.length?e.push({source:t,target:r.target[a]=new Array(4)}):r.target[a]=Xn(t));return n},Vn.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return On(this.cover(t,n),t,n,e)},Vn.addAll=function(e){var t,n,r,a,f=e.length,i=new Array(f),c=new Array(f),o=1/0,u=1/0,s=-1/0,d=-1/0;for(n=0;n<f;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(a=+this._y.call(null,t))||((i[n]=r)<o&&(o=r),s<r&&(s=r),(c[n]=a)<u&&(u=a),d<a&&(d=a));for(s<o&&(o=this._x0,s=this._x1),d<u&&(u=this._y0,d=this._y1),this.cover(o,u).cover(s,d),n=0;n<f;++n)On(this,i[n],c[n],e[n]);return this},Vn.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,a=this._x1,f=this._y1;if(isNaN(n))a=(n=Math.floor(e))+1,f=(r=Math.floor(t))+1;else{if(!(e<n||a<e||t<r||f<t))return this;var i,c,o=a-n,u=this._root;switch(c=(t<(r+f)/2)<<1|e<(n+a)/2){case 0:for(;(i=new Array(4))[c]=u,u=i,f=r+(o*=2),(a=n+o)<e||f<t;);break;case 1:for(;(i=new Array(4))[c]=u,u=i,f=r+(o*=2),e<(n=a-o)||f<t;);break;case 2:for(;(i=new Array(4))[c]=u,u=i,r=f-(o*=2),(a=n+o)<e||t<r;);break;case 3:for(;(i=new Array(4))[c]=u,u=i,r=f-(o*=2),e<(n=a-o)||t<r;);}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=a,this._y1=f,this},Vn.data=function(){var t=[];return this.visit(function(e){if(!e.length)for(;t.push(e.data),e=e.next;);}),t},Vn.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Vn.find=function(e,t,n){var r,a,f,i,c,o,u,s=this._x0,d=this._y0,l=this._x1,h=this._y1,b=[],p=this._root;for(p&&b.push(new jn(p,s,d,l,h)),null==n?n=1/0:(s=e-n,d=t-n,l=e+n,h=t+n,n*=n);o=b.pop();)if(!(!(p=o.node)||(a=o.x0)>l||(f=o.y0)>h||(i=o.x1)<s||(c=o.y1)<d))if(p.length){var g=(a+i)/2,y=(f+c)/2;b.push(new jn(p[3],g,y,i,c),new jn(p[2],a,y,g,c),new jn(p[1],g,f,i,y),new jn(p[0],a,f,g,y)),(u=(y<=t)<<1|g<=e)&&(o=b[b.length-1],b[b.length-1]=b[b.length-1-u],b[b.length-1-u]=o)}else{var v=e-+this._x.call(null,p.data),_=t-+this._y.call(null,p.data),m=v*v+_*_;if(m<n){var w=Math.sqrt(n=m);s=e-w,d=t-w,l=e+w,h=t+w,r=p.data}}return r},Vn.remove=function(e){if(isNaN(f=+this._x.call(null,e))||isNaN(i=+this._y.call(null,e)))return this;var t,n,r,a,f,i,c,o,u,s,d,l,h=this._root,b=this._x0,p=this._y0,g=this._x1,y=this._y1;if(!h)return this;if(h.length)for(;;){if((u=f>=(c=(b+g)/2))?b=c:g=c,(s=i>=(o=(p+y)/2))?p=o:y=o,!(h=(t=h)[d=s<<1|u]))return this;if(!h.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,l=d)}for(;h.data!==e;)if(!(h=(r=h).next))return this;return(a=h.next)&&delete h.next,r?a?r.next=a:delete r.next:t?(a?t[d]=a:delete t[d],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[l]=h:this._root=h)):this._root=a,this},Vn.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},Vn.root=function(){return this._root},Vn.size=function(){var t=0;return this.visit(function(e){if(!e.length)for(;++t,e=e.next;);}),t},Vn.visit=function(e){var t,n,r,a,f,i,c=[],o=this._root;for(o&&c.push(new jn(o,this._x0,this._y0,this._x1,this._y1));t=c.pop();)if(!e(o=t.node,r=t.x0,a=t.y0,f=t.x1,i=t.y1)&&o.length){var u=(r+f)/2,s=(a+i)/2;(n=o[3])&&c.push(new jn(n,u,s,f,i)),(n=o[2])&&c.push(new jn(n,r,s,u,i)),(n=o[1])&&c.push(new jn(n,u,a,f,s)),(n=o[0])&&c.push(new jn(n,r,a,u,s))}return this},Vn.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new jn(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var a=t.node;if(a.length){var f,i=t.x0,c=t.y0,o=t.x1,u=t.y1,s=(i+o)/2,d=(c+u)/2;(f=a[0])&&n.push(new jn(f,i,c,s,d)),(f=a[1])&&n.push(new jn(f,s,c,o,d)),(f=a[2])&&n.push(new jn(f,i,d,s,u)),(f=a[3])&&n.push(new jn(f,s,d,o,u))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},Vn.x=function(e){return arguments.length?(this._x=e,this):this._x},Vn.y=function(e){return arguments.length?(this._y=e,this):this._y};Math.PI,Math.sqrt(5);function Rn(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[1<r.length?r[0]+r.slice(2):r,+e.slice(n+1)]}function $n(e){return(e=Rn(Math.abs(e)))?e[1]:NaN}var Zn,Bn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Wn(e){return new Qn(e)}function Qn(e){if(!(t=Bn.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}function Jn(e,t){var n=Rn(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")}Wn.prototype=Qn.prototype,Qn.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.trim?"~":"")+this.type};var Gn={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Jn(100*e,t)},r:Jn,s:function(e,t){var n=Rn(e,t);if(!n)return e+"";var r=n[0],a=n[1],f=a-(Zn=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,i=r.length;return f===i?r:i<f?r+new Array(f-i+1).join("0"):0<f?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+Rn(e,Math.max(0,t+f-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Kn(e){return e}var er,tr,nr,rr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ar(e){var t,c,o,x=e.grouping&&e.thousands?(c=e.grouping,o=e.thousands,function(e,t){for(var n=e.length,r=[],a=0,f=c[0],i=0;0<n&&0<f&&(t<i+f+1&&(f=Math.max(1,t-i)),r.push(e.substring(n-=f,n+f)),!((i+=f+1)>t));)f=c[a=(a+1)%c.length];return r.reverse().join(o)}):Kn,r=e.currency,M=e.decimal,A=e.numerals?(t=e.numerals,function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}):Kn,a=e.percent||"%";function i(e){var u=(e=Wn(e)).fill,s=e.align,d=e.sign,t=e.symbol,l=e.zero,h=e.width,b=e.comma,p=e.precision,g=e.trim,y=e.type;"n"===y?(b=!0,y="g"):Gn[y]||(null==p&&(p=12),g=!0,y="g"),(l||"0"===u&&"="===s)&&(l=!0,u="0",s="=");var v="$"===t?r[0]:"#"===t&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===t?r[1]:/[%p]/.test(y)?a:"",m=Gn[y],w=/[defgprs%]/.test(y);function n(e){var t,n,r,a=v,f=_;if("c"===y)f=m(e)+f,e="";else{var i=(e=+e)<0;if(e=m(Math.abs(e),p),g&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(0<a){if(!+e[r])break e;a=0}}return 0<a?e.slice(0,a)+e.slice(t+1):e}(e)),i&&0==+e&&(i=!1),a=(i?"("===d?d:"-":"-"===d||"("===d?"":d)+a,f=("s"===y?rr[8+Zn/3]:"")+f+(i&&"("===d?")":""),w)for(t=-1,n=e.length;++t<n;)if((r=e.charCodeAt(t))<48||57<r){f=(46===r?M+e.slice(t+1):e.slice(t))+f,e=e.slice(0,t);break}}b&&!l&&(e=x(e,1/0));var c=a.length+e.length+f.length,o=c<h?new Array(h-c+1).join(u):"";switch(b&&l&&(e=x(o+e,o.length?h-f.length:1/0),o=""),s){case"<":e=a+e+f+o;break;case"=":e=a+o+e+f;break;case"^":e=o.slice(0,c=o.length>>1)+a+e+f+o.slice(c);break;default:e=o+a+e+f}return A(e)}return p=null==p?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),n.toString=function(){return e+""},n}return{format:i,formatPrefix:function(e,t){var n=i(((e=Wn(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor($n(t)/3))),a=Math.pow(10,-r),f=rr[8+r/3];return function(e){return n(a*e)+f}}}}function fr(){return new ir}function ir(){this.reset()}er=ar({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),tr=er.format,nr=er.formatPrefix,ir.prototype={constructor:ir,reset:function(){this.s=this.t=0},add:function(e){or(cr,e,this.t),or(this,cr.s,this.s),this.s?this.t+=cr.t:this.s=cr.t},valueOf:function(){return this.s}};var cr=new ir;function or(e,t,n){var r=e.s=t+n,a=r-t,f=r-a;e.t=t-f+(n-a)}Math.PI,fr(),fr(),fr(),fr(),fr(),fr(),fr(),fr();var ur=Array.prototype,sr=ur.map,dr=ur.slice,lr={name:"implicit"};function hr(r){var f=Dn(),i=[],a=lr;function c(e){var t=e+"",n=f.get(t);if(!n){if(a!==lr)return a;f.set(t,n=i.push(e))}return r[(n-1)%r.length]}return r=null==r?[]:dr.call(r),c.domain=function(e){if(!arguments.length)return i.slice();i=[],f=Dn();for(var t,n,r=-1,a=e.length;++r<a;)f.has(n=(t=e[r])+"")||f.set(n,i.push(t));return c},c.range=function(e){return arguments.length?(r=dr.call(e),c):r.slice()},c.unknown=function(e){return arguments.length?(a=e,c):a},c.copy=function(){return hr().domain(i).range(r).unknown(a)},c}function br(e){return+e}var pr=[0,1];function gr(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=n,function(){return e});var e}function yr(e,t,n,r){var a=e[0],f=e[1],i=t[0],c=t[1];return i=f<a?(a=n(f,a),r(c,i)):(a=n(a,f),r(i,c)),function(e){return i(a(e))}}function vr(n,e,t,r){var a=Math.min(n.length,e.length)-1,f=new Array(a),i=new Array(a),c=-1;for(n[a]<n[0]&&(n=n.slice().reverse(),e=e.slice().reverse());++c<a;)f[c]=t(n[c],n[c+1]),i[c]=r(e[c],e[c+1]);return function(e){var t=o(n,e,1,a)-1;return i[t](f[t](e))}}function _r(e,t,n){var r,a,f,i,c,o,u,s,d,l,h,b,p=e[0],g=e[e.length-1],y=(a=p,f=g,i=null==t?10:t,c=Math.abs(f-a)/Math.max(0,i),o=Math.pow(10,Math.floor(Math.log(c)/Math.LN10)),_<=(u=c/o)?o*=10:m<=u?o*=5:w<=u&&(o*=2),f<a?-o:o);switch((n=Wn(null==n?",f":n)).type){case"s":var v=Math.max(Math.abs(p),Math.abs(g));return null!=n.precision||isNaN((h=y,b=v,r=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor($n(b)/3)))-$n(Math.abs(h)))))||(n.precision=r),nr(n,v);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN((d=y,l=Math.max(Math.abs(p),Math.abs(g)),d=Math.abs(d),l=Math.abs(l)-d,r=Math.max(0,$n(l)-$n(d))+1))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN((s=y,r=Math.max(0,-$n(Math.abs(s)))))||(n.precision=r-2*("%"===n.type))}return tr(n)}function mr(c){var o=c.domain;return c.ticks=function(e){var t=o();return function(e,t,n){var r,a,f,i,c=-1;if(n=+n,(e=+e)==(t=+t)&&0<n)return[e];if((r=t<e)&&(a=e,e=t,t=a),0===(i=u(e,t,n))||!isFinite(i))return[];if(0<i)for(e=Math.ceil(e/i),t=Math.floor(t/i),f=new Array(a=Math.ceil(t-e+1));++c<a;)f[c]=(e+c)*i;else for(e=Math.floor(e*i),t=Math.ceil(t*i),f=new Array(a=Math.ceil(e-t+1));++c<a;)f[c]=(e-c)/i;return r&&f.reverse(),f}(t[0],t[t.length-1],null==e?10:e)},c.tickFormat=function(e,t){return _r(o(),e,t)},c.nice=function(e){null==e&&(e=10);var t,n=o(),r=0,a=n.length-1,f=n[r],i=n[a];return i<f&&(t=f,f=i,i=t,t=r,r=a,a=t),0<(t=u(f,i,e))?t=u(f=Math.floor(f/t)*t,i=Math.ceil(i/t)*t,e):t<0&&(t=u(f=Math.ceil(f*t)/t,i=Math.floor(i*t)/t,e)),0<t?(n[r]=Math.floor(f/t)*t,n[a]=Math.ceil(i/t)*t,o(n)):t<0&&(n[r]=Math.ceil(f*t)/t,n[a]=Math.floor(i*t)/t,o(n)),c},c}var wr=new Date,xr=new Date;function Mr(f,i,n,r){function c(e){return f(e=new Date(+e)),e}return(c.floor=c).ceil=function(e){return f(e=new Date(e-1)),i(e,1),f(e),e},c.round=function(e){var t=c(e),n=c.ceil(e);return e-t<n-e?t:n},c.offset=function(e,t){return i(e=new Date(+e),null==t?1:Math.floor(t)),e},c.range=function(e,t,n){var r,a=[];if(e=c.ceil(e),n=null==n?1:Math.floor(n),!(e<t&&0<n))return a;for(;a.push(r=new Date(+e)),i(e,n),f(e),r<e&&e<t;);return a},c.filter=function(n){return Mr(function(e){if(e<=e)for(;f(e),!n(e);)e.setTime(e-1)},function(e,t){if(e<=e)if(t<0)for(;++t<=0;)for(;i(e,-1),!n(e););else for(;0<=--t;)for(;i(e,1),!n(e););})},n&&(c.count=function(e,t){return wr.setTime(+e),xr.setTime(+t),f(wr),f(xr),Math.floor(n(wr,xr))},c.every=function(t){return t=Math.floor(t),isFinite(t)&&0<t?1<t?c.filter(r?function(e){return r(e)%t==0}:function(e){return c.count(0,e)%t==0}):c:null}),c}var Ar=Mr(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Ar.every=function(n){return n=Math.floor(n),isFinite(n)&&0<n?1<n?Mr(function(e){e.setTime(Math.floor(e/n)*n)},function(e,t){e.setTime(+e+t*n)},function(e,t){return(t-e)/n}):Ar:null};Ar.range;var Tr=6e4,Nr=36e5,Cr=(Mr(function(e){e.setTime(1e3*Math.floor(e/1e3))},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}).range,Mr(function(e){e.setTime(Math.floor(e/Tr)*Tr)},function(e,t){e.setTime(+e+t*Tr)},function(e,t){return(t-e)/Tr},function(e){return e.getMinutes()}).range,Mr(function(e){var t=e.getTimezoneOffset()*Tr%Nr;t<0&&(t+=Nr),e.setTime(Math.floor((+e-t)/Nr)*Nr+t)},function(e,t){e.setTime(+e+t*Nr)},function(e,t){return(t-e)/Nr},function(e){return e.getHours()}).range,Mr(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Tr)/864e5},function(e){return e.getDate()-1}));Cr.range;function kr(t){return Mr(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Tr)/6048e5})}var Sr=kr(0),Ur=kr(1),Dr=(kr(2),kr(3),kr(4)),Er=(kr(5),kr(6),Sr.range,Mr(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}).range,Mr(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}));Er.every=function(n){return isFinite(n=Math.floor(n))&&0<n?Mr(function(e){e.setFullYear(Math.floor(e.getFullYear()/n)*n),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t*n)}):null};Er.range,Mr(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*Tr)},function(e,t){return(t-e)/Tr},function(e){return e.getUTCMinutes()}).range,Mr(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Nr)},function(e,t){return(t-e)/Nr},function(e){return e.getUTCHours()}).range;var Fr=Mr(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1});Fr.range;function Pr(t){return Mr(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}var Yr=Pr(0),Hr=Pr(1),Lr=(Pr(2),Pr(3),Pr(4)),Or=(Pr(5),Pr(6),Yr.range,Mr(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}).range,Mr(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}));Or.every=function(n){return isFinite(n=Math.floor(n))&&0<n?Mr(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/n)*n),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t*n)}):null};Or.range;function jr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Ir(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function qr(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var zr,Xr,Vr,Rr={"-":"",_:" ",0:"0"},$r=/^\s*\d+/,Zr=/^%/,Br=/[\\^$*+?|[\]().{}]/g;function Wr(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",f=a.length;return r+(f<n?new Array(n-f+1).join(t)+a:a)}function Qr(e){return e.replace(Br,"\\$&")}function Jr(e){return new RegExp("^(?:"+e.map(Qr).join("|")+")","i")}function Gr(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Kr(e,t,n){var r=$r.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ea(e,t,n){var r=$r.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function ta(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function na(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function ra(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function aa(e,t,n){var r=$r.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function fa(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(68<+r[0]?1900:2e3),n+r[0].length):-1}function ia(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ca(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function oa(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ua(e,t,n){var r=$r.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function sa(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function da(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function la(e,t,n){var r=$r.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ha(e,t,n){var r=$r.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ba(e,t,n){var r=$r.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function pa(e,t,n){var r=Zr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ga(e,t,n){var r=$r.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function ya(e,t,n){var r=$r.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function va(e,t){return Wr(e.getDate(),t,2)}function _a(e,t){return Wr(e.getHours(),t,2)}function ma(e,t){return Wr(e.getHours()%12||12,t,2)}function wa(e,t){return Wr(1+Cr.count(Er(e),e),t,3)}function xa(e,t){return Wr(e.getMilliseconds(),t,3)}function Ma(e,t){return xa(e,t)+"000"}function Aa(e,t){return Wr(e.getMonth()+1,t,2)}function Ta(e,t){return Wr(e.getMinutes(),t,2)}function Na(e,t){return Wr(e.getSeconds(),t,2)}function Ca(e){var t=e.getDay();return 0===t?7:t}function ka(e,t){return Wr(Sr.count(Er(e),e),t,2)}function Sa(e,t){var n=e.getDay();return e=4<=n||0===n?Dr(e):Dr.ceil(e),Wr(Dr.count(Er(e),e)+(4===Er(e).getDay()),t,2)}function Ua(e){return e.getDay()}function Da(e,t){return Wr(Ur.count(Er(e),e),t,2)}function Ea(e,t){return Wr(e.getFullYear()%100,t,2)}function Fa(e,t){return Wr(e.getFullYear()%1e4,t,4)}function Pa(e){var t=e.getTimezoneOffset();return(0<t?"-":(t*=-1,"+"))+Wr(t/60|0,"0",2)+Wr(t%60,"0",2)}function Ya(e,t){return Wr(e.getUTCDate(),t,2)}function Ha(e,t){return Wr(e.getUTCHours(),t,2)}function La(e,t){return Wr(e.getUTCHours()%12||12,t,2)}function Oa(e,t){return Wr(1+Fr.count(Or(e),e),t,3)}function ja(e,t){return Wr(e.getUTCMilliseconds(),t,3)}function Ia(e,t){return ja(e,t)+"000"}function qa(e,t){return Wr(e.getUTCMonth()+1,t,2)}function za(e,t){return Wr(e.getUTCMinutes(),t,2)}function Xa(e,t){return Wr(e.getUTCSeconds(),t,2)}function Va(e){var t=e.getUTCDay();return 0===t?7:t}function Ra(e,t){return Wr(Yr.count(Or(e),e),t,2)}function $a(e,t){var n=e.getUTCDay();return e=4<=n||0===n?Lr(e):Lr.ceil(e),Wr(Lr.count(Or(e),e)+(4===Or(e).getUTCDay()),t,2)}function Za(e){return e.getUTCDay()}function Ba(e,t){return Wr(Hr.count(Or(e),e),t,2)}function Wa(e,t){return Wr(e.getUTCFullYear()%100,t,2)}function Qa(e,t){return Wr(e.getUTCFullYear()%1e4,t,4)}function Ja(){return"+0000"}function Ga(){return"%"}function Ka(e){return+e}function ef(e){return Math.floor(+e/1e3)}zr=function(e){var r=e.dateTime,a=e.date,f=e.time,t=e.periods,n=e.days,i=e.shortDays,c=e.months,o=e.shortMonths,u=Jr(t),s=Gr(t),d=Jr(n),l=Gr(n),h=Jr(i),b=Gr(i),p=Jr(c),g=Gr(c),y=Jr(o),v=Gr(o),_={a:function(e){return i[e.getDay()]},A:function(e){return n[e.getDay()]},b:function(e){return o[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:va,e:va,f:Ma,H:_a,I:ma,j:wa,L:xa,m:Aa,M:Ta,p:function(e){return t[+(12<=e.getHours())]},Q:Ka,s:ef,S:Na,u:Ca,U:ka,V:Sa,w:Ua,W:Da,x:null,X:null,y:Ea,Y:Fa,Z:Pa,"%":Ga},m={a:function(e){return i[e.getUTCDay()]},A:function(e){return n[e.getUTCDay()]},b:function(e){return o[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Ya,e:Ya,f:Ia,H:Ha,I:La,j:Oa,L:ja,m:qa,M:za,p:function(e){return t[+(12<=e.getUTCHours())]},Q:Ka,s:ef,S:Xa,u:Va,U:Ra,V:$a,w:Za,W:Ba,x:null,X:null,y:Wa,Y:Qa,Z:Ja,"%":Ga},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=b[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=l[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,t,n){return A(e,r,t,n)},d:oa,e:oa,f:ba,H:sa,I:sa,j:ua,L:ha,m:ca,M:da,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=s[r[0].toLowerCase()],n+r[0].length):-1},Q:ga,s:ya,S:la,u:ea,U:ta,V:na,w:Kr,W:ra,x:function(e,t,n){return A(e,a,t,n)},X:function(e,t,n){return A(e,f,t,n)},y:fa,Y:aa,Z:ia,"%":pa};function x(o,u){return function(e){var t,n,r,a=[],f=-1,i=0,c=o.length;for(e instanceof Date||(e=new Date(+e));++f<c;)37===o.charCodeAt(f)&&(a.push(o.slice(i,f)),null!=(n=Rr[t=o.charAt(++f)])?t=o.charAt(++f):n="e"===t?" ":"0",(r=u[t])&&(t=r(e,n)),a.push(t),i=f+1);return a.push(o.slice(i,f)),a.join("")}}function M(a,f){return function(e){var t,n,r=qr(1900);if(A(r,a,e+="",0)!=e.length)return null;if("Q"in r)return new Date(r.Q);if("p"in r&&(r.H=r.H%12+12*r.p),"V"in r){if(r.V<1||53<r.V)return null;"w"in r||(r.w=1),r.d="Z"in r?(t=4<(n=(t=Ir(qr(r.y))).getUTCDay())||0===n?Hr.ceil(t):Hr(t),t=Fr.offset(t,7*(r.V-1)),r.y=t.getUTCFullYear(),r.m=t.getUTCMonth(),t.getUTCDate()+(r.w+6)%7):(t=4<(n=(t=f(qr(r.y))).getDay())||0===n?Ur.ceil(t):Ur(t),t=Cr.offset(t,7*(r.V-1)),r.y=t.getFullYear(),r.m=t.getMonth(),t.getDate()+(r.w+6)%7)}else("W"in r||"U"in r)&&("w"in r||(r.w="u"in r?r.u%7:"W"in r?1:0),n="Z"in r?Ir(qr(r.y)).getUTCDay():f(qr(r.y)).getDay(),r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(n+5)%7:r.w+7*r.U-(n+6)%7);return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,Ir(r)):f(r)}}function A(e,t,n,r){for(var a,f,i=0,c=t.length,o=n.length;i<c;){if(o<=r)return-1;if(37===(a=t.charCodeAt(i++))){if(a=t.charAt(i++),!(f=w[a in Rr?t.charAt(i++):a])||(r=f(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return _.x=x(a,_),_.X=x(f,_),_.c=x(r,_),m.x=x(a,m),m.X=x(f,m),m.c=x(r,m),{format:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},parse:function(e){var t=M(e+="",jr);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",m);return t.toString=function(){return e},t},utcParse:function(e){var t=M(e,Ir);return t.toString=function(){return e},t}}}({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"]}),zr.format,zr.parse,Xr=zr.utcFormat,Vr=zr.utcParse;var tf="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Xr(tf);+new Date("2000-01-01T00:00:00.000Z")||Vr(tf);function nf(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}function rf(e){return gt(e[e.length-1])}nf("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),nf("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),nf("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),nf("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),nf("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),nf("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),nf("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),nf("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),nf("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),rf(new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(nf)),rf(new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(nf)),rf(new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(nf)),rf(new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(nf)),rf(new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(nf)),rf(new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(nf)),rf(new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(nf)),rf(new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(nf)),rf(new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(nf)),rf(new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(nf)),rf(new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(nf)),rf(new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(nf)),rf(new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(nf)),rf(new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(nf)),rf(new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(nf)),rf(new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(nf)),rf(new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(nf)),rf(new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(nf)),rf(new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(nf)),rf(new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(nf)),rf(new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(nf)),rf(new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(nf)),rf(new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(nf)),rf(new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(nf)),rf(new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(nf)),rf(new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(nf)),rf(new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(nf)),Ht(ot(300,.5,0),ot(-240,.5,1));Ht(ot(-100,.75,.35),ot(80,1.5,.8)),Ht(ot(260,.75,.35),ot(80,1.5,.8)),ot(),Fe(),Math.PI,Math.PI;function af(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}af(nf("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));af(nf("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),af(nf("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),af(nf("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ff(e){return function(){return e}}Math.PI;function cf(e){this._context=e}function of(e){return new cf(e)}function uf(e){return e[0]}function sf(e){return e[1]}function df(e){return e<0?-1:1}function lf(e,t,n){var r=e._x1-e._x0,a=t-e._x1,f=(e._y1-e._y0)/(r||a<0&&-0),i=(n-e._y1)/(a||r<0&&-0),c=(f*a+i*r)/(r+a);return(df(f)+df(i))*Math.min(Math.abs(f),Math.abs(i),.5*Math.abs(c))||0}function hf(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function bf(e,t,n){var r=e._x0,a=e._y0,f=e._x1,i=e._y1,c=(f-r)/3;e._context.bezierCurveTo(r+c,a+c*t,f-c,i-c*n,f,i)}function pf(e){this._context=e}function gf(e){this._context=e}cf.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},pf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:bf(this,this._t0,hf(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,bf(this,hf(this,n=lf(this,e,t)),n);break;default:bf(this,this._t0,n=lf(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(function(e){this._context=new gf(e)}.prototype=Object.create(pf.prototype)).point=function(e,t){pf.prototype.point.call(this,t,e)},gf.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,a,f){this._context.bezierCurveTo(t,e,r,n,f,a)}},e.axisBottom=function(e){return t(S,e)},e.axisLeft=function(e){return t(U,e)},e.axisTop=function(e){return t(C,e)},e.formatLocale=ar,e.line=function(){var i=uf,c=sf,o=ff(!0),u=null,s=of,d=null;function t(e){var t,n,r,a=e.length,f=!1;for(null==u&&(d=s(r=kn())),t=0;t<=a;++t)!(t<a&&o(n=e[t],t,e))===f&&((f=!f)?d.lineStart():d.lineEnd()),f&&d.point(+i(n,t,e),+c(n,t,e));if(r)return d=null,r+""||null}return t.x=function(e){return arguments.length?(i="function"==typeof e?e:ff(+e),t):i},t.y=function(e){return arguments.length?(c="function"==typeof e?e:ff(+e),t):c},t.defined=function(e){return arguments.length?(o="function"==typeof e?e:ff(!!e),t):o},t.curve=function(e){return arguments.length?(s=e,null!=u&&(d=s(u)),t):s},t.context=function(e){return arguments.length?(null==e?u=d=null:d=s(u=e),t):u},t},e.scaleBand=function e(){var f,i,t=hr().unknown(void 0),c=t.domain,o=t.range,u=[0,1],s=!1,d=0,l=0,h=.5;function n(){var e=c().length,t=u[1]<u[0],n=u[t-0],r=u[1-t];f=(r-n)/Math.max(1,e-d+2*l),s&&(f=Math.floor(f)),n+=(r-n-f*(e-d))*h,i=f*(1-d),s&&(n=Math.round(n),i=Math.round(i));var a=function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),f=new Array(a);++r<a;)f[r]=e+r*n;return f}(e).map(function(e){return n+f*e});return o(t?a.reverse():a)}return delete t.unknown,t.domain=function(e){return arguments.length?(c(e),n()):c()},t.range=function(e){return arguments.length?(u=[+e[0],+e[1]],n()):u.slice()},t.rangeRound=function(e){return u=[+e[0],+e[1]],s=!0,n()},t.bandwidth=function(){return i},t.step=function(){return f},t.round=function(e){return arguments.length?(s=!!e,n()):s},t.padding=function(e){return arguments.length?(d=l=Math.max(0,Math.min(1,e)),n()):d},t.paddingInner=function(e){return arguments.length?(d=Math.max(0,Math.min(1,e)),n()):d},t.paddingOuter=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),n()):l},t.align=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),n()):h},t.copy=function(){return e().domain(c()).range(u).round(s).paddingInner(d).paddingOuter(l).align(h)},n()},e.scaleLinear=function t(){var n=function(t,n){var r,f,i,c=pr,o=pr,u=wt,s=!1;function a(){return r=2<Math.min(c.length,o.length)?vr:yr,f=i=null,e}function e(e){return(f||(f=r(c,o,s?(a=t,function(t,n){var r=a(t=+t,n=+n);return function(e){return e<=t?0:n<=e?1:r(e)}}):t,u)))(+e);var a}return e.invert=function(e){return(i||(i=r(o,c,gr,s?(a=n,function(t,n){var r=a(t=+t,n=+n);return function(e){return e<=0?t:1<=e?n:r(e)}}):n)))(+e);var a},e.domain=function(e){return arguments.length?(c=sr.call(e,br),a()):c.slice()},e.range=function(e){return arguments.length?(o=dr.call(e),a()):o.slice()},e.rangeRound=function(e){return o=dr.call(e),u=xt,a()},e.clamp=function(e){return arguments.length?(s=!!e,a()):s},e.interpolate=function(e){return arguments.length?(u=e,a()):u},a()}(gr,yt);return n.copy=function(){return e=n,t().domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp());var e},mr(n)},e.scaleOrdinal=hr,e.select=function(e){return"string"==typeof e?new de([[document.querySelector(e)]],[document.documentElement]):new de([[e]],se)},Object.defineProperty(e,"__esModule",{value:!0})});