UNPKG

ponchojs

Version:

Poncho

3 lines (2 loc) 37.6 kB
"use strict";var e=require("react"),t=require("./emotion-react-jsx-runtime.esm-1fb36074.js");var r,n=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),o={exports:{}},a={},s=60103,i=60106,c=60107,l=60108,u=60114,d=60109,p=60110,f=60112,h=60113,m=60120,g=60115,y=60116,v=60121,b=60122,w=60117,k=60129,S=60131;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case c:case u:case l:case h:case m:return e;default:switch(e=e&&e.$$typeof){case p:case f:case y:case g:case d:return e;default:return t}}case i:return t}}}"function"==typeof Symbol&&Symbol.for&&(s=(r=Symbol.for)("react.element"),i=r("react.portal"),c=r("react.fragment"),l=r("react.strict_mode"),u=r("react.profiler"),d=r("react.provider"),p=r("react.context"),f=r("react.forward_ref"),h=r("react.suspense"),m=r("react.suspense_list"),g=r("react.memo"),y=r("react.lazy"),v=r("react.block"),b=r("react.server.block"),w=r("react.fundamental"),k=r("react.debug_trace_mode"),S=r("react.legacy_hidden"));var A=d,x=s,E=f,_=c,P=y,N=g,R=i,O=u,I=l,$=h;a.ContextConsumer=p,a.ContextProvider=A,a.Element=x,a.ForwardRef=E,a.Fragment=_,a.Lazy=P,a.Memo=N,a.Portal=R,a.Profiler=O,a.StrictMode=I,a.Suspense=$,a.isAsyncMode=function(){return!1},a.isConcurrentMode=function(){return!1},a.isContextConsumer=function(e){return C(e)===p},a.isContextProvider=function(e){return C(e)===d},a.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},a.isForwardRef=function(e){return C(e)===f},a.isFragment=function(e){return C(e)===c},a.isLazy=function(e){return C(e)===y},a.isMemo=function(e){return C(e)===g},a.isPortal=function(e){return C(e)===i},a.isProfiler=function(e){return C(e)===u},a.isStrictMode=function(e){return C(e)===l},a.isSuspense=function(e){return C(e)===h},a.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===c||e===u||e===k||e===l||e===h||e===m||e===S||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===d||e.$$typeof===p||e.$$typeof===f||e.$$typeof===w||e.$$typeof===v||e[0]===b)},a.typeOf=C;var T={};function D(e){function t(e,t,n){var o=t.trim().split(h),a=(t=o).length,s=e.length;switch(s){case 0:case 1:var i=0;for(e=0===s?"":e[0]+" ";i<a;++i)t[i]=r(e,t[i],n).trim();break;default:var c=i=0;for(t=[];i<a;++i)for(var l=0;l<s;++l)t[c++]=r(e[l]+" ",o[i],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(n=n<33?(t=t.trim()).charCodeAt(0):n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<+r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var s=e+";",i=2*t+3*r+4*a;if(944==i){e=s.indexOf(":",9)+1;var c=s.substring(e,s.length-1).trim();c=s.substring(0,e).trim()+c+";";return 1===N||2===N&&o(c,1)?"-webkit-"+c+c:c}if(0===N||2===N&&!o(s,1))return s;switch(i){case 1015:return 97===s.charCodeAt(10)?"-webkit-"+s+s:s;case 951:return 116===s.charCodeAt(3)?"-webkit-"+s+s:s;case 963:return 110===s.charCodeAt(5)?"-webkit-"+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:if(45===s.charCodeAt(8))return"-webkit-"+s+s;if(0<s.indexOf("image-set(",11))return s.replace(x,"$1-webkit-$2")+s;break;case 932:if(45===s.charCodeAt(4))switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return"-webkit-box-pack"+(c=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+c+s;case 1005:return p.test(s)?s.replace(d,":-webkit-")+s.replace(d,":-moz-")+s:s;case 1e3:switch(t=(c=s.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=s.replace(b,"tb");break;case 232:c=s.replace(b,"tb-rl");break;case 220:c=s.replace(b,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+c+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(t=(s=e).length-10,i=(c=(33===s.charCodeAt(t)?s.substring(0,t):s).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:s=s.replace(c,"-webkit-"+c)+";"+s;break;case 207:case 102:s=s.replace(c,"-webkit-"+(102<i?"inline-":"")+"box")+";"+s.replace(c,"-webkit-"+c)+";"+s.replace(c,"-ms-"+c+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return c=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+c+"-ms-flex-"+c+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(S,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(S,"")+s}break;case 973:case 989:if(45!==s.charCodeAt(3)||122===s.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):s.replace(c,"-webkit-"+c)+s.replace(c,"-moz-"+c.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===r+a&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+s}return s}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);r=e.substring(r+1,e.length-1);return $(2!==t?n:n.replace(C,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,a,s,i,l,u){for(var d,p=0,f=t;p<I;++p)switch(d=O[p].call(c,e,f,r,n,o,a,s,i,l,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function i(e){return void 0!==(e=e.prefix)&&($=null,e?"function"!=typeof e?N=1:(N=2,$=e):N=0),i}function c(e,r){var i;e=[e=(e=e).charCodeAt(0)<33?e.trim():e];return 0<I&&void 0!==(i=s(-1,r,e,e,_,E,0,0,0,0))&&"string"==typeof i&&(r=i),r=function e(r,i,c,d,p){for(var f,h,m,b,k,S=0,C=0,A=0,x=0,O=0,$=0,D=m=f=0,j=0,M=0,z=0,L=0,V=c.length,F=V-1,B="",H="",q="",Y="";j<V;){if(h=c.charCodeAt(j),j===F&&0!==C+x+A+S&&(0!==C&&(h=47===C?10:47),x=A=S=0,V++,F++),0===C+x+A+S){if(j===F&&0<(B=0<M?B.replace(u,""):B).trim().length){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:B+=c.charAt(j)}h=59}switch(h){case 123:for(f=(B=B.trim()).charCodeAt(0),m=1,L=++j;j<V;){switch(h=c.charCodeAt(j)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(j+1)){case 42:case 47:e:{for(D=j+1;D<F;++D)switch(c.charCodeAt(D)){case 47:if(42!==h||42!==c.charCodeAt(D-1)||j+2===D)break;j=D+1;break e;case 10:if(47===h){j=D+1;break e}}j=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;j++<F&&c.charCodeAt(j)!==h;);}if(0===m)break;j++}if(m=c.substring(L,j),64===(f=0===f?(B=B.replace(l,"").trim()).charCodeAt(0):f)){switch(h=(B=0<M?B.replace(u,""):B).charCodeAt(1)){case 100:case 109:case 115:case 45:M=i;break;default:M=R}if(L=(m=e(i,M,m,h,p+1)).length,0<I&&(k=s(3,m,M=t(R,B,z),i,_,E,L,h,p,d),B=M.join(""),void 0!==k&&0===(L=(m=k.trim()).length)&&(h=0,m="")),0<L)switch(h){case 115:B=B.replace(w,a);case 100:case 109:case 45:m=B+"{"+m+"}";break;case 107:m=(B=B.replace(g,"$1 $2"))+"{"+m+"}",m=1===N||2===N&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=B+m,112===d&&(H+=m,m="")}else m=""}else m=e(i,t(i,B,z),m,d,p+1);q+=m,m=z=M=D=f=0,B="",h=c.charCodeAt(++j);break;case 125:case 59:if(1<(L=(B=(0<M?B.replace(u,""):B).trim()).length))switch(0===D&&(f=B.charCodeAt(0),45===f||96<f&&f<123)&&(L=(B=B.replace(" ",":")).length),0<I&&void 0!==(k=s(1,B,i,r,_,E,H.length,d,p,d))&&0===(L=(B=k.trim()).length)&&(B="\0\0"),f=B.charCodeAt(0),h=B.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){Y+=B+c.charAt(j);break}default:58!==B.charCodeAt(L-1)&&(H+=n(B,f,h,B.charCodeAt(2)))}z=M=D=f=0,B="",h=c.charCodeAt(++j)}}switch(h){case 13:case 10:47===C?C=0:0===1+f&&107!==d&&0<B.length&&(M=1,B+="\0"),0<I*T&&s(0,B,i,r,_,E,H.length,d,p,d),E=1,_++;break;case 59:case 125:if(0===C+x+A+S){E++;break}default:switch(E++,b=c.charAt(j),h){case 9:case 32:if(0===x+S+C)switch(O){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===x+C+S&&(M=z=1,b="\f"+b);break;case 108:if(0===x+C+S+P&&0<D)switch(j-D){case 2:112===O&&58===c.charCodeAt(j-3)&&(P=O);case 8:111===$&&(P=$)}break;case 58:0===x+C+S&&(D=j);break;case 44:0===C+A+x+S&&(M=1,b+="\r");break;case 34:case 39:0===C&&(x=x===h?0:0===x?h:x);break;case 91:0===x+C+A&&S++;break;case 93:0===x+C+A&&S--;break;case 41:0===x+C+S&&A--;break;case 40:0===x+C+S&&(0===f&&(2*O+3*$==533||(f=1)),A++);break;case 64:0===C+A+x+S+D+m&&(m=1);break;case 42:case 47:if(!(0<x+S+A))switch(C){case 0:switch(2*h+3*c.charCodeAt(j+1)){case 235:C=47;break;case 220:L=j,C=42}break;case 42:47===h&&42===O&&L+2!==j&&(33===c.charCodeAt(L+2)&&(H+=c.substring(L,j+1)),b="",C=0)}}0===C&&(B+=b)}$=O,O=h,j++}if(0<(L=H.length)){if(M=i,0<I&&void 0!==(k=s(2,H,M,r,_,E,L,d,p,d))&&0===(H=k).length)return Y+H+q;if(H=M.join(",")+"{"+H+"}",0!=N*P){switch(P=2!==N||o(H,2)?P:0){case 111:H=H.replace(v,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}P=0}}return Y+H+q}(R,e,r,0,0),0<I&&void 0!==(i=s(-2,r,e,e,_,E,r.length,0,0,0))&&(r=i),P=0,E=_=1,r}var l=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,S=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,x=/([^-])(image-set\()/,E=1,_=1,P=0,N=1,R=[],O=[],I=0,$=null,T=0;return c.use=function e(t){switch(t){case void 0:case null:I=O.length=0;break;default:if("function"==typeof t)O[I++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else T=0|!!t}return e},c.set=i,void 0!==e&&i(e),c}"production"!==process.env.NODE_ENV&&function(){var e=60103,t=60106,r=60107,n=60108,o=60114,a=60109,s=60110,i=60112,c=60113,l=60120,u=60115,d=60116,p=60121,f=60122,h=60117,m=60129,g=60131;function y(p){if("object"==typeof p&&null!==p){var f=p.$$typeof;switch(f){case e:var h=p.type;switch(h){case r:case o:case n:case c:case l:return h;default:var m=h&&h.$$typeof;switch(m){case s:case i:case d:case u:case a:return m;default:return f}}case t:return f}}}"function"==typeof Symbol&&Symbol.for&&(e=(P=Symbol.for)("react.element"),t=P("react.portal"),r=P("react.fragment"),n=P("react.strict_mode"),o=P("react.profiler"),a=P("react.provider"),s=P("react.context"),i=P("react.forward_ref"),c=P("react.suspense"),l=P("react.suspense_list"),u=P("react.memo"),d=P("react.lazy"),p=P("react.block"),f=P("react.server.block"),h=P("react.fundamental"),P("react.scope"),P("react.opaque.id"),m=P("react.debug_trace_mode"),P("react.offscreen"),g=P("react.legacy_hidden"));var v=s,b=a,w=e,k=i,S=r,C=d,A=u,x=t,E=o,_=n,P=c,N=!1,R=!1;T.ContextConsumer=v,T.ContextProvider=b,T.Element=w,T.ForwardRef=k,T.Fragment=S,T.Lazy=C,T.Memo=A,T.Portal=x,T.Profiler=E,T.StrictMode=_,T.Suspense=P,T.isAsyncMode=function(e){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},T.isConcurrentMode=function(e){return R||(R=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},T.isContextConsumer=function(e){return y(e)===s},T.isContextProvider=function(e){return y(e)===a},T.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},T.isForwardRef=function(e){return y(e)===i},T.isFragment=function(e){return y(e)===r},T.isLazy=function(e){return y(e)===d},T.isMemo=function(e){return y(e)===u},T.isPortal=function(e){return y(e)===t},T.isProfiler=function(e){return y(e)===o},T.isStrictMode=function(e){return y(e)===n},T.isSuspense=function(e){return y(e)===c},T.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===m||e===n||e===c||e===l||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===a||e.$$typeof===s||e.$$typeof===i||e.$$typeof===h||e.$$typeof===p||e[0]===f)},T.typeOf=y}(),"production"===process.env.NODE_ENV?o.exports=a:o.exports=T;var j=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M=t.memoize((function(e){return j.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var L=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},V=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!o.exports.typeOf(e)},F=Object.freeze([]),B=Object.freeze({});function H(e){return"function"==typeof e}function q(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function Y(e){return e&&"string"==typeof e.styledComponentId}var U="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",G="undefined"!=typeof window&&"HTMLElement"in window,W=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),X="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function Z(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],r=1,n=arguments.length;r<n;r+=1)t.push(r<0||arguments.length<=r?void 0:arguments[r]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t)})),e}function K(e){for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(0<r.length?" Args: "+r.join(", "):"")):new Error(Z.apply(void 0,[X[e]].concat(r)).trim())}var J=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;o<=e;)(o<<=1)<0&&K(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(s,t[i])&&(this.groupSizes[e]++,s++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=(e=this.indexOfGroup(e))+r,o=e;o<n;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),Q=new Map,ee=new Map,te=1,re=function(e){if(Q.has(e))return Q.get(e);for(;ee.has(te);)te++;var t=te++;return"production"!==process.env.NODE_ENV&&((0|t)<0||1<<30<t)&&K(16,""+t),Q.set(e,t),ee.set(t,e),t},ne=function(e){return ee.get(e)},oe=function(e,t){Q.set(e,t),ee.set(t,e)},ae="style["+U+'][data-styled-version="5.3.0"]',se=new RegExp("^"+U+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),ie=function(e,t,r){for(var n,o=r.split(","),a=0,s=o.length;a<s;a++)(n=o[a])&&e.registerName(t,n)},ce=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var s,i,c,l=r[o].trim();l&&((s=l.match(se))?(i=0|parseInt(s[1],10),c=s[2],0!=i&&(oe(c,i),ie(e,c,s[3]),e.getTag().insertRules(i,n)),n.length=0):n.push(l))}},le=function(e){var t=document.head,r=e||t,n=document.createElement("style");t=void 0!==(e=function(){for(var e=r.childNodes,t=e.length;0<=t;t--){var n=e[t];if(n&&1===n.nodeType&&n.hasAttribute(U))return n}}())?e.nextSibling:null;return n.setAttribute(U,"active"),n.setAttribute("data-styled-version","5.3.0"),(e="undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null)&&n.setAttribute("nonce",e),r.insertBefore(n,t),n},ue=function(){function e(e){(e=this.element=le(e)).appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}K(17)}(e),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){return void 0!==(e=this.sheet.cssRules[e])&&"string"==typeof e.cssText?e.cssText:""},e}(),de=function(){function e(e){e=this.element=le(e),this.nodes=e.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&0<=e&&(t=document.createTextNode(t),e=this.nodes[e],this.element.insertBefore(t,e||null),this.length++,!0)},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),pe=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),fe=G,he={isServer:!G,useCSSOMInjection:!W},me=function(){function e(e,t,r){void 0===t&&(t={}),this.options=z({},he,{},e=void 0===e?B:e),this.gs=t,this.names=new Map(r),!this.options.isServer&&G&&fe&&(fe=!1,function(e){for(var t=document.querySelectorAll(ae),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(U)&&(ce(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return re(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(z({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(e=(r=this.options).isServer,t=r.useCSSOMInjection,r=r.target,r=new(e?pe:t?ue:de)(r),new J(r)));var e,t,r},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){var r;re(e),this.names.has(e)?this.names.get(e).add(t):((r=new Set).add(t),this.names.set(e,r))},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(re(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(re(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a,s,i,c=ne(o);void 0!==c&&(a=e.names.get(c),s=t.getGroup(o),void 0!==a&&0!==s.length&&(c=U+".g"+o+'[id="'+c+'"]',i="",void 0!==a&&a.forEach((function(e){0<e.length&&(i+=e+",")})),n+=s+c+'{content:"'+i+'"}/*!sc*/\n'))}return n}(this)},e}(),ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(25<e?39:97))};function ve(e){for(var t="",r=Math.abs(e);52<r;r=r/52|0)t=ye(r%52)+t;return(ye(r%52)+t).replace(ge,"$1-$2")}var be=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},we=function(e){return be(5381,e)};var ke=we("5.3.0"),Se=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===r||r.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(H(r)&&!Y(r))return!1}return!0}(e),this.componentId=t,this.baseHash=be(ke,t),this.baseStyle=r,me.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n,o=this.componentId,a=[];if(this.baseStyle&&a.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)this.staticRulesId&&t.hasNameForId(o,this.staticRulesId)?a.push(this.staticRulesId):(n=je(this.rules,e,t,r).join(""),i=ve(be(this.baseHash,n.length)>>>0),t.hasNameForId(o,i)||(s=r(n,"."+i,void 0,o),t.insertRules(o,i,s)),a.push(i),this.staticRulesId=i);else{for(var s,i,c=this.rules.length,l=be(this.baseHash,r.hash),u="",d=0;d<c;d++){var p=this.rules[d];"string"==typeof p?(u+=p,"production"!==process.env.NODE_ENV&&(l=be(l,p+d))):p&&(p=je(p,e,t,r),p=Array.isArray(p)?p.join(""):p,l=be(l,p+d),u+=p)}u&&(s=ve(l>>>0),t.hasNameForId(o,s)||(i=r(u,"."+s,void 0,o),t.insertRules(o,s,i)),a.push(s))}return a.join(" ")},e}(),Ce=/^\s*\/\/.*$/gm,Ae=[":","[",".","#"];var xe=n.default.createContext();xe.Consumer;var Ee=n.default.createContext(),_e=(Ee.Consumer,new me),Pe=function(e){function t(e,t,o){return 0===t&&-1!==Ae.indexOf(o[n.length])||o.match(a)?e:"."+r}e=(i=void 0===e?B:e).options;var r,n,o,a,s,i=void 0===(i=i.plugins)?F:i,c=new D(void 0===e?B:e),l=[];function u(e){if(e)try{s(e+"}")}catch(e){}}function d(e,t,s,i){return void 0===i&&(i="&"),e=e.replace(Ce,""),e=t&&s?s+" "+t+" { "+e+" }":e,r=i,n=t,o=new RegExp("\\"+n+"\\b","g"),a=new RegExp("(\\"+n+"\\b){2,}"),c(s||!t?"":t,e)}return s=function(e){l.push(e)},e=function(e,t,r,n,o,a,i,c,l,d){switch(e){case 1:if(0===l&&64===t.charCodeAt(0))return s(t+";"),"";break;case 2:if(0===c)return t+"/*|*/";break;case 3:switch(c){case 102:case 112:return s(r[0]+t),"";default:return t+(0===d?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(u)}},c.use([].concat(i,[function(e,r,a){2===e&&a.length&&0<a[0].lastIndexOf(n)&&(a[0]=a[0].replace(o,t))},e,function(e){if(-2===e)return e=l,l=[],e}])),d.hash=i.length?i.reduce((function(e,t){return t.name||K(15),be(e,t.name)}),5381).toString():"",d}();var Ne=function(){function e(e,t){var r=this;this.inject=function(e,t){var n=r.name+(t=void 0===t?Pe:t).hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return K(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return this.name+(e=void 0===e?Pe:e).hash},e}(),Re=/([A-Z])/,Oe=/([A-Z])/g,Ie=/^ms-/,$e=function(e){return"-"+e.toLowerCase()};function Te(e){return Re.test(e)?e.replace(Oe,$e).replace(Ie,"-ms-"):e}var De=function(e){return null==e||!1===e||""===e};function je(e,r,n,a){if(Array.isArray(e)){for(var s,i=[],c=0,l=e.length;c<l;c+=1)""!==(s=je(e[c],r,n,a))&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(De(e))return"";if(Y(e))return"."+e.styledComponentId;if(H(e)){if("function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!r)return e;var u=e(r);return"production"!==process.env.NODE_ENV&&o.exports.isElement(u)&&console.warn(q(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),je(u,r,n,a)}return e instanceof Ne?n?(e.inject(n,a),e.getName(a)):e:V(e)?function e(r,n){var o,a,s,i=[];for(s in r)r.hasOwnProperty(s)&&!De(r[s])&&(V(r[s])?i.push.apply(i,e(r[s],s)):H(r[s])?i.push(Te(s)+":",r[s],";"):i.push(Te(s)+": "+(o=s,(null==(a=r[s])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in t.unitlessKeys?String(a).trim():a+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString()}function Me(e){for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return H(e)||V(e)?je(L(F,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:je(L(e,r))}var ze=/invalid hook call/i,Le=new Set,Ve=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Fe=/(^-|-$)/g;function Be(e){return e.replace(Ve,"-").replace(Fe,"")}function He(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var qe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ye=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ue(e,t,r){var n=e[r];qe(t)&&qe(n)?Ge(n,t):e[r]=t}function Ge(e){for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var s=a[o];if(qe(s))for(var i in s)Ye(i)&&Ue(e,s[i],i)}return e}var We=n.default.createContext();We.Consumer;var Xe={};function Ze(r,o,a){var s=Y(r),i=!He(r),c=void 0===(f=o.attrs)?F:f,l=void 0===(u=o.componentId)?function(e,t){return e="string"!=typeof e?"sc":Be(e),Xe[e]=(Xe[e]||0)+1,e=e+"-"+function(e){return ve(we(e)>>>0)}("5.3.0"+e+Xe[e]),t?t+"-"+e:e}(o.displayName,o.parentComponentId):u,u=void 0===(f=o.displayName)?He(d=r)?"styled."+d:"Styled("+q(d)+")":f,d=o.displayName&&o.componentId?Be(o.displayName)+"-"+o.componentId:o.componentId||l,p=s&&r.attrs?Array.prototype.concat(r.attrs,c).filter(Boolean):c,f=o.shouldForwardProp;s&&r.shouldForwardProp&&(f=o.shouldForwardProp?function(e,t,n){return r.shouldForwardProp(e,t,n)&&o.shouldForwardProp(e,t,n)}:r.shouldForwardProp);var h,m,g,y,v,b=(l=new Se(a,d,s?r.componentStyle:void 0)).isStatic&&0===c.length;return(c=function(t,r){return function(t,r,n,o){var a=t.attrs,s=t.componentStyle,i=t.defaultProps,c=t.foldedComponentIds,l=t.shouldForwardProp,u=t.styledComponentId,d=t.target;"production"!==process.env.NODE_ENV&&e.useDebugValue(u);a=(i=(p=function(e,t,r){return e.theme!==(r=void 0===r?B:r).theme&&e.theme||t||r.theme}(r,e.useContext(We),i)||B,f=a,h=z({},r,{theme:p=void 0===p?B:p}),m={},f.forEach((function(e){var t,r,n,o=e;for(t in o=H(o)?o(h):o)h[t]=m[t]="className"===t?(r=m[t],n=o[t],r&&n?r+" "+n:r||n):o[t]})),[h,m]))[1],p=s,f=o,s=i[0],o="production"!==process.env.NODE_ENV?t.warnTooManyClasses:void 0,i=e.useContext(xe)||_e,t=e.useContext(Ee)||Pe,t=f?p.generateAndInjectStyles(B,i,t):p.generateAndInjectStyles(s,i,t),"production"!==process.env.NODE_ENV&&e.useDebugValue(t),"production"!==process.env.NODE_ENV&&!f&&o&&o(t),t=t,n=n;var p,f,h,m,g,y=a.$as||r.$as||a.as||r.as||d,v=He(y),b=a!==r?z({},r,{},a):r,w={};for(g in b)"$"!==g[0]&&"as"!==g&&("forwardedAs"===g?w.as=b[g]:(l?l(g,M,y):!v||M(g))&&(w[g]=b[g]));return r.style&&a.style!==r.style&&(w.style=z({},r.style,{},a.style)),w.className=Array.prototype.concat(c,u,t!==u?t:null,r.className,a.className).filter(Boolean).join(" "),w.ref=n,e.createElement(y,w)}(h,t,r,b)}).displayName=u,(h=n.default.forwardRef(c)).attrs=p,h.componentStyle=l,h.displayName=u,h.shouldForwardProp=f,h.foldedComponentIds=s?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):F,h.styledComponentId=d,h.target=s?r.target:r,h.withComponent=function(e){var t=o.componentId,r=function(e,t){if(null==e)return{};for(var r,n={},o=Object.keys(e),a=0;a<o.length;a++)r=o[a],0<=t.indexOf(r)||(n[r]=e[r]);return n}(o,["componentId"]);t=t&&t+"-"+(He(e)?e:Be(q(e)));return Ze(e,z({},r,{attrs:p,componentId:t}),a)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=s?Ge({},r.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(function(t,r){if("production"!==process.env.NODE_ENV){r="The component "+t+(r?' with the id of "'+r+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.";try{e.useRef(),Le.has(r)||(console.warn(r),Le.add(r))}catch(t){ze.test(t.message)&&Le.delete(r)}}}(u,d),h.warnTooManyClasses=(m=u,g=d,v=!(y={}),function(e){!v&&(y[e]=!0,200<=Object.keys(y).length)&&(console.warn("Over 200 classes were generated for component "+m+(g?' with the id of "'+g+'"':"")+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),v=!0,y={})})),h.toString=function(){return"."+h.styledComponentId},i&&t.hoistNonReactStatics_cjs(h,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var Ke=function(e){return function e(t,r,n){if(void 0===n&&(n=B),!o.exports.isValidElementType(r))return K(1,String(r));function a(){return t(r,n,Me.apply(void 0,arguments))}return a.withConfig=function(o){return e(t,r,z({},n,{},o))},a.attrs=function(o){return e(t,r,z({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},a}(Ze,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ke[e]=Ke(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&process.env.NODE_ENV;var Je=Ke;exports.styled=Je; //# sourceMappingURL=styled-components.esm-174f8520.js.map