UNPKG

@thlmenezes/ui-react

Version:

Devopness Design System React Components - Painless essential DevOps to everyone

134 lines (112 loc) 206 kB
"use strict";var $a=Object.defineProperty;var Pa=(e,t,r)=>t in e?$a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var br=(e,t,r)=>Pa(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("./iconLoader-vpFRnHZD.cjs"),ae=require("react"),Ne=require("./colors.cjs"),Po=require("./fonts.cjs"),Aa=require("./useWindowSize-Ck3VkscI.cjs"),ka=require("./_commonjsHelpers-DKOUU3wS.cjs"),wr=require("react-dom");function ms(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const O=ms(ae),Na=ms(wr);var _e=function(){return _e=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},_e.apply(this,arguments)};function Vt(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Ia(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ja=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|disableRemotePlayback|download|draggable|encType|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,Ma=Ia(function(e){return ja.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ge="-ms-",$r="-moz-",fe="-webkit-",gs="comm",xn="rule",Ao="decl",Da="@import",ys="@keyframes",_a="@layer",bs=Math.abs,ko=String.fromCharCode,oo=Object.assign;function Ba(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function vs(e){return e.trim()}function dt(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,r){return e.replace(t,r)}function tn(e,t,r){return e.indexOf(t,r)}function Pe(e,t){return e.charCodeAt(t)|0}function or(e,t,r){return e.slice(t,r)}function it(e){return e.length}function xs(e){return e.length}function Sr(e,t){return t.push(e),e}function La(e,t){return e.map(t).join("")}function ci(e,t){return e.filter(function(r){return!dt(r,t)})}var En=1,ir=1,Es=0,qe=0,Ce=0,mr="";function wn(e,t,r,n,o,i,s,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:En,column:ir,length:s,return:"",siblings:c}}function Et(e,t){return oo(wn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function qt(e){for(;e.root;)e=Et(e.root,{children:[e]});Sr(e,e.siblings)}function Va(){return Ce}function Fa(){return Ce=qe>0?Pe(mr,--qe):0,ir--,Ce===10&&(ir=1,En--),Ce}function Je(){return Ce=qe<Es?Pe(mr,qe++):0,ir++,Ce===10&&(ir=1,En++),Ce}function _t(){return Pe(mr,qe)}function rn(){return qe}function Sn(e,t){return or(mr,e,t)}function io(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 za(e){return En=ir=1,Es=it(mr=e),qe=0,[]}function Wa(e){return mr="",e}function Un(e){return vs(Sn(qe-1,so(e===91?e+2:e===40?e+1:e)))}function Ua(e){for(;(Ce=_t())&&Ce<33;)Je();return io(e)>2||io(Ce)>3?"":" "}function Ha(e,t){for(;--t&&Je()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return Sn(e,rn()+(t<6&&_t()==32&&Je()==32))}function so(e){for(;Je();)switch(Ce){case e:return qe;case 34:case 39:e!==34&&e!==39&&so(Ce);break;case 40:e===41&&so(e);break;case 92:Je();break}return qe}function Ya(e,t){for(;Je()&&e+Ce!==57;)if(e+Ce===84&&_t()===47)break;return"/*"+Sn(t,qe-1)+"*"+ko(e===47?e:Je())}function qa(e){for(;!io(_t());)Je();return Sn(e,qe)}function Ga(e){return Wa(nn("",null,null,null,[""],e=za(e),0,[0],e))}function nn(e,t,r,n,o,i,s,c,l){for(var p=0,f=0,d=s,h=0,b=0,x=0,m=1,y=1,E=1,P=0,w="",v=o,g=i,T=n,R=w;y;)switch(x=P,P=Je()){case 40:if(x!=108&&Pe(R,d-1)==58){tn(R+=ne(Un(P),"&","&\f"),"&\f",bs(p?c[p-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:R+=Un(P);break;case 9:case 10:case 13:case 32:R+=Ua(x);break;case 92:R+=Ha(rn()-1,7);continue;case 47:switch(_t()){case 42:case 47:Sr(Ka(Ya(Je(),rn()),t,r,l),l);break;default:R+="/"}break;case 123*m:c[p++]=it(R)*E;case 125*m:case 59:case 0:switch(P){case 0:case 125:y=0;case 59+f:E==-1&&(R=ne(R,/\f/g,"")),b>0&&it(R)-d&&Sr(b>32?ui(R+";",n,r,d-1,l):ui(ne(R," ","")+";",n,r,d-2,l),l);break;case 59:R+=";";default:if(Sr(T=li(R,t,r,p,f,o,c,w,v=[],g=[],d,i),i),P===123)if(f===0)nn(R,t,T,T,v,i,d,c,g);else switch(h===99&&Pe(R,3)===110?100:h){case 100:case 108:case 109:case 115:nn(e,T,T,n&&Sr(li(e,T,T,0,0,o,c,w,o,v=[],d,g),g),o,g,d,c,n?v:g);break;default:nn(R,T,T,T,[""],g,0,c,g)}}p=f=b=0,m=E=1,w=R="",d=s;break;case 58:d=1+it(R),b=x;default:if(m<1){if(P==123)--m;else if(P==125&&m++==0&&Fa()==125)continue}switch(R+=ko(P),P*m){case 38:E=f>0?1:(R+="\f",-1);break;case 44:c[p++]=(it(R)-1)*E,E=1;break;case 64:_t()===45&&(R+=Un(Je())),h=_t(),f=d=it(w=R+=qa(rn())),P++;break;case 45:x===45&&it(R)==2&&(m=0)}}return i}function li(e,t,r,n,o,i,s,c,l,p,f,d){for(var h=o-1,b=o===0?i:[""],x=xs(b),m=0,y=0,E=0;m<n;++m)for(var P=0,w=or(e,h+1,h=bs(y=s[m])),v=e;P<x;++P)(v=vs(y>0?b[P]+" "+w:ne(w,/&\f/g,b[P])))&&(l[E++]=v);return wn(e,t,r,o===0?xn:c,l,p,f,d)}function Ka(e,t,r,n){return wn(e,t,r,gs,ko(Va()),or(e,2,-2),0,n)}function ui(e,t,r,n,o){return wn(e,t,r,Ao,or(e,0,n),or(e,n+1,-1),n,o)}function ws(e,t,r){switch(Ba(e,t)){case 5103:return fe+"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 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return fe+e+e;case 4789:return $r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return fe+e+$r+e+ge+e+e;case 5936:switch(Pe(e,t+11)){case 114:return fe+e+ge+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fe+e+ge+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fe+e+ge+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return fe+e+ge+e+e;case 6165:return fe+e+ge+"flex-"+e+e;case 5187:return fe+e+ne(e,/(\w+).+(:[^]+)/,fe+"box-$1$2"+ge+"flex-$1$2")+e;case 5443:return fe+e+ge+"flex-item-"+ne(e,/flex-|-self/g,"")+(dt(e,/flex-|baseline/)?"":ge+"grid-row-"+ne(e,/flex-|-self/g,""))+e;case 4675:return fe+e+ge+"flex-line-pack"+ne(e,/align-content|flex-|-self/g,"")+e;case 5548:return fe+e+ge+ne(e,"shrink","negative")+e;case 5292:return fe+e+ge+ne(e,"basis","preferred-size")+e;case 6060:return fe+"box-"+ne(e,"-grow","")+fe+e+ge+ne(e,"grow","positive")+e;case 4554:return fe+ne(e,/([^-])(transform)/g,"$1"+fe+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,fe+"$1"),/(image-set)/,fe+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,fe+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,fe+"box-pack:$3"+ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fe+e+e;case 4200:if(!dt(e,/flex-|baseline/))return ge+"grid-column-align"+or(e,t)+e;break;case 2592:case 3360:return ge+ne(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,dt(n.props,/grid-\w+-end/)})?~tn(e+(r=r[t].value),"span",0)?e:ge+ne(e,"-start","")+e+ge+"grid-row-span:"+(~tn(r,"span",0)?dt(r,/\d+/):+dt(r,/\d+/)-+dt(e,/\d+/))+";":ge+ne(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return dt(n.props,/grid-\w+-start/)})?e:ge+ne(ne(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,fe+"$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(it(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+$r+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~tn(e,"stretch",0)?ws(ne(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ne(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,c,l,p){return ge+o+":"+i+p+(s?ge+o+"-span:"+(c?l:+l-+i)+p:"")+e});case 4949:if(Pe(e,t+6)===121)return ne(e,":",":"+fe)+e;break;case 6444:switch(Pe(e,Pe(e,14)===45?18:11)){case 120:return ne(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+fe+(Pe(e,14)===45?"inline-":"")+"box$3$1"+fe+"$2$3$1"+ge+"$2box$3")+e;case 100:return ne(e,":",":"+ge)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ne(e,"scroll-","scroll-snap-")+e}return e}function ln(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Xa(e,t,r,n){switch(e.type){case _a:if(e.children.length)break;case Da:case Ao:return e.return=e.return||e.value;case gs:return"";case ys:return e.return=e.value+"{"+ln(e.children,n)+"}";case xn:if(!it(e.value=e.props.join(",")))return""}return it(r=ln(e.children,n))?e.return=e.value+"{"+r+"}":""}function Qa(e){var t=xs(e);return function(r,n,o,i){for(var s="",c=0;c<t;c++)s+=e[c](r,n,o,i)||"";return s}}function Ja(e){return function(t){t.root||(t=t.return)&&e(t)}}function Za(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Ao:e.return=ws(e.value,e.length,r);return;case ys:return ln([Et(e,{value:ne(e.value,"@","@"+fe)})],n);case xn:if(e.length)return La(r=e.props,function(o){switch(dt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":qt(Et(e,{props:[ne(o,/:(read-\w+)/,":"+$r+"$1")]})),qt(Et(e,{props:[o]})),oo(e,{props:ci(r,n)});break;case"::placeholder":qt(Et(e,{props:[ne(o,/:(plac\w+)/,":"+fe+"input-$1")]})),qt(Et(e,{props:[ne(o,/:(plac\w+)/,":"+$r+"$1")]})),qt(Et(e,{props:[ne(o,/:(plac\w+)/,ge+"input-$1")]})),qt(Et(e,{props:[o]})),oo(e,{props:ci(r,n)});break}return""})}}var ec={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,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},Ft=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ss="active",Ts="data-styled-version",Tn="6.1.13",No=`/*!sc*/ `,un=typeof window<"u"&&"HTMLElement"in window,tc=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),pi=/invalid hook call/i,Ur=new Set,rc=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically. `)+`You may see this warning because you've called styled inside another component. To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(s){for(var c=[],l=1;l<arguments.length;l++)c[l-1]=arguments[l];pi.test(s)?(i=!1,Ur.delete(n)):o.apply(void 0,Vt([s],c,!1))},ae.useRef(),i&&!Ur.has(n)&&(console.warn(n),Ur.add(n))}catch(s){pi.test(s.message)&&Ur.delete(n)}finally{console.error=o}}},Cn=Object.freeze([]),sr=Object.freeze({});function nc(e,t,r){return r===void 0&&(r=sr),e.theme!==r.theme&&e.theme||t||r.theme}var ao=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),oc=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ic=/(^-|-$)/g;function fi(e){return e.replace(oc,"-").replace(ic,"")}var sc=/(a)(d)/gi,Hr=52,di=function(e){return String.fromCharCode(e+(e>25?39:97))};function co(e){var t,r="";for(t=Math.abs(e);t>Hr;t=t/Hr|0)r=di(t%Hr)+r;return(di(t%Hr)+r).replace(sc,"$1-$2")}var Hn,Cs=5381,jt=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Os=function(e){return jt(Cs,e)};function Rs(e){return co(Os(e)>>>0)}function $s(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Yn(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Ps=typeof Symbol=="function"&&Symbol.for,As=Ps?Symbol.for("react.memo"):60115,ac=Ps?Symbol.for("react.forward_ref"):60112,cc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},lc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ks={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},uc=((Hn={})[ac]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Hn[As]=ks,Hn);function hi(e){return("type"in(t=e)&&t.type.$$typeof)===As?ks:"$$typeof"in e?uc[e.$$typeof]:cc;var t}var pc=Object.defineProperty,fc=Object.getOwnPropertyNames,mi=Object.getOwnPropertySymbols,dc=Object.getOwnPropertyDescriptor,hc=Object.getPrototypeOf,gi=Object.prototype;function Ns(e,t,r){if(typeof t!="string"){if(gi){var n=hc(t);n&&n!==gi&&Ns(e,n,r)}var o=fc(t);mi&&(o=o.concat(mi(t)));for(var i=hi(e),s=hi(t),c=0;c<o.length;++c){var l=o[c];if(!(l in lc||r&&r[l]||s&&l in s||i&&l in i)){var p=dc(t,l);try{pc(e,l,p)}catch{}}}}return e}function ar(e){return typeof e=="function"}function Io(e){return typeof e=="object"&&"styledComponentId"in e}function Mt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function lo(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function cr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function uo(e,t,r){if(r===void 0&&(r=!1),!r&&!cr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=uo(e[n],t[n]);else if(cr(t))for(var n in t)e[n]=uo(e[n],t[n]);return e}function jo(e,t){Object.defineProperty(e,"toString",{value:t})}var mc=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s. `,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. - Are you trying to reuse it across renders? - Are you accidentally calling collectStyles twice? `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser. `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop! - Does this error occur on the client and is your target falsy? - Does this error occur on the server and is the sheet falsy? `,5:`The clone method cannot be used on the client! - Are you running in a client-like environment on the server? - Are you trying to run SSR on the client? `,6:`Trying to insert a new style tag, but the given Node is unmounted! - Are you using a custom target that isn't mounted? - Does your document not have a valid head element? - Have you accidentally removed a style tag manually? `,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. `,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 `,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. `,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. `,14:`ThemeProvider: "theme" prop is required. `,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. You may only create up to 1,073,741,824 components. If you're creating components dynamically, as for instance in your render method then you may be running into this limitation. `,17:`CSSStyleSheet could not be found on HTMLStyleElement. Has styled-components' style tag been unmounted or altered by another script? `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function gc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function gr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?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(", ")):"")):new Error(gc.apply(void 0,Vt([mc[e]],t,!1)).trim())}var yc=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw gr(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(t+1),l=(s=0,r.length);s<l;s++)this.tag.insertRule(c,r[s])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(No);return r},e}(),bc=1<<30,on=new Map,pn=new Map,sn=1,Yr=function(e){if(on.has(e))return on.get(e);for(;pn.has(sn);)sn++;var t=sn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>bc))throw gr(16,"".concat(t));return on.set(e,t),pn.set(t,e),t},vc=function(e,t){sn=t+1,on.set(e,t),pn.set(t,e)},xc="style[".concat(Ft,"][").concat(Ts,'="').concat(Tn,'"]'),Ec=new RegExp("^".concat(Ft,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),wc=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},Sc=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(No),o=[],i=0,s=n.length;i<s;i++){var c=n[i].trim();if(c){var l=c.match(Ec);if(l){var p=0|parseInt(l[1],10),f=l[2];p!==0&&(vc(f,p),wc(e,f,l[3]),e.getTag().insertRules(p,o)),o.length=0}else o.push(c)}}},yi=function(e){for(var t=document.querySelectorAll(xc),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(Ft)!==Ss&&(Sc(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function Tc(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Is=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(c){var l=Array.from(c.querySelectorAll("style[".concat(Ft,"]")));return l[l.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(Ft,Ss),n.setAttribute(Ts,Tn);var s=Tc();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},Cc=function(){function e(t){this.element=Is(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw gr(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),Oc=function(){function e(t){this.element=Is(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Rc=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),bi=un,$c={isServer:!un,useCSSOMInjection:!tc},js=function(){function e(t,r,n){t===void 0&&(t=sr),r===void 0&&(r={});var o=this;this.options=_e(_e({},$c),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&un&&bi&&(bi=!1,yi(this)),jo(this,function(){return function(i){for(var s=i.getTag(),c=s.length,l="",p=function(d){var h=function(E){return pn.get(E)}(d);if(h===void 0)return"continue";var b=i.names.get(h),x=s.getGroup(d);if(b===void 0||!b.size||x.length===0)return"continue";var m="".concat(Ft,".g").concat(d,'[id="').concat(h,'"]'),y="";b!==void 0&&b.forEach(function(E){E.length>0&&(y+="".concat(E,","))}),l+="".concat(x).concat(m,'{content:"').concat(y,'"}').concat(No)},f=0;f<c;f++)p(f);return l}(o)})}return e.registerId=function(t){return Yr(t)},e.prototype.rehydrate=function(){!this.server&&un&&yi(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(_e(_e({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Rc(o):n?new Cc(o):new Oc(o)}(this.options),new yc(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Yr(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Yr(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Yr(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Pc=/&/g,Ac=/^\s*\/\/.*$/gm;function Ms(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ms(r.children,t)),r})}function kc(e){var t,r,n,o=sr,i=o.options,s=i===void 0?sr:i,c=o.plugins,l=c===void 0?Cn:c,p=function(h,b,x){return x.startsWith(r)&&x.endsWith(r)&&x.replaceAll(r,"").length>0?".".concat(t):h},f=l.slice();f.push(function(h){h.type===xn&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(Pc,r).replace(n,p))}),s.prefix&&f.push(Za),f.push(Xa);var d=function(h,b,x,m){b===void 0&&(b=""),x===void 0&&(x=""),m===void 0&&(m="&"),t=m,r=b,n=new RegExp("\\".concat(r,"\\b"),"g");var y=h.replace(Ac,""),E=Ga(x||b?"".concat(x," ").concat(b," { ").concat(y," }"):y);s.namespace&&(E=Ms(E,s.namespace));var P=[];return ln(E,Qa(f.concat(Ja(function(w){return P.push(w)})))),P};return d.hash=l.length?l.reduce(function(h,b){return b.name||gr(15),jt(h,b.name)},Cs).toString():"",d}var Nc=new js,po=kc(),Ds=ae.createContext({shouldForwardProp:void 0,styleSheet:Nc,stylis:po});Ds.Consumer;ae.createContext(void 0);function vi(){return ae.useContext(Ds)}var fo=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=po);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,jo(this,function(){throw gr(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=po),this.name+t.hash},e}(),Ic=function(e){return e>="A"&&e<="Z"};function xi(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;Ic(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var _s=function(e){return e==null||e===!1||e===""},Bs=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!_s(i)&&(Array.isArray(i)&&i.isCss||ar(i)?n.push("".concat(xi(o),":"),i,";"):cr(i)?n.push.apply(n,Vt(Vt(["".concat(o," {")],Bs(i),!1),["}"],!1)):n.push("".concat(xi(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in ec||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Bt(e,t,r,n){if(_s(e))return[];if(Io(e))return[".".concat(e.styledComponentId)];if(ar(e)){if(!ar(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof fo||cr(o)||o===null||console.error("".concat($s(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.")),Bt(o,t,r,n)}var i;return e instanceof fo?r?(e.inject(r,n),[e.getName(n)]):[e]:cr(e)?Bs(e):Array.isArray(e)?Array.prototype.concat.apply(Cn,e.map(function(s){return Bt(s,t,r,n)})):[e.toString()]}function jc(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ar(r)&&!Io(r))return!1}return!0}var Mc=Os(Tn),Dc=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&jc(t),this.componentId=r,this.baseHash=jt(Mc,r),this.baseStyle=n,js.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=Mt(o,this.staticRulesId);else{var i=lo(Bt(this.rules,t,r,n)),s=co(jt(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var c=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,c)}o=Mt(o,s),this.staticRulesId=s}else{for(var l=jt(this.baseHash,n.hash),p="",f=0;f<this.rules.length;f++){var d=this.rules[f];if(typeof d=="string")p+=d,process.env.NODE_ENV!=="production"&&(l=jt(l,d));else if(d){var h=lo(Bt(d,t,r,n));l=jt(l,h+f),p+=h}}if(p){var b=co(l>>>0);r.hasNameForId(this.componentId,b)||r.insertRules(this.componentId,b,n(p,".".concat(b),void 0,this.componentId)),o=Mt(o,b)}}return o},e}(),Mo=ae.createContext(void 0);Mo.Consumer;var qn={},Ei=new Set;function _c(e,t,r){var n=Io(e),o=e,i=!Yn(e),s=t.attrs,c=s===void 0?Cn:s,l=t.componentId,p=l===void 0?function(v,g){var T=typeof v!="string"?"sc":fi(v);qn[T]=(qn[T]||0)+1;var R="".concat(T,"-").concat(Rs(Tn+T+qn[T]));return g?"".concat(g,"-").concat(R):R}(t.displayName,t.parentComponentId):l,f=t.displayName,d=f===void 0?function(v){return Yn(v)?"styled.".concat(v):"Styled(".concat($s(v),")")}(e):f,h=t.displayName&&t.componentId?"".concat(fi(t.displayName),"-").concat(t.componentId):t.componentId||p,b=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,x=t.shouldForwardProp;if(n&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;x=function(v,g){return m(v,g)&&y(v,g)}}else x=m}var E=new Dc(r,h,n?o.componentStyle:void 0);function P(v,g){return function(T,R,_){var j=T.attrs,u=T.componentStyle,$=T.defaultProps,I=T.foldedComponentIds,N=T.styledComponentId,W=T.target,F=ae.useContext(Mo),L=vi(),z=T.shouldForwardProp||L.shouldForwardProp;process.env.NODE_ENV!=="production"&&ae.useDebugValue(N);var te=nc(R,F,$)||sr,Q=function(G,V,q){for(var H,J=_e(_e({},V),{className:void 0,theme:q}),ee=0;ee<G.length;ee+=1){var se=ar(H=G[ee])?H(J):H;for(var A in se)J[A]=A==="className"?Mt(J[A],se[A]):A==="style"?_e(_e({},J[A]),se[A]):se[A]}return V.className&&(J.className=Mt(J.className,V.className)),J}(j,R,te),S=Q.as||W,k={};for(var B in Q)Q[B]===void 0||B[0]==="$"||B==="as"||B==="theme"&&Q.theme===te||(B==="forwardedAs"?k.as=Q.forwardedAs:z&&!z(B,S)||(k[B]=Q[B],z||process.env.NODE_ENV!=="development"||Ma(B)||Ei.has(B)||!ao.has(S)||(Ei.add(B),console.warn('styled-components: it looks like an unknown prop "'.concat(B,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var X=function(G,V){var q=vi(),H=G.generateAndInjectStyles(V,q.styleSheet,q.stylis);return process.env.NODE_ENV!=="production"&&ae.useDebugValue(H),H}(u,Q);process.env.NODE_ENV!=="production"&&T.warnTooManyClasses&&T.warnTooManyClasses(X);var M=Mt(I,N);return X&&(M+=" "+X),Q.className&&(M+=" "+Q.className),k[Yn(S)&&!ao.has(S)?"class":"className"]=M,k.ref=_,ae.createElement(S,k)}(w,v,g)}P.displayName=d;var w=ae.forwardRef(P);return w.attrs=b,w.componentStyle=E,w.displayName=d,w.shouldForwardProp=x,w.foldedComponentIds=n?Mt(o.foldedComponentIds,o.styledComponentId):"",w.styledComponentId=h,w.target=n?o.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(v){this._foldedDefaultProps=n?function(g){for(var T=[],R=1;R<arguments.length;R++)T[R-1]=arguments[R];for(var _=0,j=T;_<j.length;_++)uo(g,j[_],!0);return g}({},o.defaultProps,v):v}}),process.env.NODE_ENV!=="production"&&(rc(d,h),w.warnTooManyClasses=function(v,g){var T={},R=!1;return function(_){if(!R&&(T[_]=!0,Object.keys(T).length>=200)){var j=g?' with the id of "'.concat(g,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(v).concat(j,`. `)+`Consider using the attrs method, together with a style object for frequently changed styles. Example: const Component = styled.div.attrs(props => ({ style: { background: props.background, }, }))\`width: 100%;\` <Component />`),R=!0,T={}}}}(d,h)),jo(w,function(){return".".concat(w.styledComponentId)}),i&&Ns(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function wi(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 Si=function(e){return Object.assign(e,{isCss:!0})};function yr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(ar(e)||cr(e))return Si(Bt(wi(Cn,Vt([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?Bt(n):Si(Bt(wi(n,t)))}function ho(e,t,r){if(r===void 0&&(r=sr),!t)throw gr(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,yr.apply(void 0,Vt([o],i,!1)))};return n.attrs=function(o){return ho(e,t,_e(_e({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return ho(e,t,_e(_e({},r),o))},n}var Ls=function(e){return ho(_c,e)},Ze=Ls;ao.forEach(function(e){Ze[e]=Ls(e)});function Do(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var n=lo(yr.apply(void 0,Vt([e],t,!1))),o=Rs(n);return new fo(o,n)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native. Perhaps you're looking to import 'styled-components/native'? Read more about this at https://www.styled-components.com/docs/basics#react-native`);var qr="__sc-".concat(Ft,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[qr]||(window[qr]=0),window[qr]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason. See https://s-c.sh/2BAXzed for more info.`),window[qr]+=1);const Bc=(e,t)=>{switch(e){case"borderless":return"transparent";case"outlinedSecondary":case"outlinedAuxiliary":return(t==null?void 0:t.backgroundColor)??Ne.getColor("white");default:return(t==null?void 0:t.backgroundColor)??Ne.getColor("purple.800")}},Lc=(e,t)=>{switch(e){case"borderless":case"outlinedSecondary":case"outlinedAuxiliary":return(t==null?void 0:t.color)??Ne.getColor("purple.800");default:return(t==null?void 0:t.color)??Ne.getColor("white")}},Vc=e=>{switch(e){case"borderless":return"none";default:return"solid"}},Fc=(e,t)=>{switch(e){case"borderless":return"";case"outlinedSecondary":return(t==null?void 0:t.borderColor)??Ne.getColor("purple.800");case"outlinedAuxiliary":return(t==null?void 0:t.borderColor)??Ne.getColor("gray.800");default:return(t==null?void 0:t.borderColor)??Ne.getColor("purple.800")}},zc=e=>{switch(e){case"medium":return 1;default:return 2}},Wc=e=>{switch(e){case"auto":return"auto";case"medium":return"27px";default:return"34px"}},Uc=Ze.div` ${({noIconMargin:e,reversed:t,size:r})=>yr` display: flex; align-items: center; width: ${r}px; height: ${r}px; ${e?"":t?"margin-left: 10px;":"margin-right: 10px;"} `} `,Hc=Ze.span``;Ze.div` ${({alignEnd:e})=>yr` display: flex; justify-content: ${e&&"flex-end"}; align-items: center; width: 100%; height: 126px; `} `;const Yc=Ze.button` ${({size:e,variant:t,custom:r,noMargin:n,reversed:o,noPointerEvents:i,noPadding:s})=>yr` display: flex; justify-content: center; align-items: center; cursor: pointer; border: 1px; border-radius: 25px; font-family: ${Po.getFont("roboto")}; text-transform: uppercase; padding: ${s?"0":"5px 15px"}; nomargin: ${n?"0":"0 15px"}; font-size: 13px; flex-direction: ${o?"row-reverse":"row"}; border-width: ${zc(e)}; border-style: ${Vc(t)}; border-color: ${Fc(t,r)}; color: ${Lc(t,r)}; background-color: ${Bc(t,r)}; height: ${Wc(e)}; line-height: 1; transition: filter 0.3s; &:hover:enabled { filter: brightness(75%); } &:disabled { pointer-events: ${i?"none":"auto"}; opacity: 0.5; cursor: not-allowed; } user-select: none; `} `;Ze.div` ${({icon:e})=>yr` width: 16px; height: 16px; margin-right: ${e?"9px":"10px"}; `} `;const Ti=16,qc=e=>{switch(e){case"borderless":case"outlinedSecondary":case"outlinedAuxiliary":return Ne.getColor("purple.800");default:return Ne.getColor("white")}},Gc=({type:e,typeSize:t="default",buttonType:r,color:n,backgroundColor:o,borderColor:i,disabled:s,tabIndex:c,loading:l,icon:p,children:f,revertOrientation:d=!1,noMargin:h,noIconMargin:b,noPointerEvents:x,iconSize:m,iconColor:y,...E})=>{const P=()=>l===void 0&&p===void 0||!l&&p===void 0?K.jsxRuntimeExports.jsx(K.jsxRuntimeExports.Fragment,{}):K.jsxRuntimeExports.jsx(Uc,{"data-testid":l?"loading":"icon",reversed:d,noIconMargin:b,size:m??Ti,children:K.iconLoader(l?"loading":p,m??Ti,l?qc(r):y)});return K.jsxRuntimeExports.jsxs(Yc,{"data-testid":"button",size:t,variant:r,reversed:d,noPointerEvents:x,custom:{color:n,backgroundColor:o,borderColor:i},noMargin:h,disabled:s,type:e,tabIndex:c,...E,children:[K.jsxRuntimeExports.jsx(P,{}),f&&K.jsxRuntimeExports.jsx(Hc,{className:"translate",children:f})]})},Kc="purple.800",Xc=1,Qc=e=>{const t=Ne.getColor(e.color??Kc);return K.iconLoader(e.name,e.size,e.opacity!==void 0?Ne.getOpacity(t,e.opacity):t,Xc,e.ariaLabel??e.name)};function wt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Vs="$$material";var mo={exports:{}},Gr={exports:{}},ce={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ci;function Jc(){if(Ci)return ce;Ci=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function w(g){if(typeof g=="object"&&g!==null){var T=g.$$typeof;switch(T){case t:switch(g=g.type,g){case l:case p:case n:case i:case o:case d:return g;default:switch(g=g&&g.$$typeof,g){case c:case f:case x:case b:case s:return g;default:return T}}case r:return T}}}function v(g){return w(g)===p}return ce.AsyncMode=l,ce.ConcurrentMode=p,ce.ContextConsumer=c,ce.ContextProvider=s,ce.Element=t,ce.ForwardRef=f,ce.Fragment=n,ce.Lazy=x,ce.Memo=b,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=d,ce.isAsyncMode=function(g){return v(g)||w(g)===l},ce.isConcurrentMode=v,ce.isContextConsumer=function(g){return w(g)===c},ce.isContextProvider=function(g){return w(g)===s},ce.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},ce.isForwardRef=function(g){return w(g)===f},ce.isFragment=function(g){return w(g)===n},ce.isLazy=function(g){return w(g)===x},ce.isMemo=function(g){return w(g)===b},ce.isPortal=function(g){return w(g)===r},ce.isProfiler=function(g){return w(g)===i},ce.isStrictMode=function(g){return w(g)===o},ce.isSuspense=function(g){return w(g)===d},ce.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===p||g===i||g===o||g===d||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===x||g.$$typeof===b||g.$$typeof===s||g.$$typeof===c||g.$$typeof===f||g.$$typeof===y||g.$$typeof===E||g.$$typeof===P||g.$$typeof===m)},ce.typeOf=w,ce}var le={};/** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Oi;function Zc(){return Oi||(Oi=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function w(A){return typeof A=="string"||typeof A=="function"||A===n||A===p||A===i||A===o||A===d||A===h||typeof A=="object"&&A!==null&&(A.$$typeof===x||A.$$typeof===b||A.$$typeof===s||A.$$typeof===c||A.$$typeof===f||A.$$typeof===y||A.$$typeof===E||A.$$typeof===P||A.$$typeof===m)}function v(A){if(typeof A=="object"&&A!==null){var ve=A.$$typeof;switch(ve){case t:var D=A.type;switch(D){case l:case p:case n:case i:case o:case d:return D;default:var Oe=D&&D.$$typeof;switch(Oe){case c:case f:case x:case b:case s:return Oe;default:return ve}}case r:return ve}}}var g=l,T=p,R=c,_=s,j=t,u=f,$=n,I=x,N=b,W=r,F=i,L=o,z=d,te=!1;function Q(A){return te||(te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),S(A)||v(A)===l}function S(A){return v(A)===p}function k(A){return v(A)===c}function B(A){return v(A)===s}function X(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function M(A){return v(A)===f}function G(A){return v(A)===n}function V(A){return v(A)===x}function q(A){return v(A)===b}function H(A){return v(A)===r}function J(A){return v(A)===i}function ee(A){return v(A)===o}function se(A){return v(A)===d}le.AsyncMode=g,le.ConcurrentMode=T,le.ContextConsumer=R,le.ContextProvider=_,le.Element=j,le.ForwardRef=u,le.Fragment=$,le.Lazy=I,le.Memo=N,le.Portal=W,le.Profiler=F,le.StrictMode=L,le.Suspense=z,le.isAsyncMode=Q,le.isConcurrentMode=S,le.isContextConsumer=k,le.isContextProvider=B,le.isElement=X,le.isForwardRef=M,le.isFragment=G,le.isLazy=V,le.isMemo=q,le.isPortal=H,le.isProfiler=J,le.isStrictMode=ee,le.isSuspense=se,le.isValidElementType=w,le.typeOf=v}()),le}var Ri;function Fs(){return Ri||(Ri=1,process.env.NODE_ENV==="production"?Gr.exports=Jc():Gr.exports=Zc()),Gr.exports}/* object-assign (c) Sindre Sorhus @license MIT */var Gn,$i;function el(){if($i)return Gn;$i=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},c=0;c<10;c++)s["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(s).map(function(f){return s[f]});if(l.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Gn=o()?Object.assign:function(i,s){for(var c,l=n(i),p,f=1;f<arguments.length;f++){c=Object(arguments[f]);for(var d in c)t.call(c,d)&&(l[d]=c[d]);if(e){p=e(c);for(var h=0;h<p.length;h++)r.call(c,p[h])&&(l[p[h]]=c[p[h]])}}return l},Gn}var Kn,Pi;function _o(){if(Pi)return Kn;Pi=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Kn=e,Kn}var Xn,Ai;function zs(){return Ai||(Ai=1,Xn=Function.call.bind(Object.prototype.hasOwnProperty)),Xn}var Qn,ki;function tl(){if(ki)return Qn;ki=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=_o(),r={},n=zs();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,c,l,p){if(process.env.NODE_ENV!=="production"){for(var f in i)if(n(i,f)){var d;try{if(typeof i[f]!="function"){var h=Error((l||"React class")+": "+c+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=i[f](s,f,l,c,null,t)}catch(x){d=x}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+c+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message