Socket
Socket
Sign inDemoInstall

@clearkit/css

Package Overview
Dependencies
Maintainers
15
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clearkit/css - npm Package Compare versions

Comparing version 0.11.0-alpha.0 to 0.11.1-alpha.0

2

dist/clearkit-css.esm.js

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

const e={"gray-0":"#fafbfc","gray-100":"#f0f4f8","gray-200":"#e1e9f0","gray-300":"#c0d0df","gray-400":"#9badbc","gray-500":"#7b8b99","gray-600":"#596168","gray-700":"#4c5359","gray-800":"#373c41","gray-900":"#27282a","gray-1000":"#131414","blue-0":"#f2fafe","blue-100":"#dbf1fe","blue-200":"#98d5fd","blue-300":"#4db1fd","blue-400":"#2b9ffd","blue-500":"#148cfc","blue-600":"#127ee3","blue-700":"#1070c9","blue-800":"#0c5497","blue-900":"#083864","blue-1000":"#041c32","navy-0":"#f2f6fa","navy-100":"#dde8f4","navy-200":"#a1bddc","navy-300":"#6b90c0","navy-400":"#3b64a0","navy-500":"#2a456d","navy-600":"#253e62","navy-700":"#213757","navy-800":"#192a42","navy-900":"#101c2c","navy-1000":"#080e16","aqua-0":"#f6fcfe","aqua-100":"#e4f8fe","aqua-200":"#b1ecfd","aqua-300":"#80dffd","aqua-400":"#52d2fc","aqua-500":"#3abefa","aqua-600":"#34abe1","aqua-700":"#2e98c8","aqua-800":"#227296","aqua-900":"#174c64","aqua-1000":"#0b2632","indigo-0":"#f7f8ff","indigo-100":"#eaeeff","indigo-200":"#c2cfff","indigo-300":"#9cb2ff","indigo-400":"#7793ff","indigo-500":"#637eff","indigo-600":"#5872e5","indigo-700":"#4f65cc","indigo-800":"#3b4c99","indigo-900":"#273266","indigo-1000":"#131933","purple-0":"#fcf7fd","purple-100":"#f8eafc","purple-200":"#edc2f8","purple-300":"#e29bf3","purple-400":"#d576f0","purple-500":"#c363e5","purple-600":"#af58cd","purple-700":"#9c4fb7","purple-800":"#753b89","purple-900":"#4e275b","purple-1000":"#27132d","yellow-0":"#fefbf1","yellow-100":"#fef4d7","yellow-200":"#fde08e","yellow-300":"#fdcc50","yellow-400":"#fdb61c","yellow-500":"#fca000","yellow-600":"#e28f00","yellow-700":"#c98000","yellow-800":"#976000","yellow-900":"#644000","yellow-1000":"#322000","red-0":"#fdf3f1","red-100":"#fbddd8","red-200":"#f6a194","red-300":"#f06a57","red-400":"#ea3927","red-500":"#de2612","red-600":"#c72310","red-700":"#b11e0e","red-800":"#85160a","red-900":"#580f07","red-1000":"#2c0703","green-0":"#f1fcf8","green-100":"#d9f9ec","green-200":"#97ecca","green-300":"#4edc9f","green-400":"#31d48b","green-500":"#1dc463","green-600":"#1ab059","green-700":"#189c50","green-800":"#11753c","green-900":"#0c4e28","green-1000":"#052713",black:"#000",white:"#fff",salesforce:"#00a1e0",marketo:"#5c4c9f",segment:"#43af79",hubspot:"#ff7a59",facebook:"#1877f2",twitter:"#1da1f1",linkedin:"#0073b0",github:"#27282a","size-xxs":"360px","size-xs":"480px","size-sm":"560px","size-md":"640px","size-lg":"720px","size-xl":"840px","size-xxl":"960px"},r={transparent:{DEFAULT:"transparent"},gray:{DEFAULT:e["gray-500"],0:e["gray-0"],100:e["gray-100"],200:e["gray-200"],300:e["gray-300"],400:e["gray-400"],500:e["gray-500"],600:e["gray-600"],700:e["gray-700"],800:e["gray-800"],900:e["gray-900"],1e3:e["gray-1000"]},blue:{DEFAULT:e["blue-500"],0:e["blue-0"],100:e["blue-100"],200:e["blue-200"],300:e["blue-300"],400:e["blue-400"],500:e["blue-500"],600:e["blue-600"],700:e["blue-700"],800:e["blue-800"],900:e["blue-900"],1e3:e["blue-1000"]},navy:{DEFAULT:e["navy-500"],0:e["navy-0"],100:e["navy-100"],200:e["navy-200"],300:e["navy-300"],400:e["navy-400"],500:e["navy-500"],600:e["navy-600"],700:e["navy-700"],800:e["navy-800"],900:e["navy-900"],1e3:e["navy-1000"]},aqua:{DEFAULT:e["aqua-500"],0:e["aqua-0"],100:e["aqua-100"],200:e["aqua-200"],300:e["aqua-300"],400:e["aqua-400"],500:e["aqua-500"],600:e["aqua-600"],700:e["aqua-700"],800:e["aqua-800"],900:e["aqua-900"],1e3:e["aqua-1000"]},indigo:{DEFAULT:e["indigo-500"],0:e["indigo-0"],100:e["indigo-100"],200:e["indigo-200"],300:e["indigo-300"],400:e["indigo-400"],500:e["indigo-500"],600:e["indigo-600"],700:e["indigo-700"],800:e["indigo-800"],900:e["indigo-900"],1e3:e["indigo-1000"]},purple:{DEFAULT:e["purple-500"],0:e["purple-0"],100:e["purple-100"],200:e["purple-200"],300:e["purple-300"],400:e["purple-400"],500:e["purple-500"],600:e["purple-600"],700:e["purple-700"],800:e["purple-800"],900:e["purple-900"],1e3:e["purple-1000"]},yellow:{DEFAULT:e["yellow-500"],0:e["yellow-0"],100:e["yellow-100"],200:e["yellow-200"],300:e["yellow-300"],400:e["yellow-400"],500:e["yellow-500"],600:e["yellow-600"],700:e["yellow-700"],800:e["yellow-800"],900:e["yellow-900"],1e3:e["yellow-1000"]},red:{DEFAULT:e["red-500"],0:e["red-0"],100:e["red-100"],200:e["red-200"],300:e["red-300"],400:e["red-400"],500:e["red-500"],600:e["red-600"],700:e["red-700"],800:e["red-800"],900:e["red-900"],1e3:e["red-1000"]},green:{DEFAULT:e["green-500"],0:e["green-0"],100:e["green-100"],200:e["green-200"],300:e["green-300"],400:e["green-400"],500:e["green-500"],600:e["green-600"],700:e["green-700"],800:e["green-800"],900:e["green-900"],1e3:e["green-1000"]},black:e.black,white:e.white,salesforce:e.salesforce,marketo:e.marketo,segment:e.segment,hubspot:e.hubspot,facebook:e.facebook,twitter:e.twitter,linkedin:e.linkedin,github:e.github};var n={},t={};!function(e){function r(e,r){return{handler:e,config:r}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n}),r.withOptions=function(e,r=(()=>({}))){const n=function(n){return{__options:n,handler:e(n),config:r(n)}};return n.__isOptionsFunction=!0,n.__pluginFunction=e,n.__configFunction=r,n};const n=r}(t),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n});function r(e){return e&&e.__esModule?e:{default:e}}const n=r(t).default}(n);var a=(n.__esModule?n:{default:n}).default,o={exports:{}},l={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]},s={exports:{}},i=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))},c=Array.prototype.concat,u=Array.prototype.slice,h=s.exports=function(e){for(var r=[],n=0,t=e.length;n<t;n++){var a=e[n];i(a)?r=c.call(r,u.call(a)):r.push(a)}return r};h.wrap=function(e){return function(){return e(h(arguments))}};var g=l,d=s.exports,b=Object.hasOwnProperty,f=Object.create(null);for(var p in g)b.call(g,p)&&(f[g[p]]=p);var y=o.exports={to:{},get:{}};function v(e,r,n){return Math.min(Math.max(r,e),n)}function m(e){var r=Math.round(e).toString(16).toUpperCase();return r.length<2?"0"+r:r}y.get=function(e){var r,n;switch(e.substring(0,3).toLowerCase()){case"hsl":r=y.get.hsl(e),n="hsl";break;case"hwb":r=y.get.hwb(e),n="hwb";break;default:r=y.get.rgb(e),n="rgb"}return r?{model:n,value:r}:null},y.get.rgb=function(e){if(!e)return null;var r,n,t,a=[0,0,0,1];if(r=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(t=r[2],r=r[1],n=0;n<3;n++){var o=2*n;a[n]=parseInt(r.slice(o,o+2),16)}t&&(a[3]=parseInt(t,16)/255)}else if(r=e.match(/^#([a-f0-9]{3,4})$/i)){for(t=(r=r[1])[3],n=0;n<3;n++)a[n]=parseInt(r[n]+r[n],16);t&&(a[3]=parseInt(t+t,16)/255)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(r[n+1],0);r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}else{if(!(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(r=e.match(/^(\w+)$/))?"transparent"===r[1]?[0,0,0,0]:b.call(g,r[1])?((a=g[r[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(r[n+1]));r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}for(n=0;n<3;n++)a[n]=v(a[n],0,255);return a[3]=v(a[3],0,1),a},y.get.hsl=function(e){if(!e)return null;var r=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.get.hwb=function(e){if(!e)return null;var r=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.to.hex=function(){var e=d(arguments);return"#"+m(e[0])+m(e[1])+m(e[2])+(e[3]<1?m(Math.round(255*e[3])):"")},y.to.rgb=function(){var e=d(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},y.to.rgb.percent=function(){var e=d(arguments),r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),t=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+r+"%, "+n+"%, "+t+"%)":"rgba("+r+"%, "+n+"%, "+t+"%, "+e[3]+")"},y.to.hsl=function(){var e=d(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},y.to.hwb=function(){var e=d(arguments),r="";return e.length>=4&&1!==e[3]&&(r=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+r+")"},y.to.keyword=function(e){return f[e.slice(0,3)]};const x=l,w={};for(const e of Object.keys(x))w[x[e]]=e;const k={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"]}};var M=k;for(const e of Object.keys(k)){if(!("channels"in k[e]))throw new Error("missing channels property: "+e);if(!("labels"in k[e]))throw new Error("missing channel labels property: "+e);if(k[e].labels.length!==k[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:r,labels:n}=k[e];delete k[e].channels,delete k[e].labels,Object.defineProperty(k[e],"channels",{value:r}),Object.defineProperty(k[e],"labels",{value:n})}k.rgb.hsl=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(r,n,t),o=Math.max(r,n,t),l=o-a;let s,i;o===a?s=0:r===o?s=(n-t)/l:n===o?s=2+(t-r)/l:t===o&&(s=4+(r-n)/l),s=Math.min(60*s,360),s<0&&(s+=360);const c=(a+o)/2;return i=o===a?0:c<=.5?l/(o+a):l/(2-o-a),[s,100*i,100*c]},k.rgb.hsv=function(e){let r,n,t,a,o;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),u=c-Math.min(l,s,i),h=function(e){return(c-e)/6/u+.5};return 0===u?(a=0,o=0):(o=u/c,r=h(l),n=h(s),t=h(i),l===c?a=t-n:s===c?a=1/3+r-t:i===c&&(a=2/3+n-r),a<0?a+=1:a>1&&(a-=1)),[360*a,100*o,100*c]},k.rgb.hwb=function(e){const r=e[0],n=e[1];let t=e[2];const a=k.rgb.hsl(e)[0],o=1/255*Math.min(r,Math.min(n,t));return t=1-1/255*Math.max(r,Math.max(n,t)),[a,100*o,100*t]},k.rgb.cmyk=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(1-r,1-n,1-t);return[100*((1-r-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-t-a)/(1-a)||0),100*a]},k.rgb.keyword=function(e){const r=w[e];if(r)return r;let n,t=1/0;for(const r of Object.keys(x)){const l=(o=x[r],((a=e)[0]-o[0])**2+(a[1]-o[1])**2+(a[2]-o[2])**2);l<t&&(t=l,n=r)}var a,o;return n},k.keyword.rgb=function(e){return x[e]},k.rgb.xyz=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;return[100*(.4124*r+.3576*n+.1805*t),100*(.2126*r+.7152*n+.0722*t),100*(.0193*r+.1192*n+.9505*t)]},k.rgb.lab=function(e){const r=k.rgb.xyz(e);let n=r[0],t=r[1],a=r[2];n/=95.047,t/=100,a/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;return[116*t-16,500*(n-t),200*(t-a)]},k.hsl.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;let a,o,l;if(0===n)return l=255*t,[l,l,l];a=t<.5?t*(1+n):t+n-t*n;const s=2*t-a,i=[0,0,0];for(let e=0;e<3;e++)o=r+1/3*-(e-1),o<0&&o++,o>1&&o--,l=6*o<1?s+6*(a-s)*o:2*o<1?a:3*o<2?s+(a-s)*(2/3-o)*6:s,i[e]=255*l;return i},k.hsl.hsv=function(e){const r=e[0];let n=e[1]/100,t=e[2]/100,a=n;const o=Math.max(t,.01);t*=2,n*=t<=1?t:2-t,a*=o<=1?o:2-o;return[r,100*(0===t?2*a/(o+a):2*n/(t+n)),100*((t+n)/2)]},k.hsv.rgb=function(e){const r=e[0]/60,n=e[1]/100;let t=e[2]/100;const a=Math.floor(r)%6,o=r-Math.floor(r),l=255*t*(1-n),s=255*t*(1-n*o),i=255*t*(1-n*(1-o));switch(t*=255,a){case 0:return[t,i,l];case 1:return[s,t,l];case 2:return[l,t,i];case 3:return[l,s,t];case 4:return[i,l,t];case 5:return[t,l,s]}},k.hsv.hsl=function(e){const r=e[0],n=e[1]/100,t=e[2]/100,a=Math.max(t,.01);let o,l;l=(2-n)*t;const s=(2-n)*a;return o=n*a,o/=s<=1?s:2-s,o=o||0,l/=2,[r,100*o,100*l]},k.hwb.rgb=function(e){const r=e[0]/360;let n=e[1]/100,t=e[2]/100;const a=n+t;let o;a>1&&(n/=a,t/=a);const l=Math.floor(6*r),s=1-t;o=6*r-l,0!=(1&l)&&(o=1-o);const i=n+o*(s-n);let c,u,h;switch(l){default:case 6:case 0:c=s,u=i,h=n;break;case 1:c=i,u=s,h=n;break;case 2:c=n,u=s,h=i;break;case 3:c=n,u=i,h=s;break;case 4:c=i,u=n,h=s;break;case 5:c=s,u=n,h=i}return[255*c,255*u,255*h]},k.cmyk.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,t*(1-a)+a))]},k.xyz.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100;let a,o,l;return a=3.2406*r+-1.5372*n+-.4986*t,o=-.9689*r+1.8758*n+.0415*t,l=.0557*r+-.204*n+1.057*t,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,l=l>.0031308?1.055*l**(1/2.4)-.055:12.92*l,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),l=Math.min(Math.max(0,l),1),[255*a,255*o,255*l]},k.xyz.lab=function(e){let r=e[0],n=e[1],t=e[2];r/=95.047,n/=100,t/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116;return[116*n-16,500*(r-n),200*(n-t)]},k.lab.xyz=function(e){let r,n,t;n=(e[0]+16)/116,r=e[1]/500+n,t=n-e[2]/200;const a=n**3,o=r**3,l=t**3;return n=a>.008856?a:(n-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,r*=95.047,n*=100,t*=108.883,[r,n,t]},k.lab.lch=function(e){const r=e[0],n=e[1],t=e[2];let a;a=360*Math.atan2(t,n)/2/Math.PI,a<0&&(a+=360);return[r,Math.sqrt(n*n+t*t),a]},k.lch.lab=function(e){const r=e[0],n=e[1],t=e[2]/360*2*Math.PI;return[r,n*Math.cos(t),n*Math.sin(t)]},k.rgb.ansi16=function(e,r=null){const[n,t,a]=e;let o=null===r?k.rgb.hsv(e)[2]:r;if(o=Math.round(o/50),0===o)return 30;let l=30+(Math.round(a/255)<<2|Math.round(t/255)<<1|Math.round(n/255));return 2===o&&(l+=60),l},k.hsv.ansi16=function(e){return k.rgb.ansi16(k.hsv.rgb(e),e[2])},k.rgb.ansi256=function(e){const r=e[0],n=e[1],t=e[2];if(r===n&&n===t)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(t/255*5)},k.ansi16.rgb=function(e){let r=e%10;if(0===r||7===r)return e>50&&(r+=3.5),r=r/10.5*255,[r,r,r];const n=.5*(1+~~(e>50));return[(1&r)*n*255,(r>>1&1)*n*255,(r>>2&1)*n*255]},k.ansi256.rgb=function(e){if(e>=232){const r=10*(e-232)+8;return[r,r,r]}let r;e-=16;return[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},k.rgb.hex=function(e){const r=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(r.length)+r},k.hex.rgb=function(e){const r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];let n=r[0];3===r[0].length&&(n=n.split("").map((e=>e+e)).join(""));const t=parseInt(n,16);return[t>>16&255,t>>8&255,255&t]},k.rgb.hcg=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.max(Math.max(r,n),t),o=Math.min(Math.min(r,n),t),l=a-o;let s,i;return s=l<1?o/(1-l):0,i=l<=0?0:a===r?(n-t)/l%6:a===n?2+(t-r)/l:4+(r-n)/l,i/=6,i%=1,[360*i,100*l,100*s]},k.hsl.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=n<.5?2*r*n:2*r*(1-n);let a=0;return t<1&&(a=(n-.5*t)/(1-t)),[e[0],100*t,100*a]},k.hsv.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=r*n;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.hcg.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;if(0===n)return[255*t,255*t,255*t];const a=[0,0,0],o=r%1*6,l=o%1,s=1-l;let i=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=l,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=l;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=l,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return i=(1-n)*t,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},k.hcg.hsv=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);let t=0;return n>0&&(t=r/n),[e[0],100*t,100*n]},k.hcg.hsl=function(e){const r=e[1]/100,n=e[2]/100*(1-r)+.5*r;let t=0;return n>0&&n<.5?t=r/(2*n):n>=.5&&n<1&&(t=r/(2*(1-n))),[e[0],100*t,100*n]},k.hcg.hwb=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);return[e[0],100*(n-r),100*(1-n)]},k.hwb.hcg=function(e){const r=e[1]/100,n=1-e[2]/100,t=n-r;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},k.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},k.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},k.gray.hsl=function(e){return[0,0,e[0]]},k.gray.hsv=k.gray.hsl,k.gray.hwb=function(e){return[0,100,e[0]]},k.gray.cmyk=function(e){return[0,0,0,e[0]]},k.gray.lab=function(e){return[e[0],0,0]},k.gray.hex=function(e){const r=255&Math.round(e[0]/100*255),n=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(n.length)+n},k.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const q=M;function j(e){const r=function(){const e={},r=Object.keys(q);for(let n=r.length,t=0;t<n;t++)e[r[t]]={distance:-1,parent:null};return e}(),n=[e];for(r[e].distance=0;n.length;){const e=n.pop(),t=Object.keys(q[e]);for(let a=t.length,o=0;o<a;o++){const a=t[o],l=r[a];-1===l.distance&&(l.distance=r[e].distance+1,l.parent=e,n.unshift(a))}}return r}function $(e,r){return function(n){return r(e(n))}}function O(e,r){const n=[r[e].parent,e];let t=q[r[e].parent][e],a=r[e].parent;for(;r[a].parent;)n.unshift(r[a].parent),t=$(q[r[a].parent][a],t),a=r[a].parent;return t.conversion=n,t}const E=M,A=function(e){const r=j(e),n={},t=Object.keys(r);for(let e=t.length,a=0;a<e;a++){const e=t[a];null!==r[e].parent&&(n[e]=O(e,r))}return n},F={};Object.keys(E).forEach((e=>{F[e]={},Object.defineProperty(F[e],"channels",{value:E[e].channels}),Object.defineProperty(F[e],"labels",{value:E[e].labels});const r=A(e);Object.keys(r).forEach((n=>{const t=r[n];F[e][n]=function(e){const r=function(...r){const n=r[0];if(null==n)return n;n.length>1&&(r=n);const t=e(r);if("object"==typeof t)for(let e=t.length,r=0;r<e;r++)t[r]=Math.round(t[r]);return t};return"conversion"in e&&(r.conversion=e.conversion),r}(t),F[e][n].raw=function(e){const r=function(...r){const n=r[0];return null==n?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(r.conversion=e.conversion),r}(t)}))}));var z=F;const U=o.exports,S=z,D=["keyword","gray","hex"],L={};for(const e of Object.keys(S))L[[...S[e].labels].sort().join("")]=e;const _={};function T(e,r){if(!(this instanceof T))return new T(e,r);if(r&&r in D&&(r=null),r&&!(r in S))throw new Error("Unknown model: "+r);let n,t;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof T)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const r=U.get(e);if(null===r)throw new Error("Unable to parse color from string: "+e);this.model=r.model,t=S[this.model].channels,this.color=r.value.slice(0,t),this.valpha="number"==typeof r.value[t]?r.value[t]:1}else if(e.length>0){this.model=r||"rgb",t=S[this.model].channels;const n=Array.prototype.slice.call(e,0,t);this.color=N(n,t),this.valpha="number"==typeof e[t]?e[t]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const t=r.sort().join("");if(!(t in L))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=L[t];const{labels:a}=S[this.model],o=[];for(n=0;n<a.length;n++)o.push(e[a[n]]);this.color=N(o)}if(_[this.model])for(t=S[this.model].channels,n=0;n<t;n++){const e=_[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}T.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let r=this.model in U.to?this:this.rgb();r=r.round("number"==typeof e?e:1);const n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to[r.model](n)},percentString(e){const r=this.rgb().round("number"==typeof e?e:1),n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:r}=S[this.model],{labels:n}=S[this.model];for(let t=0;t<r;t++)e[n[t]]=this.color[t];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new T([...this.color.map(P(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new T([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:C("rgb",0,I(255)),green:C("rgb",1,I(255)),blue:C("rgb",2,I(255)),hue:C(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:C("hsl",1,I(100)),lightness:C("hsl",2,I(100)),saturationv:C("hsv",1,I(100)),value:C("hsv",2,I(100)),chroma:C("hcg",1,I(100)),gray:C("hcg",2,I(100)),white:C("hwb",1,I(100)),wblack:C("hwb",2,I(100)),cyan:C("cmyk",0,I(100)),magenta:C("cmyk",1,I(100)),yellow:C("cmyk",2,I(100)),black:C("cmyk",3,I(100)),x:C("xyz",0,I(95.047)),y:C("xyz",1,I(100)),z:C("xyz",2,I(108.833)),l:C("lab",0,I(100)),a:C("lab",1),b:C("lab",2),keyword(e){return void 0!==e?new T(e):S[this.model].keyword(this.color)},hex(e){return void 0!==e?new T(e):U.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new T(e);const r=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),U.to.hex(r)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,r=[];for(const[n,t]of e.entries()){const e=t/255;r[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(e){const r=this.luminosity(),n=e.luminosity();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},level(e){const r=this.contrast(e);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let r=0;r<3;r++)e.color[r]=255-e.color[r];return e},lighten(e){const r=this.hsl();return r.color[2]+=r.color[2]*e,r},darken(e){const r=this.hsl();return r.color[2]-=r.color[2]*e,r},saturate(e){const r=this.hsl();return r.color[1]+=r.color[1]*e,r},desaturate(e){const r=this.hsl();return r.color[1]-=r.color[1]*e,r},whiten(e){const r=this.hwb();return r.color[1]+=r.color[1]*e,r},blacken(e){const r=this.hwb();return r.color[2]+=r.color[2]*e,r},grayscale(){const e=this.rgb().color,r=.3*e[0]+.59*e[1]+.11*e[2];return T.rgb(r,r,r)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const r=this.hsl();let n=r.color[0];return n=(n+e)%360,n=n<0?360+n:n,r.color[0]=n,r},mix(e,r){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),t=this.rgb(),a=void 0===r?.5:r,o=2*a-1,l=n.alpha()-t.alpha(),s=((o*l==-1?o:(o+l)/(1+o*l))+1)/2,i=1-s;return T.rgb(s*n.red()+i*t.red(),s*n.green()+i*t.green(),s*n.blue()+i*t.blue(),n.alpha()*a+t.alpha()*(1-a))}};for(const e of Object.keys(S)){if(D.includes(e))continue;const{channels:r}=S[e];T.prototype[e]=function(...r){return this.model===e?new T(this):r.length>0?new T(r,e):new T([...(n=S[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},T[e]=function(...n){let t=n[0];return"number"==typeof t&&(t=N(n,r)),new T(t,e)}}function P(e){return function(r){return function(e,r){return Number(e.toFixed(r))}(r,e)}}function C(e,r,n){e=Array.isArray(e)?e:[e];for(const t of e)(_[t]||(_[t]=[]))[r]=n;return e=e[0],function(t){let a;return void 0!==t?(n&&(t=n(t)),a=this[e](),a.color[r]=t,a):(a=this[e]().color[r],n&&(a=n(a)),a)}}function I(e){return function(r){return Math.max(0,Math.min(e,r))}}function N(e,r){for(let n=0;n<r;n++)"number"!=typeof e[n]&&(e[n]=0);return e}var R=T;const G=a((function({addUtilities:r}){r({":root":{...Object.keys(e).reduce(((r,n)=>{const t=e[n];if(t.includes("#")){const e=R(t).rgb().array().join(" ");r[`--${n}`]=t,r[`--${n}-rgb`]=e}else r[`--${n}`]=t;return r}),{})}})})),H=a((function({addUtilities:e,theme:r}){const n=r("linearGradientColors"),t=Object.keys(n);try{t.forEach((r=>{e({[`.fill-gradient-b-${r}`]:{fill:`url(#gradient-b-${r})`},[`.fill-gradient-t-${r}`]:{fill:`url(#gradient-t-${r})`},[`.fill-gradient-br-${r}`]:{fill:`url(#gradient-br-${r})`},[`.fill-gradient-tl-${r}`]:{fill:`url(#gradient-tl-${r})`}})}))}catch(e){console.error(e)}})),J="(0|100|200|300|400|500|600|700|800|900)",W="(salesforce|hubspot|segment|marketo|facebook|twitter|linkedin|github)",B="(blue|aqua|navy|indigo|purple|green|yellow|red|gray)",K={content:["./src/**/*.{html,js,jsx,tsx,ts}"],plugins:[H,G],safelist:[{pattern:new RegExp("bg-"+B)},{pattern:new RegExp("bg-"+B+"-"+J)},{pattern:new RegExp("bg-"+W)},{pattern:/gradient-/},{pattern:new RegExp("text-"+B),variant:["hover"]},{pattern:new RegExp("text-"+B+"-"+J),variant:["hover"]},{pattern:new RegExp("text-"+W),variant:["hover"]}],theme:{extend:{borderRadius:{none:"0",px:"1px",xs:"0.125rem",sm:"0.25rem",DEFAULT:"0.375rem",md:"0.5rem",lg:"0.625rem",full:"9999px"},boxShadow:e=>(e=>({xs:`0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,sm:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.500")}, .15)`,DEFAULT:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 2px 1px rgba(${e("colors.black")}, .05)`,md:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.600")}, .15), 0 2px 8px rgba(${e("colors.gray.600")}, .1)`,lg:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px rgba(${e("colors.gray.600")}, .2)`,xl:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px 2px rgba(${e("colors.gray.600")}, .2)`,"2xl":`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 4px 8px rgba(${e("colors.gray.600")}, .15), 0 6px 24px 10px rgba(${e("colors.gray.600")}, .2)`,inner:`inset 0 0 1px 1px rgba(${e("colors.gray.400")}, .15), inset 0 1px 3px rgba(${e("colors.gray.500")}, .15), inset 0 0 0 1px rgba(${e("colors.navy.300")}, .15)`,inset:`inset 0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,none:"none"}))(e),colors:r,fontFamily:{sans:["avenir\\ next","avenir","helvetica\\ neue","helvetica","Ubuntu","roboto","noto","segoe\\ ui","arial","sans-serif"],serif:["Iowan\\ Old\\ Style","Apple\\ Garamond","Baskerville","Times\\ New\\ Roman","Droid\\ Serif","Times","Source\\ Serif\\ Pro","serif","Apple\\ Color\\ Emoji","Segoe\\ UI\\ Emoji","Segoe\\ UI\\ Symbol"],mono:["Menlo","Consolas","Monaco","Liberation\\ Mono","Lucida\\ Console","monospace"]},fontSize:{xxs:"0.75rem",xs:"0.8125rem",sm:"0.875rem",base:"0.9375rem",md:"1rem",lg:"1.0625rem",xl:"1.5rem"},gradientColorStops:e=>e("colors"),inset:{1:"1px","-1":"-1px","1/2":"50%","-1/2":"-50%"},linearGradientColors:{blue:["var(--blue-300)","var(--blue-500)"],navy:["var(--navy-400)","var(--navy-500)"],aqua:["var(--aqua-300)","var(--aqua-500)"],indigo:["var(--indigo-300)","var(--indigo-500)"],purple:["var(--purple-300)","var(--purple-500)"],yellow:["var(--yellow-300)","var(--yellow-500)"],red:["var(--red-300)","var(--red-500)"],green:["var(--green-300)","var(--green-500)"],gray:["var(--gray-400)","var(--gray-500)"],azure:["var(--blue-300)","var(--blue-500)"],orchid:["var(--indigo-400)","var(--purple-400)"],malibu:["var(--purple-300)","var(--red-300)"],tropic:["var(--blue-200)","var(--green-300)"],sky:["var(--aqua-500)","var(--aqua-300)"],midnight:["var(--navy-500)","var(--navy-300)"],black:["var(--gray-600)","var(--gray-900)"],silver:["var(--gray-200)","var(--gray-400)"],ice:["var(--gray-0)","var(--gray-200)"],x:["var(--purple-500)","var(--indigo-500)"],royale:["var(--facebook)","var(--indigo-400)"],metal:["var(--gray-400)","var(--gray-600)"]},maxHeight:e=>e("maxWidth"),minHeight:e=>e("spacing"),minWidth:e=>e("spacing"),opacity:{"05":".05",10:".1",20:".2",30:".3",40:".4",60:".6",70:".7",80:".8",90:".9"},spacing:{7:"1.75rem",9:"2.25rem",84:"21rem",85:"21.25rem",xxs:"var(--size-xxs)",xs:"var(--size-xs)",sm:"var(--size-sm)",md:"var(--size-md)",lg:"var(--size-lg)",xl:"var(--size-xl)",xxl:"var(--size-xxl)"}}}};export{K as default};
const e={"gray-0":"#fafbfc","gray-100":"#f0f4f8","gray-200":"#e1e9f0","gray-300":"#c0d0df","gray-400":"#9badbc","gray-500":"#7b8b99","gray-600":"#596168","gray-700":"#4c5359","gray-800":"#373c41","gray-900":"#27282a","gray-1000":"#131414","blue-0":"#f2fafe","blue-100":"#dbf1fe","blue-200":"#98d5fd","blue-300":"#4db1fd","blue-400":"#2b9ffd","blue-500":"#148cfc","blue-600":"#127ee3","blue-700":"#1070c9","blue-800":"#0c5497","blue-900":"#083864","blue-1000":"#041c32","navy-0":"#f2f6fa","navy-100":"#dde8f4","navy-200":"#a1bddc","navy-300":"#6b90c0","navy-400":"#3b64a0","navy-500":"#2a456d","navy-600":"#253e62","navy-700":"#213757","navy-800":"#192a42","navy-900":"#101c2c","navy-1000":"#080e16","aqua-0":"#f6fcfe","aqua-100":"#e4f8fe","aqua-200":"#b1ecfd","aqua-300":"#80dffd","aqua-400":"#52d2fc","aqua-500":"#3abefa","aqua-600":"#34abe1","aqua-700":"#2e98c8","aqua-800":"#227296","aqua-900":"#174c64","aqua-1000":"#0b2632","indigo-0":"#f7f8ff","indigo-100":"#eaeeff","indigo-200":"#c2cfff","indigo-300":"#9cb2ff","indigo-400":"#7793ff","indigo-500":"#637eff","indigo-600":"#5872e5","indigo-700":"#4f65cc","indigo-800":"#3b4c99","indigo-900":"#273266","indigo-1000":"#131933","purple-0":"#fcf7fd","purple-100":"#f8eafc","purple-200":"#edc2f8","purple-300":"#e29bf3","purple-400":"#d576f0","purple-500":"#c363e5","purple-600":"#af58cd","purple-700":"#9c4fb7","purple-800":"#753b89","purple-900":"#4e275b","purple-1000":"#27132d","yellow-0":"#fefbf1","yellow-100":"#fef4d7","yellow-200":"#fde08e","yellow-300":"#fdcc50","yellow-400":"#fdb61c","yellow-500":"#fca000","yellow-600":"#e28f00","yellow-700":"#c98000","yellow-800":"#976000","yellow-900":"#644000","yellow-1000":"#322000","red-0":"#fdf3f1","red-100":"#fbddd8","red-200":"#f6a194","red-300":"#f06a57","red-400":"#ea3927","red-500":"#de2612","red-600":"#c72310","red-700":"#b11e0e","red-800":"#85160a","red-900":"#580f07","red-1000":"#2c0703","green-0":"#f1fcf8","green-100":"#d9f9ec","green-200":"#97ecca","green-300":"#4edc9f","green-400":"#31d48b","green-500":"#1dc463","green-600":"#1ab059","green-700":"#189c50","green-800":"#11753c","green-900":"#0c4e28","green-1000":"#052713",black:"#000",white:"#fff",salesforce:"#00a1e0",marketo:"#5c4c9f",segment:"#43af79",hubspot:"#ff7a59",facebook:"#1877f2",twitter:"#1da1f1",linkedin:"#0073b0",github:"#27282a","size-xxs":"360px","size-xs":"480px","size-sm":"560px","size-md":"640px","size-lg":"720px","size-xl":"840px","size-xxl":"960px"},r={transparent:{DEFAULT:"transparent"},gray:{DEFAULT:e["gray-500"],0:e["gray-0"],100:e["gray-100"],200:e["gray-200"],300:e["gray-300"],400:e["gray-400"],500:e["gray-500"],600:e["gray-600"],700:e["gray-700"],800:e["gray-800"],900:e["gray-900"],1e3:e["gray-1000"]},blue:{DEFAULT:e["blue-500"],0:e["blue-0"],100:e["blue-100"],200:e["blue-200"],300:e["blue-300"],400:e["blue-400"],500:e["blue-500"],600:e["blue-600"],700:e["blue-700"],800:e["blue-800"],900:e["blue-900"],1e3:e["blue-1000"]},navy:{DEFAULT:e["navy-500"],0:e["navy-0"],100:e["navy-100"],200:e["navy-200"],300:e["navy-300"],400:e["navy-400"],500:e["navy-500"],600:e["navy-600"],700:e["navy-700"],800:e["navy-800"],900:e["navy-900"],1e3:e["navy-1000"]},aqua:{DEFAULT:e["aqua-500"],0:e["aqua-0"],100:e["aqua-100"],200:e["aqua-200"],300:e["aqua-300"],400:e["aqua-400"],500:e["aqua-500"],600:e["aqua-600"],700:e["aqua-700"],800:e["aqua-800"],900:e["aqua-900"],1e3:e["aqua-1000"]},indigo:{DEFAULT:e["indigo-500"],0:e["indigo-0"],100:e["indigo-100"],200:e["indigo-200"],300:e["indigo-300"],400:e["indigo-400"],500:e["indigo-500"],600:e["indigo-600"],700:e["indigo-700"],800:e["indigo-800"],900:e["indigo-900"],1e3:e["indigo-1000"]},purple:{DEFAULT:e["purple-500"],0:e["purple-0"],100:e["purple-100"],200:e["purple-200"],300:e["purple-300"],400:e["purple-400"],500:e["purple-500"],600:e["purple-600"],700:e["purple-700"],800:e["purple-800"],900:e["purple-900"],1e3:e["purple-1000"]},yellow:{DEFAULT:e["yellow-500"],0:e["yellow-0"],100:e["yellow-100"],200:e["yellow-200"],300:e["yellow-300"],400:e["yellow-400"],500:e["yellow-500"],600:e["yellow-600"],700:e["yellow-700"],800:e["yellow-800"],900:e["yellow-900"],1e3:e["yellow-1000"]},red:{DEFAULT:e["red-500"],0:e["red-0"],100:e["red-100"],200:e["red-200"],300:e["red-300"],400:e["red-400"],500:e["red-500"],600:e["red-600"],700:e["red-700"],800:e["red-800"],900:e["red-900"],1e3:e["red-1000"]},green:{DEFAULT:e["green-500"],0:e["green-0"],100:e["green-100"],200:e["green-200"],300:e["green-300"],400:e["green-400"],500:e["green-500"],600:e["green-600"],700:e["green-700"],800:e["green-800"],900:e["green-900"],1e3:e["green-1000"]},black:e.black,white:e.white,salesforce:e.salesforce,marketo:e.marketo,segment:e.segment,hubspot:e.hubspot,facebook:e.facebook,twitter:e.twitter,linkedin:e.linkedin,github:e.github};var n={},t={};!function(e){function r(e,r){return{handler:e,config:r}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n}),r.withOptions=function(e,r=(()=>({}))){const n=function(n){return{__options:n,handler:e(n),config:r(n)}};return n.__isOptionsFunction=!0,n.__pluginFunction=e,n.__configFunction=r,n};const n=r}(t),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n});function r(e){return e&&e.__esModule?e:{default:e}}const n=r(t).default}(n);var a=(n.__esModule?n:{default:n}).default,o={exports:{}},l={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]},s={exports:{}},i=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))},c=Array.prototype.concat,u=Array.prototype.slice,h=s.exports=function(e){for(var r=[],n=0,t=e.length;n<t;n++){var a=e[n];i(a)?r=c.call(r,u.call(a)):r.push(a)}return r};h.wrap=function(e){return function(){return e(h(arguments))}};var g=l,d=s.exports,b=Object.hasOwnProperty,f=Object.create(null);for(var p in g)b.call(g,p)&&(f[g[p]]=p);var y=o.exports={to:{},get:{}};function v(e,r,n){return Math.min(Math.max(r,e),n)}function m(e){var r=Math.round(e).toString(16).toUpperCase();return r.length<2?"0"+r:r}y.get=function(e){var r,n;switch(e.substring(0,3).toLowerCase()){case"hsl":r=y.get.hsl(e),n="hsl";break;case"hwb":r=y.get.hwb(e),n="hwb";break;default:r=y.get.rgb(e),n="rgb"}return r?{model:n,value:r}:null},y.get.rgb=function(e){if(!e)return null;var r,n,t,a=[0,0,0,1];if(r=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(t=r[2],r=r[1],n=0;n<3;n++){var o=2*n;a[n]=parseInt(r.slice(o,o+2),16)}t&&(a[3]=parseInt(t,16)/255)}else if(r=e.match(/^#([a-f0-9]{3,4})$/i)){for(t=(r=r[1])[3],n=0;n<3;n++)a[n]=parseInt(r[n]+r[n],16);t&&(a[3]=parseInt(t+t,16)/255)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(r[n+1],0);r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}else{if(!(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(r=e.match(/^(\w+)$/))?"transparent"===r[1]?[0,0,0,0]:b.call(g,r[1])?((a=g[r[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(r[n+1]));r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}for(n=0;n<3;n++)a[n]=v(a[n],0,255);return a[3]=v(a[3],0,1),a},y.get.hsl=function(e){if(!e)return null;var r=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.get.hwb=function(e){if(!e)return null;var r=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.to.hex=function(){var e=d(arguments);return"#"+m(e[0])+m(e[1])+m(e[2])+(e[3]<1?m(Math.round(255*e[3])):"")},y.to.rgb=function(){var e=d(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},y.to.rgb.percent=function(){var e=d(arguments),r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),t=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+r+"%, "+n+"%, "+t+"%)":"rgba("+r+"%, "+n+"%, "+t+"%, "+e[3]+")"},y.to.hsl=function(){var e=d(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},y.to.hwb=function(){var e=d(arguments),r="";return e.length>=4&&1!==e[3]&&(r=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+r+")"},y.to.keyword=function(e){return f[e.slice(0,3)]};const x=l,w={};for(const e of Object.keys(x))w[x[e]]=e;const k={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"]}};var M=k;for(const e of Object.keys(k)){if(!("channels"in k[e]))throw new Error("missing channels property: "+e);if(!("labels"in k[e]))throw new Error("missing channel labels property: "+e);if(k[e].labels.length!==k[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:r,labels:n}=k[e];delete k[e].channels,delete k[e].labels,Object.defineProperty(k[e],"channels",{value:r}),Object.defineProperty(k[e],"labels",{value:n})}k.rgb.hsl=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(r,n,t),o=Math.max(r,n,t),l=o-a;let s,i;o===a?s=0:r===o?s=(n-t)/l:n===o?s=2+(t-r)/l:t===o&&(s=4+(r-n)/l),s=Math.min(60*s,360),s<0&&(s+=360);const c=(a+o)/2;return i=o===a?0:c<=.5?l/(o+a):l/(2-o-a),[s,100*i,100*c]},k.rgb.hsv=function(e){let r,n,t,a,o;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),u=c-Math.min(l,s,i),h=function(e){return(c-e)/6/u+.5};return 0===u?(a=0,o=0):(o=u/c,r=h(l),n=h(s),t=h(i),l===c?a=t-n:s===c?a=1/3+r-t:i===c&&(a=2/3+n-r),a<0?a+=1:a>1&&(a-=1)),[360*a,100*o,100*c]},k.rgb.hwb=function(e){const r=e[0],n=e[1];let t=e[2];const a=k.rgb.hsl(e)[0],o=1/255*Math.min(r,Math.min(n,t));return t=1-1/255*Math.max(r,Math.max(n,t)),[a,100*o,100*t]},k.rgb.cmyk=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(1-r,1-n,1-t);return[100*((1-r-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-t-a)/(1-a)||0),100*a]},k.rgb.keyword=function(e){const r=w[e];if(r)return r;let n,t=1/0;for(const r of Object.keys(x)){const l=(o=x[r],((a=e)[0]-o[0])**2+(a[1]-o[1])**2+(a[2]-o[2])**2);l<t&&(t=l,n=r)}var a,o;return n},k.keyword.rgb=function(e){return x[e]},k.rgb.xyz=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;return[100*(.4124*r+.3576*n+.1805*t),100*(.2126*r+.7152*n+.0722*t),100*(.0193*r+.1192*n+.9505*t)]},k.rgb.lab=function(e){const r=k.rgb.xyz(e);let n=r[0],t=r[1],a=r[2];n/=95.047,t/=100,a/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;return[116*t-16,500*(n-t),200*(t-a)]},k.hsl.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;let a,o,l;if(0===n)return l=255*t,[l,l,l];a=t<.5?t*(1+n):t+n-t*n;const s=2*t-a,i=[0,0,0];for(let e=0;e<3;e++)o=r+1/3*-(e-1),o<0&&o++,o>1&&o--,l=6*o<1?s+6*(a-s)*o:2*o<1?a:3*o<2?s+(a-s)*(2/3-o)*6:s,i[e]=255*l;return i},k.hsl.hsv=function(e){const r=e[0];let n=e[1]/100,t=e[2]/100,a=n;const o=Math.max(t,.01);t*=2,n*=t<=1?t:2-t,a*=o<=1?o:2-o;return[r,100*(0===t?2*a/(o+a):2*n/(t+n)),100*((t+n)/2)]},k.hsv.rgb=function(e){const r=e[0]/60,n=e[1]/100;let t=e[2]/100;const a=Math.floor(r)%6,o=r-Math.floor(r),l=255*t*(1-n),s=255*t*(1-n*o),i=255*t*(1-n*(1-o));switch(t*=255,a){case 0:return[t,i,l];case 1:return[s,t,l];case 2:return[l,t,i];case 3:return[l,s,t];case 4:return[i,l,t];case 5:return[t,l,s]}},k.hsv.hsl=function(e){const r=e[0],n=e[1]/100,t=e[2]/100,a=Math.max(t,.01);let o,l;l=(2-n)*t;const s=(2-n)*a;return o=n*a,o/=s<=1?s:2-s,o=o||0,l/=2,[r,100*o,100*l]},k.hwb.rgb=function(e){const r=e[0]/360;let n=e[1]/100,t=e[2]/100;const a=n+t;let o;a>1&&(n/=a,t/=a);const l=Math.floor(6*r),s=1-t;o=6*r-l,0!=(1&l)&&(o=1-o);const i=n+o*(s-n);let c,u,h;switch(l){default:case 6:case 0:c=s,u=i,h=n;break;case 1:c=i,u=s,h=n;break;case 2:c=n,u=s,h=i;break;case 3:c=n,u=i,h=s;break;case 4:c=i,u=n,h=s;break;case 5:c=s,u=n,h=i}return[255*c,255*u,255*h]},k.cmyk.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,t*(1-a)+a))]},k.xyz.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100;let a,o,l;return a=3.2406*r+-1.5372*n+-.4986*t,o=-.9689*r+1.8758*n+.0415*t,l=.0557*r+-.204*n+1.057*t,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,l=l>.0031308?1.055*l**(1/2.4)-.055:12.92*l,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),l=Math.min(Math.max(0,l),1),[255*a,255*o,255*l]},k.xyz.lab=function(e){let r=e[0],n=e[1],t=e[2];r/=95.047,n/=100,t/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116;return[116*n-16,500*(r-n),200*(n-t)]},k.lab.xyz=function(e){let r,n,t;n=(e[0]+16)/116,r=e[1]/500+n,t=n-e[2]/200;const a=n**3,o=r**3,l=t**3;return n=a>.008856?a:(n-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,r*=95.047,n*=100,t*=108.883,[r,n,t]},k.lab.lch=function(e){const r=e[0],n=e[1],t=e[2];let a;a=360*Math.atan2(t,n)/2/Math.PI,a<0&&(a+=360);return[r,Math.sqrt(n*n+t*t),a]},k.lch.lab=function(e){const r=e[0],n=e[1],t=e[2]/360*2*Math.PI;return[r,n*Math.cos(t),n*Math.sin(t)]},k.rgb.ansi16=function(e,r=null){const[n,t,a]=e;let o=null===r?k.rgb.hsv(e)[2]:r;if(o=Math.round(o/50),0===o)return 30;let l=30+(Math.round(a/255)<<2|Math.round(t/255)<<1|Math.round(n/255));return 2===o&&(l+=60),l},k.hsv.ansi16=function(e){return k.rgb.ansi16(k.hsv.rgb(e),e[2])},k.rgb.ansi256=function(e){const r=e[0],n=e[1],t=e[2];if(r===n&&n===t)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(t/255*5)},k.ansi16.rgb=function(e){let r=e%10;if(0===r||7===r)return e>50&&(r+=3.5),r=r/10.5*255,[r,r,r];const n=.5*(1+~~(e>50));return[(1&r)*n*255,(r>>1&1)*n*255,(r>>2&1)*n*255]},k.ansi256.rgb=function(e){if(e>=232){const r=10*(e-232)+8;return[r,r,r]}let r;e-=16;return[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},k.rgb.hex=function(e){const r=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(r.length)+r},k.hex.rgb=function(e){const r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];let n=r[0];3===r[0].length&&(n=n.split("").map((e=>e+e)).join(""));const t=parseInt(n,16);return[t>>16&255,t>>8&255,255&t]},k.rgb.hcg=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.max(Math.max(r,n),t),o=Math.min(Math.min(r,n),t),l=a-o;let s,i;return s=l<1?o/(1-l):0,i=l<=0?0:a===r?(n-t)/l%6:a===n?2+(t-r)/l:4+(r-n)/l,i/=6,i%=1,[360*i,100*l,100*s]},k.hsl.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=n<.5?2*r*n:2*r*(1-n);let a=0;return t<1&&(a=(n-.5*t)/(1-t)),[e[0],100*t,100*a]},k.hsv.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=r*n;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.hcg.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;if(0===n)return[255*t,255*t,255*t];const a=[0,0,0],o=r%1*6,l=o%1,s=1-l;let i=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=l,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=l;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=l,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return i=(1-n)*t,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},k.hcg.hsv=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);let t=0;return n>0&&(t=r/n),[e[0],100*t,100*n]},k.hcg.hsl=function(e){const r=e[1]/100,n=e[2]/100*(1-r)+.5*r;let t=0;return n>0&&n<.5?t=r/(2*n):n>=.5&&n<1&&(t=r/(2*(1-n))),[e[0],100*t,100*n]},k.hcg.hwb=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);return[e[0],100*(n-r),100*(1-n)]},k.hwb.hcg=function(e){const r=e[1]/100,n=1-e[2]/100,t=n-r;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},k.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},k.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},k.gray.hsl=function(e){return[0,0,e[0]]},k.gray.hsv=k.gray.hsl,k.gray.hwb=function(e){return[0,100,e[0]]},k.gray.cmyk=function(e){return[0,0,0,e[0]]},k.gray.lab=function(e){return[e[0],0,0]},k.gray.hex=function(e){const r=255&Math.round(e[0]/100*255),n=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(n.length)+n},k.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const q=M;function j(e){const r=function(){const e={},r=Object.keys(q);for(let n=r.length,t=0;t<n;t++)e[r[t]]={distance:-1,parent:null};return e}(),n=[e];for(r[e].distance=0;n.length;){const e=n.pop(),t=Object.keys(q[e]);for(let a=t.length,o=0;o<a;o++){const a=t[o],l=r[a];-1===l.distance&&(l.distance=r[e].distance+1,l.parent=e,n.unshift(a))}}return r}function $(e,r){return function(n){return r(e(n))}}function E(e,r){const n=[r[e].parent,e];let t=q[r[e].parent][e],a=r[e].parent;for(;r[a].parent;)n.unshift(r[a].parent),t=$(q[r[a].parent][a],t),a=r[a].parent;return t.conversion=n,t}const O=M,A=function(e){const r=j(e),n={},t=Object.keys(r);for(let e=t.length,a=0;a<e;a++){const e=t[a];null!==r[e].parent&&(n[e]=E(e,r))}return n},F={};Object.keys(O).forEach((e=>{F[e]={},Object.defineProperty(F[e],"channels",{value:O[e].channels}),Object.defineProperty(F[e],"labels",{value:O[e].labels});const r=A(e);Object.keys(r).forEach((n=>{const t=r[n];F[e][n]=function(e){const r=function(...r){const n=r[0];if(null==n)return n;n.length>1&&(r=n);const t=e(r);if("object"==typeof t)for(let e=t.length,r=0;r<e;r++)t[r]=Math.round(t[r]);return t};return"conversion"in e&&(r.conversion=e.conversion),r}(t),F[e][n].raw=function(e){const r=function(...r){const n=r[0];return null==n?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(r.conversion=e.conversion),r}(t)}))}));var z=F;const U=o.exports,S=z,D=["keyword","gray","hex"],L={};for(const e of Object.keys(S))L[[...S[e].labels].sort().join("")]=e;const _={};function T(e,r){if(!(this instanceof T))return new T(e,r);if(r&&r in D&&(r=null),r&&!(r in S))throw new Error("Unknown model: "+r);let n,t;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof T)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const r=U.get(e);if(null===r)throw new Error("Unable to parse color from string: "+e);this.model=r.model,t=S[this.model].channels,this.color=r.value.slice(0,t),this.valpha="number"==typeof r.value[t]?r.value[t]:1}else if(e.length>0){this.model=r||"rgb",t=S[this.model].channels;const n=Array.prototype.slice.call(e,0,t);this.color=R(n,t),this.valpha="number"==typeof e[t]?e[t]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const t=r.sort().join("");if(!(t in L))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=L[t];const{labels:a}=S[this.model],o=[];for(n=0;n<a.length;n++)o.push(e[a[n]]);this.color=R(o)}if(_[this.model])for(t=S[this.model].channels,n=0;n<t;n++){const e=_[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}T.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let r=this.model in U.to?this:this.rgb();r=r.round("number"==typeof e?e:1);const n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to[r.model](n)},percentString(e){const r=this.rgb().round("number"==typeof e?e:1),n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:r}=S[this.model],{labels:n}=S[this.model];for(let t=0;t<r;t++)e[n[t]]=this.color[t];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new T([...this.color.map(P(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new T([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:C("rgb",0,I(255)),green:C("rgb",1,I(255)),blue:C("rgb",2,I(255)),hue:C(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:C("hsl",1,I(100)),lightness:C("hsl",2,I(100)),saturationv:C("hsv",1,I(100)),value:C("hsv",2,I(100)),chroma:C("hcg",1,I(100)),gray:C("hcg",2,I(100)),white:C("hwb",1,I(100)),wblack:C("hwb",2,I(100)),cyan:C("cmyk",0,I(100)),magenta:C("cmyk",1,I(100)),yellow:C("cmyk",2,I(100)),black:C("cmyk",3,I(100)),x:C("xyz",0,I(95.047)),y:C("xyz",1,I(100)),z:C("xyz",2,I(108.833)),l:C("lab",0,I(100)),a:C("lab",1),b:C("lab",2),keyword(e){return void 0!==e?new T(e):S[this.model].keyword(this.color)},hex(e){return void 0!==e?new T(e):U.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new T(e);const r=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),U.to.hex(r)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,r=[];for(const[n,t]of e.entries()){const e=t/255;r[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(e){const r=this.luminosity(),n=e.luminosity();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},level(e){const r=this.contrast(e);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let r=0;r<3;r++)e.color[r]=255-e.color[r];return e},lighten(e){const r=this.hsl();return r.color[2]+=r.color[2]*e,r},darken(e){const r=this.hsl();return r.color[2]-=r.color[2]*e,r},saturate(e){const r=this.hsl();return r.color[1]+=r.color[1]*e,r},desaturate(e){const r=this.hsl();return r.color[1]-=r.color[1]*e,r},whiten(e){const r=this.hwb();return r.color[1]+=r.color[1]*e,r},blacken(e){const r=this.hwb();return r.color[2]+=r.color[2]*e,r},grayscale(){const e=this.rgb().color,r=.3*e[0]+.59*e[1]+.11*e[2];return T.rgb(r,r,r)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const r=this.hsl();let n=r.color[0];return n=(n+e)%360,n=n<0?360+n:n,r.color[0]=n,r},mix(e,r){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),t=this.rgb(),a=void 0===r?.5:r,o=2*a-1,l=n.alpha()-t.alpha(),s=((o*l==-1?o:(o+l)/(1+o*l))+1)/2,i=1-s;return T.rgb(s*n.red()+i*t.red(),s*n.green()+i*t.green(),s*n.blue()+i*t.blue(),n.alpha()*a+t.alpha()*(1-a))}};for(const e of Object.keys(S)){if(D.includes(e))continue;const{channels:r}=S[e];T.prototype[e]=function(...r){return this.model===e?new T(this):r.length>0?new T(r,e):new T([...(n=S[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},T[e]=function(...n){let t=n[0];return"number"==typeof t&&(t=R(n,r)),new T(t,e)}}function P(e){return function(r){return function(e,r){return Number(e.toFixed(r))}(r,e)}}function C(e,r,n){e=Array.isArray(e)?e:[e];for(const t of e)(_[t]||(_[t]=[]))[r]=n;return e=e[0],function(t){let a;return void 0!==t?(n&&(t=n(t)),a=this[e](),a.color[r]=t,a):(a=this[e]().color[r],n&&(a=n(a)),a)}}function I(e){return function(r){return Math.max(0,Math.min(e,r))}}function R(e,r){for(let n=0;n<r;n++)"number"!=typeof e[n]&&(e[n]=0);return e}var N=T;const G=a((function({addUtilities:r}){r({":root":{...Object.keys(e).reduce(((r,n)=>{const t=e[n];if(t.includes("#")){const e=N(t).rgb().array().join(" ");r[`--${n}`]=t,r[`--${n}-rgb`]=e}else r[`--${n}`]=t;return r}),{})}})})),H=a((function({addUtilities:e,theme:r}){const n=r("linearGradientColors"),t=Object.keys(n);try{t.forEach((r=>{e({[`.fill-gradient-b-${r}`]:{fill:`url(#gradient-b-${r})`},[`.fill-gradient-t-${r}`]:{fill:`url(#gradient-t-${r})`},[`.fill-gradient-br-${r}`]:{fill:`url(#gradient-br-${r})`},[`.fill-gradient-tl-${r}`]:{fill:`url(#gradient-tl-${r})`}})}))}catch(e){console.error(e)}})),J="(0|100|200|300|400|500|600|700|800|900)",W="(salesforce|hubspot|segment|marketo|facebook|twitter|linkedin|github)",B="(blue|aqua|navy|indigo|purple|green|yellow|red|gray)",K={content:["./src/**/*.{html,js,jsx,tsx,ts}"],plugins:[H,G],safelist:[{pattern:new RegExp("border-"+B)},{pattern:new RegExp("border-"+B+"-"+J)},{pattern:new RegExp("border-"+W)},{pattern:new RegExp("bg-"+B)},{pattern:new RegExp("bg-"+B+"-"+J)},{pattern:new RegExp("bg-"+W)},{pattern:/gradient-/},{pattern:new RegExp("text-"+B),variant:["hover"]},{pattern:new RegExp("text-"+B+"-"+J),variant:["hover"]},{pattern:new RegExp("text-"+W),variant:["hover"]}],theme:{extend:{borderRadius:{none:"0",px:"1px",xs:"0.125rem",sm:"0.25rem",DEFAULT:"0.375rem",md:"0.5rem",lg:"0.625rem",full:"9999px"},boxShadow:e=>(e=>({xs:`0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,sm:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.500")}, .15)`,DEFAULT:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 2px 1px rgba(${e("colors.black")}, .05)`,md:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.600")}, .15), 0 2px 8px rgba(${e("colors.gray.600")}, .1)`,lg:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px rgba(${e("colors.gray.600")}, .2)`,xl:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px 2px rgba(${e("colors.gray.600")}, .2)`,"2xl":`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 4px 8px rgba(${e("colors.gray.600")}, .15), 0 6px 24px 10px rgba(${e("colors.gray.600")}, .2)`,inner:`inset 0 0 1px 1px rgba(${e("colors.gray.400")}, .15), inset 0 1px 3px rgba(${e("colors.gray.500")}, .15), inset 0 0 0 1px rgba(${e("colors.navy.300")}, .15)`,inset:`inset 0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,none:"none"}))(e),colors:r,fontFamily:{sans:["avenir\\ next","avenir","helvetica\\ neue","helvetica","Ubuntu","roboto","noto","segoe\\ ui","arial","sans-serif"],serif:["Iowan\\ Old\\ Style","Apple\\ Garamond","Baskerville","Times\\ New\\ Roman","Droid\\ Serif","Times","Source\\ Serif\\ Pro","serif","Apple\\ Color\\ Emoji","Segoe\\ UI\\ Emoji","Segoe\\ UI\\ Symbol"],mono:["Menlo","Consolas","Monaco","Liberation\\ Mono","Lucida\\ Console","monospace"]},fontSize:{xxs:"0.75rem",xs:"0.8125rem",sm:"0.875rem",base:"0.9375rem",md:"1rem",lg:"1.0625rem",xl:"1.5rem"},gradientColorStops:e=>e("colors"),inset:{1:"1px","-1":"-1px","1/2":"50%","-1/2":"-50%"},linearGradientColors:{blue:["var(--blue-300)","var(--blue-500)"],navy:["var(--navy-400)","var(--navy-500)"],aqua:["var(--aqua-300)","var(--aqua-500)"],indigo:["var(--indigo-300)","var(--indigo-500)"],purple:["var(--purple-300)","var(--purple-500)"],yellow:["var(--yellow-300)","var(--yellow-500)"],red:["var(--red-300)","var(--red-500)"],green:["var(--green-300)","var(--green-500)"],gray:["var(--gray-400)","var(--gray-500)"],azure:["var(--blue-300)","var(--blue-500)"],orchid:["var(--indigo-400)","var(--purple-400)"],malibu:["var(--purple-300)","var(--red-300)"],tropic:["var(--blue-200)","var(--green-300)"],sky:["var(--aqua-500)","var(--aqua-300)"],midnight:["var(--navy-500)","var(--navy-300)"],black:["var(--gray-600)","var(--gray-900)"],silver:["var(--gray-200)","var(--gray-400)"],ice:["var(--gray-0)","var(--gray-200)"],x:["var(--purple-500)","var(--indigo-500)"],royale:["var(--facebook)","var(--indigo-400)"],metal:["var(--gray-400)","var(--gray-600)"]},maxHeight:e=>e("maxWidth"),minHeight:e=>e("spacing"),minWidth:e=>e("spacing"),opacity:{"05":".05",10:".1",20:".2",30:".3",40:".4",60:".6",70:".7",80:".8",90:".9"},spacing:{7:"1.75rem",9:"2.25rem",84:"21rem",85:"21.25rem",xxs:"var(--size-xxs)",xs:"var(--size-xs)",sm:"var(--size-sm)",md:"var(--size-md)",lg:"var(--size-lg)",xl:"var(--size-xl)",xxl:"var(--size-xxl)"}}}};export{K as default};
//# sourceMappingURL=clearkit-css.esm.js.map

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

"use strict";const e={"gray-0":"#fafbfc","gray-100":"#f0f4f8","gray-200":"#e1e9f0","gray-300":"#c0d0df","gray-400":"#9badbc","gray-500":"#7b8b99","gray-600":"#596168","gray-700":"#4c5359","gray-800":"#373c41","gray-900":"#27282a","gray-1000":"#131414","blue-0":"#f2fafe","blue-100":"#dbf1fe","blue-200":"#98d5fd","blue-300":"#4db1fd","blue-400":"#2b9ffd","blue-500":"#148cfc","blue-600":"#127ee3","blue-700":"#1070c9","blue-800":"#0c5497","blue-900":"#083864","blue-1000":"#041c32","navy-0":"#f2f6fa","navy-100":"#dde8f4","navy-200":"#a1bddc","navy-300":"#6b90c0","navy-400":"#3b64a0","navy-500":"#2a456d","navy-600":"#253e62","navy-700":"#213757","navy-800":"#192a42","navy-900":"#101c2c","navy-1000":"#080e16","aqua-0":"#f6fcfe","aqua-100":"#e4f8fe","aqua-200":"#b1ecfd","aqua-300":"#80dffd","aqua-400":"#52d2fc","aqua-500":"#3abefa","aqua-600":"#34abe1","aqua-700":"#2e98c8","aqua-800":"#227296","aqua-900":"#174c64","aqua-1000":"#0b2632","indigo-0":"#f7f8ff","indigo-100":"#eaeeff","indigo-200":"#c2cfff","indigo-300":"#9cb2ff","indigo-400":"#7793ff","indigo-500":"#637eff","indigo-600":"#5872e5","indigo-700":"#4f65cc","indigo-800":"#3b4c99","indigo-900":"#273266","indigo-1000":"#131933","purple-0":"#fcf7fd","purple-100":"#f8eafc","purple-200":"#edc2f8","purple-300":"#e29bf3","purple-400":"#d576f0","purple-500":"#c363e5","purple-600":"#af58cd","purple-700":"#9c4fb7","purple-800":"#753b89","purple-900":"#4e275b","purple-1000":"#27132d","yellow-0":"#fefbf1","yellow-100":"#fef4d7","yellow-200":"#fde08e","yellow-300":"#fdcc50","yellow-400":"#fdb61c","yellow-500":"#fca000","yellow-600":"#e28f00","yellow-700":"#c98000","yellow-800":"#976000","yellow-900":"#644000","yellow-1000":"#322000","red-0":"#fdf3f1","red-100":"#fbddd8","red-200":"#f6a194","red-300":"#f06a57","red-400":"#ea3927","red-500":"#de2612","red-600":"#c72310","red-700":"#b11e0e","red-800":"#85160a","red-900":"#580f07","red-1000":"#2c0703","green-0":"#f1fcf8","green-100":"#d9f9ec","green-200":"#97ecca","green-300":"#4edc9f","green-400":"#31d48b","green-500":"#1dc463","green-600":"#1ab059","green-700":"#189c50","green-800":"#11753c","green-900":"#0c4e28","green-1000":"#052713",black:"#000",white:"#fff",salesforce:"#00a1e0",marketo:"#5c4c9f",segment:"#43af79",hubspot:"#ff7a59",facebook:"#1877f2",twitter:"#1da1f1",linkedin:"#0073b0",github:"#27282a","size-xxs":"360px","size-xs":"480px","size-sm":"560px","size-md":"640px","size-lg":"720px","size-xl":"840px","size-xxl":"960px"},r={transparent:{DEFAULT:"transparent"},gray:{DEFAULT:e["gray-500"],0:e["gray-0"],100:e["gray-100"],200:e["gray-200"],300:e["gray-300"],400:e["gray-400"],500:e["gray-500"],600:e["gray-600"],700:e["gray-700"],800:e["gray-800"],900:e["gray-900"],1e3:e["gray-1000"]},blue:{DEFAULT:e["blue-500"],0:e["blue-0"],100:e["blue-100"],200:e["blue-200"],300:e["blue-300"],400:e["blue-400"],500:e["blue-500"],600:e["blue-600"],700:e["blue-700"],800:e["blue-800"],900:e["blue-900"],1e3:e["blue-1000"]},navy:{DEFAULT:e["navy-500"],0:e["navy-0"],100:e["navy-100"],200:e["navy-200"],300:e["navy-300"],400:e["navy-400"],500:e["navy-500"],600:e["navy-600"],700:e["navy-700"],800:e["navy-800"],900:e["navy-900"],1e3:e["navy-1000"]},aqua:{DEFAULT:e["aqua-500"],0:e["aqua-0"],100:e["aqua-100"],200:e["aqua-200"],300:e["aqua-300"],400:e["aqua-400"],500:e["aqua-500"],600:e["aqua-600"],700:e["aqua-700"],800:e["aqua-800"],900:e["aqua-900"],1e3:e["aqua-1000"]},indigo:{DEFAULT:e["indigo-500"],0:e["indigo-0"],100:e["indigo-100"],200:e["indigo-200"],300:e["indigo-300"],400:e["indigo-400"],500:e["indigo-500"],600:e["indigo-600"],700:e["indigo-700"],800:e["indigo-800"],900:e["indigo-900"],1e3:e["indigo-1000"]},purple:{DEFAULT:e["purple-500"],0:e["purple-0"],100:e["purple-100"],200:e["purple-200"],300:e["purple-300"],400:e["purple-400"],500:e["purple-500"],600:e["purple-600"],700:e["purple-700"],800:e["purple-800"],900:e["purple-900"],1e3:e["purple-1000"]},yellow:{DEFAULT:e["yellow-500"],0:e["yellow-0"],100:e["yellow-100"],200:e["yellow-200"],300:e["yellow-300"],400:e["yellow-400"],500:e["yellow-500"],600:e["yellow-600"],700:e["yellow-700"],800:e["yellow-800"],900:e["yellow-900"],1e3:e["yellow-1000"]},red:{DEFAULT:e["red-500"],0:e["red-0"],100:e["red-100"],200:e["red-200"],300:e["red-300"],400:e["red-400"],500:e["red-500"],600:e["red-600"],700:e["red-700"],800:e["red-800"],900:e["red-900"],1e3:e["red-1000"]},green:{DEFAULT:e["green-500"],0:e["green-0"],100:e["green-100"],200:e["green-200"],300:e["green-300"],400:e["green-400"],500:e["green-500"],600:e["green-600"],700:e["green-700"],800:e["green-800"],900:e["green-900"],1e3:e["green-1000"]},black:e.black,white:e.white,salesforce:e.salesforce,marketo:e.marketo,segment:e.segment,hubspot:e.hubspot,facebook:e.facebook,twitter:e.twitter,linkedin:e.linkedin,github:e.github};var n={},t={};!function(e){function r(e,r){return{handler:e,config:r}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n}),r.withOptions=function(e,r=(()=>({}))){const n=function(n){return{__options:n,handler:e(n),config:r(n)}};return n.__isOptionsFunction=!0,n.__pluginFunction=e,n.__configFunction=r,n};const n=r}(t),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n});function r(e){return e&&e.__esModule?e:{default:e}}const n=r(t).default}(n);var a=(n.__esModule?n:{default:n}).default,o={exports:{}},l={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]},s={exports:{}},i=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))},c=Array.prototype.concat,u=Array.prototype.slice,h=s.exports=function(e){for(var r=[],n=0,t=e.length;n<t;n++){var a=e[n];i(a)?r=c.call(r,u.call(a)):r.push(a)}return r};h.wrap=function(e){return function(){return e(h(arguments))}};var g=l,d=s.exports,b=Object.hasOwnProperty,f=Object.create(null);for(var p in g)b.call(g,p)&&(f[g[p]]=p);var y=o.exports={to:{},get:{}};function v(e,r,n){return Math.min(Math.max(r,e),n)}function m(e){var r=Math.round(e).toString(16).toUpperCase();return r.length<2?"0"+r:r}y.get=function(e){var r,n;switch(e.substring(0,3).toLowerCase()){case"hsl":r=y.get.hsl(e),n="hsl";break;case"hwb":r=y.get.hwb(e),n="hwb";break;default:r=y.get.rgb(e),n="rgb"}return r?{model:n,value:r}:null},y.get.rgb=function(e){if(!e)return null;var r,n,t,a=[0,0,0,1];if(r=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(t=r[2],r=r[1],n=0;n<3;n++){var o=2*n;a[n]=parseInt(r.slice(o,o+2),16)}t&&(a[3]=parseInt(t,16)/255)}else if(r=e.match(/^#([a-f0-9]{3,4})$/i)){for(t=(r=r[1])[3],n=0;n<3;n++)a[n]=parseInt(r[n]+r[n],16);t&&(a[3]=parseInt(t+t,16)/255)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(r[n+1],0);r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}else{if(!(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(r=e.match(/^(\w+)$/))?"transparent"===r[1]?[0,0,0,0]:b.call(g,r[1])?((a=g[r[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(r[n+1]));r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}for(n=0;n<3;n++)a[n]=v(a[n],0,255);return a[3]=v(a[3],0,1),a},y.get.hsl=function(e){if(!e)return null;var r=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.get.hwb=function(e){if(!e)return null;var r=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.to.hex=function(){var e=d(arguments);return"#"+m(e[0])+m(e[1])+m(e[2])+(e[3]<1?m(Math.round(255*e[3])):"")},y.to.rgb=function(){var e=d(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},y.to.rgb.percent=function(){var e=d(arguments),r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),t=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+r+"%, "+n+"%, "+t+"%)":"rgba("+r+"%, "+n+"%, "+t+"%, "+e[3]+")"},y.to.hsl=function(){var e=d(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},y.to.hwb=function(){var e=d(arguments),r="";return e.length>=4&&1!==e[3]&&(r=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+r+")"},y.to.keyword=function(e){return f[e.slice(0,3)]};const x=l,w={};for(const e of Object.keys(x))w[x[e]]=e;const k={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"]}};var M=k;for(const e of Object.keys(k)){if(!("channels"in k[e]))throw new Error("missing channels property: "+e);if(!("labels"in k[e]))throw new Error("missing channel labels property: "+e);if(k[e].labels.length!==k[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:r,labels:n}=k[e];delete k[e].channels,delete k[e].labels,Object.defineProperty(k[e],"channels",{value:r}),Object.defineProperty(k[e],"labels",{value:n})}k.rgb.hsl=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(r,n,t),o=Math.max(r,n,t),l=o-a;let s,i;o===a?s=0:r===o?s=(n-t)/l:n===o?s=2+(t-r)/l:t===o&&(s=4+(r-n)/l),s=Math.min(60*s,360),s<0&&(s+=360);const c=(a+o)/2;return i=o===a?0:c<=.5?l/(o+a):l/(2-o-a),[s,100*i,100*c]},k.rgb.hsv=function(e){let r,n,t,a,o;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),u=c-Math.min(l,s,i),h=function(e){return(c-e)/6/u+.5};return 0===u?(a=0,o=0):(o=u/c,r=h(l),n=h(s),t=h(i),l===c?a=t-n:s===c?a=1/3+r-t:i===c&&(a=2/3+n-r),a<0?a+=1:a>1&&(a-=1)),[360*a,100*o,100*c]},k.rgb.hwb=function(e){const r=e[0],n=e[1];let t=e[2];const a=k.rgb.hsl(e)[0],o=1/255*Math.min(r,Math.min(n,t));return t=1-1/255*Math.max(r,Math.max(n,t)),[a,100*o,100*t]},k.rgb.cmyk=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(1-r,1-n,1-t);return[100*((1-r-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-t-a)/(1-a)||0),100*a]},k.rgb.keyword=function(e){const r=w[e];if(r)return r;let n,t=1/0;for(const r of Object.keys(x)){const l=(o=x[r],((a=e)[0]-o[0])**2+(a[1]-o[1])**2+(a[2]-o[2])**2);l<t&&(t=l,n=r)}var a,o;return n},k.keyword.rgb=function(e){return x[e]},k.rgb.xyz=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;return[100*(.4124*r+.3576*n+.1805*t),100*(.2126*r+.7152*n+.0722*t),100*(.0193*r+.1192*n+.9505*t)]},k.rgb.lab=function(e){const r=k.rgb.xyz(e);let n=r[0],t=r[1],a=r[2];n/=95.047,t/=100,a/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;return[116*t-16,500*(n-t),200*(t-a)]},k.hsl.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;let a,o,l;if(0===n)return l=255*t,[l,l,l];a=t<.5?t*(1+n):t+n-t*n;const s=2*t-a,i=[0,0,0];for(let e=0;e<3;e++)o=r+1/3*-(e-1),o<0&&o++,o>1&&o--,l=6*o<1?s+6*(a-s)*o:2*o<1?a:3*o<2?s+(a-s)*(2/3-o)*6:s,i[e]=255*l;return i},k.hsl.hsv=function(e){const r=e[0];let n=e[1]/100,t=e[2]/100,a=n;const o=Math.max(t,.01);t*=2,n*=t<=1?t:2-t,a*=o<=1?o:2-o;return[r,100*(0===t?2*a/(o+a):2*n/(t+n)),100*((t+n)/2)]},k.hsv.rgb=function(e){const r=e[0]/60,n=e[1]/100;let t=e[2]/100;const a=Math.floor(r)%6,o=r-Math.floor(r),l=255*t*(1-n),s=255*t*(1-n*o),i=255*t*(1-n*(1-o));switch(t*=255,a){case 0:return[t,i,l];case 1:return[s,t,l];case 2:return[l,t,i];case 3:return[l,s,t];case 4:return[i,l,t];case 5:return[t,l,s]}},k.hsv.hsl=function(e){const r=e[0],n=e[1]/100,t=e[2]/100,a=Math.max(t,.01);let o,l;l=(2-n)*t;const s=(2-n)*a;return o=n*a,o/=s<=1?s:2-s,o=o||0,l/=2,[r,100*o,100*l]},k.hwb.rgb=function(e){const r=e[0]/360;let n=e[1]/100,t=e[2]/100;const a=n+t;let o;a>1&&(n/=a,t/=a);const l=Math.floor(6*r),s=1-t;o=6*r-l,0!=(1&l)&&(o=1-o);const i=n+o*(s-n);let c,u,h;switch(l){default:case 6:case 0:c=s,u=i,h=n;break;case 1:c=i,u=s,h=n;break;case 2:c=n,u=s,h=i;break;case 3:c=n,u=i,h=s;break;case 4:c=i,u=n,h=s;break;case 5:c=s,u=n,h=i}return[255*c,255*u,255*h]},k.cmyk.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,t*(1-a)+a))]},k.xyz.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100;let a,o,l;return a=3.2406*r+-1.5372*n+-.4986*t,o=-.9689*r+1.8758*n+.0415*t,l=.0557*r+-.204*n+1.057*t,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,l=l>.0031308?1.055*l**(1/2.4)-.055:12.92*l,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),l=Math.min(Math.max(0,l),1),[255*a,255*o,255*l]},k.xyz.lab=function(e){let r=e[0],n=e[1],t=e[2];r/=95.047,n/=100,t/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116;return[116*n-16,500*(r-n),200*(n-t)]},k.lab.xyz=function(e){let r,n,t;n=(e[0]+16)/116,r=e[1]/500+n,t=n-e[2]/200;const a=n**3,o=r**3,l=t**3;return n=a>.008856?a:(n-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,r*=95.047,n*=100,t*=108.883,[r,n,t]},k.lab.lch=function(e){const r=e[0],n=e[1],t=e[2];let a;a=360*Math.atan2(t,n)/2/Math.PI,a<0&&(a+=360);return[r,Math.sqrt(n*n+t*t),a]},k.lch.lab=function(e){const r=e[0],n=e[1],t=e[2]/360*2*Math.PI;return[r,n*Math.cos(t),n*Math.sin(t)]},k.rgb.ansi16=function(e,r=null){const[n,t,a]=e;let o=null===r?k.rgb.hsv(e)[2]:r;if(o=Math.round(o/50),0===o)return 30;let l=30+(Math.round(a/255)<<2|Math.round(t/255)<<1|Math.round(n/255));return 2===o&&(l+=60),l},k.hsv.ansi16=function(e){return k.rgb.ansi16(k.hsv.rgb(e),e[2])},k.rgb.ansi256=function(e){const r=e[0],n=e[1],t=e[2];if(r===n&&n===t)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(t/255*5)},k.ansi16.rgb=function(e){let r=e%10;if(0===r||7===r)return e>50&&(r+=3.5),r=r/10.5*255,[r,r,r];const n=.5*(1+~~(e>50));return[(1&r)*n*255,(r>>1&1)*n*255,(r>>2&1)*n*255]},k.ansi256.rgb=function(e){if(e>=232){const r=10*(e-232)+8;return[r,r,r]}let r;e-=16;return[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},k.rgb.hex=function(e){const r=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(r.length)+r},k.hex.rgb=function(e){const r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];let n=r[0];3===r[0].length&&(n=n.split("").map((e=>e+e)).join(""));const t=parseInt(n,16);return[t>>16&255,t>>8&255,255&t]},k.rgb.hcg=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.max(Math.max(r,n),t),o=Math.min(Math.min(r,n),t),l=a-o;let s,i;return s=l<1?o/(1-l):0,i=l<=0?0:a===r?(n-t)/l%6:a===n?2+(t-r)/l:4+(r-n)/l,i/=6,i%=1,[360*i,100*l,100*s]},k.hsl.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=n<.5?2*r*n:2*r*(1-n);let a=0;return t<1&&(a=(n-.5*t)/(1-t)),[e[0],100*t,100*a]},k.hsv.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=r*n;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.hcg.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;if(0===n)return[255*t,255*t,255*t];const a=[0,0,0],o=r%1*6,l=o%1,s=1-l;let i=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=l,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=l;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=l,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return i=(1-n)*t,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},k.hcg.hsv=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);let t=0;return n>0&&(t=r/n),[e[0],100*t,100*n]},k.hcg.hsl=function(e){const r=e[1]/100,n=e[2]/100*(1-r)+.5*r;let t=0;return n>0&&n<.5?t=r/(2*n):n>=.5&&n<1&&(t=r/(2*(1-n))),[e[0],100*t,100*n]},k.hcg.hwb=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);return[e[0],100*(n-r),100*(1-n)]},k.hwb.hcg=function(e){const r=e[1]/100,n=1-e[2]/100,t=n-r;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},k.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},k.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},k.gray.hsl=function(e){return[0,0,e[0]]},k.gray.hsv=k.gray.hsl,k.gray.hwb=function(e){return[0,100,e[0]]},k.gray.cmyk=function(e){return[0,0,0,e[0]]},k.gray.lab=function(e){return[e[0],0,0]},k.gray.hex=function(e){const r=255&Math.round(e[0]/100*255),n=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(n.length)+n},k.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const q=M;function j(e){const r=function(){const e={},r=Object.keys(q);for(let n=r.length,t=0;t<n;t++)e[r[t]]={distance:-1,parent:null};return e}(),n=[e];for(r[e].distance=0;n.length;){const e=n.pop(),t=Object.keys(q[e]);for(let a=t.length,o=0;o<a;o++){const a=t[o],l=r[a];-1===l.distance&&(l.distance=r[e].distance+1,l.parent=e,n.unshift(a))}}return r}function $(e,r){return function(n){return r(e(n))}}function O(e,r){const n=[r[e].parent,e];let t=q[r[e].parent][e],a=r[e].parent;for(;r[a].parent;)n.unshift(r[a].parent),t=$(q[r[a].parent][a],t),a=r[a].parent;return t.conversion=n,t}const E=M,A=function(e){const r=j(e),n={},t=Object.keys(r);for(let e=t.length,a=0;a<e;a++){const e=t[a];null!==r[e].parent&&(n[e]=O(e,r))}return n},F={};Object.keys(E).forEach((e=>{F[e]={},Object.defineProperty(F[e],"channels",{value:E[e].channels}),Object.defineProperty(F[e],"labels",{value:E[e].labels});const r=A(e);Object.keys(r).forEach((n=>{const t=r[n];F[e][n]=function(e){const r=function(...r){const n=r[0];if(null==n)return n;n.length>1&&(r=n);const t=e(r);if("object"==typeof t)for(let e=t.length,r=0;r<e;r++)t[r]=Math.round(t[r]);return t};return"conversion"in e&&(r.conversion=e.conversion),r}(t),F[e][n].raw=function(e){const r=function(...r){const n=r[0];return null==n?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(r.conversion=e.conversion),r}(t)}))}));var z=F;const U=o.exports,S=z,D=["keyword","gray","hex"],L={};for(const e of Object.keys(S))L[[...S[e].labels].sort().join("")]=e;const _={};function T(e,r){if(!(this instanceof T))return new T(e,r);if(r&&r in D&&(r=null),r&&!(r in S))throw new Error("Unknown model: "+r);let n,t;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof T)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const r=U.get(e);if(null===r)throw new Error("Unable to parse color from string: "+e);this.model=r.model,t=S[this.model].channels,this.color=r.value.slice(0,t),this.valpha="number"==typeof r.value[t]?r.value[t]:1}else if(e.length>0){this.model=r||"rgb",t=S[this.model].channels;const n=Array.prototype.slice.call(e,0,t);this.color=N(n,t),this.valpha="number"==typeof e[t]?e[t]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const t=r.sort().join("");if(!(t in L))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=L[t];const{labels:a}=S[this.model],o=[];for(n=0;n<a.length;n++)o.push(e[a[n]]);this.color=N(o)}if(_[this.model])for(t=S[this.model].channels,n=0;n<t;n++){const e=_[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}T.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let r=this.model in U.to?this:this.rgb();r=r.round("number"==typeof e?e:1);const n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to[r.model](n)},percentString(e){const r=this.rgb().round("number"==typeof e?e:1),n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:r}=S[this.model],{labels:n}=S[this.model];for(let t=0;t<r;t++)e[n[t]]=this.color[t];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new T([...this.color.map(P(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new T([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:C("rgb",0,I(255)),green:C("rgb",1,I(255)),blue:C("rgb",2,I(255)),hue:C(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:C("hsl",1,I(100)),lightness:C("hsl",2,I(100)),saturationv:C("hsv",1,I(100)),value:C("hsv",2,I(100)),chroma:C("hcg",1,I(100)),gray:C("hcg",2,I(100)),white:C("hwb",1,I(100)),wblack:C("hwb",2,I(100)),cyan:C("cmyk",0,I(100)),magenta:C("cmyk",1,I(100)),yellow:C("cmyk",2,I(100)),black:C("cmyk",3,I(100)),x:C("xyz",0,I(95.047)),y:C("xyz",1,I(100)),z:C("xyz",2,I(108.833)),l:C("lab",0,I(100)),a:C("lab",1),b:C("lab",2),keyword(e){return void 0!==e?new T(e):S[this.model].keyword(this.color)},hex(e){return void 0!==e?new T(e):U.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new T(e);const r=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),U.to.hex(r)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,r=[];for(const[n,t]of e.entries()){const e=t/255;r[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(e){const r=this.luminosity(),n=e.luminosity();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},level(e){const r=this.contrast(e);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let r=0;r<3;r++)e.color[r]=255-e.color[r];return e},lighten(e){const r=this.hsl();return r.color[2]+=r.color[2]*e,r},darken(e){const r=this.hsl();return r.color[2]-=r.color[2]*e,r},saturate(e){const r=this.hsl();return r.color[1]+=r.color[1]*e,r},desaturate(e){const r=this.hsl();return r.color[1]-=r.color[1]*e,r},whiten(e){const r=this.hwb();return r.color[1]+=r.color[1]*e,r},blacken(e){const r=this.hwb();return r.color[2]+=r.color[2]*e,r},grayscale(){const e=this.rgb().color,r=.3*e[0]+.59*e[1]+.11*e[2];return T.rgb(r,r,r)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const r=this.hsl();let n=r.color[0];return n=(n+e)%360,n=n<0?360+n:n,r.color[0]=n,r},mix(e,r){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),t=this.rgb(),a=void 0===r?.5:r,o=2*a-1,l=n.alpha()-t.alpha(),s=((o*l==-1?o:(o+l)/(1+o*l))+1)/2,i=1-s;return T.rgb(s*n.red()+i*t.red(),s*n.green()+i*t.green(),s*n.blue()+i*t.blue(),n.alpha()*a+t.alpha()*(1-a))}};for(const e of Object.keys(S)){if(D.includes(e))continue;const{channels:r}=S[e];T.prototype[e]=function(...r){return this.model===e?new T(this):r.length>0?new T(r,e):new T([...(n=S[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},T[e]=function(...n){let t=n[0];return"number"==typeof t&&(t=N(n,r)),new T(t,e)}}function P(e){return function(r){return function(e,r){return Number(e.toFixed(r))}(r,e)}}function C(e,r,n){e=Array.isArray(e)?e:[e];for(const t of e)(_[t]||(_[t]=[]))[r]=n;return e=e[0],function(t){let a;return void 0!==t?(n&&(t=n(t)),a=this[e](),a.color[r]=t,a):(a=this[e]().color[r],n&&(a=n(a)),a)}}function I(e){return function(r){return Math.max(0,Math.min(e,r))}}function N(e,r){for(let n=0;n<r;n++)"number"!=typeof e[n]&&(e[n]=0);return e}var R=T;const G=a((function({addUtilities:r}){r({":root":{...Object.keys(e).reduce(((r,n)=>{const t=e[n];if(t.includes("#")){const e=R(t).rgb().array().join(" ");r[`--${n}`]=t,r[`--${n}-rgb`]=e}else r[`--${n}`]=t;return r}),{})}})})),H=a((function({addUtilities:e,theme:r}){const n=r("linearGradientColors"),t=Object.keys(n);try{t.forEach((r=>{e({[`.fill-gradient-b-${r}`]:{fill:`url(#gradient-b-${r})`},[`.fill-gradient-t-${r}`]:{fill:`url(#gradient-t-${r})`},[`.fill-gradient-br-${r}`]:{fill:`url(#gradient-br-${r})`},[`.fill-gradient-tl-${r}`]:{fill:`url(#gradient-tl-${r})`}})}))}catch(e){console.error(e)}})),J="(0|100|200|300|400|500|600|700|800|900)",W="(salesforce|hubspot|segment|marketo|facebook|twitter|linkedin|github)",B="(blue|aqua|navy|indigo|purple|green|yellow|red|gray)",K={content:["./src/**/*.{html,js,jsx,tsx,ts}"],plugins:[H,G],safelist:[{pattern:new RegExp("bg-"+B)},{pattern:new RegExp("bg-"+B+"-"+J)},{pattern:new RegExp("bg-"+W)},{pattern:/gradient-/},{pattern:new RegExp("text-"+B),variant:["hover"]},{pattern:new RegExp("text-"+B+"-"+J),variant:["hover"]},{pattern:new RegExp("text-"+W),variant:["hover"]}],theme:{extend:{borderRadius:{none:"0",px:"1px",xs:"0.125rem",sm:"0.25rem",DEFAULT:"0.375rem",md:"0.5rem",lg:"0.625rem",full:"9999px"},boxShadow:e=>(e=>({xs:`0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,sm:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.500")}, .15)`,DEFAULT:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 2px 1px rgba(${e("colors.black")}, .05)`,md:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.600")}, .15), 0 2px 8px rgba(${e("colors.gray.600")}, .1)`,lg:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px rgba(${e("colors.gray.600")}, .2)`,xl:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px 2px rgba(${e("colors.gray.600")}, .2)`,"2xl":`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 4px 8px rgba(${e("colors.gray.600")}, .15), 0 6px 24px 10px rgba(${e("colors.gray.600")}, .2)`,inner:`inset 0 0 1px 1px rgba(${e("colors.gray.400")}, .15), inset 0 1px 3px rgba(${e("colors.gray.500")}, .15), inset 0 0 0 1px rgba(${e("colors.navy.300")}, .15)`,inset:`inset 0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,none:"none"}))(e),colors:r,fontFamily:{sans:["avenir\\ next","avenir","helvetica\\ neue","helvetica","Ubuntu","roboto","noto","segoe\\ ui","arial","sans-serif"],serif:["Iowan\\ Old\\ Style","Apple\\ Garamond","Baskerville","Times\\ New\\ Roman","Droid\\ Serif","Times","Source\\ Serif\\ Pro","serif","Apple\\ Color\\ Emoji","Segoe\\ UI\\ Emoji","Segoe\\ UI\\ Symbol"],mono:["Menlo","Consolas","Monaco","Liberation\\ Mono","Lucida\\ Console","monospace"]},fontSize:{xxs:"0.75rem",xs:"0.8125rem",sm:"0.875rem",base:"0.9375rem",md:"1rem",lg:"1.0625rem",xl:"1.5rem"},gradientColorStops:e=>e("colors"),inset:{1:"1px","-1":"-1px","1/2":"50%","-1/2":"-50%"},linearGradientColors:{blue:["var(--blue-300)","var(--blue-500)"],navy:["var(--navy-400)","var(--navy-500)"],aqua:["var(--aqua-300)","var(--aqua-500)"],indigo:["var(--indigo-300)","var(--indigo-500)"],purple:["var(--purple-300)","var(--purple-500)"],yellow:["var(--yellow-300)","var(--yellow-500)"],red:["var(--red-300)","var(--red-500)"],green:["var(--green-300)","var(--green-500)"],gray:["var(--gray-400)","var(--gray-500)"],azure:["var(--blue-300)","var(--blue-500)"],orchid:["var(--indigo-400)","var(--purple-400)"],malibu:["var(--purple-300)","var(--red-300)"],tropic:["var(--blue-200)","var(--green-300)"],sky:["var(--aqua-500)","var(--aqua-300)"],midnight:["var(--navy-500)","var(--navy-300)"],black:["var(--gray-600)","var(--gray-900)"],silver:["var(--gray-200)","var(--gray-400)"],ice:["var(--gray-0)","var(--gray-200)"],x:["var(--purple-500)","var(--indigo-500)"],royale:["var(--facebook)","var(--indigo-400)"],metal:["var(--gray-400)","var(--gray-600)"]},maxHeight:e=>e("maxWidth"),minHeight:e=>e("spacing"),minWidth:e=>e("spacing"),opacity:{"05":".05",10:".1",20:".2",30:".3",40:".4",60:".6",70:".7",80:".8",90:".9"},spacing:{7:"1.75rem",9:"2.25rem",84:"21rem",85:"21.25rem",xxs:"var(--size-xxs)",xs:"var(--size-xs)",sm:"var(--size-sm)",md:"var(--size-md)",lg:"var(--size-lg)",xl:"var(--size-xl)",xxl:"var(--size-xxl)"}}}};module.exports=K;
"use strict";const e={"gray-0":"#fafbfc","gray-100":"#f0f4f8","gray-200":"#e1e9f0","gray-300":"#c0d0df","gray-400":"#9badbc","gray-500":"#7b8b99","gray-600":"#596168","gray-700":"#4c5359","gray-800":"#373c41","gray-900":"#27282a","gray-1000":"#131414","blue-0":"#f2fafe","blue-100":"#dbf1fe","blue-200":"#98d5fd","blue-300":"#4db1fd","blue-400":"#2b9ffd","blue-500":"#148cfc","blue-600":"#127ee3","blue-700":"#1070c9","blue-800":"#0c5497","blue-900":"#083864","blue-1000":"#041c32","navy-0":"#f2f6fa","navy-100":"#dde8f4","navy-200":"#a1bddc","navy-300":"#6b90c0","navy-400":"#3b64a0","navy-500":"#2a456d","navy-600":"#253e62","navy-700":"#213757","navy-800":"#192a42","navy-900":"#101c2c","navy-1000":"#080e16","aqua-0":"#f6fcfe","aqua-100":"#e4f8fe","aqua-200":"#b1ecfd","aqua-300":"#80dffd","aqua-400":"#52d2fc","aqua-500":"#3abefa","aqua-600":"#34abe1","aqua-700":"#2e98c8","aqua-800":"#227296","aqua-900":"#174c64","aqua-1000":"#0b2632","indigo-0":"#f7f8ff","indigo-100":"#eaeeff","indigo-200":"#c2cfff","indigo-300":"#9cb2ff","indigo-400":"#7793ff","indigo-500":"#637eff","indigo-600":"#5872e5","indigo-700":"#4f65cc","indigo-800":"#3b4c99","indigo-900":"#273266","indigo-1000":"#131933","purple-0":"#fcf7fd","purple-100":"#f8eafc","purple-200":"#edc2f8","purple-300":"#e29bf3","purple-400":"#d576f0","purple-500":"#c363e5","purple-600":"#af58cd","purple-700":"#9c4fb7","purple-800":"#753b89","purple-900":"#4e275b","purple-1000":"#27132d","yellow-0":"#fefbf1","yellow-100":"#fef4d7","yellow-200":"#fde08e","yellow-300":"#fdcc50","yellow-400":"#fdb61c","yellow-500":"#fca000","yellow-600":"#e28f00","yellow-700":"#c98000","yellow-800":"#976000","yellow-900":"#644000","yellow-1000":"#322000","red-0":"#fdf3f1","red-100":"#fbddd8","red-200":"#f6a194","red-300":"#f06a57","red-400":"#ea3927","red-500":"#de2612","red-600":"#c72310","red-700":"#b11e0e","red-800":"#85160a","red-900":"#580f07","red-1000":"#2c0703","green-0":"#f1fcf8","green-100":"#d9f9ec","green-200":"#97ecca","green-300":"#4edc9f","green-400":"#31d48b","green-500":"#1dc463","green-600":"#1ab059","green-700":"#189c50","green-800":"#11753c","green-900":"#0c4e28","green-1000":"#052713",black:"#000",white:"#fff",salesforce:"#00a1e0",marketo:"#5c4c9f",segment:"#43af79",hubspot:"#ff7a59",facebook:"#1877f2",twitter:"#1da1f1",linkedin:"#0073b0",github:"#27282a","size-xxs":"360px","size-xs":"480px","size-sm":"560px","size-md":"640px","size-lg":"720px","size-xl":"840px","size-xxl":"960px"},r={transparent:{DEFAULT:"transparent"},gray:{DEFAULT:e["gray-500"],0:e["gray-0"],100:e["gray-100"],200:e["gray-200"],300:e["gray-300"],400:e["gray-400"],500:e["gray-500"],600:e["gray-600"],700:e["gray-700"],800:e["gray-800"],900:e["gray-900"],1e3:e["gray-1000"]},blue:{DEFAULT:e["blue-500"],0:e["blue-0"],100:e["blue-100"],200:e["blue-200"],300:e["blue-300"],400:e["blue-400"],500:e["blue-500"],600:e["blue-600"],700:e["blue-700"],800:e["blue-800"],900:e["blue-900"],1e3:e["blue-1000"]},navy:{DEFAULT:e["navy-500"],0:e["navy-0"],100:e["navy-100"],200:e["navy-200"],300:e["navy-300"],400:e["navy-400"],500:e["navy-500"],600:e["navy-600"],700:e["navy-700"],800:e["navy-800"],900:e["navy-900"],1e3:e["navy-1000"]},aqua:{DEFAULT:e["aqua-500"],0:e["aqua-0"],100:e["aqua-100"],200:e["aqua-200"],300:e["aqua-300"],400:e["aqua-400"],500:e["aqua-500"],600:e["aqua-600"],700:e["aqua-700"],800:e["aqua-800"],900:e["aqua-900"],1e3:e["aqua-1000"]},indigo:{DEFAULT:e["indigo-500"],0:e["indigo-0"],100:e["indigo-100"],200:e["indigo-200"],300:e["indigo-300"],400:e["indigo-400"],500:e["indigo-500"],600:e["indigo-600"],700:e["indigo-700"],800:e["indigo-800"],900:e["indigo-900"],1e3:e["indigo-1000"]},purple:{DEFAULT:e["purple-500"],0:e["purple-0"],100:e["purple-100"],200:e["purple-200"],300:e["purple-300"],400:e["purple-400"],500:e["purple-500"],600:e["purple-600"],700:e["purple-700"],800:e["purple-800"],900:e["purple-900"],1e3:e["purple-1000"]},yellow:{DEFAULT:e["yellow-500"],0:e["yellow-0"],100:e["yellow-100"],200:e["yellow-200"],300:e["yellow-300"],400:e["yellow-400"],500:e["yellow-500"],600:e["yellow-600"],700:e["yellow-700"],800:e["yellow-800"],900:e["yellow-900"],1e3:e["yellow-1000"]},red:{DEFAULT:e["red-500"],0:e["red-0"],100:e["red-100"],200:e["red-200"],300:e["red-300"],400:e["red-400"],500:e["red-500"],600:e["red-600"],700:e["red-700"],800:e["red-800"],900:e["red-900"],1e3:e["red-1000"]},green:{DEFAULT:e["green-500"],0:e["green-0"],100:e["green-100"],200:e["green-200"],300:e["green-300"],400:e["green-400"],500:e["green-500"],600:e["green-600"],700:e["green-700"],800:e["green-800"],900:e["green-900"],1e3:e["green-1000"]},black:e.black,white:e.white,salesforce:e.salesforce,marketo:e.marketo,segment:e.segment,hubspot:e.hubspot,facebook:e.facebook,twitter:e.twitter,linkedin:e.linkedin,github:e.github};var n={},t={};!function(e){function r(e,r){return{handler:e,config:r}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n}),r.withOptions=function(e,r=(()=>({}))){const n=function(n){return{__options:n,handler:e(n),config:r(n)}};return n.__isOptionsFunction=!0,n.__pluginFunction=e,n.__configFunction=r,n};const n=r}(t),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:()=>n});function r(e){return e&&e.__esModule?e:{default:e}}const n=r(t).default}(n);var a=(n.__esModule?n:{default:n}).default,o={exports:{}},l={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]},s={exports:{}},i=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))},c=Array.prototype.concat,u=Array.prototype.slice,h=s.exports=function(e){for(var r=[],n=0,t=e.length;n<t;n++){var a=e[n];i(a)?r=c.call(r,u.call(a)):r.push(a)}return r};h.wrap=function(e){return function(){return e(h(arguments))}};var g=l,d=s.exports,b=Object.hasOwnProperty,f=Object.create(null);for(var p in g)b.call(g,p)&&(f[g[p]]=p);var y=o.exports={to:{},get:{}};function v(e,r,n){return Math.min(Math.max(r,e),n)}function m(e){var r=Math.round(e).toString(16).toUpperCase();return r.length<2?"0"+r:r}y.get=function(e){var r,n;switch(e.substring(0,3).toLowerCase()){case"hsl":r=y.get.hsl(e),n="hsl";break;case"hwb":r=y.get.hwb(e),n="hwb";break;default:r=y.get.rgb(e),n="rgb"}return r?{model:n,value:r}:null},y.get.rgb=function(e){if(!e)return null;var r,n,t,a=[0,0,0,1];if(r=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(t=r[2],r=r[1],n=0;n<3;n++){var o=2*n;a[n]=parseInt(r.slice(o,o+2),16)}t&&(a[3]=parseInt(t,16)/255)}else if(r=e.match(/^#([a-f0-9]{3,4})$/i)){for(t=(r=r[1])[3],n=0;n<3;n++)a[n]=parseInt(r[n]+r[n],16);t&&(a[3]=parseInt(t+t,16)/255)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(r[n+1],0);r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}else{if(!(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(r=e.match(/^(\w+)$/))?"transparent"===r[1]?[0,0,0,0]:b.call(g,r[1])?((a=g[r[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(r[n+1]));r[4]&&(r[5]?a[3]=.01*parseFloat(r[4]):a[3]=parseFloat(r[4]))}for(n=0;n<3;n++)a[n]=v(a[n],0,255);return a[3]=v(a[3],0,1),a},y.get.hsl=function(e){if(!e)return null;var r=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.get.hwb=function(e){if(!e)return null;var r=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(r){var n=parseFloat(r[4]);return[(parseFloat(r[1])%360+360)%360,v(parseFloat(r[2]),0,100),v(parseFloat(r[3]),0,100),v(isNaN(n)?1:n,0,1)]}return null},y.to.hex=function(){var e=d(arguments);return"#"+m(e[0])+m(e[1])+m(e[2])+(e[3]<1?m(Math.round(255*e[3])):"")},y.to.rgb=function(){var e=d(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},y.to.rgb.percent=function(){var e=d(arguments),r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),t=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+r+"%, "+n+"%, "+t+"%)":"rgba("+r+"%, "+n+"%, "+t+"%, "+e[3]+")"},y.to.hsl=function(){var e=d(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},y.to.hwb=function(){var e=d(arguments),r="";return e.length>=4&&1!==e[3]&&(r=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+r+")"},y.to.keyword=function(e){return f[e.slice(0,3)]};const x=l,w={};for(const e of Object.keys(x))w[x[e]]=e;const k={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"]}};var M=k;for(const e of Object.keys(k)){if(!("channels"in k[e]))throw new Error("missing channels property: "+e);if(!("labels"in k[e]))throw new Error("missing channel labels property: "+e);if(k[e].labels.length!==k[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:r,labels:n}=k[e];delete k[e].channels,delete k[e].labels,Object.defineProperty(k[e],"channels",{value:r}),Object.defineProperty(k[e],"labels",{value:n})}k.rgb.hsl=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(r,n,t),o=Math.max(r,n,t),l=o-a;let s,i;o===a?s=0:r===o?s=(n-t)/l:n===o?s=2+(t-r)/l:t===o&&(s=4+(r-n)/l),s=Math.min(60*s,360),s<0&&(s+=360);const c=(a+o)/2;return i=o===a?0:c<=.5?l/(o+a):l/(2-o-a),[s,100*i,100*c]},k.rgb.hsv=function(e){let r,n,t,a,o;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),u=c-Math.min(l,s,i),h=function(e){return(c-e)/6/u+.5};return 0===u?(a=0,o=0):(o=u/c,r=h(l),n=h(s),t=h(i),l===c?a=t-n:s===c?a=1/3+r-t:i===c&&(a=2/3+n-r),a<0?a+=1:a>1&&(a-=1)),[360*a,100*o,100*c]},k.rgb.hwb=function(e){const r=e[0],n=e[1];let t=e[2];const a=k.rgb.hsl(e)[0],o=1/255*Math.min(r,Math.min(n,t));return t=1-1/255*Math.max(r,Math.max(n,t)),[a,100*o,100*t]},k.rgb.cmyk=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.min(1-r,1-n,1-t);return[100*((1-r-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-t-a)/(1-a)||0),100*a]},k.rgb.keyword=function(e){const r=w[e];if(r)return r;let n,t=1/0;for(const r of Object.keys(x)){const l=(o=x[r],((a=e)[0]-o[0])**2+(a[1]-o[1])**2+(a[2]-o[2])**2);l<t&&(t=l,n=r)}var a,o;return n},k.keyword.rgb=function(e){return x[e]},k.rgb.xyz=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;return[100*(.4124*r+.3576*n+.1805*t),100*(.2126*r+.7152*n+.0722*t),100*(.0193*r+.1192*n+.9505*t)]},k.rgb.lab=function(e){const r=k.rgb.xyz(e);let n=r[0],t=r[1],a=r[2];n/=95.047,t/=100,a/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;return[116*t-16,500*(n-t),200*(t-a)]},k.hsl.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;let a,o,l;if(0===n)return l=255*t,[l,l,l];a=t<.5?t*(1+n):t+n-t*n;const s=2*t-a,i=[0,0,0];for(let e=0;e<3;e++)o=r+1/3*-(e-1),o<0&&o++,o>1&&o--,l=6*o<1?s+6*(a-s)*o:2*o<1?a:3*o<2?s+(a-s)*(2/3-o)*6:s,i[e]=255*l;return i},k.hsl.hsv=function(e){const r=e[0];let n=e[1]/100,t=e[2]/100,a=n;const o=Math.max(t,.01);t*=2,n*=t<=1?t:2-t,a*=o<=1?o:2-o;return[r,100*(0===t?2*a/(o+a):2*n/(t+n)),100*((t+n)/2)]},k.hsv.rgb=function(e){const r=e[0]/60,n=e[1]/100;let t=e[2]/100;const a=Math.floor(r)%6,o=r-Math.floor(r),l=255*t*(1-n),s=255*t*(1-n*o),i=255*t*(1-n*(1-o));switch(t*=255,a){case 0:return[t,i,l];case 1:return[s,t,l];case 2:return[l,t,i];case 3:return[l,s,t];case 4:return[i,l,t];case 5:return[t,l,s]}},k.hsv.hsl=function(e){const r=e[0],n=e[1]/100,t=e[2]/100,a=Math.max(t,.01);let o,l;l=(2-n)*t;const s=(2-n)*a;return o=n*a,o/=s<=1?s:2-s,o=o||0,l/=2,[r,100*o,100*l]},k.hwb.rgb=function(e){const r=e[0]/360;let n=e[1]/100,t=e[2]/100;const a=n+t;let o;a>1&&(n/=a,t/=a);const l=Math.floor(6*r),s=1-t;o=6*r-l,0!=(1&l)&&(o=1-o);const i=n+o*(s-n);let c,u,h;switch(l){default:case 6:case 0:c=s,u=i,h=n;break;case 1:c=i,u=s,h=n;break;case 2:c=n,u=s,h=i;break;case 3:c=n,u=i,h=s;break;case 4:c=i,u=n,h=s;break;case 5:c=s,u=n,h=i}return[255*c,255*u,255*h]},k.cmyk.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,t*(1-a)+a))]},k.xyz.rgb=function(e){const r=e[0]/100,n=e[1]/100,t=e[2]/100;let a,o,l;return a=3.2406*r+-1.5372*n+-.4986*t,o=-.9689*r+1.8758*n+.0415*t,l=.0557*r+-.204*n+1.057*t,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,l=l>.0031308?1.055*l**(1/2.4)-.055:12.92*l,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),l=Math.min(Math.max(0,l),1),[255*a,255*o,255*l]},k.xyz.lab=function(e){let r=e[0],n=e[1],t=e[2];r/=95.047,n/=100,t/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116;return[116*n-16,500*(r-n),200*(n-t)]},k.lab.xyz=function(e){let r,n,t;n=(e[0]+16)/116,r=e[1]/500+n,t=n-e[2]/200;const a=n**3,o=r**3,l=t**3;return n=a>.008856?a:(n-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,r*=95.047,n*=100,t*=108.883,[r,n,t]},k.lab.lch=function(e){const r=e[0],n=e[1],t=e[2];let a;a=360*Math.atan2(t,n)/2/Math.PI,a<0&&(a+=360);return[r,Math.sqrt(n*n+t*t),a]},k.lch.lab=function(e){const r=e[0],n=e[1],t=e[2]/360*2*Math.PI;return[r,n*Math.cos(t),n*Math.sin(t)]},k.rgb.ansi16=function(e,r=null){const[n,t,a]=e;let o=null===r?k.rgb.hsv(e)[2]:r;if(o=Math.round(o/50),0===o)return 30;let l=30+(Math.round(a/255)<<2|Math.round(t/255)<<1|Math.round(n/255));return 2===o&&(l+=60),l},k.hsv.ansi16=function(e){return k.rgb.ansi16(k.hsv.rgb(e),e[2])},k.rgb.ansi256=function(e){const r=e[0],n=e[1],t=e[2];if(r===n&&n===t)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(t/255*5)},k.ansi16.rgb=function(e){let r=e%10;if(0===r||7===r)return e>50&&(r+=3.5),r=r/10.5*255,[r,r,r];const n=.5*(1+~~(e>50));return[(1&r)*n*255,(r>>1&1)*n*255,(r>>2&1)*n*255]},k.ansi256.rgb=function(e){if(e>=232){const r=10*(e-232)+8;return[r,r,r]}let r;e-=16;return[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},k.rgb.hex=function(e){const r=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(r.length)+r},k.hex.rgb=function(e){const r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];let n=r[0];3===r[0].length&&(n=n.split("").map((e=>e+e)).join(""));const t=parseInt(n,16);return[t>>16&255,t>>8&255,255&t]},k.rgb.hcg=function(e){const r=e[0]/255,n=e[1]/255,t=e[2]/255,a=Math.max(Math.max(r,n),t),o=Math.min(Math.min(r,n),t),l=a-o;let s,i;return s=l<1?o/(1-l):0,i=l<=0?0:a===r?(n-t)/l%6:a===n?2+(t-r)/l:4+(r-n)/l,i/=6,i%=1,[360*i,100*l,100*s]},k.hsl.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=n<.5?2*r*n:2*r*(1-n);let a=0;return t<1&&(a=(n-.5*t)/(1-t)),[e[0],100*t,100*a]},k.hsv.hcg=function(e){const r=e[1]/100,n=e[2]/100,t=r*n;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.hcg.rgb=function(e){const r=e[0]/360,n=e[1]/100,t=e[2]/100;if(0===n)return[255*t,255*t,255*t];const a=[0,0,0],o=r%1*6,l=o%1,s=1-l;let i=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=l,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=l;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=l,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return i=(1-n)*t,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},k.hcg.hsv=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);let t=0;return n>0&&(t=r/n),[e[0],100*t,100*n]},k.hcg.hsl=function(e){const r=e[1]/100,n=e[2]/100*(1-r)+.5*r;let t=0;return n>0&&n<.5?t=r/(2*n):n>=.5&&n<1&&(t=r/(2*(1-n))),[e[0],100*t,100*n]},k.hcg.hwb=function(e){const r=e[1]/100,n=r+e[2]/100*(1-r);return[e[0],100*(n-r),100*(1-n)]},k.hwb.hcg=function(e){const r=e[1]/100,n=1-e[2]/100,t=n-r;let a=0;return t<1&&(a=(n-t)/(1-t)),[e[0],100*t,100*a]},k.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},k.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},k.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},k.gray.hsl=function(e){return[0,0,e[0]]},k.gray.hsv=k.gray.hsl,k.gray.hwb=function(e){return[0,100,e[0]]},k.gray.cmyk=function(e){return[0,0,0,e[0]]},k.gray.lab=function(e){return[e[0],0,0]},k.gray.hex=function(e){const r=255&Math.round(e[0]/100*255),n=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(n.length)+n},k.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const q=M;function j(e){const r=function(){const e={},r=Object.keys(q);for(let n=r.length,t=0;t<n;t++)e[r[t]]={distance:-1,parent:null};return e}(),n=[e];for(r[e].distance=0;n.length;){const e=n.pop(),t=Object.keys(q[e]);for(let a=t.length,o=0;o<a;o++){const a=t[o],l=r[a];-1===l.distance&&(l.distance=r[e].distance+1,l.parent=e,n.unshift(a))}}return r}function $(e,r){return function(n){return r(e(n))}}function E(e,r){const n=[r[e].parent,e];let t=q[r[e].parent][e],a=r[e].parent;for(;r[a].parent;)n.unshift(r[a].parent),t=$(q[r[a].parent][a],t),a=r[a].parent;return t.conversion=n,t}const O=M,A=function(e){const r=j(e),n={},t=Object.keys(r);for(let e=t.length,a=0;a<e;a++){const e=t[a];null!==r[e].parent&&(n[e]=E(e,r))}return n},F={};Object.keys(O).forEach((e=>{F[e]={},Object.defineProperty(F[e],"channels",{value:O[e].channels}),Object.defineProperty(F[e],"labels",{value:O[e].labels});const r=A(e);Object.keys(r).forEach((n=>{const t=r[n];F[e][n]=function(e){const r=function(...r){const n=r[0];if(null==n)return n;n.length>1&&(r=n);const t=e(r);if("object"==typeof t)for(let e=t.length,r=0;r<e;r++)t[r]=Math.round(t[r]);return t};return"conversion"in e&&(r.conversion=e.conversion),r}(t),F[e][n].raw=function(e){const r=function(...r){const n=r[0];return null==n?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(r.conversion=e.conversion),r}(t)}))}));var z=F;const U=o.exports,S=z,D=["keyword","gray","hex"],L={};for(const e of Object.keys(S))L[[...S[e].labels].sort().join("")]=e;const _={};function T(e,r){if(!(this instanceof T))return new T(e,r);if(r&&r in D&&(r=null),r&&!(r in S))throw new Error("Unknown model: "+r);let n,t;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof T)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const r=U.get(e);if(null===r)throw new Error("Unable to parse color from string: "+e);this.model=r.model,t=S[this.model].channels,this.color=r.value.slice(0,t),this.valpha="number"==typeof r.value[t]?r.value[t]:1}else if(e.length>0){this.model=r||"rgb",t=S[this.model].channels;const n=Array.prototype.slice.call(e,0,t);this.color=R(n,t),this.valpha="number"==typeof e[t]?e[t]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const t=r.sort().join("");if(!(t in L))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=L[t];const{labels:a}=S[this.model],o=[];for(n=0;n<a.length;n++)o.push(e[a[n]]);this.color=R(o)}if(_[this.model])for(t=S[this.model].channels,n=0;n<t;n++){const e=_[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}T.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let r=this.model in U.to?this:this.rgb();r=r.round("number"==typeof e?e:1);const n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to[r.model](n)},percentString(e){const r=this.rgb().round("number"==typeof e?e:1),n=1===r.valpha?r.color:[...r.color,this.valpha];return U.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:r}=S[this.model],{labels:n}=S[this.model];for(let t=0;t<r;t++)e[n[t]]=this.color[t];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new T([...this.color.map(P(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new T([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:C("rgb",0,I(255)),green:C("rgb",1,I(255)),blue:C("rgb",2,I(255)),hue:C(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:C("hsl",1,I(100)),lightness:C("hsl",2,I(100)),saturationv:C("hsv",1,I(100)),value:C("hsv",2,I(100)),chroma:C("hcg",1,I(100)),gray:C("hcg",2,I(100)),white:C("hwb",1,I(100)),wblack:C("hwb",2,I(100)),cyan:C("cmyk",0,I(100)),magenta:C("cmyk",1,I(100)),yellow:C("cmyk",2,I(100)),black:C("cmyk",3,I(100)),x:C("xyz",0,I(95.047)),y:C("xyz",1,I(100)),z:C("xyz",2,I(108.833)),l:C("lab",0,I(100)),a:C("lab",1),b:C("lab",2),keyword(e){return void 0!==e?new T(e):S[this.model].keyword(this.color)},hex(e){return void 0!==e?new T(e):U.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new T(e);const r=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),U.to.hex(r)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,r=[];for(const[n,t]of e.entries()){const e=t/255;r[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(e){const r=this.luminosity(),n=e.luminosity();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},level(e){const r=this.contrast(e);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let r=0;r<3;r++)e.color[r]=255-e.color[r];return e},lighten(e){const r=this.hsl();return r.color[2]+=r.color[2]*e,r},darken(e){const r=this.hsl();return r.color[2]-=r.color[2]*e,r},saturate(e){const r=this.hsl();return r.color[1]+=r.color[1]*e,r},desaturate(e){const r=this.hsl();return r.color[1]-=r.color[1]*e,r},whiten(e){const r=this.hwb();return r.color[1]+=r.color[1]*e,r},blacken(e){const r=this.hwb();return r.color[2]+=r.color[2]*e,r},grayscale(){const e=this.rgb().color,r=.3*e[0]+.59*e[1]+.11*e[2];return T.rgb(r,r,r)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const r=this.hsl();let n=r.color[0];return n=(n+e)%360,n=n<0?360+n:n,r.color[0]=n,r},mix(e,r){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),t=this.rgb(),a=void 0===r?.5:r,o=2*a-1,l=n.alpha()-t.alpha(),s=((o*l==-1?o:(o+l)/(1+o*l))+1)/2,i=1-s;return T.rgb(s*n.red()+i*t.red(),s*n.green()+i*t.green(),s*n.blue()+i*t.blue(),n.alpha()*a+t.alpha()*(1-a))}};for(const e of Object.keys(S)){if(D.includes(e))continue;const{channels:r}=S[e];T.prototype[e]=function(...r){return this.model===e?new T(this):r.length>0?new T(r,e):new T([...(n=S[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},T[e]=function(...n){let t=n[0];return"number"==typeof t&&(t=R(n,r)),new T(t,e)}}function P(e){return function(r){return function(e,r){return Number(e.toFixed(r))}(r,e)}}function C(e,r,n){e=Array.isArray(e)?e:[e];for(const t of e)(_[t]||(_[t]=[]))[r]=n;return e=e[0],function(t){let a;return void 0!==t?(n&&(t=n(t)),a=this[e](),a.color[r]=t,a):(a=this[e]().color[r],n&&(a=n(a)),a)}}function I(e){return function(r){return Math.max(0,Math.min(e,r))}}function R(e,r){for(let n=0;n<r;n++)"number"!=typeof e[n]&&(e[n]=0);return e}var N=T;const G=a((function({addUtilities:r}){r({":root":{...Object.keys(e).reduce(((r,n)=>{const t=e[n];if(t.includes("#")){const e=N(t).rgb().array().join(" ");r[`--${n}`]=t,r[`--${n}-rgb`]=e}else r[`--${n}`]=t;return r}),{})}})})),H=a((function({addUtilities:e,theme:r}){const n=r("linearGradientColors"),t=Object.keys(n);try{t.forEach((r=>{e({[`.fill-gradient-b-${r}`]:{fill:`url(#gradient-b-${r})`},[`.fill-gradient-t-${r}`]:{fill:`url(#gradient-t-${r})`},[`.fill-gradient-br-${r}`]:{fill:`url(#gradient-br-${r})`},[`.fill-gradient-tl-${r}`]:{fill:`url(#gradient-tl-${r})`}})}))}catch(e){console.error(e)}})),J="(0|100|200|300|400|500|600|700|800|900)",W="(salesforce|hubspot|segment|marketo|facebook|twitter|linkedin|github)",B="(blue|aqua|navy|indigo|purple|green|yellow|red|gray)",K={content:["./src/**/*.{html,js,jsx,tsx,ts}"],plugins:[H,G],safelist:[{pattern:new RegExp("border-"+B)},{pattern:new RegExp("border-"+B+"-"+J)},{pattern:new RegExp("border-"+W)},{pattern:new RegExp("bg-"+B)},{pattern:new RegExp("bg-"+B+"-"+J)},{pattern:new RegExp("bg-"+W)},{pattern:/gradient-/},{pattern:new RegExp("text-"+B),variant:["hover"]},{pattern:new RegExp("text-"+B+"-"+J),variant:["hover"]},{pattern:new RegExp("text-"+W),variant:["hover"]}],theme:{extend:{borderRadius:{none:"0",px:"1px",xs:"0.125rem",sm:"0.25rem",DEFAULT:"0.375rem",md:"0.5rem",lg:"0.625rem",full:"9999px"},boxShadow:e=>(e=>({xs:`0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,sm:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.500")}, .15)`,DEFAULT:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 2px 1px rgba(${e("colors.black")}, .05)`,md:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 2px rgba(${e("colors.gray.600")}, .15), 0 2px 8px rgba(${e("colors.gray.600")}, .1)`,lg:`0 0 0 1px rgba(${e("colors.navy.300")}, .05), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px rgba(${e("colors.gray.600")}, .2)`,xl:`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 1px 3px rgba(${e("colors.gray.600")}, .15), 0 3px 15px 2px rgba(${e("colors.gray.600")}, .2)`,"2xl":`0 0 0 1px rgba(${e("colors.navy.300")}, .15), 0 4px 8px rgba(${e("colors.gray.600")}, .15), 0 6px 24px 10px rgba(${e("colors.gray.600")}, .2)`,inner:`inset 0 0 1px 1px rgba(${e("colors.gray.400")}, .15), inset 0 1px 3px rgba(${e("colors.gray.500")}, .15), inset 0 0 0 1px rgba(${e("colors.navy.300")}, .15)`,inset:`inset 0 0 0 1px rgba(${e("colors.navy.400")}, .15)`,none:"none"}))(e),colors:r,fontFamily:{sans:["avenir\\ next","avenir","helvetica\\ neue","helvetica","Ubuntu","roboto","noto","segoe\\ ui","arial","sans-serif"],serif:["Iowan\\ Old\\ Style","Apple\\ Garamond","Baskerville","Times\\ New\\ Roman","Droid\\ Serif","Times","Source\\ Serif\\ Pro","serif","Apple\\ Color\\ Emoji","Segoe\\ UI\\ Emoji","Segoe\\ UI\\ Symbol"],mono:["Menlo","Consolas","Monaco","Liberation\\ Mono","Lucida\\ Console","monospace"]},fontSize:{xxs:"0.75rem",xs:"0.8125rem",sm:"0.875rem",base:"0.9375rem",md:"1rem",lg:"1.0625rem",xl:"1.5rem"},gradientColorStops:e=>e("colors"),inset:{1:"1px","-1":"-1px","1/2":"50%","-1/2":"-50%"},linearGradientColors:{blue:["var(--blue-300)","var(--blue-500)"],navy:["var(--navy-400)","var(--navy-500)"],aqua:["var(--aqua-300)","var(--aqua-500)"],indigo:["var(--indigo-300)","var(--indigo-500)"],purple:["var(--purple-300)","var(--purple-500)"],yellow:["var(--yellow-300)","var(--yellow-500)"],red:["var(--red-300)","var(--red-500)"],green:["var(--green-300)","var(--green-500)"],gray:["var(--gray-400)","var(--gray-500)"],azure:["var(--blue-300)","var(--blue-500)"],orchid:["var(--indigo-400)","var(--purple-400)"],malibu:["var(--purple-300)","var(--red-300)"],tropic:["var(--blue-200)","var(--green-300)"],sky:["var(--aqua-500)","var(--aqua-300)"],midnight:["var(--navy-500)","var(--navy-300)"],black:["var(--gray-600)","var(--gray-900)"],silver:["var(--gray-200)","var(--gray-400)"],ice:["var(--gray-0)","var(--gray-200)"],x:["var(--purple-500)","var(--indigo-500)"],royale:["var(--facebook)","var(--indigo-400)"],metal:["var(--gray-400)","var(--gray-600)"]},maxHeight:e=>e("maxWidth"),minHeight:e=>e("spacing"),minWidth:e=>e("spacing"),opacity:{"05":".05",10:".1",20:".2",30:".3",40:".4",60:".6",70:".7",80:".8",90:".9"},spacing:{7:"1.75rem",9:"2.25rem",84:"21rem",85:"21.25rem",xxs:"var(--size-xxs)",xs:"var(--size-xs)",sm:"var(--size-sm)",md:"var(--size-md)",lg:"var(--size-lg)",xl:"var(--size-xl)",xxl:"var(--size-xxl)"}}}};module.exports=K;
//# sourceMappingURL=index.js.map
{
"name": "@clearkit/css",
"version": "0.11.0-alpha.0",
"version": "0.11.1-alpha.0",
"description": "ClearKit CSS",

@@ -64,3 +64,3 @@ "main": "dist/index.js",

},
"gitHead": "d63f739bd6c6807980075afe5127a171b8bbdec6"
"gitHead": "d9216c61960c8d90f600c67279ae0a7e6e4fe38f"
}

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