!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define("d3",n):t.d3=n()}(this,function(){"use strict";function t(){return new n}function n(){this.reset()}function e(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function r(t){return t>1?0:t<-1?no:Math.acos(t)}function i(t){return t>1?eo:t<-1?-eo:Math.asin(t)}function o(){}function u(t,n){t&&wo.hasOwnProperty(t.type)&&wo[t.type](t,n)}function a(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++iUi&&(Ui=n)}function _(t,n){return(n-=t)<0?n+360:n}function m(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),e&&t.invert(e[0],e[1])}),e}function w(t,n){return[t>no?t-io:t<-no?t+io:t,n]}function b(t,n,e){return(t%=io)?n||e?m(M(t),E(n,e)):M(t):n||e?E(n,e):w}function x(t){return function(n,e){return n+=t,[n>no?n-io:n<-no?n+io:n,e]}}function M(t){var n=x(t);return n.invert=x(-t),n}function E(t,n){function e(t,n){var e=co(n),s=co(t)*e,l=vo(t)*e,c=vo(n),f=c*r+s*o;return[lo(l*u-f*a,s*r-c*o),i(f*u+l*a)]}var r=co(t),o=vo(t),u=co(n),a=vo(n);return e.invert=function(t,n){var e=co(n),s=co(t)*e,l=vo(t)*e,c=vo(n),f=c*u-l*a;return[lo(l*u+c*a,s*r+f*o),i(f*r-s*o)]},e}function S(t,n,e,r,i,o){if(e){var u=co(n),a=vo(n),s=r*e;null==i?(i=n+r*io,o=n-s/2):(i=N(u,i),o=N(u,o),(r>0?io)&&(i+=r*io));for(var l,f=i;r>0?f>o:f1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function k(t,n,e,r,i,o){var u,a=t[0],s=t[1],l=n[0],c=n[1],f=0,h=1,p=l-a,d=c-s;if(u=e-a,p||!(u>0)){if(u/=p,p<0){if(u0){if(u>h)return;u>f&&(f=u)}if(u=i-a,p||!(u<0)){if(u/=p,p<0){if(u>h)return;u>f&&(f=u)}else if(p>0){if(u0)){if(u/=d,d<0){if(u0){if(u>h)return;u>f&&(f=u)}if(u=o-s,d||!(u<0)){if(u/=d,d<0){if(u>h)return;u>f&&(f=u)}else if(d>0){if(u0&&(t[0]=a+f*p,t[1]=s+f*d),h<1&&(n[0]=a+h*p,n[1]=s+h*d),!0}}}}}function P(t,n){return ao(t[0]-n[0])=0;--o)i.point((c=l[o])[0],c[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,l=h.z,p=!p}while(!h.v);i.lineEnd()}}}function q(t){if(n=t.length){for(var n,e,r=0,i=t[0];++rn?1:t>=n?0:NaN}function j(t){return 1===t.length&&(t=L(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>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>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}function L(t){return function(n,e){return O(t(n),e)}}function I(t){for(var n,e,r,i=t.length,o=-1,u=0;++o=0;)for(r=t[i],n=r.length;--n>=0;)e[--u]=r[n];return e}function R(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,l){var c=0,f=0;if(null==i||(c=u(i,a))!==(f=u(o,a))||s(i,o)<0^a>0){do l.point(0===c||3===c?t:e,c>1?r:n);while((c=(c+a+4)%4)!==f)}else l.point(o[0],o[1])}function u(r,i){return ao(r[0]-t)0?0:3:ao(r[0]-e)0?2:1:ao(r[1]-n)0?1:0:i>0?3:2}function a(t,n){return s(t.x,n.x)}function s(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){function s(t,n){i(t,n)&&N.point(t,n)}function l(){for(var n=0,e=0,i=g.length;er&&(f-o)*(r-u)>(h-u)*(t-o)&&++n:h<=r&&(f-o)*(r-u)<(h-u)*(t-o)&&--n;return n}function c(){N=P,v=[],g=[],S=!0}function f(){var t=l(),n=S&&t,e=(v=I(v)).length;(n||e)&&(u.polygonStart(),n&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),e&&T(v,a,t,o,u),u.polygonEnd()),N=u,v=g=y=null}function h(){C.point=d,g&&g.push(y=[]),E=!0,M=!1,b=x=NaN}function p(){v&&(d(_,m),w&&M&&P.rejoin(),v.push(P.result())),C.point=s,M&&N.lineEnd()}function d(o,u){var a=i(o,u);if(g&&y.push([o,u]),E)_=o,m=u,w=a,E=!1,a&&(N.lineStart(),N.point(o,u));else if(a&&M)N.point(o,u);else{var s=[b=Math.max(xo,Math.min(bo,b)),x=Math.max(xo,Math.min(bo,x))],l=[o=Math.max(xo,Math.min(bo,o)),u=Math.max(xo,Math.min(bo,u))];k(s,l,t,n,e,r)?(M||(N.lineStart(),N.point(s[0],s[1])),N.point(l[0],l[1]),a||N.lineEnd(),S=!1):a&&(N.lineStart(),N.point(o,u),S=!1)}b=o,x=u,M=a}var v,g,y,_,m,w,b,x,M,E,S,N=u,P=A(),C={point:s,lineStart:h,lineEnd:p,polygonStart:c,polygonEnd:f};return C}}function X(t){return t}function z(t,n){tSo&&(So=t),nNo&&(No=n)}function V(t,n){var e=n[0],r=n[1],o=[vo(e),-co(e),0],u=0,a=0;ko.reset();for(var s=0,l=t.length;s=0?1:-1,k=A*N,P=k>no,C=_*E;if(ko.add(lo(C*A*vo(k),m*S+C*co(k))),u+=P?N+A*io:N,P^v>=e^x>=e){var T=p(f(d),f(b));g(T);var q=p(o,T);g(q);var O=(P^N>=0?-1:1)*i(q[2]);(r>O||r===O&&(T[0]||T[1]))&&(a+=P^N>=0?1:-1)}}return(u<-to||u0){for(w||(o.polygonStart(),w=!0),o.lineStart(),t=0;t1&&2&i&&u.push(u.pop().concat(u.shift())),d.push(u.filter($))}var p,d,v,g=n(o),y=i.invert(r[0],r[1]),_=A(),m=n(_),w=!1,b={point:u,lineStart:s,lineEnd:l,polygonStart:function(){b.point=c,b.lineStart=f,b.lineEnd=h,d=[],p=[]},polygonEnd:function(){b.point=u,b.lineStart=s,b.lineEnd=l,d=I(d);var t=V(p,y);d.length?(w||(o.polygonStart(),w=!0),T(d,B,t,e,o)):t&&(w||(o.polygonStart(),w=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),w&&(o.polygonEnd(),w=!1),d=p=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return b}}function $(t){return t.length>1}function B(t,n){return((t=t.x)[0]<0?t[1]-eo-to:eo-t[1])-((n=n.x)[0]<0?n[1]-eo-to:eo-n[1])}function F(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?no:-no,s=ao(o-e);ao(s-no)0?eo:-eo),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&s>=no&&(ao(e-i)to?so((vo(n)*(o=co(r))*vo(e)-vo(r)*(i=co(n))*vo(t))/(i*o*u)):(n+r)/2}function H(t,n,e,r){var i;if(null==t)i=e*eo,r.point(-no,i),r.point(0,i),r.point(no,i),r.point(no,0),r.point(no,-i),r.point(0,-i),r.point(-no,-i),r.point(-no,0),r.point(-no,i);else if(ao(t[0]-n[0])>to){var o=t[0]a}function i(t){var n,e,i,a,c;return{lineStart:function(){a=i=!1,c=1},point:function(f,h){var p,d=[f,h],v=r(f,h),g=s?v?0:u(f,h):v?u(f+(f<0?no:-no),h):0;if(!n&&(a=i=v)&&t.lineStart(),v!==i&&(p=o(n,d),(P(n,p)||P(d,p))&&(d[0]+=to,d[1]+=to,v=r(d[0],d[1]))),v!==i)c=0,v?(t.lineStart(),p=o(d,n),t.point(p[0],p[1])):(p=o(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(l&&n&&s^v){var y;g&e||!(y=o(d,n,!0))||(c=0,s?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!v||n&&P(n,d)||t.point(d[0],d[1]),n=d,i=v,e=g},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return c|(a&&i)<<1}}}function o(t,n,e){var r=f(t),i=f(n),o=[1,0,0],u=p(r,i),s=h(u,u),l=u[0],g=s-l*l;if(!g)return!e&&t;var y=a*s/g,_=-a*l/g,m=p(o,u),w=v(o,y),b=v(u,_);d(w,b);var x=m,M=h(w,x),E=h(x,x),S=M*M-E*(h(w,w)-1);if(!(S<0)){var N=yo(S),A=v(x,(-M-N)/E);if(d(A,w),A=c(A),!e)return A;var k,P=t[0],C=n[0],T=t[1],q=n[1];C0^A[1]<(ao(A[0]-P)no^(P<=A[0]&&A[0]<=C)){var I=v(x,(-M+N)/E);return d(I,w),[A,c(I)]}}}function u(n,e){var r=s?t:no-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}var a=co(t),s=a>0,l=ao(a)>to;return D(r,i,e,s?[0,-t]:[-no,t-no])}function U(t){function n(){}var e=n.prototype=Object.create(Z.prototype);for(var r in t)e[r]=t[r];return function(t){var e=new n;return e.stream=t,e}}function Z(){}function J(t,n,e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),l(e,t.stream(Ao));var u=Ao.result(),a=Math.min(r/(u[1][0]-u[0][0]),i/(u[1][1]-u[0][1])),s=+n[0][0]+(r-a*(u[1][0]+u[0][0]))/2,c=+n[0][1]+(i-a*(u[1][1]+u[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*a).translate([s,c])}function Q(t){return function(n,e){return J(t,[[0,0],n],e)}}function K(t){return function(n,e){return J(t,n,e)}}function W(t,n){return+n?nt(t,n):tt(t)}function tt(t){return U({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function nt(t,n){function e(r,o,u,a,s,l,c,f,h,p,d,v,g,y){var _=c-r,m=f-o,w=_*_+m*m;if(w>4*n&&g--){var b=a+p,x=s+d,M=l+v,E=yo(b*b+x*x+M*M),S=i(M/=E),N=ao(ao(M)-1)n||ao((_*C+m*T)/w-.5)>.3||a*p+s*d+l*v2?t[2]%360*uo:0,i()):[M*oo,E*oo,S*oo]},n.precision=function(t){return arguments.length?(T=W(r,C=t*t),o()):yo(C)},n.fitExtent=K(n),n.fitSize=Q(n),function(){return u=t.apply(this,arguments),n.invert=u.invert&&e,i()}}function rt(t){var n=0,e=no/3,r=et(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*uo,e=t[1]*uo):[n*oo,e*oo]},i}function it(t,n){return[t,ho(_o((eo+n)/2))]}function ot(t){return _o((eo+t)/2)}function ut(t,n){function e(t,n){o>0?n<-eo+to&&(n=-eo+to):n>eo-to&&(n=eo-to);var e=o/po(ot(n),i);return[e*vo(i*t),o-e*co(i*t)]}var r=co(t),i=t===n?vo(t):ho(r/co(n))/ho(ot(n)/ot(t)),o=r*po(ot(t),i)/i;return i?(e.invert=function(t,n){var e=o-n,r=go(i)*yo(t*t+e*e);return[lo(t,e)/i,2*so(po(o/r,1/i))-eo]},e):it}function at(){return rt(ut).scale(109.5).parallels([30,30])}function st(){this._x0=this._y0=this._x1=this._y1=null,this._=[]}function lt(){return new st}function ct(t){var n=t.length;return{point:function(e,r){for(var i=-1;++i=.05346&&i<.0897&&r>=-.13388&&r<-.0322?a:u).invert(t)},t.stream=function(t){return n&&e===t?n:n=ct([u.stream(e=t),a.stream(t)])},t.precision=function(n){return arguments.length?(u.precision(n),a.precision(n),t):u.precision()},t.scale=function(n){return arguments.length?(u.scale(n),a.scale(n),t.translate(u.translate())):u.scale()},t.translate=function(n){if(!arguments.length)return u.translate();var e=u.scale(),o=+n[0],l=+n[1];return r=u.translate(n).clipExtent([[o-.06857*e,l-.1288*e],[o+.13249*e,l+.05292*e]]).stream(s),i=a.translate([o+.1*e,l-.094*e]).clipExtent([[o-.1331*e+Fi,l+.053457*e+Fi],[o-.0354*e-Fi,l+.08969*e-Fi]]).stream(s),t},t.drawCompositionBorders=function(t){var n=u([-14.0346750522884,34.96500729877966]),e=u([-7.4208899681602025,35.53698899616862]),r=u([-7.314827535125545,33.54359498636456]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1])},t.getCompositionBorders=function(){var t=lt();return this.drawCompositionBorders(t),t.toString()},t.scale(2700)}function ht(){return new pt}function pt(){this.reset()}function dt(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function vt(){}function gt(t,n){t&&Wo.hasOwnProperty(t.type)&&Wo[t.type](t,n)}function yt(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++in?1:t>=n?0:NaN}function bt(t){return 1===t.length&&(t=xt(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>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>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}function xt(t){return function(n,e){return wt(t(n),e)}}function Mt(t){return t}function Et(){eu.point=St}function St(t,n){eu.point=Nt,Ro=zo=t,Xo=Vo=n}function Nt(t,n){nu.add(Vo*t-zo*n),zo=t,Vo=n}function At(){Nt(Ro,Xo)}function kt(t,n){tou&&(ou=t),nuu&&(uu=n)}function Pt(t,n){su+=t,lu+=n,++cu}function Ct(){yu.point=Tt}function Tt(t,n){yu.point=qt,Pt(Bo=t,Fo=n)}function qt(t,n){var e=t-Bo,r=n-Fo,i=Qo(e*e+r*r);fu+=i*(Bo+t)/2,hu+=i*(Fo+n)/2,pu+=i,Pt(Bo=t,Fo=n)}function Ot(){yu.point=Pt}function jt(){yu.point=It}function Lt(){Rt(Do,$o)}function It(t,n){yu.point=Rt,Pt(Do=Bo=t,$o=Fo=n)}function Rt(t,n){var e=t-Bo,r=n-Fo,i=Qo(e*e+r*r);fu+=i*(Bo+t)/2,hu+=i*(Fo+n)/2,pu+=i,i=Fo*t-Bo*n,du+=i*(Bo+t),vu+=i*(Fo+n),gu+=3*i,Pt(Bo=t,Fo=n)}function Xt(t){this._context=t}function zt(){this._string=[]}function Vt(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Dt(){function t(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),mt(t,e(i))),i.result()}var n,e,r,i,o=4.5;return t.area=function(t){return mt(t,e(eu)),eu.result()},t.bounds=function(t){return mt(t,e(au)),au.result()},t.centroid=function(t){return mt(t,e(yu)),yu.result()},t.projection=function(r){return arguments.length?(e=null==(n=r)?Mt:r.stream,t):n},t.context=function(n){return arguments.length?(i=null==(r=n)?new zt:new Xt(n),"function"!=typeof o&&i.pointRadius(o),t):r},t.pointRadius=function(n){return arguments.length?(o="function"==typeof n?n:(i.pointRadius(+n),+n),t):o},t.projection(null).context(null)}function $t(t){function n(){}var e=n.prototype=Object.create(Bt.prototype);for(var r in t)e[r]=t[r];return function(t){var e=new n;return e.stream=t,e}}function Bt(){}function Ft(){}function Yt(t,n){var e=new Ft;if(t instanceof Ft)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=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 Zt(t,n){for(var e,r=0,i=t.length;r=200&&e<300||304===e){if(o)try{n=o.call(r,l)}catch(t){return void a.call("error",r,t)}else n=l;a.call("load",r,n)}else a.call("error",r,t)}var r,i,o,u,a=Ht("beforesend","progress","load","error"),s=Yt(),l=new XMLHttpRequest,c=null,f=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(t)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=l.ontimeout=e:l.onreadystatechange=function(t){l.readyState>3&&e(t)},l.onprogress=function(t){a.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==n?s.remove(t):s.set(t,n+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(u=t,r):u},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?c:(c=null==t?null:t+"",r)},password:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,n){return r.send("GET",t,n)},post:function(t,n){return r.send("POST",t,n)},send:function(n,e,o){return l.open(n,t,!0,c,f),null==i||s.has("accept")||s.set("accept",i+",*/*"),l.setRequestHeader&&s.each(function(t,n){l.setRequestHeader(n,t)}),null!=i&&l.overrideMimeType&&l.overrideMimeType(i),null!=u&&(l.responseType=u),h>0&&(l.timeout=h),null==o&&"function"==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=Kt(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),a.call("beforesend",r,l),l.send(null==e?null:e),r},abort:function(){return l.abort(),r},on:function(){var t=a.on.apply(a,arguments);return t===a?r:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return r.get(n)}return r}function Kt(t){return function(n,e){t(null==n?e:null)}}function Wt(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function tn(t,n){return function(e,r){var i=Qt(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}}function nn(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function en(t,n){var e=nn(t);return function(r,i){return n(e(r),i,t)}}function rn(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 on(t){function n(t,n){var r,i,o=e(t,function(t,e){return r?r(t,e-1):(i=t,void(r=n?en(t,n):nn(t)))});return o.columns=i,o}function e(t,n){function e(){if(c>=l)return u;if(i)return i=!1,o;var n,e=c;if(34===t.charCodeAt(e)){for(var r=e;r++=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),xu.hasOwnProperty(n)?{space:xu[n],local:t}:t}function an(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===bu&&n.documentElement.namespaceURI===bu?n.createElement(t):n.createElementNS(e,t)}}function sn(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function ln(t){var n=un(t);return(n.local?sn:an)(n)}function cn(t,n,e){return t=fn(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function fn(t,n,e){return function(r){var i=ku;ku=r;try{t.call(this,this.__data__,n,e)}finally{ku=i}}}function hn(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 pn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=b&&(b=w+1);!(m=g[b])&&++b=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this}function On(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=jn);for(var e=this._groups,r=e.length,i=new Array(r),o=0;on?1:t>=n?0:NaN}function Ln(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function In(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t}function Rn(){for(var t=this._groups,n=0,e=t.length;n1?this.each((null==n?Zn:"function"==typeof n?Qn:Jn)(t,n,null==e?"":e)):Un(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)}function Wn(t){return function(){delete this[t]}}function te(t,n){return function(){this[t]=n}}function ne(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function ee(t,n){return arguments.length>1?this.each((null==n?Wn:"function"==typeof n?ne:te)(t,n)):this.node()[t]}function re(t){return t.trim().split(/^|\s+/)}function ie(t){return t.classList||new oe(t)}function oe(t){this._node=t,this._names=re(t.getAttribute("class")||"")}function ue(t,n){for(var e=ie(t),r=-1,i=n.length;++r=0&&n._call.call(null,t),n=n._next;--ju}function $e(){zu=(Xu=Du.now())+Vu,ju=Lu=0;try{De()}finally{ju=0,Fe(),zu=0}}function Be(){var t=Du.now(),n=t-Xu;n>Ru&&(Vu-=n,Xu=t)}function Fe(){for(var t,n,e=qu,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:qu=n);Ou=t,Ye(r)}function Ye(t){if(!ju){Lu&&(Lu=clearTimeout(Lu));var n=t-zu;n>24?(t<1/0&&(Lu=setTimeout($e,n)),Iu&&(Iu=clearInterval(Iu))):(Iu||(Iu=setInterval(Be,Ru)),ju=1,$u($e))}}function He(t,n,e){var r=new ze;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r}function Ge(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};Qe(t,e,{name:n,index:r,group:i,on:Bu,tween:Fu,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Yu})}function Ue(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>Yu)throw new Error("too late");return e}function Ze(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>Gu)throw new Error("too late");return e}function Je(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("too late");return e}function Qe(t,n,e){function r(t){e.state=Hu,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}function i(r){var l,c,f,h;if(e.state!==Hu)return u();for(l in s)if(h=s[l],h.name===e.name){if(h.state===Uu)return He(i);h.state===Zu?(h.state=Qu,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete s[l]):+l>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=na.exec(t))?ir(parseInt(n[1],16)):(n=ea.exec(t))?new sr(n[1],n[2],n[3],1):(n=ra.exec(t))?new sr(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=ia.exec(t))?or(n[1],n[2],n[3],n[4]):(n=oa.exec(t))?or(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=ua.exec(t))?lr(n[1],n[2]/100,n[3]/100,1):(n=aa.exec(t))?lr(n[1],n[2]/100,n[3]/100,n[4]):sa.hasOwnProperty(t)?ir(sa[t]):"transparent"===t?new sr(NaN,NaN,NaN,0):null}function ir(t){return new sr(t>>16&255,t>>8&255,255&t,1)}function or(t,n,e,r){return r<=0&&(t=n=e=NaN),new sr(t,n,e,r)}function ur(t){return t instanceof er||(t=rr(t)),t?(t=t.rgb(),new sr(t.r,t.g,t.b,t.opacity)):new sr}function ar(t,n,e,r){return 1===arguments.length?ur(t):new sr(t,n,e,null==r?1:r)}function sr(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function lr(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new hr(t,n,e,r)}function cr(t){if(t instanceof hr)return new hr(t.h,t.s,t.l,t.opacity);if(t instanceof er||(t=rr(t)),!t)return new hr;if(t instanceof hr)return t;t=t.rgb();var n=t.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,s=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e0&&s<1?0:u,new hr(u,a,s,t.opacity)}function fr(t,n,e,r){return 1===arguments.length?cr(t):new hr(t,n,e,null==r?1:r)}function hr(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function pr(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 dr(t){if(t instanceof gr)return new gr(t.l,t.a,t.b,t.opacity);if(t instanceof Mr){var n=t.h*la;return new gr(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof sr||(t=ur(t));var e=wr(t.r),r=wr(t.g),i=wr(t.b),o=yr((.4124564*e+.3575761*r+.1804375*i)/ha),u=yr((.2126729*e+.7151522*r+.072175*i)/pa),a=yr((.0193339*e+.119192*r+.9503041*i)/da);return new gr(116*u-16,500*(o-u),200*(u-a),t.opacity)}function vr(t,n,e,r){return 1===arguments.length?dr(t):new gr(t,n,e,null==r?1:r)}function gr(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function yr(t){return t>_a?Math.pow(t,1/3):t/ya+va}function _r(t){return t>ga?t*t*t:ya*(t-va)}function mr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function wr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function br(t){if(t instanceof Mr)return new Mr(t.h,t.c,t.l,t.opacity);t instanceof gr||(t=dr(t));var n=Math.atan2(t.b,t.a)*ca;return new Mr(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function xr(t,n,e,r){return 1===arguments.length?br(t):new Mr(t,n,e,null==r?1:r)}function Mr(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Er(t){if(t instanceof Nr)return new Nr(t.h,t.s,t.l,t.opacity);t instanceof sr||(t=ur(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(Na*r+Ea*n-Sa*e)/(Na+Ea-Sa),o=r-i,u=(Ma*(e-i)-ba*o)/xa,a=Math.sqrt(u*u+o*o)/(Ma*i*(1-i)),s=a?Math.atan2(u,o)*ca-120:NaN;return new Nr(s<0?s+360:s,a,i,t.opacity)}function Sr(t,n,e,r){return 1===arguments.length?Er(t):new Nr(t,n,e,null==r?1:r)}function Nr(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ar(t){return function(){return t}}function kr(t,n){return function(e){return t+e*n}}function Pr(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Cr(t,n){var e=n-t;return e?kr(t,e>180||e<-180?e-360*Math.round(e/360):e):Ar(isNaN(t)?n:t)}function Tr(t){return 1===(t=+t)?qr:function(n,e){return e-n?Pr(n,e,t):Ar(isNaN(n)?e:n)}}function qr(t,n){var e=n-t;return e?kr(t,e):Ar(isNaN(t)?n:t)}function Or(t,n){return t=+t,n-=t,function(e){return t+n*e}}function jr(t){return function(){return t}}function Lr(t){return function(n){return t(n)+""}}function Ir(t,n){var e,r,i,o=qa.lastIndex=Oa.lastIndex=0,u=-1,a=[],s=[];for(t+="",n+="";(e=qa.exec(t))&&(r=Oa.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,s.push({i:u,x:Or(e,r)})),o=Oa.lastIndex;return o180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Or(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function a(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Or(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function s(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:Or(t,e)},{i:a-2,x:Or(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}return function(n,e){var r=[],i=[];return n=t(n),e=t(e),o(n.translateX,n.translateY,e.translateX,e.translateY,r,i),u(n.rotate,e.rotate,r,i),a(n.skewX,e.skewX,r,i),s(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){for(var n,e=-1,o=i.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t})}function di(t,n,e){var r,i,o=pi(n)?Ue:Ze;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}function vi(t,n){var e=this._id;return arguments.length<2?Je(this.node(),e).on.on(t):this.each(di(e,t,n))}function gi(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function yi(){return this.on("end.remove",gi(this._id))}function _i(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=yn(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u0?1:t<0?-1:0},yo=Math.sqrt,_o=Math.tan,mo={Feature:function(t,n){u(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++rLo)if(Math.abs(c*a-s*l)>Lo&&i){var h=e-o,p=r-u,d=a*a+s*s,v=h*h+p*p,g=Math.sqrt(d),y=Math.sqrt(f),_=i*Math.tan((Oo-Math.acos((d+f-v)/(2*g*y)))/2),m=_/y,w=_/g;Math.abs(m-1)>Lo&&this._.push("L",t+m*l,",",n+m*c),this._.push("A",i,",",i,",0,0,",+(c*h>l*p),",",this._x1=t+w*a,",",this._y1=n+w*s)}else this._.push("L",this._x1=t,",",this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,e=+e;var u=e*Math.cos(r),a=e*Math.sin(r),s=t+u,l=n+a,c=1^o,f=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._.push("M",s,",",l):(Math.abs(this._x1-s)>Lo||Math.abs(this._y1-l)>Lo)&&this._.push("L",s,",",l),e&&(f>Io?this._.push("A",e,",",e,",0,1,",c,",",t-u,",",n-a,"A",e,",",e,",0,1,",c,",",this._x1=s,",",this._y1=l):(f<0&&(f=f%jo+jo),this._.push("A",e,",",e,",0,",+(f>=Oo),",",c,",",this._x1=t+e*Math.cos(i),",",this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+n,"h",+e,"v",+r,"h",-e,"Z")},toString:function(){return this._.join("")}},pt.prototype={constructor:pt,reset:function(){this.s=this.t=0},add:function(t){dt(Yo,t,this.t),dt(this,Yo.s,this.s),this.s?this.t+=Yo.t:this.s=Yo.t},valueOf:function(){return this.s}};var Ro,Xo,zo,Vo,Do,$o,Bo,Fo,Yo=new pt,Ho=Math.PI,Go=2*Ho,Uo=Ho/180,Zo=Math.abs,Jo=(Math.atan2,Math.cos),Qo=(Math.sin,Math.sqrt),Ko={Feature:function(t,n){gt(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0)for(var e,r,i=new Array(e),o=0;o=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Tu=[null];je.prototype=Le.prototype={constructor:je,select:_n,selectAll:bn,filter:xn,data:Pn,enter:En,exit:Cn,merge:Tn,order:qn,sort:On,call:Ln,nodes:In,node:Rn,size:Xn,empty:zn,each:Vn,attr:Gn,style:Kn,property:ee,classed:fe,text:ve,html:me,raise:be,lower:Me,append:Ee,insert:Ne,remove:ke,datum:Pe,on:vn,dispatch:Oe};var qu,Ou,ju=0,Lu=0,Iu=0,Ru=1e3,Xu=0,zu=0,Vu=0,Du="object"==typeof performance&&performance.now?performance:Date,$u="function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){setTimeout(t,17)};ze.prototype=Ve.prototype={constructor:ze,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Re():+e)+(null==n?0:+n),this._next||Ou===this||(Ou?Ou._next=this:qu=this,Ou=this),this._call=t,this._time=e,Ye()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ye())}};var Bu=Ht("start","end","interrupt"),Fu=[],Yu=0,Hu=1,Gu=2,Uu=3,Zu=4,Ju=5,Qu=6,Ku=.7,Wu=1/Ku,ta=/^#([0-9a-f]{3})$/,na=/^#([0-9a-f]{6})$/,ea=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,ra=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,ia=/^rgba\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,oa=/^rgba\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,ua=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,aa=/^hsla\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,sa={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};tr(er,rr,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),tr(sr,ar,nr(er,{brighter:function(t){return t=null==t?Wu:Math.pow(Wu,t),new sr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Ku:Math.pow(Ku,t),new sr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),tr(hr,fr,nr(er,{brighter:function(t){return t=null==t?Wu:Math.pow(Wu,t),new hr(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ku:Math.pow(Ku,t),new hr(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 sr(pr(t>=240?t-240:t+120,i,r),pr(t,i,r),pr(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}}));var la=Math.PI/180,ca=180/Math.PI,fa=18,ha=.95047,pa=1,da=1.08883,va=4/29,ga=6/29,ya=3*ga*ga,_a=ga*ga*ga;tr(gr,vr,nr(er,{brighter:function(t){return new gr(this.l+fa*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new gr(this.l-fa*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=pa*_r(t),n=ha*_r(n),e=da*_r(e),new sr(mr(3.2404542*n-1.5371385*t-.4985314*e),mr(-.969266*n+1.8760108*t+.041556*e),mr(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),tr(Mr,xr,nr(er,{brighter:function(t){return new Mr(this.h,this.c,this.l+fa*(null==t?1:t),this.opacity)},darker:function(t){return new Mr(this.h,this.c,this.l-fa*(null==t?1:t),this.opacity)},rgb:function(){return dr(this).rgb()}}));var ma=-.14861,wa=1.78277,ba=-.29227,xa=-.90649,Ma=1.97294,Ea=Ma*xa,Sa=Ma*wa,Na=wa*ba-xa*ma;tr(Nr,Sr,nr(er,{brighter:function(t){return t=null==t?Wu:Math.pow(Wu,t),new Nr(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ku:Math.pow(Ku,t),new Nr(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*la,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new sr(255*(n+e*(ma*r+wa*i)),255*(n+e*(ba*r+xa*i)),255*(n+e*(Ma*r)),this.opacity)}}));var Aa,ka,Pa,Ca,Ta=function t(n){function e(t,n){var e=r((t=ar(t)).r,(n=ar(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),u=r(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}var r=Tr(n);return e.gamma=t,e}(1),qa=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Oa=new RegExp(qa.source,"g"),ja=180/Math.PI,La={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Ia=Vr(Xr,"px, ","px)","deg)"),Ra=Vr(zr,", ",")",")");Dr(Cr);var Xa=(Dr(qr),Le.prototype.constructor),za=0,Va=Le.prototype;qi.prototype=Oi.prototype={constructor:qi,select:_i,selectAll:mi,filter:fi,merge:hi,selection:wi,transition:Ti,call:Va.call,nodes:Va.nodes,node:Va.node,size:Va.size,empty:Va.empty,each:Va.each,on:vi,attr:Wr,attrTween:ei,style:Si,styleTween:Ai,text:Ci,remove:yi,tween:Fr,delay:oi,duration:si,ease:ci};var Da=3,$a=(function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(Da),function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(Da),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}(Da),1.70158),Ba=(function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}($a),function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}($a),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}($a),2*Math.PI),Fa=1,Ya=.3,Ha=(function t(n,e){function r(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Ba);return r.amplitude=function(n){return t(n,e*Ba)},r.period=function(e){return t(n,e)},r}(Fa,Ya),function t(n,e){function r(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Ba);return r.amplitude=function(n){return t(n,e*Ba)},r.period=function(e){return t(n,e)},r}(Fa,Ya),function t(n,e){function r(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((i-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((i+t)/e))/2}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=Ba);return r.amplitude=function(n){return t(n,e*Ba)},r.period=function(e){return t(n,e)},r}(Fa,Ya),{time:null,delay:0,duration:250,ease:Li});Le.prototype.interrupt=We,Le.prototype.transition=Ri;var Ga={geoConicConformalSpain:ft,geoPath:Dt,json:wu,select:Ie,transition:Oi,feature:Di};return Ga});