@fluidattacks/design 1.2.14 → 1.2.16
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/README.md +3 -1
- package/dist/design.js +175 -59
- package/dist/design.mjs +1632 -1470
- package/dist/src/components/@core/types.d.ts +3 -1
- package/dist/src/components/accordion/types.d.ts +7 -4
- package/dist/src/components/button/types.d.ts +2 -3
- package/dist/src/components/language-selector/index.d.ts +3 -0
- package/dist/src/components/language-selector/index.stories.d.ts +7 -0
- package/dist/src/components/language-selector/item-list/index.d.ts +3 -0
- package/dist/src/components/language-selector/styles.d.ts +9 -0
- package/dist/src/components/language-selector/types.d.ts +39 -0
- package/dist/src/hooks/index.d.ts +2 -1
- package/dist/src/hooks/use-click-outside.d.ts +2 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/design.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=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 lt=function(){return lt=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},lt.apply(this,arguments)};function Ar(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,mi=String.fromCharCode,Fo=Object.assign;function ml(e,t){return Ze(e,0)^45?(((t<<2^Ze(e,0))<<2^Ze(e,1))<<2^Ze(e,2))<<2^Ze(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 Ze(e,t){return e.charCodeAt(t)|0}function Or(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 yl(e,t){return e.map(t).join("")}function es(e,t){return e.filter(function(r){return!Kt(r,t)})}var Jn=1,Cr=1,ma=0,Dt=0,Ue=0,Lr="";function Kn(e,t,r,n,o,i,s,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Jn,column:Cr,length:s,return:"",siblings:l}}function er(e,t){return Fo(Kn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Sr(e){for(;e.root;)e=er(e.root,{children:[e]});Hr(e,e.siblings)}function vl(){return Ue}function bl(){return Ue=Dt>0?Ze(Lr,--Dt):0,Cr--,Ue===10&&(Cr=1,Jn--),Ue}function Vt(){return Ue=Dt<ma?Ze(Lr,Dt++):0,Cr++,Ue===10&&(Cr=1,Jn++),Ue}function pr(){return Ze(Lr,Dt)}function Rn(){return Dt}function Xn(e,t){return Or(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=Cr=1,ma=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 El(e,t){for(;Vt()&&e+Ue!==57;)if(e+Ue===84&&pr()===47)break;return"/*"+Xn(t,Dt-1)+"*"+mi(e===47?e:Vt())}function $l(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,l,u){for(var d=0,h=0,y=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&&Ze(P,y-1)==58){Cn(P+=ee(Oo(C),"&","&\f"),"&\f",pa(d?l[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(El(Vt(),Rn()),t,r,u),u);break;default:P+="/"}break;case 123*x:l[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)-y&&Hr(v>32?rs(P+";",n,r,y-1,u):rs(ee(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Hr(D=ts(P,t,r,d,h,o,l,k,I=[],M=[],y,i),i),C===123)if(h===0)kn(P,t,D,D,I,i,y,l,M);else switch(w===99&&Ze(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,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,x=A=1,k=P="",y=s;break;case 58:y=1+qt(P),v=T;default:if(x<1){if(C==123)--x;else if(C==125&&x++==0&&bl()==125)continue}switch(P+=mi(C),C*x){case 38:A=h>0?1:(P+="\f",-1);break;case 44:l[d++]=(qt(P)-1)*A,A=1;break;case 64:pr()===45&&(P+=Oo(Vt())),w=pr(),h=y=qt(k=P+=$l(Rn())),C++;break;case 45:T===45&&qt(P)==2&&(x=0)}}return i}function ts(e,t,r,n,o,i,s,l,u,d,h,y){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=Or(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:l,u,d,h,y)}function Al(e,t,r,n){return Kn(e,t,r,fa,mi(vl()),Or(e,2,-2),0,n)}function rs(e,t,r,n,o){return Kn(e,t,r,gi,Or(e,0,n),Or(e,n+1,-1),n,o)}function ya(e,t,r){switch(ml(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(Ze(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"+Or(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(Ze(e,t+1)){case 109:if(Ze(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+he+"$2-$3$1"+Yr+(Ze(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cn(e,"stretch",0)?ya(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(Ze(e,t+6)===121)return ee(e,":",":"+he)+e;break;case 6444:switch(Ze(e,Ze(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+he+(Ze(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="",l=0;l<t;l++)s+=e[l](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=ya(e.value,e.length,r);return;case da:return In([er(e,{value:ee(e.value,"@","@"+he)})],n);case Qn:if(e.length)return yl(r=e.props,function(o){switch(Kt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Sr(er(e,{props:[ee(o,/:(read-\w+)/,":"+Yr+"$1")]})),Sr(er(e,{props:[o]})),Fo(e,{props:es(r,n)});break;case"::placeholder":Sr(er(e,{props:[ee(o,/:(plac\w+)/,":"+he+"input-$1")]})),Sr(er(e,{props:[ee(o,/:(plac\w+)/,":"+Yr+"$1")]})),Sr(er(e,{props:[ee(o,/:(plac\w+)/,Re+"input-$1")]})),Sr(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},mr=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",yi=`/*!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
|
|
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.
|
|
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
|
|
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.
|
|
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,Ar([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 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(yi);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(mr,"][").concat(ba,'="').concat(Zn,'"]'),eu=new RegExp("^".concat(mr,'\\.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(yi),o=[],i=0,s=n.length;i<s;i++){var l=n[i].trim();if(l){var u=l.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(l)}}},us=function(e){for(var t=document.querySelectorAll(Zl),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(mr)!==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(l){var u=Array.from(l.querySelectorAll("style[".concat(mr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(mr,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=Rr),r===void 0&&(r={});var o=this;this.options=lt(lt({},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(),l=s.length,u="",d=function(y){var w=function(A){return Ln.get(A)}(y);if(w===void 0)return"continue";var v=i.names.get(w),T=s.getGroup(y);if(v===void 0||!v.size||T.length===0)return"continue";var x="".concat(mr,".g").concat(y,'[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(yi)},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&&us(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(lt(lt({},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=Rr,i=o.options,s=i===void 0?Rr:i,l=o.plugins,u=l===void 0?eo:l,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 y=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 y.hash=u.length?u.reduce(function(w,v){return v.name||Xt(15),ur(w,v.name)},wa).toString():"",y}var fu=new Oa,qo=uu(),Ra=E.createContext({shouldForwardProp:void 0,styleSheet:fu,stylis:qo});Ra.Consumer;E.createContext(void 0);function ds(){return E.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||yr(i)?n.push("".concat(hs(o),":"),i,";"):kr(i)?n.push.apply(n,Ar(Ar(["".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(yr(e)){if(!yr(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||kr(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]:kr(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(yr(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 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 w=ls(hr(y,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=E.createContext(void 0);Dn.Consumer;function mu(e){var t=E.useContext(Dn),r=E.useMemo(function(){return function(n,o){if(!n)throw Xt(14);if(yr(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?lt(lt({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?E.createElement(Dn.Provider,{value:r},e.children):null}var ko={},gs=new Set;function yu(e,t,r){var n=vi(e),o=e,i=!Ro(e),s=t.attrs,l=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,y=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(l).filter(Boolean):l,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,Ee=E.useContext(Dn),se=ds(),ae=D.shouldForwardProp||se.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.useDebugValue(we);var ce=Ml(P,Ee,Ne)||Rr,re=function(et,We,qe){for(var fe,_e=lt(lt({},We),{className:void 0,theme:qe}),$e=0;$e<et.length;$e+=1){var Be=yr(fe=et[$e])?fe(_e):fe;for(var Pe in Be)_e[Pe]=Pe==="className"?fr(_e[Pe],Be[Pe]):Pe==="style"?lt(lt({},_e[Pe]),Be[Pe]):Be[Pe]}return We.className&&(_e.className=fr(_e.className,We.className)),_e}(be,P,ce),q=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,q)||(le[ge]=re[ge],ae||process.env.NODE_ENV!=="development"||pl(ge)||gs.has(ge)||!zo.has(q)||(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 G=function(et,We){var qe=ds(),fe=et.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&E.useDebugValue(fe),fe}(pe,re);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var it=fr(Me,we);return G&&(it+=" "+G),re.className&&(it+=" "+re.className),le[Ro(q)&&!zo.has(q)?"class":"className"]=it,le.ref=ve,E.createElement(q,le)}(k,I,M)}C.displayName=y;var k=E.forwardRef(C);return k.attrs=v,k.componentStyle=A,k.displayName=y,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(y,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 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,`.
|
|
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,9 +51,9 @@ Example:
|
|
|
51
51
|
},
|
|
52
52
|
}))\`width: 100%;\`
|
|
53
53
|
|
|
54
|
-
<Component />`),P=!0,D={}}}}(
|
|
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.
|
|
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(
|
|
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.
|
|
57
57
|
|
|
58
58
|
See https://s-c.sh/2BAXzed for more info.`),window[An]+=1);var Ho={exports:{}},Wr={};/**
|
|
59
59
|
* @license React
|
|
@@ -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
|
|
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={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-jsx-runtime.development.js
|
|
69
69
|
*
|
|
@@ -71,46 +71,46 @@ 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
|
|
75
|
-
`+qe+f}}var _e=!1
|
|
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(`
|
|
76
76
|
`),De=F.stack.split(`
|
|
77
|
-
`),B=
|
|
78
|
-
`+
|
|
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`
|
|
79
79
|
|
|
80
|
-
Check the render method of \``+f+"`."}return""}}function
|
|
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=`
|
|
81
81
|
|
|
82
|
-
Check the top-level render call using
|
|
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`
|
|
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),
|
|
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`
|
|
90
90
|
${t}
|
|
91
91
|
${r}
|
|
92
92
|
${n}
|
|
93
93
|
${o}
|
|
94
94
|
${i}
|
|
95
95
|
${s}
|
|
96
|
-
${
|
|
96
|
+
${c}
|
|
97
97
|
`},Lu=e=>e.includes("x")?"overflow-x: auto;":"",Du=e=>e.includes("y")?"overflow-y: auto;":"",nn=e=>{const t=e.scroll?`
|
|
98
98
|
${Lu(e.scroll)}
|
|
99
99
|
${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),
|
|
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`
|
|
101
101
|
${t}
|
|
102
102
|
${r}
|
|
103
103
|
${n}
|
|
104
104
|
${o}
|
|
105
105
|
${i}
|
|
106
106
|
${s}
|
|
107
|
-
${
|
|
107
|
+
${c}
|
|
108
108
|
${u}
|
|
109
109
|
${d}
|
|
110
110
|
${h}
|
|
111
111
|
${w}
|
|
112
112
|
${v}
|
|
113
|
-
${
|
|
113
|
+
${m}
|
|
114
114
|
${T}
|
|
115
115
|
${x}
|
|
116
116
|
${O}
|
|
@@ -118,18 +118,18 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
118
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),
|
|
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`
|
|
122
122
|
${t}
|
|
123
123
|
${r}
|
|
124
124
|
${n}
|
|
125
125
|
${o}
|
|
126
126
|
${i}
|
|
127
127
|
${s}
|
|
128
|
-
${
|
|
128
|
+
${c}
|
|
129
129
|
${u}
|
|
130
130
|
${d}
|
|
131
131
|
${h}
|
|
132
|
-
${
|
|
132
|
+
${m}
|
|
133
133
|
${w}
|
|
134
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`
|
|
135
135
|
${t}
|
|
@@ -140,7 +140,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
140
140
|
${n}
|
|
141
141
|
${o}
|
|
142
142
|
}
|
|
143
|
-
`},an=()=>({shouldForwardProp:e=>!la.includes(e)}),to=
|
|
143
|
+
`},an=()=>({shouldForwardProp:e=>!la.includes(e)}),to=Qe.div.withConfig(an())`
|
|
144
144
|
${Zr}
|
|
145
145
|
${en}
|
|
146
146
|
${tn}
|
|
@@ -148,7 +148,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
148
148
|
${on}
|
|
149
149
|
${rn}
|
|
150
150
|
${sn}
|
|
151
|
-
`,Ia=
|
|
151
|
+
`,Ia=Qe.button.withConfig(an())`
|
|
152
152
|
${Zr}
|
|
153
153
|
${en}
|
|
154
154
|
${tn}
|
|
@@ -156,7 +156,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
156
156
|
${on}
|
|
157
157
|
${rn}
|
|
158
158
|
${sn}
|
|
159
|
-
`,wi=
|
|
159
|
+
`,wi=Qe.p.withConfig(an())`
|
|
160
160
|
${Zr}
|
|
161
161
|
${en}
|
|
162
162
|
${tn}
|
|
@@ -164,7 +164,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
164
164
|
${on}
|
|
165
165
|
${rn}
|
|
166
166
|
${sn}
|
|
167
|
-
`,Ma=
|
|
167
|
+
`,Ma=Qe.span.withConfig(an())`
|
|
168
168
|
${Zr}
|
|
169
169
|
${en}
|
|
170
170
|
${tn}
|
|
@@ -172,7 +172,7 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
172
172
|
${on}
|
|
173
173
|
${rn}
|
|
174
174
|
${sn}
|
|
175
|
-
`,Nu=
|
|
175
|
+
`,Nu=Qe(to)`
|
|
176
176
|
animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
|
|
177
177
|
animation-fill-mode: both;
|
|
178
178
|
|
|
@@ -180,11 +180,12 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
180
180
|
0% {
|
|
181
181
|
width: 0;
|
|
182
182
|
}
|
|
183
|
+
|
|
183
184
|
100% {
|
|
184
185
|
width: 100%;
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
|
-
`,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]",l="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",y="[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]",Ee="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ae=/\w*$/,ce=/^\[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[w]=q[v]=q[T]=q[O]=q[A]=q[C]=q[k]=q[Me]=q[we]=q[J]=q[Ee]=!0,q[d]=q[h]=q[I]=!1;var le=typeof tr=="object"&&tr&&tr.Object===Object&&tr,ge=typeof self=="object"&&self&&self.Object===Object&&self,G=le||ge||Function("return this")(),it=t&&!t.nodeType&&t,et=it&&!0&&e&&!e.nodeType&&e,We=et&&et.exports===it;function qe(c,g){return c.set(g[0],g[1]),c}function fe(c,g){return c.add(g),c}function _e(c,g){for(var _=-1,L=c?c.length:0;++_<L&&g(c[_],_,c)!==!1;);return c}function $e(c,g){for(var _=-1,L=g.length,ot=c.length;++_<L;)c[ot+_]=g[_];return c}function Be(c,g,_,L){for(var ot=-1,Tt=c?c.length:0;++ot<Tt;)_=g(_,c[ot],ot,c);return _}function Pe(c,g){for(var _=-1,L=Array(c);++_<c;)L[_]=g(_);return L}function ut(c,g){return c==null?void 0:c[g]}function kt(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Te(c){var g=-1,_=Array(c.size);return c.forEach(function(L,ot){_[++g]=[ot,L]}),_}function ft(c,g){return function(_){return c(g(_))}}function Qe(c){var g=-1,_=Array(c.size);return c.forEach(function(L){_[++g]=L}),_}var dt=Array.prototype,de=Function.prototype,pt=Object.prototype,ht=G["__core-js_shared__"],gt=function(){var c=/[^.]+$/.exec(ht&&ht.keys&&ht.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ct=de.toString,tt=pt.hasOwnProperty,st=pt.toString,mt=RegExp("^"+Ct.call(tt).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=We?G.Buffer:void 0,xt=G.Symbol,St=G.Uint8Array,Pt=ft(Object.getPrototypeOf,Object),Ge=Object.create,jt=pt.propertyIsEnumerable,rt=dt.splice,xe=Object.getOwnPropertySymbols,Nt=Je?Je.isBuffer:void 0,Ft=ft(Object.keys,Object),yt=H(G,"DataView"),vt=H(G,"Map"),He=H(G,"Promise"),at=H(G,"Set"),ze=H(G,"WeakMap"),Ye=H(Object,"create"),Et=cr(yt),Se=cr(vt),Ke=cr(He),N=cr(at),Z=cr(ze),je=xt?xt.prototype:void 0,bt=je?je.valueOf:void 0;function R(c){var g=-1,_=c?c.length:0;for(this.clear();++g<_;){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 _=g[c];return _===n?void 0:_}return tt.call(g,c)?g[c]:void 0}function Le(c){var g=this.__data__;return Ye?g[c]!==void 0:tt.call(g,c)}function ct(c,g){var _=this.__data__;return _[c]=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=ct;function Oe(c){var g=-1,_=c?c.length:0;for(this.clear();++g<_;){var L=c[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function b(c){var g=this.__data__,_=ar(g,c);if(_<0)return!1;var L=g.length-1;return _==L?g.pop():rt.call(g,_,1),!0}function $(c){var g=this.__data__,_=ar(g,c);return _<0?void 0:g[_][1]}function F(c){return ar(this.__data__,c)>-1}function ie(c,g){var _=this.__data__,L=ar(_,c);return L<0?_.push([c,g]):_[L][1]=g,this}Oe.prototype.clear=f,Oe.prototype.delete=b,Oe.prototype.get=$,Oe.prototype.has=F,Oe.prototype.set=ie;function te(c){var g=-1,_=c?c.length:0;for(this.clear();++g<_;){var L=c[g];this.set(L[0],L[1])}}function K(){this.__data__={hash:new R,map:new(vt||Oe),string:new R}}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 ue(c,g){return U(this,c).set(c,g),this}te.prototype.clear=K,te.prototype.delete=Y,te.prototype.get=De,te.prototype.has=B,te.prototype.set=ue;function Ce(c){this.__data__=new Oe(c)}function Xe(){this.__data__=new Oe}function Yt(c){return this.__data__.delete(c)}function nt(c){return this.__data__.get(c)}function go(c){return this.__data__.has(c)}function gn(c,g){var _=this.__data__;if(_ instanceof Oe){var L=_.__data__;if(!vt||L.length<r-1)return L.push([c,g]),this;_=this.__data__=new te(L)}return _.set(c,g),this}Ce.prototype.clear=Xe,Ce.prototype.delete=Yt,Ce.prototype.get=nt,Ce.prototype.has=go,Ce.prototype.set=gn;function mo(c,g){var _=$o(c)||nl(c)?Pe(c.length,String):[],L=_.length,ot=!!L;for(var Tt in c)tt.call(c,Tt)&&!(ot&&(Tt=="length"||It(Tt,L)))&&_.push(Tt);return _}function Vr(c,g,_){var L=c[g];(!(tt.call(c,g)&&Hi(L,_))||_===void 0&&!(g in c))&&(c[g]=_)}function ar(c,g){for(var _=c.length;_--;)if(Hi(c[_][0],g))return _;return-1}function mn(c,g){return c&&S(g,To(g),c)}function Br(c,g,_,L,ot,Tt,Jt){var At;if(L&&(At=Tt?L(c,ot,Tt,Jt):L(c)),At!==void 0)return At;if(!_n(c))return c;var Ji=$o(c);if(Ji){if(At=$t(c),!g)return m(c,At)}else{var xr=Ve(c),Ki=xr==h||xr==y;if(il(c))return bo(c,g);if(xr==T||xr==i||Ki&&!Tt){if(kt(c))return Tt?c:{};if(At=wt(Ki?{}:c),!g)return j(c,mn(At,c))}else{if(!q[xr])return Tt?c:{};At=Qt(c,xr,Br,g)}}Jt||(Jt=new Ce);var Xi=Jt.get(c);if(Xi)return Xi;if(Jt.set(c,At),!Ji)var Zi=_?ne(c):To(c);return _e(Zi||c,function(Ao,xn){Zi&&(xn=Ao,Ao=c[xn]),Vr(At,xn,Br(Ao,g,_,L,xn,c,Jt))}),At}function yn(c){return _n(c)?Ge(c):{}}function vn(c,g,_){var L=g(c);return $o(c)?L:$e(L,_(c))}function yo(c){return st.call(c)}function vo(c){if(!_n(c)||wn(c))return!1;var g=Qi(c)||kt(c)?mt:ce;return g.test(cr(c))}function bn(c){if(!Ur(c))return Ft(c);var g=[];for(var _ in Object(c))tt.call(c,_)&&_!="constructor"&&g.push(_);return g}function bo(c,g){if(g)return c.slice();var _=new c.constructor(c.length);return c.copy(_),_}function zr(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function wo(c,g){var _=g?zr(c.buffer):c.buffer;return new c.constructor(_,c.byteOffset,c.byteLength)}function _o(c,g,_){var L=g?_(Te(c),!0):Te(c);return Be(L,qe,new c.constructor)}function xo(c){var g=new c.constructor(c.source,ae.exec(c));return g.lastIndex=c.lastIndex,g}function So(c,g,_){var L=g?_(Qe(c),!0):Qe(c);return Be(L,fe,new c.constructor)}function a(c){return bt?Object(bt.call(c)):{}}function p(c,g){var _=g?zr(c.buffer):c.buffer;return new c.constructor(_,c.byteOffset,c.length)}function m(c,g){var _=-1,L=c.length;for(g||(g=Array(L));++_<L;)g[_]=c[_];return g}function S(c,g,_,L){_||(_={});for(var ot=-1,Tt=g.length;++ot<Tt;){var Jt=g[ot],At=void 0;Vr(_,Jt,At===void 0?c[Jt]:At)}return _}function j(c,g){return S(c,Fe(c),g)}function ne(c){return vn(c,To,Fe)}function U(c,g){var _=c.__data__;return Eo(g)?_[typeof g=="string"?"string":"hash"]:_.map}function H(c,g){var _=ut(c,g);return vo(_)?_:void 0}var Fe=xe?ft(xe,Object):cl,Ve=yo;(yt&&Ve(new yt(new ArrayBuffer(1)))!=D||vt&&Ve(new vt)!=w||He&&Ve(He.resolve())!=x||at&&Ve(new at)!=A||ze&&Ve(new ze)!=I)&&(Ve=function(c){var g=st.call(c),_=g==T?c.constructor:void 0,L=_?cr(_):void 0;if(L)switch(L){case Et:return D;case Se:return w;case Ke:return x;case N:return A;case Z:return I}return g});function $t(c){var g=c.length,_=c.constructor(g);return g&&typeof c[0]=="string"&&tt.call(c,"index")&&(_.index=c.index,_.input=c.input),_}function wt(c){return typeof c.constructor=="function"&&!Ur(c)?yn(Pt(c)):{}}function Qt(c,g,_,L){var ot=c.constructor;switch(g){case M:return zr(c);case l:case u:return new ot(+c);case D:return wo(c,L);case P:case ve:case be:case pe:case Ne:case Me:case we:case J:case Ee:return p(c,L);case w:return _o(c,L,_);case v:case C:return new ot(c);case O:return xo(c);case A:return So(c,L,_);case k:return a(c)}}function It(c,g){return g=g??o,!!g&&(typeof c=="number"||re.test(c))&&c>-1&&c%1==0&&c<g}function Eo(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function wn(c){return!!gt&> in c}function Ur(c){var g=c&&c.constructor,_=typeof g=="function"&&g.prototype||pt;return c===_}function cr(c){if(c!=null){try{return Ct.call(c)}catch{}try{return c+""}catch{}}return""}function rl(c){return Br(c,!0,!0)}function Hi(c,g){return c===g||c!==c&&g!==g}function nl(c){return ol(c)&&tt.call(c,"callee")&&(!jt.call(c,"callee")||st.call(c)==i)}var $o=Array.isArray;function Yi(c){return c!=null&&sl(c.length)&&!Qi(c)}function ol(c){return al(c)&&Yi(c)}var il=Nt||ll;function Qi(c){var g=_n(c)?st.call(c):"";return g==h||g==y}function sl(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 al(c){return!!c&&typeof c=="object"}function To(c){return Yi(c)?mo(c):bn(c)}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 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 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: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 Nn(e,t,r,n,o){return Wu(this,void 0,void 0,function(){var i,s;return qu(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 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(l){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=Jo(o,l);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 l=Jo(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}},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 wr(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=wr(Va);wr(of);const af=wr(Da),cf=wr(rf),Ba=wr(Na);wr(Fa);wr(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: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 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 mf(){return new za("grayscale")}function _s(e){return new pf("colorize",e)}function yf(){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 Ef(){return new Lt("preserve_transparency")}function $f(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($f(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Ef()),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:l,height:u}=n,d=Da[r]||r,h=new this(d,l,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?xf():s),o&&h.relative(),i&&h.regionRelative(),h}}class Ei extends X{constructor(t){super("g",new Ie(t))}}class qa extends Ei{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Ga extends Ei{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class Ha extends Ei{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=$i(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function $i(e){return`${e}`.replace("g_","")}function Mf(e){return{compass:$i(e),gravityType:"direction"}}function Lf(e){return $i(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`
|
|
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&>.keys&>.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`
|
|
188
189
|
b_auto:border
|
|
189
190
|
${this._contrast?"_contrast":""}
|
|
190
191
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
@@ -204,43 +205,43 @@ Check the top-level render call using <`+$+">.")}return b}}function je(f,b){{if(
|
|
|
204
205
|
b_auto:predominant
|
|
205
206
|
${this._contrast?"_contrast":""}
|
|
206
207
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
207
|
-
`.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 mc={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=mc.blurred();return n.brightness(t??Qf),n.intensity(r??Za),n}function Es(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 $s(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 $s(lc(),e);case"borderGradient":return Es(fc(),e);case"predominant":return $s(pc(),e);case"predominantGradient":return Es(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 md(e,t){return new fd("pad",e,t)}class yd 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 l=sf[n.toUpperCase()];l&&s.chromaSubSampling(+l)}return o&&s.quantization(o),s}}function so(e){return new Ko("f",e)}function ao(e){return new yd(e)}function vd(){return new Ka("north_east")}_s(70).color("black"),_s(40).color("white"),mf(),vf();var bd=new oo().effect(yf()).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(md("iw_div_2").aspectRatio(1).background(mc.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,l){var u=this;this.mimeType="video",this.mimeSubTypes=Os,this.videoElement=t,this.originalVideo=r,this.videoOptions=l,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,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(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 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]);Nn(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),Ed=typeof tr=="object"&&tr&&tr.Object===Object&&tr,$d=typeof self=="object"&&self&&self.Object===Object&&self;Ed||$d||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 l=function(){return s({lazyload:!0})},u=Rd(r,l,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,l=rr(r);if(s.forEach(function(d){l.addAction(d)}),!ki())return r.transformation=l.transformation,!0;if(Td(t)){l.transformation.actions.forEach(function(d,h){d instanceof Ut&&d.getActionTag()==="responsive"&&delete l.transformation.actions[h]});var u=Jo(o,{placeholder:!0});return t.src=l.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 yc(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:{}},ye={};/*
|
|
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={};/*
|
|
208
209
|
object-assign
|
|
209
210
|
(c) Sindre Sorhus
|
|
210
211
|
@license MIT
|
|
211
|
-
*/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
|
|
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
|
|
212
213
|
* react.production.min.js
|
|
213
214
|
*
|
|
214
215
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
215
216
|
*
|
|
216
217
|
* This source code is licensed under the MIT license found in the
|
|
217
218
|
* LICENSE file in the root directory of this source tree.
|
|
218
|
-
*/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
|
|
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
|
|
219
220
|
* react.development.js
|
|
220
221
|
*
|
|
221
222
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
222
223
|
*
|
|
223
224
|
* This source code is licensed under the MIT license found in the
|
|
224
225
|
* LICENSE file in the root directory of this source tree.
|
|
225
|
-
*/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,
|
|
226
|
-
in `+(a||"Unknown")+S}var we=1;function J(a){return a._status===we?a._result:null}function
|
|
227
|
-
in`)===0;if(!S){var j=le.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 et={};function We(a,p){{var m=a.constructor,S=m&&(m.displayName||m.name)||"ReactClass",j=S+"."+p;if(et[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,S),et[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,S){We(a,"replaceState")},enqueueSetState:function(a,p,m,S){We(a,"setState")}},fe={};Object.freeze(fe);function _e(a,p,m){this.props=a,this.context=p,this.refs=fe,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 $e={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 $e)$e.hasOwnProperty(Pe)&&Be(Pe,$e[Pe])}function ut(){}ut.prototype=_e.prototype;function kt(a,p,m){this.props=a,this.context=p,this.refs=fe,this.updater=m||qe}var Te=kt.prototype=new ut;Te.constructor=kt,e(Te,_e.prototype),Te.isPureReactComponent=!0;function ft(){var a={current:null};return Object.seal(a),a}var Qe=Object.prototype.hasOwnProperty,dt={key:!0,ref:!0,__self:!0,__source:!0},de,pt,ht;ht={};function gt(a){if(Qe.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(Qe.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function tt(a,p){var m=function(){de||(de=!0,G("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function st(a,p){var m=function(){pt||(pt=!0,G("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function mt(a){if(typeof a.ref=="string"&&pe.current&&a.__self&&pe.current.stateNode!==a.__self){var p=se(pe.current.type);ht[p]||(G('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',se(pe.current.type),a.ref),ht[p]=!0)}}var Je=function(a,p,m,S,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:S}),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 S,j={},ne=null,U=null,H=null,Fe=null;if(p!=null){gt(p)&&(U=p.ref,mt(p)),Ct(p)&&(ne=""+p.key),H=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(S in p)Qe.call(p,S)&&!dt.hasOwnProperty(S)&&(j[S]=p[S])}var Ve=arguments.length-2;if(Ve===1)j.children=m;else if(Ve>1){for(var $t=Array(Ve),wt=0;wt<Ve;wt++)$t[wt]=arguments[wt+2];Object.freeze&&Object.freeze($t),j.children=$t}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&&tt(j,It),U&&st(j,It)}return Je(a,ne,U,H,Fe,pe.current,j)}function St(a,p){var m=Je(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function Pt(a,p,m){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,H=a._self,Fe=a._source,Ve=a._owner;if(p!=null){gt(p)&&(U=p.ref,Ve=pe.current),Ct(p)&&(ne=""+p.key);var $t;a.type&&a.type.defaultProps&&($t=a.type.defaultProps);for(S in p)Qe.call(p,S)&&!dt.hasOwnProperty(S)&&(p[S]===void 0&&$t!==void 0?j[S]=$t[S]:j[S]=p[S])}var wt=arguments.length-2;if(wt===1)j.children=m;else if(wt>1){for(var Qt=Array(wt),It=0;It<wt;It++)Qt[It]=arguments[It+2];j.children=Qt}return Je(a.type,ne,U,H,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var jt=".",rt=":";function xe(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},S=(""+a).replace(p,function(j){return m[j]});return"$"+S}var Nt=!1,Ft=/\/+/g;function yt(a){return(""+a).replace(Ft,"$&/")}var vt=10,He=[];function at(a,p,m,S){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=m,j.context=S,j.count=0,j}else return{result:a,keyPrefix:p,func:m,context:S,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<vt&&He.push(a)}function Ye(a,p,m,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 m(S,a,p===""?jt+Se(a,0):p),1;var U,H,Fe=0,Ve=p===""?jt:p+rt;if(Array.isArray(a))for(var $t=0;$t<a.length;$t++)U=a[$t],H=Ve+Se(U,$t),Fe+=Ye(U,H,m,S);else{var wt=P(a);if(typeof wt=="function"){wt===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=wt.call(a),It,Eo=0;!(It=Qt.next()).done;)U=It.value,H=Ve+Se(U,Eo++),Fe+=Ye(U,H,m,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 Et(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 Ke(a,p,m){var S=a.func,j=a.context;S.call(j,p,a.count++)}function N(a,p,m){if(a==null)return a;var S=at(null,null,p,m);Et(a,Ke,S),ze(S)}function Z(a,p,m){var S=a.result,j=a.keyPrefix,ne=a.func,U=a.context,H=ne.call(U,p,a.count++);Array.isArray(H)?je(H,S,m,function(Fe){return Fe}):H!=null&&(Ge(H)&&(H=St(H,j+(H.key&&(!p||p.key!==H.key)?yt(H.key)+"/":"")+m)),S.push(H))}function je(a,p,m,S,j){var ne="";m!=null&&(ne=yt(m)+"/");var U=at(p,ne,S,j);Et(a,Z,U),ze(U)}function bt(a,p,m){if(a==null)return a;var S=[];return je(a,S,null,p,m),S}function R(a){return Et(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 S=!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 S||(S=!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:O,_ctor:a,_status:-1,_result:null};{var m,S;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 S},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."),S=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function ct(a){return a!=null&&a.$$typeof===x?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:w,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===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)||G("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:
|
|
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:
|
|
228
229
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
229
230
|
2. You might be breaking the Rules of Hooks
|
|
230
231
|
3. You might have more than one copy of React in the same app
|
|
231
|
-
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return a}function
|
|
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])?`
|
|
232
233
|
|
|
233
|
-
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?
|
|
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`
|
|
234
235
|
|
|
235
|
-
Check the render method of \``+a+"`."}return""}function
|
|
236
|
+
Check the render method of \``+a+"`."}return""}function ot(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),y=a.lineNumber;return`
|
|
236
237
|
|
|
237
|
-
Check your code at `+p+":"+
|
|
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=`
|
|
238
239
|
|
|
239
|
-
Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=mo(p);if(!gn[m]){gn[m]=!0;var S="";a&&a._owner&&a._owner!==pe.current&&(S=" It was passed a child from "+se(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,S),re(null)}}}function ar(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var S=a[m];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 mn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=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",m,ae.getStackAddendum),re(null)):p.PropTypes!==void 0&&!Xe&&(Xe=!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 Br(a){{re(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var S=p[m];if(S!=="children"&&S!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),re(null)}}function yn(a,p,m){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,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(S)for(var Fe=2;Fe<arguments.length;Fe++)ar(arguments[Fe],a);return a===s?Br(H):mn(H),H}var vn=!1;function yo(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 vo(a,p,m){for(var S=Pt.apply(this,arguments),j=2;j<arguments.length;j++)ar(arguments[j],S.type);return mn(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=yn,_o=vo,xo=yo,So={map:bt,forEach:N,count:R,toArray:V,only:z};me.Children=So,me.Component=_e,me.Fragment=s,me.Profiler=u,me.PureComponent=kt,me.StrictMode=l,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,me.cloneElement=_o,me.createContext=Ae,me.createElement=wo,me.createFactory=xo,me.createRef=ft,me.forwardRef=ct,me.isValidElement=Ge,me.lazy=Le,me.memo=f,me.useCallback=De,me.useContext=$,me.useDebugValue=Ce,me.useEffect=K,me.useImperativeHandle=ue,me.useLayoutEffect=Y,me.useMemo=B,me.useReducer=ie,me.useRef=te,me.useState=F,me.version=r}();process.env.NODE_ENV==="production"?Jr.exports=ye:Jr.exports=me;var $r=Jr.exports,Io={sdkSemver:"1.13.0",techVersion:$r.version,sdkCode:"J"},ip=function(e){yc(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 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 $r.createElement("img",Qr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=jd(this.props.plugins,this.props.cldImg,Io);return $r.createElement("img",Qr({},n,{src:o}))},t}($r.Component),sp=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){yc(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 $r.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 mp 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 yp(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 _r(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"},Ep={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},$p={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"};_r(Ap);_r(Op);_r(xp);const Cp=_r(Sp);_r(Ep);_r($p);_r(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 mp(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(yp(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 l=parseInt(i.split(".").join("")).toString(2);if(l=Vi(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+=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),l=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${l}`}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,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(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 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",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?`${l}?${d}`:l}}}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=E.useMemo(()=>new eh({cloud:{cloudName:"fluid-attacks"}}),[]);return E.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=E.memo(rh),nh=_t(to)`
|
|
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)`
|
|
240
241
|
${({$center:e=!1})=>`
|
|
241
242
|
${e?"margin: auto;":""}
|
|
242
243
|
`}
|
|
243
|
-
`,Ot
|
|
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)`
|
|
244
245
|
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>`
|
|
245
246
|
color: ${t};
|
|
246
247
|
cursor: ${e?"cursor":"inherit"};
|
|
@@ -260,42 +261,43 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
260
261
|
}
|
|
261
262
|
`:""}}
|
|
262
263
|
`}
|
|
263
|
-
`;
|
|
264
|
+
`;Qe.div`
|
|
264
265
|
cursor: pointer;
|
|
265
266
|
transition: all 0.2s ease-in-out;
|
|
266
267
|
|
|
267
268
|
&:hover:not([disabled]) {
|
|
268
269
|
transform: scale(1.2);
|
|
269
270
|
}
|
|
270
|
-
`;const
|
|
271
|
-
${({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:
|
|
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"})=>`
|
|
272
273
|
color: ${t};
|
|
273
274
|
display: ${r};
|
|
274
275
|
font-family: ${n};
|
|
275
|
-
font-size: ${e.typography.heading[
|
|
276
|
+
font-size: ${e.typography.heading[c]};
|
|
276
277
|
font-weight: ${e.typography.weight[o]};
|
|
277
278
|
letter-spacing: ${i};
|
|
278
279
|
line-height: ${e.spacing[s]};
|
|
279
280
|
width: ${r==="block"?"100%":"auto"};
|
|
280
281
|
word-break: ${u};
|
|
281
282
|
`}
|
|
282
|
-
`,ah=
|
|
283
|
-
${({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:
|
|
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"})=>`
|
|
284
285
|
color: ${t};
|
|
285
286
|
display: ${r};
|
|
286
287
|
font-family: ${n};
|
|
287
|
-
font-size: ${e.typography.text[
|
|
288
|
+
font-size: ${e.typography.text[c]};
|
|
288
289
|
font-weight: ${e.typography.weight[o]};
|
|
289
290
|
letter-spacing: ${i};
|
|
290
291
|
line-height: ${e.spacing[s]};
|
|
291
292
|
width: ${r==="block"?"100%":"auto"};
|
|
292
293
|
word-break: ${u};
|
|
293
294
|
`}
|
|
294
|
-
`,ch
|
|
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:`
|
|
295
296
|
background: ${e.palette.white};
|
|
296
297
|
border: none;
|
|
297
298
|
color: ${e.palette.gray[800]};
|
|
298
|
-
--btn-padding: ${e.spacing[.
|
|
299
|
+
--btn-padding-x: ${e.spacing[.5]};
|
|
300
|
+
--btn-padding-y: ${e.spacing[.625]};
|
|
299
301
|
--btn-spacing: ${e.spacing[.25]};
|
|
300
302
|
|
|
301
303
|
&:disabled {
|
|
@@ -313,10 +315,12 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
313
315
|
color: ${e.palette.gray[800]};
|
|
314
316
|
|
|
315
317
|
&.desktop {
|
|
316
|
-
--btn-padding: ${e.spacing[.5]};
|
|
318
|
+
--btn-padding-x: ${e.spacing[.5]};
|
|
319
|
+
--btn-padding-y: ${e.spacing[.5]};
|
|
317
320
|
}
|
|
318
321
|
&.mobile {
|
|
319
|
-
--btn-padding: ${e.spacing[.75]};
|
|
322
|
+
--btn-padding-x: ${e.spacing[.75]};
|
|
323
|
+
--btn-padding-y: ${e.spacing[.75]};
|
|
320
324
|
}
|
|
321
325
|
|
|
322
326
|
&:disabled {
|
|
@@ -423,7 +427,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
423
427
|
background-color: ${e.palette.primary[500]};
|
|
424
428
|
color: ${e.palette.white};
|
|
425
429
|
}
|
|
426
|
-
`})),fh=
|
|
430
|
+
`})),fh=Qe.div.attrs({className:"max-w-min max-h-min -z-1"})`
|
|
427
431
|
${({theme:e,$variant:t})=>`
|
|
428
432
|
&.dark {
|
|
429
433
|
background: none;
|
|
@@ -441,9 +445,10 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
441
445
|
}
|
|
442
446
|
}
|
|
443
447
|
`}
|
|
444
|
-
`,dh=
|
|
448
|
+
`,dh=Qe(Ia)`
|
|
445
449
|
${({theme:e,$bold:t,$resolution:r,$variant:n})=>`
|
|
446
|
-
--btn-padding: ${
|
|
450
|
+
--btn-padding-x: ${e.spacing[1]};
|
|
451
|
+
--btn-padding-y: ${r==="desktop"||r==="platform"?`${e.spacing[.625]}`:e.spacing[1]};
|
|
447
452
|
|
|
448
453
|
align-items: center;
|
|
449
454
|
border-radius: var(--btn-spacing);
|
|
@@ -455,7 +460,7 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
455
460
|
gap: var(--btn-spacing);
|
|
456
461
|
justify-content: center;
|
|
457
462
|
line-height: ${r==="platform"?e.spacing[1.25]:e.spacing[1.5]};
|
|
458
|
-
padding: var(--btn-padding);
|
|
463
|
+
padding: var(--btn-padding-y) var(--btn-padding-x);
|
|
459
464
|
position: relative;
|
|
460
465
|
text-align: start;
|
|
461
466
|
transition: all 0.5s ease;
|
|
@@ -463,17 +468,17 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
463
468
|
|
|
464
469
|
${uh(e,n??"primaryWeb")}
|
|
465
470
|
`}
|
|
466
|
-
`,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"},mh={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 vr(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(vr(e))?"y":"x"}function zi(e){return Pc(Ir(e))}function yh(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=>mh[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(vr(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),l=Bi(s),u=vr(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,w=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(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,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}=Ns(d,n,u),w=n,v={},T=0;for(let x=0;x<l.length;x++){const{name:O,fn:A}=l[x],{x:C,y:k,data:I,reset:M}=await A({x:h,y,initialPlacement:n,placement:w,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:e,floating:t}});h=C??h,y=k??y,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}=Ns(d,w,u)),x=-1)}return{x:h,y,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:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:w=!1,padding:v=0}=fn(t,e),T=jc(v),O=l[w?y==="floating"?"reference":"floating":y],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(l.floating)),boundary:d,rootBoundary:h,strategy:u})),C=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=Gn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,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:l,middlewareData:u}=t,{element:d,padding:h=0}=fn(e,t)||{};if(d==null)return{};const y=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=l.floating[k]||i.floating[T]);const ve=I/2-M/2,be=P/2-x[T]/2-1,pe=jr(y[A],be),Ne=jr(y[C],be),Me=pe,we=P-x[T]-Ne,J=P/2-x[T]/2+ve,Ee=oi(Me,J,we),se=!u.arrow&&dn(o)!=null&&J!==Ee&&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]:Ee,centerOffset:J-Ee-ae,...se&&{alignmentOffset:ae}},reset:se}}}),Eh=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:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:x=!0,...O}=fn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const A=vr(o),C=Ir(l),k=vr(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=w||(k||!x?[qn(l)]:vh(l)),D=T!=="none";!w&&D&&M.push(...wh(l,x,T,I));const P=[l,...M],ve=await Ic(t,O),be=[];let pe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&be.push(ve[A]),y){const J=yh(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,Ee=P[J];if(Ee)return{data:{index:J,overflows:pe},reset:{placement:Ee}};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,q)=>re+q,0)]).sort((ce,re)=>ce[1]-re[1])[0])==null?void 0:we[0];ae&&(se=ae);break}case"initialPlacement":se=l;break}if(o!==se)return{reset:{placement:se}}}return{}}}};async function $h(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=vr(r),l=dn(r),u=Ir(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=fn(t,e);let{mainAxis:w,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: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:l}=t,u=await $h(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}}}}},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:l={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),y=Ir(vr(o)),w=Pc(y);let v=d[w],T=d[y];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=y==="y"?"top":"left",A=y==="y"?"bottom":"right",C=T+h[O],k=T-h[A];T=oi(C,T,k)}const x=l.fn({...t,[w]:v,[y]:T});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[w]:i,[y]: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 l=si(s);return t.concat(s,s.visualViewport||[],pn(o)?o:[],l&&r?Xr(l):[])}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,l=Wn(r)!==i||Wn(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function qi(e){return Bt(e)?e:e.contextElement}function Tr(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,l=(i?Wn(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}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 br(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=Tr(n)):s=Tr(e));const l=kh(i,r,n)?Nc(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 w=Rt(i),v=n&&Bt(n)?Rt(n):n;let T=w,x=si(T);for(;x&&n&&v!==T;){const O=Tr(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,y*=O.y,u+=k,d+=I,T=Rt(x),x=si(T)}}return Gn({width:h,height:y,x:u,y:d})}function Ph(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ht(n),l=t?fo(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)&&((Nr(n)!=="body"||pn(s))&&(u=po(n)),Gt(n))){const w=br(n);d=Tr(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:br(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 l=-r.scrollTop;return zt(n).direction==="rtl"&&(s+=gr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function Mh(e,t){const r=Rt(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=Wi();(!d||d&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:l,y:u}}function Lh(e,t){const r=br(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Gt(e)?Tr(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 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(l=>Bt(l)&&Nr(l)!=="body"),o=null;const i=zt(e).position==="fixed";let s=i?ir(e):e;for(;Bt(s)&&!Mr(s);){const l=zt(s),u=Ui(s);!u&&l.position==="fixed"&&(o=null),(i?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||pn(s)&&!u&&Fc(e,s))?n=n.filter(h=>h!==s):o=l,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],l=s[0],u=s.reduce((d,h)=>{const y=Vs(t,h,o);return d.top=gr(y.top,d.top),d.right=jr(y.right,d.right),d.bottom=jr(y.bottom,d.bottom),d.left=gr(y.left,d.left),d},Vs(t,l,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=br(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=or(0);if(n||!n&&!i)if((Nr(t)!=="body"||pn(o))&&(l=po(t)),n){const v=br(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+l.scrollTop,d=v.left+l.scrollLeft-ai(o,v)}const y=s.left+l.scrollLeft-u.x-d,w=s.top+l.scrollTop-u.y-h;return{x:y,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:Tr,isElement:Bt,isRTL:zh};function Wh(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:w}=e.getBoundingClientRect();if(l||t(),!y||!w)return;const v=On(h),T=On(o.clientWidth-(d+y)),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:l=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 y=d&&l?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?br(e):null;u&&O();function O(){const A=br(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)}),y==null||y(),(A=v)==null||A.disconnect(),v=null,u&&cancelAnimationFrame(T)}}const Bc=Th,Gh=Ah,zc=Eh,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,mg=Gc.toString,Gr=Us?Us.toStringTag:void 0;function yg(e){var t=gg.call(e,Gr),r=e[Gr];try{e[Gr]=void 0;var n=!0}catch{}var o=mg.call(e);return n&&(t?e[Gr]=r:delete e[Gr]),o}var vg=yg,bg=Object.prototype,wg=bg.toString;function _g(e){return wg.call(e)}var xg=_g,Ws=qc,Sg=vg,Eg=xg,$g="[object Null]",Tg="[object Undefined]",qs=Ws?Ws.toStringTag:void 0;function Ag(e){return e==null?e===void 0?Tg:$g:qs&&qs in Object(e)?Sg(e):Eg(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,em=RegExp("^"+Xg.call(Zg).replace(Yg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tm(e){if(!Gg(e)||qg(e))return!1;var t=Wg(e)?em:Qg;return t.test(Hg(e))}var rm=tm;function nm(e,t){return e==null?void 0:e[t]}var om=nm,im=rm,sm=om;function am(e,t){var r=sm(e,t);return im(r)?r:void 0}var hn=am,cm=hn,lm=sr,um=cm(lm,"DataView"),fm=um,dm=hn,pm=sr,hm=dm(pm,"Map"),gm=hm,mm=hn,ym=sr,vm=mm(ym,"Promise"),bm=vm,wm=hn,_m=sr,xm=wm(_m,"Set"),Sm=xm,Em=hn,$m=sr,Tm=Em($m,"WeakMap"),Am=Tm,ci=fm,li=gm,ui=bm,fi=Sm,di=Am,Jc=ho,Fr=Qc,Hs="[object Map]",Om="[object Object]",Ys="[object Promise]",Qs="[object Set]",Js="[object WeakMap]",Ks="[object DataView]",Cm=Fr(ci),Rm=Fr(li),km=Fr(ui),Pm=Fr(fi),jm=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==Om?e.constructor:void 0,n=r?Fr(r):"";if(n)switch(n){case Cm:return Ks;case Rm:return Hs;case km:return Ys;case Pm:return Qs;case jm:return Js}return t});var Im=lr;function Mm(e){return e!=null&&typeof e=="object"}var Gi=Mm,Lm=ho,Dm=Gi,Nm="[object Arguments]";function Fm(e){return Dm(e)&&Lm(e)==Nm}var Vm=Fm,Xs=Vm,Bm=Gi,Kc=Object.prototype,zm=Kc.hasOwnProperty,Um=Kc.propertyIsEnumerable,Wm=Xs(function(){return arguments}())?Xs:function(e){return Bm(e)&&zm.call(e,"callee")&&!Um.call(e,"callee")},qm=Wm,Gm=Array.isArray,Hm=Gm,Ym=9007199254740991;function Qm(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ym}var Xc=Qm,Jm=Yc,Km=Xc;function Xm(e){return e!=null&&Km(e.length)&&!Jm(e)}var Zm=Xm,Hn={exports:{}};function ey(){return!1}var ty=ey;Hn.exports;(function(e,t){var r=sr,n=ty,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})(Hn,Hn.exports);var ry=Hn.exports,ny=ho,oy=Xc,iy=Gi,sy="[object Arguments]",ay="[object Array]",cy="[object Boolean]",ly="[object Date]",uy="[object Error]",fy="[object Function]",dy="[object Map]",py="[object Number]",hy="[object Object]",gy="[object RegExp]",my="[object Set]",yy="[object String]",vy="[object WeakMap]",by="[object ArrayBuffer]",wy="[object DataView]",_y="[object Float32Array]",xy="[object Float64Array]",Sy="[object Int8Array]",Ey="[object Int16Array]",$y="[object Int32Array]",Ty="[object Uint8Array]",Ay="[object Uint8ClampedArray]",Oy="[object Uint16Array]",Cy="[object Uint32Array]",ke={};ke[_y]=ke[xy]=ke[Sy]=ke[Ey]=ke[$y]=ke[Ty]=ke[Ay]=ke[Oy]=ke[Cy]=!0;ke[sy]=ke[ay]=ke[by]=ke[cy]=ke[wy]=ke[ly]=ke[uy]=ke[fy]=ke[dy]=ke[py]=ke[hy]=ke[gy]=ke[my]=ke[yy]=ke[vy]=!1;function Ry(e){return iy(e)&&oy(e.length)&&!!ke[ny(e)]}var ky=Ry;function Py(e){return function(t){return e(t)}}var jy=Py,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,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Yn,Yn.exports);var Iy=Yn.exports,My=ky,Ly=jy,Zs=Iy,ea=Zs&&Zs.isTypedArray,Dy=ea?Ly(ea):My,Ny=Dy,Fy=cg,Vy=Im,By=qm,zy=Hm,Uy=Zm,Wy=ry,qy=Uc,Gy=Ny,Hy="[object Map]",Yy="[object Set]",Qy=Object.prototype,Jy=Qy.hasOwnProperty;function Ky(e){if(e==null)return!0;if(Uy(e)&&(zy(e)||typeof e=="string"||typeof e.splice=="function"||Wy(e)||Gy(e)||By(e)))return!e.length;var t=Vy(e);if(t==Hy||t==Yy)return!e.size;if(qy(e))return!Fy(e).length;for(var r in e)if(Jy.call(e,r))return!1;return!0}var Xy=Ky;const Do=ua(Xy);var Zc={exports:{}};/*!
|
|
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:{}};/*!
|
|
467
472
|
Copyright (c) 2018 Jed Watson.
|
|
468
473
|
Licensed under the MIT License (MIT), see
|
|
469
474
|
http://jedwatson.github.io/classnames
|
|
470
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var
|
|
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);/*
|
|
471
476
|
* React Tooltip
|
|
472
477
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
473
478
|
* @copyright ReactTooltip Team
|
|
474
479
|
* @license MIT
|
|
475
|
-
*/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 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)),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:l})=>{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:y,middlewareData:w})=>{var v,T;const x={left:`${d}px`,top:`${h}px`,border:l},{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"}[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:x,tooltipArrowStyles:{left:O!=null?`${O}px`:"",top:A!=null?`${A}px`:"",right:"",bottom:"",...k,[C]:`-${4+I}px`},place:y}})):zs(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}))},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"?E.useLayoutEffect:E.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=E.createContext({getTooltipData:()=>iv});function el(e=ov){return E.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:l="top",offset:u=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="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:Ee,content:se,contentWrapperRef:ae,isOpen:ce,defaultIsOpen:re=!1,setIsOpen:q,activeAnchor:le,setActiveAnchor:ge,border:G,opacity:it,arrowColor:et,role:We="tooltip"})=>{var qe;const fe=E.useRef(null),_e=E.useRef(null),$e=E.useRef(null),Be=E.useRef(null),Pe=E.useRef(null),[ut,kt]=E.useState({tooltipStyles:{},tooltipArrowStyles:{},place:l}),[Te,ft]=E.useState(!1),[Qe,dt]=E.useState(!1),[de,pt]=E.useState(null),ht=E.useRef(!1),gt=E.useRef(null),{anchorRefs:Ct,setActiveAnchor:tt}=el(t),st=E.useRef(!1),[mt,Je]=E.useState([]),xt=E.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 rt=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(rt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),nv(()=>(xt.current=!0,()=>{xt.current=!1}),[]);const xe=R=>{xt.current&&(R&&dt(!0),setTimeout(()=>{xt.current&&(q==null||q(R),ce===void 0&&ft(R))},10))};E.useEffect(()=>{if(ce===void 0)return()=>null;ce&&dt(!0);const R=setTimeout(()=>{ft(ce)},10);return()=>{clearTimeout(R)}},[ce]),E.useEffect(()=>{if(Te!==ht.current)if(Mt(Pe),ht.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(()=>{dt(!1),pt(null),J==null||J()},R+25)}},[Te]);const Nt=R=>{kt(V=>hi(V,R)?V:R)},Ft=(R=T)=>{Mt($e),Qe?xe(!0):$e.current=setTimeout(()=>{xe(!0)},R)},yt=(R=x)=>{Mt(Be),Be.current=setTimeout(()=>{st.current||xe(!1)},R)},vt=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 tt({current:null});T?Ft():xe(!0),ge(z),tt({current:z}),Mt(Be)},He=()=>{k?yt(x||100):x?yt():xe(!1),Mt($e)},at=({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:l,offset:u,elementReference:Ae,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:y,middlewares:w,border:G}).then(Le=>{Nt(Le)})},ze=R=>{if(!R)return;const V=R,z={x:V.clientX,y:V.clientY};at(z),gt.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($e)))},Et=ia(vt,50),Se=ia(He,50),Ke=R=>{Se.cancel(),Et(R)},N=()=>{Et.cancel(),Se()},Z=E.useCallback(()=>{var R,V;const z=(R=de==null?void 0:de.position)!==null&&R!==void 0?R:Me;z?at(z):O?gt.current&&at(gt.current):le!=null&&le.isConnected&&na({place:(V=de==null?void 0:de.place)!==null&&V!==void 0?V:l,offset:u,elementReference:le,tooltipReference:fe.current,tooltipArrowReference:_e.current,strategy:y,middlewares:w,border:G}).then(Ae=>{xt.current&&Nt(Ae)})},[Te,le,se,Ne,l,de==null?void 0:de.place,u,y,Me,de==null?void 0:de.position,O]);E.useEffect(()=>{var R,V;const z=new Set(Ct);mt.forEach(B=>{Ee!=null&&Ee(B)||z.add({current:B})});const Ae=document.querySelector(`[id='${i}']`);Ae&&!(Ee!=null&&Ee(Ae))&&z.add({current:Ae});const Le=()=>{xe(!1)},ct=aa(le),Oe=aa(fe.current);rt.scroll&&(window.addEventListener("scroll",Le),ct==null||ct.addEventListener("scroll",Le),Oe==null||Oe.addEventListener("scroll",Le));let f=null;rt.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)};rt.escape&&window.addEventListener("keydown",b),rt.clickOutsideAnchor&&window.addEventListener("click",Ye);const $=[],F=B=>{Te&&(B==null?void 0:B.target)===le||vt(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)?$.push({event:B,listener:Ke}):K.includes(B)&&$.push({event:B,listener:F}))}),Object.entries(jt).forEach(([B,ue])=>{ue&&(te.includes(B)?$.push({event:B,listener:N}):K.includes(B)&&$.push({event:B,listener:ie}))}),O&&$.push({event:"pointermove",listener:ze});const Y=()=>{st.current=!0},De=()=>{st.current=!1,He()};return k&&!Pt&&((R=fe.current)===null||R===void 0||R.addEventListener("mouseenter",Y),(V=fe.current)===null||V===void 0||V.addEventListener("mouseleave",De)),$.forEach(({event:B,listener:ue})=>{z.forEach(Ce=>{var Xe;(Xe=Ce.current)===null||Xe===void 0||Xe.addEventListener(B,ue)})}),()=>{var B,ue;rt.scroll&&(window.removeEventListener("scroll",Le),ct==null||ct.removeEventListener("scroll",Le),Oe==null||Oe.removeEventListener("scroll",Le)),rt.resize?window.removeEventListener("resize",Le):f==null||f(),rt.clickOutsideAnchor&&window.removeEventListener("click",Ye),rt.escape&&window.removeEventListener("keydown",b),k&&!Pt&&((B=fe.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(ue=fe.current)===null||ue===void 0||ue.removeEventListener("mouseleave",De)),$.forEach(({event:Ce,listener:Xe})=>{z.forEach(Yt=>{var nt;(nt=Yt.current)===null||nt===void 0||nt.removeEventListener(Ce,Xe)})})}},[le,Z,Qe,Ct,mt,P,ve,be,St,T,x]),E.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 ct=[],Oe=[];Le.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?ct.push(f.target):f.oldValue===t&&Oe.push(f.target)),f.type==="childList"){if(le){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($,le))&&(dt(!1),xe(!1),ge(null),Mt($e),Mt(Be),!0)})}if(z)try{const b=[...f.addedNodes].filter($=>$.nodeType===1);ct.push(...b.filter($=>$.matches(z))),ct.push(...b.flatMap($=>[...$.querySelectorAll(z)]))}catch{}}}),(ct.length||Oe.length)&&Je(f=>[...f.filter(b=>!Oe.includes(b)),...ct])});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]),E.useEffect(()=>{Z()},[Z]),E.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]),E.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]),E.useEffect(()=>(re&&xe(!0),()=>{Mt($e),Mt(Be)}),[]),E.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));Je(z)}catch{Je([])}},[t,s,de==null?void 0:de.anchorSelect]),E.useEffect(()=>{$e.current&&(Mt($e),Ft(T))},[T]);const je=(qe=de==null?void 0:de.content)!==null&&qe!==void 0?qe:se,bt=Te&&Object.keys(ut.tooltipStyles).length>0;return E.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`)}pt(R??null),R!=null&&R.delay?Ft(R.delay):xe(!0)},close:R=>{R!=null&&R.delay?yt(R.delay):xe(!1)},activeAnchor:le,place:ut.place,isOpen:!!(Qe&&!A&&je&&bt)})),Qe&&!A&&je?E.createElement(v,{id:t,role:We,className:pi("react-tooltip",Er.tooltip,No.tooltip,No[o],r,`react-tooltip__place-${ut.place}`,Er[bt?"show":"closing"],bt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Er.fixed,k&&Er.clickable),onTransitionEnd:R=>{Mt(Pe),Te||R.propertyName!=="opacity"||(dt(!1),pt(null),J==null||J())},style:{...Ne,...ut.tooltipStyles,opacity:it!==void 0&&bt?it:void 0},ref:fe},je,E.createElement(v,{className:pi("react-tooltip-arrow",Er.arrow,No.arrow,n,C&&Er.noArrow),style:{...ut.tooltipArrowStyles,background:et?`linear-gradient(to right bottom, transparent 50%, ${et} 50%)`:void 0},ref:_e})):null},cv=({content:e})=>E.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),lv=E.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: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:Ee,isOpen:se,defaultIsOpen:ae=!1,disableStyleInjection:ce=!1,border:re,opacity:q,arrowColor:le,setIsOpen:ge,afterShow:G,afterHide:it,disableTooltip:et,role:We="tooltip"},qe)=>{const[fe,_e]=E.useState(n),[$e,Be]=E.useState(o),[Pe,ut]=E.useState(d),[kt,Te]=E.useState(u),[ft,Qe]=E.useState(h),[dt,de]=E.useState(A),[pt,ht]=E.useState(C),[gt,Ct]=E.useState(k),[tt,st]=E.useState(I),[mt,Je]=E.useState(y),[xt,St]=E.useState(v),[Pt,Ge]=E.useState(x),[jt,rt]=E.useState(null),[xe,Nt]=E.useState(null),Ft=E.useRef(ce),{anchorRefs:yt,activeAnchor:vt}=el(e),He=Se=>Se==null?void 0:Se.getAttributeNames().reduce((Ke,N)=>{var Z;return N.startsWith("data-tooltip-")&&(Ke[N.replace(/^data-tooltip-/,"")]=(Z=Se==null?void 0:Se.getAttribute(N))!==null&&Z!==void 0?Z:null),Ke},{}),at=Se=>{const Ke={place:N=>{var Z;ut((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=>{Qe(N===null?h:Number(N))},wrapper:N=>{var Z;Je((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:x)},"delay-show":N=>{de(N===null?A:Number(N))},"delay-hide":N=>{ht(N===null?C:Number(N))},float:N=>{Ct(N===null?k:N==="true")},hidden:N=>{st(N===null?I:N==="true")},"class-name":N=>{rt(N)}};Object.values(Ke).forEach(N=>N(null)),Object.entries(Se).forEach(([N,Z])=>{var je;(je=Ke[N])===null||je===void 0||je.call(Ke,Z)})};E.useEffect(()=>{_e(n)},[n]),E.useEffect(()=>{Be(o)},[o]),E.useEffect(()=>{ut(d)},[d]),E.useEffect(()=>{Te(u)},[u]),E.useEffect(()=>{Qe(h)},[h]),E.useEffect(()=>{de(A)},[A]),E.useEffect(()=>{ht(C)},[C]),E.useEffect(()=>{Ct(k)},[k]),E.useEffect(()=>{st(I)},[I]),E.useEffect(()=>{Ge(x)},[x]),E.useEffect(()=>{Ft.current!==ce&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[ce]),E.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:ce==="core",disableBase:ce}}))},[]),E.useEffect(()=>{var Se;const Ke=new Set(yt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Ke.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const Z=document.querySelector(`[id='${t}']`);if(Z&&Ke.add({current:Z}),!Ke.size)return()=>null;const je=(Se=xe??Z)!==null&&Se!==void 0?Se:vt.current,bt=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);at(Le)})}),R={attributes:!0,childList:!1,subtree:!1};if(je){const V=He(je);at(V),bt.observe(je,R)}return()=>{bt.disconnect()}},[yt,vt,xe,t,r]),E.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."),q&&!oa("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let ze=w;const Ye=E.useRef(null);if(i){const Se=i({content:(xe==null?void 0:xe.getAttribute("data-tooltip-content"))||fe||null,activeAnchor:xe});ze=Se?E.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},Se):null}else fe&&(ze=fe);$e&&(ze=E.createElement(cv,{content:$e}));const Et={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:pi(s,jt),classNameArrow:l,content:ze,contentWrapperRef:Ye,place:Pe,variant:kt,offset:ft,wrapper:mt,events:xt,openOnClick:T,positionStrategy:Pt,middlewares:O,delayShow:dt,delayHide:pt,float:gt,hidden:tt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:ve,closeOnResize:be,openEvents:pe,closeEvents:Ne,globalCloseEvents:Me,imperativeModeOnly:we,style:J,position:Ee,isOpen:se,defaultIsOpen:ae,border:re,opacity:q,arrowColor:le,setIsOpen:ge,afterShow:G,afterHide:it,disableTooltip:et,activeAnchor:xe,setActiveAnchor:Se=>Nt(Se),role:We};return E.createElement(av,{...Et})});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:`
|
|
476
|
-
.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=
|
|
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`
|
|
477
482
|
${({theme:e,$maxWidth:t="320px"})=>`
|
|
478
483
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
479
484
|
background-color: ${e.palette.gray[700]};
|
|
@@ -486,4 +491,115 @@ Check the top-level render call using <`+m+">.")}return p}function Vr(a,p){if(!(
|
|
|
486
491
|
--rt-opacity: 1;
|
|
487
492
|
}
|
|
488
493
|
`}
|
|
489
|
-
`,tl
|
|
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`
|
|
495
|
+
${({theme:e,$resolution:t})=>`
|
|
496
|
+
align-items: center;
|
|
497
|
+
border-left: 3px solid transparent;
|
|
498
|
+
display: flex;
|
|
499
|
+
gap: ${e.spacing[.625]};
|
|
500
|
+
font-family: ${e.typography.type.primary};
|
|
501
|
+
font-size: ${t==="desktop"?e.typography.text.sm:e.typography.text.xs};
|
|
502
|
+
font-weight: ${e.typography.weight.regular};
|
|
503
|
+
height: 42px;
|
|
504
|
+
min-width: 50px;
|
|
505
|
+
padding: ${e.spacing[.625]} ${e.spacing[1]};
|
|
506
|
+
|
|
507
|
+
&.dark {
|
|
508
|
+
background-color: ${e.palette.gray[800]};
|
|
509
|
+
color: ${e.palette.gray[25]};
|
|
510
|
+
|
|
511
|
+
&.disabled {
|
|
512
|
+
border-color: ${e.palette.gray[500]};
|
|
513
|
+
color: ${e.palette.gray[500]};
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
&:hover:not(.disabled) {
|
|
517
|
+
background-color: ${e.palette.gray[700]};
|
|
518
|
+
border-color: ${e.palette.complementary[300]};
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&.light {
|
|
523
|
+
background-color: ${e.palette.gray[50]};
|
|
524
|
+
color: ${e.palette.gray[800]};
|
|
525
|
+
|
|
526
|
+
&.disabled {
|
|
527
|
+
background-color: ${e.palette.white};
|
|
528
|
+
border-color: ${e.palette.gray[300]};
|
|
529
|
+
color: ${e.palette.gray[300]};
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
&:hover:not(.disabled) {
|
|
533
|
+
background-color: ${e.palette.gray[100]};
|
|
534
|
+
border-color: ${e.palette.complementary[300]};
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
`}
|
|
538
|
+
`,hv=Qe.div`
|
|
539
|
+
${({theme:e})=>`
|
|
540
|
+
align-items: center;
|
|
541
|
+
background-color: transparent;
|
|
542
|
+
border-bottom: 2px solid transparent;
|
|
543
|
+
display: flex;
|
|
544
|
+
font-family: ${e.typography.type.primary};
|
|
545
|
+
font-size: ${e.typography.text.sm};
|
|
546
|
+
font-weight: ${e.typography.weight.regular};
|
|
547
|
+
gap: ${e.spacing[.5]};
|
|
548
|
+
height: 30px;
|
|
549
|
+
justify-content: center;
|
|
550
|
+
padding: ${e.spacing[.25]};
|
|
551
|
+
margin-bottom: ${e.spacing[.25]};
|
|
552
|
+
min-width: 50px;
|
|
553
|
+
width: max-content;
|
|
554
|
+
z-index: 11;
|
|
555
|
+
|
|
556
|
+
&:hover {
|
|
557
|
+
border-color: ${e.palette.primary[400]};
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
&.dark {
|
|
561
|
+
color: ${e.palette.gray[25]};
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
&.light {
|
|
565
|
+
color: ${e.palette.gray[800]};
|
|
566
|
+
}
|
|
567
|
+
`}
|
|
568
|
+
`,gv=Qe.div`
|
|
569
|
+
${({theme:e})=>`
|
|
570
|
+
background-color: ${e.palette.white};
|
|
571
|
+
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
572
|
+
box-shadow: ${e.shadows.lg};
|
|
573
|
+
display: none;
|
|
574
|
+
flex-direction: column;
|
|
575
|
+
position: absolute;
|
|
576
|
+
top: 100%;
|
|
577
|
+
z-index: 11;
|
|
578
|
+
|
|
579
|
+
> button:last-child {
|
|
580
|
+
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
581
|
+
}
|
|
582
|
+
`}
|
|
583
|
+
`,yv=Qe.div`
|
|
584
|
+
${({theme:e})=>`
|
|
585
|
+
align-items: flex-start;
|
|
586
|
+
cursor: pointer;
|
|
587
|
+
display: flex;
|
|
588
|
+
flex-direction: column;
|
|
589
|
+
gap: ${e.spacing[.25]};
|
|
590
|
+
height: max-content;
|
|
591
|
+
position: relative;
|
|
592
|
+
width: max-content;
|
|
593
|
+
z-index: 10;
|
|
594
|
+
|
|
595
|
+
&:hover {
|
|
596
|
+
> div:first-child {
|
|
597
|
+
border-color: ${e.palette.primary[400]};
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
> div:last-child {
|
|
601
|
+
display: flex;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
`}
|
|
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;
|