UNPKG

@bootstrap-styled/provider

Version:

BootstrapProvider and UtilityProvider components help you manage reset, global styles and original bootstrap class utilities

9 lines 239 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("styled-components")):"function"==typeof define&&define.amd?define(["exports","react","styled-components"],e):e((t=t||self)["@bootstrap-styled/provider"]={},t.React,t.styled)}(this,(function(t,e,r){"use strict";e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var n="default"in r?r.default:r;function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?s(t):e}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var o=l(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function g(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function p(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function b(t,e){return t(e={exports:{}},e.exports),e.exports /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */}var h="function"==typeof Symbol&&Symbol.for,$=h?Symbol.for("react.element"):60103,f=h?Symbol.for("react.portal"):60106,m=h?Symbol.for("react.fragment"):60107,v=h?Symbol.for("react.strict_mode"):60108,y=h?Symbol.for("react.profiler"):60114,w=h?Symbol.for("react.provider"):60109,x=h?Symbol.for("react.context"):60110,k=h?Symbol.for("react.async_mode"):60111,M=h?Symbol.for("react.concurrent_mode"):60111,z=h?Symbol.for("react.forward_ref"):60112,j=h?Symbol.for("react.suspense"):60113,S=h?Symbol.for("react.suspense_list"):60120,O=h?Symbol.for("react.memo"):60115,P=h?Symbol.for("react.lazy"):60116,_=h?Symbol.for("react.block"):60121,E=h?Symbol.for("react.fundamental"):60117,U=h?Symbol.for("react.responder"):60118,C=h?Symbol.for("react.scope"):60119;function T(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case $:switch(t=t.type){case k:case M:case m:case y:case v:case j:return t;default:switch(t=t&&t.$$typeof){case x:case z:case P:case O:case w:return t;default:return e}}case f:return e}}}function A(t){return T(t)===M}var F={AsyncMode:k,ConcurrentMode:M,ContextConsumer:x,ContextProvider:w,Element:$,ForwardRef:z,Fragment:m,Lazy:P,Memo:O,Portal:f,Profiler:y,StrictMode:v,Suspense:j,isAsyncMode:function(t){return A(t)||T(t)===k},isConcurrentMode:A,isContextConsumer:function(t){return T(t)===x},isContextProvider:function(t){return T(t)===w},isElement:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===$},isForwardRef:function(t){return T(t)===z},isFragment:function(t){return T(t)===m},isLazy:function(t){return T(t)===P},isMemo:function(t){return T(t)===O},isPortal:function(t){return T(t)===f},isProfiler:function(t){return T(t)===y},isStrictMode:function(t){return T(t)===v},isSuspense:function(t){return T(t)===j},isValidElementType:function(t){return"string"==typeof t||"function"==typeof t||t===m||t===M||t===y||t===v||t===j||t===S||"object"==typeof t&&null!==t&&(t.$$typeof===P||t.$$typeof===O||t.$$typeof===w||t.$$typeof===x||t.$$typeof===z||t.$$typeof===E||t.$$typeof===U||t.$$typeof===C||t.$$typeof===_)},typeOf:T},B=b((function(t,e){})),R=(B.AsyncMode,B.ConcurrentMode,B.ContextConsumer,B.ContextProvider,B.Element,B.ForwardRef,B.Fragment,B.Lazy,B.Memo,B.Portal,B.Profiler,B.StrictMode,B.Suspense,B.isAsyncMode,B.isConcurrentMode,B.isContextConsumer,B.isContextProvider,B.isElement,B.isForwardRef,B.isFragment,B.isLazy,B.isMemo,B.isPortal,B.isProfiler,B.isStrictMode,B.isSuspense,B.isValidElementType,B.typeOf,b((function(t){t.exports=F}))),I=(R.isValidElementType,R.isAsyncMode,R.isConcurrentMode,R.isContextConsumer,R.isContextProvider,R.isElement,R.isForwardRef,R.isFragment,R.isLazy,R.isMemo,R.isPortal,R.isProfiler,R.isStrictMode,R.isSuspense,R.AsyncMode,R.ConcurrentMode,R.ContextConsumer,R.ContextProvider,R.Element,R.ForwardRef,R.Fragment,R.Lazy,R.Memo,R.Portal,R.Profiler,R.StrictMode,R.Suspense,R.typeOf,Object.getOwnPropertySymbols),N=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;function V(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}})()&&Object.assign,Function.call.bind(Object.prototype.hasOwnProperty);function L(){}function D(){}D.resetWarningCache=L;var G=b((function(t){t.exports=function(){function t(t,e,r,n,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:D,resetWarningCache:L};return r.PropTypes=r,r}()}));function H(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function W(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function X(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?W(Object(r),!0).forEach((function(e){H(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function J(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var r=[],n=!0,o=!1,a=void 0;try{for(var i,l=t[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Z(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Y=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};var K=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t};function Q(t,e){return t(e={exports:{}},e.exports),e.exports}var tt={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]},et=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))},rt=Q((function(t){var e=Array.prototype.concat,r=Array.prototype.slice,n=t.exports=function(t){for(var n=[],o=0,a=t.length;o<a;o++){var i=t[o];et(i)?n=e.call(n,r.call(i)):n.push(i)}return n};n.wrap=function(t){return function(){return t(n(arguments))}}})),nt=Q((function(t){var e={};for(var r in tt)tt.hasOwnProperty(r)&&(e[tt[r]]=r);var n=t.exports={to:{},get:{}};function o(t,e,r){return Math.min(Math.max(e,t),r)}function a(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}n.get=function(t){var e,r;switch(t.substring(0,3).toLowerCase()){case"hsl":e=n.get.hsl(t),r="hsl";break;case"hwb":e=n.get.hwb(t),r="hwb";break;default:e=n.get.rgb(t),r="rgb"}return e?{model:r,value:e}:null},n.get.rgb=function(t){if(!t)return null;var e,r,n,a=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=e[2],e=e[1],r=0;r<3;r++){var i=2*r;a[r]=parseInt(e.slice(i,i+2),16)}n&&(a[3]=Math.round(parseInt(n,16)/255*100)/100)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(n=(e=e[1])[3],r=0;r<3;r++)a[r]=parseInt(e[r]+e[r],16);n&&(a[3]=Math.round(parseInt(n+n,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(r=0;r<3;r++)a[r]=parseInt(e[r+1],0);e[4]&&(a[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(e=t.match(/(\D+)/))?"transparent"===e[1]?[0,0,0,0]:(a=tt[e[1]])?(a[3]=1,a):null:null;for(r=0;r<3;r++)a[r]=Math.round(2.55*parseFloat(e[r+1]));e[4]&&(a[3]=parseFloat(e[4]))}for(r=0;r<3;r++)a[r]=o(a[r],0,255);return a[3]=o(a[3],0,1),a},n.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])+360)%360,o(parseFloat(e[2]),0,100),o(parseFloat(e[3]),0,100),o(isNaN(r)?1:r,0,1)]}return null},n.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,o(parseFloat(e[2]),0,100),o(parseFloat(e[3]),0,100),o(isNaN(r)?1:r,0,1)]}return null},n.to.hex=function(){var t=rt(arguments);return"#"+a(t[0])+a(t[1])+a(t[2])+(t[3]<1?a(Math.round(255*t[3])):"")},n.to.rgb=function(){var t=rt(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},n.to.rgb.percent=function(){var t=rt(arguments),e=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+r+"%, "+n+"%)":"rgba("+e+"%, "+r+"%, "+n+"%, "+t[3]+")"},n.to.hsl=function(){var t=rt(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},n.to.hwb=function(){var t=rt(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},n.to.keyword=function(t){return e[t.slice(0,3)]}})),ot=(nt.to,nt.get,Q((function(t){var e={};for(var r in tt)tt.hasOwnProperty(r)&&(e[tt[r]]=r);var n=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in n)if(n.hasOwnProperty(o)){if(!("channels"in n[o]))throw new Error("missing channels property: "+o);if(!("labels"in n[o]))throw new Error("missing channel labels property: "+o);if(n[o].labels.length!==n[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=n[o].channels,i=n[o].labels;delete n[o].channels,delete n[o].labels,Object.defineProperty(n[o],"channels",{value:a}),Object.defineProperty(n[o],"labels",{value:i})}n.rgb.hsl=function(t){var e,r,n=t[0]/255,o=t[1]/255,a=t[2]/255,i=Math.min(n,o,a),l=Math.max(n,o,a),c=l-i;return l===i?e=0:n===l?e=(o-a)/c:o===l?e=2+(a-n)/c:a===l&&(e=4+(n-o)/c),(e=Math.min(60*e,360))<0&&(e+=360),r=(i+l)/2,[e,100*(l===i?0:r<=.5?c/(l+i):c/(2-l-i)),100*r]},n.rgb.hsv=function(t){var e,r,n,o,a,i=t[0]/255,l=t[1]/255,c=t[2]/255,s=Math.max(i,l,c),d=s-Math.min(i,l,c),u=function(t){return(s-t)/6/d+.5};return 0===d?o=a=0:(a=d/s,e=u(i),r=u(l),n=u(c),i===s?o=n-r:l===s?o=1/3+e-n:c===s&&(o=2/3+r-e),o<0?o+=1:o>1&&(o-=1)),[360*o,100*a,100*s]},n.rgb.hwb=function(t){var e=t[0],r=t[1],o=t[2];return[n.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(r,o))*100,100*(o=1-1/255*Math.max(e,Math.max(r,o)))]},n.rgb.cmyk=function(t){var e,r=t[0]/255,n=t[1]/255,o=t[2]/255;return[100*((1-r-(e=Math.min(1-r,1-n,1-o)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-o-e)/(1-e)||0),100*e]},n.rgb.keyword=function(t){var r=e[t];if(r)return r;var n,o,a,i=1/0;for(var l in tt)if(tt.hasOwnProperty(l)){var c=(o=t,a=tt[l],Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c<i&&(i=c,n=l)}return n},n.keyword.rgb=function(t){return tt[t]},n.rgb.xyz=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*r+.0722*n),100*(.0193*e+.1192*r+.9505*n)]},n.rgb.lab=function(t){var e=n.rgb.xyz(t),r=e[0],o=e[1],a=e[2];return o/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(r-o),200*(o-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},n.hsl.rgb=function(t){var e,r,n,o,a,i=t[0]/360,l=t[1]/100,c=t[2]/100;if(0===l)return[a=255*c,a,a];e=2*c-(r=c<.5?c*(1+l):c+l-c*l),o=[0,0,0];for(var s=0;s<3;s++)(n=i+1/3*-(s-1))<0&&n++,n>1&&n--,a=6*n<1?e+6*(r-e)*n:2*n<1?r:3*n<2?e+(r-e)*(2/3-n)*6:e,o[s]=255*a;return o},n.hsl.hsv=function(t){var e=t[0],r=t[1]/100,n=t[2]/100,o=r,a=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,o*=a<=1?a:2-a,[e,100*(0===n?2*o/(a+o):2*r/(n+r)),(n+r)/2*100]},n.hsv.rgb=function(t){var e=t[0]/60,r=t[1]/100,n=t[2]/100,o=Math.floor(e)%6,a=e-Math.floor(e),i=255*n*(1-r),l=255*n*(1-r*a),c=255*n*(1-r*(1-a));switch(n*=255,o){case 0:return[n,c,i];case 1:return[l,n,i];case 2:return[i,n,c];case 3:return[i,l,n];case 4:return[c,i,n];case 5:return[n,i,l]}},n.hsv.hsl=function(t){var e,r,n,o=t[0],a=t[1]/100,i=t[2]/100,l=Math.max(i,.01);return n=(2-a)*i,r=a*l,[o,100*(r=(r/=(e=(2-a)*l)<=1?e:2-e)||0),100*(n/=2)]},n.hwb.rgb=function(t){var e,r,n,o,a,i,l,c=t[0]/360,s=t[1]/100,d=t[2]/100,u=s+d;switch(u>1&&(s/=u,d/=u),n=6*c-(e=Math.floor(6*c)),0!=(1&e)&&(n=1-n),o=s+n*((r=1-d)-s),e){default:case 6:case 0:a=r,i=o,l=s;break;case 1:a=o,i=r,l=s;break;case 2:a=s,i=r,l=o;break;case 3:a=s,i=o,l=r;break;case 4:a=o,i=s,l=r;break;case 5:a=r,i=s,l=o}return[255*a,255*i,255*l]},n.cmyk.rgb=function(t){var e=t[0]/100,r=t[1]/100,n=t[2]/100,o=t[3]/100;return[255*(1-Math.min(1,e*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]},n.xyz.rgb=function(t){var e,r,n,o=t[0]/100,a=t[1]/100,i=t[2]/100;return r=-.9689*o+1.8758*a+.0415*i,n=.0557*o+-.204*a+1.057*i,e=(e=3.2406*o+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(e=Math.min(Math.max(0,e),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},n.xyz.lab=function(t){var e=t[0],r=t[1],n=t[2];return r/=100,n/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(e-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},n.lab.xyz=function(t){var e,r,n,o=t[0];e=t[1]/500+(r=(o+16)/116),n=r-t[2]/200;var a=Math.pow(r,3),i=Math.pow(e,3),l=Math.pow(n,3);return r=a>.008856?a:(r-16/116)/7.787,e=i>.008856?i:(e-16/116)/7.787,n=l>.008856?l:(n-16/116)/7.787,[e*=95.047,r*=100,n*=108.883]},n.lab.lch=function(t){var e,r=t[0],n=t[1],o=t[2];return(e=360*Math.atan2(o,n)/2/Math.PI)<0&&(e+=360),[r,Math.sqrt(n*n+o*o),e]},n.lch.lab=function(t){var e,r=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[r,n*Math.cos(e),n*Math.sin(e)]},n.rgb.ansi16=function(t){var e=t[0],r=t[1],o=t[2],a=1 in arguments?arguments[1]:n.rgb.hsv(t)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(e/255));return 2===a&&(i+=60),i},n.hsv.ansi16=function(t){return n.rgb.ansi16(n.hsv.rgb(t),t[2])},n.rgb.ansi256=function(t){var e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},n.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var r=.5*(1+~~(t>50));return[(1&e)*r*255,(e>>1&1)*r*255,(e>>2&1)*r*255]},n.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var r;return t-=16,[Math.floor(t/36)/5*255,Math.floor((r=t%36)/6)/5*255,r%6/5*255]},n.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},n.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var r=e[0];3===e[0].length&&(r=r.split("").map((function(t){return t+t})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},n.rgb.hcg=function(t){var e,r=t[0]/255,n=t[1]/255,o=t[2]/255,a=Math.max(Math.max(r,n),o),i=Math.min(Math.min(r,n),o),l=a-i;return e=l<=0?0:a===r?(n-o)/l%6:a===n?2+(o-r)/l:4+(r-n)/l+4,e/=6,[360*(e%=1),100*l,100*(l<1?i/(1-l):0)]},n.hsl.hcg=function(t){var e,r=t[1]/100,n=t[2]/100,o=0;return(e=n<.5?2*r*n:2*r*(1-n))<1&&(o=(n-.5*e)/(1-e)),[t[0],100*e,100*o]},n.hsv.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=e*r,o=0;return n<1&&(o=(r-n)/(1-n)),[t[0],100*n,100*o]},n.hcg.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100;if(0===r)return[255*n,255*n,255*n];var o,a=[0,0,0],i=e%1*6,l=i%1,c=1-l;switch(Math.floor(i)){case 0:a[0]=1,a[1]=l,a[2]=0;break;case 1:a[0]=c,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]=c,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]=c}return o=(1-r)*n,[255*(r*a[0]+o),255*(r*a[1]+o),255*(r*a[2]+o)]},n.hcg.hsv=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e),n=0;return r>0&&(n=e/r),[t[0],100*n,100*r]},n.hcg.hsl=function(t){var e=t[1]/100,r=t[2]/100*(1-e)+.5*e,n=0;return r>0&&r<.5?n=e/(2*r):r>=.5&&r<1&&(n=e/(2*(1-r))),[t[0],100*n,100*r]},n.hcg.hwb=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e);return[t[0],100*(r-e),100*(1-r)]},n.hwb.hcg=function(t){var e=t[1]/100,r=1-t[2]/100,n=r-e,o=0;return n<1&&(o=(r-n)/(1-n)),[t[0],100*n,100*o]},n.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},n.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},n.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},n.gray.hsl=n.gray.hsv=function(t){return[0,0,t[0]]},n.gray.hwb=function(t){return[0,100,t[0]]},n.gray.cmyk=function(t){return[0,0,0,t[0]]},n.gray.lab=function(t){return[t[0],0,0]},n.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),r=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(r.length)+r},n.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}})));ot.rgb,ot.hsl,ot.hsv,ot.hwb,ot.cmyk,ot.xyz,ot.lab,ot.lch,ot.hex,ot.keyword,ot.ansi16,ot.ansi256,ot.hcg,ot.apple,ot.gray;function at(t){var e=function(){for(var t={},e=Object.keys(ot),r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}(),r=[t];for(e[t].distance=0;r.length;)for(var n=r.pop(),o=Object.keys(ot[n]),a=o.length,i=0;i<a;i++){var l=o[i],c=e[l];-1===c.distance&&(c.distance=e[n].distance+1,c.parent=n,r.unshift(l))}return e}function it(t,e){return function(r){return e(t(r))}}function lt(t,e){for(var r=[e[t].parent,t],n=ot[e[t].parent][t],o=e[t].parent;e[o].parent;)r.unshift(e[o].parent),n=it(ot[e[o].parent][o],n),o=e[o].parent;return n.conversion=r,n}var ct={};Object.keys(ot).forEach((function(t){ct[t]={},Object.defineProperty(ct[t],"channels",{value:ot[t].channels}),Object.defineProperty(ct[t],"labels",{value:ot[t].labels});var e=function(t){for(var e=at(t),r={},n=Object.keys(e),o=n.length,a=0;a<o;a++){var i=n[a];null!==e[i].parent&&(r[i]=lt(i,e))}return r}(t);Object.keys(e).forEach((function(r){var n=e[r];ct[t][r]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var r=t(e);if("object"==typeof r)for(var n=r.length,o=0;o<n;o++)r[o]=Math.round(r[o]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}(n),ct[t][r].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(n)}))}));var st=ct,dt=[].slice,ut=["keyword","gray","hex"],gt={};Object.keys(st).forEach((function(t){gt[dt.call(st[t].labels).sort().join("")]=t}));var pt={};function bt(t,e){if(!(this instanceof bt))return new bt(t,e);if(e&&e in ut&&(e=null),e&&!(e in st))throw new Error("Unknown model: "+e);var r,n;if(void 0===t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof bt)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if("string"==typeof t){var o=nt.get(t);if(null===o)throw new Error("Unable to parse color from string: "+t);this.model=o.model,n=st[this.model].channels,this.color=o.value.slice(0,n),this.valpha="number"==typeof o.value[n]?o.value[n]:1}else if(t.length){this.model=e||"rgb",n=st[this.model].channels;var a=dt.call(t,0,n);this.color=vt(a,n),this.valpha="number"==typeof t[n]?t[n]:1}else if("number"==typeof t)t&=16777215,this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;var i=Object.keys(t);"alpha"in t&&(i.splice(i.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var l=i.sort().join("");if(!(l in gt))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=gt[l];var c=st[this.model].labels,s=[];for(r=0;r<c.length;r++)s.push(t[c[r]]);this.color=vt(s)}if(pt[this.model])for(n=st[this.model].channels,r=0;r<n;r++){var d=pt[this.model][r];d&&(this.color[r]=d(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function ht(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function $t(t,e,r){return(t=Array.isArray(t)?t:[t]).forEach((function(t){(pt[t]||(pt[t]=[]))[e]=r})),t=t[0],function(n){var o;return arguments.length?(r&&(n=r(n)),(o=this[t]()).color[e]=n,o):(o=this[t]().color[e],r&&(o=r(o)),o)}}function ft(t){return function(e){return Math.max(0,Math.min(t,e))}}function mt(t){return Array.isArray(t)?t:[t]}function vt(t,e){for(var r=0;r<e;r++)"number"!=typeof t[r]&&(t[r]=0);return t}bt.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in nt.to?this:this.rgb(),r=1===(e=e.round("number"==typeof t?t:1)).valpha?e.color:e.color.concat(this.valpha);return nt.to[e.model](r)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),r=1===e.valpha?e.color:e.color.concat(this.valpha);return nt.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var t={},e=st[this.model].channels,r=st[this.model].labels,n=0;n<e;n++)t[r[n]]=this.color[n];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray:function(){var t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject:function(){var t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round:function(t){return t=Math.max(t||0,0),new bt(this.color.map(ht(t)).concat(this.valpha),this.model)},alpha:function(t){return arguments.length?new bt(this.color.concat(Math.max(0,Math.min(1,t))),this.model):this.valpha},red:$t("rgb",0,ft(255)),green:$t("rgb",1,ft(255)),blue:$t("rgb",2,ft(255)),hue:$t(["hsl","hsv","hsl","hwb","hcg"],0,(function(t){return(t%360+360)%360})),saturationl:$t("hsl",1,ft(100)),lightness:$t("hsl",2,ft(100)),saturationv:$t("hsv",1,ft(100)),value:$t("hsv",2,ft(100)),chroma:$t("hcg",1,ft(100)),gray:$t("hcg",2,ft(100)),white:$t("hwb",1,ft(100)),wblack:$t("hwb",2,ft(100)),cyan:$t("cmyk",0,ft(100)),magenta:$t("cmyk",1,ft(100)),yellow:$t("cmyk",2,ft(100)),black:$t("cmyk",3,ft(100)),x:$t("xyz",0,ft(100)),y:$t("xyz",1,ft(100)),z:$t("xyz",2,ft(100)),l:$t("lab",0,ft(100)),a:$t("lab",1),b:$t("lab",2),keyword:function(t){return arguments.length?new bt(t):st[this.model].keyword(this.color)},hex:function(t){return arguments.length?new bt(t):nt.to.hex(this.rgb().round().color)},rgbNumber:function(){var t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity:function(){for(var t=this.rgb().color,e=[],r=0;r<t.length;r++){var n=t[r]/255;e[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),r=t.luminosity();return e>r?(e+.05)/(r+.05):(r+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},isDark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return bt.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),r=e.color[0];return r=(r=(r+t)%360)<0?360+r:r,e.color[0]=r,e},mix:function(t,e){var r=t.rgb(),n=this.rgb(),o=void 0===e?.5:e,a=2*o-1,i=r.alpha()-n.alpha(),l=((a*i==-1?a:(a+i)/(1+a*i))+1)/2,c=1-l;return bt.rgb(l*r.red()+c*n.red(),l*r.green()+c*n.green(),l*r.blue()+c*n.blue(),r.alpha()*o+n.alpha()*(1-o))}},Object.keys(st).forEach((function(t){if(-1===ut.indexOf(t)){var e=st[t].channels;bt.prototype[t]=function(){if(this.model===t)return new bt(this);if(arguments.length)return new bt(arguments,t);var r="number"==typeof arguments[e]?e:this.valpha;return new bt(mt(st[this.model][t].raw(this.color)).concat(r),t)},bt[t]=function(r){return"number"==typeof r&&(r=vt(dt.call(arguments),e)),new bt(r,t)}}}));var yt=bt,wt=function t(e){var r=this;Y(this,t),K(this,"hsl",(function(){return r})),K(this,"isLight",(function(){return!1})),K(this,"isDark",(function(){return!1})),K(this,"negate",(function(){return r})),K(this,"lighten",(function(){return r})),K(this,"darken",(function(){return r})),K(this,"alpha",(function(){return r})),K(this,"saturate",(function(){return r})),K(this,"desaturate",(function(){return r})),K(this,"grayscale",(function(){return r})),K(this,"whiten",(function(){return r})),K(this,"blacken",(function(){return r})),K(this,"fade",(function(){return r})),K(this,"opaquer",(function(){return r})),K(this,"rotate",(function(){return r})),K(this,"contrast",(function(){return 10})),K(this,"luminosity",(function(){return.5})),K(this,"mix",(function(){return r})),K(this,"blue",(function(){return r.toString()})),K(this,"green",(function(){return r.toString()})),K(this,"red",(function(){return r.toString()})),K(this,"hex",(function(){return r.toString()})),K(this,"rgbNumber",(function(){return r.toString()})),K(this,"rgb",(function(){return r.toString()})),K(this,"toString",(function(){return r.color})),this.color=e};function xt(t){return"string"==typeof t&&-1!==t.indexOf("linear-gradient")?new wt(t):yt(t)}var kt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Mt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zt(t,e){return t(e={exports:{}},e.exports),e.exports}var jt=Mt(zt((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=new function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.UNIT={EM:"em",REM:"rem",PX:"px",PERCENT:"%"},this.math={addition:function(t,e){var r=this.detectUnit(t)||this.detectUnit(e);return this.rmUnit(t)+this.rmUnit(e)+r}.bind(this),subtract:function(t,e){var r=this.detectUnit(t)||this.detectUnit(e);return this.rmUnit(t)-this.rmUnit(e)+r}.bind(this),multiply:function(t,e){var r=this.detectUnit(t)||this.detectUnit(e);return this.rmUnit(t)*this.rmUnit(e)+r}.bind(this),divide:function(t,e){var r=this.detectUnit(t)||this.detectUnit(e);return this.rmUnit(t)/this.rmUnit(e)+r}.bind(this)},this.detectUnit=function(t){var r,n=t.toString();if(n.match(e.UNIT.PX))r=e.UNIT.PX;else if(n.match(e.UNIT.REM))r=e.UNIT.REM;else if(n.match(e.UNIT.EM))r=e.UNIT.EM;else{if(!n.match(e.UNIT.PERCENT)){if(isNaN(t))throw new Error("detectUnit can't find unit for ".concat(t));return null}r=e.UNIT.PERCENT}return r},this.rmUnit=function(t,r){var n=t.toString(),o=r||e.detectUnit(n),a=n.replace(o,"");return parseFloat(a)},this.toPercent=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return"".concat(Math.floor(t/r*100*Math.pow(10,n))/Math.pow(10,n)).concat(e.UNIT.PERCENT)}};e.default=r,t.exports=e.default}))),St=zt((function(t,e){function r(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(e,"__esModule",{value:!0}),e.getUtilities=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(!t)throw new Error("getUtilities expect theme and should be called at the end of your makeTheme.");var n=t,o=new Map;Object.keys(n.$spacers).forEach((function(t){return o.set(t,n.$spacers[t])}));var a=new Map;Object.keys(n["$negative-spacers"]).forEach((function(t){return a.set(t,n["$negative-spacers"][t])}));var i=new Map;return Object.keys(n["$theme-colors"]).forEach((function(t){return i.set(t,n["$theme-colors"][t])})),new Map([].concat(r(new Map([["align",{property:"vertical-align",class:"align",values:["baseline","top","middle","bottom","text-bottom","text-top"]}],["float",{responsive:!0,property:"float",values:["left","right","none"]}],["overflow",{property:"overflow",values:["auto","hidden"]}],["display",{responsive:!0,print:!0,property:"display",class:"d",values:["none","inline","inline-block","block","table","table-row","table-cell","flex","inline-flex"]}],["shadow",{property:"box-shadow",class:"shadow",values:new Map([["sm",n["$box-shadow-sm"]],[null,n["$box-shadow"]],["lg",n["$box-shadow-lg"]],["none","none"]])}],["position",{property:"position",values:["static","relative","absolute","fixed","sticky"]}],["border",{property:"border",values:new Map([[null,"".concat(n["$border-width"]," solid ").concat(n["$border-color"])],[0,0]])}],["border-top",{property:"border-top",values:new Map([[null,"".concat(n["$border-width"]," solid ").concat(n["$border-color"])],[0,0]])}],["border-right",{property:"border-right",values:new Map([[null,"".concat(n["$border-width"]," solid ").concat(n["$border-color"])],[0,0]])}],["border-bottom",{property:"border-bottom",values:new Map([[null,"".concat(n["$border-width"]," solid ").concat(n["$border-color"])],[0,0]])}],["border-left",{property:"border-left",values:new Map([[null,"".concat(n["$border-width"]," solid ").concat(n["$border-color"])],[0,0]])}],["border-color",{property:"border-color",class:"border",values:new Map([].concat(r(i),r(new Map([["white",n.$white]]))))}],["width",{property:"width",class:"w",values:new Map([["25","25%"],["50","50%"],["75","75%"],["100","100%"],["auto","auto"]])}],["max-width",{property:"max-width",class:"mw",values:new Map([["100","100%"]])}],["viewport-width",{property:"width",class:"vw",values:new Map([["100","100vw"]])}],["min-viewport-width",{property:"min-width",class:"min-vw",values:new Map([["100","100vw"]])}],["height",{property:"height",class:"h",values:new Map([["25","25%"],["50","50%"],["75","75%"],["100","100%"],["auto","auto"]])}],["max-height",{property:"max-height",class:"mh",values:new Map([["100","100%"]])}],["viewport-height",{property:"height",class:"vh",values:new Map([["100","100vh"]])}],["min-viewport-height",{property:"min-height",class:"min-vh",values:new Map([["100","100vh"]])}],["flex",{responsive:!0,property:"flex",values:new Map([["fill","1 1 auto"]])}],["flex-direction",{responsive:!0,property:"flex-direction",class:"flex",values:["row","column","row-reverse","column-reverse"]}],["flex-grow",{responsive:!0,property:"flex-grow",class:"flex",values:new Map([["grow-0","0"],["grow-1","1"]])}],["flex-shrink",{responsive:!0,property:"flex-shrink",class:"flex",values:new Map([["shrink-0","0"],["shrink-1","1"]])}],["flex-wrap",{responsive:!0,property:"flex-wrap",class:"flex",values:["wrap","nowrap","wrap-reverse"]}],["justify-content",{responsive:!0,property:"justify-content",values:new Map([["start","flex-start"],["end","flex-end"],["center","center"],["between","space-between"],["around","space-around"]])}],["align-items",{responsive:!0,property:"align-items",values:new Map([["start","flex-start"],["end","flex-end"],["center","center"],["baseline","baseline"],["stretch","stretch"]])}],["align-content",{responsive:!0,property:"align-content",values:new Map([["start","flex-start"],["end","flex-end"],["center","center"],["between","space-between"],["around","space-around"],["stretch","stretch"]])}],["align-self",{responsive:!0,property:"align-self",values:new Map([["auto","auto"],["start","flex-start"],["end","flex-end"],["center","center"],["baseline","baseline"],["stretch","stretch"]])}],["order",{responsive:!0,property:"order",values:new Map([["first","-1"],["0","0"],["1","1"],["2","2"],["3","3"],["4","4"],["5","5"],["last","6"]])}],["margin",{responsive:!0,property:"margin",class:"m",values:new Map([].concat(r(o),r(new Map([["auto","auto"]]))))}],["margin-x",{responsive:!0,property:["margin-right","margin-left"],class:"mx",values:new Map([].concat(r(o),r(new Map([["auto","auto"]]))))}],["margin-y",{responsive:!0,property:["margin-top","margin-bottom"],class:"my",values:new Map([].concat(r(o),r(new Map([["auto","auto"]]))))}],["margin-top",{responsive:!0,property:"margin-top",class:"mt",values:new Map([].concat(r(o),r(new Map([["auto","auto"]]))))}],["margin-right",{responsive:!0,property:"margin-right",class:"mr",values:new Map([].concat(r(o),r(new Map([["auto","auto"]]))))}],["margin-bottom",{responsive:!0,property:"margin-bottom",class:"mb",values:new Map([].concat(r(o),r(new Map([["auto","auto"]]))))}],["margin-left",{responsive:!0,property:"margin-left",class:"ml",values:new Map([].concat(r(o),r(new Map([["auto","auto"]]))))}],["negative-margin",{responsive:!0,property:"margin",class:"m",values:a}],["negative-margin-x",{responsive:!0,property:["margin-right","margin-left"],class:"mx",values:a}],["negative-margin-y",{responsive:!0,property:["margin-top","margin-bottom"],class:"my",values:a}],["negative-margin-top",{responsive:!0,property:["margin-top"],class:"mt",values:a}],["negative-margin-right",{responsive:!0,property:"margin-right",class:"mr",values:a}],["negative-margin-bottom",{responsive:!0,property:"margin-bottom",class:"mb",values:a}],["negative-margin-left",{responsive:!0,property:"margin-left",class:"ml",values:a}],["padding",{responsive:!0,property:"padding",class:"p",values:o}],["padding-x",{responsive:!0,property:["padding-right","padding-left"],class:"px",values:o}],["padding-y",{responsive:!0,property:["padding-top","padding-bottom"],class:"py",values:o}],["padding-top",{responsive:!0,property:"padding-top",class:"pt",values:o}],["padding-right",{responsive:!0,property:"padding-right",class:"pr",values:o}],["padding-bottom",{responsive:!0,property:"padding-bottom",class:"pb",values:o}],["padding-left",{responsive:!0,property:"padding-left",class:"pl",values:o}],["font-weight",{property:"font-weight",values:new Map([["light",n["$font-weight-light"]],["lighter",n["$font-weight-lighter"]],["normal",n["$font-weight-normal"]],["bold",n["$font-weight-bold"]],["bolder",n["$font-weight-bolder"]]])}],["text-transform",{property:"text-transform",class:"text",values:["lowercase","uppercase","capitalize"]}],["text-align",{responsive:!0,property:"text-align",class:"text",values:["left","right","center","justify"]}],["color",{property:"color",class:"text",values:new Map([].concat(r(i),r(new Map([["white",n.$white],["body",n["$body-color"]],["muted",n["$text-muted"]],["black-50","rgba(".concat(n.$black,", .5)")],["white-50","rgba(".concat(n.$white,", .5)")],["reset","inherit"]]))))}],["line-height",{property:"line-height",class:"lh",values:new Map([["1","1"],["sm",n["$line-height-sm"]],["base",n["$line-height-base"]],["lg",n["$line-height-lg"]]])}],["background-color",{property:"background-color",class:"bg",values:new Map([].concat(r(i),r(new Map([["body",n["$body-bg"]],["white",n.$white],["transparent","transparent"]]))))}],["white-space",{property:"white-space",class:"text",values:new Map([["wrap","normal"],["nowrap","nowrap"]])}],["text-decoration",{property:"text-decoration",values:["none","underline","line-through"]}],["font-style",{property:"font-style",class:"font",values:["italic"]}],["overflow-wrap",{property:["overflow-wrap","word-break"],class:"text",values:new Map([["break","break-word"]])}],["font-family",{property:"font-family",class:"font",values:new Map([["monospace",n["$font-family-monospace"]]])}],["rounded",{property:"border-radius",class:"rounded",values:new Map([[null,n["$border-radius"]],["sm",n["$border-radius-sm"]],["lg",n["$border-radius-lg"]],["circle","50%"],["pill",n["$rounded-pill"]],["0","0"]])}],["rounded-top",{property:["border-top-left-radius","border-top-right-radius"],class:"rounded-top",values:new Map([[null,n["$border-radius"]]])}],["rounded-right",{property:["border-top-right-radius","border-bottom-right-radius"],class:"rounded-right",values:new Map([[null,n["$border-radius"]]])}],["rounded-bottom",{property:["border-bottom-right-radius","border-bottom-left-radius"],class:"rounded-bottom",values:new Map([[null,n["$border-radius"]]])}],["rounded-left",{property:["border-bottom-left-radius","border-top-left-radius"],class:"rounded-left",values:new Map([[null,n["$border-radius"]]])}],["visibility",{property:"visibility",class:null,values:new Map([["visible","visible"],["invisible","hidden"]])}]])),r(e)))}}));Mt(St);var Ot=St.getUtilities,Pt=jt.detectUnit,_t=jt.rmUnit;function Et(t,e){return!1===t?t:t||e}function Ut(t,e){var r,n,o=!0;return Object.keys(t).forEach((function(a){var i=t[a];null==n||(!function(t,e){return!isNaN(t+e)}(_t(n),_t(i))?(console.warn("Potentially invalid value for ".concat(e,": This map must be in ascending order, but key '").concat(a,"' has value ").concat(i," whose unit makes it incomparable to ").concat(n,", the value of the previous key '").concat(r,"' !")),o=!1):_t(n)>=_t(i)&&(console.warn("Invalid value for ".concat(e,": This map must be in ascending order, but key '").concat(a,"' has value ").concat(i," which isn't greater than ").concat(n,", the value of the previous key '").concat(r,"' !")),o=!1)),r=a,n=i})),o}function Ct(t){var e=Object.keys(t).map((function(e){return t[e]})),r=_t(e[0]),n=!0;return 0!==r&&(console.warn("First breakpoint in $grid-breakpoints must start at 0, but starts at ".concat(r,".")),n=!1),n}function Tt(t){if(t instanceof Map){var e=new Map,r=!0,n=!1,o=void 0;try{for(var a,i=t[Symbol.iterator]();!(r=(a=i.next()).done);r=!0){var l=J(a.value,2),c=l[0],s=l[1];if(0!==c&&"0"!==c){var d=Pt(s),u=-1*_t(s)+d;e=new Map([].concat(Z(e),Z(new Map([["n".concat(c),u]]))))}}}catch(t){n=!0,o=t}finally{try{r||null==i.return||i.return()}finally{if(n)throw o}}return e}var g={};return Object.keys(t).forEach((function(e){if(0!==e&&"0"!==e){var r=Pt(t[e]),n=-1*_t(t[e])+r;g=X({},g,{},H({},"n".concat(e),n))}})),g}var At=/#[0-9a-fA-F]{3,6}|rgb ?\([ 0-9.%,]+?\)/g,Ft=jt.detectUnit,Bt=jt.rmUnit;function Rt(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={},n=e;return r._name=n._name||"bootstrap-styled",r.$white=n.$white||"#fff",r["$gray-100"]=r["$gray-100"]||"#f8f9fa",r["$gray-200"]=r["$gray-200"]||"#e9ecef",r["$gray-300"]=r["$gray-300"]||"#dee2e6",r["$gray-400"]=r["$gray-400"]||"#ced4da",r["$gray-500"]=r["$gray-500"]||"#adb5bd",r["$gray-600"]=r["$gray-600"]||"#6c757d",r["$gray-700"]=r["$gray-700"]||"#495057",r["$gray-800"]=r["$gray-800"]||"#343a40",r["$gray-900"]=r["$gray-900"]||"#212529",r.$black=n.$black||"#000",r.$grays=n.$grays||{100:r["$gray-100"],200:r["$gray-200"],300:r["$gray-300"],400:r["$gray-400"],500:r["$gray-500"],600:r["$gray-600"],700:r["$gray-700"],800:r["$gray-800"],900:r["$gray-900"]},r.$blue=n.$blue||"#0275d8",r.$indigo=n.$indigo||"#0275d8",r.$purple=n.$purple||"#613d7c",r.$pink=n.$pink||"#ff5b77",r.$red=n.$red||"#d9534f",r.$orange=n.$orange||"#f0ad4e",r.$yellow=n.$yellow||"#ffd500",r.$green=n.$green||"#5cb85c",r.$teal=n.$teal||"#5bc0de",r.$cyan=n.$cyan||"#17a2b8",r.$light=n.$light||r["$gray-100"],r.$dark=n.$dark||r["$gray-800"],r.$colors=X({},{blue:r.$blue,indigo:r.$indigo,purple:r.$purple,pink:r.$pink,red:r.$red,orange:r.$orange,yellow:r.$yellow,green:r.$green,teal:r.$teal,cyan:r.$cyan,white:r.$white,gray:r["$gray-600"],"gray-dark":r["$gray-800"]},{},n.$colors||{}),r.$primary=n.$primary||r.$blue,r.$secondary=n.$secondary||r["$gray-600"],r.$success=n.$success||r.$green,r.$info=n.$info||r.$cyan,r.$warning=n.$warning||r.$yellow,r.$danger=n.$danger||r.$red,r.$light=n.$light||r["$gray-100"],r.$dark=n.$dark||r["$gray-800"],r["$gray-dark"]=n["$gray-dark"]||"#292b2c",r.$gray=n.$gray||"#464a4c",r["$gray-light"]=n["$gray-light"]||"#636c72",r["$gray-lighter"]=n["$gray-lighter"]||"#eceeef",r["$gray-lightest"]=n["$gray-lightest"]||"#f7f7f9",r["$brand-primary"]=n["$brand-primary"]||r.$primary,r["$brand-success"]=n["$brand-success"]||r.$success,r["$brand-info"]=n["$brand-info"]||r.$info,r["$brand-warning"]=n["$brand-warning"]||r.$warning,r["$brand-danger"]=n["$brand-danger"]||r.$danger,r["$brand-inverse"]=n["$brand-inverse"]||r["$gray-dark"],r["$theme-colors"]=X({},{primary:r.$primary,secondary:r.$secondary,success:r.$success,info:r.$info,warning:r.$warning,danger:r.$danger,light:r.$light,dark:r.$dark},{},n["$theme-colors"]||{}),r["$enable-rounded"]=Et(n["$enable-rounded"],!0),r["$enable-shadows"]=Et(n["$enable-shadows"],!1),r["$enable-gradients"]=Et(n["$enable-gradients"],!1),r["$enable-transitions"]=Et(n["$enable-transitions"],!0),r["$enable-hover-media-query"]=Et(n["$enable-hover-media-query"],!1),r["$enable-grid-classes"]=Et(n["$enable-grid-classes"],!0),r["$enable-print-styles"]=Et(n["$enable-print-styles"],!0),r.$spacer=n.$spacer||"1rem",t=Ft(r.$spacer),r["$spacer-halved"]=n["$spacer-halved"]||Bt(r.$spacer,t)/2+t,r["$spacer-x"]=n["$spacer-x"]||r.$spacer,r["$spacer-y"]=n["$spacer-y"]||r.$spacer,r.$spacers=n.$spacers||{0:0,1:.25*Bt(r.$spacer)+t,2:.5*Bt(r.$spacer)+t,3:r.$spacer,4:1.5*Bt(r.$spacer)+t,5:3*Bt(r.$spacer)+t},r["$negative-spacers"]=n["$negative-spacers"]||Tt(r.$spacers),r["$border-width"]=n["$border-width"]||"1px",r["$border-color"]=n["$border-color"]||r["$gray-300"],r.$sizes=n.$sizes||{25:"25%",50:"50%",75:"75%",100:"100%"},r["$body-bg"]=n["$body-bg"]||r.$white,r["$body-color"]=n["$body-color"]||r["$gray-dark"],r["$link-color"]=n["$link-color"]||r["$brand-primary"],r["$link-decoration"]=n["$link-decoration"]||"none",r["$link-hover-color"]=n["$link-hover-color"]||xt(r["$link-color"]).darken(.35).toString(),r["$link-hover-decoration"]=n["$link-hover-decoration"]||"underline",r["$grid-breakpoints"]=n["$grid-breakpoints"]||{xs:"0",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1452px"},Ut(r["$grid-breakpoints"],"$grid-breakpoints"),Ct(r["$grid-breakpoints"]),r["$container-max-widths"]=n["$container-max-widths"]||{sm:"540px",md:"720px",lg:"960px",xl:"1140px"},Ut(r["$container-max-widths"],"$container-max-widths"),r["$grid-columns"]=n["$grid-columns"]||"12",r["$grid-gutter-width"]=n["$grid-gutter-width"]||"30px",r["$font-family-sans-serif"]=n["$font-family-sans-serif"]||'-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',r["$font-family-monospace"]=n["$font-family-monospace"]||'Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',r["$font-family-base"]=n["$font-family-base"]||r["$font-family-sans-serif"],r["$font-size-base"]=n["$font-size-base"]||"1rem",r["$font-size-lg"]=n["$font-size-lg"]||"1.25rem",r["$font-size-sm"]=n["$font-size-sm"]||".875rem",r["$font-size-xs"]=n["$font-size-xs"]||".75rem",r["$font-weight-light"]=n["$font-weight-light"]||"300",r["$font-weight-lighter"]=n["$font-weight-lighter"]||"lighter",r["$font-weight-bolder"]=n["$font-weight-bolder"]||"bolder",r["$font-weight-normal"]=n["$font-weight-normal"]||"400",r["$font-weight-bold"]=n["$font-weight-bold"]||"700",r["$font-weight-base"]=n["$font-weight-base"]||r["$font-weight-normal"],r["$line-height-base"]=n["$line-height-base"]||"1.5",r["$font-size-h1"]=n["$font-size-h1"]||"2.5rem",r["$font-size-h2"]=n["$font-size-h2"]||"2rem