Socket
Socket
Sign inDemoInstall

@redocly/react-dropdown-aria

Package Overview
Dependencies
84
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.7 to 2.0.8

2

dist/index.es.js

@@ -23,3 +23,3 @@ import e,{useRef as t,createElement as r,useDebugValue as n,useContext as o,useCallback as a,useState as i,useMemo as s,useEffect as c}from"react";import"stream";

* LICENSE file in the root directory of this source tree.
*/}var w="function"==typeof Symbol&&Symbol.for,k=w?Symbol.for("react.element"):60103,S=w?Symbol.for("react.portal"):60106,C=w?Symbol.for("react.fragment"):60107,x=w?Symbol.for("react.strict_mode"):60108,A=w?Symbol.for("react.profiler"):60114,E=w?Symbol.for("react.provider"):60109,O=w?Symbol.for("react.context"):60110,N=w?Symbol.for("react.async_mode"):60111,P=w?Symbol.for("react.concurrent_mode"):60111,R=w?Symbol.for("react.forward_ref"):60112,_=w?Symbol.for("react.suspense"):60113,T=w?Symbol.for("react.suspense_list"):60120,I=w?Symbol.for("react.memo"):60115,$=w?Symbol.for("react.lazy"):60116,D=w?Symbol.for("react.block"):60121,j=w?Symbol.for("react.fundamental"):60117,M=w?Symbol.for("react.responder"):60118,z=w?Symbol.for("react.scope"):60119;function F(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case k:switch(e=e.type){case N:case P:case C:case A:case x:case _:return e;default:switch(e=e&&e.$$typeof){case O:case R:case $:case I:case E:return e;default:return t}}case S:return t}}}function L(e){return F(e)===P}var G={AsyncMode:N,ConcurrentMode:P,ContextConsumer:O,ContextProvider:E,Element:k,ForwardRef:R,Fragment:C,Lazy:$,Memo:I,Portal:S,Profiler:A,StrictMode:x,Suspense:_,isAsyncMode:function(e){return L(e)||F(e)===N},isConcurrentMode:L,isContextConsumer:function(e){return F(e)===O},isContextProvider:function(e){return F(e)===E},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===k},isForwardRef:function(e){return F(e)===R},isFragment:function(e){return F(e)===C},isLazy:function(e){return F(e)===$},isMemo:function(e){return F(e)===I},isPortal:function(e){return F(e)===S},isProfiler:function(e){return F(e)===A},isStrictMode:function(e){return F(e)===x},isSuspense:function(e){return F(e)===_},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===C||e===P||e===A||e===x||e===_||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===$||e.$$typeof===I||e.$$typeof===E||e.$$typeof===O||e.$$typeof===R||e.$$typeof===j||e.$$typeof===M||e.$$typeof===z||e.$$typeof===D)},typeOf:F},V=b((function(e,t){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=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,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var f=e.type;switch(f){case l:case u:case o:case i:case a:case p:return f;default:var g=f&&f.$$typeof;switch(g){case c:case d:case m:case h:case s:return g;default:return t}}case n:return t}}}var k=l,S=u,C=c,x=s,A=r,E=d,O=o,N=m,P=h,R=n,_=i,T=a,I=p,$=!1;function D(e){return w(e)===u}t.AsyncMode=k,t.ConcurrentMode=S,t.ContextConsumer=C,t.ContextProvider=x,t.Element=A,t.ForwardRef=E,t.Fragment=O,t.Lazy=N,t.Memo=P,t.Portal=R,t.Profiler=_,t.StrictMode=T,t.Suspense=I,t.isAsyncMode=function(e){return $||($=!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.")),D(e)||w(e)===l},t.isConcurrentMode=D,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===i},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===i||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},t.typeOf=w}()})),B=(V.AsyncMode,V.ConcurrentMode,V.ContextConsumer,V.ContextProvider,V.Element,V.ForwardRef,V.Fragment,V.Lazy,V.Memo,V.Portal,V.Profiler,V.StrictMode,V.Suspense,V.isAsyncMode,V.isConcurrentMode,V.isContextConsumer,V.isContextProvider,V.isElement,V.isForwardRef,V.isFragment,V.isLazy,V.isMemo,V.isPortal,V.isProfiler,V.isStrictMode,V.isSuspense,V.isValidElementType,V.typeOf,b((function(e){"production"===process.env.NODE_ENV?e.exports=G:e.exports=V}))),W=B.typeOf,H=B.isElement,U=B.isValidElementType;function q(e){function t(e,t,n){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=r(e[l]+" ",o[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var i=e+";",s=2*t+3*r+4*a;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(A,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(b,"tb");break;case 232:c=i.replace(b,"tb-rl");break;case 220:c=i.replace(b,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(S,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(S,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+a&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+i}return i}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(C,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function i(e,t,r,n,o,a,i,s,l,u){for(var d,p=0,f=t;p<T;++p)switch(d=_[p].call(c,e,f,r,n,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function s(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),s}function c(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<T){var c=i(-1,r,s,s,O,E,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var d=function e(r,s,c,d,p){for(var f,h,m,b,k,S=0,C=0,x=0,A=0,_=0,I=0,D=m=f=0,j=0,M=0,z=0,F=0,L=c.length,G=L-1,V="",B="",W="",H="";j<L;){if(h=c.charCodeAt(j),j===G&&0!==C+A+x+S&&(0!==C&&(h=47===C?10:47),A=x=S=0,L++,G++),0===C+A+x+S){if(j===G&&(0<M&&(V=V.replace(u,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=c.charAt(j)}h=59}switch(h){case 123:for(f=(V=V.trim()).charCodeAt(0),m=1,F=++j;j<L;){switch(h=c.charCodeAt(j)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(j+1)){case 42:case 47:e:{for(D=j+1;D<G;++D)switch(c.charCodeAt(D)){case 47:if(42===h&&42===c.charCodeAt(D-1)&&j+2!==D){j=D+1;break e}break;case 10:if(47===h){j=D+1;break e}}j=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;j++<G&&c.charCodeAt(j)!==h;);}if(0===m)break;j++}switch(m=c.substring(F,j),0===f&&(f=(V=V.replace(l,"").trim()).charCodeAt(0)),f){case 64:switch(0<M&&(V=V.replace(u,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:M=s;break;default:M=R}if(F=(m=e(s,M,m,h,p+1)).length,0<T&&(k=i(3,m,M=t(R,V,z),s,O,E,F,h,p,d),V=M.join(""),void 0!==k&&0===(F=(m=k.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:V=V.replace(w,a);case 100:case 109:case 45:m=V+"{"+m+"}";break;case 107:m=(V=V.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=V+m,112===d&&(B+=m,m="")}else m="";break;default:m=e(s,t(s,V,z),m,d,p+1)}W+=m,m=z=M=D=f=0,V="",h=c.charCodeAt(++j);break;case 125:case 59:if(1<(F=(V=(0<M?V.replace(u,""):V).trim()).length))switch(0===D&&(f=V.charCodeAt(0),45===f||96<f&&123>f)&&(F=(V=V.replace(" ",":")).length),0<T&&void 0!==(k=i(1,V,s,r,O,E,B.length,d,p,d))&&0===(F=(V=k.trim()).length)&&(V="\0\0"),f=V.charCodeAt(0),h=V.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){H+=V+c.charAt(j);break}default:58!==V.charCodeAt(F-1)&&(B+=n(V,f,h,V.charCodeAt(2)))}z=M=D=f=0,V="",h=c.charCodeAt(++j)}}switch(h){case 13:case 10:47===C?C=0:0===1+f&&107!==d&&0<V.length&&(M=1,V+="\0"),0<T*$&&i(0,V,s,r,O,E,B.length,d,p,d),E=1,O++;break;case 59:case 125:if(0===C+A+x+S){E++;break}default:switch(E++,b=c.charAt(j),h){case 9:case 32:if(0===A+S+C)switch(_){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===A+C+S&&(M=z=1,b="\f"+b);break;case 108:if(0===A+C+S+N&&0<D)switch(j-D){case 2:112===_&&58===c.charCodeAt(j-3)&&(N=_);case 8:111===I&&(N=I)}break;case 58:0===A+C+S&&(D=j);break;case 44:0===C+x+A+S&&(M=1,b+="\r");break;case 34:case 39:0===C&&(A=A===h?0:0===A?h:A);break;case 91:0===A+C+x&&S++;break;case 93:0===A+C+x&&S--;break;case 41:0===A+C+S&&x--;break;case 40:if(0===A+C+S){if(0===f)switch(2*_+3*I){case 533:break;default:f=1}x++}break;case 64:0===C+x+A+S+D+m&&(m=1);break;case 42:case 47:if(!(0<A+S+x))switch(C){case 0:switch(2*h+3*c.charCodeAt(j+1)){case 235:C=47;break;case 220:F=j,C=42}break;case 42:47===h&&42===_&&F+2!==j&&(33===c.charCodeAt(F+2)&&(B+=c.substring(F,j+1)),b="",C=0)}}0===C&&(V+=b)}I=_,_=h,j++}if(0<(F=B.length)){if(M=s,0<T&&(void 0!==(k=i(2,B,M,r,O,E,F,d,p,d))&&0===(B=k).length))return H+B+W;if(B=M.join(",")+"{"+B+"}",0!=P*N){switch(2!==P||o(B,2)||(N=0),N){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(y,"::-webkit-input-$1")+B.replace(y,"::-moz-$1")+B.replace(y,":-ms-input-$1")+B}N=0}}return H+B+W}(R,s,r,0,0);return 0<T&&(void 0!==(c=i(-2,d,s,s,O,E,d.length,0,0,0))&&(d=c)),"",N=0,E=O=1,d}var l=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,S=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,E=1,O=1,N=0,P=1,R=[],_=[],T=0,I=null,$=0;return c.use=function e(t){switch(t){case void 0:case null:T=_.length=0;break;default:if("function"==typeof t)_[T++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else $=0|!!t}return e},c.set=s,void 0!==e&&s(e),c}var Y={animationIterationCount: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};var X,K,Z=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,J=(X=function(e){return Z.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91},K={},function(e){return void 0===K[e]&&(K[e]=X(e)),K[e]}),Q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},te={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},re={};function ne(e){return B.isMemo(e)?te:re[e.$$typeof]||Q}re[B.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},re[B.Memo]=te;var oe=Object.defineProperty,ae=Object.getOwnPropertyNames,ie=Object.getOwnPropertySymbols,se=Object.getOwnPropertyDescriptor,ce=Object.getPrototypeOf,le=Object.prototype;var ue=function e(t,r,n){if("string"!=typeof r){if(le){var o=ce(r);o&&o!==le&&e(t,o,n)}var a=ae(r);ie&&(a=a.concat(ie(r)));for(var i=ne(t),s=ne(r),c=0;c<a.length;++c){var l=a[c];if(!(ee[l]||n&&n[l]||s&&s[l]||i&&i[l])){var u=se(r,l);try{oe(t,l,u)}catch(e){}}}}return t};function de(){return(de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var pe=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},fe=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!W(e)},he=Object.freeze([]),me=Object.freeze({});function ge(e){return"function"==typeof e}function ye(e){return"production"!==process.env.NODE_ENV&&("string"==typeof e&&e)||e.displayName||e.name||"Component"}function ve(e){return e&&"string"==typeof e.styledComponentId}var be="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",we="undefined"!=typeof window&&"HTMLElement"in window,ke="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||"production"!==process.env.NODE_ENV,Se="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function Ce(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],r=1,n=arguments.length;r<n;r+=1)t.push(r<0||arguments.length<=r?void 0:arguments[r]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t)})),e}function xe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+e+" for more information."+(r.length>0?" Additional arguments: "+r.join(", "):"")):new Error(Ce.apply(void 0,[Se[e]].concat(r)).trim())}var Ae=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(be))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(be,"active"),n.setAttribute("data-styled-version","5.1.1");var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},Ee=function(){function e(e){var t=this.element=Ae(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}xe(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){var t=this.element=Ae(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ne=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Pe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&xe(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),Re=new Map,_e=new Map,Te=1,Ie=function(e){if(Re.has(e))return Re.get(e);var t=Te++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&xe(16,""+t),Re.set(e,t),_e.set(t,e),t},$e=function(e){return _e.get(e)},De=function(e,t){t>=Te&&(Te=t+1),Re.set(e,t),_e.set(t,e)},je="style["+be+'][data-styled-version="5.1.1"]',Me=new RegExp("^"+be+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),ze=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},Fe=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(Me);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(De(l,c),ze(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},Le=we,Ge={isServer:!we,useCSSOMInjection:!ke},Ve=function(){function e(e,t,r){void 0===e&&(e=Ge),void 0===t&&(t={}),this.options=de({},Ge,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&we&&Le&&(Le=!1,function(e){for(var t=document.querySelectorAll(je),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(be)&&(Fe(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Ie(e)};var t=e.prototype;return t.reconstructWithOptions=function(t){return new e(de({},this.options,{},t),this.gs,this.names)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(t=this.options,r=t.isServer,n=t.useCSSOMInjection,o=t.target,e=r?new Ne(o):n?new Ee(o):new Oe(o),new Pe(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Ie(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Ie(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Ie(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=$e(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(void 0!==i&&0!==s.length){var c=be+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),Be=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},We=function(e){return Be(5381,e)};var He=/^\s*\/\/.*$/gm;var Ue=e.createContext(),qe=(Ue.Consumer,e.createContext()),Ye=(qe.Consumer,new Ve),Xe=function(e){var t,r,n,o=void 0===e?me:e,a=o.options,i=void 0===a?me:a,s=o.plugins,c=void 0===s?he:s,l=new q(i),u=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){u.push(e)})),p=function(e,n,o){return n>0&&-1!==o.slice(0,n).indexOf(r)&&o.slice(n-r.length,n)!==r?"."+t:e};function f(e,o,a,i){void 0===i&&(i="&");var s=e.replace(He,""),c=o&&a?a+" "+o+" { "+s+" }":s;return t=i,r=o,n=new RegExp("\\"+r+"\\b","g"),l(a||!o?"":o,c)}return l.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},d,function(e){if(-2===e){var t=u;return u=[],t}}])),f.hash=c.length?c.reduce((function(e,t){return t.name||xe(15),Be(e,t.name)}),5381).toString():"",f}();var Ke=function(){function e(e,t){var r=this;this.inject=function(e){e.hasNameForId(r.id,r.name)||e.insertRules(r.id,r.name,Xe.apply(void 0,r.stringifyArgs))},this.toString=function(){return xe(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),Ze=/([A-Z])/g,Je=/^ms-/;function Qe(e){return e.replace(Ze,"-$1").toLowerCase().replace(Je,"-ms-")}var et=function(e){return null==e||!1===e||""===e},tt=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!et(t[r])){if(fe(t[r]))return n.push.apply(n,e(t[r],r)),n;if(ge(t[r]))return n.push(Qe(r)+":",t[r],";"),n;n.push(Qe(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in Y?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function rt(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)""!==(n=rt(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}if(et(e))return"";if(ve(e))return"."+e.styledComponentId;if(ge(e)){if("function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t)return e;var s=e(t);return"production"!==process.env.NODE_ENV&&H(s)&&console.warn(ye(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."),rt(s,t,r)}var c;return e instanceof Ke?r?(e.inject(r),e.getName()):e:fe(e)?tt(e):e.toString()}function nt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ge(e)||fe(e)?rt(pe(he,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:rt(pe(e,r))}var ot=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},at=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function it(e,t,r){var n=e[r];ot(t)&&ot(n)?st(n,t):e[r]=t}function st(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(ot(i))for(var s in i)at(s)&&it(e,i[s],s)}return e}var ct=/(a)(d)/gi,lt=function(e){return String.fromCharCode(e+(e>25?39:97))};function ut(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=lt(t%52)+r;return(lt(t%52)+r).replace(ct,"$1-$2")}var dt=function(){function e(e,t){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ge(r)&&!ve(r))return!1}return!0}(e),this.componentId=t,this.baseHash=We(t),Ve.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId;if(this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))return this.staticRulesId;var o=rt(this.rules,e,t).join(""),a=ut(Be(this.baseHash,o.length)>>>0);if(!t.hasNameForId(n,a)){var i=r(o,"."+a,void 0,n);t.insertRules(n,a,i)}return this.staticRulesId=a,a}for(var s=this.rules.length,c=Be(this.baseHash,r.hash),l="",u=0;u<s;u++){var d=this.rules[u];if("string"==typeof d)l+=d,"production"!==process.env.NODE_ENV&&(c=Be(c,d+u));else{var p=rt(d,e,t),f=Array.isArray(p)?p.join(""):p;c=Be(c,f+u),l+=f}}var h=ut(c>>>0);if(!t.hasNameForId(n,h)){var m=r(l,"."+h,void 0,n);t.insertRules(n,h,m)}return h},e}(),pt=/invalid hook call/i,ft=new Set,ht=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,mt=/(^-|-$)/g;function gt(e){return e.replace(ht,"-").replace(mt,"")}function yt(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}function vt(e,t){return e&&t?e+" "+t:e||t}var bt=e.createContext(),wt=(bt.Consumer,{});function kt(e,t){var r="string"!=typeof e?"sc":gt(e);wt[r]=(wt[r]||0)+1;var n,o=r+"-"+(n=r+wt[r],ut(We(n)>>>0));return t?t+"-"+o:o}function St(e,t,r,a){var i=o(Ue)||Ye,s=o(qe)||Xe,c=e.isStatic&&!t,l=c?e.generateAndInjectStyles(me,i,s):e.generateAndInjectStyles(r,i,s);return n(l),"production"!==process.env.NODE_ENV&&!c&&a&&a(l),l}function Ct(e,t,a){var i=e.attrs,s=e.componentStyle,c=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,d=e.styledComponentId,p=e.target;n(d);var f=function(e,t,r){void 0===e&&(e=me);var n=de({},t,{theme:e}),o={};return r.forEach((function(e){var t,r=e;for(t in ge(r)&&(r=r(n)),r)n[t]=o[t]="className"===t?vt(o[t],r[t]):r[t]})),[n,o]}(function(e,t,r){return void 0===r&&(r=me),e.theme!==r.theme&&e.theme||t||r.theme}(t,o(bt),c)||me,t,i),h=f[0],m=f[1],g=St(s,i.length>0,h,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),y=a,v=m.$as||t.$as||m.as||t.as||p,b=yt(v),w=m!==t?de({},t,{},m):t,k=u||b&&J,S={};for(var C in w)"$"!==C[0]&&"as"!==C&&("forwardedAs"===C?S.as=w[C]:k&&!k(C,J)||(S[C]=w[C]));return t.style&&m.style!==t.style&&(S.style=de({},t.style,{},m.style)),S.className=Array.prototype.concat(l,d,g!==d?g:null,t.className,m.className).filter(Boolean).join(" "),S.ref=y,r(v,S)}function xt(r,n,o){var a=ve(r),i=!yt(r),s=n.displayName,c=void 0===s?function(e){return yt(e)?"styled."+e:"Styled("+ye(e)+")"}(r):s,l=n.componentId,u=void 0===l?kt(n.displayName,n.parentComponentId):l,d=n.attrs,p=void 0===d?he:d,f=n.displayName&&n.componentId?gt(n.displayName)+"-"+n.componentId:n.componentId||u,h=a&&r.attrs?Array.prototype.concat(r.attrs,p).filter(Boolean):p,m=n.shouldForwardProp;a&&r.shouldForwardProp&&(m=m?function(e,t){return r.shouldForwardProp(e,t)&&n.shouldForwardProp(e,t)}:r.shouldForwardProp);var g,y=new dt(a?r.componentStyle.rules.concat(o):o,f),v=function(e,t){return Ct(g,e,t)};return v.displayName=c,(g=e.forwardRef(v)).attrs=h,g.componentStyle=y,g.displayName=c,g.shouldForwardProp=m,g.foldedComponentIds=a?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):he,g.styledComponentId=f,g.target=a?r.target:r,g.withComponent=function(e){var t=n.componentId,r=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(n,["componentId"]),a=t&&t+"-"+(yt(e)?e:gt(ye(e)));return xt(e,de({},r,{attrs:h,componentId:a}),o)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?st({},r.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(!function(e,r){if("production"!==process.env.NODE_ENV){var n="The component "+e+(r?' with the id of "'+r+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.";try{t(),ft.has(n)||(console.warn(n),ft.add(n))}catch(e){pt.test(e.message)&&ft.delete(n)}}}(c,f),g.warnTooManyClasses=function(e,t){var r={},n=!1;return function(o){if(!n&&(r[o]=!0,Object.keys(r).length>=200)){var a=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+a+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),n=!0,r={}}}}(c,f)),g.toString=function(){return"."+g.styledComponentId},i&&ue(g,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var At=function(e){return function e(t,r,n){if(void 0===n&&(n=me),!U(r))return xe(1,String(r));var o=function(){return t(r,n,nt.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,de({},n,{},o))},o.attrs=function(o){return e(t,r,de({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(xt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){At[e]=At(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles not rendering properly, errors happening during rehydration process, missing theme prop, and makes your application bigger without a good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var Et=At.div((function(e){var t=e.width,r=e.height,n=e.disabled,o=e.open,a=e.dropdownFocused;return{backgroundColor:n?f.light:f.lightest,border:"2px solid "+(o||a?h.focused:f.dark),borderRadius:"7",cursor:n?"not-allowed":"pointer",display:"flex",flexDirection:"column",fontSize:"1em",height:r,position:"relative",width:t,"&:hover":{border:"2px solid "+(o||a?h.focused:f.darker)},"&:disabled":{backgroundColor:h.disabled,cursor:"unset"}}})),Ot=At.div((function(e){var t=e.searchable;return{alignItems:"center",boxSizing:"border-box",cursor:e.open&&t?"text":"inherit",display:"flex",height:"32px",padding:"0 11px",position:"relative",width:"100%",input:{backgroundColor:"inherit",border:"none",fontSize:"inherit",height:"30px",outline:"none",width:"100%"}}})),Nt=At.span((function(){return{bottom:0,left:"11px",position:"absolute",right:"25px",top:0}})),Pt={bottom:0,left:"11px",lineHeight:"30px",overflow:"hidden",position:"absolute",right:"25px",textOverflow:"ellipsis",top:0,whiteSpace:"nowrap"},Rt=At.span((function(e){return d({textAlign:e.centerText?"center":"left",color:e.value&&!e.open?"black":f.base},Pt)})),_t=At.span((function(e){var t=e.centerText;return d({color:f.base,textAlign:t?"center":"left"},Pt)})),Tt=At.div((function(){return{alignItems:"center",bottom:0,color:f.base,display:"flex",position:"absolute",right:"10px",top:0}})),It=At.span((function(e){var t=e.openUp,r=e.maxContentHeight,n=e.open;return{backgroundColor:f.lightest,border:"2px solid "+f.darker,borderRadius:"4px",bottom:t?"105%":void 0,boxShadow:"0px "+(t?"-4px":"4px")+" 4px rgba(0, 0, 0, 0.25)",boxSizing:"border-box",color:"black",display:n?"block":"none",left:"0",listStyleType:"none",margin:"0",maxHeight:r||"175px",overflowX:"hidden",overflowY:"auto",padding:"2px 0",position:"absolute",top:t?void 0:"100%",width:"100%",zIndex:9999,".dropdown-selector-content--empty":{alignItems:"center",color:f.base,display:"flex",flexDirection:"column",justifyContent:"center",padding:"4px 0"},"&::-webkit-scrollbar":{width:"5px"},"&::-webkit-scrollbar-track":{background:"#ddd"},"&::-webkit-scrollbar-thumb":{background:"#666"}}})),$t=At.div((function(){return{padding:"1em 0 0 0"}})),Dt=At.div((function(){return{color:"grey",display:"flex",flexDirection:"row",fontSize:"0.9em",padding:"0 10px 3px 5px"}})),jt=At.div((function(){return{borderBottom:"1px solid "+f.dark,margin:"auto",paddingTop:10,width:"85%"}})),Mt=At.div((function(e){var t=e.selected,r=e.focused,n=f.lightest,o="inherit";return r&&t?(n=f.dark,o=f.lightest):r?n=f.lighter:t&&(n=f.light),{backgroundColor:n,border:"none",color:o,cursor:"pointer",fontSize:"0.95em",overflow:"hidden",padding:"5px 10px",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",display:"flex",alignItems:"center","&:hover":{backgroundColor:t?f.dark:f.light,color:t?f.lightest:void 0},".option-icon":{paddingRight:"5px"}}})),zt=e.memo((function(t){var r=t.onOptionClicked,n=t.option,o=t.optionClass,i=t.itemRenderer,s=t.index,c=t.selected,l=t.focused,u=a((function(e){e.stopPropagation(),r(n,!0)}),[r,n]),d=e.createElement(e.Fragment,null,n.iconClass&&e.createElement("i",{className:n.iconClass+" dropdown-option-icon"}),n.value);return i&&(d=i(t,s)),e.createElement(Mt,{"aria-label":n.ariaLabel,"aria-selected":c,className:v("dropdown-option",o,{selected:c,focused:l}),onClick:u,title:n.title,selected:c,focused:l},d)})),Ft=function(t){var r=t.children,n=t.className,o=t.dim,a=void 0===o?24:o;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather "+n},r)},Lt=function(){return e.createElement(Ft,{className:"feather-inbox"},e.createElement("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),e.createElement("path",{d:"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}))},Gt=function(){return e.createElement(Ft,{className:"feather-chevron-down",dim:16},e.createElement("polyline",{points:"6 9 12 15 18 9"}))},Vt=function(){return e.createElement(Ft,{className:"feather-search",dim:16},e.createElement("circle",{cx:"11",cy:"11",r:"8"}),e.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))};function Bt(t){var r=t.selectedOption,n=t.options,o=t.focusedIndex,a=t.onOptionClicked,i=t.optionItemRenderer;if(t.empty)return e.createElement("div",{className:"dropdown-selector-content--empty"},e.createElement(Lt,null),"No data");var s=i?function(e,t){return i(e,t)}:void 0,c=0,l=n.map((function(t){if(m(t)){var n=t.groupOptions,i=t.label,l=n.map((function(t){var n=t.value===r,i=c===o;return c+=1,e.createElement(zt,{key:t.value,optionClass:t.className,onOptionClicked:a,option:t,itemRenderer:s,index:c-1,selected:n,focused:i})}));return l.length?e.createElement($t,{key:t.label},e.createElement(Dt,null,e.createElement("span",null,i.toUpperCase()," |  "),e.createElement("span",null,n.length)),l,e.createElement(jt,null)):null}var u=t.value,d=t.className,p=c===o,f=u===r;return c+=1,e.createElement(zt,{key:u,optionClass:d,onOptionClicked:a,option:t,itemRenderer:s,index:c-1,selected:f,focused:p})}));return e.createElement(e.Fragment,null,l)}var Wt={height:0,width:0,overflow:"hidden"},Ht=function(t,r,n){var o=t.map((function(t,o){return e.createElement("div",{role:"option",id:n+"_list_"+o,key:n+"_list_"+o,"aria-selected":o===r,"aria-label":t.value})}));return e.createElement("div",{role:"listbox",id:n+"_list",style:Wt},o)},Ut=function(e,t,r){var n=i(""),o=n[0],c=n[1],l=s((function(){return r&&o.trim()?function(e,t){for(var r=[],n=t.toLowerCase(),o=0,a=e;o<a.length;o++){var i=a[o];if(m(i)){var s=y(i,n);s.groupOptions.length>=0&&r.push(s)}else i.value.toLowerCase().includes(n)&&r.push(i)}return r}(t,o):t}),[t,o]),u=a((function(t,r){void 0===r&&(r=!0),c(t),r&&e(0)}),[e,c]);return{searchTerm:o,setSearchTerm:u,filteredOptions:l}},qt=function(e,r){var n=e.options,o=e.searchable,l=e.onChange,u=e.disabled,d=e.ariaDescribedBy,p=e.ariaLabel,f=e.ariaLabelledBy,h=e.value,m=e.defaultOpen,y=i(0),v=y[0],b=y[1],w=i(m),k=w[0],S=w[1],C=t(null),x=t(null),A=t(null),E=i(!1),O=E[0],N=E[1],P=Ut(b,n,o),R=P.searchTerm,_=P.setSearchTerm,T=P.filteredOptions,I=s((function(){return T.reduce(g,[])}),[T]),$=s((function(){return I.map((function(e){return e.value})).indexOf(h)}),[I,h]),D=a((function(e){void 0===e&&(e=!1),_("",!1),S(!1),e&&x.current&&x.current.focus()}),[x.current,_,S]),j=a((function(){b($>0?$:0),S(!0)}),[S,b,$]),M=a((function(e,t){void 0===t&&(t=!1),e&&(l(e),_("",!1)),t&&D(!0)}),[l,D,_]);!function(e,t){var r=function(r){t.current&&!t.current.contains(r.target)&&e()};c((function(){return document.addEventListener("mouseup",r,!1),document.addEventListener("touchend",r,!1),function(){document.removeEventListener("mouseup",r),document.removeEventListener("touchend",r)}}),[])}(D,C),function(e,t){c((function(){if(t.current&&e>=0){var r=t.current.getElementsByClassName("dropdown-option"),n=r&&r.length?r[e]:null;if(n&&n.getBoundingClientRect){var o=n.getBoundingClientRect().height,a=t.current.getBoundingClientRect().height,i=t.current.scrollTop,s=n.offsetTop<=i;n.offsetTop>=i&&n.offsetTop+o<=i+a||(s?t.current.scrollTo({top:n.offsetTop}):t.current.scrollTo({top:n.offsetTop-a+o+8}))}}}),[e])}(v,A);var z=s((function(){return{"aria-hidden":u,"aria-expanded":k,"aria-haspopup":"listbox","aria-activedescendant":r+"_list_"+v,"aria-controls":r+"_list","aria-label":p,"aria-labelledby":f,"aria-describedby":d}}),[u,k,r,v,p,f,d]);return{focusedIndex:v,setFocusedIndex:b,open:k,setOpen:S,searchTerm:R,setSearchTerm:_,dropdownFocused:O,setDropdownFocused:N,setValue:M,filteredOptions:T,openDropdown:j,closeDropdown:D,flattenedOptions:I,container:C,inputRef:x,listWrapper:A,ariaProps:z,ariaList:Ht(I,$,r)}},Yt="undefined"!=typeof window&&window.document&&window.document.documentElement,Xt="test"!==process.env.NODE_ENV&&Yt,Kt=0,Zt=function(t){var r,n=t.arrowRenderer,o=t.contentClassName,i=t.className,c=t.disabled,l=t.hideArrow,f=t.id,h=t.optionItemRenderer,m=t.pageKeyTraverseSize,g=t.placeholder,y=t.searchable,b=t.value,w=t.selectedValueClassName,k=s((function(){return r||(Xt?(e=Kt,Kt+=1):e="test_or_ssr","react_dropdown_aria_"+e);var e}),[r=f]),S=qt(t,k),C=S.open,x=S.dropdownFocused,A=S.focusedIndex,E=S.setFocusedIndex,O=S.setDropdownFocused,N=S.setValue,P=S.openDropdown,R=S.closeDropdown,_=S.searchTerm,T=S.setSearchTerm,I=S.filteredOptions,$=S.flattenedOptions,D=S.container,j=S.inputRef,M=S.listWrapper,z=S.ariaProps,F=S.ariaList,L=a((function(){j.current&&j.current.focus()}),[j.current]),G=a((function(){L(),c||C&&y||(C?R(!0):P())}),[C,c,y,R,P]),V=a((function(e){switch(e){case u.UP_ARROW:E((function(e){return 0===e?$.length-1:e-1}));break;case u.DOWN_ARROW:E((function(e){return(e+1)%$.length}));break;case u.PAGE_UP:E((function(e){return e-m<0&&0!==e?0:e-m<0?$.length-1:e-m}));break;case u.PAGE_DOWN:E((function(e){return e===$.length-1?0:e+m>$.length-1?$.length-1:(e+m)%$.length}));break;case u.ESCAPE:R(!0)}}),[E,$,m,R]),B=a((function(e){var t=e.keyCode;-1!==p.indexOf(t)?(e.preventDefault(),e.stopPropagation(),V(t)):t!==u.ENTER&&(t!==u.SPACE||y)||C?t!==u.TAB||y?(t===u.TAB||t===u.ENTER)&&$.length>0&&A>=0&&C&&(e.stopPropagation(),e.preventDefault(),N($[A],!0)):R():(e.preventDefault(),P())}),[$,N,A,C,V,P,y,R]),W=a((function(e){T(e.target.value)}),[T]),H=a((function(){return O(!0)}),[O]),U=a((function(){return O(!1)}),[O]),q=s((function(){if(l)return null;if(n)return e.createElement(Tt,{className:"dropdown-arrow"},n(C));var t=C&&y;return e.createElement(Tt,{className:"dropdown-arrow"},t&&e.createElement(Vt,null),!t&&e.createElement(Gt,null))}),[C,n,y,l]);return e.createElement(Et,{ref:D,onFocus:L,onClick:G,role:"button",width:t.width,height:t.height,disabled:c,open:C,dropdownFocused:x,className:v("dropdown",i)},e.createElement(Ot,{className:"dropdown-selectors",open:C,searchable:t.searchable},e.createElement(Nt,{className:"dropdown-selector-search"},e.createElement("input",d({id:k,ref:j,value:_,onChange:W,onKeyDown:B,onFocus:H,onBlur:U,readOnly:!C||!y,disabled:c,autoComplete:"off",role:"combobox"},z))),!b&&!_&&e.createElement(_t,{className:"dropdown-selector-placeholder",centerText:t.centerText},g),b&&!_&&e.createElement(Rt,{className:v("dropdown-selector-value",w),centerText:t.centerText,value:b,open:C},b),q),F,e.createElement(It,{maxContentHeight:t.maxContentHeight,openUp:t.openUp,open:C,className:v("dropdown-selector-content",o),ref:M},e.createElement(Bt,{selectedOption:b,options:I,focusedIndex:A,onOptionClicked:N,optionItemRenderer:h,empty:0===$.length})))};Zt.defaultProps={ariaDescribedBy:null,ariaLabel:null,ariaLabelledBy:null,arrowRenderer:void 0,centerText:!1,className:void 0,contentClassName:null,defaultOpen:!1,disabled:!1,height:null,hideArrow:!1,id:null,maxContentHeight:150,openUp:!1,optionItemRenderer:void 0,pageKeyTraverseSize:10,placeholder:"Select ...",searchable:!1,selectedValueClassName:null,style:{},value:void 0,width:null};export default Zt;export{l as StyleKeys};
*/}var w="function"==typeof Symbol&&Symbol.for,k=w?Symbol.for("react.element"):60103,S=w?Symbol.for("react.portal"):60106,C=w?Symbol.for("react.fragment"):60107,x=w?Symbol.for("react.strict_mode"):60108,A=w?Symbol.for("react.profiler"):60114,E=w?Symbol.for("react.provider"):60109,O=w?Symbol.for("react.context"):60110,N=w?Symbol.for("react.async_mode"):60111,P=w?Symbol.for("react.concurrent_mode"):60111,R=w?Symbol.for("react.forward_ref"):60112,_=w?Symbol.for("react.suspense"):60113,T=w?Symbol.for("react.suspense_list"):60120,I=w?Symbol.for("react.memo"):60115,$=w?Symbol.for("react.lazy"):60116,D=w?Symbol.for("react.block"):60121,j=w?Symbol.for("react.fundamental"):60117,M=w?Symbol.for("react.responder"):60118,z=w?Symbol.for("react.scope"):60119;function F(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case k:switch(e=e.type){case N:case P:case C:case A:case x:case _:return e;default:switch(e=e&&e.$$typeof){case O:case R:case $:case I:case E:return e;default:return t}}case S:return t}}}function L(e){return F(e)===P}var G={AsyncMode:N,ConcurrentMode:P,ContextConsumer:O,ContextProvider:E,Element:k,ForwardRef:R,Fragment:C,Lazy:$,Memo:I,Portal:S,Profiler:A,StrictMode:x,Suspense:_,isAsyncMode:function(e){return L(e)||F(e)===N},isConcurrentMode:L,isContextConsumer:function(e){return F(e)===O},isContextProvider:function(e){return F(e)===E},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===k},isForwardRef:function(e){return F(e)===R},isFragment:function(e){return F(e)===C},isLazy:function(e){return F(e)===$},isMemo:function(e){return F(e)===I},isPortal:function(e){return F(e)===S},isProfiler:function(e){return F(e)===A},isStrictMode:function(e){return F(e)===x},isSuspense:function(e){return F(e)===_},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===C||e===P||e===A||e===x||e===_||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===$||e.$$typeof===I||e.$$typeof===E||e.$$typeof===O||e.$$typeof===R||e.$$typeof===j||e.$$typeof===M||e.$$typeof===z||e.$$typeof===D)},typeOf:F},V=b((function(e,t){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=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,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var f=e.type;switch(f){case l:case u:case o:case i:case a:case p:return f;default:var g=f&&f.$$typeof;switch(g){case c:case d:case m:case h:case s:return g;default:return t}}case n:return t}}}var k=l,S=u,C=c,x=s,A=r,E=d,O=o,N=m,P=h,R=n,_=i,T=a,I=p,$=!1;function D(e){return w(e)===u}t.AsyncMode=k,t.ConcurrentMode=S,t.ContextConsumer=C,t.ContextProvider=x,t.Element=A,t.ForwardRef=E,t.Fragment=O,t.Lazy=N,t.Memo=P,t.Portal=R,t.Profiler=_,t.StrictMode=T,t.Suspense=I,t.isAsyncMode=function(e){return $||($=!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.")),D(e)||w(e)===l},t.isConcurrentMode=D,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===i},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===i||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},t.typeOf=w}()})),B=(V.AsyncMode,V.ConcurrentMode,V.ContextConsumer,V.ContextProvider,V.Element,V.ForwardRef,V.Fragment,V.Lazy,V.Memo,V.Portal,V.Profiler,V.StrictMode,V.Suspense,V.isAsyncMode,V.isConcurrentMode,V.isContextConsumer,V.isContextProvider,V.isElement,V.isForwardRef,V.isFragment,V.isLazy,V.isMemo,V.isPortal,V.isProfiler,V.isStrictMode,V.isSuspense,V.isValidElementType,V.typeOf,b((function(e){"production"===process.env.NODE_ENV?e.exports=G:e.exports=V}))),W=B.typeOf,H=B.isElement,U=B.isValidElementType;function q(e){function t(e,t,n){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=r(e[l]+" ",o[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var i=e+";",s=2*t+3*r+4*a;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(A,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(b,"tb");break;case 232:c=i.replace(b,"tb-rl");break;case 220:c=i.replace(b,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(S,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(S,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+a&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+i}return i}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(C,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function i(e,t,r,n,o,a,i,s,l,u){for(var d,p=0,f=t;p<T;++p)switch(d=_[p].call(c,e,f,r,n,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function s(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),s}function c(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<T){var c=i(-1,r,s,s,O,E,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var d=function e(r,s,c,d,p){for(var f,h,m,b,k,S=0,C=0,x=0,A=0,_=0,I=0,D=m=f=0,j=0,M=0,z=0,F=0,L=c.length,G=L-1,V="",B="",W="",H="";j<L;){if(h=c.charCodeAt(j),j===G&&0!==C+A+x+S&&(0!==C&&(h=47===C?10:47),A=x=S=0,L++,G++),0===C+A+x+S){if(j===G&&(0<M&&(V=V.replace(u,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=c.charAt(j)}h=59}switch(h){case 123:for(f=(V=V.trim()).charCodeAt(0),m=1,F=++j;j<L;){switch(h=c.charCodeAt(j)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(j+1)){case 42:case 47:e:{for(D=j+1;D<G;++D)switch(c.charCodeAt(D)){case 47:if(42===h&&42===c.charCodeAt(D-1)&&j+2!==D){j=D+1;break e}break;case 10:if(47===h){j=D+1;break e}}j=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;j++<G&&c.charCodeAt(j)!==h;);}if(0===m)break;j++}switch(m=c.substring(F,j),0===f&&(f=(V=V.replace(l,"").trim()).charCodeAt(0)),f){case 64:switch(0<M&&(V=V.replace(u,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:M=s;break;default:M=R}if(F=(m=e(s,M,m,h,p+1)).length,0<T&&(k=i(3,m,M=t(R,V,z),s,O,E,F,h,p,d),V=M.join(""),void 0!==k&&0===(F=(m=k.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:V=V.replace(w,a);case 100:case 109:case 45:m=V+"{"+m+"}";break;case 107:m=(V=V.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=V+m,112===d&&(B+=m,m="")}else m="";break;default:m=e(s,t(s,V,z),m,d,p+1)}W+=m,m=z=M=D=f=0,V="",h=c.charCodeAt(++j);break;case 125:case 59:if(1<(F=(V=(0<M?V.replace(u,""):V).trim()).length))switch(0===D&&(f=V.charCodeAt(0),45===f||96<f&&123>f)&&(F=(V=V.replace(" ",":")).length),0<T&&void 0!==(k=i(1,V,s,r,O,E,B.length,d,p,d))&&0===(F=(V=k.trim()).length)&&(V="\0\0"),f=V.charCodeAt(0),h=V.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){H+=V+c.charAt(j);break}default:58!==V.charCodeAt(F-1)&&(B+=n(V,f,h,V.charCodeAt(2)))}z=M=D=f=0,V="",h=c.charCodeAt(++j)}}switch(h){case 13:case 10:47===C?C=0:0===1+f&&107!==d&&0<V.length&&(M=1,V+="\0"),0<T*$&&i(0,V,s,r,O,E,B.length,d,p,d),E=1,O++;break;case 59:case 125:if(0===C+A+x+S){E++;break}default:switch(E++,b=c.charAt(j),h){case 9:case 32:if(0===A+S+C)switch(_){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===A+C+S&&(M=z=1,b="\f"+b);break;case 108:if(0===A+C+S+N&&0<D)switch(j-D){case 2:112===_&&58===c.charCodeAt(j-3)&&(N=_);case 8:111===I&&(N=I)}break;case 58:0===A+C+S&&(D=j);break;case 44:0===C+x+A+S&&(M=1,b+="\r");break;case 34:case 39:0===C&&(A=A===h?0:0===A?h:A);break;case 91:0===A+C+x&&S++;break;case 93:0===A+C+x&&S--;break;case 41:0===A+C+S&&x--;break;case 40:if(0===A+C+S){if(0===f)switch(2*_+3*I){case 533:break;default:f=1}x++}break;case 64:0===C+x+A+S+D+m&&(m=1);break;case 42:case 47:if(!(0<A+S+x))switch(C){case 0:switch(2*h+3*c.charCodeAt(j+1)){case 235:C=47;break;case 220:F=j,C=42}break;case 42:47===h&&42===_&&F+2!==j&&(33===c.charCodeAt(F+2)&&(B+=c.substring(F,j+1)),b="",C=0)}}0===C&&(V+=b)}I=_,_=h,j++}if(0<(F=B.length)){if(M=s,0<T&&(void 0!==(k=i(2,B,M,r,O,E,F,d,p,d))&&0===(B=k).length))return H+B+W;if(B=M.join(",")+"{"+B+"}",0!=P*N){switch(2!==P||o(B,2)||(N=0),N){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(y,"::-webkit-input-$1")+B.replace(y,"::-moz-$1")+B.replace(y,":-ms-input-$1")+B}N=0}}return H+B+W}(R,s,r,0,0);return 0<T&&(void 0!==(c=i(-2,d,s,s,O,E,d.length,0,0,0))&&(d=c)),"",N=0,E=O=1,d}var l=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,S=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,E=1,O=1,N=0,P=1,R=[],_=[],T=0,I=null,$=0;return c.use=function e(t){switch(t){case void 0:case null:T=_.length=0;break;default:if("function"==typeof t)_[T++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else $=0|!!t}return e},c.set=s,void 0!==e&&s(e),c}var Y={animationIterationCount: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};var X,K,Z=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,J=(X=function(e){return Z.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91},K={},function(e){return void 0===K[e]&&(K[e]=X(e)),K[e]}),Q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},te={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},re={};function ne(e){return B.isMemo(e)?te:re[e.$$typeof]||Q}re[B.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},re[B.Memo]=te;var oe=Object.defineProperty,ae=Object.getOwnPropertyNames,ie=Object.getOwnPropertySymbols,se=Object.getOwnPropertyDescriptor,ce=Object.getPrototypeOf,le=Object.prototype;var ue=function e(t,r,n){if("string"!=typeof r){if(le){var o=ce(r);o&&o!==le&&e(t,o,n)}var a=ae(r);ie&&(a=a.concat(ie(r)));for(var i=ne(t),s=ne(r),c=0;c<a.length;++c){var l=a[c];if(!(ee[l]||n&&n[l]||s&&s[l]||i&&i[l])){var u=se(r,l);try{oe(t,l,u)}catch(e){}}}}return t};function de(){return(de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var pe=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},fe=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!W(e)},he=Object.freeze([]),me=Object.freeze({});function ge(e){return"function"==typeof e}function ye(e){return"production"!==process.env.NODE_ENV&&("string"==typeof e&&e)||e.displayName||e.name||"Component"}function ve(e){return e&&"string"==typeof e.styledComponentId}var be="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",we="undefined"!=typeof window&&"HTMLElement"in window,ke="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||"production"!==process.env.NODE_ENV,Se="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function Ce(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],r=1,n=arguments.length;r<n;r+=1)t.push(r<0||arguments.length<=r?void 0:arguments[r]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t)})),e}function xe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+e+" for more information."+(r.length>0?" Additional arguments: "+r.join(", "):"")):new Error(Ce.apply(void 0,[Se[e]].concat(r)).trim())}var Ae=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(be))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(be,"active"),n.setAttribute("data-styled-version","5.1.1");var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},Ee=function(){function e(e){var t=this.element=Ae(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}xe(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){var t=this.element=Ae(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ne=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Pe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&xe(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),Re=new Map,_e=new Map,Te=1,Ie=function(e){if(Re.has(e))return Re.get(e);var t=Te++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&xe(16,""+t),Re.set(e,t),_e.set(t,e),t},$e=function(e){return _e.get(e)},De=function(e,t){t>=Te&&(Te=t+1),Re.set(e,t),_e.set(t,e)},je="style["+be+'][data-styled-version="5.1.1"]',Me=new RegExp("^"+be+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),ze=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},Fe=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(Me);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(De(l,c),ze(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},Le=we,Ge={isServer:!we,useCSSOMInjection:!ke},Ve=function(){function e(e,t,r){void 0===e&&(e=Ge),void 0===t&&(t={}),this.options=de({},Ge,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&we&&Le&&(Le=!1,function(e){for(var t=document.querySelectorAll(je),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(be)&&(Fe(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Ie(e)};var t=e.prototype;return t.reconstructWithOptions=function(t){return new e(de({},this.options,{},t),this.gs,this.names)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(t=this.options,r=t.isServer,n=t.useCSSOMInjection,o=t.target,e=r?new Ne(o):n?new Ee(o):new Oe(o),new Pe(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Ie(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Ie(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Ie(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=$e(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(void 0!==i&&0!==s.length){var c=be+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),Be=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},We=function(e){return Be(5381,e)};var He=/^\s*\/\/.*$/gm;var Ue=e.createContext(),qe=(Ue.Consumer,e.createContext()),Ye=(qe.Consumer,new Ve),Xe=function(e){var t,r,n,o=void 0===e?me:e,a=o.options,i=void 0===a?me:a,s=o.plugins,c=void 0===s?he:s,l=new q(i),u=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){u.push(e)})),p=function(e,n,o){return n>0&&-1!==o.slice(0,n).indexOf(r)&&o.slice(n-r.length,n)!==r?"."+t:e};function f(e,o,a,i){void 0===i&&(i="&");var s=e.replace(He,""),c=o&&a?a+" "+o+" { "+s+" }":s;return t=i,r=o,n=new RegExp("\\"+r+"\\b","g"),l(a||!o?"":o,c)}return l.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},d,function(e){if(-2===e){var t=u;return u=[],t}}])),f.hash=c.length?c.reduce((function(e,t){return t.name||xe(15),Be(e,t.name)}),5381).toString():"",f}();var Ke=function(){function e(e,t){var r=this;this.inject=function(e){e.hasNameForId(r.id,r.name)||e.insertRules(r.id,r.name,Xe.apply(void 0,r.stringifyArgs))},this.toString=function(){return xe(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),Ze=/([A-Z])/g,Je=/^ms-/;function Qe(e){return e.replace(Ze,"-$1").toLowerCase().replace(Je,"-ms-")}var et=function(e){return null==e||!1===e||""===e},tt=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!et(t[r])){if(fe(t[r]))return n.push.apply(n,e(t[r],r)),n;if(ge(t[r]))return n.push(Qe(r)+":",t[r],";"),n;n.push(Qe(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in Y?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function rt(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)""!==(n=rt(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}if(et(e))return"";if(ve(e))return"."+e.styledComponentId;if(ge(e)){if("function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t)return e;var s=e(t);return"production"!==process.env.NODE_ENV&&H(s)&&console.warn(ye(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."),rt(s,t,r)}var c;return e instanceof Ke?r?(e.inject(r),e.getName()):e:fe(e)?tt(e):e.toString()}function nt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ge(e)||fe(e)?rt(pe(he,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:rt(pe(e,r))}var ot=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},at=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function it(e,t,r){var n=e[r];ot(t)&&ot(n)?st(n,t):e[r]=t}function st(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(ot(i))for(var s in i)at(s)&&it(e,i[s],s)}return e}var ct=/(a)(d)/gi,lt=function(e){return String.fromCharCode(e+(e>25?39:97))};function ut(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=lt(t%52)+r;return(lt(t%52)+r).replace(ct,"$1-$2")}var dt=function(){function e(e,t){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ge(r)&&!ve(r))return!1}return!0}(e),this.componentId=t,this.baseHash=We(t),Ve.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId;if(this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))return this.staticRulesId;var o=rt(this.rules,e,t).join(""),a=ut(Be(this.baseHash,o.length)>>>0);if(!t.hasNameForId(n,a)){var i=r(o,"."+a,void 0,n);t.insertRules(n,a,i)}return this.staticRulesId=a,a}for(var s=this.rules.length,c=Be(this.baseHash,r.hash),l="",u=0;u<s;u++){var d=this.rules[u];if("string"==typeof d)l+=d,"production"!==process.env.NODE_ENV&&(c=Be(c,d+u));else{var p=rt(d,e,t),f=Array.isArray(p)?p.join(""):p;c=Be(c,f+u),l+=f}}var h=ut(c>>>0);if(!t.hasNameForId(n,h)){var m=r(l,"."+h,void 0,n);t.insertRules(n,h,m)}return h},e}(),pt=/invalid hook call/i,ft=new Set,ht=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,mt=/(^-|-$)/g;function gt(e){return e.replace(ht,"-").replace(mt,"")}function yt(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}function vt(e,t){return e&&t?e+" "+t:e||t}var bt=e.createContext(),wt=(bt.Consumer,{});function kt(e,t){var r="string"!=typeof e?"sc":gt(e);wt[r]=(wt[r]||0)+1;var n,o=r+"-"+(n=r+wt[r],ut(We(n)>>>0));return t?t+"-"+o:o}function St(e,t,r,a){var i=o(Ue)||Ye,s=o(qe)||Xe,c=e.isStatic&&!t,l=c?e.generateAndInjectStyles(me,i,s):e.generateAndInjectStyles(r,i,s);return n(l),"production"!==process.env.NODE_ENV&&!c&&a&&a(l),l}function Ct(e,t,a){var i=e.attrs,s=e.componentStyle,c=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,d=e.styledComponentId,p=e.target;n(d);var f=function(e,t,r){void 0===e&&(e=me);var n=de({},t,{theme:e}),o={};return r.forEach((function(e){var t,r=e;for(t in ge(r)&&(r=r(n)),r)n[t]=o[t]="className"===t?vt(o[t],r[t]):r[t]})),[n,o]}(function(e,t,r){return void 0===r&&(r=me),e.theme!==r.theme&&e.theme||t||r.theme}(t,o(bt),c)||me,t,i),h=f[0],m=f[1],g=St(s,i.length>0,h,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),y=a,v=m.$as||t.$as||m.as||t.as||p,b=yt(v),w=m!==t?de({},t,{},m):t,k=u||b&&J,S={};for(var C in w)"$"!==C[0]&&"as"!==C&&("forwardedAs"===C?S.as=w[C]:k&&!k(C,J)||(S[C]=w[C]));return t.style&&m.style!==t.style&&(S.style=de({},t.style,{},m.style)),S.className=Array.prototype.concat(l,d,g!==d?g:null,t.className,m.className).filter(Boolean).join(" "),S.ref=y,r(v,S)}function xt(r,n,o){var a=ve(r),i=!yt(r),s=n.displayName,c=void 0===s?function(e){return yt(e)?"styled."+e:"Styled("+ye(e)+")"}(r):s,l=n.componentId,u=void 0===l?kt(n.displayName,n.parentComponentId):l,d=n.attrs,p=void 0===d?he:d,f=n.displayName&&n.componentId?gt(n.displayName)+"-"+n.componentId:n.componentId||u,h=a&&r.attrs?Array.prototype.concat(r.attrs,p).filter(Boolean):p,m=n.shouldForwardProp;a&&r.shouldForwardProp&&(m=m?function(e,t){return r.shouldForwardProp(e,t)&&n.shouldForwardProp(e,t)}:r.shouldForwardProp);var g,y=new dt(a?r.componentStyle.rules.concat(o):o,f),v=function(e,t){return Ct(g,e,t)};return v.displayName=c,(g=e.forwardRef(v)).attrs=h,g.componentStyle=y,g.displayName=c,g.shouldForwardProp=m,g.foldedComponentIds=a?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):he,g.styledComponentId=f,g.target=a?r.target:r,g.withComponent=function(e){var t=n.componentId,r=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(n,["componentId"]),a=t&&t+"-"+(yt(e)?e:gt(ye(e)));return xt(e,de({},r,{attrs:h,componentId:a}),o)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?st({},r.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(!function(e,r){if("production"!==process.env.NODE_ENV){var n="The component "+e+(r?' with the id of "'+r+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.";try{t(),ft.has(n)||(console.warn(n),ft.add(n))}catch(e){pt.test(e.message)&&ft.delete(n)}}}(c,f),g.warnTooManyClasses=function(e,t){var r={},n=!1;return function(o){if(!n&&(r[o]=!0,Object.keys(r).length>=200)){var a=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+a+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),n=!0,r={}}}}(c,f)),g.toString=function(){return"."+g.styledComponentId},i&&ue(g,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var At=function(e){return function e(t,r,n){if(void 0===n&&(n=me),!U(r))return xe(1,String(r));var o=function(){return t(r,n,nt.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,de({},n,{},o))},o.attrs=function(o){return e(t,r,de({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(xt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){At[e]=At(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles not rendering properly, errors happening during rehydration process, missing theme prop, and makes your application bigger without a good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var Et=At.div((function(e){var t=e.width,r=e.height,n=e.disabled,o=e.open,a=e.dropdownFocused;return{backgroundColor:n?f.light:f.lightest,border:"2px solid "+(o||a?h.focused:f.dark),borderRadius:"7",cursor:n?"not-allowed":"pointer",display:"flex",flexDirection:"column",fontSize:"1em",height:r,position:"relative",width:t,"&:hover":{border:"2px solid "+(o||a?h.focused:f.darker)},"&:disabled":{backgroundColor:h.disabled,cursor:"unset"}}})),Ot=At.div((function(e){var t=e.searchable;return{alignItems:"center",boxSizing:"border-box",cursor:e.open&&t?"text":"inherit",display:"flex",height:"32px",padding:"0 11px",position:"relative",width:"100%",input:{backgroundColor:"inherit",border:"none",fontSize:"inherit",height:"30px",outline:"none",width:"100%"}}})),Nt=At.span((function(){return{bottom:0,left:"11px",position:"absolute",right:"25px",top:0}})),Pt={bottom:0,left:"11px",lineHeight:"30px",overflow:"hidden",position:"absolute",right:"25px",textOverflow:"ellipsis",top:0,whiteSpace:"nowrap"},Rt=At.span((function(e){return d({textAlign:e.centerText?"center":"left",color:e.value&&!e.open?"black":f.base},Pt)})),_t=At.span((function(e){var t=e.centerText;return d({color:f.base,textAlign:t?"center":"left"},Pt)})),Tt=At.div((function(){return{alignItems:"center",bottom:0,color:f.base,display:"flex",position:"absolute",right:"10px",top:0}})),It=At.span((function(e){var t=e.openUp,r=e.maxContentHeight,n=e.open;return{backgroundColor:"#ffffff",border:"2px solid "+f.darker,borderRadius:"4px",bottom:t?"105%":void 0,boxShadow:"0px "+(t?"-4px":"4px")+" 4px rgba(0, 0, 0, 0.25)",boxSizing:"border-box",color:"black",display:n?"block":"none",left:"0",listStyleType:"none",margin:"0",maxHeight:r||"175px",overflowX:"hidden",overflowY:"auto",padding:"2px 0",position:"absolute",top:t?void 0:"100%",width:"100%",zIndex:9999,".dropdown-selector-content--empty":{alignItems:"center",color:f.base,display:"flex",flexDirection:"column",justifyContent:"center",padding:"4px 0"},"&::-webkit-scrollbar":{width:"5px"},"&::-webkit-scrollbar-track":{background:"#ddd"},"&::-webkit-scrollbar-thumb":{background:"#666"}}})),$t=At.div((function(){return{padding:"1em 0 0 0"}})),Dt=At.div((function(){return{color:"grey",display:"flex",flexDirection:"row",fontSize:"0.9em",padding:"0 10px 3px 5px"}})),jt=At.div((function(){return{borderBottom:"1px solid "+f.dark,margin:"auto",paddingTop:10,width:"85%"}})),Mt=At.div((function(e){var t=e.selected,r=e.focused,n=f.lightest,o="inherit";return r&&t?(n=f.dark,o=f.lightest):r?n=f.lighter:t&&(n=f.light),{backgroundColor:n,border:"none",color:o,cursor:"pointer",fontSize:"0.95em",overflow:"hidden",padding:"5px 10px",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",display:"flex",alignItems:"center","&:hover":{backgroundColor:t?f.dark:f.light,color:t?f.lightest:void 0},".option-icon":{paddingRight:"5px"}}})),zt=e.memo((function(t){var r=t.onOptionClicked,n=t.option,o=t.optionClass,i=t.itemRenderer,s=t.index,c=t.selected,l=t.focused,u=a((function(e){e.stopPropagation(),r(n,!0)}),[r,n]),d=e.createElement(e.Fragment,null,n.iconClass&&e.createElement("i",{className:n.iconClass+" dropdown-option-icon"}),n.value);return i&&(d=i(t,s)),e.createElement(Mt,{"aria-label":n.ariaLabel,"aria-selected":c,className:v("dropdown-option",o,{selected:c,focused:l}),onClick:u,title:n.title,selected:c,focused:l},d)})),Ft=function(t){var r=t.children,n=t.className,o=t.dim,a=void 0===o?24:o;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather "+n},r)},Lt=function(){return e.createElement(Ft,{className:"feather-inbox"},e.createElement("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),e.createElement("path",{d:"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}))},Gt=function(){return e.createElement(Ft,{className:"feather-chevron-down",dim:16},e.createElement("polyline",{points:"6 9 12 15 18 9"}))},Vt=function(){return e.createElement(Ft,{className:"feather-search",dim:16},e.createElement("circle",{cx:"11",cy:"11",r:"8"}),e.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))};function Bt(t){var r=t.selectedOption,n=t.options,o=t.focusedIndex,a=t.onOptionClicked,i=t.optionItemRenderer;if(t.empty)return e.createElement("div",{className:"dropdown-selector-content--empty"},e.createElement(Lt,null),"No data");var s=i?function(e,t){return i(e,t)}:void 0,c=0,l=n.map((function(t){if(m(t)){var n=t.groupOptions,i=t.label,l=n.map((function(t){var n=t.value===r,i=c===o;return c+=1,e.createElement(zt,{key:t.value,optionClass:t.className,onOptionClicked:a,option:t,itemRenderer:s,index:c-1,selected:n,focused:i})}));return l.length?e.createElement($t,{key:t.label},e.createElement(Dt,null,e.createElement("span",null,i.toUpperCase()," |  "),e.createElement("span",null,n.length)),l,e.createElement(jt,null)):null}var u=t.value,d=t.className,p=c===o,f=u===r;return c+=1,e.createElement(zt,{key:u,optionClass:d,onOptionClicked:a,option:t,itemRenderer:s,index:c-1,selected:f,focused:p})}));return e.createElement(e.Fragment,null,l)}var Wt={height:0,width:0,overflow:"hidden"},Ht=function(t,r,n){var o=t.map((function(t,o){return e.createElement("div",{role:"option",id:n+"_list_"+o,key:n+"_list_"+o,"aria-selected":o===r,"aria-label":t.value})}));return e.createElement("div",{role:"listbox",id:n+"_list",style:Wt},o)},Ut=function(e,t,r){var n=i(""),o=n[0],c=n[1],l=s((function(){return r&&o.trim()?function(e,t){for(var r=[],n=t.toLowerCase(),o=0,a=e;o<a.length;o++){var i=a[o];if(m(i)){var s=y(i,n);s.groupOptions.length>=0&&r.push(s)}else i.value.toLowerCase().includes(n)&&r.push(i)}return r}(t,o):t}),[t,o]),u=a((function(t,r){void 0===r&&(r=!0),c(t),r&&e(0)}),[e,c]);return{searchTerm:o,setSearchTerm:u,filteredOptions:l}},qt=function(e,r){var n=e.options,o=e.searchable,l=e.onChange,u=e.disabled,d=e.ariaDescribedBy,p=e.ariaLabel,f=e.ariaLabelledBy,h=e.value,m=e.defaultOpen,y=i(0),v=y[0],b=y[1],w=i(m),k=w[0],S=w[1],C=t(null),x=t(null),A=t(null),E=i(!1),O=E[0],N=E[1],P=Ut(b,n,o),R=P.searchTerm,_=P.setSearchTerm,T=P.filteredOptions,I=s((function(){return T.reduce(g,[])}),[T]),$=s((function(){return I.map((function(e){return e.value})).indexOf(h)}),[I,h]),D=a((function(e){void 0===e&&(e=!1),_("",!1),S(!1),e&&x.current&&x.current.focus()}),[x.current,_,S]),j=a((function(){b($>0?$:0),S(!0)}),[S,b,$]),M=a((function(e,t){void 0===t&&(t=!1),e&&(l(e),_("",!1)),t&&D(!0)}),[l,D,_]);!function(e,t){var r=function(r){t.current&&!t.current.contains(r.target)&&e()};c((function(){return document.addEventListener("mouseup",r,!1),document.addEventListener("touchend",r,!1),function(){document.removeEventListener("mouseup",r),document.removeEventListener("touchend",r)}}),[])}(D,C),function(e,t){c((function(){if(t.current&&e>=0){var r=t.current.getElementsByClassName("dropdown-option"),n=r&&r.length?r[e]:null;if(n&&n.getBoundingClientRect){var o=n.getBoundingClientRect().height,a=t.current.getBoundingClientRect().height,i=t.current.scrollTop,s=n.offsetTop<=i;n.offsetTop>=i&&n.offsetTop+o<=i+a||(s?t.current.scrollTo({top:n.offsetTop}):t.current.scrollTo({top:n.offsetTop-a+o+8}))}}}),[e])}(v,A);var z=s((function(){return{"aria-hidden":u,"aria-expanded":k,"aria-haspopup":"listbox","aria-activedescendant":r+"_list_"+v,"aria-controls":r+"_list","aria-label":p,"aria-labelledby":f,"aria-describedby":d}}),[u,k,r,v,p,f,d]);return{focusedIndex:v,setFocusedIndex:b,open:k,setOpen:S,searchTerm:R,setSearchTerm:_,dropdownFocused:O,setDropdownFocused:N,setValue:M,filteredOptions:T,openDropdown:j,closeDropdown:D,flattenedOptions:I,container:C,inputRef:x,listWrapper:A,ariaProps:z,ariaList:Ht(I,$,r)}},Yt="undefined"!=typeof window&&window.document&&window.document.documentElement,Xt="test"!==process.env.NODE_ENV&&Yt,Kt=0,Zt=function(t){var r,n=t.arrowRenderer,o=t.contentClassName,i=t.className,c=t.disabled,l=t.hideArrow,f=t.id,h=t.optionItemRenderer,m=t.pageKeyTraverseSize,g=t.placeholder,y=t.searchable,b=t.value,w=t.selectedValueClassName,k=s((function(){return r||(Xt?(e=Kt,Kt+=1):e="test_or_ssr","react_dropdown_aria_"+e);var e}),[r=f]),S=qt(t,k),C=S.open,x=S.dropdownFocused,A=S.focusedIndex,E=S.setFocusedIndex,O=S.setDropdownFocused,N=S.setValue,P=S.openDropdown,R=S.closeDropdown,_=S.searchTerm,T=S.setSearchTerm,I=S.filteredOptions,$=S.flattenedOptions,D=S.container,j=S.inputRef,M=S.listWrapper,z=S.ariaProps,F=S.ariaList,L=a((function(){j.current&&j.current.focus()}),[j.current]),G=a((function(){L(),c||C&&y||(C?R(!0):P())}),[C,c,y,R,P]),V=a((function(e){switch(e){case u.UP_ARROW:E((function(e){return 0===e?$.length-1:e-1}));break;case u.DOWN_ARROW:E((function(e){return(e+1)%$.length}));break;case u.PAGE_UP:E((function(e){return e-m<0&&0!==e?0:e-m<0?$.length-1:e-m}));break;case u.PAGE_DOWN:E((function(e){return e===$.length-1?0:e+m>$.length-1?$.length-1:(e+m)%$.length}));break;case u.ESCAPE:R(!0)}}),[E,$,m,R]),B=a((function(e){var t=e.keyCode;-1!==p.indexOf(t)?(e.preventDefault(),e.stopPropagation(),V(t)):t!==u.ENTER&&(t!==u.SPACE||y)||C?t!==u.TAB||y?(t===u.TAB||t===u.ENTER)&&$.length>0&&A>=0&&C&&(e.stopPropagation(),e.preventDefault(),N($[A],!0)):R():(e.preventDefault(),P())}),[$,N,A,C,V,P,y,R]),W=a((function(e){T(e.target.value)}),[T]),H=a((function(){return O(!0)}),[O]),U=a((function(){return O(!1)}),[O]),q=s((function(){if(l)return null;if(n)return e.createElement(Tt,{className:"dropdown-arrow"},n(C));var t=C&&y;return e.createElement(Tt,{className:"dropdown-arrow"},t&&e.createElement(Vt,null),!t&&e.createElement(Gt,null))}),[C,n,y,l]);return e.createElement(Et,{ref:D,onFocus:L,onClick:G,role:"button",width:t.width,height:t.height,disabled:c,open:C,dropdownFocused:x,className:v("dropdown",i)},e.createElement(Ot,{className:"dropdown-selector",open:C,searchable:t.searchable},e.createElement(Nt,{className:"dropdown-selector-search"},e.createElement("input",d({id:k,ref:j,value:_,onChange:W,onKeyDown:B,onFocus:H,onBlur:U,readOnly:!C||!y,disabled:c,autoComplete:"off",role:"combobox"},z))),!b&&!_&&e.createElement(_t,{className:"dropdown-selector-placeholder",centerText:t.centerText},g),b&&!_&&e.createElement(Rt,{className:v("dropdown-selector-value",w),centerText:t.centerText,value:b,open:C},b),q),F,e.createElement(It,{maxContentHeight:t.maxContentHeight,openUp:t.openUp,open:C,className:v("dropdown-selector-content",o),ref:M},e.createElement(Bt,{selectedOption:b,options:I,focusedIndex:A,onOptionClicked:N,optionItemRenderer:h,empty:0===$.length})))};Zt.defaultProps={ariaDescribedBy:null,ariaLabel:null,ariaLabelledBy:null,arrowRenderer:void 0,centerText:!1,className:void 0,contentClassName:null,defaultOpen:!1,disabled:!1,height:null,hideArrow:!1,id:null,maxContentHeight:150,openUp:!1,optionItemRenderer:void 0,pageKeyTraverseSize:10,placeholder:"Select ...",searchable:!1,selectedValueClassName:null,style:{},value:void 0,width:null};export default Zt;export{l as StyleKeys};
//# sourceMappingURL=index.es.js.map

@@ -23,3 +23,3 @@ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("stream");var r,n,o=t(e),a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};

* LICENSE file in the root directory of this source tree.
*/}var h="function"==typeof Symbol&&Symbol.for,m=h?Symbol.for("react.element"):60103,g=h?Symbol.for("react.portal"):60106,y=h?Symbol.for("react.fragment"):60107,v=h?Symbol.for("react.strict_mode"):60108,b=h?Symbol.for("react.profiler"):60114,w=h?Symbol.for("react.provider"):60109,k=h?Symbol.for("react.context"):60110,C=h?Symbol.for("react.async_mode"):60111,S=h?Symbol.for("react.concurrent_mode"):60111,x=h?Symbol.for("react.forward_ref"):60112,A=h?Symbol.for("react.suspense"):60113,E=h?Symbol.for("react.suspense_list"):60120,O=h?Symbol.for("react.memo"):60115,N=h?Symbol.for("react.lazy"):60116,P=h?Symbol.for("react.block"):60121,R=h?Symbol.for("react.fundamental"):60117,_=h?Symbol.for("react.responder"):60118,T=h?Symbol.for("react.scope"):60119;function I(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case m:switch(e=e.type){case C:case S:case y:case b:case v:case A:return e;default:switch(e=e&&e.$$typeof){case k:case x:case N:case O:case w:return e;default:return t}}case g:return t}}}function $(e){return I(e)===S}var D={AsyncMode:C,ConcurrentMode:S,ContextConsumer:k,ContextProvider:w,Element:m,ForwardRef:x,Fragment:y,Lazy:N,Memo:O,Portal:g,Profiler:b,StrictMode:v,Suspense:A,isAsyncMode:function(e){return $(e)||I(e)===C},isConcurrentMode:$,isContextConsumer:function(e){return I(e)===k},isContextProvider:function(e){return I(e)===w},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===m},isForwardRef:function(e){return I(e)===x},isFragment:function(e){return I(e)===y},isLazy:function(e){return I(e)===N},isMemo:function(e){return I(e)===O},isPortal:function(e){return I(e)===g},isProfiler:function(e){return I(e)===b},isStrictMode:function(e){return I(e)===v},isSuspense:function(e){return I(e)===A},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===y||e===S||e===b||e===v||e===A||e===E||"object"==typeof e&&null!==e&&(e.$$typeof===N||e.$$typeof===O||e.$$typeof===w||e.$$typeof===k||e.$$typeof===x||e.$$typeof===R||e.$$typeof===_||e.$$typeof===T||e.$$typeof===P)},typeOf:I},M=f((function(e,t){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=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,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var f=e.type;switch(f){case l:case u:case o:case i:case a:case p:return f;default:var g=f&&f.$$typeof;switch(g){case c:case d:case m:case h:case s:return g;default:return t}}case n:return t}}}var k=l,C=u,S=c,x=s,A=r,E=d,O=o,N=m,P=h,R=n,_=i,T=a,I=p,$=!1;function D(e){return w(e)===u}t.AsyncMode=k,t.ConcurrentMode=C,t.ContextConsumer=S,t.ContextProvider=x,t.Element=A,t.ForwardRef=E,t.Fragment=O,t.Lazy=N,t.Memo=P,t.Portal=R,t.Profiler=_,t.StrictMode=T,t.Suspense=I,t.isAsyncMode=function(e){return $||($=!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.")),D(e)||w(e)===l},t.isConcurrentMode=D,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===i},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===i||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},t.typeOf=w}()})),j=(M.AsyncMode,M.ConcurrentMode,M.ContextConsumer,M.ContextProvider,M.Element,M.ForwardRef,M.Fragment,M.Lazy,M.Memo,M.Portal,M.Profiler,M.StrictMode,M.Suspense,M.isAsyncMode,M.isConcurrentMode,M.isContextConsumer,M.isContextProvider,M.isElement,M.isForwardRef,M.isFragment,M.isLazy,M.isMemo,M.isPortal,M.isProfiler,M.isStrictMode,M.isSuspense,M.isValidElementType,M.typeOf,f((function(e){"production"===process.env.NODE_ENV?e.exports=D:e.exports=M}))),z=j.typeOf,F=j.isElement,L=j.isValidElementType;function V(e){function t(e,t,n){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=r(e[l]+" ",o[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var i=e+";",s=2*t+3*r+4*a;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(A,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(b,"tb");break;case 232:c=i.replace(b,"tb-rl");break;case 220:c=i.replace(b,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+a&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+i}return i}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(S,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function i(e,t,r,n,o,a,i,s,l,u){for(var d,p=0,f=t;p<T;++p)switch(d=_[p].call(c,e,f,r,n,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function s(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),s}function c(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<T){var c=i(-1,r,s,s,O,E,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var d=function e(r,s,c,d,p){for(var f,h,m,b,k,C=0,S=0,x=0,A=0,_=0,I=0,D=m=f=0,M=0,j=0,z=0,F=0,L=c.length,V=L-1,G="",B="",W="",H="";M<L;){if(h=c.charCodeAt(M),M===V&&0!==S+A+x+C&&(0!==S&&(h=47===S?10:47),A=x=C=0,L++,V++),0===S+A+x+C){if(M===V&&(0<j&&(G=G.replace(u,"")),0<G.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(M)}h=59}switch(h){case 123:for(f=(G=G.trim()).charCodeAt(0),m=1,F=++M;M<L;){switch(h=c.charCodeAt(M)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(M+1)){case 42:case 47:e:{for(D=M+1;D<V;++D)switch(c.charCodeAt(D)){case 47:if(42===h&&42===c.charCodeAt(D-1)&&M+2!==D){M=D+1;break e}break;case 10:if(47===h){M=D+1;break e}}M=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;M++<V&&c.charCodeAt(M)!==h;);}if(0===m)break;M++}switch(m=c.substring(F,M),0===f&&(f=(G=G.replace(l,"").trim()).charCodeAt(0)),f){case 64:switch(0<j&&(G=G.replace(u,"")),h=G.charCodeAt(1)){case 100:case 109:case 115:case 45:j=s;break;default:j=R}if(F=(m=e(s,j,m,h,p+1)).length,0<T&&(k=i(3,m,j=t(R,G,z),s,O,E,F,h,p,d),G=j.join(""),void 0!==k&&0===(F=(m=k.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:G=G.replace(w,a);case 100:case 109:case 45:m=G+"{"+m+"}";break;case 107:m=(G=G.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=G+m,112===d&&(B+=m,m="")}else m="";break;default:m=e(s,t(s,G,z),m,d,p+1)}W+=m,m=z=j=D=f=0,G="",h=c.charCodeAt(++M);break;case 125:case 59:if(1<(F=(G=(0<j?G.replace(u,""):G).trim()).length))switch(0===D&&(f=G.charCodeAt(0),45===f||96<f&&123>f)&&(F=(G=G.replace(" ",":")).length),0<T&&void 0!==(k=i(1,G,s,r,O,E,B.length,d,p,d))&&0===(F=(G=k.trim()).length)&&(G="\0\0"),f=G.charCodeAt(0),h=G.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){H+=G+c.charAt(M);break}default:58!==G.charCodeAt(F-1)&&(B+=n(G,f,h,G.charCodeAt(2)))}z=j=D=f=0,G="",h=c.charCodeAt(++M)}}switch(h){case 13:case 10:47===S?S=0:0===1+f&&107!==d&&0<G.length&&(j=1,G+="\0"),0<T*$&&i(0,G,s,r,O,E,B.length,d,p,d),E=1,O++;break;case 59:case 125:if(0===S+A+x+C){E++;break}default:switch(E++,b=c.charAt(M),h){case 9:case 32:if(0===A+C+S)switch(_){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===A+S+C&&(j=z=1,b="\f"+b);break;case 108:if(0===A+S+C+N&&0<D)switch(M-D){case 2:112===_&&58===c.charCodeAt(M-3)&&(N=_);case 8:111===I&&(N=I)}break;case 58:0===A+S+C&&(D=M);break;case 44:0===S+x+A+C&&(j=1,b+="\r");break;case 34:case 39:0===S&&(A=A===h?0:0===A?h:A);break;case 91:0===A+S+x&&C++;break;case 93:0===A+S+x&&C--;break;case 41:0===A+S+C&&x--;break;case 40:if(0===A+S+C){if(0===f)switch(2*_+3*I){case 533:break;default:f=1}x++}break;case 64:0===S+x+A+C+D+m&&(m=1);break;case 42:case 47:if(!(0<A+C+x))switch(S){case 0:switch(2*h+3*c.charCodeAt(M+1)){case 235:S=47;break;case 220:F=M,S=42}break;case 42:47===h&&42===_&&F+2!==M&&(33===c.charCodeAt(F+2)&&(B+=c.substring(F,M+1)),b="",S=0)}}0===S&&(G+=b)}I=_,_=h,M++}if(0<(F=B.length)){if(j=s,0<T&&(void 0!==(k=i(2,B,j,r,O,E,F,d,p,d))&&0===(B=k).length))return H+B+W;if(B=j.join(",")+"{"+B+"}",0!=P*N){switch(2!==P||o(B,2)||(N=0),N){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(y,"::-webkit-input-$1")+B.replace(y,"::-moz-$1")+B.replace(y,":-ms-input-$1")+B}N=0}}return H+B+W}(R,s,r,0,0);return 0<T&&(void 0!==(c=i(-2,d,s,s,O,E,d.length,0,0,0))&&(d=c)),"",N=0,E=O=1,d}var l=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,C=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,E=1,O=1,N=0,P=1,R=[],_=[],T=0,I=null,$=0;return c.use=function e(t){switch(t){case void 0:case null:T=_.length=0;break;default:if("function"==typeof t)_[T++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else $=0|!!t}return e},c.set=s,void 0!==e&&s(e),c}var G={animationIterationCount: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};var B,W,H=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,U=(B=function(e){return H.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91},W={},function(e){return void 0===W[e]&&(W[e]=B(e)),W[e]}),q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Y={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},X={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},K={};function Z(e){return j.isMemo(e)?X:K[e.$$typeof]||q}K[j.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},K[j.Memo]=X;var J=Object.defineProperty,Q=Object.getOwnPropertyNames,ee=Object.getOwnPropertySymbols,te=Object.getOwnPropertyDescriptor,re=Object.getPrototypeOf,ne=Object.prototype;var oe=function e(t,r,n){if("string"!=typeof r){if(ne){var o=re(r);o&&o!==ne&&e(t,o,n)}var a=Q(r);ee&&(a=a.concat(ee(r)));for(var i=Z(t),s=Z(r),c=0;c<a.length;++c){var l=a[c];if(!(Y[l]||n&&n[l]||s&&s[l]||i&&i[l])){var u=te(r,l);try{J(t,l,u)}catch(e){}}}}return t};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ie=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},se=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!z(e)},ce=Object.freeze([]),le=Object.freeze({});function ue(e){return"function"==typeof e}function de(e){return"production"!==process.env.NODE_ENV&&("string"==typeof e&&e)||e.displayName||e.name||"Component"}function pe(e){return e&&"string"==typeof e.styledComponentId}var fe="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",he="undefined"!=typeof window&&"HTMLElement"in window,me="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||"production"!==process.env.NODE_ENV,ge="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function ye(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],r=1,n=arguments.length;r<n;r+=1)t.push(r<0||arguments.length<=r?void 0:arguments[r]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t)})),e}function ve(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+e+" for more information."+(r.length>0?" Additional arguments: "+r.join(", "):"")):new Error(ye.apply(void 0,[ge[e]].concat(r)).trim())}var be=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(fe))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(fe,"active"),n.setAttribute("data-styled-version","5.1.1");var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},we=function(){function e(e){var t=this.element=be(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}ve(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),ke=function(){function e(e){var t=this.element=be(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ce=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Se=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&ve(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),xe=new Map,Ae=new Map,Ee=1,Oe=function(e){if(xe.has(e))return xe.get(e);var t=Ee++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&ve(16,""+t),xe.set(e,t),Ae.set(t,e),t},Ne=function(e){return Ae.get(e)},Pe=function(e,t){t>=Ee&&(Ee=t+1),xe.set(e,t),Ae.set(t,e)},Re="style["+fe+'][data-styled-version="5.1.1"]',_e=new RegExp("^"+fe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Te=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},Ie=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(_e);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(Pe(l,c),Te(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},$e=he,De={isServer:!he,useCSSOMInjection:!me},Me=function(){function e(e,t,r){void 0===e&&(e=De),void 0===t&&(t={}),this.options=ae({},De,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&he&&$e&&($e=!1,function(e){for(var t=document.querySelectorAll(Re),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(fe)&&(Ie(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Oe(e)};var t=e.prototype;return t.reconstructWithOptions=function(t){return new e(ae({},this.options,{},t),this.gs,this.names)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(t=this.options,r=t.isServer,n=t.useCSSOMInjection,o=t.target,e=r?new Ce(o):n?new we(o):new ke(o),new Se(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Oe(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Oe(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Oe(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=Ne(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(void 0!==i&&0!==s.length){var c=fe+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),je=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ze=function(e){return je(5381,e)};var Fe=/^\s*\/\/.*$/gm;var Le=o.default.createContext(),Ve=(Le.Consumer,o.default.createContext()),Ge=(Ve.Consumer,new Me),Be=function(e){var t,r,n,o=void 0===e?le:e,a=o.options,i=void 0===a?le:a,s=o.plugins,c=void 0===s?ce:s,l=new V(i),u=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){u.push(e)})),p=function(e,n,o){return n>0&&-1!==o.slice(0,n).indexOf(r)&&o.slice(n-r.length,n)!==r?"."+t:e};function f(e,o,a,i){void 0===i&&(i="&");var s=e.replace(Fe,""),c=o&&a?a+" "+o+" { "+s+" }":s;return t=i,r=o,n=new RegExp("\\"+r+"\\b","g"),l(a||!o?"":o,c)}return l.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},d,function(e){if(-2===e){var t=u;return u=[],t}}])),f.hash=c.length?c.reduce((function(e,t){return t.name||ve(15),je(e,t.name)}),5381).toString():"",f}();var We=function(){function e(e,t){var r=this;this.inject=function(e){e.hasNameForId(r.id,r.name)||e.insertRules(r.id,r.name,Be.apply(void 0,r.stringifyArgs))},this.toString=function(){return ve(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),He=/([A-Z])/g,Ue=/^ms-/;function qe(e){return e.replace(He,"-$1").toLowerCase().replace(Ue,"-ms-")}var Ye=function(e){return null==e||!1===e||""===e},Xe=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!Ye(t[r])){if(se(t[r]))return n.push.apply(n,e(t[r],r)),n;if(ue(t[r]))return n.push(qe(r)+":",t[r],";"),n;n.push(qe(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in G?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function Ke(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)""!==(n=Ke(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}if(Ye(e))return"";if(pe(e))return"."+e.styledComponentId;if(ue(e)){if("function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t)return e;var s=e(t);return"production"!==process.env.NODE_ENV&&F(s)&&console.warn(de(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."),Ke(s,t,r)}var c;return e instanceof We?r?(e.inject(r),e.getName()):e:se(e)?Xe(e):e.toString()}function Ze(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ue(e)||se(e)?Ke(ie(ce,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:Ke(ie(e,r))}var Je=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Qe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function et(e,t,r){var n=e[r];Je(t)&&Je(n)?tt(n,t):e[r]=t}function tt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(Je(i))for(var s in i)Qe(s)&&et(e,i[s],s)}return e}var rt=/(a)(d)/gi,nt=function(e){return String.fromCharCode(e+(e>25?39:97))};function ot(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=nt(t%52)+r;return(nt(t%52)+r).replace(rt,"$1-$2")}var at=function(){function e(e,t){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ue(r)&&!pe(r))return!1}return!0}(e),this.componentId=t,this.baseHash=ze(t),Me.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId;if(this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))return this.staticRulesId;var o=Ke(this.rules,e,t).join(""),a=ot(je(this.baseHash,o.length)>>>0);if(!t.hasNameForId(n,a)){var i=r(o,"."+a,void 0,n);t.insertRules(n,a,i)}return this.staticRulesId=a,a}for(var s=this.rules.length,c=je(this.baseHash,r.hash),l="",u=0;u<s;u++){var d=this.rules[u];if("string"==typeof d)l+=d,"production"!==process.env.NODE_ENV&&(c=je(c,d+u));else{var p=Ke(d,e,t),f=Array.isArray(p)?p.join(""):p;c=je(c,f+u),l+=f}}var h=ot(c>>>0);if(!t.hasNameForId(n,h)){var m=r(l,"."+h,void 0,n);t.insertRules(n,h,m)}return h},e}(),it=/invalid hook call/i,st=new Set,ct=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,lt=/(^-|-$)/g;function ut(e){return e.replace(ct,"-").replace(lt,"")}function dt(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}function pt(e,t){return e&&t?e+" "+t:e||t}var ft=o.default.createContext(),ht=(ft.Consumer,{});function mt(e,t){var r="string"!=typeof e?"sc":ut(e);ht[r]=(ht[r]||0)+1;var n,o=r+"-"+(n=r+ht[r],ot(ze(n)>>>0));return t?t+"-"+o:o}function gt(t,r,n,o){var a=e.useContext(Le)||Ge,i=e.useContext(Ve)||Be,s=t.isStatic&&!r,c=s?t.generateAndInjectStyles(le,a,i):t.generateAndInjectStyles(n,a,i);return e.useDebugValue(c),"production"!==process.env.NODE_ENV&&!s&&o&&o(c),c}function yt(t,r,n){var o=t.attrs,a=t.componentStyle,i=t.defaultProps,s=t.foldedComponentIds,c=t.shouldForwardProp,l=t.styledComponentId,u=t.target;e.useDebugValue(l);var d=function(e,t,r){void 0===e&&(e=le);var n=ae({},t,{theme:e}),o={};return r.forEach((function(e){var t,r=e;for(t in ue(r)&&(r=r(n)),r)n[t]=o[t]="className"===t?pt(o[t],r[t]):r[t]})),[n,o]}(function(e,t,r){return void 0===r&&(r=le),e.theme!==r.theme&&e.theme||t||r.theme}(r,e.useContext(ft),i)||le,r,o),p=d[0],f=d[1],h=gt(a,o.length>0,p,"production"!==process.env.NODE_ENV?t.warnTooManyClasses:void 0),m=n,g=f.$as||r.$as||f.as||r.as||u,y=dt(g),v=f!==r?ae({},r,{},f):r,b=c||y&&U,w={};for(var k in v)"$"!==k[0]&&"as"!==k&&("forwardedAs"===k?w.as=v[k]:b&&!b(k,U)||(w[k]=v[k]));return r.style&&f.style!==r.style&&(w.style=ae({},r.style,{},f.style)),w.className=Array.prototype.concat(s,l,h!==l?h:null,r.className,f.className).filter(Boolean).join(" "),w.ref=m,e.createElement(g,w)}function vt(t,r,n){var a=pe(t),i=!dt(t),s=r.displayName,c=void 0===s?function(e){return dt(e)?"styled."+e:"Styled("+de(e)+")"}(t):s,l=r.componentId,u=void 0===l?mt(r.displayName,r.parentComponentId):l,d=r.attrs,p=void 0===d?ce:d,f=r.displayName&&r.componentId?ut(r.displayName)+"-"+r.componentId:r.componentId||u,h=a&&t.attrs?Array.prototype.concat(t.attrs,p).filter(Boolean):p,m=r.shouldForwardProp;a&&t.shouldForwardProp&&(m=m?function(e,n){return t.shouldForwardProp(e,n)&&r.shouldForwardProp(e,n)}:t.shouldForwardProp);var g,y=new at(a?t.componentStyle.rules.concat(n):n,f),v=function(e,t){return yt(g,e,t)};return v.displayName=c,(g=o.default.forwardRef(v)).attrs=h,g.componentStyle=y,g.displayName=c,g.shouldForwardProp=m,g.foldedComponentIds=a?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):ce,g.styledComponentId=f,g.target=a?t.target:t,g.withComponent=function(e){var t=r.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["componentId"]),a=t&&t+"-"+(dt(e)?e:ut(de(e)));return vt(e,ae({},o,{attrs:h,componentId:a}),n)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?tt({},t.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(!function(t,r){if("production"!==process.env.NODE_ENV){var n="The component "+t+(r?' with the id of "'+r+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.";try{e.useRef(),st.has(n)||(console.warn(n),st.add(n))}catch(e){it.test(e.message)&&st.delete(n)}}}(c,f),g.warnTooManyClasses=function(e,t){var r={},n=!1;return function(o){if(!n&&(r[o]=!0,Object.keys(r).length>=200)){var a=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+a+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),n=!0,r={}}}}(c,f)),g.toString=function(){return"."+g.styledComponentId},i&&oe(g,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var bt=function(e){return function e(t,r,n){if(void 0===n&&(n=le),!L(r))return ve(1,String(r));var o=function(){return t(r,n,Ze.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,ae({},n,{},o))},o.attrs=function(o){return e(t,r,ae({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(vt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){bt[e]=bt(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles not rendering properly, errors happening during rehydration process, missing theme prop, and makes your application bigger without a good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var wt=bt.div((function(e){var t=e.width,r=e.height,n=e.disabled,o=e.open,a=e.dropdownFocused;return{backgroundColor:n?s.light:s.lightest,border:"2px solid "+(o||a?c.focused:s.dark),borderRadius:"7",cursor:n?"not-allowed":"pointer",display:"flex",flexDirection:"column",fontSize:"1em",height:r,position:"relative",width:t,"&:hover":{border:"2px solid "+(o||a?c.focused:s.darker)},"&:disabled":{backgroundColor:c.disabled,cursor:"unset"}}})),kt=bt.div((function(e){var t=e.searchable;return{alignItems:"center",boxSizing:"border-box",cursor:e.open&&t?"text":"inherit",display:"flex",height:"32px",padding:"0 11px",position:"relative",width:"100%",input:{backgroundColor:"inherit",border:"none",fontSize:"inherit",height:"30px",outline:"none",width:"100%"}}})),Ct=bt.span((function(){return{bottom:0,left:"11px",position:"absolute",right:"25px",top:0}})),St={bottom:0,left:"11px",lineHeight:"30px",overflow:"hidden",position:"absolute",right:"25px",textOverflow:"ellipsis",top:0,whiteSpace:"nowrap"},xt=bt.span((function(e){return a({textAlign:e.centerText?"center":"left",color:e.value&&!e.open?"black":s.base},St)})),At=bt.span((function(e){var t=e.centerText;return a({color:s.base,textAlign:t?"center":"left"},St)})),Et=bt.div((function(){return{alignItems:"center",bottom:0,color:s.base,display:"flex",position:"absolute",right:"10px",top:0}})),Ot=bt.span((function(e){var t=e.openUp,r=e.maxContentHeight,n=e.open;return{backgroundColor:s.lightest,border:"2px solid "+s.darker,borderRadius:"4px",bottom:t?"105%":void 0,boxShadow:"0px "+(t?"-4px":"4px")+" 4px rgba(0, 0, 0, 0.25)",boxSizing:"border-box",color:"black",display:n?"block":"none",left:"0",listStyleType:"none",margin:"0",maxHeight:r||"175px",overflowX:"hidden",overflowY:"auto",padding:"2px 0",position:"absolute",top:t?void 0:"100%",width:"100%",zIndex:9999,".dropdown-selector-content--empty":{alignItems:"center",color:s.base,display:"flex",flexDirection:"column",justifyContent:"center",padding:"4px 0"},"&::-webkit-scrollbar":{width:"5px"},"&::-webkit-scrollbar-track":{background:"#ddd"},"&::-webkit-scrollbar-thumb":{background:"#666"}}})),Nt=bt.div((function(){return{padding:"1em 0 0 0"}})),Pt=bt.div((function(){return{color:"grey",display:"flex",flexDirection:"row",fontSize:"0.9em",padding:"0 10px 3px 5px"}})),Rt=bt.div((function(){return{borderBottom:"1px solid "+s.dark,margin:"auto",paddingTop:10,width:"85%"}})),_t=bt.div((function(e){var t=e.selected,r=e.focused,n=s.lightest,o="inherit";return r&&t?(n=s.dark,o=s.lightest):r?n=s.lighter:t&&(n=s.light),{backgroundColor:n,border:"none",color:o,cursor:"pointer",fontSize:"0.95em",overflow:"hidden",padding:"5px 10px",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",display:"flex",alignItems:"center","&:hover":{backgroundColor:t?s.dark:s.light,color:t?s.lightest:void 0},".option-icon":{paddingRight:"5px"}}})),Tt=o.default.memo((function(t){var r=t.onOptionClicked,n=t.option,a=t.optionClass,i=t.itemRenderer,s=t.index,c=t.selected,l=t.focused,u=e.useCallback((function(e){e.stopPropagation(),r(n,!0)}),[r,n]),d=o.default.createElement(o.default.Fragment,null,n.iconClass&&o.default.createElement("i",{className:n.iconClass+" dropdown-option-icon"}),n.value);return i&&(d=i(t,s)),o.default.createElement(_t,{"aria-label":n.ariaLabel,"aria-selected":c,className:p("dropdown-option",a,{selected:c,focused:l}),onClick:u,title:n.title,selected:c,focused:l},d)})),It=function(e){var t=e.children,r=e.className,n=e.dim,a=void 0===n?24:n;return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather "+r},t)},$t=function(){return o.default.createElement(It,{className:"feather-inbox"},o.default.createElement("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),o.default.createElement("path",{d:"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}))},Dt=function(){return o.default.createElement(It,{className:"feather-chevron-down",dim:16},o.default.createElement("polyline",{points:"6 9 12 15 18 9"}))},Mt=function(){return o.default.createElement(It,{className:"feather-search",dim:16},o.default.createElement("circle",{cx:"11",cy:"11",r:"8"}),o.default.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))};function jt(e){var t=e.selectedOption,r=e.options,n=e.focusedIndex,a=e.onOptionClicked,i=e.optionItemRenderer;if(e.empty)return o.default.createElement("div",{className:"dropdown-selector-content--empty"},o.default.createElement($t,null),"No data");var s=i?function(e,t){return i(e,t)}:void 0,c=0,u=r.map((function(e){if(l(e)){var r=e.groupOptions,i=e.label,u=r.map((function(e){var r=e.value===t,i=c===n;return c+=1,o.default.createElement(Tt,{key:e.value,optionClass:e.className,onOptionClicked:a,option:e,itemRenderer:s,index:c-1,selected:r,focused:i})}));return u.length?o.default.createElement(Nt,{key:e.label},o.default.createElement(Pt,null,o.default.createElement("span",null,i.toUpperCase()," |  "),o.default.createElement("span",null,r.length)),u,o.default.createElement(Rt,null)):null}var d=e.value,p=e.className,f=c===n,h=d===t;return c+=1,o.default.createElement(Tt,{key:d,optionClass:p,onOptionClicked:a,option:e,itemRenderer:s,index:c-1,selected:h,focused:f})}));return o.default.createElement(o.default.Fragment,null,u)}var zt={height:0,width:0,overflow:"hidden"},Ft=function(e,t,r){var n=e.map((function(e,n){return o.default.createElement("div",{role:"option",id:r+"_list_"+n,key:r+"_list_"+n,"aria-selected":n===t,"aria-label":e.value})}));return o.default.createElement("div",{role:"listbox",id:r+"_list",style:zt},n)},Lt=function(t,r,n){var o=e.useState(""),a=o[0],i=o[1],s=e.useMemo((function(){return n&&a.trim()?function(e,t){for(var r=[],n=t.toLowerCase(),o=0,a=e;o<a.length;o++){var i=a[o];if(l(i)){var s=d(i,n);s.groupOptions.length>=0&&r.push(s)}else i.value.toLowerCase().includes(n)&&r.push(i)}return r}(r,a):r}),[r,a]),c=e.useCallback((function(e,r){void 0===r&&(r=!0),i(e),r&&t(0)}),[t,i]);return{searchTerm:a,setSearchTerm:c,filteredOptions:s}},Vt=function(t,r){var n=t.options,o=t.searchable,a=t.onChange,i=t.disabled,s=t.ariaDescribedBy,c=t.ariaLabel,l=t.ariaLabelledBy,d=t.value,p=t.defaultOpen,f=e.useState(0),h=f[0],m=f[1],g=e.useState(p),y=g[0],v=g[1],b=e.useRef(null),w=e.useRef(null),k=e.useRef(null),C=e.useState(!1),S=C[0],x=C[1],A=Lt(m,n,o),E=A.searchTerm,O=A.setSearchTerm,N=A.filteredOptions,P=e.useMemo((function(){return N.reduce(u,[])}),[N]),R=e.useMemo((function(){return P.map((function(e){return e.value})).indexOf(d)}),[P,d]),_=e.useCallback((function(e){void 0===e&&(e=!1),O("",!1),v(!1),e&&w.current&&w.current.focus()}),[w.current,O,v]),T=e.useCallback((function(){m(R>0?R:0),v(!0)}),[v,m,R]),I=e.useCallback((function(e,t){void 0===t&&(t=!1),e&&(a(e),O("",!1)),t&&_(!0)}),[a,_,O]);!function(t,r){var n=function(e){r.current&&!r.current.contains(e.target)&&t()};e.useEffect((function(){return document.addEventListener("mouseup",n,!1),document.addEventListener("touchend",n,!1),function(){document.removeEventListener("mouseup",n),document.removeEventListener("touchend",n)}}),[])}(_,b),function(t,r){e.useEffect((function(){if(r.current&&t>=0){var e=r.current.getElementsByClassName("dropdown-option"),n=e&&e.length?e[t]:null;if(n&&n.getBoundingClientRect){var o=n.getBoundingClientRect().height,a=r.current.getBoundingClientRect().height,i=r.current.scrollTop,s=n.offsetTop<=i;n.offsetTop>=i&&n.offsetTop+o<=i+a||(s?r.current.scrollTo({top:n.offsetTop}):r.current.scrollTo({top:n.offsetTop-a+o+8}))}}}),[t])}(h,k);var $=e.useMemo((function(){return{"aria-hidden":i,"aria-expanded":y,"aria-haspopup":"listbox","aria-activedescendant":r+"_list_"+h,"aria-controls":r+"_list","aria-label":c,"aria-labelledby":l,"aria-describedby":s}}),[i,y,r,h,c,l,s]);return{focusedIndex:h,setFocusedIndex:m,open:y,setOpen:v,searchTerm:E,setSearchTerm:O,dropdownFocused:S,setDropdownFocused:x,setValue:I,filteredOptions:N,openDropdown:T,closeDropdown:_,flattenedOptions:P,container:b,inputRef:w,listWrapper:k,ariaProps:$,ariaList:Ft(P,R,r)}},Gt="undefined"!=typeof window&&window.document&&window.document.documentElement,Bt="test"!==process.env.NODE_ENV&&Gt,Wt=0,Ht=function(t){var r,s=t.arrowRenderer,c=t.contentClassName,l=t.className,u=t.disabled,d=t.hideArrow,f=t.id,h=t.optionItemRenderer,m=t.pageKeyTraverseSize,g=t.placeholder,y=t.searchable,v=t.value,b=t.selectedValueClassName,w=(r=f,e.useMemo((function(){return r||(Bt?(e=Wt,Wt+=1):e="test_or_ssr","react_dropdown_aria_"+e);var e}),[r])),k=Vt(t,w),C=k.open,S=k.dropdownFocused,x=k.focusedIndex,A=k.setFocusedIndex,E=k.setDropdownFocused,O=k.setValue,N=k.openDropdown,P=k.closeDropdown,R=k.searchTerm,_=k.setSearchTerm,T=k.filteredOptions,I=k.flattenedOptions,$=k.container,D=k.inputRef,M=k.listWrapper,j=k.ariaProps,z=k.ariaList,F=e.useCallback((function(){D.current&&D.current.focus()}),[D.current]),L=e.useCallback((function(){F(),u||C&&y||(C?P(!0):N())}),[C,u,y,P,N]),V=e.useCallback((function(e){switch(e){case n.UP_ARROW:A((function(e){return 0===e?I.length-1:e-1}));break;case n.DOWN_ARROW:A((function(e){return(e+1)%I.length}));break;case n.PAGE_UP:A((function(e){return e-m<0&&0!==e?0:e-m<0?I.length-1:e-m}));break;case n.PAGE_DOWN:A((function(e){return e===I.length-1?0:e+m>I.length-1?I.length-1:(e+m)%I.length}));break;case n.ESCAPE:P(!0)}}),[A,I,m,P]),G=e.useCallback((function(e){var t=e.keyCode;-1!==i.indexOf(t)?(e.preventDefault(),e.stopPropagation(),V(t)):t!==n.ENTER&&(t!==n.SPACE||y)||C?t!==n.TAB||y?(t===n.TAB||t===n.ENTER)&&I.length>0&&x>=0&&C&&(e.stopPropagation(),e.preventDefault(),O(I[x],!0)):P():(e.preventDefault(),N())}),[I,O,x,C,V,N,y,P]),B=e.useCallback((function(e){_(e.target.value)}),[_]),W=e.useCallback((function(){return E(!0)}),[E]),H=e.useCallback((function(){return E(!1)}),[E]),U=e.useMemo((function(){if(d)return null;if(s)return o.default.createElement(Et,{className:"dropdown-arrow"},s(C));var e=C&&y;return o.default.createElement(Et,{className:"dropdown-arrow"},e&&o.default.createElement(Mt,null),!e&&o.default.createElement(Dt,null))}),[C,s,y,d]);return o.default.createElement(wt,{ref:$,onFocus:F,onClick:L,role:"button",width:t.width,height:t.height,disabled:u,open:C,dropdownFocused:S,className:p("dropdown",l)},o.default.createElement(kt,{className:"dropdown-selectors",open:C,searchable:t.searchable},o.default.createElement(Ct,{className:"dropdown-selector-search"},o.default.createElement("input",a({id:w,ref:D,value:R,onChange:B,onKeyDown:G,onFocus:W,onBlur:H,readOnly:!C||!y,disabled:u,autoComplete:"off",role:"combobox"},j))),!v&&!R&&o.default.createElement(At,{className:"dropdown-selector-placeholder",centerText:t.centerText},g),v&&!R&&o.default.createElement(xt,{className:p("dropdown-selector-value",b),centerText:t.centerText,value:v,open:C},v),U),z,o.default.createElement(Ot,{maxContentHeight:t.maxContentHeight,openUp:t.openUp,open:C,className:p("dropdown-selector-content",c),ref:M},o.default.createElement(jt,{selectedOption:v,options:T,focusedIndex:x,onOptionClicked:O,optionItemRenderer:h,empty:0===I.length})))};Ht.defaultProps={ariaDescribedBy:null,ariaLabel:null,ariaLabelledBy:null,arrowRenderer:void 0,centerText:!1,className:void 0,contentClassName:null,defaultOpen:!1,disabled:!1,height:null,hideArrow:!1,id:null,maxContentHeight:150,openUp:!1,optionItemRenderer:void 0,pageKeyTraverseSize:10,placeholder:"Select ...",searchable:!1,selectedValueClassName:null,style:{},value:void 0,width:null},exports.default=Ht;
*/}var h="function"==typeof Symbol&&Symbol.for,m=h?Symbol.for("react.element"):60103,g=h?Symbol.for("react.portal"):60106,y=h?Symbol.for("react.fragment"):60107,v=h?Symbol.for("react.strict_mode"):60108,b=h?Symbol.for("react.profiler"):60114,w=h?Symbol.for("react.provider"):60109,k=h?Symbol.for("react.context"):60110,C=h?Symbol.for("react.async_mode"):60111,S=h?Symbol.for("react.concurrent_mode"):60111,x=h?Symbol.for("react.forward_ref"):60112,A=h?Symbol.for("react.suspense"):60113,E=h?Symbol.for("react.suspense_list"):60120,O=h?Symbol.for("react.memo"):60115,N=h?Symbol.for("react.lazy"):60116,P=h?Symbol.for("react.block"):60121,R=h?Symbol.for("react.fundamental"):60117,_=h?Symbol.for("react.responder"):60118,T=h?Symbol.for("react.scope"):60119;function I(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case m:switch(e=e.type){case C:case S:case y:case b:case v:case A:return e;default:switch(e=e&&e.$$typeof){case k:case x:case N:case O:case w:return e;default:return t}}case g:return t}}}function $(e){return I(e)===S}var D={AsyncMode:C,ConcurrentMode:S,ContextConsumer:k,ContextProvider:w,Element:m,ForwardRef:x,Fragment:y,Lazy:N,Memo:O,Portal:g,Profiler:b,StrictMode:v,Suspense:A,isAsyncMode:function(e){return $(e)||I(e)===C},isConcurrentMode:$,isContextConsumer:function(e){return I(e)===k},isContextProvider:function(e){return I(e)===w},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===m},isForwardRef:function(e){return I(e)===x},isFragment:function(e){return I(e)===y},isLazy:function(e){return I(e)===N},isMemo:function(e){return I(e)===O},isPortal:function(e){return I(e)===g},isProfiler:function(e){return I(e)===b},isStrictMode:function(e){return I(e)===v},isSuspense:function(e){return I(e)===A},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===y||e===S||e===b||e===v||e===A||e===E||"object"==typeof e&&null!==e&&(e.$$typeof===N||e.$$typeof===O||e.$$typeof===w||e.$$typeof===k||e.$$typeof===x||e.$$typeof===R||e.$$typeof===_||e.$$typeof===T||e.$$typeof===P)},typeOf:I},M=f((function(e,t){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=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,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var f=e.type;switch(f){case l:case u:case o:case i:case a:case p:return f;default:var g=f&&f.$$typeof;switch(g){case c:case d:case m:case h:case s:return g;default:return t}}case n:return t}}}var k=l,C=u,S=c,x=s,A=r,E=d,O=o,N=m,P=h,R=n,_=i,T=a,I=p,$=!1;function D(e){return w(e)===u}t.AsyncMode=k,t.ConcurrentMode=C,t.ContextConsumer=S,t.ContextProvider=x,t.Element=A,t.ForwardRef=E,t.Fragment=O,t.Lazy=N,t.Memo=P,t.Portal=R,t.Profiler=_,t.StrictMode=T,t.Suspense=I,t.isAsyncMode=function(e){return $||($=!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.")),D(e)||w(e)===l},t.isConcurrentMode=D,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===i},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===i||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},t.typeOf=w}()})),j=(M.AsyncMode,M.ConcurrentMode,M.ContextConsumer,M.ContextProvider,M.Element,M.ForwardRef,M.Fragment,M.Lazy,M.Memo,M.Portal,M.Profiler,M.StrictMode,M.Suspense,M.isAsyncMode,M.isConcurrentMode,M.isContextConsumer,M.isContextProvider,M.isElement,M.isForwardRef,M.isFragment,M.isLazy,M.isMemo,M.isPortal,M.isProfiler,M.isStrictMode,M.isSuspense,M.isValidElementType,M.typeOf,f((function(e){"production"===process.env.NODE_ENV?e.exports=D:e.exports=M}))),z=j.typeOf,F=j.isElement,L=j.isValidElementType;function V(e){function t(e,t,n){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=r(e[l]+" ",o[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var i=e+";",s=2*t+3*r+4*a;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(A,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(b,"tb");break;case 232:c=i.replace(b,"tb-rl");break;case 220:c=i.replace(b,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+a&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+i}return i}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(S,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function i(e,t,r,n,o,a,i,s,l,u){for(var d,p=0,f=t;p<T;++p)switch(d=_[p].call(c,e,f,r,n,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function s(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),s}function c(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<T){var c=i(-1,r,s,s,O,E,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var d=function e(r,s,c,d,p){for(var f,h,m,b,k,C=0,S=0,x=0,A=0,_=0,I=0,D=m=f=0,M=0,j=0,z=0,F=0,L=c.length,V=L-1,G="",B="",W="",H="";M<L;){if(h=c.charCodeAt(M),M===V&&0!==S+A+x+C&&(0!==S&&(h=47===S?10:47),A=x=C=0,L++,V++),0===S+A+x+C){if(M===V&&(0<j&&(G=G.replace(u,"")),0<G.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(M)}h=59}switch(h){case 123:for(f=(G=G.trim()).charCodeAt(0),m=1,F=++M;M<L;){switch(h=c.charCodeAt(M)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(M+1)){case 42:case 47:e:{for(D=M+1;D<V;++D)switch(c.charCodeAt(D)){case 47:if(42===h&&42===c.charCodeAt(D-1)&&M+2!==D){M=D+1;break e}break;case 10:if(47===h){M=D+1;break e}}M=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;M++<V&&c.charCodeAt(M)!==h;);}if(0===m)break;M++}switch(m=c.substring(F,M),0===f&&(f=(G=G.replace(l,"").trim()).charCodeAt(0)),f){case 64:switch(0<j&&(G=G.replace(u,"")),h=G.charCodeAt(1)){case 100:case 109:case 115:case 45:j=s;break;default:j=R}if(F=(m=e(s,j,m,h,p+1)).length,0<T&&(k=i(3,m,j=t(R,G,z),s,O,E,F,h,p,d),G=j.join(""),void 0!==k&&0===(F=(m=k.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:G=G.replace(w,a);case 100:case 109:case 45:m=G+"{"+m+"}";break;case 107:m=(G=G.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=G+m,112===d&&(B+=m,m="")}else m="";break;default:m=e(s,t(s,G,z),m,d,p+1)}W+=m,m=z=j=D=f=0,G="",h=c.charCodeAt(++M);break;case 125:case 59:if(1<(F=(G=(0<j?G.replace(u,""):G).trim()).length))switch(0===D&&(f=G.charCodeAt(0),45===f||96<f&&123>f)&&(F=(G=G.replace(" ",":")).length),0<T&&void 0!==(k=i(1,G,s,r,O,E,B.length,d,p,d))&&0===(F=(G=k.trim()).length)&&(G="\0\0"),f=G.charCodeAt(0),h=G.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){H+=G+c.charAt(M);break}default:58!==G.charCodeAt(F-1)&&(B+=n(G,f,h,G.charCodeAt(2)))}z=j=D=f=0,G="",h=c.charCodeAt(++M)}}switch(h){case 13:case 10:47===S?S=0:0===1+f&&107!==d&&0<G.length&&(j=1,G+="\0"),0<T*$&&i(0,G,s,r,O,E,B.length,d,p,d),E=1,O++;break;case 59:case 125:if(0===S+A+x+C){E++;break}default:switch(E++,b=c.charAt(M),h){case 9:case 32:if(0===A+C+S)switch(_){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===A+S+C&&(j=z=1,b="\f"+b);break;case 108:if(0===A+S+C+N&&0<D)switch(M-D){case 2:112===_&&58===c.charCodeAt(M-3)&&(N=_);case 8:111===I&&(N=I)}break;case 58:0===A+S+C&&(D=M);break;case 44:0===S+x+A+C&&(j=1,b+="\r");break;case 34:case 39:0===S&&(A=A===h?0:0===A?h:A);break;case 91:0===A+S+x&&C++;break;case 93:0===A+S+x&&C--;break;case 41:0===A+S+C&&x--;break;case 40:if(0===A+S+C){if(0===f)switch(2*_+3*I){case 533:break;default:f=1}x++}break;case 64:0===S+x+A+C+D+m&&(m=1);break;case 42:case 47:if(!(0<A+C+x))switch(S){case 0:switch(2*h+3*c.charCodeAt(M+1)){case 235:S=47;break;case 220:F=M,S=42}break;case 42:47===h&&42===_&&F+2!==M&&(33===c.charCodeAt(F+2)&&(B+=c.substring(F,M+1)),b="",S=0)}}0===S&&(G+=b)}I=_,_=h,M++}if(0<(F=B.length)){if(j=s,0<T&&(void 0!==(k=i(2,B,j,r,O,E,F,d,p,d))&&0===(B=k).length))return H+B+W;if(B=j.join(",")+"{"+B+"}",0!=P*N){switch(2!==P||o(B,2)||(N=0),N){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(y,"::-webkit-input-$1")+B.replace(y,"::-moz-$1")+B.replace(y,":-ms-input-$1")+B}N=0}}return H+B+W}(R,s,r,0,0);return 0<T&&(void 0!==(c=i(-2,d,s,s,O,E,d.length,0,0,0))&&(d=c)),"",N=0,E=O=1,d}var l=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,C=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,E=1,O=1,N=0,P=1,R=[],_=[],T=0,I=null,$=0;return c.use=function e(t){switch(t){case void 0:case null:T=_.length=0;break;default:if("function"==typeof t)_[T++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else $=0|!!t}return e},c.set=s,void 0!==e&&s(e),c}var G={animationIterationCount: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};var B,W,H=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,U=(B=function(e){return H.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91},W={},function(e){return void 0===W[e]&&(W[e]=B(e)),W[e]}),q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Y={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},X={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},K={};function Z(e){return j.isMemo(e)?X:K[e.$$typeof]||q}K[j.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},K[j.Memo]=X;var J=Object.defineProperty,Q=Object.getOwnPropertyNames,ee=Object.getOwnPropertySymbols,te=Object.getOwnPropertyDescriptor,re=Object.getPrototypeOf,ne=Object.prototype;var oe=function e(t,r,n){if("string"!=typeof r){if(ne){var o=re(r);o&&o!==ne&&e(t,o,n)}var a=Q(r);ee&&(a=a.concat(ee(r)));for(var i=Z(t),s=Z(r),c=0;c<a.length;++c){var l=a[c];if(!(Y[l]||n&&n[l]||s&&s[l]||i&&i[l])){var u=te(r,l);try{J(t,l,u)}catch(e){}}}}return t};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ie=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},se=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!z(e)},ce=Object.freeze([]),le=Object.freeze({});function ue(e){return"function"==typeof e}function de(e){return"production"!==process.env.NODE_ENV&&("string"==typeof e&&e)||e.displayName||e.name||"Component"}function pe(e){return e&&"string"==typeof e.styledComponentId}var fe="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",he="undefined"!=typeof window&&"HTMLElement"in window,me="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||"production"!==process.env.NODE_ENV,ge="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function ye(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],r=1,n=arguments.length;r<n;r+=1)t.push(r<0||arguments.length<=r?void 0:arguments[r]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t)})),e}function ve(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+e+" for more information."+(r.length>0?" Additional arguments: "+r.join(", "):"")):new Error(ye.apply(void 0,[ge[e]].concat(r)).trim())}var be=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(fe))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(fe,"active"),n.setAttribute("data-styled-version","5.1.1");var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},we=function(){function e(e){var t=this.element=be(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}ve(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),ke=function(){function e(e){var t=this.element=be(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ce=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Se=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&ve(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),xe=new Map,Ae=new Map,Ee=1,Oe=function(e){if(xe.has(e))return xe.get(e);var t=Ee++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&ve(16,""+t),xe.set(e,t),Ae.set(t,e),t},Ne=function(e){return Ae.get(e)},Pe=function(e,t){t>=Ee&&(Ee=t+1),xe.set(e,t),Ae.set(t,e)},Re="style["+fe+'][data-styled-version="5.1.1"]',_e=new RegExp("^"+fe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Te=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},Ie=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(_e);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(Pe(l,c),Te(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},$e=he,De={isServer:!he,useCSSOMInjection:!me},Me=function(){function e(e,t,r){void 0===e&&(e=De),void 0===t&&(t={}),this.options=ae({},De,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&he&&$e&&($e=!1,function(e){for(var t=document.querySelectorAll(Re),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(fe)&&(Ie(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Oe(e)};var t=e.prototype;return t.reconstructWithOptions=function(t){return new e(ae({},this.options,{},t),this.gs,this.names)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(t=this.options,r=t.isServer,n=t.useCSSOMInjection,o=t.target,e=r?new Ce(o):n?new we(o):new ke(o),new Se(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Oe(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Oe(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Oe(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=Ne(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(void 0!==i&&0!==s.length){var c=fe+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),je=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ze=function(e){return je(5381,e)};var Fe=/^\s*\/\/.*$/gm;var Le=o.default.createContext(),Ve=(Le.Consumer,o.default.createContext()),Ge=(Ve.Consumer,new Me),Be=function(e){var t,r,n,o=void 0===e?le:e,a=o.options,i=void 0===a?le:a,s=o.plugins,c=void 0===s?ce:s,l=new V(i),u=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){u.push(e)})),p=function(e,n,o){return n>0&&-1!==o.slice(0,n).indexOf(r)&&o.slice(n-r.length,n)!==r?"."+t:e};function f(e,o,a,i){void 0===i&&(i="&");var s=e.replace(Fe,""),c=o&&a?a+" "+o+" { "+s+" }":s;return t=i,r=o,n=new RegExp("\\"+r+"\\b","g"),l(a||!o?"":o,c)}return l.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},d,function(e){if(-2===e){var t=u;return u=[],t}}])),f.hash=c.length?c.reduce((function(e,t){return t.name||ve(15),je(e,t.name)}),5381).toString():"",f}();var We=function(){function e(e,t){var r=this;this.inject=function(e){e.hasNameForId(r.id,r.name)||e.insertRules(r.id,r.name,Be.apply(void 0,r.stringifyArgs))},this.toString=function(){return ve(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),He=/([A-Z])/g,Ue=/^ms-/;function qe(e){return e.replace(He,"-$1").toLowerCase().replace(Ue,"-ms-")}var Ye=function(e){return null==e||!1===e||""===e},Xe=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!Ye(t[r])){if(se(t[r]))return n.push.apply(n,e(t[r],r)),n;if(ue(t[r]))return n.push(qe(r)+":",t[r],";"),n;n.push(qe(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in G?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function Ke(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)""!==(n=Ke(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}if(Ye(e))return"";if(pe(e))return"."+e.styledComponentId;if(ue(e)){if("function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t)return e;var s=e(t);return"production"!==process.env.NODE_ENV&&F(s)&&console.warn(de(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."),Ke(s,t,r)}var c;return e instanceof We?r?(e.inject(r),e.getName()):e:se(e)?Xe(e):e.toString()}function Ze(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ue(e)||se(e)?Ke(ie(ce,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:Ke(ie(e,r))}var Je=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Qe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function et(e,t,r){var n=e[r];Je(t)&&Je(n)?tt(n,t):e[r]=t}function tt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(Je(i))for(var s in i)Qe(s)&&et(e,i[s],s)}return e}var rt=/(a)(d)/gi,nt=function(e){return String.fromCharCode(e+(e>25?39:97))};function ot(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=nt(t%52)+r;return(nt(t%52)+r).replace(rt,"$1-$2")}var at=function(){function e(e,t){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ue(r)&&!pe(r))return!1}return!0}(e),this.componentId=t,this.baseHash=ze(t),Me.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId;if(this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))return this.staticRulesId;var o=Ke(this.rules,e,t).join(""),a=ot(je(this.baseHash,o.length)>>>0);if(!t.hasNameForId(n,a)){var i=r(o,"."+a,void 0,n);t.insertRules(n,a,i)}return this.staticRulesId=a,a}for(var s=this.rules.length,c=je(this.baseHash,r.hash),l="",u=0;u<s;u++){var d=this.rules[u];if("string"==typeof d)l+=d,"production"!==process.env.NODE_ENV&&(c=je(c,d+u));else{var p=Ke(d,e,t),f=Array.isArray(p)?p.join(""):p;c=je(c,f+u),l+=f}}var h=ot(c>>>0);if(!t.hasNameForId(n,h)){var m=r(l,"."+h,void 0,n);t.insertRules(n,h,m)}return h},e}(),it=/invalid hook call/i,st=new Set,ct=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,lt=/(^-|-$)/g;function ut(e){return e.replace(ct,"-").replace(lt,"")}function dt(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}function pt(e,t){return e&&t?e+" "+t:e||t}var ft=o.default.createContext(),ht=(ft.Consumer,{});function mt(e,t){var r="string"!=typeof e?"sc":ut(e);ht[r]=(ht[r]||0)+1;var n,o=r+"-"+(n=r+ht[r],ot(ze(n)>>>0));return t?t+"-"+o:o}function gt(t,r,n,o){var a=e.useContext(Le)||Ge,i=e.useContext(Ve)||Be,s=t.isStatic&&!r,c=s?t.generateAndInjectStyles(le,a,i):t.generateAndInjectStyles(n,a,i);return e.useDebugValue(c),"production"!==process.env.NODE_ENV&&!s&&o&&o(c),c}function yt(t,r,n){var o=t.attrs,a=t.componentStyle,i=t.defaultProps,s=t.foldedComponentIds,c=t.shouldForwardProp,l=t.styledComponentId,u=t.target;e.useDebugValue(l);var d=function(e,t,r){void 0===e&&(e=le);var n=ae({},t,{theme:e}),o={};return r.forEach((function(e){var t,r=e;for(t in ue(r)&&(r=r(n)),r)n[t]=o[t]="className"===t?pt(o[t],r[t]):r[t]})),[n,o]}(function(e,t,r){return void 0===r&&(r=le),e.theme!==r.theme&&e.theme||t||r.theme}(r,e.useContext(ft),i)||le,r,o),p=d[0],f=d[1],h=gt(a,o.length>0,p,"production"!==process.env.NODE_ENV?t.warnTooManyClasses:void 0),m=n,g=f.$as||r.$as||f.as||r.as||u,y=dt(g),v=f!==r?ae({},r,{},f):r,b=c||y&&U,w={};for(var k in v)"$"!==k[0]&&"as"!==k&&("forwardedAs"===k?w.as=v[k]:b&&!b(k,U)||(w[k]=v[k]));return r.style&&f.style!==r.style&&(w.style=ae({},r.style,{},f.style)),w.className=Array.prototype.concat(s,l,h!==l?h:null,r.className,f.className).filter(Boolean).join(" "),w.ref=m,e.createElement(g,w)}function vt(t,r,n){var a=pe(t),i=!dt(t),s=r.displayName,c=void 0===s?function(e){return dt(e)?"styled."+e:"Styled("+de(e)+")"}(t):s,l=r.componentId,u=void 0===l?mt(r.displayName,r.parentComponentId):l,d=r.attrs,p=void 0===d?ce:d,f=r.displayName&&r.componentId?ut(r.displayName)+"-"+r.componentId:r.componentId||u,h=a&&t.attrs?Array.prototype.concat(t.attrs,p).filter(Boolean):p,m=r.shouldForwardProp;a&&t.shouldForwardProp&&(m=m?function(e,n){return t.shouldForwardProp(e,n)&&r.shouldForwardProp(e,n)}:t.shouldForwardProp);var g,y=new at(a?t.componentStyle.rules.concat(n):n,f),v=function(e,t){return yt(g,e,t)};return v.displayName=c,(g=o.default.forwardRef(v)).attrs=h,g.componentStyle=y,g.displayName=c,g.shouldForwardProp=m,g.foldedComponentIds=a?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):ce,g.styledComponentId=f,g.target=a?t.target:t,g.withComponent=function(e){var t=r.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["componentId"]),a=t&&t+"-"+(dt(e)?e:ut(de(e)));return vt(e,ae({},o,{attrs:h,componentId:a}),n)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?tt({},t.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(!function(t,r){if("production"!==process.env.NODE_ENV){var n="The component "+t+(r?' with the id of "'+r+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.";try{e.useRef(),st.has(n)||(console.warn(n),st.add(n))}catch(e){it.test(e.message)&&st.delete(n)}}}(c,f),g.warnTooManyClasses=function(e,t){var r={},n=!1;return function(o){if(!n&&(r[o]=!0,Object.keys(r).length>=200)){var a=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+a+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),n=!0,r={}}}}(c,f)),g.toString=function(){return"."+g.styledComponentId},i&&oe(g,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var bt=function(e){return function e(t,r,n){if(void 0===n&&(n=le),!L(r))return ve(1,String(r));var o=function(){return t(r,n,Ze.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,ae({},n,{},o))},o.attrs=function(o){return e(t,r,ae({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(vt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){bt[e]=bt(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles not rendering properly, errors happening during rehydration process, missing theme prop, and makes your application bigger without a good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var wt=bt.div((function(e){var t=e.width,r=e.height,n=e.disabled,o=e.open,a=e.dropdownFocused;return{backgroundColor:n?s.light:s.lightest,border:"2px solid "+(o||a?c.focused:s.dark),borderRadius:"7",cursor:n?"not-allowed":"pointer",display:"flex",flexDirection:"column",fontSize:"1em",height:r,position:"relative",width:t,"&:hover":{border:"2px solid "+(o||a?c.focused:s.darker)},"&:disabled":{backgroundColor:c.disabled,cursor:"unset"}}})),kt=bt.div((function(e){var t=e.searchable;return{alignItems:"center",boxSizing:"border-box",cursor:e.open&&t?"text":"inherit",display:"flex",height:"32px",padding:"0 11px",position:"relative",width:"100%",input:{backgroundColor:"inherit",border:"none",fontSize:"inherit",height:"30px",outline:"none",width:"100%"}}})),Ct=bt.span((function(){return{bottom:0,left:"11px",position:"absolute",right:"25px",top:0}})),St={bottom:0,left:"11px",lineHeight:"30px",overflow:"hidden",position:"absolute",right:"25px",textOverflow:"ellipsis",top:0,whiteSpace:"nowrap"},xt=bt.span((function(e){return a({textAlign:e.centerText?"center":"left",color:e.value&&!e.open?"black":s.base},St)})),At=bt.span((function(e){var t=e.centerText;return a({color:s.base,textAlign:t?"center":"left"},St)})),Et=bt.div((function(){return{alignItems:"center",bottom:0,color:s.base,display:"flex",position:"absolute",right:"10px",top:0}})),Ot=bt.span((function(e){var t=e.openUp,r=e.maxContentHeight,n=e.open;return{backgroundColor:"#ffffff",border:"2px solid "+s.darker,borderRadius:"4px",bottom:t?"105%":void 0,boxShadow:"0px "+(t?"-4px":"4px")+" 4px rgba(0, 0, 0, 0.25)",boxSizing:"border-box",color:"black",display:n?"block":"none",left:"0",listStyleType:"none",margin:"0",maxHeight:r||"175px",overflowX:"hidden",overflowY:"auto",padding:"2px 0",position:"absolute",top:t?void 0:"100%",width:"100%",zIndex:9999,".dropdown-selector-content--empty":{alignItems:"center",color:s.base,display:"flex",flexDirection:"column",justifyContent:"center",padding:"4px 0"},"&::-webkit-scrollbar":{width:"5px"},"&::-webkit-scrollbar-track":{background:"#ddd"},"&::-webkit-scrollbar-thumb":{background:"#666"}}})),Nt=bt.div((function(){return{padding:"1em 0 0 0"}})),Pt=bt.div((function(){return{color:"grey",display:"flex",flexDirection:"row",fontSize:"0.9em",padding:"0 10px 3px 5px"}})),Rt=bt.div((function(){return{borderBottom:"1px solid "+s.dark,margin:"auto",paddingTop:10,width:"85%"}})),_t=bt.div((function(e){var t=e.selected,r=e.focused,n=s.lightest,o="inherit";return r&&t?(n=s.dark,o=s.lightest):r?n=s.lighter:t&&(n=s.light),{backgroundColor:n,border:"none",color:o,cursor:"pointer",fontSize:"0.95em",overflow:"hidden",padding:"5px 10px",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",display:"flex",alignItems:"center","&:hover":{backgroundColor:t?s.dark:s.light,color:t?s.lightest:void 0},".option-icon":{paddingRight:"5px"}}})),Tt=o.default.memo((function(t){var r=t.onOptionClicked,n=t.option,a=t.optionClass,i=t.itemRenderer,s=t.index,c=t.selected,l=t.focused,u=e.useCallback((function(e){e.stopPropagation(),r(n,!0)}),[r,n]),d=o.default.createElement(o.default.Fragment,null,n.iconClass&&o.default.createElement("i",{className:n.iconClass+" dropdown-option-icon"}),n.value);return i&&(d=i(t,s)),o.default.createElement(_t,{"aria-label":n.ariaLabel,"aria-selected":c,className:p("dropdown-option",a,{selected:c,focused:l}),onClick:u,title:n.title,selected:c,focused:l},d)})),It=function(e){var t=e.children,r=e.className,n=e.dim,a=void 0===n?24:n;return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather "+r},t)},$t=function(){return o.default.createElement(It,{className:"feather-inbox"},o.default.createElement("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),o.default.createElement("path",{d:"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}))},Dt=function(){return o.default.createElement(It,{className:"feather-chevron-down",dim:16},o.default.createElement("polyline",{points:"6 9 12 15 18 9"}))},Mt=function(){return o.default.createElement(It,{className:"feather-search",dim:16},o.default.createElement("circle",{cx:"11",cy:"11",r:"8"}),o.default.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))};function jt(e){var t=e.selectedOption,r=e.options,n=e.focusedIndex,a=e.onOptionClicked,i=e.optionItemRenderer;if(e.empty)return o.default.createElement("div",{className:"dropdown-selector-content--empty"},o.default.createElement($t,null),"No data");var s=i?function(e,t){return i(e,t)}:void 0,c=0,u=r.map((function(e){if(l(e)){var r=e.groupOptions,i=e.label,u=r.map((function(e){var r=e.value===t,i=c===n;return c+=1,o.default.createElement(Tt,{key:e.value,optionClass:e.className,onOptionClicked:a,option:e,itemRenderer:s,index:c-1,selected:r,focused:i})}));return u.length?o.default.createElement(Nt,{key:e.label},o.default.createElement(Pt,null,o.default.createElement("span",null,i.toUpperCase()," |  "),o.default.createElement("span",null,r.length)),u,o.default.createElement(Rt,null)):null}var d=e.value,p=e.className,f=c===n,h=d===t;return c+=1,o.default.createElement(Tt,{key:d,optionClass:p,onOptionClicked:a,option:e,itemRenderer:s,index:c-1,selected:h,focused:f})}));return o.default.createElement(o.default.Fragment,null,u)}var zt={height:0,width:0,overflow:"hidden"},Ft=function(e,t,r){var n=e.map((function(e,n){return o.default.createElement("div",{role:"option",id:r+"_list_"+n,key:r+"_list_"+n,"aria-selected":n===t,"aria-label":e.value})}));return o.default.createElement("div",{role:"listbox",id:r+"_list",style:zt},n)},Lt=function(t,r,n){var o=e.useState(""),a=o[0],i=o[1],s=e.useMemo((function(){return n&&a.trim()?function(e,t){for(var r=[],n=t.toLowerCase(),o=0,a=e;o<a.length;o++){var i=a[o];if(l(i)){var s=d(i,n);s.groupOptions.length>=0&&r.push(s)}else i.value.toLowerCase().includes(n)&&r.push(i)}return r}(r,a):r}),[r,a]),c=e.useCallback((function(e,r){void 0===r&&(r=!0),i(e),r&&t(0)}),[t,i]);return{searchTerm:a,setSearchTerm:c,filteredOptions:s}},Vt=function(t,r){var n=t.options,o=t.searchable,a=t.onChange,i=t.disabled,s=t.ariaDescribedBy,c=t.ariaLabel,l=t.ariaLabelledBy,d=t.value,p=t.defaultOpen,f=e.useState(0),h=f[0],m=f[1],g=e.useState(p),y=g[0],v=g[1],b=e.useRef(null),w=e.useRef(null),k=e.useRef(null),C=e.useState(!1),S=C[0],x=C[1],A=Lt(m,n,o),E=A.searchTerm,O=A.setSearchTerm,N=A.filteredOptions,P=e.useMemo((function(){return N.reduce(u,[])}),[N]),R=e.useMemo((function(){return P.map((function(e){return e.value})).indexOf(d)}),[P,d]),_=e.useCallback((function(e){void 0===e&&(e=!1),O("",!1),v(!1),e&&w.current&&w.current.focus()}),[w.current,O,v]),T=e.useCallback((function(){m(R>0?R:0),v(!0)}),[v,m,R]),I=e.useCallback((function(e,t){void 0===t&&(t=!1),e&&(a(e),O("",!1)),t&&_(!0)}),[a,_,O]);!function(t,r){var n=function(e){r.current&&!r.current.contains(e.target)&&t()};e.useEffect((function(){return document.addEventListener("mouseup",n,!1),document.addEventListener("touchend",n,!1),function(){document.removeEventListener("mouseup",n),document.removeEventListener("touchend",n)}}),[])}(_,b),function(t,r){e.useEffect((function(){if(r.current&&t>=0){var e=r.current.getElementsByClassName("dropdown-option"),n=e&&e.length?e[t]:null;if(n&&n.getBoundingClientRect){var o=n.getBoundingClientRect().height,a=r.current.getBoundingClientRect().height,i=r.current.scrollTop,s=n.offsetTop<=i;n.offsetTop>=i&&n.offsetTop+o<=i+a||(s?r.current.scrollTo({top:n.offsetTop}):r.current.scrollTo({top:n.offsetTop-a+o+8}))}}}),[t])}(h,k);var $=e.useMemo((function(){return{"aria-hidden":i,"aria-expanded":y,"aria-haspopup":"listbox","aria-activedescendant":r+"_list_"+h,"aria-controls":r+"_list","aria-label":c,"aria-labelledby":l,"aria-describedby":s}}),[i,y,r,h,c,l,s]);return{focusedIndex:h,setFocusedIndex:m,open:y,setOpen:v,searchTerm:E,setSearchTerm:O,dropdownFocused:S,setDropdownFocused:x,setValue:I,filteredOptions:N,openDropdown:T,closeDropdown:_,flattenedOptions:P,container:b,inputRef:w,listWrapper:k,ariaProps:$,ariaList:Ft(P,R,r)}},Gt="undefined"!=typeof window&&window.document&&window.document.documentElement,Bt="test"!==process.env.NODE_ENV&&Gt,Wt=0,Ht=function(t){var r,s=t.arrowRenderer,c=t.contentClassName,l=t.className,u=t.disabled,d=t.hideArrow,f=t.id,h=t.optionItemRenderer,m=t.pageKeyTraverseSize,g=t.placeholder,y=t.searchable,v=t.value,b=t.selectedValueClassName,w=(r=f,e.useMemo((function(){return r||(Bt?(e=Wt,Wt+=1):e="test_or_ssr","react_dropdown_aria_"+e);var e}),[r])),k=Vt(t,w),C=k.open,S=k.dropdownFocused,x=k.focusedIndex,A=k.setFocusedIndex,E=k.setDropdownFocused,O=k.setValue,N=k.openDropdown,P=k.closeDropdown,R=k.searchTerm,_=k.setSearchTerm,T=k.filteredOptions,I=k.flattenedOptions,$=k.container,D=k.inputRef,M=k.listWrapper,j=k.ariaProps,z=k.ariaList,F=e.useCallback((function(){D.current&&D.current.focus()}),[D.current]),L=e.useCallback((function(){F(),u||C&&y||(C?P(!0):N())}),[C,u,y,P,N]),V=e.useCallback((function(e){switch(e){case n.UP_ARROW:A((function(e){return 0===e?I.length-1:e-1}));break;case n.DOWN_ARROW:A((function(e){return(e+1)%I.length}));break;case n.PAGE_UP:A((function(e){return e-m<0&&0!==e?0:e-m<0?I.length-1:e-m}));break;case n.PAGE_DOWN:A((function(e){return e===I.length-1?0:e+m>I.length-1?I.length-1:(e+m)%I.length}));break;case n.ESCAPE:P(!0)}}),[A,I,m,P]),G=e.useCallback((function(e){var t=e.keyCode;-1!==i.indexOf(t)?(e.preventDefault(),e.stopPropagation(),V(t)):t!==n.ENTER&&(t!==n.SPACE||y)||C?t!==n.TAB||y?(t===n.TAB||t===n.ENTER)&&I.length>0&&x>=0&&C&&(e.stopPropagation(),e.preventDefault(),O(I[x],!0)):P():(e.preventDefault(),N())}),[I,O,x,C,V,N,y,P]),B=e.useCallback((function(e){_(e.target.value)}),[_]),W=e.useCallback((function(){return E(!0)}),[E]),H=e.useCallback((function(){return E(!1)}),[E]),U=e.useMemo((function(){if(d)return null;if(s)return o.default.createElement(Et,{className:"dropdown-arrow"},s(C));var e=C&&y;return o.default.createElement(Et,{className:"dropdown-arrow"},e&&o.default.createElement(Mt,null),!e&&o.default.createElement(Dt,null))}),[C,s,y,d]);return o.default.createElement(wt,{ref:$,onFocus:F,onClick:L,role:"button",width:t.width,height:t.height,disabled:u,open:C,dropdownFocused:S,className:p("dropdown",l)},o.default.createElement(kt,{className:"dropdown-selector",open:C,searchable:t.searchable},o.default.createElement(Ct,{className:"dropdown-selector-search"},o.default.createElement("input",a({id:w,ref:D,value:R,onChange:B,onKeyDown:G,onFocus:W,onBlur:H,readOnly:!C||!y,disabled:u,autoComplete:"off",role:"combobox"},j))),!v&&!R&&o.default.createElement(At,{className:"dropdown-selector-placeholder",centerText:t.centerText},g),v&&!R&&o.default.createElement(xt,{className:p("dropdown-selector-value",b),centerText:t.centerText,value:v,open:C},v),U),z,o.default.createElement(Ot,{maxContentHeight:t.maxContentHeight,openUp:t.openUp,open:C,className:p("dropdown-selector-content",c),ref:M},o.default.createElement(jt,{selectedOption:v,options:T,focusedIndex:x,onOptionClicked:O,optionItemRenderer:h,empty:0===I.length})))};Ht.defaultProps={ariaDescribedBy:null,ariaLabel:null,ariaLabelledBy:null,arrowRenderer:void 0,centerText:!1,className:void 0,contentClassName:null,defaultOpen:!1,disabled:!1,height:null,hideArrow:!1,id:null,maxContentHeight:150,openUp:!1,optionItemRenderer:void 0,pageKeyTraverseSize:10,placeholder:"Select ...",searchable:!1,selectedValueClassName:null,style:{},value:void 0,width:null},exports.default=Ht;
//# sourceMappingURL=index.js.map
{
"name": "@redocly/react-dropdown-aria",
"version": "2.0.7",
"version": "2.0.8",
"description": "Simple and accessible React dropdown component",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc