@cyntler/react-doc-viewer
Version:
File viewer for React.
54 lines (37 loc) • 513 kB
JavaScript
"use strict";var k1=Object.defineProperty;var I1=(s,t,e)=>t in s?k1(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var dt=(s,t,e)=>(I1(s,typeof t!="symbol"?t+"":t,e),e),Sp=(s,t,e)=>{if(!t.has(s))throw TypeError("Cannot "+e)};var a=(s,t,e)=>(Sp(s,t,"read from private field"),e?e.call(s):t.get(s)),m=(s,t,e)=>{if(t.has(s))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(s):t.set(s,e)},w=(s,t,e,n)=>(Sp(s,t,"write to private field"),n?n.call(s,e):t.set(s,e),e);var Ge=(s,t,e,n)=>({set _(i){w(s,t,i,e)},get _(){return a(s,t,n)}}),A=(s,t,e)=>(Sp(s,t,"access private method"),e);const O=require("react/jsx-runtime"),U=require("react");var go=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Um(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function F1(s){if(s.__esModule)return s;var t=s.default;if(typeof t=="function"){var e=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(s).forEach(function(n){var i=Object.getOwnPropertyDescriptor(s,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return s[n]}})}),e}var Xa=function(s){return s&&s.Math===Math&&s},Qn=Xa(typeof globalThis=="object"&&globalThis)||Xa(typeof window=="object"&&window)||Xa(typeof self=="object"&&self)||Xa(typeof go=="object"&&go)||Xa(typeof go=="object"&&go)||function(){return this}()||Function("return this")(),Hm={},_s=function(s){try{return!!s()}catch{return!0}},M1=_s,Qr=!M1(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),D1=_s,Hv=!D1(function(){var s=(function(){}).bind();return typeof s!="function"||s.hasOwnProperty("prototype")}),O1=Hv,eu=Function.prototype.call,zm=O1?eu.bind(eu):function(){return eu.apply(eu,arguments)},zv={},Vv={}.propertyIsEnumerable,Gv=Object.getOwnPropertyDescriptor,N1=Gv&&!Vv.call({1:2},1);zv.f=N1?function(t){var e=Gv(this,t);return!!e&&e.enumerable}:Vv;var Wv=function(s,t){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:t}},qv=Hv,Xv=Function.prototype,ng=Xv.call,B1=qv&&Xv.bind.bind(ng,ng),Hi=qv?B1:function(s){return function(){return ng.apply(s,arguments)}},Yv=Hi,$1=Yv({}.toString),j1=Yv("".slice),U1=function(s){return j1($1(s),8,-1)},H1=Hi,z1=_s,V1=U1,Cp=Object,G1=H1("".split),W1=z1(function(){return!Cp("z").propertyIsEnumerable(0)})?function(s){return V1(s)==="String"?G1(s,""):Cp(s)}:Cp,Kv=function(s){return s==null},q1=Kv,X1=TypeError,Zv=function(s){if(q1(s))throw new X1("Can't call method on "+s);return s},Y1=W1,K1=Zv,Vm=function(s){return Y1(K1(s))},Tp=typeof document=="object"&&document.all,ti=typeof Tp>"u"&&Tp!==void 0?function(s){return typeof s=="function"||s===Tp}:function(s){return typeof s=="function"},Z1=ti,Hh=function(s){return typeof s=="object"?s!==null:Z1(s)},Pp=Qn,J1=ti,Q1=function(s){return J1(s)?s:void 0},Jv=function(s,t){return arguments.length<2?Q1(Pp[s]):Pp[s]&&Pp[s][t]},tA=Hi,eA=tA({}.isPrototypeOf),nA=typeof navigator<"u"&&String(navigator.userAgent)||"",Qv=Qn,Rp=nA,E0=Qv.process,_0=Qv.Deno,x0=E0&&E0.versions||_0&&_0.version,S0=x0&&x0.v8,Sn,qu;S0&&(Sn=S0.split("."),qu=Sn[0]>0&&Sn[0]<4?1:+(Sn[0]+Sn[1]));!qu&&Rp&&(Sn=Rp.match(/Edge\/(\d+)/),(!Sn||Sn[1]>=74)&&(Sn=Rp.match(/Chrome\/(\d+)/),Sn&&(qu=+Sn[1])));var iA=qu,C0=iA,sA=_s,rA=Qn,oA=rA.String,ty=!!Object.getOwnPropertySymbols&&!sA(function(){var s=Symbol("symbol detection");return!oA(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&C0&&C0<41}),aA=ty,ey=aA&&!Symbol.sham&&typeof Symbol.iterator=="symbol",lA=Jv,cA=ti,hA=eA,uA=ey,dA=Object,ny=uA?function(s){return typeof s=="symbol"}:function(s){var t=lA("Symbol");return cA(t)&&hA(t.prototype,dA(s))},fA=String,pA=function(s){try{return fA(s)}catch{return"Object"}},gA=ti,mA=pA,vA=TypeError,iy=function(s){if(gA(s))return s;throw new vA(mA(s)+" is not a function")},yA=iy,bA=Kv,wA=function(s,t){var e=s[t];return bA(e)?void 0:yA(e)},Lp=zm,kp=ti,Ip=Hh,AA=TypeError,EA=function(s,t){var e,n;if(t==="string"&&kp(e=s.toString)&&!Ip(n=Lp(e,s))||kp(e=s.valueOf)&&!Ip(n=Lp(e,s))||t!=="string"&&kp(e=s.toString)&&!Ip(n=Lp(e,s)))return n;throw new AA("Can't convert object to primitive value")},sy={exports:{}},T0=Qn,_A=Object.defineProperty,Gm=function(s,t){try{_A(T0,s,{value:t,configurable:!0,writable:!0})}catch{T0[s]=t}return t},xA=Qn,SA=Gm,P0="__core-js_shared__",R0=sy.exports=xA[P0]||SA(P0,{});(R0.versions||(R0.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Wm=sy.exports,L0=Wm,ry=function(s,t){return L0[s]||(L0[s]=t||{})},CA=Zv,TA=Object,PA=function(s){return TA(CA(s))},RA=Hi,LA=PA,kA=RA({}.hasOwnProperty),to=Object.hasOwn||function(t,e){return kA(LA(t),e)},IA=Hi,FA=0,MA=Math.random(),DA=IA(1 .toString),oy=function(s){return"Symbol("+(s===void 0?"":s)+")_"+DA(++FA+MA,36)},OA=Qn,NA=ry,k0=to,BA=oy,$A=ty,jA=ey,mo=OA.Symbol,Fp=NA("wks"),UA=jA?mo.for||mo:mo&&mo.withoutSetter||BA,HA=function(s){return k0(Fp,s)||(Fp[s]=$A&&k0(mo,s)?mo[s]:UA("Symbol."+s)),Fp[s]},zA=zm,I0=Hh,F0=ny,VA=wA,GA=EA,WA=HA,qA=TypeError,XA=WA("toPrimitive"),YA=function(s,t){if(!I0(s)||F0(s))return s;var e=VA(s,XA),n;if(e){if(t===void 0&&(t="default"),n=zA(e,s,t),!I0(n)||F0(n))return n;throw new qA("Can't convert object to primitive value")}return t===void 0&&(t="number"),GA(s,t)},KA=YA,ZA=ny,ay=function(s){var t=KA(s,"string");return ZA(t)?t:t+""},JA=Qn,M0=Hh,ig=JA.document,QA=M0(ig)&&M0(ig.createElement),tE=function(s){return QA?ig.createElement(s):{}},eE=Qr,nE=_s,iE=tE,ly=!eE&&!nE(function(){return Object.defineProperty(iE("div"),"a",{get:function(){return 7}}).a!==7}),sE=Qr,rE=zm,oE=zv,aE=Wv,lE=Vm,cE=ay,hE=to,uE=ly,D0=Object.getOwnPropertyDescriptor;Hm.f=sE?D0:function(t,e){if(t=lE(t),e=cE(e),uE)try{return D0(t,e)}catch{}if(hE(t,e))return aE(!rE(oE.f,t,e),t[e])};var Wf={},dE=Qr,fE=_s,pE=dE&&fE(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),gE=Hh,mE=String,vE=TypeError,cy=function(s){if(gE(s))return s;throw new vE(mE(s)+" is not an object")},yE=Qr,bE=ly,wE=pE,nu=cy,O0=ay,AE=TypeError,Mp=Object.defineProperty,EE=Object.getOwnPropertyDescriptor,Dp="enumerable",Op="configurable",Np="writable";Wf.f=yE?wE?function(t,e,n){if(nu(t),e=O0(e),nu(n),typeof t=="function"&&e==="prototype"&&"value"in n&&Np in n&&!n[Np]){var i=EE(t,e);i&&i[Np]&&(t[e]=n.value,n={configurable:Op in n?n[Op]:i[Op],enumerable:Dp in n?n[Dp]:i[Dp],writable:!1})}return Mp(t,e,n)}:Mp:function(t,e,n){if(nu(t),e=O0(e),nu(n),bE)try{return Mp(t,e,n)}catch{}if("get"in n||"set"in n)throw new AE("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var _E=Qr,xE=Wf,SE=Wv,hy=_E?function(s,t,e){return xE.f(s,t,SE(1,e))}:function(s,t,e){return s[t]=e,s},uy={exports:{}},sg=Qr,CE=to,dy=Function.prototype,TE=sg&&Object.getOwnPropertyDescriptor,qm=CE(dy,"name"),PE=qm&&(function(){}).name==="something",RE=qm&&(!sg||sg&&TE(dy,"name").configurable),LE={EXISTS:qm,PROPER:PE,CONFIGURABLE:RE},kE=Hi,IE=ti,rg=Wm,FE=kE(Function.toString);IE(rg.inspectSource)||(rg.inspectSource=function(s){return FE(s)});var ME=rg.inspectSource,DE=Qn,OE=ti,N0=DE.WeakMap,NE=OE(N0)&&/native code/.test(String(N0)),BE=ry,$E=oy,B0=BE("keys"),jE=function(s){return B0[s]||(B0[s]=$E(s))},fy={},UE=NE,py=Qn,HE=Hh,zE=hy,Bp=to,$p=Wm,VE=jE,GE=fy,$0="Object already initialized",og=py.TypeError,WE=py.WeakMap,Xu,yl,Yu,qE=function(s){return Yu(s)?yl(s):Xu(s,{})},XE=function(s){return function(t){var e;if(!HE(t)||(e=yl(t)).type!==s)throw new og("Incompatible receiver, "+s+" required");return e}};if(UE||$p.state){var Tn=$p.state||($p.state=new WE);Tn.get=Tn.get,Tn.has=Tn.has,Tn.set=Tn.set,Xu=function(s,t){if(Tn.has(s))throw new og($0);return t.facade=s,Tn.set(s,t),t},yl=function(s){return Tn.get(s)||{}},Yu=function(s){return Tn.has(s)}}else{var ro=VE("state");GE[ro]=!0,Xu=function(s,t){if(Bp(s,ro))throw new og($0);return t.facade=s,zE(s,ro,t),t},yl=function(s){return Bp(s,ro)?s[ro]:{}},Yu=function(s){return Bp(s,ro)}}var YE={set:Xu,get:yl,has:Yu,enforce:qE,getterFor:XE},Xm=Hi,KE=_s,ZE=ti,iu=to,ag=Qr,JE=LE.CONFIGURABLE,QE=ME,gy=YE,t_=gy.enforce,e_=gy.get,j0=String,gu=Object.defineProperty,n_=Xm("".slice),i_=Xm("".replace),s_=Xm([].join),r_=ag&&!KE(function(){return gu(function(){},"length",{value:8}).length!==8}),o_=String(String).split("String"),a_=uy.exports=function(s,t,e){n_(j0(t),0,7)==="Symbol("&&(t="["+i_(j0(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!iu(s,"name")||JE&&s.name!==t)&&(ag?gu(s,"name",{value:t,configurable:!0}):s.name=t),r_&&e&&iu(e,"arity")&&s.length!==e.arity&&gu(s,"length",{value:e.arity});try{e&&iu(e,"constructor")&&e.constructor?ag&&gu(s,"prototype",{writable:!1}):s.prototype&&(s.prototype=void 0)}catch{}var n=t_(s);return iu(n,"source")||(n.source=s_(o_,typeof t=="string"?t:"")),s};Function.prototype.toString=a_(function(){return ZE(this)&&e_(this).source||QE(this)},"toString");var l_=uy.exports,c_=ti,h_=Wf,u_=l_,d_=Gm,f_=function(s,t,e,n){n||(n={});var i=n.enumerable,r=n.name!==void 0?n.name:t;if(c_(e)&&u_(e,r,n),n.global)i?s[t]=e:d_(t,e);else{try{n.unsafe?s[t]&&(i=!0):delete s[t]}catch{}i?s[t]=e:h_.f(s,t,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return s},my={},p_=Math.ceil,g_=Math.floor,m_=Math.trunc||function(t){var e=+t;return(e>0?g_:p_)(e)},v_=m_,vy=function(s){var t=+s;return t!==t||t===0?0:v_(t)},y_=vy,b_=Math.max,w_=Math.min,A_=function(s,t){var e=y_(s);return e<0?b_(e+t,0):w_(e,t)},E_=vy,__=Math.min,x_=function(s){var t=E_(s);return t>0?__(t,9007199254740991):0},S_=x_,C_=function(s){return S_(s.length)},T_=Vm,P_=A_,R_=C_,U0=function(s){return function(t,e,n){var i=T_(t),r=R_(i);if(r===0)return!s&&-1;var o=P_(n,r),l;if(s&&e!==e){for(;r>o;)if(l=i[o++],l!==l)return!0}else for(;r>o;o++)if((s||o in i)&&i[o]===e)return s||o||0;return!s&&-1}},L_={includes:U0(!0),indexOf:U0(!1)},k_=Hi,jp=to,I_=Vm,F_=L_.indexOf,M_=fy,H0=k_([].push),D_=function(s,t){var e=I_(s),n=0,i=[],r;for(r in e)!jp(M_,r)&&jp(e,r)&&H0(i,r);for(;t.length>n;)jp(e,r=t[n++])&&(~F_(i,r)||H0(i,r));return i},O_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],N_=D_,B_=O_,$_=B_.concat("length","prototype");my.f=Object.getOwnPropertyNames||function(t){return N_(t,$_)};var yy={};yy.f=Object.getOwnPropertySymbols;var j_=Jv,U_=Hi,H_=my,z_=yy,V_=cy,G_=U_([].concat),W_=j_("Reflect","ownKeys")||function(t){var e=H_.f(V_(t)),n=z_.f;return n?G_(e,n(t)):e},z0=to,q_=W_,X_=Hm,Y_=Wf,K_=function(s,t,e){for(var n=q_(t),i=Y_.f,r=X_.f,o=0;o<n.length;o++){var l=n[o];!z0(s,l)&&!(e&&z0(e,l))&&i(s,l,r(t,l))}},Z_=_s,J_=ti,Q_=/#|\.prototype\./,zh=function(s,t){var e=ex[tx(s)];return e===ix?!0:e===nx?!1:J_(t)?Z_(t):!!t},tx=zh.normalize=function(s){return String(s).replace(Q_,".").toLowerCase()},ex=zh.data={},nx=zh.NATIVE="N",ix=zh.POLYFILL="P",sx=zh,su=Qn,rx=Hm.f,ox=hy,ax=f_,lx=Gm,cx=K_,hx=sx,ux=function(s,t){var e=s.target,n=s.global,i=s.stat,r,o,l,c,u,h;if(n?o=su:i?o=su[e]||lx(e,{}):o=su[e]&&su[e].prototype,o)for(l in t){if(u=t[l],s.dontCallGetSet?(h=rx(o,l),c=h&&h.value):c=o[l],r=hx(n?l:e+(i?".":"#")+l,s.forced),!r&&c!==void 0){if(typeof u==typeof c)continue;cx(u,c)}(s.sham||c&&c.sham)&&ox(u,"sham",!0),ax(o,l,u,s)}},by={},V0=iy,dx=TypeError,fx=function(s){var t,e;this.promise=new s(function(n,i){if(t!==void 0||e!==void 0)throw new dx("Bad Promise constructor");t=n,e=i}),this.resolve=V0(t),this.reject=V0(e)};by.f=function(s){return new fx(s)};var px=ux,gx=by;px({target:"Promise",stat:!0},{withResolvers:function(){var t=gx.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});function mx(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var wy={exports:{}},Qt=wy.exports={},Rn,Ln;function lg(){throw new Error("setTimeout has not been defined")}function cg(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Rn=setTimeout:Rn=lg}catch{Rn=lg}try{typeof clearTimeout=="function"?Ln=clearTimeout:Ln=cg}catch{Ln=cg}})();function Ay(s){if(Rn===setTimeout)return setTimeout(s,0);if((Rn===lg||!Rn)&&setTimeout)return Rn=setTimeout,setTimeout(s,0);try{return Rn(s,0)}catch{try{return Rn.call(null,s,0)}catch{return Rn.call(this,s,0)}}}function vx(s){if(Ln===clearTimeout)return clearTimeout(s);if((Ln===cg||!Ln)&&clearTimeout)return Ln=clearTimeout,clearTimeout(s);try{return Ln(s)}catch{try{return Ln.call(null,s)}catch{return Ln.call(this,s)}}}var Oi=[],yo=!1,Ds,mu=-1;function yx(){!yo||!Ds||(yo=!1,Ds.length?Oi=Ds.concat(Oi):mu=-1,Oi.length&&Ey())}function Ey(){if(!yo){var s=Ay(yx);yo=!0;for(var t=Oi.length;t;){for(Ds=Oi,Oi=[];++mu<t;)Ds&&Ds[mu].run();mu=-1,t=Oi.length}Ds=null,yo=!1,vx(s)}}Qt.nextTick=function(s){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];Oi.push(new _y(s,t)),Oi.length===1&&!yo&&Ay(Ey)};function _y(s,t){this.fun=s,this.array=t}_y.prototype.run=function(){this.fun.apply(null,this.array)};Qt.title="browser";Qt.browser=!0;Qt.env={};Qt.argv=[];Qt.version="";Qt.versions={};function zi(){}Qt.on=zi;Qt.addListener=zi;Qt.once=zi;Qt.off=zi;Qt.removeListener=zi;Qt.removeAllListeners=zi;Qt.emit=zi;Qt.prependListener=zi;Qt.prependOnceListener=zi;Qt.listeners=function(s){return[]};Qt.binding=function(s){throw new Error("process.binding is not supported")};Qt.cwd=function(){return"/"};Qt.chdir=function(s){throw new Error("process.chdir is not supported")};Qt.umask=function(){return 0};var bx=wy.exports;const ct=mx(bx);var Te=function(){return Te=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Te.apply(this,arguments)};function Wr(s,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,r;n<i;n++)(r||!(n in t))&&(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return s.concat(r||Array.prototype.slice.call(t))}function wx(s){var t=Object.create(null);return function(e){return t[e]===void 0&&(t[e]=s(e)),t[e]}}var Ax=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ex=wx(function(s){return Ax.test(s)||s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&s.charCodeAt(2)<91}),Ut="-ms-",pl="-moz-",Rt="-webkit-",xy="comm",qf="rule",Ym="decl",_x="@import",Sy="@keyframes",xx="@layer",Cy=Math.abs,Km=String.fromCharCode,hg=Object.assign;function Sx(s,t){return pe(s,0)^45?(((t<<2^pe(s,0))<<2^pe(s,1))<<2^pe(s,2))<<2^pe(s,3):0}function Ty(s){return s.trim()}function si(s,t){return(s=t.exec(s))?s[0]:s}function gt(s,t,e){return s.replace(t,e)}function vu(s,t,e){return s.indexOf(t,e)}function pe(s,t){return s.charCodeAt(t)|0}function $a(s,t,e){return s.slice(t,e)}function Kn(s){return s.length}function Py(s){return s.length}function Ja(s,t){return t.push(s),s}function Cx(s,t){return s.map(t).join("")}function G0(s,t){return s.filter(function(e){return!si(e,t)})}var Xf=1,ja=1,Ry=0,un=0,ee=0,Ga="";function Yf(s,t,e,n,i,r,o,l){return{value:s,root:t,parent:e,type:n,props:i,children:r,line:Xf,column:ja,length:o,return:"",siblings:l}}function Vi(s,t){return hg(Yf("",null,null,"",null,null,0,s.siblings),s,{length:-s.length},t)}function oo(s){for(;s.root;)s=Vi(s.root,{children:[s]});Ja(s,s.siblings)}function Tx(){return ee}function Px(){return ee=un>0?pe(Ga,--un):0,ja--,ee===10&&(ja=1,Xf--),ee}function Cn(){return ee=un<Ry?pe(Ga,un++):0,ja++,ee===10&&(ja=1,Xf++),ee}function Vr(){return pe(Ga,un)}function yu(){return un}function Kf(s,t){return $a(Ga,s,t)}function ug(s){switch(s){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Rx(s){return Xf=ja=1,Ry=Kn(Ga=s),un=0,[]}function Lx(s){return Ga="",s}function Up(s){return Ty(Kf(un-1,dg(s===91?s+2:s===40?s+1:s)))}function kx(s){for(;(ee=Vr())&&ee<33;)Cn();return ug(s)>2||ug(ee)>3?"":" "}function Ix(s,t){for(;--t&&Cn()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return Kf(s,yu()+(t<6&&Vr()==32&&Cn()==32))}function dg(s){for(;Cn();)switch(ee){case s:return un;case 34:case 39:s!==34&&s!==39&&dg(ee);break;case 40:s===41&&dg(s);break;case 92:Cn();break}return un}function Fx(s,t){for(;Cn()&&s+ee!==57;)if(s+ee===84&&Vr()===47)break;return"/*"+Kf(t,un-1)+"*"+Km(s===47?s:Cn())}function Mx(s){for(;!ug(Vr());)Cn();return Kf(s,un)}function Dx(s){return Lx(bu("",null,null,null,[""],s=Rx(s),0,[0],s))}function bu(s,t,e,n,i,r,o,l,c){for(var u=0,h=0,f=o,g=0,v=0,y=0,E=1,S=1,_=1,P=0,L="",k=i,F=r,I=n,M=L;S;)switch(y=P,P=Cn()){case 40:if(y!=108&&pe(M,f-1)==58){vu(M+=gt(Up(P),"&","&\f"),"&\f",Cy(u?l[u-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:M+=Up(P);break;case 9:case 10:case 13:case 32:M+=kx(y);break;case 92:M+=Ix(yu()-1,7);continue;case 47:switch(Vr()){case 42:case 47:Ja(Ox(Fx(Cn(),yu()),t,e,c),c);break;default:M+="/"}break;case 123*E:l[u++]=Kn(M)*_;case 125*E:case 59:case 0:switch(P){case 0:case 125:S=0;case 59+h:_==-1&&(M=gt(M,/\f/g,"")),v>0&&Kn(M)-f&&Ja(v>32?q0(M+";",n,e,f-1,c):q0(gt(M," ","")+";",n,e,f-2,c),c);break;case 59:M+=";";default:if(Ja(I=W0(M,t,e,u,h,i,l,L,k=[],F=[],f,r),r),P===123)if(h===0)bu(M,t,I,I,k,r,f,l,F);else switch(g===99&&pe(M,3)===110?100:g){case 100:case 108:case 109:case 115:bu(s,I,I,n&&Ja(W0(s,I,I,0,0,i,l,L,i,k=[],f,F),F),i,F,f,l,n?k:F);break;default:bu(M,I,I,I,[""],F,0,l,F)}}u=h=v=0,E=_=1,L=M="",f=o;break;case 58:f=1+Kn(M),v=y;default:if(E<1){if(P==123)--E;else if(P==125&&E++==0&&Px()==125)continue}switch(M+=Km(P),P*E){case 38:_=h>0?1:(M+="\f",-1);break;case 44:l[u++]=(Kn(M)-1)*_,_=1;break;case 64:Vr()===45&&(M+=Up(Cn())),g=Vr(),h=f=Kn(L=M+=Mx(yu())),P++;break;case 45:y===45&&Kn(M)==2&&(E=0)}}return r}function W0(s,t,e,n,i,r,o,l,c,u,h,f){for(var g=i-1,v=i===0?r:[""],y=Py(v),E=0,S=0,_=0;E<n;++E)for(var P=0,L=$a(s,g+1,g=Cy(S=o[E])),k=s;P<y;++P)(k=Ty(S>0?v[P]+" "+L:gt(L,/&\f/g,v[P])))&&(c[_++]=k);return Yf(s,t,e,i===0?qf:l,c,u,h,f)}function Ox(s,t,e,n){return Yf(s,t,e,xy,Km(Tx()),$a(s,2,-2),0,n)}function q0(s,t,e,n,i){return Yf(s,t,e,Ym,$a(s,0,n),$a(s,n+1,-1),n,i)}function Ly(s,t,e){switch(Sx(s,t)){case 5103:return Rt+"print-"+s+s;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Rt+s+s;case 4789:return pl+s+s;case 5349:case 4246:case 4810:case 6968:case 2756:return Rt+s+pl+s+Ut+s+s;case 5936:switch(pe(s,t+11)){case 114:return Rt+s+Ut+gt(s,/[svh]\w+-[tblr]{2}/,"tb")+s;case 108:return Rt+s+Ut+gt(s,/[svh]\w+-[tblr]{2}/,"tb-rl")+s;case 45:return Rt+s+Ut+gt(s,/[svh]\w+-[tblr]{2}/,"lr")+s}case 6828:case 4268:case 2903:return Rt+s+Ut+s+s;case 6165:return Rt+s+Ut+"flex-"+s+s;case 5187:return Rt+s+gt(s,/(\w+).+(:[^]+)/,Rt+"box-$1$2"+Ut+"flex-$1$2")+s;case 5443:return Rt+s+Ut+"flex-item-"+gt(s,/flex-|-self/g,"")+(si(s,/flex-|baseline/)?"":Ut+"grid-row-"+gt(s,/flex-|-self/g,""))+s;case 4675:return Rt+s+Ut+"flex-line-pack"+gt(s,/align-content|flex-|-self/g,"")+s;case 5548:return Rt+s+Ut+gt(s,"shrink","negative")+s;case 5292:return Rt+s+Ut+gt(s,"basis","preferred-size")+s;case 6060:return Rt+"box-"+gt(s,"-grow","")+Rt+s+Ut+gt(s,"grow","positive")+s;case 4554:return Rt+gt(s,/([^-])(transform)/g,"$1"+Rt+"$2")+s;case 6187:return gt(gt(gt(s,/(zoom-|grab)/,Rt+"$1"),/(image-set)/,Rt+"$1"),s,"")+s;case 5495:case 3959:return gt(s,/(image-set\([^]*)/,Rt+"$1$`$1");case 4968:return gt(gt(s,/(.+:)(flex-)?(.*)/,Rt+"box-pack:$3"+Ut+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Rt+s+s;case 4200:if(!si(s,/flex-|baseline/))return Ut+"grid-column-align"+$a(s,t)+s;break;case 2592:case 3360:return Ut+gt(s,"template-","")+s;case 4384:case 3616:return e&&e.some(function(n,i){return t=i,si(n.props,/grid-\w+-end/)})?~vu(s+(e=e[t].value),"span",0)?s:Ut+gt(s,"-start","")+s+Ut+"grid-row-span:"+(~vu(e,"span",0)?si(e,/\d+/):+si(e,/\d+/)-+si(s,/\d+/))+";":Ut+gt(s,"-start","")+s;case 4896:case 4128:return e&&e.some(function(n){return si(n.props,/grid-\w+-start/)})?s:Ut+gt(gt(s,"-end","-span"),"span ","")+s;case 4095:case 3583:case 4068:case 2532:return gt(s,/(.+)-inline(.+)/,Rt+"$1$2")+s;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kn(s)-1-t>6)switch(pe(s,t+1)){case 109:if(pe(s,t+4)!==45)break;case 102:return gt(s,/(.+:)(.+)-([^]+)/,"$1"+Rt+"$2-$3$1"+pl+(pe(s,t+3)==108?"$3":"$2-$3"))+s;case 115:return~vu(s,"stretch",0)?Ly(gt(s,"stretch","fill-available"),t,e)+s:s}break;case 5152:case 5920:return gt(s,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,i,r,o,l,c,u){return Ut+i+":"+r+u+(o?Ut+i+"-span:"+(l?c:+c-+r)+u:"")+s});case 4949:if(pe(s,t+6)===121)return gt(s,":",":"+Rt)+s;break;case 6444:switch(pe(s,pe(s,14)===45?18:11)){case 120:return gt(s,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Rt+(pe(s,14)===45?"inline-":"")+"box$3$1"+Rt+"$2$3$1"+Ut+"$2box$3")+s;case 100:return gt(s,":",":"+Ut)+s}break;case 5719:case 2647:case 2135:case 3927:case 2391:return gt(s,"scroll-","scroll-snap-")+s}return s}function Ku(s,t){for(var e="",n=0;n<s.length;n++)e+=t(s[n],n,s,t)||"";return e}function Nx(s,t,e,n){switch(s.type){case xx:if(s.children.length)break;case _x:case Ym:return s.return=s.return||s.value;case xy:return"";case Sy:return s.return=s.value+"{"+Ku(s.children,n)+"}";case qf:if(!Kn(s.value=s.props.join(",")))return""}return Kn(e=Ku(s.children,n))?s.return=s.value+"{"+e+"}":""}function Bx(s){var t=Py(s);return function(e,n,i,r){for(var o="",l=0;l<t;l++)o+=s[l](e,n,i,r)||"";return o}}function $x(s){return function(t){t.root||(t=t.return)&&s(t)}}function jx(s,t,e,n){if(s.length>-1&&!s.return)switch(s.type){case Ym:s.return=Ly(s.value,s.length,e);return;case Sy:return Ku([Vi(s,{value:gt(s.value,"@","@"+Rt)})],n);case qf:if(s.length)return Cx(e=s.props,function(i){switch(si(i,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":oo(Vi(s,{props:[gt(i,/:(read-\w+)/,":"+pl+"$1")]})),oo(Vi(s,{props:[i]})),hg(s,{props:G0(e,n)});break;case"::placeholder":oo(Vi(s,{props:[gt(i,/:(plac\w+)/,":"+Rt+"input-$1")]})),oo(Vi(s,{props:[gt(i,/:(plac\w+)/,":"+pl+"$1")]})),oo(Vi(s,{props:[gt(i,/:(plac\w+)/,Ut+"input-$1")]})),oo(Vi(s,{props:[i]})),hg(s,{props:G0(e,n)});break}return""})}}var Ux={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},qr=typeof ct<"u"&&ct.env!==void 0&&(ct.env.REACT_APP_SC_ATTR||ct.env.SC_ATTR)||"data-styled",ky="active",Iy="data-styled-version",Zf="6.1.11",Zm=`/*!sc*/
`,Jm=typeof window<"u"&&"HTMLElement"in window,Hx=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof ct<"u"&&ct.env!==void 0&&ct.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&ct.env.REACT_APP_SC_DISABLE_SPEEDY!==""?ct.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&ct.env.REACT_APP_SC_DISABLE_SPEEDY:typeof ct<"u"&&ct.env!==void 0&&ct.env.SC_DISABLE_SPEEDY!==void 0&&ct.env.SC_DISABLE_SPEEDY!==""?ct.env.SC_DISABLE_SPEEDY!=="false"&&ct.env.SC_DISABLE_SPEEDY:ct.env.NODE_ENV!=="production"),X0=/invalid hook call/i,ru=new Set,zx=function(s,t){if(ct.env.NODE_ENV!=="production"){var e=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(s).concat(e,` has been created dynamically.
`)+`You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var r=!0;console.error=function(o){for(var l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];X0.test(o)?(r=!1,ru.delete(n)):i.apply(void 0,Wr([o],l,!1))},U.useRef(),r&&!ru.has(n)&&(console.warn(n),ru.add(n))}catch(o){X0.test(o.message)&&ru.delete(n)}finally{console.error=i}}},Jf=Object.freeze([]),Ua=Object.freeze({});function Vx(s,t,e){return e===void 0&&(e=Ua),s.theme!==e.theme&&s.theme||t||e.theme}var fg=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Gx=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Wx=/(^-|-$)/g;function Y0(s){return s.replace(Gx,"-").replace(Wx,"")}var qx=/(a)(d)/gi,ou=52,K0=function(s){return String.fromCharCode(s+(s>25?39:97))};function pg(s){var t,e="";for(t=Math.abs(s);t>ou;t=t/ou|0)e=K0(t%ou)+e;return(K0(t%ou)+e).replace(qx,"$1-$2")}var Hp,Fy=5381,Is=function(s,t){for(var e=t.length;e;)s=33*s^t.charCodeAt(--e);return s},My=function(s){return Is(Fy,s)};function Dy(s){return pg(My(s)>>>0)}function Oy(s){return ct.env.NODE_ENV!=="production"&&typeof s=="string"&&s||s.displayName||s.name||"Component"}function zp(s){return typeof s=="string"&&(ct.env.NODE_ENV==="production"||s.charAt(0)===s.charAt(0).toLowerCase())}var Ny=typeof Symbol=="function"&&Symbol.for,By=Ny?Symbol.for("react.memo"):60115,Xx=Ny?Symbol.for("react.forward_ref"):60112,Yx={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Kx={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$y={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zx=((Hp={})[Xx]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Hp[By]=$y,Hp);function Z0(s){return("type"in(t=s)&&t.type.$$typeof)===By?$y:"$$typeof"in s?Zx[s.$$typeof]:Yx;var t}var Jx=Object.defineProperty,Qx=Object.getOwnPropertyNames,J0=Object.getOwnPropertySymbols,tS=Object.getOwnPropertyDescriptor,eS=Object.getPrototypeOf,Q0=Object.prototype;function jy(s,t,e){if(typeof t!="string"){if(Q0){var n=eS(t);n&&n!==Q0&&jy(s,n,e)}var i=Qx(t);J0&&(i=i.concat(J0(t)));for(var r=Z0(s),o=Z0(t),l=0;l<i.length;++l){var c=i[l];if(!(c in Kx||e&&e[c]||o&&c in o||r&&c in r)){var u=tS(t,c);try{Jx(s,c,u)}catch{}}}}return s}function Xr(s){return typeof s=="function"}function Qm(s){return typeof s=="object"&&"styledComponentId"in s}function Os(s,t){return s&&t?"".concat(s," ").concat(t):s||t||""}function gg(s,t){if(s.length===0)return"";for(var e=s[0],n=1;n<s.length;n++)e+=s[n];return e}function Ha(s){return s!==null&&typeof s=="object"&&s.constructor.name===Object.name&&!("props"in s&&s.$$typeof)}function mg(s,t,e){if(e===void 0&&(e=!1),!e&&!Ha(s)&&!Array.isArray(s))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)s[n]=mg(s[n],t[n]);else if(Ha(t))for(var n in t)s[n]=mg(s[n],t[n]);return s}function t0(s,t){Object.defineProperty(s,"toString",{value:t})}var nS=ct.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
- Are you trying to reuse it across renders?
- Are you accidentally calling collectStyles twice?
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
- Does this error occur on the client and is your target falsy?
- Does this error occur on the server and is the sheet falsy?
`,5:`The clone method cannot be used on the client!
- Are you running in a client-like environment on the server?
- Are you trying to run SSR on the client?
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
- Are you using a custom target that isn't mounted?
- Does your document not have a valid head element?
- Have you accidentally removed a style tag manually?
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
`,14:`ThemeProvider: "theme" prop is required.
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
as for instance in your render method then you may be running into this limitation.
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
Has styled-components' style tag been unmounted or altered by another script?
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function iS(){for(var s=[],t=0;t<arguments.length;t++)s[t]=arguments[t];for(var e=s[0],n=[],i=1,r=s.length;i<r;i+=1)n.push(s[i]);return n.forEach(function(o){e=e.replace(/%[a-z]/,o)}),e}function Bi(s){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return ct.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(s," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(iS.apply(void 0,Wr([nS[s]],t,!1)).trim())}var sS=function(){function s(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return s.prototype.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},s.prototype.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,r=i;t>=r;)if((r<<=1)<0)throw Bi(16,"".concat(t));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var o=i;o<r;o++)this.groupSizes[o]=0}for(var l=this.indexOfGroup(t+1),c=(o=0,e.length);o<c;o++)this.tag.insertRule(l,e[o])&&(this.groupSizes[t]++,l++)},s.prototype.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),i=n+e;this.groupSizes[t]=0;for(var r=n;r<i;r++)this.tag.deleteRule(n)}},s.prototype.getGroup=function(t){var e="";if(t>=this.length||this.groupSizes[t]===0)return e;for(var n=this.groupSizes[t],i=this.indexOfGroup(t),r=i+n,o=i;o<r;o++)e+="".concat(this.tag.getRule(o)).concat(Zm);return e},s}(),rS=1<<30,wu=new Map,Zu=new Map,Au=1,au=function(s){if(wu.has(s))return wu.get(s);for(;Zu.has(Au);)Au++;var t=Au++;if(ct.env.NODE_ENV!=="production"&&((0|t)<0||t>rS))throw Bi(16,"".concat(t));return wu.set(s,t),Zu.set(t,s),t},oS=function(s,t){Au=t+1,wu.set(s,t),Zu.set(t,s)},aS="style[".concat(qr,"][").concat(Iy,'="').concat(Zf,'"]'),lS=new RegExp("^".concat(qr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),cS=function(s,t,e){for(var n,i=e.split(","),r=0,o=i.length;r<o;r++)(n=i[r])&&s.registerName(t,n)},hS=function(s,t){for(var e,n=((e=t.textContent)!==null&&e!==void 0?e:"").split(Zm),i=[],r=0,o=n.length;r<o;r++){var l=n[r].trim();if(l){var c=l.match(lS);if(c){var u=0|parseInt(c[1],10),h=c[2];u!==0&&(oS(h,u),cS(s,h,c[3]),s.getTag().insertRules(u,i)),i.length=0}else i.push(l)}}};function uS(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Uy=function(s){var t=document.head,e=s||t,n=document.createElement("style"),i=function(l){var c=Array.from(l.querySelectorAll("style[".concat(qr,"]")));return c[c.length-1]}(e),r=i!==void 0?i.nextSibling:null;n.setAttribute(qr,ky),n.setAttribute(Iy,Zf);var o=uS();return o&&n.setAttribute("nonce",o),e.insertBefore(n,r),n},dS=function(){function s(t){this.element=Uy(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var n=document.styleSheets,i=0,r=n.length;i<r;i++){var o=n[i];if(o.ownerNode===e)return o}throw Bi(17)}(this.element),this.length=0}return s.prototype.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch{return!1}},s.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},s.prototype.getRule=function(t){var e=this.sheet.cssRules[t];return e&&e.cssText?e.cssText:""},s}(),fS=function(){function s(t){this.element=Uy(t),this.nodes=this.element.childNodes,this.length=0}return s.prototype.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},s.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},s.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},s}(),pS=function(){function s(t){this.rules=[],this.length=0}return s.prototype.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},s.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},s.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},s}(),tv=Jm,gS={isServer:!Jm,useCSSOMInjection:!Hx},Hy=function(){function s(t,e,n){t===void 0&&(t=Ua),e===void 0&&(e={});var i=this;this.options=Te(Te({},gS),t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Jm&&tv&&(tv=!1,function(r){for(var o=document.querySelectorAll(aS),l=0,c=o.length;l<c;l++){var u=o[l];u&&u.getAttribute(qr)!==ky&&(hS(r,u),u.parentNode&&u.parentNode.removeChild(u))}}(this)),t0(this,function(){return function(r){for(var o=r.getTag(),l=o.length,c="",u=function(f){var g=function(_){return Zu.get(_)}(f);if(g===void 0)return"continue";var v=r.names.get(g),y=o.getGroup(f);if(v===void 0||y.length===0)return"continue";var E="".concat(qr,".g").concat(f,'[id="').concat(g,'"]'),S="";v!==void 0&&v.forEach(function(_){_.length>0&&(S+="".concat(_,","))}),c+="".concat(y).concat(E,'{content:"').concat(S,'"}').concat(Zm)},h=0;h<l;h++)u(h);return c}(i)})}return s.registerId=function(t){return au(t)},s.prototype.reconstructWithOptions=function(t,e){return e===void 0&&(e=!0),new s(Te(Te({},this.options),t),this.gs,e&&this.names||void 0)},s.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},s.prototype.getTag=function(){return this.tag||(this.tag=(t=function(e){var n=e.useCSSOMInjection,i=e.target;return e.isServer?new pS(i):n?new dS(i):new fS(i)}(this.options),new sS(t)));var t},s.prototype.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},s.prototype.registerName=function(t,e){if(au(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},s.prototype.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(au(t),n)},s.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},s.prototype.clearRules=function(t){this.getTag().clearGroup(au(t)),this.clearNames(t)},s.prototype.clearTag=function(){this.tag=void 0},s}(),mS=/&/g,vS=/^\s*\/\/.*$/gm;function zy(s,t){return s.map(function(e){return e.type==="rule"&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(e.children)&&e.type!=="@keyframes"&&(e.children=zy(e.children,t)),e})}function yS(s){var t,e,n,i=Ua,r=i.options,o=r===void 0?Ua:r,l=i.plugins,c=l===void 0?Jf:l,u=function(g,v,y){return y.startsWith(e)&&y.endsWith(e)&&y.replaceAll(e,"").length>0?".".concat(t):g},h=c.slice();h.push(function(g){g.type===qf&&g.value.includes("&")&&(g.props[0]=g.props[0].replace(mS,e).replace(n,u))}),o.prefix&&h.push(jx),h.push(Nx);var f=function(g,v,y,E){v===void 0&&(v=""),y===void 0&&(y=""),E===void 0&&(E="&"),t=E,e=v,n=new RegExp("\\".concat(e,"\\b"),"g");var S=g.replace(vS,""),_=Dx(y||v?"".concat(y," ").concat(v," { ").concat(S," }"):S);o.namespace&&(_=zy(_,o.namespace));var P=[];return Ku(_,Bx(h.concat($x(function(L){return P.push(L)})))),P};return f.hash=c.length?c.reduce(function(g,v){return v.name||Bi(15),Is(g,v.name)},Fy).toString():"",f}var bS=new Hy,vg=yS(),Vy=U.createContext({shouldForwardProp:void 0,styleSheet:bS,stylis:vg});Vy.Consumer;U.createContext(void 0);function ev(){return U.useContext(Vy)}var yg=function(){function s(t,e){var n=this;this.inject=function(i,r){r===void 0&&(r=vg);var o=n.name+r.hash;i.hasNameForId(n.id,o)||i.insertRules(n.id,o,r(n.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=e,t0(this,function(){throw Bi(12,String(n.name))})}return s.prototype.getName=function(t){return t===void 0&&(t=vg),this.name+t.hash},s}(),wS=function(s){return s>="A"&&s<="Z"};function nv(s){for(var t="",e=0;e<s.length;e++){var n=s[e];if(e===1&&n==="-"&&s[0]==="-")return s;wS(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Gy=function(s){return s==null||s===!1||s===""},Wy=function(s){var t,e,n=[];for(var i in s){var r=s[i];s.hasOwnProperty(i)&&!Gy(r)&&(Array.isArray(r)&&r.isCss||Xr(r)?n.push("".concat(nv(i),":"),r,";"):Ha(r)?n.push.apply(n,Wr(Wr(["".concat(i," {")],Wy(r),!1),["}"],!1)):n.push("".concat(nv(i),": ").concat((t=i,(e=r)==null||typeof e=="boolean"||e===""?"":typeof e!="number"||e===0||t in Ux||t.startsWith("--")?String(e).trim():"".concat(e,"px")),";")))}return n};function Gr(s,t,e,n){if(Gy(s))return[];if(Qm(s))return[".".concat(s.styledComponentId)];if(Xr(s)){if(!Xr(r=s)||r.prototype&&r.prototype.isReactComponent||!t)return[s];var i=s(t);return ct.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof yg||Ha(i)||i===null||console.error("".concat(Oy(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.")),Gr(i,t,e,n)}var r;return s instanceof yg?e?(s.inject(e,n),[s.getName(n)]):[s]:Ha(s)?Wy(s):Array.isArray(s)?Array.prototype.concat.apply(Jf,s.map(function(o){return Gr(o,t,e,n)})):[s.toString()]}function AS(s){for(var t=0;t<s.length;t+=1){var e=s[t];if(Xr(e)&&!Qm(e))return!1}return!0}var ES=My(Zf),_S=function(){function s(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=ct.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&AS(t),this.componentId=e,this.baseHash=Is(ES,e),this.baseStyle=n,Hy.registerId(e)}return s.prototype.generateAndInjectStyles=function(t,e,n){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,e,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&e.hasNameForId(this.componentId,this.staticRulesId))i=Os(i,this.staticRulesId);else{var r=gg(Gr(this.rules,t,e,n)),o=pg(Is(this.baseHash,r)>>>0);if(!e.hasNameForId(this.componentId,o)){var l=n(r,".".concat(o),void 0,this.componentId);e.insertRules(this.componentId,o,l)}i=Os(i,o),this.staticRulesId=o}else{for(var c=Is(this.baseHash,n.hash),u="",h=0;h<this.rules.length;h++){var f=this.rules[h];if(typeof f=="string")u+=f,ct.env.NODE_ENV!=="production"&&(c=Is(c,f));else if(f){var g=gg(Gr(f,t,e,n));c=Is(c,g+h),u+=g}}if(u){var v=pg(c>>>0);e.hasNameForId(this.componentId,v)||e.insertRules(this.componentId,v,n(u,".".concat(v),void 0,this.componentId)),i=Os(i,v)}}return i},s}(),Ju=U.createContext(void 0);Ju.Consumer;function xS(s){var t=U.useContext(Ju),e=U.useMemo(function(){return function(n,i){if(!n)throw Bi(14);if(Xr(n)){var r=n(i);if(ct.env.NODE_ENV!=="production"&&(r===null||Array.isArray(r)||typeof r!="object"))throw Bi(7);return r}if(Array.isArray(n)||typeof n!="object")throw Bi(8);return i?Te(Te({},i),n):n}(s.theme,t)},[s.theme,t]);return s.children?U.createElement(Ju.Provider,{value:e},s.children):null}var Vp={},iv=new Set;function SS(s,t,e){var n=Qm(s),i=s,r=!zp(s),o=t.attrs,l=o===void 0?Jf:o,c=t.componentId,u=c===void 0?function(k,F){var I=typeof k!="string"?"sc":Y0(k);Vp[I]=(Vp[I]||0)+1;var M="".concat(I,"-").concat(Dy(Zf+I+Vp[I]));return F?"".concat(F,"-").concat(M):M}(t.displayName,t.parentComponentId):c,h=t.displayName,f=h===void 0?function(k){return zp(k)?"styled.".concat(k):"Styled(".concat(Oy(k),")")}(s):h,g=t.displayName&&t.componentId?"".concat(Y0(t.displayName),"-").concat(t.componentId):t.componentId||u,v=n&&i.attrs?i.attrs.concat(l).filter(Boolean):l,y=t.shouldForwardProp;if(n&&i.shouldForwardProp){var E=i.shouldForwardProp;if(t.shouldForwardProp){var S=t.shouldForwardProp;y=function(k,F){return E(k,F)&&S(k,F)}}else y=E}var _=new _S(e,g,n?i.componentStyle:void 0);function P(k,F){return function(I,M,C){var T=I.attrs,N=I.componentStyle,D=I.defaultProps,H=I.foldedComponentIds,z=I.styledComponentId,G=I.target,K=U.useContext(Ju),J=ev(),$=I.shouldForwardProp||J.shouldForwardProp;ct.env.NODE_ENV!=="production"&&U.useDebugValue(z);var W=Vx(M,K,D)||Ua,q=function(nt,ht,Z){for(var mt,X=Te(Te({},ht),{className:void 0,theme:Z}),Q=0;Q<nt.length;Q+=1){var ut=Xr(mt=nt[Q])?mt(X):mt;for(var pt in ut)X[pt]=pt==="className"?Os(X[pt],ut[pt]):pt==="style"?Te(Te({},X[pt]),ut[pt]):ut[pt]}return ht.className&&(X.className=Os(X.className,ht.className)),X}(T,M,W),wt=q.as||G,ft={};for(var V in q)q[V]===void 0||V[0]==="$"||V==="as"||V==="theme"&&q.theme===W||(V==="forwardedAs"?ft.as=q.forwardedAs:$&&!$(V,wt)||(ft[V]=q[V],$||ct.env.NODE_ENV!=="development"||Ex(V)||iv.has(V)||!fg.has(wt)||(iv.add(V),console.warn('styled-components: it looks like an unknown prop "'.concat(V,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var it=function(nt,ht){var Z=ev(),mt=nt.generateAndInjectStyles(ht,Z.styleSheet,Z.stylis);return ct.env.NODE_ENV!=="production"&&U.useDebugValue(mt),mt}(N,q);ct.env.NODE_ENV!=="production"&&I.warnTooManyClasses&&I.warnTooManyClasses(it);var et=Os(H,z);return it&&(et+=" "+it),q.className&&(et+=" "+q.className),ft[zp(wt)&&!fg.has(wt)?"class":"className"]=et,ft.ref=C,U.createElement(wt,ft)}(L,k,F)}P.displayName=f;var L=U.forwardRef(P);return L.attrs=v,L.componentStyle=_,L.displayName=f,L.shouldForwardProp=y,L.foldedComponentIds=n?Os(i.foldedComponentIds,i.styledComponentId):"",L.styledComponentId=g,L.target=n?i.target:s,Object.defineProperty(L,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(k){this._foldedDefaultProps=n?function(F){for(var I=[],M=1;M<arguments.length;M++)I[M-1]=arguments[M];for(var C=0,T=I;C<T.length;C++)mg(F,T[C],!0);return F}({},i.defaultProps,k):k}}),ct.env.NODE_ENV!=="production"&&(zx(f,g),L.warnTooManyClasses=function(k,F){var I={},M=!1;return function(C){if(!M&&(I[C]=!0,Object.keys(I).length>=200)){var T=F?' with the id of "'.concat(F,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(k).concat(T,`.
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
Example:
const Component = styled.div.attrs(props => ({
style: {
background: props.background,
},
}))\`width: 100%;\`
<Component />`),M=!0,I={}}}}(f,g)),t0(L,function(){return".".concat(L.styledComponentId)}),r&&jy(L,s,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),L}function sv(s,t){for(var e=[s[0]],n=0,i=t.length;n<i;n+=1)e.push(t[n],s[n+1]);return e}var rv=func