@fluidattacks/design 1.2.6 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design.js +143 -86
- package/dist/design.mjs +4560 -2784
- package/dist/src/components/@core/styles.d.ts +2 -1
- package/dist/src/components/@core/types.d.ts +9 -1
- package/dist/src/components/container/index.stories.d.ts +7 -0
- package/dist/src/components/container/types.d.ts +1 -1
- package/dist/src/components/grid-layout/index.stories.d.ts +5 -0
- package/dist/src/components/grid-layout/styles.d.ts +5 -0
- package/dist/src/components/icon/index.d.ts +3 -0
- package/dist/src/components/icon/styles.d.ts +14 -0
- package/dist/src/components/icon/types.d.ts +33 -0
- package/dist/src/components/tooltip/index.d.ts +4 -0
- package/dist/src/components/tooltip/index.stories.d.ts +8 -0
- package/dist/src/components/tooltip/styles.d.ts +7 -0
- package/dist/src/components/tooltip/types.d.ts +28 -0
- package/dist/src/components/typography/types.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/package.json +26 -4
- package/dist/design.js.map +0 -1
- package/dist/design.mjs.map +0 -1
package/dist/design.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ue=require("react"),na=t=>({getVariant:(e,r)=>t(e)[r]}),Ti=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","alignItems","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var _e=function(){return _e=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},_e.apply(this,arguments)};function er(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,s;n<o;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function oa(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var ia=/^((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)-.*))$/,sa=oa(function(t){return ia.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),X="-ms-",Er="-moz-",H="-webkit-",Ai="comm",rn="rule",to="decl",aa="@import",Oi="@keyframes",ca="@layer",Ri=Math.abs,ro=String.fromCharCode,Dn=Object.assign;function ua(t,e){return he(t,0)^45?(((e<<2^he(t,0))<<2^he(t,1))<<2^he(t,2))<<2^he(t,3):0}function $i(t){return t.trim()}function mt(t,e){return(t=e.exec(t))?t[0]:t}function D(t,e,r){return t.replace(e,r)}function Br(t,e,r){return t.indexOf(e,r)}function he(t,e){return t.charCodeAt(e)|0}function tr(t,e,r){return t.slice(e,r)}function nt(t){return t.length}function Pi(t){return t.length}function Sr(t,e){return e.push(t),t}function la(t,e){return t.map(e).join("")}function zo(t,e){return t.filter(function(r){return!mt(r,e)})}var nn=1,rr=1,ki=0,We=0,le=0,ir="";function on(t,e,r,n,o,s,u,f){return{value:t,root:e,parent:r,type:n,props:o,children:s,line:nn,column:rr,length:u,return:"",siblings:f}}function St(t,e){return Dn(on("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function Xt(t){for(;t.root;)t=St(t.root,{children:[t]});Sr(t,t.siblings)}function fa(){return le}function da(){return le=We>0?he(ir,--We):0,rr--,le===10&&(rr=1,nn--),le}function Ke(){return le=We<ki?he(ir,We++):0,rr++,le===10&&(rr=1,nn++),le}function Mt(){return he(ir,We)}function zr(){return We}function sn(t,e){return tr(ir,t,e)}function Ln(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ha(t){return nn=rr=1,ki=nt(ir=t),We=0,[]}function pa(t){return ir="",t}function $n(t){return $i(sn(We-1,Fn(t===91?t+2:t===40?t+1:t)))}function ga(t){for(;(le=Mt())&&le<33;)Ke();return Ln(t)>2||Ln(le)>3?"":" "}function ma(t,e){for(;--e&&Ke()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return sn(t,zr()+(e<6&&Mt()==32&&Ke()==32))}function Fn(t){for(;Ke();)switch(le){case t:return We;case 34:case 39:t!==34&&t!==39&&Fn(le);break;case 40:t===41&&Fn(t);break;case 92:Ke();break}return We}function ya(t,e){for(;Ke()&&t+le!==57;)if(t+le===84&&Mt()===47)break;return"/*"+sn(e,We-1)+"*"+ro(t===47?t:Ke())}function va(t){for(;!Ln(Mt());)Ke();return sn(t,We)}function _a(t){return pa(qr("",null,null,null,[""],t=ha(t),0,[0],t))}function qr(t,e,r,n,o,s,u,f,d){for(var g=0,_=0,S=u,C=0,P=0,B=0,z=1,Z=1,F=1,$=0,q="",G=o,Y=s,k=n,O=q;Z;)switch(B=$,$=Ke()){case 40:if(B!=108&&he(O,S-1)==58){Br(O+=D($n($),"&","&\f"),"&\f",Ri(g?f[g-1]:0))!=-1&&(F=-1);break}case 34:case 39:case 91:O+=$n($);break;case 9:case 10:case 13:case 32:O+=ga(B);break;case 92:O+=ma(zr()-1,7);continue;case 47:switch(Mt()){case 42:case 47:Sr(ba(ya(Ke(),zr()),e,r,d),d);break;default:O+="/"}break;case 123*z:f[g++]=nt(O)*F;case 125*z:case 59:case 0:switch($){case 0:case 125:Z=0;case 59+_:F==-1&&(O=D(O,/\f/g,"")),P>0&&nt(O)-S&&Sr(P>32?Go(O+";",n,r,S-1,d):Go(D(O," ","")+";",n,r,S-2,d),d);break;case 59:O+=";";default:if(Sr(k=qo(O,e,r,g,_,o,f,q,G=[],Y=[],S,s),s),$===123)if(_===0)qr(O,e,k,k,G,s,S,f,Y);else switch(C===99&&he(O,3)===110?100:C){case 100:case 108:case 109:case 115:qr(t,k,k,n&&Sr(qo(t,k,k,0,0,o,f,q,o,G=[],S,Y),Y),o,Y,S,f,n?G:Y);break;default:qr(O,k,k,k,[""],Y,0,f,Y)}}g=_=P=0,z=F=1,q=O="",S=u;break;case 58:S=1+nt(O),P=B;default:if(z<1){if($==123)--z;else if($==125&&z++==0&&da()==125)continue}switch(O+=ro($),$*z){case 38:F=_>0?1:(O+="\f",-1);break;case 44:f[g++]=(nt(O)-1)*F,F=1;break;case 64:Mt()===45&&(O+=$n(Ke())),C=Mt(),_=S=nt(q=O+=va(zr())),$++;break;case 45:B===45&&nt(O)==2&&(z=0)}}return s}function qo(t,e,r,n,o,s,u,f,d,g,_,S){for(var C=o-1,P=o===0?s:[""],B=Pi(P),z=0,Z=0,F=0;z<n;++z)for(var $=0,q=tr(t,C+1,C=Ri(Z=u[z])),G=t;$<B;++$)(G=$i(Z>0?P[$]+" "+q:D(q,/&\f/g,P[$])))&&(d[F++]=G);return on(t,e,r,o===0?rn:f,d,g,_,S)}function ba(t,e,r,n){return on(t,e,r,Ai,ro(fa()),tr(t,2,-2),0,n)}function Go(t,e,r,n,o){return on(t,e,r,to,tr(t,0,n),tr(t,n+1,-1),n,o)}function ji(t,e,r){switch(ua(t,e)){case 5103:return H+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return H+t+t;case 4789:return Er+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return H+t+Er+t+X+t+t;case 5936:switch(he(t,e+11)){case 114:return H+t+X+D(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return H+t+X+D(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return H+t+X+D(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return H+t+X+t+t;case 6165:return H+t+X+"flex-"+t+t;case 5187:return H+t+D(t,/(\w+).+(:[^]+)/,H+"box-$1$2"+X+"flex-$1$2")+t;case 5443:return H+t+X+"flex-item-"+D(t,/flex-|-self/g,"")+(mt(t,/flex-|baseline/)?"":X+"grid-row-"+D(t,/flex-|-self/g,""))+t;case 4675:return H+t+X+"flex-line-pack"+D(t,/align-content|flex-|-self/g,"")+t;case 5548:return H+t+X+D(t,"shrink","negative")+t;case 5292:return H+t+X+D(t,"basis","preferred-size")+t;case 6060:return H+"box-"+D(t,"-grow","")+H+t+X+D(t,"grow","positive")+t;case 4554:return H+D(t,/([^-])(transform)/g,"$1"+H+"$2")+t;case 6187:return D(D(D(t,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),t,"")+t;case 5495:case 3959:return D(t,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return D(D(t,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+t+t;case 4200:if(!mt(t,/flex-|baseline/))return X+"grid-column-align"+tr(t,e)+t;break;case 2592:case 3360:return X+D(t,"template-","")+t;case 4384:case 3616:return r&&r.some(function(n,o){return e=o,mt(n.props,/grid-\w+-end/)})?~Br(t+(r=r[e].value),"span",0)?t:X+D(t,"-start","")+t+X+"grid-row-span:"+(~Br(r,"span",0)?mt(r,/\d+/):+mt(r,/\d+/)-+mt(t,/\d+/))+";":X+D(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(n){return mt(n.props,/grid-\w+-start/)})?t:X+D(D(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return D(t,/(.+)-inline(.+)/,H+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(nt(t)-1-e>6)switch(he(t,e+1)){case 109:if(he(t,e+4)!==45)break;case 102:return D(t,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Er+(he(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Br(t,"stretch",0)?ji(D(t,"stretch","fill-available"),e,r)+t:t}break;case 5152:case 5920:return D(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,s,u,f,d,g){return X+o+":"+s+g+(u?X+o+"-span:"+(f?d:+d-+s)+g:"")+t});case 4949:if(he(t,e+6)===121)return D(t,":",":"+H)+t;break;case 6444:switch(he(t,he(t,14)===45?18:11)){case 120:return D(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+H+(he(t,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+X+"$2box$3")+t;case 100:return D(t,":",":"+X)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return D(t,"scroll-","scroll-snap-")+t}return t}function Yr(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function wa(t,e,r,n){switch(t.type){case ca:if(t.children.length)break;case aa:case to:return t.return=t.return||t.value;case Ai:return"";case Oi:return t.return=t.value+"{"+Yr(t.children,n)+"}";case rn:if(!nt(t.value=t.props.join(",")))return""}return nt(r=Yr(t.children,n))?t.return=t.value+"{"+r+"}":""}function Sa(t){var e=Pi(t);return function(r,n,o,s){for(var u="",f=0;f<e;f++)u+=t[f](r,n,o,s)||"";return u}}function Ea(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ca(t,e,r,n){if(t.length>-1&&!t.return)switch(t.type){case to:t.return=ji(t.value,t.length,r);return;case Oi:return Yr([St(t,{value:D(t.value,"@","@"+H)})],n);case rn:if(t.length)return la(r=t.props,function(o){switch(mt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Xt(St(t,{props:[D(o,/:(read-\w+)/,":"+Er+"$1")]})),Xt(St(t,{props:[o]})),Dn(t,{props:zo(r,n)});break;case"::placeholder":Xt(St(t,{props:[D(o,/:(plac\w+)/,":"+H+"input-$1")]})),Xt(St(t,{props:[D(o,/:(plac\w+)/,":"+Er+"$1")]})),Xt(St(t,{props:[D(o,/:(plac\w+)/,X+"input-$1")]})),Xt(St(t,{props:[o]})),Dn(t,{props:zo(r,n)});break}return""})}}var xa={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},Lt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ii="active",Mi="data-styled-version",an="6.1.13",no=`/*!sc*/
|
|
2
|
-
`,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react"),iu=require("react-dom"),su=t=>({getVariant:(e,r)=>t(e)[r]}),oa=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","alignItems","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ut.apply(this,arguments)};function Tr(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}function au(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var cu=/^((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)-.*))$/,uu=au(function(t){return cu.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),dn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ia(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $e="-ms-",qr="-moz-",de="-webkit-",sa="comm",Dn="rule",li="decl",lu="@import",aa="@keyframes",fu="@layer",ca=Math.abs,fi=String.fromCharCode,jo=Object.assign;function du(t,e){return Xe(t,0)^45?(((e<<2^Xe(t,0))<<2^Xe(t,1))<<2^Xe(t,2))<<2^Xe(t,3):0}function ua(t){return t.trim()}function Jt(t,e){return(t=e.exec(t))?t[0]:t}function Z(t,e,r){return t.replace(e,r)}function vn(t,e,r){return t.indexOf(e,r)}function Xe(t,e){return t.charCodeAt(e)|0}function Ar(t,e,r){return t.slice(e,r)}function Wt(t){return t.length}function la(t){return t.length}function Wr(t,e){return e.push(t),t}function pu(t,e){return t.map(e).join("")}function Ki(t,e){return t.filter(function(r){return!Jt(r,e)})}var Nn=1,Or=1,fa=0,Mt=0,Ue=0,jr="";function Fn(t,e,r,n,o,i,s,u){return{value:t,root:e,parent:r,type:n,props:o,children:i,line:Nn,column:Or,length:s,return:"",siblings:u}}function Zt(t,e){return jo(Fn("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function _r(t){for(;t.root;)t=Zt(t.root,{children:[t]});Wr(t,t.siblings)}function hu(){return Ue}function gu(){return Ue=Mt>0?Xe(jr,--Mt):0,Or--,Ue===10&&(Or=1,Nn--),Ue}function Nt(){return Ue=Mt<fa?Xe(jr,Mt++):0,Or++,Ue===10&&(Or=1,Nn++),Ue}function fr(){return Xe(jr,Mt)}function bn(){return Mt}function Vn(t,e){return Ar(jr,t,e)}function Io(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mu(t){return Nn=Or=1,fa=Wt(jr=t),Mt=0,[]}function yu(t){return jr="",t}function xo(t){return ua(Vn(Mt-1,Mo(t===91?t+2:t===40?t+1:t)))}function vu(t){for(;(Ue=fr())&&Ue<33;)Nt();return Io(t)>2||Io(Ue)>3?"":" "}function bu(t,e){for(;--e&&Nt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Vn(t,bn()+(e<6&&fr()==32&&Nt()==32))}function Mo(t){for(;Nt();)switch(Ue){case t:return Mt;case 34:case 39:t!==34&&t!==39&&Mo(Ue);break;case 40:t===41&&Mo(t);break;case 92:Nt();break}return Mt}function wu(t,e){for(;Nt()&&t+Ue!==57;)if(t+Ue===84&&fr()===47)break;return"/*"+Vn(e,Mt-1)+"*"+fi(t===47?t:Nt())}function _u(t){for(;!Io(fr());)Nt();return Vn(t,Mt)}function Su(t){return yu(wn("",null,null,null,[""],t=mu(t),0,[0],t))}function wn(t,e,r,n,o,i,s,u,l){for(var d=0,h=0,y=s,S=0,b=0,T=0,$=1,j=1,A=1,O=0,R="",I=o,M=i,D=n,P=R;j;)switch(T=O,O=Nt()){case 40:if(T!=108&&Xe(P,y-1)==58){vn(P+=Z(xo(O),"&","&\f"),"&\f",ca(d?u[d-1]:0))!=-1&&(A=-1);break}case 34:case 39:case 91:P+=xo(O);break;case 9:case 10:case 13:case 32:P+=vu(T);break;case 92:P+=bu(bn()-1,7);continue;case 47:switch(fr()){case 42:case 47:Wr(xu(wu(Nt(),bn()),e,r,l),l);break;default:P+="/"}break;case 123*$:u[d++]=Wt(P)*A;case 125*$:case 59:case 0:switch(O){case 0:case 125:j=0;case 59+h:A==-1&&(P=Z(P,/\f/g,"")),b>0&&Wt(P)-y&&Wr(b>32?Zi(P+";",n,r,y-1,l):Zi(Z(P," ","")+";",n,r,y-2,l),l);break;case 59:P+=";";default:if(Wr(D=Xi(P,e,r,d,h,o,u,R,I=[],M=[],y,i),i),O===123)if(h===0)wn(P,e,D,D,I,i,y,u,M);else switch(S===99&&Xe(P,3)===110?100:S){case 100:case 108:case 109:case 115:wn(t,D,D,n&&Wr(Xi(t,D,D,0,0,o,u,R,o,I=[],y,M),M),o,M,y,u,n?I:M);break;default:wn(P,D,D,D,[""],M,0,u,M)}}d=h=b=0,$=A=1,R=P="",y=s;break;case 58:y=1+Wt(P),b=T;default:if($<1){if(O==123)--$;else if(O==125&&$++==0&&gu()==125)continue}switch(P+=fi(O),O*$){case 38:A=h>0?1:(P+="\f",-1);break;case 44:u[d++]=(Wt(P)-1)*A,A=1;break;case 64:fr()===45&&(P+=xo(Nt())),S=fr(),h=y=Wt(R=P+=_u(bn())),O++;break;case 45:T===45&&Wt(P)==2&&($=0)}}return i}function Xi(t,e,r,n,o,i,s,u,l,d,h,y){for(var S=o-1,b=o===0?i:[""],T=la(b),$=0,j=0,A=0;$<n;++$)for(var O=0,R=Ar(t,S+1,S=ca(j=s[$])),I=t;O<T;++O)(I=ua(j>0?b[O]+" "+R:Z(R,/&\f/g,b[O])))&&(l[A++]=I);return Fn(t,e,r,o===0?Dn:u,l,d,h,y)}function xu(t,e,r,n){return Fn(t,e,r,sa,fi(hu()),Ar(t,2,-2),0,n)}function Zi(t,e,r,n,o){return Fn(t,e,r,li,Ar(t,0,n),Ar(t,n+1,-1),n,o)}function da(t,e,r){switch(du(t,e)){case 5103:return de+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return de+t+t;case 4789:return qr+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return de+t+qr+t+$e+t+t;case 5936:switch(Xe(t,e+11)){case 114:return de+t+$e+Z(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return de+t+$e+Z(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return de+t+$e+Z(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return de+t+$e+t+t;case 6165:return de+t+$e+"flex-"+t+t;case 5187:return de+t+Z(t,/(\w+).+(:[^]+)/,de+"box-$1$2"+$e+"flex-$1$2")+t;case 5443:return de+t+$e+"flex-item-"+Z(t,/flex-|-self/g,"")+(Jt(t,/flex-|baseline/)?"":$e+"grid-row-"+Z(t,/flex-|-self/g,""))+t;case 4675:return de+t+$e+"flex-line-pack"+Z(t,/align-content|flex-|-self/g,"")+t;case 5548:return de+t+$e+Z(t,"shrink","negative")+t;case 5292:return de+t+$e+Z(t,"basis","preferred-size")+t;case 6060:return de+"box-"+Z(t,"-grow","")+de+t+$e+Z(t,"grow","positive")+t;case 4554:return de+Z(t,/([^-])(transform)/g,"$1"+de+"$2")+t;case 6187:return Z(Z(Z(t,/(zoom-|grab)/,de+"$1"),/(image-set)/,de+"$1"),t,"")+t;case 5495:case 3959:return Z(t,/(image-set\([^]*)/,de+"$1$`$1");case 4968:return Z(Z(t,/(.+:)(flex-)?(.*)/,de+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+de+t+t;case 4200:if(!Jt(t,/flex-|baseline/))return $e+"grid-column-align"+Ar(t,e)+t;break;case 2592:case 3360:return $e+Z(t,"template-","")+t;case 4384:case 3616:return r&&r.some(function(n,o){return e=o,Jt(n.props,/grid-\w+-end/)})?~vn(t+(r=r[e].value),"span",0)?t:$e+Z(t,"-start","")+t+$e+"grid-row-span:"+(~vn(r,"span",0)?Jt(r,/\d+/):+Jt(r,/\d+/)-+Jt(t,/\d+/))+";":$e+Z(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(n){return Jt(n.props,/grid-\w+-start/)})?t:$e+Z(Z(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return Z(t,/(.+)-inline(.+)/,de+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Wt(t)-1-e>6)switch(Xe(t,e+1)){case 109:if(Xe(t,e+4)!==45)break;case 102:return Z(t,/(.+:)(.+)-([^]+)/,"$1"+de+"$2-$3$1"+qr+(Xe(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~vn(t,"stretch",0)?da(Z(t,"stretch","fill-available"),e,r)+t:t}break;case 5152:case 5920:return Z(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,u,l,d){return $e+o+":"+i+d+(s?$e+o+"-span:"+(u?l:+l-+i)+d:"")+t});case 4949:if(Xe(t,e+6)===121)return Z(t,":",":"+de)+t;break;case 6444:switch(Xe(t,Xe(t,14)===45?18:11)){case 120:return Z(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+de+(Xe(t,14)===45?"inline-":"")+"box$3$1"+de+"$2$3$1"+$e+"$2box$3")+t;case 100:return Z(t,":",":"+$e)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Z(t,"scroll-","scroll-snap-")+t}return t}function xn(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function Eu(t,e,r,n){switch(t.type){case fu:if(t.children.length)break;case lu:case li:return t.return=t.return||t.value;case sa:return"";case aa:return t.return=t.value+"{"+xn(t.children,n)+"}";case Dn:if(!Wt(t.value=t.props.join(",")))return""}return Wt(r=xn(t.children,n))?t.return=t.value+"{"+r+"}":""}function Tu(t){var e=la(t);return function(r,n,o,i){for(var s="",u=0;u<e;u++)s+=t[u](r,n,o,i)||"";return s}}function Au(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ou(t,e,r,n){if(t.length>-1&&!t.return)switch(t.type){case li:t.return=da(t.value,t.length,r);return;case aa:return xn([Zt(t,{value:Z(t.value,"@","@"+de)})],n);case Dn:if(t.length)return pu(r=t.props,function(o){switch(Jt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_r(Zt(t,{props:[Z(o,/:(read-\w+)/,":"+qr+"$1")]})),_r(Zt(t,{props:[o]})),jo(t,{props:Ki(r,n)});break;case"::placeholder":_r(Zt(t,{props:[Z(o,/:(plac\w+)/,":"+de+"input-$1")]})),_r(Zt(t,{props:[Z(o,/:(plac\w+)/,":"+qr+"$1")]})),_r(Zt(t,{props:[Z(o,/:(plac\w+)/,$e+"input-$1")]})),_r(Zt(t,{props:[o]})),jo(t,{props:Ki(r,n)});break}return""})}}var $u={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},hr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",pa="active",ha="data-styled-version",Bn="6.1.13",di=`/*!sc*/
|
|
2
|
+
`,En=typeof window<"u"&&"HTMLElement"in window,Cu=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),es=/invalid hook call/i,pn=new Set,Ru=function(t,e){if(process.env.NODE_ENV!=="production"){var r=e?' with the id of "'.concat(e,'"'):"",n="The component ".concat(t).concat(r,` has been created dynamically.
|
|
3
3
|
`)+`You may see this warning because you've called styled inside another component.
|
|
4
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var
|
|
4
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(s){for(var u=[],l=1;l<arguments.length;l++)u[l-1]=arguments[l];es.test(s)?(i=!1,pn.delete(n)):o.apply(void 0,Tr([s],u,!1))},E.useRef(),i&&!pn.has(n)&&(console.warn(n),pn.add(n))}catch(s){es.test(s.message)&&pn.delete(n)}finally{console.error=o}}},Un=Object.freeze([]),$r=Object.freeze({});function Pu(t,e,r){return r===void 0&&(r=$r),t.theme!==r.theme&&t.theme||e||r.theme}var Lo=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"]),ku=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ju=/(^-|-$)/g;function ts(t){return t.replace(ku,"-").replace(ju,"")}var Iu=/(a)(d)/gi,hn=52,rs=function(t){return String.fromCharCode(t+(t>25?39:97))};function Do(t){var e,r="";for(e=Math.abs(t);e>hn;e=e/hn|0)r=rs(e%hn)+r;return(rs(e%hn)+r).replace(Iu,"$1-$2")}var Eo,ga=5381,ur=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},ma=function(t){return ur(ga,t)};function Mu(t){return Do(ma(t)>>>0)}function ya(t){return process.env.NODE_ENV!=="production"&&typeof t=="string"&&t||t.displayName||t.name||"Component"}function To(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var va=typeof Symbol=="function"&&Symbol.for,ba=va?Symbol.for("react.memo"):60115,Lu=va?Symbol.for("react.forward_ref"):60112,Du={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Nu={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},wa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fu=((Eo={})[Lu]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Eo[ba]=wa,Eo);function ns(t){return("type"in(e=t)&&e.type.$$typeof)===ba?wa:"$$typeof"in t?Fu[t.$$typeof]:Du;var e}var Vu=Object.defineProperty,Bu=Object.getOwnPropertyNames,os=Object.getOwnPropertySymbols,Uu=Object.getOwnPropertyDescriptor,zu=Object.getPrototypeOf,is=Object.prototype;function _a(t,e,r){if(typeof e!="string"){if(is){var n=zu(e);n&&n!==is&&_a(t,n,r)}var o=Bu(e);os&&(o=o.concat(os(e)));for(var i=ns(t),s=ns(e),u=0;u<o.length;++u){var l=o[u];if(!(l in Nu||r&&r[l]||s&&l in s||i&&l in i)){var d=Uu(e,l);try{Vu(t,l,d)}catch{}}}}return t}function gr(t){return typeof t=="function"}function pi(t){return typeof t=="object"&&"styledComponentId"in t}function lr(t,e){return t&&e?"".concat(t," ").concat(e):t||e||""}function ss(t,e){if(t.length===0)return"";for(var r=t[0],n=1;n<t.length;n++)r+=t[n];return r}function Cr(t){return t!==null&&typeof t=="object"&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function No(t,e,r){if(r===void 0&&(r=!1),!r&&!Cr(t)&&!Array.isArray(t))return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)t[n]=No(t[n],e[n]);else if(Cr(e))for(var n in e)t[n]=No(t[n],e[n]);return t}function hi(t,e){Object.defineProperty(t,"toString",{value:e})}var Wu=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
5
5
|
|
|
6
6
|
`,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.
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
42
42
|
|
|
43
43
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
44
44
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
45
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Ba(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t[0],n=[],o=1,s=t.length;o<s;o+=1)n.push(t[o]);return n.forEach(function(u){r=r.replace(/%[a-z]/,u)}),r}function yt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(Ba.apply(void 0,er([Ua[t]],e,!1)).trim())}var za=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var r=0,n=0;n<e;n++)r+=this.groupSizes[n];return r},t.prototype.insertRules=function(e,r){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,s=o;e>=s;)if((s<<=1)<0)throw yt(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var u=o;u<s;u++)this.groupSizes[u]=0}for(var f=this.indexOfGroup(e+1),d=(u=0,r.length);u<d;u++)this.tag.insertRule(f,r[u])&&(this.groupSizes[e]++,f++)},t.prototype.clearGroup=function(e){if(e<this.length){var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r;this.groupSizes[e]=0;for(var s=n;s<o;s++)this.tag.deleteRule(n)}},t.prototype.getGroup=function(e){var r="";if(e>=this.length||this.groupSizes[e]===0)return r;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),s=o+n,u=o;u<s;u++)r+="".concat(this.tag.getRule(u)).concat(no);return r},t}(),qa=1<<30,Gr=new Map,Qr=new Map,Wr=1,Nr=function(t){if(Gr.has(t))return Gr.get(t);for(;Qr.has(Wr);)Wr++;var e=Wr++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>qa))throw yt(16,"".concat(e));return Gr.set(t,e),Qr.set(e,t),e},Ga=function(t,e){Wr=e+1,Gr.set(t,e),Qr.set(e,t)},Wa="style[".concat(Lt,"][").concat(Mi,'="').concat(an,'"]'),Ya=new RegExp("^".concat(Lt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ha=function(t,e,r){for(var n,o=r.split(","),s=0,u=o.length;s<u;s++)(n=o[s])&&t.registerName(e,n)},Qa=function(t,e){for(var r,n=((r=e.textContent)!==null&&r!==void 0?r:"").split(no),o=[],s=0,u=n.length;s<u;s++){var f=n[s].trim();if(f){var d=f.match(Ya);if(d){var g=0|parseInt(d[1],10),_=d[2];g!==0&&(Ga(_,g),Ha(t,_,d[3]),t.getTag().insertRules(g,o)),o.length=0}else o.push(f)}}},Zo=function(t){for(var e=document.querySelectorAll(Wa),r=0,n=e.length;r<n;r++){var o=e[r];o&&o.getAttribute(Lt)!==Ii&&(Qa(t,o),o.parentNode&&o.parentNode.removeChild(o))}};function Ja(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var zi=function(t){var e=document.head,r=t||e,n=document.createElement("style"),o=function(f){var d=Array.from(f.querySelectorAll("style[".concat(Lt,"]")));return d[d.length-1]}(r),s=o!==void 0?o.nextSibling:null;n.setAttribute(Lt,Ii),n.setAttribute(Mi,an);var u=Ja();return u&&n.setAttribute("nonce",u),r.insertBefore(n,s),n},Ka=function(){function t(e){this.element=zi(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,s=n.length;o<s;o++){var u=n[o];if(u.ownerNode===r)return u}throw yt(17)}(this.element),this.length=0}return t.prototype.insertRule=function(e,r){try{return this.sheet.insertRule(r,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var r=this.sheet.cssRules[e];return r&&r.cssText?r.cssText:""},t}(),Xa=function(){function t(e){this.element=zi(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,r){if(e<=this.length&&e>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),Za=function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,r){return e<=this.length&&(this.rules.splice(e,0,r),this.length++,!0)},t.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),ei=Hr,ec={isServer:!Hr,useCSSOMInjection:!Ta},qi=function(){function t(e,r,n){e===void 0&&(e=nr),r===void 0&&(r={});var o=this;this.options=_e(_e({},ec),e),this.gs=r,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Hr&&ei&&(ei=!1,Zo(this)),io(this,function(){return function(s){for(var u=s.getTag(),f=u.length,d="",g=function(S){var C=function(F){return Qr.get(F)}(S);if(C===void 0)return"continue";var P=s.names.get(C),B=u.getGroup(S);if(P===void 0||!P.size||B.length===0)return"continue";var z="".concat(Lt,".g").concat(S,'[id="').concat(C,'"]'),Z="";P!==void 0&&P.forEach(function(F){F.length>0&&(Z+="".concat(F,","))}),d+="".concat(B).concat(z,'{content:"').concat(Z,'"}').concat(no)},_=0;_<f;_++)g(_);return d}(o)})}return t.registerId=function(e){return Nr(e)},t.prototype.rehydrate=function(){!this.server&&Hr&&Zo(this)},t.prototype.reconstructWithOptions=function(e,r){return r===void 0&&(r=!0),new t(_e(_e({},this.options),e),this.gs,r&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Za(o):n?new Ka(o):new Xa(o)}(this.options),new za(e)));var e},t.prototype.hasNameForId=function(e,r){return this.names.has(e)&&this.names.get(e).has(r)},t.prototype.registerName=function(e,r){if(Nr(e),this.names.has(e))this.names.get(e).add(r);else{var n=new Set;n.add(r),this.names.set(e,n)}},t.prototype.insertRules=function(e,r,n){this.registerName(e,r),this.getTag().insertRules(Nr(e),n)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(Nr(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),tc=/&/g,rc=/^\s*\/\/.*$/gm;function Gi(t,e){return t.map(function(r){return r.type==="rule"&&(r.value="".concat(e," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(e," ")),r.props=r.props.map(function(n){return"".concat(e," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Gi(r.children,e)),r})}function nc(t){var e,r,n,o=nr,s=o.options,u=s===void 0?nr:s,f=o.plugins,d=f===void 0?cn:f,g=function(C,P,B){return B.startsWith(r)&&B.endsWith(r)&&B.replaceAll(r,"").length>0?".".concat(e):C},_=d.slice();_.push(function(C){C.type===rn&&C.value.includes("&")&&(C.props[0]=C.props[0].replace(tc,r).replace(n,g))}),u.prefix&&_.push(Ca),_.push(wa);var S=function(C,P,B,z){P===void 0&&(P=""),B===void 0&&(B=""),z===void 0&&(z="&"),e=z,r=P,n=new RegExp("\\".concat(r,"\\b"),"g");var Z=C.replace(rc,""),F=_a(B||P?"".concat(B," ").concat(P," { ").concat(Z," }"):Z);u.namespace&&(F=Gi(F,u.namespace));var $=[];return Yr(F,Sa(_.concat(Ea(function(q){return $.push(q)})))),$};return S.hash=d.length?d.reduce(function(C,P){return P.name||yt(15),jt(C,P.name)},Di).toString():"",S}var oc=new qi,Bn=nc(),Wi=ue.createContext({shouldForwardProp:void 0,styleSheet:oc,stylis:Bn});Wi.Consumer;ue.createContext(void 0);function ti(){return ue.useContext(Wi)}var ri=function(){function t(e,r){var n=this;this.inject=function(o,s){s===void 0&&(s=Bn);var u=n.name+s.hash;o.hasNameForId(n.id,u)||o.insertRules(n.id,u,s(n.rules,u,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=r,io(this,function(){throw yt(12,String(n.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=Bn),this.name+e.hash},t}(),ic=function(t){return t>="A"&&t<="Z"};function ni(t){for(var e="",r=0;r<t.length;r++){var n=t[r];if(r===1&&n==="-"&&t[0]==="-")return t;ic(n)?e+="-"+n.toLowerCase():e+=n}return e.startsWith("ms-")?"-"+e:e}var Yi=function(t){return t==null||t===!1||t===""},Hi=function(t){var e,r,n=[];for(var o in t){var s=t[o];t.hasOwnProperty(o)&&!Yi(s)&&(Array.isArray(s)&&s.isCss||Ft(s)?n.push("".concat(ni(o),":"),s,";"):or(s)?n.push.apply(n,er(er(["".concat(o," {")],Hi(s),!1),["}"],!1)):n.push("".concat(ni(o),": ").concat((e=o,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||e in xa||e.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Dt(t,e,r,n){if(Yi(t))return[];if(oo(t))return[".".concat(t.styledComponentId)];if(Ft(t)){if(!Ft(s=t)||s.prototype&&s.prototype.isReactComponent||!e)return[t];var o=t(e);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ri||or(o)||o===null||console.error("".concat(Fi(t)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Dt(o,e,r,n)}var s;return t instanceof ri?r?(t.inject(r,n),[t.getName(n)]):[t]:or(t)?Hi(t):Array.isArray(t)?Array.prototype.concat.apply(cn,t.map(function(u){return Dt(u,e,r,n)})):[t.toString()]}function sc(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(Ft(r)&&!oo(r))return!1}return!0}var ac=Li(an),cc=function(){function t(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&sc(e),this.componentId=r,this.baseHash=jt(ac,r),this.baseStyle=n,qi.registerId(r)}return t.prototype.generateAndInjectStyles=function(e,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=It(o,this.staticRulesId);else{var s=Xo(Dt(this.rules,e,r,n)),u=Nn(jt(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,u)){var f=n(s,".".concat(u),void 0,this.componentId);r.insertRules(this.componentId,u,f)}o=It(o,u),this.staticRulesId=u}else{for(var d=jt(this.baseHash,n.hash),g="",_=0;_<this.rules.length;_++){var S=this.rules[_];if(typeof S=="string")g+=S,process.env.NODE_ENV!=="production"&&(d=jt(d,S));else if(S){var C=Xo(Dt(S,e,r,n));d=jt(d,C+_),g+=C}}if(g){var P=Nn(d>>>0);r.hasNameForId(this.componentId,P)||r.insertRules(this.componentId,P,n(g,".".concat(P),void 0,this.componentId)),o=It(o,P)}}return o},t}(),Jr=ue.createContext(void 0);Jr.Consumer;function uc(t){var e=ue.useContext(Jr),r=ue.useMemo(function(){return function(n,o){if(!n)throw yt(14);if(Ft(n)){var s=n(o);if(process.env.NODE_ENV!=="production"&&(s===null||Array.isArray(s)||typeof s!="object"))throw yt(7);return s}if(Array.isArray(n)||typeof n!="object")throw yt(8);return o?_e(_e({},o),n):n}(t.theme,e)},[t.theme,e]);return t.children?ue.createElement(Jr.Provider,{value:r},t.children):null}var jn={},oi=new Set;function lc(t,e,r){var n=oo(t),o=t,s=!kn(t),u=e.attrs,f=u===void 0?cn:u,d=e.componentId,g=d===void 0?function(G,Y){var k=typeof G!="string"?"sc":Yo(G);jn[k]=(jn[k]||0)+1;var O="".concat(k,"-").concat(ka(an+k+jn[k]));return Y?"".concat(Y,"-").concat(O):O}(e.displayName,e.parentComponentId):d,_=e.displayName,S=_===void 0?function(G){return kn(G)?"styled.".concat(G):"Styled(".concat(Fi(G),")")}(t):_,C=e.displayName&&e.componentId?"".concat(Yo(e.displayName),"-").concat(e.componentId):e.componentId||g,P=n&&o.attrs?o.attrs.concat(f).filter(Boolean):f,B=e.shouldForwardProp;if(n&&o.shouldForwardProp){var z=o.shouldForwardProp;if(e.shouldForwardProp){var Z=e.shouldForwardProp;B=function(G,Y){return z(G,Y)&&Z(G,Y)}}else B=z}var F=new cc(r,C,n?o.componentStyle:void 0);function $(G,Y){return function(k,O,be){var Ce=k.attrs,pe=k.componentStyle,et=k.defaultProps,ot=k.foldedComponentIds,ge=k.styledComponentId,xe=k.target,Le=ue.useContext(Jr),de=ti(),we=k.shouldForwardProp||de.shouldForwardProp;process.env.NODE_ENV!=="production"&&ue.useDebugValue(ge);var ke=Oa(O,Le,et)||nr,ne=function(Fe,Se,je){for(var me,oe=_e(_e({},Se),{className:void 0,theme:je}),Ae=0;Ae<Fe.length;Ae+=1){var He=Ft(me=Fe[Ae])?me(oe):me;for(var ye in He)oe[ye]=ye==="className"?It(oe[ye],He[ye]):ye==="style"?_e(_e({},oe[ye]),He[ye]):He[ye]}return Se.className&&(oe.className=It(oe.className,Se.className)),oe}(Ce,O,ke),V=ne.as||xe,Te={};for(var re in ne)ne[re]===void 0||re[0]==="$"||re==="as"||re==="theme"&&ne.theme===ke||(re==="forwardedAs"?Te.as=ne.forwardedAs:we&&!we(re,V)||(Te[re]=ne[re],we||process.env.NODE_ENV!=="development"||sa(re)||oi.has(re)||!Vn.has(V)||(oi.add(re),console.warn('styled-components: it looks like an unknown prop "'.concat(re,'" 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 j=function(Fe,Se){var je=ti(),me=Fe.generateAndInjectStyles(Se,je.styleSheet,je.stylis);return process.env.NODE_ENV!=="production"&&ue.useDebugValue(me),me}(pe,ne);process.env.NODE_ENV!=="production"&&k.warnTooManyClasses&&k.warnTooManyClasses(j);var Ye=It(ot,ge);return j&&(Ye+=" "+j),ne.className&&(Ye+=" "+ne.className),Te[kn(V)&&!Vn.has(V)?"class":"className"]=Ye,Te.ref=be,ue.createElement(V,Te)}(q,G,Y)}$.displayName=S;var q=ue.forwardRef($);return q.attrs=P,q.componentStyle=F,q.displayName=S,q.shouldForwardProp=B,q.foldedComponentIds=n?It(o.foldedComponentIds,o.styledComponentId):"",q.styledComponentId=C,q.target=n?o.target:t,Object.defineProperty(q,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(G){this._foldedDefaultProps=n?function(Y){for(var k=[],O=1;O<arguments.length;O++)k[O-1]=arguments[O];for(var be=0,Ce=k;be<Ce.length;be++)Un(Y,Ce[be],!0);return Y}({},o.defaultProps,G):G}}),process.env.NODE_ENV!=="production"&&(Aa(S,C),q.warnTooManyClasses=function(G,Y){var k={},O=!1;return function(be){if(!O&&(k[be]=!0,Object.keys(k).length>=200)){var Ce=Y?' with the id of "'.concat(Y,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(G).concat(Ce,`.
|
|
45
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function qu(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t[0],n=[],o=1,i=t.length;o<i;o+=1)n.push(t[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Kt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(qu.apply(void 0,Tr([Wu[t]],e,!1)).trim())}var Gu=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var r=0,n=0;n<e;n++)r+=this.groupSizes[n];return r},t.prototype.insertRules=function(e,r){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;e>=i;)if((i<<=1)<0)throw Kt(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var u=this.indexOfGroup(e+1),l=(s=0,r.length);s<l;s++)this.tag.insertRule(u,r[s])&&(this.groupSizes[e]++,u++)},t.prototype.clearGroup=function(e){if(e<this.length){var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r;this.groupSizes[e]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},t.prototype.getGroup=function(e){var r="";if(e>=this.length||this.groupSizes[e]===0)return r;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(di);return r},t}(),Hu=1<<30,_n=new Map,Tn=new Map,Sn=1,gn=function(t){if(_n.has(t))return _n.get(t);for(;Tn.has(Sn);)Sn++;var e=Sn++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>Hu))throw Kt(16,"".concat(e));return _n.set(t,e),Tn.set(e,t),e},Yu=function(t,e){Sn=e+1,_n.set(t,e),Tn.set(e,t)},Qu="style[".concat(hr,"][").concat(ha,'="').concat(Bn,'"]'),Ju=new RegExp("^".concat(hr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ku=function(t,e,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&t.registerName(e,n)},Xu=function(t,e){for(var r,n=((r=e.textContent)!==null&&r!==void 0?r:"").split(di),o=[],i=0,s=n.length;i<s;i++){var u=n[i].trim();if(u){var l=u.match(Ju);if(l){var d=0|parseInt(l[1],10),h=l[2];d!==0&&(Yu(h,d),Ku(t,h,l[3]),t.getTag().insertRules(d,o)),o.length=0}else o.push(u)}}},as=function(t){for(var e=document.querySelectorAll(Qu),r=0,n=e.length;r<n;r++){var o=e[r];o&&o.getAttribute(hr)!==pa&&(Xu(t,o),o.parentNode&&o.parentNode.removeChild(o))}};function Zu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Sa=function(t){var e=document.head,r=t||e,n=document.createElement("style"),o=function(u){var l=Array.from(u.querySelectorAll("style[".concat(hr,"]")));return l[l.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(hr,pa),n.setAttribute(ha,Bn);var s=Zu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},el=function(){function t(e){this.element=Sa(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Kt(17)}(this.element),this.length=0}return t.prototype.insertRule=function(e,r){try{return this.sheet.insertRule(r,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var r=this.sheet.cssRules[e];return r&&r.cssText?r.cssText:""},t}(),tl=function(){function t(e){this.element=Sa(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,r){if(e<=this.length&&e>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),rl=function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,r){return e<=this.length&&(this.rules.splice(e,0,r),this.length++,!0)},t.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),cs=En,nl={isServer:!En,useCSSOMInjection:!Cu},xa=function(){function t(e,r,n){e===void 0&&(e=$r),r===void 0&&(r={});var o=this;this.options=ut(ut({},nl),e),this.gs=r,this.names=new Map(n),this.server=!!e.isServer,!this.server&&En&&cs&&(cs=!1,as(this)),hi(this,function(){return function(i){for(var s=i.getTag(),u=s.length,l="",d=function(y){var S=function(A){return Tn.get(A)}(y);if(S===void 0)return"continue";var b=i.names.get(S),T=s.getGroup(y);if(b===void 0||!b.size||T.length===0)return"continue";var $="".concat(hr,".g").concat(y,'[id="').concat(S,'"]'),j="";b!==void 0&&b.forEach(function(A){A.length>0&&(j+="".concat(A,","))}),l+="".concat(T).concat($,'{content:"').concat(j,'"}').concat(di)},h=0;h<u;h++)d(h);return l}(o)})}return t.registerId=function(e){return gn(e)},t.prototype.rehydrate=function(){!this.server&&En&&as(this)},t.prototype.reconstructWithOptions=function(e,r){return r===void 0&&(r=!0),new t(ut(ut({},this.options),e),this.gs,r&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new rl(o):n?new el(o):new tl(o)}(this.options),new Gu(e)));var e},t.prototype.hasNameForId=function(e,r){return this.names.has(e)&&this.names.get(e).has(r)},t.prototype.registerName=function(e,r){if(gn(e),this.names.has(e))this.names.get(e).add(r);else{var n=new Set;n.add(r),this.names.set(e,n)}},t.prototype.insertRules=function(e,r,n){this.registerName(e,r),this.getTag().insertRules(gn(e),n)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(gn(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),ol=/&/g,il=/^\s*\/\/.*$/gm;function Ea(t,e){return t.map(function(r){return r.type==="rule"&&(r.value="".concat(e," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(e," ")),r.props=r.props.map(function(n){return"".concat(e," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ea(r.children,e)),r})}function sl(t){var e,r,n,o=$r,i=o.options,s=i===void 0?$r:i,u=o.plugins,l=u===void 0?Un:u,d=function(S,b,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(e):S},h=l.slice();h.push(function(S){S.type===Dn&&S.value.includes("&")&&(S.props[0]=S.props[0].replace(ol,r).replace(n,d))}),s.prefix&&h.push(Ou),h.push(Eu);var y=function(S,b,T,$){b===void 0&&(b=""),T===void 0&&(T=""),$===void 0&&($="&"),e=$,r=b,n=new RegExp("\\".concat(r,"\\b"),"g");var j=S.replace(il,""),A=Su(T||b?"".concat(T," ").concat(b," { ").concat(j," }"):j);s.namespace&&(A=Ea(A,s.namespace));var O=[];return xn(A,Tu(h.concat(Au(function(R){return O.push(R)})))),O};return y.hash=l.length?l.reduce(function(S,b){return b.name||Kt(15),ur(S,b.name)},ga).toString():"",y}var al=new xa,Fo=sl(),Ta=E.createContext({shouldForwardProp:void 0,styleSheet:al,stylis:Fo});Ta.Consumer;E.createContext(void 0);function us(){return E.useContext(Ta)}var ls=function(){function t(e,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Fo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=r,hi(this,function(){throw Kt(12,String(n.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=Fo),this.name+e.hash},t}(),cl=function(t){return t>="A"&&t<="Z"};function fs(t){for(var e="",r=0;r<t.length;r++){var n=t[r];if(r===1&&n==="-"&&t[0]==="-")return t;cl(n)?e+="-"+n.toLowerCase():e+=n}return e.startsWith("ms-")?"-"+e:e}var Aa=function(t){return t==null||t===!1||t===""},Oa=function(t){var e,r,n=[];for(var o in t){var i=t[o];t.hasOwnProperty(o)&&!Aa(i)&&(Array.isArray(i)&&i.isCss||gr(i)?n.push("".concat(fs(o),":"),i,";"):Cr(i)?n.push.apply(n,Tr(Tr(["".concat(o," {")],Oa(i),!1),["}"],!1)):n.push("".concat(fs(o),": ").concat((e=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||e in $u||e.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function dr(t,e,r,n){if(Aa(t))return[];if(pi(t))return[".".concat(t.styledComponentId)];if(gr(t)){if(!gr(i=t)||i.prototype&&i.prototype.isReactComponent||!e)return[t];var o=t(e);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ls||Cr(o)||o===null||console.error("".concat(ya(t)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),dr(o,e,r,n)}var i;return t instanceof ls?r?(t.inject(r,n),[t.getName(n)]):[t]:Cr(t)?Oa(t):Array.isArray(t)?Array.prototype.concat.apply(Un,t.map(function(s){return dr(s,e,r,n)})):[t.toString()]}function ul(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(gr(r)&&!pi(r))return!1}return!0}var ll=ma(Bn),fl=function(){function t(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&ul(e),this.componentId=r,this.baseHash=ur(ll,r),this.baseStyle=n,xa.registerId(r)}return t.prototype.generateAndInjectStyles=function(e,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=lr(o,this.staticRulesId);else{var i=ss(dr(this.rules,e,r,n)),s=Do(ur(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var u=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,u)}o=lr(o,s),this.staticRulesId=s}else{for(var l=ur(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(l=ur(l,y));else if(y){var S=ss(dr(y,e,r,n));l=ur(l,S+h),d+=S}}if(d){var b=Do(l>>>0);r.hasNameForId(this.componentId,b)||r.insertRules(this.componentId,b,n(d,".".concat(b),void 0,this.componentId)),o=lr(o,b)}}return o},t}(),An=E.createContext(void 0);An.Consumer;function dl(t){var e=E.useContext(An),r=E.useMemo(function(){return function(n,o){if(!n)throw Kt(14);if(gr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Kt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Kt(8);return o?ut(ut({},o),n):n}(t.theme,e)},[t.theme,e]);return t.children?E.createElement(An.Provider,{value:r},t.children):null}var Ao={},ds=new Set;function pl(t,e,r){var n=pi(t),o=t,i=!To(t),s=e.attrs,u=s===void 0?Un:s,l=e.componentId,d=l===void 0?function(I,M){var D=typeof I!="string"?"sc":ts(I);Ao[D]=(Ao[D]||0)+1;var P="".concat(D,"-").concat(Mu(Bn+D+Ao[D]));return M?"".concat(M,"-").concat(P):P}(e.displayName,e.parentComponentId):l,h=e.displayName,y=h===void 0?function(I){return To(I)?"styled.".concat(I):"Styled(".concat(ya(I),")")}(t):h,S=e.displayName&&e.componentId?"".concat(ts(e.displayName),"-").concat(e.componentId):e.componentId||d,b=n&&o.attrs?o.attrs.concat(u).filter(Boolean):u,T=e.shouldForwardProp;if(n&&o.shouldForwardProp){var $=o.shouldForwardProp;if(e.shouldForwardProp){var j=e.shouldForwardProp;T=function(I,M){return $(I,M)&&j(I,M)}}else T=$}var A=new fl(r,S,n?o.componentStyle:void 0);function O(I,M){return function(D,P,me){var ye=D.attrs,fe=D.componentStyle,De=D.defaultProps,Ie=D.foldedComponentIds,ve=D.styledComponentId,Q=D.target,Se=E.useContext(An),oe=us(),ie=D.shouldForwardProp||oe.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.useDebugValue(ve);var se=Pu(P,Se,De)||$r,te=function(Ze,ze,We){for(var ue,be=ut(ut({},ze),{className:void 0,theme:We}),xe=0;xe<Ze.length;xe+=1){var Ve=gr(ue=Ze[xe])?ue(be):ue;for(var Re in Ve)be[Re]=Re==="className"?lr(be[Re],Ve[Re]):Re==="style"?ut(ut({},be[Re]),Ve[Re]):Ve[Re]}return ze.className&&(be.className=lr(be.className,ze.className)),be}(ye,P,se),q=te.as||Q,ae={};for(var pe in te)te[pe]===void 0||pe[0]==="$"||pe==="as"||pe==="theme"&&te.theme===se||(pe==="forwardedAs"?ae.as=te.forwardedAs:ie&&!ie(pe,q)||(ae[pe]=te[pe],ie||process.env.NODE_ENV!=="development"||uu(pe)||ds.has(pe)||!Lo.has(q)||(ds.add(pe),console.warn('styled-components: it looks like an unknown prop "'.concat(pe,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(Ze,ze){var We=us(),ue=Ze.generateAndInjectStyles(ze,We.styleSheet,We.stylis);return process.env.NODE_ENV!=="production"&&E.useDebugValue(ue),ue}(fe,te);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var it=lr(Ie,ve);return G&&(it+=" "+G),te.className&&(it+=" "+te.className),ae[To(q)&&!Lo.has(q)?"class":"className"]=it,ae.ref=me,E.createElement(q,ae)}(R,I,M)}O.displayName=y;var R=E.forwardRef(O);return R.attrs=b,R.componentStyle=A,R.displayName=y,R.shouldForwardProp=T,R.foldedComponentIds=n?lr(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=S,R.target=n?o.target:t,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=n?function(M){for(var D=[],P=1;P<arguments.length;P++)D[P-1]=arguments[P];for(var me=0,ye=D;me<ye.length;me++)No(M,ye[me],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Ru(y,S),R.warnTooManyClasses=function(I,M){var D={},P=!1;return function(me){if(!P&&(D[me]=!0,Object.keys(D).length>=200)){var ye=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(ye,`.
|
|
46
46
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
47
47
|
Example:
|
|
48
48
|
const Component = styled.div.attrs(props => ({
|
|
@@ -51,11 +51,11 @@ Example:
|
|
|
51
51
|
},
|
|
52
52
|
}))\`width: 100%;\`
|
|
53
53
|
|
|
54
|
-
<Component />`),
|
|
54
|
+
<Component />`),P=!0,D={}}}}(y,S)),hi(R,function(){return".".concat(R.styledComponentId)}),i&&_a(R,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function ps(t,e){for(var r=[t[0]],n=0,o=e.length;n<o;n+=1)r.push(e[n],t[n+1]);return r}var hs=function(t){return Object.assign(t,{isCss:!0})};function hl(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(gr(t)||Cr(t))return hs(dr(ps(Un,Tr([t],e,!0))));var n=t;return e.length===0&&n.length===1&&typeof n[0]=="string"?dr(n):hs(dr(ps(n,e)))}function Vo(t,e,r){if(r===void 0&&(r=$r),!e)throw Kt(1,e);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return t(e,r,hl.apply(void 0,Tr([o],i,!1)))};return n.attrs=function(o){return Vo(t,e,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Vo(t,e,ut(ut({},r),o))},n}var $a=function(t){return Vo(pl,t)},Bt=$a;Lo.forEach(function(t){Bt[t]=$a(t)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
55
55
|
Perhaps you're looking to import 'styled-components/native'?
|
|
56
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var
|
|
56
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var mn="__sc-".concat(hr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[mn]||(window[mn]=0),window[mn]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
57
57
|
|
|
58
|
-
See https://s-c.sh/2BAXzed for more info.`),window[
|
|
58
|
+
See https://s-c.sh/2BAXzed for more info.`),window[mn]+=1);var Bo={exports:{}},Br={};/**
|
|
59
59
|
* @license React
|
|
60
60
|
* react-jsx-runtime.production.min.js
|
|
61
61
|
*
|
|
@@ -63,7 +63,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ur]+=1);var qn={exports:{}},b
|
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the MIT license found in the
|
|
65
65
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var
|
|
66
|
+
*/var gs;function gl(){if(gs)return Br;gs=1;var t=E,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(u,l,d){var h,y={},S=null,b=null;d!==void 0&&(S=""+d),l.key!==void 0&&(S=""+l.key),l.ref!==void 0&&(b=l.ref);for(h in l)n.call(l,h)&&!i.hasOwnProperty(h)&&(y[h]=l[h]);if(u&&u.defaultProps)for(h in l=u.defaultProps,l)y[h]===void 0&&(y[h]=l[h]);return{$$typeof:e,type:u,key:S,ref:b,props:y,_owner:o.current}}return Br.Fragment=r,Br.jsx=s,Br.jsxs=s,Br}var Ur={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-jsx-runtime.development.js
|
|
69
69
|
*
|
|
@@ -71,170 +71,227 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ur]+=1);var qn={exports:{}},b
|
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the MIT license found in the
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var
|
|
75
|
-
`+
|
|
76
|
-
`),
|
|
77
|
-
`),
|
|
78
|
-
`+
|
|
74
|
+
*/var ms;function ml(){return ms||(ms=1,process.env.NODE_ENV!=="production"&&function(){var t=E,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),T=Symbol.iterator,$="@@iterator";function j(f){if(f===null||typeof f!="object")return null;var v=T&&f[T]||f[$];return typeof v=="function"?v:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(f){{for(var v=arguments.length,x=new Array(v>1?v-1:0),F=1;F<v;F++)x[F-1]=arguments[F];R("error",f,x)}}function R(f,v,x){{var F=A.ReactDebugCurrentFrame,ne=F.getStackAddendum();ne!==""&&(v+="%s",x=x.concat([ne]));var ee=x.map(function(J){return String(J)});ee.unshift("Warning: "+v),Function.prototype.apply.call(console[f],console,ee)}}var I=!1,M=!1,D=!1,P=!1,me=!1,ye;ye=Symbol.for("react.module.reference");function fe(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||me||f===o||f===d||f===h||P||f===b||I||M||D||typeof f=="object"&&f!==null&&(f.$$typeof===S||f.$$typeof===y||f.$$typeof===s||f.$$typeof===u||f.$$typeof===l||f.$$typeof===ye||f.getModuleId!==void 0))}function De(f,v,x){var F=f.displayName;if(F)return F;var ne=v.displayName||v.name||"";return ne!==""?x+"("+ne+")":x}function Ie(f){return f.displayName||"Context"}function ve(f){if(f==null)return null;if(typeof f.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case u:var v=f;return Ie(v)+".Consumer";case s:var x=f;return Ie(x._context)+".Provider";case l:return De(f,f.render,"ForwardRef");case y:var F=f.displayName||null;return F!==null?F:ve(f.type)||"Memo";case S:{var ne=f,ee=ne._payload,J=ne._init;try{return ve(J(ee))}catch{return null}}}return null}var Q=Object.assign,Se=0,oe,ie,se,te,q,ae,pe;function G(){}G.__reactDisabledLog=!0;function it(){{if(Se===0){oe=console.log,ie=console.info,se=console.warn,te=console.error,q=console.group,ae=console.groupCollapsed,pe=console.groupEnd;var f={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Se++}}function Ze(){{if(Se--,Se===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},f,{value:oe}),info:Q({},f,{value:ie}),warn:Q({},f,{value:se}),error:Q({},f,{value:te}),group:Q({},f,{value:q}),groupCollapsed:Q({},f,{value:ae}),groupEnd:Q({},f,{value:pe})})}Se<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ze=A.ReactCurrentDispatcher,We;function ue(f,v,x){{if(We===void 0)try{throw Error()}catch(ne){var F=ne.stack.trim().match(/\n( *(at )?)/);We=F&&F[1]||""}return`
|
|
75
|
+
`+We+f}}var be=!1,xe;{var Ve=typeof WeakMap=="function"?WeakMap:Map;xe=new Ve}function Re(f,v){if(!f||be)return"";{var x=xe.get(f);if(x!==void 0)return x}var F;be=!0;var ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ee;ee=ze.current,ze.current=null,it();try{if(v){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(rt){F=rt}Reflect.construct(f,[],J)}else{try{J.call()}catch(rt){F=rt}f.call(J.prototype)}}else{try{throw Error()}catch(rt){F=rt}f()}}catch(rt){if(rt&&F&&typeof rt.stack=="string"){for(var Y=rt.stack.split(`
|
|
76
|
+
`),Le=F.stack.split(`
|
|
77
|
+
`),B=Y.length-1,ce=Le.length-1;B>=1&&ce>=0&&Y[B]!==Le[ce];)ce--;for(;B>=1&&ce>=0;B--,ce--)if(Y[B]!==Le[ce]){if(B!==1||ce!==1)do if(B--,ce--,ce<0||Y[B]!==Le[ce]){var Oe=`
|
|
78
|
+
`+Y[B].replace(" at new "," at ");return f.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",f.displayName)),typeof f=="function"&&xe.set(f,Oe),Oe}while(B>=1&&ce>=0);break}}}finally{be=!1,ze.current=ee,Ze(),Error.prepareStackTrace=ne}var Ke=f?f.displayName||f.name:"",Ht=Ke?ue(Ke):"";return typeof f=="function"&&xe.set(f,Ht),Ht}function lt(f,v,x){return Re(f,!1)}function Ct(f){var v=f.prototype;return!!(v&&v.isReactComponent)}function Ee(f,v,x){if(f==null)return"";if(typeof f=="function")return Re(f,Ct(f));if(typeof f=="string")return ue(f);switch(f){case d:return ue("Suspense");case h:return ue("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case l:return lt(f.render);case y:return Ee(f.type,v,x);case S:{var F=f,ne=F._payload,ee=F._init;try{return Ee(ee(ne),v,x)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,Ye={},dt=A.ReactDebugCurrentFrame;function le(f){if(f){var v=f._owner,x=Ee(f.type,f._source,v?v.type:null);dt.setExtraStackFrame(x)}else dt.setExtraStackFrame(null)}function pt(f,v,x,F,ne){{var ee=Function.call.bind(ft);for(var J in f)if(ee(f,J)){var Y=void 0;try{if(typeof f[J]!="function"){var Le=Error((F||"React class")+": "+x+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}Y=f[J](v,J,F,x,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){Y=B}Y&&!(Y instanceof Error)&&(le(ne),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",x,J,typeof Y),le(null)),Y instanceof Error&&!(Y.message in Ye)&&(Ye[Y.message]=!0,le(ne),O("Failed %s type: %s",x,Y.message),le(null))}}}var ht=Array.isArray;function gt(f){return ht(f)}function Ot(f){{var v=typeof Symbol=="function"&&Symbol.toStringTag,x=v&&f[Symbol.toStringTag]||f.constructor.name||"Object";return x}}function et(f){try{return st(f),!1}catch{return!0}}function st(f){return""+f}function mt(f){if(et(f))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ot(f)),st(f)}var Qe=A.ReactCurrentOwner,_t={key:!0,ref:!0,__self:!0,__source:!0},St,Rt,qe;qe={};function Pt(f){if(ft.call(f,"ref")){var v=Object.getOwnPropertyDescriptor(f,"ref").get;if(v&&v.isReactWarning)return!1}return f.ref!==void 0}function tt(f){if(ft.call(f,"key")){var v=Object.getOwnPropertyDescriptor(f,"key").get;if(v&&v.isReactWarning)return!1}return f.key!==void 0}function we(f,v){if(typeof f.ref=="string"&&Qe.current&&v&&Qe.current.stateNode!==v){var x=ve(Qe.current.type);qe[x]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',ve(Qe.current.type),f.ref),qe[x]=!0)}}function Lt(f,v){{var x=function(){St||(St=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))};x.isReactWarning=!0,Object.defineProperty(f,"key",{get:x,configurable:!0})}}function Dt(f,v){{var x=function(){Rt||(Rt=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))};x.isReactWarning=!0,Object.defineProperty(f,"ref",{get:x,configurable:!0})}}var yt=function(f,v,x,F,ne,ee,J){var Y={$$typeof:e,type:f,key:v,ref:x,props:J,_owner:ee};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function vt(f,v,x,F,ne){{var ee,J={},Y=null,Le=null;x!==void 0&&(mt(x),Y=""+x),tt(v)&&(mt(v.key),Y=""+v.key),Pt(v)&&(Le=v.ref,we(v,ne));for(ee in v)ft.call(v,ee)&&!_t.hasOwnProperty(ee)&&(J[ee]=v[ee]);if(f&&f.defaultProps){var B=f.defaultProps;for(ee in B)J[ee]===void 0&&(J[ee]=B[ee])}if(Y||Le){var ce=typeof f=="function"?f.displayName||f.name||"Unknown":f;Y&&Lt(J,ce),Le&&Dt(J,ce)}return yt(f,Y,Le,ne,F,Qe.current,J)}}var Ge=A.ReactCurrentOwner,at=A.ReactDebugCurrentFrame;function Be(f){if(f){var v=f._owner,x=Ee(f.type,f._source,v?v.type:null);at.setExtraStackFrame(x)}else at.setExtraStackFrame(null)}var He;He=!1;function xt(f){return typeof f=="object"&&f!==null&&f.$$typeof===e}function _e(){{if(Ge.current){var f=ve(Ge.current.type);if(f)return`
|
|
79
79
|
|
|
80
|
-
Check the render method of \``+
|
|
80
|
+
Check the render method of \``+f+"`."}return""}}function Je(f){return""}var N={};function X(f){{var v=_e();if(!v){var x=typeof f=="string"?f:f.displayName||f.name;x&&(v=`
|
|
81
81
|
|
|
82
|
-
Check the top-level render call using <`+
|
|
82
|
+
Check the top-level render call using <`+x+">.")}return v}}function Pe(f,v){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var x=X(v);if(N[x])return;N[x]=!0;var F="";f&&f._owner&&f._owner!==Ge.current&&(F=" It was passed a child from "+ve(f._owner.type)+"."),Be(f),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',x,F),Be(null)}}function bt(f,v){{if(typeof f!="object")return;if(gt(f))for(var x=0;x<f.length;x++){var F=f[x];xt(F)&&Pe(F,v)}else if(xt(f))f._store&&(f._store.validated=!0);else if(f){var ne=j(f);if(typeof ne=="function"&&ne!==f.entries)for(var ee=ne.call(f),J;!(J=ee.next()).done;)xt(J.value)&&Pe(J.value,v)}}}function C(f){{var v=f.type;if(v==null||typeof v=="string")return;var x;if(typeof v=="function")x=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===l||v.$$typeof===y))x=v.propTypes;else return;if(x){var F=ve(v);pt(x,f.props,"prop",F,f)}else if(v.PropTypes!==void 0&&!He){He=!0;var ne=ve(v);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ne||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function V(f){{for(var v=Object.keys(f.props),x=0;x<v.length;x++){var F=v[x];if(F!=="children"&&F!=="key"){Be(f),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),Be(null);break}}f.ref!==null&&(Be(f),O("Invalid attribute `ref` supplied to `React.Fragment`."),Be(null))}}function U(f,v,x,F,ne,ee){{var J=fe(f);if(!J){var Y="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(Y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=Je();Le?Y+=Le:Y+=_e();var B;f===null?B="null":gt(f)?B="array":f!==void 0&&f.$$typeof===e?(B="<"+(ve(f.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):B=typeof f,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,Y)}var ce=vt(f,v,x,ne,ee);if(ce==null)return ce;if(J){var Oe=v.children;if(Oe!==void 0)if(F)if(gt(Oe)){for(var Ke=0;Ke<Oe.length;Ke++)bt(Oe[Ke],f);Object.freeze&&Object.freeze(Oe)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else bt(Oe,f)}return f===n?V(ce):C(ce),ce}}function Te(f,v,x){return U(f,v,x,!0)}function Me(f,v,x){return U(f,v,x,!1)}var ct=Me,Ae=Te;Ur.Fragment=n,Ur.jsx=ct,Ur.jsxs=Ae}()),Ur}process.env.NODE_ENV==="production"?Bo.exports=gl():Bo.exports=ml();var ot=Bo.exports;const yl={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},vl={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},bl={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},wl={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},_l={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Sl={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},xl={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},El={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Tl={type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},Al={none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},Ol={mobile:"360px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},$l={0:"0rem",.125:"0.125rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},Cl=["lock-keyhole","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","clouds","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","shield","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],Rl=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],ke={typography:Tl,shadows:Al,breakpoints:Ol,spacing:$l,palette:{primary:vl,complementary:bl,error:wl,info:xl,warning:_l,success:Sl,black:"#0c111d",white:"#ffffff",gray:yl,gradients:El}},Pl=({children:t})=>ot.jsx(dl,{theme:ke,children:t}),W=(t,e)=>e===void 0?"":`${t}: ${e};`,zn=t=>{const e=t.py??t.pt??0,r=t.px??t.pr??0,n=t.py??t.pb??0,o=t.px??t.pl??0;if(t.padding){const[i,s,u,l]=t.padding;return`padding: ${ke.spacing[i]} ${ke.spacing[s]} ${ke.spacing[u]} ${ke.spacing[l]};`}return`padding: ${ke.spacing[e]} ${ke.spacing[r]} ${ke.spacing[n]} ${ke.spacing[o]};`},Wn=t=>{const e=t.my??t.mt??0,r=t.mx??t.mr??0,n=t.my??t.mb??0,o=t.mx??t.ml??0;if(t.margin){const[i,s,u,l]=t.margin;return`margin: ${ke.spacing[i]} ${ke.spacing[s]} ${ke.spacing[u]} ${ke.spacing[l]};`}return`margin: ${ke.spacing[e]} ${ke.spacing[r]} ${ke.spacing[n]} ${ke.spacing[o]};`},qn=t=>{const e=W("position",t.position),r=W("top",t.top),n=W("right",t.right),o=W("bottom",t.bottom),i=W("left",t.left),s=W("z-index",t.zIndex);return`
|
|
83
83
|
${e}
|
|
84
84
|
${r}
|
|
85
85
|
${n}
|
|
86
86
|
${o}
|
|
87
|
+
${i}
|
|
87
88
|
${s}
|
|
88
|
-
|
|
89
|
-
`},uo=t=>{const e=A("border",t.border),r=A("border-top",t.borderTop),n=A("border-right",t.borderRight),o=A("border-bottom",t.borderBottom),s=A("border-left",t.borderLeft),u=A("border-color",t.borderColor),f=A("border-radius",t.borderRadius);return`
|
|
89
|
+
`},Gn=t=>{const e=W("border",t.border),r=W("border-top",t.borderTop),n=W("border-right",t.borderRight),o=W("border-bottom",t.borderBottom),i=W("border-left",t.borderLeft),s=W("border-color",t.borderColor),u=W("border-radius",t.borderRadius);return`
|
|
90
90
|
${e}
|
|
91
91
|
${r}
|
|
92
92
|
${n}
|
|
93
93
|
${o}
|
|
94
|
+
${i}
|
|
94
95
|
${s}
|
|
95
96
|
${u}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
${
|
|
99
|
-
|
|
100
|
-
`:"",r=A("visibility",t.visibility),n=A("display",t.display),o=A("height",t.height),s=A("width",t.width),u=A("max-height",t.maxHeight),f=A("max-width",t.maxWidth),d=A("min-height",t.minHeight),g=A("min-width",t.minWidth),_=A("box-shadow",t.shadow?ce.shadows[t.shadow]:void 0),S=A("gap",t.gap===void 0?void 0:ce.spacing[t.gap]),C=A("background-color",t.bgColor),P=A("background",t.bgGradient),B=A("flex-direction",t.flexDirection),z=A("flex-grow",t.flexGrow),Z=A("justify-content",t.justify),F=A("justify-self",t.justifySelf),$=A("align-items",t.alignItems),q=A("align-self",t.alignSelf),G=A("flex-wrap",t.wrap);return`
|
|
97
|
+
`},kl=t=>t.includes("x")?"overflow-x: auto;":"",jl=t=>t.includes("y")?"overflow-y: auto;":"",Hn=t=>{const e=t.scroll?`
|
|
98
|
+
${kl(t.scroll)}
|
|
99
|
+
${jl(t.scroll)}
|
|
100
|
+
`:"",r=W("visibility",t.visibility),n=W("display",t.display),o=W("height",t.height),i=W("width",t.width),s=W("max-height",t.maxHeight),u=W("max-width",t.maxWidth),l=W("min-height",t.minHeight),d=W("min-width",t.minWidth),h=W("box-shadow",t.shadow?ke.shadows[t.shadow]:void 0),y=W("gap",t.gap===void 0?void 0:ke.spacing[t.gap]),S=W("background-color",t.bgColor),b=W("background",t.bgGradient),T=W("flex-direction",t.flexDirection),$=W("flex-grow",t.flexGrow),j=W("justify-content",t.justify),A=W("justify-self",t.justifySelf),O=W("align-items",t.alignItems),R=W("align-self",t.alignSelf),I=W("flex-wrap",t.wrap);return`
|
|
101
101
|
${e}
|
|
102
102
|
${r}
|
|
103
103
|
${n}
|
|
104
104
|
${o}
|
|
105
|
+
${i}
|
|
105
106
|
${s}
|
|
106
107
|
${u}
|
|
107
|
-
${
|
|
108
|
+
${l}
|
|
108
109
|
${d}
|
|
109
|
-
${
|
|
110
|
-
${_}
|
|
111
|
-
${C}
|
|
112
|
-
${P}
|
|
110
|
+
${h}
|
|
113
111
|
${S}
|
|
114
|
-
${
|
|
115
|
-
${
|
|
116
|
-
${
|
|
117
|
-
${F}
|
|
112
|
+
${b}
|
|
113
|
+
${y}
|
|
114
|
+
${T}
|
|
118
115
|
${$}
|
|
119
|
-
${
|
|
120
|
-
${
|
|
121
|
-
|
|
116
|
+
${j}
|
|
117
|
+
${A}
|
|
118
|
+
${O}
|
|
119
|
+
${R}
|
|
120
|
+
${I}
|
|
121
|
+
`},Yn=t=>{const e=W("color",t.color),r=W("font-family",t.fontFamily),n=W("font-size",t.fontSize),o=W("font-weight",t.fontWeight),i=W("line-spacing",t.letterSpacing),s=W("line-height",t.lineSpacing),u=W("text-align",t.textAlign),l=W("text-decoration",t.textDecoration),d=W("text-overflow",t.textOverflow),h=W("white-space",t.whiteSpace),y=W("word-break",t.wordBreak),S=W("word-wrap",t.wordWrap);return`
|
|
122
122
|
${e}
|
|
123
123
|
${r}
|
|
124
124
|
${n}
|
|
125
125
|
${o}
|
|
126
|
+
${i}
|
|
126
127
|
${s}
|
|
127
128
|
${u}
|
|
128
|
-
${
|
|
129
|
+
${l}
|
|
129
130
|
${d}
|
|
130
|
-
${
|
|
131
|
-
${
|
|
131
|
+
${h}
|
|
132
|
+
${y}
|
|
132
133
|
${S}
|
|
133
|
-
|
|
134
|
-
`},ho=t=>{const e=A("cursor",t.cursor),r=A("border-color",t.borderColorHover),n=A("background-color",t.bgColorHover),o=A("box-shadow",t.shadowHover===void 0?void 0:ce.shadows[t.shadowHover]),s=A("transition",t.transition);return`
|
|
134
|
+
`},Qn=t=>{const e=W("cursor",t.cursor),r=W("border-color",t.borderColorHover),n=W("background-color",t.bgColorHover),o=W("box-shadow",t.shadowHover===void 0?void 0:ke.shadows[t.shadowHover]),i=W("transition",t.transition);return`
|
|
135
135
|
${e}
|
|
136
136
|
|
|
137
137
|
&:hover {
|
|
138
|
-
${
|
|
138
|
+
${i||"transition: all 0.2s;"}
|
|
139
139
|
${r}
|
|
140
140
|
${n}
|
|
141
141
|
${o}
|
|
142
142
|
}
|
|
143
|
-
`},
|
|
144
|
-
${
|
|
145
|
-
${
|
|
146
|
-
${
|
|
147
|
-
${
|
|
148
|
-
${
|
|
149
|
-
${
|
|
150
|
-
${
|
|
151
|
-
`,
|
|
152
|
-
${
|
|
153
|
-
${
|
|
154
|
-
${
|
|
155
|
-
${
|
|
156
|
-
${
|
|
157
|
-
${
|
|
158
|
-
${
|
|
159
|
-
`;var Et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gn={exports:{}};(function(t,e){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",u="[object Array]",f="[object Boolean]",d="[object Date]",g="[object Error]",_="[object Function]",S="[object GeneratorFunction]",C="[object Map]",P="[object Number]",B="[object Object]",z="[object Promise]",Z="[object RegExp]",F="[object Set]",$="[object String]",q="[object Symbol]",G="[object WeakMap]",Y="[object ArrayBuffer]",k="[object DataView]",O="[object Float32Array]",be="[object Float64Array]",Ce="[object Int8Array]",pe="[object Int16Array]",et="[object Int32Array]",ot="[object Uint8Array]",ge="[object Uint8ClampedArray]",xe="[object Uint16Array]",Le="[object Uint32Array]",de=/[\\^$.*+?()[\]{}|]/g,we=/\w*$/,ke=/^\[object .+?Constructor\]$/,ne=/^(?:0|[1-9]\d*)$/,V={};V[s]=V[u]=V[Y]=V[k]=V[f]=V[d]=V[O]=V[be]=V[Ce]=V[pe]=V[et]=V[C]=V[P]=V[B]=V[Z]=V[F]=V[$]=V[q]=V[ot]=V[ge]=V[xe]=V[Le]=!0,V[g]=V[_]=V[G]=!1;var Te=typeof Et=="object"&&Et&&Et.Object===Object&&Et,re=typeof self=="object"&&self&&self.Object===Object&&self,j=Te||re||Function("return this")(),Ye=e&&!e.nodeType&&e,Fe=Ye&&!0&&t&&!t.nodeType&&t,Se=Fe&&Fe.exports===Ye;function je(a,h){return a.set(h[0],h[1]),a}function me(a,h){return a.add(h),a}function oe(a,h){for(var m=-1,E=a?a.length:0;++m<E&&h(a[m],m,a)!==!1;);return a}function Ae(a,h){for(var m=-1,E=h.length,ve=a.length;++m<E;)a[ve+m]=h[m];return a}function He(a,h,m,E){for(var ve=-1,$e=a?a.length:0;++ve<$e;)m=h(m,a[ve],ve,a);return m}function ye(a,h){for(var m=-1,E=Array(a);++m<a;)E[m]=h(m);return E}function Bt(a,h){return a==null?void 0:a[h]}function _t(a){var h=!1;if(a!=null&&typeof a.toString!="function")try{h=!!(a+"")}catch{}return h}function Qe(a){var h=-1,m=Array(a.size);return a.forEach(function(E,ve){m[++h]=[ve,E]}),m}function tt(a,h){return function(m){return a(h(m))}}function rt(a){var h=-1,m=Array(a.size);return a.forEach(function(E){m[++h]=E}),m}var Tt=Array.prototype,it=Function.prototype,st=Object.prototype,at=j["__core-js_shared__"],ct=function(){var a=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),At=it.toString,Ve=st.hasOwnProperty,ut=st.toString,zt=RegExp("^"+At.call(Ve).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=Se?j.Buffer:void 0,qt=j.Symbol,Ot=j.Uint8Array,Gt=tt(Object.getPrototypeOf,Object),Ue=Object.create,Wt=st.propertyIsEnumerable,cr=Tt.splice,Yt=Object.getOwnPropertySymbols,Ht=Ne?Ne.isBuffer:void 0,ur=tt(Object.keys,Object),bt=R(j,"DataView"),lt=R(j,"Map"),Be=R(j,"Promise"),ft=R(j,"Set"),Ie=R(j,"WeakMap"),Me=R(Object,"create"),dt=kt(bt),wt=kt(lt),lr=kt(Be),Qt=kt(ft),fr=kt(Ie),ht=qt?qt.prototype:void 0,Rt=ht?ht.valueOf:void 0;function Je(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var E=a[h];this.set(E[0],E[1])}}function dr(){this.__data__=Me?Me(null):{}}function Jt(a){return this.has(a)&&delete this.__data__[a]}function hr(a){var h=this.__data__;if(Me){var m=h[a];return m===n?void 0:m}return Ve.call(h,a)?h[a]:void 0}function pr(a){var h=this.__data__;return Me?h[a]!==void 0:Ve.call(h,a)}function gr(a,h){var m=this.__data__;return m[a]=Me&&h===void 0?n:h,this}Je.prototype.clear=dr,Je.prototype.delete=Jt,Je.prototype.get=hr,Je.prototype.has=pr,Je.prototype.set=gr;function Oe(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var E=a[h];this.set(E[0],E[1])}}function c(){this.__data__=[]}function y(a){var h=this.__data__,m=Pt(h,a);if(m<0)return!1;var E=h.length-1;return m==E?h.pop():cr.call(h,m,1),!0}function b(a){var h=this.__data__,m=Pt(h,a);return m<0?void 0:h[m][1]}function x(a){return Pt(this.__data__,a)>-1}function W(a,h){var m=this.__data__,E=Pt(m,a);return E<0?m.push([a,h]):m[E][1]=h,this}Oe.prototype.clear=c,Oe.prototype.delete=y,Oe.prototype.get=b,Oe.prototype.has=x,Oe.prototype.set=W;function U(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var E=a[h];this.set(E[0],E[1])}}function L(){this.__data__={hash:new Je,map:new(lt||Oe),string:new Je}}function M(a){return T(this,a).delete(a)}function fe(a){return T(this,a).get(a)}function K(a){return T(this,a).has(a)}function ee(a,h){return T(this,a).set(a,h),this}U.prototype.clear=L,U.prototype.delete=M,U.prototype.get=fe,U.prototype.has=K,U.prototype.set=ee;function ie(a){this.__data__=new Oe(a)}function ze(){this.__data__=new Oe}function $t(a){return this.__data__.delete(a)}function De(a){return this.__data__.get(a)}function yn(a){return this.__data__.has(a)}function $r(a,h){var m=this.__data__;if(m instanceof Oe){var E=m.__data__;if(!lt||E.length<r-1)return E.push([a,h]),this;m=this.__data__=new U(E)}return m.set(a,h),this}ie.prototype.clear=ze,ie.prototype.delete=$t,ie.prototype.get=De,ie.prototype.has=yn,ie.prototype.set=$r;function vn(a,h){var m=An(a)||Js(a)?ye(a.length,String):[],E=m.length,ve=!!E;for(var $e in a)Ve.call(a,$e)&&!(ve&&($e=="length"||qe($e,E)))&&m.push($e);return m}function mr(a,h,m){var E=a[h];(!(Ve.call(a,h)&&Do(E,m))||m===void 0&&!(h in a))&&(a[h]=m)}function Pt(a,h){for(var m=a.length;m--;)if(Do(a[m][0],h))return m;return-1}function Pr(a,h){return a&&v(h,On(h),a)}function yr(a,h,m,E,ve,$e,gt){var Pe;if(E&&(Pe=$e?E(a,ve,$e,gt):E(a)),Pe!==void 0)return Pe;if(!Dr(a))return a;var Vo=An(a);if(Vo){if(Pe=Re(a),!h)return p(a,Pe)}else{var Kt=ae(a),No=Kt==_||Kt==S;if(Xs(a))return wn(a,h);if(Kt==B||Kt==s||No&&!$e){if(_t(a))return $e?a:{};if(Pe=Ee(No?{}:a),!h)return w(a,Pr(Pe,a))}else{if(!V[Kt])return $e?a:{};Pe=pt(a,Kt,yr,h)}}gt||(gt=new ie);var Uo=gt.get(a);if(Uo)return Uo;if(gt.set(a,Pe),!Vo)var Bo=m?N(a):On(a);return oe(Bo||a,function(Rn,Lr){Bo&&(Lr=Rn,Rn=a[Lr]),mr(Pe,Lr,yr(Rn,h,m,E,Lr,a,gt))}),Pe}function kr(a){return Dr(a)?Ue(a):{}}function jr(a,h,m){var E=h(a);return An(a)?E:Ae(E,m(a))}function _n(a){return ut.call(a)}function bn(a){if(!Dr(a)||Mr(a))return!1;var h=Fo(a)||_t(a)?zt:ke;return h.test(kt(a))}function Ir(a){if(!_r(a))return ur(a);var h=[];for(var m in Object(a))Ve.call(a,m)&&m!="constructor"&&h.push(m);return h}function wn(a,h){if(h)return a.slice();var m=new a.constructor(a.length);return a.copy(m),m}function vr(a){var h=new a.constructor(a.byteLength);return new Ot(h).set(new Ot(a)),h}function Sn(a,h){var m=h?vr(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.byteLength)}function En(a,h,m){var E=h?m(Qe(a),!0):Qe(a);return He(E,je,new a.constructor)}function Cn(a){var h=new a.constructor(a.source,we.exec(a));return h.lastIndex=a.lastIndex,h}function xn(a,h,m){var E=h?m(rt(a),!0):rt(a);return He(E,me,new a.constructor)}function i(a){return Rt?Object(Rt.call(a)):{}}function l(a,h){var m=h?vr(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.length)}function p(a,h){var m=-1,E=a.length;for(h||(h=Array(E));++m<E;)h[m]=a[m];return h}function v(a,h,m,E){m||(m={});for(var ve=-1,$e=h.length;++ve<$e;){var gt=h[ve],Pe=void 0;mr(m,gt,Pe===void 0?a[gt]:Pe)}return m}function w(a,h){return v(a,se(a),h)}function N(a){return jr(a,On,se)}function T(a,h){var m=a.__data__;return Tn(h)?m[typeof h=="string"?"string":"hash"]:m.map}function R(a,h){var m=Bt(a,h);return bn(m)?m:void 0}var se=Yt?tt(Yt,Object):ta,ae=_n;(bt&&ae(new bt(new ArrayBuffer(1)))!=k||lt&&ae(new lt)!=C||Be&&ae(Be.resolve())!=z||ft&&ae(new ft)!=F||Ie&&ae(new Ie)!=G)&&(ae=function(a){var h=ut.call(a),m=h==B?a.constructor:void 0,E=m?kt(m):void 0;if(E)switch(E){case dt:return k;case wt:return C;case lr:return z;case Qt:return F;case fr:return G}return h});function Re(a){var h=a.length,m=a.constructor(h);return h&&typeof a[0]=="string"&&Ve.call(a,"index")&&(m.index=a.index,m.input=a.input),m}function Ee(a){return typeof a.constructor=="function"&&!_r(a)?kr(Gt(a)):{}}function pt(a,h,m,E){var ve=a.constructor;switch(h){case Y:return vr(a);case f:case d:return new ve(+a);case k:return Sn(a,E);case O:case be:case Ce:case pe:case et:case ot:case ge:case xe:case Le:return l(a,E);case C:return En(a,E,m);case P:case $:return new ve(a);case Z:return Cn(a);case F:return xn(a,E,m);case q:return i(a)}}function qe(a,h){return h=h??o,!!h&&(typeof a=="number"||ne.test(a))&&a>-1&&a%1==0&&a<h}function Tn(a){var h=typeof a;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?a!=="__proto__":a===null}function Mr(a){return!!ct&&ct in a}function _r(a){var h=a&&a.constructor,m=typeof h=="function"&&h.prototype||st;return a===m}function kt(a){if(a!=null){try{return At.call(a)}catch{}try{return a+""}catch{}}return""}function Qs(a){return yr(a,!0,!0)}function Do(a,h){return a===h||a!==a&&h!==h}function Js(a){return Ks(a)&&Ve.call(a,"callee")&&(!Wt.call(a,"callee")||ut.call(a)==s)}var An=Array.isArray;function Lo(a){return a!=null&&Zs(a.length)&&!Fo(a)}function Ks(a){return ea(a)&&Lo(a)}var Xs=Ht||ra;function Fo(a){var h=Dr(a)?ut.call(a):"";return h==_||h==S}function Zs(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=o}function Dr(a){var h=typeof a;return!!a&&(h=="object"||h=="function")}function ea(a){return!!a&&typeof a=="object"}function On(a){return Lo(a)?vn(a):Ir(a)}function ta(){return[]}function ra(){return!1}t.exports=Qs})(Gn,Gn.exports);var Ct=Gn.exports,Wn=function(){return Wn=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},Wn.apply(this,arguments)};function Pc(t,e,r,n){function o(s){return s instanceof r?s:new r(function(u){u(s)})}return new(r||(r=Promise))(function(s,u){function f(_){try{g(n.next(_))}catch(S){u(S)}}function d(_){try{g(n.throw(_))}catch(S){u(S)}}function g(_){_.done?s(_.value):o(_.value).then(f,d)}g((n=n.apply(t,[])).next())})}function kc(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,o,s,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(g){return function(_){return d([g,_])}}function d(g){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,g[0]&&(r=0)),r;)try{if(n=1,o&&(s=g[0]&2?o.return:g[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,g[1])).done)return s;switch(o=0,s&&(g=[g[0]&2,s.value]),g[0]){case 0:case 1:s=g;break;case 4:return r.label++,{value:g[1],done:!1};case 5:r.label++,o=g[1],g=[0];continue;case 7:g=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(g[0]===6||g[0]===2)){r=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]<s[3])){r.label=g[1];break}if(g[0]===6&&r.label<s[1]){r.label=s[1],s=g;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(g);break}s[2]&&r.ops.pop(),r.trys.pop();continue}g=e.call(t,r)}catch(_){g=[6,_],o=0}finally{n=s=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}}function Kr(t,e,r,n,o){return Pc(this,void 0,void 0,function(){var s,u;return kc(this,function(f){switch(f.label){case 0:if(r===void 0)return[2];u=0,f.label=1;case 1:return u<r.length?[4,r[u](t,e,n,o,r)]:[3,4];case 2:if(s=f.sent(),s==="canceled")return[3,4];f.label=3;case 3:return u++,[3,1];case 4:return s!=="canceled"?[2,s]:[2]}})})}var Yn=function(t,e){return e===void 0&&(e={}),t?{trackedAnalytics:Wn({sdkCode:t.sdkCode,sdkSemver:t.sdkSemver,techVersion:t.techVersion},e)}:null},jc=function(){function t(e,r,n,o){var s=this;this.isMounted=!0,this.imgElement=e,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var u=Ct(r);Kr(e,u,n,this.htmlPluginState,o).then(function(f){if(s.isMounted){s.htmlPluginState.pluginEventSubscription.forEach(function(g){g()});var d=Yn(o,f);s.imgElement.setAttribute("src",u.toURL(d))}})}return t.prototype.update=function(e,r,n){var o=this,s=Ct(e);Kr(this.imgElement,s,r,this.htmlPluginState).then(function(u){if(o.isMounted){var f=Yn(n,u);o.imgElement.setAttribute("src",s.toURL(f))}})},t.prototype.unmount=function(){this.isMounted=!1},t}();let te=class{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}},Ic=class extends Error{constructor(e="Unsupported"){super(e)}};function mo(t){return new Ic(t)}function Mc(){return this._qualifierModel||{error:mo(`unsupported qualifier ${this.constructor.name}`)}}let Dc=class{constructor(){this._qualifierModel={}}toJson(){return Mc.apply(this)}},I=class extends Dc{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof te?this.qualifierValue=r:(this.qualifierValue=new te,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}},Ge=class extends I{constructor(e,r){let n;r?n=new te([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Lc(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Fc(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:mo(`unsupported action ${this.constructor.name}`)}}let Vc=class{constructor(){this._actionModel={}}toJson(){return Fc.apply(this)}},Xe=class extends Vc{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Lc(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new Ge(n)):this.qualifiers.set(r,new I(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new Ge(e)):e instanceof Ge&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}};class yo extends Xe{constructor(e){super(),this.regionType=e,this._actionModel.regionType=e}}class un extends yo{constructor(){super("custom")}x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e)),this}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e)),this}width(e){return this._actionModel.width=e,this.addQualifier(new I("w",e)),this}height(e){return this._actionModel.height=e,this.addQualifier(new I("h",e)),this}static fromJson(e){const r=new un;return e.width&&r.width(e.width),e.height&&r.height(e.height),e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function Nc(){return new un}function Ki(){return new yo("faces")}function Uc(){return new yo("ocr_text")}class Bc extends Xe{constructor(e){super(),this._actionModel={},this._strength=e,this._actionModel.actionType="blur",this._actionModel.strength=e}region(e){return this._region=e,this._actionModel.region=e.toJson(),this}strength(e){return this._strength=e,this._actionModel.strength=e,this}prepareQualifiers(){const e=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new I("e",`blur_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new I("e",`blur_region${e}`)),this.addQualifier(new I("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new I("e",`blur_faces${e}`))):this.addQualifier(new I("e",`blur${e}`))}static fromJson(e){const{strength:r,region:n}=e,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(Ki()),n&&n.regionType==="ocr_text"&&o.region(Uc()),n&&n.regionType==="custom"&&o.region(un.fromJson(n)),o}}function Nt(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const Xi={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},zc={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Zi={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},es={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},qc={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},ts={444:"CHROMA_444",420:"CHROMA_420"},Gc={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Wc=Nt(ts);Nt(Gc);const Yc=Nt(Xi),Hc=Nt(zc),rs=Nt(Zi);Nt(es);Nt(qc);class ns extends Xe{constructor(e,r){super(),this._actionModel={},this._actionModel.actionType=rs[e]||e;const n=this.createEffectQualifier(e,r);this.addQualifier(n)}createEffectQualifier(e,r){let n;return r?n=new te([e,`${r}`]).setDelimiter(":"):n=new te(e),new I("e",n)}static fromJson(e){const{actionType:r,level:n,strength:o}=e,s=Zi[r]||r;return new this(s,n||o)}}class Qc extends ns{constructor(e,r){super(e,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=e,this._actionModel.actionType=rs[e]||e,r&&this.setLevel(r)}setLevel(e){this._actionModel[this.LEVEL_NAME]=e;const r=this.createEffectQualifier(this.effectType,e);return this.addQualifier(r),this}}function ln(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class Jc extends Xe{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(e){return this._actionModel.numOfColors=e,this._numOfColors=e,this}detailsLevel(e){return this._actionModel.detailLevel=e,this._detailsLevel=e,this}despeckleLevel(e){return this._actionModel.despeckleLevel=e,this._despeckleLevel=e,this}cornersLevel(e){return this._actionModel.cornersLevel=e,this._cornersLevel=e,this}paths(e){return this._actionModel.paths=e,this._paths=e,this}prepareQualifiers(){let e="vectorize";this._numOfColors&&(e+=`:${new te(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(e+=`:${new te(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(e+=`:${new te(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(e+=`:${new te(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(e+=`:${new te(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new I("e",e))}static fromJson(e){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:s,detailLevel:u,numOfColors:f}=e,d=new this;return n&&d.paths(n),o&&d.cornersLevel(o),s&&d.despeckleLevel(s),u&&d.detailsLevel(u),f&&d.numOfColors(f),d}}class Kc extends Qc{level(e){return this._actionModel.level=e,this.setLevel(e)}}class Xc extends Xe{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new I("e",new te("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new I("e",new te(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(e){return this._actionModel.type="stripes",this._actionModel.stripesStrength=e,this.addQualifier(new I("e",new te(["assist_colorblind",e]).setDelimiter(":")))}static fromJson(e){const{actionType:r,type:n,stripesStrength:o}=e,s=new this;return n==="xray"&&s.xray(),n==="stripes"&&o&&s.stripesStrength(o),s}}class Zc extends Kc{color(e){return this._actionModel.color=e,this.addQualifier(new I("co",new te(ln(e))))}static fromJson(e){const{actionType:r,level:n,color:o}=e,s=new this(r,n);return o&&s.color(o),s}}class eu extends Xe{constructor(e){super(),this._actionModel={},this._squareSize=e,this._actionModel.actionType="pixelate",this._actionModel.squareSize=e}region(e){return this._region=e,this._actionModel.region={regionType:this._region.regionType},this}squareSize(e){return this._squareSize=e,this._actionModel.squareSize=e,this}prepareQualifiers(){const e=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new I("e",`pixelate_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new I("e",`pixelate_region${e}`)),this.addQualifier(new I("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new I("e",`pixelate_faces${e}`))):this.addQualifier(new I("e",`pixelate${e}`))}static fromJson(e){const{region:r,squareSize:n}=e,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(Ki()),r&&r.regionType==="custom"&&o.region(Nc()),o}}function tu(t){return new Bc(t)}function ru(){return new ns("grayscale")}function ui(t){return new Zc("colorize",t)}function nu(){return new Jc}function ou(){return new Xc}function iu(t){return new eu(t)}let su=class extends Xe{constructor(e){super(),this._actionModel={},this.addQualifier(new I("b",new te(ln(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}},li=class{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:mo(`unsupported action ${this.constructor.name}`)}}};function au(t){const e=t;return"error"in e&&!!e.error}function cu(){return new Ge("ignore_aspect_ratio")}function uu(){return new Ge("lossy")}function lu(){return new Ge("preserve_transparency")}function fu(t){return new Ge("progressive",t)}function du(){return new Ge("region_relative")}function hu(){return new Ge("relative")}let vo=class extends te{constructor(e){super(e),this.val=e}getValue(){return this.val}},os=class extends Xe{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof vo?o=r.getValue():o=r,this._actionModel.actionType=Hc[e],this._actionModel[n]=o,this.addQualifier(new I(e,r))}},pu=class extends Ge{constructor(e){super("progressive",e)}},Hn=class extends os{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(uu()),this}progressive(e){return e instanceof pu?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(fu(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(lu()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:s}=e;let u;return r?u=new this("f",r):u=new this("f"),o&&(o.mode?u.progressive(o.mode):u.progressive()),n&&u.lossy(),s&&u.preserveTransparency(),u}},fn=class is{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new li(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof is?this.actions=this.actions.concat(e.actions):this.actions.push(new li(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new Hn("q",e)),this}format(e){return this.addAction(new Hn("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new su(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new Xe;let n=e;return typeof e=="string"&&(n=new Ge(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(au(n))return n;e.push(n)}return{actions:e}}};function fi(t){const e=t.toString();return e.match(/[A-Z]/gi)||e.length>1&&e[0]==="0"?e:!isNaN(parseFloat(e))&&e.indexOf(":")===-1&&e.indexOf(".")===-1?`${e}.0`:e}class gu extends te{}class mu extends Xe{constructor(e,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Yc[e]||e,this.addQualifier(new I("c",e)),r&&this.width(r),n&&this.height(n)}height(e){return this._actionModel.dimensions.height=e,this.addQualifier(new I("h",e))}width(e){return this._actionModel.dimensions.width=e,this.addQualifier(new I("w",e))}aspectRatio(e){if(e instanceof gu)return this._actionModel.dimensions.aspectRatio=`${e}`,this.addQualifier(new I("ar",e));if(typeof e=="number"||typeof e=="string")return this._actionModel.dimensions.aspectRatio=fi(e),this.addQualifier(new I("ar",fi(e)));if(e instanceof Ge)return this._actionModel.dimensions.aspectRatio=`${e.qualifierValue}`,this.addFlag(e)}relative(){return this._actionModel.relative=!0,this.addFlag(hu())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(du())}static fromJson(e){const{actionType:r,dimensions:n,relative:o,regionRelative:s}=e,{aspectRatio:u,width:f,height:d}=n,g=Xi[r]||r,_=new this(g,f,d);return u&&_.aspectRatio(u==="ignore_aspect_ratio"?cu():u),o&&_.relative(),s&&_.regionRelative(),_}}class _o extends I{constructor(e){super("g",new te(e))}}class ss extends _o{constructor(){super("auto")}autoFocus(...e){return this.addValue(e),this}}class as extends _o{constructor(e){super(e)}fallbackGravity(e){return this.addValue(e.qualifierValue),this}}class cs extends _o{constructor(e){super(e)}}function yu(t){return new cs(t)}function us(...t){const e=[...t];return new as(e)}function ls(){return new ss}class dn extends te{constructor(e){super(),this.name=e}toString(){return this.name}}function vu(){return new dn("ocr_text")}function _u(t){return t&&`${t}`.split(":")[0]==="auto"}function bu(t){const e=bo(t);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(e)}function bo(t){return`${t}`.replace("g_","")}function wu(t){return{compass:bo(t),gravityType:"direction"}}function Su(t){return bo(t)==="ocr_text"}function Eu(){return{gravityType:"ocr"}}function Cu(t){return`${t.qualifierValue}`.split(":")[0]==="auto"}function xu(t){const r=t.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function fs(t){let e;const r=t==="auto"?new ss:t;return`${t}`.startsWith("auto:")?e=`${t}`.split(":").filter(o=>o!=="auto"):e=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:e.map(xu)}}function Tu(t){const e=`${t}`.split(":").includes("auto"),r=t.qualifierValue.values,o={gravityType:"object",focusOnObjects:(e?r.slice(0,r.length-1):r).map(s=>`${s}`)};if(e){const s=r[r.length-1].values.slice(1),u=ls().autoFocus(...s);o.fallbackGravity=fs(u)}return o}function Au(t){const r=t.split(":").map(n=>new dn(n));return new as(r)}function Ou(t){return bu(t)?wu(t):Su(t)?Eu():_u(t)||Cu(t)?fs(t):Tu(typeof t=="string"?Au(t):t)}class wo extends te{constructor(e,r){super(),this._weight=r,this.focusOn=e,this.shouldAvoid=!1}static focusOn(e,r){return new wo(e,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(e){return this._weight=e,this}avoid(){return this.shouldAvoid=!0,this}}class ds extends te{constructor(e){super(),this.val=e}toString(){return this.val}}function Ru(t){return t.gravityType==="direction"}function $u(t){return t.gravityType==="ocr"}function Pu(t){return t.gravityType==="auto"}function ku(t){const{object:e,weight:r,avoid:n}=t,o=new wo(new dn(e));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function hs(t){const r=(t.autoFocus||[]).map(ku);return ls().autoFocus(...r)}function ju(t){const e=(t.focusOnObjects||[]).map(n=>new dn(n)),r=us(...e);if(t.fallbackGravity){const n=hs(t.fallbackGravity);r.fallbackGravity(n)}return r}function Iu(t){return Ru(t)?new cs(new ds(t.compass)):$u(t)?us(vu()):Pu(t)?hs(t):ju(t)}class So extends mu{gravity(e){this._actionModel.gravity=Ou(e);const r=typeof e=="string"?new I("g",e):e;return this.addQualifier(r)}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.gravity&&r.gravity(Iu(e.gravity)),r}}class Ar extends I{constructor(e){super("b"),e&&this.addValue(e)}}const ps=100,Mu=0;class Du extends Ar{intensity(e){return this.intensityLevel=e,this}brightness(e){return this.brightnessLevel=e,this}toString(){const e=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${ps}:${this.brightnessLevel}`:"";return`b_blurred${e}${r}`}}var gs=Du;class Eo extends Ar{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...e){return this._palette=e.map(r=>ln(r)),this}}class ms extends Eo{toString(){return`
|
|
143
|
+
`},Jn=()=>({shouldForwardProp:t=>!oa.includes(t)}),gi=Bt.div.withConfig(Jn())`
|
|
144
|
+
${zn}
|
|
145
|
+
${Wn}
|
|
146
|
+
${qn}
|
|
147
|
+
${Hn}
|
|
148
|
+
${Yn}
|
|
149
|
+
${Gn}
|
|
150
|
+
${Qn}
|
|
151
|
+
`,mi=Bt.p.withConfig(Jn())`
|
|
152
|
+
${zn}
|
|
153
|
+
${Wn}
|
|
154
|
+
${qn}
|
|
155
|
+
${Hn}
|
|
156
|
+
${Yn}
|
|
157
|
+
${Gn}
|
|
158
|
+
${Qn}
|
|
159
|
+
`,Ca=Bt.span.withConfig(Jn())`
|
|
160
|
+
${zn}
|
|
161
|
+
${Wn}
|
|
162
|
+
${qn}
|
|
163
|
+
${Hn}
|
|
164
|
+
${Yn}
|
|
165
|
+
${Gn}
|
|
166
|
+
${Qn}
|
|
167
|
+
`;var er=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Uo={exports:{}};(function(t,e){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",u="[object Boolean]",l="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",S="[object Map]",b="[object Number]",T="[object Object]",$="[object Promise]",j="[object RegExp]",A="[object Set]",O="[object String]",R="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",me="[object Float64Array]",ye="[object Int8Array]",fe="[object Int16Array]",De="[object Int32Array]",Ie="[object Uint8Array]",ve="[object Uint8ClampedArray]",Q="[object Uint16Array]",Se="[object Uint32Array]",oe=/[\\^$.*+?()[\]{}|]/g,ie=/\w*$/,se=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,q={};q[i]=q[s]=q[M]=q[D]=q[u]=q[l]=q[P]=q[me]=q[ye]=q[fe]=q[De]=q[S]=q[b]=q[T]=q[j]=q[A]=q[O]=q[R]=q[Ie]=q[ve]=q[Q]=q[Se]=!0,q[d]=q[h]=q[I]=!1;var ae=typeof er=="object"&&er&&er.Object===Object&&er,pe=typeof self=="object"&&self&&self.Object===Object&&self,G=ae||pe||Function("return this")(),it=e&&!e.nodeType&&e,Ze=it&&!0&&t&&!t.nodeType&&t,ze=Ze&&Ze.exports===it;function We(c,g){return c.set(g[0],g[1]),c}function ue(c,g){return c.add(g),c}function be(c,g){for(var w=-1,L=c?c.length:0;++w<L&&g(c[w],w,c)!==!1;);return c}function xe(c,g){for(var w=-1,L=g.length,nt=c.length;++w<L;)c[nt+w]=g[w];return c}function Ve(c,g,w,L){for(var nt=-1,Tt=c?c.length:0;++nt<Tt;)w=g(w,c[nt],nt,c);return w}function Re(c,g){for(var w=-1,L=Array(c);++w<c;)L[w]=g(w);return L}function lt(c,g){return c==null?void 0:c[g]}function Ct(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Ee(c){var g=-1,w=Array(c.size);return c.forEach(function(L,nt){w[++g]=[nt,L]}),w}function ft(c,g){return function(w){return c(g(w))}}function Ye(c){var g=-1,w=Array(c.size);return c.forEach(function(L){w[++g]=L}),w}var dt=Array.prototype,le=Function.prototype,pt=Object.prototype,ht=G["__core-js_shared__"],gt=function(){var c=/[^.]+$/.exec(ht&&ht.keys&&ht.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ot=le.toString,et=pt.hasOwnProperty,st=pt.toString,mt=RegExp("^"+Ot.call(et).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qe=ze?G.Buffer:void 0,_t=G.Symbol,St=G.Uint8Array,Rt=ft(Object.getPrototypeOf,Object),qe=Object.create,Pt=pt.propertyIsEnumerable,tt=dt.splice,we=Object.getOwnPropertySymbols,Lt=Qe?Qe.isBuffer:void 0,Dt=ft(Object.keys,Object),yt=H(G,"DataView"),vt=H(G,"Map"),Ge=H(G,"Promise"),at=H(G,"Set"),Be=H(G,"WeakMap"),He=H(Object,"create"),xt=ar(yt),_e=ar(vt),Je=ar(Ge),N=ar(at),X=ar(Be),Pe=_t?_t.prototype:void 0,bt=Pe?Pe.valueOf:void 0;function C(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function V(){this.__data__=He?He(null):{}}function U(c){return this.has(c)&&delete this.__data__[c]}function Te(c){var g=this.__data__;if(He){var w=g[c];return w===n?void 0:w}return et.call(g,c)?g[c]:void 0}function Me(c){var g=this.__data__;return He?g[c]!==void 0:et.call(g,c)}function ct(c,g){var w=this.__data__;return w[c]=He&&g===void 0?n:g,this}C.prototype.clear=V,C.prototype.delete=U,C.prototype.get=Te,C.prototype.has=Me,C.prototype.set=ct;function Ae(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function v(c){var g=this.__data__,w=sr(g,c);if(w<0)return!1;var L=g.length-1;return w==L?g.pop():tt.call(g,w,1),!0}function x(c){var g=this.__data__,w=sr(g,c);return w<0?void 0:g[w][1]}function F(c){return sr(this.__data__,c)>-1}function ne(c,g){var w=this.__data__,L=sr(w,c);return L<0?w.push([c,g]):w[L][1]=g,this}Ae.prototype.clear=f,Ae.prototype.delete=v,Ae.prototype.get=x,Ae.prototype.has=F,Ae.prototype.set=ne;function ee(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function J(){this.__data__={hash:new C,map:new(vt||Ae),string:new C}}function Y(c){return z(this,c).delete(c)}function Le(c){return z(this,c).get(c)}function B(c){return z(this,c).has(c)}function ce(c,g){return z(this,c).set(c,g),this}ee.prototype.clear=J,ee.prototype.delete=Y,ee.prototype.get=Le,ee.prototype.has=B,ee.prototype.set=ce;function Oe(c){this.__data__=new Ae(c)}function Ke(){this.__data__=new Ae}function Ht(c){return this.__data__.delete(c)}function rt(c){return this.__data__.get(c)}function uo(c){return this.__data__.has(c)}function nn(c,g){var w=this.__data__;if(w instanceof Ae){var L=w.__data__;if(!vt||L.length<r-1)return L.push([c,g]),this;w=this.__data__=new ee(L)}return w.set(c,g),this}Oe.prototype.clear=Ke,Oe.prototype.delete=Ht,Oe.prototype.get=rt,Oe.prototype.has=uo,Oe.prototype.set=nn;function lo(c,g){var w=wo(c)||Xc(c)?Re(c.length,String):[],L=w.length,nt=!!L;for(var Tt in c)et.call(c,Tt)&&!(nt&&(Tt=="length"||kt(Tt,L)))&&w.push(Tt);return w}function Dr(c,g,w){var L=c[g];(!(et.call(c,g)&&Wi(L,w))||w===void 0&&!(g in c))&&(c[g]=w)}function sr(c,g){for(var w=c.length;w--;)if(Wi(c[w][0],g))return w;return-1}function on(c,g){return c&&_(g,_o(g),c)}function Nr(c,g,w,L,nt,Tt,Qt){var At;if(L&&(At=Tt?L(c,nt,Tt,Qt):L(c)),At!==void 0)return At;if(!ln(c))return c;var Hi=wo(c);if(Hi){if(At=Et(c),!g)return m(c,At)}else{var wr=Fe(c),Yi=wr==h||wr==y;if(eu(c))return ho(c,g);if(wr==T||wr==i||Yi&&!Tt){if(Ct(c))return Tt?c:{};if(At=wt(Yi?{}:c),!g)return k(c,on(At,c))}else{if(!q[wr])return Tt?c:{};At=Yt(c,wr,Nr,g)}}Qt||(Qt=new Oe);var Qi=Qt.get(c);if(Qi)return Qi;if(Qt.set(c,At),!Hi)var Ji=w?re(c):_o(c);return be(Ji||c,function(So,fn){Ji&&(fn=So,So=c[fn]),Dr(At,fn,Nr(So,g,w,L,fn,c,Qt))}),At}function sn(c){return ln(c)?qe(c):{}}function an(c,g,w){var L=g(c);return wo(c)?L:xe(L,w(c))}function fo(c){return st.call(c)}function po(c){if(!ln(c)||un(c))return!1;var g=Gi(c)||Ct(c)?mt:se;return g.test(ar(c))}function cn(c){if(!Vr(c))return Dt(c);var g=[];for(var w in Object(c))et.call(c,w)&&w!="constructor"&&g.push(w);return g}function ho(c,g){if(g)return c.slice();var w=new c.constructor(c.length);return c.copy(w),w}function Fr(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function go(c,g){var w=g?Fr(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.byteLength)}function mo(c,g,w){var L=g?w(Ee(c),!0):Ee(c);return Ve(L,We,new c.constructor)}function yo(c){var g=new c.constructor(c.source,ie.exec(c));return g.lastIndex=c.lastIndex,g}function vo(c,g,w){var L=g?w(Ye(c),!0):Ye(c);return Ve(L,ue,new c.constructor)}function a(c){return bt?Object(bt.call(c)):{}}function p(c,g){var w=g?Fr(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.length)}function m(c,g){var w=-1,L=c.length;for(g||(g=Array(L));++w<L;)g[w]=c[w];return g}function _(c,g,w,L){w||(w={});for(var nt=-1,Tt=g.length;++nt<Tt;){var Qt=g[nt],At=void 0;Dr(w,Qt,At===void 0?c[Qt]:At)}return w}function k(c,g){return _(c,Ne(c),g)}function re(c){return an(c,_o,Ne)}function z(c,g){var w=c.__data__;return bo(g)?w[typeof g=="string"?"string":"hash"]:w.map}function H(c,g){var w=lt(c,g);return po(w)?w:void 0}var Ne=we?ft(we,Object):nu,Fe=fo;(yt&&Fe(new yt(new ArrayBuffer(1)))!=D||vt&&Fe(new vt)!=S||Ge&&Fe(Ge.resolve())!=$||at&&Fe(new at)!=A||Be&&Fe(new Be)!=I)&&(Fe=function(c){var g=st.call(c),w=g==T?c.constructor:void 0,L=w?ar(w):void 0;if(L)switch(L){case xt:return D;case _e:return S;case Je:return $;case N:return A;case X:return I}return g});function Et(c){var g=c.length,w=c.constructor(g);return g&&typeof c[0]=="string"&&et.call(c,"index")&&(w.index=c.index,w.input=c.input),w}function wt(c){return typeof c.constructor=="function"&&!Vr(c)?sn(Rt(c)):{}}function Yt(c,g,w,L){var nt=c.constructor;switch(g){case M:return Fr(c);case u:case l:return new nt(+c);case D:return go(c,L);case P:case me:case ye:case fe:case De:case Ie:case ve:case Q:case Se:return p(c,L);case S:return mo(c,L,w);case b:case O:return new nt(c);case j:return yo(c);case A:return vo(c,L,w);case R:return a(c)}}function kt(c,g){return g=g??o,!!g&&(typeof c=="number"||te.test(c))&&c>-1&&c%1==0&&c<g}function bo(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function un(c){return!!gt&> in c}function Vr(c){var g=c&&c.constructor,w=typeof g=="function"&&g.prototype||pt;return c===w}function ar(c){if(c!=null){try{return Ot.call(c)}catch{}try{return c+""}catch{}}return""}function Kc(c){return Nr(c,!0,!0)}function Wi(c,g){return c===g||c!==c&&g!==g}function Xc(c){return Zc(c)&&et.call(c,"callee")&&(!Pt.call(c,"callee")||st.call(c)==i)}var wo=Array.isArray;function qi(c){return c!=null&&tu(c.length)&&!Gi(c)}function Zc(c){return ru(c)&&qi(c)}var eu=Lt||ou;function Gi(c){var g=ln(c)?st.call(c):"";return g==h||g==y}function tu(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=o}function ln(c){var g=typeof c;return!!c&&(g=="object"||g=="function")}function ru(c){return!!c&&typeof c=="object"}function _o(c){return qi(c)?lo(c):cn(c)}function nu(){return[]}function ou(){return!1}t.exports=Kc})(Uo,Uo.exports);var tr=Uo.exports,zo=function(){return zo=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},zo.apply(this,arguments)};function Il(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{d(n.next(h))}catch(y){s(y)}}function l(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(u,l)}d((n=n.apply(t,[])).next())})}function Ml(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(d){return function(h){return l([d,h])}}function l(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function On(t,e,r,n,o){return Il(this,void 0,void 0,function(){var i,s;return Ml(this,function(u){switch(u.label){case 0:if(r===void 0)return[2];s=0,u.label=1;case 1:return s<r.length?[4,r[s](t,e,n,o,r)]:[3,4];case 2:if(i=u.sent(),i==="canceled")return[3,4];u.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var Wo=function(t,e){return e===void 0&&(e={}),t?{trackedAnalytics:zo({sdkCode:t.sdkCode,sdkSemver:t.sdkSemver,techVersion:t.techVersion},e)}:null},Ll=function(){function t(e,r,n,o){var i=this;this.isMounted=!0,this.imgElement=e,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=tr(r);On(e,s,n,this.htmlPluginState,o).then(function(u){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var l=Wo(o,u);i.imgElement.setAttribute("src",s.toURL(l))}})}return t.prototype.update=function(e,r,n){var o=this,i=tr(e);On(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var u=Wo(n,s);o.imgElement.setAttribute("src",i.toURL(u))}})},t.prototype.unmount=function(){this.isMounted=!1},t}();let je=class{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}},Dl=class extends Error{constructor(e="Unsupported"){super(e)}};function yi(t){return new Dl(t)}function Nl(){return this._qualifierModel||{error:yi(`unsupported qualifier ${this.constructor.name}`)}}let Fl=class{constructor(){this._qualifierModel={}}toJson(){return Nl.apply(this)}},K=class extends Fl{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof je?this.qualifierValue=r:(this.qualifierValue=new je,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}},It=class extends K{constructor(e,r){let n;r?n=new je([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Vl(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Bl(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:yi(`unsupported action ${this.constructor.name}`)}}let Ul=class{constructor(){this._actionModel={}}toJson(){return Bl.apply(this)}},Ut=class extends Ul{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Vl(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new It(n)):this.qualifiers.set(r,new K(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new It(e)):e instanceof It&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}};class vi extends Ut{constructor(e){super(),this.regionType=e,this._actionModel.regionType=e}}class Kn extends vi{constructor(){super("custom")}x(e){return this._actionModel.x=e,this.addQualifier(new K("x",e)),this}y(e){return this._actionModel.y=e,this.addQualifier(new K("y",e)),this}width(e){return this._actionModel.width=e,this.addQualifier(new K("w",e)),this}height(e){return this._actionModel.height=e,this.addQualifier(new K("h",e)),this}static fromJson(e){const r=new Kn;return e.width&&r.width(e.width),e.height&&r.height(e.height),e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function zl(){return new Kn}function Ra(){return new vi("faces")}function Wl(){return new vi("ocr_text")}class ql extends Ut{constructor(e){super(),this._actionModel={},this._strength=e,this._actionModel.actionType="blur",this._actionModel.strength=e}region(e){return this._region=e,this._actionModel.region=e.toJson(),this}strength(e){return this._strength=e,this._actionModel.strength=e,this}prepareQualifiers(){const e=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new K("e",`blur_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new K("e",`blur_region${e}`)),this.addQualifier(new K("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new K("e",`blur_faces${e}`))):this.addQualifier(new K("e",`blur${e}`))}static fromJson(e){const{strength:r,region:n}=e,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(Ra()),n&&n.regionType==="ocr_text"&&o.region(Wl()),n&&n.regionType==="custom"&&o.region(Kn.fromJson(n)),o}}function vr(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const Pa={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},Gl={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},ka={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},ja={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Hl={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Ia={444:"CHROMA_444",420:"CHROMA_420"},Yl={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Ql=vr(Ia);vr(Yl);const Jl=vr(Pa),Kl=vr(Gl),Ma=vr(ka);vr(ja);vr(Hl);class La extends Ut{constructor(e,r){super(),this._actionModel={},this._actionModel.actionType=Ma[e]||e;const n=this.createEffectQualifier(e,r);this.addQualifier(n)}createEffectQualifier(e,r){let n;return r?n=new je([e,`${r}`]).setDelimiter(":"):n=new je(e),new K("e",n)}static fromJson(e){const{actionType:r,level:n,strength:o}=e,i=ka[r]||r;return new this(i,n||o)}}class Xl extends La{constructor(e,r){super(e,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=e,this._actionModel.actionType=Ma[e]||e,r&&this.setLevel(r)}setLevel(e){this._actionModel[this.LEVEL_NAME]=e;const r=this.createEffectQualifier(this.effectType,e);return this.addQualifier(r),this}}function Xn(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class Zl extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(e){return this._actionModel.numOfColors=e,this._numOfColors=e,this}detailsLevel(e){return this._actionModel.detailLevel=e,this._detailsLevel=e,this}despeckleLevel(e){return this._actionModel.despeckleLevel=e,this._despeckleLevel=e,this}cornersLevel(e){return this._actionModel.cornersLevel=e,this._cornersLevel=e,this}paths(e){return this._actionModel.paths=e,this._paths=e,this}prepareQualifiers(){let e="vectorize";this._numOfColors&&(e+=`:${new je(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(e+=`:${new je(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(e+=`:${new je(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(e+=`:${new je(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(e+=`:${new je(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new K("e",e))}static fromJson(e){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:u}=e,l=new this;return n&&l.paths(n),o&&l.cornersLevel(o),i&&l.despeckleLevel(i),s&&l.detailsLevel(s),u&&l.numOfColors(u),l}}class ef extends Xl{level(e){return this._actionModel.level=e,this.setLevel(e)}}class tf extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new K("e",new je("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new K("e",new je(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(e){return this._actionModel.type="stripes",this._actionModel.stripesStrength=e,this.addQualifier(new K("e",new je(["assist_colorblind",e]).setDelimiter(":")))}static fromJson(e){const{actionType:r,type:n,stripesStrength:o}=e,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class rf extends ef{color(e){return this._actionModel.color=e,this.addQualifier(new K("co",new je(Xn(e))))}static fromJson(e){const{actionType:r,level:n,color:o}=e,i=new this(r,n);return o&&i.color(o),i}}class nf extends Ut{constructor(e){super(),this._actionModel={},this._squareSize=e,this._actionModel.actionType="pixelate",this._actionModel.squareSize=e}region(e){return this._region=e,this._actionModel.region={regionType:this._region.regionType},this}squareSize(e){return this._squareSize=e,this._actionModel.squareSize=e,this}prepareQualifiers(){const e=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new K("e",`pixelate_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new K("e",`pixelate_region${e}`)),this.addQualifier(new K("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new K("e",`pixelate_faces${e}`))):this.addQualifier(new K("e",`pixelate${e}`))}static fromJson(e){const{region:r,squareSize:n}=e,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(Ra()),r&&r.regionType==="custom"&&o.region(zl()),o}}function of(t){return new ql(t)}function sf(){return new La("grayscale")}function ys(t){return new rf("colorize",t)}function af(){return new Zl}function cf(){return new tf}function uf(t){return new nf(t)}let lf=class extends Ut{constructor(e){super(),this._actionModel={},this.addQualifier(new K("b",new je(Xn(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}},vs=class{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:yi(`unsupported action ${this.constructor.name}`)}}};function ff(t){const e=t;return"error"in e&&!!e.error}function df(){return new It("ignore_aspect_ratio")}function pf(){return new It("lossy")}function hf(){return new It("preserve_transparency")}function gf(t){return new It("progressive",t)}function mf(){return new It("region_relative")}function yf(){return new It("relative")}let bi=class extends je{constructor(e){super(e),this.val=e}getValue(){return this.val}},Da=class extends Ut{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof bi?o=r.getValue():o=r,this._actionModel.actionType=Kl[e],this._actionModel[n]=o,this.addQualifier(new K(e,r))}},vf=class extends It{constructor(e){super("progressive",e)}},qo=class extends Da{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(pf()),this}progressive(e){return e instanceof vf?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(gf(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(hf()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=e;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},Zn=class Na{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new vs(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof Na?this.actions=this.actions.concat(e.actions):this.actions.push(new vs(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new qo("q",e)),this}format(e){return this.addAction(new qo("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new lf(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new Ut;let n=e;return typeof e=="string"&&(n=new It(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(ff(n))return n;e.push(n)}return{actions:e}}};function bs(t){const e=t.toString();return e.match(/[A-Z]/gi)||e.length>1&&e[0]==="0"?e:!isNaN(parseFloat(e))&&e.indexOf(":")===-1&&e.indexOf(".")===-1?`${e}.0`:e}class bf extends je{}class wf extends Ut{constructor(e,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Jl[e]||e,this.addQualifier(new K("c",e)),r&&this.width(r),n&&this.height(n)}height(e){return this._actionModel.dimensions.height=e,this.addQualifier(new K("h",e))}width(e){return this._actionModel.dimensions.width=e,this.addQualifier(new K("w",e))}aspectRatio(e){if(e instanceof bf)return this._actionModel.dimensions.aspectRatio=`${e}`,this.addQualifier(new K("ar",e));if(typeof e=="number"||typeof e=="string")return this._actionModel.dimensions.aspectRatio=bs(e),this.addQualifier(new K("ar",bs(e)));if(e instanceof It)return this._actionModel.dimensions.aspectRatio=`${e.qualifierValue}`,this.addFlag(e)}relative(){return this._actionModel.relative=!0,this.addFlag(yf())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(mf())}static fromJson(e){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=e,{aspectRatio:s,width:u,height:l}=n,d=Pa[r]||r,h=new this(d,u,l);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?df():s),o&&h.relative(),i&&h.regionRelative(),h}}class wi extends K{constructor(e){super("g",new je(e))}}class Fa extends wi{constructor(){super("auto")}autoFocus(...e){return this.addValue(e),this}}class Va extends wi{constructor(e){super(e)}fallbackGravity(e){return this.addValue(e.qualifierValue),this}}class Ba extends wi{constructor(e){super(e)}}function _f(t){return new Ba(t)}function Ua(...t){const e=[...t];return new Va(e)}function za(){return new Fa}class eo extends je{constructor(e){super(),this.name=e}toString(){return this.name}}function Sf(){return new eo("ocr_text")}function xf(t){return t&&`${t}`.split(":")[0]==="auto"}function Ef(t){const e=_i(t);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(e)}function _i(t){return`${t}`.replace("g_","")}function Tf(t){return{compass:_i(t),gravityType:"direction"}}function Af(t){return _i(t)==="ocr_text"}function Of(){return{gravityType:"ocr"}}function $f(t){return`${t.qualifierValue}`.split(":")[0]==="auto"}function Cf(t){const r=t.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function Wa(t){let e;const r=t==="auto"?new Fa:t;return`${t}`.startsWith("auto:")?e=`${t}`.split(":").filter(o=>o!=="auto"):e=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:e.map(Cf)}}function Rf(t){const e=`${t}`.split(":").includes("auto"),r=t.qualifierValue.values,o={gravityType:"object",focusOnObjects:(e?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(e){const i=r[r.length-1].values.slice(1),s=za().autoFocus(...i);o.fallbackGravity=Wa(s)}return o}function Pf(t){const r=t.split(":").map(n=>new eo(n));return new Va(r)}function kf(t){return Ef(t)?Tf(t):Af(t)?Of():xf(t)||$f(t)?Wa(t):Rf(typeof t=="string"?Pf(t):t)}class Si extends je{constructor(e,r){super(),this._weight=r,this.focusOn=e,this.shouldAvoid=!1}static focusOn(e,r){return new Si(e,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(e){return this._weight=e,this}avoid(){return this.shouldAvoid=!0,this}}class qa extends je{constructor(e){super(),this.val=e}toString(){return this.val}}function jf(t){return t.gravityType==="direction"}function If(t){return t.gravityType==="ocr"}function Mf(t){return t.gravityType==="auto"}function Lf(t){const{object:e,weight:r,avoid:n}=t,o=new Si(new eo(e));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Ga(t){const r=(t.autoFocus||[]).map(Lf);return za().autoFocus(...r)}function Df(t){const e=(t.focusOnObjects||[]).map(n=>new eo(n)),r=Ua(...e);if(t.fallbackGravity){const n=Ga(t.fallbackGravity);r.fallbackGravity(n)}return r}function Nf(t){return jf(t)?new Ba(new qa(t.compass)):If(t)?Ua(Sf()):Mf(t)?Ga(t):Df(t)}class xi extends wf{gravity(e){this._actionModel.gravity=kf(e);const r=typeof e=="string"?new K("g",e):e;return this.addQualifier(r)}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.gravity&&r.gravity(Nf(e.gravity)),r}}class Jr extends K{constructor(e){super("b"),e&&this.addValue(e)}}const Ha=100,Ff=0;class Vf extends Jr{intensity(e){return this.intensityLevel=e,this}brightness(e){return this.brightnessLevel=e,this}toString(){const e=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Ha}:${this.brightnessLevel}`:"";return`b_blurred${e}${r}`}}var Ya=Vf;class Ei extends Jr{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...e){return this._palette=e.map(r=>Xn(r)),this}}class Qa extends Ei{toString(){return`
|
|
160
168
|
b_auto:border
|
|
161
169
|
${this._contrast?"_contrast":""}
|
|
162
170
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
163
|
-
`.replace(/\s+/g,"")}}class
|
|
171
|
+
`.replace(/\s+/g,"")}}class Ja extends Ei{gradientColors(e){return this._gradientColors=e,this}gradientDirection(e){return this._gradientDirection=e,this}}class Ka extends Ja{toString(){return`
|
|
164
172
|
b_auto:border_gradient
|
|
165
173
|
${this._contrast?"_contrast":""}
|
|
166
174
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
167
175
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
168
176
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
169
|
-
`.replace(/\s+/g,"")}}class
|
|
177
|
+
`.replace(/\s+/g,"")}}class Xa extends Ja{toString(){return`
|
|
170
178
|
b_auto:predominant_gradient
|
|
171
179
|
${this._contrast?"_contrast":""}
|
|
172
180
|
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
173
181
|
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
174
182
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
175
|
-
`.replace(/\s+/g,"")}}class
|
|
183
|
+
`.replace(/\s+/g,"")}}class Za extends Ei{toString(){return`
|
|
176
184
|
b_auto:predominant
|
|
177
185
|
${this._contrast?"_contrast":""}
|
|
178
186
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
179
|
-
`.replace(/\s+/g,"")}}class ws extends Ar{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(e){return this._prompt=e,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Ss(t){return`${t}`.replace("b_","")}function Lu(){return{backgroundType:"auto"}}function Fu(t){const{intensityLevel:e,brightnessLevel:r}=t,n={backgroundType:"blurred"};return(e||e===0)&&(n.intensity=e),(r||r===0)&&(n.brightness=r),n}function Co(t){const e=t._contrast,r=t._palette,n={backgroundType:""};return e&&(n.contrast=!0),r&&(n.palette=r),n}function Vu(t){return Object.assign(Object.assign({},Co(t)),{backgroundType:"border"})}function Es(t){const e=t._gradientColors,r=`${t._gradientDirection}`,n=Co(t);return e&&(n.gradientColors=e),r&&(n.gradientDirection=r),n}function Nu(t){return Object.assign(Object.assign({},Es(t)),{backgroundType:"borderGradient"})}function Uu(t){return{backgroundType:"color",color:Ss(t)}}function Bu(t){return Object.assign(Object.assign({},Co(t)),{backgroundType:"predominant"})}function zu(t){return Object.assign(Object.assign({},Es(t)),{backgroundType:"predominantGradient"})}function qu(t){return Object.assign({backgroundType:t.getBackgroundType()},t.getPrompt()?{prompt:t.getPrompt()}:{})}function Gu(t){return Ss(t)==="auto"?Lu():t instanceof gs?Fu(t):t instanceof ms?Vu(t):t instanceof vs?Nu(t):t instanceof bs?Bu(t):t instanceof _s?zu(t):t instanceof ws?qu(t):Uu(t)}function Wu(){return new vo("svg")}function xo(){return new vo("auto")}function Cs(){return new ms}function xs(){return new Ar("auto")}function Ts(){return new vs}function As(){return new _s}function Os(){return new bs}function Rs(t){return new Ar(ln(t))}function Yu(){return new gs}function $s(){return new ws}const Ps={auto:xs,border:Cs,borderGradient:Ts,predominantGradient:As,predominant:Os,color:Rs,blurred:Yu,generativeFill:$s};function Hu(t){const{brightness:e,intensity:r}=t,n=Ps.blurred();return n.brightness(e??Mu),n.intensity(r??ps),n}function di(t,e){const{gradientColors:r,gradientDirection:n,contrast:o,palette:s}=e;return o&&t.contrast(),s&&t.palette(...s),r&&t.gradientColors(+r),n&&t.gradientDirection(n),t}function hi(t,e){const{contrast:r,palette:n}=e;return r&&t.contrast(),n&&t.palette(...n),t}function Qu(t,e){const{prompt:r}=e;return r&&t.prompt(r),t}function Ju(t){const{backgroundType:e}=t;switch(e){case"auto":return xs();case"blurred":return Hu(t);case"border":return hi(Cs(),t);case"borderGradient":return di(Ts(),t);case"predominant":return hi(Os(),t);case"predominantGradient":return di(As(),t);case"generativeFill":return Qu($s(),t);default:return Rs(t.color)}}class Ku extends So{background(e){return this._actionModel.background=Gu(e),this.addQualifier(e)}offsetX(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}offsetY(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.background&&r.background(Ju(e.background)),e.x&&r.offsetX(e.x),e.y&&r.offsetY(e.y),e.zoom&&r.zoom(e.zoom),r}}class Xu extends So{x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}zoom(e){return this._actionModel.zoom=e,this.addQualifier(new I("z",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),e.zoom&&r.zoom(e.zoom),r}}class Zu extends So{x(e){return this._actionModel.x=e,this.addQualifier(new I("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new I("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function el(t,e){return new Xu("crop",t,e)}function tl(t,e){return new Zu("fill",t,e)}function rl(t,e){return new Ku("pad",t,e)}class nl extends os{constructor(e){super("q",e.toString(),"level")}chromaSubSampling(e){this._actionModel.chromaSubSampling=ts[e];const r=new te([this._actionModel.level,e]);return r.setDelimiter(":"),this.addQualifier(new I("q",r))}quantization(e){this._actionModel.quantization=e;const r=new te([this._actionModel.level,`qmax_${e}`]).setDelimiter(":");return this.addQualifier(new I("q",r))}static fromJson(e){const{level:r,chromaSubSampling:n,quantization:o}=e,s=es[r]||r,u=new this(s);if(n){const f=Wc[n.toUpperCase()];f&&u.chromaSubSampling(+f)}return o&&u.quantization(o),u}}function hn(t){return new Hn("f",t)}function pn(t){return new nl(t)}function ol(){return new ds("north_east")}ui(70).color("black"),ui(40).color("white"),ru(),ou();var il=new fn().effect(nu()).delivery(pn("auto")).delivery(hn(Wu())),sl=new fn().effect(iu()).delivery(pn("auto")).delivery(hn(xo())),al=new fn().effect(tu(2e3)).delivery(pn("auto")).delivery(hn(xo())),cl=new fn().resize(rl("iw_div_2").aspectRatio(1).background(Ps.auto())).resize(el(1,1).gravity(yu(ol()))).resize(tl().height("ih").width("iw")).delivery(pn("auto")).delivery(hn(xo())),pi={vectorize:il,pixelate:sl,blur:al,"predominant-color":cl},gi="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",mi={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},yi="?_a=",ul=function(){function t(e,r,n,o,s,u,f){var d=this;this.mimeType="video",this.mimeSubTypes=mi,this.videoElement=e,this.originalVideo=r,this.videoOptions=f,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var g=Ct(r);Kr(e,r,o,this.htmlPluginState).then(function(){d.htmlPluginState.pluginEventSubscription.forEach(function(_){_()}),d.setVideoAttributes(s,u),d.handleSourceToVideo(g,n)})}return t.prototype.handleSourceToVideo=function(e,r){var n=this;if(r)this.generateUserSources(e,r);else{var o=["webm","mp4","ogv"];o.forEach(function(s){n.appendSourceTag(Ct(e),s)})}},t.prototype.generateUserSources=function(e,r){var n=this;r.map(function(o){var s=o.type,u=o.codecs,f=o.transcode;return n.appendSourceTag(Ct(e).transcode(f),s,n.buildMimeType(s,u))})},t.prototype.appendSourceTag=function(e,r,n){var o,s=document.createElement("source"),u=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;u&&e.format(r);var f=e.toURL(),d=f.split(yi),g=d[1]?"".concat(yi).concat(d[1]):"",_=u?"":".".concat(r);s.src="".concat(d[0]).concat(_).concat(g),s.type=n||"video/".concat(mi[r]||r),this.videoElement.appendChild(s)},t.prototype.buildMimeType=function(e,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[e]||e);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},t.prototype.setVideoAttributes=function(e,r){var n;if(e===void 0&&(e={}),r==="auto"){var o=Ct(this.originalVideo);e.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(e.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var s=0,u=Object.entries(e);s<u.length;s++){var f=u[s],d=f[0],g=f[1];g&&this.videoElement.setAttribute(d,d==="poster"?g:"")}},t.prototype.update=function(e,r,n,o,s){var u=this;if(e!==this.originalVideo){for(var f=this.videoElement.getElementsByTagName("SOURCE");f[0];)f[0].parentNode.removeChild(f[0]);Kr(this.videoElement,e,n,this.htmlPluginState).then(function(){u.setVideoAttributes(o,s),u.handleSourceToVideo(e,r),u.videoElement.load()})}},t}(),ll=typeof Et=="object"&&Et&&Et.Object===Object&&Et,fl=typeof self=="object"&&self&&self.Object===Object&&self;ll||fl||Function("return this")();function To(){return typeof window<"u"}function dl(t){return t instanceof HTMLImageElement}function hl(t){var e={},r=e.rootMargin,n=r===void 0?"0px":r,o=e.threshold,s=o===void 0?.1:o;return pl.bind(null,n,s)}function pl(t,e,r,n,o,s){return t===void 0&&(t="0px"),e===void 0&&(e=.1),To()?new Promise(function(u){var f=function(){return u({lazyload:!0})},d=ml(r,f,t,e);o.cleanupCallbacks.push(function(){d(),u("canceled")})}):!1}function gl(){return window&&"IntersectionObserver"in window}function ml(t,e,r,n){try{if(!gl())return e(),function(){};var o=new IntersectionObserver(function(s){s.forEach(function(u){u.isIntersecting&&(o.unobserve(u.target),e())})},{rootMargin:r,threshold:n});return o.observe(t),function(){t&&o.observe(t)}}catch{e()}}function yl(t){var e={},r=e.mode,n=r===void 0?"vectorize":r;return vl.bind(null,n)}function vl(t,e,r,n,o,s){pi[t]||(t="vectorize");var u=pi[t].actions,f=Ct(r);if(u.forEach(function(g){f.addAction(g)}),!To())return r.transformation=f.transformation,!0;if(dl(e)){f.transformation.actions.forEach(function(g,_){g instanceof Xe&&g.getActionTag()==="responsive"&&delete f.transformation.actions[_]});var d=Yn(o,{placeholder:!0});return e.src=f.toURL(d),e.onerror=function(){e.src=gi},new Promise(function(g){e.onload=function(){g()}}).then(function(){return new Promise(function(g){n.cleanupCallbacks.push(function(){e.src=gi,g("canceled")});var _=new Image;_.src=r.toURL(d),_.onload=function(){g({placeholder:!0})},_.onerror=function(){g({placeholder:!0})}})})}}function _l(t,e,r){var n=Ct(e);if(t)for(var o=0;o<t.length;o++){var s=t[o](null,n);if(!s)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Xr(t){t.cleanupCallbacks.forEach(function(e){e()})}var Qn=function(t,e){return Qn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Qn(t,e)};function ks(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Qn(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Cr=function(){return Cr=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},Cr.apply(this,arguments)};function js(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}var xr={exports:{}},J={};/*
|
|
187
|
+
`.replace(/\s+/g,"")}}class ec extends Jr{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(e){return this._prompt=e,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function tc(t){return`${t}`.replace("b_","")}function Bf(){return{backgroundType:"auto"}}function Uf(t){const{intensityLevel:e,brightnessLevel:r}=t,n={backgroundType:"blurred"};return(e||e===0)&&(n.intensity=e),(r||r===0)&&(n.brightness=r),n}function Ti(t){const e=t._contrast,r=t._palette,n={backgroundType:""};return e&&(n.contrast=!0),r&&(n.palette=r),n}function zf(t){return Object.assign(Object.assign({},Ti(t)),{backgroundType:"border"})}function rc(t){const e=t._gradientColors,r=`${t._gradientDirection}`,n=Ti(t);return e&&(n.gradientColors=e),r&&(n.gradientDirection=r),n}function Wf(t){return Object.assign(Object.assign({},rc(t)),{backgroundType:"borderGradient"})}function qf(t){return{backgroundType:"color",color:tc(t)}}function Gf(t){return Object.assign(Object.assign({},Ti(t)),{backgroundType:"predominant"})}function Hf(t){return Object.assign(Object.assign({},rc(t)),{backgroundType:"predominantGradient"})}function Yf(t){return Object.assign({backgroundType:t.getBackgroundType()},t.getPrompt()?{prompt:t.getPrompt()}:{})}function Qf(t){return tc(t)==="auto"?Bf():t instanceof Ya?Uf(t):t instanceof Qa?zf(t):t instanceof Ka?Wf(t):t instanceof Za?Gf(t):t instanceof Xa?Hf(t):t instanceof ec?Yf(t):qf(t)}function Jf(){return new bi("svg")}function Ai(){return new bi("auto")}function nc(){return new Qa}function oc(){return new Jr("auto")}function ic(){return new Ka}function sc(){return new Xa}function ac(){return new Za}function cc(t){return new Jr(Xn(t))}function Kf(){return new Ya}function uc(){return new ec}const lc={auto:oc,border:nc,borderGradient:ic,predominantGradient:sc,predominant:ac,color:cc,blurred:Kf,generativeFill:uc};function Xf(t){const{brightness:e,intensity:r}=t,n=lc.blurred();return n.brightness(e??Ff),n.intensity(r??Ha),n}function ws(t,e){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=e;return o&&t.contrast(),i&&t.palette(...i),r&&t.gradientColors(+r),n&&t.gradientDirection(n),t}function _s(t,e){const{contrast:r,palette:n}=e;return r&&t.contrast(),n&&t.palette(...n),t}function Zf(t,e){const{prompt:r}=e;return r&&t.prompt(r),t}function ed(t){const{backgroundType:e}=t;switch(e){case"auto":return oc();case"blurred":return Xf(t);case"border":return _s(nc(),t);case"borderGradient":return ws(ic(),t);case"predominant":return _s(ac(),t);case"predominantGradient":return ws(sc(),t);case"generativeFill":return Zf(uc(),t);default:return cc(t.color)}}class td extends xi{background(e){return this._actionModel.background=Qf(e),this.addQualifier(e)}offsetX(e){return this._actionModel.x=e,this.addQualifier(new K("x",e))}offsetY(e){return this._actionModel.y=e,this.addQualifier(new K("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.background&&r.background(ed(e.background)),e.x&&r.offsetX(e.x),e.y&&r.offsetY(e.y),e.zoom&&r.zoom(e.zoom),r}}class rd extends xi{x(e){return this._actionModel.x=e,this.addQualifier(new K("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new K("y",e))}zoom(e){return this._actionModel.zoom=e,this.addQualifier(new K("z",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),e.zoom&&r.zoom(e.zoom),r}}class nd extends xi{x(e){return this._actionModel.x=e,this.addQualifier(new K("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new K("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function od(t,e){return new rd("crop",t,e)}function id(t,e){return new nd("fill",t,e)}function sd(t,e){return new td("pad",t,e)}class ad extends Da{constructor(e){super("q",e.toString(),"level")}chromaSubSampling(e){this._actionModel.chromaSubSampling=Ia[e];const r=new je([this._actionModel.level,e]);return r.setDelimiter(":"),this.addQualifier(new K("q",r))}quantization(e){this._actionModel.quantization=e;const r=new je([this._actionModel.level,`qmax_${e}`]).setDelimiter(":");return this.addQualifier(new K("q",r))}static fromJson(e){const{level:r,chromaSubSampling:n,quantization:o}=e,i=ja[r]||r,s=new this(i);if(n){const u=Ql[n.toUpperCase()];u&&s.chromaSubSampling(+u)}return o&&s.quantization(o),s}}function to(t){return new qo("f",t)}function ro(t){return new ad(t)}function cd(){return new qa("north_east")}ys(70).color("black"),ys(40).color("white"),sf(),cf();var ud=new Zn().effect(af()).delivery(ro("auto")).delivery(to(Jf())),ld=new Zn().effect(uf()).delivery(ro("auto")).delivery(to(Ai())),fd=new Zn().effect(of(2e3)).delivery(ro("auto")).delivery(to(Ai())),dd=new Zn().resize(sd("iw_div_2").aspectRatio(1).background(lc.auto())).resize(od(1,1).gravity(_f(cd()))).resize(id().height("ih").width("iw")).delivery(ro("auto")).delivery(to(Ai())),Ss={vectorize:ud,pixelate:ld,blur:fd,"predominant-color":dd},xs="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Es={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Ts="?_a=",pd=function(){function t(e,r,n,o,i,s,u){var l=this;this.mimeType="video",this.mimeSubTypes=Es,this.videoElement=e,this.originalVideo=r,this.videoOptions=u,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=tr(r);On(e,r,o,this.htmlPluginState).then(function(){l.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),l.setVideoAttributes(i,s),l.handleSourceToVideo(d,n)})}return t.prototype.handleSourceToVideo=function(e,r){var n=this;if(r)this.generateUserSources(e,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(tr(e),i)})}},t.prototype.generateUserSources=function(e,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,u=o.transcode;return n.appendSourceTag(tr(e).transcode(u),i,n.buildMimeType(i,s))})},t.prototype.appendSourceTag=function(e,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&e.format(r);var u=e.toURL(),l=u.split(Ts),d=l[1]?"".concat(Ts).concat(l[1]):"",h=s?"":".".concat(r);i.src="".concat(l[0]).concat(h).concat(d),i.type=n||"video/".concat(Es[r]||r),this.videoElement.appendChild(i)},t.prototype.buildMimeType=function(e,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[e]||e);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},t.prototype.setVideoAttributes=function(e,r){var n;if(e===void 0&&(e={}),r==="auto"){var o=tr(this.originalVideo);e.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(e.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(e);i<s.length;i++){var u=s[i],l=u[0],d=u[1];d&&this.videoElement.setAttribute(l,l==="poster"?d:"")}},t.prototype.update=function(e,r,n,o,i){var s=this;if(e!==this.originalVideo){for(var u=this.videoElement.getElementsByTagName("SOURCE");u[0];)u[0].parentNode.removeChild(u[0]);On(this.videoElement,e,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(e,r),s.videoElement.load()})}},t}(),hd=typeof er=="object"&&er&&er.Object===Object&&er,gd=typeof self=="object"&&self&&self.Object===Object&&self;hd||gd||Function("return this")();function Oi(){return typeof window<"u"}function md(t){return t instanceof HTMLImageElement}function yd(t){var e={},r=e.rootMargin,n=r===void 0?"0px":r,o=e.threshold,i=o===void 0?.1:o;return vd.bind(null,n,i)}function vd(t,e,r,n,o,i){return t===void 0&&(t="0px"),e===void 0&&(e=.1),Oi()?new Promise(function(s){var u=function(){return s({lazyload:!0})},l=wd(r,u,t,e);o.cleanupCallbacks.push(function(){l(),s("canceled")})}):!1}function bd(){return window&&"IntersectionObserver"in window}function wd(t,e,r,n){try{if(!bd())return e(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),e())})},{rootMargin:r,threshold:n});return o.observe(t),function(){t&&o.observe(t)}}catch{e()}}function _d(t){var e={},r=e.mode,n=r===void 0?"vectorize":r;return Sd.bind(null,n)}function Sd(t,e,r,n,o,i){Ss[t]||(t="vectorize");var s=Ss[t].actions,u=tr(r);if(s.forEach(function(d){u.addAction(d)}),!Oi())return r.transformation=u.transformation,!0;if(md(e)){u.transformation.actions.forEach(function(d,h){d instanceof Ut&&d.getActionTag()==="responsive"&&delete u.transformation.actions[h]});var l=Wo(o,{placeholder:!0});return e.src=u.toURL(l),e.onerror=function(){e.src=xs},new Promise(function(d){e.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){e.src=xs,d("canceled")});var h=new Image;h.src=r.toURL(l),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function xd(t,e,r){var n=tr(e);if(t)for(var o=0;o<t.length;o++){var i=t[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function $n(t){t.cleanupCallbacks.forEach(function(e){e()})}var Go=function(t,e){return Go=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Go(t,e)};function fc(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Go(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Gr=function(){return Gr=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Gr.apply(this,arguments)};function dc(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}var Hr={exports:{}},ge={};/*
|
|
180
188
|
object-assign
|
|
181
189
|
(c) Sindre Sorhus
|
|
182
190
|
@license MIT
|
|
183
|
-
*/var
|
|
191
|
+
*/var As=Object.getOwnPropertySymbols,Ed=Object.prototype.hasOwnProperty,Td=Object.prototype.propertyIsEnumerable;function Ad(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function Od(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(i){return e[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var pc=Od()?Object.assign:function(t,e){for(var r,n=Ad(t),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Ed.call(r,s)&&(n[s]=r[s]);if(As){o=As(r);for(var u=0;u<o.length;u++)Td.call(r,o[u])&&(n[o[u]]=r[o[u]])}}return n};/** @license React v16.14.0
|
|
184
192
|
* react.production.min.js
|
|
185
193
|
*
|
|
186
194
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
187
195
|
*
|
|
188
196
|
* This source code is licensed under the MIT license found in the
|
|
189
197
|
* LICENSE file in the root directory of this source tree.
|
|
190
|
-
*/var
|
|
198
|
+
*/var $i=pc,zt=typeof Symbol=="function"&&Symbol.for,Kr=zt?Symbol.for("react.element"):60103,$d=zt?Symbol.for("react.portal"):60106,Cd=zt?Symbol.for("react.fragment"):60107,Rd=zt?Symbol.for("react.strict_mode"):60108,Pd=zt?Symbol.for("react.profiler"):60114,kd=zt?Symbol.for("react.provider"):60109,jd=zt?Symbol.for("react.context"):60110,Id=zt?Symbol.for("react.forward_ref"):60112,Md=zt?Symbol.for("react.suspense"):60113,Ld=zt?Symbol.for("react.memo"):60115,Dd=zt?Symbol.for("react.lazy"):60116,Os=typeof Symbol=="function"&&Symbol.iterator;function Xr(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var hc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gc={};function Ir(t,e,r){this.props=t,this.context=e,this.refs=gc,this.updater=r||hc}Ir.prototype.isReactComponent={};Ir.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error(Xr(85));this.updater.enqueueSetState(this,t,e,"setState")};Ir.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function mc(){}mc.prototype=Ir.prototype;function Ci(t,e,r){this.props=t,this.context=e,this.refs=gc,this.updater=r||hc}var Ri=Ci.prototype=new mc;Ri.constructor=Ci;$i(Ri,Ir.prototype);Ri.isPureReactComponent=!0;var Pi={current:null},yc=Object.prototype.hasOwnProperty,vc={key:!0,ref:!0,__self:!0,__source:!0};function bc(t,e,r){var n,o={},i=null,s=null;if(e!=null)for(n in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(i=""+e.key),e)yc.call(e,n)&&!vc.hasOwnProperty(n)&&(o[n]=e[n]);var u=arguments.length-2;if(u===1)o.children=r;else if(1<u){for(var l=Array(u),d=0;d<u;d++)l[d]=arguments[d+2];o.children=l}if(t&&t.defaultProps)for(n in u=t.defaultProps,u)o[n]===void 0&&(o[n]=u[n]);return{$$typeof:Kr,type:t,key:i,ref:s,props:o,_owner:Pi.current}}function Nd(t,e){return{$$typeof:Kr,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function ki(t){return typeof t=="object"&&t!==null&&t.$$typeof===Kr}function Fd(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(r){return e[r]})}var wc=/\/+/g,Cn=[];function _c(t,e,r,n){if(Cn.length){var o=Cn.pop();return o.result=t,o.keyPrefix=e,o.func=r,o.context=n,o.count=0,o}return{result:t,keyPrefix:e,func:r,context:n,count:0}}function Sc(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>Cn.length&&Cn.push(t)}function Ho(t,e,r,n){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var i=!1;if(t===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case Kr:case $d:i=!0}}if(i)return r(n,t,e===""?"."+Oo(t,0):e),1;if(i=0,e=e===""?".":e+":",Array.isArray(t))for(var s=0;s<t.length;s++){o=t[s];var u=e+Oo(o,s);i+=Ho(o,u,r,n)}else if(t===null||typeof t!="object"?u=null:(u=Os&&t[Os]||t["@@iterator"],u=typeof u=="function"?u:null),typeof u=="function")for(t=u.call(t),s=0;!(o=t.next()).done;)o=o.value,u=e+Oo(o,s++),i+=Ho(o,u,r,n);else if(o==="object")throw r=""+t,Error(Xr(31,r==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return i}function Yo(t,e,r){return t==null?0:Ho(t,"",e,r)}function Oo(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Fd(t.key):e.toString(36)}function Vd(t,e){t.func.call(t.context,e,t.count++)}function Bd(t,e,r){var n=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?Qo(t,n,r,function(i){return i}):t!=null&&(ki(t)&&(t=Nd(t,o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(wc,"$&/")+"/")+r)),n.push(t))}function Qo(t,e,r,n,o){var i="";r!=null&&(i=(""+r).replace(wc,"$&/")+"/"),e=_c(e,i,n,o),Yo(t,Bd,e),Sc(e)}var xc={current:null};function Xt(){var t=xc.current;if(t===null)throw Error(Xr(321));return t}var Ud={ReactCurrentDispatcher:xc,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Pi,IsSomeRendererActing:{current:!1},assign:$i};ge.Children={map:function(t,e,r){if(t==null)return t;var n=[];return Qo(t,n,null,e,r),n},forEach:function(t,e,r){if(t==null)return t;e=_c(null,null,e,r),Yo(t,Vd,e),Sc(e)},count:function(t){return Yo(t,function(){return null},null)},toArray:function(t){var e=[];return Qo(t,e,null,function(r){return r}),e},only:function(t){if(!ki(t))throw Error(Xr(143));return t}};ge.Component=Ir;ge.Fragment=Cd;ge.Profiler=Pd;ge.PureComponent=Ci;ge.StrictMode=Rd;ge.Suspense=Md;ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ud;ge.cloneElement=function(t,e,r){if(t==null)throw Error(Xr(267,t));var n=$i({},t.props),o=t.key,i=t.ref,s=t._owner;if(e!=null){if(e.ref!==void 0&&(i=e.ref,s=Pi.current),e.key!==void 0&&(o=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(l in e)yc.call(e,l)&&!vc.hasOwnProperty(l)&&(n[l]=e[l]===void 0&&u!==void 0?u[l]:e[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){u=Array(l);for(var d=0;d<l;d++)u[d]=arguments[d+2];n.children=u}return{$$typeof:Kr,type:t.type,key:o,ref:i,props:n,_owner:s}};ge.createContext=function(t,e){return e===void 0&&(e=null),t={$$typeof:jd,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:kd,_context:t},t.Consumer=t};ge.createElement=bc;ge.createFactory=function(t){var e=bc.bind(null,t);return e.type=t,e};ge.createRef=function(){return{current:null}};ge.forwardRef=function(t){return{$$typeof:Id,render:t}};ge.isValidElement=ki;ge.lazy=function(t){return{$$typeof:Dd,_ctor:t,_status:-1,_result:null}};ge.memo=function(t,e){return{$$typeof:Ld,type:t,compare:e===void 0?null:e}};ge.useCallback=function(t,e){return Xt().useCallback(t,e)};ge.useContext=function(t,e){return Xt().useContext(t,e)};ge.useDebugValue=function(){};ge.useEffect=function(t,e){return Xt().useEffect(t,e)};ge.useImperativeHandle=function(t,e,r){return Xt().useImperativeHandle(t,e,r)};ge.useLayoutEffect=function(t,e){return Xt().useLayoutEffect(t,e)};ge.useMemo=function(t,e){return Xt().useMemo(t,e)};ge.useReducer=function(t,e,r){return Xt().useReducer(t,e,r)};ge.useRef=function(t){return Xt().useRef(t)};ge.useState=function(t){return Xt().useState(t)};ge.version="16.14.0";var he={},zd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Wd=zd,qd=Function.call.bind(Object.prototype.hasOwnProperty),Jo=function(){};if(process.env.NODE_ENV!=="production"){var Gd=Wd,Ko={},Hd=qd;Jo=function(t){var e="Warning: "+t;typeof console<"u"&&console.error(e);try{throw new Error(e)}catch{}}}function Ec(t,e,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in t)if(Hd(t,i)){var s;try{if(typeof t[i]!="function"){var u=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=t[i](e,i,n,r,null,Gd)}catch(d){s=d}if(s&&!(s instanceof Error)&&Jo((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in Ko)){Ko[s.message]=!0;var l=o?o():"";Jo("Failed "+r+" type: "+s.message+(l??""))}}}}Ec.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(Ko={})};var Yd=Ec;/** @license React v16.14.0
|
|
191
199
|
* react.development.js
|
|
192
200
|
*
|
|
193
201
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
194
202
|
*
|
|
195
203
|
* This source code is licensed under the MIT license found in the
|
|
196
204
|
* LICENSE file in the root directory of this source tree.
|
|
197
|
-
*/process.env.NODE_ENV!=="production"&&function(){var t=
|
|
198
|
-
in `+(
|
|
199
|
-
in`)===0;if(!v){var w=Te.ReactDebugCurrentFrame,N=w.getStackAddendum();N!==""&&(l+="%s",p=p.concat([N]))}var T=p.map(function(ae){return""+ae});T.unshift("Warning: "+l),Function.prototype.apply.call(console[i],console,T);try{var R=0,se="Warning: "+l.replace(/%s/g,function(){return p[R++]});throw new Error(se)}catch{}}}var Fe={};function Se(i,l){{var p=i.constructor,v=p&&(p.displayName||p.name)||"ReactClass",w=v+"."+l;if(Fe[w])return;j("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",l,v),Fe[w]=!0}}var je={isMounted:function(i){return!1},enqueueForceUpdate:function(i,l,p){Se(i,"forceUpdate")},enqueueReplaceState:function(i,l,p,v){Se(i,"replaceState")},enqueueSetState:function(i,l,p,v){Se(i,"setState")}},me={};Object.freeze(me);function oe(i,l,p){this.props=i,this.context=l,this.refs=me,this.updater=p||je}oe.prototype.isReactComponent={},oe.prototype.setState=function(i,l){if(!(typeof i=="object"||typeof i=="function"||i==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,i,l,"setState")},oe.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};{var Ae={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},He=function(i,l){Object.defineProperty(oe.prototype,i,{get:function(){re("%s(...) is deprecated in plain JavaScript React classes. %s",l[0],l[1])}})};for(var ye in Ae)Ae.hasOwnProperty(ye)&&He(ye,Ae[ye])}function Bt(){}Bt.prototype=oe.prototype;function _t(i,l,p){this.props=i,this.context=l,this.refs=me,this.updater=p||je}var Qe=_t.prototype=new Bt;Qe.constructor=_t,t(Qe,oe.prototype),Qe.isPureReactComponent=!0;function tt(){var i={current:null};return Object.seal(i),i}var rt=Object.prototype.hasOwnProperty,Tt={key:!0,ref:!0,__self:!0,__source:!0},it,st,at;at={};function ct(i){if(rt.call(i,"ref")){var l=Object.getOwnPropertyDescriptor(i,"ref").get;if(l&&l.isReactWarning)return!1}return i.ref!==void 0}function At(i){if(rt.call(i,"key")){var l=Object.getOwnPropertyDescriptor(i,"key").get;if(l&&l.isReactWarning)return!1}return i.key!==void 0}function Ve(i,l){var p=function(){it||(it=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",l))};p.isReactWarning=!0,Object.defineProperty(i,"key",{get:p,configurable:!0})}function ut(i,l){var p=function(){st||(st=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",l))};p.isReactWarning=!0,Object.defineProperty(i,"ref",{get:p,configurable:!0})}function zt(i){if(typeof i.ref=="string"&&pe.current&&i.__self&&pe.current.stateNode!==i.__self){var l=de(pe.current.type);at[l]||(j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',de(pe.current.type),i.ref),at[l]=!0)}}var Ne=function(i,l,p,v,w,N,T){var R={$$typeof:o,type:i,key:l,ref:p,props:T,_owner:N};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function qt(i,l,p){var v,w={},N=null,T=null,R=null,se=null;if(l!=null){ct(l)&&(T=l.ref,zt(l)),At(l)&&(N=""+l.key),R=l.__self===void 0?null:l.__self,se=l.__source===void 0?null:l.__source;for(v in l)rt.call(l,v)&&!Tt.hasOwnProperty(v)&&(w[v]=l[v])}var ae=arguments.length-2;if(ae===1)w.children=p;else if(ae>1){for(var Re=Array(ae),Ee=0;Ee<ae;Ee++)Re[Ee]=arguments[Ee+2];Object.freeze&&Object.freeze(Re),w.children=Re}if(i&&i.defaultProps){var pt=i.defaultProps;for(v in pt)w[v]===void 0&&(w[v]=pt[v])}if(N||T){var qe=typeof i=="function"?i.displayName||i.name||"Unknown":i;N&&Ve(w,qe),T&&ut(w,qe)}return Ne(i,N,T,R,se,pe.current,w)}function Ot(i,l){var p=Ne(i.type,l,i.ref,i._self,i._source,i._owner,i.props);return p}function Gt(i,l,p){if(i==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+i+".");var v,w=t({},i.props),N=i.key,T=i.ref,R=i._self,se=i._source,ae=i._owner;if(l!=null){ct(l)&&(T=l.ref,ae=pe.current),At(l)&&(N=""+l.key);var Re;i.type&&i.type.defaultProps&&(Re=i.type.defaultProps);for(v in l)rt.call(l,v)&&!Tt.hasOwnProperty(v)&&(l[v]===void 0&&Re!==void 0?w[v]=Re[v]:w[v]=l[v])}var Ee=arguments.length-2;if(Ee===1)w.children=p;else if(Ee>1){for(var pt=Array(Ee),qe=0;qe<Ee;qe++)pt[qe]=arguments[qe+2];w.children=pt}return Ne(i.type,N,T,R,se,ae,w)}function Ue(i){return typeof i=="object"&&i!==null&&i.$$typeof===o}var Wt=".",cr=":";function Yt(i){var l=/[=:]/g,p={"=":"=0",":":"=2"},v=(""+i).replace(l,function(w){return p[w]});return"$"+v}var Ht=!1,ur=/\/+/g;function bt(i){return(""+i).replace(ur,"$&/")}var lt=10,Be=[];function ft(i,l,p,v){if(Be.length){var w=Be.pop();return w.result=i,w.keyPrefix=l,w.func=p,w.context=v,w.count=0,w}else return{result:i,keyPrefix:l,func:p,context:v,count:0}}function Ie(i){i.result=null,i.keyPrefix=null,i.func=null,i.context=null,i.count=0,Be.length<lt&&Be.push(i)}function Me(i,l,p,v){var w=typeof i;(w==="undefined"||w==="boolean")&&(i=null);var N=!1;if(i===null)N=!0;else switch(w){case"string":case"number":N=!0;break;case"object":switch(i.$$typeof){case o:case s:N=!0}}if(N)return p(v,i,l===""?Wt+wt(i,0):l),1;var T,R,se=0,ae=l===""?Wt:l+cr;if(Array.isArray(i))for(var Re=0;Re<i.length;Re++)T=i[Re],R=ae+wt(T,Re),se+=Me(T,R,p,v);else{var Ee=O(i);if(typeof Ee=="function"){Ee===i.entries&&(Ht||re("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Ht=!0);for(var pt=Ee.call(i),qe,Tn=0;!(qe=pt.next()).done;)T=qe.value,R=ae+wt(T,Tn++),se+=Me(T,R,p,v)}else if(w==="object"){var Mr="";Mr=" If you meant to render a collection of children, use an array instead."+we.getStackAddendum();var _r=""+i;throw Error("Objects are not valid as a React child (found: "+(_r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":_r)+")."+Mr)}}return se}function dt(i,l,p){return i==null?0:Me(i,"",l,p)}function wt(i,l){return typeof i=="object"&&i!==null&&i.key!=null?Yt(i.key):l.toString(36)}function lr(i,l,p){var v=i.func,w=i.context;v.call(w,l,i.count++)}function Qt(i,l,p){if(i==null)return i;var v=ft(null,null,l,p);dt(i,lr,v),Ie(v)}function fr(i,l,p){var v=i.result,w=i.keyPrefix,N=i.func,T=i.context,R=N.call(T,l,i.count++);Array.isArray(R)?ht(R,v,p,function(se){return se}):R!=null&&(Ue(R)&&(R=Ot(R,w+(R.key&&(!l||l.key!==R.key)?bt(R.key)+"/":"")+p)),v.push(R))}function ht(i,l,p,v,w){var N="";p!=null&&(N=bt(p)+"/");var T=ft(l,N,v,w);dt(i,fr,T),Ie(T)}function Rt(i,l,p){if(i==null)return i;var v=[];return ht(i,v,null,l,p),v}function Je(i){return dt(i,function(){return null},null)}function dr(i){var l=[];return ht(i,l,null,function(p){return p}),l}function Jt(i){if(!Ue(i))throw Error("React.Children.only expected to receive a single React element child.");return i}function hr(i,l){l===void 0?l=null:l!==null&&typeof l!="function"&&j("createContext: Expected the optional second argument to be a function. Instead received: %s",l);var p={$$typeof:_,_calculateChangedBits:l,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null};p.Provider={$$typeof:g,_context:p};var v=!1,w=!1;{var N={$$typeof:_,_context:p,_calculateChangedBits:p._calculateChangedBits};Object.defineProperties(N,{Provider:{get:function(){return w||(w=!0,j("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),p.Provider},set:function(T){p.Provider=T}},_currentValue:{get:function(){return p._currentValue},set:function(T){p._currentValue=T}},_currentValue2:{get:function(){return p._currentValue2},set:function(T){p._currentValue2=T}},_threadCount:{get:function(){return p._threadCount},set:function(T){p._threadCount=T}},Consumer:{get:function(){return v||(v=!0,j("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),p.Consumer}}}),p.Consumer=N}return p._currentRenderer=null,p._currentRenderer2=null,p}function pr(i){var l={$$typeof:Z,_ctor:i,_status:-1,_result:null};{var p,v;Object.defineProperties(l,{defaultProps:{configurable:!0,get:function(){return p},set:function(w){j("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),p=w,Object.defineProperty(l,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return v},set:function(w){j("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),v=w,Object.defineProperty(l,"propTypes",{enumerable:!0})}}})}return l}function gr(i){return i!=null&&i.$$typeof===z?j("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof i!="function"?j("forwardRef requires a render function but was given %s.",i===null?"null":typeof i):i.length!==0&&i.length!==2&&j("forwardRef render functions accept exactly two parameters: props and ref. %s",i.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),i!=null&&(i.defaultProps!=null||i.propTypes!=null)&&j("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:C,render:i}}function Oe(i){return typeof i=="string"||typeof i=="function"||i===u||i===S||i===d||i===f||i===P||i===B||typeof i=="object"&&i!==null&&(i.$$typeof===Z||i.$$typeof===z||i.$$typeof===g||i.$$typeof===_||i.$$typeof===C||i.$$typeof===$||i.$$typeof===q||i.$$typeof===G||i.$$typeof===F)}function c(i,l){return Oe(i)||j("memo: The first argument must be a component. Instead received: %s",i===null?"null":typeof i),{$$typeof:z,type:i,compare:l===void 0?null:l}}function y(){var i=be.current;if(i===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
205
|
+
*/process.env.NODE_ENV!=="production"&&function(){var t=pc,e=Yd,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,y=n?Symbol.for("react.concurrent_mode"):60111,S=n?Symbol.for("react.forward_ref"):60112,b=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,$=n?Symbol.for("react.memo"):60115,j=n?Symbol.for("react.lazy"):60116,A=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,R=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119,M=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function P(a){if(a===null||typeof a!="object")return null;var p=M&&a[M]||a[D];return typeof p=="function"?p:null}var me={current:null},ye={suspense:null},fe={current:null},De=/^(.*)[\\\/]/;function Ie(a,p,m){var _="";if(p){var k=p.fileName,re=k.replace(De,"");if(/^index\./.test(re)){var z=k.match(De);if(z){var H=z[1];if(H){var Ne=H.replace(De,"");re=Ne+"/"+re}}}_=" (at "+re+":"+p.lineNumber+")"}else m&&(_=" (created by "+m+")");return`
|
|
206
|
+
in `+(a||"Unknown")+_}var ve=1;function Q(a){return a._status===ve?a._result:null}function Se(a,p,m){var _=p.displayName||p.name||"";return a.displayName||(_!==""?m+"("+_+")":m)}function oe(a){if(a==null)return null;if(typeof a.tag=="number"&&G("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case l:return"Profiler";case u:return"StrictMode";case b:return"Suspense";case T:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case h:return"Context.Consumer";case d:return"Context.Provider";case S:return Se(a,a.render,"ForwardRef");case $:return oe(a.type);case A:return oe(a.render);case j:{var p=a,m=Q(p);if(m)return oe(m);break}}return null}var ie={},se=null;function te(a){se=a}ie.getCurrentStack=null,ie.getStackAddendum=function(){var a="";if(se){var p=oe(se.type),m=se._owner;a+=Ie(p,se._source,m&&oe(m.type))}var _=ie.getCurrentStack;return _&&(a+=_()||""),a};var q={current:!1},ae={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:ye,ReactCurrentOwner:fe,IsSomeRendererActing:q,assign:t};t(ae,{ReactDebugCurrentFrame:ie,ReactComponentTreeHook:{}});function pe(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),_=1;_<p;_++)m[_-1]=arguments[_];it("warn",a,m)}}function G(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),_=1;_<p;_++)m[_-1]=arguments[_];it("error",a,m)}}function it(a,p,m){{var _=m.length>0&&typeof m[m.length-1]=="string"&&m[m.length-1].indexOf(`
|
|
207
|
+
in`)===0;if(!_){var k=ae.ReactDebugCurrentFrame,re=k.getStackAddendum();re!==""&&(p+="%s",m=m.concat([re]))}var z=m.map(function(Fe){return""+Fe});z.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,z);try{var H=0,Ne="Warning: "+p.replace(/%s/g,function(){return m[H++]});throw new Error(Ne)}catch{}}}var Ze={};function ze(a,p){{var m=a.constructor,_=m&&(m.displayName||m.name)||"ReactClass",k=_+"."+p;if(Ze[k])return;G("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,_),Ze[k]=!0}}var We={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){ze(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,_){ze(a,"replaceState")},enqueueSetState:function(a,p,m,_){ze(a,"setState")}},ue={};Object.freeze(ue);function be(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||We}be.prototype.isReactComponent={},be.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},be.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var xe={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Ve=function(a,p){Object.defineProperty(be.prototype,a,{get:function(){pe("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Re in xe)xe.hasOwnProperty(Re)&&Ve(Re,xe[Re])}function lt(){}lt.prototype=be.prototype;function Ct(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||We}var Ee=Ct.prototype=new lt;Ee.constructor=Ct,t(Ee,be.prototype),Ee.isPureReactComponent=!0;function ft(){var a={current:null};return Object.seal(a),a}var Ye=Object.prototype.hasOwnProperty,dt={key:!0,ref:!0,__self:!0,__source:!0},le,pt,ht;ht={};function gt(a){if(Ye.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ot(a){if(Ye.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function et(a,p){var m=function(){le||(le=!0,G("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function st(a,p){var m=function(){pt||(pt=!0,G("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function mt(a){if(typeof a.ref=="string"&&fe.current&&a.__self&&fe.current.stateNode!==a.__self){var p=oe(fe.current.type);ht[p]||(G('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',oe(fe.current.type),a.ref),ht[p]=!0)}}var Qe=function(a,p,m,_,k,re,z){var H={$$typeof:o,type:a,key:p,ref:m,props:z,_owner:re};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function _t(a,p,m){var _,k={},re=null,z=null,H=null,Ne=null;if(p!=null){gt(p)&&(z=p.ref,mt(p)),Ot(p)&&(re=""+p.key),H=p.__self===void 0?null:p.__self,Ne=p.__source===void 0?null:p.__source;for(_ in p)Ye.call(p,_)&&!dt.hasOwnProperty(_)&&(k[_]=p[_])}var Fe=arguments.length-2;if(Fe===1)k.children=m;else if(Fe>1){for(var Et=Array(Fe),wt=0;wt<Fe;wt++)Et[wt]=arguments[wt+2];Object.freeze&&Object.freeze(Et),k.children=Et}if(a&&a.defaultProps){var Yt=a.defaultProps;for(_ in Yt)k[_]===void 0&&(k[_]=Yt[_])}if(re||z){var kt=typeof a=="function"?a.displayName||a.name||"Unknown":a;re&&et(k,kt),z&&st(k,kt)}return Qe(a,re,z,H,Ne,fe.current,k)}function St(a,p){var m=Qe(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function Rt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var _,k=t({},a.props),re=a.key,z=a.ref,H=a._self,Ne=a._source,Fe=a._owner;if(p!=null){gt(p)&&(z=p.ref,Fe=fe.current),Ot(p)&&(re=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for(_ in p)Ye.call(p,_)&&!dt.hasOwnProperty(_)&&(p[_]===void 0&&Et!==void 0?k[_]=Et[_]:k[_]=p[_])}var wt=arguments.length-2;if(wt===1)k.children=m;else if(wt>1){for(var Yt=Array(wt),kt=0;kt<wt;kt++)Yt[kt]=arguments[kt+2];k.children=Yt}return Qe(a.type,re,z,H,Ne,Fe,k)}function qe(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",tt=":";function we(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},_=(""+a).replace(p,function(k){return m[k]});return"$"+_}var Lt=!1,Dt=/\/+/g;function yt(a){return(""+a).replace(Dt,"$&/")}var vt=10,Ge=[];function at(a,p,m,_){if(Ge.length){var k=Ge.pop();return k.result=a,k.keyPrefix=p,k.func=m,k.context=_,k.count=0,k}else return{result:a,keyPrefix:p,func:m,context:_,count:0}}function Be(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,Ge.length<vt&&Ge.push(a)}function He(a,p,m,_){var k=typeof a;(k==="undefined"||k==="boolean")&&(a=null);var re=!1;if(a===null)re=!0;else switch(k){case"string":case"number":re=!0;break;case"object":switch(a.$$typeof){case o:case i:re=!0}}if(re)return m(_,a,p===""?Pt+_e(a,0):p),1;var z,H,Ne=0,Fe=p===""?Pt:p+tt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)z=a[Et],H=Fe+_e(z,Et),Ne+=He(z,H,m,_);else{var wt=P(a);if(typeof wt=="function"){wt===a.entries&&(Lt||pe("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Lt=!0);for(var Yt=wt.call(a),kt,bo=0;!(kt=Yt.next()).done;)z=kt.value,H=Fe+_e(z,bo++),Ne+=He(z,H,m,_)}else if(k==="object"){var un="";un=" If you meant to render a collection of children, use an array instead."+ie.getStackAddendum();var Vr=""+a;throw Error("Objects are not valid as a React child (found: "+(Vr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Vr)+")."+un)}}return Ne}function xt(a,p,m){return a==null?0:He(a,"",p,m)}function _e(a,p){return typeof a=="object"&&a!==null&&a.key!=null?we(a.key):p.toString(36)}function Je(a,p,m){var _=a.func,k=a.context;_.call(k,p,a.count++)}function N(a,p,m){if(a==null)return a;var _=at(null,null,p,m);xt(a,Je,_),Be(_)}function X(a,p,m){var _=a.result,k=a.keyPrefix,re=a.func,z=a.context,H=re.call(z,p,a.count++);Array.isArray(H)?Pe(H,_,m,function(Ne){return Ne}):H!=null&&(qe(H)&&(H=St(H,k+(H.key&&(!p||p.key!==H.key)?yt(H.key)+"/":"")+m)),_.push(H))}function Pe(a,p,m,_,k){var re="";m!=null&&(re=yt(m)+"/");var z=at(p,re,_,k);xt(a,X,z),Be(z)}function bt(a,p,m){if(a==null)return a;var _=[];return Pe(a,_,null,p,m),_}function C(a){return xt(a,function(){return null},null)}function V(a){var p=[];return Pe(a,p,null,function(m){return m}),p}function U(a){if(!qe(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Te(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&G("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var m={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:d,_context:m};var _=!1,k=!1;{var re={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(re,{Provider:{get:function(){return k||(k=!0,G("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),m.Provider},set:function(z){m.Provider=z}},_currentValue:{get:function(){return m._currentValue},set:function(z){m._currentValue=z}},_currentValue2:{get:function(){return m._currentValue2},set:function(z){m._currentValue2=z}},_threadCount:{get:function(){return m._threadCount},set:function(z){m._threadCount=z}},Consumer:{get:function(){return _||(_=!0,G("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),m.Consumer}}}),m.Consumer=re}return m._currentRenderer=null,m._currentRenderer2=null,m}function Me(a){var p={$$typeof:j,_ctor:a,_status:-1,_result:null};{var m,_;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(k){G("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),m=k,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return _},set:function(k){G("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),_=k,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function ct(a){return a!=null&&a.$$typeof===$?G("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?G("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&G("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&G("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:S,render:a}}function Ae(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===l||a===u||a===b||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===j||a.$$typeof===$||a.$$typeof===d||a.$$typeof===h||a.$$typeof===S||a.$$typeof===O||a.$$typeof===R||a.$$typeof===I||a.$$typeof===A)}function f(a,p){return Ae(a)||G("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:$,type:a,compare:p===void 0?null:p}}function v(){var a=me.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
200
208
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
201
209
|
2. You might be breaking the Rules of Hooks
|
|
202
210
|
3. You might have more than one copy of React in the same app
|
|
203
|
-
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return
|
|
211
|
+
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function x(a,p){var m=v();if(p!==void 0&&G("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",p,typeof p=="number"&&Array.isArray(arguments[2])?`
|
|
204
212
|
|
|
205
|
-
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),
|
|
213
|
+
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),a._context!==void 0){var _=a._context;_.Consumer===a?G("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):_.Provider===a&&G("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(a,p)}function F(a){var p=v();return p.useState(a)}function ne(a,p,m){var _=v();return _.useReducer(a,p,m)}function ee(a){var p=v();return p.useRef(a)}function J(a,p){var m=v();return m.useEffect(a,p)}function Y(a,p){var m=v();return m.useLayoutEffect(a,p)}function Le(a,p){var m=v();return m.useCallback(a,p)}function B(a,p){var m=v();return m.useMemo(a,p)}function ce(a,p,m){var _=v();return _.useImperativeHandle(a,p,m)}function Oe(a,p){{var m=v();return m.useDebugValue(a,p)}}var Ke;Ke=!1;function Ht(){if(fe.current){var a=oe(fe.current.type);if(a)return`
|
|
206
214
|
|
|
207
|
-
Check the render method of \``+
|
|
215
|
+
Check the render method of \``+a+"`."}return""}function rt(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),m=a.lineNumber;return`
|
|
208
216
|
|
|
209
|
-
Check your code at `+
|
|
217
|
+
Check your code at `+p+":"+m+"."}return""}function uo(a){return a!=null?rt(a.__source):""}var nn={};function lo(a){var p=Ht();if(!p){var m=typeof a=="string"?a:a.displayName||a.name;m&&(p=`
|
|
210
218
|
|
|
211
|
-
Check the top-level render call using <`+p+">.")}return l}function mr(i,l){if(!(!i._store||i._store.validated||i.key!=null)){i._store.validated=!0;var p=vn(l);if(!$r[p]){$r[p]=!0;var v="";i&&i._owner&&i._owner!==pe.current&&(v=" It was passed a child from "+de(i._owner.type)+"."),ne(i),j('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',p,v),ne(null)}}}function Pt(i,l){if(typeof i=="object"){if(Array.isArray(i))for(var p=0;p<i.length;p++){var v=i[p];Ue(v)&&mr(v,l)}else if(Ue(i))i._store&&(i._store.validated=!0);else if(i){var w=O(i);if(typeof w=="function"&&w!==i.entries)for(var N=w.call(i),T;!(T=N.next()).done;)Ue(T.value)&&mr(T.value,l)}}}function Pr(i){{var l=i.type;if(l==null||typeof l=="string")return;var p=de(l),v;if(typeof l=="function")v=l.propTypes;else if(typeof l=="object"&&(l.$$typeof===C||l.$$typeof===z))v=l.propTypes;else return;v?(ne(i),e(v,i.props,"prop",p,we.getStackAddendum),ne(null)):l.PropTypes!==void 0&&!ze&&(ze=!0,j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")),typeof l.getDefaultProps=="function"&&!l.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yr(i){{ne(i);for(var l=Object.keys(i.props),p=0;p<l.length;p++){var v=l[p];if(v!=="children"&&v!=="key"){j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",v);break}}i.ref!==null&&j("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null)}}function kr(i,l,p){var v=Oe(i);if(!v){var w="";(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var N=yn(l);N?w+=N:w+=$t();var T;i===null?T="null":Array.isArray(i)?T="array":i!==void 0&&i.$$typeof===o?(T="<"+(de(i.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):T=typeof i,j("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,w)}var R=qt.apply(this,arguments);if(R==null)return R;if(v)for(var se=2;se<arguments.length;se++)Pt(arguments[se],i);return i===u?yr(R):Pr(R),R}var jr=!1;function _n(i){var l=kr.bind(null,i);return l.type=i,jr||(jr=!0,re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(l,"type",{enumerable:!1,get:function(){return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:i}),i}}),l}function bn(i,l,p){for(var v=Gt.apply(this,arguments),w=2;w<arguments.length;w++)Pt(arguments[w],v.type);return Pr(v),v}try{var Ir=Object.freeze({}),wn=new Map([[Ir,null]]),vr=new Set([Ir]);wn.set(0,0),vr.add(0)}catch{}var Sn=kr,En=bn,Cn=_n,xn={map:Rt,forEach:Qt,count:Je,toArray:dr,only:Jt};Q.Children=xn,Q.Component=oe,Q.Fragment=u,Q.Profiler=d,Q.PureComponent=_t,Q.StrictMode=f,Q.Suspense=P,Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,Q.cloneElement=En,Q.createContext=hr,Q.createElement=Sn,Q.createFactory=Cn,Q.createRef=tt,Q.forwardRef=gr,Q.isValidElement=Ue,Q.lazy=pr,Q.memo=c,Q.useCallback=fe,Q.useContext=b,Q.useDebugValue=ie,Q.useEffect=L,Q.useImperativeHandle=ee,Q.useLayoutEffect=M,Q.useMemo=K,Q.useReducer=W,Q.useRef=U,Q.useState=x,Q.version=r}();process.env.NODE_ENV==="production"?xr.exports=J:xr.exports=Q;var Zt=xr.exports,Mn={sdkSemver:"1.13.0",techVersion:Zt.version,sdkCode:"J"},Gl=function(t){ks(e,t);function e(r){var n=t.call(this,r)||this;return n.imageRef=Zt.createRef(),n}return e.prototype.componentDidMount=function(){this.htmlLayerInstance=new jc(this.imageRef.current,this.props.cldImg,this.props.plugins,Mn)},e.prototype.componentDidUpdate=function(){Xr(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Mn)},e.prototype.componentWillUnmount=function(){Xr(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},e.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=js(r,["cldImg","plugins"]);if(To())return Zt.createElement("img",Cr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=_l(this.props.plugins,this.props.cldImg,Mn);return Zt.createElement("img",Cr({},n,{src:o}))},e}(Zt.Component),Wl=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(t){ks(e,t);function e(r){var n=t.call(this,r)||this;return n.videoRef=xr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return e.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new ul(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},e.prototype.componentDidUpdate=function(){Xr(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},e.prototype.componentWillUnmount=function(){Xr(this.htmlVideoLayerInstance.htmlPluginState)},e.prototype.getVideoAttributes=function(){var r=this,n={};return Wl.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},e.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},e.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=js(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Zt.createElement("video",Cr({},n,{ref:this.attachRef}))},e})(xr.exports.Component);function Yl(t){return!(typeof t!="object"||t instanceof Array)}class Hl{filterOutNonSupportedKeys(e,r){const n=Object.create({});return Yl(e)?(Object.keys(e).forEach(o=>{r.indexOf(o)>=0?n[o]=e[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const bi=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class ko extends Hl{constructor(e){super();const r=this.filterOutNonSupportedKeys(e,bi);Object.assign(this,{secure:!0},r)}extend(e){const r=this.filterOutNonSupportedKeys(e,bi);return new ko(Object.assign({},this,r))}setCname(e){return this.cname=e,this}setSecureDistribution(e){return this.secureDistribution=e,this}setPrivateCdn(e){return this.privateCdn=e,this}setSignUrl(e){return this.signUrl=e,this}setLongUrlSignature(e){return this.longUrlSignature=e,this}setShorten(e){return this.shorten=e,this}setUseRootPath(e){return this.useRootPath=e,this}setSecure(e){return this.secure=e,this}setForceVersion(e){return this.forceVersion=e,this}setQueryParams(e){return this.queryParams=e,this}}class Tr{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}}class Ql extends Error{constructor(e="Unsupported"){super(e)}}function jo(t){return new Ql(t)}function Jl(){return this._qualifierModel||{error:jo(`unsupported qualifier ${this.constructor.name}`)}}class Kl{constructor(){this._qualifierModel={}}toJson(){return Jl.apply(this)}}class gn extends Kl{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof Tr?this.qualifierValue=r:(this.qualifierValue=new Tr,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}}class xt extends gn{constructor(e,r){let n;r?n=new Tr([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Xl(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Zl(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:jo(`unsupported action ${this.constructor.name}`)}}class ef{constructor(){this._actionModel={}}toJson(){return Zl.apply(this)}}class Io extends ef{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Xl(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new xt(n)):this.qualifiers.set(r,new gn(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new xt(e)):e instanceof xt&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}}function tf(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class rf extends Io{constructor(e){super(),this._actionModel={},this.addQualifier(new gn("b",new Tr(tf(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}}class wi{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:jo(`unsupported action ${this.constructor.name}`)}}}function nf(t){const e=t;return"error"in e&&!!e.error}function of(){return new xt("lossy")}function sf(){return new xt("preserve_transparency")}function af(t){return new xt("progressive",t)}class cf extends Tr{constructor(e){super(e),this.val=e}getValue(){return this.val}}function Ut(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const uf={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},lf={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},ff={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},df={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},hf={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},pf={444:"CHROMA_444",420:"CHROMA_420"},gf={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};Ut(pf);Ut(gf);Ut(uf);const mf=Ut(lf);Ut(ff);Ut(df);Ut(hf);class yf extends Io{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof cf?o=r.getValue():o=r,this._actionModel.actionType=mf[e],this._actionModel[n]=o,this.addQualifier(new gn(e,r))}}class vf extends xt{constructor(e){super("progressive",e)}}class en extends yf{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(of()),this}progressive(e){return e instanceof vf?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(af(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(sf()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:s}=e;let u;return r?u=new this("f",r):u=new this("f"),o&&(o.mode?u.progressive(o.mode):u.progressive()),n&&u.lossy(),s&&u.preserveTransparency(),u}}class mn{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new wi(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof mn?this.actions=this.actions.concat(e.actions):this.actions.push(new wi(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new en("q",e)),this}format(e){return this.addAction(new en("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new rf(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new Io;let n=e;return typeof e=="string"&&(n=new xt(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(nf(n))return n;e.push(n)}return{actions:e}}}class _f extends mn{}class bf extends mn{}function wf(t){return t.match(/^https?:\//)}function Sf(t){return t.indexOf("/")<0}function Ef(t){return t.match(/^v[0-9]+/)}function Cf(t,e){const r=e.secure,n=e.privateCdn,o=e.cname,s=e.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${t}`:r&&!s&&n?`https://${t}-res.cloudinary.com`:r&&!s?`https://res.cloudinary.com/${t}`:r&&s&&n?`https://${s}`:r&&s?`https://${s}/${t}`:!r&&o?`http://${o}/${t}`:"ERROR"}function xf(t){return t||"image"}function Tf(t){return t||"upload"}function Af(t,e,r){const n=r!==!1;return e?`v${e}`:Ef(t)||wf(t)||Sf(t)?"":n?"v1":""}function Mo(t,e,r){let n=e>>0,o=String(r);return t.length>n?String(t):(n=n-t.length,n>o.length&&(o+=Of(o,n/o.length)),o.slice(0,n)+String(t))}function Of(t,e){let r=e,n="";for(;r>0;)n+=t,r--;return n}const Rf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tn={};let Si=0;Rf.split("").forEach(t=>{let e=Si.toString(2);e=Mo(e,6,"0"),tn[e]=t,Si++});function $f(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}function Pf(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").map(e=>{const r=+e;if(isNaN(r)||r<0)throw"Invalid version number provided";return Mo(e,2,"0")}).join(".")}function Ei(t){let e="";const n=t.split(".").length*6,o=$f(t),s=Pf(o);let f=parseInt(s.split(".").join("")).toString(2);if(f=Mo(f,n,"0"),f.length%6!==0)throw"Version must be smaller than 43.21.26)";return f.match(/.{1,6}/g).forEach(d=>{e+=tn[d]}),e}function kf(t){const e={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0",osType:t.osType,osVersion:t.osVersion};return t.accessibility&&(e.feature="D"),t.lazyload&&(e.feature="C"),t.responsive&&(e.feature="A"),t.placeholder&&(e.feature="B"),e}const jf="1.21.0";function If(t){const[e,r]=t.split("."),n=parseInt(e).toString(2),o=parseInt(r).toString(2),s=n.padStart(6,"0"),u=o.padStart(6,"0");return tn[s]+tn[u]}function Mf(){const t="0.0.0";if(typeof window<"u")return t;try{return process.versions.node||t}catch{return t}}function Df(t){const e={techVersion:Mf(),sdkCode:"T",sdkSemver:jf.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?Object.assign(Object.assign({},e),t):e}function Ci(t){const e=Df(t),r=kf(e);try{const n=Lf(r.techVersion),o=Ei(r.sdkSemver),s=Ei(n),u=If(r.osVersion),f=r.feature,d=r.sdkCode,{product:g,osType:_}=r;return`D${g}${d}${o}${s}${_}${u}${f}`}catch{return"E"}}function Lf(t){const e=t.split(".");return`${e[0]}.${e[1]}`}const xi={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Ff{constructor(e,r={},n){this.setPublicID(e),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(e){return this.urlConfig=new ko(e),this}setCloudConfig(e){return this.cloudName=e.cloudName,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.authToken=e.authToken,this}setPublicID(e){return this.publicID=e?e.toString():"",this}setDeliveryType(e){return this.deliveryType=e,this}setSuffix(e){return this.suffix=e,this}setSignature(e){return this.signature=e,this}setVersion(e){return e&&(this.version=e),this}setAssetType(e){return e&&(this.assetType=e),this}sign(){return this}toURL(e={}){return this.createCloudinaryURL(null,e.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const e=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(e||r)throw"`suffix`` should not include . or /"}getResourceType(){const e=xf(this.assetType),r=Tf(this.deliveryType),n=!!this.suffix,o=`${e}/${r}`,s=xi[`${e}/${r}`],u=this.urlConfig.useRootPath,f=this.urlConfig.shorten;if(u){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(f&&o==="image/upload")return"iu";if(n){if(s)return s;throw new Error(`URL Suffix only supported for ${Object.keys(xi).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(e,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Cf(this.cloudName,this.urlConfig),o=e?e.toString():"",s=Af(this.publicID,this.version,this.urlConfig.forceVersion),u=this.publicID;if(typeof e=="string")return[n,this.getResourceType(),this.getSignature(),o,s,u.replace(/,/g,"%2C"),this.suffix].filter(d=>d).join("/");{const f=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),s,encodeURI(u).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(_=>_).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),d=this.urlConfig.analytics!==!1&&!u.includes("?");let g="";if(typeof this.urlConfig.queryParams=="object")try{const _=new URLSearchParams(this.urlConfig.queryParams);d&&_.set("_a",Ci(r)),g=_.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else g=this.urlConfig.queryParams||"",d&&(g+=`${g.length>0?"&":""}_a=${Ci(r)}`);return g?`${f}?${g}`:f}}}class Ws extends Ff{constructor(e,r,n,o){super(e,r,n),this.transformation=o}animated(e){return this.transformation.animated(e),this}border(e){return this.transformation.border(e),this}reshape(e){return this.transformation.reshape(e),this}resize(e){return this.transformation.resize(e),this}quality(e){return this.addAction(new en("q",e)),this}format(e){return this.addAction(new en("f",e)),this}roundCorners(e){return this.transformation.roundCorners(e),this}overlay(e){return this.transformation.overlay(e),this}addVariable(e){return this.transformation.addVariable(e),this}conditional(e){return this.transformation.conditional(e),this}effect(e){return this.transformation.effect(e),this}adjust(e){return this.transformation.adjust(e),this}rotate(e){return this.transformation.rotate(e),this}namedTransformation(e){return this.transformation.namedTransformation(e),this}delivery(e){return this.transformation.delivery(e),this}backgroundColor(e){return this.transformation.backgroundColor(e),this}psdTools(e){return this.transformation.psdTools(e),this}extract(e){return this.transformation.extract(e),this}addFlag(e){return this.transformation.addFlag(e),this}customFunction(e){return this.transformation.customFunction(e),this}addAction(e){return this.transformation.addAction(e),this}addTransformation(e){return this.transformation.addTransformation(e),this}toString(){return this.transformation.toString()}underlay(e){return this.transformation.underlay(e),this}toURL(e={}){return this.createCloudinaryURL(this.transformation,e==null?void 0:e.trackedAnalytics)}}class Vf extends Ws{constructor(e,r,n){super(e,r,n,new _f)}}class Nf extends Ws{constructor(e,r,n){super(e,r,n,new bf),this.assetType="video"}transcode(e){return this.transformation.transcode(e),this}videoEdit(e){return this.transformation.videoEdit(e),this}}class Uf{constructor(e){e&&(this.cloudinaryConfig=e)}image(e){return new Vf(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(e){return new Nf(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(e){return this.cloudinaryConfig=e,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const Bf=({publicId:t,format:e="webp"})=>{const r=ue.useMemo(()=>new Uf({cloud:{cloudName:"fluid-attacks"}}),[]);return ue.useMemo(()=>r.image(t).format(e),[r,t,e])},zf=({alt:t="img",height:e="",width:r="",plugins:n=[hl(),yl()],publicId:o})=>{const s=Bf({publicId:o});return Vt.jsx(Gl,{alt:t,cldImg:s,height:e,plugins:n,width:r})},Ys=ue.memo(zf),qf=sr(Ji)`
|
|
219
|
+
Check the top-level render call using <`+m+">.")}return p}function Dr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=lo(p);if(!nn[m]){nn[m]=!0;var _="";a&&a._owner&&a._owner!==fe.current&&(_=" It was passed a child from "+oe(a._owner.type)+"."),te(a),G('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',m,_),te(null)}}}function sr(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var _=a[m];qe(_)&&Dr(_,p)}else if(qe(a))a._store&&(a._store.validated=!0);else if(a){var k=P(a);if(typeof k=="function"&&k!==a.entries)for(var re=k.call(a),z;!(z=re.next()).done;)qe(z.value)&&Dr(z.value,p)}}}function on(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=oe(p),_;if(typeof p=="function")_=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===S||p.$$typeof===$))_=p.propTypes;else return;_?(te(a),e(_,a.props,"prop",m,ie.getStackAddendum),te(null)):p.PropTypes!==void 0&&!Ke&&(Ke=!0,G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nr(a){{te(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var _=p[m];if(_!=="children"&&_!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),te(null)}}function sn(a,p,m){var _=Ae(a);if(!_){var k="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(k+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var re=uo(p);re?k+=re:k+=Ht();var z;a===null?z="null":Array.isArray(a)?z="array":a!==void 0&&a.$$typeof===o?(z="<"+(oe(a.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):z=typeof a,G("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",z,k)}var H=_t.apply(this,arguments);if(H==null)return H;if(_)for(var Ne=2;Ne<arguments.length;Ne++)sr(arguments[Ne],a);return a===s?Nr(H):on(H),H}var an=!1;function fo(a){var p=sn.bind(null,a);return p.type=a,an||(an=!0,pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function po(a,p,m){for(var _=Rt.apply(this,arguments),k=2;k<arguments.length;k++)sr(arguments[k],_.type);return on(_),_}try{var cn=Object.freeze({}),ho=new Map([[cn,null]]),Fr=new Set([cn]);ho.set(0,0),Fr.add(0)}catch{}var go=sn,mo=po,yo=fo,vo={map:bt,forEach:N,count:C,toArray:V,only:U};he.Children=vo,he.Component=be,he.Fragment=s,he.Profiler=l,he.PureComponent=Ct,he.StrictMode=u,he.Suspense=b,he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ae,he.cloneElement=mo,he.createContext=Te,he.createElement=go,he.createFactory=yo,he.createRef=ft,he.forwardRef=ct,he.isValidElement=qe,he.lazy=Me,he.memo=f,he.useCallback=Le,he.useContext=x,he.useDebugValue=Oe,he.useEffect=J,he.useImperativeHandle=ce,he.useLayoutEffect=Y,he.useMemo=B,he.useReducer=ne,he.useRef=ee,he.useState=F,he.version=r}();process.env.NODE_ENV==="production"?Hr.exports=ge:Hr.exports=he;var xr=Hr.exports,$o={sdkSemver:"1.13.0",techVersion:xr.version,sdkCode:"J"},Qd=function(t){fc(e,t);function e(r){var n=t.call(this,r)||this;return n.imageRef=xr.createRef(),n}return e.prototype.componentDidMount=function(){this.htmlLayerInstance=new Ll(this.imageRef.current,this.props.cldImg,this.props.plugins,$o)},e.prototype.componentDidUpdate=function(){$n(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,$o)},e.prototype.componentWillUnmount=function(){$n(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},e.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=dc(r,["cldImg","plugins"]);if(Oi())return xr.createElement("img",Gr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=xd(this.props.plugins,this.props.cldImg,$o);return xr.createElement("img",Gr({},n,{src:o}))},e}(xr.Component),Jd=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(t){fc(e,t);function e(r){var n=t.call(this,r)||this;return n.videoRef=Hr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return e.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new pd(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},e.prototype.componentDidUpdate=function(){$n(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},e.prototype.componentWillUnmount=function(){$n(this.htmlVideoLayerInstance.htmlPluginState)},e.prototype.getVideoAttributes=function(){var r=this,n={};return Jd.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},e.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},e.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=dc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return xr.createElement("video",Gr({},n,{ref:this.attachRef}))},e})(Hr.exports.Component);function Kd(t){return!(typeof t!="object"||t instanceof Array)}class Xd{filterOutNonSupportedKeys(e,r){const n=Object.create({});return Kd(e)?(Object.keys(e).forEach(o=>{r.indexOf(o)>=0?n[o]=e[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const $s=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class ji extends Xd{constructor(e){super();const r=this.filterOutNonSupportedKeys(e,$s);Object.assign(this,{secure:!0},r)}extend(e){const r=this.filterOutNonSupportedKeys(e,$s);return new ji(Object.assign({},this,r))}setCname(e){return this.cname=e,this}setSecureDistribution(e){return this.secureDistribution=e,this}setPrivateCdn(e){return this.privateCdn=e,this}setSignUrl(e){return this.signUrl=e,this}setLongUrlSignature(e){return this.longUrlSignature=e,this}setShorten(e){return this.shorten=e,this}setUseRootPath(e){return this.useRootPath=e,this}setSecure(e){return this.secure=e,this}setForceVersion(e){return this.forceVersion=e,this}setQueryParams(e){return this.queryParams=e,this}}class Yr{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}}class Zd extends Error{constructor(e="Unsupported"){super(e)}}function Ii(t){return new Zd(t)}function ep(){return this._qualifierModel||{error:Ii(`unsupported qualifier ${this.constructor.name}`)}}class tp{constructor(){this._qualifierModel={}}toJson(){return ep.apply(this)}}class no extends tp{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof Yr?this.qualifierValue=r:(this.qualifierValue=new Yr,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}}class rr extends no{constructor(e,r){let n;r?n=new Yr([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function rp(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function np(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ii(`unsupported action ${this.constructor.name}`)}}class op{constructor(){this._actionModel={}}toJson(){return np.apply(this)}}class Mi extends op{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),rp(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new rr(n)):this.qualifiers.set(r,new no(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new rr(e)):e instanceof rr&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}}function ip(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class sp extends Mi{constructor(e){super(),this._actionModel={},this.addQualifier(new no("b",new Yr(ip(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}}class Cs{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:Ii(`unsupported action ${this.constructor.name}`)}}}function ap(t){const e=t;return"error"in e&&!!e.error}function cp(){return new rr("lossy")}function up(){return new rr("preserve_transparency")}function lp(t){return new rr("progressive",t)}class fp extends Yr{constructor(e){super(e),this.val=e}getValue(){return this.val}}function br(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const dp={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},pp={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},hp={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},gp={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},mp={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},yp={444:"CHROMA_444",420:"CHROMA_420"},vp={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};br(yp);br(vp);br(dp);const bp=br(pp);br(hp);br(gp);br(mp);class wp extends Mi{constructor(e,r,n){super(),this._actionModel={};let o;r instanceof fp?o=r.getValue():o=r,this._actionModel.actionType=bp[e],this._actionModel[n]=o,this.addQualifier(new no(e,r))}}class _p extends rr{constructor(e){super("progressive",e)}}class Rn extends wp{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(cp()),this}progressive(e){return e instanceof _p?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(lp(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(up()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=e;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class oo{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Cs(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof oo?this.actions=this.actions.concat(e.actions):this.actions.push(new Cs(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new Rn("q",e)),this}format(e){return this.addAction(new Rn("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new sp(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new Mi;let n=e;return typeof e=="string"&&(n=new rr(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(ap(n))return n;e.push(n)}return{actions:e}}}class Sp extends oo{}class xp extends oo{}function Ep(t){return t.match(/^https?:\//)}function Tp(t){return t.indexOf("/")<0}function Ap(t){return t.match(/^v[0-9]+/)}function Op(t,e){const r=e.secure,n=e.privateCdn,o=e.cname,i=e.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${t}`:r&&!i&&n?`https://${t}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${t}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${t}`:!r&&o?`http://${o}/${t}`:"ERROR"}function $p(t){return t||"image"}function Cp(t){return t||"upload"}function Rp(t,e,r){const n=r!==!1;return e?`v${e}`:Ap(t)||Ep(t)||Tp(t)?"":n?"v1":""}function Li(t,e,r){let n=e>>0,o=String(r);return t.length>n?String(t):(n=n-t.length,n>o.length&&(o+=Pp(o,n/o.length)),o.slice(0,n)+String(t))}function Pp(t,e){let r=e,n="";for(;r>0;)n+=t,r--;return n}const kp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pn={};let Rs=0;kp.split("").forEach(t=>{let e=Rs.toString(2);e=Li(e,6,"0"),Pn[e]=t,Rs++});function jp(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}function Ip(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").map(e=>{const r=+e;if(isNaN(r)||r<0)throw"Invalid version number provided";return Li(e,2,"0")}).join(".")}function Ps(t){let e="";const n=t.split(".").length*6,o=jp(t),i=Ip(o);let u=parseInt(i.split(".").join("")).toString(2);if(u=Li(u,n,"0"),u.length%6!==0)throw"Version must be smaller than 43.21.26)";return u.match(/.{1,6}/g).forEach(l=>{e+=Pn[l]}),e}function Mp(t){const e={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0",osType:t.osType,osVersion:t.osVersion};return t.accessibility&&(e.feature="D"),t.lazyload&&(e.feature="C"),t.responsive&&(e.feature="A"),t.placeholder&&(e.feature="B"),e}const Lp="1.21.0";function Dp(t){const[e,r]=t.split("."),n=parseInt(e).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return Pn[i]+Pn[s]}function Np(){const t="0.0.0";if(typeof window<"u")return t;try{return process.versions.node||t}catch{return t}}function Fp(t){const e={techVersion:Np(),sdkCode:"T",sdkSemver:Lp.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?Object.assign(Object.assign({},e),t):e}function ks(t){const e=Fp(t),r=Mp(e);try{const n=Vp(r.techVersion),o=Ps(r.sdkSemver),i=Ps(n),s=Dp(r.osVersion),u=r.feature,l=r.sdkCode,{product:d,osType:h}=r;return`D${d}${l}${o}${i}${h}${s}${u}`}catch{return"E"}}function Vp(t){const e=t.split(".");return`${e[0]}.${e[1]}`}const js={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Bp{constructor(e,r={},n){this.setPublicID(e),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(e){return this.urlConfig=new ji(e),this}setCloudConfig(e){return this.cloudName=e.cloudName,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.authToken=e.authToken,this}setPublicID(e){return this.publicID=e?e.toString():"",this}setDeliveryType(e){return this.deliveryType=e,this}setSuffix(e){return this.suffix=e,this}setSignature(e){return this.signature=e,this}setVersion(e){return e&&(this.version=e),this}setAssetType(e){return e&&(this.assetType=e),this}sign(){return this}toURL(e={}){return this.createCloudinaryURL(null,e.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const e=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(e||r)throw"`suffix`` should not include . or /"}getResourceType(){const e=$p(this.assetType),r=Cp(this.deliveryType),n=!!this.suffix,o=`${e}/${r}`,i=js[`${e}/${r}`],s=this.urlConfig.useRootPath,u=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(u&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(js).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(e,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Op(this.cloudName,this.urlConfig),o=e?e.toString():"",i=Rp(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof e=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(l=>l).join("/");{const u=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),l=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);l&&h.set("_a",ks(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",l&&(d+=`${d.length>0?"&":""}_a=${ks(r)}`);return d?`${u}?${d}`:u}}}class Tc extends Bp{constructor(e,r,n,o){super(e,r,n),this.transformation=o}animated(e){return this.transformation.animated(e),this}border(e){return this.transformation.border(e),this}reshape(e){return this.transformation.reshape(e),this}resize(e){return this.transformation.resize(e),this}quality(e){return this.addAction(new Rn("q",e)),this}format(e){return this.addAction(new Rn("f",e)),this}roundCorners(e){return this.transformation.roundCorners(e),this}overlay(e){return this.transformation.overlay(e),this}addVariable(e){return this.transformation.addVariable(e),this}conditional(e){return this.transformation.conditional(e),this}effect(e){return this.transformation.effect(e),this}adjust(e){return this.transformation.adjust(e),this}rotate(e){return this.transformation.rotate(e),this}namedTransformation(e){return this.transformation.namedTransformation(e),this}delivery(e){return this.transformation.delivery(e),this}backgroundColor(e){return this.transformation.backgroundColor(e),this}psdTools(e){return this.transformation.psdTools(e),this}extract(e){return this.transformation.extract(e),this}addFlag(e){return this.transformation.addFlag(e),this}customFunction(e){return this.transformation.customFunction(e),this}addAction(e){return this.transformation.addAction(e),this}addTransformation(e){return this.transformation.addTransformation(e),this}toString(){return this.transformation.toString()}underlay(e){return this.transformation.underlay(e),this}toURL(e={}){return this.createCloudinaryURL(this.transformation,e==null?void 0:e.trackedAnalytics)}}class Up extends Tc{constructor(e,r,n){super(e,r,n,new Sp)}}class zp extends Tc{constructor(e,r,n){super(e,r,n,new xp),this.assetType="video"}transcode(e){return this.transformation.transcode(e),this}videoEdit(e){return this.transformation.videoEdit(e),this}}class Wp{constructor(e){e&&(this.cloudinaryConfig=e)}image(e){return new Up(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(e){return new zp(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(e){return this.cloudinaryConfig=e,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const qp=({publicId:t,format:e="webp"})=>{const r=E.useMemo(()=>new Wp({cloud:{cloudName:"fluid-attacks"}}),[]);return E.useMemo(()=>r.image(t).format(e),[r,t,e])},Gp=({alt:t="img",height:e="",width:r="",plugins:n=[yd(),_d()],publicId:o})=>{const i=qp({publicId:o});return ot.jsx(Qd,{alt:t,cldImg:i,height:e,plugins:n,width:r})},Ac=E.memo(Gp),Hp=Bt(gi)`
|
|
212
220
|
${({$center:t=!1})=>`
|
|
213
221
|
${t?"margin: auto;":""}
|
|
214
222
|
`}
|
|
215
|
-
`,
|
|
216
|
-
${({
|
|
223
|
+
`,Di=E.forwardRef(function({as:e="div",center:r,children:n,id:o,onHover:i,onLeave:s,...u},l){return ot.jsx(Hp,{$center:r,as:e,id:o,onMouseLeave:s,onMouseOver:i,ref:l,...u,children:n})}),Yp={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px"},Qp=Bt(Ca)`
|
|
224
|
+
${({$clickable:t,$color:e="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>`
|
|
225
|
+
color: ${e};
|
|
226
|
+
cursor: ${t?"cursor":"inherit"};
|
|
227
|
+
font-size: ${Yp[i]};
|
|
228
|
+
line-height: 0;
|
|
229
|
+
vertical-align: middle;
|
|
230
|
+
pointer-events: inherit;
|
|
231
|
+
opacity: ${r?"0.5":"1"};
|
|
232
|
+
|
|
233
|
+
> svg {
|
|
234
|
+
transform: ${o===void 0?"":`rotate(${o}deg)`};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
${()=>{const s=n===void 0?"filter: brightness(50%);":`color: ${n};`;return t===!0?`
|
|
238
|
+
&:hover {
|
|
239
|
+
${s}
|
|
240
|
+
}
|
|
241
|
+
`:""}}
|
|
242
|
+
`}
|
|
243
|
+
`;Bt.div`
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
transition: all 0.2s ease-in-out;
|
|
246
|
+
|
|
247
|
+
&:hover:not([disabled]) {
|
|
248
|
+
transform: scale(1.2);
|
|
249
|
+
}
|
|
250
|
+
`;const Oc=E.forwardRef(function({clickable:e,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconSize:u,iconType:l="fa-solid",onClick:d,rotation:h,...y},S){return ot.jsx(Qp,{$clickable:e,$color:s,$disabled:r,$hoverColor:n,$rotation:h,$size:u,"data-testid":`${o}-icon`,onClick:d,ref:S,...y,children:ot.jsx("i",{className:`${l} fa-${o} ${i}`})},`${l}-${o}`)}),Jp={footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Kp=({publicId:t,variant:e})=>ot.jsx(Di,{...Jp[e],children:ot.jsx(Ac,{alt:"logo",publicId:t})}),Rr=Math.min,pr=Math.max,kn=Math.round,yn=Math.floor,nr=t=>({x:t,y:t}),Xp={left:"right",right:"left",bottom:"top",top:"bottom"},Zp={start:"end",end:"start"};function Xo(t,e,r){return pr(t,Rr(e,r))}function Zr(t,e){return typeof t=="function"?t(e):t}function mr(t){return t.split("-")[0]}function en(t){return t.split("-")[1]}function $c(t){return t==="x"?"y":"x"}function Ni(t){return t==="y"?"height":"width"}function Pr(t){return["top","bottom"].includes(mr(t))?"y":"x"}function Fi(t){return $c(Pr(t))}function eh(t,e,r){r===void 0&&(r=!1);const n=en(t),o=Fi(t),i=Ni(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=jn(s)),[s,jn(s)]}function th(t){const e=jn(t);return[Zo(t),e,Zo(e)]}function Zo(t){return t.replace(/start|end/g,e=>Zp[e])}function rh(t,e,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?o:n:e?n:o;case"left":case"right":return e?i:s;default:return[]}}function nh(t,e,r,n){const o=en(t);let i=rh(mr(t),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),e&&(i=i.concat(i.map(Zo)))),i}function jn(t){return t.replace(/left|right|bottom|top/g,e=>Xp[e])}function oh(t){return{top:0,right:0,bottom:0,left:0,...t}}function Cc(t){return typeof t!="number"?oh(t):{top:t,right:t,bottom:t,left:t}}function In(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function Is(t,e,r){let{reference:n,floating:o}=t;const i=Pr(e),s=Fi(e),u=Ni(s),l=mr(e),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,S=n[u]/2-o[u]/2;let b;switch(l){case"top":b={x:h,y:n.y-o.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-o.width,y};break;default:b={x:n.x,y:n.y}}switch(en(e)){case"start":b[s]-=S*(r&&d?-1:1);break;case"end":b[s]+=S*(r&&d?-1:1);break}return b}const ih=async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,u=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let d=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:h,y}=Is(d,n,l),S=n,b={},T=0;for(let $=0;$<u.length;$++){const{name:j,fn:A}=u[$],{x:O,y:R,data:I,reset:M}=await A({x:h,y,initialPlacement:n,placement:S,strategy:o,middlewareData:b,rects:d,platform:s,elements:{reference:t,floating:e}});h=O??h,y=R??y,b={...b,[j]:{...b[j],...I}},M&&T<=50&&(T++,typeof M=="object"&&(M.placement&&(S=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):M.rects),{x:h,y}=Is(d,S,l)),$=-1)}return{x:h,y,placement:S,strategy:o,middlewareData:b}};async function Rc(t,e){var r;e===void 0&&(e={});const{x:n,y:o,platform:i,rects:s,elements:u,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:S=!1,padding:b=0}=Zr(e,t),T=Cc(b),j=u[S?y==="floating"?"reference":"floating":y],A=In(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(j)))==null||r?j:j.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(u.floating)),boundary:d,rootBoundary:h,strategy:l})),O=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u.floating)),I=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},M=In(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:O,offsetParent:R,strategy:l}):O);return{top:(A.top-M.top+T.top)/I.y,bottom:(M.bottom-A.bottom+T.bottom)/I.y,left:(A.left-M.left+T.left)/I.x,right:(M.right-A.right+T.right)/I.x}}const sh=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:i,platform:s,elements:u,middlewareData:l}=e,{element:d,padding:h=0}=Zr(t,e)||{};if(d==null)return{};const y=Cc(h),S={x:r,y:n},b=Fi(o),T=Ni(b),$=await s.getDimensions(d),j=b==="y",A=j?"top":"left",O=j?"bottom":"right",R=j?"clientHeight":"clientWidth",I=i.reference[T]+i.reference[b]-S[b]-i.floating[T],M=S[b]-i.reference[b],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[R]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=u.floating[R]||i.floating[T]);const me=I/2-M/2,ye=P/2-$[T]/2-1,fe=Rr(y[A],ye),De=Rr(y[O],ye),Ie=fe,ve=P-$[T]-De,Q=P/2-$[T]/2+me,Se=Xo(Ie,Q,ve),oe=!l.arrow&&en(o)!=null&&Q!==Se&&i.reference[T]/2-(Q<Ie?fe:De)-$[T]/2<0,ie=oe?Q<Ie?Q-Ie:Q-ve:0;return{[b]:S[b]+ie,data:{[b]:Se,centerOffset:Q-Se-ie,...oe&&{alignmentOffset:ie}},reset:oe}}}),ah=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:u,platform:l,elements:d}=e,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:S,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:$=!0,...j}=Zr(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const A=mr(o),O=Pr(u),R=mr(u)===u,I=await(l.isRTL==null?void 0:l.isRTL(d.floating)),M=S||(R||!$?[jn(u)]:th(u)),D=T!=="none";!S&&D&&M.push(...nh(u,$,T,I));const P=[u,...M],me=await Rc(e,j),ye=[];let fe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&ye.push(me[A]),y){const Q=eh(o,s,I);ye.push(me[Q[0]],me[Q[1]])}if(fe=[...fe,{placement:o,overflows:ye}],!ye.every(Q=>Q<=0)){var De,Ie;const Q=(((De=i.flip)==null?void 0:De.index)||0)+1,Se=P[Q];if(Se)return{data:{index:Q,overflows:fe},reset:{placement:Se}};let oe=(Ie=fe.filter(ie=>ie.overflows[0]<=0).sort((ie,se)=>ie.overflows[1]-se.overflows[1])[0])==null?void 0:Ie.placement;if(!oe)switch(b){case"bestFit":{var ve;const ie=(ve=fe.filter(se=>{if(D){const te=Pr(se.placement);return te===O||te==="y"}return!0}).map(se=>[se.placement,se.overflows.filter(te=>te>0).reduce((te,q)=>te+q,0)]).sort((se,te)=>se[1]-te[1])[0])==null?void 0:ve[0];ie&&(oe=ie);break}case"initialPlacement":oe=u;break}if(o!==oe)return{reset:{placement:oe}}}return{}}}};async function ch(t,e){const{placement:r,platform:n,elements:o}=t,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=mr(r),u=en(r),l=Pr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&l?-1:1,y=Zr(e,t);let{mainAxis:S,crossAxis:b,alignmentAxis:T}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return u&&typeof T=="number"&&(b=u==="end"?T*-1:T),l?{x:b*h,y:S*d}:{x:S*d,y:b*h}}const uh=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:i,placement:s,middlewareData:u}=e,l=await ch(e,t);return s===((r=u.offset)==null?void 0:r.placement)&&(n=u.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},lh=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:u={fn:j=>{let{x:A,y:O}=j;return{x:A,y:O}}},...l}=Zr(t,e),d={x:r,y:n},h=await Rc(e,l),y=Pr(mr(o)),S=$c(y);let b=d[S],T=d[y];if(i){const j=S==="y"?"top":"left",A=S==="y"?"bottom":"right",O=b+h[j],R=b-h[A];b=Xo(O,b,R)}if(s){const j=y==="y"?"top":"left",A=y==="y"?"bottom":"right",O=T+h[j],R=T-h[A];T=Xo(O,T,R)}const $=u.fn({...e,[S]:b,[y]:T});return{...$,data:{x:$.x-r,y:$.y-n,enabled:{[S]:i,[y]:s}}}}}};function io(){return typeof window<"u"}function Mr(t){return Pc(t)?(t.nodeName||"").toLowerCase():"#document"}function $t(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Gt(t){var e;return(e=(Pc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Pc(t){return io()?t instanceof Node||t instanceof $t(t).Node:!1}function Ft(t){return io()?t instanceof Element||t instanceof $t(t).Element:!1}function qt(t){return io()?t instanceof HTMLElement||t instanceof $t(t).HTMLElement:!1}function Ms(t){return!io()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $t(t).ShadowRoot}function tn(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=Vt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(o)}function fh(t){return["table","td","th"].includes(Mr(t))}function so(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Vi(t){const e=Bi(),r=Ft(t)?Vt(t):t;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function dh(t){let e=or(t);for(;qt(e)&&!kr(e);){if(Vi(e))return e;if(so(e))return null;e=or(e)}return null}function Bi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kr(t){return["html","body","#document"].includes(Mr(t))}function Vt(t){return $t(t).getComputedStyle(t)}function ao(t){return Ft(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function or(t){if(Mr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ms(t)&&t.host||Gt(t);return Ms(e)?e.host:e}function kc(t){const e=or(t);return kr(e)?t.ownerDocument?t.ownerDocument.body:t.body:qt(e)&&tn(e)?e:kc(e)}function Qr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=kc(t),i=o===((n=t.ownerDocument)==null?void 0:n.body),s=$t(o);if(i){const u=ei(s);return e.concat(s,s.visualViewport||[],tn(o)?o:[],u&&r?Qr(u):[])}return e.concat(o,Qr(o,[],r))}function ei(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function jc(t){const e=Vt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=qt(t),i=o?t.offsetWidth:r,s=o?t.offsetHeight:n,u=kn(r)!==i||kn(n)!==s;return u&&(r=i,n=s),{width:r,height:n,$:u}}function Ui(t){return Ft(t)?t:t.contextElement}function Er(t){const e=Ui(t);if(!qt(e))return nr(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=jc(e);let s=(i?kn(r.width):r.width)/n,u=(i?kn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}const ph=nr(0);function Ic(t){const e=$t(t);return!Bi()||!e.visualViewport?ph:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function hh(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==$t(t)?!1:e}function yr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),i=Ui(t);let s=nr(1);e&&(n?Ft(n)&&(s=Er(n)):s=Er(t));const u=hh(i,r,n)?Ic(i):nr(0);let l=(o.left+u.x)/s.x,d=(o.top+u.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const S=$t(i),b=n&&Ft(n)?$t(n):n;let T=S,$=ei(T);for(;$&&n&&b!==T;){const j=Er($),A=$.getBoundingClientRect(),O=Vt($),R=A.left+($.clientLeft+parseFloat(O.paddingLeft))*j.x,I=A.top+($.clientTop+parseFloat(O.paddingTop))*j.y;l*=j.x,d*=j.y,h*=j.x,y*=j.y,l+=R,d+=I,T=$t($),$=ei(T)}}return In({width:h,height:y,x:l,y:d})}function gh(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i=o==="fixed",s=Gt(n),u=e?so(e.floating):!1;if(n===s||u&&i)return r;let l={scrollLeft:0,scrollTop:0},d=nr(1);const h=nr(0),y=qt(n);if((y||!y&&!i)&&((Mr(n)!=="body"||tn(s))&&(l=ao(n)),qt(n))){const S=yr(n);d=Er(n),h.x=S.x+n.clientLeft,h.y=S.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+h.x,y:r.y*d.y-l.scrollTop*d.y+h.y}}function mh(t){return Array.from(t.getClientRects())}function ti(t,e){const r=ao(t).scrollLeft;return e?e.left+r:yr(Gt(t)).left+r}function yh(t){const e=Gt(t),r=ao(t),n=t.ownerDocument.body,o=pr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=pr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+ti(t);const u=-r.scrollTop;return Vt(n).direction==="rtl"&&(s+=pr(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:u}}function vh(t,e){const r=$t(t),n=Gt(t),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,u=0,l=0;if(o){i=o.width,s=o.height;const d=Bi();(!d||d&&e==="fixed")&&(u=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:u,y:l}}function bh(t,e){const r=yr(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=qt(t)?Er(t):nr(1),s=t.clientWidth*i.x,u=t.clientHeight*i.y,l=o*i.x,d=n*i.y;return{width:s,height:u,x:l,y:d}}function Ls(t,e,r){let n;if(e==="viewport")n=vh(t,r);else if(e==="document")n=yh(Gt(t));else if(Ft(e))n=bh(e,r);else{const o=Ic(t);n={...e,x:e.x-o.x,y:e.y-o.y}}return In(n)}function Mc(t,e){const r=or(t);return r===e||!Ft(r)||kr(r)?!1:Vt(r).position==="fixed"||Mc(r,e)}function wh(t,e){const r=e.get(t);if(r)return r;let n=Qr(t,[],!1).filter(u=>Ft(u)&&Mr(u)!=="body"),o=null;const i=Vt(t).position==="fixed";let s=i?or(t):t;for(;Ft(s)&&!kr(s);){const u=Vt(s),l=Vi(s);!l&&u.position==="fixed"&&(o=null),(i?!l&&!o:!l&&u.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||tn(s)&&!l&&Mc(t,s))?n=n.filter(h=>h!==s):o=u,s=or(s)}return e.set(t,n),n}function _h(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const s=[...r==="clippingAncestors"?so(e)?[]:wh(e,this._c):[].concat(r),n],u=s[0],l=s.reduce((d,h)=>{const y=Ls(e,h,o);return d.top=pr(y.top,d.top),d.right=Rr(y.right,d.right),d.bottom=Rr(y.bottom,d.bottom),d.left=pr(y.left,d.left),d},Ls(e,u,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Sh(t){const{width:e,height:r}=jc(t);return{width:e,height:r}}function xh(t,e,r){const n=qt(e),o=Gt(e),i=r==="fixed",s=yr(t,!0,i,e);let u={scrollLeft:0,scrollTop:0};const l=nr(0);if(n||!n&&!i)if((Mr(e)!=="body"||tn(o))&&(u=ao(e)),n){const b=yr(e,!0,i,e);l.x=b.x+e.clientLeft,l.y=b.y+e.clientTop}else o&&(l.x=ti(o));let d=0,h=0;if(o&&!n&&!i){const b=o.getBoundingClientRect();h=b.top+u.scrollTop,d=b.left+u.scrollLeft-ti(o,b)}const y=s.left+u.scrollLeft-l.x-d,S=s.top+u.scrollTop-l.y-h;return{x:y,y:S,width:s.width,height:s.height}}function Co(t){return Vt(t).position==="static"}function Ds(t,e){if(!qt(t)||Vt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Gt(t)===r&&(r=r.ownerDocument.body),r}function Lc(t,e){const r=$t(t);if(so(t))return r;if(!qt(t)){let o=or(t);for(;o&&!kr(o);){if(Ft(o)&&!Co(o))return o;o=or(o)}return r}let n=Ds(t,e);for(;n&&fh(n)&&Co(n);)n=Ds(n,e);return n&&kr(n)&&Co(n)&&!Vi(n)?r:n||dh(t)||r}const Eh=async function(t){const e=this.getOffsetParent||Lc,r=this.getDimensions,n=await r(t.floating);return{reference:xh(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Th(t){return Vt(t).direction==="rtl"}const Ah={convertOffsetParentRelativeRectToViewportRelativeRect:gh,getDocumentElement:Gt,getClippingRect:_h,getOffsetParent:Lc,getElementRects:Eh,getClientRects:mh,getDimensions:Sh,getScale:Er,isElement:Ft,isRTL:Th};function Oh(t,e){let r=null,n;const o=Gt(t);function i(){var u;clearTimeout(n),(u=r)==null||u.disconnect(),r=null}function s(u,l){u===void 0&&(u=!1),l===void 0&&(l=1),i();const{left:d,top:h,width:y,height:S}=t.getBoundingClientRect();if(u||e(),!y||!S)return;const b=yn(h),T=yn(o.clientWidth-(d+y)),$=yn(o.clientHeight-(h+S)),j=yn(d),O={rootMargin:-b+"px "+-T+"px "+-$+"px "+-j+"px",threshold:pr(0,Rr(1,l))||1};let R=!0;function I(M){const D=M[0].intersectionRatio;if(D!==l){if(!R)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(I,{...O,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,O)}r.observe(t)}return s(!0),i}function $h(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,d=Ui(t),h=o||i?[...d?Qr(d):[],...Qr(e)]:[];h.forEach(A=>{o&&A.addEventListener("scroll",r,{passive:!0}),i&&A.addEventListener("resize",r)});const y=d&&u?Oh(d,r):null;let S=-1,b=null;s&&(b=new ResizeObserver(A=>{let[O]=A;O&&O.target===d&&b&&(b.unobserve(e),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var R;(R=b)==null||R.observe(e)})),r()}),d&&!l&&b.observe(d),b.observe(e));let T,$=l?yr(t):null;l&&j();function j(){const A=yr(t);$&&(A.x!==$.x||A.y!==$.y||A.width!==$.width||A.height!==$.height)&&r(),$=A,T=requestAnimationFrame(j)}return r(),()=>{var A;h.forEach(O=>{o&&O.removeEventListener("scroll",r),i&&O.removeEventListener("resize",r)}),y==null||y(),(A=b)==null||A.disconnect(),b=null,l&&cancelAnimationFrame(T)}}const Dc=uh,Ch=lh,Nc=ah,Rh=sh,Ns=(t,e,r)=>{const n=new Map,o={platform:Ah,...r},i={...o.platform,_c:n};return ih(t,e,{...o,platform:i})},Ph=(t,e)=>({...Dc(t),options:[t,e]}),kh=(t,e)=>({...Nc(t),options:[t,e]});var jh=Object.prototype;function Ih(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||jh;return t===r}var Fc=Ih;function Mh(t,e){return function(r){return t(e(r))}}var Lh=Mh,Dh=Lh,Nh=Dh(Object.keys,Object),Fh=Nh,Vh=Fc,Bh=Fh,Uh=Object.prototype,zh=Uh.hasOwnProperty;function Wh(t){if(!Vh(t))return Bh(t);var e=[];for(var r in Object(t))zh.call(t,r)&&r!="constructor"&&e.push(r);return e}var qh=Wh,Gh=typeof dn=="object"&&dn&&dn.Object===Object&&dn,Vc=Gh,Hh=Vc,Yh=typeof self=="object"&&self&&self.Object===Object&&self,Qh=Hh||Yh||Function("return this")(),ir=Qh,Jh=ir,Kh=Jh.Symbol,Bc=Kh,Fs=Bc,Uc=Object.prototype,Xh=Uc.hasOwnProperty,Zh=Uc.toString,zr=Fs?Fs.toStringTag:void 0;function eg(t){var e=Xh.call(t,zr),r=t[zr];try{t[zr]=void 0;var n=!0}catch{}var o=Zh.call(t);return n&&(e?t[zr]=r:delete t[zr]),o}var tg=eg,rg=Object.prototype,ng=rg.toString;function og(t){return ng.call(t)}var ig=og,Vs=Bc,sg=tg,ag=ig,cg="[object Null]",ug="[object Undefined]",Bs=Vs?Vs.toStringTag:void 0;function lg(t){return t==null?t===void 0?ug:cg:Bs&&Bs in Object(t)?sg(t):ag(t)}var co=lg;function fg(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var zc=fg,dg=co,pg=zc,hg="[object AsyncFunction]",gg="[object Function]",mg="[object GeneratorFunction]",yg="[object Proxy]";function vg(t){if(!pg(t))return!1;var e=dg(t);return e==gg||e==mg||e==hg||e==yg}var Wc=vg,bg=ir,wg=bg["__core-js_shared__"],_g=wg,Ro=_g,Us=function(){var t=/[^.]+$/.exec(Ro&&Ro.keys&&Ro.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Sg(t){return!!Us&&Us in t}var xg=Sg,Eg=Function.prototype,Tg=Eg.toString;function Ag(t){if(t!=null){try{return Tg.call(t)}catch{}try{return t+""}catch{}}return""}var qc=Ag,Og=Wc,$g=xg,Cg=zc,Rg=qc,Pg=/[\\^$.*+?()[\]{}|]/g,kg=/^\[object .+?Constructor\]$/,jg=Function.prototype,Ig=Object.prototype,Mg=jg.toString,Lg=Ig.hasOwnProperty,Dg=RegExp("^"+Mg.call(Lg).replace(Pg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ng(t){if(!Cg(t)||$g(t))return!1;var e=Og(t)?Dg:kg;return e.test(Rg(t))}var Fg=Ng;function Vg(t,e){return t==null?void 0:t[e]}var Bg=Vg,Ug=Fg,zg=Bg;function Wg(t,e){var r=zg(t,e);return Ug(r)?r:void 0}var rn=Wg,qg=rn,Gg=ir,Hg=qg(Gg,"DataView"),Yg=Hg,Qg=rn,Jg=ir,Kg=Qg(Jg,"Map"),Xg=Kg,Zg=rn,em=ir,tm=Zg(em,"Promise"),rm=tm,nm=rn,om=ir,im=nm(om,"Set"),sm=im,am=rn,cm=ir,um=am(cm,"WeakMap"),lm=um,ri=Yg,ni=Xg,oi=rm,ii=sm,si=lm,Gc=co,Lr=qc,zs="[object Map]",fm="[object Object]",Ws="[object Promise]",qs="[object Set]",Gs="[object WeakMap]",Hs="[object DataView]",dm=Lr(ri),pm=Lr(ni),hm=Lr(oi),gm=Lr(ii),mm=Lr(si),cr=Gc;(ri&&cr(new ri(new ArrayBuffer(1)))!=Hs||ni&&cr(new ni)!=zs||oi&&cr(oi.resolve())!=Ws||ii&&cr(new ii)!=qs||si&&cr(new si)!=Gs)&&(cr=function(t){var e=Gc(t),r=e==fm?t.constructor:void 0,n=r?Lr(r):"";if(n)switch(n){case dm:return Hs;case pm:return zs;case hm:return Ws;case gm:return qs;case mm:return Gs}return e});var ym=cr;function vm(t){return t!=null&&typeof t=="object"}var zi=vm,bm=co,wm=zi,_m="[object Arguments]";function Sm(t){return wm(t)&&bm(t)==_m}var xm=Sm,Ys=xm,Em=zi,Hc=Object.prototype,Tm=Hc.hasOwnProperty,Am=Hc.propertyIsEnumerable,Om=Ys(function(){return arguments}())?Ys:function(t){return Em(t)&&Tm.call(t,"callee")&&!Am.call(t,"callee")},$m=Om,Cm=Array.isArray,Rm=Cm,Pm=9007199254740991;function km(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Pm}var Yc=km,jm=Wc,Im=Yc;function Mm(t){return t!=null&&Im(t.length)&&!jm(t)}var Lm=Mm,Mn={exports:{}};function Dm(){return!1}var Nm=Dm;Mn.exports;(function(t,e){var r=ir,n=Nm,o=e&&!e.nodeType&&e,i=o&&!0&&t&&!t.nodeType&&t,s=i&&i.exports===o,u=s?r.Buffer:void 0,l=u?u.isBuffer:void 0,d=l||n;t.exports=d})(Mn,Mn.exports);var Fm=Mn.exports,Vm=co,Bm=Yc,Um=zi,zm="[object Arguments]",Wm="[object Array]",qm="[object Boolean]",Gm="[object Date]",Hm="[object Error]",Ym="[object Function]",Qm="[object Map]",Jm="[object Number]",Km="[object Object]",Xm="[object RegExp]",Zm="[object Set]",ey="[object String]",ty="[object WeakMap]",ry="[object ArrayBuffer]",ny="[object DataView]",oy="[object Float32Array]",iy="[object Float64Array]",sy="[object Int8Array]",ay="[object Int16Array]",cy="[object Int32Array]",uy="[object Uint8Array]",ly="[object Uint8ClampedArray]",fy="[object Uint16Array]",dy="[object Uint32Array]",Ce={};Ce[oy]=Ce[iy]=Ce[sy]=Ce[ay]=Ce[cy]=Ce[uy]=Ce[ly]=Ce[fy]=Ce[dy]=!0;Ce[zm]=Ce[Wm]=Ce[ry]=Ce[qm]=Ce[ny]=Ce[Gm]=Ce[Hm]=Ce[Ym]=Ce[Qm]=Ce[Jm]=Ce[Km]=Ce[Xm]=Ce[Zm]=Ce[ey]=Ce[ty]=!1;function py(t){return Um(t)&&Bm(t.length)&&!!Ce[Vm(t)]}var hy=py;function gy(t){return function(e){return t(e)}}var my=gy,Ln={exports:{}};Ln.exports;(function(t,e){var r=Vc,n=e&&!e.nodeType&&e,o=n&&!0&&t&&!t.nodeType&&t,i=o&&o.exports===n,s=i&&r.process,u=function(){try{var l=o&&o.require&&o.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();t.exports=u})(Ln,Ln.exports);var yy=Ln.exports,vy=hy,by=my,Qs=yy,Js=Qs&&Qs.isTypedArray,wy=Js?by(Js):vy,_y=wy,Sy=qh,xy=ym,Ey=$m,Ty=Rm,Ay=Lm,Oy=Fm,$y=Fc,Cy=_y,Ry="[object Map]",Py="[object Set]",ky=Object.prototype,jy=ky.hasOwnProperty;function Iy(t){if(t==null)return!0;if(Ay(t)&&(Ty(t)||typeof t=="string"||typeof t.splice=="function"||Oy(t)||Cy(t)||Ey(t)))return!t.length;var e=xy(t);if(e==Ry||e==Py)return!t.size;if($y(t))return!Sy(t).length;for(var r in t)if(jy.call(t,r))return!1;return!0}var My=Iy;const Po=ia(My);var Qc={exports:{}};/*!
|
|
251
|
+
Copyright (c) 2018 Jed Watson.
|
|
252
|
+
Licensed under the MIT License (MIT), see
|
|
253
|
+
http://jedwatson.github.io/classnames
|
|
254
|
+
*/(function(t){(function(){var e={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var u=arguments[s];u&&(i=o(i,n(u)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var u in i)e.call(i,u)&&i[u]&&(s=o(s,u));return s}function o(i,s){return s?i?i+" "+s:i+s:i}t.exports?(r.default=r,t.exports=r):window.classNames=r})()})(Qc);var Ly=Qc.exports;const ai=ia(Ly);/*
|
|
255
|
+
* React Tooltip
|
|
256
|
+
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
257
|
+
* @copyright ReactTooltip Team
|
|
258
|
+
* @license MIT
|
|
259
|
+
*/const Dy="react-tooltip-core-styles",Ny="react-tooltip-base-styles",Ks={core:!1,base:!1};function Xs({css:t,id:e=Ny,type:r="base",ref:n}){var o,i;if(!t||typeof document>"u"||Ks[r]||r==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(e=Dy),n||(n={});const{insertAt:s}=n;if(document.getElementById(e))return;const u=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=e,l.type="text/css",s==="top"&&u.firstChild?u.insertBefore(l,u.firstChild):u.appendChild(l),l.styleSheet?l.styleSheet.cssText=t:l.appendChild(document.createTextNode(t)),Ks[r]=!0}const Zs=async({elementReference:t=null,tooltipReference:e=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[Dc(Number(o)),Nc({fallbackAxisSideDirection:"start"}),Ch({padding:5})],border:u})=>{if(!t)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(e===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const l=s;return r?(l.push(Rh({element:r,padding:5})),Ns(t,e,{placement:n,strategy:i,middleware:l}).then(({x:d,y:h,placement:y,middlewareData:S})=>{var b,T;const $={left:`${d}px`,top:`${h}px`,border:u},{x:j,y:A}=(b=S.arrow)!==null&&b!==void 0?b:{x:0,y:0},O=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&T!==void 0?T:"bottom",R=u&&{borderBottom:u,borderRight:u};let I=0;if(u){const M=`${u}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:$,tooltipArrowStyles:{left:j!=null?`${j}px`:"",top:A!=null?`${A}px`:"",right:"",bottom:"",...R,[O]:`-${4+I}px`},place:y}})):Ns(t,e,{placement:"bottom",strategy:i,middleware:l}).then(({x:d,y:h,placement:y})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},ea=(t,e)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(t,e),ta=(t,e,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(t.apply(this,i),n=setTimeout(s,e))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},ra=t=>t!==null&&!Array.isArray(t)&&typeof t=="object",ci=(t,e)=>{if(t===e)return!0;if(Array.isArray(t)&&Array.isArray(e))return t.length===e.length&&t.every((o,i)=>ci(o,e[i]));if(Array.isArray(t)!==Array.isArray(e))return!1;if(!ra(t)||!ra(e))return t===e;const r=Object.keys(t),n=Object.keys(e);return r.length===n.length&&r.every(o=>ci(t[o],e[o]))},Fy=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some(r=>{const n=e.getPropertyValue(r);return n==="auto"||n==="scroll"})},na=t=>{if(!t)return null;let e=t.parentElement;for(;e;){if(Fy(e))return e;e=e.parentElement}return document.scrollingElement||document.documentElement},Vy=typeof window<"u"?E.useLayoutEffect:E.useEffect,jt=t=>{t.current&&(clearTimeout(t.current),t.current=null)},By="DEFAULT_TOOLTIP_ID",Uy={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},zy=E.createContext({getTooltipData:()=>Uy});function Jc(t=By){return E.useContext(zy).getTooltipData(t)}var Sr={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},ko={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Wy=({forwardRef:t,id:e,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:u="top",offset:l=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:S,wrapper:b,delayShow:T=0,delayHide:$=0,float:j=!1,hidden:A=!1,noArrow:O=!1,clickable:R=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:me,globalCloseEvents:ye,imperativeModeOnly:fe,style:De,position:Ie,afterShow:ve,afterHide:Q,disableTooltip:Se,content:oe,contentWrapperRef:ie,isOpen:se,defaultIsOpen:te=!1,setIsOpen:q,activeAnchor:ae,setActiveAnchor:pe,border:G,opacity:it,arrowColor:Ze,role:ze="tooltip"})=>{var We;const ue=E.useRef(null),be=E.useRef(null),xe=E.useRef(null),Ve=E.useRef(null),Re=E.useRef(null),[lt,Ct]=E.useState({tooltipStyles:{},tooltipArrowStyles:{},place:u}),[Ee,ft]=E.useState(!1),[Ye,dt]=E.useState(!1),[le,pt]=E.useState(null),ht=E.useRef(!1),gt=E.useRef(null),{anchorRefs:Ot,setActiveAnchor:et}=Jc(e),st=E.useRef(!1),[mt,Qe]=E.useState([]),_t=E.useRef(!1),St=h||d.includes("click"),Rt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),qe=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(qe,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=me?{...me}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!me&&St&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const tt=ye?{...ye}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:Rt||!1};fe&&(Object.assign(qe,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Pt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(tt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Vy(()=>(_t.current=!0,()=>{_t.current=!1}),[]);const we=C=>{_t.current&&(C&&dt(!0),setTimeout(()=>{_t.current&&(q==null||q(C),se===void 0&&ft(C))},10))};E.useEffect(()=>{if(se===void 0)return()=>null;se&&dt(!0);const C=setTimeout(()=>{ft(se)},10);return()=>{clearTimeout(C)}},[se]),E.useEffect(()=>{if(Ee!==ht.current)if(jt(Re),ht.current=Ee,Ee)ve==null||ve();else{const C=(V=>{const U=V.match(/^([\d.]+)(ms|s)$/);if(!U)return 0;const[,Te,Me]=U;return Number(Te)*(Me==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Re.current=setTimeout(()=>{dt(!1),pt(null),Q==null||Q()},C+25)}},[Ee]);const Lt=C=>{Ct(V=>ci(V,C)?V:C)},Dt=(C=T)=>{jt(xe),Ye?we(!0):xe.current=setTimeout(()=>{we(!0)},C)},yt=(C=$)=>{jt(Ve),Ve.current=setTimeout(()=>{st.current||we(!1)},C)},vt=C=>{var V;if(!C)return;const U=(V=C.currentTarget)!==null&&V!==void 0?V:C.target;if(!(U!=null&&U.isConnected))return pe(null),void et({current:null});T?Dt():we(!0),pe(U),et({current:U}),jt(Ve)},Ge=()=>{R?yt($||100):$?yt():we(!1),jt(xe)},at=({x:C,y:V})=>{var U;const Te={getBoundingClientRect:()=>({x:C,y:V,width:0,height:0,top:V,left:C,right:C,bottom:V})};Zs({place:(U=le==null?void 0:le.place)!==null&&U!==void 0?U:u,offset:l,elementReference:Te,tooltipReference:ue.current,tooltipArrowReference:be.current,strategy:y,middlewares:S,border:G}).then(Me=>{Lt(Me)})},Be=C=>{if(!C)return;const V=C,U={x:V.clientX,y:V.clientY};at(U),gt.current=U},He=C=>{var V;if(!Ee)return;const U=C.target;U.isConnected&&(!((V=ue.current)===null||V===void 0)&&V.contains(U)||[document.querySelector(`[id='${i}']`),...mt].some(Te=>Te==null?void 0:Te.contains(U))||(we(!1),jt(xe)))},xt=ta(vt,50),_e=ta(Ge,50),Je=C=>{_e.cancel(),xt(C)},N=()=>{xt.cancel(),_e()},X=E.useCallback(()=>{var C,V;const U=(C=le==null?void 0:le.position)!==null&&C!==void 0?C:Ie;U?at(U):j?gt.current&&at(gt.current):ae!=null&&ae.isConnected&&Zs({place:(V=le==null?void 0:le.place)!==null&&V!==void 0?V:u,offset:l,elementReference:ae,tooltipReference:ue.current,tooltipArrowReference:be.current,strategy:y,middlewares:S,border:G}).then(Te=>{_t.current&&Lt(Te)})},[Ee,ae,oe,De,u,le==null?void 0:le.place,l,y,Ie,le==null?void 0:le.position,j]);E.useEffect(()=>{var C,V;const U=new Set(Ot);mt.forEach(B=>{Se!=null&&Se(B)||U.add({current:B})});const Te=document.querySelector(`[id='${i}']`);Te&&!(Se!=null&&Se(Te))&&U.add({current:Te});const Me=()=>{we(!1)},ct=na(ae),Ae=na(ue.current);tt.scroll&&(window.addEventListener("scroll",Me),ct==null||ct.addEventListener("scroll",Me),Ae==null||Ae.addEventListener("scroll",Me));let f=null;tt.resize?window.addEventListener("resize",Me):ae&&ue.current&&(f=$h(ae,ue.current,X,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const v=B=>{B.key==="Escape"&&we(!1)};tt.escape&&window.addEventListener("keydown",v),tt.clickOutsideAnchor&&window.addEventListener("click",He);const x=[],F=B=>{Ee&&(B==null?void 0:B.target)===ae||vt(B)},ne=B=>{Ee&&(B==null?void 0:B.target)===ae&&Ge()},ee=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],J=["click","dblclick","mousedown","mouseup"];Object.entries(qe).forEach(([B,ce])=>{ce&&(ee.includes(B)?x.push({event:B,listener:Je}):J.includes(B)&&x.push({event:B,listener:F}))}),Object.entries(Pt).forEach(([B,ce])=>{ce&&(ee.includes(B)?x.push({event:B,listener:N}):J.includes(B)&&x.push({event:B,listener:ne}))}),j&&x.push({event:"pointermove",listener:Be});const Y=()=>{st.current=!0},Le=()=>{st.current=!1,Ge()};return R&&!Rt&&((C=ue.current)===null||C===void 0||C.addEventListener("mouseenter",Y),(V=ue.current)===null||V===void 0||V.addEventListener("mouseleave",Le)),x.forEach(({event:B,listener:ce})=>{U.forEach(Oe=>{var Ke;(Ke=Oe.current)===null||Ke===void 0||Ke.addEventListener(B,ce)})}),()=>{var B,ce;tt.scroll&&(window.removeEventListener("scroll",Me),ct==null||ct.removeEventListener("scroll",Me),Ae==null||Ae.removeEventListener("scroll",Me)),tt.resize?window.removeEventListener("resize",Me):f==null||f(),tt.clickOutsideAnchor&&window.removeEventListener("click",He),tt.escape&&window.removeEventListener("keydown",v),R&&!Rt&&((B=ue.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(ce=ue.current)===null||ce===void 0||ce.removeEventListener("mouseleave",Le)),x.forEach(({event:Oe,listener:Ke})=>{U.forEach(Ht=>{var rt;(rt=Ht.current)===null||rt===void 0||rt.removeEventListener(Oe,Ke)})})}},[ae,X,Ye,Ot,mt,P,me,ye,St,T,$]),E.useEffect(()=>{var C,V;let U=(V=(C=le==null?void 0:le.anchorSelect)!==null&&C!==void 0?C:s)!==null&&V!==void 0?V:"";!U&&e&&(U=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`);const Te=new MutationObserver(Me=>{const ct=[],Ae=[];Me.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===e?ct.push(f.target):f.oldValue===e&&Ae.push(f.target)),f.type==="childList"){if(ae){const v=[...f.removedNodes].filter(x=>x.nodeType===1);if(U)try{Ae.push(...v.filter(x=>x.matches(U))),Ae.push(...v.flatMap(x=>[...x.querySelectorAll(U)]))}catch{}v.some(x=>{var F;return!!(!((F=x==null?void 0:x.contains)===null||F===void 0)&&F.call(x,ae))&&(dt(!1),we(!1),pe(null),jt(xe),jt(Ve),!0)})}if(U)try{const v=[...f.addedNodes].filter(x=>x.nodeType===1);ct.push(...v.filter(x=>x.matches(U))),ct.push(...v.flatMap(x=>[...x.querySelectorAll(U)]))}catch{}}}),(ct.length||Ae.length)&&Qe(f=>[...f.filter(v=>!Ae.includes(v)),...ct])});return Te.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Te.disconnect()}},[e,s,le==null?void 0:le.anchorSelect,ae]),E.useEffect(()=>{X()},[X]),E.useEffect(()=>{if(!(ie!=null&&ie.current))return()=>null;const C=new ResizeObserver(()=>{setTimeout(()=>X())});return C.observe(ie.current),()=>{C.disconnect()}},[oe,ie==null?void 0:ie.current]),E.useEffect(()=>{var C;const V=document.querySelector(`[id='${i}']`),U=[...mt,V];ae&&U.includes(ae)||pe((C=mt[0])!==null&&C!==void 0?C:V)},[i,mt,ae]),E.useEffect(()=>(te&&we(!0),()=>{jt(xe),jt(Ve)}),[]),E.useEffect(()=>{var C;let V=(C=le==null?void 0:le.anchorSelect)!==null&&C!==void 0?C:s;if(!V&&e&&(V=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),V)try{const U=Array.from(document.querySelectorAll(V));Qe(U)}catch{Qe([])}},[e,s,le==null?void 0:le.anchorSelect]),E.useEffect(()=>{xe.current&&(jt(xe),Dt(T))},[T]);const Pe=(We=le==null?void 0:le.content)!==null&&We!==void 0?We:oe,bt=Ee&&Object.keys(lt.tooltipStyles).length>0;return E.useImperativeHandle(t,()=>({open:C=>{if(C!=null&&C.anchorSelect)try{document.querySelector(C.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${C.anchorSelect}" is not a valid CSS selector`)}pt(C??null),C!=null&&C.delay?Dt(C.delay):we(!0)},close:C=>{C!=null&&C.delay?yt(C.delay):we(!1)},activeAnchor:ae,place:lt.place,isOpen:!!(Ye&&!A&&Pe&&bt)})),Ye&&!A&&Pe?E.createElement(b,{id:e,role:ze,className:ai("react-tooltip",Sr.tooltip,ko.tooltip,ko[o],r,`react-tooltip__place-${lt.place}`,Sr[bt?"show":"closing"],bt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Sr.fixed,R&&Sr.clickable),onTransitionEnd:C=>{jt(Re),Ee||C.propertyName!=="opacity"||(dt(!1),pt(null),Q==null||Q())},style:{...De,...lt.tooltipStyles,opacity:it!==void 0&&bt?it:void 0},ref:ue},Pe,E.createElement(b,{className:ai("react-tooltip-arrow",Sr.arrow,ko.arrow,n,O&&Sr.noArrow),style:{...lt.tooltipArrowStyles,background:Ze?`linear-gradient(to right bottom, transparent 50%, ${Ze} 50%)`:void 0},ref:be})):null},qy=({content:t})=>E.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),Gy=E.forwardRef(({id:t,anchorId:e,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:u,variant:l="dark",place:d="top",offset:h=10,wrapper:y="div",children:S=null,events:b=["hover"],openOnClick:T=!1,positionStrategy:$="absolute",middlewares:j,delayShow:A=0,delayHide:O=0,float:R=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:me=!1,closeOnResize:ye=!1,openEvents:fe,closeEvents:De,globalCloseEvents:Ie,imperativeModeOnly:ve=!1,style:Q,position:Se,isOpen:oe,defaultIsOpen:ie=!1,disableStyleInjection:se=!1,border:te,opacity:q,arrowColor:ae,setIsOpen:pe,afterShow:G,afterHide:it,disableTooltip:Ze,role:ze="tooltip"},We)=>{const[ue,be]=E.useState(n),[xe,Ve]=E.useState(o),[Re,lt]=E.useState(d),[Ct,Ee]=E.useState(l),[ft,Ye]=E.useState(h),[dt,le]=E.useState(A),[pt,ht]=E.useState(O),[gt,Ot]=E.useState(R),[et,st]=E.useState(I),[mt,Qe]=E.useState(y),[_t,St]=E.useState(b),[Rt,qe]=E.useState($),[Pt,tt]=E.useState(null),[we,Lt]=E.useState(null),Dt=E.useRef(se),{anchorRefs:yt,activeAnchor:vt}=Jc(t),Ge=_e=>_e==null?void 0:_e.getAttributeNames().reduce((Je,N)=>{var X;return N.startsWith("data-tooltip-")&&(Je[N.replace(/^data-tooltip-/,"")]=(X=_e==null?void 0:_e.getAttribute(N))!==null&&X!==void 0?X:null),Je},{}),at=_e=>{const Je={place:N=>{var X;lt((X=N)!==null&&X!==void 0?X:d)},content:N=>{be(N??n)},html:N=>{Ve(N??o)},variant:N=>{var X;Ee((X=N)!==null&&X!==void 0?X:l)},offset:N=>{Ye(N===null?h:Number(N))},wrapper:N=>{var X;Qe((X=N)!==null&&X!==void 0?X:y)},events:N=>{const X=N==null?void 0:N.split(" ");St(X??b)},"position-strategy":N=>{var X;qe((X=N)!==null&&X!==void 0?X:$)},"delay-show":N=>{le(N===null?A:Number(N))},"delay-hide":N=>{ht(N===null?O:Number(N))},float:N=>{Ot(N===null?R:N==="true")},hidden:N=>{st(N===null?I:N==="true")},"class-name":N=>{tt(N)}};Object.values(Je).forEach(N=>N(null)),Object.entries(_e).forEach(([N,X])=>{var Pe;(Pe=Je[N])===null||Pe===void 0||Pe.call(Je,X)})};E.useEffect(()=>{be(n)},[n]),E.useEffect(()=>{Ve(o)},[o]),E.useEffect(()=>{lt(d)},[d]),E.useEffect(()=>{Ee(l)},[l]),E.useEffect(()=>{Ye(h)},[h]),E.useEffect(()=>{le(A)},[A]),E.useEffect(()=>{ht(O)},[O]),E.useEffect(()=>{Ot(R)},[R]),E.useEffect(()=>{st(I)},[I]),E.useEffect(()=>{qe($)},[$]),E.useEffect(()=>{Dt.current!==se&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[se]),E.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:se==="core",disableBase:se}}))},[]),E.useEffect(()=>{var _e;const Je=new Set(yt);let N=r;if(!N&&t&&(N=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Je.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const X=document.querySelector(`[id='${e}']`);if(X&&Je.add({current:X}),!Je.size)return()=>null;const Pe=(_e=we??X)!==null&&_e!==void 0?_e:vt.current,bt=new MutationObserver(V=>{V.forEach(U=>{var Te;if(!Pe||U.type!=="attributes"||!(!((Te=U.attributeName)===null||Te===void 0)&&Te.startsWith("data-tooltip-")))return;const Me=Ge(Pe);at(Me)})}),C={attributes:!0,childList:!1,subtree:!1};if(Pe){const V=Ge(Pe);at(V),bt.observe(Pe,C)}return()=>{bt.disconnect()}},[yt,vt,we,e,r]),E.useEffect(()=>{Q!=null&&Q.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),te&&!ea("border",`${te}`)&&console.warn(`[react-tooltip] "${te}" is not a valid \`border\`.`),Q!=null&&Q.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!ea("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let Be=S;const He=E.useRef(null);if(i){const _e=i({content:(we==null?void 0:we.getAttribute("data-tooltip-content"))||ue||null,activeAnchor:we});Be=_e?E.createElement("div",{ref:He,className:"react-tooltip-content-wrapper"},_e):null}else ue&&(Be=ue);xe&&(Be=E.createElement(qy,{content:xe}));const xt={forwardRef:We,id:t,anchorId:e,anchorSelect:r,className:ai(s,Pt),classNameArrow:u,content:Be,contentWrapperRef:He,place:Re,variant:Ct,offset:ft,wrapper:mt,events:_t,openOnClick:T,positionStrategy:Rt,middlewares:j,delayShow:dt,delayHide:pt,float:gt,hidden:et,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:me,closeOnResize:ye,openEvents:fe,closeEvents:De,globalCloseEvents:Ie,imperativeModeOnly:ve,style:Q,position:Se,isOpen:oe,defaultIsOpen:ie,border:te,opacity:q,arrowColor:ae,setIsOpen:pe,afterShow:G,afterHide:it,disableTooltip:Ze,activeAnchor:we,setActiveAnchor:_e=>Lt(_e),role:ze};return E.createElement(Wy,{...xt})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",t=>{t.detail.disableCore||Xs({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),t.detail.disableBase||Xs({css:`
|
|
260
|
+
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const Hy=Bt(gi)``,Yy=Bt.div`
|
|
261
|
+
${({theme:t,$maxWidth:e="320px"})=>`
|
|
262
|
+
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
263
|
+
background-color: ${t.palette.gray[700]};
|
|
264
|
+
border-radius: 8px;
|
|
265
|
+
color: ${t.palette.white};
|
|
266
|
+
font-size: ${t.typography.text.xs};
|
|
267
|
+
max-width: ${e};
|
|
268
|
+
padding: ${t.spacing[.75]};
|
|
269
|
+
z-index: 999999;
|
|
270
|
+
--rt-opacity: 1;
|
|
271
|
+
}
|
|
272
|
+
`}
|
|
273
|
+
`,Qy=Bt(mi)`
|
|
274
|
+
${({theme:t,$color:e=t.palette.gray[800],$display:r="block",$fontFamily:n=t.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:u,$wordBreak:l="normal"})=>`
|
|
217
275
|
color: ${e};
|
|
218
276
|
display: ${r};
|
|
219
277
|
font-family: ${n};
|
|
220
|
-
font-size: ${t.typography.heading[
|
|
278
|
+
font-size: ${t.typography.heading[u]};
|
|
221
279
|
font-weight: ${t.typography.weight[o]};
|
|
222
|
-
letter-spacing: ${
|
|
223
|
-
line-height: ${
|
|
280
|
+
letter-spacing: ${i};
|
|
281
|
+
line-height: ${t.spacing[s]};
|
|
224
282
|
width: ${r==="block"?"100%":"auto"};
|
|
225
|
-
word-break: ${
|
|
283
|
+
word-break: ${l};
|
|
226
284
|
`}
|
|
227
|
-
`,
|
|
228
|
-
${({theme:t,$color:e=t.palette.gray[600],$display:r="block",$fontFamily:n=t.typography.type.primary,$fontWeight:o="regular",$letterSpacing:
|
|
285
|
+
`,Jy=Bt(mi)`
|
|
286
|
+
${({theme:t,$color:e=t.palette.gray[600],$display:r="block",$fontFamily:n=t.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:u,$wordBreak:l="normal"})=>`
|
|
229
287
|
color: ${e};
|
|
230
288
|
display: ${r};
|
|
231
289
|
font-family: ${n};
|
|
232
|
-
font-size: ${t.typography.
|
|
233
|
-
font-weight: ${o};
|
|
234
|
-
letter-spacing: ${
|
|
235
|
-
line-height: ${
|
|
290
|
+
font-size: ${t.typography.text[u]};
|
|
291
|
+
font-weight: ${t.typography.weight[o]};
|
|
292
|
+
letter-spacing: ${i};
|
|
293
|
+
line-height: ${t.spacing[s]};
|
|
236
294
|
width: ${r==="block"?"100%":"auto"};
|
|
237
|
-
word-break: ${
|
|
295
|
+
word-break: ${l};
|
|
238
296
|
`}
|
|
239
|
-
`,
|
|
240
|
-
//# sourceMappingURL=design.js.map
|
|
297
|
+
`,Ky=E.forwardRef(function({children:e,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:u,size:l,wordBreak:d,...h},y){return ot.jsx(Qy,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:u,$size:l,$wordBreak:d,ref:y,...h,children:e})}),ui=E.forwardRef(function({children:e,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:u,size:l,wordBreak:d,...h},y){return ot.jsx(Jy,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:u,$size:l,$wordBreak:d,ref:y,...h,children:e})}),Xy=E.forwardRef(function({children:e,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:u,id:l,maxWidth:d,nodeTip:h,place:y="bottom",tip:S="",title:b="",hide:T=S===""&&b===""&&h===void 0,...$},j){const[A,O]=E.useState(!1),R=E.useRef(null),I=E.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{O(!0)},100)},[]),M=E.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{O(!1)},100)},[]);return r?ot.jsx(E.StrictMode,{children:e}):ot.jsxs(Hy,{"data-tooltip-id":l,display:n,onMouseLeave:M,onMouseMove:I,ref:j,...$,children:[i?ot.jsx(Di,{children:ot.jsx(Oc,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:u,iconType:A?"fa-solid":"fa-light"})}):e,iu.createPortal(ot.jsx(Yy,{$maxWidth:d,children:ot.jsxs(Gy,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!A,id:l,middlewares:[kh({fallbackAxisSideDirection:"start"}),Ph({mainAxis:10})],noArrow:o==="float",place:y,children:[Po(b)?void 0:ot.jsx(ui,{color:ke.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:b}),Po(S)?void 0:ot.jsx(ui,{color:ke.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:S}),Po(h)?void 0:h]})}),document.getElementById("root")??document.body)]})});exports.BaseComponent=gi;exports.BaseSpanComponent=Ca;exports.BaseTextComponent=mi;exports.CloudImage=Ac;exports.Container=Di;exports.CustomThemeProvider=Pl;exports.Heading=Ky;exports.Icon=Oc;exports.Logo=Kp;exports.Text=ui;exports.Tooltip=Xy;exports.getStyledConfig=Jn;exports.hiddenProps=oa;exports.icons=Cl;exports.setBorder=Gn;exports.setDisplay=Hn;exports.setInteraction=Qn;exports.setMargin=Wn;exports.setPadding=zn;exports.setPosition=qn;exports.setText=Yn;exports.theme=ke;exports.uniqueIcons=Rl;exports.variantBuilder=su;
|