From 4684ea5bce160dab0adf1319097b4920f0ecd3cd Mon Sep 17 00:00:00 2001 From: FY Date: Sun, 29 Sep 2024 12:31:47 -0400 Subject: [PATCH] Updates --- 404.html | 2 +- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/{main.7e34cc89.js => main.54af3778.js} | 6 +++--- ...7e34cc89.js.LICENSE.txt => main.54af3778.js.LICENSE.txt} | 0 static/js/{main.7e34cc89.js.map => main.54af3778.js.map} | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) rename static/js/{main.7e34cc89.js => main.54af3778.js} (86%) rename static/js/{main.7e34cc89.js.LICENSE.txt => main.54af3778.js.LICENSE.txt} (100%) rename static/js/{main.7e34cc89.js.map => main.54af3778.js.map} (56%) diff --git a/404.html b/404.html index 77e671b..5aaed46 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -FIGX
\ No newline at end of file +FIGX
\ No newline at end of file diff --git a/asset-manifest.json b/asset-manifest.json index 603874d..d8c74a8 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,17 +1,17 @@ { "files": { "main.css": "/static/css/main.86ea314f.css", - "main.js": "/static/js/main.7e34cc89.js", + "main.js": "/static/js/main.54af3778.js", "static/js/453.45cdc164.chunk.js": "/static/js/453.45cdc164.chunk.js", "static/media/headline-2.png": "/static/media/headline-2.b00a940a40e8cf593e29.png", "static/media/MusticaPro-Bold.woff": "/static/media/MusticaPro-Bold.cfe1e037c260aa93610e.woff", "index.html": "/index.html", "main.86ea314f.css.map": "/static/css/main.86ea314f.css.map", - "main.7e34cc89.js.map": "/static/js/main.7e34cc89.js.map", + "main.54af3778.js.map": "/static/js/main.54af3778.js.map", "453.45cdc164.chunk.js.map": "/static/js/453.45cdc164.chunk.js.map" }, "entrypoints": [ "static/css/main.86ea314f.css", - "static/js/main.7e34cc89.js" + "static/js/main.54af3778.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 77e671b..5aaed46 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -FIGX
\ No newline at end of file +FIGX
\ No newline at end of file diff --git a/static/js/main.7e34cc89.js b/static/js/main.54af3778.js similarity index 86% rename from static/js/main.7e34cc89.js rename to static/js/main.54af3778.js index c5d93bd..aca8de0 100644 --- a/static/js/main.7e34cc89.js +++ b/static/js/main.54af3778.js @@ -1,3 +1,3 @@ -/*! For license information please see main.7e34cc89.js.LICENSE.txt */ -(()=>{var e={596:(e,t,n)=>{var r,a;!function(){var i={version:"3.5.17"},o=[].slice,l=function(e){return o.call(e)},u=this.document;function s(e){return e&&(e.ownerDocument||e.document||e).documentElement}function c(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(u)try{l(u.documentElement.childNodes)[0].nodeType}catch(su){l=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e[t];return n}}if(Date.now||(Date.now=function(){return+new Date}),u)try{u.createElement("DIV").style.setProperty("opacity",0,"")}catch(cu){var f=this.Element.prototype,d=f.setAttribute,h=f.setAttributeNS,p=this.CSSStyleDeclaration.prototype,g=p.setProperty;f.setAttribute=function(e,t){d.call(this,e,t+"")},f.setAttributeNS=function(e,t,n){h.call(this,e,t,n+"")},p.setProperty=function(e,t,n){g.call(this,e,t+"",n)}}function m(e,t){return et?1:e>=t?0:NaN}function v(e){return null===e?NaN:+e}function y(e){return!isNaN(e)}function b(e){return{left:function(t,n,r,a){for(arguments.length<3&&(r=0),arguments.length<4&&(a=t.length);r>>1;e(t[i],n)<0?r=i+1:a=i}return r},right:function(t,n,r,a){for(arguments.length<3&&(r=0),arguments.length<4&&(a=t.length);r>>1;e(t[i],n)>0?a=i:r=i+1}return r}}}i.ascending=m,i.descending=function(e,t){return te?1:t>=e?0:NaN},i.min=function(e,t){var n,r,a=-1,i=e.length;if(1===arguments.length){for(;++a=r){n=r;break}for(;++ar&&(n=r)}else{for(;++a=r){n=r;break}for(;++ar&&(n=r)}return n},i.max=function(e,t){var n,r,a=-1,i=e.length;if(1===arguments.length){for(;++a=r){n=r;break}for(;++an&&(n=r)}else{for(;++a=r){n=r;break}for(;++an&&(n=r)}return n},i.extent=function(e,t){var n,r,a,i=-1,o=e.length;if(1===arguments.length){for(;++i=r){n=a=r;break}for(;++ir&&(n=r),a=r){n=a=r;break}for(;++ir&&(n=r),a1)return o/(u-1)},i.deviation=function(){var e=i.variance.apply(this,arguments);return e?Math.sqrt(e):e};var w=b(m);function x(e){return e.length}i.bisectLeft=w.left,i.bisect=i.bisectRight=w.right,i.bisector=function(e){return b(1===e.length?function(t,n){return m(e(t),n)}:e)},i.shuffle=function(e,t,n){(i=arguments.length)<3&&(n=e.length,i<2&&(t=0));for(var r,a,i=n-t;i;)a=Math.random()*i--|0,r=e[i+t],e[i+t]=e[a+t],e[a+t]=r;return e},i.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},i.pairs=function(e){for(var t=0,n=e.length-1,r=e[0],a=new Array(n<0?0:n);t=0;)for(t=(r=e[a]).length;--t>=0;)n[--o]=r[t];return n};var k=Math.abs;function M(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function S(){this._=Object.create(null)}i.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n===1/0)throw new Error("infinite range");var r,a=[],i=function(e){var t=1;for(;e*t%1;)t*=10;return t}(k(n)),o=-1;if(e*=i,t*=i,(n*=i)<0)for(;(r=e+n*++o)>t;)a.push(r/i);else for(;(r=e+n*++o)=r.length)return t?t.call(n,i):e?i.sort(e):i;for(var u,s,c,f,d=-1,h=i.length,p=r[l++],g=new S;++d=r.length)return e;var n=[],i=a[t++];return e.forEach((function(e,r){n.push({key:e,values:l(r,t)})})),i?n.sort((function(e,t){return i(e.key,t.key)})):n}return n.map=function(e,t){return o(t,e,0)},n.entries=function(e){return l(o(i.map,e,0),0)},n.key=function(e){return r.push(e),n},n.sortKeys=function(e){return a[r.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return t=e,n},n},i.set=function(e){var t=new D;if(e)for(var n=0,r=e.length;n=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},i.event=null,i.requote=function(e){return e.replace(W,"\\$&")};var W=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Z={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]};function $(e){return Z(e,G),e}var Y=function(e,t){return t.querySelector(e)},Q=function(e,t){return t.querySelectorAll(e)},X=function(e,t){var n=e.matches||e[R(e,"matchesSelector")];return X=function(e,t){return n.call(e,t)},X(e,t)};"function"===typeof Sizzle&&(Y=function(e,t){return Sizzle(e,t)[0]||null},Q=Sizzle,X=Sizzle.matchesSelector),i.selection=function(){return i.select(u.documentElement)};var G=i.selection.prototype=[];function K(e){return"function"===typeof e?e:function(){return Y(e,this)}}function J(e){return"function"===typeof e?e:function(){return Q(e,this)}}G.select=function(e){var t,n,r,a,i=[];e=K(e);for(var o=-1,l=this.length;++o=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),te.hasOwnProperty(n)?{space:te[n],local:e}:e}},G.attr=function(e,t){if(arguments.length<2){if("string"===typeof e){var n=this.node();return(e=i.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(ne(t,e[t]));return this}return this.each(ne(e,t))},G.classed=function(e,t){if(arguments.length<2){if("string"===typeof e){var n=this.node(),r=(e=ie(e)).length,a=-1;if(t=n.classList){for(;++a=0;)(n=r[a])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},G.sort=function(e){e=pe.apply(this,arguments);for(var t=-1,n=this.length;++t0&&(e=e.slice(0,a));var u=be.get(e);function s(){var t=this[r];t&&(this.removeEventListener(e,t,t.$),delete this[r])}return u&&(e=u,o=xe),a?t?function(){var a=o(t,l(arguments));s.call(this),this.addEventListener(e,this[r]=a,a.$=n),a._=t}:s:t?F:function(){var t,n=new RegExp("^__on([^.]+)"+i.requote(e)+"$");for(var r in this)if(t=r.match(n)){var a=this[r];this.removeEventListener(t[1],a,a.$),delete this[r]}}}i.selection.enter=me,i.selection.enter.prototype=ve,ve.append=G.append,ve.empty=G.empty,ve.node=G.node,ve.call=G.call,ve.size=G.size,ve.select=function(e){for(var t,n,r,a,i,o=[],l=-1,u=this.length;++l=t&&(t=a+1);!(o=l[t])&&++t0?1:e<0?-1:0}function Re(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function Ie(e){return e>1?0:e<-1?Te:Math.acos(e)}function Fe(e){return e>1?Pe:e<-1?-Pe:Math.asin(e)}function Ue(e){return((e=Math.exp(e))+1/e)/2}function Be(e){return(e=Math.sin(e/2))*e}var He=Math.SQRT2;i.interpolateZoom=function(e,t){var n,r,a=e[0],i=e[1],o=e[2],l=t[0],u=t[1],s=t[2],c=l-a,f=u-i,d=c*c+f*f;if(d0&&(e=e.transition().duration(g)),e.call(k.event)}function C(){l&&l.domain(o.range().map((function(e){return(e-d.x)/d.k})).map(o.invert)),f&&f.domain(s.range().map((function(e){return(e-d.y)/d.k})).map(s.invert))}function E(e){m++||e({type:"zoomstart"})}function j(e){C(),e({type:"zoom",scale:d.k,translate:[d.x,d.y]})}function T(e){--m||(e({type:"zoomend"}),t=null)}function A(){var e=this,t=x.of(e,arguments),n=0,r=i.select(c(e)).on(y,(function(){n=1,N(i.mouse(e),a),j(t)})).on(b,(function(){r.on(y,null).on(b,null),o(n),T(t)})),a=M(i.mouse(e)),o=Se(e);Ll.call(e),E(t)}function L(){var e,t=this,n=x.of(t,arguments),r={},o=0,l=".zoom-"+i.event.changedTouches[0].identifier,u="touchmove"+l,s="touchend"+l,c=[],f=i.select(t),h=Se(t);function p(){var n=i.touches(t);return e=d.k,n.forEach((function(e){e.identifier in r&&(r[e.identifier]=M(e))})),n}function g(){var e=i.event.target;i.select(e).on(u,m).on(s,y),c.push(e);for(var n=i.event.changedTouches,l=0,f=n.length;l1){v=h[0];var b=h[1],w=v[0]-b[0],x=v[1]-b[1];o=w*w+x*x}}function m(){var l,u,s,c,f=i.touches(t);Ll.call(t);for(var d=0,h=f.length;d360?e-=360:e<0&&(e+=360),e<60?r+(a-r)*e/60:e<180?a:e<240?r+(a-r)*(240-e)/60:r}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,r=2*(n=n<0?0:n>1?1:n)-(a=n<=.5?n*(1+t):n+t-n*t),new ct(i(e+120),i(e),i(e-120))}function Xe(e,t,n){return this instanceof Xe?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof Xe?new Xe(e.h,e.c,e.l):ot(e instanceof Je?e.l:(e=vt((e=i.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Xe(e,t,n)}Ye.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new $e(this.h,this.s,this.l/e)},Ye.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new $e(this.h,this.s,e*this.l)},Ye.rgb=function(){return Qe(this.h,this.s,this.l)},i.hcl=Xe;var Ge=Xe.prototype=new Ze;function Ke(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Je(n,Math.cos(e*=De)*t,Math.sin(e)*t)}function Je(e,t,n){return this instanceof Je?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof Je?new Je(e.l,e.a,e.b):e instanceof Xe?Ke(e.h,e.c,e.l):vt((e=ct(e)).r,e.g,e.b):new Je(e,t,n)}Ge.brighter=function(e){return new Xe(this.h,this.c,Math.min(100,this.l+et*(arguments.length?e:1)))},Ge.darker=function(e){return new Xe(this.h,this.c,Math.max(0,this.l-et*(arguments.length?e:1)))},Ge.rgb=function(){return Ke(this.h,this.c,this.l).rgb()},i.lab=Je;var et=18,tt=.95047,nt=1,rt=1.08883,at=Je.prototype=new Ze;function it(e,t,n){var r=(e+16)/116,a=r+t/500,i=r-n/200;return new ct(st(3.2404542*(a=lt(a)*tt)-1.5371385*(r=lt(r)*nt)-.4985314*(i=lt(i)*rt)),st(-.969266*a+1.8760108*r+.041556*i),st(.0556434*a-.2040259*r+1.0572252*i))}function ot(e,t,n){return e>0?new Xe(Math.atan2(n,t)*ze,Math.sqrt(t*t+n*n),e):new Xe(NaN,NaN,e)}function lt(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function ut(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function st(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function ct(e,t,n){return this instanceof ct?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof ct?new ct(e.r,e.g,e.b):gt(""+e,ct,Qe):new ct(e,t,n)}function ft(e){return new ct(e>>16,e>>8&255,255&e)}function dt(e){return ft(e)+""}at.brighter=function(e){return new Je(Math.min(100,this.l+et*(arguments.length?e:1)),this.a,this.b)},at.darker=function(e){return new Je(Math.max(0,this.l-et*(arguments.length?e:1)),this.a,this.b)},at.rgb=function(){return it(this.l,this.a,this.b)},i.rgb=ct;var ht=ct.prototype=new Ze;function pt(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function gt(e,t,n){var r,a,i,o=0,l=0,u=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(a=r[2].split(","),r[1]){case"hsl":return n(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(bt(a[0]),bt(a[1]),bt(a[2]))}return(i=wt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,l=240&i,l|=l>>4,u=15&i,u|=u<<4):7===e.length&&(o=(16711680&i)>>16,l=(65280&i)>>8,u=255&i)),t(o,l,u))}function mt(e,t,n){var r,a,i=Math.min(e/=255,t/=255,n/=255),o=Math.max(e,t,n),l=o-i,u=(o+i)/2;return l?(a=u<.5?l/(o+i):l/(2-o-i),r=e==o?(t-n)/l+(t0&&u<1?0:r),new $e(r,a,u)}function vt(e,t,n){var r=ut((.4124564*(e=yt(e))+.3575761*(t=yt(t))+.1804375*(n=yt(n)))/tt),a=ut((.2126729*e+.7151522*t+.072175*n)/nt);return Je(116*a-16,500*(r-a),200*(a-ut((.0193339*e+.119192*t+.9503041*n)/rt)))}function yt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function bt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}ht.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,n=this.g,r=this.b,a=30;return t||n||r?(t&&t=200&&t<300||304===t){try{e=n.call(a,s)}catch(su){return void o.error.call(a,su)}o.load.call(a,e)}else o.error.call(a,s)}return this.XDomainRequest&&!("withCredentials"in s)&&/^(http(s)?:)?\/\//.test(e)&&(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=f:s.onreadystatechange=function(){s.readyState>3&&f()},s.onprogress=function(e){var t=i.event;i.event=e;try{o.progress.call(a,s)}finally{i.event=t}},a.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?u[e]:(null==t?delete u[e]:u[e]=t+"",a)},a.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",a):t},a.responseType=function(e){return arguments.length?(c=e,a):c},a.response=function(e){return n=e,a},["get","post"].forEach((function(e){a[e]=function(){return a.send.apply(a,[e].concat(l(arguments)))}})),a.send=function(n,r,i){if(2===arguments.length&&"function"===typeof r&&(i=r,r=null),s.open(n,e,!0),null==t||"accept"in u||(u.accept=t+",*/*"),s.setRequestHeader)for(var l in u)s.setRequestHeader(l,u[l]);return null!=t&&s.overrideMimeType&&s.overrideMimeType(t),null!=c&&(s.responseType=c),null!=i&&a.on("error",i).on("load",(function(e){i(null,e)})),o.beforesend.call(a,s),s.send(null==r?null:r),a},a.abort=function(){return s.abort(),a},i.rebind(a,o,"on"),null==r?a:a.get(function(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}(r))}wt.forEach((function(e,t){wt.set(e,ft(t))})),i.functor=xt,i.xhr=kt(z),i.dsv=function(e,t){var n=new RegExp('["'+e+"\n]"),r=e.charCodeAt(0);function a(e,n,r){arguments.length<3&&(r=n,n=null);var a=Mt(e,t,null==n?i:o(n),r);return a.row=function(e){return arguments.length?a.response(null==(n=e)?i:o(e)):n},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function l(t){return t.map(u).join(e)}function u(e){return n.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return a.parse=function(e,t){var n;return a.parseRows(e,(function(e,r){if(n)return n(e,r-1);var a=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");n=t?function(e,n){return t(a(e),n)}:a}))},a.parseRows=function(e,t){var n,a,i={},o={},l=[],u=e.length,s=0,c=0;function f(){if(s>=u)return o;if(a)return a=!1,i;var t=s;if(34===e.charCodeAt(t)){for(var n=t;n++24?(isFinite(t)&&(clearTimeout(Ct),Ct=setTimeout(Tt,t)),_t=0):(_t=1,Et(Tt))}function At(){for(var e=Date.now(),t=St;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function Lt(){for(var e,t=St,n=1/0;t;)t.c?(t.t8?function(e){return e/n}:function(e){return e*n},symbol:e}}));function zt(e){var t=e.decimal,n=e.thousands,r=e.grouping,a=e.currency,o=r&&n?function(e,t){for(var a=e.length,i=[],o=0,l=r[0],u=0;a>0&&l>0&&(u+l+1>t&&(l=Math.max(1,t-u)),i.push(e.substring(a-=l,a+l)),!((u+=l+1)>t));)l=r[o=(o+1)%r.length];return i.reverse().join(n)}:z;return function(e){var n=Ot.exec(e),r=n[1]||" ",l=n[2]||">",u=n[3]||"-",s=n[4]||"",c=n[5],f=+n[6],d=n[7],h=n[8],p=n[9],g=1,m="",v="",y=!1,b=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===l)&&(c=r="0",l="="),p){case"n":d=!0,p="g";break;case"%":g=100,v="%",p="f";break;case"p":g=100,v="%",p="r";break;case"b":case"o":case"x":case"X":"#"===s&&(m="0"+p.toLowerCase());case"c":b=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===s&&(m=a[0],v=a[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=Rt.get(p)||It;var w=c&&d;return function(e){var n=v;if(y&&e%1)return"";var a=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===u?"":u;if(g<0){var s=i.formatPrefix(e,h);e=s.scale(e),n=s.symbol+v}else e*=g;var x,k,M=(e=p(e,h)).lastIndexOf(".");if(M<0){var S=b?e.lastIndexOf("e"):-1;S<0?(x=e,k=""):(x=e.substring(0,S),k=e.substring(S))}else x=e.substring(0,M),k=t+e.substring(M+1);!c&&d&&(x=o(x,1/0));var N=m.length+x.length+k.length+(w?0:a.length),_=N"===l?_+a+e:"^"===l?_.substring(0,N>>=1)+a+e+_.substring(N):a+(w?e:_+e))+n}}}i.formatPrefix=function(e,t){var n=0;return(e=+e)&&(e<0&&(e*=-1),t&&(e=i.round(e,Pt(e,t))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Dt[8+n/3]};var Ot=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Rt=i.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=i.round(e,Pt(e,t))).toFixed(Math.max(0,Math.min(20,Pt(e*(1+1e-15),t))))}});function It(e){return e+""}var Ft=i.time={},Ut=Date;function Bt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Bt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Ht.setUTCDate.apply(this._,arguments)},setDay:function(){Ht.setUTCDay.apply(this._,arguments)},setFullYear:function(){Ht.setUTCFullYear.apply(this._,arguments)},setHours:function(){Ht.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Ht.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Ht.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Ht.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Ht.setUTCSeconds.apply(this._,arguments)},setTime:function(){Ht.setTime.apply(this._,arguments)}};var Ht=Date.prototype;function Vt(e,t,n){function r(t){var n=e(t),r=i(n,1);return t-n1)for(;o=s)return-1;if(37===(a=t.charCodeAt(l++))){if(o=t.charAt(l++),!(i=k[o in Zt?t.charAt(l++):o])||(r=i(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}c.utc=function(e){var t=c(e);function n(e){try{var n=new(Ut=Bt);return n._=e,t(n)}finally{Ut=Date}}return n.parse=function(e){try{Ut=Bt;var n=t.parse(e);return n&&n._}finally{Ut=Date}},n.toString=t.toString,n},c.multi=c.utc.multi=pn;var d=i.map(),h=Xt(o),p=Gt(o),g=Xt(l),m=Gt(l),v=Xt(u),y=Gt(u),b=Xt(s),w=Gt(s);a.forEach((function(e,t){d.set(e.toLowerCase(),t)}));var x={a:function(e){return l[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:c(t),d:function(e,t){return Qt(e.getDate(),t,2)},e:function(e,t){return Qt(e.getDate(),t,2)},H:function(e,t){return Qt(e.getHours(),t,2)},I:function(e,t){return Qt(e.getHours()%12||12,t,2)},j:function(e,t){return Qt(1+Ft.dayOfYear(e),t,3)},L:function(e,t){return Qt(e.getMilliseconds(),t,3)},m:function(e,t){return Qt(e.getMonth()+1,t,2)},M:function(e,t){return Qt(e.getMinutes(),t,2)},p:function(e){return a[+(e.getHours()>=12)]},S:function(e,t){return Qt(e.getSeconds(),t,2)},U:function(e,t){return Qt(Ft.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Qt(Ft.mondayOfYear(e),t,2)},x:c(n),X:c(r),y:function(e,t){return Qt(e.getFullYear()%100,t,2)},Y:function(e,t){return Qt(e.getFullYear()%1e4,t,4)},Z:dn,"%":function(){return"%"}},k={a:function(e,t,n){g.lastIndex=0;var r=g.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){h.lastIndex=0;var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){b.lastIndex=0;var r=b.exec(t.slice(n));return r?(e.m=w.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){v.lastIndex=0;var r=v.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,t,n){return f(e,x.c.toString(),t,n)},d:on,e:on,H:un,I:un,j:ln,L:fn,m:an,M:sn,p:function(e,t,n){var r=d.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)},S:cn,U:Jt,w:Kt,W:en,x:function(e,t,n){return f(e,x.x.toString(),t,n)},X:function(e,t,n){return f(e,x.X.toString(),t,n)},y:nn,Y:tn,Z:rn,"%":hn};return c}Ft.year=Vt((function(e){return(e=Ft.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Ft.years=Ft.year.range,Ft.years.utc=Ft.year.utc.range,Ft.day=Vt((function(e){var t=new Ut(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Ft.days=Ft.day.range,Ft.days.utc=Ft.day.utc.range,Ft.dayOfYear=function(e){var t=Ft.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var n=Ft[e]=Vt((function(e){return(e=Ft.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var n=Ft.year(e).getDay();return Math.floor((Ft.dayOfYear(e)+(n+t)%7)/7)-(n!==t)}));Ft[e+"s"]=n.range,Ft[e+"s"].utc=n.utc.range,Ft[e+"OfYear"]=function(e){var n=Ft.year(e).getDay();return Math.floor((Ft.dayOfYear(e)+(n+t)%7)/7)}})),Ft.week=Ft.sunday,Ft.weeks=Ft.sunday.range,Ft.weeks.utc=Ft.sunday.utc.range,Ft.weekOfYear=Ft.sundayOfYear;var Zt={"-":"",_:" ",0:"0"},$t=/^\s*\d+/,Yt=/^%/;function Qt(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",i=a.length;return r+(i68?1900:2e3),n+a[0].length):-1}function rn(e,t,n){return/^[+-]\d{4}$/.test(t=t.slice(n,n+5))?(e.Z=-t,n+5):-1}function an(e,t,n){$t.lastIndex=0;var r=$t.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function on(e,t,n){$t.lastIndex=0;var r=$t.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ln(e,t,n){$t.lastIndex=0;var r=$t.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function un(e,t,n){$t.lastIndex=0;var r=$t.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function sn(e,t,n){$t.lastIndex=0;var r=$t.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function cn(e,t,n){$t.lastIndex=0;var r=$t.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function fn(e,t,n){$t.lastIndex=0;var r=$t.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function dn(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=k(t)/60|0,a=k(t)%60;return n+Qt(r,"0",2)+Qt(a,"0",2)}function hn(e,t,n){Yt.lastIndex=0;var r=Yt.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function pn(e){for(var t=e.length,n=-1;++n=0?1:-1,l=o*i,u=Math.cos(t),s=Math.sin(t),c=a*s,f=r*u+c*Math.cos(l),d=c*o*Math.sin(l);On.add(Math.atan2(d,f)),n=e,r=u,a=s}Rn.point=function(o,l){Rn.point=i,n=(e=o)*De,r=Math.cos(l=(t=l)*De/2+Te/4),a=Math.sin(l)},Rn.lineEnd=function(){i(e,t)}}function Fn(e){var t=e[0],n=e[1],r=Math.cos(n);return[r*Math.cos(t),r*Math.sin(t),Math.sin(n)]}function Un(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Bn(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Hn(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Vn(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function qn(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Wn(e){return[Math.atan2(e[1],e[0]),Fe(e[2])]}function Zn(e,t){return k(e[0]-t[0])Ee?r=90:s<-Ee&&(t=-90),f[0]=e,f[1]=n}};function h(a,i){c.push(f=[e=a,n=a]),ir&&(r=i)}function p(i,o){var l=Fn([i*De,o*De]);if(u){var s=Bn(u,l),c=Bn([s[1],-s[0],0],s);qn(c),c=Wn(c);var f=i-a,d=f>0?1:-1,p=c[0]*ze*d,g=k(f)>180;if(g^(d*ar&&(r=m);else if(g^(d*a<(p=(p+360)%360-180)&&pr&&(r=o);g?iw(e,n)&&(n=i):w(i,n)>w(e,n)&&(e=i):n>=e?(in&&(n=i)):i>a?w(e,i)>w(e,n)&&(n=i):w(i,n)>w(e,n)&&(e=i)}else h(i,o);u=l,a=i}function g(){d.point=p}function m(){f[0]=e,f[1]=n,d.point=h,u=null}function v(e,t){if(u){var n=e-a;s+=k(n)>180?n+(n>0?360:-360):n}else o=e,l=t;Rn.point(e,t),p(e,t)}function y(){Rn.lineStart()}function b(){v(o,l),Rn.lineEnd(),k(s)>Ee&&(e=-(n=180)),f[0]=e,f[1]=n,u=null}function w(e,t){return(t-=e)<0?t+360:t}function x(e,t){return e[0]-t[0]}function M(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:ew(g[0],g[1])&&(g[1]=h[1]),w(h[0],g[1])>w(g[0],g[1])&&(g[0]=h[0])):l.push(g=h);for(var u,s,h,p=-1/0,g=(o=0,l[s=l.length-1]);o<=s;g=h,++o)h=l[o],(u=w(g[1],h[0]))>p&&(p=u,e=h[0],n=g[1])}return c=f=null,e===1/0||t===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,t],[n,r]]}}(),i.geo.centroid=function(e){Nn=_n=Cn=En=jn=Tn=An=Ln=Pn=Dn=zn=0,i.geo.stream(e,$n);var t=Pn,n=Dn,r=zn,a=t*t+n*n+r*r;return a=0;--l)a.point((f=c[l])[0],f[1]);else r(h.x,h.p.x,-1,a);h=h.p}c=(h=h.o).z,p=!p}while(!h.v);a.lineEnd()}}}function nr(e){if(t=e.length){for(var t,n,r=0,a=e[0];++r=0?1:-1,M=k*x,S=M>Te,N=p*b;if(On.add(Math.atan2(N*k*Math.sin(M),g*w+N*Math.cos(M))),i+=S?x+k*Ae:x,S^d>=n^v>=n){var _=Bn(Fn(f),Fn(e));qn(_);var C=Bn(a,_);qn(C);var E=(S^x>=0?-1:1)*Fe(C[2]);(r>E||r===E&&(_[0]||_[1]))&&(o+=S^x>=0?1:-1)}if(!m++)break;d=v,p=b,g=w,f=e}}return(i<-Ee||i0){for(b||(o.polygonStart(),b=!0),o.lineStart();++i1&&2&t&&n.push(n.pop().concat(n.shift())),l.push(n.filter(ir))}return c}}function ir(e){return e.length>1}function or(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:F,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function lr(e,t){return((e=e.x)[0]<0?e[1]-Pe-Ee:Pe-e[1])-((t=t.x)[0]<0?t[1]-Pe-Ee:Pe-t[1])}var ur=ar(er,(function(e){var t,n=NaN,r=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var l=i>0?Te:-Te,u=k(i-n);k(u-Te)0?Pe:-Pe),e.point(a,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(i,r),t=0):a!==l&&u>=Te&&(k(n-a)Ee?Math.atan((Math.sin(t)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(a=Math.cos(t))*Math.sin(e))/(a*i*o)):(t+r)/2}(n,r,i,o),e.point(a,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=i,r=o),a=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var a;if(null==e)a=n*Pe,r.point(-Te,a),r.point(0,a),r.point(Te,a),r.point(Te,0),r.point(Te,-a),r.point(0,-a),r.point(-Te,-a),r.point(-Te,0),r.point(-Te,a);else if(k(e[0]-t[0])>Ee){var i=e[0]0)){if(i/=d,d<0){if(i0){if(i>f)return;i>c&&(c=i)}if(i=n-u,d||!(i<0)){if(i/=d,d<0){if(i>f)return;i>c&&(c=i)}else if(d>0){if(i0)){if(i/=h,h<0){if(i0){if(i>f)return;i>c&&(c=i)}if(i=r-s,h||!(i<0)){if(i/=h,h<0){if(i>f)return;i>c&&(c=i)}else if(h>0){if(i0&&(a.a={x:u+c*d,y:s+c*h}),f<1&&(a.b={x:u+f*d,y:s+f*h}),a}}}}}}var cr=1e9;function fr(e,t,n,r){return function(u){var s,c,f,d,h,p,g,m,v,y,b,w=u,x=or(),k=sr(e,t,n,r),M={point:_,lineStart:function(){M.point=C,c&&c.push(f=[]);y=!0,v=!1,g=m=NaN},lineEnd:function(){s&&(C(d,h),p&&v&&x.rejoin(),s.push(x.buffer()));M.point=_,v&&u.lineEnd()},polygonStart:function(){u=x,s=[],c=[],b=!0},polygonEnd:function(){u=w,s=i.merge(s);var t=function(e){for(var t=0,n=c.length,r=e[1],a=0;ar&&Re(s,i,e)>0&&++t:i[1]<=r&&Re(s,i,e)<0&&--t,s=i;return 0!==t}([e,r]),n=b&&t,a=s.length;(n||a)&&(u.polygonStart(),n&&(u.lineStart(),S(null,null,1,u),u.lineEnd()),a&&tr(s,o,t,S,u),u.polygonEnd()),s=c=f=null}};function S(i,o,u,s){var c=0,f=0;if(null==i||(c=a(i,u))!==(f=a(o,u))||l(i,o)<0^u>0)do{s.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+u+4)%4)!==f);else s.point(o[0],o[1])}function N(a,i){return e<=a&&a<=n&&t<=i&&i<=r}function _(e,t){N(e,t)&&u.point(e,t)}function C(e,t){var n=N(e=Math.max(-cr,Math.min(cr,e)),t=Math.max(-cr,Math.min(cr,t)));if(c&&f.push([e,t]),y)d=e,h=t,p=n,y=!1,n&&(u.lineStart(),u.point(e,t));else if(n&&v)u.point(e,t);else{var r={a:{x:g,y:m},b:{x:e,y:t}};k(r)?(v||(u.lineStart(),u.point(r.a.x,r.a.y)),u.point(r.b.x,r.b.y),n||u.lineEnd(),b=!1):n&&(u.lineStart(),u.point(e,t),b=!1)}g=e,m=t,v=n}return M};function a(r,a){return k(r[0]-e)0?0:3:k(r[0]-n)0?2:1:k(r[1]-t)0?1:0:a>0?3:2}function o(e,t){return l(e.x,t.x)}function l(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}}function dr(e){var t=0,n=Te/3,r=Or(e),a=r(t,n);return a.parallels=function(e){return arguments.length?r(t=e[0]*Te/180,n=e[1]*Te/180):[t/Te*180,n/Te*180]},a}function hr(e,t){var n=Math.sin(e),r=(n+Math.sin(t))/2,a=1+n*(2*r-n),i=Math.sqrt(a)/r;function o(e,t){var n=Math.sqrt(a-2*r*Math.sin(t))/r;return[n*Math.sin(e*=r),i-n*Math.cos(e)]}return o.invert=function(e,t){var n=i-t;return[Math.atan2(e,n)/r,Fe((a-(e*e+n*n)*r*r)/(2*r))]},o}i.geo.clipExtent=function(){var e,t,n,r,a,i,o={stream:function(e){return a&&(a.valid=!1),(a=i(e)).valid=!0,a},extent:function(l){return arguments.length?(i=fr(e=+l[0][0],t=+l[0][1],n=+l[1][0],r=+l[1][1]),a&&(a.valid=!1,a=null),o):[[e,t],[n,r]]}};return o.extent([[0,0],[960,500]])},(i.geo.conicEqualArea=function(){return dr(hr)}).raw=hr,i.geo.albers=function(){return i.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},i.geo.albersUsa=function(){var e,t,n,r,a=i.geo.albers(),o=i.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=i.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(t,n){e=[t,n]}};function s(a){var i=a[0],o=a[1];return e=null,t(i,o),e||(n(i,o),e)||r(i,o),e}return s.invert=function(e){var t=a.scale(),n=a.translate(),r=(e[0]-n[0])/t,i=(e[1]-n[1])/t;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?o:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:a).invert(e)},s.stream=function(e){var t=a.stream(e),n=o.stream(e),r=l.stream(e);return{point:function(e,a){t.point(e,a),n.point(e,a),r.point(e,a)},sphere:function(){t.sphere(),n.sphere(),r.sphere()},lineStart:function(){t.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},s.precision=function(e){return arguments.length?(a.precision(e),o.precision(e),l.precision(e),s):a.precision()},s.scale=function(e){return arguments.length?(a.scale(e),o.scale(.35*e),l.scale(e),s.translate(a.translate())):a.scale()},s.translate=function(e){if(!arguments.length)return a.translate();var i=a.scale(),c=+e[0],f=+e[1];return t=a.translate(e).clipExtent([[c-.455*i,f-.238*i],[c+.455*i,f+.238*i]]).stream(u).point,n=o.translate([c-.307*i,f+.201*i]).clipExtent([[c-.425*i+Ee,f+.12*i+Ee],[c-.214*i-Ee,f+.234*i-Ee]]).stream(u).point,r=l.translate([c-.205*i,f+.212*i]).clipExtent([[c-.214*i+Ee,f+.166*i+Ee],[c-.115*i-Ee,f+.234*i-Ee]]).stream(u).point,s},s.scale(1070)};var pr,gr,mr,vr,yr,br,wr={point:F,lineStart:F,lineEnd:F,polygonStart:function(){gr=0,wr.lineStart=xr},polygonEnd:function(){wr.lineStart=wr.lineEnd=wr.point=F,pr+=k(gr/2)}};function xr(){var e,t,n,r;function a(e,t){gr+=r*e-n*t,n=e,r=t}wr.point=function(i,o){wr.point=a,e=n=i,t=r=o},wr.lineEnd=function(){a(e,t)}}var kr={point:function(e,t){eyr&&(yr=e);tbr&&(br=t)},lineStart:F,lineEnd:F,polygonStart:F,polygonEnd:F};function Mr(){var e=Sr(4.5),t=[],n={point:r,lineStart:function(){n.point=a},lineEnd:o,polygonStart:function(){n.lineEnd=l},polygonEnd:function(){n.lineEnd=o,n.point=r},pointRadius:function(t){return e=Sr(t),n},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function r(n,r){t.push("M",n,",",r,e)}function a(e,r){t.push("M",e,",",r),n.point=i}function i(e,n){t.push("L",e,",",n)}function o(){n.point=r}function l(){t.push("Z")}return n}function Sr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var Nr,_r={point:Cr,lineStart:Er,lineEnd:jr,polygonStart:function(){_r.lineStart=Tr},polygonEnd:function(){_r.point=Cr,_r.lineStart=Er,_r.lineEnd=jr}};function Cr(e,t){Cn+=e,En+=t,++jn}function Er(){var e,t;function n(n,r){var a=n-e,i=r-t,o=Math.sqrt(a*a+i*i);Tn+=o*(e+n)/2,An+=o*(t+r)/2,Ln+=o,Cr(e=n,t=r)}_r.point=function(r,a){_r.point=n,Cr(e=r,t=a)}}function jr(){_r.point=Cr}function Tr(){var e,t,n,r;function a(e,t){var a=e-n,i=t-r,o=Math.sqrt(a*a+i*i);Tn+=o*(n+e)/2,An+=o*(r+t)/2,Ln+=o,Pn+=(o=r*e-n*t)*(n+e),Dn+=o*(r+t),zn+=3*o,Cr(n=e,r=t)}_r.point=function(i,o){_r.point=a,Cr(e=n=i,t=r=o)},_r.lineEnd=function(){a(e,t)}}function Ar(e){var t=4.5,n={point:r,lineStart:function(){n.point=a},lineEnd:o,polygonStart:function(){n.lineEnd=l},polygonEnd:function(){n.lineEnd=o,n.point=r},pointRadius:function(e){return t=e,n},result:F};function r(n,r){e.moveTo(n+t,r),e.arc(n,r,t,0,Ae)}function a(t,r){e.moveTo(t,r),n.point=i}function i(t,n){e.lineTo(t,n)}function o(){n.point=r}function l(){e.closePath()}return n}function Lr(e){var t=.5,n=Math.cos(30*De),r=16;function a(e){return(r?o:i)(e)}function i(t){return Dr(t,(function(n,r){n=e(n,r),t.point(n[0],n[1])}))}function o(t){var n,a,i,o,u,s,c,f,d,h,p,g,m={point:v,lineStart:y,lineEnd:w,polygonStart:function(){t.polygonStart(),m.lineStart=x},polygonEnd:function(){t.polygonEnd(),m.lineStart=y}};function v(n,r){n=e(n,r),t.point(n[0],n[1])}function y(){f=NaN,m.point=b,t.lineStart()}function b(n,a){var i=Fn([n,a]),o=e(n,a);l(f,d,c,h,p,g,f=o[0],d=o[1],c=n,h=i[0],p=i[1],g=i[2],r,t),t.point(f,d)}function w(){m.point=v,t.lineEnd()}function x(){y(),m.point=k,m.lineEnd=M}function k(e,t){b(n=e,t),a=f,i=d,o=h,u=p,s=g,m.point=b}function M(){l(f,d,c,h,p,g,a,i,n,o,u,s,r,t),m.lineEnd=w,w()}return m}function l(r,a,i,o,u,s,c,f,d,h,p,g,m,v){var y=c-r,b=f-a,w=y*y+b*b;if(w>4*t&&m--){var x=o+h,M=u+p,S=s+g,N=Math.sqrt(x*x+M*M+S*S),_=Math.asin(S/=N),C=k(k(S)-1)t||k((y*A+b*L)/w-.5)>.3||o*h+u*p+s*g0&&16,a):Math.sqrt(t)},a}function Pr(e){this.stream=e}function Dr(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function zr(e){return Or((function(){return e}))()}function Or(e){var t,n,r,a,o,l,u=Lr((function(e,n){return[(e=t(e,n))[0]*s+a,o-e[1]*s]})),s=150,c=480,f=250,d=0,h=0,p=0,g=0,m=0,v=ur,y=z,b=null,w=null;function x(e){return[(e=r(e[0]*De,e[1]*De))[0]*s+a,o-e[1]*s]}function M(e){return(e=r.invert((e[0]-a)/s,(o-e[1])/s))&&[e[0]*ze,e[1]*ze]}function S(){r=Jn(n=Ur(p,g,m),t);var e=t(d,h);return a=c-e[0]*s,o=f+e[1]*s,N()}function N(){return l&&(l.valid=!1,l=null),x}return x.stream=function(e){return l&&(l.valid=!1),(l=Rr(v(n,u(y(e))))).valid=!0,l},x.clipAngle=function(e){return arguments.length?(v=null==e?(b=e,ur):function(e){var t=Math.cos(e),n=t>0,r=k(t)>Ee;return ar(a,(function(e){var t,l,u,s,c;return{lineStart:function(){s=u=!1,c=1},point:function(f,d){var h,p=[f,d],g=a(f,d),m=n?g?0:o(f,d):g?o(f+(f<0?Te:-Te),d):0;if(!t&&(s=u=g)&&e.lineStart(),g!==u&&(h=i(t,p),(Zn(t,h)||Zn(p,h))&&(p[0]+=Ee,p[1]+=Ee,g=a(p[0],p[1]))),g!==u)c=0,g?(e.lineStart(),h=i(p,t),e.point(h[0],h[1])):(h=i(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(r&&t&&n^g){var v;m&l||!(v=i(p,t,!0))||(c=0,n?(e.lineStart(),e.point(v[0][0],v[0][1]),e.point(v[1][0],v[1][1]),e.lineEnd()):(e.point(v[1][0],v[1][1]),e.lineEnd(),e.lineStart(),e.point(v[0][0],v[0][1])))}!g||t&&Zn(t,p)||e.point(p[0],p[1]),t=p,u=g,l=m},lineEnd:function(){u&&e.lineEnd(),t=null},clean:function(){return c|(s&&u)<<1}}}),qr(e,6*De),n?[0,-e]:[-Te,e-Te]);function a(e,n){return Math.cos(e)*Math.cos(n)>t}function i(e,n,r){var a=[1,0,0],i=Bn(Fn(e),Fn(n)),o=Un(i,i),l=i[0],u=o-l*l;if(!u)return!r&&e;var s=t*o/u,c=-t*l/u,f=Bn(a,i),d=Vn(a,s);Hn(d,Vn(i,c));var h=f,p=Un(d,h),g=Un(h,h),m=p*p-g*(Un(d,d)-1);if(!(m<0)){var v=Math.sqrt(m),y=Vn(h,(-p-v)/g);if(Hn(y,d),y=Wn(y),!r)return y;var b,w=e[0],x=n[0],M=e[1],S=n[1];x0^y[1]<(k(y[0]-w)Te^(w<=y[0]&&y[0]<=x)){var C=Vn(h,(-p+v)/g);return Hn(C,d),[y,Wn(C)]}}}function o(t,r){var a=n?e:Te-e,i=0;return t<-a?i|=1:t>a&&(i|=2),r<-a?i|=4:r>a&&(i|=8),i}}((b=+e)*De),N()):b},x.clipExtent=function(e){return arguments.length?(w=e,y=e?fr(e[0][0],e[0][1],e[1][0],e[1][1]):z,N()):w},x.scale=function(e){return arguments.length?(s=+e,S()):s},x.translate=function(e){return arguments.length?(c=+e[0],f=+e[1],S()):[c,f]},x.center=function(e){return arguments.length?(d=e[0]%360*De,h=e[1]%360*De,S()):[d*ze,h*ze]},x.rotate=function(e){return arguments.length?(p=e[0]%360*De,g=e[1]%360*De,m=e.length>2?e[2]%360*De:0,S()):[p*ze,g*ze,m*ze]},i.rebind(x,u,"precision"),function(){return t=e.apply(this,arguments),x.invert=t.invert&&M,S()}}function Rr(e){return Dr(e,(function(t,n){e.point(t*De,n*De)}))}function Ir(e,t){return[e,t]}function Fr(e,t){return[e>Te?e-Ae:e<-Te?e+Ae:e,t]}function Ur(e,t,n){return e?t||n?Jn(Hr(e),Vr(t,n)):Hr(e):t||n?Vr(t,n):Fr}function Br(e){return function(t,n){return[(t+=e)>Te?t-Ae:t<-Te?t+Ae:t,n]}}function Hr(e){var t=Br(e);return t.invert=Br(-e),t}function Vr(e,t){var n=Math.cos(e),r=Math.sin(e),a=Math.cos(t),i=Math.sin(t);function o(e,t){var o=Math.cos(t),l=Math.cos(e)*o,u=Math.sin(e)*o,s=Math.sin(t),c=s*n+l*r;return[Math.atan2(u*a-c*i,l*n-s*r),Fe(c*a+u*i)]}return o.invert=function(e,t){var o=Math.cos(t),l=Math.cos(e)*o,u=Math.sin(e)*o,s=Math.sin(t),c=s*a-u*i;return[Math.atan2(u*a+s*i,l*n+c*r),Fe(c*n-l*r)]},o}function qr(e,t){var n=Math.cos(e),r=Math.sin(e);return function(a,i,o,l){var u=o*t;null!=a?(a=Wr(n,a),i=Wr(n,i),(o>0?ai)&&(a+=o*Ae)):(a=e+o*Ae,i=e-.5*u);for(var s,c=a;o>0?c>i:c2?e[2]*De:0),t.invert=function(t){return(t=e.invert(t[0]*De,t[1]*De))[0]*=ze,t[1]*=ze,t},t},Fr.invert=Ir,i.geo.circle=function(){var e,t,n=[0,0],r=6;function a(){var e="function"===typeof n?n.apply(this,arguments):n,r=Ur(-e[0]*De,-e[1]*De,0).invert,a=[];return t(null,null,1,{point:function(e,t){a.push(e=r(e,t)),e[0]*=ze,e[1]*=ze}}),{type:"Polygon",coordinates:[a]}}return a.origin=function(e){return arguments.length?(n=e,a):n},a.angle=function(n){return arguments.length?(t=qr((e=+n)*De,r*De),a):e},a.precision=function(n){return arguments.length?(t=qr(e*De,(r=+n)*De),a):r},a.angle(90)},i.geo.distance=function(e,t){var n,r=(t[0]-e[0])*De,a=e[1]*De,i=t[1]*De,o=Math.sin(r),l=Math.cos(r),u=Math.sin(a),s=Math.cos(a),c=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((n=f*o)*n+(n=s*c-u*f*l)*n),u*c+s*f*l)},i.geo.graticule=function(){var e,t,n,r,a,o,l,u,s,c,f,d,h=10,p=h,g=90,m=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:b()}}function b(){return i.range(Math.ceil(r/g)*g,n,g).map(f).concat(i.range(Math.ceil(u/m)*m,l,m).map(d)).concat(i.range(Math.ceil(t/h)*h,e,h).filter((function(e){return k(e%g)>Ee})).map(s)).concat(i.range(Math.ceil(o/p)*p,a,p).filter((function(e){return k(e%m)>Ee})).map(c))}return y.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},y.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(d(l).slice(1),f(n).reverse().slice(1),d(u).reverse().slice(1))]}},y.extent=function(e){return arguments.length?y.majorExtent(e).minorExtent(e):y.minorExtent()},y.majorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],u=+e[0][1],l=+e[1][1],r>n&&(e=r,r=n,n=e),u>l&&(e=u,u=l,l=e),y.precision(v)):[[r,u],[n,l]]},y.minorExtent=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],o=+n[0][1],a=+n[1][1],t>e&&(n=t,t=e,e=n),o>a&&(n=o,o=a,a=n),y.precision(v)):[[t,o],[e,a]]},y.step=function(e){return arguments.length?y.majorStep(e).minorStep(e):y.minorStep()},y.majorStep=function(e){return arguments.length?(g=+e[0],m=+e[1],y):[g,m]},y.minorStep=function(e){return arguments.length?(h=+e[0],p=+e[1],y):[h,p]},y.precision=function(i){return arguments.length?(v=+i,s=Zr(o,a,90),c=$r(t,e,v),f=Zr(u,l,90),d=$r(r,n,v),y):v},y.majorExtent([[-180,-90+Ee],[180,90-Ee]]).minorExtent([[-180,-80-Ee],[180,80+Ee]])},i.geo.greatArc=function(){var e,t,n=Yr,r=Qr;function a(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),t||r.apply(this,arguments)]}}return a.distance=function(){return i.geo.distance(e||n.apply(this,arguments),t||r.apply(this,arguments))},a.source=function(t){return arguments.length?(n=t,e="function"===typeof t?null:t,a):n},a.target=function(e){return arguments.length?(r=e,t="function"===typeof e?null:e,a):r},a.precision=function(){return arguments.length?a:0},a},i.geo.interpolate=function(e,t){return function(e,t,n,r){var a=Math.cos(t),i=Math.sin(t),o=Math.cos(r),l=Math.sin(r),u=a*Math.cos(e),s=a*Math.sin(e),c=o*Math.cos(n),f=o*Math.sin(n),d=2*Math.asin(Math.sqrt(Be(r-t)+a*o*Be(n-e))),h=1/Math.sin(d),p=d?function(e){var t=Math.sin(e*=d)*h,n=Math.sin(d-e)*h,r=n*u+t*c,a=n*s+t*f,o=n*i+t*l;return[Math.atan2(a,r)*ze,Math.atan2(o,Math.sqrt(r*r+a*a))*ze]}:function(){return[e*ze,t*ze]};return p.distance=d,p}(e[0]*De,e[1]*De,t[0]*De,t[1]*De)},i.geo.length=function(e){return Nr=0,i.geo.stream(e,Xr),Nr};var Xr={sphere:F,point:F,lineStart:function(){var e,t,n;function r(r,a){var i=Math.sin(a*=De),o=Math.cos(a),l=k((r*=De)-e),u=Math.cos(l);Nr+=Math.atan2(Math.sqrt((l=o*Math.sin(l))*l+(l=n*i-t*o*u)*l),t*i+n*o*u),e=r,t=i,n=o}Xr.point=function(a,i){e=a*De,t=Math.sin(i*=De),n=Math.cos(i),Xr.point=r},Xr.lineEnd=function(){Xr.point=Xr.lineEnd=F}},lineEnd:F,polygonStart:F,polygonEnd:F};function Gr(e,t){function n(t,n){var r=Math.cos(t),a=Math.cos(n),i=e(r*a);return[i*a*Math.sin(t),i*Math.sin(n)]}return n.invert=function(e,n){var r=Math.sqrt(e*e+n*n),a=t(r),i=Math.sin(a),o=Math.cos(a);return[Math.atan2(e*i,r*o),Math.asin(r&&n*i/r)]},n}var Kr=Gr((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(i.geo.azimuthalEqualArea=function(){return zr(Kr)}).raw=Kr;var Jr=Gr((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),z);function ea(e,t){var n=Math.cos(e),r=function(e){return Math.tan(Te/4+e/2)},a=e===t?Math.sin(e):Math.log(n/Math.cos(t))/Math.log(r(t)/r(e)),i=n*Math.pow(r(e),a)/a;if(!a)return ra;function o(e,t){i>0?t<-Pe+Ee&&(t=-Pe+Ee):t>Pe-Ee&&(t=Pe-Ee);var n=i/Math.pow(r(t),a);return[n*Math.sin(a*e),i-n*Math.cos(a*e)]}return o.invert=function(e,t){var n=i-t,r=Oe(a)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/a,2*Math.atan(Math.pow(i/r,1/a))-Pe]},o}function ta(e,t){var n=Math.cos(e),r=e===t?Math.sin(e):(n-Math.cos(t))/(t-e),a=n/r+e;if(k(r)1&&Re(e[n[r-2]],e[n[r-1]],e[a])<=0;)--r;n[r++]=a}return n.slice(0,r)}function fa(e,t){return e[0]-t[0]||e[1]-t[1]}(i.geo.stereographic=function(){return zr(oa)}).raw=oa,la.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Pe]},(i.geo.transverseMercator=function(){var e=aa(la),t=e.center,n=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90])}).raw=la,i.geom={},i.geom.hull=function(e){var t=ua,n=sa;if(arguments.length)return r(e);function r(e){if(e.length<3)return[];var r,a=xt(t),i=xt(n),o=e.length,l=[],u=[];for(r=0;r=0;--r)h.push(e[l[s[r]][2]]);for(r=+f;rEe)l=l.L;else{if(!((a=i-ja(l,o))>Ee)){r>-Ee?(t=l.P,n=l):a>-Ee?(t=l,n=l.N):t=n=l;break}if(!l.R){t=l;break}l=l.R}var u=Sa(e);if(ya.insert(t,u),t||n){if(t===n)return Da(t),n=Sa(t.site),ya.insert(u,n),u.edge=n.edge=Ra(t.site,u.site),Pa(t),void Pa(n);if(n){Da(t),Da(n);var s=t.site,c=s.x,f=s.y,d=e.x-c,h=e.y-f,p=n.site,g=p.x-c,m=p.y-f,v=2*(d*m-h*g),y=d*d+h*h,b=g*g+m*m,w={x:(m*y-h*b)/v+c,y:(d*b-g*y)/v+f};Fa(n.edge,s,p,w),u.edge=Ra(s,e,null,w),n.edge=Ra(e,p,null,w),Pa(t),Pa(n)}else u.edge=Ra(t.site,u.site)}}function Ea(e,t){var n=e.site,r=n.x,a=n.y,i=a-t;if(!i)return r;var o=e.P;if(!o)return-1/0;var l=(n=o.site).x,u=n.y,s=u-t;if(!s)return l;var c=l-r,f=1/i-1/s,d=c/s;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*s)-u+s/2+a-i/2)))/f+r:(r+l)/2}function ja(e,t){var n=e.N;if(n)return Ea(n,t);var r=e.site;return r.y===t?r.x:1/0}function Ta(e){this.site=e,this.edges=[]}function Aa(e,t){return t.angle-e.angle}function La(){Ha(this),this.x=this.y=this.arc=this.site=this.cy=null}function Pa(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,a=e.site,i=n.site;if(r!==i){var o=a.x,l=a.y,u=r.x-o,s=r.y-l,c=i.x-o,f=2*(u*(m=i.y-l)-s*c);if(!(f>=-je)){var d=u*u+s*s,h=c*c+m*m,p=(m*d-s*h)/f,g=(u*h-c*d)/f,m=g+l,v=ka.pop()||new La;v.arc=e,v.site=a,v.x=p+o,v.y=m+Math.sqrt(p*p+g*g),v.cy=m,e.circle=v;for(var y=null,b=wa._;b;)if(v.y=l)return;if(d>p){if(i){if(i.y>=s)return}else i={x:m,y:u};n={x:m,y:s}}else{if(i){if(i.y1)if(d>p){if(i){if(i.y>=s)return}else i={x:(u-a)/r,y:u};n={x:(s-a)/r,y:s}}else{if(i){if(i.y=l)return}else i={x:o,y:r*o+a};n={x:l,y:r*l+a}}else{if(i){if(i.xEe||k(a-n)>Ee)&&(l.splice(o,0,new Ua(Ia(i.site,c,k(r-f)Ee?{x:f,y:k(t-f)Ee?{x:k(n-p)Ee?{x:d,y:k(t-d)Ee?{x:k(n-h)=n&&s.x<=a&&s.y>=r&&s.y<=o?[[n,o],[a,o],[a,r],[n,r]]:[]).point=e[l]})),t}function l(e){return e.map((function(e,t){return{x:Math.round(r(e,t)/Ee)*Ee,y:Math.round(a(e,t)/Ee)*Ee,i:t}}))}return o.links=function(e){return Za(l(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return Za(l(e)).cells.forEach((function(n,r){for(var a,i,o,l,u=n.site,s=n.edges.sort(Aa),c=-1,f=s.length,d=s[f-1].edge,h=d.l===u?d.r:d.l;++ci&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(n=n[0])===(r=r[0])?l[o]?l[o]+=r:l[++o]=r:(l[++o]=null,u.push({i:o,x:ei(n,r)})),i=ri.lastIndex;return ig&&(g=u.x),u.y>m&&(m=u.y),s.push(u.x),c.push(u.y);else for(f=0;fg&&(g=b),w>m&&(m=w),s.push(b),c.push(w)}var x=g-h,M=m-p;function S(e,t,n,r,a,i,o,l){if(!isNaN(n)&&!isNaN(r))if(e.leaf){var u=e.x,s=e.y;if(null!=u)if(k(u-n)+k(s-r)<.01)N(e,t,n,r,a,i,o,l);else{var c=e.point;e.x=e.y=e.point=null,N(e,c,u,s,a,i,o,l),N(e,t,n,r,a,i,o,l)}else e.x=n,e.y=r,e.point=t}else N(e,t,n,r,a,i,o,l)}function N(e,t,n,r,a,i,o,l){var u=.5*(a+o),s=.5*(i+l),c=n>=u,f=r>=s,d=f<<1|c;e.leaf=!1,c?a=u:o=u,f?i=s:l=s,S(e=e.nodes[d]||(e.nodes[d]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,n,r,a,i,o,l)}x>M?m=p+x:g=h+M;var _={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){S(_,e,+v(e,++f),+y(e,f),h,p,g,m)}};if(_.visit=function(e){Ga(e,_,h,p,g,m)},_.find=function(e){return function(e,t,n,r,a,i,o){var l,u=1/0;return function e(s,c,f,d,h){if(!(c>i||f>o||d=x)<<1|t>=w,M=k+4;k=0&&!(n=i.interpolators[r](e,t)););return n}function ii(e,t){var n,r=[],a=[],i=e.length,o=t.length,l=Math.min(e.length,t.length);for(n=0;n=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function pi(e){return 1-Math.cos(e*Pe)}function gi(e){return Math.pow(2,10*(e-1))}function mi(e){return 1-Math.sqrt(1-e*e)}function vi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function yi(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function bi(e){var t=[e.a,e.b],n=[e.c,e.d],r=xi(t),a=wi(t,n),i=xi(function(e,t,n){return e[0]+=n*t[0],e[1]+=n*t[1],e}(n,t,-a))||0;t[0]*n[1]=0?e.slice(0,t):e,r=t>=0?e.slice(t+1):"in";return n=li.get(n)||oi,function(e){return function(t){return t<=0?0:t>=1?1:e(t)}}((r=ui.get(r)||z)(n.apply(null,o.call(arguments,1))))},i.interpolateHcl=function(e,t){e=i.hcl(e),t=i.hcl(t);var n=e.h,r=e.c,a=e.l,o=t.h-n,l=t.c-r,u=t.l-a;isNaN(l)&&(l=0,r=isNaN(r)?t.c:r);isNaN(o)?(o=0,n=isNaN(n)?t.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return Ke(n+o*e,r+l*e,a+u*e)+""}},i.interpolateHsl=function(e,t){e=i.hsl(e),t=i.hsl(t);var n=e.h,r=e.s,a=e.l,o=t.h-n,l=t.s-r,u=t.l-a;isNaN(l)&&(l=0,r=isNaN(r)?t.s:r);isNaN(o)?(o=0,n=isNaN(n)?t.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return Qe(n+o*e,r+l*e,a+u*e)+""}},i.interpolateLab=function(e,t){e=i.lab(e),t=i.lab(t);var n=e.l,r=e.a,a=e.b,o=t.l-n,l=t.a-r,u=t.b-a;return function(e){return it(n+o*e,r+l*e,a+u*e)+""}},i.interpolateRound=yi,i.transform=function(e){var t=u.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(e){if(null!=e){t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new bi(n?n.matrix:ki)})(e)},bi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var ki={a:1,b:0,c:0,d:1,e:0,f:0};function Mi(e){return e.length?e.pop()+",":""}function Si(e,t){var n=[],r=[];return e=i.transform(e),t=i.transform(t),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var a=n.push("translate(",null,",",null,")");r.push({i:a-4,x:ei(e[0],t[0])},{i:a-2,x:ei(e[1],t[1])})}else(t[0]||t[1])&&n.push("translate("+t+")")}(e.translate,t.translate,n,r),function(e,t,n,r){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(Mi(n)+"rotate(",null,")")-2,x:ei(e,t)})):t&&n.push(Mi(n)+"rotate("+t+")")}(e.rotate,t.rotate,n,r),function(e,t,n,r){e!==t?r.push({i:n.push(Mi(n)+"skewX(",null,")")-2,x:ei(e,t)}):t&&n.push(Mi(n)+"skewX("+t+")")}(e.skew,t.skew,n,r),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var a=n.push(Mi(n)+"scale(",null,",",null,")");r.push({i:a-4,x:ei(e[0],t[0])},{i:a-2,x:ei(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(Mi(n)+"scale("+t+")")}(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,a=-1,i=r.length;++a0?n=t:(e.c=null,e.t=NaN,e=null,u.end({type:"end",alpha:n=0})):t>0&&(u.start({type:"start",alpha:n=t}),e=jt(l.tick)),l):n},l.start=function(){var e,t,n,i=v.length,u=y.length,c=s[0],p=s[1];for(e=0;e=0;)n.push(a[r])}function Fi(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o=0;)o.push(c=s[u]),c.parent=i,c.depth=i.depth+1;n&&(i.value=0),i.children=s}else n&&(i.value=+n.call(r,i,i.depth)||0),delete i.children;return Fi(a,(function(t){var r,a;e&&(r=t.children)&&r.sort(e),n&&(a=t.parent)&&(a.value+=t.value)})),l}return r.sort=function(t){return arguments.length?(e=t,r):e},r.children=function(e){return arguments.length?(t=e,r):t},r.value=function(e){return arguments.length?(n=e,r):n},r.revalue=function(e){return n&&(Ii(e,(function(e){e.children&&(e.value=0)})),Fi(e,(function(e){var t;e.children||(e.value=+n.call(r,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},r},i.layout.partition=function(){var e=i.layout.hierarchy(),t=[1,1];function n(e,t,r,a){var i=e.children;if(e.x=t,e.y=e.depth*a,e.dx=r,e.dy=a,i&&(o=i.length)){var o,l,u,s=-1;for(r=e.value?r/e.value:0;++sl&&(l=r),o.push(r)}for(n=0;na&&(r=n,a=t);return r}function Ji(e){return e.reduce(eo,0)}function eo(e,t){return e+t[1]}function to(e,t){return no(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function no(e,t){for(var n=-1,r=+e[0],a=(e[1]-r)/t,i=[];++n<=t;)i[n]=a*n+r;return i}function ro(e){return[i.min(e),i.max(e)]}function ao(e,t){return e.value-t.value}function io(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function oo(e,t){e._pack_next=t,t._pack_prev=e}function lo(e,t){var n=t.x-e.x,r=t.y-e.y,a=e.r+t.r;return.999*a*a>n*n+r*r}function uo(e){if((t=e.children)&&(u=t.length)){var t,n,r,a,i,o,l,u,s=1/0,c=-1/0,f=1/0,d=-1/0;if(t.forEach(so),(n=t[0]).x=-n.r,n.y=0,b(n),u>1&&((r=t[1]).x=r.r,r.y=0,b(r),u>2))for(ho(n,r,a=t[2]),b(a),io(n,a),n._pack_prev=a,io(a,r),r=n._pack_next,i=3;i0)for(o=-1;++o=f[0]&&u<=f[1]&&((l=s[i.bisect(d,u,1,p)-1]).y+=g,l.push(a[o]));return s}return a.value=function(e){return arguments.length?(t=e,a):t},a.range=function(e){return arguments.length?(n=xt(e),a):n},a.bins=function(e){return arguments.length?(r="number"===typeof e?function(t){return no(t,e)}:xt(e),a):r},a.frequency=function(t){return arguments.length?(e=!!t,a):e},a},i.layout.pack=function(){var e,t=i.layout.hierarchy().sort(ao),n=0,r=[1,1];function a(a,i){var o=t.call(this,a,i),l=o[0],u=r[0],s=r[1],c=null==e?Math.sqrt:"function"===typeof e?e:function(){return e};if(l.x=l.y=0,Fi(l,(function(e){e.r=+c(e.value)})),Fi(l,uo),n){var f=n*(e?1:Math.max(2*l.r/u,2*l.r/s))/2;Fi(l,(function(e){e.r+=f})),Fi(l,uo),Fi(l,(function(e){e.r-=f}))}return fo(l,u/2,s/2,e?1:1/Math.max(2*l.r/u,2*l.r/s)),o}return a.size=function(e){return arguments.length?(r=e,a):r},a.radius=function(t){return arguments.length?(e=null==t||"function"===typeof t?t:+t,a):e},a.padding=function(e){return arguments.length?(n=+e,a):n},Ri(a,t)},i.layout.tree=function(){var e=i.layout.hierarchy().sort(null).value(null),t=po,n=[1,1],r=null;function a(a,i){var s=e.call(this,a,i),c=s[0],f=function(e){var t,n={A:null,children:[e]},r=[n];for(;null!=(t=r.pop());)for(var a,i=t.children,o=0,l=i.length;oh.x&&(h=e),e.depth>p.depth&&(p=e)}));var g=t(d,h)/2-d.x,m=n[0]/(h.x+t(h,d)/2+g),v=n[1]/(p.depth||1);Ii(c,(function(e){e.x=(e.x+g)*m,e.y=e.depth*v}))}return s}function o(e){var n=e.children,r=e.parent.children,a=e.i?r[e.i-1]:null;if(n.length){!function(e){var t,n=0,r=0,a=e.children,i=a.length;for(;--i>=0;)(t=a[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(e);var i=(n[0].z+n[n.length-1].z)/2;a?(e.z=a.z+t(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+t(e._,a._));e.parent.A=function(e,n,r){if(n){for(var a,i=e,o=e,l=n,u=i.parent.children[0],s=i.m,c=o.m,f=l.m,d=u.m;l=mo(l),i=go(i),l&&i;)u=go(u),(o=mo(o)).a=e,(a=l.z+f-i.z-s+t(l._,i._))>0&&(vo(yo(l,e,r),e,a),s+=a,c+=a),f+=l.m,s+=i.m,d+=u.m,c+=o.m;l&&!mo(o)&&(o.t=l,o.m+=f-c),i&&!go(u)&&(u.t=i,u.m+=s-d,r=e)}return r}(e,a,e.parent.A||r[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function u(e){e.x*=n[0],e.y=e.depth*n[1]}return a.separation=function(e){return arguments.length?(t=e,a):t},a.size=function(e){return arguments.length?(r=null==(n=e)?u:null,a):r?null:n},a.nodeSize=function(e){return arguments.length?(r=null==(n=e)?null:u,a):r?n:null},Ri(a,e)},i.layout.cluster=function(){var e=i.layout.hierarchy().sort(null).value(null),t=po,n=[1,1],r=!1;function a(a,o){var l,u=e.call(this,a,o),s=u[0],c=0;Fi(s,(function(e){var n=e.children;n&&n.length?(e.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(n),e.y=function(e){return 1+i.max(e,(function(e){return e.y}))}(n)):(e.x=l?c+=t(e,l):0,e.y=0,l=e)}));var f=bo(s),d=wo(s),h=f.x-t(f,d)/2,p=d.x+t(d,f)/2;return Fi(s,r?function(e){e.x=(e.x-s.x)*n[0],e.y=(s.y-e.y)*n[1]}:function(e){e.x=(e.x-h)/(p-h)*n[0],e.y=(1-(s.y?e.y/s.y:1))*n[1]}),u}return a.separation=function(e){return arguments.length?(t=e,a):t},a.size=function(e){return arguments.length?(r=null==(n=e),a):r?null:n},a.nodeSize=function(e){return arguments.length?(r=null!=(n=e),a):r?n:null},Ri(a,e)},i.layout.treemap=function(){var e,t=i.layout.hierarchy(),n=Math.round,r=[1,1],a=null,o=xo,l=!1,u="squarify",s=.5*(1+Math.sqrt(5));function c(e,t){for(var n,r,a=-1,i=e.length;++a0;)l.push(n=s[a-1]),l.area+=n.area,"squarify"!==u||(r=h(l,g))<=d?(s.pop(),d=r):(l.area-=l.pop().area,p(l,g,i,!1),g=Math.min(i.dx,i.dy),l.length=l.area=0,d=1/0);l.length&&(p(l,g,i,!0),l.length=l.area=0),t.forEach(f)}}function d(e){var t=e.children;if(t&&t.length){var n,r=o(e),a=t.slice(),i=[];for(c(a,r.dx*r.dy/e.value),i.area=0;n=a.pop();)i.push(n),i.area+=n.area,null!=n.z&&(p(i,n.z?r.dx:r.dy,r,!a.length),i.length=i.area=0);t.forEach(d)}}function h(e,t){for(var n,r=e.area,a=0,i=1/0,o=-1,l=e.length;++oa&&(a=n));return t*=t,(r*=r)?Math.max(t*a*s/r,r/(t*i*s)):1/0}function p(e,t,r,a){var i,o=-1,l=e.length,u=r.x,s=r.y,c=t?n(e.area/t):0;if(t==r.dx){for((a||c>r.dy)&&(c=r.dy);++or.dx)&&(c=r.dx);++o1);return e+t*n*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var e=i.random.normal.apply(i,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=i.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;n2?jo:No,u=r?_i:Ni;return a=o(e,t,u,n),i=o(t,e,u,ai),l}function l(e){return a(e)}return l.invert=function(e){return i(e)},l.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},l.range=function(e){return arguments.length?(t=e,o()):t},l.rangeRound=function(e){return l.range(e).interpolate(yi)},l.clamp=function(e){return arguments.length?(r=e,o()):r},l.interpolate=function(e){return arguments.length?(n=e,o()):n},l.ticks=function(t){return Do(e,t)},l.tickFormat=function(t,n){return zo(e,t,n)},l.nice=function(t){return Lo(e,t),o()},l.copy=function(){return To(e,t,n,r)},o()}function Ao(e,t){return i.rebind(e,t,"range","rangeRound","interpolate","clamp")}function Lo(e,t){return _o(e,Co(Po(e,t)[2])),_o(e,Co(Po(e,t)[2])),e}function Po(e,t){null==t&&(t=10);var n=Mo(e),r=n[1]-n[0],a=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),n[0]=Math.ceil(n[0]/a)*a,n[1]=Math.floor(n[1]/a)*a+.5*a,n[2]=a,n}function Do(e,t){return i.range.apply(i,Po(e,t))}function zo(e,t,n){var r=Po(e,t);if(n){var a=Ot.exec(n);if(a.shift(),"s"===a[8]){var o=i.formatPrefix(Math.max(k(r[0]),k(r[1])));return a[7]||(a[7]="."+Ro(o.scale(r[2]))),a[8]="f",n=i.format(a.join("")),function(e){return n(o.scale(e))+o.symbol}}a[7]||(a[7]="."+function(e,t){var n=Ro(t[2]);return e in Oo?Math.abs(n-Ro(Math.max(k(t[0]),k(t[1]))))+ +("e"!==e):n-2*("%"===e)}(a[8],r)),n=a.join("")}else n=",."+Ro(r[2])+"f";return i.format(n)}i.scale.linear=function(){return To([0,1],[0,1],ai,!1)};var Oo={s:1,g:1,p:1,r:1,e:1};function Ro(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function Io(e,t,n,r){function a(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(t)}function o(e){return n?Math.pow(t,e):-Math.pow(t,-e)}function l(t){return e(a(t))}return l.invert=function(t){return o(e.invert(t))},l.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((r=t.map(Number)).map(a)),l):r},l.base=function(n){return arguments.length?(t=+n,e.domain(r.map(a)),l):t},l.nice=function(){var t=_o(r.map(a),n?Math:Uo);return e.domain(t),r=t.map(o),l},l.ticks=function(){var e=Mo(r),i=[],l=e[0],u=e[1],s=Math.floor(a(l)),c=Math.ceil(a(u)),f=t%1?2:t;if(isFinite(c-s)){if(n){for(;s0;d--)i.push(o(s)*d);for(s=0;i[s]u;c--);i=i.slice(s,c)}return i},l.tickFormat=function(e,n){if(!arguments.length)return Fo;arguments.length<2?n=Fo:"function"!==typeof n&&(n=i.format(n));var r=Math.max(1,t*e/l.ticks().length);return function(e){var i=e/o(Math.round(a(e)));return i*t0?n[r-1]:e[0],rf?0:1;if(s=Le)return u(s,h)+(l?u(l,1-h):"")+"Z";var p,g,m,v,y,b,w,x,k,M,S,N,_=0,C=0,E=[];if((v=(+o.apply(this,arguments)||0)/2)&&(m=r===Jo?Math.sqrt(l*l+s*s):+r.apply(this,arguments),h||(C*=-1),s&&(C=Fe(m/s*Math.sin(v))),l&&(_=Fe(m/l*Math.sin(v)))),s){y=s*Math.cos(c+C),b=s*Math.sin(c+C),w=s*Math.cos(f-C),x=s*Math.sin(f-C);var j=Math.abs(f-c-2*C)<=Te?0:1;if(C&&il(y,b,w,x)===h^j){var T=(c+f)/2;y=s*Math.cos(T),b=s*Math.sin(T),w=x=null}}else y=b=0;if(l){k=l*Math.cos(f-_),M=l*Math.sin(f-_),S=l*Math.cos(c+_),N=l*Math.sin(c+_);var A=Math.abs(c-f+2*_)<=Te?0:1;if(_&&il(k,M,S,N)===1-h^A){var L=(c+f)/2;k=l*Math.cos(L),M=l*Math.sin(L),S=N=null}}else k=M=0;if(d>Ee&&(p=Math.min(Math.abs(s-l)/2,+n.apply(this,arguments)))>.001){g=l0?0:1}function ol(e,t,n,r,a){var i=e[0]-t[0],o=e[1]-t[1],l=(a?r:-r)/Math.sqrt(i*i+o*o),u=l*o,s=-l*i,c=e[0]+u,f=e[1]+s,d=t[0]+u,h=t[1]+s,p=(c+d)/2,g=(f+h)/2,m=d-c,v=h-f,y=m*m+v*v,b=n-r,w=c*h-d*f,x=(v<0?-1:1)*Math.sqrt(Math.max(0,b*b*y-w*w)),k=(w*v-m*x)/y,M=(-w*m-v*x)/y,S=(w*v+m*x)/y,N=(-w*m+v*x)/y,_=k-p,C=M-g,E=S-p,j=N-g;return _*_+C*C>E*E+j*j&&(k=S,M=N),[[k-u,M-s],[k*n/b,M*n/b]]}function ll(e){var t=ua,n=sa,r=er,a=sl,i=a.key,o=.7;function l(i){var l,u=[],s=[],c=-1,f=i.length,d=xt(t),h=xt(n);function p(){u.push("M",a(e(s),o))}for(;++c1&&a.push("H",r[0]);return a.join("")},"step-before":fl,"step-after":dl,basis:gl,"basis-open":function(e){if(e.length<4)return sl(e);var t,n=[],r=-1,a=e.length,i=[0],o=[0];for(;++r<3;)t=e[r],i.push(t[0]),o.push(t[1]);n.push(ml(bl,i)+","+ml(bl,o)),--r;for(;++r9&&(a=3*t/Math.sqrt(a),o[l]=a*n,o[l+1]=a*r);l=-1;for(;++l<=u;)a=(e[Math.min(u,l+1)][0]-e[Math.max(0,l-1)][0])/(6*(1+o[l]*o[l])),i.push([a||0,o[l]*a||0]);return i}(e))}});function sl(e){return e.length>1?e.join("L"):e+"Z"}function cl(e){return e.join("L")+"Z"}function fl(e){for(var t=0,n=e.length,r=e[0],a=[r[0],",",r[1]];++t1){l=t[1],i=e[u],u++,r+="C"+(a[0]+o[0])+","+(a[1]+o[1])+","+(i[0]-l[0])+","+(i[1]-l[1])+","+i[0]+","+i[1];for(var s=2;sTe)+",1 "+t}function u(e,t,n,r){return"Q 0,0 "+r}return i.radius=function(e){return arguments.length?(n=xt(e),i):n},i.source=function(t){return arguments.length?(e=xt(t),i):e},i.target=function(e){return arguments.length?(t=xt(e),i):t},i.startAngle=function(e){return arguments.length?(r=xt(e),i):r},i.endAngle=function(e){return arguments.length?(a=xt(e),i):a},i},i.svg.diagonal=function(){var e=Yr,t=Qr,n=Nl;function r(r,a){var i=e.call(this,r,a),o=t.call(this,r,a),l=(i.y+o.y)/2,u=[i,{x:i.x,y:l},{x:o.x,y:l},o];return"M"+(u=u.map(n))[0]+"C"+u[1]+" "+u[2]+" "+u[3]}return r.source=function(t){return arguments.length?(e=xt(t),r):e},r.target=function(e){return arguments.length?(t=xt(e),r):t},r.projection=function(e){return arguments.length?(n=e,r):n},r},i.svg.diagonal.radial=function(){var e=i.svg.diagonal(),t=Nl,n=e.projection;return e.projection=function(e){return arguments.length?n(function(e){return function(){var t=e.apply(this,arguments),n=t[0],r=t[1]-Pe;return[n*Math.cos(r),n*Math.sin(r)]}}(t=e)):t},e},i.svg.symbol=function(){var e=Cl,t=_l;function n(n,r){return(jl.get(e.call(this,n,r))||El)(t.call(this,n,r))}return n.type=function(t){return arguments.length?(e=xt(t),n):e},n.size=function(e){return arguments.length?(t=xt(e),n):t},n};var jl=i.map({circle:El,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Al)),n=t*Al;return"M0,"+-t+"L"+n+",0 0,"+t+" "+-n+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Tl),n=t*Tl/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Tl),n=t*Tl/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});i.svg.symbolTypes=jl.keys();var Tl=Math.sqrt(3),Al=Math.tan(30*De);G.transition=function(e){for(var t,n,r=zl||++Il,a=Bl(e),i=[],o=Ol||{time:Date.now(),ease:hi,delay:0,duration:250},l=-1,u=this.length;++l0;)s[--d].call(e,o);if(i>=1)return f.event&&f.event.end.call(e,e.__data__,t),--c.count?delete c[r]:delete e[n],1}f||(i=a.time,o=jt((function(e){var t=f.delay;if(o.t=t+i,t<=e)return d(e-t);o.c=d}),0,i),f=c[r]={tween:new S,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++c.count)}Rl.call=G.call,Rl.empty=G.empty,Rl.node=G.node,Rl.size=G.size,i.transition=function(e,t){return e&&e.transition?zl?e.transition(t):e:i.selection().transition(e)},i.transition.prototype=Rl,Rl.select=function(e){var t,n,r,a=this.id,i=this.namespace,o=[];e=K(e);for(var l=-1,u=this.length;++lrect,.s>rect").attr("width",o[1]-o[0])}function g(e){e.select(".extent").attr("y",l[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",l[1]-l[0])}function m(){var f,m,v=this,y=i.select(i.event.target),b=n.of(v,arguments),w=i.select(v),x=y.datum(),k=!/^(n|s)$/.test(x)&&r,M=!/^(e|w)$/.test(x)&&a,S=y.classed("extent"),N=Se(v),_=i.mouse(v),C=i.select(c(v)).on("keydown.brush",(function(){32==i.event.keyCode&&(S||(f=null,_[0]-=o[1],_[1]-=l[1],S=2),H())})).on("keyup.brush",(function(){32==i.event.keyCode&&2==S&&(_[0]+=o[1],_[1]+=l[1],S=0,H())}));if(i.event.changedTouches?C.on("touchmove.brush",T).on("touchend.brush",L):C.on("mousemove.brush",T).on("mouseup.brush",L),w.interrupt().selectAll("*").interrupt(),S)_[0]=o[0]-_[0],_[1]=l[0]-_[1];else if(x){var E=+/w$/.test(x),j=+/^n/.test(x);m=[o[1-E]-_[0],l[1-j]-_[1]],_[0]=o[E],_[1]=l[j]}else i.event.altKey&&(f=_.slice());function T(){var e=i.mouse(v),t=!1;m&&(e[0]+=m[0],e[1]+=m[1]),S||(i.event.altKey?(f||(f=[(o[0]+o[1])/2,(l[0]+l[1])/2]),_[0]=o[+(e[0]1?{floor:function(t){for(;l(t=e.floor(t));)t=eu(t-1);return t},ceil:function(t){for(;l(t=e.ceil(t));)t=eu(+t+1);return t}}:e))},r.ticks=function(e,t){var n=Mo(r.domain()),i=null==e?a(n,10):"number"===typeof e?a(n,e):!e.range&&[{range:e},t];return i&&(e=i[0],t=i[1]),e.range(n[0],eu(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return Jl(e.copy(),t,n)},Ao(r,e)}function eu(e){return new Date(e)}Ql.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Kl:Gl,Kl.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Kl.toString=Gl.toString,Ft.second=Vt((function(e){return new Ut(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Ft.seconds=Ft.second.range,Ft.seconds.utc=Ft.second.utc.range,Ft.minute=Vt((function(e){return new Ut(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Ft.minutes=Ft.minute.range,Ft.minutes.utc=Ft.minute.utc.range,Ft.hour=Vt((function(e){var t=e.getTimezoneOffset()/60;return new Ut(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Ft.hours=Ft.hour.range,Ft.hours.utc=Ft.hour.utc.range,Ft.month=Vt((function(e){return(e=Ft.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Ft.months=Ft.month.range,Ft.months.utc=Ft.month.utc.range;var tu=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],nu=[[Ft.second,1],[Ft.second,5],[Ft.second,15],[Ft.second,30],[Ft.minute,1],[Ft.minute,5],[Ft.minute,15],[Ft.minute,30],[Ft.hour,1],[Ft.hour,3],[Ft.hour,6],[Ft.hour,12],[Ft.day,1],[Ft.day,2],[Ft.week,1],[Ft.month,1],[Ft.month,3],[Ft.year,1]],ru=Ql.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",er]]),au={range:function(e,t,n){return i.range(Math.ceil(e/n)*n,+t,n).map(eu)},floor:z,ceil:z};nu.year=Ft.year,Ft.scale=function(){return Jl(i.scale.linear(),nu,ru)};var iu=nu.map((function(e){return[e[0].utc,e[1]]})),ou=Xl.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",er]]);function lu(e){return JSON.parse(e.responseText)}function uu(e){var t=u.createRange();return t.selectNode(u.body),t.createContextualFragment(e.responseText)}iu.year=Ft.year.utc,Ft.scale.utc=function(){return Jl(i.scale.linear(),iu,ou)},i.text=kt((function(e){return e.responseText})),i.json=function(e,t){return Mt(e,"application/json",lu,t)},i.html=function(e,t){return Mt(e,"text/html",uu,t)},i.xml=kt((function(e){return e.responseXML})),this.d3=i,void 0===(a="function"===typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=a)}()},738:(e,t,n)=>{"use strict";var r,a=n(43),i=(r=a)&&"object"===typeof r&&"default"in r?r.default:r,o=n(751),l=new o,u=l.getBrowser(),s=l.getCPU(),c=l.getDevice(),f=l.getEngine(),d=l.getOS(),h=l.getUA(),p=function(e){return l.setUA(e)},g=function(e){if(e){var t=new o(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}}console.error("No userAgent string was provided")},m=Object.freeze({ClientUAInstance:l,browser:u,cpu:s,device:c,engine:f,os:d,ua:h,setUa:p,parseUserAgent:g});function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){return y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function b(e,t){for(var n=0;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(u){l=!0,a=u}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"none")},F=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},U=function(e){var t=F();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},B=function(e,t,n,r){return function(e){for(var t=1;t1)&&!window.MSStream},Ne=function(){return U("iPad")},_e=function(){return U("iPhone")},Ce=function(){return U("iPod")},Ee=function(e){return I(e)};function je(e){var t=e||m,n=t.device,r=t.browser,a=t.os,i=t.engine,o=t.ua;return{isSmartTV:W(n),isConsole:Y(n),isWearable:$(n),isEmbedded:Q(n),isMobileSafari:de(r)||Ne(),isChromium:ue(r),isMobile:q(n)||Ne(),isMobileOnly:H(n),isTablet:V(n)||Ne(),isBrowser:Z(n),isDesktop:Z(n),isAndroid:J(a),isWinPhone:ne(a),isIOS:re(a)||Ne(),isChrome:oe(r),isFirefox:le(r),isSafari:fe(r),isOpera:he(r),isIE:pe(r),osVersion:ae(a),osName:ie(a),fullBrowserVersion:ve(r),browserVersion:ye(r),browserName:be(r),mobileVendor:X(n),mobileModel:G(n),engineName:we(i),engineVersion:xe(i),getUA:Ee(o),isEdge:se(r)||Me(o),isYandex:ce(r),deviceType:K(n),isIOS13:Se(),isIPad13:Ne(),isIPhone13:_e(),isIPod13:Ce(),isElectron:ke(),isEdgeChromium:Me(o),isLegacyEdge:se(r)&&!Me(o),isWindows:ee(a),isMacOs:te(a),isMIUI:ge(r),isSamsungBrowser:me(r)}}var Te=W(c),Ae=Y(c),Le=$(c),Pe=Q(c),De=de(u)||Ne(),ze=ue(u),Oe=q(c)||Ne(),Re=H(c),Ie=V(c)||Ne(),Fe=Z(c),Ue=Z(c),Be=J(d),He=ne(d),Ve=re(d)||Ne(),qe=oe(u),We=le(u),Ze=fe(u),$e=he(u),Ye=pe(u),Qe=ae(d),Xe=ie(d),Ge=ve(u),Ke=ye(u),Je=be(u),et=X(c),tt=G(c),nt=we(f),rt=xe(f),at=Ee(h),it=se(u)||Me(h),ot=ce(u),lt=K(c),ut=Se(),st=Ne(),ct=_e(),ft=Ce(),dt=ke(),ht=Me(h),pt=se(u)&&!Me(h),gt=ee(d),mt=te(d),vt=ge(u),yt=me(u);function bt(e){var t=e||window.navigator.userAgent;return g(t)}},730:(e,t,n)=>{"use strict";var r=n(43),a=n(853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n