(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"1sa7":function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"7DDg":function(t,n,e){"use strict";if(e("nh4g")){var r=e("LQAc"),i=e("dyZX"),o=e("eeVq"),u=e("XKFU"),a=e("D4iV"),c=e("7Qtz"),f=e("m0Pp"),s=e("9gX7"),l=e("RjD/"),h=e("Mukb"),d=e("3Lyj"),p=e("RYi7"),v=e("ne8i"),y=e("Cfrj"),g=e("d/Gc"),_=e("apmT"),m=e("aagx"),b=e("I8a+"),w=e("0/R4"),x=e("S/j/"),M=e("M6Qj"),S=e("Kuth"),k=e("OP3Y"),T=e("kJMx").f,N=e("J+6e"),D=e("ylqs"),A=e("K0xU"),E=e("CkkT"),C=e("w2a5"),Y=e("69bn"),O=e("yt8O"),P=e("hPIQ"),R=e("XMVh"),U=e("elZq"),L=e("Nr18"),F=e("upKx"),z=e("hswa"),I=e("EemH"),H=z.f,V=I.f,q=i.RangeError,W=i.TypeError,j=i.Uint8Array,B=Array.prototype,G=c.ArrayBuffer,X=c.DataView,Z=E(0),$=E(2),K=E(3),J=E(4),Q=E(5),tt=E(6),nt=C(!0),et=C(!1),rt=O.values,it=O.keys,ot=O.entries,ut=B.lastIndexOf,at=B.reduce,ct=B.reduceRight,ft=B.join,st=B.sort,lt=B.slice,ht=B.toString,dt=B.toLocaleString,pt=A("iterator"),vt=A("toStringTag"),yt=D("typed_constructor"),gt=D("def_constructor"),_t=a.CONSTR,mt=a.TYPED,bt=a.VIEW,wt=E(1,(function(t,n){return Tt(Y(t,t[gt]),n)})),xt=o((function(){return 1===new j(new Uint16Array([1]).buffer)[0]})),Mt=!!j&&!!j.prototype.set&&o((function(){new j(1).set({})})),St=function(t,n){var e=p(t);if(e<0||e%n)throw q("Wrong offset!");return e},kt=function(t){if(w(t)&&mt in t)return t;throw W(t+" is not a typed array!")},Tt=function(t,n){if(!(w(t)&&yt in t))throw W("It is not a typed array constructor!");return new t(n)},Nt=function(t,n){return Dt(Y(t,t[gt]),n)},Dt=function(t,n){for(var e=0,r=n.length,i=Tt(t,r);r>e;)i[e]=n[e++];return i},At=function(t,n,e){H(t,n,{get:function(){return this._d[e]}})},Et=function(t){var n,e,r,i,o,u,a=x(t),c=arguments.length,s=c>1?arguments[1]:void 0,l=void 0!==s,h=N(a);if(null!=h&&!M(h)){for(u=h.call(a),r=[],n=0;!(o=u.next()).done;n++)r.push(o.value);a=r}for(l&&c>2&&(s=f(s,arguments[2],2)),n=0,e=v(a.length),i=Tt(this,e);e>n;n++)i[n]=l?s(a[n],n):a[n];return i},Ct=function(){for(var t=0,n=arguments.length,e=Tt(this,n);n>t;)e[t]=arguments[t++];return e},Yt=!!j&&o((function(){dt.call(new j(1))})),Ot=function(){return dt.apply(Yt?lt.call(kt(this)):kt(this),arguments)},Pt={copyWithin:function(t,n){return F.call(kt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return L.apply(kt(this),arguments)},filter:function(t){return Nt(this,$(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Z(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(kt(this),arguments)},lastIndexOf:function(t){return ut.apply(kt(this),arguments)},map:function(t){return wt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(kt(this),arguments)},reduceRight:function(t){return ct.apply(kt(this),arguments)},reverse:function(){for(var t,n=kt(this).length,e=Math.floor(n/2),r=0;r<e;)t=this[r],this[r++]=this[--n],this[n]=t;return this},some:function(t){return K(kt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return st.call(kt(this),t)},subarray:function(t,n){var e=kt(this),r=e.length,i=g(t,r);return new(Y(e,e[gt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,v((void 0===n?r:g(n,r))-i))}},Rt=function(t,n){return Nt(this,lt.call(kt(this),t,n))},Ut=function(t){kt(this);var n=St(arguments[1],1),e=this.length,r=x(t),i=v(r.length),o=0;if(i+n>e)throw q("Wrong length!");for(;o<i;)this[n+o]=r[o++]},Lt={entries:function(){return ot.call(kt(this))},keys:function(){return it.call(kt(this))},values:function(){return rt.call(kt(this))}},Ft=function(t,n){return w(t)&&t[mt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},zt=function(t,n){return Ft(t,n=_(n,!0))?l(2,t[n]):V(t,n)},It=function(t,n,e){return!(Ft(t,n=_(n,!0))&&w(e)&&m(e,"value"))||m(e,"get")||m(e,"set")||e.configurable||m(e,"writable")&&!e.writable||m(e,"enumerable")&&!e.enumerable?H(t,n,e):(t[n]=e.value,t)};_t||(I.f=zt,z.f=It),u(u.S+u.F*!_t,"Object",{getOwnPropertyDescriptor:zt,defineProperty:It}),o((function(){ht.call({})}))&&(ht=dt=function(){return ft.call(this)});var Ht=d({},Pt);d(Ht,Lt),h(Ht,pt,Lt.values),d(Ht,{slice:Rt,set:Ut,constructor:function(){},toString:ht,toLocaleString:Ot}),At(Ht,"buffer","b"),At(Ht,"byteOffset","o"),At(Ht,"byteLength","l"),At(Ht,"length","e"),H(Ht,vt,{get:function(){return this[mt]}}),t.exports=function(t,n,e,c){var f=t+((c=!!c)?"Clamped":"")+"Array",l="get"+t,d="set"+t,p=i[f],g=p||{},_=p&&k(p),m=!p||!a.ABV,x={},M=p&&p.prototype,N=function(t,e){H(t,e,{get:function(){return function(t,e){var r=t._d;return r.v[l](e*n+r.o,xt)}(this,e)},set:function(t){return function(t,e,r){var i=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](e*n+i.o,r,xt)}(this,e,t)},enumerable:!0})};m?(p=e((function(t,e,r,i){s(t,p,f,"_d");var o,u,a,c,l=0,d=0;if(w(e)){if(!(e instanceof G||"ArrayBuffer"==(c=b(e))||"SharedArrayBuffer"==c))return mt in e?Dt(p,e):Et.call(p,e);o=e,d=St(r,n);var g=e.byteLength;if(void 0===i){if(g%n)throw q("Wrong length!");if((u=g-d)<0)throw q("Wrong length!")}else if((u=v(i)*n)+d>g)throw q("Wrong length!");a=u/n}else a=y(e),o=new G(u=a*n);for(h(t,"_d",{b:o,o:d,l:u,e:a,v:new X(o)});l<a;)N(t,l++)})),M=p.prototype=S(Ht),h(M,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&R((function(t){new p,new p(null),new p(1.5),new p(t)}),!0)||(p=e((function(t,e,r,i){var o;return s(t,p,f),w(e)?e instanceof G||"ArrayBuffer"==(o=b(e))||"SharedArrayBuffer"==o?void 0!==i?new g(e,St(r,n),i):void 0!==r?new g(e,St(r,n)):new g(e):mt in e?Dt(p,e):Et.call(p,e):new g(y(e))})),Z(_!==Function.prototype?T(g).concat(T(_)):T(g),(function(t){t in p||h(p,t,g[t])})),p.prototype=M,r||(M.constructor=p));var D=M[pt],A=!!D&&("values"==D.name||null==D.name),E=Lt.values;h(p,yt,!0),h(M,mt,f),h(M,bt,!0),h(M,gt,p),(c?new p(1)[vt]==f:vt in M)||H(M,vt,{get:function(){return f}}),x[f]=p,u(u.G+u.W+u.F*(p!=g),x),u(u.S,f,{BYTES_PER_ELEMENT:n}),u(u.S+u.F*o((function(){g.of.call(p,1)})),f,{from:Et,of:Ct}),"BYTES_PER_ELEMENT"in M||h(M,"BYTES_PER_ELEMENT",n),u(u.P,f,Pt),U(f),u(u.P+u.F*Mt,f,{set:Ut}),u(u.P+u.F*!A,f,Lt),r||M.toString==ht||(M.toString=ht),u(u.P+u.F*o((function(){new p(1).slice()})),f,{slice:Rt}),u(u.P+u.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){M.toLocaleString.call([1,2])}))),f,{toLocaleString:Ot}),P[f]=A?D:E,r||A||h(M,pt,E)}}else t.exports=function(){}},"7Qtz":function(t,n,e){"use strict";var r=e("dyZX"),i=e("nh4g"),o=e("LQAc"),u=e("D4iV"),a=e("Mukb"),c=e("3Lyj"),f=e("eeVq"),s=e("9gX7"),l=e("RYi7"),h=e("ne8i"),d=e("Cfrj"),p=e("kJMx").f,v=e("hswa").f,y=e("Nr18"),g=e("fyDq"),_="prototype",m="Wrong index!",b=r.ArrayBuffer,w=r.DataView,x=r.Math,M=r.RangeError,S=r.Infinity,k=b,T=x.abs,N=x.pow,D=x.floor,A=x.log,E=x.LN2,C=i?"_b":"buffer",Y=i?"_l":"byteLength",O=i?"_o":"byteOffset";function P(t,n,e){var r,i,o,u=new Array(e),a=8*e-n-1,c=(1<<a)-1,f=c>>1,s=23===n?N(2,-24)-N(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===S?(i=t!=t?1:0,r=c):(r=D(A(t)/E),t*(o=N(2,-r))<1&&(r--,o*=2),(t+=r+f>=1?s/o:s*N(2,1-f))*o>=2&&(r++,o/=2),r+f>=c?(i=0,r=c):r+f>=1?(i=(t*o-1)*N(2,n),r+=f):(i=t*N(2,f-1)*N(2,n),r=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(r=r<<n|i,a+=n;a>0;u[l++]=255&r,r/=256,a-=8);return u[--l]|=128*h,u}function R(t,n,e){var r,i=8*e-n-1,o=(1<<i)-1,u=o>>1,a=i-7,c=e-1,f=t[c--],s=127&f;for(f>>=7;a>0;s=256*s+t[c],c--,a-=8);for(r=s&(1<<-a)-1,s>>=-a,a+=n;a>0;r=256*r+t[c],c--,a-=8);if(0===s)s=1-u;else{if(s===o)return r?NaN:f?-S:S;r+=N(2,n),s-=u}return(f?-1:1)*r*N(2,s-n)}function U(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function L(t){return[255&t]}function F(t){return[255&t,t>>8&255]}function z(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function I(t){return P(t,52,8)}function H(t){return P(t,23,4)}function V(t,n,e){v(t[_],n,{get:function(){return this[e]}})}function q(t,n,e,r){var i=d(+e);if(i+n>t[Y])throw M(m);var o=t[C]._b,u=i+t[O],a=o.slice(u,u+n);return r?a:a.reverse()}function W(t,n,e,r,i,o){var u=d(+e);if(u+n>t[Y])throw M(m);for(var a=t[C]._b,c=u+t[O],f=r(+i),s=0;s<n;s++)a[c+s]=f[o?s:n-s-1]}if(u.ABV){if(!f((function(){b(1)}))||!f((function(){new b(-1)}))||f((function(){return new b,new b(1.5),new b(NaN),"ArrayBuffer"!=b.name}))){for(var j,B=(b=function(t){return s(this,b),new k(d(t))})[_]=k[_],G=p(k),X=0;G.length>X;)(j=G[X++])in b||a(b,j,k[j]);o||(B.constructor=b)}var Z=new w(new b(2)),$=w[_].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||c(w[_],{setInt8:function(t,n){$.call(this,t,n<<24>>24)},setUint8:function(t,n){$.call(this,t,n<<24>>24)}},!0)}else b=function(t){s(this,b,"ArrayBuffer");var n=d(t);this._b=y.call(new Array(n),0),this[Y]=n},w=function(t,n,e){s(this,w,"DataView"),s(t,b,"DataView");var r=t[Y],i=l(n);if(i<0||i>r)throw M("Wrong offset!");if(i+(e=void 0===e?r-i:h(e))>r)throw M("Wrong length!");this[C]=t,this[O]=i,this[Y]=e},i&&(V(b,"byteLength","_l"),V(w,"buffer","_b"),V(w,"byteLength","_l"),V(w,"byteOffset","_o")),c(w[_],{getInt8:function(t){return q(this,1,t)[0]<<24>>24},getUint8:function(t){return q(this,1,t)[0]},getInt16:function(t){var n=q(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=q(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return U(q(this,4,t,arguments[1]))},getUint32:function(t){return U(q(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return R(q(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return R(q(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){W(this,1,t,L,n)},setUint8:function(t,n){W(this,1,t,L,n)},setInt16:function(t,n){W(this,2,t,F,n,arguments[2])},setUint16:function(t,n){W(this,2,t,F,n,arguments[2])},setInt32:function(t,n){W(this,4,t,z,n,arguments[2])},setUint32:function(t,n){W(this,4,t,z,n,arguments[2])},setFloat32:function(t,n){W(this,4,t,H,n,arguments[2])},setFloat64:function(t,n){W(this,8,t,I,n,arguments[2])}});g(b,"ArrayBuffer"),g(w,"DataView"),a(w[_],u.VIEW,!0),n.ArrayBuffer=b,n.DataView=w},AphP:function(t,n,e){"use strict";var r=e("XKFU"),i=e("S/j/"),o=e("apmT");r(r.P+r.F*e("eeVq")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var n=i(this),e=o(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}})},"BJ/l":function(t,n,e){var r=e("XKFU");r(r.S,"Math",{log1p:e("1sa7")})},Cfrj:function(t,n,e){var r=e("RYi7"),i=e("ne8i");t.exports=function(t){if(void 0===t)return 0;var n=r(t),e=i(n);if(n!==e)throw RangeError("Wrong length!");return e}},CyHz:function(t,n,e){var r=e("XKFU");r(r.S,"Math",{sign:e("lvtm")})},D4iV:function(t,n,e){for(var r,i=e("dyZX"),o=e("Mukb"),u=e("ylqs"),a=u("typed_array"),c=u("view"),f=!(!i.ArrayBuffer||!i.DataView),s=f,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[h[l++]])?(o(r.prototype,a,!0),o(r.prototype,c,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:a,VIEW:c}},"Ji/l":function(t,n,e){var r=e("XKFU");r(r.G+r.W+r.F*!e("D4iV").ABV,{DataView:e("7Qtz").DataView})},LVwc:function(t,n){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},Nr18:function(t,n,e){"use strict";var r=e("S/j/"),i=e("d/Gc"),o=e("ne8i");t.exports=function(t){for(var n=r(this),e=o(n.length),u=arguments.length,a=i(u>1?arguments[1]:void 0,e),c=u>2?arguments[2]:void 0,f=void 0===c?e:i(c,e);f>a;)n[a++]=t;return n}},Oyvg:function(t,n,e){var r=e("dyZX"),i=e("Xbzi"),o=e("hswa").f,u=e("kJMx").f,a=e("quPj"),c=e("C/va"),f=r.RegExp,s=f,l=f.prototype,h=/a/g,d=/a/g,p=new f(h)!==h;if(e("nh4g")&&(!p||e("eeVq")((function(){return d[e("K0xU")("match")]=!1,f(h)!=h||f(d)==d||"/a/i"!=f(h,"i")})))){f=function(t,n){var e=this instanceof f,r=a(t),o=void 0===n;return!e&&r&&t.constructor===f&&o?t:i(p?new s(r&&!o?t.source:t,n):s((r=t instanceof f)?t.source:t,r&&o?c.call(t):n),e?this:l,f)};for(var v=function(t){t in f||o(f,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})},y=u(s),g=0;y.length>g;)v(y[g++]);l.constructor=f,f.prototype=l,e("KroJ")(r,"RegExp",f)}e("elZq")("RegExp")},Y9lz:function(t,n,e){e("7DDg")("Float32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},YuTi:function(t,n,e){e("HAE/"),t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Zshi:function(t,n,e){var r=e("0/R4");e("Xtr8")("isFrozen",(function(t){return function(n){return!r(n)||!!t&&t(n)}}))},bHtr:function(t,n,e){var r=e("XKFU");r(r.P,"Array",{fill:e("Nr18")}),e("nGyu")("fill")},eHKK:function(t,n,e){var r=e("XKFU");r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},jqX0:function(t,n,e){var r=e("XKFU"),i=e("jtBr");r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},jtBr:function(t,n,e){"use strict";var r=e("eeVq"),i=Date.prototype.getTime,o=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=n<0?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(e>99?e:"0"+u(e))+"Z"}:o},lvtm:function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},nzyx:function(t,n,e){var r=e("XKFU"),i=e("LVwc");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},"pp/T":function(t,n,e){var r=e("XKFU");r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},upKx:function(t,n,e){"use strict";var r=e("S/j/"),i=e("d/Gc"),o=e("ne8i");t.exports=[].copyWithin||function(t,n){var e=r(this),u=o(e.length),a=i(t,u),c=i(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:i(f,u))-c,u-a),l=1;for(c<a&&a<c+s&&(l=-1,c+=s-1,a+=s-1);s-- >0;)c in e?e[a]=e[c]:delete e[a],a+=l,c+=l;return e}},"wd/R":function(t,n,e){(function(t){e("AphP"),e("jqX0"),e("eM6i"),e("f3/d"),e("8+KV"),e("KKXr"),e("V+eJ"),e("SRfc"),e("Vd3H"),e("pIFo"),e("rGqo"),e("yt8O"),e("RW0V"),e("Oyvg"),e("Zshi"),e("dZ+Y"),e("a1Th"),e("h7Nl"),e("Btvt"),t.exports=function(){"use strict";var n,e;function r(){return n.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function u(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,n){var e,r=[];for(e=0;e<t.length;++e)r.push(n(t[e],e));return r}function s(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function l(t,n){for(var e in n)s(n,e)&&(t[e]=n[e]);return s(n,"toString")&&(t.toString=n.toString),s(n,"valueOf")&&(t.valueOf=n.valueOf),t}function h(t,n,e,r){return On(t,n,e,r,!0).utc()}function d(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var n=d(t),r=e.call(n.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&r);if(t._strict&&(i=i&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function v(t){var n=h(NaN);return null!=t?l(d(n),t):d(n).userInvalidated=!0,n}e=Array.prototype.some?Array.prototype.some:function(t){for(var n=Object(this),e=n.length>>>0,r=0;r<e;r++)if(r in n&&t.call(this,n[r],r,n))return!0;return!1};var y=r.momentProperties=[];function g(t,n){var e,r,i;if(u(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),u(n._i)||(t._i=n._i),u(n._f)||(t._f=n._f),u(n._l)||(t._l=n._l),u(n._strict)||(t._strict=n._strict),u(n._tzm)||(t._tzm=n._tzm),u(n._isUTC)||(t._isUTC=n._isUTC),u(n._offset)||(t._offset=n._offset),u(n._pf)||(t._pf=d(n)),u(n._locale)||(t._locale=n._locale),y.length>0)for(e=0;e<y.length;e++)u(i=n[r=y[e]])||(t[r]=i);return t}var _=!1;function m(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,r.updateOffset(this),_=!1)}function b(t){return t instanceof m||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var n=+t,e=0;return 0!==n&&isFinite(n)&&(e=w(n)),e}function M(t,n,e){var r,i=Math.min(t.length,n.length),o=Math.abs(t.length-n.length),u=0;for(r=0;r<i;r++)(e&&t[r]!==n[r]||!e&&x(t[r])!==x(n[r]))&&u++;return u+o}function S(t){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function k(t,n){var e=!0;return l((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,t),e){for(var i,o=[],u=0;u<arguments.length;u++){if(i="","object"==typeof arguments[u]){for(var a in i+="\n["+u+"] ",arguments[0])i+=a+": "+arguments[0][a]+", ";i=i.slice(0,-2)}else i=arguments[u];o.push(i)}S(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),e=!1}return n.apply(this,arguments)}),n)}var T,N={};function D(t,n){null!=r.deprecationHandler&&r.deprecationHandler(t,n),N[t]||(S(n),N[t]=!0)}function A(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function E(t,n){var e,r=l({},t);for(e in n)s(n,e)&&(o(t[e])&&o(n[e])?(r[e]={},l(r[e],t[e]),l(r[e],n[e])):null!=n[e]?r[e]=n[e]:delete r[e]);for(e in t)s(t,e)&&!s(n,e)&&o(t[e])&&(r[e]=l({},r[e]));return r}function C(t){null!=t&&this.set(t)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var n,e=[];for(n in t)s(t,n)&&e.push(n);return e};var Y={};function O(t,n){var e=t.toLowerCase();Y[e]=Y[e+"s"]=Y[n]=t}function P(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function R(t){var n,e,r={};for(e in t)s(t,e)&&(n=P(e))&&(r[n]=t[e]);return r}var U={};function L(t,n){U[t]=n}function F(t,n,e){var r=""+Math.abs(t),i=n-r.length;return(t>=0?e?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},V={};function q(t,n,e,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(V[t]=i),n&&(V[n[0]]=function(){return F(i.apply(this,arguments),n[1],n[2])}),e&&(V[e]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function W(t,n){return t.isValid()?(n=j(n,t.localeData()),H[n]=H[n]||function(t){var n,e,r,i=t.match(z);for(n=0,e=i.length;n<e;n++)V[i[n]]?i[n]=V[i[n]]:i[n]=(r=i[n]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(n){var r,o="";for(r=0;r<e;r++)o+=A(i[r])?i[r].call(n,t):i[r];return o}}(n),H[n](t)):t.localeData().invalidDate()}function j(t,n){var e=5;function r(t){return n.longDateFormat(t)||t}for(I.lastIndex=0;e>=0&&I.test(t);)t=t.replace(I,r),I.lastIndex=0,e-=1;return t}var B=/\d/,G=/\d\d/,X=/\d{3}/,Z=/\d{4}/,$=/[+-]?\d{6}/,K=/\d\d?/,J=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,tt=/\d{1,3}/,nt=/\d{1,4}/,et=/[+-]?\d{1,6}/,rt=/\d+/,it=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,at=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ct={};function ft(t,n,e){ct[t]=A(n)?n:function(t,r){return t&&e?e:n}}function st(t,n){return s(ct,t)?ct[t](n._strict,n._locale):new RegExp(lt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,e,r,i){return n||e||r||i}))))}function lt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function dt(t,n){var e,r=n;for("string"==typeof t&&(t=[t]),a(n)&&(r=function(t,e){e[n]=x(t)}),e=0;e<t.length;e++)ht[t[e]]=r}function pt(t,n){dt(t,(function(t,e,r,i){r._w=r._w||{},n(t,r._w,r,i)}))}function vt(t,n,e){null!=n&&s(ht,t)&&ht[t](n,e._a,e,t)}var yt=0,gt=1,_t=2,mt=3,bt=4,wt=5,xt=6,Mt=7,St=8;function kt(t){return Tt(t)?366:365}function Tt(t){return t%4==0&&t%100!=0||t%400==0}q("Y",0,0,(function(){var t=this.year();return t<=9999?""+t:"+"+t})),q(0,["YY",2],0,(function(){return this.year()%100})),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),O("year","y"),L("year",1),ft("Y",it),ft("YY",K,G),ft("YYYY",nt,Z),ft("YYYYY",et,$),ft("YYYYYY",et,$),dt(["YYYYY","YYYYYY"],yt),dt("YYYY",(function(t,n){n[yt]=2===t.length?r.parseTwoDigitYear(t):x(t)})),dt("YY",(function(t,n){n[yt]=r.parseTwoDigitYear(t)})),dt("Y",(function(t,n){n[yt]=parseInt(t,10)})),r.parseTwoDigitYear=function(t){return x(t)+(x(t)>68?1900:2e3)};var Nt,Dt=At("FullYear",!0);function At(t,n){return function(e){return null!=e?(Ct(this,t,e),r.updateOffset(this,n),this):Et(this,t)}}function Et(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function Ct(t,n,e){t.isValid()&&!isNaN(e)&&("FullYear"===n&&Tt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+n](e,t.month(),Yt(e,t.month())):t._d["set"+(t._isUTC?"UTC":"")+n](e))}function Yt(t,n){if(isNaN(t)||isNaN(n))return NaN;var e,r=(n%(e=12)+e)%e;return t+=(n-r)/12,1===r?Tt(t)?29:28:31-r%7%2}Nt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},q("M",["MM",2],"Mo",(function(){return this.month()+1})),q("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),q("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),O("month","M"),L("month",8),ft("M",K),ft("MM",K,G),ft("MMM",(function(t,n){return n.monthsShortRegex(t)})),ft("MMMM",(function(t,n){return n.monthsRegex(t)})),dt(["M","MM"],(function(t,n){n[gt]=x(t)-1})),dt(["MMM","MMMM"],(function(t,n,e,r){var i=e._locale.monthsParse(t,r,e._strict);null!=i?n[gt]=i:d(e).invalidMonth=t}));var Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ut(t,n,e){var r,i,o,u=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return e?"MMM"===n?-1!==(i=Nt.call(this._shortMonthsParse,u))?i:null:-1!==(i=Nt.call(this._longMonthsParse,u))?i:null:"MMM"===n?-1!==(i=Nt.call(this._shortMonthsParse,u))?i:-1!==(i=Nt.call(this._longMonthsParse,u))?i:null:-1!==(i=Nt.call(this._longMonthsParse,u))?i:-1!==(i=Nt.call(this._shortMonthsParse,u))?i:null}function Lt(t,n){var e;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=x(n);else if(!a(n=t.localeData().monthsParse(n)))return t;return e=Math.min(t.date(),Yt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,e),t}function Ft(t){return null!=t?(Lt(this,t),r.updateOffset(this,!0),this):Et(this,"Month")}var zt=at,It=at;function Ht(){function t(t,n){return n.length-t.length}var n,e,r=[],i=[],o=[];for(n=0;n<12;n++)e=h([2e3,n]),r.push(this.monthsShort(e,"")),i.push(this.months(e,"")),o.push(this.months(e,"")),o.push(this.monthsShort(e,""));for(r.sort(t),i.sort(t),o.sort(t),n=0;n<12;n++)r[n]=lt(r[n]),i[n]=lt(i[n]);for(n=0;n<24;n++)o[n]=lt(o[n]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Vt(t,n,e,r,i,o,u){var a;return t<100&&t>=0?(a=new Date(t+400,n,e,r,i,o,u),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,n,e,r,i,o,u),a}function qt(t){var n;if(t<100&&t>=0){var e=Array.prototype.slice.call(arguments);e[0]=t+400,n=new Date(Date.UTC.apply(null,e)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)}else n=new Date(Date.UTC.apply(null,arguments));return n}function Wt(t,n,e){var r=7+n-e;return-(7+qt(t,0,r).getUTCDay()-n)%7+r-1}function jt(t,n,e,r,i){var o,u,a=1+7*(n-1)+(7+e-r)%7+Wt(t,r,i);return a<=0?u=kt(o=t-1)+a:a>kt(t)?(o=t+1,u=a-kt(t)):(o=t,u=a),{year:o,dayOfYear:u}}function Bt(t,n,e){var r,i,o=Wt(t.year(),n,e),u=Math.floor((t.dayOfYear()-o-1)/7)+1;return u<1?r=u+Gt(i=t.year()-1,n,e):u>Gt(t.year(),n,e)?(r=u-Gt(t.year(),n,e),i=t.year()+1):(i=t.year(),r=u),{week:r,year:i}}function Gt(t,n,e){var r=Wt(t,n,e),i=Wt(t+1,n,e);return(kt(t)-r+i)/7}function Xt(t,n){return t.slice(n,7).concat(t.slice(0,n))}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),L("week",5),L("isoWeek",5),ft("w",K),ft("ww",K,G),ft("W",K),ft("WW",K,G),pt(["w","ww","W","WW"],(function(t,n,e,r){n[r.substr(0,1)]=x(t)})),q("d",0,"do","day"),q("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),q("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),q("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),ft("d",K),ft("e",K),ft("E",K),ft("dd",(function(t,n){return n.weekdaysMinRegex(t)})),ft("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),ft("dddd",(function(t,n){return n.weekdaysRegex(t)})),pt(["dd","ddd","dddd"],(function(t,n,e,r){var i=e._locale.weekdaysParse(t,r,e._strict);null!=i?n.d=i:d(e).invalidWeekday=t})),pt(["d","e","E"],(function(t,n,e,r){n[r]=x(t)}));var Zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$t="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Jt(t,n,e){var r,i,o,u=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return e?"dddd"===n?-1!==(i=Nt.call(this._weekdaysParse,u))?i:null:"ddd"===n?-1!==(i=Nt.call(this._shortWeekdaysParse,u))?i:null:-1!==(i=Nt.call(this._minWeekdaysParse,u))?i:null:"dddd"===n?-1!==(i=Nt.call(this._weekdaysParse,u))?i:-1!==(i=Nt.call(this._shortWeekdaysParse,u))?i:-1!==(i=Nt.call(this._minWeekdaysParse,u))?i:null:"ddd"===n?-1!==(i=Nt.call(this._shortWeekdaysParse,u))?i:-1!==(i=Nt.call(this._weekdaysParse,u))?i:-1!==(i=Nt.call(this._minWeekdaysParse,u))?i:null:-1!==(i=Nt.call(this._minWeekdaysParse,u))?i:-1!==(i=Nt.call(this._weekdaysParse,u))?i:-1!==(i=Nt.call(this._shortWeekdaysParse,u))?i:null}var Qt=at,tn=at,nn=at;function en(){function t(t,n){return n.length-t.length}var n,e,r,i,o,u=[],a=[],c=[],f=[];for(n=0;n<7;n++)e=h([2e3,1]).day(n),r=this.weekdaysMin(e,""),i=this.weekdaysShort(e,""),o=this.weekdays(e,""),u.push(r),a.push(i),c.push(o),f.push(r),f.push(i),f.push(o);for(u.sort(t),a.sort(t),c.sort(t),f.sort(t),n=0;n<7;n++)a[n]=lt(a[n]),c[n]=lt(c[n]),f[n]=lt(f[n]);this._weekdaysRegex=new RegExp("^("+f.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+u.join("|")+")","i")}function rn(){return this.hours()%12||12}function on(t,n){q(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function un(t,n){return n._meridiemParse}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,rn),q("k",["kk",2],0,(function(){return this.hours()||24})),q("hmm",0,0,(function(){return""+rn.apply(this)+F(this.minutes(),2)})),q("hmmss",0,0,(function(){return""+rn.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),q("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),q("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),on("a",!0),on("A",!1),O("hour","h"),L("hour",13),ft("a",un),ft("A",un),ft("H",K),ft("h",K),ft("k",K),ft("HH",K,G),ft("hh",K,G),ft("kk",K,G),ft("hmm",J),ft("hmmss",Q),ft("Hmm",J),ft("Hmmss",Q),dt(["H","HH"],mt),dt(["k","kk"],(function(t,n,e){var r=x(t);n[mt]=24===r?0:r})),dt(["a","A"],(function(t,n,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),dt(["h","hh"],(function(t,n,e){n[mt]=x(t),d(e).bigHour=!0})),dt("hmm",(function(t,n,e){var r=t.length-2;n[mt]=x(t.substr(0,r)),n[bt]=x(t.substr(r)),d(e).bigHour=!0})),dt("hmmss",(function(t,n,e){var r=t.length-4,i=t.length-2;n[mt]=x(t.substr(0,r)),n[bt]=x(t.substr(r,2)),n[wt]=x(t.substr(i)),d(e).bigHour=!0})),dt("Hmm",(function(t,n,e){var r=t.length-2;n[mt]=x(t.substr(0,r)),n[bt]=x(t.substr(r))})),dt("Hmmss",(function(t,n,e){var r=t.length-4,i=t.length-2;n[mt]=x(t.substr(0,r)),n[bt]=x(t.substr(r,2)),n[wt]=x(t.substr(i))}));var an,cn=At("Hours",!0),fn={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pt,monthsShort:Rt,week:{dow:0,doy:6},weekdays:Zt,weekdaysMin:Kt,weekdaysShort:$t,meridiemParse:/[ap]\.?m?\.?/i},sn={},ln={};function hn(t){return t?t.toLowerCase().replace("_","-"):t}function dn(n){var e=null;if(!sn[n]&&void 0!==t&&t&&t.exports)try{e=an._abbr,!function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),pn(e)}catch(r){}return sn[n]}function pn(t,n){var e;return t&&((e=u(n)?yn(t):vn(t,n))?an=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),an._abbr}function vn(t,n){if(null!==n){var e,r=fn;if(n.abbr=t,null!=sn[t])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=sn[t]._config;else if(null!=n.parentLocale)if(null!=sn[n.parentLocale])r=sn[n.parentLocale]._config;else{if(null==(e=dn(n.parentLocale)))return ln[n.parentLocale]||(ln[n.parentLocale]=[]),ln[n.parentLocale].push({name:t,config:n}),null;r=e._config}return sn[t]=new C(E(r,n)),ln[t]&&ln[t].forEach((function(t){vn(t.name,t.config)})),pn(t),sn[t]}return delete sn[t],null}function yn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return an;if(!i(t)){if(n=dn(t))return n;t=[t]}return function(t){for(var n,e,r,i,o=0;o<t.length;){for(n=(i=hn(t[o]).split("-")).length,e=(e=hn(t[o+1]))?e.split("-"):null;n>0;){if(r=dn(i.slice(0,n).join("-")))return r;if(e&&e.length>=n&&M(i,e,!0)>=n-1)break;n--}o++}return an}(t)}function gn(t){var n,e=t._a;return e&&-2===d(t).overflow&&(n=e[gt]<0||e[gt]>11?gt:e[_t]<1||e[_t]>Yt(e[yt],e[gt])?_t:e[mt]<0||e[mt]>24||24===e[mt]&&(0!==e[bt]||0!==e[wt]||0!==e[xt])?mt:e[bt]<0||e[bt]>59?bt:e[wt]<0||e[wt]>59?wt:e[xt]<0||e[xt]>999?xt:-1,d(t)._overflowDayOfYear&&(n<yt||n>_t)&&(n=_t),d(t)._overflowWeeks&&-1===n&&(n=Mt),d(t)._overflowWeekday&&-1===n&&(n=St),d(t).overflow=n),t}function _n(t,n,e){return null!=t?t:null!=n?n:e}function mn(t){var n,e,i,o,u,a=[];if(!t._d){for(i=function(t){var n=new Date(r.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[_t]&&null==t._a[gt]&&function(t){var n,e,r,i,o,u,a,c;if(null!=(n=t._w).GG||null!=n.W||null!=n.E)o=1,u=4,e=_n(n.GG,t._a[yt],Bt(Pn(),1,4).year),r=_n(n.W,1),((i=_n(n.E,1))<1||i>7)&&(c=!0);else{o=t._locale._week.dow,u=t._locale._week.doy;var f=Bt(Pn(),o,u);e=_n(n.gg,t._a[yt],f.year),r=_n(n.w,f.week),null!=n.d?((i=n.d)<0||i>6)&&(c=!0):null!=n.e?(i=n.e+o,(n.e<0||n.e>6)&&(c=!0)):i=o}r<1||r>Gt(e,o,u)?d(t)._overflowWeeks=!0:null!=c?d(t)._overflowWeekday=!0:(a=jt(e,r,i,o,u),t._a[yt]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(u=_n(t._a[yt],i[yt]),(t._dayOfYear>kt(u)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),e=qt(u,0,t._dayOfYear),t._a[gt]=e.getUTCMonth(),t._a[_t]=e.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=a[n]=i[n];for(;n<7;n++)t._a[n]=a[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[mt]&&0===t._a[bt]&&0===t._a[wt]&&0===t._a[xt]&&(t._nextDay=!0,t._a[mt]=0),t._d=(t._useUTC?qt:Vt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[mt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(d(t).weekdayMismatch=!0)}}var bn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((\-?\d+)/i;function Tn(t){var n,e,r,i,o,u,a=t._i,c=bn.exec(a)||wn.exec(a);if(c){for(d(t).iso=!0,n=0,e=Mn.length;n<e;n++)if(Mn[n][1].exec(c[1])){i=Mn[n][0],r=!1!==Mn[n][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(n=0,e=Sn.length;n<e;n++)if(Sn[n][1].exec(c[3])){o=(c[2]||" ")+Sn[n][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(c[4]){if(!xn.exec(c[4]))return void(t._isValid=!1);u="Z"}t._f=i+(o||"")+(u||""),Cn(t)}else t._isValid=!1}var Nn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Dn(t){var n=parseInt(t,10);return n<=49?2e3+n:n<=999?1900+n:n}var An={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t){var n,e,r,i,o,u,a,c=Nn.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var f=(n=c[4],e=c[3],r=c[2],i=c[5],o=c[6],u=c[7],a=[Dn(n),Rt.indexOf(e),parseInt(r,10),parseInt(i,10),parseInt(o,10)],u&&a.push(parseInt(u,10)),a);if(!function(t,n,e){return!t||$t.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(d(e).weekdayMismatch=!0,e._isValid=!1,!1)}(c[1],f,t))return;t._a=f,t._tzm=function(t,n,e){if(t)return An[t];if(n)return 0;var r=parseInt(e,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),t._d=qt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),d(t).rfc2822=!0}else t._isValid=!1}function Cn(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],d(t).empty=!0;var n,e,i,o,u,a=""+t._i,c=a.length,f=0;for(i=j(t._f,t._locale).match(z)||[],n=0;n<i.length;n++)o=i[n],(e=(a.match(st(o,t))||[])[0])&&((u=a.substr(0,a.indexOf(e))).length>0&&d(t).unusedInput.push(u),a=a.slice(a.indexOf(e)+e.length),f+=e.length),V[o]?(e?d(t).empty=!1:d(t).unusedTokens.push(o),vt(o,e,t)):t._strict&&!e&&d(t).unusedTokens.push(o);d(t).charsLeftOver=c-f,a.length>0&&d(t).unusedInput.push(a),t._a[mt]<=12&&!0===d(t).bigHour&&t._a[mt]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[mt]=function(t,n,e){var r;return null==e?n:null!=t.meridiemHour?t.meridiemHour(n,e):null!=t.isPM?((r=t.isPM(e))&&n<12&&(n+=12),r||12!==n||(n=0),n):n}(t._locale,t._a[mt],t._meridiem),mn(t),gn(t)}else En(t);else Tn(t)}function Yn(t){var n=t._i,e=t._f;return t._locale=t._locale||yn(t._l),null===n||void 0===e&&""===n?v({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),b(n)?new m(gn(n)):(c(n)?t._d=n:i(e)?function(t){var n,e,r,i,o;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,n=g({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[i],Cn(n),p(n)&&(o+=d(n).charsLeftOver,o+=10*d(n).unusedTokens.length,d(n).score=o,(null==r||o<r)&&(r=o,e=n));l(t,e||n)}(t):e?Cn(t):function(t){var n=t._i;u(n)?t._d=new Date(r.now()):c(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=kn.exec(t._i);null===n?(Tn(t),!1===t._isValid&&(delete t._isValid,En(t),!1===t._isValid&&(delete t._isValid,r.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):i(n)?(t._a=f(n.slice(0),(function(t){return parseInt(t,10)})),mn(t)):o(n)?function(t){if(!t._d){var n=R(t._i);t._a=f([n.year,n.month,n.day||n.date,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),mn(t)}}(t):a(n)?t._d=new Date(n):r.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function On(t,n,e,r,u){var a,c={};return!0!==e&&!1!==e||(r=e,e=void 0),(o(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(t.hasOwnProperty(n))return!1;return!0}(t)||i(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=u,c._l=e,c._i=t,c._f=n,c._strict=r,(a=new m(gn(Yn(c))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Pn(t,n,e,r){return On(t,n,e,r,!1)}r.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Rn=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Pn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),Un=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Pn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Ln(t,n){var e,r;if(1===n.length&&i(n[0])&&(n=n[0]),!n.length)return Pn();for(e=n[0],r=1;r<n.length;++r)n[r].isValid()&&!n[r][t](e)||(e=n[r]);return e}var Fn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function zn(t){var n=R(t),e=n.year||0,r=n.quarter||0,i=n.month||0,o=n.week||n.isoWeek||0,u=n.day||0,a=n.hour||0,c=n.minute||0,f=n.second||0,s=n.millisecond||0;this._isValid=function(t){for(var n in t)if(-1===Nt.call(Fn,n)||null!=t[n]&&isNaN(t[n]))return!1;for(var e=!1,r=0;r<Fn.length;++r)if(t[Fn[r]]){if(e)return!1;parseFloat(t[Fn[r]])!==x(t[Fn[r]])&&(e=!0)}return!0}(n),this._milliseconds=+s+1e3*f+6e4*c+1e3*a*60*60,this._days=+u+7*o,this._months=+i+3*r+12*e,this._data={},this._locale=yn(),this._bubble()}function In(t){return t instanceof zn}function Hn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Vn(t,n){q(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+F(~~(t/60),2)+n+F(~~t%60,2)}))}Vn("Z",":"),Vn("ZZ",""),ft("Z",ut),ft("ZZ",ut),dt(["Z","ZZ"],(function(t,n,e){e._useUTC=!0,e._tzm=Wn(ut,t)}));var qn=/([\+\-]|\d\d)/gi;function Wn(t,n){var e=(n||"").match(t);if(null===e)return null;var r=((e[e.length-1]||[])+"").match(qn)||["-",0,0],i=60*r[1]+x(r[2]);return 0===i?0:"+"===r[0]?i:-i}function jn(t,n){var e,i;return n._isUTC?(e=n.clone(),i=(b(t)||c(t)?t.valueOf():Pn(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+i),r.updateOffset(e,!1),e):Pn(t).local()}function Bn(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Gn(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Xn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Zn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $n(t,n){var e,r,i,o,u,c,f=t,l=null;return In(t)?f={ms:t._milliseconds,d:t._days,M:t._months}:a(t)?(f={},n?f[n]=t:f.milliseconds=t):(l=Xn.exec(t))?(e="-"===l[1]?-1:1,f={y:0,d:x(l[_t])*e,h:x(l[mt])*e,m:x(l[bt])*e,s:x(l[wt])*e,ms:x(Hn(1e3*l[xt]))*e}):(l=Zn.exec(t))?(e="-"===l[1]?-1:1,f={y:Kn(l[2],e),M:Kn(l[3],e),w:Kn(l[4],e),d:Kn(l[5],e),h:Kn(l[6],e),m:Kn(l[7],e),s:Kn(l[8],e)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(o=Pn(f.from),u=Pn(f.to),i=o.isValid()&&u.isValid()?(u=jn(u,o),o.isBefore(u)?c=Jn(o,u):((c=Jn(u,o)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(f={}).ms=i.milliseconds,f.M=i.months),r=new zn(f),In(t)&&s(t,"_locale")&&(r._locale=t._locale),r}function Kn(t,n){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*n}function Jn(t,n){var e={};return e.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(e.months,"M").isAfter(n)&&--e.months,e.milliseconds=+n-+t.clone().add(e.months,"M"),e}function Qn(t,n){return function(e,r){var i;return null===r||isNaN(+r)||(D(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=r,r=i),te(this,$n(e="string"==typeof e?+e:e,r),t),this}}function te(t,n,e,i){var o=n._milliseconds,u=Hn(n._days),a=Hn(n._months);t.isValid()&&(i=null==i||i,a&&Lt(t,Et(t,"Month")+a*e),u&&Ct(t,"Date",Et(t,"Date")+u*e),o&&t._d.setTime(t._d.valueOf()+o*e),i&&r.updateOffset(t,u||a))}$n.fn=zn.prototype,$n.invalid=function(){return $n(NaN)};var ne=Qn(1,"add"),ee=Qn(-1,"subtract");function re(t,n){var e=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(e,"months");return-(e+(n-r<0?(n-r)/(r-t.clone().add(e-1,"months")):(n-r)/(t.clone().add(e+1,"months")-r)))||0}function ie(t){var n;return void 0===t?this._locale._abbr:(null!=(n=yn(t))&&(this._locale=n),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oe=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ue(){return this._locale}var ae=1e3,ce=60*ae,fe=60*ce,se=3506328*fe;function le(t,n){return(t%n+n)%n}function he(t,n,e){return t<100&&t>=0?new Date(t+400,n,e)-se:new Date(t,n,e).valueOf()}function de(t,n,e){return t<100&&t>=0?Date.UTC(t+400,n,e)-se:Date.UTC(t,n,e)}function pe(t,n){q(0,[t,t.length],0,n)}function ve(t,n,e,r,i){var o;return null==t?Bt(this,r,i).year:(n>(o=Gt(t,r,i))&&(n=o),ye.call(this,t,n,e,r,i))}function ye(t,n,e,r,i){var o=jt(t,n,e,r,i),u=qt(o.year,0,o.dayOfYear);return this.year(u.getUTCFullYear()),this.month(u.getUTCMonth()),this.date(u.getUTCDate()),this}q(0,["gg",2],0,(function(){return this.weekYear()%100})),q(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pe("gggg","weekYear"),pe("ggggg","weekYear"),pe("GGGG","isoWeekYear"),pe("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),ft("G",it),ft("g",it),ft("GG",K,G),ft("gg",K,G),ft("GGGG",nt,Z),ft("gggg",nt,Z),ft("GGGGG",et,$),ft("ggggg",et,$),pt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,e,r){n[r.substr(0,2)]=x(t)})),pt(["gg","GG"],(function(t,n,e,i){n[i]=r.parseTwoDigitYear(t)})),q("Q",0,"Qo","quarter"),O("quarter","Q"),L("quarter",7),ft("Q",B),dt("Q",(function(t,n){n[gt]=3*(x(t)-1)})),q("D",["DD",2],"Do","date"),O("date","D"),L("date",9),ft("D",K),ft("DD",K,G),ft("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),dt(["D","DD"],_t),dt("Do",(function(t,n){n[_t]=x(t.match(K)[0])}));var ge=At("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),L("dayOfYear",4),ft("DDD",tt),ft("DDDD",X),dt(["DDD","DDDD"],(function(t,n,e){e._dayOfYear=x(t)})),q("m",["mm",2],0,"minute"),O("minute","m"),L("minute",14),ft("m",K),ft("mm",K,G),dt(["m","mm"],bt);var _e=At("Minutes",!1);q("s",["ss",2],0,"second"),O("second","s"),L("second",15),ft("s",K),ft("ss",K,G),dt(["s","ss"],wt);var me,be=At("Seconds",!1);for(q("S",0,0,(function(){return~~(this.millisecond()/100)})),q(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),q(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),q(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),q(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),q(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),q(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),O("millisecond","ms"),L("millisecond",16),ft("S",tt,B),ft("SS",tt,G),ft("SSS",tt,X),me="SSSS";me.length<=9;me+="S")ft(me,rt);function we(t,n){n[xt]=x(1e3*("0."+t))}for(me="S";me.length<=9;me+="S")dt(me,we);var xe=At("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Me=m.prototype;function Se(t){return t}Me.add=ne,Me.calendar=function(t,n){var e=t||Pn(),i=jn(e,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",u=n&&(A(n[o])?n[o].call(this,e):n[o]);return this.format(u||this.localeData().calendar(o,this,Pn(e)))},Me.clone=function(){return new m(this)},Me.diff=function(t,n,e){var r,i,o;if(!this.isValid())return NaN;if(!(r=jn(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),n=P(n)){case"year":o=re(this,r)/12;break;case"month":o=re(this,r);break;case"quarter":o=re(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return e?o:w(o)},Me.endOf=function(t){var n;if(void 0===(t=P(t))||"millisecond"===t||!this.isValid())return this;var e=this._isUTC?de:he;switch(t){case"year":n=e(this.year()+1,0,1)-1;break;case"quarter":n=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=e(this.year(),this.month()+1,1)-1;break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=fe-le(n+(this._isUTC?0:this.utcOffset()*ce),fe)-1;break;case"minute":n=this._d.valueOf(),n+=ce-le(n,ce)-1;break;case"second":n=this._d.valueOf(),n+=ae-le(n,ae)-1}return this._d.setTime(n),r.updateOffset(this,!0),this},Me.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var n=W(this,t);return this.localeData().postformat(n)},Me.from=function(t,n){return this.isValid()&&(b(t)&&t.isValid()||Pn(t).isValid())?$n({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Me.fromNow=function(t){return this.from(Pn(),t)},Me.to=function(t,n){return this.isValid()&&(b(t)&&t.isValid()||Pn(t).isValid())?$n({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Me.toNow=function(t){return this.to(Pn(),t)},Me.get=function(t){return A(this[t=P(t)])?this[t]():this},Me.invalidAt=function(){return d(this).overflow},Me.isAfter=function(t,n){var e=b(t)?t:Pn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=P(n)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(n).valueOf())},Me.isBefore=function(t,n){var e=b(t)?t:Pn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=P(n)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(n).valueOf()<e.valueOf())},Me.isBetween=function(t,n,e,r){var i=b(t)?t:Pn(t),o=b(n)?n:Pn(n);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,e):!this.isBefore(i,e))&&(")"===r[1]?this.isBefore(o,e):!this.isAfter(o,e))},Me.isSame=function(t,n){var e,r=b(t)?t:Pn(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(n=P(n)||"millisecond")?this.valueOf()===r.valueOf():(e=r.valueOf(),this.clone().startOf(n).valueOf()<=e&&e<=this.clone().endOf(n).valueOf()))},Me.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Me.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Me.isValid=function(){return p(this)},Me.lang=oe,Me.locale=ie,Me.localeData=ue,Me.max=Un,Me.min=Rn,Me.parsingFlags=function(){return l({},d(this))},Me.set=function(t,n){if("object"==typeof t)for(var e=function(t){var n=[];for(var e in t)n.push({unit:e,priority:U[e]});return n.sort((function(t,n){return t.priority-n.priority})),n}(t=R(t)),r=0;r<e.length;r++)this[e[r].unit](t[e[r].unit]);else if(A(this[t=P(t)]))return this[t](n);return this},Me.startOf=function(t){var n;if(void 0===(t=P(t))||"millisecond"===t||!this.isValid())return this;var e=this._isUTC?de:he;switch(t){case"year":n=e(this.year(),0,1);break;case"quarter":n=e(this.year(),this.month()-this.month()%3,1);break;case"month":n=e(this.year(),this.month(),1);break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=e(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=le(n+(this._isUTC?0:this.utcOffset()*ce),fe);break;case"minute":n=this._d.valueOf(),n-=le(n,ce);break;case"second":n=this._d.valueOf(),n-=le(n,ae)}return this._d.setTime(n),r.updateOffset(this,!0),this},Me.subtract=ee,Me.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Me.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Me.toDate=function(){return new Date(this.valueOf())},Me.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,e=n?this.clone().utc():this;return e.year()<0||e.year()>9999?W(e,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(e,"Z")):W(e,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Me.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",n="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z");var e="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=n+'[")]';return this.format(e+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},Me.toJSON=function(){return this.isValid()?this.toISOString():null},Me.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Me.unix=function(){return Math.floor(this.valueOf()/1e3)},Me.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Me.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Me.year=Dt,Me.isLeapYear=function(){return Tt(this.year())},Me.weekYear=function(t){return ve.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Me.isoWeekYear=function(t){return ve.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Me.quarter=Me.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Me.month=Ft,Me.daysInMonth=function(){return Yt(this.year(),this.month())},Me.week=Me.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Me.isoWeek=Me.isoWeeks=function(t){var n=Bt(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Me.weeksInYear=function(){var t=this.localeData()._week;return Gt(this.year(),t.dow,t.doy)},Me.isoWeeksInYear=function(){return Gt(this.year(),1,4)},Me.date=ge,Me.day=Me.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},Me.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},Me.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},Me.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},Me.hour=Me.hours=cn,Me.minute=Me.minutes=_e,Me.second=Me.seconds=be,Me.millisecond=Me.milliseconds=xe,Me.utcOffset=function(t,n,e){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Wn(ut,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&n&&(i=Bn(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!n||this._changeInProgress?te(this,$n(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Bn(this)},Me.utc=function(t){return this.utcOffset(0,t)},Me.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Bn(this),"m")),this},Me.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Wn(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Me.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Pn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Me.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Me.isLocal=function(){return!!this.isValid()&&!this._isUTC},Me.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Me.isUtc=Gn,Me.isUTC=Gn,Me.zoneAbbr=function(){return this._isUTC?"UTC":""},Me.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Me.dates=k("dates accessor is deprecated. Use date instead.",ge),Me.months=k("months accessor is deprecated. Use month instead",Ft),Me.years=k("years accessor is deprecated. Use year instead",Dt),Me.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),Me.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),(t=Yn(t))._a){var n=t._isUTC?h(t._a):Pn(t._a);this._isDSTShifted=this.isValid()&&M(t._a,n.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var ke=C.prototype;function Te(t,n,e,r){var i=yn(),o=h().set(r,n);return i[e](o,t)}function Ne(t,n,e){if(a(t)&&(n=t,t=void 0),t=t||"",null!=n)return Te(t,n,e,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Te(t,r,e,"month");return i}function De(t,n,e,r){"boolean"==typeof t?(a(n)&&(e=n,n=void 0),n=n||""):(e=n=t,t=!1,a(n)&&(e=n,n=void 0),n=n||"");var i,o=yn(),u=t?o._week.dow:0;if(null!=e)return Te(n,(e+u)%7,r,"day");var c=[];for(i=0;i<7;i++)c[i]=Te(n,(i+u)%7,r,"day");return c}ke.calendar=function(t,n,e){var r=this._calendar[t]||this._calendar.sameElse;return A(r)?r.call(n,e):r},ke.longDateFormat=function(t){var n=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return n||!e?n:(this._longDateFormat[t]=e.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},ke.invalidDate=function(){return this._invalidDate},ke.ordinal=function(t){return this._ordinal.replace("%d",t)},ke.preparse=Se,ke.postformat=Se,ke.relativeTime=function(t,n,e,r){var i=this._relativeTime[e];return A(i)?i(t,n,e,r):i.replace(/%d/i,t)},ke.pastFuture=function(t,n){var e=this._relativeTime[t>0?"future":"past"];return A(e)?e(n):e.replace(/%s/i,n)},ke.set=function(t){var n,e;for(e in t)A(n=t[e])?this[e]=n:this["_"+e]=n;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ke.months=function(t,n){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(n)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},ke.monthsShort=function(t,n){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(n)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ke.monthsParse=function(t,n,e){var r,i,o;if(this._monthsParseExact)return Ut.call(this,t,n,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),e&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),e||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),e&&"MMMM"===n&&this._longMonthsParse[r].test(t))return r;if(e&&"MMM"===n&&this._shortMonthsParse[r].test(t))return r;if(!e&&this._monthsParse[r].test(t))return r}},ke.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Ht.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=It),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},ke.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Ht.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=zt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},ke.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},ke.firstDayOfYear=function(){return this._week.doy},ke.firstDayOfWeek=function(){return this._week.dow},ke.weekdays=function(t,n){var e=i(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?Xt(e,this._week.dow):t?e[t.day()]:e},ke.weekdaysMin=function(t){return!0===t?Xt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},ke.weekdaysShort=function(t){return!0===t?Xt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},ke.weekdaysParse=function(t,n,e){var r,i,o;if(this._weekdaysParseExact)return Jt.call(this,t,n,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),e&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),e&&"dddd"===n&&this._fullWeekdaysParse[r].test(t))return r;if(e&&"ddd"===n&&this._shortWeekdaysParse[r].test(t))return r;if(e&&"dd"===n&&this._minWeekdaysParse[r].test(t))return r;if(!e&&this._weekdaysParse[r].test(t))return r}},ke.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Qt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},ke.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tn),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ke.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ke.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},ke.meridiem=function(t,n,e){return t>11?e?"pm":"PM":e?"am":"AM"},pn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===x(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),r.lang=k("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",yn);var Ae=Math.abs;function Ee(t,n,e,r){var i=$n(n,e);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Ce(t){return t<0?Math.floor(t):Math.ceil(t)}function Ye(t){return 4800*t/146097}function Oe(t){return 146097*t/4800}function Pe(t){return function(){return this.as(t)}}var Re=Pe("ms"),Ue=Pe("s"),Le=Pe("m"),Fe=Pe("h"),ze=Pe("d"),Ie=Pe("w"),He=Pe("M"),Ve=Pe("Q"),qe=Pe("y");function We(t){return function(){return this.isValid()?this._data[t]:NaN}}var je=We("milliseconds"),Be=We("seconds"),Ge=We("minutes"),Xe=We("hours"),Ze=We("days"),$e=We("months"),Ke=We("years"),Je=Math.round,Qe={ss:44,s:45,m:45,h:22,d:26,M:11};function tr(t,n,e,r,i){return i.relativeTime(n||1,!!e,t,r)}var nr=Math.abs;function er(t){return(t>0)-(t<0)||+t}function rr(){if(!this.isValid())return this.localeData().invalidDate();var t,n,e=nr(this._milliseconds)/1e3,r=nr(this._days),i=nr(this._months);t=w(e/60),n=w(t/60),e%=60,t%=60;var o=w(i/12),u=i%=12,a=r,c=n,f=t,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var h=l<0?"-":"",d=er(this._months)!==er(l)?"-":"",p=er(this._days)!==er(l)?"-":"",v=er(this._milliseconds)!==er(l)?"-":"";return h+"P"+(o?d+o+"Y":"")+(u?d+u+"M":"")+(a?p+a+"D":"")+(c||f||s?"T":"")+(c?v+c+"H":"")+(f?v+f+"M":"")+(s?v+s+"S":"")}var ir=zn.prototype;return ir.isValid=function(){return this._isValid},ir.abs=function(){var t=this._data;return this._milliseconds=Ae(this._milliseconds),this._days=Ae(this._days),this._months=Ae(this._months),t.milliseconds=Ae(t.milliseconds),t.seconds=Ae(t.seconds),t.minutes=Ae(t.minutes),t.hours=Ae(t.hours),t.months=Ae(t.months),t.years=Ae(t.years),this},ir.add=function(t,n){return Ee(this,t,n,1)},ir.subtract=function(t,n){return Ee(this,t,n,-1)},ir.as=function(t){if(!this.isValid())return NaN;var n,e,r=this._milliseconds;if("month"===(t=P(t))||"quarter"===t||"year"===t)switch(n=this._days+r/864e5,e=this._months+Ye(n),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(n=this._days+Math.round(Oe(this._months)),t){case"week":return n/7+r/6048e5;case"day":return n+r/864e5;case"hour":return 24*n+r/36e5;case"minute":return 1440*n+r/6e4;case"second":return 86400*n+r/1e3;case"millisecond":return Math.floor(864e5*n)+r;default:throw new Error("Unknown unit "+t)}},ir.asMilliseconds=Re,ir.asSeconds=Ue,ir.asMinutes=Le,ir.asHours=Fe,ir.asDays=ze,ir.asWeeks=Ie,ir.asMonths=He,ir.asQuarters=Ve,ir.asYears=qe,ir.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN},ir._bubble=function(){var t,n,e,r,i,o=this._milliseconds,u=this._days,a=this._months,c=this._data;return o>=0&&u>=0&&a>=0||o<=0&&u<=0&&a<=0||(o+=864e5*Ce(Oe(a)+u),u=0,a=0),c.milliseconds=o%1e3,t=w(o/1e3),c.seconds=t%60,n=w(t/60),c.minutes=n%60,e=w(n/60),c.hours=e%24,u+=w(e/24),i=w(Ye(u)),a+=i,u-=Ce(Oe(i)),r=w(a/12),a%=12,c.days=u,c.months=a,c.years=r,this},ir.clone=function(){return $n(this)},ir.get=function(t){return t=P(t),this.isValid()?this[t+"s"]():NaN},ir.milliseconds=je,ir.seconds=Be,ir.minutes=Ge,ir.hours=Xe,ir.days=Ze,ir.weeks=function(){return w(this.days()/7)},ir.months=$e,ir.years=Ke,ir.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var n=this.localeData(),e=function(t,n,e){var r=$n(t).abs(),i=Je(r.as("s")),o=Je(r.as("m")),u=Je(r.as("h")),a=Je(r.as("d")),c=Je(r.as("M")),f=Je(r.as("y")),s=i<=Qe.ss&&["s",i]||i<Qe.s&&["ss",i]||o<=1&&["m"]||o<Qe.m&&["mm",o]||u<=1&&["h"]||u<Qe.h&&["hh",u]||a<=1&&["d"]||a<Qe.d&&["dd",a]||c<=1&&["M"]||c<Qe.M&&["MM",c]||f<=1&&["y"]||["yy",f];return s[2]=n,s[3]=+t>0,s[4]=e,tr.apply(null,s)}(this,!t,n);return t&&(e=n.pastFuture(+this,e)),n.postformat(e)},ir.toISOString=rr,ir.toString=rr,ir.toJSON=rr,ir.locale=ie,ir.localeData=ue,ir.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rr),ir.lang=oe,q("X",0,0,"unix"),q("x",0,0,"valueOf"),ft("x",it),ft("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",(function(t,n,e){e._d=new Date(1e3*parseFloat(t,10))})),dt("x",(function(t,n,e){e._d=new Date(x(t))})),r.version="2.24.0",n=Pn,r.fn=Me,r.min=function(){return Ln("isBefore",[].slice.call(arguments,0))},r.max=function(){return Ln("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=h,r.unix=function(t){return Pn(1e3*t)},r.months=function(t,n){return Ne(t,n,"months")},r.isDate=c,r.locale=pn,r.invalid=v,r.duration=$n,r.isMoment=b,r.weekdays=function(t,n,e){return De(t,n,e,"weekdays")},r.parseZone=function(){return Pn.apply(null,arguments).parseZone()},r.localeData=yn,r.isDuration=In,r.monthsShort=function(t,n){return Ne(t,n,"monthsShort")},r.weekdaysMin=function(t,n,e){return De(t,n,e,"weekdaysMin")},r.defineLocale=vn,r.updateLocale=function(t,n){if(null!=n){var e,r,i=fn;null!=(r=dn(t))&&(i=r._config),n=E(i,n),(e=new C(n)).parentLocale=sn[t],sn[t]=e,pn(t)}else null!=sn[t]&&(null!=sn[t].parentLocale?sn[t]=sn[t].parentLocale:null!=sn[t]&&delete sn[t]);return sn[t]},r.locales=function(){return T(sn)},r.weekdaysShort=function(t,n,e){return De(t,n,e,"weekdaysShort")},r.normalizeUnits=P,r.relativeTimeRounding=function(t){return void 0===t?Je:"function"==typeof t&&(Je=t,!0)},r.relativeTimeThreshold=function(t,n){return void 0!==Qe[t]&&(void 0===n?Qe[t]:(Qe[t]=n,"s"===t&&(Qe.ss=n-1),!0))},r.calendarFormat=function(t,n){var e=t.diff(n,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},r.prototype=Me,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,e("YuTi")(t))},x6fH:function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"version",(function(){return u})),e.d(r,"bisect",(function(){return h})),e.d(r,"bisectRight",(function(){return s})),e.d(r,"bisectLeft",(function(){return l})),e.d(r,"ascending",(function(){return a})),e.d(r,"bisector",(function(){return c})),e.d(r,"cross",(function(){return v})),e.d(r,"descending",(function(){return y})),e.d(r,"deviation",(function(){return m})),e.d(r,"extent",(function(){return b})),e.d(r,"histogram",(function(){return P})),e.d(r,"thresholdFreedmanDiaconis",(function(){return U})),e.d(r,"thresholdScott",(function(){return L})),e.d(r,"thresholdSturges",(function(){return O})),e.d(r,"max",(function(){return F})),e.d(r,"mean",(function(){return z})),e.d(r,"median",(function(){return I})),e.d(r,"merge",(function(){return H})),e.d(r,"min",(function(){return V})),e.d(r,"pairs",(function(){return d})),e.d(r,"permute",(function(){return q})),e.d(r,"quantile",(function(){return R})),e.d(r,"range",(function(){return T})),e.d(r,"scan",(function(){return W})),e.d(r,"shuffle",(function(){return j})),e.d(r,"sum",(function(){return B})),e.d(r,"ticks",(function(){return E})),e.d(r,"tickIncrement",(function(){return C})),e.d(r,"tickStep",(function(){return Y})),e.d(r,"transpose",(function(){return G})),e.d(r,"variance",(function(){return _})),e.d(r,"zip",(function(){return Z})),e.d(r,"axisTop",(function(){return ft})),e.d(r,"axisRight",(function(){return st})),e.d(r,"axisBottom",(function(){return lt})),e.d(r,"axisLeft",(function(){return ht})),e.d(r,"brush",(function(){return Li})),e.d(r,"brushX",(function(){return Ri})),e.d(r,"brushY",(function(){return Ui})),e.d(r,"brushSelection",(function(){return Pi})),e.d(r,"chord",(function(){return Bi})),e.d(r,"ribbon",(function(){return uo})),e.d(r,"nest",(function(){return so})),e.d(r,"set",(function(){return mo})),e.d(r,"map",(function(){return fo})),e.d(r,"keys",(function(){return bo})),e.d(r,"values",(function(){return wo})),e.d(r,"entries",(function(){return xo})),e.d(r,"color",(function(){return te})),e.d(r,"rgb",(function(){return ie})),e.d(r,"hsl",(function(){return le})),e.d(r,"lab",(function(){return Po})),e.d(r,"hcl",(function(){return Vo})),e.d(r,"lch",(function(){return Ho})),e.d(r,"gray",(function(){return Oo})),e.d(r,"cubehelix",(function(){return Ko})),e.d(r,"contours",(function(){return cu})),e.d(r,"contourDensity",(function(){return pu})),e.d(r,"dispatch",(function(){return mt})),e.d(r,"drag",(function(){return wu})),e.d(r,"dragDisable",(function(){return Un})),e.d(r,"dragEnable",(function(){return Ln})),e.d(r,"dsvFormat",(function(){return Cu})),e.d(r,"csvParse",(function(){return Ou})),e.d(r,"csvParseRows",(function(){return Pu})),e.d(r,"csvFormat",(function(){return Ru})),e.d(r,"csvFormatBody",(function(){return Uu})),e.d(r,"csvFormatRows",(function(){return Lu})),e.d(r,"csvFormatRow",(function(){return Fu})),e.d(r,"csvFormatValue",(function(){return zu})),e.d(r,"tsvParse",(function(){return Hu})),e.d(r,"tsvParseRows",(function(){return Vu})),e.d(r,"tsvFormat",(function(){return qu})),e.d(r,"tsvFormatBody",(function(){return Wu})),e.d(r,"tsvFormatRows",(function(){return ju})),e.d(r,"tsvFormatRow",(function(){return Bu})),e.d(r,"tsvFormatValue",(function(){return Gu})),e.d(r,"autoType",(function(){return Xu})),e.d(r,"easeLinear",(function(){return $u})),e.d(r,"easeQuad",(function(){return Qu})),e.d(r,"easeQuadIn",(function(){return Ku})),e.d(r,"easeQuadOut",(function(){return Ju})),e.d(r,"easeQuadInOut",(function(){return Qu})),e.d(r,"easeCubic",(function(){return ui})),e.d(r,"easeCubicIn",(function(){return ii})),e.d(r,"easeCubicOut",(function(){return oi})),e.d(r,"easeCubicInOut",(function(){return ui})),e.d(r,"easePoly",(function(){return ea})),e.d(r,"easePolyIn",(function(){return ta})),e.d(r,"easePolyOut",(function(){return na})),e.d(r,"easePolyInOut",(function(){return ea})),e.d(r,"easeSin",(function(){return aa})),e.d(r,"easeSinIn",(function(){return oa})),e.d(r,"easeSinOut",(function(){return ua})),e.d(r,"easeSinInOut",(function(){return aa})),e.d(r,"easeExp",(function(){return sa})),e.d(r,"easeExpIn",(function(){return ca})),e.d(r,"easeExpOut",(function(){return fa})),e.d(r,"easeExpInOut",(function(){return sa})),e.d(r,"easeCircle",(function(){return da})),e.d(r,"easeCircleIn",(function(){return la})),e.d(r,"easeCircleOut",(function(){return ha})),e.d(r,"easeCircleInOut",(function(){return da})),e.d(r,"easeBounce",(function(){return ka})),e.d(r,"easeBounceIn",(function(){return Sa})),e.d(r,"easeBounceOut",(function(){return ka})),e.d(r,"easeBounceInOut",(function(){return Ta})),e.d(r,"easeBack",(function(){return Aa})),e.d(r,"easeBackIn",(function(){return Na})),e.d(r,"easeBackOut",(function(){return Da})),e.d(r,"easeBackInOut",(function(){return Aa})),e.d(r,"easeElastic",(function(){return Ya})),e.d(r,"easeElasticIn",(function(){return Ca})),e.d(r,"easeElasticOut",(function(){return Ya})),e.d(r,"easeElasticInOut",(function(){return Oa})),e.d(r,"blob",(function(){return Ra})),e.d(r,"buffer",(function(){return La})),e.d(r,"dsv",(function(){return Ha})),e.d(r,"csv",(function(){return Va})),e.d(r,"tsv",(function(){return qa})),e.d(r,"image",(function(){return Wa})),e.d(r,"json",(function(){return Ba})),e.d(r,"text",(function(){return za})),e.d(r,"xml",(function(){return Xa})),e.d(r,"html",(function(){return Za})),e.d(r,"svg",(function(){return $a})),e.d(r,"forceCenter",(function(){return Ka})),e.d(r,"forceCollide",(function(){return sc})),e.d(r,"forceLink",(function(){return dc})),e.d(r,"forceManyBody",(function(){return mc})),e.d(r,"forceRadial",(function(){return bc})),e.d(r,"forceSimulation",(function(){return _c})),e.d(r,"forceX",(function(){return wc})),e.d(r,"forceY",(function(){return xc})),e.d(r,"formatDefaultLocale",(function(){return zc})),e.d(r,"format",(function(){return Ec})),e.d(r,"formatPrefix",(function(){return Cc})),e.d(r,"formatLocale",(function(){return Fc})),e.d(r,"formatSpecifier",(function(){return Tc})),e.d(r,"FormatSpecifier",(function(){return Nc})),e.d(r,"precisionFixed",(function(){return Ic})),e.d(r,"precisionPrefix",(function(){return Hc})),e.d(r,"precisionRound",(function(){return Vc})),e.d(r,"geoArea",(function(){return Uf})),e.d(r,"geoBounds",(function(){return Ds})),e.d(r,"geoCentroid",(function(){return Is})),e.d(r,"geoCircle",(function(){return Ks})),e.d(r,"geoClipAntimeridian",(function(){return fl})),e.d(r,"geoClipCircle",(function(){return sl})),e.d(r,"geoClipExtent",(function(){return _l})),e.d(r,"geoClipRectangle",(function(){return pl})),e.d(r,"geoContains",(function(){return Ul})),e.d(r,"geoDistance",(function(){return Nl})),e.d(r,"geoGraticule",(function(){return zl})),e.d(r,"geoGraticule10",(function(){return Il})),e.d(r,"geoInterpolate",(function(){return jl})),e.d(r,"geoLength",(function(){return Sl})),e.d(r,"geoPath",(function(){return qh})),e.d(r,"geoAlbers",(function(){return fd})),e.d(r,"geoAlbersUsa",(function(){return sd})),e.d(r,"geoAzimuthalEqualArea",(function(){return pd})),e.d(r,"geoAzimuthalEqualAreaRaw",(function(){return dd})),e.d(r,"geoAzimuthalEquidistant",(function(){return yd})),e.d(r,"geoAzimuthalEquidistantRaw",(function(){return vd})),e.d(r,"geoConicConformal",(function(){return xd})),e.d(r,"geoConicConformalRaw",(function(){return wd})),e.d(r,"geoConicEqualArea",(function(){return cd})),e.d(r,"geoConicEqualAreaRaw",(function(){return ad})),e.d(r,"geoConicEquidistant",(function(){return Td})),e.d(r,"geoConicEquidistantRaw",(function(){return kd})),e.d(r,"geoEqualEarth",(function(){return Od})),e.d(r,"geoEqualEarthRaw",(function(){return Yd})),e.d(r,"geoEquirectangular",(function(){return Sd})),e.d(r,"geoEquirectangularRaw",(function(){return Md})),e.d(r,"geoGnomonic",(function(){return Rd})),e.d(r,"geoGnomonicRaw",(function(){return Pd})),e.d(r,"geoIdentity",(function(){return Ld})),e.d(r,"geoProjection",(function(){return id})),e.d(r,"geoProjectionMutator",(function(){return od})),e.d(r,"geoMercator",(function(){return _d})),e.d(r,"geoMercatorRaw",(function(){return gd})),e.d(r,"geoNaturalEarth1",(function(){return zd})),e.d(r,"geoNaturalEarth1Raw",(function(){return Fd})),e.d(r,"geoOrthographic",(function(){return Hd})),e.d(r,"geoOrthographicRaw",(function(){return Id})),e.d(r,"geoStereographic",(function(){return qd})),e.d(r,"geoStereographicRaw",(function(){return Vd})),e.d(r,"geoTransverseMercator",(function(){return jd})),e.d(r,"geoTransverseMercatorRaw",(function(){return Wd})),e.d(r,"geoRotation",(function(){return Xs})),e.d(r,"geoStream",(function(){return Df})),e.d(r,"geoTransform",(function(){return Wh})),e.d(r,"cluster",(function(){return Zd})),e.d(r,"hierarchy",(function(){return Kd})),e.d(r,"pack",(function(){return xp})),e.d(r,"packSiblings",(function(){return yp})),e.d(r,"packEnclose",(function(){return rp})),e.d(r,"partition",(function(){return Dp})),e.d(r,"stratify",(function(){return Pp})),e.d(r,"tree",(function(){return Hp})),e.d(r,"treemap",(function(){return Bp})),e.d(r,"treemapBinary",(function(){return Gp})),e.d(r,"treemapDice",(function(){return Np})),e.d(r,"treemapSlice",(function(){return Vp})),e.d(r,"treemapSliceDice",(function(){return Xp})),e.d(r,"treemapSquarify",(function(){return jp})),e.d(r,"treemapResquarify",(function(){return Zp})),e.d(r,"interpolate",(function(){return Fe})),e.d(r,"interpolateArray",(function(){return De})),e.d(r,"interpolateBasis",(function(){return ve})),e.d(r,"interpolateBasisClosed",(function(){return ye})),e.d(r,"interpolateDate",(function(){return Ee})),e.d(r,"interpolateDiscrete",(function(){return $p})),e.d(r,"interpolateHue",(function(){return Kp})),e.d(r,"interpolateNumber",(function(){return Ce})),e.d(r,"interpolateNumberArray",(function(){return Te})),e.d(r,"interpolateObject",(function(){return Ye})),e.d(r,"interpolateRound",(function(){return Jp})),e.d(r,"interpolateString",(function(){return Le})),e.d(r,"interpolateTransformCss",(function(){return Ar})),e.d(r,"interpolateTransformSvg",(function(){return Er})),e.d(r,"interpolateZoom",(function(){return nv})),e.d(r,"interpolateRgb",(function(){return xe})),e.d(r,"interpolateRgbBasis",(function(){return Se})),e.d(r,"interpolateRgbBasisClosed",(function(){return ke})),e.d(r,"interpolateHsl",(function(){return rv})),e.d(r,"interpolateHslLong",(function(){return iv})),e.d(r,"interpolateLab",(function(){return ov})),e.d(r,"interpolateHcl",(function(){return av})),e.d(r,"interpolateHclLong",(function(){return cv})),e.d(r,"interpolateCubehelix",(function(){return sv})),e.d(r,"interpolateCubehelixLong",(function(){return lv})),e.d(r,"piecewise",(function(){return hv})),e.d(r,"quantize",(function(){return dv})),e.d(r,"path",(function(){return to})),e.d(r,"polygonArea",(function(){return pv})),e.d(r,"polygonCentroid",(function(){return vv})),e.d(r,"polygonHull",(function(){return mv})),e.d(r,"polygonContains",(function(){return bv})),e.d(r,"polygonLength",(function(){return wv})),e.d(r,"quadtree",(function(){return ic})),e.d(r,"randomUniform",(function(){return Mv})),e.d(r,"randomNormal",(function(){return Sv})),e.d(r,"randomLogNormal",(function(){return kv})),e.d(r,"randomBates",(function(){return Nv})),e.d(r,"randomIrwinHall",(function(){return Tv})),e.d(r,"randomExponential",(function(){return Dv})),e.d(r,"scaleBand",(function(){return Uv})),e.d(r,"scalePoint",(function(){return Lv})),e.d(r,"scaleIdentity",(function(){return Jv})),e.d(r,"scaleLinear",(function(){return Kv})),e.d(r,"scaleLog",(function(){return ay})),e.d(r,"scaleSymlog",(function(){return ly})),e.d(r,"scaleOrdinal",(function(){return Rv})),e.d(r,"scaleImplicit",(function(){return Pv})),e.d(r,"scalePow",(function(){return yy})),e.d(r,"scaleSqrt",(function(){return gy})),e.d(r,"scaleQuantile",(function(){return _y})),e.d(r,"scaleQuantize",(function(){return my})),e.d(r,"scaleThreshold",(function(){return by})),e.d(r,"scaleTime",(function(){return um})),e.d(r,"scaleUtc",(function(){return ym})),e.d(r,"scaleSequential",(function(){return mm})),e.d(r,"scaleSequentialLog",(function(){return bm})),e.d(r,"scaleSequentialPow",(function(){return xm})),e.d(r,"scaleSequentialSqrt",(function(){return Mm})),e.d(r,"scaleSequentialSymlog",(function(){return wm})),e.d(r,"scaleSequentialQuantile",(function(){return Sm})),e.d(r,"scaleDiverging",(function(){return Tm})),e.d(r,"scaleDivergingLog",(function(){return Nm})),e.d(r,"scaleDivergingPow",(function(){return Am})),e.d(r,"scaleDivergingSqrt",(function(){return Em})),e.d(r,"scaleDivergingSymlog",(function(){return Dm})),e.d(r,"tickFormat",(function(){return Zv})),e.d(r,"schemeCategory10",(function(){return Ym})),e.d(r,"schemeAccent",(function(){return Om})),e.d(r,"schemeDark2",(function(){return Pm})),e.d(r,"schemePaired",(function(){return Rm})),e.d(r,"schemePastel1",(function(){return Um})),e.d(r,"schemePastel2",(function(){return Lm})),e.d(r,"schemeSet1",(function(){return Fm})),e.d(r,"schemeSet2",(function(){return zm})),e.d(r,"schemeSet3",(function(){return Im})),e.d(r,"schemeTableau10",(function(){return Hm})),e.d(r,"interpolateBrBG",(function(){return Wm})),e.d(r,"schemeBrBG",(function(){return qm})),e.d(r,"interpolatePRGn",(function(){return Bm})),e.d(r,"schemePRGn",(function(){return jm})),e.d(r,"interpolatePiYG",(function(){return Xm})),e.d(r,"schemePiYG",(function(){return Gm})),e.d(r,"interpolatePuOr",(function(){return $m})),e.d(r,"schemePuOr",(function(){return Zm})),e.d(r,"interpolateRdBu",(function(){return Jm})),e.d(r,"schemeRdBu",(function(){return Km})),e.d(r,"interpolateRdGy",(function(){return tb})),e.d(r,"schemeRdGy",(function(){return Qm})),e.d(r,"interpolateRdYlBu",(function(){return eb})),e.d(r,"schemeRdYlBu",(function(){return nb})),e.d(r,"interpolateRdYlGn",(function(){return ib})),e.d(r,"schemeRdYlGn",(function(){return rb})),e.d(r,"interpolateSpectral",(function(){return ub})),e.d(r,"schemeSpectral",(function(){return ob})),e.d(r,"interpolateBuGn",(function(){return cb})),e.d(r,"schemeBuGn",(function(){return ab})),e.d(r,"interpolateBuPu",(function(){return sb})),e.d(r,"schemeBuPu",(function(){return fb})),e.d(r,"interpolateGnBu",(function(){return hb})),e.d(r,"schemeGnBu",(function(){return lb})),e.d(r,"interpolateOrRd",(function(){return pb})),e.d(r,"schemeOrRd",(function(){return db})),e.d(r,"interpolatePuBuGn",(function(){return yb})),e.d(r,"schemePuBuGn",(function(){return vb})),e.d(r,"interpolatePuBu",(function(){return _b})),e.d(r,"schemePuBu",(function(){return gb})),e.d(r,"interpolatePuRd",(function(){return bb})),e.d(r,"schemePuRd",(function(){return mb})),e.d(r,"interpolateRdPu",(function(){return xb})),e.d(r,"schemeRdPu",(function(){return wb})),e.d(r,"interpolateYlGnBu",(function(){return Sb})),e.d(r,"schemeYlGnBu",(function(){return Mb})),e.d(r,"interpolateYlGn",(function(){return Tb})),e.d(r,"schemeYlGn",(function(){return kb})),e.d(r,"interpolateYlOrBr",(function(){return Db})),e.d(r,"schemeYlOrBr",(function(){return Nb})),e.d(r,"interpolateYlOrRd",(function(){return Eb})),e.d(r,"schemeYlOrRd",(function(){return Ab})),e.d(r,"interpolateBlues",(function(){return Yb})),e.d(r,"schemeBlues",(function(){return Cb})),e.d(r,"interpolateGreens",(function(){return Pb})),e.d(r,"schemeGreens",(function(){return Ob})),e.d(r,"interpolateGreys",(function(){return Ub})),e.d(r,"schemeGreys",(function(){return Rb})),e.d(r,"interpolatePurples",(function(){return Fb})),e.d(r,"schemePurples",(function(){return Lb})),e.d(r,"interpolateReds",(function(){return Ib})),e.d(r,"schemeReds",(function(){return zb})),e.d(r,"interpolateOranges",(function(){return Vb})),e.d(r,"schemeOranges",(function(){return Hb})),e.d(r,"interpolateCividis",(function(){return qb})),e.d(r,"interpolateCubehelixDefault",(function(){return Wb})),e.d(r,"interpolateRainbow",(function(){return Xb})),e.d(r,"interpolateWarm",(function(){return jb})),e.d(r,"interpolateCool",(function(){return Bb})),e.d(r,"interpolateSinebow",(function(){return Jb})),e.d(r,"interpolateTurbo",(function(){return Qb})),e.d(r,"interpolateViridis",(function(){return nw})),e.d(r,"interpolateMagma",(function(){return ew})),e.d(r,"interpolateInferno",(function(){return rw})),e.d(r,"interpolatePlasma",(function(){return iw})),e.d(r,"create",(function(){return ow})),e.d(r,"creator",(function(){return dn})),e.d(r,"local",(function(){return aw})),e.d(r,"matcher",(function(){return St})),e.d(r,"mouse",(function(){return Ve})),e.d(r,"namespace",(function(){return Ot})),e.d(r,"namespaces",(function(){return Yt})),e.d(r,"clientPoint",(function(){return Ie})),e.d(r,"select",(function(){return On})),e.d(r,"selectAll",(function(){return fw})),e.d(r,"selection",(function(){return Yn})),e.d(r,"selector",(function(){return wt})),e.d(r,"selectorAll",(function(){return Mt})),e.d(r,"style",(function(){return Wt})),e.d(r,"touch",(function(){return He})),e.d(r,"touches",(function(){return sw})),e.d(r,"window",(function(){return It})),e.d(r,"event",(function(){return mn})),e.d(r,"customEvent",(function(){return kn})),e.d(r,"arc",(function(){return Ew})),e.d(r,"area",(function(){return Uw})),e.d(r,"line",(function(){return Rw})),e.d(r,"pie",(function(){return zw})),e.d(r,"areaRadial",(function(){return jw})),e.d(r,"radialArea",(function(){return jw})),e.d(r,"lineRadial",(function(){return Ww})),e.d(r,"radialLine",(function(){return Ww})),e.d(r,"pointRadial",(function(){return Bw})),e.d(r,"linkHorizontal",(function(){return tx})),e.d(r,"linkVertical",(function(){return nx})),e.d(r,"linkRadial",(function(){return ex})),e.d(r,"symbol",(function(){return bx})),e.d(r,"symbols",(function(){return mx})),e.d(r,"symbolCircle",(function(){return rx})),e.d(r,"symbolCross",(function(){return ix})),e.d(r,"symbolDiamond",(function(){return ax})),e.d(r,"symbolSquare",(function(){return hx})),e.d(r,"symbolStar",(function(){return lx})),e.d(r,"symbolTriangle",(function(){return px})),e.d(r,"symbolWye",(function(){return _x})),e.d(r,"curveBasisClosed",(function(){return Tx})),e.d(r,"curveBasisOpen",(function(){return Dx})),e.d(r,"curveBasis",(function(){return Sx})),e.d(r,"curveBundle",(function(){return Ex})),e.d(r,"curveCardinalClosed",(function(){return Rx})),e.d(r,"curveCardinalOpen",(function(){return Lx})),e.d(r,"curveCardinal",(function(){return Ox})),e.d(r,"curveCatmullRomClosed",(function(){return Vx})),e.d(r,"curveCatmullRomOpen",(function(){return Wx})),e.d(r,"curveCatmullRom",(function(){return Ix})),e.d(r,"curveLinearClosed",(function(){return Bx})),e.d(r,"curveLinear",(function(){return Yw})),e.d(r,"curveMonotoneX",(function(){return tM})),e.d(r,"curveMonotoneY",(function(){return nM})),e.d(r,"curveNatural",(function(){return iM})),e.d(r,"curveStep",(function(){return uM})),e.d(r,"curveStepAfter",(function(){return cM})),e.d(r,"curveStepBefore",(function(){return aM})),e.d(r,"stack",(function(){return hM})),e.d(r,"stackOffsetExpand",(function(){return dM})),e.d(r,"stackOffsetDiverging",(function(){return pM})),e.d(r,"stackOffsetNone",(function(){return fM})),e.d(r,"stackOffsetSilhouette",(function(){return vM})),e.d(r,"stackOffsetWiggle",(function(){return yM})),e.d(r,"stackOrderAppearance",(function(){return gM})),e.d(r,"stackOrderAscending",(function(){return mM})),e.d(r,"stackOrderDescending",(function(){return wM})),e.d(r,"stackOrderInsideOut",(function(){return xM})),e.d(r,"stackOrderNone",(function(){return sM})),e.d(r,"stackOrderReverse",(function(){return MM})),e.d(r,"timeInterval",(function(){return My})),e.d(r,"timeMillisecond",(function(){return ug})),e.d(r,"timeMilliseconds",(function(){return ag})),e.d(r,"utcMillisecond",(function(){return ug})),e.d(r,"utcMilliseconds",(function(){return ag})),e.d(r,"timeSecond",(function(){return rg})),e.d(r,"timeSeconds",(function(){return ig})),e.d(r,"utcSecond",(function(){return rg})),e.d(r,"utcSeconds",(function(){return ig})),e.d(r,"timeMinute",(function(){return tg})),e.d(r,"timeMinutes",(function(){return ng})),e.d(r,"timeHour",(function(){return Ky})),e.d(r,"timeHours",(function(){return Jy})),e.d(r,"timeDay",(function(){return Xy})),e.d(r,"timeDays",(function(){return Zy})),e.d(r,"timeWeek",(function(){return Oy})),e.d(r,"timeWeeks",(function(){return Iy})),e.d(r,"timeSunday",(function(){return Oy})),e.d(r,"timeSundays",(function(){return Iy})),e.d(r,"timeMonday",(function(){return Py})),e.d(r,"timeMondays",(function(){return Hy})),e.d(r,"timeTuesday",(function(){return Ry})),e.d(r,"timeTuesdays",(function(){return Vy})),e.d(r,"timeWednesday",(function(){return Uy})),e.d(r,"timeWednesdays",(function(){return qy})),e.d(r,"timeThursday",(function(){return Ly})),e.d(r,"timeThursdays",(function(){return Wy})),e.d(r,"timeFriday",(function(){return Fy})),e.d(r,"timeFridays",(function(){return jy})),e.d(r,"timeSaturday",(function(){return zy})),e.d(r,"timeSaturdays",(function(){return By})),e.d(r,"timeMonth",(function(){return Dy})),e.d(r,"timeMonths",(function(){return Ay})),e.d(r,"timeYear",(function(){return ky})),e.d(r,"timeYears",(function(){return Ty})),e.d(r,"utcMinute",(function(){return pm})),e.d(r,"utcMinutes",(function(){return vm})),e.d(r,"utcHour",(function(){return lm})),e.d(r,"utcHours",(function(){return hm})),e.d(r,"utcDay",(function(){return Sg})),e.d(r,"utcDays",(function(){return kg})),e.d(r,"utcWeek",(function(){return fg})),e.d(r,"utcWeeks",(function(){return yg})),e.d(r,"utcSunday",(function(){return fg})),e.d(r,"utcSundays",(function(){return yg})),e.d(r,"utcMonday",(function(){return sg})),e.d(r,"utcMondays",(function(){return gg})),e.d(r,"utcTuesday",(function(){return lg})),e.d(r,"utcTuesdays",(function(){return _g})),e.d(r,"utcWednesday",(function(){return hg})),e.d(r,"utcWednesdays",(function(){return mg})),e.d(r,"utcThursday",(function(){return dg})),e.d(r,"utcThursdays",(function(){return bg})),e.d(r,"utcFriday",(function(){return pg})),e.d(r,"utcFridays",(function(){return wg})),e.d(r,"utcSaturday",(function(){return vg})),e.d(r,"utcSaturdays",(function(){return xg})),e.d(r,"utcMonth",(function(){return cm})),e.d(r,"utcMonths",(function(){return fm})),e.d(r,"utcYear",(function(){return Ng})),e.d(r,"utcYears",(function(){return Dg})),e.d(r,"timeFormatDefaultLocale",(function(){return Z_})),e.d(r,"timeFormat",(function(){return Pg})),e.d(r,"timeParse",(function(){return Rg})),e.d(r,"utcFormat",(function(){return Ug})),e.d(r,"utcParse",(function(){return Lg})),e.d(r,"timeFormatLocale",(function(){return Yg})),e.d(r,"isoFormat",(function(){return SM})),e.d(r,"isoParse",(function(){return kM})),e.d(r,"now",(function(){return Je})),e.d(r,"timer",(function(){return nr})),e.d(r,"timerFlush",(function(){return er})),e.d(r,"timeout",(function(){return ur})),e.d(r,"interval",(function(){return TM})),e.d(r,"transition",(function(){return ni})),e.d(r,"active",(function(){return si})),e.d(r,"interrupt",(function(){return Sr})),e.d(r,"voronoi",(function(){return lS})),e.d(r,"zoom",(function(){return kS})),e.d(r,"zoomTransform",(function(){return yS})),e.d(r,"zoomIdentity",(function(){return vS}));e("XfO3"),e("HEwt"),e("a1Th"),e("Btvt"),e("rE2o"),e("ioFf"),e("rGqo");var i=e("q1tI"),o=e.n(i),u="5.14.2",a=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},c=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return a(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}};var f=c(a),s=f.right,l=f.left,h=s,d=function(t,n){null==n&&(n=p);for(var e=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);e<r;)o[e]=n(i,i=t[++e]);return o};function p(t,n){return[t,n]}var v=function(t,n,e){var r,i,o,u,a=t.length,c=n.length,f=new Array(a*c);for(null==e&&(e=p),r=o=0;r<a;++r)for(u=t[r],i=0;i<c;++i,++o)f[o]=e(u,n[i]);return f},y=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},g=function(t){return null===t?NaN:+t},_=function(t,n){var e,r,i=t.length,o=0,u=-1,a=0,c=0;if(null==n)for(;++u<i;)isNaN(e=g(t[u]))||(c+=(r=e-a)*(e-(a+=r/++o)));else for(;++u<i;)isNaN(e=g(n(t[u],u,t)))||(c+=(r=e-a)*(e-(a+=r/++o)));if(o>1)return c/(o-1)},m=function(t,n){var e=_(t,n);return e?Math.sqrt(e):e},b=function(t,n){var e,r,i,o=t.length,u=-1;if(null==n){for(;++u<o;)if(null!=(e=t[u])&&e>=e)for(r=i=e;++u<o;)null!=(e=t[u])&&(r>e&&(r=e),i<e&&(i=e))}else for(;++u<o;)if(null!=(e=n(t[u],u,t))&&e>=e)for(r=i=e;++u<o;)null!=(e=n(t[u],u,t))&&(r>e&&(r=e),i<e&&(i=e));return[r,i]},w=(e("LK8F"),e("bWfx"),Array.prototype),x=w.slice,M=w.map,S=function(t){return function(){return t}},k=function(t){return t},T=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o},N=Math.sqrt(50),D=Math.sqrt(10),A=Math.sqrt(2),E=function(t,n,e){var r,i,o,u,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=C(t,n,e))||!isFinite(u))return[];if(u>0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++a<i;)o[a]=(t+a)*u;else for(t=Math.floor(t*u),n=Math.ceil(n*u),o=new Array(i=Math.ceil(t-n+1));++a<i;)o[a]=(t-a)/u;return r&&o.reverse(),o};function C(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=N?10:o>=D?5:o>=A?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=N?10:o>=D?5:o>=A?2:1)}function Y(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=N?i*=10:o>=D?i*=5:o>=A&&(i*=2),n<t?-i:i}var O=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},P=function(){var t=k,n=b,e=O;function r(r){var i,o,u=r.length,a=new Array(u);for(i=0;i<u;++i)a[i]=t(r[i],i,r);var c=n(a),f=c[0],s=c[1],l=e(a,f,s);Array.isArray(l)||(l=Y(f,s,l),l=T(Math.ceil(f/l)*l,s,l));for(var d=l.length;l[0]<=f;)l.shift(),--d;for(;l[d-1]>s;)l.pop(),--d;var p,v=new Array(d+1);for(i=0;i<=d;++i)(p=v[i]=[]).x0=i>0?l[i-1]:f,p.x1=i<d?l[i]:s;for(i=0;i<u;++i)f<=(o=a[i])&&o<=s&&v[h(l,o,0,d)].push(r[i]);return v}return r.value=function(n){return arguments.length?(t="function"==typeof n?n:S(n),r):t},r.domain=function(t){return arguments.length?(n="function"==typeof t?t:S([t[0],t[1]]),r):n},r.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?S(x.call(t)):S(t),r):e},r},R=(e("Vd3H"),function(t,n,e){if(null==e&&(e=g),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}),U=function(t,n,e){return t=M.call(t,g).sort(a),Math.ceil((e-n)/(2*(R(t,.75)-R(t,.25))*Math.pow(t.length,-1/3)))},L=function(t,n,e){return Math.ceil((e-n)/(3.5*m(t)*Math.pow(t.length,-1/3)))},F=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r},z=function(t,n){var e,r=t.length,i=r,o=-1,u=0;if(null==n)for(;++o<r;)isNaN(e=g(t[o]))?--i:u+=e;else for(;++o<r;)isNaN(e=g(n(t[o],o,t)))?--i:u+=e;if(i)return u/i},I=function(t,n){var e,r=t.length,i=-1,o=[];if(null==n)for(;++i<r;)isNaN(e=g(t[i]))||o.push(e);else for(;++i<r;)isNaN(e=g(n(t[i],i,t)))||o.push(e);return R(o.sort(a),.5)},H=function(t){for(var n,e,r,i=t.length,o=-1,u=0;++o<i;)u+=t[o].length;for(e=new Array(u);--i>=0;)for(n=(r=t[i]).length;--n>=0;)e[--u]=r[n];return e},V=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&r>e&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&r>e&&(r=e);return r},q=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r},W=function(t,n){if(e=t.length){var e,r,i=0,o=0,u=t[o];for(null==n&&(n=a);++i<e;)(n(r=t[i],u)<0||0!==n(u,u))&&(u=r,o=i);return 0===n(u,u)?o:void 0}},j=function(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t},B=function(t,n){var e,r=t.length,i=-1,o=0;if(null==n)for(;++i<r;)(e=+t[i])&&(o+=e);else for(;++i<r;)(e=+n(t[i],i,t))&&(o+=e);return o},G=function(t){if(!(i=t.length))return[];for(var n=-1,e=V(t,X),r=new Array(e);++n<e;)for(var i,o=-1,u=r[n]=new Array(i);++o<i;)u[o]=t[o][n];return r};function X(t){return t.length}var Z=function(){return G(arguments)},$=(e("0l/t"),Array.prototype.slice),K=function(t){return t},J=1,Q=2,tt=3,nt=4,et=1e-6;function rt(t){return"translate("+(t+.5)+",0)"}function it(t){return"translate(0,"+(t+.5)+")"}function ot(t){return function(n){return+t(n)}}function ut(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}function at(){return!this.__axis}function ct(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,c=t===J||t===nt?-1:1,f=t===nt||t===Q?"x":"y",s=t===J||t===tt?rt:it;function l(l){var h=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,d=null==i?n.tickFormat?n.tickFormat.apply(n,e):K:i,p=Math.max(o,0)+a,v=n.range(),y=+v[0]+.5,g=+v[v.length-1]+.5,_=(n.bandwidth?ut:ot)(n.copy()),m=l.selection?l.selection():l,b=m.selectAll(".domain").data([null]),w=m.selectAll(".tick").data(h,n).order(),x=w.exit(),M=w.enter().append("g").attr("class","tick"),S=w.select("line"),k=w.select("text");b=b.merge(b.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(M),S=S.merge(M.append("line").attr("stroke","currentColor").attr(f+"2",c*o)),k=k.merge(M.append("text").attr("fill","currentColor").attr(f,c*p).attr("dy",t===J?"0em":t===tt?"0.71em":"0.32em")),l!==m&&(b=b.transition(l),w=w.transition(l),S=S.transition(l),k=k.transition(l),x=x.transition(l).attr("opacity",et).attr("transform",(function(t){return isFinite(t=_(t))?s(t):this.getAttribute("transform")})),M.attr("opacity",et).attr("transform",(function(t){var n=this.parentNode.__axis;return s(n&&isFinite(n=n(t))?n:_(t))}))),x.remove(),b.attr("d",t===nt||t==Q?u?"M"+c*u+","+y+"H0.5V"+g+"H"+c*u:"M0.5,"+y+"V"+g:u?"M"+y+","+c*u+"V0.5H"+g+"V"+c*u:"M"+y+",0.5H"+g),w.attr("opacity",1).attr("transform",(function(t){return s(_(t))})),S.attr(f+"2",c*o),k.attr(f,c*p).text(d),m.filter(at).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Q?"start":t===nt?"end":"middle"),m.each((function(){this.__axis=_}))}return l.scale=function(t){return arguments.length?(n=t,l):n},l.ticks=function(){return e=$.call(arguments),l},l.tickArguments=function(t){return arguments.length?(e=null==t?[]:$.call(t),l):e.slice()},l.tickValues=function(t){return arguments.length?(r=null==t?null:$.call(t),l):r&&r.slice()},l.tickFormat=function(t){return arguments.length?(i=t,l):i},l.tickSize=function(t){return arguments.length?(o=u=+t,l):o},l.tickSizeInner=function(t){return arguments.length?(o=+t,l):o},l.tickSizeOuter=function(t){return arguments.length?(u=+t,l):u},l.tickPadding=function(t){return arguments.length?(a=+t,l):a},l}function ft(t){return ct(J,t)}function st(t){return ct(Q,t)}function lt(t){return ct(tt,t)}function ht(t){return ct(nt,t)}e("f3/d"),e("V+eJ"),e("Tze0"),e("KKXr");var dt={value:function(){}};function pt(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new vt(r)}function vt(t){this._=t}function yt(t,n){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function gt(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function _t(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=dt,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}vt.prototype=pt.prototype={constructor:vt,on:function(t,n){var e,r=this._,i=yt(t+"",r),o=-1,u=i.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<u;)if(e=(t=i[o]).type)r[e]=_t(r[e],t.name,n);else if(null==n)for(e in r)r[e]=_t(r[e],t.name,null);return this}for(;++o<u;)if((e=(t=i[o]).type)&&(e=gt(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new vt(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var mt=pt;function bt(){}var wt=function(t){return null==t?bt:function(){return this.querySelector(t)}};function xt(){return[]}var Mt=function(t){return null==t?xt:function(){return this.querySelectorAll(t)}},St=function(t){return function(){return this.matches(t)}},kt=function(t){return new Array(t.length)};function Tt(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}Tt.prototype={constructor:Tt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Nt="$";function Dt(t,n,e,r,i,o){for(var u,a=0,c=n.length,f=o.length;a<f;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new Tt(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function At(t,n,e,r,i,o,u){var a,c,f,s={},l=n.length,h=o.length,d=new Array(l);for(a=0;a<l;++a)(c=n[a])&&(d[a]=f=Nt+u.call(c,c.__data__,a,n),f in s?i[a]=c:s[f]=c);for(a=0;a<h;++a)(c=s[f=Nt+u.call(t,o[a],a,o)])?(r[a]=c,c.__data__=o[a],s[f]=null):e[a]=new Tt(t,o[a]);for(a=0;a<l;++a)(c=n[a])&&s[d[a]]===c&&(i[a]=c)}function Et(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}var Ct="http://www.w3.org/1999/xhtml",Yt={svg:"http://www.w3.org/2000/svg",xhtml:Ct,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ot=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Yt.hasOwnProperty(n)?{space:Yt[n],local:t}:t};function Pt(t){return function(){this.removeAttribute(t)}}function Rt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ut(t,n){return function(){this.setAttribute(t,n)}}function Lt(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Ft(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function zt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var It=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Ht(t){return function(){this.style.removeProperty(t)}}function Vt(t,n,e){return function(){this.style.setProperty(t,n,e)}}function qt(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function Wt(t,n){return t.style.getPropertyValue(n)||It(t).getComputedStyle(t,null).getPropertyValue(n)}function jt(t){return function(){delete this[t]}}function Bt(t,n){return function(){this[t]=n}}function Gt(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Xt(t){return t.trim().split(/^|\s+/)}function Zt(t){return t.classList||new $t(t)}function $t(t){this._node=t,this._names=Xt(t.getAttribute("class")||"")}function Kt(t,n){for(var e=Zt(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function Jt(t,n){for(var e=Zt(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function Qt(t){return function(){Kt(this,t)}}function tn(t){return function(){Jt(this,t)}}function nn(t,n){return function(){(n.apply(this,arguments)?Kt:Jt)(this,t)}}$t.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function en(){this.textContent=""}function rn(t){return function(){this.textContent=t}}function on(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function un(){this.innerHTML=""}function an(t){return function(){this.innerHTML=t}}function cn(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function fn(){this.nextSibling&&this.parentNode.appendChild(this)}function sn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ln(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===Ct&&n.documentElement.namespaceURI===Ct?n.createElement(t):n.createElementNS(e,t)}}function hn(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var dn=function(t){var n=Ot(t);return(n.local?hn:ln)(n)};function pn(){return null}function vn(){var t=this.parentNode;t&&t.removeChild(this)}function yn(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function gn(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}var _n={},mn=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(_n={mouseenter:"mouseover",mouseleave:"mouseout"}));function bn(t,n,e){return t=wn(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function wn(t,n,e){return function(r){var i=mn;mn=r;try{t.call(this,this.__data__,n,e)}finally{mn=i}}}function xn(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function Mn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function Sn(t,n,e){var r=_n.hasOwnProperty(t.type)?bn:wn;return function(i,o,u){var a,c=this.__on,f=r(n,o,u);if(c)for(var s=0,l=c.length;s<l;++s)if((a=c[s]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=f,a.capture=e),void(a.value=n);this.addEventListener(t.type,f,e),a={type:t.type,name:t.name,value:n,listener:f,capture:e},c?c.push(a):this.__on=[a]}}function kn(t,n,e,r){var i=mn;t.sourceEvent=mn,mn=t;try{return n.apply(e,r)}finally{mn=i}}function Tn(t,n,e){var r=It(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function Nn(t,n){return function(){return Tn(this,t,n)}}function Dn(t,n){return function(){return Tn(this,t,n.apply(this,arguments))}}var An=[null];function En(t,n){this._groups=t,this._parents=n}function Cn(){return new En([[document.documentElement]],An)}En.prototype=Cn.prototype={constructor:En,select:function(t){"function"!=typeof t&&(t=wt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,f=r[i]=new Array(c),s=0;s<c;++s)(o=a[s])&&(u=t.call(o,o.__data__,s,a))&&("__data__"in o&&(u.__data__=o.__data__),f[s]=u);return new En(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=Mt(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,f=0;f<c;++f)(u=a[f])&&(r.push(t.call(u,u.__data__,f,a)),i.push(u));return new En(r,i)},filter:function(t){"function"!=typeof t&&(t=St(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new En(r,this._parents)},data:function(t,n){if(!t)return p=new Array(this.size()),s=-1,this.each((function(t){p[++s]=t})),p;var e,r=n?At:Dt,i=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var u=o.length,a=new Array(u),c=new Array(u),f=new Array(u),s=0;s<u;++s){var l=i[s],h=o[s],d=h.length,p=t.call(l,l&&l.__data__,s,i),v=p.length,y=c[s]=new Array(v),g=a[s]=new Array(v);r(l,h,y,g,f[s]=new Array(d),p,n);for(var _,m,b=0,w=0;b<v;++b)if(_=y[b]){for(b>=w&&(w=b+1);!(m=g[w])&&++w<v;);_._next=m||null}}return(a=new En(a,i))._enter=c,a._exit=f,a},enter:function(){return new En(this._enter||this._groups.map(kt),this._parents)},exit:function(){return new En(this._exit||this._groups.map(kt),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],s=e[a],l=f.length,h=u[a]=new Array(l),d=0;d<l;++d)(c=f[d]||s[d])&&(h[d]=c);for(;a<r;++a)u[a]=n[a];return new En(u,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=Et);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,f=i[o]=new Array(c),s=0;s<c;++s)(u=a[s])&&(f[s]=u);f.sort(n)}return new En(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),n=-1;return this.each((function(){t[++n]=this})),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=Ot(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?Rt:Pt:"function"==typeof n?e.local?zt:Ft:e.local?Lt:Ut)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?Ht:"function"==typeof n?qt:Vt)(t,n,null==e?"":e)):Wt(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?jt:"function"==typeof n?Gt:Bt)(t,n)):this.node()[t]},classed:function(t,n){var e=Xt(t+"");if(arguments.length<2){for(var r=Zt(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?nn:n?Qt:tn)(e,n))},text:function(t){return arguments.length?this.each(null==t?en:("function"==typeof t?on:rn)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?un:("function"==typeof t?cn:an)(t)):this.node().innerHTML},raise:function(){return this.each(fn)},lower:function(){return this.each(sn)},append:function(t){var n="function"==typeof t?t:dn(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"==typeof t?t:dn(t),r=null==n?pn:"function"==typeof n?n:wt(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(vn)},clone:function(t){return this.select(t?gn:yn)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=xn(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?Sn:Mn,null==e&&(e=!1),r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,f=0,s=a.length;f<s;++f)for(r=0,c=a[f];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,n){return this.each(("function"==typeof n?Dn:Nn)(t,n))}};var Yn=Cn,On=function(t){return"string"==typeof t?new En([[document.querySelector(t)]],[document.documentElement]):new En([[t]],An)};function Pn(){mn.stopImmediatePropagation()}var Rn=function(){mn.preventDefault(),mn.stopImmediatePropagation()},Un=function(t){var n=t.document.documentElement,e=On(t).on("dragstart.drag",Rn,!0);"onselectstart"in n?e.on("selectstart.drag",Rn,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")};function Ln(t,n){var e=t.document.documentElement,r=On(t).on("dragstart.drag",null);n&&(r.on("click.drag",Rn,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}e("h7Nl"),e("91GP"),e("Oyvg"),e("hHhE");var Fn=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t};function zn(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function In(){}var Hn="\\s*([+-]?\\d+)\\s*",Vn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",qn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Wn=/^#([0-9a-f]{3,8})$/,jn=new RegExp("^rgb\\("+[Hn,Hn,Hn]+"\\)$"),Bn=new RegExp("^rgb\\("+[qn,qn,qn]+"\\)$"),Gn=new RegExp("^rgba\\("+[Hn,Hn,Hn,Vn]+"\\)$"),Xn=new RegExp("^rgba\\("+[qn,qn,qn,Vn]+"\\)$"),Zn=new RegExp("^hsl\\("+[Vn,qn,qn]+"\\)$"),$n=new RegExp("^hsla\\("+[Vn,qn,qn,Vn]+"\\)$"),Kn={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 Jn(){return this.rgb().formatHex()}function Qn(){return this.rgb().formatRgb()}function te(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Wn.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?ne(n):3===e?new oe(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?new oe(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?new oe(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=jn.exec(t))?new oe(n[1],n[2],n[3],1):(n=Bn.exec(t))?new oe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Gn.exec(t))?ee(n[1],n[2],n[3],n[4]):(n=Xn.exec(t))?ee(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Zn.exec(t))?fe(n[1],n[2]/100,n[3]/100,1):(n=$n.exec(t))?fe(n[1],n[2]/100,n[3]/100,n[4]):Kn.hasOwnProperty(t)?ne(Kn[t]):"transparent"===t?new oe(NaN,NaN,NaN,0):null}function ne(t){return new oe(t>>16&255,t>>8&255,255&t,1)}function ee(t,n,e,r){return r<=0&&(t=n=e=NaN),new oe(t,n,e,r)}function re(t){return t instanceof In||(t=te(t)),t?new oe((t=t.rgb()).r,t.g,t.b,t.opacity):new oe}function ie(t,n,e,r){return 1===arguments.length?re(t):new oe(t,n,e,null==r?1:r)}function oe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function ue(){return"#"+ce(this.r)+ce(this.g)+ce(this.b)}function ae(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function ce(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function fe(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new he(t,n,e,r)}function se(t){if(t instanceof he)return new he(t.h,t.s,t.l,t.opacity);if(t instanceof In||(t=te(t)),!t)return new he;if(t instanceof he)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,c=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e<r):e===o?(r-n)/a+2:(n-e)/a+4,a/=c<.5?o+i:2-o-i,u*=60):a=c>0&&c<1?0:u,new he(u,a,c,t.opacity)}function le(t,n,e,r){return 1===arguments.length?se(t):new he(t,n,e,null==r?1:r)}function he(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function de(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function pe(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}Fn(In,te,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Jn,formatHex:Jn,formatHsl:function(){return se(this).formatHsl()},formatRgb:Qn,toString:Qn}),Fn(oe,ie,zn(In,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new oe(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new oe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ue,formatHex:ue,formatRgb:ae,toString:ae})),Fn(he,le,zn(In,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new he(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new he(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new oe(de(t>=240?t-240:t+120,i,r),de(t,i,r),de(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var ve=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=r<n-1?t[r+2]:2*o-i;return pe((e-r/n)*n,u,i,o,a)}},ye=function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],u=t[(r+1)%n],a=t[(r+2)%n];return pe((e-r/n)*n,i,o,u,a)}},ge=function(t){return function(){return t}};function _e(t,n){return function(e){return t+e*n}}function me(t,n){var e=n-t;return e?_e(t,e>180||e<-180?e-360*Math.round(e/360):e):ge(isNaN(t)?n:t)}function be(t){return 1==(t=+t)?we:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):ge(isNaN(n)?e:n)}}function we(t,n){var e=n-t;return e?_e(t,e):ge(isNaN(t)?n:t)}var xe=function t(n){var e=be(n);function r(t,n){var r=e((t=ie(t)).r,(n=ie(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),u=we(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function Me(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;e<i;++e)r=ie(n[e]),o[e]=r.r||0,u[e]=r.g||0,a[e]=r.b||0;return o=t(o),u=t(u),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=a(t),r+""}}}var Se=Me(ve),ke=Me(ye),Te=(e("Ji/l"),function(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}});function Ne(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}var De=function(t,n){return(Ne(n)?Te:Ae)(t,n)};function Ae(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),u=new Array(r);for(e=0;e<i;++e)o[e]=Fe(t[e],n[e]);for(;e<r;++e)u[e]=n[e];return function(t){for(e=0;e<i;++e)u[e]=o[e](t);return u}}var Ee=function(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}},Ce=function(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}},Ye=function(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=Fe(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}},Oe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Pe=new RegExp(Oe.source,"g");var Re,Ue,Le=function(t,n){var e,r,i,o=Oe.lastIndex=Pe.lastIndex=0,u=-1,a=[],c=[];for(t+="",n+="";(e=Oe.exec(t))&&(r=Pe.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,c.push({i:u,x:Ce(e,r)})),o=Pe.lastIndex;return o<n.length&&(i=n.slice(o),a[u]?a[u]+=i:a[++u]=i),a.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)a[(e=c[r]).i]=e.x(t);return a.join("")})},Fe=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?ge(n):("number"===r?Ce:"string"===r?(e=te(n))?(n=e,xe):Le:n instanceof te?xe:n instanceof Date?Ee:Ne(n)?Te:Array.isArray(n)?Ae:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Ye:Ce)(t,n)},ze=function(){for(var t,n=mn;t=n.sourceEvent;)n=t;return n},Ie=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]},He=function(t,n,e){arguments.length<3&&(e=n,n=ze().changedTouches);for(var r,i=0,o=n?n.length:0;i<o;++i)if((r=n[i]).identifier===e)return Ie(t,r);return null},Ve=function(t){var n=ze();return n.changedTouches&&(n=n.changedTouches[0]),Ie(t,n)},qe=(e("2Spj"),0),We=0,je=0,Be=1e3,Ge=0,Xe=0,Ze=0,$e="object"==typeof performance&&performance.now?performance:Date,Ke="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Je(){return Xe||(Ke(Qe),Xe=$e.now()+Ze)}function Qe(){Xe=0}function tr(){this._call=this._time=this._next=null}function nr(t,n,e){var r=new tr;return r.restart(t,n,e),r}function er(){Je(),++qe;for(var t,n=Re;n;)(t=Xe-n._time)>=0&&n._call.call(null,t),n=n._next;--qe}function rr(){Xe=(Ge=$e.now())+Ze,qe=We=0;try{er()}finally{qe=0,function(){var t,n,e=Re,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Re=n);Ue=t,or(r)}(),Xe=0}}function ir(){var t=$e.now(),n=t-Ge;n>Be&&(Ze-=n,Ge=t)}function or(t){qe||(We&&(We=clearTimeout(We)),t-Xe>24?(t<1/0&&(We=setTimeout(rr,t-$e.now()-Ze)),je&&(je=clearInterval(je))):(je||(Ge=$e.now(),je=setInterval(ir,Be)),qe=1,Ke(rr)))}tr.prototype=nr.prototype={constructor:tr,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Je():+e)+(null==n?0:+n),this._next||Ue===this||(Ue?Ue._next=this:Re=this,Ue=this),this._call=t,this._time=e,or()},stop:function(){this._call&&(this._call=null,this._time=1/0,or())}};var ur=function(t,n,e){var r=new tr;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r},ar=mt("start","end","cancel","interrupt"),cr=[],fr=0,sr=1,lr=2,hr=3,dr=4,pr=5,vr=6,yr=function(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(c){var f,s,l,h;if(e.state!==sr)return a();for(f in i)if((h=i[f]).name===e.name){if(h.state===hr)return ur(o);h.state===dr?(h.state=vr,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+f<n&&(h.state=vr,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[f])}if(ur((function(){e.state===hr&&(e.state=dr,e.timer.restart(u,e.delay,e.time),u(c))})),e.state=lr,e.on.call("start",t,t.__data__,e.index,e.group),e.state===lr){for(e.state=hr,r=new Array(l=e.tween.length),f=0,s=-1;f<l;++f)(h=e.tween[f].value.call(t,t.__data__,e.index,e.group))&&(r[++s]=h);r.length=s+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=pr,1),o=-1,u=r.length;++o<u;)r[o].call(t,i);e.state===pr&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){for(var r in e.state=vr,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=nr((function(t){e.state=sr,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)}),0,e.time)}(t,e,{name:n,index:r,group:i,on:ar,tween:cr,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:fr})};function gr(t,n){var e=mr(t,n);if(e.state>fr)throw new Error("too late; already scheduled");return e}function _r(t,n){var e=mr(t,n);if(e.state>hr)throw new Error("too late; already running");return e}function mr(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}var br,wr,xr,Mr,Sr=function(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>lr&&e.state<pr,e.state=vr,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}},kr=180/Math.PI,Tr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Nr=function(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*kr,skewX:Math.atan(c)*kr,scaleX:u,scaleY:a}};function Dr(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:Ce(t,i)},{i:c-2,x:Ce(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Ce(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Ce(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:Ce(t,e)},{i:a-2,x:Ce(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var Ar=Dr((function(t){return"none"===t?Tr:(br||(br=document.createElement("DIV"),wr=document.documentElement,xr=document.defaultView),br.style.transform=t,t=xr.getComputedStyle(wr.appendChild(br),null).getPropertyValue("transform"),wr.removeChild(br),t=t.slice(7,-1).split(","),Nr(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),Er=Dr((function(t){return null==t?Tr:(Mr||(Mr=document.createElementNS("http://www.w3.org/2000/svg","g")),Mr.setAttribute("transform",t),(t=Mr.transform.baseVal.consolidate())?(t=t.matrix,Nr(t.a,t.b,t.c,t.d,t.e,t.f)):Tr)}),", ",")",")");function Cr(t,n){var e,r;return function(){var i=_r(this,t),o=i.tween;if(o!==e)for(var u=0,a=(r=e=o).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}i.tween=r}}function Yr(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=_r(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,f=i.length;c<f;++c)if(i[c].name===n){i[c]=a;break}c===f&&i.push(a)}o.tween=i}}function Or(t,n,e){var r=t._id;return t.each((function(){var t=_r(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return mr(t,r).value[n]}}var Pr=function(t,n){var e;return("number"==typeof n?Ce:n instanceof te?xe:(e=te(n))?(n=e,xe):Le)(t,n)};function Rr(t){return function(){this.removeAttribute(t)}}function Ur(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Lr(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttribute(t);return u===o?null:u===r?i:i=n(r=u,e)}}function Fr(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===o?null:u===r?i:i=n(r=u,e)}}function zr(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttribute(t))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttribute(t)}}function Ir(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttributeNS(t.space,t.local))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttributeNS(t.space,t.local)}}function Hr(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}(t,i)),e}return i._value=n,i}function Vr(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}(t,i)),e}return i._value=n,i}function qr(t,n){return function(){gr(this,t).delay=+n.apply(this,arguments)}}function Wr(t,n){return n=+n,function(){gr(this,t).delay=n}}function jr(t,n){return function(){_r(this,t).duration=+n.apply(this,arguments)}}function Br(t,n){return n=+n,function(){_r(this,t).duration=n}}function Gr(t,n){if("function"!=typeof n)throw new Error;return function(){_r(this,t).ease=n}}function Xr(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?gr:_r;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}var Zr=Yn.prototype.constructor;function $r(t){return function(){this.style.removeProperty(t)}}function Kr(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}function Jr(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}e("VRzm");var Qr=0;function ti(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function ni(t){return Yn().transition(t)}function ei(){return++Qr}var ri=Yn.prototype;function ii(t){return t*t*t}function oi(t){return--t*t*t+1}function ui(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}ti.prototype=ni.prototype={constructor:ti,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=wt(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,f=r[u],s=f.length,l=o[u]=new Array(s),h=0;h<s;++h)(a=f[h])&&(c=t.call(a,a.__data__,h,f))&&("__data__"in a&&(c.__data__=a.__data__),l[h]=c,yr(l[h],n,e,h,l,mr(a,e)));return new ti(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Mt(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,f=r[a],s=f.length,l=0;l<s;++l)if(c=f[l]){for(var h,d=t.call(c,c.__data__,l,f),p=mr(c,e),v=0,y=d.length;v<y;++v)(h=d[v])&&yr(h,n,e,v,d,p);o.push(d),u.push(c)}return new ti(o,u,n,e)},filter:function(t){"function"!=typeof t&&(t=St(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new ti(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],s=e[a],l=f.length,h=u[a]=new Array(l),d=0;d<l;++d)(c=f[d]||s[d])&&(h[d]=c);for(;a<r;++a)u[a]=n[a];return new ti(u,this._parents,this._name,this._id)},selection:function(){return new Zr(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=ei(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)if(u=a[f]){var s=mr(u,n);yr(u,t,e,f,a,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new ti(r,this._parents,t,e)},call:ri.call,nodes:ri.nodes,node:ri.node,size:ri.size,empty:ri.empty,each:ri.each,on:function(t,n){var e=this._id;return arguments.length<2?mr(this.node(),e).on.on(t):this.each(Xr(e,t,n))},attr:function(t,n){var e=Ot(t),r="transform"===e?Er:Pr;return this.attrTween(t,"function"==typeof n?(e.local?Ir:zr)(e,r,Or(this,"attr."+t,n)):null==n?(e.local?Ur:Rr)(e):(e.local?Fr:Lr)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=Ot(t);return this.tween(e,(r.local?Hr:Vr)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?Ar:Pr;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=Wt(this,t),u=(this.style.removeProperty(t),Wt(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,$r(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var u=Wt(this,t),a=e(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=Wt(this,t)),u===c?null:u===r&&c===i?o:(i=c,o=n(r=u,a))}}(t,r,Or(this,"style."+t,n))).each(function(t,n){var e,r,i,o,u="style."+n,a="end."+u;return function(){var c=_r(this,t),f=c.on,s=null==c.value[u]?o||(o=$r(n)):void 0;f===e&&i===s||(r=(e=f).copy()).on(a,i=s),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var u=Wt(this,t);return u===o?null:u===r?i:i=n(r=u,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Kr(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(Or(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,Jr(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=mr(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?Cr:Yr)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?qr:Wr)(n,t)):mr(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?jr:Br)(n,t)):mr(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(Gr(n,t)):mr(this.node(),n).ease},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise((function(o,u){var a={value:u},c={value:function(){0==--i&&o()}};e.each((function(){var e=_r(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(c)),e.on=n}))}))}};var ai={time:null,delay:0,duration:250,ease:ui};function ci(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return ai.time=Je(),ai;return e}Yn.prototype.interrupt=function(t){return this.each((function(){Sr(this,t)}))},Yn.prototype.transition=function(t){var n,e;t instanceof ti?(n=t._id,t=t._name):(n=ei(),(e=ai).time=Je(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)(u=a[f])&&yr(u,t,n,f,a,e||ci(u,n));return new ti(r,this._parents,t,n)};var fi=[null],si=function(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>sr&&e.name===n)return new ti([[t]],fi,n,+r);return null},li=function(t){return function(){return t}},hi=function(t,n,e){this.target=t,this.type=n,this.selection=e};function di(){mn.stopImmediatePropagation()}var pi=function(){mn.preventDefault(),mn.stopImmediatePropagation()},vi={name:"drag"},yi={name:"space"},gi={name:"handle"},_i={name:"center"};function mi(t){return[+t[0],+t[1]]}function bi(t){return[mi(t[0]),mi(t[1])]}var wi={name:"x",handles:["w","e"].map(Ai),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},xi={name:"y",handles:["n","s"].map(Ai),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Mi={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Ai),input:function(t){return null==t?null:bi(t)},output:function(t){return t}},Si={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},ki={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Ti={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Ni={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Di={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Ai(t){return{type:t}}function Ei(){return!mn.ctrlKey&&!mn.button}function Ci(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Yi(){return navigator.maxTouchPoints||"ontouchstart"in this}function Oi(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Pi(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Ri(){return Fi(wi)}function Ui(){return Fi(xi)}var Li=function(){return Fi(Mi)};function Fi(t){var n,e=Ci,r=Ei,i=Yi,o=!0,u=mt("start","brush","end"),a=6;function c(n){var e=n.property("__brush",v).selectAll(".overlay").data([Ai("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Si.overlay).merge(e).each((function(){var t=Oi(this).extent;On(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([Ai("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Si.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return Si[t.type]})),n.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=On(this),n=Oi(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-a/2:n[0][0]-a/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-a/2:n[0][1]-a/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+a:a})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+a:a}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function s(t,n,e){return!e&&t.__brush.emitter||new l(t,n)}function l(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function h(){if((!n||mn.touches)&&r.apply(this,arguments)){var e,i,u,a,c,l,h,d,p,v,y,g,_=this,m=mn.target.__data__.type,b="selection"===(o&&mn.metaKey?m="overlay":m)?vi:o&&mn.altKey?_i:gi,w=t===xi?null:Ni[m],x=t===wi?null:Di[m],M=Oi(_),S=M.extent,k=M.selection,T=S[0][0],N=S[0][1],D=S[1][0],A=S[1][1],E=0,C=0,Y=w&&x&&o&&mn.shiftKey,O=mn.touches?(g=mn.changedTouches[0].identifier,function(t){return He(t,mn.touches,g)}):Ve,P=O(_),R=P,U=s(_,arguments,!0).beforestart();"overlay"===m?(k&&(p=!0),M.selection=k=[[e=t===xi?T:P[0],u=t===wi?N:P[1]],[c=t===xi?D:e,h=t===wi?A:u]]):(e=k[0][0],u=k[0][1],c=k[1][0],h=k[1][1]),i=e,a=u,l=c,d=h;var L=On(_).attr("pointer-events","none"),F=L.selectAll(".overlay").attr("cursor",Si[m]);if(mn.touches)U.moved=I,U.ended=V;else{var z=On(mn.view).on("mousemove.brush",I,!0).on("mouseup.brush",V,!0);o&&z.on("keydown.brush",(function(){switch(mn.keyCode){case 16:Y=w&&x;break;case 18:b===gi&&(w&&(c=l-E*w,e=i+E*w),x&&(h=d-C*x,u=a+C*x),b=_i,H());break;case 32:b!==gi&&b!==_i||(w<0?c=l-E:w>0&&(e=i-E),x<0?h=d-C:x>0&&(u=a-C),b=yi,F.attr("cursor",Si.selection),H());break;default:return}pi()}),!0).on("keyup.brush",(function(){switch(mn.keyCode){case 16:Y&&(v=y=Y=!1,H());break;case 18:b===_i&&(w<0?c=l:w>0&&(e=i),x<0?h=d:x>0&&(u=a),b=gi,H());break;case 32:b===yi&&(mn.altKey?(w&&(c=l-E*w,e=i+E*w),x&&(h=d-C*x,u=a+C*x),b=_i):(w<0?c=l:w>0&&(e=i),x<0?h=d:x>0&&(u=a),b=gi),F.attr("cursor",Si[m]),H());break;default:return}pi()}),!0),Un(mn.view)}di(),Sr(_),f.call(_),U.start()}function I(){var t=O(_);!Y||v||y||(Math.abs(t[0]-R[0])>Math.abs(t[1]-R[1])?y=!0:v=!0),R=t,p=!0,pi(),H()}function H(){var t;switch(E=R[0]-P[0],C=R[1]-P[1],b){case yi:case vi:w&&(E=Math.max(T-e,Math.min(D-c,E)),i=e+E,l=c+E),x&&(C=Math.max(N-u,Math.min(A-h,C)),a=u+C,d=h+C);break;case gi:w<0?(E=Math.max(T-e,Math.min(D-e,E)),i=e+E,l=c):w>0&&(E=Math.max(T-c,Math.min(D-c,E)),i=e,l=c+E),x<0?(C=Math.max(N-u,Math.min(A-u,C)),a=u+C,d=h):x>0&&(C=Math.max(N-h,Math.min(A-h,C)),a=u,d=h+C);break;case _i:w&&(i=Math.max(T,Math.min(D,e-E*w)),l=Math.max(T,Math.min(D,c+E*w))),x&&(a=Math.max(N,Math.min(A,u-C*x)),d=Math.max(N,Math.min(A,h+C*x)))}l<i&&(w*=-1,t=e,e=c,c=t,t=i,i=l,l=t,m in ki&&F.attr("cursor",Si[m=ki[m]])),d<a&&(x*=-1,t=u,u=h,h=t,t=a,a=d,d=t,m in Ti&&F.attr("cursor",Si[m=Ti[m]])),M.selection&&(k=M.selection),v&&(i=k[0][0],l=k[1][0]),y&&(a=k[0][1],d=k[1][1]),k[0][0]===i&&k[0][1]===a&&k[1][0]===l&&k[1][1]===d||(M.selection=[[i,a],[l,d]],f.call(_),U.brush())}function V(){if(di(),mn.touches){if(mn.touches.length)return;n&&clearTimeout(n),n=setTimeout((function(){n=null}),500)}else Ln(mn.view,p),z.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);L.attr("pointer-events","all"),F.attr("cursor",Si.overlay),M.selection&&(k=M.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}(k)&&(M.selection=null,f.call(_)),U.end()}}function d(){s(this,arguments).moved()}function p(){s(this,arguments).ended()}function v(){var n=this.__brush||{selection:null};return n.extent=bi(e.apply(this,arguments)),n.dim=t,n}return c.move=function(n,e){n.selection?n.on("start.brush",(function(){s(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){s(this,arguments).end()})).tween("brush",(function(){var n=this,r=n.__brush,i=s(n,arguments),o=r.selection,u=t.input("function"==typeof e?e.apply(this,arguments):e,r.extent),a=Fe(o,u);function c(t){r.selection=1===t&&null===u?null:a(t),f.call(n),i.brush()}return null!==o&&null!==u?c:c(1)})):n.each((function(){var n=this,r=arguments,i=n.__brush,o=t.input("function"==typeof e?e.apply(n,r):e,i.extent),u=s(n,r).beforestart();Sr(n),i.selection=null===o?null:o,f.call(n),u.start().brush().end()}))},c.clear=function(t){c.move(t,null)},l.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(n){kn(new hi(c,n,t.output(this.state.selection)),u.apply,u,[n,this.that,this.args])}},c.extent=function(t){return arguments.length?(e="function"==typeof t?t:li(bi(t)),c):e},c.filter=function(t){return arguments.length?(r="function"==typeof t?t:li(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"==typeof t?t:li(!!t),c):i},c.handleSize=function(t){return arguments.length?(a=+t,c):a},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=u.on.apply(u,arguments);return t===u?c:t},c}e("8+KV");var zi=Math.cos,Ii=Math.sin,Hi=Math.PI,Vi=Hi/2,qi=2*Hi,Wi=Math.max;function ji(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}var Bi=function(){var t=0,n=null,e=null,r=null;function i(i){var o,u,a,c,f,s,l=i.length,h=[],d=T(l),p=[],v=[],y=v.groups=new Array(l),g=new Array(l*l);for(o=0,f=-1;++f<l;){for(u=0,s=-1;++s<l;)u+=i[f][s];h.push(u),p.push(T(l)),o+=u}for(n&&d.sort((function(t,e){return n(h[t],h[e])})),e&&p.forEach((function(t,n){t.sort((function(t,r){return e(i[n][t],i[n][r])}))})),c=(o=Wi(0,qi-t*l)/o)?t:qi/l,u=0,f=-1;++f<l;){for(a=u,s=-1;++s<l;){var _=d[f],m=p[_][s],b=i[_][m],w=u,x=u+=b*o;g[m*l+_]={index:_,subindex:m,startAngle:w,endAngle:x,value:b}}y[_]={index:_,startAngle:a,endAngle:u,value:h[_]},u+=c}for(f=-1;++f<l;)for(s=f-1;++s<l;){var M=g[s*l+f],S=g[f*l+s];(M.value||S.value)&&v.push(M.value<S.value?{source:S,target:M}:{source:M,target:S})}return r?v.sort(r):v}return i.padAngle=function(n){return arguments.length?(t=Wi(0,n),i):t},i.sortGroups=function(t){return arguments.length?(n=t,i):n},i.sortSubgroups=function(t){return arguments.length?(e=t,i):e},i.sortChords=function(t){return arguments.length?(null==t?r=null:(r=ji(t))._=t,i):r&&r._},i},Gi=Array.prototype.slice,Xi=function(t){return function(){return t}},Zi=Math.PI,$i=2*Zi,Ki=$i-1e-6;function Ji(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Qi(){return new Ji}Ji.prototype=Qi.prototype={constructor:Ji,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,u=this._y1,a=e-t,c=r-n,f=o-t,s=u-n,l=f*f+s*s;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>1e-6)if(Math.abs(s*a-c*f)>1e-6&&i){var h=e-o,d=r-u,p=a*a+c*c,v=h*h+d*d,y=Math.sqrt(p),g=Math.sqrt(l),_=i*Math.tan((Zi-Math.acos((p+l-v)/(2*y*g)))/2),m=_/g,b=_/y;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*f)+","+(n+m*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*d)+","+(this._x1=t+b*a)+","+(this._y1=n+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),c=t+u,f=n+a,s=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+f:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+c+","+f),e&&(l<0&&(l=l%$i+$i),l>Ki?this._+="A"+e+","+e+",0,1,"+s+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+s+","+(this._x1=c)+","+(this._y1=f):l>1e-6&&(this._+="A"+e+","+e+",0,"+ +(l>=Zi)+","+s+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var to=Qi;function no(t){return t.source}function eo(t){return t.target}function ro(t){return t.radius}function io(t){return t.startAngle}function oo(t){return t.endAngle}var uo=function(){var t=no,n=eo,e=ro,r=io,i=oo,o=null;function u(){var u,a=Gi.call(arguments),c=t.apply(this,a),f=n.apply(this,a),s=+e.apply(this,(a[0]=c,a)),l=r.apply(this,a)-Vi,h=i.apply(this,a)-Vi,d=s*zi(l),p=s*Ii(l),v=+e.apply(this,(a[0]=f,a)),y=r.apply(this,a)-Vi,g=i.apply(this,a)-Vi;if(o||(o=u=to()),o.moveTo(d,p),o.arc(0,0,s,l,h),l===y&&h===g||(o.quadraticCurveTo(0,0,v*zi(y),v*Ii(y)),o.arc(0,0,v,y,g)),o.quadraticCurveTo(0,0,d,p),o.closePath(),u)return o=null,u+""||null}return u.radius=function(t){return arguments.length?(e="function"==typeof t?t:Xi(+t),u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Xi(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Xi(+t),u):i},u.source=function(n){return arguments.length?(t=n,u):t},u.target=function(t){return arguments.length?(n=t,u):n},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u};e("yt8O");function ao(){}function co(t,n){var e=new ao;if(t instanceof ao)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}ao.prototype=co.prototype={constructor:ao,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var fo=co,so=function(){var t,n,e,r=[],i=[];function o(e,i,u,a){if(i>=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var c,f,s,l=-1,h=e.length,d=r[i++],p=fo(),v=u();++l<h;)(s=p.get(c=d(f=e[l])+""))?s.push(f):p.set(c,[f]);return p.each((function(t,n){a(v,n,o(t,i,u,a))})),v}return e={object:function(t){return o(t,0,lo,ho)},map:function(t){return o(t,0,po,vo)},entries:function(t){return function t(e,o){if(++o>r.length)return e;var u,a=i[o-1];return null!=n&&o>=r.length?u=e.entries():(u=[],e.each((function(n,e){u.push({key:e,values:t(n,o)})}))),null!=a?u.sort((function(t,n){return a(t.key,n.key)})):u}(o(t,0,po,vo),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}};function lo(){return{}}function ho(t,n,e){t[n]=e}function po(){return fo()}function vo(t,n,e){t.set(n,e)}function yo(){}var go=fo.prototype;function _o(t,n){var e=new yo;if(t instanceof yo)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}yo.prototype=_o.prototype={constructor:yo,has:go.has,add:function(t){return this["$"+(t+="")]=t,this},remove:go.remove,clear:go.clear,values:go.keys,size:go.size,empty:go.empty,each:go.each};var mo=_o,bo=function(t){var n=[];for(var e in t)n.push(e);return n},wo=function(t){var n=[];for(var e in t)n.push(t[e]);return n},xo=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},Mo=Math.PI/180,So=180/Math.PI,ko=.96422,To=1,No=.82521,Do=4/29,Ao=6/29,Eo=3*Ao*Ao,Co=Ao*Ao*Ao;function Yo(t){if(t instanceof Ro)return new Ro(t.l,t.a,t.b,t.opacity);if(t instanceof qo)return Wo(t);t instanceof oe||(t=re(t));var n,e,r=zo(t.r),i=zo(t.g),o=zo(t.b),u=Uo((.2225045*r+.7168786*i+.0606169*o)/To);return r===i&&i===o?n=e=u:(n=Uo((.4360747*r+.3850649*i+.1430804*o)/ko),e=Uo((.0139322*r+.0971045*i+.7141733*o)/No)),new Ro(116*u-16,500*(n-u),200*(u-e),t.opacity)}function Oo(t,n){return new Ro(t,0,0,null==n?1:n)}function Po(t,n,e,r){return 1===arguments.length?Yo(t):new Ro(t,n,e,null==r?1:r)}function Ro(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function Uo(t){return t>Co?Math.pow(t,1/3):t/Eo+Do}function Lo(t){return t>Ao?t*t*t:Eo*(t-Do)}function Fo(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function zo(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Io(t){if(t instanceof qo)return new qo(t.h,t.c,t.l,t.opacity);if(t instanceof Ro||(t=Yo(t)),0===t.a&&0===t.b)return new qo(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*So;return new qo(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ho(t,n,e,r){return 1===arguments.length?Io(t):new qo(e,n,t,null==r?1:r)}function Vo(t,n,e,r){return 1===arguments.length?Io(t):new qo(t,n,e,null==r?1:r)}function qo(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Wo(t){if(isNaN(t.h))return new Ro(t.l,0,0,t.opacity);var n=t.h*Mo;return new Ro(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}Fn(Ro,Po,zn(In,{brighter:function(t){return new Ro(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Ro(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return new oe(Fo(3.1338561*(n=ko*Lo(n))-1.6168667*(t=To*Lo(t))-.4906146*(e=No*Lo(e))),Fo(-.9787684*n+1.9161415*t+.033454*e),Fo(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),Fn(qo,Vo,zn(In,{brighter:function(t){return new qo(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new qo(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return Wo(this).rgb()}}));var jo=-.29227,Bo=-.90649,Go=1.97294,Xo=Go*Bo,Zo=1.78277*Go,$o=1.78277*jo- -.14861*Bo;function Ko(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof Jo)return new Jo(t.h,t.s,t.l,t.opacity);t instanceof oe||(t=re(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=($o*r+Xo*n-Zo*e)/($o+Xo-Zo),o=r-i,u=(Go*(e-i)-jo*o)/Bo,a=Math.sqrt(u*u+o*o)/(Go*i*(1-i)),c=a?Math.atan2(u,o)*So-120:NaN;return new Jo(c<0?c+360:c,a,i,t.opacity)}(t):new Jo(t,n,e,null==r?1:r)}function Jo(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}Fn(Jo,Ko,zn(In,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Jo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Jo(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Mo,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new oe(255*(n+e*(-.14861*r+1.78277*i)),255*(n+e*(jo*r+Bo*i)),255*(n+e*(Go*r)),this.opacity)}}));var Qo=Array.prototype.slice,tu=function(t,n){return t-n},nu=function(t){for(var n=0,e=t.length,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n<e;)r+=t[n-1][1]*t[n][0]-t[n-1][0]*t[n][1];return r},eu=function(t){return function(){return t}},ru=function(t,n){for(var e,r=-1,i=n.length;++r<i;)if(e=iu(t,n[r]))return e;return 0};function iu(t,n){for(var e=n[0],r=n[1],i=-1,o=0,u=t.length,a=u-1;o<u;a=o++){var c=t[o],f=c[0],s=c[1],l=t[a],h=l[0],d=l[1];if(ou(c,l,n))return 0;s>r!=d>r&&e<(h-f)*(r-s)/(d-s)+f&&(i=-i)}return i}function ou(t,n,e){var r,i,o,u;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],u=n[r],i<=o&&o<=u||u<=o&&o<=i)}var uu=function(){},au=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],cu=function(){var t=1,n=1,e=O,r=a;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(tu);else{var r=b(t),i=r[0],u=r[1];n=Y(i,u,n),n=T(Math.floor(i/n)*n,Math.floor(u/n)*n,n)}return n.map((function(n){return o(t,n)}))}function o(e,i){var o=[],a=[];return function(e,r,i){var o,a,c,f,s,l,h=new Array,d=new Array;o=a=-1,f=e[0]>=r,au[f<<1].forEach(p);for(;++o<t-1;)c=f,f=e[o+1]>=r,au[c|f<<1].forEach(p);au[f<<0].forEach(p);for(;++a<n-1;){for(o=-1,f=e[a*t+t]>=r,s=e[a*t]>=r,au[f<<1|s<<2].forEach(p);++o<t-1;)c=f,f=e[a*t+t+o+1]>=r,l=s,s=e[a*t+o+1]>=r,au[c|f<<1|s<<2|l<<3].forEach(p);au[f|s<<3].forEach(p)}o=-1,s=e[a*t]>=r,au[s<<2].forEach(p);for(;++o<t-1;)l=s,s=e[a*t+o+1]>=r,au[s<<2|l<<3].forEach(p);function p(t){var n,e,r=[t[0][0]+o,t[0][1]+a],c=[t[1][0]+o,t[1][1]+a],f=u(r),s=u(c);(n=d[f])?(e=h[s])?(delete d[n.end],delete h[e.start],n===e?(n.ring.push(c),i(n.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(c),d[n.end=s]=n):(n=h[s])?(e=d[f])?(delete h[n.start],delete d[e.end],n===e?(n.ring.push(c),i(n.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete h[n.start],n.ring.unshift(r),h[n.start=f]=n):h[f]=d[s]={start:f,end:s,ring:[r,c]}}au[s<<3].forEach(p)}(e,i,(function(t){r(t,e,i),nu(t)>0?o.push([t]):a.push(t)})),a.forEach((function(t){for(var n,e=0,r=o.length;e<r;++e)if(-1!==ru((n=o[e])[0],t))return void n.push(t)})),{type:"MultiPolygon",value:i,coordinates:o}}function u(n){return 2*n[0]+n[1]*(t+1)*4}function a(e,r,i){e.forEach((function(e){var o,u=e[0],a=e[1],c=0|u,f=0|a,s=r[f*t+c];u>0&&u<t&&c===u&&(o=r[f*t+c-1],e[0]=u+(i-o)/(s-o)-.5),a>0&&a<n&&f===a&&(o=r[(f-1)*t+c],e[1]=a+(i-o)/(s-o)-.5)}))}return i.contour=o,i.size=function(e){if(!arguments.length)return[t,n];var r=Math.ceil(e[0]),o=Math.ceil(e[1]);if(!(r>0&&o>0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?eu(Qo.call(t)):eu(t),i):e},i.smooth=function(t){return arguments.length?(r=t?a:uu,i):r===a},i};e("Y9lz");function fu(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),u=0;u<i;++u)for(var a=0,c=0;a<r+e;++a)a<r&&(c+=t.data[a+u*r]),a>=e&&(a>=o&&(c-=t.data[a-o+u*r]),n.data[a-e+u*r]=c/Math.min(a+1,r-1+o-a,o))}function su(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),u=0;u<r;++u)for(var a=0,c=0;a<i+e;++a)a<i&&(c+=t.data[u+a*r]),a>=e&&(a>=o&&(c-=t.data[u+(a-o)*r]),n.data[u+(a-e)*r]=c/Math.min(a+1,i-1+o-a,o))}function lu(t){return t[0]}function hu(t){return t[1]}function du(){return 1}var pu=function(){var t=lu,n=hu,e=du,r=960,i=500,o=20,u=2,a=3*o,c=r+2*a>>u,f=i+2*a>>u,s=eu(20);function l(r){var i=new Float32Array(c*f),l=new Float32Array(c*f);r.forEach((function(r,o,s){var l=+t(r,o,s)+a>>u,h=+n(r,o,s)+a>>u,d=+e(r,o,s);l>=0&&l<c&&h>=0&&h<f&&(i[l+h*c]+=d)})),fu({width:c,height:f,data:i},{width:c,height:f,data:l},o>>u),su({width:c,height:f,data:l},{width:c,height:f,data:i},o>>u),fu({width:c,height:f,data:i},{width:c,height:f,data:l},o>>u),su({width:c,height:f,data:l},{width:c,height:f,data:i},o>>u),fu({width:c,height:f,data:i},{width:c,height:f,data:l},o>>u),su({width:c,height:f,data:l},{width:c,height:f,data:i},o>>u);var d=s(i);if(!Array.isArray(d)){var p=F(i);d=Y(0,p,d),(d=T(0,Math.floor(p/d)*d,d)).shift()}return cu().thresholds(d).size([c,f])(i).map(h)}function h(t){return t.value*=Math.pow(2,-2*u),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,u)-a,t[1]=t[1]*Math.pow(2,u)-a}function y(){return c=r+2*(a=3*o)>>u,f=i+2*a>>u,l}return l.x=function(n){return arguments.length?(t="function"==typeof n?n:eu(+n),l):t},l.y=function(t){return arguments.length?(n="function"==typeof t?t:eu(+t),l):n},l.weight=function(t){return arguments.length?(e="function"==typeof t?t:eu(+t),l):e},l.size=function(t){if(!arguments.length)return[r,i];var n=Math.ceil(t[0]),e=Math.ceil(t[1]);if(!(n>=0||n>=0))throw new Error("invalid size");return r=n,i=e,y()},l.cellSize=function(t){if(!arguments.length)return 1<<u;if(!((t=+t)>=1))throw new Error("invalid cell size");return u=Math.floor(Math.log(t)/Math.LN2),y()},l.thresholds=function(t){return arguments.length?(s="function"==typeof t?t:Array.isArray(t)?eu(Qo.call(t)):eu(t),l):s},l.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),y()},l},vu=function(t){return function(){return t}};function yu(t,n,e,r,i,o,u,a,c,f){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=u,this.dx=a,this.dy=c,this._=f}function gu(){return!mn.ctrlKey&&!mn.button}function _u(){return this.parentNode}function mu(t){return null==t?{x:mn.x,y:mn.y}:t}function bu(){return navigator.maxTouchPoints||"ontouchstart"in this}yu.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var wu=function(){var t,n,e,r,i=gu,o=_u,u=mu,a=bu,c={},f=mt("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",d).filter(a).on("touchstart.drag",y).on("touchmove.drag",g).on("touchend.drag touchcancel.drag",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var u=m("mouse",o.apply(this,arguments),Ve,this,arguments);u&&(On(mn.view).on("mousemove.drag",p,!0).on("mouseup.drag",v,!0),Un(mn.view),Pn(),e=!1,t=mn.clientX,n=mn.clientY,u("start"))}}function p(){if(Rn(),!e){var r=mn.clientX-t,i=mn.clientY-n;e=r*r+i*i>l}c.mouse("drag")}function v(){On(mn.view).on("mousemove.drag mouseup.drag",null),Ln(mn.view,e),Rn(),c.mouse("end")}function y(){if(i.apply(this,arguments)){var t,n,e=mn.changedTouches,r=o.apply(this,arguments),u=e.length;for(t=0;t<u;++t)(n=m(e[t].identifier,r,He,this,arguments))&&(Pn(),n("start"))}}function g(){var t,n,e=mn.changedTouches,r=e.length;for(t=0;t<r;++t)(n=c[e[t].identifier])&&(Rn(),n("drag"))}function _(){var t,n,e=mn.changedTouches,i=e.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),t=0;t<i;++t)(n=c[e[t].identifier])&&(Pn(),n("end"))}function m(t,n,e,r,i){var o,a,l,d=e(n,t),p=f.copy();if(kn(new yu(h,"beforestart",o,t,s,d[0],d[1],0,0,p),(function(){return null!=(mn.subject=o=u.apply(r,i))&&(a=o.x-d[0]||0,l=o.y-d[1]||0,!0)})))return function u(f){var v,y=d;switch(f){case"start":c[t]=u,v=s++;break;case"end":delete c[t],--s;case"drag":d=e(n,t),v=s}kn(new yu(h,f,o,t,v,d[0]+a,d[1]+l,d[0]-y[0],d[1]-y[1],p),p.apply,p,[f,r,i])}}return h.filter=function(t){return arguments.length?(i="function"==typeof t?t:vu(!!t),h):i},h.container=function(t){return arguments.length?(o="function"==typeof t?t:vu(t),h):o},h.subject=function(t){return arguments.length?(u="function"==typeof t?t:vu(t),h):u},h.touchable=function(t){return arguments.length?(a="function"==typeof t?t:vu(!!t),h):a},h.on=function(){var t=f.on.apply(f,arguments);return t===f?h:t},h.clickDistance=function(t){return arguments.length?(l=(t=+t)*t,h):Math.sqrt(l)},h},xu=(e("pIFo"),{}),Mu={},Su=34,ku=10,Tu=13;function Nu(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'})).join(",")+"}")}function Du(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}function Au(t,n){var e=t+"",r=e.length;return r<n?new Array(n-r+1).join(0)+e:e}function Eu(t){var n,e=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((n=t.getUTCFullYear())<0?"-"+Au(-n,6):n>9999?"+"+Au(n,6):Au(n,4))+"-"+Au(t.getUTCMonth()+1,2)+"-"+Au(t.getUTCDate(),2)+(o?"T"+Au(e,2)+":"+Au(r,2)+":"+Au(i,2)+"."+Au(o,3)+"Z":i?"T"+Au(e,2)+":"+Au(r,2)+":"+Au(i,2)+"Z":r||e?"T"+Au(e,2)+":"+Au(r,2)+"Z":"")}var Cu=function(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,c=o<=0,f=!1;function s(){if(c)return Mu;if(f)return f=!1,xu;var n,r,i=u;if(t.charCodeAt(i)===Su){for(;u++<o&&t.charCodeAt(u)!==Su||t.charCodeAt(++u)===Su;);return(n=u)>=o?c=!0:(r=t.charCodeAt(u++))===ku?f=!0:r===Tu&&(f=!0,t.charCodeAt(u)===ku&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u<o;){if((r=t.charCodeAt(n=u++))===ku)f=!0;else if(r===Tu)f=!0,t.charCodeAt(u)===ku&&++u;else if(r!==e)continue;return t.slice(i,n)}return c=!0,t.slice(i,o)}for(t.charCodeAt(o-1)===ku&&--o,t.charCodeAt(o-1)===Tu&&--o;(r=s())!==Mu;){for(var l=[];r!==xu&&r!==Mu;)l.push(r),r=s();n&&null==(l=n(l,a++))||i.push(l)}return i}function i(n,e){return n.map((function(n){return e.map((function(t){return u(n[t])})).join(t)}))}function o(n){return n.map(u).join(t)}function u(t){return null==t?"":t instanceof Date?Eu(t):n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=Nu(t);return function(r,i){return n(e(r),i,t)}}(t,n):Nu(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=Du(n)),[e.map(u).join(t)].concat(i(n,e)).join("\n")},formatBody:function(t,n){return null==n&&(n=Du(t)),i(t,n).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:u}},Yu=Cu(","),Ou=Yu.parse,Pu=Yu.parseRows,Ru=Yu.format,Uu=Yu.formatBody,Lu=Yu.formatRows,Fu=Yu.formatRow,zu=Yu.formatValue,Iu=Cu("\t"),Hu=Iu.parse,Vu=Iu.parseRows,qu=Iu.format,Wu=Iu.formatBody,ju=Iu.formatRows,Bu=Iu.formatRow,Gu=Iu.formatValue;e("SRfc");function Xu(t){for(var n in t){var e,r,i=t[n].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(e=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Zu&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=e;else i=null;t[n]=i}return t}var Zu=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function $u(t){return+t}function Ku(t){return t*t}function Ju(t){return t*(2-t)}function Qu(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var ta=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),na=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),ea=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),ra=Math.PI,ia=ra/2;function oa(t){return 1-Math.cos(t*ia)}function ua(t){return Math.sin(t*ia)}function aa(t){return(1-Math.cos(ra*t))/2}function ca(t){return Math.pow(2,10*t-10)}function fa(t){return 1-Math.pow(2,-10*t)}function sa(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function la(t){return 1-Math.sqrt(1-t*t)}function ha(t){return Math.sqrt(1- --t*t)}function da(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var pa=4/11,va=6/11,ya=8/11,ga=.75,_a=9/11,ma=10/11,ba=.9375,wa=21/22,xa=63/64,Ma=1/pa/pa;function Sa(t){return 1-ka(1-t)}function ka(t){return(t=+t)<pa?Ma*t*t:t<ya?Ma*(t-=va)*t+ga:t<ma?Ma*(t-=_a)*t+ba:Ma*(t-=wa)*t+xa}function Ta(t){return((t*=2)<=1?1-ka(1-t):ka(t-1)+1)/2}var Na=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(1.70158),Da=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),Aa=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(1.70158),Ea=2*Math.PI,Ca=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Ea);function i(t){return n*Math.pow(2,10*--t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*Ea)},i.period=function(e){return t(n,e)},i}(1,.3),Ya=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Ea);function i(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*Ea)},i.period=function(e){return t(n,e)},i}(1,.3),Oa=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Ea);function i(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((r-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*Ea)},i.period=function(e){return t(n,e)},i}(1,.3);function Pa(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var Ra=function(t,n){return fetch(t,n).then(Pa)};function Ua(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var La=function(t,n){return fetch(t,n).then(Ua)};function Fa(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var za=function(t,n){return fetch(t,n).then(Fa)};function Ia(t){return function(n,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=void 0),za(n,e).then((function(n){return t(n,r)}))}}function Ha(t,n,e,r){3===arguments.length&&"function"==typeof e&&(r=e,e=void 0);var i=Cu(t);return za(n,e).then((function(t){return i.parse(t,r)}))}var Va=Ia(Ou),qa=Ia(Hu),Wa=function(t,n){return new Promise((function(e,r){var i=new Image;for(var o in n)i[o]=n[o];i.onerror=r,i.onload=function(){e(i)},i.src=t}))};function ja(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}var Ba=function(t,n){return fetch(t,n).then(ja)};function Ga(t){return function(n,e){return za(n,e).then((function(n){return(new DOMParser).parseFromString(n,t)}))}}var Xa=Ga("application/xml"),Za=Ga("text/html"),$a=Ga("image/svg+xml"),Ka=function(t,n){var e;function r(){var r,i,o=e.length,u=0,a=0;for(r=0;r<o;++r)u+=(i=e[r]).x,a+=i.y;for(u=u/o-t,a=a/o-n,r=0;r<o;++r)(i=e[r]).x-=u,i.y-=a}return null==t&&(t=0),null==n&&(n=0),r.initialize=function(t){e=t},r.x=function(n){return arguments.length?(t=+n,r):t},r.y=function(t){return arguments.length?(n=+t,r):n},r},Ja=function(t){return function(){return t}},Qa=function(){return 1e-6*(Math.random()-.5)};e("dRSK");function tc(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,u,a,c,f,s,l,h,d=t._root,p={data:r},v=t._x0,y=t._y0,g=t._x1,_=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(v+g)/2))?v=o:g=o,(s=e>=(u=(y+_)/2))?y=u:_=u,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(a=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===a&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(v+g)/2))?v=o:g=o,(s=e>=(u=(y+_)/2))?y=u:_=u}while((l=s<<1|f)==(h=(c>=u)<<1|a>=o));return i[h]=d,i[l]=p,t}var nc=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i};function ec(t){return t[0]}function rc(t){return t[1]}function ic(t,n,e){var r=new oc(null==n?ec:n,null==e?rc:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function oc(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function uc(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var ac=ic.prototype=oc.prototype;function cc(t){return t.x+t.vx}function fc(t){return t.y+t.vy}ac.copy=function(){var t,n,e=new oc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=uc(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=uc(n));return e},ac.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return tc(this.cover(n,e),n,e,t)},ac.addAll=function(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(u[e]=r,a[e]=i,r<c&&(c=r),r>s&&(s=r),i<f&&(f=i),i>l&&(l=i));if(c>s||f>l)return this;for(this.cover(c,f).cover(s,l),e=0;e<o;++e)tc(this,u[e],a[e],t[e]);return this},ac.cover=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{for(var u,a,c=i-e,f=this._root;e>t||t>=i||r>n||n>=o;)switch(a=(n<r)<<1|t<e,(u=new Array(4))[a]=f,f=u,c*=2,a){case 0:i=e+c,o=r+c;break;case 1:e=i-c,o=r+c;break;case 2:i=e+c,r=o-c;break;case 3:e=i-c,r=o-c}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},ac.data=function(){var t=[];return this.visit((function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)})),t},ac.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},ac.find=function(t,n,e){var r,i,o,u,a,c,f,s=this._x0,l=this._y0,h=this._x1,d=this._y1,p=[],v=this._root;for(v&&p.push(new nc(v,s,l,h,d)),null==e?e=1/0:(s=t-e,l=n-e,h=t+e,d=n+e,e*=e);c=p.pop();)if(!(!(v=c.node)||(i=c.x0)>h||(o=c.y0)>d||(u=c.x1)<s||(a=c.y1)<l))if(v.length){var y=(i+u)/2,g=(o+a)/2;p.push(new nc(v[3],y,g,u,a),new nc(v[2],i,g,y,a),new nc(v[1],y,o,u,g),new nc(v[0],i,o,y,g)),(f=(n>=g)<<1|t>=y)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-f],p[p.length-1-f]=c)}else{var _=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),b=_*_+m*m;if(b<e){var w=Math.sqrt(e=b);s=t-w,l=n-w,h=t+w,d=n+w,r=v.data}}return r},ac.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(u=+this._y.call(null,t)))return this;var n,e,r,i,o,u,a,c,f,s,l,h,d=this._root,p=this._x0,v=this._y0,y=this._x1,g=this._y1;if(!d)return this;if(d.length)for(;;){if((f=o>=(a=(p+y)/2))?p=a:y=a,(s=u>=(c=(v+g)/2))?v=c:g=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},ac.removeAll=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},ac.root=function(){return this._root},ac.size=function(){var t=0;return this.visit((function(n){if(!n.length)do{++t}while(n=n.next)})),t},ac.visit=function(t){var n,e,r,i,o,u,a=[],c=this._root;for(c&&a.push(new nc(c,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,u=n.y1)&&c.length){var f=(r+o)/2,s=(i+u)/2;(e=c[3])&&a.push(new nc(e,f,s,o,u)),(e=c[2])&&a.push(new nc(e,r,s,f,u)),(e=c[1])&&a.push(new nc(e,f,i,o,s)),(e=c[0])&&a.push(new nc(e,r,i,f,s))}return this},ac.visitAfter=function(t){var n,e=[],r=[];for(this._root&&e.push(new nc(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,u=n.x0,a=n.y0,c=n.x1,f=n.y1,s=(u+c)/2,l=(a+f)/2;(o=i[0])&&e.push(new nc(o,u,a,s,l)),(o=i[1])&&e.push(new nc(o,s,a,c,l)),(o=i[2])&&e.push(new nc(o,u,l,s,f)),(o=i[3])&&e.push(new nc(o,s,l,c,f))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},ac.x=function(t){return arguments.length?(this._x=t,this):this._x},ac.y=function(t){return arguments.length?(this._y=t,this):this._y};var sc=function(t){var n,e,r=1,i=1;function o(){for(var t,o,a,c,f,s,l,h=n.length,d=0;d<i;++d)for(o=ic(n,cc,fc).visitAfter(u),t=0;t<h;++t)a=n[t],s=e[a.index],l=s*s,c=a.x+a.vx,f=a.y+a.vy,o.visit(p);function p(t,n,e,i,o){var u=t.data,h=t.r,d=s+h;if(!u)return n>c+d||i<c-d||e>f+d||o<f-d;if(u.index>a.index){var p=c-u.x-u.vx,v=f-u.y-u.vy,y=p*p+v*v;y<d*d&&(0===p&&(y+=(p=Qa())*p),0===v&&(y+=(v=Qa())*v),y=(d-(y=Math.sqrt(y)))/y*r,a.vx+=(p*=y)*(d=(h*=h)/(l+h)),a.vy+=(v*=y)*d,u.vx-=p*(d=1-d),u.vy-=v*d)}}}function u(t){if(t.data)return t.r=e[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function a(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r<o;++r)i=n[r],e[i.index]=+t(i,r,n)}}return"function"!=typeof t&&(t=Ja(null==t?1:+t)),o.initialize=function(t){n=t,a()},o.iterations=function(t){return arguments.length?(i=+t,o):i},o.strength=function(t){return arguments.length?(r=+t,o):r},o.radius=function(n){return arguments.length?(t="function"==typeof n?n:Ja(+n),a(),o):t},o};function lc(t){return t.index}function hc(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}var dc=function(t){var n,e,r,i,o,u=lc,a=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},c=Ja(30),f=1;function s(r){for(var i=0,u=t.length;i<f;++i)for(var a,c,s,l,h,d,p,v=0;v<u;++v)c=(a=t[v]).source,l=(s=a.target).x+s.vx-c.x-c.vx||Qa(),h=s.y+s.vy-c.y-c.vy||Qa(),l*=d=((d=Math.sqrt(l*l+h*h))-e[v])/d*r*n[v],h*=d,s.vx-=l*(p=o[v]),s.vy-=h*p,c.vx+=l*(p=1-p),c.vy+=h*p}function l(){if(r){var a,c,f=r.length,s=t.length,l=fo(r,u);for(a=0,i=new Array(f);a<s;++a)(c=t[a]).index=a,"object"!=typeof c.source&&(c.source=hc(l,c.source)),"object"!=typeof c.target&&(c.target=hc(l,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(s);a<s;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);n=new Array(s),h(),e=new Array(s),d()}}function h(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+a(t[e],e,t)}function d(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+c(t[n],n,t)}return null==t&&(t=[]),s.initialize=function(t){r=t,l()},s.links=function(n){return arguments.length?(t=n,l(),s):t},s.id=function(t){return arguments.length?(u=t,s):u},s.iterations=function(t){return arguments.length?(f=+t,s):f},s.strength=function(t){return arguments.length?(a="function"==typeof t?t:Ja(+t),h(),s):a},s.distance=function(t){return arguments.length?(c="function"==typeof t?t:Ja(+t),d(),s):c},s};function pc(t){return t.x}function vc(t){return t.y}var yc=10,gc=Math.PI*(3-Math.sqrt(5)),_c=function(t){var n,e=1,r=.001,i=1-Math.pow(r,1/300),o=0,u=.6,a=fo(),c=nr(s),f=mt("tick","end");function s(){l(),f.call("tick",n),e<r&&(c.stop(),f.call("end",n))}function l(r){var c,f,s=t.length;void 0===r&&(r=1);for(var l=0;l<r;++l)for(e+=(o-e)*i,a.each((function(t){t(e)})),c=0;c<s;++c)null==(f=t[c]).fx?f.x+=f.vx*=u:(f.x=f.fx,f.vx=0),null==f.fy?f.y+=f.vy*=u:(f.y=f.fy,f.vy=0);return n}function h(){for(var n,e=0,r=t.length;e<r;++e){if((n=t[e]).index=e,null!=n.fx&&(n.x=n.fx),null!=n.fy&&(n.y=n.fy),isNaN(n.x)||isNaN(n.y)){var i=yc*Math.sqrt(e),o=e*gc;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function d(n){return n.initialize&&n.initialize(t),n}return null==t&&(t=[]),h(),n={tick:l,restart:function(){return c.restart(s),n},stop:function(){return c.stop(),n},nodes:function(e){return arguments.length?(t=e,h(),a.each(d),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(r=+t,n):r},alphaDecay:function(t){return arguments.length?(i=+t,n):+i},alphaTarget:function(t){return arguments.length?(o=+t,n):o},velocityDecay:function(t){return arguments.length?(u=1-t,n):1-u},force:function(t,e){return arguments.length>1?(null==e?a.remove(t):a.set(t,d(e)),n):a.get(t)},find:function(n,e,r){var i,o,u,a,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f<s;++f)(u=(i=n-(a=t[f]).x)*i+(o=e-a.y)*o)<r&&(c=a,r=u);return c},on:function(t,e){return arguments.length>1?(f.on(t,e),n):f.on(t)}}},mc=function(){var t,n,e,r,i=Ja(-30),o=1,u=1/0,a=.81;function c(r){var i,o=t.length,u=ic(t,pc,vc).visitAfter(s);for(e=r,i=0;i<o;++i)n=t[i],u.visit(l)}function f(){if(t){var n,e,o=t.length;for(r=new Array(o),n=0;n<o;++n)e=t[n],r[e.index]=+i(e,n,t)}}function s(t){var n,e,i,o,u,a=0,c=0;if(t.length){for(i=o=u=0;u<4;++u)(n=t[u])&&(e=Math.abs(n.value))&&(a+=n.value,c+=e,i+=e*n.x,o+=e*n.y);t.x=i/c,t.y=o/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{a+=r[n.data.index]}while(n=n.next)}t.value=a}function l(t,i,c,f){if(!t.value)return!0;var s=t.x-n.x,l=t.y-n.y,h=f-i,d=s*s+l*l;if(h*h/a<d)return d<u&&(0===s&&(d+=(s=Qa())*s),0===l&&(d+=(l=Qa())*l),d<o&&(d=Math.sqrt(o*d)),n.vx+=s*t.value*e/d,n.vy+=l*t.value*e/d),!0;if(!(t.length||d>=u)){(t.data!==n||t.next)&&(0===s&&(d+=(s=Qa())*s),0===l&&(d+=(l=Qa())*l),d<o&&(d=Math.sqrt(o*d)));do{t.data!==n&&(h=r[t.data.index]*e/d,n.vx+=s*h,n.vy+=l*h)}while(t=t.next)}}return c.initialize=function(n){t=n,f()},c.strength=function(t){return arguments.length?(i="function"==typeof t?t:Ja(+t),f(),c):i},c.distanceMin=function(t){return arguments.length?(o=t*t,c):Math.sqrt(o)},c.distanceMax=function(t){return arguments.length?(u=t*t,c):Math.sqrt(u)},c.theta=function(t){return arguments.length?(a=t*t,c):Math.sqrt(a)},c},bc=function(t,n,e){var r,i,o,u=Ja(.1);function a(t){for(var u=0,a=r.length;u<a;++u){var c=r[u],f=c.x-n||1e-6,s=c.y-e||1e-6,l=Math.sqrt(f*f+s*s),h=(o[u]-l)*i[u]*t/l;c.vx+=f*h,c.vy+=s*h}}function c(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)o[n]=+t(r[n],n,r),i[n]=isNaN(o[n])?0:+u(r[n],n,r)}}return"function"!=typeof t&&(t=Ja(+t)),null==n&&(n=0),null==e&&(e=0),a.initialize=function(t){r=t,c()},a.strength=function(t){return arguments.length?(u="function"==typeof t?t:Ja(+t),c(),a):u},a.radius=function(n){return arguments.length?(t="function"==typeof n?n:Ja(+n),c(),a):t},a.x=function(t){return arguments.length?(n=+t,a):n},a.y=function(t){return arguments.length?(e=+t,a):e},a},wc=function(t){var n,e,r,i=Ja(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vx+=(r[o]-i.x)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!=typeof t&&(t=Ja(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Ja(+t),u(),o):i},o.x=function(n){return arguments.length?(t="function"==typeof n?n:Ja(+n),u(),o):t},o},xc=function(t){var n,e,r,i=Ja(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vy+=(r[o]-i.y)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!=typeof t&&(t=Ja(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:Ja(+t),u(),o):i},o.y=function(n){return arguments.length?(t="function"==typeof n?n:Ja(+n),u(),o):t},o},Mc=(e("bHtr"),e("xfY5"),function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}),Sc=function(t){return(t=Mc(Math.abs(t)))?t[1]:NaN},kc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Tc(t){if(!(n=kc.exec(t)))throw new Error("invalid format: "+t);var n;return new Nc({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Nc(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Tc.prototype=Nc.prototype,Nc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Dc,Ac,Ec,Cc,Yc=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(i>0){if(!+t[r])break t;i=0}}return i>0?t.slice(0,i)+t.slice(n+1):t},Oc=function(t,n){var e=Mc(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Pc={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Oc(100*t,n)},r:Oc,s:function(t,n){var e=Mc(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Dc=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Mc(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Rc=function(t){return t},Uc=Array.prototype.map,Lc=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Fc=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Rc:(n=Uc.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?Rc:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Uc.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"-":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function l(t){var n=(t=Tc(t)).fill,e=t.align,l=t.sign,h=t.symbol,d=t.zero,p=t.width,v=t.comma,y=t.precision,g=t.trim,_=t.type;"n"===_?(v=!0,_="g"):Pc[_]||(void 0===y&&(y=12),g=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var m="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",b="$"===h?o:/[%p]/.test(_)?c:"",w=Pc[_],x=/[defgprs%]/.test(_);function M(t){var i,o,c,h=m,M=b;if("c"===_)M=w(t)+M,t="";else{var S=(t=+t)<0;if(t=isNaN(t)?s:w(Math.abs(t),y),g&&(t=Yc(t)),S&&0==+t&&(S=!1),h=(S?"("===l?l:f:"-"===l||"("===l?"":l)+h,M=("s"===_?Lc[8+Dc/3]:"")+M+(S&&"("===l?")":""),x)for(i=-1,o=t.length;++i<o;)if(48>(c=t.charCodeAt(i))||c>57){M=(46===c?u+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}v&&!d&&(t=r(t,1/0));var k=h.length+t.length+M.length,T=k<p?new Array(p-k+1).join(n):"";switch(v&&d&&(t=r(T+t,T.length?p-M.length:1/0),T=""),e){case"<":t=h+t+M+T;break;case"=":t=h+T+t+M;break;case"^":t=T.slice(0,k=T.length>>1)+h+t+M+T.slice(k);break;default:t=T+h+t+M}return a(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}return{format:l,formatPrefix:function(t,n){var e=l(((t=Tc(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Sc(n)/3))),i=Math.pow(10,-r),o=Lc[8+r/3];return function(t){return e(i*t)+o}}}};function zc(t){return Ac=Fc(t),Ec=Ac.format,Cc=Ac.formatPrefix,Ac}zc({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var Ic=function(t){return Math.max(0,-Sc(Math.abs(t)))},Hc=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Sc(n)/3)))-Sc(Math.abs(t)))},Vc=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Sc(n)-Sc(t))+1},qc=function(){return new Wc};function Wc(){this.reset()}Wc.prototype={constructor:Wc,reset:function(){this.s=this.t=0},add:function(t){Bc(jc,t,this.t),Bc(this,jc.s,this.s),this.s?this.t+=jc.t:this.s=jc.t},valueOf:function(){return this.s}};var jc=new Wc;function Bc(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}e("CyHz");var Gc=1e-6,Xc=1e-12,Zc=Math.PI,$c=Zc/2,Kc=Zc/4,Jc=2*Zc,Qc=180/Zc,tf=Zc/180,nf=Math.abs,ef=Math.atan,rf=Math.atan2,of=Math.cos,uf=Math.ceil,af=Math.exp,cf=(Math.floor,Math.log),ff=Math.pow,sf=Math.sin,lf=Math.sign||function(t){return t>0?1:t<0?-1:0},hf=Math.sqrt,df=Math.tan;function pf(t){return t>1?0:t<-1?Zc:Math.acos(t)}function vf(t){return t>1?$c:t<-1?-$c:Math.asin(t)}function yf(t){return(t=sf(t/2))*t}function gf(){}function _f(t,n){t&&bf.hasOwnProperty(t.type)&&bf[t.type](t,n)}var mf={Feature:function(t,n){_f(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)_f(e[r].geometry,n)}},bf={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){wf(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)wf(e[r],n,0)},Polygon:function(t,n){xf(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)xf(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)_f(e[r],n)}};function wf(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function xf(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)wf(t[e],n,1);n.polygonEnd()}var Mf,Sf,kf,Tf,Nf,Df=function(t,n){t&&mf.hasOwnProperty(t.type)?mf[t.type](t,n):_f(t,n)},Af=qc(),Ef=qc(),Cf={point:gf,lineStart:gf,lineEnd:gf,polygonStart:function(){Af.reset(),Cf.lineStart=Yf,Cf.lineEnd=Of},polygonEnd:function(){var t=+Af;Ef.add(t<0?Jc+t:t),this.lineStart=this.lineEnd=this.point=gf},sphere:function(){Ef.add(Jc)}};function Yf(){Cf.point=Pf}function Of(){Rf(Mf,Sf)}function Pf(t,n){Cf.point=Rf,Mf=t,Sf=n,kf=t*=tf,Tf=of(n=(n*=tf)/2+Kc),Nf=sf(n)}function Rf(t,n){var e=(t*=tf)-kf,r=e>=0?1:-1,i=r*e,o=of(n=(n*=tf)/2+Kc),u=sf(n),a=Nf*u,c=Tf*o+a*of(i),f=a*r*sf(i);Af.add(rf(f,c)),kf=t,Tf=o,Nf=u}var Uf=function(t){return Ef.reset(),Df(t,Cf),2*Ef};function Lf(t){return[rf(t[1],t[0]),vf(t[2])]}function Ff(t){var n=t[0],e=t[1],r=of(e);return[r*of(n),r*sf(n),sf(e)]}function zf(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function If(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Hf(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Vf(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function qf(t){var n=hf(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var Wf,jf,Bf,Gf,Xf,Zf,$f,Kf,Jf,Qf,ts=qc(),ns={point:es,lineStart:is,lineEnd:os,polygonStart:function(){ns.point=us,ns.lineStart=as,ns.lineEnd=cs,ts.reset(),Cf.polygonStart()},polygonEnd:function(){Cf.polygonEnd(),ns.point=es,ns.lineStart=is,ns.lineEnd=os,Af<0?(Wf=-(Bf=180),jf=-(Gf=90)):ts>Gc?Gf=90:ts<-Gc&&(jf=-90),Qf[0]=Wf,Qf[1]=Bf},sphere:function(){Wf=-(Bf=180),jf=-(Gf=90)}};function es(t,n){Jf.push(Qf=[Wf=t,Bf=t]),n<jf&&(jf=n),n>Gf&&(Gf=n)}function rs(t,n){var e=Ff([t*tf,n*tf]);if(Kf){var r=If(Kf,e),i=If([r[1],-r[0],0],r);qf(i),i=Lf(i);var o,u=t-Xf,a=u>0?1:-1,c=i[0]*Qc*a,f=nf(u)>180;f^(a*Xf<c&&c<a*t)?(o=i[1]*Qc)>Gf&&(Gf=o):f^(a*Xf<(c=(c+360)%360-180)&&c<a*t)?(o=-i[1]*Qc)<jf&&(jf=o):(n<jf&&(jf=n),n>Gf&&(Gf=n)),f?t<Xf?fs(Wf,t)>fs(Wf,Bf)&&(Bf=t):fs(t,Bf)>fs(Wf,Bf)&&(Wf=t):Bf>=Wf?(t<Wf&&(Wf=t),t>Bf&&(Bf=t)):t>Xf?fs(Wf,t)>fs(Wf,Bf)&&(Bf=t):fs(t,Bf)>fs(Wf,Bf)&&(Wf=t)}else Jf.push(Qf=[Wf=t,Bf=t]);n<jf&&(jf=n),n>Gf&&(Gf=n),Kf=e,Xf=t}function is(){ns.point=rs}function os(){Qf[0]=Wf,Qf[1]=Bf,ns.point=es,Kf=null}function us(t,n){if(Kf){var e=t-Xf;ts.add(nf(e)>180?e+(e>0?360:-360):e)}else Zf=t,$f=n;Cf.point(t,n),rs(t,n)}function as(){Cf.lineStart()}function cs(){us(Zf,$f),Cf.lineEnd(),nf(ts)>Gc&&(Wf=-(Bf=180)),Qf[0]=Wf,Qf[1]=Bf,Kf=null}function fs(t,n){return(n-=t)<0?n+360:n}function ss(t,n){return t[0]-n[0]}function ls(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}var hs,ds,ps,vs,ys,gs,_s,ms,bs,ws,xs,Ms,Ss,ks,Ts,Ns,Ds=function(t){var n,e,r,i,o,u,a;if(Gf=Bf=-(Wf=jf=1/0),Jf=[],Df(t,ns),e=Jf.length){for(Jf.sort(ss),n=1,o=[r=Jf[0]];n<e;++n)ls(r,(i=Jf[n])[0])||ls(r,i[1])?(fs(r[0],i[1])>fs(r[0],r[1])&&(r[1]=i[1]),fs(i[0],r[1])>fs(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=fs(r[1],i[0]))>u&&(u=a,Wf=i[0],Bf=r[1])}return Jf=Qf=null,Wf===1/0||jf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Wf,jf],[Bf,Gf]]},As={sphere:gf,point:Es,lineStart:Ys,lineEnd:Rs,polygonStart:function(){As.lineStart=Us,As.lineEnd=Ls},polygonEnd:function(){As.lineStart=Ys,As.lineEnd=Rs}};function Es(t,n){t*=tf;var e=of(n*=tf);Cs(e*of(t),e*sf(t),sf(n))}function Cs(t,n,e){ps+=(t-ps)/++hs,vs+=(n-vs)/hs,ys+=(e-ys)/hs}function Ys(){As.point=Os}function Os(t,n){t*=tf;var e=of(n*=tf);ks=e*of(t),Ts=e*sf(t),Ns=sf(n),As.point=Ps,Cs(ks,Ts,Ns)}function Ps(t,n){t*=tf;var e=of(n*=tf),r=e*of(t),i=e*sf(t),o=sf(n),u=rf(hf((u=Ts*o-Ns*i)*u+(u=Ns*r-ks*o)*u+(u=ks*i-Ts*r)*u),ks*r+Ts*i+Ns*o);ds+=u,gs+=u*(ks+(ks=r)),_s+=u*(Ts+(Ts=i)),ms+=u*(Ns+(Ns=o)),Cs(ks,Ts,Ns)}function Rs(){As.point=Es}function Us(){As.point=Fs}function Ls(){zs(Ms,Ss),As.point=Es}function Fs(t,n){Ms=t,Ss=n,t*=tf,n*=tf,As.point=zs;var e=of(n);ks=e*of(t),Ts=e*sf(t),Ns=sf(n),Cs(ks,Ts,Ns)}function zs(t,n){t*=tf;var e=of(n*=tf),r=e*of(t),i=e*sf(t),o=sf(n),u=Ts*o-Ns*i,a=Ns*r-ks*o,c=ks*i-Ts*r,f=hf(u*u+a*a+c*c),s=vf(f),l=f&&-s/f;bs+=l*u,ws+=l*a,xs+=l*c,ds+=s,gs+=s*(ks+(ks=r)),_s+=s*(Ts+(Ts=i)),ms+=s*(Ns+(Ns=o)),Cs(ks,Ts,Ns)}var Is=function(t){hs=ds=ps=vs=ys=gs=_s=ms=bs=ws=xs=0,Df(t,As);var n=bs,e=ws,r=xs,i=n*n+e*e+r*r;return i<Xc&&(n=gs,e=_s,r=ms,ds<Gc&&(n=ps,e=vs,r=ys),(i=n*n+e*e+r*r)<Xc)?[NaN,NaN]:[rf(e,n)*Qc,vf(r/hf(i))*Qc]},Hs=function(t){return function(){return t}},Vs=function(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e};function qs(t,n){return[nf(t)>Zc?t+Math.round(-t/Jc)*Jc:t,n]}function Ws(t,n,e){return(t%=Jc)?n||e?Vs(Bs(t),Gs(n,e)):Bs(t):n||e?Gs(n,e):qs}function js(t){return function(n,e){return[(n+=t)>Zc?n-Jc:n<-Zc?n+Jc:n,e]}}function Bs(t){var n=js(t);return n.invert=js(-t),n}function Gs(t,n){var e=of(t),r=sf(t),i=of(n),o=sf(n);function u(t,n){var u=of(n),a=of(t)*u,c=sf(t)*u,f=sf(n),s=f*e+a*r;return[rf(c*i-s*o,a*e-f*r),vf(s*i+c*o)]}return u.invert=function(t,n){var u=of(n),a=of(t)*u,c=sf(t)*u,f=sf(n),s=f*i-c*o;return[rf(c*i+f*o,a*e+s*r),vf(s*e-a*r)]},u}qs.invert=qs;var Xs=function(t){function n(n){return(n=t(n[0]*tf,n[1]*tf))[0]*=Qc,n[1]*=Qc,n}return t=Ws(t[0]*tf,t[1]*tf,t.length>2?t[2]*tf:0),n.invert=function(n){return(n=t.invert(n[0]*tf,n[1]*tf))[0]*=Qc,n[1]*=Qc,n},n};function Zs(t,n,e,r,i,o){if(e){var u=of(n),a=sf(n),c=r*e;null==i?(i=n+r*Jc,o=n-c/2):(i=$s(u,i),o=$s(u,o),(r>0?i<o:i>o)&&(i+=r*Jc));for(var f,s=i;r>0?s>o:s<o;s-=c)f=Lf([u,-a*of(s),-a*sf(s)]),t.point(f[0],f[1])}}function $s(t,n){(n=Ff(n))[0]-=t,qf(n);var e=pf(-n[1]);return((-n[2]<0?-e:e)+Jc-Gc)%Jc}var Ks=function(){var t,n,e=Hs([0,0]),r=Hs(90),i=Hs(6),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=Qc,e[1]*=Qc}};function u(){var u=e.apply(this,arguments),a=r.apply(this,arguments)*tf,c=i.apply(this,arguments)*tf;return t=[],n=Ws(-u[0]*tf,-u[1]*tf,0).invert,Zs(o,a,c,1),u={type:"Polygon",coordinates:[t]},t=n=null,u}return u.center=function(t){return arguments.length?(e="function"==typeof t?t:Hs([+t[0],+t[1]]),u):e},u.radius=function(t){return arguments.length?(r="function"==typeof t?t:Hs(+t),u):r},u.precision=function(t){return arguments.length?(i="function"==typeof t?t:Hs(+t),u):i},u},Js=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:gf,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},Qs=function(t,n){return nf(t[0]-n[0])<Gc&&nf(t[1]-n[1])<Gc};function tl(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}var nl=function(t,n,e,r,i){var o,u,a=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(Qs(r,u)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);i.lineEnd()}else a.push(e=new tl(r,t,null,!0)),c.push(e.o=new tl(r,null,e,!1)),a.push(e=new tl(u,t,null,!1)),c.push(e.o=new tl(u,null,e,!0))}})),a.length){for(c.sort(n),el(a),el(c),o=0,u=c.length;o<u;++o)c[o].e=e=!e;for(var f,s,l=a[0];;){for(var h=l,d=!0;h.v;)if((h=h.n)===l)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,u=f.length;o<u;++o)i.point((s=f[o])[0],s[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(f=h.p.z,o=f.length-1;o>=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}};function el(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}var rl=qc();function il(t){return nf(t[0])<=Zc?t[0]:lf(t[0])*((nf(t[0])+Zc)%Jc-Zc)}var ol=function(t,n){var e=il(n),r=n[1],i=sf(r),o=[sf(e),-of(e),0],u=0,a=0;rl.reset(),1===i?r=$c+Gc:-1===i&&(r=-$c-Gc);for(var c=0,f=t.length;c<f;++c)if(l=(s=t[c]).length)for(var s,l,h=s[l-1],d=il(h),p=h[1]/2+Kc,v=sf(p),y=of(p),g=0;g<l;++g,d=m,v=w,y=x,h=_){var _=s[g],m=il(_),b=_[1]/2+Kc,w=sf(b),x=of(b),M=m-d,S=M>=0?1:-1,k=S*M,T=k>Zc,N=v*w;if(rl.add(rf(N*S*sf(k),y*x+N*of(k))),u+=T?M+S*Jc:M,T^d>=e^m>=e){var D=If(Ff(h),Ff(_));qf(D);var A=If(o,D);qf(A);var E=(T^M>=0?-1:1)*vf(A[2]);(r>E||r===E&&(D[0]||D[1]))&&(a+=T^M>=0?1:-1)}}return(u<-Gc||u<Gc&&rl<-Gc)^1&a},ul=function(t,n,e,r){return function(i){var o,u,a,c=n(i),f=Js(),s=n(f),l=!1,h={point:d,lineStart:v,lineEnd:y,polygonStart:function(){h.point=g,h.lineStart=_,h.lineEnd=m,u=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=v,h.lineEnd=y,u=H(u);var t=ol(o,r);u.length?(l||(i.polygonStart(),l=!0),nl(u,cl,t,e,i)):t&&(l||(i.polygonStart(),l=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),u=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(n,e){t(n,e)&&i.point(n,e)}function p(t,n){c.point(t,n)}function v(){h.point=p,c.lineStart()}function y(){h.point=d,c.lineEnd()}function g(t,n){a.push([t,n]),s.point(t,n)}function _(){s.lineStart(),a=[]}function m(){g(a[0][0],a[0][1]),s.lineEnd();var t,n,e,r,c=s.clean(),h=f.result(),d=h.length;if(a.pop(),o.push(a),a=null,d)if(1&c){if((n=(e=h[0]).length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),u.push(h.filter(al))}return h}};function al(t){return t.length>1}function cl(t,n){return((t=t.x)[0]<0?t[1]-$c-Gc:$c-t[1])-((n=n.x)[0]<0?n[1]-$c-Gc:$c-n[1])}var fl=ul((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?Zc:-Zc,c=nf(o-e);nf(c-Zc)<Gc?(t.point(e,r=(r+u)/2>0?$c:-$c),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&c>=Zc&&(nf(e-i)<Gc&&(e-=i*Gc),nf(o-a)<Gc&&(o-=a*Gc),r=function(t,n,e,r){var i,o,u=sf(t-e);return nf(u)>Gc?ef((sf(n)*(o=of(r))*sf(e)-sf(r)*(i=of(n))*sf(t))/(i*o*u)):(n+r)/2}(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*$c,r.point(-Zc,i),r.point(0,i),r.point(Zc,i),r.point(Zc,0),r.point(Zc,-i),r.point(0,-i),r.point(-Zc,-i),r.point(-Zc,0),r.point(-Zc,i);else if(nf(t[0]-n[0])>Gc){var o=t[0]<n[0]?Zc:-Zc;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}),[-Zc,-$c]);var sl=function(t){var n=of(t),e=6*tf,r=n>0,i=nf(n)>Gc;function o(t,e){return of(t)*of(e)>n}function u(t,e,r){var i=[1,0,0],o=If(Ff(t),Ff(e)),u=zf(o,o),a=o[0],c=u-a*a;if(!c)return!r&&t;var f=n*u/c,s=-n*a/c,l=If(i,o),h=Vf(i,f);Hf(h,Vf(o,s));var d=l,p=zf(h,d),v=zf(d,d),y=p*p-v*(zf(h,h)-1);if(!(y<0)){var g=hf(y),_=Vf(d,(-p-g)/v);if(Hf(_,h),_=Lf(_),!r)return _;var m,b=t[0],w=e[0],x=t[1],M=e[1];w<b&&(m=b,b=w,w=m);var S=w-b,k=nf(S-Zc)<Gc;if(!k&&M<x&&(m=x,x=M,M=m),k||S<Gc?k?x+M>0^_[1]<(nf(_[0]-b)<Gc?x:M):x<=_[1]&&_[1]<=M:S>Zc^(b<=_[0]&&_[0]<=w)){var T=Vf(d,(-p+g)/v);return Hf(T,h),[_,Lf(T)]}}}function a(n,e){var i=r?t:Zc-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return ul(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var d,p=[l,h],v=o(l,h),y=r?v?0:a(l,h):v?a(l+(l<0?Zc:-Zc),h):0;if(!n&&(f=c=v)&&t.lineStart(),v!==c&&(!(d=u(n,p))||Qs(n,d)||Qs(p,d))&&(p[0]+=Gc,p[1]+=Gc,v=o(p[0],p[1])),v!==c)s=0,v?(t.lineStart(),d=u(p,n),t.point(d[0],d[1])):(d=u(n,p),t.point(d[0],d[1]),t.lineEnd()),n=d;else if(i&&n&&r^v){var g;y&e||!(g=u(p,n,!0))||(s=0,r?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1])))}!v||n&&Qs(n,p)||t.point(p[0],p[1]),n=p,c=v,e=y},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){Zs(o,t,e,i,n,r)}),r?[0,-t]:[-Zc,t-Zc])},ll=function(t,n,e,r,i,o){var u,a=t[0],c=t[1],f=0,s=1,l=n[0]-a,h=n[1]-c;if(u=e-a,l||!(u>0)){if(u/=l,l<0){if(u<f)return;u<s&&(s=u)}else if(l>0){if(u>s)return;u>f&&(f=u)}if(u=i-a,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u<f)return;u<s&&(s=u)}if(u=r-c,h||!(u>0)){if(u/=h,h<0){if(u<f)return;u<s&&(s=u)}else if(h>0){if(u>s)return;u>f&&(f=u)}if(u=o-c,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u<f)return;u<s&&(s=u)}return f>0&&(t[0]=a+f*l,t[1]=c+f*h),s<1&&(n[0]=a+s*l,n[1]=c+s*h),!0}}}}},hl=1e9,dl=-hl;function pl(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,f){var s=0,l=0;if(null==i||(s=u(i,a))!==(l=u(o,a))||c(i,o)<0^a>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+a+4)%4)!==l);else f.point(o[0],o[1])}function u(r,i){return nf(r[0]-t)<Gc?i>0?0:3:nf(r[0]-e)<Gc?i>0?2:1:nf(r[1]-n)<Gc?i>0?1:0:i>0?3:2}function a(t,n){return c(t.x,n.x)}function c(t,n){var e=u(t,1),r=u(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(u){var c,f,s,l,h,d,p,v,y,g,_,m=u,b=Js(),w={point:x,lineStart:function(){w.point=M,f&&f.push(s=[]);g=!0,y=!1,p=v=NaN},lineEnd:function(){c&&(M(l,h),d&&y&&b.rejoin(),c.push(b.result()));w.point=x,y&&m.lineEnd()},polygonStart:function(){m=b,c=[],f=[],_=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;e<i;++e)for(var o,u,a=f[e],c=1,s=a.length,l=a[0],h=l[0],d=l[1];c<s;++c)o=h,u=d,l=a[c],h=l[0],d=l[1],u<=r?d>r&&(h-o)*(r-u)>(d-u)*(t-o)&&++n:d<=r&&(h-o)*(r-u)<(d-u)*(t-o)&&--n;return n}(),e=_&&n,i=(c=H(c)).length;(e||i)&&(u.polygonStart(),e&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),i&&nl(c,a,n,o,u),u.polygonEnd());m=u,c=f=s=null}};function x(t,n){i(t,n)&&m.point(t,n)}function M(o,u){var a=i(o,u);if(f&&s.push([o,u]),g)l=o,h=u,d=a,g=!1,a&&(m.lineStart(),m.point(o,u));else if(a&&y)m.point(o,u);else{var c=[p=Math.max(dl,Math.min(hl,p)),v=Math.max(dl,Math.min(hl,v))],b=[o=Math.max(dl,Math.min(hl,o)),u=Math.max(dl,Math.min(hl,u))];ll(c,b,t,n,e,r)?(y||(m.lineStart(),m.point(c[0],c[1])),m.point(b[0],b[1]),a||m.lineEnd(),_=!1):a&&(m.lineStart(),m.point(o,u),_=!1)}p=o,v=u,y=a}return w}}var vl,yl,gl,_l=function(){var t,n,e,r=0,i=0,o=960,u=500;return e={stream:function(e){return t&&n===e?t:t=pl(r,i,o,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],u=+a[1][1],t=n=null,e):[[r,i],[o,u]]}}},ml=qc(),bl={sphere:gf,point:gf,lineStart:function(){bl.point=xl,bl.lineEnd=wl},lineEnd:gf,polygonStart:gf,polygonEnd:gf};function wl(){bl.point=bl.lineEnd=gf}function xl(t,n){vl=t*=tf,yl=sf(n*=tf),gl=of(n),bl.point=Ml}function Ml(t,n){t*=tf;var e=sf(n*=tf),r=of(n),i=nf(t-vl),o=of(i),u=r*sf(i),a=gl*e-yl*r*o,c=yl*e+gl*r*o;ml.add(rf(hf(u*u+a*a),c)),vl=t,yl=e,gl=r}var Sl=function(t){return ml.reset(),Df(t,bl),+ml},kl=[null,null],Tl={type:"LineString",coordinates:kl},Nl=function(t,n){return kl[0]=t,kl[1]=n,Sl(Tl)},Dl={Feature:function(t,n){return El(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(El(e[r].geometry,n))return!0;return!1}},Al={Sphere:function(){return!0},Point:function(t,n){return Cl(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Cl(e[r],n))return!0;return!1},LineString:function(t,n){return Yl(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Yl(e[r],n))return!0;return!1},Polygon:function(t,n){return Ol(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Ol(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(El(e[r],n))return!0;return!1}};function El(t,n){return!(!t||!Al.hasOwnProperty(t.type))&&Al[t.type](t,n)}function Cl(t,n){return 0===Nl(t,n)}function Yl(t,n){for(var e,r,i,o=0,u=t.length;o<u;o++){if(0===(r=Nl(t[o],n)))return!0;if(o>0&&(i=Nl(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<Xc*i)return!0;e=r}return!1}function Ol(t,n){return!!ol(t.map(Pl),Rl(n))}function Pl(t){return(t=t.map(Rl)).pop(),t}function Rl(t){return[t[0]*tf,t[1]*tf]}var Ul=function(t,n){return(t&&Dl.hasOwnProperty(t.type)?Dl[t.type]:El)(t,n)};function Ll(t,n,e){var r=T(t,n-Gc,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function Fl(t,n,e){var r=T(t,n-Gc,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function zl(){var t,n,e,r,i,o,u,a,c,f,s,l,h=10,d=h,p=90,v=360,y=2.5;function g(){return{type:"MultiLineString",coordinates:_()}}function _(){return T(uf(r/p)*p,e,p).map(s).concat(T(uf(a/v)*v,u,v).map(l)).concat(T(uf(n/h)*h,t,h).filter((function(t){return nf(t%p)>Gc})).map(c)).concat(T(uf(o/d)*d,i,d).filter((function(t){return nf(t%v)>Gc})).map(f))}return g.lines=function(){return _().map((function(t){return{type:"LineString",coordinates:t}}))},g.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(u).slice(1),s(e).reverse().slice(1),l(a).reverse().slice(1))]}},g.extent=function(t){return arguments.length?g.extentMajor(t).extentMinor(t):g.extentMinor()},g.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],u=+t[1][1],r>e&&(t=r,r=e,e=t),a>u&&(t=a,a=u,u=t),g.precision(y)):[[r,a],[e,u]]},g.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),g.precision(y)):[[n,o],[t,i]]},g.step=function(t){return arguments.length?g.stepMajor(t).stepMinor(t):g.stepMinor()},g.stepMajor=function(t){return arguments.length?(p=+t[0],v=+t[1],g):[p,v]},g.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],g):[h,d]},g.precision=function(h){return arguments.length?(y=+h,c=Ll(o,i,90),f=Fl(n,t,y),s=Ll(a,u,90),l=Fl(r,e,y),g):y},g.extentMajor([[-180,-90+Gc],[180,90-Gc]]).extentMinor([[-180,-80-Gc],[180,80+Gc]])}function Il(){return zl()()}var Hl,Vl,ql,Wl,jl=function(t,n){var e=t[0]*tf,r=t[1]*tf,i=n[0]*tf,o=n[1]*tf,u=of(r),a=sf(r),c=of(o),f=sf(o),s=u*of(e),l=u*sf(e),h=c*of(i),d=c*sf(i),p=2*vf(hf(yf(o-r)+u*c*yf(i-e))),v=sf(p),y=p?function(t){var n=sf(t*=p)/v,e=sf(p-t)/v,r=e*s+n*h,i=e*l+n*d,o=e*a+n*f;return[rf(i,r)*Qc,rf(o,hf(r*r+i*i))*Qc]}:function(){return[e*Qc,r*Qc]};return y.distance=p,y},Bl=function(t){return t},Gl=qc(),Xl=qc(),Zl={point:gf,lineStart:gf,lineEnd:gf,polygonStart:function(){Zl.lineStart=$l,Zl.lineEnd=Ql},polygonEnd:function(){Zl.lineStart=Zl.lineEnd=Zl.point=gf,Gl.add(nf(Xl)),Xl.reset()},result:function(){var t=Gl/2;return Gl.reset(),t}};function $l(){Zl.point=Kl}function Kl(t,n){Zl.point=Jl,Hl=ql=t,Vl=Wl=n}function Jl(t,n){Xl.add(Wl*t-ql*n),ql=t,Wl=n}function Ql(){Jl(Hl,Vl)}var th=Zl,nh=1/0,eh=nh,rh=-nh,ih=rh;var oh,uh,ah,ch,fh={point:function(t,n){t<nh&&(nh=t);t>rh&&(rh=t);n<eh&&(eh=n);n>ih&&(ih=n)},lineStart:gf,lineEnd:gf,polygonStart:gf,polygonEnd:gf,result:function(){var t=[[nh,eh],[rh,ih]];return rh=ih=-(eh=nh=1/0),t}},sh=0,lh=0,hh=0,dh=0,ph=0,vh=0,yh=0,gh=0,_h=0,mh={point:bh,lineStart:wh,lineEnd:Sh,polygonStart:function(){mh.lineStart=kh,mh.lineEnd=Th},polygonEnd:function(){mh.point=bh,mh.lineStart=wh,mh.lineEnd=Sh},result:function(){var t=_h?[yh/_h,gh/_h]:vh?[dh/vh,ph/vh]:hh?[sh/hh,lh/hh]:[NaN,NaN];return sh=lh=hh=dh=ph=vh=yh=gh=_h=0,t}};function bh(t,n){sh+=t,lh+=n,++hh}function wh(){mh.point=xh}function xh(t,n){mh.point=Mh,bh(ah=t,ch=n)}function Mh(t,n){var e=t-ah,r=n-ch,i=hf(e*e+r*r);dh+=i*(ah+t)/2,ph+=i*(ch+n)/2,vh+=i,bh(ah=t,ch=n)}function Sh(){mh.point=bh}function kh(){mh.point=Nh}function Th(){Dh(oh,uh)}function Nh(t,n){mh.point=Dh,bh(oh=ah=t,uh=ch=n)}function Dh(t,n){var e=t-ah,r=n-ch,i=hf(e*e+r*r);dh+=i*(ah+t)/2,ph+=i*(ch+n)/2,vh+=i,yh+=(i=ch*t-ah*n)*(ah+t),gh+=i*(ch+n),_h+=3*i,bh(ah=t,ch=n)}var Ah=mh;function Eh(t){this._context=t}Eh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,Jc)}},result:gf};var Ch,Yh,Oh,Ph,Rh,Uh=qc(),Lh={point:gf,lineStart:function(){Lh.point=Fh},lineEnd:function(){Ch&&zh(Yh,Oh),Lh.point=gf},polygonStart:function(){Ch=!0},polygonEnd:function(){Ch=null},result:function(){var t=+Uh;return Uh.reset(),t}};function Fh(t,n){Lh.point=zh,Yh=Ph=t,Oh=Rh=n}function zh(t,n){Ph-=t,Rh-=n,Uh.add(hf(Ph*Ph+Rh*Rh)),Ph=t,Rh=n}var Ih=Lh;function Hh(){this._string=[]}function Vh(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Hh.prototype={_radius:4.5,_circle:Vh(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=Vh(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var qh=function(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),Df(t,e(r))),r.result()}return o.area=function(t){return Df(t,e(th)),th.result()},o.measure=function(t){return Df(t,e(Ih)),Ih.result()},o.bounds=function(t){return Df(t,e(fh)),fh.result()},o.centroid=function(t){return Df(t,e(Ah)),Ah.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,Bl):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new Hh):new Eh(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)},Wh=function(t){return{stream:jh(t)}};function jh(t){return function(n){var e=new Bh;for(var r in t)e[r]=t[r];return e.stream=n,e}}function Bh(){}function Gh(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),Df(e,t.stream(fh)),n(fh.result()),null!=r&&t.clipExtent(r),t}function Xh(t,n,e){return Gh(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),u=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([u,a])}),e)}function Zh(t,n,e){return Xh(t,[[0,0],n],e)}function $h(t,n,e){return Gh(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,u=-i*e[0][1];t.scale(150*i).translate([o,u])}),e)}function Kh(t,n,e){return Gh(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],u=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,u])}),e)}Bh.prototype={constructor:Bh,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Jh=16,Qh=of(30*tf),td=function(t,n){return+n?function(t,n){function e(r,i,o,u,a,c,f,s,l,h,d,p,v,y){var g=f-r,_=s-i,m=g*g+_*_;if(m>4*n&&v--){var b=u+h,w=a+d,x=c+p,M=hf(b*b+w*w+x*x),S=vf(x/=M),k=nf(nf(x)-1)<Gc||nf(o-l)<Gc?(o+l)/2:rf(w,b),T=t(k,S),N=T[0],D=T[1],A=N-r,E=D-i,C=_*A-g*E;(C*C/m>n||nf((g*A+_*E)/m-.5)>.3||u*h+a*d+c*p<Qh)&&(e(r,i,o,u,a,c,N,D,k,b/=M,w/=M,x,v,y),y.point(N,D),e(N,D,k,b,w,x,f,s,l,h,d,p,v,y))}}return function(n){var r,i,o,u,a,c,f,s,l,h,d,p,v={point:y,lineStart:g,lineEnd:m,polygonStart:function(){n.polygonStart(),v.lineStart=b},polygonEnd:function(){n.polygonEnd(),v.lineStart=g}};function y(e,r){e=t(e,r),n.point(e[0],e[1])}function g(){s=NaN,v.point=_,n.lineStart()}function _(r,i){var o=Ff([r,i]),u=t(r,i);e(s,l,f,h,d,p,s=u[0],l=u[1],f=r,h=o[0],d=o[1],p=o[2],Jh,n),n.point(s,l)}function m(){v.point=y,n.lineEnd()}function b(){g(),v.point=w,v.lineEnd=x}function w(t,n){_(r=t,n),i=s,o=l,u=h,a=d,c=p,v.point=_}function x(){e(s,l,f,h,d,p,i,o,r,u,a,c,Jh,n),v.lineEnd=m,m()}return v}}(t,n):function(t){return jh({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)};var nd=jh({point:function(t,n){this.stream.point(t*tf,n*tf)}});function ed(t,n,e){function r(r,i){return[n+t*r,e-t*i]}return r.invert=function(r,i){return[(r-n)/t,(e-i)/t]},r}function rd(t,n,e,r){var i=of(r),o=sf(r),u=i*t,a=o*t,c=i/t,f=o/t,s=(o*e-i*n)/t,l=(o*n+i*e)/t;function h(t,r){return[u*t-a*r+n,e-a*t-u*r]}return h.invert=function(t,n){return[c*t-f*n+s,l-f*t-c*n]},h}function id(t){return od((function(){return t}))()}function od(t){var n,e,r,i,o,u,a,c,f,s,l=150,h=480,d=250,p=0,v=0,y=0,g=0,_=0,m=0,b=null,w=fl,x=null,M=Bl,S=.5;function k(t){return c(t[0]*tf,t[1]*tf)}function T(t){return(t=c.invert(t[0],t[1]))&&[t[0]*Qc,t[1]*Qc]}function N(){var t=rd(l,0,0,m).apply(null,n(p,v)),r=(m?rd:ed)(l,h-t[0],d-t[1],m);return e=Ws(y,g,_),a=Vs(n,r),c=Vs(e,a),u=td(a,S),D()}function D(){return f=s=null,k}return k.stream=function(t){return f&&s===t?f:f=nd(function(t){return jh({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(e)(w(u(M(s=t)))))},k.preclip=function(t){return arguments.length?(w=t,b=void 0,D()):w},k.postclip=function(t){return arguments.length?(M=t,x=r=i=o=null,D()):M},k.clipAngle=function(t){return arguments.length?(w=+t?sl(b=t*tf):(b=null,fl),D()):b*Qc},k.clipExtent=function(t){return arguments.length?(M=null==t?(x=r=i=o=null,Bl):pl(x=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),D()):null==x?null:[[x,r],[i,o]]},k.scale=function(t){return arguments.length?(l=+t,N()):l},k.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],N()):[h,d]},k.center=function(t){return arguments.length?(p=t[0]%360*tf,v=t[1]%360*tf,N()):[p*Qc,v*Qc]},k.rotate=function(t){return arguments.length?(y=t[0]%360*tf,g=t[1]%360*tf,_=t.length>2?t[2]%360*tf:0,N()):[y*Qc,g*Qc,_*Qc]},k.angle=function(t){return arguments.length?(m=t%360*tf,N()):m*Qc},k.precision=function(t){return arguments.length?(u=td(a,S=t*t),D()):hf(S)},k.fitExtent=function(t,n){return Xh(k,t,n)},k.fitSize=function(t,n){return Zh(k,t,n)},k.fitWidth=function(t,n){return $h(k,t,n)},k.fitHeight=function(t,n){return Kh(k,t,n)},function(){return n=t.apply(this,arguments),k.invert=n.invert&&T,N()}}function ud(t){var n=0,e=Zc/3,r=od(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*tf,e=t[1]*tf):[n*Qc,e*Qc]},i}function ad(t,n){var e=sf(t),r=(e+sf(n))/2;if(nf(r)<Gc)return function(t){var n=of(t);function e(t,e){return[t*n,sf(e)/n]}return e.invert=function(t,e){return[t/n,vf(e*n)]},e}(t);var i=1+e*(2*r-e),o=hf(i)/r;function u(t,n){var e=hf(i-2*r*sf(n))/r;return[e*sf(t*=r),o-e*of(t)]}return u.invert=function(t,n){var e=o-n;return[rf(t,nf(e))/r*lf(e),vf((i-(t*t+e*e)*r*r)/(2*r))]},u}var cd=function(){return ud(ad).scale(155.424).center([0,33.6442])},fd=function(){return cd().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var sd=function(){var t,n,e,r,i,o,u=fd(),a=cd().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=cd().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(t,n){o=[t,n]}};function s(t){var n=t[0],u=t[1];return o=null,e.point(n,u),o||(r.point(n,u),o)||(i.point(n,u),o)}function l(){return t=n=null,s}return s.invert=function(t){var n=u.scale(),e=u.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:u).invert(t)},s.stream=function(e){return t&&n===e?t:(r=[u.stream(n=e),a.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e<i;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},s.precision=function(t){return arguments.length?(u.precision(t),a.precision(t),c.precision(t),l()):u.precision()},s.scale=function(t){return arguments.length?(u.scale(t),a.scale(.35*t),c.scale(t),s.translate(u.translate())):u.scale()},s.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),o=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[o-.455*n,s-.238*n],[o+.455*n,s+.238*n]]).stream(f),r=a.translate([o-.307*n,s+.201*n]).clipExtent([[o-.425*n+Gc,s+.12*n+Gc],[o-.214*n-Gc,s+.234*n-Gc]]).stream(f),i=c.translate([o-.205*n,s+.212*n]).clipExtent([[o-.214*n+Gc,s+.166*n+Gc],[o-.115*n-Gc,s+.234*n-Gc]]).stream(f),l()},s.fitExtent=function(t,n){return Xh(s,t,n)},s.fitSize=function(t,n){return Zh(s,t,n)},s.fitWidth=function(t,n){return $h(s,t,n)},s.fitHeight=function(t,n){return Kh(s,t,n)},s.scale(1070)};function ld(t){return function(n,e){var r=of(n),i=of(e),o=t(r*i);return[o*i*sf(n),o*sf(e)]}}function hd(t){return function(n,e){var r=hf(n*n+e*e),i=t(r),o=sf(i),u=of(i);return[rf(n*o,r*u),vf(r&&e*o/r)]}}var dd=ld((function(t){return hf(2/(1+t))}));dd.invert=hd((function(t){return 2*vf(t/2)}));var pd=function(){return id(dd).scale(124.75).clipAngle(179.999)},vd=ld((function(t){return(t=pf(t))&&t/sf(t)}));vd.invert=hd((function(t){return t}));var yd=function(){return id(vd).scale(79.4188).clipAngle(179.999)};function gd(t,n){return[t,cf(df(($c+n)/2))]}gd.invert=function(t,n){return[t,2*ef(af(n))-$c]};var _d=function(){return md(gd).scale(961/Jc)};function md(t){var n,e,r,i=id(t),o=i.center,u=i.scale,a=i.translate,c=i.clipExtent,f=null;function s(){var o=Zc*u(),a=i(Xs(i.rotate()).invert([0,0]));return c(null==f?[[a[0]-o,a[1]-o],[a[0]+o,a[1]+o]]:t===gd?[[Math.max(a[0]-o,f),n],[Math.min(a[0]+o,e),r]]:[[f,Math.max(a[1]-o,n)],[e,Math.min(a[1]+o,r)]])}return i.scale=function(t){return arguments.length?(u(t),s()):u()},i.translate=function(t){return arguments.length?(a(t),s()):a()},i.center=function(t){return arguments.length?(o(t),s()):o()},i.clipExtent=function(t){return arguments.length?(null==t?f=n=e=r=null:(f=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),s()):null==f?null:[[f,n],[e,r]]},s()}function bd(t){return df(($c+t)/2)}function wd(t,n){var e=of(t),r=t===n?sf(t):cf(e/of(n))/cf(bd(n)/bd(t)),i=e*ff(bd(t),r)/r;if(!r)return gd;function o(t,n){i>0?n<-$c+Gc&&(n=-$c+Gc):n>$c-Gc&&(n=$c-Gc);var e=i/ff(bd(n),r);return[e*sf(r*t),i-e*of(r*t)]}return o.invert=function(t,n){var e=i-n,o=lf(r)*hf(t*t+e*e);return[rf(t,nf(e))/r*lf(e),2*ef(ff(i/o,1/r))-$c]},o}var xd=function(){return ud(wd).scale(109.5).parallels([30,30])};function Md(t,n){return[t,n]}Md.invert=Md;var Sd=function(){return id(Md).scale(152.63)};function kd(t,n){var e=of(t),r=t===n?sf(t):(e-of(n))/(n-t),i=e/r+t;if(nf(r)<Gc)return Md;function o(t,n){var e=i-n,o=r*t;return[e*sf(o),i-e*of(o)]}return o.invert=function(t,n){var e=i-n;return[rf(t,nf(e))/r*lf(e),i-lf(r)*hf(t*t+e*e)]},o}var Td=function(){return ud(kd).scale(131.154).center([0,13.9389])},Nd=1.340264,Dd=-.081106,Ad=893e-6,Ed=.003796,Cd=hf(3)/2;function Yd(t,n){var e=vf(Cd*sf(n)),r=e*e,i=r*r*r;return[t*of(e)/(Cd*(Nd+3*Dd*r+i*(7*Ad+9*Ed*r))),e*(Nd+Dd*r+i*(Ad+Ed*r))]}Yd.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,u=0;u<12&&(o=(i=(r-=e=(r*(Nd+Dd*i+o*(Ad+Ed*i))-n)/(Nd+3*Dd*i+o*(7*Ad+9*Ed*i)))*r)*i*i,!(nf(e)<Xc));++u);return[Cd*t*(Nd+3*Dd*i+o*(7*Ad+9*Ed*i))/of(r),vf(sf(r)/Cd)]};var Od=function(){return id(Yd).scale(177.158)};function Pd(t,n){var e=of(n),r=of(t)*e;return[e*sf(t)/r,sf(n)/r]}Pd.invert=hd(ef);var Rd=function(){return id(Pd).scale(144.049).clipAngle(60)};function Ud(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?Bl:jh({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}var Ld=function(){var t,n,e,r,i,o,u=1,a=0,c=0,f=1,s=1,l=Bl,h=null,d=Bl;function p(){return r=i=null,o}return o={stream:function(t){return r&&i===t?r:r=l(d(i=t))},postclip:function(r){return arguments.length?(d=r,h=t=n=e=null,p()):d},clipExtent:function(r){return arguments.length?(d=null==r?(h=t=n=e=null,Bl):pl(h=+r[0][0],t=+r[0][1],n=+r[1][0],e=+r[1][1]),p()):null==h?null:[[h,t],[n,e]]},scale:function(t){return arguments.length?(l=Ud((u=+t)*f,u*s,a,c),p()):u},translate:function(t){return arguments.length?(l=Ud(u*f,u*s,a=+t[0],c=+t[1]),p()):[a,c]},reflectX:function(t){return arguments.length?(l=Ud(u*(f=t?-1:1),u*s,a,c),p()):f<0},reflectY:function(t){return arguments.length?(l=Ud(u*f,u*(s=t?-1:1),a,c),p()):s<0},fitExtent:function(t,n){return Xh(o,t,n)},fitSize:function(t,n){return Zh(o,t,n)},fitWidth:function(t,n){return $h(o,t,n)},fitHeight:function(t,n){return Kh(o,t,n)}}};function Fd(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}Fd.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,u=o*o;r-=e=(r*(1.007226+o*(.015085+u*(.028874*o-.044475-.005916*u)))-n)/(1.007226+o*(.045255+u*(.259866*o-.311325-.005916*11*u)))}while(nf(e)>Gc&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var zd=function(){return id(Fd).scale(175.295)};function Id(t,n){return[of(n)*sf(t),sf(n)]}Id.invert=hd(vf);var Hd=function(){return id(Id).scale(249.5).clipAngle(90+Gc)};function Vd(t,n){var e=of(n),r=1+of(t)*e;return[e*sf(t)/r,sf(n)/r]}Vd.invert=hd((function(t){return 2*ef(t)}));var qd=function(){return id(Vd).scale(250).clipAngle(142)};function Wd(t,n){return[cf(df(($c+n)/2)),-t]}Wd.invert=function(t,n){return[-n,2*ef(af(t))-$c]};var jd=function(){var t=md(Wd),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)};e("DNiP");function Bd(t,n){return t.parent===n.parent?1:2}function Gd(t,n){return t+n.x}function Xd(t,n){return Math.max(t,n.y)}var Zd=function(){var t=Bd,n=1,e=1,r=!1;function i(i){var o,u=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(Gd,0)/t.length}(e),n.y=function(t){return 1+t.reduce(Xd,0)}(e)):(n.x=o?u+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=a.x-t(a,c)/2,s=c.x+t(c,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i};function $d(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Kd(t,n){var e,r,i,o,u,a=new np(t),c=+t.value&&(a.value=t.value),f=[a];for(null==n&&(n=Jd);e=f.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(u=i.length))for(e.children=new Array(u),o=u-1;o>=0;--o)f.push(r=e.children[o]=new np(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(tp)}function Jd(t){return t.children}function Qd(t){t.data=t.data.data}function tp(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function np(t){this.data=t,this.depth=this.height=0,this.parent=null}np.prototype=Kd.prototype={constructor:np,count:function(){return this.eachAfter($d)},each:function(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r])}while(u.length);return this},eachAfter:function(t){for(var n,e,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=u.pop();)t(i);return this},eachBefore:function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each((function(n){t.push(n)})),t},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Kd(this).eachBefore(Qd)}};var ep=Array.prototype.slice;var rp=function(t){for(var n,e,r=0,i=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(ep.call(t))).length,o=[];r<i;)n=t[r],e&&up(e,n)?++r:(e=cp(o=ip(o,n)),r=0);return e};function ip(t,n){var e,r;if(ap(n,t))return[n];for(e=0;e<t.length;++e)if(op(n,t[e])&&ap(fp(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(op(fp(t[e],t[r]),n)&&op(fp(t[e],n),t[r])&&op(fp(t[r],n),t[e])&&ap(sp(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function op(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function up(t,n){var e=t.r-n.r+1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function ap(t,n){for(var e=0;e<n.length;++e)if(!up(t,n[e]))return!1;return!0}function cp(t){switch(t.length){case 1:return{x:(n=t[0]).x,y:n.y,r:n.r};case 2:return fp(t[0],t[1]);case 3:return sp(t[0],t[1],t[2])}var n}function fp(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,c=o-e,f=u-r,s=a-i,l=Math.sqrt(c*c+f*f);return{x:(e+o+c/l*s)/2,y:(r+u+f/l*s)/2,r:(l+i+a)/2}}function sp(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,c=n.r,f=e.x,s=e.y,l=e.r,h=r-u,d=r-f,p=i-a,v=i-s,y=c-o,g=l-o,_=r*r+i*i-o*o,m=_-u*u-a*a+c*c,b=_-f*f-s*s+l*l,w=d*p-h*v,x=(p*b-v*m)/(2*w)-r,M=(v*y-p*g)/w,S=(d*m-h*b)/(2*w)-i,k=(h*g-d*y)/w,T=M*M+k*k-1,N=2*(o+x*M+S*k),D=x*x+S*S-o*o,A=-(T?(N+Math.sqrt(N*N-4*T*D))/(2*T):D/N);return{x:r+x+M*A,y:i+S+k*A,r:A}}function lp(t,n,e){var r,i,o,u,a=t.x-n.x,c=t.y-n.y,f=a*a+c*c;f?(i=n.r+e.r,i*=i,u=t.r+e.r,i>(u*=u)?(r=(f+u-i)/(2*f),o=Math.sqrt(Math.max(0,u/f-r*r)),e.x=t.x-r*a-o*c,e.y=t.y-r*c+o*a):(r=(f+i-u)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*a-o*c,e.y=n.y+r*c+o*a)):(e.x=n.x+e.r,e.y=n.y)}function hp(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function dp(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function pp(t){this._=t,this.next=null,this.previous=null}function vp(t){if(!(i=t.length))return 0;var n,e,r,i,o,u,a,c,f,s,l;if((n=t[0]).x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;lp(e,n,r=t[2]),n=new pp(n),e=new pp(e),r=new pp(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(a=3;a<i;++a){lp(n._,e._,r=t[a]),r=new pp(r),c=e.next,f=n.previous,s=e._.r,l=n._.r;do{if(s<=l){if(hp(c._,r._)){e=c,n.next=e,e.previous=n,--a;continue t}s+=c._.r,c=c.next}else{if(hp(f._,r._)){(n=f).next=e,e.previous=n,--a;continue t}l+=f._.r,f=f.previous}}while(c!==f.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,o=dp(n);(r=r.next)!==e;)(u=dp(r))<o&&(n=r,o=u);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=rp(n),a=0;a<i;++a)(n=t[a]).x-=r.x,n.y-=r.y;return r.r}var yp=function(t){return vp(t),t};function gp(t){return null==t?null:_p(t)}function _p(t){if("function"!=typeof t)throw new Error;return t}function mp(){return 0}var bp=function(t){return function(){return t}};function wp(t){return Math.sqrt(t.value)}var xp=function(){var t=null,n=1,e=1,r=mp;function i(i){return i.x=n/2,i.y=e/2,t?i.eachBefore(Mp(t)).eachAfter(Sp(r,.5)).eachBefore(kp(1)):i.eachBefore(Mp(wp)).eachAfter(Sp(mp,1)).eachAfter(Sp(r,i.r/Math.min(n,e))).eachBefore(kp(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=gp(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:bp(+t),i):r},i};function Mp(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Sp(t,n){return function(e){if(r=e.children){var r,i,o,u=r.length,a=t(e)*n||0;if(a)for(i=0;i<u;++i)r[i].r+=a;if(o=vp(r),a)for(i=0;i<u;++i)r[i].r-=a;e.r=o+a}}}function kp(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}var Tp=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Np=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(r-n)/t.value;++a<c;)(o=u[a]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*f},Dp=function(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&Np(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,u=r.x1-e,a=r.y1-e;u<i&&(i=u=(i+u)/2),a<o&&(o=a=(o+a)/2),r.x0=i,r.y0=o,r.x1=u,r.y1=a}}(n,o)),r&&i.eachBefore(Tp),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(t){return arguments.length?(e=+t,i):e},i},Ap="$",Ep={depth:-1},Cp={};function Yp(t){return t.id}function Op(t){return t.parentId}var Pp=function(){var t=Yp,n=Op;function e(e){var r,i,o,u,a,c,f,s=e.length,l=new Array(s),h={};for(i=0;i<s;++i)r=e[i],a=l[i]=new np(r),null!=(c=t(r,i,e))&&(c+="")&&(h[f=Ap+(a.id=c)]=f in h?Cp:a);for(i=0;i<s;++i)if(a=l[i],null!=(c=n(e[i],i,e))&&(c+="")){if(!(u=h[Ap+c]))throw new Error("missing: "+c);if(u===Cp)throw new Error("ambiguous: "+c);u.children?u.children.push(a):u.children=[a],a.parent=u}else{if(o)throw new Error("multiple roots");o=a}if(!o)throw new Error("no root");if(o.parent=Ep,o.eachBefore((function(t){t.depth=t.parent.depth+1,--s})).eachBefore(tp),o.parent=null,s>0)throw new Error("cycle");return o}return e.id=function(n){return arguments.length?(t=_p(n),e):t},e.parentId=function(t){return arguments.length?(n=_p(t),e):n},e};function Rp(t,n){return t.parent===n.parent?1:2}function Up(t){var n=t.children;return n?n[0]:t.t}function Lp(t){var n=t.children;return n?n[n.length-1]:t.t}function Fp(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function zp(t,n,e){return t.a.parent===n.parent?t.a:e}function Ip(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}Ip.prototype=Object.create(np.prototype);var Hp=function(){var t=Rp,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,u=new Ip(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new Ip(r[i],i)),e.parent=n;return(u.parent=new Ip(null,0)).children=[u],u}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(u),r)i.eachBefore(a);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.x<f.x&&(f=t),t.x>s.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,d=h-f.x,p=n/(s.x+h+d),v=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*v}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,u=n,a=e,c=o.parent.children[0],f=o.m,s=u.m,l=a.m,h=c.m;a=Lp(a),o=Up(o),a&&o;)c=Up(c),(u=Lp(u)).a=n,(i=a.z+l-o.z-f+t(a._,o._))>0&&(Fp(zp(a,n,r),n,i),f+=i,s+=i),l+=a.m,f+=o.m,h+=c.m,s+=u.m;a&&!Lp(u)&&(u.t=a,u.m+=l-s),o&&!Up(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},Vp=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(i-e)/t.value;++a<c;)(o=u[a]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*f},qp=(1+Math.sqrt(5))/2;function Wp(t,n,e,r,i,o){for(var u,a,c,f,s,l,h,d,p,v,y,g=[],_=n.children,m=0,b=0,w=_.length,x=n.value;m<w;){c=i-e,f=o-r;do{s=_[b++].value}while(!s&&b<w);for(l=h=s,y=s*s*(v=Math.max(f/c,c/f)/(x*t)),p=Math.max(h/y,y/l);b<w;++b){if(s+=a=_[b].value,a<l&&(l=a),a>h&&(h=a),y=s*s*v,(d=Math.max(h/y,y/l))>p){s-=a;break}p=d}g.push(u={value:s,dice:c<f,children:_.slice(m,b)}),u.dice?Np(u,e,r,i,x?r+=f*s/x:o):Vp(u,e,r,x?e+=c*s/x:i,o),x-=s,m=b}return g}var jp=function t(n){function e(t,e,r,i,o){Wp(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(qp),Bp=function(){var t=jp,n=!1,e=1,r=1,i=[0],o=mp,u=mp,a=mp,c=mp,f=mp;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(Tp),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l<r&&(r=l=(r+l)/2),h<s&&(s=h=(s+h)/2),n.x0=r,n.y0=s,n.x1=l,n.y1=h,n.children&&(e=i[n.depth+1]=o(n)/2,r+=f(n)-e,s+=u(n)-e,(l-=a(n)-e)<r&&(r=l=(r+l)/2),(h-=c(n)-e)<s&&(s=h=(s+h)/2),t(n,r,s,l,h))}return s.round=function(t){return arguments.length?(n=!!t,s):n},s.size=function(t){return arguments.length?(e=+t[0],r=+t[1],s):[e,r]},s.tile=function(n){return arguments.length?(t=_p(n),s):t},s.padding=function(t){return arguments.length?s.paddingInner(t).paddingOuter(t):s.paddingInner()},s.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:bp(+t),s):o},s.paddingOuter=function(t){return arguments.length?s.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):s.paddingTop()},s.paddingTop=function(t){return arguments.length?(u="function"==typeof t?t:bp(+t),s):u},s.paddingRight=function(t){return arguments.length?(a="function"==typeof t?t:bp(+t),s):a},s.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:bp(+t),s):c},s.paddingLeft=function(t){return arguments.length?(f="function"==typeof t?t:bp(+t),s):f},s},Gp=function(t,n,e,r,i){var o,u,a=t.children,c=a.length,f=new Array(c+1);for(f[0]=u=o=0;o<c;++o)f[o+1]=u+=a[o].value;!function t(n,e,r,i,o,u,c){if(n>=e-1){var s=a[n];return s.x0=i,s.y0=o,s.x1=u,void(s.y1=c)}var l=f[n],h=r/2+l,d=n+1,p=e-1;for(;d<p;){var v=d+p>>>1;f[v]<h?d=v+1:p=v}h-f[d-1]<f[d]-h&&n+1<d&&--d;var y=f[d]-l,g=r-y;if(u-i>c-o){var _=(i*g+u*y)/r;t(n,d,y,i,o,_,c),t(d,e,g,_,o,u,c)}else{var m=(o*g+c*y)/r;t(n,d,y,i,o,u,m),t(d,e,g,i,m,u,c)}}(0,c,t.value,n,e,r,i)},Xp=function(t,n,e,r,i){(1&t.depth?Vp:Np)(t,n,e,r,i)},Zp=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,f,s,l=-1,h=u.length,d=t.value;++l<h;){for(c=(a=u[l]).children,f=a.value=0,s=c.length;f<s;++f)a.value+=c[f].value;a.dice?Np(a,e,r,i,r+=(o-r)*a.value/d):Vp(a,e,r,e+=(i-e)*a.value/d,o),d-=a.value}else t._squarify=u=Wp(n,t,e,r,i,o),u.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(qp),$p=function(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}},Kp=function(t,n){var e=me(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}},Jp=function(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}},Qp=Math.SQRT2;function tv(t){return((t=Math.exp(t))+1/t)/2}var nv=function(t,n){var e,r,i=t[0],o=t[1],u=t[2],a=n[0],c=n[1],f=n[2],s=a-i,l=c-o,h=s*s+l*l;if(h<1e-12)r=Math.log(f/u)/Qp,e=function(t){return[i+t*s,o+t*l,u*Math.exp(Qp*t*r)]};else{var d=Math.sqrt(h),p=(f*f-u*u+4*h)/(2*u*2*d),v=(f*f-u*u-4*h)/(2*f*2*d),y=Math.log(Math.sqrt(p*p+1)-p),g=Math.log(Math.sqrt(v*v+1)-v);r=(g-y)/Qp,e=function(t){var n,e=t*r,a=tv(y),c=u/(2*d)*(a*(n=Qp*e+y,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[i+c*s,o+c*l,u*a/tv(Qp*e+y)]}}return e.duration=1e3*r,e};function ev(t){return function(n,e){var r=t((n=le(n)).h,(e=le(e)).h),i=we(n.s,e.s),o=we(n.l,e.l),u=we(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var rv=ev(me),iv=ev(we);function ov(t,n){var e=we((t=Po(t)).l,(n=Po(n)).l),r=we(t.a,n.a),i=we(t.b,n.b),o=we(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function uv(t){return function(n,e){var r=t((n=Vo(n)).h,(e=Vo(e)).h),i=we(n.c,e.c),o=we(n.l,e.l),u=we(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var av=uv(me),cv=uv(we);function fv(t){return function n(e){function r(n,r){var i=t((n=Ko(n)).h,(r=Ko(r)).h),o=we(n.s,r.s),u=we(n.l,r.l),a=we(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}var sv=fv(me),lv=fv(we);function hv(t,n){for(var e=0,r=n.length-1,i=n[0],o=new Array(r<0?0:r);e<r;)o[e]=t(i,i=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[n](t-n)}}var dv=function(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e},pv=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2},vv=function(t){for(var n,e,r=-1,i=t.length,o=0,u=0,a=t[i-1],c=0;++r<i;)n=a,a=t[r],c+=e=n[0]*a[1]-a[0]*n[1],o+=(n[0]+a[0])*e,u+=(n[1]+a[1])*e;return[o/(c*=3),u/c]},yv=function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])};function gv(t,n){return t[0]-n[0]||t[1]-n[1]}function _v(t){for(var n=t.length,e=[0,1],r=2,i=2;i<n;++i){for(;r>1&&yv(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}var mv=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(gv),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=_v(r),u=_v(i),a=u[0]===o[0],c=u[u.length-1]===o[o.length-1],f=[];for(n=o.length-1;n>=0;--n)f.push(t[r[o[n]][2]]);for(n=+a;n<u.length-c;++n)f.push(t[r[u[n]][2]]);return f},bv=function(t,n){for(var e,r,i=t.length,o=t[i-1],u=n[0],a=n[1],c=o[0],f=o[1],s=!1,l=0;l<i;++l)e=(o=t[l])[0],(r=o[1])>a!=f>a&&u<(c-e)*(a-r)/(f-r)+e&&(s=!s),c=e,f=r;return s},wv=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r<i;)n=u,e=a,n-=u=(o=t[r])[0],e-=a=o[1],c+=Math.sqrt(n*n+e*e);return c},xv=function(){return Math.random()},Mv=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(xv),Sv=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(xv),kv=function t(n){function e(){var t=Sv.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(xv),Tv=function t(n){function e(t){return function(){for(var e=0,r=0;r<t;++r)e+=n();return e}}return e.source=t,e}(xv),Nv=function t(n){function e(t){var e=Tv.source(n)(t);return function(){return e()/t}}return e.source=t,e}(xv),Dv=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(xv);function Av(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function Ev(t,n){switch(arguments.length){case 0:break;case 1:this.interpolator(t);break;default:this.interpolator(n).domain(t)}return this}var Cv=Array.prototype,Yv=Cv.map,Ov=Cv.slice,Pv={name:"implicit"};function Rv(){var t=fo(),n=[],e=[],r=Pv;function i(i){var o=i+"",u=t.get(o);if(!u){if(r!==Pv)return r;t.set(o,u=n.push(i))}return e[(u-1)%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=fo();for(var r,o,u=-1,a=e.length;++u<a;)t.has(o=(r=e[u])+"")||t.set(o,n.push(r));return i},i.range=function(t){return arguments.length?(e=Ov.call(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Rv(n,e).unknown(r)},Av.apply(i,arguments),i}function Uv(){var t,n,e=Rv().unknown(void 0),r=e.domain,i=e.range,o=[0,1],u=!1,a=0,c=0,f=.5;function s(){var e=r().length,s=o[1]<o[0],l=o[s-0],h=o[1-s];t=(h-l)/Math.max(1,e-a+2*c),u&&(t=Math.floor(t)),l+=(h-l-t*(e-a))*f,n=t*(1-a),u&&(l=Math.round(l),n=Math.round(n));var d=T(e).map((function(n){return l+t*n}));return i(s?d.reverse():d)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),s()):r()},e.range=function(t){return arguments.length?(o=[+t[0],+t[1]],s()):o.slice()},e.rangeRound=function(t){return o=[+t[0],+t[1]],u=!0,s()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,s()):u},e.padding=function(t){return arguments.length?(a=Math.min(1,c=+t),s()):a},e.paddingInner=function(t){return arguments.length?(a=Math.min(1,t),s()):a},e.paddingOuter=function(t){return arguments.length?(c=+t,s()):c},e.align=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),s()):f},e.copy=function(){return Uv(r(),o).round(u).paddingInner(a).paddingOuter(c).align(f)},Av.apply(s(),arguments)}function Lv(){return function t(n){var e=n.copy;return n.padding=n.paddingOuter,delete n.paddingInner,delete n.paddingOuter,n.copy=function(){return t(e())},n}(Uv.apply(null,arguments).paddingInner(1))}var Fv=function(t){return function(){return t}},zv=function(t){return+t},Iv=[0,1];function Hv(t){return t}function Vv(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Fv(isNaN(n)?NaN:.5)}function qv(t){var n,e=t[0],r=t[t.length-1];return e>r&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function Wv(t,n,e){var r=t[0],i=t[1],o=n[0],u=n[1];return i<r?(r=Vv(i,r),o=e(u,o)):(r=Vv(r,i),o=e(o,u)),function(t){return o(r(t))}}function jv(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),u=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<r;)i[u]=Vv(t[u],t[u+1]),o[u]=e(n[u],n[u+1]);return function(n){var e=h(t,n,1,r)-1;return o[e](i[e](n))}}function Bv(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Gv(){var t,n,e,r,i,o,u=Iv,a=Iv,c=Fe,f=Hv;function s(){return r=Math.min(u.length,a.length)>2?jv:Wv,i=o=null,l}function l(n){return isNaN(n=+n)?e:(i||(i=r(u.map(t),a,c)))(t(f(n)))}return l.invert=function(e){return f(n((o||(o=r(a,u.map(t),Ce)))(e)))},l.domain=function(t){return arguments.length?(u=Yv.call(t,zv),f===Hv||(f=qv(u)),s()):u.slice()},l.range=function(t){return arguments.length?(a=Ov.call(t),s()):a.slice()},l.rangeRound=function(t){return a=Ov.call(t),c=Jp,s()},l.clamp=function(t){return arguments.length?(f=t?qv(u):Hv,l):f!==Hv},l.interpolate=function(t){return arguments.length?(c=t,s()):c},l.unknown=function(t){return arguments.length?(e=t,l):e},function(e,r){return t=e,n=r,s()}}function Xv(t,n){return Gv()(t,n)}var Zv=function(t,n,e,r){var i,o=Y(t,n,e);switch((r=Tc(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=Hc(o,u))||(r.precision=i),Cc(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Vc(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Ic(o))||(r.precision=i-2*("%"===r.type))}return Ec(r)};function $v(t){var n=t.domain;return t.ticks=function(t){var e=n();return E(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Zv(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,u=i.length-1,a=i[o],c=i[u];return c<a&&(r=a,a=c,c=r,r=o,o=u,u=r),(r=C(a,c,e))>0?r=C(a=Math.floor(a/r)*r,c=Math.ceil(c/r)*r,e):r<0&&(r=C(a=Math.ceil(a*r)/r,c=Math.floor(c*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[u]=Math.ceil(c/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[u]=Math.floor(c*r)/r,n(i)),t},t}function Kv(){var t=Xv(Hv,Hv);return t.copy=function(){return Bv(t,Kv())},Av.apply(t,arguments),$v(t)}function Jv(t){var n;function e(t){return isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Yv.call(n,zv),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Jv(t).unknown(n)},t=arguments.length?Yv.call(t,zv):[0,1],$v(e)}e("pp/T"),e("eHKK");var Qv=function(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t};function ty(t){return Math.log(t)}function ny(t){return Math.exp(t)}function ey(t){return-Math.log(-t)}function ry(t){return-Math.exp(-t)}function iy(t){return isFinite(t)?+("1e"+t):t<0?0:t}function oy(t){return function(n){return-t(-n)}}function uy(t){var n,e,r=t(ty,ny),i=r.domain,o=10;function u(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}(o),e=function(t){return 10===t?iy:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}(o),i()[0]<0?(n=oy(n),e=oy(e),t(ey,ry)):t(ty,ny),r}return r.base=function(t){return arguments.length?(o=+t,u()):o},r.domain=function(t){return arguments.length?(i(t),u()):i()},r.ticks=function(t){var r,u=i(),a=u[0],c=u[u.length-1];(r=c<a)&&(h=a,a=c,c=h);var f,s,l,h=n(a),d=n(c),p=null==t?10:+t,v=[];if(!(o%1)&&d-h<p){if(h=Math.round(h)-1,d=Math.round(d)+1,a>0){for(;h<d;++h)for(s=1,f=e(h);s<o;++s)if(!((l=f*s)<a)){if(l>c)break;v.push(l)}}else for(;h<d;++h)for(s=o-1,f=e(h);s>=1;--s)if(!((l=f*s)<a)){if(l>c)break;v.push(l)}}else v=E(h,d,Math.min(d-h,p)).map(e);return r?v.reverse():v},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=Ec(i)),t===1/0)return i;null==t&&(t=10);var u=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/e(Math.round(n(t)));return r*o<o-.5&&(r*=o),r<=u?i(t):""}},r.nice=function(){return i(Qv(i(),{floor:function(t){return e(Math.floor(n(t)))},ceil:function(t){return e(Math.ceil(n(t)))}}))},r}function ay(){var t=uy(Gv()).domain([1,10]);return t.copy=function(){return Bv(t,ay()).base(t.base())},Av.apply(t,arguments),t}e("nzyx"),e("BJ/l");function cy(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function fy(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function sy(t){var n=1,e=t(cy(n),fy(n));return e.constant=function(e){return arguments.length?t(cy(n=+e),fy(n)):n},$v(e)}function ly(){var t=sy(Gv());return t.copy=function(){return Bv(t,ly()).constant(t.constant())},Av.apply(t,arguments)}function hy(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function dy(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function py(t){return t<0?-t*t:t*t}function vy(t){var n=t(Hv,Hv),e=1;function r(){return 1===e?t(Hv,Hv):.5===e?t(dy,py):t(hy(e),hy(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},$v(n)}function yy(){var t=vy(Gv());return t.copy=function(){return Bv(t,yy()).exponent(t.exponent())},Av.apply(t,arguments),t}function gy(){return yy.apply(null,arguments).exponent(.5)}function _y(){var t,n=[],e=[],r=[];function i(){var t=0,i=Math.max(1,e.length);for(r=new Array(i-1);++t<i;)r[t-1]=R(n,t/i);return o}function o(n){return isNaN(n=+n)?t:e[h(r,n)]}return o.invertExtent=function(t){var i=e.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:n[0],i<r.length?r[i]:n[n.length-1]]},o.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var e,r=0,o=t.length;r<o;++r)null==(e=t[r])||isNaN(e=+e)||n.push(e);return n.sort(a),i()},o.range=function(t){return arguments.length?(e=Ov.call(t),i()):e.slice()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return _y().domain(n).range(e).unknown(t)},Av.apply(o,arguments)}function my(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function u(n){return n<=n?o[h(i,n,0,r)]:t}function a(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*e-(t-r)*n)/(r+1);return u}return u.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],a()):[n,e]},u.range=function(t){return arguments.length?(r=(o=Ov.call(t)).length-1,a()):o.slice()},u.invertExtent=function(t){var u=o.indexOf(t);return u<0?[NaN,NaN]:u<1?[n,i[0]]:u>=r?[i[r-1],e]:[i[u-1],i[u]]},u.unknown=function(n){return arguments.length?(t=n,u):u},u.thresholds=function(){return i.slice()},u.copy=function(){return my().domain([n,e]).range(o).unknown(t)},Av.apply($v(u),arguments)}function by(){var t,n=[.5],e=[0,1],r=1;function i(i){return i<=i?e[h(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=Ov.call(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=Ov.call(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return by().domain(n).range(e).unknown(t)},Av.apply(i,arguments)}var wy=new Date,xy=new Date;function My(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var u,a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return a;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(u<e&&e<r);return a},i.filter=function(e){return My((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return wy.setTime(+n),xy.setTime(+r),t(wy),t(xy),Math.floor(e(wy,xy))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var Sy=My((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Sy.every=function(t){return isFinite(t=Math.floor(t))&&t>0?My((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var ky=Sy,Ty=Sy.range,Ny=My((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),Dy=Ny,Ay=Ny.range,Ey=6e4,Cy=6048e5;function Yy(t){return My((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ey)/Cy}))}var Oy=Yy(0),Py=Yy(1),Ry=Yy(2),Uy=Yy(3),Ly=Yy(4),Fy=Yy(5),zy=Yy(6),Iy=Oy.range,Hy=Py.range,Vy=Ry.range,qy=Uy.range,Wy=Ly.range,jy=Fy.range,By=zy.range,Gy=My((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ey)/864e5}),(function(t){return t.getDate()-1})),Xy=Gy,Zy=Gy.range,$y=My((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*Ey)}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getHours()})),Ky=$y,Jy=$y.range,Qy=My((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,n){t.setTime(+t+n*Ey)}),(function(t,n){return(n-t)/Ey}),(function(t){return t.getMinutes()})),tg=Qy,ng=Qy.range,eg=My((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+1e3*n)}),(function(t,n){return(n-t)/1e3}),(function(t){return t.getUTCSeconds()})),rg=eg,ig=eg.range,og=My((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));og.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?My((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):og:null};var ug=og,ag=og.range;function cg(t){return My((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Cy}))}var fg=cg(0),sg=cg(1),lg=cg(2),hg=cg(3),dg=cg(4),pg=cg(5),vg=cg(6),yg=fg.range,gg=sg.range,_g=lg.range,mg=hg.range,bg=dg.range,wg=pg.range,xg=vg.range,Mg=My((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/864e5}),(function(t){return t.getUTCDate()-1})),Sg=Mg,kg=Mg.range,Tg=My((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Tg.every=function(t){return isFinite(t=Math.floor(t))&&t>0?My((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Ng=Tg,Dg=Tg.range;function Ag(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Eg(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Cg(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function Yg(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,u=t.shortDays,a=t.months,c=t.shortMonths,f=Wg(i),s=jg(i),l=Wg(o),h=jg(o),d=Wg(u),p=jg(u),v=Wg(a),y=jg(a),g=Wg(c),_=jg(c),m={a:function(t){return u[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:h_,e:h_,f:g_,H:d_,I:p_,j:v_,L:y_,m:__,M:m_,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:G_,s:X_,S:b_,u:w_,U:x_,V:M_,w:S_,W:k_,x:null,X:null,y:T_,Y:N_,Z:D_,"%":B_},b={a:function(t){return u[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:A_,e:A_,f:P_,H:E_,I:C_,j:Y_,L:O_,m:R_,M:U_,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:G_,s:X_,S:L_,u:F_,U:z_,V:I_,w:H_,W:V_,x:null,X:null,y:q_,Y:W_,Z:j_,"%":B_},w={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.w=h[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=_[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=y[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return S(t,n,e,r)},d:e_,e:e_,f:c_,H:i_,I:i_,j:r_,L:a_,m:n_,M:o_,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=s[r[0].toLowerCase()],e+r[0].length):-1},q:t_,Q:s_,s:l_,S:u_,u:Gg,U:Xg,V:Zg,w:Bg,W:$g,x:function(t,n,r){return S(t,e,n,r)},X:function(t,n,e){return S(t,r,n,e)},y:Jg,Y:Kg,Z:Qg,"%":f_};function x(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++a<f;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=Fg[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function M(t,n){return function(e){var r,i,o=Cg(1900,void 0,1);if(S(o,t,e+="",0)!=e.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(!n||"Z"in o||(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Eg(Cg(o.y,0,1))).getUTCDay(),r=i>4||0===i?sg.ceil(r):sg(r),r=Sg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Ag(Cg(o.y,0,1))).getDay(),r=i>4||0===i?Py.ceil(r):Py(r),r=Xy.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Eg(Cg(o.y,0,1)).getUTCDay():Ag(Cg(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Eg(o)):Ag(o)}}function S(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=w[i in Fg?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return m.x=x(e,m),m.X=x(r,m),m.c=x(n,m),b.x=x(e,b),b.X=x(r,b),b.c=x(n,b),{format:function(t){var n=x(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=x(t+="",b);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}var Og,Pg,Rg,Ug,Lg,Fg={"-":"",_:" ",0:"0"},zg=/^\s*\d+/,Ig=/^%/,Hg=/[\\^$*+?|[\]().{}]/g;function Vg(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function qg(t){return t.replace(Hg,"\\$&")}function Wg(t){return new RegExp("^(?:"+t.map(qg).join("|")+")","i")}function jg(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function Bg(t,n,e){var r=zg.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Gg(t,n,e){var r=zg.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Xg(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Zg(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function $g(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Kg(t,n,e){var r=zg.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Jg(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Qg(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function t_(t,n,e){var r=zg.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function n_(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function e_(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function r_(t,n,e){var r=zg.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function i_(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function o_(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function u_(t,n,e){var r=zg.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function a_(t,n,e){var r=zg.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function c_(t,n,e){var r=zg.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function f_(t,n,e){var r=Ig.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function s_(t,n,e){var r=zg.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function l_(t,n,e){var r=zg.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function h_(t,n){return Vg(t.getDate(),n,2)}function d_(t,n){return Vg(t.getHours(),n,2)}function p_(t,n){return Vg(t.getHours()%12||12,n,2)}function v_(t,n){return Vg(1+Xy.count(ky(t),t),n,3)}function y_(t,n){return Vg(t.getMilliseconds(),n,3)}function g_(t,n){return y_(t,n)+"000"}function __(t,n){return Vg(t.getMonth()+1,n,2)}function m_(t,n){return Vg(t.getMinutes(),n,2)}function b_(t,n){return Vg(t.getSeconds(),n,2)}function w_(t){var n=t.getDay();return 0===n?7:n}function x_(t,n){return Vg(Oy.count(ky(t)-1,t),n,2)}function M_(t,n){var e=t.getDay();return t=e>=4||0===e?Ly(t):Ly.ceil(t),Vg(Ly.count(ky(t),t)+(4===ky(t).getDay()),n,2)}function S_(t){return t.getDay()}function k_(t,n){return Vg(Py.count(ky(t)-1,t),n,2)}function T_(t,n){return Vg(t.getFullYear()%100,n,2)}function N_(t,n){return Vg(t.getFullYear()%1e4,n,4)}function D_(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Vg(n/60|0,"0",2)+Vg(n%60,"0",2)}function A_(t,n){return Vg(t.getUTCDate(),n,2)}function E_(t,n){return Vg(t.getUTCHours(),n,2)}function C_(t,n){return Vg(t.getUTCHours()%12||12,n,2)}function Y_(t,n){return Vg(1+Sg.count(Ng(t),t),n,3)}function O_(t,n){return Vg(t.getUTCMilliseconds(),n,3)}function P_(t,n){return O_(t,n)+"000"}function R_(t,n){return Vg(t.getUTCMonth()+1,n,2)}function U_(t,n){return Vg(t.getUTCMinutes(),n,2)}function L_(t,n){return Vg(t.getUTCSeconds(),n,2)}function F_(t){var n=t.getUTCDay();return 0===n?7:n}function z_(t,n){return Vg(fg.count(Ng(t)-1,t),n,2)}function I_(t,n){var e=t.getUTCDay();return t=e>=4||0===e?dg(t):dg.ceil(t),Vg(dg.count(Ng(t),t)+(4===Ng(t).getUTCDay()),n,2)}function H_(t){return t.getUTCDay()}function V_(t,n){return Vg(sg.count(Ng(t)-1,t),n,2)}function q_(t,n){return Vg(t.getUTCFullYear()%100,n,2)}function W_(t,n){return Vg(t.getUTCFullYear()%1e4,n,4)}function j_(){return"+0000"}function B_(){return"%"}function G_(t){return+t}function X_(t){return Math.floor(+t/1e3)}function Z_(t){return Og=Yg(t),Pg=Og.format,Rg=Og.parse,Ug=Og.utcFormat,Lg=Og.utcParse,Og}Z_({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"]});var $_=1e3,K_=60*$_,J_=60*K_,Q_=24*J_,tm=7*Q_,nm=30*Q_,em=365*Q_;function rm(t){return new Date(t)}function im(t){return t instanceof Date?+t:+new Date(+t)}function om(t,n,e,r,i,o,u,a,f){var s=Xv(Hv,Hv),l=s.invert,h=s.domain,d=f(".%L"),p=f(":%S"),v=f("%I:%M"),y=f("%I %p"),g=f("%a %d"),_=f("%b %d"),m=f("%B"),b=f("%Y"),w=[[u,1,$_],[u,5,5*$_],[u,15,15*$_],[u,30,30*$_],[o,1,K_],[o,5,5*K_],[o,15,15*K_],[o,30,30*K_],[i,1,J_],[i,3,3*J_],[i,6,6*J_],[i,12,12*J_],[r,1,Q_],[r,2,2*Q_],[e,1,tm],[n,1,nm],[n,3,3*nm],[t,1,em]];function x(a){return(u(a)<a?d:o(a)<a?p:i(a)<a?v:r(a)<a?y:n(a)<a?e(a)<a?g:_:t(a)<a?m:b)(a)}function M(n,e,r,i){if(null==n&&(n=10),"number"==typeof n){var o=Math.abs(r-e)/n,u=c((function(t){return t[2]})).right(w,o);u===w.length?(i=Y(e/em,r/em,n),n=t):u?(i=(u=w[o/w[u-1][2]<w[u][2]/o?u-1:u])[1],n=u[0]):(i=Math.max(Y(e,r,n),1),n=a)}return null==i?n:n.every(i)}return s.invert=function(t){return new Date(l(t))},s.domain=function(t){return arguments.length?h(Yv.call(t,im)):h().map(rm)},s.ticks=function(t,n){var e,r=h(),i=r[0],o=r[r.length-1],u=o<i;return u&&(e=i,i=o,o=e),e=(e=M(t,i,o,n))?e.range(i,o+1):[],u?e.reverse():e},s.tickFormat=function(t,n){return null==n?x:f(n)},s.nice=function(t,n){var e=h();return(t=M(t,e[0],e[e.length-1],n))?h(Qv(e,t)):s},s.copy=function(){return Bv(s,om(t,n,e,r,i,o,u,a,f))},s}var um=function(){return Av.apply(om(ky,Dy,Oy,Xy,Ky,tg,rg,ug,Pg).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},am=My((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),cm=am,fm=am.range,sm=My((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getUTCHours()})),lm=sm,hm=sm.range,dm=My((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Ey)}),(function(t,n){return(n-t)/Ey}),(function(t){return t.getUTCMinutes()})),pm=dm,vm=dm.range,ym=function(){return Av.apply(om(Ng,cm,fg,Sg,lm,pm,rg,ug,Ug).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)};function gm(){var t,n,e,r,i,o=0,u=1,a=Hv,c=!1;function f(n){return isNaN(n=+n)?i:a(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}return f.domain=function(i){return arguments.length?(t=r(o=+i[0]),n=r(u=+i[1]),e=t===n?0:1/(n-t),f):[o,u]},f.clamp=function(t){return arguments.length?(c=!!t,f):c},f.interpolator=function(t){return arguments.length?(a=t,f):a},f.unknown=function(t){return arguments.length?(i=t,f):i},function(i){return r=i,t=i(o),n=i(u),e=t===n?0:1/(n-t),f}}function _m(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function mm(){var t=$v(gm()(Hv));return t.copy=function(){return _m(t,mm())},Ev.apply(t,arguments)}function bm(){var t=uy(gm()).domain([1,10]);return t.copy=function(){return _m(t,bm()).base(t.base())},Ev.apply(t,arguments)}function wm(){var t=sy(gm());return t.copy=function(){return _m(t,wm()).constant(t.constant())},Ev.apply(t,arguments)}function xm(){var t=vy(gm());return t.copy=function(){return _m(t,xm()).exponent(t.exponent())},Ev.apply(t,arguments)}function Mm(){return xm.apply(null,arguments).exponent(.5)}function Sm(){var t=[],n=Hv;function e(e){if(!isNaN(e=+e))return n((h(t,e)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(var r,i=0,o=n.length;i<o;++i)null==(r=n[i])||isNaN(r=+r)||t.push(r);return t.sort(a),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Sm(n).domain(t)},Ev.apply(e,arguments)}function km(){var t,n,e,r,i,o,u,a=0,c=.5,f=1,s=Hv,l=!1;function h(t){return isNaN(t=+t)?u:(t=.5+((t=+o(t))-n)*(t<n?r:i),s(l?Math.max(0,Math.min(1,t)):t))}return h.domain=function(u){return arguments.length?(t=o(a=+u[0]),n=o(c=+u[1]),e=o(f=+u[2]),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),h):[a,c,f]},h.clamp=function(t){return arguments.length?(l=!!t,h):l},h.interpolator=function(t){return arguments.length?(s=t,h):s},h.unknown=function(t){return arguments.length?(u=t,h):u},function(u){return o=u,t=u(a),n=u(c),e=u(f),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),h}}function Tm(){var t=$v(km()(Hv));return t.copy=function(){return _m(t,Tm())},Ev.apply(t,arguments)}function Nm(){var t=uy(km()).domain([.1,1,10]);return t.copy=function(){return _m(t,Nm()).base(t.base())},Ev.apply(t,arguments)}function Dm(){var t=sy(km());return t.copy=function(){return _m(t,Dm()).constant(t.constant())},Ev.apply(t,arguments)}function Am(){var t=vy(km());return t.copy=function(){return _m(t,Am()).exponent(t.exponent())},Ev.apply(t,arguments)}function Em(){return Am.apply(null,arguments).exponent(.5)}var Cm=function(t){for(var n=t.length/6|0,e=new Array(n),r=0;r<n;)e[r]="#"+t.slice(6*r,6*++r);return e},Ym=Cm("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Om=Cm("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Pm=Cm("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Rm=Cm("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Um=Cm("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Lm=Cm("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Fm=Cm("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),zm=Cm("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Im=Cm("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Hm=Cm("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),Vm=function(t){return Se(t[t.length-1])},qm=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Cm),Wm=Vm(qm),jm=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Cm),Bm=Vm(jm),Gm=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Cm),Xm=Vm(Gm),Zm=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Cm),$m=Vm(Zm),Km=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Cm),Jm=Vm(Km),Qm=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Cm),tb=Vm(Qm),nb=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Cm),eb=Vm(nb),rb=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Cm),ib=Vm(rb),ob=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Cm),ub=Vm(ob),ab=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Cm),cb=Vm(ab),fb=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Cm),sb=Vm(fb),lb=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Cm),hb=Vm(lb),db=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Cm),pb=Vm(db),vb=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Cm),yb=Vm(vb),gb=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Cm),_b=Vm(gb),mb=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Cm),bb=Vm(mb),wb=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Cm),xb=Vm(wb),Mb=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Cm),Sb=Vm(Mb),kb=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Cm),Tb=Vm(kb),Nb=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Cm),Db=Vm(Nb),Ab=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Cm),Eb=Vm(Ab),Cb=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Cm),Yb=Vm(Cb),Ob=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Cm),Pb=Vm(Ob),Rb=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Cm),Ub=Vm(Rb),Lb=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Cm),Fb=Vm(Lb),zb=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Cm),Ib=Vm(zb),Hb=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Cm),Vb=Vm(Hb),qb=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},Wb=lv(Ko(300,.5,0),Ko(-240,.5,1)),jb=lv(Ko(-100,.75,.35),Ko(80,1.5,.8)),Bb=lv(Ko(260,.75,.35),Ko(80,1.5,.8)),Gb=Ko(),Xb=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return Gb.h=360*t-100,Gb.s=1.5-1.5*n,Gb.l=.8-.9*n,Gb+""},Zb=ie(),$b=Math.PI/3,Kb=2*Math.PI/3,Jb=function(t){var n;return t=(.5-t)*Math.PI,Zb.r=255*(n=Math.sin(t))*n,Zb.g=255*(n=Math.sin(t+$b))*n,Zb.b=255*(n=Math.sin(t+Kb))*n,Zb+""},Qb=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function tw(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var nw=tw(Cm("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),ew=tw(Cm("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),rw=tw(Cm("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),iw=tw(Cm("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),ow=function(t){return On(dn(t).call(document.documentElement))},uw=0;function aw(){return new cw}function cw(){this._="@"+(++uw).toString(36)}cw.prototype=aw.prototype={constructor:cw,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var fw=function(t){return"string"==typeof t?new En([document.querySelectorAll(t)],[document.documentElement]):new En([null==t?[]:t],An)},sw=function(t,n){null==n&&(n=ze().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e<r;++e)i[e]=Ie(t,n[e]);return i},lw=function(t){return function(){return t}},hw=Math.abs,dw=Math.atan2,pw=Math.cos,vw=Math.max,yw=Math.min,gw=Math.sin,_w=Math.sqrt,mw=1e-12,bw=Math.PI,ww=bw/2,xw=2*bw;function Mw(t){return t>=1?ww:t<=-1?-ww:Math.asin(t)}function Sw(t){return t.innerRadius}function kw(t){return t.outerRadius}function Tw(t){return t.startAngle}function Nw(t){return t.endAngle}function Dw(t){return t&&t.padAngle}function Aw(t,n,e,r,i,o,u){var a=t-e,c=n-r,f=(u?o:-o)/_w(a*a+c*c),s=f*c,l=-f*a,h=t+s,d=n+l,p=e+s,v=r+l,y=(h+p)/2,g=(d+v)/2,_=p-h,m=v-d,b=_*_+m*m,w=i-o,x=h*v-p*d,M=(m<0?-1:1)*_w(vw(0,w*w*b-x*x)),S=(x*m-_*M)/b,k=(-x*_-m*M)/b,T=(x*m+_*M)/b,N=(-x*_+m*M)/b,D=S-y,A=k-g,E=T-y,C=N-g;return D*D+A*A>E*E+C*C&&(S=T,k=N),{cx:S,cy:k,x01:-s,y01:-l,x11:S*(i/w-1),y11:k*(i/w-1)}}var Ew=function(){var t=Sw,n=kw,e=lw(0),r=null,i=Tw,o=Nw,u=Dw,a=null;function c(){var c,f,s,l=+t.apply(this,arguments),h=+n.apply(this,arguments),d=i.apply(this,arguments)-ww,p=o.apply(this,arguments)-ww,v=hw(p-d),y=p>d;if(a||(a=c=to()),h<l&&(f=h,h=l,l=f),h>mw)if(v>xw-mw)a.moveTo(h*pw(d),h*gw(d)),a.arc(0,0,h,d,p,!y),l>mw&&(a.moveTo(l*pw(p),l*gw(p)),a.arc(0,0,l,p,d,y));else{var g,_,m=d,b=p,w=d,x=p,M=v,S=v,k=u.apply(this,arguments)/2,T=k>mw&&(r?+r.apply(this,arguments):_w(l*l+h*h)),N=yw(hw(h-l)/2,+e.apply(this,arguments)),D=N,A=N;if(T>mw){var E=Mw(T/l*gw(k)),C=Mw(T/h*gw(k));(M-=2*E)>mw?(w+=E*=y?1:-1,x-=E):(M=0,w=x=(d+p)/2),(S-=2*C)>mw?(m+=C*=y?1:-1,b-=C):(S=0,m=b=(d+p)/2)}var Y=h*pw(m),O=h*gw(m),P=l*pw(x),R=l*gw(x);if(N>mw){var U,L=h*pw(b),F=h*gw(b),z=l*pw(w),I=l*gw(w);if(v<bw&&(U=function(t,n,e,r,i,o,u,a){var c=e-t,f=r-n,s=u-i,l=a-o,h=l*c-s*f;if(!(h*h<mw))return[t+(h=(s*(n-o)-l*(t-i))/h)*c,n+h*f]}(Y,O,z,I,L,F,P,R))){var H=Y-U[0],V=O-U[1],q=L-U[0],W=F-U[1],j=1/gw(((s=(H*q+V*W)/(_w(H*H+V*V)*_w(q*q+W*W)))>1?0:s<-1?bw:Math.acos(s))/2),B=_w(U[0]*U[0]+U[1]*U[1]);D=yw(N,(l-B)/(j-1)),A=yw(N,(h-B)/(j+1))}}S>mw?A>mw?(g=Aw(z,I,Y,O,h,A,y),_=Aw(L,F,P,R,h,A,y),a.moveTo(g.cx+g.x01,g.cy+g.y01),A<N?a.arc(g.cx,g.cy,A,dw(g.y01,g.x01),dw(_.y01,_.x01),!y):(a.arc(g.cx,g.cy,A,dw(g.y01,g.x01),dw(g.y11,g.x11),!y),a.arc(0,0,h,dw(g.cy+g.y11,g.cx+g.x11),dw(_.cy+_.y11,_.cx+_.x11),!y),a.arc(_.cx,_.cy,A,dw(_.y11,_.x11),dw(_.y01,_.x01),!y))):(a.moveTo(Y,O),a.arc(0,0,h,m,b,!y)):a.moveTo(Y,O),l>mw&&M>mw?D>mw?(g=Aw(P,R,L,F,l,-D,y),_=Aw(Y,O,z,I,l,-D,y),a.lineTo(g.cx+g.x01,g.cy+g.y01),D<N?a.arc(g.cx,g.cy,D,dw(g.y01,g.x01),dw(_.y01,_.x01),!y):(a.arc(g.cx,g.cy,D,dw(g.y01,g.x01),dw(g.y11,g.x11),!y),a.arc(0,0,l,dw(g.cy+g.y11,g.cx+g.x11),dw(_.cy+_.y11,_.cx+_.x11),y),a.arc(_.cx,_.cy,D,dw(_.y11,_.x11),dw(_.y01,_.x01),!y))):a.arc(0,0,l,x,w,y):a.lineTo(P,R)}else a.moveTo(0,0);if(a.closePath(),c)return a=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-bw/2;return[pw(r)*e,gw(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:lw(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:lw(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:lw(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:lw(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:lw(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:lw(+t),c):o},c.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:lw(+t),c):u},c.context=function(t){return arguments.length?(a=null==t?null:t,c):a},c};function Cw(t){this._context=t}Cw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Yw=function(t){return new Cw(t)};function Ow(t){return t[0]}function Pw(t){return t[1]}var Rw=function(){var t=Ow,n=Pw,e=lw(!0),r=null,i=Yw,o=null;function u(u){var a,c,f,s=u.length,l=!1;for(null==r&&(o=i(f=to())),a=0;a<=s;++a)!(a<s&&e(c=u[a],a,u))===l&&((l=!l)?o.lineStart():o.lineEnd()),l&&o.point(+t(c,a,u),+n(c,a,u));if(f)return o=null,f+""||null}return u.x=function(n){return arguments.length?(t="function"==typeof n?n:lw(+n),u):t},u.y=function(t){return arguments.length?(n="function"==typeof t?t:lw(+t),u):n},u.defined=function(t){return arguments.length?(e="function"==typeof t?t:lw(!!t),u):e},u.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),u):i},u.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),u):r},u},Uw=function(){var t=Ow,n=null,e=lw(0),r=Pw,i=lw(!0),o=null,u=Yw,a=null;function c(c){var f,s,l,h,d,p=c.length,v=!1,y=new Array(p),g=new Array(p);for(null==o&&(a=u(d=to())),f=0;f<=p;++f){if(!(f<p&&i(h=c[f],f,c))===v)if(v=!v)s=f,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),l=f-1;l>=s;--l)a.point(y[l],g[l]);a.lineEnd(),a.areaEnd()}v&&(y[f]=+t(h,f,c),g[f]=+e(h,f,c),a.point(n?+n(h,f,c):y[f],r?+r(h,f,c):g[f]))}if(d)return a=null,d+""||null}function f(){return Rw().defined(i).curve(u).context(o)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:lw(+e),n=null,c):t},c.x0=function(n){return arguments.length?(t="function"==typeof n?n:lw(+n),c):t},c.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:lw(+t),c):n},c.y=function(t){return arguments.length?(e="function"==typeof t?t:lw(+t),r=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:lw(+t),c):e},c.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:lw(+t),c):r},c.lineX0=c.lineY0=function(){return f().x(t).y(e)},c.lineY1=function(){return f().x(t).y(r)},c.lineX1=function(){return f().x(n).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:lw(!!t),c):i},c.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),c):u},c.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),c):o},c},Lw=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},Fw=function(t){return t},zw=function(){var t=Fw,n=Lw,e=null,r=lw(0),i=lw(xw),o=lw(0);function u(u){var a,c,f,s,l,h=u.length,d=0,p=new Array(h),v=new Array(h),y=+r.apply(this,arguments),g=Math.min(xw,Math.max(-xw,i.apply(this,arguments)-y)),_=Math.min(Math.abs(g)/h,o.apply(this,arguments)),m=_*(g<0?-1:1);for(a=0;a<h;++a)(l=v[p[a]=a]=+t(u[a],a,u))>0&&(d+=l);for(null!=n?p.sort((function(t,e){return n(v[t],v[e])})):null!=e&&p.sort((function(t,n){return e(u[t],u[n])})),a=0,f=d?(g-h*m)/d:0;a<h;++a,y=s)c=p[a],s=y+((l=v[c])>0?l*f:0)+m,v[c]={data:u[c],index:a,value:l,startAngle:y,endAngle:s,padAngle:_};return v}return u.value=function(n){return arguments.length?(t="function"==typeof n?n:lw(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:lw(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:lw(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:lw(+t),u):o},u},Iw=Vw(Yw);function Hw(t){this._curve=t}function Vw(t){function n(n){return new Hw(t(n))}return n._curve=t,n}function qw(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Vw(t)):n()._curve},t}Hw.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Ww=function(){return qw(Rw().curve(Iw))},jw=function(){var t=Uw().curve(Iw),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return qw(e())},delete t.lineX0,t.lineEndAngle=function(){return qw(r())},delete t.lineX1,t.lineInnerRadius=function(){return qw(i())},delete t.lineY0,t.lineOuterRadius=function(){return qw(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Vw(t)):n()._curve},t},Bw=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]},Gw=Array.prototype.slice;function Xw(t){return t.source}function Zw(t){return t.target}function $w(t){var n=Xw,e=Zw,r=Ow,i=Pw,o=null;function u(){var u,a=Gw.call(arguments),c=n.apply(this,a),f=e.apply(this,a);if(o||(o=u=to()),t(o,+r.apply(this,(a[0]=c,a)),+i.apply(this,a),+r.apply(this,(a[0]=f,a)),+i.apply(this,a)),u)return o=null,u+""||null}return u.source=function(t){return arguments.length?(n=t,u):n},u.target=function(t){return arguments.length?(e=t,u):e},u.x=function(t){return arguments.length?(r="function"==typeof t?t:lw(+t),u):r},u.y=function(t){return arguments.length?(i="function"==typeof t?t:lw(+t),u):i},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u}function Kw(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function Jw(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function Qw(t,n,e,r,i){var o=Bw(n,e),u=Bw(n,e=(e+i)/2),a=Bw(r,e),c=Bw(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(u[0],u[1],a[0],a[1],c[0],c[1])}function tx(){return $w(Kw)}function nx(){return $w(Jw)}function ex(){var t=$w(Qw);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var rx={draw:function(t,n){var e=Math.sqrt(n/bw);t.moveTo(e,0),t.arc(0,0,e,0,xw)}},ix={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},ox=Math.sqrt(1/3),ux=2*ox,ax={draw:function(t,n){var e=Math.sqrt(n/ux),r=e*ox;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},cx=Math.sin(bw/10)/Math.sin(7*bw/10),fx=Math.sin(xw/10)*cx,sx=-Math.cos(xw/10)*cx,lx={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=fx*e,i=sx*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var u=xw*o/5,a=Math.cos(u),c=Math.sin(u);t.lineTo(c*e,-a*e),t.lineTo(a*r-c*i,c*r+a*i)}t.closePath()}},hx={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},dx=Math.sqrt(3),px={draw:function(t,n){var e=-Math.sqrt(n/(3*dx));t.moveTo(0,2*e),t.lineTo(-dx*e,-e),t.lineTo(dx*e,-e),t.closePath()}},vx=Math.sqrt(3)/2,yx=1/Math.sqrt(12),gx=3*(yx/2+1),_x={draw:function(t,n){var e=Math.sqrt(n/gx),r=e/2,i=e*yx,o=r,u=e*yx+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(-.5*r-vx*i,vx*r+-.5*i),t.lineTo(-.5*o-vx*u,vx*o+-.5*u),t.lineTo(-.5*a-vx*c,vx*a+-.5*c),t.lineTo(-.5*r+vx*i,-.5*i-vx*r),t.lineTo(-.5*o+vx*u,-.5*u-vx*o),t.lineTo(-.5*a+vx*c,-.5*c-vx*a),t.closePath()}},mx=[rx,ix,ax,hx,lx,px,_x],bx=function(){var t=lw(rx),n=lw(64),e=null;function r(){var r;if(e||(e=r=to()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return r.type=function(n){return arguments.length?(t="function"==typeof n?n:lw(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:lw(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r},wx=function(){};function xx(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Mx(t){this._context=t}Mx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var Sx=function(t){return new Mx(t)};function kx(t){this._context=t}kx.prototype={areaStart:wx,areaEnd:wx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:xx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var Tx=function(t){return new kx(t)};function Nx(t){this._context=t}Nx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:xx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var Dx=function(t){return new Nx(t)};function Ax(t,n){this._basis=new Mx(t),this._beta=n}Ax.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Ex=function t(n){function e(t){return 1===n?new Mx(t):new Ax(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Cx(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Yx(t,n){this._context=t,this._k=(1-n)/6}Yx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Cx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Cx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ox=function t(n){function e(t){return new Yx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Px(t,n){this._context=t,this._k=(1-n)/6}Px.prototype={areaStart:wx,areaEnd:wx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Cx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Rx=function t(n){function e(t){return new Px(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ux(t,n){this._context=t,this._k=(1-n)/6}Ux.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Cx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Lx=function t(n){function e(t){return new Ux(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Fx(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>mw){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>mw){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,u=(u*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function zx(t,n){this._context=t,this._alpha=n}zx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Fx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ix=function t(n){function e(t){return n?new zx(t,n):new Yx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Hx(t,n){this._context=t,this._alpha=n}Hx.prototype={areaStart:wx,areaEnd:wx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Fx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Vx=function t(n){function e(t){return n?new Hx(t,n):new Px(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function qx(t,n){this._context=t,this._alpha=n}qx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Wx=function t(n){function e(t){return n?new qx(t,n):new Ux(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function jx(t){this._context=t}jx.prototype={areaStart:wx,areaEnd:wx,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};var Bx=function(t){return new jx(t)};function Gx(t){return t<0?-1:1}function Xx(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(Gx(o)+Gx(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a))||0}function Zx(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function $x(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function Kx(t){this._context=t}function Jx(t){this._context=new Qx(t)}function Qx(t){this._context=t}function tM(t){return new Kx(t)}function nM(t){return new Jx(t)}function eM(t){this._context=t}function rM(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,u[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,u[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,u[n]-=e*u[n-1];for(i[r-1]=u[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}Kx.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:$x(this,this._t0,Zx(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,$x(this,Zx(this,e=Xx(this,t,n)),e);break;default:$x(this,this._t0,e=Xx(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Jx.prototype=Object.create(Kx.prototype)).point=function(t,n){Kx.prototype.point.call(this,n,t)},Qx.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},eM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=rM(t),i=rM(n),o=0,u=1;u<e;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var iM=function(t){return new eM(t)};function oM(t,n){this._context=t,this._t=n}oM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var uM=function(t){return new oM(t,.5)};function aM(t){return new oM(t,0)}function cM(t){return new oM(t,1)}var fM=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o<i;++o)for(r=u,u=t[n[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]},sM=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e};function lM(t,n){return t[n]}var hM=function(){var t=lw([]),n=sM,e=fM,r=lM;function i(i){var o,u,a=t.apply(this,arguments),c=i.length,f=a.length,s=new Array(f);for(o=0;o<f;++o){for(var l,h=a[o],d=s[o]=new Array(c),p=0;p<c;++p)d[p]=l=[0,+r(i[p],h,p,i)],l.data=i[p];d.key=h}for(o=0,u=n(s);o<f;++o)s[u[o]].index=o;return e(s,u),s}return i.keys=function(n){return arguments.length?(t="function"==typeof n?n:lw(Gw.call(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:lw(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?sM:"function"==typeof t?t:lw(Gw.call(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?fM:t,i):e},i},dM=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,u=t[0].length;o<u;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}fM(t,n)}},pM=function(t,n){if((a=t.length)>0)for(var e,r,i,o,u,a,c=0,f=t[n[0]].length;c<f;++c)for(o=u=0,e=0;e<a;++e)(i=(r=t[n[e]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)},vM=function(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var u=0,a=0;u<e;++u)a+=t[u][r][1]||0;i[r][1]+=i[r][0]=-a/2}fM(t,n)}},yM=function(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;u<r;++u){for(var a=0,c=0,f=0;a<i;++a){for(var s=t[n[a]],l=s[u][1]||0,h=(l-(s[u-1][1]||0))/2,d=0;d<a;++d){var p=t[n[d]];h+=(p[u][1]||0)-(p[u-1][1]||0)}c+=l,f+=h*l}e[u-1][1]+=e[u-1][0]=o,c&&(o-=f/c)}e[u-1][1]+=e[u-1][0]=o,fM(t,n)}},gM=function(t){var n=t.map(_M);return sM(t).sort((function(t,e){return n[t]-n[e]}))};function _M(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++e<i;)(n=+t[e][1])>o&&(o=n,r=e);return r}var mM=function(t){var n=t.map(bM);return sM(t).sort((function(t,e){return n[t]-n[e]}))};function bM(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}var wM=function(t){return mM(t).reverse()},xM=function(t){var n,e,r=t.length,i=t.map(bM),o=gM(t),u=0,a=0,c=[],f=[];for(n=0;n<r;++n)e=o[n],u<a?(u+=i[e],c.push(e)):(a+=i[e],f.push(e));return f.reverse().concat(c)},MM=function(t){return sM(t).reverse()};e("jqX0");var SM=Date.prototype.toISOString?function(t){return t.toISOString()}:Ug("%Y-%m-%dT%H:%M:%S.%LZ");var kM=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:Lg("%Y-%m-%dT%H:%M:%S.%LZ"),TM=function(t,n,e){var r=new tr,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?Je():+e,r.restart((function o(u){u+=i,r.restart(o,i+=n,e),t(u)}),n,e),r)},NM=function(t){return function(){return t}};function DM(t){return t[0]}function AM(t){return t[1]}function EM(){this._=null}function CM(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function YM(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function OM(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function PM(t){for(;t.L;)t=t.L;return t}EM.prototype={constructor:EM,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=PM(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(YM(this,e),e=(t=e).U),e.C=!1,r.C=!0,OM(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(OM(this,e),e=(t=e).U),e.C=!1,r.C=!0,YM(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,u=t.R;if(e=o?u?PM(u):o:u,i?i.L===t?i.L=e:i.R=e:this._=e,o&&u?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==u?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=u,u.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,YM(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,OM(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,YM(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,OM(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,YM(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,OM(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var RM=EM;function UM(t,n,e,r){var i=[null,null],o=uS.push(i)-1;return i.left=t,i.right=n,e&&FM(i,t,n,e),r&&FM(i,n,t,r),iS[t.index].halfedges.push(o),iS[n.index].halfedges.push(o),i}function LM(t,n,e){var r=[n,e];return r.left=t,r}function FM(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function zM(t,n,e,r,i){var o,u=t[0],a=t[1],c=u[0],f=u[1],s=0,l=1,h=a[0]-c,d=a[1]-f;if(o=n-c,h||!(o>0)){if(o/=h,h<0){if(o<s)return;o<l&&(l=o)}else if(h>0){if(o>l)return;o>s&&(s=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>l)return;o>s&&(s=o)}else if(h>0){if(o<s)return;o<l&&(l=o)}if(o=e-f,d||!(o>0)){if(o/=d,d<0){if(o<s)return;o<l&&(l=o)}else if(d>0){if(o>l)return;o>s&&(s=o)}if(o=i-f,d||!(o<0)){if(o/=d,d<0){if(o>l)return;o>s&&(s=o)}else if(d>0){if(o<s)return;o<l&&(l=o)}return!(s>0||l<1)||(s>0&&(t[0]=[c+s*h,f+s*d]),l<1&&(t[1]=[c+l*h,f+l*d]),!0)}}}}}function IM(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,c=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],p=s[1],v=(l+d)/2,y=(h+p)/2;if(p===h){if(v<n||v>=r)return;if(l>d){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]<e)return}else c=[v,i];o=[v,e]}}else if(a=y-(u=(l-d)/(p-h))*v,u<-1||u>1)if(l>d){if(c){if(c[1]>=i)return}else c=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(c){if(c[1]<e)return}else c=[(i-a)/u,i];o=[(e-a)/u,e]}else if(h<p){if(c){if(c[0]>=r)return}else c=[n,u*n+a];o=[r,u*r+a]}else{if(c){if(c[0]<n)return}else c=[r,u*r+a];o=[n,u*n+a]}return t[0]=c,t[1]=o,!0}function HM(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function VM(t,n){return n[+(n.left!==t.site)]}function qM(t,n){return n[+(n.left===t.site)]}var WM,jM=[];function BM(){CM(this),this.x=this.y=this.arc=this.site=this.cy=null}function GM(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var u=i[0],a=i[1],c=r[0]-u,f=r[1]-a,s=o[0]-u,l=o[1]-a,h=2*(c*l-f*s);if(!(h>=-cS)){var d=c*c+f*f,p=s*s+l*l,v=(l*d-f*p)/h,y=(c*p-s*d)/h,g=jM.pop()||new BM;g.arc=t,g.site=i,g.x=v+u,g.y=(g.cy=y+a)+Math.sqrt(v*v+y*y),t.circle=g;for(var _=null,m=oS._;m;)if(g.y<m.y||g.y===m.y&&g.x<=m.x){if(!m.L){_=m.P;break}m=m.L}else{if(!m.R){_=m;break}m=m.R}oS.insert(_,g),_||(WM=g)}}}}function XM(t){var n=t.circle;n&&(n.P||(WM=n.N),oS.remove(n),jM.push(n),CM(n),t.circle=null)}var ZM=[];function $M(){CM(this),this.edge=this.site=this.circle=null}function KM(t){var n=ZM.pop()||new $M;return n.site=t,n}function JM(t){XM(t),rS.remove(t),ZM.push(t),CM(t)}function QM(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,u=t.N,a=[t];JM(t);for(var c=o;c.circle&&Math.abs(e-c.circle.x)<aS&&Math.abs(r-c.circle.cy)<aS;)o=c.P,a.unshift(c),JM(c),c=o;a.unshift(c),XM(c);for(var f=u;f.circle&&Math.abs(e-f.circle.x)<aS&&Math.abs(r-f.circle.cy)<aS;)u=f.N,a.push(f),JM(f),f=u;a.push(f),XM(f);var s,l=a.length;for(s=1;s<l;++s)f=a[s],c=a[s-1],FM(f.edge,c.site,f.site,i);c=a[0],(f=a[l-1]).edge=UM(c.site,f.site,null,i),GM(c),GM(f)}function tS(t){for(var n,e,r,i,o=t[0],u=t[1],a=rS._;a;)if((r=nS(a,u)-o)>aS)a=a.L;else{if(!((i=o-eS(a,u))>aS)){r>-aS?(n=a.P,e=a):i>-aS?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){iS[t.index]={site:t,halfedges:[]}}(t);var c=KM(t);if(rS.insert(n,c),n||e){if(n===e)return XM(n),e=KM(n.site),rS.insert(c,e),c.edge=e.edge=UM(n.site,c.site),GM(n),void GM(e);if(e){XM(n),XM(e);var f=n.site,s=f[0],l=f[1],h=t[0]-s,d=t[1]-l,p=e.site,v=p[0]-s,y=p[1]-l,g=2*(h*y-d*v),_=h*h+d*d,m=v*v+y*y,b=[(y*_-d*m)/g+s,(h*m-v*_)/g+l];FM(e.edge,f,p,b),c.edge=UM(f,t,null,b),e.edge=UM(t,p,null,b),GM(n),GM(e)}else c.edge=UM(n.site,c.site)}}function nS(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;var a=(e=u.site)[0],c=e[1],f=c-n;if(!f)return a;var s=a-r,l=1/o-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+i-o/2)))/l+r:(r+a)/2}function eS(t,n){var e=t.N;if(e)return nS(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var rS,iS,oS,uS,aS=1e-6,cS=1e-12;function fS(t,n){return n[1]-t[1]||n[0]-t[0]}function sS(t,n){var e,r,i,o=t.sort(fS).pop();for(uS=[],iS=new Array(t.length),rS=new RM,oS=new RM;;)if(i=WM,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(tS(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;QM(i.arc)}if(function(){for(var t,n,e,r,i=0,o=iS.length;i<o;++i)if((t=iS[i])&&(r=(n=t.halfedges).length)){var u=new Array(r),a=new Array(r);for(e=0;e<r;++e)u[e]=e,a[e]=HM(t,uS[n[e]]);for(u.sort((function(t,n){return a[n]-a[t]})),e=0;e<r;++e)a[e]=n[u[e]];for(e=0;e<r;++e)n[e]=a[e]}}(),n){var u=+n[0][0],a=+n[0][1],c=+n[1][0],f=+n[1][1];!function(t,n,e,r){for(var i,o=uS.length;o--;)IM(i=uS[o],t,n,e,r)&&zM(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>aS||Math.abs(i[0][1]-i[1][1])>aS)||delete uS[o]}(u,a,c,f),function(t,n,e,r){var i,o,u,a,c,f,s,l,h,d,p,v,y=iS.length,g=!0;for(i=0;i<y;++i)if(o=iS[i]){for(u=o.site,a=(c=o.halfedges).length;a--;)uS[c[a]]||c.splice(a,1);for(a=0,f=c.length;a<f;)p=(d=qM(o,uS[c[a]]))[0],v=d[1],l=(s=VM(o,uS[c[++a%f]]))[0],h=s[1],(Math.abs(p-l)>aS||Math.abs(v-h)>aS)&&(c.splice(a,0,uS.push(LM(u,d,Math.abs(p-t)<aS&&r-v>aS?[t,Math.abs(l-t)<aS?h:r]:Math.abs(v-r)<aS&&e-p>aS?[Math.abs(h-r)<aS?l:e,r]:Math.abs(p-e)<aS&&v-n>aS?[e,Math.abs(l-e)<aS?h:n]:Math.abs(v-n)<aS&&p-t>aS?[Math.abs(h-n)<aS?l:t,n]:null))-1),++f);f&&(g=!1)}if(g){var _,m,b,w=1/0;for(i=0,g=null;i<y;++i)(o=iS[i])&&(b=(_=(u=o.site)[0]-t)*_+(m=u[1]-n)*m)<w&&(w=b,g=o);if(g){var x=[t,n],M=[t,r],S=[e,r],k=[e,n];g.halfedges.push(uS.push(LM(u=g.site,x,M))-1,uS.push(LM(u,M,S))-1,uS.push(LM(u,S,k))-1,uS.push(LM(u,k,x))-1)}}for(i=0;i<y;++i)(o=iS[i])&&(o.halfedges.length||delete iS[i])}(u,a,c,f)}this.edges=uS,this.cells=iS,rS=oS=uS=iS=null}sS.prototype={constructor:sS,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return VM(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;return this.cells.forEach((function(e,r){if(o=(i=e.halfedges).length)for(var i,o,u,a,c,f,s=e.site,l=-1,h=n[i[o-1]],d=h.left===s?h.right:h.left;++l<o;)u=d,d=(h=n[i[l]]).left===s?h.right:h.left,u&&d&&r<u.index&&r<d.index&&(c=u,f=d,((a=s)[0]-f[0])*(c[1]-a[1])-(a[0]-c[0])*(f[1]-a[1])<0)&&t.push([s.data,u.data,d.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,i,o=this,u=o._found||0,a=o.cells.length;!(i=o.cells[u]);)if(++u>=a)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=o.cells[r=u],u=null,i.halfedges.forEach((function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var c=t-a[0],f=n-a[1],l=c*c+f*f;l<s&&(s=l,u=a.index)}}))}while(null!==u);return o._found=r,null==e||s<=e*e?i.site:null}};var lS=function(){var t=DM,n=AM,e=null;function r(r){return new sS(r.map((function(e,i){var o=[Math.round(t(e,i,r)/aS)*aS,Math.round(n(e,i,r)/aS)*aS];return o.index=i,o.data=e,o})),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:NM(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:NM(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r},hS=function(t){return function(){return t}};function dS(t,n,e){this.target=t,this.type=n,this.transform=e}function pS(t,n,e){this.k=t,this.x=n,this.y=e}pS.prototype={constructor:pS,scale:function(t){return 1===t?this:new pS(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new pS(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var vS=new pS(1,0,0);function yS(t){for(;!t.__zoom;)if(!(t=t.parentNode))return vS;return t.__zoom}function gS(){mn.stopImmediatePropagation()}yS.prototype=pS.prototype;var _S=function(){mn.preventDefault(),mn.stopImmediatePropagation()};function mS(){return!mn.ctrlKey&&!mn.button}function bS(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function wS(){return this.__zoom||vS}function xS(){return-mn.deltaY*(1===mn.deltaMode?.05:mn.deltaMode?1:.002)}function MS(){return navigator.maxTouchPoints||"ontouchstart"in this}function SS(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}var kS=function(){var t,n,e=mS,r=bS,i=SS,o=xS,u=MS,a=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,s=nv,l=mt("start","zoom","end"),h=500,d=150,p=0;function v(t){t.property("__zoom",wS).on("wheel.zoom",x).on("mousedown.zoom",M).on("dblclick.zoom",S).filter(u).on("touchstart.zoom",k).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",N).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function y(t,n){return(n=Math.max(a[0],Math.min(a[1],n)))===t.k?t:new pS(n,t.x,t.y)}function g(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new pS(t.k,r,i)}function _(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function m(t,n,e){t.on("start.zoom",(function(){b(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){b(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,o=b(t,i),u=r.apply(t,i),a=null==e?_(u):"function"==typeof e?e.apply(t,i):e,c=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,i):n,h=s(f.invert(a).concat(c/f.k),l.invert(a).concat(c/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=c/n[2];t=new pS(e,a[0]-n[0]*e,a[1]-n[1]*e)}o.zoom(null,t)}}))}function b(t,n,e){return!e&&t.__zooming||new w(t,n)}function w(t,n){this.that=t,this.args=n,this.active=0,this.extent=r.apply(t,n),this.taps=0}function x(){if(e.apply(this,arguments)){var t=b(this,arguments),n=this.__zoom,r=Math.max(a[0],Math.min(a[1],n.k*Math.pow(2,o.apply(this,arguments)))),u=Ve(this);if(t.wheel)t.mouse[0][0]===u[0]&&t.mouse[0][1]===u[1]||(t.mouse[1]=n.invert(t.mouse[0]=u)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[u,n.invert(u)],Sr(this),t.start()}_S(),t.wheel=setTimeout((function(){t.wheel=null,t.end()}),d),t.zoom("mouse",i(g(y(n,r),t.mouse[0],t.mouse[1]),t.extent,c))}}function M(){if(!n&&e.apply(this,arguments)){var t=b(this,arguments,!0),r=On(mn.view).on("mousemove.zoom",(function(){if(_S(),!t.moved){var n=mn.clientX-u,e=mn.clientY-a;t.moved=n*n+e*e>p}t.zoom("mouse",i(g(t.that.__zoom,t.mouse[0]=Ve(t.that),t.mouse[1]),t.extent,c))}),!0).on("mouseup.zoom",(function(){r.on("mousemove.zoom mouseup.zoom",null),Ln(mn.view,t.moved),_S(),t.end()}),!0),o=Ve(this),u=mn.clientX,a=mn.clientY;Un(mn.view),gS(),t.mouse=[o,this.__zoom.invert(o)],Sr(this),t.start()}}function S(){if(e.apply(this,arguments)){var t=this.__zoom,n=Ve(this),o=t.invert(n),u=t.k*(mn.shiftKey?.5:2),a=i(g(y(t,u),n,o),r.apply(this,arguments),c);_S(),f>0?On(this).transition().duration(f).call(m,a,n):On(this).call(v.transform,a)}}function k(){if(e.apply(this,arguments)){var n,r,i,o,u=mn.touches,a=u.length,c=b(this,arguments,mn.changedTouches.length===a);for(gS(),r=0;r<a;++r)i=u[r],o=[o=He(this,u,i.identifier),this.__zoom.invert(o),i.identifier],c.touch0?c.touch1||c.touch0[2]===o[2]||(c.touch1=o,c.taps=0):(c.touch0=o,n=!0,c.taps=1+!!t);t&&(t=clearTimeout(t)),n&&(c.taps<2&&(t=setTimeout((function(){t=null}),h)),Sr(this),c.start())}}function T(){if(this.__zooming){var n,e,r,o,u=b(this,arguments),a=mn.changedTouches,f=a.length;for(_S(),t&&(t=clearTimeout(t)),u.taps=0,n=0;n<f;++n)e=a[n],r=He(this,a,e.identifier),u.touch0&&u.touch0[2]===e.identifier?u.touch0[0]=r:u.touch1&&u.touch1[2]===e.identifier&&(u.touch1[0]=r);if(e=u.that.__zoom,u.touch1){var s=u.touch0[0],l=u.touch0[1],h=u.touch1[0],d=u.touch1[1],p=(p=h[0]-s[0])*p+(p=h[1]-s[1])*p,v=(v=d[0]-l[0])*v+(v=d[1]-l[1])*v;e=y(e,Math.sqrt(p/v)),r=[(s[0]+h[0])/2,(s[1]+h[1])/2],o=[(l[0]+d[0])/2,(l[1]+d[1])/2]}else{if(!u.touch0)return;r=u.touch0[0],o=u.touch0[1]}u.zoom("touch",i(g(e,r,o),u.extent,c))}}function N(){if(this.__zooming){var t,e,r=b(this,arguments),i=mn.changedTouches,o=i.length;for(gS(),n&&clearTimeout(n),n=setTimeout((function(){n=null}),h),t=0;t<o;++t)e=i[t],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0]);else if(r.end(),2===r.taps){var u=On(this).on("dblclick.zoom");u&&u.apply(this,arguments)}}}return v.transform=function(t,n,e){var r=t.selection?t.selection():t;r.property("__zoom",wS),t!==r?m(t,n,e):r.interrupt().each((function(){b(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},v.scaleBy=function(t,n,e){v.scaleTo(t,(function(){var t=this.__zoom.k,e="function"==typeof n?n.apply(this,arguments):n;return t*e}),e)},v.scaleTo=function(t,n,e){v.transform(t,(function(){var t=r.apply(this,arguments),o=this.__zoom,u=null==e?_(t):"function"==typeof e?e.apply(this,arguments):e,a=o.invert(u),f="function"==typeof n?n.apply(this,arguments):n;return i(g(y(o,f),u,a),t,c)}),e)},v.translateBy=function(t,n,e){v.transform(t,(function(){return i(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),r.apply(this,arguments),c)}))},v.translateTo=function(t,n,e,o){v.transform(t,(function(){var t=r.apply(this,arguments),u=this.__zoom,a=null==o?_(t):"function"==typeof o?o.apply(this,arguments):o;return i(vS.translate(a[0],a[1]).scale(u.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,c)}),o)},w.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){kn(new dS(v,t,this.that.__zoom),l.apply,l,[t,this.that,this.args])}},v.wheelDelta=function(t){return arguments.length?(o="function"==typeof t?t:hS(+t),v):o},v.filter=function(t){return arguments.length?(e="function"==typeof t?t:hS(!!t),v):e},v.touchable=function(t){return arguments.length?(u="function"==typeof t?t:hS(!!t),v):u},v.extent=function(t){return arguments.length?(r="function"==typeof t?t:hS([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):r},v.scaleExtent=function(t){return arguments.length?(a[0]=+t[0],a[1]=+t[1],v):[a[0],a[1]]},v.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(t){return arguments.length?(i=t,v):i},v.duration=function(t){return arguments.length?(f=+t,v):f},v.interpolate=function(t){return arguments.length?(s=t,v):s},v.on=function(){var t=l.on.apply(l,arguments);return t===l?v:t},v.clickDistance=function(t){return arguments.length?(p=(t=+t)*t,v):Math.sqrt(p)},v},TS=e("wd/R"),NS=e.n(TS);function DS(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var AS=function(t){var n,e;function i(){for(var n,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return(n=t.call.apply(t,[this].concat(r))||this).state={data:[],imageUrl:"",mode:"Holidays"},n.updateImage=function(t){n.setState((function(){return{imageUrl:t}}))},n.includeIn=function(t,n){if(!n["Print Image"])return!1;switch(t){case"All":return n.Title;case"Holidays":return n.Holidays}},n}e=t,(n=i).prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e;var u=i.prototype;return u.componentDidMount=function(){var t=this;console.log(r);var n=this.state.mode;Va("https://docs.google.com/spreadsheets/u/1/d/1_pceQeoDKhNnEtSFD2kLyMq1furUAmHXQDaE5vku_M8/pub?gid=0&output=csv",(function(e){if(t.includeIn(n,e)){var r={title:e.Title,publishDate:NS()(e["Print Date"]),id:e.id,imageUrl:e["Print Image"]};t.setState((function(t){return{data:[].concat(DS(t.data),[r])}}))}}))},u.render=function(){var t=this,n=this.state,e=n.data,r=n.imageUrl;return o.a.createElement("div",null,o.a.createElement("img",{src:r}),o.a.createElement("ul",null,e.map((function(n){return o.a.createElement("li",{key:n.id},o.a.createElement("button",{onClick:function(){return t.updateImage(n.imageUrl)}},n.title," ",o.a.createElement("br",null),o.a.createElement("i",null,n.publishDate.format("MMMM D, YYYY"))))}))))},i}(o.a.Component);n.default=AS},xfY5:function(t,n,e){"use strict";var r=e("dyZX"),i=e("aagx"),o=e("LZWt"),u=e("Xbzi"),a=e("apmT"),c=e("eeVq"),f=e("kJMx").f,s=e("EemH").f,l=e("hswa").f,h=e("qncB").trim,d=r.Number,p=d,v=d.prototype,y="Number"==o(e("Kuth")(v)),g="trim"in String.prototype,_=function(t){var n=a(t,!1);if("string"==typeof n&&n.length>2){var e,r,i,o=(n=g?n.trim():h(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+n}for(var u,c=n.slice(2),f=0,s=c.length;f<s;f++)if((u=c.charCodeAt(f))<48||u>i)return NaN;return parseInt(c,r)}}return+n};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof d&&(y?c((function(){v.valueOf.call(e)})):"Number"!=o(e))?u(new p(_(n)),e,d):_(n)};for(var m,b=e("nh4g")?f(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)i(p,m=b[w])&&!i(d,m)&&l(d,m,s(p,m));d.prototype=v,v.constructor=d,e("KroJ")(r,"Number",d)}}}]);
//# sourceMappingURL=component---src-pages-bill-d-3-viz-js-c7824ddc6734eb932a8e.js.map