Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

polished

Package Overview
Dependencies
Maintainers
3
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polished - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

dist/polished.min.js

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

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(e.polished=e.polished||{})}(this,function(e){"use strict";function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function t(e,t){if(!e)return t.toLowerCase();var n=e.split("-");if(n.length>1)return n.splice(1,0,t),n.reduce(function(e,t){return""+e+r(t)});var o=e.replace(/([a-z])([A-Z])/g,"$1"+t+"$2");return e===o?""+e+t:o}function n(e,r){for(var n={},o=0;o<r.length;o+=1)r[o]&&(n[t(e,Ee[o])]=r[o]);return n}function o(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];var a=t[0],i=t[1],u=void 0===i?a:i,s=t[2],l=void 0===s?a:s,f=t[3];return n(e,[a,u,l,void 0===f?u:f])}function a(e){var r=parseFloat(e);return isNaN(r)?e:r}function i(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1em",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"perfectFourth";if("number"!=typeof e)throw new Error("Please provide a number of steps to the modularScale helper.");if("string"==typeof t&&!Pe[t])throw new Error("Please pass a number or one of the predefined scales to the modularScale helper as the ratio.");var n="string"==typeof r?a(r):r,o="string"==typeof t?Pe[t]:t;if("string"==typeof n)throw new Error('Invalid value passed as base to modularScale, expected number or em string but got "'+r+'"');return n*Math.pow(o,e)+"em"}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"&";return Re({},e+"::after",{clear:"both",content:'""',display:"table"})}function s(){return{display:"inline-block",maxWidth:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"}}function l(e,r){return r.map(function(r){return'url("'+e+"."+r+'")'}).join(", ")}function f(e){return e.map(function(e){return'local("'+e+'")'}).join(", ")}function d(e,r,t){var n=[];return r&&n.push(f(r)),e&&n.push(l(e,t)),n.join(", ")}function c(e){var r=e.fontFamily,t=e.fontFilePath,n=e.fontStretch,o=e.fontStyle,a=e.fontVariant,i=e.fontWeight,u=e.fileFormats,s=void 0===u?["eot","woff2","woff","ttf","svg"]:u,l=e.localFonts,f=e.unicodeRange;if(!r)throw new Error("fontFace expects a name of a font-family.");if(!t&&!l)throw new Error("fontFace expects either the path to the font file(s) or a name of a local copy.");if(l&&!Array.isArray(l))throw new Error("fontFace expects localFonts to be an array.");if(!Array.isArray(s))throw new Error("fontFace expects fileFormats to be an array.");var c={"@font-face":{fontFamily:r,src:d(t,l,s),unicodeRange:f,fontStretch:n,fontStyle:o,fontVariant:a,fontWeight:i}};return JSON.parse(JSON.stringify(c))}function p(){return{textIndent:"101%",overflow:"hidden",whiteSpace:"nowrap"}}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.3;return"\n @media only screen and (-webkit-min-device-pixel-ratio: "+e+"),\n only screen and (min--moz-device-pixel-ratio: "+e+"),\n only screen and (-o-min-device-pixel-ratio: "+e+"/1),\n only screen and (min-resolution: "+Math.round(96*e)+"dpi),\n only screen and (min-resolution: "+e+"dppx)\n "}function h(e,r){var t=qe({},e);return Object.keys(r).forEach(function(e){t[e]?t[e]=qe({},t[e],r[e]):t[e]=qe({},r[e])}),t}function g(e){return e?We:h(We,Me)}function m(e){var r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&";return r={},Re(r,t+"::-webkit-input-placeholder",qe({},e)),Re(r,t+":-moz-placeholder",qe({},e)),Re(r,t+"::-moz-placeholder",qe({},e)),Re(r,t+":-ms-input-placeholder",qe({},e)),r}function y(e){return e[0].split(" ")[0]}function v(e){for(var r="",t=0;t<e.length;t+=1)r+=e[t],3===t&&(arguments.length<=t+1?void 0:arguments[t+1])&&((arguments.length<=1?void 0:arguments[1])||(arguments.length<=2?void 0:arguments[2])||(arguments.length<=3?void 0:arguments[3]))?(r=r.slice(0,-1),r+=", "+(arguments.length<=t+1?void 0:arguments[t+1])):3!==t||arguments.length<=t+1||!arguments[t+1]||(arguments.length<=1?void 0:arguments[1])||(arguments.length<=2?void 0:arguments[2])||(arguments.length<=3?void 0:arguments[3])?(arguments.length<=t+1?void 0:arguments[t+1])&&(r+=(arguments.length<=t+1?void 0:arguments[t+1])+" "):r+=""+(arguments.length<=t+1?void 0:arguments[t+1]);return r.trim()}function w(e){var r=e.colorStops,t=e.extent,n=e.fallback,o=e.position,a=e.shape;if(!r||r.length<2)throw new Error("radialGradient requries at least 2 color-stops to properly render.");return{backgroundColor:n||y(r),backgroundImage:v(Be,o,a,t,r.join(", "))}}function x(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"png",n=arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"_2x";if(!e)throw new Error("Please supply a filename to retinaImage() as the first argument.");var a=t.replace(/^\./,""),i=n?n+"."+a:""+e+o+"."+a;return Re({backgroundImage:"url("+e+"."+a+")"},b(),{backgroundImage:"url("+i+")",backgroundSize:r})}function k(e){var r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return r={},Re(r,t+"::-moz-selection",qe({},e)),Re(r,t+"::selection",qe({},e)),r}function z(e){return Qe[e]}function S(e){var r=e.pointingDirection,t=e.height,n=e.width,o=e.foregroundColor,a=e.backgroundColor,i=void 0===a?"transparent":a,u=parseFloat(t),s=parseFloat(n);if(isNaN(u)||isNaN(s))throw new Error("Passed an invalid value to `height` or `width`. Please provide a pixel based unit");return Re({borderColor:i,width:"0",height:"0",borderWidth:He(r,u,s),borderStyle:"solid"},"border"+Ne[r]+"Color",o+" !important")}function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"break-word";return{overflowWrap:e,wordWrap:e,wordBreak:"break-word"===e?"break-all":e}}function j(e){return Math.round(255*e)}function E(e,r,t){return j(e)+","+j(r)+","+j(t)}function A(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:E;if(0===r)return n(t,t,t);var o=e%360/60,a=(1-Math.abs(2*t-1))*r,i=a*(1-Math.abs(o%2-1)),u=0,s=0,l=0;o>=0&&o<1?(u=a,s=i):o>=1&&o<2?(u=i,s=a):o>=2&&o<3?(s=a,l=i):o>=3&&o<4?(s=i,l=a):o>=4&&o<5?(u=i,l=a):o>=5&&o<6&&(u=a,l=i);var f=t-a/2;return n(u+f,s+f,l+f)}function O(e){if("string"!=typeof e)return e;var r=e.toLowerCase();return $e[r]?"#"+$e[r]:e}function F(e){if("string"!=typeof e)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");var r=O(e);if(r.match(Le))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(De))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};var t=_e.exec(r);if(t)return{red:parseInt(""+t[1],10),green:parseInt(""+t[2],10),blue:parseInt(""+t[3],10)};var n=Ge.exec(r);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10),alpha:parseFloat(""+n[4])};var o=Je.exec(r);if(o){var a=parseInt(""+o[1],10),i=parseInt(""+o[2],10)/100,u=parseInt(""+o[3],10)/100,s="rgb("+A(a,i,u)+")",l=_e.exec(s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var f=Ue.exec(r);if(f){var d=parseInt(""+f[1],10),c=parseInt(""+f[2],10)/100,p=parseInt(""+f[3],10)/100,b="rgb("+A(d,c,p)+")",h=_e.exec(b);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10),alpha:parseFloat(""+f[4])}}throw new Error("Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.")}function P(e){var r=e.red/255,t=e.green/255,n=e.blue/255,o=Math.max(r,t,n),a=Math.min(r,t,n),i=(o+a)/2;if(o===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u=void 0,s=o-a,l=i>.5?s/(2-o-a):s/(o+a);switch(o){case r:u=(t-n)/s+(t<n?6:0);break;case t:u=(n-r)/s+2;break;default:u=(r-t)/s+4}return u*=60,void 0!==e.alpha?{hue:u,saturation:l,lightness:i,alpha:e.alpha}:{hue:u,saturation:l,lightness:i}}function C(e){return P(F(e))}function T(e){var r=e.toString(16);return 1===r.length?"0"+r:r}function R(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return Ve("#"+T(e)+T(r)+T(t));if("object"===(void 0===e?"undefined":Te(e))&&void 0===r&&void 0===t)return Ve("#"+T(e.red)+T(e.green)+T(e.blue));throw new Error("Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).")}function q(e,r,t,n){if("string"==typeof e&&"number"==typeof r){var o=F(e);return"rgba("+o.red+","+o.green+","+o.blue+","+r+")"}if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof n)return n>=1?R(e,r,t):"rgba("+e+","+r+","+t+","+n+")";if("object"===(void 0===e?"undefined":Te(e))&&void 0===r&&void 0===t&&void 0===n)return e.alpha>=1?R(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Error("Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).")}function M(e){return T(Math.round(255*e))}function W(e,r,t){return Ve("#"+M(e)+M(r)+M(t))}function B(e,r,t){return A(e,r,t,W)}function Q(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return B(e,r,t);if("object"===(void 0===e?"undefined":Te(e))&&void 0===r&&void 0===t)return B(e.hue,e.saturation,e.lightness);throw new Error("Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).")}function H(e,r,t,n){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof n)return n>=1?B(e,r,t):"rgba("+A(e,r,t)+","+n+")";if("object"===(void 0===e?"undefined":Te(e))&&void 0===r&&void 0===t&&void 0===n)return e.alpha>=1?B(e.hue,e.saturation,e.lightness):"rgba("+A(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Error("Passed invalid arguments to hsla, please pass multiple numbers e.g. hsl(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).")}function N(e){if(Ze(e))return q(e);if(Ye(e))return R(e);if(Xe(e))return H(e);if(Ke(e))return Q(e);throw new Error("Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.")}function $(e,r,t){return function(){var n=t.concat(Array.prototype.slice.call(arguments));return n.length>=r?e.apply(this,n):$(e,r,n)}}function L(e){return $(e,e.length,[])}function D(e,r){var t=C(r);return N(qe({},t,{hue:(t.hue+e)%360}))}function _(e){var r=C(e);return N(qe({},r,{hue:(r.hue+180)%360}))}function G(e,r,t){return Math.max(e,Math.min(r,t))}function J(e,r){var t=C(r);return N(qe({},t,{lightness:G(0,1,t.lightness-e)}))}function U(e,r){var t=C(r);return N(qe({},t,{saturation:G(0,1,t.saturation-e)}))}function V(e){return N(qe({},C(e),{saturation:0}))}function Y(e){var r=F(e);return N(qe({},r,{red:255-r.red,green:255-r.green,blue:255-r.blue}))}function Z(e,r){var t=C(r);return N(qe({},t,{lightness:G(0,1,t.lightness+e)}))}function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.5,r=arguments[1],t=arguments[2],n=F(r),o=qe({},n,{alpha:"number"==typeof n.alpha?n.alpha:1}),a=F(t),i=qe({},a,{alpha:"number"==typeof a.alpha?a.alpha:1}),u=o.alpha-i.alpha,s=2*e-1,l=s*u==-1?s:s+u,f=1+s*u,d=(l/f+1)/2,c=1-d;return q({red:Math.floor(o.red*d+i.red*c),green:Math.floor(o.green*d+i.green*c),blue:Math.floor(o.blue*d+i.blue*c),alpha:o.alpha+(i.alpha-o.alpha)*(e/1)})}function X(e,r){var t=F(r),n="number"==typeof t.alpha?t.alpha:1;return q(qe({},t,{alpha:G(0,1,(100*n+100*e)/100)}))}function ee(e,r){var t=C(r);return N(qe({},t,{saturation:G(0,1,t.saturation+e)}))}function re(e,r){return N(qe({},C(r),{hue:e}))}function te(e,r){return N(qe({},C(r),{lightness:e}))}function ne(e,r){return N(qe({},C(r),{saturation:e}))}function oe(e,r){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to shade, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof r)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return or(e,r,"rgb(0, 0, 0)")}function ae(e,r){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to tint, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof r)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return or(e,r,"rgb(255, 255, 255)")}function ie(e,r){var t=F(r),n="number"==typeof t.alpha?t.alpha:1;return q(qe({},t,{alpha:G(0,1,(100*n-100*e)/100)}))}function ue(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=Array.isArray(r[0]);if(!n&&r.length>8)throw new Error("The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation");return{animation:r.map(function(e){if(n&&!Array.isArray(e)||!n&&Array.isArray(e))throw new Error("To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')");if(Array.isArray(e)&&e.length>8)throw new Error("The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation");return Array.isArray(e)?e.join(" "):e}).join(", ")}}function se(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return{backgroundImage:r.join(", ")}}function le(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return{background:r.join(", ")}}function fe(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["borderColor"].concat(r))}function de(e,t){var n=r(e);if(!t||"string"!=typeof t)throw new Error("borderRadius expects a radius value as a string as the second argument.");if("Top"===n||"Bottom"===n){var o;return o={},Re(o,"border"+n+"RightRadius",t),Re(o,"border"+n+"LeftRadius",t),o}if("Left"===n||"Right"===n){var a;return a={},Re(a,"borderTop"+n+"Radius",t),Re(a,"borderBottom"+n+"Radius",t),a}throw new Error('borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.')}function ce(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["borderStyle"].concat(r))}function pe(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["borderWidth"].concat(r))}function be(e,r){return e(r?":"+r:"")}function he(e,r,t){if(!r)throw new Error("You must provide a template to this method.");if(0===e.length)return be(r,null);for(var n=[],o=0;o<e.length;o+=1){if(t&&t.indexOf(e[o])<0)throw new Error("You passed an unsupported selector state to this method.");n.push(be(r,e[o]))}return n=n.join(",")}function ge(e){return"button"+e+',\n input[type="button"]'+e+',\n input[type="reset"]'+e+',\n input[type="submit"]'+e}function me(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return he(r,ge,pr)}function ye(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["margin"].concat(r))}function ve(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["padding"].concat(r))}function we(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];if(br.indexOf(e)>=0)return qe({position:e},o.apply(void 0,[""].concat(t)));var a=e;return o.apply(void 0,["",a].concat(t))}function xe(e){return{height:e,width:arguments.length>1&&void 0!==arguments[1]?arguments[1]:e}}function ke(e){return'input[type="color"]'+e+',\n input[type="date"]'+e+',\n input[type="datetime"]'+e+',\n input[type="datetime-local"]'+e+',\n input[type="email"]'+e+',\n input[type="month"]'+e+',\n input[type="number"]'+e+',\n input[type="password"]'+e+',\n input[type="search"]'+e+',\n input[type="tel"]'+e+',\n input[type="text"]'+e+',\n input[type="time"]'+e+',\n input[type="url"]'+e+',\n input[type="week"]'+e+",\n input:not([type])"+e+",\n textarea"+e}function ze(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return he(r,ke,hr)}function Se(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return{transition:r.join(", ")}}var Ie,je,Ee=["Top","Right","Bottom","Left"],Ae=function(e,r){return e.substr(-r.length)===r},Oe=function(e){return function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"16px",n=r,o=t;if("string"==typeof r){if(!Ae(r,"px"))throw new Error('Expected a string ending in "px" or a number passed as the first argument to '+e+'(), got "'+r+'" instead.');n=a(r)}if("string"==typeof t){if(!Ae(t,"px"))throw new Error('Expected a string ending in "px" or a number passed as the second argument to '+e+'(), got "'+t+'" instead.');o=a(t)}if("string"==typeof n)throw new Error('Passed invalid pixel value ("'+r+'") to '+e+'(), please pass a value like "12px" or 12.');if("string"==typeof o)throw new Error('Passed invalid base value ("'+t+'") to '+e+'(), please pass a value like "12px" or 12.');return""+n/o+e}},Fe=Oe("em"),Pe={minorSecond:1.067,majorSecond:1.125,minorThird:1.2,majorThird:1.25,perfectFourth:1.333,augFourth:1.414,perfectFifth:1.5,minorSixth:1.6,goldenSection:1.618,majorSixth:1.667,minorSeventh:1.778,majorSeventh:1.875,octave:2,majorTenth:2.5,majorEleventh:2.667,majorTwelfth:3,doubleOctave:4},Ce=Oe("rem"),Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re=function(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e},qe=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Me=(Ie={html:{fontFamily:"sans-serif"},body:{margin:"0"}},Re(Ie,"a:active,\n a:hover",{outlineWidth:"0"}),Re(Ie,"button,\n input,\n optgroup,\n select,\n textarea",{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15"}),Ie),We=(je={html:{lineHeight:"1.15",textSizeAdjust:"100%"}},Re(je,"article,\n aside,\n footer,\n header,\n nav,\n section",{display:"block"}),Re(je,"h1",{fontSize:"2em",margin:"0.67em 0"}),Re(je,"figcaption,\n figure,\n main",{display:"block"}),Re(je,"figure",{margin:"1em 40px"}),Re(je,"hr",{boxSizing:"content-box",height:"0",overflow:"visible"}),Re(je,"pre",{fontFamily:"monospace, monospace",fontSize:"1em"}),Re(je,"a",{"background-color":"transparent","-webkit-text-decoration-skip":"objects"}),Re(je,"abbr[title]",Re({borderBottom:"none",textDecoration:"underline"},"textDecoration","underline dotted")),Re(je,"b,\n strong",{fontWeight:"inherit"}),Re(je,"code,\n kbd,\n samp",{fontFamily:"monospace, monospace",fontSize:"1em"}),Re(je,"dfn",{fontStyle:"italic"}),Re(je,"mark",{backgroundColor:"#ff0",color:"#000"}),Re(je,"small",{fontSize:"80%"}),Re(je,"sub,\n sup",{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"}),Re(je,"sub",{bottom:"-0.25em"}),Re(je,"sup",{top:"-0.5em"}),Re(je,"audio,\n video",{display:"inline-block"}),Re(je,"audio:not([controls])",{display:"none",height:"0"}),Re(je,"img",{borderStyle:"none"}),Re(je,"svg:not(:root)",{overflow:"hidden"}),Re(je,"button,\n input,\n optgroup,\n select,\n textarea",{margin:"0"}),Re(je,"button,\n input",{overflow:"visible"}),Re(je,"button,\n select",{textTransform:"none"}),Re(je,'button,\n html [type="button"],\n [type="reset"],\n [type="submit"]',{"-webkit-appearance":"button"}),Re(je,'button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner',{borderStyle:"none",padding:"0"}),Re(je,'button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring',{outline:"1px dotted ButtonText"}),Re(je,"fieldset",{border:"1px solid #c0c0c0",margin:"0 2px",padding:"0.35em 0.625em 0.75em"}),Re(je,"legend",{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:"0",whiteSpace:"normal"}),Re(je,"progress",{display:"inline-block",verticalAlign:"baseline"}),Re(je,"textarea",{overflow:"auto"}),Re(je,'[type="checkbox"],\n [type="radio"]',{boxSizing:"border-box",padding:"0"}),Re(je,'[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button',{height:"auto"}),Re(je,'[type="search"]',{"-webkit-appearance":"textfield",outlineOffset:"-2px"}),Re(je,'[type="search"]::-webkit-search-cancel-button,\n [type="search"]::-webkit-search-decoration',{"-webkit-appearance":"none"}),Re(je,"::-webkit-file-upload-button",{"-webkit-appearance":"button",font:"inherit"}),Re(je,"details,\n menu",{display:"block"}),Re(je,"summary",{display:"list-item"}),Re(je,"canvas",{display:"inline-block"}),Re(je,"template",{display:"none"}),Re(je,"[hidden]",{display:"none"}),je),Be=function(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}(["radial-gradient(","","","",")"],["radial-gradient(","","","",")"]),Qe={easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",easeInCirc:"cubic-bezier(0.600, 0.040, 0.980, 0.335)",easeInCubic:"cubic-bezier(0.550, 0.055, 0.675, 0.190)",easeInExpo:"cubic-bezier(0.950, 0.050, 0.795, 0.035)",easeInQuad:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",easeInQuart:"cubic-bezier(0.895, 0.030, 0.685, 0.220)",easeInQuint:"cubic-bezier(0.755, 0.050, 0.855, 0.060)",easeInSine:"cubic-bezier(0.470, 0.000, 0.745, 0.715)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",easeOutCubic:"cubic-bezier(0.215, 0.610, 0.355, 1.000)",easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutExpo:"cubic-bezier(0.190, 1.000, 0.220, 1.000)",easeOutQuad:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",easeOutQuart:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",easeOutQuint:"cubic-bezier(0.230, 1.000, 0.320, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutBack:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.150, 0.860)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1.000)",easeInOutExpo:"cubic-bezier(1.000, 0.000, 0.000, 1.000)",easeInOutQuad:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",easeInOutQuart:"cubic-bezier(0.770, 0.000, 0.175, 1.000)",easeInOutQuint:"cubic-bezier(0.860, 0.000, 0.070, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},He=function(e,r,t){switch(e){case"top":return"0 "+t/2+"px "+r+"px "+t/2+"px";case"left":return r/2+"px "+t+"px "+r/2+"px 0";case"bottom":return r+"px "+t/2+"px 0 "+t/2+"px";case"right":return r/2+"px 0 "+r/2+"px "+t+"px";default:throw new Error("Passed invalid argument to triangle, please pass correct poitingDirection e.g. 'right'.")}},Ne={left:"Right",right:"Left",top:"Bottom",bottom:"Top"},$e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Le=/^#[a-fA-F0-9]{6}$/,De=/^#[a-fA-F0-9]{3}$/,_e=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,Ge=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/,Je=/^hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/,Ue=/^hsla\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/,Ve=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},Ye=function(e){return"object"===(void 0===e?"undefined":Te(e))&&"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"!=typeof e.alpha},Ze=function(e){return"object"===(void 0===e?"undefined":Te(e))&&"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Ke=function(e){return"object"===(void 0===e?"undefined":Te(e))&&"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"!=typeof e.alpha},Xe=function(e){return"object"===(void 0===e?"undefined":Te(e))&&"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha},er=L(D),rr=L(J),tr=L(U),nr=L(Z),or=L(K),ar=L(X),ir=L(ee),ur=L(re),sr=L(te),lr=L(ne),fr=L(oe),dr=L(ae),cr=L(ie),pr=[void 0,null,"active","focus","hover"],br=["absolute","fixed","relative","static","sticky"],hr=[void 0,null,"active","focus","hover"];e.adjustHue=er,e.animation=ue,e.backgroundImages=se,e.backgrounds=le,e.borderColor=fe,e.borderRadius=de,e.borderStyle=ce,e.borderWidth=pe,e.buttons=me,e.clearFix=u,e.complement=_,e.darken=rr,e.desaturate=tr,e.directionalProperty=o,e.ellipsis=s,e.em=Fe,e.fontFace=c,e.grayscale=V,e.invert=Y,e.hideText=p,e.hiDPI=b,e.hsl=Q,e.hsla=H,e.lighten=nr,e.margin=ye,e.mix=or,e.modularScale=i,e.normalize=g,e.opacify=ar,e.padding=ve,e.parseToHsl=C,e.parseToRgb=F,e.placeholder=m,e.position=we,e.radialGradient=w,e.rem=Ce,e.retinaImage=x,e.rgb=R,e.rgba=q,e.saturate=ir,e.selection=k,e.setHue=ur,e.setLightness=sr,e.setSaturation=lr,e.shade=fr,e.size=xe,e.stripUnit=a,e.textInputs=ze,e.timingFunctions=z,e.tint=dr,e.toColorString=N,e.transitions=Se,e.transparentize=cr,e.triangle=S,e.wordWrap=I,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(e.polished=e.polished||{})}(this,function(e){"use strict";function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function t(e,t){if(!e)return t.toLowerCase();var n=e.split("-");if(n.length>1)return n.splice(1,0,t),n.reduce(function(e,t){return""+e+r(t)});var o=e.replace(/([a-z])([A-Z])/g,"$1"+t+"$2");return e===o?""+e+t:o}function n(e,r){for(var n={},o=0;o<r.length;o+=1)r[o]&&(n[t(e,Ae[o])]=r[o]);return n}function o(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];var a=t[0],i=t[1],u=void 0===i?a:i,l=t[2],s=void 0===l?a:l,f=t[3];return n(e,[a,u,s,void 0===f?u:f])}function a(e){var r=parseFloat(e);return isNaN(r)?e:r}function i(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1em",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"perfectFourth";if("number"!=typeof e)throw new Error("Please provide a number of steps to the modularScale helper.");if("string"==typeof t&&!Ce[t])throw new Error("Please pass a number or one of the predefined scales to the modularScale helper as the ratio.");var n="string"==typeof r?a(r):r,o="string"==typeof t?Ce[t]:t;if("string"==typeof n)throw new Error('Invalid value passed as base to modularScale, expected number or em string but got "'+r+'"');return n*Math.pow(o,e)+"em"}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"&";return Me({},e+"::after",{clear:"both",content:'""',display:"table"})}function l(){return{display:"inline-block",maxWidth:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"}}function s(e,r){return r.map(function(r){return'url("'+e+"."+r+'")'}).join(", ")}function f(e){return e.map(function(e){return'local("'+e+'")'}).join(", ")}function d(e,r,t){var n=[];return r&&n.push(f(r)),e&&n.push(s(e,t)),n.join(", ")}function c(e){var r=e.fontFamily,t=e.fontFilePath,n=e.fontStretch,o=e.fontStyle,a=e.fontVariant,i=e.fontWeight,u=e.fileFormats,l=void 0===u?["eot","woff2","woff","ttf","svg"]:u,s=e.localFonts,f=e.unicodeRange;if(!r)throw new Error("fontFace expects a name of a font-family.");if(!t&&!s)throw new Error("fontFace expects either the path to the font file(s) or a name of a local copy.");if(s&&!Array.isArray(s))throw new Error("fontFace expects localFonts to be an array.");if(!Array.isArray(l))throw new Error("fontFace expects fileFormats to be an array.");var c={"@font-face":{fontFamily:r,src:d(t,s,l),unicodeRange:f,fontStretch:n,fontStyle:o,fontVariant:a,fontWeight:i}};return JSON.parse(JSON.stringify(c))}function p(){return{textIndent:"101%",overflow:"hidden",whiteSpace:"nowrap"}}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.3;return"\n @media only screen and (-webkit-min-device-pixel-ratio: "+e+"),\n only screen and (min--moz-device-pixel-ratio: "+e+"),\n only screen and (-o-min-device-pixel-ratio: "+e+"/1),\n only screen and (min-resolution: "+Math.round(96*e)+"dpi),\n only screen and (min-resolution: "+e+"dppx)\n "}function h(e,r){var t=qe({},e);return Object.keys(r).forEach(function(e){t[e]?t[e]=qe({},t[e],r[e]):t[e]=qe({},r[e])}),t}function g(e){return e?Be:h(Be,We)}function m(e){var r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&";return r={},Me(r,t+"::-webkit-input-placeholder",qe({},e)),Me(r,t+":-moz-placeholder",qe({},e)),Me(r,t+"::-moz-placeholder",qe({},e)),Me(r,t+":-ms-input-placeholder",qe({},e)),r}function y(e){return e[0].split(" ")[0]}function v(e){for(var r="",t=0;t<e.length;t+=1)r+=e[t],3===t&&(arguments.length<=t+1?void 0:arguments[t+1])&&((arguments.length<=1?void 0:arguments[1])||(arguments.length<=2?void 0:arguments[2])||(arguments.length<=3?void 0:arguments[3]))?(r=r.slice(0,-1),r+=", "+(arguments.length<=t+1?void 0:arguments[t+1])):3!==t||arguments.length<=t+1||!arguments[t+1]||(arguments.length<=1?void 0:arguments[1])||(arguments.length<=2?void 0:arguments[2])||(arguments.length<=3?void 0:arguments[3])?(arguments.length<=t+1?void 0:arguments[t+1])&&(r+=(arguments.length<=t+1?void 0:arguments[t+1])+" "):r+=""+(arguments.length<=t+1?void 0:arguments[t+1]);return r.trim()}function w(e){var r=e.colorStops,t=e.extent,n=e.fallback,o=e.position,a=e.shape;if(!r||r.length<2)throw new Error("radialGradient requries at least 2 color-stops to properly render.");return{backgroundColor:n||y(r),backgroundImage:v(Qe,o,a,t,r.join(", "))}}function x(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"png",n=arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"_2x";if(!e)throw new Error("Please supply a filename to retinaImage() as the first argument.");var a=t.replace(/^\./,""),i=n?n+"."+a:""+e+o+"."+a;return Me({backgroundImage:"url("+e+"."+a+")"},b(),{backgroundImage:"url("+i+")",backgroundSize:r})}function k(e){var r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return r={},Me(r,t+"::-moz-selection",qe({},e)),Me(r,t+"::selection",qe({},e)),r}function z(e){return He[e]}function S(e){var r=e.pointingDirection,t=e.height,n=e.width,o=e.foregroundColor,a=e.backgroundColor,i=void 0===a?"transparent":a,u=parseFloat(t),l=parseFloat(n);if(isNaN(u)||isNaN(l))throw new Error("Passed an invalid value to `height` or `width`. Please provide a pixel based unit");return Me({borderColor:i,width:"0",height:"0",borderWidth:Ne(r,u,l),borderStyle:"solid"},"border"+$e[r]+"Color",o+" !important")}function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"break-word";return{overflowWrap:e,wordWrap:e,wordBreak:"break-word"===e?"break-all":e}}function j(e){return Math.round(255*e)}function E(e,r,t){return j(e)+","+j(r)+","+j(t)}function A(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:E;if(0===r)return n(t,t,t);var o=e%360/60,a=(1-Math.abs(2*t-1))*r,i=a*(1-Math.abs(o%2-1)),u=0,l=0,s=0;o>=0&&o<1?(u=a,l=i):o>=1&&o<2?(u=i,l=a):o>=2&&o<3?(l=a,s=i):o>=3&&o<4?(l=i,s=a):o>=4&&o<5?(u=i,s=a):o>=5&&o<6&&(u=a,s=i);var f=t-a/2;return n(u+f,l+f,s+f)}function O(e){if("string"!=typeof e)return e;var r=e.toLowerCase();return Le[r]?"#"+Le[r]:e}function F(e){if("string"!=typeof e)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");var r=O(e);if(r.match(De))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(_e))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};var t=Ge.exec(r);if(t)return{red:parseInt(""+t[1],10),green:parseInt(""+t[2],10),blue:parseInt(""+t[3],10)};var n=Je.exec(r);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10),alpha:parseFloat(""+n[4])};var o=Ue.exec(r);if(o){var a=parseInt(""+o[1],10),i=parseInt(""+o[2],10)/100,u=parseInt(""+o[3],10)/100,l="rgb("+A(a,i,u)+")",s=Ge.exec(l);return{red:parseInt(""+s[1],10),green:parseInt(""+s[2],10),blue:parseInt(""+s[3],10)}}var f=Ve.exec(r);if(f){var d=parseInt(""+f[1],10),c=parseInt(""+f[2],10)/100,p=parseInt(""+f[3],10)/100,b="rgb("+A(d,c,p)+")",h=Ge.exec(b);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10),alpha:parseFloat(""+f[4])}}throw new Error("Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.")}function P(e){var r=e.red/255,t=e.green/255,n=e.blue/255,o=Math.max(r,t,n),a=Math.min(r,t,n),i=(o+a)/2;if(o===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u=void 0,l=o-a,s=i>.5?l/(2-o-a):l/(o+a);switch(o){case r:u=(t-n)/l+(t<n?6:0);break;case t:u=(n-r)/l+2;break;default:u=(r-t)/l+4}return u*=60,void 0!==e.alpha?{hue:u,saturation:s,lightness:i,alpha:e.alpha}:{hue:u,saturation:s,lightness:i}}function C(e){return P(F(e))}function T(e){var r=e.toString(16);return 1===r.length?"0"+r:r}function R(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return Ye("#"+T(e)+T(r)+T(t));if("object"===(void 0===e?"undefined":Re(e))&&void 0===r&&void 0===t)return Ye("#"+T(e.red)+T(e.green)+T(e.blue));throw new Error("Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).")}function M(e,r,t,n){if("string"==typeof e&&"number"==typeof r){var o=F(e);return"rgba("+o.red+","+o.green+","+o.blue+","+r+")"}if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof n)return n>=1?R(e,r,t):"rgba("+e+","+r+","+t+","+n+")";if("object"===(void 0===e?"undefined":Re(e))&&void 0===r&&void 0===t&&void 0===n)return e.alpha>=1?R(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Error("Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).")}function q(e){return T(Math.round(255*e))}function W(e,r,t){return Ye("#"+q(e)+q(r)+q(t))}function B(e,r,t){return A(e,r,t,W)}function Q(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return B(e,r,t);if("object"===(void 0===e?"undefined":Re(e))&&void 0===r&&void 0===t)return B(e.hue,e.saturation,e.lightness);throw new Error("Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).")}function H(e,r,t,n){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof n)return n>=1?B(e,r,t):"rgba("+A(e,r,t)+","+n+")";if("object"===(void 0===e?"undefined":Re(e))&&void 0===r&&void 0===t&&void 0===n)return e.alpha>=1?B(e.hue,e.saturation,e.lightness):"rgba("+A(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Error("Passed invalid arguments to hsla, please pass multiple numbers e.g. hsl(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).")}function N(e){if(Ke(e))return M(e);if(Ze(e))return R(e);if(er(e))return H(e);if(Xe(e))return Q(e);throw new Error("Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.")}function $(e,r,t){return function(){var n=t.concat(Array.prototype.slice.call(arguments));return n.length>=r?e.apply(this,n):$(e,r,n)}}function L(e){return $(e,e.length,[])}function D(e,r){var t=C(r);return N(qe({},t,{hue:(t.hue+e)%360}))}function _(e){var r=C(e);return N(qe({},r,{hue:(r.hue+180)%360}))}function G(e,r,t){return Math.max(e,Math.min(r,t))}function J(e,r){var t=C(r);return N(qe({},t,{lightness:G(0,1,t.lightness-e)}))}function U(e,r){var t=C(r);return N(qe({},t,{saturation:G(0,1,t.saturation-e)}))}function V(e){return N(qe({},C(e),{saturation:0}))}function Y(e){var r=F(e);return N(qe({},r,{red:255-r.red,green:255-r.green,blue:255-r.blue}))}function Z(e,r){var t=C(r);return N(qe({},t,{lightness:G(0,1,t.lightness+e)}))}function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.5,r=arguments[1],t=arguments[2],n=F(r),o=qe({},n,{alpha:"number"==typeof n.alpha?n.alpha:1}),a=F(t),i=qe({},a,{alpha:"number"==typeof a.alpha?a.alpha:1}),u=o.alpha-i.alpha,l=2*e-1,s=l*u==-1?l:l+u,f=1+l*u,d=(s/f+1)/2,c=1-d;return M({red:Math.floor(o.red*d+i.red*c),green:Math.floor(o.green*d+i.green*c),blue:Math.floor(o.blue*d+i.blue*c),alpha:o.alpha+(i.alpha-o.alpha)*(e/1)})}function X(e,r){var t=F(r),n="number"==typeof t.alpha?t.alpha:1;return M(qe({},t,{alpha:G(0,1,(100*n+100*e)/100)}))}function ee(e){var r=F(e);return.2126*ur(r.red)+.7152*ur(r.green)+.0722*ur(r.blue)>.179?"#000":"#fff"}function re(e,r){var t=C(r);return N(qe({},t,{saturation:G(0,1,t.saturation+e)}))}function te(e,r){return N(qe({},C(r),{hue:e}))}function ne(e,r){return N(qe({},C(r),{lightness:e}))}function oe(e,r){return N(qe({},C(r),{saturation:e}))}function ae(e,r){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to shade, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof r)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return ar(e,r,"rgb(0, 0, 0)")}function ie(e,r){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to tint, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof r)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return ar(e,r,"rgb(255, 255, 255)")}function ue(e,r){var t=F(r),n="number"==typeof t.alpha?t.alpha:1;return M(qe({},t,{alpha:G(0,1,(100*n-100*e)/100)}))}function le(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=Array.isArray(r[0]);if(!n&&r.length>8)throw new Error("The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation");return{animation:r.map(function(e){if(n&&!Array.isArray(e)||!n&&Array.isArray(e))throw new Error("To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')");if(Array.isArray(e)&&e.length>8)throw new Error("The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation");return Array.isArray(e)?e.join(" "):e}).join(", ")}}function se(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return{backgroundImage:r.join(", ")}}function fe(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return{background:r.join(", ")}}function de(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["borderColor"].concat(r))}function ce(e,t){var n=r(e);if(!t||"string"!=typeof t)throw new Error("borderRadius expects a radius value as a string as the second argument.");if("Top"===n||"Bottom"===n){var o;return o={},Me(o,"border"+n+"RightRadius",t),Me(o,"border"+n+"LeftRadius",t),o}if("Left"===n||"Right"===n){var a;return a={},Me(a,"borderTop"+n+"Radius",t),Me(a,"borderBottom"+n+"Radius",t),a}throw new Error('borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.')}function pe(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["borderStyle"].concat(r))}function be(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["borderWidth"].concat(r))}function he(e,r){return e(r?":"+r:"")}function ge(e,r,t){if(!r)throw new Error("You must provide a template to this method.");if(0===e.length)return he(r,null);for(var n=[],o=0;o<e.length;o+=1){if(t&&t.indexOf(e[o])<0)throw new Error("You passed an unsupported selector state to this method.");n.push(he(r,e[o]))}return n=n.join(",")}function me(e){return"button"+e+',\n input[type="button"]'+e+',\n input[type="reset"]'+e+',\n input[type="submit"]'+e}function ye(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return ge(r,me,gr)}function ve(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["margin"].concat(r))}function we(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return o.apply(void 0,["padding"].concat(r))}function xe(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];if(mr.indexOf(e)>=0)return qe({position:e},o.apply(void 0,[""].concat(t)));var a=e;return o.apply(void 0,["",a].concat(t))}function ke(e){return{height:e,width:arguments.length>1&&void 0!==arguments[1]?arguments[1]:e}}function ze(e){return'input[type="color"]'+e+',\n input[type="date"]'+e+',\n input[type="datetime"]'+e+',\n input[type="datetime-local"]'+e+',\n input[type="email"]'+e+',\n input[type="month"]'+e+',\n input[type="number"]'+e+',\n input[type="password"]'+e+',\n input[type="search"]'+e+',\n input[type="tel"]'+e+',\n input[type="text"]'+e+',\n input[type="time"]'+e+',\n input[type="url"]'+e+',\n input[type="week"]'+e+",\n input:not([type])"+e+",\n textarea"+e}function Se(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return ge(r,ze,yr)}function Ie(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return{transition:r.join(", ")}}var je,Ee,Ae=["Top","Right","Bottom","Left"],Oe=function(e,r){return e.substr(-r.length)===r},Fe=function(e){return function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"16px",n=r,o=t;if("string"==typeof r){if(!Oe(r,"px"))throw new Error('Expected a string ending in "px" or a number passed as the first argument to '+e+'(), got "'+r+'" instead.');n=a(r)}if("string"==typeof t){if(!Oe(t,"px"))throw new Error('Expected a string ending in "px" or a number passed as the second argument to '+e+'(), got "'+t+'" instead.');o=a(t)}if("string"==typeof n)throw new Error('Passed invalid pixel value ("'+r+'") to '+e+'(), please pass a value like "12px" or 12.');if("string"==typeof o)throw new Error('Passed invalid base value ("'+t+'") to '+e+'(), please pass a value like "12px" or 12.');return""+n/o+e}},Pe=Fe("em"),Ce={minorSecond:1.067,majorSecond:1.125,minorThird:1.2,majorThird:1.25,perfectFourth:1.333,augFourth:1.414,perfectFifth:1.5,minorSixth:1.6,goldenSection:1.618,majorSixth:1.667,minorSeventh:1.778,majorSeventh:1.875,octave:2,majorTenth:2.5,majorEleventh:2.667,majorTwelfth:3,doubleOctave:4},Te=Fe("rem"),Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me=function(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e},qe=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},We=(je={html:{fontFamily:"sans-serif"},body:{margin:"0"}},Me(je,"a:active,\n a:hover",{outlineWidth:"0"}),Me(je,"button,\n input,\n optgroup,\n select,\n textarea",{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15"}),je),Be=(Ee={html:{lineHeight:"1.15",textSizeAdjust:"100%"}},Me(Ee,"article,\n aside,\n footer,\n header,\n nav,\n section",{display:"block"}),Me(Ee,"h1",{fontSize:"2em",margin:"0.67em 0"}),Me(Ee,"figcaption,\n figure,\n main",{display:"block"}),Me(Ee,"figure",{margin:"1em 40px"}),Me(Ee,"hr",{boxSizing:"content-box",height:"0",overflow:"visible"}),Me(Ee,"pre",{fontFamily:"monospace, monospace",fontSize:"1em"}),Me(Ee,"a",{"background-color":"transparent","-webkit-text-decoration-skip":"objects"}),Me(Ee,"abbr[title]",Me({borderBottom:"none",textDecoration:"underline"},"textDecoration","underline dotted")),Me(Ee,"b,\n strong",{fontWeight:"inherit"}),Me(Ee,"code,\n kbd,\n samp",{fontFamily:"monospace, monospace",fontSize:"1em"}),Me(Ee,"dfn",{fontStyle:"italic"}),Me(Ee,"mark",{backgroundColor:"#ff0",color:"#000"}),Me(Ee,"small",{fontSize:"80%"}),Me(Ee,"sub,\n sup",{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"}),Me(Ee,"sub",{bottom:"-0.25em"}),Me(Ee,"sup",{top:"-0.5em"}),Me(Ee,"audio,\n video",{display:"inline-block"}),Me(Ee,"audio:not([controls])",{display:"none",height:"0"}),Me(Ee,"img",{borderStyle:"none"}),Me(Ee,"svg:not(:root)",{overflow:"hidden"}),Me(Ee,"button,\n input,\n optgroup,\n select,\n textarea",{margin:"0"}),Me(Ee,"button,\n input",{overflow:"visible"}),Me(Ee,"button,\n select",{textTransform:"none"}),Me(Ee,'button,\n html [type="button"],\n [type="reset"],\n [type="submit"]',{"-webkit-appearance":"button"}),Me(Ee,'button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner',{borderStyle:"none",padding:"0"}),Me(Ee,'button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring',{outline:"1px dotted ButtonText"}),Me(Ee,"fieldset",{border:"1px solid #c0c0c0",margin:"0 2px",padding:"0.35em 0.625em 0.75em"}),Me(Ee,"legend",{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:"0",whiteSpace:"normal"}),Me(Ee,"progress",{display:"inline-block",verticalAlign:"baseline"}),Me(Ee,"textarea",{overflow:"auto"}),Me(Ee,'[type="checkbox"],\n [type="radio"]',{boxSizing:"border-box",padding:"0"}),Me(Ee,'[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button',{height:"auto"}),Me(Ee,'[type="search"]',{"-webkit-appearance":"textfield",outlineOffset:"-2px"}),Me(Ee,'[type="search"]::-webkit-search-cancel-button,\n [type="search"]::-webkit-search-decoration',{"-webkit-appearance":"none"}),Me(Ee,"::-webkit-file-upload-button",{"-webkit-appearance":"button",font:"inherit"}),Me(Ee,"details,\n menu",{display:"block"}),Me(Ee,"summary",{display:"list-item"}),Me(Ee,"canvas",{display:"inline-block"}),Me(Ee,"template",{display:"none"}),Me(Ee,"[hidden]",{display:"none"}),Ee),Qe=function(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}(["radial-gradient(","","","",")"],["radial-gradient(","","","",")"]),He={easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",easeInCirc:"cubic-bezier(0.600, 0.040, 0.980, 0.335)",easeInCubic:"cubic-bezier(0.550, 0.055, 0.675, 0.190)",easeInExpo:"cubic-bezier(0.950, 0.050, 0.795, 0.035)",easeInQuad:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",easeInQuart:"cubic-bezier(0.895, 0.030, 0.685, 0.220)",easeInQuint:"cubic-bezier(0.755, 0.050, 0.855, 0.060)",easeInSine:"cubic-bezier(0.470, 0.000, 0.745, 0.715)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",easeOutCubic:"cubic-bezier(0.215, 0.610, 0.355, 1.000)",easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutExpo:"cubic-bezier(0.190, 1.000, 0.220, 1.000)",easeOutQuad:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",easeOutQuart:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",easeOutQuint:"cubic-bezier(0.230, 1.000, 0.320, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutBack:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.150, 0.860)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1.000)",easeInOutExpo:"cubic-bezier(1.000, 0.000, 0.000, 1.000)",easeInOutQuad:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",easeInOutQuart:"cubic-bezier(0.770, 0.000, 0.175, 1.000)",easeInOutQuint:"cubic-bezier(0.860, 0.000, 0.070, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},Ne=function(e,r,t){switch(e){case"top":return"0 "+t/2+"px "+r+"px "+t/2+"px";case"left":return r/2+"px "+t+"px "+r/2+"px 0";case"bottom":return r+"px "+t/2+"px 0 "+t/2+"px";case"right":return r/2+"px 0 "+r/2+"px "+t+"px";default:throw new Error("Passed invalid argument to triangle, please pass correct poitingDirection e.g. 'right'.")}},$e={left:"Right",right:"Left",top:"Bottom",bottom:"Top"},Le={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},De=/^#[a-fA-F0-9]{6}$/,_e=/^#[a-fA-F0-9]{3}$/,Ge=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,Je=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/,Ue=/^hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/,Ve=/^hsla\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/,Ye=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},Ze=function(e){return"object"===(void 0===e?"undefined":Re(e))&&"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"!=typeof e.alpha},Ke=function(e){return"object"===(void 0===e?"undefined":Re(e))&&"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Xe=function(e){return"object"===(void 0===e?"undefined":Re(e))&&"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"!=typeof e.alpha},er=function(e){return"object"===(void 0===e?"undefined":Re(e))&&"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha},rr=L(D),tr=L(J),nr=L(U),or=L(Z),ar=L(K),ir=L(X),ur=function(e){return e/255<=.03928?e/255/12.92:Math.pow((e/255+.055)/1.055,2.4)},lr=L(ee),sr=L(re),fr=L(te),dr=L(ne),cr=L(oe),pr=L(ae),br=L(ie),hr=L(ue),gr=[void 0,null,"active","focus","hover"],mr=["absolute","fixed","relative","static","sticky"],yr=[void 0,null,"active","focus","hover"];e.adjustHue=rr,e.animation=le,e.backgroundImages=se,e.backgrounds=fe,e.borderColor=de,e.borderRadius=ce,e.borderStyle=pe,e.borderWidth=be,e.buttons=ye,e.clearFix=u,e.complement=_,e.darken=tr,e.desaturate=nr,e.directionalProperty=o,e.ellipsis=l,e.em=Pe,e.fontFace=c,e.grayscale=V,e.invert=Y,e.hideText=p,e.hiDPI=b,e.hsl=Q,e.hsla=H,e.lighten=or,e.margin=ve,e.mix=ar,e.modularScale=i,e.normalize=g,e.opacify=ir,e.padding=we,e.parseToHsl=C,e.parseToRgb=F,e.placeholder=m,e.position=xe,e.radialGradient=w,e.readableColor=lr,e.rem=Te,e.retinaImage=x,e.rgb=R,e.rgba=M,e.saturate=sr,e.selection=k,e.setHue=fr,e.setLightness=dr,e.setSaturation=cr,e.shade=pr,e.size=ke,e.stripUnit=a,e.textInputs=Se,e.timingFunctions=z,e.tint=br,e.toColorString=N,e.transitions=Ie,e.transparentize=hr,e.triangle=S,e.wordWrap=I,Object.defineProperty(e,"__esModule",{value:!0})});

@@ -6,3 +6,3 @@ 'use strict';

});
exports.wordWrap = exports.triangle = exports.transparentize = exports.transitions = exports.toColorString = exports.tint = exports.timingFunctions = exports.textInputs = exports.stripUnit = exports.size = exports.shade = exports.setSaturation = exports.setLightness = exports.setHue = exports.selection = exports.saturate = exports.rgba = exports.rgb = exports.retinaImage = exports.rem = exports.radialGradient = exports.position = exports.placeholder = exports.parseToRgb = exports.parseToHsl = exports.padding = exports.opacify = exports.normalize = exports.modularScale = exports.mix = exports.margin = exports.lighten = exports.hsla = exports.hsl = exports.hiDPI = exports.hideText = exports.invert = exports.grayscale = exports.fontFace = exports.em = exports.ellipsis = exports.directionalProperty = exports.desaturate = exports.darken = exports.complement = exports.clearFix = exports.buttons = exports.borderWidth = exports.borderStyle = exports.borderRadius = exports.borderColor = exports.backgrounds = exports.backgroundImages = exports.animation = exports.adjustHue = undefined;
exports.wordWrap = exports.triangle = exports.transparentize = exports.transitions = exports.toColorString = exports.tint = exports.timingFunctions = exports.textInputs = exports.stripUnit = exports.size = exports.shade = exports.setSaturation = exports.setLightness = exports.setHue = exports.selection = exports.saturate = exports.rgba = exports.rgb = exports.retinaImage = exports.rem = exports.readableColor = exports.radialGradient = exports.position = exports.placeholder = exports.parseToRgb = exports.parseToHsl = exports.padding = exports.opacify = exports.normalize = exports.modularScale = exports.mix = exports.margin = exports.lighten = exports.hsla = exports.hsl = exports.hiDPI = exports.hideText = exports.invert = exports.grayscale = exports.fontFace = exports.em = exports.ellipsis = exports.directionalProperty = exports.desaturate = exports.darken = exports.complement = exports.clearFix = exports.buttons = exports.borderWidth = exports.borderStyle = exports.borderRadius = exports.borderColor = exports.backgrounds = exports.backgroundImages = exports.animation = exports.adjustHue = undefined;

