diff --git a/_layouts/post.html b/_layouts/post.html
index 7fe26b7..9b423d4 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -85,3 +85,4 @@
+
diff --git a/assets/js/home.js b/assets/js/home.js
index 6100be2..9fb12a1 100644
--- a/assets/js/home.js
+++ b/assets/js/home.js
@@ -1,2 +1,2 @@
/*! For license information please see home.js.LICENSE.txt */
-(()=>{var e={768:function(e){e.exports=function(){"use strict";for(var e=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),er?r:e},t=e,r={},n=0,a=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];n255)&&(e._clipped=!0),e[r]=t(e[r],0,255)):3===r&&(e[r]=t(e[r],0,1));return e},limit:e,type:c,unpack:function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==i(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==u(e[t])?e[t].toLowerCase():null},PI:f,TWOPI:2*f,PITHIRD:f/3,DEG2RAD:f/180,RAD2DEG:180/f},s={format:{},autodetect:[]},d=l.last,h=l.clip_rgb,p=l.type,g=s,b=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=this;if("object"===p(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var n=d(e),a=!1;if(!n){a=!0,g.sorted||(g.autodetect=g.autodetect.sort((function(e,t){return t.p-e.p})),g.sorted=!0);for(var o=0,c=g.autodetect;o4?e[4]:1;return 1===o?[0,0,0,c]:[r>=1?0:255*(1-r)*(1-o),n>=1?0:255*(1-n)*(1-o),a>=1?0:255*(1-a)*(1-o),c]},_=y,S=v,E=s,L=l.unpack,A=l.type,C=x;S.prototype.cmyk=function(){return C(this._rgb)},_.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(S,[null].concat(e,["cmyk"])))},E.format.cmyk=N,E.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=L(e,"cmyk"),"array"===A(e)&&4===e.length)return"cmyk"}});var O=l.unpack,P=l.last,q=function(e){return Math.round(100*e)/100},I=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=O(e,"hsla"),n=P(e)||"lsa";return r[0]=q(r[0]||0),r[1]=q(100*r[1])+"%",r[2]=q(100*r[2])+"%","hsla"===n||r.length>3&&r[3]<1?(r[3]=r.length>3?r[3]:1,n="hsla"):r.length=3,n+"("+r.join(",")+")"},j=l.unpack,D=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=j(e,"rgba"))[0],n=e[1],a=e[2];r/=255,n/=255,a/=255;var o,c,i=Math.min(r,n,a),u=Math.max(r,n,a),f=(u+i)/2;return u===i?(o=0,c=Number.NaN):o=f<.5?(u-i)/(u+i):(u-i)/(2-u-i),r==u?c=(n-a)/(u-i):n==u?c=2+(a-r)/(u-i):a==u&&(c=4+(r-n)/(u-i)),(c*=60)<0&&(c+=360),e.length>3&&void 0!==e[3]?[c,o,f,e[3]]:[c,o,f]},R=l.unpack,F=l.last,T=I,G=D,z=Math.round,B=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=R(e,"rgba"),n=F(e)||"rgb";return"hsl"==n.substr(0,3)?T(G(r),n):(r[0]=z(r[0]),r[1]=z(r[1]),r[2]=z(r[2]),("rgba"===n||r.length>3&&r[3]<1)&&(r[3]=r.length>3?r[3]:1,n="rgba"),n+"("+r.slice(0,"rgb"===n?3:4).join(",")+")")},Y=l.unpack,U=Math.round,V=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var n,a,o,c=(t=Y(t,"hsl"))[0],i=t[1],u=t[2];if(0===i)n=a=o=255*u;else{var f=[0,0,0],l=[0,0,0],s=u<.5?u*(1+i):u+i-u*i,d=2*u-s,h=c/360;f[0]=h+1/3,f[1]=h,f[2]=h-1/3;for(var p=0;p<3;p++)f[p]<0&&(f[p]+=1),f[p]>1&&(f[p]-=1),6*f[p]<1?l[p]=d+6*(s-d)*f[p]:2*f[p]<1?l[p]=s:3*f[p]<2?l[p]=d+(s-d)*(2/3-f[p])*6:l[p]=d;n=(e=[U(255*l[0]),U(255*l[1]),U(255*l[2])])[0],a=e[1],o=e[2]}return t.length>3?[n,a,o,t[3]]:[n,a,o,1]},$=V,H=s,J=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,X=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,K=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,W=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Z=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Q=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ee=Math.round,te=function(e){var t;if(e=e.toLowerCase().trim(),H.format.named)try{return H.format.named(e)}catch(e){}if(t=e.match(J)){for(var r=t.slice(1,4),n=0;n<3;n++)r[n]=+r[n];return r[3]=1,r}if(t=e.match(X)){for(var a=t.slice(1,5),o=0;o<4;o++)a[o]=+a[o];return a}if(t=e.match(K)){for(var c=t.slice(1,4),i=0;i<3;i++)c[i]=ee(2.55*c[i]);return c[3]=1,c}if(t=e.match(W)){for(var u=t.slice(1,5),f=0;f<3;f++)u[f]=ee(2.55*u[f]);return u[3]=+u[3],u}if(t=e.match(Z)){var l=t.slice(1,4);l[1]*=.01,l[2]*=.01;var s=$(l);return s[3]=1,s}if(t=e.match(Q)){var d=t.slice(1,4);d[1]*=.01,d[2]*=.01;var h=$(d);return h[3]=+t[4],h}};te.test=function(e){return J.test(e)||X.test(e)||K.test(e)||W.test(e)||Z.test(e)||Q.test(e)};var re=y,ne=v,ae=s,oe=l.type,ce=B,ie=te;ne.prototype.css=function(e){return ce(this._rgb,e)},re.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ne,[null].concat(e,["css"])))},ae.format.css=ie,ae.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===oe(e)&&ie.test(e))return"css"}});var ue=v,fe=y,le=l.unpack;s.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=le(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r},fe.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ue,[null].concat(e,["gl"])))},ue.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var se=l.unpack,de=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n=se(e,"rgb"),a=n[0],o=n[1],c=n[2],i=Math.min(a,o,c),u=Math.max(a,o,c),f=u-i,l=100*f/255,s=i/(255-f)*100;return 0===f?r=Number.NaN:(a===u&&(r=(o-c)/f),o===u&&(r=2+(c-a)/f),c===u&&(r=4+(a-o)/f),(r*=60)<0&&(r+=360)),[r,l,s]},he=l.unpack,pe=Math.floor,ge=function(){for(var e,t,r,n,a,o,c=[],i=arguments.length;i--;)c[i]=arguments[i];var u,f,l,s=(c=he(c,"hcg"))[0],d=c[1],h=c[2];h*=255;var p=255*d;if(0===d)u=f=l=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var g=pe(s/=60),b=s-g,v=h*(1-d),m=v+p*(1-b),y=v+p*b,w=v+p;switch(g){case 0:u=(e=[w,y,v])[0],f=e[1],l=e[2];break;case 1:u=(t=[m,w,v])[0],f=t[1],l=t[2];break;case 2:u=(r=[v,w,y])[0],f=r[1],l=r[2];break;case 3:u=(n=[v,m,w])[0],f=n[1],l=n[2];break;case 4:u=(a=[y,v,w])[0],f=a[1],l=a[2];break;case 5:u=(o=[w,v,m])[0],f=o[1],l=o[2]}}return[u,f,l,c.length>3?c[3]:1]},be=l.unpack,ve=l.type,me=y,ye=v,we=s,ke=de;ye.prototype.hcg=function(){return ke(this._rgb)},me.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ye,[null].concat(e,["hcg"])))},we.format.hcg=ge,we.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=be(e,"hcg"),"array"===ve(e)&&3===e.length)return"hcg"}});var xe=l.unpack,Me=l.last,Ne=Math.round,_e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=xe(e,"rgba"),n=r[0],a=r[1],o=r[2],c=r[3],i=Me(e)||"auto";void 0===c&&(c=1),"auto"===i&&(i=c<1?"rgba":"rgb");var u="000000"+((n=Ne(n))<<16|(a=Ne(a))<<8|(o=Ne(o))).toString(16);u=u.substr(u.length-6);var f="0"+Ne(255*c).toString(16);switch(f=f.substr(f.length-2),i.toLowerCase()){case"rgba":return"#"+u+f;case"argb":return"#"+f+u;default:return"#"+u}},Se=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ee=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Le=function(e){if(e.match(Se)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(Ee)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var r=parseInt(e,16);return[r>>24&255,r>>16&255,r>>8&255,Math.round((255&r)/255*100)/100]}throw new Error("unknown hex color: "+e)},Ae=y,Ce=v,Oe=l.type,Pe=s,qe=_e;Ce.prototype.hex=function(e){return qe(this._rgb,e)},Ae.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Ce,[null].concat(e,["hex"])))},Pe.format.hex=Le,Pe.autodetect.push({p:4,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===Oe(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var Ie=l.unpack,je=l.TWOPI,De=Math.min,Re=Math.sqrt,Fe=Math.acos,Te=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n=Ie(e,"rgb"),a=n[0],o=n[1],c=n[2],i=De(a/=255,o/=255,c/=255),u=(a+o+c)/3,f=u>0?1-i/u:0;return 0===f?r=NaN:(r=(a-o+(a-c))/2,r/=Re((a-o)*(a-o)+(a-c)*(o-c)),r=Fe(r),c>o&&(r=je-r),r/=je),[360*r,f,u]},Ge=l.unpack,ze=l.limit,Be=l.TWOPI,Ye=l.PITHIRD,Ue=Math.cos,Ve=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,o=(e=Ge(e,"hsi"))[0],c=e[1],i=e[2];return isNaN(o)&&(o=0),isNaN(c)&&(c=0),o>360&&(o-=360),o<0&&(o+=360),(o/=360)<1/3?n=1-((a=(1-c)/3)+(r=(1+c*Ue(Be*o)/Ue(Ye-Be*o))/3)):o<2/3?a=1-((r=(1-c)/3)+(n=(1+c*Ue(Be*(o-=1/3))/Ue(Ye-Be*o))/3)):r=1-((n=(1-c)/3)+(a=(1+c*Ue(Be*(o-=2/3))/Ue(Ye-Be*o))/3)),[255*(r=ze(i*r*3)),255*(n=ze(i*n*3)),255*(a=ze(i*a*3)),e.length>3?e[3]:1]},$e=l.unpack,He=l.type,Je=y,Xe=v,Ke=s,We=Te;Xe.prototype.hsi=function(){return We(this._rgb)},Je.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Xe,[null].concat(e,["hsi"])))},Ke.format.hsi=Ve,Ke.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=$e(e,"hsi"),"array"===He(e)&&3===e.length)return"hsi"}});var Ze=l.unpack,Qe=l.type,et=y,tt=v,rt=s,nt=D;tt.prototype.hsl=function(){return nt(this._rgb)},et.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(tt,[null].concat(e,["hsl"])))},rt.format.hsl=V,rt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ze(e,"hsl"),"array"===Qe(e)&&3===e.length)return"hsl"}});var at=l.unpack,ot=Math.min,ct=Math.max,it=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,o=(e=at(e,"rgb"))[0],c=e[1],i=e[2],u=ot(o,c,i),f=ct(o,c,i),l=f-u;return a=f/255,0===f?(r=Number.NaN,n=0):(n=l/f,o===f&&(r=(c-i)/l),c===f&&(r=2+(i-o)/l),i===f&&(r=4+(o-c)/l),(r*=60)<0&&(r+=360)),[r,n,a]},ut=l.unpack,ft=Math.floor,lt=function(){for(var e,t,r,n,a,o,c=[],i=arguments.length;i--;)c[i]=arguments[i];var u,f,l,s=(c=ut(c,"hsv"))[0],d=c[1],h=c[2];if(h*=255,0===d)u=f=l=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var p=ft(s/=60),g=s-p,b=h*(1-d),v=h*(1-d*g),m=h*(1-d*(1-g));switch(p){case 0:u=(e=[h,m,b])[0],f=e[1],l=e[2];break;case 1:u=(t=[v,h,b])[0],f=t[1],l=t[2];break;case 2:u=(r=[b,h,m])[0],f=r[1],l=r[2];break;case 3:u=(n=[b,v,h])[0],f=n[1],l=n[2];break;case 4:u=(a=[m,b,h])[0],f=a[1],l=a[2];break;case 5:u=(o=[h,b,v])[0],f=o[1],l=o[2]}}return[u,f,l,c.length>3?c[3]:1]},st=l.unpack,dt=l.type,ht=y,pt=v,gt=s,bt=it;pt.prototype.hsv=function(){return bt(this._rgb)},ht.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(pt,[null].concat(e,["hsv"])))},gt.format.hsv=lt,gt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=st(e,"hsv"),"array"===dt(e)&&3===e.length)return"hsv"}});var vt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},mt=vt,yt=l.unpack,wt=Math.pow,kt=function(e){return(e/=255)<=.04045?e/12.92:wt((e+.055)/1.055,2.4)},xt=function(e){return e>mt.t3?wt(e,1/3):e/mt.t2+mt.t0},Mt=function(e,t,r){return e=kt(e),t=kt(t),r=kt(r),[xt((.4124564*e+.3575761*t+.1804375*r)/mt.Xn),xt((.2126729*e+.7151522*t+.072175*r)/mt.Yn),xt((.0193339*e+.119192*t+.9503041*r)/mt.Zn)]},Nt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=yt(e,"rgb"),n=r[0],a=r[1],o=r[2],c=Mt(n,a,o),i=c[0],u=c[1],f=116*u-16;return[f<0?0:f,500*(i-u),200*(u-c[2])]},_t=vt,St=l.unpack,Et=Math.pow,Lt=function(e){return 255*(e<=.00304?12.92*e:1.055*Et(e,1/2.4)-.055)},At=function(e){return e>_t.t1?e*e*e:_t.t2*(e-_t.t0)},Ct=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,o=(e=St(e,"lab"))[0],c=e[1],i=e[2];return n=(o+16)/116,r=isNaN(c)?n:n+c/500,a=isNaN(i)?n:n-i/200,n=_t.Yn*At(n),r=_t.Xn*At(r),a=_t.Zn*At(a),[Lt(3.2404542*r-1.5371385*n-.4985314*a),Lt(-.969266*r+1.8760108*n+.041556*a),Lt(.0556434*r-.2040259*n+1.0572252*a),e.length>3?e[3]:1]},Ot=l.unpack,Pt=l.type,qt=y,It=v,jt=s,Dt=Nt;It.prototype.lab=function(){return Dt(this._rgb)},qt.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(It,[null].concat(e,["lab"])))},jt.format.lab=Ct,jt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ot(e,"lab"),"array"===Pt(e)&&3===e.length)return"lab"}});var Rt=l.unpack,Ft=l.RAD2DEG,Tt=Math.sqrt,Gt=Math.atan2,zt=Math.round,Bt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Rt(e,"lab"),n=r[0],a=r[1],o=r[2],c=Tt(a*a+o*o),i=(Gt(o,a)*Ft+360)%360;return 0===zt(1e4*c)&&(i=Number.NaN),[n,c,i]},Yt=l.unpack,Ut=Nt,Vt=Bt,$t=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Yt(e,"rgb"),n=r[0],a=r[1],o=r[2],c=Ut(n,a,o),i=c[0],u=c[1],f=c[2];return Vt(i,u,f)},Ht=l.unpack,Jt=l.DEG2RAD,Xt=Math.sin,Kt=Math.cos,Wt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Ht(e,"lch"),n=r[0],a=r[1],o=r[2];return isNaN(o)&&(o=0),[n,Kt(o*=Jt)*a,Xt(o)*a]},Zt=l.unpack,Qt=Wt,er=Ct,tr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=Zt(e,"lch"))[0],n=e[1],a=e[2],o=Qt(r,n,a),c=o[0],i=o[1],u=o[2],f=er(c,i,u);return[f[0],f[1],f[2],e.length>3?e[3]:1]},rr=l.unpack,nr=tr,ar=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=rr(e,"hcl").reverse();return nr.apply(void 0,r)},or=l.unpack,cr=l.type,ir=y,ur=v,fr=s,lr=$t;ur.prototype.lch=function(){return lr(this._rgb)},ur.prototype.hcl=function(){return lr(this._rgb).reverse()},ir.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ur,[null].concat(e,["lch"])))},ir.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ur,[null].concat(e,["hcl"])))},fr.format.lch=tr,fr.format.hcl=ar,["lch","hcl"].forEach((function(e){return fr.autodetect.push({p:2,test:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if(t=or(t,e),"array"===cr(t)&&3===t.length)return e}})}));var sr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},dr=s,hr=l.type,pr=sr,gr=Le,br=_e;v.prototype.name=function(){for(var e=br(this._rgb,"rgb"),t=0,r=Object.keys(pr);t0;)t[r]=arguments[r+1];if(!t.length&&"string"===hr(e)&&pr[e.toLowerCase()])return"named"}});var vr=l.unpack,mr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=vr(e,"rgb");return(r[0]<<16)+(r[1]<<8)+r[2]},yr=l.type,wr=y,kr=v,xr=s,Mr=l.type,Nr=mr;kr.prototype.num=function(){return Nr(this._rgb)},wr.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(kr,[null].concat(e,["num"])))},xr.format.num=function(e){if("number"==yr(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},xr.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===Mr(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var _r=y,Sr=v,Er=s,Lr=l.unpack,Ar=l.type,Cr=Math.round;Sr.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Cr)},Sr.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,r){return r<3?!1===e?t:Cr(t):t}))},_r.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Sr,[null].concat(e,["rgb"])))},Er.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Lr(e,"rgba");return void 0===r[3]&&(r[3]=1),r},Er.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Lr(e,"rgba"),"array"===Ar(e)&&(3===e.length||4===e.length&&"number"==Ar(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var Or=Math.log,Pr=function(e){var t,r,n,a=e/100;return a<66?(t=255,r=a<6?0:-155.25485562709179-.44596950469579133*(r=a-2)+104.49216199393888*Or(r),n=a<20?0:.8274096064007395*(n=a-10)-254.76935184120902+115.67994401066147*Or(n)):(t=351.97690566805693+.114206453784165*(t=a-55)-40.25366309332127*Or(t),r=325.4494125711974+.07943456536662342*(r=a-50)-28.0852963507957*Or(r),n=255),[t,r,n,1]},qr=Pr,Ir=l.unpack,jr=Math.round,Dr=y,Rr=v,Fr=s,Tr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r,n=Ir(e,"rgb"),a=n[0],o=n[2],c=1e3,i=4e4;i-c>.4;){var u=qr(r=.5*(i+c));u[2]/u[0]>=o/a?i=r:c=r}return jr(r)};Rr.prototype.temp=Rr.prototype.kelvin=Rr.prototype.temperature=function(){return Tr(this._rgb)},Dr.temp=Dr.kelvin=Dr.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Rr,[null].concat(e,["temp"])))},Fr.format.temp=Fr.format.kelvin=Fr.format.temperature=Pr;var Gr=l.unpack,zr=Math.cbrt,Br=Math.pow,Yr=Math.sign,Ur=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Gr(e,"rgb"),n=r[0],a=r[1],o=r[2],c=[Vr(n/255),Vr(a/255),Vr(o/255)],i=c[0],u=c[1],f=c[2],l=zr(.4122214708*i+.5363325363*u+.0514459929*f),s=zr(.2119034982*i+.6806995451*u+.1073969566*f),d=zr(.0883024619*i+.2817188376*u+.6299787005*f);return[.2104542553*l+.793617785*s-.0040720468*d,1.9779984951*l-2.428592205*s+.4505937099*d,.0259040371*l+.7827717662*s-.808675766*d]};function Vr(e){var t=Math.abs(e);return t<.04045?e/12.92:(Yr(e)||1)*Br((t+.055)/1.055,2.4)}var $r=l.unpack,Hr=Math.pow,Jr=Math.sign,Xr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=$r(e,"lab"))[0],n=e[1],a=e[2],o=Hr(r+.3963377774*n+.2158037573*a,3),c=Hr(r-.1055613458*n-.0638541728*a,3),i=Hr(r-.0894841775*n-1.291485548*a,3);return[255*Kr(4.0767416621*o-3.3077115913*c+.2309699292*i),255*Kr(-1.2684380046*o+2.6097574011*c-.3413193965*i),255*Kr(-.0041960863*o-.7034186147*c+1.707614701*i),e.length>3?e[3]:1]};function Kr(e){var t=Math.abs(e);return t>.0031308?(Jr(e)||1)*(1.055*Hr(t,1/2.4)-.055):12.92*e}var Wr=l.unpack,Zr=l.type,Qr=y,en=v,tn=s,rn=Ur;en.prototype.oklab=function(){return rn(this._rgb)},Qr.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(en,[null].concat(e,["oklab"])))},tn.format.oklab=Xr,tn.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Wr(e,"oklab"),"array"===Zr(e)&&3===e.length)return"oklab"}});var nn=l.unpack,an=Ur,on=Bt,cn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=nn(e,"rgb"),n=r[0],a=r[1],o=r[2],c=an(n,a,o),i=c[0],u=c[1],f=c[2];return on(i,u,f)},un=l.unpack,fn=Wt,ln=Xr,sn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=un(e,"lch"))[0],n=e[1],a=e[2],o=fn(r,n,a),c=o[0],i=o[1],u=o[2],f=ln(c,i,u);return[f[0],f[1],f[2],e.length>3?e[3]:1]},dn=l.unpack,hn=l.type,pn=y,gn=v,bn=s,vn=cn;gn.prototype.oklch=function(){return vn(this._rgb)},pn.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(gn,[null].concat(e,["oklch"])))},bn.format.oklch=sn,bn.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=dn(e,"oklch"),"array"===hn(e)&&3===e.length)return"oklch"}});var mn=v,yn=l.type;mn.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===yn(e)?t?(this._rgb[3]=e,this):new mn([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},v.prototype.clipped=function(){return this._rgb._clipped||!1};var wn=v,kn=vt;wn.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=kn.Kn*e,new wn(t,"lab").alpha(this.alpha(),!0)},wn.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},wn.prototype.darker=wn.prototype.darken,wn.prototype.brighter=wn.prototype.brighten,v.prototype.get=function(e){var t=e.split("."),r=t[0],n=t[1],a=this[r]();if(n){var o=r.indexOf(n)-("ok"===r.substr(0,2)?2:0);if(o>-1)return a[o];throw new Error("unknown channel "+n+" in mode "+r)}return a};var xn=v,Mn=l.type,Nn=Math.pow;xn.prototype.luminance=function(e){if(void 0!==e&&"number"===Mn(e)){if(0===e)return new xn([0,0,0,this._rgb[3]],"rgb");if(1===e)return new xn([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),r=20,n=function(t,a){var o=t.interpolate(a,.5,"rgb"),c=o.luminance();return Math.abs(e-c)<1e-7||!r--?o:c>e?n(t,o):n(o,a)},a=(t>e?n(new xn([0,0,0]),this):n(this,new xn([255,255,255]))).rgb();return new xn(a.concat([this._rgb[3]]))}return _n.apply(void 0,this._rgb.slice(0,3))};var _n=function(e,t,r){return.2126*(e=Sn(e))+.7152*(t=Sn(t))+.0722*Sn(r)},Sn=function(e){return(e/=255)<=.03928?e/12.92:Nn((e+.055)/1.055,2.4)},En={},Ln=v,An=l.type,Cn=En,On=function(e,t,r){void 0===r&&(r=.5);for(var n=[],a=arguments.length-3;a-- >0;)n[a]=arguments[a+3];var o=n[0]||"lrgb";if(Cn[o]||n.length||(o=Object.keys(Cn)[0]),!Cn[o])throw new Error("interpolation mode "+o+" is not defined");return"object"!==An(e)&&(e=new Ln(e)),"object"!==An(t)&&(t=new Ln(t)),Cn[o](e,t,r).alpha(e.alpha()+r*(t.alpha()-e.alpha()))},Pn=v,qn=On;Pn.prototype.mix=Pn.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return qn.apply(void 0,[this,e,t].concat(r))};var In=v;In.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,r=t[3];return e?(this._rgb=[t[0]*r,t[1]*r,t[2]*r,r],this):new In([t[0]*r,t[1]*r,t[2]*r,r],"rgb")};var jn=v,Dn=vt;jn.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=Dn.Kn*e,t[1]<0&&(t[1]=0),new jn(t,"lch").alpha(this.alpha(),!0)},jn.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var Rn=v,Fn=l.type;Rn.prototype.set=function(e,t,r){void 0===r&&(r=!1);var n=e.split("."),a=n[0],o=n[1],c=this[a]();if(o){var i=a.indexOf(o)-("ok"===a.substr(0,2)?2:0);if(i>-1){if("string"==Fn(t))switch(t.charAt(0)){case"+":case"-":c[i]+=+t;break;case"*":c[i]*=+t.substr(1);break;case"/":c[i]/=+t.substr(1);break;default:c[i]=+t}else{if("number"!==Fn(t))throw new Error("unsupported value for Color.set");c[i]=t}var u=new Rn(c,a);return r?(this._rgb=u._rgb,this):u}throw new Error("unknown channel "+o+" in mode "+a)}return c};var Tn=v;En.rgb=function(e,t,r){var n=e._rgb,a=t._rgb;return new Tn(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"rgb")};var Gn=v,zn=Math.sqrt,Bn=Math.pow;En.lrgb=function(e,t,r){var n=e._rgb,a=n[0],o=n[1],c=n[2],i=t._rgb,u=i[0],f=i[1],l=i[2];return new Gn(zn(Bn(a,2)*(1-r)+Bn(u,2)*r),zn(Bn(o,2)*(1-r)+Bn(f,2)*r),zn(Bn(c,2)*(1-r)+Bn(l,2)*r),"rgb")};var Yn=v;En.lab=function(e,t,r){var n=e.lab(),a=t.lab();return new Yn(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"lab")};var Un=v,Vn=function(e,t,r,n){var a,o,c,i,u,f,l,s,d,h,p,g,b;return"hsl"===n?(c=e.hsl(),i=t.hsl()):"hsv"===n?(c=e.hsv(),i=t.hsv()):"hcg"===n?(c=e.hcg(),i=t.hcg()):"hsi"===n?(c=e.hsi(),i=t.hsi()):"lch"===n||"hcl"===n?(n="hcl",c=e.hcl(),i=t.hcl()):"oklch"===n&&(c=e.oklch().reverse(),i=t.oklch().reverse()),"h"!==n.substr(0,1)&&"oklch"!==n||(u=(a=c)[0],l=a[1],d=a[2],f=(o=i)[0],s=o[1],h=o[2]),isNaN(u)||isNaN(f)?isNaN(u)?isNaN(f)?g=Number.NaN:(g=f,1!=d&&0!=d||"hsv"==n||(p=s)):(g=u,1!=h&&0!=h||"hsv"==n||(p=l)):g=u+r*(f>u&&f-u>180?f-(u+360):f180?f+360-u:f-u),void 0===p&&(p=l+r*(s-l)),b=d+r*(h-d),new Un("oklch"===n?[b,p,g]:[g,p,b],n)},$n=Vn,Hn=function(e,t,r){return $n(e,t,r,"lch")};En.lch=Hn,En.hcl=Hn;var Jn=v;En.num=function(e,t,r){var n=e.num(),a=t.num();return new Jn(n+r*(a-n),"num")};var Xn=Vn;En.hcg=function(e,t,r){return Xn(e,t,r,"hcg")};var Kn=Vn;En.hsi=function(e,t,r){return Kn(e,t,r,"hsi")};var Wn=Vn;En.hsl=function(e,t,r){return Wn(e,t,r,"hsl")};var Zn=Vn;En.hsv=function(e,t,r){return Zn(e,t,r,"hsv")};var Qn=v;En.oklab=function(e,t,r){var n=e.oklab(),a=t.oklab();return new Qn(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"oklab")};var ea=Vn;En.oklch=function(e,t,r){return ea(e,t,r,"oklch")};var ta=v,ra=l.clip_rgb,na=Math.pow,aa=Math.sqrt,oa=Math.PI,ca=Math.cos,ia=Math.sin,ua=Math.atan2,fa=function(e,t){for(var r=e.length,n=[0,0,0,0],a=0;a.9999999&&(n[3]=1),new ta(ra(n))},la=y,sa=l.type,da=Math.pow,ha=function(e){var t="rgb",r=la("#ccc"),n=0,a=[0,1],o=[],c=[0,0],i=!1,u=[],f=!1,l=0,s=1,d=!1,h={},p=!0,g=1,b=function(e){if((e=e||["#fff","#000"])&&"string"===sa(e)&&la.brewer&&la.brewer[e.toLowerCase()]&&(e=la.brewer[e.toLowerCase()]),"array"===sa(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t2?function(e){if(null!=i){for(var t=i.length-1,r=0;r=i[r];)r++;return r-1}return 0}(e)/(i.length-2):s!==l?(e-l)/(s-l):1,f=m(f),n||(f=v(f)),1!==g&&(f=da(f,g)),f=c[0]+f*(1-c[0]-c[1]),f=Math.min(1,Math.max(0,f));var d=Math.floor(1e4*f);if(p&&h[d])a=h[d];else{if("array"===sa(u))for(var b=0;b=y&&b===o.length-1){a=u[b];break}if(f>y&&f2){var f=e.map((function(t,r){return r/(e.length-1)})),d=e.map((function(e){return(e-l)/(s-l)}));d.every((function(e,t){return f[t]===e}))||(m=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var r=(e-d[t])/(d[t+1]-d[t]);return f[t]+r*(f[t+1]-f[t])})}}return a=[l,s],k},k.mode=function(e){return arguments.length?(t=e,w(),k):t},k.range=function(e,t){return b(e),k},k.out=function(e){return f=e,k},k.spread=function(e){return arguments.length?(n=e,k):n},k.correctLightness=function(e){return null==e&&(e=!0),d=e,w(),v=d?function(e){for(var t=y(0,!0).lab()[0],r=y(1,!0).lab()[0],n=t>r,a=y(e,!0).lab()[0],o=t+(r-t)*e,c=a-o,i=0,u=1,f=20;Math.abs(c)>.01&&f-- >0;)n&&(c*=-1),c<0?(i=e,e+=.5*(u-e)):(u=e,e+=.5*(i-e)),c=(a=y(e,!0).lab()[0])-o;return e}:function(e){return e},k},k.padding=function(e){return null!=e?("number"===sa(e)&&(e=[e,e]),c=e,k):c},k.colors=function(t,r){arguments.length<2&&(r="hex");var n=[];if(0===arguments.length)n=u.slice(0);else if(1===t)n=[k(.5)];else if(t>1){var o=a[0],c=a[1]-o;n=function(e,t,r){for(var n=[],a=eo;a?c++:c--)n.push(c);return n}(0,t,!1).map((function(e){return k(o+e/(t-1)*c)}))}else{e=[];var f=[];if(i&&i.length>2)for(var l=1,s=i.length,d=1<=s;d?ls;d?l++:l--)f.push(.5*(i[l-1]+i[l]));else f=a;n=f.map((function(e){return k(e)}))}return la[r]&&(n=n.map((function(e){return e[r]()}))),n},k.cache=function(e){return null!=e?(p=e,k):p},k.gamma=function(e){return null!=e?(g=e,k):g},k.nodata=function(e){return null!=e?(r=la(e),k):r},k};var pa=v,ga=ha,ba=y,va=function(e,t,r){if(!va[r])throw new Error("unknown blend mode "+r);return va[r](e,t)},ma=function(e){return function(t,r){var n=ba(r).rgb(),a=ba(t).rgb();return ba.rgb(e(n,a))}},ya=function(e){return function(t,r){var n=[];return n[0]=e(t[0],r[0]),n[1]=e(t[1],r[1]),n[2]=e(t[2],r[2]),n}};va.normal=ma(ya((function(e){return e}))),va.multiply=ma(ya((function(e,t){return e*t/255}))),va.screen=ma(ya((function(e,t){return 255*(1-(1-e/255)*(1-t/255))}))),va.overlay=ma(ya((function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))}))),va.darken=ma(ya((function(e,t){return e>t?t:e}))),va.lighten=ma(ya((function(e,t){return e>t?e:t}))),va.dodge=ma(ya((function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e}))),va.burn=ma(ya((function(e,t){return 255*(1-(1-t/255)/(e/255))})));for(var wa=va,ka=l.type,xa=l.clip_rgb,Ma=l.TWOPI,Na=Math.pow,_a=Math.sin,Sa=Math.cos,Ea=y,La=v,Aa=Math.floor,Ca=Math.random,Oa=c,Pa=Math.log,qa=Math.pow,Ia=Math.floor,ja=Math.abs,Da=function(e,t){void 0===t&&(t=null);var r={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Oa(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===Oa(e)&&(e=e[t]),null==e||isNaN(e)||(r.values.push(e),r.sum+=e,er.max&&(r.max=e),r.count+=1)})),r.domain=[r.min,r.max],r.limits=function(e,t){return Ra(r,e,t)},r},Ra=function(e,t,r){void 0===t&&(t="equal"),void 0===r&&(r=7),"array"==Oa(e)&&(e=Da(e));var n=e.min,a=e.max,o=e.values.sort((function(e,t){return e-t}));if(1===r)return[n,a];var c=[];if("c"===t.substr(0,1)&&(c.push(n),c.push(a)),"e"===t.substr(0,1)){c.push(n);for(var i=1;i 0");var u=Math.LOG10E*Pa(n),f=Math.LOG10E*Pa(a);c.push(n);for(var l=1;l200&&(y=!1)}for(var j={},D=0;D=360;)p-=360;c[h]=p}else c[h]=c[h]/i[h];return d/=n,new ta(c,t).alpha(d>.99999?1:d,!0)},io.bezier=function(e){var t=function(e){var t,r,n,a,o,c,i;if(2===(e=e.map((function(e){return new pa(e)}))).length)t=e.map((function(e){return e.lab()})),o=t[0],c=t[1],a=function(e){var t=[0,1,2].map((function(t){return o[t]+e*(c[t]-o[t])}));return new pa(t,"lab")};else if(3===e.length)r=e.map((function(e){return e.lab()})),o=r[0],c=r[1],i=r[2],a=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*o[t]+2*(1-e)*e*c[t]+e*e*i[t]}));return new pa(t,"lab")};else if(4===e.length){var u;n=e.map((function(e){return e.lab()})),o=n[0],c=n[1],i=n[2],u=n[3],a=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*o[t]+3*(1-e)*(1-e)*e*c[t]+3*(1-e)*e*e*i[t]+e*e*e*u[t]}));return new pa(t,"lab")}}else{if(!(e.length>=5))throw new RangeError("No point in running bezier with only one color.");var f,l,s;f=e.map((function(e){return e.lab()})),s=e.length-1,l=function(e){for(var t=[1,1],r=1;rn?(r+.05)/(n+.05):(n+.05)/(r+.05)},io.deltaE=function(e,t,r,n,a){void 0===r&&(r=1),void 0===n&&(n=1),void 0===a&&(a=1);var o=function(e){return 360*e/(2*Ka)},c=function(e){return 2*Ka*e/360};e=new Ga(e),t=new Ga(t);var i=Array.from(e.lab()),u=i[0],f=i[1],l=i[2],s=Array.from(t.lab()),d=s[0],h=s[1],p=s[2],g=(u+d)/2,b=(za(Ba(f,2)+Ba(l,2))+za(Ba(h,2)+Ba(p,2)))/2,v=.5*(1-za(Ba(b,7)/(Ba(b,7)+Ba(25,7)))),m=f*(1+v),y=h*(1+v),w=za(Ba(m,2)+Ba(l,2)),k=za(Ba(y,2)+Ba(p,2)),x=(w+k)/2,M=o(Va(l,m)),N=o(Va(p,y)),_=M>=0?M:M+360,S=N>=0?N:N+360,E=$a(_-S)>180?(_+S+360)/2:(_+S)/2,L=1-.17*Ha(c(E-30))+.24*Ha(c(2*E))+.32*Ha(c(3*E+6))-.2*Ha(c(4*E-63)),A=S-_;A=$a(A)<=180?A:S<=_?A+360:A-360,A=2*za(w*k)*Ja(c(A)/2);var C=d-u,O=k-w,P=1+.015*Ba(g-50,2)/za(20+Ba(g-50,2)),q=1+.045*x,I=1+.015*x*L,j=30*Xa(-Ba((E-275)/25,2)),D=-2*za(Ba(x,7)/(Ba(x,7)+Ba(25,7)))*Ja(2*c(j)),R=za(Ba(C/(r*P),2)+Ba(O/(n*q),2)+Ba(A/(a*I),2)+D*(O/(n*q))*(A/(a*I)));return Ua(0,Ya(100,R))},io.distance=function(e,t,r){void 0===r&&(r="lab"),e=new Wa(e),t=new Wa(t);var n=e.get(r),a=t.get(r),o=0;for(var c in n){var i=(n[c]||0)-(a[c]||0);o+=i*i}return Math.sqrt(o)},io.limits=Fa.limits,io.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(Za,[null].concat(e))),!0}catch(e){return!1}},io.scales=to,io.colors=sr,io.brewer=co,io}()}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";document.querySelector(".prompt"),document.querySelector("html");var e=function(e){e.setAttribute("open","")},t=function(e){e.removeAttribute("open")},n=function(e){e.classList.remove("recede")};document.addEventListener("keydown",(function(e){"/"===e.key&&(e.preventDefault(),history.replaceState(null,"","#console"))}));var a=r(768),o=r.n(a),c=function(e){return e.rgb().join(", ")},i=function(e){return"rgb("+e.rgb().join(", ")+")"},u=function(e){fetch("https://api.pushover.net/1/messages.json",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:"a636654jy5djvuc69zgnu4i9rwsx1i",user:"u1vakvq997948t561jq896gwkw2w81",message:e})})},f=function(e){var t,r=e[0];if(r.startsWith("PS1=")){var n=r.slice(4).trim();return document.querySelectorAll(".system-prompt").forEach((function(e){e.textContent=n})),t=n,localStorage.setItem("PS1",t),"Prompt character changed to ".concat(n)}if(r.startsWith("ACCENT_COLOR=")){var a=e.join(" ").slice(13).trim();return function(e){try{if(u=e,!o().valid(u))return!1;var t=function(e){var t=e.luminance();t<.15?e=e.luminance(.15):t>.85&&(e=e.luminance(.85));var r=e.get("hsl.s");return e.set("hsl.s",Math.min(r,.85))}(o()(e)),r=function(e){if(0===e.get("hsl.s")){var t=["#00796b","#00acc1","#1976d2","#2196f3"];return o()(t[Math.floor(Math.random()*t.length)]).set("hsl.s",1)}var r=e.set("hsl.s",1);if(r.set("hsl.l",.5),o().contrast(r,e)>=1.75)return r;for(var n=1;n<=20;n++){var a=r.set("hsl.l",r.get("hsl.l")+.05*n);if(o().contrast(a,e)>=1.75)return a}return r}(t),n=function(e){return e.luminance()<.95?e.brighten(.5):e.darken(.05)}(t),a=function(e){return e.get("hsl.s")<.2}(r)?"underline":"none";return function(e,t,r,n){localStorage.setItem("ACCENT_COLOR",i(e)),localStorage.setItem("LINK_COLOR",i(t)),localStorage.setItem("LINK_COLOR_HOVER",i(r)),localStorage.setItem("LINK_DECORATION",n)}(t,r,n,a),function(e,t,r,n){document.documentElement.style.setProperty("--accent-color-base",c(e)),document.documentElement.style.setProperty("--accent-color-link",i(t)),document.documentElement.style.setProperty("--accent-color-link-hover",i(r)),document.documentElement.style.setProperty("--link-decoration",n)}(t,r,n,a),!0}catch(e){return console.error(e),!1}var u}(a)?"Accent changed to ".concat(a):"Invalid color. Please provide: #000000, rgb(0, 0, 0) or any valid css color."}return"Invalid export command. Usage: export PS1=$, export ACCENT_COLOR=#"},l=function(){var e=Math.floor(Math.random()*h.length);return h[e]},s={ping:{execute:function(e){try{return u(e.join(" ")),"Message sent to my phone"}catch(e){return"Error sending message"}},description:"Sends a message to the me",flags:{}},clear:{execute:function(e){for(var t=document.querySelector(".stdout-log");null==t?void 0:t.firstChild;)t.removeChild(t.firstChild);return"Console cleared"},description:"Clears the terminal screen",flags:{}},echo:{execute:function(e){return t=e.join(" "),(r=document.createElement("div")).classList.add("oval"),r.innerText=t,r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.zIndex="500",r.style.left="50px",r.style.top="50px",document.body.appendChild(r),r.classList.add("oval-animate"),r.addEventListener("animationend",(function(){document.body.removeChild(r)})),"Echo effect triggered for ".concat(e.join(" "));var t,r},description:"Prints back the input received",flags:{}},ls:{execute:function(e){return"file1.txt\nfile2.txt\nfile3.txt"},description:"Lists all available files",flags:{}},about:{execute:function(e){return'I’m a passionate software engineer dedicated to crafting interfaces that delight users and make a difference. Currently, I’m a Software Engineer at JupiterOne , where I advocate for user experience and get to build impactful features every day.'},description:"Displays about information",flags:{}},help:{execute:function(e){for(var t="Available commands:\n",r=0,n=Object.entries(s);r")},description:"Shows help information about all commands",flags:{}},date:{execute:function(e){return(new Date).toString()},description:"Displays the current date and time",flags:{}},whoami:{execute:function(e){return"Karson, Frontend Developer"},description:"Displays user information",flags:{}},skills:{execute:function(e){return e.includes("--languages")?"TypeScript, JavaScript, CSS":e.includes("-l")?"Frontend Development, React, UX Design, TypeScript, JavaScript, Node A11y, Agile, User-Centered Design":"Frontend Development, React, UX Design, TypeScript, JavaScript"},description:"Lists all my skills",flags:{"--languages":"Lists programming languages I know","-l":"Lists all my skills"}},projects:{execute:function(e){return"Projects: "},description:"Lists all my projects",flags:{}},education:{execute:function(e){return'B.S. Digital Marketing, Utah Valley University (2010 - 2014)\n Software Engineering Immersive Flatiron School (2017)\n '},description:"Displays my educational background",flags:{}},experience:{execute:function(e){return'Software Engineer, Applications, JupiterOne (October 2021 - Present)\n Natural Language Querying\n − Designed and developed the integration of generative AI into our search experience, converting natural language to our query language. Resulted in one of our highest adoption rates and helped accelerate platform time-to-value.\n − Implemented a vector database embedding cache, improving query response times and reducing operational costs.\n − Implemented Natural Language Processing (NLP) techniques including fuzzy matching and stop word filtering to enhance search precision.\n\n Design System Development\n − Spearheaded the development of JupiterOne’s design system, including creation of a comprehensive component library, design tokens, and theming system. Helping to streamline the development process and enabling engineers to focus on core feature development.\n − Crafted standardized-yet-customizable component APIs through a mix of composability, customization, and "component slots". Balanced flexibility with ease-of-use, allowing for customization without excessive rigidity. Leveraged standard naming conventions and JSDoc for streamlined development.\n '},description:"Displays my work experience",flags:{}},export:{execute:f,description:"Exports a variable",flags:{}},restore:{execute:function(e){var t=localStorage.getItem("PS1");t&&f(["PS1="+t]);var r=localStorage.getItem("ACCENT_COLOR");return r&&f(["ACCENT_COLOR="+r]),"Restored terminal settings"},description:"Restores terminal settings",flags:{}}},d={cd:{execute:l},rm:{execute:l},sudo:{execute:l},mv:{execute:l},chmod:{execute:l},chown:{execute:l},mkdir:{execute:l},ls:{execute:l},cat:{execute:l},ps:{execute:l},top:{execute:l},vi:{execute:l},nano:{execute:l},exit:{execute:l},man:{execute:l},grep:{execute:l},find:{execute:l},pwd:{execute:l},df:{execute:l},du:{execute:l},curl:{execute:l},wget:{execute:l},ifconfig:{execute:l}},h=["Nice try, but this isn't a real terminal!","You're not fooling anyone.","Did you really think that would work?","You must think you're pretty clever, huh?","You must be new here.","I'm sorry, Dave. I'm afraid I can't do that.","You must be mistaken, this isn't a real terminal.","That command is about as useful here as a chocolate teapot."],p=function(){function e(e,t){this.terminal=e,this.prompt=e.querySelector(".prompt"),this.mirrorElement=e.querySelector(".input-mirror"),this.handleCommand=t,this.initialize()}return e.prototype.initialize=function(){var e=this;this.prompt.addEventListener("keydown",(function(t){"Enter"===t.key&&e.prompt.value.trim()&&(t.preventDefault(),e.handleCommand(e.prompt.value.trim()),e.createRipple(),e.setPromptValue(""))})),this.terminal.addEventListener("click",(function(){e.prompt.focus()})),this.prompt.addEventListener("input",(function(t){var r=t.target;e.setPromptValue(r.value)}))},e.prototype.createRipple=function(){var e=document.querySelector(".ripple-container"),t=1.1*Math.max(e.offsetWidth,e.offsetHeight),r=document.createElement("span");r.className="ripple",r.style.setProperty("--ripple-size","".concat(t,"px")),e.appendChild(r),r.addEventListener("animationend",(function(){r.remove()}))},e.prototype.setPromptValue=function(e){this.prompt.value=e,this.mirrorElement.textContent=e},e.prototype.focus=function(){this.prompt.focus()},e}();function g(e){var t,r,n=e.split(" ");!function(e,t){var r=document.querySelector(".tab-panels").querySelector(".stdout-log"),n=document.createElement("li");n.innerHTML='\n \n
\n
'.concat(e,'\n
').concat(t,"
\n
\n
\n "),r.insertBefore(n,r.firstChild)}(e,(t=n[0],r=n.slice(1),t in d?d[t].execute(r):t in s?s[t].execute(r):"Command not found: ".concat(t)).replace(/\n/g,"
"))}new p(document.querySelector("#console-drawer").querySelector(".terminal"),g);var b=document.querySelector("main"),v=document.querySelector("#ping-drawer"),m=new p(v.querySelector(".terminal"),(function(e){u(e),t(v),n(b)}));document.addEventListener("DOMContentLoaded",(function(){var r;!function(){var r=Array.from(document.querySelectorAll("[role='tab']")),n=document.querySelector("#console-drawer"),a=document.querySelector(".prompt");function o(o){r.forEach((function(e){var t=e===o;e.setAttribute("aria-selected",t.toString());var r=e.getAttribute("aria-controls"),n=document.getElementById(r||"");n&&(t?n.removeAttribute("hidden"):n.setAttribute("hidden",""))})),"console"===o.getAttribute("id")?(e(n),a.focus()):(t(n),a.blur())}if(r.forEach((function(e){e.addEventListener("click",(function(){history.replaceState(null,"","#"+e.id),o(e)}))})),window.onhashchange=function(){if(location.hash){var e=document.querySelector(location.hash);e&&o(e)}},location.hash){var c=document.querySelector(location.hash);c&&o(c)}}(),g("help"),r="https://api.github.com/users/".concat("karsonkalt","/events/public"),fetch(r).then((function(e){return e.json()})).then((function(e){if(0!==e.length){var t=e[0],r=new Date(t.created_at),n=document.getElementById("github-status");if(n){var a=r.toLocaleString("default",{month:"long",day:"numeric",hour:"numeric",hour12:!0});n.innerHTML="Last seen on GitHub: ".concat(a)}}})).catch((function(e){console.error("Error fetching activity",e.message)})),function(){var r=document.querySelector("#ping"),a=document.querySelector("#ping-drawer");r.addEventListener("click",(function(){b.classList.add("recede"),e(a),m.focus();var r=function(e){var o=e.target;a.contains(o)||(t(a),n(b),document.removeEventListener("click",r,!0))};document.addEventListener("click",r,!0)}))}()}))})()})();
\ No newline at end of file
+(()=>{var e={768:function(e){e.exports=function(){"use strict";for(var e=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),er?r:e},t=e,r={},n=0,a=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];n255)&&(e._clipped=!0),e[r]=t(e[r],0,255)):3===r&&(e[r]=t(e[r],0,1));return e},limit:e,type:c,unpack:function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==f(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==u(e[t])?e[t].toLowerCase():null},PI:i,TWOPI:2*i,PITHIRD:i/3,DEG2RAD:i/180,RAD2DEG:180/i},s={format:{},autodetect:[]},d=l.last,h=l.clip_rgb,p=l.type,b=s,v=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=this;if("object"===p(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var n=d(e),a=!1;if(!n){a=!0,b.sorted||(b.autodetect=b.autodetect.sort((function(e,t){return t.p-e.p})),b.sorted=!0);for(var o=0,c=b.autodetect;o4?e[4]:1;return 1===o?[0,0,0,c]:[r>=1?0:255*(1-r)*(1-o),n>=1?0:255*(1-n)*(1-o),a>=1?0:255*(1-a)*(1-o),c]},_=y,N=g,L=s,S=l.unpack,C=l.type,A=x;N.prototype.cmyk=function(){return A(this._rgb)},_.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(N,[null].concat(e,["cmyk"])))},L.format.cmyk=E,L.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=S(e,"cmyk"),"array"===C(e)&&4===e.length)return"cmyk"}});var q=l.unpack,O=l.last,P=function(e){return Math.round(100*e)/100},I=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=q(e,"hsla"),n=O(e)||"lsa";return r[0]=P(r[0]||0),r[1]=P(100*r[1])+"%",r[2]=P(100*r[2])+"%","hsla"===n||r.length>3&&r[3]<1?(r[3]=r.length>3?r[3]:1,n="hsla"):r.length=3,n+"("+r.join(",")+")"},j=l.unpack,R=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=j(e,"rgba"))[0],n=e[1],a=e[2];r/=255,n/=255,a/=255;var o,c,f=Math.min(r,n,a),u=Math.max(r,n,a),i=(u+f)/2;return u===f?(o=0,c=Number.NaN):o=i<.5?(u-f)/(u+f):(u-f)/(2-u-f),r==u?c=(n-a)/(u-f):n==u?c=2+(a-r)/(u-f):a==u&&(c=4+(r-n)/(u-f)),(c*=60)<0&&(c+=360),e.length>3&&void 0!==e[3]?[c,o,i,e[3]]:[c,o,i]},F=l.unpack,D=l.last,G=I,B=R,T=Math.round,z=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=F(e,"rgba"),n=D(e)||"rgb";return"hsl"==n.substr(0,3)?G(B(r),n):(r[0]=T(r[0]),r[1]=T(r[1]),r[2]=T(r[2]),("rgba"===n||r.length>3&&r[3]<1)&&(r[3]=r.length>3?r[3]:1,n="rgba"),n+"("+r.slice(0,"rgb"===n?3:4).join(",")+")")},Y=l.unpack,H=Math.round,$=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var n,a,o,c=(t=Y(t,"hsl"))[0],f=t[1],u=t[2];if(0===f)n=a=o=255*u;else{var i=[0,0,0],l=[0,0,0],s=u<.5?u*(1+f):u+f-u*f,d=2*u-s,h=c/360;i[0]=h+1/3,i[1]=h,i[2]=h-1/3;for(var p=0;p<3;p++)i[p]<0&&(i[p]+=1),i[p]>1&&(i[p]-=1),6*i[p]<1?l[p]=d+6*(s-d)*i[p]:2*i[p]<1?l[p]=s:3*i[p]<2?l[p]=d+(s-d)*(2/3-i[p])*6:l[p]=d;n=(e=[H(255*l[0]),H(255*l[1]),H(255*l[2])])[0],a=e[1],o=e[2]}return t.length>3?[n,a,o,t[3]]:[n,a,o,1]},V=$,K=s,W=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,X=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,U=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Z=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,J=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Q=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ee=Math.round,te=function(e){var t;if(e=e.toLowerCase().trim(),K.format.named)try{return K.format.named(e)}catch(e){}if(t=e.match(W)){for(var r=t.slice(1,4),n=0;n<3;n++)r[n]=+r[n];return r[3]=1,r}if(t=e.match(X)){for(var a=t.slice(1,5),o=0;o<4;o++)a[o]=+a[o];return a}if(t=e.match(U)){for(var c=t.slice(1,4),f=0;f<3;f++)c[f]=ee(2.55*c[f]);return c[3]=1,c}if(t=e.match(Z)){for(var u=t.slice(1,5),i=0;i<3;i++)u[i]=ee(2.55*u[i]);return u[3]=+u[3],u}if(t=e.match(J)){var l=t.slice(1,4);l[1]*=.01,l[2]*=.01;var s=V(l);return s[3]=1,s}if(t=e.match(Q)){var d=t.slice(1,4);d[1]*=.01,d[2]*=.01;var h=V(d);return h[3]=+t[4],h}};te.test=function(e){return W.test(e)||X.test(e)||U.test(e)||Z.test(e)||J.test(e)||Q.test(e)};var re=y,ne=g,ae=s,oe=l.type,ce=z,fe=te;ne.prototype.css=function(e){return ce(this._rgb,e)},re.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ne,[null].concat(e,["css"])))},ae.format.css=fe,ae.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===oe(e)&&fe.test(e))return"css"}});var ue=g,ie=y,le=l.unpack;s.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=le(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r},ie.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ue,[null].concat(e,["gl"])))},ue.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var se=l.unpack,de=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n=se(e,"rgb"),a=n[0],o=n[1],c=n[2],f=Math.min(a,o,c),u=Math.max(a,o,c),i=u-f,l=100*i/255,s=f/(255-i)*100;return 0===i?r=Number.NaN:(a===u&&(r=(o-c)/i),o===u&&(r=2+(c-a)/i),c===u&&(r=4+(a-o)/i),(r*=60)<0&&(r+=360)),[r,l,s]},he=l.unpack,pe=Math.floor,be=function(){for(var e,t,r,n,a,o,c=[],f=arguments.length;f--;)c[f]=arguments[f];var u,i,l,s=(c=he(c,"hcg"))[0],d=c[1],h=c[2];h*=255;var p=255*d;if(0===d)u=i=l=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var b=pe(s/=60),v=s-b,g=h*(1-d),m=g+p*(1-v),y=g+p*v,w=g+p;switch(b){case 0:u=(e=[w,y,g])[0],i=e[1],l=e[2];break;case 1:u=(t=[m,w,g])[0],i=t[1],l=t[2];break;case 2:u=(r=[g,w,y])[0],i=r[1],l=r[2];break;case 3:u=(n=[g,m,w])[0],i=n[1],l=n[2];break;case 4:u=(a=[y,g,w])[0],i=a[1],l=a[2];break;case 5:u=(o=[w,g,m])[0],i=o[1],l=o[2]}}return[u,i,l,c.length>3?c[3]:1]},ve=l.unpack,ge=l.type,me=y,ye=g,we=s,ke=de;ye.prototype.hcg=function(){return ke(this._rgb)},me.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ye,[null].concat(e,["hcg"])))},we.format.hcg=be,we.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ve(e,"hcg"),"array"===ge(e)&&3===e.length)return"hcg"}});var xe=l.unpack,Me=l.last,Ee=Math.round,_e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=xe(e,"rgba"),n=r[0],a=r[1],o=r[2],c=r[3],f=Me(e)||"auto";void 0===c&&(c=1),"auto"===f&&(f=c<1?"rgba":"rgb");var u="000000"+((n=Ee(n))<<16|(a=Ee(a))<<8|(o=Ee(o))).toString(16);u=u.substr(u.length-6);var i="0"+Ee(255*c).toString(16);switch(i=i.substr(i.length-2),f.toLowerCase()){case"rgba":return"#"+u+i;case"argb":return"#"+i+u;default:return"#"+u}},Ne=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Le=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Se=function(e){if(e.match(Ne)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(Le)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var r=parseInt(e,16);return[r>>24&255,r>>16&255,r>>8&255,Math.round((255&r)/255*100)/100]}throw new Error("unknown hex color: "+e)},Ce=y,Ae=g,qe=l.type,Oe=s,Pe=_e;Ae.prototype.hex=function(e){return Pe(this._rgb,e)},Ce.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Ae,[null].concat(e,["hex"])))},Oe.format.hex=Se,Oe.autodetect.push({p:4,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===qe(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var Ie=l.unpack,je=l.TWOPI,Re=Math.min,Fe=Math.sqrt,De=Math.acos,Ge=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n=Ie(e,"rgb"),a=n[0],o=n[1],c=n[2],f=Re(a/=255,o/=255,c/=255),u=(a+o+c)/3,i=u>0?1-f/u:0;return 0===i?r=NaN:(r=(a-o+(a-c))/2,r/=Fe((a-o)*(a-o)+(a-c)*(o-c)),r=De(r),c>o&&(r=je-r),r/=je),[360*r,i,u]},Be=l.unpack,Te=l.limit,ze=l.TWOPI,Ye=l.PITHIRD,He=Math.cos,$e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,o=(e=Be(e,"hsi"))[0],c=e[1],f=e[2];return isNaN(o)&&(o=0),isNaN(c)&&(c=0),o>360&&(o-=360),o<0&&(o+=360),(o/=360)<1/3?n=1-((a=(1-c)/3)+(r=(1+c*He(ze*o)/He(Ye-ze*o))/3)):o<2/3?a=1-((r=(1-c)/3)+(n=(1+c*He(ze*(o-=1/3))/He(Ye-ze*o))/3)):r=1-((n=(1-c)/3)+(a=(1+c*He(ze*(o-=2/3))/He(Ye-ze*o))/3)),[255*(r=Te(f*r*3)),255*(n=Te(f*n*3)),255*(a=Te(f*a*3)),e.length>3?e[3]:1]},Ve=l.unpack,Ke=l.type,We=y,Xe=g,Ue=s,Ze=Ge;Xe.prototype.hsi=function(){return Ze(this._rgb)},We.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Xe,[null].concat(e,["hsi"])))},Ue.format.hsi=$e,Ue.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ve(e,"hsi"),"array"===Ke(e)&&3===e.length)return"hsi"}});var Je=l.unpack,Qe=l.type,et=y,tt=g,rt=s,nt=R;tt.prototype.hsl=function(){return nt(this._rgb)},et.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(tt,[null].concat(e,["hsl"])))},rt.format.hsl=$,rt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Je(e,"hsl"),"array"===Qe(e)&&3===e.length)return"hsl"}});var at=l.unpack,ot=Math.min,ct=Math.max,ft=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,o=(e=at(e,"rgb"))[0],c=e[1],f=e[2],u=ot(o,c,f),i=ct(o,c,f),l=i-u;return a=i/255,0===i?(r=Number.NaN,n=0):(n=l/i,o===i&&(r=(c-f)/l),c===i&&(r=2+(f-o)/l),f===i&&(r=4+(o-c)/l),(r*=60)<0&&(r+=360)),[r,n,a]},ut=l.unpack,it=Math.floor,lt=function(){for(var e,t,r,n,a,o,c=[],f=arguments.length;f--;)c[f]=arguments[f];var u,i,l,s=(c=ut(c,"hsv"))[0],d=c[1],h=c[2];if(h*=255,0===d)u=i=l=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var p=it(s/=60),b=s-p,v=h*(1-d),g=h*(1-d*b),m=h*(1-d*(1-b));switch(p){case 0:u=(e=[h,m,v])[0],i=e[1],l=e[2];break;case 1:u=(t=[g,h,v])[0],i=t[1],l=t[2];break;case 2:u=(r=[v,h,m])[0],i=r[1],l=r[2];break;case 3:u=(n=[v,g,h])[0],i=n[1],l=n[2];break;case 4:u=(a=[m,v,h])[0],i=a[1],l=a[2];break;case 5:u=(o=[h,v,g])[0],i=o[1],l=o[2]}}return[u,i,l,c.length>3?c[3]:1]},st=l.unpack,dt=l.type,ht=y,pt=g,bt=s,vt=ft;pt.prototype.hsv=function(){return vt(this._rgb)},ht.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(pt,[null].concat(e,["hsv"])))},bt.format.hsv=lt,bt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=st(e,"hsv"),"array"===dt(e)&&3===e.length)return"hsv"}});var gt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},mt=gt,yt=l.unpack,wt=Math.pow,kt=function(e){return(e/=255)<=.04045?e/12.92:wt((e+.055)/1.055,2.4)},xt=function(e){return e>mt.t3?wt(e,1/3):e/mt.t2+mt.t0},Mt=function(e,t,r){return e=kt(e),t=kt(t),r=kt(r),[xt((.4124564*e+.3575761*t+.1804375*r)/mt.Xn),xt((.2126729*e+.7151522*t+.072175*r)/mt.Yn),xt((.0193339*e+.119192*t+.9503041*r)/mt.Zn)]},Et=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=yt(e,"rgb"),n=r[0],a=r[1],o=r[2],c=Mt(n,a,o),f=c[0],u=c[1],i=116*u-16;return[i<0?0:i,500*(f-u),200*(u-c[2])]},_t=gt,Nt=l.unpack,Lt=Math.pow,St=function(e){return 255*(e<=.00304?12.92*e:1.055*Lt(e,1/2.4)-.055)},Ct=function(e){return e>_t.t1?e*e*e:_t.t2*(e-_t.t0)},At=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,o=(e=Nt(e,"lab"))[0],c=e[1],f=e[2];return n=(o+16)/116,r=isNaN(c)?n:n+c/500,a=isNaN(f)?n:n-f/200,n=_t.Yn*Ct(n),r=_t.Xn*Ct(r),a=_t.Zn*Ct(a),[St(3.2404542*r-1.5371385*n-.4985314*a),St(-.969266*r+1.8760108*n+.041556*a),St(.0556434*r-.2040259*n+1.0572252*a),e.length>3?e[3]:1]},qt=l.unpack,Ot=l.type,Pt=y,It=g,jt=s,Rt=Et;It.prototype.lab=function(){return Rt(this._rgb)},Pt.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(It,[null].concat(e,["lab"])))},jt.format.lab=At,jt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=qt(e,"lab"),"array"===Ot(e)&&3===e.length)return"lab"}});var Ft=l.unpack,Dt=l.RAD2DEG,Gt=Math.sqrt,Bt=Math.atan2,Tt=Math.round,zt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Ft(e,"lab"),n=r[0],a=r[1],o=r[2],c=Gt(a*a+o*o),f=(Bt(o,a)*Dt+360)%360;return 0===Tt(1e4*c)&&(f=Number.NaN),[n,c,f]},Yt=l.unpack,Ht=Et,$t=zt,Vt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Yt(e,"rgb"),n=r[0],a=r[1],o=r[2],c=Ht(n,a,o),f=c[0],u=c[1],i=c[2];return $t(f,u,i)},Kt=l.unpack,Wt=l.DEG2RAD,Xt=Math.sin,Ut=Math.cos,Zt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Kt(e,"lch"),n=r[0],a=r[1],o=r[2];return isNaN(o)&&(o=0),[n,Ut(o*=Wt)*a,Xt(o)*a]},Jt=l.unpack,Qt=Zt,er=At,tr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=Jt(e,"lch"))[0],n=e[1],a=e[2],o=Qt(r,n,a),c=o[0],f=o[1],u=o[2],i=er(c,f,u);return[i[0],i[1],i[2],e.length>3?e[3]:1]},rr=l.unpack,nr=tr,ar=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=rr(e,"hcl").reverse();return nr.apply(void 0,r)},or=l.unpack,cr=l.type,fr=y,ur=g,ir=s,lr=Vt;ur.prototype.lch=function(){return lr(this._rgb)},ur.prototype.hcl=function(){return lr(this._rgb).reverse()},fr.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ur,[null].concat(e,["lch"])))},fr.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ur,[null].concat(e,["hcl"])))},ir.format.lch=tr,ir.format.hcl=ar,["lch","hcl"].forEach((function(e){return ir.autodetect.push({p:2,test:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if(t=or(t,e),"array"===cr(t)&&3===t.length)return e}})}));var sr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},dr=s,hr=l.type,pr=sr,br=Se,vr=_e;g.prototype.name=function(){for(var e=vr(this._rgb,"rgb"),t=0,r=Object.keys(pr);t0;)t[r]=arguments[r+1];if(!t.length&&"string"===hr(e)&&pr[e.toLowerCase()])return"named"}});var gr=l.unpack,mr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=gr(e,"rgb");return(r[0]<<16)+(r[1]<<8)+r[2]},yr=l.type,wr=y,kr=g,xr=s,Mr=l.type,Er=mr;kr.prototype.num=function(){return Er(this._rgb)},wr.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(kr,[null].concat(e,["num"])))},xr.format.num=function(e){if("number"==yr(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},xr.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===Mr(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var _r=y,Nr=g,Lr=s,Sr=l.unpack,Cr=l.type,Ar=Math.round;Nr.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Ar)},Nr.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,r){return r<3?!1===e?t:Ar(t):t}))},_r.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Nr,[null].concat(e,["rgb"])))},Lr.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Sr(e,"rgba");return void 0===r[3]&&(r[3]=1),r},Lr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Sr(e,"rgba"),"array"===Cr(e)&&(3===e.length||4===e.length&&"number"==Cr(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var qr=Math.log,Or=function(e){var t,r,n,a=e/100;return a<66?(t=255,r=a<6?0:-155.25485562709179-.44596950469579133*(r=a-2)+104.49216199393888*qr(r),n=a<20?0:.8274096064007395*(n=a-10)-254.76935184120902+115.67994401066147*qr(n)):(t=351.97690566805693+.114206453784165*(t=a-55)-40.25366309332127*qr(t),r=325.4494125711974+.07943456536662342*(r=a-50)-28.0852963507957*qr(r),n=255),[t,r,n,1]},Pr=Or,Ir=l.unpack,jr=Math.round,Rr=y,Fr=g,Dr=s,Gr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r,n=Ir(e,"rgb"),a=n[0],o=n[2],c=1e3,f=4e4;f-c>.4;){var u=Pr(r=.5*(f+c));u[2]/u[0]>=o/a?f=r:c=r}return jr(r)};Fr.prototype.temp=Fr.prototype.kelvin=Fr.prototype.temperature=function(){return Gr(this._rgb)},Rr.temp=Rr.kelvin=Rr.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Fr,[null].concat(e,["temp"])))},Dr.format.temp=Dr.format.kelvin=Dr.format.temperature=Or;var Br=l.unpack,Tr=Math.cbrt,zr=Math.pow,Yr=Math.sign,Hr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Br(e,"rgb"),n=r[0],a=r[1],o=r[2],c=[$r(n/255),$r(a/255),$r(o/255)],f=c[0],u=c[1],i=c[2],l=Tr(.4122214708*f+.5363325363*u+.0514459929*i),s=Tr(.2119034982*f+.6806995451*u+.1073969566*i),d=Tr(.0883024619*f+.2817188376*u+.6299787005*i);return[.2104542553*l+.793617785*s-.0040720468*d,1.9779984951*l-2.428592205*s+.4505937099*d,.0259040371*l+.7827717662*s-.808675766*d]};function $r(e){var t=Math.abs(e);return t<.04045?e/12.92:(Yr(e)||1)*zr((t+.055)/1.055,2.4)}var Vr=l.unpack,Kr=Math.pow,Wr=Math.sign,Xr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=Vr(e,"lab"))[0],n=e[1],a=e[2],o=Kr(r+.3963377774*n+.2158037573*a,3),c=Kr(r-.1055613458*n-.0638541728*a,3),f=Kr(r-.0894841775*n-1.291485548*a,3);return[255*Ur(4.0767416621*o-3.3077115913*c+.2309699292*f),255*Ur(-1.2684380046*o+2.6097574011*c-.3413193965*f),255*Ur(-.0041960863*o-.7034186147*c+1.707614701*f),e.length>3?e[3]:1]};function Ur(e){var t=Math.abs(e);return t>.0031308?(Wr(e)||1)*(1.055*Kr(t,1/2.4)-.055):12.92*e}var Zr=l.unpack,Jr=l.type,Qr=y,en=g,tn=s,rn=Hr;en.prototype.oklab=function(){return rn(this._rgb)},Qr.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(en,[null].concat(e,["oklab"])))},tn.format.oklab=Xr,tn.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Zr(e,"oklab"),"array"===Jr(e)&&3===e.length)return"oklab"}});var nn=l.unpack,an=Hr,on=zt,cn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=nn(e,"rgb"),n=r[0],a=r[1],o=r[2],c=an(n,a,o),f=c[0],u=c[1],i=c[2];return on(f,u,i)},fn=l.unpack,un=Zt,ln=Xr,sn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=fn(e,"lch"))[0],n=e[1],a=e[2],o=un(r,n,a),c=o[0],f=o[1],u=o[2],i=ln(c,f,u);return[i[0],i[1],i[2],e.length>3?e[3]:1]},dn=l.unpack,hn=l.type,pn=y,bn=g,vn=s,gn=cn;bn.prototype.oklch=function(){return gn(this._rgb)},pn.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(bn,[null].concat(e,["oklch"])))},vn.format.oklch=sn,vn.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=dn(e,"oklch"),"array"===hn(e)&&3===e.length)return"oklch"}});var mn=g,yn=l.type;mn.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===yn(e)?t?(this._rgb[3]=e,this):new mn([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},g.prototype.clipped=function(){return this._rgb._clipped||!1};var wn=g,kn=gt;wn.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=kn.Kn*e,new wn(t,"lab").alpha(this.alpha(),!0)},wn.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},wn.prototype.darker=wn.prototype.darken,wn.prototype.brighter=wn.prototype.brighten,g.prototype.get=function(e){var t=e.split("."),r=t[0],n=t[1],a=this[r]();if(n){var o=r.indexOf(n)-("ok"===r.substr(0,2)?2:0);if(o>-1)return a[o];throw new Error("unknown channel "+n+" in mode "+r)}return a};var xn=g,Mn=l.type,En=Math.pow;xn.prototype.luminance=function(e){if(void 0!==e&&"number"===Mn(e)){if(0===e)return new xn([0,0,0,this._rgb[3]],"rgb");if(1===e)return new xn([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),r=20,n=function(t,a){var o=t.interpolate(a,.5,"rgb"),c=o.luminance();return Math.abs(e-c)<1e-7||!r--?o:c>e?n(t,o):n(o,a)},a=(t>e?n(new xn([0,0,0]),this):n(this,new xn([255,255,255]))).rgb();return new xn(a.concat([this._rgb[3]]))}return _n.apply(void 0,this._rgb.slice(0,3))};var _n=function(e,t,r){return.2126*(e=Nn(e))+.7152*(t=Nn(t))+.0722*Nn(r)},Nn=function(e){return(e/=255)<=.03928?e/12.92:En((e+.055)/1.055,2.4)},Ln={},Sn=g,Cn=l.type,An=Ln,qn=function(e,t,r){void 0===r&&(r=.5);for(var n=[],a=arguments.length-3;a-- >0;)n[a]=arguments[a+3];var o=n[0]||"lrgb";if(An[o]||n.length||(o=Object.keys(An)[0]),!An[o])throw new Error("interpolation mode "+o+" is not defined");return"object"!==Cn(e)&&(e=new Sn(e)),"object"!==Cn(t)&&(t=new Sn(t)),An[o](e,t,r).alpha(e.alpha()+r*(t.alpha()-e.alpha()))},On=g,Pn=qn;On.prototype.mix=On.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return Pn.apply(void 0,[this,e,t].concat(r))};var In=g;In.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,r=t[3];return e?(this._rgb=[t[0]*r,t[1]*r,t[2]*r,r],this):new In([t[0]*r,t[1]*r,t[2]*r,r],"rgb")};var jn=g,Rn=gt;jn.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=Rn.Kn*e,t[1]<0&&(t[1]=0),new jn(t,"lch").alpha(this.alpha(),!0)},jn.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var Fn=g,Dn=l.type;Fn.prototype.set=function(e,t,r){void 0===r&&(r=!1);var n=e.split("."),a=n[0],o=n[1],c=this[a]();if(o){var f=a.indexOf(o)-("ok"===a.substr(0,2)?2:0);if(f>-1){if("string"==Dn(t))switch(t.charAt(0)){case"+":case"-":c[f]+=+t;break;case"*":c[f]*=+t.substr(1);break;case"/":c[f]/=+t.substr(1);break;default:c[f]=+t}else{if("number"!==Dn(t))throw new Error("unsupported value for Color.set");c[f]=t}var u=new Fn(c,a);return r?(this._rgb=u._rgb,this):u}throw new Error("unknown channel "+o+" in mode "+a)}return c};var Gn=g;Ln.rgb=function(e,t,r){var n=e._rgb,a=t._rgb;return new Gn(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"rgb")};var Bn=g,Tn=Math.sqrt,zn=Math.pow;Ln.lrgb=function(e,t,r){var n=e._rgb,a=n[0],o=n[1],c=n[2],f=t._rgb,u=f[0],i=f[1],l=f[2];return new Bn(Tn(zn(a,2)*(1-r)+zn(u,2)*r),Tn(zn(o,2)*(1-r)+zn(i,2)*r),Tn(zn(c,2)*(1-r)+zn(l,2)*r),"rgb")};var Yn=g;Ln.lab=function(e,t,r){var n=e.lab(),a=t.lab();return new Yn(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"lab")};var Hn=g,$n=function(e,t,r,n){var a,o,c,f,u,i,l,s,d,h,p,b,v;return"hsl"===n?(c=e.hsl(),f=t.hsl()):"hsv"===n?(c=e.hsv(),f=t.hsv()):"hcg"===n?(c=e.hcg(),f=t.hcg()):"hsi"===n?(c=e.hsi(),f=t.hsi()):"lch"===n||"hcl"===n?(n="hcl",c=e.hcl(),f=t.hcl()):"oklch"===n&&(c=e.oklch().reverse(),f=t.oklch().reverse()),"h"!==n.substr(0,1)&&"oklch"!==n||(u=(a=c)[0],l=a[1],d=a[2],i=(o=f)[0],s=o[1],h=o[2]),isNaN(u)||isNaN(i)?isNaN(u)?isNaN(i)?b=Number.NaN:(b=i,1!=d&&0!=d||"hsv"==n||(p=s)):(b=u,1!=h&&0!=h||"hsv"==n||(p=l)):b=u+r*(i>u&&i-u>180?i-(u+360):i180?i+360-u:i-u),void 0===p&&(p=l+r*(s-l)),v=d+r*(h-d),new Hn("oklch"===n?[v,p,b]:[b,p,v],n)},Vn=$n,Kn=function(e,t,r){return Vn(e,t,r,"lch")};Ln.lch=Kn,Ln.hcl=Kn;var Wn=g;Ln.num=function(e,t,r){var n=e.num(),a=t.num();return new Wn(n+r*(a-n),"num")};var Xn=$n;Ln.hcg=function(e,t,r){return Xn(e,t,r,"hcg")};var Un=$n;Ln.hsi=function(e,t,r){return Un(e,t,r,"hsi")};var Zn=$n;Ln.hsl=function(e,t,r){return Zn(e,t,r,"hsl")};var Jn=$n;Ln.hsv=function(e,t,r){return Jn(e,t,r,"hsv")};var Qn=g;Ln.oklab=function(e,t,r){var n=e.oklab(),a=t.oklab();return new Qn(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"oklab")};var ea=$n;Ln.oklch=function(e,t,r){return ea(e,t,r,"oklch")};var ta=g,ra=l.clip_rgb,na=Math.pow,aa=Math.sqrt,oa=Math.PI,ca=Math.cos,fa=Math.sin,ua=Math.atan2,ia=function(e,t){for(var r=e.length,n=[0,0,0,0],a=0;a.9999999&&(n[3]=1),new ta(ra(n))},la=y,sa=l.type,da=Math.pow,ha=function(e){var t="rgb",r=la("#ccc"),n=0,a=[0,1],o=[],c=[0,0],f=!1,u=[],i=!1,l=0,s=1,d=!1,h={},p=!0,b=1,v=function(e){if((e=e||["#fff","#000"])&&"string"===sa(e)&&la.brewer&&la.brewer[e.toLowerCase()]&&(e=la.brewer[e.toLowerCase()]),"array"===sa(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t2?function(e){if(null!=f){for(var t=f.length-1,r=0;r=f[r];)r++;return r-1}return 0}(e)/(f.length-2):s!==l?(e-l)/(s-l):1,i=m(i),n||(i=g(i)),1!==b&&(i=da(i,b)),i=c[0]+i*(1-c[0]-c[1]),i=Math.min(1,Math.max(0,i));var d=Math.floor(1e4*i);if(p&&h[d])a=h[d];else{if("array"===sa(u))for(var v=0;v=y&&v===o.length-1){a=u[v];break}if(i>y&&i2){var i=e.map((function(t,r){return r/(e.length-1)})),d=e.map((function(e){return(e-l)/(s-l)}));d.every((function(e,t){return i[t]===e}))||(m=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var r=(e-d[t])/(d[t+1]-d[t]);return i[t]+r*(i[t+1]-i[t])})}}return a=[l,s],k},k.mode=function(e){return arguments.length?(t=e,w(),k):t},k.range=function(e,t){return v(e),k},k.out=function(e){return i=e,k},k.spread=function(e){return arguments.length?(n=e,k):n},k.correctLightness=function(e){return null==e&&(e=!0),d=e,w(),g=d?function(e){for(var t=y(0,!0).lab()[0],r=y(1,!0).lab()[0],n=t>r,a=y(e,!0).lab()[0],o=t+(r-t)*e,c=a-o,f=0,u=1,i=20;Math.abs(c)>.01&&i-- >0;)n&&(c*=-1),c<0?(f=e,e+=.5*(u-e)):(u=e,e+=.5*(f-e)),c=(a=y(e,!0).lab()[0])-o;return e}:function(e){return e},k},k.padding=function(e){return null!=e?("number"===sa(e)&&(e=[e,e]),c=e,k):c},k.colors=function(t,r){arguments.length<2&&(r="hex");var n=[];if(0===arguments.length)n=u.slice(0);else if(1===t)n=[k(.5)];else if(t>1){var o=a[0],c=a[1]-o;n=function(e,t,r){for(var n=[],a=eo;a?c++:c--)n.push(c);return n}(0,t,!1).map((function(e){return k(o+e/(t-1)*c)}))}else{e=[];var i=[];if(f&&f.length>2)for(var l=1,s=f.length,d=1<=s;d?ls;d?l++:l--)i.push(.5*(f[l-1]+f[l]));else i=a;n=i.map((function(e){return k(e)}))}return la[r]&&(n=n.map((function(e){return e[r]()}))),n},k.cache=function(e){return null!=e?(p=e,k):p},k.gamma=function(e){return null!=e?(b=e,k):b},k.nodata=function(e){return null!=e?(r=la(e),k):r},k};var pa=g,ba=ha,va=y,ga=function(e,t,r){if(!ga[r])throw new Error("unknown blend mode "+r);return ga[r](e,t)},ma=function(e){return function(t,r){var n=va(r).rgb(),a=va(t).rgb();return va.rgb(e(n,a))}},ya=function(e){return function(t,r){var n=[];return n[0]=e(t[0],r[0]),n[1]=e(t[1],r[1]),n[2]=e(t[2],r[2]),n}};ga.normal=ma(ya((function(e){return e}))),ga.multiply=ma(ya((function(e,t){return e*t/255}))),ga.screen=ma(ya((function(e,t){return 255*(1-(1-e/255)*(1-t/255))}))),ga.overlay=ma(ya((function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))}))),ga.darken=ma(ya((function(e,t){return e>t?t:e}))),ga.lighten=ma(ya((function(e,t){return e>t?e:t}))),ga.dodge=ma(ya((function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e}))),ga.burn=ma(ya((function(e,t){return 255*(1-(1-t/255)/(e/255))})));for(var wa=ga,ka=l.type,xa=l.clip_rgb,Ma=l.TWOPI,Ea=Math.pow,_a=Math.sin,Na=Math.cos,La=y,Sa=g,Ca=Math.floor,Aa=Math.random,qa=c,Oa=Math.log,Pa=Math.pow,Ia=Math.floor,ja=Math.abs,Ra=function(e,t){void 0===t&&(t=null);var r={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===qa(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===qa(e)&&(e=e[t]),null==e||isNaN(e)||(r.values.push(e),r.sum+=e,er.max&&(r.max=e),r.count+=1)})),r.domain=[r.min,r.max],r.limits=function(e,t){return Fa(r,e,t)},r},Fa=function(e,t,r){void 0===t&&(t="equal"),void 0===r&&(r=7),"array"==qa(e)&&(e=Ra(e));var n=e.min,a=e.max,o=e.values.sort((function(e,t){return e-t}));if(1===r)return[n,a];var c=[];if("c"===t.substr(0,1)&&(c.push(n),c.push(a)),"e"===t.substr(0,1)){c.push(n);for(var f=1;f 0");var u=Math.LOG10E*Oa(n),i=Math.LOG10E*Oa(a);c.push(n);for(var l=1;l200&&(y=!1)}for(var j={},R=0;R=360;)p-=360;c[h]=p}else c[h]=c[h]/f[h];return d/=n,new ta(c,t).alpha(d>.99999?1:d,!0)},fo.bezier=function(e){var t=function(e){var t,r,n,a,o,c,f;if(2===(e=e.map((function(e){return new pa(e)}))).length)t=e.map((function(e){return e.lab()})),o=t[0],c=t[1],a=function(e){var t=[0,1,2].map((function(t){return o[t]+e*(c[t]-o[t])}));return new pa(t,"lab")};else if(3===e.length)r=e.map((function(e){return e.lab()})),o=r[0],c=r[1],f=r[2],a=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*o[t]+2*(1-e)*e*c[t]+e*e*f[t]}));return new pa(t,"lab")};else if(4===e.length){var u;n=e.map((function(e){return e.lab()})),o=n[0],c=n[1],f=n[2],u=n[3],a=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*o[t]+3*(1-e)*(1-e)*e*c[t]+3*(1-e)*e*e*f[t]+e*e*e*u[t]}));return new pa(t,"lab")}}else{if(!(e.length>=5))throw new RangeError("No point in running bezier with only one color.");var i,l,s;i=e.map((function(e){return e.lab()})),s=e.length-1,l=function(e){for(var t=[1,1],r=1;rn?(r+.05)/(n+.05):(n+.05)/(r+.05)},fo.deltaE=function(e,t,r,n,a){void 0===r&&(r=1),void 0===n&&(n=1),void 0===a&&(a=1);var o=function(e){return 360*e/(2*Ua)},c=function(e){return 2*Ua*e/360};e=new Ba(e),t=new Ba(t);var f=Array.from(e.lab()),u=f[0],i=f[1],l=f[2],s=Array.from(t.lab()),d=s[0],h=s[1],p=s[2],b=(u+d)/2,v=(Ta(za(i,2)+za(l,2))+Ta(za(h,2)+za(p,2)))/2,g=.5*(1-Ta(za(v,7)/(za(v,7)+za(25,7)))),m=i*(1+g),y=h*(1+g),w=Ta(za(m,2)+za(l,2)),k=Ta(za(y,2)+za(p,2)),x=(w+k)/2,M=o($a(l,m)),E=o($a(p,y)),_=M>=0?M:M+360,N=E>=0?E:E+360,L=Va(_-N)>180?(_+N+360)/2:(_+N)/2,S=1-.17*Ka(c(L-30))+.24*Ka(c(2*L))+.32*Ka(c(3*L+6))-.2*Ka(c(4*L-63)),C=N-_;C=Va(C)<=180?C:N<=_?C+360:C-360,C=2*Ta(w*k)*Wa(c(C)/2);var A=d-u,q=k-w,O=1+.015*za(b-50,2)/Ta(20+za(b-50,2)),P=1+.045*x,I=1+.015*x*S,j=30*Xa(-za((L-275)/25,2)),R=-2*Ta(za(x,7)/(za(x,7)+za(25,7)))*Wa(2*c(j)),F=Ta(za(A/(r*O),2)+za(q/(n*P),2)+za(C/(a*I),2)+R*(q/(n*P))*(C/(a*I)));return Ha(0,Ya(100,F))},fo.distance=function(e,t,r){void 0===r&&(r="lab"),e=new Za(e),t=new Za(t);var n=e.get(r),a=t.get(r),o=0;for(var c in n){var f=(n[c]||0)-(a[c]||0);o+=f*f}return Math.sqrt(o)},fo.limits=Da.limits,fo.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(Ja,[null].concat(e))),!0}catch(e){return!1}},fo.scales=to,fo.colors=sr,fo.brewer=co,fo}()}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";document.querySelector(".prompt"),document.querySelector("html");var e=function(e){e.setAttribute("open","")},t=function(e){e.removeAttribute("open")},n=function(e){e.classList.remove("recede")};document.addEventListener("keydown",(function(e){"/"===e.key&&(e.preventDefault(),history.pushState(null,"","console"))}));var a=r(768),o=r.n(a),c=function(e){try{if(!u(e))return!1;var t=i(o()(e)),r=l(t),n=f(t),a=s(r)?"underline":"none";return d(t,r,n,a),h(t,r,n,a),!0}catch(e){return console.error(e),!1}},f=function(e){return e.luminance()<.95?e.brighten(.5):e.darken(.05)},u=function(e){return o().valid(e)},i=function(e){var t=e.luminance();t<.15?e=e.luminance(.15):t>.85&&(e=e.luminance(.85));var r=e.get("hsl.s");return e.set("hsl.s",Math.min(r,.85))},l=function(e){if(0===e.get("hsl.s")){var t=["#00796b","#00acc1","#1976d2","#2196f3"];return o()(t[Math.floor(Math.random()*t.length)]).set("hsl.s",1)}var r=e.set("hsl.s",1);if(r.set("hsl.l",.5),o().contrast(r,e)>=1.75)return r;for(var n=1;n<=20;n++){var a=r.set("hsl.l",r.get("hsl.l")+.05*n);if(o().contrast(a,e)>=1.75)return a}return r},s=function(e){return e.get("hsl.s")<.2},d=function(e,t,r,n){localStorage.setItem("ACCENT_COLOR",b(e)),localStorage.setItem("LINK_COLOR",b(t)),localStorage.setItem("LINK_COLOR_HOVER",b(r)),localStorage.setItem("LINK_DECORATION",n)},h=function(e,t,r,n){document.documentElement.style.setProperty("--accent-color-base",p(e)),document.documentElement.style.setProperty("--accent-color-link",b(t)),document.documentElement.style.setProperty("--accent-color-link-hover",b(r)),document.documentElement.style.setProperty("--link-decoration",n)},p=function(e){return e.rgb().join(", ")},b=function(e){return"rgb("+e.rgb().join(", ")+")"},v=function(e){fetch("https://api.pushover.net/1/messages.json",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:"a636654jy5djvuc69zgnu4i9rwsx1i",user:"u1vakvq997948t561jq896gwkw2w81",message:e})})},g=function(e){var t,r=e[0];if(r.startsWith("PS1=")){var n=r.slice(4).trim();return document.querySelectorAll(".system-prompt").forEach((function(e){e.textContent=n})),t=n,localStorage.setItem("PS1",t),"Prompt character changed to ".concat(n)}return"Invalid export command. Usage: export PS1=$"},m=function(e){var t=e.join(" ").trim();return c(t)?"Accent changed to ".concat(t):"Invalid color. Please provide: #000000, rgb(0, 0, 0) or any valid css color."},y=function(){var e=Math.floor(Math.random()*x.length);return x[e]},w={message:{execute:function(e){try{return v(e.join(" ")),"Message sent to my phone"}catch(e){return"Error sending message"}},description:"Sends a message to the me",flags:{}},clear:{execute:function(e){for(var t=document.querySelector(".stdout-log");null==t?void 0:t.firstChild;)t.removeChild(t.firstChild);return"Console cleared"},description:"Clears the terminal screen",flags:{}},echo:{execute:function(e){return t=e.join(" "),(r=document.createElement("div")).classList.add("oval"),r.innerText=t,r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.zIndex="500",r.style.left="50px",r.style.top="50px",document.body.appendChild(r),r.classList.add("oval-animate"),r.addEventListener("animationend",(function(){document.body.removeChild(r)})),"Echo effect triggered for ".concat(e.join(" "));var t,r},description:"Prints back the input received",flags:{}},help:{execute:function(e){for(var t="Available commands:\n",r=0,n=Object.entries(w);r")},description:"Shows help information about all commands",flags:{}},bgcolor:{execute:m,description:"Changes the background color",flags:{}},export:{execute:g,description:"Exports a variable",flags:{}},restore:{execute:function(e){var t=localStorage.getItem("PS1");t&&g(["PS1="+t]);var r=localStorage.getItem("ACCENT_COLOR");return r&&m([r]),"Restored terminal settings"},description:"Restores terminal settings",flags:{}}},k={cd:{execute:y},rm:{execute:y},sudo:{execute:y},mv:{execute:y},chmod:{execute:y},chown:{execute:y},mkdir:{execute:y},ls:{execute:y},cat:{execute:y},ps:{execute:y},top:{execute:y},vi:{execute:y},nano:{execute:y},exit:{execute:y},man:{execute:y},grep:{execute:y},find:{execute:y},ping:{execute:y},pwd:{execute:y},df:{execute:y},du:{execute:y},curl:{execute:y},wget:{execute:y},ifconfig:{execute:y}},x=["Nice try, but this isn't a real terminal!","Did you really think that would work?","You must think you're pretty clever, huh?","I'm sorry, Dave. I'm afraid I can't do that."],M=function(){function e(e,t){this.terminal=e,this.prompt=e.querySelector(".prompt"),this.mirrorElement=e.querySelector(".input-mirror"),this.handleCommand=t,this.initialize()}return e.prototype.initialize=function(){var e=this;this.prompt.addEventListener("keydown",(function(t){"Enter"===t.key&&e.prompt.value.trim()&&(t.preventDefault(),e.handleCommand(e.prompt.value.trim()),e.createRipple(),e.setPromptValue(""))})),this.terminal.addEventListener("click",(function(){e.prompt.focus()})),this.prompt.addEventListener("input",(function(t){var r=t.target;e.setPromptValue(r.value)}))},e.prototype.createRipple=function(){var e=document.querySelector(".ripple-container"),t=1.1*Math.max(e.offsetWidth,e.offsetHeight),r=document.createElement("span");r.className="ripple",r.style.setProperty("--ripple-size","".concat(t,"px")),e.appendChild(r),r.addEventListener("animationend",(function(){r.remove()}))},e.prototype.setPromptValue=function(e){this.prompt.value=e,this.mirrorElement.textContent=e},e.prototype.focus=function(){this.prompt.focus()},e}();function E(e){var t,r,n=e.split(" ");!function(e,t){var r=document.querySelector(".tab-panels").querySelector(".stdout-log"),n=document.createElement("li");n.innerHTML='\n \n
\n
'.concat(e,'\n
').concat(t,"
\n
\n
\n "),r.insertBefore(n,r.firstChild)}(e,(t=n[0],r=n.slice(1),t in k?k[t].execute(r):t in w?w[t].execute(r):"Command not found: ".concat(t)).replace(/\n/g,"
"))}new M(document.querySelector("#console-drawer").querySelector(".terminal"),E);var _=document.querySelector("main"),N=document.querySelector("#ping-drawer"),L=new M(N.querySelector(".terminal"),(function(e){v(e),t(N),n(_)})),S=function(){document.querySelectorAll("div.highlight").forEach((function(e){!function(e){var t=document.createElement("button");t.innerHTML='\n \n ',t.classList.add("copy-button"),t.addEventListener("click",(function(){var r,n,a=e.querySelector("code");a&&(r=a.innerText,(n=document.createElement("textarea")).value=r,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),t.innerHTML='\n \n ')})),e.style.position="relative",e.appendChild(t)}(e)}))};document.addEventListener("DOMContentLoaded",(function(){var r,a;!function(){var r=Array.from(document.querySelectorAll("[role='tab']")),n=document.querySelector("#console-drawer"),a=document.querySelector(".prompt");function o(o){r.forEach((function(e){var t=e===o;e.setAttribute("aria-selected",t.toString());var r=e.getAttribute("aria-controls"),n=document.getElementById(r||"");n&&(t?n.removeAttribute("hidden"):n.setAttribute("hidden",""))})),"console"===o.getAttribute("id")?(e(n),a.focus()):(t(n),a.blur())}if(r.forEach((function(e){e.addEventListener("click",(function(){history.replaceState(null,"",e.id),o(e)}))})),window.onhashchange=function(){if(location.hash){var e=document.querySelector(location.hash);e&&o(e)}},location.hash){var c=document.querySelector(location.hash);c&&o(c)}}(),E("help"),r="https://api.github.com/users/".concat("karsonkalt","/events/public"),fetch(r).then((function(e){return e.json()})).then((function(e){if(0!==e.length){var t=e[0],r=new Date(t.created_at),n=document.getElementById("github-status");if(n){var a=r.toLocaleString("default",{month:"long",day:"numeric",hour:"numeric",hour12:!0});n.innerHTML="Last seen on GitHub: ".concat(a)}}})).catch((function(e){console.error("Error fetching activity",e.message)})),function(){var r=document.querySelector("#ping"),a=document.querySelector("#ping-drawer");r.addEventListener("click",(function(){_.classList.add("recede"),e(a),L.focus();var r=function(e){var o=e.target;a.contains(o)||(t(a),n(_),document.removeEventListener("click",r,!0))};document.addEventListener("click",r,!0)}))}(),(a=localStorage.getItem("ACCENT_COLOR"))&&c(a),S()}))})()})();
\ No newline at end of file
diff --git a/assets/js/index.js b/assets/js/index.js
index 81662d4..9189b92 100644
--- a/assets/js/index.js
+++ b/assets/js/index.js
@@ -1,2 +1,2 @@
/*! For license information please see index.js.LICENSE.txt */
-(()=>{var r={768:function(r){r.exports=function(){"use strict";for(var r=function(r,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),rn?n:r},e=r,n={},t=0,a=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];t255)&&(r._clipped=!0),r[n]=e(r[n],0,255)):3===n&&(r[n]=e(r[n],0,1));return r},limit:r,type:f,unpack:function(r,e){return void 0===e&&(e=null),r.length>=3?Array.prototype.slice.call(r):"object"==u(r[0])&&e?e.split("").filter((function(e){return void 0!==r[0][e]})).map((function(e){return r[0][e]})):r[0]},last:function(r){if(r.length<2)return null;var e=r.length-1;return"string"==c(r[e])?r[e].toLowerCase():null},PI:i,TWOPI:2*i,PITHIRD:i/3,DEG2RAD:i/180,RAD2DEG:180/i},s={format:{},autodetect:[]},h=l.last,d=l.clip_rgb,b=l.type,p=s,g=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=this;if("object"===b(r[0])&&r[0].constructor&&r[0].constructor===this.constructor)return r[0];var t=h(r),a=!1;if(!t){a=!0,p.sorted||(p.autodetect=p.autodetect.sort((function(r,e){return e.p-r.p})),p.sorted=!0);for(var o=0,f=p.autodetect;o4?r[4]:1;return 1===o?[0,0,0,f]:[n>=1?0:255*(1-n)*(1-o),t>=1?0:255*(1-t)*(1-o),a>=1?0:255*(1-a)*(1-o),f]},x=y,E=v,A=s,L=l.unpack,O=l.type,C=M;E.prototype.cmyk=function(){return C(this._rgb)},x.cmyk=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(E,[null].concat(r,["cmyk"])))},A.format.cmyk=N,A.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=L(r,"cmyk"),"array"===O(r)&&4===r.length)return"cmyk"}});var P=l.unpack,I=l.last,j=function(r){return Math.round(100*r)/100},F=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=P(r,"hsla"),t=I(r)||"lsa";return n[0]=j(n[0]||0),n[1]=j(100*n[1])+"%",n[2]=j(100*n[2])+"%","hsla"===t||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,t="hsla"):n.length=3,t+"("+n.join(",")+")"},R=l.unpack,q=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=R(r,"rgba"))[0],t=r[1],a=r[2];n/=255,t/=255,a/=255;var o,f,u=Math.min(n,t,a),c=Math.max(n,t,a),i=(c+u)/2;return c===u?(o=0,f=Number.NaN):o=i<.5?(c-u)/(c+u):(c-u)/(2-c-u),n==c?f=(t-a)/(c-u):t==c?f=2+(a-n)/(c-u):a==c&&(f=4+(n-t)/(c-u)),(f*=60)<0&&(f+=360),r.length>3&&void 0!==r[3]?[f,o,i,r[3]]:[f,o,i]},G=l.unpack,S=l.last,B=F,D=q,T=Math.round,Y=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=G(r,"rgba"),t=S(r)||"rgb";return"hsl"==t.substr(0,3)?B(D(n),t):(n[0]=T(n[0]),n[1]=T(n[1]),n[2]=T(n[2]),("rgba"===t||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,t="rgba"),t+"("+n.slice(0,"rgb"===t?3:4).join(",")+")")},$=l.unpack,z=Math.round,H=function(){for(var r,e=[],n=arguments.length;n--;)e[n]=arguments[n];var t,a,o,f=(e=$(e,"hsl"))[0],u=e[1],c=e[2];if(0===u)t=a=o=255*c;else{var i=[0,0,0],l=[0,0,0],s=c<.5?c*(1+u):c+u-c*u,h=2*c-s,d=f/360;i[0]=d+1/3,i[1]=d,i[2]=d-1/3;for(var b=0;b<3;b++)i[b]<0&&(i[b]+=1),i[b]>1&&(i[b]-=1),6*i[b]<1?l[b]=h+6*(s-h)*i[b]:2*i[b]<1?l[b]=s:3*i[b]<2?l[b]=h+(s-h)*(2/3-i[b])*6:l[b]=h;t=(r=[z(255*l[0]),z(255*l[1]),z(255*l[2])])[0],a=r[1],o=r[2]}return e.length>3?[t,a,o,e[3]]:[t,a,o,1]},K=H,X=s,V=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,U=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,W=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Z=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,J=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Q=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,rr=Math.round,er=function(r){var e;if(r=r.toLowerCase().trim(),X.format.named)try{return X.format.named(r)}catch(r){}if(e=r.match(V)){for(var n=e.slice(1,4),t=0;t<3;t++)n[t]=+n[t];return n[3]=1,n}if(e=r.match(U)){for(var a=e.slice(1,5),o=0;o<4;o++)a[o]=+a[o];return a}if(e=r.match(W)){for(var f=e.slice(1,4),u=0;u<3;u++)f[u]=rr(2.55*f[u]);return f[3]=1,f}if(e=r.match(Z)){for(var c=e.slice(1,5),i=0;i<3;i++)c[i]=rr(2.55*c[i]);return c[3]=+c[3],c}if(e=r.match(J)){var l=e.slice(1,4);l[1]*=.01,l[2]*=.01;var s=K(l);return s[3]=1,s}if(e=r.match(Q)){var h=e.slice(1,4);h[1]*=.01,h[2]*=.01;var d=K(h);return d[3]=+e[4],d}};er.test=function(r){return V.test(r)||U.test(r)||W.test(r)||Z.test(r)||J.test(r)||Q.test(r)};var nr=y,tr=v,ar=s,or=l.type,fr=Y,ur=er;tr.prototype.css=function(r){return fr(this._rgb,r)},nr.css=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(tr,[null].concat(r,["css"])))},ar.format.css=ur,ar.autodetect.push({p:5,test:function(r){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===or(r)&&ur.test(r))return"css"}});var cr=v,ir=y,lr=l.unpack;s.format.gl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=lr(r,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},ir.gl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cr,[null].concat(r,["gl"])))},cr.prototype.gl=function(){var r=this._rgb;return[r[0]/255,r[1]/255,r[2]/255,r[3]]};var sr=l.unpack,hr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t=sr(r,"rgb"),a=t[0],o=t[1],f=t[2],u=Math.min(a,o,f),c=Math.max(a,o,f),i=c-u,l=100*i/255,s=u/(255-i)*100;return 0===i?n=Number.NaN:(a===c&&(n=(o-f)/i),o===c&&(n=2+(f-a)/i),f===c&&(n=4+(a-o)/i),(n*=60)<0&&(n+=360)),[n,l,s]},dr=l.unpack,br=Math.floor,pr=function(){for(var r,e,n,t,a,o,f=[],u=arguments.length;u--;)f[u]=arguments[u];var c,i,l,s=(f=dr(f,"hcg"))[0],h=f[1],d=f[2];d*=255;var b=255*h;if(0===h)c=i=l=d;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var p=br(s/=60),g=s-p,v=d*(1-h),m=v+b*(1-g),y=v+b*g,k=v+b;switch(p){case 0:c=(r=[k,y,v])[0],i=r[1],l=r[2];break;case 1:c=(e=[m,k,v])[0],i=e[1],l=e[2];break;case 2:c=(n=[v,k,y])[0],i=n[1],l=n[2];break;case 3:c=(t=[v,m,k])[0],i=t[1],l=t[2];break;case 4:c=(a=[y,v,k])[0],i=a[1],l=a[2];break;case 5:c=(o=[k,v,m])[0],i=o[1],l=o[2]}}return[c,i,l,f.length>3?f[3]:1]},gr=l.unpack,vr=l.type,mr=y,yr=v,kr=s,wr=hr;yr.prototype.hcg=function(){return wr(this._rgb)},mr.hcg=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(yr,[null].concat(r,["hcg"])))},kr.format.hcg=pr,kr.autodetect.push({p:1,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=gr(r,"hcg"),"array"===vr(r)&&3===r.length)return"hcg"}});var Mr=l.unpack,_r=l.last,Nr=Math.round,xr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Mr(r,"rgba"),t=n[0],a=n[1],o=n[2],f=n[3],u=_r(r)||"auto";void 0===f&&(f=1),"auto"===u&&(u=f<1?"rgba":"rgb");var c="000000"+((t=Nr(t))<<16|(a=Nr(a))<<8|(o=Nr(o))).toString(16);c=c.substr(c.length-6);var i="0"+Nr(255*f).toString(16);switch(i=i.substr(i.length-2),u.toLowerCase()){case"rgba":return"#"+c+i;case"argb":return"#"+i+c;default:return"#"+c}},Er=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ar=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Lr=function(r){if(r.match(Er)){4!==r.length&&7!==r.length||(r=r.substr(1)),3===r.length&&(r=(r=r.split(""))[0]+r[0]+r[1]+r[1]+r[2]+r[2]);var e=parseInt(r,16);return[e>>16,e>>8&255,255&e,1]}if(r.match(Ar)){5!==r.length&&9!==r.length||(r=r.substr(1)),4===r.length&&(r=(r=r.split(""))[0]+r[0]+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]);var n=parseInt(r,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+r)},Or=y,Cr=v,Pr=l.type,Ir=s,jr=xr;Cr.prototype.hex=function(r){return jr(this._rgb,r)},Or.hex=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Cr,[null].concat(r,["hex"])))},Ir.format.hex=Lr,Ir.autodetect.push({p:4,test:function(r){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===Pr(r)&&[3,4,5,6,7,8,9].indexOf(r.length)>=0)return"hex"}});var Fr=l.unpack,Rr=l.TWOPI,qr=Math.min,Gr=Math.sqrt,Sr=Math.acos,Br=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t=Fr(r,"rgb"),a=t[0],o=t[1],f=t[2],u=qr(a/=255,o/=255,f/=255),c=(a+o+f)/3,i=c>0?1-u/c:0;return 0===i?n=NaN:(n=(a-o+(a-f))/2,n/=Gr((a-o)*(a-o)+(a-f)*(o-f)),n=Sr(n),f>o&&(n=Rr-n),n/=Rr),[360*n,i,c]},Dr=l.unpack,Tr=l.limit,Yr=l.TWOPI,$r=l.PITHIRD,zr=Math.cos,Hr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,o=(r=Dr(r,"hsi"))[0],f=r[1],u=r[2];return isNaN(o)&&(o=0),isNaN(f)&&(f=0),o>360&&(o-=360),o<0&&(o+=360),(o/=360)<1/3?t=1-((a=(1-f)/3)+(n=(1+f*zr(Yr*o)/zr($r-Yr*o))/3)):o<2/3?a=1-((n=(1-f)/3)+(t=(1+f*zr(Yr*(o-=1/3))/zr($r-Yr*o))/3)):n=1-((t=(1-f)/3)+(a=(1+f*zr(Yr*(o-=2/3))/zr($r-Yr*o))/3)),[255*(n=Tr(u*n*3)),255*(t=Tr(u*t*3)),255*(a=Tr(u*a*3)),r.length>3?r[3]:1]},Kr=l.unpack,Xr=l.type,Vr=y,Ur=v,Wr=s,Zr=Br;Ur.prototype.hsi=function(){return Zr(this._rgb)},Vr.hsi=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Ur,[null].concat(r,["hsi"])))},Wr.format.hsi=Hr,Wr.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Kr(r,"hsi"),"array"===Xr(r)&&3===r.length)return"hsi"}});var Jr=l.unpack,Qr=l.type,re=y,ee=v,ne=s,te=q;ee.prototype.hsl=function(){return te(this._rgb)},re.hsl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(ee,[null].concat(r,["hsl"])))},ne.format.hsl=H,ne.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Jr(r,"hsl"),"array"===Qr(r)&&3===r.length)return"hsl"}});var ae=l.unpack,oe=Math.min,fe=Math.max,ue=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,o=(r=ae(r,"rgb"))[0],f=r[1],u=r[2],c=oe(o,f,u),i=fe(o,f,u),l=i-c;return a=i/255,0===i?(n=Number.NaN,t=0):(t=l/i,o===i&&(n=(f-u)/l),f===i&&(n=2+(u-o)/l),u===i&&(n=4+(o-f)/l),(n*=60)<0&&(n+=360)),[n,t,a]},ce=l.unpack,ie=Math.floor,le=function(){for(var r,e,n,t,a,o,f=[],u=arguments.length;u--;)f[u]=arguments[u];var c,i,l,s=(f=ce(f,"hsv"))[0],h=f[1],d=f[2];if(d*=255,0===h)c=i=l=d;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var b=ie(s/=60),p=s-b,g=d*(1-h),v=d*(1-h*p),m=d*(1-h*(1-p));switch(b){case 0:c=(r=[d,m,g])[0],i=r[1],l=r[2];break;case 1:c=(e=[v,d,g])[0],i=e[1],l=e[2];break;case 2:c=(n=[g,d,m])[0],i=n[1],l=n[2];break;case 3:c=(t=[g,v,d])[0],i=t[1],l=t[2];break;case 4:c=(a=[m,g,d])[0],i=a[1],l=a[2];break;case 5:c=(o=[d,g,v])[0],i=o[1],l=o[2]}}return[c,i,l,f.length>3?f[3]:1]},se=l.unpack,he=l.type,de=y,be=v,pe=s,ge=ue;be.prototype.hsv=function(){return ge(this._rgb)},de.hsv=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(be,[null].concat(r,["hsv"])))},pe.format.hsv=le,pe.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=se(r,"hsv"),"array"===he(r)&&3===r.length)return"hsv"}});var ve={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},me=ve,ye=l.unpack,ke=Math.pow,we=function(r){return(r/=255)<=.04045?r/12.92:ke((r+.055)/1.055,2.4)},Me=function(r){return r>me.t3?ke(r,1/3):r/me.t2+me.t0},_e=function(r,e,n){return r=we(r),e=we(e),n=we(n),[Me((.4124564*r+.3575761*e+.1804375*n)/me.Xn),Me((.2126729*r+.7151522*e+.072175*n)/me.Yn),Me((.0193339*r+.119192*e+.9503041*n)/me.Zn)]},Ne=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=ye(r,"rgb"),t=n[0],a=n[1],o=n[2],f=_e(t,a,o),u=f[0],c=f[1],i=116*c-16;return[i<0?0:i,500*(u-c),200*(c-f[2])]},xe=ve,Ee=l.unpack,Ae=Math.pow,Le=function(r){return 255*(r<=.00304?12.92*r:1.055*Ae(r,1/2.4)-.055)},Oe=function(r){return r>xe.t1?r*r*r:xe.t2*(r-xe.t0)},Ce=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,o=(r=Ee(r,"lab"))[0],f=r[1],u=r[2];return t=(o+16)/116,n=isNaN(f)?t:t+f/500,a=isNaN(u)?t:t-u/200,t=xe.Yn*Oe(t),n=xe.Xn*Oe(n),a=xe.Zn*Oe(a),[Le(3.2404542*n-1.5371385*t-.4985314*a),Le(-.969266*n+1.8760108*t+.041556*a),Le(.0556434*n-.2040259*t+1.0572252*a),r.length>3?r[3]:1]},Pe=l.unpack,Ie=l.type,je=y,Fe=v,Re=s,qe=Ne;Fe.prototype.lab=function(){return qe(this._rgb)},je.lab=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Fe,[null].concat(r,["lab"])))},Re.format.lab=Ce,Re.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Pe(r,"lab"),"array"===Ie(r)&&3===r.length)return"lab"}});var Ge=l.unpack,Se=l.RAD2DEG,Be=Math.sqrt,De=Math.atan2,Te=Math.round,Ye=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Ge(r,"lab"),t=n[0],a=n[1],o=n[2],f=Be(a*a+o*o),u=(De(o,a)*Se+360)%360;return 0===Te(1e4*f)&&(u=Number.NaN),[t,f,u]},$e=l.unpack,ze=Ne,He=Ye,Ke=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=$e(r,"rgb"),t=n[0],a=n[1],o=n[2],f=ze(t,a,o),u=f[0],c=f[1],i=f[2];return He(u,c,i)},Xe=l.unpack,Ve=l.DEG2RAD,Ue=Math.sin,We=Math.cos,Ze=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Xe(r,"lch"),t=n[0],a=n[1],o=n[2];return isNaN(o)&&(o=0),[t,We(o*=Ve)*a,Ue(o)*a]},Je=l.unpack,Qe=Ze,rn=Ce,en=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=Je(r,"lch"))[0],t=r[1],a=r[2],o=Qe(n,t,a),f=o[0],u=o[1],c=o[2],i=rn(f,u,c);return[i[0],i[1],i[2],r.length>3?r[3]:1]},nn=l.unpack,tn=en,an=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=nn(r,"hcl").reverse();return tn.apply(void 0,n)},on=l.unpack,fn=l.type,un=y,cn=v,ln=s,sn=Ke;cn.prototype.lch=function(){return sn(this._rgb)},cn.prototype.hcl=function(){return sn(this._rgb).reverse()},un.lch=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cn,[null].concat(r,["lch"])))},un.hcl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cn,[null].concat(r,["hcl"])))},ln.format.lch=en,ln.format.hcl=an,["lch","hcl"].forEach((function(r){return ln.autodetect.push({p:2,test:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e=on(e,r),"array"===fn(e)&&3===e.length)return r}})}));var hn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},dn=s,bn=l.type,pn=hn,gn=Lr,vn=xr;v.prototype.name=function(){for(var r=vn(this._rgb,"rgb"),e=0,n=Object.keys(pn);e0;)e[n]=arguments[n+1];if(!e.length&&"string"===bn(r)&&pn[r.toLowerCase()])return"named"}});var mn=l.unpack,yn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=mn(r,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},kn=l.type,wn=y,Mn=v,_n=s,Nn=l.type,xn=yn;Mn.prototype.num=function(){return xn(this._rgb)},wn.num=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Mn,[null].concat(r,["num"])))},_n.format.num=function(r){if("number"==kn(r)&&r>=0&&r<=16777215)return[r>>16,r>>8&255,255&r,1];throw new Error("unknown num color: "+r)},_n.autodetect.push({p:5,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(1===r.length&&"number"===Nn(r[0])&&r[0]>=0&&r[0]<=16777215)return"num"}});var En=y,An=v,Ln=s,On=l.unpack,Cn=l.type,Pn=Math.round;An.prototype.rgb=function(r){return void 0===r&&(r=!0),!1===r?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Pn)},An.prototype.rgba=function(r){return void 0===r&&(r=!0),this._rgb.slice(0,4).map((function(e,n){return n<3?!1===r?e:Pn(e):e}))},En.rgb=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(An,[null].concat(r,["rgb"])))},Ln.format.rgb=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=On(r,"rgba");return void 0===n[3]&&(n[3]=1),n},Ln.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=On(r,"rgba"),"array"===Cn(r)&&(3===r.length||4===r.length&&"number"==Cn(r[3])&&r[3]>=0&&r[3]<=1))return"rgb"}});var In=Math.log,jn=function(r){var e,n,t,a=r/100;return a<66?(e=255,n=a<6?0:-155.25485562709179-.44596950469579133*(n=a-2)+104.49216199393888*In(n),t=a<20?0:.8274096064007395*(t=a-10)-254.76935184120902+115.67994401066147*In(t)):(e=351.97690566805693+.114206453784165*(e=a-55)-40.25366309332127*In(e),n=325.4494125711974+.07943456536662342*(n=a-50)-28.0852963507957*In(n),t=255),[e,n,t,1]},Fn=jn,Rn=l.unpack,qn=Math.round,Gn=y,Sn=v,Bn=s,Dn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];for(var n,t=Rn(r,"rgb"),a=t[0],o=t[2],f=1e3,u=4e4;u-f>.4;){var c=Fn(n=.5*(u+f));c[2]/c[0]>=o/a?u=n:f=n}return qn(n)};Sn.prototype.temp=Sn.prototype.kelvin=Sn.prototype.temperature=function(){return Dn(this._rgb)},Gn.temp=Gn.kelvin=Gn.temperature=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Sn,[null].concat(r,["temp"])))},Bn.format.temp=Bn.format.kelvin=Bn.format.temperature=jn;var Tn=l.unpack,Yn=Math.cbrt,$n=Math.pow,zn=Math.sign,Hn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Tn(r,"rgb"),t=n[0],a=n[1],o=n[2],f=[Kn(t/255),Kn(a/255),Kn(o/255)],u=f[0],c=f[1],i=f[2],l=Yn(.4122214708*u+.5363325363*c+.0514459929*i),s=Yn(.2119034982*u+.6806995451*c+.1073969566*i),h=Yn(.0883024619*u+.2817188376*c+.6299787005*i);return[.2104542553*l+.793617785*s-.0040720468*h,1.9779984951*l-2.428592205*s+.4505937099*h,.0259040371*l+.7827717662*s-.808675766*h]};function Kn(r){var e=Math.abs(r);return e<.04045?r/12.92:(zn(r)||1)*$n((e+.055)/1.055,2.4)}var Xn=l.unpack,Vn=Math.pow,Un=Math.sign,Wn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=Xn(r,"lab"))[0],t=r[1],a=r[2],o=Vn(n+.3963377774*t+.2158037573*a,3),f=Vn(n-.1055613458*t-.0638541728*a,3),u=Vn(n-.0894841775*t-1.291485548*a,3);return[255*Zn(4.0767416621*o-3.3077115913*f+.2309699292*u),255*Zn(-1.2684380046*o+2.6097574011*f-.3413193965*u),255*Zn(-.0041960863*o-.7034186147*f+1.707614701*u),r.length>3?r[3]:1]};function Zn(r){var e=Math.abs(r);return e>.0031308?(Un(r)||1)*(1.055*Vn(e,1/2.4)-.055):12.92*r}var Jn=l.unpack,Qn=l.type,rt=y,et=v,nt=s,tt=Hn;et.prototype.oklab=function(){return tt(this._rgb)},rt.oklab=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(et,[null].concat(r,["oklab"])))},nt.format.oklab=Wn,nt.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Jn(r,"oklab"),"array"===Qn(r)&&3===r.length)return"oklab"}});var at=l.unpack,ot=Hn,ft=Ye,ut=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=at(r,"rgb"),t=n[0],a=n[1],o=n[2],f=ot(t,a,o),u=f[0],c=f[1],i=f[2];return ft(u,c,i)},ct=l.unpack,it=Ze,lt=Wn,st=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=ct(r,"lch"))[0],t=r[1],a=r[2],o=it(n,t,a),f=o[0],u=o[1],c=o[2],i=lt(f,u,c);return[i[0],i[1],i[2],r.length>3?r[3]:1]},ht=l.unpack,dt=l.type,bt=y,pt=v,gt=s,vt=ut;pt.prototype.oklch=function(){return vt(this._rgb)},bt.oklch=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(pt,[null].concat(r,["oklch"])))},gt.format.oklch=st,gt.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=ht(r,"oklch"),"array"===dt(r)&&3===r.length)return"oklch"}});var mt=v,yt=l.type;mt.prototype.alpha=function(r,e){return void 0===e&&(e=!1),void 0!==r&&"number"===yt(r)?e?(this._rgb[3]=r,this):new mt([this._rgb[0],this._rgb[1],this._rgb[2],r],"rgb"):this._rgb[3]},v.prototype.clipped=function(){return this._rgb._clipped||!1};var kt=v,wt=ve;kt.prototype.darken=function(r){void 0===r&&(r=1);var e=this.lab();return e[0]-=wt.Kn*r,new kt(e,"lab").alpha(this.alpha(),!0)},kt.prototype.brighten=function(r){return void 0===r&&(r=1),this.darken(-r)},kt.prototype.darker=kt.prototype.darken,kt.prototype.brighter=kt.prototype.brighten,v.prototype.get=function(r){var e=r.split("."),n=e[0],t=e[1],a=this[n]();if(t){var o=n.indexOf(t)-("ok"===n.substr(0,2)?2:0);if(o>-1)return a[o];throw new Error("unknown channel "+t+" in mode "+n)}return a};var Mt=v,_t=l.type,Nt=Math.pow;Mt.prototype.luminance=function(r){if(void 0!==r&&"number"===_t(r)){if(0===r)return new Mt([0,0,0,this._rgb[3]],"rgb");if(1===r)return new Mt([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),n=20,t=function(e,a){var o=e.interpolate(a,.5,"rgb"),f=o.luminance();return Math.abs(r-f)<1e-7||!n--?o:f>r?t(e,o):t(o,a)},a=(e>r?t(new Mt([0,0,0]),this):t(this,new Mt([255,255,255]))).rgb();return new Mt(a.concat([this._rgb[3]]))}return xt.apply(void 0,this._rgb.slice(0,3))};var xt=function(r,e,n){return.2126*(r=Et(r))+.7152*(e=Et(e))+.0722*Et(n)},Et=function(r){return(r/=255)<=.03928?r/12.92:Nt((r+.055)/1.055,2.4)},At={},Lt=v,Ot=l.type,Ct=At,Pt=function(r,e,n){void 0===n&&(n=.5);for(var t=[],a=arguments.length-3;a-- >0;)t[a]=arguments[a+3];var o=t[0]||"lrgb";if(Ct[o]||t.length||(o=Object.keys(Ct)[0]),!Ct[o])throw new Error("interpolation mode "+o+" is not defined");return"object"!==Ot(r)&&(r=new Lt(r)),"object"!==Ot(e)&&(e=new Lt(e)),Ct[o](r,e,n).alpha(r.alpha()+n*(e.alpha()-r.alpha()))},It=v,jt=Pt;It.prototype.mix=It.prototype.interpolate=function(r,e){void 0===e&&(e=.5);for(var n=[],t=arguments.length-2;t-- >0;)n[t]=arguments[t+2];return jt.apply(void 0,[this,r,e].concat(n))};var Ft=v;Ft.prototype.premultiply=function(r){void 0===r&&(r=!1);var e=this._rgb,n=e[3];return r?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new Ft([e[0]*n,e[1]*n,e[2]*n,n],"rgb")};var Rt=v,qt=ve;Rt.prototype.saturate=function(r){void 0===r&&(r=1);var e=this.lch();return e[1]+=qt.Kn*r,e[1]<0&&(e[1]=0),new Rt(e,"lch").alpha(this.alpha(),!0)},Rt.prototype.desaturate=function(r){return void 0===r&&(r=1),this.saturate(-r)};var Gt=v,St=l.type;Gt.prototype.set=function(r,e,n){void 0===n&&(n=!1);var t=r.split("."),a=t[0],o=t[1],f=this[a]();if(o){var u=a.indexOf(o)-("ok"===a.substr(0,2)?2:0);if(u>-1){if("string"==St(e))switch(e.charAt(0)){case"+":case"-":f[u]+=+e;break;case"*":f[u]*=+e.substr(1);break;case"/":f[u]/=+e.substr(1);break;default:f[u]=+e}else{if("number"!==St(e))throw new Error("unsupported value for Color.set");f[u]=e}var c=new Gt(f,a);return n?(this._rgb=c._rgb,this):c}throw new Error("unknown channel "+o+" in mode "+a)}return f};var Bt=v;At.rgb=function(r,e,n){var t=r._rgb,a=e._rgb;return new Bt(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"rgb")};var Dt=v,Tt=Math.sqrt,Yt=Math.pow;At.lrgb=function(r,e,n){var t=r._rgb,a=t[0],o=t[1],f=t[2],u=e._rgb,c=u[0],i=u[1],l=u[2];return new Dt(Tt(Yt(a,2)*(1-n)+Yt(c,2)*n),Tt(Yt(o,2)*(1-n)+Yt(i,2)*n),Tt(Yt(f,2)*(1-n)+Yt(l,2)*n),"rgb")};var $t=v;At.lab=function(r,e,n){var t=r.lab(),a=e.lab();return new $t(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"lab")};var zt=v,Ht=function(r,e,n,t){var a,o,f,u,c,i,l,s,h,d,b,p,g;return"hsl"===t?(f=r.hsl(),u=e.hsl()):"hsv"===t?(f=r.hsv(),u=e.hsv()):"hcg"===t?(f=r.hcg(),u=e.hcg()):"hsi"===t?(f=r.hsi(),u=e.hsi()):"lch"===t||"hcl"===t?(t="hcl",f=r.hcl(),u=e.hcl()):"oklch"===t&&(f=r.oklch().reverse(),u=e.oklch().reverse()),"h"!==t.substr(0,1)&&"oklch"!==t||(c=(a=f)[0],l=a[1],h=a[2],i=(o=u)[0],s=o[1],d=o[2]),isNaN(c)||isNaN(i)?isNaN(c)?isNaN(i)?p=Number.NaN:(p=i,1!=h&&0!=h||"hsv"==t||(b=s)):(p=c,1!=d&&0!=d||"hsv"==t||(b=l)):p=c+n*(i>c&&i-c>180?i-(c+360):i180?i+360-c:i-c),void 0===b&&(b=l+n*(s-l)),g=h+n*(d-h),new zt("oklch"===t?[g,b,p]:[p,b,g],t)},Kt=Ht,Xt=function(r,e,n){return Kt(r,e,n,"lch")};At.lch=Xt,At.hcl=Xt;var Vt=v;At.num=function(r,e,n){var t=r.num(),a=e.num();return new Vt(t+n*(a-t),"num")};var Ut=Ht;At.hcg=function(r,e,n){return Ut(r,e,n,"hcg")};var Wt=Ht;At.hsi=function(r,e,n){return Wt(r,e,n,"hsi")};var Zt=Ht;At.hsl=function(r,e,n){return Zt(r,e,n,"hsl")};var Jt=Ht;At.hsv=function(r,e,n){return Jt(r,e,n,"hsv")};var Qt=v;At.oklab=function(r,e,n){var t=r.oklab(),a=e.oklab();return new Qt(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"oklab")};var ra=Ht;At.oklch=function(r,e,n){return ra(r,e,n,"oklch")};var ea=v,na=l.clip_rgb,ta=Math.pow,aa=Math.sqrt,oa=Math.PI,fa=Math.cos,ua=Math.sin,ca=Math.atan2,ia=function(r,e){for(var n=r.length,t=[0,0,0,0],a=0;a.9999999&&(t[3]=1),new ea(na(t))},la=y,sa=l.type,ha=Math.pow,da=function(r){var e="rgb",n=la("#ccc"),t=0,a=[0,1],o=[],f=[0,0],u=!1,c=[],i=!1,l=0,s=1,h=!1,d={},b=!0,p=1,g=function(r){if((r=r||["#fff","#000"])&&"string"===sa(r)&&la.brewer&&la.brewer[r.toLowerCase()]&&(r=la.brewer[r.toLowerCase()]),"array"===sa(r)){1===r.length&&(r=[r[0],r[0]]),r=r.slice(0);for(var e=0;e2?function(r){if(null!=u){for(var e=u.length-1,n=0;n=u[n];)n++;return n-1}return 0}(r)/(u.length-2):s!==l?(r-l)/(s-l):1,i=m(i),t||(i=v(i)),1!==p&&(i=ha(i,p)),i=f[0]+i*(1-f[0]-f[1]),i=Math.min(1,Math.max(0,i));var h=Math.floor(1e4*i);if(b&&d[h])a=d[h];else{if("array"===sa(c))for(var g=0;g=y&&g===o.length-1){a=c[g];break}if(i>y&&i2){var i=r.map((function(e,n){return n/(r.length-1)})),h=r.map((function(r){return(r-l)/(s-l)}));h.every((function(r,e){return i[e]===r}))||(m=function(r){if(r<=0||r>=1)return r;for(var e=0;r>=h[e+1];)e++;var n=(r-h[e])/(h[e+1]-h[e]);return i[e]+n*(i[e+1]-i[e])})}}return a=[l,s],w},w.mode=function(r){return arguments.length?(e=r,k(),w):e},w.range=function(r,e){return g(r),w},w.out=function(r){return i=r,w},w.spread=function(r){return arguments.length?(t=r,w):t},w.correctLightness=function(r){return null==r&&(r=!0),h=r,k(),v=h?function(r){for(var e=y(0,!0).lab()[0],n=y(1,!0).lab()[0],t=e>n,a=y(r,!0).lab()[0],o=e+(n-e)*r,f=a-o,u=0,c=1,i=20;Math.abs(f)>.01&&i-- >0;)t&&(f*=-1),f<0?(u=r,r+=.5*(c-r)):(c=r,r+=.5*(u-r)),f=(a=y(r,!0).lab()[0])-o;return r}:function(r){return r},w},w.padding=function(r){return null!=r?("number"===sa(r)&&(r=[r,r]),f=r,w):f},w.colors=function(e,n){arguments.length<2&&(n="hex");var t=[];if(0===arguments.length)t=c.slice(0);else if(1===e)t=[w(.5)];else if(e>1){var o=a[0],f=a[1]-o;t=function(r,e,n){for(var t=[],a=ro;a?f++:f--)t.push(f);return t}(0,e,!1).map((function(r){return w(o+r/(e-1)*f)}))}else{r=[];var i=[];if(u&&u.length>2)for(var l=1,s=u.length,h=1<=s;h?ls;h?l++:l--)i.push(.5*(u[l-1]+u[l]));else i=a;t=i.map((function(r){return w(r)}))}return la[n]&&(t=t.map((function(r){return r[n]()}))),t},w.cache=function(r){return null!=r?(b=r,w):b},w.gamma=function(r){return null!=r?(p=r,w):p},w.nodata=function(r){return null!=r?(n=la(r),w):n},w};var ba=v,pa=da,ga=y,va=function(r,e,n){if(!va[n])throw new Error("unknown blend mode "+n);return va[n](r,e)},ma=function(r){return function(e,n){var t=ga(n).rgb(),a=ga(e).rgb();return ga.rgb(r(t,a))}},ya=function(r){return function(e,n){var t=[];return t[0]=r(e[0],n[0]),t[1]=r(e[1],n[1]),t[2]=r(e[2],n[2]),t}};va.normal=ma(ya((function(r){return r}))),va.multiply=ma(ya((function(r,e){return r*e/255}))),va.screen=ma(ya((function(r,e){return 255*(1-(1-r/255)*(1-e/255))}))),va.overlay=ma(ya((function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))}))),va.darken=ma(ya((function(r,e){return r>e?e:r}))),va.lighten=ma(ya((function(r,e){return r>e?r:e}))),va.dodge=ma(ya((function(r,e){return 255===r||(r=e/255*255/(1-r/255))>255?255:r}))),va.burn=ma(ya((function(r,e){return 255*(1-(1-e/255)/(r/255))})));for(var ka=va,wa=l.type,Ma=l.clip_rgb,_a=l.TWOPI,Na=Math.pow,xa=Math.sin,Ea=Math.cos,Aa=y,La=v,Oa=Math.floor,Ca=Math.random,Pa=f,Ia=Math.log,ja=Math.pow,Fa=Math.floor,Ra=Math.abs,qa=function(r,e){void 0===e&&(e=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Pa(r)&&(r=Object.values(r)),r.forEach((function(r){e&&"object"===Pa(r)&&(r=r[e]),null==r||isNaN(r)||(n.values.push(r),n.sum+=r,rn.max&&(n.max=r),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(r,e){return Ga(n,r,e)},n},Ga=function(r,e,n){void 0===e&&(e="equal"),void 0===n&&(n=7),"array"==Pa(r)&&(r=qa(r));var t=r.min,a=r.max,o=r.values.sort((function(r,e){return r-e}));if(1===n)return[t,a];var f=[];if("c"===e.substr(0,1)&&(f.push(t),f.push(a)),"e"===e.substr(0,1)){f.push(t);for(var u=1;u 0");var c=Math.LOG10E*Ia(t),i=Math.LOG10E*Ia(a);f.push(t);for(var l=1;l200&&(y=!1)}for(var R={},q=0;q=360;)b-=360;f[d]=b}else f[d]=f[d]/u[d];return h/=t,new ea(f,e).alpha(h>.99999?1:h,!0)},uo.bezier=function(r){var e=function(r){var e,n,t,a,o,f,u;if(2===(r=r.map((function(r){return new ba(r)}))).length)e=r.map((function(r){return r.lab()})),o=e[0],f=e[1],a=function(r){var e=[0,1,2].map((function(e){return o[e]+r*(f[e]-o[e])}));return new ba(e,"lab")};else if(3===r.length)n=r.map((function(r){return r.lab()})),o=n[0],f=n[1],u=n[2],a=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*o[e]+2*(1-r)*r*f[e]+r*r*u[e]}));return new ba(e,"lab")};else if(4===r.length){var c;t=r.map((function(r){return r.lab()})),o=t[0],f=t[1],u=t[2],c=t[3],a=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*(1-r)*o[e]+3*(1-r)*(1-r)*r*f[e]+3*(1-r)*r*r*u[e]+r*r*r*c[e]}));return new ba(e,"lab")}}else{if(!(r.length>=5))throw new RangeError("No point in running bezier with only one color.");var i,l,s;i=r.map((function(r){return r.lab()})),s=r.length-1,l=function(r){for(var e=[1,1],n=1;nt?(n+.05)/(t+.05):(t+.05)/(n+.05)},uo.deltaE=function(r,e,n,t,a){void 0===n&&(n=1),void 0===t&&(t=1),void 0===a&&(a=1);var o=function(r){return 360*r/(2*Wa)},f=function(r){return 2*Wa*r/360};r=new Da(r),e=new Da(e);var u=Array.from(r.lab()),c=u[0],i=u[1],l=u[2],s=Array.from(e.lab()),h=s[0],d=s[1],b=s[2],p=(c+h)/2,g=(Ta(Ya(i,2)+Ya(l,2))+Ta(Ya(d,2)+Ya(b,2)))/2,v=.5*(1-Ta(Ya(g,7)/(Ya(g,7)+Ya(25,7)))),m=i*(1+v),y=d*(1+v),k=Ta(Ya(m,2)+Ya(l,2)),w=Ta(Ya(y,2)+Ya(b,2)),M=(k+w)/2,_=o(Ha(l,m)),N=o(Ha(b,y)),x=_>=0?_:_+360,E=N>=0?N:N+360,A=Ka(x-E)>180?(x+E+360)/2:(x+E)/2,L=1-.17*Xa(f(A-30))+.24*Xa(f(2*A))+.32*Xa(f(3*A+6))-.2*Xa(f(4*A-63)),O=E-x;O=Ka(O)<=180?O:E<=x?O+360:O-360,O=2*Ta(k*w)*Va(f(O)/2);var C=h-c,P=w-k,I=1+.015*Ya(p-50,2)/Ta(20+Ya(p-50,2)),j=1+.045*M,F=1+.015*M*L,R=30*Ua(-Ya((A-275)/25,2)),q=-2*Ta(Ya(M,7)/(Ya(M,7)+Ya(25,7)))*Va(2*f(R)),G=Ta(Ya(C/(n*I),2)+Ya(P/(t*j),2)+Ya(O/(a*F),2)+q*(P/(t*j))*(O/(a*F)));return za(0,$a(100,G))},uo.distance=function(r,e,n){void 0===n&&(n="lab"),r=new Za(r),e=new Za(e);var t=r.get(n),a=e.get(n),o=0;for(var f in t){var u=(t[f]||0)-(a[f]||0);o+=u*u}return Math.sqrt(o)},uo.limits=Sa.limits,uo.valid=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];try{return new(Function.prototype.bind.apply(Ja,[null].concat(r))),!0}catch(r){return!1}},uo.scales=eo,uo.colors=hn,uo.brewer=fo,uo}()}},e={};function n(t){var a=e[t];if(void 0!==a)return a.exports;var o=e[t]={exports:{}};return r[t].call(o.exports,o,o.exports,n),o.exports}n.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return n.d(e,{a:e}),e},n.d=(r,e)=>{for(var t in e)n.o(e,t)&&!n.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},n.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{"use strict";var r=n(768),e=n.n(r),t=function(r){return r.rgb().join(", ")},a=function(r){return"rgb("+r.rgb().join(", ")+")"};console.log("\n▄▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄ \n█ █ █ █ █ ▄ █ █ █ █ █ █ █\n█ █▄█ █ ▄ █ █ █ █ █ ▄▄▄▄▄█ ▄ █ █▄█ █\n█ ▄█ █▄█ █ █▄▄█▄█ █▄▄▄▄▄█ █ █ █ █\n█ █▄█ █ ▄▄ █▄▄▄▄▄ █ █▄█ █ ▄ █\n█ ▄ █ ▄ █ █ █ █▄▄▄▄▄█ █ █ █ █ █\n█▄▄▄█ █▄█▄▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█\n \n▄▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ \n█ █ █ █ █ █ █ █\n█ █▄█ █ ▄ █ █ █▄ ▄█\n█ ▄█ █▄█ █ █ █ █ \n█ █▄█ █ █▄▄▄ █ █ \n█ ▄ █ ▄ █ █ █ █ \n█▄▄▄█ █▄█▄▄█ █▄▄█▄▄▄▄▄▄▄█ █▄▄▄█ \n \nHi there! 👋 I see you opened up the dev tools.\n\nThis site is powered by Jekyll and GitHub pages and is a simple interface for me to jot down my thoughts in markdown.\n\nIf you're interested in connecting, please reach out to me via LinkedIn at:\nhttp://linkedin.com/in/kaltkarson\n"),document.querySelectorAll("div.highlight").forEach((function(r){!function(r){var e=document.createElement("button");e.innerHTML='\n \n ',e.classList.add("copy-button"),e.addEventListener("click",(function(){var n,t,a=r.querySelector("code");a&&(n=a.innerText,(t=document.createElement("textarea")).value=n,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),e.innerHTML='\n \n ')})),r.style.position="relative",r.appendChild(e)}(r)})),function(){var r,n=document.createElement("input");n.id="theme-button",n.type="color";var o=document.createElement("div");o.id="theme-button-wrapper",null===(r=document.querySelector("main"))||void 0===r||r.insertAdjacentElement("afterend",o),o.appendChild(n),n.onchange=function(){!function(r){try{if(c=r,!e().valid(c))return!1;var n=function(r){var e=r.luminance();e<.15?r=r.luminance(.15):e>.85&&(r=r.luminance(.85));var n=r.get("hsl.s");return r.set("hsl.s",Math.min(n,.85))}(e()(r)),o=function(r){if(0===r.get("hsl.s")){var n=["#00796b","#00acc1","#1976d2","#2196f3"];return e()(n[Math.floor(Math.random()*n.length)]).set("hsl.s",1)}var t=r.set("hsl.s",1);if(t.set("hsl.l",.5),e().contrast(t,r)>=1.75)return t;for(var a=1;a<=20;a++){var o=t.set("hsl.l",t.get("hsl.l")+.05*a);if(e().contrast(o,r)>=1.75)return o}return t}(n),f=function(r){return r.luminance()<.95?r.brighten(.5):r.darken(.05)}(n),u=function(r){return r.get("hsl.s")<.2}(o)?"underline":"none";return function(r,e,n,t){localStorage.setItem("ACCENT_COLOR",a(r)),localStorage.setItem("LINK_COLOR",a(e)),localStorage.setItem("LINK_COLOR_HOVER",a(n)),localStorage.setItem("LINK_DECORATION",t)}(n,o,f,u),function(r,e,n,o){document.documentElement.style.setProperty("--accent-color-base",t(r)),document.documentElement.style.setProperty("--accent-color-link",a(e)),document.documentElement.style.setProperty("--accent-color-link-hover",a(n)),document.documentElement.style.setProperty("--link-decoration",o)}(n,o,f,u),!0}catch(r){return console.error(r),!1}var c}(n.value)}}()})()})();
\ No newline at end of file
+(()=>{var r={768:function(r){r.exports=function(){"use strict";for(var r=function(r,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),rn?n:r},e=r,n={},t=0,a=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];t255)&&(r._clipped=!0),r[n]=e(r[n],0,255)):3===n&&(r[n]=e(r[n],0,1));return r},limit:r,type:o,unpack:function(r,e){return void 0===e&&(e=null),r.length>=3?Array.prototype.slice.call(r):"object"==u(r[0])&&e?e.split("").filter((function(e){return void 0!==r[0][e]})).map((function(e){return r[0][e]})):r[0]},last:function(r){if(r.length<2)return null;var e=r.length-1;return"string"==c(r[e])?r[e].toLowerCase():null},PI:i,TWOPI:2*i,PITHIRD:i/3,DEG2RAD:i/180,RAD2DEG:180/i},h={format:{},autodetect:[]},s=l.last,d=l.clip_rgb,b=l.type,p=h,g=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=this;if("object"===b(r[0])&&r[0].constructor&&r[0].constructor===this.constructor)return r[0];var t=s(r),a=!1;if(!t){a=!0,p.sorted||(p.autodetect=p.autodetect.sort((function(r,e){return e.p-r.p})),p.sorted=!0);for(var f=0,o=p.autodetect;f4?r[4]:1;return 1===f?[0,0,0,o]:[n>=1?0:255*(1-n)*(1-f),t>=1?0:255*(1-t)*(1-f),a>=1?0:255*(1-a)*(1-f),o]},x=y,E=v,A=h,O=l.unpack,P=l.type,I=M;E.prototype.cmyk=function(){return I(this._rgb)},x.cmyk=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(E,[null].concat(r,["cmyk"])))},A.format.cmyk=N,A.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=O(r,"cmyk"),"array"===P(r)&&4===r.length)return"cmyk"}});var L=l.unpack,j=l.last,F=function(r){return Math.round(100*r)/100},R=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=L(r,"hsla"),t=j(r)||"lsa";return n[0]=F(n[0]||0),n[1]=F(100*n[1])+"%",n[2]=F(100*n[2])+"%","hsla"===t||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,t="hsla"):n.length=3,t+"("+n.join(",")+")"},C=l.unpack,G=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=C(r,"rgba"))[0],t=r[1],a=r[2];n/=255,t/=255,a/=255;var f,o,u=Math.min(n,t,a),c=Math.max(n,t,a),i=(c+u)/2;return c===u?(f=0,o=Number.NaN):f=i<.5?(c-u)/(c+u):(c-u)/(2-c-u),n==c?o=(t-a)/(c-u):t==c?o=2+(a-n)/(c-u):a==c&&(o=4+(n-t)/(c-u)),(o*=60)<0&&(o+=360),r.length>3&&void 0!==r[3]?[o,f,i,r[3]]:[o,f,i]},q=l.unpack,S=l.last,B=R,D=G,Y=Math.round,T=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=q(r,"rgba"),t=S(r)||"rgb";return"hsl"==t.substr(0,3)?B(D(n),t):(n[0]=Y(n[0]),n[1]=Y(n[1]),n[2]=Y(n[2]),("rgba"===t||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,t="rgba"),t+"("+n.slice(0,"rgb"===t?3:4).join(",")+")")},$=l.unpack,z=Math.round,K=function(){for(var r,e=[],n=arguments.length;n--;)e[n]=arguments[n];var t,a,f,o=(e=$(e,"hsl"))[0],u=e[1],c=e[2];if(0===u)t=a=f=255*c;else{var i=[0,0,0],l=[0,0,0],h=c<.5?c*(1+u):c+u-c*u,s=2*c-h,d=o/360;i[0]=d+1/3,i[1]=d,i[2]=d-1/3;for(var b=0;b<3;b++)i[b]<0&&(i[b]+=1),i[b]>1&&(i[b]-=1),6*i[b]<1?l[b]=s+6*(h-s)*i[b]:2*i[b]<1?l[b]=h:3*i[b]<2?l[b]=s+(h-s)*(2/3-i[b])*6:l[b]=s;t=(r=[z(255*l[0]),z(255*l[1]),z(255*l[2])])[0],a=r[1],f=r[2]}return e.length>3?[t,a,f,e[3]]:[t,a,f,1]},X=K,H=h,V=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,U=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,W=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Z=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,J=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Q=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,rr=Math.round,er=function(r){var e;if(r=r.toLowerCase().trim(),H.format.named)try{return H.format.named(r)}catch(r){}if(e=r.match(V)){for(var n=e.slice(1,4),t=0;t<3;t++)n[t]=+n[t];return n[3]=1,n}if(e=r.match(U)){for(var a=e.slice(1,5),f=0;f<4;f++)a[f]=+a[f];return a}if(e=r.match(W)){for(var o=e.slice(1,4),u=0;u<3;u++)o[u]=rr(2.55*o[u]);return o[3]=1,o}if(e=r.match(Z)){for(var c=e.slice(1,5),i=0;i<3;i++)c[i]=rr(2.55*c[i]);return c[3]=+c[3],c}if(e=r.match(J)){var l=e.slice(1,4);l[1]*=.01,l[2]*=.01;var h=X(l);return h[3]=1,h}if(e=r.match(Q)){var s=e.slice(1,4);s[1]*=.01,s[2]*=.01;var d=X(s);return d[3]=+e[4],d}};er.test=function(r){return V.test(r)||U.test(r)||W.test(r)||Z.test(r)||J.test(r)||Q.test(r)};var nr=y,tr=v,ar=h,fr=l.type,or=T,ur=er;tr.prototype.css=function(r){return or(this._rgb,r)},nr.css=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(tr,[null].concat(r,["css"])))},ar.format.css=ur,ar.autodetect.push({p:5,test:function(r){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===fr(r)&&ur.test(r))return"css"}});var cr=v,ir=y,lr=l.unpack;h.format.gl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=lr(r,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},ir.gl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cr,[null].concat(r,["gl"])))},cr.prototype.gl=function(){var r=this._rgb;return[r[0]/255,r[1]/255,r[2]/255,r[3]]};var hr=l.unpack,sr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t=hr(r,"rgb"),a=t[0],f=t[1],o=t[2],u=Math.min(a,f,o),c=Math.max(a,f,o),i=c-u,l=100*i/255,h=u/(255-i)*100;return 0===i?n=Number.NaN:(a===c&&(n=(f-o)/i),f===c&&(n=2+(o-a)/i),o===c&&(n=4+(a-f)/i),(n*=60)<0&&(n+=360)),[n,l,h]},dr=l.unpack,br=Math.floor,pr=function(){for(var r,e,n,t,a,f,o=[],u=arguments.length;u--;)o[u]=arguments[u];var c,i,l,h=(o=dr(o,"hcg"))[0],s=o[1],d=o[2];d*=255;var b=255*s;if(0===s)c=i=l=d;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var p=br(h/=60),g=h-p,v=d*(1-s),m=v+b*(1-g),y=v+b*g,k=v+b;switch(p){case 0:c=(r=[k,y,v])[0],i=r[1],l=r[2];break;case 1:c=(e=[m,k,v])[0],i=e[1],l=e[2];break;case 2:c=(n=[v,k,y])[0],i=n[1],l=n[2];break;case 3:c=(t=[v,m,k])[0],i=t[1],l=t[2];break;case 4:c=(a=[y,v,k])[0],i=a[1],l=a[2];break;case 5:c=(f=[k,v,m])[0],i=f[1],l=f[2]}}return[c,i,l,o.length>3?o[3]:1]},gr=l.unpack,vr=l.type,mr=y,yr=v,kr=h,wr=sr;yr.prototype.hcg=function(){return wr(this._rgb)},mr.hcg=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(yr,[null].concat(r,["hcg"])))},kr.format.hcg=pr,kr.autodetect.push({p:1,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=gr(r,"hcg"),"array"===vr(r)&&3===r.length)return"hcg"}});var Mr=l.unpack,_r=l.last,Nr=Math.round,xr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Mr(r,"rgba"),t=n[0],a=n[1],f=n[2],o=n[3],u=_r(r)||"auto";void 0===o&&(o=1),"auto"===u&&(u=o<1?"rgba":"rgb");var c="000000"+((t=Nr(t))<<16|(a=Nr(a))<<8|(f=Nr(f))).toString(16);c=c.substr(c.length-6);var i="0"+Nr(255*o).toString(16);switch(i=i.substr(i.length-2),u.toLowerCase()){case"rgba":return"#"+c+i;case"argb":return"#"+i+c;default:return"#"+c}},Er=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ar=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Or=function(r){if(r.match(Er)){4!==r.length&&7!==r.length||(r=r.substr(1)),3===r.length&&(r=(r=r.split(""))[0]+r[0]+r[1]+r[1]+r[2]+r[2]);var e=parseInt(r,16);return[e>>16,e>>8&255,255&e,1]}if(r.match(Ar)){5!==r.length&&9!==r.length||(r=r.substr(1)),4===r.length&&(r=(r=r.split(""))[0]+r[0]+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]);var n=parseInt(r,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+r)},Pr=y,Ir=v,Lr=l.type,jr=h,Fr=xr;Ir.prototype.hex=function(r){return Fr(this._rgb,r)},Pr.hex=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Ir,[null].concat(r,["hex"])))},jr.format.hex=Or,jr.autodetect.push({p:4,test:function(r){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===Lr(r)&&[3,4,5,6,7,8,9].indexOf(r.length)>=0)return"hex"}});var Rr=l.unpack,Cr=l.TWOPI,Gr=Math.min,qr=Math.sqrt,Sr=Math.acos,Br=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t=Rr(r,"rgb"),a=t[0],f=t[1],o=t[2],u=Gr(a/=255,f/=255,o/=255),c=(a+f+o)/3,i=c>0?1-u/c:0;return 0===i?n=NaN:(n=(a-f+(a-o))/2,n/=qr((a-f)*(a-f)+(a-o)*(f-o)),n=Sr(n),o>f&&(n=Cr-n),n/=Cr),[360*n,i,c]},Dr=l.unpack,Yr=l.limit,Tr=l.TWOPI,$r=l.PITHIRD,zr=Math.cos,Kr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,f=(r=Dr(r,"hsi"))[0],o=r[1],u=r[2];return isNaN(f)&&(f=0),isNaN(o)&&(o=0),f>360&&(f-=360),f<0&&(f+=360),(f/=360)<1/3?t=1-((a=(1-o)/3)+(n=(1+o*zr(Tr*f)/zr($r-Tr*f))/3)):f<2/3?a=1-((n=(1-o)/3)+(t=(1+o*zr(Tr*(f-=1/3))/zr($r-Tr*f))/3)):n=1-((t=(1-o)/3)+(a=(1+o*zr(Tr*(f-=2/3))/zr($r-Tr*f))/3)),[255*(n=Yr(u*n*3)),255*(t=Yr(u*t*3)),255*(a=Yr(u*a*3)),r.length>3?r[3]:1]},Xr=l.unpack,Hr=l.type,Vr=y,Ur=v,Wr=h,Zr=Br;Ur.prototype.hsi=function(){return Zr(this._rgb)},Vr.hsi=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Ur,[null].concat(r,["hsi"])))},Wr.format.hsi=Kr,Wr.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Xr(r,"hsi"),"array"===Hr(r)&&3===r.length)return"hsi"}});var Jr=l.unpack,Qr=l.type,re=y,ee=v,ne=h,te=G;ee.prototype.hsl=function(){return te(this._rgb)},re.hsl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(ee,[null].concat(r,["hsl"])))},ne.format.hsl=K,ne.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Jr(r,"hsl"),"array"===Qr(r)&&3===r.length)return"hsl"}});var ae=l.unpack,fe=Math.min,oe=Math.max,ue=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,f=(r=ae(r,"rgb"))[0],o=r[1],u=r[2],c=fe(f,o,u),i=oe(f,o,u),l=i-c;return a=i/255,0===i?(n=Number.NaN,t=0):(t=l/i,f===i&&(n=(o-u)/l),o===i&&(n=2+(u-f)/l),u===i&&(n=4+(f-o)/l),(n*=60)<0&&(n+=360)),[n,t,a]},ce=l.unpack,ie=Math.floor,le=function(){for(var r,e,n,t,a,f,o=[],u=arguments.length;u--;)o[u]=arguments[u];var c,i,l,h=(o=ce(o,"hsv"))[0],s=o[1],d=o[2];if(d*=255,0===s)c=i=l=d;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var b=ie(h/=60),p=h-b,g=d*(1-s),v=d*(1-s*p),m=d*(1-s*(1-p));switch(b){case 0:c=(r=[d,m,g])[0],i=r[1],l=r[2];break;case 1:c=(e=[v,d,g])[0],i=e[1],l=e[2];break;case 2:c=(n=[g,d,m])[0],i=n[1],l=n[2];break;case 3:c=(t=[g,v,d])[0],i=t[1],l=t[2];break;case 4:c=(a=[m,g,d])[0],i=a[1],l=a[2];break;case 5:c=(f=[d,g,v])[0],i=f[1],l=f[2]}}return[c,i,l,o.length>3?o[3]:1]},he=l.unpack,se=l.type,de=y,be=v,pe=h,ge=ue;be.prototype.hsv=function(){return ge(this._rgb)},de.hsv=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(be,[null].concat(r,["hsv"])))},pe.format.hsv=le,pe.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=he(r,"hsv"),"array"===se(r)&&3===r.length)return"hsv"}});var ve={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},me=ve,ye=l.unpack,ke=Math.pow,we=function(r){return(r/=255)<=.04045?r/12.92:ke((r+.055)/1.055,2.4)},Me=function(r){return r>me.t3?ke(r,1/3):r/me.t2+me.t0},_e=function(r,e,n){return r=we(r),e=we(e),n=we(n),[Me((.4124564*r+.3575761*e+.1804375*n)/me.Xn),Me((.2126729*r+.7151522*e+.072175*n)/me.Yn),Me((.0193339*r+.119192*e+.9503041*n)/me.Zn)]},Ne=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=ye(r,"rgb"),t=n[0],a=n[1],f=n[2],o=_e(t,a,f),u=o[0],c=o[1],i=116*c-16;return[i<0?0:i,500*(u-c),200*(c-o[2])]},xe=ve,Ee=l.unpack,Ae=Math.pow,Oe=function(r){return 255*(r<=.00304?12.92*r:1.055*Ae(r,1/2.4)-.055)},Pe=function(r){return r>xe.t1?r*r*r:xe.t2*(r-xe.t0)},Ie=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,f=(r=Ee(r,"lab"))[0],o=r[1],u=r[2];return t=(f+16)/116,n=isNaN(o)?t:t+o/500,a=isNaN(u)?t:t-u/200,t=xe.Yn*Pe(t),n=xe.Xn*Pe(n),a=xe.Zn*Pe(a),[Oe(3.2404542*n-1.5371385*t-.4985314*a),Oe(-.969266*n+1.8760108*t+.041556*a),Oe(.0556434*n-.2040259*t+1.0572252*a),r.length>3?r[3]:1]},Le=l.unpack,je=l.type,Fe=y,Re=v,Ce=h,Ge=Ne;Re.prototype.lab=function(){return Ge(this._rgb)},Fe.lab=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Re,[null].concat(r,["lab"])))},Ce.format.lab=Ie,Ce.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Le(r,"lab"),"array"===je(r)&&3===r.length)return"lab"}});var qe=l.unpack,Se=l.RAD2DEG,Be=Math.sqrt,De=Math.atan2,Ye=Math.round,Te=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=qe(r,"lab"),t=n[0],a=n[1],f=n[2],o=Be(a*a+f*f),u=(De(f,a)*Se+360)%360;return 0===Ye(1e4*o)&&(u=Number.NaN),[t,o,u]},$e=l.unpack,ze=Ne,Ke=Te,Xe=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=$e(r,"rgb"),t=n[0],a=n[1],f=n[2],o=ze(t,a,f),u=o[0],c=o[1],i=o[2];return Ke(u,c,i)},He=l.unpack,Ve=l.DEG2RAD,Ue=Math.sin,We=Math.cos,Ze=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=He(r,"lch"),t=n[0],a=n[1],f=n[2];return isNaN(f)&&(f=0),[t,We(f*=Ve)*a,Ue(f)*a]},Je=l.unpack,Qe=Ze,rn=Ie,en=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=Je(r,"lch"))[0],t=r[1],a=r[2],f=Qe(n,t,a),o=f[0],u=f[1],c=f[2],i=rn(o,u,c);return[i[0],i[1],i[2],r.length>3?r[3]:1]},nn=l.unpack,tn=en,an=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=nn(r,"hcl").reverse();return tn.apply(void 0,n)},fn=l.unpack,on=l.type,un=y,cn=v,ln=h,hn=Xe;cn.prototype.lch=function(){return hn(this._rgb)},cn.prototype.hcl=function(){return hn(this._rgb).reverse()},un.lch=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cn,[null].concat(r,["lch"])))},un.hcl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cn,[null].concat(r,["hcl"])))},ln.format.lch=en,ln.format.hcl=an,["lch","hcl"].forEach((function(r){return ln.autodetect.push({p:2,test:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e=fn(e,r),"array"===on(e)&&3===e.length)return r}})}));var sn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},dn=h,bn=l.type,pn=sn,gn=Or,vn=xr;v.prototype.name=function(){for(var r=vn(this._rgb,"rgb"),e=0,n=Object.keys(pn);e0;)e[n]=arguments[n+1];if(!e.length&&"string"===bn(r)&&pn[r.toLowerCase()])return"named"}});var mn=l.unpack,yn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=mn(r,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},kn=l.type,wn=y,Mn=v,_n=h,Nn=l.type,xn=yn;Mn.prototype.num=function(){return xn(this._rgb)},wn.num=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Mn,[null].concat(r,["num"])))},_n.format.num=function(r){if("number"==kn(r)&&r>=0&&r<=16777215)return[r>>16,r>>8&255,255&r,1];throw new Error("unknown num color: "+r)},_n.autodetect.push({p:5,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(1===r.length&&"number"===Nn(r[0])&&r[0]>=0&&r[0]<=16777215)return"num"}});var En=y,An=v,On=h,Pn=l.unpack,In=l.type,Ln=Math.round;An.prototype.rgb=function(r){return void 0===r&&(r=!0),!1===r?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Ln)},An.prototype.rgba=function(r){return void 0===r&&(r=!0),this._rgb.slice(0,4).map((function(e,n){return n<3?!1===r?e:Ln(e):e}))},En.rgb=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(An,[null].concat(r,["rgb"])))},On.format.rgb=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Pn(r,"rgba");return void 0===n[3]&&(n[3]=1),n},On.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Pn(r,"rgba"),"array"===In(r)&&(3===r.length||4===r.length&&"number"==In(r[3])&&r[3]>=0&&r[3]<=1))return"rgb"}});var jn=Math.log,Fn=function(r){var e,n,t,a=r/100;return a<66?(e=255,n=a<6?0:-155.25485562709179-.44596950469579133*(n=a-2)+104.49216199393888*jn(n),t=a<20?0:.8274096064007395*(t=a-10)-254.76935184120902+115.67994401066147*jn(t)):(e=351.97690566805693+.114206453784165*(e=a-55)-40.25366309332127*jn(e),n=325.4494125711974+.07943456536662342*(n=a-50)-28.0852963507957*jn(n),t=255),[e,n,t,1]},Rn=Fn,Cn=l.unpack,Gn=Math.round,qn=y,Sn=v,Bn=h,Dn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];for(var n,t=Cn(r,"rgb"),a=t[0],f=t[2],o=1e3,u=4e4;u-o>.4;){var c=Rn(n=.5*(u+o));c[2]/c[0]>=f/a?u=n:o=n}return Gn(n)};Sn.prototype.temp=Sn.prototype.kelvin=Sn.prototype.temperature=function(){return Dn(this._rgb)},qn.temp=qn.kelvin=qn.temperature=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Sn,[null].concat(r,["temp"])))},Bn.format.temp=Bn.format.kelvin=Bn.format.temperature=Fn;var Yn=l.unpack,Tn=Math.cbrt,$n=Math.pow,zn=Math.sign,Kn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Yn(r,"rgb"),t=n[0],a=n[1],f=n[2],o=[Xn(t/255),Xn(a/255),Xn(f/255)],u=o[0],c=o[1],i=o[2],l=Tn(.4122214708*u+.5363325363*c+.0514459929*i),h=Tn(.2119034982*u+.6806995451*c+.1073969566*i),s=Tn(.0883024619*u+.2817188376*c+.6299787005*i);return[.2104542553*l+.793617785*h-.0040720468*s,1.9779984951*l-2.428592205*h+.4505937099*s,.0259040371*l+.7827717662*h-.808675766*s]};function Xn(r){var e=Math.abs(r);return e<.04045?r/12.92:(zn(r)||1)*$n((e+.055)/1.055,2.4)}var Hn=l.unpack,Vn=Math.pow,Un=Math.sign,Wn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=Hn(r,"lab"))[0],t=r[1],a=r[2],f=Vn(n+.3963377774*t+.2158037573*a,3),o=Vn(n-.1055613458*t-.0638541728*a,3),u=Vn(n-.0894841775*t-1.291485548*a,3);return[255*Zn(4.0767416621*f-3.3077115913*o+.2309699292*u),255*Zn(-1.2684380046*f+2.6097574011*o-.3413193965*u),255*Zn(-.0041960863*f-.7034186147*o+1.707614701*u),r.length>3?r[3]:1]};function Zn(r){var e=Math.abs(r);return e>.0031308?(Un(r)||1)*(1.055*Vn(e,1/2.4)-.055):12.92*r}var Jn=l.unpack,Qn=l.type,rt=y,et=v,nt=h,tt=Kn;et.prototype.oklab=function(){return tt(this._rgb)},rt.oklab=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(et,[null].concat(r,["oklab"])))},nt.format.oklab=Wn,nt.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Jn(r,"oklab"),"array"===Qn(r)&&3===r.length)return"oklab"}});var at=l.unpack,ft=Kn,ot=Te,ut=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=at(r,"rgb"),t=n[0],a=n[1],f=n[2],o=ft(t,a,f),u=o[0],c=o[1],i=o[2];return ot(u,c,i)},ct=l.unpack,it=Ze,lt=Wn,ht=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=ct(r,"lch"))[0],t=r[1],a=r[2],f=it(n,t,a),o=f[0],u=f[1],c=f[2],i=lt(o,u,c);return[i[0],i[1],i[2],r.length>3?r[3]:1]},st=l.unpack,dt=l.type,bt=y,pt=v,gt=h,vt=ut;pt.prototype.oklch=function(){return vt(this._rgb)},bt.oklch=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(pt,[null].concat(r,["oklch"])))},gt.format.oklch=ht,gt.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=st(r,"oklch"),"array"===dt(r)&&3===r.length)return"oklch"}});var mt=v,yt=l.type;mt.prototype.alpha=function(r,e){return void 0===e&&(e=!1),void 0!==r&&"number"===yt(r)?e?(this._rgb[3]=r,this):new mt([this._rgb[0],this._rgb[1],this._rgb[2],r],"rgb"):this._rgb[3]},v.prototype.clipped=function(){return this._rgb._clipped||!1};var kt=v,wt=ve;kt.prototype.darken=function(r){void 0===r&&(r=1);var e=this.lab();return e[0]-=wt.Kn*r,new kt(e,"lab").alpha(this.alpha(),!0)},kt.prototype.brighten=function(r){return void 0===r&&(r=1),this.darken(-r)},kt.prototype.darker=kt.prototype.darken,kt.prototype.brighter=kt.prototype.brighten,v.prototype.get=function(r){var e=r.split("."),n=e[0],t=e[1],a=this[n]();if(t){var f=n.indexOf(t)-("ok"===n.substr(0,2)?2:0);if(f>-1)return a[f];throw new Error("unknown channel "+t+" in mode "+n)}return a};var Mt=v,_t=l.type,Nt=Math.pow;Mt.prototype.luminance=function(r){if(void 0!==r&&"number"===_t(r)){if(0===r)return new Mt([0,0,0,this._rgb[3]],"rgb");if(1===r)return new Mt([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),n=20,t=function(e,a){var f=e.interpolate(a,.5,"rgb"),o=f.luminance();return Math.abs(r-o)<1e-7||!n--?f:o>r?t(e,f):t(f,a)},a=(e>r?t(new Mt([0,0,0]),this):t(this,new Mt([255,255,255]))).rgb();return new Mt(a.concat([this._rgb[3]]))}return xt.apply(void 0,this._rgb.slice(0,3))};var xt=function(r,e,n){return.2126*(r=Et(r))+.7152*(e=Et(e))+.0722*Et(n)},Et=function(r){return(r/=255)<=.03928?r/12.92:Nt((r+.055)/1.055,2.4)},At={},Ot=v,Pt=l.type,It=At,Lt=function(r,e,n){void 0===n&&(n=.5);for(var t=[],a=arguments.length-3;a-- >0;)t[a]=arguments[a+3];var f=t[0]||"lrgb";if(It[f]||t.length||(f=Object.keys(It)[0]),!It[f])throw new Error("interpolation mode "+f+" is not defined");return"object"!==Pt(r)&&(r=new Ot(r)),"object"!==Pt(e)&&(e=new Ot(e)),It[f](r,e,n).alpha(r.alpha()+n*(e.alpha()-r.alpha()))},jt=v,Ft=Lt;jt.prototype.mix=jt.prototype.interpolate=function(r,e){void 0===e&&(e=.5);for(var n=[],t=arguments.length-2;t-- >0;)n[t]=arguments[t+2];return Ft.apply(void 0,[this,r,e].concat(n))};var Rt=v;Rt.prototype.premultiply=function(r){void 0===r&&(r=!1);var e=this._rgb,n=e[3];return r?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new Rt([e[0]*n,e[1]*n,e[2]*n,n],"rgb")};var Ct=v,Gt=ve;Ct.prototype.saturate=function(r){void 0===r&&(r=1);var e=this.lch();return e[1]+=Gt.Kn*r,e[1]<0&&(e[1]=0),new Ct(e,"lch").alpha(this.alpha(),!0)},Ct.prototype.desaturate=function(r){return void 0===r&&(r=1),this.saturate(-r)};var qt=v,St=l.type;qt.prototype.set=function(r,e,n){void 0===n&&(n=!1);var t=r.split("."),a=t[0],f=t[1],o=this[a]();if(f){var u=a.indexOf(f)-("ok"===a.substr(0,2)?2:0);if(u>-1){if("string"==St(e))switch(e.charAt(0)){case"+":case"-":o[u]+=+e;break;case"*":o[u]*=+e.substr(1);break;case"/":o[u]/=+e.substr(1);break;default:o[u]=+e}else{if("number"!==St(e))throw new Error("unsupported value for Color.set");o[u]=e}var c=new qt(o,a);return n?(this._rgb=c._rgb,this):c}throw new Error("unknown channel "+f+" in mode "+a)}return o};var Bt=v;At.rgb=function(r,e,n){var t=r._rgb,a=e._rgb;return new Bt(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"rgb")};var Dt=v,Yt=Math.sqrt,Tt=Math.pow;At.lrgb=function(r,e,n){var t=r._rgb,a=t[0],f=t[1],o=t[2],u=e._rgb,c=u[0],i=u[1],l=u[2];return new Dt(Yt(Tt(a,2)*(1-n)+Tt(c,2)*n),Yt(Tt(f,2)*(1-n)+Tt(i,2)*n),Yt(Tt(o,2)*(1-n)+Tt(l,2)*n),"rgb")};var $t=v;At.lab=function(r,e,n){var t=r.lab(),a=e.lab();return new $t(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"lab")};var zt=v,Kt=function(r,e,n,t){var a,f,o,u,c,i,l,h,s,d,b,p,g;return"hsl"===t?(o=r.hsl(),u=e.hsl()):"hsv"===t?(o=r.hsv(),u=e.hsv()):"hcg"===t?(o=r.hcg(),u=e.hcg()):"hsi"===t?(o=r.hsi(),u=e.hsi()):"lch"===t||"hcl"===t?(t="hcl",o=r.hcl(),u=e.hcl()):"oklch"===t&&(o=r.oklch().reverse(),u=e.oklch().reverse()),"h"!==t.substr(0,1)&&"oklch"!==t||(c=(a=o)[0],l=a[1],s=a[2],i=(f=u)[0],h=f[1],d=f[2]),isNaN(c)||isNaN(i)?isNaN(c)?isNaN(i)?p=Number.NaN:(p=i,1!=s&&0!=s||"hsv"==t||(b=h)):(p=c,1!=d&&0!=d||"hsv"==t||(b=l)):p=c+n*(i>c&&i-c>180?i-(c+360):i180?i+360-c:i-c),void 0===b&&(b=l+n*(h-l)),g=s+n*(d-s),new zt("oklch"===t?[g,b,p]:[p,b,g],t)},Xt=Kt,Ht=function(r,e,n){return Xt(r,e,n,"lch")};At.lch=Ht,At.hcl=Ht;var Vt=v;At.num=function(r,e,n){var t=r.num(),a=e.num();return new Vt(t+n*(a-t),"num")};var Ut=Kt;At.hcg=function(r,e,n){return Ut(r,e,n,"hcg")};var Wt=Kt;At.hsi=function(r,e,n){return Wt(r,e,n,"hsi")};var Zt=Kt;At.hsl=function(r,e,n){return Zt(r,e,n,"hsl")};var Jt=Kt;At.hsv=function(r,e,n){return Jt(r,e,n,"hsv")};var Qt=v;At.oklab=function(r,e,n){var t=r.oklab(),a=e.oklab();return new Qt(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"oklab")};var ra=Kt;At.oklch=function(r,e,n){return ra(r,e,n,"oklch")};var ea=v,na=l.clip_rgb,ta=Math.pow,aa=Math.sqrt,fa=Math.PI,oa=Math.cos,ua=Math.sin,ca=Math.atan2,ia=function(r,e){for(var n=r.length,t=[0,0,0,0],a=0;a.9999999&&(t[3]=1),new ea(na(t))},la=y,ha=l.type,sa=Math.pow,da=function(r){var e="rgb",n=la("#ccc"),t=0,a=[0,1],f=[],o=[0,0],u=!1,c=[],i=!1,l=0,h=1,s=!1,d={},b=!0,p=1,g=function(r){if((r=r||["#fff","#000"])&&"string"===ha(r)&&la.brewer&&la.brewer[r.toLowerCase()]&&(r=la.brewer[r.toLowerCase()]),"array"===ha(r)){1===r.length&&(r=[r[0],r[0]]),r=r.slice(0);for(var e=0;e2?function(r){if(null!=u){for(var e=u.length-1,n=0;n=u[n];)n++;return n-1}return 0}(r)/(u.length-2):h!==l?(r-l)/(h-l):1,i=m(i),t||(i=v(i)),1!==p&&(i=sa(i,p)),i=o[0]+i*(1-o[0]-o[1]),i=Math.min(1,Math.max(0,i));var s=Math.floor(1e4*i);if(b&&d[s])a=d[s];else{if("array"===ha(c))for(var g=0;g=y&&g===f.length-1){a=c[g];break}if(i>y&&i2){var i=r.map((function(e,n){return n/(r.length-1)})),s=r.map((function(r){return(r-l)/(h-l)}));s.every((function(r,e){return i[e]===r}))||(m=function(r){if(r<=0||r>=1)return r;for(var e=0;r>=s[e+1];)e++;var n=(r-s[e])/(s[e+1]-s[e]);return i[e]+n*(i[e+1]-i[e])})}}return a=[l,h],w},w.mode=function(r){return arguments.length?(e=r,k(),w):e},w.range=function(r,e){return g(r),w},w.out=function(r){return i=r,w},w.spread=function(r){return arguments.length?(t=r,w):t},w.correctLightness=function(r){return null==r&&(r=!0),s=r,k(),v=s?function(r){for(var e=y(0,!0).lab()[0],n=y(1,!0).lab()[0],t=e>n,a=y(r,!0).lab()[0],f=e+(n-e)*r,o=a-f,u=0,c=1,i=20;Math.abs(o)>.01&&i-- >0;)t&&(o*=-1),o<0?(u=r,r+=.5*(c-r)):(c=r,r+=.5*(u-r)),o=(a=y(r,!0).lab()[0])-f;return r}:function(r){return r},w},w.padding=function(r){return null!=r?("number"===ha(r)&&(r=[r,r]),o=r,w):o},w.colors=function(e,n){arguments.length<2&&(n="hex");var t=[];if(0===arguments.length)t=c.slice(0);else if(1===e)t=[w(.5)];else if(e>1){var f=a[0],o=a[1]-f;t=function(r,e,n){for(var t=[],a=rf;a?o++:o--)t.push(o);return t}(0,e,!1).map((function(r){return w(f+r/(e-1)*o)}))}else{r=[];var i=[];if(u&&u.length>2)for(var l=1,h=u.length,s=1<=h;s?lh;s?l++:l--)i.push(.5*(u[l-1]+u[l]));else i=a;t=i.map((function(r){return w(r)}))}return la[n]&&(t=t.map((function(r){return r[n]()}))),t},w.cache=function(r){return null!=r?(b=r,w):b},w.gamma=function(r){return null!=r?(p=r,w):p},w.nodata=function(r){return null!=r?(n=la(r),w):n},w};var ba=v,pa=da,ga=y,va=function(r,e,n){if(!va[n])throw new Error("unknown blend mode "+n);return va[n](r,e)},ma=function(r){return function(e,n){var t=ga(n).rgb(),a=ga(e).rgb();return ga.rgb(r(t,a))}},ya=function(r){return function(e,n){var t=[];return t[0]=r(e[0],n[0]),t[1]=r(e[1],n[1]),t[2]=r(e[2],n[2]),t}};va.normal=ma(ya((function(r){return r}))),va.multiply=ma(ya((function(r,e){return r*e/255}))),va.screen=ma(ya((function(r,e){return 255*(1-(1-r/255)*(1-e/255))}))),va.overlay=ma(ya((function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))}))),va.darken=ma(ya((function(r,e){return r>e?e:r}))),va.lighten=ma(ya((function(r,e){return r>e?r:e}))),va.dodge=ma(ya((function(r,e){return 255===r||(r=e/255*255/(1-r/255))>255?255:r}))),va.burn=ma(ya((function(r,e){return 255*(1-(1-e/255)/(r/255))})));for(var ka=va,wa=l.type,Ma=l.clip_rgb,_a=l.TWOPI,Na=Math.pow,xa=Math.sin,Ea=Math.cos,Aa=y,Oa=v,Pa=Math.floor,Ia=Math.random,La=o,ja=Math.log,Fa=Math.pow,Ra=Math.floor,Ca=Math.abs,Ga=function(r,e){void 0===e&&(e=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===La(r)&&(r=Object.values(r)),r.forEach((function(r){e&&"object"===La(r)&&(r=r[e]),null==r||isNaN(r)||(n.values.push(r),n.sum+=r,rn.max&&(n.max=r),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(r,e){return qa(n,r,e)},n},qa=function(r,e,n){void 0===e&&(e="equal"),void 0===n&&(n=7),"array"==La(r)&&(r=Ga(r));var t=r.min,a=r.max,f=r.values.sort((function(r,e){return r-e}));if(1===n)return[t,a];var o=[];if("c"===e.substr(0,1)&&(o.push(t),o.push(a)),"e"===e.substr(0,1)){o.push(t);for(var u=1;u 0");var c=Math.LOG10E*ja(t),i=Math.LOG10E*ja(a);o.push(t);for(var l=1;l200&&(y=!1)}for(var C={},G=0;G=360;)b-=360;o[d]=b}else o[d]=o[d]/u[d];return s/=t,new ea(o,e).alpha(s>.99999?1:s,!0)},uf.bezier=function(r){var e=function(r){var e,n,t,a,f,o,u;if(2===(r=r.map((function(r){return new ba(r)}))).length)e=r.map((function(r){return r.lab()})),f=e[0],o=e[1],a=function(r){var e=[0,1,2].map((function(e){return f[e]+r*(o[e]-f[e])}));return new ba(e,"lab")};else if(3===r.length)n=r.map((function(r){return r.lab()})),f=n[0],o=n[1],u=n[2],a=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*f[e]+2*(1-r)*r*o[e]+r*r*u[e]}));return new ba(e,"lab")};else if(4===r.length){var c;t=r.map((function(r){return r.lab()})),f=t[0],o=t[1],u=t[2],c=t[3],a=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*(1-r)*f[e]+3*(1-r)*(1-r)*r*o[e]+3*(1-r)*r*r*u[e]+r*r*r*c[e]}));return new ba(e,"lab")}}else{if(!(r.length>=5))throw new RangeError("No point in running bezier with only one color.");var i,l,h;i=r.map((function(r){return r.lab()})),h=r.length-1,l=function(r){for(var e=[1,1],n=1;nt?(n+.05)/(t+.05):(t+.05)/(n+.05)},uf.deltaE=function(r,e,n,t,a){void 0===n&&(n=1),void 0===t&&(t=1),void 0===a&&(a=1);var f=function(r){return 360*r/(2*Wa)},o=function(r){return 2*Wa*r/360};r=new Da(r),e=new Da(e);var u=Array.from(r.lab()),c=u[0],i=u[1],l=u[2],h=Array.from(e.lab()),s=h[0],d=h[1],b=h[2],p=(c+s)/2,g=(Ya(Ta(i,2)+Ta(l,2))+Ya(Ta(d,2)+Ta(b,2)))/2,v=.5*(1-Ya(Ta(g,7)/(Ta(g,7)+Ta(25,7)))),m=i*(1+v),y=d*(1+v),k=Ya(Ta(m,2)+Ta(l,2)),w=Ya(Ta(y,2)+Ta(b,2)),M=(k+w)/2,_=f(Ka(l,m)),N=f(Ka(b,y)),x=_>=0?_:_+360,E=N>=0?N:N+360,A=Xa(x-E)>180?(x+E+360)/2:(x+E)/2,O=1-.17*Ha(o(A-30))+.24*Ha(o(2*A))+.32*Ha(o(3*A+6))-.2*Ha(o(4*A-63)),P=E-x;P=Xa(P)<=180?P:E<=x?P+360:P-360,P=2*Ya(k*w)*Va(o(P)/2);var I=s-c,L=w-k,j=1+.015*Ta(p-50,2)/Ya(20+Ta(p-50,2)),F=1+.045*M,R=1+.015*M*O,C=30*Ua(-Ta((A-275)/25,2)),G=-2*Ya(Ta(M,7)/(Ta(M,7)+Ta(25,7)))*Va(2*o(C)),q=Ya(Ta(I/(n*j),2)+Ta(L/(t*F),2)+Ta(P/(a*R),2)+G*(L/(t*F))*(P/(a*R)));return za(0,$a(100,q))},uf.distance=function(r,e,n){void 0===n&&(n="lab"),r=new Za(r),e=new Za(e);var t=r.get(n),a=e.get(n),f=0;for(var o in t){var u=(t[o]||0)-(a[o]||0);f+=u*u}return Math.sqrt(f)},uf.limits=Sa.limits,uf.valid=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];try{return new(Function.prototype.bind.apply(Ja,[null].concat(r))),!0}catch(r){return!1}},uf.scales=ef,uf.colors=sn,uf.brewer=of,uf}()}},e={};function n(t){var a=e[t];if(void 0!==a)return a.exports;var f=e[t]={exports:{}};return r[t].call(f.exports,f,f.exports,n),f.exports}n.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return n.d(e,{a:e}),e},n.d=(r,e)=>{for(var t in e)n.o(e,t)&&!n.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},n.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{"use strict";var r=n(768),e=n.n(r),t=function(r){return r.rgb().join(", ")},a=function(r){return"rgb("+r.rgb().join(", ")+")"};console.log("\n▄▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄ \n█ █ █ █ █ ▄ █ █ █ █ █ █ █\n█ █▄█ █ ▄ █ █ █ █ █ ▄▄▄▄▄█ ▄ █ █▄█ █\n█ ▄█ █▄█ █ █▄▄█▄█ █▄▄▄▄▄█ █ █ █ █\n█ █▄█ █ ▄▄ █▄▄▄▄▄ █ █▄█ █ ▄ █\n█ ▄ █ ▄ █ █ █ █▄▄▄▄▄█ █ █ █ █ █\n█▄▄▄█ █▄█▄▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█\n \n▄▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ \n█ █ █ █ █ █ █ █\n█ █▄█ █ ▄ █ █ █▄ ▄█\n█ ▄█ █▄█ █ █ █ █ \n█ █▄█ █ █▄▄▄ █ █ \n█ ▄ █ ▄ █ █ █ █ \n█▄▄▄█ █▄█▄▄█ █▄▄█▄▄▄▄▄▄▄█ █▄▄▄█ \n \nHi there! 👋 I see you opened up the dev tools.\n\nThis site is powered by Jekyll and GitHub pages and is a simple interface for me to jot down my thoughts in markdown.\n\nIf you're interested in connecting, please reach out to me via LinkedIn at:\nhttp://linkedin.com/in/kaltkarson\n"),function(){var r,n=document.createElement("input");n.id="theme-button",n.type="color";var f=document.createElement("div");f.id="theme-button-wrapper",null===(r=document.querySelector("main"))||void 0===r||r.insertAdjacentElement("afterend",f),f.appendChild(n),n.onchange=function(){!function(r){try{if(c=r,!e().valid(c))return!1;var n=function(r){var e=r.luminance();e<.15?r=r.luminance(.15):e>.85&&(r=r.luminance(.85));var n=r.get("hsl.s");return r.set("hsl.s",Math.min(n,.85))}(e()(r)),f=function(r){if(0===r.get("hsl.s")){var n=["#00796b","#00acc1","#1976d2","#2196f3"];return e()(n[Math.floor(Math.random()*n.length)]).set("hsl.s",1)}var t=r.set("hsl.s",1);if(t.set("hsl.l",.5),e().contrast(t,r)>=1.75)return t;for(var a=1;a<=20;a++){var f=t.set("hsl.l",t.get("hsl.l")+.05*a);if(e().contrast(f,r)>=1.75)return f}return t}(n),o=function(r){return r.luminance()<.95?r.brighten(.5):r.darken(.05)}(n),u=function(r){return r.get("hsl.s")<.2}(f)?"underline":"none";return function(r,e,n,t){localStorage.setItem("ACCENT_COLOR",a(r)),localStorage.setItem("LINK_COLOR",a(e)),localStorage.setItem("LINK_COLOR_HOVER",a(n)),localStorage.setItem("LINK_DECORATION",t)}(n,f,o,u),function(r,e,n,f){document.documentElement.style.setProperty("--accent-color-base",t(r)),document.documentElement.style.setProperty("--accent-color-link",a(e)),document.documentElement.style.setProperty("--accent-color-link-hover",a(n)),document.documentElement.style.setProperty("--link-decoration",f)}(n,f,o,u),!0}catch(r){return console.error(r),!1}var c}(n.value)}}()})()})();
\ No newline at end of file
diff --git a/assets/js/post.js b/assets/js/post.js
new file mode 100644
index 0000000..029676f
--- /dev/null
+++ b/assets/js/post.js
@@ -0,0 +1,2 @@
+/*! For license information please see post.js.LICENSE.txt */
+(()=>{var r={768:function(r){r.exports=function(){"use strict";for(var r=function(r,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),rn?n:r},e=r,n={},t=0,a=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];t255)&&(r._clipped=!0),r[n]=e(r[n],0,255)):3===n&&(r[n]=e(r[n],0,1));return r},limit:r,type:o,unpack:function(r,e){return void 0===e&&(e=null),r.length>=3?Array.prototype.slice.call(r):"object"==u(r[0])&&e?e.split("").filter((function(e){return void 0!==r[0][e]})).map((function(e){return r[0][e]})):r[0]},last:function(r){if(r.length<2)return null;var e=r.length-1;return"string"==c(r[e])?r[e].toLowerCase():null},PI:i,TWOPI:2*i,PITHIRD:i/3,DEG2RAD:i/180,RAD2DEG:180/i},h={format:{},autodetect:[]},s=l.last,d=l.clip_rgb,b=l.type,p=h,g=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=this;if("object"===b(r[0])&&r[0].constructor&&r[0].constructor===this.constructor)return r[0];var t=s(r),a=!1;if(!t){a=!0,p.sorted||(p.autodetect=p.autodetect.sort((function(r,e){return e.p-r.p})),p.sorted=!0);for(var f=0,o=p.autodetect;f4?r[4]:1;return 1===f?[0,0,0,o]:[n>=1?0:255*(1-n)*(1-f),t>=1?0:255*(1-t)*(1-f),a>=1?0:255*(1-a)*(1-f),o]},x=y,A=v,E=h,P=l.unpack,O=l.type,F=M;A.prototype.cmyk=function(){return F(this._rgb)},x.cmyk=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(A,[null].concat(r,["cmyk"])))},E.format.cmyk=N,E.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=P(r,"cmyk"),"array"===O(r)&&4===r.length)return"cmyk"}});var j=l.unpack,L=l.last,G=function(r){return Math.round(100*r)/100},R=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=j(r,"hsla"),t=L(r)||"lsa";return n[0]=G(n[0]||0),n[1]=G(100*n[1])+"%",n[2]=G(100*n[2])+"%","hsla"===t||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,t="hsla"):n.length=3,t+"("+n.join(",")+")"},q=l.unpack,C=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=q(r,"rgba"))[0],t=r[1],a=r[2];n/=255,t/=255,a/=255;var f,o,u=Math.min(n,t,a),c=Math.max(n,t,a),i=(c+u)/2;return c===u?(f=0,o=Number.NaN):f=i<.5?(c-u)/(c+u):(c-u)/(2-c-u),n==c?o=(t-a)/(c-u):t==c?o=2+(a-n)/(c-u):a==c&&(o=4+(n-t)/(c-u)),(o*=60)<0&&(o+=360),r.length>3&&void 0!==r[3]?[o,f,i,r[3]]:[o,f,i]},I=l.unpack,B=l.last,D=R,Y=C,S=Math.round,$=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=I(r,"rgba"),t=B(r)||"rgb";return"hsl"==t.substr(0,3)?D(Y(n),t):(n[0]=S(n[0]),n[1]=S(n[1]),n[2]=S(n[2]),("rgba"===t||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,t="rgba"),t+"("+n.slice(0,"rgb"===t?3:4).join(",")+")")},z=l.unpack,T=Math.round,X=function(){for(var r,e=[],n=arguments.length;n--;)e[n]=arguments[n];var t,a,f,o=(e=z(e,"hsl"))[0],u=e[1],c=e[2];if(0===u)t=a=f=255*c;else{var i=[0,0,0],l=[0,0,0],h=c<.5?c*(1+u):c+u-c*u,s=2*c-h,d=o/360;i[0]=d+1/3,i[1]=d,i[2]=d-1/3;for(var b=0;b<3;b++)i[b]<0&&(i[b]+=1),i[b]>1&&(i[b]-=1),6*i[b]<1?l[b]=s+6*(h-s)*i[b]:2*i[b]<1?l[b]=h:3*i[b]<2?l[b]=s+(h-s)*(2/3-i[b])*6:l[b]=s;t=(r=[T(255*l[0]),T(255*l[1]),T(255*l[2])])[0],a=r[1],f=r[2]}return e.length>3?[t,a,f,e[3]]:[t,a,f,1]},U=X,V=h,W=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,K=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Z=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,H=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,J=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Q=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,rr=Math.round,er=function(r){var e;if(r=r.toLowerCase().trim(),V.format.named)try{return V.format.named(r)}catch(r){}if(e=r.match(W)){for(var n=e.slice(1,4),t=0;t<3;t++)n[t]=+n[t];return n[3]=1,n}if(e=r.match(K)){for(var a=e.slice(1,5),f=0;f<4;f++)a[f]=+a[f];return a}if(e=r.match(Z)){for(var o=e.slice(1,4),u=0;u<3;u++)o[u]=rr(2.55*o[u]);return o[3]=1,o}if(e=r.match(H)){for(var c=e.slice(1,5),i=0;i<3;i++)c[i]=rr(2.55*c[i]);return c[3]=+c[3],c}if(e=r.match(J)){var l=e.slice(1,4);l[1]*=.01,l[2]*=.01;var h=U(l);return h[3]=1,h}if(e=r.match(Q)){var s=e.slice(1,4);s[1]*=.01,s[2]*=.01;var d=U(s);return d[3]=+e[4],d}};er.test=function(r){return W.test(r)||K.test(r)||Z.test(r)||H.test(r)||J.test(r)||Q.test(r)};var nr=y,tr=v,ar=h,fr=l.type,or=$,ur=er;tr.prototype.css=function(r){return or(this._rgb,r)},nr.css=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(tr,[null].concat(r,["css"])))},ar.format.css=ur,ar.autodetect.push({p:5,test:function(r){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===fr(r)&&ur.test(r))return"css"}});var cr=v,ir=y,lr=l.unpack;h.format.gl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=lr(r,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},ir.gl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cr,[null].concat(r,["gl"])))},cr.prototype.gl=function(){var r=this._rgb;return[r[0]/255,r[1]/255,r[2]/255,r[3]]};var hr=l.unpack,sr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t=hr(r,"rgb"),a=t[0],f=t[1],o=t[2],u=Math.min(a,f,o),c=Math.max(a,f,o),i=c-u,l=100*i/255,h=u/(255-i)*100;return 0===i?n=Number.NaN:(a===c&&(n=(f-o)/i),f===c&&(n=2+(o-a)/i),o===c&&(n=4+(a-f)/i),(n*=60)<0&&(n+=360)),[n,l,h]},dr=l.unpack,br=Math.floor,pr=function(){for(var r,e,n,t,a,f,o=[],u=arguments.length;u--;)o[u]=arguments[u];var c,i,l,h=(o=dr(o,"hcg"))[0],s=o[1],d=o[2];d*=255;var b=255*s;if(0===s)c=i=l=d;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var p=br(h/=60),g=h-p,v=d*(1-s),m=v+b*(1-g),y=v+b*g,k=v+b;switch(p){case 0:c=(r=[k,y,v])[0],i=r[1],l=r[2];break;case 1:c=(e=[m,k,v])[0],i=e[1],l=e[2];break;case 2:c=(n=[v,k,y])[0],i=n[1],l=n[2];break;case 3:c=(t=[v,m,k])[0],i=t[1],l=t[2];break;case 4:c=(a=[y,v,k])[0],i=a[1],l=a[2];break;case 5:c=(f=[k,v,m])[0],i=f[1],l=f[2]}}return[c,i,l,o.length>3?o[3]:1]},gr=l.unpack,vr=l.type,mr=y,yr=v,kr=h,wr=sr;yr.prototype.hcg=function(){return wr(this._rgb)},mr.hcg=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(yr,[null].concat(r,["hcg"])))},kr.format.hcg=pr,kr.autodetect.push({p:1,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=gr(r,"hcg"),"array"===vr(r)&&3===r.length)return"hcg"}});var Mr=l.unpack,_r=l.last,Nr=Math.round,xr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Mr(r,"rgba"),t=n[0],a=n[1],f=n[2],o=n[3],u=_r(r)||"auto";void 0===o&&(o=1),"auto"===u&&(u=o<1?"rgba":"rgb");var c="000000"+((t=Nr(t))<<16|(a=Nr(a))<<8|(f=Nr(f))).toString(16);c=c.substr(c.length-6);var i="0"+Nr(255*o).toString(16);switch(i=i.substr(i.length-2),u.toLowerCase()){case"rgba":return"#"+c+i;case"argb":return"#"+i+c;default:return"#"+c}},Ar=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Er=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Pr=function(r){if(r.match(Ar)){4!==r.length&&7!==r.length||(r=r.substr(1)),3===r.length&&(r=(r=r.split(""))[0]+r[0]+r[1]+r[1]+r[2]+r[2]);var e=parseInt(r,16);return[e>>16,e>>8&255,255&e,1]}if(r.match(Er)){5!==r.length&&9!==r.length||(r=r.substr(1)),4===r.length&&(r=(r=r.split(""))[0]+r[0]+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]);var n=parseInt(r,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+r)},Or=y,Fr=v,jr=l.type,Lr=h,Gr=xr;Fr.prototype.hex=function(r){return Gr(this._rgb,r)},Or.hex=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Fr,[null].concat(r,["hex"])))},Lr.format.hex=Pr,Lr.autodetect.push({p:4,test:function(r){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===jr(r)&&[3,4,5,6,7,8,9].indexOf(r.length)>=0)return"hex"}});var Rr=l.unpack,qr=l.TWOPI,Cr=Math.min,Ir=Math.sqrt,Br=Math.acos,Dr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t=Rr(r,"rgb"),a=t[0],f=t[1],o=t[2],u=Cr(a/=255,f/=255,o/=255),c=(a+f+o)/3,i=c>0?1-u/c:0;return 0===i?n=NaN:(n=(a-f+(a-o))/2,n/=Ir((a-f)*(a-f)+(a-o)*(f-o)),n=Br(n),o>f&&(n=qr-n),n/=qr),[360*n,i,c]},Yr=l.unpack,Sr=l.limit,$r=l.TWOPI,zr=l.PITHIRD,Tr=Math.cos,Xr=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,f=(r=Yr(r,"hsi"))[0],o=r[1],u=r[2];return isNaN(f)&&(f=0),isNaN(o)&&(o=0),f>360&&(f-=360),f<0&&(f+=360),(f/=360)<1/3?t=1-((a=(1-o)/3)+(n=(1+o*Tr($r*f)/Tr(zr-$r*f))/3)):f<2/3?a=1-((n=(1-o)/3)+(t=(1+o*Tr($r*(f-=1/3))/Tr(zr-$r*f))/3)):n=1-((t=(1-o)/3)+(a=(1+o*Tr($r*(f-=2/3))/Tr(zr-$r*f))/3)),[255*(n=Sr(u*n*3)),255*(t=Sr(u*t*3)),255*(a=Sr(u*a*3)),r.length>3?r[3]:1]},Ur=l.unpack,Vr=l.type,Wr=y,Kr=v,Zr=h,Hr=Dr;Kr.prototype.hsi=function(){return Hr(this._rgb)},Wr.hsi=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Kr,[null].concat(r,["hsi"])))},Zr.format.hsi=Xr,Zr.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Ur(r,"hsi"),"array"===Vr(r)&&3===r.length)return"hsi"}});var Jr=l.unpack,Qr=l.type,re=y,ee=v,ne=h,te=C;ee.prototype.hsl=function(){return te(this._rgb)},re.hsl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(ee,[null].concat(r,["hsl"])))},ne.format.hsl=X,ne.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Jr(r,"hsl"),"array"===Qr(r)&&3===r.length)return"hsl"}});var ae=l.unpack,fe=Math.min,oe=Math.max,ue=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,f=(r=ae(r,"rgb"))[0],o=r[1],u=r[2],c=fe(f,o,u),i=oe(f,o,u),l=i-c;return a=i/255,0===i?(n=Number.NaN,t=0):(t=l/i,f===i&&(n=(o-u)/l),o===i&&(n=2+(u-f)/l),u===i&&(n=4+(f-o)/l),(n*=60)<0&&(n+=360)),[n,t,a]},ce=l.unpack,ie=Math.floor,le=function(){for(var r,e,n,t,a,f,o=[],u=arguments.length;u--;)o[u]=arguments[u];var c,i,l,h=(o=ce(o,"hsv"))[0],s=o[1],d=o[2];if(d*=255,0===s)c=i=l=d;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var b=ie(h/=60),p=h-b,g=d*(1-s),v=d*(1-s*p),m=d*(1-s*(1-p));switch(b){case 0:c=(r=[d,m,g])[0],i=r[1],l=r[2];break;case 1:c=(e=[v,d,g])[0],i=e[1],l=e[2];break;case 2:c=(n=[g,d,m])[0],i=n[1],l=n[2];break;case 3:c=(t=[g,v,d])[0],i=t[1],l=t[2];break;case 4:c=(a=[m,g,d])[0],i=a[1],l=a[2];break;case 5:c=(f=[d,g,v])[0],i=f[1],l=f[2]}}return[c,i,l,o.length>3?o[3]:1]},he=l.unpack,se=l.type,de=y,be=v,pe=h,ge=ue;be.prototype.hsv=function(){return ge(this._rgb)},de.hsv=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(be,[null].concat(r,["hsv"])))},pe.format.hsv=le,pe.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=he(r,"hsv"),"array"===se(r)&&3===r.length)return"hsv"}});var ve={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},me=ve,ye=l.unpack,ke=Math.pow,we=function(r){return(r/=255)<=.04045?r/12.92:ke((r+.055)/1.055,2.4)},Me=function(r){return r>me.t3?ke(r,1/3):r/me.t2+me.t0},_e=function(r,e,n){return r=we(r),e=we(e),n=we(n),[Me((.4124564*r+.3575761*e+.1804375*n)/me.Xn),Me((.2126729*r+.7151522*e+.072175*n)/me.Yn),Me((.0193339*r+.119192*e+.9503041*n)/me.Zn)]},Ne=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=ye(r,"rgb"),t=n[0],a=n[1],f=n[2],o=_e(t,a,f),u=o[0],c=o[1],i=116*c-16;return[i<0?0:i,500*(u-c),200*(c-o[2])]},xe=ve,Ae=l.unpack,Ee=Math.pow,Pe=function(r){return 255*(r<=.00304?12.92*r:1.055*Ee(r,1/2.4)-.055)},Oe=function(r){return r>xe.t1?r*r*r:xe.t2*(r-xe.t0)},Fe=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n,t,a,f=(r=Ae(r,"lab"))[0],o=r[1],u=r[2];return t=(f+16)/116,n=isNaN(o)?t:t+o/500,a=isNaN(u)?t:t-u/200,t=xe.Yn*Oe(t),n=xe.Xn*Oe(n),a=xe.Zn*Oe(a),[Pe(3.2404542*n-1.5371385*t-.4985314*a),Pe(-.969266*n+1.8760108*t+.041556*a),Pe(.0556434*n-.2040259*t+1.0572252*a),r.length>3?r[3]:1]},je=l.unpack,Le=l.type,Ge=y,Re=v,qe=h,Ce=Ne;Re.prototype.lab=function(){return Ce(this._rgb)},Ge.lab=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Re,[null].concat(r,["lab"])))},qe.format.lab=Fe,qe.autodetect.push({p:2,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=je(r,"lab"),"array"===Le(r)&&3===r.length)return"lab"}});var Ie=l.unpack,Be=l.RAD2DEG,De=Math.sqrt,Ye=Math.atan2,Se=Math.round,$e=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Ie(r,"lab"),t=n[0],a=n[1],f=n[2],o=De(a*a+f*f),u=(Ye(f,a)*Be+360)%360;return 0===Se(1e4*o)&&(u=Number.NaN),[t,o,u]},ze=l.unpack,Te=Ne,Xe=$e,Ue=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=ze(r,"rgb"),t=n[0],a=n[1],f=n[2],o=Te(t,a,f),u=o[0],c=o[1],i=o[2];return Xe(u,c,i)},Ve=l.unpack,We=l.DEG2RAD,Ke=Math.sin,Ze=Math.cos,He=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Ve(r,"lch"),t=n[0],a=n[1],f=n[2];return isNaN(f)&&(f=0),[t,Ze(f*=We)*a,Ke(f)*a]},Je=l.unpack,Qe=He,rn=Fe,en=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=Je(r,"lch"))[0],t=r[1],a=r[2],f=Qe(n,t,a),o=f[0],u=f[1],c=f[2],i=rn(o,u,c);return[i[0],i[1],i[2],r.length>3?r[3]:1]},nn=l.unpack,tn=en,an=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=nn(r,"hcl").reverse();return tn.apply(void 0,n)},fn=l.unpack,on=l.type,un=y,cn=v,ln=h,hn=Ue;cn.prototype.lch=function(){return hn(this._rgb)},cn.prototype.hcl=function(){return hn(this._rgb).reverse()},un.lch=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cn,[null].concat(r,["lch"])))},un.hcl=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(cn,[null].concat(r,["hcl"])))},ln.format.lch=en,ln.format.hcl=an,["lch","hcl"].forEach((function(r){return ln.autodetect.push({p:2,test:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e=fn(e,r),"array"===on(e)&&3===e.length)return r}})}));var sn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},dn=h,bn=l.type,pn=sn,gn=Pr,vn=xr;v.prototype.name=function(){for(var r=vn(this._rgb,"rgb"),e=0,n=Object.keys(pn);e0;)e[n]=arguments[n+1];if(!e.length&&"string"===bn(r)&&pn[r.toLowerCase()])return"named"}});var mn=l.unpack,yn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=mn(r,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},kn=l.type,wn=y,Mn=v,_n=h,Nn=l.type,xn=yn;Mn.prototype.num=function(){return xn(this._rgb)},wn.num=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Mn,[null].concat(r,["num"])))},_n.format.num=function(r){if("number"==kn(r)&&r>=0&&r<=16777215)return[r>>16,r>>8&255,255&r,1];throw new Error("unknown num color: "+r)},_n.autodetect.push({p:5,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(1===r.length&&"number"===Nn(r[0])&&r[0]>=0&&r[0]<=16777215)return"num"}});var An=y,En=v,Pn=h,On=l.unpack,Fn=l.type,jn=Math.round;En.prototype.rgb=function(r){return void 0===r&&(r=!0),!1===r?this._rgb.slice(0,3):this._rgb.slice(0,3).map(jn)},En.prototype.rgba=function(r){return void 0===r&&(r=!0),this._rgb.slice(0,4).map((function(e,n){return n<3?!1===r?e:jn(e):e}))},An.rgb=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(En,[null].concat(r,["rgb"])))},Pn.format.rgb=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=On(r,"rgba");return void 0===n[3]&&(n[3]=1),n},Pn.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=On(r,"rgba"),"array"===Fn(r)&&(3===r.length||4===r.length&&"number"==Fn(r[3])&&r[3]>=0&&r[3]<=1))return"rgb"}});var Ln=Math.log,Gn=function(r){var e,n,t,a=r/100;return a<66?(e=255,n=a<6?0:-155.25485562709179-.44596950469579133*(n=a-2)+104.49216199393888*Ln(n),t=a<20?0:.8274096064007395*(t=a-10)-254.76935184120902+115.67994401066147*Ln(t)):(e=351.97690566805693+.114206453784165*(e=a-55)-40.25366309332127*Ln(e),n=325.4494125711974+.07943456536662342*(n=a-50)-28.0852963507957*Ln(n),t=255),[e,n,t,1]},Rn=Gn,qn=l.unpack,Cn=Math.round,In=y,Bn=v,Dn=h,Yn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];for(var n,t=qn(r,"rgb"),a=t[0],f=t[2],o=1e3,u=4e4;u-o>.4;){var c=Rn(n=.5*(u+o));c[2]/c[0]>=f/a?u=n:o=n}return Cn(n)};Bn.prototype.temp=Bn.prototype.kelvin=Bn.prototype.temperature=function(){return Yn(this._rgb)},In.temp=In.kelvin=In.temperature=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(Bn,[null].concat(r,["temp"])))},Dn.format.temp=Dn.format.kelvin=Dn.format.temperature=Gn;var Sn=l.unpack,$n=Math.cbrt,zn=Math.pow,Tn=Math.sign,Xn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=Sn(r,"rgb"),t=n[0],a=n[1],f=n[2],o=[Un(t/255),Un(a/255),Un(f/255)],u=o[0],c=o[1],i=o[2],l=$n(.4122214708*u+.5363325363*c+.0514459929*i),h=$n(.2119034982*u+.6806995451*c+.1073969566*i),s=$n(.0883024619*u+.2817188376*c+.6299787005*i);return[.2104542553*l+.793617785*h-.0040720468*s,1.9779984951*l-2.428592205*h+.4505937099*s,.0259040371*l+.7827717662*h-.808675766*s]};function Un(r){var e=Math.abs(r);return e<.04045?r/12.92:(Tn(r)||1)*zn((e+.055)/1.055,2.4)}var Vn=l.unpack,Wn=Math.pow,Kn=Math.sign,Zn=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=Vn(r,"lab"))[0],t=r[1],a=r[2],f=Wn(n+.3963377774*t+.2158037573*a,3),o=Wn(n-.1055613458*t-.0638541728*a,3),u=Wn(n-.0894841775*t-1.291485548*a,3);return[255*Hn(4.0767416621*f-3.3077115913*o+.2309699292*u),255*Hn(-1.2684380046*f+2.6097574011*o-.3413193965*u),255*Hn(-.0041960863*f-.7034186147*o+1.707614701*u),r.length>3?r[3]:1]};function Hn(r){var e=Math.abs(r);return e>.0031308?(Kn(r)||1)*(1.055*Wn(e,1/2.4)-.055):12.92*r}var Jn=l.unpack,Qn=l.type,rt=y,et=v,nt=h,tt=Xn;et.prototype.oklab=function(){return tt(this._rgb)},rt.oklab=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(et,[null].concat(r,["oklab"])))},nt.format.oklab=Zn,nt.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=Jn(r,"oklab"),"array"===Qn(r)&&3===r.length)return"oklab"}});var at=l.unpack,ft=Xn,ot=$e,ut=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=at(r,"rgb"),t=n[0],a=n[1],f=n[2],o=ft(t,a,f),u=o[0],c=o[1],i=o[2];return ot(u,c,i)},ct=l.unpack,it=He,lt=Zn,ht=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var n=(r=ct(r,"lch"))[0],t=r[1],a=r[2],f=it(n,t,a),o=f[0],u=f[1],c=f[2],i=lt(o,u,c);return[i[0],i[1],i[2],r.length>3?r[3]:1]},st=l.unpack,dt=l.type,bt=y,pt=v,gt=h,vt=ut;pt.prototype.oklch=function(){return vt(this._rgb)},bt.oklch=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return new(Function.prototype.bind.apply(pt,[null].concat(r,["oklch"])))},gt.format.oklch=ht,gt.autodetect.push({p:3,test:function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(r=st(r,"oklch"),"array"===dt(r)&&3===r.length)return"oklch"}});var mt=v,yt=l.type;mt.prototype.alpha=function(r,e){return void 0===e&&(e=!1),void 0!==r&&"number"===yt(r)?e?(this._rgb[3]=r,this):new mt([this._rgb[0],this._rgb[1],this._rgb[2],r],"rgb"):this._rgb[3]},v.prototype.clipped=function(){return this._rgb._clipped||!1};var kt=v,wt=ve;kt.prototype.darken=function(r){void 0===r&&(r=1);var e=this.lab();return e[0]-=wt.Kn*r,new kt(e,"lab").alpha(this.alpha(),!0)},kt.prototype.brighten=function(r){return void 0===r&&(r=1),this.darken(-r)},kt.prototype.darker=kt.prototype.darken,kt.prototype.brighter=kt.prototype.brighten,v.prototype.get=function(r){var e=r.split("."),n=e[0],t=e[1],a=this[n]();if(t){var f=n.indexOf(t)-("ok"===n.substr(0,2)?2:0);if(f>-1)return a[f];throw new Error("unknown channel "+t+" in mode "+n)}return a};var Mt=v,_t=l.type,Nt=Math.pow;Mt.prototype.luminance=function(r){if(void 0!==r&&"number"===_t(r)){if(0===r)return new Mt([0,0,0,this._rgb[3]],"rgb");if(1===r)return new Mt([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),n=20,t=function(e,a){var f=e.interpolate(a,.5,"rgb"),o=f.luminance();return Math.abs(r-o)<1e-7||!n--?f:o>r?t(e,f):t(f,a)},a=(e>r?t(new Mt([0,0,0]),this):t(this,new Mt([255,255,255]))).rgb();return new Mt(a.concat([this._rgb[3]]))}return xt.apply(void 0,this._rgb.slice(0,3))};var xt=function(r,e,n){return.2126*(r=At(r))+.7152*(e=At(e))+.0722*At(n)},At=function(r){return(r/=255)<=.03928?r/12.92:Nt((r+.055)/1.055,2.4)},Et={},Pt=v,Ot=l.type,Ft=Et,jt=function(r,e,n){void 0===n&&(n=.5);for(var t=[],a=arguments.length-3;a-- >0;)t[a]=arguments[a+3];var f=t[0]||"lrgb";if(Ft[f]||t.length||(f=Object.keys(Ft)[0]),!Ft[f])throw new Error("interpolation mode "+f+" is not defined");return"object"!==Ot(r)&&(r=new Pt(r)),"object"!==Ot(e)&&(e=new Pt(e)),Ft[f](r,e,n).alpha(r.alpha()+n*(e.alpha()-r.alpha()))},Lt=v,Gt=jt;Lt.prototype.mix=Lt.prototype.interpolate=function(r,e){void 0===e&&(e=.5);for(var n=[],t=arguments.length-2;t-- >0;)n[t]=arguments[t+2];return Gt.apply(void 0,[this,r,e].concat(n))};var Rt=v;Rt.prototype.premultiply=function(r){void 0===r&&(r=!1);var e=this._rgb,n=e[3];return r?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new Rt([e[0]*n,e[1]*n,e[2]*n,n],"rgb")};var qt=v,Ct=ve;qt.prototype.saturate=function(r){void 0===r&&(r=1);var e=this.lch();return e[1]+=Ct.Kn*r,e[1]<0&&(e[1]=0),new qt(e,"lch").alpha(this.alpha(),!0)},qt.prototype.desaturate=function(r){return void 0===r&&(r=1),this.saturate(-r)};var It=v,Bt=l.type;It.prototype.set=function(r,e,n){void 0===n&&(n=!1);var t=r.split("."),a=t[0],f=t[1],o=this[a]();if(f){var u=a.indexOf(f)-("ok"===a.substr(0,2)?2:0);if(u>-1){if("string"==Bt(e))switch(e.charAt(0)){case"+":case"-":o[u]+=+e;break;case"*":o[u]*=+e.substr(1);break;case"/":o[u]/=+e.substr(1);break;default:o[u]=+e}else{if("number"!==Bt(e))throw new Error("unsupported value for Color.set");o[u]=e}var c=new It(o,a);return n?(this._rgb=c._rgb,this):c}throw new Error("unknown channel "+f+" in mode "+a)}return o};var Dt=v;Et.rgb=function(r,e,n){var t=r._rgb,a=e._rgb;return new Dt(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"rgb")};var Yt=v,St=Math.sqrt,$t=Math.pow;Et.lrgb=function(r,e,n){var t=r._rgb,a=t[0],f=t[1],o=t[2],u=e._rgb,c=u[0],i=u[1],l=u[2];return new Yt(St($t(a,2)*(1-n)+$t(c,2)*n),St($t(f,2)*(1-n)+$t(i,2)*n),St($t(o,2)*(1-n)+$t(l,2)*n),"rgb")};var zt=v;Et.lab=function(r,e,n){var t=r.lab(),a=e.lab();return new zt(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"lab")};var Tt=v,Xt=function(r,e,n,t){var a,f,o,u,c,i,l,h,s,d,b,p,g;return"hsl"===t?(o=r.hsl(),u=e.hsl()):"hsv"===t?(o=r.hsv(),u=e.hsv()):"hcg"===t?(o=r.hcg(),u=e.hcg()):"hsi"===t?(o=r.hsi(),u=e.hsi()):"lch"===t||"hcl"===t?(t="hcl",o=r.hcl(),u=e.hcl()):"oklch"===t&&(o=r.oklch().reverse(),u=e.oklch().reverse()),"h"!==t.substr(0,1)&&"oklch"!==t||(c=(a=o)[0],l=a[1],s=a[2],i=(f=u)[0],h=f[1],d=f[2]),isNaN(c)||isNaN(i)?isNaN(c)?isNaN(i)?p=Number.NaN:(p=i,1!=s&&0!=s||"hsv"==t||(b=h)):(p=c,1!=d&&0!=d||"hsv"==t||(b=l)):p=c+n*(i>c&&i-c>180?i-(c+360):i180?i+360-c:i-c),void 0===b&&(b=l+n*(h-l)),g=s+n*(d-s),new Tt("oklch"===t?[g,b,p]:[p,b,g],t)},Ut=Xt,Vt=function(r,e,n){return Ut(r,e,n,"lch")};Et.lch=Vt,Et.hcl=Vt;var Wt=v;Et.num=function(r,e,n){var t=r.num(),a=e.num();return new Wt(t+n*(a-t),"num")};var Kt=Xt;Et.hcg=function(r,e,n){return Kt(r,e,n,"hcg")};var Zt=Xt;Et.hsi=function(r,e,n){return Zt(r,e,n,"hsi")};var Ht=Xt;Et.hsl=function(r,e,n){return Ht(r,e,n,"hsl")};var Jt=Xt;Et.hsv=function(r,e,n){return Jt(r,e,n,"hsv")};var Qt=v;Et.oklab=function(r,e,n){var t=r.oklab(),a=e.oklab();return new Qt(t[0]+n*(a[0]-t[0]),t[1]+n*(a[1]-t[1]),t[2]+n*(a[2]-t[2]),"oklab")};var ra=Xt;Et.oklch=function(r,e,n){return ra(r,e,n,"oklch")};var ea=v,na=l.clip_rgb,ta=Math.pow,aa=Math.sqrt,fa=Math.PI,oa=Math.cos,ua=Math.sin,ca=Math.atan2,ia=function(r,e){for(var n=r.length,t=[0,0,0,0],a=0;a.9999999&&(t[3]=1),new ea(na(t))},la=y,ha=l.type,sa=Math.pow,da=function(r){var e="rgb",n=la("#ccc"),t=0,a=[0,1],f=[],o=[0,0],u=!1,c=[],i=!1,l=0,h=1,s=!1,d={},b=!0,p=1,g=function(r){if((r=r||["#fff","#000"])&&"string"===ha(r)&&la.brewer&&la.brewer[r.toLowerCase()]&&(r=la.brewer[r.toLowerCase()]),"array"===ha(r)){1===r.length&&(r=[r[0],r[0]]),r=r.slice(0);for(var e=0;e2?function(r){if(null!=u){for(var e=u.length-1,n=0;n=u[n];)n++;return n-1}return 0}(r)/(u.length-2):h!==l?(r-l)/(h-l):1,i=m(i),t||(i=v(i)),1!==p&&(i=sa(i,p)),i=o[0]+i*(1-o[0]-o[1]),i=Math.min(1,Math.max(0,i));var s=Math.floor(1e4*i);if(b&&d[s])a=d[s];else{if("array"===ha(c))for(var g=0;g=y&&g===f.length-1){a=c[g];break}if(i>y&&i2){var i=r.map((function(e,n){return n/(r.length-1)})),s=r.map((function(r){return(r-l)/(h-l)}));s.every((function(r,e){return i[e]===r}))||(m=function(r){if(r<=0||r>=1)return r;for(var e=0;r>=s[e+1];)e++;var n=(r-s[e])/(s[e+1]-s[e]);return i[e]+n*(i[e+1]-i[e])})}}return a=[l,h],w},w.mode=function(r){return arguments.length?(e=r,k(),w):e},w.range=function(r,e){return g(r),w},w.out=function(r){return i=r,w},w.spread=function(r){return arguments.length?(t=r,w):t},w.correctLightness=function(r){return null==r&&(r=!0),s=r,k(),v=s?function(r){for(var e=y(0,!0).lab()[0],n=y(1,!0).lab()[0],t=e>n,a=y(r,!0).lab()[0],f=e+(n-e)*r,o=a-f,u=0,c=1,i=20;Math.abs(o)>.01&&i-- >0;)t&&(o*=-1),o<0?(u=r,r+=.5*(c-r)):(c=r,r+=.5*(u-r)),o=(a=y(r,!0).lab()[0])-f;return r}:function(r){return r},w},w.padding=function(r){return null!=r?("number"===ha(r)&&(r=[r,r]),o=r,w):o},w.colors=function(e,n){arguments.length<2&&(n="hex");var t=[];if(0===arguments.length)t=c.slice(0);else if(1===e)t=[w(.5)];else if(e>1){var f=a[0],o=a[1]-f;t=function(r,e,n){for(var t=[],a=rf;a?o++:o--)t.push(o);return t}(0,e,!1).map((function(r){return w(f+r/(e-1)*o)}))}else{r=[];var i=[];if(u&&u.length>2)for(var l=1,h=u.length,s=1<=h;s?lh;s?l++:l--)i.push(.5*(u[l-1]+u[l]));else i=a;t=i.map((function(r){return w(r)}))}return la[n]&&(t=t.map((function(r){return r[n]()}))),t},w.cache=function(r){return null!=r?(b=r,w):b},w.gamma=function(r){return null!=r?(p=r,w):p},w.nodata=function(r){return null!=r?(n=la(r),w):n},w};var ba=v,pa=da,ga=y,va=function(r,e,n){if(!va[n])throw new Error("unknown blend mode "+n);return va[n](r,e)},ma=function(r){return function(e,n){var t=ga(n).rgb(),a=ga(e).rgb();return ga.rgb(r(t,a))}},ya=function(r){return function(e,n){var t=[];return t[0]=r(e[0],n[0]),t[1]=r(e[1],n[1]),t[2]=r(e[2],n[2]),t}};va.normal=ma(ya((function(r){return r}))),va.multiply=ma(ya((function(r,e){return r*e/255}))),va.screen=ma(ya((function(r,e){return 255*(1-(1-r/255)*(1-e/255))}))),va.overlay=ma(ya((function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))}))),va.darken=ma(ya((function(r,e){return r>e?e:r}))),va.lighten=ma(ya((function(r,e){return r>e?r:e}))),va.dodge=ma(ya((function(r,e){return 255===r||(r=e/255*255/(1-r/255))>255?255:r}))),va.burn=ma(ya((function(r,e){return 255*(1-(1-e/255)/(r/255))})));for(var ka=va,wa=l.type,Ma=l.clip_rgb,_a=l.TWOPI,Na=Math.pow,xa=Math.sin,Aa=Math.cos,Ea=y,Pa=v,Oa=Math.floor,Fa=Math.random,ja=o,La=Math.log,Ga=Math.pow,Ra=Math.floor,qa=Math.abs,Ca=function(r,e){void 0===e&&(e=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===ja(r)&&(r=Object.values(r)),r.forEach((function(r){e&&"object"===ja(r)&&(r=r[e]),null==r||isNaN(r)||(n.values.push(r),n.sum+=r,rn.max&&(n.max=r),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(r,e){return Ia(n,r,e)},n},Ia=function(r,e,n){void 0===e&&(e="equal"),void 0===n&&(n=7),"array"==ja(r)&&(r=Ca(r));var t=r.min,a=r.max,f=r.values.sort((function(r,e){return r-e}));if(1===n)return[t,a];var o=[];if("c"===e.substr(0,1)&&(o.push(t),o.push(a)),"e"===e.substr(0,1)){o.push(t);for(var u=1;u 0");var c=Math.LOG10E*La(t),i=Math.LOG10E*La(a);o.push(t);for(var l=1;l200&&(y=!1)}for(var q={},C=0;C=360;)b-=360;o[d]=b}else o[d]=o[d]/u[d];return s/=t,new ea(o,e).alpha(s>.99999?1:s,!0)},uf.bezier=function(r){var e=function(r){var e,n,t,a,f,o,u;if(2===(r=r.map((function(r){return new ba(r)}))).length)e=r.map((function(r){return r.lab()})),f=e[0],o=e[1],a=function(r){var e=[0,1,2].map((function(e){return f[e]+r*(o[e]-f[e])}));return new ba(e,"lab")};else if(3===r.length)n=r.map((function(r){return r.lab()})),f=n[0],o=n[1],u=n[2],a=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*f[e]+2*(1-r)*r*o[e]+r*r*u[e]}));return new ba(e,"lab")};else if(4===r.length){var c;t=r.map((function(r){return r.lab()})),f=t[0],o=t[1],u=t[2],c=t[3],a=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*(1-r)*f[e]+3*(1-r)*(1-r)*r*o[e]+3*(1-r)*r*r*u[e]+r*r*r*c[e]}));return new ba(e,"lab")}}else{if(!(r.length>=5))throw new RangeError("No point in running bezier with only one color.");var i,l,h;i=r.map((function(r){return r.lab()})),h=r.length-1,l=function(r){for(var e=[1,1],n=1;nt?(n+.05)/(t+.05):(t+.05)/(n+.05)},uf.deltaE=function(r,e,n,t,a){void 0===n&&(n=1),void 0===t&&(t=1),void 0===a&&(a=1);var f=function(r){return 360*r/(2*Za)},o=function(r){return 2*Za*r/360};r=new Ya(r),e=new Ya(e);var u=Array.from(r.lab()),c=u[0],i=u[1],l=u[2],h=Array.from(e.lab()),s=h[0],d=h[1],b=h[2],p=(c+s)/2,g=(Sa($a(i,2)+$a(l,2))+Sa($a(d,2)+$a(b,2)))/2,v=.5*(1-Sa($a(g,7)/($a(g,7)+$a(25,7)))),m=i*(1+v),y=d*(1+v),k=Sa($a(m,2)+$a(l,2)),w=Sa($a(y,2)+$a(b,2)),M=(k+w)/2,_=f(Xa(l,m)),N=f(Xa(b,y)),x=_>=0?_:_+360,A=N>=0?N:N+360,E=Ua(x-A)>180?(x+A+360)/2:(x+A)/2,P=1-.17*Va(o(E-30))+.24*Va(o(2*E))+.32*Va(o(3*E+6))-.2*Va(o(4*E-63)),O=A-x;O=Ua(O)<=180?O:A<=x?O+360:O-360,O=2*Sa(k*w)*Wa(o(O)/2);var F=s-c,j=w-k,L=1+.015*$a(p-50,2)/Sa(20+$a(p-50,2)),G=1+.045*M,R=1+.015*M*P,q=30*Ka(-$a((E-275)/25,2)),C=-2*Sa($a(M,7)/($a(M,7)+$a(25,7)))*Wa(2*o(q)),I=Sa($a(F/(n*L),2)+$a(j/(t*G),2)+$a(O/(a*R),2)+C*(j/(t*G))*(O/(a*R)));return Ta(0,za(100,I))},uf.distance=function(r,e,n){void 0===n&&(n="lab"),r=new Ha(r),e=new Ha(e);var t=r.get(n),a=e.get(n),f=0;for(var o in t){var u=(t[o]||0)-(a[o]||0);f+=u*u}return Math.sqrt(f)},uf.limits=Ba.limits,uf.valid=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];try{return new(Function.prototype.bind.apply(Ja,[null].concat(r))),!0}catch(r){return!1}},uf.scales=ef,uf.colors=sn,uf.brewer=of,uf}()}},e={};function n(t){var a=e[t];if(void 0!==a)return a.exports;var f=e[t]={exports:{}};return r[t].call(f.exports,f,f.exports,n),f.exports}n.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return n.d(e,{a:e}),e},n.d=(r,e)=>{for(var t in e)n.o(e,t)&&!n.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},n.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{"use strict";var r=n(768),e=n.n(r);document.addEventListener("DOMContentLoaded",(function(){var r,n;console.log("this ran"),r=e().random().darken(1).hex(),n=e()(r).rgb().join(", "),document.documentElement.style.setProperty("--accent-color-base",n)}))})()})();
\ No newline at end of file
diff --git a/assets/js/post.js.LICENSE.txt b/assets/js/post.js.LICENSE.txt
new file mode 100644
index 0000000..63e3f38
--- /dev/null
+++ b/assets/js/post.js.LICENSE.txt
@@ -0,0 +1,56 @@
+/**
+ * chroma.js - JavaScript library for color conversions
+ *
+ * Copyright (c) 2011-2019, Gregor Aisch
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * 3. The name Gregor Aisch may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * -------------------------------------------------------
+ *
+ * chroma.js includes colors from colorbrewer2.org, which are released under
+ * the following license:
+ *
+ * Copyright (c) 2002 Cynthia Brewer, Mark Harrower,
+ * and The Pennsylvania State University.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific
+ * language governing permissions and limitations under the License.
+ *
+ * ------------------------------------------------------
+ *
+ * Named colors are taken from X11 Color Names.
+ * http://www.w3.org/TR/css3-color/#svg-color
+ *
+ * @preserve
+ */
diff --git a/assets/ts/home/addCopyButtons.ts b/assets/ts/home/addCopyButtons.ts
new file mode 100644
index 0000000..f7bd771
--- /dev/null
+++ b/assets/ts/home/addCopyButtons.ts
@@ -0,0 +1,43 @@
+export const addCopyButtons = () => {
+ function copyToClipboard(text: string) {
+ const textarea = document.createElement("textarea");
+ textarea.value = text;
+ document.body.appendChild(textarea);
+ textarea.select();
+ document.execCommand("copy");
+ document.body.removeChild(textarea);
+ }
+
+ function createCopyButton(divElement: HTMLDivElement) {
+ const button = document.createElement("button");
+ button.innerHTML = `
+
+ `;
+ button.classList.add("copy-button");
+
+ button.addEventListener("click", () => {
+ const codeElement = divElement.querySelector("code");
+ if (codeElement) {
+ copyToClipboard(codeElement.innerText);
+ button.innerHTML = `
+
+ `;
+ }
+ });
+
+ divElement.style.position = "relative";
+ divElement.appendChild(button);
+ }
+
+ document
+ .querySelectorAll("div.highlight")
+ .forEach((divElement) => {
+ createCopyButton(divElement);
+ });
+};
diff --git a/assets/ts/home/index.ts b/assets/ts/home/index.ts
index fa02e2d..5028a5e 100644
--- a/assets/ts/home/index.ts
+++ b/assets/ts/home/index.ts
@@ -2,10 +2,14 @@ import { addGithubStatus } from "./githubStatus";
import { addTabs } from "./tabs";
import { addTerminal } from "./terminal/index";
import { addPingButtonListener } from "./addPingButtonListener";
+import { loadLocalStorage } from "./loadLocalStorage";
+import { addCopyButtons } from "./addCopyButtons";
document.addEventListener("DOMContentLoaded", () => {
addTabs();
addTerminal();
addGithubStatus();
addPingButtonListener();
+ loadLocalStorage();
+ addCopyButtons();
});
diff --git a/assets/ts/home/loadLocalStorage.ts b/assets/ts/home/loadLocalStorage.ts
new file mode 100644
index 0000000..3fc8e5f
--- /dev/null
+++ b/assets/ts/home/loadLocalStorage.ts
@@ -0,0 +1,6 @@
+import { updateAccentColor } from "./updateAccentColor";
+
+export const loadLocalStorage = () => {
+ const bgColor = localStorage.getItem("ACCENT_COLOR");
+ if (bgColor) updateAccentColor(bgColor);
+};
diff --git a/assets/ts/home/sendPing.ts b/assets/ts/home/sendPing.ts
index 20968dd..d12efa6 100644
--- a/assets/ts/home/sendPing.ts
+++ b/assets/ts/home/sendPing.ts
@@ -1,4 +1,7 @@
export const sendPing = (message: string) => {
+ if (!message) {
+ throw new Error("Message is required");
+ }
fetch("https://api.pushover.net/1/messages.json", {
method: "POST",
headers: {
diff --git a/assets/ts/home/terminal/commands.ts b/assets/ts/home/terminal/commands.ts
index 5a8d0ce..8f9113c 100644
--- a/assets/ts/home/terminal/commands.ts
+++ b/assets/ts/home/terminal/commands.ts
@@ -1,7 +1,7 @@
-import { updateAccentColor } from "./updateAccentColor";
+import { updateAccentColor } from "../updateAccentColor";
import { sendPing } from "../sendPing";
-const pingCommand: CommandExecute = (args) => {
+const messageCommand: CommandExecute = (args) => {
try {
sendPing(args.join(" "));
return "Message sent to my phone";
@@ -14,7 +14,7 @@ const restoreCommand: CommandExecute = (args) => {
const promptCharacter = localStorage.getItem("PS1");
if (promptCharacter) exportCommand(["PS1=" + promptCharacter]);
const bgColor = localStorage.getItem("ACCENT_COLOR");
- if (bgColor) exportCommand(["ACCENT_COLOR=" + bgColor]);
+ if (bgColor) bgcolorCommand([bgColor]);
return "Restored terminal settings";
};
@@ -28,10 +28,6 @@ const clearCommand: CommandExecute = (args) => {
return "Console cleared";
};
-const lsCommand: CommandExecute = (args) => {
- return "file1.txt\nfile2.txt\nfile3.txt";
-};
-
const helpCommand: CommandExecute = (args) => {
let helpText = "Available commands:\n";
@@ -48,14 +44,6 @@ const helpCommand: CommandExecute = (args) => {
return formattedHelpText;
};
-const dateCommand: CommandExecute = (args) => {
- return new Date().toString();
-};
-
-const whoamiCommand: CommandExecute = (args) => {
- return "Karson, Frontend Developer";
-};
-
const exportCommand: CommandExecute = (args) => {
const arg = args[0];
@@ -74,56 +62,18 @@ const exportCommand: CommandExecute = (args) => {
return `Prompt character changed to ${newPromptCharacter}`;
}
- if (arg.startsWith("ACCENT_COLOR=")) {
- const newColor = args.join(" ").slice(13).trim();
-
- const updateSuccessful = updateAccentColor(newColor);
-
- if (updateSuccessful) {
- return `Accent changed to ${newColor}`;
- }
-
- return "Invalid color. Please provide: #000000, rgb(0, 0, 0) or any valid css color.";
- }
-
- return "Invalid export command. Usage: export PS1=$, export ACCENT_COLOR=#";
+ return "Invalid export command. Usage: export PS1=$";
};
-const aboutCommand: CommandExecute = (args) => {
- return `I’m a passionate software engineer dedicated to crafting interfaces that delight users and make a difference. Currently, I’m a Software Engineer at JupiterOne , where I advocate for user experience and get to build impactful features every day.`;
-};
+const bgcolorCommand: CommandExecute = (args) => {
+ const newColor = args.join(" ").trim();
+ const updateSuccessful = updateAccentColor(newColor);
-const skillsCommand: CommandExecute = (args) => {
- if (args.includes("--languages")) {
- return "TypeScript, JavaScript, CSS";
- } else if (args.includes("-l")) {
- return "Frontend Development, React, UX Design, TypeScript, JavaScript, Node A11y, Agile, User-Centered Design";
- } else {
- return "Frontend Development, React, UX Design, TypeScript, JavaScript";
+ if (updateSuccessful) {
+ return `Accent changed to ${newColor}`;
}
-};
-
-const projectsCommand: CommandExecute = (args) => {
- return `Projects: `;
-};
-const educationCommand: CommandExecute = (args) => {
- return `B.S. Digital Marketing, Utah Valley University (2010 - 2014)
- Software Engineering Immersive Flatiron School (2017)
- `;
-};
-
-const experienceCommand: CommandExecute = (args) => {
- return `Software Engineer, Applications, JupiterOne (October 2021 - Present)
- Natural Language Querying
- − Designed and developed the integration of generative AI into our search experience, converting natural language to our query language. Resulted in one of our highest adoption rates and helped accelerate platform time-to-value.
- − Implemented a vector database embedding cache, improving query response times and reducing operational costs.
- − Implemented Natural Language Processing (NLP) techniques including fuzzy matching and stop word filtering to enhance search precision.
-
- Design System Development
- − Spearheaded the development of JupiterOne’s design system, including creation of a comprehensive component library, design tokens, and theming system. Helping to streamline the development process and enabling engineers to focus on core feature development.
- − Crafted standardized-yet-customizable component APIs through a mix of composability, customization, and "component slots". Balanced flexibility with ease-of-use, allowing for customization without excessive rigidity. Leveraged standard naming conventions and JSDoc for streamlined development.
- `;
+ return "Invalid color. Please provide: #000000, rgb(0, 0, 0) or any valid css color.";
};
const snarkyResponse: CommandExecute = () => {
@@ -201,8 +151,8 @@ export type Commands = {
};
const supportedCommands = {
- ping: {
- execute: pingCommand,
+ message: {
+ execute: messageCommand,
description: "Sends a message to the me",
flags: {},
},
@@ -216,52 +166,15 @@ const supportedCommands = {
description: "Prints back the input received",
flags: {},
},
- ls: {
- execute: lsCommand,
- description: "Lists all available files",
- flags: {},
- },
- about: {
- execute: aboutCommand,
- description: "Displays about information",
- flags: {},
- },
+
help: {
execute: helpCommand,
description: "Shows help information about all commands",
flags: {},
},
- date: {
- execute: dateCommand,
- description: "Displays the current date and time",
- flags: {},
- },
- whoami: {
- execute: whoamiCommand,
- description: "Displays user information",
- flags: {},
- },
- skills: {
- execute: skillsCommand,
- description: "Lists all my skills",
- flags: {
- "--languages": "Lists programming languages I know",
- "-l": "Lists all my skills",
- },
- },
- projects: {
- execute: projectsCommand,
- description: "Lists all my projects",
- flags: {},
- },
- education: {
- execute: educationCommand,
- description: "Displays my educational background",
- flags: {},
- },
- experience: {
- execute: experienceCommand,
- description: "Displays my work experience",
+ bgcolor: {
+ execute: bgcolorCommand,
+ description: "Changes the background color",
flags: {},
},
export: {
@@ -294,6 +207,7 @@ const invalidCommands = {
man: { execute: snarkyResponse },
grep: { execute: snarkyResponse },
find: { execute: snarkyResponse },
+ ping: { execute: snarkyResponse },
pwd: { execute: snarkyResponse },
df: { execute: snarkyResponse },
du: { execute: snarkyResponse },
@@ -311,13 +225,9 @@ export type CommandOptions =
const snarkyResponses = [
"Nice try, but this isn't a real terminal!",
- "You're not fooling anyone.",
"Did you really think that would work?",
"You must think you're pretty clever, huh?",
- "You must be new here.",
"I'm sorry, Dave. I'm afraid I can't do that.",
- "You must be mistaken, this isn't a real terminal.",
- "That command is about as useful here as a chocolate teapot.",
];
const executeCommand = (cmd: string, args: string[]) => {
diff --git a/assets/ts/home/themeButton.ts b/assets/ts/home/themeButton.ts
index ef18e2b..244d94e 100644
--- a/assets/ts/home/themeButton.ts
+++ b/assets/ts/home/themeButton.ts
@@ -1,4 +1,4 @@
-import { updateAccentColor } from "./terminal/updateAccentColor";
+import { updateAccentColor } from "./updateAccentColor";
export const insertThemeButton = () => {
const themeButton = document.createElement("input");
diff --git a/assets/ts/home/terminal/updateAccentColor.ts b/assets/ts/home/updateAccentColor.ts
similarity index 100%
rename from assets/ts/home/terminal/updateAccentColor.ts
rename to assets/ts/home/updateAccentColor.ts
diff --git a/assets/ts/index.ts b/assets/ts/index.ts
index 6658d3a..14872de 100644
--- a/assets/ts/index.ts
+++ b/assets/ts/index.ts
@@ -25,46 +25,4 @@ If you're interested in connecting, please reach out to me via LinkedIn at:
http://linkedin.com/in/kaltkarson
`);
-function copyToClipboard(text: string) {
- const textarea = document.createElement("textarea");
- textarea.value = text;
- document.body.appendChild(textarea);
- textarea.select();
- document.execCommand("copy");
- document.body.removeChild(textarea);
-}
-
-function createCopyButton(divElement: HTMLDivElement) {
- const button = document.createElement("button");
- button.innerHTML = `
-
- `;
- button.classList.add("copy-button");
-
- button.addEventListener("click", () => {
- const codeElement = divElement.querySelector("code");
- if (codeElement) {
- copyToClipboard(codeElement.innerText);
- button.innerHTML = `
-
- `;
- }
- });
-
- divElement.style.position = "relative";
- divElement.appendChild(button);
-}
-
-document
- .querySelectorAll("div.highlight")
- .forEach((divElement) => {
- createCopyButton(divElement);
- });
-
insertThemeButton();
diff --git a/assets/ts/post/index.ts b/assets/ts/post/index.ts
new file mode 100644
index 0000000..169865d
--- /dev/null
+++ b/assets/ts/post/index.ts
@@ -0,0 +1,14 @@
+import chroma from "chroma-js";
+
+document.addEventListener("DOMContentLoaded", () => {
+ console.log("this ran");
+ const generateRandomAccentColor = () => {
+ const randomColor = chroma.random().darken(1).hex();
+ const rgbString = chroma(randomColor).rgb().join(", ");
+ document.documentElement.style.setProperty(
+ "--accent-color-base",
+ rgbString
+ );
+ };
+ generateRandomAccentColor();
+});
diff --git a/webpack.config.js b/webpack.config.js
index 1af8099..594aa3f 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -4,6 +4,7 @@ module.exports = {
entry: {
index: "./assets/ts/index.ts",
home: "./assets/ts/home/index.ts",
+ post: "./assets/ts/post/index.ts",
},
module: {
rules: [