(c=e.charCodeAt(i))||c>57){S=(46===c?a+e.slice(i+1):e.slice(i))+S,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var _=d.length+e.length+S.length,E=_>1)+d+e+S+E.slice(_);break;default:e=E+d+e+S}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var n=f(((e=lc(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(cc(t)/3))),i=Math.pow(10,-r),o=wc[8+r/3];return function(e){return n(i*e)+o}}}};function Oc(e){return hc=xc(e),pc=hc.format,gc=hc.formatPrefix,hc}Oc({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var Sc=function(e){return Math.max(0,-cc(Math.abs(e)))},kc=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(cc(t)/3)))-cc(Math.abs(e)))},_c=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,cc(t)-cc(e))+1},Ec=function(){return new Cc};function Cc(){this.reset()}Cc.prototype={constructor:Cc,reset:function(){this.s=this.t=0},add:function(e){Tc(Mc,e,this.t),Tc(this,Mc.s,this.s),this.s?this.t+=Mc.t:this.s=Mc.t},valueOf:function(){return this.s}};var Mc=new Cc;function Tc(e,t,n){var r=e.s=t+n,i=r-t,o=r-i;e.t=t-o+(n-i)}var Ac=1e-6,jc=1e-12,Rc=Math.PI,Lc=Rc/2,Nc=Rc/4,Pc=2*Rc,Ic=180/Rc,$c=Rc/180,Dc=Math.abs,Fc=Math.atan,zc=Math.atan2,Bc=Math.cos,Hc=Math.ceil,Wc=Math.exp,Uc=(Math.floor,Math.log),Vc=Math.pow,qc=Math.sin,Kc=Math.sign||function(e){return e>0?1:e<0?-1:0},Gc=Math.sqrt,Yc=Math.tan;function Qc(e){return e>1?0:e<-1?Rc:Math.acos(e)}function Xc(e){return e>1?Lc:e<-1?-Lc:Math.asin(e)}function Jc(e){return(e=qc(e/2))*e}function Zc(){}function eu(e,t){e&&nu.hasOwnProperty(e.type)&&nu[e.type](e,t)}var tu={Feature:function(e,t){eu(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r=0?1:-1,i=r*n,o=Bc(t=(t*=$c)/2+Nc),a=qc(t),s=uu*a,c=cu*o+s*Bc(i),u=s*r*qc(i);fu.add(zc(u,c)),su=e,cu=o,uu=a}var bu=function(e){return du.reset(),lu(e,hu),2*du};function yu(e){return[zc(e[1],e[0]),Xc(e[2])]}function wu(e){var t=e[0],n=e[1],r=Bc(n);return[r*Bc(t),r*qc(t),qc(n)]}function xu(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Ou(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Su(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function ku(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function _u(e){var t=Gc(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var Eu,Cu,Mu,Tu,Au,ju,Ru,Lu,Nu,Pu,Iu=Ec(),$u={point:Du,lineStart:zu,lineEnd:Bu,polygonStart:function(){$u.point=Hu,$u.lineStart=Wu,$u.lineEnd=Uu,Iu.reset(),hu.polygonStart()},polygonEnd:function(){hu.polygonEnd(),$u.point=Du,$u.lineStart=zu,$u.lineEnd=Bu,fu<0?(Eu=-(Mu=180),Cu=-(Tu=90)):Iu>Ac?Tu=90:Iu<-1e-6&&(Cu=-90),Pu[0]=Eu,Pu[1]=Mu},sphere:function(){Eu=-(Mu=180),Cu=-(Tu=90)}};function Du(e,t){Nu.push(Pu=[Eu=e,Mu=e]),tTu&&(Tu=t)}function Fu(e,t){var n=wu([e*$c,t*$c]);if(Lu){var r=Ou(Lu,n),i=Ou([r[1],-r[0],0],r);_u(i),i=yu(i);var o,a=e-Au,s=a>0?1:-1,c=i[0]*Ic*s,u=Dc(a)>180;u^(s*AuTu&&(Tu=o):u^(s*Au<(c=(c+360)%360-180)&&cTu&&(Tu=t)),u?eVu(Eu,Mu)&&(Mu=e):Vu(e,Mu)>Vu(Eu,Mu)&&(Eu=e):Mu>=Eu?(eMu&&(Mu=e)):e>Au?Vu(Eu,e)>Vu(Eu,Mu)&&(Mu=e):Vu(e,Mu)>Vu(Eu,Mu)&&(Eu=e)}else Nu.push(Pu=[Eu=e,Mu=e]);tTu&&(Tu=t),Lu=n,Au=e}function zu(){$u.point=Fu}function Bu(){Pu[0]=Eu,Pu[1]=Mu,$u.point=Du,Lu=null}function Hu(e,t){if(Lu){var n=e-Au;Iu.add(Dc(n)>180?n+(n>0?360:-360):n)}else ju=e,Ru=t;hu.point(e,t),Fu(e,t)}function Wu(){hu.lineStart()}function Uu(){Hu(ju,Ru),hu.lineEnd(),Dc(Iu)>Ac&&(Eu=-(Mu=180)),Pu[0]=Eu,Pu[1]=Mu,Lu=null}function Vu(e,t){return(t-=e)<0?t+360:t}function qu(e,t){return e[0]-t[0]}function Ku(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tVu(r[0],r[1])&&(r[1]=i[1]),Vu(i[0],r[1])>Vu(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,t=0,r=o[n=o.length-1];t<=n;r=i,++t)i=o[t],(s=Vu(r[1],i[0]))>a&&(a=s,Eu=i[0],Mu=r[1])}return Nu=Pu=null,Eu===1/0||Cu===1/0?[[NaN,NaN],[NaN,NaN]]:[[Eu,Cu],[Mu,Tu]]},fl={sphere:Zc,point:dl,lineStart:pl,lineEnd:vl,polygonStart:function(){fl.lineStart=bl,fl.lineEnd=yl},polygonEnd:function(){fl.lineStart=pl,fl.lineEnd=vl}};function dl(e,t){e*=$c;var n=Bc(t*=$c);hl(n*Bc(e),n*qc(e),qc(t))}function hl(e,t,n){++Gu,Qu+=(e-Qu)/Gu,Xu+=(t-Xu)/Gu,Ju+=(n-Ju)/Gu}function pl(){fl.point=gl}function gl(e,t){e*=$c;var n=Bc(t*=$c);sl=n*Bc(e),cl=n*qc(e),ul=qc(t),fl.point=ml,hl(sl,cl,ul)}function ml(e,t){e*=$c;var n=Bc(t*=$c),r=n*Bc(e),i=n*qc(e),o=qc(t),a=zc(Gc((a=cl*o-ul*i)*a+(a=ul*r-sl*o)*a+(a=sl*i-cl*r)*a),sl*r+cl*i+ul*o);Yu+=a,Zu+=a*(sl+(sl=r)),el+=a*(cl+(cl=i)),tl+=a*(ul+(ul=o)),hl(sl,cl,ul)}function vl(){fl.point=dl}function bl(){fl.point=wl}function yl(){xl(ol,al),fl.point=dl}function wl(e,t){ol=e,al=t,e*=$c,t*=$c,fl.point=xl;var n=Bc(t);sl=n*Bc(e),cl=n*qc(e),ul=qc(t),hl(sl,cl,ul)}function xl(e,t){e*=$c;var n=Bc(t*=$c),r=n*Bc(e),i=n*qc(e),o=qc(t),a=cl*o-ul*i,s=ul*r-sl*o,c=sl*i-cl*r,u=Gc(a*a+s*s+c*c),l=Xc(u),f=u&&-l/u;nl+=f*a,rl+=f*s,il+=f*c,Yu+=l,Zu+=l*(sl+(sl=r)),el+=l*(cl+(cl=i)),tl+=l*(ul+(ul=o)),hl(sl,cl,ul)}var Ol=function(e){Gu=Yu=Qu=Xu=Ju=Zu=el=tl=nl=rl=il=0,lu(e,fl);var t=nl,n=rl,r=il,i=t*t+n*n+r*r;return iRc?e+Math.round(-e/Pc)*Pc:e,t]}function El(e,t,n){return(e%=Pc)?t||n?kl(Ml(e),Tl(t,n)):Ml(e):t||n?Tl(t,n):_l}function Cl(e){return function(t,n){return[(t+=e)>Rc?t-Pc:t<-Rc?t+Pc:t,n]}}function Ml(e){var t=Cl(e);return t.invert=Cl(-e),t}function Tl(e,t){var n=Bc(e),r=qc(e),i=Bc(t),o=qc(t);function a(e,t){var a=Bc(t),s=Bc(e)*a,c=qc(e)*a,u=qc(t),l=u*n+s*r;return[zc(c*i-l*o,s*n-u*r),Xc(l*i+c*o)]}return a.invert=function(e,t){var a=Bc(t),s=Bc(e)*a,c=qc(e)*a,u=qc(t),l=u*i-c*o;return[zc(c*i+u*o,s*n+l*r),Xc(l*n-s*r)]},a}_l.invert=_l;var Al=function(e){function t(t){return(t=e(t[0]*$c,t[1]*$c))[0]*=Ic,t[1]*=Ic,t}return e=El(e[0]*$c,e[1]*$c,e.length>2?e[2]*$c:0),t.invert=function(t){return(t=e.invert(t[0]*$c,t[1]*$c))[0]*=Ic,t[1]*=Ic,t},t};function jl(e,t,n,r,i,o){if(n){var a=Bc(t),s=qc(t),c=r*n;null==i?(i=t+r*Pc,o=t-c/2):(i=Rl(a,i),o=Rl(a,o),(r>0?io)&&(i+=r*Pc));for(var u,l=i;r>0?l>o:l1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},Pl=function(e,t){return Dc(e[0]-t[0])=0;--o)i.point((l=u[o])[0],l[1]);else r(d.x,d.p.x,-1,i);d=d.p}u=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}};function Dl(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r=0?1:-1,_=k*S,E=_>Rc,C=g*x;if(Fl.add(zc(C*k*qc(_),m*O+C*Bc(_))),a+=E?S+k*Pc:S,E^h>=n^y>=n){var M=Ou(wu(d),wu(b));_u(M);var T=Ou(o,M);_u(T);var A=(E^S>=0?-1:1)*Xc(T[2]);(r>A||r===A&&(M[0]||M[1]))&&(s+=E^S>=0?1:-1)}}return(a<-1e-6||a0){for(f||(i.polygonStart(),f=!0),i.lineStart(),e=0;e1&&2&c&&d.push(d.pop().concat(d.shift())),a.push(d.filter(Wl))}return d}};function Wl(e){return e.length>1}function Ul(e,t){return((e=e.x)[0]<0?e[1]-Lc-Ac:Lc-e[1])-((t=t.x)[0]<0?t[1]-Lc-Ac:Lc-t[1])}var Vl=Hl((function(){return!0}),(function(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(o,a){var s=o>0?Rc:-Rc,c=Dc(o-n);Dc(c-Rc)0?Lc:-Lc),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(o,r),t=0):i!==s&&c>=Rc&&(Dc(n-i)Ac?Fc((qc(t)*(o=Bc(r))*qc(n)-qc(r)*(i=Bc(t))*qc(e))/(i*o*a)):(t+r)/2}(n,r,o,a),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(s,r),t=0),e.point(n=o,r=a),i=s},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var i;if(null==e)i=n*Lc,r.point(-Rc,i),r.point(0,i),r.point(Rc,i),r.point(Rc,0),r.point(Rc,-i),r.point(0,-i),r.point(-Rc,-i),r.point(-Rc,0),r.point(-Rc,i);else if(Dc(e[0]-t[0])>Ac){var o=e[0]0,i=Dc(t)>Ac;function o(e,n){return Bc(e)*Bc(n)>t}function a(e,n,r){var i=[1,0,0],o=Ou(wu(e),wu(n)),a=xu(o,o),s=o[0],c=a-s*s;if(!c)return!r&&e;var u=t*a/c,l=-t*s/c,f=Ou(i,o),d=ku(i,u);Su(d,ku(o,l));var h=f,p=xu(d,h),g=xu(h,h),m=p*p-g*(xu(d,d)-1);if(!(m<0)){var v=Gc(m),b=ku(h,(-p-v)/g);if(Su(b,d),b=yu(b),!r)return b;var y,w=e[0],x=n[0],O=e[1],S=n[1];x0^b[1]<(Dc(b[0]-w)Rc^(w<=b[0]&&b[0]<=x)){var E=ku(h,(-p+v)/g);return Su(E,d),[b,yu(E)]}}}function s(t,n){var i=r?e:Rc-e,o=0;return t<-i?o|=1:t>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return Hl(o,(function(e){var t,n,c,u,l;return{lineStart:function(){u=c=!1,l=1},point:function(f,d){var h,p=[f,d],g=o(f,d),m=r?g?0:s(f,d):g?s(f+(f<0?Rc:-Rc),d):0;if(!t&&(u=c=g)&&e.lineStart(),g!==c&&(!(h=a(t,p))||Pl(t,h)||Pl(p,h))&&(p[2]=1),g!==c)l=0,g?(e.lineStart(),h=a(p,t),e.point(h[0],h[1])):(h=a(t,p),e.point(h[0],h[1],2),e.lineEnd()),t=h;else if(i&&t&&r^g){var v;m&n||!(v=a(p,t,!0))||(l=0,r?(e.lineStart(),e.point(v[0][0],v[0][1]),e.point(v[1][0],v[1][1]),e.lineEnd()):(e.point(v[1][0],v[1][1]),e.lineEnd(),e.lineStart(),e.point(v[0][0],v[0][1],3)))}!g||t&&Pl(t,p)||e.point(p[0],p[1]),t=p,c=g,n=m},lineEnd:function(){c&&e.lineEnd(),t=null},clean:function(){return l|(u&&c)<<1}}}),(function(t,r,i,o){jl(o,e,n,i,t,r)}),r?[0,-e]:[-Rc,e-Rc])},Kl=1e9,Gl=-Kl;function Yl(e,t,n,r){function i(i,o){return e<=i&&i<=n&&t<=o&&o<=r}function o(i,o,s,u){var l=0,f=0;if(null==i||(l=a(i,s))!==(f=a(o,s))||c(i,o)<0^s>0)do{u.point(0===l||3===l?e:n,l>1?r:t)}while((l=(l+s+4)%4)!==f);else u.point(o[0],o[1])}function a(r,i){return Dc(r[0]-e)0?0:3:Dc(r[0]-n)0?2:1:Dc(r[1]-t)0?1:0:i>0?3:2}function s(e,t){return c(e.x,t.x)}function c(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(a){var c,u,l,f,d,h,p,g,m,v,b,y=a,w=Nl(),x={point:O,lineStart:function(){x.point=S,u&&u.push(l=[]);v=!0,m=!1,p=g=NaN},lineEnd:function(){c&&(S(f,d),h&&m&&w.rejoin(),c.push(w.result()));x.point=O,m&&y.lineEnd()},polygonStart:function(){y=w,c=[],u=[],b=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,i=u.length;nr&&(d-o)*(r-a)>(h-a)*(e-o)&&++t:h<=r&&(d-o)*(r-a)<(h-a)*(e-o)&&--t;return t}(),n=b&&t,i=(c=D(c)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&$l(c,s,t,o,a),a.polygonEnd());y=a,c=u=l=null}};function O(e,t){i(e,t)&&y.point(e,t)}function S(o,a){var s=i(o,a);if(u&&l.push([o,a]),v)f=o,d=a,h=s,v=!1,s&&(y.lineStart(),y.point(o,a));else if(s&&m)y.point(o,a);else{var c=[p=Math.max(Gl,Math.min(Kl,p)),g=Math.max(Gl,Math.min(Kl,g))],w=[o=Math.max(Gl,Math.min(Kl,o)),a=Math.max(Gl,Math.min(Kl,a))];!function(e,t,n,r,i,o){var a,s=e[0],c=e[1],u=0,l=1,f=t[0]-s,d=t[1]-c;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>l)return;a>u&&(u=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>u&&(u=a)}else if(f>0){if(a0)){if(a/=d,d<0){if(a0){if(a>l)return;a>u&&(u=a)}if(a=o-c,d||!(a<0)){if(a/=d,d<0){if(a>l)return;a>u&&(u=a)}else if(d>0){if(a0&&(e[0]=s+u*f,e[1]=c+u*d),l<1&&(t[0]=s+l*f,t[1]=c+l*d),!0}}}}}(c,w,e,t,n,r)?s&&(y.lineStart(),y.point(o,a),b=!1):(m||(y.lineStart(),y.point(c[0],c[1])),y.point(w[0],w[1]),s||y.lineEnd(),b=!1)}p=o,g=a,m=s}return x}}var Ql,Xl,Jl,Zl=function(){var e,t,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return e&&t===n?e:e=Yl(r,i,o,a)(t=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],e=t=null,n):[[r,i],[o,a]]}}},ef=Ec(),tf={sphere:Zc,point:Zc,lineStart:function(){tf.point=rf,tf.lineEnd=nf},lineEnd:Zc,polygonStart:Zc,polygonEnd:Zc};function nf(){tf.point=tf.lineEnd=Zc}function rf(e,t){Ql=e*=$c,Xl=qc(t*=$c),Jl=Bc(t),tf.point=of}function of(e,t){e*=$c;var n=qc(t*=$c),r=Bc(t),i=Dc(e-Ql),o=Bc(i),a=r*qc(i),s=Jl*n-Xl*r*o,c=Xl*n+Jl*r*o;ef.add(zc(Gc(a*a+s*s),c)),Ql=e,Xl=n,Jl=r}var af=function(e){return ef.reset(),lu(e,tf),+ef},sf=[null,null],cf={type:"LineString",coordinates:sf},uf=function(e,t){return sf[0]=e,sf[1]=t,af(cf)},lf={Feature:function(e,t){return df(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r0&&(i=uf(e[o],e[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))Ac})).map(c)).concat(S(Hc(o/h)*h,i,h).filter((function(e){return Dc(e%g)>Ac})).map(u))}return v.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},v.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(f(a).slice(1),l(n).reverse().slice(1),f(s).reverse().slice(1))]}},v.extent=function(e){return arguments.length?v.extentMajor(e).extentMinor(e):v.extentMinor()},v.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),v.precision(m)):[[r,s],[n,a]]},v.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],o=+n[0][1],i=+n[1][1],t>e&&(n=t,t=e,e=n),o>i&&(n=o,o=i,i=n),v.precision(m)):[[t,o],[e,i]]},v.step=function(e){return arguments.length?v.stepMajor(e).stepMinor(e):v.stepMinor()},v.stepMajor=function(e){return arguments.length?(p=+e[0],g=+e[1],v):[p,g]},v.stepMinor=function(e){return arguments.length?(d=+e[0],h=+e[1],v):[d,h]},v.precision=function(d){return arguments.length?(m=+d,c=yf(o,i,90),u=wf(t,e,m),l=yf(s,a,90),f=wf(r,n,m),v):m},v.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Of(){return xf()()}var Sf,kf,_f,Ef,Cf=function(e,t){var n=e[0]*$c,r=e[1]*$c,i=t[0]*$c,o=t[1]*$c,a=Bc(r),s=qc(r),c=Bc(o),u=qc(o),l=a*Bc(n),f=a*qc(n),d=c*Bc(i),h=c*qc(i),p=2*Xc(Gc(Jc(o-r)+a*c*Jc(i-n))),g=qc(p),m=p?function(e){var t=qc(e*=p)/g,n=qc(p-e)/g,r=n*l+t*d,i=n*f+t*h,o=n*s+t*u;return[zc(i,r)*Ic,zc(o,Gc(r*r+i*i))*Ic]}:function(){return[n*Ic,r*Ic]};return m.distance=p,m},Mf=function(e){return e},Tf=Ec(),Af=Ec(),jf={point:Zc,lineStart:Zc,lineEnd:Zc,polygonStart:function(){jf.lineStart=Rf,jf.lineEnd=Pf},polygonEnd:function(){jf.lineStart=jf.lineEnd=jf.point=Zc,Tf.add(Dc(Af)),Af.reset()},result:function(){var e=Tf/2;return Tf.reset(),e}};function Rf(){jf.point=Lf}function Lf(e,t){jf.point=Nf,Sf=_f=e,kf=Ef=t}function Nf(e,t){Af.add(Ef*e-_f*t),_f=e,Ef=t}function Pf(){Nf(Sf,kf)}var If=jf,$f=1/0,Df=$f,Ff=-$f,zf=Ff;var Bf,Hf,Wf,Uf,Vf={point:function(e,t){e<$f&&($f=e);e>Ff&&(Ff=e);tzf&&(zf=t)},lineStart:Zc,lineEnd:Zc,polygonStart:Zc,polygonEnd:Zc,result:function(){var e=[[$f,Df],[Ff,zf]];return Ff=zf=-(Df=$f=1/0),e}},qf=0,Kf=0,Gf=0,Yf=0,Qf=0,Xf=0,Jf=0,Zf=0,ed=0,td={point:nd,lineStart:rd,lineEnd:ad,polygonStart:function(){td.lineStart=sd,td.lineEnd=cd},polygonEnd:function(){td.point=nd,td.lineStart=rd,td.lineEnd=ad},result:function(){var e=ed?[Jf/ed,Zf/ed]:Xf?[Yf/Xf,Qf/Xf]:Gf?[qf/Gf,Kf/Gf]:[NaN,NaN];return qf=Kf=Gf=Yf=Qf=Xf=Jf=Zf=ed=0,e}};function nd(e,t){qf+=e,Kf+=t,++Gf}function rd(){td.point=id}function id(e,t){td.point=od,nd(Wf=e,Uf=t)}function od(e,t){var n=e-Wf,r=t-Uf,i=Gc(n*n+r*r);Yf+=i*(Wf+e)/2,Qf+=i*(Uf+t)/2,Xf+=i,nd(Wf=e,Uf=t)}function ad(){td.point=nd}function sd(){td.point=ud}function cd(){ld(Bf,Hf)}function ud(e,t){td.point=ld,nd(Bf=Wf=e,Hf=Uf=t)}function ld(e,t){var n=e-Wf,r=t-Uf,i=Gc(n*n+r*r);Yf+=i*(Wf+e)/2,Qf+=i*(Uf+t)/2,Xf+=i,Jf+=(i=Uf*e-Wf*t)*(Wf+e),Zf+=i*(Uf+t),ed+=3*i,nd(Wf=e,Uf=t)}var fd=td;function dd(e){this._context=e}dd.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,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(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Pc)}},result:Zc};var hd,pd,gd,md,vd,bd=Ec(),yd={point:Zc,lineStart:function(){yd.point=wd},lineEnd:function(){hd&&xd(pd,gd),yd.point=Zc},polygonStart:function(){hd=!0},polygonEnd:function(){hd=null},result:function(){var e=+bd;return bd.reset(),e}};function wd(e,t){yd.point=xd,pd=md=e,gd=vd=t}function xd(e,t){md-=e,vd-=t,bd.add(Gc(md*md+vd*vd)),md=e,vd=t}var Od=yd;function Sd(){this._string=[]}function kd(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Sd.prototype={_radius:4.5,_circle:kd(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,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(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=kd(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var _d=function(e,t){var n,r,i=4.5;function o(e){return e&&("function"===typeof i&&r.pointRadius(+i.apply(this,arguments)),lu(e,n(r))),r.result()}return o.area=function(e){return lu(e,n(If)),If.result()},o.measure=function(e){return lu(e,n(Od)),Od.result()},o.bounds=function(e){return lu(e,n(Vf)),Vf.result()},o.centroid=function(e){return lu(e,n(fd)),fd.result()},o.projection=function(t){return arguments.length?(n=null==t?(e=null,Mf):(e=t).stream,o):e},o.context=function(e){return arguments.length?(r=null==e?(t=null,new Sd):new dd(t=e),"function"!==typeof i&&r.pointRadius(i),o):t},o.pointRadius=function(e){return arguments.length?(i="function"===typeof e?e:(r.pointRadius(+e),+e),o):i},o.projection(e).context(t)},Ed=function(e){return{stream:Cd(e)}};function Cd(e){return function(t){var n=new Md;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Md(){}function Td(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),lu(n,e.stream(Vf)),t(Vf.result()),null!=r&&e.clipExtent(r),e}function Ad(e,t,n){return Td(e,(function(n){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+t[0][0]+(r-o*(n[1][0]+n[0][0]))/2,s=+t[0][1]+(i-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([a,s])}),n)}function jd(e,t,n){return Ad(e,[[0,0],t],n)}function Rd(e,t,n){return Td(e,(function(n){var r=+t,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];e.scale(150*i).translate([o,a])}),n)}function Ld(e,t,n){return Td(e,(function(n){var r=+t,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([o,a])}),n)}Md.prototype={constructor:Md,point:function(e,t){this.stream.point(e,t)},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 Nd=Bc(30*$c),Pd=function(e,t){return+t?function(e,t){function n(r,i,o,a,s,c,u,l,f,d,h,p,g,m){var v=u-r,b=l-i,y=v*v+b*b;if(y>4*t&&g--){var w=a+d,x=s+h,O=c+p,S=Gc(w*w+x*x+O*O),k=Xc(O/=S),_=Dc(Dc(O)-1)t||Dc((v*T+b*A)/y-.5)>.3||a*d+s*h+c*p2?e[2]%360*$c:0,T()):[m*Ic,v*Ic,b*Ic]},C.angle=function(e){return arguments.length?(y=e%360*$c,T()):y*Ic},C.reflectX=function(e){return arguments.length?(w=e?-1:1,T()):w<0},C.reflectY=function(e){return arguments.length?(x=e?-1:1,T()):x<0},C.precision=function(e){return arguments.length?(a=Pd(s,E=e*e),A()):Gc(E)},C.fitExtent=function(e,t){return Ad(C,e,t)},C.fitSize=function(e,t){return jd(C,e,t)},C.fitWidth=function(e,t){return Rd(C,e,t)},C.fitHeight=function(e,t){return Ld(C,e,t)},function(){return t=e.apply(this,arguments),C.invert=t.invert&&M,T()}}function Bd(e){var t=0,n=Rc/3,r=zd(e),i=r(t,n);return i.parallels=function(e){return arguments.length?r(t=e[0]*$c,n=e[1]*$c):[t*Ic,n*Ic]},i}function Hd(e,t){var n=qc(e),r=(n+qc(t))/2;if(Dc(r)=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(e)},l.stream=function(n){return e&&t===n?e:e=function(e){var t=e.length;return{point:function(n,r){for(var i=-1;++i0?t<-Lc+Ac&&(t=-Lc+Ac):t>Lc-Ac&&(t=Lc-Ac);var n=i/Vc(th(t),r);return[n*qc(r*e),i-n*Bc(r*e)]}return o.invert=function(e,t){var n=i-t,o=Kc(r)*Gc(e*e+n*n),a=zc(e,Dc(n))*Kc(n);return n*r<0&&(a-=Rc*Kc(e)*Kc(n)),[a/r,2*Fc(Vc(i/o,1/r))-Lc]},o}var rh=function(){return Bd(nh).scale(109.5).parallels([30,30])};function ih(e,t){return[e,t]}ih.invert=ih;var oh=function(){return Fd(ih).scale(152.63)};function ah(e,t){var n=Bc(e),r=e===t?qc(e):(n-Bc(t))/(t-e),i=n/r+e;if(Dc(r)Ac&&--i>0);return[e/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var yh=function(){return Fd(bh).scale(175.295)};function wh(e,t){return[Bc(t)*qc(e),qc(t)]}wh.invert=Kd(Xc);var xh=function(){return Fd(wh).scale(249.5).clipAngle(90.000001)};function Oh(e,t){var n=Bc(t),r=1+Bc(e)*n;return[n*qc(e)/r,qc(t)/r]}Oh.invert=Kd((function(e){return 2*Fc(e)}));var Sh=function(){return Fd(Oh).scale(250).clipAngle(142)};function kh(e,t){return[Uc(Yc((Lc+t)/2)),-e]}kh.invert=function(e,t){return[-t,2*Fc(Wc(e))-Lc]};var _h=function(){var e=eh(kh),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)};function Eh(e,t){return e.parent===t.parent?1:2}function Ch(e,t){return e+t.x}function Mh(e,t){return Math.max(e,t.y)}var Th=function(){var e=Eh,t=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(t){var n=t.children;n?(t.x=function(e){return e.reduce(Ch,0)/e.length}(n),t.y=function(e){return 1+e.reduce(Mh,0)}(n)):(t.x=o?a+=e(t,o):0,t.y=0,o=t)}));var s=function(e){for(var t;t=e.children;)e=t[0];return e}(i),c=function(e){for(var t;t=e.children;)e=t[t.length-1];return e}(i),u=s.x-e(s,c)/2,l=c.x+e(c,s)/2;return i.eachAfter(r?function(e){e.x=(e.x-i.x)*t,e.y=(i.y-e.y)*n}:function(e){e.x=(e.x-u)/(l-u)*t,e.y=(1-(i.y?e.y/i.y:1))*n})}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i};function Ah(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function jh(e,t){var n,r,i,o,a,s=new Ph(e),c=+e.value&&(s.value=e.value),u=[s];for(null==t&&(t=Rh);n=u.pop();)if(c&&(n.value=+n.data.value),(i=t(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)u.push(r=n.children[o]=new Ph(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Nh)}function Rh(e){return e.children}function Lh(e){e.data=e.data.data}function Nh(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Ph(e){this.data=e,this.depth=this.height=0,this.parent=null}Ph.prototype=jh.prototype={constructor:Ph,count:function(){return this.eachAfter(Ah)},each:function(e){var t,n,r,i,o=this,a=[o];do{for(t=a.reverse(),a=[];o=t.pop();)if(e(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(t[n]);return this},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each((function(t){e.push(t)})),e},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return jh(this).eachBefore(Lh)}};var Ih=Array.prototype.slice;var $h=function(e){for(var t,n,r=0,i=(e=function(e){for(var t,n,r=e.length;r;)n=Math.random()*r--|0,t=e[r],e[r]=e[n],e[n]=t;return e}(Ih.call(e))).length,o=[];r0&&n*n>r*r+i*i}function Bh(e,t){for(var n=0;n(a*=a)?(r=(u+a-i)/(2*u),o=Math.sqrt(Math.max(0,a/u-r*r)),n.x=e.x-r*s-o*c,n.y=e.y-r*c+o*s):(r=(u+i-a)/(2*u),o=Math.sqrt(Math.max(0,i/u-r*r)),n.x=t.x+r*s-o*c,n.y=t.y+r*c+o*s)):(n.x=t.x+n.r,n.y=t.y)}function qh(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function Kh(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function Gh(e){this._=e,this.next=null,this.previous=null}function Yh(e){if(!(i=e.length))return 0;var t,n,r,i,o,a,s,c,u,l,f;if((t=e[0]).x=0,t.y=0,!(i>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(i>2))return t.r+n.r;Vh(n,t,r=e[2]),t=new Gh(t),n=new Gh(n),r=new Gh(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(s=3;s0)throw new Error("cycle");return o}return n.id=function(t){return arguments.length?(e=Jh(t),n):e},n.parentId=function(e){return arguments.length?(t=Jh(e),n):t},n};function pp(e,t){return e.parent===t.parent?1:2}function gp(e){var t=e.children;return t?t[0]:e.t}function mp(e){var t=e.children;return t?t[t.length-1]:e.t}function vp(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function bp(e,t,n){return e.a.parent===t.parent?e.a:n}function yp(e,t){this._=e,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=t}yp.prototype=Object.create(Ph.prototype);var wp=function(){var e=pp,t=1,n=1,r=null;function i(i){var c=function(e){for(var t,n,r,i,o,a=new yp(e,0),s=[a];t=s.pop();)if(r=t._.children)for(t.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=t.children[i]=new yp(r[i],i)),n.parent=t;return(a.parent=new yp(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(s);else{var u=i,l=i,f=i;i.eachBefore((function(e){e.xl.x&&(l=e),e.depth>f.depth&&(f=e)}));var d=u===l?1:e(u,l)/2,h=d-u.x,p=t/(l.x+d+h),g=n/(f.depth||1);i.eachBefore((function(e){e.x=(e.x+h)*p,e.y=e.depth*g}))}return i}function o(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,i=e.children,o=i.length;--o>=0;)(t=i[o]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var o=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-o):t.z=o}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,o=t,a=t,s=n,c=o.parent.children[0],u=o.m,l=a.m,f=s.m,d=c.m;s=mp(s),o=gp(o),s&&o;)c=gp(c),(a=mp(a)).a=t,(i=s.z+f-o.z-u+e(s._,o._))>0&&(vp(bp(s,t,r),t,i),u+=i,l+=i),f+=s.m,u+=o.m,d+=c.m,l+=a.m;s&&!mp(a)&&(a.t=s,a.m+=f-l),o&&!gp(c)&&(c.t=o,c.m+=u-d,r=t)}return r}(t,i,t.parent.A||r[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i},xp=function(e,t,n,r,i){for(var o,a=e.children,s=-1,c=a.length,u=e.value&&(i-n)/e.value;++sd&&(d=s),m=l*l*g,(h=Math.max(d/m,m/f))>p){l-=s;break}p=h}v.push(a={value:l,dice:c1?t:1)},n}(Op),_p=function(){var e=kp,t=!1,n=1,r=1,i=[0],o=Zh,a=Zh,s=Zh,c=Zh,u=Zh;function l(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(f),i=[0],t&&e.eachBefore(ap),e}function f(t){var n=i[t.depth],r=t.x0+n,l=t.y0+n,f=t.x1-n,d=t.y1-n;f=n-1){var l=s[t];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=c)}var f=u[t],d=r/2+f,h=t+1,p=n-1;for(;h>>1;u[g]c-o){var b=(i*v+a*m)/r;e(t,h,m,i,o,b,c),e(h,n,v,b,o,a,c)}else{var y=(o*v+c*m)/r;e(t,h,m,i,o,a,y),e(h,n,v,i,y,a,c)}}(0,c,e.value,t,n,r,i)},Cp=function(e,t,n,r,i){(1&e.depth?xp:sp)(e,t,n,r,i)},Mp=function e(t){function n(e,n,r,i,o){if((a=e._squarify)&&a.ratio===t)for(var a,s,c,u,l,f=-1,d=a.length,h=e.value;++f1?t:1)},n}(Op),Tp=function(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}},Ap=function(e,t){var n=hn(+e,+t);return function(e){var t=n(e);return t-360*Math.floor(t/360)}},jp=function(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}},Rp=Math.SQRT2;function Lp(e){return((e=Math.exp(e))+1/e)/2}var Np=function(e,t){var n,r,i=e[0],o=e[1],a=e[2],s=t[0],c=t[1],u=t[2],l=s-i,f=c-o,d=l*l+f*f;if(d<1e-12)r=Math.log(u/a)/Rp,n=function(e){return[i+e*l,o+e*f,a*Math.exp(Rp*e*r)]};else{var h=Math.sqrt(d),p=(u*u-a*a+4*d)/(2*a*2*h),g=(u*u-a*a-4*d)/(2*u*2*h),m=Math.log(Math.sqrt(p*p+1)-p),v=Math.log(Math.sqrt(g*g+1)-g);r=(v-m)/Rp,n=function(e){var t,n=e*r,s=Lp(m),c=a/(2*h)*(s*(t=Rp*n+m,((t=Math.exp(2*t))-1)/(t+1))-function(e){return((e=Math.exp(e))-1/e)/2}(m));return[i+c*l,o+c*f,a*s/Lp(Rp*n+m)]}}return n.duration=1e3*r,n};function Pp(e){return function(t,n){var r=e((t=on(t)).h,(n=on(n)).h),i=gn(t.s,n.s),o=gn(t.l,n.l),a=gn(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var Ip=Pp(hn),$p=Pp(gn);function Dp(e,t){var n=gn((e=Eo(e)).l,(t=Eo(t)).l),r=gn(e.a,t.a),i=gn(e.b,t.b),o=gn(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=i(t),e.opacity=o(t),e+""}}function Fp(e){return function(t,n){var r=e((t=No(t)).h,(n=No(n)).h),i=gn(t.c,n.c),o=gn(t.l,n.l),a=gn(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var zp=Fp(hn),Bp=Fp(gn);function Hp(e){return function t(n){function r(t,r){var i=e((t=qo(t)).h,(r=qo(r)).h),o=gn(t.s,r.s),a=gn(t.l,r.l),s=gn(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}var Wp=Hp(hn),Up=Hp(gn);function Vp(e,t){for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n1&&(t=e[o[a-2]],n=e[o[a-1]],r=e[s],(n[0]-t[0])*(r[1]-t[1])-(n[1]-t[1])*(r[0]-t[0])<=0);)--a;o[a++]=s}return o.slice(0,a)}var Xp=function(e){if((n=e.length)<3)return null;var t,n,r=new Array(n),i=new Array(n);for(t=0;t=0;--t)u.push(e[r[o[t]][2]]);for(t=+s;ts!==u>s&&a<(c-n)*(s-r)/(u-r)+n&&(l=!l),c=n,u=r;return l},Zp=function(e){for(var t,n,r=-1,i=e.length,o=e[i-1],a=o[0],s=o[1],c=0;++r1);return e+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(eg),rg=function e(t){function n(){var e=ng.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(eg),ig=function e(t){function n(e){return function(){for(var n=0,r=0;rr&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function Og(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i2?Sg:Og,i=o=null,f}function f(t){return isNaN(t=+t)?n:(i||(i=r(a.map(e),s,c)))(e(u(t)))}return f.invert=function(n){return u(t((o||(o=r(s,a.map(e),_n)))(n)))},f.domain=function(e){return arguments.length?(a=lg.call(e,vg),u===yg||(u=xg(a)),l()):a.slice()},f.range=function(e){return arguments.length?(s=fg.call(e),l()):s.slice()},f.rangeRound=function(e){return s=fg.call(e),c=jp,l()},f.clamp=function(e){return arguments.length?(u=e?xg(a):yg,f):u!==yg},f.interpolate=function(e){return arguments.length?(c=e,l()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,l()}}function Eg(e,t){return _g()(e,t)}var Cg=function(e,t,n,r){var i,o=T(e,t,n);switch((r=lc(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=kc(o,a))||(r.precision=i),gc(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=_c(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Sc(o))||(r.precision=i-2*("%"===r.type))}return pc(r)};function Mg(e){var t=e.domain;return e.ticks=function(e){var n=t();return C(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Cg(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i=t(),o=0,a=i.length-1,s=i[o],c=i[a];return c0?r=M(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=M(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(c/r)*r,t(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(c*r)/r,t(i)),e},e}function Tg(){var e=Eg(yg,yg);return e.copy=function(){return kg(e,Tg())},sg.apply(e,arguments),Mg(e)}function Ag(e){var t;function n(e){return isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=lg.call(t,vg),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Ag(e).unknown(t)},e=arguments.length?lg.call(e,vg):[0,1],Mg(n)}var jg=function(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a0){for(;dc)break;g.push(f)}}else for(;d=1;--l)if(!((f=u*l)c)break;g.push(f)}}else g=C(d,h,Math.min(h-d,p)).map(n);return r?g.reverse():g},r.tickFormat=function(e,i){if(null==i&&(i=10===o?".0e":","),"function"!==typeof i&&(i=pc(i)),e===1/0)return i;null==e&&(e=10);var a=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o0?r[i-1]:t[0],i=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Xg().domain([t,n]).range(o).unknown(e)},sg.apply(Mg(a),arguments)}function Jg(){var e,t=[.5],n=[0,1],r=1;function i(i){return i<=i?n[u(t,i,0,r)]:e}return i.domain=function(e){return arguments.length?(t=fg.call(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=fg.call(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Jg().domain(t).range(n).unknown(e)},sg.apply(i,arguments)}var Zg=new Date,em=new Date;function tm(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return Zg.setTime(+t),em.setTime(+r),e(Zg),e(em),Math.floor(n(Zg,em))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var nm=tm((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));nm.every=function(e){return isFinite(e=Math.floor(e))&&e>0?tm((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var rm=nm,im=nm.range,om=tm((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})),am=om,sm=om.range,cm=1e3,um=6e4,lm=36e5,fm=864e5,dm=6048e5;function hm(e){return tm((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*um)/dm}))}var pm=hm(0),gm=hm(1),mm=hm(2),vm=hm(3),bm=hm(4),ym=hm(5),wm=hm(6),xm=pm.range,Om=gm.range,Sm=mm.range,km=vm.range,_m=bm.range,Em=ym.range,Cm=wm.range,Mm=tm((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*um)/fm}),(function(e){return e.getDate()-1})),Tm=Mm,Am=Mm.range,jm=tm((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*cm-e.getMinutes()*um)}),(function(e,t){e.setTime(+e+t*lm)}),(function(e,t){return(t-e)/lm}),(function(e){return e.getHours()})),Rm=jm,Lm=jm.range,Nm=tm((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*cm)}),(function(e,t){e.setTime(+e+t*um)}),(function(e,t){return(t-e)/um}),(function(e){return e.getMinutes()})),Pm=Nm,Im=Nm.range,$m=tm((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*cm)}),(function(e,t){return(t-e)/cm}),(function(e){return e.getUTCSeconds()})),Dm=$m,Fm=$m.range,zm=tm((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));zm.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?tm((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):zm:null};var Bm=zm,Hm=zm.range;function Wm(e){return tm((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/dm}))}var Um=Wm(0),Vm=Wm(1),qm=Wm(2),Km=Wm(3),Gm=Wm(4),Ym=Wm(5),Qm=Wm(6),Xm=Um.range,Jm=Vm.range,Zm=qm.range,ev=Km.range,tv=Gm.range,nv=Ym.range,rv=Qm.range,iv=tm((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/fm}),(function(e){return e.getUTCDate()-1})),ov=iv,av=iv.range,sv=tm((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));sv.every=function(e){return isFinite(e=Math.floor(e))&&e>0?tm((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var cv=sv,uv=sv.range;function lv(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function fv(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function dv(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function hv(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,u=_v(i),l=Ev(i),f=_v(o),d=Ev(o),h=_v(a),p=Ev(a),g=_v(s),m=Ev(s),v=_v(c),b=Ev(c),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Kv,e:Kv,f:Jv,g:ub,G:fb,H:Gv,I:Yv,j:Qv,L:Xv,m:Zv,M:eb,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Nb,s:Pb,S:tb,u:nb,U:rb,V:ob,w:ab,W:sb,x:null,X:null,y:cb,Y:lb,Z:db,"%":Lb},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:hb,e:hb,f:bb,g:Tb,G:jb,H:pb,I:gb,j:mb,L:vb,m:yb,M:wb,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Nb,s:Pb,S:xb,u:Ob,U:Sb,V:_b,w:Eb,W:Cb,x:null,X:null,y:Mb,Y:Ab,Z:Rb,"%":Lb},x={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:$v,e:$v,f:Wv,g:Lv,G:Rv,H:Fv,I:Fv,j:Dv,L:Hv,m:Iv,M:zv,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=l[r[0].toLowerCase()],n+r[0].length):-1},q:Pv,Q:Vv,s:qv,S:Bv,u:Mv,U:Tv,V:Av,w:Cv,W:jv,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:Lv,Y:Rv,Z:Nv,"%":Uv};function O(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=fv(dv(o.y,0,1))).getUTCDay(),r=i>4||0===i?Vm.ceil(r):Vm(r),r=ov.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=lv(dv(o.y,0,1))).getDay(),r=i>4||0===i?gm.ceil(r):gm(r),r=Tm.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?fv(dv(o.y,0,1)).getUTCDay():lv(dv(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,fv(o)):lv(o)}}function k(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in yv?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=O(n,y),y.X=O(r,y),y.c=O(t,y),w.x=O(n,w),w.X=O(r,w),w.c=O(t,w),{format:function(e){var t=O(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}var pv,gv,mv,vv,bv,yv={"-":"",_:" ",0:"0"},wv=/^\s*\d+/,xv=/^%/,Ov=/[\\^$*+?|[\]().{}]/g;function Sv(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function Nv(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Pv(e,t,n){var r=wv.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Iv(e,t,n){var r=wv.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function $v(e,t,n){var r=wv.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Dv(e,t,n){var r=wv.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Fv(e,t,n){var r=wv.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function zv(e,t,n){var r=wv.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Bv(e,t,n){var r=wv.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Hv(e,t,n){var r=wv.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Wv(e,t,n){var r=wv.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Uv(e,t,n){var r=xv.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Vv(e,t,n){var r=wv.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function qv(e,t,n){var r=wv.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Kv(e,t){return Sv(e.getDate(),t,2)}function Gv(e,t){return Sv(e.getHours(),t,2)}function Yv(e,t){return Sv(e.getHours()%12||12,t,2)}function Qv(e,t){return Sv(1+Tm.count(rm(e),e),t,3)}function Xv(e,t){return Sv(e.getMilliseconds(),t,3)}function Jv(e,t){return Xv(e,t)+"000"}function Zv(e,t){return Sv(e.getMonth()+1,t,2)}function eb(e,t){return Sv(e.getMinutes(),t,2)}function tb(e,t){return Sv(e.getSeconds(),t,2)}function nb(e){var t=e.getDay();return 0===t?7:t}function rb(e,t){return Sv(pm.count(rm(e)-1,e),t,2)}function ib(e){var t=e.getDay();return t>=4||0===t?bm(e):bm.ceil(e)}function ob(e,t){return e=ib(e),Sv(bm.count(rm(e),e)+(4===rm(e).getDay()),t,2)}function ab(e){return e.getDay()}function sb(e,t){return Sv(gm.count(rm(e)-1,e),t,2)}function cb(e,t){return Sv(e.getFullYear()%100,t,2)}function ub(e,t){return Sv((e=ib(e)).getFullYear()%100,t,2)}function lb(e,t){return Sv(e.getFullYear()%1e4,t,4)}function fb(e,t){var n=e.getDay();return Sv((e=n>=4||0===n?bm(e):bm.ceil(e)).getFullYear()%1e4,t,4)}function db(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Sv(t/60|0,"0",2)+Sv(t%60,"0",2)}function hb(e,t){return Sv(e.getUTCDate(),t,2)}function pb(e,t){return Sv(e.getUTCHours(),t,2)}function gb(e,t){return Sv(e.getUTCHours()%12||12,t,2)}function mb(e,t){return Sv(1+ov.count(cv(e),e),t,3)}function vb(e,t){return Sv(e.getUTCMilliseconds(),t,3)}function bb(e,t){return vb(e,t)+"000"}function yb(e,t){return Sv(e.getUTCMonth()+1,t,2)}function wb(e,t){return Sv(e.getUTCMinutes(),t,2)}function xb(e,t){return Sv(e.getUTCSeconds(),t,2)}function Ob(e){var t=e.getUTCDay();return 0===t?7:t}function Sb(e,t){return Sv(Um.count(cv(e)-1,e),t,2)}function kb(e){var t=e.getUTCDay();return t>=4||0===t?Gm(e):Gm.ceil(e)}function _b(e,t){return e=kb(e),Sv(Gm.count(cv(e),e)+(4===cv(e).getUTCDay()),t,2)}function Eb(e){return e.getUTCDay()}function Cb(e,t){return Sv(Vm.count(cv(e)-1,e),t,2)}function Mb(e,t){return Sv(e.getUTCFullYear()%100,t,2)}function Tb(e,t){return Sv((e=kb(e)).getUTCFullYear()%100,t,2)}function Ab(e,t){return Sv(e.getUTCFullYear()%1e4,t,4)}function jb(e,t){var n=e.getUTCDay();return Sv((e=n>=4||0===n?Gm(e):Gm.ceil(e)).getUTCFullYear()%1e4,t,4)}function Rb(){return"+0000"}function Lb(){return"%"}function Nb(e){return+e}function Pb(e){return Math.floor(+e/1e3)}function Ib(e){return pv=hv(e),gv=pv.format,mv=pv.parse,vv=pv.utcFormat,bv=pv.utcParse,pv}Ib({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 $b=1e3,Db=6e4,Fb=36e5,zb=864e5,Bb=2592e6,Hb=31536e6;function Wb(e){return new Date(e)}function Ub(e){return e instanceof Date?+e:+new Date(+e)}function Vb(e,t,n,r,i,a,s,c,u){var l=Eg(yg,yg),f=l.invert,d=l.domain,h=u(".%L"),p=u(":%S"),g=u("%I:%M"),m=u("%I %p"),v=u("%a %d"),b=u("%b %d"),y=u("%B"),w=u("%Y"),x=[[s,1,$b],[s,5,5e3],[s,15,15e3],[s,30,3e4],[a,1,Db],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,Fb],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,zb],[r,2,1728e5],[n,1,6048e5],[t,1,Bb],[t,3,7776e6],[e,1,Hb]];function O(o){return(s(o)1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Lw.h=360*e-100,Lw.s=1.5-1.5*t,Lw.l=.8-.9*t,Lw+""},Pw=Xt(),Iw=Math.PI/3,$w=2*Math.PI/3,Dw=function(e){var t;return e=(.5-e)*Math.PI,Pw.r=255*(t=Math.sin(e))*t,Pw.g=255*(t=Math.sin(e+Iw))*t,Pw.b=255*(t=Math.sin(e+$w))*t,Pw+""},Fw=function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"};function zw(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Bw=zw(vy("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Hw=zw(vy("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Ww=zw(vy("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Uw=zw(vy("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),Vw=function(e){return kt(it(e).call(document.documentElement))},qw=0;function Kw(){return new Gw}function Gw(){this._="@"+(++qw).toString(36)}Gw.prototype=Kw.prototype={constructor:Gw,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var Yw=function(e){return"string"===typeof e?new xt([document.querySelectorAll(e)],[document.documentElement]):new xt([null==e?[]:e],wt)},Qw=function(e,t){null==t&&(t=Ln().touches);for(var n=0,r=t?t.length:0,i=new Array(r);n1?0:e<-1?ax:Math.acos(e)}function lx(e){return e>=1?sx:e<=-1?-sx:Math.asin(e)}function fx(e){return e.innerRadius}function dx(e){return e.outerRadius}function hx(e){return e.startAngle}function px(e){return e.endAngle}function gx(e){return e&&e.padAngle}function mx(e,t,n,r,i,o,a,s){var c=n-e,u=r-t,l=a-i,f=s-o,d=f*c-l*u;if(!(d*dA*A+j*j&&(k=E,_=C),{cx:k,cy:_,x01:-l,y01:-f,x11:k*(i/x-1),y11:_*(i/x-1)}}var bx=function(){var e=fx,t=dx,n=Xw(0),r=null,i=hx,o=px,a=gx,s=null;function c(){var c,u,l=+e.apply(this,arguments),f=+t.apply(this,arguments),d=i.apply(this,arguments)-sx,h=o.apply(this,arguments)-sx,p=Jw(h-d),g=h>d;if(s||(s=c=Ki()),fox)if(p>cx-ox)s.moveTo(f*ex(d),f*rx(d)),s.arc(0,0,f,d,h,!g),l>ox&&(s.moveTo(l*ex(h),l*rx(h)),s.arc(0,0,l,h,d,g));else{var m,v,b=d,y=h,w=d,x=h,O=p,S=p,k=a.apply(this,arguments)/2,_=k>ox&&(r?+r.apply(this,arguments):ix(l*l+f*f)),E=nx(Jw(f-l)/2,+n.apply(this,arguments)),C=E,M=E;if(_>ox){var T=lx(_/l*rx(k)),A=lx(_/f*rx(k));(O-=2*T)>ox?(w+=T*=g?1:-1,x-=T):(O=0,w=x=(d+h)/2),(S-=2*A)>ox?(b+=A*=g?1:-1,y-=A):(S=0,b=y=(d+h)/2)}var j=f*ex(b),R=f*rx(b),L=l*ex(x),N=l*rx(x);if(E>ox){var P,I=f*ex(y),$=f*rx(y),D=l*ex(w),F=l*rx(w);if(pox?M>ox?(m=vx(D,F,j,R,f,M,g),v=vx(I,$,L,N,f,M,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),Mox&&O>ox?C>ox?(m=vx(L,N,I,$,l,-C,g),v=vx(j,R,D,F,l,-C,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),C=l;--f)s.point(m[f],v[f]);s.lineEnd(),s.areaEnd()}g&&(m[u]=+e(d,u,c),v[u]=+n(d,u,c),s.point(t?+t(d,u,c):m[u],r?+r(d,u,c):v[u]))}if(h)return s=null,h+""||null}function u(){return Sx().defined(i).curve(a).context(o)}return c.x=function(n){return arguments.length?(e="function"===typeof n?n:Xw(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"===typeof t?t:Xw(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:Xw(+e),c):t},c.y=function(e){return arguments.length?(n="function"===typeof e?e:Xw(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"===typeof e?e:Xw(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Xw(+e),c):r},c.lineX0=c.lineY0=function(){return u().x(e).y(n)},c.lineY1=function(){return u().x(e).y(r)},c.lineX1=function(){return u().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"===typeof e?e:Xw(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),c):o},c},_x=function(e,t){return te?1:t>=e?0:NaN},Ex=function(e){return e},Cx=function(){var e=Ex,t=_x,n=null,r=Xw(0),i=Xw(cx),o=Xw(0);function a(a){var s,c,u,l,f,d=a.length,h=0,p=new Array(d),g=new Array(d),m=+r.apply(this,arguments),v=Math.min(cx,Math.max(-cx,i.apply(this,arguments)-m)),b=Math.min(Math.abs(v)/d,o.apply(this,arguments)),y=b*(v<0?-1:1);for(s=0;s0&&(h+=f);for(null!=t?p.sort((function(e,n){return t(g[e],g[n])})):null!=n&&p.sort((function(e,t){return n(a[e],a[t])})),s=0,u=h?(v-d*y)/h:0;s0?f*u:0)+y,g[c]={data:a[c],index:s,value:f,startAngle:m,endAngle:l,padAngle:b};return g}return a.value=function(t){return arguments.length?(e="function"===typeof t?t:Xw(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"===typeof e?e:Xw(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"===typeof e?e:Xw(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"===typeof e?e:Xw(+e),a):o},a},Mx=Ax(wx);function Tx(e){this._curve=e}function Ax(e){function t(t){return new Tx(e(t))}return t._curve=e,t}function jx(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(Ax(e)):t()._curve},e}Tx.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var Rx=function(){return jx(Sx().curve(Mx))},Lx=function(){var e=kx().curve(Mx),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,o=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return jx(n())},delete e.lineX0,e.lineEndAngle=function(){return jx(r())},delete e.lineX1,e.lineInnerRadius=function(){return jx(i())},delete e.lineY0,e.lineOuterRadius=function(){return jx(o())},delete e.lineY1,e.curve=function(e){return arguments.length?t(Ax(e)):t()._curve},e},Nx=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},Px=Array.prototype.slice;function Ix(e){return e.source}function $x(e){return e.target}function Dx(e){var t=Ix,n=$x,r=xx,i=Ox,o=null;function a(){var a,s=Px.call(arguments),c=t.apply(this,s),u=n.apply(this,s);if(o||(o=a=Ki()),e(o,+r.apply(this,(s[0]=c,s)),+i.apply(this,s),+r.apply(this,(s[0]=u,s)),+i.apply(this,s)),a)return o=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(r="function"===typeof e?e:Xw(+e),a):r},a.y=function(e){return arguments.length?(i="function"===typeof e?e:Xw(+e),a):i},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a}function Fx(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function zx(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function Bx(e,t,n,r,i){var o=Nx(t,n),a=Nx(t,n=(n+i)/2),s=Nx(r,n),c=Nx(r,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],c[0],c[1])}function Hx(){return Dx(Fx)}function Wx(){return Dx(zx)}function Ux(){var e=Dx(Bx);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var Vx={draw:function(e,t){var n=Math.sqrt(t/ax);e.moveTo(n,0),e.arc(0,0,n,0,cx)}},qx={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Kx=Math.sqrt(1/3),Gx=2*Kx,Yx={draw:function(e,t){var n=Math.sqrt(t/Gx),r=n*Kx;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Qx=Math.sin(ax/10)/Math.sin(7*ax/10),Xx=Math.sin(cx/10)*Qx,Jx=-Math.cos(cx/10)*Qx,Zx={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Xx*n,i=Jx*n;e.moveTo(0,-n),e.lineTo(r,i);for(var o=1;o<5;++o){var a=cx*o/5,s=Math.cos(a),c=Math.sin(a);e.lineTo(c*n,-s*n),e.lineTo(s*r-c*i,c*r+s*i)}e.closePath()}},eO={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},tO=Math.sqrt(3),nO={draw:function(e,t){var n=-Math.sqrt(t/(3*tO));e.moveTo(0,2*n),e.lineTo(-tO*n,-n),e.lineTo(tO*n,-n),e.closePath()}},rO=-.5,iO=Math.sqrt(3)/2,oO=1/Math.sqrt(12),aO=3*(oO/2+1),sO={draw:function(e,t){var n=Math.sqrt(t/aO),r=n/2,i=n*oO,o=r,a=n*oO+n,s=-o,c=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,c),e.lineTo(rO*r-iO*i,iO*r+rO*i),e.lineTo(rO*o-iO*a,iO*o+rO*a),e.lineTo(rO*s-iO*c,iO*s+rO*c),e.lineTo(rO*r+iO*i,rO*i-iO*r),e.lineTo(rO*o+iO*a,rO*a-iO*o),e.lineTo(rO*s+iO*c,rO*c-iO*s),e.closePath()}},cO=[Vx,qx,Yx,eO,Zx,nO,sO],uO=function(){var e=Xw(Vx),t=Xw(64),n=null;function r(){var r;if(n||(n=r=Ki()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"===typeof t?t:Xw(t),r):e},r.size=function(e){return arguments.length?(t="function"===typeof e?e:Xw(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},lO=function(){};function fO(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function dO(e){this._context=e}dO.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:fO(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:fO(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var hO=function(e){return new dO(e)};function pO(e){this._context=e}pO.prototype={areaStart:lO,areaEnd:lO,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:fO(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var gO=function(e){return new pO(e)};function mO(e){this._context=e}mO.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:fO(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var vO=function(e){return new mO(e)};function bO(e,t){this._basis=new dO(e),this._beta=t}bO.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(i+r*a),this._beta*t[c]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var yO=function e(t){function n(e){return 1===t?new dO(e):new bO(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function wO(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function xO(e,t){this._context=e,this._k=(1-t)/6}xO.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:wO(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:wO(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var OO=function e(t){function n(e){return new xO(e,t)}return n.tension=function(t){return e(+t)},n}(0);function SO(e,t){this._context=e,this._k=(1-t)/6}SO.prototype={areaStart:lO,areaEnd:lO,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:wO(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var kO=function e(t){function n(e){return new SO(e,t)}return n.tension=function(t){return e(+t)},n}(0);function _O(e,t){this._context=e,this._k=(1-t)/6}_O.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(e,t){switch(e=+e,t=+t,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:wO(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var EO=function e(t){function n(e){return new _O(e,t)}return n.tension=function(t){return e(+t)},n}(0);function CO(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>ox){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>ox){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,l=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*u+e._x1*e._l23_2a-t*e._l12_2a)/l,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/l}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function MO(e,t){this._context=e,this._alpha=t}MO.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:CO(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var TO=function e(t){function n(e){return t?new MO(e,t):new xO(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function AO(e,t){this._context=e,this._alpha=t}AO.prototype={areaStart:lO,areaEnd:lO,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:CO(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var jO=function e(t){function n(e){return t?new AO(e,t):new SO(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function RO(e,t){this._context=e,this._alpha=t}RO.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+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:CO(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var LO=function e(t){function n(e){return t?new RO(e,t):new _O(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function NO(e){this._context=e}NO.prototype={areaStart:lO,areaEnd:lO,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var PO=function(e){return new NO(e)};function IO(e){return e<0?-1:1}function $O(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(IO(o)+IO(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function DO(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function FO(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function zO(e){this._context=e}function BO(e){this._context=new HO(e)}function HO(e){this._context=e}function WO(e){return new zO(e)}function UO(e){return new BO(e)}function VO(e){this._context=e}function qO(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var YO=function(e){return new GO(e,.5)};function QO(e){return new GO(e,0)}function XO(e){return new GO(e,1)}var JO=function(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o=0;)n[t]=t;return n};function eS(e,t){return e[t]}var tS=function(){var e=Xw([]),t=ZO,n=JO,r=eS;function i(i){var o,a,s=e.apply(this,arguments),c=i.length,u=s.length,l=new Array(u);for(o=0;o0){for(var n,r,i,o=0,a=e[0].length;o0)for(var n,r,i,o,a,s,c=0,u=e[t[0]].length;c0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},iS=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;ao&&(o=t,r=n);return r}var cS=function(e){var t=e.map(uS);return ZO(e).sort((function(e,n){return t[e]-t[n]}))};function uS(e){for(var t,n=0,r=-1,i=e.length;++r0)){if(o/=d,d<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=r-c,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o0)){if(o/=h,h<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=i-u,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o0||f<1)||(l>0&&(e[0]=[c+l*d,u+l*h]),f<1&&(e[1]=[c+f*d,u+f*h]),!0)}}}}}function AS(e,t,n,r,i){var o=e[1];if(o)return!0;var a,s,c=e[0],u=e.left,l=e.right,f=u[0],d=u[1],h=l[0],p=l[1],g=(f+h)/2,m=(d+p)/2;if(p===d){if(g=r)return;if(f>h){if(c){if(c[1]>=i)return}else c=[g,n];o=[g,i]}else{if(c){if(c[1]1)if(f>h){if(c){if(c[1]>=i)return}else c=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(c){if(c[1]=r)return}else c=[t,a*t+s];o=[r,a*r+s]}else{if(c){if(c[0]=-JS)){var h=c*c+u*u,p=l*l+f*f,g=(f*h-u*p)/d,m=(c*p-l*h)/d,v=PS.pop()||new IS;v.arc=e,v.site=i,v.x=g+a,v.y=(v.cy=m+s)+Math.sqrt(g*g+m*m),e.circle=v;for(var b=null,y=YS._;y;)if(v.yXS)s=s.L;else{if(!((i=o-qS(s,a))>XS)){r>-XS?(t=s.P,n=s):i>-XS?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}!function(e){GS[e.index]={site:e,halfedges:[]}}(e);var c=BS(e);if(KS.insert(t,c),t||n){if(t===n)return DS(t),n=BS(t.site),KS.insert(c,n),c.edge=n.edge=ES(t.site,c.site),$S(t),void $S(n);if(n){DS(t),DS(n);var u=t.site,l=u[0],f=u[1],d=e[0]-l,h=e[1]-f,p=n.site,g=p[0]-l,m=p[1]-f,v=2*(d*m-h*g),b=d*d+h*h,y=g*g+m*m,w=[(m*b-h*y)/v+l,(d*y-g*b)/v+f];MS(n.edge,u,p,w),c.edge=ES(u,e,null,w),n.edge=ES(e,p,null,w),$S(t),$S(n)}else c.edge=ES(t.site,c.site)}}function VS(e,t){var n=e.site,r=n[0],i=n[1],o=i-t;if(!o)return r;var a=e.P;if(!a)return-1/0;var s=(n=a.site)[0],c=n[1],u=c-t;if(!u)return s;var l=s-r,f=1/o-1/u,d=l/u;return f?(-d+Math.sqrt(d*d-2*f*(l*l/(-2*u)-c+u/2+i-o/2)))/f+r:(r+s)/2}function qS(e,t){var n=e.N;if(n)return VS(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var KS,GS,YS,QS,XS=1e-6,JS=1e-12;function ZS(e,t){return t[1]-e[1]||t[0]-e[0]}function ek(e,t){var n,r,i,o=e.sort(ZS).pop();for(QS=[],GS=new Array(e.length),KS=new _S,YS=new _S;;)if(i=NS,o&&(!i||o[1]XS||Math.abs(i[0][1]-i[1][1])>XS)||delete QS[o]}(a,s,c,u),function(e,t,n,r){var i,o,a,s,c,u,l,f,d,h,p,g,m=GS.length,v=!0;for(i=0;iXS||Math.abs(g-d)>XS)&&(c.splice(s,0,QS.push(CS(a,h,Math.abs(p-e)XS?[e,Math.abs(f-e)XS?[Math.abs(d-r)XS?[n,Math.abs(f-n)XS?[Math.abs(d-t)=s)return null;var c=e-i.site[0],u=t-i.site[1],l=c*c+u*u;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var c=e-s[0],u=t-s[1],f=c*c+u*u;fr?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var gk=function(){var e,t,n=uk,r=lk,i=pk,o=dk,a=hk,s=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,l=Np,f=de("start","zoom","end"),d=500,h=0;function p(e){e.property("__zoom",fk).on("wheel.zoom",x).on("mousedown.zoom",O).on("dblclick.zoom",S).filter(a).on("touchstart.zoom",k).on("touchmove.zoom",_).on("touchend.zoom touchcancel.zoom",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(e,t){return(t=Math.max(s[0],Math.min(s[1],t)))===e.k?e:new ik(t,e.x,e.y)}function m(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new ik(e.k,r,i)}function v(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function b(e,t,n){e.on("start.zoom",(function(){y(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){y(this,arguments).end()})).tween("zoom",(function(){var e=this,i=arguments,o=y(e,i),a=r.apply(e,i),s=null==n?v(a):"function"===typeof n?n.apply(e,i):n,c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),u=e.__zoom,f="function"===typeof t?t.apply(e,i):t,d=l(u.invert(s).concat(c/u.k),f.invert(s).concat(c/f.k));return function(e){if(1===e)e=f;else{var t=d(e),n=c/t[2];e=new ik(n,s[0]-t[0]*n,s[1]-t[1]*n)}o.zoom(null,e)}}))}function y(e,t,n){return!n&&e.__zooming||new w(e,t)}function w(e,t){this.that=e,this.args=t,this.active=0,this.extent=r.apply(e,t),this.taps=0}function x(){if(n.apply(this,arguments)){var e=y(this,arguments),t=this.__zoom,r=Math.max(s[0],Math.min(s[1],t.k*Math.pow(2,o.apply(this,arguments)))),a=In(this);if(e.wheel)e.mouse[0][0]===a[0]&&e.mouse[0][1]===a[1]||(e.mouse[1]=t.invert(e.mouse[0]=a)),clearTimeout(e.wheel);else{if(t.k===r)return;e.mouse=[a,t.invert(a)],lr(this),e.start()}ck(),e.wheel=setTimeout(u,150),e.zoom("mouse",i(m(g(t,r),e.mouse[0],e.mouse[1]),e.extent,c))}function u(){e.wheel=null,e.end()}}function O(){if(!t&&n.apply(this,arguments)){var e=y(this,arguments,!0),r=kt(lt.view).on("mousemove.zoom",u,!0).on("mouseup.zoom",l,!0),o=In(this),a=lt.clientX,s=lt.clientY;Ct(lt.view),sk(),e.mouse=[o,this.__zoom.invert(o)],lr(this),e.start()}function u(){if(ck(),!e.moved){var t=lt.clientX-a,n=lt.clientY-s;e.moved=t*t+n*n>h}e.zoom("mouse",i(m(e.that.__zoom,e.mouse[0]=In(e.that),e.mouse[1]),e.extent,c))}function l(){r.on("mousemove.zoom mouseup.zoom",null),Mt(lt.view,e.moved),ck(),e.end()}}function S(){if(n.apply(this,arguments)){var e=this.__zoom,t=In(this),o=e.invert(t),a=e.k*(lt.shiftKey?.5:2),s=i(m(g(e,a),t,o),r.apply(this,arguments),c);ck(),u>0?kt(this).transition().duration(u).call(b,s,t):kt(this).call(p.transform,s)}}function k(){if(n.apply(this,arguments)){var t,r,i,o,a=lt.touches,s=a.length,c=y(this,arguments,lt.changedTouches.length===s);for(sk(),r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(20),i=n(21);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=(0,r(n(22)).default)(o.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.default=a},function(e,t,n){"use strict";var r=n(9),i=n(5),o=n(1),a=(n(12),n(8)),s=n(29),c=n(11),u=n(849),l=n(248),f=n(18),d=o.forwardRef((function(e,t){var n=e.classes,s=e.className,c=e.delay,d=void 0===c?0:c,h=e.FabProps,p=void 0===h?{}:h,g=e.icon,m=e.id,v=e.open,b=e.TooltipClasses,y=e.tooltipOpen,w=void 0!==y&&y,x=e.tooltipPlacement,O=void 0===x?"left":x,S=e.tooltipTitle,k=Object(r.a)(e,["classes","className","delay","FabProps","icon","id","open","TooltipClasses","tooltipOpen","tooltipPlacement","tooltipTitle"]),_=o.useState(w),E=_[0],C=_[1],M={transitionDelay:"".concat(d,"ms")},T=o.createElement(u.a,Object(i.a)({size:"small",className:Object(a.default)(n.fab,s,!v&&n.fabClosed),tabIndex:-1,role:"menuitem","aria-describedby":"".concat(m,"-label")},p,{style:Object(i.a)({},M,p.style)}),g);return w?o.createElement("span",Object(i.a)({id:m,ref:t,className:Object(a.default)(n.staticTooltip,n["tooltipPlacement".concat(Object(f.a)(O))],!v&&n.staticTooltipClosed)},k),o.createElement("span",{style:M,id:"".concat(m,"-label"),className:n.staticTooltipLabel},S),T):o.createElement(l.a,Object(i.a)({id:m,ref:t,title:S,placement:O,onClose:function(){C(!1)},onOpen:function(){C(!0)},open:v&&E,classes:b},k),T)}));t.a=Object(c.a)((function(e){return{fab:{margin:8,color:e.palette.text.secondary,backgroundColor:e.palette.background.paper,"&:hover":{backgroundColor:Object(s.b)(e.palette.background.paper,.15)},transition:"".concat(e.transitions.create("transform",{duration:e.transitions.duration.shorter}),", opacity 0.8s"),opacity:1},fabClosed:{opacity:0,transform:"scale(0)"},staticTooltip:{position:"relative",display:"flex","& $staticTooltipLabel":{transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1}},staticTooltipClosed:{"& $staticTooltipLabel":{opacity:0,transform:"scale(0.5)"}},staticTooltipLabel:Object(i.a)({position:"absolute"},e.typography.body1,{backgroundColor:e.palette.background.paper,borderRadius:e.shape.borderRadius,boxShadow:e.shadows[1],color:e.palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"}),tooltipPlacementLeft:{alignItems:"center","& $staticTooltipLabel":{transformOrigin:"100% 50%",right:"100%",marginRight:8}},tooltipPlacementRight:{alignItems:"center","& $staticTooltipLabel":{transformOrigin:"0% 50%",left:"100%",marginLeft:8}}}}),{name:"MuiSpeedDialAction"})(d)},function(e,t,n){"use strict";var r=n(20),i=n(21);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=(0,r(n(22)).default)(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.default=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return R})),n.d(t,"c",(function(){return P}));var r=function(){return Object.create(null)},i=Array.prototype,o=i.forEach,a=i.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=r),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;tthis.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),d=new c.a,h=Object.prototype.hasOwnProperty,p=void 0===(l=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:l;function g(e){var t=e.unsubscribe;"function"===typeof t&&(e.unsubscribe=void 0,t())}var m=[];function v(e,t){if(!e)throw new Error(t||"assertion failure")}function b(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var y=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!O(this))return w(this),this.value[0]},e.prototype.recompute=function(e){return v(!this.recomputing,"already recomputing"),w(this),O(this)?function(e,t){T(e),d.withValue(e,x,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{g(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,O(e))return;k(e)}(e);return b(e.value)}(this,e):b(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,S(this),g(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),T(this),_(this,(function(t,n){t.setDirty(),A(t,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=m.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(p(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),m.push(this.deps),this.deps=null)},e.count=0,e}();function w(e){var t=d.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),O(e)?E(t,e):C(t,e),t}function x(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function O(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function S(e){_(e,E)}function k(e){_(e,C)}function _(e,t){var n=e.parents.size;if(n)for(var r=p(e.parents),i=0;i0&&n===t.length&&e[n-1]===t[n-1]}(n,t.value)||e.setDirty(),M(e,t),O(e)||k(e)}function M(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(m.length<100&&m.push(n),e.dirtyChildren=null))}function T(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){A(e,n)})),e.forgetDeps(),v(null===e.dirtyChildren)}function A(e,t){t.parents.delete(e),e.childValues.delete(t),M(e,t)}var j={setDirty:!0,dispose:!0,forget:!0};function R(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=d.getValue();if(r){var i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"===typeof n&&(g(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var i=n&&h.call(j,n)?n:"setDirty";p(r).forEach((function(e){return e[i]()})),t.delete(e),g(r)}},r}function L(){var e=new s("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}L();var N=new Set;function P(e,t){void 0===t&&(t=Object.create(null));var n=new f(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,i=t.makeCacheKey||L(),o=function(){var o=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===o)return e.apply(null,arguments);var a=n.get(o);a||(n.set(o,a=new y(e)),a.subscribe=t.subscribe,a.forget=function(){return n.delete(o)});var s=a.recompute(Array.prototype.slice.call(arguments));return n.set(o,a),N.add(n),d.hasValue()||(N.forEach((function(e){return e.clean()})),N.clear()),s};function a(e){var t=n.get(e);t&&t.setDirty()}function s(e){var t=n.get(e);if(t)return t.peek()}function c(e){return n.delete(e)}return Object.defineProperty(o,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),o.dirtyKey=a,o.dirty=function(){a(i.apply(null,arguments))},o.peekKey=s,o.peek=function(){return s(i.apply(null,arguments))},o.forgetKey=c,o.forget=function(){return c(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(o)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n(1),i=(n(12),Object(r.createContext)(null)),o=function(e){var t=e.utils,n=e.children,o=e.locale,a=e.libInstance,s=Object(r.useMemo)((function(){return new t({locale:o,instance:a})}),[t,a,o]);return Object(r.createElement)(i.Provider,{value:s,children:n})};function a(){var e=Object(r.useContext)(i);return function(e){if(!e)throw new Error("Can not find utils in context. You either a) forgot to wrap your component tree in MuiPickersUtilsProvider; or b) mixed named and direct file imports. Recommendation: use named imports from the module index.")}(e),e}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(10),i=n(837);function o(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){function t(n){var r=n.graphQLErrors,o=n.networkError,a=n.errorMessage,s=n.extraInfo,c=e.call(this,a)||this;return c.graphQLErrors=r||[],c.networkError=o||null,c.message=a||function(e){var t="";return Object(i.a)(e.graphQLErrors)&&e.graphQLErrors.forEach((function(e){var n=e?e.message:"Error message not found.";t+=n+"\n"})),e.networkError&&(t+=e.networkError.message+"\n"),t=t.replace(/\n$/,"")}(c),c.extraInfo=s,c.__proto__=t.prototype,c}return Object(r.c)(t,e),t}(Error)},function(e,t,n){"use strict";var r=n(63),i=n(127).Graph;function o(e,t,n,i){var o;do{o=r.uniqueId(i)}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function a(e){return r.max(r.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n})))}e.exports={addDummyNode:o,simplify:function(e){var t=(new i).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),t},asNonCompoundGraph:function(e){var t=new i({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t},successorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.outEdges(t),(function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.inEdges(t),(function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,i=e.x,o=e.y,a=t.x-i,s=t.y-o,c=e.width/2,u=e.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(s)*c>Math.abs(a)*u?(s<0&&(u=-u),n=u*a/s,r=u):(a<0&&(c=-c),n=c,r=c*s/a);return{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=r.map(r.range(a(e)+1),(function(){return[]}));return r.forEach(e.nodes(),(function(n){var i=e.node(n),o=i.rank;r.isUndefined(o)||(t[o][i.order]=n)})),t},normalizeRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank})));r.forEach(e.nodes(),(function(n){var i=e.node(n);r.has(i,"rank")&&(i.rank-=t)}))},removeEmptyRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];r.forEach(e.nodes(),(function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,o=e.graph().nodeRankFactor;r.forEach(n,(function(t,n){r.isUndefined(t)&&n%o!==0?--i:i&&r.forEach(t,(function(t){e.node(t).rank+=i}))}))},addBorderNode:function(e,t,n,r){var i={width:0,height:0};arguments.length>=4&&(i.rank=n,i.order=r);return o(e,"border",i,t)},maxRank:a,partition:function(e,t){var n={lhs:[],rhs:[]};return r.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n},time:function(e,t){var n=r.now();try{return t()}finally{console.log(e+" time: "+(r.now()-n)+"ms")}},notime:function(e,t){return t()}}},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(5),i=n(9),o=n(1),a=(n(12),n(8)),s=n(11),c=o.forwardRef((function(e,t){var n=e.classes,s=e.className,c=e.dividers,u=void 0!==c&&c,l=Object(i.a)(e,["classes","className","dividers"]);return o.createElement("div",Object(r.a)({className:Object(a.default)(n.root,s,u&&n.dividers),ref:t},l))}));t.a=Object(s.a)((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})(c)},function(e,t,n){"use strict";var r=n(5),i=n(9),o=n(1),a=(n(12),n(8)),s=n(11),c=o.forwardRef((function(e,t){var n=e.disableSpacing,s=void 0!==n&&n,c=e.classes,u=e.className,l=Object(i.a)(e,["disableSpacing","classes","className"]);return o.createElement("div",Object(r.a)({className:Object(a.default)(c.root,u,!s&&c.spacing),ref:t},l))}));t.a=Object(s.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(c)},,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"capitalize",(function(){return r.a})),n.d(t,"createChainedFunction",(function(){return i.a})),n.d(t,"createSvgIcon",(function(){return o.a})),n.d(t,"debounce",(function(){return a.a})),n.d(t,"deprecatedPropType",(function(){return s})),n.d(t,"isMuiElement",(function(){return c.a})),n.d(t,"ownerDocument",(function(){return u.a})),n.d(t,"ownerWindow",(function(){return l.a})),n.d(t,"requirePropFactory",(function(){return f.a})),n.d(t,"setRef",(function(){return d.a})),n.d(t,"unsupportedProp",(function(){return h.a})),n.d(t,"useControlled",(function(){return p.a})),n.d(t,"useEventCallback",(function(){return g.a})),n.d(t,"useForkRef",(function(){return m.a})),n.d(t,"unstable_useId",(function(){return v.a})),n.d(t,"useIsFocusVisible",(function(){return b.a}));var r=n(18),i=n(137),o=n(66),a=n(101);function s(e,t){return function(){return null}}var c=n(162),u=n(67),l=n(158),f=n(322),d=n(94),h=n(250),p=n(119),g=n(83),m=n(30),v=n(274),b=n(159)},function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o=0;d--){var h=a[d];"."===h?o(a,d):".."===h?(o(a,d),f++):f&&(o(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&i(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=s(t),i=s(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(109);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function g(e,t,n,i){var o;"string"===typeof e?(o=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"===typeof e?e(t,n):e;"string"===typeof o?"function"===typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,i):n.push(i),f({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=g(e,t,d(),w.location);l.confirmTransitionTo(i,r,n,(function(e){e&&(w.entries[w.index]=i,f({action:r,location:i}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(e,Object(r.a)({defaultTheme:o.a},t))}},,,,function(e,t,n){var r=n(200),i=n(329);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){var r=n(663),i=n(673),o=n(183),a=n(74),s=n(680);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},function(e,t,n){"use strict";t.a=function(e,t){}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=null,i={},o=1,a="@wry/context:Slot",s=Array,c=s[a]||function(){var e=function(){function e(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=r;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===i)break;return e!==r&&(r.slots[this.id]=t),!0}return r&&(r.slots[this.id]=i),!1},e.prototype.getValue=function(){if(this.hasValue())return r.slots[this.id]},e.prototype.withValue=function(e,t,n,i){var o,a=((o={__proto__:null})[this.id]=e,o),s=r;r={parent:s,slots:a};try{return t.apply(i,n)}finally{r=s}},e.bind=function(e){var t=r;return function(){var n=r;try{return r=t,e.apply(this,arguments)}finally{r=n}}},e.noContext=function(e,t,n){if(!r)return e.apply(n,t);var i=r;try{return r=null,e.apply(n,t)}finally{r=i}},e}();try{Object.defineProperty(s,a,{value:s[a]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();c.bind,c.noContext},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u}));var r=n(89),i=new(n(149).a),o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:Object(r.b)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,n=new Set,r=function r(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(r),l(e)}));var c=Array.from(n);n.clear(),c.forEach((function(t){return t(e)}))}}else{var u=i.getValue();u&&(o(u),a(u).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),a(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function l(e){e.broadcastWatches&&e.broadcastWatches()}},,,,,function(e,t,n){var r=n(396),i=n(331),o=n(146);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){var r;if(!r)try{r=n(84)}catch(i){}r||(r=window.d3),e.exports=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(67);function i(e){return Object(r.a)(e).defaultView||window}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(1),i=n(44),o=!0,a=!1,s=null,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function l(){o=!1}function f(){"hidden"===this.visibilityState&&a&&(o=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return o||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!c[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function h(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function p(){return{isFocusVisible:d,onBlurVisible:h,ref:r.useCallback((function(e){var t,n=i.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",l,!0),t.addEventListener("pointerdown",l,!0),t.addEventListener("touchstart",l,!0),t.addEventListener("visibilitychange",f,!0))}),[])}}},function(e,t,n){"use strict";var r=n(359),i=Object(r.a)();t.a=i},function(e,t,n){"use strict";var r=n(534);t.a=function(e,t){return t?Object(r.a)(e,t,{clone:!1}):e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1);function i(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},function(e,t,n){"use strict";var r=n(1),i=r.createContext();t.a=i},function(e,t,n){"use strict";var r=n(20),i=n(21);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=(0,r(n(22)).default)(o.createElement("path",{d:"M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"}),"Wifi");t.default=a},function(e,t,n){"use strict";(function(e){var r=n(1);function i(t){var n;n="undefined"!==typeof window?window:"undefined"!==typeof self?self:e;var r="undefined"!==typeof document&&document.attachEvent;if(!r){var i=function(){var e=n.requestAnimationFrame||n.mozRequestAnimationFrame||n.webkitRequestAnimationFrame||function(e){return n.setTimeout(e,20)};return function(t){return e(t)}}(),o=function(){var e=n.cancelAnimationFrame||n.mozCancelAnimationFrame||n.webkitCancelAnimationFrame||n.clearTimeout;return function(t){return e(t)}}(),a=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},s=function(e){if(!(e.target.className&&"function"===typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;a(this),this.__resizeRAF__&&o(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},c=!1,u="",l="animationstart",f="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h=document.createElement("fakeelement");if(void 0!==h.style.animationName&&(c=!0),!1===c)for(var p=0;p div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],i=e.createElement("style");i.id="detectElementResize",i.type="text/css",null!=t&&i.setAttribute("nonce",t),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(e.createTextNode(n)),r.appendChild(i)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var u=o.createElement("div");u.className="expand-trigger",u.appendChild(o.createElement("div"));var f=o.createElement("div");f.className="contract-trigger",e.__resizeTriggers__.appendChild(u),e.__resizeTriggers__.appendChild(f),e.appendChild(e.__resizeTriggers__),a(e),e.addEventListener("scroll",s,!0),l&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==g&&a(e)},e.__resizeTriggers__.addEventListener(l,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(i)}},removeResizeListener:function(e,t){if(r)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(l,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(n){}}}}}var o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},a=function(){function e(e,t){for(var n=0;n=t?e.call(null):r.id=requestAnimationFrame(i)}))};return r}var h=-1;var p=null;function g(e){if(void 0===e&&(e=!1),null===p||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?p="positive-descending":(t.scrollLeft=1,p=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),p}return p}var m=function(e){var t=e.columnIndex;e.data;return e.rowIndex+":"+t};function v(e){var t,n,a=e.getColumnOffset,s=e.getColumnStartIndexForOffset,l=e.getColumnStopIndexForStartIndex,p=e.getColumnWidth,v=e.getEstimatedTotalHeight,y=e.getEstimatedTotalWidth,w=e.getOffsetForColumnAndAlignment,x=e.getOffsetForRowAndAlignment,O=e.getRowHeight,S=e.getRowOffset,k=e.getRowStartIndexForOffset,_=e.getRowStopIndexForStartIndex,E=e.initInstanceProps,C=e.shouldResetStyleCacheOnItemSizeChange,M=e.validateProps;return n=t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=E(n.props,Object(o.a)(Object(o.a)(n))),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:Object(o.a)(Object(o.a)(n)),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"===typeof n.props.initialScrollLeft?n.props.initialScrollLeft:0,scrollTop:"number"===typeof n.props.initialScrollTop?n.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},n._callOnItemsRendered=void 0,n._callOnItemsRendered=c((function(e,t,r,i,o,a,s,c){return n.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:r,overscanRowStopIndex:i,visibleColumnStartIndex:o,visibleColumnStopIndex:a,visibleRowStartIndex:s,visibleRowStopIndex:c})})),n._callOnScroll=void 0,n._callOnScroll=c((function(e,t,r,i,o){return n.props.onScroll({horizontalScrollDirection:r,scrollLeft:e,scrollTop:t,verticalScrollDirection:i,scrollUpdateWasRequested:o})})),n._getItemStyle=void 0,n._getItemStyle=function(e,t){var r,i=n.props,o=i.columnWidth,s=i.direction,c=i.rowHeight,u=n._getItemStyleCache(C&&o,C&&s,C&&c),l=e+":"+t;if(u.hasOwnProperty(l))r=u[l];else{var f=a(n.props,t,n._instanceProps),d="rtl"===s;u[l]=r={position:"absolute",left:d?void 0:f,right:d?f:void 0,top:S(n.props,e,n._instanceProps),height:O(n.props,e,n._instanceProps),width:p(n.props,t,n._instanceProps)}}return r},n._getItemStyleCache=void 0,n._getItemStyleCache=c((function(e,t,n){return{}})),n._onScroll=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.clientWidth,o=t.scrollLeft,a=t.scrollTop,s=t.scrollHeight,c=t.scrollWidth;n.setState((function(e){if(e.scrollLeft===o&&e.scrollTop===a)return null;var t=n.props.direction,u=o;if("rtl"===t)switch(g()){case"negative":u=-o;break;case"positive-descending":u=c-i-o}u=Math.max(0,Math.min(u,c-i));var l=Math.max(0,Math.min(a,s-r));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeftu?p:0,b=g>s?p:0;this.scrollTo({scrollLeft:void 0!==r?w(this.props,r,n,f,this._instanceProps,b):f,scrollTop:void 0!==i?x(this.props,i,n,d,this._instanceProps,m):d})},n.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"===typeof t&&(r.scrollLeft=t),"number"===typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},n.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("rtl"===e)switch(g()){case"negative":i.scrollLeft=-n;break;case"positive-ascending":i.scrollLeft=n;break;default:var o=i.clientWidth,a=i.scrollWidth;i.scrollLeft=a-o-n}else i.scrollLeft=Math.max(0,n);i.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},n.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&f(this._resetIsScrollingTimeoutId)},n.render=function(){var e=this.props,t=e.children,n=e.className,i=e.columnCount,o=e.direction,a=e.height,s=e.innerRef,c=e.innerElementType,l=e.innerTagName,f=e.itemData,d=e.itemKey,h=void 0===d?m:d,p=e.outerElementType,g=e.outerTagName,b=e.rowCount,w=e.style,x=e.useIsScrolling,O=e.width,S=this.state.isScrolling,k=this._getHorizontalRangeToRender(),_=k[0],E=k[1],C=this._getVerticalRangeToRender(),M=C[0],T=C[1],A=[];if(i>0&&b)for(var j=M;j<=T;j++)for(var R=_;R<=E;R++)A.push(Object(u.createElement)(t,{columnIndex:R,data:f,isScrolling:x?S:void 0,key:h({columnIndex:R,data:f,rowIndex:j}),rowIndex:j,style:this._getItemStyle(j,R)}));var L=v(this.props,this._instanceProps),N=y(this.props,this._instanceProps);return Object(u.createElement)(p||g||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:Object(r.a)({position:"relative",height:a,width:O,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},w)},Object(u.createElement)(c||l||"div",{children:A,ref:s,style:{height:L,pointerEvents:S?"none":void 0,width:N}}))},n._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,i=e.rowCount;if("function"===typeof n&&t>0&&i>0){var o=this._getHorizontalRangeToRender(),a=o[0],s=o[1],c=o[2],u=o[3],l=this._getVerticalRangeToRender(),f=l[0],d=l[1],h=l[2],p=l[3];this._callOnItemsRendered(a,s,f,d,c,u,h,p)}if("function"===typeof r){var g=this.state,m=g.horizontalScrollDirection,v=g.scrollLeft,b=g.scrollTop,y=g.scrollUpdateWasRequested,w=g.verticalScrollDirection;this._callOnScroll(v,b,m,w,y)}},n._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,r=e.overscanColumnsCount,i=e.overscanCount,o=e.rowCount,a=this.state,c=a.horizontalScrollDirection,u=a.isScrolling,f=a.scrollLeft,d=n||r||i||1;if(0===t||0===o)return[0,0,0,0];var h=s(this.props,f,this._instanceProps),p=l(this.props,h,f,this._instanceProps),g=u&&"backward"!==c?1:Math.max(1,d),m=u&&"forward"!==c?1:Math.max(1,d);return[Math.max(0,h-g),Math.max(0,Math.min(t-1,p+m)),h,p]},n._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,i=e.overscanRowsCount,o=e.rowCount,a=this.state,s=a.isScrolling,c=a.verticalScrollDirection,u=a.scrollTop,l=r||i||n||1;if(0===t||0===o)return[0,0,0,0];var f=k(this.props,u,this._instanceProps),d=_(this.props,f,u,this._instanceProps),h=s&&"backward"!==c?1:Math.max(1,l),p=s&&"forward"!==c?1:Math.max(1,l);return[Math.max(0,f-h),Math.max(0,Math.min(o-1,d+p)),f,d]},t}(u.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},n}var b=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},y=function(e,t){var n=e.rowCount,r=t.rowMetadataMap,i=t.estimatedRowHeight,o=t.lastMeasuredRowIndex,a=0;if(o>=n&&(o=n-1),o>=0){var s=r[o];a=s.offset+s.size}return a+(n-o-1)*i},w=function(e,t){var n=e.columnCount,r=t.columnMetadataMap,i=t.estimatedColumnWidth,o=t.lastMeasuredColumnIndex,a=0;if(o>=n&&(o=n-1),o>=0){var s=r[o];a=s.offset+s.size}return a+(n-o-1)*i},x=function(e,t,n,r){var i,o,a;if("column"===e?(i=r.columnMetadataMap,o=t.columnWidth,a=r.lastMeasuredColumnIndex):(i=r.rowMetadataMap,o=t.rowHeight,a=r.lastMeasuredRowIndex),n>a){var s=0;if(a>=0){var c=i[a];s=c.offset+c.size}for(var u=a+1;u<=n;u++){var l=o(u);i[u]={offset:s,size:l},s+=l}"column"===e?r.lastMeasuredColumnIndex=n:r.lastMeasuredRowIndex=n}return i[n]},O=function(e,t,n,r){var i,o;return"column"===e?(i=n.columnMetadataMap,o=n.lastMeasuredColumnIndex):(i=n.rowMetadataMap,o=n.lastMeasuredRowIndex),(o>0?i[o].offset:0)>=r?S(e,t,n,o,0,r):k(e,t,n,Math.max(0,o),r)},S=function(e,t,n,r,i,o){for(;i<=r;){var a=i+Math.floor((r-i)/2),s=x(e,t,a,n).offset;if(s===o)return a;so&&(r=a-1)}return i>0?i-1:0},k=function(e,t,n,r,i){for(var o="column"===e?t.columnCount:t.rowCount,a=1;r=f-s&&i<=l+s?"auto":"center"),r){case"start":return l;case"end":return f;case"center":return Math.round(f+(l-f)/2);case"auto":default:return i>=f&&i<=l?i:f>l||i0)for(var T=_;T<=E;T++)M.push(Object(u.createElement)(t,{data:d,key:p(T,d),index:T,isScrolling:y?x:void 0,style:this._getItemStyle(T)}));var A=s(this.props,this._instanceProps);return Object(u.createElement)(m||v||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:Object(r.a)({position:"relative",height:o,width:w,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},b)},Object(u.createElement)(c||l||"div",{children:M,ref:a,style:{height:O?"100%":A,pointerEvents:x?"none":void 0,width:O?A:"100%"}}))},n._callPropsCallbacks=function(){if("function"===typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],i=e[3];this._callOnItemsRendered(t,n,r,i)}if("function"===typeof this.props.onScroll){var o=this.state,a=o.scrollDirection,s=o.scrollOffset,c=o.scrollUpdateWasRequested;this._callOnScroll(a,s,c)}},n._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var s=p(this.props,a,this._instanceProps),c=m(this.props,s,a,this._instanceProps),u=i&&"backward"!==o?1:Math.max(1,n),l=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,s-u),Math.max(0,Math.min(t-1,c+l)),s,c]},t}(u.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var T=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},A=function(e,t,n){var r=e.itemSize,i=n.itemMetadataMap,o=n.lastMeasuredIndex;if(t>o){var a=0;if(o>=0){var s=i[o];a=s.offset+s.size}for(var c=o+1;c<=t;c++){var u=r(c);i[c]={offset:a,size:u},a+=u}n.lastMeasuredIndex=t}return i[t]},j=function(e,t,n,r,i){for(;r<=n;){var o=r+Math.floor((n-r)/2),a=A(e,o,t).offset;if(a===i)return o;ai&&(n=o-1)}return r>0?r-1:0},R=function(e,t,n,r){for(var i=e.itemCount,o=1;n=n&&(o=n-1),o>=0){var s=r[o];a=s.offset+s.size}return a+(n-o-1)*i},N=M({getItemOffset:function(e,t,n){return A(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:L,getOffsetForIndexAndAlignment:function(e,t,n,r,i){var o=e.direction,a=e.height,s=e.layout,c=e.width,u="horizontal"===o||"horizontal"===s?c:a,l=A(e,t,i),f=L(e,i),d=Math.max(0,Math.min(f-u,l.offset)),h=Math.max(0,l.offset-u+l.size);switch("smart"===n&&(n=r>=h-u&&r<=d+u?"auto":"center"),n){case"start":return d;case"end":return h;case"center":return Math.round(h+(d-h)/2);case"auto":default:return r>=h&&r<=d?r:r0?r[i].offset:0)>=n?j(e,t,i,0,n):R(e,t,Math.max(0,i),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var i=e.direction,o=e.height,a=e.itemCount,s=e.layout,c=e.width,u="horizontal"===i||"horizontal"===s?c:o,l=A(e,t,r),f=n+u,d=l.offset+l.size,h=t;h=h-l&&r<=d+l?"auto":"center"),n){case"start":return d;case"end":return h;case"center":var p=Math.round(h+(d-h)/2);return pf+Math.floor(l/2)?f:p;case"auto":default:return r>=h&&r<=d?r:r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,c,"next",e)}function c(e){r(a,i,o,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(20),i=n(21);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=(0,r(n(22)).default)(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddCircle");t.default=a},,function(e,t,n){"use strict";var r=n(20),i=n(21);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=(0,r(n(22)).default)(o.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.default=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(310);function i(e,t){return Object(r.a)(e,t,!1)}},function(e,t,n){"use strict";var r=n(9),i=n(5),o=n(1),a=(n(12),n(8)),s=n(11),c=[0,1,2,3,4,5,6,7,8,9,10],u=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var f=o.forwardRef((function(e,t){var n=e.alignContent,s=void 0===n?"stretch":n,c=e.alignItems,u=void 0===c?"stretch":c,l=e.classes,f=e.className,d=e.component,h=void 0===d?"div":d,p=e.container,g=void 0!==p&&p,m=e.direction,v=void 0===m?"row":m,b=e.item,y=void 0!==b&&b,w=e.justify,x=void 0===w?"flex-start":w,O=e.lg,S=void 0!==O&&O,k=e.md,_=void 0!==k&&k,E=e.sm,C=void 0!==E&&E,M=e.spacing,T=void 0===M?0:M,A=e.wrap,j=void 0===A?"wrap":A,R=e.xl,L=void 0!==R&&R,N=e.xs,P=void 0!==N&&N,I=e.zeroMinWidth,$=void 0!==I&&I,D=Object(r.a)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),F=Object(a.default)(l.root,f,g&&[l.container,0!==T&&l["spacing-xs-".concat(String(T))]],y&&l.item,$&&l.zeroMinWidth,"row"!==v&&l["direction-xs-".concat(String(v))],"wrap"!==j&&l["wrap-xs-".concat(String(j))],"stretch"!==u&&l["align-items-xs-".concat(String(u))],"stretch"!==s&&l["align-content-xs-".concat(String(s))],"flex-start"!==x&&l["justify-xs-".concat(String(x))],!1!==P&&l["grid-xs-".concat(String(P))],!1!==C&&l["grid-sm-".concat(String(C))],!1!==_&&l["grid-md-".concat(String(_))],!1!==S&&l["grid-lg-".concat(String(S))],!1!==L&&l["grid-xl-".concat(String(L))]);return o.createElement(h,Object(i.a)({className:F,ref:t},D))})),d=Object(s.a)((function(e){return Object(i.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return c.forEach((function(r){var i=e.spacing(r);0!==i&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(l(i,2)),width:"calc(100% + ".concat(l(i),")"),"& > $item":{padding:l(i,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};u.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var i="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Object(i.a)(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(f);t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(10),i=n(1),o=n(53),a=n(102),s=n(92),c=n(208),u=n(348),l=function(e){function t(t){var n=t.options,r=t.context,i=t.result,o=t.setResult,s=e.call(this,n,r)||this;return s.runMutation=function(e){void 0===e&&(e={}),s.onMutationStart();var t=s.generateNewMutationId();return s.mutate(e).then((function(e){return s.onMutationCompleted(e,t),e})).catch((function(e){var n=s.getOptions().onError;if(s.onMutationError(e,t),n)return n(e),{data:void 0,errors:e};throw e}))},s.verifyDocumentType(n.mutation,a.a.Mutation),s.result=i,s.setResult=o,s.mostRecentMutationId=0,s}return Object(r.c)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,a.a.Mutation),[this.runMutation,Object(r.a)(Object(r.a)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate(Object(u.b)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var n=this.getOptions(),r=n.onCompleted,i=n.ignoreResults,o=e.data,a=e.errors,c=a&&a.length>0?new s.a({graphQLErrors:a}):void 0;this.isMostRecentMutation(t)&&!i&&this.updateResult({called:!0,loading:!1,data:o,error:c}),r&&r(o)},t.prototype.onMutationError=function(e,t){this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0})},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){if(this.isMounted&&(!this.previousResult||!Object(o.a)(this.previousResult,e)))return this.setResult(e),this.previousResult=e,e},t}(c.a),f=n(275);function d(e,t){var n=Object(i.useContext)(Object(f.a)()),o=Object(i.useState)({called:!1,loading:!1}),a=o[0],s=o[1],c=t?Object(r.a)(Object(r.a)({},t),{mutation:e}):{mutation:e},u=Object(i.useRef)();var d=(u.current||(u.current=new l({options:c,context:n,result:a,setResult:s})),u.current);return d.setOptions(c),d.context=n,Object(i.useEffect)((function(){return d.afterExecute()})),d.execute(a)}},,,,,function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,o=t.center,s=void 0===o?a||t.pulsate:o,c=t.fakeElement,u=void 0!==c&&c;if("mousedown"===e.type&&y.current)y.current=!1;else{"touchstart"===e.type&&(y.current=!0);var l,f,d,h=u?null:O.current,p=h?h.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(p.width/2),f=Math.round(p.height/2);else{var g=e.touches?e.touches[0]:e,m=g.clientX,v=g.clientY;l=Math.round(m-p.left),f=Math.round(v-p.top)}if(s)(d=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(d+=1);else{var b=2*Math.max(Math.abs((h?h.clientWidth:0)-l),l)+2,k=2*Math.max(Math.abs((h?h.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(b,2)+Math.pow(k,2))}e.touches?null===x.current&&(x.current=function(){S({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})},w.current=setTimeout((function(){x.current&&(x.current(),x.current=null)}),80)):S({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})}}),[a,S]),_=o.useCallback((function(){k({},{pulsate:!0})}),[k]),E=o.useCallback((function(e,t){if(clearTimeout(w.current),"touchend"===e.type&&x.current)return e.persist(),x.current(),x.current=null,void(w.current=setTimeout((function(){E(e,t)})));x.current=null,m((function(e){return e.length>0?e.slice(1):e})),b.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:_,start:k,stop:E}}),[_,k,E]),o.createElement("span",Object(r.a)({className:Object(s.default)(c.root,u),ref:O},l),o.createElement(h.a,{component:null,exit:!0},p))})),v=Object(l.a)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(m)),b=o.forwardRef((function(e,t){var n=e.action,l=e.buttonRef,d=e.centerRipple,h=void 0!==d&&d,p=e.children,g=e.classes,m=e.className,b=e.component,y=void 0===b?"button":b,w=e.disabled,x=void 0!==w&&w,O=e.disableRipple,S=void 0!==O&&O,k=e.disableTouchRipple,_=void 0!==k&&k,E=e.focusRipple,C=void 0!==E&&E,M=e.focusVisibleClassName,T=e.onBlur,A=e.onClick,j=e.onFocus,R=e.onFocusVisible,L=e.onKeyDown,N=e.onKeyUp,P=e.onMouseDown,I=e.onMouseLeave,$=e.onMouseUp,D=e.onTouchEnd,F=e.onTouchMove,z=e.onTouchStart,B=e.onDragLeave,H=e.tabIndex,W=void 0===H?0:H,U=e.TouchRippleProps,V=e.type,q=void 0===V?"button":V,K=Object(i.a)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),G=o.useRef(null);var Y=o.useRef(null),Q=o.useState(!1),X=Q[0],J=Q[1];x&&X&&J(!1);var Z=Object(f.a)(),ee=Z.isFocusVisible,te=Z.onBlurVisible,ne=Z.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;return Object(u.a)((function(r){return t&&t(r),!n&&Y.current&&Y.current[e](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){J(!0),G.current.focus()}}}),[]),o.useEffect((function(){X&&C&&!S&&Y.current.pulsate()}),[S,C,X]);var ie=re("start",P),oe=re("stop",B),ae=re("stop",$),se=re("stop",(function(e){X&&e.preventDefault(),I&&I(e)})),ce=re("start",z),ue=re("stop",D),le=re("stop",F),fe=re("stop",(function(e){X&&(te(e),J(!1)),T&&T(e)}),!1),de=Object(u.a)((function(e){G.current||(G.current=e.currentTarget),ee(e)&&(J(!0),R&&R(e)),j&&j(e)})),he=function(){var e=a.findDOMNode(G.current);return y&&"button"!==y&&!("A"===e.tagName&&e.href)},pe=o.useRef(!1),ge=Object(u.a)((function(e){C&&!pe.current&&X&&Y.current&&" "===e.key&&(pe.current=!0,e.persist(),Y.current.stop(e,(function(){Y.current.start(e)}))),e.target===e.currentTarget&&he()&&" "===e.key&&e.preventDefault(),L&&L(e),e.target===e.currentTarget&&he()&&"Enter"===e.key&&!x&&(e.preventDefault(),A&&A(e))})),me=Object(u.a)((function(e){C&&" "===e.key&&Y.current&&X&&!e.defaultPrevented&&(pe.current=!1,e.persist(),Y.current.stop(e,(function(){Y.current.pulsate(e)}))),N&&N(e),A&&e.target===e.currentTarget&&he()&&" "===e.key&&!e.defaultPrevented&&A(e)})),ve=y;"button"===ve&&K.href&&(ve="a");var be={};"button"===ve?(be.type=q,be.disabled=x):("a"===ve&&K.href||(be.role="button"),be["aria-disabled"]=x);var ye=Object(c.a)(l,t),we=Object(c.a)(ne,G),xe=Object(c.a)(ye,we),Oe=o.useState(!1),Se=Oe[0],ke=Oe[1];o.useEffect((function(){ke(!0)}),[]);var _e=Se&&!S&&!x;return o.createElement(ve,Object(r.a)({className:Object(s.default)(g.root,m,X&&[g.focusVisible,M],x&&g.disabled),onBlur:fe,onClick:A,onFocus:de,onKeyDown:ge,onKeyUp:me,onMouseDown:ie,onMouseLeave:se,onMouseUp:ae,onDragLeave:oe,onTouchEnd:ue,onTouchMove:le,onTouchStart:ce,ref:xe,tabIndex:x?-1:W},be,K),p,_e?o.createElement(v,Object(r.a)({ref:Y,center:h},U)):null)}));t.a=Object(l.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(b)},,,,function(e,t,n){var r=n(259),i=n(260);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,c=t.length;++s2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var n=e.constructor.name;if("string"===typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+a(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t,n,r,i){this.message=e,this.path=t,this.query=n,this.clientOnly=r,this.variables=i}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!==typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"===typeof e)try{return t(e.call(null))}catch(r){return n(r)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,b.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return"function"===typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new u({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!f.default(n)&&!p.getOperationAST(n,i)||i&&!f.default(i)||r&&!d.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:"string"===typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(n){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,b.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(s){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[b.default.GQL_DATA,b.default.GQL_COMPLETE,b.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case b.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case b.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case b.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case b.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case b.default.GQL_DATA:var o=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,o);break;case b.default.GQL_CONNECTION_KEEP_ALIVE:var a="undefined"===typeof this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,b.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=y}).call(this,n(99))},function(e,t,n){e.exports=n(590).Observable},function(e,t,n){"use strict";(function(e,r){function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return m.head.insertBefore(t,r),e}}function Z(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ee(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/