@labelu/image-annotator-react
Version:
image annotator for react
77 lines (59 loc) • 893 kB
JavaScript
(function(Wt,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],w):(Wt=typeof globalThis<"u"?globalThis:Wt||self,w(Wt.ImageAnnotationReact={},Wt.jsxRuntime,Wt.x$1,Wt.eo$1))})(this,function(Wt,w,S,qa){"use strict";function cv(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const O=cv(S);var mn=function(){return mn=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},mn.apply(this,arguments)};function Li(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;function uv(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var dv=/^((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)-.*))$/,hv=uv(function(t){return dv.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Xs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ct="-ms-",Za="-moz-",qe="-webkit-",tf="comm",qs="rule",Zc="decl",pv="@import",nf="@keyframes",gv="@layer",rf=Math.abs,Gc=String.fromCharCode,Qc=Object.assign;function mv(t,e){return jt(t,0)^45?(((e<<2^jt(t,0))<<2^jt(t,1))<<2^jt(t,2))<<2^jt(t,3):0}function of(t){return t.trim()}function Xr(t,e){return(t=e.exec(t))?t[0]:t}function Pe(t,e,n){return t.replace(e,n)}function Zs(t,e,n){return t.indexOf(e,n)}function jt(t,e){return t.charCodeAt(e)|0}function ji(t,e,n){return t.slice(e,n)}function vr(t){return t.length}function af(t){return t.length}function Ga(t,e){return e.push(t),t}function yv(t,e){return t.map(e).join("")}function sf(t,e){return t.filter(function(n){return!Xr(n,e)})}var Gs=1,$i=1,lf=0,$n=0,St=0,zi="";function Qs(t,e,n,r,o,i,a,s){return{value:t,root:e,parent:n,type:r,props:o,children:i,line:Gs,column:$i,length:a,return:"",siblings:s}}function fo(t,e){return Qc(Qs("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function Fi(t){for(;t.root;)t=fo(t.root,{children:[t]});Ga(t,t.siblings)}function vv(){return St}function bv(){return St=$n>0?jt(zi,--$n):0,$i--,St===10&&($i=1,Gs--),St}function Jn(){return St=$n<lf?jt(zi,$n++):0,$i++,St===10&&($i=1,Gs++),St}function oi(){return jt(zi,$n)}function Ks(){return $n}function Js(t,e){return ji(zi,t,e)}function Kc(t){switch(t){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 xv(t){return Gs=$i=1,lf=vr(zi=t),$n=0,[]}function wv(t){return zi="",t}function Jc(t){return of(Js($n-1,eu(t===91?t+2:t===40?t+1:t)))}function Cv(t){for(;(St=oi())&&St<33;)Jn();return Kc(t)>2||Kc(St)>3?"":" "}function Mv(t,e){for(;--e&&Jn()&&!(St<48||St>102||St>57&&St<65||St>70&&St<97););return Js(t,Ks()+(e<6&&oi()==32&&Jn()==32))}function eu(t){for(;Jn();)switch(St){case t:return $n;case 34:case 39:t!==34&&t!==39&&eu(St);break;case 40:t===41&&eu(t);break;case 92:Jn();break}return $n}function kv(t,e){for(;Jn()&&t+St!==47+10;)if(t+St===42+42&&oi()===47)break;return"/*"+Js(e,$n-1)+"*"+Gc(t===47?t:Jn())}function Sv(t){for(;!Kc(oi());)Jn();return Js(t,$n)}function _v(t){return wv(el("",null,null,null,[""],t=xv(t),0,[0],t))}function el(t,e,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,h=0,f=0,m=0,g=1,p=1,v=1,b=0,C="",k=o,x=i,M=r,_=C;p;)switch(m=b,b=Jn()){case 40:if(m!=108&&jt(_,d-1)==58){Zs(_+=Pe(Jc(b),"&","&\f"),"&\f",rf(c?s[c-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:_+=Jc(b);break;case 9:case 10:case 13:case 32:_+=Cv(m);break;case 92:_+=Mv(Ks()-1,7);continue;case 47:switch(oi()){case 42:case 47:Ga(Ev(kv(Jn(),Ks()),e,n,l),l);break;default:_+="/"}break;case 123*g:s[c++]=vr(_)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:p=0;case 59+u:v==-1&&(_=Pe(_,/\f/g,"")),f>0&&vr(_)-d&&Ga(f>32?uf(_+";",r,n,d-1,l):uf(Pe(_," ","")+";",r,n,d-2,l),l);break;case 59:_+=";";default:if(Ga(M=cf(_,e,n,c,u,o,s,C,k=[],x=[],d,i),i),b===123)if(u===0)el(_,e,M,M,k,i,d,s,x);else switch(h===99&&jt(_,3)===110?100:h){case 100:case 108:case 109:case 115:el(t,M,M,r&&Ga(cf(t,M,M,0,0,o,s,C,o,k=[],d,x),x),o,x,d,s,r?k:x);break;default:el(_,M,M,M,[""],x,0,s,x)}}c=u=f=0,g=v=1,C=_="",d=a;break;case 58:d=1+vr(_),f=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&bv()==125)continue}switch(_+=Gc(b),b*g){case 38:v=u>0?1:(_+="\f",-1);break;case 44:s[c++]=(vr(_)-1)*v,v=1;break;case 64:oi()===45&&(_+=Jc(Jn())),h=oi(),u=d=vr(C=_+=Sv(Ks())),b++;break;case 45:m===45&&vr(_)==2&&(g=0)}}return i}function cf(t,e,n,r,o,i,a,s,l,c,u,d){for(var h=o-1,f=o===0?i:[""],m=af(f),g=0,p=0,v=0;g<r;++g)for(var b=0,C=ji(t,h+1,h=rf(p=a[g])),k=t;b<m;++b)(k=of(p>0?f[b]+" "+C:Pe(C,/&\f/g,f[b])))&&(l[v++]=k);return Qs(t,e,n,o===0?qs:s,l,c,u,d)}function Ev(t,e,n,r){return Qs(t,e,n,tf,Gc(vv()),ji(t,2,-2),0,r)}function uf(t,e,n,r,o){return Qs(t,e,n,Zc,ji(t,0,r),ji(t,r+1,-1),r,o)}function df(t,e,n){switch(mv(t,e)){case 5103:return qe+"print-"+t+t;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 qe+t+t;case 4789:return Za+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return qe+t+Za+t+ct+t+t;case 5936:switch(jt(t,e+11)){case 114:return qe+t+ct+Pe(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return qe+t+ct+Pe(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return qe+t+ct+Pe(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return qe+t+ct+t+t;case 6165:return qe+t+ct+"flex-"+t+t;case 5187:return qe+t+Pe(t,/(\w+).+(:[^]+)/,qe+"box-$1$2"+ct+"flex-$1$2")+t;case 5443:return qe+t+ct+"flex-item-"+Pe(t,/flex-|-self/g,"")+(Xr(t,/flex-|baseline/)?"":ct+"grid-row-"+Pe(t,/flex-|-self/g,""))+t;case 4675:return qe+t+ct+"flex-line-pack"+Pe(t,/align-content|flex-|-self/g,"")+t;case 5548:return qe+t+ct+Pe(t,"shrink","negative")+t;case 5292:return qe+t+ct+Pe(t,"basis","preferred-size")+t;case 6060:return qe+"box-"+Pe(t,"-grow","")+qe+t+ct+Pe(t,"grow","positive")+t;case 4554:return qe+Pe(t,/([^-])(transform)/g,"$1"+qe+"$2")+t;case 6187:return Pe(Pe(Pe(t,/(zoom-|grab)/,qe+"$1"),/(image-set)/,qe+"$1"),t,"")+t;case 5495:case 3959:return Pe(t,/(image-set\([^]*)/,qe+"$1$`$1");case 4968:return Pe(Pe(t,/(.+:)(flex-)?(.*)/,qe+"box-pack:$3"+ct+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qe+t+t;case 4200:if(!Xr(t,/flex-|baseline/))return ct+"grid-column-align"+ji(t,e)+t;break;case 2592:case 3360:return ct+Pe(t,"template-","")+t;case 4384:case 3616:return n&&n.some(function(r,o){return e=o,Xr(r.props,/grid-\w+-end/)})?~Zs(t+(n=n[e].value),"span",0)?t:ct+Pe(t,"-start","")+t+ct+"grid-row-span:"+(~Zs(n,"span",0)?Xr(n,/\d+/):+Xr(n,/\d+/)-+Xr(t,/\d+/))+";":ct+Pe(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(r){return Xr(r.props,/grid-\w+-start/)})?t:ct+Pe(Pe(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return Pe(t,/(.+)-inline(.+)/,qe+"$1$2")+t;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(vr(t)-1-e>6)switch(jt(t,e+1)){case 109:if(jt(t,e+4)!==45)break;case 102:return Pe(t,/(.+:)(.+)-([^]+)/,"$1"+qe+"$2-$3$1"+Za+(jt(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Zs(t,"stretch",0)?df(Pe(t,"stretch","fill-available"),e,n)+t:t}break;case 5152:case 5920:return Pe(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,a,s,l,c){return ct+o+":"+i+c+(a?ct+o+"-span:"+(s?l:+l-+i)+c:"")+t});case 4949:if(jt(t,e+6)===121)return Pe(t,":",":"+qe)+t;break;case 6444:switch(jt(t,jt(t,14)===45?18:11)){case 120:return Pe(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+qe+(jt(t,14)===45?"inline-":"")+"box$3$1"+qe+"$2$3$1"+ct+"$2box$3")+t;case 100:return Pe(t,":",":"+ct)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Pe(t,"scroll-","scroll-snap-")+t}return t}function tl(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function Ov(t,e,n,r){switch(t.type){case gv:if(t.children.length)break;case pv:case Zc:return t.return=t.return||t.value;case tf:return"";case nf:return t.return=t.value+"{"+tl(t.children,r)+"}";case qs:if(!vr(t.value=t.props.join(",")))return""}return vr(n=tl(t.children,r))?t.return=t.value+"{"+n+"}":""}function Pv(t){var e=af(t);return function(n,r,o,i){for(var a="",s=0;s<e;s++)a+=t[s](n,r,o,i)||"";return a}}function Dv(t){return function(e){e.root||(e=e.return)&&t(e)}}function Av(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case Zc:t.return=df(t.value,t.length,n);return;case nf:return tl([fo(t,{value:Pe(t.value,"@","@"+qe)})],r);case qs:if(t.length)return yv(n=t.props,function(o){switch(Xr(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Fi(fo(t,{props:[Pe(o,/:(read-\w+)/,":"+Za+"$1")]})),Fi(fo(t,{props:[o]})),Qc(t,{props:sf(n,r)});break;case"::placeholder":Fi(fo(t,{props:[Pe(o,/:(plac\w+)/,":"+qe+"input-$1")]})),Fi(fo(t,{props:[Pe(o,/:(plac\w+)/,":"+Za+"$1")]})),Fi(fo(t,{props:[Pe(o,/:(plac\w+)/,ct+"input-$1")]})),Fi(fo(t,{props:[o]})),Qc(t,{props:sf(n,r)});break}return""})}}var Nv={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},ii=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",hf="active",ff="data-styled-version",nl="6.1.19",tu=`/*!sc*/
`,rl=typeof window<"u"&&typeof document<"u",Tv=!!(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"),pf=/invalid hook call/i,ol=new Set,Iv=function(t,e){if(process.env.NODE_ENV!=="production"){var n=e?' with the id of "'.concat(e,'"'):"",r="The component ".concat(t).concat(n,` 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.
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
`,o=console.error;try{var i=!0;console.error=function(a){for(var s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];pf.test(a)?(i=!1,ol.delete(r)):o.apply(void 0,Li([a],s,!1))},S.useRef(),i&&!ol.has(r)&&(console.warn(r),ol.add(r))}catch(a){pf.test(a.message)&&ol.delete(r)}finally{console.error=o}}},il=Object.freeze([]),Ui=Object.freeze({});function Lv(t,e,n){return n===void 0&&(n=Ui),t.theme!==n.theme&&t.theme||e||n.theme}var nu=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"]),jv=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,$v=/(^-|-$)/g;function gf(t){return t.replace(jv,"-").replace($v,"")}var zv=/(a)(d)/gi,al=52,mf=function(t){return String.fromCharCode(t+(t>25?39:97))};function ru(t){var e,n="";for(e=Math.abs(t);e>al;e=e/al|0)n=mf(e%al)+n;return(mf(e%al)+n).replace(zv,"$1-$2")}var ou,yf=5381,ai=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},vf=function(t){return ai(yf,t)};function Fv(t){return ru(vf(t)>>>0)}function bf(t){return process.env.NODE_ENV!=="production"&&typeof t=="string"&&t||t.displayName||t.name||"Component"}function iu(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var xf=typeof Symbol=="function"&&Symbol.for,wf=xf?Symbol.for("react.memo"):60115,Uv=xf?Symbol.for("react.forward_ref"):60112,Rv={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Vv={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cf={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Yv=((ou={})[Uv]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ou[wf]=Cf,ou);function Mf(t){return("type"in(e=t)&&e.type.$$typeof)===wf?Cf:"$$typeof"in t?Yv[t.$$typeof]:Rv;var e}var Bv=Object.defineProperty,Hv=Object.getOwnPropertyNames,kf=Object.getOwnPropertySymbols,Wv=Object.getOwnPropertyDescriptor,Xv=Object.getPrototypeOf,Sf=Object.prototype;function _f(t,e,n){if(typeof e!="string"){if(Sf){var r=Xv(e);r&&r!==Sf&&_f(t,r,n)}var o=Hv(e);kf&&(o=o.concat(kf(e)));for(var i=Mf(t),a=Mf(e),s=0;s<o.length;++s){var l=o[s];if(!(l in Vv||n&&n[l]||a&&l in a||i&&l in i)){var c=Wv(e,l);try{Bv(t,l,c)}catch{}}}}return t}function Ri(t){return typeof t=="function"}function au(t){return typeof t=="object"&&"styledComponentId"in t}function si(t,e){return t&&e?"".concat(t," ").concat(e):t||e||""}function Ef(t,e){if(t.length===0)return"";for(var n=t[0],r=1;r<t.length;r++)n+=e?e+t[r]:t[r];return n}function Vi(t){return t!==null&&typeof t=="object"&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function su(t,e,n){if(n===void 0&&(n=!1),!n&&!Vi(t)&&!Array.isArray(t))return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)t[r]=su(t[r],e[r]);else if(Vi(e))for(var r in e)t[r]=su(t[r],e[r]);return t}function lu(t,e){Object.defineProperty(t,"toString",{value:e})}var qv=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 Zv(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],r=[],o=1,i=t.length;o<i;o+=1)r.push(t[o]);return r.forEach(function(a){n=n.replace(/%[a-z]/,a)}),n}function Yi(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];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(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(Zv.apply(void 0,Li([qv[t]],e,!1)).trim())}var Gv=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var n=0,r=0;r<e;r++)n+=this.groupSizes[r];return n},t.prototype.insertRules=function(e,n){if(e>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,i=o;e>=i;)if((i<<=1)<0)throw Yi(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(e+1),l=(a=0,n.length);a<l;a++)this.tag.insertRule(s,n[a])&&(this.groupSizes[e]++,s++)},t.prototype.clearGroup=function(e){if(e<this.length){var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n;this.groupSizes[e]=0;for(var i=r;i<o;i++)this.tag.deleteRule(r)}},t.prototype.getGroup=function(e){var n="";if(e>=this.length||this.groupSizes[e]===0)return n;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),i=o+r,a=o;a<i;a++)n+="".concat(this.tag.getRule(a)).concat(tu);return n},t}(),Qv=1<<30,sl=new Map,ll=new Map,cl=1,ul=function(t){if(sl.has(t))return sl.get(t);for(;ll.has(cl);)cl++;var e=cl++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>Qv))throw Yi(16,"".concat(e));return sl.set(t,e),ll.set(e,t),e},Kv=function(t,e){cl=e+1,sl.set(t,e),ll.set(e,t)},Jv="style[".concat(ii,"][").concat(ff,'="').concat(nl,'"]'),eb=new RegExp("^".concat(ii,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),tb=function(t,e,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&t.registerName(e,r)},nb=function(t,e){for(var n,r=((n=e.textContent)!==null&&n!==void 0?n:"").split(tu),o=[],i=0,a=r.length;i<a;i++){var s=r[i].trim();if(s){var l=s.match(eb);if(l){var c=0|parseInt(l[1],10),u=l[2];c!==0&&(Kv(u,c),tb(t,u,l[3]),t.getTag().insertRules(c,o)),o.length=0}else o.push(s)}}},Of=function(t){for(var e=document.querySelectorAll(Jv),n=0,r=e.length;n<r;n++){var o=e[n];o&&o.getAttribute(ii)!==hf&&(nb(t,o),o.parentNode&&o.parentNode.removeChild(o))}};function rb(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Pf=function(t){var e=document.head,n=t||e,r=document.createElement("style"),o=function(s){var l=Array.from(s.querySelectorAll("style[".concat(ii,"]")));return l[l.length-1]}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(ii,hf),r.setAttribute(ff,nl);var a=rb();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},ob=function(){function t(e){this.element=Pf(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,i=r.length;o<i;o++){var a=r[o];if(a.ownerNode===n)return a}throw Yi(17)}(this.element),this.length=0}return t.prototype.insertRule=function(e,n){try{return this.sheet.insertRule(n,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var n=this.sheet.cssRules[e];return n&&n.cssText?n.cssText:""},t}(),ib=function(){function t(e){this.element=Pf(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,n){if(e<=this.length&&e>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),ab=function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,n){return e<=this.length&&(this.rules.splice(e,0,n),this.length++,!0)},t.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),Df=rl,sb={isServer:!rl,useCSSOMInjection:!Tv},Af=function(){function t(e,n,r){e===void 0&&(e=Ui),n===void 0&&(n={});var o=this;this.options=mn(mn({},sb),e),this.gs=n,this.names=new Map(r),this.server=!!e.isServer,!this.server&&rl&&Df&&(Df=!1,Of(this)),lu(this,function(){return function(i){for(var a=i.getTag(),s=a.length,l="",c=function(d){var h=function(v){return ll.get(v)}(d);if(h===void 0)return"continue";var f=i.names.get(h),m=a.getGroup(d);if(f===void 0||!f.size||m.length===0)return"continue";var g="".concat(ii,".g").concat(d,'[id="').concat(h,'"]'),p="";f!==void 0&&f.forEach(function(v){v.length>0&&(p+="".concat(v,","))}),l+="".concat(m).concat(g,'{content:"').concat(p,'"}').concat(tu)},u=0;u<s;u++)c(u);return l}(o)})}return t.registerId=function(e){return ul(e)},t.prototype.rehydrate=function(){!this.server&&rl&&Of(this)},t.prototype.reconstructWithOptions=function(e,n){return n===void 0&&(n=!0),new t(mn(mn({},this.options),e),this.gs,n&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new ab(o):r?new ob(o):new ib(o)}(this.options),new Gv(e)));var e},t.prototype.hasNameForId=function(e,n){return this.names.has(e)&&this.names.get(e).has(n)},t.prototype.registerName=function(e,n){if(ul(e),this.names.has(e))this.names.get(e).add(n);else{var r=new Set;r.add(n),this.names.set(e,r)}},t.prototype.insertRules=function(e,n,r){this.registerName(e,n),this.getTag().insertRules(ul(e),r)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(ul(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),lb=/&/g,cb=/^\s*\/\/.*$/gm;function Nf(t,e){return t.map(function(n){return n.type==="rule"&&(n.value="".concat(e," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(e," ")),n.props=n.props.map(function(r){return"".concat(e," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Nf(n.children,e)),n})}function ub(t){var e,n,r,o=t===void 0?Ui:t,i=o.options,a=i===void 0?Ui:i,s=o.plugins,l=s===void 0?il:s,c=function(h,f,m){return m.startsWith(n)&&m.endsWith(n)&&m.replaceAll(n,"").length>0?".".concat(e):h},u=l.slice();u.push(function(h){h.type===qs&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(lb,n).replace(r,c))}),a.prefix&&u.push(Av),u.push(Ov);var d=function(h,f,m,g){f===void 0&&(f=""),m===void 0&&(m=""),g===void 0&&(g="&"),e=g,n=f,r=new RegExp("\\".concat(n,"\\b"),"g");var p=h.replace(cb,""),v=_v(m||f?"".concat(m," ").concat(f," { ").concat(p," }"):p);a.namespace&&(v=Nf(v,a.namespace));var b=[];return tl(v,Pv(u.concat(Dv(function(C){return b.push(C)})))),b};return d.hash=l.length?l.reduce(function(h,f){return f.name||Yi(15),ai(h,f.name)},yf).toString():"",d}var db=new Af,cu=ub(),Tf=S.createContext({shouldForwardProp:void 0,styleSheet:db,stylis:cu});Tf.Consumer,S.createContext(void 0);function If(){return S.useContext(Tf)}var Lf=function(){function t(e,n){var r=this;this.inject=function(o,i){i===void 0&&(i=cu);var a=r.name+i.hash;o.hasNameForId(r.id,a)||o.insertRules(r.id,a,i(r.rules,a,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=n,lu(this,function(){throw Yi(12,String(r.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=cu),this.name+e.hash},t}(),hb=function(t){return t>="A"&&t<="Z"};function jf(t){for(var e="",n=0;n<t.length;n++){var r=t[n];if(n===1&&r==="-"&&t[0]==="-")return t;hb(r)?e+="-"+r.toLowerCase():e+=r}return e.startsWith("ms-")?"-"+e:e}var $f=function(t){return t==null||t===!1||t===""},zf=function(t){var e,n,r=[];for(var o in t){var i=t[o];t.hasOwnProperty(o)&&!$f(i)&&(Array.isArray(i)&&i.isCss||Ri(i)?r.push("".concat(jf(o),":"),i,";"):Vi(i)?r.push.apply(r,Li(Li(["".concat(o," {")],zf(i),!1),["}"],!1)):r.push("".concat(jf(o),": ").concat((e=o,(n=i)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||e in Nv||e.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function li(t,e,n,r){if($f(t))return[];if(au(t))return[".".concat(t.styledComponentId)];if(Ri(t)){if(!Ri(i=t)||i.prototype&&i.prototype.isReactComponent||!e)return[t];var o=t(e);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof Lf||Vi(o)||o===null||console.error("".concat(bf(t)," 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.")),li(o,e,n,r)}var i;return t instanceof Lf?n?(t.inject(n,r),[t.getName(r)]):[t]:Vi(t)?zf(t):Array.isArray(t)?Array.prototype.concat.apply(il,t.map(function(a){return li(a,e,n,r)})):[t.toString()]}function fb(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(Ri(n)&&!au(n))return!1}return!0}var pb=vf(nl),gb=function(){function t(e,n,r){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&fb(e),this.componentId=n,this.baseHash=ai(pb,n),this.baseStyle=r,Af.registerId(n)}return t.prototype.generateAndInjectStyles=function(e,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=si(o,this.staticRulesId);else{var i=Ef(li(this.rules,e,n,r)),a=ru(ai(this.baseHash,i)>>>0);if(!n.hasNameForId(this.componentId,a)){var s=r(i,".".concat(a),void 0,this.componentId);n.insertRules(this.componentId,a,s)}o=si(o,a),this.staticRulesId=a}else{for(var l=ai(this.baseHash,r.hash),c="",u=0;u<this.rules.length;u++){var d=this.rules[u];if(typeof d=="string")c+=d,process.env.NODE_ENV!=="production"&&(l=ai(l,d));else if(d){var h=Ef(li(d,e,n,r));l=ai(l,h+u),c+=h}}if(c){var f=ru(l>>>0);n.hasNameForId(this.componentId,f)||n.insertRules(this.componentId,f,r(c,".".concat(f),void 0,this.componentId)),o=si(o,f)}}return o},t}(),Ff=S.createContext(void 0);Ff.Consumer;var uu={},Uf=new Set;function mb(t,e,n){var r=au(t),o=t,i=!iu(t),a=e.attrs,s=a===void 0?il:a,l=e.componentId,c=l===void 0?function(k,x){var M=typeof k!="string"?"sc":gf(k);uu[M]=(uu[M]||0)+1;var _="".concat(M,"-").concat(Fv(nl+M+uu[M]));return x?"".concat(x,"-").concat(_):_}(e.displayName,e.parentComponentId):l,u=e.displayName,d=u===void 0?function(k){return iu(k)?"styled.".concat(k):"Styled(".concat(bf(k),")")}(t):u,h=e.displayName&&e.componentId?"".concat(gf(e.displayName),"-").concat(e.componentId):e.componentId||c,f=r&&o.attrs?o.attrs.concat(s).filter(Boolean):s,m=e.shouldForwardProp;if(r&&o.shouldForwardProp){var g=o.shouldForwardProp;if(e.shouldForwardProp){var p=e.shouldForwardProp;m=function(k,x){return g(k,x)&&p(k,x)}}else m=g}var v=new gb(n,h,r?o.componentStyle:void 0);function b(k,x){return function(M,_,D){var I=M.attrs,U=M.componentStyle,j=M.defaultProps,H=M.foldedComponentIds,$=M.styledComponentId,z=M.target,W=S.useContext(Ff),V=If(),B=M.shouldForwardProp||V.shouldForwardProp;process.env.NODE_ENV!=="production"&&S.useDebugValue($);var E=Lv(_,W,j)||Ui,ee=function(q,oe,Q){for(var K,J=mn(mn({},oe),{className:void 0,theme:Q}),Z=0;Z<q.length;Z+=1){var ae=Ri(K=q[Z])?K(J):K;for(var R in ae)J[R]=R==="className"?si(J[R],ae[R]):R==="style"?mn(mn({},J[R]),ae[R]):ae[R]}return oe.className&&(J.className=si(J.className,oe.className)),J}(I,_,E),N=ee.as||z,F={};for(var Y in ee)ee[Y]===void 0||Y[0]==="$"||Y==="as"||Y==="theme"&&ee.theme===E||(Y==="forwardedAs"?F.as=ee.forwardedAs:B&&!B(Y,N)||(F[Y]=ee[Y],B||process.env.NODE_ENV!=="development"||hv(Y)||Uf.has(Y)||!nu.has(N)||(Uf.add(Y),console.warn('styled-components: it looks like an unknown prop "'.concat(Y,'" 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 G=function(q,oe){var Q=If(),K=q.generateAndInjectStyles(oe,Q.styleSheet,Q.stylis);return process.env.NODE_ENV!=="production"&&S.useDebugValue(K),K}(U,ee);process.env.NODE_ENV!=="production"&&M.warnTooManyClasses&&M.warnTooManyClasses(G);var X=si(H,$);return G&&(X+=" "+G),ee.className&&(X+=" "+ee.className),F[iu(N)&&!nu.has(N)?"class":"className"]=X,D&&(F.ref=D),S.createElement(N,F)}(C,k,x)}b.displayName=d;var C=S.forwardRef(b);return C.attrs=f,C.componentStyle=v,C.displayName=d,C.shouldForwardProp=m,C.foldedComponentIds=r?si(o.foldedComponentIds,o.styledComponentId):"",C.styledComponentId=h,C.target=r?o.target:t,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(k){this._foldedDefaultProps=r?function(x){for(var M=[],_=1;_<arguments.length;_++)M[_-1]=arguments[_];for(var D=0,I=M;D<I.length;D++)su(x,I[D],!0);return x}({},o.defaultProps,k):k}}),process.env.NODE_ENV!=="production"&&(Iv(d,h),C.warnTooManyClasses=function(k,x){var M={},_=!1;return function(D){if(!_&&(M[D]=!0,Object.keys(M).length>=200)){var I=x?' with the id of "'.concat(x,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(k).concat(I,`.
`)+`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 />`),_=!0,M={}}}}(d,h)),lu(C,function(){return".".concat(C.styledComponentId)}),i&&_f(C,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),C}function Rf(t,e){for(var n=[t[0]],r=0,o=e.length;r<o;r+=1)n.push(e[r],t[r+1]);return n}var Vf=function(t){return Object.assign(t,{isCss:!0})};function ci(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(Ri(t)||Vi(t))return Vf(li(Rf(il,Li([t],e,!0))));var r=t;return e.length===0&&r.length===1&&typeof r[0]=="string"?li(r):Vf(li(Rf(r,e)))}function du(t,e,n){if(n===void 0&&(n=Ui),!e)throw Yi(1,e);var r=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return t(e,n,ci.apply(void 0,Li([o],i,!1)))};return r.attrs=function(o){return du(t,e,mn(mn({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},r.withConfig=function(o){return du(t,e,mn(mn({},n),o))},r}var Yf=function(t){return du(mb,t)},Me=Yf;nu.forEach(function(t){Me[t]=Yf(t)}),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 dl="__sc-".concat(ii,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[dl]||(window[dl]=0),window[dl]===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[dl]+=1);function hu(){return hu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},hu.apply(null,arguments)}var Bf=["shift","alt","meta","mod","ctrl"],yb={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function po(t){return(t&&yb[t]||t||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function vb(t){return Bf.includes(t)}function fu(t,e){return e===void 0&&(e=","),t.split(e)}function pu(t,e,n){e===void 0&&(e="+");var r=t.toLocaleLowerCase().split(e).map(function(a){return po(a)}),o={alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},i=r.filter(function(a){return!Bf.includes(a)});return hu({},o,{keys:i,description:n,hotkey:t})}(function(){typeof document<"u"&&(document.addEventListener("keydown",function(t){t.key!==void 0&&Hf([po(t.key),po(t.code)])}),document.addEventListener("keyup",function(t){t.key!==void 0&&Wf([po(t.key),po(t.code)])})),typeof window<"u"&&window.addEventListener("blur",function(){go.clear()})})();var go=new Set;function gu(t){return Array.isArray(t)}function bb(t,e){e===void 0&&(e=",");var n=gu(t)?t:t.split(e);return n.every(function(r){return go.has(r.trim().toLowerCase())})}function Hf(t){var e=Array.isArray(t)?t:[t];go.has("meta")&&go.forEach(function(n){return!vb(n)&&go.delete(n.toLowerCase())}),e.forEach(function(n){return go.add(n.toLowerCase())})}function Wf(t){var e=Array.isArray(t)?t:[t];t==="meta"?go.clear():e.forEach(function(n){return go.delete(n.toLowerCase())})}function xb(t,e,n){(typeof n=="function"&&n(t,e)||n===!0)&&t.preventDefault()}function wb(t,e,n){return typeof n=="function"?n(t,e):n===!0||n===void 0}function Cb(t){return Xf(t,["input","textarea","select"])}function Xf(t,e){e===void 0&&(e=!1);var n=t.target,r=t.composed,o=null;return Mb(n)&&r?o=t.composedPath()[0]&&t.composedPath()[0].tagName:o=n&&n.tagName,gu(e)?!!(o&&e&&e.some(function(i){var a;return i.toLowerCase()===((a=o)==null?void 0:a.toLowerCase())})):!!(o&&e&&e)}function Mb(t){return!!t.tagName&&!t.tagName.startsWith("-")&&t.tagName.includes("-")}function kb(t,e){return t.length===0&&e?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):e?t.some(function(n){return e.includes(n)})||t.includes("*"):!0}var Sb=function(e,n,r){r===void 0&&(r=!1);var o=n.alt,i=n.meta,a=n.mod,s=n.shift,l=n.ctrl,c=n.keys,u=e.key,d=e.code,h=e.ctrlKey,f=e.metaKey,m=e.shiftKey,g=e.altKey,p=po(d),v=u.toLowerCase();if(!(c!=null&&c.includes(p))&&!(c!=null&&c.includes(v))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(p))return!1;if(!r){if(o===!g&&v!=="alt"||s===!m&&v!=="shift")return!1;if(a){if(!f&&!h)return!1}else if(i===!f&&v!=="meta"&&v!=="os"||l===!h&&v!=="ctrl"&&v!=="control")return!1}return c&&c.length===1&&(c.includes(v)||c.includes(p))?!0:c?bb(c):!c},_b=S.createContext(void 0),Eb=function(){return S.useContext(_b)};function qf(t,e){return t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(t).length===Object.keys(e).length&&Object.keys(t).reduce(function(n,r){return n&&qf(t[r],e[r])},!0):t===e}var Ob=S.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),Pb=function(){return S.useContext(Ob)};function Db(t){var e=S.useRef(void 0);return qf(e.current,t)||(e.current=t),e.current}var Zf=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},Ab=typeof window<"u"?S.useLayoutEffect:S.useEffect;function ui(t,e,n,r){var o=S.useState(null),i=o[0],a=o[1],s=S.useRef(!1),l=n instanceof Array?r instanceof Array?void 0:r:n,c=gu(t)?t.join(l==null?void 0:l.splitKey):t,u=n instanceof Array?n:r instanceof Array?r:void 0,d=S.useCallback(e,u??[]),h=S.useRef(d);u?h.current=d:h.current=e;var f=Db(l),m=Pb(),g=m.enabledScopes,p=Eb();return Ab(function(){if(!((f==null?void 0:f.enabled)===!1||!kb(g,f==null?void 0:f.scopes))){var v=function(M,_){var D;if(_===void 0&&(_=!1),!(Cb(M)&&!Xf(M,f==null?void 0:f.enableOnFormTags))){if(i!==null){var I=i.getRootNode();if((I instanceof Document||I instanceof ShadowRoot)&&I.activeElement!==i&&!i.contains(I.activeElement)){Zf(M);return}}(D=M.target)!=null&&D.isContentEditable&&!(f!=null&&f.enableOnContentEditable)||fu(c,f==null?void 0:f.splitKey).forEach(function(U){var j,H=pu(U,f==null?void 0:f.combinationKey);if(Sb(M,H,f==null?void 0:f.ignoreModifiers)||(j=H.keys)!=null&&j.includes("*")){if(f!=null&&f.ignoreEventWhen!=null&&f.ignoreEventWhen(M)||_&&s.current)return;if(xb(M,H,f==null?void 0:f.preventDefault),!wb(M,H,f==null?void 0:f.enabled)){Zf(M);return}h.current(M,H),_||(s.current=!0)}})}},b=function(M){M.key!==void 0&&(Hf(po(M.code)),((f==null?void 0:f.keydown)===void 0&&(f==null?void 0:f.keyup)!==!0||f!=null&&f.keydown)&&v(M))},C=function(M){M.key!==void 0&&(Wf(po(M.code)),s.current=!1,f!=null&&f.keyup&&v(M,!0))},k=i||(l==null?void 0:l.document)||document;return k.addEventListener("keyup",C,l==null?void 0:l.eventListenerOptions),k.addEventListener("keydown",b,l==null?void 0:l.eventListenerOptions),p&&fu(c,f==null?void 0:f.splitKey).forEach(function(x){return p.addHotkey(pu(x,f==null?void 0:f.combinationKey,f==null?void 0:f.description))}),function(){k.removeEventListener("keyup",C,l==null?void 0:l.eventListenerOptions),k.removeEventListener("keydown",b,l==null?void 0:l.eventListenerOptions),p&&fu(c,f==null?void 0:f.splitKey).forEach(function(x){return p.removeHotkey(pu(x,f==null?void 0:f.combinationKey,f==null?void 0:f.description))})}}},[i,c,f,g]),a}function Fe(){return Fe=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Fe.apply(null,arguments)}function Gf(t){if(Array.isArray(t))return t}function Nb(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(u){c=!0,o=u}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function yu(t,e){if(t){if(typeof t=="string")return mu(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mu(t,e):void 0}}function Qf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Se(t,e){return Gf(t)||Nb(t,e)||yu(t,e)||Qf()}function br(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var vu={},bu=[],Tb=function(t){bu.push(t)};function Bi(t,e){if(process.env.NODE_ENV!=="production"&&!t&&console!==void 0){var n=bu.reduce(function(r,o){return o(r??"","warning")},e);n&&console.error("Warning: ".concat(n))}}function Ib(t,e){if(process.env.NODE_ENV!=="production"&&!t&&console!==void 0){var n=bu.reduce(function(r,o){return o(r??"","note")},e);n&&console.warn("Note: ".concat(n))}}function Lb(){vu={}}function Kf(t,e,n){!e&&!vu[n]&&(t(!1,n),vu[n]=!0)}function _t(t,e){Kf(Bi,t,e)}function jb(t,e){Kf(Ib,t,e)}_t.preMessage=Tb,_t.resetWarned=Lb,_t.noteOnce=jb;function st(t){"@babel/helpers - typeof";return st=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},st(t)}function Jf(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var xu={exports:{}},Ze={};/**
* @license React
* 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 ep;function $b(){if(ep)return Ze;ep=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function g(p){if(typeof p=="object"&&p!==null){var v=p.$$typeof;switch(v){case t:switch(p=p.type,p){case n:case o:case r:case c:case u:return p;default:switch(p=p&&p.$$typeof,p){case s:case a:case l:case h:case d:case i:return p;default:return v}}case e:return v}}}return Ze.ContextConsumer=a,Ze.ContextProvider=i,Ze.Element=t,Ze.ForwardRef=l,Ze.Fragment=n,Ze.Lazy=h,Ze.Memo=d,Ze.Portal=e,Ze.Profiler=o,Ze.StrictMode=r,Ze.Suspense=c,Ze.SuspenseList=u,Ze.isAsyncMode=function(){return!1},Ze.isConcurrentMode=function(){return!1},Ze.isContextConsumer=function(p){return g(p)===a},Ze.isContextProvider=function(p){return g(p)===i},Ze.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},Ze.isForwardRef=function(p){return g(p)===l},Ze.isFragment=function(p){return g(p)===n},Ze.isLazy=function(p){return g(p)===h},Ze.isMemo=function(p){return g(p)===d},Ze.isPortal=function(p){return g(p)===e},Ze.isProfiler=function(p){return g(p)===o},Ze.isStrictMode=function(p){return g(p)===r},Ze.isSuspense=function(p){return g(p)===c},Ze.isSuspenseList=function(p){return g(p)===u},Ze.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===o||p===r||p===c||p===u||p===f||typeof p=="object"&&p!==null&&(p.$$typeof===h||p.$$typeof===d||p.$$typeof===i||p.$$typeof===a||p.$$typeof===l||p.$$typeof===m||p.getModuleId!==void 0)},Ze.typeOf=g,Ze}var Ke={};/**
* @license React
* 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 tp;function zb(){return tp||(tp=1,process.env.NODE_ENV!=="production"&&function(){var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=!1,g=!1,p=!1,v=!1,b=!1,C;C=Symbol.for("react.module.reference");function k(ne){return!!(typeof ne=="string"||typeof ne=="function"||ne===n||ne===o||b||ne===r||ne===c||ne===u||v||ne===f||m||g||p||typeof ne=="object"&&ne!==null&&(ne.$$typeof===h||ne.