@@ -133,2 +133,6 @@ var _directionalProperty = require('./helpers/directionalProperty');

var _readableColor = require('./color/readableColor');
var _readableColor2 = _interopRequireDefault(_readableColor);
var _rgb = require('./color/rgb');

@@ -235,3 +239,5 @@

// Mixins
// Color
// Helpers
exports.adjustHue = _adjustHue2.default;

@@ -272,2 +278,3 @@ exports.animation = _animation2.default;

exports.radialGradient = _radialGradient2.default;
exports.readableColor = _readableColor2.default;
exports.rem = _rem2.default;

@@ -294,4 +301,2 @@ exports.retinaImage = _retinaImage2.default;

// Color
// Helpers
// Mixins

@@ -14,3 +14,3 @@ 'use strict';

* const styles = {
* ...wordWrap('break-all')
* ...wordWrap('break-word')
* }

@@ -20,3 +20,3 @@ *

* const div = styled.div`
* ${wordWrap('break-all')}
* ${wordWrap('break-word')}
* `

@@ -27,4 +27,4 @@ *

* const styles = {
* overflowWrap: 'break-all',
* wordWrap: 'break-all',
* overflowWrap: 'break-word',
* wordWrap: 'break-word',
* wordBreak: 'break-all',

@@ -31,0 +31,0 @@ * }

@@ -117,3 +117,3 @@ {

"dependencies": {},
"version": "1.4.0"
"version": "1.4.1"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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