Socket
Socket
Sign inDemoInstall

react-metamask-avatar

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-metamask-avatar - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

src/MetaMaskAvatar/index.test.tsx

4

dist/cjs/index.js

@@ -1,2 +0,2 @@

"use strict";var e=require("react"),t=function(e){null==e&&(e=(new Date).getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,e.constructor==Array?this.init_by_array(e,e.length):this.init_seed(e)};t.prototype.init_seed=function(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++){e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0}},t.prototype.init_by_array=function(e,t){var r,n,a;for(this.init_seed(19650218),r=1,n=0,a=this.N>t?this.N:t;a;a--){var i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1664525*((4294901760&i)>>>16)<<16)+1664525*(65535&i))+e[n]+n,this.mt[r]>>>=0,n++,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1),n>=t&&(n=0)}for(a=this.N-1;a;a--){i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1566083941*((4294901760&i)>>>16)<<16)+1566083941*(65535&i))-r,this.mt[r]>>>=0,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1)}this.mt[0]=2147483648},t.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var r;for(this.mti==this.N+1&&this.init_seed(5489),r=0;r<this.N-this.M;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+this.M]^e>>>1^t[1&e];for(;r<this.N-1;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+(this.M-this.N)]^e>>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,(e^=e>>>18)>>>0},t.prototype.random_int31=function(){return this.random_int()>>>1},t.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},t.prototype.random=function(){return this.random_int()*(1/4294967296)},t.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},t.prototype.random_long=function(){return(67108864*(this.random_int()>>>5)+(this.random_int()>>>6))*(1/9007199254740992)};var r=t;var n=function(e,t){var r=document.createElement("div");return r.style.borderRadius="50px",r.style.overflow="hidden",r.style.padding="0px",r.style.margin="0px",r.style.width=e+"px",r.style.height=e+"px",r.style.display="inline-block",r.style.background=t,{container:r}},a={};!function(e){var t=function(){function e(t,n,a,i){"object"==typeof n&&(a=n.depth,i=n.prototype,n.filter,n=n.circular);var s=[],o=[],l="undefined"!=typeof Buffer;return void 0===n&&(n=!0),void 0===a&&(a=1/0),function t(a,u){if(null===a)return null;if(0==u)return a;var c,h;if("object"!=typeof a)return a;if(e.__isArray(a))c=[];else if(e.__isRegExp(a))c=new RegExp(a.source,r(a)),a.lastIndex&&(c.lastIndex=a.lastIndex);else if(e.__isDate(a))c=new Date(a.getTime());else{if(l&&Buffer.isBuffer(a))return c=Buffer.allocUnsafe?Buffer.allocUnsafe(a.length):new Buffer(a.length),a.copy(c),c;void 0===i?(h=Object.getPrototypeOf(a),c=Object.create(h)):(c=Object.create(i),h=i)}if(n){var d=s.indexOf(a);if(-1!=d)return o[d];s.push(a),o.push(c)}for(var p in a){var f;h&&(f=Object.getOwnPropertyDescriptor(h,p)),f&&null==f.set||(c[p]=t(a[p],u-1))}return c}(t,a)}function t(e){return Object.prototype.toString.call(e)}function r(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},e.__objToStr=t,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},e.__getRegExpFlags=r,e}();e.exports&&(e.exports=t)}({get exports(){return a},set exports(e){a=e}});var i={},s={get exports(){return i},set exports(e){i=e}},o={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l={};for(var u in o)o.hasOwnProperty(u)&&(l[o[u]]=u);var c=s.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var h in c)if(c.hasOwnProperty(h)){if(!("channels"in c[h]))throw new Error("missing channels property: "+h);if(!("labels"in c[h]))throw new Error("missing channel labels property: "+h);if(c[h].labels.length!==c[h].channels)throw new Error("channel and label counts mismatch: "+h);var d=c[h].channels,p=c[h].labels;delete c[h].channels,delete c[h].labels,Object.defineProperty(c[h],"channels",{value:d}),Object.defineProperty(c[h],"labels",{value:p})}c.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,i=e[2]/255,s=Math.min(n,a,i),o=Math.max(n,a,i),l=o-s;return o===s?t=0:n===o?t=(a-i)/l:a===o?t=2+(i-n)/l:i===o&&(t=4+(n-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),r=(s+o)/2,[t,100*(o===s?0:r<=.5?l/(o+s):l/(2-o-s)),100*r]},c.rgb.hsv=function(e){var t,r,n,a,i,s=e[0]/255,o=e[1]/255,l=e[2]/255,u=Math.max(s,o,l),c=u-Math.min(s,o,l),h=function(e){return(u-e)/6/c+.5};return 0===c?a=i=0:(i=c/u,t=h(s),r=h(o),n=h(l),s===u?a=n-r:o===u?a=1/3+t-n:l===u&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*i,100*u]},c.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[c.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},c.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},c.rgb.keyword=function(e){var t=l[e];if(t)return t;var r,n,a,i=1/0;for(var s in o)if(o.hasOwnProperty(s)){var u=o[s],c=(n=e,a=u,Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)+Math.pow(n[2]-a[2],2));c<i&&(i=c,r=s)}return r},c.keyword.rgb=function(e){return o[e]},c.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},c.rgb.lab=function(e){var t=c.rgb.xyz(e),r=t[0],n=t[1],a=t[2];return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},c.hsl.rgb=function(e){var t,r,n,a,i,s=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[i=255*l,i,i];t=2*l-(r=l<.5?l*(1+o):l+o-l*o),a=[0,0,0];for(var u=0;u<3;u++)(n=s+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[u]=255*i;return a},c.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,i=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=i<=1?i:2-i,[t,100*(0===n?2*a/(i+a):2*r/(n+r)),100*((n+r)/2)]},c.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),s=255*n*(1-r),o=255*n*(1-r*i),l=255*n*(1-r*(1-i));switch(n*=255,a){case 0:return[n,l,s];case 1:return[o,n,s];case 2:return[s,n,l];case 3:return[s,o,n];case 4:return[l,s,n];case 5:return[n,s,o]}},c.hsv.hsl=function(e){var t,r,n,a=e[0],i=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return n=(2-i)*s,r=i*o,[a,100*(r=(r/=(t=(2-i)*o)<=1?t:2-t)||0),100*(n/=2)]},c.hwb.rgb=function(e){var t,r,n,a,i,s,o,l=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),n=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),t){default:case 6:case 0:i=r,s=a,o=u;break;case 1:i=a,s=r,o=u;break;case 2:i=u,s=r,o=a;break;case 3:i=u,s=a,o=r;break;case 4:i=a,s=u,o=r;break;case 5:i=r,s=u,o=a}return[255*i,255*s,255*o]},c.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},c.xyz.rgb=function(e){var t,r,n,a=e[0]/100,i=e[1]/100,s=e[2]/100;return r=-.9689*a+1.8758*i+.0415*s,n=.0557*a+-.204*i+1.057*s,t=(t=3.2406*a+-1.5372*i+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},c.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},c.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var i=Math.pow(r,3),s=Math.pow(t,3),o=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},c.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},c.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},c.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:c.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},c.hsv.ansi16=function(e){return c.rgb.ansi16(c.hsv.rgb(e),e[2])},c.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},c.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},c.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},c.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},c.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},c.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,i=Math.max(Math.max(r,n),a),s=Math.min(Math.min(r,n),a),o=i-s;return t=o<=0?0:i===r?(n-a)/o%6:i===n?2+(a-r)/o:4+(r-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},c.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},c.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},c.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var a,i=[0,0,0],s=t%1*6,o=s%1,l=1-o;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=l,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=l,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=l}return a=(1-r)*n,[255*(r*i[0]+a),255*(r*i[1]+a),255*(r*i[2]+a)]},c.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},c.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},c.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},c.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},c.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},c.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},c.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},c.gray.hsl=c.gray.hsv=function(e){return[0,0,e[0]]},c.gray.hwb=function(e){return[0,100,e[0]]},c.gray.cmyk=function(e){return[0,0,0,e[0]]},c.gray.lab=function(e){return[e[0],0,0]},c.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},c.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var f=i;function g(e){var t=function(){for(var e={},t=Object.keys(f),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),a=Object.keys(f[n]),i=a.length,s=0;s<i;s++){var o=a[s],l=t[o];-1===l.distance&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(o))}return t}function v(e,t){return function(r){return t(e(r))}}function m(e,t){for(var r=[t[e].parent,e],n=f[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),n=v(f[t[a].parent][a],n),a=t[a].parent;return n.conversion=r,n}var b=i,y=function(e){for(var t=g(e),r={},n=Object.keys(t),a=n.length,i=0;i<a;i++){var s=n[i];null!==t[s].parent&&(r[s]=m(s,t))}return r},w={};Object.keys(b).forEach((function(e){w[e]={},Object.defineProperty(w[e],"channels",{value:b[e].channels}),Object.defineProperty(w[e],"labels",{value:b[e].labels});var t=y(e);Object.keys(t).forEach((function(r){var n=t[r];w[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,a=0;a<n;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),w[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var k=w,x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},_={getRgba:E,getHsla:M,getRgb:function(e){var t=E(e);return t&&t.slice(0,3)},getHsl:function(e){var t=M(e);return t&&t.slice(0,3)},getHwb:N,getAlpha:function(e){var t=E(e);if(t)return t[3];if(t=M(e))return t[3];if(t=N(e))return t[3]},hexString:function(e){return"#"+P(e[0])+P(e[1])+P(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return S(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:S,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return O(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+a+"%)"},percentaString:O,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return A(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:A,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return V[e.slice(0,3)]}};function E(e){if(e){var t=[0,0,0],r=1,n=e.match(/^#([a-fA-F0-9]{3})$/);if(n){n=n[1];for(var a=0;a<t.length;a++)t[a]=parseInt(n[a]+n[a],16)}else if(n=e.match(/^#([a-fA-F0-9]{6})$/)){n=n[1];for(a=0;a<t.length;a++)t[a]=parseInt(n.slice(2*a,2*a+2),16)}else if(n=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=parseInt(n[a+1]);r=parseFloat(n[4])}else if(n=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(n[a+1]));r=parseFloat(n[4])}else if(n=e.match(/(\D+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(t=x[n[1]]))return}for(a=0;a<t.length;a++)t[a]=C(t[a],0,255);return r=r||0==r?C(r,0,1):1,t[3]=r,t}}function M(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[C(parseInt(t[1]),0,360),C(parseFloat(t[2]),0,100),C(parseFloat(t[3]),0,100),C(isNaN(r)?1:r,0,1)]}}}function N(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[C(parseInt(t[1]),0,360),C(parseFloat(t[2]),0,100),C(parseFloat(t[3]),0,100),C(isNaN(r)?1:r,0,1)]}}}function S(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function O(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function A(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function C(e,t,r){return Math.min(Math.max(t,e),r)}function P(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var V={};for(var R in x)V[x[R]]=R;var D=a,T=k,j=_,I=function(e){if(e instanceof I)return e;if(!(this instanceof I))return new I(e);var t;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e)if(t=j.getRgba(e))this.setValues("rgb",t);else if(t=j.getHsla(e))this.setValues("hsl",t);else{if(!(t=j.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if(void 0!==(t=e).r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};I.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var e=this.values.rgb,t=[],r=0;r<3;r++)t[r]=e[r]/255;return t.push(this.values.alpha),t},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return j.hexString(this.values.rgb)},rgbString:function(){return j.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return j.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return j.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return j.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return j.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return j.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return j.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var r=this,n=e,a=void 0===t?.5:t,i=2*a-1,s=r.alpha()-n.alpha(),o=((i*s==-1?i:(i+s)/(1+i*s))+1)/2,l=1-o;return this.rgb(o*r.red()+l*n.red(),o*r.green()+l*n.green(),o*r.blue()+l*n.blue()).alpha(r.alpha()*a+n.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e=new I;return e.values=D(this.values),e}},I.prototype.getValues=function(e){for(var t={},r=0;r<e.length;r++)t[e.charAt(r)]=this.values[e][r];return 1!==this.values.alpha&&(t.a=this.values.alpha),t},I.prototype.setValues=function(e,t){var r,n,a={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s=1;if("alpha"===e)s=t;else if(t.length)this.values[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(r=0;r<e.length;r++)this.values[e][r]=t[e.charAt(r)];s=t.a}else if(void 0!==t[a[e][0]]){var o=a[e];for(r=0;r<e.length;r++)this.values[e][r]=t[o[r]];s=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0===s?this.values.alpha:s)),"alpha"===e)return!1;for(r=0;r<e.length;r++)n=Math.max(0,Math.min(i[e][r],this.values[e][r])),this.values[e][r]=Math.round(n);for(var l in a)for(l!==e&&(this.values[l]=T[e][l](this.values[e])),r=0;r<l.length;r++)n=Math.max(0,Math.min(i[l][r],this.values[l][r])),this.values[l][r]=Math.round(n);return!0},I.prototype.setSpace=function(e,t){var r=t[0];return void 0===r?this.getValues(e):("number"==typeof r&&(r=Array.prototype.slice.call(t)),this.setValues(e,r),this)},I.prototype.setChannel=function(e,t,r){return void 0===r?this.values[e][t]:(r===this.values[e][t]||(this.values[e][t]=r,this.setValues(e,this.values[e])),this)};var $,z=r,q=n,F=I,L=["#01888C","#FC7500","#034F5D","#F73F01","#FC1960","#C7144C","#F3C100","#1598F2","#2465E1","#F19E02"],U=4,H="http://www.w3.org/2000/svg",W=function(e,t){$=new z(t);var r=function(e,t){var r=30*t.random()-G/2;return e.map((function(e){var t=F(e);return t.rotate(r),t.hexString()}))}(L.slice(),$),n=q(e,Y(r)).container,a=document.createElementNS(H,"svg");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",e),a.setAttributeNS(null,"height",e),n.appendChild(a);for(var i=0;i<U-1;i++)B(r,e,i,U-1,a);return n};function B(e,t,r,n,a){var i=t/2,s=document.createElementNS(H,"rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",t),s.setAttributeNS(null,"height",t);var o=$.random(),l=2*Math.PI*o,u=t/n*$.random()+r*t/n,c="translate("+Math.cos(l)*u+" "+Math.sin(l)*u+")"+" "+("rotate("+(360*o+180*$.random()).toFixed(1)+" "+i+" "+i+")");s.setAttributeNS(null,"transform",c);var h=Y(e);s.setAttributeNS(null,"fill",h),a.appendChild(s)}function Y(e){$.random();var t=Math.floor(e.length*$.random());return e.splice(t,1)[0]}var G=30;const K={},X=e=>{const{address:t,size:r}=e;if(!t||42!==t.length)return"";const n=`${r}-${t}`;if(K[n])return K[n];const a=parseInt(t.slice(2,10),16),i=W(r,a).firstChild;if(!i)return;const s=(new XMLSerializer).serializeToString(i),o=`data:image/svg+xml,${l=s,l.replace("<svg",~l.indexOf("xmlns")?"<svg":'<svg xmlns="http://www.w3.org/2000/svg"').replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}`;var l;return K[n]=o,o};function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},J.apply(this,arguments)}function Z(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Q=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ee=Z((function(e){return Q.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var te=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var r=64===e.charCodeAt(0)&&105===e.charCodeAt(1);r&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r}if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),re="-ms-",ne="-moz-",ae="-webkit-",ie="comm",se="rule",oe="decl",le="@import",ue="@keyframes",ce=Math.abs,he=String.fromCharCode,de=Object.assign;function pe(e){return e.trim()}function fe(e,t,r){return e.replace(t,r)}function ge(e,t){return e.indexOf(t)}function ve(e,t){return 0|e.charCodeAt(t)}function me(e,t,r){return e.slice(t,r)}function be(e){return e.length}function ye(e){return e.length}function we(e,t){return t.push(e),e}var ke=1,xe=1,_e=0,Ee=0,Me=0,Ne="";function Se(e,t,r,n,a,i,s){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:ke,column:xe,length:s,return:""}}function Oe(e,t){return de(Se("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ae(){return Me=Ee>0?ve(Ne,--Ee):0,xe--,10===Me&&(xe=1,ke--),Me}function Ce(){return Me=Ee<_e?ve(Ne,Ee++):0,xe++,10===Me&&(xe=1,ke++),Me}function Pe(){return ve(Ne,Ee)}function Ve(){return Ee}function Re(e,t){return me(Ne,e,t)}function De(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Te(e){return ke=xe=1,_e=be(Ne=e),Ee=0,[]}function je(e){return Ne="",e}function Ie(e){return pe(Re(Ee-1,qe(91===e?e+2:40===e?e+1:e)))}function $e(e){for(;(Me=Pe())&&Me<33;)Ce();return De(e)>2||De(Me)>3?"":" "}function ze(e,t){for(;--t&&Ce()&&!(Me<48||Me>102||Me>57&&Me<65||Me>70&&Me<97););return Re(e,Ve()+(t<6&&32==Pe()&&32==Ce()))}function qe(e){for(;Ce();)switch(Me){case e:return Ee;case 34:case 39:34!==e&&39!==e&&qe(Me);break;case 40:41===e&&qe(e);break;case 92:Ce()}return Ee}function Fe(e,t){for(;Ce()&&e+Me!==57&&(e+Me!==84||47!==Pe()););return"/*"+Re(t,Ee-1)+"*"+he(47===e?e:Ce())}function Le(e){for(;!De(Pe());)Ce();return Re(e,Ee)}function Ue(e){return je(He("",null,null,null,[""],e=Te(e),0,[0],e))}function He(e,t,r,n,a,i,s,o,l){for(var u=0,c=0,h=s,d=0,p=0,f=0,g=1,v=1,m=1,b=0,y="",w=a,k=i,x=n,_=y;v;)switch(f=b,b=Ce()){case 40:if(108!=f&&58==ve(_,h-1)){-1!=ge(_+=fe(Ie(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:_+=Ie(b);break;case 9:case 10:case 13:case 32:_+=$e(f);break;case 92:_+=ze(Ve()-1,7);continue;case 47:switch(Pe()){case 42:case 47:we(Be(Fe(Ce(),Ve()),t,r),l);break;default:_+="/"}break;case 123*g:o[u++]=be(_)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:p>0&&be(_)-h&&we(p>32?Ye(_+";",n,r,h-1):Ye(fe(_," ","")+";",n,r,h-2),l);break;case 59:_+=";";default:if(we(x=We(_,t,r,u,c,a,o,y,w=[],k=[],h),i),123===b)if(0===c)He(_,t,x,x,w,i,h,o,k);else switch(99===d&&110===ve(_,3)?100:d){case 100:case 109:case 115:He(e,x,x,n&&we(We(e,x,x,0,0,a,o,y,a,w=[],h),k),a,k,h,o,n?w:k);break;default:He(_,x,x,x,[""],k,0,o,k)}}u=c=p=0,g=m=1,y=_="",h=s;break;case 58:h=1+be(_),p=f;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Ae())continue;switch(_+=he(b),b*g){case 38:m=c>0?1:(_+="\f",-1);break;case 44:o[u++]=(be(_)-1)*m,m=1;break;case 64:45===Pe()&&(_+=Ie(Ce())),d=Pe(),c=h=be(y=_+=Le(Ve())),b++;break;case 45:45===f&&2==be(_)&&(g=0)}}return i}function We(e,t,r,n,a,i,s,o,l,u,c){for(var h=a-1,d=0===a?i:[""],p=ye(d),f=0,g=0,v=0;f<n;++f)for(var m=0,b=me(e,h+1,h=ce(g=s[f])),y=e;m<p;++m)(y=pe(g>0?d[m]+" "+b:fe(b,/&\f/g,d[m])))&&(l[v++]=y);return Se(e,t,r,0===a?se:o,l,u,c)}function Be(e,t,r){return Se(e,t,r,ie,he(Me),me(e,2,-2),0)}function Ye(e,t,r,n){return Se(e,t,r,oe,me(e,0,n),me(e,n+1,-1),n)}function Ge(e,t){for(var r="",n=ye(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function Ke(e,t,r,n){switch(e.type){case le:case oe:return e.return=e.return||e.value;case ie:return"";case ue:return e.return=e.value+"{"+Ge(e.children,n)+"}";case se:e.value=e.props.join(",")}return be(r=Ge(e.children,n))?e.return=e.value+"{"+r+"}":""}function Xe(e){var t=ye(e);return function(r,n,a,i){for(var s="",o=0;o<t;o++)s+=e[o](r,n,a,i)||"";return s}}var Je=function(e,t,r){for(var n=0,a=0;n=a,a=Pe(),38===n&&12===a&&(t[r]=1),!De(a);)Ce();return Re(e,Ee)},Ze=function(e,t){return je(function(e,t){var r=-1,n=44;do{switch(De(n)){case 0:38===n&&12===Pe()&&(t[r]=1),e[r]+=Je(Ee-1,t,r);break;case 2:e[r]+=Ie(n);break;case 4:if(44===n){e[++r]=58===Pe()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=he(n)}}while(n=Ce());return e}(Te(e),t))},Qe=new WeakMap,et=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Qe.get(r))&&!n){Qe.set(e,!0);for(var a=[],i=Ze(t,a),s=r.props,o=0,l=0;o<i.length;o++)for(var u=0;u<s.length;u++,l++)e.props[l]=a[o]?i[o].replace(/&\f/g,s[u]):s[u]+" "+i[o]}}},tt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},rt=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},nt=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},at=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},it=function(e,t,r){nt(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),at(e)):function(e,t){for(var r=e-1;r>=0;r--)if(!nt(t[r]))return!0;return!1}(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),at(e)))};function st(e,t){switch(function(e,t){return 45^ve(e,0)?(((t<<2^ve(e,0))<<2^ve(e,1))<<2^ve(e,2))<<2^ve(e,3):0}(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+ne+e+re+e+e;case 6828:case 4268:return ae+e+re+e+e;case 6165:return ae+e+re+"flex-"+e+e;case 5187:return ae+e+fe(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+re+"flex-$1$2")+e;case 5443:return ae+e+re+"flex-item-"+fe(e,/flex-|-self/,"")+e;case 4675:return ae+e+re+"flex-line-pack"+fe(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+re+fe(e,"shrink","negative")+e;case 5292:return ae+e+re+fe(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+fe(e,"-grow","")+ae+e+re+fe(e,"grow","positive")+e;case 4554:return ae+fe(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return fe(fe(fe(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return fe(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return fe(fe(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return fe(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(be(e)-1-t>6)switch(ve(e,t+1)){case 109:if(45!==ve(e,t+4))break;case 102:return fe(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+ne+(108==ve(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ge(e,"stretch")?st(fe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ve(e,t+1))break;case 6444:switch(ve(e,be(e)-3-(~ge(e,"!important")&&10))){case 107:return fe(e,":",":"+ae)+e;case 101:return fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(45===ve(e,14)?"inline-":"")+"box$3$1"+ae+"$2$3$1"+re+"$2box$3")+e}break;case 5936:switch(ve(e,t+11)){case 114:return ae+e+re+fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+re+fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+re+fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+re+e+e}return e}var ot,lt,ut="undefined"!=typeof document,ct=ut?void 0:(ot=function(){return Z((function(){var e={};return function(t){return e[t]}}))},lt=new WeakMap,function(e){if(lt.has(e))return lt.get(e);var t=ot(e);return lt.set(e,t),t}),ht=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case oe:e.return=st(e.value,e.length);break;case ue:return Ge([Oe(e,{value:fe(e.value,"@","@"+ae)})],n);case se:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ge([Oe(e,{props:[fe(t,/:(read-\w+)/,":"+ne+"$1")]})],n);case"::placeholder":return Ge([Oe(e,{props:[fe(t,/:(plac\w+)/,":"+ae+"input-$1")]}),Oe(e,{props:[fe(t,/:(plac\w+)/,":"+ne+"$1")]}),Oe(e,{props:[fe(t,/:(plac\w+)/,re+"input-$1")]})],n)}return""}))}}],dt=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(ut&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||ht;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a,i,s={},o=[];ut&&(a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;o.push(e)})));var l,u=[et,tt];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,r,n){if("rule"===t.type&&!e.compat){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=t.parent===n[0]?n[0].children:n,s=i.length-1;s>=0;s--){var o=i[s];if(o.line<t.line)break;if(o.column<t.column){if(rt(o))return;break}}a.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return m.compat}}),it),ut){var c,h=[Ke,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==ie&&c.insert(e.value+"{}"))}:(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=Xe(u.concat(n,h));i=function(e,t,r,n){c=r,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){r.insert(e+t.map)}}),Ge(Ue(e?e+"{"+t.styles+"}":t.styles),d),n&&(m.inserted[t.name]=!0)}}else{var p=[Ke],f=Xe(u.concat(n,p)),g=ct(n)(t),v=function(e,t){var r=t.name;return void 0===g[r]&&(g[r]=Ge(Ue(e?e+"{"+t.styles+"}":t.styles),f)),g[r]};i=function(e,t,r,n){var a=t.name,i=v(e,t);return void 0===m.compat?(n&&(m.inserted[a]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):n?void(m.inserted[a]=i):i}}var m={key:t,sheet:new te({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return m.sheet.hydrate(o),m},pt="undefined"!=typeof document;function ft(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var gt=function(e,t,r){!function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===pt&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a="",i=t;do{var s=e.insert(t===i?"."+n:"",i,e.sheet,!0);pt||void 0===s||(a+=s),i=i.next}while(void 0!==i);if(!pt&&0!==a.length)return a}};var vt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",bt="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",yt=/[A-Z]|^ms/g,wt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kt=function(e){return 45===e.charCodeAt(1)},xt=function(e){return null!=e&&"boolean"!=typeof e},_t=Z((function(e){return kt(e)?e:e.replace(yt,"-$&").toLowerCase()})),Et=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(wt,(function(e,t,r){return Dt={name:t,styles:r,next:Dt},t}))}return 1===vt[e]||kt(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var Mt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Nt=["normal","none","initial","inherit","unset"],St=Et,Ot=/^-ms-/,At=/-(.)/g,Ct={};Et=function(e,t){if("content"===e&&("string"!=typeof t||-1===Nt.indexOf(t)&&!Mt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=St(e,t);return""===r||kt(e)||-1===e.indexOf("-")||void 0!==Ct[e]||(Ct[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Ot,"ms-").replace(At,(function(e,t){return t.toUpperCase()}))+"?")),r}}var Pt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Vt(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===r.toString())throw new Error(Pt);return r}switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return Dt={name:r.name,styles:r.styles,next:Dt},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)Dt={name:n.name,styles:n.styles,next:Dt},n=n.next;var a=r.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==r.map&&(a+=r.map),a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=Vt(e,t,r[a])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":xt(s)&&(n+=_t(i)+":"+Et(i,s)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(Pt);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var o=Vt(e,t,s);switch(i){case"animation":case"animationName":n+=_t(i)+":"+o+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(bt),n+=i+"{"+o+"}"}}else for(var l=0;l<s.length;l++)xt(s[l])&&(n+=_t(i)+":"+Et(i,s[l])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var i=Dt,s=r(e);return Dt=i,Vt(e,t,s)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var o=[],l=r.replace(wt,(function(e,t,r){var n="animation"+o.length;return o.push("const "+n+" = keyframes`"+r.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+n+"}"}));o.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(o,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return r;var u=t[r];return void 0!==u?u:r}var Rt,Dt,Tt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Rt=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var jt=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";Dt=void 0;var i,s=e[0];null==s||void 0===s.raw?(n=!1,a+=Vt(r,t,s)):("production"!==process.env.NODE_ENV&&void 0===s[0]&&console.error(mt),a+=s[0]);for(var o=1;o<e.length;o++)a+=Vt(r,t,e[o]),n&&("production"!==process.env.NODE_ENV&&void 0===s[o]&&console.error(mt),a+=s[o]);"production"!==process.env.NODE_ENV&&(a=a.replace(Rt,(function(e){return i=e,""}))),Tt.lastIndex=0;for(var l,u="";null!==(l=Tt.exec(a));)u+="-"+l[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:a,map:i,next:Dt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:a,next:Dt}},It="undefined"!=typeof document,$t={}.hasOwnProperty,zt=e.createContext("undefined"!=typeof HTMLElement?dt({key:"css"}):null);"production"!==process.env.NODE_ENV&&(zt.displayName="EmotionCacheContext"),zt.Provider;var qt=function(t){return e.forwardRef((function(r,n){var a=e.useContext(zt);return t(r,a,n)}))};It||(qt=function(t){return function(r){var n=e.useContext(zt);return null===n?(n=dt({key:"css"}),e.createElement(zt.Provider,{value:n},t(r,n))):t(r,n)}});var Ft=e.createContext({});"production"!==process.env.NODE_ENV&&(Ft.displayName="EmotionThemeContext");var Lt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ut="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ht=function(){return null},Wt=qt((function(t,r,n){var a=t.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var i=t[Lt],s=[a],o="";"string"==typeof t.className?o=ft(r.registered,s,t.className):null!=t.className&&(o=t.className+" ");var l=jt(s,void 0,e.useContext(Ft));if("production"!==process.env.NODE_ENV&&-1===l.name.indexOf("-")){var u=t[Ut];u&&(l=jt([l,"label:"+u+";"]))}var c=gt(r,l,"string"==typeof i);o+=r.key+"-"+l.name;var h={};for(var d in t)!$t.call(t,d)||"css"===d||d===Lt||"production"!==process.env.NODE_ENV&&d===Ut||(h[d]=t[d]);h.ref=n,h.className=o;var p=e.createElement(i,h),f=e.createElement(Ht,null);if(!It&&void 0!==c){for(var g,v=l.name,m=l.next;void 0!==m;)v+=" "+m.name,m=m.next;f=e.createElement("style",((g={})["data-emotion"]=r.key+" "+v,g.dangerouslySetInnerHTML={__html:c},g.nonce=r.sheet.nonce,g))}return e.createElement(e.Fragment,null,f,p)}));"production"!==process.env.NODE_ENV&&(Wt.displayName="EmotionCssPropInternal");var Bt=ee,Yt=function(e){return"theme"!==e},Gt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Bt:Yt},Kt=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Xt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Jt="undefined"!=typeof document,Zt=function(){return null},Qt=function t(r,n){if("production"!==process.env.NODE_ENV&&void 0===r)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var a,i,s=r.__emotion_real===r,o=s&&r.__emotion_base||r;void 0!==n&&(a=n.label,i=n.target);var l=Kt(r,n,s),u=l||Gt(o),c=!u("as");return function(){var h=arguments,d=s&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==a&&d.push("label:"+a+";"),null==h[0]||void 0===h[0].raw)d.push.apply(d,h);else{"production"!==process.env.NODE_ENV&&void 0===h[0][0]&&console.error(Xt),d.push(h[0][0]);for(var p=h.length,f=1;f<p;f++)"production"!==process.env.NODE_ENV&&void 0===h[0][f]&&console.error(Xt),d.push(h[f],h[0][f])}var g=qt((function(t,r,n){var a=c&&t.as||o,s="",h=[],p=t;if(null==t.theme){for(var f in p={},t)p[f]=t[f];p.theme=e.useContext(Ft)}"string"==typeof t.className?s=ft(r.registered,h,t.className):null!=t.className&&(s=t.className+" ");var g=jt(d.concat(h),r.registered,p),v=gt(r,g,"string"==typeof a);s+=r.key+"-"+g.name,void 0!==i&&(s+=" "+i);var m=c&&void 0===l?Gt(a):u,b={};for(var y in t)c&&"as"===y||m(y)&&(b[y]=t[y]);b.className=s,b.ref=n;var w=e.createElement(a,b),k=e.createElement(Zt,null);if(!Jt&&void 0!==v){for(var x,_=g.name,E=g.next;void 0!==E;)_+=" "+E.name,E=E.next;k=e.createElement("style",((x={})["data-emotion"]=r.key+" "+_,x.dangerouslySetInnerHTML={__html:v},x.nonce=r.sheet.nonce,x))}return e.createElement(e.Fragment,null,k,w)}));return g.displayName=void 0!==a?a:"Styled("+("string"==typeof o?o:o.displayName||o.name||"Component")+")",g.defaultProps=r.defaultProps,g.__emotion_real=g,g.__emotion_base=o,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return void 0===i&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+i}}),g.withComponent=function(e,r){return t(e,J({},n,r,{shouldForwardProp:Kt(g,r,!0)})).apply(void 0,d)},g}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Qt[e]=Qt(e)}));const er=Qt("div",{shouldForwardProp:e=>"size"!==e})`
"use strict";var e=require("react"),t=function(e){null==e&&(e=(new Date).getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,e.constructor==Array?this.init_by_array(e,e.length):this.init_seed(e)};t.prototype.init_seed=function(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++){e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0}},t.prototype.init_by_array=function(e,t){var r,n,a;for(this.init_seed(19650218),r=1,n=0,a=this.N>t?this.N:t;a;a--){var i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1664525*((4294901760&i)>>>16)<<16)+1664525*(65535&i))+e[n]+n,this.mt[r]>>>=0,n++,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1),n>=t&&(n=0)}for(a=this.N-1;a;a--){i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1566083941*((4294901760&i)>>>16)<<16)+1566083941*(65535&i))-r,this.mt[r]>>>=0,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1)}this.mt[0]=2147483648},t.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var r;for(this.mti==this.N+1&&this.init_seed(5489),r=0;r<this.N-this.M;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+this.M]^e>>>1^t[1&e];for(;r<this.N-1;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+(this.M-this.N)]^e>>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,(e^=e>>>18)>>>0},t.prototype.random_int31=function(){return this.random_int()>>>1},t.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},t.prototype.random=function(){return this.random_int()*(1/4294967296)},t.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},t.prototype.random_long=function(){return(67108864*(this.random_int()>>>5)+(this.random_int()>>>6))*(1/9007199254740992)};var r=t;var n=function(e,t){var r=document.createElement("div");return r.style.borderRadius="50px",r.style.overflow="hidden",r.style.padding="0px",r.style.margin="0px",r.style.width=e+"px",r.style.height=e+"px",r.style.display="inline-block",r.style.background=t,{container:r}},a={};!function(e){var t=function(){function e(t,n,a,i){"object"==typeof n&&(a=n.depth,i=n.prototype,n.filter,n=n.circular);var s=[],o=[],l="undefined"!=typeof Buffer;return void 0===n&&(n=!0),void 0===a&&(a=1/0),function t(a,u){if(null===a)return null;if(0==u)return a;var c,h;if("object"!=typeof a)return a;if(e.__isArray(a))c=[];else if(e.__isRegExp(a))c=new RegExp(a.source,r(a)),a.lastIndex&&(c.lastIndex=a.lastIndex);else if(e.__isDate(a))c=new Date(a.getTime());else{if(l&&Buffer.isBuffer(a))return c=Buffer.allocUnsafe?Buffer.allocUnsafe(a.length):new Buffer(a.length),a.copy(c),c;void 0===i?(h=Object.getPrototypeOf(a),c=Object.create(h)):(c=Object.create(i),h=i)}if(n){var d=s.indexOf(a);if(-1!=d)return o[d];s.push(a),o.push(c)}for(var p in a){var f;h&&(f=Object.getOwnPropertyDescriptor(h,p)),f&&null==f.set||(c[p]=t(a[p],u-1))}return c}(t,a)}function t(e){return Object.prototype.toString.call(e)}function r(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},e.__objToStr=t,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},e.__getRegExpFlags=r,e}();e.exports&&(e.exports=t)}({get exports(){return a},set exports(e){a=e}});var i={},s={get exports(){return i},set exports(e){i=e}},o={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l={};for(var u in o)o.hasOwnProperty(u)&&(l[o[u]]=u);var c=s.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var h in c)if(c.hasOwnProperty(h)){if(!("channels"in c[h]))throw new Error("missing channels property: "+h);if(!("labels"in c[h]))throw new Error("missing channel labels property: "+h);if(c[h].labels.length!==c[h].channels)throw new Error("channel and label counts mismatch: "+h);var d=c[h].channels,p=c[h].labels;delete c[h].channels,delete c[h].labels,Object.defineProperty(c[h],"channels",{value:d}),Object.defineProperty(c[h],"labels",{value:p})}c.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,i=e[2]/255,s=Math.min(n,a,i),o=Math.max(n,a,i),l=o-s;return o===s?t=0:n===o?t=(a-i)/l:a===o?t=2+(i-n)/l:i===o&&(t=4+(n-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),r=(s+o)/2,[t,100*(o===s?0:r<=.5?l/(o+s):l/(2-o-s)),100*r]},c.rgb.hsv=function(e){var t,r,n,a,i,s=e[0]/255,o=e[1]/255,l=e[2]/255,u=Math.max(s,o,l),c=u-Math.min(s,o,l),h=function(e){return(u-e)/6/c+.5};return 0===c?a=i=0:(i=c/u,t=h(s),r=h(o),n=h(l),s===u?a=n-r:o===u?a=1/3+t-n:l===u&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*i,100*u]},c.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[c.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},c.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},c.rgb.keyword=function(e){var t=l[e];if(t)return t;var r,n,a,i=1/0;for(var s in o)if(o.hasOwnProperty(s)){var u=o[s],c=(n=e,a=u,Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)+Math.pow(n[2]-a[2],2));c<i&&(i=c,r=s)}return r},c.keyword.rgb=function(e){return o[e]},c.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},c.rgb.lab=function(e){var t=c.rgb.xyz(e),r=t[0],n=t[1],a=t[2];return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},c.hsl.rgb=function(e){var t,r,n,a,i,s=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[i=255*l,i,i];t=2*l-(r=l<.5?l*(1+o):l+o-l*o),a=[0,0,0];for(var u=0;u<3;u++)(n=s+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[u]=255*i;return a},c.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,i=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=i<=1?i:2-i,[t,100*(0===n?2*a/(i+a):2*r/(n+r)),100*((n+r)/2)]},c.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),s=255*n*(1-r),o=255*n*(1-r*i),l=255*n*(1-r*(1-i));switch(n*=255,a){case 0:return[n,l,s];case 1:return[o,n,s];case 2:return[s,n,l];case 3:return[s,o,n];case 4:return[l,s,n];case 5:return[n,s,o]}},c.hsv.hsl=function(e){var t,r,n,a=e[0],i=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return n=(2-i)*s,r=i*o,[a,100*(r=(r/=(t=(2-i)*o)<=1?t:2-t)||0),100*(n/=2)]},c.hwb.rgb=function(e){var t,r,n,a,i,s,o,l=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),n=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),t){default:case 6:case 0:i=r,s=a,o=u;break;case 1:i=a,s=r,o=u;break;case 2:i=u,s=r,o=a;break;case 3:i=u,s=a,o=r;break;case 4:i=a,s=u,o=r;break;case 5:i=r,s=u,o=a}return[255*i,255*s,255*o]},c.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},c.xyz.rgb=function(e){var t,r,n,a=e[0]/100,i=e[1]/100,s=e[2]/100;return r=-.9689*a+1.8758*i+.0415*s,n=.0557*a+-.204*i+1.057*s,t=(t=3.2406*a+-1.5372*i+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},c.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},c.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var i=Math.pow(r,3),s=Math.pow(t,3),o=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},c.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},c.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},c.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:c.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},c.hsv.ansi16=function(e){return c.rgb.ansi16(c.hsv.rgb(e),e[2])},c.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},c.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},c.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},c.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},c.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},c.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,i=Math.max(Math.max(r,n),a),s=Math.min(Math.min(r,n),a),o=i-s;return t=o<=0?0:i===r?(n-a)/o%6:i===n?2+(a-r)/o:4+(r-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},c.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},c.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},c.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var a,i=[0,0,0],s=t%1*6,o=s%1,l=1-o;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=l,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=l,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=l}return a=(1-r)*n,[255*(r*i[0]+a),255*(r*i[1]+a),255*(r*i[2]+a)]},c.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},c.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},c.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},c.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},c.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},c.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},c.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},c.gray.hsl=c.gray.hsv=function(e){return[0,0,e[0]]},c.gray.hwb=function(e){return[0,100,e[0]]},c.gray.cmyk=function(e){return[0,0,0,e[0]]},c.gray.lab=function(e){return[e[0],0,0]},c.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},c.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var f=i;function g(e){var t=function(){for(var e={},t=Object.keys(f),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),a=Object.keys(f[n]),i=a.length,s=0;s<i;s++){var o=a[s],l=t[o];-1===l.distance&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(o))}return t}function v(e,t){return function(r){return t(e(r))}}function m(e,t){for(var r=[t[e].parent,e],n=f[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),n=v(f[t[a].parent][a],n),a=t[a].parent;return n.conversion=r,n}var b=i,y=function(e){for(var t=g(e),r={},n=Object.keys(t),a=n.length,i=0;i<a;i++){var s=n[i];null!==t[s].parent&&(r[s]=m(s,t))}return r},w={};Object.keys(b).forEach((function(e){w[e]={},Object.defineProperty(w[e],"channels",{value:b[e].channels}),Object.defineProperty(w[e],"labels",{value:b[e].labels});var t=y(e);Object.keys(t).forEach((function(r){var n=t[r];w[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,a=0;a<n;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),w[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var k=w,x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},_={getRgba:E,getHsla:N,getRgb:function(e){var t=E(e);return t&&t.slice(0,3)},getHsl:function(e){var t=N(e);return t&&t.slice(0,3)},getHwb:M,getAlpha:function(e){var t=E(e);if(t)return t[3];if(t=N(e))return t[3];if(t=M(e))return t[3]},hexString:function(e){return"#"+P(e[0])+P(e[1])+P(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return S(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:S,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return O(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+a+"%)"},percentaString:O,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return A(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:A,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return V[e.slice(0,3)]}};function E(e){if(e){var t=[0,0,0],r=1,n=e.match(/^#([a-fA-F0-9]{3})$/);if(n){n=n[1];for(var a=0;a<t.length;a++)t[a]=parseInt(n[a]+n[a],16)}else if(n=e.match(/^#([a-fA-F0-9]{6})$/)){n=n[1];for(a=0;a<t.length;a++)t[a]=parseInt(n.slice(2*a,2*a+2),16)}else if(n=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=parseInt(n[a+1]);r=parseFloat(n[4])}else if(n=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(n[a+1]));r=parseFloat(n[4])}else if(n=e.match(/(\D+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(t=x[n[1]]))return}for(a=0;a<t.length;a++)t[a]=C(t[a],0,255);return r=r||0==r?C(r,0,1):1,t[3]=r,t}}function N(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[C(parseInt(t[1]),0,360),C(parseFloat(t[2]),0,100),C(parseFloat(t[3]),0,100),C(isNaN(r)?1:r,0,1)]}}}function M(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[C(parseInt(t[1]),0,360),C(parseFloat(t[2]),0,100),C(parseFloat(t[3]),0,100),C(isNaN(r)?1:r,0,1)]}}}function S(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function O(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function A(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function C(e,t,r){return Math.min(Math.max(t,e),r)}function P(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var V={};for(var R in x)V[x[R]]=R;var D=a,T=k,j=_,I=function(e){if(e instanceof I)return e;if(!(this instanceof I))return new I(e);var t;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e)if(t=j.getRgba(e))this.setValues("rgb",t);else if(t=j.getHsla(e))this.setValues("hsl",t);else{if(!(t=j.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if(void 0!==(t=e).r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};I.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var e=this.values.rgb,t=[],r=0;r<3;r++)t[r]=e[r]/255;return t.push(this.values.alpha),t},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return j.hexString(this.values.rgb)},rgbString:function(){return j.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return j.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return j.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return j.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return j.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return j.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return j.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var r=this,n=e,a=void 0===t?.5:t,i=2*a-1,s=r.alpha()-n.alpha(),o=((i*s==-1?i:(i+s)/(1+i*s))+1)/2,l=1-o;return this.rgb(o*r.red()+l*n.red(),o*r.green()+l*n.green(),o*r.blue()+l*n.blue()).alpha(r.alpha()*a+n.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e=new I;return e.values=D(this.values),e}},I.prototype.getValues=function(e){for(var t={},r=0;r<e.length;r++)t[e.charAt(r)]=this.values[e][r];return 1!==this.values.alpha&&(t.a=this.values.alpha),t},I.prototype.setValues=function(e,t){var r,n,a={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s=1;if("alpha"===e)s=t;else if(t.length)this.values[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(r=0;r<e.length;r++)this.values[e][r]=t[e.charAt(r)];s=t.a}else if(void 0!==t[a[e][0]]){var o=a[e];for(r=0;r<e.length;r++)this.values[e][r]=t[o[r]];s=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0===s?this.values.alpha:s)),"alpha"===e)return!1;for(r=0;r<e.length;r++)n=Math.max(0,Math.min(i[e][r],this.values[e][r])),this.values[e][r]=Math.round(n);for(var l in a)for(l!==e&&(this.values[l]=T[e][l](this.values[e])),r=0;r<l.length;r++)n=Math.max(0,Math.min(i[l][r],this.values[l][r])),this.values[l][r]=Math.round(n);return!0},I.prototype.setSpace=function(e,t){var r=t[0];return void 0===r?this.getValues(e):("number"==typeof r&&(r=Array.prototype.slice.call(t)),this.setValues(e,r),this)},I.prototype.setChannel=function(e,t,r){return void 0===r?this.values[e][t]:(r===this.values[e][t]||(this.values[e][t]=r,this.setValues(e,this.values[e])),this)};var $,z=r,q=n,F=I,L=["#01888C","#FC7500","#034F5D","#F73F01","#FC1960","#C7144C","#F3C100","#1598F2","#2465E1","#F19E02"],U=4,H="http://www.w3.org/2000/svg",W=function(e,t){$=new z(t);var r=function(e,t){var r=30*t.random()-G/2;return e.map((function(e){var t=F(e);return t.rotate(r),t.hexString()}))}(L.slice(),$),n=q(e,Y(r)).container,a=document.createElementNS(H,"svg");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",e),a.setAttributeNS(null,"height",e),n.appendChild(a);for(var i=0;i<U-1;i++)B(r,e,i,U-1,a);return n};function B(e,t,r,n,a){var i=t/2,s=document.createElementNS(H,"rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",t),s.setAttributeNS(null,"height",t);var o=$.random(),l=2*Math.PI*o,u=t/n*$.random()+r*t/n,c="translate("+Math.cos(l)*u+" "+Math.sin(l)*u+")"+" "+("rotate("+(360*o+180*$.random()).toFixed(1)+" "+i+" "+i+")");s.setAttributeNS(null,"transform",c);var h=Y(e);s.setAttributeNS(null,"fill",h),a.appendChild(s)}function Y(e){$.random();var t=Math.floor(e.length*$.random());return e.splice(t,1)[0]}var G=30;const K={},X=e=>{const{address:t,size:r}=e;if(!t||42!==t.length)return"";const n=`${r}-${t}`;if(K[n])return K[n];const a=parseInt(t.slice(2,10),16),i=W(r,a).firstChild;if(!i)return;const s=(new XMLSerializer).serializeToString(i),o=`data:image/svg+xml,${l=s,l.replace("<svg",~l.indexOf("xmlns")?"<svg":'<svg xmlns="http://www.w3.org/2000/svg"').replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}`;var l;return K[n]=o,o};function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},J.apply(this,arguments)}function Z(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Q=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ee=Z((function(e){return Q.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var te=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var r=64===e.charCodeAt(0)&&105===e.charCodeAt(1);r&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r}if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),re="-ms-",ne="-moz-",ae="-webkit-",ie="comm",se="rule",oe="decl",le="@import",ue="@keyframes",ce=Math.abs,he=String.fromCharCode,de=Object.assign;function pe(e){return e.trim()}function fe(e,t,r){return e.replace(t,r)}function ge(e,t){return e.indexOf(t)}function ve(e,t){return 0|e.charCodeAt(t)}function me(e,t,r){return e.slice(t,r)}function be(e){return e.length}function ye(e){return e.length}function we(e,t){return t.push(e),e}var ke=1,xe=1,_e=0,Ee=0,Ne=0,Me="";function Se(e,t,r,n,a,i,s){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:ke,column:xe,length:s,return:""}}function Oe(e,t){return de(Se("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ae(){return Ne=Ee>0?ve(Me,--Ee):0,xe--,10===Ne&&(xe=1,ke--),Ne}function Ce(){return Ne=Ee<_e?ve(Me,Ee++):0,xe++,10===Ne&&(xe=1,ke++),Ne}function Pe(){return ve(Me,Ee)}function Ve(){return Ee}function Re(e,t){return me(Me,e,t)}function De(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Te(e){return ke=xe=1,_e=be(Me=e),Ee=0,[]}function je(e){return Me="",e}function Ie(e){return pe(Re(Ee-1,qe(91===e?e+2:40===e?e+1:e)))}function $e(e){for(;(Ne=Pe())&&Ne<33;)Ce();return De(e)>2||De(Ne)>3?"":" "}function ze(e,t){for(;--t&&Ce()&&!(Ne<48||Ne>102||Ne>57&&Ne<65||Ne>70&&Ne<97););return Re(e,Ve()+(t<6&&32==Pe()&&32==Ce()))}function qe(e){for(;Ce();)switch(Ne){case e:return Ee;case 34:case 39:34!==e&&39!==e&&qe(Ne);break;case 40:41===e&&qe(e);break;case 92:Ce()}return Ee}function Fe(e,t){for(;Ce()&&e+Ne!==57&&(e+Ne!==84||47!==Pe()););return"/*"+Re(t,Ee-1)+"*"+he(47===e?e:Ce())}function Le(e){for(;!De(Pe());)Ce();return Re(e,Ee)}function Ue(e){return je(He("",null,null,null,[""],e=Te(e),0,[0],e))}function He(e,t,r,n,a,i,s,o,l){for(var u=0,c=0,h=s,d=0,p=0,f=0,g=1,v=1,m=1,b=0,y="",w=a,k=i,x=n,_=y;v;)switch(f=b,b=Ce()){case 40:if(108!=f&&58==ve(_,h-1)){-1!=ge(_+=fe(Ie(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:_+=Ie(b);break;case 9:case 10:case 13:case 32:_+=$e(f);break;case 92:_+=ze(Ve()-1,7);continue;case 47:switch(Pe()){case 42:case 47:we(Be(Fe(Ce(),Ve()),t,r),l);break;default:_+="/"}break;case 123*g:o[u++]=be(_)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:p>0&&be(_)-h&&we(p>32?Ye(_+";",n,r,h-1):Ye(fe(_," ","")+";",n,r,h-2),l);break;case 59:_+=";";default:if(we(x=We(_,t,r,u,c,a,o,y,w=[],k=[],h),i),123===b)if(0===c)He(_,t,x,x,w,i,h,o,k);else switch(99===d&&110===ve(_,3)?100:d){case 100:case 109:case 115:He(e,x,x,n&&we(We(e,x,x,0,0,a,o,y,a,w=[],h),k),a,k,h,o,n?w:k);break;default:He(_,x,x,x,[""],k,0,o,k)}}u=c=p=0,g=m=1,y=_="",h=s;break;case 58:h=1+be(_),p=f;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Ae())continue;switch(_+=he(b),b*g){case 38:m=c>0?1:(_+="\f",-1);break;case 44:o[u++]=(be(_)-1)*m,m=1;break;case 64:45===Pe()&&(_+=Ie(Ce())),d=Pe(),c=h=be(y=_+=Le(Ve())),b++;break;case 45:45===f&&2==be(_)&&(g=0)}}return i}function We(e,t,r,n,a,i,s,o,l,u,c){for(var h=a-1,d=0===a?i:[""],p=ye(d),f=0,g=0,v=0;f<n;++f)for(var m=0,b=me(e,h+1,h=ce(g=s[f])),y=e;m<p;++m)(y=pe(g>0?d[m]+" "+b:fe(b,/&\f/g,d[m])))&&(l[v++]=y);return Se(e,t,r,0===a?se:o,l,u,c)}function Be(e,t,r){return Se(e,t,r,ie,he(Ne),me(e,2,-2),0)}function Ye(e,t,r,n){return Se(e,t,r,oe,me(e,0,n),me(e,n+1,-1),n)}function Ge(e,t){for(var r="",n=ye(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function Ke(e,t,r,n){switch(e.type){case le:case oe:return e.return=e.return||e.value;case ie:return"";case ue:return e.return=e.value+"{"+Ge(e.children,n)+"}";case se:e.value=e.props.join(",")}return be(r=Ge(e.children,n))?e.return=e.value+"{"+r+"}":""}function Xe(e){var t=ye(e);return function(r,n,a,i){for(var s="",o=0;o<t;o++)s+=e[o](r,n,a,i)||"";return s}}var Je=function(e,t,r){for(var n=0,a=0;n=a,a=Pe(),38===n&&12===a&&(t[r]=1),!De(a);)Ce();return Re(e,Ee)},Ze=function(e,t){return je(function(e,t){var r=-1,n=44;do{switch(De(n)){case 0:38===n&&12===Pe()&&(t[r]=1),e[r]+=Je(Ee-1,t,r);break;case 2:e[r]+=Ie(n);break;case 4:if(44===n){e[++r]=58===Pe()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=he(n)}}while(n=Ce());return e}(Te(e),t))},Qe=new WeakMap,et=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Qe.get(r))&&!n){Qe.set(e,!0);for(var a=[],i=Ze(t,a),s=r.props,o=0,l=0;o<i.length;o++)for(var u=0;u<s.length;u++,l++)e.props[l]=a[o]?i[o].replace(/&\f/g,s[u]):s[u]+" "+i[o]}}},tt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},rt=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},nt=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},at=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},it=function(e,t,r){nt(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),at(e)):function(e,t){for(var r=e-1;r>=0;r--)if(!nt(t[r]))return!0;return!1}(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),at(e)))};function st(e,t){switch(function(e,t){return 45^ve(e,0)?(((t<<2^ve(e,0))<<2^ve(e,1))<<2^ve(e,2))<<2^ve(e,3):0}(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+ne+e+re+e+e;case 6828:case 4268:return ae+e+re+e+e;case 6165:return ae+e+re+"flex-"+e+e;case 5187:return ae+e+fe(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+re+"flex-$1$2")+e;case 5443:return ae+e+re+"flex-item-"+fe(e,/flex-|-self/,"")+e;case 4675:return ae+e+re+"flex-line-pack"+fe(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+re+fe(e,"shrink","negative")+e;case 5292:return ae+e+re+fe(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+fe(e,"-grow","")+ae+e+re+fe(e,"grow","positive")+e;case 4554:return ae+fe(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return fe(fe(fe(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return fe(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return fe(fe(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return fe(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(be(e)-1-t>6)switch(ve(e,t+1)){case 109:if(45!==ve(e,t+4))break;case 102:return fe(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+ne+(108==ve(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ge(e,"stretch")?st(fe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ve(e,t+1))break;case 6444:switch(ve(e,be(e)-3-(~ge(e,"!important")&&10))){case 107:return fe(e,":",":"+ae)+e;case 101:return fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(45===ve(e,14)?"inline-":"")+"box$3$1"+ae+"$2$3$1"+re+"$2box$3")+e}break;case 5936:switch(ve(e,t+11)){case 114:return ae+e+re+fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+re+fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+re+fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+re+e+e}return e}var ot,lt,ut="undefined"!=typeof document,ct=ut?void 0:(ot=function(){return Z((function(){var e={};return function(t){return e[t]}}))},lt=new WeakMap,function(e){if(lt.has(e))return lt.get(e);var t=ot(e);return lt.set(e,t),t}),ht=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case oe:e.return=st(e.value,e.length);break;case ue:return Ge([Oe(e,{value:fe(e.value,"@","@"+ae)})],n);case se:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ge([Oe(e,{props:[fe(t,/:(read-\w+)/,":"+ne+"$1")]})],n);case"::placeholder":return Ge([Oe(e,{props:[fe(t,/:(plac\w+)/,":"+ae+"input-$1")]}),Oe(e,{props:[fe(t,/:(plac\w+)/,":"+ne+"$1")]}),Oe(e,{props:[fe(t,/:(plac\w+)/,re+"input-$1")]})],n)}return""}))}}],dt=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(ut&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||ht;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a,i,s={},o=[];ut&&(a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;o.push(e)})));var l,u=[et,tt];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,r,n){if("rule"===t.type&&!e.compat){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=t.parent===n[0]?n[0].children:n,s=i.length-1;s>=0;s--){var o=i[s];if(o.line<t.line)break;if(o.column<t.column){if(rt(o))return;break}}a.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return m.compat}}),it),ut){var c,h=[Ke,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==ie&&c.insert(e.value+"{}"))}:(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=Xe(u.concat(n,h));i=function(e,t,r,n){c=r,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){r.insert(e+t.map)}}),Ge(Ue(e?e+"{"+t.styles+"}":t.styles),d),n&&(m.inserted[t.name]=!0)}}else{var p=[Ke],f=Xe(u.concat(n,p)),g=ct(n)(t),v=function(e,t){var r=t.name;return void 0===g[r]&&(g[r]=Ge(Ue(e?e+"{"+t.styles+"}":t.styles),f)),g[r]};i=function(e,t,r,n){var a=t.name,i=v(e,t);return void 0===m.compat?(n&&(m.inserted[a]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):n?void(m.inserted[a]=i):i}}var m={key:t,sheet:new te({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return m.sheet.hydrate(o),m},pt="undefined"!=typeof document;function ft(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var gt=function(e,t,r){!function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===pt&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a="",i=t;do{var s=e.insert(t===i?"."+n:"",i,e.sheet,!0);pt||void 0===s||(a+=s),i=i.next}while(void 0!==i);if(!pt&&0!==a.length)return a}};var vt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",bt="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",yt=/[A-Z]|^ms/g,wt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kt=function(e){return 45===e.charCodeAt(1)},xt=function(e){return null!=e&&"boolean"!=typeof e},_t=Z((function(e){return kt(e)?e:e.replace(yt,"-$&").toLowerCase()})),Et=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(wt,(function(e,t,r){return Dt={name:t,styles:r,next:Dt},t}))}return 1===vt[e]||kt(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var Nt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Mt=["normal","none","initial","inherit","unset"],St=Et,Ot=/^-ms-/,At=/-(.)/g,Ct={};Et=function(e,t){if("content"===e&&("string"!=typeof t||-1===Mt.indexOf(t)&&!Nt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=St(e,t);return""===r||kt(e)||-1===e.indexOf("-")||void 0!==Ct[e]||(Ct[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Ot,"ms-").replace(At,(function(e,t){return t.toUpperCase()}))+"?")),r}}var Pt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Vt(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===r.toString())throw new Error(Pt);return r}switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return Dt={name:r.name,styles:r.styles,next:Dt},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)Dt={name:n.name,styles:n.styles,next:Dt},n=n.next;var a=r.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==r.map&&(a+=r.map),a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=Vt(e,t,r[a])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":xt(s)&&(n+=_t(i)+":"+Et(i,s)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(Pt);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var o=Vt(e,t,s);switch(i){case"animation":case"animationName":n+=_t(i)+":"+o+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(bt),n+=i+"{"+o+"}"}}else for(var l=0;l<s.length;l++)xt(s[l])&&(n+=_t(i)+":"+Et(i,s[l])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var i=Dt,s=r(e);return Dt=i,Vt(e,t,s)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var o=[],l=r.replace(wt,(function(e,t,r){var n="animation"+o.length;return o.push("const "+n+" = keyframes`"+r.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+n+"}"}));o.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(o,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return r;var u=t[r];return void 0!==u?u:r}var Rt,Dt,Tt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Rt=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var jt=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";Dt=void 0;var i,s=e[0];null==s||void 0===s.raw?(n=!1,a+=Vt(r,t,s)):("production"!==process.env.NODE_ENV&&void 0===s[0]&&console.error(mt),a+=s[0]);for(var o=1;o<e.length;o++)a+=Vt(r,t,e[o]),n&&("production"!==process.env.NODE_ENV&&void 0===s[o]&&console.error(mt),a+=s[o]);"production"!==process.env.NODE_ENV&&(a=a.replace(Rt,(function(e){return i=e,""}))),Tt.lastIndex=0;for(var l,u="";null!==(l=Tt.exec(a));)u+="-"+l[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:a,map:i,next:Dt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:a,next:Dt}},It="undefined"!=typeof document,$t={}.hasOwnProperty,zt=e.createContext("undefined"!=typeof HTMLElement?dt({key:"css"}):null);"production"!==process.env.NODE_ENV&&(zt.displayName="EmotionCacheContext"),zt.Provider;var qt=function(t){return e.forwardRef((function(r,n){var a=e.useContext(zt);return t(r,a,n)}))};It||(qt=function(t){return function(r){var n=e.useContext(zt);return null===n?(n=dt({key:"css"}),e.createElement(zt.Provider,{value:n},t(r,n))):t(r,n)}});var Ft=e.createContext({});"production"!==process.env.NODE_ENV&&(Ft.displayName="EmotionThemeContext");var Lt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ut="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ht=function(){return null},Wt=qt((function(t,r,n){var a=t.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var i=t[Lt],s=[a],o="";"string"==typeof t.className?o=ft(r.registered,s,t.className):null!=t.className&&(o=t.className+" ");var l=jt(s,void 0,e.useContext(Ft));if("production"!==process.env.NODE_ENV&&-1===l.name.indexOf("-")){var u=t[Ut];u&&(l=jt([l,"label:"+u+";"]))}var c=gt(r,l,"string"==typeof i);o+=r.key+"-"+l.name;var h={};for(var d in t)!$t.call(t,d)||"css"===d||d===Lt||"production"!==process.env.NODE_ENV&&d===Ut||(h[d]=t[d]);h.ref=n,h.className=o;var p=e.createElement(i,h),f=e.createElement(Ht,null);if(!It&&void 0!==c){for(var g,v=l.name,m=l.next;void 0!==m;)v+=" "+m.name,m=m.next;f=e.createElement("style",((g={})["data-emotion"]=r.key+" "+v,g.dangerouslySetInnerHTML={__html:c},g.nonce=r.sheet.nonce,g))}return e.createElement(e.Fragment,null,f,p)}));"production"!==process.env.NODE_ENV&&(Wt.displayName="EmotionCssPropInternal");var Bt=ee,Yt=function(e){return"theme"!==e},Gt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Bt:Yt},Kt=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Xt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Jt="undefined"!=typeof document,Zt=function(){return null},Qt=function t(r,n){if("production"!==process.env.NODE_ENV&&void 0===r)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var a,i,s=r.__emotion_real===r,o=s&&r.__emotion_base||r;void 0!==n&&(a=n.label,i=n.target);var l=Kt(r,n,s),u=l||Gt(o),c=!u("as");return function(){var h=arguments,d=s&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==a&&d.push("label:"+a+";"),null==h[0]||void 0===h[0].raw)d.push.apply(d,h);else{"production"!==process.env.NODE_ENV&&void 0===h[0][0]&&console.error(Xt),d.push(h[0][0]);for(var p=h.length,f=1;f<p;f++)"production"!==process.env.NODE_ENV&&void 0===h[0][f]&&console.error(Xt),d.push(h[f],h[0][f])}var g=qt((function(t,r,n){var a=c&&t.as||o,s="",h=[],p=t;if(null==t.theme){for(var f in p={},t)p[f]=t[f];p.theme=e.useContext(Ft)}"string"==typeof t.className?s=ft(r.registered,h,t.className):null!=t.className&&(s=t.className+" ");var g=jt(d.concat(h),r.registered,p),v=gt(r,g,"string"==typeof a);s+=r.key+"-"+g.name,void 0!==i&&(s+=" "+i);var m=c&&void 0===l?Gt(a):u,b={};for(var y in t)c&&"as"===y||m(y)&&(b[y]=t[y]);b.className=s,b.ref=n;var w=e.createElement(a,b),k=e.createElement(Zt,null);if(!Jt&&void 0!==v){for(var x,_=g.name,E=g.next;void 0!==E;)_+=" "+E.name,E=E.next;k=e.createElement("style",((x={})["data-emotion"]=r.key+" "+_,x.dangerouslySetInnerHTML={__html:v},x.nonce=r.sheet.nonce,x))}return e.createElement(e.Fragment,null,k,w)}));return g.displayName=void 0!==a?a:"Styled("+("string"==typeof o?o:o.displayName||o.name||"Component")+")",g.defaultProps=r.defaultProps,g.__emotion_real=g,g.__emotion_base=o,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return void 0===i&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+i}}),g.withComponent=function(e,r){return t(e,J({},n,r,{shouldForwardProp:Kt(g,r,!0)})).apply(void 0,d)},g}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Qt[e]=Qt(e)}));const er=Qt("div",{shouldForwardProp:e=>"size"!==e})`
border-radius: 50%;

@@ -10,3 +10,3 @@ padding: 0;

height: ${({size:e})=>e}px;
`;exports.MetaMaskAvatar=({variant:t,address:r})=>{const n="medium"===t?24:16;return e.createElement(er,{"data-testid":"MetaMaskAvatar-AvatarWrapper",size:n},e.createElement("img",{alt:"avatar","data-testid":"MetaMaskAvatar-Image",src:X({address:r,size:n})}))};
`;exports.MetaMaskAvatar=({size:t=24,address:r,className:n})=>r&&42===r.length?e.createElement(er,{className:n,"data-testid":"MetaMaskAvatar-AvatarWrapper",size:t},e.createElement("img",{alt:"avatar","data-testid":`MetaMaskAvatar-Image-${t}x${t}`,src:X({address:r,size:t})})):null;
//# sourceMappingURL=index.js.map
import React from 'react';
type Props = {
/**
*/
/**
* `MetaMaskAvatarProps` has a required `address` property of type `string` and an optional `size` property
* of type `number`.
* @property {string} address - The address of the account to get the avatar for. Expecting a string of length 42 that represents Ethereum address
* @property {number} size - The size of the avatar in pixels.
* @property {string} className - A string that will be added to the className of the wrapper component. Allows custom styling using: https://emotion.sh/docs/styled#styling-any-component
*/
export type MetaMaskAvatarProps = {
address: string;
variant: 'medium' | 'small';
size?: number;
className?: string;
};
export declare const MetaMaskAvatar: React.FunctionComponent<Props>;
export {};
export declare const MetaMaskAvatar: React.FunctionComponent<MetaMaskAvatarProps>;

@@ -1,2 +0,2 @@

import e,{forwardRef as t,useContext as r,createElement as n,createContext as a,Fragment as i}from"react";var s=function(e){null==e&&(e=(new Date).getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,e.constructor==Array?this.init_by_array(e,e.length):this.init_seed(e)};s.prototype.init_seed=function(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++){e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0}},s.prototype.init_by_array=function(e,t){var r,n,a;for(this.init_seed(19650218),r=1,n=0,a=this.N>t?this.N:t;a;a--){var i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1664525*((4294901760&i)>>>16)<<16)+1664525*(65535&i))+e[n]+n,this.mt[r]>>>=0,n++,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1),n>=t&&(n=0)}for(a=this.N-1;a;a--){i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1566083941*((4294901760&i)>>>16)<<16)+1566083941*(65535&i))-r,this.mt[r]>>>=0,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1)}this.mt[0]=2147483648},s.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var r;for(this.mti==this.N+1&&this.init_seed(5489),r=0;r<this.N-this.M;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+this.M]^e>>>1^t[1&e];for(;r<this.N-1;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+(this.M-this.N)]^e>>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,(e^=e>>>18)>>>0},s.prototype.random_int31=function(){return this.random_int()>>>1},s.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},s.prototype.random=function(){return this.random_int()*(1/4294967296)},s.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},s.prototype.random_long=function(){return(67108864*(this.random_int()>>>5)+(this.random_int()>>>6))*(1/9007199254740992)};var o=s;var l=function(e,t){var r=document.createElement("div");return r.style.borderRadius="50px",r.style.overflow="hidden",r.style.padding="0px",r.style.margin="0px",r.style.width=e+"px",r.style.height=e+"px",r.style.display="inline-block",r.style.background=t,{container:r}},u={};!function(e){var t=function(){function e(t,n,a,i){"object"==typeof n&&(a=n.depth,i=n.prototype,n.filter,n=n.circular);var s=[],o=[],l="undefined"!=typeof Buffer;return void 0===n&&(n=!0),void 0===a&&(a=1/0),function t(a,u){if(null===a)return null;if(0==u)return a;var c,h;if("object"!=typeof a)return a;if(e.__isArray(a))c=[];else if(e.__isRegExp(a))c=new RegExp(a.source,r(a)),a.lastIndex&&(c.lastIndex=a.lastIndex);else if(e.__isDate(a))c=new Date(a.getTime());else{if(l&&Buffer.isBuffer(a))return c=Buffer.allocUnsafe?Buffer.allocUnsafe(a.length):new Buffer(a.length),a.copy(c),c;void 0===i?(h=Object.getPrototypeOf(a),c=Object.create(h)):(c=Object.create(i),h=i)}if(n){var d=s.indexOf(a);if(-1!=d)return o[d];s.push(a),o.push(c)}for(var p in a){var f;h&&(f=Object.getOwnPropertyDescriptor(h,p)),f&&null==f.set||(c[p]=t(a[p],u-1))}return c}(t,a)}function t(e){return Object.prototype.toString.call(e)}function r(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},e.__objToStr=t,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},e.__getRegExpFlags=r,e}();e.exports&&(e.exports=t)}({get exports(){return u},set exports(e){u=e}});var c={},h={get exports(){return c},set exports(e){c=e}},d={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},p={};for(var f in d)d.hasOwnProperty(f)&&(p[d[f]]=f);var g=h.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var v in g)if(g.hasOwnProperty(v)){if(!("channels"in g[v]))throw new Error("missing channels property: "+v);if(!("labels"in g[v]))throw new Error("missing channel labels property: "+v);if(g[v].labels.length!==g[v].channels)throw new Error("channel and label counts mismatch: "+v);var m=g[v].channels,b=g[v].labels;delete g[v].channels,delete g[v].labels,Object.defineProperty(g[v],"channels",{value:m}),Object.defineProperty(g[v],"labels",{value:b})}g.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,i=e[2]/255,s=Math.min(n,a,i),o=Math.max(n,a,i),l=o-s;return o===s?t=0:n===o?t=(a-i)/l:a===o?t=2+(i-n)/l:i===o&&(t=4+(n-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),r=(s+o)/2,[t,100*(o===s?0:r<=.5?l/(o+s):l/(2-o-s)),100*r]},g.rgb.hsv=function(e){var t,r,n,a,i,s=e[0]/255,o=e[1]/255,l=e[2]/255,u=Math.max(s,o,l),c=u-Math.min(s,o,l),h=function(e){return(u-e)/6/c+.5};return 0===c?a=i=0:(i=c/u,t=h(s),r=h(o),n=h(l),s===u?a=n-r:o===u?a=1/3+t-n:l===u&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*i,100*u]},g.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[g.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},g.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},g.rgb.keyword=function(e){var t=p[e];if(t)return t;var r,n,a,i=1/0;for(var s in d)if(d.hasOwnProperty(s)){var o=d[s],l=(n=e,a=o,Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)+Math.pow(n[2]-a[2],2));l<i&&(i=l,r=s)}return r},g.keyword.rgb=function(e){return d[e]},g.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},g.rgb.lab=function(e){var t=g.rgb.xyz(e),r=t[0],n=t[1],a=t[2];return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},g.hsl.rgb=function(e){var t,r,n,a,i,s=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[i=255*l,i,i];t=2*l-(r=l<.5?l*(1+o):l+o-l*o),a=[0,0,0];for(var u=0;u<3;u++)(n=s+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[u]=255*i;return a},g.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,i=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=i<=1?i:2-i,[t,100*(0===n?2*a/(i+a):2*r/(n+r)),100*((n+r)/2)]},g.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),s=255*n*(1-r),o=255*n*(1-r*i),l=255*n*(1-r*(1-i));switch(n*=255,a){case 0:return[n,l,s];case 1:return[o,n,s];case 2:return[s,n,l];case 3:return[s,o,n];case 4:return[l,s,n];case 5:return[n,s,o]}},g.hsv.hsl=function(e){var t,r,n,a=e[0],i=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return n=(2-i)*s,r=i*o,[a,100*(r=(r/=(t=(2-i)*o)<=1?t:2-t)||0),100*(n/=2)]},g.hwb.rgb=function(e){var t,r,n,a,i,s,o,l=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),n=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),t){default:case 6:case 0:i=r,s=a,o=u;break;case 1:i=a,s=r,o=u;break;case 2:i=u,s=r,o=a;break;case 3:i=u,s=a,o=r;break;case 4:i=a,s=u,o=r;break;case 5:i=r,s=u,o=a}return[255*i,255*s,255*o]},g.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},g.xyz.rgb=function(e){var t,r,n,a=e[0]/100,i=e[1]/100,s=e[2]/100;return r=-.9689*a+1.8758*i+.0415*s,n=.0557*a+-.204*i+1.057*s,t=(t=3.2406*a+-1.5372*i+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},g.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},g.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var i=Math.pow(r,3),s=Math.pow(t,3),o=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},g.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},g.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},g.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:g.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},g.hsv.ansi16=function(e){return g.rgb.ansi16(g.hsv.rgb(e),e[2])},g.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},g.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},g.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},g.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},g.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},g.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,i=Math.max(Math.max(r,n),a),s=Math.min(Math.min(r,n),a),o=i-s;return t=o<=0?0:i===r?(n-a)/o%6:i===n?2+(a-r)/o:4+(r-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},g.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},g.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},g.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var a,i=[0,0,0],s=t%1*6,o=s%1,l=1-o;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=l,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=l,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=l}return a=(1-r)*n,[255*(r*i[0]+a),255*(r*i[1]+a),255*(r*i[2]+a)]},g.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},g.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},g.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},g.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},g.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},g.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},g.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},g.gray.hsl=g.gray.hsv=function(e){return[0,0,e[0]]},g.gray.hwb=function(e){return[0,100,e[0]]},g.gray.cmyk=function(e){return[0,0,0,e[0]]},g.gray.lab=function(e){return[e[0],0,0]},g.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},g.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var y=c;function w(e){var t=function(){for(var e={},t=Object.keys(y),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),a=Object.keys(y[n]),i=a.length,s=0;s<i;s++){var o=a[s],l=t[o];-1===l.distance&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(o))}return t}function k(e,t){return function(r){return t(e(r))}}function _(e,t){for(var r=[t[e].parent,e],n=y[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),n=k(y[t[a].parent][a],n),a=t[a].parent;return n.conversion=r,n}var x=c,E=function(e){for(var t=w(e),r={},n=Object.keys(t),a=n.length,i=0;i<a;i++){var s=n[i];null!==t[s].parent&&(r[s]=_(s,t))}return r},N={};Object.keys(x).forEach((function(e){N[e]={},Object.defineProperty(N[e],"channels",{value:x[e].channels}),Object.defineProperty(N[e],"labels",{value:x[e].labels});var t=E(e);Object.keys(t).forEach((function(r){var n=t[r];N[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,a=0;a<n;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),N[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var M=N,S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},O={getRgba:A,getHsla:C,getRgb:function(e){var t=A(e);return t&&t.slice(0,3)},getHsl:function(e){var t=C(e);return t&&t.slice(0,3)},getHwb:P,getAlpha:function(e){var t=A(e);if(t)return t[3];if(t=C(e))return t[3];if(t=P(e))return t[3]},hexString:function(e){return"#"+j(e[0])+j(e[1])+j(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return V(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:V,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return R(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+a+"%)"},percentaString:R,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return D(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:D,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return I[e.slice(0,3)]}};function A(e){if(e){var t=[0,0,0],r=1,n=e.match(/^#([a-fA-F0-9]{3})$/);if(n){n=n[1];for(var a=0;a<t.length;a++)t[a]=parseInt(n[a]+n[a],16)}else if(n=e.match(/^#([a-fA-F0-9]{6})$/)){n=n[1];for(a=0;a<t.length;a++)t[a]=parseInt(n.slice(2*a,2*a+2),16)}else if(n=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=parseInt(n[a+1]);r=parseFloat(n[4])}else if(n=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(n[a+1]));r=parseFloat(n[4])}else if(n=e.match(/(\D+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(t=S[n[1]]))return}for(a=0;a<t.length;a++)t[a]=T(t[a],0,255);return r=r||0==r?T(r,0,1):1,t[3]=r,t}}function C(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[T(parseInt(t[1]),0,360),T(parseFloat(t[2]),0,100),T(parseFloat(t[3]),0,100),T(isNaN(r)?1:r,0,1)]}}}function P(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[T(parseInt(t[1]),0,360),T(parseFloat(t[2]),0,100),T(parseFloat(t[3]),0,100),T(isNaN(r)?1:r,0,1)]}}}function V(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function R(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function D(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function T(e,t,r){return Math.min(Math.max(t,e),r)}function j(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var I={};for(var $ in S)I[S[$]]=$;var z=u,q=M,F=O,L=function(e){if(e instanceof L)return e;if(!(this instanceof L))return new L(e);var t;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e)if(t=F.getRgba(e))this.setValues("rgb",t);else if(t=F.getHsla(e))this.setValues("hsl",t);else{if(!(t=F.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if(void 0!==(t=e).r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};L.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var e=this.values.rgb,t=[],r=0;r<3;r++)t[r]=e[r]/255;return t.push(this.values.alpha),t},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return F.hexString(this.values.rgb)},rgbString:function(){return F.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return F.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return F.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return F.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return F.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return F.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return F.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var r=this,n=e,a=void 0===t?.5:t,i=2*a-1,s=r.alpha()-n.alpha(),o=((i*s==-1?i:(i+s)/(1+i*s))+1)/2,l=1-o;return this.rgb(o*r.red()+l*n.red(),o*r.green()+l*n.green(),o*r.blue()+l*n.blue()).alpha(r.alpha()*a+n.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e=new L;return e.values=z(this.values),e}},L.prototype.getValues=function(e){for(var t={},r=0;r<e.length;r++)t[e.charAt(r)]=this.values[e][r];return 1!==this.values.alpha&&(t.a=this.values.alpha),t},L.prototype.setValues=function(e,t){var r,n,a={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s=1;if("alpha"===e)s=t;else if(t.length)this.values[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(r=0;r<e.length;r++)this.values[e][r]=t[e.charAt(r)];s=t.a}else if(void 0!==t[a[e][0]]){var o=a[e];for(r=0;r<e.length;r++)this.values[e][r]=t[o[r]];s=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0===s?this.values.alpha:s)),"alpha"===e)return!1;for(r=0;r<e.length;r++)n=Math.max(0,Math.min(i[e][r],this.values[e][r])),this.values[e][r]=Math.round(n);for(var l in a)for(l!==e&&(this.values[l]=q[e][l](this.values[e])),r=0;r<l.length;r++)n=Math.max(0,Math.min(i[l][r],this.values[l][r])),this.values[l][r]=Math.round(n);return!0},L.prototype.setSpace=function(e,t){var r=t[0];return void 0===r?this.getValues(e):("number"==typeof r&&(r=Array.prototype.slice.call(t)),this.setValues(e,r),this)},L.prototype.setChannel=function(e,t,r){return void 0===r?this.values[e][t]:(r===this.values[e][t]||(this.values[e][t]=r,this.setValues(e,this.values[e])),this)};var U,H=o,W=l,B=L,Y=["#01888C","#FC7500","#034F5D","#F73F01","#FC1960","#C7144C","#F3C100","#1598F2","#2465E1","#F19E02"],G=4,K="http://www.w3.org/2000/svg",X=function(e,t){U=new H(t);var r=function(e,t){var r=30*t.random()-Q/2;return e.map((function(e){var t=B(e);return t.rotate(r),t.hexString()}))}(Y.slice(),U),n=W(e,Z(r)).container,a=document.createElementNS(K,"svg");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",e),a.setAttributeNS(null,"height",e),n.appendChild(a);for(var i=0;i<G-1;i++)J(r,e,i,G-1,a);return n};function J(e,t,r,n,a){var i=t/2,s=document.createElementNS(K,"rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",t),s.setAttributeNS(null,"height",t);var o=U.random(),l=2*Math.PI*o,u=t/n*U.random()+r*t/n,c="translate("+Math.cos(l)*u+" "+Math.sin(l)*u+")"+" "+("rotate("+(360*o+180*U.random()).toFixed(1)+" "+i+" "+i+")");s.setAttributeNS(null,"transform",c);var h=Z(e);s.setAttributeNS(null,"fill",h),a.appendChild(s)}function Z(e){U.random();var t=Math.floor(e.length*U.random());return e.splice(t,1)[0]}var Q=30;const ee={},te=e=>{const{address:t,size:r}=e;if(!t||42!==t.length)return"";const n=`${r}-${t}`;if(ee[n])return ee[n];const a=parseInt(t.slice(2,10),16),i=X(r,a).firstChild;if(!i)return;const s=(new XMLSerializer).serializeToString(i),o=`data:image/svg+xml,${l=s,l.replace("<svg",~l.indexOf("xmlns")?"<svg":'<svg xmlns="http://www.w3.org/2000/svg"').replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}`;var l;return ee[n]=o,o};function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},re.apply(this,arguments)}function ne(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var ae=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ie=ne((function(e){return ae.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var se=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var r=64===e.charCodeAt(0)&&105===e.charCodeAt(1);r&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r}if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),oe="-ms-",le="-moz-",ue="-webkit-",ce="comm",he="rule",de="decl",pe="@import",fe="@keyframes",ge=Math.abs,ve=String.fromCharCode,me=Object.assign;function be(e){return e.trim()}function ye(e,t,r){return e.replace(t,r)}function we(e,t){return e.indexOf(t)}function ke(e,t){return 0|e.charCodeAt(t)}function _e(e,t,r){return e.slice(t,r)}function xe(e){return e.length}function Ee(e){return e.length}function Ne(e,t){return t.push(e),e}var Me=1,Se=1,Oe=0,Ae=0,Ce=0,Pe="";function Ve(e,t,r,n,a,i,s){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:Me,column:Se,length:s,return:""}}function Re(e,t){return me(Ve("",null,null,"",null,null,0),e,{length:-e.length},t)}function De(){return Ce=Ae>0?ke(Pe,--Ae):0,Se--,10===Ce&&(Se=1,Me--),Ce}function Te(){return Ce=Ae<Oe?ke(Pe,Ae++):0,Se++,10===Ce&&(Se=1,Me++),Ce}function je(){return ke(Pe,Ae)}function Ie(){return Ae}function $e(e,t){return _e(Pe,e,t)}function ze(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qe(e){return Me=Se=1,Oe=xe(Pe=e),Ae=0,[]}function Fe(e){return Pe="",e}function Le(e){return be($e(Ae-1,We(91===e?e+2:40===e?e+1:e)))}function Ue(e){for(;(Ce=je())&&Ce<33;)Te();return ze(e)>2||ze(Ce)>3?"":" "}function He(e,t){for(;--t&&Te()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return $e(e,Ie()+(t<6&&32==je()&&32==Te()))}function We(e){for(;Te();)switch(Ce){case e:return Ae;case 34:case 39:34!==e&&39!==e&&We(Ce);break;case 40:41===e&&We(e);break;case 92:Te()}return Ae}function Be(e,t){for(;Te()&&e+Ce!==57&&(e+Ce!==84||47!==je()););return"/*"+$e(t,Ae-1)+"*"+ve(47===e?e:Te())}function Ye(e){for(;!ze(je());)Te();return $e(e,Ae)}function Ge(e){return Fe(Ke("",null,null,null,[""],e=qe(e),0,[0],e))}function Ke(e,t,r,n,a,i,s,o,l){for(var u=0,c=0,h=s,d=0,p=0,f=0,g=1,v=1,m=1,b=0,y="",w=a,k=i,_=n,x=y;v;)switch(f=b,b=Te()){case 40:if(108!=f&&58==ke(x,h-1)){-1!=we(x+=ye(Le(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:x+=Le(b);break;case 9:case 10:case 13:case 32:x+=Ue(f);break;case 92:x+=He(Ie()-1,7);continue;case 47:switch(je()){case 42:case 47:Ne(Je(Be(Te(),Ie()),t,r),l);break;default:x+="/"}break;case 123*g:o[u++]=xe(x)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:p>0&&xe(x)-h&&Ne(p>32?Ze(x+";",n,r,h-1):Ze(ye(x," ","")+";",n,r,h-2),l);break;case 59:x+=";";default:if(Ne(_=Xe(x,t,r,u,c,a,o,y,w=[],k=[],h),i),123===b)if(0===c)Ke(x,t,_,_,w,i,h,o,k);else switch(99===d&&110===ke(x,3)?100:d){case 100:case 109:case 115:Ke(e,_,_,n&&Ne(Xe(e,_,_,0,0,a,o,y,a,w=[],h),k),a,k,h,o,n?w:k);break;default:Ke(x,_,_,_,[""],k,0,o,k)}}u=c=p=0,g=m=1,y=x="",h=s;break;case 58:h=1+xe(x),p=f;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==De())continue;switch(x+=ve(b),b*g){case 38:m=c>0?1:(x+="\f",-1);break;case 44:o[u++]=(xe(x)-1)*m,m=1;break;case 64:45===je()&&(x+=Le(Te())),d=je(),c=h=xe(y=x+=Ye(Ie())),b++;break;case 45:45===f&&2==xe(x)&&(g=0)}}return i}function Xe(e,t,r,n,a,i,s,o,l,u,c){for(var h=a-1,d=0===a?i:[""],p=Ee(d),f=0,g=0,v=0;f<n;++f)for(var m=0,b=_e(e,h+1,h=ge(g=s[f])),y=e;m<p;++m)(y=be(g>0?d[m]+" "+b:ye(b,/&\f/g,d[m])))&&(l[v++]=y);return Ve(e,t,r,0===a?he:o,l,u,c)}function Je(e,t,r){return Ve(e,t,r,ce,ve(Ce),_e(e,2,-2),0)}function Ze(e,t,r,n){return Ve(e,t,r,de,_e(e,0,n),_e(e,n+1,-1),n)}function Qe(e,t){for(var r="",n=Ee(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function et(e,t,r,n){switch(e.type){case pe:case de:return e.return=e.return||e.value;case ce:return"";case fe:return e.return=e.value+"{"+Qe(e.children,n)+"}";case he:e.value=e.props.join(",")}return xe(r=Qe(e.children,n))?e.return=e.value+"{"+r+"}":""}function tt(e){var t=Ee(e);return function(r,n,a,i){for(var s="",o=0;o<t;o++)s+=e[o](r,n,a,i)||"";return s}}var rt=function(e,t,r){for(var n=0,a=0;n=a,a=je(),38===n&&12===a&&(t[r]=1),!ze(a);)Te();return $e(e,Ae)},nt=function(e,t){return Fe(function(e,t){var r=-1,n=44;do{switch(ze(n)){case 0:38===n&&12===je()&&(t[r]=1),e[r]+=rt(Ae-1,t,r);break;case 2:e[r]+=Le(n);break;case 4:if(44===n){e[++r]=58===je()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=ve(n)}}while(n=Te());return e}(qe(e),t))},at=new WeakMap,it=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||at.get(r))&&!n){at.set(e,!0);for(var a=[],i=nt(t,a),s=r.props,o=0,l=0;o<i.length;o++)for(var u=0;u<s.length;u++,l++)e.props[l]=a[o]?i[o].replace(/&\f/g,s[u]):s[u]+" "+i[o]}}},st=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ot=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},lt=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},ut=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},ct=function(e,t,r){lt(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ut(e)):function(e,t){for(var r=e-1;r>=0;r--)if(!lt(t[r]))return!0;return!1}(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ut(e)))};function ht(e,t){switch(function(e,t){return 45^ke(e,0)?(((t<<2^ke(e,0))<<2^ke(e,1))<<2^ke(e,2))<<2^ke(e,3):0}(e,t)){case 5103:return ue+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ue+e+le+e+oe+e+e;case 6828:case 4268:return ue+e+oe+e+e;case 6165:return ue+e+oe+"flex-"+e+e;case 5187:return ue+e+ye(e,/(\w+).+(:[^]+)/,ue+"box-$1$2"+oe+"flex-$1$2")+e;case 5443:return ue+e+oe+"flex-item-"+ye(e,/flex-|-self/,"")+e;case 4675:return ue+e+oe+"flex-line-pack"+ye(e,/align-content|flex-|-self/,"")+e;case 5548:return ue+e+oe+ye(e,"shrink","negative")+e;case 5292:return ue+e+oe+ye(e,"basis","preferred-size")+e;case 6060:return ue+"box-"+ye(e,"-grow","")+ue+e+oe+ye(e,"grow","positive")+e;case 4554:return ue+ye(e,/([^-])(transform)/g,"$1"+ue+"$2")+e;case 6187:return ye(ye(ye(e,/(zoom-|grab)/,ue+"$1"),/(image-set)/,ue+"$1"),e,"")+e;case 5495:case 3959:return ye(e,/(image-set\([^]*)/,ue+"$1$`$1");case 4968:return ye(ye(e,/(.+:)(flex-)?(.*)/,ue+"box-pack:$3"+oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ue+e+e;case 4095:case 3583:case 4068:case 2532:return ye(e,/(.+)-inline(.+)/,ue+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xe(e)-1-t>6)switch(ke(e,t+1)){case 109:if(45!==ke(e,t+4))break;case 102:return ye(e,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+le+(108==ke(e,t+3)?"$3":"$2-$3"))+e;case 115:return~we(e,"stretch")?ht(ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ke(e,t+1))break;case 6444:switch(ke(e,xe(e)-3-(~we(e,"!important")&&10))){case 107:return ye(e,":",":"+ue)+e;case 101:return ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(45===ke(e,14)?"inline-":"")+"box$3$1"+ue+"$2$3$1"+oe+"$2box$3")+e}break;case 5936:switch(ke(e,t+11)){case 114:return ue+e+oe+ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ue+e+oe+ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ue+e+oe+ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ue+e+oe+e+e}return e}var dt,pt,ft="undefined"!=typeof document,gt=ft?void 0:(dt=function(){return ne((function(){var e={};return function(t){return e[t]}}))},pt=new WeakMap,function(e){if(pt.has(e))return pt.get(e);var t=dt(e);return pt.set(e,t),t}),vt=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case de:e.return=ht(e.value,e.length);break;case fe:return Qe([Re(e,{value:ye(e.value,"@","@"+ue)})],n);case he:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qe([Re(e,{props:[ye(t,/:(read-\w+)/,":"+le+"$1")]})],n);case"::placeholder":return Qe([Re(e,{props:[ye(t,/:(plac\w+)/,":"+ue+"input-$1")]}),Re(e,{props:[ye(t,/:(plac\w+)/,":"+le+"$1")]}),Re(e,{props:[ye(t,/:(plac\w+)/,oe+"input-$1")]})],n)}return""}))}}],mt=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(ft&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||vt;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a,i,s={},o=[];ft&&(a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;o.push(e)})));var l,u=[it,st];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,r,n){if("rule"===t.type&&!e.compat){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=t.parent===n[0]?n[0].children:n,s=i.length-1;s>=0;s--){var o=i[s];if(o.line<t.line)break;if(o.column<t.column){if(ot(o))return;break}}a.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return m.compat}}),ct),ft){var c,h=[et,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==ce&&c.insert(e.value+"{}"))}:(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=tt(u.concat(n,h));i=function(e,t,r,n){c=r,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){r.insert(e+t.map)}}),Qe(Ge(e?e+"{"+t.styles+"}":t.styles),d),n&&(m.inserted[t.name]=!0)}}else{var p=[et],f=tt(u.concat(n,p)),g=gt(n)(t),v=function(e,t){var r=t.name;return void 0===g[r]&&(g[r]=Qe(Ge(e?e+"{"+t.styles+"}":t.styles),f)),g[r]};i=function(e,t,r,n){var a=t.name,i=v(e,t);return void 0===m.compat?(n&&(m.inserted[a]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):n?void(m.inserted[a]=i):i}}var m={key:t,sheet:new se({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return m.sheet.hydrate(o),m},bt="undefined"!=typeof document;function yt(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var wt=function(e,t,r){!function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===bt&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a="",i=t;do{var s=e.insert(t===i?"."+n:"",i,e.sheet,!0);bt||void 0===s||(a+=s),i=i.next}while(void 0!==i);if(!bt&&0!==a.length)return a}};var kt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_t="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",xt="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Et=/[A-Z]|^ms/g,Nt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mt=function(e){return 45===e.charCodeAt(1)},St=function(e){return null!=e&&"boolean"!=typeof e},Ot=ne((function(e){return Mt(e)?e:e.replace(Et,"-$&").toLowerCase()})),At=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Nt,(function(e,t,r){return zt={name:t,styles:r,next:zt},t}))}return 1===kt[e]||Mt(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var Ct=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Pt=["normal","none","initial","inherit","unset"],Vt=At,Rt=/^-ms-/,Dt=/-(.)/g,Tt={};At=function(e,t){if("content"===e&&("string"!=typeof t||-1===Pt.indexOf(t)&&!Ct.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=Vt(e,t);return""===r||Mt(e)||-1===e.indexOf("-")||void 0!==Tt[e]||(Tt[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Rt,"ms-").replace(Dt,(function(e,t){return t.toUpperCase()}))+"?")),r}}var jt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function It(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===r.toString())throw new Error(jt);return r}switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return zt={name:r.name,styles:r.styles,next:zt},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)zt={name:n.name,styles:n.styles,next:zt},n=n.next;var a=r.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==r.map&&(a+=r.map),a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=It(e,t,r[a])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":St(s)&&(n+=Ot(i)+":"+At(i,s)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(jt);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var o=It(e,t,s);switch(i){case"animation":case"animationName":n+=Ot(i)+":"+o+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(xt),n+=i+"{"+o+"}"}}else for(var l=0;l<s.length;l++)St(s[l])&&(n+=Ot(i)+":"+At(i,s[l])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var i=zt,s=r(e);return zt=i,It(e,t,s)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var o=[],l=r.replace(Nt,(function(e,t,r){var n="animation"+o.length;return o.push("const "+n+" = keyframes`"+r.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+n+"}"}));o.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(o,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return r;var u=t[r];return void 0!==u?u:r}var $t,zt,qt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&($t=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ft=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";zt=void 0;var i,s=e[0];null==s||void 0===s.raw?(n=!1,a+=It(r,t,s)):("production"!==process.env.NODE_ENV&&void 0===s[0]&&console.error(_t),a+=s[0]);for(var o=1;o<e.length;o++)a+=It(r,t,e[o]),n&&("production"!==process.env.NODE_ENV&&void 0===s[o]&&console.error(_t),a+=s[o]);"production"!==process.env.NODE_ENV&&(a=a.replace($t,(function(e){return i=e,""}))),qt.lastIndex=0;for(var l,u="";null!==(l=qt.exec(a));)u+="-"+l[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:a,map:i,next:zt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:a,next:zt}},Lt="undefined"!=typeof document,Ut={}.hasOwnProperty,Ht=a("undefined"!=typeof HTMLElement?mt({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Ht.displayName="EmotionCacheContext"),Ht.Provider;var Wt=function(e){return t((function(t,n){var a=r(Ht);return e(t,a,n)}))};Lt||(Wt=function(e){return function(t){var a=r(Ht);return null===a?(a=mt({key:"css"}),n(Ht.Provider,{value:a},e(t,a))):e(t,a)}});var Bt=a({});"production"!==process.env.NODE_ENV&&(Bt.displayName="EmotionThemeContext");var Yt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Kt=function(){return null},Xt=Wt((function(e,t,a){var s=e.css;"string"==typeof s&&void 0!==t.registered[s]&&(s=t.registered[s]);var o=e[Yt],l=[s],u="";"string"==typeof e.className?u=yt(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var c=Ft(l,void 0,r(Bt));if("production"!==process.env.NODE_ENV&&-1===c.name.indexOf("-")){var h=e[Gt];h&&(c=Ft([c,"label:"+h+";"]))}var d=wt(t,c,"string"==typeof o);u+=t.key+"-"+c.name;var p={};for(var f in e)!Ut.call(e,f)||"css"===f||f===Yt||"production"!==process.env.NODE_ENV&&f===Gt||(p[f]=e[f]);p.ref=a,p.className=u;var g=n(o,p),v=n(Kt,null);if(!Lt&&void 0!==d){for(var m,b=c.name,y=c.next;void 0!==y;)b+=" "+y.name,y=y.next;v=n("style",((m={})["data-emotion"]=t.key+" "+b,m.dangerouslySetInnerHTML={__html:d},m.nonce=t.sheet.nonce,m))}return n(i,null,v,g)}));"production"!==process.env.NODE_ENV&&(Xt.displayName="EmotionCssPropInternal");var Jt=ie,Zt=function(e){return"theme"!==e},Qt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Jt:Zt},er=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},tr="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",rr="undefined"!=typeof document,nr=function(){return null},ar=function e(t,a){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var s,o,l=t.__emotion_real===t,u=l&&t.__emotion_base||t;void 0!==a&&(s=a.label,o=a.target);var c=er(t,a,l),h=c||Qt(u),d=!h("as");return function(){var p=arguments,f=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==s&&f.push("label:"+s+";"),null==p[0]||void 0===p[0].raw)f.push.apply(f,p);else{"production"!==process.env.NODE_ENV&&void 0===p[0][0]&&console.error(tr),f.push(p[0][0]);for(var g=p.length,v=1;v<g;v++)"production"!==process.env.NODE_ENV&&void 0===p[0][v]&&console.error(tr),f.push(p[v],p[0][v])}var m=Wt((function(e,t,a){var s=d&&e.as||u,l="",p=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=r(Bt)}"string"==typeof e.className?l=yt(t.registered,p,e.className):null!=e.className&&(l=e.className+" ");var m=Ft(f.concat(p),t.registered,g),b=wt(t,m,"string"==typeof s);l+=t.key+"-"+m.name,void 0!==o&&(l+=" "+o);var y=d&&void 0===c?Qt(s):h,w={};for(var k in e)d&&"as"===k||y(k)&&(w[k]=e[k]);w.className=l,w.ref=a;var _=n(s,w),x=n(nr,null);if(!rr&&void 0!==b){for(var E,N=m.name,M=m.next;void 0!==M;)N+=" "+M.name,M=M.next;x=n("style",((E={})["data-emotion"]=t.key+" "+N,E.dangerouslySetInnerHTML={__html:b},E.nonce=t.sheet.nonce,E))}return n(i,null,x,_)}));return m.displayName=void 0!==s?s:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=u,m.__emotion_styles=f,m.__emotion_forwardProp=c,Object.defineProperty(m,"toString",{value:function(){return void 0===o&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,r){return e(t,re({},a,r,{shouldForwardProp:er(m,r,!0)})).apply(void 0,f)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ar[e]=ar(e)}));const ir=ar("div",{shouldForwardProp:e=>"size"!==e})`
import e,{forwardRef as t,useContext as r,createElement as n,createContext as a,Fragment as i}from"react";var s=function(e){null==e&&(e=(new Date).getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,e.constructor==Array?this.init_by_array(e,e.length):this.init_seed(e)};s.prototype.init_seed=function(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++){e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0}},s.prototype.init_by_array=function(e,t){var r,n,a;for(this.init_seed(19650218),r=1,n=0,a=this.N>t?this.N:t;a;a--){var i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1664525*((4294901760&i)>>>16)<<16)+1664525*(65535&i))+e[n]+n,this.mt[r]>>>=0,n++,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1),n>=t&&(n=0)}for(a=this.N-1;a;a--){i=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1566083941*((4294901760&i)>>>16)<<16)+1566083941*(65535&i))-r,this.mt[r]>>>=0,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1)}this.mt[0]=2147483648},s.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var r;for(this.mti==this.N+1&&this.init_seed(5489),r=0;r<this.N-this.M;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+this.M]^e>>>1^t[1&e];for(;r<this.N-1;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+(this.M-this.N)]^e>>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,(e^=e>>>18)>>>0},s.prototype.random_int31=function(){return this.random_int()>>>1},s.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},s.prototype.random=function(){return this.random_int()*(1/4294967296)},s.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},s.prototype.random_long=function(){return(67108864*(this.random_int()>>>5)+(this.random_int()>>>6))*(1/9007199254740992)};var o=s;var l=function(e,t){var r=document.createElement("div");return r.style.borderRadius="50px",r.style.overflow="hidden",r.style.padding="0px",r.style.margin="0px",r.style.width=e+"px",r.style.height=e+"px",r.style.display="inline-block",r.style.background=t,{container:r}},u={};!function(e){var t=function(){function e(t,n,a,i){"object"==typeof n&&(a=n.depth,i=n.prototype,n.filter,n=n.circular);var s=[],o=[],l="undefined"!=typeof Buffer;return void 0===n&&(n=!0),void 0===a&&(a=1/0),function t(a,u){if(null===a)return null;if(0==u)return a;var c,h;if("object"!=typeof a)return a;if(e.__isArray(a))c=[];else if(e.__isRegExp(a))c=new RegExp(a.source,r(a)),a.lastIndex&&(c.lastIndex=a.lastIndex);else if(e.__isDate(a))c=new Date(a.getTime());else{if(l&&Buffer.isBuffer(a))return c=Buffer.allocUnsafe?Buffer.allocUnsafe(a.length):new Buffer(a.length),a.copy(c),c;void 0===i?(h=Object.getPrototypeOf(a),c=Object.create(h)):(c=Object.create(i),h=i)}if(n){var d=s.indexOf(a);if(-1!=d)return o[d];s.push(a),o.push(c)}for(var p in a){var f;h&&(f=Object.getOwnPropertyDescriptor(h,p)),f&&null==f.set||(c[p]=t(a[p],u-1))}return c}(t,a)}function t(e){return Object.prototype.toString.call(e)}function r(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},e.__objToStr=t,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},e.__getRegExpFlags=r,e}();e.exports&&(e.exports=t)}({get exports(){return u},set exports(e){u=e}});var c={},h={get exports(){return c},set exports(e){c=e}},d={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},p={};for(var f in d)d.hasOwnProperty(f)&&(p[d[f]]=f);var g=h.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var v in g)if(g.hasOwnProperty(v)){if(!("channels"in g[v]))throw new Error("missing channels property: "+v);if(!("labels"in g[v]))throw new Error("missing channel labels property: "+v);if(g[v].labels.length!==g[v].channels)throw new Error("channel and label counts mismatch: "+v);var m=g[v].channels,b=g[v].labels;delete g[v].channels,delete g[v].labels,Object.defineProperty(g[v],"channels",{value:m}),Object.defineProperty(g[v],"labels",{value:b})}g.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,i=e[2]/255,s=Math.min(n,a,i),o=Math.max(n,a,i),l=o-s;return o===s?t=0:n===o?t=(a-i)/l:a===o?t=2+(i-n)/l:i===o&&(t=4+(n-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),r=(s+o)/2,[t,100*(o===s?0:r<=.5?l/(o+s):l/(2-o-s)),100*r]},g.rgb.hsv=function(e){var t,r,n,a,i,s=e[0]/255,o=e[1]/255,l=e[2]/255,u=Math.max(s,o,l),c=u-Math.min(s,o,l),h=function(e){return(u-e)/6/c+.5};return 0===c?a=i=0:(i=c/u,t=h(s),r=h(o),n=h(l),s===u?a=n-r:o===u?a=1/3+t-n:l===u&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*i,100*u]},g.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[g.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},g.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},g.rgb.keyword=function(e){var t=p[e];if(t)return t;var r,n,a,i=1/0;for(var s in d)if(d.hasOwnProperty(s)){var o=d[s],l=(n=e,a=o,Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)+Math.pow(n[2]-a[2],2));l<i&&(i=l,r=s)}return r},g.keyword.rgb=function(e){return d[e]},g.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},g.rgb.lab=function(e){var t=g.rgb.xyz(e),r=t[0],n=t[1],a=t[2];return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},g.hsl.rgb=function(e){var t,r,n,a,i,s=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[i=255*l,i,i];t=2*l-(r=l<.5?l*(1+o):l+o-l*o),a=[0,0,0];for(var u=0;u<3;u++)(n=s+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[u]=255*i;return a},g.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,i=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=i<=1?i:2-i,[t,100*(0===n?2*a/(i+a):2*r/(n+r)),100*((n+r)/2)]},g.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),s=255*n*(1-r),o=255*n*(1-r*i),l=255*n*(1-r*(1-i));switch(n*=255,a){case 0:return[n,l,s];case 1:return[o,n,s];case 2:return[s,n,l];case 3:return[s,o,n];case 4:return[l,s,n];case 5:return[n,s,o]}},g.hsv.hsl=function(e){var t,r,n,a=e[0],i=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return n=(2-i)*s,r=i*o,[a,100*(r=(r/=(t=(2-i)*o)<=1?t:2-t)||0),100*(n/=2)]},g.hwb.rgb=function(e){var t,r,n,a,i,s,o,l=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),n=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),t){default:case 6:case 0:i=r,s=a,o=u;break;case 1:i=a,s=r,o=u;break;case 2:i=u,s=r,o=a;break;case 3:i=u,s=a,o=r;break;case 4:i=a,s=u,o=r;break;case 5:i=r,s=u,o=a}return[255*i,255*s,255*o]},g.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},g.xyz.rgb=function(e){var t,r,n,a=e[0]/100,i=e[1]/100,s=e[2]/100;return r=-.9689*a+1.8758*i+.0415*s,n=.0557*a+-.204*i+1.057*s,t=(t=3.2406*a+-1.5372*i+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},g.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},g.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var i=Math.pow(r,3),s=Math.pow(t,3),o=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},g.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},g.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},g.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:g.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},g.hsv.ansi16=function(e){return g.rgb.ansi16(g.hsv.rgb(e),e[2])},g.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},g.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},g.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},g.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},g.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},g.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,i=Math.max(Math.max(r,n),a),s=Math.min(Math.min(r,n),a),o=i-s;return t=o<=0?0:i===r?(n-a)/o%6:i===n?2+(a-r)/o:4+(r-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},g.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},g.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},g.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var a,i=[0,0,0],s=t%1*6,o=s%1,l=1-o;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=l,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=l,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=l}return a=(1-r)*n,[255*(r*i[0]+a),255*(r*i[1]+a),255*(r*i[2]+a)]},g.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},g.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},g.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},g.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},g.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},g.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},g.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},g.gray.hsl=g.gray.hsv=function(e){return[0,0,e[0]]},g.gray.hwb=function(e){return[0,100,e[0]]},g.gray.cmyk=function(e){return[0,0,0,e[0]]},g.gray.lab=function(e){return[e[0],0,0]},g.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},g.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var y=c;function w(e){var t=function(){for(var e={},t=Object.keys(y),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),a=Object.keys(y[n]),i=a.length,s=0;s<i;s++){var o=a[s],l=t[o];-1===l.distance&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(o))}return t}function k(e,t){return function(r){return t(e(r))}}function x(e,t){for(var r=[t[e].parent,e],n=y[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),n=k(y[t[a].parent][a],n),a=t[a].parent;return n.conversion=r,n}var _=c,E=function(e){for(var t=w(e),r={},n=Object.keys(t),a=n.length,i=0;i<a;i++){var s=n[i];null!==t[s].parent&&(r[s]=x(s,t))}return r},N={};Object.keys(_).forEach((function(e){N[e]={},Object.defineProperty(N[e],"channels",{value:_[e].channels}),Object.defineProperty(N[e],"labels",{value:_[e].labels});var t=E(e);Object.keys(t).forEach((function(r){var n=t[r];N[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,a=0;a<n;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),N[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var M=N,S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},O={getRgba:A,getHsla:C,getRgb:function(e){var t=A(e);return t&&t.slice(0,3)},getHsl:function(e){var t=C(e);return t&&t.slice(0,3)},getHwb:P,getAlpha:function(e){var t=A(e);if(t)return t[3];if(t=C(e))return t[3];if(t=P(e))return t[3]},hexString:function(e){return"#"+j(e[0])+j(e[1])+j(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return V(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:V,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return R(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+a+"%)"},percentaString:R,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return D(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:D,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return I[e.slice(0,3)]}};function A(e){if(e){var t=[0,0,0],r=1,n=e.match(/^#([a-fA-F0-9]{3})$/);if(n){n=n[1];for(var a=0;a<t.length;a++)t[a]=parseInt(n[a]+n[a],16)}else if(n=e.match(/^#([a-fA-F0-9]{6})$/)){n=n[1];for(a=0;a<t.length;a++)t[a]=parseInt(n.slice(2*a,2*a+2),16)}else if(n=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=parseInt(n[a+1]);r=parseFloat(n[4])}else if(n=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(n[a+1]));r=parseFloat(n[4])}else if(n=e.match(/(\D+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(t=S[n[1]]))return}for(a=0;a<t.length;a++)t[a]=T(t[a],0,255);return r=r||0==r?T(r,0,1):1,t[3]=r,t}}function C(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[T(parseInt(t[1]),0,360),T(parseFloat(t[2]),0,100),T(parseFloat(t[3]),0,100),T(isNaN(r)?1:r,0,1)]}}}function P(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[T(parseInt(t[1]),0,360),T(parseFloat(t[2]),0,100),T(parseFloat(t[3]),0,100),T(isNaN(r)?1:r,0,1)]}}}function V(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function R(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function D(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function T(e,t,r){return Math.min(Math.max(t,e),r)}function j(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var I={};for(var $ in S)I[S[$]]=$;var z=u,q=M,F=O,L=function(e){if(e instanceof L)return e;if(!(this instanceof L))return new L(e);var t;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e)if(t=F.getRgba(e))this.setValues("rgb",t);else if(t=F.getHsla(e))this.setValues("hsl",t);else{if(!(t=F.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if(void 0!==(t=e).r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};L.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var e=this.values.rgb,t=[],r=0;r<3;r++)t[r]=e[r]/255;return t.push(this.values.alpha),t},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return F.hexString(this.values.rgb)},rgbString:function(){return F.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return F.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return F.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return F.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return F.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return F.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return F.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var r=this,n=e,a=void 0===t?.5:t,i=2*a-1,s=r.alpha()-n.alpha(),o=((i*s==-1?i:(i+s)/(1+i*s))+1)/2,l=1-o;return this.rgb(o*r.red()+l*n.red(),o*r.green()+l*n.green(),o*r.blue()+l*n.blue()).alpha(r.alpha()*a+n.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e=new L;return e.values=z(this.values),e}},L.prototype.getValues=function(e){for(var t={},r=0;r<e.length;r++)t[e.charAt(r)]=this.values[e][r];return 1!==this.values.alpha&&(t.a=this.values.alpha),t},L.prototype.setValues=function(e,t){var r,n,a={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s=1;if("alpha"===e)s=t;else if(t.length)this.values[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(r=0;r<e.length;r++)this.values[e][r]=t[e.charAt(r)];s=t.a}else if(void 0!==t[a[e][0]]){var o=a[e];for(r=0;r<e.length;r++)this.values[e][r]=t[o[r]];s=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0===s?this.values.alpha:s)),"alpha"===e)return!1;for(r=0;r<e.length;r++)n=Math.max(0,Math.min(i[e][r],this.values[e][r])),this.values[e][r]=Math.round(n);for(var l in a)for(l!==e&&(this.values[l]=q[e][l](this.values[e])),r=0;r<l.length;r++)n=Math.max(0,Math.min(i[l][r],this.values[l][r])),this.values[l][r]=Math.round(n);return!0},L.prototype.setSpace=function(e,t){var r=t[0];return void 0===r?this.getValues(e):("number"==typeof r&&(r=Array.prototype.slice.call(t)),this.setValues(e,r),this)},L.prototype.setChannel=function(e,t,r){return void 0===r?this.values[e][t]:(r===this.values[e][t]||(this.values[e][t]=r,this.setValues(e,this.values[e])),this)};var U,H=o,W=l,B=L,Y=["#01888C","#FC7500","#034F5D","#F73F01","#FC1960","#C7144C","#F3C100","#1598F2","#2465E1","#F19E02"],G=4,K="http://www.w3.org/2000/svg",X=function(e,t){U=new H(t);var r=function(e,t){var r=30*t.random()-Q/2;return e.map((function(e){var t=B(e);return t.rotate(r),t.hexString()}))}(Y.slice(),U),n=W(e,Z(r)).container,a=document.createElementNS(K,"svg");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",e),a.setAttributeNS(null,"height",e),n.appendChild(a);for(var i=0;i<G-1;i++)J(r,e,i,G-1,a);return n};function J(e,t,r,n,a){var i=t/2,s=document.createElementNS(K,"rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",t),s.setAttributeNS(null,"height",t);var o=U.random(),l=2*Math.PI*o,u=t/n*U.random()+r*t/n,c="translate("+Math.cos(l)*u+" "+Math.sin(l)*u+")"+" "+("rotate("+(360*o+180*U.random()).toFixed(1)+" "+i+" "+i+")");s.setAttributeNS(null,"transform",c);var h=Z(e);s.setAttributeNS(null,"fill",h),a.appendChild(s)}function Z(e){U.random();var t=Math.floor(e.length*U.random());return e.splice(t,1)[0]}var Q=30;const ee={},te=e=>{const{address:t,size:r}=e;if(!t||42!==t.length)return"";const n=`${r}-${t}`;if(ee[n])return ee[n];const a=parseInt(t.slice(2,10),16),i=X(r,a).firstChild;if(!i)return;const s=(new XMLSerializer).serializeToString(i),o=`data:image/svg+xml,${l=s,l.replace("<svg",~l.indexOf("xmlns")?"<svg":'<svg xmlns="http://www.w3.org/2000/svg"').replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}`;var l;return ee[n]=o,o};function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},re.apply(this,arguments)}function ne(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var ae=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ie=ne((function(e){return ae.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var se=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var r=64===e.charCodeAt(0)&&105===e.charCodeAt(1);r&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r}if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),oe="-ms-",le="-moz-",ue="-webkit-",ce="comm",he="rule",de="decl",pe="@import",fe="@keyframes",ge=Math.abs,ve=String.fromCharCode,me=Object.assign;function be(e){return e.trim()}function ye(e,t,r){return e.replace(t,r)}function we(e,t){return e.indexOf(t)}function ke(e,t){return 0|e.charCodeAt(t)}function xe(e,t,r){return e.slice(t,r)}function _e(e){return e.length}function Ee(e){return e.length}function Ne(e,t){return t.push(e),e}var Me=1,Se=1,Oe=0,Ae=0,Ce=0,Pe="";function Ve(e,t,r,n,a,i,s){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:Me,column:Se,length:s,return:""}}function Re(e,t){return me(Ve("",null,null,"",null,null,0),e,{length:-e.length},t)}function De(){return Ce=Ae>0?ke(Pe,--Ae):0,Se--,10===Ce&&(Se=1,Me--),Ce}function Te(){return Ce=Ae<Oe?ke(Pe,Ae++):0,Se++,10===Ce&&(Se=1,Me++),Ce}function je(){return ke(Pe,Ae)}function Ie(){return Ae}function $e(e,t){return xe(Pe,e,t)}function ze(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qe(e){return Me=Se=1,Oe=_e(Pe=e),Ae=0,[]}function Fe(e){return Pe="",e}function Le(e){return be($e(Ae-1,We(91===e?e+2:40===e?e+1:e)))}function Ue(e){for(;(Ce=je())&&Ce<33;)Te();return ze(e)>2||ze(Ce)>3?"":" "}function He(e,t){for(;--t&&Te()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return $e(e,Ie()+(t<6&&32==je()&&32==Te()))}function We(e){for(;Te();)switch(Ce){case e:return Ae;case 34:case 39:34!==e&&39!==e&&We(Ce);break;case 40:41===e&&We(e);break;case 92:Te()}return Ae}function Be(e,t){for(;Te()&&e+Ce!==57&&(e+Ce!==84||47!==je()););return"/*"+$e(t,Ae-1)+"*"+ve(47===e?e:Te())}function Ye(e){for(;!ze(je());)Te();return $e(e,Ae)}function Ge(e){return Fe(Ke("",null,null,null,[""],e=qe(e),0,[0],e))}function Ke(e,t,r,n,a,i,s,o,l){for(var u=0,c=0,h=s,d=0,p=0,f=0,g=1,v=1,m=1,b=0,y="",w=a,k=i,x=n,_=y;v;)switch(f=b,b=Te()){case 40:if(108!=f&&58==ke(_,h-1)){-1!=we(_+=ye(Le(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:_+=Le(b);break;case 9:case 10:case 13:case 32:_+=Ue(f);break;case 92:_+=He(Ie()-1,7);continue;case 47:switch(je()){case 42:case 47:Ne(Je(Be(Te(),Ie()),t,r),l);break;default:_+="/"}break;case 123*g:o[u++]=_e(_)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:p>0&&_e(_)-h&&Ne(p>32?Ze(_+";",n,r,h-1):Ze(ye(_," ","")+";",n,r,h-2),l);break;case 59:_+=";";default:if(Ne(x=Xe(_,t,r,u,c,a,o,y,w=[],k=[],h),i),123===b)if(0===c)Ke(_,t,x,x,w,i,h,o,k);else switch(99===d&&110===ke(_,3)?100:d){case 100:case 109:case 115:Ke(e,x,x,n&&Ne(Xe(e,x,x,0,0,a,o,y,a,w=[],h),k),a,k,h,o,n?w:k);break;default:Ke(_,x,x,x,[""],k,0,o,k)}}u=c=p=0,g=m=1,y=_="",h=s;break;case 58:h=1+_e(_),p=f;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==De())continue;switch(_+=ve(b),b*g){case 38:m=c>0?1:(_+="\f",-1);break;case 44:o[u++]=(_e(_)-1)*m,m=1;break;case 64:45===je()&&(_+=Le(Te())),d=je(),c=h=_e(y=_+=Ye(Ie())),b++;break;case 45:45===f&&2==_e(_)&&(g=0)}}return i}function Xe(e,t,r,n,a,i,s,o,l,u,c){for(var h=a-1,d=0===a?i:[""],p=Ee(d),f=0,g=0,v=0;f<n;++f)for(var m=0,b=xe(e,h+1,h=ge(g=s[f])),y=e;m<p;++m)(y=be(g>0?d[m]+" "+b:ye(b,/&\f/g,d[m])))&&(l[v++]=y);return Ve(e,t,r,0===a?he:o,l,u,c)}function Je(e,t,r){return Ve(e,t,r,ce,ve(Ce),xe(e,2,-2),0)}function Ze(e,t,r,n){return Ve(e,t,r,de,xe(e,0,n),xe(e,n+1,-1),n)}function Qe(e,t){for(var r="",n=Ee(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function et(e,t,r,n){switch(e.type){case pe:case de:return e.return=e.return||e.value;case ce:return"";case fe:return e.return=e.value+"{"+Qe(e.children,n)+"}";case he:e.value=e.props.join(",")}return _e(r=Qe(e.children,n))?e.return=e.value+"{"+r+"}":""}function tt(e){var t=Ee(e);return function(r,n,a,i){for(var s="",o=0;o<t;o++)s+=e[o](r,n,a,i)||"";return s}}var rt=function(e,t,r){for(var n=0,a=0;n=a,a=je(),38===n&&12===a&&(t[r]=1),!ze(a);)Te();return $e(e,Ae)},nt=function(e,t){return Fe(function(e,t){var r=-1,n=44;do{switch(ze(n)){case 0:38===n&&12===je()&&(t[r]=1),e[r]+=rt(Ae-1,t,r);break;case 2:e[r]+=Le(n);break;case 4:if(44===n){e[++r]=58===je()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=ve(n)}}while(n=Te());return e}(qe(e),t))},at=new WeakMap,it=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||at.get(r))&&!n){at.set(e,!0);for(var a=[],i=nt(t,a),s=r.props,o=0,l=0;o<i.length;o++)for(var u=0;u<s.length;u++,l++)e.props[l]=a[o]?i[o].replace(/&\f/g,s[u]):s[u]+" "+i[o]}}},st=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ot=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},lt=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},ut=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},ct=function(e,t,r){lt(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ut(e)):function(e,t){for(var r=e-1;r>=0;r--)if(!lt(t[r]))return!0;return!1}(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ut(e)))};function ht(e,t){switch(function(e,t){return 45^ke(e,0)?(((t<<2^ke(e,0))<<2^ke(e,1))<<2^ke(e,2))<<2^ke(e,3):0}(e,t)){case 5103:return ue+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ue+e+le+e+oe+e+e;case 6828:case 4268:return ue+e+oe+e+e;case 6165:return ue+e+oe+"flex-"+e+e;case 5187:return ue+e+ye(e,/(\w+).+(:[^]+)/,ue+"box-$1$2"+oe+"flex-$1$2")+e;case 5443:return ue+e+oe+"flex-item-"+ye(e,/flex-|-self/,"")+e;case 4675:return ue+e+oe+"flex-line-pack"+ye(e,/align-content|flex-|-self/,"")+e;case 5548:return ue+e+oe+ye(e,"shrink","negative")+e;case 5292:return ue+e+oe+ye(e,"basis","preferred-size")+e;case 6060:return ue+"box-"+ye(e,"-grow","")+ue+e+oe+ye(e,"grow","positive")+e;case 4554:return ue+ye(e,/([^-])(transform)/g,"$1"+ue+"$2")+e;case 6187:return ye(ye(ye(e,/(zoom-|grab)/,ue+"$1"),/(image-set)/,ue+"$1"),e,"")+e;case 5495:case 3959:return ye(e,/(image-set\([^]*)/,ue+"$1$`$1");case 4968:return ye(ye(e,/(.+:)(flex-)?(.*)/,ue+"box-pack:$3"+oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ue+e+e;case 4095:case 3583:case 4068:case 2532:return ye(e,/(.+)-inline(.+)/,ue+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_e(e)-1-t>6)switch(ke(e,t+1)){case 109:if(45!==ke(e,t+4))break;case 102:return ye(e,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+le+(108==ke(e,t+3)?"$3":"$2-$3"))+e;case 115:return~we(e,"stretch")?ht(ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ke(e,t+1))break;case 6444:switch(ke(e,_e(e)-3-(~we(e,"!important")&&10))){case 107:return ye(e,":",":"+ue)+e;case 101:return ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(45===ke(e,14)?"inline-":"")+"box$3$1"+ue+"$2$3$1"+oe+"$2box$3")+e}break;case 5936:switch(ke(e,t+11)){case 114:return ue+e+oe+ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ue+e+oe+ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ue+e+oe+ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ue+e+oe+e+e}return e}var dt,pt,ft="undefined"!=typeof document,gt=ft?void 0:(dt=function(){return ne((function(){var e={};return function(t){return e[t]}}))},pt=new WeakMap,function(e){if(pt.has(e))return pt.get(e);var t=dt(e);return pt.set(e,t),t}),vt=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case de:e.return=ht(e.value,e.length);break;case fe:return Qe([Re(e,{value:ye(e.value,"@","@"+ue)})],n);case he:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qe([Re(e,{props:[ye(t,/:(read-\w+)/,":"+le+"$1")]})],n);case"::placeholder":return Qe([Re(e,{props:[ye(t,/:(plac\w+)/,":"+ue+"input-$1")]}),Re(e,{props:[ye(t,/:(plac\w+)/,":"+le+"$1")]}),Re(e,{props:[ye(t,/:(plac\w+)/,oe+"input-$1")]})],n)}return""}))}}],mt=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(ft&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||vt;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a,i,s={},o=[];ft&&(a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;o.push(e)})));var l,u=[it,st];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,r,n){if("rule"===t.type&&!e.compat){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=t.parent===n[0]?n[0].children:n,s=i.length-1;s>=0;s--){var o=i[s];if(o.line<t.line)break;if(o.column<t.column){if(ot(o))return;break}}a.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return m.compat}}),ct),ft){var c,h=[et,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==ce&&c.insert(e.value+"{}"))}:(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=tt(u.concat(n,h));i=function(e,t,r,n){c=r,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){r.insert(e+t.map)}}),Qe(Ge(e?e+"{"+t.styles+"}":t.styles),d),n&&(m.inserted[t.name]=!0)}}else{var p=[et],f=tt(u.concat(n,p)),g=gt(n)(t),v=function(e,t){var r=t.name;return void 0===g[r]&&(g[r]=Qe(Ge(e?e+"{"+t.styles+"}":t.styles),f)),g[r]};i=function(e,t,r,n){var a=t.name,i=v(e,t);return void 0===m.compat?(n&&(m.inserted[a]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):n?void(m.inserted[a]=i):i}}var m={key:t,sheet:new se({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return m.sheet.hydrate(o),m},bt="undefined"!=typeof document;function yt(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var wt=function(e,t,r){!function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===bt&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a="",i=t;do{var s=e.insert(t===i?"."+n:"",i,e.sheet,!0);bt||void 0===s||(a+=s),i=i.next}while(void 0!==i);if(!bt&&0!==a.length)return a}};var kt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},xt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",_t="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Et=/[A-Z]|^ms/g,Nt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mt=function(e){return 45===e.charCodeAt(1)},St=function(e){return null!=e&&"boolean"!=typeof e},Ot=ne((function(e){return Mt(e)?e:e.replace(Et,"-$&").toLowerCase()})),At=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Nt,(function(e,t,r){return zt={name:t,styles:r,next:zt},t}))}return 1===kt[e]||Mt(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var Ct=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Pt=["normal","none","initial","inherit","unset"],Vt=At,Rt=/^-ms-/,Dt=/-(.)/g,Tt={};At=function(e,t){if("content"===e&&("string"!=typeof t||-1===Pt.indexOf(t)&&!Ct.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=Vt(e,t);return""===r||Mt(e)||-1===e.indexOf("-")||void 0!==Tt[e]||(Tt[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Rt,"ms-").replace(Dt,(function(e,t){return t.toUpperCase()}))+"?")),r}}var jt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function It(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===r.toString())throw new Error(jt);return r}switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return zt={name:r.name,styles:r.styles,next:zt},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)zt={name:n.name,styles:n.styles,next:zt},n=n.next;var a=r.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==r.map&&(a+=r.map),a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=It(e,t,r[a])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":St(s)&&(n+=Ot(i)+":"+At(i,s)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(jt);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var o=It(e,t,s);switch(i){case"animation":case"animationName":n+=Ot(i)+":"+o+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(_t),n+=i+"{"+o+"}"}}else for(var l=0;l<s.length;l++)St(s[l])&&(n+=Ot(i)+":"+At(i,s[l])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var i=zt,s=r(e);return zt=i,It(e,t,s)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var o=[],l=r.replace(Nt,(function(e,t,r){var n="animation"+o.length;return o.push("const "+n+" = keyframes`"+r.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+n+"}"}));o.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(o,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return r;var u=t[r];return void 0!==u?u:r}var $t,zt,qt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&($t=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ft=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";zt=void 0;var i,s=e[0];null==s||void 0===s.raw?(n=!1,a+=It(r,t,s)):("production"!==process.env.NODE_ENV&&void 0===s[0]&&console.error(xt),a+=s[0]);for(var o=1;o<e.length;o++)a+=It(r,t,e[o]),n&&("production"!==process.env.NODE_ENV&&void 0===s[o]&&console.error(xt),a+=s[o]);"production"!==process.env.NODE_ENV&&(a=a.replace($t,(function(e){return i=e,""}))),qt.lastIndex=0;for(var l,u="";null!==(l=qt.exec(a));)u+="-"+l[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:a,map:i,next:zt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:a,next:zt}},Lt="undefined"!=typeof document,Ut={}.hasOwnProperty,Ht=a("undefined"!=typeof HTMLElement?mt({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Ht.displayName="EmotionCacheContext"),Ht.Provider;var Wt=function(e){return t((function(t,n){var a=r(Ht);return e(t,a,n)}))};Lt||(Wt=function(e){return function(t){var a=r(Ht);return null===a?(a=mt({key:"css"}),n(Ht.Provider,{value:a},e(t,a))):e(t,a)}});var Bt=a({});"production"!==process.env.NODE_ENV&&(Bt.displayName="EmotionThemeContext");var Yt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Kt=function(){return null},Xt=Wt((function(e,t,a){var s=e.css;"string"==typeof s&&void 0!==t.registered[s]&&(s=t.registered[s]);var o=e[Yt],l=[s],u="";"string"==typeof e.className?u=yt(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var c=Ft(l,void 0,r(Bt));if("production"!==process.env.NODE_ENV&&-1===c.name.indexOf("-")){var h=e[Gt];h&&(c=Ft([c,"label:"+h+";"]))}var d=wt(t,c,"string"==typeof o);u+=t.key+"-"+c.name;var p={};for(var f in e)!Ut.call(e,f)||"css"===f||f===Yt||"production"!==process.env.NODE_ENV&&f===Gt||(p[f]=e[f]);p.ref=a,p.className=u;var g=n(o,p),v=n(Kt,null);if(!Lt&&void 0!==d){for(var m,b=c.name,y=c.next;void 0!==y;)b+=" "+y.name,y=y.next;v=n("style",((m={})["data-emotion"]=t.key+" "+b,m.dangerouslySetInnerHTML={__html:d},m.nonce=t.sheet.nonce,m))}return n(i,null,v,g)}));"production"!==process.env.NODE_ENV&&(Xt.displayName="EmotionCssPropInternal");var Jt=ie,Zt=function(e){return"theme"!==e},Qt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Jt:Zt},er=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},tr="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",rr="undefined"!=typeof document,nr=function(){return null},ar=function e(t,a){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var s,o,l=t.__emotion_real===t,u=l&&t.__emotion_base||t;void 0!==a&&(s=a.label,o=a.target);var c=er(t,a,l),h=c||Qt(u),d=!h("as");return function(){var p=arguments,f=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==s&&f.push("label:"+s+";"),null==p[0]||void 0===p[0].raw)f.push.apply(f,p);else{"production"!==process.env.NODE_ENV&&void 0===p[0][0]&&console.error(tr),f.push(p[0][0]);for(var g=p.length,v=1;v<g;v++)"production"!==process.env.NODE_ENV&&void 0===p[0][v]&&console.error(tr),f.push(p[v],p[0][v])}var m=Wt((function(e,t,a){var s=d&&e.as||u,l="",p=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=r(Bt)}"string"==typeof e.className?l=yt(t.registered,p,e.className):null!=e.className&&(l=e.className+" ");var m=Ft(f.concat(p),t.registered,g),b=wt(t,m,"string"==typeof s);l+=t.key+"-"+m.name,void 0!==o&&(l+=" "+o);var y=d&&void 0===c?Qt(s):h,w={};for(var k in e)d&&"as"===k||y(k)&&(w[k]=e[k]);w.className=l,w.ref=a;var x=n(s,w),_=n(nr,null);if(!rr&&void 0!==b){for(var E,N=m.name,M=m.next;void 0!==M;)N+=" "+M.name,M=M.next;_=n("style",((E={})["data-emotion"]=t.key+" "+N,E.dangerouslySetInnerHTML={__html:b},E.nonce=t.sheet.nonce,E))}return n(i,null,_,x)}));return m.displayName=void 0!==s?s:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=u,m.__emotion_styles=f,m.__emotion_forwardProp=c,Object.defineProperty(m,"toString",{value:function(){return void 0===o&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,r){return e(t,re({},a,r,{shouldForwardProp:er(m,r,!0)})).apply(void 0,f)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ar[e]=ar(e)}));const ir=ar("div",{shouldForwardProp:e=>"size"!==e})`
border-radius: 50%;

@@ -10,3 +10,3 @@ padding: 0;

height: ${({size:e})=>e}px;
`,sr=({variant:t,address:r})=>{const n="medium"===t?24:16;return e.createElement(ir,{"data-testid":"MetaMaskAvatar-AvatarWrapper",size:n},e.createElement("img",{alt:"avatar","data-testid":"MetaMaskAvatar-Image",src:te({address:r,size:n})}))};export{sr as MetaMaskAvatar};
`,sr=({size:t=24,address:r,className:n})=>r&&42===r.length?e.createElement(ir,{className:n,"data-testid":"MetaMaskAvatar-AvatarWrapper",size:t},e.createElement("img",{alt:"avatar","data-testid":`MetaMaskAvatar-Image-${t}x${t}`,src:te({address:r,size:t})})):null;export{sr as MetaMaskAvatar};
//# sourceMappingURL=index.js.map
import React from 'react';
type Props = {
/**
*/
/**
* `MetaMaskAvatarProps` has a required `address` property of type `string` and an optional `size` property
* of type `number`.
* @property {string} address - The address of the account to get the avatar for. Expecting a string of length 42 that represents Ethereum address
* @property {number} size - The size of the avatar in pixels.
* @property {string} className - A string that will be added to the className of the wrapper component. Allows custom styling using: https://emotion.sh/docs/styled#styling-any-component
*/
export type MetaMaskAvatarProps = {
address: string;
variant: 'medium' | 'small';
size?: number;
className?: string;
};
export declare const MetaMaskAvatar: React.FunctionComponent<Props>;
export {};
export declare const MetaMaskAvatar: React.FunctionComponent<MetaMaskAvatarProps>;
import React from 'react';
type Props = {
/**
*/
/**
* `MetaMaskAvatarProps` has a required `address` property of type `string` and an optional `size` property
* of type `number`.
* @property {string} address - The address of the account to get the avatar for. Expecting a string of length 42 that represents Ethereum address
* @property {number} size - The size of the avatar in pixels.
* @property {string} className - A string that will be added to the className of the wrapper component. Allows custom styling using: https://emotion.sh/docs/styled#styling-any-component
*/
type MetaMaskAvatarProps = {
address: string;
variant: 'medium' | 'small';
size?: number;
className?: string;
};
declare const MetaMaskAvatar: React.FunctionComponent<Props>;
declare const MetaMaskAvatar: React.FunctionComponent<MetaMaskAvatarProps>;
export { MetaMaskAvatar };
export { MetaMaskAvatar, MetaMaskAvatarProps };
{
"name": "react-metamask-avatar",
"version": "1.1.1",
"version": "1.2.0",
"description": "A React component for rendering MetaMask avatars based on account address",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

| Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://img.shields.io/badge/statements-75.86%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-66.66%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-42.85%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-75%25-red.svg?style=flat) |
| ![Statements](https://img.shields.io/badge/statements-97.22%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-90.9%25-brightgreen.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-100%25-brightgreen.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-96.96%25-brightgreen.svg?style=flat) |

@@ -15,3 +15,3 @@ # react-metamask-avatar

Create a React package in Typescript to provide rendering of Metamask jazzicon avatar.
The `MetaMaskAvatar` component is a React functional component that takes in a required `address` property of type `string` and an optional `size` property of type `number`. It returns an image avatar of the given Ethereum address provided as a string and renders it within an `AvatarWrapper` component, which can be styled using the `className` property.

@@ -32,13 +32,48 @@ ## Installation 📦

## Props
### address
The **required** address property is a **string** of length 42 that represents an Ethereum address. If it is not provided or does not meet the expected length, the component returns null.
### size
The **optional** size property is a **number** that sets the size of the avatar image in pixels. If not provided, it defaults to **24**.
### className
The **optional** className property is a **string** that allows for custom styling using the AvatarWrapper component. It will be added to the className prop of the AvatarWrapper component.
## Usage 📚
```tsx
import React from 'react';
import { MetaMaskAvatar } from 'react-metamask-avatar';
export const App: React.FunctionComponent = () => {
return (
<MetaMaskAvatar address="0xb01F14d1C9000D453241221EB54648F1C378c970" size={24} />
)
}
```
## FAQ
### I want to add custom styling. How can I do that?
Under the hood `react-metamask-avatar` uses `@emotion/styled`. Therefore, following a [guide](https://emotion.sh/docs/styled#styling-any-component)
for custom styling emotion elements is the way to go.
Example:
```tsx
import React from 'react';
import { MetaMaskAvatar } from 'react-metamask-avatar';
export const MyComponent = () => {
const SquareMetaMaskAvatar = styled(MetaMaskAvatar)`
border-radius: none;
`;
export const App: React.FunctionComponent = () => {
return (
<MetaMaskAvatar variant="medium" address="0xb01F14d1C9000D453241221EB54648F1C378c970" />
<SquareMetaMaskAvatar address="0xb01F14d1C9000D453241221EB54648F1C378c970" size={24} />
)
}
```
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc