@fluidattacks/design 1.2.16 → 1.2.17

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 CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("react"),ul=require("react-dom"),ca=e=>({getVariant:(t,r)=>e(t)[r]}),la=["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(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Or(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function fl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var dl=/^((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)-.*))$/,pl=fl(function(e){return dl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ua(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re="-ms-",Yr="-moz-",he="-webkit-",fa="comm",Qn="rule",gi="decl",hl="@import",da="@keyframes",gl="@layer",pa=Math.abs,yi=String.fromCharCode,Fo=Object.assign;function yl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function ha(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function Cn(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Cr(e,t,r){return e.slice(t,r)}function qt(e){return e.length}function ga(e){return e.length}function Hr(e,t){return t.push(e),e}function ml(e,t){return e.map(t).join("")}function es(e,t){return e.filter(function(r){return!Kt(r,t)})}var Jn=1,Rr=1,ya=0,Dt=0,Ue=0,Lr="";function Kn(e,t,r,n,o,i,s,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Jn,column:Rr,length:s,return:"",siblings:c}}function er(e,t){return Fo(Kn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function $r(e){for(;e.root;)e=er(e.root,{children:[e]});Hr(e,e.siblings)}function vl(){return Ue}function bl(){return Ue=Dt>0?et(Lr,--Dt):0,Rr--,Ue===10&&(Rr=1,Jn--),Ue}function Vt(){return Ue=Dt<ya?et(Lr,Dt++):0,Rr++,Ue===10&&(Rr=1,Jn++),Ue}function pr(){return et(Lr,Dt)}function Rn(){return Dt}function Xn(e,t){return Cr(Lr,e,t)}function Vo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function wl(e){return Jn=Rr=1,ya=qt(Lr=e),Dt=0,[]}function _l(e){return Lr="",e}function Oo(e){return ha(Xn(Dt-1,Bo(e===91?e+2:e===40?e+1:e)))}function xl(e){for(;(Ue=pr())&&Ue<33;)Vt();return Vo(e)>2||Vo(Ue)>3?"":" "}function Sl(e,t){for(;--t&&Vt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Xn(e,Rn()+(t<6&&pr()==32&&Vt()==32))}function Bo(e){for(;Vt();)switch(Ue){case e:return Dt;case 34:case 39:e!==34&&e!==39&&Bo(Ue);break;case 40:e===41&&Bo(e);break;case 92:Vt();break}return Dt}function $l(e,t){for(;Vt()&&e+Ue!==57;)if(e+Ue===84&&pr()===47)break;return"/*"+Xn(t,Dt-1)+"*"+yi(e===47?e:Vt())}function El(e){for(;!Vo(pr());)Vt();return Xn(e,Dt)}function Tl(e){return _l(kn("",null,null,null,[""],e=wl(e),0,[0],e))}function kn(e,t,r,n,o,i,s,c,u){for(var d=0,h=0,m=s,w=0,v=0,T=0,x=1,O=1,A=1,C=0,k="",I=o,M=i,D=n,P=k;O;)switch(T=C,C=Vt()){case 40:if(T!=108&&et(P,m-1)==58){Cn(P+=ee(Oo(C),"&","&\f"),"&\f",pa(d?c[d-1]:0))!=-1&&(A=-1);break}case 34:case 39:case 91:P+=Oo(C);break;case 9:case 10:case 13:case 32:P+=xl(T);break;case 92:P+=Sl(Rn()-1,7);continue;case 47:switch(pr()){case 42:case 47:Hr(Al($l(Vt(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*x:c[d++]=qt(P)*A;case 125*x:case 59:case 0:switch(C){case 0:case 125:O=0;case 59+h:A==-1&&(P=ee(P,/\f/g,"")),v>0&&qt(P)-m&&Hr(v>32?rs(P+";",n,r,m-1,u):rs(ee(P," ","")+";",n,r,m-2,u),u);break;case 59:P+=";";default:if(Hr(D=ts(P,t,r,d,h,o,c,k,I=[],M=[],m,i),i),C===123)if(h===0)kn(P,t,D,D,I,i,m,c,M);else switch(w===99&&et(P,3)===110?100:w){case 100:case 108:case 109:case 115:kn(e,D,D,n&&Hr(ts(e,D,D,0,0,o,c,k,o,I=[],m,M),M),o,M,m,c,n?I:M);break;default:kn(P,D,D,D,[""],M,0,c,M)}}d=h=v=0,x=A=1,k=P="",m=s;break;case 58:m=1+qt(P),v=T;default:if(x<1){if(C==123)--x;else if(C==125&&x++==0&&bl()==125)continue}switch(P+=yi(C),C*x){case 38:A=h>0?1:(P+="\f",-1);break;case 44:c[d++]=(qt(P)-1)*A,A=1;break;case 64:pr()===45&&(P+=Oo(Vt())),w=pr(),h=m=qt(k=P+=El(Rn())),C++;break;case 45:T===45&&qt(P)==2&&(x=0)}}return i}function ts(e,t,r,n,o,i,s,c,u,d,h,m){for(var w=o-1,v=o===0?i:[""],T=ga(v),x=0,O=0,A=0;x<n;++x)for(var C=0,k=Cr(e,w+1,w=pa(O=s[x])),I=e;C<T;++C)(I=ha(O>0?v[C]+" "+k:ee(k,/&\f/g,v[C])))&&(u[A++]=I);return Kn(e,t,r,o===0?Qn:c,u,d,h,m)}function Al(e,t,r,n){return Kn(e,t,r,fa,yi(vl()),Cr(e,2,-2),0,n)}function rs(e,t,r,n,o){return Kn(e,t,r,gi,Cr(e,0,n),Cr(e,n+1,-1),n,o)}function ma(e,t,r){switch(yl(e,t)){case 5103:return he+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return he+e+e;case 4789:return Yr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return he+e+Yr+e+Re+e+e;case 5936:switch(et(e,t+11)){case 114:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return he+e+Re+e+e;case 6165:return he+e+Re+"flex-"+e+e;case 5187:return he+e+ee(e,/(\w+).+(:[^]+)/,he+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return he+e+Re+"flex-item-"+ee(e,/flex-|-self/g,"")+(Kt(e,/flex-|baseline/)?"":Re+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return he+e+Re+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return he+e+Re+ee(e,"shrink","negative")+e;case 5292:return he+e+Re+ee(e,"basis","preferred-size")+e;case 6060:return he+"box-"+ee(e,"-grow","")+he+e+Re+ee(e,"grow","positive")+e;case 4554:return he+ee(e,/([^-])(transform)/g,"$1"+he+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,he+"$1"),/(image-set)/,he+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,he+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,he+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+he+e+e;case 4200:if(!Kt(e,/flex-|baseline/))return Re+"grid-column-align"+Cr(e,t)+e;break;case 2592:case 3360:return Re+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Kt(n.props,/grid-\w+-end/)})?~Cn(e+(r=r[t].value),"span",0)?e:Re+ee(e,"-start","")+e+Re+"grid-row-span:"+(~Cn(r,"span",0)?Kt(r,/\d+/):+Kt(r,/\d+/)-+Kt(e,/\d+/))+";":Re+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Kt(n.props,/grid-\w+-start/)})?e:Re+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,he+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qt(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Yr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cn(e,"stretch",0)?ma(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,c,u,d){return Re+o+":"+i+d+(s?Re+o+"-span:"+(c?u:+u-+i)+d:"")+e});case 4949:if(et(e,t+6)===121)return ee(e,":",":"+he)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+he+(et(e,14)===45?"inline-":"")+"box$3$1"+he+"$2$3$1"+Re+"$2box$3")+e;case 100:return ee(e,":",":"+Re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function In(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ol(e,t,r,n){switch(e.type){case gl:if(e.children.length)break;case hl:case gi:return e.return=e.return||e.value;case fa:return"";case da:return e.return=e.value+"{"+In(e.children,n)+"}";case Qn:if(!qt(e.value=e.props.join(",")))return""}return qt(r=In(e.children,n))?e.return=e.value+"{"+r+"}":""}function Cl(e){var t=ga(e);return function(r,n,o,i){for(var s="",c=0;c<t;c++)s+=e[c](r,n,o,i)||"";return s}}function Rl(e){return function(t){t.root||(t=t.return)&&e(t)}}function kl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case gi:e.return=ma(e.value,e.length,r);return;case da:return In([er(e,{value:ee(e.value,"@","@"+he)})],n);case Qn:if(e.length)return ml(r=e.props,function(o){switch(Kt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":$r(er(e,{props:[ee(o,/:(read-\w+)/,":"+Yr+"$1")]})),$r(er(e,{props:[o]})),Fo(e,{props:es(r,n)});break;case"::placeholder":$r(er(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),$r(er(e,{props:[ee(o,/:(plac\w+)/,":"+Yr+"$1")]})),$r(er(e,{props:[ee(o,/:(plac\w+)/,Re+"input-$1")]})),$r(er(e,{props:[o]})),Fo(e,{props:es(r,n)});break}return""})}}var Pl={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},yr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",va="active",ba="data-styled-version",Zn="6.1.13",mi=`/*!sc*/
2
- `,Mn=typeof window<"u"&&"HTMLElement"in window,jl=!!(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"),ns=/invalid hook call/i,$n=new Set,Il=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react"),fl=require("react-dom"),sa=e=>({getVariant:(t,r)=>e(t)[r]}),aa=["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(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function Tr(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function dl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var pl=/^((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)-.*))$/,hl=dl(function(e){return pl.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re="-ms-",Hr="-moz-",he="-webkit-",la="comm",Yn="rule",pi="decl",gl="@import",ua="@keyframes",ml="@layer",fa=Math.abs,hi=String.fromCharCode,Do=Object.assign;function yl(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function da(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function Cn(e,t,r){return e.indexOf(t,r)}function et(e,t){return e.charCodeAt(t)|0}function Ar(e,t,r){return e.slice(t,r)}function Wt(e){return e.length}function pa(e){return e.length}function Gr(e,t){return t.push(e),e}function vl(e,t){return e.map(t).join("")}function Xi(e,t){return e.filter(function(r){return!Kt(r,t)})}var Qn=1,Or=1,ha=0,Lt=0,Ue=0,Mr="";function Jn(e,t,r,n,o,i,s,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Qn,column:Or,length:s,return:"",siblings:l}}function er(e,t){return Do(Jn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function xr(e){for(;e.root;)e=er(e.root,{children:[e]});Gr(e,e.siblings)}function bl(){return Ue}function wl(){return Ue=Lt>0?et(Mr,--Lt):0,Or--,Ue===10&&(Or=1,Qn--),Ue}function Ft(){return Ue=Lt<ha?et(Mr,Lt++):0,Or++,Ue===10&&(Or=1,Qn++),Ue}function dr(){return et(Mr,Lt)}function Rn(){return Lt}function Kn(e,t){return Ar(Mr,e,t)}function No(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _l(e){return Qn=Or=1,ha=Wt(Mr=e),Lt=0,[]}function xl(e){return Mr="",e}function Ao(e){return da(Kn(Lt-1,Fo(e===91?e+2:e===40?e+1:e)))}function Sl(e){for(;(Ue=dr())&&Ue<33;)Ft();return No(e)>2||No(Ue)>3?"":" "}function $l(e,t){for(;--t&&Ft()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Kn(e,Rn()+(t<6&&dr()==32&&Ft()==32))}function Fo(e){for(;Ft();)switch(Ue){case e:return Lt;case 34:case 39:e!==34&&e!==39&&Fo(Ue);break;case 40:e===41&&Fo(e);break;case 92:Ft();break}return Lt}function El(e,t){for(;Ft()&&e+Ue!==57;)if(e+Ue===84&&dr()===47)break;return"/*"+Kn(t,Lt-1)+"*"+hi(e===47?e:Ft())}function Tl(e){for(;!No(dr());)Ft();return Kn(e,Lt)}function Al(e){return xl(kn("",null,null,null,[""],e=_l(e),0,[0],e))}function kn(e,t,r,n,o,i,s,l,u){for(var d=0,h=0,y=s,_=0,v=0,T=0,O=1,R=1,E=1,A=0,k="",I=o,M=i,D=n,P=k;R;)switch(T=A,A=Ft()){case 40:if(T!=108&&et(P,y-1)==58){Cn(P+=ee(Ao(A),"&","&\f"),"&\f",fa(d?l[d-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:P+=Ao(A);break;case 9:case 10:case 13:case 32:P+=Sl(T);break;case 92:P+=$l(Rn()-1,7);continue;case 47:switch(dr()){case 42:case 47:Gr(Ol(El(Ft(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*O:l[d++]=Wt(P)*E;case 125*O:case 59:case 0:switch(A){case 0:case 125:R=0;case 59+h:E==-1&&(P=ee(P,/\f/g,"")),v>0&&Wt(P)-y&&Gr(v>32?es(P+";",n,r,y-1,u):es(ee(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Gr(D=Zi(P,t,r,d,h,o,l,k,I=[],M=[],y,i),i),A===123)if(h===0)kn(P,t,D,D,I,i,y,l,M);else switch(_===99&&et(P,3)===110?100:_){case 100:case 108:case 109:case 115:kn(e,D,D,n&&Gr(Zi(e,D,D,0,0,o,l,k,o,I=[],y,M),M),o,M,y,l,n?I:M);break;default:kn(P,D,D,D,[""],M,0,l,M)}}d=h=v=0,O=E=1,k=P="",y=s;break;case 58:y=1+Wt(P),v=T;default:if(O<1){if(A==123)--O;else if(A==125&&O++==0&&wl()==125)continue}switch(P+=hi(A),A*O){case 38:E=h>0?1:(P+="\f",-1);break;case 44:l[d++]=(Wt(P)-1)*E,E=1;break;case 64:dr()===45&&(P+=Ao(Ft())),_=dr(),h=y=Wt(k=P+=Tl(Rn())),A++;break;case 45:T===45&&Wt(P)==2&&(O=0)}}return i}function Zi(e,t,r,n,o,i,s,l,u,d,h,y){for(var _=o-1,v=o===0?i:[""],T=pa(v),O=0,R=0,E=0;O<n;++O)for(var A=0,k=Ar(e,_+1,_=fa(R=s[O])),I=e;A<T;++A)(I=da(R>0?v[A]+" "+k:ee(k,/&\f/g,v[A])))&&(u[E++]=I);return Jn(e,t,r,o===0?Yn:l,u,d,h,y)}function Ol(e,t,r,n){return Jn(e,t,r,la,hi(bl()),Ar(e,2,-2),0,n)}function es(e,t,r,n,o){return Jn(e,t,r,pi,Ar(e,0,n),Ar(e,n+1,-1),n,o)}function ga(e,t,r){switch(yl(e,t)){case 5103:return he+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return he+e+e;case 4789:return Hr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return he+e+Hr+e+Re+e+e;case 5936:switch(et(e,t+11)){case 114:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return he+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return he+e+Re+e+e;case 6165:return he+e+Re+"flex-"+e+e;case 5187:return he+e+ee(e,/(\w+).+(:[^]+)/,he+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return he+e+Re+"flex-item-"+ee(e,/flex-|-self/g,"")+(Kt(e,/flex-|baseline/)?"":Re+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return he+e+Re+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return he+e+Re+ee(e,"shrink","negative")+e;case 5292:return he+e+Re+ee(e,"basis","preferred-size")+e;case 6060:return he+"box-"+ee(e,"-grow","")+he+e+Re+ee(e,"grow","positive")+e;case 4554:return he+ee(e,/([^-])(transform)/g,"$1"+he+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,he+"$1"),/(image-set)/,he+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,he+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,he+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+he+e+e;case 4200:if(!Kt(e,/flex-|baseline/))return Re+"grid-column-align"+Ar(e,t)+e;break;case 2592:case 3360:return Re+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Kt(n.props,/grid-\w+-end/)})?~Cn(e+(r=r[t].value),"span",0)?e:Re+ee(e,"-start","")+e+Re+"grid-row-span:"+(~Cn(r,"span",0)?Kt(r,/\d+/):+Kt(r,/\d+/)-+Kt(e,/\d+/))+";":Re+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Kt(n.props,/grid-\w+-start/)})?e:Re+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,he+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Wt(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Hr+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cn(e,"stretch",0)?ga(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,l,u,d){return Re+o+":"+i+d+(s?Re+o+"-span:"+(l?u:+u-+i)+d:"")+e});case 4949:if(et(e,t+6)===121)return ee(e,":",":"+he)+e;break;case 6444:switch(et(e,et(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+he+(et(e,14)===45?"inline-":"")+"box$3$1"+he+"$2$3$1"+Re+"$2box$3")+e;case 100:return ee(e,":",":"+Re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function In(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Cl(e,t,r,n){switch(e.type){case ml:if(e.children.length)break;case gl:case pi:return e.return=e.return||e.value;case la:return"";case ua:return e.return=e.value+"{"+In(e.children,n)+"}";case Yn:if(!Wt(e.value=e.props.join(",")))return""}return Wt(r=In(e.children,n))?e.return=e.value+"{"+r+"}":""}function Rl(e){var t=pa(e);return function(r,n,o,i){for(var s="",l=0;l<t;l++)s+=e[l](r,n,o,i)||"";return s}}function kl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Pl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case pi:e.return=ga(e.value,e.length,r);return;case ua:return In([er(e,{value:ee(e.value,"@","@"+he)})],n);case Yn:if(e.length)return vl(r=e.props,function(o){switch(Kt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":xr(er(e,{props:[ee(o,/:(read-\w+)/,":"+Hr+"$1")]})),xr(er(e,{props:[o]})),Do(e,{props:Xi(r,n)});break;case"::placeholder":xr(er(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),xr(er(e,{props:[ee(o,/:(plac\w+)/,":"+Hr+"$1")]})),xr(er(e,{props:[ee(o,/:(plac\w+)/,Re+"input-$1")]})),xr(er(e,{props:[o]})),Do(e,{props:Xi(r,n)});break}return""})}}var jl={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},gr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ma="active",ya="data-styled-version",Xn="6.1.13",gi=`/*!sc*/
2
+ `,Mn=typeof window<"u"&&"HTMLElement"in window,Il=!!(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"),ts=/invalid hook call/i,$n=new Set,Ml=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
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 i=!0;console.error=function(s){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];ns.test(s)?(i=!1,$n.delete(n)):o.apply(void 0,Or([s],c,!1))},$.useRef(),i&&!$n.has(n)&&(console.warn(n),$n.add(n))}catch(s){ns.test(s.message)&&$n.delete(n)}finally{console.error=o}}},eo=Object.freeze([]),kr=Object.freeze({});function Ml(e,t,r){return r===void 0&&(r=kr),e.theme!==r.theme&&e.theme||t||r.theme}var zo=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"]),Ll=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Dl=/(^-|-$)/g;function os(e){return e.replace(Ll,"-").replace(Dl,"")}var Nl=/(a)(d)/gi,En=52,is=function(e){return String.fromCharCode(e+(e>25?39:97))};function Uo(e){var t,r="";for(t=Math.abs(e);t>En;t=t/En|0)r=is(t%En)+r;return(is(t%En)+r).replace(Nl,"$1-$2")}var Co,wa=5381,ur=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},_a=function(e){return ur(wa,e)};function Fl(e){return Uo(_a(e)>>>0)}function xa(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Ro(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Sa=typeof Symbol=="function"&&Symbol.for,$a=Sa?Symbol.for("react.memo"):60115,Vl=Sa?Symbol.for("react.forward_ref"):60112,Bl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zl={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ea={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ul=((Co={})[Vl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Co[$a]=Ea,Co);function ss(e){return("type"in(t=e)&&t.type.$$typeof)===$a?Ea:"$$typeof"in e?Ul[e.$$typeof]:Bl;var t}var Wl=Object.defineProperty,ql=Object.getOwnPropertyNames,as=Object.getOwnPropertySymbols,Gl=Object.getOwnPropertyDescriptor,Hl=Object.getPrototypeOf,cs=Object.prototype;function Ta(e,t,r){if(typeof t!="string"){if(cs){var n=Hl(t);n&&n!==cs&&Ta(e,n,r)}var o=ql(t);as&&(o=o.concat(as(t)));for(var i=ss(e),s=ss(t),c=0;c<o.length;++c){var u=o[c];if(!(u in zl||r&&r[u]||s&&u in s||i&&u in i)){var d=Gl(t,u);try{Wl(e,u,d)}catch{}}}}return e}function mr(e){return typeof e=="function"}function vi(e){return typeof e=="object"&&"styledComponentId"in e}function fr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ls(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function Pr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Wo(e,t,r){if(r===void 0&&(r=!1),!r&&!Pr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Wo(e[n],t[n]);else if(Pr(t))for(var n in t)e[n]=Wo(e[n],t[n]);return e}function bi(e,t){Object.defineProperty(e,"toString",{value:t})}var Yl=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
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 l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];ts.test(s)?(i=!1,$n.delete(n)):o.apply(void 0,Tr([s],l,!1))},S.useRef(),i&&!$n.has(n)&&(console.warn(n),$n.add(n))}catch(s){ts.test(s.message)&&$n.delete(n)}finally{console.error=o}}},Zn=Object.freeze([]),Cr=Object.freeze({});function Ll(e,t,r){return r===void 0&&(r=Cr),e.theme!==r.theme&&e.theme||t||r.theme}var Vo=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"]),Dl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Nl=/(^-|-$)/g;function rs(e){return e.replace(Dl,"-").replace(Nl,"")}var Fl=/(a)(d)/gi,En=52,ns=function(e){return String.fromCharCode(e+(e>25?39:97))};function Bo(e){var t,r="";for(t=Math.abs(e);t>En;t=t/En|0)r=ns(t%En)+r;return(ns(t%En)+r).replace(Fl,"$1-$2")}var Oo,va=5381,ur=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ba=function(e){return ur(va,e)};function Vl(e){return Bo(ba(e)>>>0)}function wa(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Co(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var _a=typeof Symbol=="function"&&Symbol.for,xa=_a?Symbol.for("react.memo"):60115,Bl=_a?Symbol.for("react.forward_ref"):60112,zl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ul={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Sa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Wl=((Oo={})[Bl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Oo[xa]=Sa,Oo);function os(e){return("type"in(t=e)&&t.type.$$typeof)===xa?Sa:"$$typeof"in e?Wl[e.$$typeof]:zl;var t}var ql=Object.defineProperty,Gl=Object.getOwnPropertyNames,is=Object.getOwnPropertySymbols,Hl=Object.getOwnPropertyDescriptor,Yl=Object.getPrototypeOf,ss=Object.prototype;function $a(e,t,r){if(typeof t!="string"){if(ss){var n=Yl(t);n&&n!==ss&&$a(e,n,r)}var o=Gl(t);is&&(o=o.concat(is(t)));for(var i=os(e),s=os(t),l=0;l<o.length;++l){var u=o[l];if(!(u in Ul||r&&r[u]||s&&u in s||i&&u in i)){var d=Hl(t,u);try{ql(e,u,d)}catch{}}}}return e}function mr(e){return typeof e=="function"}function mi(e){return typeof e=="object"&&"styledComponentId"in e}function fr(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function as(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function Rr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function zo(e,t,r){if(r===void 0&&(r=!1),!r&&!Rr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=zo(e[n],t[n]);else if(Rr(t))for(var n in t)e[n]=zo(e[n],t[n]);return e}function yi(e,t){Object.defineProperty(e,"toString",{value:t})}var Ql=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 Ql(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Xt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Ql.apply(void 0,Or([Yl[e]],t,!1)).trim())}var Jl=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Xt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(c,r[s])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(mi);return r},e}(),Kl=1<<30,Pn=new Map,Ln=new Map,jn=1,Tn=function(e){if(Pn.has(e))return Pn.get(e);for(;Ln.has(jn);)jn++;var t=jn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Kl))throw Xt(16,"".concat(t));return Pn.set(e,t),Ln.set(t,e),t},Xl=function(e,t){jn=t+1,Pn.set(e,t),Ln.set(t,e)},Zl="style[".concat(yr,"][").concat(ba,'="').concat(Zn,'"]'),eu=new RegExp("^".concat(yr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),tu=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},ru=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(mi),o=[],i=0,s=n.length;i<s;i++){var c=n[i].trim();if(c){var u=c.match(eu);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(Xl(h,d),tu(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},us=function(e){for(var t=document.querySelectorAll(Zl),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(yr)!==va&&(ru(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function nu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Aa=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(c){var u=Array.from(c.querySelectorAll("style[".concat(yr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(yr,va),n.setAttribute(ba,Zn);var s=nu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},ou=function(){function e(t){this.element=Aa(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Xt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),iu=function(){function e(t){this.element=Aa(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),su=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),fs=Mn,au={isServer:!Mn,useCSSOMInjection:!jl},Oa=function(){function e(t,r,n){t===void 0&&(t=kr),r===void 0&&(r={});var o=this;this.options=ut(ut({},au),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Mn&&fs&&(fs=!1,us(this)),bi(this,function(){return function(i){for(var s=i.getTag(),c=s.length,u="",d=function(m){var w=function(A){return Ln.get(A)}(m);if(w===void 0)return"continue";var v=i.names.get(w),T=s.getGroup(m);if(v===void 0||!v.size||T.length===0)return"continue";var x="".concat(yr,".g").concat(m,'[id="').concat(w,'"]'),O="";v!==void 0&&v.forEach(function(A){A.length>0&&(O+="".concat(A,","))}),u+="".concat(T).concat(x,'{content:"').concat(O,'"}').concat(mi)},h=0;h<c;h++)d(h);return u}(o)})}return e.registerId=function(t){return Tn(t)},e.prototype.rehydrate=function(){!this.server&&Mn&&us(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new su(o):n?new ou(o):new iu(o)}(this.options),new Jl(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Tn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Tn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Tn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),cu=/&/g,lu=/^\s*\/\/.*$/gm;function Ca(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ca(r.children,t)),r})}function uu(e){var t,r,n,o=kr,i=o.options,s=i===void 0?kr:i,c=o.plugins,u=c===void 0?eo:c,d=function(w,v,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):w},h=u.slice();h.push(function(w){w.type===Qn&&w.value.includes("&")&&(w.props[0]=w.props[0].replace(cu,r).replace(n,d))}),s.prefix&&h.push(kl),h.push(Ol);var m=function(w,v,T,x){v===void 0&&(v=""),T===void 0&&(T=""),x===void 0&&(x="&"),t=x,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var O=w.replace(lu,""),A=Tl(T||v?"".concat(T," ").concat(v," { ").concat(O," }"):O);s.namespace&&(A=Ca(A,s.namespace));var C=[];return In(A,Cl(h.concat(Rl(function(k){return C.push(k)})))),C};return m.hash=u.length?u.reduce(function(w,v){return v.name||Xt(15),ur(w,v.name)},wa).toString():"",m}var fu=new Oa,qo=uu(),Ra=$.createContext({shouldForwardProp:void 0,styleSheet:fu,stylis:qo});Ra.Consumer;$.createContext(void 0);function ds(){return $.useContext(Ra)}var ps=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=qo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,bi(this,function(){throw Xt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=qo),this.name+t.hash},e}(),du=function(e){return e>="A"&&e<="Z"};function hs(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;du(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var ka=function(e){return e==null||e===!1||e===""},Pa=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!ka(i)&&(Array.isArray(i)&&i.isCss||mr(i)?n.push("".concat(hs(o),":"),i,";"):Pr(i)?n.push.apply(n,Or(Or(["".concat(o," {")],Pa(i),!1),["}"],!1)):n.push("".concat(hs(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Pl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function hr(e,t,r,n){if(ka(e))return[];if(vi(e))return[".".concat(e.styledComponentId)];if(mr(e)){if(!mr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof ps||Pr(o)||o===null||console.error("".concat(xa(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),hr(o,t,r,n)}var i;return e instanceof ps?r?(e.inject(r,n),[e.getName(n)]):[e]:Pr(e)?Pa(e):Array.isArray(e)?Array.prototype.concat.apply(eo,e.map(function(s){return hr(s,t,r,n)})):[e.toString()]}function pu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(mr(r)&&!vi(r))return!1}return!0}var hu=_a(Zn),gu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&pu(t),this.componentId=r,this.baseHash=ur(hu,r),this.baseStyle=n,Oa.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=fr(o,this.staticRulesId);else{var i=ls(hr(this.rules,t,r,n)),s=Uo(ur(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var c=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,c)}o=fr(o,s),this.staticRulesId=s}else{for(var u=ur(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")d+=m,process.env.NODE_ENV!=="production"&&(u=ur(u,m));else if(m){var w=ls(hr(m,t,r,n));u=ur(u,w+h),d+=w}}if(d){var v=Uo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=fr(o,v)}}return o},e}(),Dn=$.createContext(void 0);Dn.Consumer;function yu(e){var t=$.useContext(Dn),r=$.useMemo(function(){return function(n,o){if(!n)throw Xt(14);if(mr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Xt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Xt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?$.createElement(Dn.Provider,{value:r},e.children):null}var ko={},gs=new Set;function mu(e,t,r){var n=vi(e),o=e,i=!Ro(e),s=t.attrs,c=s===void 0?eo:s,u=t.componentId,d=u===void 0?function(I,M){var D=typeof I!="string"?"sc":os(I);ko[D]=(ko[D]||0)+1;var P="".concat(D,"-").concat(Fl(Zn+D+ko[D]));return M?"".concat(M,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,m=h===void 0?function(I){return Ro(I)?"styled.".concat(I):"Styled(".concat(xa(I),")")}(e):h,w=t.displayName&&t.componentId?"".concat(os(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,T=t.shouldForwardProp;if(n&&o.shouldForwardProp){var x=o.shouldForwardProp;if(t.shouldForwardProp){var O=t.shouldForwardProp;T=function(I,M){return x(I,M)&&O(I,M)}}else T=x}var A=new gu(r,w,n?o.componentStyle:void 0);function C(I,M){return function(D,P,ve){var be=D.attrs,pe=D.componentStyle,Ne=D.defaultProps,Me=D.foldedComponentIds,we=D.styledComponentId,J=D.target,$e=$.useContext(Dn),se=ds(),ae=D.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&$.useDebugValue(we);var ce=Ml(P,$e,Ne)||kr,re=function(tt,We,qe){for(var fe,_e=ut(ut({},We),{className:void 0,theme:qe}),Ee=0;Ee<tt.length;Ee+=1){var Be=mr(fe=tt[Ee])?fe(_e):fe;for(var Pe in Be)_e[Pe]=Pe==="className"?fr(_e[Pe],Be[Pe]):Pe==="style"?ut(ut({},_e[Pe]),Be[Pe]):Be[Pe]}return We.className&&(_e.className=fr(_e.className,We.className)),_e}(be,P,ce),G=re.as||J,le={};for(var ge in re)re[ge]===void 0||ge[0]==="$"||ge==="as"||ge==="theme"&&re.theme===ce||(ge==="forwardedAs"?le.as=re.forwardedAs:ae&&!ae(ge,G)||(le[ge]=re[ge],ae||process.env.NODE_ENV!=="development"||pl(ge)||gs.has(ge)||!zo.has(G)||(gs.add(ge),console.warn('styled-components: it looks like an unknown prop "'.concat(ge,'" 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 H=function(tt,We){var qe=ds(),fe=tt.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&$.useDebugValue(fe),fe}(pe,re);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(H);var st=fr(Me,we);return H&&(st+=" "+H),re.className&&(st+=" "+re.className),le[Ro(G)&&!zo.has(G)?"class":"className"]=st,le.ref=ve,$.createElement(G,le)}(k,I,M)}C.displayName=m;var k=$.forwardRef(C);return k.attrs=v,k.componentStyle=A,k.displayName=m,k.shouldForwardProp=T,k.foldedComponentIds=n?fr(o.foldedComponentIds,o.styledComponentId):"",k.styledComponentId=w,k.target=n?o.target:e,Object.defineProperty(k,"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 ve=0,be=D;ve<be.length;ve++)Wo(M,be[ve],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Il(m,w),k.warnTooManyClasses=function(I,M){var D={},P=!1;return function(ve){if(!P&&(D[ve]=!0,Object.keys(D).length>=200)){var be=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(be,`.
45
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Jl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Xt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Jl.apply(void 0,Tr([Ql[e]],t,!1)).trim())}var Kl=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Xt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(l,r[s])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(gi);return r},e}(),Xl=1<<30,Pn=new Map,Ln=new Map,jn=1,Tn=function(e){if(Pn.has(e))return Pn.get(e);for(;Ln.has(jn);)jn++;var t=jn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Xl))throw Xt(16,"".concat(t));return Pn.set(e,t),Ln.set(t,e),t},Zl=function(e,t){jn=t+1,Pn.set(e,t),Ln.set(t,e)},eu="style[".concat(gr,"][").concat(ya,'="').concat(Xn,'"]'),tu=new RegExp("^".concat(gr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ru=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},nu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(gi),o=[],i=0,s=n.length;i<s;i++){var l=n[i].trim();if(l){var u=l.match(tu);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(Zl(h,d),ru(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(l)}}},cs=function(e){for(var t=document.querySelectorAll(eu),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(gr)!==ma&&(nu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function ou(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ea=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(l){var u=Array.from(l.querySelectorAll("style[".concat(gr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(gr,ma),n.setAttribute(ya,Xn);var s=ou();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},iu=function(){function e(t){this.element=Ea(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Xt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),su=function(){function e(t){this.element=Ea(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),au=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ls=Mn,cu={isServer:!Mn,useCSSOMInjection:!Il},Ta=function(){function e(t,r,n){t===void 0&&(t=Cr),r===void 0&&(r={});var o=this;this.options=ut(ut({},cu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Mn&&ls&&(ls=!1,cs(this)),yi(this,function(){return function(i){for(var s=i.getTag(),l=s.length,u="",d=function(y){var _=function(E){return Ln.get(E)}(y);if(_===void 0)return"continue";var v=i.names.get(_),T=s.getGroup(y);if(v===void 0||!v.size||T.length===0)return"continue";var O="".concat(gr,".g").concat(y,'[id="').concat(_,'"]'),R="";v!==void 0&&v.forEach(function(E){E.length>0&&(R+="".concat(E,","))}),u+="".concat(T).concat(O,'{content:"').concat(R,'"}').concat(gi)},h=0;h<l;h++)d(h);return u}(o)})}return e.registerId=function(t){return Tn(t)},e.prototype.rehydrate=function(){!this.server&&Mn&&cs(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new au(o):n?new iu(o):new su(o)}(this.options),new Kl(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Tn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Tn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Tn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),lu=/&/g,uu=/^\s*\/\/.*$/gm;function Aa(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Aa(r.children,t)),r})}function fu(e){var t,r,n,o=Cr,i=o.options,s=i===void 0?Cr:i,l=o.plugins,u=l===void 0?Zn:l,d=function(_,v,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===Yn&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(lu,r).replace(n,d))}),s.prefix&&h.push(Pl),h.push(Cl);var y=function(_,v,T,O){v===void 0&&(v=""),T===void 0&&(T=""),O===void 0&&(O="&"),t=O,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var R=_.replace(uu,""),E=Al(T||v?"".concat(T," ").concat(v," { ").concat(R," }"):R);s.namespace&&(E=Aa(E,s.namespace));var A=[];return In(E,Rl(h.concat(kl(function(k){return A.push(k)})))),A};return y.hash=u.length?u.reduce(function(_,v){return v.name||Xt(15),ur(_,v.name)},va).toString():"",y}var du=new Ta,Uo=fu(),Oa=S.createContext({shouldForwardProp:void 0,styleSheet:du,stylis:Uo});Oa.Consumer;S.createContext(void 0);function us(){return S.useContext(Oa)}var fs=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Uo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,yi(this,function(){throw Xt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Uo),this.name+t.hash},e}(),pu=function(e){return e>="A"&&e<="Z"};function ds(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;pu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ca=function(e){return e==null||e===!1||e===""},Ra=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Ca(i)&&(Array.isArray(i)&&i.isCss||mr(i)?n.push("".concat(ds(o),":"),i,";"):Rr(i)?n.push.apply(n,Tr(Tr(["".concat(o," {")],Ra(i),!1),["}"],!1)):n.push("".concat(ds(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in jl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function pr(e,t,r,n){if(Ca(e))return[];if(mi(e))return[".".concat(e.styledComponentId)];if(mr(e)){if(!mr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof fs||Rr(o)||o===null||console.error("".concat(wa(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),pr(o,t,r,n)}var i;return e instanceof fs?r?(e.inject(r,n),[e.getName(n)]):[e]:Rr(e)?Ra(e):Array.isArray(e)?Array.prototype.concat.apply(Zn,e.map(function(s){return pr(s,t,r,n)})):[e.toString()]}function hu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(mr(r)&&!mi(r))return!1}return!0}var gu=ba(Xn),mu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&hu(t),this.componentId=r,this.baseHash=ur(gu,r),this.baseStyle=n,Ta.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=fr(o,this.staticRulesId);else{var i=as(pr(this.rules,t,r,n)),s=Bo(ur(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var l=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,l)}o=fr(o,s),this.staticRulesId=s}else{for(var u=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"&&(u=ur(u,y));else if(y){var _=as(pr(y,t,r,n));u=ur(u,_+h),d+=_}}if(d){var v=Bo(u>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(d,".".concat(v),void 0,this.componentId)),o=fr(o,v)}}return o},e}(),Dn=S.createContext(void 0);Dn.Consumer;function yu(e){var t=S.useContext(Dn),r=S.useMemo(function(){return function(n,o){if(!n)throw Xt(14);if(mr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Xt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Xt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?S.createElement(Dn.Provider,{value:r},e.children):null}var Ro={},ps=new Set;function vu(e,t,r){var n=mi(e),o=e,i=!Co(e),s=t.attrs,l=s===void 0?Zn:s,u=t.componentId,d=u===void 0?function(I,M){var D=typeof I!="string"?"sc":rs(I);Ro[D]=(Ro[D]||0)+1;var P="".concat(D,"-").concat(Vl(Xn+D+Ro[D]));return M?"".concat(M,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,y=h===void 0?function(I){return Co(I)?"styled.".concat(I):"Styled(".concat(wa(I),")")}(e):h,_=t.displayName&&t.componentId?"".concat(rs(t.displayName),"-").concat(t.componentId):t.componentId||d,v=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,T=t.shouldForwardProp;if(n&&o.shouldForwardProp){var O=o.shouldForwardProp;if(t.shouldForwardProp){var R=t.shouldForwardProp;T=function(I,M){return O(I,M)&&R(I,M)}}else T=O}var E=new mu(r,_,n?o.componentStyle:void 0);function A(I,M){return function(D,P,ve){var be=D.attrs,pe=D.componentStyle,Ne=D.defaultProps,Me=D.foldedComponentIds,we=D.styledComponentId,Q=D.target,$e=S.useContext(Dn),ie=us(),se=D.shouldForwardProp||ie.shouldForwardProp;process.env.NODE_ENV!=="production"&&S.useDebugValue(we);var ae=Ll(P,$e,Ne)||Cr,re=function(tt,We,qe){for(var ue,_e=ut(ut({},We),{className:void 0,theme:qe}),Ee=0;Ee<tt.length;Ee+=1){var Be=mr(ue=tt[Ee])?ue(_e):ue;for(var Pe in Be)_e[Pe]=Pe==="className"?fr(_e[Pe],Be[Pe]):Pe==="style"?ut(ut({},_e[Pe]),Be[Pe]):Be[Pe]}return We.className&&(_e.className=fr(_e.className,We.className)),_e}(be,P,ae),q=re.as||Q,ce={};for(var ge in re)re[ge]===void 0||ge[0]==="$"||ge==="as"||ge==="theme"&&re.theme===ae||(ge==="forwardedAs"?ce.as=re.forwardedAs:se&&!se(ge,q)||(ce[ge]=re[ge],se||process.env.NODE_ENV!=="development"||hl(ge)||ps.has(ge)||!Vo.has(q)||(ps.add(ge),console.warn('styled-components: it looks like an unknown prop "'.concat(ge,'" 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(tt,We){var qe=us(),ue=tt.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&S.useDebugValue(ue),ue}(pe,re);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var st=fr(Me,we);return G&&(st+=" "+G),re.className&&(st+=" "+re.className),ce[Co(q)&&!Vo.has(q)?"class":"className"]=st,ce.ref=ve,S.createElement(q,ce)}(k,I,M)}A.displayName=y;var k=S.forwardRef(A);return k.attrs=v,k.componentStyle=E,k.displayName=y,k.shouldForwardProp=T,k.foldedComponentIds=n?fr(o.foldedComponentIds,o.styledComponentId):"",k.styledComponentId=_,k.target=n?o.target:e,Object.defineProperty(k,"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 ve=0,be=D;ve<be.length;ve++)zo(M,be[ve],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Ml(y,_),k.warnTooManyClasses=function(I,M){var D={},P=!1;return function(ve){if(!P&&(D[ve]=!0,Object.keys(D).length>=200)){var be=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(be,`.
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 />`),P=!0,D={}}}}(m,w)),bi(k,function(){return".".concat(k.styledComponentId)}),i&&Ta(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function ys(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var ms=function(e){return Object.assign(e,{isCss:!0})};function vu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(mr(e)||Pr(e))return ms(hr(ys(eo,Or([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?hr(n):ms(hr(ys(n,t)))}function Go(e,t,r){if(r===void 0&&(r=kr),!t)throw Xt(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,vu.apply(void 0,Or([o],i,!1)))};return n.attrs=function(o){return Go(e,t,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Go(e,t,ut(ut({},r),o))},n}var ja=function(e){return Go(mu,e)},Qe=ja;zo.forEach(function(e){Qe[e]=ja(e)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
54
+ <Component />`),P=!0,D={}}}}(y,_)),yi(k,function(){return".".concat(k.styledComponentId)}),i&&$a(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function hs(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var gs=function(e){return Object.assign(e,{isCss:!0})};function bu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(mr(e)||Rr(e))return gs(pr(hs(Zn,Tr([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?pr(n):gs(pr(hs(n,t)))}function Wo(e,t,r){if(r===void 0&&(r=Cr),!t)throw Xt(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,bu.apply(void 0,Tr([o],i,!1)))};return n.attrs=function(o){return Wo(e,t,ut(ut({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Wo(e,t,ut(ut({},r),o))},n}var ka=function(e){return Wo(vu,e)},Qe=ka;Vo.forEach(function(e){Qe[e]=ka(e)});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 An="__sc-".concat(yr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[An]||(window[An]=0),window[An]===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.
56
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);var An="__sc-".concat(gr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[An]||(window[An]=0),window[An]===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[An]+=1);var Ho={exports:{}},Wr={};/**
58
+ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var qo={exports:{}},Ur={};/**
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[An]+=1);var Ho={exports:{}},W
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 vs;function bu(){if(vs)return Wr;vs=1;var e=$,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(c,u,d){var h,m={},w=null,v=null;d!==void 0&&(w=""+d),u.key!==void 0&&(w=""+u.key),u.ref!==void 0&&(v=u.ref);for(h in u)n.call(u,h)&&!i.hasOwnProperty(h)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:w,ref:v,props:m,_owner:o.current}}return Wr.Fragment=r,Wr.jsx=s,Wr.jsxs=s,Wr}var qr={};/**
66
+ */var ms;function wu(){if(ms)return Ur;ms=1;var e=S,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(l,u,d){var h,y={},_=null,v=null;d!==void 0&&(_=""+d),u.key!==void 0&&(_=""+u.key),u.ref!==void 0&&(v=u.ref);for(h in u)n.call(u,h)&&!i.hasOwnProperty(h)&&(y[h]=u[h]);if(l&&l.defaultProps)for(h in u=l.defaultProps,u)y[h]===void 0&&(y[h]=u[h]);return{$$typeof:t,type:l,key:_,ref:v,props:y,_owner:o.current}}return Ur.Fragment=r,Ur.jsx=s,Ur.jsxs=s,Ur}var Wr={};/**
67
67
  * @license React
68
68
  * react-jsx-runtime.development.js
69
69
  *
@@ -71,67 +71,67 @@ See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var Ho={exports:{}},W
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 bs;function wu(){return bs||(bs=1,process.env.NODE_ENV!=="production"&&function(){var e=$,t=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"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),T=Symbol.iterator,x="@@iterator";function O(f){if(f===null||typeof f!="object")return null;var b=T&&f[T]||f[x];return typeof b=="function"?b:null}var A=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(f){{for(var b=arguments.length,E=new Array(b>1?b-1:0),F=1;F<b;F++)E[F-1]=arguments[F];k("error",f,E)}}function k(f,b,E){{var F=A.ReactDebugCurrentFrame,ie=F.getStackAddendum();ie!==""&&(b+="%s",E=E.concat([ie]));var te=E.map(function(K){return String(K)});te.unshift("Warning: "+b),Function.prototype.apply.call(console[f],console,te)}}var I=!1,M=!1,D=!1,P=!1,ve=!1,be;be=Symbol.for("react.module.reference");function pe(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||ve||f===o||f===d||f===h||P||f===v||I||M||D||typeof f=="object"&&f!==null&&(f.$$typeof===w||f.$$typeof===m||f.$$typeof===s||f.$$typeof===c||f.$$typeof===u||f.$$typeof===be||f.getModuleId!==void 0))}function Ne(f,b,E){var F=f.displayName;if(F)return F;var ie=b.displayName||b.name||"";return ie!==""?E+"("+ie+")":E}function Me(f){return f.displayName||"Context"}function we(f){if(f==null)return null;if(typeof f.tag=="number"&&C("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 c:var b=f;return Me(b)+".Consumer";case s:var E=f;return Me(E._context)+".Provider";case u:return Ne(f,f.render,"ForwardRef");case m:var F=f.displayName||null;return F!==null?F:we(f.type)||"Memo";case w:{var ie=f,te=ie._payload,K=ie._init;try{return we(K(te))}catch{return null}}}return null}var J=Object.assign,$e=0,se,ae,ce,re,G,le,ge;function H(){}H.__reactDisabledLog=!0;function st(){{if($e===0){se=console.log,ae=console.info,ce=console.warn,re=console.error,G=console.group,le=console.groupCollapsed,ge=console.groupEnd;var f={configurable:!0,enumerable:!0,value:H,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}$e++}}function tt(){{if($e--,$e===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},f,{value:se}),info:J({},f,{value:ae}),warn:J({},f,{value:ce}),error:J({},f,{value:re}),group:J({},f,{value:G}),groupCollapsed:J({},f,{value:le}),groupEnd:J({},f,{value:ge})})}$e<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var We=A.ReactCurrentDispatcher,qe;function fe(f,b,E){{if(qe===void 0)try{throw Error()}catch(ie){var F=ie.stack.trim().match(/\n( *(at )?)/);qe=F&&F[1]||""}return`
75
- `+qe+f}}var _e=!1,Ee;{var Be=typeof WeakMap=="function"?WeakMap:Map;Ee=new Be}function Pe(f,b){if(!f||_e)return"";{var E=Ee.get(f);if(E!==void 0)return E}var F;_e=!0;var ie=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=We.current,We.current=null,st();try{if(b){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(ot){F=ot}Reflect.construct(f,[],K)}else{try{K.call()}catch(ot){F=ot}f.call(K.prototype)}}else{try{throw Error()}catch(ot){F=ot}f()}}catch(ot){if(ot&&F&&typeof ot.stack=="string"){for(var Q=ot.stack.split(`
74
+ */var ys;function _u(){return ys||(ys=1,process.env.NODE_ENV!=="production"&&function(){var e=S,t=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"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),T=Symbol.iterator,O="@@iterator";function R(f){if(f===null||typeof f!="object")return null;var b=T&&f[T]||f[O];return typeof b=="function"?b:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(f){{for(var b=arguments.length,$=new Array(b>1?b-1:0),F=1;F<b;F++)$[F-1]=arguments[F];k("error",f,$)}}function k(f,b,$){{var F=E.ReactDebugCurrentFrame,oe=F.getStackAddendum();oe!==""&&(b+="%s",$=$.concat([oe]));var te=$.map(function(J){return String(J)});te.unshift("Warning: "+b),Function.prototype.apply.call(console[f],console,te)}}var I=!1,M=!1,D=!1,P=!1,ve=!1,be;be=Symbol.for("react.module.reference");function pe(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||ve||f===o||f===d||f===h||P||f===v||I||M||D||typeof f=="object"&&f!==null&&(f.$$typeof===_||f.$$typeof===y||f.$$typeof===s||f.$$typeof===l||f.$$typeof===u||f.$$typeof===be||f.getModuleId!==void 0))}function Ne(f,b,$){var F=f.displayName;if(F)return F;var oe=b.displayName||b.name||"";return oe!==""?$+"("+oe+")":$}function Me(f){return f.displayName||"Context"}function we(f){if(f==null)return null;if(typeof f.tag=="number"&&A("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 l:var b=f;return Me(b)+".Consumer";case s:var $=f;return Me($._context)+".Provider";case u:return Ne(f,f.render,"ForwardRef");case y:var F=f.displayName||null;return F!==null?F:we(f.type)||"Memo";case _:{var oe=f,te=oe._payload,J=oe._init;try{return we(J(te))}catch{return null}}}return null}var Q=Object.assign,$e=0,ie,se,ae,re,q,ce,ge;function G(){}G.__reactDisabledLog=!0;function st(){{if($e===0){ie=console.log,se=console.info,ae=console.warn,re=console.error,q=console.group,ce=console.groupCollapsed,ge=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})}$e++}}function tt(){{if($e--,$e===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},f,{value:ie}),info:Q({},f,{value:se}),warn:Q({},f,{value:ae}),error:Q({},f,{value:re}),group:Q({},f,{value:q}),groupCollapsed:Q({},f,{value:ce}),groupEnd:Q({},f,{value:ge})})}$e<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var We=E.ReactCurrentDispatcher,qe;function ue(f,b,$){{if(qe===void 0)try{throw Error()}catch(oe){var F=oe.stack.trim().match(/\n( *(at )?)/);qe=F&&F[1]||""}return`
75
+ `+qe+f}}var _e=!1,Ee;{var Be=typeof WeakMap=="function"?WeakMap:Map;Ee=new Be}function Pe(f,b){if(!f||_e)return"";{var $=Ee.get(f);if($!==void 0)return $}var F;_e=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=We.current,We.current=null,st();try{if(b){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(ot){F=ot}Reflect.construct(f,[],J)}else{try{J.call()}catch(ot){F=ot}f.call(J.prototype)}}else{try{throw Error()}catch(ot){F=ot}f()}}catch(ot){if(ot&&F&&typeof ot.stack=="string"){for(var Y=ot.stack.split(`
76
76
  `),De=F.stack.split(`
77
- `),B=Q.length-1,ue=De.length-1;B>=1&&ue>=0&&Q[B]!==De[ue];)ue--;for(;B>=1&&ue>=0;B--,ue--)if(Q[B]!==De[ue]){if(B!==1||ue!==1)do if(B--,ue--,ue<0||Q[B]!==De[ue]){var Ce=`
78
- `+Q[B].replace(" at new "," at ");return f.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",f.displayName)),typeof f=="function"&&Ee.set(f,Ce),Ce}while(B>=1&&ue>=0);break}}}finally{_e=!1,We.current=te,tt(),Error.prepareStackTrace=ie}var Ze=f?f.displayName||f.name:"",Yt=Ze?fe(Ze):"";return typeof f=="function"&&Ee.set(f,Yt),Yt}function ft(f,b,E){return Pe(f,!1)}function kt(f){var b=f.prototype;return!!(b&&b.isReactComponent)}function Te(f,b,E){if(f==null)return"";if(typeof f=="function")return Pe(f,kt(f));if(typeof f=="string")return fe(f);switch(f){case d:return fe("Suspense");case h:return fe("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case u:return ft(f.render);case m:return Te(f.type,b,E);case w:{var F=f,ie=F._payload,te=F._init;try{return Te(te(ie),b,E)}catch{}}}return""}var dt=Object.prototype.hasOwnProperty,Je={},pt=A.ReactDebugCurrentFrame;function de(f){if(f){var b=f._owner,E=Te(f.type,f._source,b?b.type:null);pt.setExtraStackFrame(E)}else pt.setExtraStackFrame(null)}function ht(f,b,E,F,ie){{var te=Function.call.bind(dt);for(var K in f)if(te(f,K)){var Q=void 0;try{if(typeof f[K]!="function"){var De=Error((F||"React class")+": "+E+" type `"+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[K]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}Q=f[K](b,K,F,E,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){Q=B}Q&&!(Q instanceof Error)&&(de(ie),C("%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",E,K,typeof Q),de(null)),Q instanceof Error&&!(Q.message in Je)&&(Je[Q.message]=!0,de(ie),C("Failed %s type: %s",E,Q.message),de(null))}}}var gt=Array.isArray;function yt(f){return gt(f)}function Ct(f){{var b=typeof Symbol=="function"&&Symbol.toStringTag,E=b&&f[Symbol.toStringTag]||f.constructor.name||"Object";return E}}function rt(f){try{return at(f),!1}catch{return!0}}function at(f){return""+f}function mt(f){if(rt(f))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ct(f)),at(f)}var Ke=A.ReactCurrentOwner,xt={key:!0,ref:!0,__self:!0,__source:!0},St,Pt,Ge;Ge={};function jt(f){if(dt.call(f,"ref")){var b=Object.getOwnPropertyDescriptor(f,"ref").get;if(b&&b.isReactWarning)return!1}return f.ref!==void 0}function nt(f){if(dt.call(f,"key")){var b=Object.getOwnPropertyDescriptor(f,"key").get;if(b&&b.isReactWarning)return!1}return f.key!==void 0}function xe(f,b){if(typeof f.ref=="string"&&Ke.current&&b&&Ke.current.stateNode!==b){var E=we(Ke.current.type);Ge[E]||(C('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',we(Ke.current.type),f.ref),Ge[E]=!0)}}function Nt(f,b){{var E=function(){St||(St=!0,C("%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)",b))};E.isReactWarning=!0,Object.defineProperty(f,"key",{get:E,configurable:!0})}}function Ft(f,b){{var E=function(){Pt||(Pt=!0,C("%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)",b))};E.isReactWarning=!0,Object.defineProperty(f,"ref",{get:E,configurable:!0})}}var vt=function(f,b,E,F,ie,te,K){var Q={$$typeof:t,type:f,key:b,ref:E,props:K,_owner:te};return Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Q,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(Q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q};function bt(f,b,E,F,ie){{var te,K={},Q=null,De=null;E!==void 0&&(mt(E),Q=""+E),nt(b)&&(mt(b.key),Q=""+b.key),jt(b)&&(De=b.ref,xe(b,ie));for(te in b)dt.call(b,te)&&!xt.hasOwnProperty(te)&&(K[te]=b[te]);if(f&&f.defaultProps){var B=f.defaultProps;for(te in B)K[te]===void 0&&(K[te]=B[te])}if(Q||De){var ue=typeof f=="function"?f.displayName||f.name||"Unknown":f;Q&&Nt(K,ue),De&&Ft(K,ue)}return vt(f,Q,De,ie,F,Ke.current,K)}}var He=A.ReactCurrentOwner,ct=A.ReactDebugCurrentFrame;function ze(f){if(f){var b=f._owner,E=Te(f.type,f._source,b?b.type:null);ct.setExtraStackFrame(E)}else ct.setExtraStackFrame(null)}var Ye;Ye=!1;function $t(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function Se(){{if(He.current){var f=we(He.current.type);if(f)return`
77
+ `),B=Y.length-1,le=De.length-1;B>=1&&le>=0&&Y[B]!==De[le];)le--;for(;B>=1&&le>=0;B--,le--)if(Y[B]!==De[le]){if(B!==1||le!==1)do if(B--,le--,le<0||Y[B]!==De[le]){var Ce=`
78
+ `+Y[B].replace(" at new "," at ");return f.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",f.displayName)),typeof f=="function"&&Ee.set(f,Ce),Ce}while(B>=1&&le>=0);break}}}finally{_e=!1,We.current=te,tt(),Error.prepareStackTrace=oe}var Ze=f?f.displayName||f.name:"",Yt=Ze?ue(Ze):"";return typeof f=="function"&&Ee.set(f,Yt),Yt}function ft(f,b,$){return Pe(f,!1)}function Rt(f){var b=f.prototype;return!!(b&&b.isReactComponent)}function Te(f,b,$){if(f==null)return"";if(typeof f=="function")return Pe(f,Rt(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 u:return ft(f.render);case y:return Te(f.type,b,$);case _:{var F=f,oe=F._payload,te=F._init;try{return Te(te(oe),b,$)}catch{}}}return""}var dt=Object.prototype.hasOwnProperty,Je={},pt=E.ReactDebugCurrentFrame;function fe(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);pt.setExtraStackFrame($)}else pt.setExtraStackFrame(null)}function ht(f,b,$,F,oe){{var te=Function.call.bind(dt);for(var J in f)if(te(f,J)){var Y=void 0;try{if(typeof f[J]!="function"){var De=Error((F||"React class")+": "+$+" 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 De.name="Invariant Violation",De}Y=f[J](b,J,F,$,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){Y=B}Y&&!(Y instanceof Error)&&(fe(oe),A("%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",$,J,typeof Y),fe(null)),Y instanceof Error&&!(Y.message in Je)&&(Je[Y.message]=!0,fe(oe),A("Failed %s type: %s",$,Y.message),fe(null))}}}var gt=Array.isArray;function mt(f){return gt(f)}function Ot(f){{var b=typeof Symbol=="function"&&Symbol.toStringTag,$=b&&f[Symbol.toStringTag]||f.constructor.name||"Object";return $}}function rt(f){try{return at(f),!1}catch{return!0}}function at(f){return""+f}function yt(f){if(rt(f))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ot(f)),at(f)}var Ke=E.ReactCurrentOwner,xt={key:!0,ref:!0,__self:!0,__source:!0},St,kt,Ge;Ge={};function Pt(f){if(dt.call(f,"ref")){var b=Object.getOwnPropertyDescriptor(f,"ref").get;if(b&&b.isReactWarning)return!1}return f.ref!==void 0}function nt(f){if(dt.call(f,"key")){var b=Object.getOwnPropertyDescriptor(f,"key").get;if(b&&b.isReactWarning)return!1}return f.key!==void 0}function xe(f,b){if(typeof f.ref=="string"&&Ke.current&&b&&Ke.current.stateNode!==b){var $=we(Ke.current.type);Ge[$]||(A('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',we(Ke.current.type),f.ref),Ge[$]=!0)}}function Dt(f,b){{var $=function(){St||(St=!0,A("%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)",b))};$.isReactWarning=!0,Object.defineProperty(f,"key",{get:$,configurable:!0})}}function Nt(f,b){{var $=function(){kt||(kt=!0,A("%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)",b))};$.isReactWarning=!0,Object.defineProperty(f,"ref",{get:$,configurable:!0})}}var vt=function(f,b,$,F,oe,te,J){var Y={$$typeof:t,type:f,key:b,ref:$,props:J,_owner:te};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:oe}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function bt(f,b,$,F,oe){{var te,J={},Y=null,De=null;$!==void 0&&(yt($),Y=""+$),nt(b)&&(yt(b.key),Y=""+b.key),Pt(b)&&(De=b.ref,xe(b,oe));for(te in b)dt.call(b,te)&&!xt.hasOwnProperty(te)&&(J[te]=b[te]);if(f&&f.defaultProps){var B=f.defaultProps;for(te in B)J[te]===void 0&&(J[te]=B[te])}if(Y||De){var le=typeof f=="function"?f.displayName||f.name||"Unknown":f;Y&&Dt(J,le),De&&Nt(J,le)}return vt(f,Y,De,oe,F,Ke.current,J)}}var He=E.ReactCurrentOwner,ct=E.ReactDebugCurrentFrame;function ze(f){if(f){var b=f._owner,$=Te(f.type,f._source,b?b.type:null);ct.setExtraStackFrame($)}else ct.setExtraStackFrame(null)}var Ye;Ye=!1;function $t(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function Se(){{if(He.current){var f=we(He.current.type);if(f)return`
79
79
 
80
- Check the render method of \``+f+"`."}return""}}function Xe(f){return""}var N={};function Z(f){{var b=Se();if(!b){var E=typeof f=="string"?f:f.displayName||f.name;E&&(b=`
80
+ Check the render method of \``+f+"`."}return""}}function Xe(f){return""}var N={};function Z(f){{var b=Se();if(!b){var $=typeof f=="string"?f:f.displayName||f.name;$&&(b=`
81
81
 
82
- Check the top-level render call using <`+E+">.")}return b}}function je(f,b){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var E=Z(b);if(N[E])return;N[E]=!0;var F="";f&&f._owner&&f._owner!==He.current&&(F=" It was passed a child from "+we(f._owner.type)+"."),ze(f),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',E,F),ze(null)}}function wt(f,b){{if(typeof f!="object")return;if(yt(f))for(var E=0;E<f.length;E++){var F=f[E];$t(F)&&je(F,b)}else if($t(f))f._store&&(f._store.validated=!0);else if(f){var ie=O(f);if(typeof ie=="function"&&ie!==f.entries)for(var te=ie.call(f),K;!(K=te.next()).done;)$t(K.value)&&je(K.value,b)}}}function R(f){{var b=f.type;if(b==null||typeof b=="string")return;var E;if(typeof b=="function")E=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===u||b.$$typeof===m))E=b.propTypes;else return;if(E){var F=we(b);ht(E,f.props,"prop",F,f)}else if(b.PropTypes!==void 0&&!Ye){Ye=!0;var ie=we(b);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ie||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function V(f){{for(var b=Object.keys(f.props),E=0;E<b.length;E++){var F=b[E];if(F!=="children"&&F!=="key"){ze(f),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),ze(null);break}}f.ref!==null&&(ze(f),C("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}function z(f,b,E,F,ie,te){{var K=pe(f);if(!K){var Q="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(Q+=" 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 De=Xe();De?Q+=De:Q+=Se();var B;f===null?B="null":yt(f)?B="array":f!==void 0&&f.$$typeof===t?(B="<"+(we(f.type)||"Unknown")+" />",Q=" Did you accidentally export a JSX literal instead of a component?"):B=typeof f,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,Q)}var ue=bt(f,b,E,ie,te);if(ue==null)return ue;if(K){var Ce=b.children;if(Ce!==void 0)if(F)if(yt(Ce)){for(var Ze=0;Ze<Ce.length;Ze++)wt(Ce[Ze],f);Object.freeze&&Object.freeze(Ce)}else C("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 wt(Ce,f)}return f===n?V(ue):R(ue),ue}}function Ae(f,b,E){return z(f,b,E,!0)}function Le(f,b,E){return z(f,b,E,!1)}var lt=Le,Oe=Ae;qr.Fragment=n,qr.jsx=lt,qr.jsxs=Oe}()),qr}process.env.NODE_ENV==="production"?Ho.exports=bu():Ho.exports=wu();var q=Ho.exports;const _u={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},xu={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},Su={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},$u={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},Eu={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Tu={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Au={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Ou={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Cu={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"}},Ru={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)"},ku={mobile:"360px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},Pu={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"},ju=["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"],Iu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],oe={typography:Cu,shadows:Ru,breakpoints:ku,spacing:Pu,palette:{primary:xu,complementary:Su,error:$u,info:Au,warning:Eu,success:Tu,black:"#0c111d",white:"#ffffff",gray:_u,gradients:Ou}},Mu=({children:e})=>q.jsx(yu,{theme:oe,children:e}),W=(e,t)=>t===void 0?"":`${e}: ${t};`,Zr=e=>{const t=e.py??e.pt??0,r=e.px??e.pr??0,n=e.py??e.pb??0,o=e.px??e.pl??0;if(e.padding){const[i,s,c,u]=e.padding;return`padding: ${oe.spacing[i]} ${oe.spacing[s]} ${oe.spacing[c]} ${oe.spacing[u]};`}return`padding: ${oe.spacing[t]} ${oe.spacing[r]} ${oe.spacing[n]} ${oe.spacing[o]};`},en=e=>{const t=e.my??e.mt??0,r=e.mx??e.mr??0,n=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[i,s,c,u]=e.margin;return`margin: ${oe.spacing[i]} ${oe.spacing[s]} ${oe.spacing[c]} ${oe.spacing[u]};`}return`margin: ${oe.spacing[t]} ${oe.spacing[r]} ${oe.spacing[n]} ${oe.spacing[o]};`},tn=e=>{const t=W("position",e.position),r=W("top",e.top),n=W("right",e.right),o=W("bottom",e.bottom),i=W("left",e.left),s=W("z-index",e.zIndex);return`
82
+ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var $=Z(b);if(N[$])return;N[$]=!0;var F="";f&&f._owner&&f._owner!==He.current&&(F=" It was passed a child from "+we(f._owner.type)+"."),ze(f),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',$,F),ze(null)}}function wt(f,b){{if(typeof f!="object")return;if(mt(f))for(var $=0;$<f.length;$++){var F=f[$];$t(F)&&je(F,b)}else if($t(f))f._store&&(f._store.validated=!0);else if(f){var oe=R(f);if(typeof oe=="function"&&oe!==f.entries)for(var te=oe.call(f),J;!(J=te.next()).done;)$t(J.value)&&je(J.value,b)}}}function C(f){{var b=f.type;if(b==null||typeof b=="string")return;var $;if(typeof b=="function")$=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===u||b.$$typeof===y))$=b.propTypes;else return;if($){var F=we(b);ht($,f.props,"prop",F,f)}else if(b.PropTypes!==void 0&&!Ye){Ye=!0;var oe=we(b);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function V(f){{for(var b=Object.keys(f.props),$=0;$<b.length;$++){var F=b[$];if(F!=="children"&&F!=="key"){ze(f),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),ze(null);break}}f.ref!==null&&(ze(f),A("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}function z(f,b,$,F,oe,te){{var J=pe(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 De=Xe();De?Y+=De:Y+=Se();var B;f===null?B="null":mt(f)?B="array":f!==void 0&&f.$$typeof===t?(B="<"+(we(f.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):B=typeof f,A("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 le=bt(f,b,$,oe,te);if(le==null)return le;if(J){var Ce=b.children;if(Ce!==void 0)if(F)if(mt(Ce)){for(var Ze=0;Ze<Ce.length;Ze++)wt(Ce[Ze],f);Object.freeze&&Object.freeze(Ce)}else A("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 wt(Ce,f)}return f===n?V(le):C(le),le}}function Ae(f,b,$){return z(f,b,$,!0)}function Le(f,b,$){return z(f,b,$,!1)}var lt=Le,Oe=Ae;Wr.Fragment=n,Wr.jsx=lt,Wr.jsxs=Oe}()),Wr}process.env.NODE_ENV==="production"?qo.exports=wu():qo.exports=_u();var K=qo.exports;const xu={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},Su={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},$u={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Eu={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},Tu={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Au={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},Ou={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Cu={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Ru={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"}},ku={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)"},Pu={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},ju={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"},Iu=["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"],Mu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],de={typography:Ru,shadows:ku,breakpoints:Pu,spacing:ju,palette:{primary:Su,complementary:$u,error:Eu,info:Ou,warning:Tu,success:Au,black:"#0c111d",white:"#ffffff",gray:xu,gradients:Cu}},Lu=({children:e})=>K.jsx(yu,{theme:de,children:e}),W=(e,t)=>t===void 0?"":`${e}: ${t};`,Zr=e=>{const t=e.py??e.pt??0,r=e.px??e.pr??0,n=e.py??e.pb??0,o=e.px??e.pl??0;if(e.padding){const[i,s,l,u]=e.padding;return`padding: ${de.spacing[i]} ${de.spacing[s]} ${de.spacing[l]} ${de.spacing[u]};`}return`padding: ${de.spacing[t]} ${de.spacing[r]} ${de.spacing[n]} ${de.spacing[o]};`},en=e=>{const t=e.my??e.mt??0,r=e.mx??e.mr??0,n=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[i,s,l,u]=e.margin;return`margin: ${de.spacing[i]} ${de.spacing[s]} ${de.spacing[l]} ${de.spacing[u]};`}return`margin: ${de.spacing[t]} ${de.spacing[r]} ${de.spacing[n]} ${de.spacing[o]};`},tn=e=>{const t=W("position",e.position),r=W("top",e.top),n=W("right",e.right),o=W("bottom",e.bottom),i=W("left",e.left),s=W("z-index",e.zIndex);return`
83
83
  ${t}
84
84
  ${r}
85
85
  ${n}
86
86
  ${o}
87
87
  ${i}
88
88
  ${s}
89
- `},rn=e=>{const t=W("border",e.border),r=W("border-top",e.borderTop),n=W("border-right",e.borderRight),o=W("border-bottom",e.borderBottom),i=W("border-left",e.borderLeft),s=W("border-color",e.borderColor),c=W("border-radius",e.borderRadius);return`
89
+ `},rn=e=>{const t=W("border",e.border),r=W("border-top",e.borderTop),n=W("border-right",e.borderRight),o=W("border-bottom",e.borderBottom),i=W("border-left",e.borderLeft),s=W("border-color",e.borderColor),l=W("border-radius",e.borderRadius);return`
90
90
  ${t}
91
91
  ${r}
92
92
  ${n}
93
93
  ${o}
94
94
  ${i}
95
95
  ${s}
96
- ${c}
97
- `},Lu=e=>e.includes("x")?"overflow-x: auto;":"",Du=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
98
- ${Lu(e.scroll)}
96
+ ${l}
97
+ `},Du=e=>e.includes("x")?"overflow-x: auto;":"",Nu=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
99
98
  ${Du(e.scroll)}
100
- `:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),c=W("max-width",e.maxWidth),u=W("min-height",e.minHeight),d=W("min-width",e.minWidth),h=W("box-shadow",e.shadow?oe.shadows[e.shadow]:void 0),m=W("gap",e.gap===void 0?void 0:oe.spacing[e.gap]),w=W("background-color",e.bgColor),v=W("background",e.bgGradient),T=W("flex-direction",e.flexDirection),x=W("flex-grow",e.flexGrow),O=W("justify-content",e.justify),A=W("justify-self",e.justifySelf),C=W("align-items",e.alignItems),k=W("align-self",e.alignSelf),I=W("flex-wrap",e.wrap);return`
99
+ ${Nu(e.scroll)}
100
+ `:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),l=W("max-width",e.maxWidth),u=W("min-height",e.minHeight),d=W("min-width",e.minWidth),h=W("box-shadow",e.shadow?de.shadows[e.shadow]:void 0),y=W("gap",e.gap===void 0?void 0:de.spacing[e.gap]),_=W("background-color",e.bgColor),v=W("background",e.bgGradient),T=W("flex-direction",e.flexDirection),O=W("flex-grow",e.flexGrow),R=W("justify-content",e.justify),E=W("justify-self",e.justifySelf),A=W("align-items",e.alignItems),k=W("align-self",e.alignSelf),I=W("flex-wrap",e.wrap);return`
101
101
  ${t}
102
102
  ${r}
103
103
  ${n}
104
104
  ${o}
105
105
  ${i}
106
106
  ${s}
107
- ${c}
107
+ ${l}
108
108
  ${u}
109
109
  ${d}
110
110
  ${h}
111
- ${w}
111
+ ${_}
112
112
  ${v}
113
- ${m}
113
+ ${y}
114
114
  ${T}
115
- ${x}
116
115
  ${O}
116
+ ${R}
117
+ ${E}
117
118
  ${A}
118
- ${C}
119
119
  ${k}
120
120
  ${I}
121
- `},on=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),c=W("text-align",e.textAlign),u=W("text-decoration",e.textDecoration),d=W("text-overflow",e.textOverflow),h=W("white-space",e.whiteSpace),m=W("word-break",e.wordBreak),w=W("word-wrap",e.wordWrap);return`
121
+ `},on=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),l=W("text-align",e.textAlign),u=W("text-decoration",e.textDecoration),d=W("text-overflow",e.textOverflow),h=W("white-space",e.whiteSpace),y=W("word-break",e.wordBreak),_=W("word-wrap",e.wordWrap);return`
122
122
  ${t}
123
123
  ${r}
124
124
  ${n}
125
125
  ${o}
126
126
  ${i}
127
127
  ${s}
128
- ${c}
128
+ ${l}
129
129
  ${u}
130
130
  ${d}
131
131
  ${h}
132
- ${m}
133
- ${w}
134
- `},sn=e=>{const t=W("cursor",e.cursor),r=W("border-color",e.borderColorHover),n=W("background-color",e.bgColorHover),o=W("box-shadow",e.shadowHover===void 0?void 0:oe.shadows[e.shadowHover]),i=W("transition",e.transition);return`
132
+ ${y}
133
+ ${_}
134
+ `},sn=e=>{const t=W("cursor",e.cursor),r=W("border-color",e.borderColorHover),n=W("background-color",e.bgColorHover),o=W("box-shadow",e.shadowHover===void 0?void 0:de.shadows[e.shadowHover]),i=W("transition",e.transition);return`
135
135
  ${t}
136
136
 
137
137
  &:hover {
@@ -140,7 +140,7 @@ Check the top-level render call using <`+E+">.")}return b}}function je(f,b){{if(
140
140
  ${n}
141
141
  ${o}
142
142
  }
143
- `},an=()=>({shouldForwardProp:e=>!la.includes(e)}),to=Qe.div.withConfig(an())`
143
+ `},an=()=>({shouldForwardProp:e=>!aa.includes(e)}),eo=Qe.div.withConfig(an())`
144
144
  ${Zr}
145
145
  ${en}
146
146
  ${tn}
@@ -148,7 +148,7 @@ Check the top-level render call using <`+E+">.")}return b}}function je(f,b){{if(
148
148
  ${on}
149
149
  ${rn}
150
150
  ${sn}
151
- `,Ia=Qe.button.withConfig(an())`
151
+ `,Pa=Qe.button.withConfig(an())`
152
152
  ${Zr}
153
153
  ${en}
154
154
  ${tn}
@@ -156,7 +156,7 @@ Check the top-level render call using <`+E+">.")}return b}}function je(f,b){{if(
156
156
  ${on}
157
157
  ${rn}
158
158
  ${sn}
159
- `,wi=Qe.p.withConfig(an())`
159
+ `,vi=Qe.p.withConfig(an())`
160
160
  ${Zr}
161
161
  ${en}
162
162
  ${tn}
@@ -164,7 +164,7 @@ Check the top-level render call using <`+E+">.")}return b}}function je(f,b){{if(
164
164
  ${on}
165
165
  ${rn}
166
166
  ${sn}
167
- `,Ma=Qe.span.withConfig(an())`
167
+ `,ja=Qe.span.withConfig(an())`
168
168
  ${Zr}
169
169
  ${en}
170
170
  ${tn}
@@ -172,7 +172,35 @@ Check the top-level render call using <`+E+">.")}return b}}function je(f,b){{if(
172
172
  ${on}
173
173
  ${rn}
174
174
  ${sn}
175
- `,Nu=Qe(to)`
175
+ `,Fu=(e,t,r,n)=>n==="platform"?t||e===r-1?"1px solid":void 0:e===r-1?"1px solid":void 0,Vu=(e,t)=>t==="progress"&&e?void 0:"1px solid",Bu=(e,t)=>t==="simple"?e?"minus":"plus":e?"chevron-up":"chevron-down",Ia=e=>e?"block":"none",zu=(e,t,r)=>{r(e===t?n=>!n:!0)},Uu=e=>e==="platform"?[.75,.75,.75,.75]:[1.5,2,1.5,2],Wu=e=>{if(e==="platform")return[.75,.75,.75,.75]},qu=e=>e==="platform"?de.palette.gray[100]:de.palette.gray[50],Gu=e=>e==="platform"?de.palette.gray[200]:de.palette.gray[300],Hu=e=>e==="platform"?de.palette.gray[400]:de.palette.gray[800],Yu=e=>e==="end"?"row":"row-reverse",Ma=e=>e==="platform"?"sm":"md",Qu=e=>e*1e3/100,Ju=Qe(eo)`
176
+ ${({$center:e=!1})=>`
177
+ ${e?"margin: auto;":""}
178
+ `}
179
+ `,qt=S.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...l},u){return K.jsx(Ju,{$center:r,as:t,id:o,onMouseLeave:s,onMouseOver:i,ref:u,...l,children:n})}),Ku=Qe(vi)`
180
+ ${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:l,$wordBreak:u="normal"})=>`
181
+ color: ${t};
182
+ display: ${r};
183
+ font-family: ${n};
184
+ font-size: ${e.typography.heading[l]};
185
+ font-weight: ${e.typography.weight[o]};
186
+ letter-spacing: ${i};
187
+ line-height: ${e.spacing[s]};
188
+ width: ${r==="block"?"100%":"auto"};
189
+ word-break: ${u};
190
+ `}
191
+ `,Xu=Qe(vi)`
192
+ ${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:l,$wordBreak:u="normal"})=>`
193
+ color: ${t};
194
+ display: ${r};
195
+ font-family: ${n};
196
+ font-size: ${e.typography.text[l]};
197
+ font-weight: ${e.typography.weight[o]};
198
+ letter-spacing: ${i};
199
+ line-height: ${e.spacing[s]};
200
+ width: ${r==="block"?"100%":"auto"};
201
+ word-break: ${u};
202
+ `}
203
+ `,Zu=S.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return K.jsx(Ku,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),Yr=S.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return K.jsx(Xu,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),vs=({isSelectedAndOpen:e,item:t,variant:r,render:n})=>n?K.jsxs(qt,{display:Ia(e),padding:Wu(r),children:[t.description?K.jsx(Yr,{mb:t.extraElement?.5:void 0,mt:r==="platform"?void 0:.5,size:Ma(r),children:t.description}):void 0,t.extraElement?K.jsx(qt,{children:t.extraElement}):void 0]}):null,ef=Qe(eo)`
176
204
  animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
177
205
  animation-fill-mode: both;
178
206
 
@@ -185,67 +213,11 @@ Check the top-level render call using <`+E+">.")}return b}}function je(f,b){{if(
185
213
  width: 100%;
186
214
  }
187
215
  }
188
- `,ws=(e,t)=>e===t-1?"1px solid":void 0,Fu=(e,t,r)=>e===t&&r?void 0:"1px solid",Vu=(e,t,r)=>e===t&&r?"chevron-up":"chevron-down",Bu=(e,t,r)=>e===t&&r?"minus":"plus",Po=(e,t,r)=>e===t&&r?"block":"none",zu=(e,t,r)=>{r(e===t?n=>!n:!0)},Uu=e=>e*1e3/100;var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yo={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",w="[object Map]",v="[object Number]",T="[object Object]",x="[object Promise]",O="[object RegExp]",A="[object Set]",C="[object String]",k="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",ve="[object Float64Array]",be="[object Int8Array]",pe="[object Int16Array]",Ne="[object Int32Array]",Me="[object Uint8Array]",we="[object Uint8ClampedArray]",J="[object Uint16Array]",$e="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ae=/\w*$/,ce=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,G={};G[i]=G[s]=G[M]=G[D]=G[c]=G[u]=G[P]=G[ve]=G[be]=G[pe]=G[Ne]=G[w]=G[v]=G[T]=G[O]=G[A]=G[C]=G[k]=G[Me]=G[we]=G[J]=G[$e]=!0,G[d]=G[h]=G[I]=!1;var le=typeof tr=="object"&&tr&&tr.Object===Object&&tr,ge=typeof self=="object"&&self&&self.Object===Object&&self,H=le||ge||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,We=tt&&tt.exports===st;function qe(l,g){return l.set(g[0],g[1]),l}function fe(l,g){return l.add(g),l}function _e(l,g){for(var _=-1,L=l?l.length:0;++_<L&&g(l[_],_,l)!==!1;);return l}function Ee(l,g){for(var _=-1,L=g.length,it=l.length;++_<L;)l[it+_]=g[_];return l}function Be(l,g,_,L){for(var it=-1,Tt=l?l.length:0;++it<Tt;)_=g(_,l[it],it,l);return _}function Pe(l,g){for(var _=-1,L=Array(l);++_<l;)L[_]=g(_);return L}function ft(l,g){return l==null?void 0:l[g]}function kt(l){var g=!1;if(l!=null&&typeof l.toString!="function")try{g=!!(l+"")}catch{}return g}function Te(l){var g=-1,_=Array(l.size);return l.forEach(function(L,it){_[++g]=[it,L]}),_}function dt(l,g){return function(_){return l(g(_))}}function Je(l){var g=-1,_=Array(l.size);return l.forEach(function(L){_[++g]=L}),_}var pt=Array.prototype,de=Function.prototype,ht=Object.prototype,gt=H["__core-js_shared__"],yt=function(){var l=/[^.]+$/.exec(gt&&gt.keys&&gt.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ct=de.toString,rt=ht.hasOwnProperty,at=ht.toString,mt=RegExp("^"+Ct.call(rt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=We?H.Buffer:void 0,xt=H.Symbol,St=H.Uint8Array,Pt=dt(Object.getPrototypeOf,Object),Ge=Object.create,jt=ht.propertyIsEnumerable,nt=pt.splice,xe=Object.getOwnPropertySymbols,Nt=Ke?Ke.isBuffer:void 0,Ft=dt(Object.keys,Object),vt=Y(H,"DataView"),bt=Y(H,"Map"),He=Y(H,"Promise"),ct=Y(H,"Set"),ze=Y(H,"WeakMap"),Ye=Y(Object,"create"),$t=cr(vt),Se=cr(bt),Xe=cr(He),N=cr(ct),Z=cr(ze),je=xt?xt.prototype:void 0,wt=je?je.valueOf:void 0;function R(l){var g=-1,_=l?l.length:0;for(this.clear();++g<_;){var L=l[g];this.set(L[0],L[1])}}function V(){this.__data__=Ye?Ye(null):{}}function z(l){return this.has(l)&&delete this.__data__[l]}function Ae(l){var g=this.__data__;if(Ye){var _=g[l];return _===n?void 0:_}return rt.call(g,l)?g[l]:void 0}function Le(l){var g=this.__data__;return Ye?g[l]!==void 0:rt.call(g,l)}function lt(l,g){var _=this.__data__;return _[l]=Ye&&g===void 0?n:g,this}R.prototype.clear=V,R.prototype.delete=z,R.prototype.get=Ae,R.prototype.has=Le,R.prototype.set=lt;function Oe(l){var g=-1,_=l?l.length:0;for(this.clear();++g<_;){var L=l[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function b(l){var g=this.__data__,_=ar(g,l);if(_<0)return!1;var L=g.length-1;return _==L?g.pop():nt.call(g,_,1),!0}function E(l){var g=this.__data__,_=ar(g,l);return _<0?void 0:g[_][1]}function F(l){return ar(this.__data__,l)>-1}function ie(l,g){var _=this.__data__,L=ar(_,l);return L<0?_.push([l,g]):_[L][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=E,Oe.prototype.has=F,Oe.prototype.set=ie;function te(l){var g=-1,_=l?l.length:0;for(this.clear();++g<_;){var L=l[g];this.set(L[0],L[1])}}function K(){this.__data__={hash:new R,map:new(bt||Oe),string:new R}}function Q(l){return U(this,l).delete(l)}function De(l){return U(this,l).get(l)}function B(l){return U(this,l).has(l)}function ue(l,g){return U(this,l).set(l,g),this}te.prototype.clear=K,te.prototype.delete=Q,te.prototype.get=De,te.prototype.has=B,te.prototype.set=ue;function Ce(l){this.__data__=new Oe(l)}function Ze(){this.__data__=new Oe}function Yt(l){return this.__data__.delete(l)}function ot(l){return this.__data__.get(l)}function go(l){return this.__data__.has(l)}function gn(l,g){var _=this.__data__;if(_ instanceof Oe){var L=_.__data__;if(!bt||L.length<r-1)return L.push([l,g]),this;_=this.__data__=new te(L)}return _.set(l,g),this}Ce.prototype.clear=Ze,Ce.prototype.delete=Yt,Ce.prototype.get=ot,Ce.prototype.has=go,Ce.prototype.set=gn;function yo(l,g){var _=Eo(l)||nl(l)?Pe(l.length,String):[],L=_.length,it=!!L;for(var Tt in l)rt.call(l,Tt)&&!(it&&(Tt=="length"||It(Tt,L)))&&_.push(Tt);return _}function Vr(l,g,_){var L=l[g];(!(rt.call(l,g)&&Hi(L,_))||_===void 0&&!(g in l))&&(l[g]=_)}function ar(l,g){for(var _=l.length;_--;)if(Hi(l[_][0],g))return _;return-1}function yn(l,g){return l&&S(g,To(g),l)}function Br(l,g,_,L,it,Tt,Jt){var At;if(L&&(At=Tt?L(l,it,Tt,Jt):L(l)),At!==void 0)return At;if(!_n(l))return l;var Ji=Eo(l);if(Ji){if(At=Et(l),!g)return y(l,At)}else{var Sr=Ve(l),Ki=Sr==h||Sr==m;if(il(l))return bo(l,g);if(Sr==T||Sr==i||Ki&&!Tt){if(kt(l))return Tt?l:{};if(At=_t(Ki?{}:l),!g)return j(l,yn(At,l))}else{if(!G[Sr])return Tt?l:{};At=Qt(l,Sr,Br,g)}}Jt||(Jt=new Ce);var Xi=Jt.get(l);if(Xi)return Xi;if(Jt.set(l,At),!Ji)var Zi=_?ne(l):To(l);return _e(Zi||l,function(Ao,xn){Zi&&(xn=Ao,Ao=l[xn]),Vr(At,xn,Br(Ao,g,_,L,xn,l,Jt))}),At}function mn(l){return _n(l)?Ge(l):{}}function vn(l,g,_){var L=g(l);return Eo(l)?L:Ee(L,_(l))}function mo(l){return at.call(l)}function vo(l){if(!_n(l)||wn(l))return!1;var g=Qi(l)||kt(l)?mt:ce;return g.test(cr(l))}function bn(l){if(!Ur(l))return Ft(l);var g=[];for(var _ in Object(l))rt.call(l,_)&&_!="constructor"&&g.push(_);return g}function bo(l,g){if(g)return l.slice();var _=new l.constructor(l.length);return l.copy(_),_}function zr(l){var g=new l.constructor(l.byteLength);return new St(g).set(new St(l)),g}function wo(l,g){var _=g?zr(l.buffer):l.buffer;return new l.constructor(_,l.byteOffset,l.byteLength)}function _o(l,g,_){var L=g?_(Te(l),!0):Te(l);return Be(L,qe,new l.constructor)}function xo(l){var g=new l.constructor(l.source,ae.exec(l));return g.lastIndex=l.lastIndex,g}function So(l,g,_){var L=g?_(Je(l),!0):Je(l);return Be(L,fe,new l.constructor)}function a(l){return wt?Object(wt.call(l)):{}}function p(l,g){var _=g?zr(l.buffer):l.buffer;return new l.constructor(_,l.byteOffset,l.length)}function y(l,g){var _=-1,L=l.length;for(g||(g=Array(L));++_<L;)g[_]=l[_];return g}function S(l,g,_,L){_||(_={});for(var it=-1,Tt=g.length;++it<Tt;){var Jt=g[it],At=void 0;Vr(_,Jt,At===void 0?l[Jt]:At)}return _}function j(l,g){return S(l,Fe(l),g)}function ne(l){return vn(l,To,Fe)}function U(l,g){var _=l.__data__;return $o(g)?_[typeof g=="string"?"string":"hash"]:_.map}function Y(l,g){var _=ft(l,g);return vo(_)?_:void 0}var Fe=xe?dt(xe,Object):cl,Ve=mo;(vt&&Ve(new vt(new ArrayBuffer(1)))!=D||bt&&Ve(new bt)!=w||He&&Ve(He.resolve())!=x||ct&&Ve(new ct)!=A||ze&&Ve(new ze)!=I)&&(Ve=function(l){var g=at.call(l),_=g==T?l.constructor:void 0,L=_?cr(_):void 0;if(L)switch(L){case $t:return D;case Se:return w;case Xe:return x;case N:return A;case Z:return I}return g});function Et(l){var g=l.length,_=l.constructor(g);return g&&typeof l[0]=="string"&&rt.call(l,"index")&&(_.index=l.index,_.input=l.input),_}function _t(l){return typeof l.constructor=="function"&&!Ur(l)?mn(Pt(l)):{}}function Qt(l,g,_,L){var it=l.constructor;switch(g){case M:return zr(l);case c:case u:return new it(+l);case D:return wo(l,L);case P:case ve:case be:case pe:case Ne:case Me:case we:case J:case $e:return p(l,L);case w:return _o(l,L,_);case v:case C:return new it(l);case O:return xo(l);case A:return So(l,L,_);case k:return a(l)}}function It(l,g){return g=g??o,!!g&&(typeof l=="number"||re.test(l))&&l>-1&&l%1==0&&l<g}function $o(l){var g=typeof l;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?l!=="__proto__":l===null}function wn(l){return!!yt&&yt in l}function Ur(l){var g=l&&l.constructor,_=typeof g=="function"&&g.prototype||ht;return l===_}function cr(l){if(l!=null){try{return Ct.call(l)}catch{}try{return l+""}catch{}}return""}function rl(l){return Br(l,!0,!0)}function Hi(l,g){return l===g||l!==l&&g!==g}function nl(l){return ol(l)&&rt.call(l,"callee")&&(!jt.call(l,"callee")||at.call(l)==i)}var Eo=Array.isArray;function Yi(l){return l!=null&&sl(l.length)&&!Qi(l)}function ol(l){return al(l)&&Yi(l)}var il=Nt||ll;function Qi(l){var g=_n(l)?at.call(l):"";return g==h||g==m}function sl(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function _n(l){var g=typeof l;return!!l&&(g=="object"||g=="function")}function al(l){return!!l&&typeof l=="object"}function To(l){return Yi(l)?yo(l):bn(l)}function cl(){return[]}function ll(){return!1}e.exports=rl})(Yo,Yo.exports);var rr=Yo.exports,Qo=function(){return Qo=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Qo.apply(this,arguments)};function Wu(e,t,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 c(h){try{d(n.next(h))}catch(m){s(m)}}function u(h){try{d(n.throw(h))}catch(m){s(m)}}function d(h){h.done?i(h.value):o(h.value).then(c,u)}d((n=n.apply(e,[])).next())})}function qu(e,t){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return u([d,h])}}function u(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=t.call(e,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 Nn(e,t,r,n,o){return Wu(this,void 0,void 0,function(){var i,s;return qu(this,function(c){switch(c.label){case 0:if(r===void 0)return[2];s=0,c.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=c.sent(),i==="canceled")return[3,4];c.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var Jo=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:Qo({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},Gu=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=rr(r);Nn(t,s,n,this.htmlPluginState,o).then(function(c){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=Jo(o,c);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=rr(t);Nn(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var c=Jo(n,s);o.imgElement.setAttribute("src",i.toURL(c))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Ie=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},Hu=class extends Error{constructor(t="Unsupported"){super(t)}};function _i(e){return new Hu(e)}function Yu(){return this._qualifierModel||{error:_i(`unsupported qualifier ${this.constructor.name}`)}}let Qu=class{constructor(){this._qualifierModel={}}toJson(){return Yu.apply(this)}},X=class extends Qu{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Ie?this.qualifierValue=r:(this.qualifierValue=new Ie,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Lt=class extends X{constructor(t,r){let n;r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Ju(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Ku(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:_i(`unsupported action ${this.constructor.name}`)}}let Xu=class{constructor(){this._actionModel={}}toJson(){return Ku.apply(this)}},Ut=class extends Xu{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Ju(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Lt(n)):this.qualifiers.set(r,new X(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Lt(t)):t instanceof Lt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class xi extends Ut{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class ro extends xi{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new X("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new X("h",t)),this}static fromJson(t){const r=new ro;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function Zu(){return new ro}function La(){return new xi("faces")}function ef(){return new xi("ocr_text")}class tf extends Ut{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`blur_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`blur_faces${t}`))):this.addQualifier(new X("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(La()),n&&n.regionType==="ocr_text"&&o.region(ef()),n&&n.regionType==="custom"&&o.region(ro.fromJson(n)),o}}function _r(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Da={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},rf={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Na={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Fa={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},nf={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Va={444:"CHROMA_444",420:"CHROMA_420"},of={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},sf=_r(Va);_r(of);const af=_r(Da),cf=_r(rf),Ba=_r(Na);_r(Fa);_r(nf);class za extends Ut{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=Ba[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=new Ie(t),new X("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=Na[r]||r;return new this(i,n||o)}}class lf extends za{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=Ba[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function no(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class uf extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Ie(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Ie(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Ie(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Ie(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Ie(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new X("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:c}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),c&&u.numOfColors(c),u}}class ff extends lf{level(t){return this._actionModel.level=t,this.setLevel(t)}}class df extends Ut{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new X("e",new Ie("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new X("e",new Ie(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new X("e",new Ie(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class pf extends ff{color(t){return this._actionModel.color=t,this.addQualifier(new X("co",new Ie(no(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class hf extends Ut{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`pixelate_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`pixelate_faces${t}`))):this.addQualifier(new X("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(La()),r&&r.regionType==="custom"&&o.region(Zu()),o}}function gf(e){return new tf(e)}function yf(){return new za("grayscale")}function _s(e){return new pf("colorize",e)}function mf(){return new uf}function vf(){return new df}function bf(e){return new hf(e)}let wf=class extends Ut{constructor(t){super(),this._actionModel={},this.addQualifier(new X("b",new Ie(no(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},xs=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:_i(`unsupported action ${this.constructor.name}`)}}};function _f(e){const t=e;return"error"in t&&!!t.error}function xf(){return new Lt("ignore_aspect_ratio")}function Sf(){return new Lt("lossy")}function $f(){return new Lt("preserve_transparency")}function Ef(e){return new Lt("progressive",e)}function Tf(){return new Lt("region_relative")}function Af(){return new Lt("relative")}let Si=class extends Ie{constructor(t){super(t),this.val=t}getValue(){return this.val}},Ua=class extends Ut{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Si?o=r.getValue():o=r,this._actionModel.actionType=cf[t],this._actionModel[n]=o,this.addQualifier(new X(t,r))}},Of=class extends Lt{constructor(t){super("progressive",t)}},Ko=class extends Ua{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Sf()),this}progressive(t){return t instanceof Of?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Ef(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag($f()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;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}},oo=class Wa{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new xs(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof Wa?this.actions=this.actions.concat(t.actions):this.actions.push(new xs(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Ko("q",t)),this}format(t){return this.addAction(new Ko("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new wf(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ut;let n=t;return typeof t=="string"&&(n=new Lt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(_f(n))return n;t.push(n)}return{actions:t}}};function Ss(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class Cf extends Ie{}class Rf extends Ut{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=af[t]||t,this.addQualifier(new X("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new X("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new X("w",t))}aspectRatio(t){if(t instanceof Cf)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new X("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Ss(t),this.addQualifier(new X("ar",Ss(t)));if(t instanceof Lt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Af())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Tf())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:c,height:u}=n,d=Da[r]||r,h=new this(d,c,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?xf():s),o&&h.relative(),i&&h.regionRelative(),h}}class $i extends X{constructor(t){super("g",new Ie(t))}}class qa extends $i{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Ga extends $i{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Ha extends $i{constructor(t){super(t)}}function kf(e){return new Ha(e)}function Ya(...e){const t=[...e];return new Ga(t)}function Qa(){return new qa}class io extends Ie{constructor(t){super(),this.name=t}toString(){return this.name}}function Pf(){return new io("ocr_text")}function jf(e){return e&&`${e}`.split(":")[0]==="auto"}function If(e){const t=Ei(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ei(e){return`${e}`.replace("g_","")}function Mf(e){return{compass:Ei(e),gravityType:"direction"}}function Lf(e){return Ei(e)==="ocr_text"}function Df(){return{gravityType:"ocr"}}function Nf(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function Ff(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function Ja(e){let t;const r=e==="auto"?new qa:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(Ff)}}function Vf(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=Qa().autoFocus(...i);o.fallbackGravity=Ja(s)}return o}function Bf(e){const r=e.split(":").map(n=>new io(n));return new Ga(r)}function zf(e){return If(e)?Mf(e):Lf(e)?Df():jf(e)||Nf(e)?Ja(e):Vf(typeof e=="string"?Bf(e):e)}class Ti extends Ie{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ti(t,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(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class Ka extends Ie{constructor(t){super(),this.val=t}toString(){return this.val}}function Uf(e){return e.gravityType==="direction"}function Wf(e){return e.gravityType==="ocr"}function qf(e){return e.gravityType==="auto"}function Gf(e){const{object:t,weight:r,avoid:n}=e,o=new Ti(new io(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function Xa(e){const r=(e.autoFocus||[]).map(Gf);return Qa().autoFocus(...r)}function Hf(e){const t=(e.focusOnObjects||[]).map(n=>new io(n)),r=Ya(...t);if(e.fallbackGravity){const n=Xa(e.fallbackGravity);r.fallbackGravity(n)}return r}function Yf(e){return Uf(e)?new Ha(new Ka(e.compass)):Wf(e)?Ya(Pf()):qf(e)?Xa(e):Hf(e)}class Ai extends Rf{gravity(t){this._actionModel.gravity=zf(t);const r=typeof t=="string"?new X("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(Yf(t.gravity)),r}}class cn extends X{constructor(t){super("b"),t&&this.addValue(t)}}const Za=100,Qf=0;class Jf extends cn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Za}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var ec=Jf;class Oi extends cn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>no(r)),this}}class tc extends Oi{toString(){return`
189
- b_auto:border
190
- ${this._contrast?"_contrast":""}
191
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
192
- `.replace(/\s+/g,"")}}class rc extends Oi{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class nc extends rc{toString(){return`
193
- b_auto:border_gradient
194
- ${this._contrast?"_contrast":""}
195
- ${this._gradientColors?`:${this._gradientColors}`:""}
196
- ${this._gradientDirection?`:${this._gradientDirection}`:""}
197
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
198
- `.replace(/\s+/g,"")}}class oc extends rc{toString(){return`
199
- b_auto:predominant_gradient
200
- ${this._contrast?"_contrast":""}
201
- ${this._gradientColors?`:${this._gradientColors}`:""}
202
- ${this._gradientDirection?`:${this._gradientDirection}`:""}
203
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
204
- `.replace(/\s+/g,"")}}class ic extends Oi{toString(){return`
205
- b_auto:predominant
206
- ${this._contrast?"_contrast":""}
207
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
208
- `.replace(/\s+/g,"")}}class sc extends cn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function ac(e){return`${e}`.replace("b_","")}function Kf(){return{backgroundType:"auto"}}function Xf(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function Ci(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function Zf(e){return Object.assign(Object.assign({},Ci(e)),{backgroundType:"border"})}function cc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=Ci(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function ed(e){return Object.assign(Object.assign({},cc(e)),{backgroundType:"borderGradient"})}function td(e){return{backgroundType:"color",color:ac(e)}}function rd(e){return Object.assign(Object.assign({},Ci(e)),{backgroundType:"predominant"})}function nd(e){return Object.assign(Object.assign({},cc(e)),{backgroundType:"predominantGradient"})}function od(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function id(e){return ac(e)==="auto"?Kf():e instanceof ec?Xf(e):e instanceof tc?Zf(e):e instanceof nc?ed(e):e instanceof ic?rd(e):e instanceof oc?nd(e):e instanceof sc?od(e):td(e)}function sd(){return new Si("svg")}function Ri(){return new Si("auto")}function lc(){return new tc}function uc(){return new cn("auto")}function fc(){return new nc}function dc(){return new oc}function pc(){return new ic}function hc(e){return new cn(no(e))}function ad(){return new ec}function gc(){return new sc}const yc={auto:uc,border:lc,borderGradient:fc,predominantGradient:dc,predominant:pc,color:hc,blurred:ad,generativeFill:gc};function cd(e){const{brightness:t,intensity:r}=e,n=yc.blurred();return n.brightness(t??Qf),n.intensity(r??Za),n}function $s(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Es(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function ld(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function ud(e){const{backgroundType:t}=e;switch(t){case"auto":return uc();case"blurred":return cd(e);case"border":return Es(lc(),e);case"borderGradient":return $s(fc(),e);case"predominant":return Es(pc(),e);case"predominantGradient":return $s(dc(),e);case"generativeFill":return ld(gc(),e);default:return hc(e.color)}}class fd extends Ai{background(t){return this._actionModel.background=id(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(ud(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class dd extends Ai{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new X("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class pd extends Ai{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function hd(e,t){return new dd("crop",e,t)}function gd(e,t){return new pd("fill",e,t)}function yd(e,t){return new fd("pad",e,t)}class md extends Ua{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=Va[t];const r=new Ie([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new X("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Ie([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new X("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=Fa[r]||r,s=new this(i);if(n){const c=sf[n.toUpperCase()];c&&s.chromaSubSampling(+c)}return o&&s.quantization(o),s}}function so(e){return new Ko("f",e)}function ao(e){return new md(e)}function vd(){return new Ka("north_east")}_s(70).color("black"),_s(40).color("white"),yf(),vf();var bd=new oo().effect(mf()).delivery(ao("auto")).delivery(so(sd())),wd=new oo().effect(bf()).delivery(ao("auto")).delivery(so(Ri())),_d=new oo().effect(gf(2e3)).delivery(ao("auto")).delivery(so(Ri())),xd=new oo().resize(yd("iw_div_2").aspectRatio(1).background(yc.auto())).resize(hd(1,1).gravity(kf(vd()))).resize(gd().height("ih").width("iw")).delivery(ao("auto")).delivery(so(Ri())),Ts={vectorize:bd,pixelate:wd,blur:_d,"predominant-color":xd},As="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Os={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Cs="?_a=",Sd=function(){function e(t,r,n,o,i,s,c){var u=this;this.mimeType="video",this.mimeSubTypes=Os,this.videoElement=t,this.originalVideo=r,this.videoOptions=c,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=rr(r);Nn(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(rr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,c=o.transcode;return n.appendSourceTag(rr(t).transcode(c),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var c=t.toURL(),u=c.split(Cs),d=u[1]?"".concat(Cs).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Os[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=rr(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var c=s[i],u=c[0],d=c[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var c=this.videoElement.getElementsByTagName("SOURCE");c[0];)c[0].parentNode.removeChild(c[0]);Nn(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),$d=typeof tr=="object"&&tr&&tr.Object===Object&&tr,Ed=typeof self=="object"&&self&&self.Object===Object&&self;$d||Ed||Function("return this")();function ki(){return typeof window<"u"}function Td(e){return e instanceof HTMLImageElement}function Ad(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return Od.bind(null,n,i)}function Od(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),ki()?new Promise(function(s){var c=function(){return s({lazyload:!0})},u=Rd(r,c,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Cd(){return window&&"IntersectionObserver"in window}function Rd(e,t,r,n){try{if(!Cd())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function kd(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Pd.bind(null,n)}function Pd(e,t,r,n,o,i){Ts[e]||(e="vectorize");var s=Ts[e].actions,c=rr(r);if(s.forEach(function(d){c.addAction(d)}),!ki())return r.transformation=c.transformation,!0;if(Td(t)){c.transformation.actions.forEach(function(d,h){d instanceof Ut&&d.getActionTag()==="responsive"&&delete c.transformation.actions[h]});var u=Jo(o,{placeholder:!0});return t.src=c.toURL(u),t.onerror=function(){t.src=As},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=As,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function jd(e,t,r){var n=rr(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Fn(e){e.cleanupCallbacks.forEach(function(t){t()})}var Xo=function(e,t){return Xo=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])},Xo(e,t)};function mc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xo(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Qr=function(){return Qr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Qr.apply(this,arguments)};function vc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Jr={exports:{}},me={};/*
209
- object-assign
210
- (c) Sindre Sorhus
211
- @license MIT
212
- */var Rs=Object.getOwnPropertySymbols,Id=Object.prototype.hasOwnProperty,Md=Object.prototype.propertyIsEnumerable;function Ld(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Dd(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[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 bc=Dd()?Object.assign:function(e,t){for(var r,n=Ld(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Id.call(r,s)&&(n[s]=r[s]);if(Rs){o=Rs(r);for(var c=0;c<o.length;c++)Md.call(r,o[c])&&(n[o[c]]=r[o[c]])}}return n};/** @license React v16.14.0
213
- * react.production.min.js
214
- *
215
- * Copyright (c) Facebook, Inc. and its affiliates.
216
- *
217
- * This source code is licensed under the MIT license found in the
218
- * LICENSE file in the root directory of this source tree.
219
- */var Pi=bc,Wt=typeof Symbol=="function"&&Symbol.for,ln=Wt?Symbol.for("react.element"):60103,Nd=Wt?Symbol.for("react.portal"):60106,Fd=Wt?Symbol.for("react.fragment"):60107,Vd=Wt?Symbol.for("react.strict_mode"):60108,Bd=Wt?Symbol.for("react.profiler"):60114,zd=Wt?Symbol.for("react.provider"):60109,Ud=Wt?Symbol.for("react.context"):60110,Wd=Wt?Symbol.for("react.forward_ref"):60112,qd=Wt?Symbol.for("react.suspense"):60113,Gd=Wt?Symbol.for("react.memo"):60115,Hd=Wt?Symbol.for("react.lazy"):60116,ks=typeof Symbol=="function"&&Symbol.iterator;function un(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var wc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_c={};function Dr(e,t,r){this.props=e,this.context=t,this.refs=_c,this.updater=r||wc}Dr.prototype.isReactComponent={};Dr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(un(85));this.updater.enqueueSetState(this,e,t,"setState")};Dr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xc(){}xc.prototype=Dr.prototype;function ji(e,t,r){this.props=e,this.context=t,this.refs=_c,this.updater=r||wc}var Ii=ji.prototype=new xc;Ii.constructor=ji;Pi(Ii,Dr.prototype);Ii.isPureReactComponent=!0;var Mi={current:null},Sc=Object.prototype.hasOwnProperty,$c={key:!0,ref:!0,__self:!0,__source:!0};function Ec(e,t,r){var n,o={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Sc.call(t,n)&&!$c.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(c===1)o.children=r;else if(1<c){for(var u=Array(c),d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}if(e&&e.defaultProps)for(n in c=e.defaultProps,c)o[n]===void 0&&(o[n]=c[n]);return{$$typeof:ln,type:e,key:i,ref:s,props:o,_owner:Mi.current}}function Yd(e,t){return{$$typeof:ln,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Li(e){return typeof e=="object"&&e!==null&&e.$$typeof===ln}function Qd(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var Tc=/\/+/g,Vn=[];function Ac(e,t,r,n){if(Vn.length){var o=Vn.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function Oc(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Vn.length&&Vn.push(e)}function Zo(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case ln:case Nd:i=!0}}if(i)return r(n,e,t===""?"."+jo(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var c=t+jo(o,s);i+=Zo(o,c,r,n)}else if(e===null||typeof e!="object"?c=null:(c=ks&&e[ks]||e["@@iterator"],c=typeof c=="function"?c:null),typeof c=="function")for(e=c.call(e),s=0;!(o=e.next()).done;)o=o.value,c=t+jo(o,s++),i+=Zo(o,c,r,n);else if(o==="object")throw r=""+e,Error(un(31,r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return i}function ei(e,t,r){return e==null?0:Zo(e,"",t,r)}function jo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Qd(e.key):t.toString(36)}function Jd(e,t){e.func.call(e.context,t,e.count++)}function Kd(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?ti(e,n,r,function(i){return i}):e!=null&&(Li(e)&&(e=Yd(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Tc,"$&/")+"/")+r)),n.push(e))}function ti(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(Tc,"$&/")+"/"),t=Ac(t,i,n,o),ei(e,Kd,t),Oc(t)}var Cc={current:null};function Zt(){var e=Cc.current;if(e===null)throw Error(un(321));return e}var Xd={ReactCurrentDispatcher:Cc,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Mi,IsSomeRendererActing:{current:!1},assign:Pi};me.Children={map:function(e,t,r){if(e==null)return e;var n=[];return ti(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=Ac(null,null,t,r),ei(e,Jd,t),Oc(t)},count:function(e){return ei(e,function(){return null},null)},toArray:function(e){var t=[];return ti(e,t,null,function(r){return r}),t},only:function(e){if(!Li(e))throw Error(un(143));return e}};me.Component=Dr;me.Fragment=Fd;me.Profiler=Bd;me.PureComponent=ji;me.StrictMode=Vd;me.Suspense=qd;me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xd;me.cloneElement=function(e,t,r){if(e==null)throw Error(un(267,e));var n=Pi({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Mi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)Sc.call(t,u)&&!$c.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&c!==void 0?c[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];n.children=c}return{$$typeof:ln,type:e.type,key:o,ref:i,props:n,_owner:s}};me.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:Ud,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:zd,_context:e},e.Consumer=e};me.createElement=Ec;me.createFactory=function(e){var t=Ec.bind(null,e);return t.type=e,t};me.createRef=function(){return{current:null}};me.forwardRef=function(e){return{$$typeof:Wd,render:e}};me.isValidElement=Li;me.lazy=function(e){return{$$typeof:Hd,_ctor:e,_status:-1,_result:null}};me.memo=function(e,t){return{$$typeof:Gd,type:e,compare:t===void 0?null:t}};me.useCallback=function(e,t){return Zt().useCallback(e,t)};me.useContext=function(e,t){return Zt().useContext(e,t)};me.useDebugValue=function(){};me.useEffect=function(e,t){return Zt().useEffect(e,t)};me.useImperativeHandle=function(e,t,r){return Zt().useImperativeHandle(e,t,r)};me.useLayoutEffect=function(e,t){return Zt().useLayoutEffect(e,t)};me.useMemo=function(e,t){return Zt().useMemo(e,t)};me.useReducer=function(e,t,r){return Zt().useReducer(e,t,r)};me.useRef=function(e){return Zt().useRef(e)};me.useState=function(e){return Zt().useState(e)};me.version="16.14.0";var ye={},Zd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ep=Zd,tp=Function.call.bind(Object.prototype.hasOwnProperty),ri=function(){};if(process.env.NODE_ENV!=="production"){var rp=ep,ni={},np=tp;ri=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function Rc(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(np(e,i)){var s;try{if(typeof e[i]!="function"){var c=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}s=e[i](t,i,n,r,null,rp)}catch(d){s=d}if(s&&!(s instanceof Error)&&ri((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 ni)){ni[s.message]=!0;var u=o?o():"";ri("Failed "+r+" type: "+s.message+(u??""))}}}}Rc.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(ni={})};var op=Rc;/** @license React v16.14.0
220
- * react.development.js
221
- *
222
- * Copyright (c) Facebook, Inc. and its affiliates.
223
- *
224
- * This source code is licensed under the MIT license found in the
225
- * LICENSE file in the root directory of this source tree.
226
- */process.env.NODE_ENV!=="production"&&function(){var e=bc,t=op,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,c=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,m=n?Symbol.for("react.concurrent_mode"):60111,w=n?Symbol.for("react.forward_ref"):60112,v=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,x=n?Symbol.for("react.memo"):60115,O=n?Symbol.for("react.lazy"):60116,A=n?Symbol.for("react.block"):60121,C=n?Symbol.for("react.fundamental"):60117,k=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 ve={current:null},be={suspense:null},pe={current:null},Ne=/^(.*)[\\\/]/;function Me(a,p,y){var S="";if(p){var j=p.fileName,ne=j.replace(Ne,"");if(/^index\./.test(ne)){var U=j.match(Ne);if(U){var Y=U[1];if(Y){var Fe=Y.replace(Ne,"");ne=Fe+"/"+ne}}}S=" (at "+ne+":"+p.lineNumber+")"}else y&&(S=" (created by "+y+")");return`
227
- in `+(a||"Unknown")+S}var we=1;function J(a){return a._status===we?a._result:null}function $e(a,p,y){var S=p.displayName||p.name||"";return a.displayName||(S!==""?y+"("+S+")":y)}function se(a){if(a==null)return null;if(typeof a.tag=="number"&&H("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 u:return"Profiler";case c:return"StrictMode";case v:return"Suspense";case T:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case h:return"Context.Consumer";case d:return"Context.Provider";case w:return $e(a,a.render,"ForwardRef");case x:return se(a.type);case A:return se(a.render);case O:{var p=a,y=J(p);if(y)return se(y);break}}return null}var ae={},ce=null;function re(a){ce=a}ae.getCurrentStack=null,ae.getStackAddendum=function(){var a="";if(ce){var p=se(ce.type),y=ce._owner;a+=Me(p,ce._source,y&&se(y.type))}var S=ae.getCurrentStack;return S&&(a+=S()||""),a};var G={current:!1},le={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:be,ReactCurrentOwner:pe,IsSomeRendererActing:G,assign:e};e(le,{ReactDebugCurrentFrame:ae,ReactComponentTreeHook:{}});function ge(a){{for(var p=arguments.length,y=new Array(p>1?p-1:0),S=1;S<p;S++)y[S-1]=arguments[S];st("warn",a,y)}}function H(a){{for(var p=arguments.length,y=new Array(p>1?p-1:0),S=1;S<p;S++)y[S-1]=arguments[S];st("error",a,y)}}function st(a,p,y){{var S=y.length>0&&typeof y[y.length-1]=="string"&&y[y.length-1].indexOf(`
228
- in`)===0;if(!S){var j=le.ReactDebugCurrentFrame,ne=j.getStackAddendum();ne!==""&&(p+="%s",y=y.concat([ne]))}var U=y.map(function(Ve){return""+Ve});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var Y=0,Fe="Warning: "+p.replace(/%s/g,function(){return y[Y++]});throw new Error(Fe)}catch{}}}var tt={};function We(a,p){{var y=a.constructor,S=y&&(y.displayName||y.name)||"ReactClass",j=S+"."+p;if(tt[j])return;H("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,S),tt[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,y){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,y,S){We(a,"replaceState")},enqueueSetState:function(a,p,y,S){We(a,"setState")}},fe={};Object.freeze(fe);function _e(a,p,y){this.props=a,this.context=p,this.refs=fe,this.updater=y||qe}_e.prototype.isReactComponent={},_e.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")},_e.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var Ee={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)."]},Be=function(a,p){Object.defineProperty(_e.prototype,a,{get:function(){ge("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Ee)Ee.hasOwnProperty(Pe)&&Be(Pe,Ee[Pe])}function ft(){}ft.prototype=_e.prototype;function kt(a,p,y){this.props=a,this.context=p,this.refs=fe,this.updater=y||qe}var Te=kt.prototype=new ft;Te.constructor=kt,e(Te,_e.prototype),Te.isPureReactComponent=!0;function dt(){var a={current:null};return Object.seal(a),a}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},de,ht,gt;gt={};function yt(a){if(Je.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ct(a){if(Je.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function rt(a,p){var y=function(){de||(de=!0,H("%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))};y.isReactWarning=!0,Object.defineProperty(a,"key",{get:y,configurable:!0})}function at(a,p){var y=function(){ht||(ht=!0,H("%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))};y.isReactWarning=!0,Object.defineProperty(a,"ref",{get:y,configurable:!0})}function mt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=se(pe.current.type);gt[p]||(H('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',se(pe.current.type),a.ref),gt[p]=!0)}}var Ke=function(a,p,y,S,j,ne,U){var Y={$$typeof:o,type:a,key:p,ref:y,props:U,_owner:ne};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:S}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function xt(a,p,y){var S,j={},ne=null,U=null,Y=null,Fe=null;if(p!=null){yt(p)&&(U=p.ref,mt(p)),Ct(p)&&(ne=""+p.key),Y=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(S in p)Je.call(p,S)&&!pt.hasOwnProperty(S)&&(j[S]=p[S])}var Ve=arguments.length-2;if(Ve===1)j.children=y;else if(Ve>1){for(var Et=Array(Ve),_t=0;_t<Ve;_t++)Et[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Et),j.children=Et}if(a&&a.defaultProps){var Qt=a.defaultProps;for(S in Qt)j[S]===void 0&&(j[S]=Qt[S])}if(ne||U){var It=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&rt(j,It),U&&at(j,It)}return Ke(a,ne,U,Y,Fe,pe.current,j)}function St(a,p){var y=Ke(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return y}function Pt(a,p,y){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var S,j=e({},a.props),ne=a.key,U=a.ref,Y=a._self,Fe=a._source,Ve=a._owner;if(p!=null){yt(p)&&(U=p.ref,Ve=pe.current),Ct(p)&&(ne=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for(S in p)Je.call(p,S)&&!pt.hasOwnProperty(S)&&(p[S]===void 0&&Et!==void 0?j[S]=Et[S]:j[S]=p[S])}var _t=arguments.length-2;if(_t===1)j.children=y;else if(_t>1){for(var Qt=Array(_t),It=0;It<_t;It++)Qt[It]=arguments[It+2];j.children=Qt}return Ke(a.type,ne,U,Y,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var jt=".",nt=":";function xe(a){var p=/[=:]/g,y={"=":"=0",":":"=2"},S=(""+a).replace(p,function(j){return y[j]});return"$"+S}var Nt=!1,Ft=/\/+/g;function vt(a){return(""+a).replace(Ft,"$&/")}var bt=10,He=[];function ct(a,p,y,S){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=y,j.context=S,j.count=0,j}else return{result:a,keyPrefix:p,func:y,context:S,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<bt&&He.push(a)}function Ye(a,p,y,S){var j=typeof a;(j==="undefined"||j==="boolean")&&(a=null);var ne=!1;if(a===null)ne=!0;else switch(j){case"string":case"number":ne=!0;break;case"object":switch(a.$$typeof){case o:case i:ne=!0}}if(ne)return y(S,a,p===""?jt+Se(a,0):p),1;var U,Y,Fe=0,Ve=p===""?jt:p+nt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],Y=Ve+Se(U,Et),Fe+=Ye(U,Y,y,S);else{var _t=P(a);if(typeof _t=="function"){_t===a.entries&&(Nt||ge("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."),Nt=!0);for(var Qt=_t.call(a),It,$o=0;!(It=Qt.next()).done;)U=It.value,Y=Ve+Se(U,$o++),Fe+=Ye(U,Y,y,S)}else if(j==="object"){var wn="";wn=" If you meant to render a collection of children, use an array instead."+ae.getStackAddendum();var Ur=""+a;throw Error("Objects are not valid as a React child (found: "+(Ur==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Ur)+")."+wn)}}return Fe}function $t(a,p,y){return a==null?0:Ye(a,"",p,y)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?xe(a.key):p.toString(36)}function Xe(a,p,y){var S=a.func,j=a.context;S.call(j,p,a.count++)}function N(a,p,y){if(a==null)return a;var S=ct(null,null,p,y);$t(a,Xe,S),ze(S)}function Z(a,p,y){var S=a.result,j=a.keyPrefix,ne=a.func,U=a.context,Y=ne.call(U,p,a.count++);Array.isArray(Y)?je(Y,S,y,function(Fe){return Fe}):Y!=null&&(Ge(Y)&&(Y=St(Y,j+(Y.key&&(!p||p.key!==Y.key)?vt(Y.key)+"/":"")+y)),S.push(Y))}function je(a,p,y,S,j){var ne="";y!=null&&(ne=vt(y)+"/");var U=ct(p,ne,S,j);$t(a,Z,U),ze(U)}function wt(a,p,y){if(a==null)return a;var S=[];return je(a,S,null,p,y),S}function R(a){return $t(a,function(){return null},null)}function V(a){var p=[];return je(a,p,null,function(y){return y}),p}function z(a){if(!Ge(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ae(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&H("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var y={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};y.Provider={$$typeof:d,_context:y};var S=!1,j=!1;{var ne={$$typeof:h,_context:y,_calculateChangedBits:y._calculateChangedBits};Object.defineProperties(ne,{Provider:{get:function(){return j||(j=!0,H("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),y.Provider},set:function(U){y.Provider=U}},_currentValue:{get:function(){return y._currentValue},set:function(U){y._currentValue=U}},_currentValue2:{get:function(){return y._currentValue2},set:function(U){y._currentValue2=U}},_threadCount:{get:function(){return y._threadCount},set:function(U){y._threadCount=U}},Consumer:{get:function(){return S||(S=!0,H("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),y.Consumer}}}),y.Consumer=ne}return y._currentRenderer=null,y._currentRenderer2=null,y}function Le(a){var p={$$typeof:O,_ctor:a,_status:-1,_result:null};{var y,S;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return y},set:function(j){H("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."),y=j,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return S},set:function(j){H("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."),S=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(a){return a!=null&&a.$$typeof===x?H("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?H("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&H("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)&&H("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:w,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===m||a===u||a===c||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===O||a.$$typeof===x||a.$$typeof===d||a.$$typeof===h||a.$$typeof===w||a.$$typeof===C||a.$$typeof===k||a.$$typeof===I||a.$$typeof===A)}function f(a,p){return Oe(a)||H("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:x,type:a,compare:p===void 0?null:p}}function b(){var a=ve.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:
229
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
230
- 2. You might be breaking the Rules of Hooks
231
- 3. You might have more than one copy of React in the same app
232
- See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function E(a,p){var y=b();if(p!==void 0&&H("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])?`
233
-
234
- 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 S=a._context;S.Consumer===a?H("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?"):S.Provider===a&&H("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return y.useContext(a,p)}function F(a){var p=b();return p.useState(a)}function ie(a,p,y){var S=b();return S.useReducer(a,p,y)}function te(a){var p=b();return p.useRef(a)}function K(a,p){var y=b();return y.useEffect(a,p)}function Q(a,p){var y=b();return y.useLayoutEffect(a,p)}function De(a,p){var y=b();return y.useCallback(a,p)}function B(a,p){var y=b();return y.useMemo(a,p)}function ue(a,p,y){var S=b();return S.useImperativeHandle(a,p,y)}function Ce(a,p){{var y=b();return y.useDebugValue(a,p)}}var Ze;Ze=!1;function Yt(){if(pe.current){var a=se(pe.current.type);if(a)return`
235
-
236
- Check the render method of \``+a+"`."}return""}function ot(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),y=a.lineNumber;return`
237
-
238
- Check your code at `+p+":"+y+"."}return""}function go(a){return a!=null?ot(a.__source):""}var gn={};function yo(a){var p=Yt();if(!p){var y=typeof a=="string"?a:a.displayName||a.name;y&&(p=`
239
-
240
- Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var y=yo(p);if(!gn[y]){gn[y]=!0;var S="";a&&a._owner&&a._owner!==pe.current&&(S=" It was passed a child from "+se(a._owner.type)+"."),re(a),H('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',y,S),re(null)}}}function ar(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var y=0;y<a.length;y++){var S=a[y];Ge(S)&&Vr(S,p)}else if(Ge(a))a._store&&(a._store.validated=!0);else if(a){var j=P(a);if(typeof j=="function"&&j!==a.entries)for(var ne=j.call(a),U;!(U=ne.next()).done;)Ge(U.value)&&Vr(U.value,p)}}}function yn(a){{var p=a.type;if(p==null||typeof p=="string")return;var y=se(p),S;if(typeof p=="function")S=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===w||p.$$typeof===x))S=p.propTypes;else return;S?(re(a),t(S,a.props,"prop",y,ae.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!0,H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Br(a){{re(a);for(var p=Object.keys(a.props),y=0;y<p.length;y++){var S=p[y];if(S!=="children"&&S!=="key"){H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S);break}}a.ref!==null&&H("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function mn(a,p,y){var S=Oe(a);if(!S){var j="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(j+=" 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 ne=go(p);ne?j+=ne:j+=Yt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(se(a.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,H("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,j)}var Y=xt.apply(this,arguments);if(Y==null)return Y;if(S)for(var Fe=2;Fe<arguments.length;Fe++)ar(arguments[Fe],a);return a===s?Br(Y):yn(Y),Y}var vn=!1;function mo(a){var p=mn.bind(null,a);return p.type=a,vn||(vn=!0,ge("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 ge("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function vo(a,p,y){for(var S=Pt.apply(this,arguments),j=2;j<arguments.length;j++)ar(arguments[j],S.type);return yn(S),S}try{var bn=Object.freeze({}),bo=new Map([[bn,null]]),zr=new Set([bn]);bo.set(0,0),zr.add(0)}catch{}var wo=mn,_o=vo,xo=mo,So={map:wt,forEach:N,count:R,toArray:V,only:z};ye.Children=So,ye.Component=_e,ye.Fragment=s,ye.Profiler=u,ye.PureComponent=kt,ye.StrictMode=c,ye.Suspense=v,ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,ye.cloneElement=_o,ye.createContext=Ae,ye.createElement=wo,ye.createFactory=xo,ye.createRef=dt,ye.forwardRef=lt,ye.isValidElement=Ge,ye.lazy=Le,ye.memo=f,ye.useCallback=De,ye.useContext=E,ye.useDebugValue=Ce,ye.useEffect=K,ye.useImperativeHandle=ue,ye.useLayoutEffect=Q,ye.useMemo=B,ye.useReducer=ie,ye.useRef=te,ye.useState=F,ye.version=r}();process.env.NODE_ENV==="production"?Jr.exports=me:Jr.exports=ye;var Tr=Jr.exports,Io={sdkSemver:"1.13.0",techVersion:Tr.version,sdkCode:"J"},ip=function(e){mc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=Tr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new Gu(this.imageRef.current,this.props.cldImg,this.props.plugins,Io)},t.prototype.componentDidUpdate=function(){Fn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Io)},t.prototype.componentWillUnmount=function(){Fn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=vc(r,["cldImg","plugins"]);if(ki())return Tr.createElement("img",Qr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=jd(this.props.plugins,this.props.cldImg,Io);return Tr.createElement("img",Qr({},n,{src:o}))},t}(Tr.Component),sp=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){mc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Jr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Sd(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){Fn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){Fn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return sp.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=vc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Tr.createElement("video",Qr({},n,{ref:this.attachRef}))},t})(Jr.exports.Component);function ap(e){return!(typeof e!="object"||e instanceof Array)}class cp{filterOutNonSupportedKeys(t,r){const n=Object.create({});return ap(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const Ps=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Di extends cp{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,Ps);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,Ps);return new Di(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Kr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class lp extends Error{constructor(t="Unsupported"){super(t)}}function Ni(e){return new lp(e)}function up(){return this._qualifierModel||{error:Ni(`unsupported qualifier ${this.constructor.name}`)}}class fp{constructor(){this._qualifierModel={}}toJson(){return up.apply(this)}}class co extends fp{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Kr?this.qualifierValue=r:(this.qualifierValue=new Kr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class nr extends co{constructor(t,r){let n;r?n=new Kr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function dp(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function pp(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ni(`unsupported action ${this.constructor.name}`)}}class hp{constructor(){this._actionModel={}}toJson(){return pp.apply(this)}}class Fi extends hp{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),dp(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new nr(n)):this.qualifiers.set(r,new co(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new nr(t)):t instanceof nr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function gp(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class yp extends Fi{constructor(t){super(),this._actionModel={},this.addQualifier(new co("b",new Kr(gp(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class js{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ni(`unsupported action ${this.constructor.name}`)}}}function mp(e){const t=e;return"error"in t&&!!t.error}function vp(){return new nr("lossy")}function bp(){return new nr("preserve_transparency")}function wp(e){return new nr("progressive",e)}class _p extends Kr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function xr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const xp={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Sp={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},$p={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Ep={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Tp={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Ap={444:"CHROMA_444",420:"CHROMA_420"},Op={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};xr(Ap);xr(Op);xr(xp);const Cp=xr(Sp);xr($p);xr(Ep);xr(Tp);class Rp extends Fi{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof _p?o=r.getValue():o=r,this._actionModel.actionType=Cp[t],this._actionModel[n]=o,this.addQualifier(new co(t,r))}}class kp extends nr{constructor(t){super("progressive",t)}}class Bn extends Rp{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(vp()),this}progressive(t){return t instanceof kp?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(wp(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(bp()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;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 lo{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new js(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof lo?this.actions=this.actions.concat(t.actions):this.actions.push(new js(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Bn("q",t)),this}format(t){return this.addAction(new Bn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new yp(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Fi;let n=t;return typeof t=="string"&&(n=new nr(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(mp(n))return n;t.push(n)}return{actions:t}}}class Pp extends lo{}class jp extends lo{}function Ip(e){return e.match(/^https?:\//)}function Mp(e){return e.indexOf("/")<0}function Lp(e){return e.match(/^v[0-9]+/)}function Dp(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function Np(e){return e||"image"}function Fp(e){return e||"upload"}function Vp(e,t,r){const n=r!==!1;return t?`v${t}`:Lp(e)||Ip(e)||Mp(e)?"":n?"v1":""}function Vi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=Bp(o,n/o.length)),o.slice(0,n)+String(e))}function Bp(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const zp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zn={};let Is=0;zp.split("").forEach(e=>{let t=Is.toString(2);t=Vi(t,6,"0"),zn[t]=e,Is++});function Up(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function Wp(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Vi(t,2,"0")}).join(".")}function Ms(e){let t="";const n=e.split(".").length*6,o=Up(e),i=Wp(o);let c=parseInt(i.split(".").join("")).toString(2);if(c=Vi(c,n,"0"),c.length%6!==0)throw"Version must be smaller than 43.21.26)";return c.match(/.{1,6}/g).forEach(u=>{t+=zn[u]}),t}function qp(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const Gp="1.21.0";function Hp(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return zn[i]+zn[s]}function Yp(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function Qp(e){const t={techVersion:Yp(),sdkCode:"T",sdkSemver:Gp.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function Ls(e){const t=Qp(e),r=qp(t);try{const n=Jp(r.techVersion),o=Ms(r.sdkSemver),i=Ms(n),s=Hp(r.osVersion),c=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${c}`}catch{return"E"}}function Jp(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const Ds={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Kp{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Di(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=Np(this.assetType),r=Fp(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=Ds[`${t}/${r}`],s=this.urlConfig.useRootPath,c=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(c&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(Ds).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Dp(this.cloudName,this.urlConfig),o=t?t.toString():"",i=Vp(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const c=[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"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",Ls(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||"",u&&(d+=`${d.length>0?"&":""}_a=${Ls(r)}`);return d?`${c}?${d}`:c}}}class kc extends Kp{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Bn("q",t)),this}format(t){return this.addAction(new Bn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class Xp extends kc{constructor(t,r,n){super(t,r,n,new Pp)}}class Zp extends kc{constructor(t,r,n){super(t,r,n,new jp),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class eh{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Xp(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new Zp(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const th=({publicId:e,format:t="webp"})=>{const r=$.useMemo(()=>new eh({cloud:{cloudName:"fluid-attacks"}}),[]);return $.useMemo(()=>r.image(e).format(t),[r,e,t])},rh=({alt:e="img",height:t="",width:r="",plugins:n=[Ad(),kd()],publicId:o})=>{const i=th({publicId:o});return q.jsx(ip,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Un=$.memo(rh),nh=Qe(to)`
241
- ${({$center:e=!1})=>`
242
- ${e?"margin: auto;":""}
243
- `}
244
- `,Ot=$.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...c},u){return q.jsx(nh,{$center:r,as:t,id:o,onMouseLeave:s,onMouseOver:i,ref:u,...c,children:n})}),oh={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},ih=Qe(Ma)`
216
+ `,tf={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},rf=Qe(ja)`
245
217
  ${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>`
246
218
  color: ${t};
247
219
  cursor: ${e?"cursor":"inherit"};
248
- font-size: ${oh[i]};
220
+ font-size: ${tf[i]};
249
221
  line-height: 0;
250
222
  vertical-align: middle;
251
223
  pointer-events: inherit;
@@ -268,31 +240,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
268
240
  &:hover:not([disabled]) {
269
241
  transform: scale(1.2);
270
242
  }
271
- `;const vr=$.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconSize:c,iconType:u="fa-solid",onClick:d,rotation:h,...m},w){return q.jsx(ih,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:h,$size:c,"data-testid":`${o}-icon`,onClick:d,ref:w,...m,children:q.jsx("i",{className:`${u} fa-${o} ${i}`})},`${u}-${o}`)}),sh=Qe(wi)`
272
- ${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:c,$wordBreak:u="normal"})=>`
273
- color: ${t};
274
- display: ${r};
275
- font-family: ${n};
276
- font-size: ${e.typography.heading[c]};
277
- font-weight: ${e.typography.weight[o]};
278
- letter-spacing: ${i};
279
- line-height: ${e.spacing[s]};
280
- width: ${r==="block"?"100%":"auto"};
281
- word-break: ${u};
282
- `}
283
- `,ah=Qe(wi)`
284
- ${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:c,$wordBreak:u="normal"})=>`
285
- color: ${t};
286
- display: ${r};
287
- font-family: ${n};
288
- font-size: ${e.typography.text[c]};
289
- font-weight: ${e.typography.weight[o]};
290
- letter-spacing: ${i};
291
- line-height: ${e.spacing[s]};
292
- width: ${r==="block"?"100%":"auto"};
293
- word-break: ${u};
294
- `}
295
- `,ch=$.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:c,size:u,wordBreak:d,...h},m){return q.jsx(sh,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:c,$size:u,$wordBreak:d,ref:m,...h,children:t})}),dr=$.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:c,size:u,wordBreak:d,...h},m){return q.jsx(ah,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,$lineSpacing:c,$size:u,$wordBreak:d,ref:m,...h,children:t})}),lh=$.forwardRef(function({progressTime:t=10,items:r,bgColor:n,variant:o="simple"},i){const c=o==="progress"&&r.length>1,[u,d]=$.useState(!1),[h,m]=$.useState(-1),[w,v]=$.useState(0),T=$.useCallback(x=>()=>{m(x),zu(x,h,d),c&&v(0)},[h]);return $.useEffect(()=>{if(c&&u){const x=()=>{m(O=>O===r.length-1?0:O+1)};w===100&&(v(0),x())}},[w,u]),$.useEffect(()=>{if(c&&u){const x=setInterval(()=>{v(O=>O===100?0:O+1)},Uu(t));return()=>{clearInterval(x)}}},[w,u]),c?q.jsx(Ot,{ref:i,children:r.map((x,O)=>q.jsxs(Ot,{bgColor:n??oe.palette.white,children:[q.jsx(Ot,{bgColor:oe.palette.gray[200],display:Po(O,h,u),height:"4px",children:q.jsx(Nu,{$animationTime:t,bgGradient:oe.palette.gradients["01"],height:"100%",width:`${w}%`})}),q.jsxs(Ot,{bgColorHover:oe.palette.gray[50],borderBottom:ws(O,r.length),borderColor:oe.palette.gray[300],borderTop:Fu(O,h,u),cursor:"pointer",justify:"space-between",onClick:T(O),padding:[1.5,2,1.5,2],children:[q.jsxs(Ot,{display:"flex",gap:.75,children:[q.jsx(dr,{color:oe.palette.gray[800],fontWeight:"bold",size:"md",children:x.title}),q.jsx(vr,{icon:Vu(O,h,u),iconColor:oe.palette.gray[800],iconSize:"xs"})]}),q.jsxs(Ot,{display:Po(O,h,u),children:[q.jsx(dr,{color:oe.palette.gray[600],size:"md",children:x.description}),x.image?q.jsx(Un,{...x.image}):void 0]})]})]},x.title))}):q.jsx(Ot,{ref:i,children:r.map((x,O)=>q.jsx(Ot,{bgColor:n??oe.palette.white,children:q.jsxs(Ot,{bgColorHover:oe.palette.gray[50],borderBottom:ws(O,r.length),borderColor:oe.palette.gray[300],borderTop:"1px solid",cursor:"pointer",justify:"space-between",onClick:T(O),padding:[1.5,2,1.5,2],children:[q.jsxs(Ot,{display:"flex",gap:.75,children:[q.jsx(dr,{color:oe.palette.gray[800],fontWeight:"bold",size:"md",children:x.title}),q.jsx(vr,{icon:Bu(O,h,u),iconColor:oe.palette.gray[800],iconSize:"xs"})]}),q.jsxs(Ot,{display:Po(O,h,u),children:[q.jsx(dr,{color:oe.palette.gray[600],size:"md",children:x.description}),x.image?q.jsx(Un,{...x.image}):void 0]})]})},x.title))})}),{getVariant:uh}=ca(e=>({ghost:`
243
+ `;const kr=S.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconSize:l,iconType:u="fa-solid",onClick:d,rotation:h,...y},_){return K.jsx(rf,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:h,$size:l,"data-testid":`${o}-icon`,onClick:d,ref:_,...y,children:K.jsx("i",{className:`${u} fa-${o} ${i}`})},`${u}-${o}`)}),nf=S.forwardRef(function({aligned:t="end",progressTime:r=10,items:n,bgColor:o,variant:i="simple"},s){const u=i==="progress"&&n.length>1,[d,h]=S.useState(!!u),[y,_]=S.useState(u?0:-1),[v,T]=S.useState(0),O=S.useCallback(R=>()=>{_(R),zu(R,y,h),u&&T(0)},[y]);return S.useEffect(()=>{if(u&&d){const R=()=>{_(E=>E===n.length-1?0:E+1)};v===100&&(T(0),R())}},[v,d]),S.useEffect(()=>{if(u&&d){const R=setInterval(()=>{T(E=>E===100?0:E+1)},Qu(r));return()=>{clearInterval(R)}}},[v,d]),K.jsx(qt,{ref:s,children:n.map((R,E)=>{const A=E===y&&d;return K.jsxs(qt,{bgColor:o??de.palette.white,children:[u?K.jsx(qt,{bgColor:de.palette.gray[200],display:Ia(A),height:"4px",children:K.jsx(ef,{$animationTime:r,bgGradient:de.palette.gradients["01"],height:"100%",width:`${v}%`})}):void 0,K.jsxs(qt,{bgColorHover:qu(i),borderBottom:Fu(E,A,n.length,i),borderColor:Gu(i),borderTop:Vu(A,i),cursor:"pointer",onClick:O(E),padding:Uu(i),children:[K.jsxs(qt,{display:"flex",flexDirection:Yu(t),gap:.75,justify:"space-between",children:[K.jsx(Yr,{color:de.palette.gray[800],fontWeight:"bold",size:Ma(i),children:R.title}),K.jsx(kr,{icon:Bu(A,i),iconColor:Hu(i),iconSize:"xs",iconType:"fa-light"})]}),K.jsx(vs,{isSelectedAndOpen:A,item:R,render:i!=="platform",variant:i})]}),K.jsx(vs,{isSelectedAndOpen:A,item:R,render:i==="platform",variant:i})]},R.title)})})}),{getVariant:of}=sa(e=>({ghost:`
296
244
  background: ${e.palette.white};
297
245
  border: none;
298
246
  color: ${e.palette.gray[800]};
@@ -427,7 +375,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
427
375
  background-color: ${e.palette.primary[500]};
428
376
  color: ${e.palette.white};
429
377
  }
430
- `})),fh=Qe.div.attrs({className:"max-w-min max-h-min -z-1"})`
378
+ `})),sf=Qe.div.attrs({className:"max-w-min max-h-min -z-1"})`
431
379
  ${({theme:e,$variant:t})=>`
432
380
  &.dark {
433
381
  background: none;
@@ -445,7 +393,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
445
393
  }
446
394
  }
447
395
  `}
448
- `,dh=Qe(Ia)`
396
+ `,af=Qe(Pa)`
449
397
  ${({theme:e,$bold:t,$resolution:r,$variant:n})=>`
450
398
  --btn-padding-x: ${e.spacing[1]};
451
399
  --btn-padding-y: ${r==="desktop"||r==="platform"?`${e.spacing[.625]}`:e.spacing[1]};
@@ -466,19 +414,19 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
466
414
  transition: all 0.5s ease;
467
415
  white-space: nowrap;
468
416
 
469
- ${uh(e,n??"primaryWeb")}
417
+ ${of(e,n??"primaryWeb")}
470
418
  `}
471
- `,ph=["primary","secondary","tertiary","ghost"],hh=e=>ph.includes(e??""),jr=Math.min,gr=Math.max,Wn=Math.round,On=Math.floor,or=e=>({x:e,y:e}),gh={left:"right",right:"left",bottom:"top",top:"bottom"},yh={start:"end",end:"start"};function oi(e,t,r){return gr(e,jr(t,r))}function fn(e,t){return typeof e=="function"?e(t):e}function br(e){return e.split("-")[0]}function dn(e){return e.split("-")[1]}function Pc(e){return e==="x"?"y":"x"}function Bi(e){return e==="y"?"height":"width"}function Ir(e){return["top","bottom"].includes(br(e))?"y":"x"}function zi(e){return Pc(Ir(e))}function mh(e,t,r){r===void 0&&(r=!1);const n=dn(e),o=zi(e),i=Bi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=qn(s)),[s,qn(s)]}function vh(e){const t=qn(e);return[ii(e),t,ii(t)]}function ii(e){return e.replace(/start|end/g,t=>yh[t])}function bh(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function wh(e,t,r,n){const o=dn(e);let i=bh(br(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ii)))),i}function qn(e){return e.replace(/left|right|bottom|top/g,t=>gh[t])}function _h(e){return{top:0,right:0,bottom:0,left:0,...e}}function jc(e){return typeof e!="number"?_h(e):{top:e,right:e,bottom:e,left:e}}function Gn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Ns(e,t,r){let{reference:n,floating:o}=e;const i=Ir(t),s=zi(t),c=Bi(s),u=br(t),d=i==="y",h=n.x+n.width/2-o.width/2,m=n.y+n.height/2-o.height/2,w=n[c]/2-o[c]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-o.width,y:m};break;default:v={x:n.x,y:n.y}}switch(dn(t)){case"start":v[s]-=w*(r&&d?-1:1);break;case"end":v[s]+=w*(r&&d?-1:1);break}return v}const xh=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:m}=Ns(d,n,u),w=n,v={},T=0;for(let x=0;x<c.length;x++){const{name:O,fn:A}=c[x],{x:C,y:k,data:I,reset:M}=await A({x:h,y:m,initialPlacement:n,placement:w,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=C??h,m=k??m,v={...v,[O]:{...v[O],...I}},M&&T<=50&&(T++,typeof M=="object"&&(M.placement&&(w=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y:m}=Ns(d,w,u)),x=-1)}return{x:h,y:m,placement:w,strategy:o,middlewareData:v}};async function Ic(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:w=!1,padding:v=0}=fn(t,e),T=jc(v),O=c[w?m==="floating"?"reference":"floating":m],A=Gn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(O)))==null||r?O:O.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:u})),C=m==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),I=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},M=Gn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:k,strategy:u}):C);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=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:c,middlewareData:u}=t,{element:d,padding:h=0}=fn(e,t)||{};if(d==null)return{};const m=jc(h),w={x:r,y:n},v=zi(o),T=Bi(v),x=await s.getDimensions(d),O=v==="y",A=O?"top":"left",C=O?"bottom":"right",k=O?"clientHeight":"clientWidth",I=i.reference[T]+i.reference[v]-w[v]-i.floating[T],M=w[v]-i.reference[v],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[k]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=c.floating[k]||i.floating[T]);const ve=I/2-M/2,be=P/2-x[T]/2-1,pe=jr(m[A],be),Ne=jr(m[C],be),Me=pe,we=P-x[T]-Ne,J=P/2-x[T]/2+ve,$e=oi(Me,J,we),se=!u.arrow&&dn(o)!=null&&J!==$e&&i.reference[T]/2-(J<Me?pe:Ne)-x[T]/2<0,ae=se?J<Me?J-Me:J-we:0;return{[v]:w[v]+ae,data:{[v]:$e,centerOffset:J-$e-ae,...se&&{alignmentOffset:ae}},reset:se}}}),$h=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:x=!0,...O}=fn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const A=br(o),C=Ir(c),k=br(c)===c,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=w||(k||!x?[qn(c)]:vh(c)),D=T!=="none";!w&&D&&M.push(...wh(c,x,T,I));const P=[c,...M],ve=await Ic(t,O),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[A]),m){const J=mh(o,s,I);be.push(ve[J[0]],ve[J[1]])}if(pe=[...pe,{placement:o,overflows:be}],!be.every(J=>J<=0)){var Ne,Me;const J=(((Ne=i.flip)==null?void 0:Ne.index)||0)+1,$e=P[J];if($e)return{data:{index:J,overflows:pe},reset:{placement:$e}};let se=(Me=pe.filter(ae=>ae.overflows[0]<=0).sort((ae,ce)=>ae.overflows[1]-ce.overflows[1])[0])==null?void 0:Me.placement;if(!se)switch(v){case"bestFit":{var we;const ae=(we=pe.filter(ce=>{if(D){const re=Ir(ce.placement);return re===C||re==="y"}return!0}).map(ce=>[ce.placement,ce.overflows.filter(re=>re>0).reduce((re,G)=>re+G,0)]).sort((ce,re)=>ce[1]-re[1])[0])==null?void 0:we[0];ae&&(se=ae);break}case"initialPlacement":se=c;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function Eh(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=br(r),c=dn(r),u=Ir(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,m=fn(t,e);let{mainAxis:w,crossAxis:v,alignmentAxis:T}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof T=="number"&&(v=c==="end"?T*-1:T),u?{x:v*h,y:w*d}:{x:w*d,y:v*h}}const Th=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:c}=t,u=await Eh(t,e);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},Ah=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:O=>{let{x:A,y:C}=O;return{x:A,y:C}}},...u}=fn(e,t),d={x:r,y:n},h=await Ic(t,u),m=Ir(br(o)),w=Pc(m);let v=d[w],T=d[m];if(i){const O=w==="y"?"top":"left",A=w==="y"?"bottom":"right",C=v+h[O],k=v-h[A];v=oi(C,v,k)}if(s){const O=m==="y"?"top":"left",A=m==="y"?"bottom":"right",C=T+h[O],k=T-h[A];T=oi(C,T,k)}const x=c.fn({...t,[w]:v,[m]:T});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[w]:i,[m]:s}}}}}};function uo(){return typeof window<"u"}function Nr(e){return Mc(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ht(e){var t;return(t=(Mc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Mc(e){return uo()?e instanceof Node||e instanceof Rt(e).Node:!1}function Bt(e){return uo()?e instanceof Element||e instanceof Rt(e).Element:!1}function Gt(e){return uo()?e instanceof HTMLElement||e instanceof Rt(e).HTMLElement:!1}function Fs(e){return!uo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function pn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Oh(e){return["table","td","th"].includes(Nr(e))}function fo(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ui(e){const t=Wi(),r=Bt(e)?zt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(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 Ch(e){let t=ir(e);for(;Gt(t)&&!Mr(t);){if(Ui(t))return t;if(fo(t))return null;t=ir(t)}return null}function Wi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(Nr(e))}function zt(e){return Rt(e).getComputedStyle(e)}function po(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Nr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Fs(e)&&e.host||Ht(e);return Fs(t)?t.host:t}function Lc(e){const t=ir(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gt(t)&&pn(t)?t:Lc(t)}function Xr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Lc(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(o);if(i){const c=si(s);return t.concat(s,s.visualViewport||[],pn(o)?o:[],c&&r?Xr(c):[])}return t.concat(o,Xr(o,[],r))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Dc(e){const t=zt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Gt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,c=Wn(r)!==i||Wn(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function qi(e){return Bt(e)?e:e.contextElement}function Ar(e){const t=qi(e);if(!Gt(t))return or(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Dc(t);let s=(i?Wn(r.width):r.width)/n,c=(i?Wn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Rh=or(0);function Nc(e){const t=Rt(e);return!Wi()||!t.visualViewport?Rh:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kh(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rt(e)?!1:t}function wr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=qi(e);let s=or(1);t&&(n?Bt(n)&&(s=Ar(n)):s=Ar(e));const c=kh(i,r,n)?Nc(i):or(0);let u=(o.left+c.x)/s.x,d=(o.top+c.y)/s.y,h=o.width/s.x,m=o.height/s.y;if(i){const w=Rt(i),v=n&&Bt(n)?Rt(n):n;let T=w,x=si(T);for(;x&&n&&v!==T;){const O=Ar(x),A=x.getBoundingClientRect(),C=zt(x),k=A.left+(x.clientLeft+parseFloat(C.paddingLeft))*O.x,I=A.top+(x.clientTop+parseFloat(C.paddingTop))*O.y;u*=O.x,d*=O.y,h*=O.x,m*=O.y,u+=k,d+=I,T=Rt(x),x=si(T)}}return Gn({width:h,height:m,x:u,y:d})}function Ph(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ht(n),c=t?fo(t.floating):!1;if(n===s||c&&i)return r;let u={scrollLeft:0,scrollTop:0},d=or(1);const h=or(0),m=Gt(n);if((m||!m&&!i)&&((Nr(n)!=="body"||pn(s))&&(u=po(n)),Gt(n))){const w=wr(n);d=Ar(n),h.x=w.x+n.clientLeft,h.y=w.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function jh(e){return Array.from(e.getClientRects())}function ai(e,t){const r=po(e).scrollLeft;return t?t.left+r:wr(Ht(e)).left+r}function Ih(e){const t=Ht(e),r=po(e),n=e.ownerDocument.body,o=gr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=gr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+ai(e);const c=-r.scrollTop;return zt(n).direction==="rtl"&&(s+=gr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:c}}function Mh(e,t){const r=Rt(e),n=Ht(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,c=0,u=0;if(o){i=o.width,s=o.height;const d=Wi();(!d||d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:c,y:u}}function Lh(e,t){const r=wr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Gt(e)?Ar(e):or(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:c,x:u,y:d}}function Vs(e,t,r){let n;if(t==="viewport")n=Mh(e,r);else if(t==="document")n=Ih(Ht(e));else if(Bt(t))n=Lh(t,r);else{const o=Nc(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Gn(n)}function Fc(e,t){const r=ir(e);return r===t||!Bt(r)||Mr(r)?!1:zt(r).position==="fixed"||Fc(r,t)}function Dh(e,t){const r=t.get(e);if(r)return r;let n=Xr(e,[],!1).filter(c=>Bt(c)&&Nr(c)!=="body"),o=null;const i=zt(e).position==="fixed";let s=i?ir(e):e;for(;Bt(s)&&!Mr(s);){const c=zt(s),u=Ui(s);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||pn(s)&&!u&&Fc(e,s))?n=n.filter(h=>h!==s):o=c,s=ir(s)}return t.set(e,n),n}function Nh(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?fo(t)?[]:Dh(t,this._c):[].concat(r),n],c=s[0],u=s.reduce((d,h)=>{const m=Vs(t,h,o);return d.top=gr(m.top,d.top),d.right=jr(m.right,d.right),d.bottom=jr(m.bottom,d.bottom),d.left=gr(m.left,d.left),d},Vs(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Fh(e){const{width:t,height:r}=Dc(e);return{width:t,height:r}}function Vh(e,t,r){const n=Gt(t),o=Ht(t),i=r==="fixed",s=wr(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=or(0);if(n||!n&&!i)if((Nr(t)!=="body"||pn(o))&&(c=po(t)),n){const v=wr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=ai(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+c.scrollTop,d=v.left+c.scrollLeft-ai(o,v)}const m=s.left+c.scrollLeft-u.x-d,w=s.top+c.scrollTop-u.y-h;return{x:m,y:w,width:s.width,height:s.height}}function Mo(e){return zt(e).position==="static"}function Bs(e,t){if(!Gt(e)||zt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ht(e)===r&&(r=r.ownerDocument.body),r}function Vc(e,t){const r=Rt(e);if(fo(e))return r;if(!Gt(e)){let o=ir(e);for(;o&&!Mr(o);){if(Bt(o)&&!Mo(o))return o;o=ir(o)}return r}let n=Bs(e,t);for(;n&&Oh(n)&&Mo(n);)n=Bs(n,t);return n&&Mr(n)&&Mo(n)&&!Ui(n)?r:n||Ch(e)||r}const Bh=async function(e){const t=this.getOffsetParent||Vc,r=this.getDimensions,n=await r(e.floating);return{reference:Vh(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function zh(e){return zt(e).direction==="rtl"}const Uh={convertOffsetParentRelativeRectToViewportRelativeRect:Ph,getDocumentElement:Ht,getClippingRect:Nh,getOffsetParent:Vc,getElementRects:Bh,getClientRects:jh,getDimensions:Fh,getScale:Ar,isElement:Bt,isRTL:zh};function Wh(e,t){let r=null,n;const o=Ht(e);function i(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:m,height:w}=e.getBoundingClientRect();if(c||t(),!m||!w)return;const v=On(h),T=On(o.clientWidth-(d+m)),x=On(o.clientHeight-(h+w)),O=On(d),C={rootMargin:-v+"px "+-T+"px "+-x+"px "+-O+"px",threshold:gr(0,jr(1,u))||1};let k=!0;function I(M){const D=M[0].intersectionRatio;if(D!==u){if(!k)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(I,{...C,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,C)}r.observe(e)}return s(!0),i}function qh(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=qi(e),h=o||i?[...d?Xr(d):[],...Xr(t)]:[];h.forEach(A=>{o&&A.addEventListener("scroll",r,{passive:!0}),i&&A.addEventListener("resize",r)});const m=d&&c?Wh(d,r):null;let w=-1,v=null;s&&(v=new ResizeObserver(A=>{let[C]=A;C&&C.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var k;(k=v)==null||k.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let T,x=u?wr(e):null;u&&O();function O(){const A=wr(e);x&&(A.x!==x.x||A.y!==x.y||A.width!==x.width||A.height!==x.height)&&r(),x=A,T=requestAnimationFrame(O)}return r(),()=>{var A;h.forEach(C=>{o&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),m==null||m(),(A=v)==null||A.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const Bc=Th,Gh=Ah,zc=$h,Hh=Sh,zs=(e,t,r)=>{const n=new Map,o={platform:Uh,...r},i={...o.platform,_c:n};return xh(e,t,{...o,platform:i})},Yh=(e,t)=>({...Bc(e),options:[e,t]}),Qh=(e,t)=>({...zc(e),options:[e,t]});var Jh=Object.prototype;function Kh(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jh;return e===r}var Uc=Kh;function Xh(e,t){return function(r){return e(t(r))}}var Zh=Xh,eg=Zh,tg=eg(Object.keys,Object),rg=tg,ng=Uc,og=rg,ig=Object.prototype,sg=ig.hasOwnProperty;function ag(e){if(!ng(e))return og(e);var t=[];for(var r in Object(e))sg.call(e,r)&&r!="constructor"&&t.push(r);return t}var cg=ag,lg=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Wc=lg,ug=Wc,fg=typeof self=="object"&&self&&self.Object===Object&&self,dg=ug||fg||Function("return this")(),sr=dg,pg=sr,hg=pg.Symbol,qc=hg,Us=qc,Gc=Object.prototype,gg=Gc.hasOwnProperty,yg=Gc.toString,Gr=Us?Us.toStringTag:void 0;function mg(e){var t=gg.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=yg.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var vg=mg,bg=Object.prototype,wg=bg.toString;function _g(e){return wg.call(e)}var xg=_g,Ws=qc,Sg=vg,$g=xg,Eg="[object Null]",Tg="[object Undefined]",qs=Ws?Ws.toStringTag:void 0;function Ag(e){return e==null?e===void 0?Tg:Eg:qs&&qs in Object(e)?Sg(e):$g(e)}var ho=Ag;function Og(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Hc=Og,Cg=ho,Rg=Hc,kg="[object AsyncFunction]",Pg="[object Function]",jg="[object GeneratorFunction]",Ig="[object Proxy]";function Mg(e){if(!Rg(e))return!1;var t=Cg(e);return t==Pg||t==jg||t==kg||t==Ig}var Yc=Mg,Lg=sr,Dg=Lg["__core-js_shared__"],Ng=Dg,Lo=Ng,Gs=function(){var e=/[^.]+$/.exec(Lo&&Lo.keys&&Lo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Fg(e){return!!Gs&&Gs in e}var Vg=Fg,Bg=Function.prototype,zg=Bg.toString;function Ug(e){if(e!=null){try{return zg.call(e)}catch{}try{return e+""}catch{}}return""}var Qc=Ug,Wg=Yc,qg=Vg,Gg=Hc,Hg=Qc,Yg=/[\\^$.*+?()[\]{}|]/g,Qg=/^\[object .+?Constructor\]$/,Jg=Function.prototype,Kg=Object.prototype,Xg=Jg.toString,Zg=Kg.hasOwnProperty,ey=RegExp("^"+Xg.call(Zg).replace(Yg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ty(e){if(!Gg(e)||qg(e))return!1;var t=Wg(e)?ey:Qg;return t.test(Hg(e))}var ry=ty;function ny(e,t){return e==null?void 0:e[t]}var oy=ny,iy=ry,sy=oy;function ay(e,t){var r=sy(e,t);return iy(r)?r:void 0}var hn=ay,cy=hn,ly=sr,uy=cy(ly,"DataView"),fy=uy,dy=hn,py=sr,hy=dy(py,"Map"),gy=hy,yy=hn,my=sr,vy=yy(my,"Promise"),by=vy,wy=hn,_y=sr,xy=wy(_y,"Set"),Sy=xy,$y=hn,Ey=sr,Ty=$y(Ey,"WeakMap"),Ay=Ty,ci=fy,li=gy,ui=by,fi=Sy,di=Ay,Jc=ho,Fr=Qc,Hs="[object Map]",Oy="[object Object]",Ys="[object Promise]",Qs="[object Set]",Js="[object WeakMap]",Ks="[object DataView]",Cy=Fr(ci),Ry=Fr(li),ky=Fr(ui),Py=Fr(fi),jy=Fr(di),lr=Jc;(ci&&lr(new ci(new ArrayBuffer(1)))!=Ks||li&&lr(new li)!=Hs||ui&&lr(ui.resolve())!=Ys||fi&&lr(new fi)!=Qs||di&&lr(new di)!=Js)&&(lr=function(e){var t=Jc(e),r=t==Oy?e.constructor:void 0,n=r?Fr(r):"";if(n)switch(n){case Cy:return Ks;case Ry:return Hs;case ky:return Ys;case Py:return Qs;case jy:return Js}return t});var Iy=lr;function My(e){return e!=null&&typeof e=="object"}var Gi=My,Ly=ho,Dy=Gi,Ny="[object Arguments]";function Fy(e){return Dy(e)&&Ly(e)==Ny}var Vy=Fy,Xs=Vy,By=Gi,Kc=Object.prototype,zy=Kc.hasOwnProperty,Uy=Kc.propertyIsEnumerable,Wy=Xs(function(){return arguments}())?Xs:function(e){return By(e)&&zy.call(e,"callee")&&!Uy.call(e,"callee")},qy=Wy,Gy=Array.isArray,Hy=Gy,Yy=9007199254740991;function Qy(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Yy}var Xc=Qy,Jy=Yc,Ky=Xc;function Xy(e){return e!=null&&Ky(e.length)&&!Jy(e)}var Zy=Xy,Hn={exports:{}};function em(){return!1}var tm=em;Hn.exports;(function(e,t){var r=sr,n=tm,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||n;e.exports=d})(Hn,Hn.exports);var rm=Hn.exports,nm=ho,om=Xc,im=Gi,sm="[object Arguments]",am="[object Array]",cm="[object Boolean]",lm="[object Date]",um="[object Error]",fm="[object Function]",dm="[object Map]",pm="[object Number]",hm="[object Object]",gm="[object RegExp]",ym="[object Set]",mm="[object String]",vm="[object WeakMap]",bm="[object ArrayBuffer]",wm="[object DataView]",_m="[object Float32Array]",xm="[object Float64Array]",Sm="[object Int8Array]",$m="[object Int16Array]",Em="[object Int32Array]",Tm="[object Uint8Array]",Am="[object Uint8ClampedArray]",Om="[object Uint16Array]",Cm="[object Uint32Array]",ke={};ke[_m]=ke[xm]=ke[Sm]=ke[$m]=ke[Em]=ke[Tm]=ke[Am]=ke[Om]=ke[Cm]=!0;ke[sm]=ke[am]=ke[bm]=ke[cm]=ke[wm]=ke[lm]=ke[um]=ke[fm]=ke[dm]=ke[pm]=ke[hm]=ke[gm]=ke[ym]=ke[mm]=ke[vm]=!1;function Rm(e){return im(e)&&om(e.length)&&!!ke[nm(e)]}var km=Rm;function Pm(e){return function(t){return e(t)}}var jm=Pm,Yn={exports:{}};Yn.exports;(function(e,t){var r=Wc,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c})(Yn,Yn.exports);var Im=Yn.exports,Mm=km,Lm=jm,Zs=Im,ea=Zs&&Zs.isTypedArray,Dm=ea?Lm(ea):Mm,Nm=Dm,Fm=cg,Vm=Iy,Bm=qy,zm=Hy,Um=Zy,Wm=rm,qm=Uc,Gm=Nm,Hm="[object Map]",Ym="[object Set]",Qm=Object.prototype,Jm=Qm.hasOwnProperty;function Km(e){if(e==null)return!0;if(Um(e)&&(zm(e)||typeof e=="string"||typeof e.splice=="function"||Wm(e)||Gm(e)||Bm(e)))return!e.length;var t=Vm(e);if(t==Hm||t==Ym)return!e.size;if(qm(e))return!Fm(e).length;for(var r in e)if(Jm.call(e,r))return!1;return!0}var Xm=Km;const Do=ua(Xm);var Zc={exports:{}};/*!
419
+ `,cf=["primary","secondary","tertiary","ghost"],lf=e=>cf.includes(e??""),Pr=Math.min,hr=Math.max,Nn=Math.round,On=Math.floor,or=e=>({x:e,y:e}),uf={left:"right",right:"left",bottom:"top",top:"bottom"},ff={start:"end",end:"start"};function Go(e,t,r){return hr(e,Pr(t,r))}function cn(e,t){return typeof e=="function"?e(t):e}function yr(e){return e.split("-")[0]}function ln(e){return e.split("-")[1]}function La(e){return e==="x"?"y":"x"}function bi(e){return e==="y"?"height":"width"}function jr(e){return["top","bottom"].includes(yr(e))?"y":"x"}function wi(e){return La(jr(e))}function df(e,t,r){r===void 0&&(r=!1);const n=ln(e),o=wi(e),i=bi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Fn(s)),[s,Fn(s)]}function pf(e){const t=Fn(e);return[Ho(e),t,Ho(t)]}function Ho(e){return e.replace(/start|end/g,t=>ff[t])}function hf(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function gf(e,t,r,n){const o=ln(e);let i=hf(yr(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Ho)))),i}function Fn(e){return e.replace(/left|right|bottom|top/g,t=>uf[t])}function mf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Da(e){return typeof e!="number"?mf(e):{top:e,right:e,bottom:e,left:e}}function Vn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function bs(e,t,r){let{reference:n,floating:o}=e;const i=jr(t),s=wi(t),l=bi(s),u=yr(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,_=n[l]/2-o[l]/2;let v;switch(u){case"top":v={x:h,y:n.y-o.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y};break;case"left":v={x:n.x-o.width,y};break;default:v={x:n.x,y:n.y}}switch(ln(t)){case"start":v[s]-=_*(r&&d?-1:1);break;case"end":v[s]+=_*(r&&d?-1:1);break}return v}const yf=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y}=bs(d,n,u),_=n,v={},T=0;for(let O=0;O<l.length;O++){const{name:R,fn:E}=l[O],{x:A,y:k,data:I,reset:M}=await E({x:h,y,initialPlacement:n,placement:_,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=A??h,y=k??y,v={...v,[R]:{...v[R],...I}},M&&T<=50&&(T++,typeof M=="object"&&(M.placement&&(_=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y}=bs(d,_,u)),O=-1)}return{x:h,y,placement:_,strategy:o,middlewareData:v}};async function Na(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:_=!1,padding:v=0}=cn(t,e),T=Da(v),R=l[_?y==="floating"?"reference":"floating":y],E=Vn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:u})),A=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},M=Vn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:A,offsetParent:k,strategy:u}):A);return{top:(E.top-M.top+T.top)/I.y,bottom:(M.bottom-E.bottom+T.bottom)/I.y,left:(E.left-M.left+T.left)/I.x,right:(M.right-E.right+T.right)/I.x}}const vf=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:l,middlewareData:u}=t,{element:d,padding:h=0}=cn(e,t)||{};if(d==null)return{};const y=Da(h),_={x:r,y:n},v=wi(o),T=bi(v),O=await s.getDimensions(d),R=v==="y",E=R?"top":"left",A=R?"bottom":"right",k=R?"clientHeight":"clientWidth",I=i.reference[T]+i.reference[v]-_[v]-i.floating[T],M=_[v]-i.reference[v],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[k]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=l.floating[k]||i.floating[T]);const ve=I/2-M/2,be=P/2-O[T]/2-1,pe=Pr(y[E],be),Ne=Pr(y[A],be),Me=pe,we=P-O[T]-Ne,Q=P/2-O[T]/2+ve,$e=Go(Me,Q,we),ie=!u.arrow&&ln(o)!=null&&Q!==$e&&i.reference[T]/2-(Q<Me?pe:Ne)-O[T]/2<0,se=ie?Q<Me?Q-Me:Q-we:0;return{[v]:_[v]+se,data:{[v]:$e,centerOffset:Q-$e-se,...ie&&{alignmentOffset:se}},reset:ie}}}),bf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:_,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:O=!0,...R}=cn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=yr(o),A=jr(l),k=yr(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=_||(k||!O?[Fn(l)]:pf(l)),D=T!=="none";!_&&D&&M.push(...gf(l,O,T,I));const P=[l,...M],ve=await Na(t,R),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[E]),y){const Q=df(o,s,I);be.push(ve[Q[0]],ve[Q[1]])}if(pe=[...pe,{placement:o,overflows:be}],!be.every(Q=>Q<=0)){var Ne,Me;const Q=(((Ne=i.flip)==null?void 0:Ne.index)||0)+1,$e=P[Q];if($e)return{data:{index:Q,overflows:pe},reset:{placement:$e}};let ie=(Me=pe.filter(se=>se.overflows[0]<=0).sort((se,ae)=>se.overflows[1]-ae.overflows[1])[0])==null?void 0:Me.placement;if(!ie)switch(v){case"bestFit":{var we;const se=(we=pe.filter(ae=>{if(D){const re=jr(ae.placement);return re===A||re==="y"}return!0}).map(ae=>[ae.placement,ae.overflows.filter(re=>re>0).reduce((re,q)=>re+q,0)]).sort((ae,re)=>ae[1]-re[1])[0])==null?void 0:we[0];se&&(ie=se);break}case"initialPlacement":ie=l;break}if(o!==ie)return{reset:{placement:ie}}}return{}}}};async function wf(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=yr(r),l=ln(r),u=jr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=cn(t,e);let{mainAxis:_,crossAxis:v,alignmentAxis:T}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return l&&typeof T=="number"&&(v=l==="end"?T*-1:T),u?{x:v*h,y:_*d}:{x:_*d,y:v*h}}const _f=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:l}=t,u=await wf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},xf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:R=>{let{x:E,y:A}=R;return{x:E,y:A}}},...u}=cn(e,t),d={x:r,y:n},h=await Na(t,u),y=jr(yr(o)),_=La(y);let v=d[_],T=d[y];if(i){const R=_==="y"?"top":"left",E=_==="y"?"bottom":"right",A=v+h[R],k=v-h[E];v=Go(A,v,k)}if(s){const R=y==="y"?"top":"left",E=y==="y"?"bottom":"right",A=T+h[R],k=T-h[E];T=Go(A,T,k)}const O=l.fn({...t,[_]:v,[y]:T});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[_]:i,[y]:s}}}}}};function to(){return typeof window<"u"}function Lr(e){return Fa(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ht(e){var t;return(t=(Fa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fa(e){return to()?e instanceof Node||e instanceof Ct(e).Node:!1}function Vt(e){return to()?e instanceof Element||e instanceof Ct(e).Element:!1}function Gt(e){return to()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function ws(e){return!to()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function un(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Sf(e){return["table","td","th"].includes(Lr(e))}function ro(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function _i(e){const t=xi(),r=Vt(e)?Bt(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(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 $f(e){let t=ir(e);for(;Gt(t)&&!Ir(t);){if(_i(t))return t;if(ro(t))return null;t=ir(t)}return null}function xi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ir(e){return["html","body","#document"].includes(Lr(e))}function Bt(e){return Ct(e).getComputedStyle(e)}function no(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Lr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ws(e)&&e.host||Ht(e);return ws(t)?t.host:t}function Va(e){const t=ir(e);return Ir(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gt(t)&&un(t)?t:Va(t)}function Qr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Va(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Ct(o);if(i){const l=Yo(s);return t.concat(s,s.visualViewport||[],un(o)?o:[],l&&r?Qr(l):[])}return t.concat(o,Qr(o,[],r))}function Yo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ba(e){const t=Bt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Gt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=Nn(r)!==i||Nn(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function Si(e){return Vt(e)?e:e.contextElement}function Er(e){const t=Si(e);if(!Gt(t))return or(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ba(t);let s=(i?Nn(r.width):r.width)/n,l=(i?Nn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ef=or(0);function za(e){const t=Ct(e);return!xi()||!t.visualViewport?Ef:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Tf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(e)?!1:t}function vr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Si(e);let s=or(1);t&&(n?Vt(n)&&(s=Er(n)):s=Er(e));const l=Tf(i,r,n)?za(i):or(0);let u=(o.left+l.x)/s.x,d=(o.top+l.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const _=Ct(i),v=n&&Vt(n)?Ct(n):n;let T=_,O=Yo(T);for(;O&&n&&v!==T;){const R=Er(O),E=O.getBoundingClientRect(),A=Bt(O),k=E.left+(O.clientLeft+parseFloat(A.paddingLeft))*R.x,I=E.top+(O.clientTop+parseFloat(A.paddingTop))*R.y;u*=R.x,d*=R.y,h*=R.x,y*=R.y,u+=k,d+=I,T=Ct(O),O=Yo(T)}}return Vn({width:h,height:y,x:u,y:d})}function Af(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ht(n),l=t?ro(t.floating):!1;if(n===s||l&&i)return r;let u={scrollLeft:0,scrollTop:0},d=or(1);const h=or(0),y=Gt(n);if((y||!y&&!i)&&((Lr(n)!=="body"||un(s))&&(u=no(n)),Gt(n))){const _=vr(n);d=Er(n),h.x=_.x+n.clientLeft,h.y=_.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function Of(e){return Array.from(e.getClientRects())}function Qo(e,t){const r=no(e).scrollLeft;return t?t.left+r:vr(Ht(e)).left+r}function Cf(e){const t=Ht(e),r=no(e),n=e.ownerDocument.body,o=hr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=hr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Qo(e);const l=-r.scrollTop;return Bt(n).direction==="rtl"&&(s+=hr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function Rf(e,t){const r=Ct(e),n=Ht(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,l=0,u=0;if(o){i=o.width,s=o.height;const d=xi();(!d||d&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:l,y:u}}function kf(e,t){const r=vr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Gt(e)?Er(e):or(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:l,x:u,y:d}}function _s(e,t,r){let n;if(t==="viewport")n=Rf(e,r);else if(t==="document")n=Cf(Ht(e));else if(Vt(t))n=kf(t,r);else{const o=za(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Vn(n)}function Ua(e,t){const r=ir(e);return r===t||!Vt(r)||Ir(r)?!1:Bt(r).position==="fixed"||Ua(r,t)}function Pf(e,t){const r=t.get(e);if(r)return r;let n=Qr(e,[],!1).filter(l=>Vt(l)&&Lr(l)!=="body"),o=null;const i=Bt(e).position==="fixed";let s=i?ir(e):e;for(;Vt(s)&&!Ir(s);){const l=Bt(s),u=_i(s);!u&&l.position==="fixed"&&(o=null),(i?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||un(s)&&!u&&Ua(e,s))?n=n.filter(h=>h!==s):o=l,s=ir(s)}return t.set(e,n),n}function jf(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?ro(t)?[]:Pf(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((d,h)=>{const y=_s(t,h,o);return d.top=hr(y.top,d.top),d.right=Pr(y.right,d.right),d.bottom=Pr(y.bottom,d.bottom),d.left=hr(y.left,d.left),d},_s(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function If(e){const{width:t,height:r}=Ba(e);return{width:t,height:r}}function Mf(e,t,r){const n=Gt(t),o=Ht(t),i=r==="fixed",s=vr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=or(0);if(n||!n&&!i)if((Lr(t)!=="body"||un(o))&&(l=no(t)),n){const v=vr(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=Qo(o));let d=0,h=0;if(o&&!n&&!i){const v=o.getBoundingClientRect();h=v.top+l.scrollTop,d=v.left+l.scrollLeft-Qo(o,v)}const y=s.left+l.scrollLeft-u.x-d,_=s.top+l.scrollTop-u.y-h;return{x:y,y:_,width:s.width,height:s.height}}function ko(e){return Bt(e).position==="static"}function xs(e,t){if(!Gt(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ht(e)===r&&(r=r.ownerDocument.body),r}function Wa(e,t){const r=Ct(e);if(ro(e))return r;if(!Gt(e)){let o=ir(e);for(;o&&!Ir(o);){if(Vt(o)&&!ko(o))return o;o=ir(o)}return r}let n=xs(e,t);for(;n&&Sf(n)&&ko(n);)n=xs(n,t);return n&&Ir(n)&&ko(n)&&!_i(n)?r:n||$f(e)||r}const Lf=async function(e){const t=this.getOffsetParent||Wa,r=this.getDimensions,n=await r(e.floating);return{reference:Mf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Df(e){return Bt(e).direction==="rtl"}const Nf={convertOffsetParentRelativeRectToViewportRelativeRect:Af,getDocumentElement:Ht,getClippingRect:jf,getOffsetParent:Wa,getElementRects:Lf,getClientRects:Of,getDimensions:If,getScale:Er,isElement:Vt,isRTL:Df};function Ff(e,t){let r=null,n;const o=Ht(e);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:y,height:_}=e.getBoundingClientRect();if(l||t(),!y||!_)return;const v=On(h),T=On(o.clientWidth-(d+y)),O=On(o.clientHeight-(h+_)),R=On(d),A={rootMargin:-v+"px "+-T+"px "+-O+"px "+-R+"px",threshold:hr(0,Pr(1,u))||1};let k=!0;function I(M){const D=M[0].intersectionRatio;if(D!==u){if(!k)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(I,{...A,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,A)}r.observe(e)}return s(!0),i}function Vf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=Si(e),h=o||i?[...d?Qr(d):[],...Qr(t)]:[];h.forEach(E=>{o&&E.addEventListener("scroll",r,{passive:!0}),i&&E.addEventListener("resize",r)});const y=d&&l?Ff(d,r):null;let _=-1,v=null;s&&(v=new ResizeObserver(E=>{let[A]=E;A&&A.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var k;(k=v)==null||k.observe(t)})),r()}),d&&!u&&v.observe(d),v.observe(t));let T,O=u?vr(e):null;u&&R();function R(){const E=vr(e);O&&(E.x!==O.x||E.y!==O.y||E.width!==O.width||E.height!==O.height)&&r(),O=E,T=requestAnimationFrame(R)}return r(),()=>{var E;h.forEach(A=>{o&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),y==null||y(),(E=v)==null||E.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const qa=_f,Bf=xf,Ga=bf,zf=vf,Ss=(e,t,r)=>{const n=new Map,o={platform:Nf,...r},i={...o.platform,_c:n};return yf(e,t,{...o,platform:i})},Uf=(e,t)=>({...qa(e),options:[e,t]}),Wf=(e,t)=>({...Ga(e),options:[e,t]});var qf=Object.prototype;function Gf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||qf;return e===r}var Ha=Gf;function Hf(e,t){return function(r){return e(t(r))}}var Yf=Hf,Qf=Yf,Jf=Qf(Object.keys,Object),Kf=Jf,Xf=Ha,Zf=Kf,ed=Object.prototype,td=ed.hasOwnProperty;function rd(e){if(!Xf(e))return Zf(e);var t=[];for(var r in Object(e))td.call(e,r)&&r!="constructor"&&t.push(r);return t}var nd=rd,od=typeof Sn=="object"&&Sn&&Sn.Object===Object&&Sn,Ya=od,id=Ya,sd=typeof self=="object"&&self&&self.Object===Object&&self,ad=id||sd||Function("return this")(),sr=ad,cd=sr,ld=cd.Symbol,Qa=ld,$s=Qa,Ja=Object.prototype,ud=Ja.hasOwnProperty,fd=Ja.toString,qr=$s?$s.toStringTag:void 0;function dd(e){var t=ud.call(e,qr),r=e[qr];try{e[qr]=void 0;var n=!0}catch{}var o=fd.call(e);return n&&(t?e[qr]=r:delete e[qr]),o}var pd=dd,hd=Object.prototype,gd=hd.toString;function md(e){return gd.call(e)}var yd=md,Es=Qa,vd=pd,bd=yd,wd="[object Null]",_d="[object Undefined]",Ts=Es?Es.toStringTag:void 0;function xd(e){return e==null?e===void 0?_d:wd:Ts&&Ts in Object(e)?vd(e):bd(e)}var oo=xd;function Sd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ka=Sd,$d=oo,Ed=Ka,Td="[object AsyncFunction]",Ad="[object Function]",Od="[object GeneratorFunction]",Cd="[object Proxy]";function Rd(e){if(!Ed(e))return!1;var t=$d(e);return t==Ad||t==Od||t==Td||t==Cd}var Xa=Rd,kd=sr,Pd=kd["__core-js_shared__"],jd=Pd,Po=jd,As=function(){var e=/[^.]+$/.exec(Po&&Po.keys&&Po.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Id(e){return!!As&&As in e}var Md=Id,Ld=Function.prototype,Dd=Ld.toString;function Nd(e){if(e!=null){try{return Dd.call(e)}catch{}try{return e+""}catch{}}return""}var Za=Nd,Fd=Xa,Vd=Md,Bd=Ka,zd=Za,Ud=/[\\^$.*+?()[\]{}|]/g,Wd=/^\[object .+?Constructor\]$/,qd=Function.prototype,Gd=Object.prototype,Hd=qd.toString,Yd=Gd.hasOwnProperty,Qd=RegExp("^"+Hd.call(Yd).replace(Ud,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jd(e){if(!Bd(e)||Vd(e))return!1;var t=Fd(e)?Qd:Wd;return t.test(zd(e))}var Kd=Jd;function Xd(e,t){return e==null?void 0:e[t]}var Zd=Xd,ep=Kd,tp=Zd;function rp(e,t){var r=tp(e,t);return ep(r)?r:void 0}var fn=rp,np=fn,op=sr,ip=np(op,"DataView"),sp=ip,ap=fn,cp=sr,lp=ap(cp,"Map"),up=lp,fp=fn,dp=sr,pp=fp(dp,"Promise"),hp=pp,gp=fn,mp=sr,yp=gp(mp,"Set"),vp=yp,bp=fn,wp=sr,_p=bp(wp,"WeakMap"),xp=_p,Jo=sp,Ko=up,Xo=hp,Zo=vp,ei=xp,ec=oo,Dr=Za,Os="[object Map]",Sp="[object Object]",Cs="[object Promise]",Rs="[object Set]",ks="[object WeakMap]",Ps="[object DataView]",$p=Dr(Jo),Ep=Dr(Ko),Tp=Dr(Xo),Ap=Dr(Zo),Op=Dr(ei),lr=ec;(Jo&&lr(new Jo(new ArrayBuffer(1)))!=Ps||Ko&&lr(new Ko)!=Os||Xo&&lr(Xo.resolve())!=Cs||Zo&&lr(new Zo)!=Rs||ei&&lr(new ei)!=ks)&&(lr=function(e){var t=ec(e),r=t==Sp?e.constructor:void 0,n=r?Dr(r):"";if(n)switch(n){case $p:return Ps;case Ep:return Os;case Tp:return Cs;case Ap:return Rs;case Op:return ks}return t});var Cp=lr;function Rp(e){return e!=null&&typeof e=="object"}var $i=Rp,kp=oo,Pp=$i,jp="[object Arguments]";function Ip(e){return Pp(e)&&kp(e)==jp}var Mp=Ip,js=Mp,Lp=$i,tc=Object.prototype,Dp=tc.hasOwnProperty,Np=tc.propertyIsEnumerable,Fp=js(function(){return arguments}())?js:function(e){return Lp(e)&&Dp.call(e,"callee")&&!Np.call(e,"callee")},Vp=Fp,Bp=Array.isArray,zp=Bp,Up=9007199254740991;function Wp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Up}var rc=Wp,qp=Xa,Gp=rc;function Hp(e){return e!=null&&Gp(e.length)&&!qp(e)}var Yp=Hp,Bn={exports:{}};function Qp(){return!1}var Jp=Qp;Bn.exports;(function(e,t){var r=sr,n=Jp,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||n;e.exports=d})(Bn,Bn.exports);var Kp=Bn.exports,Xp=oo,Zp=rc,eh=$i,th="[object Arguments]",rh="[object Array]",nh="[object Boolean]",oh="[object Date]",ih="[object Error]",sh="[object Function]",ah="[object Map]",ch="[object Number]",lh="[object Object]",uh="[object RegExp]",fh="[object Set]",dh="[object String]",ph="[object WeakMap]",hh="[object ArrayBuffer]",gh="[object DataView]",mh="[object Float32Array]",yh="[object Float64Array]",vh="[object Int8Array]",bh="[object Int16Array]",wh="[object Int32Array]",_h="[object Uint8Array]",xh="[object Uint8ClampedArray]",Sh="[object Uint16Array]",$h="[object Uint32Array]",ke={};ke[mh]=ke[yh]=ke[vh]=ke[bh]=ke[wh]=ke[_h]=ke[xh]=ke[Sh]=ke[$h]=!0;ke[th]=ke[rh]=ke[hh]=ke[nh]=ke[gh]=ke[oh]=ke[ih]=ke[sh]=ke[ah]=ke[ch]=ke[lh]=ke[uh]=ke[fh]=ke[dh]=ke[ph]=!1;function Eh(e){return eh(e)&&Zp(e.length)&&!!ke[Xp(e)]}var Th=Eh;function Ah(e){return function(t){return e(t)}}var Oh=Ah,zn={exports:{}};zn.exports;(function(e,t){var r=Ya,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(zn,zn.exports);var Ch=zn.exports,Rh=Th,kh=Oh,Is=Ch,Ms=Is&&Is.isTypedArray,Ph=Ms?kh(Ms):Rh,jh=Ph,Ih=nd,Mh=Cp,Lh=Vp,Dh=zp,Nh=Yp,Fh=Kp,Vh=Ha,Bh=jh,zh="[object Map]",Uh="[object Set]",Wh=Object.prototype,qh=Wh.hasOwnProperty;function Gh(e){if(e==null)return!0;if(Nh(e)&&(Dh(e)||typeof e=="string"||typeof e.splice=="function"||Fh(e)||Bh(e)||Lh(e)))return!e.length;var t=Mh(e);if(t==zh||t==Uh)return!e.size;if(Vh(e))return!Ih(e).length;for(var r in e)if(qh.call(e,r))return!1;return!0}var Hh=Gh;const jo=ca(Hh);var nc={exports:{}};/*!
472
420
  Copyright (c) 2018 Jed Watson.
473
421
  Licensed under the MIT License (MIT), see
474
422
  http://jedwatson.github.io/classnames
475
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var c=arguments[s];c&&(i=o(i,n(c)))}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 c in i)t.call(i,c)&&i[c]&&(s=o(s,c));return s}function o(i,s){return s?i?i+" "+s:i+s:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Zc);var Zm=Zc.exports;const pi=ua(Zm);/*
423
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(i=o(i,n(l)))}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 l in i)t.call(i,l)&&i[l]&&(s=o(s,l));return s}function o(i,s){return s?i?i+" "+s:i+s:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(nc);var Yh=nc.exports;const ti=ca(Yh);/*
476
424
  * React Tooltip
477
425
  * {@link https://github.com/ReactTooltip/react-tooltip}
478
426
  * @copyright ReactTooltip Team
479
427
  * @license MIT
480
- */const ev="react-tooltip-core-styles",tv="react-tooltip-base-styles",ta={core:!1,base:!1};function ra({css:e,id:t=tv,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||ta[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"&&(t=ev),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const c=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&c.firstChild?c.insertBefore(u,c.firstChild):c.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),ta[r]=!0}const na=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[Bc(Number(o)),zc({fallbackAxisSideDirection:"start"}),Gh({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(Hh({element:r,padding:5})),zs(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:m,middlewareData:w})=>{var v,T;const x={left:`${d}px`,top:`${h}px`,border:c},{x:O,y:A}=(v=w.arrow)!==null&&v!==void 0?v:{x:0,y:0},C=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[m.split("-")[0]])!==null&&T!==void 0?T:"bottom",k=c&&{borderBottom:c,borderRight:c};let I=0;if(c){const M=`${c}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:x,tooltipArrowStyles:{left:O!=null?`${O}px`:"",top:A!=null?`${A}px`:"",right:"",bottom:"",...k,[C]:`-${4+I}px`},place:m}})):zs(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:m})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:m}))},oa=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),ia=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},sa=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",hi=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>hi(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!sa(e)||!sa(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>hi(e[o],t[o]))},rv=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},aa=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(rv(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},nv=typeof window<"u"?$.useLayoutEffect:$.useEffect,Mt=e=>{e.current&&(clearTimeout(e.current),e.current=null)},ov="DEFAULT_TOOLTIP_ID",iv={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},sv=$.createContext({getTooltipData:()=>iv});function el(e=ov){return $.useContext(sv).getTooltipData(e)}var Er={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"},No={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 av=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:c="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:w,wrapper:v,delayShow:T=0,delayHide:x=0,float:O=!1,hidden:A=!1,noArrow:C=!1,clickable:k=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:ve,globalCloseEvents:be,imperativeModeOnly:pe,style:Ne,position:Me,afterShow:we,afterHide:J,disableTooltip:$e,content:se,contentWrapperRef:ae,isOpen:ce,defaultIsOpen:re=!1,setIsOpen:G,activeAnchor:le,setActiveAnchor:ge,border:H,opacity:st,arrowColor:tt,role:We="tooltip"})=>{var qe;const fe=$.useRef(null),_e=$.useRef(null),Ee=$.useRef(null),Be=$.useRef(null),Pe=$.useRef(null),[ft,kt]=$.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[Te,dt]=$.useState(!1),[Je,pt]=$.useState(!1),[de,ht]=$.useState(null),gt=$.useRef(!1),yt=$.useRef(null),{anchorRefs:Ct,setActiveAnchor:rt}=el(t),at=$.useRef(!1),[mt,Ke]=$.useState([]),xt=$.useRef(!1),St=h||d.includes("click"),Pt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),Ge=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(Ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const jt=ve?{...ve}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!ve&&St&&Object.assign(jt,{mouseleave:!1,blur:!1,mouseout:!1});const nt=be?{...be}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:Pt||!1};pe&&(Object.assign(Ge,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(jt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),nv(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=R=>{xt.current&&(R&&pt(!0),setTimeout(()=>{xt.current&&(G==null||G(R),ce===void 0&&dt(R))},10))};$.useEffect(()=>{if(ce===void 0)return()=>null;ce&&pt(!0);const R=setTimeout(()=>{dt(ce)},10);return()=>{clearTimeout(R)}},[ce]),$.useEffect(()=>{if(Te!==gt.current)if(Mt(Pe),gt.current=Te,Te)we==null||we();else{const R=(V=>{const z=V.match(/^([\d.]+)(ms|s)$/);if(!z)return 0;const[,Ae,Le]=z;return Number(Ae)*(Le==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),J==null||J()},R+25)}},[Te]);const Nt=R=>{kt(V=>hi(V,R)?V:R)},Ft=(R=T)=>{Mt(Ee),Je?xe(!0):Ee.current=setTimeout(()=>{xe(!0)},R)},vt=(R=x)=>{Mt(Be),Be.current=setTimeout(()=>{at.current||xe(!1)},R)},bt=R=>{var V;if(!R)return;const z=(V=R.currentTarget)!==null&&V!==void 0?V:R.target;if(!(z!=null&&z.isConnected))return ge(null),void rt({current:null});T?Ft():xe(!0),ge(z),rt({current:z}),Mt(Be)},He=()=>{k?vt(x||100):x?vt():xe(!1),Mt(Ee)},ct=({x:R,y:V})=>{var z;const Ae={getBoundingClientRect:()=>({x:R,y:V,width:0,height:0,top:V,left:R,right:R,bottom:V})};na({place:(z=de==null?void 0:de.place)!==null&&z!==void 0?z:c,offset:u,elementReference:Ae,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:m,middlewares:w,border:H}).then(Le=>{Nt(Le)})},ze=R=>{if(!R)return;const V=R,z={x:V.clientX,y:V.clientY};ct(z),yt.current=z},Ye=R=>{var V;if(!Te)return;const z=R.target;z.isConnected&&(!((V=fe.current)===null||V===void 0)&&V.contains(z)||[document.querySelector(`[id='${i}']`),...mt].some(Ae=>Ae==null?void 0:Ae.contains(z))||(xe(!1),Mt(Ee)))},$t=ia(bt,50),Se=ia(He,50),Xe=R=>{Se.cancel(),$t(R)},N=()=>{$t.cancel(),Se()},Z=$.useCallback(()=>{var R,V;const z=(R=de==null?void 0:de.position)!==null&&R!==void 0?R:Me;z?ct(z):O?yt.current&&ct(yt.current):le!=null&&le.isConnected&&na({place:(V=de==null?void 0:de.place)!==null&&V!==void 0?V:c,offset:u,elementReference:le,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:m,middlewares:w,border:H}).then(Ae=>{xt.current&&Nt(Ae)})},[Te,le,se,Ne,c,de==null?void 0:de.place,u,m,Me,de==null?void 0:de.position,O]);$.useEffect(()=>{var R,V;const z=new Set(Ct);mt.forEach(B=>{$e!=null&&$e(B)||z.add({current:B})});const Ae=document.querySelector(`[id='${i}']`);Ae&&!($e!=null&&$e(Ae))&&z.add({current:Ae});const Le=()=>{xe(!1)},lt=aa(le),Oe=aa(fe.current);nt.scroll&&(window.addEventListener("scroll",Le),lt==null||lt.addEventListener("scroll",Le),Oe==null||Oe.addEventListener("scroll",Le));let f=null;nt.resize?window.addEventListener("resize",Le):le&&fe.current&&(f=qh(le,fe.current,Z,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=B=>{B.key==="Escape"&&xe(!1)};nt.escape&&window.addEventListener("keydown",b),nt.clickOutsideAnchor&&window.addEventListener("click",Ye);const E=[],F=B=>{Te&&(B==null?void 0:B.target)===le||bt(B)},ie=B=>{Te&&(B==null?void 0:B.target)===le&&He()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],K=["click","dblclick","mousedown","mouseup"];Object.entries(Ge).forEach(([B,ue])=>{ue&&(te.includes(B)?E.push({event:B,listener:Xe}):K.includes(B)&&E.push({event:B,listener:F}))}),Object.entries(jt).forEach(([B,ue])=>{ue&&(te.includes(B)?E.push({event:B,listener:N}):K.includes(B)&&E.push({event:B,listener:ie}))}),O&&E.push({event:"pointermove",listener:ze});const Q=()=>{at.current=!0},De=()=>{at.current=!1,He()};return k&&!Pt&&((R=fe.current)===null||R===void 0||R.addEventListener("mouseenter",Q),(V=fe.current)===null||V===void 0||V.addEventListener("mouseleave",De)),E.forEach(({event:B,listener:ue})=>{z.forEach(Ce=>{var Ze;(Ze=Ce.current)===null||Ze===void 0||Ze.addEventListener(B,ue)})}),()=>{var B,ue;nt.scroll&&(window.removeEventListener("scroll",Le),lt==null||lt.removeEventListener("scroll",Le),Oe==null||Oe.removeEventListener("scroll",Le)),nt.resize?window.removeEventListener("resize",Le):f==null||f(),nt.clickOutsideAnchor&&window.removeEventListener("click",Ye),nt.escape&&window.removeEventListener("keydown",b),k&&!Pt&&((B=fe.current)===null||B===void 0||B.removeEventListener("mouseenter",Q),(ue=fe.current)===null||ue===void 0||ue.removeEventListener("mouseleave",De)),E.forEach(({event:Ce,listener:Ze})=>{z.forEach(Yt=>{var ot;(ot=Yt.current)===null||ot===void 0||ot.removeEventListener(Ce,Ze)})})}},[le,Z,Je,Ct,mt,P,ve,be,St,T,x]),$.useEffect(()=>{var R,V;let z=(V=(R=de==null?void 0:de.anchorSelect)!==null&&R!==void 0?R:s)!==null&&V!==void 0?V:"";!z&&t&&(z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ae=new MutationObserver(Le=>{const lt=[],Oe=[];Le.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?lt.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(le){const b=[...f.removedNodes].filter(E=>E.nodeType===1);if(z)try{Oe.push(...b.filter(E=>E.matches(z))),Oe.push(...b.flatMap(E=>[...E.querySelectorAll(z)]))}catch{}b.some(E=>{var F;return!!(!((F=E==null?void 0:E.contains)===null||F===void 0)&&F.call(E,le))&&(pt(!1),xe(!1),ge(null),Mt(Ee),Mt(Be),!0)})}if(z)try{const b=[...f.addedNodes].filter(E=>E.nodeType===1);lt.push(...b.filter(E=>E.matches(z))),lt.push(...b.flatMap(E=>[...E.querySelectorAll(z)]))}catch{}}}),(lt.length||Oe.length)&&Ke(f=>[...f.filter(b=>!Oe.includes(b)),...lt])});return Ae.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ae.disconnect()}},[t,s,de==null?void 0:de.anchorSelect,le]),$.useEffect(()=>{Z()},[Z]),$.useEffect(()=>{if(!(ae!=null&&ae.current))return()=>null;const R=new ResizeObserver(()=>{setTimeout(()=>Z())});return R.observe(ae.current),()=>{R.disconnect()}},[se,ae==null?void 0:ae.current]),$.useEffect(()=>{var R;const V=document.querySelector(`[id='${i}']`),z=[...mt,V];le&&z.includes(le)||ge((R=mt[0])!==null&&R!==void 0?R:V)},[i,mt,le]),$.useEffect(()=>(re&&xe(!0),()=>{Mt(Ee),Mt(Be)}),[]),$.useEffect(()=>{var R;let V=(R=de==null?void 0:de.anchorSelect)!==null&&R!==void 0?R:s;if(!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),V)try{const z=Array.from(document.querySelectorAll(V));Ke(z)}catch{Ke([])}},[t,s,de==null?void 0:de.anchorSelect]),$.useEffect(()=>{Ee.current&&(Mt(Ee),Ft(T))},[T]);const je=(qe=de==null?void 0:de.content)!==null&&qe!==void 0?qe:se,wt=Te&&Object.keys(ft.tooltipStyles).length>0;return $.useImperativeHandle(e,()=>({open:R=>{if(R!=null&&R.anchorSelect)try{document.querySelector(R.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${R.anchorSelect}" is not a valid CSS selector`)}ht(R??null),R!=null&&R.delay?Ft(R.delay):xe(!0)},close:R=>{R!=null&&R.delay?vt(R.delay):xe(!1)},activeAnchor:le,place:ft.place,isOpen:!!(Je&&!A&&je&&wt)})),Je&&!A&&je?$.createElement(v,{id:t,role:We,className:pi("react-tooltip",Er.tooltip,No.tooltip,No[o],r,`react-tooltip__place-${ft.place}`,Er[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",m==="fixed"&&Er.fixed,k&&Er.clickable),onTransitionEnd:R=>{Mt(Pe),Te||R.propertyName!=="opacity"||(pt(!1),ht(null),J==null||J())},style:{...Ne,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:fe},je,$.createElement(v,{className:pi("react-tooltip-arrow",Er.arrow,No.arrow,n,C&&Er.noArrow),style:{...ft.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:_e})):null},cv=({content:e})=>$.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),lv=$.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:c,variant:u="dark",place:d="top",offset:h=10,wrapper:m="div",children:w=null,events:v=["hover"],openOnClick:T=!1,positionStrategy:x="absolute",middlewares:O,delayShow:A=0,delayHide:C=0,float:k=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:ve=!1,closeOnResize:be=!1,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we=!1,style:J,position:$e,isOpen:se,defaultIsOpen:ae=!1,disableStyleInjection:ce=!1,border:re,opacity:G,arrowColor:le,setIsOpen:ge,afterShow:H,afterHide:st,disableTooltip:tt,role:We="tooltip"},qe)=>{const[fe,_e]=$.useState(n),[Ee,Be]=$.useState(o),[Pe,ft]=$.useState(d),[kt,Te]=$.useState(u),[dt,Je]=$.useState(h),[pt,de]=$.useState(A),[ht,gt]=$.useState(C),[yt,Ct]=$.useState(k),[rt,at]=$.useState(I),[mt,Ke]=$.useState(m),[xt,St]=$.useState(v),[Pt,Ge]=$.useState(x),[jt,nt]=$.useState(null),[xe,Nt]=$.useState(null),Ft=$.useRef(ce),{anchorRefs:vt,activeAnchor:bt}=el(e),He=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,N)=>{var Z;return N.startsWith("data-tooltip-")&&(Xe[N.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(N))!==null&&Z!==void 0?Z:null),Xe},{}),ct=Se=>{const Xe={place:N=>{var Z;ft((Z=N)!==null&&Z!==void 0?Z:d)},content:N=>{_e(N??n)},html:N=>{Be(N??o)},variant:N=>{var Z;Te((Z=N)!==null&&Z!==void 0?Z:u)},offset:N=>{Je(N===null?h:Number(N))},wrapper:N=>{var Z;Ke((Z=N)!==null&&Z!==void 0?Z:m)},events:N=>{const Z=N==null?void 0:N.split(" ");St(Z??v)},"position-strategy":N=>{var Z;Ge((Z=N)!==null&&Z!==void 0?Z:x)},"delay-show":N=>{de(N===null?A:Number(N))},"delay-hide":N=>{gt(N===null?C:Number(N))},float:N=>{Ct(N===null?k:N==="true")},hidden:N=>{at(N===null?I:N==="true")},"class-name":N=>{nt(N)}};Object.values(Xe).forEach(N=>N(null)),Object.entries(Se).forEach(([N,Z])=>{var je;(je=Xe[N])===null||je===void 0||je.call(Xe,Z)})};$.useEffect(()=>{_e(n)},[n]),$.useEffect(()=>{Be(o)},[o]),$.useEffect(()=>{ft(d)},[d]),$.useEffect(()=>{Te(u)},[u]),$.useEffect(()=>{Je(h)},[h]),$.useEffect(()=>{de(A)},[A]),$.useEffect(()=>{gt(C)},[C]),$.useEffect(()=>{Ct(k)},[k]),$.useEffect(()=>{at(I)},[I]),$.useEffect(()=>{Ge(x)},[x]),$.useEffect(()=>{Ft.current!==ce&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ce]),$.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ce==="core",disableBase:ce}}))},[]),$.useEffect(()=>{var Se;const Xe=new Set(vt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Xe.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Xe.add({current:Z}),!Xe.size)return()=>null;const je=(Se=xe??Z)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(V=>{V.forEach(z=>{var Ae;if(!je||z.type!=="attributes"||!(!((Ae=z.attributeName)===null||Ae===void 0)&&Ae.startsWith("data-tooltip-")))return;const Le=He(je);ct(Le)})}),R={attributes:!0,childList:!1,subtree:!1};if(je){const V=He(je);ct(V),wt.observe(je,R)}return()=>{wt.disconnect()}},[vt,bt,xe,t,r]),$.useEffect(()=>{J!=null&&J.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),re&&!oa("border",`${re}`)&&console.warn(`[react-tooltip] "${re}" is not a valid \`border\`.`),J!=null&&J.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),G&&!oa("opacity",`${G}`)&&console.warn(`[react-tooltip] "${G}" is not a valid \`opacity\`.`)},[]);let ze=w;const Ye=$.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:xe});ze=Se?$.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(ze=fe);Ee&&(ze=$.createElement(cv,{content:Ee}));const $t={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:pi(s,jt),classNameArrow:c,content:ze,contentWrapperRef:Ye,place:Pe,variant:kt,offset:dt,wrapper:mt,events:xt,openOnClick:T,positionStrategy:Pt,middlewares:O,delayShow:pt,delayHide:ht,float:yt,hidden:rt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we,style:J,position:$e,isOpen:se,defaultIsOpen:ae,border:re,opacity:G,arrowColor:le,setIsOpen:ge,afterShow:H,afterHide:st,disableTooltip:tt,activeAnchor:xe,setActiveAnchor:Se=>Nt(Se),role:We};return $.createElement(av,{...$t})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||ra({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"}),e.detail.disableBase||ra({css:`
481
- .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 uv=Qe(to)``,fv=Qe.div`
428
+ */const Qh="react-tooltip-core-styles",Jh="react-tooltip-base-styles",Ls={core:!1,base:!1};function Ds({css:e,id:t=Jh,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Ls[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"&&(t=Qh),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const l=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&l.firstChild?l.insertBefore(u,l.firstChild):l.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),Ls[r]=!0}const Ns=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[qa(Number(o)),Ga({fallbackAxisSideDirection:"start"}),Bf({padding:5})],border:l})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(zf({element:r,padding:5})),Ss(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:y,middlewareData:_})=>{var v,T;const O={left:`${d}px`,top:`${h}px`,border:l},{x:R,y:E}=(v=_.arrow)!==null&&v!==void 0?v:{x:0,y:0},A=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&T!==void 0?T:"bottom",k=l&&{borderBottom:l,borderRight:l};let I=0;if(l){const M=`${l}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:O,tooltipArrowStyles:{left:R!=null?`${R}px`:"",top:E!=null?`${E}px`:"",right:"",bottom:"",...k,[A]:`-${4+I}px`},place:y}})):Ss(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:h,placement:y})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},Fs=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Vs=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Bs=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",ri=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>ri(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Bs(e)||!Bs(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>ri(e[o],t[o]))},Kh=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},zs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Kh(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Xh=typeof window<"u"?S.useLayoutEffect:S.useEffect,It=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Zh="DEFAULT_TOOLTIP_ID",eg={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},tg=S.createContext({getTooltipData:()=>eg});function oc(e=Zh){return S.useContext(tg).getTooltipData(e)}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"},Io={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 rg=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:l="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:_,wrapper:v,delayShow:T=0,delayHide:O=0,float:R=!1,hidden:E=!1,noArrow:A=!1,clickable:k=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:ve,globalCloseEvents:be,imperativeModeOnly:pe,style:Ne,position:Me,afterShow:we,afterHide:Q,disableTooltip:$e,content:ie,contentWrapperRef:se,isOpen:ae,defaultIsOpen:re=!1,setIsOpen:q,activeAnchor:ce,setActiveAnchor:ge,border:G,opacity:st,arrowColor:tt,role:We="tooltip"})=>{var qe;const ue=S.useRef(null),_e=S.useRef(null),Ee=S.useRef(null),Be=S.useRef(null),Pe=S.useRef(null),[ft,Rt]=S.useState({tooltipStyles:{},tooltipArrowStyles:{},place:l}),[Te,dt]=S.useState(!1),[Je,pt]=S.useState(!1),[fe,ht]=S.useState(null),gt=S.useRef(!1),mt=S.useRef(null),{anchorRefs:Ot,setActiveAnchor:rt}=oc(t),at=S.useRef(!1),[yt,Ke]=S.useState([]),xt=S.useRef(!1),St=h||d.includes("click"),kt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),Ge=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(Ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=ve?{...ve}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!ve&&St&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const nt=be?{...be}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:kt||!1};pe&&(Object.assign(Ge,{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(nt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Xh(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=C=>{xt.current&&(C&&pt(!0),setTimeout(()=>{xt.current&&(q==null||q(C),ae===void 0&&dt(C))},10))};S.useEffect(()=>{if(ae===void 0)return()=>null;ae&&pt(!0);const C=setTimeout(()=>{dt(ae)},10);return()=>{clearTimeout(C)}},[ae]),S.useEffect(()=>{if(Te!==gt.current)if(It(Pe),gt.current=Te,Te)we==null||we();else{const C=(V=>{const z=V.match(/^([\d.]+)(ms|s)$/);if(!z)return 0;const[,Ae,Le]=z;return Number(Ae)*(Le==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout(()=>{pt(!1),ht(null),Q==null||Q()},C+25)}},[Te]);const Dt=C=>{Rt(V=>ri(V,C)?V:C)},Nt=(C=T)=>{It(Ee),Je?xe(!0):Ee.current=setTimeout(()=>{xe(!0)},C)},vt=(C=O)=>{It(Be),Be.current=setTimeout(()=>{at.current||xe(!1)},C)},bt=C=>{var V;if(!C)return;const z=(V=C.currentTarget)!==null&&V!==void 0?V:C.target;if(!(z!=null&&z.isConnected))return ge(null),void rt({current:null});T?Nt():xe(!0),ge(z),rt({current:z}),It(Be)},He=()=>{k?vt(O||100):O?vt():xe(!1),It(Ee)},ct=({x:C,y:V})=>{var z;const Ae={getBoundingClientRect:()=>({x:C,y:V,width:0,height:0,top:V,left:C,right:C,bottom:V})};Ns({place:(z=fe==null?void 0:fe.place)!==null&&z!==void 0?z:l,offset:u,elementReference:Ae,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:_,border:G}).then(Le=>{Dt(Le)})},ze=C=>{if(!C)return;const V=C,z={x:V.clientX,y:V.clientY};ct(z),mt.current=z},Ye=C=>{var V;if(!Te)return;const z=C.target;z.isConnected&&(!((V=ue.current)===null||V===void 0)&&V.contains(z)||[document.querySelector(`[id='${i}']`),...yt].some(Ae=>Ae==null?void 0:Ae.contains(z))||(xe(!1),It(Ee)))},$t=Vs(bt,50),Se=Vs(He,50),Xe=C=>{Se.cancel(),$t(C)},N=()=>{$t.cancel(),Se()},Z=S.useCallback(()=>{var C,V;const z=(C=fe==null?void 0:fe.position)!==null&&C!==void 0?C:Me;z?ct(z):R?mt.current&&ct(mt.current):ce!=null&&ce.isConnected&&Ns({place:(V=fe==null?void 0:fe.place)!==null&&V!==void 0?V:l,offset:u,elementReference:ce,tooltipReference:ue.current,tooltipArrowReference:_e.current,strategy:y,middlewares:_,border:G}).then(Ae=>{xt.current&&Dt(Ae)})},[Te,ce,ie,Ne,l,fe==null?void 0:fe.place,u,y,Me,fe==null?void 0:fe.position,R]);S.useEffect(()=>{var C,V;const z=new Set(Ot);yt.forEach(B=>{$e!=null&&$e(B)||z.add({current:B})});const Ae=document.querySelector(`[id='${i}']`);Ae&&!($e!=null&&$e(Ae))&&z.add({current:Ae});const Le=()=>{xe(!1)},lt=zs(ce),Oe=zs(ue.current);nt.scroll&&(window.addEventListener("scroll",Le),lt==null||lt.addEventListener("scroll",Le),Oe==null||Oe.addEventListener("scroll",Le));let f=null;nt.resize?window.addEventListener("resize",Le):ce&&ue.current&&(f=Vf(ce,ue.current,Z,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const b=B=>{B.key==="Escape"&&xe(!1)};nt.escape&&window.addEventListener("keydown",b),nt.clickOutsideAnchor&&window.addEventListener("click",Ye);const $=[],F=B=>{Te&&(B==null?void 0:B.target)===ce||bt(B)},oe=B=>{Te&&(B==null?void 0:B.target)===ce&&He()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],J=["click","dblclick","mousedown","mouseup"];Object.entries(Ge).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:Xe}):J.includes(B)&&$.push({event:B,listener:F}))}),Object.entries(Pt).forEach(([B,le])=>{le&&(te.includes(B)?$.push({event:B,listener:N}):J.includes(B)&&$.push({event:B,listener:oe}))}),R&&$.push({event:"pointermove",listener:ze});const Y=()=>{at.current=!0},De=()=>{at.current=!1,He()};return k&&!kt&&((C=ue.current)===null||C===void 0||C.addEventListener("mouseenter",Y),(V=ue.current)===null||V===void 0||V.addEventListener("mouseleave",De)),$.forEach(({event:B,listener:le})=>{z.forEach(Ce=>{var Ze;(Ze=Ce.current)===null||Ze===void 0||Ze.addEventListener(B,le)})}),()=>{var B,le;nt.scroll&&(window.removeEventListener("scroll",Le),lt==null||lt.removeEventListener("scroll",Le),Oe==null||Oe.removeEventListener("scroll",Le)),nt.resize?window.removeEventListener("resize",Le):f==null||f(),nt.clickOutsideAnchor&&window.removeEventListener("click",Ye),nt.escape&&window.removeEventListener("keydown",b),k&&!kt&&((B=ue.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(le=ue.current)===null||le===void 0||le.removeEventListener("mouseleave",De)),$.forEach(({event:Ce,listener:Ze})=>{z.forEach(Yt=>{var ot;(ot=Yt.current)===null||ot===void 0||ot.removeEventListener(Ce,Ze)})})}},[ce,Z,Je,Ot,yt,P,ve,be,St,T,O]),S.useEffect(()=>{var C,V;let z=(V=(C=fe==null?void 0:fe.anchorSelect)!==null&&C!==void 0?C:s)!==null&&V!==void 0?V:"";!z&&t&&(z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ae=new MutationObserver(Le=>{const lt=[],Oe=[];Le.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?lt.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(ce){const b=[...f.removedNodes].filter($=>$.nodeType===1);if(z)try{Oe.push(...b.filter($=>$.matches(z))),Oe.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}b.some($=>{var F;return!!(!((F=$==null?void 0:$.contains)===null||F===void 0)&&F.call($,ce))&&(pt(!1),xe(!1),ge(null),It(Ee),It(Be),!0)})}if(z)try{const b=[...f.addedNodes].filter($=>$.nodeType===1);lt.push(...b.filter($=>$.matches(z))),lt.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}}}),(lt.length||Oe.length)&&Ke(f=>[...f.filter(b=>!Oe.includes(b)),...lt])});return Ae.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ae.disconnect()}},[t,s,fe==null?void 0:fe.anchorSelect,ce]),S.useEffect(()=>{Z()},[Z]),S.useEffect(()=>{if(!(se!=null&&se.current))return()=>null;const C=new ResizeObserver(()=>{setTimeout(()=>Z())});return C.observe(se.current),()=>{C.disconnect()}},[ie,se==null?void 0:se.current]),S.useEffect(()=>{var C;const V=document.querySelector(`[id='${i}']`),z=[...yt,V];ce&&z.includes(ce)||ge((C=yt[0])!==null&&C!==void 0?C:V)},[i,yt,ce]),S.useEffect(()=>(re&&xe(!0),()=>{It(Ee),It(Be)}),[]),S.useEffect(()=>{var C;let V=(C=fe==null?void 0:fe.anchorSelect)!==null&&C!==void 0?C:s;if(!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),V)try{const z=Array.from(document.querySelectorAll(V));Ke(z)}catch{Ke([])}},[t,s,fe==null?void 0:fe.anchorSelect]),S.useEffect(()=>{Ee.current&&(It(Ee),Nt(T))},[T]);const je=(qe=fe==null?void 0:fe.content)!==null&&qe!==void 0?qe:ie,wt=Te&&Object.keys(ft.tooltipStyles).length>0;return S.useImperativeHandle(e,()=>({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`)}ht(C??null),C!=null&&C.delay?Nt(C.delay):xe(!0)},close:C=>{C!=null&&C.delay?vt(C.delay):xe(!1)},activeAnchor:ce,place:ft.place,isOpen:!!(Je&&!E&&je&&wt)})),Je&&!E&&je?S.createElement(v,{id:t,role:We,className:ti("react-tooltip",Sr.tooltip,Io.tooltip,Io[o],r,`react-tooltip__place-${ft.place}`,Sr[wt?"show":"closing"],wt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Sr.fixed,k&&Sr.clickable),onTransitionEnd:C=>{It(Pe),Te||C.propertyName!=="opacity"||(pt(!1),ht(null),Q==null||Q())},style:{...Ne,...ft.tooltipStyles,opacity:st!==void 0&&wt?st:void 0},ref:ue},je,S.createElement(v,{className:ti("react-tooltip-arrow",Sr.arrow,Io.arrow,n,A&&Sr.noArrow),style:{...ft.tooltipArrowStyles,background:tt?`linear-gradient(to right bottom, transparent 50%, ${tt} 50%)`:void 0},ref:_e})):null},ng=({content:e})=>S.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),og=S.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:l,variant:u="dark",place:d="top",offset:h=10,wrapper:y="div",children:_=null,events:v=["hover"],openOnClick:T=!1,positionStrategy:O="absolute",middlewares:R,delayShow:E=0,delayHide:A=0,float:k=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:ve=!1,closeOnResize:be=!1,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we=!1,style:Q,position:$e,isOpen:ie,defaultIsOpen:se=!1,disableStyleInjection:ae=!1,border:re,opacity:q,arrowColor:ce,setIsOpen:ge,afterShow:G,afterHide:st,disableTooltip:tt,role:We="tooltip"},qe)=>{const[ue,_e]=S.useState(n),[Ee,Be]=S.useState(o),[Pe,ft]=S.useState(d),[Rt,Te]=S.useState(u),[dt,Je]=S.useState(h),[pt,fe]=S.useState(E),[ht,gt]=S.useState(A),[mt,Ot]=S.useState(k),[rt,at]=S.useState(I),[yt,Ke]=S.useState(y),[xt,St]=S.useState(v),[kt,Ge]=S.useState(O),[Pt,nt]=S.useState(null),[xe,Dt]=S.useState(null),Nt=S.useRef(ae),{anchorRefs:vt,activeAnchor:bt}=oc(e),He=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Xe,N)=>{var Z;return N.startsWith("data-tooltip-")&&(Xe[N.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(N))!==null&&Z!==void 0?Z:null),Xe},{}),ct=Se=>{const Xe={place:N=>{var Z;ft((Z=N)!==null&&Z!==void 0?Z:d)},content:N=>{_e(N??n)},html:N=>{Be(N??o)},variant:N=>{var Z;Te((Z=N)!==null&&Z!==void 0?Z:u)},offset:N=>{Je(N===null?h:Number(N))},wrapper:N=>{var Z;Ke((Z=N)!==null&&Z!==void 0?Z:y)},events:N=>{const Z=N==null?void 0:N.split(" ");St(Z??v)},"position-strategy":N=>{var Z;Ge((Z=N)!==null&&Z!==void 0?Z:O)},"delay-show":N=>{fe(N===null?E:Number(N))},"delay-hide":N=>{gt(N===null?A:Number(N))},float:N=>{Ot(N===null?k:N==="true")},hidden:N=>{at(N===null?I:N==="true")},"class-name":N=>{nt(N)}};Object.values(Xe).forEach(N=>N(null)),Object.entries(Se).forEach(([N,Z])=>{var je;(je=Xe[N])===null||je===void 0||je.call(Xe,Z)})};S.useEffect(()=>{_e(n)},[n]),S.useEffect(()=>{Be(o)},[o]),S.useEffect(()=>{ft(d)},[d]),S.useEffect(()=>{Te(u)},[u]),S.useEffect(()=>{Je(h)},[h]),S.useEffect(()=>{fe(E)},[E]),S.useEffect(()=>{gt(A)},[A]),S.useEffect(()=>{Ot(k)},[k]),S.useEffect(()=>{at(I)},[I]),S.useEffect(()=>{Ge(O)},[O]),S.useEffect(()=>{Nt.current!==ae&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ae]),S.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ae==="core",disableBase:ae}}))},[]),S.useEffect(()=>{var Se;const Xe=new Set(vt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Xe.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Xe.add({current:Z}),!Xe.size)return()=>null;const je=(Se=xe??Z)!==null&&Se!==void 0?Se:bt.current,wt=new MutationObserver(V=>{V.forEach(z=>{var Ae;if(!je||z.type!=="attributes"||!(!((Ae=z.attributeName)===null||Ae===void 0)&&Ae.startsWith("data-tooltip-")))return;const Le=He(je);ct(Le)})}),C={attributes:!0,childList:!1,subtree:!1};if(je){const V=He(je);ct(V),wt.observe(je,C)}return()=>{wt.disconnect()}},[vt,bt,xe,t,r]),S.useEffect(()=>{Q!=null&&Q.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),re&&!Fs("border",`${re}`)&&console.warn(`[react-tooltip] "${re}" is not a valid \`border\`.`),Q!=null&&Q.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!Fs("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let ze=_;const Ye=S.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||ue||null,activeAnchor:xe});ze=Se?S.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},Se):null}else ue&&(ze=ue);Ee&&(ze=S.createElement(ng,{content:Ee}));const $t={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:ti(s,Pt),classNameArrow:l,content:ze,contentWrapperRef:Ye,place:Pe,variant:Rt,offset:dt,wrapper:yt,events:xt,openOnClick:T,positionStrategy:kt,middlewares:R,delayShow:pt,delayHide:ht,float:mt,hidden:rt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we,style:Q,position:$e,isOpen:ie,defaultIsOpen:se,border:re,opacity:q,arrowColor:ce,setIsOpen:ge,afterShow:G,afterHide:st,disableTooltip:tt,activeAnchor:xe,setActiveAnchor:Se=>Dt(Se),role:We};return S.createElement(rg,{...$t})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ds({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"}),e.detail.disableBase||Ds({css:`
429
+ .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 ig=Qe(eo)``,sg=Qe.div`
482
430
  ${({theme:e,$maxWidth:t="320px"})=>`
483
431
  > :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
484
432
  background-color: ${e.palette.gray[700]};
@@ -491,7 +439,59 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
491
439
  --rt-opacity: 1;
492
440
  }
493
441
  `}
494
- `,tl=$.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:c,id:u,maxWidth:d,nodeTip:h,place:m="bottom",tip:w="",title:v="",hide:T=w===""&&v===""&&h===void 0,...x},O){const[A,C]=$.useState(!1),k=$.useRef(null),I=$.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{C(!0)},100)},[]),M=$.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{C(!1)},100)},[]);return r?q.jsx($.StrictMode,{children:t}):q.jsxs(uv,{"data-tooltip-id":u,display:n,onMouseLeave:M,onMouseMove:I,ref:O,...x,children:[i?q.jsx(Ot,{children:q.jsx(vr,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:c??"xxs",iconType:A?"fa-solid":"fa-light"})}):t,ul.createPortal(q.jsx(fv,{$maxWidth:d,children:q.jsxs(lv,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!A,id:u,middlewares:[Qh({fallbackAxisSideDirection:"start"}),Yh({mainAxis:10})],noArrow:o==="float",place:m,children:[Do(v)?void 0:q.jsx(dr,{color:oe.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),Do(w)?void 0:q.jsx(dr,{color:oe.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:w}),Do(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),dv=$.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:c,onClick:u,showArrow:d=!1,type:h="button",tooltip:m,tooltipPlace:w="bottom",underline:v=!1,value:T,variant:x,resolution:O=hh(x)?"platform":"desktop",...A},C){const k=m!==void 0,I=`${o}-tooltip`;return q.jsx(tl,{disabled:!k,id:I,place:w,tip:m,children:q.jsx(fh,{$variant:x,className:s,children:q.jsxs(dh,{$bold:t,$resolution:O,$variant:x,className:`${s} ${O} ${v&&"underline"}`,disabled:n,id:o,name:c,onClick:u,ref:C,type:h,value:T,...k?{"data-tooltip-id":I}:{},...A,children:[i!==void 0&&q.jsx(vr,{icon:i,iconSize:"xs",iconType:"fa-light"}),r,(d||x==="link")&&q.jsx(vr,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})})}),pv=Qe.button`
442
+ `,ic=S.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:l,id:u,maxWidth:d,nodeTip:h,place:y="bottom",tip:_="",title:v="",hide:T=_===""&&v===""&&h===void 0,...O},R){const[E,A]=S.useState(!1),k=S.useRef(null),I=S.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{A(!0)},100)},[]),M=S.useCallback(()=>{k.current!==null&&clearTimeout(k.current),k.current=setTimeout(()=>{A(!1)},100)},[]);return r?K.jsx(S.StrictMode,{children:t}):K.jsxs(ig,{"data-tooltip-id":u,display:n,onMouseLeave:M,onMouseMove:I,ref:R,...O,children:[i?K.jsx(qt,{children:K.jsx(kr,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:l??"xxs",iconType:E?"fa-solid":"fa-light"})}):t,fl.createPortal(K.jsx(sg,{$maxWidth:d,children:K.jsxs(og,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:T||!E,id:u,middlewares:[Wf({fallbackAxisSideDirection:"start"}),Uf({mainAxis:10})],noArrow:o==="float",place:y,children:[jo(v)?void 0:K.jsx(Yr,{color:de.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:v}),jo(_)?void 0:K.jsx(Yr,{color:de.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:_}),jo(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),ag=S.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:l,onClick:u,showArrow:d=!1,type:h="button",tooltip:y,tooltipPlace:_="bottom",underline:v=!1,value:T,variant:O,resolution:R=lf(O)?"platform":"desktop",...E},A){const k=y!==void 0,I=`${o}-tooltip`;return K.jsx(ic,{disabled:!k,id:I,place:_,tip:y,children:K.jsx(sf,{$variant:O,className:s,children:K.jsxs(af,{$bold:t,$resolution:R,$variant:O,className:`${s} ${R} ${v&&"underline"}`,disabled:n,id:o,name:l,onClick:u,ref:A,type:h,value:T,...k?{"data-tooltip-id":I}:{},...E,children:[i!==void 0&&K.jsx(kr,{icon:i,iconSize:"xs",iconType:"fa-light"}),r,(d||O==="link")&&K.jsx(kr,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})})});var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ni={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",_="[object Map]",v="[object Number]",T="[object Object]",O="[object Promise]",R="[object RegExp]",E="[object Set]",A="[object String]",k="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",ve="[object Float64Array]",be="[object Int8Array]",pe="[object Int16Array]",Ne="[object Int32Array]",Me="[object Uint8Array]",we="[object Uint8ClampedArray]",Q="[object Uint16Array]",$e="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,se=/\w*$/,ae=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,q={};q[i]=q[s]=q[M]=q[D]=q[l]=q[u]=q[P]=q[ve]=q[be]=q[pe]=q[Ne]=q[_]=q[v]=q[T]=q[R]=q[E]=q[A]=q[k]=q[Me]=q[we]=q[Q]=q[$e]=!0,q[d]=q[h]=q[I]=!1;var ce=typeof tr=="object"&&tr&&tr.Object===Object&&tr,ge=typeof self=="object"&&self&&self.Object===Object&&self,G=ce||ge||Function("return this")(),st=t&&!t.nodeType&&t,tt=st&&!0&&e&&!e.nodeType&&e,We=tt&&tt.exports===st;function qe(c,g){return c.set(g[0],g[1]),c}function ue(c,g){return c.add(g),c}function _e(c,g){for(var w=-1,L=c?c.length:0;++w<L&&g(c[w],w,c)!==!1;);return c}function Ee(c,g){for(var w=-1,L=g.length,it=c.length;++w<L;)c[it+w]=g[w];return c}function Be(c,g,w,L){for(var it=-1,Tt=c?c.length:0;++it<Tt;)w=g(w,c[it],it,c);return w}function Pe(c,g){for(var w=-1,L=Array(c);++w<c;)L[w]=g(w);return L}function ft(c,g){return c==null?void 0:c[g]}function Rt(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Te(c){var g=-1,w=Array(c.size);return c.forEach(function(L,it){w[++g]=[it,L]}),w}function dt(c,g){return function(w){return c(g(w))}}function Je(c){var g=-1,w=Array(c.size);return c.forEach(function(L){w[++g]=L}),w}var pt=Array.prototype,fe=Function.prototype,ht=Object.prototype,gt=G["__core-js_shared__"],mt=function(){var c=/[^.]+$/.exec(gt&&gt.keys&&gt.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ot=fe.toString,rt=ht.hasOwnProperty,at=ht.toString,yt=RegExp("^"+Ot.call(rt).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ke=We?G.Buffer:void 0,xt=G.Symbol,St=G.Uint8Array,kt=dt(Object.getPrototypeOf,Object),Ge=Object.create,Pt=ht.propertyIsEnumerable,nt=pt.splice,xe=Object.getOwnPropertySymbols,Dt=Ke?Ke.isBuffer:void 0,Nt=dt(Object.keys,Object),vt=H(G,"DataView"),bt=H(G,"Map"),He=H(G,"Promise"),ct=H(G,"Set"),ze=H(G,"WeakMap"),Ye=H(Object,"create"),$t=cr(vt),Se=cr(bt),Xe=cr(He),N=cr(ct),Z=cr(ze),je=xt?xt.prototype:void 0,wt=je?je.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__=Ye?Ye(null):{}}function z(c){return this.has(c)&&delete this.__data__[c]}function Ae(c){var g=this.__data__;if(Ye){var w=g[c];return w===n?void 0:w}return rt.call(g,c)?g[c]:void 0}function Le(c){var g=this.__data__;return Ye?g[c]!==void 0:rt.call(g,c)}function lt(c,g){var w=this.__data__;return w[c]=Ye&&g===void 0?n:g,this}C.prototype.clear=V,C.prototype.delete=z,C.prototype.get=Ae,C.prototype.has=Le,C.prototype.set=lt;function Oe(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 b(c){var g=this.__data__,w=ar(g,c);if(w<0)return!1;var L=g.length-1;return w==L?g.pop():nt.call(g,w,1),!0}function $(c){var g=this.__data__,w=ar(g,c);return w<0?void 0:g[w][1]}function F(c){return ar(this.__data__,c)>-1}function oe(c,g){var w=this.__data__,L=ar(w,c);return L<0?w.push([c,g]):w[L][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=$,Oe.prototype.has=F,Oe.prototype.set=oe;function te(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(bt||Oe),string:new C}}function Y(c){return U(this,c).delete(c)}function De(c){return U(this,c).get(c)}function B(c){return U(this,c).has(c)}function le(c,g){return U(this,c).set(c,g),this}te.prototype.clear=J,te.prototype.delete=Y,te.prototype.get=De,te.prototype.has=B,te.prototype.set=le;function Ce(c){this.__data__=new Oe(c)}function Ze(){this.__data__=new Oe}function Yt(c){return this.__data__.delete(c)}function ot(c){return this.__data__.get(c)}function ho(c){return this.__data__.has(c)}function gn(c,g){var w=this.__data__;if(w instanceof Oe){var L=w.__data__;if(!bt||L.length<r-1)return L.push([c,g]),this;w=this.__data__=new te(L)}return w.set(c,g),this}Ce.prototype.clear=Ze,Ce.prototype.delete=Yt,Ce.prototype.get=ot,Ce.prototype.has=ho,Ce.prototype.set=gn;function go(c,g){var w=$o(c)||ol(c)?Pe(c.length,String):[],L=w.length,it=!!L;for(var Tt in c)rt.call(c,Tt)&&!(it&&(Tt=="length"||jt(Tt,L)))&&w.push(Tt);return w}function Fr(c,g,w){var L=c[g];(!(rt.call(c,g)&&qi(L,w))||w===void 0&&!(g in c))&&(c[g]=w)}function ar(c,g){for(var w=c.length;w--;)if(qi(c[w][0],g))return w;return-1}function mn(c,g){return c&&x(g,Eo(g),c)}function Vr(c,g,w,L,it,Tt,Jt){var At;if(L&&(At=Tt?L(c,it,Tt,Jt):L(c)),At!==void 0)return At;if(!_n(c))return c;var Yi=$o(c);if(Yi){if(At=Et(c),!g)return m(c,At)}else{var _r=Ve(c),Qi=_r==h||_r==y;if(sl(c))return vo(c,g);if(_r==T||_r==i||Qi&&!Tt){if(Rt(c))return Tt?c:{};if(At=_t(Qi?{}:c),!g)return j(c,mn(At,c))}else{if(!q[_r])return Tt?c:{};At=Qt(c,_r,Vr,g)}}Jt||(Jt=new Ce);var Ji=Jt.get(c);if(Ji)return Ji;if(Jt.set(c,At),!Yi)var Ki=w?ne(c):Eo(c);return _e(Ki||c,function(To,xn){Ki&&(xn=To,To=c[xn]),Fr(At,xn,Vr(To,g,w,L,xn,c,Jt))}),At}function yn(c){return _n(c)?Ge(c):{}}function vn(c,g,w){var L=g(c);return $o(c)?L:Ee(L,w(c))}function mo(c){return at.call(c)}function yo(c){if(!_n(c)||wn(c))return!1;var g=Hi(c)||Rt(c)?yt:ae;return g.test(cr(c))}function bn(c){if(!zr(c))return Nt(c);var g=[];for(var w in Object(c))rt.call(c,w)&&w!="constructor"&&g.push(w);return g}function vo(c,g){if(g)return c.slice();var w=new c.constructor(c.length);return c.copy(w),w}function Br(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function bo(c,g){var w=g?Br(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.byteLength)}function wo(c,g,w){var L=g?w(Te(c),!0):Te(c);return Be(L,qe,new c.constructor)}function _o(c){var g=new c.constructor(c.source,se.exec(c));return g.lastIndex=c.lastIndex,g}function xo(c,g,w){var L=g?w(Je(c),!0):Je(c);return Be(L,ue,new c.constructor)}function a(c){return wt?Object(wt.call(c)):{}}function p(c,g){var w=g?Br(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 x(c,g,w,L){w||(w={});for(var it=-1,Tt=g.length;++it<Tt;){var Jt=g[it],At=void 0;Fr(w,Jt,At===void 0?c[Jt]:At)}return w}function j(c,g){return x(c,Fe(c),g)}function ne(c){return vn(c,Eo,Fe)}function U(c,g){var w=c.__data__;return So(g)?w[typeof g=="string"?"string":"hash"]:w.map}function H(c,g){var w=ft(c,g);return yo(w)?w:void 0}var Fe=xe?dt(xe,Object):ll,Ve=mo;(vt&&Ve(new vt(new ArrayBuffer(1)))!=D||bt&&Ve(new bt)!=_||He&&Ve(He.resolve())!=O||ct&&Ve(new ct)!=E||ze&&Ve(new ze)!=I)&&(Ve=function(c){var g=at.call(c),w=g==T?c.constructor:void 0,L=w?cr(w):void 0;if(L)switch(L){case $t:return D;case Se:return _;case Xe:return O;case N:return E;case Z:return I}return g});function Et(c){var g=c.length,w=c.constructor(g);return g&&typeof c[0]=="string"&&rt.call(c,"index")&&(w.index=c.index,w.input=c.input),w}function _t(c){return typeof c.constructor=="function"&&!zr(c)?yn(kt(c)):{}}function Qt(c,g,w,L){var it=c.constructor;switch(g){case M:return Br(c);case l:case u:return new it(+c);case D:return bo(c,L);case P:case ve:case be:case pe:case Ne:case Me:case we:case Q:case $e:return p(c,L);case _:return wo(c,L,w);case v:case A:return new it(c);case R:return _o(c);case E:return xo(c,L,w);case k:return a(c)}}function jt(c,g){return g=g??o,!!g&&(typeof c=="number"||re.test(c))&&c>-1&&c%1==0&&c<g}function So(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function wn(c){return!!mt&&mt in c}function zr(c){var g=c&&c.constructor,w=typeof g=="function"&&g.prototype||ht;return c===w}function cr(c){if(c!=null){try{return Ot.call(c)}catch{}try{return c+""}catch{}}return""}function nl(c){return Vr(c,!0,!0)}function qi(c,g){return c===g||c!==c&&g!==g}function ol(c){return il(c)&&rt.call(c,"callee")&&(!Pt.call(c,"callee")||at.call(c)==i)}var $o=Array.isArray;function Gi(c){return c!=null&&al(c.length)&&!Hi(c)}function il(c){return cl(c)&&Gi(c)}var sl=Dt||ul;function Hi(c){var g=_n(c)?at.call(c):"";return g==h||g==y}function al(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=o}function _n(c){var g=typeof c;return!!c&&(g=="object"||g=="function")}function cl(c){return!!c&&typeof c=="object"}function Eo(c){return Gi(c)?go(c):bn(c)}function ll(){return[]}function ul(){return!1}e.exports=nl})(ni,ni.exports);var rr=ni.exports,oi=function(){return oi=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},oi.apply(this,arguments)};function cg(e,t,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 l(h){try{d(n.next(h))}catch(y){s(y)}}function u(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(l,u)}d((n=n.apply(e,[])).next())})}function lg(e,t){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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return u([d,h])}}function u(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=t.call(e,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 Un(e,t,r,n,o){return cg(this,void 0,void 0,function(){var i,s;return lg(this,function(l){switch(l.label){case 0:if(r===void 0)return[2];s=0,l.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=l.sent(),i==="canceled")return[3,4];l.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ii=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:oi({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},ug=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=rr(r);Un(t,s,n,this.htmlPluginState,o).then(function(l){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ii(o,l);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=rr(t);Un(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var l=ii(n,s);o.imgElement.setAttribute("src",i.toURL(l))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let Ie=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},fg=class extends Error{constructor(t="Unsupported"){super(t)}};function Ei(e){return new fg(e)}function dg(){return this._qualifierModel||{error:Ei(`unsupported qualifier ${this.constructor.name}`)}}let pg=class{constructor(){this._qualifierModel={}}toJson(){return dg.apply(this)}},X=class extends pg{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Ie?this.qualifierValue=r:(this.qualifierValue=new Ie,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Mt=class extends X{constructor(t,r){let n;r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function hg(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function gg(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:Ei(`unsupported action ${this.constructor.name}`)}}let mg=class{constructor(){this._actionModel={}}toJson(){return gg.apply(this)}},zt=class extends mg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),hg(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Mt(n)):this.qualifiers.set(r,new X(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Mt(t)):t instanceof Mt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ti extends zt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class io extends Ti{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new X("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new X("h",t)),this}static fromJson(t){const r=new io;return t.width&&r.width(t.width),t.height&&r.height(t.height),t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function yg(){return new io}function sc(){return new Ti("faces")}function vg(){return new Ti("ocr_text")}class bg extends zt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`blur_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`blur_faces${t}`))):this.addQualifier(new X("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(sc()),n&&n.regionType==="ocr_text"&&o.region(vg()),n&&n.regionType==="custom"&&o.region(io.fromJson(n)),o}}function br(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const ac={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},wg={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},cc={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},lc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},_g={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},uc={444:"CHROMA_444",420:"CHROMA_420"},xg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},Sg=br(uc);br(xg);const $g=br(ac),Eg=br(wg),fc=br(cc);br(lc);br(_g);class dc extends zt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=fc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new Ie([t,`${r}`]).setDelimiter(":"):n=new Ie(t),new X("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=cc[r]||r;return new this(i,n||o)}}class Tg extends dc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=fc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function so(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class Ag extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new Ie(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new Ie(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new Ie(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new Ie(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new Ie(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new X("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:l}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),l&&u.numOfColors(l),u}}class Og extends Tg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Cg extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new X("e",new Ie("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new X("e",new Ie(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new X("e",new Ie(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class Rg extends Og{color(t){return this._actionModel.color=t,this.addQualifier(new X("co",new Ie(so(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class kg extends zt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new X("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new X("e",`pixelate_region${t}`)),this.addQualifier(new X("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new X("e",`pixelate_faces${t}`))):this.addQualifier(new X("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(sc()),r&&r.regionType==="custom"&&o.region(yg()),o}}function Pg(e){return new bg(e)}function jg(){return new dc("grayscale")}function Us(e){return new Rg("colorize",e)}function Ig(){return new Ag}function Mg(){return new Cg}function Lg(e){return new kg(e)}let Dg=class extends zt{constructor(t){super(),this._actionModel={},this.addQualifier(new X("b",new Ie(so(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Ws=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:Ei(`unsupported action ${this.constructor.name}`)}}};function Ng(e){const t=e;return"error"in t&&!!t.error}function Fg(){return new Mt("ignore_aspect_ratio")}function Vg(){return new Mt("lossy")}function Bg(){return new Mt("preserve_transparency")}function zg(e){return new Mt("progressive",e)}function Ug(){return new Mt("region_relative")}function Wg(){return new Mt("relative")}let Ai=class extends Ie{constructor(t){super(t),this.val=t}getValue(){return this.val}},pc=class extends zt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ai?o=r.getValue():o=r,this._actionModel.actionType=Eg[t],this._actionModel[n]=o,this.addQualifier(new X(t,r))}},qg=class extends Mt{constructor(t){super("progressive",t)}},si=class extends pc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Vg()),this}progressive(t){return t instanceof qg?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(zg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Bg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;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}},ao=class hc{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Ws(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof hc?this.actions=this.actions.concat(t.actions):this.actions.push(new Ws(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new si("q",t)),this}format(t){return this.addAction(new si("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new Dg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new zt;let n=t;return typeof t=="string"&&(n=new Mt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Ng(n))return n;t.push(n)}return{actions:t}}};function qs(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class Gg extends Ie{}class Hg extends zt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=$g[t]||t,this.addQualifier(new X("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new X("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new X("w",t))}aspectRatio(t){if(t instanceof Gg)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new X("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=qs(t),this.addQualifier(new X("ar",qs(t)));if(t instanceof Mt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Wg())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Ug())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:l,height:u}=n,d=ac[r]||r,h=new this(d,l,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?Fg():s),o&&h.relative(),i&&h.regionRelative(),h}}class Oi extends X{constructor(t){super("g",new Ie(t))}}class gc extends Oi{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class mc extends Oi{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class yc extends Oi{constructor(t){super(t)}}function Yg(e){return new yc(e)}function vc(...e){const t=[...e];return new mc(t)}function bc(){return new gc}class co extends Ie{constructor(t){super(),this.name=t}toString(){return this.name}}function Qg(){return new co("ocr_text")}function Jg(e){return e&&`${e}`.split(":")[0]==="auto"}function Kg(e){const t=Ci(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ci(e){return`${e}`.replace("g_","")}function Xg(e){return{compass:Ci(e),gravityType:"direction"}}function Zg(e){return Ci(e)==="ocr_text"}function em(){return{gravityType:"ocr"}}function tm(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function rm(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function wc(e){let t;const r=e==="auto"?new gc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(rm)}}function nm(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=bc().autoFocus(...i);o.fallbackGravity=wc(s)}return o}function om(e){const r=e.split(":").map(n=>new co(n));return new mc(r)}function im(e){return Kg(e)?Xg(e):Zg(e)?em():Jg(e)||tm(e)?wc(e):nm(typeof e=="string"?om(e):e)}class Ri extends Ie{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ri(t,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(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class _c extends Ie{constructor(t){super(),this.val=t}toString(){return this.val}}function sm(e){return e.gravityType==="direction"}function am(e){return e.gravityType==="ocr"}function cm(e){return e.gravityType==="auto"}function lm(e){const{object:t,weight:r,avoid:n}=e,o=new Ri(new co(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function xc(e){const r=(e.autoFocus||[]).map(lm);return bc().autoFocus(...r)}function um(e){const t=(e.focusOnObjects||[]).map(n=>new co(n)),r=vc(...t);if(e.fallbackGravity){const n=xc(e.fallbackGravity);r.fallbackGravity(n)}return r}function fm(e){return sm(e)?new yc(new _c(e.compass)):am(e)?vc(Qg()):cm(e)?xc(e):um(e)}class ki extends Hg{gravity(t){this._actionModel.gravity=im(t);const r=typeof t=="string"?new X("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(fm(t.gravity)),r}}class dn extends X{constructor(t){super("b"),t&&this.addValue(t)}}const Sc=100,dm=0;class pm extends dn{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${Sc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var $c=pm;class Pi extends dn{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>so(r)),this}}class Ec extends Pi{toString(){return`
443
+ b_auto:border
444
+ ${this._contrast?"_contrast":""}
445
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
446
+ `.replace(/\s+/g,"")}}class Tc extends Pi{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class Ac extends Tc{toString(){return`
447
+ b_auto:border_gradient
448
+ ${this._contrast?"_contrast":""}
449
+ ${this._gradientColors?`:${this._gradientColors}`:""}
450
+ ${this._gradientDirection?`:${this._gradientDirection}`:""}
451
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
452
+ `.replace(/\s+/g,"")}}class Oc extends Tc{toString(){return`
453
+ b_auto:predominant_gradient
454
+ ${this._contrast?"_contrast":""}
455
+ ${this._gradientColors?`:${this._gradientColors}`:""}
456
+ ${this._gradientDirection?`:${this._gradientDirection}`:""}
457
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
458
+ `.replace(/\s+/g,"")}}class Cc extends Pi{toString(){return`
459
+ b_auto:predominant
460
+ ${this._contrast?"_contrast":""}
461
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
462
+ `.replace(/\s+/g,"")}}class Rc extends dn{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function kc(e){return`${e}`.replace("b_","")}function hm(){return{backgroundType:"auto"}}function gm(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function ji(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function mm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"border"})}function Pc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=ji(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function ym(e){return Object.assign(Object.assign({},Pc(e)),{backgroundType:"borderGradient"})}function vm(e){return{backgroundType:"color",color:kc(e)}}function bm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"predominant"})}function wm(e){return Object.assign(Object.assign({},Pc(e)),{backgroundType:"predominantGradient"})}function _m(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function xm(e){return kc(e)==="auto"?hm():e instanceof $c?gm(e):e instanceof Ec?mm(e):e instanceof Ac?ym(e):e instanceof Cc?bm(e):e instanceof Oc?wm(e):e instanceof Rc?_m(e):vm(e)}function Sm(){return new Ai("svg")}function Ii(){return new Ai("auto")}function jc(){return new Ec}function Ic(){return new dn("auto")}function Mc(){return new Ac}function Lc(){return new Oc}function Dc(){return new Cc}function Nc(e){return new dn(so(e))}function $m(){return new $c}function Fc(){return new Rc}const Vc={auto:Ic,border:jc,borderGradient:Mc,predominantGradient:Lc,predominant:Dc,color:Nc,blurred:$m,generativeFill:Fc};function Em(e){const{brightness:t,intensity:r}=e,n=Vc.blurred();return n.brightness(t??dm),n.intensity(r??Sc),n}function Gs(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Hs(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function Tm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function Am(e){const{backgroundType:t}=e;switch(t){case"auto":return Ic();case"blurred":return Em(e);case"border":return Hs(jc(),e);case"borderGradient":return Gs(Mc(),e);case"predominant":return Hs(Dc(),e);case"predominantGradient":return Gs(Lc(),e);case"generativeFill":return Tm(Fc(),e);default:return Nc(e.color)}}class Om extends ki{background(t){return this._actionModel.background=xm(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(Am(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class Cm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new X("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class Rm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new X("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new X("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function km(e,t){return new Cm("crop",e,t)}function Pm(e,t){return new Rm("fill",e,t)}function jm(e,t){return new Om("pad",e,t)}class Im extends pc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=uc[t];const r=new Ie([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new X("q",r))}quantization(t){this._actionModel.quantization=t;const r=new Ie([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new X("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=lc[r]||r,s=new this(i);if(n){const l=Sg[n.toUpperCase()];l&&s.chromaSubSampling(+l)}return o&&s.quantization(o),s}}function lo(e){return new si("f",e)}function uo(e){return new Im(e)}function Mm(){return new _c("north_east")}Us(70).color("black"),Us(40).color("white"),jg(),Mg();var Lm=new ao().effect(Ig()).delivery(uo("auto")).delivery(lo(Sm())),Dm=new ao().effect(Lg()).delivery(uo("auto")).delivery(lo(Ii())),Nm=new ao().effect(Pg(2e3)).delivery(uo("auto")).delivery(lo(Ii())),Fm=new ao().resize(jm("iw_div_2").aspectRatio(1).background(Vc.auto())).resize(km(1,1).gravity(Yg(Mm()))).resize(Pm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Ii())),Ys={vectorize:Lm,pixelate:Dm,blur:Nm,"predominant-color":Fm},Qs="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Js={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Ks="?_a=",Vm=function(){function e(t,r,n,o,i,s,l){var u=this;this.mimeType="video",this.mimeSubTypes=Js,this.videoElement=t,this.originalVideo=r,this.videoOptions=l,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=rr(r);Un(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(rr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,l=o.transcode;return n.appendSourceTag(rr(t).transcode(l),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var l=t.toURL(),u=l.split(Ks),d=u[1]?"".concat(Ks).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Js[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=rr(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var l=s[i],u=l[0],d=l[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var l=this.videoElement.getElementsByTagName("SOURCE");l[0];)l[0].parentNode.removeChild(l[0]);Un(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),Bm=typeof tr=="object"&&tr&&tr.Object===Object&&tr,zm=typeof self=="object"&&self&&self.Object===Object&&self;Bm||zm||Function("return this")();function Mi(){return typeof window<"u"}function Um(e){return e instanceof HTMLImageElement}function Wm(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return qm.bind(null,n,i)}function qm(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Mi()?new Promise(function(s){var l=function(){return s({lazyload:!0})},u=Hm(r,l,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Gm(){return window&&"IntersectionObserver"in window}function Hm(e,t,r,n){try{if(!Gm())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Ym(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return Qm.bind(null,n)}function Qm(e,t,r,n,o,i){Ys[e]||(e="vectorize");var s=Ys[e].actions,l=rr(r);if(s.forEach(function(d){l.addAction(d)}),!Mi())return r.transformation=l.transformation,!0;if(Um(t)){l.transformation.actions.forEach(function(d,h){d instanceof zt&&d.getActionTag()==="responsive"&&delete l.transformation.actions[h]});var u=ii(o,{placeholder:!0});return t.src=l.toURL(u),t.onerror=function(){t.src=Qs},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=Qs,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function Jm(e,t,r){var n=rr(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function Wn(e){e.cleanupCallbacks.forEach(function(t){t()})}var ai=function(e,t){return ai=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])},ai(e,t)};function Bc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ai(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Jr=function(){return Jr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jr.apply(this,arguments)};function zc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Kr={exports:{}},ye={};/*
463
+ object-assign
464
+ (c) Sindre Sorhus
465
+ @license MIT
466
+ */var Xs=Object.getOwnPropertySymbols,Km=Object.prototype.hasOwnProperty,Xm=Object.prototype.propertyIsEnumerable;function Zm(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ey(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[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 Uc=ey()?Object.assign:function(e,t){for(var r,n=Zm(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Km.call(r,s)&&(n[s]=r[s]);if(Xs){o=Xs(r);for(var l=0;l<o.length;l++)Xm.call(r,o[l])&&(n[o[l]]=r[o[l]])}}return n};/** @license React v16.14.0
467
+ * react.production.min.js
468
+ *
469
+ * Copyright (c) Facebook, Inc. and its affiliates.
470
+ *
471
+ * This source code is licensed under the MIT license found in the
472
+ * LICENSE file in the root directory of this source tree.
473
+ */var Li=Uc,Ut=typeof Symbol=="function"&&Symbol.for,pn=Ut?Symbol.for("react.element"):60103,ty=Ut?Symbol.for("react.portal"):60106,ry=Ut?Symbol.for("react.fragment"):60107,ny=Ut?Symbol.for("react.strict_mode"):60108,oy=Ut?Symbol.for("react.profiler"):60114,iy=Ut?Symbol.for("react.provider"):60109,sy=Ut?Symbol.for("react.context"):60110,ay=Ut?Symbol.for("react.forward_ref"):60112,cy=Ut?Symbol.for("react.suspense"):60113,ly=Ut?Symbol.for("react.memo"):60115,uy=Ut?Symbol.for("react.lazy"):60116,Zs=typeof Symbol=="function"&&Symbol.iterator;function hn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Wc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qc={};function Nr(e,t,r){this.props=e,this.context=t,this.refs=qc,this.updater=r||Wc}Nr.prototype.isReactComponent={};Nr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(hn(85));this.updater.enqueueSetState(this,e,t,"setState")};Nr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gc(){}Gc.prototype=Nr.prototype;function Di(e,t,r){this.props=e,this.context=t,this.refs=qc,this.updater=r||Wc}var Ni=Di.prototype=new Gc;Ni.constructor=Di;Li(Ni,Nr.prototype);Ni.isPureReactComponent=!0;var Fi={current:null},Hc=Object.prototype.hasOwnProperty,Yc={key:!0,ref:!0,__self:!0,__source:!0};function Qc(e,t,r){var n,o={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Hc.call(t,n)&&!Yc.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var u=Array(l),d=0;d<l;d++)u[d]=arguments[d+2];o.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)o[n]===void 0&&(o[n]=l[n]);return{$$typeof:pn,type:e,key:i,ref:s,props:o,_owner:Fi.current}}function fy(e,t){return{$$typeof:pn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Vi(e){return typeof e=="object"&&e!==null&&e.$$typeof===pn}function dy(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var Jc=/\/+/g,qn=[];function Kc(e,t,r,n){if(qn.length){var o=qn.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function Xc(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>qn.length&&qn.push(e)}function ci(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case pn:case ty:i=!0}}if(i)return r(n,e,t===""?"."+Mo(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=t+Mo(o,s);i+=ci(o,l,r,n)}else if(e===null||typeof e!="object"?l=null:(l=Zs&&e[Zs]||e["@@iterator"],l=typeof l=="function"?l:null),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=t+Mo(o,s++),i+=ci(o,l,r,n);else if(o==="object")throw r=""+e,Error(hn(31,r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return i}function li(e,t,r){return e==null?0:ci(e,"",t,r)}function Mo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?dy(e.key):t.toString(36)}function py(e,t){e.func.call(e.context,t,e.count++)}function hy(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?ui(e,n,r,function(i){return i}):e!=null&&(Vi(e)&&(e=fy(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Jc,"$&/")+"/")+r)),n.push(e))}function ui(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(Jc,"$&/")+"/"),t=Kc(t,i,n,o),li(e,hy,t),Xc(t)}var Zc={current:null};function Zt(){var e=Zc.current;if(e===null)throw Error(hn(321));return e}var gy={ReactCurrentDispatcher:Zc,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Fi,IsSomeRendererActing:{current:!1},assign:Li};ye.Children={map:function(e,t,r){if(e==null)return e;var n=[];return ui(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=Kc(null,null,t,r),li(e,py,t),Xc(t)},count:function(e){return li(e,function(){return null},null)},toArray:function(e){var t=[];return ui(e,t,null,function(r){return r}),t},only:function(e){if(!Vi(e))throw Error(hn(143));return e}};ye.Component=Nr;ye.Fragment=ry;ye.Profiler=oy;ye.PureComponent=Di;ye.StrictMode=ny;ye.Suspense=cy;ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gy;ye.cloneElement=function(e,t,r){if(e==null)throw Error(hn(267,e));var n=Li({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Fi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Hc.call(t,u)&&!Yc.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){l=Array(u);for(var d=0;d<u;d++)l[d]=arguments[d+2];n.children=l}return{$$typeof:pn,type:e.type,key:o,ref:i,props:n,_owner:s}};ye.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:sy,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:iy,_context:e},e.Consumer=e};ye.createElement=Qc;ye.createFactory=function(e){var t=Qc.bind(null,e);return t.type=e,t};ye.createRef=function(){return{current:null}};ye.forwardRef=function(e){return{$$typeof:ay,render:e}};ye.isValidElement=Vi;ye.lazy=function(e){return{$$typeof:uy,_ctor:e,_status:-1,_result:null}};ye.memo=function(e,t){return{$$typeof:ly,type:e,compare:t===void 0?null:t}};ye.useCallback=function(e,t){return Zt().useCallback(e,t)};ye.useContext=function(e,t){return Zt().useContext(e,t)};ye.useDebugValue=function(){};ye.useEffect=function(e,t){return Zt().useEffect(e,t)};ye.useImperativeHandle=function(e,t,r){return Zt().useImperativeHandle(e,t,r)};ye.useLayoutEffect=function(e,t){return Zt().useLayoutEffect(e,t)};ye.useMemo=function(e,t){return Zt().useMemo(e,t)};ye.useReducer=function(e,t,r){return Zt().useReducer(e,t,r)};ye.useRef=function(e){return Zt().useRef(e)};ye.useState=function(e){return Zt().useState(e)};ye.version="16.14.0";var me={},my="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yy=my,vy=Function.call.bind(Object.prototype.hasOwnProperty),fi=function(){};if(process.env.NODE_ENV!=="production"){var by=yy,di={},wy=vy;fi=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function el(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(wy(e,i)){var s;try{if(typeof e[i]!="function"){var l=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,n,r,null,by)}catch(d){s=d}if(s&&!(s instanceof Error)&&fi((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 di)){di[s.message]=!0;var u=o?o():"";fi("Failed "+r+" type: "+s.message+(u??""))}}}}el.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(di={})};var _y=el;/** @license React v16.14.0
474
+ * react.development.js
475
+ *
476
+ * Copyright (c) Facebook, Inc. and its affiliates.
477
+ *
478
+ * This source code is licensed under the MIT license found in the
479
+ * LICENSE file in the root directory of this source tree.
480
+ */process.env.NODE_ENV!=="production"&&function(){var e=Uc,t=_y,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,l=n?Symbol.for("react.strict_mode"):60108,u=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,_=n?Symbol.for("react.forward_ref"):60112,v=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,O=n?Symbol.for("react.memo"):60115,R=n?Symbol.for("react.lazy"):60116,E=n?Symbol.for("react.block"):60121,A=n?Symbol.for("react.fundamental"):60117,k=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 ve={current:null},be={suspense:null},pe={current:null},Ne=/^(.*)[\\\/]/;function Me(a,p,m){var x="";if(p){var j=p.fileName,ne=j.replace(Ne,"");if(/^index\./.test(ne)){var U=j.match(Ne);if(U){var H=U[1];if(H){var Fe=H.replace(Ne,"");ne=Fe+"/"+ne}}}x=" (at "+ne+":"+p.lineNumber+")"}else m&&(x=" (created by "+m+")");return`
481
+ in `+(a||"Unknown")+x}var we=1;function Q(a){return a._status===we?a._result:null}function $e(a,p,m){var x=p.displayName||p.name||"";return a.displayName||(x!==""?m+"("+x+")":m)}function ie(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 u:return"Profiler";case l:return"StrictMode";case v:return"Suspense";case T:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case h:return"Context.Consumer";case d:return"Context.Provider";case _:return $e(a,a.render,"ForwardRef");case O:return ie(a.type);case E:return ie(a.render);case R:{var p=a,m=Q(p);if(m)return ie(m);break}}return null}var se={},ae=null;function re(a){ae=a}se.getCurrentStack=null,se.getStackAddendum=function(){var a="";if(ae){var p=ie(ae.type),m=ae._owner;a+=Me(p,ae._source,m&&ie(m.type))}var x=se.getCurrentStack;return x&&(a+=x()||""),a};var q={current:!1},ce={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:be,ReactCurrentOwner:pe,IsSomeRendererActing:q,assign:e};e(ce,{ReactDebugCurrentFrame:se,ReactComponentTreeHook:{}});function ge(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),x=1;x<p;x++)m[x-1]=arguments[x];st("warn",a,m)}}function G(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),x=1;x<p;x++)m[x-1]=arguments[x];st("error",a,m)}}function st(a,p,m){{var x=m.length>0&&typeof m[m.length-1]=="string"&&m[m.length-1].indexOf(`
482
+ in`)===0;if(!x){var j=ce.ReactDebugCurrentFrame,ne=j.getStackAddendum();ne!==""&&(p+="%s",m=m.concat([ne]))}var U=m.map(function(Ve){return""+Ve});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var H=0,Fe="Warning: "+p.replace(/%s/g,function(){return m[H++]});throw new Error(Fe)}catch{}}}var tt={};function We(a,p){{var m=a.constructor,x=m&&(m.displayName||m.name)||"ReactClass",j=x+"."+p;if(tt[j])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,x),tt[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,x){We(a,"replaceState")},enqueueSetState:function(a,p,m,x){We(a,"setState")}},ue={};Object.freeze(ue);function _e(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}_e.prototype.isReactComponent={},_e.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")},_e.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var Ee={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)."]},Be=function(a,p){Object.defineProperty(_e.prototype,a,{get:function(){ge("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Pe in Ee)Ee.hasOwnProperty(Pe)&&Be(Pe,Ee[Pe])}function ft(){}ft.prototype=_e.prototype;function Rt(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}var Te=Rt.prototype=new ft;Te.constructor=Rt,e(Te,_e.prototype),Te.isPureReactComponent=!0;function dt(){var a={current:null};return Object.seal(a),a}var Je=Object.prototype.hasOwnProperty,pt={key:!0,ref:!0,__self:!0,__source:!0},fe,ht,gt;gt={};function mt(a){if(Je.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(Je.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function rt(a,p){var m=function(){fe||(fe=!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 at(a,p){var m=function(){ht||(ht=!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 yt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=ie(pe.current.type);gt[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',ie(pe.current.type),a.ref),gt[p]=!0)}}var Ke=function(a,p,m,x,j,ne,U){var H={$$typeof:o,type:a,key:p,ref:m,props:U,_owner:ne};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:x}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function xt(a,p,m){var x,j={},ne=null,U=null,H=null,Fe=null;if(p!=null){mt(p)&&(U=p.ref,yt(p)),Ot(p)&&(ne=""+p.key),H=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(x in p)Je.call(p,x)&&!pt.hasOwnProperty(x)&&(j[x]=p[x])}var Ve=arguments.length-2;if(Ve===1)j.children=m;else if(Ve>1){for(var Et=Array(Ve),_t=0;_t<Ve;_t++)Et[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Et),j.children=Et}if(a&&a.defaultProps){var Qt=a.defaultProps;for(x in Qt)j[x]===void 0&&(j[x]=Qt[x])}if(ne||U){var jt=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&rt(j,jt),U&&at(j,jt)}return Ke(a,ne,U,H,Fe,pe.current,j)}function St(a,p){var m=Ke(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function kt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var x,j=e({},a.props),ne=a.key,U=a.ref,H=a._self,Fe=a._source,Ve=a._owner;if(p!=null){mt(p)&&(U=p.ref,Ve=pe.current),Ot(p)&&(ne=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for(x in p)Je.call(p,x)&&!pt.hasOwnProperty(x)&&(p[x]===void 0&&Et!==void 0?j[x]=Et[x]:j[x]=p[x])}var _t=arguments.length-2;if(_t===1)j.children=m;else if(_t>1){for(var Qt=Array(_t),jt=0;jt<_t;jt++)Qt[jt]=arguments[jt+2];j.children=Qt}return Ke(a.type,ne,U,H,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",nt=":";function xe(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},x=(""+a).replace(p,function(j){return m[j]});return"$"+x}var Dt=!1,Nt=/\/+/g;function vt(a){return(""+a).replace(Nt,"$&/")}var bt=10,He=[];function ct(a,p,m,x){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=m,j.context=x,j.count=0,j}else return{result:a,keyPrefix:p,func:m,context:x,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<bt&&He.push(a)}function Ye(a,p,m,x){var j=typeof a;(j==="undefined"||j==="boolean")&&(a=null);var ne=!1;if(a===null)ne=!0;else switch(j){case"string":case"number":ne=!0;break;case"object":switch(a.$$typeof){case o:case i:ne=!0}}if(ne)return m(x,a,p===""?Pt+Se(a,0):p),1;var U,H,Fe=0,Ve=p===""?Pt:p+nt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],H=Ve+Se(U,Et),Fe+=Ye(U,H,m,x);else{var _t=P(a);if(typeof _t=="function"){_t===a.entries&&(Dt||ge("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."),Dt=!0);for(var Qt=_t.call(a),jt,So=0;!(jt=Qt.next()).done;)U=jt.value,H=Ve+Se(U,So++),Fe+=Ye(U,H,m,x)}else if(j==="object"){var wn="";wn=" If you meant to render a collection of children, use an array instead."+se.getStackAddendum();var zr=""+a;throw Error("Objects are not valid as a React child (found: "+(zr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":zr)+")."+wn)}}return Fe}function $t(a,p,m){return a==null?0:Ye(a,"",p,m)}function Se(a,p){return typeof a=="object"&&a!==null&&a.key!=null?xe(a.key):p.toString(36)}function Xe(a,p,m){var x=a.func,j=a.context;x.call(j,p,a.count++)}function N(a,p,m){if(a==null)return a;var x=ct(null,null,p,m);$t(a,Xe,x),ze(x)}function Z(a,p,m){var x=a.result,j=a.keyPrefix,ne=a.func,U=a.context,H=ne.call(U,p,a.count++);Array.isArray(H)?je(H,x,m,function(Fe){return Fe}):H!=null&&(Ge(H)&&(H=St(H,j+(H.key&&(!p||p.key!==H.key)?vt(H.key)+"/":"")+m)),x.push(H))}function je(a,p,m,x,j){var ne="";m!=null&&(ne=vt(m)+"/");var U=ct(p,ne,x,j);$t(a,Z,U),ze(U)}function wt(a,p,m){if(a==null)return a;var x=[];return je(a,x,null,p,m),x}function C(a){return $t(a,function(){return null},null)}function V(a){var p=[];return je(a,p,null,function(m){return m}),p}function z(a){if(!Ge(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function Ae(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 x=!1,j=!1;{var ne={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(ne,{Provider:{get:function(){return j||(j=!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(U){m.Provider=U}},_currentValue:{get:function(){return m._currentValue},set:function(U){m._currentValue=U}},_currentValue2:{get:function(){return m._currentValue2},set:function(U){m._currentValue2=U}},_threadCount:{get:function(){return m._threadCount},set:function(U){m._threadCount=U}},Consumer:{get:function(){return x||(x=!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=ne}return m._currentRenderer=null,m._currentRenderer2=null,m}function Le(a){var p={$$typeof:R,_ctor:a,_status:-1,_result:null};{var m,x;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(j){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=j,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return x},set:function(j){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."),x=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function lt(a){return a!=null&&a.$$typeof===O?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:_,render:a}}function Oe(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===u||a===l||a===v||a===T||typeof a=="object"&&a!==null&&(a.$$typeof===R||a.$$typeof===O||a.$$typeof===d||a.$$typeof===h||a.$$typeof===_||a.$$typeof===A||a.$$typeof===k||a.$$typeof===I||a.$$typeof===E)}function f(a,p){return Oe(a)||G("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:O,type:a,compare:p===void 0?null:p}}function b(){var a=ve.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:
483
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
484
+ 2. You might be breaking the Rules of Hooks
485
+ 3. You might have more than one copy of React in the same app
486
+ See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function $(a,p){var m=b();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])?`
487
+
488
+ 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 x=a._context;x.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?"):x.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=b();return p.useState(a)}function oe(a,p,m){var x=b();return x.useReducer(a,p,m)}function te(a){var p=b();return p.useRef(a)}function J(a,p){var m=b();return m.useEffect(a,p)}function Y(a,p){var m=b();return m.useLayoutEffect(a,p)}function De(a,p){var m=b();return m.useCallback(a,p)}function B(a,p){var m=b();return m.useMemo(a,p)}function le(a,p,m){var x=b();return x.useImperativeHandle(a,p,m)}function Ce(a,p){{var m=b();return m.useDebugValue(a,p)}}var Ze;Ze=!1;function Yt(){if(pe.current){var a=ie(pe.current.type);if(a)return`
489
+
490
+ Check the render method of \``+a+"`."}return""}function ot(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),m=a.lineNumber;return`
491
+
492
+ Check your code at `+p+":"+m+"."}return""}function ho(a){return a!=null?ot(a.__source):""}var gn={};function go(a){var p=Yt();if(!p){var m=typeof a=="string"?a:a.displayName||a.name;m&&(p=`
493
+
494
+ Check the top-level render call using <`+m+">.")}return p}function Fr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=go(p);if(!gn[m]){gn[m]=!0;var x="";a&&a._owner&&a._owner!==pe.current&&(x=" It was passed a child from "+ie(a._owner.type)+"."),re(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,x),re(null)}}}function ar(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var x=a[m];Ge(x)&&Fr(x,p)}else if(Ge(a))a._store&&(a._store.validated=!0);else if(a){var j=P(a);if(typeof j=="function"&&j!==a.entries)for(var ne=j.call(a),U;!(U=ne.next()).done;)Ge(U.value)&&Fr(U.value,p)}}}function mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=ie(p),x;if(typeof p=="function")x=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===_||p.$$typeof===O))x=p.propTypes;else return;x?(re(a),t(x,a.props,"prop",m,se.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Ze&&(Ze=!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 Vr(a){{re(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var x=p[m];if(x!=="children"&&x!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",x);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function yn(a,p,m){var x=Oe(a);if(!x){var j="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(j+=" 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 ne=ho(p);ne?j+=ne:j+=Yt();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(ie(a.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):U=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",U,j)}var H=xt.apply(this,arguments);if(H==null)return H;if(x)for(var Fe=2;Fe<arguments.length;Fe++)ar(arguments[Fe],a);return a===s?Vr(H):mn(H),H}var vn=!1;function mo(a){var p=yn.bind(null,a);return p.type=a,vn||(vn=!0,ge("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 ge("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function yo(a,p,m){for(var x=kt.apply(this,arguments),j=2;j<arguments.length;j++)ar(arguments[j],x.type);return mn(x),x}try{var bn=Object.freeze({}),vo=new Map([[bn,null]]),Br=new Set([bn]);vo.set(0,0),Br.add(0)}catch{}var bo=yn,wo=yo,_o=mo,xo={map:wt,forEach:N,count:C,toArray:V,only:z};me.Children=xo,me.Component=_e,me.Fragment=s,me.Profiler=u,me.PureComponent=Rt,me.StrictMode=l,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ce,me.cloneElement=wo,me.createContext=Ae,me.createElement=bo,me.createFactory=_o,me.createRef=dt,me.forwardRef=lt,me.isValidElement=Ge,me.lazy=Le,me.memo=f,me.useCallback=De,me.useContext=$,me.useDebugValue=Ce,me.useEffect=J,me.useImperativeHandle=le,me.useLayoutEffect=Y,me.useMemo=B,me.useReducer=oe,me.useRef=te,me.useState=F,me.version=r}();process.env.NODE_ENV==="production"?Kr.exports=ye:Kr.exports=me;var $r=Kr.exports,Lo={sdkSemver:"1.13.0",techVersion:$r.version,sdkCode:"J"},xy=function(e){Bc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=$r.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new ug(this.imageRef.current,this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentDidUpdate=function(){Wn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Lo)},t.prototype.componentWillUnmount=function(){Wn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=zc(r,["cldImg","plugins"]);if(Mi())return $r.createElement("img",Jr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Jm(this.props.plugins,this.props.cldImg,Lo);return $r.createElement("img",Jr({},n,{src:o}))},t}($r.Component),Sy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Bc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Kr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Vm(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){Wn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){Wn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return Sy.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=zc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return $r.createElement("video",Jr({},n,{ref:this.attachRef}))},t})(Kr.exports.Component);function $y(e){return!(typeof e!="object"||e instanceof Array)}class Ey{filterOutNonSupportedKeys(t,r){const n=Object.create({});return $y(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const ea=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Bi extends Ey{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,ea);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,ea);return new Bi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Xr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class Ty extends Error{constructor(t="Unsupported"){super(t)}}function zi(e){return new Ty(e)}function Ay(){return this._qualifierModel||{error:zi(`unsupported qualifier ${this.constructor.name}`)}}class Oy{constructor(){this._qualifierModel={}}toJson(){return Ay.apply(this)}}class fo extends Oy{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Xr?this.qualifierValue=r:(this.qualifierValue=new Xr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class nr extends fo{constructor(t,r){let n;r?n=new Xr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function Cy(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Ry(){var e,t,r;const n=this._actionModel&&Object.keys(this._actionModel).length,o=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:zi(`unsupported action ${this.constructor.name}`)}}class ky{constructor(){this._actionModel={}}toJson(){return Ry.apply(this)}}class Ui extends ky{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Cy(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new nr(n)):this.qualifiers.set(r,new fo(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new nr(t)):t instanceof nr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function Py(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class jy extends Ui{constructor(t){super(),this._actionModel={},this.addQualifier(new fo("b",new Xr(Py(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class ta{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:zi(`unsupported action ${this.constructor.name}`)}}}function Iy(e){const t=e;return"error"in t&&!!t.error}function My(){return new nr("lossy")}function Ly(){return new nr("preserve_transparency")}function Dy(e){return new nr("progressive",e)}class Ny extends Xr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function wr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const Fy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Vy={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},By={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},zy={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Uy={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Wy={444:"CHROMA_444",420:"CHROMA_420"},qy={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};wr(Wy);wr(qy);wr(Fy);const Gy=wr(Vy);wr(By);wr(zy);wr(Uy);class Hy extends Ui{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ny?o=r.getValue():o=r,this._actionModel.actionType=Gy[t],this._actionModel[n]=o,this.addQualifier(new fo(t,r))}}class Yy extends nr{constructor(t){super("progressive",t)}}class Gn extends Hy{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(My()),this}progressive(t){return t instanceof Yy?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Dy(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Ly()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;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 po{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ta(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof po?this.actions=this.actions.concat(t.actions):this.actions.push(new ta(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new jy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ui;let n=t;return typeof t=="string"&&(n=new nr(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Iy(n))return n;t.push(n)}return{actions:t}}}class Qy extends po{}class Jy extends po{}function Ky(e){return e.match(/^https?:\//)}function Xy(e){return e.indexOf("/")<0}function Zy(e){return e.match(/^v[0-9]+/)}function ev(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;return!r&&!o?`http://res.cloudinary.com/${e}`:r&&!i&&n?`https://${e}-res.cloudinary.com`:r&&!i?`https://res.cloudinary.com/${e}`:r&&i&&n?`https://${i}`:r&&i?`https://${i}/${e}`:!r&&o?`http://${o}/${e}`:"ERROR"}function tv(e){return e||"image"}function rv(e){return e||"upload"}function nv(e,t,r){const n=r!==!1;return t?`v${t}`:Zy(e)||Ky(e)||Xy(e)?"":n?"v1":""}function Wi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=ov(o,n/o.length)),o.slice(0,n)+String(e))}function ov(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const iv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hn={};let ra=0;iv.split("").forEach(e=>{let t=ra.toString(2);t=Wi(t,6,"0"),Hn[t]=e,ra++});function sv(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function av(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Wi(t,2,"0")}).join(".")}function na(e){let t="";const n=e.split(".").length*6,o=sv(e),i=av(o);let l=parseInt(i.split(".").join("")).toString(2);if(l=Wi(l,n,"0"),l.length%6!==0)throw"Version must be smaller than 43.21.26)";return l.match(/.{1,6}/g).forEach(u=>{t+=Hn[u]}),t}function cv(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const lv="1.21.0";function uv(e){const[t,r]=e.split("."),n=parseInt(t).toString(2),o=parseInt(r).toString(2),i=n.padStart(6,"0"),s=o.padStart(6,"0");return Hn[i]+Hn[s]}function fv(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function dv(e){const t={techVersion:fv(),sdkCode:"T",sdkSemver:lv.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function oa(e){const t=dv(e),r=cv(t);try{const n=pv(r.techVersion),o=na(r.sdkSemver),i=na(n),s=uv(r.osVersion),l=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${l}`}catch{return"E"}}function pv(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const ia={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class hv{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Bi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=tv(this.assetType),r=rv(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=ia[`${t}/${r}`],s=this.urlConfig.useRootPath,l=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(l&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(ia).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=ev(this.cloudName,this.urlConfig),o=t?t.toString():"",i=nv(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const l=[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"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",oa(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||"",u&&(d+=`${d.length>0?"&":""}_a=${oa(r)}`);return d?`${l}?${d}`:l}}}class tl extends hv{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Gn("q",t)),this}format(t){return this.addAction(new Gn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class gv extends tl{constructor(t,r,n){super(t,r,n,new Qy)}}class mv extends tl{constructor(t,r,n){super(t,r,n,new Jy),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class yv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new gv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new mv(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const vv=({publicId:e,format:t="webp"})=>{const r=S.useMemo(()=>new yv({cloud:{cloudName:"fluid-attacks"}}),[]);return S.useMemo(()=>r.image(e).format(t),[r,e,t])},bv=({alt:e="img",height:t="",width:r="",plugins:n=[Wm(),Ym()],publicId:o})=>{const i=vv({publicId:o});return K.jsx(xy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},rl=S.memo(bv),wv=Qe.button`
495
495
  ${({theme:e,$resolution:t})=>`
496
496
  align-items: center;
497
497
  border-left: 3px solid transparent;
@@ -511,11 +511,12 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
511
511
  &.disabled {
512
512
  border-color: ${e.palette.gray[500]};
513
513
  color: ${e.palette.gray[500]};
514
+ cursor: not-allowed;
514
515
  }
515
516
 
516
517
  &:hover:not(.disabled) {
517
518
  background-color: ${e.palette.gray[700]};
518
- border-color: ${e.palette.complementary[300]};
519
+ border-color: ${e.palette.primary[400]};
519
520
  }
520
521
  }
521
522
 
@@ -527,15 +528,16 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
527
528
  background-color: ${e.palette.white};
528
529
  border-color: ${e.palette.gray[300]};
529
530
  color: ${e.palette.gray[300]};
531
+ cursor: not-allowed;
530
532
  }
531
533
 
532
534
  &:hover:not(.disabled) {
533
535
  background-color: ${e.palette.gray[100]};
534
- border-color: ${e.palette.complementary[300]};
536
+ border-color: ${e.palette.primary[400]};
535
537
  }
536
538
  }
537
539
  `}
538
- `,hv=Qe.div`
540
+ `,_v=Qe.div`
539
541
  ${({theme:e})=>`
540
542
  align-items: center;
541
543
  background-color: transparent;
@@ -565,7 +567,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
565
567
  color: ${e.palette.gray[800]};
566
568
  }
567
569
  `}
568
- `,gv=Qe.div`
570
+ `,xv=Qe.div`
569
571
  ${({theme:e})=>`
570
572
  background-color: ${e.palette.white};
571
573
  border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
@@ -580,7 +582,7 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
580
582
  border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
581
583
  }
582
584
  `}
583
- `,yv=Qe.div`
585
+ `,Sv=Qe.div`
584
586
  ${({theme:e})=>`
585
587
  align-items: flex-start;
586
588
  cursor: pointer;
@@ -602,4 +604,4 @@ Check the top-level render call using <`+y+">.")}return p}function Vr(a,p){if(!(
602
604
  }
603
605
  }
604
606
  `}
605
- `,mv=({disabled:e=!1,mode:t,onClick:r,resolution:n,text:o})=>q.jsx(pv,{$resolution:n,className:`${e&&"disabled"} ${t}`,onClick:r,children:o}),vv=[{text:"EN"},{text:"ES"}],bv=({items:e,handleClick:t,mode:r="light",resolution:n="desktop"})=>{const o=e??vv,[i,s]=$.useState(o[0].text),c=$.useCallback(u=>()=>{t(u.text),s(u.text)},[]);return q.jsxs(yv,{children:[q.jsxs(hv,{className:r,children:[q.jsx(vr,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),i]}),q.jsx(gv,{children:o.map((u,d)=>q.jsx(mv,{disabled:u.disabled,mode:r,onClick:c(u),resolution:n,text:u.text},`${u.text}_${d}`))})]})},wv={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},_v=({publicId:e,variant:t})=>q.jsx(Ot,{...wv[t],children:q.jsx(Un,{alt:"logo",publicId:e})});exports.Accordion=lh;exports.BaseButtonComponent=Ia;exports.BaseComponent=to;exports.BaseSpanComponent=Ma;exports.BaseTextComponent=wi;exports.Button=dv;exports.CloudImage=Un;exports.Container=Ot;exports.CustomThemeProvider=Mu;exports.Heading=ch;exports.Icon=vr;exports.LanguageSelector=bv;exports.Logo=_v;exports.Text=dr;exports.Tooltip=tl;exports.getStyledConfig=an;exports.hiddenProps=la;exports.icons=ju;exports.setBorder=rn;exports.setDisplay=nn;exports.setInteraction=sn;exports.setMargin=en;exports.setPadding=Zr;exports.setPosition=tn;exports.setText=on;exports.theme=oe;exports.uniqueIcons=Iu;exports.variantBuilder=ca;
607
+ `,$v=({disabled:e=!1,mode:t,onClick:r,resolution:n,text:o})=>K.jsx(wv,{$resolution:n,className:`${e&&"disabled"} ${t}`,disabled:e,onClick:r,children:o}),Ev=[{text:"EN"},{text:"ES"}],Tv=({items:e,handleClick:t,mode:r="light",resolution:n="desktop"})=>{const o=e??Ev,[i,s]=S.useState(o[0].text),l=S.useCallback(u=>()=>{t(u.text),s(u.text)},[]);return K.jsxs(Sv,{children:[K.jsxs(_v,{className:r,children:[K.jsx(kr,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),i]}),K.jsx(xv,{children:o.map((u,d)=>K.jsx($v,{disabled:u.disabled,mode:r,onClick:l(u),resolution:n,text:u.text},`${u.text}_${d}`))})]})},Av={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},Ov=({publicId:e,variant:t})=>K.jsx(qt,{...Av[t],children:K.jsx(rl,{alt:"logo",publicId:e})});exports.Accordion=nf;exports.BaseButtonComponent=Pa;exports.BaseComponent=eo;exports.BaseSpanComponent=ja;exports.BaseTextComponent=vi;exports.Button=ag;exports.CloudImage=rl;exports.Container=qt;exports.CustomThemeProvider=Lu;exports.Heading=Zu;exports.Icon=kr;exports.LanguageSelector=Tv;exports.Logo=Ov;exports.Text=Yr;exports.Tooltip=ic;exports.getStyledConfig=an;exports.hiddenProps=aa;exports.icons=Iu;exports.setBorder=rn;exports.setDisplay=nn;exports.setInteraction=sn;exports.setMargin=en;exports.setPadding=Zr;exports.setPosition=tn;exports.setText=on;exports.theme=de;exports.uniqueIcons=Mu;exports.variantBuilder=sa;