styled-components 6.4.0-prerelease.0 → 6.4.0-prerelease.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e=e||self).styled={},e.React)}(this,function(e,t){"use strict";var r="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",n="active",o="data-styled-version",s="6.4.0-prerelease.0",i="/*!sc*/\n",a="undefined"!=typeof window&&"undefined"!=typeof document,c=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&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&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),u={},l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};function f(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var p=Object.freeze([]),h=Object.freeze({});function d(e,t){Object.defineProperty(e,"toString",{value:t})}function v(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var g=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var r=this._cGroup;r<e;r++)t+=this.groupSizes[r];else for(r=this._cGroup-1;r>=e;r--)t-=this.groupSizes[r];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw v(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=n;s<o;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=0,c=(s=0,t.length);s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++,a++);a>0&&this._cGroup>e&&(this._cIndex+=a)},e.prototype.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>0&&this._cGroup>e&&(this._cIndex-=t)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,s=n;s<o;s++)t+=this.tag.getRule(s)+i;return t},e}(),m=new Map,y=new Map,S=1,b=function(e){if(m.has(e))return m.get(e);for(;y.has(S);)S++;var t=S++;return m.set(e,t),y.set(t,e),t},w=function(e,t){S=t+1,m.set(e,t),y.set(t,e)},C="style[".concat(r,"][").concat(o,'="').concat(s,'"]'),A=new RegExp("^".concat(r,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),x=function(e){return"undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},I=function(e){if(!e)return document;if(x(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(x(t))return t}return document},_=function(e,t,r){for(var n,o=r.split(","),s=0,i=o.length;s<i;s++)(n=o[s])&&e.registerName(t,n)},P=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(i),o=[],s=0,a=n.length;s<a;s++){var c=n[s].trim();if(c){var u=c.match(A);if(u){var l=0|parseInt(u[1],10),f=u[2];0!==l&&(w(f,l),_(e,f,u[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(c)}}},R=function(e){for(var t=I(e.options.target).querySelectorAll(C),o=0,s=t.length;o<s;o++){var i=t[o];i&&i.getAttribute(r)!==n&&(P(e,i),i.parentNode&&i.parentNode.removeChild(i))}},E=!1;function N(){if(!1!==E)return E;if("undefined"!=typeof document){var e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return E=e.nonce||e.getAttribute("content")||void 0;var t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return E=t.getAttribute("content")||void 0}return E="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0}var $=function(e,t){var i=document.head,a=e||i,c=document.createElement("style"),u=function(e){var t=Array.from(e.querySelectorAll("style[".concat(r,"]")));return t[t.length-1]}(a),l=void 0!==u?u.nextSibling:null;c.setAttribute(r,n),c.setAttribute(o,s);var f=t||N();return f&&c.setAttribute("nonce",f),a.insertBefore(c,l),c},k=function(){function e(e,t){this.element=$(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var r=null!==(t=e.getRootNode().styleSheets)&&void 0!==t?t:document.styleSheets,n=0,o=r.length;n<o;n++){var s=r[n];if(s.ownerNode===e)return s}throw v(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),O=function(){function e(e,t){this.element=$(e,t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),j=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),T=a,D={isServer:!a,useCSSOMInjection:!c},G=function(){function e(e,t,n){void 0===e&&(e=h),void 0===t&&(t={});var o=this;this.options=l(l({},D),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&a&&T&&(T=!1,R(this)),d(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",s=function(n){var s=function(e){return y.get(e)}(n);if(void 0===s)return"continue";var a=e.names.get(s);if(void 0===a||!a.size)return"continue";var c=t.getGroup(n);if(0===c.length)return"continue";var u=r+".g"+n+'[id="'+s+'"]',l="";a.forEach(function(e){e.length>0&&(l+=e+",")}),o+=c+u+'{content:"'+l+'"}'+i},a=0;a<n;a++)s(a);return o}(o)})}return e.registerId=function(e){return b(e)},e.prototype.rehydrate=function(){!this.server&&a&&R(this)},e.prototype.reconstructWithOptions=function(t,r){void 0===r&&(r=!0);var n=new e(l(l({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&a&&t.target!==this.options.target&&I(this.options.target)!==I(t.target)&&R(n),n},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target,n=e.nonce;return e.isServer?new j(r):t?new k(r,n):new O(r,n)}(this.options),new g(e)));var e},e.prototype.hasNameForId=function(e,t){var r,n;return null!==(n=null===(r=this.names.get(e))||void 0===r?void 0:r.has(t))&&void 0!==n&&n},e.prototype.registerName=function(e,t){b(e);var r=this.names.get(e);r?r.add(t):this.names.set(e,new Set([t]))},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(b(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(b(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),F={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function M(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in F||e.startsWith("--")?String(t).trim():"".concat(t,"px")}function z(e){return e.displayName||e.name||"Component"}var B=function(e){return e>="A"&&e<="Z"};function L(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;B(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}function W(e){return"function"==typeof e}var Y=Symbol.for("sc-keyframes");function q(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function H(e){return"object"==typeof e&&"styledComponentId"in e}var V=function(e){return null==e||!1===e||""===e},U=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!V(n)&&(Array.isArray(n)&&n.isCss||W(n)?t.push("".concat(L(r),":"),n,";"):q(n)?t.push.apply(t,f(f(["".concat(r," {")],U(n),!1),["}"],!1)):t.push("".concat(L(r),": ").concat(M(r,n),";")))}return t};function J(e,t,r,n,o){if(void 0===o&&(o=[]),"string"==typeof e)return e&&o.push(e),o;if(V(e))return o;if(H(e))return o.push(".".concat(e.styledComponentId)),o;var s,i;if(W(e))return!W(s=e)||s.prototype&&s.prototype.isReactComponent||!t?(o.push(e),o):J(e(t),t,r,n,o);if("object"==typeof(i=e)&&null!==i&&Y in i)return r?(e.inject(r,n),o.push(e.getName(n))):o.push(e),o;if(q(e)){for(var a=U(e),c=0;c<a.length;c++)o.push(a[c]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(c=0;c<e.length;c++)J(e[c],t,r,n,o);return o}function Z(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(W(r)&&!H(r))return!1}return!0}function K(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Q(e,t){return e.join(t||"")}var X=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Z(e),G.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var o=n(Q(J(this.rules,t,r,n)),""),s=this.componentId+e;r.insertRules(s,s,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&G.registerId(this.componentId+e);var o=this.componentId+e;this.isStatic?r.hasNameForId(o,o)||this.createStyles(e,t,r,n):(this.removeStyles(e,r),this.createStyles(e,t,r,n))},e}(),ee="-ms-",te="-moz-",re="-webkit-",ne="comm",oe="rule",se="decl",ie="@keyframes",ae=Math.abs,ce=String.fromCharCode,ue=Object.assign;function le(e){return e.trim()}function fe(e,t){return(e=t.exec(e))?e[0]:e}function pe(e,t,r){return e.replace(t,r)}function he(e,t,r){return e.indexOf(t,r)}function de(e,t){return 0|e.charCodeAt(t)}function ve(e,t,r){return e.slice(t,r)}function ge(e){return e.length}function me(e){return e.length}function ye(e,t){return t.push(e),e}function Se(e,t){return e.filter(function(e){return!fe(e,t)})}var be=1,we=1,Ce=0,Ae=0,xe=0,Ie="";function _e(e,t,r,n,o,s,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:be,column:we,length:i,return:"",siblings:a}}function Pe(e,t){return ue(_e("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Re(e){for(;e.root;)e=Pe(e.root,{children:[e]});ye(e,e.siblings)}function Ee(){return xe=Ae>0?de(Ie,--Ae):0,we--,10===xe&&(we=1,be--),xe}function Ne(){return xe=Ae<Ce?de(Ie,Ae++):0,we++,10===xe&&(we=1,be++),xe}function $e(){return de(Ie,Ae)}function ke(){return Ae}function Oe(e,t){return ve(Ie,e,t)}function je(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Te(e){return le(Oe(Ae-1,Fe(91===e?e+2:40===e?e+1:e)))}function De(e){for(;(xe=$e())&&xe<33;)Ne();return je(e)>2||je(xe)>3?"":" "}function Ge(e,t){for(;--t&&Ne()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return Oe(e,ke()+(t<6&&32==$e()&&32==Ne()))}function Fe(e){for(;Ne();)switch(xe){case e:return Ae;case 34:case 39:34!==e&&39!==e&&Fe(xe);break;case 40:41===e&&Fe(e);break;case 92:Ne()}return Ae}function Me(e,t){for(;Ne()&&e+xe!==57&&(e+xe!==84||47!==$e()););return"/*"+Oe(t,Ae-1)+"*"+ce(47===e?e:Ne())}function ze(e){for(;!je($e());)Ne();return Oe(e,Ae)}function Be(e){return function(e){return Ie="",e}(Le("",null,null,null,[""],e=function(e){return be=we=1,Ce=ge(Ie=e),Ae=0,[]}(e),0,[0],e))}function Le(e,t,r,n,o,s,i,a,c){for(var u=0,l=0,f=i,p=0,h=0,d=0,v=1,g=1,m=1,y=0,S="",b=o,w=s,C=n,A=S;g;)switch(d=y,y=Ne()){case 40:if(108!=d&&58==de(A,f-1)){-1!=he(A+=pe(Te(y),"&","&\f"),"&\f",ae(u?a[u-1]:0))&&(m=-1);break}case 34:case 39:case 91:A+=Te(y);break;case 9:case 10:case 13:case 32:A+=De(d);break;case 92:A+=Ge(ke()-1,7);continue;case 47:switch($e()){case 42:case 47:ye(Ye(Me(Ne(),ke()),t,r,c),c),5!=je(d||1)&&5!=je($e()||1)||!ge(A)||" "===ve(A,-1,void 0)||(A+=" ");break;default:A+="/"}break;case 123*v:a[u++]=ge(A)*m;case 125*v:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+l:-1==m&&(A=pe(A,/\f/g,"")),h>0&&(ge(A)-f||0===v&&47===d)&&ye(h>32?qe(A+";",n,r,f-1,c):qe(pe(A," ","")+";",n,r,f-2,c),c);break;case 59:A+=";";default:if(ye(C=We(A,t,r,u,l,o,a,S,b=[],w=[],f,s),s),123===y)if(0===l)Le(A,t,C,C,b,s,f,a,w);else{switch(p){case 99:if(110===de(A,3))break;case 108:if(97===de(A,2))break;default:l=0;case 100:case 109:case 115:}l?Le(e,C,C,n&&ye(We(e,C,C,0,0,o,a,S,o,b=[],f,w),w),o,w,f,a,n?b:w):Le(A,C,C,C,[""],w,0,a,w)}}u=l=h=0,v=m=1,S=A="",f=i;break;case 58:f=1+ge(A),h=d;default:if(v<1)if(123==y)--v;else if(125==y&&0==v++&&125==Ee())continue;switch(A+=ce(y),y*v){case 38:m=l>0?1:(A+="\f",-1);break;case 44:a[u++]=(ge(A)-1)*m,m=1;break;case 64:45===$e()&&(A+=Te(Ne())),p=$e(),l=f=ge(S=A+=ze(ke())),y++;break;case 45:45===d&&2==ge(A)&&(v=0)}}return s}function We(e,t,r,n,o,s,i,a,c,u,l,f){for(var p=o-1,h=0===o?s:[""],d=me(h),v=0,g=0,m=0;v<n;++v)for(var y=0,S=ve(e,p+1,p=ae(g=i[v])),b=e;y<d;++y)(b=le(g>0?h[y]+" "+S:pe(S,/&\f/g,h[y])))&&(c[m++]=b);return _e(e,t,r,0===o?oe:a,c,u,l,f)}function Ye(e,t,r,n){return _e(e,t,r,ne,ce(xe),ve(e,2,-2),0,n)}function qe(e,t,r,n,o){return _e(e,t,r,se,ve(e,0,n),ve(e,n+1,-1),n,o)}function He(e,t,r){switch(function(e,t){return 45^de(e,0)?(((t<<2^de(e,0))<<2^de(e,1))<<2^de(e,2))<<2^de(e,3):0}(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return re+e+e;case 4855:return re+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+te+e+ee+e+e;case 5936:switch(de(e,t+11)){case 114:return re+e+ee+pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+ee+pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+ee+pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return re+e+ee+e+e;case 6165:return re+e+ee+"flex-"+e+e;case 5187:return re+e+pe(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+ee+"flex-$1$2")+e;case 5443:return re+e+ee+"flex-item-"+pe(e,/flex-|-self/g,"")+(fe(e,/flex-|baseline/)?"":ee+"grid-row-"+pe(e,/flex-|-self/g,""))+e;case 4675:return re+e+ee+"flex-line-pack"+pe(e,/align-content|flex-|-self/g,"")+e;case 5548:return re+e+ee+pe(e,"shrink","negative")+e;case 5292:return re+e+ee+pe(e,"basis","preferred-size")+e;case 6060:return re+"box-"+pe(e,"-grow","")+re+e+ee+pe(e,"grow","positive")+e;case 4554:return re+pe(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return pe(pe(pe(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return pe(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return pe(pe(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+ee+"flex-pack:$3"),/space-between/,"justify")+re+e+e;case 4200:if(!fe(e,/flex-|baseline/))return ee+"grid-column-align"+ve(e,t)+e;break;case 2592:case 3360:return ee+pe(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,fe(e.props,/grid-\w+-end/)})?~he(e+(r=r[t].value),"span",0)?e:ee+pe(e,"-start","")+e+ee+"grid-row-span:"+(~he(r,"span",0)?fe(r,/\d+/):+fe(r,/\d+/)-+fe(e,/\d+/))+";":ee+pe(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return fe(e.props,/grid-\w+-start/)})?e:ee+pe(pe(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return pe(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ge(e)-1-t>6)switch(de(e,t+1)){case 109:if(45!==de(e,t+4))break;case 102:return pe(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+te+(108==de(e,t+3)?"$3":"$2-$3"))+e;case 115:return~he(e,"stretch",0)?He(pe(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return pe(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,s,i,a){return ee+r+":"+n+a+(o?ee+r+"-span:"+(s?i:+i-+n)+a:"")+e});case 4949:if(121===de(e,t+6))return pe(e,":",":"+re)+e;break;case 6444:switch(de(e,45===de(e,14)?18:11)){case 120:return pe(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+re+(45===de(e,14)?"inline-":"")+"box$3$1"+re+"$2$3$1"+ee+"$2box$3")+e;case 100:return pe(e,":",":"+ee)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return pe(e,"scroll-","scroll-snap-")+e}return e}function Ve(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ue(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case se:return e.return=e.return||e.value;case ne:return"";case ie:return e.return=e.value+"{"+Ve(e.children,n)+"}";case oe:if(!ge(e.value=e.props.join(",")))return""}return ge(r=Ve(e.children,n))?e.return=e.value+"{"+r+"}":""}function Je(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case se:return void(e.return=He(e.value,e.length,r));case ie:return Ve([Pe(e,{value:pe(e.value,"@","@"+re)})],n);case oe:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,function(t){switch(fe(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Re(Pe(e,{props:[pe(t,/:(read-\w+)/,":-moz-$1")]})),Re(Pe(e,{props:[t]})),ue(e,{props:Se(r,n)});break;case"::placeholder":Re(Pe(e,{props:[pe(t,/:(plac\w+)/,":"+re+"input-$1")]})),Re(Pe(e,{props:[pe(t,/:(plac\w+)/,":-moz-$1")]})),Re(Pe(e,{props:[pe(t,/:(plac\w+)/,ee+"input-$1")]})),Re(Pe(e,{props:[t]})),ue(e,{props:Se(r,n)})}return""})}}var Ze=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ke=function(e){return Ze(5381,e)},Qe=/&/g,Xe=47,et=42;function tt(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,r=0,n=0,o=!1,s=0;s<t;s++){var i=e.charCodeAt(s);if(0!==n||o||i!==Xe||e.charCodeAt(s+1)!==et)if(o)i===et&&e.charCodeAt(s+1)===Xe&&(o=!1,s++);else if(34!==i&&39!==i||0!==s&&92===e.charCodeAt(s-1)){if(0===n)if(123===i)r++;else if(125===i&&--r<0)return!0}else 0===n?n=i:n===i&&(n=0);else o=!0,s++}return 0!==r||0!==n}function rt(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=rt(e.children,t)),e})}function nt(e){var t,r,n,o=void 0===e?h:e,s=o.options,i=void 0===s?h:s,a=o.plugins,c=void 0===a?p:a,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},l=c.slice();l.push(function(e){e.type===oe&&e.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),e.props[0]=e.props[0].replace(Qe,r).replace(n,u))}),i.prefix&&l.push(Je),l.push(Ue);var f=[],d=function(e){var t=me(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}(l.concat(function(e){e.root||(e=e.return)&&f.push(e)})),g=function(e,o,s,a){void 0===o&&(o=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,r=o,n=void 0;var c=function(e){if(!tt(e))return e;for(var t=e.length,r="",n=0,o=0,s=0,i=!1,a=0;a<t;a++){var c=e.charCodeAt(a);if(0!==s||i||c!==Xe||e.charCodeAt(a+1)!==et)if(i)c===et&&e.charCodeAt(a+1)===Xe&&(i=!1,a++);else if(34!==c&&39!==c||0!==a&&92===e.charCodeAt(a-1)){if(0===s)if(123===c)o++;else if(125===c){if(--o<0){for(var u=a+1;u<t;){var l=e.charCodeAt(u);if(59===l||10===l)break;u++}u<t&&59===e.charCodeAt(u)&&u++,o=0,a=u-1,n=u;continue}0===o&&(r+=e.substring(n,a+1),n=a+1)}else 59===c&&0===o&&(r+=e.substring(n,a+1),n=a+1)}else 0===s?s=c:s===c&&(s=0);else i=!0,a++}if(n<t){var f=e.substring(n);tt(f)||(r+=f)}return r}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,r=[],n=0,o=0,s=0,i=0;o<t;){var a=e.charCodeAt(o);if(34!==a&&39!==a||0!==o&&92===e.charCodeAt(o-1))if(0===s)if(a===Xe&&o+1<t&&e.charCodeAt(o+1)===et){for(o+=2;o+1<t&&(e.charCodeAt(o)!==et||e.charCodeAt(o+1)!==Xe);)o++;o+=2}else if(40===a&&o>=3&&108==(32|e.charCodeAt(o-1))&&114==(32|e.charCodeAt(o-2))&&117==(32|e.charCodeAt(o-3)))i=1,o++;else if(i>0)41===a?i--:40===a&&i++,o++;else if(a===et&&o+1<t&&e.charCodeAt(o+1)===Xe)o>n&&r.push(e.substring(n,o)),n=o+=2;else if(a===Xe&&o+1<t&&e.charCodeAt(o+1)===Xe){for(o>n&&r.push(e.substring(n,o));o<t&&10!==e.charCodeAt(o);)o++;n=o}else o++;else o++;else 0===s?s=a:s===a&&(s=0),o++}return 0===n?e:(n<t&&r.push(e.substring(n)),r.join(""))}(e)),u=Be(s||o?"".concat(s," ").concat(o," { ").concat(c," }"):c);return i.namespace&&(u=rt(u,i.namespace)),f=[],Ve(u,d),f};return g.hash=c.length?c.reduce(function(e,t){return t.name||v(15),Ze(e,t.name)},5381).toString():"",g}var ot=new G,st=nt(),it=t.createContext({shouldForwardProp:void 0,styleSheet:ot,stylis:st}),at=it.Consumer,ct=t.createContext(void 0);function ut(){return t.useContext(it)}function lt(e){if(!t.useMemo)return e.children;var r=ut().styleSheet,n=t.useMemo(function(){var t=r;return e.sheet?t=e.sheet:e.target?t=t.reconstructWithOptions({target:e.target,nonce:e.nonce},!1):void 0!==e.nonce&&(t=t.reconstructWithOptions({nonce:e.nonce})),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.nonce,e.sheet,e.target,r]),o=t.useMemo(function(){return nt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),s=t.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:n,stylis:o}},[e.shouldForwardProp,n,o]);return t.createElement(it.Provider,{value:s},t.createElement(ct.Provider,{value:o},e.children))}var ft=t.createContext(void 0),pt=ft.Consumer;function ht(e,t,r){return void 0===r&&(r=h),e.theme!==r.theme&&e.theme||t||r.theme}var dt=/(a)(d)/gi,vt=function(e){return String.fromCharCode(e+(e>25?39:97))};function gt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=vt(t%52)+r;return(vt(t%52)+r).replace(dt,"$1-$2")}function mt(e){return gt(Ke(e)>>>0)}function yt(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}var St,bt=function(e){return Object.assign(e,{isCss:!0})};function wt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(W(e)||q(e))return bt(J(yt(p,f([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?J(n):bt(J(yt(n,t)))}var Ct,At=function(){function e(e,t){var r=this;this[St]=!0,this.inject=function(e,t){void 0===t&&(t=st);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,d(this,function(){throw v(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=st),this.name+e.hash},e}();St=Y;var xt="function"==typeof Symbol&&Symbol.for,It=xt?Symbol.for("react.memo"):60115,_t=xt?Symbol.for("react.forward_ref"):60112,Pt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Rt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Et={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Nt=((Ct={})[_t]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ct[It]=Et,Ct);function $t(e){return("type"in(t=e)&&t.type.$$typeof)===It?Et:"$$typeof"in e?Nt[e.$$typeof]:Pt;var t}var kt=Object.defineProperty,Ot=Object.getOwnPropertyNames,jt=Object.getOwnPropertySymbols,Tt=Object.getOwnPropertyDescriptor,Dt=Object.getPrototypeOf,Gt=Object.prototype;function Ft(e,t,r){if("string"!=typeof t){if(Gt){var n=Dt(t);n&&n!==Gt&&Ft(e,n,r)}var o=Ot(t);jt&&(o=o.concat(jt(t)));for(var s=$t(e),i=$t(t),a=0;a<o.length;++a){var c=o[a];if(!(c in Rt||r&&r[c]||i&&c in i||s&&c in s)){var u=Tt(t,c);try{kt(e,c,u)}catch(e){}}}}return e}var Mt=function(){function e(e){var n=(void 0===e?{}:e).nonce,i=this;this._emitSheetCSS=function(){var e=i.instance.toString();if(!e)return"";var t=i.instance.options.nonce||N(),n=Q([t&&'nonce="'.concat(t,'"'),"".concat(r,'="true"'),"".concat(o,'="').concat(s,'"')].filter(Boolean)," ");return"<style ".concat(n,">").concat(e,"</style>")},this.getStyleTags=function(){if(i.sealed)throw v(2);return i._emitSheetCSS()},this.getStyleElement=function(){var e;if(i.sealed)throw v(2);var n=i.instance.toString();if(!n)return[];var a=((e={})[r]="",e[o]=s,e.dangerouslySetInnerHTML={__html:n},e),c=i.instance.options.nonce||N();return c&&(a.nonce=c),[t.createElement("style",l({},a,{key:"sc-0-0"}))]},this.seal=function(){i.sealed=!0},this.instance=new G({isServer:!0,nonce:n}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw v(2);return t.createElement(lt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw v(3)},e}(),zt=/*#__PURE__*/Object.freeze({__proto__:null,ServerStyleSheet:Mt,StyleSheetConsumer:at,StyleSheetContext:it,StyleSheetManager:lt,ThemeConsumer:pt,ThemeContext:ft,ThemeProvider:function(e){var r=t.useContext(ft),n=t.useMemo(function(){return function(e,t){if(!e)throw v(14);if(W(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw v(8);return t?l(l({},t),e):e}(e.theme,r)},[e.theme,r]);return e.children?t.createElement(ft.Provider,{value:n},e.children):null},__PRIVATE__:{StyleSheet:G,mainSheet:ot},createGlobalStyle:function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=wt.apply(void 0,f([e],r,!1)),s="sc-global-".concat(mt(JSON.stringify(o))),i=new X(o,s),a=new WeakMap,c=function(e){var r=ut(),n=t.useContext(ft),o=a.get(r.styleSheet);return void 0===o&&(o=r.styleSheet.allocateGSInstance(s),a.set(r.styleSheet,o)),t.useLayoutEffect(function(){return r.styleSheet.server||function(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,u,r,o);else{var s=l(l({},t),{theme:ht(t,n,c.defaultProps)});i.renderStyles(e,s,r,o)}}(o,e,r.styleSheet,n,r.stylis),function(){i.removeStyles(o,r.styleSheet)}},[o,e,r.styleSheet,n,r.stylis]),null};return t.memo(c)},css:wt,isStyledComponent:H,keyframes:function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Q(wt.apply(void 0,f([e],t,!1))),o=mt(n);return new At(o,n)},useTheme:function(){var e=t.useContext(ft);if(!e)throw v(18);return e},version:s,withTheme:function(e){var r=t.forwardRef(function(r,n){var o=ht(r,t.useContext(ft),e.defaultProps);return t.createElement(e,l(l({},r),{theme:o,ref:n}))});return r.displayName="WithTheme(".concat(z(e),")"),Ft(r,e)}}),Bt=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),Lt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Wt=/(^-|-$)/g;function Yt(e){return e.replace(Lt,"-").replace(Wt,"")}function qt(e){return"string"==typeof e&&!0}function Ht(e,t,r){if(void 0===r&&(r=!1),!r&&!q(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Ht(e[n],t[n]);else if(q(t))for(var n in t)e[n]=Ht(e[n],t[n]);return e}var Vt=Ke(s),Ut=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Z(e),this.componentId=t,this.baseHash=Ze(Vt,t),this.baseStyle=r,G.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r).className:"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=K(n,this.staticRulesId);else{var o=Q(J(this.rules,e,t,r)),s=gt(Ze(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=r(o,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}n=K(n,s),this.staticRulesId=s}else{for(var a=Ze(this.baseHash,r.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l;else if(l){var f=Q(J(l,e,t,r));a=Ze(Ze(a,String(u)),f),c+=f}}if(c){var p=gt(a>>>0);if(!t.hasNameForId(this.componentId,p)){var h=r(c,".".concat(p),void 0,this.componentId);t.insertRules(this.componentId,p,h)}n=K(n,p)}}return{className:n,css:"undefined"==typeof window?t.getTag().getGroup(b(this.componentId)):""}},e}(),Jt={};function Zt(e,r,n){var o=H(e),i=e,a=!qt(e),c=r.attrs,u=void 0===c?p:c,f=r.componentId,v=void 0===f?function(e,t){var r="string"!=typeof e?"sc":Yt(e);Jt[r]=(Jt[r]||0)+1;var n="".concat(r,"-").concat(mt(s+r+Jt[r]));return t?"".concat(t,"-").concat(n):n}(r.displayName,r.parentComponentId):f,g=r.displayName,m=void 0===g?function(e){return qt(e)?"styled.".concat(e):"Styled(".concat(z(e),")")}(e):g,y=r.displayName&&r.componentId?"".concat(Yt(r.displayName),"-").concat(r.componentId):r.componentId||v,S=o&&i.attrs?i.attrs.concat(u).filter(Boolean):u,b=r.shouldForwardProp;if(o&&i.shouldForwardProp){var w=i.shouldForwardProp;if(r.shouldForwardProp){var C=r.shouldForwardProp;b=function(e,t){return w(e,t)&&C(e,t)}}else b=w}var A=new Ut(n,y,o?i.componentStyle:void 0);function x(e,r){return function(e,r,n){var o=e.attrs,s=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,c=e.styledComponentId,u=e.target,f=t.useContext(ft),p=ut(),d=e.shouldForwardProp||p.shouldForwardProp,v=ht(r,f,i)||h,g=function(e,t,r){for(var n,o=l(l({},t),{className:void 0,theme:r}),s=0;s<e.length;s+=1){var i=W(n=e[s])?n(l({},o)):n;for(var a in i)"className"===a?o.className=K(o.className,i[a]):"style"===a?o.style=l(l({},o.style),i[a]):a in t&&void 0===t[a]||(o[a]=i[a])}return"className"in t&&"string"==typeof t.className&&(o.className=K(o.className,t.className)),o}(o,r,v),m=g.as||u,y={};for(var S in g)void 0===g[S]||"$"===S[0]||"as"===S||"theme"===S&&g.theme===v||("forwardedAs"===S?y.as=g.forwardedAs:d&&!d(S,m)||(y[S]=g[S]));var b=function(e,t){var r=ut();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(s,g),w=b.className,C=K(a,c);return w&&(C+=" "+w),g.className&&(C+=" "+g.className),y[qt(m)&&!Bt.has(m)?"class":"className"]=C,n&&(y.ref=n),t.createElement(m,y)}(I,e,r)}x.displayName=m;var I=t.forwardRef(x);return I.attrs=S,I.componentStyle=A,I.displayName=m,I.shouldForwardProp=b,I.foldedComponentIds=o?K(i.foldedComponentIds,i.styledComponentId):"",I.styledComponentId=y,I.target=o?i.target:e,Object.defineProperty(I,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)Ht(e,o[n],!0);return e}({},i.defaultProps,e):e}}),d(I,function(){return".".concat(I.styledComponentId)}),a&&Ft(I,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),I}function Kt(e,t,r){if(void 0===r&&(r=h),!t)throw v(1,t);var n=function(n){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return e(t,r,wt.apply(void 0,f([n],o,!1)))};return n.attrs=function(n){return Kt(e,t,l(l({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return Kt(e,t,l(l({},r),n))},n}new Set;var Qt=function(e){return Kt(Zt,e)},Xt=Qt;for(var er in Bt.forEach(function(e){Xt[e]=Qt(e)}),zt)Xt[er]=zt[er];e.default=Xt,e.styled=Xt,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e=e||self).styled={},e.React)}(this,function(e,t){"use strict";var r="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",n="active",o="data-styled-version",s="6.4.0-prerelease.2",i="/*!sc*/\n",a="undefined"!=typeof window&&"undefined"!=typeof document,c=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&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&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),u={},l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};function f(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var p=Object.freeze([]),h=Object.freeze({});function d(e,t){Object.defineProperty(e,"toString",{value:t})}function v(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var m=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var r=this._cGroup;r<e;r++)t+=this.groupSizes[r];else for(r=this._cGroup-1;r>=e;r--)t-=this.groupSizes[r];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw v(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=n;s<o;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=0,c=(s=0,t.length);s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++,a++);a>0&&this._cGroup>e&&(this._cIndex+=a)},e.prototype.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>0&&this._cGroup>e&&(this._cIndex-=t)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,s=n;s<o;s++)t+=this.tag.getRule(s)+i;return t},e}(),g=new Map,y=new Map,S=1,b=function(e){if(g.has(e))return g.get(e);for(;y.has(S);)S++;var t=S++;return g.set(e,t),y.set(t,e),t},w=function(e,t){S=t+1,g.set(e,t),y.set(t,e)},C="style[".concat(r,"][").concat(o,'="').concat(s,'"]'),A=new RegExp("^".concat(r,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),x=function(e){return"undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},I=function(e){if(!e)return document;if(x(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(x(t))return t}return document},_=function(e,t,r){for(var n,o=r.split(","),s=0,i=o.length;s<i;s++)(n=o[s])&&e.registerName(t,n)},R=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(i),o=[],s=0,a=n.length;s<a;s++){var c=n[s].trim();if(c){var u=c.match(A);if(u){var l=0|parseInt(u[1],10),f=u[2];0!==l&&(w(f,l),_(e,f,u[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(c)}}},P=function(e){for(var t=I(e.options.target).querySelectorAll(C),o=0,s=t.length;o<s;o++){var i=t[o];i&&i.getAttribute(r)!==n&&(R(e,i),i.parentNode&&i.parentNode.removeChild(i))}},E=!1;function N(){if(!1!==E)return E;if("undefined"!=typeof document){var e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return E=e.nonce||e.getAttribute("content")||void 0;var t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return E=t.getAttribute("content")||void 0}return E="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0}var $=function(e,t){var i=document.head,a=e||i,c=document.createElement("style"),u=function(e){var t=Array.from(e.querySelectorAll("style[".concat(r,"]")));return t[t.length-1]}(a),l=void 0!==u?u.nextSibling:null;c.setAttribute(r,n),c.setAttribute(o,s);var f=t||N();return f&&c.setAttribute("nonce",f),a.insertBefore(c,l),c},k=function(){function e(e,t){this.element=$(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var r=null!==(t=e.getRootNode().styleSheets)&&void 0!==t?t:document.styleSheets,n=0,o=r.length;n<o;n++){var s=r[n];if(s.ownerNode===e)return s}throw v(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),O=function(){function e(e,t){this.element=$(e,t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),j=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),T=a,G={isServer:!a,useCSSOMInjection:!c},D=function(){function e(e,t,n){void 0===e&&(e=h),void 0===t&&(t={});var o=this;this.options=l(l({},G),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&a&&T&&(T=!1,P(this)),d(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",s=function(n){var s=function(e){return y.get(e)}(n);if(void 0===s)return"continue";var a=e.names.get(s);if(void 0===a||!a.size)return"continue";var c=t.getGroup(n);if(0===c.length)return"continue";var u=r+".g"+n+'[id="'+s+'"]',l="";a.forEach(function(e){e.length>0&&(l+=e+",")}),o+=c+u+'{content:"'+l+'"}'+i},a=0;a<n;a++)s(a);return o}(o)})}return e.registerId=function(e){return b(e)},e.prototype.rehydrate=function(){!this.server&&a&&P(this)},e.prototype.reconstructWithOptions=function(t,r){void 0===r&&(r=!0);var n=new e(l(l({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&a&&t.target!==this.options.target&&I(this.options.target)!==I(t.target)&&P(n),n},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target,n=e.nonce;return e.isServer?new j(r):t?new k(r,n):new O(r,n)}(this.options),new m(e)));var e},e.prototype.hasNameForId=function(e,t){var r,n;return null!==(n=null===(r=this.names.get(e))||void 0===r?void 0:r.has(t))&&void 0!==n&&n},e.prototype.registerName=function(e,t){b(e);var r=this.names.get(e);r?r.add(t):this.names.set(e,new Set([t]))},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(b(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(b(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),F={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function M(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in F||e.startsWith("--")?String(t).trim():"".concat(t,"px")}function z(e){return e.displayName||e.name||"Component"}var B=function(e){return e>="A"&&e<="Z"};function L(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;B(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}function W(e){return"function"==typeof e}var Y=Symbol.for("sc-keyframes");function q(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function H(e){return"object"==typeof e&&"styledComponentId"in e}var V=function(e){return null==e||!1===e||""===e},U=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!V(n)&&(Array.isArray(n)&&n.isCss||W(n)?t.push("".concat(L(r),":"),n,";"):q(n)?t.push.apply(t,f(f(["".concat(r," {")],U(n),!1),["}"],!1)):t.push("".concat(L(r),": ").concat(M(r,n),";")))}return t};function J(e,t,r,n,o){if(void 0===o&&(o=[]),"string"==typeof e)return e&&o.push(e),o;if(V(e))return o;if(H(e))return o.push(".".concat(e.styledComponentId)),o;var s,i;if(W(e))return!W(s=e)||s.prototype&&s.prototype.isReactComponent||!t?(o.push(e),o):J(e(t),t,r,n,o);if("object"==typeof(i=e)&&null!==i&&Y in i)return r?(e.inject(r,n),o.push(e.getName(n))):o.push(e),o;if(q(e)){for(var a=U(e),c=0;c<a.length;c++)o.push(a[c]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(c=0;c<e.length;c++)J(e[c],t,r,n,o);return o}function Z(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(W(r)&&!H(r))return!1}return!0}function K(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Q(e,t){return e.join(t||"")}var X=function(){function e(e,t){this.instanceRules=new Map,this.rules=e,this.componentId=t,this.isStatic=Z(e),D.registerId(this.componentId)}return e.prototype.removeStyles=function(e,t){this.instanceRules.delete(e),this.rebuildGroup(t)},e.prototype.renderStyles=function(e,t,r,n){var o=this.componentId;if(this.isStatic)if(r.hasNameForId(o,o+e))this.instanceRules.has(e)||this.computeRules(e,t,r,n);else{var s=this.computeRules(e,t,r,n);r.insertRules(o,s.name,s.rules)}else{var i=this.instanceRules.get(e);if(this.computeRules(e,t,r,n),!r.server&&i){var a=i.rules,c=this.instanceRules.get(e).rules;if(a.length===c.length){for(var u=!0,l=0;l<a.length;l++)if(a[l]!==c[l]){u=!1;break}if(u)return}}this.rebuildGroup(r)}},e.prototype.computeRules=function(e,t,r,n){var o=Q(J(this.rules,t,r,n)),s={name:this.componentId+e,rules:n(o,"")};return this.instanceRules.set(e,s),s},e.prototype.rebuildGroup=function(e){var t=this.componentId;e.clearRules(t),this.instanceRules.forEach(function(r){e.insertRules(t,r.name,r.rules)})},e}(),ee="-ms-",te="-moz-",re="-webkit-",ne="comm",oe="rule",se="decl",ie="@keyframes",ae=Math.abs,ce=String.fromCharCode,ue=Object.assign;function le(e){return e.trim()}function fe(e,t){return(e=t.exec(e))?e[0]:e}function pe(e,t,r){return e.replace(t,r)}function he(e,t,r){return e.indexOf(t,r)}function de(e,t){return 0|e.charCodeAt(t)}function ve(e,t,r){return e.slice(t,r)}function me(e){return e.length}function ge(e){return e.length}function ye(e,t){return t.push(e),e}function Se(e,t){return e.filter(function(e){return!fe(e,t)})}var be=1,we=1,Ce=0,Ae=0,xe=0,Ie="";function _e(e,t,r,n,o,s,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:be,column:we,length:i,return:"",siblings:a}}function Re(e,t){return ue(_e("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Pe(e){for(;e.root;)e=Re(e.root,{children:[e]});ye(e,e.siblings)}function Ee(){return xe=Ae>0?de(Ie,--Ae):0,we--,10===xe&&(we=1,be--),xe}function Ne(){return xe=Ae<Ce?de(Ie,Ae++):0,we++,10===xe&&(we=1,be++),xe}function $e(){return de(Ie,Ae)}function ke(){return Ae}function Oe(e,t){return ve(Ie,e,t)}function je(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Te(e){return le(Oe(Ae-1,Fe(91===e?e+2:40===e?e+1:e)))}function Ge(e){for(;(xe=$e())&&xe<33;)Ne();return je(e)>2||je(xe)>3?"":" "}function De(e,t){for(;--t&&Ne()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return Oe(e,ke()+(t<6&&32==$e()&&32==Ne()))}function Fe(e){for(;Ne();)switch(xe){case e:return Ae;case 34:case 39:34!==e&&39!==e&&Fe(xe);break;case 40:41===e&&Fe(e);break;case 92:Ne()}return Ae}function Me(e,t){for(;Ne()&&e+xe!==57&&(e+xe!==84||47!==$e()););return"/*"+Oe(t,Ae-1)+"*"+ce(47===e?e:Ne())}function ze(e){for(;!je($e());)Ne();return Oe(e,Ae)}function Be(e){return function(e){return Ie="",e}(Le("",null,null,null,[""],e=function(e){return be=we=1,Ce=me(Ie=e),Ae=0,[]}(e),0,[0],e))}function Le(e,t,r,n,o,s,i,a,c){for(var u=0,l=0,f=i,p=0,h=0,d=0,v=1,m=1,g=1,y=0,S="",b=o,w=s,C=n,A=S;m;)switch(d=y,y=Ne()){case 40:if(108!=d&&58==de(A,f-1)){-1!=he(A+=pe(Te(y),"&","&\f"),"&\f",ae(u?a[u-1]:0))&&(g=-1);break}case 34:case 39:case 91:A+=Te(y);break;case 9:case 10:case 13:case 32:A+=Ge(d);break;case 92:A+=De(ke()-1,7);continue;case 47:switch($e()){case 42:case 47:ye(Ye(Me(Ne(),ke()),t,r,c),c),5!=je(d||1)&&5!=je($e()||1)||!me(A)||" "===ve(A,-1,void 0)||(A+=" ");break;default:A+="/"}break;case 123*v:a[u++]=me(A)*g;case 125*v:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+l:-1==g&&(A=pe(A,/\f/g,"")),h>0&&(me(A)-f||0===v&&47===d)&&ye(h>32?qe(A+";",n,r,f-1,c):qe(pe(A," ","")+";",n,r,f-2,c),c);break;case 59:A+=";";default:if(ye(C=We(A,t,r,u,l,o,a,S,b=[],w=[],f,s),s),123===y)if(0===l)Le(A,t,C,C,b,s,f,a,w);else{switch(p){case 99:if(110===de(A,3))break;case 108:if(97===de(A,2))break;default:l=0;case 100:case 109:case 115:}l?Le(e,C,C,n&&ye(We(e,C,C,0,0,o,a,S,o,b=[],f,w),w),o,w,f,a,n?b:w):Le(A,C,C,C,[""],w,0,a,w)}}u=l=h=0,v=g=1,S=A="",f=i;break;case 58:f=1+me(A),h=d;default:if(v<1)if(123==y)--v;else if(125==y&&0==v++&&125==Ee())continue;switch(A+=ce(y),y*v){case 38:g=l>0?1:(A+="\f",-1);break;case 44:a[u++]=(me(A)-1)*g,g=1;break;case 64:45===$e()&&(A+=Te(Ne())),p=$e(),l=f=me(S=A+=ze(ke())),y++;break;case 45:45===d&&2==me(A)&&(v=0)}}return s}function We(e,t,r,n,o,s,i,a,c,u,l,f){for(var p=o-1,h=0===o?s:[""],d=ge(h),v=0,m=0,g=0;v<n;++v)for(var y=0,S=ve(e,p+1,p=ae(m=i[v])),b=e;y<d;++y)(b=le(m>0?h[y]+" "+S:pe(S,/&\f/g,h[y])))&&(c[g++]=b);return _e(e,t,r,0===o?oe:a,c,u,l,f)}function Ye(e,t,r,n){return _e(e,t,r,ne,ce(xe),ve(e,2,-2),0,n)}function qe(e,t,r,n,o){return _e(e,t,r,se,ve(e,0,n),ve(e,n+1,-1),n,o)}function He(e,t,r){switch(function(e,t){return 45^de(e,0)?(((t<<2^de(e,0))<<2^de(e,1))<<2^de(e,2))<<2^de(e,3):0}(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return re+e+e;case 4855:return re+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+te+e+ee+e+e;case 5936:switch(de(e,t+11)){case 114:return re+e+ee+pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+ee+pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+ee+pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return re+e+ee+e+e;case 6165:return re+e+ee+"flex-"+e+e;case 5187:return re+e+pe(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+ee+"flex-$1$2")+e;case 5443:return re+e+ee+"flex-item-"+pe(e,/flex-|-self/g,"")+(fe(e,/flex-|baseline/)?"":ee+"grid-row-"+pe(e,/flex-|-self/g,""))+e;case 4675:return re+e+ee+"flex-line-pack"+pe(e,/align-content|flex-|-self/g,"")+e;case 5548:return re+e+ee+pe(e,"shrink","negative")+e;case 5292:return re+e+ee+pe(e,"basis","preferred-size")+e;case 6060:return re+"box-"+pe(e,"-grow","")+re+e+ee+pe(e,"grow","positive")+e;case 4554:return re+pe(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return pe(pe(pe(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return pe(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return pe(pe(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+ee+"flex-pack:$3"),/space-between/,"justify")+re+e+e;case 4200:if(!fe(e,/flex-|baseline/))return ee+"grid-column-align"+ve(e,t)+e;break;case 2592:case 3360:return ee+pe(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,fe(e.props,/grid-\w+-end/)})?~he(e+(r=r[t].value),"span",0)?e:ee+pe(e,"-start","")+e+ee+"grid-row-span:"+(~he(r,"span",0)?fe(r,/\d+/):+fe(r,/\d+/)-+fe(e,/\d+/))+";":ee+pe(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return fe(e.props,/grid-\w+-start/)})?e:ee+pe(pe(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return pe(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(me(e)-1-t>6)switch(de(e,t+1)){case 109:if(45!==de(e,t+4))break;case 102:return pe(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+te+(108==de(e,t+3)?"$3":"$2-$3"))+e;case 115:return~he(e,"stretch",0)?He(pe(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return pe(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,s,i,a){return ee+r+":"+n+a+(o?ee+r+"-span:"+(s?i:+i-+n)+a:"")+e});case 4949:if(121===de(e,t+6))return pe(e,":",":"+re)+e;break;case 6444:switch(de(e,45===de(e,14)?18:11)){case 120:return pe(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+re+(45===de(e,14)?"inline-":"")+"box$3$1"+re+"$2$3$1"+ee+"$2box$3")+e;case 100:return pe(e,":",":"+ee)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return pe(e,"scroll-","scroll-snap-")+e}return e}function Ve(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ue(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case se:return e.return=e.return||e.value;case ne:return"";case ie:return e.return=e.value+"{"+Ve(e.children,n)+"}";case oe:if(!me(e.value=e.props.join(",")))return""}return me(r=Ve(e.children,n))?e.return=e.value+"{"+r+"}":""}function Je(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case se:return void(e.return=He(e.value,e.length,r));case ie:return Ve([Re(e,{value:pe(e.value,"@","@"+re)})],n);case oe:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,function(t){switch(fe(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Pe(Re(e,{props:[pe(t,/:(read-\w+)/,":-moz-$1")]})),Pe(Re(e,{props:[t]})),ue(e,{props:Se(r,n)});break;case"::placeholder":Pe(Re(e,{props:[pe(t,/:(plac\w+)/,":"+re+"input-$1")]})),Pe(Re(e,{props:[pe(t,/:(plac\w+)/,":-moz-$1")]})),Pe(Re(e,{props:[pe(t,/:(plac\w+)/,ee+"input-$1")]})),Pe(Re(e,{props:[t]})),ue(e,{props:Se(r,n)})}return""})}}var Ze=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ke=function(e){return Ze(5381,e)},Qe=/&/g,Xe=47,et=42;function tt(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,r=0,n=0,o=!1,s=0;s<t;s++){var i=e.charCodeAt(s);if(0!==n||o||i!==Xe||e.charCodeAt(s+1)!==et)if(o)i===et&&e.charCodeAt(s+1)===Xe&&(o=!1,s++);else if(34!==i&&39!==i||0!==s&&92===e.charCodeAt(s-1)){if(0===n)if(123===i)r++;else if(125===i&&--r<0)return!0}else 0===n?n=i:n===i&&(n=0);else o=!0,s++}return 0!==r||0!==n}function rt(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=rt(e.children,t)),e})}function nt(e){var t,r,n,o=void 0===e?h:e,s=o.options,i=void 0===s?h:s,a=o.plugins,c=void 0===a?p:a,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},l=c.slice();l.push(function(e){e.type===oe&&e.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),e.props[0]=e.props[0].replace(Qe,r).replace(n,u))}),i.prefix&&l.push(Je),l.push(Ue);var f=[],d=function(e){var t=ge(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}(l.concat(function(e){e.root||(e=e.return)&&f.push(e)})),m=function(e,o,s,a){void 0===o&&(o=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,r=o,n=void 0;var c=function(e){if(!tt(e))return e;for(var t=e.length,r="",n=0,o=0,s=0,i=!1,a=0;a<t;a++){var c=e.charCodeAt(a);if(0!==s||i||c!==Xe||e.charCodeAt(a+1)!==et)if(i)c===et&&e.charCodeAt(a+1)===Xe&&(i=!1,a++);else if(34!==c&&39!==c||0!==a&&92===e.charCodeAt(a-1)){if(0===s)if(123===c)o++;else if(125===c){if(--o<0){for(var u=a+1;u<t;){var l=e.charCodeAt(u);if(59===l||10===l)break;u++}u<t&&59===e.charCodeAt(u)&&u++,o=0,a=u-1,n=u;continue}0===o&&(r+=e.substring(n,a+1),n=a+1)}else 59===c&&0===o&&(r+=e.substring(n,a+1),n=a+1)}else 0===s?s=c:s===c&&(s=0);else i=!0,a++}if(n<t){var f=e.substring(n);tt(f)||(r+=f)}return r}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,r=[],n=0,o=0,s=0,i=0;o<t;){var a=e.charCodeAt(o);if(34!==a&&39!==a||0!==o&&92===e.charCodeAt(o-1))if(0===s)if(a===Xe&&o+1<t&&e.charCodeAt(o+1)===et){for(o+=2;o+1<t&&(e.charCodeAt(o)!==et||e.charCodeAt(o+1)!==Xe);)o++;o+=2}else if(40===a&&o>=3&&108==(32|e.charCodeAt(o-1))&&114==(32|e.charCodeAt(o-2))&&117==(32|e.charCodeAt(o-3)))i=1,o++;else if(i>0)41===a?i--:40===a&&i++,o++;else if(a===et&&o+1<t&&e.charCodeAt(o+1)===Xe)o>n&&r.push(e.substring(n,o)),n=o+=2;else if(a===Xe&&o+1<t&&e.charCodeAt(o+1)===Xe){for(o>n&&r.push(e.substring(n,o));o<t&&10!==e.charCodeAt(o);)o++;n=o}else o++;else o++;else 0===s?s=a:s===a&&(s=0),o++}return 0===n?e:(n<t&&r.push(e.substring(n)),r.join(""))}(e)),u=Be(s||o?"".concat(s," ").concat(o," { ").concat(c," }"):c);return i.namespace&&(u=rt(u,i.namespace)),f=[],Ve(u,d),f};return m.hash=c.length?c.reduce(function(e,t){return t.name||v(15),Ze(e,t.name)},5381).toString():"",m}var ot=new D,st=nt(),it=t.createContext({shouldForwardProp:void 0,styleSheet:ot,stylis:st}),at=it.Consumer,ct=t.createContext(void 0);function ut(){return t.useContext(it)}function lt(e){if(!t.useMemo)return e.children;var r=ut().styleSheet,n=t.useMemo(function(){var t=r;return e.sheet?t=e.sheet:e.target?t=t.reconstructWithOptions({target:e.target,nonce:e.nonce},!1):void 0!==e.nonce&&(t=t.reconstructWithOptions({nonce:e.nonce})),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.nonce,e.sheet,e.target,r]),o=t.useMemo(function(){return nt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),s=t.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:n,stylis:o}},[e.shouldForwardProp,n,o]);return t.createElement(it.Provider,{value:s},t.createElement(ct.Provider,{value:o},e.children))}var ft=t.createContext(void 0),pt=ft.Consumer;function ht(e,t,r){return void 0===r&&(r=h),e.theme!==r.theme&&e.theme||t||r.theme}var dt=/(a)(d)/gi,vt=function(e){return String.fromCharCode(e+(e>25?39:97))};function mt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=vt(t%52)+r;return(vt(t%52)+r).replace(dt,"$1-$2")}function gt(e){return mt(Ke(e)>>>0)}function yt(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}var St,bt=function(e){return Object.assign(e,{isCss:!0})};function wt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(W(e)||q(e))return bt(J(yt(p,f([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?J(n):bt(J(yt(n,t)))}var Ct,At=function(){function e(e,t){var r=this;this[St]=!0,this.inject=function(e,t){void 0===t&&(t=st);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,b(this.id),d(this,function(){throw v(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=st),this.name+e.hash},e}();St=Y;var xt="function"==typeof Symbol&&Symbol.for,It=xt?Symbol.for("react.memo"):60115,_t=xt?Symbol.for("react.forward_ref"):60112,Rt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Pt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Et={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Nt=((Ct={})[_t]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ct[It]=Et,Ct);function $t(e){return("type"in(t=e)&&t.type.$$typeof)===It?Et:"$$typeof"in e?Nt[e.$$typeof]:Rt;var t}var kt=Object.defineProperty,Ot=Object.getOwnPropertyNames,jt=Object.getOwnPropertySymbols,Tt=Object.getOwnPropertyDescriptor,Gt=Object.getPrototypeOf,Dt=Object.prototype;function Ft(e,t,r){if("string"!=typeof t){if(Dt){var n=Gt(t);n&&n!==Dt&&Ft(e,n,r)}var o=Ot(t);jt&&(o=o.concat(jt(t)));for(var s=$t(e),i=$t(t),a=0;a<o.length;++a){var c=o[a];if(!(c in Pt||r&&r[c]||i&&c in i||s&&c in s)){var u=Tt(t,c);try{kt(e,c,u)}catch(e){}}}}return e}var Mt=function(){function e(e){var n=(void 0===e?{}:e).nonce,i=this;this._emitSheetCSS=function(){var e=i.instance.toString();if(!e)return"";var t=i.instance.options.nonce||N(),n=Q([t&&'nonce="'.concat(t,'"'),"".concat(r,'="true"'),"".concat(o,'="').concat(s,'"')].filter(Boolean)," ");return"<style ".concat(n,">").concat(e,"</style>")},this.getStyleTags=function(){if(i.sealed)throw v(2);return i._emitSheetCSS()},this.getStyleElement=function(){var e;if(i.sealed)throw v(2);var n=i.instance.toString();if(!n)return[];var a=((e={})[r]="",e[o]=s,e.dangerouslySetInnerHTML={__html:n},e),c=i.instance.options.nonce||N();return c&&(a.nonce=c),[t.createElement("style",l({},a,{key:"sc-0-0"}))]},this.seal=function(){i.sealed=!0},this.instance=new D({isServer:!0,nonce:n}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw v(2);return t.createElement(lt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw v(3)},e}(),zt=/*#__PURE__*/Object.freeze({__proto__:null,ServerStyleSheet:Mt,StyleSheetConsumer:at,StyleSheetContext:it,StyleSheetManager:lt,ThemeConsumer:pt,ThemeContext:ft,ThemeProvider:function(e){var r=t.useContext(ft),n=t.useMemo(function(){return function(e,t){if(!e)throw v(14);if(W(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw v(8);return t?l(l({},t),e):e}(e.theme,r)},[e.theme,r]);return e.children?t.createElement(ft.Provider,{value:n},e.children):null},__PRIVATE__:{StyleSheet:D,mainSheet:ot},createGlobalStyle:function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=wt.apply(void 0,f([e],r,!1)),s="sc-global-".concat(gt(JSON.stringify(o))),i=new X(o,s),a=function(e){var r,n=ut(),o=t.useContext(ft),a=t.useRef(null);return null===a.current&&(a.current=n.styleSheet.allocateGSInstance(s)),r=a.current,n.styleSheet.server&&c(r,e,n.styleSheet,o,n.stylis),t.useLayoutEffect(function(){return n.styleSheet.server||c(r,e,n.styleSheet,o,n.stylis),function(){i.removeStyles(r,n.styleSheet)}},[r,e,n.styleSheet,o,n.stylis]),n.styleSheet.server&&i.instanceRules.delete(r),null};function c(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,u,r,o);else{var s=l(l({},t),{theme:ht(t,n,a.defaultProps)});i.renderStyles(e,s,r,o)}}return t.memo(a)},css:wt,isStyledComponent:H,keyframes:function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Q(wt.apply(void 0,f([e],t,!1))),o=gt(n);return new At(o,n)},useTheme:function(){var e=t.useContext(ft);if(!e)throw v(18);return e},version:s,withTheme:function(e){var r=t.forwardRef(function(r,n){var o=ht(r,t.useContext(ft),e.defaultProps);return t.createElement(e,l(l({},r),{theme:o,ref:n}))});return r.displayName="WithTheme(".concat(z(e),")"),Ft(r,e)}}),Bt=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),Lt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Wt=/(^-|-$)/g;function Yt(e){return e.replace(Lt,"-").replace(Wt,"")}function qt(e){return"string"==typeof e&&!0}function Ht(e,t,r){if(void 0===r&&(r=!1),!r&&!q(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Ht(e[n],t[n]);else if(q(t))for(var n in t)e[n]=Ht(e[n],t[n]);return e}var Vt=Ke(s),Ut=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Z(e),this.componentId=t,this.baseHash=Ze(Vt,t),this.baseStyle=r,D.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r).className:"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=K(n,this.staticRulesId);else{var o=Q(J(this.rules,e,t,r)),s=mt(Ze(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=r(o,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}n=K(n,s),this.staticRulesId=s}else{for(var a=Ze(this.baseHash,r.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l;else if(l){var f=Q(J(l,e,t,r));a=Ze(Ze(a,String(u)),f),c+=f}}if(c){var p=mt(a>>>0);if(!t.hasNameForId(this.componentId,p)){var h=r(c,".".concat(p),void 0,this.componentId);t.insertRules(this.componentId,p,h)}n=K(n,p)}}return{className:n,css:"undefined"==typeof window?t.getTag().getGroup(b(this.componentId)):""}},e}(),Jt={};function Zt(e,r,n){var o=H(e),i=e,a=!qt(e),c=r.attrs,u=void 0===c?p:c,f=r.componentId,v=void 0===f?function(e,t){var r="string"!=typeof e?"sc":Yt(e);Jt[r]=(Jt[r]||0)+1;var n="".concat(r,"-").concat(gt(s+r+Jt[r]));return t?"".concat(t,"-").concat(n):n}(r.displayName,r.parentComponentId):f,m=r.displayName,g=void 0===m?function(e){return qt(e)?"styled.".concat(e):"Styled(".concat(z(e),")")}(e):m,y=r.displayName&&r.componentId?"".concat(Yt(r.displayName),"-").concat(r.componentId):r.componentId||v,S=o&&i.attrs?i.attrs.concat(u).filter(Boolean):u,b=r.shouldForwardProp;if(o&&i.shouldForwardProp){var w=i.shouldForwardProp;if(r.shouldForwardProp){var C=r.shouldForwardProp;b=function(e,t){return w(e,t)&&C(e,t)}}else b=w}var A=new Ut(n,y,o?i.componentStyle:void 0);function x(e,r){return function(e,r,n){var o=e.attrs,s=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,c=e.styledComponentId,u=e.target,f=t.useContext(ft),p=ut(),d=e.shouldForwardProp||p.shouldForwardProp,v=ht(r,f,i)||h,m=function(e,t,r){for(var n,o=l(l({},t),{className:void 0,theme:r}),s=0;s<e.length;s+=1){var i=W(n=e[s])?n(l({},o)):n;for(var a in i)"className"===a?o.className=K(o.className,i[a]):"style"===a?o.style=l(l({},o.style),i[a]):a in t&&void 0===t[a]||(o[a]=i[a])}return"className"in t&&"string"==typeof t.className&&(o.className=K(o.className,t.className)),o}(o,r,v),g=m.as||u,y={};for(var S in m)void 0===m[S]||"$"===S[0]||"as"===S||"theme"===S&&m.theme===v||("forwardedAs"===S?y.as=m.forwardedAs:d&&!d(S,g)||(y[S]=m[S]));var b=function(e,t){var r=ut();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(s,m),w=b.className,C=K(a,c);return w&&(C+=" "+w),m.className&&(C+=" "+m.className),y[qt(g)&&!Bt.has(g)?"class":"className"]=C,n&&(y.ref=n),t.createElement(g,y)}(I,e,r)}x.displayName=g;var I=t.forwardRef(x);return I.attrs=S,I.componentStyle=A,I.displayName=g,I.shouldForwardProp=b,I.foldedComponentIds=o?K(i.foldedComponentIds,i.styledComponentId):"",I.styledComponentId=y,I.target=o?i.target:e,Object.defineProperty(I,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)Ht(e,o[n],!0);return e}({},i.defaultProps,e):e}}),d(I,function(){return".".concat(I.styledComponentId)}),a&&Ft(I,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),I}function Kt(e,t,r){if(void 0===r&&(r=h),!t)throw v(1,t);var n=function(n){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return e(t,r,wt.apply(void 0,f([n],o,!1)))};return n.attrs=function(n){return Kt(e,t,l(l({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return Kt(e,t,l(l({},r),n))},n}new Set;var Qt=function(e){return Kt(Zt,e)},Xt=Qt;for(var er in Bt.forEach(function(e){Xt[e]=Qt(e)}),zt)Xt[er]=zt[er];e.default=Xt,e.styled=Xt,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=styled-components.min.js.map