diff --git a/dist/03b2cb9ed124344143e7da71708c0930.svg b/dist/03b2cb9ed124344143e7da71708c0930.svg new file mode 100644 index 0000000..f7ffab2 --- /dev/null +++ b/dist/03b2cb9ed124344143e7da71708c0930.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/16a9304e38fd8167989291ab92544e14.svg b/dist/16a9304e38fd8167989291ab92544e14.svg new file mode 100644 index 0000000..3899712 --- /dev/null +++ b/dist/16a9304e38fd8167989291ab92544e14.svg @@ -0,0 +1 @@ +GitHub icon \ No newline at end of file diff --git a/dist/bundle.js b/dist/bundle.js new file mode 100644 index 0000000..30d49c5 --- /dev/null +++ b/dist/bundle.js @@ -0,0 +1 @@ +!function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=21)}({20:function(t,n,e){},21:function(t,n,e){"use strict";e.r(n);var r=function(t,n){return tn?1:t>=n?0:NaN},i=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return r(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}};var o=i(r);o.right,o.left;var u=Array.prototype;u.slice,u.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);Array.prototype.slice;var a={value:function(){}};function s(){for(var t,n=0,e=arguments.length,r={};n=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function f(t,n){for(var e,r=0,i=t.length;r0)for(var e,r,i=new Array(e),o=0;on?1:t>=n?0:NaN}var C="http://www.w3.org/1999/xhtml",T={svg:"http://www.w3.org/2000/svg",xhtml:C,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},A=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),T.hasOwnProperty(n)?{space:T[n],local:t}:t};function k(t){return function(){this.removeAttribute(t)}}function N(t){return function(){this.removeAttributeNS(t.space,t.local)}}function U(t,n){return function(){this.setAttribute(t,n)}}function S(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function D(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function P(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var L=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function j(t){return function(){this.style.removeProperty(t)}}function E(t,n,e){return function(){this.style.setProperty(t,n,e)}}function R(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function O(t,n){return t.style.getPropertyValue(n)||L(t).getComputedStyle(t,null).getPropertyValue(n)}function Y(t){return function(){delete this[t]}}function F(t,n){return function(){this[t]=n}}function H(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function q(t){return t.trim().split(/^|\s+/)}function I(t){return t.classList||new z(t)}function z(t){this._node=t,this._names=q(t.getAttribute("class")||"")}function V(t,n){for(var e=I(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function W(){this.textContent=""}function Q(t){return function(){this.textContent=t}}function J(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function G(){this.innerHTML=""}function K(t){return function(){this.innerHTML=t}}function tt(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function nt(){this.nextSibling&&this.parentNode.appendChild(this)}function et(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function rt(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===C&&n.documentElement.namespaceURI===C?n.createElement(t):n.createElementNS(e,t)}}function it(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var ot=function(t){var n=A(t);return(n.local?it:rt)(n)};function ut(){return null}function at(){var t=this.parentNode;t&&t.removeChild(this)}function st(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function ct(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}var lt={},ft=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(lt={mouseenter:"mouseover",mouseleave:"mouseout"}));function ht(t,n,e){return t=pt(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function pt(t,n,e){return function(r){var i=ft;ft=r;try{t.call(this,this.__data__,n,e)}finally{ft=i}}}function dt(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function vt(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=M&&(M=_+1);!(w=y[M])&&++M=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=M);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?j:"function"==typeof n?R:E)(t,n,null==e?"":e)):O(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Y:"function"==typeof n?H:F)(t,n)):this.node()[t]},classed:function(t,n){var e=q(t+"");if(arguments.length<2){for(var r=I(this.node()),i=-1,o=e.length;++i>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?zt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?zt(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Pt.exec(t))?new Xt(n[1],n[2],n[3],1):(n=Lt.exec(t))?new Xt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=jt.exec(t))?zt(n[1],n[2],n[3],n[4]):(n=Et.exec(t))?zt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Rt.exec(t))?Qt(n[1],n[2]/100,n[3]/100,1):(n=Ot.exec(t))?Qt(n[1],n[2]/100,n[3]/100,n[4]):Yt.hasOwnProperty(t)?It(Yt[t]):"transparent"===t?new Xt(NaN,NaN,NaN,0):null}function It(t){return new Xt(t>>16&255,t>>8&255,255&t,1)}function zt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Xt(t,n,e,r)}function Vt(t){return t instanceof kt||(t=qt(t)),t?new Xt((t=t.rgb()).r,t.g,t.b,t.opacity):new Xt}function $t(t,n,e,r){return 1===arguments.length?Vt(t):new Xt(t,n,e,null==r?1:r)}function Xt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Zt(){return"#"+Wt(this.r)+Wt(this.g)+Wt(this.b)}function Bt(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Wt(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Qt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Gt(t,n,e,r)}function Jt(t){if(t instanceof Gt)return new Gt(t.h,t.s,t.l,t.opacity);if(t instanceof kt||(t=qt(t)),!t)return new Gt;if(t instanceof Gt)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,s=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e0&&s<1?0:u,new Gt(u,a,s,t.opacity)}function Gt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Kt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function tn(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}Tt(kt,qt,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ft,formatHex:Ft,formatHsl:function(){return Jt(this).formatHsl()},formatRgb:Ht,toString:Ht}),Tt(Xt,$t,At(kt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Xt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Xt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Zt,formatHex:Zt,formatRgb:Bt,toString:Bt})),Tt(Gt,(function(t,n,e,r){return 1===arguments.length?Jt(t):new Gt(t,n,e,null==r?1:r)}),At(kt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Gt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Gt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new Xt(Kt(t>=240?t-240:t+120,i,r),Kt(t,i,r),Kt(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var nn=function(t){return function(){return t}};function en(t,n){return function(e){return t+e*n}}function rn(t){return 1==(t=+t)?on:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):nn(isNaN(n)?e:n)}}function on(t,n){var e=n-t;return e?en(t,e):nn(isNaN(t)?n:t)}var un=function t(n){var e=rn(n);function r(t,n){var r=e((t=$t(t)).r,(n=$t(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),u=on(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function an(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=ro&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,s.push({i:u,x:sn(e,r)})),o=ln.lastIndex;return o=0&&n._call.call(null,t),n=n._next;--dn}()}finally{dn=0,function(){var t,n,e=fn,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:fn=n);hn=t,Nn(r)}(),mn=0}}function kn(){var t=_n.now(),n=t-yn;n>1e3&&(wn-=n,yn=t)}function Nn(t){dn||(vn&&(vn=clearTimeout(vn)),t-mn>24?(t<1/0&&(vn=setTimeout(An,t-_n.now()-wn)),gn&&(gn=clearInterval(gn))):(gn||(yn=_n.now(),gn=setInterval(kn,1e3)),dn=1,xn(An)))}Cn.prototype=Tn.prototype={constructor:Cn,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?bn():+e)+(null==n?0:+n),this._next||hn===this||(hn?hn._next=this:fn=this,hn=this),this._call=t,this._time=e,Nn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Nn())}};var Un=function(t,n,e){var r=new Cn;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r},Sn=p("start","end","cancel","interrupt"),Dn=[],Pn=function(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(s){var c,l,f,h;if(1!==e.state)return a();for(c in i)if((h=i[c]).name===e.name){if(3===h.state)return Un(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return e}function jn(t,n){var e=En(t,n);if(e.state>3)throw new Error("too late; already running");return e}function En(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}var Rn,On,Yn,Fn,Hn=function(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}},qn=180/Math.PI,In={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},zn=function(t,n,e,r,i,o){var u,a,s;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(s=t*e+n*r)&&(e-=t*s,r-=n*s),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,s/=a),t*r180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:sn(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,s),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:sn(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,s),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:sn(t,e)},{i:a-2,x:sn(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,s),o=u=null,function(t){for(var n,e=-1,r=s.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?Ln:jn;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}var pe=Mt.prototype.constructor;function de(t){return function(){this.style.removeProperty(t)}}function ve(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}function ge(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&ve(t,o,e)),r}return o._value=n,o}function ye(t){return function(n){this.textContent=t.call(this,n)}}function me(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&ye(r)),n}return r._value=t,r}var we=0;function _e(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function xe(){return++we}var be=Mt.prototype;_e.prototype=function(t){return Mt().transition(t)}.prototype={constructor:_e,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=v(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u1e-6)if(Math.abs(l*a-s*c)>1e-6&&i){var h=e-o,p=r-u,d=a*a+s*s,v=h*h+p*p,g=Math.sqrt(d),y=Math.sqrt(f),m=i*Math.tan((Ne-Math.acos((d+f-v)/(2*g*y)))/2),w=m/y,_=m/g;Math.abs(w-1)>1e-6&&(this._+="L"+(t+w*c)+","+(n+w*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*p)+","+(this._x1=t+_*a)+","+(this._y1=n+_*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),s=t+u,c=n+a,l=1^o,f=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+s+","+c),e&&(f<0&&(f=f%Ue+Ue),f>Se?this._+="A"+e+","+e+",0,1,"+l+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+l+","+(this._x1=s)+","+(this._y1=c):f>1e-6&&(this._+="A"+e+","+e+",0,"+ +(f>=Ne)+","+l+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};function Le(){}function je(t,n){var e=new Le;if(t instanceof Le)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i9999?"+"+$e(n,6):$e(n,4))+"-"+$e(t.getUTCMonth()+1,2)+"-"+$e(t.getUTCDate(),2)+(o?"T"+$e(e,2)+":"+$e(r,2)+":"+$e(i,2)+"."+$e(o,3)+"Z":i?"T"+$e(e,2)+":"+$e(r,2)+":"+$e(i,2)+"Z":r||e?"T"+$e(e,2)+":"+$e(r,2)+"Z":"")}var Ze=function(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,s=o<=0,c=!1;function l(){if(s)return Ie;if(c)return c=!1,qe;var n,r,i=u;if(34===t.charCodeAt(i)){for(;u++=o?s=!0:10===(r=t.charCodeAt(u++))?c=!0:13===r&&(c=!0,10===t.charCodeAt(u)&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u=(o=(v+y)/2))?v=o:y=o,(l=e>=(u=(g+m)/2))?g=u:m=u,i=p,!(p=p[f=l<<1|c]))return i[f]=d,t;if(a=+t._x.call(null,p.data),s=+t._y.call(null,p.data),n===a&&e===s)return d.next=p,i?i[f]=d:t._root=d,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(c=n>=(o=(v+y)/2))?v=o:y=o,(l=e>=(u=(g+m)/2))?g=u:m=u}while((f=l<<1|c)==(h=(s>=u)<<1|a>=o));return i[h]=p,i[f]=d,t}var ir=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i};function or(t){return t[0]}function ur(t){return t[1]}function ar(t,n,e){var r=new sr(null==n?or:n,null==e?ur:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function sr(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function cr(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var lr=ar.prototype=sr.prototype;lr.copy=function(){var t,n,e=new sr(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=cr(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=cr(n));return e},lr.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return rr(this.cover(n,e),n,e,t)},lr.addAll=function(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),s=1/0,c=1/0,l=-1/0,f=-1/0;for(e=0;el&&(l=r),if&&(f=i));if(s>l||c>f)return this;for(this.cover(s,c).cover(l,f),e=0;et||t>=i||r>n||n>=o;)switch(a=(nh||(o=s.y0)>p||(u=s.x1)=y)<<1|t>=g)&&(s=d[d.length-1],d[d.length-1]=d[d.length-1-c],d[d.length-1-c]=s)}else{var m=t-+this._x.call(null,v.data),w=n-+this._y.call(null,v.data),_=m*m+w*w;if(_=(a=(d+g)/2))?d=a:g=a,(l=u>=(s=(v+y)/2))?v=s:y=s,n=p,!(p=p[f=l<<1|c]))return this;if(!p.length)break;(n[f+1&3]||n[f+2&3]||n[f+3&3])&&(e=n,h=f)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[f]=i:delete n[f],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},lr.removeAll=function(t){for(var n=0,e=t.length;n1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(fr)),pr=(function t(n){function e(){var t=hr.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(fr),function t(n){function e(t){return function(){for(var e=0,r=0;r=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function gr(t){if(!(n=vr.exec(t)))throw new Error("invalid format: "+t);var n;return new yr({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function yr(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}gr.prototype=yr.prototype,yr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var mr,wr,_r=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]},xr=function(t){return(t=_r(Math.abs(t)))?t[1]:NaN},br=function(t,n){var e=_r(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Mr={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return br(100*t,n)},r:br,s:function(t,n){var e=_r(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(mr=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+_r(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Cr=function(t){return t},Tr=Array.prototype.map,Ar=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"];wr=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Cr:(n=Tr.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],u=0,a=n[0],s=0;i>0&&a>0&&(s+a+1>r&&(a=Math.max(1,r-s)),o.push(t.substring(i-=a,i+a)),!((s+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?Cr:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Tr.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=gr(t)).fill,e=t.align,f=t.sign,h=t.symbol,p=t.zero,d=t.width,v=t.comma,g=t.precision,y=t.trim,m=t.type;"n"===m?(v=!0,m="g"):Mr[m]||(void 0===g&&(g=12),y=!0,m="g"),(p||"0"===n&&"="===e)&&(p=!0,n="0",e="=");var w="$"===h?i:"#"===h&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",_="$"===h?o:/[%p]/.test(m)?s:"",x=Mr[m],b=/[defgprs%]/.test(m);function M(t){var i,o,s,h=w,M=_;if("c"===m)M=x(t)+M,t="";else{var C=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),g),y&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),C&&0==+t&&"+"!==f&&(C=!1),h=(C?"("===f?f:c:"-"===f||"("===f?"":f)+h,M=("s"===m?Ar[8+mr/3]:"")+M+(C&&"("===f?")":""),b)for(i=-1,o=t.length;++i(s=t.charCodeAt(i))||s>57){M=(46===s?u+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}v&&!p&&(t=r(t,1/0));var T=h.length+t.length+M.length,A=T>1)+h+t+M+A.slice(T);break;default:t=A+h+t+M}return a(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,n){var e=f(((t=gr(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(xr(n)/3))),i=Math.pow(10,-r),o=Ar[8+r/3];return function(t){return e(i*t)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),wr.format,wr.formatPrefix;var kr=new Date,Nr=new Date;function Ur(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n0))return a;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(u=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return kr.setTime(+n),Nr.setTime(+r),t(kr),t(Nr),Math.floor(e(kr,Nr))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var Sr=Ur((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Sr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ur((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var Dr=Sr,Pr=(Sr.range,Ur((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})));Pr.range;function Lr(t){return Ur((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var jr=Lr(0),Er=Lr(1),Rr=Lr(2),Or=Lr(3),Yr=Lr(4),Fr=Lr(5),Hr=Lr(6),qr=(jr.range,Er.range,Rr.range,Or.range,Yr.range,Fr.range,Hr.range,Ur((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1}))),Ir=qr,zr=(qr.range,Ur((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getHours()}))),Vr=(zr.range,Ur((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,n){t.setTime(+t+6e4*n)}),(function(t,n){return(n-t)/6e4}),(function(t){return t.getMinutes()}))),$r=(Vr.range,Ur((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+1e3*n)}),(function(t,n){return(n-t)/1e3}),(function(t){return t.getUTCSeconds()}))),Xr=($r.range,Ur((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t})));Xr.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ur((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Xr:null};Xr.range;function Zr(t){return Ur((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/6048e5}))}var Br=Zr(0),Wr=Zr(1),Qr=Zr(2),Jr=Zr(3),Gr=Zr(4),Kr=Zr(5),ti=Zr(6),ni=(Br.range,Wr.range,Qr.range,Jr.range,Gr.range,Kr.range,ti.range,Ur((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/864e5}),(function(t){return t.getUTCDate()-1}))),ei=ni,ri=(ni.range,Ur((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));ri.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ur((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var ii=ri;ri.range;function oi(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ui(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ai(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var si,ci={"-":"",_:" ",0:"0"},li=/^\s*\d+/,fi=/^%/,hi=/[\\^$*+?|[\]().{}]/g;function pi(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function Ci(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Ti(t,n,e){var r=li.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Ai(t,n,e){var r=li.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function ki(t,n,e){var r=li.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Ni(t,n,e){var r=li.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Ui(t,n,e){var r=li.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Si(t,n,e){var r=li.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Di(t,n,e){var r=li.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Pi(t,n,e){var r=li.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Li(t,n,e){var r=li.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function ji(t,n,e){var r=fi.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ei(t,n,e){var r=li.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Ri(t,n,e){var r=li.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Oi(t,n){return pi(t.getDate(),n,2)}function Yi(t,n){return pi(t.getHours(),n,2)}function Fi(t,n){return pi(t.getHours()%12||12,n,2)}function Hi(t,n){return pi(1+Ir.count(Dr(t),t),n,3)}function qi(t,n){return pi(t.getMilliseconds(),n,3)}function Ii(t,n){return qi(t,n)+"000"}function zi(t,n){return pi(t.getMonth()+1,n,2)}function Vi(t,n){return pi(t.getMinutes(),n,2)}function $i(t,n){return pi(t.getSeconds(),n,2)}function Xi(t){var n=t.getDay();return 0===n?7:n}function Zi(t,n){return pi(jr.count(Dr(t)-1,t),n,2)}function Bi(t,n){var e=t.getDay();return t=e>=4||0===e?Yr(t):Yr.ceil(t),pi(Yr.count(Dr(t),t)+(4===Dr(t).getDay()),n,2)}function Wi(t){return t.getDay()}function Qi(t,n){return pi(Er.count(Dr(t)-1,t),n,2)}function Ji(t,n){return pi(t.getFullYear()%100,n,2)}function Gi(t,n){return pi(t.getFullYear()%1e4,n,4)}function Ki(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+pi(n/60|0,"0",2)+pi(n%60,"0",2)}function to(t,n){return pi(t.getUTCDate(),n,2)}function no(t,n){return pi(t.getUTCHours(),n,2)}function eo(t,n){return pi(t.getUTCHours()%12||12,n,2)}function ro(t,n){return pi(1+ei.count(ii(t),t),n,3)}function io(t,n){return pi(t.getUTCMilliseconds(),n,3)}function oo(t,n){return io(t,n)+"000"}function uo(t,n){return pi(t.getUTCMonth()+1,n,2)}function ao(t,n){return pi(t.getUTCMinutes(),n,2)}function so(t,n){return pi(t.getUTCSeconds(),n,2)}function co(t){var n=t.getUTCDay();return 0===n?7:n}function lo(t,n){return pi(Br.count(ii(t)-1,t),n,2)}function fo(t,n){var e=t.getUTCDay();return t=e>=4||0===e?Gr(t):Gr.ceil(t),pi(Gr.count(ii(t),t)+(4===ii(t).getUTCDay()),n,2)}function ho(t){return t.getUTCDay()}function po(t,n){return pi(Wr.count(ii(t)-1,t),n,2)}function vo(t,n){return pi(t.getUTCFullYear()%100,n,2)}function go(t,n){return pi(t.getUTCFullYear()%1e4,n,4)}function yo(){return"+0000"}function mo(){return"%"}function wo(t){return+t}function _o(t){return Math.floor(+t/1e3)}!function(t){si=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,u=t.shortDays,a=t.months,s=t.shortMonths,c=vi(i),l=gi(i),f=vi(o),h=gi(o),p=vi(u),d=gi(u),v=vi(a),g=gi(a),y=vi(s),m=gi(s),w={a:function(t){return u[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:Oi,e:Oi,f:Ii,H:Yi,I:Fi,j:Hi,L:qi,m:zi,M:Vi,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:wo,s:_o,S:$i,u:Xi,U:Zi,V:Bi,w:Wi,W:Qi,x:null,X:null,y:Ji,Y:Gi,Z:Ki,"%":mo},_={a:function(t){return u[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:to,e:to,f:oo,H:no,I:eo,j:ro,L:io,m:uo,M:ao,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:wo,s:_o,S:so,u:co,U:lo,V:fo,w:ho,W:po,x:null,X:null,y:vo,Y:go,Z:yo,"%":mo},x={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=d[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=h[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=m[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=g[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return C(t,n,e,r)},d:ki,e:ki,f:Li,H:Ui,I:Ui,j:Ni,L:Pi,m:Ai,M:Si,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l[r[0].toLowerCase()],e+r[0].length):-1},q:Ti,Q:Ei,s:Ri,S:Di,u:mi,U:wi,V:_i,w:yi,W:xi,x:function(t,n,r){return C(t,e,n,r)},X:function(t,n,e){return C(t,r,n,e)},y:Mi,Y:bi,Z:Ci,"%":ji};function b(t,n){return function(e){var r,i,o,u=[],a=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=ui(ai(o.y,0,1))).getUTCDay(),r=i>4||0===i?Wr.ceil(r):Wr(r),r=ei.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=oi(ai(o.y,0,1))).getDay(),r=i>4||0===i?Er.ceil(r):Er(r),r=Ir.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?ui(ai(o.y,0,1)).getUTCDay():oi(ai(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,ui(o)):oi(o)}}function C(t,n,e,r){for(var i,o,u=0,a=n.length,s=e.length;u=s)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=x[i in ci?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return w.x=b(e,w),w.X=b(r,w),w.c=b(n,w),_.x=b(e,_),_.X=b(r,_),_.c=b(n,_),{format:function(t){var n=b(t+="",w);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=b(t+="",_);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}(t),si.format,si.parse,si.utcFormat,si.utcParse}({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 xo=Ur((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),bo=(xo.range,Ur((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getUTCHours()}))),Mo=(bo.range,Ur((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+6e4*n)}),(function(t,n){return(n-t)/6e4}),(function(t){return t.getUTCMinutes()})));Mo.range;function Co(){this._=null}function To(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Ao(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function ko(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function No(t){for(;t.L;)t=t.L;return t}Co.prototype={constructor:Co,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=No(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(Ao(this,e),e=(t=e).U),e.C=!1,r.C=!0,ko(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(ko(this,e),e=(t=e).U),e.C=!1,r.C=!0,Ao(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,u=t.R;if(e=o?u?No(u):o:u,i?i.L===t?i.L=e:i.R=e:this._=e,o&&u?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==u?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=u,u.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,Ao(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,ko(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,Ao(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,ko(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Ao(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,ko(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Uo=Co;function So(t,n,e,r){var i=[null,null],o=tu.push(i)-1;return i.left=t,i.right=n,e&&Po(i,t,n,e),r&&Po(i,n,t,r),Go[t.index].halfedges.push(o),Go[n.index].halfedges.push(o),i}function Do(t,n,e){var r=[n,e];return r.left=t,r}function Po(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Lo(t,n,e,r,i){var o,u=t[0],a=t[1],s=u[0],c=u[1],l=0,f=1,h=a[0]-s,p=a[1]-c;if(o=n-s,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=r-s,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o0)){if(o/=p,p<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=i-c,p||!(o<0)){if(o/=p,p<0){if(o>f)return;o>l&&(l=o)}else if(p>0){if(o0||f<1)||(l>0&&(t[0]=[s+l*h,c+l*p]),f<1&&(t[1]=[s+f*h,c+f*p]),!0)}}}}}function jo(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,s=t[0],c=t.left,l=t.right,f=c[0],h=c[1],p=l[0],d=l[1],v=(f+p)/2,g=(h+d)/2;if(d===h){if(v=r)return;if(f>p){if(s){if(s[1]>=i)return}else s=[v,e];o=[v,i]}else{if(s){if(s[1]1)if(f>p){if(s){if(s[1]>=i)return}else s=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(s){if(s[1]=r)return}else s=[n,u*n+a];o=[r,u*r+a]}else{if(s){if(s[0]=-eu)){var p=s*s+c*c,d=l*l+f*f,v=(f*p-c*d)/h,g=(s*d-l*p)/h,y=Fo.pop()||new Ho;y.arc=t,y.site=i,y.x=v+u,y.y=(y.cy=g+a)+Math.sqrt(v*v+g*g),t.circle=y;for(var m=null,w=Ko._;w;)if(y.ynu)a=a.L;else{if(!((i=o-Qo(a,u))>nu)){r>-nu?(n=a.P,e=a):i>-nu?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){Go[t.index]={site:t,halfedges:[]}}(t);var s=$o(t);if(Jo.insert(n,s),n||e){if(n===e)return Io(n),e=$o(n.site),Jo.insert(s,e),s.edge=e.edge=So(n.site,s.site),qo(n),void qo(e);if(e){Io(n),Io(e);var c=n.site,l=c[0],f=c[1],h=t[0]-l,p=t[1]-f,d=e.site,v=d[0]-l,g=d[1]-f,y=2*(h*g-p*v),m=h*h+p*p,w=v*v+g*g,_=[(g*m-p*w)/y+l,(h*w-v*m)/y+f];Po(e.edge,c,d,_),s.edge=So(c,t,null,_),e.edge=So(t,d,null,_),qo(n),qo(e)}else s.edge=So(n.site,s.site)}}function Wo(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;var a=(e=u.site)[0],s=e[1],c=s-n;if(!c)return a;var l=a-r,f=1/o-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-s+c/2+i-o/2)))/f+r:(r+a)/2}function Qo(t,n){var e=t.N;if(e)return Wo(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var Jo,Go,Ko,tu,nu=1e-6,eu=1e-12;function ru(t,n){return n[1]-t[1]||n[0]-t[0]}function iu(t,n){var e,r,i,o=t.sort(ru).pop();for(tu=[],Go=new Array(t.length),Jo=new Uo,Ko=new Uo;;)if(i=Yo,o&&(!i||o[1]nu||Math.abs(i[0][1]-i[1][1])>nu)||delete tu[o]}(u,a,s,c),function(t,n,e,r){var i,o,u,a,s,c,l,f,h,p,d,v,g=Go.length,y=!0;for(i=0;inu||Math.abs(v-h)>nu)&&(s.splice(a,0,tu.push(Do(u,p,Math.abs(d-t)nu?[t,Math.abs(f-t)nu?[Math.abs(h-r)nu?[e,Math.abs(f-e)nu?[Math.abs(h-n)=a)return null;var s=t-i.site[0],c=n-i.site[1],l=s*s+c*c;do{i=o.cells[r=u],u=null,i.halfedges.forEach((function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var s=t-a[0],c=n-a[1],f=s*s+c*c;f0&&void 0!==arguments[0]?arguments[0]:-1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.random()*(n-t)+t},au="Name",su="Preferred Name (Display Name)",cu="Description (up to 100-150 words about yourself or your project abstract/motivation)",lu="Github Handle",fu=2500,hu=function(t){return t[su]||t[au]},pu=function(t){return t.toLowerCase().split(" ").join("_").split(",").join("_")},du=function(){return window.innerWidth},vu=function(){return window.innerHeight},gu=25,yu=1500,mu=35;function wu(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _u(t){for(var n=1;nt.length)&&(n=t.length);for(var e=0,r=new Array(n);eNu/Uu*ku&&this.resetPoints()}},{key:"resetPoints",value:function(){this.opacity=1,this.p1=_u({x:0,y:0},this.getRandomUnitVector()),this.p2=_u({x:0,y:0},this.getRandomUnitVector()),this.p3=_u({x:0,y:0},this.getRandomUnitVector()),this.count=0}},{key:"getRandomUnitVector",value:function(){var t=[uu(),uu()],n=t[0],e=t[1],r=Math.sqrt(Math.pow(n,2)+Math.pow(e,2));return{mx:n/r,my:e/r}}},{key:"calcCentroid",value:function(){var t=this.p1,n=this.p2,e=this.p3;return[(t.x+n.x+e.x)/3,(t.y+n.y+e.y)/3]}},{key:"updatePoint",value:function(t){var n=t.x,e=t.y,r=t.mx,i=t.my;return{x:n+r,y:e+i,mx:1.005*r,my:1.005*i}}}])&&Mu(n.prototype,e),r&&Mu(n,r),t}();function Du(t){return function(t){if(Array.isArray(t))return Pu(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"==typeof t)return Pu(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Pu(t,n)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pu(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);eInteractive Data Visualization Microsite \ No newline at end of file diff --git a/dist/main.e88d957c881b9c0ec16b.css b/dist/main.e88d957c881b9c0ec16b.css new file mode 100644 index 0000000..b76e751 --- /dev/null +++ b/dist/main.e88d957c881b9c0ec16b.css @@ -0,0 +1 @@ +body{font-family:"Open Sans"}div.container{padding:1em;position:relative;display:grid;grid-template-columns:3fr 1fr;grid-template-rows:100vh auto;z-index:1}canvas#animation{position:fixed;top:0;left:0;z-index:0}#page-title{position:sticky;top:3rem;height:fit-content;font-weight:700;font-size:4em;line-height:1.2em;opacity:0;transition:opacity 1000ms;color:transparent;-webkit-text-stroke:#000 2px}#page-title.visible{opacity:1}#student-list{position:relative;align-self:center}#student-list .row{opacity:0;transition:opacity 1000ms;cursor:pointer}#student-list .row.visible{opacity:1}#student-list .row:hover{font-weight:700}#content-wrapper{position:relative;padding:2rem;background-color:#fff}#content-wrapper .student{position:relative;border-bottom:.5px #000 solid;padding:1em 0}#content-wrapper .student .student-name{font-size:3em;font-weight:700;text-transform:uppercase}#content-wrapper .student .student-socials .github{height:1.5em}#content-wrapper .student .scroll-to-top{position:absolute;top:2em;right:1em;cursor:pointer} diff --git a/dist/public/siteData.csv b/dist/public/siteData.csv new file mode 100644 index 0000000..c5784ba --- /dev/null +++ b/dist/public/siteData.csv @@ -0,0 +1,29 @@ +Name,"Preferred Name (Display Name)","Description (up to 100-150 words about yourself or your project abstract/motivation)",Github Handle,Portfolio/Project Link,"Personal Website +(optional)","Portfolio/Project Title +(text that will link out to your site)" +"Beheraj,Kavya",Kavya Beheraj,"I developed two D3 projects: one uses machine learning to visualize the dominant color of paintings at the MoMA, the other is a narrative focused on challenges faced by Native American tribal schools in the US.",https://github.com/koffeeya,https://koffeeya.github.io/Interactive-Data-Viz-Portfolio/,,Interactive Data Visualization Portfolio (Spring 2020) +"Ceslov,Rodica",,,https://github.com/ThoughtfulMind,,, +"Chikurova,Nadezda",,,https://github.com/nchikurova,,, +"El Mouldi,Nadia",Nadia El Mouldi,I was motivated by my personal experience as a New Yorker and a Tunisian woman to create two data visualisation projects: the first is a mapping visualisation of New York City restaurants through their Health Inspection Grades in contrast with their Yelp Ratings. The second is a celebration of women writers from the Middle East and North Africa in which I highlight writers and their works.,https://github.com/NadiaElMouldi,https://github.com/NadiaElMouldi/Portfolio,, +"Kamal,Sheridan",,,https://github.com/sheri-kamal,,, +"Lakshmanan,Valliappan",Valli Lakshmanan,The world is pretty complicated. There are still so many things we don't know about it yet! Luckily we all have some great tools to help us explore that unkown. Numbers and Visuals. Im interested in finding a balance between those two tools so that we can explore those parts/ideas of the world that have yet to have some light shed on them,https://github.com/v-lax,https://v-lax.github.io/Portfolio/portfolio.html,,Interactive Data Visualization Portfolio (Spring 2020) +"Lissade,Merissa Kamilah",,,https://github.com/mlissade,,, +"Lugo,Vianny",,,https://github.com/vclugoar,,, +"Mekhtoub,Yazid",,,https://github.com/amazighy,,, +"Ramadani,Joanne",,,https://github.com/jramadani,,, +"Sibinga,Eva",,,https://github.com/esibinga,,, +"Vargas-feliz,Kathia",Kathia Vargas,,https://github.com/kathiavf16,,, +"Wilde,Annalisa",,,https://github.com/rawild,,, +"Maldonado,Elmer",,,https://github.com/elmithos,,, +"Bauer, Valerie M",,,https://github.com/valbauer,,, +"Campbell, Alyssa",,,https://github.com/alyssamcampbell,,, +"Carrington, Kiana A",,,https://github.com/kianac23,,, +"Cheng, Jennifer",,,https://github.com/cheje,,, +"Culpepper, Shannon Alyse",Shay Diamond,,https://github.com/shaypepper,,, +"Gong, Zhan",,,https://github.com/zhan-gong,,, +"Hossain, Rafayet",,,https://github.com/rhossain23,,, +"Johnson, Hope C",,,https://github.com/hjohns12,,, +"Liamis, Antonios",,,https://github.com/antonisliamis,,, +"Plummer, Matthew H",,,https://github.com/plummer-dataviz,,, +"Schimmel, Seth",,,https://github.com/sethsch,,, +"Brytun, Darya",,,https://github.com/daryabrytun,,, \ No newline at end of file